From 51e57f23c343d420f20ca72b1255b5cd9ebdaf7b Mon Sep 17 00:00:00 2001 From: Arie Date: Tue, 17 Feb 2015 09:26:49 -0800 Subject: [PATCH 0001/3036] Create LICENSE --- java-core/LICENSE | 201 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 java-core/LICENSE diff --git a/java-core/LICENSE b/java-core/LICENSE new file mode 100644 index 000000000000..4eedc0116add --- /dev/null +++ b/java-core/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. From 608346abe27bbb64c0c527340b5104f57c1b449a Mon Sep 17 00:00:00 2001 From: aozarov Date: Fri, 22 May 2015 16:01:32 -0700 Subject: [PATCH 0002/3036] initial work on modules --- java-core/google-cloud-core/README.md | 55 +++ java-core/google-cloud-core/pom.xml | 94 ++++++ .../com/google/gcloud/AuthCredentials.java | 206 ++++++++++++ .../java/com/google/gcloud/BaseService.java | 1 + .../com/google/gcloud/ExceptionHandler.java | 280 ++++++++++++++++ .../java/com/google/gcloud/RetryHelper.java | 252 ++++++++++++++ .../java/com/google/gcloud/RetryParams.java | 292 ++++++++++++++++ .../main/java/com/google/gcloud/Service.java | 1 + .../com/google/gcloud/ServiceOptions.java | 314 ++++++++++++++++++ .../google/gcloud/spi/ServiceRpcFactory.java | 1 + .../google/gcloud/spi/ServiceRpcProvider.java | 32 ++ .../google/gcloud/ExceptionHandlerTest.java | 168 ++++++++++ .../com/google/gcloud/RetryHelperTest.java | 263 +++++++++++++++ .../com/google/gcloud/RetryParamsTest.java | 107 ++++++ 14 files changed, 2066 insertions(+) create mode 100644 java-core/google-cloud-core/README.md create mode 100644 java-core/google-cloud-core/pom.xml create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md new file mode 100644 index 000000000000..e22b159d216f --- /dev/null +++ b/java-core/google-cloud-core/README.md @@ -0,0 +1,55 @@ +Google Cloud Java Client +========================== + +Java idiomatic client for [Google Cloud Platform][cloud-platform] services. + +[![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java) +[![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master) + +- [Homepage] (https://googlecloudplatform.github.io/gcloud-java/) +- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs) +- [Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/examples/package-summary.html) + +This moudle provides common functionality and is required by the other service specific modules. + +Quickstart +---------- +Add this to your pom.xml file +```xml + + com.google.gcloud + gcloud-java-core + LATEST + +``` + +Contributing +------------ + +Contributions to this library are always welcome and highly encouraged. + +See [CONTRIBUTING] for more information on how to get started. + +Java Versions +------------- + +Java 7 or above is required for using this client. + +Versioning +---------- + +This library follows [Semantic Versioning] (http://semver.org/). + +It is currently in major version zero (``0.y.z``), which means that anything +may change at any time and the public API should not be considered +stable. + +License +------- + +Apache 2.0 - See [LICENSE] for more information. + + +[CONTRIBUTING]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CONTRIBUTING.md +[LICENSE]: https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/LICENSE +[cloud-platform]: https://cloud.google.com/ diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml new file mode 100644 index 000000000000..7fbbe7dad21d --- /dev/null +++ b/java-core/google-cloud-core/pom.xml @@ -0,0 +1,94 @@ + + + 4.0.0 + com.google.gcloud + gcloud-java-core + jar + GCloud Java core + https://github.com/GoogleCloudPlatform/gcloud-java + + Java idiomatic client for Google Cloud Platform services. + + + com.google.gcloud + gcloud-java-pom + 0.0.5 + + + + com.google.auth + google-auth-library-credentials + 0.1.0 + + + com.google.auth + google-auth-library-oauth2-http + 0.1.0 + + + com.google.http-client + google-http-client + 1.19.0 + compile + + + com.google.oauth-client + google-oauth-client + 1.19.0 + compile + + + com.google.guava + guava + 18.0 + + + com.google.api-client + google-api-client-appengine + 1.20.0 + compile + + + guava-jdk5 + com.google.guava + + + + + com.google.http-client + google-http-client-jackson + 1.20.0 + compile + + + guava-jdk5 + com.google.guava + + + + + junit + junit + 4.12 + test + + + joda-time + joda-time + RELEASE + compile + + + org.json + json + 20090211 + compile + + + org.easymock + easymock + 3.3 + test + + + diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java new file mode 100644 index 000000000000..839da54e62cf --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -0,0 +1,206 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; +import com.google.api.client.googleapis.compute.ComputeCredential; +import com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential; +import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.api.client.json.jackson.JacksonFactory; +import com.google.auth.http.HttpCredentialsAdapter; +import com.google.auth.oauth2.GoogleCredentials; + +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectStreamException; +import java.io.Serializable; +import java.security.GeneralSecurityException; +import java.security.PrivateKey; +import java.util.Objects; +import java.util.Set; + +/** + * Credentials for accessing Google Cloud services. + */ +public abstract class AuthCredentials implements Serializable { + + private static final long serialVersionUID = 236297804453464604L; + + private static class AppEngineAuthCredentials extends AuthCredentials { + + private static final long serialVersionUID = 7931300552744202954L; + + private static final AuthCredentials INSTANCE = new AppEngineAuthCredentials(); + + @Override + protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, + Set scopes) { + return new AppIdentityCredential(scopes); + } + + private Object readResolve() throws ObjectStreamException { + return INSTANCE; + } + } + + private static class ServiceAccountAuthCredentials extends AuthCredentials { + + private static final long serialVersionUID = 8007708734318445901L; + private final String account; + private final PrivateKey privateKey; + + private static final AuthCredentials NO_CREDENTIALS = new ServiceAccountAuthCredentials(); + + ServiceAccountAuthCredentials(String account, PrivateKey privateKey) { + this.account = checkNotNull(account); + this.privateKey = checkNotNull(privateKey); + } + + ServiceAccountAuthCredentials() { + account = null; + privateKey = null; + } + + @Override + protected HttpRequestInitializer httpRequestInitializer( + HttpTransport transport, Set scopes) { + GoogleCredential.Builder builder = new GoogleCredential.Builder() + .setTransport(transport) + .setJsonFactory(new JacksonFactory()); + if (privateKey != null) { + builder.setServiceAccountPrivateKey(privateKey); + builder.setServiceAccountId(account); + builder.setServiceAccountScopes(scopes); + } + return builder.build(); + } + + @Override + public int hashCode() { + return Objects.hash(account, privateKey); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof ServiceAccountAuthCredentials)) { + return false; + } + ServiceAccountAuthCredentials other = (ServiceAccountAuthCredentials) obj; + return Objects.equals(account, other.account) + && Objects.equals(privateKey, other.privateKey); + } + } + + private static class ComputeEngineAuthCredentials extends AuthCredentials { + + private static final long serialVersionUID = -5217355402127260144L; + + private transient ComputeCredential computeCredential; + + ComputeEngineAuthCredentials() throws IOException, GeneralSecurityException { + computeCredential = getComputeCredential(); + } + + private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { + in.defaultReadObject(); + try { + computeCredential = getComputeCredential(); + } catch (GeneralSecurityException e) { + throw new IOException(e); + } + } + + @Override + protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, + Set scopes) { + return computeCredential; + } + } + + private static class ApplicationDefaultAuthCredentials extends AuthCredentials { + + private static final long serialVersionUID = -8306873864136099893L; + + private transient GoogleCredentials googleCredentials; + + ApplicationDefaultAuthCredentials() throws IOException { + googleCredentials = GoogleCredentials.getApplicationDefault(); + } + + private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { + in.defaultReadObject(); + googleCredentials = GoogleCredentials.getApplicationDefault(); + } + + @Override + protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, + Set scopes) { + return new HttpCredentialsAdapter(googleCredentials); + } + } + + protected abstract HttpRequestInitializer httpRequestInitializer(HttpTransport transport, + Set scopes); + + public static AuthCredentials createForAppEngine() { + return AppEngineAuthCredentials.INSTANCE; + } + + public static AuthCredentials createForComputeEngine() + throws IOException, GeneralSecurityException { + return new ComputeEngineAuthCredentials(); + } + + /** + * Returns the Application Default Credentials. + * + *

+ * Returns the Application Default Credentials which are credentials that identify and authorize + * the whole application. This is the built-in service account if running on Google Compute Engine + * or the credentials file from the path in the environment variable + * GOOGLE_APPLICATION_CREDENTIALS. + *

+ * + * @return the credentials instance. + * @throws IOException if the credentials cannot be created in the current environment. + */ + public static AuthCredentials createApplicationDefaults() throws IOException { + return new ApplicationDefaultAuthCredentials(); + } + + public static AuthCredentials createFor(String account, PrivateKey privateKey) { + return new ServiceAccountAuthCredentials(account, privateKey); + } + + public static AuthCredentials noCredentials() { + return ServiceAccountAuthCredentials.NO_CREDENTIALS; + } + + static ComputeCredential getComputeCredential() throws IOException, GeneralSecurityException { + NetHttpTransport transport = GoogleNetHttpTransport.newTrustedTransport(); + // Try to connect using Google Compute Engine service account credentials. + ComputeCredential credential = new ComputeCredential(transport, new JacksonFactory()); + // Force token refresh to detect if we are running on Google Compute Engine. + credential.refreshToken(); + return credential; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java new file mode 100644 index 000000000000..4d96ac5b86e6 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java @@ -0,0 +1 @@ +/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud; public abstract class BaseService implements Service { private final O options; protected BaseService(O options) { this.options = options; } @Override public O options() { return options; } } \ No newline at end of file diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java new file mode 100644 index 000000000000..412462ae156e --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java @@ -0,0 +1,280 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static com.google.common.base.MoreObjects.firstNonNull; +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.common.annotations.VisibleForTesting; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Sets; + +import java.io.Serializable; +import java.lang.reflect.Method; +import java.util.Set; +import java.util.concurrent.Callable; + +/** + * Exception handling used by {@link RetryHelper}. + */ +public final class ExceptionHandler implements Serializable { + + private static final long serialVersionUID = -2460707015779532919L; + + private static final ExceptionHandler DEFAULT_INSTANCE = + builder().retryOn(Exception.class).abortOn(RuntimeException.class).build(); + + private final ImmutableList interceptors; + private final ImmutableSet> retriableExceptions; + private final ImmutableSet> nonRetriableExceptions; + private final Set retryInfo = Sets.newHashSet(); + + public interface Interceptor extends Serializable { + + enum RetryResult { + + RETRY(true), ABORT(false); + + private final boolean booleanValue; + + RetryResult(boolean booleanValue) { + this.booleanValue = booleanValue; + } + + boolean booleanValue() { + return booleanValue; + } + } + + /** + * This method is called before exception evaluation and could short-circuit the process. + * + * @param exception the exception that is being evaluated + * @return {@link RetryResult} to indicate if the exception should be ignored ( + * {@link RetryResult#RETRY}), propagated ({@link RetryResult#ABORT}), or evaluation + * should proceed ({@code null}). + */ + RetryResult beforeEval(Exception exception); + + /** + * This method is called after the evaluation and could alter its result. + * + * @param exception the exception that is being evaluated + * @param retryResult the result of the evaluation so far. + * @return {@link RetryResult} to indicate if the exception should be ignored ( + * {@link RetryResult#RETRY}), propagated ({@link RetryResult#ABORT}), or evaluation + * should proceed ({@code null}). + */ + RetryResult afterEval(Exception exception, RetryResult retryResult); + } + + /** + * ExceptionHandler builder. + */ + public static class Builder { + + private final ImmutableList.Builder interceptors = ImmutableList.builder(); + private final ImmutableSet.Builder> retriableExceptions = + ImmutableSet.builder(); + private final ImmutableSet.Builder> nonRetriableExceptions = + ImmutableSet.builder(); + + private Builder() {} + + + /** + * Adds the exception handler interceptors. Call order will be maintained. + * + * @param interceptors the interceptors for this exception handler + * @return the Builder for chaining + */ + public Builder interceptor(Interceptor... interceptors) { + for (Interceptor interceptor : interceptors) { + this.interceptors.add(interceptor); + } + return this; + } + + /** + * Add the exceptions to ignore/retry-on. + * + * @param exceptions retry should continue when such exceptions are thrown + * @return the Builder for chaining + */ + @SafeVarargs + public final Builder retryOn(Class... exceptions) { + for (Class exception : exceptions) { + retriableExceptions.add(checkNotNull(exception)); + } + return this; + } + + /** + * Adds the exceptions to abort on. + * + * @param exceptions retry should abort when such exceptions are thrown + * @return the Builder for chaining + */ + @SafeVarargs + public final Builder abortOn(Class... exceptions) { + for (Class exception : exceptions) { + nonRetriableExceptions.add(checkNotNull(exception)); + } + return this; + } + + /** + * Returns a new ExceptionHandler instance. + */ + public ExceptionHandler build() { + return new ExceptionHandler(this); + } + } + + @VisibleForTesting + static final class RetryInfo implements Serializable { + + private static final long serialVersionUID = -4264634837841455974L; + private final Class exception; + private final Interceptor.RetryResult retry; + private final Set children = Sets.newHashSet(); + + RetryInfo(Class exception, Interceptor.RetryResult retry) { + this.exception = checkNotNull(exception); + this.retry = retry; + } + + @Override + public int hashCode() { + return exception.hashCode(); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof RetryInfo)) { + return false; + } + // We only care about exception in equality as we allow only one instance per exception + return ((RetryInfo) obj).exception.equals(exception); + } + } + + private ExceptionHandler(Builder builder) { + interceptors = builder.interceptors.build(); + retriableExceptions = builder.retriableExceptions.build(); + nonRetriableExceptions = builder.nonRetriableExceptions.build(); + Preconditions.checkArgument( + Sets.intersection(retriableExceptions, nonRetriableExceptions).isEmpty(), + "Same exception was found in both retryable and non-retryable sets"); + for (Class exception : retriableExceptions) { + addRetryInfo(new RetryInfo(exception, Interceptor.RetryResult.RETRY), retryInfo); + } + for (Class exception : nonRetriableExceptions) { + addRetryInfo(new RetryInfo(exception, Interceptor.RetryResult.ABORT), retryInfo); + } + } + + private static void addRetryInfo(RetryInfo retryInfo, Set dest) { + for (RetryInfo current : dest) { + if (current.exception.isAssignableFrom(retryInfo.exception)) { + addRetryInfo(retryInfo, current.children); + return; + } + if (retryInfo.exception.isAssignableFrom(current.exception)) { + retryInfo.children.add(current); + } + } + dest.removeAll(retryInfo.children); + dest.add(retryInfo); + } + + private static RetryInfo findMostSpecificRetryInfo(Set retryInfo, + Class exception) { + for (RetryInfo current : retryInfo) { + if (current.exception.isAssignableFrom(exception)) { + RetryInfo match = findMostSpecificRetryInfo(current.children, exception); + return match == null ? current : match; + } + } + return null; + } + + // called for Class, therefore a "call" method must be found. + private static Method getCallableMethod(Class clazz) { + try { + return clazz.getDeclaredMethod("call"); + } catch (NoSuchMethodException e) { + // check parent + return getCallableMethod(clazz.getSuperclass()); + } catch (SecurityException e) { + // This should never happen + throw new IllegalStateException("Unexpected exception", e); + } + } + + void verifyCaller(Callable callable) { + Method callMethod = getCallableMethod(callable.getClass()); + for (Class exceptionOrError : callMethod.getExceptionTypes()) { + Preconditions.checkArgument(Exception.class.isAssignableFrom(exceptionOrError), + "Callable method exceptions must be derived from Exception"); + @SuppressWarnings("unchecked") + Class exception = (Class) exceptionOrError; + Preconditions.checkArgument(findMostSpecificRetryInfo(retryInfo, exception) != null, + "Declared exception '" + exception + "' is not covered by exception handler"); + } + } + + public Set> getRetriableExceptions() { + return retriableExceptions; + } + + public Set> getNonRetriableExceptions() { + return nonRetriableExceptions; + } + + boolean shouldRetry(Exception ex) { + for (Interceptor interceptor : interceptors) { + Interceptor.RetryResult retryResult = interceptor.beforeEval(ex); + if (retryResult != null) { + return retryResult.booleanValue(); + } + } + RetryInfo retryInfo = findMostSpecificRetryInfo(this.retryInfo, ex.getClass()); + Interceptor.RetryResult retryResult = + retryInfo == null ? Interceptor.RetryResult.ABORT : retryInfo.retry; + for (Interceptor interceptor : interceptors) { + retryResult = firstNonNull(interceptor.afterEval(ex, retryResult), retryResult); + } + return retryResult.booleanValue(); + } + + /** + * Returns an instance which retry any checked exception and abort on any runtime exception. + */ + public static ExceptionHandler getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + public static Builder builder() { + return new Builder(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java new file mode 100644 index 000000000000..7b47209cd3ff --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java @@ -0,0 +1,252 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static com.google.common.base.Preconditions.checkNotNull; +import static java.lang.StrictMath.max; +import static java.lang.StrictMath.min; +import static java.lang.StrictMath.pow; +import static java.lang.StrictMath.random; +import static java.util.concurrent.TimeUnit.MILLISECONDS; + +import com.google.common.annotations.VisibleForTesting; +import com.google.common.base.MoreObjects; +import com.google.common.base.MoreObjects.ToStringHelper; +import com.google.common.base.Stopwatch; + +import java.io.InterruptedIOException; +import java.nio.channels.ClosedByInterruptException; +import java.util.concurrent.Callable; +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * Utility class for retrying operations. For more details about the parameters, see + * {@link RetryParams}. If the request is never successful, a {@link RetriesExhaustedException} will + * be thrown. + * + * @param return value of the closure that is being run with retries + */ +public class RetryHelper { + + private static final Logger log = Logger.getLogger(RetryHelper.class.getName()); + + private final Stopwatch stopwatch; + private final Callable callable; + private final RetryParams params; + private final ExceptionHandler exceptionHandler; + private int attemptNumber; + + + private static final ThreadLocal context = new ThreadLocal<>(); + + public static class RetryHelperException extends RuntimeException { + + private static final long serialVersionUID = -2907061015610448235L; + + RetryHelperException() {} + + RetryHelperException(String message) { + super(message); + } + + RetryHelperException(Throwable cause) { + super(cause); + } + + RetryHelperException(String message, Throwable cause) { + super(message, cause); + } + } + + /** + * Thrown when a RetryHelper failed to complete its work due to interruption. Throwing this + * exception also sets the thread interrupt flag. + */ + public static final class RetryInterruptedException extends RetryHelperException { + + private static final long serialVersionUID = 1678966737697204885L; + + RetryInterruptedException() {} + + /** + * Sets the caller thread interrupt flag and throws {@code RetryInterruptedException}. + */ + public static void propagate() throws RetryInterruptedException { + Thread.currentThread().interrupt(); + throw new RetryInterruptedException(); + } + } + + /** + * Thrown when a RetryHelper has attempted the maximum number of attempts allowed by RetryParams + * and was not successful. + */ + public static final class RetriesExhaustedException extends RetryHelperException { + + private static final long serialVersionUID = 780199686075408083L; + + RetriesExhaustedException(String message) { + super(message); + } + + RetriesExhaustedException(String message, Throwable cause) { + super(message, cause); + } + } + + /** + * Thrown when RetryHelper callable has indicate it should not be retried. + */ + public static final class NonRetriableException extends RetryHelperException { + + private static final long serialVersionUID = -2331878521983499652L; + + NonRetriableException(Throwable throwable) { + super(throwable); + } + } + + static class Context { + + private final RetryHelper helper; + + Context(RetryHelper helper) { + this.helper = helper; + } + + public RetryParams getRetryParams() { + return helper.params; + } + + public int getAttemptNumber() { + return helper.attemptNumber; + } + } + + @VisibleForTesting + static void setContext(Context ctx) { + if (ctx == null) { + context.remove(); + } else { + context.set(ctx); + } + } + + static Context getContext() { + return context.get(); + } + + @VisibleForTesting + RetryHelper(Callable callable, RetryParams params, ExceptionHandler exceptionHandler, + Stopwatch stopwatch) { + this.callable = checkNotNull(callable); + this.params = checkNotNull(params); + this.stopwatch = checkNotNull(stopwatch); + this.exceptionHandler = checkNotNull(exceptionHandler); + exceptionHandler.verifyCaller(callable); + } + + @Override + public String toString() { + ToStringHelper toStringHelper = MoreObjects.toStringHelper(this); + toStringHelper.add("params", params); + toStringHelper.add("stopwatch", stopwatch); + toStringHelper.add("attemptNumber", attemptNumber); + toStringHelper.add("callable", callable); + toStringHelper.add("exceptionHandler", exceptionHandler); + return toStringHelper.toString(); + } + + private V doRetry() throws RetryHelperException { + stopwatch.start(); + while (true) { + attemptNumber++; + Exception exception; + try { + V value = callable.call(); + if (attemptNumber > 1 && log.isLoggable(Level.FINE)) { + log.fine(this + ": attempt #" + attemptNumber + " succeeded"); + } + return value; + } catch (InterruptedException | InterruptedIOException | ClosedByInterruptException e) { + if (!exceptionHandler.shouldRetry(e)) { + RetryInterruptedException.propagate(); + } + exception = e; + } catch (Exception e) { + if (!exceptionHandler.shouldRetry(e)) { + throw new NonRetriableException(e); + } + exception = e; + } + if (attemptNumber >= params.getRetryMaxAttempts() + || attemptNumber >= params.getRetryMinAttempts() + && stopwatch.elapsed(MILLISECONDS) >= params.getTotalRetryPeriodMillis()) { + throw new RetriesExhaustedException(this + ": Too many failures, giving up", exception); + } + long sleepDurationMillis = getSleepDuration(params, attemptNumber); + if (log.isLoggable(Level.FINE)) { + log.fine(this + ": Attempt #" + attemptNumber + " failed [" + exception + + "], sleeping for " + sleepDurationMillis + " ms"); + } + try { + Thread.sleep(sleepDurationMillis); + } catch (InterruptedException e) { + // propagate as RetryInterruptedException + RetryInterruptedException.propagate(); + } + } + } + + @VisibleForTesting + static long getSleepDuration(RetryParams retryParams, int attemptsSoFar) { + long initialDelay = retryParams.getInitialRetryDelayMillis(); + double backoffFactor = retryParams.getRetryDelayBackoffFactor(); + long maxDelay = retryParams.getMaxRetryDelayMillis(); + long retryDelay = getExponentialValue(initialDelay, backoffFactor, maxDelay, attemptsSoFar); + return (long) ((random() / 2.0 + .75) * retryDelay); + } + + private static long getExponentialValue(long initialDelay, double backoffFactor, long maxDelay, + int attemptsSoFar) { + return (long) min(maxDelay, pow(backoffFactor, max(1, attemptsSoFar) - 1) * initialDelay); + } + + public static V runWithRetries(Callable callable) throws RetryHelperException { + return runWithRetries(callable, RetryParams.getDefaultInstance(), + ExceptionHandler.getDefaultInstance()); + } + + public static V runWithRetries(Callable callable, RetryParams params, + ExceptionHandler exceptionHandler) throws RetryHelperException { + return runWithRetries(callable, params, exceptionHandler, Stopwatch.createUnstarted()); + } + + @VisibleForTesting + static V runWithRetries(Callable callable, RetryParams params, + ExceptionHandler exceptionHandler, Stopwatch stopwatch) throws RetryHelperException { + RetryHelper retryHelper = new RetryHelper<>(callable, params, exceptionHandler, stopwatch); + Context previousContext = getContext(); + setContext(new Context(retryHelper)); + try { + return retryHelper.doRetry(); + } finally { + setContext(previousContext); + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java new file mode 100644 index 000000000000..0d38aea77ab0 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java @@ -0,0 +1,292 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static com.google.common.base.Preconditions.checkArgument; + +import com.google.common.base.MoreObjects; +import com.google.common.base.MoreObjects.ToStringHelper; + +import java.io.Serializable; +import java.util.Objects; + +/** + * Parameters for configuring retries with an exponential backoff. Initial request is executed + * immediately. If the request fails but passes the {@link ExceptionHandler} criteria the calling + * thread sleeps for {@code initialRetryDelayMillis}. Each subsequent failure the sleep interval is + * calculated as: + *

+ * {@code retryDelayBackoffFactor ^ attempts * initialRetryDelayMillis} but would be upper-bounded + * to {@code maxRetryDelayMillis} + *

+ * This proceeds until either the request is successful, {@code retryMaxAttempts} are made, or both + * {@code retryMinAttempts} are made and {@code totalRetryPeriodMillis} have elapsed. To construct + * {@code RetryParams}, first create a {@link RetryParams.Builder}. The builder is mutable and each + * of the parameters can be set (any unset parameters will fallback to the defaults). The + * {@code Builder} can be then used to create an immutable {@code RetryParams} object. For default + * {@code RetryParams} use {@link #getDefaultInstance}. Default settings are subject to change + * release to release. If you require specific settings, explicitly create an instance of + * {@code RetryParams} with all the required settings. + * + * @see RetryHelper + */ +public final class RetryParams implements Serializable { + + private static final long serialVersionUID = -8492751576749007700L; + + public static final int DEFAULT_RETRY_MIN_ATTEMPTS = 3; + public static final int DEFAULT_RETRY_MAX_ATTEMPTS = 6; + public static final long DEFAULT_INITIAL_RETRY_DELAY_MILLIS = 250L; + public static final long DEFAULT_MAX_RETRY_DELAY_MILLIS = 10_000L; + public static final double DEFAULT_RETRY_DELAY_BACKOFF_FACTOR = 2.0; + public static final long DEFAULT_TOTAL_RETRY_PERIOD_MILLIS = 50_000L; + + private final int retryMinAttempts; + private final int retryMaxAttempts; + private final long initialRetryDelayMillis; + private final long maxRetryDelayMillis; + private final double retryDelayBackoffFactor; + private final long totalRetryPeriodMillis; + + private static final RetryParams DEFAULT_INSTANCE = new RetryParams(new Builder()); + private static final RetryParams NO_RETRIES = + builder().retryMaxAttempts(1).retryMinAttempts(1).build(); + + + /** + * RetryParams builder. + */ + public static final class Builder { + + private int retryMinAttempts; + private int retryMaxAttempts; + private long initialRetryDelayMillis; + private long maxRetryDelayMillis; + private double retryDelayBackoffFactor; + private long totalRetryPeriodMillis; + + private Builder() { + this(null); + } + + Builder(/* Nullable */RetryParams retryParams) { + if (retryParams == null) { + retryMinAttempts = DEFAULT_RETRY_MIN_ATTEMPTS; + retryMaxAttempts = DEFAULT_RETRY_MAX_ATTEMPTS; + initialRetryDelayMillis = DEFAULT_INITIAL_RETRY_DELAY_MILLIS; + maxRetryDelayMillis = DEFAULT_MAX_RETRY_DELAY_MILLIS; + retryDelayBackoffFactor = DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; + totalRetryPeriodMillis = DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; + } else { + retryMinAttempts = retryParams.getRetryMinAttempts(); + retryMaxAttempts = retryParams.getRetryMaxAttempts(); + initialRetryDelayMillis = retryParams.getInitialRetryDelayMillis(); + maxRetryDelayMillis = retryParams.getMaxRetryDelayMillis(); + retryDelayBackoffFactor = retryParams.getRetryDelayBackoffFactor(); + totalRetryPeriodMillis = retryParams.getTotalRetryPeriodMillis(); + } + } + + /** + * Sets retryMinAttempts. + * + * @param retryMinAttempts the retryMinAttempts to set + * @return the Builder for chaining + */ + public Builder retryMinAttempts(int retryMinAttempts) { + this.retryMinAttempts = retryMinAttempts; + return this; + } + + /** + * Sets retryMaxAttempts. + * + * @param retryMaxAttempts the retryMaxAttempts to set + * @return the Builder for chaining + */ + public Builder retryMaxAttempts(int retryMaxAttempts) { + this.retryMaxAttempts = retryMaxAttempts; + return this; + } + + /** + * Sets initialRetryDelayMillis. + * + * @param initialRetryDelayMillis the initialRetryDelayMillis to set + * @return the Builder for chaining + */ + public Builder initialRetryDelayMillis(long initialRetryDelayMillis) { + this.initialRetryDelayMillis = initialRetryDelayMillis; + return this; + } + + /** + * Sets maxRetryDelayMillis. + * + * @param maxRetryDelayMillis the maxRetryDelayMillis to set + * @return the Builder for chaining + */ + public Builder maxRetryDelayMillis(long maxRetryDelayMillis) { + this.maxRetryDelayMillis = maxRetryDelayMillis; + return this; + } + + /** + * Sets retryDelayBackoffFactor. + * + * @param retryDelayBackoffFactor the retryDelayBackoffFactor to set + * @return the Builder for chaining + */ + public Builder retryDelayBackoffFactor(double retryDelayBackoffFactor) { + this.retryDelayBackoffFactor = retryDelayBackoffFactor; + return this; + } + + /** + * Sets totalRetryPeriodMillis. + * + * @param totalRetryPeriodMillis the totalRetryPeriodMillis to set + * @return the Builder for chaining + */ + public Builder totalRetryPeriodMillis(long totalRetryPeriodMillis) { + this.totalRetryPeriodMillis = totalRetryPeriodMillis; + return this; + } + + /** + * Create an instance of RetryParams with the parameters set in this builder. + * + * @return a new instance of RetryParams + */ + public RetryParams build() { + return new RetryParams(this); + } + } + + /** + * Create a new RetryParams with the parameters from a {@link RetryParams.Builder} + * + * @param builder the parameters to use to construct the RetryParams object + */ + private RetryParams(Builder builder) { + retryMinAttempts = builder.retryMinAttempts; + retryMaxAttempts = builder.retryMaxAttempts; + initialRetryDelayMillis = builder.initialRetryDelayMillis; + maxRetryDelayMillis = builder.maxRetryDelayMillis; + retryDelayBackoffFactor = builder.retryDelayBackoffFactor; + totalRetryPeriodMillis = builder.totalRetryPeriodMillis; + checkArgument(retryMinAttempts >= 0, "retryMinAttempts must not be negative"); + checkArgument(retryMaxAttempts >= retryMinAttempts, + "retryMaxAttempts must not be smaller than retryMinAttempts"); + checkArgument(initialRetryDelayMillis >= 0, "initialRetryDelayMillis must not be negative"); + checkArgument(maxRetryDelayMillis >= initialRetryDelayMillis, + "maxRetryDelayMillis must not be smaller than initialRetryDelayMillis"); + checkArgument(retryDelayBackoffFactor >= 0, "retryDelayBackoffFactor must not be negative"); + checkArgument(totalRetryPeriodMillis >= 0, "totalRetryPeriodMillis must not be negative"); + } + + /** + * Returns an instance with the default parameters. + */ + public static RetryParams getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + public static RetryParams noRetries() { + return NO_RETRIES; + } + + /** + * Returns the retryMinAttempts. + */ + public int getRetryMinAttempts() { + return retryMinAttempts; + } + + /** + * Returns the retryMaxAttempts. + */ + public int getRetryMaxAttempts() { + return retryMaxAttempts; + } + + /** + * Returns the initialRetryDelayMillis. + */ + public long getInitialRetryDelayMillis() { + return initialRetryDelayMillis; + } + + /** + * Returns the maxRetryDelayMillis. + */ + public long getMaxRetryDelayMillis() { + return maxRetryDelayMillis; + } + + /** + * Returns the maxRetryDelayBackoffFactor. + */ + public double getRetryDelayBackoffFactor() { + return retryDelayBackoffFactor; + } + + /** + * Returns the totalRetryPeriodMillis. + */ + public long getTotalRetryPeriodMillis() { + return totalRetryPeriodMillis; + } + + @Override + public int hashCode() { + return Objects.hash(retryMinAttempts, retryMaxAttempts, initialRetryDelayMillis, + maxRetryDelayMillis, retryDelayBackoffFactor, totalRetryPeriodMillis); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof RetryParams)) { + return false; + } + RetryParams other = (RetryParams) obj; + return retryMinAttempts == other.retryMinAttempts && retryMaxAttempts == other.retryMaxAttempts + && initialRetryDelayMillis == other.initialRetryDelayMillis + && maxRetryDelayMillis == other.maxRetryDelayMillis + && retryDelayBackoffFactor == other.retryDelayBackoffFactor + && totalRetryPeriodMillis == other.totalRetryPeriodMillis; + } + + @Override + public String toString() { + ToStringHelper toStringHelper = MoreObjects.toStringHelper(this); + toStringHelper.add("retryMinAttempts", retryMinAttempts); + toStringHelper.add("retryMaxAttempts", retryMaxAttempts); + toStringHelper.add("initialRetryDelayMillis", initialRetryDelayMillis); + toStringHelper.add("maxRetryDelayMillis", maxRetryDelayMillis); + toStringHelper.add("retryDelayBackoffFactor", retryDelayBackoffFactor); + toStringHelper.add("totalRetryPeriodMillis", totalRetryPeriodMillis); + return toStringHelper.toString(); + } + + public static Builder builder() { + return new Builder(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java new file mode 100644 index 000000000000..02d810186bfc --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java @@ -0,0 +1 @@ +/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud; public interface Service { O options(); } \ No newline at end of file diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java new file mode 100644 index 000000000000..448b617372b0 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -0,0 +1,314 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + + +import static com.google.common.base.MoreObjects.firstNonNull; +import static com.google.common.base.Preconditions.checkNotNull; +import static java.nio.charset.StandardCharsets.UTF_8; + +import com.google.api.client.extensions.appengine.http.UrlFetchTransport; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.gcloud.spi.ServiceRpcFactory; + +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Serializable; +import java.lang.reflect.Method; +import java.net.HttpURLConnection; +import java.net.URL; +import java.util.Locale; +import java.util.Objects; +import java.util.Set; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +public abstract class ServiceOptions> implements Serializable { + + private static final String DEFAULT_HOST = "https://www.googleapis.com"; + private static final long serialVersionUID = 1203687993961393350L; + private static final String PROJECT_ENV_NAME = "default_project_id"; + + private final String projectId; + private final String host; + private final HttpTransportFactory httpTransportFactory; + private final AuthCredentials authCredentials; + private final RetryParams retryParams; + private final ServiceRpcFactory serviceRpcFactory; + + public interface HttpTransportFactory extends Serializable { + HttpTransport create(); + } + + private enum DefaultHttpTransportFactory implements HttpTransportFactory { + + INSTANCE; + + @Override + public HttpTransport create() { + // Consider App Engine + if (appEngineAppId() != null) { + try { + return new UrlFetchTransport(); + } catch (Exception ignore) { + // Maybe not on App Engine + } + } + // Consider Compute + try { + return AuthCredentials.getComputeCredential().getTransport(); + } catch (Exception e) { + // Maybe not on GCE + } + return new NetHttpTransport(); + } + } + + + + protected abstract static class Builder, + B extends Builder> { + + private String projectId; + private String host; + private HttpTransportFactory httpTransportFactory; + private AuthCredentials authCredentials; + private RetryParams retryParams; + private ServiceRpcFactory serviceRpcFactory; + + protected Builder() {} + + protected Builder(ServiceOptions options) { + projectId = options.projectId; + host = options.host; + httpTransportFactory = options.httpTransportFactory; + authCredentials = options.authCredentials; + retryParams = options.retryParams; + serviceRpcFactory = options.serviceRpcFactory; + } + + protected abstract ServiceOptions build(); + + @SuppressWarnings("unchecked") + protected B self() { + return (B) this; + } + + public B projectId(String projectId) { + this.projectId = projectId; + return self(); + } + + public B host(String host) { + this.host = host; + return self(); + } + + public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { + this.httpTransportFactory = httpTransportFactory; + return self(); + } + + public B authCredentials(AuthCredentials authCredentials) { + this.authCredentials = authCredentials; + return self(); + } + + public B retryParams(RetryParams retryParams) { + this.retryParams = retryParams; + return self(); + } + + public B serviceRpcFactory(ServiceRpcFactory serviceRpcFactory) { + this.serviceRpcFactory = serviceRpcFactory; + return self(); + } + } + + protected ServiceOptions(Builder builder) { + projectId = checkNotNull(builder.projectId != null ? builder.projectId : defaultProject()); + host = firstNonNull(builder.host, DEFAULT_HOST); + httpTransportFactory = + firstNonNull(builder.httpTransportFactory, DefaultHttpTransportFactory.INSTANCE); + authCredentials = firstNonNull(builder.authCredentials, defaultAuthCredentials()); + retryParams = builder.retryParams; + serviceRpcFactory = builder.serviceRpcFactory; + } + + private static AuthCredentials defaultAuthCredentials() { + // Consider App Engine. This will not be needed once issue #21 is fixed. + if (appEngineAppId() != null) { + try { + return AuthCredentials.createForAppEngine(); + } catch (Exception ignore) { + // Maybe not on App Engine + } + } + + try { + return AuthCredentials.createApplicationDefaults(); + } catch (Exception ex) { + // fallback to old-style + } + + // Consider old-style Compute. This will not be needed once issue #21 is fixed. + try { + return AuthCredentials.createForComputeEngine(); + } catch (Exception ignore) { + // Maybe not on GCE + } + return AuthCredentials.noCredentials(); + } + + protected static String appEngineAppId() { + return System.getProperty("com.google.appengine.application.id"); + } + + protected String defaultProject() { + String projectId = System.getProperty(PROJECT_ENV_NAME, System.getenv(PROJECT_ENV_NAME)); + if (projectId == null) { + projectId = getAppEngineProjectId(); + } + return projectId != null ? projectId : googleCloudProjectId(); + } + + protected static String googleCloudProjectId() { + try { + URL url = new URL("http://metadata/computeMetadata/v1/project/project-id"); + HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + connection.setRequestProperty("X-Google-Metadata-Request", "True"); + InputStream input = connection.getInputStream(); + if (connection.getResponseCode() == 200) { + try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { + return reader.readLine(); + } + } + } catch (IOException ignore) { + // ignore + } + File configDir; + if (System.getenv().containsKey("CLOUDSDK_CONFIG")) { + configDir = new File(System.getenv("CLOUDSDK_CONFIG")); + } else if (isWindows() && System.getenv().containsKey("APPDATA")) { + configDir = new File(System.getenv("APPDATA"), "gcloud"); + } else { + configDir = new File(System.getProperty("user.home"), ".config/gcloud"); + } + try (BufferedReader reader = + new BufferedReader(new FileReader(new File(configDir, "properties")))) { + String line; + String section = null; + Pattern projectPattern = Pattern.compile("^project\\s*=\\s*(.*)$"); + Pattern sectionPattern = Pattern.compile("^\\[(.*)\\]$"); + while((line = reader.readLine()) != null) { + if (line.isEmpty() || line.startsWith(";")) { + continue; + } + line = line.trim(); + Matcher matcher = sectionPattern.matcher(line); + if (matcher.matches()) { + section = matcher.group(1); + } else if (section == null || section.equals("core")) { + matcher = projectPattern.matcher(line); + if (matcher.matches()) { + return matcher.group(1); + } + } + } + } catch (IOException ex) { + // ignore + } + // return null if can't determine + return null; + } + + private static boolean isWindows() { + return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).indexOf("windows") > -1; + } + + protected static String getAppEngineProjectId() { + // TODO(ozarov): An alternative to reflection would be to depend on AE api jar: + // http://mvnrepository.com/artifact/com.google.appengine/appengine-api-1.0-sdk/1.2.0 + try { + Class factoryClass = + Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); + Method method = factoryClass.getMethod("getAppIdentityService"); + Object appIdentityService = method.invoke(null); + method = appIdentityService.getClass().getMethod("getServiceAccountName"); + String serviceAccountName = (String) method.invoke(appIdentityService); + int indexOfAtSign = serviceAccountName.indexOf('@'); + return serviceAccountName.substring(0, indexOfAtSign); + } catch (Exception ignore) { + // return null if can't determine + return null; + } + } + + protected abstract Set scopes(); + + public String projectId() { + return projectId; + } + + public String host() { + return host; + } + + public HttpTransportFactory httpTransportFactory() { + return httpTransportFactory; + } + + public AuthCredentials authCredentials() { + return authCredentials; + } + + public RetryParams retryParams() { + return retryParams != null ? retryParams : RetryParams.noRetries(); + } + + public ServiceRpcFactory serviceRpcFactory() { + return serviceRpcFactory; + } + + public HttpRequestInitializer httpRequestInitializer() { + HttpTransport httpTransport = httpTransportFactory.create(); + return authCredentials().httpRequestInitializer(httpTransport, scopes()); + } + + @Override + public int hashCode() { + return Objects.hash(projectId, host, httpTransportFactory, authCredentials, retryParams, + serviceRpcFactory); + } + + protected boolean isEquals(ServiceOptions other) { + return Objects.equals(projectId, other.projectId) + && Objects.equals(host, other.host) + && Objects.equals(httpTransportFactory, other.httpTransportFactory) + && Objects.equals(authCredentials, other.authCredentials) + && Objects.equals(retryParams, other.retryParams) + && Objects.equals(serviceRpcFactory, other.serviceRpcFactory); + } + + public abstract Builder toBuilder(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java new file mode 100644 index 000000000000..a16d11217bb1 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java @@ -0,0 +1 @@ +/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud.spi; import com.google.gcloud.ServiceOptions; import java.io.Serializable; public interface ServiceRpcFactory extends Serializable { S create(O options); } \ No newline at end of file diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java new file mode 100644 index 000000000000..41a2bf2d5848 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java @@ -0,0 +1,32 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud.spi; + +import com.google.common.collect.Iterables; +import com.google.gcloud.ServiceOptions; + +import java.util.ServiceLoader; + +public class ServiceRpcProvider { + + public static > R get(O options, + Class> factoryClass) { + ServiceRpcFactory factory = Iterables.getFirst(ServiceLoader.load(factoryClass), null); + return factory == null ? null : factory.create(options); + } +} + diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java new file mode 100644 index 000000000000..3844f9de36d7 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java @@ -0,0 +1,168 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.gcloud.ExceptionHandler.Interceptor; +import com.google.gcloud.ExceptionHandler.Interceptor.RetryResult; + +import org.junit.Test; + +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.channels.ClosedByInterruptException; +import java.util.concurrent.Callable; +import java.util.concurrent.atomic.AtomicReference; + +/** + * Tests for {@link ExceptionHandler}. + */ +public class ExceptionHandlerTest { + + @Test + public void testVerifyCaller() { + class A implements Callable { + @Override + public Object call() throws IOException, InterruptedException { + return null; + } + } + + class B extends A { + } + + class C extends A { + @Override + public Object call() throws FileNotFoundException { + return "c"; + } + } + + class D extends C { + @Override + public Object call() throws IllegalArgumentException { + return "d"; + } + } + + class E extends A { + @Override + public String call() throws NullPointerException { + return "e"; + } + } + + class F extends A { + @Override + public Object call() throws Error { + return "f"; + } + } + + // using default exception handler (retry upon any non-runtime exceptions) + ExceptionHandler handler = ExceptionHandler.getDefaultInstance(); + assertValidCallable(new A(), handler); + assertValidCallable(new B(), handler); + assertValidCallable(new C(), handler); + assertValidCallable(new D(), handler); + assertValidCallable(new E(), handler); + assertInvalidCallable(new F(), handler); + + handler = ExceptionHandler.builder() + .retryOn(FileNotFoundException.class, NullPointerException.class) + .build(); + assertInvalidCallable(new A(), handler); + assertInvalidCallable(new B(), handler); + assertValidCallable(new C(), handler); + assertInvalidCallable(new D(), handler); + assertValidCallable(new E(), handler); + assertInvalidCallable(new F(), handler); + } + + private static void assertValidCallable(Callable callable, ExceptionHandler handler) { + handler.verifyCaller(callable); + } + + private static void assertInvalidCallable(Callable callable, ExceptionHandler handler) { + try { + handler.verifyCaller(callable); + fail("Expected RetryHelper constructor to fail"); + } catch (IllegalArgumentException ex) { + // expected + } + } + + @Test + public void testShouldTry() { + ExceptionHandler handler = ExceptionHandler.builder().retryOn(IOException.class).build(); + assertTrue(handler.shouldRetry(new IOException())); + assertTrue(handler.shouldRetry(new ClosedByInterruptException())); + assertFalse(handler.shouldRetry(new RuntimeException())); + + ExceptionHandler.Builder builder = ExceptionHandler.builder() + .retryOn(IOException.class, NullPointerException.class) + .abortOn(RuntimeException.class, ClosedByInterruptException.class, + InterruptedException.class); + + handler = builder.build(); + assertTrue(handler.shouldRetry(new IOException())); + assertFalse(handler.shouldRetry(new ClosedByInterruptException())); + assertFalse(handler.shouldRetry(new InterruptedException())); + assertFalse(handler.shouldRetry(new RuntimeException())); + assertTrue(handler.shouldRetry(new NullPointerException())); + + final AtomicReference before = new AtomicReference<>(RetryResult.ABORT); + @SuppressWarnings("serial") + Interceptor interceptor = new Interceptor() { + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return retryResult == RetryResult.ABORT ? RetryResult.RETRY : RetryResult.ABORT; + } + + @Override + public RetryResult beforeEval(Exception exception) { + return before.get(); + } + }; + + builder.interceptor(interceptor); + handler = builder.build(); + assertFalse(handler.shouldRetry(new IOException())); + assertFalse(handler.shouldRetry(new ClosedByInterruptException())); + assertFalse(handler.shouldRetry(new InterruptedException())); + assertFalse(handler.shouldRetry(new RuntimeException())); + assertFalse(handler.shouldRetry(new NullPointerException())); + + before.set(RetryResult.RETRY); + assertTrue(handler.shouldRetry(new IOException())); + assertTrue(handler.shouldRetry(new ClosedByInterruptException())); + assertTrue(handler.shouldRetry(new InterruptedException())); + assertTrue(handler.shouldRetry(new RuntimeException())); + assertTrue(handler.shouldRetry(new NullPointerException())); + + before.set(null); + assertFalse(handler.shouldRetry(new IOException())); + assertTrue(handler.shouldRetry(new ClosedByInterruptException())); + assertTrue(handler.shouldRetry(new InterruptedException())); + assertTrue(handler.shouldRetry(new RuntimeException())); + assertFalse(handler.shouldRetry(new NullPointerException())); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java new file mode 100644 index 000000000000..dfd933bcae46 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java @@ -0,0 +1,263 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static java.util.concurrent.Executors.callable; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.common.base.Stopwatch; +import com.google.common.base.Ticker; +import com.google.gcloud.RetryHelper.NonRetriableException; +import com.google.gcloud.RetryHelper.RetriesExhaustedException; + +import org.junit.Test; + +import java.io.IOException; +import java.util.Arrays; +import java.util.Iterator; +import java.util.concurrent.Callable; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +/** + * Tests for {@link RetryHelper}. + */ +public class RetryHelperTest { + + static class E1Exception extends Exception { + private static final long serialVersionUID = 3874933713392137001L; + } + + static class E2Exception extends E1Exception { + private static final long serialVersionUID = -8710227162480133598L; + } + + static class E3Exception extends E1Exception { + private static final long serialVersionUID = -7794256022024001666L; + } + + static class E4Exception extends E2Exception { + private static final long serialVersionUID = -5508018234693709156L; + } + + @Test + public void testTriesWithExceptionHandling() { + assertNull(RetryHelper.getContext()); + RetryParams params = + RetryParams.builder().initialRetryDelayMillis(0).retryMaxAttempts(3).build(); + ExceptionHandler handler = ExceptionHandler.builder() + .retryOn(IOException.class).abortOn(RuntimeException.class).build(); + final AtomicInteger count = new AtomicInteger(3); + try { + RetryHelper.runWithRetries(new Callable() { + @Override public Void call() throws IOException, NullPointerException { + if (count.decrementAndGet() == 2) { + assertEquals(1, RetryHelper.getContext().getAttemptNumber()); + throw new IOException("should be retried"); + } + assertEquals(2, RetryHelper.getContext().getAttemptNumber()); + throw new NullPointerException("Boo!"); + } + }, params, handler); + fail("Exception should have been thrown"); + } catch (NonRetriableException ex) { + assertEquals("Boo!", ex.getCause().getMessage()); + assertEquals(1, count.intValue()); + } + assertNull(RetryHelper.getContext()); + + params = RetryParams.builder().initialRetryDelayMillis(0).retryMaxAttempts(5).build(); + handler = ExceptionHandler.builder() + .retryOn(E1Exception.class, E4Exception.class) + .abortOn(E3Exception.class).build(); + final Iterator exceptions = Arrays.asList( + new E1Exception(), new E2Exception(), new E4Exception(), new E3Exception()).iterator(); + try { + RetryHelper.runWithRetries(new Callable() { + @Override public Void call() throws E1Exception { + throw exceptions.next(); + } + }, params, handler); + fail("Exception should have been thrown"); + } catch (NonRetriableException ex) { + assertTrue(ex.getCause() instanceof E3Exception); + } + assertNull(RetryHelper.getContext()); + } + + @Test + public void testTriesAtLeastMinTimes() { + // Total retry period set to 60 seconds so as to not factor into test + RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) + .totalRetryPeriodMillis(60000) + .retryMinAttempts(5) + .retryMaxAttempts(10) + .build(); + final int timesToFail = 7; + assertNull(RetryHelper.getContext()); + int attempted = RetryHelper.runWithRetries(new Callable() { + int timesCalled; + @Override public Integer call() throws IOException { + timesCalled++; + assertEquals(timesCalled, RetryHelper.getContext().getAttemptNumber()); + assertEquals(10, RetryHelper.getContext().getRetryParams().getRetryMaxAttempts()); + if (timesCalled <= timesToFail) { + throw new IOException(); + } + return timesCalled; + } + }, params, ExceptionHandler.getDefaultInstance()); + assertEquals(timesToFail + 1, attempted); + assertNull(RetryHelper.getContext()); + } + + @Test + public void testTriesNoMoreThanMaxTimes() { + // Total retry period set to 60 seconds so as to not factor into test + final int maxAttempts = 10; + RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) + .totalRetryPeriodMillis(60000) + .retryMinAttempts(0) + .retryMaxAttempts(maxAttempts) + .build(); + final AtomicInteger timesCalled = new AtomicInteger(0); + try { + RetryHelper.runWithRetries(callable(new Runnable() { + @Override public void run() { + // Throw an exception up to maxAttempts times, should never be called beyond that + if (timesCalled.incrementAndGet() <= maxAttempts) { + throw new RuntimeException(); + } + fail("Body was executed too many times: " + timesCalled.get()); + } + }), params, ExceptionHandler.builder().retryOn(RuntimeException.class).build()); + // Unnecessary as this line should not be possible reach even if RetryHandler is broken + fail("Should not have succeeded, expected all attempts to fail and give up."); + } catch (RetriesExhaustedException expected) { + // Expect the body to run exactly maxAttempts times + assertEquals(maxAttempts, timesCalled.get()); + } + } + + private static class FakeTicker extends Ticker { + private final AtomicLong nanos = new AtomicLong(); + + // Advances the ticker value by {@code time} in {@code timeUnit}. + void advance(long time, TimeUnit timeUnit) { + nanos.addAndGet(timeUnit.toNanos(time)); + } + + @Override + public long read() { + return nanos.get(); + } + } + + @Test + public void testTriesNoMoreLongerThanTotalRetryPeriod() { + final FakeTicker ticker = new FakeTicker(); + Stopwatch stopwatch = Stopwatch.createUnstarted(ticker); + // The 8th attempt (after min and before max) will trigger a 1 second (virtual) delay exceeding + // total retry period which is set just under 1 second. Test occurs faster than realtime. + RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) + .totalRetryPeriodMillis(999) + .retryMinAttempts(5) + .retryMaxAttempts(10) + .build(); + ExceptionHandler handler = ExceptionHandler.builder().retryOn(RuntimeException.class).build(); + final int sleepOnAttempt = 8; + final AtomicInteger timesCalled = new AtomicInteger(0); + try { + RetryHelper.runWithRetries(callable(new Runnable() { + @Override public void run() { + timesCalled.incrementAndGet(); + if (timesCalled.get() == sleepOnAttempt) { + ticker.advance(1000, TimeUnit.MILLISECONDS); + } + throw new RuntimeException(); + } + }), params, handler, stopwatch); + fail(); + } catch (RetriesExhaustedException expected) { + // verify timesCalled + assertEquals(sleepOnAttempt, timesCalled.get()); + } + } + + @Test + public void testBackoffIsExponential() { + // Total retry period set to 60 seconds so as to not factor into test + RetryParams params = RetryParams.builder() + .initialRetryDelayMillis(10) + .maxRetryDelayMillis(10_000_000) + .retryDelayBackoffFactor(2) + .totalRetryPeriodMillis(60_000) + .retryMinAttempts(0) + .retryMaxAttempts(100) + .build(); + long sleepDuration = RetryHelper.getSleepDuration(params, 1); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 13 && sleepDuration >= 7); + sleepDuration = RetryHelper.getSleepDuration(params, 2); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 25 && sleepDuration >= 15); + sleepDuration = RetryHelper.getSleepDuration(params, 3); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 50 && sleepDuration >= 30); + sleepDuration = RetryHelper.getSleepDuration(params, 4); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 100 && sleepDuration >= 60); + sleepDuration = RetryHelper.getSleepDuration(params, 5); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 200 && sleepDuration >= 120); + sleepDuration = RetryHelper.getSleepDuration(params, 6); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 400 && sleepDuration >= 240); + sleepDuration = RetryHelper.getSleepDuration(params, 7); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 800 && sleepDuration >= 480); + sleepDuration = RetryHelper.getSleepDuration(params, 8); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 1600 && sleepDuration >= 960); + sleepDuration = RetryHelper.getSleepDuration(params, 9); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 3200 && sleepDuration >= 1920); + sleepDuration = RetryHelper.getSleepDuration(params, 10); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 6400 && sleepDuration >= 3840); + sleepDuration = RetryHelper.getSleepDuration(params, 11); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 12800 && sleepDuration >= 7680); + sleepDuration = RetryHelper.getSleepDuration(params, 12); + assertTrue(String.valueOf(sleepDuration), sleepDuration < 25600 && sleepDuration >= 15360); + } + + @Test + public void testNestedUsage() { + assertEquals((1 + 3) * 2, invokeNested(3, 2)); + } + + private int invokeNested(final int level, final int retries) { + if (level < 0) { + return 0; + } + return RetryHelper.runWithRetries(new Callable() { + @Override + public Integer call() throws IOException { + if (RetryHelper.getContext().getAttemptNumber() < retries) { + throw new IOException(); + } + assertEquals(retries, RetryHelper.getContext().getAttemptNumber()); + return invokeNested(level - 1, retries) + RetryHelper.getContext().getAttemptNumber(); + } + }); + } + +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java new file mode 100644 index 000000000000..d1d5e3c076d8 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java @@ -0,0 +1,107 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static com.google.gcloud.RetryParams.DEFAULT_INITIAL_RETRY_DELAY_MILLIS; +import static com.google.gcloud.RetryParams.DEFAULT_MAX_RETRY_DELAY_MILLIS; +import static com.google.gcloud.RetryParams.DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; +import static com.google.gcloud.RetryParams.DEFAULT_RETRY_MAX_ATTEMPTS; +import static com.google.gcloud.RetryParams.DEFAULT_RETRY_MIN_ATTEMPTS; +import static com.google.gcloud.RetryParams.DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.fail; + +import com.google.gcloud.RetryParams.Builder; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +import java.util.Arrays; + +/** + * Tests for {@link RetryParams}. + */ +@RunWith(JUnit4.class) +public class RetryParamsTest { + + @Test + public void testDefaults() { + RetryParams params1 = RetryParams.getDefaultInstance(); + RetryParams params2 = RetryParams.builder().build(); + for (RetryParams params : Arrays.asList(params1, params2)) { + assertEquals(DEFAULT_INITIAL_RETRY_DELAY_MILLIS, params.getInitialRetryDelayMillis()); + assertEquals(DEFAULT_MAX_RETRY_DELAY_MILLIS, params.getMaxRetryDelayMillis()); + assertEquals(DEFAULT_RETRY_DELAY_BACKOFF_FACTOR, params.getRetryDelayBackoffFactor(), 0); + assertEquals(DEFAULT_RETRY_MAX_ATTEMPTS, params.getRetryMaxAttempts()); + assertEquals(DEFAULT_RETRY_MIN_ATTEMPTS, params.getRetryMinAttempts()); + assertEquals(DEFAULT_TOTAL_RETRY_PERIOD_MILLIS, params.getTotalRetryPeriodMillis()); + } + } + + @Test + public void testSetAndCopy() { + RetryParams.Builder builder = RetryParams.builder(); + builder.initialRetryDelayMillis(101); + builder.maxRetryDelayMillis(102); + builder.retryDelayBackoffFactor(103); + builder.retryMinAttempts(107); + builder.retryMaxAttempts(108); + builder.totalRetryPeriodMillis(109); + RetryParams params1 = builder.build(); + RetryParams params2 = new RetryParams.Builder(params1).build(); + for (RetryParams params : Arrays.asList(params1, params2)) { + assertEquals(101, params.getInitialRetryDelayMillis()); + assertEquals(102, params.getMaxRetryDelayMillis()); + assertEquals(103, params.getRetryDelayBackoffFactor(), 0); + assertEquals(107, params.getRetryMinAttempts()); + assertEquals(108, params.getRetryMaxAttempts()); + assertEquals(109, params.getTotalRetryPeriodMillis()); + } + } + + @Test + public void testBadSettings() { + RetryParams.Builder builder = RetryParams.builder(); + builder.initialRetryDelayMillis(-1); + builder = assertFailure(builder); + builder.maxRetryDelayMillis(RetryParams.getDefaultInstance().getInitialRetryDelayMillis() - 1); + builder = assertFailure(builder); + builder.retryDelayBackoffFactor(-1); + builder = assertFailure(builder); + builder.retryMinAttempts(-1); + builder = assertFailure(builder); + builder.retryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts() - 1); + builder = assertFailure(builder); + builder.totalRetryPeriodMillis(-1); + builder = assertFailure(builder); + // verify that it is OK for min and max to be equal + builder.retryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts()); + builder.maxRetryDelayMillis(RetryParams.getDefaultInstance().getInitialRetryDelayMillis()); + builder.build(); + } + + private static Builder assertFailure(Builder builder) { + try { + builder.build(); + fail("Expected IllegalArgumentException"); + } catch (IllegalArgumentException ex) { + // expected + } + return RetryParams.builder(); + } +} From 52fd354ce5323e24e9b41249defa73db906872c0 Mon Sep 17 00:00:00 2001 From: aozarov Date: Tue, 26 May 2015 12:52:02 -0700 Subject: [PATCH 0003/3036] update pom descriptions --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7fbbe7dad21d..78baf824c080 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -7,7 +7,7 @@ GCloud Java core https://github.com/GoogleCloudPlatform/gcloud-java - Java idiomatic client for Google Cloud Platform services. + Core module for the gcloud-java. com.google.gcloud From d48c45aea9a77edab7ebca16839570770282d019 Mon Sep 17 00:00:00 2001 From: aozarov Date: Tue, 26 May 2015 14:23:42 -0700 Subject: [PATCH 0004/3036] remove StorageRpcProvider and add Javadoc to RPC factory interfaces --- .../com/google/gcloud/ServiceOptions.java | 11 +++++++ .../google/gcloud/spi/ServiceRpcFactory.java | 2 +- .../google/gcloud/spi/ServiceRpcProvider.java | 32 ------------------- 3 files changed, 12 insertions(+), 33 deletions(-) delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 448b617372b0..a974a1f1912a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -25,6 +25,7 @@ import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.common.collect.Iterables; import com.google.gcloud.spi.ServiceRpcFactory; import java.io.BufferedReader; @@ -39,6 +40,7 @@ import java.net.URL; import java.util.Locale; import java.util.Objects; +import java.util.ServiceLoader; import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -311,4 +313,13 @@ protected boolean isEquals(ServiceOptions other) { } public abstract Builder toBuilder(); + + /** + * Creates a service RPC using a factory loaded by {@link ServiceLoader}. + */ + protected static > R createRpc(O options, + Class> factoryClass) { + ServiceRpcFactory factory = Iterables.getFirst(ServiceLoader.load(factoryClass), null); + return factory == null ? null : factory.create(options); + } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java index a16d11217bb1..e8e67615305d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java @@ -1 +1 @@ -/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud.spi; import com.google.gcloud.ServiceOptions; import java.io.Serializable; public interface ServiceRpcFactory extends Serializable { S create(O options); } \ No newline at end of file +/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud.spi; import com.google.gcloud.ServiceOptions; import java.io.Serializable; /** * A base interface for all service RPC factories. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ public interface ServiceRpcFactory extends Serializable { S create(O options); } \ No newline at end of file diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java deleted file mode 100644 index 41a2bf2d5848..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcProvider.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.gcloud.spi; - -import com.google.common.collect.Iterables; -import com.google.gcloud.ServiceOptions; - -import java.util.ServiceLoader; - -public class ServiceRpcProvider { - - public static > R get(O options, - Class> factoryClass) { - ServiceRpcFactory factory = Iterables.getFirst(ServiceLoader.load(factoryClass), null); - return factory == null ? null : factory.create(options); - } -} - From a248e56a5eae0741d0ee8a8ba050cde222931245 Mon Sep 17 00:00:00 2001 From: aozarov Date: Tue, 26 May 2015 14:32:10 -0700 Subject: [PATCH 0005/3036] fix typo --- java-core/google-cloud-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e22b159d216f..aa8d4304f1fb 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -10,7 +10,7 @@ Java idiomatic client for [Google Cloud Platform][cloud-platform] services. - [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs) - [Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/examples/package-summary.html) -This moudle provides common functionality and is required by the other service specific modules. +This module provides common functionality and is required by the other service specific modules. Quickstart ---------- From 59a1caceb32175f049b45e1b3720d2d4955fed70 Mon Sep 17 00:00:00 2001 From: aozarov Date: Thu, 28 May 2015 15:50:02 -0700 Subject: [PATCH 0006/3036] complete work on signURL --- java-core/google-cloud-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 78baf824c080..fa2e1c18972f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -28,13 +28,13 @@ com.google.http-client google-http-client - 1.19.0 + 1.20.0 compile com.google.oauth-client google-oauth-client - 1.19.0 + 1.20.0 compile From 3ac9041b51b56f391e4cc3d04db577b8ba6e4c76 Mon Sep 17 00:00:00 2001 From: Jeremy Boynes Date: Wed, 3 Jun 2015 09:55:52 -0700 Subject: [PATCH 0007/3036] Replace CR characters with newlines --- .../java/com/google/gcloud/BaseService.java | 32 ++++++++++++++++++- .../main/java/com/google/gcloud/Service.java | 22 ++++++++++++- .../google/gcloud/spi/ServiceRpcFactory.java | 31 +++++++++++++++++- 3 files changed, 82 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java index 4d96ac5b86e6..02bfd76771b2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java @@ -1 +1,31 @@ -/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud; public abstract class BaseService implements Service { private final O options; protected BaseService(O options) { this.options = options; } @Override public O options() { return options; } } \ No newline at end of file +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +public abstract class BaseService implements Service { + + private final O options; + + protected BaseService(O options) { + this.options = options; + } + + @Override + public O options() { + return options; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java index 02d810186bfc..8a43b9cf2244 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java @@ -1 +1,21 @@ -/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud; public interface Service { O options(); } \ No newline at end of file +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +public interface Service { + O options(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java index e8e67615305d..9bab3f81ce9c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java @@ -1 +1,30 @@ -/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.gcloud.spi; import com.google.gcloud.ServiceOptions; import java.io.Serializable; /** * A base interface for all service RPC factories. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ public interface ServiceRpcFactory extends Serializable { S create(O options); } \ No newline at end of file +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud.spi; + +import com.google.gcloud.ServiceOptions; + +import java.io.Serializable; + +/** + * A base interface for all service RPC factories. + * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + */ +public interface ServiceRpcFactory extends Serializable { + + S create(O options); +} From 9262a64ef7e0eef45c7884ce62238035138ab10e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89amonn=20McManus?= Date: Fri, 5 Jun 2015 17:15:11 -0700 Subject: [PATCH 0008/3036] Minor cleanups. No behaviour or API changes are intended, except for a few types which were made public because they are referenced in the signatures of public methods. * Use the NameT convention for some type variables for improved readability. * Avoid using raw types where possible. * Limit the scope of @SuppressWarnings where possible. * Split some lines that were over the 100-character limit. --- .../com/google/gcloud/AuthCredentials.java | 7 ++- .../main/java/com/google/gcloud/Service.java | 4 +- .../com/google/gcloud/ServiceOptions.java | 45 +++++++++++-------- .../google/gcloud/spi/ServiceRpcFactory.java | 7 ++- 4 files changed, 36 insertions(+), 27 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 6cdb737ddd91..13d91836ae4c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -181,10 +181,9 @@ public static AuthCredentials createForComputeEngine() /** * Returns the Application Default Credentials. * - *

- * Returns the Application Default Credentials which are credentials that identify and authorize - * the whole application. This is the built-in service account if running on Google Compute Engine - * or the credentials file from the path in the environment variable + *

Returns the Application Default Credentials which are credentials that identify and + * authorize the whole application. This is the built-in service account if running on + * Google Compute Engine or the credentials file from the path in the environment variable * GOOGLE_APPLICATION_CREDENTIALS. *

* diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java index 8a43b9cf2244..19759fb20e21 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java @@ -16,6 +16,6 @@ package com.google.gcloud; -public interface Service { - O options(); +public interface Service> { + OptionsT options(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index a974a1f1912a..cd529ba14187 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -45,7 +45,10 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -public abstract class ServiceOptions> implements Serializable { +public abstract class ServiceOptions< + ServiceRpcT, + OptionsT extends ServiceOptions> + implements Serializable { private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final long serialVersionUID = 1203687993961393350L; @@ -56,7 +59,7 @@ public abstract class ServiceOptions> implemen private final HttpTransportFactory httpTransportFactory; private final AuthCredentials authCredentials; private final RetryParams retryParams; - private final ServiceRpcFactory serviceRpcFactory; + private final ServiceRpcFactory serviceRpcFactory; public interface HttpTransportFactory extends Serializable { HttpTransport create(); @@ -88,19 +91,21 @@ public HttpTransport create() { - protected abstract static class Builder, - B extends Builder> { + protected abstract static class Builder< + ServiceRpcT, + OptionsT extends ServiceOptions, + B extends Builder> { private String projectId; private String host; private HttpTransportFactory httpTransportFactory; private AuthCredentials authCredentials; private RetryParams retryParams; - private ServiceRpcFactory serviceRpcFactory; + private ServiceRpcFactory serviceRpcFactory; protected Builder() {} - protected Builder(ServiceOptions options) { + protected Builder(ServiceOptions options) { projectId = options.projectId; host = options.host; httpTransportFactory = options.httpTransportFactory; @@ -109,7 +114,7 @@ protected Builder(ServiceOptions options) { serviceRpcFactory = options.serviceRpcFactory; } - protected abstract ServiceOptions build(); + protected abstract ServiceOptions build(); @SuppressWarnings("unchecked") protected B self() { @@ -141,13 +146,13 @@ public B retryParams(RetryParams retryParams) { return self(); } - public B serviceRpcFactory(ServiceRpcFactory serviceRpcFactory) { + public B serviceRpcFactory(ServiceRpcFactory serviceRpcFactory) { this.serviceRpcFactory = serviceRpcFactory; return self(); } } - protected ServiceOptions(Builder builder) { + protected ServiceOptions(Builder builder) { projectId = checkNotNull(builder.projectId != null ? builder.projectId : defaultProject()); host = firstNonNull(builder.host, DEFAULT_HOST); httpTransportFactory = @@ -222,7 +227,7 @@ protected static String googleCloudProjectId() { String section = null; Pattern projectPattern = Pattern.compile("^project\\s*=\\s*(.*)$"); Pattern sectionPattern = Pattern.compile("^\\[(.*)\\]$"); - while((line = reader.readLine()) != null) { + while ((line = reader.readLine()) != null) { if (line.isEmpty() || line.startsWith(";")) { continue; } @@ -245,7 +250,7 @@ protected static String googleCloudProjectId() { } private static boolean isWindows() { - return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).indexOf("windows") > -1; + return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"); } protected static String getAppEngineProjectId() { @@ -288,7 +293,7 @@ public RetryParams retryParams() { return retryParams != null ? retryParams : RetryParams.noRetries(); } - public ServiceRpcFactory serviceRpcFactory() { + public ServiceRpcFactory serviceRpcFactory() { return serviceRpcFactory; } @@ -297,13 +302,12 @@ public HttpRequestInitializer httpRequestInitializer() { return authCredentials().httpRequestInitializer(httpTransport, scopes()); } - @Override - public int hashCode() { + protected int baseHashCode() { return Objects.hash(projectId, host, httpTransportFactory, authCredentials, retryParams, serviceRpcFactory); } - protected boolean isEquals(ServiceOptions other) { + protected boolean baseEquals(ServiceOptions other) { return Objects.equals(projectId, other.projectId) && Objects.equals(host, other.host) && Objects.equals(httpTransportFactory, other.httpTransportFactory) @@ -312,14 +316,17 @@ protected boolean isEquals(ServiceOptions other) { && Objects.equals(serviceRpcFactory, other.serviceRpcFactory); } - public abstract Builder toBuilder(); + public abstract Builder toBuilder(); /** * Creates a service RPC using a factory loaded by {@link ServiceLoader}. */ - protected static > R createRpc(O options, - Class> factoryClass) { - ServiceRpcFactory factory = Iterables.getFirst(ServiceLoader.load(factoryClass), null); + protected static + > + ServiceRpcT createRpc(OptionsT options, + Class> factoryClass) { + ServiceRpcFactory factory = + Iterables.getFirst(ServiceLoader.load(factoryClass), null); return factory == null ? null : factory.create(options); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java index 9bab3f81ce9c..89e08cda9eda 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java @@ -24,7 +24,10 @@ * A base interface for all service RPC factories. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ -public interface ServiceRpcFactory extends Serializable { +public interface ServiceRpcFactory< + ServiceRpcT, + OptionsT extends ServiceOptions> + extends Serializable { - S create(O options); + ServiceRpcT create(OptionsT options); } From 707b7f3562b1cdc3ddc72e26f1fa0778bc623b69 Mon Sep 17 00:00:00 2001 From: Eamonn McManus Date: Sun, 7 Jun 2015 14:42:13 -0700 Subject: [PATCH 0009/3036] Adjust type variable usage in BaseService to fix compile error. --- .../src/main/java/com/google/gcloud/BaseService.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java index 02bfd76771b2..982d3058295c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java @@ -16,16 +16,17 @@ package com.google.gcloud; -public abstract class BaseService implements Service { +public abstract class BaseService> + implements Service { - private final O options; + private final OptionsT options; - protected BaseService(O options) { + protected BaseService(OptionsT options) { this.options = options; } @Override - public O options() { + public OptionsT options() { return options; } } From 5190efa7444c0829e86f647954a03b37a999550e Mon Sep 17 00:00:00 2001 From: aozarov Date: Mon, 29 Jun 2015 11:54:15 -0700 Subject: [PATCH 0010/3036] update to 0.0.6 and push to maven --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fa2e1c18972f..30e1a665bafb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -12,7 +12,7 @@ com.google.gcloud gcloud-java-pom - 0.0.5 + 0.0.6 From 95f294aec9f9c606ce0d9f221caa92a60d452d78 Mon Sep 17 00:00:00 2001 From: aozarov Date: Mon, 29 Jun 2015 16:37:25 -0700 Subject: [PATCH 0011/3036] using a -SNAPSHOT until release is ready --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 30e1a665bafb..3617ec2f7e6a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -12,7 +12,7 @@ com.google.gcloud gcloud-java-pom - 0.0.6 + 0.0.7-SNAPSHOT From 1fc44e61cf9ee31224964445cd3c3246fbc7a626 Mon Sep 17 00:00:00 2001 From: aozarov Date: Mon, 29 Jun 2015 16:54:45 -0700 Subject: [PATCH 0012/3036] replace LATEST with specific version in README files --- java-core/google-cloud-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index aa8d4304f1fb..8618ab12409e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,7 +19,7 @@ Add this to your pom.xml file com.google.gcloud gcloud-java-core - LATEST + 0.0.6 ``` From 505af53cab0b1b3cde1266a7b832b0543e97d3cf Mon Sep 17 00:00:00 2001 From: aozarov Date: Mon, 6 Jul 2015 14:44:09 -0700 Subject: [PATCH 0013/3036] create site and maven artifacts only once and ignore pull requests --- java-core/google-cloud-core/pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3617ec2f7e6a..b577c4d29b7f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -5,7 +5,6 @@ gcloud-java-core jar GCloud Java core - https://github.com/GoogleCloudPlatform/gcloud-java Core module for the gcloud-java. From 53553d99ed639be872abb0aa10cdd5be512abcb2 Mon Sep 17 00:00:00 2001 From: aozarov Date: Thu, 30 Jul 2015 15:18:41 -0700 Subject: [PATCH 0014/3036] 1. Fix issue #121 and replace default_project_id environment name with GCLOUD_PROJECT 2. Fix a null pointer bug with listing 3. Update maven dependencies --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index cd529ba14187..59c2d57fb3df 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -52,7 +52,7 @@ public abstract class ServiceOptions< private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final long serialVersionUID = 1203687993961393350L; - private static final String PROJECT_ENV_NAME = "default_project_id"; + private static final String PROJECT_ENV_NAME = "GCLOUD_PROJECT"; private final String projectId; private final String host; From 3c7d201db4f9af3298d9cc1cd64680c677edee68 Mon Sep 17 00:00:00 2001 From: aozarov Date: Mon, 24 Aug 2015 17:17:20 -0700 Subject: [PATCH 0015/3036] Support running against gcloud datastore emulator (support DATASTORE_HOST) --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 59c2d57fb3df..206e1fecaa58 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -154,7 +154,7 @@ public B serviceRpcFactory(ServiceRpcFactory serviceRpcFa protected ServiceOptions(Builder builder) { projectId = checkNotNull(builder.projectId != null ? builder.projectId : defaultProject()); - host = firstNonNull(builder.host, DEFAULT_HOST); + host = firstNonNull(builder.host, defaultHost()); httpTransportFactory = firstNonNull(builder.httpTransportFactory, DefaultHttpTransportFactory.INSTANCE); authCredentials = firstNonNull(builder.authCredentials, defaultAuthCredentials()); @@ -191,6 +191,10 @@ protected static String appEngineAppId() { return System.getProperty("com.google.appengine.application.id"); } + protected String defaultHost() { + return DEFAULT_HOST; + } + protected String defaultProject() { String projectId = System.getProperty(PROJECT_ENV_NAME, System.getenv(PROJECT_ENV_NAME)); if (projectId == null) { From 309b58bba87f53c3546095691c6d668cbf3efde0 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 25 Aug 2015 16:28:56 -0700 Subject: [PATCH 0016/3036] Updating version to 0.0.8-SNAPSHOT after releasing 0.0.7 on maven --- java-core/google-cloud-core/README.md | 2 +- java-core/google-cloud-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 8618ab12409e..42cb3e368a61 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,7 +19,7 @@ Add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.0.6 + 0.0.7 ``` diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b577c4d29b7f..df0869d00f3d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.7-SNAPSHOT + 0.0.8-SNAPSHOT From 59b26f7b8284beec8f00b4ca79b0dfc0299c7409 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 25 Sep 2015 14:51:18 +0200 Subject: [PATCH 0017/3036] Add AuthCredentials.createForJson. More javadoc. --- .../com/google/gcloud/AuthCredentials.java | 40 +++++++++++++++++-- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 13d91836ae4c..ffc54df77a90 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -30,6 +30,7 @@ import com.google.auth.oauth2.GoogleCredentials; import java.io.IOException; +import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectStreamException; import java.io.Serializable; @@ -133,7 +134,7 @@ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundE try { computeCredential = getComputeCredential(); } catch (GeneralSecurityException e) { - throw new IOException(e); + throw new IOException(e); } } @@ -156,7 +157,7 @@ private static class ApplicationDefaultAuthCredentials extends AuthCredentials { private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); - googleCredentials = GoogleCredentials.getApplicationDefault(); + googleCredentials = GoogleCredentials.getApplicationDefault(); } @Override @@ -183,8 +184,8 @@ public static AuthCredentials createForComputeEngine() * *

Returns the Application Default Credentials which are credentials that identify and * authorize the whole application. This is the built-in service account if running on - * Google Compute Engine or the credentials file from the path in the environment variable - * GOOGLE_APPLICATION_CREDENTIALS. + * Google Compute Engine or the credentials file can be read from the path in the environment + * variable GOOGLE_APPLICATION_CREDENTIALS. *

* * @return the credentials instance. @@ -194,10 +195,41 @@ public static AuthCredentials createApplicationDefaults() throws IOException { return new ApplicationDefaultAuthCredentials(); } + /** + * Creates Service Account Credentials given an account id and a private key. + * + *

For details on how to obtain Service Account Credentials see + * Service + * Account Authentication. + *

+ * + * @param account id of the Service Account + * @param privateKey private key associated to the account + * @return the credentials instance. + */ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey privateKey) { return new ServiceAccountAuthCredentials(account, privateKey); } + /** + * Creates Service Account Credentials given a stream for credentials in JSON format. + * + *

For details on how to obtain Service Account Credentials in JSON format see + * Service + * Account Authentication. + *

+ * + * @param jsonCredentialStream stream for Service Account Credentials in JSON format + * @return the credentials instance. + * @throws IOException if the credentials cannot be created from the stream. + */ + public static ServiceAccountAuthCredentials createForJson(InputStream jsonCredentialStream) + throws IOException { + GoogleCredential tempCredentials = GoogleCredential.fromStream(jsonCredentialStream); + return new ServiceAccountAuthCredentials(tempCredentials.getServiceAccountId(), + tempCredentials.getServiceAccountPrivateKey()); + } + public static AuthCredentials noCredentials() { return ServiceAccountAuthCredentials.NO_CREDENTIALS; } From fcaa225de3a12ee43550ab1bcb7f8825d868bb8b Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 25 Sep 2015 10:43:36 -0700 Subject: [PATCH 0018/3036] Add third RetryResult (instead of using null) to denote 'proceed' --- .../com/google/gcloud/ExceptionHandler.java | 34 +++++-------- .../google/gcloud/ExceptionHandlerTest.java | 51 ++++++++++++++++++- 2 files changed, 63 insertions(+), 22 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java index 412462ae156e..9e472965cb6e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java @@ -16,7 +16,6 @@ package com.google.gcloud; -import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.VisibleForTesting; @@ -48,18 +47,7 @@ public final class ExceptionHandler implements Serializable { public interface Interceptor extends Serializable { enum RetryResult { - - RETRY(true), ABORT(false); - - private final boolean booleanValue; - - RetryResult(boolean booleanValue) { - this.booleanValue = booleanValue; - } - - boolean booleanValue() { - return booleanValue; - } + ABORT, RETRY, PROCEED; } /** @@ -68,7 +56,7 @@ boolean booleanValue() { * @param exception the exception that is being evaluated * @return {@link RetryResult} to indicate if the exception should be ignored ( * {@link RetryResult#RETRY}), propagated ({@link RetryResult#ABORT}), or evaluation - * should proceed ({@code null}). + * should proceed ({@link RetryResult#PROCEED}). */ RetryResult beforeEval(Exception exception); @@ -79,7 +67,7 @@ boolean booleanValue() { * @param retryResult the result of the evaluation so far. * @return {@link RetryResult} to indicate if the exception should be ignored ( * {@link RetryResult#RETRY}), propagated ({@link RetryResult#ABORT}), or evaluation - * should proceed ({@code null}). + * should proceed ({@link RetryResult#PROCEED}). */ RetryResult afterEval(Exception exception, RetryResult retryResult); } @@ -157,7 +145,7 @@ static final class RetryInfo implements Serializable { RetryInfo(Class exception, Interceptor.RetryResult retry) { this.exception = checkNotNull(exception); - this.retry = retry; + this.retry = checkNotNull(retry); } @Override @@ -253,18 +241,22 @@ public Set> getNonRetriableExceptions() { boolean shouldRetry(Exception ex) { for (Interceptor interceptor : interceptors) { - Interceptor.RetryResult retryResult = interceptor.beforeEval(ex); - if (retryResult != null) { - return retryResult.booleanValue(); + Interceptor.RetryResult retryResult = checkNotNull(interceptor.beforeEval(ex)); + if (retryResult != Interceptor.RetryResult.PROCEED) { + return interceptor.beforeEval(ex) == Interceptor.RetryResult.RETRY; } } RetryInfo retryInfo = findMostSpecificRetryInfo(this.retryInfo, ex.getClass()); Interceptor.RetryResult retryResult = retryInfo == null ? Interceptor.RetryResult.ABORT : retryInfo.retry; for (Interceptor interceptor : interceptors) { - retryResult = firstNonNull(interceptor.afterEval(ex, retryResult), retryResult); + Interceptor.RetryResult interceptorRetry = + checkNotNull(interceptor.afterEval(ex, retryResult)); + if (interceptorRetry != Interceptor.RetryResult.PROCEED) { + retryResult = interceptorRetry; + } } - return retryResult.booleanValue(); + return retryResult == Interceptor.RetryResult.RETRY; } /** diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java index 3844f9de36d7..999cd06fac58 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java @@ -158,11 +158,60 @@ public RetryResult beforeEval(Exception exception) { assertTrue(handler.shouldRetry(new RuntimeException())); assertTrue(handler.shouldRetry(new NullPointerException())); - before.set(null); + before.set(RetryResult.PROCEED); assertFalse(handler.shouldRetry(new IOException())); assertTrue(handler.shouldRetry(new ClosedByInterruptException())); assertTrue(handler.shouldRetry(new InterruptedException())); assertTrue(handler.shouldRetry(new RuntimeException())); assertFalse(handler.shouldRetry(new NullPointerException())); } + + @Test + public void testNullRetryResult() { + @SuppressWarnings("serial") + Interceptor interceptor1 = new Interceptor() { + + @Override + public RetryResult beforeEval(Exception exception) { + return null; + } + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return RetryResult.PROCEED; + } + + }; + + @SuppressWarnings("serial") + Interceptor interceptor2 = new Interceptor() { + + @Override + public RetryResult beforeEval(Exception exception) { + return RetryResult.PROCEED; + } + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return null; + } + + }; + + ExceptionHandler handler1 = ExceptionHandler.builder().interceptor(interceptor1).build(); + try { + handler1.shouldRetry(new Exception()); + fail("Expected null pointer exception due to null RetryResult from beforeEval"); + } catch (NullPointerException e) { + // expected + } + + ExceptionHandler handler2 = ExceptionHandler.builder().interceptor(interceptor2).build(); + try { + handler2.shouldRetry(new Exception()); + fail("Expected null pointer exception due to null RetryResult from afterEval"); + } catch (NullPointerException e) { + // expected + } + } } From 534bd1fad30566847cac76764ffc2f9b4248887e Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 25 Sep 2015 14:06:17 -0700 Subject: [PATCH 0019/3036] Rename RetryResult enum values, and update datastore and storage interceptor. --- .../com/google/gcloud/ExceptionHandler.java | 20 ++++---- .../google/gcloud/ExceptionHandlerTest.java | 46 +++++++++---------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java index 9e472965cb6e..a0fab3dca566 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java @@ -47,7 +47,7 @@ public final class ExceptionHandler implements Serializable { public interface Interceptor extends Serializable { enum RetryResult { - ABORT, RETRY, PROCEED; + NO_RETRY, RETRY, CONTINUE_EVALUATION; } /** @@ -55,8 +55,8 @@ enum RetryResult { * * @param exception the exception that is being evaluated * @return {@link RetryResult} to indicate if the exception should be ignored ( - * {@link RetryResult#RETRY}), propagated ({@link RetryResult#ABORT}), or evaluation - * should proceed ({@link RetryResult#PROCEED}). + * {@link RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation + * should proceed ({@link RetryResult#CONTINUE_EVALUATION}). */ RetryResult beforeEval(Exception exception); @@ -66,8 +66,8 @@ enum RetryResult { * @param exception the exception that is being evaluated * @param retryResult the result of the evaluation so far. * @return {@link RetryResult} to indicate if the exception should be ignored ( - * {@link RetryResult#RETRY}), propagated ({@link RetryResult#ABORT}), or evaluation - * should proceed ({@link RetryResult#PROCEED}). + * {@link RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation + * should proceed ({@link RetryResult#CONTINUE_EVALUATION}). */ RetryResult afterEval(Exception exception, RetryResult retryResult); } @@ -177,7 +177,7 @@ private ExceptionHandler(Builder builder) { addRetryInfo(new RetryInfo(exception, Interceptor.RetryResult.RETRY), retryInfo); } for (Class exception : nonRetriableExceptions) { - addRetryInfo(new RetryInfo(exception, Interceptor.RetryResult.ABORT), retryInfo); + addRetryInfo(new RetryInfo(exception, Interceptor.RetryResult.NO_RETRY), retryInfo); } } @@ -242,17 +242,17 @@ public Set> getNonRetriableExceptions() { boolean shouldRetry(Exception ex) { for (Interceptor interceptor : interceptors) { Interceptor.RetryResult retryResult = checkNotNull(interceptor.beforeEval(ex)); - if (retryResult != Interceptor.RetryResult.PROCEED) { - return interceptor.beforeEval(ex) == Interceptor.RetryResult.RETRY; + if (retryResult != Interceptor.RetryResult.CONTINUE_EVALUATION) { + return retryResult == Interceptor.RetryResult.RETRY; } } RetryInfo retryInfo = findMostSpecificRetryInfo(this.retryInfo, ex.getClass()); Interceptor.RetryResult retryResult = - retryInfo == null ? Interceptor.RetryResult.ABORT : retryInfo.retry; + retryInfo == null ? Interceptor.RetryResult.NO_RETRY : retryInfo.retry; for (Interceptor interceptor : interceptors) { Interceptor.RetryResult interceptorRetry = checkNotNull(interceptor.afterEval(ex, retryResult)); - if (interceptorRetry != Interceptor.RetryResult.PROCEED) { + if (interceptorRetry != Interceptor.RetryResult.CONTINUE_EVALUATION) { retryResult = interceptorRetry; } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java index 999cd06fac58..5ce05ad900a8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java @@ -23,6 +23,8 @@ import com.google.gcloud.ExceptionHandler.Interceptor; import com.google.gcloud.ExceptionHandler.Interceptor.RetryResult; +import org.junit.rules.ExpectedException; +import org.junit.Rule; import org.junit.Test; import java.io.FileNotFoundException; @@ -36,6 +38,9 @@ */ public class ExceptionHandlerTest { + @Rule + public ExpectedException thrown = ExpectedException.none(); + @Test public void testVerifyCaller() { class A implements Callable { @@ -128,13 +133,13 @@ public void testShouldTry() { assertFalse(handler.shouldRetry(new RuntimeException())); assertTrue(handler.shouldRetry(new NullPointerException())); - final AtomicReference before = new AtomicReference<>(RetryResult.ABORT); + final AtomicReference before = new AtomicReference<>(RetryResult.NO_RETRY); @SuppressWarnings("serial") Interceptor interceptor = new Interceptor() { @Override public RetryResult afterEval(Exception exception, RetryResult retryResult) { - return retryResult == RetryResult.ABORT ? RetryResult.RETRY : RetryResult.ABORT; + return retryResult == RetryResult.NO_RETRY ? RetryResult.RETRY : RetryResult.NO_RETRY; } @Override @@ -158,7 +163,7 @@ public RetryResult beforeEval(Exception exception) { assertTrue(handler.shouldRetry(new RuntimeException())); assertTrue(handler.shouldRetry(new NullPointerException())); - before.set(RetryResult.PROCEED); + before.set(RetryResult.CONTINUE_EVALUATION); assertFalse(handler.shouldRetry(new IOException())); assertTrue(handler.shouldRetry(new ClosedByInterruptException())); assertTrue(handler.shouldRetry(new InterruptedException())); @@ -167,9 +172,9 @@ public RetryResult beforeEval(Exception exception) { } @Test - public void testNullRetryResult() { + public void testNullRetryResultFromBeforeEval() { @SuppressWarnings("serial") - Interceptor interceptor1 = new Interceptor() { + Interceptor interceptor = new Interceptor() { @Override public RetryResult beforeEval(Exception exception) { @@ -178,17 +183,24 @@ public RetryResult beforeEval(Exception exception) { @Override public RetryResult afterEval(Exception exception, RetryResult retryResult) { - return RetryResult.PROCEED; + return RetryResult.CONTINUE_EVALUATION; } }; + ExceptionHandler handler = ExceptionHandler.builder().interceptor(interceptor).build(); + thrown.expect(NullPointerException.class); + handler.shouldRetry(new Exception()); + } + + @Test + public void testNullRetryResultFromAfterEval() { @SuppressWarnings("serial") - Interceptor interceptor2 = new Interceptor() { + Interceptor interceptor = new Interceptor() { @Override public RetryResult beforeEval(Exception exception) { - return RetryResult.PROCEED; + return RetryResult.CONTINUE_EVALUATION; } @Override @@ -198,20 +210,8 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { }; - ExceptionHandler handler1 = ExceptionHandler.builder().interceptor(interceptor1).build(); - try { - handler1.shouldRetry(new Exception()); - fail("Expected null pointer exception due to null RetryResult from beforeEval"); - } catch (NullPointerException e) { - // expected - } - - ExceptionHandler handler2 = ExceptionHandler.builder().interceptor(interceptor2).build(); - try { - handler2.shouldRetry(new Exception()); - fail("Expected null pointer exception due to null RetryResult from afterEval"); - } catch (NullPointerException e) { - // expected - } + ExceptionHandler handler = ExceptionHandler.builder().interceptor(interceptor).build(); + thrown.expect(NullPointerException.class); + handler.shouldRetry(new Exception()); } } From b85e8b03a20ccb248da1a59a9eabe2af0998b18c Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 1 Oct 2015 15:32:19 -0700 Subject: [PATCH 0020/3036] fix joda-time version --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index df0869d00f3d..7b94cead0f25 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -74,7 +74,7 @@ joda-time joda-time - RELEASE + 2.8.2 compile From e86f544271d9cc3dec5f17accc724fc65a811d0c Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 8 Oct 2015 13:22:26 -0700 Subject: [PATCH 0021/3036] update version to 0.0.9 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7b94cead0f25..7b2c3b4d0019 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.8-SNAPSHOT + 0.0.9 From 1ba09aba41da43a628e6c75986d0fc7f8e14eb43 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Thu, 8 Oct 2015 20:54:19 +0000 Subject: [PATCH 0022/3036] Updating version in README files. --- java-core/google-cloud-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 42cb3e368a61..80b4bf597549 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,7 +19,7 @@ Add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.0.7 + 0.0.9 ``` From 2a03a6ea1639dbea64b01d3ca844874e4ad80dae Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 8 Oct 2015 14:35:19 -0700 Subject: [PATCH 0023/3036] Link to specific package of javadoc from README --- java-core/google-cloud-core/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 42cb3e368a61..a928ab59773f 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -1,17 +1,15 @@ -Google Cloud Java Client -========================== +Google Cloud Java Client -- Core Services +========================================= -Java idiomatic client for [Google Cloud Platform][cloud-platform] services. +This module provides common functionality required by service-specific modules of this library. [![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java) [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master) - [Homepage] (https://googlecloudplatform.github.io/gcloud-java/) -- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs) +- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/package-summary.html) - [Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/examples/package-summary.html) -This module provides common functionality and is required by the other service specific modules. - Quickstart ---------- Add this to your pom.xml file From eaeba4959e99bd0576d48b7300d1c1ddd5a6bc92 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 8 Oct 2015 15:30:42 -0700 Subject: [PATCH 0024/3036] Updates to pom.xml by script --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7b2c3b4d0019..82d9db066216 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.9 + 0.0.10-SNAPSHOT From 5d9892a85dd166e7f16658ef47cb285498ba0a77 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 9 Oct 2015 16:26:18 +0200 Subject: [PATCH 0025/3036] Add connectTimeout and readTimeout to ServiceOptions --- .../com/google/gcloud/ServiceOptions.java | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 206e1fecaa58..af98116830b5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -22,6 +22,7 @@ import static java.nio.charset.StandardCharsets.UTF_8; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; +import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; @@ -60,6 +61,8 @@ public abstract class ServiceOptions< private final AuthCredentials authCredentials; private final RetryParams retryParams; private final ServiceRpcFactory serviceRpcFactory; + private final int connectTimeout; + private final int readTimeout; public interface HttpTransportFactory extends Serializable { HttpTransport create(); @@ -102,6 +105,8 @@ protected abstract static class Builder< private AuthCredentials authCredentials; private RetryParams retryParams; private ServiceRpcFactory serviceRpcFactory; + private int connectTimeout = -1; + private int readTimeout = -1; protected Builder() {} @@ -150,6 +155,16 @@ public B serviceRpcFactory(ServiceRpcFactory serviceRpcFa this.serviceRpcFactory = serviceRpcFactory; return self(); } + + public B connectTimeout(int connectTimeout) { + this.connectTimeout = connectTimeout; + return self(); + } + + public B readTimeout(int readTimeout) { + this.readTimeout = readTimeout; + return self(); + } } protected ServiceOptions(Builder builder) { @@ -160,6 +175,8 @@ protected ServiceOptions(Builder builder) { authCredentials = firstNonNull(builder.authCredentials, defaultAuthCredentials()); retryParams = builder.retryParams; serviceRpcFactory = builder.serviceRpcFactory; + connectTimeout = builder.connectTimeout; + readTimeout = builder.readTimeout; } private static AuthCredentials defaultAuthCredentials() { @@ -303,7 +320,20 @@ public ServiceRpcFactory serviceRpcFactory() { public HttpRequestInitializer httpRequestInitializer() { HttpTransport httpTransport = httpTransportFactory.create(); - return authCredentials().httpRequestInitializer(httpTransport, scopes()); + final HttpRequestInitializer baseRequestInitializer = + authCredentials().httpRequestInitializer(httpTransport, scopes()); + return new HttpRequestInitializer() { + @Override + public void initialize(HttpRequest httpRequest) throws IOException { + baseRequestInitializer.initialize(httpRequest); + if (connectTimeout >= 0) { + httpRequest.setConnectTimeout(connectTimeout); + } + if (readTimeout >= 0) { + httpRequest.setReadTimeout(readTimeout); + } + } + }; } protected int baseHashCode() { From e3bf4fbe4ae7155289fc8f10decac68280836fcb Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 9 Oct 2015 08:49:00 -0700 Subject: [PATCH 0026/3036] Make links to examples more specific --- java-core/google-cloud-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 0c0fe936411b..2b89014e41e4 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -1,4 +1,4 @@ -Google Cloud Java Client -- Core Services +Google Cloud Java Client -- Core ========================================= This module provides common functionality required by service-specific modules of this library. From 58ca2dba827ae8d68182a10fe27775845f5df6c4 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 9 Oct 2015 20:27:07 +0200 Subject: [PATCH 0027/3036] Add javadoc to ServiceOptions.Builder methods --- .../com/google/gcloud/ServiceOptions.java | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index af98116830b5..b19ef19b4e05 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -126,41 +126,85 @@ protected B self() { return (B) this; } + /** + * Sets project id. + * + * @return the builder. + */ public B projectId(String projectId) { this.projectId = projectId; return self(); } + /** + * Sets service host. + * + * @return the builder. + */ public B host(String host) { this.host = host; return self(); } + /** + * Sets the transport factory. + * + * @return the builder. + */ public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { this.httpTransportFactory = httpTransportFactory; return self(); } + /** + * Sets the service authentication credentials. + * + * @return the builder. + */ public B authCredentials(AuthCredentials authCredentials) { this.authCredentials = authCredentials; return self(); } + /** + * Sets configuration parameters for request retries. + * + * @return the builder. + */ public B retryParams(RetryParams retryParams) { this.retryParams = retryParams; return self(); } + /** + * Sets the factory for rpc services. + * + * @return the builder + */ public B serviceRpcFactory(ServiceRpcFactory serviceRpcFactory) { this.serviceRpcFactory = serviceRpcFactory; return self(); } + /** + * Sets the timeout in milliseconds to establish a connection. + * + * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a + * negative number for the default value (20000). + * @return the builder. + */ public B connectTimeout(int connectTimeout) { this.connectTimeout = connectTimeout; return self(); } + /** + * Sets the timeout in milliseconds to read data from an established connection. + * + * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a + * negative number for the default value (20000). + * @return the builder. + */ public B readTimeout(int readTimeout) { this.readTimeout = readTimeout; return self(); From e9d03f71cbe02b8f703be437ab789e80498c88a3 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 9 Oct 2015 20:39:09 +0200 Subject: [PATCH 0028/3036] Add timeout getters and javadocs to StorageOptions --- .../com/google/gcloud/ServiceOptions.java | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index b19ef19b4e05..c70975502a06 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -338,30 +338,52 @@ protected static String getAppEngineProjectId() { protected abstract Set scopes(); + /** + * Returns the project id. + */ public String projectId() { return projectId; } + /** + * Returns the service host. + */ public String host() { return host; } + /** + * Returns the transport factory. + */ public HttpTransportFactory httpTransportFactory() { return httpTransportFactory; } + /** + * Returns the authentication credentials. + */ public AuthCredentials authCredentials() { return authCredentials; } + /** + * Returns configuration parameters for request retries. + */ public RetryParams retryParams() { return retryParams != null ? retryParams : RetryParams.noRetries(); } + /** + * Returns the factory for rpc services. + */ public ServiceRpcFactory serviceRpcFactory() { return serviceRpcFactory; } + /** + * Returns a request initializer responsible for initializing requests according to service + * options. + */ public HttpRequestInitializer httpRequestInitializer() { HttpTransport httpTransport = httpTransportFactory.create(); final HttpRequestInitializer baseRequestInitializer = @@ -380,6 +402,22 @@ public void initialize(HttpRequest httpRequest) throws IOException { }; } + /** + * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a + * negative number is the default value (20000). + */ + public int connectTimeout() { + return connectTimeout; + } + + /** + * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite + * timeout, a negative number is the default value (20000). + */ + public int readTimeout() { + return readTimeout; + } + protected int baseHashCode() { return Objects.hash(projectId, host, httpTransportFactory, authCredentials, retryParams, serviceRpcFactory); From f09bbabe5b696db0dcf644142541f8bc9dc862a0 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 12 Oct 2015 19:05:15 +0200 Subject: [PATCH 0029/3036] More detailed javadoc for options.retryParams and RetryParams --- .../java/com/google/gcloud/RetryParams.java | 19 ++++++++++++------- .../com/google/gcloud/ServiceOptions.java | 7 ++++--- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java index 0d38aea77ab0..24983326ccae 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java @@ -66,7 +66,6 @@ public final class RetryParams implements Serializable { private static final RetryParams NO_RETRIES = builder().retryMaxAttempts(1).retryMinAttempts(1).build(); - /** * RetryParams builder. */ @@ -206,47 +205,53 @@ public static RetryParams getDefaultInstance() { return DEFAULT_INSTANCE; } + /** + * Returns an instance of {@code RetryParams} where `retryMaxAttempts` and `retryMinAttempts` are + * set to `1`. + */ public static RetryParams noRetries() { return NO_RETRIES; } /** - * Returns the retryMinAttempts. + * Returns the retryMinAttempts. Default value is {@value #DEFAULT_RETRY_MIN_ATTEMPTS}. */ public int getRetryMinAttempts() { return retryMinAttempts; } /** - * Returns the retryMaxAttempts. + * Returns the retryMaxAttempts. Default value is {@value #DEFAULT_RETRY_MAX_ATTEMPTS}. */ public int getRetryMaxAttempts() { return retryMaxAttempts; } /** - * Returns the initialRetryDelayMillis. + * Returns the initialRetryDelayMillis. Default value is + * {@value #DEFAULT_INITIAL_RETRY_DELAY_MILLIS}. */ public long getInitialRetryDelayMillis() { return initialRetryDelayMillis; } /** - * Returns the maxRetryDelayMillis. + * Returns the maxRetryDelayMillis. Default values is {@value #DEFAULT_MAX_RETRY_DELAY_MILLIS}. */ public long getMaxRetryDelayMillis() { return maxRetryDelayMillis; } /** - * Returns the maxRetryDelayBackoffFactor. + * Returns the maxRetryDelayBackoffFactor. Default values is + * {@value #DEFAULT_RETRY_DELAY_BACKOFF_FACTOR}. */ public double getRetryDelayBackoffFactor() { return retryDelayBackoffFactor; } /** - * Returns the totalRetryPeriodMillis. + * Returns the totalRetryPeriodMillis. Default value is {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. */ public long getTotalRetryPeriodMillis() { return totalRetryPeriodMillis; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index c70975502a06..b80378ccd72c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -16,7 +16,6 @@ package com.google.gcloud; - import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.common.base.Preconditions.checkNotNull; import static java.nio.charset.StandardCharsets.UTF_8; @@ -167,7 +166,8 @@ public B authCredentials(AuthCredentials authCredentials) { } /** - * Sets configuration parameters for request retries. + * Sets configuration parameters for request retries. If no configuration is set + * {@link RetryParams#noRetries()} is used. * * @return the builder. */ @@ -367,7 +367,8 @@ public AuthCredentials authCredentials() { } /** - * Returns configuration parameters for request retries. + * Returns configuration parameters for request retries. By default requests are not retried: + * {@link RetryParams#noRetries()} is used. */ public RetryParams retryParams() { return retryParams != null ? retryParams : RetryParams.noRetries(); From 129b1060458fad514233415a6f30c0b596b2236a Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 12 Oct 2015 10:14:30 -0700 Subject: [PATCH 0030/3036] Standardize readme files --- java-core/google-cloud-core/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 2b89014e41e4..e8b0191e7e3d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -5,10 +5,10 @@ This module provides common functionality required by service-specific modules o [![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java) [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master) +[![Maven](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg)](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg) - [Homepage] (https://googlecloudplatform.github.io/gcloud-java/) - [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/package-summary.html) -- [Examples] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/examples/package-summary.html) Quickstart ---------- @@ -21,6 +21,11 @@ Add this to your pom.xml file ``` +Java Versions +------------- + +Java 7 or above is required for using this client. + Contributing ------------ @@ -28,11 +33,6 @@ Contributions to this library are always welcome and highly encouraged. See [CONTRIBUTING] for more information on how to get started. -Java Versions -------------- - -Java 7 or above is required for using this client. - Versioning ---------- From f194effd52b2614764e996fc3a39d3e21adc6ab6 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 13 Oct 2015 12:44:05 +0200 Subject: [PATCH 0031/3036] Rename TimeSource to Clock and move it to ServiceOptions --- .../com/google/gcloud/ServiceOptions.java | 63 ++++++++++++++++++- 1 file changed, 61 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index b80378ccd72c..ab56c78e107e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -62,6 +62,7 @@ public abstract class ServiceOptions< private final ServiceRpcFactory serviceRpcFactory; private final int connectTimeout; private final int readTimeout; + private final Clock clock; public interface HttpTransportFactory extends Serializable { HttpTransport create(); @@ -91,7 +92,40 @@ public HttpTransport create() { } } + /** + * A class providing access to the current time in milliseconds. This class is mainly used for + * testing and will be replaced by Java8's {@code java.time.Clock}. + * + * Implementations should implement {@code Serializable} wherever possible and must document + * whether or not they do support serialization. + */ + public static abstract class Clock { + + private static ServiceOptions.Clock DEFAULT_TIME_SOURCE = new DefaultClock(); + + /** + * Returns current time in milliseconds according to this clock. + */ + public abstract long millis(); + + /** + * Returns the default clock. Default clock uses {@link System#currentTimeMillis()} to get time + * in milliseconds. + */ + public static ServiceOptions.Clock defaultClock() { + return DEFAULT_TIME_SOURCE; + } + + private static class DefaultClock extends ServiceOptions.Clock implements Serializable { + private static final long serialVersionUID = -5077300394286703864L; + + @Override + public long millis() { + return System.currentTimeMillis(); + } + } + } protected abstract static class Builder< ServiceRpcT, @@ -106,6 +140,7 @@ protected abstract static class Builder< private ServiceRpcFactory serviceRpcFactory; private int connectTimeout = -1; private int readTimeout = -1; + private Clock clock; protected Builder() {} @@ -125,6 +160,18 @@ protected B self() { return (B) this; } + /** + * Sets the service's clock. The clock is mainly used for testing purpose. {@link Clock} will be + * replaced by Java8's {@code java.time.Clock}. + * + * @param clock the clock to set + * @return the builder. + */ + public B clock(Clock clock) { + this.clock = clock; + return self(); + } + /** * Sets project id. * @@ -221,6 +268,7 @@ protected ServiceOptions(Builder builder) { serviceRpcFactory = builder.serviceRpcFactory; connectTimeout = builder.connectTimeout; readTimeout = builder.readTimeout; + clock = firstNonNull(builder.clock, Clock.defaultClock()); } private static AuthCredentials defaultAuthCredentials() { @@ -419,9 +467,17 @@ public int readTimeout() { return readTimeout; } + /** + * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to + * get current time. + */ + public Clock clock() { + return clock; + } + protected int baseHashCode() { return Objects.hash(projectId, host, httpTransportFactory, authCredentials, retryParams, - serviceRpcFactory); + serviceRpcFactory, connectTimeout, readTimeout, clock); } protected boolean baseEquals(ServiceOptions other) { @@ -430,7 +486,10 @@ protected boolean baseEquals(ServiceOptions other) { && Objects.equals(httpTransportFactory, other.httpTransportFactory) && Objects.equals(authCredentials, other.authCredentials) && Objects.equals(retryParams, other.retryParams) - && Objects.equals(serviceRpcFactory, other.serviceRpcFactory); + && Objects.equals(serviceRpcFactory, other.serviceRpcFactory) + && Objects.equals(connectTimeout, other.connectTimeout) + && Objects.equals(readTimeout, other.readTimeout) + && Objects.equals(clock, clock); } public abstract Builder toBuilder(); From 35f6578523b547b46a4a646892cb861c51d23b8e Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 13 Oct 2015 18:18:47 +0200 Subject: [PATCH 0032/3036] Add readResolve to StorageOptions.DefaultClock --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index ab56c78e107e..b1510ae6a9fd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -34,6 +34,7 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; +import java.io.ObjectStreamException; import java.io.Serializable; import java.lang.reflect.Method; import java.net.HttpURLConnection; @@ -124,6 +125,10 @@ private static class DefaultClock extends ServiceOptions.Clock implements Serial public long millis() { return System.currentTimeMillis(); } + + private Object readResolve() throws ObjectStreamException { + return DEFAULT_TIME_SOURCE; + } } } From 4a7b625805df0e2fc2b03100c6fb79a09c1c2aec Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 15 Oct 2015 13:38:29 -0700 Subject: [PATCH 0033/3036] update verison to 0.0.10 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 82d9db066216..42d8798f7d5c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.10-SNAPSHOT + 0.0.10 From 262f92336895379f243d0fba6963a1a652843b7c Mon Sep 17 00:00:00 2001 From: travis-ci Date: Thu, 15 Oct 2015 20:52:37 +0000 Subject: [PATCH 0034/3036] Updating version in README files. --- java-core/google-cloud-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e8b0191e7e3d..2a3be300f4ac 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -17,7 +17,7 @@ Add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.0.9 + 0.0.10 ``` From f24b77a6e0d874a989acfbf48ff83db8d0d5eca7 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 15 Oct 2015 15:06:11 -0700 Subject: [PATCH 0035/3036] update version to 0.0.11-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 42d8798f7d5c..2275c7f0765b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.10 + 0.0.11-SNAPSHOT From 049c8e3e6165592bb02d3706520b095bed03adc0 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 16 Oct 2015 15:11:20 +0200 Subject: [PATCH 0036/3036] Move State interface out of channels, move to core module and make it generic --- .../com/google/gcloud/RestorableState.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java new file mode 100644 index 000000000000..9cd3ee5c3c4c --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java @@ -0,0 +1,32 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +/** + * A common interface for restorable states. Implementations of {@code RestorableState} are capable + * of saving the state of an object to restore it for later use. + * + * Implementations of this class must implement {@link java.io.Serializable} to ensure that the + * state of a the object can be correctly serialized. + */ +public interface RestorableState { + + /** + * Returns an object whose internal state reflects the one saved in the invocation object. + */ + T restore(); +} From 68a42c0bf6c9417a146ddd699b3b2595b8384220 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 16 Oct 2015 14:47:39 -0700 Subject: [PATCH 0037/3036] Don't allow user to set project id or namespace to null --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 206e1fecaa58..066116e59c2f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -122,7 +122,8 @@ protected B self() { } public B projectId(String projectId) { - this.projectId = projectId; + this.projectId = + checkNotNull(projectId, "Project ID cannot be set to null. Leave unset for default."); return self(); } From b9e3fce8d66ecd920ac4d2337152040f0923863f Mon Sep 17 00:00:00 2001 From: aozarov Date: Mon, 26 Oct 2015 10:41:38 -0700 Subject: [PATCH 0038/3036] Remove Serializable from AuthCredentials, ServiceFactory and ServiceRpcFactory and set factories on ServiceOptions --- .../com/google/gcloud/AuthCredentials.java | 172 ++++++++++++++---- .../java/com/google/gcloud/BaseService.java | 2 +- .../java/com/google/gcloud/Restorable.java | 15 ++ .../com/google/gcloud/RestorableState.java | 2 +- .../main/java/com/google/gcloud/Service.java | 2 +- .../com/google/gcloud/ServiceFactory.java | 28 +++ .../com/google/gcloud/ServiceOptions.java | 152 +++++++++++----- .../google/gcloud/spi/ServiceRpcFactory.java | 9 +- 8 files changed, 284 insertions(+), 98 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index ffc54df77a90..73c66279ea53 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -31,8 +31,6 @@ import java.io.IOException; import java.io.InputStream; -import java.io.ObjectInputStream; -import java.io.ObjectStreamException; import java.io.Serializable; import java.security.GeneralSecurityException; import java.security.PrivateKey; @@ -42,15 +40,34 @@ /** * Credentials for accessing Google Cloud services. */ -public abstract class AuthCredentials implements Serializable { - - private static final long serialVersionUID = 236297804453464604L; +public abstract class AuthCredentials implements Restorable { private static class AppEngineAuthCredentials extends AuthCredentials { - private static final long serialVersionUID = 7931300552744202954L; - private static final AuthCredentials INSTANCE = new AppEngineAuthCredentials(); + private static final AppEngineAuthCredentialsState STATE = + new AppEngineAuthCredentialsState(); + + private static class AppEngineAuthCredentialsState + implements RestorableState, Serializable { + + private static final long serialVersionUID = 3558563960848658928L; + + @Override + public AuthCredentials restore() { + return INSTANCE; + } + + @Override + public int hashCode() { + return getClass().getName().hashCode(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof AppEngineAuthCredentialsState; + } + } @Override protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, @@ -58,19 +75,56 @@ protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, return new AppIdentityCredential(scopes); } - private Object readResolve() throws ObjectStreamException { - return INSTANCE; + @Override + public RestorableState capture() { + return STATE; } } public static class ServiceAccountAuthCredentials extends AuthCredentials { - private static final long serialVersionUID = 8007708734318445901L; private final String account; private final PrivateKey privateKey; private static final AuthCredentials NO_CREDENTIALS = new ServiceAccountAuthCredentials(); + private static class ServiceAccountAuthCredentialsState + implements RestorableState, Serializable { + + private static final long serialVersionUID = -7302180782414633639L; + + private final String account; + private final PrivateKey privateKey; + + private ServiceAccountAuthCredentialsState(String account, PrivateKey privateKey) { + this.account = account; + this.privateKey = privateKey; + } + + @Override + public AuthCredentials restore() { + if (account == null && privateKey == null) { + return NO_CREDENTIALS; + } + return new ServiceAccountAuthCredentials(account, privateKey); + } + + @Override + public int hashCode() { + return Objects.hash(account, privateKey); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof ServiceAccountAuthCredentialsState)) { + return false; + } + ServiceAccountAuthCredentialsState other = (ServiceAccountAuthCredentialsState) obj; + return Objects.equals(account, other.account) + && Objects.equals(privateKey, other.privateKey); + } + } + ServiceAccountAuthCredentials(String account, PrivateKey privateKey) { this.account = checkNotNull(account); this.privateKey = checkNotNull(privateKey); @@ -104,59 +158,94 @@ public PrivateKey privateKey() { } @Override - public int hashCode() { - return Objects.hash(account, privateKey); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof ServiceAccountAuthCredentials)) { - return false; - } - ServiceAccountAuthCredentials other = (ServiceAccountAuthCredentials) obj; - return Objects.equals(account, other.account) - && Objects.equals(privateKey, other.privateKey); + public RestorableState capture() { + return new ServiceAccountAuthCredentialsState(account, privateKey); } } private static class ComputeEngineAuthCredentials extends AuthCredentials { - private static final long serialVersionUID = -5217355402127260144L; + private ComputeCredential computeCredential; - private transient ComputeCredential computeCredential; + private static final ComputeEngineAuthCredentialsState STATE = + new ComputeEngineAuthCredentialsState(); - ComputeEngineAuthCredentials() throws IOException, GeneralSecurityException { - computeCredential = getComputeCredential(); - } + private static class ComputeEngineAuthCredentialsState + implements RestorableState, Serializable { + + private static final long serialVersionUID = -6168594072854417404L; + + @Override + public AuthCredentials restore() { + try { + return new ComputeEngineAuthCredentials(); + } catch (IOException | GeneralSecurityException e) { + throw new IllegalStateException( + "Could not restore " + ComputeEngineAuthCredentials.class.getSimpleName(), e); + } + } + + @Override + public int hashCode() { + return getClass().getName().hashCode(); + } - private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { - in.defaultReadObject(); - try { - computeCredential = getComputeCredential(); - } catch (GeneralSecurityException e) { - throw new IOException(e); + @Override + public boolean equals(Object obj) { + return obj instanceof ComputeEngineAuthCredentialsState; } } + ComputeEngineAuthCredentials() throws IOException, GeneralSecurityException { + computeCredential = getComputeCredential(); + } + @Override protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, Set scopes) { return computeCredential; } + + @Override + public RestorableState capture() { + return STATE; + } } private static class ApplicationDefaultAuthCredentials extends AuthCredentials { - private static final long serialVersionUID = -8306873864136099893L; + private GoogleCredentials googleCredentials; - private transient GoogleCredentials googleCredentials; + private static final ApplicationDefaultAuthCredentialsState STATE = + new ApplicationDefaultAuthCredentialsState(); - ApplicationDefaultAuthCredentials() throws IOException { - googleCredentials = GoogleCredentials.getApplicationDefault(); + private static class ApplicationDefaultAuthCredentialsState + implements RestorableState, Serializable { + + private static final long serialVersionUID = -8839085552021212257L; + + @Override + public AuthCredentials restore() { + try { + return new ApplicationDefaultAuthCredentials(); + } catch (IOException e) { + throw new IllegalStateException( + "Could not restore " + ApplicationDefaultAuthCredentials.class.getSimpleName(), e); + } + } + + @Override + public int hashCode() { + return getClass().getName().hashCode(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof ApplicationDefaultAuthCredentialsState; + } } - private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { - in.defaultReadObject(); + ApplicationDefaultAuthCredentials() throws IOException { googleCredentials = GoogleCredentials.getApplicationDefault(); } @@ -165,6 +254,11 @@ protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, Set scopes) { return new HttpCredentialsAdapter(googleCredentials); } + + @Override + public RestorableState capture() { + return STATE; + } } protected abstract HttpRequestInitializer httpRequestInitializer(HttpTransport transport, diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java index 982d3058295c..7600d25411fd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java @@ -16,7 +16,7 @@ package com.google.gcloud; -public abstract class BaseService> +public abstract class BaseService> implements Service { private final OptionsT options; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java new file mode 100644 index 000000000000..aba973590965 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java @@ -0,0 +1,15 @@ +package com.google.gcloud; + +/** + * Implementation of this interface can persist their state and restore from it. + */ +public interface Restorable> { + + /** + * Capture the state of this object. + * + * @return a {@link RestorableState} instance that contains the state for this object and can + * restore it afterwards. + */ + RestorableState capture(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java index 9cd3ee5c3c4c..0c60411cb285 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java @@ -23,7 +23,7 @@ * Implementations of this class must implement {@link java.io.Serializable} to ensure that the * state of a the object can be correctly serialized. */ -public interface RestorableState { +public interface RestorableState> { /** * Returns an object whose internal state reflects the one saved in the invocation object. diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java index 19759fb20e21..2748c55058b4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java @@ -16,6 +16,6 @@ package com.google.gcloud; -public interface Service> { +public interface Service> { OptionsT options(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java new file mode 100644 index 000000000000..b59fc1e9a10e --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java @@ -0,0 +1,28 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +/** + * A base interface for all service factories. + * + * Implementation must provide a public no-arg constructor. + * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + */ +public interface ServiceFactory { + + ServiceT create(ServiceOptionsT serviceOptions); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index b1510ae6a9fd..70da7831c1db 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -28,14 +28,7 @@ import com.google.common.collect.Iterables; import com.google.gcloud.spi.ServiceRpcFactory; -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.io.ObjectStreamException; -import java.io.Serializable; +import java.io.*; import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; @@ -47,8 +40,9 @@ import java.util.regex.Pattern; public abstract class ServiceOptions< + ServiceT extends Service, ServiceRpcT, - OptionsT extends ServiceOptions> + OptionsT extends ServiceOptions> implements Serializable { private static final String DEFAULT_HOST = "https://www.googleapis.com"; @@ -57,21 +51,35 @@ public abstract class ServiceOptions< private final String projectId; private final String host; - private final HttpTransportFactory httpTransportFactory; - private final AuthCredentials authCredentials; + private final String httpTransportFactoryClassName; + private final RestorableState authCredentialsState; private final RetryParams retryParams; - private final ServiceRpcFactory serviceRpcFactory; + private final String serviceRpcFactoryClassName; + private final String serviceFactoryClassName; private final int connectTimeout; private final int readTimeout; private final Clock clock; - public interface HttpTransportFactory extends Serializable { + private transient HttpTransportFactory httpTransportFactory; + private transient AuthCredentials authCredentials; + private transient ServiceRpcFactory serviceRpcFactory; + private transient ServiceFactory serviceFactory; + private transient ServiceT service; + private transient ServiceRpcT rpc; + + /** + * A base interface for all {@link HttpTransport} factories. + * + * Implementation must provide a public no-arg constructor. + * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + */ + public interface HttpTransportFactory { HttpTransport create(); } - private enum DefaultHttpTransportFactory implements HttpTransportFactory { + public static class DefaultHttpTransportFactory implements HttpTransportFactory { - INSTANCE; + private static final HttpTransportFactory INSTANCE = new DefaultHttpTransportFactory(); @Override public HttpTransport create() { @@ -133,15 +141,17 @@ private Object readResolve() throws ObjectStreamException { } protected abstract static class Builder< + ServiceT extends Service, ServiceRpcT, - OptionsT extends ServiceOptions, - B extends Builder> { + OptionsT extends ServiceOptions, + B extends Builder> { private String projectId; private String host; private HttpTransportFactory httpTransportFactory; private AuthCredentials authCredentials; private RetryParams retryParams; + private ServiceFactory serviceFactory; private ServiceRpcFactory serviceRpcFactory; private int connectTimeout = -1; private int readTimeout = -1; @@ -149,22 +159,34 @@ protected abstract static class Builder< protected Builder() {} - protected Builder(ServiceOptions options) { + protected Builder(ServiceOptions options) { projectId = options.projectId; host = options.host; httpTransportFactory = options.httpTransportFactory; authCredentials = options.authCredentials; retryParams = options.retryParams; + serviceFactory = options.serviceFactory; serviceRpcFactory = options.serviceRpcFactory; + connectTimeout = options.connectTimeout; + readTimeout = options.readTimeout; + clock = options.clock; } - protected abstract ServiceOptions build(); + protected abstract ServiceOptions build(); @SuppressWarnings("unchecked") protected B self() { return (B) this; } + /** + * Sets the service factory. + */ + public B serviceFactory(ServiceFactory serviceFactory) { + this.serviceFactory = serviceFactory; + return self(); + } + /** * Sets the service's clock. The clock is mainly used for testing purpose. {@link Clock} will be * replaced by Java8's {@code java.time.Clock}. @@ -263,14 +285,23 @@ public B readTimeout(int readTimeout) { } } - protected ServiceOptions(Builder builder) { + protected ServiceOptions(Class> serviceFactoryClass, + Class> rpcFactoryClass, + Builder builder) { projectId = checkNotNull(builder.projectId != null ? builder.projectId : defaultProject()); host = firstNonNull(builder.host, defaultHost()); - httpTransportFactory = - firstNonNull(builder.httpTransportFactory, DefaultHttpTransportFactory.INSTANCE); + httpTransportFactory = firstNonNull(builder.httpTransportFactory, + getFromServiceLoader(HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); + httpTransportFactoryClassName = httpTransportFactory.getClass().getName(); authCredentials = firstNonNull(builder.authCredentials, defaultAuthCredentials()); + authCredentialsState = authCredentials.capture(); retryParams = builder.retryParams; - serviceRpcFactory = builder.serviceRpcFactory; + serviceFactory = firstNonNull(builder.serviceFactory, + getFromServiceLoader(serviceFactoryClass, defaultServiceFactory())); + serviceFactoryClassName = serviceFactory.getClass().getName(); + serviceRpcFactory = firstNonNull(builder.serviceRpcFactory, + getFromServiceLoader(rpcFactoryClass, defaultRpcFactory())); + serviceRpcFactoryClassName = serviceRpcFactory.getClass().getName(); connectTimeout = builder.connectTimeout; readTimeout = builder.readTimeout; clock = firstNonNull(builder.clock, Clock.defaultClock()); @@ -389,10 +420,22 @@ protected static String getAppEngineProjectId() { } } - protected abstract Set scopes(); + public ServiceT service() { + if (service == null) { + service = serviceFactory.create((OptionsT) this); + } + return service; + } + + public ServiceRpcT rpc() { + if (rpc == null) { + rpc = serviceRpcFactory.create((OptionsT) this); + } + return rpc; + } /** - * Returns the project id. + * Returns the project id. */ public String projectId() { return projectId; @@ -427,13 +470,6 @@ public RetryParams retryParams() { return retryParams != null ? retryParams : RetryParams.noRetries(); } - /** - * Returns the factory for rpc services. - */ - public ServiceRpcFactory serviceRpcFactory() { - return serviceRpcFactory; - } - /** * Returns a request initializer responsible for initializing requests according to service * options. @@ -474,40 +510,56 @@ public int readTimeout() { /** * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to - * get current time. + * get current time. */ public Clock clock() { return clock; } protected int baseHashCode() { - return Objects.hash(projectId, host, httpTransportFactory, authCredentials, retryParams, - serviceRpcFactory, connectTimeout, readTimeout, clock); + return Objects.hash(projectId, host, httpTransportFactoryClassName, authCredentialsState, + retryParams, serviceFactoryClassName, serviceRpcFactoryClassName, connectTimeout, + readTimeout, clock); } - protected boolean baseEquals(ServiceOptions other) { + protected boolean baseEquals(ServiceOptions other) { return Objects.equals(projectId, other.projectId) && Objects.equals(host, other.host) - && Objects.equals(httpTransportFactory, other.httpTransportFactory) - && Objects.equals(authCredentials, other.authCredentials) + && Objects.equals(httpTransportFactoryClassName, other.httpTransportFactoryClassName) + && Objects.equals(authCredentialsState, other.authCredentialsState) && Objects.equals(retryParams, other.retryParams) - && Objects.equals(serviceRpcFactory, other.serviceRpcFactory) + && Objects.equals(serviceFactoryClassName, other.serviceFactoryClassName) + && Objects.equals(serviceRpcFactoryClassName, other.serviceRpcFactoryClassName) && Objects.equals(connectTimeout, other.connectTimeout) && Objects.equals(readTimeout, other.readTimeout) && Objects.equals(clock, clock); } - public abstract Builder toBuilder(); + private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { + input.defaultReadObject(); + httpTransportFactory = newInstance(httpTransportFactoryClassName); + serviceFactory = newInstance(serviceFactoryClassName); + serviceRpcFactory = newInstance(serviceRpcFactoryClassName); + authCredentials = authCredentialsState.restore(); + } - /** - * Creates a service RPC using a factory loaded by {@link ServiceLoader}. - */ - protected static - > - ServiceRpcT createRpc(OptionsT options, - Class> factoryClass) { - ServiceRpcFactory factory = - Iterables.getFirst(ServiceLoader.load(factoryClass), null); - return factory == null ? null : factory.create(options); + private static T newInstance(String className) throws IOException, ClassNotFoundException { + try { + return (T) Class.forName(className).newInstance(); + } catch (InstantiationException | IllegalAccessException e) { + throw new IOException(e); + } + } + + protected abstract > T defaultServiceFactory(); + + protected abstract > T defaultRpcFactory(); + + protected abstract Set scopes(); + + public abstract > B toBuilder(); + + private static T getFromServiceLoader(Class clazz, T defaultInstance) { + return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java index 89e08cda9eda..d20b690167a1 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java @@ -18,16 +18,13 @@ import com.google.gcloud.ServiceOptions; -import java.io.Serializable; - /** * A base interface for all service RPC factories. + * + * Implementation must provide a public no-arg constructor. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ -public interface ServiceRpcFactory< - ServiceRpcT, - OptionsT extends ServiceOptions> - extends Serializable { +public interface ServiceRpcFactory { ServiceRpcT create(OptionsT options); } From 8e33ad5466a46c2e2581624271f51d44838dc827 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 27 Oct 2015 11:18:15 +0100 Subject: [PATCH 0039/3036] Override artifact id for Dependency Information report --- java-core/google-cloud-core/pom.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2275c7f0765b..1062f4d3110c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -90,4 +90,25 @@ test + + + + org.apache.maven.plugins + maven-site-plugin + 3.4 + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.8 + + gcloud-java-core + + + + + + + From 55b3958bcce8282a82dfd35081457704bf3b1c45 Mon Sep 17 00:00:00 2001 From: aozarov Date: Tue, 27 Oct 2015 12:15:39 -0700 Subject: [PATCH 0040/3036] use static constant for default factories, add example to Restorable and use mock instead of niceMock --- .../java/com/google/gcloud/Restorable.java | 17 ++++++- .../com/google/gcloud/ServiceOptions.java | 44 +++++++++++-------- 2 files changed, 41 insertions(+), 20 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java index aba973590965..83ef39a4dd73 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java @@ -2,11 +2,26 @@ /** * Implementation of this interface can persist their state and restore from it. + * + *

+ * A typical capture usage: + *

  {@code
+ * X restorableObj; // X instanceof Restorable
+ * RestorableState state = restorableObj.capture();
+ * .. persist state
+ * }
+ * + * A typical restore usage: + *
  {@code
+ * RestorableState state = ... // read from persistence
+ * X restorableObj = state.restore();
+ * ...
+ * }
*/ public interface Restorable> { /** - * Capture the state of this object. + * Captures the state of this object. * * @return a {@link RestorableState} instance that contains the state for this object and can * restore it afterwards. diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 70da7831c1db..4a68aa7894f7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -1,17 +1,15 @@ /* * Copyright 2015 Google Inc. All Rights Reserved. * - * 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 + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * 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.gcloud; @@ -28,7 +26,15 @@ import com.google.common.collect.Iterables; import com.google.gcloud.spi.ServiceRpcFactory; -import java.io.*; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.ObjectInputStream; +import java.io.ObjectStreamException; +import java.io.Serializable; import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; @@ -70,8 +76,8 @@ public abstract class ServiceOptions< /** * A base interface for all {@link HttpTransport} factories. * - * Implementation must provide a public no-arg constructor. - * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + * Implementation must provide a public no-arg constructor. Loading of a factory implementation is + * done via {@link java.util.ServiceLoader}. */ public interface HttpTransportFactory { HttpTransport create(); @@ -264,7 +270,7 @@ public B serviceRpcFactory(ServiceRpcFactory serviceRpcFa * Sets the timeout in milliseconds to establish a connection. * * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a - * negative number for the default value (20000). + * negative number for the default value (20000). * @return the builder. */ public B connectTimeout(int connectTimeout) { @@ -275,8 +281,8 @@ public B connectTimeout(int connectTimeout) { /** * Sets the timeout in milliseconds to read data from an established connection. * - * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a - * negative number for the default value (20000). + * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number + * for the default value (20000). * @return the builder. */ public B readTimeout(int readTimeout) { @@ -362,10 +368,10 @@ protected static String googleCloudProjectId() { } catch (IOException ignore) { // ignore } - File configDir; + File configDir; if (System.getenv().containsKey("CLOUDSDK_CONFIG")) { configDir = new File(System.getenv("CLOUDSDK_CONFIG")); - } else if (isWindows() && System.getenv().containsKey("APPDATA")) { + } else if (isWindows() && System.getenv().containsKey("APPDATA")) { configDir = new File(System.getenv("APPDATA"), "gcloud"); } else { configDir = new File(System.getProperty("user.home"), ".config/gcloud"); @@ -509,8 +515,8 @@ public int readTimeout() { } /** - * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to - * get current time. + * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get + * current time. */ public Clock clock() { return clock; From 0d93eecff4bc0a101b7000f30b40faec48a5b4d9 Mon Sep 17 00:00:00 2001 From: aozarov Date: Tue, 27 Oct 2015 12:24:53 -0700 Subject: [PATCH 0041/3036] add and fix copyright headers --- .../main/java/com/google/gcloud/Restorable.java | 16 ++++++++++++++++ .../java/com/google/gcloud/ServiceOptions.java | 16 +++++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java index 83ef39a4dd73..51391e33bd7d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java @@ -1,3 +1,19 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.google.gcloud; /** diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 4a68aa7894f7..f22c4d51e371 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -1,15 +1,17 @@ /* * Copyright 2015 Google Inc. All Rights Reserved. * - * 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 + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. + * 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.gcloud; From a05149ede01f4639ac91a29de71e1852a247885d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 27 Oct 2015 22:39:50 +0100 Subject: [PATCH 0042/3036] Copy report configuration to submodules poms --- java-core/google-cloud-core/pom.xml | 77 +++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1062f4d3110c..6d25aa42ce95 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -97,13 +97,90 @@ maven-site-plugin 3.4 + true + + org.apache.maven.plugins + maven-changelog-plugin + 2.3 + org.apache.maven.plugins maven-project-info-reports-plugin 2.8 + + + + index + dependency-info + dependencies + dependency-convergence + project-team + mailing-list + cim + issue-tracking + license + scm + dependency-management + distribution-management + summary + modules + + + + true + true + true + true gcloud-java-core + jar + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + + html + + javadoc + + + + + true + protected + true + ${project.build.directory}/javadoc + + + + org.apache.maven.plugins + maven-surefire-report-plugin + 2.18.1 + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.16 + + checkstyle.xml + false + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + true From 203936757f60d93720b05b22bb9cd90db6c4ae38 Mon Sep 17 00:00:00 2001 From: aozarov Date: Tue, 27 Oct 2015 17:28:50 -0700 Subject: [PATCH 0043/3036] fix checkstyle issues --- .../src/main/java/com/google/gcloud/RetryParams.java | 3 ++- .../main/java/com/google/gcloud/ServiceOptions.java | 10 +++++----- .../java/com/google/gcloud/ExceptionHandlerTest.java | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java index 24983326ccae..461dbac77ff2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java @@ -251,7 +251,8 @@ public double getRetryDelayBackoffFactor() { } /** - * Returns the totalRetryPeriodMillis. Default value is {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. + * Returns the totalRetryPeriodMillis. Default value is + * {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. */ public long getTotalRetryPeriodMillis() { return totalRetryPeriodMillis; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index f22c4d51e371..8555b8d61ed4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -48,9 +48,9 @@ import java.util.regex.Pattern; public abstract class ServiceOptions< - ServiceT extends Service, - ServiceRpcT, - OptionsT extends ServiceOptions> + ServiceT extends Service, + ServiceRpcT, + OptionsT extends ServiceOptions> implements Serializable { private static final String DEFAULT_HOST = "https://www.googleapis.com"; @@ -116,9 +116,9 @@ public HttpTransport create() { * Implementations should implement {@code Serializable} wherever possible and must document * whether or not they do support serialization. */ - public static abstract class Clock { + public abstract static class Clock { - private static ServiceOptions.Clock DEFAULT_TIME_SOURCE = new DefaultClock(); + private static final ServiceOptions.Clock DEFAULT_TIME_SOURCE = new DefaultClock(); /** * Returns current time in milliseconds according to this clock. diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java index 5ce05ad900a8..c182515dbb16 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java @@ -23,9 +23,9 @@ import com.google.gcloud.ExceptionHandler.Interceptor; import com.google.gcloud.ExceptionHandler.Interceptor.RetryResult; -import org.junit.rules.ExpectedException; import org.junit.Rule; import org.junit.Test; +import org.junit.rules.ExpectedException; import java.io.FileNotFoundException; import java.io.IOException; From 0ce6b479089a46556b3cffdda03ef2b9a39e2c66 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 28 Oct 2015 10:31:48 -0700 Subject: [PATCH 0044/3036] Remove todos from core and datastore --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 8555b8d61ed4..c58a71c8b7ef 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -411,8 +411,6 @@ private static boolean isWindows() { } protected static String getAppEngineProjectId() { - // TODO(ozarov): An alternative to reflection would be to depend on AE api jar: - // http://mvnrepository.com/artifact/com.google.appengine/appengine-api-1.0-sdk/1.2.0 try { Class factoryClass = Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); From 1da7d1ffd28570a03022c25e85162f1349dd43c6 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 28 Oct 2015 11:56:29 -0700 Subject: [PATCH 0045/3036] Condense modules' pom.xml for site generation --- java-core/google-cloud-core/pom.xml | 101 +--------------------------- 1 file changed, 3 insertions(+), 98 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6d25aa42ce95..e849594226db 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -13,6 +13,9 @@ gcloud-java-pom 0.0.11-SNAPSHOT + + gcloud-java-core + com.google.auth @@ -90,102 +93,4 @@ test - - - - org.apache.maven.plugins - maven-site-plugin - 3.4 - - true - - - org.apache.maven.plugins - maven-changelog-plugin - 2.3 - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 2.8 - - - - index - dependency-info - dependencies - dependency-convergence - project-team - mailing-list - cim - issue-tracking - license - scm - dependency-management - distribution-management - summary - modules - - - - - true - true - true - true - gcloud-java-core - jar - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.10 - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.3 - - - html - - javadoc - - - - - true - protected - true - ${project.build.directory}/javadoc - - - - org.apache.maven.plugins - maven-surefire-report-plugin - 2.18.1 - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.16 - - checkstyle.xml - false - - - - org.codehaus.mojo - cobertura-maven-plugin - 2.7 - - true - - - - - - - From 6c7cdce500539b215e369034996ffb9521c2cbbe Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 29 Oct 2015 16:19:30 +0100 Subject: [PATCH 0046/3036] Add applicationName to Options, set user agent accordingly in Storage --- .../com/google/gcloud/ServiceOptions.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index c58a71c8b7ef..1be1f16115ad 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -40,10 +40,14 @@ import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; +import java.util.Enumeration; import java.util.Locale; import java.util.Objects; import java.util.ServiceLoader; import java.util.Set; +import java.util.jar.Attributes; +import java.util.jar.JarFile; +import java.util.jar.Manifest; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -56,6 +60,11 @@ public abstract class ServiceOptions< private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final long serialVersionUID = 1203687993961393350L; private static final String PROJECT_ENV_NAME = "GCLOUD_PROJECT"; + private static final String MANIFEST_ARTIFACT_ID_KEY = "artifactId"; + private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; + private static final String ARTIFACT_ID = "gcloud-java-core"; + private static final String APPLICATION_BASE_NAME = "gcloud-java"; + private static final String APPLICATION_NAME = getApplicationName(); private final String projectId; private final String host; @@ -522,6 +531,13 @@ public Clock clock() { return clock; } + /** + * Returns the application's name as a string in the format {@code gcloud-java/[version]}. + */ + public String applicationName() { + return APPLICATION_NAME; + } + protected int baseHashCode() { return Objects.hash(projectId, host, httpTransportFactoryClassName, authCredentialsState, retryParams, serviceFactoryClassName, serviceRpcFactoryClassName, connectTimeout, @@ -568,4 +584,23 @@ private static T newInstance(String className) throws IOException, ClassNotF private static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } + + private static String getApplicationName() { + String version = null; + try { + Enumeration resources = + ServiceOptions.class.getClassLoader().getResources(JarFile.MANIFEST_NAME); + while (resources.hasMoreElements() && version == null) { + Manifest manifest = new Manifest(resources.nextElement().openStream()); + Attributes manifestAttributes = manifest.getMainAttributes(); + String artifactId = manifestAttributes.getValue(MANIFEST_ARTIFACT_ID_KEY); + if (artifactId != null && artifactId.equals(ARTIFACT_ID)) { + version = manifestAttributes.getValue(MANIFEST_VERSION_KEY); + } + } + } catch (IOException e) { + // ignore + } + return version != null ? APPLICATION_BASE_NAME + "/" + version : APPLICATION_BASE_NAME; + } } From 94b32c34cd4a053af6af6d680bcb7d4b14eb9d1d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 3 Nov 2015 18:06:36 +0100 Subject: [PATCH 0047/3036] Rename ListResult and move to core module --- .../main/java/com/google/gcloud/BasePage.java | 77 +++++++++++++++++++ .../src/main/java/com/google/gcloud/Page.java | 34 ++++++++ .../java/com/google/gcloud/BasePageTest.java | 48 ++++++++++++ 3 files changed, 159 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java new file mode 100644 index 000000000000..ce62b334a785 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java @@ -0,0 +1,77 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import java.io.Serializable; +import java.util.Collections; +import java.util.Iterator; +import java.util.Objects; + +/** + * Base implementation for Google Cloud paginated results. + */ +public class BasePage implements Page, Serializable { + + private static final long serialVersionUID = -6937287874908527950L; + + private final String cursor; + private final Iterable results; + private final NextPageFetcher pageFetcher; + + public interface NextPageFetcher extends Serializable { + Page nextPage(); + } + + public BasePage(NextPageFetcher pageFetcher, String cursor, Iterable results) { + this.pageFetcher = pageFetcher; + this.cursor = cursor; + this.results = results; + } + + @Override + public String nextPageCursor() { + return cursor; + } + + @Override + public Page nextPage() { + if (cursor == null || pageFetcher == null) { + return null; + } + return pageFetcher.nextPage(); + } + + @Override + public Iterator iterator() { + return results == null ? Collections.emptyIterator() : results.iterator(); + } + + @Override + public int hashCode() { + return Objects.hash(cursor, results); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof BasePage)) { + return false; + } + BasePage other = (BasePage) obj; + return Objects.equals(cursor, other.cursor) + && Objects.equals(results, other.results); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java new file mode 100644 index 000000000000..21d465bb79f9 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java @@ -0,0 +1,34 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +/** + * Interface for Google Cloud paginated results. + */ +public interface Page extends Iterable { + + /** + * Returns the cursor for the nextPage or {@code null} if no more results. + */ + String nextPageCursor(); + + /** + * Returns the next page of results or {@code null} if no more result. + */ + Page nextPage(); + +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java new file mode 100644 index 000000000000..888d7ace7ab0 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java @@ -0,0 +1,48 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; + +import com.google.common.collect.ImmutableList; +import com.google.gcloud.BasePage; + +import org.junit.Test; + +import java.util.Collections; + +public class BasePageTest { + + @Test + public void testPage() throws Exception { + ImmutableList values = ImmutableList.of("1", "2"); + final BasePage nextResult = + new BasePage<>(null, "c", Collections.emptyList()); + BasePage.NextPageFetcher fetcher = new BasePage.NextPageFetcher() { + + @Override + public BasePage nextPage() { + return nextResult; + } + }; + BasePage result = new BasePage<>(fetcher, "c", values); + assertEquals(nextResult, result.nextPage()); + assertEquals("c", result.nextPageCursor()); + assertEquals(values, ImmutableList.copyOf(result.iterator())); + + } +} From 2b368df4864bd0bac35f48064f12a79a97ece2d4 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 4 Nov 2015 12:04:01 +0100 Subject: [PATCH 0048/3036] Remove implements Serializable from BasePage and implements Iterable from Page - Add values() method to page, to return results - Add javadoc to BasePage to highlight that Iterable must be serializable - Delete BlobPage and BlobPageTest classes - Add BlobPageFetcher and LazyBlobIterable to Bucket class - Implement Bucket.list using BasePage, BlobPageFetcher and LazyBlobIterable - Update StorageExaple to iterate through pages --- .../main/java/com/google/gcloud/BasePage.java | 21 +++++++++++-------- .../src/main/java/com/google/gcloud/Page.java | 19 ++++++++++++++++- .../java/com/google/gcloud/BasePageTest.java | 4 +--- 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java index ce62b334a785..f041b5cf5d59 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java @@ -18,30 +18,38 @@ import java.io.Serializable; import java.util.Collections; -import java.util.Iterator; import java.util.Objects; /** * Base implementation for Google Cloud paginated results. */ -public class BasePage implements Page, Serializable { +public class BasePage implements Page, Serializable { - private static final long serialVersionUID = -6937287874908527950L; + private static final long serialVersionUID = 3914827379823557934L; private final String cursor; private final Iterable results; private final NextPageFetcher pageFetcher; - public interface NextPageFetcher extends Serializable { + public interface NextPageFetcher extends Serializable { Page nextPage(); } + /** + * Creates a {@code BasePage} object. In order for the object to be serializable the {@code + * results} parameter must be serializable. + */ public BasePage(NextPageFetcher pageFetcher, String cursor, Iterable results) { this.pageFetcher = pageFetcher; this.cursor = cursor; this.results = results; } + @Override + public Iterable values() { + return results == null ? Collections.EMPTY_LIST : results; + } + @Override public String nextPageCursor() { return cursor; @@ -55,11 +63,6 @@ public Page nextPage() { return pageFetcher.nextPage(); } - @Override - public Iterator iterator() { - return results == null ? Collections.emptyIterator() : results.iterator(); - } - @Override public int hashCode() { return Objects.hash(cursor, results); diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java index 21d465bb79f9..1b7754562716 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java @@ -18,8 +18,25 @@ /** * Interface for Google Cloud paginated results. + * + *

+ * A typical {@code Page} usage: + *

 {@code
+ * Page page = ...; // get a Page instance
+ * while (page != null) {
+ *   for (T value : page.values()) {
+ *     // do something with value
+ *   }
+ *   page = page.nextPage();
+ * }
+ * }
*/ -public interface Page extends Iterable { +public interface Page { + + /** + * Returns the values contained in this page. + */ + Iterable values(); /** * Returns the cursor for the nextPage or {@code null} if no more results. diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java index 888d7ace7ab0..06e7c6167559 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java @@ -19,7 +19,6 @@ import static org.junit.Assert.assertEquals; import com.google.common.collect.ImmutableList; -import com.google.gcloud.BasePage; import org.junit.Test; @@ -42,7 +41,6 @@ public BasePage nextPage() { BasePage result = new BasePage<>(fetcher, "c", values); assertEquals(nextResult, result.nextPage()); assertEquals("c", result.nextPageCursor()); - assertEquals(values, ImmutableList.copyOf(result.iterator())); - + assertEquals(values, ImmutableList.copyOf(result.values().iterator())); } } From f406ab30cf28c52615dd2397ac1ac06b930265dd Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 4 Nov 2015 19:36:50 +0100 Subject: [PATCH 0049/3036] Rename BasePage to PageImpl --- .../google/gcloud/{BasePage.java => PageImpl.java} | 10 +++++----- .../gcloud/{BasePageTest.java => PageImplTest.java} | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) rename java-core/google-cloud-core/src/main/java/com/google/gcloud/{BasePage.java => PageImpl.java} (87%) rename java-core/google-cloud-core/src/test/java/com/google/gcloud/{BasePageTest.java => PageImplTest.java} (79%) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java similarity index 87% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java rename to java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index f041b5cf5d59..3925079c8d4b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BasePage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -23,7 +23,7 @@ /** * Base implementation for Google Cloud paginated results. */ -public class BasePage implements Page, Serializable { +public class PageImpl implements Page, Serializable { private static final long serialVersionUID = 3914827379823557934L; @@ -36,10 +36,10 @@ public interface NextPageFetcher extends Serializable { } /** - * Creates a {@code BasePage} object. In order for the object to be serializable the {@code + * Creates a {@code PageImpl} object. In order for the object to be serializable the {@code * results} parameter must be serializable. */ - public BasePage(NextPageFetcher pageFetcher, String cursor, Iterable results) { + public PageImpl(NextPageFetcher pageFetcher, String cursor, Iterable results) { this.pageFetcher = pageFetcher; this.cursor = cursor; this.results = results; @@ -70,10 +70,10 @@ public int hashCode() { @Override public boolean equals(Object obj) { - if (!(obj instanceof BasePage)) { + if (!(obj instanceof PageImpl)) { return false; } - BasePage other = (BasePage) obj; + PageImpl other = (PageImpl) obj; return Objects.equals(cursor, other.cursor) && Objects.equals(results, other.results); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java similarity index 79% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java rename to java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java index 06e7c6167559..78aa3feaa281 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BasePageTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java @@ -24,21 +24,21 @@ import java.util.Collections; -public class BasePageTest { +public class PageImplTest { @Test public void testPage() throws Exception { ImmutableList values = ImmutableList.of("1", "2"); - final BasePage nextResult = - new BasePage<>(null, "c", Collections.emptyList()); - BasePage.NextPageFetcher fetcher = new BasePage.NextPageFetcher() { + final PageImpl nextResult = + new PageImpl<>(null, "c", Collections.emptyList()); + PageImpl.NextPageFetcher fetcher = new PageImpl.NextPageFetcher() { @Override - public BasePage nextPage() { + public PageImpl nextPage() { return nextResult; } }; - BasePage result = new BasePage<>(fetcher, "c", values); + PageImpl result = new PageImpl<>(fetcher, "c", values); assertEquals(nextResult, result.nextPage()); assertEquals("c", result.nextPageCursor()); assertEquals(values, ImmutableList.copyOf(result.values().iterator())); From 0544638d076f7d73af0be336b7e0d3493b0e5e5a Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 4 Nov 2015 17:04:25 -0800 Subject: [PATCH 0050/3036] Create BaseServiceException in gcloud-java-core --- .../google/gcloud/BaseServiceException.java | 51 +++++++++++++++++++ .../gcloud/BaseServiceExceptionTest.java | 45 ++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java new file mode 100644 index 000000000000..45c047d4710a --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -0,0 +1,51 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +/** + * Base service exception. + */ +public class BaseServiceException extends RuntimeException { + + private static final long serialVersionUID = 5028833760039966178L; + + private final int code; + private final boolean retryable; + + public BaseServiceException(int code, String message, boolean retryable) { + super(message); + this.code = code; + this.retryable = retryable; + } + + public BaseServiceException(int code, String message, boolean retryable, Exception cause) { + super(message, cause); + this.code = code; + this.retryable = retryable; + } + + /** + * Returns the code associated with this exception. + */ + public int code() { + return code; + } + + public boolean retryable() { + return retryable; + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java new file mode 100644 index 000000000000..f30fd3abfb79 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java @@ -0,0 +1,45 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; + +import org.junit.Test; + +/** + * Tests for {@link BaseServiceException}. + */ +public class BaseServiceExceptionTest { + + private final int code = 1; + private final String message = "some message"; + private final boolean retryable = true; + + @Test + public void testBaseServiceException() { + BaseServiceException serviceException = new BaseServiceException(code, message, retryable); + assertEquals(serviceException.code(), code); + assertEquals(serviceException.getMessage(), message); + assertEquals(serviceException.getCause(), null); + + Exception cause = new RuntimeException(); + serviceException = new BaseServiceException(code, message, retryable, cause); + assertEquals(serviceException.code(), code); + assertEquals(serviceException.getMessage(), message); + assertEquals(serviceException.getCause(), cause); + } +} From d46bc8905e3b4a2981391f95ad653fc45d4778a8 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 4 Nov 2015 19:06:58 -0800 Subject: [PATCH 0051/3036] Rename enum, fix docs, and make accessors package private --- .../main/java/com/google/gcloud/BaseServiceException.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index 45c047d4710a..cd0933426756 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -17,7 +17,7 @@ package com.google.gcloud; /** - * Base service exception. + * Base class for all service exceptions. */ public class BaseServiceException extends RuntimeException { @@ -45,6 +45,9 @@ public int code() { return code; } + /** + * Returns {@code true} when it is safe to retry the operation that caused this exception. + */ public boolean retryable() { return retryable; } From 84de73081e89d768b843d2500488effb8e136023 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 5 Nov 2015 16:56:16 +0100 Subject: [PATCH 0052/3036] Add sbt/gradle dependencies to READMEs, change update_docs_version.sh --- java-core/google-cloud-core/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 2a3be300f4ac..032127540d19 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -12,7 +12,7 @@ This module provides common functionality required by service-specific modules o Quickstart ---------- -Add this to your pom.xml file +If you are using Maven, add this to your pom.xml file ```xml com.google.gcloud @@ -20,6 +20,14 @@ Add this to your pom.xml file 0.0.10 ``` +If you are using Gradle, add this to your dependencies +```Groovy +compile 'com.google.gcloud:gcloud-java-core:jar:0.0.10' +``` +If you are using SBT, add this to your dependencies +```Scala +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.10" +``` Java Versions ------------- From 200d465d06ddcb1f437b2cb1d6f14e3084718325 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 5 Nov 2015 16:19:53 -0800 Subject: [PATCH 0053/3036] update location where we look for config file when using gcloud SDK to get project ID --- .../java/com/google/gcloud/ServiceOptions.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 1be1f16115ad..898897833287 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -30,6 +30,7 @@ import java.io.BufferedReader; import java.io.File; +import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; @@ -387,8 +388,18 @@ protected static String googleCloudProjectId() { } else { configDir = new File(System.getProperty("user.home"), ".config/gcloud"); } - try (BufferedReader reader = - new BufferedReader(new FileReader(new File(configDir, "properties")))) { + FileReader fileReader; + try { + fileReader = new FileReader(new File(configDir, "configurations/config_default")); + } catch (FileNotFoundException newConfigFileNotFoundEx) { + try { + fileReader = new FileReader(new File(configDir, "properties")); + } catch (FileNotFoundException oldConfigFileNotFoundEx) { + // return null if we can't find config file + return null; + } + } + try (BufferedReader reader = new BufferedReader(fileReader)) { String line; String section = null; Pattern projectPattern = Pattern.compile("^project\\s*=\\s*(.*)$"); From b69421b728b3f84953df7f5ab0b1eca5d5ecb8f1 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 6 Nov 2015 11:31:14 +0100 Subject: [PATCH 0054/3036] Add iterateAll method to Page, update example and snippet --- .../src/main/java/com/google/gcloud/Page.java | 22 ++++++++++-- .../main/java/com/google/gcloud/PageImpl.java | 35 +++++++++++++++++++ .../java/com/google/gcloud/PageImplTest.java | 31 ++++++++++++---- 3 files changed, 78 insertions(+), 10 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java index 1b7754562716..2819b56a17a0 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java @@ -16,11 +16,22 @@ package com.google.gcloud; +import java.util.Iterator; + /** * Interface for Google Cloud paginated results. * *

- * A typical {@code Page} usage: + * Use {@code Page} to iterate through all values (also in next pages): + *

 {@code
+ * Page page = ...; // get a Page instance
+ * Iterator iterator = page.iterateAll();
+ * while (iterator.hasNext()) {
+ *   T value = iterator.next();
+ *   // do something with value
+ * }}
+ *

+ * Or handle pagination explicitly: *

 {@code
  * Page page = ...; // get a Page instance
  * while (page != null) {
@@ -28,8 +39,7 @@
  *     // do something with value
  *   }
  *   page = page.nextPage();
- * }
- * }
+ * }} */ public interface Page { @@ -38,6 +48,12 @@ public interface Page { */ Iterable values(); + /** + * Returns an iterator for all values, possibly also in the next pages. Once current page's values + * are traversed the iterator fetches next page, if any. + */ + Iterator iterateAll(); + /** * Returns the cursor for the nextPage or {@code null} if no more results. */ diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index 3925079c8d4b..5f70b22ec577 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -16,8 +16,11 @@ package com.google.gcloud; +import com.google.common.collect.AbstractIterator; + import java.io.Serializable; import java.util.Collections; +import java.util.Iterator; import java.util.Objects; /** @@ -35,6 +38,33 @@ public interface NextPageFetcher extends Serializable { Page nextPage(); } + static class PageIterator extends AbstractIterator { + + private Iterator currentPageIterator; + private Page currentPage; + + PageIterator(Page currentPage) { + this.currentPageIterator = currentPage.values().iterator(); + this.currentPage = currentPage; + } + + @Override + protected T computeNext() { + if (currentPageIterator.hasNext()) { + return currentPageIterator.next(); + } + Page nextPage = currentPage.nextPage(); + if (nextPage != null) { + currentPage = nextPage; + currentPageIterator = currentPage.values().iterator(); + if (currentPageIterator.hasNext()) { + return currentPageIterator.next(); + } + } + return endOfData(); + } + } + /** * Creates a {@code PageImpl} object. In order for the object to be serializable the {@code * results} parameter must be serializable. @@ -50,6 +80,11 @@ public Iterable values() { return results == null ? Collections.EMPTY_LIST : results; } + @Override + public Iterator iterateAll() { + return new PageIterator(this); + } + @Override public String nextPageCursor() { return cursor; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java index 78aa3feaa281..fb289186de8d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java @@ -26,21 +26,38 @@ public class PageImplTest { + private static final ImmutableList VALUES = ImmutableList.of("1", "2"); + private static final ImmutableList NEXT_VALUES = ImmutableList.of("3", "4"); + private static final ImmutableList ALL_VALUES = ImmutableList.builder() + .addAll(VALUES) + .addAll(NEXT_VALUES) + .build(); + @Test - public void testPage() throws Exception { - ImmutableList values = ImmutableList.of("1", "2"); - final PageImpl nextResult = - new PageImpl<>(null, "c", Collections.emptyList()); + public void testPage() { + final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); PageImpl.NextPageFetcher fetcher = new PageImpl.NextPageFetcher() { - @Override public PageImpl nextPage() { return nextResult; } }; - PageImpl result = new PageImpl<>(fetcher, "c", values); + PageImpl result = new PageImpl<>(fetcher, "c", VALUES); assertEquals(nextResult, result.nextPage()); assertEquals("c", result.nextPageCursor()); - assertEquals(values, ImmutableList.copyOf(result.values().iterator())); + assertEquals(VALUES, result.values()); + } + + @Test + public void testIterateAll() { + final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); + PageImpl.NextPageFetcher fetcher = new PageImpl.NextPageFetcher() { + @Override + public PageImpl nextPage() { + return nextResult; + } + }; + PageImpl result = new PageImpl<>(fetcher, "c", VALUES); + assertEquals(ALL_VALUES, ImmutableList.copyOf(result.iterateAll())); } } From 681cf3050853ffe0939529b425224b6f5667be6f Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 6 Nov 2015 17:41:50 -0800 Subject: [PATCH 0055/3036] update auth dependency --- java-core/google-cloud-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e849594226db..f12267db49e4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -20,12 +20,12 @@ com.google.auth google-auth-library-credentials - 0.1.0 + 0.3.0 com.google.auth google-auth-library-oauth2-http - 0.1.0 + 0.3.0 com.google.http-client From 21d2970d736ffc5c803231ff6ea37c9c7504e234 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 6 Nov 2015 18:10:50 -0800 Subject: [PATCH 0056/3036] Auth cleanup --- .../com/google/gcloud/AuthCredentials.java | 113 +----------------- .../com/google/gcloud/ServiceOptions.java | 35 +++--- 2 files changed, 17 insertions(+), 131 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 73c66279ea53..990d30eca618 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -19,12 +19,8 @@ import static com.google.common.base.Preconditions.checkNotNull; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; -import com.google.api.client.googleapis.compute.ComputeCredential; -import com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential; -import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; import com.google.api.client.json.jackson.JacksonFactory; import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.oauth2.GoogleCredentials; @@ -32,7 +28,6 @@ import java.io.IOException; import java.io.InputStream; import java.io.Serializable; -import java.security.GeneralSecurityException; import java.security.PrivateKey; import java.util.Objects; import java.util.Set; @@ -42,45 +37,6 @@ */ public abstract class AuthCredentials implements Restorable { - private static class AppEngineAuthCredentials extends AuthCredentials { - - private static final AuthCredentials INSTANCE = new AppEngineAuthCredentials(); - private static final AppEngineAuthCredentialsState STATE = - new AppEngineAuthCredentialsState(); - - private static class AppEngineAuthCredentialsState - implements RestorableState, Serializable { - - private static final long serialVersionUID = 3558563960848658928L; - - @Override - public AuthCredentials restore() { - return INSTANCE; - } - - @Override - public int hashCode() { - return getClass().getName().hashCode(); - } - - @Override - public boolean equals(Object obj) { - return obj instanceof AppEngineAuthCredentialsState; - } - } - - @Override - protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, - Set scopes) { - return new AppIdentityCredential(scopes); - } - - @Override - public RestorableState capture() { - return STATE; - } - } - public static class ServiceAccountAuthCredentials extends AuthCredentials { private final String account; @@ -163,55 +119,6 @@ public RestorableState capture() { } } - private static class ComputeEngineAuthCredentials extends AuthCredentials { - - private ComputeCredential computeCredential; - - private static final ComputeEngineAuthCredentialsState STATE = - new ComputeEngineAuthCredentialsState(); - - private static class ComputeEngineAuthCredentialsState - implements RestorableState, Serializable { - - private static final long serialVersionUID = -6168594072854417404L; - - @Override - public AuthCredentials restore() { - try { - return new ComputeEngineAuthCredentials(); - } catch (IOException | GeneralSecurityException e) { - throw new IllegalStateException( - "Could not restore " + ComputeEngineAuthCredentials.class.getSimpleName(), e); - } - } - - @Override - public int hashCode() { - return getClass().getName().hashCode(); - } - - @Override - public boolean equals(Object obj) { - return obj instanceof ComputeEngineAuthCredentialsState; - } - } - - ComputeEngineAuthCredentials() throws IOException, GeneralSecurityException { - computeCredential = getComputeCredential(); - } - - @Override - protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, - Set scopes) { - return computeCredential; - } - - @Override - public RestorableState capture() { - return STATE; - } - } - private static class ApplicationDefaultAuthCredentials extends AuthCredentials { private GoogleCredentials googleCredentials; @@ -264,21 +171,12 @@ public RestorableState capture() { protected abstract HttpRequestInitializer httpRequestInitializer(HttpTransport transport, Set scopes); - public static AuthCredentials createForAppEngine() { - return AppEngineAuthCredentials.INSTANCE; - } - - public static AuthCredentials createForComputeEngine() - throws IOException, GeneralSecurityException { - return new ComputeEngineAuthCredentials(); - } - /** * Returns the Application Default Credentials. * *

Returns the Application Default Credentials which are credentials that identify and * authorize the whole application. This is the built-in service account if running on - * Google Compute Engine or the credentials file can be read from the path in the environment + * Google App/Compute Engine or the credentials file can be read from the path in the environment * variable GOOGLE_APPLICATION_CREDENTIALS. *

* @@ -327,13 +225,4 @@ public static ServiceAccountAuthCredentials createForJson(InputStream jsonCreden public static AuthCredentials noCredentials() { return ServiceAccountAuthCredentials.NO_CREDENTIALS; } - - static ComputeCredential getComputeCredential() throws IOException, GeneralSecurityException { - NetHttpTransport transport = GoogleNetHttpTransport.newTrustedTransport(); - // Try to connect using Google Compute Engine service account credentials. - ComputeCredential credential = new ComputeCredential(transport, new JacksonFactory()); - // Force token refresh to detect if we are running on Google Compute Engine. - credential.refreshToken(); - return credential; - } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 898897833287..876317162add 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -21,10 +21,13 @@ import static java.nio.charset.StandardCharsets.UTF_8; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; +import com.google.api.client.googleapis.compute.ComputeCredential; +import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.api.client.json.jackson.JacksonFactory; import com.google.common.collect.Iterables; import com.google.gcloud.spi.ServiceRpcFactory; @@ -41,6 +44,7 @@ import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; +import java.security.GeneralSecurityException; import java.util.Enumeration; import java.util.Locale; import java.util.Objects; @@ -111,12 +115,22 @@ public HttpTransport create() { } // Consider Compute try { - return AuthCredentials.getComputeCredential().getTransport(); + return getComputeHttpTransport(); } catch (Exception e) { // Maybe not on GCE } return new NetHttpTransport(); } + + private static HttpTransport getComputeHttpTransport() + throws IOException, GeneralSecurityException { + NetHttpTransport transport = GoogleNetHttpTransport.newTrustedTransport(); + // Try to connect using Google Compute Engine service account credentials. + ComputeCredential credential = new ComputeCredential(transport, new JacksonFactory()); + // Force token refresh to detect if we are running on Google Compute Engine. + credential.refreshToken(); + return transport; + } } /** @@ -326,28 +340,11 @@ protected ServiceOptions(Class> ser } private static AuthCredentials defaultAuthCredentials() { - // Consider App Engine. This will not be needed once issue #21 is fixed. - if (appEngineAppId() != null) { - try { - return AuthCredentials.createForAppEngine(); - } catch (Exception ignore) { - // Maybe not on App Engine - } - } - try { return AuthCredentials.createApplicationDefaults(); } catch (Exception ex) { - // fallback to old-style - } - - // Consider old-style Compute. This will not be needed once issue #21 is fixed. - try { - return AuthCredentials.createForComputeEngine(); - } catch (Exception ignore) { - // Maybe not on GCE + return AuthCredentials.noCredentials(); } - return AuthCredentials.noCredentials(); } protected static String appEngineAppId() { From 38e53c6934713438b2f6389def887301335d6c08 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sat, 7 Nov 2015 23:50:45 +0100 Subject: [PATCH 0057/3036] Add loop for empty pages in PageImpl.iterateAll --- .../main/java/com/google/gcloud/PageImpl.java | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index 5f70b22ec577..5e83b53b33a9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -50,18 +50,14 @@ static class PageIterator extends AbstractIterator { @Override protected T computeNext() { - if (currentPageIterator.hasNext()) { - return currentPageIterator.next(); - } - Page nextPage = currentPage.nextPage(); - if (nextPage != null) { - currentPage = nextPage; - currentPageIterator = currentPage.values().iterator(); - if (currentPageIterator.hasNext()) { - return currentPageIterator.next(); + while (!currentPageIterator.hasNext()) { + currentPage = currentPage.nextPage(); + if (currentPage == null) { + return endOfData(); } + currentPageIterator = currentPage.values().iterator(); } - return endOfData(); + return currentPageIterator.next(); } } From 6295cd406f893ba7603ac4890504c08bf11578ef Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 9 Nov 2015 08:19:46 -0800 Subject: [PATCH 0058/3036] Modify project id lookup order and revert style changes --- .../com/google/gcloud/ServiceOptions.java | 67 ++++++++++--------- 1 file changed, 34 insertions(+), 33 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 876317162add..298a1223acac 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -364,19 +364,6 @@ protected String defaultProject() { } protected static String googleCloudProjectId() { - try { - URL url = new URL("http://metadata/computeMetadata/v1/project/project-id"); - HttpURLConnection connection = (HttpURLConnection) url.openConnection(); - connection.setRequestProperty("X-Google-Metadata-Request", "True"); - InputStream input = connection.getInputStream(); - if (connection.getResponseCode() == 200) { - try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { - return reader.readLine(); - } - } - } catch (IOException ignore) { - // ignore - } File configDir; if (System.getenv().containsKey("CLOUDSDK_CONFIG")) { configDir = new File(System.getenv("CLOUDSDK_CONFIG")); @@ -385,38 +372,52 @@ protected static String googleCloudProjectId() { } else { configDir = new File(System.getProperty("user.home"), ".config/gcloud"); } - FileReader fileReader; + FileReader fileReader = null; try { fileReader = new FileReader(new File(configDir, "configurations/config_default")); } catch (FileNotFoundException newConfigFileNotFoundEx) { try { fileReader = new FileReader(new File(configDir, "properties")); } catch (FileNotFoundException oldConfigFileNotFoundEx) { - // return null if we can't find config file - return null; + // ignore } } - try (BufferedReader reader = new BufferedReader(fileReader)) { - String line; - String section = null; - Pattern projectPattern = Pattern.compile("^project\\s*=\\s*(.*)$"); - Pattern sectionPattern = Pattern.compile("^\\[(.*)\\]$"); - while ((line = reader.readLine()) != null) { - if (line.isEmpty() || line.startsWith(";")) { - continue; - } - line = line.trim(); - Matcher matcher = sectionPattern.matcher(line); - if (matcher.matches()) { - section = matcher.group(1); - } else if (section == null || section.equals("core")) { - matcher = projectPattern.matcher(line); + if (fileReader != null) { + try (BufferedReader reader = new BufferedReader(fileReader)) { + String line; + String section = null; + Pattern projectPattern = Pattern.compile("^project\\s*=\\s*(.*)$"); + Pattern sectionPattern = Pattern.compile("^\\[(.*)\\]$"); + while ((line = reader.readLine()) != null) { + if (line.isEmpty() || line.startsWith(";")) { + continue; + } + line = line.trim(); + Matcher matcher = sectionPattern.matcher(line); if (matcher.matches()) { - return matcher.group(1); + section = matcher.group(1); + } else if (section == null || section.equals("core")) { + matcher = projectPattern.matcher(line); + if (matcher.matches()) { + return matcher.group(1); + } } } + } catch (IOException ex) { + // ignore } - } catch (IOException ex) { + } + try { + URL url = new URL("http://metadata/computeMetadata/v1/project/project-id"); + HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + connection.setRequestProperty("X-Google-Metadata-Request", "True"); + InputStream input = connection.getInputStream(); + if (connection.getResponseCode() == 200) { + try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { + return reader.readLine(); + } + } + } catch (IOException ignore) { // ignore } // return null if can't determine From 99f41c790f7850f3ee96663089fc87d7dc492370 Mon Sep 17 00:00:00 2001 From: aozarov Date: Tue, 10 Nov 2015 09:09:24 -0800 Subject: [PATCH 0059/3036] scope appliation default credentials --- .../src/main/java/com/google/gcloud/AuthCredentials.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 73c66279ea53..800fcf340689 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -252,7 +252,7 @@ public boolean equals(Object obj) { @Override protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, Set scopes) { - return new HttpCredentialsAdapter(googleCredentials); + return new HttpCredentialsAdapter(googleCredentials.createScoped(scopes)); } @Override From 14ac148dfb0f395907545e7881507bc3aa5ac2a8 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 10 Nov 2015 09:45:33 -0800 Subject: [PATCH 0060/3036] Revert 2de9135149e57cec18b070028452db1efef03125 --- java-core/google-cloud-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f12267db49e4..e849594226db 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -20,12 +20,12 @@ com.google.auth google-auth-library-credentials - 0.3.0 + 0.1.0 com.google.auth google-auth-library-oauth2-http - 0.3.0 + 0.1.0 com.google.http-client From 18e54af6a6af50afd07281c25b1a66585a878b24 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 10 Nov 2015 12:59:34 -0800 Subject: [PATCH 0061/3036] Allow services to avoid setting project ID --- .../java/com/google/gcloud/ServiceOptions.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 898897833287..d91b3c35c8dd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -306,7 +306,10 @@ public B readTimeout(int readTimeout) { protected ServiceOptions(Class> serviceFactoryClass, Class> rpcFactoryClass, Builder builder) { - projectId = checkNotNull(builder.projectId != null ? builder.projectId : defaultProject()); + projectId = builder.projectId != null ? builder.projectId : defaultProject(); + if (projectIdRequired()) { + checkNotNull(projectId); + } host = firstNonNull(builder.host, defaultHost()); httpTransportFactory = firstNonNull(builder.httpTransportFactory, getFromServiceLoader(HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); @@ -325,6 +328,16 @@ protected ServiceOptions(Class> ser clock = firstNonNull(builder.clock, Clock.defaultClock()); } + /** + * Returns whether a service requires a project ID. This method may be overridden in + * service-specific Options objects. + * + * @return true if a project ID is required to use the service, false if not. + */ + public boolean projectIdRequired() { + return true; + } + private static AuthCredentials defaultAuthCredentials() { // Consider App Engine. This will not be needed once issue #21 is fixed. if (appEngineAppId() != null) { @@ -462,6 +475,8 @@ public ServiceRpcT rpc() { /** * Returns the project id. + * + * Return value can be null (for services that don't require a project id). */ public String projectId() { return projectId; From 42d3467ebd2c309b2f6278b76a5ff79662e06ddb Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 10 Nov 2015 13:18:01 -0800 Subject: [PATCH 0062/3036] Update version to 0.0.11 in preparation for 0.0.11 release --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e849594226db..0dd04b1e837d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.11-SNAPSHOT + 0.0.11 gcloud-java-core From b59a3693c6661ec352a11d045caf2d3f65c67d8e Mon Sep 17 00:00:00 2001 From: travis-ci Date: Tue, 10 Nov 2015 22:15:04 +0000 Subject: [PATCH 0063/3036] Updating version in README files. --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 032127540d19..f84fb33993e7 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.0.10 + 0.0.11 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:jar:0.0.10' +compile 'com.google.gcloud:gcloud-java-core:jar:0.0.11' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.10" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.11" ``` Java Versions From 2bdb8db1feef07ffe7d1492fbf1e342eabc491db Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 10 Nov 2015 14:35:11 -0800 Subject: [PATCH 0064/3036] Update version to 0.0.12-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0dd04b1e837d..e13933bd2beb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.11 + 0.0.12-SNAPSHOT gcloud-java-core From f8a1b45a0d284d594efee943b6089a214b9716ec Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 10 Nov 2015 15:02:44 -0800 Subject: [PATCH 0065/3036] Make projectIdRequired() method protected. Also supply nice error message if project could not be determined and is required --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index d91b3c35c8dd..0793470ade83 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -17,7 +17,7 @@ package com.google.gcloud; import static com.google.common.base.MoreObjects.firstNonNull; -import static com.google.common.base.Preconditions.checkNotNull; +import static com.google.common.base.Preconditions.checkArgument; import static java.nio.charset.StandardCharsets.UTF_8; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; @@ -308,7 +308,10 @@ protected ServiceOptions(Class> ser Builder builder) { projectId = builder.projectId != null ? builder.projectId : defaultProject(); if (projectIdRequired()) { - checkNotNull(projectId); + checkArgument( + projectId != null, + "A project ID is required for this service but could not be determined from the builder or " + + "the environment. Please set a project ID using the builder."); } host = firstNonNull(builder.host, defaultHost()); httpTransportFactory = firstNonNull(builder.httpTransportFactory, @@ -334,7 +337,7 @@ protected ServiceOptions(Class> ser * * @return true if a project ID is required to use the service, false if not. */ - public boolean projectIdRequired() { + protected boolean projectIdRequired() { return true; } From 3c60af751bfb699850bc43f8692132de8a69ca67 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 11 Nov 2015 21:50:51 +0100 Subject: [PATCH 0066/3036] Make RetryParams conform with our code style --- .../java/com/google/gcloud/RetryHelper.java | 14 ++++---- .../java/com/google/gcloud/RetryParams.java | 30 ++++++++-------- .../com/google/gcloud/RetryHelperTest.java | 2 +- .../com/google/gcloud/RetryParamsTest.java | 34 +++++++++---------- 4 files changed, 40 insertions(+), 40 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java index 7b47209cd3ff..90f403758e45 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java @@ -194,9 +194,9 @@ private V doRetry() throws RetryHelperException { } exception = e; } - if (attemptNumber >= params.getRetryMaxAttempts() - || attemptNumber >= params.getRetryMinAttempts() - && stopwatch.elapsed(MILLISECONDS) >= params.getTotalRetryPeriodMillis()) { + if (attemptNumber >= params.retryMaxAttempts() + || attemptNumber >= params.retryMinAttempts() + && stopwatch.elapsed(MILLISECONDS) >= params.totalRetryPeriodMillis()) { throw new RetriesExhaustedException(this + ": Too many failures, giving up", exception); } long sleepDurationMillis = getSleepDuration(params, attemptNumber); @@ -215,9 +215,9 @@ private V doRetry() throws RetryHelperException { @VisibleForTesting static long getSleepDuration(RetryParams retryParams, int attemptsSoFar) { - long initialDelay = retryParams.getInitialRetryDelayMillis(); - double backoffFactor = retryParams.getRetryDelayBackoffFactor(); - long maxDelay = retryParams.getMaxRetryDelayMillis(); + long initialDelay = retryParams.initialRetryDelayMillis(); + double backoffFactor = retryParams.retryDelayBackoffFactor(); + long maxDelay = retryParams.maxRetryDelayMillis(); long retryDelay = getExponentialValue(initialDelay, backoffFactor, maxDelay, attemptsSoFar); return (long) ((random() / 2.0 + .75) * retryDelay); } @@ -228,7 +228,7 @@ private static long getExponentialValue(long initialDelay, double backoffFactor, } public static V runWithRetries(Callable callable) throws RetryHelperException { - return runWithRetries(callable, RetryParams.getDefaultInstance(), + return runWithRetries(callable, RetryParams.defaultInstance(), ExceptionHandler.getDefaultInstance()); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java index 461dbac77ff2..ab3644c6d747 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java @@ -38,8 +38,8 @@ * {@code RetryParams}, first create a {@link RetryParams.Builder}. The builder is mutable and each * of the parameters can be set (any unset parameters will fallback to the defaults). The * {@code Builder} can be then used to create an immutable {@code RetryParams} object. For default - * {@code RetryParams} use {@link #getDefaultInstance}. Default settings are subject to change - * release to release. If you require specific settings, explicitly create an instance of + * {@code RetryParams} use {@link #defaultInstance}. Default settings are subject to change release + * to release. If you require specific settings, explicitly create an instance of * {@code RetryParams} with all the required settings. * * @see RetryHelper @@ -91,12 +91,12 @@ private Builder() { retryDelayBackoffFactor = DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; totalRetryPeriodMillis = DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; } else { - retryMinAttempts = retryParams.getRetryMinAttempts(); - retryMaxAttempts = retryParams.getRetryMaxAttempts(); - initialRetryDelayMillis = retryParams.getInitialRetryDelayMillis(); - maxRetryDelayMillis = retryParams.getMaxRetryDelayMillis(); - retryDelayBackoffFactor = retryParams.getRetryDelayBackoffFactor(); - totalRetryPeriodMillis = retryParams.getTotalRetryPeriodMillis(); + retryMinAttempts = retryParams.retryMinAttempts(); + retryMaxAttempts = retryParams.retryMaxAttempts(); + initialRetryDelayMillis = retryParams.initialRetryDelayMillis(); + maxRetryDelayMillis = retryParams.maxRetryDelayMillis(); + retryDelayBackoffFactor = retryParams.retryDelayBackoffFactor(); + totalRetryPeriodMillis = retryParams.totalRetryPeriodMillis(); } } @@ -201,7 +201,7 @@ private RetryParams(Builder builder) { /** * Returns an instance with the default parameters. */ - public static RetryParams getDefaultInstance() { + public static RetryParams defaultInstance() { return DEFAULT_INSTANCE; } @@ -216,14 +216,14 @@ public static RetryParams noRetries() { /** * Returns the retryMinAttempts. Default value is {@value #DEFAULT_RETRY_MIN_ATTEMPTS}. */ - public int getRetryMinAttempts() { + public int retryMinAttempts() { return retryMinAttempts; } /** * Returns the retryMaxAttempts. Default value is {@value #DEFAULT_RETRY_MAX_ATTEMPTS}. */ - public int getRetryMaxAttempts() { + public int retryMaxAttempts() { return retryMaxAttempts; } @@ -231,14 +231,14 @@ public int getRetryMaxAttempts() { * Returns the initialRetryDelayMillis. Default value is * {@value #DEFAULT_INITIAL_RETRY_DELAY_MILLIS}. */ - public long getInitialRetryDelayMillis() { + public long initialRetryDelayMillis() { return initialRetryDelayMillis; } /** * Returns the maxRetryDelayMillis. Default values is {@value #DEFAULT_MAX_RETRY_DELAY_MILLIS}. */ - public long getMaxRetryDelayMillis() { + public long maxRetryDelayMillis() { return maxRetryDelayMillis; } @@ -246,7 +246,7 @@ public long getMaxRetryDelayMillis() { * Returns the maxRetryDelayBackoffFactor. Default values is * {@value #DEFAULT_RETRY_DELAY_BACKOFF_FACTOR}. */ - public double getRetryDelayBackoffFactor() { + public double retryDelayBackoffFactor() { return retryDelayBackoffFactor; } @@ -254,7 +254,7 @@ public double getRetryDelayBackoffFactor() { * Returns the totalRetryPeriodMillis. Default value is * {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. */ - public long getTotalRetryPeriodMillis() { + public long totalRetryPeriodMillis() { return totalRetryPeriodMillis; } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java index dfd933bcae46..bf11e744dbbf 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java @@ -118,7 +118,7 @@ public void testTriesAtLeastMinTimes() { @Override public Integer call() throws IOException { timesCalled++; assertEquals(timesCalled, RetryHelper.getContext().getAttemptNumber()); - assertEquals(10, RetryHelper.getContext().getRetryParams().getRetryMaxAttempts()); + assertEquals(10, RetryHelper.getContext().getRetryParams().retryMaxAttempts()); if (timesCalled <= timesToFail) { throw new IOException(); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java index d1d5e3c076d8..eae44693929b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java @@ -41,15 +41,15 @@ public class RetryParamsTest { @Test public void testDefaults() { - RetryParams params1 = RetryParams.getDefaultInstance(); + RetryParams params1 = RetryParams.defaultInstance(); RetryParams params2 = RetryParams.builder().build(); for (RetryParams params : Arrays.asList(params1, params2)) { - assertEquals(DEFAULT_INITIAL_RETRY_DELAY_MILLIS, params.getInitialRetryDelayMillis()); - assertEquals(DEFAULT_MAX_RETRY_DELAY_MILLIS, params.getMaxRetryDelayMillis()); - assertEquals(DEFAULT_RETRY_DELAY_BACKOFF_FACTOR, params.getRetryDelayBackoffFactor(), 0); - assertEquals(DEFAULT_RETRY_MAX_ATTEMPTS, params.getRetryMaxAttempts()); - assertEquals(DEFAULT_RETRY_MIN_ATTEMPTS, params.getRetryMinAttempts()); - assertEquals(DEFAULT_TOTAL_RETRY_PERIOD_MILLIS, params.getTotalRetryPeriodMillis()); + assertEquals(DEFAULT_INITIAL_RETRY_DELAY_MILLIS, params.initialRetryDelayMillis()); + assertEquals(DEFAULT_MAX_RETRY_DELAY_MILLIS, params.maxRetryDelayMillis()); + assertEquals(DEFAULT_RETRY_DELAY_BACKOFF_FACTOR, params.retryDelayBackoffFactor(), 0); + assertEquals(DEFAULT_RETRY_MAX_ATTEMPTS, params.retryMaxAttempts()); + assertEquals(DEFAULT_RETRY_MIN_ATTEMPTS, params.retryMinAttempts()); + assertEquals(DEFAULT_TOTAL_RETRY_PERIOD_MILLIS, params.totalRetryPeriodMillis()); } } @@ -65,12 +65,12 @@ public void testSetAndCopy() { RetryParams params1 = builder.build(); RetryParams params2 = new RetryParams.Builder(params1).build(); for (RetryParams params : Arrays.asList(params1, params2)) { - assertEquals(101, params.getInitialRetryDelayMillis()); - assertEquals(102, params.getMaxRetryDelayMillis()); - assertEquals(103, params.getRetryDelayBackoffFactor(), 0); - assertEquals(107, params.getRetryMinAttempts()); - assertEquals(108, params.getRetryMaxAttempts()); - assertEquals(109, params.getTotalRetryPeriodMillis()); + assertEquals(101, params.initialRetryDelayMillis()); + assertEquals(102, params.maxRetryDelayMillis()); + assertEquals(103, params.retryDelayBackoffFactor(), 0); + assertEquals(107, params.retryMinAttempts()); + assertEquals(108, params.retryMaxAttempts()); + assertEquals(109, params.totalRetryPeriodMillis()); } } @@ -79,19 +79,19 @@ public void testBadSettings() { RetryParams.Builder builder = RetryParams.builder(); builder.initialRetryDelayMillis(-1); builder = assertFailure(builder); - builder.maxRetryDelayMillis(RetryParams.getDefaultInstance().getInitialRetryDelayMillis() - 1); + builder.maxRetryDelayMillis(RetryParams.defaultInstance().initialRetryDelayMillis() - 1); builder = assertFailure(builder); builder.retryDelayBackoffFactor(-1); builder = assertFailure(builder); builder.retryMinAttempts(-1); builder = assertFailure(builder); - builder.retryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts() - 1); + builder.retryMaxAttempts(RetryParams.defaultInstance().retryMinAttempts() - 1); builder = assertFailure(builder); builder.totalRetryPeriodMillis(-1); builder = assertFailure(builder); // verify that it is OK for min and max to be equal - builder.retryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts()); - builder.maxRetryDelayMillis(RetryParams.getDefaultInstance().getInitialRetryDelayMillis()); + builder.retryMaxAttempts(RetryParams.defaultInstance().retryMinAttempts()); + builder.maxRetryDelayMillis(RetryParams.defaultInstance().initialRetryDelayMillis()); builder.build(); } From 40339cc97136a36703f74195d240e196aed6dc38 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 11 Nov 2015 21:55:39 +0100 Subject: [PATCH 0067/3036] Make ExceptionHandler conform with our code style --- .../src/main/java/com/google/gcloud/ExceptionHandler.java | 6 +++--- .../src/main/java/com/google/gcloud/RetryHelper.java | 2 +- .../test/java/com/google/gcloud/ExceptionHandlerTest.java | 2 +- .../src/test/java/com/google/gcloud/RetryHelperTest.java | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java index a0fab3dca566..c1f068594443 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java @@ -231,11 +231,11 @@ void verifyCaller(Callable callable) { } } - public Set> getRetriableExceptions() { + public Set> retriableExceptions() { return retriableExceptions; } - public Set> getNonRetriableExceptions() { + public Set> nonRetriableExceptions() { return nonRetriableExceptions; } @@ -262,7 +262,7 @@ boolean shouldRetry(Exception ex) { /** * Returns an instance which retry any checked exception and abort on any runtime exception. */ - public static ExceptionHandler getDefaultInstance() { + public static ExceptionHandler defaultInstance() { return DEFAULT_INSTANCE; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java index 90f403758e45..9b9c1f6a3124 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java @@ -229,7 +229,7 @@ private static long getExponentialValue(long initialDelay, double backoffFactor, public static V runWithRetries(Callable callable) throws RetryHelperException { return runWithRetries(callable, RetryParams.defaultInstance(), - ExceptionHandler.getDefaultInstance()); + ExceptionHandler.defaultInstance()); } public static V runWithRetries(Callable callable, RetryParams params, diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java index c182515dbb16..cedc995ddbd0 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java @@ -82,7 +82,7 @@ public Object call() throws Error { } // using default exception handler (retry upon any non-runtime exceptions) - ExceptionHandler handler = ExceptionHandler.getDefaultInstance(); + ExceptionHandler handler = ExceptionHandler.defaultInstance(); assertValidCallable(new A(), handler); assertValidCallable(new B(), handler); assertValidCallable(new C(), handler); diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java index bf11e744dbbf..9a7cc2104f4a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java @@ -124,7 +124,7 @@ public void testTriesAtLeastMinTimes() { } return timesCalled; } - }, params, ExceptionHandler.getDefaultInstance()); + }, params, ExceptionHandler.defaultInstance()); assertEquals(timesToFail + 1, attempted); assertNull(RetryHelper.getContext()); } From e4e932c48b6f4f59117fd3f2473efbaed45dee04 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 12 Nov 2015 15:17:53 -0800 Subject: [PATCH 0068/3036] Create version 0.0.12 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e13933bd2beb..c89347130005 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.12-SNAPSHOT + 0.0.12 gcloud-java-core From 662bc87ce58e3245731c074b88807ab2ad6f8242 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Thu, 12 Nov 2015 23:43:27 +0000 Subject: [PATCH 0069/3036] Updating version in README files. --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f84fb33993e7..714c43f5c63d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.0.11 + 0.0.12 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:jar:0.0.11' +compile 'com.google.gcloud:gcloud-java-core:jar:0.0.12' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.11" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.12" ``` Java Versions From cb1fad2795905a544387b5dcb873b2daded631c6 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 12 Nov 2015 16:10:30 -0800 Subject: [PATCH 0070/3036] Update version to 0.0.13-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c89347130005..7e184db2dbfa 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.12 + 0.0.13-SNAPSHOT gcloud-java-core From 6691d2fcd2beb64051e435ac6ee79774fa02b481 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 13 Nov 2015 11:33:43 -0800 Subject: [PATCH 0071/3036] Fix code to get app engine ID --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 0793470ade83..c76b62780a0e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -450,9 +450,11 @@ protected static String getAppEngineProjectId() { try { Class factoryClass = Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); + Class serviceClass = + Class.forName("com.google.appengine.api.appidentity.AppIdentityService"); Method method = factoryClass.getMethod("getAppIdentityService"); Object appIdentityService = method.invoke(null); - method = appIdentityService.getClass().getMethod("getServiceAccountName"); + method = serviceClass.getMethod("getServiceAccountName"); String serviceAccountName = (String) method.invoke(appIdentityService); int indexOfAtSign = serviceAccountName.indexOf('@'); return serviceAccountName.substring(0, indexOfAtSign); From a93c58db9cca34ae101c860757468865ad35831e Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 17 Nov 2015 17:15:27 +0100 Subject: [PATCH 0072/3036] Add support for signUrl when default credentials are used - Add a method to convert ApplicationDefaultCredentials to ServiceAccountAuthCredentials - Add type check and conversion to Storage.signUrl --- .../main/java/com/google/gcloud/AuthCredentials.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 800fcf340689..afd785981ab9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -28,6 +28,7 @@ import com.google.api.client.json.jackson.JacksonFactory; import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.oauth2.GoogleCredentials; +import com.google.auth.oauth2.ServiceAccountCredentials; import java.io.IOException; import java.io.InputStream; @@ -212,7 +213,7 @@ public RestorableState capture() { } } - private static class ApplicationDefaultAuthCredentials extends AuthCredentials { + public static class ApplicationDefaultAuthCredentials extends AuthCredentials { private GoogleCredentials googleCredentials; @@ -255,6 +256,15 @@ protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, return new HttpCredentialsAdapter(googleCredentials.createScoped(scopes)); } + public ServiceAccountAuthCredentials toServiceAccountCredentials() { + if (googleCredentials instanceof ServiceAccountCredentials) { + ServiceAccountCredentials credentials = (ServiceAccountCredentials) googleCredentials; + return new ServiceAccountAuthCredentials(credentials.getClientEmail(), + credentials.getPrivateKey()); + } + return null; + } + @Override public RestorableState capture() { return STATE; From dbb297cb20898e06e2a351b6a3be5f21e1128bd3 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 18 Nov 2015 15:28:48 -0800 Subject: [PATCH 0073/3036] Use version auth library verison 0.3.1 to avoid NPE --- java-core/google-cloud-core/pom.xml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e849594226db..ea10f5145800 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -20,12 +20,29 @@ com.google.auth google-auth-library-credentials - 0.1.0 + 0.3.1 com.google.auth google-auth-library-oauth2-http - 0.1.0 + 0.3.1 + + + com.google.guava + guava-jdk5 + + + + + com.google.auth + google-auth-library-appengine + 0.3.1 + + + com.google.guava + guava-jdk5 + + com.google.http-client From 3d1c4dc44bde1a90608269e29db1120855aa72a8 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 20 Nov 2015 11:18:18 -0800 Subject: [PATCH 0074/3036] Add links to gcloud-common docs in READMEs --- java-core/google-cloud-core/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 714c43f5c63d..4d6760d6259a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -29,6 +29,11 @@ If you are using SBT, add this to your dependencies libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.12" ``` +Troubleshooting +--------------- + +To get help, follow the `gcloud-java` links in the `gcloud-*` [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/tree/master/troubleshooting). + Java Versions ------------- @@ -39,7 +44,9 @@ Contributing Contributions to this library are always welcome and highly encouraged. -See [CONTRIBUTING] for more information on how to get started. +See `gcloud-java`'s [CONTRIBUTING] documentation and the `gcloud-*` [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/tree/master/contributing) for more information on how to get started. + +Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. Versioning ---------- @@ -57,5 +64,6 @@ Apache 2.0 - See [LICENSE] for more information. [CONTRIBUTING]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CONTRIBUTING.md +[code-of-conduct]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CODE_OF_CONDUCT.md [LICENSE]: https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/LICENSE [cloud-platform]: https://cloud.google.com/ From 4549b3ab3a0407840f23b33b950a2dba3e5466ce Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 20 Nov 2015 17:07:29 -0800 Subject: [PATCH 0075/3036] use anchors in links --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 4d6760d6259a..96b7a4e82021 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -32,7 +32,7 @@ libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.12" Troubleshooting --------------- -To get help, follow the `gcloud-java` links in the `gcloud-*` [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/tree/master/troubleshooting). +To get help, follow the `gcloud-java` links in the `gcloud-*` [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting). Java Versions ------------- @@ -44,7 +44,7 @@ Contributing Contributions to this library are always welcome and highly encouraged. -See `gcloud-java`'s [CONTRIBUTING] documentation and the `gcloud-*` [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/tree/master/contributing) for more information on how to get started. +See `gcloud-java`'s [CONTRIBUTING] documentation and the `gcloud-*` [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. @@ -64,6 +64,6 @@ Apache 2.0 - See [LICENSE] for more information. [CONTRIBUTING]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CONTRIBUTING.md -[code-of-conduct]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CODE_OF_CONDUCT.md +[code-of-conduct]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct [LICENSE]: https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/LICENSE [cloud-platform]: https://cloud.google.com/ From 4fdd160580dd340c03eec7ea51cc246d94fe692c Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 23 Nov 2015 13:09:42 -0800 Subject: [PATCH 0076/3036] Add back AppEngineCredentials --- java-core/google-cloud-core/pom.xml | 11 ----- .../com/google/gcloud/AuthCredentials.java | 46 ++++++++++++++++++- .../com/google/gcloud/ServiceOptions.java | 9 ++++ 3 files changed, 54 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e2ac0ddd81b6..c0248004d335 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -33,17 +33,6 @@ - - com.google.auth - google-auth-library-appengine - 0.3.1 - - - com.google.guava - guava-jdk5 - - - com.google.http-client google-http-client diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 09cdcc16f7de..3303e4f8a652 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -19,6 +19,7 @@ import static com.google.common.base.Preconditions.checkNotNull; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; +import com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.json.jackson.JacksonFactory; @@ -38,6 +39,45 @@ */ public abstract class AuthCredentials implements Restorable { + private static class AppEngineAuthCredentials extends AuthCredentials { + + private static final AuthCredentials INSTANCE = new AppEngineAuthCredentials(); + private static final AppEngineAuthCredentialsState STATE = + new AppEngineAuthCredentialsState(); + + private static class AppEngineAuthCredentialsState + implements RestorableState, Serializable { + + private static final long serialVersionUID = 3558563960848658928L; + + @Override + public AuthCredentials restore() { + return INSTANCE; + } + + @Override + public int hashCode() { + return getClass().getName().hashCode(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof AppEngineAuthCredentialsState; + } + } + + @Override + protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, + Set scopes) { + return new AppIdentityCredential(scopes); + } + + @Override + public RestorableState capture() { + return STATE; + } + } + public static class ServiceAccountAuthCredentials extends AuthCredentials { private final String account; @@ -181,12 +221,16 @@ public RestorableState capture() { protected abstract HttpRequestInitializer httpRequestInitializer(HttpTransport transport, Set scopes); + public static AuthCredentials createForAppEngine() { + return AppEngineAuthCredentials.INSTANCE; + } + /** * Returns the Application Default Credentials. * *

Returns the Application Default Credentials which are credentials that identify and * authorize the whole application. This is the built-in service account if running on - * Google App/Compute Engine or the credentials file can be read from the path in the environment + * Google Compute Engine or the credentials file can be read from the path in the environment * variable GOOGLE_APPLICATION_CREDENTIALS. *

* diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index e5dba231d3ff..a5601e35a6db 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -356,6 +356,15 @@ protected boolean projectIdRequired() { } private static AuthCredentials defaultAuthCredentials() { + // Consider App Engine. + if (appEngineAppId() != null) { + try { + return AuthCredentials.createForAppEngine(); + } catch (Exception ignore) { + // Maybe not on App Engine + } + } + try { return AuthCredentials.createApplicationDefaults(); } catch (Exception ex) { From 630bf2466a1c090557ecc88898cc9ce8b281ec39 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 24 Nov 2015 13:20:16 -0800 Subject: [PATCH 0077/3036] Use NetHttpTransport when running on Compute --- .../com/google/gcloud/ServiceOptions.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index a5601e35a6db..25fda29c363d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -21,13 +21,10 @@ import static java.nio.charset.StandardCharsets.UTF_8; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; -import com.google.api.client.googleapis.compute.ComputeCredential; -import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; -import com.google.api.client.json.jackson.JacksonFactory; import com.google.common.collect.Iterables; import com.google.gcloud.spi.ServiceRpcFactory; @@ -44,7 +41,6 @@ import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; -import java.security.GeneralSecurityException; import java.util.Enumeration; import java.util.Locale; import java.util.Objects; @@ -113,24 +109,8 @@ public HttpTransport create() { // Maybe not on App Engine } } - // Consider Compute - try { - return getComputeHttpTransport(); - } catch (Exception e) { - // Maybe not on GCE - } return new NetHttpTransport(); } - - private static HttpTransport getComputeHttpTransport() - throws IOException, GeneralSecurityException { - NetHttpTransport transport = GoogleNetHttpTransport.newTrustedTransport(); - // Try to connect using Google Compute Engine service account credentials. - ComputeCredential credential = new ComputeCredential(transport, new JacksonFactory()); - // Force token refresh to detect if we are running on Google Compute Engine. - credential.refreshToken(); - return transport; - } } /** From 03c8979a4f20b27e042d759d8088a72f72cd4227 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 30 Nov 2015 20:29:57 -0800 Subject: [PATCH 0078/3036] Remove dependency on http initializer in AuthCredentials and remove dependency on com.google.api.client.googleapis.auth.oauth2.GoogleCredential --- .../com/google/gcloud/AuthCredentials.java | 114 +++++++++++++----- .../com/google/gcloud/ServiceOptions.java | 4 +- 2 files changed, 85 insertions(+), 33 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 3303e4f8a652..779a60fb8a1b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -18,21 +18,17 @@ import static com.google.common.base.Preconditions.checkNotNull; -import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; -import com.google.api.client.googleapis.extensions.appengine.auth.oauth2.AppIdentityCredential; -import com.google.api.client.http.HttpRequestInitializer; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.json.jackson.JacksonFactory; -import com.google.auth.http.HttpCredentialsAdapter; +import com.google.auth.oauth2.AccessToken; import com.google.auth.oauth2.GoogleCredentials; import com.google.auth.oauth2.ServiceAccountCredentials; import java.io.IOException; import java.io.InputStream; import java.io.Serializable; +import java.lang.reflect.Method; import java.security.PrivateKey; +import java.util.Collection; import java.util.Objects; -import java.util.Set; /** * Credentials for accessing Google Cloud services. @@ -42,8 +38,66 @@ public abstract class AuthCredentials implements Restorable { private static class AppEngineAuthCredentials extends AuthCredentials { private static final AuthCredentials INSTANCE = new AppEngineAuthCredentials(); - private static final AppEngineAuthCredentialsState STATE = - new AppEngineAuthCredentialsState(); + private static final AppEngineAuthCredentialsState STATE = new AppEngineAuthCredentialsState(); + + private static class AppEngineCredentials extends GoogleCredentials { + + private final Object appIdentityService; + private final Collection scopes; + private final boolean scopesRequired; + + AppEngineCredentials() { + try { + Class factoryClass = + Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); + Method method = factoryClass.getMethod("getAppIdentityService"); + this.appIdentityService = method.invoke(null); + this.scopes = null; + this.scopesRequired = true; + } catch (Exception e) { + throw new RuntimeException("Could not create AppEngineCredentials using reflection."); + } + } + + AppEngineCredentials(Collection scopes, Object appIdentityService) { + this.appIdentityService = appIdentityService; + this.scopes = scopes; + this.scopesRequired = (scopes == null || scopes.isEmpty()); + } + + /** + * Refresh the access token by getting it from the App Identity service + */ + @Override + public AccessToken refreshAccessToken() throws IOException { + if (createScopedRequired()) { + throw new IOException("AppEngineCredentials requires createScoped call before use."); + } + try { + Class serviceClass = + Class.forName("com.google.appengine.api.appidentity.AppIdentityService"); + Class tokenResultClass = Class.forName( + "com.google.appengine.api.appidentity.AppIdentityService$GetAccessTokenResult"); + Method getAccessTokenResult = serviceClass.getMethod("getAccessToken", Iterable.class); + Object accessTokenResult = getAccessTokenResult.invoke(appIdentityService, scopes); + Method getAccessToken = tokenResultClass.getMethod("getAccessToken"); + String accessToken = (String) getAccessToken.invoke(accessTokenResult); + return new AccessToken(accessToken, null); + } catch (Exception e) { + throw new RuntimeException("Could not get the access token using reflection."); + } + } + + @Override + public boolean createScopedRequired() { + return scopesRequired; + } + + @Override + public GoogleCredentials createScoped(Collection scopes) { + return new AppEngineCredentials(scopes, appIdentityService); + } + } private static class AppEngineAuthCredentialsState implements RestorableState, Serializable { @@ -67,9 +121,8 @@ public boolean equals(Object obj) { } @Override - protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, - Set scopes) { - return new AppIdentityCredential(scopes); + protected GoogleCredentials credentials() { + return new AppEngineCredentials(); } @Override @@ -133,17 +186,10 @@ public boolean equals(Object obj) { } @Override - protected HttpRequestInitializer httpRequestInitializer( - HttpTransport transport, Set scopes) { - GoogleCredential.Builder builder = new GoogleCredential.Builder() - .setTransport(transport) - .setJsonFactory(new JacksonFactory()); - if (privateKey != null) { - builder.setServiceAccountPrivateKey(privateKey); - builder.setServiceAccountId(account); - builder.setServiceAccountScopes(scopes); - } - return builder.build(); + protected GoogleCredentials credentials() { + return (privateKey == null) + ? new GoogleCredentials(null) + : new ServiceAccountCredentials(null, account, privateKey, null, null); } public String account() { @@ -198,9 +244,8 @@ public boolean equals(Object obj) { } @Override - protected HttpRequestInitializer httpRequestInitializer(HttpTransport transport, - Set scopes) { - return new HttpCredentialsAdapter(googleCredentials.createScoped(scopes)); + protected GoogleCredentials credentials() { + return googleCredentials; } public ServiceAccountAuthCredentials toServiceAccountCredentials() { @@ -218,8 +263,7 @@ public RestorableState capture() { } } - protected abstract HttpRequestInitializer httpRequestInitializer(HttpTransport transport, - Set scopes); + protected abstract GoogleCredentials credentials(); public static AuthCredentials createForAppEngine() { return AppEngineAuthCredentials.INSTANCE; @@ -271,9 +315,17 @@ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey */ public static ServiceAccountAuthCredentials createForJson(InputStream jsonCredentialStream) throws IOException { - GoogleCredential tempCredentials = GoogleCredential.fromStream(jsonCredentialStream); - return new ServiceAccountAuthCredentials(tempCredentials.getServiceAccountId(), - tempCredentials.getServiceAccountPrivateKey()); + GoogleCredentials tempCredentials = GoogleCredentials.fromStream(jsonCredentialStream); + if (tempCredentials instanceof ServiceAccountCredentials) { + ServiceAccountCredentials tempServiceAccountCredentials = + (ServiceAccountCredentials) tempCredentials; + return new ServiceAccountAuthCredentials( + tempServiceAccountCredentials.getClientEmail(), + tempServiceAccountCredentials.getPrivateKey()); + } else { + throw new IOException( + "The given JSON Credentials Stream is not a service account credential."); + } } public static AuthCredentials noCredentials() { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 25fda29c363d..bc0e91d0a694 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -25,6 +25,7 @@ import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.auth.http.HttpCredentialsAdapter; import com.google.common.collect.Iterables; import com.google.gcloud.spi.ServiceRpcFactory; @@ -508,9 +509,8 @@ public RetryParams retryParams() { * options. */ public HttpRequestInitializer httpRequestInitializer() { - HttpTransport httpTransport = httpTransportFactory.create(); final HttpRequestInitializer baseRequestInitializer = - authCredentials().httpRequestInitializer(httpTransport, scopes()); + new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())); return new HttpRequestInitializer() { @Override public void initialize(HttpRequest httpRequest) throws IOException { From 9a848bac8f59c3cc8b609a3fb807dfc493863b53 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 1 Dec 2015 09:40:28 -0800 Subject: [PATCH 0079/3036] Use null instead of NO_CREDENTIALS --- .../com/google/gcloud/AuthCredentials.java | 18 +----------------- .../java/com/google/gcloud/ServiceOptions.java | 18 +++++++++++------- 2 files changed, 12 insertions(+), 24 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 779a60fb8a1b..9aaee77ea243 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -136,8 +136,6 @@ public static class ServiceAccountAuthCredentials extends AuthCredentials { private final String account; private final PrivateKey privateKey; - private static final AuthCredentials NO_CREDENTIALS = new ServiceAccountAuthCredentials(); - private static class ServiceAccountAuthCredentialsState implements RestorableState, Serializable { @@ -153,9 +151,6 @@ private ServiceAccountAuthCredentialsState(String account, PrivateKey privateKey @Override public AuthCredentials restore() { - if (account == null && privateKey == null) { - return NO_CREDENTIALS; - } return new ServiceAccountAuthCredentials(account, privateKey); } @@ -180,16 +175,9 @@ public boolean equals(Object obj) { this.privateKey = checkNotNull(privateKey); } - ServiceAccountAuthCredentials() { - account = null; - privateKey = null; - } - @Override protected GoogleCredentials credentials() { - return (privateKey == null) - ? new GoogleCredentials(null) - : new ServiceAccountCredentials(null, account, privateKey, null, null); + return new ServiceAccountCredentials(null, account, privateKey, null, null); } public String account() { @@ -327,8 +315,4 @@ public static ServiceAccountAuthCredentials createForJson(InputStream jsonCreden "The given JSON Credentials Stream is not a service account credential."); } } - - public static AuthCredentials noCredentials() { - return ServiceAccountAuthCredentials.NO_CREDENTIALS; - } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index bc0e91d0a694..715b0b92ca98 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -312,8 +312,9 @@ protected ServiceOptions(Class> ser httpTransportFactory = firstNonNull(builder.httpTransportFactory, getFromServiceLoader(HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); httpTransportFactoryClassName = httpTransportFactory.getClass().getName(); - authCredentials = firstNonNull(builder.authCredentials, defaultAuthCredentials()); - authCredentialsState = authCredentials.capture(); + authCredentials = + builder.authCredentials != null ? builder.authCredentials : defaultAuthCredentials(); + authCredentialsState = authCredentials != null ? authCredentials.capture() : null; retryParams = builder.retryParams; serviceFactory = firstNonNull(builder.serviceFactory, getFromServiceLoader(serviceFactoryClass, defaultServiceFactory())); @@ -349,7 +350,7 @@ private static AuthCredentials defaultAuthCredentials() { try { return AuthCredentials.createApplicationDefaults(); } catch (Exception ex) { - return AuthCredentials.noCredentials(); + return null; } } @@ -509,12 +510,15 @@ public RetryParams retryParams() { * options. */ public HttpRequestInitializer httpRequestInitializer() { - final HttpRequestInitializer baseRequestInitializer = - new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())); + final HttpRequestInitializer delegate = authCredentials() != null + ? new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())) + : null; return new HttpRequestInitializer() { @Override public void initialize(HttpRequest httpRequest) throws IOException { - baseRequestInitializer.initialize(httpRequest); + if (delegate != null) { + delegate.initialize(httpRequest); + } if (connectTimeout >= 0) { httpRequest.setConnectTimeout(connectTimeout); } @@ -580,7 +584,7 @@ private void readObject(ObjectInputStream input) throws IOException, ClassNotFou httpTransportFactory = newInstance(httpTransportFactoryClassName); serviceFactory = newInstance(serviceFactoryClassName); serviceRpcFactory = newInstance(serviceRpcFactoryClassName); - authCredentials = authCredentialsState.restore(); + authCredentials = authCredentialsState != null ? authCredentialsState.restore() : null; } private static T newInstance(String className) throws IOException, ClassNotFoundException { From fc61a50dbbea5b44d01d07fff68479fc8cf4bcf9 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 1 Dec 2015 14:07:31 -0800 Subject: [PATCH 0080/3036] Make AppEngineAuthCredentials Restorable --- .../com/google/gcloud/AuthCredentials.java | 49 +++++++++---------- 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 9aaee77ea243..7f5d7a8ab89b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -43,6 +43,8 @@ private static class AppEngineAuthCredentials extends AuthCredentials { private static class AppEngineCredentials extends GoogleCredentials { private final Object appIdentityService; + private final Method getAccessToken; + private final Method getAccessTokenResult; private final Collection scopes; private final boolean scopesRequired; @@ -52,6 +54,12 @@ private static class AppEngineCredentials extends GoogleCredentials { Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); Method method = factoryClass.getMethod("getAppIdentityService"); this.appIdentityService = method.invoke(null); + Class serviceClass = + Class.forName("com.google.appengine.api.appidentity.AppIdentityService"); + Class tokenResultClass = Class.forName( + "com.google.appengine.api.appidentity.AppIdentityService$GetAccessTokenResult"); + this.getAccessTokenResult = serviceClass.getMethod("getAccessToken", Iterable.class); + this.getAccessToken = tokenResultClass.getMethod("getAccessToken"); this.scopes = null; this.scopesRequired = true; } catch (Exception e) { @@ -59,10 +67,13 @@ private static class AppEngineCredentials extends GoogleCredentials { } } - AppEngineCredentials(Collection scopes, Object appIdentityService) { - this.appIdentityService = appIdentityService; - this.scopes = scopes; - this.scopesRequired = (scopes == null || scopes.isEmpty()); + AppEngineCredentials(Collection scopes, Object appIdentityService, + Method getAccessToken, Method getAccessTokenResult) { + this.appIdentityService = appIdentityService; + this.getAccessToken = getAccessToken; + this.getAccessTokenResult = getAccessTokenResult; + this.scopes = scopes; + this.scopesRequired = (scopes == null || scopes.isEmpty()); } /** @@ -74,13 +85,7 @@ public AccessToken refreshAccessToken() throws IOException { throw new IOException("AppEngineCredentials requires createScoped call before use."); } try { - Class serviceClass = - Class.forName("com.google.appengine.api.appidentity.AppIdentityService"); - Class tokenResultClass = Class.forName( - "com.google.appengine.api.appidentity.AppIdentityService$GetAccessTokenResult"); - Method getAccessTokenResult = serviceClass.getMethod("getAccessToken", Iterable.class); Object accessTokenResult = getAccessTokenResult.invoke(appIdentityService, scopes); - Method getAccessToken = tokenResultClass.getMethod("getAccessToken"); String accessToken = (String) getAccessToken.invoke(accessTokenResult); return new AccessToken(accessToken, null); } catch (Exception e) { @@ -95,7 +100,8 @@ public boolean createScopedRequired() { @Override public GoogleCredentials createScoped(Collection scopes) { - return new AppEngineCredentials(scopes, appIdentityService); + return new AppEngineCredentials( + scopes, appIdentityService, getAccessToken, getAccessTokenResult); } } @@ -121,7 +127,7 @@ public boolean equals(Object obj) { } @Override - protected GoogleCredentials credentials() { + public GoogleCredentials credentials() { return new AppEngineCredentials(); } @@ -176,7 +182,7 @@ public boolean equals(Object obj) { } @Override - protected GoogleCredentials credentials() { + public GoogleCredentials credentials() { return new ServiceAccountCredentials(null, account, privateKey, null, null); } @@ -232,26 +238,17 @@ public boolean equals(Object obj) { } @Override - protected GoogleCredentials credentials() { + public GoogleCredentials credentials() { return googleCredentials; } - public ServiceAccountAuthCredentials toServiceAccountCredentials() { - if (googleCredentials instanceof ServiceAccountCredentials) { - ServiceAccountCredentials credentials = (ServiceAccountCredentials) googleCredentials; - return new ServiceAccountAuthCredentials(credentials.getClientEmail(), - credentials.getPrivateKey()); - } - return null; - } - @Override public RestorableState capture() { return STATE; } } - protected abstract GoogleCredentials credentials(); + public abstract GoogleCredentials credentials(); public static AuthCredentials createForAppEngine() { return AppEngineAuthCredentials.INSTANCE; @@ -310,9 +307,7 @@ public static ServiceAccountAuthCredentials createForJson(InputStream jsonCreden return new ServiceAccountAuthCredentials( tempServiceAccountCredentials.getClientEmail(), tempServiceAccountCredentials.getPrivateKey()); - } else { - throw new IOException( - "The given JSON Credentials Stream is not a service account credential."); } + throw new IOException("The given JSON Credentials Stream is not a service account credential."); } } From a55b2f393053eec90077307229752152167f7305 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 1 Dec 2015 15:33:03 -0800 Subject: [PATCH 0081/3036] cleanup + cast fix --- .../com/google/gcloud/AuthCredentials.java | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 7f5d7a8ab89b..f3a0024129d7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -46,7 +46,6 @@ private static class AppEngineCredentials extends GoogleCredentials { private final Method getAccessToken; private final Method getAccessTokenResult; private final Collection scopes; - private final boolean scopesRequired; AppEngineCredentials() { try { @@ -61,19 +60,16 @@ private static class AppEngineCredentials extends GoogleCredentials { this.getAccessTokenResult = serviceClass.getMethod("getAccessToken", Iterable.class); this.getAccessToken = tokenResultClass.getMethod("getAccessToken"); this.scopes = null; - this.scopesRequired = true; } catch (Exception e) { - throw new RuntimeException("Could not create AppEngineCredentials using reflection."); + throw new RuntimeException("Could not create AppEngineCredentials.", e); } } - AppEngineCredentials(Collection scopes, Object appIdentityService, - Method getAccessToken, Method getAccessTokenResult) { - this.appIdentityService = appIdentityService; - this.getAccessToken = getAccessToken; - this.getAccessTokenResult = getAccessTokenResult; + AppEngineCredentials(Collection scopes, AppEngineCredentials unscoped) { + this.appIdentityService = unscoped.appIdentityService; + this.getAccessToken = unscoped.getAccessToken; + this.getAccessTokenResult = unscoped.getAccessTokenResult; this.scopes = scopes; - this.scopesRequired = (scopes == null || scopes.isEmpty()); } /** @@ -89,19 +85,18 @@ public AccessToken refreshAccessToken() throws IOException { String accessToken = (String) getAccessToken.invoke(accessTokenResult); return new AccessToken(accessToken, null); } catch (Exception e) { - throw new RuntimeException("Could not get the access token using reflection."); + throw new IOException("Could not get the access token.", e); } } @Override public boolean createScopedRequired() { - return scopesRequired; + return scopes == null || scopes.isEmpty(); } @Override public GoogleCredentials createScoped(Collection scopes) { - return new AppEngineCredentials( - scopes, appIdentityService, getAccessToken, getAccessTokenResult); + return new AppEngineCredentials(scopes, this); } } @@ -308,6 +303,7 @@ public static ServiceAccountAuthCredentials createForJson(InputStream jsonCreden tempServiceAccountCredentials.getClientEmail(), tempServiceAccountCredentials.getPrivateKey()); } - throw new IOException("The given JSON Credentials Stream is not a service account credential."); + throw new IOException( + "The given JSON Credentials Stream is not for a service account credential."); } } From 1a31a6bf0b7e04b93811f66f3d9361c35fae700c Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 1 Dec 2015 16:04:32 -0800 Subject: [PATCH 0082/3036] more style fixes --- .../src/main/java/com/google/gcloud/AuthCredentials.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index f3a0024129d7..dab6b928374a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -177,7 +177,7 @@ public boolean equals(Object obj) { } @Override - public GoogleCredentials credentials() { + public ServiceAccountCredentials credentials() { return new ServiceAccountCredentials(null, account, privateKey, null, null); } From 0d12e9bbf49581516c74ef87cc6cdd7c1d3d9967 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 1 Dec 2015 17:07:46 -0800 Subject: [PATCH 0083/3036] update version to 0.1.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c0248004d335..4fcb0b27659a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.0.13-SNAPSHOT + 0.1.0 gcloud-java-core From c784a01acecee1710186b2b31925cb4113c92652 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Wed, 2 Dec 2015 01:19:11 +0000 Subject: [PATCH 0084/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 96b7a4e82021..3aea0f16efc5 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.0.12 + 0.1.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:jar:0.0.12' +compile 'com.google.gcloud:gcloud-java-core:jar:0.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.0.12" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.0" ``` Troubleshooting From dc82ac2571108273996ee142559cd6af6c868d88 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 1 Dec 2015 17:25:56 -0800 Subject: [PATCH 0085/3036] Update version to snapshot --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4fcb0b27659a..83c8dbb00e71 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.1.0 + 0.1.1-SNAPSHOT gcloud-java-core From 0d4c88f0cd2563a2f65eb375ca4ea7fbd9423fae Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 9 Dec 2015 17:54:19 -0800 Subject: [PATCH 0086/3036] fix checkstyle issues and warnings --- .../src/main/java/com/google/gcloud/PageImpl.java | 1 + .../src/main/java/com/google/gcloud/ServiceFactory.java | 1 + .../src/main/java/com/google/gcloud/ServiceOptions.java | 8 ++++++-- .../java/com/google/gcloud/spi/ServiceRpcFactory.java | 1 + .../src/test/java/com/google/gcloud/PageImplTest.java | 2 -- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index 5e83b53b33a9..97c2931e0cfb 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -71,6 +71,7 @@ public PageImpl(NextPageFetcher pageFetcher, String cursor, Iterable resul this.results = results; } + @SuppressWarnings("unchecked") @Override public Iterable values() { return results == null ? Collections.EMPTY_LIST : results; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java index b59fc1e9a10e..3828bf30260b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java @@ -22,6 +22,7 @@ * Implementation must provide a public no-arg constructor. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ +@SuppressWarnings("rawtypes") public interface ServiceFactory { ServiceT create(ServiceOptionsT serviceOptions); diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 715b0b92ca98..9e5d6730f551 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -53,6 +53,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; +@SuppressWarnings("rawtypes") public abstract class ServiceOptions< ServiceT extends Service, ServiceRpcT, @@ -305,8 +306,8 @@ protected ServiceOptions(Class> ser if (projectIdRequired()) { checkArgument( projectId != null, - "A project ID is required for this service but could not be determined from the builder or " - + "the environment. Please set a project ID using the builder."); + "A project ID is required for this service but could not be determined from the builder " + + "or the environment. Please set a project ID using the builder."); } host = firstNonNull(builder.host, defaultHost()); httpTransportFactory = firstNonNull(builder.httpTransportFactory, @@ -453,6 +454,7 @@ protected static String getAppEngineProjectId() { } } + @SuppressWarnings("unchecked") public ServiceT service() { if (service == null) { service = serviceFactory.create((OptionsT) this); @@ -460,6 +462,7 @@ public ServiceT service() { return service; } + @SuppressWarnings("unchecked") public ServiceRpcT rpc() { if (rpc == null) { rpc = serviceRpcFactory.create((OptionsT) this); @@ -587,6 +590,7 @@ private void readObject(ObjectInputStream input) throws IOException, ClassNotFou authCredentials = authCredentialsState != null ? authCredentialsState.restore() : null; } + @SuppressWarnings("unchecked") private static T newInstance(String className) throws IOException, ClassNotFoundException { try { return (T) Class.forName(className).newInstance(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java index d20b690167a1..d19f6047e4b2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java @@ -24,6 +24,7 @@ * Implementation must provide a public no-arg constructor. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ +@SuppressWarnings("rawtypes") public interface ServiceRpcFactory { ServiceRpcT create(OptionsT options); diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java index fb289186de8d..4389171fb49c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java @@ -22,8 +22,6 @@ import org.junit.Test; -import java.util.Collections; - public class PageImplTest { private static final ImmutableList VALUES = ImmutableList.of("1", "2"); From 970c05bcee8590fb06663f9b886fb8cd20a689e0 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 10 Dec 2015 08:59:05 -0800 Subject: [PATCH 0087/3036] Add generic type to ServiceOption definition + minor fixes --- .../src/main/java/com/google/gcloud/PageImpl.java | 3 +-- .../main/java/com/google/gcloud/ServiceOptions.java | 12 +++--------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index 97c2931e0cfb..1c7a61ec471f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -71,10 +71,9 @@ public PageImpl(NextPageFetcher pageFetcher, String cursor, Iterable resul this.results = results; } - @SuppressWarnings("unchecked") @Override public Iterable values() { - return results == null ? Collections.EMPTY_LIST : results; + return results == null ? Collections.emptyList() : results; } @Override diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 9e5d6730f551..862d3f7b533d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -53,12 +53,8 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -@SuppressWarnings("rawtypes") -public abstract class ServiceOptions< - ServiceT extends Service, - ServiceRpcT, - OptionsT extends ServiceOptions> - implements Serializable { +public abstract class ServiceOptions, ServiceRpcT, + OptionsT extends ServiceOptions> implements Serializable { private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final long serialVersionUID = 1203687993961393350L; @@ -154,9 +150,7 @@ private Object readResolve() throws ObjectStreamException { } } - protected abstract static class Builder< - ServiceT extends Service, - ServiceRpcT, + protected abstract static class Builder, ServiceRpcT, OptionsT extends ServiceOptions, B extends Builder> { From e3fc8a3649361736ca1f5d823b8795ba30484a53 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 28 Dec 2015 13:55:32 +0100 Subject: [PATCH 0088/3036] Update version to 0.1.1 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 83c8dbb00e71..d86ccc7648cf 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.1.1-SNAPSHOT + 0.1.1 gcloud-java-core From 715758cc393bdbc0f227e2433ae2f70ccc1cc0f8 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Mon, 28 Dec 2015 13:34:33 +0000 Subject: [PATCH 0089/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 3aea0f16efc5..edad8ea2c27e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.1.0 + 0.1.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:jar:0.1.0' +compile 'com.google.gcloud:gcloud-java-core:jar:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.0" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.1" ``` Troubleshooting From 367db37bc3608df12abe5f434bd13cf994350d32 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 28 Dec 2015 16:37:48 +0100 Subject: [PATCH 0090/3036] Update version to 0.1.2-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d86ccc7648cf..ee39bcca1f72 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.1.1 + 0.1.2-SNAPSHOT gcloud-java-core From 9f73f08db4b9b60270bd7570409fcae36d23762d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 28 Dec 2015 17:15:24 +0100 Subject: [PATCH 0091/3036] Fix gradle dependency code in all gcloud-java modules --- java-core/google-cloud-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index edad8ea2c27e..89834e1c2361 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -22,7 +22,7 @@ If you are using Maven, add this to your pom.xml file ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:jar:0.1.1' +compile 'com.google.gcloud:gcloud-java-core:0.1.1' ``` If you are using SBT, add this to your dependencies ```Scala From 81f3585bf8950ef8da15d785b4f6f9d6b8511a7c Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 30 Dec 2015 08:59:29 -0800 Subject: [PATCH 0092/3036] Document generic types --- .../main/java/com/google/gcloud/BaseService.java | 5 +++++ .../src/main/java/com/google/gcloud/Page.java | 2 ++ .../src/main/java/com/google/gcloud/PageImpl.java | 7 +++++++ .../main/java/com/google/gcloud/Restorable.java | 2 ++ .../java/com/google/gcloud/RestorableState.java | 2 ++ .../src/main/java/com/google/gcloud/Service.java | 5 +++++ .../java/com/google/gcloud/ServiceFactory.java | 5 ++++- .../java/com/google/gcloud/ServiceOptions.java | 15 +++++++++++++++ 8 files changed, 42 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java index 7600d25411fd..a7edc86c0d7d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java @@ -16,6 +16,11 @@ package com.google.gcloud; +/** + * Base class for service objects. + * + * @param the {@code ServiceOptions} subclass corresponding to the service. + */ public abstract class BaseService> implements Service { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java index 2819b56a17a0..bb4d1f8b951e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java @@ -40,6 +40,8 @@ * } * page = page.nextPage(); * }} + * + * @param the value type that the page holds. */ public interface Page { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index 1c7a61ec471f..9524aaa4c69b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -25,6 +25,8 @@ /** * Base implementation for Google Cloud paginated results. + * + * @param the value type that the page holds. */ public class PageImpl implements Page, Serializable { @@ -34,6 +36,11 @@ public class PageImpl implements Page, Serializable { private final Iterable results; private final NextPageFetcher pageFetcher; + /** + * Interface for fetching the next page of results from the service. + * + * @param the value type that the page holds. + */ public interface NextPageFetcher extends Serializable { Page nextPage(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java index 51391e33bd7d..fdac020331ed 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java @@ -33,6 +33,8 @@ * X restorableObj = state.restore(); * ... * } + * + * @param the restorable object's type. */ public interface Restorable> { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java index 0c60411cb285..18e9d8bc502e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java @@ -22,6 +22,8 @@ * * Implementations of this class must implement {@link java.io.Serializable} to ensure that the * state of a the object can be correctly serialized. + * + * @param the restored object's type. */ public interface RestorableState> { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java index 2748c55058b4..b54705b9f0af 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java @@ -16,6 +16,11 @@ package com.google.gcloud; +/** + * Interface for service objects. + * + * @param the {@code ServiceOptions} subclass corresponding to the service. + */ public interface Service> { OptionsT options(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java index 3828bf30260b..6226fdb504c3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java @@ -19,8 +19,11 @@ /** * A base interface for all service factories. * - * Implementation must provide a public no-arg constructor. + *

Implementation must provide a public no-arg constructor. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + * + * @param the service subclass. + * @param the {@code ServiceOptions} subclass corresponding to the service. */ @SuppressWarnings("rawtypes") public interface ServiceFactory { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 862d3f7b533d..588c041eb602 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -53,6 +53,13 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; +/** + * Abstract class representing service options. + * + * @param the service subclass. + * @param the spi-layer class corresponding to the service. + * @param the {@code ServiceOptions} subclass corresponding to the service. + */ public abstract class ServiceOptions, ServiceRpcT, OptionsT extends ServiceOptions> implements Serializable { @@ -150,6 +157,14 @@ private Object readResolve() throws ObjectStreamException { } } + /** + * Builder for {@code ServiceOptions}. + * + * @param the service subclass. + * @param the spi-layer class corresponding to the service. + * @param the {@code ServiceOptions} subclass corresponding to the service. + * @param the {@code ServiceOptions} builder. + */ protected abstract static class Builder, ServiceRpcT, OptionsT extends ServiceOptions, B extends Builder> { From 75fd1154b9246792554d71a59609a43050107328 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 6 Jan 2016 12:11:55 -0800 Subject: [PATCH 0093/3036] Docs and code cleanup --- .../com/google/gcloud/AuthCredentials.java | 10 +++--- .../java/com/google/gcloud/BaseService.java | 2 +- .../com/google/gcloud/ExceptionHandler.java | 4 +-- .../src/main/java/com/google/gcloud/Page.java | 2 +- .../main/java/com/google/gcloud/PageImpl.java | 4 +-- .../java/com/google/gcloud/Restorable.java | 2 +- .../com/google/gcloud/RestorableState.java | 2 +- .../main/java/com/google/gcloud/Service.java | 2 +- .../com/google/gcloud/ServiceFactory.java | 4 +-- .../com/google/gcloud/ServiceOptions.java | 32 +++++++++---------- 10 files changed, 32 insertions(+), 32 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index dab6b928374a..fc5d74d0896c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -258,8 +258,8 @@ public static AuthCredentials createForAppEngine() { * variable GOOGLE_APPLICATION_CREDENTIALS. *

* - * @return the credentials instance. - * @throws IOException if the credentials cannot be created in the current environment. + * @return the credentials instance + * @throws IOException if the credentials cannot be created in the current environment */ public static AuthCredentials createApplicationDefaults() throws IOException { return new ApplicationDefaultAuthCredentials(); @@ -275,7 +275,7 @@ public static AuthCredentials createApplicationDefaults() throws IOException { * * @param account id of the Service Account * @param privateKey private key associated to the account - * @return the credentials instance. + * @return the credentials instance */ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey privateKey) { return new ServiceAccountAuthCredentials(account, privateKey); @@ -290,8 +290,8 @@ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey *

* * @param jsonCredentialStream stream for Service Account Credentials in JSON format - * @return the credentials instance. - * @throws IOException if the credentials cannot be created from the stream. + * @return the credentials instance + * @throws IOException if the credentials cannot be created from the stream */ public static ServiceAccountAuthCredentials createForJson(InputStream jsonCredentialStream) throws IOException { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java index a7edc86c0d7d..c028eaede331 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java @@ -19,7 +19,7 @@ /** * Base class for service objects. * - * @param the {@code ServiceOptions} subclass corresponding to the service. + * @param the {@code ServiceOptions} subclass corresponding to the service */ public abstract class BaseService> implements Service { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java index c1f068594443..39d4c4e75a1a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java @@ -64,7 +64,7 @@ enum RetryResult { * This method is called after the evaluation and could alter its result. * * @param exception the exception that is being evaluated - * @param retryResult the result of the evaluation so far. + * @param retryResult the result of the evaluation so far * @return {@link RetryResult} to indicate if the exception should be ignored ( * {@link RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation * should proceed ({@link RetryResult#CONTINUE_EVALUATION}). @@ -250,7 +250,7 @@ boolean shouldRetry(Exception ex) { Interceptor.RetryResult retryResult = retryInfo == null ? Interceptor.RetryResult.NO_RETRY : retryInfo.retry; for (Interceptor interceptor : interceptors) { - Interceptor.RetryResult interceptorRetry = + Interceptor.RetryResult interceptorRetry = checkNotNull(interceptor.afterEval(ex, retryResult)); if (interceptorRetry != Interceptor.RetryResult.CONTINUE_EVALUATION) { retryResult = interceptorRetry; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java index bb4d1f8b951e..53f3a3842a18 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java @@ -41,7 +41,7 @@ * page = page.nextPage(); * }} * - * @param the value type that the page holds. + * @param the value type that the page holds */ public interface Page { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index 9524aaa4c69b..9ebf7f0f24e8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -26,7 +26,7 @@ /** * Base implementation for Google Cloud paginated results. * - * @param the value type that the page holds. + * @param the value type that the page holds */ public class PageImpl implements Page, Serializable { @@ -39,7 +39,7 @@ public class PageImpl implements Page, Serializable { /** * Interface for fetching the next page of results from the service. * - * @param the value type that the page holds. + * @param the value type that the page holds */ public interface NextPageFetcher extends Serializable { Page nextPage(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java index fdac020331ed..90633c70046f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java @@ -34,7 +34,7 @@ * ... * } * - * @param the restorable object's type. + * @param the restorable object's type */ public interface Restorable> { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java index 18e9d8bc502e..d6ce736ae856 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java @@ -23,7 +23,7 @@ * Implementations of this class must implement {@link java.io.Serializable} to ensure that the * state of a the object can be correctly serialized. * - * @param the restored object's type. + * @param the restored object's type */ public interface RestorableState> { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java index b54705b9f0af..60bc26670f2e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java @@ -19,7 +19,7 @@ /** * Interface for service objects. * - * @param the {@code ServiceOptions} subclass corresponding to the service. + * @param the {@code ServiceOptions} subclass corresponding to the service */ public interface Service> { OptionsT options(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java index 6226fdb504c3..1727e9c3976f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java @@ -22,8 +22,8 @@ *

Implementation must provide a public no-arg constructor. * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. * - * @param the service subclass. - * @param the {@code ServiceOptions} subclass corresponding to the service. + * @param the service subclass + * @param the {@code ServiceOptions} subclass corresponding to the service */ @SuppressWarnings("rawtypes") public interface ServiceFactory { diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 588c041eb602..6ed1d50ba364 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -56,9 +56,9 @@ /** * Abstract class representing service options. * - * @param the service subclass. - * @param the spi-layer class corresponding to the service. - * @param the {@code ServiceOptions} subclass corresponding to the service. + * @param the service subclass + * @param the spi-layer class corresponding to the service + * @param the {@code ServiceOptions} subclass corresponding to the service */ public abstract class ServiceOptions, ServiceRpcT, OptionsT extends ServiceOptions> implements Serializable { @@ -160,10 +160,10 @@ private Object readResolve() throws ObjectStreamException { /** * Builder for {@code ServiceOptions}. * - * @param the service subclass. - * @param the spi-layer class corresponding to the service. - * @param the {@code ServiceOptions} subclass corresponding to the service. - * @param the {@code ServiceOptions} builder. + * @param the service subclass + * @param the spi-layer class corresponding to the service + * @param the {@code ServiceOptions} subclass corresponding to the service + * @param the {@code ServiceOptions} builder */ protected abstract static class Builder, ServiceRpcT, OptionsT extends ServiceOptions, @@ -215,7 +215,7 @@ public B serviceFactory(ServiceFactory serviceFactory) { * replaced by Java8's {@code java.time.Clock}. * * @param clock the clock to set - * @return the builder. + * @return the builder */ public B clock(Clock clock) { this.clock = clock; @@ -225,7 +225,7 @@ public B clock(Clock clock) { /** * Sets project id. * - * @return the builder. + * @return the builder */ public B projectId(String projectId) { this.projectId = projectId; @@ -235,7 +235,7 @@ public B projectId(String projectId) { /** * Sets service host. * - * @return the builder. + * @return the builder */ public B host(String host) { this.host = host; @@ -245,7 +245,7 @@ public B host(String host) { /** * Sets the transport factory. * - * @return the builder. + * @return the builder */ public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { this.httpTransportFactory = httpTransportFactory; @@ -255,7 +255,7 @@ public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { /** * Sets the service authentication credentials. * - * @return the builder. + * @return the builder */ public B authCredentials(AuthCredentials authCredentials) { this.authCredentials = authCredentials; @@ -266,7 +266,7 @@ public B authCredentials(AuthCredentials authCredentials) { * Sets configuration parameters for request retries. If no configuration is set * {@link RetryParams#noRetries()} is used. * - * @return the builder. + * @return the builder */ public B retryParams(RetryParams retryParams) { this.retryParams = retryParams; @@ -288,7 +288,7 @@ public B serviceRpcFactory(ServiceRpcFactory serviceRpcFa * * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a * negative number for the default value (20000). - * @return the builder. + * @return the builder */ public B connectTimeout(int connectTimeout) { this.connectTimeout = connectTimeout; @@ -300,7 +300,7 @@ public B connectTimeout(int connectTimeout) { * * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number * for the default value (20000). - * @return the builder. + * @return the builder */ public B readTimeout(int readTimeout) { this.readTimeout = readTimeout; @@ -341,7 +341,7 @@ protected ServiceOptions(Class> ser * Returns whether a service requires a project ID. This method may be overridden in * service-specific Options objects. * - * @return true if a project ID is required to use the service, false if not. + * @return true if a project ID is required to use the service, false if not */ protected boolean projectIdRequired() { return true; From 2bf2484f425e641d357f056a6dc909a3e9ec9904 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 7 Jan 2016 13:11:00 -0800 Subject: [PATCH 0094/3036] Refactor page fetchers --- .../main/java/com/google/gcloud/PageImpl.java | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java index 9524aaa4c69b..e2623fca7cd5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java @@ -17,10 +17,12 @@ package com.google.gcloud; import com.google.common.collect.AbstractIterator; +import com.google.common.collect.ImmutableMap; import java.io.Serializable; import java.util.Collections; import java.util.Iterator; +import java.util.Map; import java.util.Objects; /** @@ -85,7 +87,7 @@ public Iterable values() { @Override public Iterator iterateAll() { - return new PageIterator(this); + return new PageIterator<>(this); } @Override @@ -115,4 +117,28 @@ public boolean equals(Object obj) { return Objects.equals(cursor, other.cursor) && Objects.equals(results, other.results); } + + /** + * Utility method to construct the options map for the next page request. + * + * @param the value type that the page holds. Instances of {@code T} should be + * {@code Serializable} + * @param pageTokenOption the key for the next page cursor option in the options map + * @param cursor the cursor for the next page + * @param optionMap the previous options map + * @return the options map for the next page request + */ + public static Map nextRequestOptions( + T pageTokenOption, String cursor, Map optionMap) { + ImmutableMap.Builder builder = ImmutableMap.builder(); + if (cursor != null) { + builder.put(pageTokenOption, cursor); + } + for (Map.Entry option : optionMap.entrySet()) { + if (!Objects.equals(option.getKey(), pageTokenOption)) { + builder.put(option.getKey(), option.getValue()); + } + } + return builder.build(); + } } From a005711b10381377fff64dce5c7dc5cd66bd1af5 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 11 Jan 2016 16:20:55 -0800 Subject: [PATCH 0095/3036] Set default retry strategy --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 6ed1d50ba364..84bb07195806 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -264,7 +264,8 @@ public B authCredentials(AuthCredentials authCredentials) { /** * Sets configuration parameters for request retries. If no configuration is set - * {@link RetryParams#noRetries()} is used. + * {@link RetryParams#defaultInstance()} is used. To disable retries, supply + * {@link RetryParams#noRetries()} here. * * @return the builder */ @@ -325,7 +326,7 @@ protected ServiceOptions(Class> ser authCredentials = builder.authCredentials != null ? builder.authCredentials : defaultAuthCredentials(); authCredentialsState = authCredentials != null ? authCredentials.capture() : null; - retryParams = builder.retryParams; + retryParams = firstNonNull(builder.retryParams, RetryParams.defaultInstance()); serviceFactory = firstNonNull(builder.serviceFactory, getFromServiceLoader(serviceFactoryClass, defaultServiceFactory())); serviceFactoryClassName = serviceFactory.getClass().getName(); From da6029d90d154a90aa6d3c07b4eb03a05d7c976d Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 12 Jan 2016 15:16:57 -0800 Subject: [PATCH 0096/3036] ServiceOptions tests + fix for default retry params --- .../com/google/gcloud/ServiceOptions.java | 6 +- .../com/google/gcloud/ServiceOptionsTest.java | 234 ++++++++++++++++++ 2 files changed, 237 insertions(+), 3 deletions(-) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 84bb07195806..31e543809464 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -511,11 +511,11 @@ public AuthCredentials authCredentials() { } /** - * Returns configuration parameters for request retries. By default requests are not retried: - * {@link RetryParams#noRetries()} is used. + * Returns configuration parameters for request retries. By default requests are retried: + * {@link RetryParams#defaultInstance()} is used. */ public RetryParams retryParams() { - return retryParams != null ? retryParams : RetryParams.noRetries(); + return retryParams; } /** diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java new file mode 100644 index 000000000000..9b118197a5db --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java @@ -0,0 +1,234 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.gcloud.ServiceOptions.Clock; +import com.google.gcloud.ServiceOptions.DefaultHttpTransportFactory; +import com.google.gcloud.ServiceOptions.HttpTransportFactory; +import com.google.gcloud.spi.ServiceRpcFactory; + +import org.easymock.EasyMock; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.Set; + +@RunWith(JUnit4.class) +public class ServiceOptionsTest { + private static final String JSON_KEY = + "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; + private static final InputStream JSON_KEY_STREAM = new ByteArrayInputStream(JSON_KEY.getBytes()); + private static AuthCredentials authCredentials; + static { + try { + authCredentials = AuthCredentials.createForJson(JSON_KEY_STREAM); + } catch (IOException e) { + fail("Couldn't create fake JSON credentials."); + } + } + private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = + EasyMock.createMock(HttpTransportFactory.class); + private static final TestServiceOptions OPTIONS = + TestServiceOptions.builder() + .authCredentials(authCredentials) + .connectTimeout(1234) + .host("host") + .httpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) + .projectId("project-id") + .readTimeout(5678) + .retryParams(RetryParams.noRetries()) + .build(); + private static final TestServiceOptions DEFAULT_OPTIONS = + TestServiceOptions.builder().projectId("project-id").build(); + private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + + interface TestService extends Service {} + + static class TestServiceImpl + extends BaseService implements TestService { + TestServiceImpl(TestServiceOptions options) { + super(options); + } + } + + interface TestServiceFactory extends ServiceFactory {} + + static class DefaultTestServiceFactory implements TestServiceFactory { + private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); + + @Override + public TestService create(TestServiceOptions options) { + return new TestServiceImpl(options); + } + } + + interface TestServiceRpcFactory + extends ServiceRpcFactory {} + + static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { + private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); + + @Override + public TestServiceRpc create(TestServiceOptions options) { + return new DefaultTestServiceRpc(options); + } + } + + interface TestServiceRpc {} + + static class DefaultTestServiceRpc implements TestServiceRpc { + DefaultTestServiceRpc(TestServiceOptions options) {} + } + + static class TestServiceOptions extends ServiceOptions { + static class Builder + extends ServiceOptions.Builder { + private Builder() {} + + private Builder(TestServiceOptions options) { + super(options); + } + + @Override + protected TestServiceOptions build() { + return new TestServiceOptions(this); + } + } + + protected TestServiceOptions(Builder builder) { + super(TestServiceFactory.class, TestServiceRpcFactory.class, builder); + } + + public static TestServiceOptions defaultInstance() { + return builder().build(); + } + + @Override + protected TestServiceFactory defaultServiceFactory() { + return DefaultTestServiceFactory.INSTANCE; + } + + @Override + protected TestServiceRpcFactory defaultRpcFactory() { + return DefaultTestServiceRpcFactory.INSTANCE; + } + + @Override + protected Set scopes() { + return null; + } + + @Override + public Builder toBuilder() { + return new Builder(this); + } + + public static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof TestServiceOptions && baseEquals((TestServiceOptions) obj); + } + + @Override + public int hashCode() { + return baseHashCode(); + } + } + + @Test + public void testBuilder() { + assertEquals(authCredentials, OPTIONS.authCredentials()); + assertEquals(Clock.defaultClock(), OPTIONS.clock()); + assertEquals(1234, OPTIONS.connectTimeout()); + assertEquals("host", OPTIONS.host()); + assertEquals(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.httpTransportFactory()); + assertEquals("project-id", OPTIONS.projectId()); + assertEquals(5678, OPTIONS.readTimeout()); + assertEquals(RetryParams.noRetries(), OPTIONS.retryParams()); + + assertEquals(Clock.defaultClock(), DEFAULT_OPTIONS.clock()); + assertEquals(-1, DEFAULT_OPTIONS.connectTimeout()); + assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.host()); + assertTrue(DEFAULT_OPTIONS.httpTransportFactory() instanceof DefaultHttpTransportFactory); + assertEquals(-1, DEFAULT_OPTIONS.readTimeout()); + assertEquals(RetryParams.defaultInstance(), DEFAULT_OPTIONS.retryParams()); + } + + @Test + public void testGetProjectIdRequired() { + assertTrue(OPTIONS.projectIdRequired()); + } + + @Test + public void testService() { + assertTrue(OPTIONS.service() instanceof TestServiceImpl); + } + + @Test + public void testRpc() { + assertTrue(OPTIONS.rpc() instanceof DefaultTestServiceRpc); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + } +} From b033176925ddd3e73b09afbc00b45cbeb9c97b27 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 12 Jan 2016 15:46:53 -0800 Subject: [PATCH 0097/3036] Fix ServiceOptions tests --- .../com/google/gcloud/ServiceOptionsTest.java | 53 +++++++++++-------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java index 9b118197a5db..d0e3db2d2a55 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java @@ -18,6 +18,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; @@ -76,9 +77,11 @@ public class ServiceOptionsTest { } private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = EasyMock.createMock(HttpTransportFactory.class); + private static final Clock TEST_CLOCK = new TestClock(); private static final TestServiceOptions OPTIONS = TestServiceOptions.builder() .authCredentials(authCredentials) + .clock(TEST_CLOCK) .connectTimeout(1234) .host("host") .httpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) @@ -90,18 +93,25 @@ public class ServiceOptionsTest { TestServiceOptions.builder().projectId("project-id").build(); private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); - interface TestService extends Service {} + private static class TestClock extends Clock { + @Override + public long millis() { + return 123456789L; + } + } - static class TestServiceImpl + private interface TestService extends Service {} + + private static class TestServiceImpl extends BaseService implements TestService { - TestServiceImpl(TestServiceOptions options) { + private TestServiceImpl(TestServiceOptions options) { super(options); } } - interface TestServiceFactory extends ServiceFactory {} + private interface TestServiceFactory extends ServiceFactory {} - static class DefaultTestServiceFactory implements TestServiceFactory { + private static class DefaultTestServiceFactory implements TestServiceFactory { private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); @Override @@ -110,10 +120,10 @@ public TestService create(TestServiceOptions options) { } } - interface TestServiceRpcFactory + private interface TestServiceRpcFactory extends ServiceRpcFactory {} - static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { + private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); @Override @@ -122,14 +132,15 @@ public TestServiceRpc create(TestServiceOptions options) { } } - interface TestServiceRpc {} + private interface TestServiceRpc {} - static class DefaultTestServiceRpc implements TestServiceRpc { + private static class DefaultTestServiceRpc implements TestServiceRpc { DefaultTestServiceRpc(TestServiceOptions options) {} } - static class TestServiceOptions extends ServiceOptions { - static class Builder + private static class TestServiceOptions + extends ServiceOptions { + private static class Builder extends ServiceOptions.Builder { private Builder() {} @@ -143,14 +154,10 @@ protected TestServiceOptions build() { } } - protected TestServiceOptions(Builder builder) { + private TestServiceOptions(Builder builder) { super(TestServiceFactory.class, TestServiceRpcFactory.class, builder); } - public static TestServiceOptions defaultInstance() { - return builder().build(); - } - @Override protected TestServiceFactory defaultServiceFactory() { return DefaultTestServiceFactory.INSTANCE; @@ -171,7 +178,7 @@ public Builder toBuilder() { return new Builder(this); } - public static Builder builder() { + private static Builder builder() { return new Builder(); } @@ -188,21 +195,21 @@ public int hashCode() { @Test public void testBuilder() { - assertEquals(authCredentials, OPTIONS.authCredentials()); - assertEquals(Clock.defaultClock(), OPTIONS.clock()); + assertSame(authCredentials, OPTIONS.authCredentials()); + assertSame(TEST_CLOCK, OPTIONS.clock()); assertEquals(1234, OPTIONS.connectTimeout()); assertEquals("host", OPTIONS.host()); - assertEquals(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.httpTransportFactory()); + assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.httpTransportFactory()); assertEquals("project-id", OPTIONS.projectId()); assertEquals(5678, OPTIONS.readTimeout()); - assertEquals(RetryParams.noRetries(), OPTIONS.retryParams()); + assertSame(RetryParams.noRetries(), OPTIONS.retryParams()); - assertEquals(Clock.defaultClock(), DEFAULT_OPTIONS.clock()); + assertSame(Clock.defaultClock(), DEFAULT_OPTIONS.clock()); assertEquals(-1, DEFAULT_OPTIONS.connectTimeout()); assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.host()); assertTrue(DEFAULT_OPTIONS.httpTransportFactory() instanceof DefaultHttpTransportFactory); assertEquals(-1, DEFAULT_OPTIONS.readTimeout()); - assertEquals(RetryParams.defaultInstance(), DEFAULT_OPTIONS.retryParams()); + assertSame(RetryParams.defaultInstance(), DEFAULT_OPTIONS.retryParams()); } @Test From 0d95ef1c2617f4623e99cb2e305d731e782d93e4 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 15 Jan 2016 16:18:03 -0800 Subject: [PATCH 0098/3036] Release version to 0.1.2 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ee39bcca1f72..248df370e170 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.1.2-SNAPSHOT + 0.1.2 gcloud-java-core From 7f4b27ad5426000ee3f3297a2ffee918bf62387d Mon Sep 17 00:00:00 2001 From: travis-ci Date: Sat, 16 Jan 2016 00:37:15 +0000 Subject: [PATCH 0099/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 89834e1c2361..f47d99779a05 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.1.1 + 0.1.2 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:0.1.1' +compile 'com.google.gcloud:gcloud-java-core:0.1.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.1" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.2" ``` Troubleshooting From 8ac3395ae87390db8e7095924fa0bfb13c8af327 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 15 Jan 2016 17:19:16 -0800 Subject: [PATCH 0100/3036] Update version to 0.1.3-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 248df370e170..d87e0d7eae85 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.1.2 + 0.1.3-SNAPSHOT gcloud-java-core From 873565f11df8b1c62d473e85c4351b26b163120b Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 11 Jan 2016 16:56:52 +0100 Subject: [PATCH 0101/3036] Add support for BigQuery resumable uploads via a write channel - Move BlobWriteChannel and BlobReadChannel to core module - Rename BlobWriteChannel and BlobReadChannel to WriteChannel and ReadChannel - Add abstract class BaseWriteChannel implementing entity-agnostic channel functionality - Add BlobWriteChannel and BlobReadChannel implementation to gcloud-java-storage - Add LoadConfiguration and modify LoadJobInfo to take configuration as a parameter - Add BigQuery.writer method to return a writer given LoadConfiguration - Add BigQueryRpc.open and .write methods to implement write channel - Add TableDataWriteChannel class to support bigquery resumable streaming inserts - Add unit and integration tests - Update bigquery example with load-data action --- .../com/google/gcloud/BaseWriteChannel.java | 293 ++++++++++++++++++ .../java/com/google/gcloud/ReadChannel.java | 57 ++++ .../java/com/google/gcloud/WriteChannel.java | 48 +++ .../google/gcloud/BaseWriteChannelTest.java | 144 +++++++++ 4 files changed, 542 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/ReadChannel.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/WriteChannel.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java new file mode 100644 index 000000000000..e05383a65826 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java @@ -0,0 +1,293 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import com.google.common.base.MoreObjects; + +import java.io.IOException; +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.util.Arrays; +import java.util.Objects; + +/** + * Base implementation for a {@link WriteChannel}. + * + * @param the service options used by the channel to issue RPC requests + * @param the entity this channel writes data to. Possibly with additional configuration + */ +public abstract class BaseWriteChannel< + ServiceOptionsT extends ServiceOptions, + EntityT extends Serializable> implements WriteChannel { + + private static final int MIN_CHUNK_SIZE = 256 * 1024; + private static final int DEFAULT_CHUNK_SIZE = 8 * MIN_CHUNK_SIZE; + + private final ServiceOptionsT options; + private final EntityT entity; + private final String uploadId; + private int position; + private byte[] buffer = new byte[0]; + private int limit; + private boolean isOpen = true; + private int chunkSize = defaultChunkSize(); + + protected int minChunkSize() { + return MIN_CHUNK_SIZE; + } + + protected int defaultChunkSize() { + return DEFAULT_CHUNK_SIZE; + } + + /** + * Writes {@code length} bytes of {@link #buffer()} to the {@link #uploadId()} URL. + * + * @param length the number of bytes to write from {@link #buffer()} + * @param last if {@code true} the resumable session is closed + */ + protected abstract void flushBuffer(int length, boolean last); + + protected ServiceOptionsT options() { + return options; + } + + protected EntityT entity() { + return entity; + } + + protected String uploadId() { + return uploadId; + } + + protected int position() { + return position; + } + + protected byte[] buffer() { + return buffer; + } + + protected int limit() { + return limit; + } + + protected int chunkSize() { + return chunkSize; + } + + @Override + public final void chunkSize(int chunkSize) { + chunkSize = (chunkSize / minChunkSize()) * minChunkSize(); + this.chunkSize = Math.max(minChunkSize(), chunkSize); + } + + protected BaseWriteChannel(ServiceOptionsT options, EntityT entity, String uploadId) { + this.options = options; + this.entity = entity; + this.uploadId = uploadId; + } + + private void flush() { + if (limit >= chunkSize) { + final int length = limit - limit % minChunkSize(); + flushBuffer(length, false); + position += length; + limit -= length; + byte[] temp = new byte[chunkSize]; + System.arraycopy(buffer, length, temp, 0, limit); + buffer = temp; + } + } + + private void validateOpen() throws IOException { + if (!isOpen) { + throw new IOException("stream is closed"); + } + } + + @Override + public final int write(ByteBuffer byteBuffer) throws IOException { + validateOpen(); + int toWrite = byteBuffer.remaining(); + int spaceInBuffer = buffer.length - limit; + if (spaceInBuffer >= toWrite) { + byteBuffer.get(buffer, limit, toWrite); + } else { + buffer = Arrays.copyOf(buffer, Math.max(chunkSize, buffer.length + toWrite - spaceInBuffer)); + byteBuffer.get(buffer, limit, toWrite); + } + limit += toWrite; + flush(); + return toWrite; + } + + @Override + public boolean isOpen() { + return isOpen; + } + + @Override + public final void close() throws IOException { + if (isOpen) { + flushBuffer(limit, true); + position += buffer.length; + isOpen = false; + buffer = null; + } + } + + /** + * Creates a {@link BaseState.Builder} for the current write channel. + */ + protected abstract BaseState.Builder stateBuilder(); + + @Override + public RestorableState capture() { + byte[] bufferToSave = null; + if (isOpen) { + flush(); + bufferToSave = Arrays.copyOf(buffer, limit); + } + return stateBuilder() + .position(position) + .buffer(bufferToSave) + .isOpen(isOpen) + .chunkSize(chunkSize) + .build(); + } + + /** + * Restores the state of the current write channel given a {@link BaseState} object. + */ + protected void restore(BaseState state) { + if (state.buffer != null) { + this.buffer = state.buffer.clone(); + this.limit = state.buffer.length; + } + this.position = state.position; + this.isOpen = state.isOpen; + this.chunkSize = state.chunkSize; + } + + protected abstract static class BaseState< + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> + implements RestorableState, Serializable { + + private static final long serialVersionUID = 8541062465055125619L; + + protected final ServiceOptionsT serviceOptions; + protected final EntityT entity; + protected final String uploadId; + protected final int position; + protected final byte[] buffer; + protected final boolean isOpen; + protected final int chunkSize; + + protected BaseState(Builder builder) { + this.serviceOptions = builder.serviceOptions; + this.entity = builder.entity; + this.uploadId = builder.uploadId; + this.position = builder.position; + this.buffer = builder.buffer; + this.isOpen = builder.isOpen; + this.chunkSize = builder.chunkSize; + } + + /** + * Base builder for a write channel's state. Users are not supposed to access this class + * directly. + * + * @param the service options used by the channel to issue RPC requests + * @param the entity this channel writes data to. Possibly with additional + * configuration + */ + public abstract static class Builder< + ServiceOptionsT extends ServiceOptions, + EntityT extends Serializable> { + private final ServiceOptionsT serviceOptions; + private final EntityT entity; + private final String uploadId; + private int position; + private byte[] buffer; + private boolean isOpen; + private int chunkSize; + + protected Builder(ServiceOptionsT options, EntityT entity, String uploadId) { + this.serviceOptions = options; + this.entity = entity; + this.uploadId = uploadId; + } + + public Builder position(int position) { + this.position = position; + return this; + } + + public Builder buffer(byte[] buffer) { + this.buffer = buffer; + return this; + } + + public Builder isOpen(boolean isOpen) { + this.isOpen = isOpen; + return this; + } + + public Builder chunkSize(int chunkSize) { + this.chunkSize = chunkSize; + return this; + } + + public abstract RestorableState build(); + } + + @Override + public int hashCode() { + return Objects.hash(serviceOptions, entity, uploadId, position, isOpen, chunkSize, + Arrays.hashCode(buffer)); + } + + @Override + public boolean equals(Object obj) { + if (obj == null) { + return false; + } + if (!(obj instanceof BaseState)) { + return false; + } + final BaseState other = (BaseState) obj; + return Objects.equals(this.serviceOptions, other.serviceOptions) + && Objects.equals(this.entity, other.entity) + && Objects.equals(this.uploadId, other.uploadId) + && Objects.deepEquals(this.buffer, other.buffer) + && this.position == other.position + && this.isOpen == other.isOpen + && this.chunkSize == other.chunkSize; + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("entity", entity) + .add("uploadId", uploadId) + .add("position", position) + .add("isOpen", isOpen) + .toString(); + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ReadChannel.java new file mode 100644 index 000000000000..7537c5a8ce0b --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ReadChannel.java @@ -0,0 +1,57 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import java.io.Closeable; +import java.io.IOException; +import java.nio.channels.ReadableByteChannel; + +/** + * A channel for reading data from a Google Cloud object. + * + *

Implementations of this class may buffer data internally to reduce remote calls. This + * interface implements {@link Restorable} to allow saving the reader's state to continue reading + * afterwards. + *

+ */ +public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable { + + /** + * Overridden to remove IOException. + * + * @see java.nio.channels.Channel#close() + */ + @Override + void close(); + + void seek(int position) throws IOException; + + /** + * Sets the minimum size that will be read by a single RPC. + * Read data will be locally buffered until consumed. + */ + void chunkSize(int chunkSize); + + /** + * Captures the read channel state so that it can be saved and restored afterwards. + * + * @return a {@link RestorableState} object that contains the read channel state and can restore + * it afterwards. + */ + @Override + RestorableState capture(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/WriteChannel.java new file mode 100644 index 000000000000..e6f06e23dc04 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/WriteChannel.java @@ -0,0 +1,48 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import java.io.Closeable; +import java.nio.channels.WritableByteChannel; + +/** + * A channel for writing data to Google Cloud services. + * + *

Implementations of this class may further buffer data internally to reduce remote calls. + * Written data will only be visible after calling {@link #close()}. This interface implements + * {@link Restorable} to allow saving the writer's state to continue writing afterwards. + *

+ */ +public interface WriteChannel extends WritableByteChannel, Closeable, Restorable { + + /** + * Sets the minimum size that will be written by a single RPC. + * Written data will be buffered and only flushed upon reaching this size or closing the channel. + */ + void chunkSize(int chunkSize); + + /** + * Captures the write channel state so that it can be saved and restored afterwards. The original + * {@code WriteChannel} and the restored one should not both be used. Closing one channel + * causes the other channel to close; subsequent writes will fail. + * + * @return a {@link RestorableState} object that contains the write channel state and can restore + * it afterwards. + */ + @Override + RestorableState capture(); +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java new file mode 100644 index 000000000000..e49a17b019e0 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java @@ -0,0 +1,144 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static junit.framework.TestCase.assertFalse; +import static junit.framework.TestCase.assertTrue; +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; + +import com.google.gcloud.spi.ServiceRpcFactory; + +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; + +import java.io.IOException; +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.util.Arrays; +import java.util.Random; + +public class BaseWriteChannelTest { + + private abstract static class CustomService implements Service {} + private abstract static class CustomServiceOptions + extends ServiceOptions { + + private static final long serialVersionUID = 3302358029307467197L; + + protected CustomServiceOptions( + Class> serviceFactoryClass, + Class> rpcFactoryClass, + Builder builder) { + super(serviceFactoryClass, rpcFactoryClass, builder); + } + } + + private static final Serializable ENTITY = 42L; + private static final String UPLOAD_ID = "uploadId"; + private static final byte[] CONTENT = {0xD, 0xE, 0xA, 0xD}; + private static final int MIN_CHUNK_SIZE = 256 * 1024; + private static final int DEFAULT_CHUNK_SIZE = 8 * MIN_CHUNK_SIZE; + private static final Random RANDOM = new Random(); + private static BaseWriteChannel channel; + + @Rule + public ExpectedException thrown = ExpectedException.none(); + + @Before + public void setUp() { + channel = new BaseWriteChannel(null, ENTITY, UPLOAD_ID) { + @Override + public RestorableState capture() { + return null; + } + + @Override + protected void flushBuffer(int length, boolean last) {} + + @Override + protected BaseState.Builder stateBuilder() { + return null; + } + }; + } + + @Test + public void testConstructor() throws IOException { + assertEquals(null, channel.options()); + assertEquals(ENTITY, channel.entity()); + assertEquals(0, channel.position()); + assertEquals(UPLOAD_ID, channel.uploadId()); + assertEquals(0, channel.limit()); + assertTrue(channel.isOpen()); + assertArrayEquals(new byte[0], channel.buffer()); + assertEquals(DEFAULT_CHUNK_SIZE, channel.chunkSize()); + } + + @Test + public void testClose() throws IOException { + channel.close(); + assertFalse(channel.isOpen()); + assertNull(channel.buffer()); + } + + @Test + public void testValidateOpen() throws IOException { + channel.close(); + thrown.expect(IOException.class); + thrown.expectMessage("stream is closed"); + channel.write(ByteBuffer.allocate(42)); + } + + @Test + public void testChunkSize() throws IOException { + channel.chunkSize(42); + assertEquals(MIN_CHUNK_SIZE, channel.chunkSize()); + channel.chunkSize(2 * MIN_CHUNK_SIZE); + assertEquals(2 * MIN_CHUNK_SIZE, channel.chunkSize()); + channel.chunkSize(512 * 1025); + assertEquals(2 * MIN_CHUNK_SIZE, channel.chunkSize()); + } + + @Test + public void testWrite() throws IOException { + channel.write(ByteBuffer.wrap(CONTENT)); + assertEquals(CONTENT.length, channel.limit()); + assertEquals(DEFAULT_CHUNK_SIZE, channel.buffer().length); + assertArrayEquals(Arrays.copyOf(CONTENT, DEFAULT_CHUNK_SIZE), channel.buffer()); + } + + @Test + public void testWriteAndFlush() throws IOException { + ByteBuffer content = randomBuffer(DEFAULT_CHUNK_SIZE + 1); + channel.write(content); + assertEquals(DEFAULT_CHUNK_SIZE, channel.position()); + assertEquals(1, channel.limit()); + byte[] newContent = new byte[DEFAULT_CHUNK_SIZE]; + newContent[0] = content.get(DEFAULT_CHUNK_SIZE); + assertArrayEquals(newContent, channel.buffer()); + } + + private static ByteBuffer randomBuffer(int size) { + byte[] byteArray = new byte[size]; + RANDOM.nextBytes(byteArray); + return ByteBuffer.wrap(byteArray); + } +} From 929bb2056ce71e34b71a2cd59a2a34782085344a Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 15 Jan 2016 15:10:21 +0100 Subject: [PATCH 0102/3036] Refactor BaseServiceException --- .../google/gcloud/BaseServiceException.java | 157 +++++++++++++++++- .../gcloud/BaseServiceExceptionTest.java | 134 +++++++++++++-- 2 files changed, 273 insertions(+), 18 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index cd0933426756..9f4bfdab994d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -16,26 +16,126 @@ package com.google.gcloud; +import com.google.api.client.googleapis.json.GoogleJsonError; +import com.google.api.client.googleapis.json.GoogleJsonResponseException; +import com.google.common.base.MoreObjects; + +import java.io.IOException; +import java.io.Serializable; +import java.net.SocketTimeoutException; +import java.util.Collections; +import java.util.Objects; +import java.util.Set; + /** * Base class for all service exceptions. */ public class BaseServiceException extends RuntimeException { - private static final long serialVersionUID = 5028833760039966178L; + protected static final class Error implements Serializable { + + private static final long serialVersionUID = -4019600198652965721L; + + private final Integer code; + private final String reason; + + public Error(Integer code, String reason) { + this.code = code; + this.reason = reason; + } + + /** + * Returns the code associated with this exception. + */ + public Integer code() { + return code; + } + + /** + * Returns the reason that caused the exception. + */ + public String reason() { + return reason; + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this).add("code", code).add("reason", reason).toString(); + } + + @Override + public int hashCode() { + return Objects.hash(code, reason); + } + } + + private static final long serialVersionUID = 759921776378760835L; + public static final int UNKNOWN_CODE = 0; private final int code; private final boolean retryable; + private final String reason; + private final boolean idempotent; - public BaseServiceException(int code, String message, boolean retryable) { - super(message); - this.code = code; - this.retryable = retryable; + public BaseServiceException(IOException exception, boolean idempotent) { + super(message(exception), exception); + if (exception instanceof GoogleJsonResponseException) { + Error error = error(((GoogleJsonResponseException) exception).getDetails()); + this.code = error.code; + this.reason = error.reason; + this.retryable = isRetryable(error); + } else { + this.code = UNKNOWN_CODE; + this.reason = null; + this.retryable = idempotent && isRetryable(exception); + } + this.idempotent = idempotent; + } + + public BaseServiceException(GoogleJsonError error, boolean idempotent) { + super(error.getMessage()); + this.code = error.getCode(); + this.reason = reason(error); + this.idempotent = idempotent; + this.retryable = idempotent && isRetryable(error); + } + + public BaseServiceException(int code, String message, String reason, boolean idempotent) { + this(code, message, reason, idempotent, null); } - public BaseServiceException(int code, String message, boolean retryable, Exception cause) { + public BaseServiceException(int code, String message, String reason, boolean idempotent, + Exception cause) { super(message, cause); this.code = code; - this.retryable = retryable; + this.reason = reason; + this.idempotent = idempotent; + this.retryable = idempotent && isRetryable(new Error(code, reason)); + } + + protected Set retryableErrors() { + return Collections.emptySet(); + } + + protected boolean isRetryable(GoogleJsonError error) { + return error != null && isRetryable(error(error)); + } + + protected boolean isRetryable(IOException exception) { + if (exception instanceof GoogleJsonResponseException) { + return isRetryable(((GoogleJsonResponseException) exception).getDetails()); + } + return exception instanceof SocketTimeoutException; + } + + protected boolean isRetryable(Error error) { + for (Error retryableError : retryableErrors()) { + if ((retryableError.code() == null || retryableError.code().equals(error.code())) + && (retryableError.reason() == null || retryableError.reason().equals(error.reason()))) { + return true; + } + } + return false; } /** @@ -45,10 +145,53 @@ public int code() { return code; } + /** + * Returns the reason that caused the exception. + */ + public String reason() { + return reason; + } + /** * Returns {@code true} when it is safe to retry the operation that caused this exception. */ public boolean retryable() { return retryable; } + + /** + * Returns {@code true} when the operation that caused this exception had no side effects. + */ + public boolean idempotent() { + return idempotent; + } + + protected static String reason(GoogleJsonError error) { + if (error.getErrors() != null && !error.getErrors().isEmpty()) { + return error.getErrors().get(0).getReason(); + } + return null; + } + + protected static Error error(GoogleJsonError error) { + return new Error(error.getCode(), reason(error)); + } + + protected static String message(IOException exception) { + if (exception instanceof GoogleJsonResponseException) { + return ((GoogleJsonResponseException) exception).getDetails().getMessage(); + } + return exception.getMessage(); + } + + protected static BaseServiceException translateAndThrow( + RetryHelper.RetryHelperException ex) { + if (ex.getCause() instanceof BaseServiceException) { + throw (BaseServiceException) ex.getCause(); + } + if (ex instanceof RetryHelper.RetryInterruptedException) { + RetryHelper.RetryInterruptedException.propagate(); + } + return null; + } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java index f30fd3abfb79..a6e22866ed9f 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java @@ -16,30 +16,142 @@ package com.google.gcloud; +import static com.google.gcloud.BaseServiceException.UNKNOWN_CODE; +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.expect; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.api.client.googleapis.json.GoogleJsonError; +import com.google.common.collect.ImmutableSet; import org.junit.Test; +import java.io.IOException; +import java.net.SocketTimeoutException; +import java.util.Set; + /** * Tests for {@link BaseServiceException}. */ public class BaseServiceExceptionTest { - private final int code = 1; - private final String message = "some message"; - private final boolean retryable = true; + private static final int CODE = 1; + private static final int CODE_NO_REASON = 2; + private static final String MESSAGE = "some message"; + private static final String REASON = "some reason"; + private static final boolean RETRYABLE = true; + private static final boolean IDEMPOTENT = true; + private static class CustomServiceException extends BaseServiceException { + + private static final long serialVersionUID = -195251309124875103L; + + public CustomServiceException(int code, String message, String reason, boolean idempotent) { + super(code, message, reason, idempotent); + } + + @Override + protected Set retryableErrors() { + return ImmutableSet.of(new Error(CODE, REASON), new Error(null, REASON), + new Error(CODE_NO_REASON, null)); + } + } @Test public void testBaseServiceException() { - BaseServiceException serviceException = new BaseServiceException(code, message, retryable); - assertEquals(serviceException.code(), code); - assertEquals(serviceException.getMessage(), message); - assertEquals(serviceException.getCause(), null); + BaseServiceException serviceException = new BaseServiceException(CODE, MESSAGE, REASON, + IDEMPOTENT); + assertEquals(CODE, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.reason()); + assertFalse(serviceException.retryable()); + assertEquals(IDEMPOTENT, serviceException.idempotent()); + assertNull(serviceException.getCause()); + + serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(CODE, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.reason()); + assertFalse(serviceException.retryable()); + assertEquals(IDEMPOTENT, serviceException.idempotent()); + assertNull(serviceException.getCause()); Exception cause = new RuntimeException(); - serviceException = new BaseServiceException(code, message, retryable, cause); - assertEquals(serviceException.code(), code); - assertEquals(serviceException.getMessage(), message); - assertEquals(serviceException.getCause(), cause); + serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, cause); + assertEquals(CODE, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.reason()); + assertFalse(serviceException.retryable()); + assertEquals(IDEMPOTENT, serviceException.idempotent()); + assertEquals(cause, serviceException.getCause()); + + serviceException = new BaseServiceException(CODE, MESSAGE, REASON, false, cause); + assertEquals(CODE, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.reason()); + assertFalse(serviceException.retryable()); + assertFalse(serviceException.idempotent()); + assertEquals(cause, serviceException.getCause()); + + IOException exception = new SocketTimeoutException(); + serviceException = new BaseServiceException(exception, true); + assertTrue(serviceException.retryable()); + assertTrue(serviceException.idempotent()); + assertEquals(exception, serviceException.getCause()); + + GoogleJsonError error = new GoogleJsonError(); + error.setCode(CODE); + error.setMessage(MESSAGE); + serviceException = new BaseServiceException(error, true); + assertEquals(CODE, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertFalse(serviceException.retryable()); + assertTrue(serviceException.idempotent()); + + serviceException = new CustomServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(CODE, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.reason()); + assertEquals(RETRYABLE, serviceException.retryable()); + assertEquals(IDEMPOTENT, serviceException.idempotent()); + + serviceException = new CustomServiceException(CODE_NO_REASON, MESSAGE, null, IDEMPOTENT); + assertEquals(CODE_NO_REASON, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertNull(serviceException.reason()); + assertEquals(RETRYABLE, serviceException.retryable()); + assertEquals(IDEMPOTENT, serviceException.idempotent()); + + serviceException = new CustomServiceException(UNKNOWN_CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(UNKNOWN_CODE, serviceException.code()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.reason()); + assertEquals(RETRYABLE, serviceException.retryable()); + assertEquals(IDEMPOTENT, serviceException.idempotent()); + } + + @Test + public void testTranslateAndThrow() throws Exception { + BaseServiceException cause = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + RetryHelper.RetryHelperException exceptionMock = createMock(RetryHelper.RetryHelperException.class); + expect(exceptionMock.getCause()).andReturn(cause).times(2); + replay(exceptionMock); + try { + BaseServiceException ex = BaseServiceException.translateAndThrow(exceptionMock); + if (ex != null) { + throw ex; + } + } catch (BaseServiceException ex) { + assertEquals(CODE, ex.code()); + assertEquals(MESSAGE, ex.getMessage()); + assertFalse(ex.retryable()); + assertEquals(IDEMPOTENT, ex.idempotent()); + } finally { + verify(exceptionMock); + } } } From 10994ebb1fa947f513f8ae0b9d3dad5d090d4cbc Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 15 Jan 2016 18:20:26 +0100 Subject: [PATCH 0103/3036] Move exception handler and interceptor to BaseService class --- .../java/com/google/gcloud/BaseService.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java index c028eaede331..d9e6f2db7c95 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java @@ -16,6 +16,8 @@ package com.google.gcloud; +import com.google.gcloud.ExceptionHandler.Interceptor; + /** * Base class for service objects. * @@ -24,6 +26,29 @@ public abstract class BaseService> implements Service { + public static final Interceptor EXCEPTION_HANDLER_INTERCEPTOR = new Interceptor() { + + private static final long serialVersionUID = -8429573486870467828L; + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return Interceptor.RetryResult.CONTINUE_EVALUATION; + } + + @Override + public RetryResult beforeEval(Exception exception) { + if (exception instanceof BaseServiceException) { + boolean retriable = ((BaseServiceException) exception).retryable(); + return retriable ? Interceptor.RetryResult.RETRY : Interceptor.RetryResult.NO_RETRY; + } + return Interceptor.RetryResult.CONTINUE_EVALUATION; + } + }; + public static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.builder() + .abortOn(RuntimeException.class) + .interceptor(EXCEPTION_HANDLER_INTERCEPTOR) + .build(); + private final OptionsT options; protected BaseService(OptionsT options) { From 10bb8a1e50404d8c5d6b10f7977c6406c477e4fd Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 20 Jan 2016 07:40:53 +0100 Subject: [PATCH 0104/3036] Rename translateAndThrow in BaseServiceException and make it package scope in other exceptions --- .../main/java/com/google/gcloud/BaseServiceException.java | 4 +--- .../java/com/google/gcloud/BaseServiceExceptionTest.java | 8 +++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index 9f4bfdab994d..351ad6cd188a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -184,14 +184,12 @@ protected static String message(IOException exception) { return exception.getMessage(); } - protected static BaseServiceException translateAndThrow( - RetryHelper.RetryHelperException ex) { + protected static void translateAndPropagateIfPossible(RetryHelper.RetryHelperException ex) { if (ex.getCause() instanceof BaseServiceException) { throw (BaseServiceException) ex.getCause(); } if (ex instanceof RetryHelper.RetryInterruptedException) { RetryHelper.RetryInterruptedException.propagate(); } - return null; } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java index a6e22866ed9f..e3c6abb7d1ee 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java @@ -137,14 +137,12 @@ public void testBaseServiceException() { @Test public void testTranslateAndThrow() throws Exception { BaseServiceException cause = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); - RetryHelper.RetryHelperException exceptionMock = createMock(RetryHelper.RetryHelperException.class); + RetryHelper.RetryHelperException exceptionMock = + createMock(RetryHelper.RetryHelperException.class); expect(exceptionMock.getCause()).andReturn(cause).times(2); replay(exceptionMock); try { - BaseServiceException ex = BaseServiceException.translateAndThrow(exceptionMock); - if (ex != null) { - throw ex; - } + BaseServiceException.translateAndPropagateIfPossible(exceptionMock); } catch (BaseServiceException ex) { assertEquals(CODE, ex.code()); assertEquals(MESSAGE, ex.getMessage()); From 0be27510b5465be388a896258c3586fb8562c10d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 20 Jan 2016 07:55:39 +0100 Subject: [PATCH 0105/3036] Add throwable cause to DatastoreException --- .../src/main/java/com/google/gcloud/BaseServiceException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index 351ad6cd188a..b91090f94e82 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -105,7 +105,7 @@ public BaseServiceException(int code, String message, String reason, boolean ide } public BaseServiceException(int code, String message, String reason, boolean idempotent, - Exception cause) { + Throwable cause) { super(message, cause); this.code = code; this.reason = reason; From 4b29e0c5312899e63a06ba3578065385444c73c6 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 20 Jan 2016 09:28:40 +0100 Subject: [PATCH 0106/3036] Move isRetryable method to BaseServiceException.Error --- .../google/gcloud/BaseServiceException.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index b91090f94e82..0222a0d2258c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -58,6 +58,16 @@ public String reason() { return reason; } + boolean isRetryable(Set retryableErrors) { + for (Error retryableError : retryableErrors) { + if ((retryableError.code() == null || retryableError.code().equals(this.code())) + && (retryableError.reason() == null || retryableError.reason().equals(this.reason()))) { + return true; + } + } + return false; + } + @Override public String toString() { return MoreObjects.toStringHelper(this).add("code", code).add("reason", reason).toString(); @@ -83,7 +93,7 @@ public BaseServiceException(IOException exception, boolean idempotent) { Error error = error(((GoogleJsonResponseException) exception).getDetails()); this.code = error.code; this.reason = error.reason; - this.retryable = isRetryable(error); + this.retryable = error.isRetryable(retryableErrors()); } else { this.code = UNKNOWN_CODE; this.reason = null; @@ -110,7 +120,7 @@ public BaseServiceException(int code, String message, String reason, boolean ide this.code = code; this.reason = reason; this.idempotent = idempotent; - this.retryable = idempotent && isRetryable(new Error(code, reason)); + this.retryable = idempotent && new Error(code, reason).isRetryable(retryableErrors()); } protected Set retryableErrors() { @@ -118,7 +128,7 @@ protected Set retryableErrors() { } protected boolean isRetryable(GoogleJsonError error) { - return error != null && isRetryable(error(error)); + return error != null && error(error).isRetryable(retryableErrors()); } protected boolean isRetryable(IOException exception) { @@ -128,16 +138,6 @@ protected boolean isRetryable(IOException exception) { return exception instanceof SocketTimeoutException; } - protected boolean isRetryable(Error error) { - for (Error retryableError : retryableErrors()) { - if ((retryableError.code() == null || retryableError.code().equals(error.code())) - && (retryableError.reason() == null || retryableError.reason().equals(error.reason()))) { - return true; - } - } - return false; - } - /** * Returns the code associated with this exception. */ From e9aded0876eaebfe62af326ab4a249e8ea3fb680 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 22 Jan 2016 09:47:26 +0100 Subject: [PATCH 0107/3036] Add location() and debugInfo() to BaseServiceException --- .../google/gcloud/BaseServiceException.java | 44 +++++++++++++++---- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index 0222a0d2258c..579340f1256e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -86,20 +86,32 @@ public int hashCode() { private final boolean retryable; private final String reason; private final boolean idempotent; + private final String location; + private final String debugInfo; public BaseServiceException(IOException exception, boolean idempotent) { super(message(exception), exception); + int code = UNKNOWN_CODE; + String reason = null; + String location = null; + String debugInfo = null; if (exception instanceof GoogleJsonResponseException) { - Error error = error(((GoogleJsonResponseException) exception).getDetails()); - this.code = error.code; - this.reason = error.reason; - this.retryable = error.isRetryable(retryableErrors()); - } else { - this.code = UNKNOWN_CODE; - this.reason = null; - this.retryable = idempotent && isRetryable(exception); + GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); + Error error = error(jsonError); + code = error.code; + reason = error.reason; + if (reason != null) { + GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); + location = errorInfo.getLocation(); + debugInfo = (String) errorInfo.get("debugInfo"); + } } + this.code = code; + this.retryable = idempotent && isRetryable(exception); + this.reason = reason; this.idempotent = idempotent; + this.location = location; + this.debugInfo = debugInfo; } public BaseServiceException(GoogleJsonError error, boolean idempotent) { @@ -108,6 +120,8 @@ public BaseServiceException(GoogleJsonError error, boolean idempotent) { this.reason = reason(error); this.idempotent = idempotent; this.retryable = idempotent && isRetryable(error); + this.location = null; + this.debugInfo = null; } public BaseServiceException(int code, String message, String reason, boolean idempotent) { @@ -121,6 +135,8 @@ public BaseServiceException(int code, String message, String reason, boolean ide this.reason = reason; this.idempotent = idempotent; this.retryable = idempotent && new Error(code, reason).isRetryable(retryableErrors()); + this.location = null; + this.debugInfo = null; } protected Set retryableErrors() { @@ -166,6 +182,18 @@ public boolean idempotent() { return idempotent; } + /** + * Returns the service location where the error causing the exception occurred. Returns + * {@code null} if not set. + */ + public String location() { + return location; + } + + protected String debugInfo() { + return debugInfo; + } + protected static String reason(GoogleJsonError error) { if (error.getErrors() != null && !error.getErrors().isEmpty()) { return error.getErrors().get(0).getReason(); From 311e0d19bc07898b7b8bb49146ac2e6b5fb5ece6 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 26 Jan 2016 17:41:21 -0800 Subject: [PATCH 0108/3036] Release version 0.1.3 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d87e0d7eae85..d1b3679bed17 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.1.3-SNAPSHOT + 0.1.3 gcloud-java-core From 79d92fa0288077f2ca2f5d86bbd8b46732c9310f Mon Sep 17 00:00:00 2001 From: travis-ci Date: Wed, 27 Jan 2016 02:24:50 +0000 Subject: [PATCH 0109/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f47d99779a05..9063bebebbef 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -17,16 +17,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.1.2 + 0.1.3 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:0.1.2' +compile 'com.google.gcloud:gcloud-java-core:0.1.3' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.2" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.3" ``` Troubleshooting From 555e1aad6572ae60c48e53aa98754e37519c873f Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 26 Jan 2016 18:45:02 -0800 Subject: [PATCH 0110/3036] update version to 0.1.4-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d1b3679bed17..7373b40abc75 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.gcloud gcloud-java-pom - 0.1.3 + 0.1.4-SNAPSHOT gcloud-java-core From 3806e531336d243d3fceb4e4fad3af60a6d6741f Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 1 Feb 2016 17:35:06 -0800 Subject: [PATCH 0111/3036] Fix ServiceOptions merge bug, remove unnecessary protected modifier from DateTime, set cursorAfter to endCursor where appropriate, and fix error codes for retries. --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 34280dbf92e5..31e543809464 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -18,7 +18,6 @@ import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.common.base.Preconditions.checkArgument; -import static com.google.common.base.Preconditions.checkNotNull; import static java.nio.charset.StandardCharsets.UTF_8; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; @@ -229,8 +228,7 @@ public B clock(Clock clock) { * @return the builder */ public B projectId(String projectId) { - this.projectId = - checkNotNull(projectId, "Project ID cannot be set to null. Leave unset for default."); + this.projectId = projectId; return self(); } From 38595afae0d851829147ce042dbf5589dd0747bd Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 5 Feb 2016 17:06:41 +0100 Subject: [PATCH 0112/3036] Fix the 'Definition of groupId is redundant' mvn warning --- java-core/google-cloud-core/pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7373b40abc75..bd7f26e0bc3b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -1,7 +1,6 @@ 4.0.0 - com.google.gcloud gcloud-java-core jar GCloud Java core From 8409531b67a9c8132d69805ecdc5d3de5103cb8b Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Wed, 10 Feb 2016 10:38:24 -0800 Subject: [PATCH 0113/3036] Fix indentation issues in javadoc code samples --- .../src/main/java/com/google/gcloud/Restorable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java index 90633c70046f..0b573522e370 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java @@ -21,14 +21,14 @@ * *

* A typical capture usage: - *

  {@code
+ * 
 {@code
  * X restorableObj; // X instanceof Restorable
  * RestorableState state = restorableObj.capture();
  * .. persist state
  * }
* * A typical restore usage: - *
  {@code
+ * 
 {@code
  * RestorableState state = ... // read from persistence
  * X restorableObj = state.restore();
  * ...

From a7ece89364918dd5c70b4b8b336f0282a1d4c066 Mon Sep 17 00:00:00 2001
From: Marco Ziccardi 
Date: Thu, 11 Feb 2016 17:01:29 +0100
Subject: [PATCH 0114/3036] Add codacy badge to READMEs

---
 java-core/google-cloud-core/README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md
index 9063bebebbef..8b91e49f3860 100644
--- a/java-core/google-cloud-core/README.md
+++ b/java-core/google-cloud-core/README.md
@@ -6,6 +6,7 @@ This module provides common functionality required by service-specific modules o
 [![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java)
 [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master)
 [![Maven](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg)](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg)
+[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/gcloud-java)
 
 -  [Homepage] (https://googlecloudplatform.github.io/gcloud-java/)
 -  [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/package-summary.html)

From 22c6d31beffcba4f859125725dd62f65870d4b16 Mon Sep 17 00:00:00 2001
From: Marco Ziccardi 
Date: Fri, 12 Feb 2016 12:18:02 +0100
Subject: [PATCH 0115/3036] Update dependencies when possible

---
 java-core/google-cloud-core/pom.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
index bd7f26e0bc3b..3463f40b52bd 100644
--- a/java-core/google-cloud-core/pom.xml
+++ b/java-core/google-cloud-core/pom.xml
@@ -35,24 +35,24 @@
     
       com.google.http-client
       google-http-client
-      1.20.0
+      1.21.0
       compile
     
     
       com.google.oauth-client
       google-oauth-client
-      1.20.0
+      1.21.0
       compile
     
     
       com.google.guava
       guava
-      18.0
+      19.0
     
     
       com.google.api-client
       google-api-client-appengine
-      1.20.0
+      1.21.0
       compile
       
         
@@ -64,7 +64,7 @@
     
       com.google.http-client
       google-http-client-jackson
-      1.20.0
+      1.21.0
       compile
       
         
@@ -82,19 +82,19 @@
     
       joda-time
       joda-time
-      2.8.2
+      2.9.2
       compile
     
     
       org.json
       json
-      20090211
+      20151123
       compile
     
     
       org.easymock
       easymock
-      3.3
+      3.4
       test
     
   

From 9a509c852b360ab91843f5943520644272c5a675 Mon Sep 17 00:00:00 2001
From: Marco Ziccardi 
Date: Fri, 12 Feb 2016 12:19:04 +0100
Subject: [PATCH 0116/3036] Add versioneye badge to READMEs

---
 java-core/google-cloud-core/README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md
index 8b91e49f3860..b7e5e05b6ad3 100644
--- a/java-core/google-cloud-core/README.md
+++ b/java-core/google-cloud-core/README.md
@@ -7,6 +7,7 @@ This module provides common functionality required by service-specific modules o
 [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master)
 [![Maven](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg)](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg)
 [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/gcloud-java)
+[![Dependency Status](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969)
 
 -  [Homepage] (https://googlecloudplatform.github.io/gcloud-java/)
 -  [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/package-summary.html)

From ba1759867e58ca705e6b59c941568ed1f6922271 Mon Sep 17 00:00:00 2001
From: Ajay Kannan 
Date: Wed, 17 Feb 2016 14:16:41 -0800
Subject: [PATCH 0117/3036] Add IAM Policy classes

---
 java-core/google-cloud-core/pom.xml           |  12 +
 .../java/com/google/gcloud/IamPolicy.java     | 530 ++++++++++++++++++
 .../java/com/google/gcloud/IamPolicyTest.java | 126 +++++
 .../com/google/gcloud/SerializationTest.java  |  49 ++
 4 files changed, 717 insertions(+)
 create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java
 create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java
 create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java

diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
index 3463f40b52bd..67d3af27d1a8 100644
--- a/java-core/google-cloud-core/pom.xml
+++ b/java-core/google-cloud-core/pom.xml
@@ -16,6 +16,18 @@
     gcloud-java-core
   
   
+    
+      com.google.apis
+      google-api-services-cloudresourcemanager
+      v1beta1-rev10-1.21.0
+      compile
+      
+        
+          com.google.guava
+          guava-jdk5
+        
+      
+    
     
       com.google.auth
       google-auth-library-credentials
diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java
new file mode 100644
index 000000000000..31099729564a
--- /dev/null
+++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java
@@ -0,0 +1,530 @@
+/*
+ * Copyright 2016 Google Inc. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.gcloud;
+
+import static com.google.common.base.Preconditions.checkNotNull;
+
+import com.google.common.base.Function;
+import com.google.common.collect.ImmutableList;
+import com.google.common.collect.Lists;
+
+import java.io.Serializable;
+import java.util.Arrays;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Objects;
+
+/**
+ * An Identity and Access Management (IAM) policy. It is used to specify access control policies for
+ * Cloud Platform resources. A Policy consists of a list of ACLs (also known as bindings in Cloud
+ * IAM documentation). An ACL binds a list of identities to a role, where the identities can be user
+ * accounts, Google groups, Google domains, and service accounts. A role is a named list of
+ * permissions defined by IAM.
+ *
+ * @see Policy
+ */
+public class IamPolicy implements Serializable {
+
+  static final long serialVersionUID = 1114489978726897720L;
+
+  private final List acls;
+  private final String etag;
+  private final int version;
+
+  public static class Identity implements Serializable {
+
+    private static final long serialVersionUID = 30811617560110848L;
+
+    private final Type type;
+    private final String id;
+
+    /**
+     * The types of IAM identities.
+     */
+    public enum Type {
+      /**
+       * Represents anyone who is on the internet; with or without a Google account.
+       */
+      ALL_USERS,
+
+      /**
+       * Represents anyone who is authenticated with a Google account or a service account.
+       */
+      ALL_AUTHENTICATED_USERS,
+
+      /**
+       * Represents a specific Google account.
+       */
+      USER,
+
+      /**
+       * Represents a service account.
+       */
+      SERVICE_ACCOUNT,
+
+      /**
+       * Represents a Google group.
+       */
+      GROUP,
+
+      /**
+       * Represents all the users of a Google Apps domain name.
+       */
+      DOMAIN
+    }
+
+    Identity(Type type, String id) {
+      this.type = type;
+      this.id = id;
+    }
+
+    public Type type() {
+      return type;
+    }
+
+    /**
+     * Returns the string identifier for this identity. The id corresponds to:
+     * 
    + *
  • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and + * {@code GROUP}) + *
  • domain (for identities of type {@code DOMAIN}) + *
  • null (for identities of type {@code ALL_USERS} and {@code ALL_AUTHENTICATED_USERS}) + *
+ */ + public String id() { + return id; + } + + /** + * Returns a new identity representing anyone who is on the internet; with or without a Google + * account. + */ + public static Identity allUsers() { + return new Identity(Type.ALL_USERS, null); + } + + /** + * Returns a new identity representing anyone who is authenticated with a Google account or a + * service account. + */ + public static Identity allAuthenticatedUsers() { + return new Identity(Type.ALL_AUTHENTICATED_USERS, null); + } + + /** + * Returns a new user identity. + * + * @param email An email address that represents a specific Google account. For example, + * alice@gmail.com or joe@example.com. + */ + public static Identity user(String email) { + return new Identity(Type.USER, checkNotNull(email)); + } + + /** + * Returns a new service account identity. + * + * @param email An email address that represents a service account. For example, + * my-other-app@appspot.gserviceaccount.com. + */ + public static Identity serviceAccount(String email) { + return new Identity(Type.SERVICE_ACCOUNT, checkNotNull(email)); + } + + /** + * Returns a new group identity. + * + * @param email An email address that represents a Google group. For example, + * admins@example.com. + */ + public static Identity group(String email) { + return new Identity(Type.GROUP, checkNotNull(email)); + } + + /** + * Returns a new domain identity. + * + * @param domain A Google Apps domain name that represents all the users of that domain. For + * example, google.com or example.com. + */ + public static Identity domain(String domain) { + return new Identity(Type.DOMAIN, checkNotNull(domain)); + } + + @Override + public int hashCode() { + return Objects.hash(id, type); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof Identity)) { + return false; + } + Identity other = (Identity) obj; + return Objects.equals(toPb(), other.toPb()); + } + + String toPb() { + switch (type) { + case ALL_USERS: + return "allUsers"; + case ALL_AUTHENTICATED_USERS: + return "allAuthenticatedUsers"; + case USER: + return "user:" + id; + case SERVICE_ACCOUNT: + return "serviceAccount:" + id; + case GROUP: + return "group:" + id; + default: + return "domain:" + id; + } + } + + static Identity fromPb(String identityStr) { + String[] info = identityStr.split(":"); + switch (info[0]) { + case "allUsers": + return allUsers(); + case "allAuthenticatedUsers": + return allAuthenticatedUsers(); + case "user": + return user(info[1]); + case "serviceAccount": + return serviceAccount(info[1]); + case "group": + return group(info[1]); + case "domain": + return domain(info[1]); + default: + throw new IllegalArgumentException("Unexpected identity type: " + info[0]); + } + } + } + + /** + * An ACL binds a list of identities to a role, where the identities can be user accounts, Google + * groups, Google domains, and service accounts. A role is a named list of permissions defined by + * IAM. + * + * @see Binding + */ + public static class Acl implements Serializable { + + private static final long serialVersionUID = 3954282899483745158L; + + private final List identities; + private final String role; + + /** + * An ACL builder. + */ + public static class Builder { + private final List members = new LinkedList<>(); + private String role; + + Builder(String role) { + this.role = role; + } + + /** + * Sets the role associated with this ACL. + */ + public Builder role(String role) { + this.role = role; + return this; + } + + /** + * Replaces the builder's list of identities with the given list. + */ + public Builder identities(List identities) { + this.members.clear(); + this.members.addAll(identities); + return this; + } + + /** + * Adds one or more identities to the list of identities associated with the ACL. + */ + public Builder addIdentity(Identity first, Identity... others) { + members.add(first); + members.addAll(Arrays.asList(others)); + return this; + } + + /** + * Removes the specified identity from the ACL. + */ + public Builder removeIdentity(Identity identity) { + members.remove(identity); + return this; + } + + public Acl build() { + return new Acl(this); + } + } + + Acl(Builder builder) { + identities = ImmutableList.copyOf(checkNotNull(builder.members)); + role = checkNotNull(builder.role); + } + + /** + * Returns the list of identities associated with this ACL. + */ + public List identities() { + return identities; + } + + /** + * Returns the role associated with this ACL. + */ + public String role() { + return role; + } + + /** + * Returns an ACL builder for the specific role type. + * + * @param role string representing the role, without the "roles/" prefix. An example of a valid + * legacy role is "viewer". An example of a valid service-specific role is + * "pubsub.publisher". + */ + public static Builder builder(String role) { + return new Builder(role); + } + + /** + * Returns an ACL for the role type and list of identities provided. + * + * @param role string representing the role, without the "roles/" prefix. An example of a valid + * legacy role is "viewer". An example of a valid service-specific role is + * "pubsub.publisher". + * @param members list of identities associated with the role. + */ + public static Acl of(String role, List members) { + return new Acl(new Builder(role).identities(members)); + } + + /** + * Returns an ACL for the role type and identities provided. + * + * @param role string representing the role, without the "roles/" prefix. An example of a valid + * legacy role is "viewer". An example of a valid service-specific role is + * "pubsub.publisher". + * @param first identity associated with the role. + * @param others any other identities associated with the role. + */ + public static Acl of(String role, Identity first, Identity... others) { + return new Acl(new Builder(role).addIdentity(first, others)); + } + + public Builder toBuilder() { + return new Builder(role).identities(identities); + } + + @Override + public int hashCode() { + return Objects.hash(identities, role); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof Acl)) { + return false; + } + Acl other = (Acl) obj; + return Objects.equals(toPb(), other.toPb()); + } + + com.google.api.services.cloudresourcemanager.model.Binding toPb() { + com.google.api.services.cloudresourcemanager.model.Binding bindingPb = + new com.google.api.services.cloudresourcemanager.model.Binding(); + bindingPb.setMembers(Lists.transform(identities, new Function() { + @Override + public String apply(Identity identity) { + return identity.toPb(); + } + })); + bindingPb.setRole("roles/" + role); + return bindingPb; + } + + static Acl fromPb(com.google.api.services.cloudresourcemanager.model.Binding bindingPb) { + return of( + bindingPb.getRole().substring("roles/".length()), + Lists.transform(bindingPb.getMembers(), new Function() { + @Override + public Identity apply(String memberPb) { + return Identity.fromPb(memberPb); + } + })); + } + } + + /** + * Builder for an IAM Policy. + */ + public static class Builder { + + private final List acls = new LinkedList<>(); + private String etag; + private int version; + + /** + * Replaces the builder's list of ACLs with the given list of ACLs. + */ + public Builder acls(List acls) { + this.acls.clear(); + this.acls.addAll(acls); + return this; + } + + /** + * Adds one or more ACLs to the policy. + */ + public Builder addAcl(Acl first, Acl... others) { + acls.add(first); + acls.addAll(Arrays.asList(others)); + return this; + } + + /** + * Removes the specified ACL. + */ + public Builder removeAcl(Acl acl) { + acls.remove(acl); + return this; + } + + /** + * Sets the policy's etag. + * + *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid + * race 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. If no etag is provided in the call to + * setIamPolicy, then the existing policy is overwritten blindly. + */ + public Builder etag(String etag) { + this.etag = etag; + return this; + } + + /** + * Sets the version of the policy. The default version is 0. + */ + public Builder version(int version) { + this.version = version; + return this; + } + + public IamPolicy build() { + return new IamPolicy(this); + } + } + + IamPolicy(Builder builder) { + acls = ImmutableList.copyOf(builder.acls); + etag = builder.etag; + version = builder.version; + } + + /** + * The list of ACLs specified in the policy. + */ + public List acls() { + return acls; + } + + /** + * The policy's etag. + * + *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid + * race 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. If no etag is provided in the call to + * setIamPolicy, then the existing policy is overwritten blindly. + */ + public String etag() { + return etag; + } + + /** + * The version of the policy. The default version is 0. + */ + public int version() { + return version; + } + + @Override + public int hashCode() { + return Objects.hash(acls, etag, version); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof IamPolicy)) { + return false; + } + IamPolicy other = (IamPolicy) obj; + return Objects.equals(toPb(), other.toPb()); + } + + public static Builder builder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder().acls(acls).etag(etag).version(version); + } + + com.google.api.services.cloudresourcemanager.model.Policy toPb() { + com.google.api.services.cloudresourcemanager.model.Policy policyPb = + new com.google.api.services.cloudresourcemanager.model.Policy(); + policyPb.setBindings(Lists.transform( + acls, new Function() { + @Override + public com.google.api.services.cloudresourcemanager.model.Binding apply(Acl acl) { + return acl.toPb(); + } + })); + policyPb.setEtag(etag); + policyPb.setVersion(version); + return policyPb; + } + + static IamPolicy fromPb(com.google.api.services.cloudresourcemanager.model.Policy policyPb) { + Builder builder = new Builder(); + builder.acls(Lists.transform( + policyPb.getBindings(), + new Function() { + @Override + public Acl apply(com.google.api.services.cloudresourcemanager.model.Binding binding) { + return Acl.fromPb(binding); + } + })); + return builder.etag(policyPb.getEtag()).version(policyPb.getVersion()).build(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java new file mode 100644 index 000000000000..a87a0b5f287d --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java @@ -0,0 +1,126 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; + +import com.google.common.collect.ImmutableList; +import com.google.gcloud.IamPolicy.Acl; +import com.google.gcloud.IamPolicy.Identity; + +import org.junit.Test; + +public class IamPolicyTest { + + private static final Identity ALL_USERS = Identity.allUsers(); + private static final Identity ALL_AUTHENTICATED_USERS = Identity.allAuthenticatedUsers(); + private static final Identity USER = Identity.user("abc@gmail.com"); + private static final Identity SERVICE_ACCOUNT = + Identity.serviceAccount("service-account@gmail.com"); + private static final Identity GROUP = Identity.group("group@gmail.com"); + private static final Identity DOMAIN = Identity.domain("google.com"); + private static final Acl ACL1 = Acl.of("viewer", USER, SERVICE_ACCOUNT, ALL_USERS); + private static final Acl ACL2 = Acl.of("editor", ALL_AUTHENTICATED_USERS, GROUP, DOMAIN); + private static final IamPolicy FULL_POLICY = + IamPolicy.builder().addAcl(ACL1, ACL2).etag("etag").version(1).build(); + private static final IamPolicy SIMPLE_POLICY = IamPolicy.builder().addAcl(ACL1, ACL2).build(); + + @Test + public void testIdentityOf() { + assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); + assertEquals(null, ALL_USERS.id()); + assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTHENTICATED_USERS.type()); + assertEquals(null, ALL_AUTHENTICATED_USERS.id()); + assertEquals(Identity.Type.USER, USER.type()); + assertEquals("abc@gmail.com", USER.id()); + assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); + assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.id()); + assertEquals(Identity.Type.GROUP, GROUP.type()); + assertEquals("group@gmail.com", GROUP.id()); + assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); + assertEquals("google.com", DOMAIN.id()); + } + + @Test + public void testIdentityToAndFromPb() { + assertEquals(ALL_USERS, Identity.fromPb(ALL_USERS.toPb())); + assertEquals(ALL_AUTHENTICATED_USERS, Identity.fromPb(ALL_AUTHENTICATED_USERS.toPb())); + assertEquals(USER, Identity.fromPb(USER.toPb())); + assertEquals(SERVICE_ACCOUNT, Identity.fromPb(SERVICE_ACCOUNT.toPb())); + assertEquals(GROUP, Identity.fromPb(GROUP.toPb())); + assertEquals(DOMAIN, Identity.fromPb(DOMAIN.toPb())); + } + + @Test + public void testAclBuilder() { + Acl acl = Acl.builder("owner").addIdentity(USER, GROUP).build(); + assertEquals("owner", acl.role()); + assertEquals(ImmutableList.of(USER, GROUP), acl.identities()); + acl = acl.toBuilder().role("viewer").removeIdentity(GROUP).build(); + assertEquals("viewer", acl.role()); + assertEquals(ImmutableList.of(USER), acl.identities()); + acl = acl.toBuilder().identities(ImmutableList.of(SERVICE_ACCOUNT)).build(); + assertEquals("viewer", acl.role()); + assertEquals(ImmutableList.of(SERVICE_ACCOUNT), acl.identities()); + } + + @Test + public void testAclOf() { + assertEquals("viewer", ACL1.role()); + assertEquals(ImmutableList.of(USER, SERVICE_ACCOUNT, ALL_USERS), ACL1.identities()); + Acl aclFromIdentitiesList = Acl.of("editor", ImmutableList.of(USER, SERVICE_ACCOUNT)); + assertEquals("editor", aclFromIdentitiesList.role()); + assertEquals(ImmutableList.of(USER, SERVICE_ACCOUNT), aclFromIdentitiesList.identities()); + } + + @Test + public void testAclToBuilder() { + assertEquals(ACL1, ACL1.toBuilder().build()); + } + + @Test + public void testAclToAndFromPb() { + assertEquals(ACL1, Acl.fromPb(ACL1.toPb())); + } + + @Test + public void testIamPolicyBuilder() { + assertEquals(ImmutableList.of(ACL1, ACL2), FULL_POLICY.acls()); + assertEquals("etag", FULL_POLICY.etag()); + assertEquals(1, FULL_POLICY.version()); + IamPolicy policy = FULL_POLICY.toBuilder().acls(ImmutableList.of(ACL2)).build(); + assertEquals(ImmutableList.of(ACL2), policy.acls()); + assertEquals("etag", policy.etag()); + assertEquals(1, policy.version()); + policy = SIMPLE_POLICY.toBuilder().removeAcl(ACL2).build(); + assertEquals(ImmutableList.of(ACL1), policy.acls()); + assertEquals(null, policy.etag()); + assertEquals(0, policy.version()); + } + + @Test + public void testIamPolicyToBuilder() { + assertEquals(FULL_POLICY, FULL_POLICY.toBuilder().build()); + assertEquals(SIMPLE_POLICY, SIMPLE_POLICY.toBuilder().build()); + } + + @Test + public void testToAndFromPb() { + assertEquals(FULL_POLICY, IamPolicy.fromPb(FULL_POLICY.toPb())); + assertEquals(SIMPLE_POLICY, IamPolicy.fromPb(SIMPLE_POLICY.toPb())); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java new file mode 100644 index 000000000000..b529b2c09ff5 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -0,0 +1,49 @@ +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotSame; + +import com.google.common.collect.ImmutableList; +import com.google.gcloud.IamPolicy.Acl; +import com.google.gcloud.IamPolicy.Identity; + +import org.junit.Test; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.io.Serializable; + +public class SerializationTest { + + private static final Identity IDENTITY = Identity.user("abc@gmail.com"); + private static final Acl ACL = Acl.of("viewer", ImmutableList.of(IDENTITY)); + private static final IamPolicy POLICY = + IamPolicy.builder().acls(ImmutableList.of(ACL)).etag("etag").version(1).build(); + + @Test + public void testModelAndRequests() throws Exception { + Serializable[] objects = {IDENTITY, ACL, POLICY}; + for (Serializable obj : objects) { + Object copy = serializeAndDeserialize(obj); + assertEquals(obj, obj); + assertEquals(obj, copy); + assertNotSame(obj, copy); + assertEquals(copy, copy); + } + } + + @SuppressWarnings("unchecked") + private T serializeAndDeserialize(T obj) throws IOException, ClassNotFoundException { + ByteArrayOutputStream bytes = new ByteArrayOutputStream(); + try (ObjectOutputStream output = new ObjectOutputStream(bytes)) { + output.writeObject(obj); + } + try (ObjectInputStream input = + new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()))) { + return (T) input.readObject(); + } + } +} From 470bd4f90f378c23b6cd465490c3bca9cf70acbd Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 18 Feb 2016 16:29:47 -0800 Subject: [PATCH 0118/3036] move to/fromPb functions to Resource Manager --- java-core/google-cloud-core/pom.xml | 12 --- .../java/com/google/gcloud/IamPolicy.java | 98 +------------------ .../java/com/google/gcloud/IamPolicyTest.java | 27 +---- 3 files changed, 7 insertions(+), 130 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 67d3af27d1a8..3463f40b52bd 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -16,18 +16,6 @@ gcloud-java-core - - com.google.apis - google-api-services-cloudresourcemanager - v1beta1-rev10-1.21.0 - compile - - - com.google.guava - guava-jdk5 - - - com.google.auth google-auth-library-credentials diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java index 31099729564a..a16ab790b363 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java @@ -18,9 +18,7 @@ import static com.google.common.base.Preconditions.checkNotNull; -import com.google.common.base.Function; import com.google.common.collect.ImmutableList; -import com.google.common.collect.Lists; import java.io.Serializable; import java.util.Arrays; @@ -176,44 +174,7 @@ public boolean equals(Object obj) { return false; } Identity other = (Identity) obj; - return Objects.equals(toPb(), other.toPb()); - } - - String toPb() { - switch (type) { - case ALL_USERS: - return "allUsers"; - case ALL_AUTHENTICATED_USERS: - return "allAuthenticatedUsers"; - case USER: - return "user:" + id; - case SERVICE_ACCOUNT: - return "serviceAccount:" + id; - case GROUP: - return "group:" + id; - default: - return "domain:" + id; - } - } - - static Identity fromPb(String identityStr) { - String[] info = identityStr.split(":"); - switch (info[0]) { - case "allUsers": - return allUsers(); - case "allAuthenticatedUsers": - return allAuthenticatedUsers(); - case "user": - return user(info[1]); - case "serviceAccount": - return serviceAccount(info[1]); - case "group": - return group(info[1]); - case "domain": - return domain(info[1]); - default: - throw new IllegalArgumentException("Unexpected identity type: " + info[0]); - } + return Objects.equals(id, other.id()) && Objects.equals(type, other.type()); } } @@ -351,31 +312,7 @@ public boolean equals(Object obj) { return false; } Acl other = (Acl) obj; - return Objects.equals(toPb(), other.toPb()); - } - - com.google.api.services.cloudresourcemanager.model.Binding toPb() { - com.google.api.services.cloudresourcemanager.model.Binding bindingPb = - new com.google.api.services.cloudresourcemanager.model.Binding(); - bindingPb.setMembers(Lists.transform(identities, new Function() { - @Override - public String apply(Identity identity) { - return identity.toPb(); - } - })); - bindingPb.setRole("roles/" + role); - return bindingPb; - } - - static Acl fromPb(com.google.api.services.cloudresourcemanager.model.Binding bindingPb) { - return of( - bindingPb.getRole().substring("roles/".length()), - Lists.transform(bindingPb.getMembers(), new Function() { - @Override - public Identity apply(String memberPb) { - return Identity.fromPb(memberPb); - } - })); + return Objects.equals(identities, other.identities()) && Objects.equals(role, other.role()); } } @@ -489,7 +426,8 @@ public boolean equals(Object obj) { return false; } IamPolicy other = (IamPolicy) obj; - return Objects.equals(toPb(), other.toPb()); + return Objects.equals(acls, other.acls()) && Objects.equals(etag, other.etag()) + && Objects.equals(version, other.version()); } public static Builder builder() { @@ -499,32 +437,4 @@ public static Builder builder() { public Builder toBuilder() { return new Builder().acls(acls).etag(etag).version(version); } - - com.google.api.services.cloudresourcemanager.model.Policy toPb() { - com.google.api.services.cloudresourcemanager.model.Policy policyPb = - new com.google.api.services.cloudresourcemanager.model.Policy(); - policyPb.setBindings(Lists.transform( - acls, new Function() { - @Override - public com.google.api.services.cloudresourcemanager.model.Binding apply(Acl acl) { - return acl.toPb(); - } - })); - policyPb.setEtag(etag); - policyPb.setVersion(version); - return policyPb; - } - - static IamPolicy fromPb(com.google.api.services.cloudresourcemanager.model.Policy policyPb) { - Builder builder = new Builder(); - builder.acls(Lists.transform( - policyPb.getBindings(), - new Function() { - @Override - public Acl apply(com.google.api.services.cloudresourcemanager.model.Binding binding) { - return Acl.fromPb(binding); - } - })); - return builder.etag(policyPb.getEtag()).version(policyPb.getVersion()).build(); - } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java index a87a0b5f287d..76a57b5fef50 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java @@ -55,16 +55,6 @@ public void testIdentityOf() { assertEquals("google.com", DOMAIN.id()); } - @Test - public void testIdentityToAndFromPb() { - assertEquals(ALL_USERS, Identity.fromPb(ALL_USERS.toPb())); - assertEquals(ALL_AUTHENTICATED_USERS, Identity.fromPb(ALL_AUTHENTICATED_USERS.toPb())); - assertEquals(USER, Identity.fromPb(USER.toPb())); - assertEquals(SERVICE_ACCOUNT, Identity.fromPb(SERVICE_ACCOUNT.toPb())); - assertEquals(GROUP, Identity.fromPb(GROUP.toPb())); - assertEquals(DOMAIN, Identity.fromPb(DOMAIN.toPb())); - } - @Test public void testAclBuilder() { Acl acl = Acl.builder("owner").addIdentity(USER, GROUP).build(); @@ -82,9 +72,9 @@ public void testAclBuilder() { public void testAclOf() { assertEquals("viewer", ACL1.role()); assertEquals(ImmutableList.of(USER, SERVICE_ACCOUNT, ALL_USERS), ACL1.identities()); - Acl aclFromIdentitiesList = Acl.of("editor", ImmutableList.of(USER, SERVICE_ACCOUNT)); - assertEquals("editor", aclFromIdentitiesList.role()); - assertEquals(ImmutableList.of(USER, SERVICE_ACCOUNT), aclFromIdentitiesList.identities()); + Acl aclFromList = Acl.of("editor", ImmutableList.of(USER, SERVICE_ACCOUNT)); + assertEquals("editor", aclFromList.role()); + assertEquals(ImmutableList.of(USER, SERVICE_ACCOUNT), aclFromList.identities()); } @Test @@ -92,11 +82,6 @@ public void testAclToBuilder() { assertEquals(ACL1, ACL1.toBuilder().build()); } - @Test - public void testAclToAndFromPb() { - assertEquals(ACL1, Acl.fromPb(ACL1.toPb())); - } - @Test public void testIamPolicyBuilder() { assertEquals(ImmutableList.of(ACL1, ACL2), FULL_POLICY.acls()); @@ -117,10 +102,4 @@ public void testIamPolicyToBuilder() { assertEquals(FULL_POLICY, FULL_POLICY.toBuilder().build()); assertEquals(SIMPLE_POLICY, SIMPLE_POLICY.toBuilder().build()); } - - @Test - public void testToAndFromPb() { - assertEquals(FULL_POLICY, IamPolicy.fromPb(FULL_POLICY.toPb())); - assertEquals(SIMPLE_POLICY, IamPolicy.fromPb(SIMPLE_POLICY.toPb())); - } } From ea1f360f5e58c73e9d599df6457f8bab209c1b7e Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 18 Feb 2016 17:33:13 -0800 Subject: [PATCH 0119/3036] variable rename to make codacy happy --- .../src/test/java/com/google/gcloud/IamPolicyTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java index 76a57b5fef50..0d4e9fbfa6c8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java @@ -27,14 +27,14 @@ public class IamPolicyTest { private static final Identity ALL_USERS = Identity.allUsers(); - private static final Identity ALL_AUTHENTICATED_USERS = Identity.allAuthenticatedUsers(); + private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); private static final Identity USER = Identity.user("abc@gmail.com"); private static final Identity SERVICE_ACCOUNT = Identity.serviceAccount("service-account@gmail.com"); private static final Identity GROUP = Identity.group("group@gmail.com"); private static final Identity DOMAIN = Identity.domain("google.com"); private static final Acl ACL1 = Acl.of("viewer", USER, SERVICE_ACCOUNT, ALL_USERS); - private static final Acl ACL2 = Acl.of("editor", ALL_AUTHENTICATED_USERS, GROUP, DOMAIN); + private static final Acl ACL2 = Acl.of("editor", ALL_AUTH_USERS, GROUP, DOMAIN); private static final IamPolicy FULL_POLICY = IamPolicy.builder().addAcl(ACL1, ACL2).etag("etag").version(1).build(); private static final IamPolicy SIMPLE_POLICY = IamPolicy.builder().addAcl(ACL1, ACL2).build(); @@ -43,8 +43,8 @@ public class IamPolicyTest { public void testIdentityOf() { assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); assertEquals(null, ALL_USERS.id()); - assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTHENTICATED_USERS.type()); - assertEquals(null, ALL_AUTHENTICATED_USERS.id()); + assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); + assertEquals(null, ALL_AUTH_USERS.id()); assertEquals(Identity.Type.USER, USER.type()); assertEquals("abc@gmail.com", USER.id()); assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); From db5ec9b8f0c445d6f8d9f5d65c5a73409e45fcee Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 19 Feb 2016 07:46:43 -0800 Subject: [PATCH 0120/3036] Update version for release --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3463f40b52bd..bc5e9c78ba87 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.4-SNAPSHOT + 0.1.4 gcloud-java-core From 2be350297e0ae03d6ffdc27a157ad441d56a87a1 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Fri, 19 Feb 2016 16:22:46 +0000 Subject: [PATCH 0121/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b7e5e05b6ad3..bc9463b9cc2b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.1.3 + 0.1.4 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:0.1.3' +compile 'com.google.gcloud:gcloud-java-core:0.1.4' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.3" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.4" ``` Troubleshooting From d8e3ef820c08f097877b5f3a92ec8e9abb51984a Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 19 Feb 2016 08:38:20 -0800 Subject: [PATCH 0122/3036] Update version to 0.1.5-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index bc5e9c78ba87..d07a567b7e5a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.4 + 0.1.5-SNAPSHOT gcloud-java-core From 269784465874e8f8b0f16dc5952c19383d145d36 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 19 Feb 2016 20:08:22 -0800 Subject: [PATCH 0123/3036] Make BaseIamPolicy in core and a subclass in Resource Manager --- .../{IamPolicy.java => BaseIamPolicy.java} | 245 ++++-------------- .../com/google/gcloud/BaseIamPolicyTest.java | 50 ++++ .../java/com/google/gcloud/IamPolicyTest.java | 105 -------- .../com/google/gcloud/SerializationTest.java | 49 ---- 4 files changed, 101 insertions(+), 348 deletions(-) rename java-core/google-cloud-core/src/main/java/com/google/gcloud/{IamPolicy.java => BaseIamPolicy.java} (50%) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseIamPolicy.java similarity index 50% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java rename to java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseIamPolicy.java index a16ab790b363..bc0aed43b95d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseIamPolicy.java @@ -21,29 +21,28 @@ import com.google.common.collect.ImmutableList; import java.io.Serializable; -import java.util.Arrays; -import java.util.LinkedList; +import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.Objects; /** - * An Identity and Access Management (IAM) policy. It is used to specify access control policies for - * Cloud Platform resources. A Policy consists of a list of ACLs (also known as bindings in Cloud - * IAM documentation). An ACL binds a list of identities to a role, where the identities can be user - * accounts, Google groups, Google domains, and service accounts. A role is a named list of - * permissions defined by IAM. + * Base class for Identity and Access Management (IAM) policies. IAM policies are used to specify + * access settings for Cloud Platform resources. A Policy consists of a list of bindings. An binding + * assigns a list of identities to a role, where the identities can be user accounts, Google groups, + * Google domains, and service accounts. A role is a named list of permissions defined by IAM. * * @see Policy */ -public class IamPolicy implements Serializable { +public abstract class BaseIamPolicy implements Serializable { - static final long serialVersionUID = 1114489978726897720L; + private static final long serialVersionUID = 1114489978726897720L; - private final List acls; + private final Map> bindings; private final String etag; private final int version; - public static class Identity implements Serializable { + public static final class Identity implements Serializable { private static final long serialVersionUID = 30811617560110848L; @@ -85,7 +84,7 @@ public enum Type { DOMAIN } - Identity(Type type, String id) { + private Identity(Type type, String id) { this.type = type; this.id = id; } @@ -178,177 +177,38 @@ public boolean equals(Object obj) { } } - /** - * An ACL binds a list of identities to a role, where the identities can be user accounts, Google - * groups, Google domains, and service accounts. A role is a named list of permissions defined by - * IAM. - * - * @see Binding - */ - public static class Acl implements Serializable { - - private static final long serialVersionUID = 3954282899483745158L; - - private final List identities; - private final String role; - - /** - * An ACL builder. - */ - public static class Builder { - private final List members = new LinkedList<>(); - private String role; - - Builder(String role) { - this.role = role; - } - - /** - * Sets the role associated with this ACL. - */ - public Builder role(String role) { - this.role = role; - return this; - } - - /** - * Replaces the builder's list of identities with the given list. - */ - public Builder identities(List identities) { - this.members.clear(); - this.members.addAll(identities); - return this; - } - - /** - * Adds one or more identities to the list of identities associated with the ACL. - */ - public Builder addIdentity(Identity first, Identity... others) { - members.add(first); - members.addAll(Arrays.asList(others)); - return this; - } - - /** - * Removes the specified identity from the ACL. - */ - public Builder removeIdentity(Identity identity) { - members.remove(identity); - return this; - } - - public Acl build() { - return new Acl(this); - } - } - - Acl(Builder builder) { - identities = ImmutableList.copyOf(checkNotNull(builder.members)); - role = checkNotNull(builder.role); - } - - /** - * Returns the list of identities associated with this ACL. - */ - public List identities() { - return identities; - } - - /** - * Returns the role associated with this ACL. - */ - public String role() { - return role; - } - - /** - * Returns an ACL builder for the specific role type. - * - * @param role string representing the role, without the "roles/" prefix. An example of a valid - * legacy role is "viewer". An example of a valid service-specific role is - * "pubsub.publisher". - */ - public static Builder builder(String role) { - return new Builder(role); - } - - /** - * Returns an ACL for the role type and list of identities provided. - * - * @param role string representing the role, without the "roles/" prefix. An example of a valid - * legacy role is "viewer". An example of a valid service-specific role is - * "pubsub.publisher". - * @param members list of identities associated with the role. - */ - public static Acl of(String role, List members) { - return new Acl(new Builder(role).identities(members)); - } - - /** - * Returns an ACL for the role type and identities provided. - * - * @param role string representing the role, without the "roles/" prefix. An example of a valid - * legacy role is "viewer". An example of a valid service-specific role is - * "pubsub.publisher". - * @param first identity associated with the role. - * @param others any other identities associated with the role. - */ - public static Acl of(String role, Identity first, Identity... others) { - return new Acl(new Builder(role).addIdentity(first, others)); - } - - public Builder toBuilder() { - return new Builder(role).identities(identities); - } - - @Override - public int hashCode() { - return Objects.hash(identities, role); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof Acl)) { - return false; - } - Acl other = (Acl) obj; - return Objects.equals(identities, other.identities()) && Objects.equals(role, other.role()); - } - } - /** * Builder for an IAM Policy. */ - public static class Builder { + protected abstract static class BaseBuilder> { - private final List acls = new LinkedList<>(); + private final Map> bindings = new HashMap<>(); private String etag; private int version; /** - * Replaces the builder's list of ACLs with the given list of ACLs. + * Replaces the builder's list of bindings with the given list of bindings. */ - public Builder acls(List acls) { - this.acls.clear(); - this.acls.addAll(acls); - return this; + public B bindings(Map> bindings) { + this.bindings.clear(); + this.bindings.putAll(bindings); + return self(); } /** - * Adds one or more ACLs to the policy. + * Adds one or more bindings to the policy. */ - public Builder addAcl(Acl first, Acl... others) { - acls.add(first); - acls.addAll(Arrays.asList(others)); - return this; + public B addBinding(R role, List identities) { + bindings.put(role, ImmutableList.copyOf(identities)); + return self(); } /** * Removes the specified ACL. */ - public Builder removeAcl(Acl acl) { - acls.remove(acl); - return this; + public B removeBinding(R role) { + bindings.remove(role); + return self(); } /** @@ -362,35 +222,40 @@ public Builder removeAcl(Acl acl) { * applied to the same version of the policy. If no etag is provided in the call to * setIamPolicy, then the existing policy is overwritten blindly. */ - public Builder etag(String etag) { + protected B etag(String etag) { this.etag = etag; - return this; + return self(); } /** - * Sets the version of the policy. The default version is 0. + * Sets the version of the policy. The default version is 0, meaning roles that are in alpha + * (non-legacy) roles are not permitted. If the version is 1, you may use roles other than + * "owner", "editor", and "viewer". */ - public Builder version(int version) { + protected B version(int version) { this.version = version; - return this; + return self(); } - public IamPolicy build() { - return new IamPolicy(this); + @SuppressWarnings("unchecked") + private B self() { + return (B) this; } + + public abstract BaseIamPolicy build(); } - IamPolicy(Builder builder) { - acls = ImmutableList.copyOf(builder.acls); - etag = builder.etag; - version = builder.version; + protected BaseIamPolicy(BaseBuilder> builder) { + this.bindings = builder.bindings; + this.etag = builder.etag; + this.version = builder.version; } /** * The list of ACLs specified in the policy. */ - public List acls() { - return acls; + public Map> bindings() { + return bindings; } /** @@ -415,26 +280,18 @@ public int version() { return version; } - @Override - public int hashCode() { - return Objects.hash(acls, etag, version); + public int baseHashCode() { + return Objects.hash(bindings, etag, version); } - @Override - public boolean equals(Object obj) { - if (!(obj instanceof IamPolicy)) { + public boolean baseEquals(Object obj) { + if (!(obj instanceof BaseIamPolicy)) { return false; } - IamPolicy other = (IamPolicy) obj; - return Objects.equals(acls, other.acls()) && Objects.equals(etag, other.etag()) + @SuppressWarnings("rawtypes") + BaseIamPolicy other = (BaseIamPolicy) obj; + return Objects.equals(bindings, other.bindings()) + && Objects.equals(etag, other.etag()) && Objects.equals(version, other.version()); } - - public static Builder builder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder().acls(acls).etag(etag).version(version); - } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java new file mode 100644 index 000000000000..0c26bc806812 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java @@ -0,0 +1,50 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; + +import com.google.gcloud.BaseIamPolicy.Identity; + +import org.junit.Test; + +public class BaseIamPolicyTest { + + private static final Identity ALL_USERS = Identity.allUsers(); + private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); + private static final Identity USER = Identity.user("abc@gmail.com"); + private static final Identity SERVICE_ACCOUNT = + Identity.serviceAccount("service-account@gmail.com"); + private static final Identity GROUP = Identity.group("group@gmail.com"); + private static final Identity DOMAIN = Identity.domain("google.com"); + + @Test + public void testIdentityOf() { + assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); + assertEquals(null, ALL_USERS.id()); + assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); + assertEquals(null, ALL_AUTH_USERS.id()); + assertEquals(Identity.Type.USER, USER.type()); + assertEquals("abc@gmail.com", USER.id()); + assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); + assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.id()); + assertEquals(Identity.Type.GROUP, GROUP.type()); + assertEquals("group@gmail.com", GROUP.id()); + assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); + assertEquals("google.com", DOMAIN.id()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java deleted file mode 100644 index 0d4e9fbfa6c8..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.gcloud; - -import static org.junit.Assert.assertEquals; - -import com.google.common.collect.ImmutableList; -import com.google.gcloud.IamPolicy.Acl; -import com.google.gcloud.IamPolicy.Identity; - -import org.junit.Test; - -public class IamPolicyTest { - - private static final Identity ALL_USERS = Identity.allUsers(); - private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); - private static final Identity USER = Identity.user("abc@gmail.com"); - private static final Identity SERVICE_ACCOUNT = - Identity.serviceAccount("service-account@gmail.com"); - private static final Identity GROUP = Identity.group("group@gmail.com"); - private static final Identity DOMAIN = Identity.domain("google.com"); - private static final Acl ACL1 = Acl.of("viewer", USER, SERVICE_ACCOUNT, ALL_USERS); - private static final Acl ACL2 = Acl.of("editor", ALL_AUTH_USERS, GROUP, DOMAIN); - private static final IamPolicy FULL_POLICY = - IamPolicy.builder().addAcl(ACL1, ACL2).etag("etag").version(1).build(); - private static final IamPolicy SIMPLE_POLICY = IamPolicy.builder().addAcl(ACL1, ACL2).build(); - - @Test - public void testIdentityOf() { - assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); - assertEquals(null, ALL_USERS.id()); - assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); - assertEquals(null, ALL_AUTH_USERS.id()); - assertEquals(Identity.Type.USER, USER.type()); - assertEquals("abc@gmail.com", USER.id()); - assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); - assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.id()); - assertEquals(Identity.Type.GROUP, GROUP.type()); - assertEquals("group@gmail.com", GROUP.id()); - assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); - assertEquals("google.com", DOMAIN.id()); - } - - @Test - public void testAclBuilder() { - Acl acl = Acl.builder("owner").addIdentity(USER, GROUP).build(); - assertEquals("owner", acl.role()); - assertEquals(ImmutableList.of(USER, GROUP), acl.identities()); - acl = acl.toBuilder().role("viewer").removeIdentity(GROUP).build(); - assertEquals("viewer", acl.role()); - assertEquals(ImmutableList.of(USER), acl.identities()); - acl = acl.toBuilder().identities(ImmutableList.of(SERVICE_ACCOUNT)).build(); - assertEquals("viewer", acl.role()); - assertEquals(ImmutableList.of(SERVICE_ACCOUNT), acl.identities()); - } - - @Test - public void testAclOf() { - assertEquals("viewer", ACL1.role()); - assertEquals(ImmutableList.of(USER, SERVICE_ACCOUNT, ALL_USERS), ACL1.identities()); - Acl aclFromList = Acl.of("editor", ImmutableList.of(USER, SERVICE_ACCOUNT)); - assertEquals("editor", aclFromList.role()); - assertEquals(ImmutableList.of(USER, SERVICE_ACCOUNT), aclFromList.identities()); - } - - @Test - public void testAclToBuilder() { - assertEquals(ACL1, ACL1.toBuilder().build()); - } - - @Test - public void testIamPolicyBuilder() { - assertEquals(ImmutableList.of(ACL1, ACL2), FULL_POLICY.acls()); - assertEquals("etag", FULL_POLICY.etag()); - assertEquals(1, FULL_POLICY.version()); - IamPolicy policy = FULL_POLICY.toBuilder().acls(ImmutableList.of(ACL2)).build(); - assertEquals(ImmutableList.of(ACL2), policy.acls()); - assertEquals("etag", policy.etag()); - assertEquals(1, policy.version()); - policy = SIMPLE_POLICY.toBuilder().removeAcl(ACL2).build(); - assertEquals(ImmutableList.of(ACL1), policy.acls()); - assertEquals(null, policy.etag()); - assertEquals(0, policy.version()); - } - - @Test - public void testIamPolicyToBuilder() { - assertEquals(FULL_POLICY, FULL_POLICY.toBuilder().build()); - assertEquals(SIMPLE_POLICY, SIMPLE_POLICY.toBuilder().build()); - } -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java deleted file mode 100644 index b529b2c09ff5..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ /dev/null @@ -1,49 +0,0 @@ -package com.google.gcloud; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotSame; - -import com.google.common.collect.ImmutableList; -import com.google.gcloud.IamPolicy.Acl; -import com.google.gcloud.IamPolicy.Identity; - -import org.junit.Test; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; -import java.io.Serializable; - -public class SerializationTest { - - private static final Identity IDENTITY = Identity.user("abc@gmail.com"); - private static final Acl ACL = Acl.of("viewer", ImmutableList.of(IDENTITY)); - private static final IamPolicy POLICY = - IamPolicy.builder().acls(ImmutableList.of(ACL)).etag("etag").version(1).build(); - - @Test - public void testModelAndRequests() throws Exception { - Serializable[] objects = {IDENTITY, ACL, POLICY}; - for (Serializable obj : objects) { - Object copy = serializeAndDeserialize(obj); - assertEquals(obj, obj); - assertEquals(obj, copy); - assertNotSame(obj, copy); - assertEquals(copy, copy); - } - } - - @SuppressWarnings("unchecked") - private T serializeAndDeserialize(T obj) throws IOException, ClassNotFoundException { - ByteArrayOutputStream bytes = new ByteArrayOutputStream(); - try (ObjectOutputStream output = new ObjectOutputStream(bytes)) { - output.writeObject(obj); - } - try (ObjectInputStream input = - new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()))) { - return (T) input.readObject(); - } - } -} From 4a7917d32810f2e9aec7bfe61c233af347911410 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 22 Feb 2016 09:51:53 -0800 Subject: [PATCH 0124/3036] Fix equals, javadoc, bindings representation, and address other comments. --- .../java/com/google/gcloud/BaseIamPolicy.java | 297 ------------------ .../java/com/google/gcloud/IamPolicy.java | 213 +++++++++++++ .../main/java/com/google/gcloud/Identity.java | 208 ++++++++++++ .../com/google/gcloud/BaseIamPolicyTest.java | 50 --- .../java/com/google/gcloud/IamPolicyTest.java | 173 ++++++++++ .../java/com/google/gcloud/IdentityTest.java | 110 +++++++ 6 files changed, 704 insertions(+), 347 deletions(-) delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseIamPolicy.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseIamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseIamPolicy.java deleted file mode 100644 index bc0aed43b95d..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseIamPolicy.java +++ /dev/null @@ -1,297 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.gcloud; - -import static com.google.common.base.Preconditions.checkNotNull; - -import com.google.common.collect.ImmutableList; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -/** - * Base class for Identity and Access Management (IAM) policies. IAM policies are used to specify - * access settings for Cloud Platform resources. A Policy consists of a list of bindings. An binding - * assigns a list of identities to a role, where the identities can be user accounts, Google groups, - * Google domains, and service accounts. A role is a named list of permissions defined by IAM. - * - * @see Policy - */ -public abstract class BaseIamPolicy implements Serializable { - - private static final long serialVersionUID = 1114489978726897720L; - - private final Map> bindings; - private final String etag; - private final int version; - - public static final class Identity implements Serializable { - - private static final long serialVersionUID = 30811617560110848L; - - private final Type type; - private final String id; - - /** - * The types of IAM identities. - */ - public enum Type { - /** - * Represents anyone who is on the internet; with or without a Google account. - */ - ALL_USERS, - - /** - * Represents anyone who is authenticated with a Google account or a service account. - */ - ALL_AUTHENTICATED_USERS, - - /** - * Represents a specific Google account. - */ - USER, - - /** - * Represents a service account. - */ - SERVICE_ACCOUNT, - - /** - * Represents a Google group. - */ - GROUP, - - /** - * Represents all the users of a Google Apps domain name. - */ - DOMAIN - } - - private Identity(Type type, String id) { - this.type = type; - this.id = id; - } - - public Type type() { - return type; - } - - /** - * Returns the string identifier for this identity. The id corresponds to: - *

    - *
  • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and - * {@code GROUP}) - *
  • domain (for identities of type {@code DOMAIN}) - *
  • null (for identities of type {@code ALL_USERS} and {@code ALL_AUTHENTICATED_USERS}) - *
- */ - public String id() { - return id; - } - - /** - * Returns a new identity representing anyone who is on the internet; with or without a Google - * account. - */ - public static Identity allUsers() { - return new Identity(Type.ALL_USERS, null); - } - - /** - * Returns a new identity representing anyone who is authenticated with a Google account or a - * service account. - */ - public static Identity allAuthenticatedUsers() { - return new Identity(Type.ALL_AUTHENTICATED_USERS, null); - } - - /** - * Returns a new user identity. - * - * @param email An email address that represents a specific Google account. For example, - * alice@gmail.com or joe@example.com. - */ - public static Identity user(String email) { - return new Identity(Type.USER, checkNotNull(email)); - } - - /** - * Returns a new service account identity. - * - * @param email An email address that represents a service account. For example, - * my-other-app@appspot.gserviceaccount.com. - */ - public static Identity serviceAccount(String email) { - return new Identity(Type.SERVICE_ACCOUNT, checkNotNull(email)); - } - - /** - * Returns a new group identity. - * - * @param email An email address that represents a Google group. For example, - * admins@example.com. - */ - public static Identity group(String email) { - return new Identity(Type.GROUP, checkNotNull(email)); - } - - /** - * Returns a new domain identity. - * - * @param domain A Google Apps domain name that represents all the users of that domain. For - * example, google.com or example.com. - */ - public static Identity domain(String domain) { - return new Identity(Type.DOMAIN, checkNotNull(domain)); - } - - @Override - public int hashCode() { - return Objects.hash(id, type); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof Identity)) { - return false; - } - Identity other = (Identity) obj; - return Objects.equals(id, other.id()) && Objects.equals(type, other.type()); - } - } - - /** - * Builder for an IAM Policy. - */ - protected abstract static class BaseBuilder> { - - private final Map> bindings = new HashMap<>(); - private String etag; - private int version; - - /** - * Replaces the builder's list of bindings with the given list of bindings. - */ - public B bindings(Map> bindings) { - this.bindings.clear(); - this.bindings.putAll(bindings); - return self(); - } - - /** - * Adds one or more bindings to the policy. - */ - public B addBinding(R role, List identities) { - bindings.put(role, ImmutableList.copyOf(identities)); - return self(); - } - - /** - * Removes the specified ACL. - */ - public B removeBinding(R role) { - bindings.remove(role); - return self(); - } - - /** - * Sets the policy's etag. - * - *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous - * updates of a policy from overwriting each other. It is strongly suggested that systems make - * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid - * race 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. If no etag is provided in the call to - * setIamPolicy, then the existing policy is overwritten blindly. - */ - protected B etag(String etag) { - this.etag = etag; - return self(); - } - - /** - * Sets the version of the policy. The default version is 0, meaning roles that are in alpha - * (non-legacy) roles are not permitted. If the version is 1, you may use roles other than - * "owner", "editor", and "viewer". - */ - protected B version(int version) { - this.version = version; - return self(); - } - - @SuppressWarnings("unchecked") - private B self() { - return (B) this; - } - - public abstract BaseIamPolicy build(); - } - - protected BaseIamPolicy(BaseBuilder> builder) { - this.bindings = builder.bindings; - this.etag = builder.etag; - this.version = builder.version; - } - - /** - * The list of ACLs specified in the policy. - */ - public Map> bindings() { - return bindings; - } - - /** - * The policy's etag. - * - *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous - * updates of a policy from overwriting each other. It is strongly suggested that systems make - * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid - * race 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. If no etag is provided in the call to - * setIamPolicy, then the existing policy is overwritten blindly. - */ - public String etag() { - return etag; - } - - /** - * The version of the policy. The default version is 0. - */ - public int version() { - return version; - } - - public int baseHashCode() { - return Objects.hash(bindings, etag, version); - } - - public boolean baseEquals(Object obj) { - if (!(obj instanceof BaseIamPolicy)) { - return false; - } - @SuppressWarnings("rawtypes") - BaseIamPolicy other = (BaseIamPolicy) obj; - return Objects.equals(bindings, other.bindings()) - && Objects.equals(etag, other.etag()) - && Objects.equals(version, other.version()); - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java new file mode 100644 index 000000000000..ed9dcf9503c7 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java @@ -0,0 +1,213 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static com.google.common.base.Preconditions.checkArgument; + +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; + +import java.io.Serializable; +import java.util.Arrays; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Objects; +import java.util.Set; + +/** + * Base class for Identity and Access Management (IAM) policies. IAM policies are used to specify + * access settings for Cloud Platform resources. A policy is a map of bindings. A binding assigns + * a set of identities to a role, where the identities can be user accounts, Google groups, Google + * domains, and service accounts. A role is a named list of permissions defined by IAM. + * + * @param the data type of roles (should be serializable) + * @see Policy + */ +public abstract class IamPolicy implements Serializable { + + private static final long serialVersionUID = 1114489978726897720L; + + private final Map> bindings; + private final String etag; + private final Integer version; + + /** + * Builder for an IAM Policy. + * + * @param the data type of roles + * @param the subclass extending this abstract builder + */ + public abstract static class Builder> { + + private final Map> bindings = new HashMap<>(); + private String etag; + private Integer version; + + protected Builder() {} + + /** + * Replaces the builder's map of bindings with the given map of bindings. + */ + public final B bindings(Map> bindings) { + this.bindings.clear(); + for (Map.Entry> binding : bindings.entrySet()) { + this.bindings.put(binding.getKey(), new HashSet(binding.getValue())); + } + return self(); + } + + /** + * Adds a binding to the policy. + */ + public final B addBinding(R role, Set identities) { + checkArgument(!bindings.containsKey(role), + "The policy already contains a binding with the role " + role.toString()); + bindings.put(role, new HashSet(identities)); + return self(); + } + + /** + * Adds a binding to the policy. + */ + public final B addBinding(R role, Identity first, Identity... others) { + checkArgument(!bindings.containsKey(role), + "The policy already contains a binding with the role " + role.toString()); + HashSet identities = new HashSet<>(); + identities.add(first); + identities.addAll(Arrays.asList(others)); + bindings.put(role, identities); + return self(); + } + + /** + * Removes the binding associated with the specified role. + */ + public final B removeBinding(R role) { + bindings.remove(role); + return self(); + } + + /** + * Adds one or more identities to an existing binding. + */ + public final B addIdentity(R role, Identity first, Identity... others) { + Set identities = bindings.get(role); + identities.add(first); + identities.addAll(Arrays.asList(others)); + return self(); + } + + /** + * Removes one or more identities from an existing binding. + */ + public final B removeIdentity(R role, Identity first, Identity... others) { + bindings.get(role).remove(first); + bindings.get(role).removeAll(Arrays.asList(others)); + return self(); + } + + /** + * Sets the policy's etag. + * + *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid + * race 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. If no etag is provided in the call to + * setIamPolicy, then the existing policy is overwritten blindly. + */ + protected final B etag(String etag) { + this.etag = etag; + return self(); + } + + /** + * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", + * and "viewer" roles are permitted. If the version is 1, you may also use other roles. + */ + protected final B version(Integer version) { + this.version = version; + return self(); + } + + @SuppressWarnings("unchecked") + private B self() { + return (B) this; + } + + public abstract IamPolicy build(); + } + + protected IamPolicy(Builder> builder) { + ImmutableMap.Builder> bindingsBuilder = ImmutableMap.builder(); + for (Map.Entry> binding : builder.bindings.entrySet()) { + bindingsBuilder.put(binding.getKey(), ImmutableSet.copyOf(binding.getValue())); + } + this.bindings = bindingsBuilder.build(); + this.etag = builder.etag; + this.version = builder.version; + } + + /** + * The map of bindings that comprises the policy. + */ + public Map> bindings() { + return bindings; + } + + /** + * The policy's etag. + * + *

Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid + * race 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. If no etag is provided in the call to + * setIamPolicy, then the existing policy is overwritten blindly. + */ + public String etag() { + return etag; + } + + /** + * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", + * and "viewer" roles are permitted. If the version is 1, you may also use other roles. + */ + public Integer version() { + return version; + } + + @Override + public final int hashCode() { + return Objects.hash(getClass(), bindings, etag, version); + } + + @Override + public final boolean equals(Object obj) { + if (obj == null || !getClass().equals(obj.getClass())) { + return false; + } + @SuppressWarnings("rawtypes") + IamPolicy other = (IamPolicy) obj; + return Objects.equals(bindings, other.bindings()) + && Objects.equals(etag, other.etag()) + && Objects.equals(version, other.version()); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java new file mode 100644 index 000000000000..0513916cc8b4 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java @@ -0,0 +1,208 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static com.google.common.base.Preconditions.checkNotNull; + +import java.io.Serializable; +import java.util.Objects; + +/** + * An identity in an {@link IamPolicy}. + */ +public final class Identity implements Serializable { + + private static final long serialVersionUID = -8181841964597657446L; + + private final Type type; + private final String id; + + /** + * The types of IAM identities. + */ + public enum Type { + + /** + * Represents anyone who is on the internet; with or without a Google account. + */ + ALL_USERS, + + /** + * Represents anyone who is authenticated with a Google account or a service account. + */ + ALL_AUTHENTICATED_USERS, + + /** + * Represents a specific Google account. + */ + USER, + + /** + * Represents a service account. + */ + SERVICE_ACCOUNT, + + /** + * Represents a Google group. + */ + GROUP, + + /** + * Represents all the users of a Google Apps domain name. + */ + DOMAIN + } + + private Identity(Type type, String id) { + this.type = type; + this.id = id; + } + + public Type type() { + return type; + } + + /** + * Returns the string identifier for this identity. The id corresponds to: + *

    + *
  • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and + * {@code GROUP}) + *
  • domain (for identities of type {@code DOMAIN}) + *
  • null (for identities of type {@code ALL_USERS} and {@code ALL_AUTHENTICATED_USERS}) + *
+ */ + public String id() { + return id; + } + + /** + * Returns a new identity representing anyone who is on the internet; with or without a Google + * account. + */ + public static Identity allUsers() { + return new Identity(Type.ALL_USERS, null); + } + + /** + * Returns a new identity representing anyone who is authenticated with a Google account or a + * service account. + */ + public static Identity allAuthenticatedUsers() { + return new Identity(Type.ALL_AUTHENTICATED_USERS, null); + } + + /** + * Returns a new user identity. + * + * @param email An email address that represents a specific Google account. For example, + * alice@gmail.com or joe@example.com. + */ + public static Identity user(String email) { + return new Identity(Type.USER, checkNotNull(email)); + } + + /** + * Returns a new service account identity. + * + * @param email An email address that represents a service account. For example, + * my-other-app@appspot.gserviceaccount.com. + */ + public static Identity serviceAccount(String email) { + return new Identity(Type.SERVICE_ACCOUNT, checkNotNull(email)); + } + + /** + * Returns a new group identity. + * + * @param email An email address that represents a Google group. For example, + * admins@example.com. + */ + public static Identity group(String email) { + return new Identity(Type.GROUP, checkNotNull(email)); + } + + /** + * Returns a new domain identity. + * + * @param domain A Google Apps domain name that represents all the users of that domain. For + * example, google.com or example.com. + */ + public static Identity domain(String domain) { + return new Identity(Type.DOMAIN, checkNotNull(domain)); + } + + @Override + public int hashCode() { + return Objects.hash(id, type); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof Identity)) { + return false; + } + Identity other = (Identity) obj; + return Objects.equals(id, other.id()) && Objects.equals(type, other.type()); + } + + /** + * Returns the string value associated with the identity. Used primarily for converting from + * {@code Identity} objects to strings for protobuf-generated policies. + */ + public String strValue() { + switch (type) { + case ALL_USERS: + return "allUsers"; + case ALL_AUTHENTICATED_USERS: + return "allAuthenticatedUsers"; + case USER: + return "user:" + id; + case SERVICE_ACCOUNT: + return "serviceAccount:" + id; + case GROUP: + return "group:" + id; + case DOMAIN: + return "domain:" + id; + default: + throw new IllegalArgumentException("Unexpected identity type: " + type); + } + } + + /** + * Converts a string to an {@code Identity}. Used primarily for converting protobuf-generated + * policy identities to {@code Identity} objects. + */ + public static Identity valueOf(String identityStr) { + String[] info = identityStr.split(":"); + switch (info[0]) { + case "allUsers": + return Identity.allUsers(); + case "allAuthenticatedUsers": + return Identity.allAuthenticatedUsers(); + case "user": + return Identity.user(info[1]); + case "serviceAccount": + return Identity.serviceAccount(info[1]); + case "group": + return Identity.group(info[1]); + case "domain": + return Identity.domain(info[1]); + default: + throw new IllegalArgumentException("Unexpected identity type: " + info[0]); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java deleted file mode 100644 index 0c26bc806812..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseIamPolicyTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.gcloud; - -import static org.junit.Assert.assertEquals; - -import com.google.gcloud.BaseIamPolicy.Identity; - -import org.junit.Test; - -public class BaseIamPolicyTest { - - private static final Identity ALL_USERS = Identity.allUsers(); - private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); - private static final Identity USER = Identity.user("abc@gmail.com"); - private static final Identity SERVICE_ACCOUNT = - Identity.serviceAccount("service-account@gmail.com"); - private static final Identity GROUP = Identity.group("group@gmail.com"); - private static final Identity DOMAIN = Identity.domain("google.com"); - - @Test - public void testIdentityOf() { - assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); - assertEquals(null, ALL_USERS.id()); - assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); - assertEquals(null, ALL_AUTH_USERS.id()); - assertEquals(Identity.Type.USER, USER.type()); - assertEquals("abc@gmail.com", USER.id()); - assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); - assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.id()); - assertEquals(Identity.Type.GROUP, GROUP.type()); - assertEquals("group@gmail.com", GROUP.id()); - assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); - assertEquals("google.com", DOMAIN.id()); - } -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java new file mode 100644 index 000000000000..b77b5e2df7fa --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java @@ -0,0 +1,173 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; + +import org.junit.Test; + +import java.util.Map; +import java.util.Set; + +public class IamPolicyTest { + + private static final Identity ALL_USERS = Identity.allUsers(); + private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); + private static final Identity USER = Identity.user("abc@gmail.com"); + private static final Identity SERVICE_ACCOUNT = + Identity.serviceAccount("service-account@gmail.com"); + private static final Identity GROUP = Identity.group("group@gmail.com"); + private static final Identity DOMAIN = Identity.domain("google.com"); + private static final Map> BINDINGS = ImmutableMap.of( + "viewer", + ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS), + "editor", + ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)); + private static final PolicyImpl SIMPLE_POLICY = PolicyImpl.builder() + .addBinding("viewer", ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS)) + .addBinding("editor", ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)) + .build(); + private static final PolicyImpl FULL_POLICY = + new PolicyImpl.Builder(SIMPLE_POLICY.bindings(), "etag", 1).build(); + + static class PolicyImpl extends IamPolicy { + + static class Builder extends IamPolicy.Builder { + + private Builder() {} + + private Builder(Map> bindings, String etag, Integer version) { + bindings(bindings).etag(etag).version(version); + } + + @Override + public PolicyImpl build() { + return new PolicyImpl(this); + } + } + + PolicyImpl(Builder builder) { + super(builder); + } + + Builder toBuilder() { + return new Builder(bindings(), etag(), version()); + } + + static Builder builder() { + return new Builder(); + } + } + + @Test + public void testBuilder() { + assertEquals(BINDINGS, FULL_POLICY.bindings()); + assertEquals("etag", FULL_POLICY.etag()); + assertEquals(1, FULL_POLICY.version().intValue()); + Map> editorBinding = + ImmutableMap.>builder().put("editor", BINDINGS.get("editor")).build(); + PolicyImpl policy = FULL_POLICY.toBuilder().bindings(editorBinding).build(); + assertEquals(editorBinding, policy.bindings()); + assertEquals("etag", policy.etag()); + assertEquals(1, policy.version().intValue()); + policy = SIMPLE_POLICY.toBuilder().removeBinding("editor").build(); + assertEquals(ImmutableMap.of("viewer", BINDINGS.get("viewer")), policy.bindings()); + assertEquals(null, policy.etag()); + assertEquals(null, policy.version()); + policy = policy.toBuilder() + .removeIdentity("viewer", USER, ALL_USERS) + .addIdentity("viewer", DOMAIN, GROUP) + .build(); + assertEquals(ImmutableMap.of("viewer", ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), + policy.bindings()); + assertEquals(null, policy.etag()); + assertEquals(null, policy.version()); + policy = PolicyImpl.builder().addBinding("owner", USER, SERVICE_ACCOUNT).build(); + assertEquals( + ImmutableMap.of("owner", ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.bindings()); + assertEquals(null, policy.etag()); + assertEquals(null, policy.version()); + try { + SIMPLE_POLICY.toBuilder().addBinding("viewer", USER); + fail("Should have failed due to duplicate role."); + } catch (IllegalArgumentException e) { + assertEquals("The policy already contains a binding with the role viewer", e.getMessage()); + } + try { + SIMPLE_POLICY.toBuilder().addBinding("editor", ImmutableSet.of(USER)); + fail("Should have failed due to duplicate role."); + } catch (IllegalArgumentException e) { + assertEquals("The policy already contains a binding with the role editor", e.getMessage()); + } + } + + @Test + public void testEqualsHashCode() { + assertNotEquals(FULL_POLICY, null); + PolicyImpl emptyPolicy = PolicyImpl.builder().build(); + AnotherPolicyImpl anotherPolicy = new AnotherPolicyImpl.Builder().build(); + assertNotEquals(emptyPolicy, anotherPolicy); + assertNotEquals(emptyPolicy.hashCode(), anotherPolicy.hashCode()); + assertNotEquals(FULL_POLICY, SIMPLE_POLICY); + assertNotEquals(FULL_POLICY.hashCode(), SIMPLE_POLICY.hashCode()); + PolicyImpl copy = SIMPLE_POLICY.toBuilder().build(); + assertEquals(SIMPLE_POLICY, copy); + assertEquals(SIMPLE_POLICY.hashCode(), copy.hashCode()); + } + + @Test + public void testBindings() { + assertTrue(PolicyImpl.builder().build().bindings().isEmpty()); + assertEquals(BINDINGS, SIMPLE_POLICY.bindings()); + } + + @Test + public void testEtag() { + assertNull(SIMPLE_POLICY.etag()); + assertEquals("etag", FULL_POLICY.etag()); + } + + @Test + public void testVersion() { + assertNull(SIMPLE_POLICY.version()); + assertEquals(null, SIMPLE_POLICY.version()); + } + + static class AnotherPolicyImpl extends IamPolicy { + + static class Builder extends IamPolicy.Builder { + + private Builder() {} + + @Override + public AnotherPolicyImpl build() { + return new AnotherPolicyImpl(this); + } + } + + AnotherPolicyImpl(Builder builder) { + super(builder); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java new file mode 100644 index 000000000000..7abbc98521a0 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java @@ -0,0 +1,110 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.fail; + +import org.junit.Test; + +public class IdentityTest { + + private static final Identity ALL_USERS = Identity.allUsers(); + private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); + private static final Identity USER = Identity.user("abc@gmail.com"); + private static final Identity SERVICE_ACCOUNT = + Identity.serviceAccount("service-account@gmail.com"); + private static final Identity GROUP = Identity.group("group@gmail.com"); + private static final Identity DOMAIN = Identity.domain("google.com"); + + @Test + public void testAllUsers() { + assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); + assertNull(ALL_USERS.id()); + } + + @Test + public void testAllAuthenticatedUsers() { + assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); + assertNull(ALL_AUTH_USERS.id()); + } + + @Test + public void testUser() { + assertEquals(Identity.Type.USER, USER.type()); + assertEquals("abc@gmail.com", USER.id()); + try { + Identity.user(null); + fail("Should have thrown exception due to null email address."); + } catch (NullPointerException e) { + // expected + } + } + + @Test + public void testServiceAccount() { + assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); + assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.id()); + try { + Identity.serviceAccount(null); + fail("Should have thrown exception due to null email address."); + } catch (NullPointerException e) { + // expected + } + } + + @Test + public void testGroup() { + assertEquals(Identity.Type.GROUP, GROUP.type()); + assertEquals("group@gmail.com", GROUP.id()); + try { + Identity.group(null); + fail("Should have thrown exception due to null email address."); + } catch (NullPointerException e) { + // expected + } + } + + @Test + public void testDomain() { + assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); + assertEquals("google.com", DOMAIN.id()); + try { + Identity.domain(null); + fail("Should have thrown exception due to null domain."); + } catch (NullPointerException e) { + // expected + } + } + + @Test + public void testIdentityToAndFromPb() { + compareIdentities(ALL_USERS, Identity.valueOf(ALL_USERS.strValue())); + compareIdentities(ALL_AUTH_USERS, Identity.valueOf(ALL_AUTH_USERS.strValue())); + compareIdentities(USER, Identity.valueOf(USER.strValue())); + compareIdentities(SERVICE_ACCOUNT, Identity.valueOf(SERVICE_ACCOUNT.strValue())); + compareIdentities(GROUP, Identity.valueOf(GROUP.strValue())); + compareIdentities(DOMAIN, Identity.valueOf(DOMAIN.strValue())); + } + + private void compareIdentities(Identity expected, Identity actual) { + assertEquals(expected, actual); + assertEquals(expected.type(), actual.type()); + assertEquals(expected.id(), actual.id()); + } +} From 457c61294987b42b7e371b09ecb430495e8916a6 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 25 Feb 2016 17:05:55 +0100 Subject: [PATCH 0125/3036] validateOpen throws ClosedChannelException in BaseWriteChannel and BlobReadChannel --- .../src/main/java/com/google/gcloud/BaseWriteChannel.java | 5 +++-- .../test/java/com/google/gcloud/BaseWriteChannelTest.java | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java index e05383a65826..1d18a5a27e81 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java @@ -21,6 +21,7 @@ import java.io.IOException; import java.io.Serializable; import java.nio.ByteBuffer; +import java.nio.channels.ClosedChannelException; import java.util.Arrays; import java.util.Objects; @@ -114,9 +115,9 @@ private void flush() { } } - private void validateOpen() throws IOException { + private void validateOpen() throws ClosedChannelException { if (!isOpen) { - throw new IOException("stream is closed"); + throw new ClosedChannelException(); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java index e49a17b019e0..6d5306a3bc7f 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java @@ -32,6 +32,7 @@ import java.io.IOException; import java.io.Serializable; import java.nio.ByteBuffer; +import java.nio.channels.ClosedChannelException; import java.util.Arrays; import java.util.Random; @@ -102,8 +103,7 @@ public void testClose() throws IOException { @Test public void testValidateOpen() throws IOException { channel.close(); - thrown.expect(IOException.class); - thrown.expectMessage("stream is closed"); + thrown.expect(ClosedChannelException.class); channel.write(ByteBuffer.allocate(42)); } From 6c8bfc3c1cf978b1173e3ff69d444d769f2b8115 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 25 Feb 2016 09:13:01 -0800 Subject: [PATCH 0126/3036] Document exceptions and satisfy codacy's demands. --- .../java/com/google/gcloud/IamPolicy.java | 15 +++++++ .../java/com/google/gcloud/IdentityTest.java | 45 +++++++++---------- 2 files changed, 35 insertions(+), 25 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java index ed9dcf9503c7..73c3e3fec6ac 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java @@ -58,6 +58,9 @@ public abstract static class Builder> { private String etag; private Integer version; + /** + * Constructor for IAM Policy builder. + */ protected Builder() {} /** @@ -73,6 +76,8 @@ public final B bindings(Map> bindings) { /** * Adds a binding to the policy. + * + * @throws IllegalArgumentException if the policy already contains a binding with the same role */ public final B addBinding(R role, Set identities) { checkArgument(!bindings.containsKey(role), @@ -83,6 +88,8 @@ public final B addBinding(R role, Set identities) { /** * Adds a binding to the policy. + * + * @throws IllegalArgumentException if the policy already contains a binding with the same role */ public final B addBinding(R role, Identity first, Identity... others) { checkArgument(!bindings.containsKey(role), @@ -104,8 +111,12 @@ public final B removeBinding(R role) { /** * Adds one or more identities to an existing binding. + * + * @throws IllegalArgumentException if the policy doesn't contain a binding with the specified + * role */ public final B addIdentity(R role, Identity first, Identity... others) { + checkArgument(bindings.containsKey(role), "The policy doesn't contain the specified role."); Set identities = bindings.get(role); identities.add(first); identities.addAll(Arrays.asList(others)); @@ -114,8 +125,12 @@ public final B addIdentity(R role, Identity first, Identity... others) { /** * Removes one or more identities from an existing binding. + * + * @throws IllegalArgumentException if the policy doesn't contain a binding with the specified + * role */ public final B removeIdentity(R role, Identity first, Identity... others) { + checkArgument(bindings.containsKey(role), "The policy doesn't contain the specified role."); bindings.get(role).remove(first); bindings.get(role).removeAll(Arrays.asList(others)); return self(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java index 7abbc98521a0..828f1c839431 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java @@ -18,7 +18,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; -import static org.junit.Assert.fail; import org.junit.Test; @@ -48,48 +47,44 @@ public void testAllAuthenticatedUsers() { public void testUser() { assertEquals(Identity.Type.USER, USER.type()); assertEquals("abc@gmail.com", USER.id()); - try { - Identity.user(null); - fail("Should have thrown exception due to null email address."); - } catch (NullPointerException e) { - // expected - } + } + + @Test(expected = NullPointerException.class) + public void testUserNullEmail() { + Identity.user(null); } @Test public void testServiceAccount() { assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.id()); - try { - Identity.serviceAccount(null); - fail("Should have thrown exception due to null email address."); - } catch (NullPointerException e) { - // expected - } + } + + @Test(expected = NullPointerException.class) + public void testServiceAccountNullEmail() { + Identity.serviceAccount(null); } @Test public void testGroup() { assertEquals(Identity.Type.GROUP, GROUP.type()); assertEquals("group@gmail.com", GROUP.id()); - try { - Identity.group(null); - fail("Should have thrown exception due to null email address."); - } catch (NullPointerException e) { - // expected - } + } + + @Test(expected = NullPointerException.class) + public void testGroupNullEmail() { + Identity.group(null); } @Test public void testDomain() { assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); assertEquals("google.com", DOMAIN.id()); - try { - Identity.domain(null); - fail("Should have thrown exception due to null domain."); - } catch (NullPointerException e) { - // expected - } + } + + @Test(expected = NullPointerException.class) + public void testDomainNullId() { + Identity.domain(null); } @Test From 82b158a8266ad18262c422b7c65287cf2c820f9c Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 26 Feb 2016 08:05:10 -0800 Subject: [PATCH 0127/3036] Use enum for legacy roles, add input checks --- .../java/com/google/gcloud/IamPolicy.java | 50 +++++++++++++++---- .../main/java/com/google/gcloud/Identity.java | 39 +++++++++++---- .../java/com/google/gcloud/IamPolicyTest.java | 29 +++++++---- 3 files changed, 85 insertions(+), 33 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java index 73c3e3fec6ac..748eaba2ab4c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java @@ -23,8 +23,11 @@ import java.io.Serializable; import java.util.Arrays; +import java.util.Collection; import java.util.HashMap; import java.util.HashSet; +import java.util.LinkedList; +import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; @@ -65,8 +68,14 @@ protected Builder() {} /** * Replaces the builder's map of bindings with the given map of bindings. + * + * @throws IllegalArgumentException if the provided map is null or contain any null values */ public final B bindings(Map> bindings) { + checkArgument(bindings != null, "The provided map of bindings cannot be null."); + for (Map.Entry> binding : bindings.entrySet()) { + verifyBinding(binding.getKey(), binding.getValue()); + } this.bindings.clear(); for (Map.Entry> binding : bindings.entrySet()) { this.bindings.put(binding.getKey(), new HashSet(binding.getValue())); @@ -78,10 +87,12 @@ public final B bindings(Map> bindings) { * Adds a binding to the policy. * * @throws IllegalArgumentException if the policy already contains a binding with the same role + * or if the role or any identities are null */ public final B addBinding(R role, Set identities) { + verifyBinding(role, identities); checkArgument(!bindings.containsKey(role), - "The policy already contains a binding with the role " + role.toString()); + "The policy already contains a binding with the role " + role.toString() + "."); bindings.put(role, new HashSet(identities)); return self(); } @@ -90,15 +101,23 @@ public final B addBinding(R role, Set identities) { * Adds a binding to the policy. * * @throws IllegalArgumentException if the policy already contains a binding with the same role + * or if the role or any identities are null */ public final B addBinding(R role, Identity first, Identity... others) { - checkArgument(!bindings.containsKey(role), - "The policy already contains a binding with the role " + role.toString()); HashSet identities = new HashSet<>(); identities.add(first); identities.addAll(Arrays.asList(others)); - bindings.put(role, identities); - return self(); + return addBinding(role, identities); + } + + private void verifyBinding(R role, Collection identities) { + checkArgument(role != null, "The role cannot be null."); + verifyIdentities(identities); + } + + private void verifyIdentities(Collection identities) { + checkArgument(identities != null, "A role cannot be assigned to a null set of identities."); + checkArgument(!identities.contains(null), "Null identities are not permitted."); } /** @@ -113,13 +132,16 @@ public final B removeBinding(R role) { * Adds one or more identities to an existing binding. * * @throws IllegalArgumentException if the policy doesn't contain a binding with the specified - * role + * role or any identities are null */ public final B addIdentity(R role, Identity first, Identity... others) { - checkArgument(bindings.containsKey(role), "The policy doesn't contain the specified role."); - Set identities = bindings.get(role); - identities.add(first); - identities.addAll(Arrays.asList(others)); + checkArgument(bindings.containsKey(role), + "The policy doesn't contain the role " + role.toString() + "."); + List toAdd = new LinkedList<>(); + toAdd.add(first); + toAdd.addAll(Arrays.asList(others)); + verifyIdentities(toAdd); + bindings.get(role).addAll(toAdd); return self(); } @@ -130,7 +152,8 @@ public final B addIdentity(R role, Identity first, Identity... others) { * role */ public final B removeIdentity(R role, Identity first, Identity... others) { - checkArgument(bindings.containsKey(role), "The policy doesn't contain the specified role."); + checkArgument(bindings.containsKey(role), + "The policy doesn't contain the role " + role.toString() + "."); bindings.get(role).remove(first); bindings.get(role).removeAll(Arrays.asList(others)); return self(); @@ -179,6 +202,11 @@ protected IamPolicy(Builder> builder) { this.version = builder.version; } + /** + * Returns a builder containing the properties of this IAM Policy. + */ + public abstract Builder> toBuilder(); + /** * The map of bindings that comprises the policy. */ diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java index 0513916cc8b4..d1644198f759 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java @@ -18,11 +18,26 @@ import static com.google.common.base.Preconditions.checkNotNull; +import com.google.common.base.CaseFormat; + import java.io.Serializable; import java.util.Objects; /** - * An identity in an {@link IamPolicy}. + * An identity in an {@link IamPolicy}. The following types of identities are permitted in IAM + * policies: + *
    + *
  • Google account + *
  • Service account + *
  • Google group + *
  • Google Apps domain + *
+ * + *

There are also two special identities that represent all users and all Google-authenticated + * accounts. + * + * @see Concepts + * related to identity */ public final class Identity implements Serializable { @@ -82,7 +97,8 @@ public Type type() { *

  • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and * {@code GROUP}) *
  • domain (for identities of type {@code DOMAIN}) - *
  • null (for identities of type {@code ALL_USERS} and {@code ALL_AUTHENTICATED_USERS}) + *
  • {@code null} (for identities of type {@code ALL_USERS} and + * {@code ALL_AUTHENTICATED_USERS}) * */ public String id() { @@ -178,7 +194,7 @@ public String strValue() { case DOMAIN: return "domain:" + id; default: - throw new IllegalArgumentException("Unexpected identity type: " + type); + throw new IllegalStateException("Unexpected identity type: " + type); } } @@ -188,21 +204,22 @@ public String strValue() { */ public static Identity valueOf(String identityStr) { String[] info = identityStr.split(":"); - switch (info[0]) { - case "allUsers": + Type type = Type.valueOf(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_UNDERSCORE, info[0])); + switch (type) { + case ALL_USERS: return Identity.allUsers(); - case "allAuthenticatedUsers": + case ALL_AUTHENTICATED_USERS: return Identity.allAuthenticatedUsers(); - case "user": + case USER: return Identity.user(info[1]); - case "serviceAccount": + case SERVICE_ACCOUNT: return Identity.serviceAccount(info[1]); - case "group": + case GROUP: return Identity.group(info[1]); - case "domain": + case DOMAIN: return Identity.domain(info[1]); default: - throw new IllegalArgumentException("Unexpected identity type: " + info[0]); + throw new IllegalStateException("Unexpected identity type " + type); } } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java index b77b5e2df7fa..db0935c4766d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java @@ -18,6 +18,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; @@ -71,7 +72,8 @@ public PolicyImpl build() { super(builder); } - Builder toBuilder() { + @Override + public Builder toBuilder() { return new Builder(bindings(), etag(), version()); } @@ -93,38 +95,38 @@ public void testBuilder() { assertEquals(1, policy.version().intValue()); policy = SIMPLE_POLICY.toBuilder().removeBinding("editor").build(); assertEquals(ImmutableMap.of("viewer", BINDINGS.get("viewer")), policy.bindings()); - assertEquals(null, policy.etag()); - assertEquals(null, policy.version()); + assertNull(policy.etag()); + assertNull(policy.version()); policy = policy.toBuilder() .removeIdentity("viewer", USER, ALL_USERS) .addIdentity("viewer", DOMAIN, GROUP) .build(); assertEquals(ImmutableMap.of("viewer", ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), policy.bindings()); - assertEquals(null, policy.etag()); - assertEquals(null, policy.version()); + assertNull(policy.etag()); + assertNull(policy.version()); policy = PolicyImpl.builder().addBinding("owner", USER, SERVICE_ACCOUNT).build(); assertEquals( ImmutableMap.of("owner", ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.bindings()); - assertEquals(null, policy.etag()); - assertEquals(null, policy.version()); + assertNull(policy.etag()); + assertNull(policy.version()); try { SIMPLE_POLICY.toBuilder().addBinding("viewer", USER); fail("Should have failed due to duplicate role."); } catch (IllegalArgumentException e) { - assertEquals("The policy already contains a binding with the role viewer", e.getMessage()); + assertEquals("The policy already contains a binding with the role viewer.", e.getMessage()); } try { SIMPLE_POLICY.toBuilder().addBinding("editor", ImmutableSet.of(USER)); fail("Should have failed due to duplicate role."); } catch (IllegalArgumentException e) { - assertEquals("The policy already contains a binding with the role editor", e.getMessage()); + assertEquals("The policy already contains a binding with the role editor.", e.getMessage()); } } @Test public void testEqualsHashCode() { - assertNotEquals(FULL_POLICY, null); + assertNotNull(FULL_POLICY); PolicyImpl emptyPolicy = PolicyImpl.builder().build(); AnotherPolicyImpl anotherPolicy = new AnotherPolicyImpl.Builder().build(); assertNotEquals(emptyPolicy, anotherPolicy); @@ -151,7 +153,7 @@ public void testEtag() { @Test public void testVersion() { assertNull(SIMPLE_POLICY.version()); - assertEquals(null, SIMPLE_POLICY.version()); + assertEquals(1, FULL_POLICY.version().intValue()); } static class AnotherPolicyImpl extends IamPolicy { @@ -169,5 +171,10 @@ public AnotherPolicyImpl build() { AnotherPolicyImpl(Builder builder) { super(builder); } + + @Override + public Builder toBuilder() { + return new Builder(); + } } } From 6ec201ebfadb409962c35fa823b69aa809f8340e Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Sun, 6 Mar 2016 08:54:43 -0800 Subject: [PATCH 0128/3036] Add NoAuthCredentials --- .../com/google/gcloud/AuthCredentials.java | 34 +++++++++++++++++++ .../com/google/gcloud/ServiceOptions.java | 7 ++-- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index fc5d74d0896c..f4f6b6938531 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -243,6 +243,33 @@ public RestorableState capture() { } } + public static class NoAuthCredentials extends AuthCredentials { + + private static final AuthCredentials INSTANCE = new NoAuthCredentials(); + private static final NoAuthCredentialsState STATE = new NoAuthCredentialsState(); + + private static class NoAuthCredentialsState + implements RestorableState, Serializable { + + private static final long serialVersionUID = -4022100563954640465L; + + @Override + public AuthCredentials restore() { + return INSTANCE; + } + } + + @Override + public GoogleCredentials credentials() { + return null; + } + + @Override + public RestorableState capture() { + return STATE; + } + } + public abstract GoogleCredentials credentials(); public static AuthCredentials createForAppEngine() { @@ -281,6 +308,13 @@ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey return new ServiceAccountAuthCredentials(account, privateKey); } + /** + * Creates a placeholder denoting that no credentials should be used. + */ + public static AuthCredentials noAuth() { + return NoAuthCredentials.INSTANCE; + } + /** * Creates Service Account Credentials given a stream for credentials in JSON format. * diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 31e543809464..d45069434a26 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -523,9 +523,10 @@ public RetryParams retryParams() { * options. */ public HttpRequestInitializer httpRequestInitializer() { - final HttpRequestInitializer delegate = authCredentials() != null - ? new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())) - : null; + final HttpRequestInitializer delegate = + authCredentials() != null && authCredentials.credentials() != null + ? new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())) + : null; return new HttpRequestInitializer() { @Override public void initialize(HttpRequest httpRequest) throws IOException { From 123b0eba1eaddbb6811af3c2bb18c4bbaf23d547 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 7 Mar 2016 08:27:49 -0800 Subject: [PATCH 0129/3036] Add javadoc --- .../com/google/gcloud/AuthCredentials.java | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index f4f6b6938531..1f8a56f8e68c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -132,6 +132,12 @@ public RestorableState capture() { } } + /** + * Represents service account credentials. + * + * @see + * User accounts and service accounts + */ public static class ServiceAccountAuthCredentials extends AuthCredentials { private final String account; @@ -195,6 +201,14 @@ public RestorableState capture() { } } + /** + * Represents Application Default Credentials, which are credentials that are inferred from the + * runtime environment. + * + * @see + * Google Application Default Credentials + */ public static class ApplicationDefaultAuthCredentials extends AuthCredentials { private GoogleCredentials googleCredentials; @@ -243,6 +257,11 @@ public RestorableState capture() { } } + /** + * Represents that requests sent to the server should not be authenticated. This is typically + * useful when using the local service emulators, such as {@code LocalGcdHelper} and + * {@code LocalResourceManagerHelper}. + */ public static class NoAuthCredentials extends AuthCredentials { private static final AuthCredentials INSTANCE = new NoAuthCredentials(); @@ -309,7 +328,9 @@ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey } /** - * Creates a placeholder denoting that no credentials should be used. + * Creates a placeholder denoting that no credentials should be used. This is typically useful + * when using the local service emulators, such as {@code LocalGcdHelper} and + * {@code LocalResourceManagerHelper}. */ public static AuthCredentials noAuth() { return NoAuthCredentials.INSTANCE; From 73c31b94891fcc982bbf48ab81c1d74f516b4e1c Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 7 Mar 2016 08:50:26 -0800 Subject: [PATCH 0130/3036] change NoAuthCredentials javadoc wording --- .../src/main/java/com/google/gcloud/AuthCredentials.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 1f8a56f8e68c..6f9e09ca04bc 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -258,9 +258,9 @@ public RestorableState capture() { } /** - * Represents that requests sent to the server should not be authenticated. This is typically - * useful when using the local service emulators, such as {@code LocalGcdHelper} and - * {@code LocalResourceManagerHelper}. + * A placeholder for credentials to signify that requests sent to the server should not be + * authenticated. This is typically useful when using the local service emulators, such as + * {@code LocalGcdHelper} and {@code LocalResourceManagerHelper}. */ public static class NoAuthCredentials extends AuthCredentials { From 338c842ba92656ec23683acb9e7c1ceda58bd8b9 Mon Sep 17 00:00:00 2001 From: aozarov Date: Mon, 7 Mar 2016 17:00:03 -0800 Subject: [PATCH 0131/3036] Fix test and issue #723 --- .../google/gcloud/BaseServiceException.java | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index 579340f1256e..365243904436 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -97,13 +97,17 @@ public BaseServiceException(IOException exception, boolean idempotent) { String debugInfo = null; if (exception instanceof GoogleJsonResponseException) { GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); - Error error = error(jsonError); - code = error.code; - reason = error.reason; - if (reason != null) { - GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); - location = errorInfo.getLocation(); - debugInfo = (String) errorInfo.get("debugInfo"); + if (jsonError != null) { + Error error = error(jsonError); + code = error.code; + reason = error.reason; + if (reason != null) { + GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); + location = errorInfo.getLocation(); + debugInfo = (String) errorInfo.get("debugInfo"); + } + } else { + code = ((GoogleJsonResponseException) exception).getStatusCode(); } } this.code = code; @@ -207,7 +211,10 @@ protected static Error error(GoogleJsonError error) { protected static String message(IOException exception) { if (exception instanceof GoogleJsonResponseException) { - return ((GoogleJsonResponseException) exception).getDetails().getMessage(); + GoogleJsonError details = ((GoogleJsonResponseException) exception).getDetails(); + if (details != null) { + return details.getMessage(); + } } return exception.getMessage(); } From 82740dbb67d7d180e24dd80f5effd80b3c629bca Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 8 Mar 2016 18:41:22 +0100 Subject: [PATCH 0132/3036] Release version 0.1.5 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d07a567b7e5a..8525fde68174 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.5-SNAPSHOT + 0.1.5 gcloud-java-core From 4c707591d121ba61cf13c01209e9e1b86b6c2f66 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Tue, 8 Mar 2016 18:26:13 +0000 Subject: [PATCH 0133/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index bc9463b9cc2b..fc5f481f8ec3 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.1.4 + 0.1.5 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:0.1.4' +compile 'com.google.gcloud:gcloud-java-core:0.1.5' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.4" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.5" ``` Troubleshooting From 63e3b02b1e4d2f167c734863322d657b4cda0dd5 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 8 Mar 2016 20:27:32 +0100 Subject: [PATCH 0134/3036] Update version to 0.1.6-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8525fde68174..6d0ed675b423 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.5 + 0.1.6-SNAPSHOT gcloud-java-core From 1e99bf2b712bf5e3a8b66d974d70743ffa784cd1 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 10 Mar 2016 16:36:26 +0100 Subject: [PATCH 0135/3036] Use groups to separate packages in javadoc's index --- .../java/com/google/gcloud/package-info.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java new file mode 100644 index 000000000000..215264675dc2 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java @@ -0,0 +1,20 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Core classes for the {@code gcloud-java} library. + */ +package com.google.gcloud; \ No newline at end of file From 112185a313bb533c0afebd6832654449da37db94 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 10 Mar 2016 18:50:34 +0100 Subject: [PATCH 0136/3036] Add group for testing packages --- .../src/main/java/com/google/gcloud/package-info.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java index 215264675dc2..d527640c99f9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java @@ -17,4 +17,4 @@ /** * Core classes for the {@code gcloud-java} library. */ -package com.google.gcloud; \ No newline at end of file +package com.google.gcloud; From e697831b16370285001f98f610ef00f2419c268e Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 1 Mar 2016 10:02:57 -0800 Subject: [PATCH 0137/3036] Add get, replace, and test for IAM --- .../main/java/com/google/gcloud/Identity.java | 24 +++++++++---------- .../java/com/google/gcloud/IdentityTest.java | 14 +++++------ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java index d1644198f759..687a76ffc42c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java @@ -44,7 +44,7 @@ public final class Identity implements Serializable { private static final long serialVersionUID = -8181841964597657446L; private final Type type; - private final String id; + private final String value; /** * The types of IAM identities. @@ -82,9 +82,9 @@ public enum Type { DOMAIN } - private Identity(Type type, String id) { + private Identity(Type type, String value) { this.type = type; - this.id = id; + this.value = value; } public Type type() { @@ -92,7 +92,7 @@ public Type type() { } /** - * Returns the string identifier for this identity. The id corresponds to: + * Returns the string identifier for this identity. The value corresponds to: *
      *
    • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and * {@code GROUP}) @@ -101,8 +101,8 @@ public Type type() { * {@code ALL_AUTHENTICATED_USERS}) *
    */ - public String id() { - return id; + public String value() { + return value; } /** @@ -163,7 +163,7 @@ public static Identity domain(String domain) { @Override public int hashCode() { - return Objects.hash(id, type); + return Objects.hash(value, type); } @Override @@ -172,7 +172,7 @@ public boolean equals(Object obj) { return false; } Identity other = (Identity) obj; - return Objects.equals(id, other.id()) && Objects.equals(type, other.type()); + return Objects.equals(value, other.value()) && Objects.equals(type, other.type()); } /** @@ -186,13 +186,13 @@ public String strValue() { case ALL_AUTHENTICATED_USERS: return "allAuthenticatedUsers"; case USER: - return "user:" + id; + return "user:" + value; case SERVICE_ACCOUNT: - return "serviceAccount:" + id; + return "serviceAccount:" + value; case GROUP: - return "group:" + id; + return "group:" + value; case DOMAIN: - return "domain:" + id; + return "domain:" + value; default: throw new IllegalStateException("Unexpected identity type: " + type); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java index 828f1c839431..a42bc9db7abd 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java @@ -34,19 +34,19 @@ public class IdentityTest { @Test public void testAllUsers() { assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); - assertNull(ALL_USERS.id()); + assertNull(ALL_USERS.value()); } @Test public void testAllAuthenticatedUsers() { assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); - assertNull(ALL_AUTH_USERS.id()); + assertNull(ALL_AUTH_USERS.value()); } @Test public void testUser() { assertEquals(Identity.Type.USER, USER.type()); - assertEquals("abc@gmail.com", USER.id()); + assertEquals("abc@gmail.com", USER.value()); } @Test(expected = NullPointerException.class) @@ -57,7 +57,7 @@ public void testUserNullEmail() { @Test public void testServiceAccount() { assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); - assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.id()); + assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.value()); } @Test(expected = NullPointerException.class) @@ -68,7 +68,7 @@ public void testServiceAccountNullEmail() { @Test public void testGroup() { assertEquals(Identity.Type.GROUP, GROUP.type()); - assertEquals("group@gmail.com", GROUP.id()); + assertEquals("group@gmail.com", GROUP.value()); } @Test(expected = NullPointerException.class) @@ -79,7 +79,7 @@ public void testGroupNullEmail() { @Test public void testDomain() { assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); - assertEquals("google.com", DOMAIN.id()); + assertEquals("google.com", DOMAIN.value()); } @Test(expected = NullPointerException.class) @@ -100,6 +100,6 @@ public void testIdentityToAndFromPb() { private void compareIdentities(Identity expected, Identity actual) { assertEquals(expected, actual); assertEquals(expected.type(), actual.type()); - assertEquals(expected.id(), actual.id()); + assertEquals(expected.value(), actual.value()); } } From 59e1586a4c921c61cd916d7863a6363673b7a739 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 16 Mar 2016 09:35:09 +0100 Subject: [PATCH 0138/3036] Create base class for serialization tests --- .../google/gcloud/BaseSerializationTest.java | 64 +++++++++++++++++++ .../com/google/gcloud/SerializationTest.java | 33 ++++++++++ 2 files changed, 97 insertions(+) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java new file mode 100644 index 000000000000..533dfcde6ad8 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java @@ -0,0 +1,64 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotSame; + +import org.junit.Test; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.io.Serializable; + +/** + * Base class for serialization tests. To use this class in your tests override the + * {@code serializableObjects()} method to return all objects that must be serializable. + */ +public abstract class BaseSerializationTest { + + public abstract Serializable[] serializableObjects(); + + @Test + public void testSerializableObjects() throws Exception { + for (Serializable obj : serializableObjects()) { + Object copy = serializeAndDeserialize(obj); + assertEquals(obj, obj); + assertEquals(obj, copy); + assertEquals(obj.hashCode(), copy.hashCode()); + assertEquals(obj.toString(), copy.toString()); + assertNotSame(obj, copy); + assertEquals(copy, copy); + } + } + + @SuppressWarnings("unchecked") + public T serializeAndDeserialize(T obj) + throws IOException, ClassNotFoundException { + ByteArrayOutputStream bytes = new ByteArrayOutputStream(); + try (ObjectOutputStream output = new ObjectOutputStream(bytes)) { + output.writeObject(obj); + } + try (ObjectInputStream input = + new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()))) { + return (T) input.readObject(); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java new file mode 100644 index 000000000000..aec9158e1ee0 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -0,0 +1,33 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import com.google.common.collect.ImmutableList; + +import java.io.Serializable; + +public class SerializationTest extends BaseSerializationTest { + + private static final PageImpl PAGE = + new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); + private static final RetryParams RETRY_PARAMS = RetryParams.defaultInstance(); + + @Override + public Serializable[] serializableObjects() { + return new Serializable[]{PAGE, RETRY_PARAMS}; + } +} From 30efed575ec6de38f01fe9ad8c4a88494a6654da Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 17 Mar 2016 09:54:13 +0100 Subject: [PATCH 0139/3036] Add tests for restorable classes. Fix serialization issues --- .../com/google/gcloud/AuthCredentials.java | 10 ++++ .../com/google/gcloud/ExceptionHandler.java | 22 +++++++++ .../google/gcloud/BaseSerializationTest.java | 19 +++++++- .../com/google/gcloud/SerializationTest.java | 46 ++++++++++++++++++- 4 files changed, 94 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 6f9e09ca04bc..38265a26be2e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -276,6 +276,16 @@ private static class NoAuthCredentialsState public AuthCredentials restore() { return INSTANCE; } + + @Override + public int hashCode() { + return getClass().getName().hashCode(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof NoAuthCredentialsState; + } } @Override diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java index 39d4c4e75a1a..0dbcbeb65378 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java @@ -26,6 +26,7 @@ import java.io.Serializable; import java.lang.reflect.Method; +import java.util.Objects; import java.util.Set; import java.util.concurrent.Callable; @@ -259,6 +260,27 @@ boolean shouldRetry(Exception ex) { return retryResult == Interceptor.RetryResult.RETRY; } + @Override + public int hashCode() { + return Objects.hash(interceptors, retriableExceptions, nonRetriableExceptions, retryInfo); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof ExceptionHandler)) { + return false; + } + ExceptionHandler other = (ExceptionHandler) obj; + return Objects.equals(interceptors, other.interceptors) + && Objects.equals(retriableExceptions, other.retriableExceptions) + && Objects.equals(nonRetriableExceptions, other.nonRetriableExceptions) + && Objects.equals(retryInfo, other.retryInfo); + + } + /** * Returns an instance which retry any checked exception and abort on any runtime exception. */ diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java index 533dfcde6ad8..a8136bfbf0cc 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java @@ -34,6 +34,9 @@ */ public abstract class BaseSerializationTest { + /** + * Returns all objects for which correct serialization must be tested. + */ public abstract Serializable[] serializableObjects(); @Test @@ -50,8 +53,7 @@ public void testSerializableObjects() throws Exception { } @SuppressWarnings("unchecked") - public T serializeAndDeserialize(T obj) - throws IOException, ClassNotFoundException { + public T serializeAndDeserialize(T obj) throws IOException, ClassNotFoundException { ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try (ObjectOutputStream output = new ObjectOutputStream(bytes)) { output.writeObject(obj); @@ -61,4 +63,17 @@ public T serializeAndDeserialize(T obj) return (T) input.readObject(); } } + + /** + * Checks whether the state of a restorable object can correctly be captured, serialized and + * restored. + */ + public void assertRestorable(Restorable restorable) throws IOException, + ClassNotFoundException { + RestorableState state = restorable.capture(); + RestorableState deserializedState = serializeAndDeserialize(state); + assertEquals(state, deserializedState); + assertEquals(state.hashCode(), deserializedState.hashCode()); + assertEquals(state.toString(), deserializedState.toString()); + } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java index aec9158e1ee0..46f1f73563f7 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -18,16 +18,60 @@ import com.google.common.collect.ImmutableList; +import org.junit.Test; + +import java.io.ByteArrayInputStream; +import java.io.IOException; import java.io.Serializable; public class SerializationTest extends BaseSerializationTest { + private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.defaultInstance(); + private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); private static final RetryParams RETRY_PARAMS = RetryParams.defaultInstance(); + private static final String JSON_KEY = "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; @Override public Serializable[] serializableObjects() { - return new Serializable[]{PAGE, RETRY_PARAMS}; + return new Serializable[]{EXCEPTION_HANDLER, IDENTITY, PAGE, RETRY_PARAMS}; + } + + @Test + public void testAuthCredentialState() throws IOException, ClassNotFoundException { + AuthCredentials credentials = AuthCredentials.createApplicationDefaults(); + assertRestorable(credentials); + credentials = AuthCredentials.createForAppEngine(); + assertRestorable(credentials); + credentials = AuthCredentials.noAuth(); + assertRestorable(credentials); + credentials = AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())); + assertRestorable(credentials); } } From 44e9f2f44731283be79220eee1972291e8854240 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 17 Mar 2016 17:28:55 +0100 Subject: [PATCH 0140/3036] Remove serialization test for ApplicationDefaultAuthCredentials --- .../src/test/java/com/google/gcloud/SerializationTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java index 46f1f73563f7..a9526a42d7d7 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -65,9 +65,7 @@ public Serializable[] serializableObjects() { @Test public void testAuthCredentialState() throws IOException, ClassNotFoundException { - AuthCredentials credentials = AuthCredentials.createApplicationDefaults(); - assertRestorable(credentials); - credentials = AuthCredentials.createForAppEngine(); + AuthCredentials credentials = AuthCredentials.createForAppEngine(); assertRestorable(credentials); credentials = AuthCredentials.noAuth(); assertRestorable(credentials); From d61ba89c23550c23f24a8af74793db07f20b626a Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 17 Mar 2016 18:59:46 +0100 Subject: [PATCH 0141/3036] Add restorableObjects method to BaseSerializationTest --- .../com/google/gcloud/ExceptionHandler.java | 1 - .../google/gcloud/BaseSerializationTest.java | 39 +++++++++++-------- .../com/google/gcloud/SerializationTest.java | 21 +++++----- 3 files changed, 33 insertions(+), 28 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java index 0dbcbeb65378..0b3c923d1eb9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java @@ -278,7 +278,6 @@ public boolean equals(Object obj) { && Objects.equals(retriableExceptions, other.retriableExceptions) && Objects.equals(nonRetriableExceptions, other.nonRetriableExceptions) && Objects.equals(retryInfo, other.retryInfo); - } /** diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java index a8136bfbf0cc..e9ab3d47984b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java @@ -16,6 +16,7 @@ package com.google.gcloud; +import static com.google.common.base.MoreObjects.firstNonNull; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotSame; @@ -30,18 +31,26 @@ /** * Base class for serialization tests. To use this class in your tests override the - * {@code serializableObjects()} method to return all objects that must be serializable. + * {@code serializableObjects()} method to return all objects that must be serializable. Also + * override {@code restorableObjects()} method to return all restorable objects whose state must be + * tested for proper serialization. Both methods can return {@code null} if no such object needs to + * be tested. */ public abstract class BaseSerializationTest { /** * Returns all objects for which correct serialization must be tested. */ - public abstract Serializable[] serializableObjects(); + protected abstract Serializable[] serializableObjects(); + + /** + * Returns all restorable objects whose state must be tested for proper serialization. + */ + protected abstract Restorable[] restorableObjects(); @Test public void testSerializableObjects() throws Exception { - for (Serializable obj : serializableObjects()) { + for (Serializable obj : firstNonNull(serializableObjects(), new Serializable[0])) { Object copy = serializeAndDeserialize(obj); assertEquals(obj, obj); assertEquals(obj, copy); @@ -52,6 +61,17 @@ public void testSerializableObjects() throws Exception { } } + @Test + public void testRestorableObjects() throws Exception { + for (Restorable restorable : firstNonNull(restorableObjects(), new Restorable[0])) { + RestorableState state = restorable.capture(); + RestorableState deserializedState = serializeAndDeserialize(state); + assertEquals(state, deserializedState); + assertEquals(state.hashCode(), deserializedState.hashCode()); + assertEquals(state.toString(), deserializedState.toString()); + } + } + @SuppressWarnings("unchecked") public T serializeAndDeserialize(T obj) throws IOException, ClassNotFoundException { ByteArrayOutputStream bytes = new ByteArrayOutputStream(); @@ -63,17 +83,4 @@ public T serializeAndDeserialize(T obj) throws IOException, ClassNotFoundExc return (T) input.readObject(); } } - - /** - * Checks whether the state of a restorable object can correctly be captured, serialized and - * restored. - */ - public void assertRestorable(Restorable restorable) throws IOException, - ClassNotFoundException { - RestorableState state = restorable.capture(); - RestorableState deserializedState = serializeAndDeserialize(state); - assertEquals(state, deserializedState); - assertEquals(state.hashCode(), deserializedState.hashCode()); - assertEquals(state.toString(), deserializedState.toString()); - } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java index a9526a42d7d7..c4bcfcc13b1c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -18,8 +18,6 @@ import com.google.common.collect.ImmutableList; -import org.junit.Test; - import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.Serializable; @@ -59,17 +57,18 @@ public class SerializationTest extends BaseSerializationTest { + "}"; @Override - public Serializable[] serializableObjects() { + protected Serializable[] serializableObjects() { return new Serializable[]{EXCEPTION_HANDLER, IDENTITY, PAGE, RETRY_PARAMS}; } - @Test - public void testAuthCredentialState() throws IOException, ClassNotFoundException { - AuthCredentials credentials = AuthCredentials.createForAppEngine(); - assertRestorable(credentials); - credentials = AuthCredentials.noAuth(); - assertRestorable(credentials); - credentials = AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())); - assertRestorable(credentials); + @Override + protected Restorable[] restorableObjects() { + try { + return new Restorable[]{AuthCredentials.createForAppEngine(), AuthCredentials.noAuth(), + AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes()))}; + } catch (IOException ex) { + // never reached + throw new RuntimeException(ex); + } } } From c6d88dcec86824334de2ef95c4f32a9c1db3497d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 18 Mar 2016 16:01:58 +0100 Subject: [PATCH 0142/3036] Make NoAuthCredentials constructor private --- .../src/main/java/com/google/gcloud/AuthCredentials.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 38265a26be2e..27cafc181505 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -288,6 +288,8 @@ public boolean equals(Object obj) { } } + private NoAuthCredentials() {} + @Override public GoogleCredentials credentials() { return null; From 2884843863d13b2acf8ad44d039fe6edbf9c1e25 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 18 Mar 2016 16:03:46 +0100 Subject: [PATCH 0143/3036] Add IamPolicy to SerializationTest --- .../com/google/gcloud/SerializationTest.java | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java index c4bcfcc13b1c..194479ac365c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -24,11 +24,34 @@ public class SerializationTest extends BaseSerializationTest { + private static class SomeIamPolicy extends IamPolicy { + + private static final long serialVersionUID = 271243551016958285L; + + private static class Builder extends IamPolicy.Builder { + + @Override + public SomeIamPolicy build() { + return new SomeIamPolicy(this); + } + } + + protected SomeIamPolicy(Builder builder) { + super(builder); + } + + @Override + public Builder toBuilder() { + return new Builder(); + } + } + private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.defaultInstance(); private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); private static final RetryParams RETRY_PARAMS = RetryParams.defaultInstance(); + private static final SomeIamPolicy SOME_IAM_POLICY = new SomeIamPolicy.Builder().build(); private static final String JSON_KEY = "{\n" + " \"private_key_id\": \"somekeyid\",\n" + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" @@ -58,7 +81,7 @@ public class SerializationTest extends BaseSerializationTest { @Override protected Serializable[] serializableObjects() { - return new Serializable[]{EXCEPTION_HANDLER, IDENTITY, PAGE, RETRY_PARAMS}; + return new Serializable[]{EXCEPTION_HANDLER, IDENTITY, PAGE, RETRY_PARAMS, SOME_IAM_POLICY}; } @Override From d629a308e0bb21d36edb196d8d34d1074381a04f Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 18 Mar 2016 16:08:37 +0100 Subject: [PATCH 0144/3036] Add equals and hashCode to exceptions. Add exceptions to serialization tests --- .../google/gcloud/BaseServiceException.java | 45 ++++++++++++++----- .../com/google/gcloud/SerializationTest.java | 5 ++- 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java index 365243904436..4e0d03e0073a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java @@ -32,6 +32,16 @@ */ public class BaseServiceException extends RuntimeException { + private static final long serialVersionUID = 759921776378760835L; + public static final int UNKNOWN_CODE = 0; + + private final int code; + private final boolean retryable; + private final String reason; + private final boolean idempotent; + private final String location; + private final String debugInfo; + protected static final class Error implements Serializable { private static final long serialVersionUID = -4019600198652965721L; @@ -79,16 +89,6 @@ public int hashCode() { } } - private static final long serialVersionUID = 759921776378760835L; - public static final int UNKNOWN_CODE = 0; - - private final int code; - private final boolean retryable; - private final String reason; - private final boolean idempotent; - private final String location; - private final String debugInfo; - public BaseServiceException(IOException exception, boolean idempotent) { super(message(exception), exception); int code = UNKNOWN_CODE; @@ -198,6 +198,31 @@ protected String debugInfo() { return debugInfo; } + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof BaseServiceException)) { + return false; + } + BaseServiceException other = (BaseServiceException) obj; + return Objects.equals(getCause(), other.getCause()) + && Objects.equals(getMessage(), other.getMessage()) + && code == other.code + && retryable == other.retryable + && Objects.equals(reason, other.reason) + && idempotent == other.idempotent + && Objects.equals(location, other.location) + && Objects.equals(debugInfo, other.debugInfo); + } + + @Override + public int hashCode() { + return Objects.hash(getCause(), getMessage(), code, retryable, reason, idempotent, location, + debugInfo); + } + protected static String reason(GoogleJsonError error) { if (error.getErrors() != null && !error.getErrors().isEmpty()) { return error.getErrors().get(0).getReason(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java index 194479ac365c..3255a17333aa 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -46,6 +46,8 @@ public Builder toBuilder() { } } + private static final BaseServiceException BASE_SERVICE_EXCEPTION = + new BaseServiceException(42, "message", "reason", true); private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.defaultInstance(); private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = @@ -81,7 +83,8 @@ public Builder toBuilder() { @Override protected Serializable[] serializableObjects() { - return new Serializable[]{EXCEPTION_HANDLER, IDENTITY, PAGE, RETRY_PARAMS, SOME_IAM_POLICY}; + return new Serializable[]{BASE_SERVICE_EXCEPTION, EXCEPTION_HANDLER, IDENTITY, PAGE, + RETRY_PARAMS, SOME_IAM_POLICY}; } @Override From 8607e7b3dfa2c6d582cf1fa7d4d315b0fa3eb91f Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 21 Mar 2016 09:36:13 -0700 Subject: [PATCH 0145/3036] Add binding entries as necessary in IamPolicy.Builder --- .../java/com/google/gcloud/IamPolicy.java | 63 +++++-------------- .../java/com/google/gcloud/IamPolicyTest.java | 44 +++++++++---- 2 files changed, 49 insertions(+), 58 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java index 748eaba2ab4c..3d7c1422e6fa 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java @@ -83,39 +83,8 @@ public final B bindings(Map> bindings) { return self(); } - /** - * Adds a binding to the policy. - * - * @throws IllegalArgumentException if the policy already contains a binding with the same role - * or if the role or any identities are null - */ - public final B addBinding(R role, Set identities) { - verifyBinding(role, identities); - checkArgument(!bindings.containsKey(role), - "The policy already contains a binding with the role " + role.toString() + "."); - bindings.put(role, new HashSet(identities)); - return self(); - } - - /** - * Adds a binding to the policy. - * - * @throws IllegalArgumentException if the policy already contains a binding with the same role - * or if the role or any identities are null - */ - public final B addBinding(R role, Identity first, Identity... others) { - HashSet identities = new HashSet<>(); - identities.add(first); - identities.addAll(Arrays.asList(others)); - return addBinding(role, identities); - } - private void verifyBinding(R role, Collection identities) { checkArgument(role != null, "The role cannot be null."); - verifyIdentities(identities); - } - - private void verifyIdentities(Collection identities) { checkArgument(identities != null, "A role cannot be assigned to a null set of identities."); checkArgument(!identities.contains(null), "Null identities are not permitted."); } @@ -129,33 +98,33 @@ public final B removeBinding(R role) { } /** - * Adds one or more identities to an existing binding. - * - * @throws IllegalArgumentException if the policy doesn't contain a binding with the specified - * role or any identities are null + * Adds one or more identities to the policy under the role specified. Creates a new role + * binding if the binding corresponding to the given role did not previously exist. */ public final B addIdentity(R role, Identity first, Identity... others) { - checkArgument(bindings.containsKey(role), - "The policy doesn't contain the role " + role.toString() + "."); List toAdd = new LinkedList<>(); toAdd.add(first); toAdd.addAll(Arrays.asList(others)); - verifyIdentities(toAdd); - bindings.get(role).addAll(toAdd); + verifyBinding(role, toAdd); + Set identities = bindings.get(role); + if (identities == null) { + identities = new HashSet(); + bindings.put(role, identities); + } + identities.addAll(toAdd); return self(); } /** - * Removes one or more identities from an existing binding. - * - * @throws IllegalArgumentException if the policy doesn't contain a binding with the specified - * role + * Removes one or more identities from an existing binding. Does nothing if the binding + * associated with the provided role doesn't exist. */ public final B removeIdentity(R role, Identity first, Identity... others) { - checkArgument(bindings.containsKey(role), - "The policy doesn't contain the role " + role.toString() + "."); - bindings.get(role).remove(first); - bindings.get(role).removeAll(Arrays.asList(others)); + Set identities = bindings.get(role); + if (identities != null) { + identities.remove(first); + identities.removeAll(Arrays.asList(others)); + } return self(); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java index db0935c4766d..2f40c3b76001 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java @@ -28,6 +28,7 @@ import org.junit.Test; +import java.util.HashMap; import java.util.Map; import java.util.Set; @@ -46,8 +47,8 @@ public class IamPolicyTest { "editor", ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)); private static final PolicyImpl SIMPLE_POLICY = PolicyImpl.builder() - .addBinding("viewer", ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS)) - .addBinding("editor", ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)) + .addIdentity("viewer", USER, SERVICE_ACCOUNT, ALL_USERS) + .addIdentity("editor", ALL_AUTH_USERS, GROUP, DOMAIN) .build(); private static final PolicyImpl FULL_POLICY = new PolicyImpl.Builder(SIMPLE_POLICY.bindings(), "etag", 1).build(); @@ -105,22 +106,43 @@ public void testBuilder() { policy.bindings()); assertNull(policy.etag()); assertNull(policy.version()); - policy = PolicyImpl.builder().addBinding("owner", USER, SERVICE_ACCOUNT).build(); + policy = PolicyImpl.builder() + .removeIdentity("viewer", USER) + .addIdentity("owner", USER, SERVICE_ACCOUNT) + .build(); assertEquals( ImmutableMap.of("owner", ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.bindings()); assertNull(policy.etag()); assertNull(policy.version()); + } + + @Test + public void testIllegalPolicies() { + try { + PolicyImpl.builder().addIdentity(null, USER); + fail("Null role should cause exception."); + } catch (IllegalArgumentException ex) { + assertEquals("The role cannot be null.", ex.getMessage()); + } + try { + PolicyImpl.builder().addIdentity("viewer", null, USER); + fail("Null identity should cause exception."); + } catch (IllegalArgumentException ex) { + assertEquals("Null identities are not permitted.", ex.getMessage()); + } try { - SIMPLE_POLICY.toBuilder().addBinding("viewer", USER); - fail("Should have failed due to duplicate role."); - } catch (IllegalArgumentException e) { - assertEquals("The policy already contains a binding with the role viewer.", e.getMessage()); + PolicyImpl.builder().bindings(null); + fail("Null bindings map should cause exception."); + } catch (IllegalArgumentException ex) { + assertEquals("The provided map of bindings cannot be null.", ex.getMessage()); } try { - SIMPLE_POLICY.toBuilder().addBinding("editor", ImmutableSet.of(USER)); - fail("Should have failed due to duplicate role."); - } catch (IllegalArgumentException e) { - assertEquals("The policy already contains a binding with the role editor.", e.getMessage()); + Map> bindings = new HashMap<>(); + bindings.put("viewer", null); + PolicyImpl.builder().bindings(bindings); + fail("Null set of identities should cause exception."); + } catch (IllegalArgumentException ex) { + assertEquals("A role cannot be assigned to a null set of identities.", ex.getMessage()); } } From f85acaeb73c01cb9705eeda9ea38f56fcccce155 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 21 Mar 2016 16:29:10 -0700 Subject: [PATCH 0146/3036] Take care of minor changes --- .../java/com/google/gcloud/IamPolicy.java | 44 +++++++++++-------- .../java/com/google/gcloud/IamPolicyTest.java | 29 +++++++++--- 2 files changed, 49 insertions(+), 24 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java index 3d7c1422e6fa..9cce4b23c864 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java @@ -17,17 +17,16 @@ package com.google.gcloud; import static com.google.common.base.Preconditions.checkArgument; +import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import java.io.Serializable; import java.util.Arrays; -import java.util.Collection; import java.util.HashMap; import java.util.HashSet; -import java.util.LinkedList; -import java.util.List; +import java.util.LinkedHashSet; import java.util.Map; import java.util.Objects; import java.util.Set; @@ -69,12 +68,16 @@ protected Builder() {} /** * Replaces the builder's map of bindings with the given map of bindings. * - * @throws IllegalArgumentException if the provided map is null or contain any null values + * @throws NullPointerException if the given map is null or contains any null keys or values + * @throws IllegalArgumentException if any identities in the given map are null */ public final B bindings(Map> bindings) { - checkArgument(bindings != null, "The provided map of bindings cannot be null."); + checkNotNull(bindings, "The provided map of bindings cannot be null."); for (Map.Entry> binding : bindings.entrySet()) { - verifyBinding(binding.getKey(), binding.getValue()); + checkNotNull(binding.getKey(), "The role cannot be null."); + Set identities = binding.getValue(); + checkNotNull(identities, "A role cannot be assigned to a null set of identities."); + checkArgument(!identities.contains(null), "Null identities are not permitted."); } this.bindings.clear(); for (Map.Entry> binding : bindings.entrySet()) { @@ -83,30 +86,30 @@ public final B bindings(Map> bindings) { return self(); } - private void verifyBinding(R role, Collection identities) { - checkArgument(role != null, "The role cannot be null."); - checkArgument(identities != null, "A role cannot be assigned to a null set of identities."); - checkArgument(!identities.contains(null), "Null identities are not permitted."); - } - /** - * Removes the binding associated with the specified role. + * Removes the role (and all identities associated with that role) from the policy. */ - public final B removeBinding(R role) { + public final B removeRole(R role) { bindings.remove(role); return self(); } /** - * Adds one or more identities to the policy under the role specified. Creates a new role - * binding if the binding corresponding to the given role did not previously exist. + * Adds one or more identities to the policy under the role specified. + * + * @throws NullPointerException if the role or any of the identities is null. */ public final B addIdentity(R role, Identity first, Identity... others) { - List toAdd = new LinkedList<>(); + String nullIdentityMessage = "Null identities are not permitted."; + checkNotNull(first, nullIdentityMessage); + checkNotNull(others, nullIdentityMessage); + for (Identity identity : others) { + checkNotNull(identity, nullIdentityMessage); + } + Set toAdd = new LinkedHashSet<>(); toAdd.add(first); toAdd.addAll(Arrays.asList(others)); - verifyBinding(role, toAdd); - Set identities = bindings.get(role); + Set identities = bindings.get(checkNotNull(role, "The role cannot be null.")); if (identities == null) { identities = new HashSet(); bindings.put(role, identities); @@ -125,6 +128,9 @@ public final B removeIdentity(R role, Identity first, Identity... others) { identities.remove(first); identities.removeAll(Arrays.asList(others)); } + if (identities != null && identities.isEmpty()) { + bindings.remove(role); + } return self(); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java index 2f40c3b76001..235c2c2b1c85 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java @@ -29,6 +29,7 @@ import org.junit.Test; import java.util.HashMap; +import java.util.HashSet; import java.util.Map; import java.util.Set; @@ -94,7 +95,7 @@ public void testBuilder() { assertEquals(editorBinding, policy.bindings()); assertEquals("etag", policy.etag()); assertEquals(1, policy.version().intValue()); - policy = SIMPLE_POLICY.toBuilder().removeBinding("editor").build(); + policy = SIMPLE_POLICY.toBuilder().removeRole("editor").build(); assertEquals(ImmutableMap.of("viewer", BINDINGS.get("viewer")), policy.bindings()); assertNull(policy.etag()); assertNull(policy.version()); @@ -109,6 +110,8 @@ public void testBuilder() { policy = PolicyImpl.builder() .removeIdentity("viewer", USER) .addIdentity("owner", USER, SERVICE_ACCOUNT) + .addIdentity("editor", GROUP) + .removeIdentity("editor", GROUP) .build(); assertEquals( ImmutableMap.of("owner", ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.bindings()); @@ -121,19 +124,25 @@ public void testIllegalPolicies() { try { PolicyImpl.builder().addIdentity(null, USER); fail("Null role should cause exception."); - } catch (IllegalArgumentException ex) { + } catch (NullPointerException ex) { assertEquals("The role cannot be null.", ex.getMessage()); } try { PolicyImpl.builder().addIdentity("viewer", null, USER); fail("Null identity should cause exception."); - } catch (IllegalArgumentException ex) { + } catch (NullPointerException ex) { + assertEquals("Null identities are not permitted.", ex.getMessage()); + } + try { + PolicyImpl.builder().addIdentity("viewer", USER, (Identity[]) null); + fail("Null identity should cause exception."); + } catch (NullPointerException ex) { assertEquals("Null identities are not permitted.", ex.getMessage()); } try { PolicyImpl.builder().bindings(null); fail("Null bindings map should cause exception."); - } catch (IllegalArgumentException ex) { + } catch (NullPointerException ex) { assertEquals("The provided map of bindings cannot be null.", ex.getMessage()); } try { @@ -141,9 +150,19 @@ public void testIllegalPolicies() { bindings.put("viewer", null); PolicyImpl.builder().bindings(bindings); fail("Null set of identities should cause exception."); - } catch (IllegalArgumentException ex) { + } catch (NullPointerException ex) { assertEquals("A role cannot be assigned to a null set of identities.", ex.getMessage()); } + try { + Map> bindings = new HashMap<>(); + Set identities = new HashSet<>(); + identities.add(null); + bindings.put("viewer", identities); + PolicyImpl.builder().bindings(bindings); + fail("Null identity should cause exception."); + } catch (IllegalArgumentException ex) { + assertEquals("Null identities are not permitted.", ex.getMessage()); + } } @Test From 94ccb5722c1f1c8795c31dee3bc892d44196814b Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 28 Mar 2016 17:36:19 -0700 Subject: [PATCH 0147/3036] Release v0.1.6 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6d0ed675b423..51d6baf213a9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.6-SNAPSHOT + 0.1.6 gcloud-java-core From d3ea0c895240248a1ed1c22a4ed090955fc86186 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Tue, 29 Mar 2016 01:10:21 +0000 Subject: [PATCH 0148/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index fc5f481f8ec3..1ee96b950471 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.1.5 + 0.1.6 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:0.1.5' +compile 'com.google.gcloud:gcloud-java-core:0.1.6' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.5" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.6" ``` Troubleshooting From 7e9cf6026f69315efc168ea3895e4749d6d3669e Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 28 Mar 2016 18:33:20 -0700 Subject: [PATCH 0149/3036] Update version to 0.1.7-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 51d6baf213a9..13e170e061ee 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.6 + 0.1.7-SNAPSHOT gcloud-java-core From 1e5b320ce620ed331ddc3b0db0d0777d6161e675 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 29 Mar 2016 17:57:35 +0200 Subject: [PATCH 0150/3036] Add common interface for field selectors --- .../java/com/google/gcloud/FieldSelector.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java new file mode 100644 index 000000000000..358c4d4798f6 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java @@ -0,0 +1,30 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +/** + * Interface for Google Cloud resource's fields. Implementations of this interface can be used to + * select only desired fields when getting or listing Google Cloud resources. + */ +public interface FieldSelector { + + /** + * Returns a string selector. This selector is passed to a Google Cloud service (possibly with + * other field selectors) to specify which resource fields should be returned by an API call. + */ + String selector(); +} From 8497772edcbfd0c0b508e840960f789990836b29 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 30 Mar 2016 14:57:00 +0200 Subject: [PATCH 0151/3036] Refactor field selection and helpers - Add FieldSelector.SelectorHelper with static methods to create selectors - Add SelectorHelperTest - Rename dns.AbstractOption to Option, make other Option classes abstract - Add OptionTest class to resource manager and refactor other OptionTest classes --- .../java/com/google/gcloud/FieldSelector.java | 68 +++++++++++++++++- .../com/google/gcloud/SelectorHelperTest.java | 71 +++++++++++++++++++ 2 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/gcloud/SelectorHelperTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java index 358c4d4798f6..343f67e3381b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java @@ -16,9 +16,18 @@ package com.google.gcloud; +import com.google.common.base.Function; +import com.google.common.base.Joiner; +import com.google.common.collect.Lists; +import com.google.common.collect.Sets; + +import java.util.Arrays; +import java.util.List; +import java.util.Set; + /** * Interface for Google Cloud resource's fields. Implementations of this interface can be used to - * select only desired fields when getting or listing Google Cloud resources. + * select only desired fields from a returned Google Cloud resource. */ public interface FieldSelector { @@ -27,4 +36,61 @@ public interface FieldSelector { * other field selectors) to specify which resource fields should be returned by an API call. */ String selector(); + + /** + * A helper class used to build composite selectors given a number of fields. This class is not + * supposed to be used directly by users. + */ + class SelectorHelper { + + private SelectorHelper() {} + + private static final Function FIELD_TO_STRING_FUNCTION = + new Function() { + @Override + public String apply(FieldSelector fieldSelector) { + return fieldSelector.selector(); + } + }; + + private static String selector(List required, FieldSelector[] others, + String... extraResourceFields) { + Set fieldStrings = Sets.newHashSetWithExpectedSize(required.size() + others.length); + fieldStrings.addAll(Lists.transform(required, FIELD_TO_STRING_FUNCTION)); + fieldStrings.addAll(Lists.transform(Arrays.asList(others), FIELD_TO_STRING_FUNCTION)); + fieldStrings.addAll(Arrays.asList(extraResourceFields)); + return Joiner.on(',').join(fieldStrings); + } + + /** + * Returns a composite selector given a number of fields. The string selector returned by this + * method can be used for field selection in API calls that return a single resource. This + * method is not supposed to be used directly by users. + */ + public static String selector(List required, FieldSelector... others) { + return selector(required, others, new String[]{}); + } + + /** + * Returns a composite selector given a number of fields and a container name. The string + * selector returned by this method can be used for field selection in API calls that return a + * list of resources. This method is not supposed to be used directly by users. + */ + public static String selector(String containerName, List required, + FieldSelector... others) { + return "nextPageToken," + containerName + '(' + selector(required, others) + ')'; + } + + /** + * Returns a composite selector given a number of fields and a container name. This methods also + * takes an {@code extraResourceFields} parameter to specify some extra fields as strings. The + * string selector returned by this method can be used for field selection in API calls that + * return a list of resources. This method is not supposed to be used directly by users. + */ + public static String selector(String containerName, List required, + FieldSelector[] others, String... extraResourceFields) { + return "nextPageToken," + containerName + '(' + + selector(required, others, extraResourceFields) + ')'; + } + } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SelectorHelperTest.java new file mode 100644 index 000000000000..2279205539cc --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SelectorHelperTest.java @@ -0,0 +1,71 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import com.google.common.collect.ImmutableList; +import com.google.gcloud.FieldSelector.SelectorHelper; + +import org.junit.Test; + +import java.util.List; + +public class SelectorHelperTest { + + private static final FieldSelector FIELD1 = new FieldSelector() { + @Override + public String selector() { + return "field1"; + } + }; + private static final FieldSelector FIELD2 = new FieldSelector() { + @Override + public String selector() { + return "field2"; + } + }; + private static final FieldSelector FIELD3 = new FieldSelector() { + @Override + public String selector() { + return "field3"; + } + }; + private static final List REQUIRED_FIELDS = ImmutableList.of(FIELD1, FIELD2); + private static final String CONTAINER = "container"; + + @Test + public void testSelector() { + String selector = SelectorHelper.selector(REQUIRED_FIELDS, FIELD3); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertEquals(20, selector.length()); + } + + @Test + public void testListSelector() { + String selector = SelectorHelper.selector(CONTAINER, REQUIRED_FIELDS, FIELD3); + assertTrue(selector.startsWith("nextPageToken,container(")); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertTrue(selector.endsWith(")")); + assertEquals(45, selector.length()); + } +} From 9a8903d751a0127a86d64a19b62af580775265df Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 30 Mar 2016 22:42:29 +0200 Subject: [PATCH 0152/3036] Minor refactoring for SelectorHelper - Rename selector method for lists to listSelector - Update selectors to accept List parameters - Add missing unit test for listSelector - Remove redundant extends Serializable from dns' option classes --- .../java/com/google/gcloud/FieldSelector.java | 12 +++++------ ...Test.java => FieldSelectorHelperTest.java} | 21 +++++++++++++++---- 2 files changed, 23 insertions(+), 10 deletions(-) rename java-core/google-cloud-core/src/test/java/com/google/gcloud/{SelectorHelperTest.java => FieldSelectorHelperTest.java} (72%) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java index 343f67e3381b..be6ab73d00bf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java @@ -41,9 +41,9 @@ public interface FieldSelector { * A helper class used to build composite selectors given a number of fields. This class is not * supposed to be used directly by users. */ - class SelectorHelper { + class Helper { - private SelectorHelper() {} + private Helper() {} private static final Function FIELD_TO_STRING_FUNCTION = new Function() { @@ -53,7 +53,7 @@ public String apply(FieldSelector fieldSelector) { } }; - private static String selector(List required, FieldSelector[] others, + private static String selector(List required, FieldSelector[] others, String... extraResourceFields) { Set fieldStrings = Sets.newHashSetWithExpectedSize(required.size() + others.length); fieldStrings.addAll(Lists.transform(required, FIELD_TO_STRING_FUNCTION)); @@ -67,7 +67,7 @@ private static String selector(List required, FieldSelector[] oth * method can be used for field selection in API calls that return a single resource. This * method is not supposed to be used directly by users. */ - public static String selector(List required, FieldSelector... others) { + public static String selector(List required, FieldSelector... others) { return selector(required, others, new String[]{}); } @@ -76,7 +76,7 @@ public static String selector(List required, FieldSelector... oth * selector returned by this method can be used for field selection in API calls that return a * list of resources. This method is not supposed to be used directly by users. */ - public static String selector(String containerName, List required, + public static String listSelector(String containerName, List required, FieldSelector... others) { return "nextPageToken," + containerName + '(' + selector(required, others) + ')'; } @@ -87,7 +87,7 @@ public static String selector(String containerName, List required * string selector returned by this method can be used for field selection in API calls that * return a list of resources. This method is not supposed to be used directly by users. */ - public static String selector(String containerName, List required, + public static String listSelector(String containerName, List required, FieldSelector[] others, String... extraResourceFields) { return "nextPageToken," + containerName + '(' + selector(required, others, extraResourceFields) + ')'; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/FieldSelectorHelperTest.java similarity index 72% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/SelectorHelperTest.java rename to java-core/google-cloud-core/src/test/java/com/google/gcloud/FieldSelectorHelperTest.java index 2279205539cc..9871c942180e 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/FieldSelectorHelperTest.java @@ -20,13 +20,13 @@ import static org.junit.Assert.assertTrue; import com.google.common.collect.ImmutableList; -import com.google.gcloud.FieldSelector.SelectorHelper; +import com.google.gcloud.FieldSelector.Helper; import org.junit.Test; import java.util.List; -public class SelectorHelperTest { +public class FieldSelectorHelperTest { private static final FieldSelector FIELD1 = new FieldSelector() { @Override @@ -51,7 +51,7 @@ public String selector() { @Test public void testSelector() { - String selector = SelectorHelper.selector(REQUIRED_FIELDS, FIELD3); + String selector = Helper.selector(REQUIRED_FIELDS, FIELD3); assertTrue(selector.contains("field1")); assertTrue(selector.contains("field2")); assertTrue(selector.contains("field3")); @@ -60,7 +60,7 @@ public void testSelector() { @Test public void testListSelector() { - String selector = SelectorHelper.selector(CONTAINER, REQUIRED_FIELDS, FIELD3); + String selector = Helper.listSelector(CONTAINER, REQUIRED_FIELDS, FIELD3); assertTrue(selector.startsWith("nextPageToken,container(")); assertTrue(selector.contains("field1")); assertTrue(selector.contains("field2")); @@ -68,4 +68,17 @@ public void testListSelector() { assertTrue(selector.endsWith(")")); assertEquals(45, selector.length()); } + + @Test + public void testListSelectorWithExtraFields() { + String selector = Helper.listSelector(CONTAINER, REQUIRED_FIELDS, + new FieldSelector[]{FIELD3}, "field4"); + assertTrue(selector.startsWith("nextPageToken,container(")); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertTrue(selector.contains("field4")); + assertTrue(selector.endsWith(")")); + assertEquals(52, selector.length()); + } } From e973c13d1a3bfee6bb9a03886f3ea36a7b161f17 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 1 Apr 2016 00:28:12 +0200 Subject: [PATCH 0153/3036] Get projectId from gcloud active config --- .../java/com/google/gcloud/ServiceOptions.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index d45069434a26..1c5289bbcda9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -27,6 +27,7 @@ import com.google.api.client.http.javanet.NetHttpTransport; import com.google.auth.http.HttpCredentialsAdapter; import com.google.common.collect.Iterables; +import com.google.common.io.Files; import com.google.gcloud.spi.ServiceRpcFactory; import java.io.BufferedReader; @@ -42,6 +43,7 @@ import java.lang.reflect.Method; import java.net.HttpURLConnection; import java.net.URL; +import java.nio.charset.Charset; import java.util.Enumeration; import java.util.Locale; import java.util.Objects; @@ -381,6 +383,18 @@ protected String defaultProject() { return projectId != null ? projectId : googleCloudProjectId(); } + private static String activeGoogleCloudConfig(File configDir) { + String activeGoogleCloudConfig = null; + try { + activeGoogleCloudConfig = + Files.readFirstLine(new File(configDir, "active_config"), Charset.defaultCharset()); + } catch (IOException ex) { + // ignore + } + // if reading active_config failed or the file is empty we try default + return firstNonNull(activeGoogleCloudConfig, "default"); + } + protected static String googleCloudProjectId() { File configDir; if (System.getenv().containsKey("CLOUDSDK_CONFIG")) { @@ -390,9 +404,10 @@ protected static String googleCloudProjectId() { } else { configDir = new File(System.getProperty("user.home"), ".config/gcloud"); } + String activeConfig = activeGoogleCloudConfig(configDir); FileReader fileReader = null; try { - fileReader = new FileReader(new File(configDir, "configurations/config_default")); + fileReader = new FileReader(new File(configDir, "configurations/config_" + activeConfig)); } catch (FileNotFoundException newConfigFileNotFoundEx) { try { fileReader = new FileReader(new File(configDir, "properties")); From 9f467fbffd577b215bdea7b515fa0d8a8a1747dc Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 1 Apr 2016 13:46:59 -0700 Subject: [PATCH 0154/3036] Release 0.1.7 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 13e170e061ee..7d6b9c888788 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.7-SNAPSHOT + 0.1.7 gcloud-java-core From 878ba71b1f40c4791974c0bae2b13e20240a2559 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Fri, 1 Apr 2016 23:24:02 +0000 Subject: [PATCH 0155/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 1ee96b950471..067505179bc9 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.gcloud gcloud-java-core - 0.1.6 + 0.1.7 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:0.1.6' +compile 'com.google.gcloud:gcloud-java-core:0.1.7' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.6" +libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.7" ``` Troubleshooting From e44038a7249b3684c5dab228711725dfe0fbffb6 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 1 Apr 2016 17:05:26 -0700 Subject: [PATCH 0156/3036] Update to version 0.1.8-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7d6b9c888788..df116b0b1be4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.gcloud gcloud-java-pom - 0.1.7 + 0.1.8-SNAPSHOT gcloud-java-core From 98f327f0b20c7387712ead2783dc7992c9af0c1c Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 4 Apr 2016 18:29:44 +0200 Subject: [PATCH 0157/3036] Extract projectId from GOOGLE_APPLICATION_CREDENTIALS if set * Extract projectId from GOOGLE_APPLICATION_CREDENTIALS if set * First look for AE's project id, then GOOGLE_APPLICATION_CREDENTIALS' --- .../com/google/gcloud/ServiceOptions.java | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 1c5289bbcda9..d53cfcdafe24 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -30,8 +30,13 @@ import com.google.common.io.Files; import com.google.gcloud.spi.ServiceRpcFactory; +import org.json.JSONException; +import org.json.JSONObject; +import org.json.JSONTokener; + import java.io.BufferedReader; import java.io.File; +import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; @@ -378,7 +383,10 @@ protected String defaultHost() { protected String defaultProject() { String projectId = System.getProperty(PROJECT_ENV_NAME, System.getenv(PROJECT_ENV_NAME)); if (projectId == null) { - projectId = getAppEngineProjectId(); + projectId = appEngineProjectId(); + } + if (projectId == null) { + projectId = serviceAccountProjectId(); } return projectId != null ? projectId : googleCloudProjectId(); } @@ -461,7 +469,7 @@ private static boolean isWindows() { return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"); } - protected static String getAppEngineProjectId() { + protected static String appEngineProjectId() { try { Class factoryClass = Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); @@ -479,6 +487,20 @@ protected static String getAppEngineProjectId() { } } + protected static String serviceAccountProjectId() { + String project = null; + String credentialsPath = System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); + if(credentialsPath != null) { + try (InputStream credentialsStream = new FileInputStream(credentialsPath)) { + JSONObject json = new JSONObject(new JSONTokener(credentialsStream)); + project = json.getString("project_id"); + } catch (IOException | JSONException ex) { + // ignore + } + } + return project; + } + @SuppressWarnings("unchecked") public ServiceT service() { if (service == null) { From c3f0e01517ff97907543237a4e808edf89f99974 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 6 Apr 2016 19:02:58 +0200 Subject: [PATCH 0158/3036] Add ServiceAccountSigner interface, enable signing for AE credentials --- .../com/google/gcloud/AuthCredentials.java | 104 ++++++++++++++++-- .../google/gcloud/ServiceAccountSigner.java | 67 +++++++++++ .../com/google/gcloud/SerializationTest.java | 49 +++++---- 3 files changed, 187 insertions(+), 33 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceAccountSigner.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 27cafc181505..080d49ed3ccc 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -25,8 +25,13 @@ import java.io.IOException; import java.io.InputStream; import java.io.Serializable; +import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; +import java.security.InvalidKeyException; +import java.security.NoSuchAlgorithmException; import java.security.PrivateKey; +import java.security.Signature; +import java.security.SignatureException; import java.util.Collection; import java.util.Objects; @@ -35,16 +40,26 @@ */ public abstract class AuthCredentials implements Restorable { - private static class AppEngineAuthCredentials extends AuthCredentials { + /** + * Represents built-in credentials when running in Google App Engine. + */ + public static class AppEngineAuthCredentials extends AuthCredentials + implements ServiceAccountSigner { private static final AuthCredentials INSTANCE = new AppEngineAuthCredentials(); private static final AppEngineAuthCredentialsState STATE = new AppEngineAuthCredentialsState(); - private static class AppEngineCredentials extends GoogleCredentials { + private AppEngineCredentials credentials; + + private static class AppEngineCredentials extends GoogleCredentials + implements ServiceAccountSigner { private final Object appIdentityService; + private final String account; private final Method getAccessToken; private final Method getAccessTokenResult; + private final Method signForApp; + private final Method getSignature; private final Collection scopes; AppEngineCredentials() { @@ -59,6 +74,12 @@ private static class AppEngineCredentials extends GoogleCredentials { "com.google.appengine.api.appidentity.AppIdentityService$GetAccessTokenResult"); this.getAccessTokenResult = serviceClass.getMethod("getAccessToken", Iterable.class); this.getAccessToken = tokenResultClass.getMethod("getAccessToken"); + this.account = (String) serviceClass.getMethod("getServiceAccountName") + .invoke(appIdentityService); + this.signForApp = serviceClass.getMethod("signForApp", byte[].class); + Class signingResultClass = Class.forName( + "com.google.appengine.api.appidentity.AppIdentityService$SigningResult"); + this.getSignature = signingResultClass.getMethod("getSignature"); this.scopes = null; } catch (Exception e) { throw new RuntimeException("Could not create AppEngineCredentials.", e); @@ -69,11 +90,14 @@ private static class AppEngineCredentials extends GoogleCredentials { this.appIdentityService = unscoped.appIdentityService; this.getAccessToken = unscoped.getAccessToken; this.getAccessTokenResult = unscoped.getAccessTokenResult; + this.account = unscoped.account; + this.signForApp = unscoped.signForApp; + this.getSignature = unscoped.getSignature; this.scopes = scopes; } /** - * Refresh the access token by getting it from the App Identity service + * Refresh the access token by getting it from the App Identity service. */ @Override public AccessToken refreshAccessToken() throws IOException { @@ -98,6 +122,21 @@ public boolean createScopedRequired() { public GoogleCredentials createScoped(Collection scopes) { return new AppEngineCredentials(scopes, this); } + + @Override + public String account() { + return account; + } + + @Override + public byte[] sign(byte[] toSign) { + try { + Object signingResult = signForApp.invoke(appIdentityService, (Object) toSign); + return (byte[]) getSignature.invoke(signingResult); + } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) { + throw new SigningException("Failed to sign the provided bytes", ex); + } + } } private static class AppEngineAuthCredentialsState @@ -122,14 +161,27 @@ public boolean equals(Object obj) { } @Override - public GoogleCredentials credentials() { - return new AppEngineCredentials(); + public AppEngineCredentials credentials() { + if (credentials == null) { + credentials = new AppEngineCredentials(); + } + return credentials; } @Override public RestorableState capture() { return STATE; } + + @Override + public String account() { + return credentials().account(); + } + + @Override + public byte[] sign(byte[] toSign) { + return credentials().sign(toSign); + } } /** @@ -138,8 +190,10 @@ public RestorableState capture() { * @see * User accounts and service accounts */ - public static class ServiceAccountAuthCredentials extends AuthCredentials { + public static class ServiceAccountAuthCredentials extends AuthCredentials + implements ServiceAccountSigner { + private final ServiceAccountCredentials credentials; private final String account; private final PrivateKey privateKey; @@ -178,23 +232,44 @@ public boolean equals(Object obj) { } ServiceAccountAuthCredentials(String account, PrivateKey privateKey) { - this.account = checkNotNull(account); - this.privateKey = checkNotNull(privateKey); + this(new ServiceAccountCredentials(null, account, privateKey, null, null)); + } + + ServiceAccountAuthCredentials(ServiceAccountCredentials credentials) { + this.credentials = checkNotNull(credentials); + this.account = checkNotNull(credentials.getClientEmail()); + this.privateKey = checkNotNull(credentials.getPrivateKey()); } @Override public ServiceAccountCredentials credentials() { - return new ServiceAccountCredentials(null, account, privateKey, null, null); + return credentials; } + @Override public String account() { return account; } + /** + * Returns the private key associated with the service account credentials. + */ public PrivateKey privateKey() { return privateKey; } + @Override + public byte[] sign(byte[] toSign) { + try { + Signature signer = Signature.getInstance("SHA256withRSA"); + signer.initSign(privateKey()); + signer.update(toSign); + return signer.sign(); + } catch (NoSuchAlgorithmException | InvalidKeyException | SignatureException ex) { + throw new SigningException("Failed to sign the provided bytes", ex); + } + } + @Override public RestorableState capture() { return new ServiceAccountAuthCredentialsState(account, privateKey); @@ -242,6 +317,10 @@ public boolean equals(Object obj) { } } + ApplicationDefaultAuthCredentials(GoogleCredentials credentials) { + googleCredentials = credentials; + } + ApplicationDefaultAuthCredentials() throws IOException { googleCredentials = GoogleCredentials.getApplicationDefault(); } @@ -320,7 +399,12 @@ public static AuthCredentials createForAppEngine() { * @throws IOException if the credentials cannot be created in the current environment */ public static AuthCredentials createApplicationDefaults() throws IOException { - return new ApplicationDefaultAuthCredentials(); + GoogleCredentials credentials = GoogleCredentials.getApplicationDefault(); + if (credentials instanceof ServiceAccountCredentials) { + ServiceAccountCredentials serviceAccountCredentials = (ServiceAccountCredentials) credentials; + return new ServiceAccountAuthCredentials(serviceAccountCredentials); + } + return new ApplicationDefaultAuthCredentials(credentials); } /** diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceAccountSigner.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceAccountSigner.java new file mode 100644 index 000000000000..2456d85e98a7 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceAccountSigner.java @@ -0,0 +1,67 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.gcloud; + +import java.util.Objects; + +/** + * Interface for a service account signer. A signer for a service account is capable of signing + * bytes using the private key associated with its service account. + */ +public interface ServiceAccountSigner { + + class SigningException extends RuntimeException { + + private static final long serialVersionUID = 8962780757822799255L; + + SigningException(String message, Exception cause) { + super(message, cause); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof SigningException)) { + return false; + } + SigningException other = (SigningException) obj; + return Objects.equals(getCause(), other.getCause()) + && Objects.equals(getMessage(), other.getMessage()); + } + + @Override + public int hashCode() { + return Objects.hash(getMessage(), getCause()); + } + } + + /** + * Returns the service account associated with the signer. + */ + String account(); + + /** + * Signs the provided bytes using the private key associated with the service account. + * + * @param toSign bytes to sign + * @return signed bytes + * @throws SigningException if the attempt to sign the provided bytes failed + */ + byte[] sign(byte[] toSign); +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java index 3255a17333aa..8cf58f554de8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java @@ -17,6 +17,7 @@ package com.google.gcloud; import com.google.common.collect.ImmutableList; +import com.google.gcloud.ServiceAccountSigner.SigningException; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -24,34 +25,14 @@ public class SerializationTest extends BaseSerializationTest { - private static class SomeIamPolicy extends IamPolicy { - - private static final long serialVersionUID = 271243551016958285L; - - private static class Builder extends IamPolicy.Builder { - - @Override - public SomeIamPolicy build() { - return new SomeIamPolicy(this); - } - } - - protected SomeIamPolicy(Builder builder) { - super(builder); - } - - @Override - public Builder toBuilder() { - return new Builder(); - } - } - private static final BaseServiceException BASE_SERVICE_EXCEPTION = new BaseServiceException(42, "message", "reason", true); private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.defaultInstance(); private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); + private static final SigningException SIGNING_EXCEPTION = + new SigningException("message", BASE_SERVICE_EXCEPTION); private static final RetryParams RETRY_PARAMS = RetryParams.defaultInstance(); private static final SomeIamPolicy SOME_IAM_POLICY = new SomeIamPolicy.Builder().build(); private static final String JSON_KEY = "{\n" @@ -81,10 +62,32 @@ public Builder toBuilder() { + " \"type\": \"service_account\"\n" + "}"; + private static class SomeIamPolicy extends IamPolicy { + + private static final long serialVersionUID = 271243551016958285L; + + private static class Builder extends IamPolicy.Builder { + + @Override + public SomeIamPolicy build() { + return new SomeIamPolicy(this); + } + } + + protected SomeIamPolicy(Builder builder) { + super(builder); + } + + @Override + public Builder toBuilder() { + return new Builder(); + } + } + @Override protected Serializable[] serializableObjects() { return new Serializable[]{BASE_SERVICE_EXCEPTION, EXCEPTION_HANDLER, IDENTITY, PAGE, - RETRY_PARAMS, SOME_IAM_POLICY}; + RETRY_PARAMS, SOME_IAM_POLICY, SIGNING_EXCEPTION}; } @Override From b8620e5e27f32a46919a272a63de989d9f3d5c7d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 7 Apr 2016 18:05:45 +0200 Subject: [PATCH 0159/3036] Fix checkstyle issues in gcloud-java-core (#871) * Fix checkstyle issues in gcloud-java-core --- .../main/java/com/google/gcloud/FieldSelector.java | 2 +- .../src/main/java/com/google/gcloud/Page.java | 7 +++---- .../src/main/java/com/google/gcloud/Restorable.java | 5 ++--- .../java/com/google/gcloud/RestorableState.java | 2 +- .../main/java/com/google/gcloud/ServiceOptions.java | 13 ++++++------- .../com/google/gcloud/spi/ServiceRpcFactory.java | 6 ++---- .../com/google/gcloud/BaseWriteChannelTest.java | 4 ++-- 7 files changed, 17 insertions(+), 22 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java index be6ab73d00bf..fc6e77242082 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java @@ -54,7 +54,7 @@ public String apply(FieldSelector fieldSelector) { }; private static String selector(List required, FieldSelector[] others, - String... extraResourceFields) { + String... extraResourceFields) { Set fieldStrings = Sets.newHashSetWithExpectedSize(required.size() + others.length); fieldStrings.addAll(Lists.transform(required, FIELD_TO_STRING_FUNCTION)); fieldStrings.addAll(Lists.transform(Arrays.asList(others), FIELD_TO_STRING_FUNCTION)); diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java index 53f3a3842a18..fe192c0c0ceb 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java @@ -21,8 +21,7 @@ /** * Interface for Google Cloud paginated results. * - *

    - * Use {@code Page} to iterate through all values (also in next pages): + *

    Use {@code Page} to iterate through all values (also in next pages): *

     {@code
      * Page page = ...; // get a Page instance
      * Iterator iterator = page.iterateAll();
    @@ -30,8 +29,8 @@
      *   T value = iterator.next();
      *   // do something with value
      * }}
    - *

    - * Or handle pagination explicitly: + * + *

    Or handle pagination explicitly: *

     {@code
      * Page page = ...; // get a Page instance
      * while (page != null) {
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java
    index 0b573522e370..d92c70eb9883 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java
    @@ -19,15 +19,14 @@
     /**
      * Implementation of this interface can persist their state and restore from it.
      *
    - * 

    - * A typical capture usage: + *

    A typical capture usage: *

     {@code
      * X restorableObj; // X instanceof Restorable
      * RestorableState state = restorableObj.capture();
      * .. persist state
      * }
    * - * A typical restore usage: + *

    A typical restore usage: *

     {@code
      * RestorableState state = ... // read from persistence
      * X restorableObj = state.restore();
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java
    index d6ce736ae856..009a86e545f5 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java
    @@ -20,7 +20,7 @@
      * A common interface for restorable states. Implementations of {@code RestorableState} are capable
      * of saving the state of an object to restore it for later use.
      *
    - * Implementations of this class must implement {@link java.io.Serializable} to ensure that the
    + * 

    Implementations of this class must implement {@link java.io.Serializable} to ensure that the * state of a the object can be correctly serialized. * * @param the restored object's type diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index d53cfcdafe24..6a8656fcfa8a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -100,8 +100,8 @@ public abstract class ServiceOptions, Service /** * A base interface for all {@link HttpTransport} factories. * - * Implementation must provide a public no-arg constructor. Loading of a factory implementation is - * done via {@link java.util.ServiceLoader}. + *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation + * is done via {@link java.util.ServiceLoader}. */ public interface HttpTransportFactory { HttpTransport create(); @@ -129,7 +129,7 @@ public HttpTransport create() { * A class providing access to the current time in milliseconds. This class is mainly used for * testing and will be replaced by Java8's {@code java.time.Clock}. * - * Implementations should implement {@code Serializable} wherever possible and must document + *

    Implementations should implement {@code Serializable} wherever possible and must document * whether or not they do support serialization. */ public abstract static class Clock { @@ -490,7 +490,7 @@ protected static String appEngineProjectId() { protected static String serviceAccountProjectId() { String project = null; String credentialsPath = System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); - if(credentialsPath != null) { + if (credentialsPath != null) { try (InputStream credentialsStream = new FileInputStream(credentialsPath)) { JSONObject json = new JSONObject(new JSONTokener(credentialsStream)); project = json.getString("project_id"); @@ -518,9 +518,8 @@ public ServiceRpcT rpc() { } /** - * Returns the project id. - * - * Return value can be null (for services that don't require a project id). + * Returns the project id. Return value can be null (for services that don't require a project + * id). */ public String projectId() { return projectId; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java index d19f6047e4b2..8ee964ca8f39 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java @@ -19,10 +19,8 @@ import com.google.gcloud.ServiceOptions; /** - * A base interface for all service RPC factories. - * - * Implementation must provide a public no-arg constructor. - * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + * A base interface for all service RPC factories. Implementation must provide a public no-arg + * constructor. Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ @SuppressWarnings("rawtypes") public interface ServiceRpcFactory { diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java index 6d5306a3bc7f..b44157b6557b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java @@ -82,7 +82,7 @@ protected BaseState.Builder stateBuilder() { } @Test - public void testConstructor() throws IOException { + public void testConstructor() { assertEquals(null, channel.options()); assertEquals(ENTITY, channel.entity()); assertEquals(0, channel.position()); @@ -108,7 +108,7 @@ public void testValidateOpen() throws IOException { } @Test - public void testChunkSize() throws IOException { + public void testChunkSize() { channel.chunkSize(42); assertEquals(MIN_CHUNK_SIZE, channel.chunkSize()); channel.chunkSize(2 * MIN_CHUNK_SIZE); From c3cfa834ba14413064235a5df66b37aa39d2d382 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Thu, 7 Apr 2016 09:36:54 -0700 Subject: [PATCH 0160/3036] Add default retry params that align with SLA (#860) * Add default retry params that align with SLA * modify default retry params to conform with datastore, storage, and bigquery sla * Javadoc adjustments --- .../java/com/google/gcloud/RetryParams.java | 21 +++++++++++++++---- .../com/google/gcloud/ServiceOptions.java | 11 +++++++++- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java index ab3644c6d747..0b7381b9c3c5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java @@ -48,12 +48,16 @@ public final class RetryParams implements Serializable { private static final long serialVersionUID = -8492751576749007700L; + /** + * Note that App Engine Standard Environment front-end modules have a 60 second deadline for HTTP + * requests. For that reason, we set the default total retry period to less than 60 seconds. + */ + public static final long DEFAULT_TOTAL_RETRY_PERIOD_MILLIS = 50_000L; public static final int DEFAULT_RETRY_MIN_ATTEMPTS = 3; public static final int DEFAULT_RETRY_MAX_ATTEMPTS = 6; - public static final long DEFAULT_INITIAL_RETRY_DELAY_MILLIS = 250L; - public static final long DEFAULT_MAX_RETRY_DELAY_MILLIS = 10_000L; + public static final long DEFAULT_INITIAL_RETRY_DELAY_MILLIS = 1000L; + public static final long DEFAULT_MAX_RETRY_DELAY_MILLIS = 32_000L; public static final double DEFAULT_RETRY_DELAY_BACKOFF_FACTOR = 2.0; - public static final long DEFAULT_TOTAL_RETRY_PERIOD_MILLIS = 50_000L; private final int retryMinAttempts; private final int retryMaxAttempts; @@ -62,6 +66,9 @@ public final class RetryParams implements Serializable { private final double retryDelayBackoffFactor; private final long totalRetryPeriodMillis; + // Some services may have different backoff requirements listed in their SLAs. Be sure to override + // ServiceOptions.defaultRetryParams() in options subclasses when the service's backoff + // requirement differs from the default parameters used here. private static final RetryParams DEFAULT_INSTANCE = new RetryParams(new Builder()); private static final RetryParams NO_RETRIES = builder().retryMaxAttempts(1).retryMinAttempts(1).build(); @@ -156,7 +163,9 @@ public Builder retryDelayBackoffFactor(double retryDelayBackoffFactor) { } /** - * Sets totalRetryPeriodMillis. + * Sets totalRetryPeriodMillis. Note that App Engine Standard Environment front-end modules have + * a 60 second deadline for HTTP requests. For that reason, you should set the total retry + * period to under 60 seconds if you are using it on an App Engine front-end module. * * @param totalRetryPeriodMillis the totalRetryPeriodMillis to set * @return the Builder for chaining @@ -295,4 +304,8 @@ public String toString() { public static Builder builder() { return new Builder(); } + + public Builder toBuilder() { + return new Builder(this); + } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index 6a8656fcfa8a..c523b1f34aa5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -333,7 +333,7 @@ protected ServiceOptions(Class> ser authCredentials = builder.authCredentials != null ? builder.authCredentials : defaultAuthCredentials(); authCredentialsState = authCredentials != null ? authCredentials.capture() : null; - retryParams = firstNonNull(builder.retryParams, RetryParams.defaultInstance()); + retryParams = firstNonNull(builder.retryParams, defaultRetryParams()); serviceFactory = firstNonNull(builder.serviceFactory, getFromServiceLoader(serviceFactoryClass, defaultServiceFactory())); serviceFactoryClassName = serviceFactory.getClass().getName(); @@ -654,6 +654,15 @@ private static T newInstance(String className) throws IOException, ClassNotF public abstract > B toBuilder(); + /** + * Some services may have different backoff requirements listed in their SLAs. Be sure to override + * this method in options subclasses when the service's backoff requirement differs from the + * default parameters listed in {@link RetryParams}. + */ + protected RetryParams defaultRetryParams() { + return RetryParams.defaultInstance(); + } + private static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } From 0452437a2dda960b3679fb96f3606957347a789a Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 8 Apr 2016 09:20:01 -0700 Subject: [PATCH 0161/3036] Clean up LocalGcdHelper and docs (#821) * Cleans up local gcd helper and docs to be more consistent with other test helpers * Renames LocalGcdHelper to LocalDatastoreHelper and RemoteGcsHelper to RemoteStorageHelper * Updates the gcd.sh script version --- .../src/main/java/com/google/gcloud/AuthCredentials.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 080d49ed3ccc..18370ec01fa4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -339,7 +339,7 @@ public RestorableState capture() { /** * A placeholder for credentials to signify that requests sent to the server should not be * authenticated. This is typically useful when using the local service emulators, such as - * {@code LocalGcdHelper} and {@code LocalResourceManagerHelper}. + * {@code LocalDatastoreHelper} and {@code LocalResourceManagerHelper}. */ public static class NoAuthCredentials extends AuthCredentials { @@ -425,7 +425,7 @@ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey /** * Creates a placeholder denoting that no credentials should be used. This is typically useful - * when using the local service emulators, such as {@code LocalGcdHelper} and + * when using the local service emulators, such as {@code LocalDatastoreHelper} and * {@code LocalResourceManagerHelper}. */ public static AuthCredentials noAuth() { From 301c983fdc59e626d66863b9be24f63f2f13744d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sat, 9 Apr 2016 00:36:02 +0200 Subject: [PATCH 0162/3036] Suppress unchecked warning for defaultServiceFactory, defaultRpcFactory and toBuilder (#881) --- .../src/main/java/com/google/gcloud/ServiceOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java index c523b1f34aa5..5f47b2cd05aa 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java @@ -646,9 +646,9 @@ private static T newInstance(String className) throws IOException, ClassNotF } } - protected abstract > T defaultServiceFactory(); + protected abstract ServiceFactory defaultServiceFactory(); - protected abstract > T defaultRpcFactory(); + protected abstract ServiceRpcFactory defaultRpcFactory(); protected abstract Set scopes(); From 5e73c6b99c8144aabb5e7877aaf3775255b7cabe Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Mon, 11 Apr 2016 14:29:14 -0700 Subject: [PATCH 0163/3036] Add expiration date to App Engine credentials (#894) --- .../src/main/java/com/google/gcloud/AuthCredentials.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java index 18370ec01fa4..4cd424bed993 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java @@ -33,6 +33,7 @@ import java.security.Signature; import java.security.SignatureException; import java.util.Collection; +import java.util.Date; import java.util.Objects; /** @@ -58,6 +59,7 @@ private static class AppEngineCredentials extends GoogleCredentials private final String account; private final Method getAccessToken; private final Method getAccessTokenResult; + private final Method getExpirationTime; private final Method signForApp; private final Method getSignature; private final Collection scopes; @@ -74,6 +76,7 @@ private static class AppEngineCredentials extends GoogleCredentials "com.google.appengine.api.appidentity.AppIdentityService$GetAccessTokenResult"); this.getAccessTokenResult = serviceClass.getMethod("getAccessToken", Iterable.class); this.getAccessToken = tokenResultClass.getMethod("getAccessToken"); + this.getExpirationTime = tokenResultClass.getMethod("getExpirationTime"); this.account = (String) serviceClass.getMethod("getServiceAccountName") .invoke(appIdentityService); this.signForApp = serviceClass.getMethod("signForApp", byte[].class); @@ -90,6 +93,7 @@ private static class AppEngineCredentials extends GoogleCredentials this.appIdentityService = unscoped.appIdentityService; this.getAccessToken = unscoped.getAccessToken; this.getAccessTokenResult = unscoped.getAccessTokenResult; + this.getExpirationTime = unscoped.getExpirationTime; this.account = unscoped.account; this.signForApp = unscoped.signForApp; this.getSignature = unscoped.getSignature; @@ -107,7 +111,8 @@ public AccessToken refreshAccessToken() throws IOException { try { Object accessTokenResult = getAccessTokenResult.invoke(appIdentityService, scopes); String accessToken = (String) getAccessToken.invoke(accessTokenResult); - return new AccessToken(accessToken, null); + Date expirationTime = (Date) getExpirationTime.invoke(accessTokenResult); + return new AccessToken(accessToken, expirationTime); } catch (Exception e) { throw new IOException("Could not get the access token.", e); } @@ -131,7 +136,7 @@ public String account() { @Override public byte[] sign(byte[] toSign) { try { - Object signingResult = signForApp.invoke(appIdentityService, (Object) toSign); + Object signingResult = signForApp.invoke(appIdentityService, toSign); return (byte[]) getSignature.invoke(signingResult); } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) { throw new SigningException("Failed to sign the provided bytes", ex); From 09255cfe94591178cd75a2057a44ea27897db8d3 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 12 Apr 2016 11:04:17 -0700 Subject: [PATCH 0164/3036] Rename com.google.gcloud to com.google.cloud (#899) * Rename com.google.gcloud to com.google.cloud * Update readmes with package name change * Fix links in readmes * Update link used to check for artifact deployment --- java-core/google-cloud-core/README.md | 10 +++++----- java-core/google-cloud-core/pom.xml | 2 +- .../{gcloud => cloud}/AuthCredentials.java | 2 +- .../google/{gcloud => cloud}/BaseService.java | 4 ++-- .../{gcloud => cloud}/BaseServiceException.java | 2 +- .../{gcloud => cloud}/BaseWriteChannel.java | 2 +- .../{gcloud => cloud}/ExceptionHandler.java | 2 +- .../google/{gcloud => cloud}/FieldSelector.java | 2 +- .../com/google/{gcloud => cloud}/IamPolicy.java | 2 +- .../com/google/{gcloud => cloud}/Identity.java | 2 +- .../java/com/google/{gcloud => cloud}/Page.java | 2 +- .../com/google/{gcloud => cloud}/PageImpl.java | 2 +- .../google/{gcloud => cloud}/ReadChannel.java | 2 +- .../com/google/{gcloud => cloud}/Restorable.java | 2 +- .../{gcloud => cloud}/RestorableState.java | 2 +- .../google/{gcloud => cloud}/RetryHelper.java | 2 +- .../google/{gcloud => cloud}/RetryParams.java | 2 +- .../com/google/{gcloud => cloud}/Service.java | 2 +- .../{gcloud => cloud}/ServiceAccountSigner.java | 2 +- .../google/{gcloud => cloud}/ServiceFactory.java | 2 +- .../google/{gcloud => cloud}/ServiceOptions.java | 4 ++-- .../google/{gcloud => cloud}/WriteChannel.java | 2 +- .../google/{gcloud => cloud}/package-info.java | 2 +- .../{gcloud => cloud}/spi/ServiceRpcFactory.java | 4 ++-- .../{gcloud => cloud}/BaseSerializationTest.java | 2 +- .../BaseServiceExceptionTest.java | 4 ++-- .../{gcloud => cloud}/BaseWriteChannelTest.java | 4 ++-- .../{gcloud => cloud}/ExceptionHandlerTest.java | 6 +++--- .../FieldSelectorHelperTest.java | 4 ++-- .../google/{gcloud => cloud}/IamPolicyTest.java | 2 +- .../google/{gcloud => cloud}/IdentityTest.java | 2 +- .../google/{gcloud => cloud}/PageImplTest.java | 2 +- .../{gcloud => cloud}/RetryHelperTest.java | 6 +++--- .../{gcloud => cloud}/RetryParamsTest.java | 16 ++++++++-------- .../{gcloud => cloud}/SerializationTest.java | 4 ++-- .../{gcloud => cloud}/ServiceOptionsTest.java | 10 +++++----- 36 files changed, 62 insertions(+), 62 deletions(-) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/AuthCredentials.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/BaseService.java (95%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/BaseServiceException.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/BaseWriteChannel.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/ExceptionHandler.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/FieldSelector.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/IamPolicy.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/Identity.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/Page.java (98%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/PageImpl.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/ReadChannel.java (98%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/Restorable.java (98%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/RestorableState.java (97%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/RetryHelper.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/RetryParams.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/Service.java (96%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/ServiceAccountSigner.java (98%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/ServiceFactory.java (97%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/ServiceOptions.java (99%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/WriteChannel.java (98%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/package-info.java (96%) rename java-core/google-cloud-core/src/main/java/com/google/{gcloud => cloud}/spi/ServiceRpcFactory.java (93%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/BaseSerializationTest.java (99%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/BaseServiceExceptionTest.java (98%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/BaseWriteChannelTest.java (98%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/ExceptionHandlerTest.java (97%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/FieldSelectorHelperTest.java (97%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/IamPolicyTest.java (99%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/IdentityTest.java (99%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/PageImplTest.java (98%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/RetryHelperTest.java (98%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/RetryParamsTest.java (87%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/SerializationTest.java (98%) rename java-core/google-cloud-core/src/test/java/com/google/{gcloud => cloud}/ServiceOptionsTest.java (97%) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 067505179bc9..ca34b9789d8a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -5,30 +5,30 @@ This module provides common functionality required by service-specific modules o [![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java) [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master) -[![Maven](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg)](https://img.shields.io/maven-central/v/com.google.gcloud/gcloud-java-core.svg) +[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/gcloud-java-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/gcloud-java-core.svg) [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/gcloud-java) [![Dependency Status](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969) - [Homepage] (https://googlecloudplatform.github.io/gcloud-java/) -- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/gcloud/package-summary.html) +- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/cloud/package-summary.html) Quickstart ---------- If you are using Maven, add this to your pom.xml file ```xml - com.google.gcloud + com.google.cloud gcloud-java-core 0.1.7 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.gcloud:gcloud-java-core:0.1.7' +compile 'com.google.cloud:gcloud-java-core:0.1.7' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.7" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.1.7" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index df116b0b1be4..2a164ae3288c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -8,7 +8,7 @@ Core module for the gcloud-java. - com.google.gcloud + com.google.cloud gcloud-java-pom 0.1.8-SNAPSHOT diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java index 4cd424bed993..ec5a631f5f54 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.Preconditions.checkNotNull; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java similarity index 95% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index d9e6f2db7c95..d0476b66c29c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; -import com.google.gcloud.ExceptionHandler.Interceptor; +import com.google.cloud.ExceptionHandler.Interceptor; /** * Base class for service objects. diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 4e0d03e0073a..6dc87f4abb3e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import com.google.api.client.googleapis.json.GoogleJsonError; import com.google.api.client.googleapis.json.GoogleJsonResponseException; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index 1d18a5a27e81..f803cd6bbacf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import com.google.common.base.MoreObjects; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index 0b3c923d1eb9..e72eb1edcf88 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.Preconditions.checkNotNull; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java index fc6e77242082..a2b92d752eaf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import com.google.common.base.Function; import com.google.common.base.Joiner; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java index 9cce4b23c864..1f214e1b0f71 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index 687a76ffc42c..fab70dfe6d37 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.Preconditions.checkNotNull; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java similarity index 98% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java index fe192c0c0ceb..8881a98b46ae 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import java.util.Iterator; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index 2dc031ab9bd4..de1a3506b750 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import com.google.common.collect.AbstractIterator; import com.google.common.collect.ImmutableMap; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java similarity index 98% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/ReadChannel.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index 7537c5a8ce0b..2afb8b2d5b32 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import java.io.Closeable; import java.io.IOException; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java similarity index 98% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java index d92c70eb9883..e2a515c7861a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; /** * Implementation of this interface can persist their state and restore from it. diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java similarity index 97% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java index 009a86e545f5..4874756527f7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RestorableState.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; /** * A common interface for restorable states. Implementations of {@code RestorableState} are capable diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index 9b9c1f6a3124..48bd5fcf9324 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.Preconditions.checkNotNull; import static java.lang.StrictMath.max; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java index 0b7381b9c3c5..02ffda18134f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/RetryParams.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.Preconditions.checkArgument; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java similarity index 96% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java index 60bc26670f2e..a3797eca30b9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; /** * Interface for service objects. diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceAccountSigner.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java similarity index 98% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceAccountSigner.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java index 2456d85e98a7..c68d14116aa8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceAccountSigner.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import java.util.Objects; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java similarity index 97% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java index 1727e9c3976f..bb06127c77c6 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; /** * A base interface for all service factories. diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java similarity index 99% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 5f47b2cd05aa..e08d0cd9d155 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.common.base.Preconditions.checkArgument; @@ -28,7 +28,7 @@ import com.google.auth.http.HttpCredentialsAdapter; import com.google.common.collect.Iterables; import com.google.common.io.Files; -import com.google.gcloud.spi.ServiceRpcFactory; +import com.google.cloud.spi.ServiceRpcFactory; import org.json.JSONException; import org.json.JSONObject; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java similarity index 98% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/WriteChannel.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java index e6f06e23dc04..636bc60d0243 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/WriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import java.io.Closeable; import java.nio.channels.WritableByteChannel; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java similarity index 96% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java index d527640c99f9..8b548e3d26e8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/package-info.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java @@ -17,4 +17,4 @@ /** * Core classes for the {@code gcloud-java} library. */ -package com.google.gcloud; +package com.google.cloud; diff --git a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java similarity index 93% rename from java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java index 8ee964ca8f39..21a061f4a5dc 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/gcloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package com.google.gcloud.spi; +package com.google.cloud.spi; -import com.google.gcloud.ServiceOptions; +import com.google.cloud.ServiceOptions; /** * A base interface for all service RPC factories. Implementation must provide a public no-arg diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java similarity index 99% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java index e9ab3d47984b..57603b9026d8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseSerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static com.google.common.base.MoreObjects.firstNonNull; import static org.junit.Assert.assertEquals; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java similarity index 98% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index e3c6abb7d1ee..52bc3b2b51a4 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -14,9 +14,9 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; -import static com.google.gcloud.BaseServiceException.UNKNOWN_CODE; +import static com.google.cloud.BaseServiceException.UNKNOWN_CODE; import static org.easymock.EasyMock.createMock; import static org.easymock.EasyMock.expect; import static org.easymock.EasyMock.replay; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java similarity index 98% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index b44157b6557b..fc476b11ae6e 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static junit.framework.TestCase.assertFalse; import static junit.framework.TestCase.assertTrue; @@ -22,7 +22,7 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; -import com.google.gcloud.spi.ServiceRpcFactory; +import com.google.cloud.spi.ServiceRpcFactory; import org.junit.Before; import org.junit.Rule; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java similarity index 97% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java index cedc995ddbd0..ddbd2ced841c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.gcloud.ExceptionHandler.Interceptor; -import com.google.gcloud.ExceptionHandler.Interceptor.RetryResult; +import com.google.cloud.ExceptionHandler.Interceptor; +import com.google.cloud.ExceptionHandler.Interceptor.RetryResult; import org.junit.Rule; import org.junit.Test; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java similarity index 97% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/FieldSelectorHelperTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java index 9871c942180e..6cdc4bdfb924 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/FieldSelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import com.google.common.collect.ImmutableList; -import com.google.gcloud.FieldSelector.Helper; +import com.google.cloud.FieldSelector.Helper; import org.junit.Test; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IamPolicyTest.java similarity index 99% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/IamPolicyTest.java index 235c2c2b1c85..e79cfd96554c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IamPolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IamPolicyTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java similarity index 99% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index a42bc9db7abd..e720503c547d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java similarity index 98% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index 4389171fb49c..07d979ad857c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static org.junit.Assert.assertEquals; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java similarity index 98% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java index 9a7cc2104f4a..7012813be2d0 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static java.util.concurrent.Executors.callable; import static org.junit.Assert.assertEquals; @@ -24,8 +24,8 @@ import com.google.common.base.Stopwatch; import com.google.common.base.Ticker; -import com.google.gcloud.RetryHelper.NonRetriableException; -import com.google.gcloud.RetryHelper.RetriesExhaustedException; +import com.google.cloud.RetryHelper.NonRetriableException; +import com.google.cloud.RetryHelper.RetriesExhaustedException; import org.junit.Test; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java similarity index 87% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java index eae44693929b..c3041053110b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/RetryParamsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java @@ -14,18 +14,18 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; -import static com.google.gcloud.RetryParams.DEFAULT_INITIAL_RETRY_DELAY_MILLIS; -import static com.google.gcloud.RetryParams.DEFAULT_MAX_RETRY_DELAY_MILLIS; -import static com.google.gcloud.RetryParams.DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; -import static com.google.gcloud.RetryParams.DEFAULT_RETRY_MAX_ATTEMPTS; -import static com.google.gcloud.RetryParams.DEFAULT_RETRY_MIN_ATTEMPTS; -import static com.google.gcloud.RetryParams.DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; +import static com.google.cloud.RetryParams.DEFAULT_INITIAL_RETRY_DELAY_MILLIS; +import static com.google.cloud.RetryParams.DEFAULT_MAX_RETRY_DELAY_MILLIS; +import static com.google.cloud.RetryParams.DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; +import static com.google.cloud.RetryParams.DEFAULT_RETRY_MAX_ATTEMPTS; +import static com.google.cloud.RetryParams.DEFAULT_RETRY_MIN_ATTEMPTS; +import static com.google.cloud.RetryParams.DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; -import com.google.gcloud.RetryParams.Builder; +import com.google.cloud.RetryParams.Builder; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java similarity index 98% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 8cf58f554de8..72d622239f3c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -14,10 +14,10 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import com.google.common.collect.ImmutableList; -import com.google.gcloud.ServiceAccountSigner.SigningException; +import com.google.cloud.ServiceAccountSigner.SigningException; import java.io.ByteArrayInputStream; import java.io.IOException; diff --git a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java similarity index 97% rename from java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index d0e3db2d2a55..b6f7a5453ddc 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/gcloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.gcloud; +package com.google.cloud; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; @@ -22,10 +22,10 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.gcloud.ServiceOptions.Clock; -import com.google.gcloud.ServiceOptions.DefaultHttpTransportFactory; -import com.google.gcloud.ServiceOptions.HttpTransportFactory; -import com.google.gcloud.spi.ServiceRpcFactory; +import com.google.cloud.ServiceOptions.Clock; +import com.google.cloud.ServiceOptions.DefaultHttpTransportFactory; +import com.google.cloud.ServiceOptions.HttpTransportFactory; +import com.google.cloud.spi.ServiceRpcFactory; import org.easymock.EasyMock; import org.junit.Test; From a38ab426bf6fbbd55de7093cf1d87be2f80141b6 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 12 Apr 2016 11:28:30 -0700 Subject: [PATCH 0165/3036] Release 0.2.0 with repackaging note (#904) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2a164ae3288c..2d8eb4e4405c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.cloud gcloud-java-pom - 0.1.8-SNAPSHOT + 0.2.0 gcloud-java-core From ffc393cb55d964d834cb5781705b788420d4d54b Mon Sep 17 00:00:00 2001 From: travis-ci Date: Tue, 12 Apr 2016 18:42:18 +0000 Subject: [PATCH 0166/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index ca34b9789d8a..9a659c0f8cc0 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.1.7 + 0.2.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.1.7' +compile 'com.google.cloud:gcloud-java-core:0.2.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.1.7" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.0" ``` Troubleshooting From 04f05e221b658c391f4b60f84a96047114f9c530 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 12 Apr 2016 12:14:00 -0700 Subject: [PATCH 0167/3036] update version to 0.2.1-SNAPSHOT (#905) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2d8eb4e4405c..4e2ecb69a050 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -10,7 +10,7 @@ com.google.cloud gcloud-java-pom - 0.2.0 + 0.2.1-SNAPSHOT gcloud-java-core From 4da627fcdd16b8075eacc1ab6f33c40acf01f880 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 12 Apr 2016 23:50:02 +0200 Subject: [PATCH 0168/3036] Remove unused apt files and fix homepage URLs (#906) * Remove unused apt files * Fix URLs to homepage for each module --- java-core/google-cloud-core/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4e2ecb69a050..22648d2e6ffa 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -4,6 +4,7 @@ gcloud-java-core jar GCloud Java core + https://github.com/GoogleCloudPlatform/gcloud-java/tree/master/gcloud-java-core Core module for the gcloud-java. From 3c4f7c802f771964f108ca47a7d8e47676ddd620 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Tue, 12 Apr 2016 16:31:54 -0700 Subject: [PATCH 0169/3036] reorder imports --- .../src/main/java/com/google/cloud/BaseWriteChannel.java | 1 + .../src/main/java/com/google/cloud/ServiceOptions.java | 2 +- .../test/java/com/google/cloud/FieldSelectorHelperTest.java | 2 +- .../src/test/java/com/google/cloud/RetryHelperTest.java | 4 ++-- .../src/test/java/com/google/cloud/SerializationTest.java | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index f803cd6bbacf..038ef8c362de 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.cloud.BaseWriteChannel.BaseState; import com.google.common.base.MoreObjects; import java.io.IOException; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index e08d0cd9d155..194f61b45c42 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -26,9 +26,9 @@ import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; import com.google.auth.http.HttpCredentialsAdapter; +import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.collect.Iterables; import com.google.common.io.Files; -import com.google.cloud.spi.ServiceRpcFactory; import org.json.JSONException; import org.json.JSONObject; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java index 6cdc4bdfb924..9aa892c7b0b0 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -19,8 +19,8 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import com.google.common.collect.ImmutableList; import com.google.cloud.FieldSelector.Helper; +import com.google.common.collect.ImmutableList; import org.junit.Test; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java index 7012813be2d0..3887cecd6a83 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java @@ -22,10 +22,10 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.common.base.Stopwatch; -import com.google.common.base.Ticker; import com.google.cloud.RetryHelper.NonRetriableException; import com.google.cloud.RetryHelper.RetriesExhaustedException; +import com.google.common.base.Stopwatch; +import com.google.common.base.Ticker; import org.junit.Test; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 72d622239f3c..75347b250227 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -16,8 +16,8 @@ package com.google.cloud; -import com.google.common.collect.ImmutableList; import com.google.cloud.ServiceAccountSigner.SigningException; +import com.google.common.collect.ImmutableList; import java.io.ByteArrayInputStream; import java.io.IOException; From 9d7abd96cc684e42ea0b5a37433be180fd0c52ff Mon Sep 17 00:00:00 2001 From: Martin Derka Date: Thu, 14 Apr 2016 18:07:13 -0400 Subject: [PATCH 0170/3036] Marked exceptions for create and deletes in DNS as non-idempotent. (#883) Add the notion of "rejected" to BaseServiceException to indicate that the service rejected the request and it should be safe to retry it even if request is not idempotent. --- .../google/cloud/BaseServiceException.java | 60 ++++++++++--------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 6dc87f4abb3e..ad2d6bf07144 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -48,10 +48,16 @@ protected static final class Error implements Serializable { private final Integer code; private final String reason; + private final boolean rejected; public Error(Integer code, String reason) { + this(code, reason, false); + } + + public Error(Integer code, String reason, boolean rejected) { this.code = code; this.reason = reason; + this.rejected = rejected; } /** @@ -61,6 +67,15 @@ public Integer code() { return code; } + /** + * Returns true if the error indicates that the API call was certainly not accepted by the + * server. For instance, if the server returns a rate limit exceeded error, it certainly did not + * process the request and this method will return {@code true}. + */ + public boolean rejected() { + return rejected; + } + /** * Returns the reason that caused the exception. */ @@ -68,11 +83,11 @@ public String reason() { return reason; } - boolean isRetryable(Set retryableErrors) { + boolean isRetryable(boolean idempotent, Set retryableErrors) { for (Error retryableError : retryableErrors) { if ((retryableError.code() == null || retryableError.code().equals(this.code())) && (retryableError.reason() == null || retryableError.reason().equals(this.reason()))) { - return true; + return idempotent || retryableError.rejected(); } } return false; @@ -95,12 +110,14 @@ public BaseServiceException(IOException exception, boolean idempotent) { String reason = null; String location = null; String debugInfo = null; + Boolean retryable = null; if (exception instanceof GoogleJsonResponseException) { GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); if (jsonError != null) { - Error error = error(jsonError); + Error error = new Error(jsonError.getCode(), reason(jsonError)); code = error.code; reason = error.reason; + retryable = isRetryable(idempotent, error); if (reason != null) { GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); location = errorInfo.getLocation(); @@ -110,8 +127,8 @@ public BaseServiceException(IOException exception, boolean idempotent) { code = ((GoogleJsonResponseException) exception).getStatusCode(); } } + this.retryable = MoreObjects.firstNonNull(retryable, isRetryable(idempotent, exception)); this.code = code; - this.retryable = idempotent && isRetryable(exception); this.reason = reason; this.idempotent = idempotent; this.location = location; @@ -119,13 +136,7 @@ public BaseServiceException(IOException exception, boolean idempotent) { } public BaseServiceException(GoogleJsonError error, boolean idempotent) { - super(error.getMessage()); - this.code = error.getCode(); - this.reason = reason(error); - this.idempotent = idempotent; - this.retryable = idempotent && isRetryable(error); - this.location = null; - this.debugInfo = null; + this(error.getCode(), error.getMessage(), reason(error), idempotent); } public BaseServiceException(int code, String message, String reason, boolean idempotent) { @@ -138,7 +149,7 @@ public BaseServiceException(int code, String message, String reason, boolean ide this.code = code; this.reason = reason; this.idempotent = idempotent; - this.retryable = idempotent && new Error(code, reason).isRetryable(retryableErrors()); + this.retryable = isRetryable(idempotent, new Error(code, reason)); this.location = null; this.debugInfo = null; } @@ -147,15 +158,12 @@ protected Set retryableErrors() { return Collections.emptySet(); } - protected boolean isRetryable(GoogleJsonError error) { - return error != null && error(error).isRetryable(retryableErrors()); + protected boolean isRetryable(boolean idempotent, Error error) { + return error.isRetryable(idempotent, retryableErrors()); } - protected boolean isRetryable(IOException exception) { - if (exception instanceof GoogleJsonResponseException) { - return isRetryable(((GoogleJsonResponseException) exception).getDetails()); - } - return exception instanceof SocketTimeoutException; + protected boolean isRetryable(boolean idempotent, IOException exception) { + return idempotent && exception instanceof SocketTimeoutException; } /** @@ -187,8 +195,8 @@ public boolean idempotent() { } /** - * Returns the service location where the error causing the exception occurred. Returns - * {@code null} if not set. + * Returns the service location where the error causing the exception occurred. Returns {@code + * null} if not available. */ public String location() { return location; @@ -223,18 +231,14 @@ public int hashCode() { debugInfo); } - protected static String reason(GoogleJsonError error) { - if (error.getErrors() != null && !error.getErrors().isEmpty()) { + private static String reason(GoogleJsonError error) { + if (error.getErrors() != null && !error.getErrors().isEmpty()) { return error.getErrors().get(0).getReason(); } return null; } - protected static Error error(GoogleJsonError error) { - return new Error(error.getCode(), reason(error)); - } - - protected static String message(IOException exception) { + private static String message(IOException exception) { if (exception instanceof GoogleJsonResponseException) { GoogleJsonError details = ((GoogleJsonResponseException) exception).getDetails(); if (details != null) { From 8e7c1c484869f93936b6b9ab0cd2b1bc56ebbe42 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 15 Apr 2016 00:19:58 +0200 Subject: [PATCH 0171/3036] Enable mocking of functional classes and configurations (#892) * Enable mocking of functional classes and configurations * Refactor classes to be either final or have final equals/hashCode * Make job configuration classes final --- .../src/main/java/com/google/cloud/IamPolicy.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java index 1f214e1b0f71..2d15d9907687 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java @@ -219,7 +219,10 @@ public final int hashCode() { @Override public final boolean equals(Object obj) { - if (obj == null || !getClass().equals(obj.getClass())) { + if (obj == this) { + return true; + } + if (obj == null || !obj.getClass().equals(getClass())) { return false; } @SuppressWarnings("rawtypes") From cd436a0193fa876ad5d8dc68bdf1f01c510bedc3 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sat, 16 Apr 2016 01:31:16 +0200 Subject: [PATCH 0172/3036] Add prefixes field to field selector when listing blobs (#933) --- .../java/com/google/cloud/FieldSelector.java | 40 ++++++++++++++----- .../google/cloud/FieldSelectorHelperTest.java | 17 ++++++++ 2 files changed, 46 insertions(+), 11 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java index a2b92d752eaf..5a46d058648d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -43,6 +43,8 @@ public interface FieldSelector { */ class Helper { + private static final String[] EMPTY_FIELDS = {}; + private Helper() {} private static final Function FIELD_TO_STRING_FUNCTION = @@ -63,18 +65,18 @@ private static String selector(List required, FieldSele } /** - * Returns a composite selector given a number of fields. The string selector returned by this - * method can be used for field selection in API calls that return a single resource. This - * method is not supposed to be used directly by users. + * Returns a composite selector given a number of resource fields. The string selector returned + * by this method can be used for field selection in API calls that return a single resource. + * This method is not supposed to be used directly by users. */ public static String selector(List required, FieldSelector... others) { return selector(required, others, new String[]{}); } /** - * Returns a composite selector given a number of fields and a container name. The string - * selector returned by this method can be used for field selection in API calls that return a - * list of resources. This method is not supposed to be used directly by users. + * Returns a composite selector given a number of resource fields and a container name. The + * string selector returned by this method can be used for field selection in API calls that + * return a list of resources. This method is not supposed to be used directly by users. */ public static String listSelector(String containerName, List required, FieldSelector... others) { @@ -82,14 +84,30 @@ public static String listSelector(String containerName, List required, FieldSelector[] others, String... extraResourceFields) { - return "nextPageToken," + containerName + '(' + return listSelector(EMPTY_FIELDS, containerName, required, others, extraResourceFields); + } + + /** + * Returns a composite selector given a number of top level fields as strings, a number of + * resource fields and a container name. This method also takes an {@code extraResourceFields} + * parameter to specify some extra resource fields as strings. The string selector returned by + * this method can be used for field selection in API calls that return a list of resources. + * This method is not supposed to be used directly by users. + */ + public static String listSelector(String[] topLevelFields, String containerName, + List required, FieldSelector[] others, + String... extraResourceFields) { + Set topLevelStrings = Sets.newHashSetWithExpectedSize(topLevelFields.length + 1); + topLevelStrings.addAll(Lists.asList("nextPageToken", topLevelFields)); + return Joiner.on(',').join(topLevelStrings) + "," + containerName + '(' + selector(required, others, extraResourceFields) + ')'; } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java index 9aa892c7b0b0..02d5847946e0 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -46,6 +46,7 @@ public String selector() { return "field3"; } }; + private static final String[] FIRST_LEVEL_FIELDS = {"firstLevel1", "firstLevel2"}; private static final List REQUIRED_FIELDS = ImmutableList.of(FIELD1, FIELD2); private static final String CONTAINER = "container"; @@ -81,4 +82,20 @@ public void testListSelectorWithExtraFields() { assertTrue(selector.endsWith(")")); assertEquals(52, selector.length()); } + + @Test + public void testListSelectorWithFirstLevelFields() { + String selector = Helper.listSelector(FIRST_LEVEL_FIELDS, CONTAINER, REQUIRED_FIELDS, + new FieldSelector[]{FIELD3}, "field4"); + assertTrue(selector.contains("firstLevel1")); + assertTrue(selector.contains("firstLevel2")); + assertTrue(selector.contains("nextPageToken")); + assertTrue(selector.contains("container(")); + assertTrue(selector.contains("field1")); + assertTrue(selector.contains("field2")); + assertTrue(selector.contains("field3")); + assertTrue(selector.contains("field4")); + assertTrue(selector.endsWith(")")); + assertEquals(76, selector.length()); + } } From 0547c5d7f36bba034af7bc1a8c20238fdcdcc4d8 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 20 Apr 2016 13:46:55 +0200 Subject: [PATCH 0173/3036] Add support for batches to DNS (#940) --- .../java/com/google/cloud/BatchResult.java | 108 +++++++++++++++++ .../com/google/cloud/BatchResultTest.java | 113 ++++++++++++++++++ 2 files changed, 221 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java new file mode 100644 index 000000000000..fb78409ea31e --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java @@ -0,0 +1,108 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Preconditions.checkNotNull; +import static com.google.common.base.Preconditions.checkState; + +import java.util.LinkedList; +import java.util.List; + +/** + * This class holds a single result of a batch call. The class is not thread-safe. + * + * @param the type of the result + * @param the type of the service-dependent exception thrown when a processing error occurs + * + */ +public abstract class BatchResult { + + private T result; + private boolean completed = false; + private E error; + private final List> toBeNotified = new LinkedList<>(); + + /** + * Returns {@code true} if the batch has been completed and the result is available; {@code false} + * otherwise. + */ + public boolean completed() { + return completed; + } + + /** + * Returns the result of this call. + * + * @throws IllegalStateException if the batch has not been completed yet + * @throws E if an error occurred when processing the batch request + */ + public T get() throws E { + checkState(completed(), "Batch has not been completed yet"); + if (error != null) { + throw error; + } + return result; + } + + /** + * Adds a callback for the batch operation. + * + * @throws IllegalStateException if the batch has been completed already + */ + public void notify(Callback callback) { + checkState(!completed, "The batch has been completed. All the calls to the notify()" + + " method should be done prior to submitting the batch."); + toBeNotified.add(callback); + } + + /** + * Sets an error and status as completed. Notifies all callbacks. + */ + protected void error(E error) { + this.error = checkNotNull(error); + this.completed = true; + for (Callback callback : toBeNotified) { + callback.error(error); + } + } + + /** + * Sets a result and status as completed. Notifies all callbacks. + */ + protected void success(T result) { + this.result = result; + this.completed = true; + for (Callback callback : toBeNotified) { + callback.success(result); + } + } + + /** + * An interface for the batch callbacks. + */ + public interface Callback { + /** + * The method to be called when the batched operation succeeds. + */ + void success(T result); + + /** + * The method to be called when the batched operation fails. + */ + void error(E exception); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java new file mode 100644 index 000000000000..8fb26bc8ce36 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java @@ -0,0 +1,113 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import org.easymock.EasyMock; +import org.junit.Before; +import org.junit.Test; + +public class BatchResultTest { + + private BatchResult result; + + @Before + public void setUp() { + result = new BatchResult() {}; + } + + @Test + public void testSuccess() { + assertFalse(result.completed()); + try { + result.get(); + fail("This was not completed yet."); + } catch (IllegalStateException ex) { + // expected + } + result.success(true); + assertTrue(result.get()); + // test that null is allowed + result.success(null); + } + + @Test + public void testError() { + assertFalse(result.completed()); + try { + result.get(); + fail("This was not completed yet."); + } catch (IllegalStateException ex) { + // expected + } + try { + result.error(null); + fail(); + } catch (NullPointerException exc) { + // expected + } + BaseServiceException ex = new BaseServiceException(0, "message", "reason", false); + result.error(ex); + try { + result.get(); + fail("This is a failed operation and should have thrown a DnsException."); + } catch (BaseServiceException real) { + assertSame(ex, real); + } + } + + @Test + public void testNotifyError() { + final BaseServiceException ex = new BaseServiceException(0, "message", "reason", false); + assertFalse(result.completed()); + BatchResult.Callback callback = + EasyMock.createStrictMock(BatchResult.Callback.class); + callback.error(ex); + EasyMock.replay(callback); + result.notify(callback); + result.error(ex); + try { + result.notify(callback); + fail("The batch has been completed."); + } catch (IllegalStateException exception) { + // expected + } + EasyMock.verify(callback); + } + + @Test + public void testNotifySuccess() { + assertFalse(result.completed()); + BatchResult.Callback callback = + EasyMock.createStrictMock(BatchResult.Callback.class); + callback.success(true); + EasyMock.replay(callback); + result.notify(callback); + result.success(true); + try { + result.notify(callback); + fail("The batch has been completed."); + } catch (IllegalStateException exception) { + // expected + } + EasyMock.verify(callback); + } +} From 4c3598dd7a37ca3e10e2a3d33d47b6142cf4f1d1 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 22 Apr 2016 21:29:07 +0200 Subject: [PATCH 0174/3036] Make DNS batch get zone/changerequest return null for NOT_FOUND (#953) --- .../com/google/cloud/BaseServiceException.java | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index ad2d6bf07144..7cc55fd7a19b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -135,8 +135,21 @@ public BaseServiceException(IOException exception, boolean idempotent) { this.debugInfo = debugInfo; } - public BaseServiceException(GoogleJsonError error, boolean idempotent) { - this(error.getCode(), error.getMessage(), reason(error), idempotent); + public BaseServiceException(GoogleJsonError googleJsonError, boolean idempotent) { + super(googleJsonError.getMessage()); + Error error = new Error(googleJsonError.getCode(), reason(googleJsonError)); + this.code = error.code; + this.reason = error.reason; + this.retryable = isRetryable(idempotent, error); + if (this.reason != null) { + GoogleJsonError.ErrorInfo errorInfo = googleJsonError.getErrors().get(0); + this.location = errorInfo.getLocation(); + this.debugInfo = (String) errorInfo.get("debugInfo"); + } else { + this.location = null; + this.debugInfo = null; + } + this.idempotent = idempotent; } public BaseServiceException(int code, String message, String reason, boolean idempotent) { From 816edfe4b2344b6273f734d75499a2b239fb0086 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 29 Apr 2016 22:40:21 +0200 Subject: [PATCH 0175/3036] Release 0.2.1 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 22648d2e6ffa..c2ffc35d2f39 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.1-SNAPSHOT + 0.2.1 gcloud-java-core From f2914fe8360429e49761cf044ecf2f13c0198fdc Mon Sep 17 00:00:00 2001 From: travis-ci Date: Fri, 29 Apr 2016 21:26:09 +0000 Subject: [PATCH 0176/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 9a659c0f8cc0..ac137785f483 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.0 + 0.2.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.0' +compile 'com.google.cloud:gcloud-java-core:0.2.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.0" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.1" ``` Troubleshooting From 6b54a10252b5eea05ef4c10fe0414174a8eca229 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sat, 30 Apr 2016 00:16:13 +0200 Subject: [PATCH 0177/3036] update version to 0.2.2-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c2ffc35d2f39..e7b1242f0f9c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.1 + 0.2.2-SNAPSHOT gcloud-java-core From 661ed39efa60f34841eff8e1d92ae06f4e5bd421 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 20 May 2016 15:30:26 +0200 Subject: [PATCH 0178/3036] Move Clock out of ServiceOptions, use it in RetryHelper (#954) * Move Clock out of ServiceOptions, use it in RetryHelper * Always pass options.clock() to RetryHelper.runWithRetries --- .../src/main/java/com/google/cloud/Clock.java | 59 +++++++++++++++++++ .../java/com/google/cloud/RetryHelper.java | 23 ++++---- .../java/com/google/cloud/ServiceOptions.java | 40 ------------- .../com/google/cloud/RetryHelperTest.java | 22 ++++--- .../com/google/cloud/ServiceOptionsTest.java | 1 - 5 files changed, 79 insertions(+), 66 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java new file mode 100644 index 000000000000..447200b03bf4 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java @@ -0,0 +1,59 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import java.io.ObjectStreamException; +import java.io.Serializable; + +/** + * A class providing access to the current time in milliseconds. This class is mainly used for + * testing and will be replaced by Java8's {@code java.time.Clock}. + * + *

    Implementations should implement {@code Serializable} wherever possible and must document + * whether or not they do support serialization. + */ +public abstract class Clock { + + private static final Clock DEFAULT_TIME_SOURCE = new DefaultClock(); + + /** + * Returns current time in milliseconds according to this clock. + */ + public abstract long millis(); + + /** + * Returns the default clock. Default clock uses {@link System#currentTimeMillis()} to get time + * in milliseconds. + */ + public static Clock defaultClock() { + return DEFAULT_TIME_SOURCE; + } + + private static class DefaultClock extends Clock implements Serializable { + + private static final long serialVersionUID = -5077300394286703864L; + + @Override + public long millis() { + return System.currentTimeMillis(); + } + + private Object readResolve() throws ObjectStreamException { + return DEFAULT_TIME_SOURCE; + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index 48bd5fcf9324..bd59070d4754 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -21,12 +21,10 @@ import static java.lang.StrictMath.min; import static java.lang.StrictMath.pow; import static java.lang.StrictMath.random; -import static java.util.concurrent.TimeUnit.MILLISECONDS; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.MoreObjects; import com.google.common.base.MoreObjects.ToStringHelper; -import com.google.common.base.Stopwatch; import java.io.InterruptedIOException; import java.nio.channels.ClosedByInterruptException; @@ -45,7 +43,7 @@ public class RetryHelper { private static final Logger log = Logger.getLogger(RetryHelper.class.getName()); - private final Stopwatch stopwatch; + private final Clock clock; private final Callable callable; private final RetryParams params; private final ExceptionHandler exceptionHandler; @@ -153,10 +151,10 @@ static Context getContext() { @VisibleForTesting RetryHelper(Callable callable, RetryParams params, ExceptionHandler exceptionHandler, - Stopwatch stopwatch) { + Clock clock) { this.callable = checkNotNull(callable); this.params = checkNotNull(params); - this.stopwatch = checkNotNull(stopwatch); + this.clock = checkNotNull(clock); this.exceptionHandler = checkNotNull(exceptionHandler); exceptionHandler.verifyCaller(callable); } @@ -165,7 +163,7 @@ static Context getContext() { public String toString() { ToStringHelper toStringHelper = MoreObjects.toStringHelper(this); toStringHelper.add("params", params); - toStringHelper.add("stopwatch", stopwatch); + toStringHelper.add("clock", clock); toStringHelper.add("attemptNumber", attemptNumber); toStringHelper.add("callable", callable); toStringHelper.add("exceptionHandler", exceptionHandler); @@ -173,7 +171,7 @@ public String toString() { } private V doRetry() throws RetryHelperException { - stopwatch.start(); + long start = clock.millis(); while (true) { attemptNumber++; Exception exception; @@ -196,7 +194,7 @@ private V doRetry() throws RetryHelperException { } if (attemptNumber >= params.retryMaxAttempts() || attemptNumber >= params.retryMinAttempts() - && stopwatch.elapsed(MILLISECONDS) >= params.totalRetryPeriodMillis()) { + && clock.millis() - start >= params.totalRetryPeriodMillis()) { throw new RetriesExhaustedException(this + ": Too many failures, giving up", exception); } long sleepDurationMillis = getSleepDuration(params, attemptNumber); @@ -234,13 +232,12 @@ public static V runWithRetries(Callable callable) throws RetryHelperExcep public static V runWithRetries(Callable callable, RetryParams params, ExceptionHandler exceptionHandler) throws RetryHelperException { - return runWithRetries(callable, params, exceptionHandler, Stopwatch.createUnstarted()); + return runWithRetries(callable, params, exceptionHandler, Clock.defaultClock()); } - @VisibleForTesting - static V runWithRetries(Callable callable, RetryParams params, - ExceptionHandler exceptionHandler, Stopwatch stopwatch) throws RetryHelperException { - RetryHelper retryHelper = new RetryHelper<>(callable, params, exceptionHandler, stopwatch); + public static V runWithRetries(Callable callable, RetryParams params, + ExceptionHandler exceptionHandler, Clock clock) throws RetryHelperException { + RetryHelper retryHelper = new RetryHelper<>(callable, params, exceptionHandler, clock); Context previousContext = getContext(); setContext(new Context(retryHelper)); try { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 194f61b45c42..d2f648b01fe5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -43,7 +43,6 @@ import java.io.InputStream; import java.io.InputStreamReader; import java.io.ObjectInputStream; -import java.io.ObjectStreamException; import java.io.Serializable; import java.lang.reflect.Method; import java.net.HttpURLConnection; @@ -125,45 +124,6 @@ public HttpTransport create() { } } - /** - * A class providing access to the current time in milliseconds. This class is mainly used for - * testing and will be replaced by Java8's {@code java.time.Clock}. - * - *

    Implementations should implement {@code Serializable} wherever possible and must document - * whether or not they do support serialization. - */ - public abstract static class Clock { - - private static final ServiceOptions.Clock DEFAULT_TIME_SOURCE = new DefaultClock(); - - /** - * Returns current time in milliseconds according to this clock. - */ - public abstract long millis(); - - /** - * Returns the default clock. Default clock uses {@link System#currentTimeMillis()} to get time - * in milliseconds. - */ - public static ServiceOptions.Clock defaultClock() { - return DEFAULT_TIME_SOURCE; - } - - private static class DefaultClock extends ServiceOptions.Clock implements Serializable { - - private static final long serialVersionUID = -5077300394286703864L; - - @Override - public long millis() { - return System.currentTimeMillis(); - } - - private Object readResolve() throws ObjectStreamException { - return DEFAULT_TIME_SOURCE; - } - } - } - /** * Builder for {@code ServiceOptions}. * diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java index 3887cecd6a83..fcb404a4624f 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java @@ -24,8 +24,6 @@ import com.google.cloud.RetryHelper.NonRetriableException; import com.google.cloud.RetryHelper.RetriesExhaustedException; -import com.google.common.base.Stopwatch; -import com.google.common.base.Ticker; import org.junit.Test; @@ -157,24 +155,24 @@ public void testTriesNoMoreThanMaxTimes() { } } - private static class FakeTicker extends Ticker { - private final AtomicLong nanos = new AtomicLong(); + private static class FakeClock extends Clock { - // Advances the ticker value by {@code time} in {@code timeUnit}. + private final AtomicLong millis = new AtomicLong(); + + // Advances the clock value by {@code time} in {@code timeUnit}. void advance(long time, TimeUnit timeUnit) { - nanos.addAndGet(timeUnit.toNanos(time)); + millis.addAndGet(timeUnit.toMillis(time)); } @Override - public long read() { - return nanos.get(); + public long millis() { + return millis.get(); } } @Test public void testTriesNoMoreLongerThanTotalRetryPeriod() { - final FakeTicker ticker = new FakeTicker(); - Stopwatch stopwatch = Stopwatch.createUnstarted(ticker); + final FakeClock fakeClock = new FakeClock(); // The 8th attempt (after min and before max) will trigger a 1 second (virtual) delay exceeding // total retry period which is set just under 1 second. Test occurs faster than realtime. RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) @@ -190,11 +188,11 @@ public void testTriesNoMoreLongerThanTotalRetryPeriod() { @Override public void run() { timesCalled.incrementAndGet(); if (timesCalled.get() == sleepOnAttempt) { - ticker.advance(1000, TimeUnit.MILLISECONDS); + fakeClock.advance(1000, TimeUnit.MILLISECONDS); } throw new RuntimeException(); } - }), params, handler, stopwatch); + }), params, handler, fakeClock); fail(); } catch (RetriesExhaustedException expected) { // verify timesCalled diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index b6f7a5453ddc..bcbecbe3c6cb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -22,7 +22,6 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.cloud.ServiceOptions.Clock; import com.google.cloud.ServiceOptions.DefaultHttpTransportFactory; import com.google.cloud.ServiceOptions.HttpTransportFactory; import com.google.cloud.spi.ServiceRpcFactory; From add1b3aa26ff913d7990f27f3a9816eb41f24a74 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 20 May 2016 20:58:15 +0200 Subject: [PATCH 0179/3036] Release 0.2.2 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e7b1242f0f9c..a902906a950f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.2-SNAPSHOT + 0.2.2 gcloud-java-core From 12c2aa7e6ae04df44e6c32b70b1f91e0093b6af4 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Fri, 20 May 2016 20:40:30 +0000 Subject: [PATCH 0180/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index ac137785f483..b9d33a72437d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.1 + 0.2.2 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.1' +compile 'com.google.cloud:gcloud-java-core:0.2.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.1" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.2" ``` Troubleshooting From e13b632679a643e62aaf9714e118f07516b206c3 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 20 May 2016 23:05:49 +0200 Subject: [PATCH 0181/3036] Update version to 0.2.3-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a902906a950f..8ebc30a629b9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.2 + 0.2.3-SNAPSHOT gcloud-java-core From 74847a3391c61fdfb94d194cb3e068ae38c2acb0 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sat, 28 May 2016 22:37:10 +0200 Subject: [PATCH 0182/3036] Add OAuth2AuthCredentials class and tests (#1030) --- .../com/google/cloud/AuthCredentials.java | 83 ++++++++++++ .../com/google/cloud/AuthCredentialsTest.java | 128 ++++++++++++++++++ .../com/google/cloud/SerializationTest.java | 4 +- 3 files changed, 214 insertions(+), 1 deletion(-) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java index ec5a631f5f54..792831bb9edc 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java @@ -341,6 +341,67 @@ public RestorableState capture() { } } + /** + * Represents OAuth2 credentials. These credentials can be created given an OAuth2 access token. + * The access token will not be automatically refreshed. + */ + public static class OAuth2AuthCredentials extends AuthCredentials { + + private final GoogleCredentials credentials; + private final String accessToken; + private final Date expirationTime; + + private static class OAuth2AuthCredentialsState + implements RestorableState, Serializable { + + private static final long serialVersionUID = -7760693952274496205L; + + private final String accessToken; + private final Date expirationTime; + + private OAuth2AuthCredentialsState(String accessToken, Date expirationTime) { + this.accessToken = accessToken; + this.expirationTime = expirationTime; + } + + @Override + public AuthCredentials restore() { + return new OAuth2AuthCredentials(accessToken, expirationTime); + } + + @Override + public int hashCode() { + return Objects.hash(accessToken, expirationTime); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof OAuth2AuthCredentialsState)) { + return false; + } + OAuth2AuthCredentialsState other = (OAuth2AuthCredentialsState) obj; + return Objects.equals(accessToken, other.accessToken) + && Objects.equals(expirationTime, other.expirationTime); + } + } + + OAuth2AuthCredentials(String accessToken, Date expirationTime) { + this.accessToken = checkNotNull(accessToken); + this.expirationTime = expirationTime; + this.credentials = new GoogleCredentials(new AccessToken(accessToken, expirationTime)); + } + + @Override + public GoogleCredentials credentials() { + return credentials; + } + + @Override + public RestorableState capture() { + return new OAuth2AuthCredentialsState(accessToken, expirationTime); + } + } + /** * A placeholder for credentials to signify that requests sent to the server should not be * authenticated. This is typically useful when using the local service emulators, such as @@ -428,6 +489,28 @@ public static ServiceAccountAuthCredentials createFor(String account, PrivateKey return new ServiceAccountAuthCredentials(account, privateKey); } + /** + * Creates OAuth2 Credentials given the string representation of an access token. The access token + * will not be automatically refreshed. + * + * @param accessToken string representation of an access token + * @return the credentials instance + */ + public static OAuth2AuthCredentials createFor(String accessToken) { + return createFor(accessToken, (Date) null); + } + + /** + * Creates OAuth2 Credentials given the string representation of an access token and its + * expiration time. The access token will not be automatically refreshed. + * + * @param accessToken string representation of an access token + * @return the credentials instance + */ + public static OAuth2AuthCredentials createFor(String accessToken, Date expirationTime) { + return new OAuth2AuthCredentials(accessToken, expirationTime); + } + /** * Creates a placeholder denoting that no credentials should be used. This is typically useful * when using the local service emulators, such as {@code LocalDatastoreHelper} and diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java new file mode 100644 index 000000000000..9074c2d103a6 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java @@ -0,0 +1,128 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Charsets.UTF_8; +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertSame; + +import com.google.auth.oauth2.AccessToken; +import com.google.auth.oauth2.ServiceAccountCredentials; +import com.google.cloud.AuthCredentials.OAuth2AuthCredentials; +import com.google.cloud.AuthCredentials.ServiceAccountAuthCredentials; +import com.google.common.io.BaseEncoding; + +import org.junit.BeforeClass; +import org.junit.Test; + +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.security.InvalidKeyException; +import java.security.KeyFactory; +import java.security.NoSuchAlgorithmException; +import java.security.PrivateKey; +import java.security.Signature; +import java.security.SignatureException; +import java.security.spec.InvalidKeySpecException; +import java.security.spec.PKCS8EncodedKeySpec; +import java.util.Date; + +public class AuthCredentialsTest { + + private static final String ACCESS_TOKEN = "accessToken"; + private static final Date EXPIRATION_DATE = new Date(); + private static final String SERVICE_ACCOUNT = "someclientid@developer.gserviceaccount.com"; + private static final String PRIVATE_KEY_STRING = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoG" + + "BAL2xolH1zrISQ8+GzOV29BNjjzq4/HIP8Psd1+cZb81vDklSF+95wB250MSE0BDc81pvIMwj5OmIfLg1NY6uB1xav" + + "OPpVdx1z664AGc/BEJ1zInXGXaQ6s+SxGenVq40Yws57gikQGMZjttpf1Qbz4DjkxsbRoeaRHn06n9pH1ejAgMBAAE" + + "CgYEAkWcm0AJF5LMhbWKbjkxm/LG06UNApkHX6vTOOOODkonM/qDBnhvKCj8Tan+PaU2j7679Cd19qxCm4SBQJET7e" + + "BhqLD9L2j9y0h2YUQnLbISaqUS1/EXcr2C1Lf9VCEn1y/GYuDYqs85rGoQ4ZYfM9ClROSq86fH+cbIIssqJqukCQQD" + + "18LjfJz/ichFeli5/l1jaFid2XoCH3T6TVuuysszVx68fh60gSIxEF/0X2xB+wuPxTP4IQ+t8tD/ktd232oWXAkEAx" + + "XPych2QBHePk9/lek4tOkKBgfnDzex7S/pI0G1vpB3VmzBbCsokn9lpOv7JV8071GDlW/7R6jlLfpQy3hN31QJAE10" + + "osSk99m5Uv8XDU3hvHnywDrnSFOBulNs7I47AYfSe7TSZhPkxUgsxejddTR27JLyTI8N1PxRSE4feNSOXcQJAMMKJR" + + "JT4U6IS2rmXubREhvaVdLtxFxEnAYQ1JwNfZm/XqBMw6GEy2iaeTetNXVlZRQEIoscyn1y2v/No/F5iYQJBAKBOGAS" + + "oQcBjGTOg/H/SfcE8QVNsKEpthRrs6CkpT80aZ/AV+ksfoIf2zw2M3mAHfrO+TBLdz4sicuFQvlN9SEc="; + private static final String JSON_KEY = "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\n" + PRIVATE_KEY_STRING + + "\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; + private static final AuthCredentials NO_AUTH_CREDENTIALS = AuthCredentials.noAuth(); + private static final OAuth2AuthCredentials OAUTH2_AUTH_CREDENTIALS = + AuthCredentials.createFor(ACCESS_TOKEN, EXPIRATION_DATE); + private static final byte[] BYTES_TO_SIGN = PRIVATE_KEY_STRING.getBytes(UTF_8); + + private static PrivateKey privateKey; + private static byte[] signedBytes; + + @BeforeClass + public static void beforeClass() throws NoSuchAlgorithmException, InvalidKeySpecException, + InvalidKeyException, SignatureException { + KeyFactory keyFactory = KeyFactory.getInstance("RSA"); + privateKey = keyFactory.generatePrivate( + new PKCS8EncodedKeySpec(BaseEncoding.base64().decode(PRIVATE_KEY_STRING))); + Signature signature = Signature.getInstance("SHA256withRSA"); + signature.initSign(privateKey); + signature.update(BYTES_TO_SIGN); + signedBytes = signature.sign(); + } + + @Test + public void testNoAuthCredentials() { + assertSame(NO_AUTH_CREDENTIALS, AuthCredentials.noAuth()); + assertNull(NO_AUTH_CREDENTIALS.credentials()); + } + + @Test + public void testOAuth2AuthCredentials() { + AccessToken accessToken = OAUTH2_AUTH_CREDENTIALS.credentials().getAccessToken(); + assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); + assertEquals(EXPIRATION_DATE, accessToken.getExpirationTime()); + OAuth2AuthCredentials oAuth2AuthCredentials = + AuthCredentials.createFor(ACCESS_TOKEN); + accessToken = oAuth2AuthCredentials.credentials().getAccessToken(); + assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); + assertNull(accessToken.getExpirationTime()); + } + + @Test + public void testServiceAccountFromJson() throws IOException, SignatureException { + ServiceAccountAuthCredentials serviceAccountAuthCredentials = + AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())); + ServiceAccountCredentials credentials = serviceAccountAuthCredentials.credentials(); + assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.account()); + assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); + assertEquals(privateKey, credentials.getPrivateKey()); + assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); + } + + @Test + public void testServiceAccountFromKey() throws IOException, SignatureException { + ServiceAccountAuthCredentials serviceAccountAuthCredentials = + AuthCredentials.createFor(SERVICE_ACCOUNT, privateKey); + ServiceAccountCredentials credentials = serviceAccountAuthCredentials.credentials(); + assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.account()); + assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); + assertEquals(privateKey, credentials.getPrivateKey()); + assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 75347b250227..7fa778a524eb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -22,6 +22,7 @@ import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.Serializable; +import java.util.Date; public class SerializationTest extends BaseSerializationTest { @@ -94,7 +95,8 @@ protected Serializable[] serializableObjects() { protected Restorable[] restorableObjects() { try { return new Restorable[]{AuthCredentials.createForAppEngine(), AuthCredentials.noAuth(), - AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes()))}; + AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())), + AuthCredentials.createFor("accessToken", new Date())}; } catch (IOException ex) { // never reached throw new RuntimeException(ex); From 608fc5e9d9e7dd741779e38eaba3a561211f8cf9 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 9 Jun 2016 14:57:17 +0200 Subject: [PATCH 0183/3036] Add whenDone method and CompletionCallback to Job and Operation (#1016) --- .../java/com/google/cloud/WaitForOption.java | 225 ++++++++++++++++++ .../com/google/cloud/SerializationTest.java | 5 +- .../com/google/cloud/WaitForOptionTest.java | 124 ++++++++++ 3 files changed, 353 insertions(+), 1 deletion(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java new file mode 100644 index 000000000000..8af7a074ab4d --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java @@ -0,0 +1,225 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Preconditions.checkArgument; + +import com.google.common.base.MoreObjects; + +import java.io.Serializable; +import java.util.Objects; +import java.util.concurrent.TimeUnit; + +/** + * This class represents options for methods that wait for changes in the status of a resource. + */ +public abstract class WaitForOption implements Serializable { + + private static final long serialVersionUID = 8443451708032349243L; + + private final OptionType optionType; + + enum OptionType { + CHECKING_PERIOD, + TIMEOUT + } + + private WaitForOption(OptionType optionType) { + this.optionType = optionType; + } + + /** + * This class represents an option to set how frequently the resource status should be checked. + * Objects of this class keep the actual period and related time unit for the checking period. + */ + public static final class CheckingPeriod extends WaitForOption { + + private static final long serialVersionUID = -2481062893220539210L; + private static final CheckingPeriod DEFAULT = new CheckingPeriod(500, TimeUnit.MILLISECONDS); + + private final long period; + private final TimeUnit unit; + + private CheckingPeriod(long period, TimeUnit unit) { + super(OptionType.CHECKING_PERIOD); + this.period = period; + this.unit = unit; + } + + /** + * Returns the checking period. + */ + public long period() { + return period; + } + + /** + * Returns the time unit for {@link #period()}. + */ + public TimeUnit unit() { + return unit; + } + + /** + * Blocks the current thread for the amount of time specified by this object. + * + * @throws InterruptedException if the current thread was interrupted + */ + public void sleep() throws InterruptedException { + unit.sleep(period); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (obj == null || !(obj instanceof CheckingPeriod)) { + return false; + } + CheckingPeriod other = (CheckingPeriod) obj; + return baseEquals(other) + && Objects.equals(period, other.period) + && Objects.equals(unit, other.unit); + } + + @Override + public int hashCode() { + return Objects.hash(baseHashCode(), period, unit); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("period", period) + .add("unit", unit) + .toString(); + } + + /** + * Returns the {@code CheckingPeriod} option specified in {@code options}. If no + * {@code CheckingPeriod} could be found among {@code options}, the default checking period (500 + * milliseconds) is used. + */ + public static CheckingPeriod getOrDefault(WaitForOption... options) { + return getOrDefaultInternal(OptionType.CHECKING_PERIOD, DEFAULT, options); + } + } + + /** + * This class represents an option to set the maximum time to wait for the resource's status to + * reach the desired state. + */ + public static final class Timeout extends WaitForOption { + + private static final long serialVersionUID = -7120401111985321932L; + private static final Timeout DEFAULT = new Timeout(-1); + + private final long timeoutMillis; + + private Timeout(long timeoutMillis) { + super(OptionType.TIMEOUT); + this.timeoutMillis = timeoutMillis; + } + + /** + * Returns the timeout in milliseconds. + */ + public long timeoutMillis() { + return timeoutMillis; + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (obj == null || !(obj instanceof Timeout)) { + return false; + } + Timeout other = (Timeout) obj; + return baseEquals(other) && Objects.equals(timeoutMillis, other.timeoutMillis); + } + + @Override + public int hashCode() { + return Objects.hash(baseHashCode(), timeoutMillis); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("timeoutMillis", timeoutMillis) + .toString(); + } + + /** + * Returns the {@code Timeout} option specified in {@code options}. If no {@code Timeout} could + * be found among {@code options}, no timeout will be used. + */ + public static Timeout getOrDefault(WaitForOption... options) { + return getOrDefaultInternal(OptionType.TIMEOUT, DEFAULT, options); + } + } + + OptionType optionType() { + return optionType; + } + + final boolean baseEquals(WaitForOption option) { + return Objects.equals(option.optionType, option.optionType); + } + + final int baseHashCode() { + return Objects.hash(optionType); + } + + @SuppressWarnings("unchecked") + private static T getOrDefaultInternal(OptionType optionType, + T defaultValue, WaitForOption... options) { + T foundOption = null; + for (WaitForOption option : options) { + if (option.optionType.equals(optionType)) { + checkArgument(foundOption == null, "Duplicate option %s", option); + foundOption = (T) option; + } + } + return foundOption != null ? foundOption : defaultValue; + } + + /** + * Returns an option to set how frequently the resource status should be checked. + * + * @param checkEvery the checking period + * @param unit the time unit of the checking period + */ + public static CheckingPeriod checkEvery(long checkEvery, TimeUnit unit) { + checkArgument(checkEvery >= 0, "checkEvery must be >= 0"); + return new CheckingPeriod(checkEvery, unit); + } + + /** + * Returns an option to set the maximum time to wait. + * + * @param timeout the maximum time to wait, expressed in {@code unit} + * @param unit the time unit of the timeout + */ + public static Timeout timeout(long timeout, TimeUnit unit) { + checkArgument(timeout >= 0, "timeout must be >= 0"); + return new Timeout(unit.toMillis(timeout)); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 7fa778a524eb..53baa57b96ca 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -23,6 +23,7 @@ import java.io.IOException; import java.io.Serializable; import java.util.Date; +import java.util.concurrent.TimeUnit; public class SerializationTest extends BaseSerializationTest { @@ -36,6 +37,8 @@ public class SerializationTest extends BaseSerializationTest { new SigningException("message", BASE_SERVICE_EXCEPTION); private static final RetryParams RETRY_PARAMS = RetryParams.defaultInstance(); private static final SomeIamPolicy SOME_IAM_POLICY = new SomeIamPolicy.Builder().build(); + private static final WaitForOption CHECKING_PERIOD = + WaitForOption.checkEvery(42, TimeUnit.SECONDS); private static final String JSON_KEY = "{\n" + " \"private_key_id\": \"somekeyid\",\n" + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" @@ -88,7 +91,7 @@ public Builder toBuilder() { @Override protected Serializable[] serializableObjects() { return new Serializable[]{BASE_SERVICE_EXCEPTION, EXCEPTION_HANDLER, IDENTITY, PAGE, - RETRY_PARAMS, SOME_IAM_POLICY, SIGNING_EXCEPTION}; + RETRY_PARAMS, SOME_IAM_POLICY, SIGNING_EXCEPTION, CHECKING_PERIOD}; } @Override diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java new file mode 100644 index 000000000000..82996e1ca3f8 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java @@ -0,0 +1,124 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; + +import com.google.cloud.WaitForOption.CheckingPeriod; +import com.google.cloud.WaitForOption.OptionType; +import com.google.cloud.WaitForOption.Timeout; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; + +import java.util.concurrent.TimeUnit; + +public class WaitForOptionTest { + + @Rule + public ExpectedException thrown = ExpectedException.none(); + + private static final CheckingPeriod CHECKING_PERIOD_OPTION = + WaitForOption.checkEvery(42, TimeUnit.MILLISECONDS); + private static final Timeout TIMEOUT_OPTION = WaitForOption.timeout(43, TimeUnit.MILLISECONDS); + + @Test + public void testCheckEvery() { + assertEquals(OptionType.CHECKING_PERIOD, CHECKING_PERIOD_OPTION.optionType()); + assertEquals(42, CHECKING_PERIOD_OPTION.period()); + assertEquals(TimeUnit.MILLISECONDS, CHECKING_PERIOD_OPTION.unit()); + } + + @Test + public void testCheckEvery_InvalidPeriod() { + thrown.expect(IllegalArgumentException.class); + thrown.expectMessage("checkEvery must be >= 0"); + WaitForOption.checkEvery(-1, TimeUnit.MILLISECONDS); + } + + @Test + public void testTimeout() { + assertEquals(OptionType.TIMEOUT, TIMEOUT_OPTION.optionType()); + assertEquals(43, TIMEOUT_OPTION.timeoutMillis()); + Timeout timeoutOption = WaitForOption.timeout(43, TimeUnit.SECONDS); + assertEquals(43_000, timeoutOption.timeoutMillis()); + } + + @Test + public void testTimeout_InvalidTimeout() { + thrown.expect(IllegalArgumentException.class); + thrown.expectMessage("timeout must be >= 0"); + WaitForOption.timeout(-1, TimeUnit.MILLISECONDS); + } + + @Test + public void testEqualsAndHashCode() { + assertEquals(CHECKING_PERIOD_OPTION, CHECKING_PERIOD_OPTION); + assertEquals(TIMEOUT_OPTION, TIMEOUT_OPTION); + assertEquals(CHECKING_PERIOD_OPTION.hashCode(), CHECKING_PERIOD_OPTION.hashCode()); + assertEquals(TIMEOUT_OPTION.hashCode(), TIMEOUT_OPTION.hashCode()); + WaitForOption checkingPeriodOption = WaitForOption.checkEvery(42, TimeUnit.MILLISECONDS); + assertEquals(CHECKING_PERIOD_OPTION, checkingPeriodOption); + assertEquals(CHECKING_PERIOD_OPTION.hashCode(), checkingPeriodOption.hashCode()); + WaitForOption timeoutOption = WaitForOption.timeout(43, TimeUnit.MILLISECONDS); + assertEquals(TIMEOUT_OPTION, timeoutOption); + assertEquals(TIMEOUT_OPTION.hashCode(), timeoutOption.hashCode()); + assertNotEquals(CHECKING_PERIOD_OPTION, TIMEOUT_OPTION); + assertNotEquals(CHECKING_PERIOD_OPTION.hashCode(), TIMEOUT_OPTION.hashCode()); + checkingPeriodOption = WaitForOption.checkEvery(43, TimeUnit.MILLISECONDS); + assertNotEquals(CHECKING_PERIOD_OPTION, checkingPeriodOption); + assertNotEquals(CHECKING_PERIOD_OPTION.hashCode(), checkingPeriodOption.hashCode()); + checkingPeriodOption = WaitForOption.checkEvery(42, TimeUnit.SECONDS); + assertNotEquals(CHECKING_PERIOD_OPTION, checkingPeriodOption); + assertNotEquals(CHECKING_PERIOD_OPTION.hashCode(), checkingPeriodOption.hashCode()); + timeoutOption = WaitForOption.timeout(42, TimeUnit.MILLISECONDS); + assertNotEquals(TIMEOUT_OPTION, timeoutOption); + assertNotEquals(TIMEOUT_OPTION.hashCode(), timeoutOption.hashCode()); + timeoutOption = WaitForOption.timeout(43, TimeUnit.SECONDS); + assertNotEquals(TIMEOUT_OPTION, timeoutOption); + assertNotEquals(TIMEOUT_OPTION.hashCode(), timeoutOption.hashCode()); + } + + @Test + public void testGetOrDefault() { + assertEquals(CHECKING_PERIOD_OPTION, + CheckingPeriod.getOrDefault(CHECKING_PERIOD_OPTION, TIMEOUT_OPTION)); + assertEquals(TIMEOUT_OPTION, + Timeout.getOrDefault(CHECKING_PERIOD_OPTION, TIMEOUT_OPTION)); + CheckingPeriod checkingPeriod = CheckingPeriod.getOrDefault(TIMEOUT_OPTION); + assertEquals(500, checkingPeriod.period()); + assertEquals(TimeUnit.MILLISECONDS, checkingPeriod.unit()); + Timeout timeout = Timeout.getOrDefault(CHECKING_PERIOD_OPTION); + assertEquals(-1, timeout.timeoutMillis()); + } + + @Test + public void testCheckingPeriodGetOrDefault_DuplicateOption() { + thrown.expect(IllegalArgumentException.class); + thrown.expectMessage(String.format("Duplicate option %s", CHECKING_PERIOD_OPTION)); + CheckingPeriod.getOrDefault(CHECKING_PERIOD_OPTION, CHECKING_PERIOD_OPTION); + } + + @Test + public void testTimeoutGetOrDefault_DuplicateOption() { + thrown.expect(IllegalArgumentException.class); + thrown.expectMessage(String.format("Duplicate option %s", TIMEOUT_OPTION)); + Timeout.getOrDefault(TIMEOUT_OPTION, TIMEOUT_OPTION); + } +} From 3cf1b1ab359b5a49aeecffce8593c0d6e2851397 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 10 Jun 2016 16:17:16 +0200 Subject: [PATCH 0184/3036] Release 0.2.3 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8ebc30a629b9..2a41f628b13a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.3-SNAPSHOT + 0.2.3 gcloud-java-core From dfcb64d33ee18ab9001084d503589296c3613f80 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Fri, 10 Jun 2016 15:23:17 +0000 Subject: [PATCH 0185/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b9d33a72437d..abd95a563cfb 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.2 + 0.2.3 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.2' +compile 'com.google.cloud:gcloud-java-core:0.2.3' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.2" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.3" ``` Troubleshooting From 0f7b7f0f1e369992fb6614c86616eb07c3743d82 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 10 Jun 2016 18:14:06 +0200 Subject: [PATCH 0186/3036] Update version to 0.2.4-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2a41f628b13a..927256b57778 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.3 + 0.2.4-SNAPSHOT gcloud-java-core From 01dfdb396cfbb9db2767d3053a4fd85ea0d919b2 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 28 Apr 2016 16:04:50 +0200 Subject: [PATCH 0187/3036] Add PubSub API prototype and related classes (#962) * adding PubSubOptions, PubSub and its factories * Adding data types and define API * Add ReceivedMessage and fix review comments * Fix code review comments and add DefaultPubSubRpc * - Fix some codacy issues - Make messages consistent with proto defaults - Rename acknowledge to ack - Add nack - Add PullCallback * applying code review comments * add ByteArray * translate exceptions and add more info regarding pull * consider returnNullOn before throwing * Fix pubsub-related codacy issues --- java-core/google-cloud-core/pom.xml | 10 ++ .../main/java/com/google/cloud/AsyncPage.java | 23 +++ .../google/cloud/BaseServiceException.java | 11 ++ .../main/java/com/google/cloud/ByteArray.java | 165 ++++++++++++++++++ 4 files changed, 209 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 927256b57778..e892583d1e50 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -98,5 +98,15 @@ 3.4 test + + com.google.protobuf + protobuf-java + 3.0.0-beta-1 + + + com.google.api + gax + 0.0.11 + diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java new file mode 100644 index 000000000000..ea2905795e62 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java @@ -0,0 +1,23 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import java.util.concurrent.Future; + +public interface AsyncPage extends Page { + Future> nextPageAsync(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 7cc55fd7a19b..79afed2a3af8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -18,6 +18,7 @@ import com.google.api.client.googleapis.json.GoogleJsonError; import com.google.api.client.googleapis.json.GoogleJsonResponseException; +import com.google.api.gax.grpc.ApiException; import com.google.common.base.MoreObjects; import java.io.IOException; @@ -167,6 +168,16 @@ public BaseServiceException(int code, String message, String reason, boolean ide this.debugInfo = null; } + public BaseServiceException(ApiException apiException, boolean idempotent) { + super(apiException.getMessage(), apiException); + this.code = apiException.getStatusCode().value(); + this.reason = apiException.getStatusCode().name(); + this.idempotent = idempotent; + this.retryable = apiException.isRetryable(); + this.location = null; + this.debugInfo = null; + } + protected Set retryableErrors() { return Collections.emptySet(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java new file mode 100644 index 000000000000..f23fb0876b41 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -0,0 +1,165 @@ +/* + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.common.base.MoreObjects; +import com.google.common.base.MoreObjects.ToStringHelper; +import com.google.protobuf.ByteString; + +import java.io.BufferedInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.nio.charset.StandardCharsets; +import java.util.Iterator; + +/** + * An immutable byte array holder. + */ +public class ByteArray implements Iterable, Serializable { + + private static final long serialVersionUID = -1908809133893782840L; + private final ByteString byteString; + + protected ByteArray(ByteString byteString) { + this.byteString = byteString; + } + + protected ByteArray(ByteArray byteArray) { + this.byteString = byteArray.byteString(); + } + + @Override + public final Iterator iterator() { + return byteString.iterator(); + } + + @Override + public String toString() { + ToStringHelper toStringHelper = MoreObjects.toStringHelper(this); + StringBuilder stBuilder = new StringBuilder(); + for (int i = 0; i < Math.min(256, byteString.size()); i++) { + stBuilder.append(String.format("%02x", byteString.byteAt(i))); + } + if (byteString.size() > 256) { + stBuilder.append("..."); + } + return toStringHelper.add("bytes", stBuilder.toString()).toString(); + } + + @Override + public final int hashCode() { + return byteString.hashCode(); + } + + @Override + public final boolean equals(Object obj) { + return obj == this + || obj instanceof ByteArray && byteString.equals(((ByteArray) obj).byteString); + } + + /** + * Returns the size of this blob. + */ + public final int length() { + return byteString.size(); + } + + /** + * Returns a copy as byte array. + */ + public final byte[] toByteArray() { + return byteString.toByteArray(); + } + + /** + * Returns the content as {@code UTF-8} string. + */ + public final String toStringUtf8() { + return byteString.toStringUtf8(); + } + + /** + * Returns a read-only {@link ByteBuffer} for this blob content. + */ + public final ByteBuffer asReadOnlyByteBuffer() { + return byteString.asReadOnlyByteBuffer(); + } + + /** + * Returns an {@link InputStream} for this blob content. + */ + public final InputStream asInputStream() { + final ByteBuffer byteBuffer = asReadOnlyByteBuffer(); + return new InputStream() { + @Override public int read() { + return !byteBuffer.hasRemaining() ? -1 : byteBuffer.get() & 0xFF; + } + }; + } + + protected ByteString byteString() { + return byteString; + } + + /** + * Copies bytes into a ByteBuffer. + * + * @throws java.nio.ReadOnlyBufferException if the target is read-only + * @throws java.nio.BufferOverflowException if the target's remaining() space is not large + * enough to hold the data + */ + public final void copyTo(ByteBuffer target) { + byteString.copyTo(target); + } + + /** + * Copies bytes into a buffer. + * + * @throws IndexOutOfBoundsException if an offset or size is negative or too large + */ + public final void copyTo(byte[] target) { + byteString.copyTo(target, 0, 0, length()); + } + + public static final ByteArray copyFrom(byte[] bytes) { + return new ByteArray(ByteString.copyFrom(bytes)); + } + + /** + * Copy the bytes using {@code UTF-8} decoding. + */ + public static final ByteArray copyFrom(String string) { + return new ByteArray(ByteString.copyFrom(string, StandardCharsets.UTF_8)); + } + + public static final ByteArray copyFrom(ByteBuffer bytes) { + return new ByteArray(ByteString.copyFrom(bytes)); + } + + public static final ByteArray copyFrom(InputStream input) throws IOException { + BufferedInputStream bufferedInput = new BufferedInputStream(input); + ByteArrayOutputStream bytes = new ByteArrayOutputStream(); + int value; + while ((value = bufferedInput.read()) != -1) { + bytes.write(value); + } + return copyFrom(bytes.toByteArray()); + } +} From c6fa0012508922b29fafb67a5a12a31270826a90 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 4 May 2016 09:34:56 +0200 Subject: [PATCH 0188/3036] Add AsyncPage implementation and docs. Add related tests (#974) --- .../main/java/com/google/cloud/AsyncPage.java | 28 ++++ .../java/com/google/cloud/AsyncPageImpl.java | 82 +++++++++++ .../com/google/cloud/AsyncPageImplTest.java | 128 ++++++++++++++++++ .../java/com/google/cloud/PageImplTest.java | 2 + 4 files changed, 240 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java index ea2905795e62..d82d46f19b2d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java @@ -18,6 +18,34 @@ import java.util.concurrent.Future; +/** + * Interface for asynchronously consuming Google Cloud paginated results. + * + *

    Use {@code AsyncPage} to iterate through all values (also in next pages): + *

     {@code
    + * AsyncPage page = ...; // get an AsyncPage instance
    + * Iterator iterator = page.iterateAll();
    + * while (iterator.hasNext()) {
    + *   T value = iterator.next();
    + *   // do something with value
    + * }}
    + * + *

    Or handle pagination explicitly: + *

     {@code
    + * AsyncPage page = ...; // get a AsyncPage instance
    + * while (page != null) {
    + *   for (T value : page.values()) {
    + *     // do something with value
    + *   }
    + *   page = page.nextPage().get();
    + * }}
    + * + * @param the value type that the page holds + */ public interface AsyncPage extends Page { + + /** + * Returns a {@link Future} object for the next page. + */ Future> nextPageAsync(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java new file mode 100644 index 000000000000..42af7b34a943 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -0,0 +1,82 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.common.base.Throwables; +import com.google.common.util.concurrent.Uninterruptibles; + +import java.io.Serializable; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Future; + +/** + * Base implementation for asynchronously consuming Google Cloud paginated results. + * + * @param the value type that the page holds + */ +public class AsyncPageImpl extends PageImpl implements AsyncPage { + + private static final long serialVersionUID = -6009473188630364906L; + + private final NextPageFetcher asyncPageFetcher; + + /** + * Interface for asynchronously fetching the next page of results from the service. + * + * @param the value type that the page holds + */ + public interface NextPageFetcher extends Serializable { + Future> nextPage(); + } + + private static class SyncNextPageFetcher implements PageImpl.NextPageFetcher { + + private static final long serialVersionUID = -4124568632363525351L; + + private NextPageFetcher asyncPageFetcher; + + private SyncNextPageFetcher(NextPageFetcher asyncPageFetcher) { + this.asyncPageFetcher = asyncPageFetcher; + } + + @Override + public Page nextPage() { + try { + return asyncPageFetcher != null + ? Uninterruptibles.getUninterruptibly(asyncPageFetcher.nextPage()) : null; + } catch (ExecutionException ex) { + throw Throwables.propagate(ex.getCause()); + } + } + } + + /** + * Creates an {@code AsyncPageImpl} object. + */ + public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterable results) { + super(new SyncNextPageFetcher(asyncPageFetcher), cursor, results); + this.asyncPageFetcher = asyncPageFetcher; + } + + @Override + public Future> nextPageAsync() { + if (nextPageCursor() == null || asyncPageFetcher == null) { + return null; + } + return asyncPageFetcher.nextPage(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java new file mode 100644 index 000000000000..60189a055467 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -0,0 +1,128 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; + +import com.google.common.collect.ImmutableList; +import com.google.common.util.concurrent.Futures; + +import org.junit.Test; + +import java.util.concurrent.ExecutionException; +import java.util.concurrent.Future; + +public class AsyncPageImplTest { + + private static final ImmutableList VALUES1 = ImmutableList.of("1", "2"); + private static final ImmutableList VALUES2 = ImmutableList.of("3", "4"); + private static final ImmutableList VALUES3 = ImmutableList.of("5", "6"); + private static final ImmutableList ALL_VALUES = ImmutableList.builder() + .addAll(VALUES1) + .addAll(VALUES2) + .addAll(VALUES3) + .build(); + private static final ImmutableList SOME_VALUES = ImmutableList.builder() + .addAll(VALUES2) + .addAll(VALUES3) + .build(); + + @Test + public void testPage() { + final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher = new AsyncPageImpl.NextPageFetcher() { + private static final long serialVersionUID = 4703765400378593176L; + + @Override + public Future> nextPage() { + return Futures.>immediateFuture(nextResult); + } + }; + AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); + assertEquals(nextResult, result.nextPage()); + assertEquals("c", result.nextPageCursor()); + assertEquals(VALUES1, result.values()); + } + + @Test + public void testPageAsync() throws ExecutionException, InterruptedException { + final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher = new AsyncPageImpl.NextPageFetcher() { + private static final long serialVersionUID = 4703765400378593176L; + + @Override + public Future> nextPage() { + return Futures.>immediateFuture(nextResult); + } + }; + AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); + assertEquals(nextResult, result.nextPageAsync().get()); + assertEquals("c", result.nextPageCursor()); + assertEquals(VALUES1, result.values()); + } + + @Test + public void testIterateAll() { + final AsyncPageImpl nextResult2 = new AsyncPageImpl<>(null, "c3", VALUES3); + AsyncPageImpl.NextPageFetcher fetcher2 = new AsyncPageImpl.NextPageFetcher() { + private static final long serialVersionUID = -9203621430631884026L; + + @Override + public Future> nextPage() { + return Futures.>immediateFuture(nextResult2); + } + }; + final AsyncPageImpl nextResult1 = new AsyncPageImpl<>(fetcher2, "c2", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher1 = new AsyncPageImpl.NextPageFetcher() { + private static final long serialVersionUID = -9203621430631884026L; + + @Override + public Future> nextPage() { + return Futures.>immediateFuture(nextResult1); + } + }; + AsyncPageImpl result = new AsyncPageImpl<>(fetcher1, "c1", VALUES1); + assertEquals(ALL_VALUES, ImmutableList.copyOf(result.iterateAll())); + } + + @Test + public void testAsyncPageAndIterateAll() throws ExecutionException, InterruptedException { + final AsyncPageImpl nextResult2 = new AsyncPageImpl<>(null, "c3", VALUES3); + AsyncPageImpl.NextPageFetcher fetcher2 = new AsyncPageImpl.NextPageFetcher() { + private static final long serialVersionUID = -9203621430631884026L; + + @Override + public Future> nextPage() { + return Futures.>immediateFuture(nextResult2); + } + }; + final AsyncPageImpl nextResult1 = new AsyncPageImpl<>(fetcher2, "c2", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher1 = new AsyncPageImpl.NextPageFetcher() { + private static final long serialVersionUID = -9203621430631884026L; + + @Override + public Future> nextPage() { + return Futures.>immediateFuture(nextResult1); + } + }; + AsyncPageImpl result = new AsyncPageImpl<>(fetcher1, "c1", VALUES1); + assertEquals(nextResult1, result.nextPageAsync().get()); + assertEquals("c1", result.nextPageCursor()); + assertEquals(VALUES1, result.values()); + assertEquals(SOME_VALUES, ImmutableList.copyOf(result.nextPageAsync().get().iterateAll())); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index 07d979ad857c..40db43b61da2 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -35,6 +35,8 @@ public class PageImplTest { public void testPage() { final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); PageImpl.NextPageFetcher fetcher = new PageImpl.NextPageFetcher() { + private static final long serialVersionUID = -1714571149183431798L; + @Override public PageImpl nextPage() { return nextResult; From 6880c7aead4b60d70989e59f007899a1b8015a1a Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 10 May 2016 15:58:04 +0200 Subject: [PATCH 0189/3036] Add TopicId and SubscriptionId classes (#984) * Add TopicId class and tests. Use TopicId in SubscriptionInfo * Add SubscriptionId class and tests. Use SubscriptionId in listSubscriptions(topic) * Minor javadoc fixes * Add identity for deleted topics --- .../src/main/java/com/google/cloud/AsyncPage.java | 5 +++-- .../src/main/java/com/google/cloud/AsyncPageImpl.java | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java index d82d46f19b2d..8d7ff026e70d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java @@ -37,7 +37,7 @@ * for (T value : page.values()) { * // do something with value * } - * page = page.nextPage().get(); + * page = page.nextPageAsync().get(); * }}
    * * @param the value type that the page holds @@ -45,7 +45,8 @@ public interface AsyncPage extends Page { /** - * Returns a {@link Future} object for the next page. + * Returns a {@link Future} object for the next page. {@link Future#get()} returns {@code null} if + * the last page has been reached. */ Future> nextPageAsync(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index 42af7b34a943..706316e362cd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -17,6 +17,7 @@ package com.google.cloud; import com.google.common.base.Throwables; +import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.Uninterruptibles; import java.io.Serializable; @@ -47,7 +48,7 @@ private static class SyncNextPageFetcher implements PageImpl.NextPageFetcher< private static final long serialVersionUID = -4124568632363525351L; - private NextPageFetcher asyncPageFetcher; + private final NextPageFetcher asyncPageFetcher; private SyncNextPageFetcher(NextPageFetcher asyncPageFetcher) { this.asyncPageFetcher = asyncPageFetcher; @@ -75,7 +76,7 @@ public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterabl @Override public Future> nextPageAsync() { if (nextPageCursor() == null || asyncPageFetcher == null) { - return null; + return Futures.immediateCheckedFuture(null); } return asyncPageFetcher.nextPage(); } From ba5a8b1398fdde11d7423be07a968ff31356c5f5 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 12 May 2016 08:40:31 +0200 Subject: [PATCH 0190/3036] Add tests and javadoc for Message and ByteArray (#1000) * Add tests and javadoc for Message and ByteArray * Add final on static ByteArray methods back --- .../main/java/com/google/cloud/ByteArray.java | 61 +++++---- .../java/com/google/cloud/ByteArrayTest.java | 116 ++++++++++++++++++ 2 files changed, 146 insertions(+), 31 deletions(-) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index f23fb0876b41..6a8e3dddd0ce 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,8 +20,6 @@ import com.google.common.base.MoreObjects.ToStringHelper; import com.google.protobuf.ByteString; -import java.io.BufferedInputStream; -import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Serializable; @@ -35,6 +33,7 @@ public class ByteArray implements Iterable, Serializable { private static final long serialVersionUID = -1908809133893782840L; + private final ByteString byteString; protected ByteArray(ByteString byteString) { @@ -75,43 +74,38 @@ public final boolean equals(Object obj) { } /** - * Returns the size of this blob. + * Returns the number of bytes in this {@code ByteArray}. */ public final int length() { return byteString.size(); } /** - * Returns a copy as byte array. + * Returns a copy of this {@code ByteArray} as an array of bytes. */ public final byte[] toByteArray() { return byteString.toByteArray(); } /** - * Returns the content as {@code UTF-8} string. + * Returns a copy of this {@code ByteArray} as an {@code UTF-8} string. */ public final String toStringUtf8() { return byteString.toStringUtf8(); } /** - * Returns a read-only {@link ByteBuffer} for this blob content. + * Returns the content of this {@code ByteArray} as a read-only {@link ByteBuffer}. */ public final ByteBuffer asReadOnlyByteBuffer() { return byteString.asReadOnlyByteBuffer(); } /** - * Returns an {@link InputStream} for this blob content. + * Returns an {@link InputStream} for this {@code ByteArray} content. */ public final InputStream asInputStream() { - final ByteBuffer byteBuffer = asReadOnlyByteBuffer(); - return new InputStream() { - @Override public int read() { - return !byteBuffer.hasRemaining() ? -1 : byteBuffer.get() & 0xFF; - } - }; + return byteString.newInput(); } protected ByteString byteString() { @@ -119,47 +113,52 @@ protected ByteString byteString() { } /** - * Copies bytes into a ByteBuffer. + * Copies the content of this {@code ByteArray} into an existing {@code ByteBuffer}. * * @throws java.nio.ReadOnlyBufferException if the target is read-only - * @throws java.nio.BufferOverflowException if the target's remaining() space is not large - * enough to hold the data + * @throws java.nio.BufferOverflowException if the target's {@link ByteBuffer#remaining()} space + * is not large enough to hold the data */ public final void copyTo(ByteBuffer target) { byteString.copyTo(target); } /** - * Copies bytes into a buffer. + * Copies the content of this {@code ByteArray} into an array of bytes. * - * @throws IndexOutOfBoundsException if an offset or size is negative or too large + * @throws IndexOutOfBoundsException if the target is not large enough to hold the data */ public final void copyTo(byte[] target) { byteString.copyTo(target, 0, 0, length()); } - public static final ByteArray copyFrom(byte[] bytes) { + /** + * Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. + */ + public final static ByteArray copyFrom(byte[] bytes) { return new ByteArray(ByteString.copyFrom(bytes)); } /** - * Copy the bytes using {@code UTF-8} decoding. + * Creates a {@code ByteArray} object given a string. The string is encoded in {@code UTF-8}. The + * bytes are copied. */ - public static final ByteArray copyFrom(String string) { + public final static ByteArray copyFrom(String string) { return new ByteArray(ByteString.copyFrom(string, StandardCharsets.UTF_8)); } - public static final ByteArray copyFrom(ByteBuffer bytes) { + /** + * Creates a {@code ByteArray} object given a {@link ByteBuffer}. The bytes are copied. + */ + public final static ByteArray copyFrom(ByteBuffer bytes) { return new ByteArray(ByteString.copyFrom(bytes)); } - public static final ByteArray copyFrom(InputStream input) throws IOException { - BufferedInputStream bufferedInput = new BufferedInputStream(input); - ByteArrayOutputStream bytes = new ByteArrayOutputStream(); - int value; - while ((value = bufferedInput.read()) != -1) { - bytes.write(value); - } - return copyFrom(bytes.toByteArray()); + /** + * Creates a {@code ByteArray} object given an {@link InputStream}. The stream is read into the + * created object. + */ + public final static ByteArray copyFrom(InputStream input) throws IOException { + return new ByteArray(ByteString.readFrom(input)); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java new file mode 100644 index 000000000000..0adf2fe8be79 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java @@ -0,0 +1,116 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertArrayEquals; +import static org.junit.Assert.assertEquals; + +import com.google.common.io.ByteStreams; +import com.google.protobuf.ByteString; + +import org.junit.BeforeClass; +import org.junit.Test; + +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.nio.charset.StandardCharsets; + +public class ByteArrayTest { + + private static final String STRING_CONTENT = "Hello, ByteArray!"; + private static final byte[] BYTES_CONTENT = STRING_CONTENT.getBytes(StandardCharsets.UTF_8); + private static final ByteBuffer BYTE_BUFFER_CONTENT = ByteBuffer.wrap(BYTES_CONTENT); + private static final InputStream STREAM_CONTENT = new ByteArrayInputStream(BYTES_CONTENT); + private static final ByteArray STRING_ARRAY = ByteArray.copyFrom(STRING_CONTENT); + private static final ByteArray BYTES_ARRAY = ByteArray.copyFrom(BYTES_CONTENT); + private static final ByteArray BYTE_BUFFER_ARRAY = ByteArray.copyFrom(BYTE_BUFFER_CONTENT); + private static final ByteArray ARRAY = new ByteArray(ByteString.copyFrom(BYTES_CONTENT)); + + private static ByteArray streamArray; + + @BeforeClass + public static void beforeClass() throws IOException { + streamArray = ByteArray.copyFrom(STREAM_CONTENT); + BYTE_BUFFER_CONTENT.flip(); + } + + @Test + public void testCopyFromString() throws IOException { + assertEquals(STRING_CONTENT, STRING_ARRAY.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, STRING_ARRAY.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), STRING_ARRAY.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(STRING_ARRAY.asInputStream())); + } + + @Test + public void testCopyFromByteArray() throws IOException { + assertEquals(STRING_CONTENT, BYTES_ARRAY.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, BYTES_ARRAY.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), BYTES_ARRAY.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(BYTES_ARRAY.asInputStream())); + } + + @Test + public void testCopyFromByteBuffer() throws IOException { + assertEquals(STRING_CONTENT, BYTE_BUFFER_ARRAY.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, BYTE_BUFFER_ARRAY.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), BYTE_BUFFER_ARRAY.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(BYTE_BUFFER_ARRAY.asInputStream())); + } + + @Test + public void testCopyFromStream() throws IOException { + assertEquals(STRING_CONTENT, streamArray.toStringUtf8()); + assertArrayEquals(BYTES_CONTENT, streamArray.toByteArray()); + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), streamArray.asReadOnlyByteBuffer()); + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(streamArray.asInputStream())); + } + + @Test + public void testLength() { + assertEquals(BYTES_CONTENT.length, ARRAY.length()); + } + + @Test + public void testToStringUtf8() { + assertEquals(STRING_CONTENT, ARRAY.toStringUtf8()); + } + + @Test + public void testToByteArray() { + assertArrayEquals(BYTES_CONTENT, ARRAY.toByteArray()); + } + + @Test + public void testAsReadOnlyByteBuffer() { + assertEquals(BYTE_BUFFER_CONTENT.asReadOnlyBuffer(), ARRAY.asReadOnlyByteBuffer()); + } + + @Test + public void testAsInputStream() throws IOException { + assertArrayEquals(BYTES_CONTENT, ByteStreams.toByteArray(ARRAY.asInputStream())); + } + + @Test + public void testHashCode() { + assertEquals(STRING_ARRAY.hashCode(), BYTES_ARRAY.hashCode()); + assertEquals(BYTES_ARRAY.hashCode(), BYTE_BUFFER_ARRAY.hashCode()); + assertEquals(BYTE_BUFFER_ARRAY.hashCode(), streamArray.hashCode()); + } +} From 2eefa71120039c0bcf0254399cc1dce6d3c022e2 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 16 May 2016 20:26:09 +0200 Subject: [PATCH 0191/3036] Add base service option classes for gRPC and HTTP services (#1011) * Add base service option classes for gRPC and HTTP services * Rename ExecutorProvider to ExecutorFactory, refactor shutdown and serialization --- .../com/google/cloud/GrpcServiceOptions.java | 256 ++++++++++++++++++ .../com/google/cloud/HttpServiceOptions.java | 227 ++++++++++++++++ .../java/com/google/cloud/ServiceOptions.java | 146 +--------- .../google/cloud/GrpcServiceOptionsTest.java | 218 +++++++++++++++ .../google/cloud/HttpServiceOptionsTest.java | 163 +++++++++++ .../com/google/cloud/ServiceOptionsTest.java | 18 -- 6 files changed, 869 insertions(+), 159 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java new file mode 100644 index 000000000000..2a1110c9362e --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -0,0 +1,256 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.MoreObjects.firstNonNull; + +import com.google.cloud.spi.ServiceRpcFactory; +import com.google.common.annotations.VisibleForTesting; +import com.google.common.base.Preconditions; + +import io.grpc.internal.SharedResourceHolder; +import io.grpc.internal.SharedResourceHolder.Resource; + +import java.io.IOException; +import java.io.ObjectInputStream; +import java.util.Objects; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledThreadPoolExecutor; +import java.util.concurrent.TimeUnit; + +/** + * Abstract class representing service options for those services that use gRPC as the transport + * layer. + * + * @param the service subclass + * @param the spi-layer class corresponding to the service + * @param the {@code ServiceOptions} subclass corresponding to the service + */ +public abstract class GrpcServiceOptions, ServiceRpcT, + OptionsT extends GrpcServiceOptions> + extends ServiceOptions { + + private static final long serialVersionUID = 6415982522610509549L; + private final String executorFactoryClassName; + private final int initialTimeout; + private final double timeoutMultiplier; + private final int maxTimeout; + + private transient ExecutorFactory executorFactory; + + /** + * Shared thread pool executor. + */ + private static final Resource EXECUTOR = + new Resource() { + @Override + public ScheduledExecutorService create() { + ScheduledThreadPoolExecutor service = new ScheduledThreadPoolExecutor(8); + service.setKeepAliveTime(5, TimeUnit.SECONDS); + service.allowCoreThreadTimeOut(true); + service.setRemoveOnCancelPolicy(true); + return service; + } + + @Override + public void close(ScheduledExecutorService instance) { + instance.shutdown(); + } + }; + + /** + * An interface for {@link ScheduledExecutorService} factories. Implementations of this interface + * can be used to provide an user-defined scheduled executor to execute requests. Any + * implementation of this interface must override the {@code get()} method to return the desired + * executor. The {@code release(executor)} method should be overriden to free resources used by + * the executor (if needed) according to application's logic. + * + *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation + * is done via {@link java.util.ServiceLoader}. + */ + public interface ExecutorFactory { + + /** + * Gets a scheduled executor service instance. + */ + ScheduledExecutorService get(); + + /** + * Releases resources used by the executor and possibly shuts it down. + */ + void release(ScheduledExecutorService executor); + } + + @VisibleForTesting + static class DefaultExecutorFactory implements ExecutorFactory { + + private static final DefaultExecutorFactory INSTANCE = new DefaultExecutorFactory(); + + @Override + public ScheduledExecutorService get() { + return SharedResourceHolder.get(EXECUTOR); + } + + @Override + public synchronized void release(ScheduledExecutorService executor) { + SharedResourceHolder.release(EXECUTOR, executor); + } + } + + /** + * Builder for {@code GrpcServiceOptions}. + * + * @param the service subclass + * @param the spi-layer class corresponding to the service + * @param the {@code GrpcServiceOptions} subclass corresponding to the service + * @param the {@code ServiceOptions} builder + */ + protected abstract static class Builder, ServiceRpcT, + OptionsT extends GrpcServiceOptions, + B extends Builder> + extends ServiceOptions.Builder { + + private ExecutorFactory executorFactory; + private int initialTimeout = 20_000; + private double timeoutMultiplier = 1.5; + private int maxTimeout = 100_000; + + protected Builder() {} + + protected Builder(GrpcServiceOptions options) { + super(options); + executorFactory = options.executorFactory; + initialTimeout = options.initialTimeout; + timeoutMultiplier = options.timeoutMultiplier; + maxTimeout = options.maxTimeout; + } + + @Override + protected abstract GrpcServiceOptions build(); + + /** + * Sets the scheduled executor factory. This method can be used to provide an user-defined + * scheduled executor to execute requests. + * + * @return the builder + */ + public B executorFactory(ExecutorFactory executorFactory) { + this.executorFactory = executorFactory; + return self(); + } + + /** + * Sets the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value + * adjusted according to {@link #timeoutMultiplier(double)}. Default value is 20000. + * + * @throws IllegalArgumentException if the provided timeout is < 0 + * @return the builder + */ + public B initialTimeout(int initialTimeout) { + Preconditions.checkArgument(initialTimeout > 0, "Initial timeout must be > 0"); + this.initialTimeout = initialTimeout; + return self(); + } + + /** + * Sets the timeout multiplier. This value is used to compute the timeout for a retried RPC. + * Timeout is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. + * + * @throws IllegalArgumentException if the provided timeout multiplier is < 0 + * @return the builder + */ + public B timeoutMultiplier(double timeoutMultiplier) { + Preconditions.checkArgument(timeoutMultiplier >= 1.0, "Timeout multiplier must be >= 1"); + this.timeoutMultiplier = timeoutMultiplier; + return self(); + } + + /** + * Sets the maximum timeout for a RPC call, in milliseconds. Default value is 100000. If + * {@code maxTimeout} is lower than the initial timeout the {@link #initialTimeout(int)} value + * is used instead. + * + * @return the builder + */ + public B maxTimeout(int maxTimeout) { + this.maxTimeout = maxTimeout; + return self(); + } + } + + protected GrpcServiceOptions( + Class> serviceFactoryClass, + Class> rpcFactoryClass, Builder builder) { + super(serviceFactoryClass, rpcFactoryClass, builder); + executorFactory = firstNonNull(builder.executorFactory, + getFromServiceLoader(ExecutorFactory.class, DefaultExecutorFactory.INSTANCE)); + executorFactoryClassName = executorFactory.getClass().getName(); + initialTimeout = builder.initialTimeout; + timeoutMultiplier = builder.timeoutMultiplier; + maxTimeout = builder.maxTimeout <= initialTimeout ? initialTimeout : builder.maxTimeout; + } + + /** + * Returns a scheduled executor service provider. + */ + protected ExecutorFactory executorFactory() { + return executorFactory; + } + + /** + * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value + * adjusted according to {@link #timeoutMultiplier()}. Default value is 20000. + */ + public int initialTimeout() { + return initialTimeout; + } + + /** + * Returns the timeout multiplier. This values is used to compute the timeout for a RPC. Timeout + * is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. + */ + public double timeoutMultiplier() { + return timeoutMultiplier; + } + + /** + * Returns the maximum timeout for a RPC call, in milliseconds. Default value is 100000. + */ + public int maxTimeout() { + return maxTimeout; + } + + @Override + protected int baseHashCode() { + return Objects.hash(super.baseHashCode(), executorFactoryClassName, initialTimeout, + timeoutMultiplier, maxTimeout); + } + + protected boolean baseEquals(GrpcServiceOptions other) { + return super.baseEquals(other) + && Objects.equals(executorFactoryClassName, other.executorFactoryClassName) + && Objects.equals(initialTimeout, other.initialTimeout) + && Objects.equals(timeoutMultiplier, other.timeoutMultiplier) + && Objects.equals(maxTimeout, other.maxTimeout); + } + + private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { + input.defaultReadObject(); + executorFactory = newInstance(executorFactoryClassName); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java new file mode 100644 index 000000000000..eca411849eaf --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java @@ -0,0 +1,227 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.MoreObjects.firstNonNull; + +import com.google.api.client.extensions.appengine.http.UrlFetchTransport; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.auth.http.HttpCredentialsAdapter; +import com.google.cloud.spi.ServiceRpcFactory; + +import java.io.IOException; +import java.io.ObjectInputStream; +import java.util.Objects; + +/** + * Abstract class representing service options for those services that use HTTP as the transport + * layer. + * + * @param the service subclass + * @param the spi-layer class corresponding to the service + * @param the {@code ServiceOptions} subclass corresponding to the service + */ +public abstract class HttpServiceOptions, ServiceRpcT, + OptionsT extends HttpServiceOptions> + extends ServiceOptions { + + private static final long serialVersionUID = 3652819407083815771L; + private final int connectTimeout; + private final int readTimeout; + private final String httpTransportFactoryClassName; + + private transient HttpTransportFactory httpTransportFactory; + + /** + * A base interface for all {@link HttpTransport} factories. + * + *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation + * is done via {@link java.util.ServiceLoader}. + */ + public interface HttpTransportFactory { + HttpTransport create(); + } + + public static class DefaultHttpTransportFactory implements HttpTransportFactory { + + private static final HttpTransportFactory INSTANCE = new DefaultHttpTransportFactory(); + + @Override + public HttpTransport create() { + // Consider App Engine + if (appEngineAppId() != null) { + try { + return new UrlFetchTransport(); + } catch (Exception ignore) { + // Maybe not on App Engine + } + } + return new NetHttpTransport(); + } + } + + /** + * Builder for {@code HttpServiceOptions}. + * + * @param the service subclass + * @param the spi-layer class corresponding to the service + * @param the {@code HttpServiceOptions} subclass corresponding to the service + * @param the {@code ServiceOptions} builder + */ + protected abstract static class Builder, ServiceRpcT, + OptionsT extends HttpServiceOptions, + B extends Builder> + extends ServiceOptions.Builder { + + private HttpTransportFactory httpTransportFactory; + private int connectTimeout = -1; + private int readTimeout = -1; + + protected Builder() {} + + protected Builder(HttpServiceOptions options) { + super(options); + httpTransportFactory = options.httpTransportFactory; + connectTimeout = options.connectTimeout; + readTimeout = options.readTimeout; + } + + @Override + protected abstract HttpServiceOptions build(); + + @SuppressWarnings("unchecked") + protected B self() { + return (B) this; + } + + /** + * Sets the HTTP transport factory. + * + * @return the builder + */ + public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { + this.httpTransportFactory = httpTransportFactory; + return self(); + } + + /** + * Sets the timeout in milliseconds to establish a connection. + * + * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a + * negative number for the default value (20000). + * @return the builder + */ + public B connectTimeout(int connectTimeout) { + this.connectTimeout = connectTimeout; + return self(); + } + + /** + * Sets the timeout in milliseconds to read data from an established connection. + * + * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number + * for the default value (20000). + * @return the builder + */ + public B readTimeout(int readTimeout) { + this.readTimeout = readTimeout; + return self(); + } + } + + protected HttpServiceOptions( + Class> serviceFactoryClass, + Class> rpcFactoryClass, Builder builder) { + super(serviceFactoryClass, rpcFactoryClass, builder); + httpTransportFactory = firstNonNull(builder.httpTransportFactory, + getFromServiceLoader(HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); + httpTransportFactoryClassName = httpTransportFactory.getClass().getName(); + connectTimeout = builder.connectTimeout; + readTimeout = builder.readTimeout; + } + + /** + * Returns the HTTP transport factory. + */ + public HttpTransportFactory httpTransportFactory() { + return httpTransportFactory; + } + + + /** + * Returns a request initializer responsible for initializing requests according to service + * options. + */ + public HttpRequestInitializer httpRequestInitializer() { + final HttpRequestInitializer delegate = + authCredentials() != null && authCredentials().credentials() != null + ? new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())) + : null; + return new HttpRequestInitializer() { + @Override + public void initialize(HttpRequest httpRequest) throws IOException { + if (delegate != null) { + delegate.initialize(httpRequest); + } + if (connectTimeout >= 0) { + httpRequest.setConnectTimeout(connectTimeout); + } + if (readTimeout >= 0) { + httpRequest.setReadTimeout(readTimeout); + } + } + }; + } + + /** + * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a + * negative number is the default value (20000). + */ + public int connectTimeout() { + return connectTimeout; + } + + /** + * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite + * timeout, a negative number is the default value (20000). + */ + public int readTimeout() { + return readTimeout; + } + + @Override + protected int baseHashCode() { + return Objects.hash(super.baseHashCode(), httpTransportFactoryClassName, connectTimeout, + readTimeout); + } + + protected boolean baseEquals(HttpServiceOptions other) { + return super.baseEquals(other) + && Objects.equals(httpTransportFactoryClassName, other.httpTransportFactoryClassName) + && Objects.equals(connectTimeout, other.connectTimeout) + && Objects.equals(readTimeout, other.readTimeout); + } + + private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { + input.defaultReadObject(); + httpTransportFactory = newInstance(httpTransportFactoryClassName); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index d2f648b01fe5..8a1d95f32e54 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -20,12 +20,6 @@ import static com.google.common.base.Preconditions.checkArgument; import static java.nio.charset.StandardCharsets.UTF_8; -import com.google.api.client.extensions.appengine.http.UrlFetchTransport; -import com.google.api.client.http.HttpRequest; -import com.google.api.client.http.HttpRequestInitializer; -import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.javanet.NetHttpTransport; -import com.google.auth.http.HttpCredentialsAdapter; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.collect.Iterables; import com.google.common.io.Files; @@ -70,60 +64,28 @@ public abstract class ServiceOptions, Service OptionsT extends ServiceOptions> implements Serializable { private static final String DEFAULT_HOST = "https://www.googleapis.com"; - private static final long serialVersionUID = 1203687993961393350L; private static final String PROJECT_ENV_NAME = "GCLOUD_PROJECT"; private static final String MANIFEST_ARTIFACT_ID_KEY = "artifactId"; private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; private static final String ARTIFACT_ID = "gcloud-java-core"; private static final String APPLICATION_BASE_NAME = "gcloud-java"; private static final String APPLICATION_NAME = getApplicationName(); + private static final long serialVersionUID = -6410263550484023006L; private final String projectId; private final String host; - private final String httpTransportFactoryClassName; private final RestorableState authCredentialsState; private final RetryParams retryParams; private final String serviceRpcFactoryClassName; private final String serviceFactoryClassName; - private final int connectTimeout; - private final int readTimeout; private final Clock clock; - private transient HttpTransportFactory httpTransportFactory; private transient AuthCredentials authCredentials; private transient ServiceRpcFactory serviceRpcFactory; private transient ServiceFactory serviceFactory; private transient ServiceT service; private transient ServiceRpcT rpc; - /** - * A base interface for all {@link HttpTransport} factories. - * - *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation - * is done via {@link java.util.ServiceLoader}. - */ - public interface HttpTransportFactory { - HttpTransport create(); - } - - public static class DefaultHttpTransportFactory implements HttpTransportFactory { - - private static final HttpTransportFactory INSTANCE = new DefaultHttpTransportFactory(); - - @Override - public HttpTransport create() { - // Consider App Engine - if (appEngineAppId() != null) { - try { - return new UrlFetchTransport(); - } catch (Exception ignore) { - // Maybe not on App Engine - } - } - return new NetHttpTransport(); - } - } - /** * Builder for {@code ServiceOptions}. * @@ -138,13 +100,10 @@ protected abstract static class Builder, Serv private String projectId; private String host; - private HttpTransportFactory httpTransportFactory; private AuthCredentials authCredentials; private RetryParams retryParams; private ServiceFactory serviceFactory; private ServiceRpcFactory serviceRpcFactory; - private int connectTimeout = -1; - private int readTimeout = -1; private Clock clock; protected Builder() {} @@ -152,13 +111,10 @@ protected Builder() {} protected Builder(ServiceOptions options) { projectId = options.projectId; host = options.host; - httpTransportFactory = options.httpTransportFactory; authCredentials = options.authCredentials; retryParams = options.retryParams; serviceFactory = options.serviceFactory; serviceRpcFactory = options.serviceRpcFactory; - connectTimeout = options.connectTimeout; - readTimeout = options.readTimeout; clock = options.clock; } @@ -209,16 +165,6 @@ public B host(String host) { return self(); } - /** - * Sets the transport factory. - * - * @return the builder - */ - public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { - this.httpTransportFactory = httpTransportFactory; - return self(); - } - /** * Sets the service authentication credentials. * @@ -250,30 +196,6 @@ public B serviceRpcFactory(ServiceRpcFactory serviceRpcFa this.serviceRpcFactory = serviceRpcFactory; return self(); } - - /** - * Sets the timeout in milliseconds to establish a connection. - * - * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a - * negative number for the default value (20000). - * @return the builder - */ - public B connectTimeout(int connectTimeout) { - this.connectTimeout = connectTimeout; - return self(); - } - - /** - * Sets the timeout in milliseconds to read data from an established connection. - * - * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number - * for the default value (20000). - * @return the builder - */ - public B readTimeout(int readTimeout) { - this.readTimeout = readTimeout; - return self(); - } } protected ServiceOptions(Class> serviceFactoryClass, @@ -287,9 +209,6 @@ protected ServiceOptions(Class> ser + "or the environment. Please set a project ID using the builder."); } host = firstNonNull(builder.host, defaultHost()); - httpTransportFactory = firstNonNull(builder.httpTransportFactory, - getFromServiceLoader(HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); - httpTransportFactoryClassName = httpTransportFactory.getClass().getName(); authCredentials = builder.authCredentials != null ? builder.authCredentials : defaultAuthCredentials(); authCredentialsState = authCredentials != null ? authCredentials.capture() : null; @@ -300,8 +219,6 @@ protected ServiceOptions(Class> ser serviceRpcFactory = firstNonNull(builder.serviceRpcFactory, getFromServiceLoader(rpcFactoryClass, defaultRpcFactory())); serviceRpcFactoryClassName = serviceRpcFactory.getClass().getName(); - connectTimeout = builder.connectTimeout; - readTimeout = builder.readTimeout; clock = firstNonNull(builder.clock, Clock.defaultClock()); } @@ -492,13 +409,6 @@ public String host() { return host; } - /** - * Returns the transport factory. - */ - public HttpTransportFactory httpTransportFactory() { - return httpTransportFactory; - } - /** * Returns the authentication credentials. */ @@ -514,47 +424,6 @@ public RetryParams retryParams() { return retryParams; } - /** - * Returns a request initializer responsible for initializing requests according to service - * options. - */ - public HttpRequestInitializer httpRequestInitializer() { - final HttpRequestInitializer delegate = - authCredentials() != null && authCredentials.credentials() != null - ? new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())) - : null; - return new HttpRequestInitializer() { - @Override - public void initialize(HttpRequest httpRequest) throws IOException { - if (delegate != null) { - delegate.initialize(httpRequest); - } - if (connectTimeout >= 0) { - httpRequest.setConnectTimeout(connectTimeout); - } - if (readTimeout >= 0) { - httpRequest.setReadTimeout(readTimeout); - } - } - }; - } - - /** - * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a - * negative number is the default value (20000). - */ - public int connectTimeout() { - return connectTimeout; - } - - /** - * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite - * timeout, a negative number is the default value (20000). - */ - public int readTimeout() { - return readTimeout; - } - /** * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get * current time. @@ -571,34 +440,29 @@ public String applicationName() { } protected int baseHashCode() { - return Objects.hash(projectId, host, httpTransportFactoryClassName, authCredentialsState, - retryParams, serviceFactoryClassName, serviceRpcFactoryClassName, connectTimeout, - readTimeout, clock); + return Objects.hash(projectId, host, authCredentialsState, retryParams, serviceFactoryClassName, + serviceRpcFactoryClassName, clock); } protected boolean baseEquals(ServiceOptions other) { return Objects.equals(projectId, other.projectId) && Objects.equals(host, other.host) - && Objects.equals(httpTransportFactoryClassName, other.httpTransportFactoryClassName) && Objects.equals(authCredentialsState, other.authCredentialsState) && Objects.equals(retryParams, other.retryParams) && Objects.equals(serviceFactoryClassName, other.serviceFactoryClassName) && Objects.equals(serviceRpcFactoryClassName, other.serviceRpcFactoryClassName) - && Objects.equals(connectTimeout, other.connectTimeout) - && Objects.equals(readTimeout, other.readTimeout) && Objects.equals(clock, clock); } private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { input.defaultReadObject(); - httpTransportFactory = newInstance(httpTransportFactoryClassName); serviceFactory = newInstance(serviceFactoryClassName); serviceRpcFactory = newInstance(serviceRpcFactoryClassName); authCredentials = authCredentialsState != null ? authCredentialsState.restore() : null; } @SuppressWarnings("unchecked") - private static T newInstance(String className) throws IOException, ClassNotFoundException { + static T newInstance(String className) throws IOException, ClassNotFoundException { try { return (T) Class.forName(className).newInstance(); } catch (InstantiationException | IllegalAccessException e) { @@ -623,7 +487,7 @@ protected RetryParams defaultRetryParams() { return RetryParams.defaultInstance(); } - private static T getFromServiceLoader(Class clazz, T defaultInstance) { + static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java new file mode 100644 index 000000000000..0a3c34f87916 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java @@ -0,0 +1,218 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.cloud.GrpcServiceOptions.DefaultExecutorFactory; +import com.google.cloud.GrpcServiceOptions.ExecutorFactory; +import com.google.cloud.spi.ServiceRpcFactory; + +import org.easymock.EasyMock; +import org.junit.Test; + +import java.util.Set; +import java.util.concurrent.ScheduledExecutorService; + +public class GrpcServiceOptionsTest { + + private static final ExecutorFactory MOCK_EXECUTOR_FACTORY = + EasyMock.createMock(ExecutorFactory.class); + private static final TestGrpcServiceOptions OPTIONS = TestGrpcServiceOptions.builder() + .projectId("project-id") + .initialTimeout(1234) + .timeoutMultiplier(1.6) + .maxTimeout(5678) + .executorFactory(MOCK_EXECUTOR_FACTORY) + .build(); + private static final TestGrpcServiceOptions DEFAULT_OPTIONS = + TestGrpcServiceOptions.builder().projectId("project-id").build(); + private static final TestGrpcServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + + private interface TestService extends Service {} + + private static class TestServiceImpl + extends BaseService implements TestService { + private TestServiceImpl(TestGrpcServiceOptions options) { + super(options); + } + } + + private interface TestServiceFactory extends ServiceFactory { + } + + private static class DefaultTestServiceFactory implements TestServiceFactory { + private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); + + @Override + public TestService create(TestGrpcServiceOptions options) { + return new TestServiceImpl(options); + } + } + + private interface TestServiceRpcFactory + extends ServiceRpcFactory {} + + private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { + private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); + + @Override + public TestServiceRpc create(TestGrpcServiceOptions options) { + return new DefaultTestServiceRpc(options); + } + } + + private interface TestServiceRpc {} + + private static class DefaultTestServiceRpc implements TestServiceRpc { + DefaultTestServiceRpc(TestGrpcServiceOptions options) {} + } + + private static class TestGrpcServiceOptions + extends GrpcServiceOptions { + private static class Builder + extends GrpcServiceOptions.Builder { + private Builder() {} + + private Builder(TestGrpcServiceOptions options) { + super(options); + } + + @Override + protected TestGrpcServiceOptions build() { + return new TestGrpcServiceOptions(this); + } + } + + private TestGrpcServiceOptions(Builder builder) { + super(TestServiceFactory.class, TestServiceRpcFactory.class, builder); + } + + @Override + protected TestServiceFactory defaultServiceFactory() { + return DefaultTestServiceFactory.INSTANCE; + } + + @Override + protected TestServiceRpcFactory defaultRpcFactory() { + return DefaultTestServiceRpcFactory.INSTANCE; + } + + @Override + protected Set scopes() { + return null; + } + + @Override + public Builder toBuilder() { + return new Builder(this); + } + + private static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof TestGrpcServiceOptions && baseEquals((TestGrpcServiceOptions) obj); + } + + @Override + public int hashCode() { + return baseHashCode(); + } + } + + @Test + public void testBuilder() { + assertEquals(1234, OPTIONS.initialTimeout()); + assertEquals(1.6, OPTIONS.timeoutMultiplier(), 0.0); + assertEquals(5678, OPTIONS.maxTimeout()); + assertSame(MOCK_EXECUTOR_FACTORY, OPTIONS.executorFactory()); + assertEquals(20000, DEFAULT_OPTIONS.initialTimeout()); + assertEquals(1.5, DEFAULT_OPTIONS.timeoutMultiplier(), 0.0); + assertEquals(100000, DEFAULT_OPTIONS.maxTimeout()); + assertTrue(DEFAULT_OPTIONS.executorFactory() instanceof DefaultExecutorFactory); + } + + @Test + public void testBuilderError() { + try { + TestGrpcServiceOptions.builder().initialTimeout(0); + fail("IllegalArgumentException expected"); + } catch (IllegalArgumentException ex) { + assertEquals("Initial timeout must be > 0", ex.getMessage()); + } + try { + TestGrpcServiceOptions.builder().initialTimeout(-1); + fail("IllegalArgumentException expected"); + } catch (IllegalArgumentException ex) { + assertEquals("Initial timeout must be > 0", ex.getMessage()); + } + try { + TestGrpcServiceOptions.builder().timeoutMultiplier(0.9); + fail("IllegalArgumentException expected"); + } catch (IllegalArgumentException ex) { + assertEquals("Timeout multiplier must be >= 1", ex.getMessage()); + } + } + + @Test + public void testBuilderInvalidMaxTimeout() { + TestGrpcServiceOptions options = TestGrpcServiceOptions.builder() + .projectId("project-id") + .initialTimeout(1234) + .timeoutMultiplier(1.6) + .maxTimeout(123) + .build(); + assertEquals(1234, options.initialTimeout()); + assertEquals(1.6, options.timeoutMultiplier(), 0.0); + assertEquals(1234, options.maxTimeout()); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + TestGrpcServiceOptions options = OPTIONS.toBuilder() + .executorFactory(new DefaultExecutorFactory()) + .build(); + assertNotEquals(OPTIONS, options); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + TestGrpcServiceOptions options = OPTIONS.toBuilder() + .executorFactory(new DefaultExecutorFactory()) + .build(); + assertNotEquals(OPTIONS.hashCode(), options.hashCode()); + } + + @Test + public void testDefaultExecutorFactory() { + ExecutorFactory executorFactory = new DefaultExecutorFactory(); + ScheduledExecutorService executorService = executorFactory.get(); + assertSame(executorService, executorFactory.get()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java new file mode 100644 index 000000000000..de8dc8592eeb --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java @@ -0,0 +1,163 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; + +import com.google.cloud.HttpServiceOptions.DefaultHttpTransportFactory; +import com.google.cloud.HttpServiceOptions.HttpTransportFactory; +import com.google.cloud.spi.ServiceRpcFactory; + +import org.easymock.EasyMock; +import org.junit.Test; + +import java.util.Set; + +public class HttpServiceOptionsTest { + + private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = + EasyMock.createMock(HttpTransportFactory.class); + private static final TestHttpServiceOptions OPTIONS = TestHttpServiceOptions.builder() + .projectId("project-id") + .connectTimeout(1234) + .httpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) + .readTimeout(5678) + .build(); + private static final TestHttpServiceOptions DEFAULT_OPTIONS = + TestHttpServiceOptions.builder().projectId("project-id").build(); + private static final TestHttpServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + + private interface TestService extends Service {} + + private static class TestServiceImpl + extends BaseService implements TestService { + private TestServiceImpl(TestHttpServiceOptions options) { + super(options); + } + } + + private interface TestServiceFactory extends ServiceFactory { + } + + private static class DefaultTestServiceFactory implements TestServiceFactory { + private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); + + @Override + public TestService create(TestHttpServiceOptions options) { + return new TestServiceImpl(options); + } + } + + private interface TestServiceRpcFactory + extends ServiceRpcFactory {} + + private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { + private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); + + @Override + public TestServiceRpc create(TestHttpServiceOptions options) { + return new DefaultTestServiceRpc(options); + } + } + + private interface TestServiceRpc {} + + private static class DefaultTestServiceRpc implements TestServiceRpc { + DefaultTestServiceRpc(TestHttpServiceOptions options) {} + } + + private static class TestHttpServiceOptions + extends HttpServiceOptions { + private static class Builder + extends HttpServiceOptions.Builder { + private Builder() {} + + private Builder(TestHttpServiceOptions options) { + super(options); + } + + @Override + protected TestHttpServiceOptions build() { + return new TestHttpServiceOptions(this); + } + } + + private TestHttpServiceOptions(Builder builder) { + super(TestServiceFactory.class, TestServiceRpcFactory.class, builder); + } + + @Override + protected TestServiceFactory defaultServiceFactory() { + return DefaultTestServiceFactory.INSTANCE; + } + + @Override + protected TestServiceRpcFactory defaultRpcFactory() { + return DefaultTestServiceRpcFactory.INSTANCE; + } + + @Override + protected Set scopes() { + return null; + } + + @Override + public Builder toBuilder() { + return new Builder(this); + } + + private static Builder builder() { + return new Builder(); + } + + @Override + public boolean equals(Object obj) { + return obj instanceof TestHttpServiceOptions && baseEquals((TestHttpServiceOptions) obj); + } + + @Override + public int hashCode() { + return baseHashCode(); + } + } + + @Test + public void testBuilder() { + assertEquals(1234, OPTIONS.connectTimeout()); + assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.httpTransportFactory()); + assertEquals(5678, OPTIONS.readTimeout()); + assertEquals(-1, DEFAULT_OPTIONS.connectTimeout()); + assertTrue(DEFAULT_OPTIONS.httpTransportFactory() instanceof DefaultHttpTransportFactory); + assertEquals(-1, DEFAULT_OPTIONS.readTimeout()); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index bcbecbe3c6cb..7afc2b0b972b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -22,21 +22,15 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.cloud.ServiceOptions.DefaultHttpTransportFactory; -import com.google.cloud.ServiceOptions.HttpTransportFactory; import com.google.cloud.spi.ServiceRpcFactory; -import org.easymock.EasyMock; import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Set; -@RunWith(JUnit4.class) public class ServiceOptionsTest { private static final String JSON_KEY = "{\n" @@ -74,18 +68,13 @@ public class ServiceOptionsTest { fail("Couldn't create fake JSON credentials."); } } - private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = - EasyMock.createMock(HttpTransportFactory.class); private static final Clock TEST_CLOCK = new TestClock(); private static final TestServiceOptions OPTIONS = TestServiceOptions.builder() .authCredentials(authCredentials) .clock(TEST_CLOCK) - .connectTimeout(1234) .host("host") - .httpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) .projectId("project-id") - .readTimeout(5678) .retryParams(RetryParams.noRetries()) .build(); private static final TestServiceOptions DEFAULT_OPTIONS = @@ -196,18 +185,11 @@ public int hashCode() { public void testBuilder() { assertSame(authCredentials, OPTIONS.authCredentials()); assertSame(TEST_CLOCK, OPTIONS.clock()); - assertEquals(1234, OPTIONS.connectTimeout()); assertEquals("host", OPTIONS.host()); - assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.httpTransportFactory()); assertEquals("project-id", OPTIONS.projectId()); - assertEquals(5678, OPTIONS.readTimeout()); assertSame(RetryParams.noRetries(), OPTIONS.retryParams()); - assertSame(Clock.defaultClock(), DEFAULT_OPTIONS.clock()); - assertEquals(-1, DEFAULT_OPTIONS.connectTimeout()); assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.host()); - assertTrue(DEFAULT_OPTIONS.httpTransportFactory() instanceof DefaultHttpTransportFactory); - assertEquals(-1, DEFAULT_OPTIONS.readTimeout()); assertSame(RetryParams.defaultInstance(), DEFAULT_OPTIONS.retryParams()); } From b67b35676279e809a56b7932779061637117125f Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 22 Jun 2016 23:19:27 +0200 Subject: [PATCH 0192/3036] Add MessageConsumerImpl class, implement pullAsync, add tests (#1043) --- .../com/google/cloud/GrpcServiceOptions.java | 30 +++++++++++-------- .../google/cloud/GrpcServiceOptionsTest.java | 2 +- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index 2a1110c9362e..67361dba6e64 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -28,6 +28,7 @@ import java.io.IOException; import java.io.ObjectInputStream; import java.util.Objects; +import java.util.concurrent.ExecutorService; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; @@ -50,7 +51,7 @@ public abstract class GrpcServiceOptions, Ser private final double timeoutMultiplier; private final int maxTimeout; - private transient ExecutorFactory executorFactory; + private transient ExecutorFactory executorFactory; /** * Shared thread pool executor. @@ -73,30 +74,32 @@ public void close(ScheduledExecutorService instance) { }; /** - * An interface for {@link ScheduledExecutorService} factories. Implementations of this interface - * can be used to provide an user-defined scheduled executor to execute requests. Any - * implementation of this interface must override the {@code get()} method to return the desired - * executor. The {@code release(executor)} method should be overriden to free resources used by - * the executor (if needed) according to application's logic. + * An interface for {@link ExecutorService} factories. Implementations of this interface can be + * used to provide an user-defined executor to execute requests. Any implementation of this + * interface must override the {@code get()} method to return the desired executor. The + * {@code release(executor)} method should be overriden to free resources used by the executor (if + * needed) according to application's logic. * *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation * is done via {@link java.util.ServiceLoader}. + * + * @param the {@link ExecutorService} subclass created by this factory */ - public interface ExecutorFactory { + public interface ExecutorFactory { /** - * Gets a scheduled executor service instance. + * Gets an executor service instance. */ - ScheduledExecutorService get(); + T get(); /** * Releases resources used by the executor and possibly shuts it down. */ - void release(ScheduledExecutorService executor); + void release(T executor); } @VisibleForTesting - static class DefaultExecutorFactory implements ExecutorFactory { + static class DefaultExecutorFactory implements ExecutorFactory { private static final DefaultExecutorFactory INSTANCE = new DefaultExecutorFactory(); @@ -148,7 +151,7 @@ protected Builder(GrpcServiceOptions options) { * * @return the builder */ - public B executorFactory(ExecutorFactory executorFactory) { + public B executorFactory(ExecutorFactory executorFactory) { this.executorFactory = executorFactory; return self(); } @@ -192,6 +195,7 @@ public B maxTimeout(int maxTimeout) { } } + @SuppressWarnings("unchecked") protected GrpcServiceOptions( Class> serviceFactoryClass, Class> rpcFactoryClass, Builder executorFactory() { return executorFactory; } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java index 0a3c34f87916..457f05cd0ba9 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java @@ -211,7 +211,7 @@ public void testBaseHashCode() { @Test public void testDefaultExecutorFactory() { - ExecutorFactory executorFactory = new DefaultExecutorFactory(); + ExecutorFactory executorFactory = new DefaultExecutorFactory(); ScheduledExecutorService executorService = executorFactory.get(); assertSame(executorService, executorFactory.get()); } From 472e0d7c4ecb01991b1083f3120dd99fffeec00b Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 24 Jun 2016 20:40:29 +0200 Subject: [PATCH 0193/3036] Support setting library header in grpc services (#1078) - add libraryName() and libraryVersion() to ServiceOptions - use setClientLibHeader in DefaultPubSubRpc --- .../java/com/google/cloud/ServiceOptions.java | 26 +++++++++++++++---- .../com/google/cloud/ServiceOptionsTest.java | 14 ++++++++++ 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 8a1d95f32e54..db24555a189d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -68,9 +68,11 @@ public abstract class ServiceOptions, Service private static final String MANIFEST_ARTIFACT_ID_KEY = "artifactId"; private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; private static final String ARTIFACT_ID = "gcloud-java-core"; - private static final String APPLICATION_BASE_NAME = "gcloud-java"; - private static final String APPLICATION_NAME = getApplicationName(); - private static final long serialVersionUID = -6410263550484023006L; + private static final String LIBRARY_NAME = "gcloud-java"; + private static final String LIBRARY_VERSION = getLibraryVersion(); + private static final String APPLICATION_NAME = + LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; + private static final long serialVersionUID = 3049375916337507361L; private final String projectId; private final String host; @@ -439,6 +441,20 @@ public String applicationName() { return APPLICATION_NAME; } + /** + * Returns the library's name, {@code gcloud-java}, as a string. + */ + public String libraryName() { + return LIBRARY_NAME; + } + + /** + * Returns the library's version as a string. + */ + public String libraryVersion() { + return LIBRARY_VERSION; + } + protected int baseHashCode() { return Objects.hash(projectId, host, authCredentialsState, retryParams, serviceFactoryClassName, serviceRpcFactoryClassName, clock); @@ -491,7 +507,7 @@ static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } - private static String getApplicationName() { + private static String getLibraryVersion() { String version = null; try { Enumeration resources = @@ -507,6 +523,6 @@ private static String getApplicationName() { } catch (IOException e) { // ignore } - return version != null ? APPLICATION_BASE_NAME + "/" + version : APPLICATION_BASE_NAME; + return version; } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 7afc2b0b972b..7792c63e821b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -30,6 +30,7 @@ import java.io.IOException; import java.io.InputStream; import java.util.Set; +import java.util.regex.Pattern; public class ServiceOptionsTest { private static final String JSON_KEY = @@ -80,6 +81,9 @@ public class ServiceOptionsTest { private static final TestServiceOptions DEFAULT_OPTIONS = TestServiceOptions.builder().projectId("project-id").build(); private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + private static final String LIBRARY_NAME = "gcloud-java"; + private static final Pattern APPLICATION_NAME_PATTERN = + Pattern.compile(LIBRARY_NAME + "(/[0-9]+.[0-9]+.[0-9]+)?"); private static class TestClock extends Clock { @Override @@ -214,6 +218,16 @@ public void testBaseEquals() { assertNotEquals(DEFAULT_OPTIONS, OPTIONS); } + @Test + public void testLibraryName() { + assertEquals(LIBRARY_NAME, OPTIONS.libraryName()); + } + + @Test + public void testApplicationName() { + assertTrue(APPLICATION_NAME_PATTERN.matcher(OPTIONS.applicationName()).matches()); + } + @Test public void testBaseHashCode() { assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); From 10c028f3afc3b619ea07e5f02d624a2c865cf16d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 27 Jun 2016 13:07:33 +0200 Subject: [PATCH 0194/3036] Update grpc-related dependencies, remove gax dependency from pubsub --- java-core/google-cloud-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e892583d1e50..c4d92f29aede 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -101,12 +101,12 @@ com.google.protobuf protobuf-java - 3.0.0-beta-1 + 3.0.0-beta-3 com.google.api gax - 0.0.11 + 0.0.13 From 6b3aaf126e54dda28c5be4f97651e772ac921282 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 28 Jun 2016 20:04:29 +0200 Subject: [PATCH 0195/3036] Release 0.2.4 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c4d92f29aede..f9c97a85287f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.4-SNAPSHOT + 0.2.4 gcloud-java-core From f741294e2b618f30f8a24f58db2272f381604639 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Wed, 29 Jun 2016 09:09:30 +0200 Subject: [PATCH 0196/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index abd95a563cfb..a3c05a2441c7 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.3 + 0.2.4 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.3' +compile 'com.google.cloud:gcloud-java-core:0.2.4' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.3" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.4" ``` Troubleshooting From 028e2068d5c6497dcb57e84f1984c741eb7bcbce Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 29 Jun 2016 11:53:54 +0200 Subject: [PATCH 0197/3036] Update version to 0.2.5-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f9c97a85287f..9ba7e75177b8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.4 + 0.2.5-SNAPSHOT gcloud-java-core From dce8a3d6276ae1910d3e4757583d699c048057b1 Mon Sep 17 00:00:00 2001 From: JP Martin Date: Tue, 21 Jun 2016 10:33:58 -0700 Subject: [PATCH 0198/3036] Handle files over 2GB (#1065) * Handle files over 2GB * Use Guava's checkArgument --- .../src/main/java/com/google/cloud/ReadChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index 2afb8b2d5b32..1ac45902b27d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -38,7 +38,7 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< @Override void close(); - void seek(int position) throws IOException; + void seek(long position) throws IOException; /** * Sets the minimum size that will be read by a single RPC. From 764607c4985744de6a738c4a3bfc95f7ce64a11f Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sun, 3 Jul 2016 17:08:45 +0200 Subject: [PATCH 0199/3036] Release 0.2.5 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9ba7e75177b8..b24845ae17af 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.5-SNAPSHOT + 0.2.5 gcloud-java-core From e658b0fe7068d8b4795842dd09aa0ee99de1b6ae Mon Sep 17 00:00:00 2001 From: travis-ci Date: Sun, 3 Jul 2016 16:39:33 +0000 Subject: [PATCH 0200/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index a3c05a2441c7..cc1129848a71 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.4 + 0.2.5 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.4' +compile 'com.google.cloud:gcloud-java-core:0.2.5' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.4" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.5" ``` Troubleshooting From b965a256fc45df6ca2316f75e91a6f6e17dd912d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sun, 3 Jul 2016 20:41:40 +0200 Subject: [PATCH 0201/3036] Update version to 0.2.6-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b24845ae17af..53bcd3c22654 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.5 + 0.2.6-SNAPSHOT gcloud-java-core From c5b927baa7d2c658bf7596d738cb7684c334825a Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 4 Jul 2016 15:44:11 +0200 Subject: [PATCH 0202/3036] Add MonitoredResourceDescriptor class and tests (#1062) * Add MonitoredResourceDescriptor class and tests * Move MonitoredResourceDescriptor to core module --- java-core/google-cloud-core/pom.xml | 5 + .../cloud/MonitoredResourceDescriptor.java | 345 ++++++++++++++++++ .../MonitoredResourceDescriptorTest.java | 126 +++++++ 3 files changed, 476 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 53bcd3c22654..9f3ecdac9c8b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -108,5 +108,10 @@ gax 0.0.13 + + com.google.api.grpc + grpc-core-proto + 0.0.4 + diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java new file mode 100644 index 000000000000..d743e1d39629 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -0,0 +1,345 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.common.base.Function; +import com.google.common.base.MoreObjects; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +/** + * This class describes the schema of Cloud monitored resources. Monitored resource descriptors + * contain a type name and a set of labels. For example, the monitored resource descriptor for + * Google Compute Engine VM instances has a type of {@code gce_instance} and specifies the use of + * the labels {@code instance_id} and {@code zone} to identify particular VM instances. + */ +public class MonitoredResourceDescriptor implements Serializable { + + private static final long serialVersionUID = -3702077512777687441L; + public static final Function FROM_PB_FUNCTION = + new Function() { + @Override + public MonitoredResourceDescriptor apply( + com.google.api.MonitoredResourceDescriptor pb) { + return fromPb(pb); + } + }; + + private final String type; + private final String name; + private final String displayName; + private final String description; + private final List labels; + + /** + * This class describes a label for a monitored resource. Label descriptors contain the key for + * the label, the type of data that the label can hold and an optional description. + */ + public static class LabelDescriptor implements Serializable { + + private static final long serialVersionUID = -2811608103754481777L; + private static final Function + FROM_PB_FUNCTION = new Function() { + @Override + public LabelDescriptor apply(com.google.api.LabelDescriptor descriptorPb) { + return fromPb(descriptorPb); + } + }; + private static final Function + TO_PB_FUNCTION = new Function() { + @Override + public com.google.api.LabelDescriptor apply(LabelDescriptor descriptor) { + return descriptor.toPb(); + } + }; + + private final String key; + private final ValueType valueType; + private final String description; + + /** + * Value types that can be used as label values. + */ + public enum ValueType { + STRING(com.google.api.LabelDescriptor.ValueType.STRING), + BOOL(com.google.api.LabelDescriptor.ValueType.BOOL), + INT64(com.google.api.LabelDescriptor.ValueType.INT64); + + private com.google.api.LabelDescriptor.ValueType typePb; + + ValueType(com.google.api.LabelDescriptor.ValueType typePb) { + this.typePb = typePb; + } + + com.google.api.LabelDescriptor.ValueType toPb() { + return typePb; + } + + static ValueType fromPb(com.google.api.LabelDescriptor.ValueType typePb) { + switch (typePb) { + case STRING: + return ValueType.STRING; + case BOOL: + return ValueType.BOOL; + case INT64: + return ValueType.INT64; + default: + throw new IllegalArgumentException("Unrecognized label type"); + } + } + } + + LabelDescriptor(String key, ValueType valueType, String description) { + this.key = checkNotNull(key); + this.valueType = checkNotNull(valueType); + this.description = description; + } + + /** + * Returns the key associated to this label. + */ + public String key() { + return key; + } + + /** + * Returns the type of data that can be assigned to this label. + */ + public ValueType valueType() { + return valueType; + } + + /** + * Returns the optional human-readable description for this label. If not set, this method + * returns {@code null}. + */ + public String description() { + return description; + } + + @Override + public final int hashCode() { + return Objects.hash(key, valueType, description); + } + + @Override + public final boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (obj == null || !obj.getClass().equals(LabelDescriptor.class)) { + return false; + } + LabelDescriptor other = (LabelDescriptor) obj; + return Objects.equals(key, other.key) + && Objects.equals(valueType, other.valueType) + && Objects.equals(description, other.description); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("key", key) + .add("valueType", valueType) + .add("description", description) + .toString(); + } + + com.google.api.LabelDescriptor toPb() { + com.google.api.LabelDescriptor.Builder builder = com.google.api.LabelDescriptor.newBuilder() + .setKey(key) + .setValueType(valueType.toPb()); + if (description != null) { + builder.setDescription(description); + } + return builder.build(); + } + + static LabelDescriptor fromPb(com.google.api.LabelDescriptor descriptorPb) { + String description = null; + if (descriptorPb.getDescription() != null && !descriptorPb.getDescription().equals("")) { + description = descriptorPb.getDescription(); + } + return new LabelDescriptor(descriptorPb.getKey(), + ValueType.fromPb(descriptorPb.getValueType()), description); + } + } + + static class Builder { + + private final String type; + private String name; + private String displayName; + private String description; + private List labels = new ArrayList<>(); + + Builder(String type) { + this.type = type; + } + + Builder name(String name) { + this.name = name; + return this; + } + + Builder displayName(String displayName) { + this.displayName = displayName; + return this; + } + + Builder description(String description) { + this.description = description; + return this; + } + + Builder labels(List labels) { + this.labels = labels; + return this; + } + + MonitoredResourceDescriptor build() { + return new MonitoredResourceDescriptor(this); + } + } + + MonitoredResourceDescriptor(Builder builder) { + this.type = checkNotNull(builder.type); + this.name = builder.name; + this.displayName = builder.displayName; + this.description = builder.description; + this.labels = checkNotNull(builder.labels); + } + + /** + * Returns the monitored resource type. For example, the type {@code cloudsql_database} represents + * databases in Google Cloud SQL. + */ + public String type() { + return type; + } + + /** + * Returns an optional name for the monitored resource descriptor. If not set, this method returns + * {@code null}. + */ + public String name() { + return name; + } + + /** + * Returns an optional concise name for the monitored resource type. This value might be displayed + * in user interfaces. For example, {@code Google Cloud SQL Database}. If not set, this method + * returns {@code null}. + */ + public String displayName() { + return displayName; + } + + /** + * Returns an optional detailed description of the monitored resource type. This value might be + * used in documentation. If not set, this method returns {@code null}. + */ + public String description() { + return description; + } + + /** + * Returns a list of labels used to describe instances of this monitored resource type. For + * example, an individual Google Cloud SQL database is identified by values for the labels + * {@code database_id} and {@code region}. + */ + public List labels() { + return labels; + } + + @Override + public final int hashCode() { + return Objects.hash(type, name, displayName, description, labels); + } + + @Override + public final boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (obj == null || !obj.getClass().equals(MonitoredResourceDescriptor.class)) { + return false; + } + MonitoredResourceDescriptor other = (MonitoredResourceDescriptor) obj; + return Objects.equals(type, other.type) + && Objects.equals(name, other.name) + && Objects.equals(displayName, other.displayName) + && Objects.equals(description, other.description) + && Objects.equals(labels, other.labels); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("type", type) + .add("name", name) + .add("displayName", displayName) + .add("description", description) + .add("labels", labels) + .toString(); + } + + public com.google.api.MonitoredResourceDescriptor toPb() { + com.google.api.MonitoredResourceDescriptor.Builder builder = + com.google.api.MonitoredResourceDescriptor.newBuilder() + .setType(type) + .addAllLabels(Iterables.transform(labels, LabelDescriptor.TO_PB_FUNCTION)); + if (name != null) { + builder.setName(name); + } + if (displayName != null) { + builder.setDisplayName(displayName); + } + if (description != null) { + builder.setDescription(description); + } + return builder.build(); + } + + static Builder builder(String type) { + return new Builder(type); + } + + public static MonitoredResourceDescriptor fromPb( + com.google.api.MonitoredResourceDescriptor descriptorPb) { + Builder builder = builder(descriptorPb.getType()); + if (descriptorPb.getName() != null && !descriptorPb.getName().equals("")) { + builder.name(descriptorPb.getName()); + } + if (descriptorPb.getDisplayName() != null && !descriptorPb.getDisplayName().equals("")) { + builder.displayName(descriptorPb.getDisplayName()); + } + if (descriptorPb.getDescription() != null && !descriptorPb.getDescription().equals("")) { + builder.description(descriptorPb.getDescription()); + } + builder.labels(Lists.transform(descriptorPb.getLabelsList(), LabelDescriptor.FROM_PB_FUNCTION)); + return builder.build(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java new file mode 100644 index 000000000000..cab0438e05d8 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java @@ -0,0 +1,126 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; + +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; +import com.google.common.collect.ImmutableList; + +import org.junit.Test; + +import java.util.List; + +public class MonitoredResourceDescriptorTest { + + private static final LabelDescriptor BOOLEAN_LABEL = + new LabelDescriptor("booleanKey", ValueType.BOOL, "Boolean label"); + private static final LabelDescriptor STRING_LABEL = + new LabelDescriptor("stringKey", ValueType.STRING, "String label"); + private static final LabelDescriptor INT_LABEL = + new LabelDescriptor("intKey", ValueType.INT64, "Int label"); + private static final LabelDescriptor INT_LABEL_NO_DESCRIPTION = + new LabelDescriptor("intKey", ValueType.INT64, null); + private static final String TYPE = "resource_type"; + private static final String NAME = "resourceName"; + private static final String DISPLAY_NAME = "Display Name"; + private static final String DESCRIPTION = "Resource Descriptor"; + private static final List LABELS = + ImmutableList.of(BOOLEAN_LABEL, STRING_LABEL, INT_LABEL); + private static final MonitoredResourceDescriptor RESOURCE_DESCRIPTOR = + MonitoredResourceDescriptor.builder(TYPE) + .name(NAME) + .displayName(DISPLAY_NAME) + .description(DESCRIPTION) + .labels(LABELS) + .build(); + + @Test + public void testLabelDescriptor() { + assertEquals("booleanKey", BOOLEAN_LABEL.key()); + assertEquals(ValueType.BOOL, BOOLEAN_LABEL.valueType()); + assertEquals("Boolean label", BOOLEAN_LABEL.description()); + assertEquals("stringKey", STRING_LABEL.key()); + assertEquals(ValueType.STRING, STRING_LABEL.valueType()); + assertEquals("String label", STRING_LABEL.description()); + assertEquals("intKey", INT_LABEL.key()); + assertEquals(ValueType.INT64, INT_LABEL.valueType()); + assertEquals("Int label", INT_LABEL.description()); + assertEquals("intKey", INT_LABEL_NO_DESCRIPTION.key()); + assertEquals(ValueType.INT64, INT_LABEL_NO_DESCRIPTION.valueType()); + assertNull(INT_LABEL_NO_DESCRIPTION.description()); + } + + @Test + public void testBuilder() { + assertEquals(TYPE, RESOURCE_DESCRIPTOR.type()); + assertEquals(NAME, RESOURCE_DESCRIPTOR.name()); + assertEquals(DISPLAY_NAME, RESOURCE_DESCRIPTOR.displayName()); + assertEquals(DESCRIPTION, RESOURCE_DESCRIPTOR.description()); + assertEquals(LABELS, RESOURCE_DESCRIPTOR.labels()); + MonitoredResourceDescriptor resourceDescriptor = + MonitoredResourceDescriptor.builder(TYPE).build(); + assertEquals(TYPE, resourceDescriptor.type()); + assertNull(resourceDescriptor.name()); + assertNull(resourceDescriptor.displayName()); + assertNull(resourceDescriptor.description()); + assertEquals(ImmutableList.of(), resourceDescriptor.labels()); + } + + + @Test + public void testToAndFromPbLabelDescriptor() { + compareLabelDescriptor(BOOLEAN_LABEL, LabelDescriptor.fromPb(BOOLEAN_LABEL.toPb())); + compareLabelDescriptor(STRING_LABEL, LabelDescriptor.fromPb(STRING_LABEL.toPb())); + compareLabelDescriptor(INT_LABEL, LabelDescriptor.fromPb(INT_LABEL.toPb())); + compareLabelDescriptor(INT_LABEL_NO_DESCRIPTION, + LabelDescriptor.fromPb(INT_LABEL_NO_DESCRIPTION.toPb())); + } + + @Test + public void testToAndFromPb() { + compareResourceDescriptor(RESOURCE_DESCRIPTOR, + MonitoredResourceDescriptor.fromPb(RESOURCE_DESCRIPTOR.toPb())); + MonitoredResourceDescriptor resourceDescriptor = + MonitoredResourceDescriptor.builder(TYPE).build(); + compareResourceDescriptor(resourceDescriptor, + MonitoredResourceDescriptor.fromPb(resourceDescriptor.toPb())); + } + + private void compareLabelDescriptor(LabelDescriptor expected, LabelDescriptor value) { + assertEquals(expected, value); + assertEquals(expected.key(), value.key()); + assertEquals(expected.valueType(), value.valueType()); + assertEquals(expected.description(), value.description()); + assertEquals(expected.hashCode(), value.hashCode()); + assertEquals(expected.toString(), value.toString()); + } + + private void compareResourceDescriptor(MonitoredResourceDescriptor expected, + MonitoredResourceDescriptor value) { + assertEquals(expected, value); + assertEquals(expected.type(), value.type()); + assertEquals(expected.name(), value.name()); + assertEquals(expected.displayName(), value.displayName()); + assertEquals(expected.description(), value.description()); + assertEquals(expected.labels(), value.labels()); + assertEquals(expected.hashCode(), value.hashCode()); + assertEquals(expected.toString(), value.toString()); + } +} From a5ece81b60150c40fc9645a54211be8b1980cd5d Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 6 Jul 2016 12:52:02 +0200 Subject: [PATCH 0203/3036] Add MonitoredResource class and tests (#1097) --- .../com/google/cloud/MonitoredResource.java | 184 ++++++++++++++++++ .../google/cloud/MonitoredResourceTest.java | 97 +++++++++ 2 files changed, 281 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java new file mode 100644 index 000000000000..584bc80ced02 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java @@ -0,0 +1,184 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.common.base.MoreObjects; +import com.google.common.collect.ImmutableMap; + +import java.io.Serializable; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * Objects of this class represent a resource that can be used for monitoring, logging, billing, or + * other purposes. Examples include virtual machine instances, databases, and storage devices such + * as disks. The type field identifies a {@link MonitoredResourceDescriptor} object that describes + * the resource's schema. Information in the labels field identifies the actual resource and its + * attributes according to the schema. + * + *

    For example, the monitored resource for Google Compute Engine VM instances has + * {@code gce_instance} type and specifies values for the labels {@code instance_id} and + * {@code zone} to identify particular VM instances. + */ +public final class MonitoredResource implements Serializable { + + private static final long serialVersionUID = -4393604148752640581L; + + private final String type; + private final Map labels; + + /** + * A builder for {@code MonitoredResource} objects. + */ + public static class Builder { + + private String type; + private Map labels = new HashMap<>(); + + Builder(String type) { + this.type = type; + } + + Builder(MonitoredResource monitoredResource) { + this.type = monitoredResource.type; + this.labels = new HashMap<>(monitoredResource.labels); + } + + /** + * Sets the monitored resource type. This value must match the one of + * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. + * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + */ + public Builder type(String type) { + this.type = type; + return this; + } + + /** + * Sets the values for all the labels required by the corresponding monitored resource + * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute + * Engine VM instances use the labels {@code instance_id} and {@code zone}. + */ + public Builder labels(Map labels) { + this.labels = new HashMap<>(checkNotNull(labels)); + return this; + } + + /** + * Adds a label to the labels of the monitored resource. + */ + public Builder addLabel(String key, String value) { + this.labels.put(key, value); + return this; + } + + /** + * Clears all the labels of the monitored resource. + */ + public Builder clearLabels() { + this.labels.clear(); + return this; + } + + public MonitoredResource build() { + return new MonitoredResource(this); + } + } + + MonitoredResource(Builder builder) { + this.type = checkNotNull(builder.type); + this.labels = ImmutableMap.copyOf(builder.labels); + } + + /** + * Returns the monitored resource type. This value must match the one of + * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. + * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + */ + public String type() { + return type; + } + + /** + * Returns the values for all the labels required by the corresponding monitored resource + * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute + * Engine VM instances use the labels {@code instance_id} and {@code zone}. + */ + public Map labels() { + return labels; + } + + @Override + public int hashCode() { + return Objects.hash(type, labels); + } + + @Override + public boolean equals(Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof MonitoredResource)) { + return false; + } + MonitoredResource other = (MonitoredResource) obj; + return Objects.equals(type, other.type) && Objects.equals(labels, other.labels); + } + + @Override + public String toString() { + return MoreObjects.toStringHelper(this) + .add("type", type) + .add("labels", labels) + .toString(); + } + + public com.google.api.MonitoredResource toPb() { + return com.google.api.MonitoredResource.newBuilder() + .setType(type) + .putAllLabels(labels) + .build(); + } + + /** + * Returns a builder for this {@code MonitoredResource} object. + */ + public Builder toBuilder() { + return new Builder(this); + } + + /** + * Returns a builder for {@code MonitoredResource} objects given the resource's type. + */ + public static Builder builder(String type) { + return new Builder(type); + } + + /** + * Creates a {@code MonitoredResource} object given the resource's type and labels. + */ + public static MonitoredResource of(String type, Map labels) { + return builder(type).labels(labels).build(); + } + + public static MonitoredResource fromPb(com.google.api.MonitoredResource descriptorPb) { + return new Builder(descriptorPb.getType()).labels(descriptorPb.getLabels()).build(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java new file mode 100644 index 000000000000..b42dc0c0f61b --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java @@ -0,0 +1,97 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; + +import com.google.common.collect.ImmutableMap; + +import org.junit.Test; + +import java.util.Map; + +public class MonitoredResourceTest { + + private static final String TYPE = "cloudsql_database"; + private static final Map LABELS = + ImmutableMap.of("dataset-id", "myDataset", "zone", "myZone"); + private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.builder(TYPE) + .labels(LABELS) + .build(); + + @Test + public void testBuilder() { + assertEquals(TYPE, MONITORED_RESOURCE.type()); + assertEquals(LABELS, MONITORED_RESOURCE.labels()); + MonitoredResource monitoredResource = MonitoredResource.builder(TYPE) + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .build(); + assertEquals(TYPE, monitoredResource.type()); + assertEquals(LABELS, monitoredResource.labels()); + compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + monitoredResource = MonitoredResource.builder(TYPE) + .type("global") + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .clearLabels() + .build(); + assertEquals("global", monitoredResource.type()); + assertEquals(ImmutableMap.of(), monitoredResource.labels()); + } + + @Test + public void testToBuilder() { + compareMonitoredResource(MONITORED_RESOURCE, MONITORED_RESOURCE.toBuilder().build()); + MonitoredResource monitoredResource = MONITORED_RESOURCE.toBuilder() + .type("global") + .clearLabels() + .build(); + assertEquals("global", monitoredResource.type()); + assertEquals(ImmutableMap.of(), monitoredResource.labels()); + monitoredResource = monitoredResource.toBuilder() + .type(TYPE) + .labels(ImmutableMap.of("dataset-id", "myDataset")) + .addLabel("zone", "myZone") + .build(); + compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + } + + @Test + public void testOf() { + MonitoredResource monitoredResource = MonitoredResource.of(TYPE, LABELS); + assertEquals(TYPE, monitoredResource.type()); + assertEquals(LABELS, monitoredResource.labels()); + compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + } + + @Test + public void testToAndFromPb() { + compareMonitoredResource(MONITORED_RESOURCE, + MonitoredResource.fromPb(MONITORED_RESOURCE.toPb())); + MonitoredResource monitoredResource = + MonitoredResource.of(TYPE, ImmutableMap.of()); + compareMonitoredResource(monitoredResource, MonitoredResource.fromPb(monitoredResource.toPb())); + } + + private void compareMonitoredResource(MonitoredResource expected, MonitoredResource value) { + assertEquals(expected, value); + assertEquals(expected.type(), value.type()); + assertEquals(expected.labels(), value.labels()); + assertEquals(expected.hashCode(), value.hashCode()); + } +} From e6770939b60a36ab791a16d5c760ceb9e3a766da Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 19 Jul 2016 14:41:50 +0200 Subject: [PATCH 0204/3036] Add SerializationTest for logging and minor fixes (#1116) --- .../java/com/google/cloud/SerializationTest.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 53baa57b96ca..77f56ed3ddc9 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -16,8 +16,11 @@ package com.google.cloud; +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; +import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; import com.google.cloud.ServiceAccountSigner.SigningException; import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -39,6 +42,15 @@ public class SerializationTest extends BaseSerializationTest { private static final SomeIamPolicy SOME_IAM_POLICY = new SomeIamPolicy.Builder().build(); private static final WaitForOption CHECKING_PERIOD = WaitForOption.checkEvery(42, TimeUnit.SECONDS); + private static final LabelDescriptor LABEL_DESCRIPTOR = + new LabelDescriptor("project_id", ValueType.STRING, "The project id"); + private static final MonitoredResourceDescriptor MONITORED_RESOURCE_DESCRIPTOR = + MonitoredResourceDescriptor.builder("global") + .labels(ImmutableList.of(LABEL_DESCRIPTOR)) + .build(); + private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.builder("global") + .labels(ImmutableMap.of("project_id", "project")) + .build(); private static final String JSON_KEY = "{\n" + " \"private_key_id\": \"somekeyid\",\n" + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" @@ -91,7 +103,8 @@ public Builder toBuilder() { @Override protected Serializable[] serializableObjects() { return new Serializable[]{BASE_SERVICE_EXCEPTION, EXCEPTION_HANDLER, IDENTITY, PAGE, - RETRY_PARAMS, SOME_IAM_POLICY, SIGNING_EXCEPTION, CHECKING_PERIOD}; + RETRY_PARAMS, SOME_IAM_POLICY, SIGNING_EXCEPTION, CHECKING_PERIOD, LABEL_DESCRIPTOR, + MONITORED_RESOURCE_DESCRIPTOR, MONITORED_RESOURCE}; } @Override From 237d5a12da8fc33e424225a837ed227a856505ac Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 21 Jul 2016 11:57:21 +0200 Subject: [PATCH 0205/3036] Release 0.2.6 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9f3ecdac9c8b..2da8a24a1bbc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.6-SNAPSHOT + 0.2.6 gcloud-java-core From e27f8583018812062102ab9d9a4b58de02dad7e6 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Thu, 21 Jul 2016 11:02:12 +0000 Subject: [PATCH 0206/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index cc1129848a71..1ce1f94ec50d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.5 + 0.2.6 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.5' +compile 'com.google.cloud:gcloud-java-core:0.2.6' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.5" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.6" ``` Troubleshooting From 912f2dda7d35fb17b1f24100e0b87ab0cb4653f8 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 21 Jul 2016 20:17:34 +0200 Subject: [PATCH 0207/3036] Update version to 0.2.7-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2da8a24a1bbc..98af8188e33f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.6 + 0.2.7-SNAPSHOT gcloud-java-core From 52f829f2aaf13168fd7e7855d2e0a8d5470b2f65 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 11 Aug 2016 12:11:54 +0200 Subject: [PATCH 0208/3036] Release 0.2.7 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 98af8188e33f..252a894bfe83 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.7-SNAPSHOT + 0.2.7 gcloud-java-core From 3743ed16eda6ccc6eaa0114c73a030d20f3d1bb2 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Thu, 11 Aug 2016 12:41:47 +0000 Subject: [PATCH 0209/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 1ce1f94ec50d..6f34f81917ef 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.6 + 0.2.7 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.6' +compile 'com.google.cloud:gcloud-java-core:0.2.7' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.6" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.7" ``` Troubleshooting From 82e47417fbf588973a56dbbf96ea920ef0747a07 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 11 Aug 2016 16:01:29 +0200 Subject: [PATCH 0210/3036] Update version to 0.2.8-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 252a894bfe83..c09367fccddf 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.7 + 0.2.8-SNAPSHOT gcloud-java-core From 2ce6ceeb1ccf579d9332e887a6b8e243496ecd10 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Fri, 12 Aug 2016 10:20:27 -0700 Subject: [PATCH 0211/3036] Regenerating Pub/Sub and Logging (#1156) --- java-core/google-cloud-core/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c09367fccddf..4cfb7b84b066 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -106,12 +106,12 @@ com.google.api gax - 0.0.13 + 0.0.14 com.google.api.grpc - grpc-core-proto - 0.0.4 + grpc-google-common-protos + 0.0.7 From 6c966ab0365eef29aafcd832fdf2ebebf5a84dc4 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 18 Aug 2016 10:05:30 +0200 Subject: [PATCH 0212/3036] Refactor API call and connection settings for gRPC services (#1163) --- .../main/java/com/google/cloud/ByteArray.java | 8 ++-- .../com/google/cloud/GrpcServiceOptions.java | 43 ++++++++++++++++++- .../cloud/MonitoredResourceDescriptor.java | 14 +++--- 3 files changed, 52 insertions(+), 13 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 6a8e3dddd0ce..3a23a17ba4d7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -135,7 +135,7 @@ public final void copyTo(byte[] target) { /** * Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. */ - public final static ByteArray copyFrom(byte[] bytes) { + public static final ByteArray copyFrom(byte[] bytes) { return new ByteArray(ByteString.copyFrom(bytes)); } @@ -143,14 +143,14 @@ public final static ByteArray copyFrom(byte[] bytes) { * Creates a {@code ByteArray} object given a string. The string is encoded in {@code UTF-8}. The * bytes are copied. */ - public final static ByteArray copyFrom(String string) { + public static final ByteArray copyFrom(String string) { return new ByteArray(ByteString.copyFrom(string, StandardCharsets.UTF_8)); } /** * Creates a {@code ByteArray} object given a {@link ByteBuffer}. The bytes are copied. */ - public final static ByteArray copyFrom(ByteBuffer bytes) { + public static final ByteArray copyFrom(ByteBuffer bytes) { return new ByteArray(ByteString.copyFrom(bytes)); } @@ -158,7 +158,7 @@ public final static ByteArray copyFrom(ByteBuffer bytes) { * Creates a {@code ByteArray} object given an {@link InputStream}. The stream is read into the * created object. */ - public final static ByteArray copyFrom(InputStream input) throws IOException { + public static final ByteArray copyFrom(InputStream input) throws IOException { return new ByteArray(ByteString.readFrom(input)); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index 67361dba6e64..330a3dff2b15 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -18,13 +18,20 @@ import static com.google.common.base.MoreObjects.firstNonNull; +import com.google.api.gax.core.ConnectionSettings; +import com.google.api.gax.core.RetrySettings; +import com.google.api.gax.grpc.ApiCallSettings; +import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; +import com.google.common.net.HostAndPort; import io.grpc.internal.SharedResourceHolder; import io.grpc.internal.SharedResourceHolder.Resource; +import org.joda.time.Duration; + import java.io.IOException; import java.io.ObjectInputStream; import java.util.Objects; @@ -160,8 +167,8 @@ public B executorFactory(ExecutorFactory executorFacto * Sets the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value * adjusted according to {@link #timeoutMultiplier(double)}. Default value is 20000. * - * @throws IllegalArgumentException if the provided timeout is < 0 * @return the builder + * @throws IllegalArgumentException if the provided timeout is < 0 */ public B initialTimeout(int initialTimeout) { Preconditions.checkArgument(initialTimeout > 0, "Initial timeout must be > 0"); @@ -173,8 +180,8 @@ public B initialTimeout(int initialTimeout) { * Sets the timeout multiplier. This value is used to compute the timeout for a retried RPC. * Timeout is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. * - * @throws IllegalArgumentException if the provided timeout multiplier is < 0 * @return the builder + * @throws IllegalArgumentException if the provided timeout multiplier is < 0 */ public B timeoutMultiplier(double timeoutMultiplier) { Preconditions.checkArgument(timeoutMultiplier >= 1.0, "Timeout multiplier must be >= 1"); @@ -216,6 +223,38 @@ protected ExecutorFactory executorFactory() { return executorFactory; } + /** + * Returns a builder for API call settings. + */ + protected ApiCallSettings.Builder apiCallSettings() { + // todo(mziccard): specify timeout these settings: + // retryParams().retryMaxAttempts(), retryParams().retryMinAttempts() + final RetrySettings.Builder builder = RetrySettings.newBuilder() + .setTotalTimeout(Duration.millis(retryParams().totalRetryPeriodMillis())) + .setInitialRpcTimeout(Duration.millis(initialTimeout())) + .setRpcTimeoutMultiplier(timeoutMultiplier()) + .setMaxRpcTimeout(Duration.millis(maxTimeout())) + .setInitialRetryDelay(Duration.millis(retryParams().initialRetryDelayMillis())) + .setRetryDelayMultiplier(retryParams().retryDelayBackoffFactor()) + .setMaxRetryDelay(Duration.millis(retryParams().maxRetryDelayMillis())); + return ApiCallSettings.newBuilder().setRetrySettingsBuilder(builder); + } + + /** + * Returns a builder for connection-related settings. + */ + protected ConnectionSettings.Builder connectionSettings() { + HostAndPort hostAndPort = HostAndPort.fromString(host()); + ConnectionSettings.Builder builder = ConnectionSettings.newBuilder() + .setServiceAddress(hostAndPort.getHostText()) + .setPort(hostAndPort.getPort()); + GoogleCredentials credentials = authCredentials().credentials(); + if (credentials != null) { + builder.provideCredentialsWith(credentials.createScoped(scopes())); + } + return builder; + } + /** * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value * adjusted according to {@link #timeoutMultiplier()}. Default value is 20000. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java index d743e1d39629..cb121094ef31 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -39,13 +39,13 @@ public class MonitoredResourceDescriptor implements Serializable { private static final long serialVersionUID = -3702077512777687441L; public static final Function FROM_PB_FUNCTION = - new Function() { - @Override - public MonitoredResourceDescriptor apply( - com.google.api.MonitoredResourceDescriptor pb) { - return fromPb(pb); - } - }; + new Function() { + @Override + public MonitoredResourceDescriptor apply( + com.google.api.MonitoredResourceDescriptor pb) { + return fromPb(pb); + } + }; private final String type; private final String name; From 9de459dcde5bc55809d5ea8dda6585e75ac11ccd Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 23 Aug 2016 18:45:41 +0200 Subject: [PATCH 0213/3036] Add SocketException and 'insufficient data written' to retryable exceptions (#1187) --- .../com/google/cloud/BaseServiceException.java | 6 +++++- .../google/cloud/BaseServiceExceptionTest.java | 16 ++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 79afed2a3af8..c22fcfd44a3a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -23,6 +23,7 @@ import java.io.IOException; import java.io.Serializable; +import java.net.SocketException; import java.net.SocketTimeoutException; import java.util.Collections; import java.util.Objects; @@ -187,7 +188,10 @@ protected boolean isRetryable(boolean idempotent, Error error) { } protected boolean isRetryable(boolean idempotent, IOException exception) { - return idempotent && exception instanceof SocketTimeoutException; + boolean exceptionIsRetryable = exception instanceof SocketTimeoutException + || exception instanceof SocketException + || "insufficient data written".equals(exception.getMessage()); + return idempotent && exceptionIsRetryable; } /** diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 52bc3b2b51a4..4517afff44ae 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -32,6 +32,7 @@ import org.junit.Test; import java.io.IOException; +import java.net.SocketException; import java.net.SocketTimeoutException; import java.util.Set; @@ -101,6 +102,21 @@ public void testBaseServiceException() { serviceException = new BaseServiceException(exception, true); assertTrue(serviceException.retryable()); assertTrue(serviceException.idempotent()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new SocketException(); + serviceException = new BaseServiceException(exception, true); + assertTrue(serviceException.retryable()); + assertTrue(serviceException.idempotent()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new IOException("insufficient data written"); + serviceException = new BaseServiceException(exception, true); + assertTrue(serviceException.retryable()); + assertTrue(serviceException.idempotent()); + assertEquals("insufficient data written", serviceException.getMessage()); assertEquals(exception, serviceException.getCause()); GoogleJsonError error = new GoogleJsonError(); From c47affe128fca7a91dec6e04a48f3591bc8d15f4 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 25 Aug 2016 16:41:54 +0200 Subject: [PATCH 0214/3036] Release 2.8.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4cfb7b84b066..e8ed3bd7188d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.8-SNAPSHOT + 0.2.8 gcloud-java-core From d3150b88009554af6735803b1b2b1efecaa36c7e Mon Sep 17 00:00:00 2001 From: travis-ci Date: Thu, 25 Aug 2016 17:25:30 +0000 Subject: [PATCH 0215/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 6f34f81917ef..4c06b0d2c442 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud gcloud-java-core - 0.2.7 + 0.2.8 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.7' +compile 'com.google.cloud:gcloud-java-core:0.2.8' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.7" +libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.8" ``` Troubleshooting From 7719f7b45ef216b1cfcefa6fc813271b28f3b647 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 25 Aug 2016 20:34:08 +0200 Subject: [PATCH 0216/3036] Update version to 0.2.9-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e8ed3bd7188d..0a426d50a21b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud gcloud-java-pom - 0.2.8 + 0.2.9-SNAPSHOT gcloud-java-core From 1c9d00fe654cb05a781e983742d67bd09d8e28c3 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Mon, 29 Aug 2016 07:07:21 -0700 Subject: [PATCH 0217/3036] Initial auto-generated gcloud-java-vision (#1174) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0a426d50a21b..50155634bd11 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -106,7 +106,7 @@ com.google.api gax - 0.0.14 + 0.0.16 com.google.api.grpc From 340cc3e5a7bccc55e4a0c5774503833df44271ba Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 30 Aug 2016 13:06:40 +0200 Subject: [PATCH 0218/3036] Update pom.xml files and rename directories --- java-core/google-cloud-core/pom.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 50155634bd11..6d1b948f8f2d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -1,20 +1,20 @@ 4.0.0 - gcloud-java-core + google-cloud-core jar - GCloud Java core - https://github.com/GoogleCloudPlatform/gcloud-java/tree/master/gcloud-java-core + Google Cloud Core + https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core - Core module for the gcloud-java. + Core module for the google-cloud. com.google.cloud - gcloud-java-pom + google-cloud-pom 0.2.9-SNAPSHOT - gcloud-java-core + google-cloud-core From 9c6a88694af1d263d0f75f72d06e4f1b67e95b30 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 30 Aug 2016 13:19:21 +0200 Subject: [PATCH 0219/3036] Rename gcloud-java to google-cloud in READMEs --- java-core/google-cloud-core/README.md | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 4c06b0d2c442..6a6fcbc2b696 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -3,14 +3,14 @@ Google Cloud Java Client -- Core This module provides common functionality required by service-specific modules of this library. -[![Build Status](https://travis-ci.org/GoogleCloudPlatform/gcloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/gcloud-java) -[![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/gcloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/gcloud-java?branch=master) -[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/gcloud-java-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/gcloud-java-core.svg) -[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/gcloud-java) +[![Build Status](https://travis-ci.org/GoogleCloudPlatform/google-cloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/google-cloud-java) +[![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/google-cloud-java?branch=master) +[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) +[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) [![Dependency Status](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969) -- [Homepage] (https://googlecloudplatform.github.io/gcloud-java/) -- [API Documentation] (http://googlecloudplatform.github.io/gcloud-java/apidocs/index.html?com/google/cloud/package-summary.html) +- [Homepage] (https://googlecloudplatform.github.io/google-cloud-java/) +- [API Documentation] (https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) Quickstart ---------- @@ -18,23 +18,23 @@ If you are using Maven, add this to your pom.xml file ```xml com.google.cloud - gcloud-java-core + google-cloud-core 0.2.8 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:gcloud-java-core:0.2.8' +compile 'com.google.cloud:google-cloud-core:0.2.8' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "gcloud-java-core" % "0.2.8" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.2.8" ``` Troubleshooting --------------- -To get help, follow the `gcloud-java` links in the `gcloud-*` [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting). +To get help, follow the instructions in the [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting). Java Versions ------------- @@ -46,7 +46,7 @@ Contributing Contributions to this library are always welcome and highly encouraged. -See `gcloud-java`'s [CONTRIBUTING] documentation and the `gcloud-*` [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started. +See `google-cloud`'s [CONTRIBUTING] documentation and the [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. @@ -65,7 +65,7 @@ License Apache 2.0 - See [LICENSE] for more information. -[CONTRIBUTING]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CONTRIBUTING.md -[code-of-conduct]:https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[LICENSE]: https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/LICENSE +[CONTRIBUTING]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CONTRIBUTING.md +[code-of-conduct]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[LICENSE]: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/LICENSE [cloud-platform]: https://cloud.google.com/ From 4300624419f16bc06108b2a4fdbcaf07f6ac6098 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 30 Aug 2016 13:51:59 +0200 Subject: [PATCH 0220/3036] Rename gcloud-java to google-cloud in javadoc comments --- .../src/main/java/com/google/cloud/package-info.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java index 8b548e3d26e8..50a9efa04505 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java @@ -15,6 +15,6 @@ */ /** - * Core classes for the {@code gcloud-java} library. + * Core classes for the {@code google-cloud} library. */ package com.google.cloud; From 267e72e0814abeda767d4c37c403be6e86f5bee5 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 30 Aug 2016 14:34:05 +0200 Subject: [PATCH 0221/3036] Add new env variable for project, change namespace for datastore example --- .../src/main/java/com/google/cloud/ServiceOptions.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index db24555a189d..acd1611797f7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -64,10 +64,11 @@ public abstract class ServiceOptions, Service OptionsT extends ServiceOptions> implements Serializable { private static final String DEFAULT_HOST = "https://www.googleapis.com"; - private static final String PROJECT_ENV_NAME = "GCLOUD_PROJECT"; + private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; + private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; private static final String MANIFEST_ARTIFACT_ID_KEY = "artifactId"; private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; - private static final String ARTIFACT_ID = "gcloud-java-core"; + private static final String ARTIFACT_ID = "google-cloud-core"; private static final String LIBRARY_NAME = "gcloud-java"; private static final String LIBRARY_VERSION = getLibraryVersion(); private static final String APPLICATION_NAME = @@ -261,6 +262,10 @@ protected String defaultHost() { protected String defaultProject() { String projectId = System.getProperty(PROJECT_ENV_NAME, System.getenv(PROJECT_ENV_NAME)); + if (projectId == null) { + projectId = + System.getProperty(LEGACY_PROJECT_ENV_NAME, System.getenv(LEGACY_PROJECT_ENV_NAME)); + } if (projectId == null) { projectId = appEngineProjectId(); } From d9bf3e6d4f46eeed100c911a77644ec914c0de71 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 30 Aug 2016 14:41:58 +0200 Subject: [PATCH 0222/3036] Bump google-cloud to version 0.3.0-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6d1b948f8f2d..900b7f5739c9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.2.9-SNAPSHOT + 0.3.0-SNAPSHOT google-cloud-core From 50d5c58ee4bf24942ead8a941740eca67ab5c905 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 31 Aug 2016 08:59:16 +0200 Subject: [PATCH 0223/3036] Release 0.3.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 900b7f5739c9..7dc25356c6f9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.3.0-SNAPSHOT + 0.3.0 google-cloud-core From e5360994bdc66dcca552fb5825681acc65115bf8 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Wed, 31 Aug 2016 09:55:52 +0000 Subject: [PATCH 0224/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 6a6fcbc2b696..8e66bea2a382 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.2.8 + 0.3.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.2.8' +compile 'com.google.cloud:google-cloud-core:0.3.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.2.8" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.3.0" ``` Troubleshooting From 47af80b8997d1257501195abd01682e2e0d70325 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 31 Aug 2016 15:28:11 +0200 Subject: [PATCH 0225/3036] Update version to 0.3.1-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7dc25356c6f9..4784a40b09d9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.3.0 + 0.3.1-SNAPSHOT google-cloud-core From bd6bfbab27befc05ac83262b2d6b8fdbf466ebbf Mon Sep 17 00:00:00 2001 From: Michael Bausor Date: Tue, 6 Sep 2016 13:13:38 -0700 Subject: [PATCH 0226/3036] Initial commit from internal repo --- java-iam/LICENSE | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 java-iam/LICENSE diff --git a/java-iam/LICENSE b/java-iam/LICENSE new file mode 100644 index 000000000000..1839ff93ec3d --- /dev/null +++ b/java-iam/LICENSE @@ -0,0 +1,25 @@ +Copyright 2016, Google Inc. +All rights reserved. +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 Inc. 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. From 83d86401b7646ea215e884e305f7e2bd8043c156 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 6 Sep 2016 22:36:17 +0200 Subject: [PATCH 0227/3036] Refactor IAM-related classes to be ready to support more services (#1224) Refactor IAM-related classes to be ready to support more services - Remove resourcemanager's Policy class - Rename core's IamPolicy to Policy - Add Role class to hold string values for roles - Add Policy.Marshaller and Policy.DefaultMarshaller classes to convert Policy to/from gRPC protos - Add PolicyMarshaller to resourcemanager to convert Policy to/from resourcemanager's protos - Update READMEs, javadoc and examples - Add factory methods for primitive roles, other minor fixes --- java-core/google-cloud-core/pom.xml | 7 +- .../main/java/com/google/cloud/Identity.java | 8 +- .../cloud/{IamPolicy.java => Policy.java} | 194 +++++++++++++----- .../src/main/java/com/google/cloud/Role.java | 109 ++++++++++ .../{IamPolicyTest.java => PolicyTest.java} | 165 ++++++--------- .../test/java/com/google/cloud/RoleTest.java | 65 ++++++ .../com/google/cloud/SerializationTest.java | 29 +-- 7 files changed, 397 insertions(+), 180 deletions(-) rename java-core/google-cloud-core/src/main/java/com/google/cloud/{IamPolicy.java => Policy.java} (50%) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java rename java-core/google-cloud-core/src/test/java/com/google/cloud/{IamPolicyTest.java => PolicyTest.java} (52%) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4784a40b09d9..248eaa925fed 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,12 @@ com.google.api.grpc grpc-google-common-protos - 0.0.7 + 0.0.9 + + + com.google.api.grpc + grpc-google-iam-v1 + 0.0.9 diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index fab70dfe6d37..783e99f79652 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -24,8 +24,7 @@ import java.util.Objects; /** - * An identity in an {@link IamPolicy}. The following types of identities are permitted in IAM - * policies: + * An identity in a {@link Policy}. The following types of identities are permitted in IAM policies: *

      *
    • Google account *
    • Service account @@ -161,6 +160,11 @@ public static Identity domain(String domain) { return new Identity(Type.DOMAIN, checkNotNull(domain)); } + @Override + public String toString() { + return strValue(); + } + @Override public int hashCode() { return Objects.hash(value, type); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java similarity index 50% rename from java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 2d15d9907687..2a8009d4038f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/IamPolicy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -19,79 +19,146 @@ import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; +import com.google.common.base.Function; +import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.common.io.BaseEncoding; +import com.google.protobuf.ByteString; import java.io.Serializable; +import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; +import java.util.LinkedList; +import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Set; /** - * Base class for Identity and Access Management (IAM) policies. IAM policies are used to specify - * access settings for Cloud Platform resources. A policy is a map of bindings. A binding assigns - * a set of identities to a role, where the identities can be user accounts, Google groups, Google - * domains, and service accounts. A role is a named list of permissions defined by IAM. + * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access + * settings for Cloud Platform resources. A policy is a map of bindings. A binding assigns a set of + * identities to a role, where the identities can be user accounts, Google groups, Google domains, + * and service accounts. A role is a named list of permissions defined by IAM. * - * @param the data type of roles (should be serializable) * @see Policy */ -public abstract class IamPolicy implements Serializable { +public final class Policy implements Serializable { - private static final long serialVersionUID = 1114489978726897720L; + private static final long serialVersionUID = -3348914530232544290L; - private final Map> bindings; + private final Map> bindings; private final String etag; - private final Integer version; + private final int version; + + public abstract static class Marshaller { + + protected static final Function IDENTITY_VALUE_OF_FUNCTION = + new Function() { + @Override + public Identity apply(String identityPb) { + return Identity.valueOf(identityPb); + } + }; + protected static final Function IDENTITY_STR_VALUE_FUNCTION = + new Function() { + @Override + public String apply(Identity identity) { + return identity.strValue(); + } + }; + + protected abstract Policy fromPb(T policyPb); + + protected abstract T toPb(Policy policy); + } + + public static class DefaultMarshaller extends Marshaller { + + @Override + protected Policy fromPb(com.google.iam.v1.Policy policyPb) { + Map> bindings = new HashMap<>(); + for (com.google.iam.v1.Binding bindingPb : policyPb.getBindingsList()) { + bindings.put(Role.of(bindingPb.getRole()), + ImmutableSet.copyOf( + Lists.transform(bindingPb.getMembersList(), IDENTITY_VALUE_OF_FUNCTION))); + } + return builder() + .bindings(bindings) + .etag(policyPb.getEtag().isEmpty() ? null + : BaseEncoding.base64().encode(policyPb.getEtag().toByteArray())) + .version(policyPb.getVersion()) + .build(); + } + + @Override + protected com.google.iam.v1.Policy toPb(Policy policy) { + com.google.iam.v1.Policy.Builder policyBuilder = com.google.iam.v1.Policy.newBuilder(); + List bindingPbList = new LinkedList<>(); + for (Map.Entry> binding : policy.bindings().entrySet()) { + com.google.iam.v1.Binding.Builder bindingBuilder = com.google.iam.v1.Binding.newBuilder(); + bindingBuilder.setRole(binding.getKey().value()); + bindingBuilder.addAllMembers( + Lists.transform(new ArrayList<>(binding.getValue()), IDENTITY_STR_VALUE_FUNCTION)); + bindingPbList.add(bindingBuilder.build()); + } + policyBuilder.addAllBindings(bindingPbList); + if (policy.etag != null) { + policyBuilder.setEtag(ByteString.copyFrom(BaseEncoding.base64().decode(policy.etag))); + } + policyBuilder.setVersion(policy.version); + return policyBuilder.build(); + } + } /** - * Builder for an IAM Policy. - * - * @param the data type of roles - * @param the subclass extending this abstract builder + * A builder for {@code Policy} objects. */ - public abstract static class Builder> { + public static class Builder { - private final Map> bindings = new HashMap<>(); + private final Map> bindings = new HashMap<>(); private String etag; - private Integer version; + private int version; - /** - * Constructor for IAM Policy builder. - */ protected Builder() {} + protected Builder(Policy policy) { + bindings(policy.bindings); + etag(policy.etag); + version(policy.version); + } + /** * Replaces the builder's map of bindings with the given map of bindings. * * @throws NullPointerException if the given map is null or contains any null keys or values * @throws IllegalArgumentException if any identities in the given map are null */ - public final B bindings(Map> bindings) { + public final Builder bindings(Map> bindings) { checkNotNull(bindings, "The provided map of bindings cannot be null."); - for (Map.Entry> binding : bindings.entrySet()) { + for (Map.Entry> binding : bindings.entrySet()) { checkNotNull(binding.getKey(), "The role cannot be null."); Set identities = binding.getValue(); checkNotNull(identities, "A role cannot be assigned to a null set of identities."); checkArgument(!identities.contains(null), "Null identities are not permitted."); } this.bindings.clear(); - for (Map.Entry> binding : bindings.entrySet()) { - this.bindings.put(binding.getKey(), new HashSet(binding.getValue())); + for (Map.Entry> binding : bindings.entrySet()) { + this.bindings.put(binding.getKey(), new HashSet<>(binding.getValue())); } - return self(); + return this; } /** * Removes the role (and all identities associated with that role) from the policy. */ - public final B removeRole(R role) { + public final Builder removeRole(Role role) { bindings.remove(role); - return self(); + return this; } /** @@ -99,7 +166,7 @@ public final B removeRole(R role) { * * @throws NullPointerException if the role or any of the identities is null. */ - public final B addIdentity(R role, Identity first, Identity... others) { + public final Builder addIdentity(Role role, Identity first, Identity... others) { String nullIdentityMessage = "Null identities are not permitted."; checkNotNull(first, nullIdentityMessage); checkNotNull(others, nullIdentityMessage); @@ -111,18 +178,18 @@ public final B addIdentity(R role, Identity first, Identity... others) { toAdd.addAll(Arrays.asList(others)); Set identities = bindings.get(checkNotNull(role, "The role cannot be null.")); if (identities == null) { - identities = new HashSet(); + identities = new HashSet<>(); bindings.put(role, identities); } identities.addAll(toAdd); - return self(); + return this; } /** * Removes one or more identities from an existing binding. Does nothing if the binding * associated with the provided role doesn't exist. */ - public final B removeIdentity(R role, Identity first, Identity... others) { + public final Builder removeIdentity(Role role, Identity first, Identity... others) { Set identities = bindings.get(role); if (identities != null) { identities.remove(first); @@ -131,7 +198,7 @@ public final B removeIdentity(R role, Identity first, Identity... others) { if (identities != null && identities.isEmpty()) { bindings.remove(role); } - return self(); + return this; } /** @@ -145,31 +212,31 @@ public final B removeIdentity(R role, Identity first, Identity... others) { * applied to the same version of the policy. If no etag is provided in the call to * setIamPolicy, then the existing policy is overwritten blindly. */ - protected final B etag(String etag) { + protected final Builder etag(String etag) { this.etag = etag; - return self(); + return this; } /** * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", * and "viewer" roles are permitted. If the version is 1, you may also use other roles. */ - protected final B version(Integer version) { + protected final Builder version(int version) { this.version = version; - return self(); + return this; } - @SuppressWarnings("unchecked") - private B self() { - return (B) this; + /** + * Creates a {@code Policy} object. + */ + public final Policy build() { + return new Policy(this); } - - public abstract IamPolicy build(); } - protected IamPolicy(Builder> builder) { - ImmutableMap.Builder> bindingsBuilder = ImmutableMap.builder(); - for (Map.Entry> binding : builder.bindings.entrySet()) { + private Policy(Builder builder) { + ImmutableMap.Builder> bindingsBuilder = ImmutableMap.builder(); + for (Map.Entry> binding : builder.bindings.entrySet()) { bindingsBuilder.put(binding.getKey(), ImmutableSet.copyOf(binding.getValue())); } this.bindings = bindingsBuilder.build(); @@ -180,17 +247,19 @@ protected IamPolicy(Builder> builder) { /** * Returns a builder containing the properties of this IAM Policy. */ - public abstract Builder> toBuilder(); + public Builder toBuilder() { + return new Builder(this); + } /** - * The map of bindings that comprises the policy. + * Returns the map of bindings that comprises the policy. */ - public Map> bindings() { + public Map> bindings() { return bindings; } /** - * The policy's etag. + * Returns the policy's etag. * *

      Etags are used for optimistic concurrency control as a way to help prevent simultaneous * updates of a policy from overwriting each other. It is strongly suggested that systems make @@ -205,30 +274,45 @@ public String etag() { } /** - * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", - * and "viewer" roles are permitted. If the version is 1, you may also use other roles. + * Returns the version of the policy. The default version is 0, meaning only the "owner", + * "editor", and "viewer" roles are permitted. If the version is 1, you may also use other roles. */ - public Integer version() { + public int version() { return version; } @Override - public final int hashCode() { + public String toString() { + return MoreObjects.toStringHelper(this) + .add("bindings", bindings) + .add("etag", etag) + .add("version", version) + .toString(); + } + + @Override + public int hashCode() { return Objects.hash(getClass(), bindings, etag, version); } @Override - public final boolean equals(Object obj) { + public boolean equals(Object obj) { if (obj == this) { return true; } - if (obj == null || !obj.getClass().equals(getClass())) { + if (!(obj instanceof Policy)) { return false; } - @SuppressWarnings("rawtypes") - IamPolicy other = (IamPolicy) obj; + Policy other = (Policy) obj; return Objects.equals(bindings, other.bindings()) && Objects.equals(etag, other.etag()) && Objects.equals(version, other.version()); } + + /** + * Returns a builder for {@code Policy} objects. + */ + public static Builder builder() { + return new Builder(); + } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java new file mode 100644 index 000000000000..60f826d3a9d7 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java @@ -0,0 +1,109 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Preconditions.checkNotNull; + +import java.io.Serializable; +import java.util.Objects; + +/** + * A role in a IAM {@link Policy}. Project owners can grant access to team members to access + * project's resources and APIs by granting IAM roles to team members. + * + * @see Viewing the Grantable + * Roles on Resources + * @see Understanding Roles + */ +public final class Role implements Serializable { + + private static final long serialVersionUID = -7779252712160972508L; + private static final String ROLE_PREFIX = "roles/"; + + private final String value; + + private Role(String value) { + this.value = value; + } + + /** + * Returns the string identifier for this role. For example, {@code "roles/viewer"}, + * {@code "roles/editor"}, or {@code "roles/owner"}. + */ + public String value() { + return value; + } + + /** + * Returns the viewer role. Encapsulates the permission for read-only actions that preserve state + * of a resource. + * + * @see Understanding Roles + */ + public static Role viewer() { + return of("viewer"); + } + + /** + * Returns the editor role. Encapsulates all viewer's permissions and permissions for actions that + * modify the state of a resource. + * + * @see Understanding Roles + */ + public static Role editor() { + return of("editor"); + } + + /** + * Returns the owner role. Encapsulates all editor's permissions and permissions to manage access + * control for a resource or manage the billing options for a project. + * + * @see Understanding Roles + */ + public static Role owner() { + return of("owner"); + } + + /** + * Returns a new role given its string value. + * + * @param value the string value for the role, for example, {@code "roles/viewer"}, + * {@code "roles/editor"}, or {@code "roles/owner"}. If this value does not start with the + * role prefix {@code roles/}, the prefix is prepended. + * @see Viewing the Grantable + * Roles on Resources + */ + public static Role of(String value) { + checkNotNull(value); + return new Role(value.startsWith(ROLE_PREFIX) ? value : ROLE_PREFIX + value); + } + + @Override + public int hashCode() { + return Objects.hash(value); + } + + @Override + public String toString() { + return value; + } + + @Override + public boolean equals(Object obj) { + return obj instanceof Role && Objects.equals(value, ((Role) obj).value()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IamPolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java similarity index 52% rename from java-core/google-cloud-core/src/test/java/com/google/cloud/IamPolicyTest.java rename to java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java index e79cfd96554c..946c5584d5db 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IamPolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -23,6 +23,7 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import com.google.cloud.Policy.DefaultMarshaller; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; @@ -33,7 +34,7 @@ import java.util.Map; import java.util.Set; -public class IamPolicyTest { +public class PolicyTest { private static final Identity ALL_USERS = Identity.allUsers(); private static final Identity ALL_AUTH_USERS = Identity.allAuthenticatedUsers(); @@ -42,123 +43,101 @@ public class IamPolicyTest { Identity.serviceAccount("service-account@gmail.com"); private static final Identity GROUP = Identity.group("group@gmail.com"); private static final Identity DOMAIN = Identity.domain("google.com"); - private static final Map> BINDINGS = ImmutableMap.of( - "viewer", + private static final Role VIEWER = Role.viewer(); + private static final Role EDITOR = Role.editor(); + private static final Role OWNER = Role.owner(); + private static final Map> BINDINGS = ImmutableMap.of( + VIEWER, ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS), - "editor", + EDITOR, ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)); - private static final PolicyImpl SIMPLE_POLICY = PolicyImpl.builder() - .addIdentity("viewer", USER, SERVICE_ACCOUNT, ALL_USERS) - .addIdentity("editor", ALL_AUTH_USERS, GROUP, DOMAIN) + private static final Policy SIMPLE_POLICY = Policy.builder() + .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) + .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) + .build(); + private static final Policy FULL_POLICY = Policy.builder() + .bindings(SIMPLE_POLICY.bindings()) + .etag("etag") + .version(1) .build(); - private static final PolicyImpl FULL_POLICY = - new PolicyImpl.Builder(SIMPLE_POLICY.bindings(), "etag", 1).build(); - - static class PolicyImpl extends IamPolicy { - - static class Builder extends IamPolicy.Builder { - - private Builder() {} - - private Builder(Map> bindings, String etag, Integer version) { - bindings(bindings).etag(etag).version(version); - } - - @Override - public PolicyImpl build() { - return new PolicyImpl(this); - } - } - - PolicyImpl(Builder builder) { - super(builder); - } - - @Override - public Builder toBuilder() { - return new Builder(bindings(), etag(), version()); - } - - static Builder builder() { - return new Builder(); - } - } @Test public void testBuilder() { + assertEquals(BINDINGS, SIMPLE_POLICY.bindings()); + assertEquals(null, SIMPLE_POLICY.etag()); + assertEquals(0, SIMPLE_POLICY.version()); assertEquals(BINDINGS, FULL_POLICY.bindings()); assertEquals("etag", FULL_POLICY.etag()); - assertEquals(1, FULL_POLICY.version().intValue()); - Map> editorBinding = - ImmutableMap.>builder().put("editor", BINDINGS.get("editor")).build(); - PolicyImpl policy = FULL_POLICY.toBuilder().bindings(editorBinding).build(); + assertEquals(1, FULL_POLICY.version()); + Map> editorBinding = + ImmutableMap.>builder().put(EDITOR, BINDINGS.get(EDITOR)).build(); + Policy policy = FULL_POLICY.toBuilder().bindings(editorBinding).build(); assertEquals(editorBinding, policy.bindings()); assertEquals("etag", policy.etag()); - assertEquals(1, policy.version().intValue()); - policy = SIMPLE_POLICY.toBuilder().removeRole("editor").build(); - assertEquals(ImmutableMap.of("viewer", BINDINGS.get("viewer")), policy.bindings()); + assertEquals(1, policy.version()); + policy = SIMPLE_POLICY.toBuilder().removeRole(EDITOR).build(); + assertEquals(ImmutableMap.of(VIEWER, BINDINGS.get(VIEWER)), policy.bindings()); assertNull(policy.etag()); - assertNull(policy.version()); + assertEquals(0, policy.version()); policy = policy.toBuilder() - .removeIdentity("viewer", USER, ALL_USERS) - .addIdentity("viewer", DOMAIN, GROUP) + .removeIdentity(VIEWER, USER, ALL_USERS) + .addIdentity(VIEWER, DOMAIN, GROUP) .build(); - assertEquals(ImmutableMap.of("viewer", ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), + assertEquals(ImmutableMap.of(VIEWER, ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), policy.bindings()); assertNull(policy.etag()); - assertNull(policy.version()); - policy = PolicyImpl.builder() - .removeIdentity("viewer", USER) - .addIdentity("owner", USER, SERVICE_ACCOUNT) - .addIdentity("editor", GROUP) - .removeIdentity("editor", GROUP) + assertEquals(0, policy.version()); + policy = Policy.builder() + .removeIdentity(VIEWER, USER) + .addIdentity(OWNER, USER, SERVICE_ACCOUNT) + .addIdentity(EDITOR, GROUP) + .removeIdentity(EDITOR, GROUP) .build(); - assertEquals( - ImmutableMap.of("owner", ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.bindings()); + assertEquals(ImmutableMap.of(OWNER, ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.bindings()); assertNull(policy.etag()); - assertNull(policy.version()); + assertEquals(0, policy.version()); } @Test public void testIllegalPolicies() { try { - PolicyImpl.builder().addIdentity(null, USER); + Policy.builder().addIdentity(null, USER); fail("Null role should cause exception."); } catch (NullPointerException ex) { assertEquals("The role cannot be null.", ex.getMessage()); } try { - PolicyImpl.builder().addIdentity("viewer", null, USER); + Policy.builder().addIdentity(VIEWER, null, USER); fail("Null identity should cause exception."); } catch (NullPointerException ex) { assertEquals("Null identities are not permitted.", ex.getMessage()); } try { - PolicyImpl.builder().addIdentity("viewer", USER, (Identity[]) null); + Policy.builder().addIdentity(VIEWER, USER, (Identity[]) null); fail("Null identity should cause exception."); } catch (NullPointerException ex) { assertEquals("Null identities are not permitted.", ex.getMessage()); } try { - PolicyImpl.builder().bindings(null); + Policy.builder().bindings(null); fail("Null bindings map should cause exception."); } catch (NullPointerException ex) { assertEquals("The provided map of bindings cannot be null.", ex.getMessage()); } try { - Map> bindings = new HashMap<>(); - bindings.put("viewer", null); - PolicyImpl.builder().bindings(bindings); + Map> bindings = new HashMap<>(); + bindings.put(VIEWER, null); + Policy.builder().bindings(bindings); fail("Null set of identities should cause exception."); } catch (NullPointerException ex) { assertEquals("A role cannot be assigned to a null set of identities.", ex.getMessage()); } try { - Map> bindings = new HashMap<>(); + Map> bindings = new HashMap<>(); Set identities = new HashSet<>(); identities.add(null); - bindings.put("viewer", identities); - PolicyImpl.builder().bindings(bindings); + bindings.put(VIEWER, identities); + Policy.builder().bindings(bindings); fail("Null identity should cause exception."); } catch (IllegalArgumentException ex) { assertEquals("Null identities are not permitted.", ex.getMessage()); @@ -168,20 +147,20 @@ public void testIllegalPolicies() { @Test public void testEqualsHashCode() { assertNotNull(FULL_POLICY); - PolicyImpl emptyPolicy = PolicyImpl.builder().build(); - AnotherPolicyImpl anotherPolicy = new AnotherPolicyImpl.Builder().build(); - assertNotEquals(emptyPolicy, anotherPolicy); - assertNotEquals(emptyPolicy.hashCode(), anotherPolicy.hashCode()); + Policy emptyPolicy = Policy.builder().build(); + Policy anotherPolicy = Policy.builder().build(); + assertEquals(emptyPolicy, anotherPolicy); + assertEquals(emptyPolicy.hashCode(), anotherPolicy.hashCode()); assertNotEquals(FULL_POLICY, SIMPLE_POLICY); assertNotEquals(FULL_POLICY.hashCode(), SIMPLE_POLICY.hashCode()); - PolicyImpl copy = SIMPLE_POLICY.toBuilder().build(); + Policy copy = SIMPLE_POLICY.toBuilder().build(); assertEquals(SIMPLE_POLICY, copy); assertEquals(SIMPLE_POLICY.hashCode(), copy.hashCode()); } @Test public void testBindings() { - assertTrue(PolicyImpl.builder().build().bindings().isEmpty()); + assertTrue(Policy.builder().build().bindings().isEmpty()); assertEquals(BINDINGS, SIMPLE_POLICY.bindings()); } @@ -193,29 +172,21 @@ public void testEtag() { @Test public void testVersion() { - assertNull(SIMPLE_POLICY.version()); - assertEquals(1, FULL_POLICY.version().intValue()); + assertEquals(0, SIMPLE_POLICY.version()); + assertEquals(1, FULL_POLICY.version()); } - static class AnotherPolicyImpl extends IamPolicy { - - static class Builder extends IamPolicy.Builder { - - private Builder() {} - - @Override - public AnotherPolicyImpl build() { - return new AnotherPolicyImpl(this); - } - } - - AnotherPolicyImpl(Builder builder) { - super(builder); - } - - @Override - public Builder toBuilder() { - return new Builder(); - } + @Test + public void testDefaultMarshaller() { + DefaultMarshaller marshaller = new DefaultMarshaller(); + Policy emptyPolicy = Policy.builder().build(); + assertEquals(emptyPolicy, marshaller.fromPb(marshaller.toPb(emptyPolicy))); + assertEquals(SIMPLE_POLICY, marshaller.fromPb(marshaller.toPb(SIMPLE_POLICY))); + assertEquals(FULL_POLICY, marshaller.fromPb(marshaller.toPb(FULL_POLICY))); + com.google.iam.v1.Policy policyPb = com.google.iam.v1.Policy.getDefaultInstance(); + Policy policy = marshaller.fromPb(policyPb); + assertTrue(policy.bindings().isEmpty()); + assertNull(policy.etag()); + assertEquals(0, policy.version()); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java new file mode 100644 index 000000000000..c66c28a9523a --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java @@ -0,0 +1,65 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; + +import org.junit.Test; + +public class RoleTest { + + private static final Role VIEWER = Role.of("viewer"); + private static final Role EDITOR = Role.of("editor"); + private static final Role OWNER = Role.of("owner"); + + @Test + public void testOf() { + assertEquals("roles/viewer", VIEWER.value()); + assertEquals("roles/editor", EDITOR.value()); + assertEquals("roles/owner", OWNER.value()); + compareRoles(VIEWER, Role.of("roles/viewer")); + compareRoles(EDITOR, Role.of("roles/editor")); + compareRoles(OWNER, Role.of("roles/owner")); + } + + @Test + public void testViewer() { + assertEquals("roles/viewer", Role.viewer().value()); + } + + @Test + public void testEditor() { + assertEquals("roles/editor", Role.editor().value()); + } + + @Test + public void testOwner() { + assertEquals("roles/owner", Role.owner().value()); + } + + @Test(expected = NullPointerException.class) + public void testOfNullValue() { + Role.of(null); + } + + private void compareRoles(Role expected, Role actual) { + assertEquals(expected, actual); + assertEquals(expected.value(), actual.value()); + assertEquals(expected.hashCode(), actual.hashCode()); + assertEquals(expected.toString(), actual.toString()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 77f56ed3ddc9..13baed858bdb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -39,7 +39,8 @@ public class SerializationTest extends BaseSerializationTest { private static final SigningException SIGNING_EXCEPTION = new SigningException("message", BASE_SERVICE_EXCEPTION); private static final RetryParams RETRY_PARAMS = RetryParams.defaultInstance(); - private static final SomeIamPolicy SOME_IAM_POLICY = new SomeIamPolicy.Builder().build(); + private static final Role SOME_ROLE = Role.viewer(); + private static final Policy SOME_IAM_POLICY = Policy.builder().build(); private static final WaitForOption CHECKING_PERIOD = WaitForOption.checkEvery(42, TimeUnit.SECONDS); private static final LabelDescriptor LABEL_DESCRIPTOR = @@ -78,33 +79,11 @@ public class SerializationTest extends BaseSerializationTest { + " \"type\": \"service_account\"\n" + "}"; - private static class SomeIamPolicy extends IamPolicy { - - private static final long serialVersionUID = 271243551016958285L; - - private static class Builder extends IamPolicy.Builder { - - @Override - public SomeIamPolicy build() { - return new SomeIamPolicy(this); - } - } - - protected SomeIamPolicy(Builder builder) { - super(builder); - } - - @Override - public Builder toBuilder() { - return new Builder(); - } - } - @Override protected Serializable[] serializableObjects() { return new Serializable[]{BASE_SERVICE_EXCEPTION, EXCEPTION_HANDLER, IDENTITY, PAGE, - RETRY_PARAMS, SOME_IAM_POLICY, SIGNING_EXCEPTION, CHECKING_PERIOD, LABEL_DESCRIPTOR, - MONITORED_RESOURCE_DESCRIPTOR, MONITORED_RESOURCE}; + RETRY_PARAMS, SOME_ROLE, SOME_IAM_POLICY, SIGNING_EXCEPTION, CHECKING_PERIOD, + LABEL_DESCRIPTOR, MONITORED_RESOURCE_DESCRIPTOR, MONITORED_RESOURCE}; } @Override From 712db0473cb79f062f19283fd18eb124935d6832 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Wed, 28 Sep 2016 09:53:35 -0700 Subject: [PATCH 0228/3036] Update grpc, protobuf, datastore and gax dependencies, regenerate SPI classes (#1273) * Regenerating SPI classes * Updating grpc to 1.0.1 and protobuf to 3.0.0 * Converting PageAccessor to PagedListResponse * Adding auto-generated tests for logging * Removing some unused imports * Updating datastore proto dependency * Removing unnecessary auto-value dependency * Using correct version of netty-tcnative-boringssl-static --- java-core/google-cloud-core/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 248eaa925fed..b1781b323813 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -101,22 +101,22 @@ com.google.protobuf protobuf-java - 3.0.0-beta-3 + 3.0.0 com.google.api gax - 0.0.16 + 0.0.18 com.google.api.grpc grpc-google-common-protos - 0.0.9 + 0.1.0 com.google.api.grpc grpc-google-iam-v1 - 0.0.9 + 0.1.0 From 67dec8c99ef2514e3d4df3735caace31d53bb022 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 29 Sep 2016 13:16:37 +0200 Subject: [PATCH 0229/3036] Release 0.4.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b1781b323813..f6161fee3c43 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.3.1-SNAPSHOT + 0.4.0 google-cloud-core From 371c9a19a673e6e5fcc22c7a7b847ae59d8983fc Mon Sep 17 00:00:00 2001 From: travis-ci Date: Thu, 29 Sep 2016 13:15:40 +0000 Subject: [PATCH 0230/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 8e66bea2a382..aabe170ffe50 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.3.0 + 0.4.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.3.0' +compile 'com.google.cloud:google-cloud-core:0.4.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.4.0" ``` Troubleshooting From a751beb24d44053c1879282136fc3dadb914439c Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 29 Sep 2016 19:30:26 +0200 Subject: [PATCH 0231/3036] Update version to 0.4.1-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f6161fee3c43..e3fb52ed2ef8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.4.0 + 0.4.1-SNAPSHOT google-cloud-core From 3d431a68fcc9c22d64cb1c6bd31b1b071fa11578 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 21 Oct 2016 12:51:16 +0200 Subject: [PATCH 0232/3036] Rename setters/getters/builders for Logging classes to meet proto conventions (#1313) * Rename setters/getters/builders for Logging classes to meet proto conventions * Update Logging examples, snippets and READMEs to use renamed getters/setters/builders * Make deprecated methods call renamed ones --- .../com/google/cloud/MonitoredResource.java | 52 ++++++++++- .../cloud/MonitoredResourceDescriptor.java | 93 +++++++++++++++++-- .../MonitoredResourceDescriptorTest.java | 63 +++++++++---- .../google/cloud/MonitoredResourceTest.java | 53 ++++++++--- .../com/google/cloud/SerializationTest.java | 8 +- 5 files changed, 223 insertions(+), 46 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java index 584bc80ced02..66cd15ce1eec 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java @@ -66,7 +66,17 @@ public static class Builder { * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. */ + @Deprecated public Builder type(String type) { + return setType(type); + } + + /** + * Sets the monitored resource type. This value must match the one of + * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. + * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + */ + public Builder setType(String type) { this.type = type; return this; } @@ -76,7 +86,17 @@ public Builder type(String type) { * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute * Engine VM instances use the labels {@code instance_id} and {@code zone}. */ + @Deprecated public Builder labels(Map labels) { + return setLabels(labels); + } + + /** + * Sets the values for all the labels required by the corresponding monitored resource + * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute + * Engine VM instances use the labels {@code instance_id} and {@code zone}. + */ + public Builder setLabels(Map labels) { this.labels = new HashMap<>(checkNotNull(labels)); return this; } @@ -112,7 +132,17 @@ public MonitoredResource build() { * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. */ + @Deprecated public String type() { + return getType(); + } + + /** + * Returns the monitored resource type. This value must match the one of + * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. + * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + */ + public String getType() { return type; } @@ -121,7 +151,17 @@ public String type() { * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute * Engine VM instances use the labels {@code instance_id} and {@code zone}. */ + @Deprecated public Map labels() { + return getLabels(); + } + + /** + * Returns the values for all the labels required by the corresponding monitored resource + * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute + * Engine VM instances use the labels {@code instance_id} and {@code zone}. + */ + public Map getLabels() { return labels; } @@ -167,7 +207,15 @@ public Builder toBuilder() { /** * Returns a builder for {@code MonitoredResource} objects given the resource's type. */ + @Deprecated public static Builder builder(String type) { + return newBuilder(type); + } + + /** + * Returns a builder for {@code MonitoredResource} objects given the resource's type. + */ + public static Builder newBuilder(String type) { return new Builder(type); } @@ -175,10 +223,10 @@ public static Builder builder(String type) { * Creates a {@code MonitoredResource} object given the resource's type and labels. */ public static MonitoredResource of(String type, Map labels) { - return builder(type).labels(labels).build(); + return newBuilder(type).setLabels(labels).build(); } public static MonitoredResource fromPb(com.google.api.MonitoredResource descriptorPb) { - return new Builder(descriptorPb.getType()).labels(descriptorPb.getLabels()).build(); + return new Builder(descriptorPb.getType()).setLabels(descriptorPb.getLabelsMap()).build(); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java index cb121094ef31..ebee6544df4a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -120,14 +120,30 @@ static ValueType fromPb(com.google.api.LabelDescriptor.ValueType typePb) { /** * Returns the key associated to this label. */ + @Deprecated public String key() { + return getKey(); + } + + /** + * Returns the key associated to this label. + */ + public String getKey() { return key; } /** * Returns the type of data that can be assigned to this label. */ + @Deprecated public ValueType valueType() { + return getValueType(); + } + + /** + * Returns the type of data that can be assigned to this label. + */ + public ValueType getValueType() { return valueType; } @@ -135,7 +151,16 @@ public ValueType valueType() { * Returns the optional human-readable description for this label. If not set, this method * returns {@code null}. */ + @Deprecated public String description() { + return getDescription(); + } + + /** + * Returns the optional human-readable description for this label. If not set, this method + * returns {@code null}. + */ + public String getDescription() { return description; } @@ -199,22 +224,22 @@ static class Builder { this.type = type; } - Builder name(String name) { + Builder setName(String name) { this.name = name; return this; } - Builder displayName(String displayName) { + Builder setDisplayName(String displayName) { this.displayName = displayName; return this; } - Builder description(String description) { + Builder setDescription(String description) { this.description = description; return this; } - Builder labels(List labels) { + Builder setLabels(List labels) { this.labels = labels; return this; } @@ -236,7 +261,16 @@ MonitoredResourceDescriptor build() { * Returns the monitored resource type. For example, the type {@code cloudsql_database} represents * databases in Google Cloud SQL. */ + @Deprecated public String type() { + return getType(); + } + + /** + * Returns the monitored resource type. For example, the type {@code cloudsql_database} represents + * databases in Google Cloud SQL. + */ + public String getType() { return type; } @@ -244,7 +278,16 @@ public String type() { * Returns an optional name for the monitored resource descriptor. If not set, this method returns * {@code null}. */ + @Deprecated public String name() { + return getName(); + } + + /** + * Returns an optional name for the monitored resource descriptor. If not set, this method returns + * {@code null}. + */ + public String getName() { return name; } @@ -253,7 +296,17 @@ public String name() { * in user interfaces. For example, {@code Google Cloud SQL Database}. If not set, this method * returns {@code null}. */ + @Deprecated public String displayName() { + return getDisplayName(); + } + + /** + * Returns an optional concise name for the monitored resource type. This value might be displayed + * in user interfaces. For example, {@code Google Cloud SQL Database}. If not set, this method + * returns {@code null}. + */ + public String getDisplayName() { return displayName; } @@ -261,7 +314,16 @@ public String displayName() { * Returns an optional detailed description of the monitored resource type. This value might be * used in documentation. If not set, this method returns {@code null}. */ + @Deprecated public String description() { + return getDescription(); + } + + /** + * Returns an optional detailed description of the monitored resource type. This value might be + * used in documentation. If not set, this method returns {@code null}. + */ + public String getDescription() { return description; } @@ -270,7 +332,17 @@ public String description() { * example, an individual Google Cloud SQL database is identified by values for the labels * {@code database_id} and {@code region}. */ + @Deprecated public List labels() { + return getLabels(); + } + + /** + * Returns a list of labels used to describe instances of this monitored resource type. For + * example, an individual Google Cloud SQL database is identified by values for the labels + * {@code database_id} and {@code region}. + */ + public List getLabels() { return labels; } @@ -323,23 +395,24 @@ public com.google.api.MonitoredResourceDescriptor toPb() { return builder.build(); } - static Builder builder(String type) { + static Builder newBuilder(String type) { return new Builder(type); } public static MonitoredResourceDescriptor fromPb( com.google.api.MonitoredResourceDescriptor descriptorPb) { - Builder builder = builder(descriptorPb.getType()); + Builder builder = newBuilder(descriptorPb.getType()); if (descriptorPb.getName() != null && !descriptorPb.getName().equals("")) { - builder.name(descriptorPb.getName()); + builder.setName(descriptorPb.getName()); } if (descriptorPb.getDisplayName() != null && !descriptorPb.getDisplayName().equals("")) { - builder.displayName(descriptorPb.getDisplayName()); + builder.setDisplayName(descriptorPb.getDisplayName()); } if (descriptorPb.getDescription() != null && !descriptorPb.getDescription().equals("")) { - builder.description(descriptorPb.getDescription()); + builder.setDescription(descriptorPb.getDescription()); } - builder.labels(Lists.transform(descriptorPb.getLabelsList(), LabelDescriptor.FROM_PB_FUNCTION)); + builder.setLabels(Lists.transform(descriptorPb.getLabelsList(), + LabelDescriptor.FROM_PB_FUNCTION)); return builder.build(); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java index cab0438e05d8..24a8be62e760 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java @@ -44,15 +44,31 @@ public class MonitoredResourceDescriptorTest { private static final List LABELS = ImmutableList.of(BOOLEAN_LABEL, STRING_LABEL, INT_LABEL); private static final MonitoredResourceDescriptor RESOURCE_DESCRIPTOR = - MonitoredResourceDescriptor.builder(TYPE) - .name(NAME) - .displayName(DISPLAY_NAME) - .description(DESCRIPTION) - .labels(LABELS) + MonitoredResourceDescriptor.newBuilder(TYPE) + .setName(NAME) + .setDisplayName(DISPLAY_NAME) + .setDescription(DESCRIPTION) + .setLabels(LABELS) .build(); @Test public void testLabelDescriptor() { + assertEquals("booleanKey", BOOLEAN_LABEL.getKey()); + assertEquals(ValueType.BOOL, BOOLEAN_LABEL.getValueType()); + assertEquals("Boolean label", BOOLEAN_LABEL.getDescription()); + assertEquals("stringKey", STRING_LABEL.getKey()); + assertEquals(ValueType.STRING, STRING_LABEL.getValueType()); + assertEquals("String label", STRING_LABEL.getDescription()); + assertEquals("intKey", INT_LABEL.getKey()); + assertEquals(ValueType.INT64, INT_LABEL.getValueType()); + assertEquals("Int label", INT_LABEL.getDescription()); + assertEquals("intKey", INT_LABEL_NO_DESCRIPTION.getKey()); + assertEquals(ValueType.INT64, INT_LABEL_NO_DESCRIPTION.getValueType()); + assertNull(INT_LABEL_NO_DESCRIPTION.getDescription()); + } + + @Test + public void testLabelDescriptorDeprecated() { assertEquals("booleanKey", BOOLEAN_LABEL.key()); assertEquals(ValueType.BOOL, BOOLEAN_LABEL.valueType()); assertEquals("Boolean label", BOOLEAN_LABEL.description()); @@ -69,13 +85,29 @@ public void testLabelDescriptor() { @Test public void testBuilder() { + assertEquals(TYPE, RESOURCE_DESCRIPTOR.getType()); + assertEquals(NAME, RESOURCE_DESCRIPTOR.getName()); + assertEquals(DISPLAY_NAME, RESOURCE_DESCRIPTOR.getDisplayName()); + assertEquals(DESCRIPTION, RESOURCE_DESCRIPTOR.getDescription()); + assertEquals(LABELS, RESOURCE_DESCRIPTOR.getLabels()); + MonitoredResourceDescriptor resourceDescriptor = + MonitoredResourceDescriptor.newBuilder(TYPE).build(); + assertEquals(TYPE, resourceDescriptor.getType()); + assertNull(resourceDescriptor.getName()); + assertNull(resourceDescriptor.getDisplayName()); + assertNull(resourceDescriptor.getDescription()); + assertEquals(ImmutableList.of(), resourceDescriptor.getLabels()); + } + + @Test + public void testBuilderDeprecated() { assertEquals(TYPE, RESOURCE_DESCRIPTOR.type()); assertEquals(NAME, RESOURCE_DESCRIPTOR.name()); assertEquals(DISPLAY_NAME, RESOURCE_DESCRIPTOR.displayName()); assertEquals(DESCRIPTION, RESOURCE_DESCRIPTOR.description()); assertEquals(LABELS, RESOURCE_DESCRIPTOR.labels()); MonitoredResourceDescriptor resourceDescriptor = - MonitoredResourceDescriptor.builder(TYPE).build(); + MonitoredResourceDescriptor.newBuilder(TYPE).build(); assertEquals(TYPE, resourceDescriptor.type()); assertNull(resourceDescriptor.name()); assertNull(resourceDescriptor.displayName()); @@ -83,7 +115,6 @@ public void testBuilder() { assertEquals(ImmutableList.of(), resourceDescriptor.labels()); } - @Test public void testToAndFromPbLabelDescriptor() { compareLabelDescriptor(BOOLEAN_LABEL, LabelDescriptor.fromPb(BOOLEAN_LABEL.toPb())); @@ -98,16 +129,16 @@ public void testToAndFromPb() { compareResourceDescriptor(RESOURCE_DESCRIPTOR, MonitoredResourceDescriptor.fromPb(RESOURCE_DESCRIPTOR.toPb())); MonitoredResourceDescriptor resourceDescriptor = - MonitoredResourceDescriptor.builder(TYPE).build(); + MonitoredResourceDescriptor.newBuilder(TYPE).build(); compareResourceDescriptor(resourceDescriptor, MonitoredResourceDescriptor.fromPb(resourceDescriptor.toPb())); } private void compareLabelDescriptor(LabelDescriptor expected, LabelDescriptor value) { assertEquals(expected, value); - assertEquals(expected.key(), value.key()); - assertEquals(expected.valueType(), value.valueType()); - assertEquals(expected.description(), value.description()); + assertEquals(expected.getKey(), value.getKey()); + assertEquals(expected.getValueType(), value.getValueType()); + assertEquals(expected.getDescription(), value.getDescription()); assertEquals(expected.hashCode(), value.hashCode()); assertEquals(expected.toString(), value.toString()); } @@ -115,11 +146,11 @@ private void compareLabelDescriptor(LabelDescriptor expected, LabelDescriptor va private void compareResourceDescriptor(MonitoredResourceDescriptor expected, MonitoredResourceDescriptor value) { assertEquals(expected, value); - assertEquals(expected.type(), value.type()); - assertEquals(expected.name(), value.name()); - assertEquals(expected.displayName(), value.displayName()); - assertEquals(expected.description(), value.description()); - assertEquals(expected.labels(), value.labels()); + assertEquals(expected.getType(), value.getType()); + assertEquals(expected.getName(), value.getName()); + assertEquals(expected.getDisplayName(), value.getDisplayName()); + assertEquals(expected.getDescription(), value.getDescription()); + assertEquals(expected.getLabels(), value.getLabels()); assertEquals(expected.hashCode(), value.hashCode()); assertEquals(expected.toString(), value.toString()); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java index b42dc0c0f61b..845ff035c679 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java @@ -29,21 +29,46 @@ public class MonitoredResourceTest { private static final String TYPE = "cloudsql_database"; private static final Map LABELS = ImmutableMap.of("dataset-id", "myDataset", "zone", "myZone"); - private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.builder(TYPE) - .labels(LABELS) + private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.newBuilder(TYPE) + .setLabels(LABELS) .build(); + private static final MonitoredResource DEPRECATED_MONITORED_RESOURCE = + MonitoredResource.builder(TYPE) + .labels(LABELS) + .build(); @Test public void testBuilder() { - assertEquals(TYPE, MONITORED_RESOURCE.type()); - assertEquals(LABELS, MONITORED_RESOURCE.labels()); + assertEquals(TYPE, MONITORED_RESOURCE.getType()); + assertEquals(LABELS, MONITORED_RESOURCE.getLabels()); + MonitoredResource monitoredResource = MonitoredResource.newBuilder(TYPE) + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .build(); + assertEquals(TYPE, monitoredResource.getType()); + assertEquals(LABELS, monitoredResource.getLabels()); + compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + monitoredResource = MonitoredResource.newBuilder(TYPE) + .setType("global") + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .clearLabels() + .build(); + assertEquals("global", monitoredResource.getType()); + assertEquals(ImmutableMap.of(), monitoredResource.getLabels()); + } + + @Test + public void testBuilderDeprecated() { + assertEquals(TYPE, DEPRECATED_MONITORED_RESOURCE.type()); + assertEquals(LABELS, DEPRECATED_MONITORED_RESOURCE.labels()); MonitoredResource monitoredResource = MonitoredResource.builder(TYPE) .addLabel("dataset-id", "myDataset") .addLabel("zone", "myZone") .build(); assertEquals(TYPE, monitoredResource.type()); assertEquals(LABELS, monitoredResource.labels()); - compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); + compareMonitoredResource(DEPRECATED_MONITORED_RESOURCE, monitoredResource); monitoredResource = MonitoredResource.builder(TYPE) .type("global") .addLabel("dataset-id", "myDataset") @@ -58,14 +83,14 @@ public void testBuilder() { public void testToBuilder() { compareMonitoredResource(MONITORED_RESOURCE, MONITORED_RESOURCE.toBuilder().build()); MonitoredResource monitoredResource = MONITORED_RESOURCE.toBuilder() - .type("global") + .setType("global") .clearLabels() .build(); - assertEquals("global", monitoredResource.type()); - assertEquals(ImmutableMap.of(), monitoredResource.labels()); + assertEquals("global", monitoredResource.getType()); + assertEquals(ImmutableMap.of(), monitoredResource.getLabels()); monitoredResource = monitoredResource.toBuilder() - .type(TYPE) - .labels(ImmutableMap.of("dataset-id", "myDataset")) + .setType(TYPE) + .setLabels(ImmutableMap.of("dataset-id", "myDataset")) .addLabel("zone", "myZone") .build(); compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); @@ -74,8 +99,8 @@ public void testToBuilder() { @Test public void testOf() { MonitoredResource monitoredResource = MonitoredResource.of(TYPE, LABELS); - assertEquals(TYPE, monitoredResource.type()); - assertEquals(LABELS, monitoredResource.labels()); + assertEquals(TYPE, monitoredResource.getType()); + assertEquals(LABELS, monitoredResource.getLabels()); compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); } @@ -90,8 +115,8 @@ public void testToAndFromPb() { private void compareMonitoredResource(MonitoredResource expected, MonitoredResource value) { assertEquals(expected, value); - assertEquals(expected.type(), value.type()); - assertEquals(expected.labels(), value.labels()); + assertEquals(expected.getType(), value.getType()); + assertEquals(expected.getLabels(), value.getLabels()); assertEquals(expected.hashCode(), value.hashCode()); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 13baed858bdb..ba3194c20371 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -46,11 +46,11 @@ public class SerializationTest extends BaseSerializationTest { private static final LabelDescriptor LABEL_DESCRIPTOR = new LabelDescriptor("project_id", ValueType.STRING, "The project id"); private static final MonitoredResourceDescriptor MONITORED_RESOURCE_DESCRIPTOR = - MonitoredResourceDescriptor.builder("global") - .labels(ImmutableList.of(LABEL_DESCRIPTOR)) + MonitoredResourceDescriptor.newBuilder("global") + .setLabels(ImmutableList.of(LABEL_DESCRIPTOR)) .build(); - private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.builder("global") - .labels(ImmutableMap.of("project_id", "project")) + private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.newBuilder("global") + .setLabels(ImmutableMap.of("project_id", "project")) .build(); private static final String JSON_KEY = "{\n" + " \"private_key_id\": \"somekeyid\",\n" From ef481e27acbd848620bf92afb75701692975cb40 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Fri, 28 Oct 2016 06:48:24 -0700 Subject: [PATCH 0233/3036] Update spi classes with GAX 0.0.21 (#1326) --- java-core/google-cloud-core/pom.xml | 2 +- .../src/main/java/com/google/cloud/GrpcServiceOptions.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e3fb52ed2ef8..1ea4eb6cceb8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -106,7 +106,7 @@ com.google.api gax - 0.0.18 + 0.0.21 com.google.api.grpc diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index 330a3dff2b15..a4991ae312d1 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -20,7 +20,7 @@ import com.google.api.gax.core.ConnectionSettings; import com.google.api.gax.core.RetrySettings; -import com.google.api.gax.grpc.ApiCallSettings; +import com.google.api.gax.grpc.UnaryCallSettings; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.annotations.VisibleForTesting; @@ -226,7 +226,7 @@ protected ExecutorFactory executorFactory() { /** * Returns a builder for API call settings. */ - protected ApiCallSettings.Builder apiCallSettings() { + protected UnaryCallSettings.Builder apiCallSettings() { // todo(mziccard): specify timeout these settings: // retryParams().retryMaxAttempts(), retryParams().retryMinAttempts() final RetrySettings.Builder builder = RetrySettings.newBuilder() @@ -237,7 +237,7 @@ protected ApiCallSettings.Builder apiCallSettings() { .setInitialRetryDelay(Duration.millis(retryParams().initialRetryDelayMillis())) .setRetryDelayMultiplier(retryParams().retryDelayBackoffFactor()) .setMaxRetryDelay(Duration.millis(retryParams().maxRetryDelayMillis())); - return ApiCallSettings.newBuilder().setRetrySettingsBuilder(builder); + return UnaryCallSettings.newBuilder().setRetrySettingsBuilder(builder); } /** From 12cbaff5c7c06f7908658eb2bf7e8d7683e6ec15 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 28 Oct 2016 22:15:39 +0200 Subject: [PATCH 0234/3036] Rename setters/getters/builders for core classes to meet proto conventions (#1341) * Rename setters/getters/builders for core classes to meet proto conventions * Update examples, snippets and READMEs to use renamed core getters/setters/builders --- .../main/java/com/google/cloud/AsyncPage.java | 11 +- .../java/com/google/cloud/AsyncPageImpl.java | 20 +- .../com/google/cloud/AuthCredentials.java | 64 +++++- .../java/com/google/cloud/BaseService.java | 12 +- .../google/cloud/BaseServiceException.java | 86 +++++++- .../com/google/cloud/BaseWriteChannel.java | 92 +++++++- .../main/java/com/google/cloud/ByteArray.java | 7 +- .../com/google/cloud/ExceptionHandler.java | 36 +++- .../java/com/google/cloud/FieldSelector.java | 9 +- .../com/google/cloud/GrpcServiceOptions.java | 125 +++++++++-- .../com/google/cloud/HttpServiceOptions.java | 74 ++++++- .../main/java/com/google/cloud/Identity.java | 22 +- .../src/main/java/com/google/cloud/Page.java | 21 +- .../main/java/com/google/cloud/PageImpl.java | 29 ++- .../main/java/com/google/cloud/Policy.java | 101 +++++++-- .../java/com/google/cloud/ReadChannel.java | 7 + .../java/com/google/cloud/RetryHelper.java | 16 +- .../java/com/google/cloud/RetryParams.java | 150 ++++++++++++- .../src/main/java/com/google/cloud/Role.java | 11 +- .../main/java/com/google/cloud/Service.java | 3 + .../google/cloud/ServiceAccountSigner.java | 6 + .../java/com/google/cloud/ServiceOptions.java | 201 ++++++++++++++++-- .../java/com/google/cloud/WaitForOption.java | 28 ++- .../java/com/google/cloud/WriteChannel.java | 7 + .../com/google/cloud/AsyncPageImplTest.java | 102 +++++---- .../com/google/cloud/AuthCredentialsTest.java | 40 ++++ .../cloud/BaseServiceExceptionTest.java | 96 ++++++++- .../google/cloud/BaseWriteChannelTest.java | 38 ++-- .../google/cloud/ExceptionHandlerTest.java | 14 +- .../google/cloud/FieldSelectorHelperTest.java | 15 ++ .../google/cloud/GrpcServiceOptionsTest.java | 86 +++++--- .../google/cloud/HttpServiceOptionsTest.java | 52 +++-- .../java/com/google/cloud/IdentityTest.java | 40 +++- .../java/com/google/cloud/PageImplTest.java | 46 ++-- .../java/com/google/cloud/PolicyTest.java | 105 ++++++--- .../com/google/cloud/RetryHelperTest.java | 123 +++++++++-- .../com/google/cloud/RetryParamsTest.java | 56 ++++- .../test/java/com/google/cloud/RoleTest.java | 18 +- .../com/google/cloud/SerializationTest.java | 6 +- .../com/google/cloud/ServiceOptionsTest.java | 58 +++-- .../com/google/cloud/WaitForOptionTest.java | 19 +- 41 files changed, 1731 insertions(+), 321 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java index 8d7ff026e70d..ab836e6e4b89 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java @@ -34,10 +34,10 @@ *

       {@code
        * AsyncPage page = ...; // get a AsyncPage instance
        * while (page != null) {
      - *   for (T value : page.values()) {
      + *   for (T value : page.getValues()) {
        *     // do something with value
        *   }
      - *   page = page.nextPageAsync().get();
      + *   page = page.getNextPageAsync().get();
        * }}
      * * @param the value type that the page holds @@ -48,5 +48,12 @@ public interface AsyncPage extends Page { * Returns a {@link Future} object for the next page. {@link Future#get()} returns {@code null} if * the last page has been reached. */ + @Deprecated Future> nextPageAsync(); + + /** + * Returns a {@link Future} object for the next page. {@link Future#get()} returns {@code null} if + * the last page has been reached. + */ + Future> getNextPageAsync(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index 706316e362cd..c5734408d4bf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -41,7 +41,10 @@ public class AsyncPageImpl extends PageImpl implements AsyncPage { * @param the value type that the page holds */ public interface NextPageFetcher extends Serializable { + @Deprecated Future> nextPage(); + + Future> getNextPage(); } private static class SyncNextPageFetcher implements PageImpl.NextPageFetcher { @@ -56,9 +59,14 @@ private SyncNextPageFetcher(NextPageFetcher asyncPageFetcher) { @Override public Page nextPage() { + return getNextPage(); + } + + @Override + public Page getNextPage() { try { return asyncPageFetcher != null - ? Uninterruptibles.getUninterruptibly(asyncPageFetcher.nextPage()) : null; + ? Uninterruptibles.getUninterruptibly(asyncPageFetcher.getNextPage()) : null; } catch (ExecutionException ex) { throw Throwables.propagate(ex.getCause()); } @@ -74,10 +82,16 @@ public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterabl } @Override + @Deprecated public Future> nextPageAsync() { - if (nextPageCursor() == null || asyncPageFetcher == null) { + return getNextPageAsync(); + } + + @Override + public Future> getNextPageAsync() { + if (getNextPageCursor() == null || asyncPageFetcher == null) { return Futures.immediateCheckedFuture(null); } - return asyncPageFetcher.nextPage(); + return asyncPageFetcher.getNextPage(); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java index 792831bb9edc..257e801c6f3b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java @@ -130,6 +130,11 @@ public GoogleCredentials createScoped(Collection scopes) { @Override public String account() { + return getAccount(); + } + + @Override + public String getAccount() { return account; } @@ -166,7 +171,13 @@ public boolean equals(Object obj) { } @Override + @Deprecated public AppEngineCredentials credentials() { + return getCredentials(); + } + + @Override + public AppEngineCredentials getCredentials() { if (credentials == null) { credentials = new AppEngineCredentials(); } @@ -179,13 +190,19 @@ public RestorableState capture() { } @Override + @Deprecated public String account() { - return credentials().account(); + return getAccount(); + } + + @Override + public String getAccount() { + return getCredentials().getAccount(); } @Override public byte[] sign(byte[] toSign) { - return credentials().sign(toSign); + return getCredentials().sign(toSign); } } @@ -247,19 +264,39 @@ public boolean equals(Object obj) { } @Override + @Deprecated public ServiceAccountCredentials credentials() { + return getCredentials(); + } + + @Override + public ServiceAccountCredentials getCredentials() { return credentials; } @Override + @Deprecated public String account() { return account; } + @Override + public String getAccount() { + return account; + } + /** * Returns the private key associated with the service account credentials. */ + @Deprecated public PrivateKey privateKey() { + return getPrivateKey(); + } + + /** + * Returns the private key associated with the service account credentials. + */ + public PrivateKey getPrivateKey() { return privateKey; } @@ -267,7 +304,7 @@ public PrivateKey privateKey() { public byte[] sign(byte[] toSign) { try { Signature signer = Signature.getInstance("SHA256withRSA"); - signer.initSign(privateKey()); + signer.initSign(getPrivateKey()); signer.update(toSign); return signer.sign(); } catch (NoSuchAlgorithmException | InvalidKeyException | SignatureException ex) { @@ -331,7 +368,13 @@ public boolean equals(Object obj) { } @Override + @Deprecated public GoogleCredentials credentials() { + return getCredentials(); + } + + @Override + public GoogleCredentials getCredentials() { return googleCredentials; } @@ -392,7 +435,13 @@ public boolean equals(Object obj) { } @Override + @Deprecated public GoogleCredentials credentials() { + return getCredentials(); + } + + @Override + public GoogleCredentials getCredentials() { return credentials; } @@ -436,7 +485,13 @@ public boolean equals(Object obj) { private NoAuthCredentials() {} @Override + @Deprecated public GoogleCredentials credentials() { + return getCredentials(); + } + + @Override + public GoogleCredentials getCredentials() { return null; } @@ -446,8 +501,11 @@ public RestorableState capture() { } } + @Deprecated public abstract GoogleCredentials credentials(); + public abstract GoogleCredentials getCredentials(); + public static AuthCredentials createForAppEngine() { return AppEngineAuthCredentials.INSTANCE; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index d0476b66c29c..f221ade32482 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -38,15 +38,15 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { @Override public RetryResult beforeEval(Exception exception) { if (exception instanceof BaseServiceException) { - boolean retriable = ((BaseServiceException) exception).retryable(); + boolean retriable = ((BaseServiceException) exception).isRetryable(); return retriable ? Interceptor.RetryResult.RETRY : Interceptor.RetryResult.NO_RETRY; } return Interceptor.RetryResult.CONTINUE_EVALUATION; } }; - public static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.builder() + public static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.newBuilder() .abortOn(RuntimeException.class) - .interceptor(EXCEPTION_HANDLER_INTERCEPTOR) + .addInterceptors(EXCEPTION_HANDLER_INTERCEPTOR) .build(); private final OptionsT options; @@ -56,7 +56,13 @@ protected BaseService(OptionsT options) { } @Override + @Deprecated public OptionsT options() { return options; } + + @Override + public OptionsT getOptions() { + return options; + } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index c22fcfd44a3a..d892d85b6b2b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -65,7 +65,15 @@ public Error(Integer code, String reason, boolean rejected) { /** * Returns the code associated with this exception. */ + @Deprecated public Integer code() { + return getCode(); + } + + /** + * Returns the code associated with this exception. + */ + public Integer getCode() { return code; } @@ -74,22 +82,41 @@ public Integer code() { * server. For instance, if the server returns a rate limit exceeded error, it certainly did not * process the request and this method will return {@code true}. */ + @Deprecated public boolean rejected() { + return isRejected(); + } + + /** + * Returns true if the error indicates that the API call was certainly not accepted by the + * server. For instance, if the server returns a rate limit exceeded error, it certainly did not + * process the request and this method will return {@code true}. + */ + public boolean isRejected() { return rejected; } /** * Returns the reason that caused the exception. */ + @Deprecated public String reason() { + return getReason(); + } + + /** + * Returns the reason that caused the exception. + */ + public String getReason() { return reason; } boolean isRetryable(boolean idempotent, Set retryableErrors) { for (Error retryableError : retryableErrors) { - if ((retryableError.code() == null || retryableError.code().equals(this.code())) - && (retryableError.reason() == null || retryableError.reason().equals(this.reason()))) { - return idempotent || retryableError.rejected(); + if ((retryableError.getCode() == null || retryableError.getCode().equals(this.getCode())) + && (retryableError.getReason() == null + || retryableError.getReason().equals(this.getReason()))) { + return idempotent || retryableError.isRejected(); } } return false; @@ -179,12 +206,17 @@ public BaseServiceException(ApiException apiException, boolean idempotent) { this.debugInfo = null; } + @Deprecated protected Set retryableErrors() { + return getRetryableErrors(); + } + + protected Set getRetryableErrors() { return Collections.emptySet(); } protected boolean isRetryable(boolean idempotent, Error error) { - return error.isRetryable(idempotent, retryableErrors()); + return error.isRetryable(idempotent, getRetryableErrors()); } protected boolean isRetryable(boolean idempotent, IOException exception) { @@ -197,28 +229,60 @@ protected boolean isRetryable(boolean idempotent, IOException exception) { /** * Returns the code associated with this exception. */ + @Deprecated public int code() { + return getCode(); + } + + /** + * Returns the code associated with this exception. + */ + public int getCode() { return code; } /** * Returns the reason that caused the exception. */ + @Deprecated public String reason() { + return getReason(); + } + + /** + * Returns the reason that caused the exception. + */ + public String getReason() { return reason; } /** * Returns {@code true} when it is safe to retry the operation that caused this exception. */ + @Deprecated public boolean retryable() { + return isRetryable(); + } + + /** + * Returns {@code true} when it is safe to retry the operation that caused this exception. + */ + public boolean isRetryable() { return retryable; } /** * Returns {@code true} when the operation that caused this exception had no side effects. */ + @Deprecated public boolean idempotent() { + return isIdempotent(); + } + + /** + * Returns {@code true} when the operation that caused this exception had no side effects. + */ + public boolean isIdempotent() { return idempotent; } @@ -226,11 +290,25 @@ public boolean idempotent() { * Returns the service location where the error causing the exception occurred. Returns {@code * null} if not available. */ + @Deprecated public String location() { + return getLocation(); + } + + /** + * Returns the service location where the error causing the exception occurred. Returns {@code + * null} if not available. + */ + public String getLocation() { return location; } + @Deprecated protected String debugInfo() { + return getDebugInfo(); + } + + protected String getDebugInfo() { return debugInfo; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index 038ef8c362de..aaef34149f69 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -16,7 +16,6 @@ package com.google.cloud; -import com.google.cloud.BaseWriteChannel.BaseState; import com.google.common.base.MoreObjects; import java.io.IOException; @@ -46,56 +45,107 @@ public abstract class BaseWriteChannel< private byte[] buffer = new byte[0]; private int limit; private boolean isOpen = true; - private int chunkSize = defaultChunkSize(); + private int chunkSize = getDefaultChunkSize(); + @Deprecated protected int minChunkSize() { + return getMinChunkSize(); + } + + protected int getMinChunkSize() { return MIN_CHUNK_SIZE; } + @Deprecated protected int defaultChunkSize() { + return getDefaultChunkSize(); + } + + protected int getDefaultChunkSize() { return DEFAULT_CHUNK_SIZE; } /** - * Writes {@code length} bytes of {@link #buffer()} to the {@link #uploadId()} URL. + * Writes {@code length} bytes of {@link #getBuffer()} to the {@link #getUploadId()} URL. * - * @param length the number of bytes to write from {@link #buffer()} + * @param length the number of bytes to write from {@link #getBuffer()} * @param last if {@code true} the resumable session is closed */ protected abstract void flushBuffer(int length, boolean last); + @Deprecated protected ServiceOptionsT options() { return options; } + protected ServiceOptionsT getOptions() { + return options; + } + + @Deprecated protected EntityT entity() { + return getEntity(); + } + + protected EntityT getEntity() { return entity; } + @Deprecated protected String uploadId() { + return getUploadId(); + } + + protected String getUploadId() { return uploadId; } + @Deprecated protected int position() { + return getPosition(); + } + + protected int getPosition() { return position; } + @Deprecated protected byte[] buffer() { + return getBuffer(); + } + + protected byte[] getBuffer() { return buffer; } + @Deprecated protected int limit() { + return getLimit(); + } + + protected int getLimit() { return limit; } + @Deprecated protected int chunkSize() { + return getChunkSize(); + } + + protected int getChunkSize() { return chunkSize; } @Override + @Deprecated public final void chunkSize(int chunkSize) { - chunkSize = (chunkSize / minChunkSize()) * minChunkSize(); - this.chunkSize = Math.max(minChunkSize(), chunkSize); + setChunkSize(chunkSize); + } + + @Override + public final void setChunkSize(int chunkSize) { + chunkSize = (chunkSize / getMinChunkSize()) * getMinChunkSize(); + this.chunkSize = Math.max(getMinChunkSize(), chunkSize); } protected BaseWriteChannel(ServiceOptionsT options, EntityT entity, String uploadId) { @@ -106,7 +156,7 @@ protected BaseWriteChannel(ServiceOptionsT options, EntityT entity, String uploa private void flush() { if (limit >= chunkSize) { - final int length = limit - limit % minChunkSize(); + final int length = limit - limit % getMinChunkSize(); flushBuffer(length, false); position += length; limit -= length; @@ -166,10 +216,10 @@ public RestorableState capture() { bufferToSave = Arrays.copyOf(buffer, limit); } return stateBuilder() - .position(position) - .buffer(bufferToSave) - .isOpen(isOpen) - .chunkSize(chunkSize) + .setPosition(position) + .setBuffer(bufferToSave) + .setIsOpen(isOpen) + .setChunkSize(chunkSize) .build(); } @@ -235,22 +285,42 @@ protected Builder(ServiceOptionsT options, EntityT entity, String uploadId) { this.uploadId = uploadId; } + @Deprecated public Builder position(int position) { + return setPosition(position); + } + + public Builder setPosition(int position) { this.position = position; return this; } + @Deprecated public Builder buffer(byte[] buffer) { + return setBuffer(buffer); + } + + public Builder setBuffer(byte[] buffer) { this.buffer = buffer; return this; } + @Deprecated public Builder isOpen(boolean isOpen) { + return setIsOpen(isOpen); + } + + public Builder setIsOpen(boolean isOpen) { this.isOpen = isOpen; return this; } + @Deprecated public Builder chunkSize(int chunkSize) { + return setChunkSize(chunkSize); + } + + public Builder setChunkSize(int chunkSize) { this.chunkSize = chunkSize; return this; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 3a23a17ba4d7..0c719fb18d98 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -41,7 +41,7 @@ protected ByteArray(ByteString byteString) { } protected ByteArray(ByteArray byteArray) { - this.byteString = byteArray.byteString(); + this.byteString = byteArray.getByteString(); } @Override @@ -108,7 +108,12 @@ public final InputStream asInputStream() { return byteString.newInput(); } + @Deprecated protected ByteString byteString() { + return getByteString(); + } + + protected ByteString getByteString() { return byteString; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index e72eb1edcf88..91534885a1ab 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -38,7 +38,7 @@ public final class ExceptionHandler implements Serializable { private static final long serialVersionUID = -2460707015779532919L; private static final ExceptionHandler DEFAULT_INSTANCE = - builder().retryOn(Exception.class).abortOn(RuntimeException.class).build(); + newBuilder().retryOn(Exception.class).abortOn(RuntimeException.class).build(); private final ImmutableList interceptors; private final ImmutableSet> retriableExceptions; @@ -93,7 +93,18 @@ private Builder() {} * @param interceptors the interceptors for this exception handler * @return the Builder for chaining */ + @Deprecated public Builder interceptor(Interceptor... interceptors) { + return addInterceptors(interceptors); + } + + /** + * Adds the exception handler interceptors. Call order will be maintained. + * + * @param interceptors the interceptors for this exception handler + * @return the Builder for chaining + */ + public Builder addInterceptors(Interceptor... interceptors) { for (Interceptor interceptor : interceptors) { this.interceptors.add(interceptor); } @@ -232,14 +243,24 @@ void verifyCaller(Callable callable) { } } + @Deprecated public Set> retriableExceptions() { + return getRetriableExceptions(); + } + + public Set> getRetriableExceptions() { return retriableExceptions; } + @Deprecated public Set> nonRetriableExceptions() { return nonRetriableExceptions; } + public Set> getNonRetriableExceptions() { + return nonRetriableExceptions; + } + boolean shouldRetry(Exception ex) { for (Interceptor interceptor : interceptors) { Interceptor.RetryResult retryResult = checkNotNull(interceptor.beforeEval(ex)); @@ -283,11 +304,24 @@ public boolean equals(Object obj) { /** * Returns an instance which retry any checked exception and abort on any runtime exception. */ + @Deprecated public static ExceptionHandler defaultInstance() { + return getDefaultInstance(); + } + + /** + * Returns an instance which retry any checked exception and abort on any runtime exception. + */ + public static ExceptionHandler getDefaultInstance() { return DEFAULT_INSTANCE; } + @Deprecated public static Builder builder() { + return newBuilder(); + } + + public static Builder newBuilder() { return new Builder(); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java index 5a46d058648d..37190a3c2e03 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -35,8 +35,15 @@ public interface FieldSelector { * Returns a string selector. This selector is passed to a Google Cloud service (possibly with * other field selectors) to specify which resource fields should be returned by an API call. */ + @Deprecated String selector(); + /** + * Returns a string selector. This selector is passed to a Google Cloud service (possibly with + * other field selectors) to specify which resource fields should be returned by an API call. + */ + String getSelector(); + /** * A helper class used to build composite selectors given a number of fields. This class is not * supposed to be used directly by users. @@ -51,7 +58,7 @@ private Helper() {} new Function() { @Override public String apply(FieldSelector fieldSelector) { - return fieldSelector.selector(); + return fieldSelector.getSelector(); } }; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index a4991ae312d1..e0017e09191c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -158,19 +158,42 @@ protected Builder(GrpcServiceOptions options) { * * @return the builder */ + @Deprecated public B executorFactory(ExecutorFactory executorFactory) { + return setExecutorFactory(executorFactory); + } + + /** + * Sets the scheduled executor factory. This method can be used to provide an user-defined + * scheduled executor to execute requests. + * + * @return the builder + */ + public B setExecutorFactory(ExecutorFactory executorFactory) { this.executorFactory = executorFactory; return self(); } /** * Sets the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value - * adjusted according to {@link #timeoutMultiplier(double)}. Default value is 20000. + * adjusted according to {@link #setTimeoutMultiplier(double)}. Default value is 20000. * * @return the builder * @throws IllegalArgumentException if the provided timeout is < 0 */ + @Deprecated public B initialTimeout(int initialTimeout) { + return setInitialTimeout(initialTimeout); + } + + /** + * Sets the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value + * adjusted according to {@link #setTimeoutMultiplier(double)}. Default value is 20000. + * + * @return the builder + * @throws IllegalArgumentException if the provided timeout is < 0 + */ + public B setInitialTimeout(int initialTimeout) { Preconditions.checkArgument(initialTimeout > 0, "Initial timeout must be > 0"); this.initialTimeout = initialTimeout; return self(); @@ -183,7 +206,19 @@ public B initialTimeout(int initialTimeout) { * @return the builder * @throws IllegalArgumentException if the provided timeout multiplier is < 0 */ + @Deprecated public B timeoutMultiplier(double timeoutMultiplier) { + return setTimeoutMultiplier(timeoutMultiplier); + } + + /** + * Sets the timeout multiplier. This value is used to compute the timeout for a retried RPC. + * Timeout is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. + * + * @return the builder + * @throws IllegalArgumentException if the provided timeout multiplier is < 0 + */ + public B setTimeoutMultiplier(double timeoutMultiplier) { Preconditions.checkArgument(timeoutMultiplier >= 1.0, "Timeout multiplier must be >= 1"); this.timeoutMultiplier = timeoutMultiplier; return self(); @@ -191,12 +226,24 @@ public B timeoutMultiplier(double timeoutMultiplier) { /** * Sets the maximum timeout for a RPC call, in milliseconds. Default value is 100000. If - * {@code maxTimeout} is lower than the initial timeout the {@link #initialTimeout(int)} value - * is used instead. + * {@code maxTimeout} is lower than the initial timeout the {@link #setInitialTimeout(int)} + * value is used instead. * * @return the builder */ + @Deprecated public B maxTimeout(int maxTimeout) { + return setMaxTimeout(maxTimeout); + } + + /** + * Sets the maximum timeout for a RPC call, in milliseconds. Default value is 100000. If + * {@code maxTimeout} is lower than the initial timeout the {@link #setInitialTimeout(int)} + * value is used instead. + * + * @return the builder + */ + public B setMaxTimeout(int maxTimeout) { this.maxTimeout = maxTimeout; return self(); } @@ -219,47 +266,80 @@ protected GrpcServiceOptions( /** * Returns a scheduled executor service provider. */ + @Deprecated protected ExecutorFactory executorFactory() { + return getExecutorFactory(); + } + + /** + * Returns a scheduled executor service provider. + */ + protected ExecutorFactory getExecutorFactory() { return executorFactory; } /** * Returns a builder for API call settings. */ + @Deprecated protected UnaryCallSettings.Builder apiCallSettings() { + return getApiCallSettings(); + } + + /** + * Returns a builder for API call settings. + */ + protected UnaryCallSettings.Builder getApiCallSettings() { // todo(mziccard): specify timeout these settings: // retryParams().retryMaxAttempts(), retryParams().retryMinAttempts() final RetrySettings.Builder builder = RetrySettings.newBuilder() - .setTotalTimeout(Duration.millis(retryParams().totalRetryPeriodMillis())) - .setInitialRpcTimeout(Duration.millis(initialTimeout())) - .setRpcTimeoutMultiplier(timeoutMultiplier()) - .setMaxRpcTimeout(Duration.millis(maxTimeout())) - .setInitialRetryDelay(Duration.millis(retryParams().initialRetryDelayMillis())) - .setRetryDelayMultiplier(retryParams().retryDelayBackoffFactor()) - .setMaxRetryDelay(Duration.millis(retryParams().maxRetryDelayMillis())); + .setTotalTimeout(Duration.millis(getRetryParams().getTotalRetryPeriodMillis())) + .setInitialRpcTimeout(Duration.millis(getInitialTimeout())) + .setRpcTimeoutMultiplier(getTimeoutMultiplier()) + .setMaxRpcTimeout(Duration.millis(getMaxTimeout())) + .setInitialRetryDelay(Duration.millis(getRetryParams().getInitialRetryDelayMillis())) + .setRetryDelayMultiplier(getRetryParams().getRetryDelayBackoffFactor()) + .setMaxRetryDelay(Duration.millis(getRetryParams().getMaxRetryDelayMillis())); return UnaryCallSettings.newBuilder().setRetrySettingsBuilder(builder); } /** * Returns a builder for connection-related settings. */ + @Deprecated protected ConnectionSettings.Builder connectionSettings() { - HostAndPort hostAndPort = HostAndPort.fromString(host()); + return getConnectionSettings(); + } + + /** + * Returns a builder for connection-related settings. + */ + protected ConnectionSettings.Builder getConnectionSettings() { + HostAndPort hostAndPort = HostAndPort.fromString(getHost()); ConnectionSettings.Builder builder = ConnectionSettings.newBuilder() .setServiceAddress(hostAndPort.getHostText()) .setPort(hostAndPort.getPort()); - GoogleCredentials credentials = authCredentials().credentials(); + GoogleCredentials credentials = getAuthCredentials().getCredentials(); if (credentials != null) { - builder.provideCredentialsWith(credentials.createScoped(scopes())); + builder.provideCredentialsWith(credentials.createScoped(getScopes())); } return builder; } /** * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value - * adjusted according to {@link #timeoutMultiplier()}. Default value is 20000. + * adjusted according to {@link #getTimeoutMultiplier()}. Default value is 20000. */ + @Deprecated public int initialTimeout() { + return getInitialTimeout(); + } + + /** + * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value + * adjusted according to {@link #getTimeoutMultiplier()}. Default value is 20000. + */ + public int getInitialTimeout() { return initialTimeout; } @@ -267,14 +347,31 @@ public int initialTimeout() { * Returns the timeout multiplier. This values is used to compute the timeout for a RPC. Timeout * is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. */ + @Deprecated public double timeoutMultiplier() { + return getTimeoutMultiplier(); + } + + /** + * Returns the timeout multiplier. This values is used to compute the timeout for a RPC. Timeout + * is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. + */ + public double getTimeoutMultiplier() { return timeoutMultiplier; } /** * Returns the maximum timeout for a RPC call, in milliseconds. Default value is 100000. */ + @Deprecated public int maxTimeout() { + return getMaxTimeout(); + } + + /** + * Returns the maximum timeout for a RPC call, in milliseconds. Default value is 100000. + */ + public int getMaxTimeout() { return maxTimeout; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java index eca411849eaf..9e49d537f375 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java @@ -116,7 +116,17 @@ protected B self() { * * @return the builder */ + @Deprecated public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { + return setHttpTransportFactory(httpTransportFactory); + } + + /** + * Sets the HTTP transport factory. + * + * @return the builder + */ + public B setHttpTransportFactory(HttpTransportFactory httpTransportFactory) { this.httpTransportFactory = httpTransportFactory; return self(); } @@ -128,7 +138,19 @@ public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { * negative number for the default value (20000). * @return the builder */ + @Deprecated public B connectTimeout(int connectTimeout) { + return setConnectTimeout(connectTimeout); + } + + /** + * Sets the timeout in milliseconds to establish a connection. + * + * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a + * negative number for the default value (20000). + * @return the builder + */ + public B setConnectTimeout(int connectTimeout) { this.connectTimeout = connectTimeout; return self(); } @@ -140,7 +162,19 @@ public B connectTimeout(int connectTimeout) { * for the default value (20000). * @return the builder */ + @Deprecated public B readTimeout(int readTimeout) { + return setReadTimeout(readTimeout); + } + + /** + * Sets the timeout in milliseconds to read data from an established connection. + * + * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number + * for the default value (20000). + * @return the builder + */ + public B setReadTimeout(int readTimeout) { this.readTimeout = readTimeout; return self(); } @@ -161,19 +195,36 @@ protected HttpServiceOptions( /** * Returns the HTTP transport factory. */ + @Deprecated public HttpTransportFactory httpTransportFactory() { - return httpTransportFactory; + return getHttpTransportFactory(); } + /** + * Returns the HTTP transport factory. + */ + public HttpTransportFactory getHttpTransportFactory() { + return httpTransportFactory; + } /** * Returns a request initializer responsible for initializing requests according to service * options. */ + @Deprecated public HttpRequestInitializer httpRequestInitializer() { + return getHttpRequestInitializer(); + } + + /** + * Returns a request initializer responsible for initializing requests according to service + * options. + */ + public HttpRequestInitializer getHttpRequestInitializer() { final HttpRequestInitializer delegate = - authCredentials() != null && authCredentials().credentials() != null - ? new HttpCredentialsAdapter(authCredentials().credentials().createScoped(scopes())) + getAuthCredentials() != null && getAuthCredentials().getCredentials() != null + ? new HttpCredentialsAdapter( + getAuthCredentials().getCredentials().createScoped(getScopes())) : null; return new HttpRequestInitializer() { @Override @@ -196,6 +247,14 @@ public void initialize(HttpRequest httpRequest) throws IOException { * negative number is the default value (20000). */ public int connectTimeout() { + return getConnectTimeout(); + } + + /** + * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a + * negative number is the default value (20000). + */ + public int getConnectTimeout() { return connectTimeout; } @@ -203,7 +262,16 @@ public int connectTimeout() { * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite * timeout, a negative number is the default value (20000). */ + @Deprecated public int readTimeout() { + return getReadTimeout(); + } + + /** + * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite + * timeout, a negative number is the default value (20000). + */ + public int getReadTimeout() { return readTimeout; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index 783e99f79652..c82005a38d44 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -86,7 +86,12 @@ private Identity(Type type, String value) { this.value = value; } + @Deprecated public Type type() { + return getType(); + } + + public Type getType() { return type; } @@ -100,7 +105,22 @@ public Type type() { * {@code ALL_AUTHENTICATED_USERS}) *
    */ + @Deprecated public String value() { + return getValue(); + } + + /** + * Returns the string identifier for this identity. The value corresponds to: + *
      + *
    • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and + * {@code GROUP}) + *
    • domain (for identities of type {@code DOMAIN}) + *
    • {@code null} (for identities of type {@code ALL_USERS} and + * {@code ALL_AUTHENTICATED_USERS}) + *
    + */ + public String getValue() { return value; } @@ -176,7 +196,7 @@ public boolean equals(Object obj) { return false; } Identity other = (Identity) obj; - return Objects.equals(value, other.value()) && Objects.equals(type, other.type()); + return Objects.equals(value, other.getValue()) && Objects.equals(type, other.getType()); } /** diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java index 8881a98b46ae..dde285e3aaa1 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java @@ -34,10 +34,10 @@ *
     {@code
      * Page page = ...; // get a Page instance
      * while (page != null) {
    - *   for (T value : page.values()) {
    + *   for (T value : page.getValues()) {
      *     // do something with value
      *   }
    - *   page = page.nextPage();
    + *   page = page.getNextPage();
      * }}
    * * @param the value type that the page holds @@ -47,8 +47,14 @@ public interface Page { /** * Returns the values contained in this page. */ + @Deprecated Iterable values(); + /** + * Returns the values contained in this page. + */ + Iterable getValues(); + /** * Returns an iterator for all values, possibly also in the next pages. Once current page's values * are traversed the iterator fetches next page, if any. @@ -58,11 +64,22 @@ public interface Page { /** * Returns the cursor for the nextPage or {@code null} if no more results. */ + @Deprecated String nextPageCursor(); + /** + * Returns the cursor for the nextPage or {@code null} if no more results. + */ + String getNextPageCursor(); + /** * Returns the next page of results or {@code null} if no more result. */ + @Deprecated Page nextPage(); + /** + * Returns the next page of results or {@code null} if no more result. + */ + Page getNextPage(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index de1a3506b750..99c675dea375 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -44,7 +44,10 @@ public class PageImpl implements Page, Serializable { * @param the value type that the page holds */ public interface NextPageFetcher extends Serializable { + @Deprecated Page nextPage(); + + Page getNextPage(); } static class PageIterator extends AbstractIterator { @@ -53,18 +56,18 @@ static class PageIterator extends AbstractIterator { private Page currentPage; PageIterator(Page currentPage) { - this.currentPageIterator = currentPage.values().iterator(); + this.currentPageIterator = currentPage.getValues().iterator(); this.currentPage = currentPage; } @Override protected T computeNext() { while (!currentPageIterator.hasNext()) { - currentPage = currentPage.nextPage(); + currentPage = currentPage.getNextPage(); if (currentPage == null) { return endOfData(); } - currentPageIterator = currentPage.values().iterator(); + currentPageIterator = currentPage.getValues().iterator(); } return currentPageIterator.next(); } @@ -81,7 +84,13 @@ public PageImpl(NextPageFetcher pageFetcher, String cursor, Iterable resul } @Override + @Deprecated public Iterable values() { + return getValues(); + } + + @Override + public Iterable getValues() { return results == null ? Collections.emptyList() : results; } @@ -91,16 +100,28 @@ public Iterator iterateAll() { } @Override + @Deprecated public String nextPageCursor() { + return getNextPageCursor(); + } + + @Override + public String getNextPageCursor() { return cursor; } @Override + @Deprecated public Page nextPage() { + return getNextPage(); + } + + @Override + public Page getNextPage() { if (cursor == null || pageFetcher == null) { return null; } - return pageFetcher.nextPage(); + return pageFetcher.getNextPage(); } @Override diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 2a8009d4038f..4307f1dffdfc 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -87,11 +87,11 @@ protected Policy fromPb(com.google.iam.v1.Policy policyPb) { ImmutableSet.copyOf( Lists.transform(bindingPb.getMembersList(), IDENTITY_VALUE_OF_FUNCTION))); } - return builder() - .bindings(bindings) - .etag(policyPb.getEtag().isEmpty() ? null + return newBuilder() + .setBindings(bindings) + .setEtag(policyPb.getEtag().isEmpty() ? null : BaseEncoding.base64().encode(policyPb.getEtag().toByteArray())) - .version(policyPb.getVersion()) + .setVersion(policyPb.getVersion()) .build(); } @@ -99,9 +99,9 @@ protected Policy fromPb(com.google.iam.v1.Policy policyPb) { protected com.google.iam.v1.Policy toPb(Policy policy) { com.google.iam.v1.Policy.Builder policyBuilder = com.google.iam.v1.Policy.newBuilder(); List bindingPbList = new LinkedList<>(); - for (Map.Entry> binding : policy.bindings().entrySet()) { + for (Map.Entry> binding : policy.getBindings().entrySet()) { com.google.iam.v1.Binding.Builder bindingBuilder = com.google.iam.v1.Binding.newBuilder(); - bindingBuilder.setRole(binding.getKey().value()); + bindingBuilder.setRole(binding.getKey().getValue()); bindingBuilder.addAllMembers( Lists.transform(new ArrayList<>(binding.getValue()), IDENTITY_STR_VALUE_FUNCTION)); bindingPbList.add(bindingBuilder.build()); @@ -127,9 +127,9 @@ public static class Builder { protected Builder() {} protected Builder(Policy policy) { - bindings(policy.bindings); - etag(policy.etag); - version(policy.version); + setBindings(policy.bindings); + setEtag(policy.etag); + setVersion(policy.version); } /** @@ -138,7 +138,18 @@ protected Builder(Policy policy) { * @throws NullPointerException if the given map is null or contains any null keys or values * @throws IllegalArgumentException if any identities in the given map are null */ + @Deprecated public final Builder bindings(Map> bindings) { + return setBindings(bindings); + } + + /** + * Replaces the builder's map of bindings with the given map of bindings. + * + * @throws NullPointerException if the given map is null or contains any null keys or values + * @throws IllegalArgumentException if any identities in the given map are null + */ + public final Builder setBindings(Map> bindings) { checkNotNull(bindings, "The provided map of bindings cannot be null."); for (Map.Entry> binding : bindings.entrySet()) { checkNotNull(binding.getKey(), "The role cannot be null."); @@ -212,7 +223,23 @@ public final Builder removeIdentity(Role role, Identity first, Identity... other * applied to the same version of the policy. If no etag is provided in the call to * setIamPolicy, then the existing policy is overwritten blindly. */ + @Deprecated protected final Builder etag(String etag) { + return setEtag(etag); + } + + /** + * Sets the policy's etag. + * + *

    Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid + * race 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. If no etag is provided in the call to + * setIamPolicy, then the existing policy is overwritten blindly. + */ + protected final Builder setEtag(String etag) { this.etag = etag; return this; } @@ -221,7 +248,16 @@ protected final Builder etag(String etag) { * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", * and "viewer" roles are permitted. If the version is 1, you may also use other roles. */ + @Deprecated protected final Builder version(int version) { + return setVersion(version); + } + + /** + * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", + * and "viewer" roles are permitted. If the version is 1, you may also use other roles. + */ + protected final Builder setVersion(int version) { this.version = version; return this; } @@ -254,7 +290,15 @@ public Builder toBuilder() { /** * Returns the map of bindings that comprises the policy. */ + @Deprecated public Map> bindings() { + return getBindings(); + } + + /** + * Returns the map of bindings that comprises the policy. + */ + public Map> getBindings() { return bindings; } @@ -269,7 +313,23 @@ public Map> bindings() { * applied to the same version of the policy. If no etag is provided in the call to * setIamPolicy, then the existing policy is overwritten blindly. */ + @Deprecated public String etag() { + return getEtag(); + } + + /** + * Returns the policy's etag. + * + *

    Etags are used for optimistic concurrency control as a way to help prevent simultaneous + * updates of a policy from overwriting each other. It is strongly suggested that systems make + * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid + * race 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. If no etag is provided in the call to + * setIamPolicy, then the existing policy is overwritten blindly. + */ + public String getEtag() { return etag; } @@ -277,7 +337,16 @@ public String etag() { * Returns the version of the policy. The default version is 0, meaning only the "owner", * "editor", and "viewer" roles are permitted. If the version is 1, you may also use other roles. */ + @Deprecated public int version() { + return getVersion(); + } + + /** + * Returns the version of the policy. The default version is 0, meaning only the "owner", + * "editor", and "viewer" roles are permitted. If the version is 1, you may also use other roles. + */ + public int getVersion() { return version; } @@ -304,15 +373,23 @@ public boolean equals(Object obj) { return false; } Policy other = (Policy) obj; - return Objects.equals(bindings, other.bindings()) - && Objects.equals(etag, other.etag()) - && Objects.equals(version, other.version()); + return Objects.equals(bindings, other.getBindings()) + && Objects.equals(etag, other.getEtag()) + && Objects.equals(version, other.getVersion()); } /** * Returns a builder for {@code Policy} objects. */ + @Deprecated public static Builder builder() { + return newBuilder(); + } + + /** + * Returns a builder for {@code Policy} objects. + */ + public static Builder newBuilder() { return new Builder(); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index 1ac45902b27d..a09752692884 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -44,8 +44,15 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< * Sets the minimum size that will be read by a single RPC. * Read data will be locally buffered until consumed. */ + @Deprecated void chunkSize(int chunkSize); + /** + * Sets the minimum size that will be read by a single RPC. + * Read data will be locally buffered until consumed. + */ + void setChunkSize(int chunkSize); + /** * Captures the read channel state so that it can be saved and restored afterwards. * diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index bd59070d4754..b23a516ccac4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -192,9 +192,9 @@ private V doRetry() throws RetryHelperException { } exception = e; } - if (attemptNumber >= params.retryMaxAttempts() - || attemptNumber >= params.retryMinAttempts() - && clock.millis() - start >= params.totalRetryPeriodMillis()) { + if (attemptNumber >= params.getRetryMaxAttempts() + || attemptNumber >= params.getRetryMinAttempts() + && clock.millis() - start >= params.getTotalRetryPeriodMillis()) { throw new RetriesExhaustedException(this + ": Too many failures, giving up", exception); } long sleepDurationMillis = getSleepDuration(params, attemptNumber); @@ -213,9 +213,9 @@ private V doRetry() throws RetryHelperException { @VisibleForTesting static long getSleepDuration(RetryParams retryParams, int attemptsSoFar) { - long initialDelay = retryParams.initialRetryDelayMillis(); - double backoffFactor = retryParams.retryDelayBackoffFactor(); - long maxDelay = retryParams.maxRetryDelayMillis(); + long initialDelay = retryParams.getInitialRetryDelayMillis(); + double backoffFactor = retryParams.getRetryDelayBackoffFactor(); + long maxDelay = retryParams.getMaxRetryDelayMillis(); long retryDelay = getExponentialValue(initialDelay, backoffFactor, maxDelay, attemptsSoFar); return (long) ((random() / 2.0 + .75) * retryDelay); } @@ -226,8 +226,8 @@ private static long getExponentialValue(long initialDelay, double backoffFactor, } public static V runWithRetries(Callable callable) throws RetryHelperException { - return runWithRetries(callable, RetryParams.defaultInstance(), - ExceptionHandler.defaultInstance()); + return runWithRetries(callable, RetryParams.getDefaultInstance(), + ExceptionHandler.getDefaultInstance()); } public static V runWithRetries(Callable callable, RetryParams params, diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java index 02ffda18134f..e835ad5d3cd7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java @@ -38,8 +38,8 @@ * {@code RetryParams}, first create a {@link RetryParams.Builder}. The builder is mutable and each * of the parameters can be set (any unset parameters will fallback to the defaults). The * {@code Builder} can be then used to create an immutable {@code RetryParams} object. For default - * {@code RetryParams} use {@link #defaultInstance}. Default settings are subject to change release - * to release. If you require specific settings, explicitly create an instance of + * {@code RetryParams} use {@link #getDefaultInstance}. Default settings are subject to change + * release to release. If you require specific settings, explicitly create an instance of * {@code RetryParams} with all the required settings. * * @see RetryHelper @@ -71,7 +71,7 @@ public final class RetryParams implements Serializable { // requirement differs from the default parameters used here. private static final RetryParams DEFAULT_INSTANCE = new RetryParams(new Builder()); private static final RetryParams NO_RETRIES = - builder().retryMaxAttempts(1).retryMinAttempts(1).build(); + newBuilder().setRetryMaxAttempts(1).setRetryMinAttempts(1).build(); /** * RetryParams builder. @@ -98,12 +98,12 @@ private Builder() { retryDelayBackoffFactor = DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; totalRetryPeriodMillis = DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; } else { - retryMinAttempts = retryParams.retryMinAttempts(); - retryMaxAttempts = retryParams.retryMaxAttempts(); - initialRetryDelayMillis = retryParams.initialRetryDelayMillis(); - maxRetryDelayMillis = retryParams.maxRetryDelayMillis(); - retryDelayBackoffFactor = retryParams.retryDelayBackoffFactor(); - totalRetryPeriodMillis = retryParams.totalRetryPeriodMillis(); + retryMinAttempts = retryParams.getRetryMinAttempts(); + retryMaxAttempts = retryParams.getRetryMaxAttempts(); + initialRetryDelayMillis = retryParams.getInitialRetryDelayMillis(); + maxRetryDelayMillis = retryParams.getMaxRetryDelayMillis(); + retryDelayBackoffFactor = retryParams.getRetryDelayBackoffFactor(); + totalRetryPeriodMillis = retryParams.getTotalRetryPeriodMillis(); } } @@ -113,7 +113,18 @@ private Builder() { * @param retryMinAttempts the retryMinAttempts to set * @return the Builder for chaining */ + @Deprecated public Builder retryMinAttempts(int retryMinAttempts) { + return setRetryMinAttempts(retryMinAttempts); + } + + /** + * Sets retryMinAttempts. + * + * @param retryMinAttempts the retryMinAttempts to set + * @return the Builder for chaining + */ + public Builder setRetryMinAttempts(int retryMinAttempts) { this.retryMinAttempts = retryMinAttempts; return this; } @@ -124,7 +135,18 @@ public Builder retryMinAttempts(int retryMinAttempts) { * @param retryMaxAttempts the retryMaxAttempts to set * @return the Builder for chaining */ + @Deprecated public Builder retryMaxAttempts(int retryMaxAttempts) { + return setRetryMaxAttempts(retryMaxAttempts); + } + + /** + * Sets retryMaxAttempts. + * + * @param retryMaxAttempts the retryMaxAttempts to set + * @return the Builder for chaining + */ + public Builder setRetryMaxAttempts(int retryMaxAttempts) { this.retryMaxAttempts = retryMaxAttempts; return this; } @@ -135,7 +157,18 @@ public Builder retryMaxAttempts(int retryMaxAttempts) { * @param initialRetryDelayMillis the initialRetryDelayMillis to set * @return the Builder for chaining */ + @Deprecated public Builder initialRetryDelayMillis(long initialRetryDelayMillis) { + return setInitialRetryDelayMillis(initialRetryDelayMillis); + } + + /** + * Sets initialRetryDelayMillis. + * + * @param initialRetryDelayMillis the initialRetryDelayMillis to set + * @return the Builder for chaining + */ + public Builder setInitialRetryDelayMillis(long initialRetryDelayMillis) { this.initialRetryDelayMillis = initialRetryDelayMillis; return this; } @@ -146,7 +179,18 @@ public Builder initialRetryDelayMillis(long initialRetryDelayMillis) { * @param maxRetryDelayMillis the maxRetryDelayMillis to set * @return the Builder for chaining */ + @Deprecated public Builder maxRetryDelayMillis(long maxRetryDelayMillis) { + return setMaxRetryDelayMillis(maxRetryDelayMillis); + } + + /** + * Sets maxRetryDelayMillis. + * + * @param maxRetryDelayMillis the maxRetryDelayMillis to set + * @return the Builder for chaining + */ + public Builder setMaxRetryDelayMillis(long maxRetryDelayMillis) { this.maxRetryDelayMillis = maxRetryDelayMillis; return this; } @@ -157,7 +201,18 @@ public Builder maxRetryDelayMillis(long maxRetryDelayMillis) { * @param retryDelayBackoffFactor the retryDelayBackoffFactor to set * @return the Builder for chaining */ + @Deprecated public Builder retryDelayBackoffFactor(double retryDelayBackoffFactor) { + return setRetryDelayBackoffFactor(retryDelayBackoffFactor); + } + + /** + * Sets retryDelayBackoffFactor. + * + * @param retryDelayBackoffFactor the retryDelayBackoffFactor to set + * @return the Builder for chaining + */ + public Builder setRetryDelayBackoffFactor(double retryDelayBackoffFactor) { this.retryDelayBackoffFactor = retryDelayBackoffFactor; return this; } @@ -170,7 +225,20 @@ public Builder retryDelayBackoffFactor(double retryDelayBackoffFactor) { * @param totalRetryPeriodMillis the totalRetryPeriodMillis to set * @return the Builder for chaining */ + @Deprecated public Builder totalRetryPeriodMillis(long totalRetryPeriodMillis) { + return setTotalRetryPeriodMillis(totalRetryPeriodMillis); + } + + /** + * Sets totalRetryPeriodMillis. Note that App Engine Standard Environment front-end modules have + * a 60 second deadline for HTTP requests. For that reason, you should set the total retry + * period to under 60 seconds if you are using it on an App Engine front-end module. + * + * @param totalRetryPeriodMillis the totalRetryPeriodMillis to set + * @return the Builder for chaining + */ + public Builder setTotalRetryPeriodMillis(long totalRetryPeriodMillis) { this.totalRetryPeriodMillis = totalRetryPeriodMillis; return this; } @@ -210,7 +278,15 @@ private RetryParams(Builder builder) { /** * Returns an instance with the default parameters. */ + @Deprecated public static RetryParams defaultInstance() { + return getDefaultInstance(); + } + + /** + * Returns an instance with the default parameters. + */ + public static RetryParams getDefaultInstance() { return DEFAULT_INSTANCE; } @@ -225,14 +301,30 @@ public static RetryParams noRetries() { /** * Returns the retryMinAttempts. Default value is {@value #DEFAULT_RETRY_MIN_ATTEMPTS}. */ + @Deprecated public int retryMinAttempts() { + return getRetryMinAttempts(); + } + + /** + * Returns the retryMinAttempts. Default value is {@value #DEFAULT_RETRY_MIN_ATTEMPTS}. + */ + public int getRetryMinAttempts() { return retryMinAttempts; } /** * Returns the retryMaxAttempts. Default value is {@value #DEFAULT_RETRY_MAX_ATTEMPTS}. */ + @Deprecated public int retryMaxAttempts() { + return getRetryMaxAttempts(); + } + + /** + * Returns the retryMaxAttempts. Default value is {@value #DEFAULT_RETRY_MAX_ATTEMPTS}. + */ + public int getRetryMaxAttempts() { return retryMaxAttempts; } @@ -240,14 +332,31 @@ public int retryMaxAttempts() { * Returns the initialRetryDelayMillis. Default value is * {@value #DEFAULT_INITIAL_RETRY_DELAY_MILLIS}. */ + @Deprecated public long initialRetryDelayMillis() { + return getInitialRetryDelayMillis(); + } + + /** + * Returns the initialRetryDelayMillis. Default value is + * {@value #DEFAULT_INITIAL_RETRY_DELAY_MILLIS}. + */ + public long getInitialRetryDelayMillis() { return initialRetryDelayMillis; } /** * Returns the maxRetryDelayMillis. Default values is {@value #DEFAULT_MAX_RETRY_DELAY_MILLIS}. */ + @Deprecated public long maxRetryDelayMillis() { + return getMaxRetryDelayMillis(); + } + + /** + * Returns the maxRetryDelayMillis. Default values is {@value #DEFAULT_MAX_RETRY_DELAY_MILLIS}. + */ + public long getMaxRetryDelayMillis() { return maxRetryDelayMillis; } @@ -255,7 +364,16 @@ public long maxRetryDelayMillis() { * Returns the maxRetryDelayBackoffFactor. Default values is * {@value #DEFAULT_RETRY_DELAY_BACKOFF_FACTOR}. */ + @Deprecated public double retryDelayBackoffFactor() { + return getRetryDelayBackoffFactor(); + } + + /** + * Returns the maxRetryDelayBackoffFactor. Default values is + * {@value #DEFAULT_RETRY_DELAY_BACKOFF_FACTOR}. + */ + public double getRetryDelayBackoffFactor() { return retryDelayBackoffFactor; } @@ -263,7 +381,16 @@ public double retryDelayBackoffFactor() { * Returns the totalRetryPeriodMillis. Default value is * {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. */ + @Deprecated public long totalRetryPeriodMillis() { + return getTotalRetryPeriodMillis(); + } + + /** + * Returns the totalRetryPeriodMillis. Default value is + * {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. + */ + public long getTotalRetryPeriodMillis() { return totalRetryPeriodMillis; } @@ -301,7 +428,12 @@ public String toString() { return toStringHelper.toString(); } + @Deprecated public static Builder builder() { + return newBuilder(); + } + + public static Builder newBuilder() { return new Builder(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java index 60f826d3a9d7..9444421e6b69 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java @@ -44,7 +44,16 @@ private Role(String value) { * Returns the string identifier for this role. For example, {@code "roles/viewer"}, * {@code "roles/editor"}, or {@code "roles/owner"}. */ + @Deprecated public String value() { + return getValue(); + } + + /** + * Returns the string identifier for this role. For example, {@code "roles/viewer"}, + * {@code "roles/editor"}, or {@code "roles/owner"}. + */ + public String getValue() { return value; } @@ -104,6 +113,6 @@ public String toString() { @Override public boolean equals(Object obj) { - return obj instanceof Role && Objects.equals(value, ((Role) obj).value()); + return obj instanceof Role && Objects.equals(value, ((Role) obj).getValue()); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java index a3797eca30b9..4c64e6fab2fd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java @@ -22,5 +22,8 @@ * @param the {@code ServiceOptions} subclass corresponding to the service */ public interface Service> { + @Deprecated OptionsT options(); + + OptionsT getOptions(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java index c68d14116aa8..29202c69d0ae 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java @@ -54,8 +54,14 @@ public int hashCode() { /** * Returns the service account associated with the signer. */ + @Deprecated String account(); + /** + * Returns the service account associated with the signer. + */ + String getAccount(); + /** * Signs the provided bytes using the private key associated with the service account. * diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index acd1611797f7..f918cd2188c4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -70,7 +70,7 @@ public abstract class ServiceOptions, Service private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; private static final String ARTIFACT_ID = "google-cloud-core"; private static final String LIBRARY_NAME = "gcloud-java"; - private static final String LIBRARY_VERSION = getLibraryVersion(); + private static final String LIBRARY_VERSION = defaultLibraryVersion(); private static final String APPLICATION_NAME = LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; private static final long serialVersionUID = 3049375916337507361L; @@ -131,7 +131,15 @@ protected B self() { /** * Sets the service factory. */ + @Deprecated public B serviceFactory(ServiceFactory serviceFactory) { + return setServiceFactory(serviceFactory); + } + + /** + * Sets the service factory. + */ + public B setServiceFactory(ServiceFactory serviceFactory) { this.serviceFactory = serviceFactory; return self(); } @@ -143,7 +151,19 @@ public B serviceFactory(ServiceFactory serviceFactory) { * @param clock the clock to set * @return the builder */ + @Deprecated public B clock(Clock clock) { + return setClock(clock); + } + + /** + * Sets the service's clock. The clock is mainly used for testing purpose. {@link Clock} will be + * replaced by Java8's {@code java.time.Clock}. + * + * @param clock the clock to set + * @return the builder + */ + public B setClock(Clock clock) { this.clock = clock; return self(); } @@ -153,7 +173,17 @@ public B clock(Clock clock) { * * @return the builder */ + @Deprecated public B projectId(String projectId) { + return setProjectId(projectId); + } + + /** + * Sets project id. + * + * @return the builder + */ + public B setProjectId(String projectId) { this.projectId = projectId; return self(); } @@ -163,7 +193,17 @@ public B projectId(String projectId) { * * @return the builder */ + @Deprecated public B host(String host) { + return setHost(host); + } + + /** + * Sets service host. + * + * @return the builder + */ + public B setHost(String host) { this.host = host; return self(); } @@ -173,19 +213,41 @@ public B host(String host) { * * @return the builder */ + @Deprecated public B authCredentials(AuthCredentials authCredentials) { + return setAuthCredentials(authCredentials); + } + + /** + * Sets the service authentication credentials. + * + * @return the builder + */ + public B setAuthCredentials(AuthCredentials authCredentials) { this.authCredentials = authCredentials; return self(); } /** * Sets configuration parameters for request retries. If no configuration is set - * {@link RetryParams#defaultInstance()} is used. To disable retries, supply + * {@link RetryParams#getDefaultInstance()} is used. To disable retries, supply * {@link RetryParams#noRetries()} here. * * @return the builder */ + @Deprecated public B retryParams(RetryParams retryParams) { + return setRetryParams(retryParams); + } + + /** + * Sets configuration parameters for request retries. If no configuration is set + * {@link RetryParams#getDefaultInstance()} is used. To disable retries, supply + * {@link RetryParams#noRetries()} here. + * + * @return the builder + */ + public B setRetryParams(RetryParams retryParams) { this.retryParams = retryParams; return self(); } @@ -195,7 +257,17 @@ public B retryParams(RetryParams retryParams) { * * @return the builder */ + @Deprecated public B serviceRpcFactory(ServiceRpcFactory serviceRpcFactory) { + return setServiceRpcFactory(serviceRpcFactory); + } + + /** + * Sets the factory for rpc services. + * + * @return the builder + */ + public B setServiceRpcFactory(ServiceRpcFactory serviceRpcFactory) { this.serviceRpcFactory = serviceRpcFactory; return self(); } @@ -204,23 +276,23 @@ public B serviceRpcFactory(ServiceRpcFactory serviceRpcFa protected ServiceOptions(Class> serviceFactoryClass, Class> rpcFactoryClass, Builder builder) { - projectId = builder.projectId != null ? builder.projectId : defaultProject(); + projectId = builder.projectId != null ? builder.projectId : getDefaultProject(); if (projectIdRequired()) { checkArgument( projectId != null, "A project ID is required for this service but could not be determined from the builder " + "or the environment. Please set a project ID using the builder."); } - host = firstNonNull(builder.host, defaultHost()); + host = firstNonNull(builder.host, getDefaultHost()); authCredentials = builder.authCredentials != null ? builder.authCredentials : defaultAuthCredentials(); authCredentialsState = authCredentials != null ? authCredentials.capture() : null; retryParams = firstNonNull(builder.retryParams, defaultRetryParams()); serviceFactory = firstNonNull(builder.serviceFactory, - getFromServiceLoader(serviceFactoryClass, defaultServiceFactory())); + getFromServiceLoader(serviceFactoryClass, getDefaultServiceFactory())); serviceFactoryClassName = serviceFactory.getClass().getName(); serviceRpcFactory = firstNonNull(builder.serviceRpcFactory, - getFromServiceLoader(rpcFactoryClass, defaultRpcFactory())); + getFromServiceLoader(rpcFactoryClass, getDefaultRpcFactory())); serviceRpcFactoryClassName = serviceRpcFactory.getClass().getName(); clock = firstNonNull(builder.clock, Clock.defaultClock()); } @@ -256,11 +328,21 @@ protected static String appEngineAppId() { return System.getProperty("com.google.appengine.application.id"); } + @Deprecated protected String defaultHost() { + return getDefaultHost(); + } + + protected String getDefaultHost() { return DEFAULT_HOST; } + @Deprecated protected String defaultProject() { + return getDefaultProject(); + } + + protected String getDefaultProject() { String projectId = System.getProperty(PROJECT_ENV_NAME, System.getenv(PROJECT_ENV_NAME)); if (projectId == null) { projectId = @@ -385,16 +467,26 @@ protected static String serviceAccountProjectId() { return project; } - @SuppressWarnings("unchecked") + @Deprecated public ServiceT service() { + return getService(); + } + + @SuppressWarnings("unchecked") + public ServiceT getService() { if (service == null) { service = serviceFactory.create((OptionsT) this); } return service; } - @SuppressWarnings("unchecked") + @Deprecated public ServiceRpcT rpc() { + return getRpc(); + } + + @SuppressWarnings("unchecked") + public ServiceRpcT getRpc() { if (rpc == null) { rpc = serviceRpcFactory.create((OptionsT) this); } @@ -405,29 +497,63 @@ public ServiceRpcT rpc() { * Returns the project id. Return value can be null (for services that don't require a project * id). */ + @Deprecated public String projectId() { + return getProjectId(); + } + + /** + * Returns the project id. Return value can be null (for services that don't require a project + * id). + */ + public String getProjectId() { return projectId; } /** * Returns the service host. */ + @Deprecated public String host() { + return getHost(); + } + + /** + * Returns the service host. + */ + public String getHost() { return host; } /** * Returns the authentication credentials. */ + @Deprecated public AuthCredentials authCredentials() { + return getAuthCredentials(); + } + + /** + * Returns the authentication credentials. + */ + public AuthCredentials getAuthCredentials() { return authCredentials; } /** * Returns configuration parameters for request retries. By default requests are retried: - * {@link RetryParams#defaultInstance()} is used. + * {@link RetryParams#getDefaultInstance()} is used. */ + @Deprecated public RetryParams retryParams() { + return getRetryParams(); + } + + /** + * Returns configuration parameters for request retries. By default requests are retried: + * {@link RetryParams#getDefaultInstance()} is used. + */ + public RetryParams getRetryParams() { return retryParams; } @@ -435,21 +561,46 @@ public RetryParams retryParams() { * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get * current time. */ + @Deprecated public Clock clock() { + return getClock(); + } + + /** + * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get + * current time. + */ + public Clock getClock() { return clock; } /** * Returns the application's name as a string in the format {@code gcloud-java/[version]}. */ + @Deprecated public String applicationName() { + return getApplicationName(); + } + + /** + * Returns the application's name as a string in the format {@code gcloud-java/[version]}. + */ + public String getApplicationName() { return APPLICATION_NAME; } /** * Returns the library's name, {@code gcloud-java}, as a string. */ + @Deprecated public String libraryName() { + return getLibraryName(); + } + + /** + * Returns the library's name, {@code gcloud-java}, as a string. + */ + public String getLibraryName() { return LIBRARY_NAME; } @@ -457,6 +608,13 @@ public String libraryName() { * Returns the library's version as a string. */ public String libraryVersion() { + return getLibraryVersion(); + } + + /** + * Returns the library's version as a string. + */ + public String getLibraryVersion() { return LIBRARY_VERSION; } @@ -491,11 +649,26 @@ static T newInstance(String className) throws IOException, ClassNotFoundExce } } - protected abstract ServiceFactory defaultServiceFactory(); + @Deprecated + protected ServiceFactory defaultServiceFactory() { + return getDefaultServiceFactory(); + } + + protected abstract ServiceFactory getDefaultServiceFactory(); + + @Deprecated + protected ServiceRpcFactory defaultRpcFactory() { + return getDefaultRpcFactory(); + } + + protected abstract ServiceRpcFactory getDefaultRpcFactory(); - protected abstract ServiceRpcFactory defaultRpcFactory(); + @Deprecated + protected Set scopes() { + return getScopes(); + } - protected abstract Set scopes(); + protected abstract Set getScopes(); public abstract > B toBuilder(); @@ -505,14 +678,14 @@ static T newInstance(String className) throws IOException, ClassNotFoundExce * default parameters listed in {@link RetryParams}. */ protected RetryParams defaultRetryParams() { - return RetryParams.defaultInstance(); + return RetryParams.getDefaultInstance(); } static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } - private static String getLibraryVersion() { + private static String defaultLibraryVersion() { String version = null; try { Enumeration resources = diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java index 8af7a074ab4d..1938f819943f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java @@ -63,14 +63,30 @@ private CheckingPeriod(long period, TimeUnit unit) { /** * Returns the checking period. */ + @Deprecated public long period() { + return getPeriod(); + } + + /** + * Returns the checking period. + */ + public long getPeriod() { return period; } /** - * Returns the time unit for {@link #period()}. + * Returns the time unit for {@link #getPeriod()}. */ + @Deprecated public TimeUnit unit() { + return getUnit(); + } + + /** + * Returns the time unit for {@link #getPeriod()}. + */ + public TimeUnit getUnit() { return unit; } @@ -139,7 +155,15 @@ private Timeout(long timeoutMillis) { /** * Returns the timeout in milliseconds. */ + @Deprecated public long timeoutMillis() { + return getTimeoutMillis(); + } + + /** + * Returns the timeout in milliseconds. + */ + public long getTimeoutMillis() { return timeoutMillis; } @@ -176,7 +200,7 @@ public static Timeout getOrDefault(WaitForOption... options) { } } - OptionType optionType() { + OptionType getOptionType() { return optionType; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java index 636bc60d0243..f061f55ac581 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java @@ -33,8 +33,15 @@ public interface WriteChannel extends WritableByteChannel, Closeable, Restorable * Sets the minimum size that will be written by a single RPC. * Written data will be buffered and only flushed upon reaching this size or closing the channel. */ + @Deprecated void chunkSize(int chunkSize); + /** + * Sets the minimum size that will be written by a single RPC. + * Written data will be buffered and only flushed upon reaching this size or closing the channel. + */ + void setChunkSize(int chunkSize); + /** * Captures the write channel state so that it can be saved and restored afterwards. The original * {@code WriteChannel} and the restored one should not both be used. Closing one channel diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index 60189a055467..0767d205ecc1 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -41,17 +41,40 @@ public class AsyncPageImplTest { .addAll(VALUES3) .build(); + private static class TestPageFetcher implements AsyncPageImpl.NextPageFetcher { + private static final long serialVersionUID = 4703765400378593176L; + + private final AsyncPageImpl nextResult; + + TestPageFetcher(AsyncPageImpl nextResult) { + this.nextResult = nextResult; + } + + @Override + public Future> nextPage() { + return getNextPage(); + } + + @Override + public Future> getNextPage() { + return Futures.>immediateFuture(nextResult); + } + } + @Test public void testPage() { final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); - AsyncPageImpl.NextPageFetcher fetcher = new AsyncPageImpl.NextPageFetcher() { - private static final long serialVersionUID = 4703765400378593176L; - - @Override - public Future> nextPage() { - return Futures.>immediateFuture(nextResult); - } - }; + AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); + AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); + assertEquals(nextResult, result.getNextPage()); + assertEquals("c", result.getNextPageCursor()); + assertEquals(VALUES1, result.getValues()); + } + + @Test + public void testPageDeprecated() { + final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); assertEquals(nextResult, result.nextPage()); assertEquals("c", result.nextPageCursor()); @@ -61,14 +84,17 @@ public Future> nextPage() { @Test public void testPageAsync() throws ExecutionException, InterruptedException { final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); - AsyncPageImpl.NextPageFetcher fetcher = new AsyncPageImpl.NextPageFetcher() { - private static final long serialVersionUID = 4703765400378593176L; - - @Override - public Future> nextPage() { - return Futures.>immediateFuture(nextResult); - } - }; + AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); + AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); + assertEquals(nextResult, result.getNextPageAsync().get()); + assertEquals("c", result.getNextPageCursor()); + assertEquals(VALUES1, result.getValues()); + } + + @Test + public void testPageAsyncDeprecated() throws ExecutionException, InterruptedException { + final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); + AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); assertEquals(nextResult, result.nextPageAsync().get()); assertEquals("c", result.nextPageCursor()); @@ -78,23 +104,9 @@ public Future> nextPage() { @Test public void testIterateAll() { final AsyncPageImpl nextResult2 = new AsyncPageImpl<>(null, "c3", VALUES3); - AsyncPageImpl.NextPageFetcher fetcher2 = new AsyncPageImpl.NextPageFetcher() { - private static final long serialVersionUID = -9203621430631884026L; - - @Override - public Future> nextPage() { - return Futures.>immediateFuture(nextResult2); - } - }; + AsyncPageImpl.NextPageFetcher fetcher2 = new TestPageFetcher(nextResult2); final AsyncPageImpl nextResult1 = new AsyncPageImpl<>(fetcher2, "c2", VALUES2); - AsyncPageImpl.NextPageFetcher fetcher1 = new AsyncPageImpl.NextPageFetcher() { - private static final long serialVersionUID = -9203621430631884026L; - - @Override - public Future> nextPage() { - return Futures.>immediateFuture(nextResult1); - } - }; + AsyncPageImpl.NextPageFetcher fetcher1 = new TestPageFetcher(nextResult1); AsyncPageImpl result = new AsyncPageImpl<>(fetcher1, "c1", VALUES1); assertEquals(ALL_VALUES, ImmutableList.copyOf(result.iterateAll())); } @@ -102,27 +114,13 @@ public Future> nextPage() { @Test public void testAsyncPageAndIterateAll() throws ExecutionException, InterruptedException { final AsyncPageImpl nextResult2 = new AsyncPageImpl<>(null, "c3", VALUES3); - AsyncPageImpl.NextPageFetcher fetcher2 = new AsyncPageImpl.NextPageFetcher() { - private static final long serialVersionUID = -9203621430631884026L; - - @Override - public Future> nextPage() { - return Futures.>immediateFuture(nextResult2); - } - }; + AsyncPageImpl.NextPageFetcher fetcher2 = new TestPageFetcher(nextResult2); final AsyncPageImpl nextResult1 = new AsyncPageImpl<>(fetcher2, "c2", VALUES2); - AsyncPageImpl.NextPageFetcher fetcher1 = new AsyncPageImpl.NextPageFetcher() { - private static final long serialVersionUID = -9203621430631884026L; - - @Override - public Future> nextPage() { - return Futures.>immediateFuture(nextResult1); - } - }; + AsyncPageImpl.NextPageFetcher fetcher1 = new TestPageFetcher(nextResult1); AsyncPageImpl result = new AsyncPageImpl<>(fetcher1, "c1", VALUES1); - assertEquals(nextResult1, result.nextPageAsync().get()); - assertEquals("c1", result.nextPageCursor()); - assertEquals(VALUES1, result.values()); - assertEquals(SOME_VALUES, ImmutableList.copyOf(result.nextPageAsync().get().iterateAll())); + assertEquals(nextResult1, result.getNextPageAsync().get()); + assertEquals("c1", result.getNextPageCursor()); + assertEquals(VALUES1, result.getValues()); + assertEquals(SOME_VALUES, ImmutableList.copyOf(result.getNextPageAsync().get().iterateAll())); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java index 9074c2d103a6..3ae34e6ca934 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java @@ -88,12 +88,30 @@ public static void beforeClass() throws NoSuchAlgorithmException, InvalidKeySpec @Test public void testNoAuthCredentials() { + assertSame(NO_AUTH_CREDENTIALS, AuthCredentials.noAuth()); + assertNull(NO_AUTH_CREDENTIALS.getCredentials()); + } + + @Test + public void testNoAuthCredentialsDeprecated() { assertSame(NO_AUTH_CREDENTIALS, AuthCredentials.noAuth()); assertNull(NO_AUTH_CREDENTIALS.credentials()); } @Test public void testOAuth2AuthCredentials() { + AccessToken accessToken = OAUTH2_AUTH_CREDENTIALS.getCredentials().getAccessToken(); + assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); + assertEquals(EXPIRATION_DATE, accessToken.getExpirationTime()); + OAuth2AuthCredentials oAuth2AuthCredentials = + AuthCredentials.createFor(ACCESS_TOKEN); + accessToken = oAuth2AuthCredentials.getCredentials().getAccessToken(); + assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); + assertNull(accessToken.getExpirationTime()); + } + + @Test + public void testOAuth2AuthCredentialsDeprecated() { AccessToken accessToken = OAUTH2_AUTH_CREDENTIALS.credentials().getAccessToken(); assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); assertEquals(EXPIRATION_DATE, accessToken.getExpirationTime()); @@ -106,6 +124,17 @@ public void testOAuth2AuthCredentials() { @Test public void testServiceAccountFromJson() throws IOException, SignatureException { + ServiceAccountAuthCredentials serviceAccountAuthCredentials = + AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())); + ServiceAccountCredentials credentials = serviceAccountAuthCredentials.getCredentials(); + assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.getAccount()); + assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); + assertEquals(privateKey, credentials.getPrivateKey()); + assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); + } + + @Test + public void testServiceAccountFromJsonDeprecated() throws IOException, SignatureException { ServiceAccountAuthCredentials serviceAccountAuthCredentials = AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())); ServiceAccountCredentials credentials = serviceAccountAuthCredentials.credentials(); @@ -117,6 +146,17 @@ public void testServiceAccountFromJson() throws IOException, SignatureException @Test public void testServiceAccountFromKey() throws IOException, SignatureException { + ServiceAccountAuthCredentials serviceAccountAuthCredentials = + AuthCredentials.createFor(SERVICE_ACCOUNT, privateKey); + ServiceAccountCredentials credentials = serviceAccountAuthCredentials.getCredentials(); + assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.getAccount()); + assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); + assertEquals(privateKey, credentials.getPrivateKey()); + assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); + } + + @Test + public void testServiceAccountFromKeyDeprecated() throws IOException, SignatureException { ServiceAccountAuthCredentials serviceAccountAuthCredentials = AuthCredentials.createFor(SERVICE_ACCOUNT, privateKey); ServiceAccountCredentials credentials = serviceAccountAuthCredentials.credentials(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 4517afff44ae..8980643b32c9 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -56,7 +56,7 @@ public CustomServiceException(int code, String message, String reason, boolean i } @Override - protected Set retryableErrors() { + protected Set getRetryableErrors() { return ImmutableSet.of(new Error(CODE, REASON), new Error(null, REASON), new Error(CODE_NO_REASON, null)); } @@ -64,6 +64,94 @@ protected Set retryableErrors() { @Test public void testBaseServiceException() { + BaseServiceException serviceException = new BaseServiceException(CODE, MESSAGE, REASON, + IDEMPOTENT); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + assertNull(serviceException.getCause()); + + serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + assertNull(serviceException.getCause()); + + Exception cause = new RuntimeException(); + serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, cause); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + assertEquals(cause, serviceException.getCause()); + + serviceException = new BaseServiceException(CODE, MESSAGE, REASON, false, cause); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertFalse(serviceException.isIdempotent()); + assertEquals(cause, serviceException.getCause()); + + IOException exception = new SocketTimeoutException(); + serviceException = new BaseServiceException(exception, true); + assertTrue(serviceException.isRetryable()); + assertTrue(serviceException.isIdempotent()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new SocketException(); + serviceException = new BaseServiceException(exception, true); + assertTrue(serviceException.isRetryable()); + assertTrue(serviceException.isIdempotent()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new IOException("insufficient data written"); + serviceException = new BaseServiceException(exception, true); + assertTrue(serviceException.isRetryable()); + assertTrue(serviceException.isIdempotent()); + assertEquals("insufficient data written", serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + GoogleJsonError error = new GoogleJsonError(); + error.setCode(CODE); + error.setMessage(MESSAGE); + serviceException = new BaseServiceException(error, true); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertFalse(serviceException.isRetryable()); + assertTrue(serviceException.isIdempotent()); + + serviceException = new CustomServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + + serviceException = new CustomServiceException(CODE_NO_REASON, MESSAGE, null, IDEMPOTENT); + assertEquals(CODE_NO_REASON, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertNull(serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + + serviceException = new CustomServiceException(UNKNOWN_CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(UNKNOWN_CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + } + + @Test + public void testBaseServiceExceptionDeprecated() { BaseServiceException serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); assertEquals(CODE, serviceException.code()); @@ -160,10 +248,10 @@ public void testTranslateAndThrow() throws Exception { try { BaseServiceException.translateAndPropagateIfPossible(exceptionMock); } catch (BaseServiceException ex) { - assertEquals(CODE, ex.code()); + assertEquals(CODE, ex.getCode()); assertEquals(MESSAGE, ex.getMessage()); - assertFalse(ex.retryable()); - assertEquals(IDEMPOTENT, ex.idempotent()); + assertFalse(ex.isRetryable()); + assertEquals(IDEMPOTENT, ex.isIdempotent()); } finally { verify(exceptionMock); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index fc476b11ae6e..9fb58a1633d9 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -83,6 +83,18 @@ protected BaseState.Builder stateBuilder() { @Test public void testConstructor() { + assertEquals(null, channel.getOptions()); + assertEquals(ENTITY, channel.getEntity()); + assertEquals(0, channel.getPosition()); + assertEquals(UPLOAD_ID, channel.getUploadId()); + assertEquals(0, channel.getLimit()); + assertTrue(channel.isOpen()); + assertArrayEquals(new byte[0], channel.getBuffer()); + assertEquals(DEFAULT_CHUNK_SIZE, channel.getChunkSize()); + } + + @Test + public void testConstructorDeprecated() { assertEquals(null, channel.options()); assertEquals(ENTITY, channel.entity()); assertEquals(0, channel.position()); @@ -97,7 +109,7 @@ public void testConstructor() { public void testClose() throws IOException { channel.close(); assertFalse(channel.isOpen()); - assertNull(channel.buffer()); + assertNull(channel.getBuffer()); } @Test @@ -109,31 +121,31 @@ public void testValidateOpen() throws IOException { @Test public void testChunkSize() { - channel.chunkSize(42); - assertEquals(MIN_CHUNK_SIZE, channel.chunkSize()); - channel.chunkSize(2 * MIN_CHUNK_SIZE); - assertEquals(2 * MIN_CHUNK_SIZE, channel.chunkSize()); - channel.chunkSize(512 * 1025); - assertEquals(2 * MIN_CHUNK_SIZE, channel.chunkSize()); + channel.setChunkSize(42); + assertEquals(MIN_CHUNK_SIZE, channel.getChunkSize()); + channel.setChunkSize(2 * MIN_CHUNK_SIZE); + assertEquals(2 * MIN_CHUNK_SIZE, channel.getChunkSize()); + channel.setChunkSize(512 * 1025); + assertEquals(2 * MIN_CHUNK_SIZE, channel.getChunkSize()); } @Test public void testWrite() throws IOException { channel.write(ByteBuffer.wrap(CONTENT)); - assertEquals(CONTENT.length, channel.limit()); - assertEquals(DEFAULT_CHUNK_SIZE, channel.buffer().length); - assertArrayEquals(Arrays.copyOf(CONTENT, DEFAULT_CHUNK_SIZE), channel.buffer()); + assertEquals(CONTENT.length, channel.getLimit()); + assertEquals(DEFAULT_CHUNK_SIZE, channel.getBuffer().length); + assertArrayEquals(Arrays.copyOf(CONTENT, DEFAULT_CHUNK_SIZE), channel.getBuffer()); } @Test public void testWriteAndFlush() throws IOException { ByteBuffer content = randomBuffer(DEFAULT_CHUNK_SIZE + 1); channel.write(content); - assertEquals(DEFAULT_CHUNK_SIZE, channel.position()); - assertEquals(1, channel.limit()); + assertEquals(DEFAULT_CHUNK_SIZE, channel.getPosition()); + assertEquals(1, channel.getLimit()); byte[] newContent = new byte[DEFAULT_CHUNK_SIZE]; newContent[0] = content.get(DEFAULT_CHUNK_SIZE); - assertArrayEquals(newContent, channel.buffer()); + assertArrayEquals(newContent, channel.getBuffer()); } private static ByteBuffer randomBuffer(int size) { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java index ddbd2ced841c..f489207019ac 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java @@ -82,7 +82,7 @@ public Object call() throws Error { } // using default exception handler (retry upon any non-runtime exceptions) - ExceptionHandler handler = ExceptionHandler.defaultInstance(); + ExceptionHandler handler = ExceptionHandler.getDefaultInstance(); assertValidCallable(new A(), handler); assertValidCallable(new B(), handler); assertValidCallable(new C(), handler); @@ -90,7 +90,7 @@ public Object call() throws Error { assertValidCallable(new E(), handler); assertInvalidCallable(new F(), handler); - handler = ExceptionHandler.builder() + handler = ExceptionHandler.newBuilder() .retryOn(FileNotFoundException.class, NullPointerException.class) .build(); assertInvalidCallable(new A(), handler); @@ -116,12 +116,12 @@ private static void assertInvalidCallable(Callable callable, ExceptionHan @Test public void testShouldTry() { - ExceptionHandler handler = ExceptionHandler.builder().retryOn(IOException.class).build(); + ExceptionHandler handler = ExceptionHandler.newBuilder().retryOn(IOException.class).build(); assertTrue(handler.shouldRetry(new IOException())); assertTrue(handler.shouldRetry(new ClosedByInterruptException())); assertFalse(handler.shouldRetry(new RuntimeException())); - ExceptionHandler.Builder builder = ExceptionHandler.builder() + ExceptionHandler.Builder builder = ExceptionHandler.newBuilder() .retryOn(IOException.class, NullPointerException.class) .abortOn(RuntimeException.class, ClosedByInterruptException.class, InterruptedException.class); @@ -148,7 +148,7 @@ public RetryResult beforeEval(Exception exception) { } }; - builder.interceptor(interceptor); + builder.addInterceptors(interceptor); handler = builder.build(); assertFalse(handler.shouldRetry(new IOException())); assertFalse(handler.shouldRetry(new ClosedByInterruptException())); @@ -188,7 +188,7 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { }; - ExceptionHandler handler = ExceptionHandler.builder().interceptor(interceptor).build(); + ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); handler.shouldRetry(new Exception()); } @@ -210,7 +210,7 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { }; - ExceptionHandler handler = ExceptionHandler.builder().interceptor(interceptor).build(); + ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); handler.shouldRetry(new Exception()); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java index 02d5847946e0..408dc731324a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -31,18 +31,33 @@ public class FieldSelectorHelperTest { private static final FieldSelector FIELD1 = new FieldSelector() { @Override public String selector() { + return getSelector(); + } + + @Override + public String getSelector() { return "field1"; } }; private static final FieldSelector FIELD2 = new FieldSelector() { @Override public String selector() { + return getSelector(); + } + + @Override + public String getSelector() { return "field2"; } }; private static final FieldSelector FIELD3 = new FieldSelector() { @Override public String selector() { + return getSelector(); + } + + @Override + public String getSelector() { return "field3"; } }; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java index 457f05cd0ba9..f0906fae03b2 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java @@ -36,15 +36,25 @@ public class GrpcServiceOptionsTest { private static final ExecutorFactory MOCK_EXECUTOR_FACTORY = EasyMock.createMock(ExecutorFactory.class); - private static final TestGrpcServiceOptions OPTIONS = TestGrpcServiceOptions.builder() - .projectId("project-id") - .initialTimeout(1234) - .timeoutMultiplier(1.6) - .maxTimeout(5678) - .executorFactory(MOCK_EXECUTOR_FACTORY) + private static final TestGrpcServiceOptions OPTIONS = TestGrpcServiceOptions.newBuilder() + .setProjectId("project-id") + .setInitialTimeout(1234) + .setTimeoutMultiplier(1.6) + .setMaxTimeout(5678) + .setExecutorFactory(MOCK_EXECUTOR_FACTORY) .build(); + private static final TestGrpcServiceOptions DEPRECATED_OPTIONS = + TestGrpcServiceOptions.newBuilder() + .projectId("project-id") + .initialTimeout(1234) + .timeoutMultiplier(1.6) + .maxTimeout(5678) + .executorFactory(MOCK_EXECUTOR_FACTORY) + .build(); private static final TestGrpcServiceOptions DEFAULT_OPTIONS = - TestGrpcServiceOptions.builder().projectId("project-id").build(); + TestGrpcServiceOptions.newBuilder().setProjectId("project-id").build(); + private static final TestGrpcServiceOptions DEPRECATED_DEFAULT_OPTIONS = + TestGrpcServiceOptions.newBuilder().projectId("project-id").build(); private static final TestGrpcServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private interface TestService extends Service {} @@ -108,17 +118,17 @@ private TestGrpcServiceOptions(Builder builder) { } @Override - protected TestServiceFactory defaultServiceFactory() { + protected TestServiceFactory getDefaultServiceFactory() { return DefaultTestServiceFactory.INSTANCE; } @Override - protected TestServiceRpcFactory defaultRpcFactory() { + protected TestServiceRpcFactory getDefaultRpcFactory() { return DefaultTestServiceRpcFactory.INSTANCE; } @Override - protected Set scopes() { + protected Set getScopes() { return null; } @@ -127,7 +137,7 @@ public Builder toBuilder() { return new Builder(this); } - private static Builder builder() { + private static Builder newBuilder() { return new Builder(); } @@ -144,32 +154,44 @@ public int hashCode() { @Test public void testBuilder() { - assertEquals(1234, OPTIONS.initialTimeout()); - assertEquals(1.6, OPTIONS.timeoutMultiplier(), 0.0); - assertEquals(5678, OPTIONS.maxTimeout()); - assertSame(MOCK_EXECUTOR_FACTORY, OPTIONS.executorFactory()); - assertEquals(20000, DEFAULT_OPTIONS.initialTimeout()); - assertEquals(1.5, DEFAULT_OPTIONS.timeoutMultiplier(), 0.0); - assertEquals(100000, DEFAULT_OPTIONS.maxTimeout()); - assertTrue(DEFAULT_OPTIONS.executorFactory() instanceof DefaultExecutorFactory); + assertEquals(1234, OPTIONS.getInitialTimeout()); + assertEquals(1.6, OPTIONS.getTimeoutMultiplier(), 0.0); + assertEquals(5678, OPTIONS.getMaxTimeout()); + assertSame(MOCK_EXECUTOR_FACTORY, OPTIONS.getExecutorFactory()); + assertEquals(20000, DEFAULT_OPTIONS.getInitialTimeout()); + assertEquals(1.5, DEFAULT_OPTIONS.getTimeoutMultiplier(), 0.0); + assertEquals(100000, DEFAULT_OPTIONS.getMaxTimeout()); + assertTrue(DEFAULT_OPTIONS.getExecutorFactory() instanceof DefaultExecutorFactory); + } + + @Test + public void testBuilderDeprecated() { + assertEquals(1234, DEPRECATED_OPTIONS.initialTimeout()); + assertEquals(1.6, DEPRECATED_OPTIONS.timeoutMultiplier(), 0.0); + assertEquals(5678, DEPRECATED_OPTIONS.maxTimeout()); + assertSame(MOCK_EXECUTOR_FACTORY, DEPRECATED_OPTIONS.executorFactory()); + assertEquals(20000, DEPRECATED_DEFAULT_OPTIONS.initialTimeout()); + assertEquals(1.5, DEPRECATED_DEFAULT_OPTIONS.timeoutMultiplier(), 0.0); + assertEquals(100000, DEPRECATED_DEFAULT_OPTIONS.maxTimeout()); + assertTrue(DEPRECATED_DEFAULT_OPTIONS.executorFactory() instanceof DefaultExecutorFactory); } @Test public void testBuilderError() { try { - TestGrpcServiceOptions.builder().initialTimeout(0); + TestGrpcServiceOptions.newBuilder().setInitialTimeout(0); fail("IllegalArgumentException expected"); } catch (IllegalArgumentException ex) { assertEquals("Initial timeout must be > 0", ex.getMessage()); } try { - TestGrpcServiceOptions.builder().initialTimeout(-1); + TestGrpcServiceOptions.newBuilder().setInitialTimeout(-1); fail("IllegalArgumentException expected"); } catch (IllegalArgumentException ex) { assertEquals("Initial timeout must be > 0", ex.getMessage()); } try { - TestGrpcServiceOptions.builder().timeoutMultiplier(0.9); + TestGrpcServiceOptions.newBuilder().setTimeoutMultiplier(0.9); fail("IllegalArgumentException expected"); } catch (IllegalArgumentException ex) { assertEquals("Timeout multiplier must be >= 1", ex.getMessage()); @@ -178,15 +200,15 @@ public void testBuilderError() { @Test public void testBuilderInvalidMaxTimeout() { - TestGrpcServiceOptions options = TestGrpcServiceOptions.builder() - .projectId("project-id") - .initialTimeout(1234) - .timeoutMultiplier(1.6) - .maxTimeout(123) + TestGrpcServiceOptions options = TestGrpcServiceOptions.newBuilder() + .setProjectId("project-id") + .setInitialTimeout(1234) + .setTimeoutMultiplier(1.6) + .setMaxTimeout(123) .build(); - assertEquals(1234, options.initialTimeout()); - assertEquals(1.6, options.timeoutMultiplier(), 0.0); - assertEquals(1234, options.maxTimeout()); + assertEquals(1234, options.getInitialTimeout()); + assertEquals(1.6, options.getTimeoutMultiplier(), 0.0); + assertEquals(1234, options.getMaxTimeout()); } @Test @@ -194,7 +216,7 @@ public void testBaseEquals() { assertEquals(OPTIONS, OPTIONS_COPY); assertNotEquals(DEFAULT_OPTIONS, OPTIONS); TestGrpcServiceOptions options = OPTIONS.toBuilder() - .executorFactory(new DefaultExecutorFactory()) + .setExecutorFactory(new DefaultExecutorFactory()) .build(); assertNotEquals(OPTIONS, options); } @@ -204,7 +226,7 @@ public void testBaseHashCode() { assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); TestGrpcServiceOptions options = OPTIONS.toBuilder() - .executorFactory(new DefaultExecutorFactory()) + .setExecutorFactory(new DefaultExecutorFactory()) .build(); assertNotEquals(OPTIONS.hashCode(), options.hashCode()); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java index de8dc8592eeb..a372498c2173 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java @@ -34,14 +34,23 @@ public class HttpServiceOptionsTest { private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = EasyMock.createMock(HttpTransportFactory.class); - private static final TestHttpServiceOptions OPTIONS = TestHttpServiceOptions.builder() - .projectId("project-id") - .connectTimeout(1234) - .httpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) - .readTimeout(5678) + private static final TestHttpServiceOptions OPTIONS = TestHttpServiceOptions.newBuilder() + .setProjectId("project-id") + .setConnectTimeout(1234) + .setHttpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) + .setReadTimeout(5678) .build(); + private static final TestHttpServiceOptions DEPRECATED_OPTIONS = + TestHttpServiceOptions.newBuilder() + .projectId("project-id") + .connectTimeout(1234) + .httpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) + .readTimeout(5678) + .build(); private static final TestHttpServiceOptions DEFAULT_OPTIONS = - TestHttpServiceOptions.builder().projectId("project-id").build(); + TestHttpServiceOptions.newBuilder().setProjectId("project-id").build(); + private static final TestHttpServiceOptions DEPRECATED_DEFAULT_OPTIONS = + TestHttpServiceOptions.newBuilder().projectId("project-id").build(); private static final TestHttpServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private interface TestService extends Service {} @@ -105,17 +114,17 @@ private TestHttpServiceOptions(Builder builder) { } @Override - protected TestServiceFactory defaultServiceFactory() { + protected TestServiceFactory getDefaultServiceFactory() { return DefaultTestServiceFactory.INSTANCE; } @Override - protected TestServiceRpcFactory defaultRpcFactory() { + protected TestServiceRpcFactory getDefaultRpcFactory() { return DefaultTestServiceRpcFactory.INSTANCE; } @Override - protected Set scopes() { + protected Set getScopes() { return null; } @@ -124,7 +133,7 @@ public Builder toBuilder() { return new Builder(this); } - private static Builder builder() { + private static Builder newBuilder() { return new Builder(); } @@ -141,12 +150,23 @@ public int hashCode() { @Test public void testBuilder() { - assertEquals(1234, OPTIONS.connectTimeout()); - assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.httpTransportFactory()); - assertEquals(5678, OPTIONS.readTimeout()); - assertEquals(-1, DEFAULT_OPTIONS.connectTimeout()); - assertTrue(DEFAULT_OPTIONS.httpTransportFactory() instanceof DefaultHttpTransportFactory); - assertEquals(-1, DEFAULT_OPTIONS.readTimeout()); + assertEquals(1234, OPTIONS.getConnectTimeout()); + assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.getHttpTransportFactory()); + assertEquals(5678, OPTIONS.getReadTimeout()); + assertEquals(-1, DEFAULT_OPTIONS.getConnectTimeout()); + assertTrue(DEFAULT_OPTIONS.getHttpTransportFactory() instanceof DefaultHttpTransportFactory); + assertEquals(-1, DEFAULT_OPTIONS.getReadTimeout()); + } + + @Test + public void testBuilderDeprecated() { + assertEquals(1234, DEPRECATED_OPTIONS.connectTimeout()); + assertSame(MOCK_HTTP_TRANSPORT_FACTORY, DEPRECATED_OPTIONS.httpTransportFactory()); + assertEquals(5678, DEPRECATED_OPTIONS.readTimeout()); + assertEquals(-1, DEPRECATED_DEFAULT_OPTIONS.connectTimeout()); + assertTrue( + DEPRECATED_DEFAULT_OPTIONS.httpTransportFactory() instanceof DefaultHttpTransportFactory); + assertEquals(-1, DEPRECATED_DEFAULT_OPTIONS.readTimeout()); } @Test diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index e720503c547d..5a80daa50da4 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -33,18 +33,36 @@ public class IdentityTest { @Test public void testAllUsers() { + assertEquals(Identity.Type.ALL_USERS, ALL_USERS.getType()); + assertNull(ALL_USERS.getValue()); + } + + @Test + public void testAllUsersDeprecated() { assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); assertNull(ALL_USERS.value()); } @Test public void testAllAuthenticatedUsers() { + assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.getType()); + assertNull(ALL_AUTH_USERS.getValue()); + } + + @Test + public void testAllAuthenticatedUsersDeprecated() { assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); assertNull(ALL_AUTH_USERS.value()); } @Test public void testUser() { + assertEquals(Identity.Type.USER, USER.getType()); + assertEquals("abc@gmail.com", USER.getValue()); + } + + @Test + public void testUserDeprecated() { assertEquals(Identity.Type.USER, USER.type()); assertEquals("abc@gmail.com", USER.value()); } @@ -56,6 +74,12 @@ public void testUserNullEmail() { @Test public void testServiceAccount() { + assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.getType()); + assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.getValue()); + } + + @Test + public void testServiceAccountDeprecated() { assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.value()); } @@ -67,6 +91,12 @@ public void testServiceAccountNullEmail() { @Test public void testGroup() { + assertEquals(Identity.Type.GROUP, GROUP.getType()); + assertEquals("group@gmail.com", GROUP.getValue()); + } + + @Test + public void testGroupDeprecated() { assertEquals(Identity.Type.GROUP, GROUP.type()); assertEquals("group@gmail.com", GROUP.value()); } @@ -78,6 +108,12 @@ public void testGroupNullEmail() { @Test public void testDomain() { + assertEquals(Identity.Type.DOMAIN, DOMAIN.getType()); + assertEquals("google.com", DOMAIN.getValue()); + } + + @Test + public void testDomainDeprecated() { assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); assertEquals("google.com", DOMAIN.value()); } @@ -99,7 +135,7 @@ public void testIdentityToAndFromPb() { private void compareIdentities(Identity expected, Identity actual) { assertEquals(expected, actual); - assertEquals(expected.type(), actual.type()); - assertEquals(expected.value(), actual.value()); + assertEquals(expected.getType(), actual.getType()); + assertEquals(expected.getValue(), actual.getValue()); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index 40db43b61da2..2a70b07ac949 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -31,17 +31,40 @@ public class PageImplTest { .addAll(NEXT_VALUES) .build(); + private static class TestPageFetcher implements PageImpl.NextPageFetcher { + private static final long serialVersionUID = -8316752901403429976L; + + private final PageImpl nextResult; + + TestPageFetcher(PageImpl nextResult) { + this.nextResult = nextResult; + } + + @Override + public Page nextPage() { + return getNextPage(); + } + + @Override + public Page getNextPage() { + return nextResult; + } + } + @Test public void testPage() { final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); - PageImpl.NextPageFetcher fetcher = new PageImpl.NextPageFetcher() { - private static final long serialVersionUID = -1714571149183431798L; - - @Override - public PageImpl nextPage() { - return nextResult; - } - }; + PageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); + PageImpl result = new PageImpl<>(fetcher, "c", VALUES); + assertEquals(nextResult, result.getNextPage()); + assertEquals("c", result.getNextPageCursor()); + assertEquals(VALUES, result.getValues()); + } + + @Test + public void testPageDeprecated() { + final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); + PageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); PageImpl result = new PageImpl<>(fetcher, "c", VALUES); assertEquals(nextResult, result.nextPage()); assertEquals("c", result.nextPageCursor()); @@ -51,12 +74,7 @@ public PageImpl nextPage() { @Test public void testIterateAll() { final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); - PageImpl.NextPageFetcher fetcher = new PageImpl.NextPageFetcher() { - @Override - public PageImpl nextPage() { - return nextResult; - } - }; + PageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); PageImpl result = new PageImpl<>(fetcher, "c", VALUES); assertEquals(ALL_VALUES, ImmutableList.copyOf(result.iterateAll())); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java index 946c5584d5db..29583e64827a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -51,31 +51,78 @@ public class PolicyTest { ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS), EDITOR, ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)); - private static final Policy SIMPLE_POLICY = Policy.builder() + private static final Policy SIMPLE_POLICY = Policy.newBuilder() .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) .build(); - private static final Policy FULL_POLICY = Policy.builder() - .bindings(SIMPLE_POLICY.bindings()) + private static final Policy DEPRECATED_SIMPLE_POLICY = Policy.builder() + .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) + .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) + .build(); + private static final Policy FULL_POLICY = Policy.newBuilder() + .setBindings(SIMPLE_POLICY.getBindings()) + .setEtag("etag") + .setVersion(1) + .build(); + private static final Policy DEPRECATED_FULL_POLICY = Policy.builder() + .bindings(SIMPLE_POLICY.getBindings()) .etag("etag") .version(1) .build(); @Test public void testBuilder() { - assertEquals(BINDINGS, SIMPLE_POLICY.bindings()); - assertEquals(null, SIMPLE_POLICY.etag()); - assertEquals(0, SIMPLE_POLICY.version()); - assertEquals(BINDINGS, FULL_POLICY.bindings()); - assertEquals("etag", FULL_POLICY.etag()); - assertEquals(1, FULL_POLICY.version()); + assertEquals(BINDINGS, SIMPLE_POLICY.getBindings()); + assertEquals(null, SIMPLE_POLICY.getEtag()); + assertEquals(0, SIMPLE_POLICY.getVersion()); + assertEquals(BINDINGS, FULL_POLICY.getBindings()); + assertEquals("etag", FULL_POLICY.getEtag()); + assertEquals(1, FULL_POLICY.getVersion()); Map> editorBinding = ImmutableMap.>builder().put(EDITOR, BINDINGS.get(EDITOR)).build(); - Policy policy = FULL_POLICY.toBuilder().bindings(editorBinding).build(); + Policy policy = FULL_POLICY.toBuilder().setBindings(editorBinding).build(); + assertEquals(editorBinding, policy.getBindings()); + assertEquals("etag", policy.getEtag()); + assertEquals(1, policy.getVersion()); + policy = SIMPLE_POLICY.toBuilder().removeRole(EDITOR).build(); + assertEquals(ImmutableMap.of(VIEWER, BINDINGS.get(VIEWER)), policy.getBindings()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + policy = policy.toBuilder() + .removeIdentity(VIEWER, USER, ALL_USERS) + .addIdentity(VIEWER, DOMAIN, GROUP) + .build(); + assertEquals(ImmutableMap.of(VIEWER, ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), + policy.getBindings()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + policy = Policy.newBuilder() + .removeIdentity(VIEWER, USER) + .addIdentity(OWNER, USER, SERVICE_ACCOUNT) + .addIdentity(EDITOR, GROUP) + .removeIdentity(EDITOR, GROUP) + .build(); + assertEquals(ImmutableMap.of(OWNER, ImmutableSet.of(USER, SERVICE_ACCOUNT)), + policy.getBindings()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + } + + @Test + public void testBuilderDeprecated() { + assertEquals(BINDINGS, DEPRECATED_SIMPLE_POLICY.bindings()); + assertEquals(null, DEPRECATED_SIMPLE_POLICY.etag()); + assertEquals(0, DEPRECATED_SIMPLE_POLICY.version()); + assertEquals(BINDINGS, DEPRECATED_FULL_POLICY.bindings()); + assertEquals("etag", DEPRECATED_FULL_POLICY.etag()); + assertEquals(1, DEPRECATED_FULL_POLICY.version()); + Map> editorBinding = + ImmutableMap.>builder().put(EDITOR, BINDINGS.get(EDITOR)).build(); + Policy policy = DEPRECATED_FULL_POLICY.toBuilder().bindings(editorBinding).build(); assertEquals(editorBinding, policy.bindings()); assertEquals("etag", policy.etag()); assertEquals(1, policy.version()); - policy = SIMPLE_POLICY.toBuilder().removeRole(EDITOR).build(); + policy = DEPRECATED_SIMPLE_POLICY.toBuilder().removeRole(EDITOR).build(); assertEquals(ImmutableMap.of(VIEWER, BINDINGS.get(VIEWER)), policy.bindings()); assertNull(policy.etag()); assertEquals(0, policy.version()); @@ -101,25 +148,25 @@ public void testBuilder() { @Test public void testIllegalPolicies() { try { - Policy.builder().addIdentity(null, USER); + Policy.newBuilder().addIdentity(null, USER); fail("Null role should cause exception."); } catch (NullPointerException ex) { assertEquals("The role cannot be null.", ex.getMessage()); } try { - Policy.builder().addIdentity(VIEWER, null, USER); + Policy.newBuilder().addIdentity(VIEWER, null, USER); fail("Null identity should cause exception."); } catch (NullPointerException ex) { assertEquals("Null identities are not permitted.", ex.getMessage()); } try { - Policy.builder().addIdentity(VIEWER, USER, (Identity[]) null); + Policy.newBuilder().addIdentity(VIEWER, USER, (Identity[]) null); fail("Null identity should cause exception."); } catch (NullPointerException ex) { assertEquals("Null identities are not permitted.", ex.getMessage()); } try { - Policy.builder().bindings(null); + Policy.newBuilder().setBindings(null); fail("Null bindings map should cause exception."); } catch (NullPointerException ex) { assertEquals("The provided map of bindings cannot be null.", ex.getMessage()); @@ -127,7 +174,7 @@ public void testIllegalPolicies() { try { Map> bindings = new HashMap<>(); bindings.put(VIEWER, null); - Policy.builder().bindings(bindings); + Policy.newBuilder().setBindings(bindings); fail("Null set of identities should cause exception."); } catch (NullPointerException ex) { assertEquals("A role cannot be assigned to a null set of identities.", ex.getMessage()); @@ -137,7 +184,7 @@ public void testIllegalPolicies() { Set identities = new HashSet<>(); identities.add(null); bindings.put(VIEWER, identities); - Policy.builder().bindings(bindings); + Policy.newBuilder().setBindings(bindings); fail("Null identity should cause exception."); } catch (IllegalArgumentException ex) { assertEquals("Null identities are not permitted.", ex.getMessage()); @@ -147,8 +194,8 @@ public void testIllegalPolicies() { @Test public void testEqualsHashCode() { assertNotNull(FULL_POLICY); - Policy emptyPolicy = Policy.builder().build(); - Policy anotherPolicy = Policy.builder().build(); + Policy emptyPolicy = Policy.newBuilder().build(); + Policy anotherPolicy = Policy.newBuilder().build(); assertEquals(emptyPolicy, anotherPolicy); assertEquals(emptyPolicy.hashCode(), anotherPolicy.hashCode()); assertNotEquals(FULL_POLICY, SIMPLE_POLICY); @@ -160,33 +207,33 @@ public void testEqualsHashCode() { @Test public void testBindings() { - assertTrue(Policy.builder().build().bindings().isEmpty()); - assertEquals(BINDINGS, SIMPLE_POLICY.bindings()); + assertTrue(Policy.newBuilder().build().getBindings().isEmpty()); + assertEquals(BINDINGS, SIMPLE_POLICY.getBindings()); } @Test public void testEtag() { - assertNull(SIMPLE_POLICY.etag()); - assertEquals("etag", FULL_POLICY.etag()); + assertNull(SIMPLE_POLICY.getEtag()); + assertEquals("etag", FULL_POLICY.getEtag()); } @Test public void testVersion() { - assertEquals(0, SIMPLE_POLICY.version()); - assertEquals(1, FULL_POLICY.version()); + assertEquals(0, SIMPLE_POLICY.getVersion()); + assertEquals(1, FULL_POLICY.getVersion()); } @Test public void testDefaultMarshaller() { DefaultMarshaller marshaller = new DefaultMarshaller(); - Policy emptyPolicy = Policy.builder().build(); + Policy emptyPolicy = Policy.newBuilder().build(); assertEquals(emptyPolicy, marshaller.fromPb(marshaller.toPb(emptyPolicy))); assertEquals(SIMPLE_POLICY, marshaller.fromPb(marshaller.toPb(SIMPLE_POLICY))); assertEquals(FULL_POLICY, marshaller.fromPb(marshaller.toPb(FULL_POLICY))); com.google.iam.v1.Policy policyPb = com.google.iam.v1.Policy.getDefaultInstance(); Policy policy = marshaller.fromPb(policyPb); - assertTrue(policy.bindings().isEmpty()); - assertNull(policy.etag()); - assertEquals(0, policy.version()); + assertTrue(policy.getBindings().isEmpty()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java index fcb404a4624f..987cf1daa144 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java @@ -58,6 +58,51 @@ static class E4Exception extends E2Exception { @Test public void testTriesWithExceptionHandling() { + assertNull(RetryHelper.getContext()); + RetryParams params = + RetryParams.newBuilder().setInitialRetryDelayMillis(0).setRetryMaxAttempts(3).build(); + ExceptionHandler handler = ExceptionHandler.newBuilder() + .retryOn(IOException.class).abortOn(RuntimeException.class).build(); + final AtomicInteger count = new AtomicInteger(3); + try { + RetryHelper.runWithRetries(new Callable() { + @Override public Void call() throws IOException, NullPointerException { + if (count.decrementAndGet() == 2) { + assertEquals(1, RetryHelper.getContext().getAttemptNumber()); + throw new IOException("should be retried"); + } + assertEquals(2, RetryHelper.getContext().getAttemptNumber()); + throw new NullPointerException("Boo!"); + } + }, params, handler); + fail("Exception should have been thrown"); + } catch (NonRetriableException ex) { + assertEquals("Boo!", ex.getCause().getMessage()); + assertEquals(1, count.intValue()); + } + assertNull(RetryHelper.getContext()); + + params = RetryParams.newBuilder().setInitialRetryDelayMillis(0).setRetryMaxAttempts(5).build(); + handler = ExceptionHandler.newBuilder() + .retryOn(E1Exception.class, E4Exception.class) + .abortOn(E3Exception.class).build(); + final Iterator exceptions = Arrays.asList( + new E1Exception(), new E2Exception(), new E4Exception(), new E3Exception()).iterator(); + try { + RetryHelper.runWithRetries(new Callable() { + @Override public Void call() throws E1Exception { + throw exceptions.next(); + } + }, params, handler); + fail("Exception should have been thrown"); + } catch (NonRetriableException ex) { + assertTrue(ex.getCause() instanceof E3Exception); + } + assertNull(RetryHelper.getContext()); + } + + @Test + public void testTriesWithExceptionHandlingDeprecated() { assertNull(RetryHelper.getContext()); RetryParams params = RetryParams.builder().initialRetryDelayMillis(0).retryMaxAttempts(3).build(); @@ -103,6 +148,32 @@ public void testTriesWithExceptionHandling() { @Test public void testTriesAtLeastMinTimes() { + // Total retry period set to 60 seconds so as to not factor into test + RetryParams params = RetryParams.newBuilder().setInitialRetryDelayMillis(0) + .setTotalRetryPeriodMillis(60000) + .setRetryMinAttempts(5) + .setRetryMaxAttempts(10) + .build(); + final int timesToFail = 7; + assertNull(RetryHelper.getContext()); + int attempted = RetryHelper.runWithRetries(new Callable() { + int timesCalled; + @Override public Integer call() throws IOException { + timesCalled++; + assertEquals(timesCalled, RetryHelper.getContext().getAttemptNumber()); + assertEquals(10, RetryHelper.getContext().getRetryParams().getRetryMaxAttempts()); + if (timesCalled <= timesToFail) { + throw new IOException(); + } + return timesCalled; + } + }, params, ExceptionHandler.getDefaultInstance()); + assertEquals(timesToFail + 1, attempted); + assertNull(RetryHelper.getContext()); + } + + @Test + public void testTriesAtLeastMinTimesDeprecated() { // Total retry period set to 60 seconds so as to not factor into test RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) .totalRetryPeriodMillis(60000) @@ -129,6 +200,34 @@ public void testTriesAtLeastMinTimes() { @Test public void testTriesNoMoreThanMaxTimes() { + // Total retry period set to 60 seconds so as to not factor into test + final int maxAttempts = 10; + RetryParams params = RetryParams.newBuilder().setInitialRetryDelayMillis(0) + .setTotalRetryPeriodMillis(60000) + .setRetryMinAttempts(0) + .setRetryMaxAttempts(maxAttempts) + .build(); + final AtomicInteger timesCalled = new AtomicInteger(0); + try { + RetryHelper.runWithRetries(callable(new Runnable() { + @Override public void run() { + // Throw an exception up to maxAttempts times, should never be called beyond that + if (timesCalled.incrementAndGet() <= maxAttempts) { + throw new RuntimeException(); + } + fail("Body was executed too many times: " + timesCalled.get()); + } + }), params, ExceptionHandler.newBuilder().retryOn(RuntimeException.class).build()); + // Unnecessary as this line should not be possible reach even if RetryHandler is broken + fail("Should not have succeeded, expected all attempts to fail and give up."); + } catch (RetriesExhaustedException expected) { + // Expect the body to run exactly maxAttempts times + assertEquals(maxAttempts, timesCalled.get()); + } + } + + @Test + public void testTriesNoMoreThanMaxTimesDeprecated() { // Total retry period set to 60 seconds so as to not factor into test final int maxAttempts = 10; RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) @@ -175,12 +274,12 @@ public void testTriesNoMoreLongerThanTotalRetryPeriod() { final FakeClock fakeClock = new FakeClock(); // The 8th attempt (after min and before max) will trigger a 1 second (virtual) delay exceeding // total retry period which is set just under 1 second. Test occurs faster than realtime. - RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) - .totalRetryPeriodMillis(999) - .retryMinAttempts(5) - .retryMaxAttempts(10) + RetryParams params = RetryParams.newBuilder().setInitialRetryDelayMillis(0) + .setTotalRetryPeriodMillis(999) + .setRetryMinAttempts(5) + .setRetryMaxAttempts(10) .build(); - ExceptionHandler handler = ExceptionHandler.builder().retryOn(RuntimeException.class).build(); + ExceptionHandler handler = ExceptionHandler.newBuilder().retryOn(RuntimeException.class).build(); final int sleepOnAttempt = 8; final AtomicInteger timesCalled = new AtomicInteger(0); try { @@ -203,13 +302,13 @@ public void testTriesNoMoreLongerThanTotalRetryPeriod() { @Test public void testBackoffIsExponential() { // Total retry period set to 60 seconds so as to not factor into test - RetryParams params = RetryParams.builder() - .initialRetryDelayMillis(10) - .maxRetryDelayMillis(10_000_000) - .retryDelayBackoffFactor(2) - .totalRetryPeriodMillis(60_000) - .retryMinAttempts(0) - .retryMaxAttempts(100) + RetryParams params = RetryParams.newBuilder() + .setInitialRetryDelayMillis(10) + .setMaxRetryDelayMillis(10_000_000) + .setRetryDelayBackoffFactor(2) + .setTotalRetryPeriodMillis(60_000) + .setRetryMinAttempts(0) + .setRetryMaxAttempts(100) .build(); long sleepDuration = RetryHelper.getSleepDuration(params, 1); assertTrue(String.valueOf(sleepDuration), sleepDuration < 13 && sleepDuration >= 7); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java index c3041053110b..c96358042932 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java @@ -41,6 +41,20 @@ public class RetryParamsTest { @Test public void testDefaults() { + RetryParams params1 = RetryParams.getDefaultInstance(); + RetryParams params2 = RetryParams.newBuilder().build(); + for (RetryParams params : Arrays.asList(params1, params2)) { + assertEquals(DEFAULT_INITIAL_RETRY_DELAY_MILLIS, params.getInitialRetryDelayMillis()); + assertEquals(DEFAULT_MAX_RETRY_DELAY_MILLIS, params.getMaxRetryDelayMillis()); + assertEquals(DEFAULT_RETRY_DELAY_BACKOFF_FACTOR, params.getRetryDelayBackoffFactor(), 0); + assertEquals(DEFAULT_RETRY_MAX_ATTEMPTS, params.getRetryMaxAttempts()); + assertEquals(DEFAULT_RETRY_MIN_ATTEMPTS, params.getRetryMinAttempts()); + assertEquals(DEFAULT_TOTAL_RETRY_PERIOD_MILLIS, params.getTotalRetryPeriodMillis()); + } + } + + @Test + public void testDefaultsDeprecated() { RetryParams params1 = RetryParams.defaultInstance(); RetryParams params2 = RetryParams.builder().build(); for (RetryParams params : Arrays.asList(params1, params2)) { @@ -55,6 +69,27 @@ public void testDefaults() { @Test public void testSetAndCopy() { + RetryParams.Builder builder = RetryParams.newBuilder(); + builder.setInitialRetryDelayMillis(101); + builder.setMaxRetryDelayMillis(102); + builder.setRetryDelayBackoffFactor(103); + builder.setRetryMinAttempts(107); + builder.setRetryMaxAttempts(108); + builder.setTotalRetryPeriodMillis(109); + RetryParams params1 = builder.build(); + RetryParams params2 = new RetryParams.Builder(params1).build(); + for (RetryParams params : Arrays.asList(params1, params2)) { + assertEquals(101, params.getInitialRetryDelayMillis()); + assertEquals(102, params.getMaxRetryDelayMillis()); + assertEquals(103, params.getRetryDelayBackoffFactor(), 0); + assertEquals(107, params.getRetryMinAttempts()); + assertEquals(108, params.getRetryMaxAttempts()); + assertEquals(109, params.getTotalRetryPeriodMillis()); + } + } + + @Test + public void testSetAndCopyDeprecated() { RetryParams.Builder builder = RetryParams.builder(); builder.initialRetryDelayMillis(101); builder.maxRetryDelayMillis(102); @@ -76,22 +111,23 @@ public void testSetAndCopy() { @Test public void testBadSettings() { - RetryParams.Builder builder = RetryParams.builder(); - builder.initialRetryDelayMillis(-1); + RetryParams.Builder builder = RetryParams.newBuilder(); + builder.setInitialRetryDelayMillis(-1); builder = assertFailure(builder); - builder.maxRetryDelayMillis(RetryParams.defaultInstance().initialRetryDelayMillis() - 1); + builder.setMaxRetryDelayMillis( + RetryParams.getDefaultInstance().getInitialRetryDelayMillis() - 1); builder = assertFailure(builder); - builder.retryDelayBackoffFactor(-1); + builder.setRetryDelayBackoffFactor(-1); builder = assertFailure(builder); - builder.retryMinAttempts(-1); + builder.setRetryMinAttempts(-1); builder = assertFailure(builder); - builder.retryMaxAttempts(RetryParams.defaultInstance().retryMinAttempts() - 1); + builder.setRetryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts() - 1); builder = assertFailure(builder); - builder.totalRetryPeriodMillis(-1); + builder.setTotalRetryPeriodMillis(-1); builder = assertFailure(builder); // verify that it is OK for min and max to be equal - builder.retryMaxAttempts(RetryParams.defaultInstance().retryMinAttempts()); - builder.maxRetryDelayMillis(RetryParams.defaultInstance().initialRetryDelayMillis()); + builder.setRetryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts()); + builder.setMaxRetryDelayMillis(RetryParams.getDefaultInstance().getInitialRetryDelayMillis()); builder.build(); } @@ -102,6 +138,6 @@ private static Builder assertFailure(Builder builder) { } catch (IllegalArgumentException ex) { // expected } - return RetryParams.builder(); + return RetryParams.newBuilder(); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java index c66c28a9523a..7cce4ee4fbc2 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java @@ -28,6 +28,16 @@ public class RoleTest { @Test public void testOf() { + assertEquals("roles/viewer", VIEWER.getValue()); + assertEquals("roles/editor", EDITOR.getValue()); + assertEquals("roles/owner", OWNER.getValue()); + compareRoles(VIEWER, Role.of("roles/viewer")); + compareRoles(EDITOR, Role.of("roles/editor")); + compareRoles(OWNER, Role.of("roles/owner")); + } + + @Test + public void testOfDeprecated() { assertEquals("roles/viewer", VIEWER.value()); assertEquals("roles/editor", EDITOR.value()); assertEquals("roles/owner", OWNER.value()); @@ -38,17 +48,17 @@ public void testOf() { @Test public void testViewer() { - assertEquals("roles/viewer", Role.viewer().value()); + assertEquals("roles/viewer", Role.viewer().getValue()); } @Test public void testEditor() { - assertEquals("roles/editor", Role.editor().value()); + assertEquals("roles/editor", Role.editor().getValue()); } @Test public void testOwner() { - assertEquals("roles/owner", Role.owner().value()); + assertEquals("roles/owner", Role.owner().getValue()); } @Test(expected = NullPointerException.class) @@ -58,7 +68,7 @@ public void testOfNullValue() { private void compareRoles(Role expected, Role actual) { assertEquals(expected, actual); - assertEquals(expected.value(), actual.value()); + assertEquals(expected.getValue(), actual.getValue()); assertEquals(expected.hashCode(), actual.hashCode()); assertEquals(expected.toString(), actual.toString()); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index ba3194c20371..746f2b406b13 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -32,15 +32,15 @@ public class SerializationTest extends BaseSerializationTest { private static final BaseServiceException BASE_SERVICE_EXCEPTION = new BaseServiceException(42, "message", "reason", true); - private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.defaultInstance(); + private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.getDefaultInstance(); private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); private static final SigningException SIGNING_EXCEPTION = new SigningException("message", BASE_SERVICE_EXCEPTION); - private static final RetryParams RETRY_PARAMS = RetryParams.defaultInstance(); + private static final RetryParams RETRY_PARAMS = RetryParams.getDefaultInstance(); private static final Role SOME_ROLE = Role.viewer(); - private static final Policy SOME_IAM_POLICY = Policy.builder().build(); + private static final Policy SOME_IAM_POLICY = Policy.newBuilder().build(); private static final WaitForOption CHECKING_PERIOD = WaitForOption.checkEvery(42, TimeUnit.SECONDS); private static final LabelDescriptor LABEL_DESCRIPTOR = diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 7792c63e821b..e7e74459d18c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -71,7 +71,15 @@ public class ServiceOptionsTest { } private static final Clock TEST_CLOCK = new TestClock(); private static final TestServiceOptions OPTIONS = - TestServiceOptions.builder() + TestServiceOptions.newBuilder() + .setAuthCredentials(authCredentials) + .setClock(TEST_CLOCK) + .setHost("host") + .setProjectId("project-id") + .setRetryParams(RetryParams.noRetries()) + .build(); + private static final TestServiceOptions DEPRECATED_OPTIONS = + TestServiceOptions.newBuilder() .authCredentials(authCredentials) .clock(TEST_CLOCK) .host("host") @@ -79,7 +87,9 @@ public class ServiceOptionsTest { .retryParams(RetryParams.noRetries()) .build(); private static final TestServiceOptions DEFAULT_OPTIONS = - TestServiceOptions.builder().projectId("project-id").build(); + TestServiceOptions.newBuilder().setProjectId("project-id").build(); + private static final TestServiceOptions DEPRECATED_DEFAULT_OPTIONS = + TestServiceOptions.newBuilder().projectId("project-id").build(); private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private static final String LIBRARY_NAME = "gcloud-java"; private static final Pattern APPLICATION_NAME_PATTERN = @@ -151,17 +161,17 @@ private TestServiceOptions(Builder builder) { } @Override - protected TestServiceFactory defaultServiceFactory() { + protected TestServiceFactory getDefaultServiceFactory() { return DefaultTestServiceFactory.INSTANCE; } @Override - protected TestServiceRpcFactory defaultRpcFactory() { + protected TestServiceRpcFactory getDefaultRpcFactory() { return DefaultTestServiceRpcFactory.INSTANCE; } @Override - protected Set scopes() { + protected Set getScopes() { return null; } @@ -170,7 +180,7 @@ public Builder toBuilder() { return new Builder(this); } - private static Builder builder() { + private static Builder newBuilder() { return new Builder(); } @@ -187,14 +197,26 @@ public int hashCode() { @Test public void testBuilder() { - assertSame(authCredentials, OPTIONS.authCredentials()); - assertSame(TEST_CLOCK, OPTIONS.clock()); - assertEquals("host", OPTIONS.host()); - assertEquals("project-id", OPTIONS.projectId()); - assertSame(RetryParams.noRetries(), OPTIONS.retryParams()); - assertSame(Clock.defaultClock(), DEFAULT_OPTIONS.clock()); - assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.host()); - assertSame(RetryParams.defaultInstance(), DEFAULT_OPTIONS.retryParams()); + assertSame(authCredentials, OPTIONS.getAuthCredentials()); + assertSame(TEST_CLOCK, OPTIONS.getClock()); + assertEquals("host", OPTIONS.getHost()); + assertEquals("project-id", OPTIONS.getProjectId()); + assertSame(RetryParams.noRetries(), OPTIONS.getRetryParams()); + assertSame(Clock.defaultClock(), DEFAULT_OPTIONS.getClock()); + assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.getHost()); + assertSame(RetryParams.getDefaultInstance(), DEFAULT_OPTIONS.getRetryParams()); + } + + @Test + public void testBuilderDeprecated() { + assertSame(authCredentials, DEPRECATED_OPTIONS.authCredentials()); + assertSame(TEST_CLOCK, DEPRECATED_OPTIONS.clock()); + assertEquals("host", DEPRECATED_OPTIONS.host()); + assertEquals("project-id", DEPRECATED_OPTIONS.projectId()); + assertSame(RetryParams.noRetries(), DEPRECATED_OPTIONS.retryParams()); + assertSame(Clock.defaultClock(), DEPRECATED_DEFAULT_OPTIONS.clock()); + assertEquals("https://www.googleapis.com", DEPRECATED_DEFAULT_OPTIONS.host()); + assertSame(RetryParams.getDefaultInstance(), DEPRECATED_DEFAULT_OPTIONS.retryParams()); } @Test @@ -204,12 +226,12 @@ public void testGetProjectIdRequired() { @Test public void testService() { - assertTrue(OPTIONS.service() instanceof TestServiceImpl); + assertTrue(OPTIONS.getService() instanceof TestServiceImpl); } @Test public void testRpc() { - assertTrue(OPTIONS.rpc() instanceof DefaultTestServiceRpc); + assertTrue(OPTIONS.getRpc() instanceof DefaultTestServiceRpc); } @Test @@ -220,12 +242,12 @@ public void testBaseEquals() { @Test public void testLibraryName() { - assertEquals(LIBRARY_NAME, OPTIONS.libraryName()); + assertEquals(LIBRARY_NAME, OPTIONS.getLibraryName()); } @Test public void testApplicationName() { - assertTrue(APPLICATION_NAME_PATTERN.matcher(OPTIONS.applicationName()).matches()); + assertTrue(APPLICATION_NAME_PATTERN.matcher(OPTIONS.getApplicationName()).matches()); } @Test diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java index 82996e1ca3f8..959b086aed20 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java @@ -40,7 +40,14 @@ public class WaitForOptionTest { @Test public void testCheckEvery() { - assertEquals(OptionType.CHECKING_PERIOD, CHECKING_PERIOD_OPTION.optionType()); + assertEquals(OptionType.CHECKING_PERIOD, CHECKING_PERIOD_OPTION.getOptionType()); + assertEquals(42, CHECKING_PERIOD_OPTION.getPeriod()); + assertEquals(TimeUnit.MILLISECONDS, CHECKING_PERIOD_OPTION.getUnit()); + } + + @Test + public void testCheckEveryDeprecated() { + assertEquals(OptionType.CHECKING_PERIOD, CHECKING_PERIOD_OPTION.getOptionType()); assertEquals(42, CHECKING_PERIOD_OPTION.period()); assertEquals(TimeUnit.MILLISECONDS, CHECKING_PERIOD_OPTION.unit()); } @@ -53,8 +60,8 @@ public void testCheckEvery_InvalidPeriod() { } @Test - public void testTimeout() { - assertEquals(OptionType.TIMEOUT, TIMEOUT_OPTION.optionType()); + public void testTimeoutDeprecated() { + assertEquals(OptionType.TIMEOUT, TIMEOUT_OPTION.getOptionType()); assertEquals(43, TIMEOUT_OPTION.timeoutMillis()); Timeout timeoutOption = WaitForOption.timeout(43, TimeUnit.SECONDS); assertEquals(43_000, timeoutOption.timeoutMillis()); @@ -102,10 +109,10 @@ public void testGetOrDefault() { assertEquals(TIMEOUT_OPTION, Timeout.getOrDefault(CHECKING_PERIOD_OPTION, TIMEOUT_OPTION)); CheckingPeriod checkingPeriod = CheckingPeriod.getOrDefault(TIMEOUT_OPTION); - assertEquals(500, checkingPeriod.period()); - assertEquals(TimeUnit.MILLISECONDS, checkingPeriod.unit()); + assertEquals(500, checkingPeriod.getPeriod()); + assertEquals(TimeUnit.MILLISECONDS, checkingPeriod.getUnit()); Timeout timeout = Timeout.getOrDefault(CHECKING_PERIOD_OPTION); - assertEquals(-1, timeout.timeoutMillis()); + assertEquals(-1, timeout.getTimeoutMillis()); } @Test From ebb8da313e6a8669f77e0cf971abe34046bc041b Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sat, 29 Oct 2016 16:25:42 +0200 Subject: [PATCH 0235/3036] Release 0.5.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1ea4eb6cceb8..ec6c284be56b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.4.1-SNAPSHOT + 0.5.0 google-cloud-core From 123cb14ca94a13bd7fded9c60dc456299318997a Mon Sep 17 00:00:00 2001 From: travis-ci Date: Sat, 29 Oct 2016 17:20:07 +0000 Subject: [PATCH 0236/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index aabe170ffe50..e727be8f5397 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.4.0 + 0.5.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.4.0' +compile 'com.google.cloud:google-cloud-core:0.5.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.5.0" ``` Troubleshooting From fb28b0e82350d9409ff69dd746b919de9190565b Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sat, 29 Oct 2016 23:48:37 +0200 Subject: [PATCH 0237/3036] Update version to 0.5.1-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ec6c284be56b..a79ffb8ea963 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.5.0 + 0.5.1-SNAPSHOT google-cloud-core From 0a1c05074513f1ac6f1f6bc72161d82ed84d3807 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 4 Nov 2016 09:53:42 +0100 Subject: [PATCH 0238/3036] Reduce gRPC dependency footprint, get rid of duplicate classes (#1365) * Reduce gRPC dependency footprint, get rid of duplicate classes * Wrap grpc version inside a pom.xml property --- java-core/google-cloud-core/pom.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a79ffb8ea963..ae3403cff343 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -103,20 +103,43 @@ protobuf-java 3.0.0 + + io.grpc + grpc-protobuf + ${grpc.version} + com.google.api gax 0.0.21 + + + io.grpc + grpc-all + + com.google.api.grpc grpc-google-common-protos 0.1.0 + + + io.grpc + grpc-all + + com.google.api.grpc grpc-google-iam-v1 0.1.0 + + + io.grpc + grpc-all + + From 843d8e083ce52c75addea46afa9fda4d9fb6ef23 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 4 Nov 2016 14:26:29 +0100 Subject: [PATCH 0239/3036] Release 0.5.1 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ae3403cff343..3fcdcfd55624 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.5.1-SNAPSHOT + 0.5.1 google-cloud-core From d6f529c195191efa70c9da1c176fd2897b8a4f69 Mon Sep 17 00:00:00 2001 From: travis-ci Date: Fri, 4 Nov 2016 14:37:58 +0000 Subject: [PATCH 0240/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e727be8f5397..1665163a9f04 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.5.0 + 0.5.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.5.0' +compile 'com.google.cloud:google-cloud-core:0.5.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.5.1" ``` Troubleshooting From 2c7cc62d7ac79ec24bff69dd9bc10f0262fa3e90 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Sun, 6 Nov 2016 20:12:27 +0100 Subject: [PATCH 0241/3036] Update version to 0.5.2-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3fcdcfd55624..116007ee3d1e 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.5.1 + 0.5.2-SNAPSHOT google-cloud-core From 8b2219225115637168595f3865be984a450ae364 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 8 Nov 2016 10:42:25 +0100 Subject: [PATCH 0242/3036] Remove AuthCredentials and related classes, use google-auth-library-java instead (#1375) * Remove AuthCredentials and related classes, use google-auth-library-java instead * Throw NPE when setCredentials is called with null * Fix wording in main README's Authentication section * Add NoCredentials class and remove setNoCredentials method --- java-core/google-cloud-core/pom.xml | 4 +- .../com/google/cloud/AuthCredentials.java | 606 ------------------ .../com/google/cloud/GrpcServiceOptions.java | 10 +- .../com/google/cloud/HttpServiceOptions.java | 21 +- .../java/com/google/cloud/NoCredentials.java | 41 ++ .../google/cloud/ServiceAccountSigner.java | 73 --- .../java/com/google/cloud/ServiceOptions.java | 72 +-- .../com/google/cloud/AuthCredentialsTest.java | 168 ----- .../google/cloud/HttpServiceOptionsTest.java | 2 +- .../com/google/cloud/SerializationTest.java | 19 +- .../com/google/cloud/ServiceOptionsTest.java | 41 +- 11 files changed, 124 insertions(+), 933 deletions(-) delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 116007ee3d1e..cb46970a7933 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -20,12 +20,12 @@ com.google.auth google-auth-library-credentials - 0.3.1 + ${google.auth.version} com.google.auth google-auth-library-oauth2-http - 0.3.1 + ${google.auth.version} com.google.guava diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java deleted file mode 100644 index 257e801c6f3b..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AuthCredentials.java +++ /dev/null @@ -1,606 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static com.google.common.base.Preconditions.checkNotNull; - -import com.google.auth.oauth2.AccessToken; -import com.google.auth.oauth2.GoogleCredentials; -import com.google.auth.oauth2.ServiceAccountCredentials; - -import java.io.IOException; -import java.io.InputStream; -import java.io.Serializable; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.security.InvalidKeyException; -import java.security.NoSuchAlgorithmException; -import java.security.PrivateKey; -import java.security.Signature; -import java.security.SignatureException; -import java.util.Collection; -import java.util.Date; -import java.util.Objects; - -/** - * Credentials for accessing Google Cloud services. - */ -public abstract class AuthCredentials implements Restorable { - - /** - * Represents built-in credentials when running in Google App Engine. - */ - public static class AppEngineAuthCredentials extends AuthCredentials - implements ServiceAccountSigner { - - private static final AuthCredentials INSTANCE = new AppEngineAuthCredentials(); - private static final AppEngineAuthCredentialsState STATE = new AppEngineAuthCredentialsState(); - - private AppEngineCredentials credentials; - - private static class AppEngineCredentials extends GoogleCredentials - implements ServiceAccountSigner { - - private final Object appIdentityService; - private final String account; - private final Method getAccessToken; - private final Method getAccessTokenResult; - private final Method getExpirationTime; - private final Method signForApp; - private final Method getSignature; - private final Collection scopes; - - AppEngineCredentials() { - try { - Class factoryClass = - Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); - Method method = factoryClass.getMethod("getAppIdentityService"); - this.appIdentityService = method.invoke(null); - Class serviceClass = - Class.forName("com.google.appengine.api.appidentity.AppIdentityService"); - Class tokenResultClass = Class.forName( - "com.google.appengine.api.appidentity.AppIdentityService$GetAccessTokenResult"); - this.getAccessTokenResult = serviceClass.getMethod("getAccessToken", Iterable.class); - this.getAccessToken = tokenResultClass.getMethod("getAccessToken"); - this.getExpirationTime = tokenResultClass.getMethod("getExpirationTime"); - this.account = (String) serviceClass.getMethod("getServiceAccountName") - .invoke(appIdentityService); - this.signForApp = serviceClass.getMethod("signForApp", byte[].class); - Class signingResultClass = Class.forName( - "com.google.appengine.api.appidentity.AppIdentityService$SigningResult"); - this.getSignature = signingResultClass.getMethod("getSignature"); - this.scopes = null; - } catch (Exception e) { - throw new RuntimeException("Could not create AppEngineCredentials.", e); - } - } - - AppEngineCredentials(Collection scopes, AppEngineCredentials unscoped) { - this.appIdentityService = unscoped.appIdentityService; - this.getAccessToken = unscoped.getAccessToken; - this.getAccessTokenResult = unscoped.getAccessTokenResult; - this.getExpirationTime = unscoped.getExpirationTime; - this.account = unscoped.account; - this.signForApp = unscoped.signForApp; - this.getSignature = unscoped.getSignature; - this.scopes = scopes; - } - - /** - * Refresh the access token by getting it from the App Identity service. - */ - @Override - public AccessToken refreshAccessToken() throws IOException { - if (createScopedRequired()) { - throw new IOException("AppEngineCredentials requires createScoped call before use."); - } - try { - Object accessTokenResult = getAccessTokenResult.invoke(appIdentityService, scopes); - String accessToken = (String) getAccessToken.invoke(accessTokenResult); - Date expirationTime = (Date) getExpirationTime.invoke(accessTokenResult); - return new AccessToken(accessToken, expirationTime); - } catch (Exception e) { - throw new IOException("Could not get the access token.", e); - } - } - - @Override - public boolean createScopedRequired() { - return scopes == null || scopes.isEmpty(); - } - - @Override - public GoogleCredentials createScoped(Collection scopes) { - return new AppEngineCredentials(scopes, this); - } - - @Override - public String account() { - return getAccount(); - } - - @Override - public String getAccount() { - return account; - } - - @Override - public byte[] sign(byte[] toSign) { - try { - Object signingResult = signForApp.invoke(appIdentityService, toSign); - return (byte[]) getSignature.invoke(signingResult); - } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) { - throw new SigningException("Failed to sign the provided bytes", ex); - } - } - } - - private static class AppEngineAuthCredentialsState - implements RestorableState, Serializable { - - private static final long serialVersionUID = 3558563960848658928L; - - @Override - public AuthCredentials restore() { - return INSTANCE; - } - - @Override - public int hashCode() { - return getClass().getName().hashCode(); - } - - @Override - public boolean equals(Object obj) { - return obj instanceof AppEngineAuthCredentialsState; - } - } - - @Override - @Deprecated - public AppEngineCredentials credentials() { - return getCredentials(); - } - - @Override - public AppEngineCredentials getCredentials() { - if (credentials == null) { - credentials = new AppEngineCredentials(); - } - return credentials; - } - - @Override - public RestorableState capture() { - return STATE; - } - - @Override - @Deprecated - public String account() { - return getAccount(); - } - - @Override - public String getAccount() { - return getCredentials().getAccount(); - } - - @Override - public byte[] sign(byte[] toSign) { - return getCredentials().sign(toSign); - } - } - - /** - * Represents service account credentials. - * - * @see - * User accounts and service accounts - */ - public static class ServiceAccountAuthCredentials extends AuthCredentials - implements ServiceAccountSigner { - - private final ServiceAccountCredentials credentials; - private final String account; - private final PrivateKey privateKey; - - private static class ServiceAccountAuthCredentialsState - implements RestorableState, Serializable { - - private static final long serialVersionUID = -7302180782414633639L; - - private final String account; - private final PrivateKey privateKey; - - private ServiceAccountAuthCredentialsState(String account, PrivateKey privateKey) { - this.account = account; - this.privateKey = privateKey; - } - - @Override - public AuthCredentials restore() { - return new ServiceAccountAuthCredentials(account, privateKey); - } - - @Override - public int hashCode() { - return Objects.hash(account, privateKey); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof ServiceAccountAuthCredentialsState)) { - return false; - } - ServiceAccountAuthCredentialsState other = (ServiceAccountAuthCredentialsState) obj; - return Objects.equals(account, other.account) - && Objects.equals(privateKey, other.privateKey); - } - } - - ServiceAccountAuthCredentials(String account, PrivateKey privateKey) { - this(new ServiceAccountCredentials(null, account, privateKey, null, null)); - } - - ServiceAccountAuthCredentials(ServiceAccountCredentials credentials) { - this.credentials = checkNotNull(credentials); - this.account = checkNotNull(credentials.getClientEmail()); - this.privateKey = checkNotNull(credentials.getPrivateKey()); - } - - @Override - @Deprecated - public ServiceAccountCredentials credentials() { - return getCredentials(); - } - - @Override - public ServiceAccountCredentials getCredentials() { - return credentials; - } - - @Override - @Deprecated - public String account() { - return account; - } - - @Override - public String getAccount() { - return account; - } - - /** - * Returns the private key associated with the service account credentials. - */ - @Deprecated - public PrivateKey privateKey() { - return getPrivateKey(); - } - - /** - * Returns the private key associated with the service account credentials. - */ - public PrivateKey getPrivateKey() { - return privateKey; - } - - @Override - public byte[] sign(byte[] toSign) { - try { - Signature signer = Signature.getInstance("SHA256withRSA"); - signer.initSign(getPrivateKey()); - signer.update(toSign); - return signer.sign(); - } catch (NoSuchAlgorithmException | InvalidKeyException | SignatureException ex) { - throw new SigningException("Failed to sign the provided bytes", ex); - } - } - - @Override - public RestorableState capture() { - return new ServiceAccountAuthCredentialsState(account, privateKey); - } - } - - /** - * Represents Application Default Credentials, which are credentials that are inferred from the - * runtime environment. - * - * @see - * Google Application Default Credentials - */ - public static class ApplicationDefaultAuthCredentials extends AuthCredentials { - - private GoogleCredentials googleCredentials; - - private static final ApplicationDefaultAuthCredentialsState STATE = - new ApplicationDefaultAuthCredentialsState(); - - private static class ApplicationDefaultAuthCredentialsState - implements RestorableState, Serializable { - - private static final long serialVersionUID = -8839085552021212257L; - - @Override - public AuthCredentials restore() { - try { - return new ApplicationDefaultAuthCredentials(); - } catch (IOException e) { - throw new IllegalStateException( - "Could not restore " + ApplicationDefaultAuthCredentials.class.getSimpleName(), e); - } - } - - @Override - public int hashCode() { - return getClass().getName().hashCode(); - } - - @Override - public boolean equals(Object obj) { - return obj instanceof ApplicationDefaultAuthCredentialsState; - } - } - - ApplicationDefaultAuthCredentials(GoogleCredentials credentials) { - googleCredentials = credentials; - } - - ApplicationDefaultAuthCredentials() throws IOException { - googleCredentials = GoogleCredentials.getApplicationDefault(); - } - - @Override - @Deprecated - public GoogleCredentials credentials() { - return getCredentials(); - } - - @Override - public GoogleCredentials getCredentials() { - return googleCredentials; - } - - @Override - public RestorableState capture() { - return STATE; - } - } - - /** - * Represents OAuth2 credentials. These credentials can be created given an OAuth2 access token. - * The access token will not be automatically refreshed. - */ - public static class OAuth2AuthCredentials extends AuthCredentials { - - private final GoogleCredentials credentials; - private final String accessToken; - private final Date expirationTime; - - private static class OAuth2AuthCredentialsState - implements RestorableState, Serializable { - - private static final long serialVersionUID = -7760693952274496205L; - - private final String accessToken; - private final Date expirationTime; - - private OAuth2AuthCredentialsState(String accessToken, Date expirationTime) { - this.accessToken = accessToken; - this.expirationTime = expirationTime; - } - - @Override - public AuthCredentials restore() { - return new OAuth2AuthCredentials(accessToken, expirationTime); - } - - @Override - public int hashCode() { - return Objects.hash(accessToken, expirationTime); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof OAuth2AuthCredentialsState)) { - return false; - } - OAuth2AuthCredentialsState other = (OAuth2AuthCredentialsState) obj; - return Objects.equals(accessToken, other.accessToken) - && Objects.equals(expirationTime, other.expirationTime); - } - } - - OAuth2AuthCredentials(String accessToken, Date expirationTime) { - this.accessToken = checkNotNull(accessToken); - this.expirationTime = expirationTime; - this.credentials = new GoogleCredentials(new AccessToken(accessToken, expirationTime)); - } - - @Override - @Deprecated - public GoogleCredentials credentials() { - return getCredentials(); - } - - @Override - public GoogleCredentials getCredentials() { - return credentials; - } - - @Override - public RestorableState capture() { - return new OAuth2AuthCredentialsState(accessToken, expirationTime); - } - } - - /** - * A placeholder for credentials to signify that requests sent to the server should not be - * authenticated. This is typically useful when using the local service emulators, such as - * {@code LocalDatastoreHelper} and {@code LocalResourceManagerHelper}. - */ - public static class NoAuthCredentials extends AuthCredentials { - - private static final AuthCredentials INSTANCE = new NoAuthCredentials(); - private static final NoAuthCredentialsState STATE = new NoAuthCredentialsState(); - - private static class NoAuthCredentialsState - implements RestorableState, Serializable { - - private static final long serialVersionUID = -4022100563954640465L; - - @Override - public AuthCredentials restore() { - return INSTANCE; - } - - @Override - public int hashCode() { - return getClass().getName().hashCode(); - } - - @Override - public boolean equals(Object obj) { - return obj instanceof NoAuthCredentialsState; - } - } - - private NoAuthCredentials() {} - - @Override - @Deprecated - public GoogleCredentials credentials() { - return getCredentials(); - } - - @Override - public GoogleCredentials getCredentials() { - return null; - } - - @Override - public RestorableState capture() { - return STATE; - } - } - - @Deprecated - public abstract GoogleCredentials credentials(); - - public abstract GoogleCredentials getCredentials(); - - public static AuthCredentials createForAppEngine() { - return AppEngineAuthCredentials.INSTANCE; - } - - /** - * Returns the Application Default Credentials. - * - *

    Returns the Application Default Credentials which are credentials that identify and - * authorize the whole application. This is the built-in service account if running on - * Google Compute Engine or the credentials file can be read from the path in the environment - * variable GOOGLE_APPLICATION_CREDENTIALS. - *

    - * - * @return the credentials instance - * @throws IOException if the credentials cannot be created in the current environment - */ - public static AuthCredentials createApplicationDefaults() throws IOException { - GoogleCredentials credentials = GoogleCredentials.getApplicationDefault(); - if (credentials instanceof ServiceAccountCredentials) { - ServiceAccountCredentials serviceAccountCredentials = (ServiceAccountCredentials) credentials; - return new ServiceAccountAuthCredentials(serviceAccountCredentials); - } - return new ApplicationDefaultAuthCredentials(credentials); - } - - /** - * Creates Service Account Credentials given an account id and a private key. - * - *

    For details on how to obtain Service Account Credentials see - * Service - * Account Authentication. - *

    - * - * @param account id of the Service Account - * @param privateKey private key associated to the account - * @return the credentials instance - */ - public static ServiceAccountAuthCredentials createFor(String account, PrivateKey privateKey) { - return new ServiceAccountAuthCredentials(account, privateKey); - } - - /** - * Creates OAuth2 Credentials given the string representation of an access token. The access token - * will not be automatically refreshed. - * - * @param accessToken string representation of an access token - * @return the credentials instance - */ - public static OAuth2AuthCredentials createFor(String accessToken) { - return createFor(accessToken, (Date) null); - } - - /** - * Creates OAuth2 Credentials given the string representation of an access token and its - * expiration time. The access token will not be automatically refreshed. - * - * @param accessToken string representation of an access token - * @return the credentials instance - */ - public static OAuth2AuthCredentials createFor(String accessToken, Date expirationTime) { - return new OAuth2AuthCredentials(accessToken, expirationTime); - } - - /** - * Creates a placeholder denoting that no credentials should be used. This is typically useful - * when using the local service emulators, such as {@code LocalDatastoreHelper} and - * {@code LocalResourceManagerHelper}. - */ - public static AuthCredentials noAuth() { - return NoAuthCredentials.INSTANCE; - } - - /** - * Creates Service Account Credentials given a stream for credentials in JSON format. - * - *

    For details on how to obtain Service Account Credentials in JSON format see - * Service - * Account Authentication. - *

    - * - * @param jsonCredentialStream stream for Service Account Credentials in JSON format - * @return the credentials instance - * @throws IOException if the credentials cannot be created from the stream - */ - public static ServiceAccountAuthCredentials createForJson(InputStream jsonCredentialStream) - throws IOException { - GoogleCredentials tempCredentials = GoogleCredentials.fromStream(jsonCredentialStream); - if (tempCredentials instanceof ServiceAccountCredentials) { - ServiceAccountCredentials tempServiceAccountCredentials = - (ServiceAccountCredentials) tempCredentials; - return new ServiceAccountAuthCredentials( - tempServiceAccountCredentials.getClientEmail(), - tempServiceAccountCredentials.getPrivateKey()); - } - throw new IOException( - "The given JSON Credentials Stream is not for a service account credential."); - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index e0017e09191c..25cd8a29cc56 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -21,7 +21,7 @@ import com.google.api.gax.core.ConnectionSettings; import com.google.api.gax.core.RetrySettings; import com.google.api.gax.grpc.UnaryCallSettings; -import com.google.auth.oauth2.GoogleCredentials; +import com.google.auth.Credentials; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; @@ -52,7 +52,7 @@ public abstract class GrpcServiceOptions, Ser OptionsT extends GrpcServiceOptions> extends ServiceOptions { - private static final long serialVersionUID = 6415982522610509549L; + private static final long serialVersionUID = -3093986242928037007L; private final String executorFactoryClassName; private final int initialTimeout; private final double timeoutMultiplier; @@ -319,9 +319,9 @@ protected ConnectionSettings.Builder getConnectionSettings() { ConnectionSettings.Builder builder = ConnectionSettings.newBuilder() .setServiceAddress(hostAndPort.getHostText()) .setPort(hostAndPort.getPort()); - GoogleCredentials credentials = getAuthCredentials().getCredentials(); - if (credentials != null) { - builder.provideCredentialsWith(credentials.createScoped(getScopes())); + Credentials scopedCredentials = getScopedCredentials(); + if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { + builder.provideCredentialsWith(scopedCredentials); } return builder; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java index 9e49d537f375..d816ed1a7bd3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java @@ -23,7 +23,9 @@ import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.auth.Credentials; import com.google.auth.http.HttpCredentialsAdapter; +import com.google.auth.http.HttpTransportFactory; import com.google.cloud.spi.ServiceRpcFactory; import java.io.IOException; @@ -42,23 +44,13 @@ public abstract class HttpServiceOptions, Ser OptionsT extends HttpServiceOptions> extends ServiceOptions { - private static final long serialVersionUID = 3652819407083815771L; + private static final long serialVersionUID = 4765436436821178975L; private final int connectTimeout; private final int readTimeout; private final String httpTransportFactoryClassName; private transient HttpTransportFactory httpTransportFactory; - /** - * A base interface for all {@link HttpTransport} factories. - * - *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation - * is done via {@link java.util.ServiceLoader}. - */ - public interface HttpTransportFactory { - HttpTransport create(); - } - public static class DefaultHttpTransportFactory implements HttpTransportFactory { private static final HttpTransportFactory INSTANCE = new DefaultHttpTransportFactory(); @@ -221,11 +213,10 @@ public HttpRequestInitializer httpRequestInitializer() { * options. */ public HttpRequestInitializer getHttpRequestInitializer() { + Credentials scopedCredentials = getScopedCredentials(); final HttpRequestInitializer delegate = - getAuthCredentials() != null && getAuthCredentials().getCredentials() != null - ? new HttpCredentialsAdapter( - getAuthCredentials().getCredentials().createScoped(getScopes())) - : null; + scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() + ? new HttpCredentialsAdapter(scopedCredentials) : null; return new HttpRequestInitializer() { @Override public void initialize(HttpRequest httpRequest) throws IOException { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java new file mode 100644 index 000000000000..3f5cfbdbfc02 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java @@ -0,0 +1,41 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.auth.oauth2.OAuth2Credentials; + +import java.io.ObjectStreamException; + +/** + * A placeholder for credentials to signify that requests sent to the server should not be + * authenticated. This is typically useful when using local service emulators. + */ +public class NoCredentials extends OAuth2Credentials { + + private static final long serialVersionUID = -6263971603971044288L; + private static final NoCredentials INSTANCE = new NoCredentials(); + + private NoCredentials() {} + + private Object readResolve() throws ObjectStreamException { + return INSTANCE; + } + + public static NoCredentials getInstance() { + return INSTANCE; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java deleted file mode 100644 index 29202c69d0ae..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceAccountSigner.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import java.util.Objects; - -/** - * Interface for a service account signer. A signer for a service account is capable of signing - * bytes using the private key associated with its service account. - */ -public interface ServiceAccountSigner { - - class SigningException extends RuntimeException { - - private static final long serialVersionUID = 8962780757822799255L; - - SigningException(String message, Exception cause) { - super(message, cause); - } - - @Override - public boolean equals(Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof SigningException)) { - return false; - } - SigningException other = (SigningException) obj; - return Objects.equals(getCause(), other.getCause()) - && Objects.equals(getMessage(), other.getMessage()); - } - - @Override - public int hashCode() { - return Objects.hash(getMessage(), getCause()); - } - } - - /** - * Returns the service account associated with the signer. - */ - @Deprecated - String account(); - - /** - * Returns the service account associated with the signer. - */ - String getAccount(); - - /** - * Signs the provided bytes using the private key associated with the service account. - * - * @param toSign bytes to sign - * @return signed bytes - * @throws SigningException if the attempt to sign the provided bytes failed - */ - byte[] sign(byte[] toSign); -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index f918cd2188c4..c14c770e3bc8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -18,8 +18,11 @@ import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.common.base.Preconditions.checkArgument; +import static com.google.common.base.Preconditions.checkNotNull; import static java.nio.charset.StandardCharsets.UTF_8; +import com.google.auth.Credentials; +import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.collect.Iterables; import com.google.common.io.Files; @@ -73,17 +76,16 @@ public abstract class ServiceOptions, Service private static final String LIBRARY_VERSION = defaultLibraryVersion(); private static final String APPLICATION_NAME = LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; - private static final long serialVersionUID = 3049375916337507361L; + private static final long serialVersionUID = -5714029257168617973L; private final String projectId; private final String host; - private final RestorableState authCredentialsState; private final RetryParams retryParams; private final String serviceRpcFactoryClassName; private final String serviceFactoryClassName; private final Clock clock; + private final Credentials credentials; - private transient AuthCredentials authCredentials; private transient ServiceRpcFactory serviceRpcFactory; private transient ServiceFactory serviceFactory; private transient ServiceT service; @@ -103,7 +105,7 @@ protected abstract static class Builder, Serv private String projectId; private String host; - private AuthCredentials authCredentials; + private Credentials credentials; private RetryParams retryParams; private ServiceFactory serviceFactory; private ServiceRpcFactory serviceRpcFactory; @@ -114,7 +116,7 @@ protected Builder() {} protected Builder(ServiceOptions options) { projectId = options.projectId; host = options.host; - authCredentials = options.authCredentials; + credentials = options.credentials; retryParams = options.retryParams; serviceFactory = options.serviceFactory; serviceRpcFactory = options.serviceRpcFactory; @@ -209,22 +211,18 @@ public B setHost(String host) { } /** - * Sets the service authentication credentials. + * Sets the service authentication credentials. If no credentials are set, + * {@link GoogleCredentials#getApplicationDefault()} will be used to attempt getting credentials + * from the environment. Use {@link NoCredentials#getInstance()} to skip authentication, this is + * typically useful when using local service emulators. * + * @param credentials authentication credentials, should not be {@code null} * @return the builder + * @throws NullPointerException if {@code credentials} is {@code null}. To disable + * authentication use {@link NoCredentials#getInstance()} */ - @Deprecated - public B authCredentials(AuthCredentials authCredentials) { - return setAuthCredentials(authCredentials); - } - - /** - * Sets the service authentication credentials. - * - * @return the builder - */ - public B setAuthCredentials(AuthCredentials authCredentials) { - this.authCredentials = authCredentials; + public B setCredentials(Credentials credentials) { + this.credentials = checkNotNull(credentials); return self(); } @@ -284,9 +282,7 @@ protected ServiceOptions(Class> ser + "or the environment. Please set a project ID using the builder."); } host = firstNonNull(builder.host, getDefaultHost()); - authCredentials = - builder.authCredentials != null ? builder.authCredentials : defaultAuthCredentials(); - authCredentialsState = authCredentials != null ? authCredentials.capture() : null; + credentials = builder.credentials != null ? builder.credentials : defaultCredentials(); retryParams = firstNonNull(builder.retryParams, defaultRetryParams()); serviceFactory = firstNonNull(builder.serviceFactory, getFromServiceLoader(serviceFactoryClass, getDefaultServiceFactory())); @@ -307,18 +303,9 @@ protected boolean projectIdRequired() { return true; } - private static AuthCredentials defaultAuthCredentials() { - // Consider App Engine. - if (appEngineAppId() != null) { - try { - return AuthCredentials.createForAppEngine(); - } catch (Exception ignore) { - // Maybe not on App Engine - } - } - + private static GoogleCredentials defaultCredentials() { try { - return AuthCredentials.createApplicationDefaults(); + return GoogleCredentials.getApplicationDefault(); } catch (Exception ex) { return null; } @@ -528,16 +515,20 @@ public String getHost() { /** * Returns the authentication credentials. */ - @Deprecated - public AuthCredentials authCredentials() { - return getAuthCredentials(); + public Credentials getCredentials() { + return credentials; } /** - * Returns the authentication credentials. + * Returns the authentication credentials. If required, credentials are scoped. */ - public AuthCredentials getAuthCredentials() { - return authCredentials; + public Credentials getScopedCredentials() { + Credentials credentialsToReturn = credentials; + if (credentials instanceof GoogleCredentials + && ((GoogleCredentials) credentials).createScopedRequired()) { + credentialsToReturn = ((GoogleCredentials) credentials).createScoped(getScopes()); + } + return credentialsToReturn; } /** @@ -619,14 +610,14 @@ public String getLibraryVersion() { } protected int baseHashCode() { - return Objects.hash(projectId, host, authCredentialsState, retryParams, serviceFactoryClassName, + return Objects.hash(projectId, host, credentials, retryParams, serviceFactoryClassName, serviceRpcFactoryClassName, clock); } protected boolean baseEquals(ServiceOptions other) { return Objects.equals(projectId, other.projectId) && Objects.equals(host, other.host) - && Objects.equals(authCredentialsState, other.authCredentialsState) + && Objects.equals(credentials, other.credentials) && Objects.equals(retryParams, other.retryParams) && Objects.equals(serviceFactoryClassName, other.serviceFactoryClassName) && Objects.equals(serviceRpcFactoryClassName, other.serviceRpcFactoryClassName) @@ -637,7 +628,6 @@ private void readObject(ObjectInputStream input) throws IOException, ClassNotFou input.defaultReadObject(); serviceFactory = newInstance(serviceFactoryClassName); serviceRpcFactory = newInstance(serviceRpcFactoryClassName); - authCredentials = authCredentialsState != null ? authCredentialsState.restore() : null; } @SuppressWarnings("unchecked") diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java deleted file mode 100644 index 3ae34e6ca934..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AuthCredentialsTest.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static com.google.common.base.Charsets.UTF_8; -import static org.junit.Assert.assertArrayEquals; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertSame; - -import com.google.auth.oauth2.AccessToken; -import com.google.auth.oauth2.ServiceAccountCredentials; -import com.google.cloud.AuthCredentials.OAuth2AuthCredentials; -import com.google.cloud.AuthCredentials.ServiceAccountAuthCredentials; -import com.google.common.io.BaseEncoding; - -import org.junit.BeforeClass; -import org.junit.Test; - -import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.security.InvalidKeyException; -import java.security.KeyFactory; -import java.security.NoSuchAlgorithmException; -import java.security.PrivateKey; -import java.security.Signature; -import java.security.SignatureException; -import java.security.spec.InvalidKeySpecException; -import java.security.spec.PKCS8EncodedKeySpec; -import java.util.Date; - -public class AuthCredentialsTest { - - private static final String ACCESS_TOKEN = "accessToken"; - private static final Date EXPIRATION_DATE = new Date(); - private static final String SERVICE_ACCOUNT = "someclientid@developer.gserviceaccount.com"; - private static final String PRIVATE_KEY_STRING = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoG" - + "BAL2xolH1zrISQ8+GzOV29BNjjzq4/HIP8Psd1+cZb81vDklSF+95wB250MSE0BDc81pvIMwj5OmIfLg1NY6uB1xav" - + "OPpVdx1z664AGc/BEJ1zInXGXaQ6s+SxGenVq40Yws57gikQGMZjttpf1Qbz4DjkxsbRoeaRHn06n9pH1ejAgMBAAE" - + "CgYEAkWcm0AJF5LMhbWKbjkxm/LG06UNApkHX6vTOOOODkonM/qDBnhvKCj8Tan+PaU2j7679Cd19qxCm4SBQJET7e" - + "BhqLD9L2j9y0h2YUQnLbISaqUS1/EXcr2C1Lf9VCEn1y/GYuDYqs85rGoQ4ZYfM9ClROSq86fH+cbIIssqJqukCQQD" - + "18LjfJz/ichFeli5/l1jaFid2XoCH3T6TVuuysszVx68fh60gSIxEF/0X2xB+wuPxTP4IQ+t8tD/ktd232oWXAkEAx" - + "XPych2QBHePk9/lek4tOkKBgfnDzex7S/pI0G1vpB3VmzBbCsokn9lpOv7JV8071GDlW/7R6jlLfpQy3hN31QJAE10" - + "osSk99m5Uv8XDU3hvHnywDrnSFOBulNs7I47AYfSe7TSZhPkxUgsxejddTR27JLyTI8N1PxRSE4feNSOXcQJAMMKJR" - + "JT4U6IS2rmXubREhvaVdLtxFxEnAYQ1JwNfZm/XqBMw6GEy2iaeTetNXVlZRQEIoscyn1y2v/No/F5iYQJBAKBOGAS" - + "oQcBjGTOg/H/SfcE8QVNsKEpthRrs6CkpT80aZ/AV+ksfoIf2zw2M3mAHfrO+TBLdz4sicuFQvlN9SEc="; - private static final String JSON_KEY = "{\n" - + " \"private_key_id\": \"somekeyid\",\n" - + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\n" + PRIVATE_KEY_STRING - + "\\n-----END PRIVATE KEY-----\\n\",\n" - + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" - + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" - + " \"type\": \"service_account\"\n" - + "}"; - private static final AuthCredentials NO_AUTH_CREDENTIALS = AuthCredentials.noAuth(); - private static final OAuth2AuthCredentials OAUTH2_AUTH_CREDENTIALS = - AuthCredentials.createFor(ACCESS_TOKEN, EXPIRATION_DATE); - private static final byte[] BYTES_TO_SIGN = PRIVATE_KEY_STRING.getBytes(UTF_8); - - private static PrivateKey privateKey; - private static byte[] signedBytes; - - @BeforeClass - public static void beforeClass() throws NoSuchAlgorithmException, InvalidKeySpecException, - InvalidKeyException, SignatureException { - KeyFactory keyFactory = KeyFactory.getInstance("RSA"); - privateKey = keyFactory.generatePrivate( - new PKCS8EncodedKeySpec(BaseEncoding.base64().decode(PRIVATE_KEY_STRING))); - Signature signature = Signature.getInstance("SHA256withRSA"); - signature.initSign(privateKey); - signature.update(BYTES_TO_SIGN); - signedBytes = signature.sign(); - } - - @Test - public void testNoAuthCredentials() { - assertSame(NO_AUTH_CREDENTIALS, AuthCredentials.noAuth()); - assertNull(NO_AUTH_CREDENTIALS.getCredentials()); - } - - @Test - public void testNoAuthCredentialsDeprecated() { - assertSame(NO_AUTH_CREDENTIALS, AuthCredentials.noAuth()); - assertNull(NO_AUTH_CREDENTIALS.credentials()); - } - - @Test - public void testOAuth2AuthCredentials() { - AccessToken accessToken = OAUTH2_AUTH_CREDENTIALS.getCredentials().getAccessToken(); - assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); - assertEquals(EXPIRATION_DATE, accessToken.getExpirationTime()); - OAuth2AuthCredentials oAuth2AuthCredentials = - AuthCredentials.createFor(ACCESS_TOKEN); - accessToken = oAuth2AuthCredentials.getCredentials().getAccessToken(); - assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); - assertNull(accessToken.getExpirationTime()); - } - - @Test - public void testOAuth2AuthCredentialsDeprecated() { - AccessToken accessToken = OAUTH2_AUTH_CREDENTIALS.credentials().getAccessToken(); - assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); - assertEquals(EXPIRATION_DATE, accessToken.getExpirationTime()); - OAuth2AuthCredentials oAuth2AuthCredentials = - AuthCredentials.createFor(ACCESS_TOKEN); - accessToken = oAuth2AuthCredentials.credentials().getAccessToken(); - assertEquals(ACCESS_TOKEN, accessToken.getTokenValue()); - assertNull(accessToken.getExpirationTime()); - } - - @Test - public void testServiceAccountFromJson() throws IOException, SignatureException { - ServiceAccountAuthCredentials serviceAccountAuthCredentials = - AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())); - ServiceAccountCredentials credentials = serviceAccountAuthCredentials.getCredentials(); - assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.getAccount()); - assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); - assertEquals(privateKey, credentials.getPrivateKey()); - assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); - } - - @Test - public void testServiceAccountFromJsonDeprecated() throws IOException, SignatureException { - ServiceAccountAuthCredentials serviceAccountAuthCredentials = - AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())); - ServiceAccountCredentials credentials = serviceAccountAuthCredentials.credentials(); - assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.account()); - assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); - assertEquals(privateKey, credentials.getPrivateKey()); - assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); - } - - @Test - public void testServiceAccountFromKey() throws IOException, SignatureException { - ServiceAccountAuthCredentials serviceAccountAuthCredentials = - AuthCredentials.createFor(SERVICE_ACCOUNT, privateKey); - ServiceAccountCredentials credentials = serviceAccountAuthCredentials.getCredentials(); - assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.getAccount()); - assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); - assertEquals(privateKey, credentials.getPrivateKey()); - assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); - } - - @Test - public void testServiceAccountFromKeyDeprecated() throws IOException, SignatureException { - ServiceAccountAuthCredentials serviceAccountAuthCredentials = - AuthCredentials.createFor(SERVICE_ACCOUNT, privateKey); - ServiceAccountCredentials credentials = serviceAccountAuthCredentials.credentials(); - assertEquals(SERVICE_ACCOUNT, serviceAccountAuthCredentials.account()); - assertEquals(SERVICE_ACCOUNT, credentials.getClientEmail()); - assertEquals(privateKey, credentials.getPrivateKey()); - assertArrayEquals(signedBytes, serviceAccountAuthCredentials.sign(BYTES_TO_SIGN)); - } -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java index a372498c2173..9ac2891c6cbf 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java @@ -21,8 +21,8 @@ import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; +import com.google.auth.http.HttpTransportFactory; import com.google.cloud.HttpServiceOptions.DefaultHttpTransportFactory; -import com.google.cloud.HttpServiceOptions.HttpTransportFactory; import com.google.cloud.spi.ServiceRpcFactory; import org.easymock.EasyMock; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 746f2b406b13..d2e2de4f4afd 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -18,14 +18,10 @@ import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; -import com.google.cloud.ServiceAccountSigner.SigningException; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; -import java.io.ByteArrayInputStream; -import java.io.IOException; import java.io.Serializable; -import java.util.Date; import java.util.concurrent.TimeUnit; public class SerializationTest extends BaseSerializationTest { @@ -36,8 +32,6 @@ public class SerializationTest extends BaseSerializationTest { private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); - private static final SigningException SIGNING_EXCEPTION = - new SigningException("message", BASE_SERVICE_EXCEPTION); private static final RetryParams RETRY_PARAMS = RetryParams.getDefaultInstance(); private static final Role SOME_ROLE = Role.viewer(); private static final Policy SOME_IAM_POLICY = Policy.newBuilder().build(); @@ -82,19 +76,12 @@ public class SerializationTest extends BaseSerializationTest { @Override protected Serializable[] serializableObjects() { return new Serializable[]{BASE_SERVICE_EXCEPTION, EXCEPTION_HANDLER, IDENTITY, PAGE, - RETRY_PARAMS, SOME_ROLE, SOME_IAM_POLICY, SIGNING_EXCEPTION, CHECKING_PERIOD, - LABEL_DESCRIPTOR, MONITORED_RESOURCE_DESCRIPTOR, MONITORED_RESOURCE}; + RETRY_PARAMS, SOME_ROLE, SOME_IAM_POLICY, CHECKING_PERIOD, LABEL_DESCRIPTOR, + MONITORED_RESOURCE_DESCRIPTOR, MONITORED_RESOURCE}; } @Override protected Restorable[] restorableObjects() { - try { - return new Restorable[]{AuthCredentials.createForAppEngine(), AuthCredentials.noAuth(), - AuthCredentials.createForJson(new ByteArrayInputStream(JSON_KEY.getBytes())), - AuthCredentials.createFor("accessToken", new Date())}; - } catch (IOException ex) { - // never reached - throw new RuntimeException(ex); - } + return null; } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index e7e74459d18c..cf364db57ec1 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -22,9 +22,12 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; +import org.junit.Rule; import org.junit.Test; +import org.junit.rules.ExpectedException; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -61,10 +64,10 @@ public class ServiceOptionsTest { + " \"type\": \"service_account\"\n" + "}"; private static final InputStream JSON_KEY_STREAM = new ByteArrayInputStream(JSON_KEY.getBytes()); - private static AuthCredentials authCredentials; + private static GoogleCredentials credentials; static { try { - authCredentials = AuthCredentials.createForJson(JSON_KEY_STREAM); + credentials = GoogleCredentials.fromStream(JSON_KEY_STREAM); } catch (IOException e) { fail("Couldn't create fake JSON credentials."); } @@ -72,7 +75,15 @@ public class ServiceOptionsTest { private static final Clock TEST_CLOCK = new TestClock(); private static final TestServiceOptions OPTIONS = TestServiceOptions.newBuilder() - .setAuthCredentials(authCredentials) + .setCredentials(credentials) + .setClock(TEST_CLOCK) + .setHost("host") + .setProjectId("project-id") + .setRetryParams(RetryParams.noRetries()) + .build(); + private static final TestServiceOptions OPTIONS_NO_CREDENTIALS = + TestServiceOptions.newBuilder() + .setCredentials(NoCredentials.getInstance()) .setClock(TEST_CLOCK) .setHost("host") .setProjectId("project-id") @@ -80,7 +91,7 @@ public class ServiceOptionsTest { .build(); private static final TestServiceOptions DEPRECATED_OPTIONS = TestServiceOptions.newBuilder() - .authCredentials(authCredentials) + .setCredentials(credentials) .clock(TEST_CLOCK) .host("host") .projectId("project-id") @@ -95,6 +106,9 @@ public class ServiceOptionsTest { private static final Pattern APPLICATION_NAME_PATTERN = Pattern.compile(LIBRARY_NAME + "(/[0-9]+.[0-9]+.[0-9]+)?"); + @Rule + public ExpectedException thrown = ExpectedException.none(); + private static class TestClock extends Clock { @Override public long millis() { @@ -197,7 +211,7 @@ public int hashCode() { @Test public void testBuilder() { - assertSame(authCredentials, OPTIONS.getAuthCredentials()); + assertSame(credentials, OPTIONS.getCredentials()); assertSame(TEST_CLOCK, OPTIONS.getClock()); assertEquals("host", OPTIONS.getHost()); assertEquals("project-id", OPTIONS.getProjectId()); @@ -207,9 +221,24 @@ public void testBuilder() { assertSame(RetryParams.getDefaultInstance(), DEFAULT_OPTIONS.getRetryParams()); } + @Test + public void testBuilderNoCredentials() { + assertEquals(NoCredentials.getInstance(), OPTIONS_NO_CREDENTIALS.getCredentials()); + assertSame(TEST_CLOCK, OPTIONS_NO_CREDENTIALS.getClock()); + assertEquals("host", OPTIONS_NO_CREDENTIALS.getHost()); + assertEquals("project-id", OPTIONS_NO_CREDENTIALS.getProjectId()); + assertSame(RetryParams.noRetries(), OPTIONS_NO_CREDENTIALS.getRetryParams()); + } + + @Test + public void testBuilderNullCredentials() { + thrown.expect(NullPointerException.class); + TestServiceOptions.newBuilder().setCredentials(null).build(); + } + @Test public void testBuilderDeprecated() { - assertSame(authCredentials, DEPRECATED_OPTIONS.authCredentials()); + assertSame(credentials, DEPRECATED_OPTIONS.getCredentials()); assertSame(TEST_CLOCK, DEPRECATED_OPTIONS.clock()); assertEquals("host", DEPRECATED_OPTIONS.host()); assertEquals("project-id", DEPRECATED_OPTIONS.projectId()); From 40a8b7ba050520f5ae34961f89aacd6a63a04256 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Wed, 9 Nov 2016 10:21:17 +0100 Subject: [PATCH 0243/3036] Add BaseEmulatorHelper class and tests, refactor helper classes (#1377) --- .../cloud/testing/BaseEmulatorHelper.java | 428 ++++++++++++++++++ .../testing/BlockingProcessStreamReader.java | 158 +++++++ .../google/cloud/testing/CommandWrapper.java | 101 +++++ .../com/google/cloud/testing/Version.java | 92 ++++ .../cloud/testing/BaseEmulatorHelperTest.java | 120 +++++ .../BlockingProcessStreamReaderTest.java | 123 +++++ .../cloud/testing/CommandWrapperTest.java | 122 +++++ .../com/google/cloud/testing/VersionTest.java | 85 ++++ 8 files changed, 1229 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java new file mode 100644 index 000000000000..65277a77463b --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -0,0 +1,428 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing; + +import com.google.cloud.ServiceOptions; +import com.google.common.io.CharStreams; + +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; +import java.io.BufferedReader; +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.math.BigInteger; +import java.net.HttpURLConnection; +import java.net.ServerSocket; +import java.net.URL; +import java.nio.channels.Channels; +import java.nio.channels.ReadableByteChannel; +import java.nio.file.Files; +import java.nio.file.Path; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.Arrays; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; + +/** + * Utility class to start and stop a local service which is used by unit testing. + */ +public abstract class BaseEmulatorHelper { + + private final String emulator; + private final int port; + private final String projectId; + private EmulatorRunner activeRunner; + private BlockingProcessStreamReader blockingProcessReader; + + protected static final String PROJECT_ID_PREFIX = "test-project-"; + protected static final String DEFAULT_HOST = "localhost"; + protected static final int DEFAULT_PORT = 8080; + + protected BaseEmulatorHelper(String emulator, int port, String projectId) { + this.emulator = emulator; + this.port = port > 0 ? port : DEFAULT_PORT; + this.projectId = projectId; + } + + /** + * Returns the emulator runners supported by this emulator. Runners are evaluated in order, the + * first available runner is selected and executed + */ + protected abstract List getEmulatorRunners(); + + /** + * Returns a logger. + */ + protected abstract Logger getLogger(); + + /** + * Starts the local service as a subprocess. Blocks the execution until {@code blockUntilOutput} + * is found on stdout. + */ + protected final void startProcess(String blockUntilOutput) + throws IOException, InterruptedException { + for (EmulatorRunner runner : getEmulatorRunners()) { + // Iterate through all emulator runners until find first available runner. + if (runner.isAvailable()) { + activeRunner = runner; + runner.start(); + break; + } + } + if (activeRunner != null) { + blockingProcessReader = BlockingProcessStreamReader.start(emulator, + activeRunner.getProcess().getInputStream(), blockUntilOutput, getLogger()); + } else { + // No available runner found. + throw new IOException("No available emulator runner is found."); + } + } + + /** + * Stops the local service's subprocess and any possible thread listening for its output. + */ + protected final void stopProcess() throws IOException, InterruptedException { + if (blockingProcessReader != null) { + blockingProcessReader.terminate(); + blockingProcessReader = null; + } + if (activeRunner != null) { + activeRunner.stop(); + activeRunner = null; + } + } + + /** + * Returns the port to which the local emulator is listening. + */ + public int getPort() { + return port; + } + + /** + * Returns the project ID associated with the local emulator. + */ + public String getProjectId() { + return projectId; + } + + /** + * Returns service options to access the local emulator. + */ + public abstract T getOptions(); + + /** + * Starts the local emulator. + */ + public abstract void start() throws IOException, InterruptedException; + + /** + * Stops the local emulator. + */ + public abstract void stop() throws IOException, InterruptedException; + + /** + * Resets the internal state of the emulator. + */ + public abstract void reset() throws IOException; + + protected final String sendPostRequest(String request) throws IOException { + URL url = new URL("http", DEFAULT_HOST, this.port, request); + HttpURLConnection con = (HttpURLConnection) url.openConnection(); + con.setRequestMethod("POST"); + con.setDoOutput(true); + OutputStream out = con.getOutputStream(); + out.write("".getBytes()); + out.flush(); + + InputStream in = con.getInputStream(); + String response = CharStreams.toString(new InputStreamReader(con.getInputStream())); + in.close(); + return response; + } + + protected static int findAvailablePort(int defaultPort) { + try (ServerSocket tempSocket = new ServerSocket(0)) { + return tempSocket.getLocalPort(); + } catch (IOException e) { + return defaultPort; + } + } + + protected static boolean isWindows() { + return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"); + } + + /** + * Utility interface to start and run an emulator. + */ + protected interface EmulatorRunner { + + /** + * Returns {@code true} if the emulator associated to this runner is available and can be + * started. + */ + boolean isAvailable(); + + /** + * Starts the emulator associated to this runner. + */ + void start() throws IOException; + + /** + * Stops the emulator associated to this runner. + */ + void stop() throws InterruptedException; + + /** + * Returns the process associated to the emulator, if any. + */ + Process getProcess(); + } + + /** + * Utility class to start and run an emulator from the Google Cloud SDK. + */ + protected static class GcloudEmulatorRunner implements EmulatorRunner { + + private final List commandText; + private final String versionPrefix; + private final Version minVersion; + private Process process; + private static final Logger log = Logger.getLogger(GcloudEmulatorRunner.class.getName()); + + public GcloudEmulatorRunner(List commandText, String versionPrefix, String minVersion) { + this.commandText = commandText; + this.versionPrefix = versionPrefix; + this.minVersion = Version.fromString(minVersion); + } + + @Override + public boolean isAvailable() { + try { + return isGcloudInstalled() && isEmulatorUpToDate() && !commandText.isEmpty(); + } catch (IOException | InterruptedException e) { + e.printStackTrace(System.err); + } + return false; + } + + @Override + public void start() throws IOException { + log.fine("Starting emulator via Google Cloud SDK"); + process = CommandWrapper.create().setCommand(commandText).setRedirectErrorStream().start(); + } + + @Override + public void stop() throws InterruptedException { + if (process != null) { + process.destroy(); + process.waitFor(); + } + } + + @Override + public Process getProcess() { + return process; + } + + private boolean isGcloudInstalled() { + Map env = System.getenv(); + for (String envName : env.keySet()) { + if ("PATH".equals(envName)) { + return env.get(envName).contains("google-cloud-sdk"); + } + } + return false; + } + + private boolean isEmulatorUpToDate() throws IOException, InterruptedException { + Version currentVersion = getInstalledEmulatorVersion(versionPrefix); + return currentVersion != null && currentVersion.compareTo(minVersion) >= 0; + } + + private Version getInstalledEmulatorVersion(String versionPrefix) + throws IOException, InterruptedException { + Process process = + CommandWrapper.create() + .setCommand(Arrays.asList("gcloud", "version")) + // gcloud redirects all output to stderr while emulators' executables use either + // stdout or stderr with no apparent convention. To be able to properly intercept and + // block waiting for emulators to be ready we redirect everything to stdout + .setRedirectErrorStream() + .start(); + process.waitFor(); + try (BufferedReader reader = + new BufferedReader(new InputStreamReader(process.getInputStream()))) { + for (String line = reader.readLine(); line != null; line = reader.readLine()) { + if (line.startsWith(versionPrefix)) { + String[] lineComponents = line.split(" "); + if (lineComponents.length > 1) { + return Version.fromString(lineComponents[1]); + } + } + } + return null; + } + } + } + + /** + * Utility class to start and run an emulator from a download URL. + */ + protected static class DownloadableEmulatorRunner implements EmulatorRunner { + + private final List commandText; + private final String md5CheckSum; + private final URL downloadUrl; + private final String fileName; + private Process process; + private static final Logger log = Logger.getLogger(DownloadableEmulatorRunner.class.getName()); + + public DownloadableEmulatorRunner(List commandText, URL downloadUrl, + String md5CheckSum) { + this.commandText = commandText; + this.md5CheckSum = md5CheckSum; + this.downloadUrl = downloadUrl; + String[] splitUrl = downloadUrl.toString().split("/"); + this.fileName = splitUrl[splitUrl.length - 1]; + } + + @Override + public boolean isAvailable() { + try { + downloadZipFile(); + return true; + } catch (IOException e) { + return false; + } + } + + @Override + public void start() throws IOException { + Path emulatorPath = downloadEmulator(); + process = CommandWrapper.create() + .setCommand(commandText) + .setDirectory(emulatorPath) + // gcloud redirects all output to stderr while emulators' executables use either stdout + // or stderr with no apparent convention. To be able to properly intercept and block + // waiting for emulators to be ready we redirect everything to stdout + .setRedirectErrorStream() + .start(); + } + + @Override + public void stop() throws InterruptedException { + if (process != null) { + process.destroy(); + process.waitFor(); + } + } + + @Override + public Process getProcess() { + return process; + } + + private Path downloadEmulator() throws IOException { + // Retrieve the file name from the download link + String[] splittedUrl = downloadUrl.toString().split("/"); + String fileName = splittedUrl[splittedUrl.length - 1]; + + // Each run is associated with its own folder that is deleted once test completes. + Path emulatorPath = Files.createTempDirectory(fileName.split("\\.")[0]); + File emulatorFolder = emulatorPath.toFile(); + emulatorFolder.deleteOnExit(); + + File zipFile = downloadZipFile(); + // Unzip the emulator + try (ZipInputStream zipIn = new ZipInputStream(new FileInputStream(zipFile))) { + if (log.isLoggable(Level.FINE)) { + log.fine("Unzipping emulator"); + } + ZipEntry entry = zipIn.getNextEntry(); + while (entry != null) { + File filePath = new File(emulatorPath.toFile(), entry.getName()); + if (!entry.isDirectory()) { + extractFile(zipIn, filePath); + } else { + filePath.mkdir(); + } + zipIn.closeEntry(); + entry = zipIn.getNextEntry(); + } + } + return emulatorPath; + } + + private File downloadZipFile() throws IOException { + // Check if we already have a local copy of the emulator and download it if not. + File zipFile = new File(System.getProperty("java.io.tmpdir"), fileName); + if (!zipFile.exists() || (md5CheckSum != null && !md5CheckSum.equals(md5(zipFile)))) { + if (log.isLoggable(Level.FINE)) { + log.fine("Fetching emulator"); + } + ReadableByteChannel rbc = Channels.newChannel(downloadUrl.openStream()); + try (FileOutputStream fos = new FileOutputStream(zipFile)) { + fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + } + } else { + if (log.isLoggable(Level.FINE)) { + log.fine("Using cached emulator"); + } + } + return zipFile; + } + + private void extractFile(ZipInputStream zipIn, File filePath) throws IOException { + try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(filePath))) { + byte[] bytesIn = new byte[1024]; + int read; + while ((read = zipIn.read(bytesIn)) != -1) { + bos.write(bytesIn, 0, read); + } + } + } + + private static String md5(File zipFile) throws IOException { + try { + MessageDigest md5 = MessageDigest.getInstance("MD5"); + try (InputStream is = new BufferedInputStream(new FileInputStream(zipFile))) { + byte[] bytes = new byte[4 * 1024 * 1024]; + int len; + while ((len = is.read(bytes)) >= 0) { + md5.update(bytes, 0, len); + } + } + return String.format("%032x", new BigInteger(1, md5.digest())); + } catch (NoSuchAlgorithmException e) { + throw new IOException(e); + } + } + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java new file mode 100644 index 000000000000..988b6593a1d4 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java @@ -0,0 +1,158 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing; + +import static com.google.common.base.MoreObjects.firstNonNull; + +import com.google.common.base.Strings; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.util.logging.Level; +import java.util.logging.Logger; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * This class allows to read a process output stream, block until a provided string appears on the + * stream and redirect pertinent error logs to a provided logger. + */ +class BlockingProcessStreamReader extends Thread { + + private static final int STREAM_READER_SLEEP_INTERVAL_IN_MS = 200; + private static final int LOG_LENGTH_LIMIT = 50000; + + private final BufferedReader errorReader; + private final Logger logger; + private StringBuilder currentLog; + private Level currentLogLevel; + private boolean collectionMode; + private volatile boolean terminated; + private final String emulatorTag; + private final Pattern logLinePattern; + + private BlockingProcessStreamReader(String emulator, InputStream stream, String blockUntil, + Logger logger) throws IOException { + super("blocking-process-stream-reader"); + setDaemon(true); + errorReader = new BufferedReader(new InputStreamReader(stream)); + this.logger = logger; + this.emulatorTag = "[" + emulator + "]"; + this.logLinePattern = Pattern.compile("(\\[" + emulator + "\\]\\s)?(\\w+):.*"); + if (!Strings.isNullOrEmpty(blockUntil)) { + String line; + do { + line = errorReader.readLine(); + } while (line != null && !line.contains(blockUntil)); + } + } + + void terminate() throws IOException { + terminated = true; + errorReader.close(); + interrupt(); + } + + @Override + public void run() { + String previousLine = ""; + String nextLine = ""; + while (!terminated) { + try { + if (errorReader.ready()) { + previousLine = nextLine; + nextLine = errorReader.readLine(); + if (nextLine == null) { + terminated = true; + } else { + processLogLine(previousLine, nextLine); + } + } else { + sleep(STREAM_READER_SLEEP_INTERVAL_IN_MS); + } + } catch (IOException e) { + e.printStackTrace(System.err); + } catch (InterruptedException e) { + previousLine = nextLine; + nextLine = null; + break; + } + } + processLogLine(previousLine, firstNonNull(nextLine, "")); + writeLog(); + } + + private void processLogLine(String previousLine, String nextLine) { + // Each log is two lines with the following format: + // [Emulator]? [Date] [Time] [LoggingClass] [method] + // [Emulator]? [LEVEL]: error message + // [Emulator]? more data + // Exceptions and stack traces are included in error stream, separated by a newline + Level nextLogLevel = getLevel(nextLine); + if (nextLogLevel != null) { + writeLog(); + currentLog = new StringBuilder(); + currentLogLevel = nextLogLevel; + collectionMode = true; + } else if (collectionMode) { + if (currentLog.length() > LOG_LENGTH_LIMIT) { + collectionMode = false; + } else if (currentLog.length() == 0) { + // strip level out of the line + currentLog.append(emulatorTag); + currentLog.append(previousLine.split(":", 2)[1]); + currentLog.append(System.getProperty("line.separator")); + } else { + if (!previousLine.startsWith(emulatorTag)) { + currentLog.append(emulatorTag); + currentLog.append(' '); + } + currentLog.append(previousLine); + currentLog.append(System.getProperty("line.separator")); + } + } + } + + private void writeLog() { + if (currentLogLevel != null && currentLog != null && currentLog.length() != 0) { + logger.log(currentLogLevel, currentLog.toString().trim()); + } + } + + private Level getLevel(String line) { + try { + Matcher matcher = logLinePattern.matcher(line); + if (matcher.matches()) { + return Level.parse(matcher.group(2)); + } else { + return null; + } + } catch (IllegalArgumentException e) { + return null; // level wasn't supplied in this log line + } + } + + static BlockingProcessStreamReader start(String emulator, InputStream stream, String blockUntil, + Logger logger) throws IOException { + BlockingProcessStreamReader thread = + new BlockingProcessStreamReader(emulator, stream, blockUntil, logger); + thread.start(); + return thread; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java new file mode 100644 index 000000000000..eaafca79394c --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java @@ -0,0 +1,101 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Path; +import java.util.ArrayList; +import java.util.List; + +/** + * Utility class that executes system commands on both Windows and Unix. + */ +class CommandWrapper { + + private final List prefix; + private List command; + private String nullFilename; + private boolean redirectOutputToNull; + private boolean redirectErrorStream; + private boolean redirectErrorInherit; + private Path directory; + + private CommandWrapper() { + this.prefix = new ArrayList<>(); + if (BaseEmulatorHelper.isWindows()) { + this.prefix.add("cmd"); + this.prefix.add("/C"); + this.nullFilename = "NUL:"; + } else { + this.prefix.add("bash"); + this.nullFilename = "/dev/null"; + } + } + + CommandWrapper setCommand(List command) { + this.command = new ArrayList<>(command.size() + this.prefix.size()); + this.command.addAll(prefix); + this.command.addAll(command); + return this; + } + + CommandWrapper setRedirectOutputToNull() { + this.redirectOutputToNull = true; + return this; + } + + CommandWrapper setRedirectErrorStream() { + this.redirectErrorStream = true; + return this; + } + + CommandWrapper setRedirectErrorInherit() { + this.redirectErrorInherit = true; + return this; + } + + CommandWrapper setDirectory(Path directory) { + this.directory = directory; + return this; + } + + ProcessBuilder getBuilder() { + ProcessBuilder builder = new ProcessBuilder(command); + if (redirectOutputToNull) { + builder.redirectOutput(new File(nullFilename)); + } + if (directory != null) { + builder.directory(directory.toFile()); + } + if (redirectErrorStream) { + builder.redirectErrorStream(true); + } + if (redirectErrorInherit) { + builder.redirectError(ProcessBuilder.Redirect.INHERIT); + } + return builder; + } + + public Process start() throws IOException { + return getBuilder().start(); + } + + static CommandWrapper create() { + return new CommandWrapper(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java new file mode 100644 index 000000000000..bab865eee2ef --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java @@ -0,0 +1,92 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +package com.google.cloud.testing; + +import static com.google.common.base.Preconditions.checkNotNull; + +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * Simplified wrapper for emulator's versions. + */ +class Version implements Comparable { + + private static final Pattern VERSION_PATTERN = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)$"); + + private final int major; + private final int minor; + private final int patch; + + private Version(int major, int minor, int patch) { + this.major = major; + this.minor = minor; + this.patch = patch; + } + + @Override + public int compareTo(Version version) { + int result = major - version.major; + if (result == 0) { + result = minor - version.minor; + if (result == 0) { + result = patch - version.patch; + } + } + return result; + } + + @Override + public String toString() { + return String.format("%d.%d.%d", major, minor, patch); + } + + @Override + public boolean equals(Object other) { + return this == other || other instanceof Version && compareTo((Version) other) == 0; + } + + @Override + public int hashCode() { + return Objects.hash(major, minor, patch); + } + + int getMajor() { + return major; + } + + int getMinor() { + return minor; + } + + int getPatch() { + return patch; + } + + static Version fromString(String version) { + Matcher matcher = VERSION_PATTERN.matcher(checkNotNull(version)); + if (matcher.matches()) { + return new Version( + Integer.valueOf(matcher.group(1)), + Integer.valueOf(matcher.group(2)), + Integer.valueOf(matcher.group(3))); + } + throw new IllegalArgumentException("Invalid version format"); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java new file mode 100644 index 000000000000..7219dcf8025f --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -0,0 +1,120 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing; + +import com.google.api.client.util.Charsets; +import com.google.cloud.ServiceOptions; +import com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner; +import com.google.common.collect.ImmutableList; + +import org.easymock.EasyMock; +import org.junit.Test; + +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.List; +import java.util.logging.Logger; + +public class BaseEmulatorHelperTest { + + private static final String BLOCK_UNTIL = "Block until"; + + private static class TestEmulatorHelper extends BaseEmulatorHelper { + + private final List runners; + private final String blockUntil; + + private TestEmulatorHelper(List runners, String blockUntil) { + super("emulator", 1, "project"); + this.runners = runners; + this.blockUntil = blockUntil; + } + + @Override + protected List getEmulatorRunners() { + return runners; + } + + @Override + protected Logger getLogger() { + return null; + } + + @Override + public ServiceOptions getOptions() { + return null; + } + + @Override + public void start() throws IOException, InterruptedException { + startProcess(blockUntil); + } + + @Override + public void stop() throws IOException, InterruptedException { + stopProcess(); + } + + @Override + public void reset() throws IOException { + // do nothing + } + } + + @Test + public void testEmulatorHelper() throws IOException, InterruptedException { + Process process = EasyMock.createStrictMock(Process.class); + InputStream stream = new ByteArrayInputStream(BLOCK_UNTIL.getBytes(Charsets.UTF_8)); + EmulatorRunner emulatorRunner = EasyMock.createStrictMock(EmulatorRunner.class); + EasyMock.expect(process.getInputStream()).andReturn(stream); + EasyMock.expect(emulatorRunner.isAvailable()).andReturn(true); + emulatorRunner.start(); + EasyMock.expectLastCall(); + EasyMock.expect(emulatorRunner.getProcess()).andReturn(process); + emulatorRunner.stop(); + EasyMock.expectLastCall(); + EasyMock.replay(process, emulatorRunner); + TestEmulatorHelper helper = + new TestEmulatorHelper(ImmutableList.of(emulatorRunner), BLOCK_UNTIL); + helper.start(); + helper.stop(); + EasyMock.verify(); + } + + @Test + public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedException { + Process process = EasyMock.createStrictMock(Process.class); + InputStream stream = new ByteArrayInputStream(BLOCK_UNTIL.getBytes(Charsets.UTF_8)); + EmulatorRunner firstRunner = EasyMock.createStrictMock(EmulatorRunner.class); + EmulatorRunner secondRunner = EasyMock.createStrictMock(EmulatorRunner.class); + EasyMock.expect(process.getInputStream()).andReturn(stream); + EasyMock.expect(firstRunner.isAvailable()).andReturn(false); + EasyMock.expect(secondRunner.isAvailable()).andReturn(true); + secondRunner.start(); + EasyMock.expectLastCall(); + EasyMock.expect(secondRunner.getProcess()).andReturn(process); + secondRunner.stop(); + EasyMock.expectLastCall(); + EasyMock.replay(process, secondRunner); + TestEmulatorHelper helper = + new TestEmulatorHelper(ImmutableList.of(firstRunner, secondRunner), BLOCK_UNTIL); + helper.start(); + helper.stop(); + EasyMock.verify(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java new file mode 100644 index 000000000000..73456f5e3da9 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java @@ -0,0 +1,123 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing; + +import static org.junit.Assert.assertEquals; + +import com.google.api.client.util.Charsets; +import com.google.common.collect.LinkedHashMultimap; +import com.google.common.collect.Multimap; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.Timeout; + +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.util.logging.Level; +import java.util.logging.Logger; + +public class BlockingProcessStreamReaderTest { + + private static final String BLOCK_UNTIL = "Dev App Server is now running"; + private static final String OUTPUT = "First Line\n" + + "Second Line\n" + + BLOCK_UNTIL; + private static final String OUTPUT_WITH_LOGS = "First Line\n" + + BLOCK_UNTIL + "\n" + + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "INFO: log line 1\n" + + "log line 2\n" + + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "FINE: log line 3\n"; + private static final String TAGGED_OUTPUT_WITH_LOGS = "[emulator] First Line\n" + + "[emulator]" + BLOCK_UNTIL + "\n" + + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "[emulator] INFO: log line 1\n" + + "[emulator] log line 2\n" + + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "[emulator] FINE: log line 3\n"; + + + @Rule + public Timeout globalTimeout = Timeout.seconds(10); + + private static final class TestLogger extends Logger { + + private final Multimap logs = LinkedHashMultimap.create(); + + private TestLogger() { + super("text-logger", null); + } + + public void log(Level level, String msg) { + logs.put(level, msg); + } + + Multimap getLogs() { + return logs; + } + } + + @Test + public void testBlockUntil() throws IOException { + InputStream stream = new ByteArrayInputStream(OUTPUT.getBytes(Charsets.UTF_8)); + BlockingProcessStreamReader thread = + BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, null); + thread.terminate(); + stream.close(); + } + + @Test + public void testForwardLogEntry() throws IOException, InterruptedException { + TestLogger logger = new TestLogger(); + InputStream stream = new ByteArrayInputStream(OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); + BlockingProcessStreamReader thread = + BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger); + while (logger.getLogs().get(Level.INFO).isEmpty()) { + Thread.sleep(200); + } + assertEquals("[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", + logger.getLogs().get(Level.INFO).iterator().next()); + thread.terminate(); + while (logger.getLogs().get(Level.FINE).isEmpty()) { + Thread.sleep(200); + } + assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); + stream.close(); + } + + @Test + public void testForwardAlreadyTaggedLogs() throws IOException, InterruptedException { + TestLogger logger = new TestLogger(); + InputStream stream = new ByteArrayInputStream(TAGGED_OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); + BlockingProcessStreamReader thread = + BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger); + while (logger.getLogs().get(Level.INFO).isEmpty()) { + Thread.sleep(200); + } + assertEquals("[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", + logger.getLogs().get(Level.INFO).iterator().next()); + thread.terminate(); + while (logger.getLogs().get(Level.FINE).isEmpty()) { + Thread.sleep(200); + } + assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); + stream.close(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java new file mode 100644 index 000000000000..cfea5a03dd81 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java @@ -0,0 +1,122 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.common.collect.ImmutableList; + +import org.junit.Test; + +import java.io.File; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.List; + +public class CommandWrapperTest { + + private static final List COMMAND = ImmutableList.of("my", "command"); + private static final List WIN_COMMAND = ImmutableList.of("cmd", "/C", "my", "command"); + private static final List UNIX_COMMAND = ImmutableList.of("bash", "my", "command"); + private static final Path DIRECTORY = Paths.get("my-path"); + private static final File WIN_NULL_FILE = new File("NUL:"); + private static final File UNIX_NULL_FILE = new File("/dev/null"); + + @Test + public void testCommandWrapperCommand() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertNull(processBuilder.directory()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperRedirectErrorStream() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setRedirectErrorStream(); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertNull(processBuilder.directory()); + assertTrue(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperRedirectErrorInherit() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setRedirectErrorInherit(); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertNull(processBuilder.directory()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.INHERIT, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperDirectory() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setDirectory(DIRECTORY); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + } + assertEquals(DIRECTORY, processBuilder.directory().toPath()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } + + @Test + public void testCommandWrapperRedirectOutputToNull() { + CommandWrapper commandWrapper = CommandWrapper.create(); + commandWrapper.setCommand(COMMAND); + commandWrapper.setRedirectOutputToNull(); + ProcessBuilder processBuilder = commandWrapper.getBuilder(); + if (BaseEmulatorHelper.isWindows()) { + assertEquals(WIN_COMMAND, processBuilder.command()); + assertEquals(ProcessBuilder.Redirect.to(WIN_NULL_FILE), processBuilder.redirectOutput()); + } else { + assertEquals(UNIX_COMMAND, processBuilder.command()); + assertEquals(ProcessBuilder.Redirect.to(UNIX_NULL_FILE), processBuilder.redirectOutput()); + } + assertNull(processBuilder.directory()); + assertFalse(processBuilder.redirectErrorStream()); + assertEquals(ProcessBuilder.Redirect.PIPE, processBuilder.redirectError()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java new file mode 100644 index 000000000000..163cf3c3fd39 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java @@ -0,0 +1,85 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; + +public class VersionTest { + + @Rule + public ExpectedException thrown = ExpectedException.none(); + + @Test + public void testFromString() { + Version version = Version.fromString("2016.01.13"); + assertEquals(2016, version.getMajor()); + assertEquals(1, version.getMinor()); + assertEquals(13, version.getPatch()); + version = Version.fromString("1.2.0"); + assertEquals(1, version.getMajor()); + assertEquals(2, version.getMinor()); + assertEquals(0, version.getPatch()); + } + + @Test + public void testFromStringWithAlphas() { + thrown.expect(IllegalArgumentException.class); + Version.fromString("2016.01.hello"); + } + + @Test + public void testFromStringMissingPatch() { + thrown.expect(IllegalArgumentException.class); + Version.fromString("2016.01"); + } + + @Test + public void testFromStringMissingMinor() { + thrown.expect(IllegalArgumentException.class); + Version.fromString("2016"); + } + + @Test + public void testFromStringEmpty() { + thrown.expect(IllegalArgumentException.class); + Version.fromString(""); + } + + @Test + public void testFromStringNull() { + thrown.expect(NullPointerException.class); + Version.fromString(null); + } + + @Test + public void testCompare() { + Version version = Version.fromString("2016.01.13"); + Version sameVersion = Version.fromString("2016.01.13"); + Version olderVersion = Version.fromString("2015.12.01"); + Version newerVersion = Version.fromString("2016.08.12"); + assertEquals(0, version.compareTo(sameVersion)); + assertTrue(version.compareTo(olderVersion) > 0); + assertTrue(version.compareTo(newerVersion) < 0); + Version otherVersion = Version.fromString("1.2.0"); + assertTrue(version.compareTo(otherVersion) > 0); + } +} From 7908152a712b009c4d6b635e10f796ef1267fbef Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 10 Nov 2016 11:14:46 +0100 Subject: [PATCH 0244/3036] Regenerating spi layer - GAX 0.0.22 (#1379) * Regenerating spi layer - GAX 0.0.22 * Update options and spi classes to catch GAX changes --- java-core/google-cloud-core/pom.xml | 2 +- .../com/google/cloud/GrpcServiceOptions.java | 25 ++++++++----------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cb46970a7933..dc84fa001575 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,7 @@ com.google.api gax - 0.0.21 + 0.0.22 io.grpc diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index 25cd8a29cc56..c550724c6fcd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -18,8 +18,10 @@ import static com.google.common.base.MoreObjects.firstNonNull; -import com.google.api.gax.core.ConnectionSettings; +import com.google.api.gax.core.FixedCredentialsProvider; import com.google.api.gax.core.RetrySettings; +import com.google.api.gax.grpc.ChannelProvider; +import com.google.api.gax.grpc.InstantiatingChannelProvider; import com.google.api.gax.grpc.UnaryCallSettings; import com.google.auth.Credentials; import com.google.cloud.spi.ServiceRpcFactory; @@ -304,26 +306,19 @@ protected UnaryCallSettings.Builder getApiCallSettings() { } /** - * Returns a builder for connection-related settings. + * Returns a channel provider. */ - @Deprecated - protected ConnectionSettings.Builder connectionSettings() { - return getConnectionSettings(); - } - - /** - * Returns a builder for connection-related settings. - */ - protected ConnectionSettings.Builder getConnectionSettings() { + protected ChannelProvider getChannelProvider() { HostAndPort hostAndPort = HostAndPort.fromString(getHost()); - ConnectionSettings.Builder builder = ConnectionSettings.newBuilder() + InstantiatingChannelProvider.Builder builder = InstantiatingChannelProvider.newBuilder() .setServiceAddress(hostAndPort.getHostText()) - .setPort(hostAndPort.getPort()); + .setPort(hostAndPort.getPort()) + .setClientLibHeader(getLibraryName(), firstNonNull(getLibraryVersion(), "")); Credentials scopedCredentials = getScopedCredentials(); if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { - builder.provideCredentialsWith(scopedCredentials); + builder.setCredentialsProvider(FixedCredentialsProvider.create(scopedCredentials)); } - return builder; + return builder.build(); } /** From dfc27901ada8d5fd07960c21b2b04538016293c4 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Fri, 11 Nov 2016 11:59:47 +0100 Subject: [PATCH 0245/3036] Change BaseWriteChannel.position type to long to fix overflow (#1390) --- .../java/com/google/cloud/BaseWriteChannel.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index aaef34149f69..4d01a60e4422 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -41,7 +41,7 @@ public abstract class BaseWriteChannel< private final ServiceOptionsT options; private final EntityT entity; private final String uploadId; - private int position; + private long position; private byte[] buffer = new byte[0]; private int limit; private boolean isOpen = true; @@ -101,11 +101,11 @@ protected String getUploadId() { } @Deprecated - protected int position() { + protected long position() { return getPosition(); } - protected int getPosition() { + protected long getPosition() { return position; } @@ -119,7 +119,7 @@ protected byte[] getBuffer() { } @Deprecated - protected int limit() { + protected long limit() { return getLimit(); } @@ -245,7 +245,7 @@ protected abstract static class BaseState< protected final ServiceOptionsT serviceOptions; protected final EntityT entity; protected final String uploadId; - protected final int position; + protected final long position; protected final byte[] buffer; protected final boolean isOpen; protected final int chunkSize; @@ -274,7 +274,7 @@ public abstract static class Builder< private final ServiceOptionsT serviceOptions; private final EntityT entity; private final String uploadId; - private int position; + private long position; private byte[] buffer; private boolean isOpen; private int chunkSize; @@ -290,7 +290,7 @@ public Builder position(int position) { return setPosition(position); } - public Builder setPosition(int position) { + public Builder setPosition(long position) { this.position = position; return this; } From 585dafddaaeb44efcbe60a85b11ddd278e900e82 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 14 Nov 2016 14:24:53 +0100 Subject: [PATCH 0246/3036] Make TableDataWriteChannel expose Job when upload completed --- .../main/java/com/google/cloud/BaseWriteChannel.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index 4d01a60e4422..f7a67deece57 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -352,14 +352,17 @@ public boolean equals(Object obj) { && this.chunkSize == other.chunkSize; } - @Override - public String toString() { + protected MoreObjects.ToStringHelper toStringHelper() { return MoreObjects.toStringHelper(this) .add("entity", entity) .add("uploadId", uploadId) .add("position", position) - .add("isOpen", isOpen) - .toString(); + .add("isOpen", isOpen); + } + + @Override + public String toString() { + return toStringHelper().toString(); } } } From e9598b6e30adca3283db92c712d159ba10c936ab Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 14 Nov 2016 19:42:00 +0100 Subject: [PATCH 0247/3036] Release 0.6.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index dc84fa001575..37104fc20698 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.5.2-SNAPSHOT + 0.6.0 google-cloud-core From c404f5ee7524042fdf2063f2cd9d1b965f74e46a Mon Sep 17 00:00:00 2001 From: travis-ci Date: Tue, 15 Nov 2016 01:48:55 +0000 Subject: [PATCH 0248/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 1665163a9f04..e804bf61a794 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.5.1 + 0.6.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.5.1' +compile 'com.google.cloud:google-cloud-core:0.6.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.5.1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.6.0" ``` Troubleshooting From 8f6b9f686753ea396b43659c413f693236929fb7 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Tue, 15 Nov 2016 04:03:26 +0100 Subject: [PATCH 0249/3036] Update version to 0.6.1-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 37104fc20698..6ec0b5ddfc45 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.6.0 + 0.6.1-SNAPSHOT google-cloud-core From 087a8d8475bf12cdfbf5d79dd5c74d48f968265f Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Thu, 17 Nov 2016 15:24:49 -0600 Subject: [PATCH 0250/3036] Update gax (#1404) * Update gax * Update language * Error reporting * Logging * Update pubsub * Monitoring * Speech, trace, vision --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6ec0b5ddfc45..be95c37cec77 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,7 @@ com.google.api gax - 0.0.22 + 0.0.23 io.grpc From 9812844bb1734d318af611479cf0ff20fb274b04 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Tue, 22 Nov 2016 08:50:29 -0800 Subject: [PATCH 0251/3036] SPI layer: renaming Api to Client (#1417) --- java-core/google-cloud-core/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index be95c37cec77..a5aab2b27ee1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,7 @@ com.google.api gax - 0.0.23 + 0.0.24 io.grpc @@ -122,7 +122,7 @@ com.google.api.grpc grpc-google-common-protos - 0.1.0 + 0.1.3 io.grpc @@ -133,7 +133,7 @@ com.google.api.grpc grpc-google-iam-v1 - 0.1.0 + 0.1.3 io.grpc From 701c88d31d4b954d1cd71dc57d6ff44c757d7776 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Tue, 22 Nov 2016 15:38:35 -0800 Subject: [PATCH 0252/3036] SPI updates: logging docs, LRO support (#1419) * Logging API: updating docs from proto * Speech API: introducing OperationFuture and OperationCallable to make handling of long-running operations easier --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a5aab2b27ee1..13a1cc332ba1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,7 @@ com.google.api gax - 0.0.24 + 0.0.25 io.grpc From 4c1b3efc3e7dab86a91b29677c390640fbc71fb1 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Thu, 24 Nov 2016 09:54:25 -0800 Subject: [PATCH 0253/3036] Release 0.7.0 (#1422) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 13a1cc332ba1..a5f4ecd27b06 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.6.1-SNAPSHOT + 0.7.0 google-cloud-core From da42e8fe41cecd16137ae1ab038116c3585131dc Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Thu, 24 Nov 2016 18:21:50 -0800 Subject: [PATCH 0254/3036] Updating version in README files. (#1424) --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e804bf61a794..a248cc79f1a7 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.6.0 + 0.7.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.6.0' +compile 'com.google.cloud:google-cloud-core:0.7.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.7.0" ``` Troubleshooting From 038db1bf05bf7a4269300cc766214e34d59910c4 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Thu, 24 Nov 2016 18:32:46 -0800 Subject: [PATCH 0255/3036] Update version to 0.7.1-SNAPSHOT (#1426) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a5f4ecd27b06..b35e5d4e4fb9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.7.0 + 0.7.1-SNAPSHOT google-cloud-core From 853946e4dd620cf1b3b4a9d8777a0a1992c4e4ee Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Thu, 1 Dec 2016 14:38:29 -0800 Subject: [PATCH 0256/3036] Make defaultLibraryVersion() more robust (#1436) --- .../java/com/google/cloud/ServiceOptions.java | 39 ++++++++++++++++--- .../com/google/cloud/ServiceOptionsTest.java | 2 +- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index c14c770e3bc8..b7148f0a8291 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -48,6 +48,7 @@ import java.util.Enumeration; import java.util.Locale; import java.util.Objects; +import java.util.Properties; import java.util.ServiceLoader; import java.util.Set; import java.util.jar.Attributes; @@ -72,12 +73,15 @@ public abstract class ServiceOptions, Service private static final String MANIFEST_ARTIFACT_ID_KEY = "artifactId"; private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; private static final String ARTIFACT_ID = "google-cloud-core"; - private static final String LIBRARY_NAME = "gcloud-java"; + private static final String LIBRARY_NAME = "google-cloud-java"; private static final String LIBRARY_VERSION = defaultLibraryVersion(); private static final String APPLICATION_NAME = LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; private static final long serialVersionUID = -5714029257168617973L; + private static final String META_FILE_ROOT = "/META-INF/maven/"; + private static final String META_VERSION_KEY = "version"; + private final String projectId; private final String host; private final RetryParams retryParams; @@ -566,7 +570,7 @@ public Clock getClock() { } /** - * Returns the application's name as a string in the format {@code gcloud-java/[version]}. + * Returns the application's name as a string in the format {@code google-cloud-java/[version]}. */ @Deprecated public String applicationName() { @@ -574,14 +578,14 @@ public String applicationName() { } /** - * Returns the application's name as a string in the format {@code gcloud-java/[version]}. + * Returns the application's name as a string in the format {@code google-cloud-java/[version]}. */ public String getApplicationName() { return APPLICATION_NAME; } /** - * Returns the library's name, {@code gcloud-java}, as a string. + * Returns the library's name, {@code google-cloud-java}, as a string. */ @Deprecated public String libraryName() { @@ -589,7 +593,7 @@ public String libraryName() { } /** - * Returns the library's name, {@code gcloud-java}, as a string. + * Returns the library's name, {@code google-cloud-java}, as a string. */ public String getLibraryName() { return LIBRARY_NAME; @@ -676,6 +680,31 @@ static T getFromServiceLoader(Class clazz, T defaultInstance) { } private static String defaultLibraryVersion() { + String version = getPomVersion(); + if (version == null) { + version = getManifestVersion(); + } + return version; + } + + private static String getPomVersion() { + try { + Properties properties = new Properties(); + String mavenPropertiesPath = META_FILE_ROOT + + ServiceOptions.class.getPackage().getName() + "/" + + ARTIFACT_ID + "/pom.properties"; + InputStream inputStream = ServiceOptions.class.getResourceAsStream(mavenPropertiesPath); + if (inputStream != null) { + properties.load(inputStream); + return properties.getProperty(META_VERSION_KEY, ""); + } + } catch (Exception e) { + // ignore + } + return null; + } + + private static String getManifestVersion() { String version = null; try { Enumeration resources = diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index cf364db57ec1..797c0ac72b6e 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -102,7 +102,7 @@ public class ServiceOptionsTest { private static final TestServiceOptions DEPRECATED_DEFAULT_OPTIONS = TestServiceOptions.newBuilder().projectId("project-id").build(); private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); - private static final String LIBRARY_NAME = "gcloud-java"; + private static final String LIBRARY_NAME = "google-cloud-java"; private static final Pattern APPLICATION_NAME_PATTERN = Pattern.compile(LIBRARY_NAME + "(/[0-9]+.[0-9]+.[0-9]+)?"); From 494d1e274f000710c47d26ed46873da0bc0949af Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Mon, 5 Dec 2016 12:57:48 -0800 Subject: [PATCH 0257/3036] Revert library name to gcloud-java (#1444) --- .../src/main/java/com/google/cloud/ServiceOptions.java | 10 +++++----- .../test/java/com/google/cloud/ServiceOptionsTest.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index b7148f0a8291..755b81354edb 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -73,7 +73,7 @@ public abstract class ServiceOptions, Service private static final String MANIFEST_ARTIFACT_ID_KEY = "artifactId"; private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; private static final String ARTIFACT_ID = "google-cloud-core"; - private static final String LIBRARY_NAME = "google-cloud-java"; + private static final String LIBRARY_NAME = "gcloud-java"; private static final String LIBRARY_VERSION = defaultLibraryVersion(); private static final String APPLICATION_NAME = LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; @@ -570,7 +570,7 @@ public Clock getClock() { } /** - * Returns the application's name as a string in the format {@code google-cloud-java/[version]}. + * Returns the application's name as a string in the format {@code gcloud-java/[version]}. */ @Deprecated public String applicationName() { @@ -578,14 +578,14 @@ public String applicationName() { } /** - * Returns the application's name as a string in the format {@code google-cloud-java/[version]}. + * Returns the application's name as a string in the format {@code gcloud-java/[version]}. */ public String getApplicationName() { return APPLICATION_NAME; } /** - * Returns the library's name, {@code google-cloud-java}, as a string. + * Returns the library's name, {@code gcloud-java}, as a string. */ @Deprecated public String libraryName() { @@ -593,7 +593,7 @@ public String libraryName() { } /** - * Returns the library's name, {@code google-cloud-java}, as a string. + * Returns the library's name, {@code gcloud-java}, as a string. */ public String getLibraryName() { return LIBRARY_NAME; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 797c0ac72b6e..cf364db57ec1 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -102,7 +102,7 @@ public class ServiceOptionsTest { private static final TestServiceOptions DEPRECATED_DEFAULT_OPTIONS = TestServiceOptions.newBuilder().projectId("project-id").build(); private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); - private static final String LIBRARY_NAME = "google-cloud-java"; + private static final String LIBRARY_NAME = "gcloud-java"; private static final Pattern APPLICATION_NAME_PATTERN = Pattern.compile(LIBRARY_NAME + "(/[0-9]+.[0-9]+.[0-9]+)?"); From 1dc60f792a9516130a2bbcfbb39a9fb563e55a57 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 9 Dec 2016 03:07:48 +1100 Subject: [PATCH 0258/3036] pubsub: fix testStartStopReset (#1453) The test verifies that calling stop() actually stops the emulator. The previous implementation stops the emulator by - sending HTTP POST to /shutdown - terminating the emulator process The second step follows directly after the first. It then queries the server it just shut down to make sure it does not respond. This behavior is incorrect for two reasons. - The server might continue serving request after responding to /shutdown. - The "emulator process" might not be the emulator at all. It might be a script that in-turn runs the emulator. On UNIX systems, killing a parent process does not kill any of its children; the actual emulator might run indefinitely after we kill the process we spawned. This commit changes this behavior. After POSTing to /shutdown, we simply wait for the spawned process to terminate on its own. Technically, there is still a race: Another emulator could have been started on the same port. When we send a request to verify that the old emulator has terminated, we might get a response from the new one. Since we execute tests sequentially though, I believe this should not be a problem in practice. --- .../cloud/testing/BaseEmulatorHelper.java | 67 ++++++++++++++----- .../cloud/testing/BaseEmulatorHelperTest.java | 22 +++--- 2 files changed, 63 insertions(+), 26 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 65277a77463b..dee22e596c11 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -18,6 +18,8 @@ import com.google.cloud.ServiceOptions; import com.google.common.io.CharStreams; +import com.google.common.util.concurrent.SettableFuture; +import com.google.common.util.concurrent.UncheckedExecutionException; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; @@ -43,10 +45,14 @@ import java.util.List; import java.util.Locale; import java.util.Map; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; import java.util.logging.Level; import java.util.logging.Logger; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; +import org.joda.time.Duration; /** * Utility class to start and stop a local service which is used by unit testing. @@ -104,16 +110,50 @@ protected final void startProcess(String blockUntilOutput) } /** - * Stops the local service's subprocess and any possible thread listening for its output. + * Waits for the local service's subprocess to terminate, + * and stop any possible thread listening for its output. */ - protected final void stopProcess() throws IOException, InterruptedException { + protected final int waitForProcess(Duration timeout) throws IOException, InterruptedException, TimeoutException { if (blockingProcessReader != null) { blockingProcessReader.terminate(); blockingProcessReader = null; } if (activeRunner != null) { - activeRunner.stop(); + int exitCode = activeRunner.waitFor(timeout); activeRunner = null; + return exitCode; + } + return 0; + } + + private static int waitForProcess(final Process process, Duration timeout) throws InterruptedException, TimeoutException { + if (process == null) { + return 0; + } + + final SettableFuture exitValue = SettableFuture.create(); + + Thread waiter = new Thread(new Runnable() { + @Override + public void run() { + try { + exitValue.set(process.waitFor()); + } catch (InterruptedException e) { + exitValue.setException(e); + } + } + }); + waiter.start(); + + try { + return exitValue.get(timeout.getMillis(), TimeUnit.MILLISECONDS); + } catch (ExecutionException e) { + if (e.getCause() instanceof InterruptedException) { + throw (InterruptedException) e.getCause(); + } + throw new UncheckedExecutionException(e); + } finally { + waiter.interrupt(); } } @@ -144,7 +184,7 @@ public String getProjectId() { /** * Stops the local emulator. */ - public abstract void stop() throws IOException, InterruptedException; + public abstract void stop(Duration timeout) throws IOException, InterruptedException, TimeoutException; /** * Resets the internal state of the emulator. @@ -195,9 +235,10 @@ protected interface EmulatorRunner { void start() throws IOException; /** - * Stops the emulator associated to this runner. + * Wait for the emulator associated to this runner to terminate, + * returning the exit status. */ - void stop() throws InterruptedException; + int waitFor(Duration timeout) throws InterruptedException, TimeoutException; /** * Returns the process associated to the emulator, if any. @@ -239,11 +280,8 @@ public void start() throws IOException { } @Override - public void stop() throws InterruptedException { - if (process != null) { - process.destroy(); - process.waitFor(); - } + public int waitFor(Duration timeout) throws InterruptedException, TimeoutException { + return waitForProcess(process, timeout); } @Override @@ -337,11 +375,8 @@ public void start() throws IOException { } @Override - public void stop() throws InterruptedException { - if (process != null) { - process.destroy(); - process.waitFor(); - } + public int waitFor(Duration timeout) throws InterruptedException, TimeoutException { + return waitForProcess(process, timeout); } @Override diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java index 7219dcf8025f..b4b2579f7396 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -22,12 +22,14 @@ import com.google.common.collect.ImmutableList; import org.easymock.EasyMock; +import org.joda.time.Duration; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.List; +import java.util.concurrent.TimeoutException; import java.util.logging.Logger; public class BaseEmulatorHelperTest { @@ -66,8 +68,8 @@ public void start() throws IOException, InterruptedException { } @Override - public void stop() throws IOException, InterruptedException { - stopProcess(); + public void stop(Duration timeout) throws IOException, InterruptedException, TimeoutException { + waitForProcess(timeout); } @Override @@ -77,7 +79,7 @@ public void reset() throws IOException { } @Test - public void testEmulatorHelper() throws IOException, InterruptedException { + public void testEmulatorHelper() throws IOException, InterruptedException, TimeoutException { Process process = EasyMock.createStrictMock(Process.class); InputStream stream = new ByteArrayInputStream(BLOCK_UNTIL.getBytes(Charsets.UTF_8)); EmulatorRunner emulatorRunner = EasyMock.createStrictMock(EmulatorRunner.class); @@ -86,18 +88,18 @@ public void testEmulatorHelper() throws IOException, InterruptedException { emulatorRunner.start(); EasyMock.expectLastCall(); EasyMock.expect(emulatorRunner.getProcess()).andReturn(process); - emulatorRunner.stop(); - EasyMock.expectLastCall(); + emulatorRunner.waitFor(Duration.standardMinutes(1)); + EasyMock.expectLastCall().andReturn(0); EasyMock.replay(process, emulatorRunner); TestEmulatorHelper helper = new TestEmulatorHelper(ImmutableList.of(emulatorRunner), BLOCK_UNTIL); helper.start(); - helper.stop(); + helper.stop(Duration.standardMinutes(1)); EasyMock.verify(); } @Test - public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedException { + public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedException, TimeoutException { Process process = EasyMock.createStrictMock(Process.class); InputStream stream = new ByteArrayInputStream(BLOCK_UNTIL.getBytes(Charsets.UTF_8)); EmulatorRunner firstRunner = EasyMock.createStrictMock(EmulatorRunner.class); @@ -108,13 +110,13 @@ public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedE secondRunner.start(); EasyMock.expectLastCall(); EasyMock.expect(secondRunner.getProcess()).andReturn(process); - secondRunner.stop(); - EasyMock.expectLastCall(); + secondRunner.waitFor(Duration.standardMinutes(1)); + EasyMock.expectLastCall().andReturn(0); EasyMock.replay(process, secondRunner); TestEmulatorHelper helper = new TestEmulatorHelper(ImmutableList.of(firstRunner, secondRunner), BLOCK_UNTIL); helper.start(); - helper.stop(); + helper.stop(Duration.standardMinutes(1)); EasyMock.verify(); } } From 55a3b3a57f17b9a3a9810bb37cfd71cd0e6ac6f9 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 9 Dec 2016 03:15:34 +1100 Subject: [PATCH 0259/3036] simplify BlockingProcessStreamReader; fix tests (#1457) This commit simplifies the main run() method. Previous implementation checks whether the underlying Reader is ready to read then either reads a line or sleeps, catching InterruptedException to watch for any thread interruption. There are subtle difficulties with this approach: - Even if the underlying Reader is ready to read, it might not have enough bytes to form a line. It might still block. - It's not necessary to sleep. If the thread is interrupted while reading. It should throw InterruptedIOException. The method now reads in a loop, waiting for either exceptions or EOF. The test class implements a mock Logger that logs to a data structure. It then verifies that the data structure holds appropriate logs. As implemented, this can cause a race, as two threads, the writer and the verifier, run concurrently. This commit fixes this by waiting for the writing thread to terminate before verifying. --- .../testing/BlockingProcessStreamReader.java | 31 ++++++------------- .../BlockingProcessStreamReaderTest.java | 20 ++---------- 2 files changed, 12 insertions(+), 39 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java index 988b6593a1d4..0fa10dcacebb 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java @@ -35,7 +35,6 @@ */ class BlockingProcessStreamReader extends Thread { - private static final int STREAM_READER_SLEEP_INTERVAL_IN_MS = 200; private static final int LOG_LENGTH_LIMIT = 50000; private final BufferedReader errorReader; @@ -43,7 +42,6 @@ class BlockingProcessStreamReader extends Thread { private StringBuilder currentLog; private Level currentLogLevel; private boolean collectionMode; - private volatile boolean terminated; private final String emulatorTag; private final Pattern logLinePattern; @@ -64,8 +62,6 @@ private BlockingProcessStreamReader(String emulator, InputStream stream, String } void terminate() throws IOException { - terminated = true; - errorReader.close(); interrupt(); } @@ -73,25 +69,18 @@ void terminate() throws IOException { public void run() { String previousLine = ""; String nextLine = ""; - while (!terminated) { - try { - if (errorReader.ready()) { - previousLine = nextLine; - nextLine = errorReader.readLine(); - if (nextLine == null) { - terminated = true; - } else { - processLogLine(previousLine, nextLine); - } - } else { - sleep(STREAM_READER_SLEEP_INTERVAL_IN_MS); + try { + for (;;) { + previousLine = nextLine; + nextLine = errorReader.readLine(); + if (nextLine == null) { + break; } - } catch (IOException e) { + processLogLine(previousLine, nextLine); + } + } catch (IOException e) { + if (!isInterrupted()) { e.printStackTrace(System.err); - } catch (InterruptedException e) { - previousLine = nextLine; - nextLine = null; - break; } } processLogLine(previousLine, firstNonNull(nextLine, "")); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java index 73456f5e3da9..6dedcb55b680 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java @@ -87,17 +87,9 @@ public void testBlockUntil() throws IOException { public void testForwardLogEntry() throws IOException, InterruptedException { TestLogger logger = new TestLogger(); InputStream stream = new ByteArrayInputStream(OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); - BlockingProcessStreamReader thread = - BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger); - while (logger.getLogs().get(Level.INFO).isEmpty()) { - Thread.sleep(200); - } + BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger).join(); assertEquals("[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", logger.getLogs().get(Level.INFO).iterator().next()); - thread.terminate(); - while (logger.getLogs().get(Level.FINE).isEmpty()) { - Thread.sleep(200); - } assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); stream.close(); } @@ -106,17 +98,9 @@ public void testForwardLogEntry() throws IOException, InterruptedException { public void testForwardAlreadyTaggedLogs() throws IOException, InterruptedException { TestLogger logger = new TestLogger(); InputStream stream = new ByteArrayInputStream(TAGGED_OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); - BlockingProcessStreamReader thread = - BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger); - while (logger.getLogs().get(Level.INFO).isEmpty()) { - Thread.sleep(200); - } + BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger).join(); assertEquals("[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", logger.getLogs().get(Level.INFO).iterator().next()); - thread.terminate(); - while (logger.getLogs().get(Level.FINE).isEmpty()) { - Thread.sleep(200); - } assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); stream.close(); } From 6899724ea3df363e19494946c18bf57319bbcaaa Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Thu, 8 Dec 2016 14:34:48 -0800 Subject: [PATCH 0260/3036] Release 0.8.0, bump four APIs to beta (#1465) As part of this, introducing some new pom properties: * core.version: version of google-cloud-core * beta.version: version used by beta APIs (which is the project version plus -beta) * storage.version: the version of google-cloud-storage (since several APIs depend on it) Lastly, removing "(Alpha)" from titles in README files except the root README file, because it's hard to keep all those tags up to date. --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b35e5d4e4fb9..34614cdf1b49 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.7.1-SNAPSHOT + 0.8.0 google-cloud-core From 4b838cfe347d57f640673193d9567109dbe00601 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Fri, 9 Dec 2016 10:08:58 -0800 Subject: [PATCH 0261/3036] Update version to 0.8.1-SNAPSHOT (#1467) Also, update versions in README to 0.8.0 --- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index a248cc79f1a7..f711365e184b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.7.0 + 0.8.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.7.0' +compile 'com.google.cloud:google-cloud-core:0.8.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 34614cdf1b49..489d27cdf126 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.0 + 0.8.1-SNAPSHOT google-cloud-core From cfb1cf3efe89250afff28af727569dd76f73daa8 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Mon, 12 Dec 2016 17:34:52 +1100 Subject: [PATCH 0262/3036] fix more races in pubsub tests Previously BlockingProcessStreamReader has a terminate() method, used to tell the Reader to stop reading from the emulator process. This causes an inter-process race. If the Reader stops before reading emulator's output, the emulator process will hang as it tries to write to stdout/stderr as there's no one to read from the other side of the pipe. Since there is no way to safely stop the Reader, this commit deletes the method and its associated test. Additionally, the timeout for LocalSystemTest is increased to 3 minutes, since the emulator, somehow, consistently takes just longer than a minute to shut down. --- .../com/google/cloud/testing/BaseEmulatorHelper.java | 8 ++++---- .../cloud/testing/BlockingProcessStreamReader.java | 8 +------- .../cloud/testing/BlockingProcessStreamReaderTest.java | 9 --------- 3 files changed, 5 insertions(+), 20 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index dee22e596c11..2b4276068d7b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -114,15 +114,15 @@ protected final void startProcess(String blockUntilOutput) * and stop any possible thread listening for its output. */ protected final int waitForProcess(Duration timeout) throws IOException, InterruptedException, TimeoutException { - if (blockingProcessReader != null) { - blockingProcessReader.terminate(); - blockingProcessReader = null; - } if (activeRunner != null) { int exitCode = activeRunner.waitFor(timeout); activeRunner = null; return exitCode; } + if (blockingProcessReader != null) { + blockingProcessReader.join(); + blockingProcessReader = null; + } return 0; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java index 0fa10dcacebb..f4e69b9b6e19 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java @@ -61,10 +61,6 @@ private BlockingProcessStreamReader(String emulator, InputStream stream, String } } - void terminate() throws IOException { - interrupt(); - } - @Override public void run() { String previousLine = ""; @@ -79,9 +75,7 @@ public void run() { processLogLine(previousLine, nextLine); } } catch (IOException e) { - if (!isInterrupted()) { - e.printStackTrace(System.err); - } + e.printStackTrace(System.err); } processLogLine(previousLine, firstNonNull(nextLine, "")); writeLog(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java index 6dedcb55b680..1b22c9f3ff91 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java @@ -74,15 +74,6 @@ Multimap getLogs() { } } - @Test - public void testBlockUntil() throws IOException { - InputStream stream = new ByteArrayInputStream(OUTPUT.getBytes(Charsets.UTF_8)); - BlockingProcessStreamReader thread = - BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, null); - thread.terminate(); - stream.close(); - } - @Test public void testForwardLogEntry() throws IOException, InterruptedException { TestLogger logger = new TestLogger(); From ad5165820f1ba2e841a189ad588d1350e47c1e54 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 13 Dec 2016 14:34:16 +1100 Subject: [PATCH 0263/3036] make pubsub high perf compile (#1474) * merge from master * make pubsub high perf compile * make AckDeadlineRenewerTest pass --- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 2 +- .../com/google/cloud/testing/BaseEmulatorHelper.java | 8 ++++---- .../cloud/testing/BlockingProcessStreamReader.java | 8 +------- .../cloud/testing/BlockingProcessStreamReaderTest.java | 9 --------- 5 files changed, 9 insertions(+), 24 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index a248cc79f1a7..f711365e184b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.7.0 + 0.8.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.7.0' +compile 'com.google.cloud:google-cloud-core:0.8.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 34614cdf1b49..489d27cdf126 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.0 + 0.8.1-SNAPSHOT google-cloud-core diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index dee22e596c11..2b4276068d7b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -114,15 +114,15 @@ protected final void startProcess(String blockUntilOutput) * and stop any possible thread listening for its output. */ protected final int waitForProcess(Duration timeout) throws IOException, InterruptedException, TimeoutException { - if (blockingProcessReader != null) { - blockingProcessReader.terminate(); - blockingProcessReader = null; - } if (activeRunner != null) { int exitCode = activeRunner.waitFor(timeout); activeRunner = null; return exitCode; } + if (blockingProcessReader != null) { + blockingProcessReader.join(); + blockingProcessReader = null; + } return 0; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java index 0fa10dcacebb..f4e69b9b6e19 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java @@ -61,10 +61,6 @@ private BlockingProcessStreamReader(String emulator, InputStream stream, String } } - void terminate() throws IOException { - interrupt(); - } - @Override public void run() { String previousLine = ""; @@ -79,9 +75,7 @@ public void run() { processLogLine(previousLine, nextLine); } } catch (IOException e) { - if (!isInterrupted()) { - e.printStackTrace(System.err); - } + e.printStackTrace(System.err); } processLogLine(previousLine, firstNonNull(nextLine, "")); writeLog(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java index 6dedcb55b680..1b22c9f3ff91 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java @@ -74,15 +74,6 @@ Multimap getLogs() { } } - @Test - public void testBlockUntil() throws IOException { - InputStream stream = new ByteArrayInputStream(OUTPUT.getBytes(Charsets.UTF_8)); - BlockingProcessStreamReader thread = - BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, null); - thread.terminate(); - stream.close(); - } - @Test public void testForwardLogEntry() throws IOException, InterruptedException { TestLogger logger = new TestLogger(); From 3b5b4ace0d77a65a227cd6f3a01b5202aad8745c Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Thu, 5 Jan 2017 11:37:06 -0800 Subject: [PATCH 0264/3036] Regenerating SPI layer (#1501) * Converting Error Reporting and Monitoring to use resource name types * Removing formatX/parseX methods from pubsub, converting usage of the same to resource name types * New methods in Logging and PubSub --- java-core/google-cloud-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 489d27cdf126..613c7f1e98d5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -122,7 +122,7 @@ com.google.api.grpc grpc-google-common-protos - 0.1.3 + 0.1.5 io.grpc @@ -133,7 +133,7 @@ com.google.api.grpc grpc-google-iam-v1 - 0.1.3 + 0.1.5 io.grpc From dc8843eae04335e15fddf991dc7a0a9b0c78585f Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 6 Jan 2017 12:00:13 +1100 Subject: [PATCH 0265/3036] make pubsub work with new gax (#1505) * make pubsub work with new gax update documentation links too --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 489d27cdf126..d395b23313f9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,7 @@ com.google.api gax - 0.0.25 + 0.0.27 io.grpc From c20a3e68667c8817782bceea32b5811d36dbf88a Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Mon, 9 Jan 2017 09:08:26 -0800 Subject: [PATCH 0266/3036] Release 0.8.1 (#1512) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 613c7f1e98d5..c0bfd8d15eb8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.1-SNAPSHOT + 0.8.1-alpha google-cloud-core From f0ff22868510b138d56ef9ee76ef4532b89e455e Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 9 Jan 2017 17:22:24 -0800 Subject: [PATCH 0267/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f711365e184b..2f5971b4557c 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.8.0 + 0.8.1-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.8.0' +compile 'com.google.cloud:google-cloud-core:0.8.1-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.1-alpha" ``` Troubleshooting From 0b78dc81b0e4acdd7c94b6399e32771184a5f3a7 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 9 Jan 2017 17:53:27 -0800 Subject: [PATCH 0268/3036] Update version to 0.8.2-alpha-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c0bfd8d15eb8..34974a496520 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.1-alpha + 0.8.2-alpha-SNAPSHOT google-cloud-core From 346946548b55742d8ba517e16101f1a074050a62 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Mon, 30 Jan 2017 21:15:36 +1100 Subject: [PATCH 0269/3036] use RpcFuture and remove old BundlingSettings (#1572) * use RpcFuture and remove old BundlingSettings --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 34974a496520..47f215f24233 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,7 @@ com.google.api gax - 0.0.25 + 0.0.28 io.grpc From c9a1c908c3e91535bae11b3428251c41444c9efd Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 1 Feb 2017 11:07:51 -0800 Subject: [PATCH 0270/3036] Release 0.8.2 Note: This version was accidentally released to Sonatype because of experimenting with deployment commands, combined with the fact that autoReleaseAfterClose is set to true. Since releases can't be taken back, we might as well own up to the release and push the code forward. --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 47f215f24233..7ad0a8ae40d6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.2-alpha-SNAPSHOT + 0.8.2-alpha google-cloud-core From 2764bba7a660fa5f937282f90afa40df7cba3767 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 1 Feb 2017 11:42:59 -0800 Subject: [PATCH 0271/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 2f5971b4557c..a82cc30ff47f 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.8.1-alpha + 0.8.2-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.8.1-alpha' +compile 'com.google.cloud:google-cloud-core:0.8.2-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.1-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.2-alpha" ``` Troubleshooting From 91b48f61d78d3ea694d67b04db479354f9f2dd32 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Wed, 1 Feb 2017 15:12:02 -0800 Subject: [PATCH 0272/3036] Update version to 0.8.3-*-SNAPSHOT (#1583) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7ad0a8ae40d6..2ddcdcce4576 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.2-alpha + 0.8.3-alpha-SNAPSHOT google-cloud-core From e243d9336d13c37d53953086d459c67a6f15cbee Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 3 Feb 2017 13:31:11 -0800 Subject: [PATCH 0273/3036] Release 0.8.3 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2ddcdcce4576..0c5b2a5b157f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.3-alpha-SNAPSHOT + 0.8.3-alpha google-cloud-core From 0c6fb3cc276079b0e9a128bb56633f2c5086fe6d Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 3 Feb 2017 13:31:42 -0800 Subject: [PATCH 0274/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index a82cc30ff47f..4bafb86270b2 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.8.2-alpha + 0.8.3-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.8.2-alpha' +compile 'com.google.cloud:google-cloud-core:0.8.3-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.2-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.3-alpha" ``` Troubleshooting From 795b9d2943d098f5902bd0c105cb30545c01398e Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 3 Feb 2017 16:08:18 -0800 Subject: [PATCH 0275/3036] Update version to 0.8.4-*-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0c5b2a5b157f..000d0359d5a4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.3-alpha + 0.8.4-alpha-SNAPSHOT google-cloud-core From f8fba9c83fb2fc86a8bf4df8d03bc3bcaaf8ca28 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 7 Feb 2017 13:34:12 +1100 Subject: [PATCH 0276/3036] merge master into pubsub-hp (#1591) * Update version to 0.8.1-SNAPSHOT (#1467) Also, update versions in README to 0.8.0 * Add link to Maven Central for maven-central badge. (#1468) Used to link to the image, which wasn't super useful. * fix more races in pubsub tests Previously BlockingProcessStreamReader has a terminate() method, used to tell the Reader to stop reading from the emulator process. This causes an inter-process race. If the Reader stops before reading emulator's output, the emulator process will hang as it tries to write to stdout/stderr as there's no one to read from the other side of the pipe. Since there is no way to safely stop the Reader, this commit deletes the method and its associated test. Additionally, the timeout for LocalSystemTest is increased to 3 minutes, since the emulator, somehow, consistently takes just longer than a minute to shut down. * Regenerating SPI layer (#1501) * Converting Error Reporting and Monitoring to use resource name types * Removing formatX/parseX methods from pubsub, converting usage of the same to resource name types * New methods in Logging and PubSub * Updating grpc dependency to 1.0.3 (#1504) * Release 0.8.1 (#1512) * Fix code snippet (wrong method name) in README.md Original code snippet in _"Querying data"_ section: `..while (!queryResponse.jobComplete()) {..` This results in a compile error: _"Cannot resolve method jobComplete()"_ The correct method is `jobCompleted()` * Updating version in README files. [ci skip] * Update version to 0.8.2-alpha-SNAPSHOT * Allow path in URIs passed to newFileSystem (#1470) * This makes it easier for users who start with a URI describing a full path to get a FileSystem that can work with that path, since they no longer have to needlessly remove the path from the URI. Note that Oracle's description of newFileSystem [1] puts no restriction on the passed URI. [1] https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystems.html#newFileSystem(java.net.URI,%20java.util.Map) * Preventing logging re-entrance at FINE level (#1523) * Preventing logging re-entrance at FINE level Also: * Reducing the scope of synchronized blocks * Removing logger exclusions except for Http2FrameLogger * Add a PathMatcher for CloudStorageFileSystem (#1469) Add a test, as well. We reuse the default PathMatcher since it does a fine job of globbing files. * Set timestamp from LogRecord (#1533) * Initialize the default MonitoredResource from a GAE environment (#1535) * BigQuery: Add support to FormatOptions for AVRO https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1441 Added new constant in FormatOptions, and a corresponding factory method. Updated test cases. Confirmed that AVRO does not require special treatment (like CSV does), so no additional changes are required. * Reverting changed commited by mistake before review. * BigQuery: Add support to FormatOptions for AVRO https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1441 Added new constant in FormatOptions and a corresponding factory method. Updated test cases. Confirmed that AVRO does not require special treatment (like CSV does), so no additional changes are required. * use RpcFuture and remove old BundlingSettings (#1572) * use RpcFuture and remove old BundlingSettings * Release 0.8.2 Note: This version was accidentally released to Sonatype because of experimenting with deployment commands, combined with the fact that autoReleaseAfterClose is set to true. Since releases can't be taken back, we might as well own up to the release and push the code forward. * Updating version in README files. [ci skip] * Fixing javadoc error in GaeFlexLoggingEnhancer (#1582) * get tests to compile and pass --- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f711365e184b..a82cc30ff47f 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.8.0 + 0.8.2-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.8.0' +compile 'com.google.cloud:google-cloud-core:0.8.2-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.2-alpha" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d395b23313f9..7ad0a8ae40d6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.1-SNAPSHOT + 0.8.2-alpha google-cloud-core @@ -111,7 +111,7 @@ com.google.api gax - 0.0.27 + 0.0.28 io.grpc @@ -122,7 +122,7 @@ com.google.api.grpc grpc-google-common-protos - 0.1.3 + 0.1.5 io.grpc @@ -133,7 +133,7 @@ com.google.api.grpc grpc-google-iam-v1 - 0.1.3 + 0.1.5 io.grpc From 12f81de4beea441edd98180855ebd6e094095954 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Wed, 8 Feb 2017 14:31:24 -0800 Subject: [PATCH 0277/3036] Javadocs: adding links to external types (#1600) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 000d0359d5a4..31b75fc9d681 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -111,7 +111,7 @@ com.google.api gax - 0.0.28 + ${gax.version} io.grpc From 04b5699e34b84b3daf89c36f548a4711bee21359 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Fri, 10 Feb 2017 10:45:27 +1100 Subject: [PATCH 0278/3036] add zone to GAE Flex logging enhancer (#1589) --- .../src/main/java/com/google/cloud/ServiceOptions.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 755b81354edb..bdb2d0d08d9e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -408,6 +408,8 @@ protected static String googleCloudProjectId() { try { URL url = new URL("http://metadata/computeMetadata/v1/project/project-id"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + // TODO replace X-Google-Metadata-Request with: + // connection.setRequestProperty("Metadata-Flavor", "Google"); connection.setRequestProperty("X-Google-Metadata-Request", "True"); InputStream input = connection.getInputStream(); if (connection.getResponseCode() == 200) { From feec02de2eee42f40eeeec60f15afadcec18155c Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Sat, 11 Feb 2017 21:13:51 -0800 Subject: [PATCH 0279/3036] Release 0.9.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 31b75fc9d681..223a1337dc02 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.8.4-alpha-SNAPSHOT + 0.9.0-alpha google-cloud-core From 253b4143e6f0b19af511dd7b9a49a432b0087f86 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Sat, 11 Feb 2017 21:16:57 -0800 Subject: [PATCH 0280/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 4bafb86270b2..27431b2d5efb 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.8.3-alpha + 0.9.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.8.3-alpha' +compile 'com.google.cloud:google-cloud-core:0.9.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.8.3-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.0-alpha" ``` Troubleshooting From 7c3e7b0b0de9748486ca733a8fbd1b7a3b637413 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Mon, 13 Feb 2017 09:15:25 -0800 Subject: [PATCH 0281/3036] Update version to 0.9.1-*-SNAPSHOT (#1615) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 223a1337dc02..a77499fcbcf7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.0-alpha + 0.9.1-alpha-SNAPSHOT google-cloud-core From 88aa77d2cc15f8852a485851485365b80061cb93 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 14 Feb 2017 08:33:22 -0800 Subject: [PATCH 0282/3036] Release 0.9.1 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a77499fcbcf7..85a233c6f658 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.1-alpha-SNAPSHOT + 0.9.1-alpha google-cloud-core From eac26aedb27bd2345865115008810c6eb989e867 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 14 Feb 2017 09:28:16 -0800 Subject: [PATCH 0283/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 27431b2d5efb..cc567115c762 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.9.0-alpha + 0.9.1-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.9.0-alpha' +compile 'com.google.cloud:google-cloud-core:0.9.1-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.1-alpha" ``` Troubleshooting From e22f10d4987318a64f9c389ca4c4915e4bb4d49a Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 14 Feb 2017 10:09:44 -0800 Subject: [PATCH 0284/3036] Release 0.9.2 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 85a233c6f658..e0ab85270678 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.1-alpha + 0.9.2-alpha google-cloud-core From 73f44293136b448ddd883413d09a05319572683a Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 14 Feb 2017 10:13:00 -0800 Subject: [PATCH 0285/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index cc567115c762..f58fcc4db429 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.9.1-alpha + 0.9.2-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.9.1-alpha' +compile 'com.google.cloud:google-cloud-core:0.9.2-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.1-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.2-alpha" ``` Troubleshooting From 5ccf58af16afeee4034e69c22b360768ad125638 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Tue, 14 Feb 2017 13:02:32 -0800 Subject: [PATCH 0286/3036] Update version to 0.9.3-*-SNAPSHOT (#1620) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e0ab85270678..114ac01519b6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.2-alpha + 0.9.3-alpha-SNAPSHOT google-cloud-core From 0d30df523370afd68c136983a12394bf1c8f0978 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Tue, 21 Feb 2017 14:58:28 -0800 Subject: [PATCH 0287/3036] Update client name in header for Veneer layer (#1638) --- .../main/java/com/google/cloud/GrpcServiceOptions.java | 2 +- .../src/main/java/com/google/cloud/ServiceOptions.java | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index c550724c6fcd..75c99c9506e6 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -313,7 +313,7 @@ protected ChannelProvider getChannelProvider() { InstantiatingChannelProvider.Builder builder = InstantiatingChannelProvider.newBuilder() .setServiceAddress(hostAndPort.getHostText()) .setPort(hostAndPort.getPort()) - .setClientLibHeader(getLibraryName(), firstNonNull(getLibraryVersion(), "")); + .setClientLibHeader(getGoogApiClientLibName(), firstNonNull(getLibraryVersion(), "")); Credentials scopedCredentials = getScopedCredentials(); if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { builder.setCredentialsProvider(FixedCredentialsProvider.create(scopedCredentials)); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index bdb2d0d08d9e..5f668a6c4d4f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -74,6 +74,7 @@ public abstract class ServiceOptions, Service private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; private static final String ARTIFACT_ID = "google-cloud-core"; private static final String LIBRARY_NAME = "gcloud-java"; + private static final String X_GOOGLE_CLIENT_HEADER_NAME = "gccl"; private static final String LIBRARY_VERSION = defaultLibraryVersion(); private static final String APPLICATION_NAME = LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; @@ -601,6 +602,13 @@ public String getLibraryName() { return LIBRARY_NAME; } + /** + * Returns the library's name used by x-goog-api-client header as a string. + */ + public String getGoogApiClientLibName() { + return X_GOOGLE_CLIENT_HEADER_NAME; + } + /** * Returns the library's version as a string. */ From 4413899b0f712bcac9a809f600ae39c543a05627 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Wed, 22 Feb 2017 15:02:16 -0800 Subject: [PATCH 0288/3036] Release 0.9.3 (#1642) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 114ac01519b6..02380b1d546e 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.3-alpha-SNAPSHOT + 0.9.3-alpha google-cloud-core From e5eb0ea6de314e24507debe56bd560182f5d596f Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 22 Feb 2017 11:11:26 -0800 Subject: [PATCH 0289/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f58fcc4db429..c3200a0a751b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.9.2-alpha + 0.9.3-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.9.2-alpha' +compile 'com.google.cloud:google-cloud-core:0.9.3-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.2-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.3-alpha" ``` Troubleshooting From d79b97338e1c998aa9091a6601aa6ccaf1890b21 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 22 Feb 2017 15:11:18 -0800 Subject: [PATCH 0290/3036] Update version to 0.9.4-*-SNAPSHOT --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 02380b1d546e..672b1565a5d1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.3-alpha + 0.9.4-alpha-SNAPSHOT google-cloud-core From e575aae3a7896a77bcde82acc00601de776a5194 Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Thu, 23 Feb 2017 03:17:57 +0100 Subject: [PATCH 0291/3036] Expose static method to get default project ID (#1380) --- .../com/google/cloud/HttpServiceOptions.java | 2 +- .../java/com/google/cloud/ServiceOptions.java | 54 ++++++++++++------- 2 files changed, 37 insertions(+), 19 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java index d816ed1a7bd3..870e50d3586c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java @@ -58,7 +58,7 @@ public static class DefaultHttpTransportFactory implements HttpTransportFactory @Override public HttpTransport create() { // Consider App Engine - if (appEngineAppId() != null) { + if (getAppEngineAppId() != null) { try { return new UrlFetchTransport(); } catch (Exception ignore) { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 5f668a6c4d4f..cdf6e0b7651b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -176,7 +176,8 @@ public B setClock(Clock clock) { } /** - * Sets project id. + * Sets the project ID. If no project ID is set, {@link #getDefaultProjectId()} will be used to + * attempt getting the project ID from the environment. * * @return the builder */ @@ -186,7 +187,8 @@ public B projectId(String projectId) { } /** - * Sets project id. + * Sets the project ID. If no project ID is set, {@link #getDefaultProjectId()} will be used to + * attempt getting the project ID from the environment. * * @return the builder */ @@ -316,10 +318,6 @@ private static GoogleCredentials defaultCredentials() { } } - protected static String appEngineAppId() { - return System.getProperty("com.google.appengine.application.id"); - } - @Deprecated protected String defaultHost() { return getDefaultHost(); @@ -335,21 +333,41 @@ protected String defaultProject() { } protected String getDefaultProject() { + return getDefaultProjectId(); + } + + /** + * Returns the default project ID, or {@code null} if no default project ID could be found. This + * method returns the first available project ID among the following sources: + *

      + *
    1. The project ID specified by the GOOGLE_CLOUD_PROJECT environment variable + *
    2. The App Engine project ID + *
    3. The project ID specified in the JSON credentials file pointed by the + * {@code GOOGLE_APPLICATION_CREDENTIALS} environment variable + *
    4. The Google Cloud SDK project ID + *
    5. The Compute Engine project ID + *
    + */ + public static String getDefaultProjectId() { String projectId = System.getProperty(PROJECT_ENV_NAME, System.getenv(PROJECT_ENV_NAME)); if (projectId == null) { projectId = System.getProperty(LEGACY_PROJECT_ENV_NAME, System.getenv(LEGACY_PROJECT_ENV_NAME)); } if (projectId == null) { - projectId = appEngineProjectId(); + projectId = getAppEngineProjectId(); } if (projectId == null) { - projectId = serviceAccountProjectId(); + projectId = getServiceAccountProjectId(); } - return projectId != null ? projectId : googleCloudProjectId(); + return projectId != null ? projectId : getGoogleCloudProjectId(); + } + + protected static String getAppEngineAppId() { + return System.getProperty("com.google.appengine.application.id"); } - private static String activeGoogleCloudConfig(File configDir) { + private static String getActiveGoogleCloudConfig(File configDir) { String activeGoogleCloudConfig = null; try { activeGoogleCloudConfig = @@ -361,7 +379,7 @@ private static String activeGoogleCloudConfig(File configDir) { return firstNonNull(activeGoogleCloudConfig, "default"); } - protected static String googleCloudProjectId() { + protected static String getGoogleCloudProjectId() { File configDir; if (System.getenv().containsKey("CLOUDSDK_CONFIG")) { configDir = new File(System.getenv("CLOUDSDK_CONFIG")); @@ -370,7 +388,7 @@ protected static String googleCloudProjectId() { } else { configDir = new File(System.getProperty("user.home"), ".config/gcloud"); } - String activeConfig = activeGoogleCloudConfig(configDir); + String activeConfig = getActiveGoogleCloudConfig(configDir); FileReader fileReader = null; try { fileReader = new FileReader(new File(configDir, "configurations/config_" + activeConfig)); @@ -429,7 +447,7 @@ private static boolean isWindows() { return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"); } - protected static String appEngineProjectId() { + protected static String getAppEngineProjectId() { try { Class factoryClass = Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); @@ -447,7 +465,7 @@ protected static String appEngineProjectId() { } } - protected static String serviceAccountProjectId() { + protected static String getServiceAccountProjectId() { String project = null; String credentialsPath = System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); if (credentialsPath != null) { @@ -488,8 +506,8 @@ public ServiceRpcT getRpc() { } /** - * Returns the project id. Return value can be null (for services that don't require a project - * id). + * Returns the project ID. Return value can be null (for services that don't require a project + * ID). */ @Deprecated public String projectId() { @@ -497,8 +515,8 @@ public String projectId() { } /** - * Returns the project id. Return value can be null (for services that don't require a project - * id). + * Returns the project ID. Return value can be null (for services that don't require a project + * ID). */ public String getProjectId() { return projectId; From c8b4d2f71052e0176bba3f14a9e46ce92dfde6f9 Mon Sep 17 00:00:00 2001 From: Reynald Borer Date: Tue, 28 Feb 2017 21:18:44 +0100 Subject: [PATCH 0292/3036] Make class com.google.cloud.ServiceOptions$Builder public (#1672) --- .../src/main/java/com/google/cloud/ServiceOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index cdf6e0b7651b..9122aa525bcf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -104,7 +104,7 @@ public abstract class ServiceOptions, Service * @param the {@code ServiceOptions} subclass corresponding to the service * @param the {@code ServiceOptions} builder */ - protected abstract static class Builder, ServiceRpcT, + public abstract static class Builder, ServiceRpcT, OptionsT extends ServiceOptions, B extends Builder> { From 10d1cfb40d72b990276b030317dc6b4e9f183ea3 Mon Sep 17 00:00:00 2001 From: neozwu Date: Thu, 2 Mar 2017 19:03:56 -0800 Subject: [PATCH 0293/3036] fix retry logic on HttpResponseException (#1677) * fix retry logic on HttpResponseException (#1545) --- .../google/cloud/BaseServiceException.java | 32 ++++++++++++------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index d892d85b6b2b..00e58a5ce604 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -18,6 +18,7 @@ import com.google.api.client.googleapis.json.GoogleJsonError; import com.google.api.client.googleapis.json.GoogleJsonResponseException; +import com.google.api.client.http.HttpResponseException; import com.google.api.gax.grpc.ApiException; import com.google.common.base.MoreObjects; @@ -140,20 +141,27 @@ public BaseServiceException(IOException exception, boolean idempotent) { String location = null; String debugInfo = null; Boolean retryable = null; - if (exception instanceof GoogleJsonResponseException) { - GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); - if (jsonError != null) { - Error error = new Error(jsonError.getCode(), reason(jsonError)); - code = error.code; - reason = error.reason; - retryable = isRetryable(idempotent, error); - if (reason != null) { - GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); - location = errorInfo.getLocation(); - debugInfo = (String) errorInfo.get("debugInfo"); + if (exception instanceof HttpResponseException) { + if (exception instanceof GoogleJsonResponseException) { + GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); + if (jsonError != null) { + Error error = new Error(jsonError.getCode(), reason(jsonError)); + code = error.code; + reason = error.reason; + retryable = isRetryable(idempotent, error); + if (reason != null) { + GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); + location = errorInfo.getLocation(); + debugInfo = (String) errorInfo.get("debugInfo"); + } + } else { + code = ((GoogleJsonResponseException) exception).getStatusCode(); } } else { - code = ((GoogleJsonResponseException) exception).getStatusCode(); + // In cases where an exception is an instance of HttpResponseException but not + // an instance of GoogleJsonResponseException, check the status code to determine whether it's retryable + code = ((HttpResponseException) exception).getStatusCode(); + retryable = isRetryable(idempotent, new Error(code, null)); } } this.retryable = MoreObjects.firstNonNull(retryable, isRetryable(idempotent, exception)); From cabd9fc861c592b851d7089747e962e2ceea3acd Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Mon, 6 Mar 2017 11:34:18 -0800 Subject: [PATCH 0294/3036] Release 0.9.4 (#1703) --- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index c3200a0a751b..6612e5c8edc8 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.9.3-alpha + 0.9.4-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.9.3-alpha' +compile 'com.google.cloud:google-cloud-core:0.9.4-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.3-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.4-alpha" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 672b1565a5d1..ac892e59e24a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.4-alpha-SNAPSHOT + 0.9.4-alpha google-cloud-core From 80986fe60f770c53d28854a3f6881b933cc80a1a Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Mon, 6 Mar 2017 13:43:06 -0800 Subject: [PATCH 0295/3036] Update version to 0.9.5-*-SNAPSHOT (#1704) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ac892e59e24a..0bc251fee7df 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.4-alpha + 0.9.5-alpha-SNAPSHOT google-cloud-core From 8d5e6b87cc28f43da03d95c0aa8cd0125ec665ca Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Tue, 7 Mar 2017 10:57:48 -0800 Subject: [PATCH 0296/3036] Remove deprecated methods and corresponding tests (#1678) Remove deprecated methods and its references in one pass by a self-made script, with a few exceptions: - There are still plenty of manual work involved to update usages of deprecated methods and fields - Manual corrections due to misspell of the word "deprecated" - google-cloud-pubsub: Pubsub has a few deprecated packages and it affects its integrated tests as well. Removing deprecated packages is not in the scope of this PR. - google-cloud-compute: Compute engine has a few "Deprecated" related service which causes lots of noise of the automated script. - google-cloud-datastore - In `ValueBuilder` `getExcludeFromIndexes` was marked as deprecated which is inconsistent with other getter/setter methods - Preserved the fields `meaning` in `ValueBuilder` since it is still wide used in the code. May require a separate PR to deprecate. --- .../main/java/com/google/cloud/AsyncPage.java | 6 - .../java/com/google/cloud/AsyncPageImpl.java | 12 -- .../java/com/google/cloud/BaseService.java | 5 - .../google/cloud/BaseServiceException.java | 67 --------- .../com/google/cloud/BaseWriteChannel.java | 57 -------- .../main/java/com/google/cloud/ByteArray.java | 4 - .../com/google/cloud/ExceptionHandler.java | 29 ---- .../java/com/google/cloud/FieldSelector.java | 6 - .../com/google/cloud/HttpServiceOptions.java | 54 -------- .../main/java/com/google/cloud/Identity.java | 18 --- .../com/google/cloud/MonitoredResource.java | 51 +------ .../cloud/MonitoredResourceDescriptor.java | 64 --------- .../src/main/java/com/google/cloud/Page.java | 15 -- .../main/java/com/google/cloud/PageImpl.java | 17 --- .../main/java/com/google/cloud/Policy.java | 70 ---------- .../java/com/google/cloud/ReadChannel.java | 6 - .../java/com/google/cloud/RetryParams.java | 118 ---------------- .../src/main/java/com/google/cloud/Role.java | 8 -- .../main/java/com/google/cloud/Service.java | 2 - .../java/com/google/cloud/ServiceOptions.java | 130 ------------------ .../java/com/google/cloud/WaitForOption.java | 21 --- .../java/com/google/cloud/WriteChannel.java | 6 - .../com/google/cloud/AsyncPageImplTest.java | 23 ---- .../cloud/BaseServiceExceptionTest.java | 88 ------------ .../google/cloud/BaseWriteChannelTest.java | 11 -- .../google/cloud/FieldSelectorHelperTest.java | 15 -- .../google/cloud/GrpcServiceOptionsTest.java | 22 --- .../google/cloud/HttpServiceOptionsTest.java | 20 --- .../java/com/google/cloud/IdentityTest.java | 30 ---- .../MonitoredResourceDescriptorTest.java | 30 ---- .../google/cloud/MonitoredResourceTest.java | 24 ---- .../java/com/google/cloud/PageImplTest.java | 14 -- .../java/com/google/cloud/PolicyTest.java | 46 ------- .../com/google/cloud/RetryHelperTest.java | 97 ------------- .../com/google/cloud/RetryParamsTest.java | 33 ----- .../test/java/com/google/cloud/RoleTest.java | 9 -- .../com/google/cloud/ServiceOptionsTest.java | 22 --- .../com/google/cloud/WaitForOptionTest.java | 13 -- 38 files changed, 4 insertions(+), 1259 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java index ab836e6e4b89..13fa7a6cb98e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java @@ -44,12 +44,6 @@ */ public interface AsyncPage extends Page { - /** - * Returns a {@link Future} object for the next page. {@link Future#get()} returns {@code null} if - * the last page has been reached. - */ - @Deprecated - Future> nextPageAsync(); /** * Returns a {@link Future} object for the next page. {@link Future#get()} returns {@code null} if diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index c5734408d4bf..bc4858ecb7ce 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -41,8 +41,6 @@ public class AsyncPageImpl extends PageImpl implements AsyncPage { * @param the value type that the page holds */ public interface NextPageFetcher extends Serializable { - @Deprecated - Future> nextPage(); Future> getNextPage(); } @@ -57,11 +55,6 @@ private SyncNextPageFetcher(NextPageFetcher asyncPageFetcher) { this.asyncPageFetcher = asyncPageFetcher; } - @Override - public Page nextPage() { - return getNextPage(); - } - @Override public Page getNextPage() { try { @@ -81,11 +74,6 @@ public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterabl this.asyncPageFetcher = asyncPageFetcher; } - @Override - @Deprecated - public Future> nextPageAsync() { - return getNextPageAsync(); - } @Override public Future> getNextPageAsync() { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index f221ade32482..dcfb097a073b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -55,11 +55,6 @@ protected BaseService(OptionsT options) { this.options = options; } - @Override - @Deprecated - public OptionsT options() { - return options; - } @Override public OptionsT getOptions() { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 00e58a5ce604..cb834f8d3608 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -63,13 +63,6 @@ public Error(Integer code, String reason, boolean rejected) { this.rejected = rejected; } - /** - * Returns the code associated with this exception. - */ - @Deprecated - public Integer code() { - return getCode(); - } /** * Returns the code associated with this exception. @@ -78,15 +71,6 @@ public Integer getCode() { return code; } - /** - * Returns true if the error indicates that the API call was certainly not accepted by the - * server. For instance, if the server returns a rate limit exceeded error, it certainly did not - * process the request and this method will return {@code true}. - */ - @Deprecated - public boolean rejected() { - return isRejected(); - } /** * Returns true if the error indicates that the API call was certainly not accepted by the @@ -97,13 +81,6 @@ public boolean isRejected() { return rejected; } - /** - * Returns the reason that caused the exception. - */ - @Deprecated - public String reason() { - return getReason(); - } /** * Returns the reason that caused the exception. @@ -214,10 +191,6 @@ public BaseServiceException(ApiException apiException, boolean idempotent) { this.debugInfo = null; } - @Deprecated - protected Set retryableErrors() { - return getRetryableErrors(); - } protected Set getRetryableErrors() { return Collections.emptySet(); @@ -234,13 +207,6 @@ protected boolean isRetryable(boolean idempotent, IOException exception) { return idempotent && exceptionIsRetryable; } - /** - * Returns the code associated with this exception. - */ - @Deprecated - public int code() { - return getCode(); - } /** * Returns the code associated with this exception. @@ -249,13 +215,6 @@ public int getCode() { return code; } - /** - * Returns the reason that caused the exception. - */ - @Deprecated - public String reason() { - return getReason(); - } /** * Returns the reason that caused the exception. @@ -264,13 +223,6 @@ public String getReason() { return reason; } - /** - * Returns {@code true} when it is safe to retry the operation that caused this exception. - */ - @Deprecated - public boolean retryable() { - return isRetryable(); - } /** * Returns {@code true} when it is safe to retry the operation that caused this exception. @@ -279,13 +231,6 @@ public boolean isRetryable() { return retryable; } - /** - * Returns {@code true} when the operation that caused this exception had no side effects. - */ - @Deprecated - public boolean idempotent() { - return isIdempotent(); - } /** * Returns {@code true} when the operation that caused this exception had no side effects. @@ -294,14 +239,6 @@ public boolean isIdempotent() { return idempotent; } - /** - * Returns the service location where the error causing the exception occurred. Returns {@code - * null} if not available. - */ - @Deprecated - public String location() { - return getLocation(); - } /** * Returns the service location where the error causing the exception occurred. Returns {@code @@ -311,10 +248,6 @@ public String getLocation() { return location; } - @Deprecated - protected String debugInfo() { - return getDebugInfo(); - } protected String getDebugInfo() { return debugInfo; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index f7a67deece57..86105d469d39 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -47,19 +47,11 @@ public abstract class BaseWriteChannel< private boolean isOpen = true; private int chunkSize = getDefaultChunkSize(); - @Deprecated - protected int minChunkSize() { - return getMinChunkSize(); - } protected int getMinChunkSize() { return MIN_CHUNK_SIZE; } - @Deprecated - protected int defaultChunkSize() { - return getDefaultChunkSize(); - } protected int getDefaultChunkSize() { return DEFAULT_CHUNK_SIZE; @@ -73,74 +65,41 @@ protected int getDefaultChunkSize() { */ protected abstract void flushBuffer(int length, boolean last); - @Deprecated - protected ServiceOptionsT options() { - return options; - } protected ServiceOptionsT getOptions() { return options; } - @Deprecated - protected EntityT entity() { - return getEntity(); - } protected EntityT getEntity() { return entity; } - @Deprecated - protected String uploadId() { - return getUploadId(); - } protected String getUploadId() { return uploadId; } - @Deprecated - protected long position() { - return getPosition(); - } protected long getPosition() { return position; } - @Deprecated - protected byte[] buffer() { - return getBuffer(); - } protected byte[] getBuffer() { return buffer; } - @Deprecated - protected long limit() { - return getLimit(); - } protected int getLimit() { return limit; } - @Deprecated - protected int chunkSize() { - return getChunkSize(); - } protected int getChunkSize() { return chunkSize; } - @Override - @Deprecated - public final void chunkSize(int chunkSize) { - setChunkSize(chunkSize); - } @Override public final void setChunkSize(int chunkSize) { @@ -285,40 +244,24 @@ protected Builder(ServiceOptionsT options, EntityT entity, String uploadId) { this.uploadId = uploadId; } - @Deprecated - public Builder position(int position) { - return setPosition(position); - } public Builder setPosition(long position) { this.position = position; return this; } - @Deprecated - public Builder buffer(byte[] buffer) { - return setBuffer(buffer); - } public Builder setBuffer(byte[] buffer) { this.buffer = buffer; return this; } - @Deprecated - public Builder isOpen(boolean isOpen) { - return setIsOpen(isOpen); - } public Builder setIsOpen(boolean isOpen) { this.isOpen = isOpen; return this; } - @Deprecated - public Builder chunkSize(int chunkSize) { - return setChunkSize(chunkSize); - } public Builder setChunkSize(int chunkSize) { this.chunkSize = chunkSize; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 0c719fb18d98..b92b0bac29d5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -108,10 +108,6 @@ public final InputStream asInputStream() { return byteString.newInput(); } - @Deprecated - protected ByteString byteString() { - return getByteString(); - } protected ByteString getByteString() { return byteString; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index 91534885a1ab..a2a69a737641 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -87,16 +87,6 @@ public static class Builder { private Builder() {} - /** - * Adds the exception handler interceptors. Call order will be maintained. - * - * @param interceptors the interceptors for this exception handler - * @return the Builder for chaining - */ - @Deprecated - public Builder interceptor(Interceptor... interceptors) { - return addInterceptors(interceptors); - } /** * Adds the exception handler interceptors. Call order will be maintained. @@ -243,19 +233,11 @@ void verifyCaller(Callable callable) { } } - @Deprecated - public Set> retriableExceptions() { - return getRetriableExceptions(); - } public Set> getRetriableExceptions() { return retriableExceptions; } - @Deprecated - public Set> nonRetriableExceptions() { - return nonRetriableExceptions; - } public Set> getNonRetriableExceptions() { return nonRetriableExceptions; @@ -301,13 +283,6 @@ public boolean equals(Object obj) { && Objects.equals(retryInfo, other.retryInfo); } - /** - * Returns an instance which retry any checked exception and abort on any runtime exception. - */ - @Deprecated - public static ExceptionHandler defaultInstance() { - return getDefaultInstance(); - } /** * Returns an instance which retry any checked exception and abort on any runtime exception. @@ -316,10 +291,6 @@ public static ExceptionHandler getDefaultInstance() { return DEFAULT_INSTANCE; } - @Deprecated - public static Builder builder() { - return newBuilder(); - } public static Builder newBuilder() { return new Builder(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java index 37190a3c2e03..125a03e212cf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -31,12 +31,6 @@ */ public interface FieldSelector { - /** - * Returns a string selector. This selector is passed to a Google Cloud service (possibly with - * other field selectors) to specify which resource fields should be returned by an API call. - */ - @Deprecated - String selector(); /** * Returns a string selector. This selector is passed to a Google Cloud service (possibly with diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java index 870e50d3586c..1613b68acb74 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java @@ -103,15 +103,6 @@ protected B self() { return (B) this; } - /** - * Sets the HTTP transport factory. - * - * @return the builder - */ - @Deprecated - public B httpTransportFactory(HttpTransportFactory httpTransportFactory) { - return setHttpTransportFactory(httpTransportFactory); - } /** * Sets the HTTP transport factory. @@ -123,17 +114,6 @@ public B setHttpTransportFactory(HttpTransportFactory httpTransportFactory) { return self(); } - /** - * Sets the timeout in milliseconds to establish a connection. - * - * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a - * negative number for the default value (20000). - * @return the builder - */ - @Deprecated - public B connectTimeout(int connectTimeout) { - return setConnectTimeout(connectTimeout); - } /** * Sets the timeout in milliseconds to establish a connection. @@ -147,17 +127,6 @@ public B setConnectTimeout(int connectTimeout) { return self(); } - /** - * Sets the timeout in milliseconds to read data from an established connection. - * - * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number - * for the default value (20000). - * @return the builder - */ - @Deprecated - public B readTimeout(int readTimeout) { - return setReadTimeout(readTimeout); - } /** * Sets the timeout in milliseconds to read data from an established connection. @@ -184,13 +153,6 @@ protected HttpServiceOptions( readTimeout = builder.readTimeout; } - /** - * Returns the HTTP transport factory. - */ - @Deprecated - public HttpTransportFactory httpTransportFactory() { - return getHttpTransportFactory(); - } /** * Returns the HTTP transport factory. @@ -199,14 +161,6 @@ public HttpTransportFactory getHttpTransportFactory() { return httpTransportFactory; } - /** - * Returns a request initializer responsible for initializing requests according to service - * options. - */ - @Deprecated - public HttpRequestInitializer httpRequestInitializer() { - return getHttpRequestInitializer(); - } /** * Returns a request initializer responsible for initializing requests according to service @@ -249,14 +203,6 @@ public int getConnectTimeout() { return connectTimeout; } - /** - * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite - * timeout, a negative number is the default value (20000). - */ - @Deprecated - public int readTimeout() { - return getReadTimeout(); - } /** * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index c82005a38d44..cbf2c6292d2e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -86,29 +86,11 @@ private Identity(Type type, String value) { this.value = value; } - @Deprecated - public Type type() { - return getType(); - } public Type getType() { return type; } - /** - * Returns the string identifier for this identity. The value corresponds to: - *
      - *
    • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and - * {@code GROUP}) - *
    • domain (for identities of type {@code DOMAIN}) - *
    • {@code null} (for identities of type {@code ALL_USERS} and - * {@code ALL_AUTHENTICATED_USERS}) - *
    - */ - @Deprecated - public String value() { - return getValue(); - } /** * Returns the string identifier for this identity. The value corresponds to: diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java index 66cd15ce1eec..052a773560bd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java @@ -61,19 +61,10 @@ public static class Builder { this.labels = new HashMap<>(monitoredResource.labels); } - /** - * Sets the monitored resource type. This value must match the one of - * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. - * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. - */ - @Deprecated - public Builder type(String type) { - return setType(type); - } /** * Sets the monitored resource type. This value must match the one of - * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. + * {@link MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. */ public Builder setType(String type) { @@ -81,19 +72,10 @@ public Builder setType(String type) { return this; } - /** - * Sets the values for all the labels required by the corresponding monitored resource - * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute - * Engine VM instances use the labels {@code instance_id} and {@code zone}. - */ - @Deprecated - public Builder labels(Map labels) { - return setLabels(labels); - } /** * Sets the values for all the labels required by the corresponding monitored resource - * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute + * descriptor (see {@link MonitoredResourceDescriptor#getLabels()}. For example, Google Compute * Engine VM instances use the labels {@code instance_id} and {@code zone}. */ public Builder setLabels(Map labels) { @@ -127,38 +109,20 @@ public MonitoredResource build() { this.labels = ImmutableMap.copyOf(builder.labels); } - /** - * Returns the monitored resource type. This value must match the one of - * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. - * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. - */ - @Deprecated - public String type() { - return getType(); - } /** * Returns the monitored resource type. This value must match the one of - * {@link MonitoredResourceDescriptor#type()} of a {@code MonitoredResourceDescriptor} object. + * {@link MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. */ public String getType() { return type; } - /** - * Returns the values for all the labels required by the corresponding monitored resource - * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute - * Engine VM instances use the labels {@code instance_id} and {@code zone}. - */ - @Deprecated - public Map labels() { - return getLabels(); - } /** * Returns the values for all the labels required by the corresponding monitored resource - * descriptor (see {@link MonitoredResourceDescriptor#labels()}. For example, Google Compute + * descriptor (see {@link MonitoredResourceDescriptor#getLabels()}. For example, Google Compute * Engine VM instances use the labels {@code instance_id} and {@code zone}. */ public Map getLabels() { @@ -204,13 +168,6 @@ public Builder toBuilder() { return new Builder(this); } - /** - * Returns a builder for {@code MonitoredResource} objects given the resource's type. - */ - @Deprecated - public static Builder builder(String type) { - return newBuilder(type); - } /** * Returns a builder for {@code MonitoredResource} objects given the resource's type. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java index ebee6544df4a..d4529124c839 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -117,13 +117,6 @@ static ValueType fromPb(com.google.api.LabelDescriptor.ValueType typePb) { this.description = description; } - /** - * Returns the key associated to this label. - */ - @Deprecated - public String key() { - return getKey(); - } /** * Returns the key associated to this label. @@ -132,13 +125,6 @@ public String getKey() { return key; } - /** - * Returns the type of data that can be assigned to this label. - */ - @Deprecated - public ValueType valueType() { - return getValueType(); - } /** * Returns the type of data that can be assigned to this label. @@ -147,14 +133,6 @@ public ValueType getValueType() { return valueType; } - /** - * Returns the optional human-readable description for this label. If not set, this method - * returns {@code null}. - */ - @Deprecated - public String description() { - return getDescription(); - } /** * Returns the optional human-readable description for this label. If not set, this method @@ -257,14 +235,6 @@ MonitoredResourceDescriptor build() { this.labels = checkNotNull(builder.labels); } - /** - * Returns the monitored resource type. For example, the type {@code cloudsql_database} represents - * databases in Google Cloud SQL. - */ - @Deprecated - public String type() { - return getType(); - } /** * Returns the monitored resource type. For example, the type {@code cloudsql_database} represents @@ -274,14 +244,6 @@ public String getType() { return type; } - /** - * Returns an optional name for the monitored resource descriptor. If not set, this method returns - * {@code null}. - */ - @Deprecated - public String name() { - return getName(); - } /** * Returns an optional name for the monitored resource descriptor. If not set, this method returns @@ -291,15 +253,6 @@ public String getName() { return name; } - /** - * Returns an optional concise name for the monitored resource type. This value might be displayed - * in user interfaces. For example, {@code Google Cloud SQL Database}. If not set, this method - * returns {@code null}. - */ - @Deprecated - public String displayName() { - return getDisplayName(); - } /** * Returns an optional concise name for the monitored resource type. This value might be displayed @@ -310,14 +263,6 @@ public String getDisplayName() { return displayName; } - /** - * Returns an optional detailed description of the monitored resource type. This value might be - * used in documentation. If not set, this method returns {@code null}. - */ - @Deprecated - public String description() { - return getDescription(); - } /** * Returns an optional detailed description of the monitored resource type. This value might be @@ -327,15 +272,6 @@ public String getDescription() { return description; } - /** - * Returns a list of labels used to describe instances of this monitored resource type. For - * example, an individual Google Cloud SQL database is identified by values for the labels - * {@code database_id} and {@code region}. - */ - @Deprecated - public List labels() { - return getLabels(); - } /** * Returns a list of labels used to describe instances of this monitored resource type. For diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java index dde285e3aaa1..03cbe566d470 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java @@ -44,11 +44,6 @@ */ public interface Page { - /** - * Returns the values contained in this page. - */ - @Deprecated - Iterable values(); /** * Returns the values contained in this page. @@ -61,22 +56,12 @@ public interface Page { */ Iterator iterateAll(); - /** - * Returns the cursor for the nextPage or {@code null} if no more results. - */ - @Deprecated - String nextPageCursor(); /** * Returns the cursor for the nextPage or {@code null} if no more results. */ String getNextPageCursor(); - /** - * Returns the next page of results or {@code null} if no more result. - */ - @Deprecated - Page nextPage(); /** * Returns the next page of results or {@code null} if no more result. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index 99c675dea375..37b7fd9dee08 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -44,8 +44,6 @@ public class PageImpl implements Page, Serializable { * @param the value type that the page holds */ public interface NextPageFetcher extends Serializable { - @Deprecated - Page nextPage(); Page getNextPage(); } @@ -83,11 +81,6 @@ public PageImpl(NextPageFetcher pageFetcher, String cursor, Iterable resul this.results = results; } - @Override - @Deprecated - public Iterable values() { - return getValues(); - } @Override public Iterable getValues() { @@ -99,22 +92,12 @@ public Iterator iterateAll() { return new PageIterator<>(this); } - @Override - @Deprecated - public String nextPageCursor() { - return getNextPageCursor(); - } @Override public String getNextPageCursor() { return cursor; } - @Override - @Deprecated - public Page nextPage() { - return getNextPage(); - } @Override public Page getNextPage() { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 4307f1dffdfc..c8fc044086ea 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -132,16 +132,6 @@ protected Builder(Policy policy) { setVersion(policy.version); } - /** - * Replaces the builder's map of bindings with the given map of bindings. - * - * @throws NullPointerException if the given map is null or contains any null keys or values - * @throws IllegalArgumentException if any identities in the given map are null - */ - @Deprecated - public final Builder bindings(Map> bindings) { - return setBindings(bindings); - } /** * Replaces the builder's map of bindings with the given map of bindings. @@ -212,21 +202,6 @@ public final Builder removeIdentity(Role role, Identity first, Identity... other return this; } - /** - * Sets the policy's etag. - * - *

    Etags are used for optimistic concurrency control as a way to help prevent simultaneous - * updates of a policy from overwriting each other. It is strongly suggested that systems make - * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid - * race 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. If no etag is provided in the call to - * setIamPolicy, then the existing policy is overwritten blindly. - */ - @Deprecated - protected final Builder etag(String etag) { - return setEtag(etag); - } /** * Sets the policy's etag. @@ -244,14 +219,6 @@ protected final Builder setEtag(String etag) { return this; } - /** - * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", - * and "viewer" roles are permitted. If the version is 1, you may also use other roles. - */ - @Deprecated - protected final Builder version(int version) { - return setVersion(version); - } /** * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", @@ -287,13 +254,6 @@ public Builder toBuilder() { return new Builder(this); } - /** - * Returns the map of bindings that comprises the policy. - */ - @Deprecated - public Map> bindings() { - return getBindings(); - } /** * Returns the map of bindings that comprises the policy. @@ -302,21 +262,6 @@ public Map> getBindings() { return bindings; } - /** - * Returns the policy's etag. - * - *

    Etags are used for optimistic concurrency control as a way to help prevent simultaneous - * updates of a policy from overwriting each other. It is strongly suggested that systems make - * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid - * race 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. If no etag is provided in the call to - * setIamPolicy, then the existing policy is overwritten blindly. - */ - @Deprecated - public String etag() { - return getEtag(); - } /** * Returns the policy's etag. @@ -333,14 +278,6 @@ public String getEtag() { return etag; } - /** - * Returns the version of the policy. The default version is 0, meaning only the "owner", - * "editor", and "viewer" roles are permitted. If the version is 1, you may also use other roles. - */ - @Deprecated - public int version() { - return getVersion(); - } /** * Returns the version of the policy. The default version is 0, meaning only the "owner", @@ -378,13 +315,6 @@ public boolean equals(Object obj) { && Objects.equals(version, other.getVersion()); } - /** - * Returns a builder for {@code Policy} objects. - */ - @Deprecated - public static Builder builder() { - return newBuilder(); - } /** * Returns a builder for {@code Policy} objects. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index a09752692884..aa04baaab1ba 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -40,12 +40,6 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< void seek(long position) throws IOException; - /** - * Sets the minimum size that will be read by a single RPC. - * Read data will be locally buffered until consumed. - */ - @Deprecated - void chunkSize(int chunkSize); /** * Sets the minimum size that will be read by a single RPC. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java index e835ad5d3cd7..f737032cfe7a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java @@ -107,16 +107,6 @@ private Builder() { } } - /** - * Sets retryMinAttempts. - * - * @param retryMinAttempts the retryMinAttempts to set - * @return the Builder for chaining - */ - @Deprecated - public Builder retryMinAttempts(int retryMinAttempts) { - return setRetryMinAttempts(retryMinAttempts); - } /** * Sets retryMinAttempts. @@ -129,16 +119,6 @@ public Builder setRetryMinAttempts(int retryMinAttempts) { return this; } - /** - * Sets retryMaxAttempts. - * - * @param retryMaxAttempts the retryMaxAttempts to set - * @return the Builder for chaining - */ - @Deprecated - public Builder retryMaxAttempts(int retryMaxAttempts) { - return setRetryMaxAttempts(retryMaxAttempts); - } /** * Sets retryMaxAttempts. @@ -151,16 +131,6 @@ public Builder setRetryMaxAttempts(int retryMaxAttempts) { return this; } - /** - * Sets initialRetryDelayMillis. - * - * @param initialRetryDelayMillis the initialRetryDelayMillis to set - * @return the Builder for chaining - */ - @Deprecated - public Builder initialRetryDelayMillis(long initialRetryDelayMillis) { - return setInitialRetryDelayMillis(initialRetryDelayMillis); - } /** * Sets initialRetryDelayMillis. @@ -173,16 +143,6 @@ public Builder setInitialRetryDelayMillis(long initialRetryDelayMillis) { return this; } - /** - * Sets maxRetryDelayMillis. - * - * @param maxRetryDelayMillis the maxRetryDelayMillis to set - * @return the Builder for chaining - */ - @Deprecated - public Builder maxRetryDelayMillis(long maxRetryDelayMillis) { - return setMaxRetryDelayMillis(maxRetryDelayMillis); - } /** * Sets maxRetryDelayMillis. @@ -195,16 +155,6 @@ public Builder setMaxRetryDelayMillis(long maxRetryDelayMillis) { return this; } - /** - * Sets retryDelayBackoffFactor. - * - * @param retryDelayBackoffFactor the retryDelayBackoffFactor to set - * @return the Builder for chaining - */ - @Deprecated - public Builder retryDelayBackoffFactor(double retryDelayBackoffFactor) { - return setRetryDelayBackoffFactor(retryDelayBackoffFactor); - } /** * Sets retryDelayBackoffFactor. @@ -217,18 +167,6 @@ public Builder setRetryDelayBackoffFactor(double retryDelayBackoffFactor) { return this; } - /** - * Sets totalRetryPeriodMillis. Note that App Engine Standard Environment front-end modules have - * a 60 second deadline for HTTP requests. For that reason, you should set the total retry - * period to under 60 seconds if you are using it on an App Engine front-end module. - * - * @param totalRetryPeriodMillis the totalRetryPeriodMillis to set - * @return the Builder for chaining - */ - @Deprecated - public Builder totalRetryPeriodMillis(long totalRetryPeriodMillis) { - return setTotalRetryPeriodMillis(totalRetryPeriodMillis); - } /** * Sets totalRetryPeriodMillis. Note that App Engine Standard Environment front-end modules have @@ -275,13 +213,6 @@ private RetryParams(Builder builder) { checkArgument(totalRetryPeriodMillis >= 0, "totalRetryPeriodMillis must not be negative"); } - /** - * Returns an instance with the default parameters. - */ - @Deprecated - public static RetryParams defaultInstance() { - return getDefaultInstance(); - } /** * Returns an instance with the default parameters. @@ -298,13 +229,6 @@ public static RetryParams noRetries() { return NO_RETRIES; } - /** - * Returns the retryMinAttempts. Default value is {@value #DEFAULT_RETRY_MIN_ATTEMPTS}. - */ - @Deprecated - public int retryMinAttempts() { - return getRetryMinAttempts(); - } /** * Returns the retryMinAttempts. Default value is {@value #DEFAULT_RETRY_MIN_ATTEMPTS}. @@ -313,13 +237,6 @@ public int getRetryMinAttempts() { return retryMinAttempts; } - /** - * Returns the retryMaxAttempts. Default value is {@value #DEFAULT_RETRY_MAX_ATTEMPTS}. - */ - @Deprecated - public int retryMaxAttempts() { - return getRetryMaxAttempts(); - } /** * Returns the retryMaxAttempts. Default value is {@value #DEFAULT_RETRY_MAX_ATTEMPTS}. @@ -328,14 +245,6 @@ public int getRetryMaxAttempts() { return retryMaxAttempts; } - /** - * Returns the initialRetryDelayMillis. Default value is - * {@value #DEFAULT_INITIAL_RETRY_DELAY_MILLIS}. - */ - @Deprecated - public long initialRetryDelayMillis() { - return getInitialRetryDelayMillis(); - } /** * Returns the initialRetryDelayMillis. Default value is @@ -345,13 +254,6 @@ public long getInitialRetryDelayMillis() { return initialRetryDelayMillis; } - /** - * Returns the maxRetryDelayMillis. Default values is {@value #DEFAULT_MAX_RETRY_DELAY_MILLIS}. - */ - @Deprecated - public long maxRetryDelayMillis() { - return getMaxRetryDelayMillis(); - } /** * Returns the maxRetryDelayMillis. Default values is {@value #DEFAULT_MAX_RETRY_DELAY_MILLIS}. @@ -360,14 +262,6 @@ public long getMaxRetryDelayMillis() { return maxRetryDelayMillis; } - /** - * Returns the maxRetryDelayBackoffFactor. Default values is - * {@value #DEFAULT_RETRY_DELAY_BACKOFF_FACTOR}. - */ - @Deprecated - public double retryDelayBackoffFactor() { - return getRetryDelayBackoffFactor(); - } /** * Returns the maxRetryDelayBackoffFactor. Default values is @@ -377,14 +271,6 @@ public double getRetryDelayBackoffFactor() { return retryDelayBackoffFactor; } - /** - * Returns the totalRetryPeriodMillis. Default value is - * {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. - */ - @Deprecated - public long totalRetryPeriodMillis() { - return getTotalRetryPeriodMillis(); - } /** * Returns the totalRetryPeriodMillis. Default value is @@ -428,10 +314,6 @@ public String toString() { return toStringHelper.toString(); } - @Deprecated - public static Builder builder() { - return newBuilder(); - } public static Builder newBuilder() { return new Builder(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java index 9444421e6b69..e7742b2b9384 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java @@ -40,14 +40,6 @@ private Role(String value) { this.value = value; } - /** - * Returns the string identifier for this role. For example, {@code "roles/viewer"}, - * {@code "roles/editor"}, or {@code "roles/owner"}. - */ - @Deprecated - public String value() { - return getValue(); - } /** * Returns the string identifier for this role. For example, {@code "roles/viewer"}, diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java index 4c64e6fab2fd..3c3c87bd76fa 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java @@ -22,8 +22,6 @@ * @param the {@code ServiceOptions} subclass corresponding to the service */ public interface Service> { - @Deprecated - OptionsT options(); OptionsT getOptions(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 9122aa525bcf..d5b155486b58 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -135,13 +135,6 @@ protected B self() { return (B) this; } - /** - * Sets the service factory. - */ - @Deprecated - public B serviceFactory(ServiceFactory serviceFactory) { - return setServiceFactory(serviceFactory); - } /** * Sets the service factory. @@ -151,17 +144,6 @@ public B setServiceFactory(ServiceFactory serviceFactory) { return self(); } - /** - * Sets the service's clock. The clock is mainly used for testing purpose. {@link Clock} will be - * replaced by Java8's {@code java.time.Clock}. - * - * @param clock the clock to set - * @return the builder - */ - @Deprecated - public B clock(Clock clock) { - return setClock(clock); - } /** * Sets the service's clock. The clock is mainly used for testing purpose. {@link Clock} will be @@ -175,16 +157,6 @@ public B setClock(Clock clock) { return self(); } - /** - * Sets the project ID. If no project ID is set, {@link #getDefaultProjectId()} will be used to - * attempt getting the project ID from the environment. - * - * @return the builder - */ - @Deprecated - public B projectId(String projectId) { - return setProjectId(projectId); - } /** * Sets the project ID. If no project ID is set, {@link #getDefaultProjectId()} will be used to @@ -197,15 +169,6 @@ public B setProjectId(String projectId) { return self(); } - /** - * Sets service host. - * - * @return the builder - */ - @Deprecated - public B host(String host) { - return setHost(host); - } /** * Sets service host. @@ -233,17 +196,6 @@ public B setCredentials(Credentials credentials) { return self(); } - /** - * Sets configuration parameters for request retries. If no configuration is set - * {@link RetryParams#getDefaultInstance()} is used. To disable retries, supply - * {@link RetryParams#noRetries()} here. - * - * @return the builder - */ - @Deprecated - public B retryParams(RetryParams retryParams) { - return setRetryParams(retryParams); - } /** * Sets configuration parameters for request retries. If no configuration is set @@ -257,15 +209,6 @@ public B setRetryParams(RetryParams retryParams) { return self(); } - /** - * Sets the factory for rpc services. - * - * @return the builder - */ - @Deprecated - public B serviceRpcFactory(ServiceRpcFactory serviceRpcFactory) { - return setServiceRpcFactory(serviceRpcFactory); - } /** * Sets the factory for rpc services. @@ -318,19 +261,11 @@ private static GoogleCredentials defaultCredentials() { } } - @Deprecated - protected String defaultHost() { - return getDefaultHost(); - } protected String getDefaultHost() { return DEFAULT_HOST; } - @Deprecated - protected String defaultProject() { - return getDefaultProject(); - } protected String getDefaultProject() { return getDefaultProjectId(); @@ -479,10 +414,6 @@ protected static String getServiceAccountProjectId() { return project; } - @Deprecated - public ServiceT service() { - return getService(); - } @SuppressWarnings("unchecked") public ServiceT getService() { @@ -492,10 +423,6 @@ public ServiceT getService() { return service; } - @Deprecated - public ServiceRpcT rpc() { - return getRpc(); - } @SuppressWarnings("unchecked") public ServiceRpcT getRpc() { @@ -505,14 +432,6 @@ public ServiceRpcT getRpc() { return rpc; } - /** - * Returns the project ID. Return value can be null (for services that don't require a project - * ID). - */ - @Deprecated - public String projectId() { - return getProjectId(); - } /** * Returns the project ID. Return value can be null (for services that don't require a project @@ -522,13 +441,6 @@ public String getProjectId() { return projectId; } - /** - * Returns the service host. - */ - @Deprecated - public String host() { - return getHost(); - } /** * Returns the service host. @@ -556,14 +468,6 @@ public Credentials getScopedCredentials() { return credentialsToReturn; } - /** - * Returns configuration parameters for request retries. By default requests are retried: - * {@link RetryParams#getDefaultInstance()} is used. - */ - @Deprecated - public RetryParams retryParams() { - return getRetryParams(); - } /** * Returns configuration parameters for request retries. By default requests are retried: @@ -573,14 +477,6 @@ public RetryParams getRetryParams() { return retryParams; } - /** - * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get - * current time. - */ - @Deprecated - public Clock clock() { - return getClock(); - } /** * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get @@ -590,13 +486,6 @@ public Clock getClock() { return clock; } - /** - * Returns the application's name as a string in the format {@code gcloud-java/[version]}. - */ - @Deprecated - public String applicationName() { - return getApplicationName(); - } /** * Returns the application's name as a string in the format {@code gcloud-java/[version]}. @@ -605,13 +494,6 @@ public String getApplicationName() { return APPLICATION_NAME; } - /** - * Returns the library's name, {@code gcloud-java}, as a string. - */ - @Deprecated - public String libraryName() { - return getLibraryName(); - } /** * Returns the library's name, {@code gcloud-java}, as a string. @@ -671,24 +553,12 @@ static T newInstance(String className) throws IOException, ClassNotFoundExce } } - @Deprecated - protected ServiceFactory defaultServiceFactory() { - return getDefaultServiceFactory(); - } protected abstract ServiceFactory getDefaultServiceFactory(); - @Deprecated - protected ServiceRpcFactory defaultRpcFactory() { - return getDefaultRpcFactory(); - } protected abstract ServiceRpcFactory getDefaultRpcFactory(); - @Deprecated - protected Set scopes() { - return getScopes(); - } protected abstract Set getScopes(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java index 1938f819943f..a84b25bc369b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java @@ -60,13 +60,6 @@ private CheckingPeriod(long period, TimeUnit unit) { this.unit = unit; } - /** - * Returns the checking period. - */ - @Deprecated - public long period() { - return getPeriod(); - } /** * Returns the checking period. @@ -75,13 +68,6 @@ public long getPeriod() { return period; } - /** - * Returns the time unit for {@link #getPeriod()}. - */ - @Deprecated - public TimeUnit unit() { - return getUnit(); - } /** * Returns the time unit for {@link #getPeriod()}. @@ -152,13 +138,6 @@ private Timeout(long timeoutMillis) { this.timeoutMillis = timeoutMillis; } - /** - * Returns the timeout in milliseconds. - */ - @Deprecated - public long timeoutMillis() { - return getTimeoutMillis(); - } /** * Returns the timeout in milliseconds. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java index f061f55ac581..172e4b03bfdb 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java @@ -29,12 +29,6 @@ */ public interface WriteChannel extends WritableByteChannel, Closeable, Restorable { - /** - * Sets the minimum size that will be written by a single RPC. - * Written data will be buffered and only flushed upon reaching this size or closing the channel. - */ - @Deprecated - void chunkSize(int chunkSize); /** * Sets the minimum size that will be written by a single RPC. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index 0767d205ecc1..1f6298857ab0 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -50,11 +50,6 @@ private static class TestPageFetcher implements AsyncPageImpl.NextPageFetcher> nextPage() { - return getNextPage(); - } - @Override public Future> getNextPage() { return Futures.>immediateFuture(nextResult); @@ -71,15 +66,6 @@ public void testPage() { assertEquals(VALUES1, result.getValues()); } - @Test - public void testPageDeprecated() { - final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); - AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); - AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); - assertEquals(nextResult, result.nextPage()); - assertEquals("c", result.nextPageCursor()); - assertEquals(VALUES1, result.values()); - } @Test public void testPageAsync() throws ExecutionException, InterruptedException { @@ -91,15 +77,6 @@ public void testPageAsync() throws ExecutionException, InterruptedException { assertEquals(VALUES1, result.getValues()); } - @Test - public void testPageAsyncDeprecated() throws ExecutionException, InterruptedException { - final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); - AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); - AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); - assertEquals(nextResult, result.nextPageAsync().get()); - assertEquals("c", result.nextPageCursor()); - assertEquals(VALUES1, result.values()); - } @Test public void testIterateAll() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 8980643b32c9..9ac4b4b9894d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -150,94 +150,6 @@ public void testBaseServiceException() { assertEquals(IDEMPOTENT, serviceException.isIdempotent()); } - @Test - public void testBaseServiceExceptionDeprecated() { - BaseServiceException serviceException = new BaseServiceException(CODE, MESSAGE, REASON, - IDEMPOTENT); - assertEquals(CODE, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertEquals(REASON, serviceException.reason()); - assertFalse(serviceException.retryable()); - assertEquals(IDEMPOTENT, serviceException.idempotent()); - assertNull(serviceException.getCause()); - - serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); - assertEquals(CODE, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertEquals(REASON, serviceException.reason()); - assertFalse(serviceException.retryable()); - assertEquals(IDEMPOTENT, serviceException.idempotent()); - assertNull(serviceException.getCause()); - - Exception cause = new RuntimeException(); - serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, cause); - assertEquals(CODE, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertEquals(REASON, serviceException.reason()); - assertFalse(serviceException.retryable()); - assertEquals(IDEMPOTENT, serviceException.idempotent()); - assertEquals(cause, serviceException.getCause()); - - serviceException = new BaseServiceException(CODE, MESSAGE, REASON, false, cause); - assertEquals(CODE, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertEquals(REASON, serviceException.reason()); - assertFalse(serviceException.retryable()); - assertFalse(serviceException.idempotent()); - assertEquals(cause, serviceException.getCause()); - - IOException exception = new SocketTimeoutException(); - serviceException = new BaseServiceException(exception, true); - assertTrue(serviceException.retryable()); - assertTrue(serviceException.idempotent()); - assertNull(serviceException.getMessage()); - assertEquals(exception, serviceException.getCause()); - - exception = new SocketException(); - serviceException = new BaseServiceException(exception, true); - assertTrue(serviceException.retryable()); - assertTrue(serviceException.idempotent()); - assertNull(serviceException.getMessage()); - assertEquals(exception, serviceException.getCause()); - - exception = new IOException("insufficient data written"); - serviceException = new BaseServiceException(exception, true); - assertTrue(serviceException.retryable()); - assertTrue(serviceException.idempotent()); - assertEquals("insufficient data written", serviceException.getMessage()); - assertEquals(exception, serviceException.getCause()); - - GoogleJsonError error = new GoogleJsonError(); - error.setCode(CODE); - error.setMessage(MESSAGE); - serviceException = new BaseServiceException(error, true); - assertEquals(CODE, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertFalse(serviceException.retryable()); - assertTrue(serviceException.idempotent()); - - serviceException = new CustomServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); - assertEquals(CODE, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertEquals(REASON, serviceException.reason()); - assertEquals(RETRYABLE, serviceException.retryable()); - assertEquals(IDEMPOTENT, serviceException.idempotent()); - - serviceException = new CustomServiceException(CODE_NO_REASON, MESSAGE, null, IDEMPOTENT); - assertEquals(CODE_NO_REASON, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertNull(serviceException.reason()); - assertEquals(RETRYABLE, serviceException.retryable()); - assertEquals(IDEMPOTENT, serviceException.idempotent()); - - serviceException = new CustomServiceException(UNKNOWN_CODE, MESSAGE, REASON, IDEMPOTENT); - assertEquals(UNKNOWN_CODE, serviceException.code()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertEquals(REASON, serviceException.reason()); - assertEquals(RETRYABLE, serviceException.retryable()); - assertEquals(IDEMPOTENT, serviceException.idempotent()); - } - @Test public void testTranslateAndThrow() throws Exception { BaseServiceException cause = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index 9fb58a1633d9..a5c278a83254 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -93,17 +93,6 @@ public void testConstructor() { assertEquals(DEFAULT_CHUNK_SIZE, channel.getChunkSize()); } - @Test - public void testConstructorDeprecated() { - assertEquals(null, channel.options()); - assertEquals(ENTITY, channel.entity()); - assertEquals(0, channel.position()); - assertEquals(UPLOAD_ID, channel.uploadId()); - assertEquals(0, channel.limit()); - assertTrue(channel.isOpen()); - assertArrayEquals(new byte[0], channel.buffer()); - assertEquals(DEFAULT_CHUNK_SIZE, channel.chunkSize()); - } @Test public void testClose() throws IOException { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java index 408dc731324a..d95200a1c7b6 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -29,33 +29,18 @@ public class FieldSelectorHelperTest { private static final FieldSelector FIELD1 = new FieldSelector() { - @Override - public String selector() { - return getSelector(); - } - @Override public String getSelector() { return "field1"; } }; private static final FieldSelector FIELD2 = new FieldSelector() { - @Override - public String selector() { - return getSelector(); - } - @Override public String getSelector() { return "field2"; } }; private static final FieldSelector FIELD3 = new FieldSelector() { - @Override - public String selector() { - return getSelector(); - } - @Override public String getSelector() { return "field3"; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java index f0906fae03b2..a5c7cebfc4aa 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java @@ -43,18 +43,8 @@ public class GrpcServiceOptionsTest { .setMaxTimeout(5678) .setExecutorFactory(MOCK_EXECUTOR_FACTORY) .build(); - private static final TestGrpcServiceOptions DEPRECATED_OPTIONS = - TestGrpcServiceOptions.newBuilder() - .projectId("project-id") - .initialTimeout(1234) - .timeoutMultiplier(1.6) - .maxTimeout(5678) - .executorFactory(MOCK_EXECUTOR_FACTORY) - .build(); private static final TestGrpcServiceOptions DEFAULT_OPTIONS = TestGrpcServiceOptions.newBuilder().setProjectId("project-id").build(); - private static final TestGrpcServiceOptions DEPRECATED_DEFAULT_OPTIONS = - TestGrpcServiceOptions.newBuilder().projectId("project-id").build(); private static final TestGrpcServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private interface TestService extends Service {} @@ -164,18 +154,6 @@ public void testBuilder() { assertTrue(DEFAULT_OPTIONS.getExecutorFactory() instanceof DefaultExecutorFactory); } - @Test - public void testBuilderDeprecated() { - assertEquals(1234, DEPRECATED_OPTIONS.initialTimeout()); - assertEquals(1.6, DEPRECATED_OPTIONS.timeoutMultiplier(), 0.0); - assertEquals(5678, DEPRECATED_OPTIONS.maxTimeout()); - assertSame(MOCK_EXECUTOR_FACTORY, DEPRECATED_OPTIONS.executorFactory()); - assertEquals(20000, DEPRECATED_DEFAULT_OPTIONS.initialTimeout()); - assertEquals(1.5, DEPRECATED_DEFAULT_OPTIONS.timeoutMultiplier(), 0.0); - assertEquals(100000, DEPRECATED_DEFAULT_OPTIONS.maxTimeout()); - assertTrue(DEPRECATED_DEFAULT_OPTIONS.executorFactory() instanceof DefaultExecutorFactory); - } - @Test public void testBuilderError() { try { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java index 9ac2891c6cbf..81e330236c8b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java @@ -40,17 +40,8 @@ public class HttpServiceOptionsTest { .setHttpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) .setReadTimeout(5678) .build(); - private static final TestHttpServiceOptions DEPRECATED_OPTIONS = - TestHttpServiceOptions.newBuilder() - .projectId("project-id") - .connectTimeout(1234) - .httpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) - .readTimeout(5678) - .build(); private static final TestHttpServiceOptions DEFAULT_OPTIONS = TestHttpServiceOptions.newBuilder().setProjectId("project-id").build(); - private static final TestHttpServiceOptions DEPRECATED_DEFAULT_OPTIONS = - TestHttpServiceOptions.newBuilder().projectId("project-id").build(); private static final TestHttpServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private interface TestService extends Service {} @@ -158,17 +149,6 @@ public void testBuilder() { assertEquals(-1, DEFAULT_OPTIONS.getReadTimeout()); } - @Test - public void testBuilderDeprecated() { - assertEquals(1234, DEPRECATED_OPTIONS.connectTimeout()); - assertSame(MOCK_HTTP_TRANSPORT_FACTORY, DEPRECATED_OPTIONS.httpTransportFactory()); - assertEquals(5678, DEPRECATED_OPTIONS.readTimeout()); - assertEquals(-1, DEPRECATED_DEFAULT_OPTIONS.connectTimeout()); - assertTrue( - DEPRECATED_DEFAULT_OPTIONS.httpTransportFactory() instanceof DefaultHttpTransportFactory); - assertEquals(-1, DEPRECATED_DEFAULT_OPTIONS.readTimeout()); - } - @Test public void testBaseEquals() { assertEquals(OPTIONS, OPTIONS_COPY); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index 5a80daa50da4..b7b244adb9db 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -37,11 +37,6 @@ public void testAllUsers() { assertNull(ALL_USERS.getValue()); } - @Test - public void testAllUsersDeprecated() { - assertEquals(Identity.Type.ALL_USERS, ALL_USERS.type()); - assertNull(ALL_USERS.value()); - } @Test public void testAllAuthenticatedUsers() { @@ -49,11 +44,6 @@ public void testAllAuthenticatedUsers() { assertNull(ALL_AUTH_USERS.getValue()); } - @Test - public void testAllAuthenticatedUsersDeprecated() { - assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.type()); - assertNull(ALL_AUTH_USERS.value()); - } @Test public void testUser() { @@ -61,11 +51,6 @@ public void testUser() { assertEquals("abc@gmail.com", USER.getValue()); } - @Test - public void testUserDeprecated() { - assertEquals(Identity.Type.USER, USER.type()); - assertEquals("abc@gmail.com", USER.value()); - } @Test(expected = NullPointerException.class) public void testUserNullEmail() { @@ -78,11 +63,6 @@ public void testServiceAccount() { assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.getValue()); } - @Test - public void testServiceAccountDeprecated() { - assertEquals(Identity.Type.SERVICE_ACCOUNT, SERVICE_ACCOUNT.type()); - assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.value()); - } @Test(expected = NullPointerException.class) public void testServiceAccountNullEmail() { @@ -95,11 +75,6 @@ public void testGroup() { assertEquals("group@gmail.com", GROUP.getValue()); } - @Test - public void testGroupDeprecated() { - assertEquals(Identity.Type.GROUP, GROUP.type()); - assertEquals("group@gmail.com", GROUP.value()); - } @Test(expected = NullPointerException.class) public void testGroupNullEmail() { @@ -112,11 +87,6 @@ public void testDomain() { assertEquals("google.com", DOMAIN.getValue()); } - @Test - public void testDomainDeprecated() { - assertEquals(Identity.Type.DOMAIN, DOMAIN.type()); - assertEquals("google.com", DOMAIN.value()); - } @Test(expected = NullPointerException.class) public void testDomainNullId() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java index 24a8be62e760..e380eab47133 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java @@ -67,21 +67,6 @@ public void testLabelDescriptor() { assertNull(INT_LABEL_NO_DESCRIPTION.getDescription()); } - @Test - public void testLabelDescriptorDeprecated() { - assertEquals("booleanKey", BOOLEAN_LABEL.key()); - assertEquals(ValueType.BOOL, BOOLEAN_LABEL.valueType()); - assertEquals("Boolean label", BOOLEAN_LABEL.description()); - assertEquals("stringKey", STRING_LABEL.key()); - assertEquals(ValueType.STRING, STRING_LABEL.valueType()); - assertEquals("String label", STRING_LABEL.description()); - assertEquals("intKey", INT_LABEL.key()); - assertEquals(ValueType.INT64, INT_LABEL.valueType()); - assertEquals("Int label", INT_LABEL.description()); - assertEquals("intKey", INT_LABEL_NO_DESCRIPTION.key()); - assertEquals(ValueType.INT64, INT_LABEL_NO_DESCRIPTION.valueType()); - assertNull(INT_LABEL_NO_DESCRIPTION.description()); - } @Test public void testBuilder() { @@ -99,21 +84,6 @@ public void testBuilder() { assertEquals(ImmutableList.of(), resourceDescriptor.getLabels()); } - @Test - public void testBuilderDeprecated() { - assertEquals(TYPE, RESOURCE_DESCRIPTOR.type()); - assertEquals(NAME, RESOURCE_DESCRIPTOR.name()); - assertEquals(DISPLAY_NAME, RESOURCE_DESCRIPTOR.displayName()); - assertEquals(DESCRIPTION, RESOURCE_DESCRIPTOR.description()); - assertEquals(LABELS, RESOURCE_DESCRIPTOR.labels()); - MonitoredResourceDescriptor resourceDescriptor = - MonitoredResourceDescriptor.newBuilder(TYPE).build(); - assertEquals(TYPE, resourceDescriptor.type()); - assertNull(resourceDescriptor.name()); - assertNull(resourceDescriptor.displayName()); - assertNull(resourceDescriptor.description()); - assertEquals(ImmutableList.of(), resourceDescriptor.labels()); - } @Test public void testToAndFromPbLabelDescriptor() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java index 845ff035c679..324ed740e433 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java @@ -32,10 +32,6 @@ public class MonitoredResourceTest { private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.newBuilder(TYPE) .setLabels(LABELS) .build(); - private static final MonitoredResource DEPRECATED_MONITORED_RESOURCE = - MonitoredResource.builder(TYPE) - .labels(LABELS) - .build(); @Test public void testBuilder() { @@ -58,26 +54,6 @@ public void testBuilder() { assertEquals(ImmutableMap.of(), monitoredResource.getLabels()); } - @Test - public void testBuilderDeprecated() { - assertEquals(TYPE, DEPRECATED_MONITORED_RESOURCE.type()); - assertEquals(LABELS, DEPRECATED_MONITORED_RESOURCE.labels()); - MonitoredResource monitoredResource = MonitoredResource.builder(TYPE) - .addLabel("dataset-id", "myDataset") - .addLabel("zone", "myZone") - .build(); - assertEquals(TYPE, monitoredResource.type()); - assertEquals(LABELS, monitoredResource.labels()); - compareMonitoredResource(DEPRECATED_MONITORED_RESOURCE, monitoredResource); - monitoredResource = MonitoredResource.builder(TYPE) - .type("global") - .addLabel("dataset-id", "myDataset") - .addLabel("zone", "myZone") - .clearLabels() - .build(); - assertEquals("global", monitoredResource.type()); - assertEquals(ImmutableMap.of(), monitoredResource.labels()); - } @Test public void testToBuilder() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index 2a70b07ac949..fb1d2c209cc2 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -40,11 +40,6 @@ private static class TestPageFetcher implements PageImpl.NextPageFetcher this.nextResult = nextResult; } - @Override - public Page nextPage() { - return getNextPage(); - } - @Override public Page getNextPage() { return nextResult; @@ -61,15 +56,6 @@ public void testPage() { assertEquals(VALUES, result.getValues()); } - @Test - public void testPageDeprecated() { - final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); - PageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); - PageImpl result = new PageImpl<>(fetcher, "c", VALUES); - assertEquals(nextResult, result.nextPage()); - assertEquals("c", result.nextPageCursor()); - assertEquals(VALUES, result.values()); - } @Test public void testIterateAll() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java index 29583e64827a..cc334ec73271 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -55,20 +55,11 @@ public class PolicyTest { .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) .build(); - private static final Policy DEPRECATED_SIMPLE_POLICY = Policy.builder() - .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) - .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) - .build(); private static final Policy FULL_POLICY = Policy.newBuilder() .setBindings(SIMPLE_POLICY.getBindings()) .setEtag("etag") .setVersion(1) .build(); - private static final Policy DEPRECATED_FULL_POLICY = Policy.builder() - .bindings(SIMPLE_POLICY.getBindings()) - .etag("etag") - .version(1) - .build(); @Test public void testBuilder() { @@ -108,43 +99,6 @@ public void testBuilder() { assertEquals(0, policy.getVersion()); } - @Test - public void testBuilderDeprecated() { - assertEquals(BINDINGS, DEPRECATED_SIMPLE_POLICY.bindings()); - assertEquals(null, DEPRECATED_SIMPLE_POLICY.etag()); - assertEquals(0, DEPRECATED_SIMPLE_POLICY.version()); - assertEquals(BINDINGS, DEPRECATED_FULL_POLICY.bindings()); - assertEquals("etag", DEPRECATED_FULL_POLICY.etag()); - assertEquals(1, DEPRECATED_FULL_POLICY.version()); - Map> editorBinding = - ImmutableMap.>builder().put(EDITOR, BINDINGS.get(EDITOR)).build(); - Policy policy = DEPRECATED_FULL_POLICY.toBuilder().bindings(editorBinding).build(); - assertEquals(editorBinding, policy.bindings()); - assertEquals("etag", policy.etag()); - assertEquals(1, policy.version()); - policy = DEPRECATED_SIMPLE_POLICY.toBuilder().removeRole(EDITOR).build(); - assertEquals(ImmutableMap.of(VIEWER, BINDINGS.get(VIEWER)), policy.bindings()); - assertNull(policy.etag()); - assertEquals(0, policy.version()); - policy = policy.toBuilder() - .removeIdentity(VIEWER, USER, ALL_USERS) - .addIdentity(VIEWER, DOMAIN, GROUP) - .build(); - assertEquals(ImmutableMap.of(VIEWER, ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), - policy.bindings()); - assertNull(policy.etag()); - assertEquals(0, policy.version()); - policy = Policy.builder() - .removeIdentity(VIEWER, USER) - .addIdentity(OWNER, USER, SERVICE_ACCOUNT) - .addIdentity(EDITOR, GROUP) - .removeIdentity(EDITOR, GROUP) - .build(); - assertEquals(ImmutableMap.of(OWNER, ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.bindings()); - assertNull(policy.etag()); - assertEquals(0, policy.version()); - } - @Test public void testIllegalPolicies() { try { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java index 987cf1daa144..68bb7ce35316 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java @@ -101,51 +101,6 @@ public void testTriesWithExceptionHandling() { assertNull(RetryHelper.getContext()); } - @Test - public void testTriesWithExceptionHandlingDeprecated() { - assertNull(RetryHelper.getContext()); - RetryParams params = - RetryParams.builder().initialRetryDelayMillis(0).retryMaxAttempts(3).build(); - ExceptionHandler handler = ExceptionHandler.builder() - .retryOn(IOException.class).abortOn(RuntimeException.class).build(); - final AtomicInteger count = new AtomicInteger(3); - try { - RetryHelper.runWithRetries(new Callable() { - @Override public Void call() throws IOException, NullPointerException { - if (count.decrementAndGet() == 2) { - assertEquals(1, RetryHelper.getContext().getAttemptNumber()); - throw new IOException("should be retried"); - } - assertEquals(2, RetryHelper.getContext().getAttemptNumber()); - throw new NullPointerException("Boo!"); - } - }, params, handler); - fail("Exception should have been thrown"); - } catch (NonRetriableException ex) { - assertEquals("Boo!", ex.getCause().getMessage()); - assertEquals(1, count.intValue()); - } - assertNull(RetryHelper.getContext()); - - params = RetryParams.builder().initialRetryDelayMillis(0).retryMaxAttempts(5).build(); - handler = ExceptionHandler.builder() - .retryOn(E1Exception.class, E4Exception.class) - .abortOn(E3Exception.class).build(); - final Iterator exceptions = Arrays.asList( - new E1Exception(), new E2Exception(), new E4Exception(), new E3Exception()).iterator(); - try { - RetryHelper.runWithRetries(new Callable() { - @Override public Void call() throws E1Exception { - throw exceptions.next(); - } - }, params, handler); - fail("Exception should have been thrown"); - } catch (NonRetriableException ex) { - assertTrue(ex.getCause() instanceof E3Exception); - } - assertNull(RetryHelper.getContext()); - } - @Test public void testTriesAtLeastMinTimes() { // Total retry period set to 60 seconds so as to not factor into test @@ -172,31 +127,6 @@ public void testTriesAtLeastMinTimes() { assertNull(RetryHelper.getContext()); } - @Test - public void testTriesAtLeastMinTimesDeprecated() { - // Total retry period set to 60 seconds so as to not factor into test - RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) - .totalRetryPeriodMillis(60000) - .retryMinAttempts(5) - .retryMaxAttempts(10) - .build(); - final int timesToFail = 7; - assertNull(RetryHelper.getContext()); - int attempted = RetryHelper.runWithRetries(new Callable() { - int timesCalled; - @Override public Integer call() throws IOException { - timesCalled++; - assertEquals(timesCalled, RetryHelper.getContext().getAttemptNumber()); - assertEquals(10, RetryHelper.getContext().getRetryParams().retryMaxAttempts()); - if (timesCalled <= timesToFail) { - throw new IOException(); - } - return timesCalled; - } - }, params, ExceptionHandler.defaultInstance()); - assertEquals(timesToFail + 1, attempted); - assertNull(RetryHelper.getContext()); - } @Test public void testTriesNoMoreThanMaxTimes() { @@ -226,33 +156,6 @@ public void testTriesNoMoreThanMaxTimes() { } } - @Test - public void testTriesNoMoreThanMaxTimesDeprecated() { - // Total retry period set to 60 seconds so as to not factor into test - final int maxAttempts = 10; - RetryParams params = RetryParams.builder().initialRetryDelayMillis(0) - .totalRetryPeriodMillis(60000) - .retryMinAttempts(0) - .retryMaxAttempts(maxAttempts) - .build(); - final AtomicInteger timesCalled = new AtomicInteger(0); - try { - RetryHelper.runWithRetries(callable(new Runnable() { - @Override public void run() { - // Throw an exception up to maxAttempts times, should never be called beyond that - if (timesCalled.incrementAndGet() <= maxAttempts) { - throw new RuntimeException(); - } - fail("Body was executed too many times: " + timesCalled.get()); - } - }), params, ExceptionHandler.builder().retryOn(RuntimeException.class).build()); - // Unnecessary as this line should not be possible reach even if RetryHandler is broken - fail("Should not have succeeded, expected all attempts to fail and give up."); - } catch (RetriesExhaustedException expected) { - // Expect the body to run exactly maxAttempts times - assertEquals(maxAttempts, timesCalled.get()); - } - } private static class FakeClock extends Clock { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java index c96358042932..5f822fe7ae75 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java @@ -53,19 +53,6 @@ public void testDefaults() { } } - @Test - public void testDefaultsDeprecated() { - RetryParams params1 = RetryParams.defaultInstance(); - RetryParams params2 = RetryParams.builder().build(); - for (RetryParams params : Arrays.asList(params1, params2)) { - assertEquals(DEFAULT_INITIAL_RETRY_DELAY_MILLIS, params.initialRetryDelayMillis()); - assertEquals(DEFAULT_MAX_RETRY_DELAY_MILLIS, params.maxRetryDelayMillis()); - assertEquals(DEFAULT_RETRY_DELAY_BACKOFF_FACTOR, params.retryDelayBackoffFactor(), 0); - assertEquals(DEFAULT_RETRY_MAX_ATTEMPTS, params.retryMaxAttempts()); - assertEquals(DEFAULT_RETRY_MIN_ATTEMPTS, params.retryMinAttempts()); - assertEquals(DEFAULT_TOTAL_RETRY_PERIOD_MILLIS, params.totalRetryPeriodMillis()); - } - } @Test public void testSetAndCopy() { @@ -88,26 +75,6 @@ public void testSetAndCopy() { } } - @Test - public void testSetAndCopyDeprecated() { - RetryParams.Builder builder = RetryParams.builder(); - builder.initialRetryDelayMillis(101); - builder.maxRetryDelayMillis(102); - builder.retryDelayBackoffFactor(103); - builder.retryMinAttempts(107); - builder.retryMaxAttempts(108); - builder.totalRetryPeriodMillis(109); - RetryParams params1 = builder.build(); - RetryParams params2 = new RetryParams.Builder(params1).build(); - for (RetryParams params : Arrays.asList(params1, params2)) { - assertEquals(101, params.initialRetryDelayMillis()); - assertEquals(102, params.maxRetryDelayMillis()); - assertEquals(103, params.retryDelayBackoffFactor(), 0); - assertEquals(107, params.retryMinAttempts()); - assertEquals(108, params.retryMaxAttempts()); - assertEquals(109, params.totalRetryPeriodMillis()); - } - } @Test public void testBadSettings() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java index 7cce4ee4fbc2..75df1d301dad 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java @@ -36,15 +36,6 @@ public void testOf() { compareRoles(OWNER, Role.of("roles/owner")); } - @Test - public void testOfDeprecated() { - assertEquals("roles/viewer", VIEWER.value()); - assertEquals("roles/editor", EDITOR.value()); - assertEquals("roles/owner", OWNER.value()); - compareRoles(VIEWER, Role.of("roles/viewer")); - compareRoles(EDITOR, Role.of("roles/editor")); - compareRoles(OWNER, Role.of("roles/owner")); - } @Test public void testViewer() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index cf364db57ec1..e08b5c35ce69 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -89,18 +89,8 @@ public class ServiceOptionsTest { .setProjectId("project-id") .setRetryParams(RetryParams.noRetries()) .build(); - private static final TestServiceOptions DEPRECATED_OPTIONS = - TestServiceOptions.newBuilder() - .setCredentials(credentials) - .clock(TEST_CLOCK) - .host("host") - .projectId("project-id") - .retryParams(RetryParams.noRetries()) - .build(); private static final TestServiceOptions DEFAULT_OPTIONS = TestServiceOptions.newBuilder().setProjectId("project-id").build(); - private static final TestServiceOptions DEPRECATED_DEFAULT_OPTIONS = - TestServiceOptions.newBuilder().projectId("project-id").build(); private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private static final String LIBRARY_NAME = "gcloud-java"; private static final Pattern APPLICATION_NAME_PATTERN = @@ -236,18 +226,6 @@ public void testBuilderNullCredentials() { TestServiceOptions.newBuilder().setCredentials(null).build(); } - @Test - public void testBuilderDeprecated() { - assertSame(credentials, DEPRECATED_OPTIONS.getCredentials()); - assertSame(TEST_CLOCK, DEPRECATED_OPTIONS.clock()); - assertEquals("host", DEPRECATED_OPTIONS.host()); - assertEquals("project-id", DEPRECATED_OPTIONS.projectId()); - assertSame(RetryParams.noRetries(), DEPRECATED_OPTIONS.retryParams()); - assertSame(Clock.defaultClock(), DEPRECATED_DEFAULT_OPTIONS.clock()); - assertEquals("https://www.googleapis.com", DEPRECATED_DEFAULT_OPTIONS.host()); - assertSame(RetryParams.getDefaultInstance(), DEPRECATED_DEFAULT_OPTIONS.retryParams()); - } - @Test public void testGetProjectIdRequired() { assertTrue(OPTIONS.projectIdRequired()); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java index 959b086aed20..dffc160bebd4 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java @@ -45,12 +45,6 @@ public void testCheckEvery() { assertEquals(TimeUnit.MILLISECONDS, CHECKING_PERIOD_OPTION.getUnit()); } - @Test - public void testCheckEveryDeprecated() { - assertEquals(OptionType.CHECKING_PERIOD, CHECKING_PERIOD_OPTION.getOptionType()); - assertEquals(42, CHECKING_PERIOD_OPTION.period()); - assertEquals(TimeUnit.MILLISECONDS, CHECKING_PERIOD_OPTION.unit()); - } @Test public void testCheckEvery_InvalidPeriod() { @@ -59,13 +53,6 @@ public void testCheckEvery_InvalidPeriod() { WaitForOption.checkEvery(-1, TimeUnit.MILLISECONDS); } - @Test - public void testTimeoutDeprecated() { - assertEquals(OptionType.TIMEOUT, TIMEOUT_OPTION.getOptionType()); - assertEquals(43, TIMEOUT_OPTION.timeoutMillis()); - Timeout timeoutOption = WaitForOption.timeout(43, TimeUnit.SECONDS); - assertEquals(43_000, timeoutOption.timeoutMillis()); - } @Test public void testTimeout_InvalidTimeout() { From 07570813fd8471da1692ed66c027057772d16cb5 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Tue, 7 Mar 2017 16:28:20 -0800 Subject: [PATCH 0297/3036] Remove deprecated methods in google-cloud-core (#1707) --- .../com/google/cloud/GrpcServiceOptions.java | 89 ------------------- .../com/google/cloud/HttpServiceOptions.java | 15 +--- 2 files changed, 1 insertion(+), 103 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java index 75c99c9506e6..8777ac47834b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java @@ -154,17 +154,6 @@ protected Builder(GrpcServiceOptions options) { @Override protected abstract GrpcServiceOptions build(); - /** - * Sets the scheduled executor factory. This method can be used to provide an user-defined - * scheduled executor to execute requests. - * - * @return the builder - */ - @Deprecated - public B executorFactory(ExecutorFactory executorFactory) { - return setExecutorFactory(executorFactory); - } - /** * Sets the scheduled executor factory. This method can be used to provide an user-defined * scheduled executor to execute requests. @@ -176,18 +165,6 @@ public B setExecutorFactory(ExecutorFactory executorFa return self(); } - /** - * Sets the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value - * adjusted according to {@link #setTimeoutMultiplier(double)}. Default value is 20000. - * - * @return the builder - * @throws IllegalArgumentException if the provided timeout is < 0 - */ - @Deprecated - public B initialTimeout(int initialTimeout) { - return setInitialTimeout(initialTimeout); - } - /** * Sets the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value * adjusted according to {@link #setTimeoutMultiplier(double)}. Default value is 20000. @@ -201,18 +178,6 @@ public B setInitialTimeout(int initialTimeout) { return self(); } - /** - * Sets the timeout multiplier. This value is used to compute the timeout for a retried RPC. - * Timeout is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. - * - * @return the builder - * @throws IllegalArgumentException if the provided timeout multiplier is < 0 - */ - @Deprecated - public B timeoutMultiplier(double timeoutMultiplier) { - return setTimeoutMultiplier(timeoutMultiplier); - } - /** * Sets the timeout multiplier. This value is used to compute the timeout for a retried RPC. * Timeout is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. @@ -226,18 +191,6 @@ public B setTimeoutMultiplier(double timeoutMultiplier) { return self(); } - /** - * Sets the maximum timeout for a RPC call, in milliseconds. Default value is 100000. If - * {@code maxTimeout} is lower than the initial timeout the {@link #setInitialTimeout(int)} - * value is used instead. - * - * @return the builder - */ - @Deprecated - public B maxTimeout(int maxTimeout) { - return setMaxTimeout(maxTimeout); - } - /** * Sets the maximum timeout for a RPC call, in milliseconds. Default value is 100000. If * {@code maxTimeout} is lower than the initial timeout the {@link #setInitialTimeout(int)} @@ -265,14 +218,6 @@ protected GrpcServiceOptions( maxTimeout = builder.maxTimeout <= initialTimeout ? initialTimeout : builder.maxTimeout; } - /** - * Returns a scheduled executor service provider. - */ - @Deprecated - protected ExecutorFactory executorFactory() { - return getExecutorFactory(); - } - /** * Returns a scheduled executor service provider. */ @@ -280,14 +225,6 @@ protected ExecutorFactory getExecutorFactory() { return executorFactory; } - /** - * Returns a builder for API call settings. - */ - @Deprecated - protected UnaryCallSettings.Builder apiCallSettings() { - return getApiCallSettings(); - } - /** * Returns a builder for API call settings. */ @@ -321,15 +258,6 @@ protected ChannelProvider getChannelProvider() { return builder.build(); } - /** - * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value - * adjusted according to {@link #getTimeoutMultiplier()}. Default value is 20000. - */ - @Deprecated - public int initialTimeout() { - return getInitialTimeout(); - } - /** * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value * adjusted according to {@link #getTimeoutMultiplier()}. Default value is 20000. @@ -338,15 +266,6 @@ public int getInitialTimeout() { return initialTimeout; } - /** - * Returns the timeout multiplier. This values is used to compute the timeout for a RPC. Timeout - * is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. - */ - @Deprecated - public double timeoutMultiplier() { - return getTimeoutMultiplier(); - } - /** * Returns the timeout multiplier. This values is used to compute the timeout for a RPC. Timeout * is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. @@ -355,14 +274,6 @@ public double getTimeoutMultiplier() { return timeoutMultiplier; } - /** - * Returns the maximum timeout for a RPC call, in milliseconds. Default value is 100000. - */ - @Deprecated - public int maxTimeout() { - return getMaxTimeout(); - } - /** * Returns the maximum timeout for a RPC call, in milliseconds. Default value is 100000. */ diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java index 1613b68acb74..63ac94c114ef 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java @@ -98,12 +98,12 @@ protected Builder(HttpServiceOptions options) { @Override protected abstract HttpServiceOptions build(); + @Override @SuppressWarnings("unchecked") protected B self() { return (B) this; } - /** * Sets the HTTP transport factory. * @@ -114,7 +114,6 @@ public B setHttpTransportFactory(HttpTransportFactory httpTransportFactory) { return self(); } - /** * Sets the timeout in milliseconds to establish a connection. * @@ -127,7 +126,6 @@ public B setConnectTimeout(int connectTimeout) { return self(); } - /** * Sets the timeout in milliseconds to read data from an established connection. * @@ -153,7 +151,6 @@ protected HttpServiceOptions( readTimeout = builder.readTimeout; } - /** * Returns the HTTP transport factory. */ @@ -161,7 +158,6 @@ public HttpTransportFactory getHttpTransportFactory() { return httpTransportFactory; } - /** * Returns a request initializer responsible for initializing requests according to service * options. @@ -187,14 +183,6 @@ public void initialize(HttpRequest httpRequest) throws IOException { }; } - /** - * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a - * negative number is the default value (20000). - */ - public int connectTimeout() { - return getConnectTimeout(); - } - /** * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a * negative number is the default value (20000). @@ -203,7 +191,6 @@ public int getConnectTimeout() { return connectTimeout; } - /** * Returns the timeout in milliseconds to read from an established connection. 0 is an infinite * timeout, a negative number is the default value (20000). From 09d1ad1b672b2a8eb29efda69410be5257c89df7 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Wed, 8 Mar 2017 09:09:42 -0800 Subject: [PATCH 0298/3036] Pub/Sub: Converting Future -> ApiFuture (#1709) Also, deleting PullFuture which is subsumed by ApiFuture. --- .../src/main/java/com/google/cloud/AsyncPage.java | 8 ++++---- .../src/main/java/com/google/cloud/AsyncPageImpl.java | 11 +++++------ .../test/java/com/google/cloud/AsyncPageImplTest.java | 8 ++++---- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java index 13fa7a6cb98e..abc1c360288d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java @@ -16,7 +16,7 @@ package com.google.cloud; -import java.util.concurrent.Future; +import com.google.api.gax.core.ApiFuture; /** * Interface for asynchronously consuming Google Cloud paginated results. @@ -46,8 +46,8 @@ public interface AsyncPage extends Page { /** - * Returns a {@link Future} object for the next page. {@link Future#get()} returns {@code null} if - * the last page has been reached. + * Returns a {@link ApiFuture} object for the next page. {@link ApiFuture#get()} returns + * {@code null} if the last page has been reached. */ - Future> getNextPageAsync(); + ApiFuture> getNextPageAsync(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index bc4858ecb7ce..e2d27d75bcdf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -16,13 +16,12 @@ package com.google.cloud; +import com.google.api.gax.core.ApiFuture; +import com.google.api.gax.core.ApiFutures; import com.google.common.base.Throwables; -import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.Uninterruptibles; - import java.io.Serializable; import java.util.concurrent.ExecutionException; -import java.util.concurrent.Future; /** * Base implementation for asynchronously consuming Google Cloud paginated results. @@ -42,7 +41,7 @@ public class AsyncPageImpl extends PageImpl implements AsyncPage { */ public interface NextPageFetcher extends Serializable { - Future> getNextPage(); + ApiFuture> getNextPage(); } private static class SyncNextPageFetcher implements PageImpl.NextPageFetcher { @@ -76,9 +75,9 @@ public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterabl @Override - public Future> getNextPageAsync() { + public ApiFuture> getNextPageAsync() { if (getNextPageCursor() == null || asyncPageFetcher == null) { - return Futures.immediateCheckedFuture(null); + return ApiFutures.immediateFuture(null); } return asyncPageFetcher.getNextPage(); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index 1f6298857ab0..ea1717583dfb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -18,13 +18,13 @@ import static org.junit.Assert.assertEquals; +import com.google.api.gax.core.ApiFuture; +import com.google.api.gax.core.ApiFutures; import com.google.common.collect.ImmutableList; -import com.google.common.util.concurrent.Futures; import org.junit.Test; import java.util.concurrent.ExecutionException; -import java.util.concurrent.Future; public class AsyncPageImplTest { @@ -51,8 +51,8 @@ private static class TestPageFetcher implements AsyncPageImpl.NextPageFetcher> getNextPage() { - return Futures.>immediateFuture(nextResult); + public ApiFuture> getNextPage() { + return ApiFutures.>immediateFuture(nextResult); } } From 2741b2211a1d27015c8cb41916f590aa4ef55e2e Mon Sep 17 00:00:00 2001 From: Ryan Eiger Date: Thu, 9 Mar 2017 07:12:48 -0800 Subject: [PATCH 0299/3036] Add project role identities to the Identity helper (#1718) In addition to the standard IAM identities, project membership identities are also supported. For instance, a role can be applied to only the Editors of a project. --- .../main/java/com/google/cloud/Identity.java | 53 ++++++++++++++++++- .../java/com/google/cloud/IdentityTest.java | 39 ++++++++++++++ 2 files changed, 91 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index cbf2c6292d2e..74d55672ef84 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -78,7 +78,22 @@ public enum Type { /** * Represents all the users of a Google Apps domain name. */ - DOMAIN + DOMAIN, + + /** + * Represents owners of a Google Cloud Platform project. + */ + PROJECT_OWNER, + + /** + * Represents editors of a Google Cloud Platform project. + */ + PROJECT_EDITOR, + + /** + * Represents viewers of a Google Cloud Platform project. + */ + PROJECT_VIEWER } private Identity(Type type, String value) { @@ -161,6 +176,30 @@ public static Identity group(String email) { public static Identity domain(String domain) { return new Identity(Type.DOMAIN, checkNotNull(domain)); } + + /** + * Returns a new project owner identity. + * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. + */ + public static Identity projectOwner(String projectId) { + return new Identity(Type.PROJECT_OWNER, checkNotNull(projectId)); + } + + /** + * Returns a new project editor identity. + * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. + */ + public static Identity projectEditor(String projectId) { + return new Identity(Type.PROJECT_EDITOR, checkNotNull(projectId)); + } + + /** + * Returns a new project viewer identity. + * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. + */ + public static Identity projectViewer(String projectId) { + return new Identity(Type.PROJECT_VIEWER, checkNotNull(projectId)); + } @Override public String toString() { @@ -199,6 +238,12 @@ public String strValue() { return "group:" + value; case DOMAIN: return "domain:" + value; + case PROJECT_OWNER: + return "projectOwner:" + value; + case PROJECT_EDITOR: + return "projectEditor:" + value; + case PROJECT_VIEWER: + return "projectViewer:" + value; default: throw new IllegalStateException("Unexpected identity type: " + type); } @@ -224,6 +269,12 @@ public static Identity valueOf(String identityStr) { return Identity.group(info[1]); case DOMAIN: return Identity.domain(info[1]); + case PROJECT_OWNER: + return Identity.projectOwner(info[1]); + case PROJECT_EDITOR: + return Identity.projectEditor(info[1]); + case PROJECT_VIEWER: + return Identity.projectViewer(info[1]); default: throw new IllegalStateException("Unexpected identity type " + type); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index b7b244adb9db..cf8726a4b60d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -30,6 +30,9 @@ public class IdentityTest { Identity.serviceAccount("service-account@gmail.com"); private static final Identity GROUP = Identity.group("group@gmail.com"); private static final Identity DOMAIN = Identity.domain("google.com"); + private static final Identity PROJECT_OWNER = Identity.projectOwner("my-sample-project"); + private static final Identity PROJECT_EDITOR = Identity.projectEditor("my-sample-project"); + private static final Identity PROJECT_VIEWER = Identity.projectViewer("my-sample-project"); @Test public void testAllUsers() { @@ -93,6 +96,39 @@ public void testDomainNullId() { Identity.domain(null); } + @Test + public void testProjectOwner() { + assertEquals(Identity.Type.PROJECT_OWNER, PROJECT_OWNER.getType()); + assertEquals("my-sample-project", PROJECT_OWNER.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testProjectOwnerNullId() { + Identity.projectOwner(null); + } + + @Test + public void testProjectEditor() { + assertEquals(Identity.Type.PROJECT_EDITOR, PROJECT_EDITOR.getType()); + assertEquals("my-sample-project", PROJECT_EDITOR.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testProjectEditorNullId() { + Identity.projectEditor(null); + } + + @Test + public void testProjectViewer() { + assertEquals(Identity.Type.PROJECT_VIEWER, PROJECT_VIEWER.getType()); + assertEquals("my-sample-project", PROJECT_VIEWER.getValue()); + } + + @Test(expected = NullPointerException.class) + public void testProjectViewerNullId() { + Identity.projectViewer(null); + } + @Test public void testIdentityToAndFromPb() { compareIdentities(ALL_USERS, Identity.valueOf(ALL_USERS.strValue())); @@ -101,6 +137,9 @@ public void testIdentityToAndFromPb() { compareIdentities(SERVICE_ACCOUNT, Identity.valueOf(SERVICE_ACCOUNT.strValue())); compareIdentities(GROUP, Identity.valueOf(GROUP.strValue())); compareIdentities(DOMAIN, Identity.valueOf(DOMAIN.strValue())); + compareIdentities(PROJECT_OWNER, Identity.valueOf(PROJECT_OWNER.strValue())); + compareIdentities(PROJECT_EDITOR, Identity.valueOf(PROJECT_EDITOR.strValue())); + compareIdentities(PROJECT_VIEWER, Identity.valueOf(PROJECT_VIEWER.strValue())); } private void compareIdentities(Identity expected, Identity actual) { From 58f62c4d43aad2b2337011ff93c47fb1dce913f1 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Mon, 13 Mar 2017 11:56:14 -0700 Subject: [PATCH 0300/3036] Make `getProjectId()` supports GAE (#1726) --- .../main/java/com/google/cloud/ServiceOptions.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index d5b155486b58..0e6987e93ef9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -394,8 +394,17 @@ protected static String getAppEngineProjectId() { String serviceAccountName = (String) method.invoke(appIdentityService); int indexOfAtSign = serviceAccountName.indexOf('@'); return serviceAccountName.substring(0, indexOfAtSign); + } catch (ClassNotFoundException exception) { + if (System.getProperty("com.google.appengine.runtime.version") != null) { + // Could not resolve appengine classes under GAE environment. + throw new RuntimeException("Google App Engine runtime detected " + + "(the environment variable \"com.google.appengine.runtime.version\" is set), " + + "but unable to resolve appengine-sdk classes. " + + "For more details see " + + "https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/APPENGINE.md"); + } + return null; } catch (Exception ignore) { - // return null if can't determine return null; } } From 5c307fb0476a306bdab232b80171a866668b2205 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Tue, 14 Mar 2017 18:42:26 -0700 Subject: [PATCH 0301/3036] Removing transport from ServiceOptions hierarchy (#1723) This allows a client to support multiple transports in the future, e.g. Datastore supports http now but grpc support will be added later. Related changes: * Renaming HttpServiceOptions to HttpTransportOptions * Renaming GrpcServiceOptions to GrpcTransportOptions * Creating new TransportOptions interface --- ...Options.java => GrpcTransportOptions.java} | 113 +++++---- ...Options.java => HttpTransportOptions.java} | 94 ++++---- .../com/google/cloud/ServiceDefaults.java | 29 +++ .../java/com/google/cloud/ServiceOptions.java | 42 ++-- .../com/google/cloud/TransportOptions.java | 25 ++ .../google/cloud/BaseWriteChannelTest.java | 2 +- .../google/cloud/GrpcServiceOptionsTest.java | 218 ------------------ .../cloud/GrpcTransportOptionsTest.java | 117 ++++++++++ .../google/cloud/HttpServiceOptionsTest.java | 163 ------------- .../cloud/HttpTransportOptionsTest.java | 63 +++++ .../com/google/cloud/ServiceOptionsTest.java | 26 ++- 11 files changed, 374 insertions(+), 518 deletions(-) rename java-core/google-cloud-core/src/main/java/com/google/cloud/{GrpcServiceOptions.java => GrpcTransportOptions.java} (71%) rename java-core/google-cloud-core/src/main/java/com/google/cloud/{HttpServiceOptions.java => HttpTransportOptions.java} (64%) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java similarity index 71% rename from java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index 8777ac47834b..a96001185636 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -24,16 +24,11 @@ import com.google.api.gax.grpc.InstantiatingChannelProvider; import com.google.api.gax.grpc.UnaryCallSettings; import com.google.auth.Credentials; -import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.net.HostAndPort; - import io.grpc.internal.SharedResourceHolder; import io.grpc.internal.SharedResourceHolder.Resource; - -import org.joda.time.Duration; - import java.io.IOException; import java.io.ObjectInputStream; import java.util.Objects; @@ -41,20 +36,15 @@ import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; +import org.joda.time.Duration; /** - * Abstract class representing service options for those services that use gRPC as the transport + * Class representing service options for those services that use gRPC as the transport * layer. - * - * @param the service subclass - * @param the spi-layer class corresponding to the service - * @param the {@code ServiceOptions} subclass corresponding to the service */ -public abstract class GrpcServiceOptions, ServiceRpcT, - OptionsT extends GrpcServiceOptions> - extends ServiceOptions { +public class GrpcTransportOptions implements TransportOptions { - private static final long serialVersionUID = -3093986242928037007L; + private static final long serialVersionUID = -9049538465533951165L; private final String executorFactoryClassName; private final int initialTimeout; private final double timeoutMultiplier; @@ -124,35 +114,27 @@ public synchronized void release(ScheduledExecutorService executor) { } /** - * Builder for {@code GrpcServiceOptions}. - * - * @param the service subclass - * @param the spi-layer class corresponding to the service - * @param the {@code GrpcServiceOptions} subclass corresponding to the service - * @param the {@code ServiceOptions} builder + * Builder for {@code GrpcTransportOptions}. */ - protected abstract static class Builder, ServiceRpcT, - OptionsT extends GrpcServiceOptions, - B extends Builder> - extends ServiceOptions.Builder { + public static class Builder { private ExecutorFactory executorFactory; private int initialTimeout = 20_000; private double timeoutMultiplier = 1.5; private int maxTimeout = 100_000; - protected Builder() {} + private Builder() {} - protected Builder(GrpcServiceOptions options) { - super(options); + private Builder(GrpcTransportOptions options) { executorFactory = options.executorFactory; initialTimeout = options.initialTimeout; timeoutMultiplier = options.timeoutMultiplier; maxTimeout = options.maxTimeout; } - @Override - protected abstract GrpcServiceOptions build(); + public GrpcTransportOptions build() { + return new GrpcTransportOptions(this); + } /** * Sets the scheduled executor factory. This method can be used to provide an user-defined @@ -160,9 +142,9 @@ protected Builder(GrpcServiceOptions options) { * * @return the builder */ - public B setExecutorFactory(ExecutorFactory executorFactory) { + public Builder setExecutorFactory(ExecutorFactory executorFactory) { this.executorFactory = executorFactory; - return self(); + return this; } /** @@ -172,10 +154,10 @@ public B setExecutorFactory(ExecutorFactory executorFa * @return the builder * @throws IllegalArgumentException if the provided timeout is < 0 */ - public B setInitialTimeout(int initialTimeout) { + public Builder setInitialTimeout(int initialTimeout) { Preconditions.checkArgument(initialTimeout > 0, "Initial timeout must be > 0"); this.initialTimeout = initialTimeout; - return self(); + return this; } /** @@ -185,10 +167,10 @@ public B setInitialTimeout(int initialTimeout) { * @return the builder * @throws IllegalArgumentException if the provided timeout multiplier is < 0 */ - public B setTimeoutMultiplier(double timeoutMultiplier) { + public Builder setTimeoutMultiplier(double timeoutMultiplier) { Preconditions.checkArgument(timeoutMultiplier >= 1.0, "Timeout multiplier must be >= 1"); this.timeoutMultiplier = timeoutMultiplier; - return self(); + return this; } /** @@ -198,20 +180,16 @@ public B setTimeoutMultiplier(double timeoutMultiplier) { * * @return the builder */ - public B setMaxTimeout(int maxTimeout) { + public Builder setMaxTimeout(int maxTimeout) { this.maxTimeout = maxTimeout; - return self(); + return this; } } @SuppressWarnings("unchecked") - protected GrpcServiceOptions( - Class> serviceFactoryClass, - Class> rpcFactoryClass, Builder builder) { - super(serviceFactoryClass, rpcFactoryClass, builder); + private GrpcTransportOptions(Builder builder) { executorFactory = firstNonNull(builder.executorFactory, - getFromServiceLoader(ExecutorFactory.class, DefaultExecutorFactory.INSTANCE)); + ServiceOptions.getFromServiceLoader(ExecutorFactory.class, DefaultExecutorFactory.INSTANCE)); executorFactoryClassName = executorFactory.getClass().getName(); initialTimeout = builder.initialTimeout; timeoutMultiplier = builder.timeoutMultiplier; @@ -221,37 +199,39 @@ protected GrpcServiceOptions( /** * Returns a scheduled executor service provider. */ - protected ExecutorFactory getExecutorFactory() { + public ExecutorFactory getExecutorFactory() { return executorFactory; } /** * Returns a builder for API call settings. */ - protected UnaryCallSettings.Builder getApiCallSettings() { + public UnaryCallSettings.Builder getApiCallSettings(RetryParams retryParams) { // todo(mziccard): specify timeout these settings: // retryParams().retryMaxAttempts(), retryParams().retryMinAttempts() final RetrySettings.Builder builder = RetrySettings.newBuilder() - .setTotalTimeout(Duration.millis(getRetryParams().getTotalRetryPeriodMillis())) + .setTotalTimeout(Duration.millis(retryParams.getTotalRetryPeriodMillis())) .setInitialRpcTimeout(Duration.millis(getInitialTimeout())) .setRpcTimeoutMultiplier(getTimeoutMultiplier()) .setMaxRpcTimeout(Duration.millis(getMaxTimeout())) - .setInitialRetryDelay(Duration.millis(getRetryParams().getInitialRetryDelayMillis())) - .setRetryDelayMultiplier(getRetryParams().getRetryDelayBackoffFactor()) - .setMaxRetryDelay(Duration.millis(getRetryParams().getMaxRetryDelayMillis())); + .setInitialRetryDelay(Duration.millis(retryParams.getInitialRetryDelayMillis())) + .setRetryDelayMultiplier(retryParams.getRetryDelayBackoffFactor()) + .setMaxRetryDelay(Duration.millis(retryParams.getMaxRetryDelayMillis())); return UnaryCallSettings.newBuilder().setRetrySettingsBuilder(builder); } /** * Returns a channel provider. */ - protected ChannelProvider getChannelProvider() { - HostAndPort hostAndPort = HostAndPort.fromString(getHost()); + public static ChannelProvider getChannelProvider( + ServiceOptions serviceOptions) { + HostAndPort hostAndPort = HostAndPort.fromString(serviceOptions.getHost()); InstantiatingChannelProvider.Builder builder = InstantiatingChannelProvider.newBuilder() .setServiceAddress(hostAndPort.getHostText()) .setPort(hostAndPort.getPort()) - .setClientLibHeader(getGoogApiClientLibName(), firstNonNull(getLibraryVersion(), "")); - Credentials scopedCredentials = getScopedCredentials(); + .setClientLibHeader(serviceOptions.getGoogApiClientLibName(), + firstNonNull(serviceOptions.getLibraryVersion(), "")); + Credentials scopedCredentials = serviceOptions.getScopedCredentials(); if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { builder.setCredentialsProvider(FixedCredentialsProvider.create(scopedCredentials)); } @@ -281,15 +261,26 @@ public int getMaxTimeout() { return maxTimeout; } + public Builder toBuilder() { + return new Builder(this); + } + @Override - protected int baseHashCode() { - return Objects.hash(super.baseHashCode(), executorFactoryClassName, initialTimeout, + public int hashCode() { + return Objects.hash(executorFactoryClassName, initialTimeout, timeoutMultiplier, maxTimeout); } - protected boolean baseEquals(GrpcServiceOptions other) { - return super.baseEquals(other) - && Objects.equals(executorFactoryClassName, other.executorFactoryClassName) + @Override + public boolean equals(Object obj) { + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + GrpcTransportOptions other = (GrpcTransportOptions) obj; + return Objects.equals(executorFactoryClassName, other.executorFactoryClassName) && Objects.equals(initialTimeout, other.initialTimeout) && Objects.equals(timeoutMultiplier, other.timeoutMultiplier) && Objects.equals(maxTimeout, other.maxTimeout); @@ -297,6 +288,10 @@ protected boolean baseEquals(GrpcServiceOptions other) { private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { input.defaultReadObject(); - executorFactory = newInstance(executorFactoryClassName); + executorFactory = ServiceOptions.newInstance(executorFactoryClassName); + } + + public static Builder newBuilder() { + return new Builder(); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java similarity index 64% rename from java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java rename to java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java index 63ac94c114ef..60ff8f719cb5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java @@ -26,25 +26,17 @@ import com.google.auth.Credentials; import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.http.HttpTransportFactory; -import com.google.cloud.spi.ServiceRpcFactory; - import java.io.IOException; import java.io.ObjectInputStream; import java.util.Objects; /** - * Abstract class representing service options for those services that use HTTP as the transport + * Class representing service options for those services that use HTTP as the transport * layer. - * - * @param the service subclass - * @param the spi-layer class corresponding to the service - * @param the {@code ServiceOptions} subclass corresponding to the service */ -public abstract class HttpServiceOptions, ServiceRpcT, - OptionsT extends HttpServiceOptions> - extends ServiceOptions { +public class HttpTransportOptions implements TransportOptions { - private static final long serialVersionUID = 4765436436821178975L; + private static final long serialVersionUID = 7890117765045419810L; private final int connectTimeout; private final int readTimeout; private final String httpTransportFactoryClassName; @@ -58,7 +50,7 @@ public static class DefaultHttpTransportFactory implements HttpTransportFactory @Override public HttpTransport create() { // Consider App Engine - if (getAppEngineAppId() != null) { + if (ServiceOptions.getAppEngineAppId() != null) { try { return new UrlFetchTransport(); } catch (Exception ignore) { @@ -70,38 +62,24 @@ public HttpTransport create() { } /** - * Builder for {@code HttpServiceOptions}. - * - * @param the service subclass - * @param the spi-layer class corresponding to the service - * @param the {@code HttpServiceOptions} subclass corresponding to the service - * @param the {@code ServiceOptions} builder + * Builder for {@code HttpTransportOptions}. */ - protected abstract static class Builder, ServiceRpcT, - OptionsT extends HttpServiceOptions, - B extends Builder> - extends ServiceOptions.Builder { + public static class Builder { private HttpTransportFactory httpTransportFactory; private int connectTimeout = -1; private int readTimeout = -1; - protected Builder() {} + private Builder() {} - protected Builder(HttpServiceOptions options) { - super(options); + private Builder(HttpTransportOptions options) { httpTransportFactory = options.httpTransportFactory; connectTimeout = options.connectTimeout; readTimeout = options.readTimeout; } - @Override - protected abstract HttpServiceOptions build(); - - @Override - @SuppressWarnings("unchecked") - protected B self() { - return (B) this; + public HttpTransportOptions build() { + return new HttpTransportOptions(this); } /** @@ -109,9 +87,9 @@ protected B self() { * * @return the builder */ - public B setHttpTransportFactory(HttpTransportFactory httpTransportFactory) { + public Builder setHttpTransportFactory(HttpTransportFactory httpTransportFactory) { this.httpTransportFactory = httpTransportFactory; - return self(); + return this; } /** @@ -121,9 +99,9 @@ public B setHttpTransportFactory(HttpTransportFactory httpTransportFactory) { * negative number for the default value (20000). * @return the builder */ - public B setConnectTimeout(int connectTimeout) { + public Builder setConnectTimeout(int connectTimeout) { this.connectTimeout = connectTimeout; - return self(); + return this; } /** @@ -133,19 +111,16 @@ public B setConnectTimeout(int connectTimeout) { * for the default value (20000). * @return the builder */ - public B setReadTimeout(int readTimeout) { + public Builder setReadTimeout(int readTimeout) { this.readTimeout = readTimeout; - return self(); + return this; } } - protected HttpServiceOptions( - Class> serviceFactoryClass, - Class> rpcFactoryClass, Builder builder) { - super(serviceFactoryClass, rpcFactoryClass, builder); + protected HttpTransportOptions(Builder builder) { httpTransportFactory = firstNonNull(builder.httpTransportFactory, - getFromServiceLoader(HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); + ServiceOptions.getFromServiceLoader(HttpTransportFactory.class, + DefaultHttpTransportFactory.INSTANCE)); httpTransportFactoryClassName = httpTransportFactory.getClass().getName(); connectTimeout = builder.connectTimeout; readTimeout = builder.readTimeout; @@ -162,8 +137,8 @@ public HttpTransportFactory getHttpTransportFactory() { * Returns a request initializer responsible for initializing requests according to service * options. */ - public HttpRequestInitializer getHttpRequestInitializer() { - Credentials scopedCredentials = getScopedCredentials(); + public HttpRequestInitializer getHttpRequestInitializer(ServiceOptions serviceOptions) { + Credentials scopedCredentials = serviceOptions.getScopedCredentials(); final HttpRequestInitializer delegate = scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() ? new HttpCredentialsAdapter(scopedCredentials) : null; @@ -199,21 +174,36 @@ public int getReadTimeout() { return readTimeout; } + public Builder toBuilder() { + return new Builder(this); + } + @Override - protected int baseHashCode() { - return Objects.hash(super.baseHashCode(), httpTransportFactoryClassName, connectTimeout, + public int hashCode() { + return Objects.hash(httpTransportFactoryClassName, connectTimeout, readTimeout); } - protected boolean baseEquals(HttpServiceOptions other) { - return super.baseEquals(other) - && Objects.equals(httpTransportFactoryClassName, other.httpTransportFactoryClassName) + @Override + public boolean equals(Object obj) { + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + HttpTransportOptions other = (HttpTransportOptions) obj; + return Objects.equals(httpTransportFactoryClassName, other.httpTransportFactoryClassName) && Objects.equals(connectTimeout, other.connectTimeout) && Objects.equals(readTimeout, other.readTimeout); } private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { input.defaultReadObject(); - httpTransportFactory = newInstance(httpTransportFactoryClassName); + httpTransportFactory = ServiceOptions.newInstance(httpTransportFactoryClassName); + } + + public static Builder newBuilder() { + return new Builder(); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java new file mode 100644 index 000000000000..20e9d86f6193 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java @@ -0,0 +1,29 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.cloud.spi.ServiceRpcFactory; +import java.io.Serializable; + +public interface ServiceDefaults, ServiceRpcT, + OptionsT extends ServiceOptions> extends Serializable { + ServiceFactory getDefaultServiceFactory(); + + ServiceRpcFactory getDefaultRpcFactory(); + + TransportOptions getDefaultTransportOptions(); +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 0e6987e93ef9..a4210584e226 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -90,6 +90,7 @@ public abstract class ServiceOptions, Service private final String serviceFactoryClassName; private final Clock clock; private final Credentials credentials; + private final TransportOptions transportOptions; private transient ServiceRpcFactory serviceRpcFactory; private transient ServiceFactory serviceFactory; @@ -115,6 +116,7 @@ public abstract static class Builder, Service private ServiceFactory serviceFactory; private ServiceRpcFactory serviceRpcFactory; private Clock clock; + private TransportOptions transportOptions; protected Builder() {} @@ -126,6 +128,7 @@ protected Builder(ServiceOptions options) { serviceFactory = options.serviceFactory; serviceRpcFactory = options.serviceRpcFactory; clock = options.clock; + transportOptions = options.transportOptions; } protected abstract ServiceOptions build(); @@ -219,11 +222,22 @@ public B setServiceRpcFactory(ServiceRpcFactory serviceRp this.serviceRpcFactory = serviceRpcFactory; return self(); } + + /** + * Sets the transport options. + * + * @return the builder + */ + public B setTransportOptions(TransportOptions transportOptions) { + this.transportOptions = transportOptions; + return self(); + } } protected ServiceOptions(Class> serviceFactoryClass, Class> rpcFactoryClass, - Builder builder) { + Builder builder, + ServiceDefaults serviceDefaults) { projectId = builder.projectId != null ? builder.projectId : getDefaultProject(); if (projectIdRequired()) { checkArgument( @@ -235,12 +249,14 @@ protected ServiceOptions(Class> ser credentials = builder.credentials != null ? builder.credentials : defaultCredentials(); retryParams = firstNonNull(builder.retryParams, defaultRetryParams()); serviceFactory = firstNonNull(builder.serviceFactory, - getFromServiceLoader(serviceFactoryClass, getDefaultServiceFactory())); + getFromServiceLoader(serviceFactoryClass, serviceDefaults.getDefaultServiceFactory())); serviceFactoryClassName = serviceFactory.getClass().getName(); serviceRpcFactory = firstNonNull(builder.serviceRpcFactory, - getFromServiceLoader(rpcFactoryClass, getDefaultRpcFactory())); + getFromServiceLoader(rpcFactoryClass, serviceDefaults.getDefaultRpcFactory())); serviceRpcFactoryClassName = serviceRpcFactory.getClass().getName(); clock = firstNonNull(builder.clock, Clock.defaultClock()); + transportOptions = firstNonNull(builder.transportOptions, + serviceDefaults.getDefaultTransportOptions()); } /** @@ -495,6 +511,12 @@ public Clock getClock() { return clock; } + /** + * Returns the transport-specific options for this service. + */ + public TransportOptions getTransportOptions() { + return transportOptions; + } /** * Returns the application's name as a string in the format {@code gcloud-java/[version]}. @@ -518,13 +540,6 @@ public String getGoogApiClientLibName() { return X_GOOGLE_CLIENT_HEADER_NAME; } - /** - * Returns the library's version as a string. - */ - public String libraryVersion() { - return getLibraryVersion(); - } - /** * Returns the library's version as a string. */ @@ -562,13 +577,6 @@ static T newInstance(String className) throws IOException, ClassNotFoundExce } } - - protected abstract ServiceFactory getDefaultServiceFactory(); - - - protected abstract ServiceRpcFactory getDefaultRpcFactory(); - - protected abstract Set getScopes(); public abstract > B toBuilder(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java new file mode 100644 index 000000000000..6048db05155f --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java @@ -0,0 +1,25 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud; + +import java.io.Serializable; + +/** + * An abstraction for transport-specific options, e.g. for http1.1 vs grpc. + */ +public interface TransportOptions extends Serializable { + +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index a5c278a83254..b13a8087aa6c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -48,7 +48,7 @@ protected CustomServiceOptions( Class> serviceFactoryClass, Class> rpcFactoryClass, Builder builder) { - super(serviceFactoryClass, rpcFactoryClass, builder); + super(serviceFactoryClass, rpcFactoryClass, builder, null); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java deleted file mode 100644 index a5c7cebfc4aa..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcServiceOptionsTest.java +++ /dev/null @@ -1,218 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotEquals; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; - -import com.google.cloud.GrpcServiceOptions.DefaultExecutorFactory; -import com.google.cloud.GrpcServiceOptions.ExecutorFactory; -import com.google.cloud.spi.ServiceRpcFactory; - -import org.easymock.EasyMock; -import org.junit.Test; - -import java.util.Set; -import java.util.concurrent.ScheduledExecutorService; - -public class GrpcServiceOptionsTest { - - private static final ExecutorFactory MOCK_EXECUTOR_FACTORY = - EasyMock.createMock(ExecutorFactory.class); - private static final TestGrpcServiceOptions OPTIONS = TestGrpcServiceOptions.newBuilder() - .setProjectId("project-id") - .setInitialTimeout(1234) - .setTimeoutMultiplier(1.6) - .setMaxTimeout(5678) - .setExecutorFactory(MOCK_EXECUTOR_FACTORY) - .build(); - private static final TestGrpcServiceOptions DEFAULT_OPTIONS = - TestGrpcServiceOptions.newBuilder().setProjectId("project-id").build(); - private static final TestGrpcServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); - - private interface TestService extends Service {} - - private static class TestServiceImpl - extends BaseService implements TestService { - private TestServiceImpl(TestGrpcServiceOptions options) { - super(options); - } - } - - private interface TestServiceFactory extends ServiceFactory { - } - - private static class DefaultTestServiceFactory implements TestServiceFactory { - private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); - - @Override - public TestService create(TestGrpcServiceOptions options) { - return new TestServiceImpl(options); - } - } - - private interface TestServiceRpcFactory - extends ServiceRpcFactory {} - - private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { - private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); - - @Override - public TestServiceRpc create(TestGrpcServiceOptions options) { - return new DefaultTestServiceRpc(options); - } - } - - private interface TestServiceRpc {} - - private static class DefaultTestServiceRpc implements TestServiceRpc { - DefaultTestServiceRpc(TestGrpcServiceOptions options) {} - } - - private static class TestGrpcServiceOptions - extends GrpcServiceOptions { - private static class Builder - extends GrpcServiceOptions.Builder { - private Builder() {} - - private Builder(TestGrpcServiceOptions options) { - super(options); - } - - @Override - protected TestGrpcServiceOptions build() { - return new TestGrpcServiceOptions(this); - } - } - - private TestGrpcServiceOptions(Builder builder) { - super(TestServiceFactory.class, TestServiceRpcFactory.class, builder); - } - - @Override - protected TestServiceFactory getDefaultServiceFactory() { - return DefaultTestServiceFactory.INSTANCE; - } - - @Override - protected TestServiceRpcFactory getDefaultRpcFactory() { - return DefaultTestServiceRpcFactory.INSTANCE; - } - - @Override - protected Set getScopes() { - return null; - } - - @Override - public Builder toBuilder() { - return new Builder(this); - } - - private static Builder newBuilder() { - return new Builder(); - } - - @Override - public boolean equals(Object obj) { - return obj instanceof TestGrpcServiceOptions && baseEquals((TestGrpcServiceOptions) obj); - } - - @Override - public int hashCode() { - return baseHashCode(); - } - } - - @Test - public void testBuilder() { - assertEquals(1234, OPTIONS.getInitialTimeout()); - assertEquals(1.6, OPTIONS.getTimeoutMultiplier(), 0.0); - assertEquals(5678, OPTIONS.getMaxTimeout()); - assertSame(MOCK_EXECUTOR_FACTORY, OPTIONS.getExecutorFactory()); - assertEquals(20000, DEFAULT_OPTIONS.getInitialTimeout()); - assertEquals(1.5, DEFAULT_OPTIONS.getTimeoutMultiplier(), 0.0); - assertEquals(100000, DEFAULT_OPTIONS.getMaxTimeout()); - assertTrue(DEFAULT_OPTIONS.getExecutorFactory() instanceof DefaultExecutorFactory); - } - - @Test - public void testBuilderError() { - try { - TestGrpcServiceOptions.newBuilder().setInitialTimeout(0); - fail("IllegalArgumentException expected"); - } catch (IllegalArgumentException ex) { - assertEquals("Initial timeout must be > 0", ex.getMessage()); - } - try { - TestGrpcServiceOptions.newBuilder().setInitialTimeout(-1); - fail("IllegalArgumentException expected"); - } catch (IllegalArgumentException ex) { - assertEquals("Initial timeout must be > 0", ex.getMessage()); - } - try { - TestGrpcServiceOptions.newBuilder().setTimeoutMultiplier(0.9); - fail("IllegalArgumentException expected"); - } catch (IllegalArgumentException ex) { - assertEquals("Timeout multiplier must be >= 1", ex.getMessage()); - } - } - - @Test - public void testBuilderInvalidMaxTimeout() { - TestGrpcServiceOptions options = TestGrpcServiceOptions.newBuilder() - .setProjectId("project-id") - .setInitialTimeout(1234) - .setTimeoutMultiplier(1.6) - .setMaxTimeout(123) - .build(); - assertEquals(1234, options.getInitialTimeout()); - assertEquals(1.6, options.getTimeoutMultiplier(), 0.0); - assertEquals(1234, options.getMaxTimeout()); - } - - @Test - public void testBaseEquals() { - assertEquals(OPTIONS, OPTIONS_COPY); - assertNotEquals(DEFAULT_OPTIONS, OPTIONS); - TestGrpcServiceOptions options = OPTIONS.toBuilder() - .setExecutorFactory(new DefaultExecutorFactory()) - .build(); - assertNotEquals(OPTIONS, options); - } - - @Test - public void testBaseHashCode() { - assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); - assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); - TestGrpcServiceOptions options = OPTIONS.toBuilder() - .setExecutorFactory(new DefaultExecutorFactory()) - .build(); - assertNotEquals(OPTIONS.hashCode(), options.hashCode()); - } - - @Test - public void testDefaultExecutorFactory() { - ExecutorFactory executorFactory = new DefaultExecutorFactory(); - ScheduledExecutorService executorService = executorFactory.get(); - assertSame(executorService, executorFactory.get()); - } -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java new file mode 100644 index 000000000000..aafd26461155 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java @@ -0,0 +1,117 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.cloud.GrpcTransportOptions.DefaultExecutorFactory; +import com.google.cloud.GrpcTransportOptions.ExecutorFactory; +import java.util.concurrent.ScheduledExecutorService; +import org.easymock.EasyMock; +import org.junit.Test; + +public class GrpcTransportOptionsTest { + + private static final ExecutorFactory MOCK_EXECUTOR_FACTORY = + EasyMock.createMock(ExecutorFactory.class); + private static final GrpcTransportOptions OPTIONS = GrpcTransportOptions.newBuilder() + .setInitialTimeout(1234) + .setTimeoutMultiplier(1.6) + .setMaxTimeout(5678) + .setExecutorFactory(MOCK_EXECUTOR_FACTORY) + .build(); + private static final GrpcTransportOptions DEFAULT_OPTIONS = + GrpcTransportOptions.newBuilder().build(); + private static final GrpcTransportOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + + @Test + public void testBuilder() { + assertEquals(1234, OPTIONS.getInitialTimeout()); + assertEquals(1.6, OPTIONS.getTimeoutMultiplier(), 0.0); + assertEquals(5678, OPTIONS.getMaxTimeout()); + assertSame(MOCK_EXECUTOR_FACTORY, OPTIONS.getExecutorFactory()); + assertEquals(20000, DEFAULT_OPTIONS.getInitialTimeout()); + assertEquals(1.5, DEFAULT_OPTIONS.getTimeoutMultiplier(), 0.0); + assertEquals(100000, DEFAULT_OPTIONS.getMaxTimeout()); + assertTrue(DEFAULT_OPTIONS.getExecutorFactory() instanceof DefaultExecutorFactory); + } + + @Test + public void testBuilderError() { + try { + GrpcTransportOptions.newBuilder().setInitialTimeout(0); + fail("IllegalArgumentException expected"); + } catch (IllegalArgumentException ex) { + assertEquals("Initial timeout must be > 0", ex.getMessage()); + } + try { + GrpcTransportOptions.newBuilder().setInitialTimeout(-1); + fail("IllegalArgumentException expected"); + } catch (IllegalArgumentException ex) { + assertEquals("Initial timeout must be > 0", ex.getMessage()); + } + try { + GrpcTransportOptions.newBuilder().setTimeoutMultiplier(0.9); + fail("IllegalArgumentException expected"); + } catch (IllegalArgumentException ex) { + assertEquals("Timeout multiplier must be >= 1", ex.getMessage()); + } + } + + @Test + public void testBuilderInvalidMaxTimeout() { + GrpcTransportOptions options = GrpcTransportOptions.newBuilder() + .setInitialTimeout(1234) + .setTimeoutMultiplier(1.6) + .setMaxTimeout(123) + .build(); + assertEquals(1234, options.getInitialTimeout()); + assertEquals(1.6, options.getTimeoutMultiplier(), 0.0); + assertEquals(1234, options.getMaxTimeout()); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + GrpcTransportOptions options = OPTIONS.toBuilder() + .setExecutorFactory(new DefaultExecutorFactory()) + .build(); + assertNotEquals(OPTIONS, options); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + GrpcTransportOptions options = OPTIONS.toBuilder() + .setExecutorFactory(new DefaultExecutorFactory()) + .build(); + assertNotEquals(OPTIONS.hashCode(), options.hashCode()); + } + + @Test + public void testDefaultExecutorFactory() { + ExecutorFactory executorFactory = new DefaultExecutorFactory(); + ScheduledExecutorService executorService = executorFactory.get(); + assertSame(executorService, executorFactory.get()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java deleted file mode 100644 index 81e330236c8b..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpServiceOptionsTest.java +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotEquals; -import static org.junit.Assert.assertSame; -import static org.junit.Assert.assertTrue; - -import com.google.auth.http.HttpTransportFactory; -import com.google.cloud.HttpServiceOptions.DefaultHttpTransportFactory; -import com.google.cloud.spi.ServiceRpcFactory; - -import org.easymock.EasyMock; -import org.junit.Test; - -import java.util.Set; - -public class HttpServiceOptionsTest { - - private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = - EasyMock.createMock(HttpTransportFactory.class); - private static final TestHttpServiceOptions OPTIONS = TestHttpServiceOptions.newBuilder() - .setProjectId("project-id") - .setConnectTimeout(1234) - .setHttpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) - .setReadTimeout(5678) - .build(); - private static final TestHttpServiceOptions DEFAULT_OPTIONS = - TestHttpServiceOptions.newBuilder().setProjectId("project-id").build(); - private static final TestHttpServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); - - private interface TestService extends Service {} - - private static class TestServiceImpl - extends BaseService implements TestService { - private TestServiceImpl(TestHttpServiceOptions options) { - super(options); - } - } - - private interface TestServiceFactory extends ServiceFactory { - } - - private static class DefaultTestServiceFactory implements TestServiceFactory { - private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); - - @Override - public TestService create(TestHttpServiceOptions options) { - return new TestServiceImpl(options); - } - } - - private interface TestServiceRpcFactory - extends ServiceRpcFactory {} - - private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { - private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); - - @Override - public TestServiceRpc create(TestHttpServiceOptions options) { - return new DefaultTestServiceRpc(options); - } - } - - private interface TestServiceRpc {} - - private static class DefaultTestServiceRpc implements TestServiceRpc { - DefaultTestServiceRpc(TestHttpServiceOptions options) {} - } - - private static class TestHttpServiceOptions - extends HttpServiceOptions { - private static class Builder - extends HttpServiceOptions.Builder { - private Builder() {} - - private Builder(TestHttpServiceOptions options) { - super(options); - } - - @Override - protected TestHttpServiceOptions build() { - return new TestHttpServiceOptions(this); - } - } - - private TestHttpServiceOptions(Builder builder) { - super(TestServiceFactory.class, TestServiceRpcFactory.class, builder); - } - - @Override - protected TestServiceFactory getDefaultServiceFactory() { - return DefaultTestServiceFactory.INSTANCE; - } - - @Override - protected TestServiceRpcFactory getDefaultRpcFactory() { - return DefaultTestServiceRpcFactory.INSTANCE; - } - - @Override - protected Set getScopes() { - return null; - } - - @Override - public Builder toBuilder() { - return new Builder(this); - } - - private static Builder newBuilder() { - return new Builder(); - } - - @Override - public boolean equals(Object obj) { - return obj instanceof TestHttpServiceOptions && baseEquals((TestHttpServiceOptions) obj); - } - - @Override - public int hashCode() { - return baseHashCode(); - } - } - - @Test - public void testBuilder() { - assertEquals(1234, OPTIONS.getConnectTimeout()); - assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.getHttpTransportFactory()); - assertEquals(5678, OPTIONS.getReadTimeout()); - assertEquals(-1, DEFAULT_OPTIONS.getConnectTimeout()); - assertTrue(DEFAULT_OPTIONS.getHttpTransportFactory() instanceof DefaultHttpTransportFactory); - assertEquals(-1, DEFAULT_OPTIONS.getReadTimeout()); - } - - @Test - public void testBaseEquals() { - assertEquals(OPTIONS, OPTIONS_COPY); - assertNotEquals(DEFAULT_OPTIONS, OPTIONS); - } - - @Test - public void testBaseHashCode() { - assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); - assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); - } -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java new file mode 100644 index 000000000000..f5013181b2a5 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java @@ -0,0 +1,63 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; + +import com.google.auth.http.HttpTransportFactory; +import com.google.cloud.HttpTransportOptions.DefaultHttpTransportFactory; +import org.easymock.EasyMock; +import org.junit.Test; + +public class HttpTransportOptionsTest { + + private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = + EasyMock.createMock(HttpTransportFactory.class); + private static final HttpTransportOptions OPTIONS = HttpTransportOptions.newBuilder() + .setConnectTimeout(1234) + .setHttpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) + .setReadTimeout(5678) + .build(); + private static final HttpTransportOptions DEFAULT_OPTIONS = + HttpTransportOptions.newBuilder().build(); + private static final HttpTransportOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); + + @Test + public void testBuilder() { + assertEquals(1234, OPTIONS.getConnectTimeout()); + assertSame(MOCK_HTTP_TRANSPORT_FACTORY, OPTIONS.getHttpTransportFactory()); + assertEquals(5678, OPTIONS.getReadTimeout()); + assertEquals(-1, DEFAULT_OPTIONS.getConnectTimeout()); + assertTrue(DEFAULT_OPTIONS.getHttpTransportFactory() instanceof DefaultHttpTransportFactory); + assertEquals(-1, DEFAULT_OPTIONS.getReadTimeout()); + } + + @Test + public void testBaseEquals() { + assertEquals(OPTIONS, OPTIONS_COPY); + assertNotEquals(DEFAULT_OPTIONS, OPTIONS); + } + + @Test + public void testBaseHashCode() { + assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); + assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index e08b5c35ce69..6474b6389b96 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -161,17 +161,27 @@ protected TestServiceOptions build() { } private TestServiceOptions(Builder builder) { - super(TestServiceFactory.class, TestServiceRpcFactory.class, builder); + super(TestServiceFactory.class, TestServiceRpcFactory.class, builder, + new TestServiceDefaults()); } - @Override - protected TestServiceFactory getDefaultServiceFactory() { - return DefaultTestServiceFactory.INSTANCE; - } + private static class TestServiceDefaults implements + ServiceDefaults { - @Override - protected TestServiceRpcFactory getDefaultRpcFactory() { - return DefaultTestServiceRpcFactory.INSTANCE; + @Override + public TestServiceFactory getDefaultServiceFactory() { + return DefaultTestServiceFactory.INSTANCE; + } + + @Override + public TestServiceRpcFactory getDefaultRpcFactory() { + return DefaultTestServiceRpcFactory.INSTANCE; + } + + @Override + public TransportOptions getDefaultTransportOptions() { + return HttpTransportOptions.newBuilder().build(); + } } @Override From b47d24ac95fd9e2ed20f16edeaa28dfa917856c1 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 16 Mar 2017 16:58:39 -0700 Subject: [PATCH 0302/3036] Release 0.10.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0bc251fee7df..fea1e6cbfd74 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.9.5-alpha-SNAPSHOT + 0.10.0-alpha google-cloud-core From 8e179ddb6df649f50051f907b8ae2d06779982ec Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 16 Mar 2017 17:02:04 -0700 Subject: [PATCH 0303/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 6612e5c8edc8..c7cfe230a4b5 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.9.4-alpha + 0.10.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.9.4-alpha' +compile 'com.google.cloud:google-cloud-core:0.10.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.9.4-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.10.0-alpha" ``` Troubleshooting From 0b086a87838beaf5ad761836ec17b105f0a69065 Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Fri, 17 Mar 2017 08:54:37 -0700 Subject: [PATCH 0304/3036] Update version to 0.10.1-SNAPSHOT (#1765) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fea1e6cbfd74..077921cf2d62 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.10.0-alpha + 0.10.1-alpha-SNAPSHOT google-cloud-core From 01c994f92f3b40c00a90c0b0e3795435a9e12040 Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Fri, 17 Mar 2017 09:04:50 -0700 Subject: [PATCH 0305/3036] Removing ServiceRpcT parameterization (#1759) Also: * Moving spi/*Rpc classes to spi/{MAJOR_VERSION}/*Rpc * Renaming DefaultRpc classes to HttpRpc/Grpc*Rpc as appropriate --- .../java/com/google/cloud/BaseService.java | 2 +- .../com/google/cloud/BaseWriteChannel.java | 6 ++-- .../google/cloud/GrpcTransportOptions.java | 2 +- .../google/cloud/HttpTransportOptions.java | 2 +- .../main/java/com/google/cloud/Service.java | 2 +- .../com/google/cloud/ServiceDefaults.java | 6 ++-- .../java/com/google/cloud/ServiceOptions.java | 36 +++++++++---------- .../java/com/google/cloud/ServiceRpc.java | 21 +++++++++++ .../google/cloud/spi/ServiceRpcFactory.java | 5 +-- .../google/cloud/BaseWriteChannelTest.java | 6 ++-- .../com/google/cloud/ServiceOptionsTest.java | 10 +++--- 11 files changed, 59 insertions(+), 39 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index dcfb097a073b..619341bc3729 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -23,7 +23,7 @@ * * @param the {@code ServiceOptions} subclass corresponding to the service */ -public abstract class BaseService> +public abstract class BaseService> implements Service { public static final Interceptor EXCEPTION_HANDLER_INTERCEPTOR = new Interceptor() { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index 86105d469d39..ddc191b1e439 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -32,7 +32,7 @@ * @param the entity this channel writes data to. Possibly with additional configuration */ public abstract class BaseWriteChannel< - ServiceOptionsT extends ServiceOptions, + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> implements WriteChannel { private static final int MIN_CHUNK_SIZE = 256 * 1024; @@ -196,7 +196,7 @@ protected void restore(BaseState state) { } protected abstract static class BaseState< - ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> implements RestorableState, Serializable { private static final long serialVersionUID = 8541062465055125619L; @@ -228,7 +228,7 @@ protected BaseState(Builder builder) { * configuration */ public abstract static class Builder< - ServiceOptionsT extends ServiceOptions, + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> { private final ServiceOptionsT serviceOptions; private final EntityT entity; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index a96001185636..be31c98747f5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -224,7 +224,7 @@ public UnaryCallSettings.Builder getApiCallSettings(RetryParams retryParams) { * Returns a channel provider. */ public static ChannelProvider getChannelProvider( - ServiceOptions serviceOptions) { + ServiceOptions serviceOptions) { HostAndPort hostAndPort = HostAndPort.fromString(serviceOptions.getHost()); InstantiatingChannelProvider.Builder builder = InstantiatingChannelProvider.newBuilder() .setServiceAddress(hostAndPort.getHostText()) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java index 60ff8f719cb5..1ef0276faf95 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java @@ -137,7 +137,7 @@ public HttpTransportFactory getHttpTransportFactory() { * Returns a request initializer responsible for initializing requests according to service * options. */ - public HttpRequestInitializer getHttpRequestInitializer(ServiceOptions serviceOptions) { + public HttpRequestInitializer getHttpRequestInitializer(ServiceOptions serviceOptions) { Credentials scopedCredentials = serviceOptions.getScopedCredentials(); final HttpRequestInitializer delegate = scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java index 3c3c87bd76fa..44a9f5372d81 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java @@ -21,7 +21,7 @@ * * @param the {@code ServiceOptions} subclass corresponding to the service */ -public interface Service> { +public interface Service> { OptionsT getOptions(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java index 20e9d86f6193..691854577462 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java @@ -19,11 +19,11 @@ import com.google.cloud.spi.ServiceRpcFactory; import java.io.Serializable; -public interface ServiceDefaults, ServiceRpcT, - OptionsT extends ServiceOptions> extends Serializable { +public interface ServiceDefaults, + OptionsT extends ServiceOptions> extends Serializable { ServiceFactory getDefaultServiceFactory(); - ServiceRpcFactory getDefaultRpcFactory(); + ServiceRpcFactory getDefaultRpcFactory(); TransportOptions getDefaultTransportOptions(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index a4210584e226..39e6c2ac2def 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -61,11 +61,10 @@ * Abstract class representing service options. * * @param the service subclass - * @param the spi-layer class corresponding to the service * @param the {@code ServiceOptions} subclass corresponding to the service */ -public abstract class ServiceOptions, ServiceRpcT, - OptionsT extends ServiceOptions> implements Serializable { +public abstract class ServiceOptions, + OptionsT extends ServiceOptions> implements Serializable { private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; @@ -92,35 +91,34 @@ public abstract class ServiceOptions, Service private final Credentials credentials; private final TransportOptions transportOptions; - private transient ServiceRpcFactory serviceRpcFactory; + private transient ServiceRpcFactory serviceRpcFactory; private transient ServiceFactory serviceFactory; private transient ServiceT service; - private transient ServiceRpcT rpc; + private transient ServiceRpc rpc; /** * Builder for {@code ServiceOptions}. * * @param the service subclass - * @param the spi-layer class corresponding to the service * @param the {@code ServiceOptions} subclass corresponding to the service * @param the {@code ServiceOptions} builder */ - public abstract static class Builder, ServiceRpcT, - OptionsT extends ServiceOptions, - B extends Builder> { + public abstract static class Builder, + OptionsT extends ServiceOptions, + B extends Builder> { private String projectId; private String host; private Credentials credentials; private RetryParams retryParams; private ServiceFactory serviceFactory; - private ServiceRpcFactory serviceRpcFactory; + private ServiceRpcFactory serviceRpcFactory; private Clock clock; private TransportOptions transportOptions; protected Builder() {} - protected Builder(ServiceOptions options) { + protected Builder(ServiceOptions options) { projectId = options.projectId; host = options.host; credentials = options.credentials; @@ -131,7 +129,7 @@ protected Builder(ServiceOptions options) { transportOptions = options.transportOptions; } - protected abstract ServiceOptions build(); + protected abstract ServiceOptions build(); @SuppressWarnings("unchecked") protected B self() { @@ -218,7 +216,7 @@ public B setRetryParams(RetryParams retryParams) { * * @return the builder */ - public B setServiceRpcFactory(ServiceRpcFactory serviceRpcFactory) { + public B setServiceRpcFactory(ServiceRpcFactory serviceRpcFactory) { this.serviceRpcFactory = serviceRpcFactory; return self(); } @@ -235,9 +233,9 @@ public B setTransportOptions(TransportOptions transportOptions) { } protected ServiceOptions(Class> serviceFactoryClass, - Class> rpcFactoryClass, - Builder builder, - ServiceDefaults serviceDefaults) { + Class> rpcFactoryClass, + Builder builder, + ServiceDefaults serviceDefaults) { projectId = builder.projectId != null ? builder.projectId : getDefaultProject(); if (projectIdRequired()) { checkArgument( @@ -450,7 +448,7 @@ public ServiceT getService() { @SuppressWarnings("unchecked") - public ServiceRpcT getRpc() { + public ServiceRpc getRpc() { if (rpc == null) { rpc = serviceRpcFactory.create((OptionsT) this); } @@ -552,7 +550,7 @@ protected int baseHashCode() { serviceRpcFactoryClassName, clock); } - protected boolean baseEquals(ServiceOptions other) { + protected boolean baseEquals(ServiceOptions other) { return Objects.equals(projectId, other.projectId) && Objects.equals(host, other.host) && Objects.equals(credentials, other.credentials) @@ -579,7 +577,7 @@ static T newInstance(String className) throws IOException, ClassNotFoundExce protected abstract Set getScopes(); - public abstract > B toBuilder(); + public abstract > B toBuilder(); /** * Some services may have different backoff requirements listed in their SLAs. Be sure to override diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java new file mode 100644 index 000000000000..554e33271a08 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java @@ -0,0 +1,21 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +public interface ServiceRpc { + +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java index 21a061f4a5dc..4dcf540253e2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java @@ -17,13 +17,14 @@ package com.google.cloud.spi; import com.google.cloud.ServiceOptions; +import com.google.cloud.ServiceRpc; /** * A base interface for all service RPC factories. Implementation must provide a public no-arg * constructor. Loading of a factory implementation is done via {@link java.util.ServiceLoader}. */ @SuppressWarnings("rawtypes") -public interface ServiceRpcFactory { +public interface ServiceRpcFactory { - ServiceRpcT create(OptionsT options); + ServiceRpc create(OptionsT options); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index b13a8087aa6c..1baae9a7e729 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -40,14 +40,14 @@ public class BaseWriteChannelTest { private abstract static class CustomService implements Service {} private abstract static class CustomServiceOptions - extends ServiceOptions { + extends ServiceOptions { private static final long serialVersionUID = 3302358029307467197L; protected CustomServiceOptions( Class> serviceFactoryClass, - Class> rpcFactoryClass, - Builder builder) { + Class> rpcFactoryClass, + Builder builder) { super(serviceFactoryClass, rpcFactoryClass, builder, null); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 6474b6389b96..22c230e8d405 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -127,7 +127,7 @@ public TestService create(TestServiceOptions options) { } private interface TestServiceRpcFactory - extends ServiceRpcFactory {} + extends ServiceRpcFactory {} private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); @@ -138,16 +138,16 @@ public TestServiceRpc create(TestServiceOptions options) { } } - private interface TestServiceRpc {} + private interface TestServiceRpc extends ServiceRpc {} private static class DefaultTestServiceRpc implements TestServiceRpc { DefaultTestServiceRpc(TestServiceOptions options) {} } private static class TestServiceOptions - extends ServiceOptions { + extends ServiceOptions { private static class Builder - extends ServiceOptions.Builder { + extends ServiceOptions.Builder { private Builder() {} private Builder(TestServiceOptions options) { @@ -166,7 +166,7 @@ private TestServiceOptions(Builder builder) { } private static class TestServiceDefaults implements - ServiceDefaults { + ServiceDefaults { @Override public TestServiceFactory getDefaultServiceFactory() { From dbfdfaec1a4b3c92d845a89f4b92a5dcbdae208a Mon Sep 17 00:00:00 2001 From: garrettjonesgoogle Date: Fri, 17 Mar 2017 11:28:27 -0700 Subject: [PATCH 0306/3036] Narrowing dependencies to avoid servlet-api (#1766) --- java-core/google-cloud-core/pom.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 077921cf2d62..950d5dce9ec6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -52,7 +52,19 @@ com.google.api-client - google-api-client-appengine + google-api-client + 1.21.0 + compile + + + guava-jdk5 + com.google.guava + + + + + com.google.http-client + google-http-client-appengine 1.21.0 compile From 290829c65939cb752f10c3f974a278c59404691d Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Mon, 20 Mar 2017 18:09:33 -0700 Subject: [PATCH 0307/3036] Reconcile RetrySettings & Clock (google-cloud-java part) (#1738) Reconcile RetrySettings & Clock (google-cloud-java part) Reconcile RetrySettings in GAX with RetryParams in google-cloud-java GoogleCloudPlatform/google-cloud-java#1574 Reconcile NanoClock in GAX with Clock in google-cloud-java GoogleCloudPlatform/google-cloud-java#1575 --- .../google/cloud/BaseServiceException.java | 5 +- .../src/main/java/com/google/cloud/Clock.java | 59 ---- .../com/google/cloud/ExceptionHandler.java | 31 +- .../google/cloud/GrpcTransportOptions.java | 15 +- .../java/com/google/cloud/RetryHelper.java | 246 ++----------- .../java/com/google/cloud/RetryParams.java | 325 ------------------ .../java/com/google/cloud/ServiceOptions.java | 82 +++-- .../cloud/BaseServiceExceptionTest.java | 2 +- .../google/cloud/ExceptionHandlerTest.java | 50 +-- .../com/google/cloud/RetryHelperTest.java | 263 -------------- .../com/google/cloud/RetryParamsTest.java | 110 ------ .../com/google/cloud/SerializationTest.java | 29 +- .../com/google/cloud/ServiceOptionsTest.java | 87 ++--- 13 files changed, 200 insertions(+), 1104 deletions(-) delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index cb834f8d3608..4bebfc925923 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -295,12 +295,9 @@ private static String message(IOException exception) { return exception.getMessage(); } - protected static void translateAndPropagateIfPossible(RetryHelper.RetryHelperException ex) { + protected static void translate(RetryHelper.RetryHelperException ex) { if (ex.getCause() instanceof BaseServiceException) { throw (BaseServiceException) ex.getCause(); } - if (ex instanceof RetryHelper.RetryInterruptedException) { - RetryHelper.RetryInterruptedException.propagate(); - } } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java deleted file mode 100644 index 447200b03bf4..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Clock.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import java.io.ObjectStreamException; -import java.io.Serializable; - -/** - * A class providing access to the current time in milliseconds. This class is mainly used for - * testing and will be replaced by Java8's {@code java.time.Clock}. - * - *

    Implementations should implement {@code Serializable} wherever possible and must document - * whether or not they do support serialization. - */ -public abstract class Clock { - - private static final Clock DEFAULT_TIME_SOURCE = new DefaultClock(); - - /** - * Returns current time in milliseconds according to this clock. - */ - public abstract long millis(); - - /** - * Returns the default clock. Default clock uses {@link System#currentTimeMillis()} to get time - * in milliseconds. - */ - public static Clock defaultClock() { - return DEFAULT_TIME_SOURCE; - } - - private static class DefaultClock extends Clock implements Serializable { - - private static final long serialVersionUID = -5077300394286703864L; - - @Override - public long millis() { - return System.currentTimeMillis(); - } - - private Object readResolve() throws ObjectStreamException { - return DEFAULT_TIME_SOURCE; - } - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index a2a69a737641..81703b561285 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -18,6 +18,8 @@ import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.gax.retrying.ExceptionRetryAlgorithm; +import com.google.api.gax.retrying.TimedAttemptSettings; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; @@ -31,9 +33,9 @@ import java.util.concurrent.Callable; /** - * Exception handling used by {@link RetryHelper}. + * Exception retry algorithm implementation used by {@link RetryHelper}. */ -public final class ExceptionHandler implements Serializable { +public final class ExceptionHandler implements ExceptionRetryAlgorithm, Serializable { private static final long serialVersionUID = -2460707015779532919L; @@ -233,17 +235,12 @@ void verifyCaller(Callable callable) { } } - - public Set> getRetriableExceptions() { - return retriableExceptions; - } - - - public Set> getNonRetriableExceptions() { - return nonRetriableExceptions; - } - - boolean shouldRetry(Exception ex) { + @Override + public boolean accept(Throwable prevThrowable) { + if(!(prevThrowable instanceof Exception)) { + return false; + } + Exception ex = (Exception) prevThrowable; for (Interceptor interceptor : interceptors) { Interceptor.RetryResult retryResult = checkNotNull(interceptor.beforeEval(ex)); if (retryResult != Interceptor.RetryResult.CONTINUE_EVALUATION) { @@ -263,6 +260,14 @@ boolean shouldRetry(Exception ex) { return retryResult == Interceptor.RetryResult.RETRY; } + @Override + public TimedAttemptSettings createNextAttempt(Throwable prevThrowable, + TimedAttemptSettings prevSettings) { + // Return null to indicate that this implementaiton does not provide any specific attempt + // settings, so by default the TimedRetryAlgorithm options can be used instead. + return null; + } + @Override public int hashCode() { return Objects.hash(interceptors, retriableExceptions, nonRetriableExceptions, retryInfo); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index be31c98747f5..0295b00972c9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -36,7 +36,6 @@ import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; -import org.joda.time.Duration; /** * Class representing service options for those services that use gRPC as the transport @@ -206,18 +205,8 @@ public ExecutorFactory getExecutorFactory() { /** * Returns a builder for API call settings. */ - public UnaryCallSettings.Builder getApiCallSettings(RetryParams retryParams) { - // todo(mziccard): specify timeout these settings: - // retryParams().retryMaxAttempts(), retryParams().retryMinAttempts() - final RetrySettings.Builder builder = RetrySettings.newBuilder() - .setTotalTimeout(Duration.millis(retryParams.getTotalRetryPeriodMillis())) - .setInitialRpcTimeout(Duration.millis(getInitialTimeout())) - .setRpcTimeoutMultiplier(getTimeoutMultiplier()) - .setMaxRpcTimeout(Duration.millis(getMaxTimeout())) - .setInitialRetryDelay(Duration.millis(retryParams.getInitialRetryDelayMillis())) - .setRetryDelayMultiplier(retryParams.getRetryDelayBackoffFactor()) - .setMaxRetryDelay(Duration.millis(retryParams.getMaxRetryDelayMillis())); - return UnaryCallSettings.newBuilder().setRetrySettingsBuilder(builder); + public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings) { + return UnaryCallSettings.newBuilder().setRetrySettingsBuilder(retrySettings.toBuilder()); } /** diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index b23a516ccac4..6d36096bb68b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -16,234 +16,48 @@ package com.google.cloud; -import static com.google.common.base.Preconditions.checkNotNull; -import static java.lang.StrictMath.max; -import static java.lang.StrictMath.min; -import static java.lang.StrictMath.pow; -import static java.lang.StrictMath.random; - -import com.google.common.annotations.VisibleForTesting; -import com.google.common.base.MoreObjects; -import com.google.common.base.MoreObjects.ToStringHelper; - -import java.io.InterruptedIOException; -import java.nio.channels.ClosedByInterruptException; +import com.google.api.gax.core.ApiClock; +import com.google.api.gax.core.RetrySettings; + +import com.google.api.gax.retrying.DirectRetryingExecutor; +import com.google.api.gax.retrying.ExponentialRetryAlgorithm; +import com.google.api.gax.retrying.RetryAlgorithm; +import com.google.api.gax.retrying.RetryingExecutor; +import com.google.api.gax.retrying.RetryingFuture; import java.util.concurrent.Callable; -import java.util.logging.Level; -import java.util.logging.Logger; /** - * Utility class for retrying operations. For more details about the parameters, see - * {@link RetryParams}. If the request is never successful, a {@link RetriesExhaustedException} will - * be thrown. - * - * @param return value of the closure that is being run with retries + * Utility class for retrying operations. For more details about the parameters, see {@link + * RetrySettings}. In case if retrying is unsuccessful, {@link RetryHelperException} will be + * thrown. */ -public class RetryHelper { - - private static final Logger log = Logger.getLogger(RetryHelper.class.getName()); - - private final Clock clock; - private final Callable callable; - private final RetryParams params; - private final ExceptionHandler exceptionHandler; - private int attemptNumber; +public class RetryHelper { + public static V runWithRetries( + Callable callable, + RetrySettings retrySettings, + ExceptionHandler exceptionRetryAlgorithm, + ApiClock clock) + throws RetryHelperException { + try { + RetryAlgorithm retryAlgorithm = + new RetryAlgorithm(exceptionRetryAlgorithm, new ExponentialRetryAlgorithm(retrySettings, clock)); + RetryingExecutor executor = new DirectRetryingExecutor<>(retryAlgorithm); + RetryingFuture retryingFuture = executor.createFuture(callable); + executor.submit(retryingFuture); - private static final ThreadLocal context = new ThreadLocal<>(); + return retryingFuture.get(); + } catch (Exception e) { + throw new RetryHelperException(e.getCause()); + } + } public static class RetryHelperException extends RuntimeException { - private static final long serialVersionUID = -2907061015610448235L; - - RetryHelperException() {} - - RetryHelperException(String message) { - super(message); - } + private static final long serialVersionUID = -8519852520090965314L; RetryHelperException(Throwable cause) { super(cause); } - - RetryHelperException(String message, Throwable cause) { - super(message, cause); - } - } - - /** - * Thrown when a RetryHelper failed to complete its work due to interruption. Throwing this - * exception also sets the thread interrupt flag. - */ - public static final class RetryInterruptedException extends RetryHelperException { - - private static final long serialVersionUID = 1678966737697204885L; - - RetryInterruptedException() {} - - /** - * Sets the caller thread interrupt flag and throws {@code RetryInterruptedException}. - */ - public static void propagate() throws RetryInterruptedException { - Thread.currentThread().interrupt(); - throw new RetryInterruptedException(); - } - } - - /** - * Thrown when a RetryHelper has attempted the maximum number of attempts allowed by RetryParams - * and was not successful. - */ - public static final class RetriesExhaustedException extends RetryHelperException { - - private static final long serialVersionUID = 780199686075408083L; - - RetriesExhaustedException(String message) { - super(message); - } - - RetriesExhaustedException(String message, Throwable cause) { - super(message, cause); - } - } - - /** - * Thrown when RetryHelper callable has indicate it should not be retried. - */ - public static final class NonRetriableException extends RetryHelperException { - - private static final long serialVersionUID = -2331878521983499652L; - - NonRetriableException(Throwable throwable) { - super(throwable); - } - } - - static class Context { - - private final RetryHelper helper; - - Context(RetryHelper helper) { - this.helper = helper; - } - - public RetryParams getRetryParams() { - return helper.params; - } - - public int getAttemptNumber() { - return helper.attemptNumber; - } - } - - @VisibleForTesting - static void setContext(Context ctx) { - if (ctx == null) { - context.remove(); - } else { - context.set(ctx); - } - } - - static Context getContext() { - return context.get(); - } - - @VisibleForTesting - RetryHelper(Callable callable, RetryParams params, ExceptionHandler exceptionHandler, - Clock clock) { - this.callable = checkNotNull(callable); - this.params = checkNotNull(params); - this.clock = checkNotNull(clock); - this.exceptionHandler = checkNotNull(exceptionHandler); - exceptionHandler.verifyCaller(callable); - } - - @Override - public String toString() { - ToStringHelper toStringHelper = MoreObjects.toStringHelper(this); - toStringHelper.add("params", params); - toStringHelper.add("clock", clock); - toStringHelper.add("attemptNumber", attemptNumber); - toStringHelper.add("callable", callable); - toStringHelper.add("exceptionHandler", exceptionHandler); - return toStringHelper.toString(); - } - - private V doRetry() throws RetryHelperException { - long start = clock.millis(); - while (true) { - attemptNumber++; - Exception exception; - try { - V value = callable.call(); - if (attemptNumber > 1 && log.isLoggable(Level.FINE)) { - log.fine(this + ": attempt #" + attemptNumber + " succeeded"); - } - return value; - } catch (InterruptedException | InterruptedIOException | ClosedByInterruptException e) { - if (!exceptionHandler.shouldRetry(e)) { - RetryInterruptedException.propagate(); - } - exception = e; - } catch (Exception e) { - if (!exceptionHandler.shouldRetry(e)) { - throw new NonRetriableException(e); - } - exception = e; - } - if (attemptNumber >= params.getRetryMaxAttempts() - || attemptNumber >= params.getRetryMinAttempts() - && clock.millis() - start >= params.getTotalRetryPeriodMillis()) { - throw new RetriesExhaustedException(this + ": Too many failures, giving up", exception); - } - long sleepDurationMillis = getSleepDuration(params, attemptNumber); - if (log.isLoggable(Level.FINE)) { - log.fine(this + ": Attempt #" + attemptNumber + " failed [" + exception - + "], sleeping for " + sleepDurationMillis + " ms"); - } - try { - Thread.sleep(sleepDurationMillis); - } catch (InterruptedException e) { - // propagate as RetryInterruptedException - RetryInterruptedException.propagate(); - } - } - } - - @VisibleForTesting - static long getSleepDuration(RetryParams retryParams, int attemptsSoFar) { - long initialDelay = retryParams.getInitialRetryDelayMillis(); - double backoffFactor = retryParams.getRetryDelayBackoffFactor(); - long maxDelay = retryParams.getMaxRetryDelayMillis(); - long retryDelay = getExponentialValue(initialDelay, backoffFactor, maxDelay, attemptsSoFar); - return (long) ((random() / 2.0 + .75) * retryDelay); - } - - private static long getExponentialValue(long initialDelay, double backoffFactor, long maxDelay, - int attemptsSoFar) { - return (long) min(maxDelay, pow(backoffFactor, max(1, attemptsSoFar) - 1) * initialDelay); - } - - public static V runWithRetries(Callable callable) throws RetryHelperException { - return runWithRetries(callable, RetryParams.getDefaultInstance(), - ExceptionHandler.getDefaultInstance()); - } - - public static V runWithRetries(Callable callable, RetryParams params, - ExceptionHandler exceptionHandler) throws RetryHelperException { - return runWithRetries(callable, params, exceptionHandler, Clock.defaultClock()); - } - - public static V runWithRetries(Callable callable, RetryParams params, - ExceptionHandler exceptionHandler, Clock clock) throws RetryHelperException { - RetryHelper retryHelper = new RetryHelper<>(callable, params, exceptionHandler, clock); - Context previousContext = getContext(); - setContext(new Context(retryHelper)); - try { - return retryHelper.doRetry(); - } finally { - setContext(previousContext); - } } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java deleted file mode 100644 index f737032cfe7a..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryParams.java +++ /dev/null @@ -1,325 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static com.google.common.base.Preconditions.checkArgument; - -import com.google.common.base.MoreObjects; -import com.google.common.base.MoreObjects.ToStringHelper; - -import java.io.Serializable; -import java.util.Objects; - -/** - * Parameters for configuring retries with an exponential backoff. Initial request is executed - * immediately. If the request fails but passes the {@link ExceptionHandler} criteria the calling - * thread sleeps for {@code initialRetryDelayMillis}. Each subsequent failure the sleep interval is - * calculated as: - *

    - * {@code retryDelayBackoffFactor ^ attempts * initialRetryDelayMillis} but would be upper-bounded - * to {@code maxRetryDelayMillis} - *

    - * This proceeds until either the request is successful, {@code retryMaxAttempts} are made, or both - * {@code retryMinAttempts} are made and {@code totalRetryPeriodMillis} have elapsed. To construct - * {@code RetryParams}, first create a {@link RetryParams.Builder}. The builder is mutable and each - * of the parameters can be set (any unset parameters will fallback to the defaults). The - * {@code Builder} can be then used to create an immutable {@code RetryParams} object. For default - * {@code RetryParams} use {@link #getDefaultInstance}. Default settings are subject to change - * release to release. If you require specific settings, explicitly create an instance of - * {@code RetryParams} with all the required settings. - * - * @see RetryHelper - */ -public final class RetryParams implements Serializable { - - private static final long serialVersionUID = -8492751576749007700L; - - /** - * Note that App Engine Standard Environment front-end modules have a 60 second deadline for HTTP - * requests. For that reason, we set the default total retry period to less than 60 seconds. - */ - public static final long DEFAULT_TOTAL_RETRY_PERIOD_MILLIS = 50_000L; - public static final int DEFAULT_RETRY_MIN_ATTEMPTS = 3; - public static final int DEFAULT_RETRY_MAX_ATTEMPTS = 6; - public static final long DEFAULT_INITIAL_RETRY_DELAY_MILLIS = 1000L; - public static final long DEFAULT_MAX_RETRY_DELAY_MILLIS = 32_000L; - public static final double DEFAULT_RETRY_DELAY_BACKOFF_FACTOR = 2.0; - - private final int retryMinAttempts; - private final int retryMaxAttempts; - private final long initialRetryDelayMillis; - private final long maxRetryDelayMillis; - private final double retryDelayBackoffFactor; - private final long totalRetryPeriodMillis; - - // Some services may have different backoff requirements listed in their SLAs. Be sure to override - // ServiceOptions.defaultRetryParams() in options subclasses when the service's backoff - // requirement differs from the default parameters used here. - private static final RetryParams DEFAULT_INSTANCE = new RetryParams(new Builder()); - private static final RetryParams NO_RETRIES = - newBuilder().setRetryMaxAttempts(1).setRetryMinAttempts(1).build(); - - /** - * RetryParams builder. - */ - public static final class Builder { - - private int retryMinAttempts; - private int retryMaxAttempts; - private long initialRetryDelayMillis; - private long maxRetryDelayMillis; - private double retryDelayBackoffFactor; - private long totalRetryPeriodMillis; - - private Builder() { - this(null); - } - - Builder(/* Nullable */RetryParams retryParams) { - if (retryParams == null) { - retryMinAttempts = DEFAULT_RETRY_MIN_ATTEMPTS; - retryMaxAttempts = DEFAULT_RETRY_MAX_ATTEMPTS; - initialRetryDelayMillis = DEFAULT_INITIAL_RETRY_DELAY_MILLIS; - maxRetryDelayMillis = DEFAULT_MAX_RETRY_DELAY_MILLIS; - retryDelayBackoffFactor = DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; - totalRetryPeriodMillis = DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; - } else { - retryMinAttempts = retryParams.getRetryMinAttempts(); - retryMaxAttempts = retryParams.getRetryMaxAttempts(); - initialRetryDelayMillis = retryParams.getInitialRetryDelayMillis(); - maxRetryDelayMillis = retryParams.getMaxRetryDelayMillis(); - retryDelayBackoffFactor = retryParams.getRetryDelayBackoffFactor(); - totalRetryPeriodMillis = retryParams.getTotalRetryPeriodMillis(); - } - } - - - /** - * Sets retryMinAttempts. - * - * @param retryMinAttempts the retryMinAttempts to set - * @return the Builder for chaining - */ - public Builder setRetryMinAttempts(int retryMinAttempts) { - this.retryMinAttempts = retryMinAttempts; - return this; - } - - - /** - * Sets retryMaxAttempts. - * - * @param retryMaxAttempts the retryMaxAttempts to set - * @return the Builder for chaining - */ - public Builder setRetryMaxAttempts(int retryMaxAttempts) { - this.retryMaxAttempts = retryMaxAttempts; - return this; - } - - - /** - * Sets initialRetryDelayMillis. - * - * @param initialRetryDelayMillis the initialRetryDelayMillis to set - * @return the Builder for chaining - */ - public Builder setInitialRetryDelayMillis(long initialRetryDelayMillis) { - this.initialRetryDelayMillis = initialRetryDelayMillis; - return this; - } - - - /** - * Sets maxRetryDelayMillis. - * - * @param maxRetryDelayMillis the maxRetryDelayMillis to set - * @return the Builder for chaining - */ - public Builder setMaxRetryDelayMillis(long maxRetryDelayMillis) { - this.maxRetryDelayMillis = maxRetryDelayMillis; - return this; - } - - - /** - * Sets retryDelayBackoffFactor. - * - * @param retryDelayBackoffFactor the retryDelayBackoffFactor to set - * @return the Builder for chaining - */ - public Builder setRetryDelayBackoffFactor(double retryDelayBackoffFactor) { - this.retryDelayBackoffFactor = retryDelayBackoffFactor; - return this; - } - - - /** - * Sets totalRetryPeriodMillis. Note that App Engine Standard Environment front-end modules have - * a 60 second deadline for HTTP requests. For that reason, you should set the total retry - * period to under 60 seconds if you are using it on an App Engine front-end module. - * - * @param totalRetryPeriodMillis the totalRetryPeriodMillis to set - * @return the Builder for chaining - */ - public Builder setTotalRetryPeriodMillis(long totalRetryPeriodMillis) { - this.totalRetryPeriodMillis = totalRetryPeriodMillis; - return this; - } - - /** - * Create an instance of RetryParams with the parameters set in this builder. - * - * @return a new instance of RetryParams - */ - public RetryParams build() { - return new RetryParams(this); - } - } - - /** - * Create a new RetryParams with the parameters from a {@link RetryParams.Builder} - * - * @param builder the parameters to use to construct the RetryParams object - */ - private RetryParams(Builder builder) { - retryMinAttempts = builder.retryMinAttempts; - retryMaxAttempts = builder.retryMaxAttempts; - initialRetryDelayMillis = builder.initialRetryDelayMillis; - maxRetryDelayMillis = builder.maxRetryDelayMillis; - retryDelayBackoffFactor = builder.retryDelayBackoffFactor; - totalRetryPeriodMillis = builder.totalRetryPeriodMillis; - checkArgument(retryMinAttempts >= 0, "retryMinAttempts must not be negative"); - checkArgument(retryMaxAttempts >= retryMinAttempts, - "retryMaxAttempts must not be smaller than retryMinAttempts"); - checkArgument(initialRetryDelayMillis >= 0, "initialRetryDelayMillis must not be negative"); - checkArgument(maxRetryDelayMillis >= initialRetryDelayMillis, - "maxRetryDelayMillis must not be smaller than initialRetryDelayMillis"); - checkArgument(retryDelayBackoffFactor >= 0, "retryDelayBackoffFactor must not be negative"); - checkArgument(totalRetryPeriodMillis >= 0, "totalRetryPeriodMillis must not be negative"); - } - - - /** - * Returns an instance with the default parameters. - */ - public static RetryParams getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - /** - * Returns an instance of {@code RetryParams} where `retryMaxAttempts` and `retryMinAttempts` are - * set to `1`. - */ - public static RetryParams noRetries() { - return NO_RETRIES; - } - - - /** - * Returns the retryMinAttempts. Default value is {@value #DEFAULT_RETRY_MIN_ATTEMPTS}. - */ - public int getRetryMinAttempts() { - return retryMinAttempts; - } - - - /** - * Returns the retryMaxAttempts. Default value is {@value #DEFAULT_RETRY_MAX_ATTEMPTS}. - */ - public int getRetryMaxAttempts() { - return retryMaxAttempts; - } - - - /** - * Returns the initialRetryDelayMillis. Default value is - * {@value #DEFAULT_INITIAL_RETRY_DELAY_MILLIS}. - */ - public long getInitialRetryDelayMillis() { - return initialRetryDelayMillis; - } - - - /** - * Returns the maxRetryDelayMillis. Default values is {@value #DEFAULT_MAX_RETRY_DELAY_MILLIS}. - */ - public long getMaxRetryDelayMillis() { - return maxRetryDelayMillis; - } - - - /** - * Returns the maxRetryDelayBackoffFactor. Default values is - * {@value #DEFAULT_RETRY_DELAY_BACKOFF_FACTOR}. - */ - public double getRetryDelayBackoffFactor() { - return retryDelayBackoffFactor; - } - - - /** - * Returns the totalRetryPeriodMillis. Default value is - * {@value #DEFAULT_TOTAL_RETRY_PERIOD_MILLIS}. - */ - public long getTotalRetryPeriodMillis() { - return totalRetryPeriodMillis; - } - - @Override - public int hashCode() { - return Objects.hash(retryMinAttempts, retryMaxAttempts, initialRetryDelayMillis, - maxRetryDelayMillis, retryDelayBackoffFactor, totalRetryPeriodMillis); - } - - @Override - public boolean equals(Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof RetryParams)) { - return false; - } - RetryParams other = (RetryParams) obj; - return retryMinAttempts == other.retryMinAttempts && retryMaxAttempts == other.retryMaxAttempts - && initialRetryDelayMillis == other.initialRetryDelayMillis - && maxRetryDelayMillis == other.maxRetryDelayMillis - && retryDelayBackoffFactor == other.retryDelayBackoffFactor - && totalRetryPeriodMillis == other.totalRetryPeriodMillis; - } - - @Override - public String toString() { - ToStringHelper toStringHelper = MoreObjects.toStringHelper(this); - toStringHelper.add("retryMinAttempts", retryMinAttempts); - toStringHelper.add("retryMaxAttempts", retryMaxAttempts); - toStringHelper.add("initialRetryDelayMillis", initialRetryDelayMillis); - toStringHelper.add("maxRetryDelayMillis", maxRetryDelayMillis); - toStringHelper.add("retryDelayBackoffFactor", retryDelayBackoffFactor); - toStringHelper.add("totalRetryPeriodMillis", totalRetryPeriodMillis); - return toStringHelper.toString(); - } - - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 39e6c2ac2def..843f775eca01 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -21,12 +21,16 @@ import static com.google.common.base.Preconditions.checkNotNull; import static java.nio.charset.StandardCharsets.UTF_8; +import com.google.api.gax.core.CurrentMillisClock; +import com.google.api.gax.core.ApiClock; +import com.google.api.gax.core.RetrySettings; import com.google.auth.Credentials; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.collect.Iterables; import com.google.common.io.Files; +import org.joda.time.Duration; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener; @@ -77,17 +81,22 @@ public abstract class ServiceOptions, private static final String LIBRARY_VERSION = defaultLibraryVersion(); private static final String APPLICATION_NAME = LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; - private static final long serialVersionUID = -5714029257168617973L; private static final String META_FILE_ROOT = "/META-INF/maven/"; private static final String META_VERSION_KEY = "version"; + private static final RetrySettings DEFAULT_RETRY_SETTINGS = getDefaultRetrySettingsBuilder() + .build(); + private static final RetrySettings NO_RETRY_SETTINGS = getDefaultRetrySettingsBuilder() + .setMaxAttempts(1).build(); + + private static final long serialVersionUID = 9198896031667942014L; private final String projectId; private final String host; - private final RetryParams retryParams; + private final RetrySettings retrySettings; private final String serviceRpcFactoryClassName; private final String serviceFactoryClassName; - private final Clock clock; + private final ApiClock clock; private final Credentials credentials; private final TransportOptions transportOptions; @@ -110,10 +119,10 @@ public abstract static class Builder, private String projectId; private String host; private Credentials credentials; - private RetryParams retryParams; + private RetrySettings retrySettings; private ServiceFactory serviceFactory; private ServiceRpcFactory serviceRpcFactory; - private Clock clock; + private ApiClock clock; private TransportOptions transportOptions; protected Builder() {} @@ -122,7 +131,7 @@ protected Builder(ServiceOptions options) { projectId = options.projectId; host = options.host; credentials = options.credentials; - retryParams = options.retryParams; + retrySettings = options.retrySettings; serviceFactory = options.serviceFactory; serviceRpcFactory = options.serviceRpcFactory; clock = options.clock; @@ -147,13 +156,13 @@ public B setServiceFactory(ServiceFactory serviceFactory) { /** - * Sets the service's clock. The clock is mainly used for testing purpose. {@link Clock} will be - * replaced by Java8's {@code java.time.Clock}. + * Sets the service's clock. The clock is mainly used for testing purpose. {@link ApiClock} + * will be replaced by Java8's {@code java.time.Clock}. * * @param clock the clock to set * @return the builder */ - public B setClock(Clock clock) { + public B setClock(ApiClock clock) { this.clock = clock; return self(); } @@ -190,7 +199,7 @@ public B setHost(String host) { * @param credentials authentication credentials, should not be {@code null} * @return the builder * @throws NullPointerException if {@code credentials} is {@code null}. To disable - * authentication use {@link NoCredentials#getInstance()} + * authentication use {@link NoCredentials#getInstance()} */ public B setCredentials(Credentials credentials) { this.credentials = checkNotNull(credentials); @@ -199,14 +208,12 @@ public B setCredentials(Credentials credentials) { /** - * Sets configuration parameters for request retries. If no configuration is set - * {@link RetryParams#getDefaultInstance()} is used. To disable retries, supply - * {@link RetryParams#noRetries()} here. + * Sets configuration parameters for request retries. * * @return the builder */ - public B setRetryParams(RetryParams retryParams) { - this.retryParams = retryParams; + public B setRetrySettings(RetrySettings retrySettings) { + this.retrySettings = retrySettings; return self(); } @@ -241,18 +248,18 @@ protected ServiceOptions(Class> ser checkArgument( projectId != null, "A project ID is required for this service but could not be determined from the builder " - + "or the environment. Please set a project ID using the builder."); + + "or the environment. Please set a project ID using the builder."); } host = firstNonNull(builder.host, getDefaultHost()); credentials = builder.credentials != null ? builder.credentials : defaultCredentials(); - retryParams = firstNonNull(builder.retryParams, defaultRetryParams()); + retrySettings = firstNonNull(builder.retrySettings, getDefaultRetrySettings()); serviceFactory = firstNonNull(builder.serviceFactory, getFromServiceLoader(serviceFactoryClass, serviceDefaults.getDefaultServiceFactory())); serviceFactoryClassName = serviceFactory.getClass().getName(); serviceRpcFactory = firstNonNull(builder.serviceRpcFactory, getFromServiceLoader(rpcFactoryClass, serviceDefaults.getDefaultRpcFactory())); serviceRpcFactoryClassName = serviceRpcFactory.getClass().getName(); - clock = firstNonNull(builder.clock, Clock.defaultClock()); + clock = firstNonNull(builder.clock, CurrentMillisClock.getDefaultClock()); transportOptions = firstNonNull(builder.transportOptions, serviceDefaults.getDefaultTransportOptions()); } @@ -493,11 +500,10 @@ public Credentials getScopedCredentials() { /** - * Returns configuration parameters for request retries. By default requests are retried: - * {@link RetryParams#getDefaultInstance()} is used. + * Returns configuration parameters for request retries. */ - public RetryParams getRetryParams() { - return retryParams; + public RetrySettings getRetrySettings() { + return retrySettings; } @@ -505,7 +511,7 @@ public RetryParams getRetryParams() { * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get * current time. */ - public Clock getClock() { + public ApiClock getClock() { return clock; } @@ -546,7 +552,7 @@ public String getLibraryVersion() { } protected int baseHashCode() { - return Objects.hash(projectId, host, credentials, retryParams, serviceFactoryClassName, + return Objects.hash(projectId, host, credentials, retrySettings, serviceFactoryClassName, serviceRpcFactoryClassName, clock); } @@ -554,7 +560,7 @@ protected boolean baseEquals(ServiceOptions other) { return Objects.equals(projectId, other.projectId) && Objects.equals(host, other.host) && Objects.equals(credentials, other.credentials) - && Objects.equals(retryParams, other.retryParams) + && Objects.equals(retrySettings, other.retrySettings) && Objects.equals(serviceFactoryClassName, other.serviceFactoryClassName) && Objects.equals(serviceRpcFactoryClassName, other.serviceRpcFactoryClassName) && Objects.equals(clock, clock); @@ -575,6 +581,26 @@ static T newInstance(String className) throws IOException, ClassNotFoundExce } } + public static RetrySettings getDefaultRetrySettings() { + return DEFAULT_RETRY_SETTINGS; + } + + public static RetrySettings getNoRetrySettings() { + return NO_RETRY_SETTINGS; + } + + private static RetrySettings.Builder getDefaultRetrySettingsBuilder() { + return RetrySettings.newBuilder() + .setMaxAttempts(6) + .setInitialRetryDelay(Duration.millis(1000L)) + .setMaxRetryDelay(Duration.millis(32_000L)) + .setRetryDelayMultiplier(2.0) + .setTotalTimeout(Duration.millis(50_000L)) + .setInitialRpcTimeout(Duration.millis(50_000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.millis(50_000L)); + } + protected abstract Set getScopes(); public abstract > B toBuilder(); @@ -582,10 +608,10 @@ static T newInstance(String className) throws IOException, ClassNotFoundExce /** * Some services may have different backoff requirements listed in their SLAs. Be sure to override * this method in options subclasses when the service's backoff requirement differs from the - * default parameters listed in {@link RetryParams}. + * default parameters listed in {@link RetrySettings}. */ - protected RetryParams defaultRetryParams() { - return RetryParams.getDefaultInstance(); + protected RetrySettings defaultRetrySettings() { + return getDefaultRetrySettings(); } static T getFromServiceLoader(Class clazz, T defaultInstance) { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 9ac4b4b9894d..7992f9e803d5 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -158,7 +158,7 @@ public void testTranslateAndThrow() throws Exception { expect(exceptionMock.getCause()).andReturn(cause).times(2); replay(exceptionMock); try { - BaseServiceException.translateAndPropagateIfPossible(exceptionMock); + BaseServiceException.translate(exceptionMock); } catch (BaseServiceException ex) { assertEquals(CODE, ex.getCode()); assertEquals(MESSAGE, ex.getMessage()); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java index f489207019ac..c78f7773d3fb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java @@ -117,9 +117,9 @@ private static void assertInvalidCallable(Callable callable, ExceptionHan @Test public void testShouldTry() { ExceptionHandler handler = ExceptionHandler.newBuilder().retryOn(IOException.class).build(); - assertTrue(handler.shouldRetry(new IOException())); - assertTrue(handler.shouldRetry(new ClosedByInterruptException())); - assertFalse(handler.shouldRetry(new RuntimeException())); + assertTrue(handler.accept(new IOException())); + assertTrue(handler.accept(new ClosedByInterruptException())); + assertFalse(handler.accept(new RuntimeException())); ExceptionHandler.Builder builder = ExceptionHandler.newBuilder() .retryOn(IOException.class, NullPointerException.class) @@ -127,11 +127,11 @@ public void testShouldTry() { InterruptedException.class); handler = builder.build(); - assertTrue(handler.shouldRetry(new IOException())); - assertFalse(handler.shouldRetry(new ClosedByInterruptException())); - assertFalse(handler.shouldRetry(new InterruptedException())); - assertFalse(handler.shouldRetry(new RuntimeException())); - assertTrue(handler.shouldRetry(new NullPointerException())); + assertTrue(handler.accept(new IOException())); + assertFalse(handler.accept(new ClosedByInterruptException())); + assertFalse(handler.accept(new InterruptedException())); + assertFalse(handler.accept(new RuntimeException())); + assertTrue(handler.accept(new NullPointerException())); final AtomicReference before = new AtomicReference<>(RetryResult.NO_RETRY); @SuppressWarnings("serial") @@ -150,25 +150,25 @@ public RetryResult beforeEval(Exception exception) { builder.addInterceptors(interceptor); handler = builder.build(); - assertFalse(handler.shouldRetry(new IOException())); - assertFalse(handler.shouldRetry(new ClosedByInterruptException())); - assertFalse(handler.shouldRetry(new InterruptedException())); - assertFalse(handler.shouldRetry(new RuntimeException())); - assertFalse(handler.shouldRetry(new NullPointerException())); + assertFalse(handler.accept(new IOException())); + assertFalse(handler.accept(new ClosedByInterruptException())); + assertFalse(handler.accept(new InterruptedException())); + assertFalse(handler.accept(new RuntimeException())); + assertFalse(handler.accept(new NullPointerException())); before.set(RetryResult.RETRY); - assertTrue(handler.shouldRetry(new IOException())); - assertTrue(handler.shouldRetry(new ClosedByInterruptException())); - assertTrue(handler.shouldRetry(new InterruptedException())); - assertTrue(handler.shouldRetry(new RuntimeException())); - assertTrue(handler.shouldRetry(new NullPointerException())); + assertTrue(handler.accept(new IOException())); + assertTrue(handler.accept(new ClosedByInterruptException())); + assertTrue(handler.accept(new InterruptedException())); + assertTrue(handler.accept(new RuntimeException())); + assertTrue(handler.accept(new NullPointerException())); before.set(RetryResult.CONTINUE_EVALUATION); - assertFalse(handler.shouldRetry(new IOException())); - assertTrue(handler.shouldRetry(new ClosedByInterruptException())); - assertTrue(handler.shouldRetry(new InterruptedException())); - assertTrue(handler.shouldRetry(new RuntimeException())); - assertFalse(handler.shouldRetry(new NullPointerException())); + assertFalse(handler.accept(new IOException())); + assertTrue(handler.accept(new ClosedByInterruptException())); + assertTrue(handler.accept(new InterruptedException())); + assertTrue(handler.accept(new RuntimeException())); + assertFalse(handler.accept(new NullPointerException())); } @Test @@ -190,7 +190,7 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); - handler.shouldRetry(new Exception()); + handler.accept(new Exception()); } @Test @@ -212,6 +212,6 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); - handler.shouldRetry(new Exception()); + handler.accept(new Exception()); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java deleted file mode 100644 index 68bb7ce35316..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryHelperTest.java +++ /dev/null @@ -1,263 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static java.util.concurrent.Executors.callable; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; - -import com.google.cloud.RetryHelper.NonRetriableException; -import com.google.cloud.RetryHelper.RetriesExhaustedException; - -import org.junit.Test; - -import java.io.IOException; -import java.util.Arrays; -import java.util.Iterator; -import java.util.concurrent.Callable; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.atomic.AtomicInteger; -import java.util.concurrent.atomic.AtomicLong; - -/** - * Tests for {@link RetryHelper}. - */ -public class RetryHelperTest { - - static class E1Exception extends Exception { - private static final long serialVersionUID = 3874933713392137001L; - } - - static class E2Exception extends E1Exception { - private static final long serialVersionUID = -8710227162480133598L; - } - - static class E3Exception extends E1Exception { - private static final long serialVersionUID = -7794256022024001666L; - } - - static class E4Exception extends E2Exception { - private static final long serialVersionUID = -5508018234693709156L; - } - - @Test - public void testTriesWithExceptionHandling() { - assertNull(RetryHelper.getContext()); - RetryParams params = - RetryParams.newBuilder().setInitialRetryDelayMillis(0).setRetryMaxAttempts(3).build(); - ExceptionHandler handler = ExceptionHandler.newBuilder() - .retryOn(IOException.class).abortOn(RuntimeException.class).build(); - final AtomicInteger count = new AtomicInteger(3); - try { - RetryHelper.runWithRetries(new Callable() { - @Override public Void call() throws IOException, NullPointerException { - if (count.decrementAndGet() == 2) { - assertEquals(1, RetryHelper.getContext().getAttemptNumber()); - throw new IOException("should be retried"); - } - assertEquals(2, RetryHelper.getContext().getAttemptNumber()); - throw new NullPointerException("Boo!"); - } - }, params, handler); - fail("Exception should have been thrown"); - } catch (NonRetriableException ex) { - assertEquals("Boo!", ex.getCause().getMessage()); - assertEquals(1, count.intValue()); - } - assertNull(RetryHelper.getContext()); - - params = RetryParams.newBuilder().setInitialRetryDelayMillis(0).setRetryMaxAttempts(5).build(); - handler = ExceptionHandler.newBuilder() - .retryOn(E1Exception.class, E4Exception.class) - .abortOn(E3Exception.class).build(); - final Iterator exceptions = Arrays.asList( - new E1Exception(), new E2Exception(), new E4Exception(), new E3Exception()).iterator(); - try { - RetryHelper.runWithRetries(new Callable() { - @Override public Void call() throws E1Exception { - throw exceptions.next(); - } - }, params, handler); - fail("Exception should have been thrown"); - } catch (NonRetriableException ex) { - assertTrue(ex.getCause() instanceof E3Exception); - } - assertNull(RetryHelper.getContext()); - } - - @Test - public void testTriesAtLeastMinTimes() { - // Total retry period set to 60 seconds so as to not factor into test - RetryParams params = RetryParams.newBuilder().setInitialRetryDelayMillis(0) - .setTotalRetryPeriodMillis(60000) - .setRetryMinAttempts(5) - .setRetryMaxAttempts(10) - .build(); - final int timesToFail = 7; - assertNull(RetryHelper.getContext()); - int attempted = RetryHelper.runWithRetries(new Callable() { - int timesCalled; - @Override public Integer call() throws IOException { - timesCalled++; - assertEquals(timesCalled, RetryHelper.getContext().getAttemptNumber()); - assertEquals(10, RetryHelper.getContext().getRetryParams().getRetryMaxAttempts()); - if (timesCalled <= timesToFail) { - throw new IOException(); - } - return timesCalled; - } - }, params, ExceptionHandler.getDefaultInstance()); - assertEquals(timesToFail + 1, attempted); - assertNull(RetryHelper.getContext()); - } - - - @Test - public void testTriesNoMoreThanMaxTimes() { - // Total retry period set to 60 seconds so as to not factor into test - final int maxAttempts = 10; - RetryParams params = RetryParams.newBuilder().setInitialRetryDelayMillis(0) - .setTotalRetryPeriodMillis(60000) - .setRetryMinAttempts(0) - .setRetryMaxAttempts(maxAttempts) - .build(); - final AtomicInteger timesCalled = new AtomicInteger(0); - try { - RetryHelper.runWithRetries(callable(new Runnable() { - @Override public void run() { - // Throw an exception up to maxAttempts times, should never be called beyond that - if (timesCalled.incrementAndGet() <= maxAttempts) { - throw new RuntimeException(); - } - fail("Body was executed too many times: " + timesCalled.get()); - } - }), params, ExceptionHandler.newBuilder().retryOn(RuntimeException.class).build()); - // Unnecessary as this line should not be possible reach even if RetryHandler is broken - fail("Should not have succeeded, expected all attempts to fail and give up."); - } catch (RetriesExhaustedException expected) { - // Expect the body to run exactly maxAttempts times - assertEquals(maxAttempts, timesCalled.get()); - } - } - - - private static class FakeClock extends Clock { - - private final AtomicLong millis = new AtomicLong(); - - // Advances the clock value by {@code time} in {@code timeUnit}. - void advance(long time, TimeUnit timeUnit) { - millis.addAndGet(timeUnit.toMillis(time)); - } - - @Override - public long millis() { - return millis.get(); - } - } - - @Test - public void testTriesNoMoreLongerThanTotalRetryPeriod() { - final FakeClock fakeClock = new FakeClock(); - // The 8th attempt (after min and before max) will trigger a 1 second (virtual) delay exceeding - // total retry period which is set just under 1 second. Test occurs faster than realtime. - RetryParams params = RetryParams.newBuilder().setInitialRetryDelayMillis(0) - .setTotalRetryPeriodMillis(999) - .setRetryMinAttempts(5) - .setRetryMaxAttempts(10) - .build(); - ExceptionHandler handler = ExceptionHandler.newBuilder().retryOn(RuntimeException.class).build(); - final int sleepOnAttempt = 8; - final AtomicInteger timesCalled = new AtomicInteger(0); - try { - RetryHelper.runWithRetries(callable(new Runnable() { - @Override public void run() { - timesCalled.incrementAndGet(); - if (timesCalled.get() == sleepOnAttempt) { - fakeClock.advance(1000, TimeUnit.MILLISECONDS); - } - throw new RuntimeException(); - } - }), params, handler, fakeClock); - fail(); - } catch (RetriesExhaustedException expected) { - // verify timesCalled - assertEquals(sleepOnAttempt, timesCalled.get()); - } - } - - @Test - public void testBackoffIsExponential() { - // Total retry period set to 60 seconds so as to not factor into test - RetryParams params = RetryParams.newBuilder() - .setInitialRetryDelayMillis(10) - .setMaxRetryDelayMillis(10_000_000) - .setRetryDelayBackoffFactor(2) - .setTotalRetryPeriodMillis(60_000) - .setRetryMinAttempts(0) - .setRetryMaxAttempts(100) - .build(); - long sleepDuration = RetryHelper.getSleepDuration(params, 1); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 13 && sleepDuration >= 7); - sleepDuration = RetryHelper.getSleepDuration(params, 2); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 25 && sleepDuration >= 15); - sleepDuration = RetryHelper.getSleepDuration(params, 3); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 50 && sleepDuration >= 30); - sleepDuration = RetryHelper.getSleepDuration(params, 4); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 100 && sleepDuration >= 60); - sleepDuration = RetryHelper.getSleepDuration(params, 5); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 200 && sleepDuration >= 120); - sleepDuration = RetryHelper.getSleepDuration(params, 6); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 400 && sleepDuration >= 240); - sleepDuration = RetryHelper.getSleepDuration(params, 7); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 800 && sleepDuration >= 480); - sleepDuration = RetryHelper.getSleepDuration(params, 8); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 1600 && sleepDuration >= 960); - sleepDuration = RetryHelper.getSleepDuration(params, 9); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 3200 && sleepDuration >= 1920); - sleepDuration = RetryHelper.getSleepDuration(params, 10); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 6400 && sleepDuration >= 3840); - sleepDuration = RetryHelper.getSleepDuration(params, 11); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 12800 && sleepDuration >= 7680); - sleepDuration = RetryHelper.getSleepDuration(params, 12); - assertTrue(String.valueOf(sleepDuration), sleepDuration < 25600 && sleepDuration >= 15360); - } - - @Test - public void testNestedUsage() { - assertEquals((1 + 3) * 2, invokeNested(3, 2)); - } - - private int invokeNested(final int level, final int retries) { - if (level < 0) { - return 0; - } - return RetryHelper.runWithRetries(new Callable() { - @Override - public Integer call() throws IOException { - if (RetryHelper.getContext().getAttemptNumber() < retries) { - throw new IOException(); - } - assertEquals(retries, RetryHelper.getContext().getAttemptNumber()); - return invokeNested(level - 1, retries) + RetryHelper.getContext().getAttemptNumber(); - } - }); - } - -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java deleted file mode 100644 index 5f822fe7ae75..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryParamsTest.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static com.google.cloud.RetryParams.DEFAULT_INITIAL_RETRY_DELAY_MILLIS; -import static com.google.cloud.RetryParams.DEFAULT_MAX_RETRY_DELAY_MILLIS; -import static com.google.cloud.RetryParams.DEFAULT_RETRY_DELAY_BACKOFF_FACTOR; -import static com.google.cloud.RetryParams.DEFAULT_RETRY_MAX_ATTEMPTS; -import static com.google.cloud.RetryParams.DEFAULT_RETRY_MIN_ATTEMPTS; -import static com.google.cloud.RetryParams.DEFAULT_TOTAL_RETRY_PERIOD_MILLIS; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.fail; - -import com.google.cloud.RetryParams.Builder; - -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -import java.util.Arrays; - -/** - * Tests for {@link RetryParams}. - */ -@RunWith(JUnit4.class) -public class RetryParamsTest { - - @Test - public void testDefaults() { - RetryParams params1 = RetryParams.getDefaultInstance(); - RetryParams params2 = RetryParams.newBuilder().build(); - for (RetryParams params : Arrays.asList(params1, params2)) { - assertEquals(DEFAULT_INITIAL_RETRY_DELAY_MILLIS, params.getInitialRetryDelayMillis()); - assertEquals(DEFAULT_MAX_RETRY_DELAY_MILLIS, params.getMaxRetryDelayMillis()); - assertEquals(DEFAULT_RETRY_DELAY_BACKOFF_FACTOR, params.getRetryDelayBackoffFactor(), 0); - assertEquals(DEFAULT_RETRY_MAX_ATTEMPTS, params.getRetryMaxAttempts()); - assertEquals(DEFAULT_RETRY_MIN_ATTEMPTS, params.getRetryMinAttempts()); - assertEquals(DEFAULT_TOTAL_RETRY_PERIOD_MILLIS, params.getTotalRetryPeriodMillis()); - } - } - - - @Test - public void testSetAndCopy() { - RetryParams.Builder builder = RetryParams.newBuilder(); - builder.setInitialRetryDelayMillis(101); - builder.setMaxRetryDelayMillis(102); - builder.setRetryDelayBackoffFactor(103); - builder.setRetryMinAttempts(107); - builder.setRetryMaxAttempts(108); - builder.setTotalRetryPeriodMillis(109); - RetryParams params1 = builder.build(); - RetryParams params2 = new RetryParams.Builder(params1).build(); - for (RetryParams params : Arrays.asList(params1, params2)) { - assertEquals(101, params.getInitialRetryDelayMillis()); - assertEquals(102, params.getMaxRetryDelayMillis()); - assertEquals(103, params.getRetryDelayBackoffFactor(), 0); - assertEquals(107, params.getRetryMinAttempts()); - assertEquals(108, params.getRetryMaxAttempts()); - assertEquals(109, params.getTotalRetryPeriodMillis()); - } - } - - - @Test - public void testBadSettings() { - RetryParams.Builder builder = RetryParams.newBuilder(); - builder.setInitialRetryDelayMillis(-1); - builder = assertFailure(builder); - builder.setMaxRetryDelayMillis( - RetryParams.getDefaultInstance().getInitialRetryDelayMillis() - 1); - builder = assertFailure(builder); - builder.setRetryDelayBackoffFactor(-1); - builder = assertFailure(builder); - builder.setRetryMinAttempts(-1); - builder = assertFailure(builder); - builder.setRetryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts() - 1); - builder = assertFailure(builder); - builder.setTotalRetryPeriodMillis(-1); - builder = assertFailure(builder); - // verify that it is OK for min and max to be equal - builder.setRetryMaxAttempts(RetryParams.getDefaultInstance().getRetryMinAttempts()); - builder.setMaxRetryDelayMillis(RetryParams.getDefaultInstance().getInitialRetryDelayMillis()); - builder.build(); - } - - private static Builder assertFailure(Builder builder) { - try { - builder.build(); - fail("Expected IllegalArgumentException"); - } catch (IllegalArgumentException ex) { - // expected - } - return RetryParams.newBuilder(); - } -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index d2e2de4f4afd..11bdae8b2807 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.api.gax.core.RetrySettings; import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; import com.google.common.collect.ImmutableList; @@ -32,7 +33,7 @@ public class SerializationTest extends BaseSerializationTest { private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = new PageImpl<>(null, "cursor", ImmutableList.of("string1", "string2")); - private static final RetryParams RETRY_PARAMS = RetryParams.getDefaultInstance(); + private static final RetrySettings RETRY_SETTINGS = ServiceOptions.getDefaultRetrySettings(); private static final Role SOME_ROLE = Role.viewer(); private static final Policy SOME_IAM_POLICY = Policy.newBuilder().build(); private static final WaitForOption CHECKING_PERIOD = @@ -43,10 +44,12 @@ public class SerializationTest extends BaseSerializationTest { MonitoredResourceDescriptor.newBuilder("global") .setLabels(ImmutableList.of(LABEL_DESCRIPTOR)) .build(); - private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.newBuilder("global") - .setLabels(ImmutableMap.of("project_id", "project")) - .build(); - private static final String JSON_KEY = "{\n" + private static final MonitoredResource MONITORED_RESOURCE = + MonitoredResource.newBuilder("global") + .setLabels(ImmutableMap.of("project_id", "project")) + .build(); + private static final String JSON_KEY = + "{\n" + " \"private_key_id\": \"somekeyid\",\n" + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" @@ -75,9 +78,19 @@ public class SerializationTest extends BaseSerializationTest { @Override protected Serializable[] serializableObjects() { - return new Serializable[]{BASE_SERVICE_EXCEPTION, EXCEPTION_HANDLER, IDENTITY, PAGE, - RETRY_PARAMS, SOME_ROLE, SOME_IAM_POLICY, CHECKING_PERIOD, LABEL_DESCRIPTOR, - MONITORED_RESOURCE_DESCRIPTOR, MONITORED_RESOURCE}; + return new Serializable[] { + BASE_SERVICE_EXCEPTION, + EXCEPTION_HANDLER, + IDENTITY, + PAGE, + RETRY_SETTINGS, + SOME_ROLE, + SOME_IAM_POLICY, + CHECKING_PERIOD, + LABEL_DESCRIPTOR, + MONITORED_RESOURCE_DESCRIPTOR, + MONITORED_RESOURCE + }; } @Override diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 22c230e8d405..3ef3f21e3cff 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -22,6 +22,8 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import com.google.api.gax.core.ApiClock; +import com.google.api.gax.core.CurrentMillisClock; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; @@ -38,33 +40,34 @@ public class ServiceOptionsTest { private static final String JSON_KEY = "{\n" - + " \"private_key_id\": \"somekeyid\",\n" - + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" - + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" - + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" - + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" - + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" - + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" - + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" - + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" - + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" - + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" - + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" - + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" - + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" - + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" - + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" - + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" - + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" - + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" - + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" - + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" - + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" - + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" - + " \"type\": \"service_account\"\n" - + "}"; + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; private static final InputStream JSON_KEY_STREAM = new ByteArrayInputStream(JSON_KEY.getBytes()); private static GoogleCredentials credentials; + static { try { credentials = GoogleCredentials.fromStream(JSON_KEY_STREAM); @@ -72,14 +75,15 @@ public class ServiceOptionsTest { fail("Couldn't create fake JSON credentials."); } } - private static final Clock TEST_CLOCK = new TestClock(); + + private static final ApiClock TEST_CLOCK = new TestClock(); private static final TestServiceOptions OPTIONS = TestServiceOptions.newBuilder() .setCredentials(credentials) .setClock(TEST_CLOCK) .setHost("host") .setProjectId("project-id") - .setRetryParams(RetryParams.noRetries()) + .setRetrySettings(ServiceOptions.getNoRetrySettings()) .build(); private static final TestServiceOptions OPTIONS_NO_CREDENTIALS = TestServiceOptions.newBuilder() @@ -87,7 +91,7 @@ public class ServiceOptionsTest { .setClock(TEST_CLOCK) .setHost("host") .setProjectId("project-id") - .setRetryParams(RetryParams.noRetries()) + .setRetrySettings(ServiceOptions.getNoRetrySettings()) .build(); private static final TestServiceOptions DEFAULT_OPTIONS = TestServiceOptions.newBuilder().setProjectId("project-id").build(); @@ -96,20 +100,24 @@ public class ServiceOptionsTest { private static final Pattern APPLICATION_NAME_PATTERN = Pattern.compile(LIBRARY_NAME + "(/[0-9]+.[0-9]+.[0-9]+)?"); - @Rule - public ExpectedException thrown = ExpectedException.none(); + @Rule public ExpectedException thrown = ExpectedException.none(); + + private static class TestClock implements ApiClock { + @Override + public long nanoTime() { + return 123_456_789_000_000L; + } - private static class TestClock extends Clock { @Override - public long millis() { - return 123456789L; + public long millisTime() { + return 123_456_789L; } } private interface TestService extends Service {} - private static class TestServiceImpl - extends BaseService implements TestService { + private static class TestServiceImpl extends BaseService + implements TestService { private TestServiceImpl(TestServiceOptions options) { super(options); } @@ -215,10 +223,11 @@ public void testBuilder() { assertSame(TEST_CLOCK, OPTIONS.getClock()); assertEquals("host", OPTIONS.getHost()); assertEquals("project-id", OPTIONS.getProjectId()); - assertSame(RetryParams.noRetries(), OPTIONS.getRetryParams()); - assertSame(Clock.defaultClock(), DEFAULT_OPTIONS.getClock()); + assertSame(ServiceOptions.getNoRetrySettings(), + OPTIONS.getRetrySettings()); + assertSame(CurrentMillisClock.getDefaultClock(), DEFAULT_OPTIONS.getClock()); assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.getHost()); - assertSame(RetryParams.getDefaultInstance(), DEFAULT_OPTIONS.getRetryParams()); + assertSame(ServiceOptions.getDefaultRetrySettings(), DEFAULT_OPTIONS.getRetrySettings()); } @Test @@ -227,7 +236,7 @@ public void testBuilderNoCredentials() { assertSame(TEST_CLOCK, OPTIONS_NO_CREDENTIALS.getClock()); assertEquals("host", OPTIONS_NO_CREDENTIALS.getHost()); assertEquals("project-id", OPTIONS_NO_CREDENTIALS.getProjectId()); - assertSame(RetryParams.noRetries(), OPTIONS_NO_CREDENTIALS.getRetryParams()); + assertSame(ServiceOptions.getNoRetrySettings(), OPTIONS_NO_CREDENTIALS.getRetrySettings()); } @Test From a66fc7df79504511870a056dadcc0813ce99a88a Mon Sep 17 00:00:00 2001 From: Vikas Kedia Date: Wed, 22 Mar 2017 11:45:49 -0700 Subject: [PATCH 0308/3036] Move some classes from spanner to core (#1770) * Moved Date,Timestamp to google-cloud-core Removed ByteArrays and moved the corresponding methods into ByteArray. ByteArray already has a decent toString so removed the toString from ByteArrays. * Undo session pool test changes --- java-core/google-cloud-core/pom.xml | 17 ++ .../main/java/com/google/cloud/ByteArray.java | 12 ++ .../src/main/java/com/google/cloud/Date.java | 119 +++++++++++ .../main/java/com/google/cloud/Timestamp.java | 186 ++++++++++++++++++ .../test/java/com/google/cloud/DateTest.java | 76 +++++++ .../java/com/google/cloud/TimestampTest.java | 169 ++++++++++++++++ 6 files changed, 579 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 950d5dce9ec6..d0ea8bec137b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -115,6 +115,11 @@ protobuf-java 3.0.0 + + com.google.protobuf + protobuf-java-util + 3.0.0 + io.grpc grpc-protobuf @@ -153,5 +158,17 @@ + + com.google.truth + truth + 0.30 + test + + + com.google.guava + guava-testlib + 19.0 + test + diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index b92b0bac29d5..8b83a1e4b2a5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -18,6 +18,7 @@ import com.google.common.base.MoreObjects; import com.google.common.base.MoreObjects.ToStringHelper; +import com.google.common.io.BaseEncoding; import com.google.protobuf.ByteString; import java.io.IOException; @@ -33,6 +34,7 @@ public class ByteArray implements Iterable, Serializable { private static final long serialVersionUID = -1908809133893782840L; + private static final BaseEncoding encoder = BaseEncoding.base64(); private final ByteString byteString; @@ -94,6 +96,11 @@ public final String toStringUtf8() { return byteString.toStringUtf8(); } + /** Converts this byte array to its base64 representation. */ + public final String toBase64() { + return encoder.encode(toByteArray()); + } + /** * Returns the content of this {@code ByteArray} as a read-only {@link ByteBuffer}. */ @@ -162,4 +169,9 @@ public static final ByteArray copyFrom(ByteBuffer bytes) { public static final ByteArray copyFrom(InputStream input) throws IOException { return new ByteArray(ByteString.readFrom(input)); } + + /** Creates a {@code ByteArray} from a base64 representation. */ + public static ByteArray fromBase64(String data) { + return ByteArray.copyFrom(encoder.decode(data)); + } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java new file mode 100644 index 000000000000..a11d259df717 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -0,0 +1,119 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.common.base.Preconditions; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** + * Represents a Date without time, such as 2017-03-17. Date is timezone independent. + */ +public final class Date implements Comparable { + + // Date format "yyyy-mm-dd" + private static final Pattern FORMAT_REGEXP = Pattern.compile("(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)"); + private final int year; + private final int month; + private final int dayOfMonth; + + private Date(int year, int month, int dayOfMonth) { + Preconditions.checkArgument(year > 0, "Invalid year: " + year); + Preconditions.checkArgument(month > 0 && month <= 12, "Invalid month: " + month); + Preconditions.checkArgument(dayOfMonth > 0 && dayOfMonth <= 31, "Invalid day: " + dayOfMonth); + this.year = year; + this.month = month; + this.dayOfMonth = dayOfMonth; + } + + /** + * Constructs a new Date instance. + * + * @param year must be greater than 0 + * @param month must be between [1,12] + * @param dayOfMonth must be between [1,31] + */ + public static Date fromYearMonthDay(int year, int month, int dayOfMonth) { + return new Date(year, month, dayOfMonth); + } + + /** @param date Data in RFC 3339 date format (yyyy-mm-dd). */ + public static Date parseDate(String date) { + Matcher matcher = FORMAT_REGEXP.matcher(date); + if (!matcher.matches()) { + throw new IllegalArgumentException("Invalid date: " + date); + } + int year = Integer.parseInt(matcher.group(1)); + int month = Integer.parseInt(matcher.group(2)); + int dayOfMonth = Integer.parseInt(matcher.group(3)); + return new Date(year, month, dayOfMonth); + } + + /** Returns the year. */ + public int getYear() { + return year; + } + + /** Returns the month between 1 and 12 inclusive. */ + public int getMonth() { + return month; + } + + /** Returns day of month between 1 and 31 inclusive. */ + public int getDayOfMonth() { + return dayOfMonth; + } + + @Override + public String toString() { + return String.format("%04d-%02d-%02d", year, month, dayOfMonth); + } + + StringBuilder toString(StringBuilder b) { + return b.append(toString()); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Date that = (Date) o; + return year == that.year && month == that.month && dayOfMonth == that.dayOfMonth; + } + + @Override + public int hashCode() { + return Objects.hash(year, month, dayOfMonth); + } + + @Override + public int compareTo(Date other) { + int r = Integer.compare(year, other.year); + if (r == 0) { + r = Integer.compare(month, other.month); + if (r == 0) { + r = Integer.compare(dayOfMonth, other.dayOfMonth); + } + } + return r; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java new file mode 100644 index 000000000000..aedb802f58d0 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -0,0 +1,186 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Preconditions.checkArgument; + +import com.google.common.base.Strings; +import com.google.protobuf.util.Timestamps; +import java.util.Objects; +import java.util.concurrent.TimeUnit; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import org.joda.time.chrono.GregorianChronology; +import org.joda.time.format.DateTimeFormatter; +import org.joda.time.format.ISODateTimeFormat; + +/** + * Represents a timestamp with nanosecond precision. Timestamps cover the range + * [0001-01-01, 9999-12-31]. + * + *

    {@code Timestamp} instances are immutable. + */ +public final class Timestamp implements Comparable { + /** The smallest legal timestamp ("0001-01-01T00:00:00Z"). */ + public static final Timestamp MIN_VALUE = new Timestamp(-62135596800L, 0); + + /** The largest legal timestamp ("9999-12-31T23:59:59Z"). */ + public static final Timestamp MAX_VALUE = + new Timestamp(253402300799L, (int) TimeUnit.SECONDS.toNanos(1) - 1); + + /** Regexp to split timestamps into date-hour-minute-second and fractional second components. */ + private static final Pattern FORMAT_REGEXP = Pattern.compile("([^\\.]*)(\\.\\d{0,9})?Z"); + + private static final long NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1); + + private static final DateTimeFormatter format = + ISODateTimeFormat.dateHourMinuteSecond().withChronology(GregorianChronology.getInstanceUTC()); + + private final long seconds; + private final int nanos; + + private Timestamp(long seconds, int nanos) { + this.seconds = seconds; + this.nanos = nanos; + } + + /** + * Creates an instance representing the value of {@code seconds} and {@code nanos} since January + * 1, 1970, 00:00:00 UTC. + * + * @param seconds seconds since January 1, 1970, 00:00:00 UTC. A negative value is the number of + * seconds before January 1, 1970, 00:00:00 UTC. + * @param nanos the fractional seconds component, in the range 0..999999999. + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp ofTimeSecondsAndNanos(long seconds, int nanos) { + checkArgument( + Timestamps.isValid(seconds, nanos), "timestamp out of range: %s, %s", seconds, nanos); + return new Timestamp(seconds, nanos); + } + + /** + * Creates an instance representing the value of {@code timestamp}. + * + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp of(java.sql.Timestamp timestamp) { + return ofTimeSecondsAndNanos(timestamp.getTime() / 1000, timestamp.getNanos()); + } + + /** + * Returns the number of seconds since January 1, 1970, 00:00:00 UTC. A negative value is the + * number of seconds before January 1, 1970, 00:00:00 UTC. + */ + public long getSeconds() { + return seconds; + } + + /** Returns the fractional seconds component, in nanoseconds. */ + public int getNanos() { + return nanos; + } + + /** Returns a JDBC timestamp initialized to the same point in time as {@code this}. */ + public java.sql.Timestamp toSqlTimestamp() { + java.sql.Timestamp ts = new java.sql.Timestamp(seconds * 1000); + ts.setNanos(nanos); + return ts; + } + + @Override + public int compareTo(Timestamp other) { + int r = Long.compare(seconds, other.seconds); + if (r == 0) { + r = Integer.compare(nanos, other.nanos); + } + return r; + } + + /** + * Creates an instance of Timestamp from {@code com.google.protobuf.Timestamp}. + */ + public static Timestamp fromProto(com.google.protobuf.Timestamp proto) { + return new Timestamp(proto.getSeconds(), proto.getNanos()); + } + + /** + * Returns a {@code com.google.protobuf.Timestamp} initialized to the same point in time as {@code + * this}. + */ + public com.google.protobuf.Timestamp toProto() { + return com.google.protobuf.Timestamp.newBuilder().setSeconds(seconds).setNanos(nanos).build(); + } + + /** + * Creates a Timestamp instance from the given string. String is in the RFC 3339 format without + * the timezone offset (always ends in "Z"). + */ + public static Timestamp parseTimestamp(String timestamp) { + Matcher matcher = FORMAT_REGEXP.matcher(timestamp); + if (!matcher.matches()) { + throw new IllegalArgumentException("Cannot parse input: " + timestamp); + } + String secondsPart = matcher.group(1); + String nanosPart = matcher.group(2); + long seconds; + seconds = format.parseMillis(secondsPart) / 1000; + int nanos = 0; + if (nanosPart != null) { + String padded = Strings.padEnd(nanosPart.substring(1), 9, '0'); + nanos = Integer.parseInt(padded); + if (nanos >= TimeUnit.SECONDS.toNanos(1)) { + throw new IllegalArgumentException( + "Cannot parse input: " + timestamp + " (nanos out of range)"); + } + } + return ofTimeSecondsAndNanos(seconds, nanos); + } + + StringBuilder toString(StringBuilder b) { + format.printTo(b, seconds * 1000); + if (nanos != 0) { + b.append(String.format(".%09d", nanos)); + } + b.append('Z'); + return b; + } + + @Override + public String toString() { + return toString(new StringBuilder()).toString(); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Timestamp that = (Timestamp) o; + return seconds == that.seconds && nanos == that.nanos; + } + + @Override + public int hashCode() { + return Objects.hash(seconds, nanos); + } + + // TODO(user): Consider adding math operations. +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java new file mode 100644 index 000000000000..627b1adc10cf --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -0,0 +1,76 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.truth.Truth.assertThat; + +import com.google.common.testing.EqualsTester; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Unit tests for {@link Date}. */ +@RunWith(JUnit4.class) +public class DateTest { + + @Test + public void parseDate() { + Date date = Date.parseDate("2016-09-18"); + assertThat(date.getYear()).isEqualTo(2016); + assertThat(date.getMonth()).isEqualTo(9); + assertThat(date.getDayOfMonth()).isEqualTo(18); + } + + @Test + public void testToString() { + Date date = Date.fromYearMonthDay(10, 9, 5); + assertThat(date.toString()).isEqualTo("0010-09-05"); + date = Date.fromYearMonthDay(2016, 12, 31); + assertThat(date.toString()).isEqualTo("2016-12-31"); + date = Date.fromYearMonthDay(1, 1, 1); + assertThat(date.toString()).isEqualTo("0001-01-01"); + } + + @Test + public void equalAndHashCode() { + Date d1 = Date.fromYearMonthDay(2016, 9, 18); + Date d2 = Date.fromYearMonthDay(2016, 9, 18); + Date d3 = Date.fromYearMonthDay(2016, 9, 19); + EqualsTester tester = new EqualsTester(); + tester.addEqualityGroup(d1, d2); + tester.addEqualityGroup(d3); + } + + @Test + public void validOrdering() { + Date d1 = Date.fromYearMonthDay(2016, 9, 18); + Date d2 = Date.fromYearMonthDay(2016, 9, 19); + Date d3 = Date.fromYearMonthDay(2016, 9, 20); + Date d4 = Date.fromYearMonthDay(2016, 10, 1); + Date d5 = Date.fromYearMonthDay(2017, 1, 1); + assertDescending(d5, d4, d3, d2, d1); + } + + private void assertDescending(Date... dates) { + for (int i = 0; i < dates.length - 1; i++) { + assertThat(dates[i]).isEquivalentAccordingToCompareTo(dates[i]); + for (int j = i + 1; j < dates.length; j++) { + assertThat(dates[i]).isGreaterThan(dates[j]); + } + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java new file mode 100644 index 000000000000..0513bc8feaa4 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -0,0 +1,169 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.truth.Truth.assertThat; + +import com.google.common.testing.EqualsTester; +import java.util.Calendar; +import java.util.GregorianCalendar; +import java.util.TimeZone; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Unit tests for {@link com.google.cloud.Timestamp}. */ +@RunWith(JUnit4.class) +public class TimestampTest { + private static final String TEST_TIME_ISO = "2015-10-12T15:14:54Z"; + private static final long TEST_TIME_SECONDS = 1444662894L; + @Rule public ExpectedException expectedException = ExpectedException.none(); + + @Test + public void minValue() { + // MIN_VALUE is before the start of the Gregorian calendar... use magic value. + assertThat(Timestamp.MIN_VALUE.getSeconds()).isEqualTo(-62135596800L); + assertThat(Timestamp.MIN_VALUE.getNanos()).isEqualTo(0); + } + + @Test + public void maxValue() { + TimeZone tz = TimeZone.getTimeZone("UTC"); + GregorianCalendar calendar = new GregorianCalendar(tz); + calendar.set(9999, Calendar.DECEMBER, 31, 23, 59, 59); + java.sql.Timestamp expectedMin = new java.sql.Timestamp(calendar.getTimeInMillis()); + expectedMin.setNanos(999999999); + + assertThat(Timestamp.MAX_VALUE.getSeconds()).isEqualTo(calendar.getTimeInMillis() / 1000L); + assertThat(Timestamp.MAX_VALUE.getNanos()).isEqualTo(999999999); + } + + @Test + public void toFromSqlTimestamp() { + long seconds = TEST_TIME_SECONDS; + int nanos = 500000000; + + java.sql.Timestamp sqlTs = new java.sql.Timestamp(seconds * 1000); + sqlTs.setNanos(nanos); + + Timestamp ts = Timestamp.of(sqlTs); + assertThat(ts.getSeconds()).isEqualTo(seconds); + assertThat(ts.getNanos()).isEqualTo(nanos); + + assertThat(ts.toSqlTimestamp()).isEqualTo(sqlTs); + } + + @Test + public void boundsSecondsMin() { + expectedException.expect(IllegalArgumentException.class); + Timestamp.ofTimeSecondsAndNanos(Timestamp.MIN_VALUE.getSeconds() - 1, 999999999); + } + + @Test + public void boundsSecondsMax() { + expectedException.expect(IllegalArgumentException.class); + Timestamp.ofTimeSecondsAndNanos(Timestamp.MAX_VALUE.getSeconds() + 1, 0); + } + + @Test + public void boundsNanosMin() { + expectedException.expect(IllegalArgumentException.class); + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, -1); + } + + @Test + public void boundsNanosMax() { + expectedException.expect(IllegalArgumentException.class); + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1000000000); + } + + @Test + public void boundsSqlTimestampMin() { + expectedException.expect(IllegalArgumentException.class); + Timestamp.of(new java.sql.Timestamp((Timestamp.MIN_VALUE.getSeconds() - 1) * 1000)); + } + + @Test + public void boundsSqlTimestampMax() { + expectedException.expect(IllegalArgumentException.class); + Timestamp.of(new java.sql.Timestamp((Timestamp.MAX_VALUE.getSeconds() + 1) * 1000)); + } + + @Test + public void equalsAndHashCode() { + EqualsTester tester = new EqualsTester(); + tester.addEqualityGroup( + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0), + Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0), + Timestamp.of(new java.sql.Timestamp(TEST_TIME_SECONDS * 1000))); + tester.addEqualityGroup(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS + 1, 0)); + tester.addEqualityGroup(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1)); + tester.testEquals(); + } + + @Test + public void testToString() { + assertThat(Timestamp.MIN_VALUE.toString()).isEqualTo("0001-01-01T00:00:00Z"); + assertThat(Timestamp.MAX_VALUE.toString()).isEqualTo("9999-12-31T23:59:59.999999999Z"); + assertThat(Timestamp.ofTimeSecondsAndNanos(0, 0).toString()).isEqualTo("1970-01-01T00:00:00Z"); + assertThat(Timestamp.ofTimeSecondsAndNanos(0, 100).toString()) + .isEqualTo("1970-01-01T00:00:00.000000100Z"); + assertThat(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0).toString()) + .isEqualTo(TEST_TIME_ISO); + } + + @Test + public void parseTimestamp() { + assertThat(Timestamp.parseTimestamp("0001-01-01T00:00:00Z")).isEqualTo(Timestamp.MIN_VALUE); + assertThat(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999Z")) + .isEqualTo(Timestamp.MAX_VALUE); + assertThat(Timestamp.parseTimestamp(TEST_TIME_ISO)) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0)); + } + + @Test + public void fromProto() { + com.google.protobuf.Timestamp proto = + com.google.protobuf.Timestamp.newBuilder().setSeconds(1234).setNanos(567).build(); + Timestamp timestamp = Timestamp.fromProto(proto); + assertThat(timestamp.getSeconds()).isEqualTo(1234); + assertThat(timestamp.getNanos()).isEqualTo(567); + } + + @Test + public void comparable() { + assertThat(Timestamp.MIN_VALUE).isLessThan(Timestamp.MAX_VALUE); + assertThat(Timestamp.MAX_VALUE).isGreaterThan(Timestamp.MIN_VALUE); + + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 0)) + .isAtLeast(Timestamp.ofTimeSecondsAndNanos(100, 0)); + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 0)) + .isAtMost(Timestamp.ofTimeSecondsAndNanos(100, 0)); + + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 1000)) + .isLessThan(Timestamp.ofTimeSecondsAndNanos(101, 0)); + assertThat(Timestamp.ofTimeSecondsAndNanos(100, 1000)) + .isAtMost(Timestamp.ofTimeSecondsAndNanos(101, 0)); + + assertThat(Timestamp.ofTimeSecondsAndNanos(101, 0)) + .isGreaterThan(Timestamp.ofTimeSecondsAndNanos(100, 1000)); + assertThat(Timestamp.ofTimeSecondsAndNanos(101, 0)) + .isAtLeast(Timestamp.ofTimeSecondsAndNanos(100, 1000)); + } +} From 890551fd05bfd0797147f0319f744f5cad7aa8b2 Mon Sep 17 00:00:00 2001 From: David Xia Date: Thu, 23 Mar 2017 10:44:00 -0400 Subject: [PATCH 0309/3036] Fix links in READMEs (#1794) [ci skip] Use Markdown formatting that creates links. --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index c7cfe230a4b5..ea1b3d922c2f 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -9,8 +9,8 @@ This module provides common functionality required by service-specific modules o [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) [![Dependency Status](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969) -- [Homepage] (https://googlecloudplatform.github.io/google-cloud-java/) -- [API Documentation] (https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) +- [Homepage](https://googlecloudplatform.github.io/google-cloud-java/) +- [API Documentation](https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) Quickstart ---------- @@ -53,7 +53,7 @@ Please note that this project is released with a Contributor Code of Conduct. By Versioning ---------- -This library follows [Semantic Versioning] (http://semver.org/). +This library follows [Semantic Versioning](http://semver.org/). It is currently in major version zero (``0.y.z``), which means that anything may change at any time and the public API should not be considered From e3387819bc7bf1a8ed37f870cc1d98f8aceea17d Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Thu, 23 Mar 2017 12:31:42 -0700 Subject: [PATCH 0310/3036] Add x-goog-api-client support to HTTP1.1 (#1790) --- .../com/google/cloud/HttpTransportOptions.java | 17 +++++++++++++++++ .../java/com/google/cloud/ServiceOptions.java | 8 ++++---- .../google/cloud/HttpTransportOptionsTest.java | 9 +++++++++ 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java index 1ef0276faf95..970ca555fea6 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java @@ -19,6 +19,7 @@ import static com.google.common.base.MoreObjects.firstNonNull; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; +import com.google.api.client.http.HttpHeaders; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; @@ -154,10 +155,26 @@ public void initialize(HttpRequest httpRequest) throws IOException { if (readTimeout >= 0) { httpRequest.setReadTimeout(readTimeout); } + + HttpHeaders headers = httpRequest.getHeaders(); + headers.set("x-goog-api-client", getXGoogApiClientHeader()); } }; } + String getXGoogApiClientHeader() { + return String.format( + "gl-java/%s %s/%s", + getJavaVersion(), + ServiceOptions.getGoogApiClientLibName(), + ServiceOptions.getLibraryVersion()); + } + + private static String getJavaVersion() { + String javaVersion = Runtime.class.getPackage().getImplementationVersion(); + return javaVersion != null ? javaVersion : ""; + } + /** * Returns the timeout in milliseconds to establish a connection. 0 is an infinite timeout, a * negative number is the default value (20000). diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 843f775eca01..55f2c08ac4c5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -525,7 +525,7 @@ public TransportOptions getTransportOptions() { /** * Returns the application's name as a string in the format {@code gcloud-java/[version]}. */ - public String getApplicationName() { + public static String getApplicationName() { return APPLICATION_NAME; } @@ -533,21 +533,21 @@ public String getApplicationName() { /** * Returns the library's name, {@code gcloud-java}, as a string. */ - public String getLibraryName() { + public static String getLibraryName() { return LIBRARY_NAME; } /** * Returns the library's name used by x-goog-api-client header as a string. */ - public String getGoogApiClientLibName() { + public static String getGoogApiClientLibName() { return X_GOOGLE_CLIENT_HEADER_NAME; } /** * Returns the library's version as a string. */ - public String getLibraryVersion() { + public static String getLibraryVersion() { return LIBRARY_VERSION; } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java index f5013181b2a5..23a2c10a5084 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java @@ -23,6 +23,7 @@ import com.google.auth.http.HttpTransportFactory; import com.google.cloud.HttpTransportOptions.DefaultHttpTransportFactory; +import java.util.regex.Pattern; import org.easymock.EasyMock; import org.junit.Test; @@ -60,4 +61,12 @@ public void testBaseHashCode() { assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); } + + @Test + public void testHeader() { + String expectedHeaderPattern = "^gl-java/.* gccl/.*"; + assertTrue(Pattern.compile(expectedHeaderPattern) + .matcher(DEFAULT_OPTIONS.getXGoogApiClientHeader()) + .find()); + } } From 5d52ac7e105f751b3e3e441627cae6498c38a5fc Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 31 Mar 2017 11:27:31 -0700 Subject: [PATCH 0311/3036] Release 0.11.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d0ea8bec137b..3af09aa304af 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.10.1-alpha-SNAPSHOT + 0.11.0-alpha google-cloud-core From 60bae2a304fff20278c1bf716a4f4bb72370a8a1 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 31 Mar 2017 11:30:39 -0700 Subject: [PATCH 0312/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index ea1b3d922c2f..028669921c69 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.10.0-alpha + 0.11.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.10.0-alpha' +compile 'com.google.cloud:google-cloud-core:0.11.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.10.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.11.0-alpha" ``` Troubleshooting From acce2c98565eaf4cb0d586a809616d915ce0cc68 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 31 Mar 2017 12:00:01 -0700 Subject: [PATCH 0313/3036] Update version to 0.11.1-SNAPSHOT (#1843) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3af09aa304af..7ad8ab279434 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.11.0-alpha + 0.11.1-alpha-SNAPSHOT google-cloud-core From f36c496a0ac617b9b3e873b3321c4d26fdec57cd Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 3 Apr 2017 16:35:14 -0700 Subject: [PATCH 0314/3036] Release 0.11.1 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7ad8ab279434..ab5d45d0b3c5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.11.1-alpha-SNAPSHOT + 0.11.1-alpha google-cloud-core From 329de0e85ae3336a93185982d2fd27a00494fff4 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 3 Apr 2017 16:38:52 -0700 Subject: [PATCH 0315/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 028669921c69..8d54a530e98b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.11.0-alpha + 0.11.1-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.11.0-alpha' +compile 'com.google.cloud:google-cloud-core:0.11.1-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.11.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.11.1-alpha" ``` Troubleshooting From 69c773255682191a8eaa7bf3f652f7cf4b3cd136 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 3 Apr 2017 16:54:35 -0700 Subject: [PATCH 0316/3036] Update version to 0.11.2-SNAPSHOT (#1852) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ab5d45d0b3c5..f80a522c34ad 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.11.1-alpha + 0.11.2-alpha-SNAPSHOT google-cloud-core From 5f62bb8c2a81f01d6710884b16d7539e04f7de0b Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Wed, 5 Apr 2017 02:22:23 -0700 Subject: [PATCH 0317/3036] Make logging overrides the default channel provider (#1820) --- .../com/google/cloud/GrpcTransportOptions.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index 0295b00972c9..b84f03e9156d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -210,23 +210,23 @@ public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings) } /** - * Returns a channel provider. + * Returns a channel provider from the given default provider. */ - public static ChannelProvider getChannelProvider( - ServiceOptions serviceOptions) { + public static ChannelProvider setUpChannelProvider( + InstantiatingChannelProvider.Builder providerBuilder, ServiceOptions serviceOptions) { HostAndPort hostAndPort = HostAndPort.fromString(serviceOptions.getHost()); - InstantiatingChannelProvider.Builder builder = InstantiatingChannelProvider.newBuilder() - .setServiceAddress(hostAndPort.getHostText()) + providerBuilder.setServiceAddress(hostAndPort.getHostText()) .setPort(hostAndPort.getPort()) - .setClientLibHeader(serviceOptions.getGoogApiClientLibName(), - firstNonNull(serviceOptions.getLibraryVersion(), "")); + .setClientLibHeader(ServiceOptions.getGoogApiClientLibName(), + firstNonNull(ServiceOptions.getLibraryVersion(), "")); Credentials scopedCredentials = serviceOptions.getScopedCredentials(); if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { - builder.setCredentialsProvider(FixedCredentialsProvider.create(scopedCredentials)); + providerBuilder.setCredentialsProvider(FixedCredentialsProvider.create(scopedCredentials)); } - return builder.build(); + return providerBuilder.build(); } + /** * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value * adjusted according to {@link #getTimeoutMultiplier()}. Default value is 20000. From c2df4e3978af4b3f4324b20cfbe3643b8f0cf866 Mon Sep 17 00:00:00 2001 From: Michael Bausor Date: Wed, 5 Apr 2017 15:02:57 -0700 Subject: [PATCH 0318/3036] Release 0.11.2 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f80a522c34ad..a76e07378d57 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.11.2-alpha-SNAPSHOT + 0.11.2-alpha google-cloud-core From efec7f3b915b4e81842d304974036fb4e3b4febc Mon Sep 17 00:00:00 2001 From: Michael Bausor Date: Wed, 5 Apr 2017 15:13:26 -0700 Subject: [PATCH 0319/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 8d54a530e98b..5802dcfb0e25 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.11.1-alpha + 0.11.2-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.11.1-alpha' +compile 'com.google.cloud:google-cloud-core:0.11.2-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.11.1-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.11.2-alpha" ``` Troubleshooting From 65839363a5d87248af5045a088a3db60fdee01fd Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Wed, 5 Apr 2017 16:14:54 -0700 Subject: [PATCH 0320/3036] Update pom.xml version to 0.11.3-SNAPSHOT (#1870) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a76e07378d57..4c3ed7b8d4ea 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.11.2-alpha + 0.11.3-alpha-SNAPSHOT google-cloud-core From 8fd7fab6e0a89787f48a20d1a0cfa793f348934b Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 7 Apr 2017 15:29:51 +1000 Subject: [PATCH 0321/3036] remove last use of setPort/setServiceAddress (#1880) Fixes #1835. --- .../src/main/java/com/google/cloud/GrpcTransportOptions.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index b84f03e9156d..f27ace8b01b3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -214,9 +214,7 @@ public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings) */ public static ChannelProvider setUpChannelProvider( InstantiatingChannelProvider.Builder providerBuilder, ServiceOptions serviceOptions) { - HostAndPort hostAndPort = HostAndPort.fromString(serviceOptions.getHost()); - providerBuilder.setServiceAddress(hostAndPort.getHostText()) - .setPort(hostAndPort.getPort()) + providerBuilder.setEndpoint(serviceOptions.getHost()) .setClientLibHeader(ServiceOptions.getGoogApiClientLibName(), firstNonNull(ServiceOptions.getLibraryVersion(), "")); Credentials scopedCredentials = serviceOptions.getScopedCredentials(); From b8a2dd616cf5b249ff19786fed56ee137b6c97ba Mon Sep 17 00:00:00 2001 From: vam Date: Fri, 7 Apr 2017 10:41:21 -0700 Subject: [PATCH 0322/3036] Release 0.12.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4c3ed7b8d4ea..b8e4aa6580d3 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.11.3-alpha-SNAPSHOT + 0.12.0-alpha google-cloud-core From f5034fc2c5c803ae8135bae8d889bd119f5f231d Mon Sep 17 00:00:00 2001 From: vam Date: Fri, 7 Apr 2017 10:44:37 -0700 Subject: [PATCH 0323/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 5802dcfb0e25..60076c965e46 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.11.2-alpha + 0.12.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.11.2-alpha' +compile 'com.google.cloud:google-cloud-core:0.12.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.11.2-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.12.0-alpha" ``` Troubleshooting From d3444426331bbb1c1d97af5e59fe635aaa1274a4 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Fri, 7 Apr 2017 11:43:44 -0700 Subject: [PATCH 0324/3036] Update version to 0.12.1-SNAPSHOT (#1886) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b8e4aa6580d3..332beece16df 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.12.0-alpha + 0.12.1-alpha-SNAPSHOT google-cloud-core From 71fe910c7b3d1b2f98b4c547d6a2e37b96eceb51 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Tue, 11 Apr 2017 11:40:56 -0700 Subject: [PATCH 0325/3036] Don't use `UrlFetchTransport` in App Engine Flex environment (#1893) * Don't use `UrlFetchTransport` in App Engine Flex environment https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1492 --- .../src/main/java/com/google/cloud/HttpTransportOptions.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java index 970ca555fea6..9308704eb116 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java @@ -50,8 +50,9 @@ public static class DefaultHttpTransportFactory implements HttpTransportFactory @Override public HttpTransport create() { - // Consider App Engine - if (ServiceOptions.getAppEngineAppId() != null) { + // Consider App Engine Standard + if (System.getProperty("com.google.appengine.runtime.version") != null + && System.getenv("GAE_SERVICE") == null) { try { return new UrlFetchTransport(); } catch (Exception ignore) { From 5fab30c525fba3a6a47ad34e5ef3fcb01a1929f6 Mon Sep 17 00:00:00 2001 From: Ryan Eiger Date: Tue, 11 Apr 2017 13:05:15 -0700 Subject: [PATCH 0326/3036] Add annotations to specify GCP launch stage (#1889) The Google Cloud Platform launch stage (https://cloud.google.com/terms/launch-stages) is a signifier of the level of access and support that can be expected of a particular feature. These annotations will be used to clearly demarcate features as being in a state other than General Availability to help set user expectations accordingly. --- .../java/com/google/cloud/GcpLaunchStage.java | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java new file mode 100644 index 000000000000..af4b951f34b1 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java @@ -0,0 +1,74 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * A qualifier indicating what level of access and support can be expected of a particular Google + * Cloud Platform feature. The "GeneralAvailability" qualifier is not provided since the vast + * majority of features are in this category. Note that features may be in a later launch stage + * than the client library annotation indicates. + * + *

    See more at the Launch Stages Documentation. + */ +public class GcpLaunchStage { + + /** + * Early Access features are limited to a closed group of testers. To use these features, you must + * sign up in advance and sign a Trusted Tester agreement (which includes confidentiality + * provisions). These features may be unstable, changed in backward-incompatible ways, and are not + * guaranteed to be released. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface EarlyAccess {} + + /** + * Alpha is a limited availability test for releases before they are cleared for widespread use. + * By Alpha, all significant design issues are resolved and we are in the process of verifying + * functionality. Alpha customers need to apply for access, agree to applicable terms, and have + * their projects whitelisted. Alpha releases don’t have to be feature complete, no SLAs are + * provided, and there are no technical support obligations, but they will be far enough along + * that customers can actually use them in test environments or for limited-use tests -- just like + * they would in normal production cases. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface Alpha {} + + /** + * Beta is the point at which we are ready to open a release for any customer to use. There are no + * SLA or technical support obligations in a Beta release, and charges may be waived in some + * cases. Products will be complete from a feature perspective, but may have some open outstanding + * issues. Beta releases are suitable for limited production use cases. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface Beta {} + + /** + * Deprecated features are scheduled to be shut down and removed. For more information, see the + * “Deprecation Policy” section of our Terms of Service + * and the Google Cloud Platform Subject to the Deprecation Policy + * documentation. + */ + @Retention(RetentionPolicy.RUNTIME) + public @interface Deprecated {} + + private GcpLaunchStage() { + // Intentionally left blank. + } +} From 2e8035d2c50675cef7d7feb3d70a247aaf52dadf Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Wed, 12 Apr 2017 09:15:43 -0700 Subject: [PATCH 0327/3036] Update page (#1894) - Use GAX page interface - Bump GAX version --- .../main/java/com/google/cloud/AsyncPage.java | 53 -------------- .../java/com/google/cloud/AsyncPageImpl.java | 4 +- .../src/main/java/com/google/cloud/Page.java | 70 ------------------- .../main/java/com/google/cloud/PageImpl.java | 17 +++-- .../com/google/cloud/AsyncPageImplTest.java | 7 +- .../java/com/google/cloud/PageImplTest.java | 3 +- 6 files changed, 22 insertions(+), 132 deletions(-) delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java deleted file mode 100644 index abc1c360288d..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPage.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.gax.core.ApiFuture; - -/** - * Interface for asynchronously consuming Google Cloud paginated results. - * - *

    Use {@code AsyncPage} to iterate through all values (also in next pages): - *

     {@code
    - * AsyncPage page = ...; // get an AsyncPage instance
    - * Iterator iterator = page.iterateAll();
    - * while (iterator.hasNext()) {
    - *   T value = iterator.next();
    - *   // do something with value
    - * }}
    - * - *

    Or handle pagination explicitly: - *

     {@code
    - * AsyncPage page = ...; // get a AsyncPage instance
    - * while (page != null) {
    - *   for (T value : page.getValues()) {
    - *     // do something with value
    - *   }
    - *   page = page.getNextPageAsync().get();
    - * }}
    - * - * @param the value type that the page holds - */ -public interface AsyncPage extends Page { - - - /** - * Returns a {@link ApiFuture} object for the next page. {@link ApiFuture#get()} returns - * {@code null} if the last page has been reached. - */ - ApiFuture> getNextPageAsync(); -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index e2d27d75bcdf..c119f4f18e03 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -18,6 +18,8 @@ import com.google.api.gax.core.ApiFuture; import com.google.api.gax.core.ApiFutures; +import com.google.api.gax.core.AsyncPage; +import com.google.api.gax.core.Page; import com.google.common.base.Throwables; import com.google.common.util.concurrent.Uninterruptibles; import java.io.Serializable; @@ -76,7 +78,7 @@ public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterabl @Override public ApiFuture> getNextPageAsync() { - if (getNextPageCursor() == null || asyncPageFetcher == null) { + if (getNextPageToken() == null || asyncPageFetcher == null) { return ApiFutures.immediateFuture(null); } return asyncPageFetcher.getNextPage(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java deleted file mode 100644 index 03cbe566d470..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Page.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import java.util.Iterator; - -/** - * Interface for Google Cloud paginated results. - * - *

    Use {@code Page} to iterate through all values (also in next pages): - *

     {@code
    - * Page page = ...; // get a Page instance
    - * Iterator iterator = page.iterateAll();
    - * while (iterator.hasNext()) {
    - *   T value = iterator.next();
    - *   // do something with value
    - * }}
    - * - *

    Or handle pagination explicitly: - *

     {@code
    - * Page page = ...; // get a Page instance
    - * while (page != null) {
    - *   for (T value : page.getValues()) {
    - *     // do something with value
    - *   }
    - *   page = page.getNextPage();
    - * }}
    - * - * @param the value type that the page holds - */ -public interface Page { - - - /** - * Returns the values contained in this page. - */ - Iterable getValues(); - - /** - * Returns an iterator for all values, possibly also in the next pages. Once current page's values - * are traversed the iterator fetches next page, if any. - */ - Iterator iterateAll(); - - - /** - * Returns the cursor for the nextPage or {@code null} if no more results. - */ - String getNextPageCursor(); - - - /** - * Returns the next page of results or {@code null} if no more result. - */ - Page getNextPage(); -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index 37b7fd9dee08..ac329aab449d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.api.gax.core.Page; import com.google.common.collect.AbstractIterator; import com.google.common.collect.ImmutableMap; @@ -81,20 +82,28 @@ public PageImpl(NextPageFetcher pageFetcher, String cursor, Iterable resul this.results = results; } - @Override public Iterable getValues() { return results == null ? Collections.emptyList() : results; } @Override - public Iterator iterateAll() { - return new PageIterator<>(this); + public Iterable iterateAll() { + return new Iterable() { + @Override + public Iterator iterator() { + return new PageIterator<>(PageImpl.this); + } + }; } + @Override + public boolean hasNextPage() { + return getNextPageToken() != null && !getNextPageToken().equals(""); + } @Override - public String getNextPageCursor() { + public String getNextPageToken() { return cursor; } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index ea1717583dfb..a28536c91511 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -20,6 +20,7 @@ import com.google.api.gax.core.ApiFuture; import com.google.api.gax.core.ApiFutures; +import com.google.api.gax.core.AsyncPage; import com.google.common.collect.ImmutableList; import org.junit.Test; @@ -62,7 +63,7 @@ public void testPage() { AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); assertEquals(nextResult, result.getNextPage()); - assertEquals("c", result.getNextPageCursor()); + assertEquals("c", result.getNextPageToken()); assertEquals(VALUES1, result.getValues()); } @@ -73,7 +74,7 @@ public void testPageAsync() throws ExecutionException, InterruptedException { AsyncPageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); AsyncPageImpl result = new AsyncPageImpl<>(fetcher, "c", VALUES1); assertEquals(nextResult, result.getNextPageAsync().get()); - assertEquals("c", result.getNextPageCursor()); + assertEquals("c", result.getNextPageToken()); assertEquals(VALUES1, result.getValues()); } @@ -96,7 +97,7 @@ public void testAsyncPageAndIterateAll() throws ExecutionException, InterruptedE AsyncPageImpl.NextPageFetcher fetcher1 = new TestPageFetcher(nextResult1); AsyncPageImpl result = new AsyncPageImpl<>(fetcher1, "c1", VALUES1); assertEquals(nextResult1, result.getNextPageAsync().get()); - assertEquals("c1", result.getNextPageCursor()); + assertEquals("c1", result.getNextPageToken()); assertEquals(VALUES1, result.getValues()); assertEquals(SOME_VALUES, ImmutableList.copyOf(result.getNextPageAsync().get().iterateAll())); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index fb1d2c209cc2..a5ffadf4d6eb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -18,6 +18,7 @@ import static org.junit.Assert.assertEquals; +import com.google.api.gax.core.Page; import com.google.common.collect.ImmutableList; import org.junit.Test; @@ -52,7 +53,7 @@ public void testPage() { PageImpl.NextPageFetcher fetcher = new TestPageFetcher(nextResult); PageImpl result = new PageImpl<>(fetcher, "c", VALUES); assertEquals(nextResult, result.getNextPage()); - assertEquals("c", result.getNextPageCursor()); + assertEquals("c", result.getNextPageToken()); assertEquals(VALUES, result.getValues()); } From 2be91532f0d574ce8fa5635fbba2c9102525745f Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Wed, 12 Apr 2017 14:18:08 -0400 Subject: [PATCH 0328/3036] Make project.properties path independent per API (#1863) - Previously we generate all project.properties files into root which is incorrect - Now the caller API client needs to pass in package path to retrieve the corresponding version - Create project.properties for Veneer-only clients as well --- java-core/google-cloud-core/pom.xml | 21 +++++ .../google/cloud/GrpcTransportOptions.java | 2 +- .../google/cloud/HttpTransportOptions.java | 9 +- .../java/com/google/cloud/ServiceOptions.java | 94 ++++++------------- .../cloud/HttpTransportOptionsTest.java | 7 +- .../com/google/cloud/ServiceOptionsTest.java | 12 +-- 6 files changed, 67 insertions(+), 78 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 332beece16df..56f40feeeba0 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -15,6 +15,7 @@ google-cloud-core + ${project.version} @@ -171,4 +172,24 @@ test + + + + org.codehaus.mojo + properties-maven-plugin + 1.0-alpha-2 + + + generate-resources + + write-project-properties + + + ${project.build.outputDirectory}/com/google/cloud/project.properties + + + + + + diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index f27ace8b01b3..8fd8f26bec02 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -216,7 +216,7 @@ public static ChannelProvider setUpChannelProvider( InstantiatingChannelProvider.Builder providerBuilder, ServiceOptions serviceOptions) { providerBuilder.setEndpoint(serviceOptions.getHost()) .setClientLibHeader(ServiceOptions.getGoogApiClientLibName(), - firstNonNull(ServiceOptions.getLibraryVersion(), "")); + firstNonNull(serviceOptions.getLibraryVersion(), "")); Credentials scopedCredentials = serviceOptions.getScopedCredentials(); if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { providerBuilder.setCredentialsProvider(FixedCredentialsProvider.create(scopedCredentials)); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java index 9308704eb116..a2a99a28d910 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java @@ -139,7 +139,8 @@ public HttpTransportFactory getHttpTransportFactory() { * Returns a request initializer responsible for initializing requests according to service * options. */ - public HttpRequestInitializer getHttpRequestInitializer(ServiceOptions serviceOptions) { + public HttpRequestInitializer getHttpRequestInitializer( + final ServiceOptions serviceOptions) { Credentials scopedCredentials = serviceOptions.getScopedCredentials(); final HttpRequestInitializer delegate = scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() @@ -158,17 +159,17 @@ public void initialize(HttpRequest httpRequest) throws IOException { } HttpHeaders headers = httpRequest.getHeaders(); - headers.set("x-goog-api-client", getXGoogApiClientHeader()); + headers.set("x-goog-api-client", getXGoogApiClientHeader(serviceOptions)); } }; } - String getXGoogApiClientHeader() { + String getXGoogApiClientHeader(ServiceOptions serviceOptions) { return String.format( "gl-java/%s %s/%s", getJavaVersion(), ServiceOptions.getGoogApiClientLibName(), - ServiceOptions.getLibraryVersion()); + serviceOptions.getLibraryVersion()); } private static String getJavaVersion() { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 55f2c08ac4c5..e9b262dc3288 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -21,20 +21,15 @@ import static com.google.common.base.Preconditions.checkNotNull; import static java.nio.charset.StandardCharsets.UTF_8; -import com.google.api.gax.core.CurrentMillisClock; import com.google.api.gax.core.ApiClock; +import com.google.api.gax.core.CurrentMillisClock; +import com.google.api.gax.core.PropertiesProvider; import com.google.api.gax.core.RetrySettings; import com.google.auth.Credentials; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.collect.Iterables; import com.google.common.io.Files; - -import org.joda.time.Duration; -import org.json.JSONException; -import org.json.JSONObject; -import org.json.JSONTokener; - import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; @@ -49,17 +44,16 @@ import java.net.HttpURLConnection; import java.net.URL; import java.nio.charset.Charset; -import java.util.Enumeration; import java.util.Locale; import java.util.Objects; -import java.util.Properties; import java.util.ServiceLoader; import java.util.Set; -import java.util.jar.Attributes; -import java.util.jar.JarFile; -import java.util.jar.Manifest; import java.util.regex.Matcher; import java.util.regex.Pattern; +import org.joda.time.Duration; +import org.json.JSONException; +import org.json.JSONObject; +import org.json.JSONTokener; /** * Abstract class representing service options. @@ -73,17 +67,13 @@ public abstract class ServiceOptions, private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; - private static final String MANIFEST_ARTIFACT_ID_KEY = "artifactId"; - private static final String MANIFEST_VERSION_KEY = "Implementation-Version"; - private static final String ARTIFACT_ID = "google-cloud-core"; private static final String LIBRARY_NAME = "gcloud-java"; private static final String X_GOOGLE_CLIENT_HEADER_NAME = "gccl"; - private static final String LIBRARY_VERSION = defaultLibraryVersion(); - private static final String APPLICATION_NAME = - LIBRARY_VERSION == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + LIBRARY_VERSION; - private static final String META_FILE_ROOT = "/META-INF/maven/"; - private static final String META_VERSION_KEY = "version"; + private static final String PROPERTIES_VERSION_KEY = "artifact.version"; + private static final String DEFAULT_PACKAGE_PATH = "com/google/cloud"; + private static final String PROPERTIES_FILE = "project.properties"; + private static final RetrySettings DEFAULT_RETRY_SETTINGS = getDefaultRetrySettingsBuilder() .build(); private static final RetrySettings NO_RETRY_SETTINGS = getDefaultRetrySettingsBuilder() @@ -525,8 +515,9 @@ public TransportOptions getTransportOptions() { /** * Returns the application's name as a string in the format {@code gcloud-java/[version]}. */ - public static String getApplicationName() { - return APPLICATION_NAME; + public String getApplicationName() { + String libraryVersion = getLibraryVersion(); + return libraryVersion == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + libraryVersion; } @@ -547,8 +538,17 @@ public static String getGoogApiClientLibName() { /** * Returns the library's version as a string. */ - public static String getLibraryVersion() { - return LIBRARY_VERSION; + public String getLibraryVersion() { + try { + String version = getVersionProperty(getPackagePath()); + if (version == null) { + version = getVersionProperty(DEFAULT_PACKAGE_PATH); + } + return version; + } catch (Exception e) { + // ignore + } + return null; } protected int baseHashCode() { @@ -618,47 +618,13 @@ static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } - private static String defaultLibraryVersion() { - String version = getPomVersion(); - if (version == null) { - version = getManifestVersion(); - } - return version; - } - - private static String getPomVersion() { - try { - Properties properties = new Properties(); - String mavenPropertiesPath = META_FILE_ROOT - + ServiceOptions.class.getPackage().getName() + "/" - + ARTIFACT_ID + "/pom.properties"; - InputStream inputStream = ServiceOptions.class.getResourceAsStream(mavenPropertiesPath); - if (inputStream != null) { - properties.load(inputStream); - return properties.getProperty(META_VERSION_KEY, ""); - } - } catch (Exception e) { - // ignore - } - return null; + private String getVersionProperty(String packagePath) { + String projectPropertiesPath = "/" + packagePath + "/" + PROPERTIES_FILE; + return PropertiesProvider.loadProperty( + ServiceOptions.class, projectPropertiesPath, PROPERTIES_VERSION_KEY); } - private static String getManifestVersion() { - String version = null; - try { - Enumeration resources = - ServiceOptions.class.getClassLoader().getResources(JarFile.MANIFEST_NAME); - while (resources.hasMoreElements() && version == null) { - Manifest manifest = new Manifest(resources.nextElement().openStream()); - Attributes manifestAttributes = manifest.getMainAttributes(); - String artifactId = manifestAttributes.getValue(MANIFEST_ARTIFACT_ID_KEY); - if (artifactId != null && artifactId.equals(ARTIFACT_ID)) { - version = manifestAttributes.getValue(MANIFEST_VERSION_KEY); - } - } - } catch (IOException e) { - // ignore - } - return version; + private String getPackagePath() { + return this.getClass().getPackage().getName().replaceAll("\\.", "/"); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java index 23a2c10a5084..4d828ea6e729 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java @@ -64,9 +64,12 @@ public void testBaseHashCode() { @Test public void testHeader() { - String expectedHeaderPattern = "^gl-java/.* gccl/.*"; + String expectedHeaderPattern = "^gl-java/.* gccl/0.0.0"; + final ServiceOptions mockOptions = EasyMock.createMock(ServiceOptions.class); + EasyMock.expect(mockOptions.getLibraryVersion()).andReturn("0.0.0"); + EasyMock.replay(mockOptions); assertTrue(Pattern.compile(expectedHeaderPattern) - .matcher(DEFAULT_OPTIONS.getXGoogApiClientHeader()) + .matcher(OPTIONS.getXGoogApiClientHeader(mockOptions)) .find()); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 3ef3f21e3cff..38b468d93ebc 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -26,16 +26,14 @@ import com.google.api.gax.core.CurrentMillisClock; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; - -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.ExpectedException; - import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Set; import java.util.regex.Pattern; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; public class ServiceOptionsTest { private static final String JSON_KEY = @@ -98,7 +96,7 @@ public class ServiceOptionsTest { private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private static final String LIBRARY_NAME = "gcloud-java"; private static final Pattern APPLICATION_NAME_PATTERN = - Pattern.compile(LIBRARY_NAME + "(/[0-9]+.[0-9]+.[0-9]+)?"); + Pattern.compile(LIBRARY_NAME + "/.*"); @Rule public ExpectedException thrown = ExpectedException.none(); @@ -268,7 +266,7 @@ public void testBaseEquals() { @Test public void testLibraryName() { - assertEquals(LIBRARY_NAME, OPTIONS.getLibraryName()); + assertEquals(LIBRARY_NAME, ServiceOptions.getLibraryName()); } @Test From 6e7f8d5f489c563a8b7b8c6e95df0018dd965fb9 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Wed, 12 Apr 2017 15:15:46 -0400 Subject: [PATCH 0329/3036] Update org.json to latest version (#1904) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 56f40feeeba0..9b568914993a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -102,7 +102,7 @@ org.json json - 20151123 + 20160810 compile From 05b7ca9776386f22fbca1e35588b556994c73db4 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 13 Apr 2017 16:04:45 +1000 Subject: [PATCH 0330/3036] bump grpc dependency to 1.2.0 (#1902) also move various protobuf-generated dependencies to 0.1.7 update gax version to 0.10.0 --- java-core/google-cloud-core/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9b568914993a..90d3310f44b7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -114,12 +114,12 @@ com.google.protobuf protobuf-java - 3.0.0 + 3.2.0 com.google.protobuf protobuf-java-util - 3.0.0 + 3.2.0 io.grpc @@ -140,7 +140,7 @@ com.google.api.grpc grpc-google-common-protos - 0.1.5 + 0.1.7 io.grpc @@ -151,7 +151,7 @@ com.google.api.grpc grpc-google-iam-v1 - 0.1.5 + 0.1.7 io.grpc From dc8c8668cb51f0e5d4fa3b0af21d421b7d835a7f Mon Sep 17 00:00:00 2001 From: Ryan Eiger Date: Fri, 7 Apr 2017 15:11:08 -0700 Subject: [PATCH 0331/3036] Add Identity Access Management (IAM) to the Storage API (#1812) Adds support for bucket-level IAM (currently in limited alpha). More information about IAM in Google Cloud Storage can be found at https://cloud.google.com/storage/docs/access-control/iam --- .../src/main/java/com/google/cloud/Policy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index c8fc044086ea..0de5cdc9652c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -202,7 +202,6 @@ public final Builder removeIdentity(Role role, Identity first, Identity... other return this; } - /** * Sets the policy's etag. * @@ -214,7 +213,7 @@ public final Builder removeIdentity(Role role, Identity first, Identity... other * applied to the same version of the policy. If no etag is provided in the call to * setIamPolicy, then the existing policy is overwritten blindly. */ - protected final Builder setEtag(String etag) { + public final Builder setEtag(String etag) { this.etag = etag; return this; } From e231e581c81dafc67bbfe51fa2509db6df3abbb4 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 13 Apr 2017 13:56:16 -0700 Subject: [PATCH 0332/3036] Formatting and merge fixes --- .../src/main/java/com/google/cloud/Policy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 0de5cdc9652c..7f918767d582 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -124,7 +124,8 @@ public static class Builder { private String etag; private int version; - protected Builder() {} + protected Builder() { + } protected Builder(Policy policy) { setBindings(policy.bindings); From 5fd96548b6126cece3e0aa491ec11d925b1c8cc7 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 13 Apr 2017 15:42:18 -0700 Subject: [PATCH 0333/3036] Release 0.13.0 --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 90d3310f44b7..d1a036354bc4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.12.1-alpha-SNAPSHOT + 0.13.0-alpha google-cloud-core From d33e89b49c34369edfc31b646f2d125d39a5070e Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 13 Apr 2017 15:54:03 -0700 Subject: [PATCH 0334/3036] Updating version in README files. [ci skip] --- java-core/google-cloud-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 60076c965e46..9270479b668b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.12.0-alpha + 0.13.0-alpha ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.12.0-alpha' +compile 'com.google.cloud:google-cloud-core:0.13.0-alpha' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.12.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.13.0-alpha" ``` Troubleshooting From d7c385724a58ec71445ee9854dc0c4dbedee8e7d Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 13 Apr 2017 16:26:35 -0700 Subject: [PATCH 0335/3036] Update version to 0.13.1-SNAPSHOT (#1919) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d1a036354bc4..cdd802dc453d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,7 +11,7 @@ com.google.cloud google-cloud-pom - 0.13.0-alpha + 0.13.1-alpha-SNAPSHOT google-cloud-core From 895aa07b04971d2451072fac4f002f9f7ff8d684 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Fri, 14 Apr 2017 17:31:23 -0700 Subject: [PATCH 0336/3036] Update release scripts to handle 1.x and 0.x versions living together (#1922) * Update release scripts to handle 1.x and 0.x versions living together https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1845 Move and rename testing folder modules so they are consistent with current project naming and structure (so their versions can be updated by same script). --- java-core/google-cloud-core/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cdd802dc453d..8681fe0a8502 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,6 +2,7 @@ 4.0.0 google-cloud-core + 0.13.1-alpha-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core From 7b139e9a290ba479d1b7ae2687247eadf2f23ac5 Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Tue, 18 Apr 2017 08:55:26 -0700 Subject: [PATCH 0337/3036] Changes required for updated api-common (#1927) --- java-core/google-cloud-core/pom.xml | 5 +++++ .../src/main/java/com/google/cloud/AsyncPageImpl.java | 4 ++-- .../src/main/java/com/google/cloud/RetryHelper.java | 2 +- .../src/main/java/com/google/cloud/ServiceOptions.java | 4 ++-- .../src/test/java/com/google/cloud/AsyncPageImplTest.java | 4 ++-- .../src/test/java/com/google/cloud/ServiceOptionsTest.java | 4 ++-- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8681fe0a8502..9749ee819dff 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -138,6 +138,11 @@ + + com.google.api + api-common + ${api-common.version} + com.google.api.grpc grpc-google-common-protos diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index c119f4f18e03..d812e126ffb5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -16,8 +16,8 @@ package com.google.cloud; -import com.google.api.gax.core.ApiFuture; -import com.google.api.gax.core.ApiFutures; +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; import com.google.api.gax.core.AsyncPage; import com.google.api.gax.core.Page; import com.google.common.base.Throwables; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index 6d36096bb68b..7ee7fb358329 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -16,7 +16,7 @@ package com.google.cloud; -import com.google.api.gax.core.ApiClock; +import com.google.api.core.ApiClock; import com.google.api.gax.core.RetrySettings; import com.google.api.gax.retrying.DirectRetryingExecutor; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index e9b262dc3288..6f3d36e75af2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -21,8 +21,8 @@ import static com.google.common.base.Preconditions.checkNotNull; import static java.nio.charset.StandardCharsets.UTF_8; -import com.google.api.gax.core.ApiClock; -import com.google.api.gax.core.CurrentMillisClock; +import com.google.api.core.ApiClock; +import com.google.api.core.CurrentMillisClock; import com.google.api.gax.core.PropertiesProvider; import com.google.api.gax.core.RetrySettings; import com.google.auth.Credentials; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index a28536c91511..021a694a733e 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -18,8 +18,8 @@ import static org.junit.Assert.assertEquals; -import com.google.api.gax.core.ApiFuture; -import com.google.api.gax.core.ApiFutures; +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; import com.google.api.gax.core.AsyncPage; import com.google.common.collect.ImmutableList; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 38b468d93ebc..e7f3a451580e 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -22,8 +22,8 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.api.gax.core.ApiClock; -import com.google.api.gax.core.CurrentMillisClock; +import com.google.api.core.ApiClock; +import com.google.api.core.CurrentMillisClock; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; import java.io.ByteArrayInputStream; From 620ee74abd1802a0e3222b6c097b0c16a3a0aea6 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 18 Apr 2017 09:04:46 -0700 Subject: [PATCH 0338/3036] Removing timeout settings that are set but never used (#1934) --- .../google/cloud/GrpcTransportOptions.java | 81 +------------------ .../cloud/GrpcTransportOptionsTest.java | 43 ---------- 2 files changed, 2 insertions(+), 122 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index 8fd8f26bec02..81402c9e7398 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -45,9 +45,6 @@ public class GrpcTransportOptions implements TransportOptions { private static final long serialVersionUID = -9049538465533951165L; private final String executorFactoryClassName; - private final int initialTimeout; - private final double timeoutMultiplier; - private final int maxTimeout; private transient ExecutorFactory executorFactory; @@ -118,17 +115,11 @@ public synchronized void release(ScheduledExecutorService executor) { public static class Builder { private ExecutorFactory executorFactory; - private int initialTimeout = 20_000; - private double timeoutMultiplier = 1.5; - private int maxTimeout = 100_000; private Builder() {} private Builder(GrpcTransportOptions options) { executorFactory = options.executorFactory; - initialTimeout = options.initialTimeout; - timeoutMultiplier = options.timeoutMultiplier; - maxTimeout = options.maxTimeout; } public GrpcTransportOptions build() { @@ -145,44 +136,6 @@ public Builder setExecutorFactory(ExecutorFactory exec this.executorFactory = executorFactory; return this; } - - /** - * Sets the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value - * adjusted according to {@link #setTimeoutMultiplier(double)}. Default value is 20000. - * - * @return the builder - * @throws IllegalArgumentException if the provided timeout is < 0 - */ - public Builder setInitialTimeout(int initialTimeout) { - Preconditions.checkArgument(initialTimeout > 0, "Initial timeout must be > 0"); - this.initialTimeout = initialTimeout; - return this; - } - - /** - * Sets the timeout multiplier. This value is used to compute the timeout for a retried RPC. - * Timeout is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. - * - * @return the builder - * @throws IllegalArgumentException if the provided timeout multiplier is < 0 - */ - public Builder setTimeoutMultiplier(double timeoutMultiplier) { - Preconditions.checkArgument(timeoutMultiplier >= 1.0, "Timeout multiplier must be >= 1"); - this.timeoutMultiplier = timeoutMultiplier; - return this; - } - - /** - * Sets the maximum timeout for a RPC call, in milliseconds. Default value is 100000. If - * {@code maxTimeout} is lower than the initial timeout the {@link #setInitialTimeout(int)} - * value is used instead. - * - * @return the builder - */ - public Builder setMaxTimeout(int maxTimeout) { - this.maxTimeout = maxTimeout; - return this; - } } @SuppressWarnings("unchecked") @@ -190,9 +143,6 @@ private GrpcTransportOptions(Builder builder) { executorFactory = firstNonNull(builder.executorFactory, ServiceOptions.getFromServiceLoader(ExecutorFactory.class, DefaultExecutorFactory.INSTANCE)); executorFactoryClassName = executorFactory.getClass().getName(); - initialTimeout = builder.initialTimeout; - timeoutMultiplier = builder.timeoutMultiplier; - maxTimeout = builder.maxTimeout <= initialTimeout ? initialTimeout : builder.maxTimeout; } /** @@ -225,37 +175,13 @@ public static ChannelProvider setUpChannelProvider( } - /** - * Returns the timeout for the initial RPC, in milliseconds. Subsequent calls will use this value - * adjusted according to {@link #getTimeoutMultiplier()}. Default value is 20000. - */ - public int getInitialTimeout() { - return initialTimeout; - } - - /** - * Returns the timeout multiplier. This values is used to compute the timeout for a RPC. Timeout - * is computed as {@code timeoutMultiplier * previousTimeout}. Default value is 1.5. - */ - public double getTimeoutMultiplier() { - return timeoutMultiplier; - } - - /** - * Returns the maximum timeout for a RPC call, in milliseconds. Default value is 100000. - */ - public int getMaxTimeout() { - return maxTimeout; - } - public Builder toBuilder() { return new Builder(this); } @Override public int hashCode() { - return Objects.hash(executorFactoryClassName, initialTimeout, - timeoutMultiplier, maxTimeout); + return Objects.hash(executorFactoryClassName); } @Override @@ -267,10 +193,7 @@ public boolean equals(Object obj) { return false; } GrpcTransportOptions other = (GrpcTransportOptions) obj; - return Objects.equals(executorFactoryClassName, other.executorFactoryClassName) - && Objects.equals(initialTimeout, other.initialTimeout) - && Objects.equals(timeoutMultiplier, other.timeoutMultiplier) - && Objects.equals(maxTimeout, other.maxTimeout); + return Objects.equals(executorFactoryClassName, other.executorFactoryClassName); } private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java index aafd26461155..1bcc54af6a91 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java @@ -33,9 +33,6 @@ public class GrpcTransportOptionsTest { private static final ExecutorFactory MOCK_EXECUTOR_FACTORY = EasyMock.createMock(ExecutorFactory.class); private static final GrpcTransportOptions OPTIONS = GrpcTransportOptions.newBuilder() - .setInitialTimeout(1234) - .setTimeoutMultiplier(1.6) - .setMaxTimeout(5678) .setExecutorFactory(MOCK_EXECUTOR_FACTORY) .build(); private static final GrpcTransportOptions DEFAULT_OPTIONS = @@ -44,50 +41,10 @@ public class GrpcTransportOptionsTest { @Test public void testBuilder() { - assertEquals(1234, OPTIONS.getInitialTimeout()); - assertEquals(1.6, OPTIONS.getTimeoutMultiplier(), 0.0); - assertEquals(5678, OPTIONS.getMaxTimeout()); assertSame(MOCK_EXECUTOR_FACTORY, OPTIONS.getExecutorFactory()); - assertEquals(20000, DEFAULT_OPTIONS.getInitialTimeout()); - assertEquals(1.5, DEFAULT_OPTIONS.getTimeoutMultiplier(), 0.0); - assertEquals(100000, DEFAULT_OPTIONS.getMaxTimeout()); assertTrue(DEFAULT_OPTIONS.getExecutorFactory() instanceof DefaultExecutorFactory); } - @Test - public void testBuilderError() { - try { - GrpcTransportOptions.newBuilder().setInitialTimeout(0); - fail("IllegalArgumentException expected"); - } catch (IllegalArgumentException ex) { - assertEquals("Initial timeout must be > 0", ex.getMessage()); - } - try { - GrpcTransportOptions.newBuilder().setInitialTimeout(-1); - fail("IllegalArgumentException expected"); - } catch (IllegalArgumentException ex) { - assertEquals("Initial timeout must be > 0", ex.getMessage()); - } - try { - GrpcTransportOptions.newBuilder().setTimeoutMultiplier(0.9); - fail("IllegalArgumentException expected"); - } catch (IllegalArgumentException ex) { - assertEquals("Timeout multiplier must be >= 1", ex.getMessage()); - } - } - - @Test - public void testBuilderInvalidMaxTimeout() { - GrpcTransportOptions options = GrpcTransportOptions.newBuilder() - .setInitialTimeout(1234) - .setTimeoutMultiplier(1.6) - .setMaxTimeout(123) - .build(); - assertEquals(1234, options.getInitialTimeout()); - assertEquals(1.6, options.getTimeoutMultiplier(), 0.0); - assertEquals(1234, options.getMaxTimeout()); - } - @Test public void testBaseEquals() { assertEquals(OPTIONS, OPTIONS_COPY); From 73a9904cdca314abaf78c2c9cdf124a2a970b975 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 18 Apr 2017 09:57:09 -0700 Subject: [PATCH 0339/3036] Marking some core types @BetaApi and @InternalApi (#1933) --- .../src/main/java/com/google/cloud/AsyncPageImpl.java | 2 ++ .../src/main/java/com/google/cloud/ByteArray.java | 2 ++ .../google-cloud-core/src/main/java/com/google/cloud/Date.java | 2 ++ .../src/main/java/com/google/cloud/FieldSelector.java | 2 ++ .../src/main/java/com/google/cloud/GrpcTransportOptions.java | 1 - .../src/main/java/com/google/cloud/PageImpl.java | 3 ++- .../src/main/java/com/google/cloud/WaitForOption.java | 2 ++ .../main/java/com/google/cloud/testing/BaseEmulatorHelper.java | 2 ++ 8 files changed, 14 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index d812e126ffb5..f72783cf87b9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.InternalApi; import com.google.api.gax.core.AsyncPage; import com.google.api.gax.core.Page; import com.google.common.base.Throwables; @@ -30,6 +31,7 @@ * * @param the value type that the page holds */ +@InternalApi public class AsyncPageImpl extends PageImpl implements AsyncPage { private static final long serialVersionUID = -6009473188630364906L; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 8b83a1e4b2a5..449e827c4116 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.api.core.BetaApi; import com.google.common.base.MoreObjects; import com.google.common.base.MoreObjects.ToStringHelper; import com.google.common.io.BaseEncoding; @@ -31,6 +32,7 @@ /** * An immutable byte array holder. */ +@BetaApi public class ByteArray implements Iterable, Serializable { private static final long serialVersionUID = -1908809133893782840L; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java index a11d259df717..9da1bb6631b1 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.api.core.BetaApi; import com.google.common.base.Preconditions; import java.util.Objects; import java.util.regex.Matcher; @@ -24,6 +25,7 @@ /** * Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ +@BetaApi public final class Date implements Comparable { // Date format "yyyy-mm-dd" diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java index 125a03e212cf..24706b52e5f3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.api.core.InternalApi; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.collect.Lists; @@ -42,6 +43,7 @@ public interface FieldSelector { * A helper class used to build composite selectors given a number of fields. This class is not * supposed to be used directly by users. */ + @InternalApi class Helper { private static final String[] EMPTY_FIELDS = {}; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java index 81402c9e7398..15fb9a7311ce 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java @@ -26,7 +26,6 @@ import com.google.auth.Credentials; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; -import com.google.common.net.HostAndPort; import io.grpc.internal.SharedResourceHolder; import io.grpc.internal.SharedResourceHolder.Resource; import java.io.IOException; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index ac329aab449d..e49e1e75a615 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -16,10 +16,10 @@ package com.google.cloud; +import com.google.api.core.InternalApi; import com.google.api.gax.core.Page; import com.google.common.collect.AbstractIterator; import com.google.common.collect.ImmutableMap; - import java.io.Serializable; import java.util.Collections; import java.util.Iterator; @@ -31,6 +31,7 @@ * * @param the value type that the page holds */ +@InternalApi public class PageImpl implements Page, Serializable { private static final long serialVersionUID = 3914827379823557934L; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java index a84b25bc369b..a03b0642596a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java @@ -18,6 +18,7 @@ import static com.google.common.base.Preconditions.checkArgument; +import com.google.api.core.BetaApi; import com.google.common.base.MoreObjects; import java.io.Serializable; @@ -27,6 +28,7 @@ /** * This class represents options for methods that wait for changes in the status of a resource. */ +@BetaApi public abstract class WaitForOption implements Serializable { private static final long serialVersionUID = 8443451708032349243L; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 2b4276068d7b..0de8675a4092 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -16,6 +16,7 @@ package com.google.cloud.testing; +import com.google.api.core.InternalApi; import com.google.cloud.ServiceOptions; import com.google.common.io.CharStreams; import com.google.common.util.concurrent.SettableFuture; @@ -57,6 +58,7 @@ /** * Utility class to start and stop a local service which is used by unit testing. */ +@InternalApi public abstract class BaseEmulatorHelper { private final String emulator; From b309b8b512c268637e49fa24d17ae1e59a09d917 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 18 Apr 2017 13:57:05 -0700 Subject: [PATCH 0340/3036] Creating an expandable enum type, converting StorageClass (#1937) --- .../java/com/google/cloud/StringEnumType.java | 93 +++++++++++++ .../com/google/cloud/StringEnumValue.java | 61 +++++++++ .../java/com/google/cloud/StringEnumTest.java | 126 ++++++++++++++++++ 3 files changed, 280 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java new file mode 100644 index 000000000000..f02982a70f4a --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java @@ -0,0 +1,93 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud; + +import com.google.api.core.ApiFunction; +import com.google.api.core.InternalApi; +import com.google.common.base.Preconditions; +import java.lang.reflect.Array; +import java.util.Collection; +import java.util.LinkedHashMap; +import java.util.Map; + +/** + * This represents a concept having a known set of acceptable String values, which can expand later + * due to new API features. + */ +@InternalApi +public class StringEnumType { + + private final Class clazz; + private final ApiFunction constructor; + private final Map knownValues = new LinkedHashMap<>(); + + public StringEnumType(Class clazz, ApiFunction constructor) { + this.clazz = Preconditions.checkNotNull(clazz); + this.constructor = Preconditions.checkNotNull(constructor); + } + + /** + * Create a new constant and register it in the known values. + */ + public EnumT createAndRegister(String constant) { + EnumT instance = constructor.apply(constant); + knownValues.put(constant, instance); + return instance; + } + + /** + * Get the enum object for the given String constant, and throw an exception if the constant is + * not recognized. + */ + public EnumT valueOfStrict(String constant) { + EnumT value = knownValues.get(constant); + if (value != null) { + return value; + } else { + throw new IllegalArgumentException( + "Constant \"" + constant + "\" not found for enum \"" + clazz.getName() + "\""); + } + } + + /** + * Get the enum object for the given String constant, and allow unrecognized values. + */ + public EnumT valueOf(String constant) { + EnumT value = knownValues.get(constant); + if (value != null) { + return value; + } else { + return constructor.apply(constant); + } + } + + /** + * Return the known values of this enum type. + */ + public EnumT[] values() { + Collection valueCollection = knownValues.values(); + + @SuppressWarnings("unchecked") + final EnumT[] valueArray = (EnumT[]) Array.newInstance(clazz, valueCollection.size()); + int i = 0; + for (EnumT enumV : valueCollection) { + valueArray[i] = enumV; + i++; + } + + return valueArray; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java new file mode 100644 index 000000000000..1f9a224723f2 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java @@ -0,0 +1,61 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud; + +import com.google.api.core.InternalApi; +import com.google.common.base.Preconditions; + +/** + * This represents a specific instance of a concept having a known set of acceptable String values, + * which can expand later due to new API features. Standard Java enums can't be used in such + * a context. + */ +public abstract class StringEnumValue { + private final String constant; + + /** + * Don't create subclasses outside of google-cloud-java. + */ + @InternalApi + protected StringEnumValue(String constant) { + this.constant = Preconditions.checkNotNull(constant); + } + + @Override + public String toString() { + return constant; + } + + @Override + public boolean equals(Object that) { + if (that == null) { + return false; + } + if (this == that) { + return true; + } + if (!(that instanceof StringEnumValue)) { + return false; + } + StringEnumValue thatEnumValue = (StringEnumValue) that; + return this.constant.equals(thatEnumValue.constant); + } + + @Override + public int hashCode() { + return constant.hashCode(); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java new file mode 100644 index 000000000000..aba6178f0b79 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java @@ -0,0 +1,126 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud; + +import static com.google.common.truth.Truth.assertThat; + +import com.google.api.core.ApiFunction; +import com.google.common.testing.EqualsTester; +import java.util.Arrays; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; + +public class StringEnumTest { + + @Rule + public ExpectedException expectedException = ExpectedException.none(); + + public static class Letter extends StringEnumValue { + private Letter(String constant) { + super(constant); + } + + private static final ApiFunction CONSTRUCTOR = + new ApiFunction() { + @Override + public Letter apply(String constant) { + return new Letter(constant); + } + }; + + private static final StringEnumType type = new StringEnumType( + Letter.class, + CONSTRUCTOR); + + public static final Letter A = type.createAndRegister("A"); + public static final Letter B = type.createAndRegister("B"); + public static final Letter C = type.createAndRegister("C"); + + public static Letter valueOfStrict(String constant) { + return type.valueOfStrict(constant); + } + + /** + * Get the StorageClass for the given String constant, and allow unrecognized values. + */ + public static Letter valueOf(String constant) { + return type.valueOf(constant); + } + + /** + * Return the known values for StorageClass. + */ + public static Letter[] values() { + return type.values(); + } + } + + @Test + public void testNullClass() { + expectedException.expect(NullPointerException.class); + new StringEnumType(null, Letter.CONSTRUCTOR); + } + + @Test + public void testNullConstructor() { + expectedException.expect(NullPointerException.class); + new StringEnumType(Letter.class, null); + } + + @Test + public void testEnumInstances() { + assertThat(Letter.A.toString()).isEqualTo("A"); + } + + @Test + public void testValueOf() { + assertThat(Letter.valueOf("A")).isSameAs(Letter.A); + assertThat(Letter.valueOf("B")).isSameAs(Letter.B); + assertThat(Letter.valueOf("C")).isSameAs(Letter.C); + assertThat(Letter.valueOf("NonExistentLetter").toString()).isEqualTo("NonExistentLetter"); + } + + @Test + public void testValueOfStrict() { + assertThat(Letter.valueOfStrict("A")).isSameAs(Letter.A); + assertThat(Letter.valueOfStrict("B")).isSameAs(Letter.B); + assertThat(Letter.valueOfStrict("C")).isSameAs(Letter.C); + } + + @Test + public void testEquals() { + EqualsTester tester = new EqualsTester(); + + tester.addEqualityGroup(Letter.A, Letter.valueOf("A"), Letter.valueOfStrict("A")); + tester.addEqualityGroup(Letter.B, Letter.valueOf("B"), Letter.valueOfStrict("B")); + tester.addEqualityGroup(Letter.C, Letter.valueOf("C"), Letter.valueOfStrict("C")); + tester + .addEqualityGroup(Letter.valueOf("NonExistentLetter"), Letter.valueOf("NonExistentLetter")); + } + + @Test + public void testValueOfStrict_invalid() { + expectedException.expect(IllegalArgumentException.class); + Letter.valueOfStrict("NonExistentLetter"); + } + + @Test + public void testValues() { + assertThat( + Arrays.asList(Letter.values()).containsAll(Arrays.asList(Letter.A, Letter.B, Letter.C))); + } +} From c883367b271bc3342fed7144ef79d381960732a7 Mon Sep 17 00:00:00 2001 From: neozwu Date: Tue, 18 Apr 2017 14:59:43 -0700 Subject: [PATCH 0341/3036] retry datastore transactions (#1242) (#1932) * retry datastore transactions (#1242) --- .../src/main/java/com/google/cloud/BaseService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index 619341bc3729..a907bed1321b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -39,7 +39,7 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { public RetryResult beforeEval(Exception exception) { if (exception instanceof BaseServiceException) { boolean retriable = ((BaseServiceException) exception).isRetryable(); - return retriable ? Interceptor.RetryResult.RETRY : Interceptor.RetryResult.NO_RETRY; + return retriable ? Interceptor.RetryResult.RETRY : Interceptor.RetryResult.CONTINUE_EVALUATION; } return Interceptor.RetryResult.CONTINUE_EVALUATION; } From 4e7c540931decdeaa0c10c950a32be4dbb328c05 Mon Sep 17 00:00:00 2001 From: Jisha Abubaker Date: Tue, 18 Apr 2017 17:02:18 -0700 Subject: [PATCH 0342/3036] Logging refactor of JUL + monitored resource construction (#1847) Adding support for auto-config of JUL with monitored resource construction on Flex, Standard, GCE and GKE. --- .../java/com/google/cloud/MetadataConfig.java | 76 +++++++++++++++++++ .../java/com/google/cloud/ServiceOptions.java | 21 +---- 2 files changed, 79 insertions(+), 18 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java new file mode 100644 index 000000000000..e6f93490f0be --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -0,0 +1,76 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static java.nio.charset.StandardCharsets.UTF_8; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.net.HttpURLConnection; +import java.net.URL; + +/** + * Retrieves Google Cloud project-id and a limited set of instance attributes from Metadata server. + * @see + * https://cloud.google.com/compute/docs/storing-retrieving-metadata + */ +public class MetadataConfig { + + private static final String METADATA_URL = "http://metadata/computeMetadata/v1/"; + + private MetadataConfig() { + } + + public static String getProjectId() { + return getAttribute("project/project-id"); + } + + public static String getZone() { + String zoneId = getAttribute("instance/zone"); + if (zoneId.contains("/")) { + return zoneId.substring(zoneId.lastIndexOf('/') + 1); + } + return zoneId; + } + + public static String getInstanceId() { + return getAttribute("instance/id"); + } + + public static String getClusterName() { + return getAttribute("instance/cluster-name"); + } + + private static String getAttribute(String attributeName) { + try { + URL url = new URL(METADATA_URL + attributeName); + HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + connection.setRequestProperty("Metadata-Flavor", "Google"); + InputStream input = connection.getInputStream(); + if (connection.getResponseCode() == 200) { + try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { + return reader.readLine(); + } + } + } catch (IOException ignore) { + // ignore + } + return null; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 6f3d36e75af2..0db8f08c4d76 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -309,7 +309,7 @@ public static String getDefaultProjectId() { return projectId != null ? projectId : getGoogleCloudProjectId(); } - protected static String getAppEngineAppId() { + public static String getAppEngineAppId() { return System.getProperty("com.google.appengine.application.id"); } @@ -370,23 +370,8 @@ protected static String getGoogleCloudProjectId() { // ignore } } - try { - URL url = new URL("http://metadata/computeMetadata/v1/project/project-id"); - HttpURLConnection connection = (HttpURLConnection) url.openConnection(); - // TODO replace X-Google-Metadata-Request with: - // connection.setRequestProperty("Metadata-Flavor", "Google"); - connection.setRequestProperty("X-Google-Metadata-Request", "True"); - InputStream input = connection.getInputStream(); - if (connection.getResponseCode() == 200) { - try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { - return reader.readLine(); - } - } - } catch (IOException ignore) { - // ignore - } - // return null if can't determine - return null; + // return project id from metadata config + return MetadataConfig.getProjectId(); } private static boolean isWindows() { From 3643e3371827e42ad616c7a3aa5d6f39508f2ffc Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 18 Apr 2017 17:34:41 -0700 Subject: [PATCH 0343/3036] Converting all Storage deserialized enum types to StringEnumValue (#1940) --- .../main/java/com/google/cloud/Identity.java | 119 ++++++++++-------- .../java/com/google/cloud/StringEnumType.java | 3 + .../com/google/cloud/StringEnumValue.java | 8 +- .../java/com/google/cloud/IdentityTest.java | 15 +++ .../java/com/google/cloud/StringEnumTest.java | 2 + 5 files changed, 91 insertions(+), 56 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index 74d55672ef84..a548347654c6 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -18,6 +18,7 @@ import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.core.ApiFunction; import com.google.common.base.CaseFormat; import java.io.Serializable; @@ -48,52 +49,91 @@ public final class Identity implements Serializable { /** * The types of IAM identities. */ - public enum Type { + public static final class Type extends StringEnumValue { + private static final long serialVersionUID = 3809891273596003916L; + + private Type(String constant) { + super(constant); + } + + private static final ApiFunction CONSTRUCTOR = + new ApiFunction() { + @Override + public Type apply(String constant) { + return new Type(constant); + } + }; + + private static final StringEnumType type = new StringEnumType( + Type.class, + CONSTRUCTOR); /** * Represents anyone who is on the internet; with or without a Google account. */ - ALL_USERS, + public static final Type ALL_USERS = type.createAndRegister("ALL_USERS"); /** * Represents anyone who is authenticated with a Google account or a service account. */ - ALL_AUTHENTICATED_USERS, + public static final Type ALL_AUTHENTICATED_USERS = type.createAndRegister("ALL_AUTHENTICATED_USERS"); /** * Represents a specific Google account. */ - USER, + public static final Type USER = type.createAndRegister("USER"); /** * Represents a service account. */ - SERVICE_ACCOUNT, + public static final Type SERVICE_ACCOUNT = type.createAndRegister("SERVICE_ACCOUNT"); /** * Represents a Google group. */ - GROUP, + public static final Type GROUP = type.createAndRegister("GROUP"); /** * Represents all the users of a Google Apps domain name. */ - DOMAIN, - + public static final Type DOMAIN = type.createAndRegister("DOMAIN"); + /** * Represents owners of a Google Cloud Platform project. */ - PROJECT_OWNER, - + public static final Type PROJECT_OWNER = type.createAndRegister("PROJECT_OWNER"); + /** * Represents editors of a Google Cloud Platform project. */ - PROJECT_EDITOR, - + public static final Type PROJECT_EDITOR = type.createAndRegister("PROJECT_EDITOR"); + /** * Represents viewers of a Google Cloud Platform project. */ - PROJECT_VIEWER + public static final Type PROJECT_VIEWER = type.createAndRegister("PROJECT_VIEWER"); + + /** + * Get the Type for the given String constant, and throw an exception if the constant is + * not recognized. + */ + public static Type valueOfStrict(String constant) { + return type.valueOfStrict(constant); + } + + /** + * Get the Type for the given String constant, and allow unrecognized values. + */ + public static Type valueOf(String constant) { + return type.valueOf(constant); + } + + /** + * Return the known values for Type. + */ + public static Type[] values() { + return type.values(); + } } private Identity(Type type, String value) { @@ -225,27 +265,11 @@ public boolean equals(Object obj) { * {@code Identity} objects to strings for protobuf-generated policies. */ public String strValue() { - switch (type) { - case ALL_USERS: - return "allUsers"; - case ALL_AUTHENTICATED_USERS: - return "allAuthenticatedUsers"; - case USER: - return "user:" + value; - case SERVICE_ACCOUNT: - return "serviceAccount:" + value; - case GROUP: - return "group:" + value; - case DOMAIN: - return "domain:" + value; - case PROJECT_OWNER: - return "projectOwner:" + value; - case PROJECT_EDITOR: - return "projectEditor:" + value; - case PROJECT_VIEWER: - return "projectViewer:" + value; - default: - throw new IllegalStateException("Unexpected identity type: " + type); + String protobufString = CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, type.toString()); + if (value == null) { + return protobufString; + } else { + return protobufString + ":" + value; } } @@ -256,27 +280,12 @@ public String strValue() { public static Identity valueOf(String identityStr) { String[] info = identityStr.split(":"); Type type = Type.valueOf(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_UNDERSCORE, info[0])); - switch (type) { - case ALL_USERS: - return Identity.allUsers(); - case ALL_AUTHENTICATED_USERS: - return Identity.allAuthenticatedUsers(); - case USER: - return Identity.user(info[1]); - case SERVICE_ACCOUNT: - return Identity.serviceAccount(info[1]); - case GROUP: - return Identity.group(info[1]); - case DOMAIN: - return Identity.domain(info[1]); - case PROJECT_OWNER: - return Identity.projectOwner(info[1]); - case PROJECT_EDITOR: - return Identity.projectEditor(info[1]); - case PROJECT_VIEWER: - return Identity.projectViewer(info[1]); - default: - throw new IllegalStateException("Unexpected identity type " + type); + if (info.length == 1) { + return new Identity(type, null); + } else if (info.length == 2){ + return new Identity(type, info[1]); + } else { + throw new IllegalArgumentException("Illegal identity string: \"" + identityStr + "\""); } } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java index f02982a70f4a..5d5e11dbc41a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java @@ -66,6 +66,9 @@ public EnumT valueOfStrict(String constant) { * Get the enum object for the given String constant, and allow unrecognized values. */ public EnumT valueOf(String constant) { + if (constant == null || constant.isEmpty()) { + throw new IllegalArgumentException("Empty enum constants not allowed."); + } EnumT value = knownValues.get(constant); if (value != null) { return value; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java index 1f9a224723f2..613c598104ee 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java @@ -17,13 +17,15 @@ import com.google.api.core.InternalApi; import com.google.common.base.Preconditions; +import java.io.Serializable; /** * This represents a specific instance of a concept having a known set of acceptable String values, * which can expand later due to new API features. Standard Java enums can't be used in such * a context. */ -public abstract class StringEnumValue { +public abstract class StringEnumValue implements Serializable { + private static final long serialVersionUID = 1501809419544297884L; private final String constant; /** @@ -34,6 +36,10 @@ protected StringEnumValue(String constant) { this.constant = Preconditions.checkNotNull(constant); } + public String name() { + return constant; + } + @Override public String toString() { return constant; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index cf8726a4b60d..0063bdb04dcd 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -142,6 +142,21 @@ public void testIdentityToAndFromPb() { compareIdentities(PROJECT_VIEWER, Identity.valueOf(PROJECT_VIEWER.strValue())); } + @Test(expected = IllegalArgumentException.class) + public void testValueOfEmpty() { + Identity.valueOf(""); + } + + @Test(expected = IllegalArgumentException.class) + public void testValueOfThreePart() { + Identity.valueOf("a:b:c"); + } + + @Test + public void testUnrecognizedToString() { + assertEquals("a:b", Identity.valueOf("a:b").strValue()); + } + private void compareIdentities(Identity expected, Identity actual) { assertEquals(expected, actual); assertEquals(expected.getType(), actual.getType()); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java index aba6178f0b79..613f3676cc60 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java @@ -30,6 +30,8 @@ public class StringEnumTest { public ExpectedException expectedException = ExpectedException.none(); public static class Letter extends StringEnumValue { + private static final long serialVersionUID = -1717976087182628526L; + private Letter(String constant) { super(constant); } From 4461cc3247c355845e97db391544b95fc2372f64 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 19 Apr 2017 08:06:22 -0700 Subject: [PATCH 0344/3036] Converting all Datastore deserialized enum types to StringEnumValue (#1941) --- .../src/main/java/com/google/cloud/StringEnumValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java index 613c598104ee..54c72bd8fd7c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java @@ -53,7 +53,7 @@ public boolean equals(Object that) { if (this == that) { return true; } - if (!(that instanceof StringEnumValue)) { + if (!(getClass().equals(that.getClass()))) { return false; } StringEnumValue thatEnumValue = (StringEnumValue) that; From 650572aadbfe6ec7371362f78df82115528e0e91 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 19 Apr 2017 08:16:56 -0700 Subject: [PATCH 0345/3036] Adding dependency convergence (#1943) --- java-core/google-cloud-core/pom.xml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9749ee819dff..fb7d88663634 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -22,12 +22,10 @@ com.google.auth google-auth-library-credentials - ${google.auth.version} com.google.auth google-auth-library-oauth2-http - ${google.auth.version} com.google.guava @@ -38,24 +36,20 @@ com.google.http-client google-http-client - 1.21.0 compile com.google.oauth-client google-oauth-client - 1.21.0 compile com.google.guava guava - 19.0 com.google.api-client google-api-client - 1.21.0 compile @@ -67,7 +61,6 @@ com.google.http-client google-http-client-appengine - 1.21.0 compile @@ -79,7 +72,6 @@ com.google.http-client google-http-client-jackson - 1.21.0 compile @@ -91,13 +83,11 @@ junit junit - 4.12 test joda-time joda-time - 2.9.2 compile @@ -115,12 +105,10 @@ com.google.protobuf protobuf-java - 3.2.0 com.google.protobuf protobuf-java-util - 3.2.0 io.grpc @@ -146,7 +134,6 @@ com.google.api.grpc grpc-google-common-protos - 0.1.7 io.grpc @@ -157,7 +144,6 @@ com.google.api.grpc grpc-google-iam-v1 - 0.1.7 io.grpc From 1198cd83573f0deb9042f308191823ba29ff0c88 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 19 Apr 2017 08:50:31 -0700 Subject: [PATCH 0346/3036] Removing grpc-all exclusions in pom.xml (#1942) --- java-core/google-cloud-core/pom.xml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fb7d88663634..3612233177ab 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -119,12 +119,6 @@ com.google.api gax ${gax.version} - - - io.grpc - grpc-all - - com.google.api @@ -134,22 +128,10 @@ com.google.api.grpc grpc-google-common-protos - - - io.grpc - grpc-all - - com.google.api.grpc grpc-google-iam-v1 - - - io.grpc - grpc-all - - com.google.truth From 1a7bd5f7534930ceabd981985249d4618c34cca2 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Wed, 19 Apr 2017 17:12:57 -0400 Subject: [PATCH 0347/3036] Replace DateTime with Timestamp (#1947) --- .../main/java/com/google/cloud/Timestamp.java | 39 ++++++++++++++++++- .../java/com/google/cloud/TimestampTest.java | 9 +++++ 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index aedb802f58d0..e138343a58b0 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -20,6 +20,8 @@ import com.google.common.base.Strings; import com.google.protobuf.util.Timestamps; +import java.io.Serializable; +import java.util.Date; import java.util.Objects; import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; @@ -34,7 +36,10 @@ * *

    {@code Timestamp} instances are immutable. */ -public final class Timestamp implements Comparable { +public final class Timestamp implements Comparable, Serializable { + + private static final long serialVersionUID = 5152143600571559844L; + /** The smallest legal timestamp ("0001-01-01T00:00:00Z"). */ public static final Timestamp MIN_VALUE = new Timestamp(-62135596800L, 0); @@ -73,6 +78,38 @@ public static Timestamp ofTimeSecondsAndNanos(long seconds, int nanos) { return new Timestamp(seconds, nanos); } + /** + * Creates an instance representing the value of {@code microseconds}. + * + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp ofTimeMicroseconds(long microseconds) { + long seconds = TimeUnit.MICROSECONDS.toSeconds(microseconds); + int nanos = (int) TimeUnit.MICROSECONDS.toNanos( + microseconds - TimeUnit.SECONDS.toMicros(seconds)); + checkArgument( + Timestamps.isValid(seconds, nanos), "timestamp out of range: %s, %s", seconds, nanos); + return new Timestamp(seconds, nanos); + } + + /** + * Creates an instance representing the value of {@code Date}. + * + * @throws IllegalArgumentException if the timestamp is outside the representable range + */ + public static Timestamp of(Date date) { + return ofTimeMicroseconds(TimeUnit.MILLISECONDS.toMicros(date.getTime())); + } + + + /** + * Creates an instance with current time. + */ + public static Timestamp now() { + java.sql.Timestamp date = new java.sql.Timestamp(System.currentTimeMillis()); + return of(date); + } + /** * Creates an instance representing the value of {@code timestamp}. * diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 0513bc8feaa4..a805c06bff3d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -33,6 +33,8 @@ public class TimestampTest { private static final String TEST_TIME_ISO = "2015-10-12T15:14:54Z"; private static final long TEST_TIME_SECONDS = 1444662894L; + private static final long TEST_TIME_MICROSECONDS = 10000100L; + @Rule public ExpectedException expectedException = ExpectedException.none(); @Test @@ -54,6 +56,13 @@ public void maxValue() { assertThat(Timestamp.MAX_VALUE.getNanos()).isEqualTo(999999999); } + @Test + public void ofMicroseconds() { + Timestamp timestamp = Timestamp.ofTimeMicroseconds(TEST_TIME_MICROSECONDS); + assertThat(timestamp.getSeconds()).isEqualTo(TEST_TIME_MICROSECONDS / 1000000L); + assertThat(timestamp.getNanos()).isEqualTo(TEST_TIME_MICROSECONDS % 1000000L * 1000); + } + @Test public void toFromSqlTimestamp() { long seconds = TEST_TIME_SECONDS; From 51d4578e0d0b82e8e5a514b1ba4848d9daf5fe1c Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Wed, 19 Apr 2017 17:13:13 -0400 Subject: [PATCH 0348/3036] Make SSLHandShakeException retryable (#1938) --- .../src/main/java/com/google/cloud/BaseServiceException.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 4bebfc925923..0e2c6156c106 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -26,9 +26,11 @@ import java.io.Serializable; import java.net.SocketException; import java.net.SocketTimeoutException; +import java.security.cert.CertificateException; import java.util.Collections; import java.util.Objects; import java.util.Set; +import javax.net.ssl.SSLHandshakeException; /** * Base class for all service exceptions. @@ -203,6 +205,8 @@ protected boolean isRetryable(boolean idempotent, Error error) { protected boolean isRetryable(boolean idempotent, IOException exception) { boolean exceptionIsRetryable = exception instanceof SocketTimeoutException || exception instanceof SocketException + || (exception instanceof SSLHandshakeException + && !(exception.getCause() instanceof CertificateException)) || "insufficient data written".equals(exception.getMessage()); return idempotent && exceptionIsRetryable; } From 9950f2b082d899966b627d99b7c9ef046a786921 Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Fri, 21 Apr 2017 09:16:16 -0700 Subject: [PATCH 0349/3036] Remove guava from surface (#1960) --- .../com/google/cloud/BaseWriteChannel.java | 55 ++++++++++++++++--- .../cloud/MonitoredResourceDescriptor.java | 5 +- .../main/java/com/google/cloud/Policy.java | 23 ++++++-- 3 files changed, 66 insertions(+), 17 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index ddc191b1e439..fd8f02d19589 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -16,13 +16,13 @@ package com.google.cloud; -import com.google.common.base.MoreObjects; - import java.io.IOException; import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import java.util.Objects; /** @@ -295,17 +295,54 @@ public boolean equals(Object obj) { && this.chunkSize == other.chunkSize; } - protected MoreObjects.ToStringHelper toStringHelper() { - return MoreObjects.toStringHelper(this) - .add("entity", entity) - .add("uploadId", uploadId) - .add("position", position) - .add("isOpen", isOpen); + protected static final class ValueHolder { + final String name; + final Object value; + + private ValueHolder(String name, Object value) { + this.name = name; + this.value = value; + } + + public static ValueHolder create(String name, Object value) { + return new ValueHolder(name, value); + } + + @Override + public String toString() { + String result = name + "="; + if (value != null && value.getClass().isArray()) { + Object[] objectArray = new Object[]{value}; + String arrayString = Arrays.deepToString(objectArray); + result += arrayString.substring(1, arrayString.length() - 1); + } else { + result += value; + } + return result; + } + } + + protected List toStringHelper() { + List valueList = new ArrayList<>(); + valueList.add(ValueHolder.create("entity", entity)); + valueList.add(ValueHolder.create("uploadId", uploadId)); + valueList.add(ValueHolder.create("position", String.valueOf(position))); + valueList.add(ValueHolder.create("isOpen", String.valueOf(isOpen))); + return valueList; } @Override public String toString() { - return toStringHelper().toString(); + StringBuilder builder = new StringBuilder(); + builder.append(getClass().getSimpleName()) + .append('{'); + String nextSeparator = ""; + for (ValueHolder valueHolder : toStringHelper()) { + builder.append(nextSeparator).append(valueHolder); + nextSeparator = ", "; + } + builder.append('}'); + return builder.toString(); } } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java index d4529124c839..e7789d31af95 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -18,6 +18,7 @@ import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.core.ApiFunction; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import com.google.common.collect.Iterables; @@ -37,9 +38,9 @@ public class MonitoredResourceDescriptor implements Serializable { private static final long serialVersionUID = -3702077512777687441L; - public static final Function FROM_PB_FUNCTION = - new Function() { + new ApiFunction() { @Override public MonitoredResourceDescriptor apply( com.google.api.MonitoredResourceDescriptor pb) { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 7f918767d582..ca7993668454 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -19,6 +19,7 @@ import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.core.ApiFunction; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableMap; @@ -57,15 +58,15 @@ public final class Policy implements Serializable { public abstract static class Marshaller { - protected static final Function IDENTITY_VALUE_OF_FUNCTION = - new Function() { + protected static final ApiFunction IDENTITY_VALUE_OF_FUNCTION = + new ApiFunction() { @Override public Identity apply(String identityPb) { return Identity.valueOf(identityPb); } }; - protected static final Function IDENTITY_STR_VALUE_FUNCTION = - new Function() { + protected static final ApiFunction IDENTITY_STR_VALUE_FUNCTION = + new ApiFunction() { @Override public String apply(Identity identity) { return identity.strValue(); @@ -85,7 +86,12 @@ protected Policy fromPb(com.google.iam.v1.Policy policyPb) { for (com.google.iam.v1.Binding bindingPb : policyPb.getBindingsList()) { bindings.put(Role.of(bindingPb.getRole()), ImmutableSet.copyOf( - Lists.transform(bindingPb.getMembersList(), IDENTITY_VALUE_OF_FUNCTION))); + Lists.transform(bindingPb.getMembersList(), new Function() { + @Override + public Identity apply(String s) { + return IDENTITY_VALUE_OF_FUNCTION.apply(s); + } + }))); } return newBuilder() .setBindings(bindings) @@ -103,7 +109,12 @@ protected com.google.iam.v1.Policy toPb(Policy policy) { com.google.iam.v1.Binding.Builder bindingBuilder = com.google.iam.v1.Binding.newBuilder(); bindingBuilder.setRole(binding.getKey().getValue()); bindingBuilder.addAllMembers( - Lists.transform(new ArrayList<>(binding.getValue()), IDENTITY_STR_VALUE_FUNCTION)); + Lists.transform(new ArrayList<>(binding.getValue()), new Function() { + @Override + public String apply(Identity identity) { + return IDENTITY_STR_VALUE_FUNCTION.apply(identity); + } + })); bindingPbList.add(bindingBuilder.build()); } policyBuilder.addAllBindings(bindingPbList); From b9acd524d6bd3d70d5f8477686ed0eccc495bc7f Mon Sep 17 00:00:00 2001 From: Mairbek Khadikov Date: Fri, 21 Apr 2017 11:51:31 -0700 Subject: [PATCH 0350/3036] Make Cloud Spanner Mutations serializable (#1952) --- .../src/main/java/com/google/cloud/Date.java | 5 ++++- .../src/test/java/com/google/cloud/DateTest.java | 6 ++++++ .../src/test/java/com/google/cloud/TimestampTest.java | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java index 9da1bb6631b1..d99c6171b183 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -18,6 +18,8 @@ import com.google.api.core.BetaApi; import com.google.common.base.Preconditions; + +import java.io.Serializable; import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -26,10 +28,11 @@ * Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ @BetaApi -public final class Date implements Comparable { +public final class Date implements Comparable, Serializable { // Date format "yyyy-mm-dd" private static final Pattern FORMAT_REGEXP = Pattern.compile("(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)"); + private static final long serialVersionUID = 8067099123096783929L; private final int year; private final int month; private final int dayOfMonth; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java index 627b1adc10cf..30a872491a78 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -16,6 +16,7 @@ package com.google.cloud; +import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static com.google.common.truth.Truth.assertThat; import com.google.common.testing.EqualsTester; @@ -65,6 +66,11 @@ public void validOrdering() { assertDescending(d5, d4, d3, d2, d1); } + @Test + public void serialization() { + reserializeAndAssert(Date.fromYearMonthDay(2017, 4, 20)); + } + private void assertDescending(Date... dates) { for (int i = 0; i < dates.length - 1; i++) { assertThat(dates[i]).isEquivalentAccordingToCompareTo(dates[i]); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index a805c06bff3d..6aaf048937bc 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -16,6 +16,7 @@ package com.google.cloud; +import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static com.google.common.truth.Truth.assertThat; import com.google.common.testing.EqualsTester; @@ -175,4 +176,9 @@ public void comparable() { assertThat(Timestamp.ofTimeSecondsAndNanos(101, 0)) .isAtLeast(Timestamp.ofTimeSecondsAndNanos(100, 1000)); } + + @Test + public void serialization() throws Exception { + reserializeAndAssert(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999Z")); + } } From 0ae26c84dc2a158e0400526073b8d15e3bbd9368 Mon Sep 17 00:00:00 2001 From: vam Date: Fri, 21 Apr 2017 14:46:17 -0700 Subject: [PATCH 0351/3036] Release 0.14.0; release 1.0.0-rc1 for google-cloud-core, google-cloud-logging, google-cloud-storage, google-cloud-datastore --- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 9270479b668b..18676c4ef871 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 0.13.0-alpha + 1.0.0-rc1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:0.13.0-alpha' +compile 'com.google.cloud:google-cloud-core:1.0.0-rc1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "0.13.0-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc1" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3612233177ab..f3249ea6057e 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 0.13.1-alpha-SNAPSHOT + 1.0.0-rc1 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.13.1-alpha-SNAPSHOT + 0.14.0-alpha google-cloud-core From 307591f3409fe6cf332deec61b968e8740533881 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Fri, 21 Apr 2017 16:11:59 -0700 Subject: [PATCH 0352/3036] Bump version to 0.14.1-SNAPSHOT (#1967) --- java-core/google-cloud-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f3249ea6057e..ff15957f8faf 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc1 + 1.0.1-rc1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.14.0-alpha + 0.14.1-alpha-SNAPSHOT google-cloud-core From f0c51d94b06f470d61c700cdf3d7b26e54b86ef2 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Fri, 21 Apr 2017 17:22:46 -0700 Subject: [PATCH 0353/3036] Bump RC versions to 1.0.0-rc2-SNAPSHOT (#1969) --- java-core/google-cloud-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ff15957f8faf..27860ab674b5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.1-rc1-SNAPSHOT + 1.0.0-rc2-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core From feffad52026b5c7705d230d1927b1ebe537d1c63 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 21 Apr 2017 17:54:51 -0700 Subject: [PATCH 0354/3036] Splitting core into core, core-http, and core-grpc (#1968) --- java-core/google-cloud-core-grpc/pom.xml | 92 ++++++ .../cloud/grpc/BaseGrpcServiceException.java | 75 +++++ .../cloud/grpc}/GrpcTransportOptions.java | 14 +- .../grpc/BaseGrpcServiceExceptionTest.java | 106 +++++++ .../cloud/grpc}/GrpcTransportOptionsTest.java | 7 +- java-core/google-cloud-core-http/pom.xml | 132 ++++++++ .../cloud/http/BaseHttpServiceException.java | 146 +++++++++ .../cloud/http}/HttpTransportOptions.java | 5 +- .../http/BaseHttpServiceExceptionTest.java | 165 ++++++++++ .../cloud/http}/HttpTransportOptionsTest.java | 5 +- java-core/google-cloud-core/pom.xml | 76 +---- .../java/com/google/cloud/AsyncPageImpl.java | 4 +- .../google/cloud/BaseServiceException.java | 297 +++++++++--------- .../main/java/com/google/cloud/PageImpl.java | 2 +- .../java/com/google/cloud/RetryHelper.java | 2 +- .../java/com/google/cloud/ServiceOptions.java | 9 +- .../com/google/cloud/AsyncPageImplTest.java | 2 +- .../cloud/BaseServiceExceptionTest.java | 98 ++---- .../com/google/cloud/BatchResultTest.java | 7 +- .../java/com/google/cloud/PageImplTest.java | 2 +- .../com/google/cloud/SerializationTest.java | 5 +- .../com/google/cloud/ServiceOptionsTest.java | 2 +- 22 files changed, 946 insertions(+), 307 deletions(-) create mode 100644 java-core/google-cloud-core-grpc/pom.xml create mode 100644 java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java rename java-core/{google-cloud-core/src/main/java/com/google/cloud => google-cloud-core-grpc/src/main/java/com/google/cloud/grpc}/GrpcTransportOptions.java (94%) create mode 100644 java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java rename java-core/{google-cloud-core/src/test/java/com/google/cloud => google-cloud-core-grpc/src/test/java/com/google/cloud/grpc}/GrpcTransportOptionsTest.java (92%) create mode 100644 java-core/google-cloud-core-http/pom.xml create mode 100644 java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java rename java-core/{google-cloud-core/src/main/java/com/google/cloud => google-cloud-core-http/src/main/java/com/google/cloud/http}/HttpTransportOptions.java (97%) create mode 100644 java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java rename java-core/{google-cloud-core/src/test/java/com/google/cloud => google-cloud-core-http/src/test/java/com/google/cloud/http}/HttpTransportOptionsTest.java (94%) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml new file mode 100644 index 000000000000..af23786393f2 --- /dev/null +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + google-cloud-core-grpc + 1.0.0-rc2-SNAPSHOT + jar + Google Cloud Core gRPC + https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc + + Core gRPC module for the google-cloud. + + + com.google.cloud + google-cloud-pom + 0.14.1-alpha-SNAPSHOT + + + google-cloud-core-grpc + ${project.version} + + + + com.google.cloud + google-cloud-core + ${core.version} + + + com.google.guava + guava + + + junit + junit + test + + + org.easymock + easymock + 3.4 + test + + + com.google.protobuf + protobuf-java + + + com.google.protobuf + protobuf-java-util + + + io.grpc + grpc-protobuf + ${grpc.version} + + + com.google.api + gax-grpc + + + com.google.truth + truth + 0.30 + test + + + com.google.guava + guava-testlib + 19.0 + test + + + + + + org.codehaus.mojo + properties-maven-plugin + 1.0-alpha-2 + + + generate-resources + + write-project-properties + + + ${project.build.outputDirectory}/com/google/cloud/project.properties + + + + + + + diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java new file mode 100644 index 000000000000..fcefe6a8e951 --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -0,0 +1,75 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.grpc; + +import com.google.api.client.http.HttpResponseException; +import com.google.api.gax.grpc.ApiException; +import com.google.cloud.BaseServiceException; +import com.google.common.base.MoreObjects; +import java.io.IOException; +import java.util.Collections; + +/** + * Base class for all exceptions from grpc-based services. + */ +public class BaseGrpcServiceException extends BaseServiceException { + + private static final long serialVersionUID = -2685197215731335549L; + + public BaseGrpcServiceException(String message, Throwable cause, int code, boolean retryable) { + super(ExceptionData.newBuilder().setMessage(message).setCause(cause).setCode(code) + .setRetryable(retryable).build()); + } + + public BaseGrpcServiceException(IOException exception, boolean idempotent) { + super(makeExceptionData(exception, idempotent)); + } + + private static ExceptionData makeExceptionData(IOException exception, boolean idempotent) { + int code = UNKNOWN_CODE; + Boolean retryable = null; + if (exception instanceof HttpResponseException) { + // In cases where an exception is an instance of HttpResponseException, + // check the status code to determine whether it's retryable + code = ((HttpResponseException) exception).getStatusCode(); + retryable = BaseServiceException + .isRetryable(code, null, idempotent, Collections.emptySet()); + } + return ExceptionData.newBuilder() + .setMessage(exception.getMessage()) + .setCause(exception) + .setRetryable(MoreObjects + .firstNonNull(retryable, BaseServiceException.isRetryable(idempotent, exception))) + .setCode(code) + .setReason(null) + .setLocation(null) + .setDebugInfo(null) + .build(); + } + + public BaseGrpcServiceException(ApiException apiException) { + super(ExceptionData.newBuilder() + .setMessage(apiException.getMessage()) + .setCause(apiException) + .setRetryable(apiException.isRetryable()) + .setCode(apiException.getStatusCode().value()) + .setReason(apiException.getStatusCode().name()) + .setLocation(null) + .setDebugInfo(null) + .build()); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java similarity index 94% rename from java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java rename to java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index 15fb9a7311ce..14df14531766 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -14,18 +14,20 @@ * limitations under the License. */ -package com.google.cloud; +package com.google.cloud.grpc; import static com.google.common.base.MoreObjects.firstNonNull; +import com.google.api.core.InternalApi; import com.google.api.gax.core.FixedCredentialsProvider; -import com.google.api.gax.core.RetrySettings; import com.google.api.gax.grpc.ChannelProvider; import com.google.api.gax.grpc.InstantiatingChannelProvider; import com.google.api.gax.grpc.UnaryCallSettings; +import com.google.api.gax.retrying.RetrySettings; import com.google.auth.Credentials; -import com.google.common.annotations.VisibleForTesting; -import com.google.common.base.Preconditions; +import com.google.cloud.NoCredentials; +import com.google.cloud.ServiceOptions; +import com.google.cloud.TransportOptions; import io.grpc.internal.SharedResourceHolder; import io.grpc.internal.SharedResourceHolder.Resource; import java.io.IOException; @@ -92,8 +94,8 @@ public interface ExecutorFactory { void release(T executor); } - @VisibleForTesting - static class DefaultExecutorFactory implements ExecutorFactory { + @InternalApi + public static class DefaultExecutorFactory implements ExecutorFactory { private static final DefaultExecutorFactory INSTANCE = new DefaultExecutorFactory(); diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java new file mode 100644 index 000000000000..c7ce99bb3920 --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java @@ -0,0 +1,106 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.grpc; + +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.expect; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.api.gax.grpc.ApiException; +import com.google.cloud.BaseServiceException; +import com.google.cloud.RetryHelper; +import io.grpc.Status.Code; +import java.io.IOException; +import java.net.SocketException; +import java.net.SocketTimeoutException; +import org.junit.Test; + +public class BaseGrpcServiceExceptionTest { + + private static final int CODE = 1; + private static final String MESSAGE = "some message"; + private static final boolean NOT_RETRYABLE = false; + private static final boolean IDEMPOTENT = true; + + @Test + public void testBaseServiceException() { + BaseGrpcServiceException serviceException = null; + + IOException exception = new SocketTimeoutException(); + serviceException = new BaseGrpcServiceException(exception, IDEMPOTENT); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + assertNull(serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + + exception = new SocketException(); + serviceException = new BaseGrpcServiceException(exception, IDEMPOTENT); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + assertNull(serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + + exception = new IOException("insufficient data written"); + serviceException = new BaseGrpcServiceException(exception, IDEMPOTENT); + assertTrue(serviceException.isRetryable()); + assertEquals("insufficient data written", serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + assertNull(serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + + Exception cause = new IllegalArgumentException("bad arg"); + ApiException apiException = new ApiException(MESSAGE, cause, Code.INTERNAL, NOT_RETRYABLE); + serviceException = new BaseGrpcServiceException(apiException); + assertFalse(serviceException.isRetryable()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(apiException, serviceException.getCause()); + assertEquals(Code.INTERNAL.value(), serviceException.getCode()); + assertEquals(Code.INTERNAL.name(), serviceException.getReason()); + assertNull(serviceException.getLocation()); + assertNull(serviceException.getDebugInfo()); + } + + @Test + public void testTranslateAndThrow() throws Exception { + IOException exception = new SocketTimeoutException(); + BaseGrpcServiceException cause = new BaseGrpcServiceException(exception, IDEMPOTENT); + RetryHelper.RetryHelperException exceptionMock = + createMock(RetryHelper.RetryHelperException.class); + expect(exceptionMock.getCause()).andReturn(cause).times(2); + replay(exceptionMock); + try { + BaseServiceException.translate(exceptionMock); + } catch (BaseServiceException ex) { + assertEquals(0, ex.getCode()); + assertNull(ex.getMessage()); + assertTrue(ex.isRetryable()); + } finally { + verify(exceptionMock); + } + } + +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java similarity index 92% rename from java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java rename to java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java index 1bcc54af6a91..7aff66b2d643 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/GrpcTransportOptionsTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java @@ -14,16 +14,15 @@ * limitations under the License. */ -package com.google.cloud; +package com.google.cloud.grpc; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; -import com.google.cloud.GrpcTransportOptions.DefaultExecutorFactory; -import com.google.cloud.GrpcTransportOptions.ExecutorFactory; +import com.google.cloud.grpc.GrpcTransportOptions.DefaultExecutorFactory; +import com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory; import java.util.concurrent.ScheduledExecutorService; import org.easymock.EasyMock; import org.junit.Test; diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml new file mode 100644 index 000000000000..a23ea864ef5a --- /dev/null +++ b/java-core/google-cloud-core-http/pom.xml @@ -0,0 +1,132 @@ + + + 4.0.0 + google-cloud-core-http + 1.0.0-rc2-SNAPSHOT + jar + Google Cloud Core HTTP + https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http + + Core http module for the google-cloud. + + + com.google.cloud + google-cloud-pom + 0.14.1-alpha-SNAPSHOT + + + google-cloud-core-http + ${project.version} + + + + com.google.cloud + google-cloud-core + ${core.version} + + + com.google.auth + google-auth-library-credentials + + + com.google.auth + google-auth-library-oauth2-http + + + com.google.guava + guava-jdk5 + + + + + com.google.http-client + google-http-client + compile + + + com.google.oauth-client + google-oauth-client + compile + + + com.google.guava + guava + + + com.google.api-client + google-api-client + compile + + + guava-jdk5 + com.google.guava + + + + + com.google.http-client + google-http-client-appengine + compile + + + guava-jdk5 + com.google.guava + + + + + com.google.http-client + google-http-client-jackson + compile + + + guava-jdk5 + com.google.guava + + + + + junit + junit + test + + + org.easymock + easymock + 3.4 + test + + + com.google.truth + truth + 0.30 + test + + + com.google.guava + guava-testlib + 19.0 + test + + + + + + org.codehaus.mojo + properties-maven-plugin + 1.0-alpha-2 + + + generate-resources + + write-project-properties + + + ${project.build.outputDirectory}/com/google/cloud/project.properties + + + + + + + diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java new file mode 100644 index 000000000000..b1ffa2983815 --- /dev/null +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java @@ -0,0 +1,146 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.http; + +import com.google.api.client.googleapis.json.GoogleJsonError; +import com.google.api.client.googleapis.json.GoogleJsonResponseException; +import com.google.api.client.http.HttpResponseException; +import com.google.cloud.BaseServiceException; +import com.google.common.base.MoreObjects; +import java.io.IOException; +import java.util.Set; + +/** + * Base class for all exceptions from http-based services. + */ +public class BaseHttpServiceException extends BaseServiceException { + + private static final long serialVersionUID = -5793034110344127954L; + public static final int UNKNOWN_CODE = 0; + + public BaseHttpServiceException(IOException exception, boolean idempotent, + Set retryableErrors) { + super(makeExceptionData(exception, idempotent, retryableErrors)); + } + + private static ExceptionData makeExceptionData(IOException exception, boolean idempotent, + Set retryableErrors) { + int code = UNKNOWN_CODE; + String reason = null; + String location = null; + String debugInfo = null; + Boolean retryable = null; + if (exception instanceof HttpResponseException) { + if (exception instanceof GoogleJsonResponseException) { + GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); + if (jsonError != null) { + BaseServiceException.Error error = new BaseServiceException.Error(jsonError.getCode(), + reason(jsonError)); + code = error.getCode(); + reason = error.getReason(); + retryable = error.isRetryable(idempotent, retryableErrors); + if (reason != null) { + GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); + location = errorInfo.getLocation(); + debugInfo = (String) errorInfo.get("debugInfo"); + } + } else { + code = ((GoogleJsonResponseException) exception).getStatusCode(); + } + } else { + // In cases where an exception is an instance of HttpResponseException but not + // an instance of GoogleJsonResponseException, check the status code to determine whether it's retryable + code = ((HttpResponseException) exception).getStatusCode(); + retryable = BaseServiceException.isRetryable(code, null, idempotent, retryableErrors); + } + } + return ExceptionData.newBuilder() + .setMessage(message(exception)) + .setCause(exception) + .setRetryable(MoreObjects + .firstNonNull(retryable, BaseServiceException.isRetryable(idempotent, exception))) + .setCode(code) + .setReason(reason) + .setLocation(location) + .setDebugInfo(debugInfo) + .build(); + } + + public BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, + Set retryableErrors) { + super(makeExceptionData(googleJsonError, idempotent, retryableErrors)); + } + + private static ExceptionData makeExceptionData(GoogleJsonError googleJsonError, boolean idempotent, + Set retryableErrors) { + int code = googleJsonError.getCode(); + String reason = reason(googleJsonError); + + ExceptionData.Builder exceptionData = ExceptionData.newBuilder(); + exceptionData + .setMessage(googleJsonError.getMessage()) + .setCause(null) + .setRetryable(BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors)) + .setCode(code) + .setReason(reason); + if (reason != null) { + GoogleJsonError.ErrorInfo errorInfo = googleJsonError.getErrors().get(0); + exceptionData.setLocation(errorInfo.getLocation()); + exceptionData.setDebugInfo((String) errorInfo.get("debugInfo")); + } else { + exceptionData.setLocation(null); + exceptionData.setDebugInfo(null); + } + return exceptionData.build(); + } + + public BaseHttpServiceException(int code, String message, String reason, boolean idempotent, + Set retryableErrors) { + this(code, message, reason, idempotent, retryableErrors, null); + } + + public BaseHttpServiceException(int code, String message, String reason, boolean idempotent, + Set retryableErrors, Throwable cause) { + super(ExceptionData.newBuilder() + .setMessage(message) + .setCause(cause) + .setRetryable(BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors)) + .setCode(code) + .setReason(reason) + .setLocation(null) + .setDebugInfo(null) + .build()); + } + + private static String reason(GoogleJsonError error) { + if (error.getErrors() != null && !error.getErrors().isEmpty()) { + return error.getErrors().get(0).getReason(); + } + return null; + } + + private static String message(IOException exception) { + if (exception instanceof GoogleJsonResponseException) { + GoogleJsonError details = ((GoogleJsonResponseException) exception).getDetails(); + if (details != null) { + return details.getMessage(); + } + } + return exception.getMessage(); + } + +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java similarity index 97% rename from java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java rename to java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index a2a99a28d910..1a4f25158edf 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud; +package com.google.cloud.http; import static com.google.common.base.MoreObjects.firstNonNull; @@ -27,6 +27,9 @@ import com.google.auth.Credentials; import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.http.HttpTransportFactory; +import com.google.cloud.NoCredentials; +import com.google.cloud.ServiceOptions; +import com.google.cloud.TransportOptions; import java.io.IOException; import java.io.ObjectInputStream; import java.util.Objects; diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java new file mode 100644 index 000000000000..0031f32e36da --- /dev/null +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java @@ -0,0 +1,165 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.http; + +import static com.google.cloud.BaseServiceException.UNKNOWN_CODE; +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.expect; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import com.google.api.client.googleapis.json.GoogleJsonError; +import com.google.cloud.BaseServiceException; +import com.google.cloud.RetryHelper; +import com.google.common.collect.ImmutableSet; +import java.io.IOException; +import java.net.SocketException; +import java.net.SocketTimeoutException; +import java.util.Collections; +import java.util.Set; +import org.junit.Test; + +public class BaseHttpServiceExceptionTest { + + private static final int CODE = 1; + private static final int CODE_NO_REASON = 2; + private static final String MESSAGE = "some message"; + private static final String REASON = "some reason"; + private static final boolean RETRYABLE = true; + private static final boolean IDEMPOTENT = true; + private static final boolean NOT_IDEMPOTENT = false; + private static final Set EMPTY_RETRYABLE_ERRORS = + Collections.emptySet(); + + private static class CustomServiceException extends BaseHttpServiceException { + + private static final long serialVersionUID = -195251309124875103L; + + public CustomServiceException(int code, String message, String reason, boolean idempotent) { + super(code, message, reason, idempotent, RETRYABLE_ERRORS); + } + + private static final Set RETRYABLE_ERRORS = ImmutableSet + .of(new Error(CODE, REASON), new Error(null, REASON), + new Error(CODE_NO_REASON, null)); + } + + @Test + public void testBaseServiceException() { + BaseServiceException serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, + IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertNull(serviceException.getCause()); + + serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, + EMPTY_RETRYABLE_ERRORS); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertNull(serviceException.getCause()); + + Exception cause = new RuntimeException(); + serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, + EMPTY_RETRYABLE_ERRORS, cause); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(cause, serviceException.getCause()); + + serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, NOT_IDEMPOTENT, + EMPTY_RETRYABLE_ERRORS, cause); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertFalse(serviceException.isRetryable()); + assertEquals(cause, serviceException.getCause()); + + IOException exception = new SocketTimeoutException(); + serviceException = new BaseHttpServiceException(exception, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new SocketException(); + serviceException = new BaseHttpServiceException(exception, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertTrue(serviceException.isRetryable()); + assertNull(serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + exception = new IOException("insufficient data written"); + serviceException = new BaseHttpServiceException(exception, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertTrue(serviceException.isRetryable()); + assertEquals("insufficient data written", serviceException.getMessage()); + assertEquals(exception, serviceException.getCause()); + + GoogleJsonError error = new GoogleJsonError(); + error.setCode(CODE); + error.setMessage(MESSAGE); + serviceException = new BaseHttpServiceException(error, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertFalse(serviceException.isRetryable()); + + serviceException = new CustomServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + + serviceException = new CustomServiceException(CODE_NO_REASON, MESSAGE, null, IDEMPOTENT); + assertEquals(CODE_NO_REASON, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertNull(serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + + serviceException = new CustomServiceException(UNKNOWN_CODE, MESSAGE, REASON, IDEMPOTENT); + assertEquals(UNKNOWN_CODE, serviceException.getCode()); + assertEquals(MESSAGE, serviceException.getMessage()); + assertEquals(REASON, serviceException.getReason()); + assertEquals(RETRYABLE, serviceException.isRetryable()); + } + + @Test + public void testTranslateAndThrow() throws Exception { + BaseServiceException cause = + new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + RetryHelper.RetryHelperException exceptionMock = + createMock(RetryHelper.RetryHelperException.class); + expect(exceptionMock.getCause()).andReturn(cause).times(2); + replay(exceptionMock); + try { + BaseServiceException.translate(exceptionMock); + } catch (BaseServiceException ex) { + assertEquals(CODE, ex.getCode()); + assertEquals(MESSAGE, ex.getMessage()); + assertFalse(ex.isRetryable()); + } finally { + verify(exceptionMock); + } + } + + +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java similarity index 94% rename from java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java rename to java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java index 4d828ea6e729..4240aa9172a0 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/HttpTransportOptionsTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.google.cloud; +package com.google.cloud.http; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; @@ -22,7 +22,8 @@ import static org.junit.Assert.assertTrue; import com.google.auth.http.HttpTransportFactory; -import com.google.cloud.HttpTransportOptions.DefaultHttpTransportFactory; +import com.google.cloud.ServiceOptions; +import com.google.cloud.http.HttpTransportOptions.DefaultHttpTransportFactory; import java.util.regex.Pattern; import org.easymock.EasyMock; import org.junit.Test; diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 27860ab674b5..c17f4b0ff1a2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -19,67 +19,10 @@ ${project.version} - - com.google.auth - google-auth-library-credentials - - - com.google.auth - google-auth-library-oauth2-http - - - com.google.guava - guava-jdk5 - - - - - com.google.http-client - google-http-client - compile - - - com.google.oauth-client - google-oauth-client - compile - com.google.guava guava - - com.google.api-client - google-api-client - compile - - - guava-jdk5 - com.google.guava - - - - - com.google.http-client - google-http-client-appengine - compile - - - guava-jdk5 - com.google.guava - - - - - com.google.http-client - google-http-client-jackson - compile - - - guava-jdk5 - com.google.guava - - - junit junit @@ -103,28 +46,15 @@ test - com.google.protobuf - protobuf-java - - - com.google.protobuf - protobuf-java-util - - - io.grpc - grpc-protobuf - ${grpc.version} + com.google.api + api-common + ${api-common.version} com.google.api gax ${gax.version} - - com.google.api - api-common - ${api-common.version} - com.google.api.grpc grpc-google-common-protos diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index f72783cf87b9..8048b9e18f88 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -19,8 +19,8 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.InternalApi; -import com.google.api.gax.core.AsyncPage; -import com.google.api.gax.core.Page; +import com.google.api.gax.paging.AsyncPage; +import com.google.api.gax.paging.Page; import com.google.common.base.Throwables; import com.google.common.util.concurrent.Uninterruptibles; import java.io.Serializable; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 0e2c6156c106..f7ded9900b6f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -16,18 +16,13 @@ package com.google.cloud; -import com.google.api.client.googleapis.json.GoogleJsonError; -import com.google.api.client.googleapis.json.GoogleJsonResponseException; -import com.google.api.client.http.HttpResponseException; -import com.google.api.gax.grpc.ApiException; +import com.google.api.core.InternalApi; import com.google.common.base.MoreObjects; - import java.io.IOException; import java.io.Serializable; import java.net.SocketException; import java.net.SocketTimeoutException; import java.security.cert.CertificateException; -import java.util.Collections; import java.util.Objects; import java.util.Set; import javax.net.ssl.SSLHandshakeException; @@ -43,11 +38,131 @@ public class BaseServiceException extends RuntimeException { private final int code; private final boolean retryable; private final String reason; - private final boolean idempotent; private final String location; private final String debugInfo; - protected static final class Error implements Serializable { + @InternalApi + public static final class ExceptionData implements Serializable { + private static final long serialVersionUID = 2222230861338426753L; + + private final String message; + private final Throwable cause; + private final int code; + private final boolean retryable; + private final String reason; + private final String location; + private final String debugInfo; + + private ExceptionData(String message, Throwable cause, int code, boolean retryable, + String reason, String location, String debugInfo) { + this.message = message; + this.cause = cause; + this.code = code; + this.retryable = retryable; + this.reason = reason; + this.location = location; + this.debugInfo = debugInfo; + } + + public String getMessage() { + return message; + } + + public Throwable getCause() { + return cause; + } + + public int getCode() { + return code; + } + + public boolean isRetryable() { + return retryable; + } + + public String getReason() { + return reason; + } + + public String getLocation() { + return location; + } + + public String getDebugInfo() { + return debugInfo; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public static ExceptionData from(int code, String message, String reason, boolean retryable) { + return from(code, message, reason, retryable, null); + } + + public static ExceptionData from(int code, String message, String reason, boolean retryable, + Throwable cause) { + return newBuilder().setCode(code).setMessage(message).setReason(reason) + .setRetryable(retryable).setCause(cause).build(); + } + + @InternalApi + public static final class Builder { + + private String message; + private Throwable cause; + private int code; + private boolean retryable; + private String reason; + private String location; + private String debugInfo; + + private Builder() {} + + public Builder setMessage(String message) { + this.message = message; + return this; + } + + public Builder setCause(Throwable cause) { + this.cause = cause; + return this; + } + + public Builder setCode(int code) { + this.code = code; + return this; + } + + public Builder setRetryable(boolean retryable) { + this.retryable = retryable; + return this; + } + + public Builder setReason(String reason) { + this.reason = reason; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setDebugInfo(String debugInfo) { + this.debugInfo = debugInfo; + return this; + } + + public ExceptionData build() { + return new ExceptionData(message, cause, code, retryable, reason, location, + debugInfo); + } + } + } + + @InternalApi + public static final class Error implements Serializable { private static final long serialVersionUID = -4019600198652965721L; @@ -91,15 +206,9 @@ public String getReason() { return reason; } - boolean isRetryable(boolean idempotent, Set retryableErrors) { - for (Error retryableError : retryableErrors) { - if ((retryableError.getCode() == null || retryableError.getCode().equals(this.getCode())) - && (retryableError.getReason() == null - || retryableError.getReason().equals(this.getReason()))) { - return idempotent || retryableError.isRejected(); - } - } - return false; + @InternalApi + public boolean isRetryable(boolean idempotent, Set retryableErrors) { + return BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors); } @Override @@ -113,104 +222,45 @@ public int hashCode() { } } - public BaseServiceException(IOException exception, boolean idempotent) { - super(message(exception), exception); - int code = UNKNOWN_CODE; - String reason = null; - String location = null; - String debugInfo = null; - Boolean retryable = null; - if (exception instanceof HttpResponseException) { - if (exception instanceof GoogleJsonResponseException) { - GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); - if (jsonError != null) { - Error error = new Error(jsonError.getCode(), reason(jsonError)); - code = error.code; - reason = error.reason; - retryable = isRetryable(idempotent, error); - if (reason != null) { - GoogleJsonError.ErrorInfo errorInfo = jsonError.getErrors().get(0); - location = errorInfo.getLocation(); - debugInfo = (String) errorInfo.get("debugInfo"); - } - } else { - code = ((GoogleJsonResponseException) exception).getStatusCode(); - } - } else { - // In cases where an exception is an instance of HttpResponseException but not - // an instance of GoogleJsonResponseException, check the status code to determine whether it's retryable - code = ((HttpResponseException) exception).getStatusCode(); - retryable = isRetryable(idempotent, new Error(code, null)); - } - } - this.retryable = MoreObjects.firstNonNull(retryable, isRetryable(idempotent, exception)); - this.code = code; - this.reason = reason; - this.idempotent = idempotent; - this.location = location; - this.debugInfo = debugInfo; - } - public BaseServiceException(GoogleJsonError googleJsonError, boolean idempotent) { - super(googleJsonError.getMessage()); - Error error = new Error(googleJsonError.getCode(), reason(googleJsonError)); - this.code = error.code; - this.reason = error.reason; - this.retryable = isRetryable(idempotent, error); - if (this.reason != null) { - GoogleJsonError.ErrorInfo errorInfo = googleJsonError.getErrors().get(0); - this.location = errorInfo.getLocation(); - this.debugInfo = (String) errorInfo.get("debugInfo"); - } else { - this.location = null; - this.debugInfo = null; + @InternalApi + public static boolean isRetryable(Integer code, String reason, boolean idempotent, + Set retryableErrors) { + for (Error retryableError : retryableErrors) { + if ((retryableError.getCode() == null || retryableError.getCode().equals(code)) + && (retryableError.getReason() == null + || retryableError.getReason().equals(reason))) { + return idempotent || retryableError.isRejected(); + } } - this.idempotent = idempotent; + return false; } - public BaseServiceException(int code, String message, String reason, boolean idempotent) { - this(code, message, reason, idempotent, null); - } - - public BaseServiceException(int code, String message, String reason, boolean idempotent, - Throwable cause) { - super(message, cause); - this.code = code; - this.reason = reason; - this.idempotent = idempotent; - this.retryable = isRetryable(idempotent, new Error(code, reason)); - this.location = null; - this.debugInfo = null; - } - - public BaseServiceException(ApiException apiException, boolean idempotent) { - super(apiException.getMessage(), apiException); - this.code = apiException.getStatusCode().value(); - this.reason = apiException.getStatusCode().name(); - this.idempotent = idempotent; - this.retryable = apiException.isRetryable(); - this.location = null; - this.debugInfo = null; - } - - - protected Set getRetryableErrors() { - return Collections.emptySet(); - } - - protected boolean isRetryable(boolean idempotent, Error error) { - return error.isRetryable(idempotent, getRetryableErrors()); - } - - protected boolean isRetryable(boolean idempotent, IOException exception) { + @InternalApi + public static boolean isRetryable(boolean idempotent, IOException exception) { boolean exceptionIsRetryable = exception instanceof SocketTimeoutException || exception instanceof SocketException || (exception instanceof SSLHandshakeException - && !(exception.getCause() instanceof CertificateException)) + && !(exception.getCause() instanceof CertificateException)) || "insufficient data written".equals(exception.getMessage()); return idempotent && exceptionIsRetryable; } + @InternalApi + public static void translate(RetryHelper.RetryHelperException ex) { + if (ex.getCause() instanceof BaseServiceException) { + throw (BaseServiceException) ex.getCause(); + } + } + + public BaseServiceException(ExceptionData exceptionData) { + super(exceptionData.getMessage(), exceptionData.getCause()); + this.code = exceptionData.getCode(); + this.reason = exceptionData.getReason(); + this.retryable = exceptionData.isRetryable(); + this.location = exceptionData.getLocation(); + this.debugInfo = exceptionData.getDebugInfo(); + } /** * Returns the code associated with this exception. @@ -236,14 +286,6 @@ public boolean isRetryable() { } - /** - * Returns {@code true} when the operation that caused this exception had no side effects. - */ - public boolean isIdempotent() { - return idempotent; - } - - /** * Returns the service location where the error causing the exception occurred. Returns {@code * null} if not available. @@ -252,8 +294,8 @@ public String getLocation() { return location; } - - protected String getDebugInfo() { + @InternalApi + public String getDebugInfo() { return debugInfo; } @@ -271,37 +313,12 @@ public boolean equals(Object obj) { && code == other.code && retryable == other.retryable && Objects.equals(reason, other.reason) - && idempotent == other.idempotent && Objects.equals(location, other.location) && Objects.equals(debugInfo, other.debugInfo); } @Override public int hashCode() { - return Objects.hash(getCause(), getMessage(), code, retryable, reason, idempotent, location, - debugInfo); - } - - private static String reason(GoogleJsonError error) { - if (error.getErrors() != null && !error.getErrors().isEmpty()) { - return error.getErrors().get(0).getReason(); - } - return null; - } - - private static String message(IOException exception) { - if (exception instanceof GoogleJsonResponseException) { - GoogleJsonError details = ((GoogleJsonResponseException) exception).getDetails(); - if (details != null) { - return details.getMessage(); - } - } - return exception.getMessage(); - } - - protected static void translate(RetryHelper.RetryHelperException ex) { - if (ex.getCause() instanceof BaseServiceException) { - throw (BaseServiceException) ex.getCause(); - } + return Objects.hash(getCause(), getMessage(), code, retryable, reason, location, debugInfo); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index e49e1e75a615..b7309aab5dd2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -17,7 +17,7 @@ package com.google.cloud; import com.google.api.core.InternalApi; -import com.google.api.gax.core.Page; +import com.google.api.gax.paging.Page; import com.google.common.collect.AbstractIterator; import com.google.common.collect.ImmutableMap; import java.io.Serializable; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index 7ee7fb358329..2e9434a0d21d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -17,7 +17,7 @@ package com.google.cloud; import com.google.api.core.ApiClock; -import com.google.api.gax.core.RetrySettings; +import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.retrying.DirectRetryingExecutor; import com.google.api.gax.retrying.ExponentialRetryAlgorithm; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 0db8f08c4d76..0e20848962f9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -23,8 +23,9 @@ import com.google.api.core.ApiClock; import com.google.api.core.CurrentMillisClock; +import com.google.api.core.InternalApi; import com.google.api.gax.core.PropertiesProvider; -import com.google.api.gax.core.RetrySettings; +import com.google.api.gax.retrying.RetrySettings; import com.google.auth.Credentials; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; @@ -558,7 +559,8 @@ private void readObject(ObjectInputStream input) throws IOException, ClassNotFou } @SuppressWarnings("unchecked") - static T newInstance(String className) throws IOException, ClassNotFoundException { + @InternalApi + public static T newInstance(String className) throws IOException, ClassNotFoundException { try { return (T) Class.forName(className).newInstance(); } catch (InstantiationException | IllegalAccessException e) { @@ -599,7 +601,8 @@ protected RetrySettings defaultRetrySettings() { return getDefaultRetrySettings(); } - static T getFromServiceLoader(Class clazz, T defaultInstance) { + @InternalApi + public static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index 021a694a733e..50f19725c897 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -20,7 +20,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.gax.core.AsyncPage; +import com.google.api.gax.paging.AsyncPage; import com.google.common.collect.ImmutableList; import org.junit.Test; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 7992f9e803d5..80476fdb0345 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -26,15 +26,10 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; -import com.google.api.client.googleapis.json.GoogleJsonError; +import com.google.cloud.BaseServiceException.ExceptionData; import com.google.common.collect.ImmutableSet; - -import org.junit.Test; - -import java.io.IOException; -import java.net.SocketException; -import java.net.SocketTimeoutException; import java.util.Set; +import org.junit.Test; /** * Tests for {@link BaseServiceException}. @@ -45,114 +40,84 @@ public class BaseServiceExceptionTest { private static final int CODE_NO_REASON = 2; private static final String MESSAGE = "some message"; private static final String REASON = "some reason"; + private static final boolean NOT_RETRYABLE = false; private static final boolean RETRYABLE = true; private static final boolean IDEMPOTENT = true; + private static final String DEBUG_INFO = "debugInfo"; + private static final String LOCATION = "location"; + private static class CustomServiceException extends BaseServiceException { private static final long serialVersionUID = -195251309124875103L; public CustomServiceException(int code, String message, String reason, boolean idempotent) { - super(code, message, reason, idempotent); + super(ExceptionData.from(code, message, reason, + BaseServiceException.isRetryable(code, reason, idempotent, RETRYABLE_ERRORS))); } - @Override - protected Set getRetryableErrors() { - return ImmutableSet.of(new Error(CODE, REASON), new Error(null, REASON), - new Error(CODE_NO_REASON, null)); - } + private static final Set RETRYABLE_ERRORS = ImmutableSet + .of(new Error(CODE, REASON), + new Error(null, REASON), + new Error(CODE_NO_REASON, null)); } @Test public void testBaseServiceException() { - BaseServiceException serviceException = new BaseServiceException(CODE, MESSAGE, REASON, - IDEMPOTENT); + BaseServiceException serviceException = + new BaseServiceException(ExceptionData.from(CODE, MESSAGE, REASON, NOT_RETRYABLE)); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); assertFalse(serviceException.isRetryable()); - assertEquals(IDEMPOTENT, serviceException.isIdempotent()); - assertNull(serviceException.getCause()); - - serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); - assertEquals(CODE, serviceException.getCode()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertEquals(REASON, serviceException.getReason()); - assertFalse(serviceException.isRetryable()); - assertEquals(IDEMPOTENT, serviceException.isIdempotent()); assertNull(serviceException.getCause()); Exception cause = new RuntimeException(); - serviceException = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, cause); + serviceException = + new BaseServiceException(ExceptionData.from(CODE, MESSAGE, REASON, NOT_RETRYABLE, cause)); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); assertFalse(serviceException.isRetryable()); - assertEquals(IDEMPOTENT, serviceException.isIdempotent()); assertEquals(cause, serviceException.getCause()); - serviceException = new BaseServiceException(CODE, MESSAGE, REASON, false, cause); + serviceException = + new BaseServiceException( + ExceptionData.newBuilder() + .setMessage(MESSAGE).setCause(cause).setCode(CODE) + .setReason(REASON).setRetryable(RETRYABLE).setDebugInfo(DEBUG_INFO) + .setLocation(LOCATION) + .build()); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); - assertFalse(serviceException.isRetryable()); - assertFalse(serviceException.isIdempotent()); - assertEquals(cause, serviceException.getCause()); - - IOException exception = new SocketTimeoutException(); - serviceException = new BaseServiceException(exception, true); - assertTrue(serviceException.isRetryable()); - assertTrue(serviceException.isIdempotent()); - assertNull(serviceException.getMessage()); - assertEquals(exception, serviceException.getCause()); - - exception = new SocketException(); - serviceException = new BaseServiceException(exception, true); assertTrue(serviceException.isRetryable()); - assertTrue(serviceException.isIdempotent()); - assertNull(serviceException.getMessage()); - assertEquals(exception, serviceException.getCause()); - - exception = new IOException("insufficient data written"); - serviceException = new BaseServiceException(exception, true); - assertTrue(serviceException.isRetryable()); - assertTrue(serviceException.isIdempotent()); - assertEquals("insufficient data written", serviceException.getMessage()); - assertEquals(exception, serviceException.getCause()); - - GoogleJsonError error = new GoogleJsonError(); - error.setCode(CODE); - error.setMessage(MESSAGE); - serviceException = new BaseServiceException(error, true); - assertEquals(CODE, serviceException.getCode()); - assertEquals(MESSAGE, serviceException.getMessage()); - assertFalse(serviceException.isRetryable()); - assertTrue(serviceException.isIdempotent()); + assertEquals(cause, serviceException.getCause()); + assertEquals(DEBUG_INFO, serviceException.getDebugInfo()); + assertEquals(LOCATION, serviceException.getLocation()); serviceException = new CustomServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); - assertEquals(RETRYABLE, serviceException.isRetryable()); - assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + assertTrue(serviceException.isRetryable()); serviceException = new CustomServiceException(CODE_NO_REASON, MESSAGE, null, IDEMPOTENT); assertEquals(CODE_NO_REASON, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertNull(serviceException.getReason()); - assertEquals(RETRYABLE, serviceException.isRetryable()); - assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + assertTrue(serviceException.isRetryable()); serviceException = new CustomServiceException(UNKNOWN_CODE, MESSAGE, REASON, IDEMPOTENT); assertEquals(UNKNOWN_CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); - assertEquals(RETRYABLE, serviceException.isRetryable()); - assertEquals(IDEMPOTENT, serviceException.isIdempotent()); + assertTrue(serviceException.isRetryable()); } @Test public void testTranslateAndThrow() throws Exception { - BaseServiceException cause = new BaseServiceException(CODE, MESSAGE, REASON, IDEMPOTENT); + BaseServiceException cause = + new BaseServiceException(ExceptionData.from(CODE, MESSAGE, REASON, NOT_RETRYABLE)); RetryHelper.RetryHelperException exceptionMock = createMock(RetryHelper.RetryHelperException.class); expect(exceptionMock.getCause()).andReturn(cause).times(2); @@ -163,7 +128,6 @@ public void testTranslateAndThrow() throws Exception { assertEquals(CODE, ex.getCode()); assertEquals(MESSAGE, ex.getMessage()); assertFalse(ex.isRetryable()); - assertEquals(IDEMPOTENT, ex.isIdempotent()); } finally { verify(exceptionMock); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java index 8fb26bc8ce36..3ce49a8e6fff 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java @@ -21,6 +21,7 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import com.google.cloud.BaseServiceException.ExceptionData; import org.easymock.EasyMock; import org.junit.Before; import org.junit.Test; @@ -64,7 +65,8 @@ public void testError() { } catch (NullPointerException exc) { // expected } - BaseServiceException ex = new BaseServiceException(0, "message", "reason", false); + BaseServiceException ex = + new BaseServiceException(ExceptionData.from(0, "message", "reason", false)); result.error(ex); try { result.get(); @@ -76,7 +78,8 @@ public void testError() { @Test public void testNotifyError() { - final BaseServiceException ex = new BaseServiceException(0, "message", "reason", false); + final BaseServiceException ex = + new BaseServiceException(ExceptionData.from(0, "message", "reason", false)); assertFalse(result.completed()); BatchResult.Callback callback = EasyMock.createStrictMock(BatchResult.Callback.class); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index a5ffadf4d6eb..2193981ae8ea 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -18,7 +18,7 @@ import static org.junit.Assert.assertEquals; -import com.google.api.gax.core.Page; +import com.google.api.gax.paging.Page; import com.google.common.collect.ImmutableList; import org.junit.Test; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 11bdae8b2807..11f2dc1eebcb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -16,7 +16,8 @@ package com.google.cloud; -import com.google.api.gax.core.RetrySettings; +import com.google.api.gax.retrying.RetrySettings; +import com.google.cloud.BaseServiceException.ExceptionData; import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; import com.google.common.collect.ImmutableList; @@ -28,7 +29,7 @@ public class SerializationTest extends BaseSerializationTest { private static final BaseServiceException BASE_SERVICE_EXCEPTION = - new BaseServiceException(42, "message", "reason", true); + new BaseServiceException(ExceptionData.from(42, "message", "reason", false)); private static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.getDefaultInstance(); private static final Identity IDENTITY = Identity.allAuthenticatedUsers(); private static final PageImpl PAGE = diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index e7f3a451580e..7abfc8a49baa 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -186,7 +186,7 @@ public TestServiceRpcFactory getDefaultRpcFactory() { @Override public TransportOptions getDefaultTransportOptions() { - return HttpTransportOptions.newBuilder().build(); + return new TransportOptions() {}; } } From 67db91bd243b7aeb200b6ba8594f9a5c5ba0d130 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 21 Apr 2017 18:50:54 -0700 Subject: [PATCH 0355/3036] Bumping to 1.0.0-rc2, 0.15.0-beta, 0.15.0-alpha for release (#1971) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index af23786393f2..32f5f490d802 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0-rc2-SNAPSHOT + 1.0.0-rc2 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.14.1-alpha-SNAPSHOT + 0.15.0-alpha 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 a23ea864ef5a..15eb78b1f70f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0-rc2-SNAPSHOT + 1.0.0-rc2 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.14.1-alpha-SNAPSHOT + 0.15.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 18676c4ef871..2538c4a09e84 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.0.0-rc1 + 1.0.0-rc2 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.0.0-rc1' +compile 'com.google.cloud:google-cloud-core:1.0.0-rc2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc2" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c17f4b0ff1a2..b51e889f5b83 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc2-SNAPSHOT + 1.0.0-rc2 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.14.1-alpha-SNAPSHOT + 0.15.0-alpha google-cloud-core From 9f324ff60a640ad580f4802453f4a639b98cb048 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 24 Apr 2017 09:08:02 -0700 Subject: [PATCH 0356/3036] fix credentials NPE bug (#1961) * fix credentials NPE bug #1565 * use object reference equality for Singleton object * implement equals() method for NoCredentials class --- .../src/main/java/com/google/cloud/NoCredentials.java | 9 ++++++++- .../src/main/java/com/google/cloud/ServiceOptions.java | 4 ---- .../test/java/com/google/cloud/ServiceOptionsTest.java | 4 ++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java index 3f5cfbdbfc02..3172609e259b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java @@ -17,7 +17,6 @@ package com.google.cloud; import com.google.auth.oauth2.OAuth2Credentials; - import java.io.ObjectStreamException; /** @@ -38,4 +37,12 @@ private Object readResolve() throws ObjectStreamException { public static NoCredentials getInstance() { return INSTANCE; } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof NoCredentials)) { + return false; + } + return this == obj; + } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 0e20848962f9..01c23cd09c36 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -19,7 +19,6 @@ import static com.google.common.base.MoreObjects.firstNonNull; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; -import static java.nio.charset.StandardCharsets.UTF_8; import com.google.api.core.ApiClock; import com.google.api.core.CurrentMillisClock; @@ -38,12 +37,9 @@ import java.io.FileReader; import java.io.IOException; import java.io.InputStream; -import java.io.InputStreamReader; import java.io.ObjectInputStream; import java.io.Serializable; import java.lang.reflect.Method; -import java.net.HttpURLConnection; -import java.net.URL; import java.nio.charset.Charset; import java.util.Locale; import java.util.Objects; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 7abfc8a49baa..3238a30c8cb4 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -16,6 +16,7 @@ package com.google.cloud; +import static junit.framework.TestCase.assertFalse; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertSame; @@ -231,6 +232,9 @@ public void testBuilder() { @Test public void testBuilderNoCredentials() { assertEquals(NoCredentials.getInstance(), OPTIONS_NO_CREDENTIALS.getCredentials()); + assertTrue(NoCredentials.getInstance().equals(OPTIONS_NO_CREDENTIALS.getCredentials())); + assertFalse(NoCredentials.getInstance().equals(OPTIONS.getCredentials())); + assertFalse(NoCredentials.getInstance().equals(null)); assertSame(TEST_CLOCK, OPTIONS_NO_CREDENTIALS.getClock()); assertEquals("host", OPTIONS_NO_CREDENTIALS.getHost()); assertEquals("project-id", OPTIONS_NO_CREDENTIALS.getProjectId()); From 68613f3c104880ea9352ce094730e1368c1c972e Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 24 Apr 2017 09:34:57 -0700 Subject: [PATCH 0357/3036] Bumping to 1.0.0-rc3-SNAPSHOT, 0.15.1-beta-SNAPSHOT, 0.15.1-alpha-SNAPSHOT (#1977) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 32f5f490d802..83b207cdabc8 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0-rc2 + 1.0.0-rc3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.15.0-alpha + 0.15.1-alpha-SNAPSHOT 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 15eb78b1f70f..d6d6efcf1a32 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0-rc2 + 1.0.0-rc3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.15.0-alpha + 0.15.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b51e889f5b83..f8122a3cd3b7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc2 + 1.0.0-rc3-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.15.0-alpha + 0.15.1-alpha-SNAPSHOT google-cloud-core From 24944e6b3ef382c9534fa4076919d5e36f52df28 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 24 Apr 2017 15:49:12 -0700 Subject: [PATCH 0358/3036] Reducing visibility of some things, adding @InternalApi (#1979) --- .../google/cloud/grpc/BaseGrpcServiceException.java | 7 +++++-- .../google/cloud/http/BaseHttpServiceException.java | 13 +++++++++---- .../com/google/cloud/http/HttpTransportOptions.java | 3 ++- java-core/google-cloud-core/pom.xml | 1 - .../src/main/java/com/google/cloud/BaseService.java | 2 ++ .../java/com/google/cloud/BaseServiceException.java | 3 ++- .../java/com/google/cloud/BaseWriteChannel.java | 4 ++++ .../src/main/java/com/google/cloud/BatchResult.java | 5 +++++ .../src/main/java/com/google/cloud/ByteArray.java | 11 +---------- .../src/main/java/com/google/cloud/Date.java | 2 +- .../java/com/google/cloud/ExceptionHandler.java | 4 +++- .../src/main/java/com/google/cloud/Policy.java | 7 +++++++ .../src/main/java/com/google/cloud/RetryHelper.java | 2 ++ .../main/java/com/google/cloud/ServiceOptions.java | 3 +++ .../main/java/com/google/cloud/StringEnumValue.java | 2 +- .../google/cloud/testing/BaseEmulatorHelper.java | 1 + 16 files changed, 48 insertions(+), 22 deletions(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java index fcefe6a8e951..77473e208914 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -17,6 +17,7 @@ package com.google.cloud.grpc; import com.google.api.client.http.HttpResponseException; +import com.google.api.core.InternalApi; import com.google.api.gax.grpc.ApiException; import com.google.cloud.BaseServiceException; import com.google.common.base.MoreObjects; @@ -30,12 +31,14 @@ public class BaseGrpcServiceException extends BaseServiceException { private static final long serialVersionUID = -2685197215731335549L; - public BaseGrpcServiceException(String message, Throwable cause, int code, boolean retryable) { + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseGrpcServiceException(String message, Throwable cause, int code, boolean retryable) { super(ExceptionData.newBuilder().setMessage(message).setCause(cause).setCode(code) .setRetryable(retryable).build()); } - public BaseGrpcServiceException(IOException exception, boolean idempotent) { + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseGrpcServiceException(IOException exception, boolean idempotent) { super(makeExceptionData(exception, idempotent)); } diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java index b1ffa2983815..ca979c6a7ec9 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java @@ -19,6 +19,7 @@ import com.google.api.client.googleapis.json.GoogleJsonError; import com.google.api.client.googleapis.json.GoogleJsonResponseException; import com.google.api.client.http.HttpResponseException; +import com.google.api.core.InternalApi; import com.google.cloud.BaseServiceException; import com.google.common.base.MoreObjects; import java.io.IOException; @@ -32,7 +33,8 @@ public class BaseHttpServiceException extends BaseServiceException { private static final long serialVersionUID = -5793034110344127954L; public static final int UNKNOWN_CODE = 0; - public BaseHttpServiceException(IOException exception, boolean idempotent, + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException(IOException exception, boolean idempotent, Set retryableErrors) { super(makeExceptionData(exception, idempotent, retryableErrors)); } @@ -80,7 +82,8 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id .build(); } - public BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, Set retryableErrors) { super(makeExceptionData(googleJsonError, idempotent, retryableErrors)); } @@ -108,12 +111,14 @@ private static ExceptionData makeExceptionData(GoogleJsonError googleJsonError, return exceptionData.build(); } - public BaseHttpServiceException(int code, String message, String reason, boolean idempotent, + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException(int code, String message, String reason, boolean idempotent, Set retryableErrors) { this(code, message, reason, idempotent, retryableErrors, null); } - public BaseHttpServiceException(int code, String message, String reason, boolean idempotent, + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseHttpServiceException(int code, String message, String reason, boolean idempotent, Set retryableErrors, Throwable cause) { super(ExceptionData.newBuilder() .setMessage(message) diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 1a4f25158edf..b45874e71bbb 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -24,6 +24,7 @@ import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.api.core.InternalApi; import com.google.auth.Credentials; import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.http.HttpTransportFactory; @@ -122,7 +123,7 @@ public Builder setReadTimeout(int readTimeout) { } } - protected HttpTransportOptions(Builder builder) { + private HttpTransportOptions(Builder builder) { httpTransportFactory = firstNonNull(builder.httpTransportFactory, ServiceOptions.getFromServiceLoader(HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f8122a3cd3b7..5728cfded794 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -48,7 +48,6 @@ com.google.api api-common - ${api-common.version} com.google.api diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index a907bed1321b..de05bfb22b78 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.api.core.InternalApi; import com.google.cloud.ExceptionHandler.Interceptor; /** @@ -51,6 +52,7 @@ public RetryResult beforeEval(Exception exception) { private final OptionsT options; + @InternalApi("This class should only be extended within google-cloud-java") protected BaseService(OptionsT options) { this.options = options; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index f7ded9900b6f..d9608991d0a2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -253,7 +253,8 @@ public static void translate(RetryHelper.RetryHelperException ex) { } } - public BaseServiceException(ExceptionData exceptionData) { + @InternalApi("This class should only be extended within google-cloud-java") + protected BaseServiceException(ExceptionData exceptionData) { super(exceptionData.getMessage(), exceptionData.getCause()); this.code = exceptionData.getCode(); this.reason = exceptionData.getReason(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index fd8f02d19589..b5f6394a2f4c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -16,6 +16,7 @@ package com.google.cloud; +import com.google.api.core.InternalApi; import java.io.IOException; import java.io.Serializable; import java.nio.ByteBuffer; @@ -107,6 +108,7 @@ public final void setChunkSize(int chunkSize) { this.chunkSize = Math.max(getMinChunkSize(), chunkSize); } + @InternalApi("This class should only be extended within google-cloud-java") protected BaseWriteChannel(ServiceOptionsT options, EntityT entity, String uploadId) { this.options = options; this.entity = entity; @@ -209,6 +211,7 @@ protected abstract static class BaseState< protected final boolean isOpen; protected final int chunkSize; + @InternalApi("This class should only be extended within google-cloud-java") protected BaseState(Builder builder) { this.serviceOptions = builder.serviceOptions; this.entity = builder.entity; @@ -238,6 +241,7 @@ public abstract static class Builder< private boolean isOpen; private int chunkSize; + @InternalApi("This class should only be extended within google-cloud-java") protected Builder(ServiceOptionsT options, EntityT entity, String uploadId) { this.serviceOptions = options; this.entity = entity; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java index fb78409ea31e..93f745efc8c2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java @@ -19,6 +19,7 @@ import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; +import com.google.api.core.InternalApi; import java.util.LinkedList; import java.util.List; @@ -36,6 +37,10 @@ public abstract class BatchResult { private E error; private final List> toBeNotified = new LinkedList<>(); + @InternalApi("This class should only be extended within google-cloud-java") + protected BatchResult() { + } + /** * Returns {@code true} if the batch has been completed and the result is available; {@code false} * otherwise. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 449e827c4116..37c2e7918836 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -40,14 +40,10 @@ public class ByteArray implements Iterable, Serializable { private final ByteString byteString; - protected ByteArray(ByteString byteString) { + ByteArray(ByteString byteString) { this.byteString = byteString; } - protected ByteArray(ByteArray byteArray) { - this.byteString = byteArray.getByteString(); - } - @Override public final Iterator iterator() { return byteString.iterator(); @@ -117,11 +113,6 @@ public final InputStream asInputStream() { return byteString.newInput(); } - - protected ByteString getByteString() { - return byteString; - } - /** * Copies the content of this {@code ByteArray} into an existing {@code ByteBuffer}. * diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java index d99c6171b183..8f43be831e15 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -27,7 +27,7 @@ /** * Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ -@BetaApi +@BetaApi("This is going to be replaced with LocalDate from threetenbp") public final class Date implements Comparable, Serializable { // Date format "yyyy-mm-dd" diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index 81703b561285..e412ddfdd00c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -18,6 +18,7 @@ import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.core.BetaApi; import com.google.api.gax.retrying.ExceptionRetryAlgorithm; import com.google.api.gax.retrying.TimedAttemptSettings; import com.google.common.annotations.VisibleForTesting; @@ -35,6 +36,7 @@ /** * Exception retry algorithm implementation used by {@link RetryHelper}. */ +@BetaApi public final class ExceptionHandler implements ExceptionRetryAlgorithm, Serializable { private static final long serialVersionUID = -2460707015779532919L; @@ -263,7 +265,7 @@ public boolean accept(Throwable prevThrowable) { @Override public TimedAttemptSettings createNextAttempt(Throwable prevThrowable, TimedAttemptSettings prevSettings) { - // Return null to indicate that this implementaiton does not provide any specific attempt + // Return null to indicate that this implementation does not provide any specific attempt // settings, so by default the TimedRetryAlgorithm options can be used instead. return null; } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index ca7993668454..9c4282d14aab 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -20,6 +20,7 @@ import static com.google.common.base.Preconditions.checkNotNull; import com.google.api.core.ApiFunction; +import com.google.api.core.InternalApi; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableMap; @@ -58,6 +59,10 @@ public final class Policy implements Serializable { public abstract static class Marshaller { + @InternalApi("This class should only be extended within google-cloud-java") + protected Marshaller() { + } + protected static final ApiFunction IDENTITY_VALUE_OF_FUNCTION = new ApiFunction() { @Override @@ -135,9 +140,11 @@ public static class Builder { private String etag; private int version; + @InternalApi("This class should only be extended within google-cloud-java") protected Builder() { } + @InternalApi("This class should only be extended within google-cloud-java") protected Builder(Policy policy) { setBindings(policy.bindings); setEtag(policy.etag); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index 2e9434a0d21d..702356d40547 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -17,6 +17,7 @@ package com.google.cloud; import com.google.api.core.ApiClock; +import com.google.api.core.BetaApi; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.retrying.DirectRetryingExecutor; @@ -31,6 +32,7 @@ * RetrySettings}. In case if retrying is unsuccessful, {@link RetryHelperException} will be * thrown. */ +@BetaApi public class RetryHelper { public static V runWithRetries( Callable callable, diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 01c23cd09c36..0a17beb65164 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -112,8 +112,10 @@ public abstract static class Builder, private ApiClock clock; private TransportOptions transportOptions; + @InternalApi("This class should only be extended within google-cloud-java") protected Builder() {} + @InternalApi("This class should only be extended within google-cloud-java") protected Builder(ServiceOptions options) { projectId = options.projectId; host = options.host; @@ -226,6 +228,7 @@ public B setTransportOptions(TransportOptions transportOptions) { } } + @InternalApi("This class should only be extended within google-cloud-java") protected ServiceOptions(Class> serviceFactoryClass, Class> rpcFactoryClass, Builder builder, diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java index 54c72bd8fd7c..f027fda5b392 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java @@ -31,7 +31,7 @@ public abstract class StringEnumValue implements Serializable { /** * Don't create subclasses outside of google-cloud-java. */ - @InternalApi + @InternalApi("This class should only be extended within google-cloud-java") protected StringEnumValue(String constant) { this.constant = Preconditions.checkNotNull(constant); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 0de8675a4092..2bd84a4dc6ad 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -71,6 +71,7 @@ public abstract class BaseEmulatorHelper { protected static final String DEFAULT_HOST = "localhost"; protected static final int DEFAULT_PORT = 8080; + @InternalApi("This class should only be extended within google-cloud-java") protected BaseEmulatorHelper(String emulator, int port, String projectId) { this.emulator = emulator; this.port = port > 0 ? port : DEFAULT_PORT; From e2f0923b9d8e2403901f6a790b69a62215d002eb Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Mon, 24 Apr 2017 17:07:17 -0700 Subject: [PATCH 0359/3036] Update proto packages (#1984) --- java-core/google-cloud-core/pom.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5728cfded794..b4cba1768157 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -54,13 +54,17 @@ gax ${gax.version} + + com.google.protobuf + protobuf-java-util + com.google.api.grpc - grpc-google-common-protos + proto-google-common-protos com.google.api.grpc - grpc-google-iam-v1 + proto-google-iam-v1 com.google.truth From 5f1dd2df903cf2203969dd02f8f76186b6b653af Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 25 Apr 2017 02:38:49 -0700 Subject: [PATCH 0360/3036] Migrating from Joda Duration/Instant to ThreeTenBP (#1985) --- .../java/com/google/cloud/ServiceOptions.java | 12 ++++++------ .../google/cloud/testing/BaseEmulatorHelper.java | 4 ++-- .../cloud/testing/BaseEmulatorHelperTest.java | 16 +++++++--------- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 0a17beb65164..061e2e869972 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -47,10 +47,10 @@ import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.joda.time.Duration; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener; +import org.threeten.bp.Duration; /** * Abstract class representing service options. @@ -578,13 +578,13 @@ public static RetrySettings getNoRetrySettings() { private static RetrySettings.Builder getDefaultRetrySettingsBuilder() { return RetrySettings.newBuilder() .setMaxAttempts(6) - .setInitialRetryDelay(Duration.millis(1000L)) - .setMaxRetryDelay(Duration.millis(32_000L)) + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setMaxRetryDelay(Duration.ofMillis(32_000L)) .setRetryDelayMultiplier(2.0) - .setTotalTimeout(Duration.millis(50_000L)) - .setInitialRpcTimeout(Duration.millis(50_000L)) + .setTotalTimeout(Duration.ofMillis(50_000L)) + .setInitialRpcTimeout(Duration.ofMillis(50_000L)) .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.millis(50_000L)); + .setMaxRpcTimeout(Duration.ofMillis(50_000L)); } protected abstract Set getScopes(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 2bd84a4dc6ad..c84980700d91 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -53,7 +53,7 @@ import java.util.logging.Logger; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; -import org.joda.time.Duration; +import org.threeten.bp.Duration; /** * Utility class to start and stop a local service which is used by unit testing. @@ -149,7 +149,7 @@ public void run() { waiter.start(); try { - return exitValue.get(timeout.getMillis(), TimeUnit.MILLISECONDS); + return exitValue.get(timeout.toMillis(), TimeUnit.MILLISECONDS); } catch (ExecutionException e) { if (e.getCause() instanceof InterruptedException) { throw (InterruptedException) e.getCause(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java index b4b2579f7396..b4c334762bdb 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -20,17 +20,15 @@ import com.google.cloud.ServiceOptions; import com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner; import com.google.common.collect.ImmutableList; - -import org.easymock.EasyMock; -import org.joda.time.Duration; -import org.junit.Test; - import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.List; import java.util.concurrent.TimeoutException; import java.util.logging.Logger; +import org.easymock.EasyMock; +import org.junit.Test; +import org.threeten.bp.Duration; public class BaseEmulatorHelperTest { @@ -88,13 +86,13 @@ public void testEmulatorHelper() throws IOException, InterruptedException, Timeo emulatorRunner.start(); EasyMock.expectLastCall(); EasyMock.expect(emulatorRunner.getProcess()).andReturn(process); - emulatorRunner.waitFor(Duration.standardMinutes(1)); + emulatorRunner.waitFor(Duration.ofMinutes(1)); EasyMock.expectLastCall().andReturn(0); EasyMock.replay(process, emulatorRunner); TestEmulatorHelper helper = new TestEmulatorHelper(ImmutableList.of(emulatorRunner), BLOCK_UNTIL); helper.start(); - helper.stop(Duration.standardMinutes(1)); + helper.stop(Duration.ofMinutes(1)); EasyMock.verify(); } @@ -110,13 +108,13 @@ public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedE secondRunner.start(); EasyMock.expectLastCall(); EasyMock.expect(secondRunner.getProcess()).andReturn(process); - secondRunner.waitFor(Duration.standardMinutes(1)); + secondRunner.waitFor(Duration.ofMinutes(1)); EasyMock.expectLastCall().andReturn(0); EasyMock.replay(process, secondRunner); TestEmulatorHelper helper = new TestEmulatorHelper(ImmutableList.of(firstRunner, secondRunner), BLOCK_UNTIL); helper.start(); - helper.stop(Duration.standardMinutes(1)); + helper.stop(Duration.ofMinutes(1)); EasyMock.verify(); } } From ee5897546cebac7805fd201faa9e3cf5d9c4dc57 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 25 Apr 2017 07:09:49 -0700 Subject: [PATCH 0361/3036] Bumping versions to 1.0.0-rc3, 0.16.0-beta, 0.16.0-alpha for release (#1987) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 83b207cdabc8..9deb74a16073 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0-rc3-SNAPSHOT + 1.0.0-rc3 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.15.1-alpha-SNAPSHOT + 0.16.0-alpha 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 d6d6efcf1a32..e3909e61e753 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0-rc3-SNAPSHOT + 1.0.0-rc3 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.15.1-alpha-SNAPSHOT + 0.16.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 2538c4a09e84..f08c115afc8c 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.0.0-rc2 + 1.0.0-rc3 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.0.0-rc2' +compile 'com.google.cloud:google-cloud-core:1.0.0-rc3' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc2" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc3" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b4cba1768157..2f744268216b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc3-SNAPSHOT + 1.0.0-rc3 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.15.1-alpha-SNAPSHOT + 0.16.0-alpha google-cloud-core From 6778b4b8c199bcd207fd9c63ab3d40b308eb8e99 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 25 Apr 2017 07:58:45 -0700 Subject: [PATCH 0362/3036] Bumping to next SNAPSHOT versions (#1989) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9deb74a16073..cae5ebfe98c5 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0-rc3 + 1.0.0-rc4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.16.0-alpha + 0.16.1-alpha-SNAPSHOT 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 e3909e61e753..3d88b96fe0eb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0-rc3 + 1.0.0-rc4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.16.0-alpha + 0.16.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2f744268216b..40935cb32230 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc3 + 1.0.0-rc4-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.16.0-alpha + 0.16.1-alpha-SNAPSHOT google-cloud-core From 1f82b5b797a189ce52fda2aa3f22d15349c930ef Mon Sep 17 00:00:00 2001 From: neozwu Date: Tue, 25 Apr 2017 13:52:22 -0700 Subject: [PATCH 0363/3036] make one Tuple class aross all the projects (#1992) --- .../src/main/java/com/google/cloud/Tuple.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java new file mode 100644 index 000000000000..1536a5d271f0 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java @@ -0,0 +1,40 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +public class Tuple { + + private final X x; + private final Y y; + + private Tuple(X x, Y y) { + this.x = x; + this.y = y; + } + + public static Tuple of(X x, Y y) { + return new Tuple<>(x, y); + } + + public X x() { + return x; + } + + public Y y() { + return y; + } +} From a0f288d1b6f994b8bab97e22ed710b8e739a5e01 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 25 Apr 2017 14:10:30 -0700 Subject: [PATCH 0364/3036] Bumping versions to 1.0.0-rc4, 0.17.0-beta, 0.17.0-alpha for release (#1996) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cae5ebfe98c5..4fd4f0939317 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0-rc4-SNAPSHOT + 1.0.0-rc4 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.16.1-alpha-SNAPSHOT + 0.17.0-alpha 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 3d88b96fe0eb..72c020631821 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0-rc4-SNAPSHOT + 1.0.0-rc4 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.16.1-alpha-SNAPSHOT + 0.17.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f08c115afc8c..6236c093b6a2 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.0.0-rc3 + 1.0.0-rc4 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.0.0-rc3' +compile 'com.google.cloud:google-cloud-core:1.0.0-rc4' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc3" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc4" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 40935cb32230..9b1aa50b61b0 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc4-SNAPSHOT + 1.0.0-rc4 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.16.1-alpha-SNAPSHOT + 0.17.0-alpha google-cloud-core From 5a99852588579e8cb7595236c74265db91824355 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 25 Apr 2017 14:42:52 -0700 Subject: [PATCH 0365/3036] Bumping versions to next snapshot versions (#1997) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4fd4f0939317..bc607eb6d6cb 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0-rc4 + 1.0.0-rc5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.0-alpha + 0.17.1-alpha-SNAPSHOT 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 72c020631821..3aff85b2976a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0-rc4 + 1.0.0-rc5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.0-alpha + 0.17.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9b1aa50b61b0..838f70b2a696 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc4 + 1.0.0-rc5-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.0-alpha + 0.17.1-alpha-SNAPSHOT google-cloud-core From 570d9925e4ea3141f49cae609e5b73d5ceca8f24 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Tue, 25 Apr 2017 21:32:33 -0700 Subject: [PATCH 0366/3036] Fix build setup of project.properties (#2003) - Add project.properties as a resource file - Process the resource file and inject the version information in the building stage In this way only the properties listed in the project.properties will be injected. --- java-core/google-cloud-core-grpc/pom.xml | 20 -------------- java-core/google-cloud-core-http/pom.xml | 20 -------------- java-core/google-cloud-core/pom.xml | 34 ++++++++++++++++-------- 3 files changed, 23 insertions(+), 51 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index bc607eb6d6cb..ae292fbf429d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -69,24 +69,4 @@ test - - - - org.codehaus.mojo - properties-maven-plugin - 1.0-alpha-2 - - - generate-resources - - write-project-properties - - - ${project.build.outputDirectory}/com/google/cloud/project.properties - - - - - - diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 3aff85b2976a..5273ab3c1719 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -109,24 +109,4 @@ test - - - - org.codehaus.mojo - properties-maven-plugin - 1.0-alpha-2 - - - generate-resources - - write-project-properties - - - ${project.build.outputDirectory}/com/google/cloud/project.properties - - - - - - diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 838f70b2a696..878d4ba5007c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -80,22 +80,34 @@ + + + ./.. + true + + project.properties + + + - - org.codehaus.mojo - properties-maven-plugin - 1.0-alpha-2 - + + maven-antrun-plugin + 1.4 + - generate-resources - - write-project-properties - + process-resources - ${project.build.outputDirectory}/com/google/cloud/project.properties + + + + + run + - + From 14c06a654fd0ddbd338a79e83599aa8bebd413db Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Tue, 25 Apr 2017 22:11:53 -0700 Subject: [PATCH 0367/3036] Versioning cleanup: (#2002) * Versioning cleanup: - fix versioning script (grpc.version issue) - better version resolution (via dependencyManagement instead of usage of properties defined in parent pom as dependencies version) - should also fix LICENSE resolution by versioneye.com and dependency ci (google-cloud-* moudles should now display correct licenses instead of UKNOWN) - fix link in readmes to versioneye.com (old link points to 0.7.1 which is not getting updated - fix security issue dependency in google-cloud-dns - removed "test" scope in dependencyManagement for various libs (considered bad practice, plus potentially causes an issue with datastore lib) --- java-core/google-cloud-core-grpc/pom.xml | 2 -- java-core/google-cloud-core-http/pom.xml | 1 - java-core/google-cloud-core/README.md | 2 +- java-core/google-cloud-core/pom.xml | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ae292fbf429d..0bdd8c47579a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -22,7 +22,6 @@ com.google.cloud google-cloud-core - ${core.version} com.google.guava @@ -50,7 +49,6 @@ io.grpc grpc-protobuf - ${grpc.version} com.google.api diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 5273ab3c1719..2d253bf72ee0 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -22,7 +22,6 @@ com.google.cloud google-cloud-core - ${core.version} com.google.auth diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 6236c093b6a2..35e92de493de 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -7,7 +7,7 @@ This module provides common functionality required by service-specific modules o [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/google-cloud-java?branch=master) [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) -[![Dependency Status](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969) +[![Dependency Status](https://www.versioneye.com/user/projects/58fe4c8d6ac171426c414772/badge.svg?style=flat)](https://www.versioneye.com/user/projects/58fe4c8d6ac171426c414772) - [Homepage](https://googlecloudplatform.github.io/google-cloud-java/) - [API Documentation](https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 878d4ba5007c..d76229427d10 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -52,7 +52,6 @@ com.google.api gax - ${gax.version} com.google.protobuf From 37bfe6554f3313ae07d146b8b6c90fad38717b5c Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 25 Apr 2017 22:57:57 -0700 Subject: [PATCH 0368/3036] Bumping versions to 1.0.0, 0.17.1-beta, 0.17.1-alpha for release (#2004) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0bdd8c47579a..dde5cf32865c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0-rc5-SNAPSHOT + 1.0.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.1-alpha-SNAPSHOT + 0.17.1-alpha 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 2d253bf72ee0..ef59e12c227b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0-rc5-SNAPSHOT + 1.0.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.1-alpha-SNAPSHOT + 0.17.1-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 35e92de493de..b2d67f8c8869 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.0.0-rc4 + 1.0.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.0.0-rc4' +compile 'com.google.cloud:google-cloud-core:1.0.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0-rc4" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d76229427d10..38fcb5bd443e 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0-rc5-SNAPSHOT + 1.0.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.1-alpha-SNAPSHOT + 0.17.1-alpha google-cloud-core From 99ac7702169f7b97b0603bd62432ec57bd56a486 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 26 Apr 2017 09:01:51 -0700 Subject: [PATCH 0369/3036] Bumping to next snapshot versions (#2006) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index dde5cf32865c..f47005357cfd 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.0 + 1.0.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.1-alpha + 0.17.2-alpha-SNAPSHOT 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 ef59e12c227b..396545c51d5a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.0 + 1.0.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.1-alpha + 0.17.2-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 38fcb5bd443e..bc03705bda88 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.0 + 1.0.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.1-alpha + 0.17.2-alpha-SNAPSHOT google-cloud-core From 992f02e9ad2bb833211cf2b357ae1ea71e6cabb6 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 4 May 2017 15:59:16 -0700 Subject: [PATCH 0370/3036] Bumping versions to 1.0.1, 0.17.2-beta, 0.17.2-alpha for release (#2035) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f47005357cfd..839fe60e2a4d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.1-SNAPSHOT + 1.0.1 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.2-alpha-SNAPSHOT + 0.17.2-alpha 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 396545c51d5a..3af9d7f45537 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.1-SNAPSHOT + 1.0.1 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.2-alpha-SNAPSHOT + 0.17.2-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b2d67f8c8869..d9325b73f8c5 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.0.0 + 1.0.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.0.0' +compile 'com.google.cloud:google-cloud-core:1.0.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.1" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index bc03705bda88..a7acc351066c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.1-SNAPSHOT + 1.0.1 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.2-alpha-SNAPSHOT + 0.17.2-alpha google-cloud-core From 0ffaa6a1bd5e2f601adc687a32787025be73658d Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 4 May 2017 16:18:36 -0700 Subject: [PATCH 0371/3036] Bumping to next snapshot versions (#2036) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 839fe60e2a4d..130b30a35588 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.1 + 1.0.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.2-alpha + 0.17.3-alpha-SNAPSHOT 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 3af9d7f45537..1ca528d2e491 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.1 + 1.0.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.2-alpha + 0.17.3-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a7acc351066c..841262f28025 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.1 + 1.0.2-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.2-alpha + 0.17.3-alpha-SNAPSHOT google-cloud-core From 40add37dfcfea8c78d07e3d4e54259ad9617931f Mon Sep 17 00:00:00 2001 From: Vikas Kedia Date: Fri, 12 May 2017 14:02:50 -0700 Subject: [PATCH 0372/3036] Change Timestamp to not use jodatime classes for parsing/formatting (#2059) --- .../main/java/com/google/cloud/Timestamp.java | 59 +++++-------------- 1 file changed, 16 insertions(+), 43 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index e138343a58b0..bbad6abc6458 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -18,21 +18,20 @@ import static com.google.common.base.Preconditions.checkArgument; -import com.google.common.base.Strings; import com.google.protobuf.util.Timestamps; import java.io.Serializable; import java.util.Date; import java.util.Objects; import java.util.concurrent.TimeUnit; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -import org.joda.time.chrono.GregorianChronology; -import org.joda.time.format.DateTimeFormatter; -import org.joda.time.format.ISODateTimeFormat; +import org.threeten.bp.Instant; +import org.threeten.bp.LocalDateTime; +import org.threeten.bp.ZoneOffset; +import org.threeten.bp.chrono.IsoChronology; +import org.threeten.bp.format.DateTimeFormatter; /** - * Represents a timestamp with nanosecond precision. Timestamps cover the range - * [0001-01-01, 9999-12-31]. + * Represents a timestamp with nanosecond precision. Timestamps cover the range [0001-01-01, + * 9999-12-31]. * *

    {@code Timestamp} instances are immutable. */ @@ -47,13 +46,8 @@ public final class Timestamp implements Comparable, Serializable { public static final Timestamp MAX_VALUE = new Timestamp(253402300799L, (int) TimeUnit.SECONDS.toNanos(1) - 1); - /** Regexp to split timestamps into date-hour-minute-second and fractional second components. */ - private static final Pattern FORMAT_REGEXP = Pattern.compile("([^\\.]*)(\\.\\d{0,9})?Z"); - - private static final long NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1); - private static final DateTimeFormatter format = - ISODateTimeFormat.dateHourMinuteSecond().withChronology(GregorianChronology.getInstanceUTC()); + DateTimeFormatter.ISO_LOCAL_DATE_TIME.withChronology(IsoChronology.INSTANCE); private final long seconds; private final int nanos; @@ -85,8 +79,8 @@ public static Timestamp ofTimeSecondsAndNanos(long seconds, int nanos) { */ public static Timestamp ofTimeMicroseconds(long microseconds) { long seconds = TimeUnit.MICROSECONDS.toSeconds(microseconds); - int nanos = (int) TimeUnit.MICROSECONDS.toNanos( - microseconds - TimeUnit.SECONDS.toMicros(seconds)); + int nanos = + (int) TimeUnit.MICROSECONDS.toNanos(microseconds - TimeUnit.SECONDS.toMicros(seconds)); checkArgument( Timestamps.isValid(seconds, nanos), "timestamp out of range: %s, %s", seconds, nanos); return new Timestamp(seconds, nanos); @@ -101,10 +95,7 @@ public static Timestamp of(Date date) { return ofTimeMicroseconds(TimeUnit.MILLISECONDS.toMicros(date.getTime())); } - - /** - * Creates an instance with current time. - */ + /** Creates an instance with current time. */ public static Timestamp now() { java.sql.Timestamp date = new java.sql.Timestamp(System.currentTimeMillis()); return of(date); @@ -148,9 +139,7 @@ public int compareTo(Timestamp other) { return r; } - /** - * Creates an instance of Timestamp from {@code com.google.protobuf.Timestamp}. - */ + /** Creates an instance of Timestamp from {@code com.google.protobuf.Timestamp}. */ public static Timestamp fromProto(com.google.protobuf.Timestamp proto) { return new Timestamp(proto.getSeconds(), proto.getNanos()); } @@ -168,28 +157,12 @@ public com.google.protobuf.Timestamp toProto() { * the timezone offset (always ends in "Z"). */ public static Timestamp parseTimestamp(String timestamp) { - Matcher matcher = FORMAT_REGEXP.matcher(timestamp); - if (!matcher.matches()) { - throw new IllegalArgumentException("Cannot parse input: " + timestamp); - } - String secondsPart = matcher.group(1); - String nanosPart = matcher.group(2); - long seconds; - seconds = format.parseMillis(secondsPart) / 1000; - int nanos = 0; - if (nanosPart != null) { - String padded = Strings.padEnd(nanosPart.substring(1), 9, '0'); - nanos = Integer.parseInt(padded); - if (nanos >= TimeUnit.SECONDS.toNanos(1)) { - throw new IllegalArgumentException( - "Cannot parse input: " + timestamp + " (nanos out of range)"); - } - } - return ofTimeSecondsAndNanos(seconds, nanos); + Instant instant = Instant.parse(timestamp); + return ofTimeSecondsAndNanos(instant.getEpochSecond(), instant.getNano()); } - StringBuilder toString(StringBuilder b) { - format.printTo(b, seconds * 1000); + private StringBuilder toString(StringBuilder b) { + format.formatTo(LocalDateTime.ofEpochSecond(seconds, 0, ZoneOffset.UTC), b); if (nanos != 0) { b.append(String.format(".%09d", nanos)); } From de7e528851244fbffcf74c83b50f764f967e06f3 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 18 May 2017 09:27:40 -0700 Subject: [PATCH 0373/3036] Bumping versions to 1.0.2, 0.18.0-beta, 0.18.0-alpha for release (#2069) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 130b30a35588..3082339fa497 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.2-SNAPSHOT + 1.0.2 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.3-alpha-SNAPSHOT + 0.18.0-alpha 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 1ca528d2e491..92603bc868db 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.2-SNAPSHOT + 1.0.2 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.3-alpha-SNAPSHOT + 0.18.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d9325b73f8c5..5ee3b791311d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.0.1 + 1.0.2 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.0.1' +compile 'com.google.cloud:google-cloud-core:1.0.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.2" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 841262f28025..320488a35bed 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.2-SNAPSHOT + 1.0.2 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.17.3-alpha-SNAPSHOT + 0.18.0-alpha google-cloud-core From 77b9f23c1b897dd7746b1e448375ef747100031c Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 18 May 2017 10:06:10 -0700 Subject: [PATCH 0374/3036] Bumping to next snapshot versions (#2070) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3082339fa497..264299e7772a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.2 + 1.0.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.18.0-alpha + 0.18.1-alpha-SNAPSHOT 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 92603bc868db..8075ec392ec0 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.2 + 1.0.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.18.0-alpha + 0.18.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 320488a35bed..2fac8096fbf2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.2 + 1.0.3-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.18.0-alpha + 0.18.1-alpha-SNAPSHOT google-cloud-core From a86fde818daff94ecb0206fcf7dc49c7ab99e417 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Thu, 18 May 2017 14:39:23 -0700 Subject: [PATCH 0375/3036] Restructure Java staging clients (#297) The new structure will make the CI depend on the local proto and grpc clients instead of depending on Maven. The new structure looks like: - root - generated - java - settings.gradle - gradle wrapper - build.gradle - gapic-* clients - proto-* clients - build.gradle - grpc-* clients - build.gradle --- java-iam/grpc-google-iam-v1/LICENSE | 201 +++ java-iam/grpc-google-iam-v1/PUBLISHING.md | 31 + java-iam/grpc-google-iam-v1/build.gradle | 157 +++ .../gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 53638 bytes .../gradle/wrapper/gradle-wrapper.properties | 6 + java-iam/grpc-google-iam-v1/gradlew | 160 +++ java-iam/grpc-google-iam-v1/gradlew.bat | 90 ++ .../java/com/google/iam/v1/IAMPolicyGrpc.java | 490 ++++++++ .../templates/apidocs_index.html.template | 1 + java-iam/proto-google-iam-v1/LICENSE | 201 +++ java-iam/proto-google-iam-v1/PUBLISHING.md | 31 + java-iam/proto-google-iam-v1/build.gradle | 157 +++ .../gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 53638 bytes .../gradle/wrapper/gradle-wrapper.properties | 6 + java-iam/proto-google-iam-v1/gradlew | 160 +++ java-iam/proto-google-iam-v1/gradlew.bat | 90 ++ .../main/java/com/google/iam/v1/Binding.java | 940 ++++++++++++++ .../java/com/google/iam/v1/BindingDelta.java | 968 +++++++++++++++ .../google/iam/v1/BindingDeltaOrBuilder.java | 72 ++ .../com/google/iam/v1/BindingOrBuilder.java | 118 ++ .../google/iam/v1/GetIamPolicyRequest.java | 544 ++++++++ .../iam/v1/GetIamPolicyRequestOrBuilder.java | 31 + .../com/google/iam/v1/IamPolicyProto.java | 117 ++ .../main/java/com/google/iam/v1/Policy.java | 1094 +++++++++++++++++ .../java/com/google/iam/v1/PolicyDelta.java | 812 ++++++++++++ .../google/iam/v1/PolicyDeltaOrBuilder.java | 53 + .../com/google/iam/v1/PolicyOrBuilder.java | 89 ++ .../java/com/google/iam/v1/PolicyProto.java | 102 ++ .../google/iam/v1/SetIamPolicyRequest.java | 809 ++++++++++++ .../iam/v1/SetIamPolicyRequestOrBuilder.java | 65 + .../iam/v1/TestIamPermissionsRequest.java | 810 ++++++++++++ .../TestIamPermissionsRequestOrBuilder.java | 78 ++ .../iam/v1/TestIamPermissionsResponse.java | 612 +++++++++ .../TestIamPermissionsResponseOrBuilder.java | 48 + .../main/proto/google/iam/v1/iam_policy.proto | 118 ++ .../src/main/proto/google/iam/v1/policy.proto | 149 +++ .../templates/apidocs_index.html.template | 1 + 37 files changed, 9411 insertions(+) create mode 100644 java-iam/grpc-google-iam-v1/LICENSE create mode 100644 java-iam/grpc-google-iam-v1/PUBLISHING.md create mode 100644 java-iam/grpc-google-iam-v1/build.gradle create mode 100644 java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.jar create mode 100644 java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.properties create mode 100755 java-iam/grpc-google-iam-v1/gradlew create mode 100644 java-iam/grpc-google-iam-v1/gradlew.bat create mode 100644 java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java create mode 100644 java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template create mode 100644 java-iam/proto-google-iam-v1/LICENSE create mode 100644 java-iam/proto-google-iam-v1/PUBLISHING.md create mode 100644 java-iam/proto-google-iam-v1/build.gradle create mode 100644 java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.jar create mode 100644 java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.properties create mode 100755 java-iam/proto-google-iam-v1/gradlew create mode 100644 java-iam/proto-google-iam-v1/gradlew.bat create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto create mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto create mode 100644 java-iam/proto-google-iam-v1/templates/apidocs_index.html.template diff --git a/java-iam/grpc-google-iam-v1/LICENSE b/java-iam/grpc-google-iam-v1/LICENSE new file mode 100644 index 000000000000..724a8807144b --- /dev/null +++ b/java-iam/grpc-google-iam-v1/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/java-iam/grpc-google-iam-v1/PUBLISHING.md b/java-iam/grpc-google-iam-v1/PUBLISHING.md new file mode 100644 index 000000000000..b49df1abe8b7 --- /dev/null +++ b/java-iam/grpc-google-iam-v1/PUBLISHING.md @@ -0,0 +1,31 @@ +PUBLISHING +---------- + +Note: This folder has been generated by the meta-data generator tool of toolkit. + +The instructions assume that no changes have been made to the folder and its +contents since it was created. + +PREREQUISITES +------------- + +- JDK 6 or later must be installed. + +TO TEST +------- + +``` + $ ./gradlew install +``` + +Then find the package in `~/.m2/repository/com/google/api/grpc/` + +TO PUBLISH +---------- + +- Make sure you have an [OSSRH + account](http://central.sonatype.org/pages/ossrh-guide.html). +- Follow the [OSSRH release + steps](http://central.sonatype.org/pages/gradle.html#credentials). This + requires you have a configured `gradle.properties`, run `./gradlew + uploadArchives`, and use Nexus to publish the release. diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle new file mode 100644 index 000000000000..c18316655a22 --- /dev/null +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -0,0 +1,157 @@ +buildscript { + repositories { + mavenCentral() + } +} + +apply plugin: 'java' +apply plugin: 'maven' +apply plugin: 'signing' + +description = 'GRPC library for grpc-google-iam-v1' +group = "com.google.api.grpc" +version = "0.1.11" +sourceCompatibility = 1.7 +targetCompatibility = 1.7 + +repositories { + mavenCentral() + mavenLocal() +} + +dependencies { + compile "io.grpc:grpc-stub:1.2.0" + compile "io.grpc:grpc-protobuf:1.2.0" + compile project(":proto-google-iam-v1") +} + +ext { + packageName = 'grpc-google-iam-v1' +} + +sourceSets { + main { + java { + srcDir 'src/main/java' + } + } +} + +task javadocJar(type: Jar) { + classifier = 'javadoc' + from javadoc +} + +task sourcesJar(type: Jar) { + classifier = 'sources' + from sourceSets.main.allSource +} + +artifacts { + archives javadocJar, sourcesJar +} + +signing { + required false + sign configurations.archives +} + +if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { + uploadArchives { + repositories { + mavenDeployer { + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } + + repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { + authentication(userName: ossrhUsername, password: ossrhPassword) + } + + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { + authentication(userName: ossrhUsername, password: ossrhPassword) + } + + pom.project { + name "com.google.api.grpc:grpc-google-iam-v1" + description project.description + url 'https://github.com/googleapis/googleapis' + scm { + url 'https://github.com/googleapis/googleapis' + connection 'scm:git:https://github.com/googleapis/googleapis' + } + + licenses { + license { + name 'Apache-2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + } + } + + developers { + developer { + id 'Google Inc' + name 'Google Inc' + email 'googleapis-packages@google.com' + url 'https://github.com/googleapis/googleapis' + organization 'Google, Inc.' + organizationUrl 'https://www.google.com' + } + } + } + } + } + } +} else { + task failUploadArchives << { + throw new GradleException("uploadArchives needs ossrhUsername and ossrhPassword " + + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") + } + tasks.uploadArchives.dependsOn(failUploadArchives) +} + +task checkOutGhPages << { + if (!new File('tmp_gh-pages').exists()) { + exec { + commandLine 'git', 'clone', '--branch', 'gh-pages', + '--single-branch', 'git@github.com:googleapis/googleapis.git', 'tmp_gh-pages' + } + } +} + +task copyFilesToGhPages { + dependsOn 'checkOutGhPages' + dependsOn 'javadoc' + doLast { + def newSiteDirPath = "tmp_gh-pages/java/${packageName}/${project.version}/apidocs/" + new File(newSiteDirPath).mkdirs() + copy { + from 'build/docs/javadoc' + into newSiteDirPath + } + } +} + +task createApiDocsRedirect { + dependsOn 'copyFilesToGhPages' + doLast { + def outputContent = new File('templates/apidocs_index.html.template').text + outputContent = outputContent.replace('{{siteVersion}}', project.version) + outputContent = outputContent.replace('{{packageName}}', packageName) + new File("tmp_gh-pages/java/${packageName}/apidocs").mkdirs() + new File("tmp_gh-pages/java/${packageName}/apidocs/index.html").write(outputContent) + exec { + workingDir 'tmp_gh-pages/' + commandLine 'git', 'add', '.' + } + exec { + workingDir 'tmp_gh-pages/' + commandLine 'git', 'commit', '-m', "Regenerating docs for ${packageName} ${project.version}" + } + println 'New docs have been generated under tmp_gh-pages and have been committed;' + println 'Next they just need to be pushed with "git push".' + } +} + +// Regenerates the gh-pages branch under tmp_gh-pages, which must be committed separately +task updateDocsWithCurrentVersion { + dependsOn 'createApiDocsRedirect' +} \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.jar b/java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..e8c6bf7bb47dff6b81c2cf7a349eb7e912c9fbe2 GIT binary patch literal 53638 zcmafaW0a=B^559DjdyHo$F^V0Rn=80*aQV7YF*=K>qvZZ-f5ZWkpp4=_KXE7(js({)Mne(XCA2FM-P6 zj`qJ3$_mO!iis+#(94QF%1%$oNYl|Tz)RCn&rZ)ZD={v!>>oc&(~V2c$j;D6(gMR= zgqfuMD$%0qz$7pGRbn(g*ot$W`RH`-1pIFc{$1n0b_Vu$Z0}_Le{AZ1r-A(^jk%Md ziH+(1lN9w|N!^_c9UM%Z{*NgZK_+I!e@R#VcGCYmMa16S&c@!*gp7&a*v8P=**8WO zW{?pnbkBlKi^h#12zD(j?0q-0fZHZ0k%}O z@ZbQJk&sUtNBWd+CAnc&Ywdy>+NIPsxM3ShXImfZ1t7bc4vQir)HRBR5{Az6QbbpJ z%-_E{21v+>QLHN#V^>;Uf(K`95a8FP!fX%qD3IWSjl}0uP8c#z0w*Mf1wj}dI|T1a zhwuAur#!M7x{CH!037}vvB>|2M`cfE7gJjWC;PvL90X z@AQvDC{?z#M-fEw!vKVjEgV)F)TVB(dZ`>o*)JI2K*vTxGs#xT$_UsRf|}R4o7g8l z)IUYrvfe|!6~{FHNF@SBy&(eUv<>`JsI$gU3n)I+Di4B5=1qZdJ+GcNzi$!Bs z)>ys4N7e4ICP5e*Xbbd)o50lDuhb3eQ06s}SRO1h(5Uhb^jPBK!g!z)c%d>{8-jR6 z?0kCiLzAg!!(^%6dof){R`Mhvxoy$Eu4;oyS=*;hfm^*KLTWmB1fUFiY9g9W z*-Gv{g>EJH2&=d=T!H(IXJH)HiGcY0GaOE1m1O0#55vB0(RT}N{ zgG%(VC`)%1L89{P7y_mxO&Ade>ue&_^9bZmK&UOLFqkz;aGXt;XxmaRQn-JQ-;xl+ z^EN01NxR=ccI;c3jQ!Xc6y{yTC&2X>Z20gWG9CX?;{vXk%>fd2`|;#C?-cHfwfH+P zZ09$ewwy1ms3e1hYLtICR-UZnr?{0HvlxkrhPAV1YEp7Uh%#>#)35Rt&Z_fEy-Y`$ zngx9`L4U{Lr`knQt)g7%G(9wowmGB^896vjt>j>$F;lHtLl7Gs((E4y@5r4}im}K2 z#NWGeImSQbHb=RX^c~LOPRb*ljB0fJG~x!}>|!SQC~{2`zF8tY$gahFyJgL}F6X~Dtk3KtuKp1D&?rPq$mU;R@2t6y~gnN#uqVX#!4O`Rm{ZB1qD?X6uM{=sytvbH>qAlkQB zqVDRmQVpQB%}N_gdqeA5b!m92DpCcC2wL7G6uOSS+eFjmQ@xkW%4%_p|4E#UZ%Bz| zJh*$JbH=^T`DA+fRzScHL}RcjNO5|?qiCNhPcniE%0N#{=PeRRtbypDGbjP57s*Re zOvyraP#RhqE?N8c%Wpwy{mqFw`_iXHLAkj!x21fSFo%nEPBzx5hH9-@XW8zqNyeR6 z8q=opn7kQGX>YGYLyM(G+&n{X@F6Rw!~W2eP zEr)gZ_6%+~2Bt5k=@2zm9o45B<34^Se3;0jW3|=_8#Trnf45lgtgdbOF#&5w_vNz3 zq@!GxtCerZCbBtJEafL%R$QB{Ru1EX)`pdP>93qJ?GvLw;>~Clsw7nrMnN5Z&nC%; zU&w-FJxYx+=n&6l@WB4EcQ=g{9>M77uSjMYXL%oDOD)vfrck;|)gICA%k^nbu+<*% zh;WbYc#y7l{Sv?LGSYkF6mDt`?s0|;QoXU)h;eRXh%x$o$x(XkCOjC3avc-SI(((V zEN1E$X?G)=_<$ULYUG&$bQ)&Ast3#nP6of!l zese9~Aw@dF`G?cK4BB0h3ptgky1o3HLgF3jZjFEg0sa1q3|RiNn2LHB+qgPgx|xbu z+L#I&8=E>i%Np7lnw$R9>ZhtnJD{54{jtrWulylaU~< zG7qb+?Uc!~P@yzaN{$tBg}fsa%4U%rUKTd06WvX%g|!#0F-~TYX=NC`G@y%~w~ci= z`uE$uC!6t7Mn18&TlNfAJaV#~nHbq}XA%Uwc^LYT!gJ73pkYjeOy%PN6AP?i#C!_K z%<>;ZB52@)Iku)zrI;G73y8}k_PLE~&0*95>G6|oTET1whLl>}j6ac|Ht+;G_=eWp zJ5CwD1y_Y5*Z;YR4SmT#?O$I{K7?|fHATo(sa2R9W>jTB_h%mn!~msPa$ ziQc?d@xrvF+p^<1WdeNQ)KOPN>ew_UwMn_>VD%mjmS z*xe1vLA(M|*bD}Rh6^@b5X%lfF^L3o_FkTcCp1tD} zNm`Xj*ouvb&Vr3mEL^6VNnI!DO^&Dy3$w_pV^#09kl$FmyJ=7O>(|?l(eUw)`^1>| zMDx6Ks?dF0&8V*>8{JA0Ez z>aLVtm1312Oto$2Nn}?VZ6laiDEQpmNh>u$px@I$6<(AuZQPS#46?xhx%9HjESl+Z zz&ImHGijeKdy;CH&t(oL5Js$rJ*b2ld7JAYU<0&SOV0<7188s z)2gujEeO~$y_OZ!D86ZIUHUcO<_dK$+_QMZ^uCT1=la)^)FFd`w5n>UK(ST&Okap! zya=Bf;%}gnNTY67Kzky)yig=$6uGAfSZ?A%Mwc88w!drxm`%5>amtC=>^foOjdxU2 zbRARNd93v6wmR&@!Qs`H?g*4f>Tt3eFdgIuV}Ip@kRr}8T@|D4cwD>{rUOr~fZh(= zP^HWba4^CP#0OHTgaql7DR9Aec1LbgspO^|>QU+W!LQ8lQxQNx_K8C>wDyfM9Av8S zf5FYLRA5`c)Mk!uc5qzf3IX&8$}YIYf8Wd*Qr9DTcPf+u;_8gH#|_V zymOT~MrU?~?&bOt`VHcrez!NLb7l5Nc-3`hyaJrp2V^*unxG*w?t^(t-#BUsKi=&x zkl_-!gT@lXS@wp5J3`cC4w3j;7t}%Yi}CjgK=%#-egjKSYmxdE2N<616Cc4n0uvw6 zJv_g@g!3w#5J6geg7aRQgCLoN_2ZL9rDoOg%0ZuKxysEZJtE%N2`Fo0nEQ$2Fh+Y2 z`%#vNQ;rx@e{sE20{)Ou=_y@Asy*!>x6$=Om16Ks?Hsk7xmQ^A{Jl_g!Z=(*O&Gwd zD^A+1=wd-BC9lbQ<8xTITKAw!(wJAax3DX=O2o0LnTXCicwY$r6}(Kt>xm`)1uyRq z|5xy${tw?t*xt^}(%jX_(8bc;?w{Z#*;XD^5NYhs*6C_6e^5YC5y>@iPQgA4G@>e# zDjd3mk8qts8tHM|wl3SfvLy-AeJJ4oqG?XAc0tY7Fb7LB%VYl6wa&-K+?+np$sHhE zI%C3sJsK|t?#5AIY=)QPwbOH8MhGX`lGkMZ#a7_%N{ypIH{7tn(ZY`zehen2cILSp zE_C;I)VVfXX+^m)w{5W`TRGipFH10JSmCb9<3NtShK*Z1)}sE^kp)V8(e5(KR%0-E zm`7{dOoE2%Yh|AOdfaoH_i|Iut64Sb?)6P(uI*CuyCxax&%kSzWt_S-_RYM`y~dci zJWn4R&r!Kw>bj@JJ2zew=EU1RTQIBiJv|Dw6ZUf-PRfm5jp5B{rHTtn)a6I?b(L4u zS>aWGUaG{zyOYdCHjpdZ%@0WZ_LSmO2;~ICXK(pLQY|_vB7~Q&y}Vapvv2)WTK6@- zap2M67WDM(=SEK zG^8NqL?@dcI_jVvl3&E#+xh+m%XCiB$;c&|nQ<6&SSF{qlYrfubin68BXYzxQG#X` zJVO6FDiOo!MTGjp_<5);l~4l5TnyG(3n4j4#ZOF-a6J z`B;J|p%@@TC8)$a?o2MB3ZIlDm?qi02w6h*!%8Zl1x`sl=*;Txzez4@&G*M7hza-d z_808G%C@2}zUA>>P>%f<@i6{p#Pjd|u7si8-^jv0;ZCgDr8BB3+8^6&lOeaMVg)Iw zP$&?~-w^@mHZaulQl*Gw3ba98vi8ZLCLA{GE$Ha^Z(?7AaB)NG{9M69SOc@;?tcK! z?i__P(VJ#oH@&B>bMLv%b60zRKHo6|zTPy4=wm88goRPXSaXIeqBz*z$RAT6(2XA$ z>D^JODO7XR?$g55V!#~5>YycOrJUq~<0^?}tvzs;7O#Y0cYlsx=nQrz^-wbKP?p|W zGcuA&Dh<(wsN`7-!dRl0MNPqg2$z|5iKDZMca@{P#ceeU{S0GTLO~6^igB35VZnCV z9K9+@%w)z>&YP0S&t`vw@fx$CM3?3owGkUW!6!{em7{IUa2I`PF@D_7BJp2r0Jt5( zu$PBu)2KGEFuQGZm<`MDup60)^mMz>c9>DH+x@b@WUURkgd(jbQYq!JI)<^66k!Vu zY-N}drwqqTB00@!6V-e~Zv;5smtYS`jaZmzQAI7+98fF`YP#L*Tt%d4?0@A+j2duO z3aM$>wWd#GPLZ4|?V9uz7)XZ(E2?vbSxav{cOJW#E}N*B*A$f2G>(UuB3mKPJD~^I z)*{sdQL#*5)7!V=m^yWlMM*za1<{}6VYn9j-YoQLxZn~$chDV_(G1geI5YNmHmchw zPiugcQ%c#t@Dh`LmR82^7Chsq-F99aFZWE3qTyyXShBGUNe_xMZ%KNxIB!T?a#a1j zyIoL@=28ddS7y*@rltbLW7W*9#>mp#G~tHG6L%eQx-D*dr0Ekj=ZZIgN!_>X zsO;1?xJKQ#a8K8_bkFCf;3z#7|0XHua*dc7xct%&(u*REfZ4o#jz^EFk+WHs04h#V zZ?F|r@xUex@6T*}TFQbQC%V%o;oI!8);K9KX8kn9;L7$@V4bdElPS?l!d3)NQn8;S z%k$FXBcu0;Kj#tbQz6Nd{dlKIUK$q9F~F6ER2R~s6iW-EU5({rmu8Mc=$q;_Vq;Z( z%G}qIn2!YOa?spUiW7HS=-$Bm`^a)gGNKyXkX$qvPfg4cpZ-W5vcY~f#r35euX})N zodDZbBQ&;^_b>@rZBo`7oHYRA|2M;_B5)2zK=wui3<3wEezGv{+#daSKLx;v zKk?>(YE<>$BA!3wp__778s{!!t1(`Mfr==|uI>^^6tUH!hBp9F@ZnoSXz59qHC{CO z?hC|!?u-0w0xE_~Ciyf^ok)9oW zVf7U$JHN%&Gvp<5m!yqfEIde1fBY3|3vK%+bSG@$@h$9o^ck(uhXD~9py(3eB?P38 zBo9|b*b15Frl^;)gN!8lKp%t!-vCO9BMie*w0w}9e7ytw zA;&I(d7{u8x-jS9q0Zs!s$!3ne|;*f#-dklx3OMgytDh@7W^N`e>It=zZ##`@F8sOyK5A34 z>!d9U(PIBZ`G?|+3=@8Weip}^w!x!lG$-WcIp1>SKT`XDfB%NxN0LvL*f#@7cc2N} zs-RE|rWMhR;1SwRbs!Q&v-KXpZqgk(tS=wp zci*k_O_pQtZY#?gt1^b-;f(1l9}Ov7ZpGJKz;`upIxa4b6WdnoYO8ZDA3KDsxGRL;q8@Q zR)@a?)>}#uydQN)ZFdnyM+;0nd|Bc<$9QvBLZfV?K&K@i{qSI9Nk5WmR=n3G6vp=p zdcNR%1MR59Uo7VdZdKB3f?FuW?}ySiG)1}}(L-tt6uU$nsni3r(K>|`GS}QgPh=V- zudIS)?z#}MK_6U(<~t8be&T1Cg>Tq8a|al->0&*7K(n($np_*712PZrn<~)k`+f>y zTz`5$Z6QrapB(WA?AbP6?hv}vP4N`4Rx!Qt)9lAt%#U<;a}DiKb!a_OiJjmnzjeGk z#C@Ty(p{3gHgTeah z?oM;C>}9wA`JVgY0L~fhKje%WB*+<2!h^6Irs^dURt!4^$ZWKkG@^_|I}R%*;A@jn zLa3i8;VEvXTx&Deh&5u23Hp%5#ZUU1-z&ipMjswI`heue94I^b;N&Ncn2UDdkDQu( z`{0e;HNoje97ZepP=zs!Eriw&->E8oXTj-XX73@LXEXUopV*JxV`px(TLV^9Cy&!(g1XZnNlk_msM^Bi_SQ@i2qEKPW}=m9eQL@9!h>p z9}^EhEia>VHcm$)6SK46Xthyff!(0OVT3(Jzrt^k8C#KYSEEUD0so+&7|X{a$l2v? ztv9fKFXBHsdoi`vWc6VQOZ6QDT(Ba0ZZpEa76px}yw(KG7o?VNej^Vpk4a6zcJbBH zp}F2O?3=S~CAcSV5T*b_` znKHs^>yMfw)B#^aHx~WraZ$VCjp?{r>C<9@$zVN;LVhxzPEdDLdUMb_)pcY6?mG@R zi>odeQg?b9NwV#*-dMQyR~G1LIDz58twR7PU>z0Os)eg#KBp21Adfl!9Nhff9_g{GeycqDgcC3qYohieu7-Upjna>NvhFF`pYAsASbvj6 z>sMt8EZ6KxmU|(SUegg}>T?j*cPW0$joLdx?0G8|ju*QZNB1AhSFJfxMfd-ykKW=T zo_0>pV}RyVR*ebvY+d94Tn~HL6cp^5QBY9Z#iPlrYpl8VV*XK}N_~=Cc1)2jv0Y+V zm$F?VpUdB?vhmI^g9Dmt6|x7Z%r$1WEeJ9={&7_!PxIv0{0((U%a_8X+rWm zc8yWd*}NPKRqFWmKUjfXE$Y)+ik6S=ng!Kg)huNlT}=6*P})SJIjp$>Ge;kN?s8As zcZ;dFJ&_0&_KnOc~e8hmwL0Hi_C_yBjqOd8=+rq{P3v@qNrPDexZ1Aw19U682f|I zoDODpLAsq$xSe?^$v-QYfI^-w)*h@%fYV)SAG8n;GL0y7H4<9l8Kyxl1gn~<3w2)w z@4{TO(>uoN{FEMV#DM2@MU_{w`lXpHziBKpL-Z`35yW_XH3BGwVtd~PpXm7MFO(Bs z8rjeoBaDtmAdLszA6V=hn_1bZaJ$UcQn!|J!z%4IDxCTvZ(qoLLae|mdB>)}66lDi z8r)+ZxYx}~N%?_d`+7GINM7Y%UD6gCgNU06jX35*C(D*karE(Z0o8SmM6FqvfXq8S zqIElst9f?D`+>^Dn#`R`>xMZ+_cqJi2eru*NtI_|WLCx`Oskt>ejkG=yNB_c-)CKT zk4PUJc+q+pqo~yc1u@<6Lg+&`gyk}G^o3bzrH8D?BF`vR%)&FJli>A}@~c^!K+9p| z5vg=kmG^QXJD)g^A$!xPJof#J;2QZPr)ym>obQqkzwmTQLYUo35~~XR|@&Q&mrr1E^=M|#;hYX zfBf4=jj{05Rv)yqrTAj6@eE?nyCMq&KrkBDGr4QY(E5+6!tm@kVs2 zijwnybt~Vtm%`T8))h5t`^)Rz-q)AitqP^YPD2n7N0?E1)?;*@Goe7o0ixJ8WKgFR2nP<%4(Ntf3=N zok>&Rsw1cOnuIc?tSU#H88#S(yGNl=%!!y0;H)|6693Bl^aJu~y5~n2 z&pO(DXAjkYx#LF=k7{KP*MPKO%+ZTd%Y-sTKn*g?>4#_S6DyTZ;9&lPb94Thq_}jz z?9ub04b)v|kK(~9Q0?)(-!9qQ%%Tdo2dus78%gMv$zmH&?ddhJ)j>4+E^>j|!Pa2< z+q=?xhfEfA=rd5OWA|VoknO3PK=_x>v^tzCXP{!Xm}>x>}y zSnCUR4*RZ_!b;br(Xy3n4z^nRP8Z>wvR0YUne@xqEq%Nom86tfy<@TIrk9<-L{ zOxDo^l7bJ`nLddg=H-b7SqpgbE~_pSPY%Ns=aOeTJ7Ps;8wA5r{+zq0(ZkP-OE&G1 zvhe4Q2aC1Zx~>x?$hPrN$DMYt?7wDz7A?i>Dv+hJx?@{UM<`;#U{Czw<}2H3TIo=< z;5`6Ic&ueLE^CcCPg;y$xIALx>RdO~&ggl*Z}`dDxDkU*S836mxL#tcz>9=U#~EI|lG4!6UMGhH&`(pC+jolA+gY3Npl(q%eoOf!jBo_&wg z7}-IR!ZWMlHd#`jh;@Z(<}KC7K}jNmiub@YRJGC52(29DRNmrt9-T&SEi0NyAujS9 zmLnKiFYNv}Zb#8dg#mgSflxfiC@p98MQI*HW?=AeFJUFUvK6 z!ePU}4M$R1%?%17s);wtXom{c1)eWTF-+Cxx-t$y&~Nu;1*-3bKR~eEr3{48mCPWE zU#e>5g?c_?!&1Yw@eYI3(Cz7X)5@3^L4ppeaL?jdjJT3>Z3SM8IfbzsAJJ>b4CF$_ zNzH&)X~|~OOAeO+*moxrFfTT(%ayZ5t=T=5$cG>EtSe?=uH@6);?mMWxdP!>C4$c| z5au;5b&kBX1U}(Gjm&K05zpe)9h+bpa*gai9Ehf}w0)3JU8OEhc0z2{7T=Q1VKmH` zU|vLJ!Nz0Ul`4f*tjm~G7A;vu318iaSC%ZedGXCnV#TiX@@oCC&h&aAK2OI{yxBoms?XH!)TSsiV?t z<_vc-rbTCKlGN#BPJW9Lca|4+F#_!Fq$dYwR7vYPCwHqLtQye8$5P0P&|=QpM$c+D z7yv6bUm~P!+>GW#J$PYCG%I9@3fEx3(7ett4^6s$Os#Ta3q^;_Pd1`X)&?@SVC3hl zN;*r2t)djFvSDa#g<&wHj$q~u9yXq=^z4oZ>!d-aqZ_-q+qIZT&=EGbHFd1Wogy5r zJoQ**mMuO$1xfW6x~p=_d{KYp_!TY^@f9z+K4GWU6{jgyv{!kj*e$+0{dHuPYJZ@u`pvr+b^SgpH3M2BdFCs4%9p_T4n;{mu^Nb`z500FLY>c(A3~7u;X;p#CnG`g*TBPJd$>Jm_Bi$@bkf z`FiJE>Ft#$oR4mqJ(5&mqN1KwaU2Xm(o$S>5pd)eF z$WdBY(CXYwX35w$BW=JBHyux{maU9Ke}9oBCeyIL@5k|( z+IzOo54e|v$-Tob86G)+NR~Sa?V;9FvSh)-(5G$c4ROX9k-zw{xB>c26Ac}UNx3fF zZei!deBqGb!IHEQc_aJ4va6iR?NZm1ZrG|F7SqgP@lKPuHDB3^sxC^i^pl86bC(Nj zY~hSM-N32!P9!IWmM;$N4rLEsgKFtdwOoSm&8+3xtjrKclp<0*)HL#}ya0>y5Qv!d ztHr6-I1%2e^Q=?}@)12bcvZS6%g&Lqu%;?C8p*U_=1j%pD21?`o0<{f^M|@sH?(mJ zSGQPps~^YW;IZ+QJ`sfKZ_ugvXk&yYepjo)na%Wx^B-isRlGk0l;5EQN*|UU*rDcJnZ(8j(s^XWZk5Z|Z zc9Lp{F^SzEfH?Mr)_27d@gJdscGd6Ff+O`$xzWYqN!C<*=k7#42wZ>?GfV z5g^O@9JIjfEi-kJWC-#yue^sG)qJk!eI*qwlWBH+I2&EGblvcv7#f@L7|l~w+F`k)Obn9LJrXRQ<#%u7wllgMfAgS)2^MT0T)~1-D9fxBpegJ%9t(npi#Z{ zn-oXKySB`A0?~5t1j&cwb>NVLz0ty zdDd8T?7yT_Y+zjj8?rZz(t$)$()DuE#C`oX#Lp`U4eRFT7^qj89?gDWaWp*+$~tHOqhzS$Pa!l)fJUdH>ytH zn+0?15&J5{WxXYzlXOiPH|-(!a~t=ZqQ(2p6(8VnpQFzI1N=A`&4LDxBU6un=$SE= zp`KGl%JbOpAypl}3_9EfAz#=V=Y4*5L@Ksy5j(+dBO`R4wAy zQE;DN)}|W46Zj(yO%+5%MSdBd_(*(gLNgq9TCfwjNo^6f3j74-x>KENhv~77sD259 zV37}ZcAt#5Ao&mJGxqhh;MQXoo*n2JvmbN5E|_LBrI{`qyFO2BH7`cTYmE@6s^Wxp zLi#|Y9B6U^LO)%DU9_}EfMzW2X&>eCMCRVCAESFbKP=5u8T<3i=pQjWZ@IqHCk^__ zp`>QH9X^96{jzjn=}ueV6V$3b(%z##1@{&{EPk4B6Fi~6W9mDH$ko$9VLUDA-1f54 zSIB71%bVN4Q!ldFU)l)}a(;U$oR=pNH`f$SShNdWMO%=x0^@A$4_>o|)0e%sfQEI2 z%#z@rKrOtZmBpIOn=T7dxGthwe9XJkiQ1sL{rEZ6@LLb7GJw9I^a;Kz{_dPUiVVu)i2($Y`cu<})t+WJwYjexkI`w&ZvCQ<68JiJ;A!8@<$ zf>#Q3JQ=irW}bq`8KpoLn7_Ls&&xSrH)*A11Oj5qKK>_(r$%QQ!opF(E7*i7YPolw zh8pVWJTGkHhG1<1122=5r!R|PRV+adP|$U z4CYf5b?bZl63WjdrCVezcC=<^+j1TFu(f$kP9tg(rU(sQ*rNP!EE}K)`!?f&aQ;*X zB0qk!yx5AKNwsFCYBN$k(^EW8)X&omd-*NLr0QiNykCH4R9^Dc3kXZD2A?#r*NqPg zCW2NvRq=FBzNv?3B>2}vHPw{~=cOp$5;X{4`GrZ|%`P573BPuyagJu&pmxF9 zt%Gcyij=;fhHq-HzTnwVjZ7d0@Xg!yU>9oDfiCezKW+!VX|Wx+w@XJNN zr{F9P28K(%@>9ttpEdUD*E{b#J%>fAeo%Vwvp+}?+~$Oyi112|+M)+lz})Wm?Qn~p zwteQ6bu-ExICV5N;Ya)ZVXMGaE)QEczc@N>KD*E0$T&?CRtGg?LouJ0%7+&`o|K&h zYI%NGLsXX9Caktke8Pje901v-$Sg#GXIr5&?VYq~{fSn=Q-NvcR6zW#{b6~j_6uDS z3bPfjz!G80)&u{vM{gTsJ@uG*k144W4nr>}U3k71>i!eSDS|iu2ZG~(8#H?H4&vn= zZ1hgJ?5UsksF8>--Ju`bY76P0H`3`Eai6`Q%&qt^Zv?;t>ctPMg<$9dwc*L|6CNaP z3~1OLsAum;+Gh*i;e`mNU!Gy`V$JZwGg1#?jE^;14;bxhKdnIhoXw*%&216!Ec~v? zBz5gv{EWw@|7$($C0ujPAF3kiw0s`-Nf~!j^vrW8%q>sHtdwKc_6=n{U(Mqjx$DYt z@uRZ0vxsq7{-6gEu;)GR%!un1${t@lFvpYy(IN|JB@%3j5Xx$wN-?kPrg1zG>X|hc zoS@Xu*)tdyZp9npny1=K-3XndXE#*sv`VsX9njMhXrTRow|$+c@pCy;Scvof4+-28 zibijYfd@E+H#*f78`)>NCGs*_VOoGLv{|ogf56}~1g?Ln6A1+NkUvE8ZJy<7t@rMyMtqxt-Z`WbjSc<$MXM8n8pT zC`J@q0mXg^7$PM0rf6?7{FL9{|Fx<;Pl-g8c_k{lprjb8Rb-p_YL}&;X{wIG2O0MV z+u%$Tty~Pl(O>YxUg4!4VET=EyuC+s;cprURHTV4U9bwQJ&Xc)>FaHuX>_+iG*FWH zV{*Dw6OsJ+G*@sFu^z!iz?=F2V`K4Ms5ESjnq$baoI~}*U>OGUWxYuOBa$-1+T9-T zrhmS-M648CK0TQ}{7X*Dm4dUR@lBxM@@%9}S^JX%Yg|(&TMmT3`_n=H8myC{I(2RV z#^pQvdn`8Ybsy{eli^E$a~jtGUy{u)1N*t*G=YY^+~VGx>RoVRW9F-&xjFme{C3FQ z`HpM$*TpQaJ3Ha+Y`4=kbPc0(UN+Nu?hAB`peHTw<9amrj|V$~ou8r=unsj%rwf1n ztss17KqhkdZ{11i-`6((mx6F1dwUmWm%oKovWAv+$}WaZF8{0OL{oc94T*2C3A_qr zz=jFT0R%03L{3=>w}2Hov;iy0AdR~ux`9DVB&~uL^(>9v@&otxW_lkxLs-3!?A`~% z?`8i5w>pzxj)xUQ_smQl=h^9Ag5Fh2N!i^;m-om>uAjeS|Cg51683UTmY4+yTW!qe`?~F{9XZV%H zw>~1YYh5}TB0QE_7gpO!s$9{0t&4B|<|235rP<9EO*J-ByXv%=8cE?K3FWiG zXX9_ObY;zq%CL<{U^&QRO~=*Mk4mY0I)o|kkO0q+H{v5B&OA>|@3K*a=aNHUY%ORm z#&vNw*)Yg&FZeNe)~4E(hn01nZVZuawX-daOYN7gFT|+G%wSLGnsJ$U388ydnb6-@ z$hoRaT~I=5t9s>Pmmpz)EnBuE9GT5ZHF2G){Egp{YzGGs)lqpswu8CoBya;uRf_#Y zSVVC{w^&cU6A6rq0SQJF%s_cT_kocX#BibXI>Qm&t`dC$IU46PpKAn+9|X)lE~C~) zT~T>N2?NWX9)4_jt3X4G!|)HCikgJ7&WEnG+QuEig6kjBfY05r-8&7%V+_TMg%O~7 zN)K|t^o_WyTs;C+a}BLBU)30Zn3+%KA)A7c!RPMz!e4>|e*SrHIg8B!r4jtqI`gbb?V=3O@!G+pn4)P_XoykO z935|}C0QHMYA?&g7nt0nRsL>>BA}M%tWVlNREfq`xpioSL?hL8h~fxJ>Z-fek|{NJ zr^;;ZC_e0KrLCbk-fy1HtGxf@5w3??D_H8f`-T)+nJJGl2-IpM->!2stG(s%yKl~FXZv5W{vUQn;JwDIj~9$=!;@k3NA^8>dMoZ!!-oxtVolQ^cFop=;VDj zQ|zcv6|-Qkl!gBw*s>~pK}OzYqGPTi(jbjzgUS=FJNE%yJNvVW`2F}}pDuRvvL$+v zcK!;VJM1n9!}Y9q;S`EzUcUGc#{j5)NhThZxalzb4+T%;$xLCQ@p5g>U^0?_c*b4K z$-&GJra)kd_!kon#W3nPFjM>*NRj@;(P9Y4{V|7Nrkx{tp!YK^B>h zv>8kUErjwhXw(9S+?Lxx#yTUoou`?3VM3r@glSJqDPRiyP^Mo$_Q*bvgRX{zV-}-6 z@PtD;qFG-LAbe9jCe%^w4rQBgXcF99?Gx>C$Veo2DHxvQ6~=d%M4uLVT%uNo8~U%Y zu0367<9l*mVxn!0Ugys6Em7^Asyub>As@~@q5A?}*G`M>ruzMJi)aq|wa9#eZj7Hk z9n}KeU|?ZTOLhRrJ%X2xlYHgevWCH6?m^=oj+qyKvnSkZGQal7Ys2{i>W=udBJp-L zrP6Xl?t=E*4!7SC|22UxvD!|y^tS|$6blFl@SpPx|12>T^)NMd{jWD>sp_5vc&gZc zWSb`J*q1`=lG>=KXvu9CXGEuV(nuwhamH6{7PE?0CvI3Z*RMi0HVB|#008PDJQ6e! z(b{&wbBKt5B8(B-+YkQxK~Vd<*BKf1<}F)z|EuiR-q+sSH{UVuk6+G+0x$->C=W+; ze%r_c+QERIxqjQ|BG?EJh5L4zon!Is;12bK_K1i09_C2s9Sjjtcuz;Vf+|M_;9Prj zL*6EwWJBJ^Pah^8{S7`u0f>{Y!c7l`nZ9HJ*zdaxL*k%s89syw*F(%x5R5c?kft7h zfbe4;%Av6@53&I9k*KkdFI2&tIQgjD_^B&p<_{O3d}PA7xBHMgyu{oOlNU_^e$3$w zPOO3Chc6!>eW?9tU>~Xg2FSZqpg!s;`S<%)qOOqZ%ZINpIC<5>?6)+D_cp>k=pxKL zbn-pe!;iPXjF%xIzYs#md(=2bRD8uLnGy*mlpk>54yd=-NmHALwunqd_3TXK}%&!wb^Py@-!MJ8F`H;6LE#x+%xrB z`BC(~)t| z%F&e1alU0@6wSuvkJoLUe-mlsF=&V@S4=WEE|~<)ZDcZWVV*yJj?BEPp{aZF^6`B< zYlIC}46fM@pKG}4lawNwl#RMNi^NIu#%82#7iK~i?uZ7?w1yEEy4DR8g5*qcP%1%R z`hcIJx3(gk8+$Ye2MQUw=3VD~G5Kzaj+x6+VD*lUaCO;iE|;?@?!X5i~0M@wF&p(Dwp?OHR%!nj^4`(V45 zU;!t0oG;Hr6)7o;K)^|K5TUl<%o74{JreyzSS%KuH5lWt-iEFG)R}bGnP||n#!hIv z-DUJrWtY#zSP+@w9F?P8Q_|5VK1Fu=aori6)KXnh5m2e0Xt);H4C77(*t(3UF~-I& zTgjIwpJ?B=VYFI{QU22k{=7#2fL`X}Ti3yZGr0*x*{iMry`_si6f-3Jbw0ykDa%Ef(=I^puh|MylaJc%$dr1tL3*UrqcJLdzmytbUkaTHi~2i2KuL33xn5UG zOZ}dbxA@StLvkcvRF_~Z!A!R5E!yEzmHo0OdqFZb-GY^+^w2&oCR>%4#^xe5@*GfH z$b<7u-~DHN%K_|LgY_< z-tt4wS+oIz_Ndd=n-Z+g-|s$-+AUEr4fG7tr*$$U*y)Qe=F`6zX*5;QN<%Vt6oE37 z1Ep~J9_Vl9XIicom~XAzm5kA^BqI#;c?uO%m3UbY#r*8m@7^4jqHaN>W6AO3PU&MC z@`|XP*gC~HTEntoV(E08>1<)FD?PqvgIZ;;4-zH$YQta2lP2yu2-u&gj2Y0&;7L~q z2&69Hyg8HIWRvYCt!sVZm7gp}PSq#DdY#bQVZNt&pD#L%u;fPSsewxe>%mk@m0<4B z89$?{sHIb=`;}^`DFM>xE(lnL-JSDz*33Sgeglfxd8@`ob~zAeGdZ4D8o`ua$wXcO z3OBDMhO##hcuzHXURUnRKGDab%A2&tow`?++1sh=4+u0|Ia9qJbI-diztv?9i9WV-x=D1d7G&j zZp+|HdV?E|A>BL($XwrS?97%pA5QY4Fj0}C6t0y=aEU_Ou8{ff8hZXGyH;v|u!OJ~M-Q=yzQZU={ zqRu_dj=x|vwGtj)q@}o7gjaQ*axG3(6X8M7q;XK%QpfxZnPQljwO@+2>S9Lt$>L#@ z8>L&;qhs7k>39NSMfdW-Z;sHuKWf2{MEKf_GgMMkpjVR#?&oPF;=Rrw7I}D|CQ97B z&Xgtl$A#-fCG6a0g`GOL^mlJx(%1O=RVxC*9P=U)aei>g1Jj%q#LN_$(4tW1hT0>T z8aD&%GeiAH({N8UW?6o)xWrB6D6bn|CS+O|sv3|`@&NbGtYA!#IAE$x7aGx`J@Nf@ zE*B-91S^^~9x~2i(Nxt#mEvmA7R9i*d9Ai|)=W++LVG&#S|{D|07sKHCK#${y0QzD zc%zFFmxduEbm5AqmOL?=7&xw!cGi}@NUn*H9emNInzZfZh3F3xMSd7G&72FG)()#` z8`hLu)|5QfhDL5u7}dEW%DE$A*^aTzZL6BrO>0?*g@(m*VWfux3nUK9A7%>=>t8O$ z@Hc~e8mAzQe{0a~0^%=MIPqIKgB1l(DGzAta)O~|$y$qM8_hxNsZM>col+`BJ>_0-pf#)s z6>Yphp50D(1F~p0I~RY#O&+#nriB`W+1P4VevwqPxUkXRgS9NQ7R9{t#nM=WN=}a1 zXML#2y}EhBBdrS;K5N==29-K<=4y8PVVF-JPGf7isu?1{D;~R*oki3txr%g9_eL>u ziOw-^9RGrs+QXYQ1Ia~&&XtDOw1KldM1r<;t9-P%_~g9+N$*M!#>hom5Jleksx725 zm3u+0I?G^a;m;DClT&J~)wJ=2!b~+dC02Ray0O`!%4>~KZmADRGjpP9Obdm;@Ph_j z8A5t)?l_{gPc{xa?oHRzk+mP$gZjEOFS;7xf4DVumAC_c!PSA2y0f}!&mITC5quZl zFS?g9B0kV&3*Th|@p1Hrz3vU^?-PbX7;lgD)D|kPQV<{I9&M$^3`qr3?h*uFQByRG z*iad>2R*<59b#Xub`tHKoE11HZ}s4+YtnU}?#dGAyWak83e<--9jL7R9+XSH58>JG zs+!NV-hRZtd1vO*_jse8J80TIuy)LimP`_pPKR#g-h^cTy{UDP`4aq!X|l&Q{GgR~ z=h_L9;*`PAjie{~gzoLeN2+8rrx(2TV3T0BC!yfO1w{7!`QI3Or!Y&mY+E}rY}?4N zZQC|7Y}>YN+qP}nww0j_{IRNPpR=m=KL4{X=H0xQ=wp1Xx6#JiS@$_=*Qkg13WfD< z*otODF1U$NN6nyjVVo<4=cTI)s}hyY#muQm&O~H$qmzF&u-dEWPjs#&xj~gNbja7L zt)Z}3J}&)<&h6Z0U2q3Bs$#6T77`A8?XnV4pKVF6=j-rKRFhUG=uE@i?2ou(A(_0| z>=_6!Fqlpr&ZLg2re^R!l7)( zGV2TG%4`sY1BpOTi?P$bQFXoW>WKKU@VUl*R-KusXSZi6n^*Gt$@(R$VGCk)32fXl z`^cGWq-){Qm&l|tF77u|XI-4HCN54KThs!-y5Xj-I^90H+-_iGc^+;H0G1=7D4O?Z zP_S+p+B&spYUFMuP(Tp1d{xQW4n`_IT%$I-RE92WTkxJ=?%Y9ayVrwQYvLQM|93E)Lz>?J^Wd2WgYx~y;T zo2*oc9x#ow4*&8ab_%(dZZ5hAL%6TFWkZ$Ip6>V^$X6DCz&ya2PajZHbO4bMqOvF^ z5$YRHCtblUvDt6O9mn)i$DuhRMuln3I5PbBQp@C=6D24jjKJvaANjM-s13NQBq5o; znU;tmf`5Yv!;S2?6~*YCOK9CbxZyNZCwo#)5{><-sM3^*3n;~zqw}rolExv@8FhFv z4x#K)SV#V}9!^~KSb#$YBQDVhv1b^{$Cf48(PN}6l-^1vh=(il0?04PsiA=0gA}NO zLmxXz^)PqkWY|8gLb^HfzMYGSUuObGceA$t1B}B%c7*yvNknh|#Xw5)HA@@=O}Tv@ zg;DosJd4OtV`OH9Yd^p3HITA6x;SG}D0-FnKKff~?|!6p*4tSik=sgmZ z0x0dDFg=3{j>^@X7|fqZoQ2Zl`Ycfl;3SNEBv*yU&Rr z8ony9d*wxI-EyN6uqh|943qJE!wxwF9%VG?y}2$D?l#N}s=?AMeZ z+zGT`3U-tn#)hy(nEb+2OM}7+zjox)%fgKG+j^T>xN%vlW^4IfBIywX;!?Avq8A$S z3XBO4%dzxNz;UEg4f4PMXzBx17? z&K1ZTupvj~g!nWNo-@hESg2=nk3$iy7#EANZU`>$*c~xT8ek#Mm4-RxhpouRTB#wW z?6L?~raT{@a_n^u2`SjbUJ;-&%07+Qgg#(CO0hB6FNFE}|y z*DoG0(Bdv7RE5PYrXsY^6lw(5WI{xXh$=wnR5H66vF@O+-9uiM8FVkZMuVsuI?owU zV$xS$R;zJu)!l=E3}qPrSEq{>jPCc3w-)i3(1w&IE>TqIi(-Qo(P9l??ZYO|6W)Tq#J!E(u(D0^%A z>aVKI5`=Wt4=V;PL~+e@wg*w4>_2pHPJqDRQaNza`Gyq|6&2MO1K)Vi(6K=gs+6U zDt<^;=k@|ih}0%D&w@SKm%9vaqsQhQZAoE_zgtTlaXL_nY(72Q0 z=a~w*eRZ2r>Fy7}BSHvEt2bhr%qnOAiraX&H|Go($Y$O8;@TQcwfwF0A<)T)V}JEd z_ljRIu=zEAi)rgJ?Y`xlb_`QyH=K8^`vIV$2h{xImLT*yhb`2d-T^|k?@eY=WA8&} z@vHwMuhNU0JkWF5wktZ8?ywaGnMsO|OSb^~Si=-Zb=SQ*Jpcel^hGleJUC2P-!6DR z9KypB5vm=Nw5~QI!sZ4UGMGeebsy?&UJf*%+h24SPXnFo9OoWnahoZ8Vb-{p7*UI& zFF=uu$jD8Szm{*F2J#Ja9=s7*CO=;of+7%ACNG{WVnHolL^+mpiTX3Q#|)9bO?_RV zkw%RvEJ9;3cbzWCNU$%ToazKqjXo?130zulNp6L!X4 zmvCF2(=+Cton0aZb&o*km00i|A1}E;O^p5d0CX_432%fxn61m3yURLWl7L-H(i9NV zsL75DCn#s0wyT0P}018YP0SoPei3kzuvN5g%^ z>J!xH{xNif3R=y$3R{%Zy9Fc@SihMTgWvDA%l3v+_~N3%9@$mR=m##Lje1F3!vf3EEM9(@f4TH5tRJMD)v7NAju*Yp8A^ z?f%^k9+wSWou}LH(O6N1~Z^C}s&U=nA=ByCEr>Lr@?L0k#;C?UKM64c-uQgL1Da0-52 z+g@#(l+b*v!jnlD>}-`f#wTTbm|@5AYvf`|DvvC zsam*TEun0!V5*06iDUoxAs+%vhfldG0S)m}MgWP^m!F6k#{eQc008}7a>p8!Dk^Z{Ql59FarcbgHS>=KMX-=0|r+)_gAvvq9!3m zg8fi%%|S!x0^59BBe~eV=Yre8cJzRlc+=u_TjY_!-BxHk^8vWq0hV`gUer5VbAqgnE|V5^8NmWjG|9LN~b6b7x-K;wdS4O(~k2zeJArP;SF?1pXz z1NLJ%GyBQMCoBVn5Lc0L``KG64ArFcN`)VgZ@C9_{#M8lB+M({_sOTDv|2<=sFXbF zE9$!Ged_5{KjdV>H}#z;v~bZG{y4kOvbI64AU%i=aO%7Jz1oj3ISl=HE;Z;7k>QU* zOuIp4I8HQ6pcPuyIUyPFheVxm@(NmlQg!W=(>!VqCf`66*d`!z#+yh78MC1GM+0we zu9on=!OEa(Kr~ycO>%+mIh?zg9s+f;`#wJydypEDeP&byEL30BYdJKU(!FzM?%~!S zM!a^eZ`L%_drtjqop9JK;qVSdbF%DH!NIDP7p)1^w5^DiUadS}*{m*rqn%UrBEz9I zXz5Ri3S3jJzsx*4dtuj^yMyW+cmLfg>L@kQ3RiRHieq!?syL{b?}2qg7U%&Pd~)$p zRO%D-i&3LW-?3eW>x0DK#i=tykz;!V4B=g6D`2q_y{-!I2^l#{eJplLysJpAULy&OA5dnGSY zBPTBcBRhjfzEtf7BcnZRfLCFbk~u z8$eFo&(Nsj<93S#7}YudNXTk3anbxM7dIl-TYd`d0I!L!;4M10yS#4wyx_X3^P;{4 zp0%ZShA`S?dyh!0A%X{VZBv<|vc67bUFTnrQq_0G5u2Sqw!qG_v7K6u-Umc#@MZ)z ze$HO^fSdlFY)ggFfT~poeEit4Np@Fl(YD7tf`*D7BzPz-t&N5o!{rg2H?^`!>44GQ z(6n+JP}b0~PfC8)DmoG#J#h^E@>(5U+gRI(KowfuPSxNAN@{llr7pY12vmTu0@a{E z$mVBDGR@+*IEN<0o2v)mB-3Qai}VC5(mC4+waLf3XWN$+pmevnLntO*)I5RbPJBbB zHlpGTSPk%J+f9jb57Q~t z0chCp*Rr~bQC>y{U@5gRN$v zj_{?#F0pt)&Cz`5Hiy(Mu+dB;!zuCmV?mWCuBtD;tQS`2J<7)lHc%z79XJcSly;l| zbHL})gVEB2)dHQqSobV0q~gninp~vIE%D-DHV5u&ecDLcv9u0)aOqZsBY6esJzQ^P zwo2zc9ep#sP9HtEVEFtK<<^*A%HHUDvE*&P3yP4WW(Km`Z@fbD;F zcK+?o@=qxn13gP2v+qcVnZDEi1?(g#Xi8#z(*dWAx0W0$?3$X_H5=VREiTsgH6{5G zfe9LeQ1Lv;q~Zx=+Sgzbq$9p0`s8l&czf}bxfp}zOW{3N(;WWLIIK?ep!ooF4pp#E z>Q;fn$x1&?V$XPWKFX84STT>rDCN-YoQCHRs;GC?AijEUmQzaK-WxENUc$3rrd zP_KtY`k2k#NaFY)yxwi=;(JU9nGd_+DV5*H1a_T2-ignRSw6(>F4s5zq+(K{;Dzy! zF6)5+MeG+@MjXqV9X~wCw}?bUwW^tZYBGm)NGb~4#g{IsCiX9KGju6$8mC6|)?AHy z{UYwjR&aVaz7FRa(PYLT{ne0XJ$CUk6Ml`Q6+oB^9A1~Z7u)#zK=pSWzpIN+%;m6# zxX^kSFKb7A5)!0x!}vWDOXWk(-W{(ZpDCB^cOaLq%#dmw)&>#oHS^?>6T8)uR#cNn z?h#Ao(LGS$(HQtS@&Xo>DkM#Qa?xlJj*5UkjMB*1fC}|BASyE1fT+N_5m(Qs66HbK zb4KWdEc27-*-~D!f7e}CO3c-hbhQhDrw!{Cj*6&87F!Hsc})lz-?;cQ)_H@ej|xIt z&aR$wjcRMs(!>}-$*QaTw{;V)a-j~2W=wLkCE4u0vJ#g@m5Sy&+B@3fNygSCg32WA zYxMJct&kdq$|k-=@?Ra7XEmI#a1uQL39dG7~Xg5i(op76)WU z`IZ}GNA(s6M0V^YFMQ!8F0#aki|Akk5uZOItynL{*lC0w8v^GJDcXYSvZX3huLEOX z@AM^Xuanaz)taQNBbhqS?rZT7NAb`89Z`XcjO->gf4I0Bw|QE0MaK0vyb=qBPy(Vt zqwXQWWg!GVUuibT8d&lk}u znG=N% z&2;9R^)jR$PfE zq=?A)933cF}WCIhGn^I zY5B;=2?Em|lwf)Xn-E{N!B$y+ez~Z&ddduAz|0(gV9=VgMfe93XD-l1L156DvBf|g zp4iKXa`8neF|!O7rVA`d_V)?Tby6Lmz@*$dz>wdbma~cGg!o7PGJPTTF4|jhRUS5i z>FKjEdY2hMdDj`h6QaZG#Y_7Wxf`A}(L)Lw2H4z15IAFR1Q2LYj3;6!22Ww9vVvaLdR3#qL6%2D%DSsJ}}&3ydmnT+OS zpxjrncCt2G{yO48+`nXXO+KBGV&hgc3W9bmX=FJeEAiGjCY7&Fu7Su>X)CWdyMA6%n@Z2BIQ-#;dJjpnalWhYg|$2itgI{w zaZ%2oq{*_fh|qw#p@Rb_1Q+8tWKQOw+uhp8k=6nNIPtJ9p_w@UejbTbp*4Me-jy@A z3{fB<^~FwKpu#Nzsrz|yk_`>7m_TDwrh=Qba@8tUnZ{%;#(jB(isvNK(2TnYZ8A6A zdYCcUIH*tP3)*c>CTmPRQre}i6C0^NU61C7tLKtMgpK=49sPWZadY(fz`1*CI}CtD zmlc#9cfVscM3cRz%Dfv)@6KzFjf#g}hxh#VkL$GvFUt`&hqjd&Z?9*>!t3mYTc_u2 zVL_K2^%ru;%)831K4&0*OIEvQ-?Wv@S`9LQ0Q}SFpI@cf4VNj+rvlbJG{YY`TKP*6nMOI+P5qw&i3DIUz z@6c+k>1OMzUh^4B1D(s__=L!Hz4T2+pMR3f5GeEplg_?zu>{+Y=`Mg+$^^Dh<$Wk* ztYf;X?G!baS=b#2oZcy#UU?&Q-%5jQdd?zYb}V*>&d*{}L%SBa3PW+IGivf`V&H8o4|m5DG62_e+As-aW@w z?33koTG$@4)B`;3iXgAH2`1vLirgjp0&HX!DiulH=0VM_OwqwZ?PQY@pq7Y;nY{r> zM|oT4?_K)(4_$%bXm=t1ttVu^Uw?t?|B1w>cKIi(k@_E`dfRU-4vp>qVYw?#Psx%` zi7ShVOHWKrP>oH_94I_Z%_xG)P|MLV$NR5dvNl%X*Qcz4$j!jB89RdCgC*b@&W}tCpk$?L8lVE=9-tPlV0DUJjOG9dV zBLgEdTgShB4Ca_A>j8ZDz?)796yWB*yk_Bhe;@$gGzVb0T@>M3? znJR(rnj9;?D|NS*ED`}P#ktO$#@O^{I!b%7535bqEO+-W!fzXZ-ARp*m3QD!cpBh{ zAAd#oytn&fb^GKo?lBH4fNdO^+C^+3D<`f>_mekQ!*nVs;e-7U7{p0* zgtZ4y`t@(g@4tS7@2~xT1{!<|zJClf_}8!k152}in?CT@+ha!`lexZWTZ-SbE&Bid zc7FZ8BH{*)f;LuG-&{f|Gi#%72&eNmng74S;z>%{-xz*mZXl=#%H~k3s-0Q5qXNeb zo-_e5@Hta~a)kN85hIKhE8P@m!2+NDoqSrRxk0?$7=~^2Sh?iJN4=A6c8{AjhvV%n zULT)NP}@)^N>XAUMLou0y}I)Qv)q?@ORHwr*^Lmx3?u z67*`m!?{mOqJO2=ldee)J?gA6$O&mG&$T(ldOamDo3>aU;OlUL*o zopv}+1nlLFS6e54H+|*YoRSD7sZ?kYvuxoKL65Wzr#V@tX-_yzwjk%LO)#!@JYlpL zvEv1cMG#}p*EfgySBuYE&@6FNjYd6F)9?E0S?Kgm_U(YtBX^x9CSg>P2VJoHHItbc z(&>2Bx&3PIW}U4Yv8_1c$R-Z)ufEhZW62)}bHt;lI;agdM{gI9DuohRz=O=_aaP7_ zQ2lN7Ye~Gn*D83@X(dSr;*WSLo7g@sEJiqMDtz!_CrR)Xu~5*&q|j0zV(}2fv`R!^({B+q{0?BweQ#TjQ%+JbnYCps>p)i4p~N)8eCr`Wxj>K7rF61Omya zJZA9@Omz_!l~#a1{4&Tcrcq$Jn3RnqBR|xH!!Nfa#nPz?rmN($^Z$sb5Ousl#l@h7 zW+O`wnFcA?1+H#`-`y-gQX2BRK~yey6O}5VpU6;<+hlFm_IAk12Iece`i3M{Ovgd6 zv5=mikMO1s^A^959$Ex)4K?t&2WQu%45{e0{GGD(S1B_5GKwkwF2U39*MEd`|Ek=- zm7tuS{Wr({zkJ!CNd9kVKfLglX_E$&^HF=Kh2V@FGO%zT(x7uGwHcuJZ(ABJ-w;Ga zt#(_U2VOkm?TZgrz)|=Ra6zHKQ%mdSU8}0p+EM8Z3GHi(DN-|>4JV?T`0svH07LcS zymxCUk-#{xs4l6rk_sh4U}^uvEeU}y)J3CVD#L zF>fi(qwdgl-VI}Y;OmIx6W#U0?S?R9mry%kNe(BIT(Qf3!$DUX{{h0w4MahqKU5x+ z4^3bqUaFu#OieZsCZ7_b#~NY=9a?vSkrbjIp?h3S$g$m+yMjsS;0So)1K-kNY&$rG z9ne~tK9SFW&=C&v5tXk$N_j`2P1jP2z^azEo@k>ErfaES=pmxTh)*`);Fz{EESBT4AU7icnZ$dK1E0T_7b4&L4>Iiwajor>&CLMMqn=+CuQ^LUE( zo{5cMa33_*coH1ISGZ@X;U9v4fkI!X4aLHo-s=n|juhpueEob1)hkayWt@E4<_ng3 zcBYfUHDL2DFbH;N6)b1H)mBW=Gp^^RjXZDCuPKH~A=sM2FnjYIB2YC`lL`0d z41kn4sSth)jSkn>1{7kLIMqI~S&*0Y2;GM7APRe-6*(7`iGV zWWiGqF9lFqkI;9MV4`-X7O3{4*-(d7d3CdPLg%2!5hOuJSbc_3lo<#^$drxP6yX(# zQV;kZO{HIWp7BwL;^}XZ{J&OvXQed5U)1M-?*|X}|7HdJv-B0e?I~-M@AYA;_l<%6 zuURlzN;BUSXyi}hb|XEjy!!&(CV!1QIYV;%?}$lZ7(^Wc5_H&h@l`Rjy7Sm|@=Hzc zSO%EK9bg#AaDz|c-IQ~cfQ31m<95b#x7*Ez&GzHS4DAj8^4(-F{4or=`CMJD!JKa} zaZ@TsvU0km{787TahvzuY#X<>?Ia0kcj`^~g*MM4u}sJXRG9%wBFU||S8a}i;HB_zFSOhQ9Rh@R z!4)X*k?oJ|N-c{-AC@g~<1To?mmd@Wlf)W}X`f8h+6|bsD^yaW4!F`bq2oUFK%}E@*kktTy#$+L z8oy=rF>nh6i0q?stHWqPNOtJ0rx}`Q!2fCm{*rn7 zQ?OT*esU!C=pgk7Y4kxH`4w5kjpS$JvNa}x!uHQ%fq2eVL0nS%iqTz~xe3A$k3+LE z9K!6V(4Io6NK5;?Tbwt-4;s4F^Vi>uR=OqX@nkX~Q}KxzDs;@u@_W+tT=5CNlNq-_ z9U+IybffR-xnS=aQlYGH4GbBP@dSPp9CG7FEaGqJ{*aA*1^K@Y++VeRN(6H+`mISN zzw7;f5LtiQ?Z0<+C#&y4N8e*GjQ+9J|8t8^ikp%EqDKyrePb+WYSyr#Jnz45R0dl~ z@(=Z=YppH%04s3Wpj(eZ?@ zh+ui^*oi(t)@|VKU<$>ffba;ygMX+;3PW@mI@V|qWJ7A$<2k!79C=E<cN=dLt7ShDm77>bRP|LvG8d<=$$v(F1F!2bs(om@Es2v9MckUg7zhL;lyl!i#45 zHS$gM4EY9-{jYW)N$c-9T>spL{;5Fz_7L7uvv5T|Lh&fkn%j<0?r;6Le*tsENt2T`H&q>BZ*3D+O!=LHvp|5P8AAFqKNp&DD)w#q31xN;n zQWykkk>dCFZaS7a*g9Ipvf}7)1_J#E7%RJ_&>$}Kk3n?ZYJRkP6H<;XQu{sq8y-JB zm51Fuxg$M{EC;+8zIi$KV=ac?DMY>go8UX{;mu!uHwR#y?{fVyFE4C(y!Z#`xQVw0 z7*4hQFAzSYZf<0eIrq@5V-tA@+CWdzL#(#K`Be$%VE;bA7mZIjeD?}HbRCds_vcAU;}zs(WD)-YKm=ms}~X|I>D^M<}#H#i<6dQ;Y)IoS4fjx z74s2h*fP(6-I?W(FTK9G^*Bi%GgP$8+n+$==tj`zYkj-x(!Iq-?a$+G5UH*OI+zy8 zT>&qe8{g$u^M6p7=LL|RHcAhAeP?|NnDrIVAU1NC$z-|o&A+?jf2`Pdhw6t))$$UDllkU6&Qhb+($e*!@|4m7 z#*V;;9nZlt4oBt4X#LKvILi$=i0lD|U)EM}c?|JZ0S1ecfWu;;RTP#TclEa3nz<#y z5;dX>C0oD_MJos^r7Nl+~@M4!h$~u8$JRV8hhH&!(L>{9uaI zK6Z!($Y}$aJ_lEk{s%~%-UvwVk-pRQ42f3IC3BJX0-4k1Zo^mFy=TPF+})VV0Ny=; z=$nsw`CEpLj~Q3tKH*M^T5p1(>cqIv3zpxjKn3mPyUg!FDJvi>g-aOGm@5g*xI{UF zOU8umKs92nihY_??^f^1{X4*m`bp)xh}#IQPe4!Re$m9u(b&aHAhuHz=lp=u6K432 z#b~r%e(n2R45mzr>t@s?mgozm3pTX3A~=_tYEF-qD6a11kX<%ZTzMHp*QF&DDLN^e z7{Rj|T;0B$Rlz!0;M^ixVS&tXZZW5I${13e|ZeZ*`;Uw1m?K$MMYQZAY4 zPtz>sYuu8{Nf-c-uJ(IH_c}P3P-A9iC6CR3(X^k9M^PXV+`UTO(ROHOo1ILc4AJ^5 z=#h3?}*sVb3bj&rihA#D3@l=3BB1n*;*HPZs{Q8n=z zh8gQ>x-v!Q%UHpayyKncWw-5xTnq8Z`W1toi~9Qi%v_}yohzK;4xJ@Dp;aPNpvo0HY9HbeL7H@2jps=pZ;?x?i<*~*s?l`3opx$D4X!Rq)t7PKgAWbYroPZz^VIb66WpB3_8{d5X{y=_W)j9 z_JGA)T+$U&Iib|pt3i#FE-cAGjdyZ-%a%j+H$`{1Zux`UkV7`d5E^pnH(&%*f`h9l z*YrgqdvcWAq|=o=f;V%ohuEsn)fZb_2G!_tRD97${nVqXJ$FUr_7j`sO@sCKt0i9k zoD(MAlkZHBOredp5eJ|uN^~#P7LrGX@g0JSrf~0)zj2Ml8&*b%yupd>>Xu4YJeQ5apuO;C0gVKVkJ7 z>&n_Vl(boZ?2P$S@$MS0@6H(1%XZ=GAGZ0Zlib$A_R?PW8{kujgYC2ibj`4aA$xq zMRlez?>v~Z2e%jTt5;0_LeWvZXv(cy8`vX+2H#(B(*zoaQ z74AD?Hws@zW&kmPs3V~k7q|ZhSw~#$;MNI37y=7XhtbgrJ$cWH;ivtp7igU!-Z``v z%D}u!MikK2Yb8!6X7I|9w z#d)Aw`KpX|73X?hSq1Zg9K^ zTQ42L&8$D|yfzl-GiE8a8ELw?xr%m`d$itCgkKcCVjIiBc3+&%LwFXZH{>^G)Tw-S zm>L8^3HHUYPMs3jZHeRt(D1Yx(@F9novR?}3#aJ}qxh``8tYDd{ik`GIcrvWx4~`m zsB>V>$s#1fsp>7LCSo&&%FQYwfAU5KC6?9hyCUK?1=${s)6tXwz2#6am07h;v(}b9 z%naKcr$NjRK62zP_kgR`GMjZ`p6yLrt8-nhJ+z>FQ2}a<4HSj8_Om}eQ|U*WrzVz? z({_BzCb6y_x^;|Ax?`~~4SxW?*^F}jx7ZaD)qZ2a0 zZF0dDz?G7QS#@kCPsnWm@Q;AU>wO95AcFWL0AD>W;2b^*`P28T(fG#d$xH&fA9qlk zqW7fjGz3@E&ZWykP=znu9@au!0iNsO%Mrk6^klPHz4UZ1#z)<~E@7$w15FaO40 zrZ#l?>)$(@L;WSvz3&xb{jH<_n%n!=_}ss_&424`{^i*zTU-49sOT=`35D-Io|}8@ zryc_zIQ(5uDA^c1_+B1iC}B~NGO|Wcz3$3S#e-AB;B=|PU$?)s#86@=(7b)Wc86E` zqp(=pYdg8qAQ1$J?e>nhuQ#4EyS=Wb4nJ;MZU7GLH2I+qAUWvf_$xB$68aB^`V#%k zCWY*n!!4lg*AB9Ahp+|T5nLwPJ4gVb&w)0Uw~QiECfw8X^oQ)CGWYKDi%uYu(=?qW zh^^67r8H~yMb390pb4%qp~sR;-a%&6H(Bg0vMts@afYBm)Pna4CV6D*qI2-$Ko(fK zgh9EzGV9p+J%&t{G5RND;=(Ub$t#lPi?4Z(Gm>d^4v|}%rnMC>19VqC%;Uv?WG_#e zALhMVkJ6$)QZlI%Z4pzmcZ^QAy>xW!qa?&zxD{Bl)^ckN6u-~I&o{Q?V?7wM%vxl_ z4e;i-&2p_bBI$Jwi0sF=>mBL!SKnPqrF2rs^@=e>G=3~hEN6ym z&fcWuf0P-pBke~~xX+PJc7|L3RC>fO6W~t?*Mk@eA{C|3)f@XGG`1^#6Q{6`+GN=~IJ5Oo1e0DOpP3_m5b$X_Ytr9$&f>}Xm!By|kM_g0!b2nqYUzvmhL zX4*Aki|GSMgNm(hjv37$+P!hoZ3FG*8&~RcI4nx&<@K~JPnYwEi;Vb;NJYQ#HIB0% zM1inMSzH%3#gn(cCnz9PTa_JLt7(r%R8~0`qoo1U!Yaf+i%4Zj#^D9nU{_cI!{b$) zDpN)oNa8y|7XivL5c|Usp*(yO8AzW)9U*f+fE;FkYOeNfFul*D>=wp_sBdX($6fjU z9~~&6`Pt3PaTrgL-PFYkbPD}lG{!iBjROe&WQ4w6DVt?VJLC+lP>4>X)m;K&||UdB(W{f1H|Sa z^_{Ea@CL+YFoglX2v79%d6|DK6G0bIVZJNXaPEk$DA`U_AAC8n-7+$qq=@*i2cluc z;c2pZ@+`BrXjjECMYQ!{F_Vd!z(}GFlX8i^1>)0k4^Eji%o5dcF}5aa!~m(Afc%xd zkvL=485l9{I(#iA^P+tkNd~495r!Ru{Oq`!rc0lgSn!sj`m98AvTD#+rFq7pMCgTa zcRgR$su(MHyQyZT9s=Zut={rZ1#zs3X=8U6LJfoCYF;cJ20Ie9y$Vc-pJzpjdTlIEeg7& z;iq<A3L9XP=0dtMiQA-B&) z;2zg!s0D`|aTU>PbP7d4QwPWG-lTnSr5$Ie+NQpQLWx6aF86W<#oqEstS+40t> zl4s?nn5(c~2TpPPxT>>=b%-EK{Ii*>OnT7?piD}%*cF_RonWB_0?wX*lH_`Mg5t6S z#Fc5M{ab0uv$B3A4O1oW?71%6exP%@1l%DKQ*R+|Ep*U4x0x?jkSiNX_xcu4oNa4y z?9EsPw&Nw8ojpK)W-Ldif1S~>{!IIzQs>!$OudfAV1R1n(4nwlV)X@Qf9<;4$TEG3 zgf+sYpX>~B40nd*H+)xAb652kL-Qg)Ha>Bm%JAwS&9(blh&I)%x3hjM2CiOq4Z^Yd zr}i+r7OC5@ZCsB4Ey#F{8^n-pg!73OVCD!2ZIfc3j&n#kW1o&p^J!5k#oi_1tA>+v zKczFPL!`Y-cL=sypxB=n7@-Wv#g2`d=b~fp)fPOBmo%&M6Z?n5_`Jj8w9P5hF`V0Y z$v;w<_k3e%qez7U)7A@Vn7u@QT!+1IK}u-X*t|3n&VZ_!aJ1X*YPanjNjE(V=Nou}t#D-VQvI=9yL7KWYD6 z6J=Uz&6Iq*y~Y1MdHWx``oA>M|HD#DQqcY@dCT3P-ry`P-I%`b5=kyXZjJowC!r}H zvOi=T*9(hy@YSfXiZLniS3ysqY!J^2&|5*c3(F4#C^Ki=>8y^E>L`9#)_&2+zQR-Q-EF7>}F+I}b8KX+y@FNAejKW;X|g z7TsfkdV5b}qiS1rS>Rg?o3k~WO$q|6gxNp+$wsEsLikJFXc75Y9RLX4Iybx;Xx|ECtfW`^43Un~xZ`sfDr%G@?>@j@ zg>Xpy9ts?^XZog0hpeOBe#I3|1M}*HnSwr^AgV_uP1r{4-cNIx5@cXPsLI_A5@<+o z{N&U3D()AsmT2hpv{% zI5!%mDIu9R8&p&TlAi3v7~xmQ1VO@^%=&USjb+n$s|w%E$%rYr+)7W&_#Lo#<~;E< zX`BC^Z9T#Z^g_2Sn~M|-&FBXoiFzoXY)9@_+EF`LKsX?iJG50sQWrQOuGLrX`W=2% z$HNk%y5-F^_1l5rpC1ydx;LbGG1GjF0eOrTW)qN z7|kk+IFIL0Yx+IE+o*vXH_K3g2D4PHksg>3^-FZiNSrx5fTnje(F_GFB3XmXEZ~9I z>(*|m+%yQn!A_nTQn5WR%bqGa5`kU0xiQ>$^;)H9?xoUL@u+V&3m^bCwum}iQlk${ z!c5gt5~n46NqFC(pb6GQq6Yl53#*x>FFNWx*g8i1baI(IvzA$s``5h4+q77yR4RzH z>&&fjdBh3x1;m}Sfcto+s-%gMB$|ay!_ZMCNuWT2Gz5WHP2dy94YonE*i5RCo?P(Ig7K!KixN+3e6MpbdN2d8&t!jBYHa?%n>+7(_NMIua zNfY7W{bqH_mnX|#a)^nN$_vZGQT>HwQ27A~c#aGzcd0(uts?ldEK^pVyacjA^fRv7o6YYMV%~YjH8r)Z-EEbP*8OtC`6>SUFC2{z;Sggqw zq#gB6Ae?&166>7m-j2S_P8Vs;65CD&(}v^K7kdjf=$LX zC1%UOxeF_UmFi8$O$P0zx6vdoAN^(^A$Keg+N5W#8tS`2`MLmqGI(rnDLZZ8$k+mb z5U+#k4L~rFWR8cwuT#P(b`@Tnvf$;Xi5gT3~voba_s~~@0V@tk6Vi^>< zHhNd;o4Iv>0PC`2%RDPPWQ;sWEs4C?~zRXm}sk42f>P4q{3_g9@EQ4DYq<|)`s zc|i#gsqrV5qD%#N{a{uxdKc*!9B6lGs#C&DFTNg^ zWWBLhvwxe6)db6`!lBO;KA>|6`zhp~bup9O3@Ug%6KMs51!JK?9L2Wq$F>=x(~WdC zU=?IRLn(|NdA3>Bn{M=NDnEH5U0x0E|Lg24fa*%Nt_kk$?oMzI?jC|`g1fuBySoMn z?ykW-xVt+cI3)1jyve-Gki7Y({!?}9+*@^f?Y7h1XZP;4+#~$VFG|RGt+4Bh!}gs( zdk7)T5mNJDTPgSFG3+TRM-;c_w_IdtH=J`Aw5jE-r3er{tC&)F35!Le;~_x#X$E{I zDqq-tyeFIsVk`arg^2WyH=Jmw+ndFkLI1QhwgrsJ2`8sX19FYuUpHR&7<}7-QMM{T zcN0AJo7rnp>Aks1nJ%UDyy)1^D&|>D5z2?PaAM$=#BG6Yq_AQwxtZFc;*q)!*0eXg z#9CG51K5uKHjX=E9m=PzP8nnVj9q&#DBT^IxADG~tqByx@r^n$ZM!jsJTQc5RaW89 zZ+f=+!)lXDynkhr{$fFVLnoXluy7(w>@(wIe=^x7M@A9Oyd!>Be?|q7z>COD z%ysc7B#|ztA?UT!u{^m=3CVO^_gF!9UuAz;uV#{K3j47DyKt%YfQ%YDBqDM=M(UnM z#3%1^Gx%`GNuI?mj?>h`n`Ouln_WYwrw#7Dn}el&@`f8(u|CbmAQE4mpamhpFUb+7 zt`H&a_w8x(4s2PgC#}u74ke%GhcY_$tTrFbcvl`WhW3SUIZ5|L648>3%JB5ZyGcFL z9URk9Wo?a8S;=3agBn#qL@9(;Pm1C)k#s3!jZEdKMq}*_PDu*}@AsdBn!wB<(bkUL zf@bCS2pl81`*ITtSTsGR4Wy$TGu=Z7s$Q8$b3k`xh~f5gErYb9Sd83YZjh!w0L?oy z9FywEt%6-kyxQ40lxYV8@c>;?m?K)LgEz?zx05n2(i6=Cdcu)^=n5tNRrLo*M9~<7E6ug&P9~{`H(J1G zYXV>*{Q?X?D?%)-pr@AW2BPs=t0~4FER2<>Rzpzg(&^NNld)NJ#J7%)+*9JVc~Jd( zsOorj54c$aVk1oq?EW&vKMR=5h?SD-;ztem1O_VX&iA@I_qY=j8^vLZL_VA* zmlX3xh&z$dA_x`)>Pb?C{N>jdkCa=e#f6~kqjs;d{^c6tYRT}*0I4o`VfK$r;(hAM#mCMLP9r)l{<(6u5>|^RuTq7NNlEN4BBm0?{ zh>_}VTfij2UymcDFl+}**Zw8UfmiQyHCvt2Kq;s zmR)sht zAHCostU3HLoFLSz);JUyj86Hmv0h*56pW>%Sj2~qo$&Z&jtD`6Db%3Y;lUK37ruBO zhT;x2%%~Z)ajAZ215W25H1&305;!$eWH@Bs6gV|Sga+!vofAdT)w2*JCUcc~Nr3Yb z6ySmp{k2X1(u6-2>Owkp1^_)W14}y-dlN^4-^U{5EBp}<%j{0Ot{YQ-tJWKuNZ*ow zuS*yqsVhioDmZoX0zBPt!NM^Kpx^1W-kX$q`_BDZ4C{;*M;ZnkMJU;AZ>(u=jK}GE zufl5W1Kry1@xF6tL&@-0`qDS~~+y zQxb1o`*W=nNY@-7x_FT?Cm$#=5qPPyHUui!)UICbi zx5O(fVAhi2KQ|w_>X{vfr3IjICeS7~kqMh#WnMG zUxz~EL8NMDV}%~=OCbC4vJd4VFu<2Pd%{FAqtx zV-xpE)``IerU7ZVEjQIEH`NO1JwbHYtS6y-;S*SFO#%k}m`@n8+H!AOr7$}8_BpP2 zh_3KgU)rencO?mwBQIdOK#_R!E-)R1zLLZXK47wU@p24m3q_uKX3^Rft^Iuj3dpa; zFhT|b>I3j}k^hU{`omeM2IH(aQ>RUH!4Ve+LK*|)_lg){P%jop(EBr!uwpzY17u*3 zv$$-m&!BX23XuGV+-d47`I6js9x6p;$|4fM@}*^Gx)voKE4=1sCs(T)OKw(fORi=b z2OZZbDI?PGOR^x0$z@)whT<;6Gy$M9rAIikh0Qm?FhL+hX3i0lkw(4VB>1>W=f!q$M#LGztxu zzB*?y9-Q)UukT~Fhh_-dMvjnjDAv8UNvYlW0yPi{eWwWRN4>$Vz*{3MS7+&npVe)* zt&n}LnSpLs*LPvBK6JsVooy2#JM5ezTh}TcjBeH{TzJt7E#=Vs+7SJs3489)zKTJ! z&(2+wLYY&}F!8~-P@MBEFUGz*QAPBs2=?1_u_NdFs3TU(=u>K>rp10U;WH`sWy+2@ zQ}-fS704|IO~SUT%~0=4VC=WMTjUFK;2G*J?=RWzoNH9~Y%>}@qj9CR&h(GwLVcac zt?4b}wTv5djPR50(JzGzDl^s^2=6V$oJv;8IDbdFj2Q*qZQ&3TDa&lyMFvR(1YynG zpdUf4SIv+wSx{{EMx{i+S*-Spp=Pb+#qMEH&0>@hq$*C##0XE(5JIOt)k1}Z*pf=t zB+EZaUUrB&fO`#rMZn;MK9JHxhQ2kgV{R zB&O$ciyoY!l1ko9Fvm6ToivvZ^^!{Ew;nLVzlHh;Zw{0(?8L4y=-q?Ao0KPC=1pGR zy%EA3-v#BxIEpoiJq2!n(CA!d4Z{R}s_io#O1h;&dzRhq?Qe)O+O;SySU-#k&-u}0 zpt3et@j+mgUK-BG62)dNrHv7yfy+W$1qQ`MoAYv(nVpB6xwx4-E(XB%7?c+quf}P< zsN-Vyg&!Q)2RR0{1P)<)t2S03JRMkDC0v=PO(O_rMAm%SkOkVQSx6aEM!=5E+}-w` zESn6C78u)4wTEevu!S!;B%vxsP=I2cUn+d1&0=DGu+LkTDm||Q~u@jYI z${Rtm-vq%SDj5IRX$lC<-tdrJV2$nTiCFzAe${O<&yhF9w3xiz0=)rNNc$&( zf>z=7B5Cs7P?1qsJ-Kf%G3_x{EXDA3n@G-))ZWfUk8yz_urJy!&kNRm9I~j~mFCOiC{wDzrDj z0DNr_B4Gce-`TDZkOeFK6q8g?kBLi2Rp@Aff%q^Bhm3OC@cRkz>Gkg1%lVILIIwl% z0FovL1h2t$w>w_HGYp|uolclv3HkItce@X)(@*h$^L0g;y7#PCKsJ~|zz?zc5o}eE zgAk*1ka@OeY^>MG5BvJ17{b+f<21^KICPL_^}~7kc4RIa0Z(@?l_e@#kKvGC980Bt zl>4H9rBM_iI%>(u#NvtVgG9-;pL9v%7Zv&NT>ZCIf&_@f81 z&FMka!A5vz4ddea-YvM_!<`FcN_p!gFff&}CM^ssFOdmHA65jbr~H104>4JpD9B=c z3K43H79K~bLI8&;z1vYQb3wl$DuiCIAtdDZq}H-8F`;>#VkkO&NJ@vv=LS+7)58&K z4rF>Z4fRkG6Em4oI0~^;i&WL+@V+o7u&t9`W@e6YX-gYbhW@Is=Ty~-H3p(P6yT*N?h$Xp^61S)>30 z)U{2kb$00|t`ACTe6HhkUVhEHMmgw1JQY|d$Fb1HTkFl0_SPwU#30R`{Agd-S<3S+ z?epJ1u>_Rtv&`Q0MWvi{Q~C$COTv3#Waj6g!OsF;DKgj?K-3zV)1Oek<#0xAT(<1P zE?u#?%JyrXz*FWEO^WA2Tf4(Eyismy6WbbG(w7erQfm=drEs)Q$x%fYnA9RvWgIYl zYL#J0pBO#aTwYe4n^h&w4U<&nNZceL-Jhzj{HO!-G;*?Zo?)mjn2f2`HaCLXXU9KV z6NC=ipxUyd)fquohDcChy_#B1C`m>$#Y8dZuD;+B!c5~>wVc{k(0mE3h3k@4pdRPT zhcB_RB896&uwd9Le+B!YVhK%Q0GZ_?u+&?#nij4ZGg{h@7x7dNt`MN!Go9%Ej0F zDC-ahxq3oHL4LmBxD5pFL=B0vEygcORqa@k-A|6eqA$bo1Ho$?dvFH@}zFBuY3ua0|E-@ewY7jxV2Klg`Bu+P)F#vTCHDd@PO1- zzOyL3nB`f|rN~SN-jhv?$~V7ax_CEU`A3c>n#~&kJH%q-S<+`S#-@pGV>LdP)X3O| zq+0DSJY|^6VHJ^y##9k`b_cwduxaV1g%H80B@ig3Y;j@}vb0C}nw3*&u2g53P2;So zLo018o0#W7TY}=`>Vap#l_l??>@$%W`V33XaG=wbMo%?#b(=J#>_c0fy@`EBBm()Zv57e8=E4Nmv=0UNdV+J&zX58r@ zs){V&&x*Zas=&F}73NE4C+~-Fg-0+qc4WjA7bjYvR#{VXr;+0ysPBuQ!wu2L4s#X+ zU$q2{#W%65_#-!3B1t`>UGVpj`;kOik*{$TvW15iF5x z6N){~bXu|)6X@zvD$yZcOC~f93d~wEboMA};#JDRYB)SnCzr@z2Q9S`p5Vndl)?mW zATn|pqOu{Q@?|r{xf_#nH6?8_#k7{ixm`$3HZ7({GwjLE@=I=kPBz3$==mbo`i%+r zBhS2XJDS zt*6cV5z3X(hs%zU7^@^HJB zu$G*rz$zJEoVMER_ST$D;kqTI6RIz$O$36H=q`qH&LD%!#e*LmF?PrAzv1_s(F1$b z1{dXYfumq+#B|2?`ZD<7tJ`i*KNx^8a)Qm06Q&^4r+~JM2y4L6m--OQc7MWIXPE`xMf>BtE`Ry$NInN?l^sf3aphFd zfEV2ACkdA!d>0|CbD8^k3#2*f&mgH^G``i=7PTggfw|8DD<`qO06TI$XblWSZNHwd zP0r043p#lD!A6DBY#OK=`I>{O&0nCEEe$4M6uMGgJUG0Aa&TLhK`mrt*8FAD<1%QH z!=w~{?MuQpC!XE~w;r;XQ({-|9R0}=q~$PQc^t}jR8($ol=-55s8pYCmvjle(V2vv zd)ImL>FUVCK16EYh?sCY+c=&l%uyQ(Jb#7sfUI^Z^p&sNOuvam9mEEa)Jwe9Jmxz6 z4Aq>d*^(W}+Z3O!;br>Q3UR>3)6Ee)wMaPXh~lS4DD`hZ$Cosno7$-4z+K|FKTc>n zACmiTBo-N+zx#l*tlaK7zftw)3BO zfJ|B=^5+#CcbBG6D{KG?S=(@TP1_rHy3@SJpPRU8idfyyx_r4N$+xYt-~W~Co4=f| z6!I#3t}X}FJCQk{WHNm_q6bD-m{wNtj*NC8E0R}hg(g5P6pRnt{?|9tp)=!GlwB)Q ztolOn5Y=#Cp4f74Ol)As=fNAFc-z9NSl2)Fk$#9X@mU4P-$CAKdZu^^^NAwg-l^R~ zu~<)-w?izhidr5YgWVTNGE1a#8e8yqB~D)K0V!$B(lZ!dIFs~l@#N*dq#q8s-%B#i zfzX~GPcR8fR>qtj*{xNei=eM9ztMcdx!x7y zdvVV}?G@pW=X%y%4~#Lq&(}!;u^jLz;~=|Y-^*_{@E!rETI`?!D%v8*K!1*6=m>-& zv9WkXTTZEOQCNC-X{$771kFsAvzA{u`Z z@T%~2#5i`(_jP24_eY{GU*Ui&%+LNN4815vn*9y^R>hW>Vl7De?hK$469CY-MR(-O zR5DU2%m~B3C(sG*eUj>MQav7eIhld+^ike+>@(>T!M6z=Mg$?IZE$5gOl`*+x&y6TAYm14%L;X#+2VPx1mXdk|m!gN`ifA=fgy>@Au0(Ka zurC54@r2ya7I}~!;61m4N_0LLm7U?ZIQU%0AB1q=av0)K=-*!|(RDoglJ z%yj=#1J2PtI1Xj-Cm3ITnE0IBU`Ba&$U$Kg`;b;fCo{a6a#kmibCO#vccKu<+z^6J z1cO%%CGV?ad>Lh2KXKkHuW|0J+AU>uw0{G7-4_auHiccCd_WDFhZeOYi{PSW)whVH+-JH&epwcU;QARK-6}q z0ZK34eeYOf7*^Q28*9+GIoG7I(-q^YFAbp~8%E@{XYekp-wL?@Ca-zdrC!y+rNki4 z6h9m{42ztIeDjFvNH?ydVgcs`hQQJQ1Cy3Z@0#t@j&}Dlr2iJHvLPGR8%-8{Tdg=) zkai5A4~<<6(}_#+CQRAbY;MtRJ(4eT!{~0-qP~2(TWvo3Rz!ZI0`BBClZZ=?FVU+6 z&QOZCksLR;Q;8Oz0d_~tERAab}&Jwa+HS>TTF zJ@Z-JUdM%N`s%!n0#ly@8v7U3KAFHKy(_}*W1IRco%7oj0d@`-6|910*~`icYO*^< z_x+ipryQNlvfGLS$KHIL5xS#CSwiQ8mZfVV0v~G0%ia;e`lrfcs@VJN0bY_}AQJ=$ z1>=zebA(V!cLCERMKHfheBn^#+426v@#FyD1<|Eb%1uy2N#x;u&X5?$X5sgjZ{84a zm%?t7Er&A3!wV4&7ezA$)*x*mm1XZ!x{KX6<#>ro8qVJw099fEOIggpS0cX1w~r(Z z*uH4Q%sCTfHH$TM7ZF`6G_?(c(pRHNES@DYv#^y%=fyuijfo1+nuy@3Tmivq4>m|X zux4sRwM>gAXTUPF=hWmBp#a;rm!*bi89q!X_3x=YLgE~Dvb0Ol=`;(f-;1r$ZE2%^Pu=W~`+kn!2r@5<^QaH9((uzEo0^S;HlMGyEESJMm-`G9I1oJWs4cJ8xu(jtE*jP z>|l(OAFmH_{51*HU*kVLDBA~t-x2`8ezZ9V#>t# zNodQ;rp)FIMU1E6p>@G-*EbaPB9LApd5ae{^brH z7NrrKQm$TSC@w;Gd&)xCg7*WaDq{ypj1<1kI!uA5;1aK>WT0QXQ7tafH?+7Xw!krS zckT@qLbEEJUZJz;2xo>n)Z9$;GFy5Re1S9Ys4QR#?sr0=qhjlDv0`00DLYMiJ@C!z zslI6$Boxf!40xmb-QlS|mzFu+jWJyo%Lh85o6RXEM#(ZIlZ+$O8a;W?Q#*_b`9ofp8|@RD1^z6~%@D0^fu$53B;bEnjQg(fFSjo#I zV9|i#%IZz%SR|*W-wlcsg_zJddPAk48d@6$3qSdtmG8K{J%X{&lv2t1hW7~XkmW}AlX%Y@u`TRlUV+&)vL8F{ zf-YiWMD7qn?1a5ToAO}Et_Rs$atT5`)c7xnx~A@{$k5lBhK!n@Fb%1+nG$r>A~1&3 zUnMk{D^Sg+704^eXeg8!yniEqNzC42z7IjFI11XWD#4@7wftc*HHSGoh$O{hhd(3< ztqt|lVnIQYxIDa`AcKF9{Zpo7Bb-~IQ;N=*uF!g2pl{=MGK=8g7mokF-L;* z?!)tqrrEMo`)+%w#Kw*UR{;xR)N?ok_L2nqUdQT(Eu4#m!lePKkLA~J0}D+tYbr2~ z#GB~yLx)K&cKO`zPj)uFw7Rra=v|7faj$DcM`=Gev1WD|dtrF^EX4w}Z7@aU78A~2 z78s1YQ}5BkIuk;QNs{N6@1uPyUqzGKqjD{5%yfM&EUYF9)(j~mincby@Ufzk4vWnc zHrmGfOn=&DAngom%)Xa~#Mgz(r;u6$^%{raWcGAiG9_Of;MlkhF--Q`v(@!TJi z&C3FuCf(|vQCU?e)l(Hd&}^jd?yfB<*?t-LL=jwm)D?Z)UvKtysk`@)rKobeWK&UL zlL+y&6bNf{Q^m4Tql+QCu9z~RtsD+-hIKvh%^=z1> z=DzQxP$dSM$s_5s@k2zVn^RV=;dt@6kj%9+<$?Vt3Qo*ZG7Q80r(Vv_QILIBJauQ| zw6Z)aGPk=~e%}N^5Xg(JxVs1oI?u}9dtWpHK?2jm$?{Dd8o9`Eo#~Vt)JiUDAJU6@ zbbPGY%CPE8TS5AOQVn-Is|$BKr^|wdgE{{=X9fgZ7YAw|+P;TG9EJPQeo7t1hZ%Yz zDrOZ@DVyQMu+=#l{pOLvckCs^m(B$9q$R;8dHGc5f^6O}Zi&jz?C zx`)8pC(N)3`%6eYZF9a}($Q9dw;(=HMEfZC?4Om*4$d&DjJ7`>Ww-Ok`_4lmp}_QX z1@#Dpem+607V{4is}v4KN6fbh9}lobOEP}>4)%r;EGgsG_T<*~(&_>v=n7Y@MepOop4yr4gkx8G)mNJa~L0Jii$9ly*+ zm2gkV;C#q9b6?|R?s#&4dhrg4hD!hSYk6rRUqOU>hOFG3z|b@a+PrA*%sx6=avKfL zvk#3l9XH$6d7JH_5YWhOBjz?L0tMB>*U772{EJllkLYOji=ex8wTCyL4Vyiad}{`2 zg(_SlE5mn~@<}DTkhRqWSl-SnB5Kqf#V@NMp?gi3n%nK6EwNF>md&#oS~7_Z*kOjd zaQnt@)70zj2X-Hl&zTjBzh&y*xl(GGc&DuO#)5@MM?>+YiM5pi_G^Y@`t&4Wd|5={ zbRHl3)N~$<)=u@*nIoFW2~+D~1%`OOsMyH3QnT?M+&~rNF!FY%6U(iU@vC!PRkGaX|TPdOUsO< z%|m)JZE)N#*JtqMq?5NS5-hQ-n<-~m64e{gct`#MXUKf#@PS#P+_y*%$L}k~sn>`o zNklnGY5_{q<+{^*1l@JfC0Mp}XdOhJ-m7|~_0@+&v3y}~5xE5susjF?6(~0LktUJ8 z`d$}l*(9_0nieU(&${g|62wQrn@L)n>8HX!FFCT0ecFt@il^OxDCCaa(y<+n#_c6% zL{oPbMKV!|BfSvYk63qbqS=im=Ok%=O@Q-daD~Ot9n0QGsP7FW4bJ6ytS`uiDg^zn zdP#kE@DU63A2|sUo}NwL^_`V=$$+Pz7;u{PU-4c1@fZj=>DU_l5diZSzKb#?z*;4{W%qP8O6(l!>lT8Ha0Dr@ zH-bUBMxy#;s>o*6*w{#lU4hf?>EqX{ZxG%tr4-RUaBy7JUrYqwXQg42Gv*UP2=&&2 zqXBkLSVRa{vXOysml@8W$~n&z47?sJvuWuHAp1u6 zVZafKDN6f3@yNV&m-sc!!*XG3`w2(Ed~MTSioXW@3DZ(m$fH^F;F_|`7k{r{9n2K! zlXI2UcXoyHln-6D*dq9cK(?=CagN?9GiNqb*ULs0w8b40yd0Vbo4lPrGrqqs%JK40{73 zRmTm>OtJOq6#;hg>WL)$VqLGoSTxZSy;0F7J_sgxw+c7+n)XWL4j!B%t@#`lxJ%pP zdIY_5z!KdB{jlOe{-Jzf%7yyqW$SSluGVr0il#_Y9{uBR0?)yM`OSxnOtV+Gh2ax8 zZwj4^K)Y>weeBg=@`&WVHjWB3uHGAV1&}czrO3#^EHLqkWi< zCFtA|>sBNGEa48R$J;R)B(7oHa;h&haYC7hP}N|YZ6fFgw^n~&u~LAF!(suV_Kdze zBYqwD{}SQ#EJ!axUPh{$AJGF4gFRhQO!0}B1zNO1hDux>6&M<7wc()IT!OuNCH|2O z;StCyzELIzG)@pBF~gR*`Oyf6x=a5P# zh(eckvQTPp&W4M_TKQISIaRV>8Qxm8$7~z2zt`;x#NX>zXaarr5D*dR4tOK@S2T8l z28LF)2BIdmcJ>Mmx*UYgY<64~NC1%sC5Q zIcB5K2hN+o7%UT+9*$Vg@ddX5>;B~I%GEwlht^0vL9zFZQ;B-9=8S?`jj}?-O1hYq0|=aZY-U7(`m_62QfOOLFAzngSzH2 z_2y*uh}i65MD2;ww8Z)X4TqL-N>&dhN}RwPwS{8!3Nz5O3sS6;!(dr#N&^0t;3*gM zK!GXB`C@}Tf`w)iYxgmR?Z_3?TI0BijKO7)D+pF4r3lI5cN)#|gZAnLtwm0^)Kj&J4JcF%j~qwCMHpIm5a~`Sj7_76b%lGWe2WvixpZ z4j}CGvd;uN7)jfuIqIYCe(fdq80xpdE@sdhhD%$5oZR^s+!$@5HJ8O)H~jQ{!;nL` z@M@*-Dpt~YE+%uo)iBPWM}s8Qu=YSGX=Dq=)Z7?^7srHwpm-kf+Y-9iZxBhv~kz$4Vtcqb~HNRbkC%f zKkO$v*VN`u*Y2e{M8frUerZI6-wo3!(#UX?CBf@1^Nl_BE5YB#kT@Xjl<$$%Ujbt@ z=dWY5f{UHKfyKY^DP+VBOLp_427a0^v8bz`HJuSzW)(yc?g_w%M#p$V|N6i)6@My* z6oq_Ba8**p7lxoS2${kJu}GjtEuHz|)6-~rQ>#~N`-{#O=1GJI5ya-GIcol+z~*S# zB7|N;ugE_^=`Y?#^Vbjei)Swy;jc=sAceYd*~Y&)vkT)AqE=;*?I}&K^zM|;f?28s z!{atqhi8V+A)IJKSr#M00@pfip2iUib8KQ)APz+VX2mhkg|_k-Y!u6$n0<({7nKQe zt>=vPb*Zne_f&PGq_VS?e#dU`vJzBEnHKI=QPp`cH}t9_-cT4!F&jt(I8Q7ax94@g z3aZc63rUM|W6$ccJ^~g_ffG~bvbu>%xUwm`ZesxLjL~#Tt|cPJ*M8QbC9Uk2qCTk8 zu^o1m5S&-*^25L(W4W8v*eTQ~33dkFr##Fm|2GiYzGXxD0HE?#!4nq^Zf#7Ep!=ZY})X&G8y`OLX^q zcbj44ytfdyfHy9S1${qIlgUhioAfjHz4WCuFV9C{YoLBn>?Jm)`LSHnEi6acX*w3j z6qU@&+&O>6HXA_(?vLYSrH(uY_}bwQ<@c2Lyl#>!?+Cx50N%c5?|ZH~kW(JLtyDO<uZne-ZbcCv< zF$2qdHyUPJhp=LxJ!9_Eq#g9O;s7^i?Kr9T>k|4vF5@E$oUAOA;wKcDO1F;z*o|jA zZMP9A$%&Sf2rz2CN?s^z*BUY~ZZ5~~jdMiiH41o6PuIL7@Apm#iCa}YzxbE+j;>H9 zn)|t7h8bHI&|4cI`KoPn(13hXWw?ZNhH{#>RsA9wz54CN77h)#`J-WN+|WQ(rW~+p zIWRf103$ecl{Eiix`FY&A=MS$?wkfg8sms4a%^YMBKD~drZpad?s^cV(A!9{x#QHT z(K8D}ZiNv_A6nyqQHf2d#J;?;lBp5g%nWAoE^Gg7t9g8f4Se zf+1BpQz^ZCL#Zk<@iwOin-VGx{2a|4Xbr^3{&kAY*S+wlO(Bj`320QQv@V9NtQt4R z8+Rk8nikHENB0MK!axzE(O{NIWV8w2VDV}J`ao-`&PwkkO=fDr&SYPq4A8#2u)I>ff5(8*wK=hy!I+0vl1#L1$6!Q*_bxf_$sV3t^Eu$ zN9Kagh_R+#*J-wDPVODMV6ok;Cr04PX=34faIRES6iNz8 zVHnJ`w^^WIe2#trdt~%wBcnS^t#`u}V@E2S-VfGCeT*>}%VT(eI*z&`Ig%;uMJ7I! zXL{VaP>Ht~GC3pJJM}JDd}e!213#USi5R2B<^n6T{&;>PvIKvr#u2=<_lpj#@9Kfw z#mGdwB3KRPU>y_=5?fe5C9!mWE?O*3Og_dzS*p&#jVOxM{k-iVxO1v0q7>H2mdh1a zqn7^~GF-GsGRV|8oVSI!L7J5yC64`Wnu9nSevFD-NbVq7yrPs!&F;y(NW2p`qL?J7 zjnA?*U4T1rEJZ!dslGs7g=XG*RwT0yjc6M7_U6*OFE+ z{+jo$cLZLqd@pE05USA{=w)`)dU7vV*#}Mx!TBN6jsQk)7-0%ZkkQM{L()N|+__i8 zuEAY%{1m#FFT6~95h>b|_O(8Xsl%e+V;F`MyxM&G_os5X_#>1UV2~F9d5~3msiZ5kEpCf!v0GR6j za{;Ei9~UCfH-S{Z_wRg2|C9po-t?Cg?LSidU{Ly}gaFRcza%{Pd%_i`QpXBPnndt(6kt%=@GX6NS?_l{NViUF3E03YJNS#$*C;Wri~{w%{EZ<){WK#N>g zGy!>)2c)L^8{RvBv-mf7VzxT^<_1at{&{gL3j=8@D>Db{-$UbWYAy8wK<)v(^!twR zpI5C91VD}JH_!mmUvmdLz`-(66LSLrJv{?EI~g5I9iu;`7M|yQ1WsG@JB9Wgz@hi| zyyF2xO@CuRQ#K-}_pAF!W|9#%&J@8C+09Aqo$UDQI83){JeeMu{3;n!3 z#Q|y&=Km|>`7R92%7Bam0cz*_kn!hL>qCqFTXbnFqyJe8W41@3Xn;TyOF)^wpNsnQ zs`cprXn_2t7XBuC_xs{=tk$pK03NYpz$ifYCm`Tn>w^jS`5R2YsX%)jbMxP$t#nF< z^Z+U|0WdKAy`5|T{o*%hf>u`c-*q>vWpqp|0Z!MSY8%hHfcR_!=@g)iNB~9su9@)X zRqNvo5dHfN^p7qe;%uPj@L&4$=cxYJc_q~VR6zhL^`DS{d#z83&~H)ycqo2gf6w&q zE8@B4?w`=LK5??Y#r;vO|7-Ypu5tJi&ra#Lcz{RQ^N+a=?#z43d! zJ=fs)iHch#(pKBfbw1i^(FD(5vQV38w>%S@=JU8{6YW}CGC)0m2^*@N` zpTj@rO#ca=VE#|=KU(6S7}TGedQQIj(^P}~zcBSjrTt&k^_;)*r;!Dxe_`aG*({%z z=sDfrPh%Kv|77g1+tJT4pOa1f#60o-C(IuW@(1)EKmM}2_uR^JR->O*4t;;I@*lKc zIgXxVK4(<;iP;tUE9SrFS9osc`6>UOb`ryXvGeQT@vqMOKeze(toBcv!cqUX&EF4K z&x2}zVxHyv-0rG8(6=ka4d4fGZMV&KnN;@^0FpO@r$ zyvI*NUZuYn`lY-6)8qDh5B(={K*cY}zjmfSpnt!k{=5*+_bz{$a<2X-Q~$?Y`h3go zC+vL9Kf(SOF#cf!?|A{9JNAEC!fpJ;()0I+ztr9TQK09}=AUNHntn0!7uX*K`s4Nw zW8ZVH<4=6i)_;NjzkQI;>+88A<)@+Lj{hzU|Cd|kwG \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >&- +APP_HOME="`pwd -P`" +cd "$SAVED" >&- + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules +function splitJvmOpts() { + JVM_OPTS=("$@") +} +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" + +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/java-iam/grpc-google-iam-v1/gradlew.bat b/java-iam/grpc-google-iam-v1/gradlew.bat new file mode 100644 index 000000000000..aec99730b4e8 --- /dev/null +++ b/java-iam/grpc-google-iam-v1/gradlew.bat @@ -0,0 +1,90 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windowz variants + +if not "%OS%" == "Windows_NT" goto win9xME_args +if "%@eval[2+2]" == "4" goto 4NT_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* +goto execute + +:4NT_args +@rem Get arguments from the 4NT Shell from JP Software +set CMD_LINE_ARGS=%$ + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java new file mode 100644 index 000000000000..318757ca7824 --- /dev/null +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -0,0 +1,490 @@ +package com.google.iam.v1; + +import static io.grpc.stub.ClientCalls.asyncUnaryCall; +import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; +import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; +import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; +import static io.grpc.stub.ClientCalls.blockingUnaryCall; +import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; +import static io.grpc.stub.ClientCalls.futureUnaryCall; +import static io.grpc.MethodDescriptor.generateFullMethodName; +import static io.grpc.stub.ServerCalls.asyncUnaryCall; +import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; +import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; +import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; + +/** + *

    + * ## API Overview
    + * Manages Identity and Access Management (IAM) policies.
    + * Any implementation of an API that offers access control features
    + * implements the google.iam.v1.IAMPolicy interface.
    + * ## Data model
    + * Access control is applied when a principal (user or service account), takes
    + * some action on a resource exposed by a service. Resources, identified by
    + * URI-like names, are the unit of access control specification. Service
    + * implementations can choose the granularity of access control and the
    + * supported permissions for their resources.
    + * For example one database service may allow access control to be
    + * specified only at the Table level, whereas another might allow access control
    + * to also be specified at the Column level.
    + * ## Policy Structure
    + * See google.iam.v1.Policy
    + * This is intentionally not a CRUD style API because access control policies
    + * are created and deleted implicitly with the resources to which they are
    + * attached.
    + * 
    + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.2.0)", + comments = "Source: google/iam/v1/iam_policy.proto") +public final class IAMPolicyGrpc { + + private IAMPolicyGrpc() {} + + public static final String SERVICE_NAME = "google.iam.v1.IAMPolicy"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static final io.grpc.MethodDescriptor METHOD_SET_IAM_POLICY = + io.grpc.MethodDescriptor.create( + io.grpc.MethodDescriptor.MethodType.UNARY, + generateFullMethodName( + "google.iam.v1.IAMPolicy", "SetIamPolicy"), + io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()), + io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.Policy.getDefaultInstance())); + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static final io.grpc.MethodDescriptor METHOD_GET_IAM_POLICY = + io.grpc.MethodDescriptor.create( + io.grpc.MethodDescriptor.MethodType.UNARY, + generateFullMethodName( + "google.iam.v1.IAMPolicy", "GetIamPolicy"), + io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()), + io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.Policy.getDefaultInstance())); + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static final io.grpc.MethodDescriptor METHOD_TEST_IAM_PERMISSIONS = + io.grpc.MethodDescriptor.create( + io.grpc.MethodDescriptor.MethodType.UNARY, + generateFullMethodName( + "google.iam.v1.IAMPolicy", "TestIamPermissions"), + io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()), + io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())); + + /** + * Creates a new async stub that supports all call types for the service + */ + public static IAMPolicyStub newStub(io.grpc.Channel channel) { + return new IAMPolicyStub(channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static IAMPolicyBlockingStub newBlockingStub( + io.grpc.Channel channel) { + return new IAMPolicyBlockingStub(channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service + */ + public static IAMPolicyFutureStub newFutureStub( + io.grpc.Channel channel) { + return new IAMPolicyFutureStub(channel); + } + + /** + *
    +   * ## API Overview
    +   * Manages Identity and Access Management (IAM) policies.
    +   * Any implementation of an API that offers access control features
    +   * implements the google.iam.v1.IAMPolicy interface.
    +   * ## Data model
    +   * Access control is applied when a principal (user or service account), takes
    +   * some action on a resource exposed by a service. Resources, identified by
    +   * URI-like names, are the unit of access control specification. Service
    +   * implementations can choose the granularity of access control and the
    +   * supported permissions for their resources.
    +   * For example one database service may allow access control to be
    +   * specified only at the Table level, whereas another might allow access control
    +   * to also be specified at the Column level.
    +   * ## Policy Structure
    +   * See google.iam.v1.Policy
    +   * This is intentionally not a CRUD style API because access control policies
    +   * are created and deleted implicitly with the resources to which they are
    +   * attached.
    +   * 
    + */ + public static abstract class IAMPolicyImplBase implements io.grpc.BindableService { + + /** + *
    +     * Sets the access control policy on the specified resource. Replaces any
    +     * existing policy.
    +     * 
    + */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(METHOD_SET_IAM_POLICY, responseObserver); + } + + /** + *
    +     * Gets the access control policy for a resource.
    +     * Returns an empty policy if the resource exists and does not have a policy
    +     * set.
    +     * 
    + */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(METHOD_GET_IAM_POLICY, responseObserver); + } + + /** + *
    +     * Returns permissions that a caller has on the specified resource.
    +     * If the resource does not exist, this will return an empty set of
    +     * permissions, not a NOT_FOUND error.
    +     * 
    + */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(METHOD_TEST_IAM_PERMISSIONS, responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + METHOD_SET_IAM_POLICY, + asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + METHOD_GET_IAM_POLICY, + asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + METHOD_TEST_IAM_PERMISSIONS, + asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + *
    +   * ## API Overview
    +   * Manages Identity and Access Management (IAM) policies.
    +   * Any implementation of an API that offers access control features
    +   * implements the google.iam.v1.IAMPolicy interface.
    +   * ## Data model
    +   * Access control is applied when a principal (user or service account), takes
    +   * some action on a resource exposed by a service. Resources, identified by
    +   * URI-like names, are the unit of access control specification. Service
    +   * implementations can choose the granularity of access control and the
    +   * supported permissions for their resources.
    +   * For example one database service may allow access control to be
    +   * specified only at the Table level, whereas another might allow access control
    +   * to also be specified at the Column level.
    +   * ## Policy Structure
    +   * See google.iam.v1.Policy
    +   * This is intentionally not a CRUD style API because access control policies
    +   * are created and deleted implicitly with the resources to which they are
    +   * attached.
    +   * 
    + */ + public static final class IAMPolicyStub extends io.grpc.stub.AbstractStub { + private IAMPolicyStub(io.grpc.Channel channel) { + super(channel); + } + + private IAMPolicyStub(io.grpc.Channel channel, + io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected IAMPolicyStub build(io.grpc.Channel channel, + io.grpc.CallOptions callOptions) { + return new IAMPolicyStub(channel, callOptions); + } + + /** + *
    +     * Sets the access control policy on the specified resource. Replaces any
    +     * existing policy.
    +     * 
    + */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(METHOD_SET_IAM_POLICY, getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Gets the access control policy for a resource.
    +     * Returns an empty policy if the resource exists and does not have a policy
    +     * set.
    +     * 
    + */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(METHOD_GET_IAM_POLICY, getCallOptions()), request, responseObserver); + } + + /** + *
    +     * Returns permissions that a caller has on the specified resource.
    +     * If the resource does not exist, this will return an empty set of
    +     * permissions, not a NOT_FOUND error.
    +     * 
    + */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnaryCall( + getChannel().newCall(METHOD_TEST_IAM_PERMISSIONS, getCallOptions()), request, responseObserver); + } + } + + /** + *
    +   * ## API Overview
    +   * Manages Identity and Access Management (IAM) policies.
    +   * Any implementation of an API that offers access control features
    +   * implements the google.iam.v1.IAMPolicy interface.
    +   * ## Data model
    +   * Access control is applied when a principal (user or service account), takes
    +   * some action on a resource exposed by a service. Resources, identified by
    +   * URI-like names, are the unit of access control specification. Service
    +   * implementations can choose the granularity of access control and the
    +   * supported permissions for their resources.
    +   * For example one database service may allow access control to be
    +   * specified only at the Table level, whereas another might allow access control
    +   * to also be specified at the Column level.
    +   * ## Policy Structure
    +   * See google.iam.v1.Policy
    +   * This is intentionally not a CRUD style API because access control policies
    +   * are created and deleted implicitly with the resources to which they are
    +   * attached.
    +   * 
    + */ + public static final class IAMPolicyBlockingStub extends io.grpc.stub.AbstractStub { + private IAMPolicyBlockingStub(io.grpc.Channel channel) { + super(channel); + } + + private IAMPolicyBlockingStub(io.grpc.Channel channel, + io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected IAMPolicyBlockingStub build(io.grpc.Channel channel, + io.grpc.CallOptions callOptions) { + return new IAMPolicyBlockingStub(channel, callOptions); + } + + /** + *
    +     * Sets the access control policy on the specified resource. Replaces any
    +     * existing policy.
    +     * 
    + */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return blockingUnaryCall( + getChannel(), METHOD_SET_IAM_POLICY, getCallOptions(), request); + } + + /** + *
    +     * Gets the access control policy for a resource.
    +     * Returns an empty policy if the resource exists and does not have a policy
    +     * set.
    +     * 
    + */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return blockingUnaryCall( + getChannel(), METHOD_GET_IAM_POLICY, getCallOptions(), request); + } + + /** + *
    +     * Returns permissions that a caller has on the specified resource.
    +     * If the resource does not exist, this will return an empty set of
    +     * permissions, not a NOT_FOUND error.
    +     * 
    + */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return blockingUnaryCall( + getChannel(), METHOD_TEST_IAM_PERMISSIONS, getCallOptions(), request); + } + } + + /** + *
    +   * ## API Overview
    +   * Manages Identity and Access Management (IAM) policies.
    +   * Any implementation of an API that offers access control features
    +   * implements the google.iam.v1.IAMPolicy interface.
    +   * ## Data model
    +   * Access control is applied when a principal (user or service account), takes
    +   * some action on a resource exposed by a service. Resources, identified by
    +   * URI-like names, are the unit of access control specification. Service
    +   * implementations can choose the granularity of access control and the
    +   * supported permissions for their resources.
    +   * For example one database service may allow access control to be
    +   * specified only at the Table level, whereas another might allow access control
    +   * to also be specified at the Column level.
    +   * ## Policy Structure
    +   * See google.iam.v1.Policy
    +   * This is intentionally not a CRUD style API because access control policies
    +   * are created and deleted implicitly with the resources to which they are
    +   * attached.
    +   * 
    + */ + public static final class IAMPolicyFutureStub extends io.grpc.stub.AbstractStub { + private IAMPolicyFutureStub(io.grpc.Channel channel) { + super(channel); + } + + private IAMPolicyFutureStub(io.grpc.Channel channel, + io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected IAMPolicyFutureStub build(io.grpc.Channel channel, + io.grpc.CallOptions callOptions) { + return new IAMPolicyFutureStub(channel, callOptions); + } + + /** + *
    +     * Sets the access control policy on the specified resource. Replaces any
    +     * existing policy.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return futureUnaryCall( + getChannel().newCall(METHOD_SET_IAM_POLICY, getCallOptions()), request); + } + + /** + *
    +     * Gets the access control policy for a resource.
    +     * Returns an empty policy if the resource exists and does not have a policy
    +     * set.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return futureUnaryCall( + getChannel().newCall(METHOD_GET_IAM_POLICY, getCallOptions()), request); + } + + /** + *
    +     * Returns permissions that a caller has on the specified resource.
    +     * If the resource does not exist, this will return an empty set of
    +     * permissions, not a NOT_FOUND error.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return futureUnaryCall( + getChannel().newCall(METHOD_TEST_IAM_PERMISSIONS, getCallOptions()), request); + } + } + + private static final int METHODID_SET_IAM_POLICY = 0; + private static final int METHODID_GET_IAM_POLICY = 1; + private static final int METHODID_TEST_IAM_PERMISSIONS = 2; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final IAMPolicyImplBase serviceImpl; + private final int methodId; + + MethodHandlers(IAMPolicyImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static final class IAMPolicyDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier { + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.iam.v1.IamPolicyProto.getDescriptor(); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (IAMPolicyGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new IAMPolicyDescriptorSupplier()) + .addMethod(METHOD_SET_IAM_POLICY) + .addMethod(METHOD_GET_IAM_POLICY) + .addMethod(METHOD_TEST_IAM_PERMISSIONS) + .build(); + } + } + } + return result; + } +} diff --git a/java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template b/java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template new file mode 100644 index 000000000000..681ebbb4cba2 --- /dev/null +++ b/java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template @@ -0,0 +1 @@ + diff --git a/java-iam/proto-google-iam-v1/LICENSE b/java-iam/proto-google-iam-v1/LICENSE new file mode 100644 index 000000000000..724a8807144b --- /dev/null +++ b/java-iam/proto-google-iam-v1/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/java-iam/proto-google-iam-v1/PUBLISHING.md b/java-iam/proto-google-iam-v1/PUBLISHING.md new file mode 100644 index 000000000000..b49df1abe8b7 --- /dev/null +++ b/java-iam/proto-google-iam-v1/PUBLISHING.md @@ -0,0 +1,31 @@ +PUBLISHING +---------- + +Note: This folder has been generated by the meta-data generator tool of toolkit. + +The instructions assume that no changes have been made to the folder and its +contents since it was created. + +PREREQUISITES +------------- + +- JDK 6 or later must be installed. + +TO TEST +------- + +``` + $ ./gradlew install +``` + +Then find the package in `~/.m2/repository/com/google/api/grpc/` + +TO PUBLISH +---------- + +- Make sure you have an [OSSRH + account](http://central.sonatype.org/pages/ossrh-guide.html). +- Follow the [OSSRH release + steps](http://central.sonatype.org/pages/gradle.html#credentials). This + requires you have a configured `gradle.properties`, run `./gradlew + uploadArchives`, and use Nexus to publish the release. diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle new file mode 100644 index 000000000000..94d6cb533542 --- /dev/null +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -0,0 +1,157 @@ +buildscript { + repositories { + mavenCentral() + } +} + +apply plugin: 'java' +apply plugin: 'maven' +apply plugin: 'signing' + +description = 'PROTO library for proto-google-iam-v1' +group = "com.google.api.grpc" +version = "0.1.11" +sourceCompatibility = 1.7 +targetCompatibility = 1.7 + +repositories { + mavenCentral() + mavenLocal() +} + +dependencies { + compile "com.google.protobuf:protobuf-java:3.2.0" + compile "com.google.api:api-common:1.1.0" + compile project(":proto-google-common-protos") +} + +ext { + packageName = 'proto-google-iam-v1' +} + +sourceSets { + main { + java { + srcDir 'src/main/java' + } + } +} + +task javadocJar(type: Jar) { + classifier = 'javadoc' + from javadoc +} + +task sourcesJar(type: Jar) { + classifier = 'sources' + from sourceSets.main.allSource +} + +artifacts { + archives javadocJar, sourcesJar +} + +signing { + required false + sign configurations.archives +} + +if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { + uploadArchives { + repositories { + mavenDeployer { + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } + + repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { + authentication(userName: ossrhUsername, password: ossrhPassword) + } + + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { + authentication(userName: ossrhUsername, password: ossrhPassword) + } + + pom.project { + name "com.google.api.grpc:proto-google-iam-v1" + description project.description + url 'https://github.com/googleapis/googleapis' + scm { + url 'https://github.com/googleapis/googleapis' + connection 'scm:git:https://github.com/googleapis/googleapis' + } + + licenses { + license { + name 'Apache-2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + } + } + + developers { + developer { + id 'Google Inc' + name 'Google Inc' + email 'googleapis-packages@google.com' + url 'https://github.com/googleapis/googleapis' + organization 'Google, Inc.' + organizationUrl 'https://www.google.com' + } + } + } + } + } + } +} else { + task failUploadArchives << { + throw new GradleException("uploadArchives needs ossrhUsername and ossrhPassword " + + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") + } + tasks.uploadArchives.dependsOn(failUploadArchives) +} + +task checkOutGhPages << { + if (!new File('tmp_gh-pages').exists()) { + exec { + commandLine 'git', 'clone', '--branch', 'gh-pages', + '--single-branch', 'git@github.com:googleapis/googleapis.git', 'tmp_gh-pages' + } + } +} + +task copyFilesToGhPages { + dependsOn 'checkOutGhPages' + dependsOn 'javadoc' + doLast { + def newSiteDirPath = "tmp_gh-pages/java/${packageName}/${project.version}/apidocs/" + new File(newSiteDirPath).mkdirs() + copy { + from 'build/docs/javadoc' + into newSiteDirPath + } + } +} + +task createApiDocsRedirect { + dependsOn 'copyFilesToGhPages' + doLast { + def outputContent = new File('templates/apidocs_index.html.template').text + outputContent = outputContent.replace('{{siteVersion}}', project.version) + outputContent = outputContent.replace('{{packageName}}', packageName) + new File("tmp_gh-pages/java/${packageName}/apidocs").mkdirs() + new File("tmp_gh-pages/java/${packageName}/apidocs/index.html").write(outputContent) + exec { + workingDir 'tmp_gh-pages/' + commandLine 'git', 'add', '.' + } + exec { + workingDir 'tmp_gh-pages/' + commandLine 'git', 'commit', '-m', "Regenerating docs for ${packageName} ${project.version}" + } + println 'New docs have been generated under tmp_gh-pages and have been committed;' + println 'Next they just need to be pushed with "git push".' + } +} + +// Regenerates the gh-pages branch under tmp_gh-pages, which must be committed separately +task updateDocsWithCurrentVersion { + dependsOn 'createApiDocsRedirect' +} \ No newline at end of file diff --git a/java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.jar b/java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..e8c6bf7bb47dff6b81c2cf7a349eb7e912c9fbe2 GIT binary patch literal 53638 zcmafaW0a=B^559DjdyHo$F^V0Rn=80*aQV7YF*=K>qvZZ-f5ZWkpp4=_KXE7(js({)Mne(XCA2FM-P6 zj`qJ3$_mO!iis+#(94QF%1%$oNYl|Tz)RCn&rZ)ZD={v!>>oc&(~V2c$j;D6(gMR= zgqfuMD$%0qz$7pGRbn(g*ot$W`RH`-1pIFc{$1n0b_Vu$Z0}_Le{AZ1r-A(^jk%Md ziH+(1lN9w|N!^_c9UM%Z{*NgZK_+I!e@R#VcGCYmMa16S&c@!*gp7&a*v8P=**8WO zW{?pnbkBlKi^h#12zD(j?0q-0fZHZ0k%}O z@ZbQJk&sUtNBWd+CAnc&Ywdy>+NIPsxM3ShXImfZ1t7bc4vQir)HRBR5{Az6QbbpJ z%-_E{21v+>QLHN#V^>;Uf(K`95a8FP!fX%qD3IWSjl}0uP8c#z0w*Mf1wj}dI|T1a zhwuAur#!M7x{CH!037}vvB>|2M`cfE7gJjWC;PvL90X z@AQvDC{?z#M-fEw!vKVjEgV)F)TVB(dZ`>o*)JI2K*vTxGs#xT$_UsRf|}R4o7g8l z)IUYrvfe|!6~{FHNF@SBy&(eUv<>`JsI$gU3n)I+Di4B5=1qZdJ+GcNzi$!Bs z)>ys4N7e4ICP5e*Xbbd)o50lDuhb3eQ06s}SRO1h(5Uhb^jPBK!g!z)c%d>{8-jR6 z?0kCiLzAg!!(^%6dof){R`Mhvxoy$Eu4;oyS=*;hfm^*KLTWmB1fUFiY9g9W z*-Gv{g>EJH2&=d=T!H(IXJH)HiGcY0GaOE1m1O0#55vB0(RT}N{ zgG%(VC`)%1L89{P7y_mxO&Ade>ue&_^9bZmK&UOLFqkz;aGXt;XxmaRQn-JQ-;xl+ z^EN01NxR=ccI;c3jQ!Xc6y{yTC&2X>Z20gWG9CX?;{vXk%>fd2`|;#C?-cHfwfH+P zZ09$ewwy1ms3e1hYLtICR-UZnr?{0HvlxkrhPAV1YEp7Uh%#>#)35Rt&Z_fEy-Y`$ zngx9`L4U{Lr`knQt)g7%G(9wowmGB^896vjt>j>$F;lHtLl7Gs((E4y@5r4}im}K2 z#NWGeImSQbHb=RX^c~LOPRb*ljB0fJG~x!}>|!SQC~{2`zF8tY$gahFyJgL}F6X~Dtk3KtuKp1D&?rPq$mU;R@2t6y~gnN#uqVX#!4O`Rm{ZB1qD?X6uM{=sytvbH>qAlkQB zqVDRmQVpQB%}N_gdqeA5b!m92DpCcC2wL7G6uOSS+eFjmQ@xkW%4%_p|4E#UZ%Bz| zJh*$JbH=^T`DA+fRzScHL}RcjNO5|?qiCNhPcniE%0N#{=PeRRtbypDGbjP57s*Re zOvyraP#RhqE?N8c%Wpwy{mqFw`_iXHLAkj!x21fSFo%nEPBzx5hH9-@XW8zqNyeR6 z8q=opn7kQGX>YGYLyM(G+&n{X@F6Rw!~W2eP zEr)gZ_6%+~2Bt5k=@2zm9o45B<34^Se3;0jW3|=_8#Trnf45lgtgdbOF#&5w_vNz3 zq@!GxtCerZCbBtJEafL%R$QB{Ru1EX)`pdP>93qJ?GvLw;>~Clsw7nrMnN5Z&nC%; zU&w-FJxYx+=n&6l@WB4EcQ=g{9>M77uSjMYXL%oDOD)vfrck;|)gICA%k^nbu+<*% zh;WbYc#y7l{Sv?LGSYkF6mDt`?s0|;QoXU)h;eRXh%x$o$x(XkCOjC3avc-SI(((V zEN1E$X?G)=_<$ULYUG&$bQ)&Ast3#nP6of!l zese9~Aw@dF`G?cK4BB0h3ptgky1o3HLgF3jZjFEg0sa1q3|RiNn2LHB+qgPgx|xbu z+L#I&8=E>i%Np7lnw$R9>ZhtnJD{54{jtrWulylaU~< zG7qb+?Uc!~P@yzaN{$tBg}fsa%4U%rUKTd06WvX%g|!#0F-~TYX=NC`G@y%~w~ci= z`uE$uC!6t7Mn18&TlNfAJaV#~nHbq}XA%Uwc^LYT!gJ73pkYjeOy%PN6AP?i#C!_K z%<>;ZB52@)Iku)zrI;G73y8}k_PLE~&0*95>G6|oTET1whLl>}j6ac|Ht+;G_=eWp zJ5CwD1y_Y5*Z;YR4SmT#?O$I{K7?|fHATo(sa2R9W>jTB_h%mn!~msPa$ ziQc?d@xrvF+p^<1WdeNQ)KOPN>ew_UwMn_>VD%mjmS z*xe1vLA(M|*bD}Rh6^@b5X%lfF^L3o_FkTcCp1tD} zNm`Xj*ouvb&Vr3mEL^6VNnI!DO^&Dy3$w_pV^#09kl$FmyJ=7O>(|?l(eUw)`^1>| zMDx6Ks?dF0&8V*>8{JA0Ez z>aLVtm1312Oto$2Nn}?VZ6laiDEQpmNh>u$px@I$6<(AuZQPS#46?xhx%9HjESl+Z zz&ImHGijeKdy;CH&t(oL5Js$rJ*b2ld7JAYU<0&SOV0<7188s z)2gujEeO~$y_OZ!D86ZIUHUcO<_dK$+_QMZ^uCT1=la)^)FFd`w5n>UK(ST&Okap! zya=Bf;%}gnNTY67Kzky)yig=$6uGAfSZ?A%Mwc88w!drxm`%5>amtC=>^foOjdxU2 zbRARNd93v6wmR&@!Qs`H?g*4f>Tt3eFdgIuV}Ip@kRr}8T@|D4cwD>{rUOr~fZh(= zP^HWba4^CP#0OHTgaql7DR9Aec1LbgspO^|>QU+W!LQ8lQxQNx_K8C>wDyfM9Av8S zf5FYLRA5`c)Mk!uc5qzf3IX&8$}YIYf8Wd*Qr9DTcPf+u;_8gH#|_V zymOT~MrU?~?&bOt`VHcrez!NLb7l5Nc-3`hyaJrp2V^*unxG*w?t^(t-#BUsKi=&x zkl_-!gT@lXS@wp5J3`cC4w3j;7t}%Yi}CjgK=%#-egjKSYmxdE2N<616Cc4n0uvw6 zJv_g@g!3w#5J6geg7aRQgCLoN_2ZL9rDoOg%0ZuKxysEZJtE%N2`Fo0nEQ$2Fh+Y2 z`%#vNQ;rx@e{sE20{)Ou=_y@Asy*!>x6$=Om16Ks?Hsk7xmQ^A{Jl_g!Z=(*O&Gwd zD^A+1=wd-BC9lbQ<8xTITKAw!(wJAax3DX=O2o0LnTXCicwY$r6}(Kt>xm`)1uyRq z|5xy${tw?t*xt^}(%jX_(8bc;?w{Z#*;XD^5NYhs*6C_6e^5YC5y>@iPQgA4G@>e# zDjd3mk8qts8tHM|wl3SfvLy-AeJJ4oqG?XAc0tY7Fb7LB%VYl6wa&-K+?+np$sHhE zI%C3sJsK|t?#5AIY=)QPwbOH8MhGX`lGkMZ#a7_%N{ypIH{7tn(ZY`zehen2cILSp zE_C;I)VVfXX+^m)w{5W`TRGipFH10JSmCb9<3NtShK*Z1)}sE^kp)V8(e5(KR%0-E zm`7{dOoE2%Yh|AOdfaoH_i|Iut64Sb?)6P(uI*CuyCxax&%kSzWt_S-_RYM`y~dci zJWn4R&r!Kw>bj@JJ2zew=EU1RTQIBiJv|Dw6ZUf-PRfm5jp5B{rHTtn)a6I?b(L4u zS>aWGUaG{zyOYdCHjpdZ%@0WZ_LSmO2;~ICXK(pLQY|_vB7~Q&y}Vapvv2)WTK6@- zap2M67WDM(=SEK zG^8NqL?@dcI_jVvl3&E#+xh+m%XCiB$;c&|nQ<6&SSF{qlYrfubin68BXYzxQG#X` zJVO6FDiOo!MTGjp_<5);l~4l5TnyG(3n4j4#ZOF-a6J z`B;J|p%@@TC8)$a?o2MB3ZIlDm?qi02w6h*!%8Zl1x`sl=*;Txzez4@&G*M7hza-d z_808G%C@2}zUA>>P>%f<@i6{p#Pjd|u7si8-^jv0;ZCgDr8BB3+8^6&lOeaMVg)Iw zP$&?~-w^@mHZaulQl*Gw3ba98vi8ZLCLA{GE$Ha^Z(?7AaB)NG{9M69SOc@;?tcK! z?i__P(VJ#oH@&B>bMLv%b60zRKHo6|zTPy4=wm88goRPXSaXIeqBz*z$RAT6(2XA$ z>D^JODO7XR?$g55V!#~5>YycOrJUq~<0^?}tvzs;7O#Y0cYlsx=nQrz^-wbKP?p|W zGcuA&Dh<(wsN`7-!dRl0MNPqg2$z|5iKDZMca@{P#ceeU{S0GTLO~6^igB35VZnCV z9K9+@%w)z>&YP0S&t`vw@fx$CM3?3owGkUW!6!{em7{IUa2I`PF@D_7BJp2r0Jt5( zu$PBu)2KGEFuQGZm<`MDup60)^mMz>c9>DH+x@b@WUURkgd(jbQYq!JI)<^66k!Vu zY-N}drwqqTB00@!6V-e~Zv;5smtYS`jaZmzQAI7+98fF`YP#L*Tt%d4?0@A+j2duO z3aM$>wWd#GPLZ4|?V9uz7)XZ(E2?vbSxav{cOJW#E}N*B*A$f2G>(UuB3mKPJD~^I z)*{sdQL#*5)7!V=m^yWlMM*za1<{}6VYn9j-YoQLxZn~$chDV_(G1geI5YNmHmchw zPiugcQ%c#t@Dh`LmR82^7Chsq-F99aFZWE3qTyyXShBGUNe_xMZ%KNxIB!T?a#a1j zyIoL@=28ddS7y*@rltbLW7W*9#>mp#G~tHG6L%eQx-D*dr0Ekj=ZZIgN!_>X zsO;1?xJKQ#a8K8_bkFCf;3z#7|0XHua*dc7xct%&(u*REfZ4o#jz^EFk+WHs04h#V zZ?F|r@xUex@6T*}TFQbQC%V%o;oI!8);K9KX8kn9;L7$@V4bdElPS?l!d3)NQn8;S z%k$FXBcu0;Kj#tbQz6Nd{dlKIUK$q9F~F6ER2R~s6iW-EU5({rmu8Mc=$q;_Vq;Z( z%G}qIn2!YOa?spUiW7HS=-$Bm`^a)gGNKyXkX$qvPfg4cpZ-W5vcY~f#r35euX})N zodDZbBQ&;^_b>@rZBo`7oHYRA|2M;_B5)2zK=wui3<3wEezGv{+#daSKLx;v zKk?>(YE<>$BA!3wp__778s{!!t1(`Mfr==|uI>^^6tUH!hBp9F@ZnoSXz59qHC{CO z?hC|!?u-0w0xE_~Ciyf^ok)9oW zVf7U$JHN%&Gvp<5m!yqfEIde1fBY3|3vK%+bSG@$@h$9o^ck(uhXD~9py(3eB?P38 zBo9|b*b15Frl^;)gN!8lKp%t!-vCO9BMie*w0w}9e7ytw zA;&I(d7{u8x-jS9q0Zs!s$!3ne|;*f#-dklx3OMgytDh@7W^N`e>It=zZ##`@F8sOyK5A34 z>!d9U(PIBZ`G?|+3=@8Weip}^w!x!lG$-WcIp1>SKT`XDfB%NxN0LvL*f#@7cc2N} zs-RE|rWMhR;1SwRbs!Q&v-KXpZqgk(tS=wp zci*k_O_pQtZY#?gt1^b-;f(1l9}Ov7ZpGJKz;`upIxa4b6WdnoYO8ZDA3KDsxGRL;q8@Q zR)@a?)>}#uydQN)ZFdnyM+;0nd|Bc<$9QvBLZfV?K&K@i{qSI9Nk5WmR=n3G6vp=p zdcNR%1MR59Uo7VdZdKB3f?FuW?}ySiG)1}}(L-tt6uU$nsni3r(K>|`GS}QgPh=V- zudIS)?z#}MK_6U(<~t8be&T1Cg>Tq8a|al->0&*7K(n($np_*712PZrn<~)k`+f>y zTz`5$Z6QrapB(WA?AbP6?hv}vP4N`4Rx!Qt)9lAt%#U<;a}DiKb!a_OiJjmnzjeGk z#C@Ty(p{3gHgTeah z?oM;C>}9wA`JVgY0L~fhKje%WB*+<2!h^6Irs^dURt!4^$ZWKkG@^_|I}R%*;A@jn zLa3i8;VEvXTx&Deh&5u23Hp%5#ZUU1-z&ipMjswI`heue94I^b;N&Ncn2UDdkDQu( z`{0e;HNoje97ZepP=zs!Eriw&->E8oXTj-XX73@LXEXUopV*JxV`px(TLV^9Cy&!(g1XZnNlk_msM^Bi_SQ@i2qEKPW}=m9eQL@9!h>p z9}^EhEia>VHcm$)6SK46Xthyff!(0OVT3(Jzrt^k8C#KYSEEUD0so+&7|X{a$l2v? ztv9fKFXBHsdoi`vWc6VQOZ6QDT(Ba0ZZpEa76px}yw(KG7o?VNej^Vpk4a6zcJbBH zp}F2O?3=S~CAcSV5T*b_` znKHs^>yMfw)B#^aHx~WraZ$VCjp?{r>C<9@$zVN;LVhxzPEdDLdUMb_)pcY6?mG@R zi>odeQg?b9NwV#*-dMQyR~G1LIDz58twR7PU>z0Os)eg#KBp21Adfl!9Nhff9_g{GeycqDgcC3qYohieu7-Upjna>NvhFF`pYAsASbvj6 z>sMt8EZ6KxmU|(SUegg}>T?j*cPW0$joLdx?0G8|ju*QZNB1AhSFJfxMfd-ykKW=T zo_0>pV}RyVR*ebvY+d94Tn~HL6cp^5QBY9Z#iPlrYpl8VV*XK}N_~=Cc1)2jv0Y+V zm$F?VpUdB?vhmI^g9Dmt6|x7Z%r$1WEeJ9={&7_!PxIv0{0((U%a_8X+rWm zc8yWd*}NPKRqFWmKUjfXE$Y)+ik6S=ng!Kg)huNlT}=6*P})SJIjp$>Ge;kN?s8As zcZ;dFJ&_0&_KnOc~e8hmwL0Hi_C_yBjqOd8=+rq{P3v@qNrPDexZ1Aw19U682f|I zoDODpLAsq$xSe?^$v-QYfI^-w)*h@%fYV)SAG8n;GL0y7H4<9l8Kyxl1gn~<3w2)w z@4{TO(>uoN{FEMV#DM2@MU_{w`lXpHziBKpL-Z`35yW_XH3BGwVtd~PpXm7MFO(Bs z8rjeoBaDtmAdLszA6V=hn_1bZaJ$UcQn!|J!z%4IDxCTvZ(qoLLae|mdB>)}66lDi z8r)+ZxYx}~N%?_d`+7GINM7Y%UD6gCgNU06jX35*C(D*karE(Z0o8SmM6FqvfXq8S zqIElst9f?D`+>^Dn#`R`>xMZ+_cqJi2eru*NtI_|WLCx`Oskt>ejkG=yNB_c-)CKT zk4PUJc+q+pqo~yc1u@<6Lg+&`gyk}G^o3bzrH8D?BF`vR%)&FJli>A}@~c^!K+9p| z5vg=kmG^QXJD)g^A$!xPJof#J;2QZPr)ym>obQqkzwmTQLYUo35~~XR|@&Q&mrr1E^=M|#;hYX zfBf4=jj{05Rv)yqrTAj6@eE?nyCMq&KrkBDGr4QY(E5+6!tm@kVs2 zijwnybt~Vtm%`T8))h5t`^)Rz-q)AitqP^YPD2n7N0?E1)?;*@Goe7o0ixJ8WKgFR2nP<%4(Ntf3=N zok>&Rsw1cOnuIc?tSU#H88#S(yGNl=%!!y0;H)|6693Bl^aJu~y5~n2 z&pO(DXAjkYx#LF=k7{KP*MPKO%+ZTd%Y-sTKn*g?>4#_S6DyTZ;9&lPb94Thq_}jz z?9ub04b)v|kK(~9Q0?)(-!9qQ%%Tdo2dus78%gMv$zmH&?ddhJ)j>4+E^>j|!Pa2< z+q=?xhfEfA=rd5OWA|VoknO3PK=_x>v^tzCXP{!Xm}>x>}y zSnCUR4*RZ_!b;br(Xy3n4z^nRP8Z>wvR0YUne@xqEq%Nom86tfy<@TIrk9<-L{ zOxDo^l7bJ`nLddg=H-b7SqpgbE~_pSPY%Ns=aOeTJ7Ps;8wA5r{+zq0(ZkP-OE&G1 zvhe4Q2aC1Zx~>x?$hPrN$DMYt?7wDz7A?i>Dv+hJx?@{UM<`;#U{Czw<}2H3TIo=< z;5`6Ic&ueLE^CcCPg;y$xIALx>RdO~&ggl*Z}`dDxDkU*S836mxL#tcz>9=U#~EI|lG4!6UMGhH&`(pC+jolA+gY3Npl(q%eoOf!jBo_&wg z7}-IR!ZWMlHd#`jh;@Z(<}KC7K}jNmiub@YRJGC52(29DRNmrt9-T&SEi0NyAujS9 zmLnKiFYNv}Zb#8dg#mgSflxfiC@p98MQI*HW?=AeFJUFUvK6 z!ePU}4M$R1%?%17s);wtXom{c1)eWTF-+Cxx-t$y&~Nu;1*-3bKR~eEr3{48mCPWE zU#e>5g?c_?!&1Yw@eYI3(Cz7X)5@3^L4ppeaL?jdjJT3>Z3SM8IfbzsAJJ>b4CF$_ zNzH&)X~|~OOAeO+*moxrFfTT(%ayZ5t=T=5$cG>EtSe?=uH@6);?mMWxdP!>C4$c| z5au;5b&kBX1U}(Gjm&K05zpe)9h+bpa*gai9Ehf}w0)3JU8OEhc0z2{7T=Q1VKmH` zU|vLJ!Nz0Ul`4f*tjm~G7A;vu318iaSC%ZedGXCnV#TiX@@oCC&h&aAK2OI{yxBoms?XH!)TSsiV?t z<_vc-rbTCKlGN#BPJW9Lca|4+F#_!Fq$dYwR7vYPCwHqLtQye8$5P0P&|=QpM$c+D z7yv6bUm~P!+>GW#J$PYCG%I9@3fEx3(7ett4^6s$Os#Ta3q^;_Pd1`X)&?@SVC3hl zN;*r2t)djFvSDa#g<&wHj$q~u9yXq=^z4oZ>!d-aqZ_-q+qIZT&=EGbHFd1Wogy5r zJoQ**mMuO$1xfW6x~p=_d{KYp_!TY^@f9z+K4GWU6{jgyv{!kj*e$+0{dHuPYJZ@u`pvr+b^SgpH3M2BdFCs4%9p_T4n;{mu^Nb`z500FLY>c(A3~7u;X;p#CnG`g*TBPJd$>Jm_Bi$@bkf z`FiJE>Ft#$oR4mqJ(5&mqN1KwaU2Xm(o$S>5pd)eF z$WdBY(CXYwX35w$BW=JBHyux{maU9Ke}9oBCeyIL@5k|( z+IzOo54e|v$-Tob86G)+NR~Sa?V;9FvSh)-(5G$c4ROX9k-zw{xB>c26Ac}UNx3fF zZei!deBqGb!IHEQc_aJ4va6iR?NZm1ZrG|F7SqgP@lKPuHDB3^sxC^i^pl86bC(Nj zY~hSM-N32!P9!IWmM;$N4rLEsgKFtdwOoSm&8+3xtjrKclp<0*)HL#}ya0>y5Qv!d ztHr6-I1%2e^Q=?}@)12bcvZS6%g&Lqu%;?C8p*U_=1j%pD21?`o0<{f^M|@sH?(mJ zSGQPps~^YW;IZ+QJ`sfKZ_ugvXk&yYepjo)na%Wx^B-isRlGk0l;5EQN*|UU*rDcJnZ(8j(s^XWZk5Z|Z zc9Lp{F^SzEfH?Mr)_27d@gJdscGd6Ff+O`$xzWYqN!C<*=k7#42wZ>?GfV z5g^O@9JIjfEi-kJWC-#yue^sG)qJk!eI*qwlWBH+I2&EGblvcv7#f@L7|l~w+F`k)Obn9LJrXRQ<#%u7wllgMfAgS)2^MT0T)~1-D9fxBpegJ%9t(npi#Z{ zn-oXKySB`A0?~5t1j&cwb>NVLz0ty zdDd8T?7yT_Y+zjj8?rZz(t$)$()DuE#C`oX#Lp`U4eRFT7^qj89?gDWaWp*+$~tHOqhzS$Pa!l)fJUdH>ytH zn+0?15&J5{WxXYzlXOiPH|-(!a~t=ZqQ(2p6(8VnpQFzI1N=A`&4LDxBU6un=$SE= zp`KGl%JbOpAypl}3_9EfAz#=V=Y4*5L@Ksy5j(+dBO`R4wAy zQE;DN)}|W46Zj(yO%+5%MSdBd_(*(gLNgq9TCfwjNo^6f3j74-x>KENhv~77sD259 zV37}ZcAt#5Ao&mJGxqhh;MQXoo*n2JvmbN5E|_LBrI{`qyFO2BH7`cTYmE@6s^Wxp zLi#|Y9B6U^LO)%DU9_}EfMzW2X&>eCMCRVCAESFbKP=5u8T<3i=pQjWZ@IqHCk^__ zp`>QH9X^96{jzjn=}ueV6V$3b(%z##1@{&{EPk4B6Fi~6W9mDH$ko$9VLUDA-1f54 zSIB71%bVN4Q!ldFU)l)}a(;U$oR=pNH`f$SShNdWMO%=x0^@A$4_>o|)0e%sfQEI2 z%#z@rKrOtZmBpIOn=T7dxGthwe9XJkiQ1sL{rEZ6@LLb7GJw9I^a;Kz{_dPUiVVu)i2($Y`cu<})t+WJwYjexkI`w&ZvCQ<68JiJ;A!8@<$ zf>#Q3JQ=irW}bq`8KpoLn7_Ls&&xSrH)*A11Oj5qKK>_(r$%QQ!opF(E7*i7YPolw zh8pVWJTGkHhG1<1122=5r!R|PRV+adP|$U z4CYf5b?bZl63WjdrCVezcC=<^+j1TFu(f$kP9tg(rU(sQ*rNP!EE}K)`!?f&aQ;*X zB0qk!yx5AKNwsFCYBN$k(^EW8)X&omd-*NLr0QiNykCH4R9^Dc3kXZD2A?#r*NqPg zCW2NvRq=FBzNv?3B>2}vHPw{~=cOp$5;X{4`GrZ|%`P573BPuyagJu&pmxF9 zt%Gcyij=;fhHq-HzTnwVjZ7d0@Xg!yU>9oDfiCezKW+!VX|Wx+w@XJNN zr{F9P28K(%@>9ttpEdUD*E{b#J%>fAeo%Vwvp+}?+~$Oyi112|+M)+lz})Wm?Qn~p zwteQ6bu-ExICV5N;Ya)ZVXMGaE)QEczc@N>KD*E0$T&?CRtGg?LouJ0%7+&`o|K&h zYI%NGLsXX9Caktke8Pje901v-$Sg#GXIr5&?VYq~{fSn=Q-NvcR6zW#{b6~j_6uDS z3bPfjz!G80)&u{vM{gTsJ@uG*k144W4nr>}U3k71>i!eSDS|iu2ZG~(8#H?H4&vn= zZ1hgJ?5UsksF8>--Ju`bY76P0H`3`Eai6`Q%&qt^Zv?;t>ctPMg<$9dwc*L|6CNaP z3~1OLsAum;+Gh*i;e`mNU!Gy`V$JZwGg1#?jE^;14;bxhKdnIhoXw*%&216!Ec~v? zBz5gv{EWw@|7$($C0ujPAF3kiw0s`-Nf~!j^vrW8%q>sHtdwKc_6=n{U(Mqjx$DYt z@uRZ0vxsq7{-6gEu;)GR%!un1${t@lFvpYy(IN|JB@%3j5Xx$wN-?kPrg1zG>X|hc zoS@Xu*)tdyZp9npny1=K-3XndXE#*sv`VsX9njMhXrTRow|$+c@pCy;Scvof4+-28 zibijYfd@E+H#*f78`)>NCGs*_VOoGLv{|ogf56}~1g?Ln6A1+NkUvE8ZJy<7t@rMyMtqxt-Z`WbjSc<$MXM8n8pT zC`J@q0mXg^7$PM0rf6?7{FL9{|Fx<;Pl-g8c_k{lprjb8Rb-p_YL}&;X{wIG2O0MV z+u%$Tty~Pl(O>YxUg4!4VET=EyuC+s;cprURHTV4U9bwQJ&Xc)>FaHuX>_+iG*FWH zV{*Dw6OsJ+G*@sFu^z!iz?=F2V`K4Ms5ESjnq$baoI~}*U>OGUWxYuOBa$-1+T9-T zrhmS-M648CK0TQ}{7X*Dm4dUR@lBxM@@%9}S^JX%Yg|(&TMmT3`_n=H8myC{I(2RV z#^pQvdn`8Ybsy{eli^E$a~jtGUy{u)1N*t*G=YY^+~VGx>RoVRW9F-&xjFme{C3FQ z`HpM$*TpQaJ3Ha+Y`4=kbPc0(UN+Nu?hAB`peHTw<9amrj|V$~ou8r=unsj%rwf1n ztss17KqhkdZ{11i-`6((mx6F1dwUmWm%oKovWAv+$}WaZF8{0OL{oc94T*2C3A_qr zz=jFT0R%03L{3=>w}2Hov;iy0AdR~ux`9DVB&~uL^(>9v@&otxW_lkxLs-3!?A`~% z?`8i5w>pzxj)xUQ_smQl=h^9Ag5Fh2N!i^;m-om>uAjeS|Cg51683UTmY4+yTW!qe`?~F{9XZV%H zw>~1YYh5}TB0QE_7gpO!s$9{0t&4B|<|235rP<9EO*J-ByXv%=8cE?K3FWiG zXX9_ObY;zq%CL<{U^&QRO~=*Mk4mY0I)o|kkO0q+H{v5B&OA>|@3K*a=aNHUY%ORm z#&vNw*)Yg&FZeNe)~4E(hn01nZVZuawX-daOYN7gFT|+G%wSLGnsJ$U388ydnb6-@ z$hoRaT~I=5t9s>Pmmpz)EnBuE9GT5ZHF2G){Egp{YzGGs)lqpswu8CoBya;uRf_#Y zSVVC{w^&cU6A6rq0SQJF%s_cT_kocX#BibXI>Qm&t`dC$IU46PpKAn+9|X)lE~C~) zT~T>N2?NWX9)4_jt3X4G!|)HCikgJ7&WEnG+QuEig6kjBfY05r-8&7%V+_TMg%O~7 zN)K|t^o_WyTs;C+a}BLBU)30Zn3+%KA)A7c!RPMz!e4>|e*SrHIg8B!r4jtqI`gbb?V=3O@!G+pn4)P_XoykO z935|}C0QHMYA?&g7nt0nRsL>>BA}M%tWVlNREfq`xpioSL?hL8h~fxJ>Z-fek|{NJ zr^;;ZC_e0KrLCbk-fy1HtGxf@5w3??D_H8f`-T)+nJJGl2-IpM->!2stG(s%yKl~FXZv5W{vUQn;JwDIj~9$=!;@k3NA^8>dMoZ!!-oxtVolQ^cFop=;VDj zQ|zcv6|-Qkl!gBw*s>~pK}OzYqGPTi(jbjzgUS=FJNE%yJNvVW`2F}}pDuRvvL$+v zcK!;VJM1n9!}Y9q;S`EzUcUGc#{j5)NhThZxalzb4+T%;$xLCQ@p5g>U^0?_c*b4K z$-&GJra)kd_!kon#W3nPFjM>*NRj@;(P9Y4{V|7Nrkx{tp!YK^B>h zv>8kUErjwhXw(9S+?Lxx#yTUoou`?3VM3r@glSJqDPRiyP^Mo$_Q*bvgRX{zV-}-6 z@PtD;qFG-LAbe9jCe%^w4rQBgXcF99?Gx>C$Veo2DHxvQ6~=d%M4uLVT%uNo8~U%Y zu0367<9l*mVxn!0Ugys6Em7^Asyub>As@~@q5A?}*G`M>ruzMJi)aq|wa9#eZj7Hk z9n}KeU|?ZTOLhRrJ%X2xlYHgevWCH6?m^=oj+qyKvnSkZGQal7Ys2{i>W=udBJp-L zrP6Xl?t=E*4!7SC|22UxvD!|y^tS|$6blFl@SpPx|12>T^)NMd{jWD>sp_5vc&gZc zWSb`J*q1`=lG>=KXvu9CXGEuV(nuwhamH6{7PE?0CvI3Z*RMi0HVB|#008PDJQ6e! z(b{&wbBKt5B8(B-+YkQxK~Vd<*BKf1<}F)z|EuiR-q+sSH{UVuk6+G+0x$->C=W+; ze%r_c+QERIxqjQ|BG?EJh5L4zon!Is;12bK_K1i09_C2s9Sjjtcuz;Vf+|M_;9Prj zL*6EwWJBJ^Pah^8{S7`u0f>{Y!c7l`nZ9HJ*zdaxL*k%s89syw*F(%x5R5c?kft7h zfbe4;%Av6@53&I9k*KkdFI2&tIQgjD_^B&p<_{O3d}PA7xBHMgyu{oOlNU_^e$3$w zPOO3Chc6!>eW?9tU>~Xg2FSZqpg!s;`S<%)qOOqZ%ZINpIC<5>?6)+D_cp>k=pxKL zbn-pe!;iPXjF%xIzYs#md(=2bRD8uLnGy*mlpk>54yd=-NmHALwunqd_3TXK}%&!wb^Py@-!MJ8F`H;6LE#x+%xrB z`BC(~)t| z%F&e1alU0@6wSuvkJoLUe-mlsF=&V@S4=WEE|~<)ZDcZWVV*yJj?BEPp{aZF^6`B< zYlIC}46fM@pKG}4lawNwl#RMNi^NIu#%82#7iK~i?uZ7?w1yEEy4DR8g5*qcP%1%R z`hcIJx3(gk8+$Ye2MQUw=3VD~G5Kzaj+x6+VD*lUaCO;iE|;?@?!X5i~0M@wF&p(Dwp?OHR%!nj^4`(V45 zU;!t0oG;Hr6)7o;K)^|K5TUl<%o74{JreyzSS%KuH5lWt-iEFG)R}bGnP||n#!hIv z-DUJrWtY#zSP+@w9F?P8Q_|5VK1Fu=aori6)KXnh5m2e0Xt);H4C77(*t(3UF~-I& zTgjIwpJ?B=VYFI{QU22k{=7#2fL`X}Ti3yZGr0*x*{iMry`_si6f-3Jbw0ykDa%Ef(=I^puh|MylaJc%$dr1tL3*UrqcJLdzmytbUkaTHi~2i2KuL33xn5UG zOZ}dbxA@StLvkcvRF_~Z!A!R5E!yEzmHo0OdqFZb-GY^+^w2&oCR>%4#^xe5@*GfH z$b<7u-~DHN%K_|LgY_< z-tt4wS+oIz_Ndd=n-Z+g-|s$-+AUEr4fG7tr*$$U*y)Qe=F`6zX*5;QN<%Vt6oE37 z1Ep~J9_Vl9XIicom~XAzm5kA^BqI#;c?uO%m3UbY#r*8m@7^4jqHaN>W6AO3PU&MC z@`|XP*gC~HTEntoV(E08>1<)FD?PqvgIZ;;4-zH$YQta2lP2yu2-u&gj2Y0&;7L~q z2&69Hyg8HIWRvYCt!sVZm7gp}PSq#DdY#bQVZNt&pD#L%u;fPSsewxe>%mk@m0<4B z89$?{sHIb=`;}^`DFM>xE(lnL-JSDz*33Sgeglfxd8@`ob~zAeGdZ4D8o`ua$wXcO z3OBDMhO##hcuzHXURUnRKGDab%A2&tow`?++1sh=4+u0|Ia9qJbI-diztv?9i9WV-x=D1d7G&j zZp+|HdV?E|A>BL($XwrS?97%pA5QY4Fj0}C6t0y=aEU_Ou8{ff8hZXGyH;v|u!OJ~M-Q=yzQZU={ zqRu_dj=x|vwGtj)q@}o7gjaQ*axG3(6X8M7q;XK%QpfxZnPQljwO@+2>S9Lt$>L#@ z8>L&;qhs7k>39NSMfdW-Z;sHuKWf2{MEKf_GgMMkpjVR#?&oPF;=Rrw7I}D|CQ97B z&Xgtl$A#-fCG6a0g`GOL^mlJx(%1O=RVxC*9P=U)aei>g1Jj%q#LN_$(4tW1hT0>T z8aD&%GeiAH({N8UW?6o)xWrB6D6bn|CS+O|sv3|`@&NbGtYA!#IAE$x7aGx`J@Nf@ zE*B-91S^^~9x~2i(Nxt#mEvmA7R9i*d9Ai|)=W++LVG&#S|{D|07sKHCK#${y0QzD zc%zFFmxduEbm5AqmOL?=7&xw!cGi}@NUn*H9emNInzZfZh3F3xMSd7G&72FG)()#` z8`hLu)|5QfhDL5u7}dEW%DE$A*^aTzZL6BrO>0?*g@(m*VWfux3nUK9A7%>=>t8O$ z@Hc~e8mAzQe{0a~0^%=MIPqIKgB1l(DGzAta)O~|$y$qM8_hxNsZM>col+`BJ>_0-pf#)s z6>Yphp50D(1F~p0I~RY#O&+#nriB`W+1P4VevwqPxUkXRgS9NQ7R9{t#nM=WN=}a1 zXML#2y}EhBBdrS;K5N==29-K<=4y8PVVF-JPGf7isu?1{D;~R*oki3txr%g9_eL>u ziOw-^9RGrs+QXYQ1Ia~&&XtDOw1KldM1r<;t9-P%_~g9+N$*M!#>hom5Jleksx725 zm3u+0I?G^a;m;DClT&J~)wJ=2!b~+dC02Ray0O`!%4>~KZmADRGjpP9Obdm;@Ph_j z8A5t)?l_{gPc{xa?oHRzk+mP$gZjEOFS;7xf4DVumAC_c!PSA2y0f}!&mITC5quZl zFS?g9B0kV&3*Th|@p1Hrz3vU^?-PbX7;lgD)D|kPQV<{I9&M$^3`qr3?h*uFQByRG z*iad>2R*<59b#Xub`tHKoE11HZ}s4+YtnU}?#dGAyWak83e<--9jL7R9+XSH58>JG zs+!NV-hRZtd1vO*_jse8J80TIuy)LimP`_pPKR#g-h^cTy{UDP`4aq!X|l&Q{GgR~ z=h_L9;*`PAjie{~gzoLeN2+8rrx(2TV3T0BC!yfO1w{7!`QI3Or!Y&mY+E}rY}?4N zZQC|7Y}>YN+qP}nww0j_{IRNPpR=m=KL4{X=H0xQ=wp1Xx6#JiS@$_=*Qkg13WfD< z*otODF1U$NN6nyjVVo<4=cTI)s}hyY#muQm&O~H$qmzF&u-dEWPjs#&xj~gNbja7L zt)Z}3J}&)<&h6Z0U2q3Bs$#6T77`A8?XnV4pKVF6=j-rKRFhUG=uE@i?2ou(A(_0| z>=_6!Fqlpr&ZLg2re^R!l7)( zGV2TG%4`sY1BpOTi?P$bQFXoW>WKKU@VUl*R-KusXSZi6n^*Gt$@(R$VGCk)32fXl z`^cGWq-){Qm&l|tF77u|XI-4HCN54KThs!-y5Xj-I^90H+-_iGc^+;H0G1=7D4O?Z zP_S+p+B&spYUFMuP(Tp1d{xQW4n`_IT%$I-RE92WTkxJ=?%Y9ayVrwQYvLQM|93E)Lz>?J^Wd2WgYx~y;T zo2*oc9x#ow4*&8ab_%(dZZ5hAL%6TFWkZ$Ip6>V^$X6DCz&ya2PajZHbO4bMqOvF^ z5$YRHCtblUvDt6O9mn)i$DuhRMuln3I5PbBQp@C=6D24jjKJvaANjM-s13NQBq5o; znU;tmf`5Yv!;S2?6~*YCOK9CbxZyNZCwo#)5{><-sM3^*3n;~zqw}rolExv@8FhFv z4x#K)SV#V}9!^~KSb#$YBQDVhv1b^{$Cf48(PN}6l-^1vh=(il0?04PsiA=0gA}NO zLmxXz^)PqkWY|8gLb^HfzMYGSUuObGceA$t1B}B%c7*yvNknh|#Xw5)HA@@=O}Tv@ zg;DosJd4OtV`OH9Yd^p3HITA6x;SG}D0-FnKKff~?|!6p*4tSik=sgmZ z0x0dDFg=3{j>^@X7|fqZoQ2Zl`Ycfl;3SNEBv*yU&Rr z8ony9d*wxI-EyN6uqh|943qJE!wxwF9%VG?y}2$D?l#N}s=?AMeZ z+zGT`3U-tn#)hy(nEb+2OM}7+zjox)%fgKG+j^T>xN%vlW^4IfBIywX;!?Avq8A$S z3XBO4%dzxNz;UEg4f4PMXzBx17? z&K1ZTupvj~g!nWNo-@hESg2=nk3$iy7#EANZU`>$*c~xT8ek#Mm4-RxhpouRTB#wW z?6L?~raT{@a_n^u2`SjbUJ;-&%07+Qgg#(CO0hB6FNFE}|y z*DoG0(Bdv7RE5PYrXsY^6lw(5WI{xXh$=wnR5H66vF@O+-9uiM8FVkZMuVsuI?owU zV$xS$R;zJu)!l=E3}qPrSEq{>jPCc3w-)i3(1w&IE>TqIi(-Qo(P9l??ZYO|6W)Tq#J!E(u(D0^%A z>aVKI5`=Wt4=V;PL~+e@wg*w4>_2pHPJqDRQaNza`Gyq|6&2MO1K)Vi(6K=gs+6U zDt<^;=k@|ih}0%D&w@SKm%9vaqsQhQZAoE_zgtTlaXL_nY(72Q0 z=a~w*eRZ2r>Fy7}BSHvEt2bhr%qnOAiraX&H|Go($Y$O8;@TQcwfwF0A<)T)V}JEd z_ljRIu=zEAi)rgJ?Y`xlb_`QyH=K8^`vIV$2h{xImLT*yhb`2d-T^|k?@eY=WA8&} z@vHwMuhNU0JkWF5wktZ8?ywaGnMsO|OSb^~Si=-Zb=SQ*Jpcel^hGleJUC2P-!6DR z9KypB5vm=Nw5~QI!sZ4UGMGeebsy?&UJf*%+h24SPXnFo9OoWnahoZ8Vb-{p7*UI& zFF=uu$jD8Szm{*F2J#Ja9=s7*CO=;of+7%ACNG{WVnHolL^+mpiTX3Q#|)9bO?_RV zkw%RvEJ9;3cbzWCNU$%ToazKqjXo?130zulNp6L!X4 zmvCF2(=+Cton0aZb&o*km00i|A1}E;O^p5d0CX_432%fxn61m3yURLWl7L-H(i9NV zsL75DCn#s0wyT0P}018YP0SoPei3kzuvN5g%^ z>J!xH{xNif3R=y$3R{%Zy9Fc@SihMTgWvDA%l3v+_~N3%9@$mR=m##Lje1F3!vf3EEM9(@f4TH5tRJMD)v7NAju*Yp8A^ z?f%^k9+wSWou}LH(O6N1~Z^C}s&U=nA=ByCEr>Lr@?L0k#;C?UKM64c-uQgL1Da0-52 z+g@#(l+b*v!jnlD>}-`f#wTTbm|@5AYvf`|DvvC zsam*TEun0!V5*06iDUoxAs+%vhfldG0S)m}MgWP^m!F6k#{eQc008}7a>p8!Dk^Z{Ql59FarcbgHS>=KMX-=0|r+)_gAvvq9!3m zg8fi%%|S!x0^59BBe~eV=Yre8cJzRlc+=u_TjY_!-BxHk^8vWq0hV`gUer5VbAqgnE|V5^8NmWjG|9LN~b6b7x-K;wdS4O(~k2zeJArP;SF?1pXz z1NLJ%GyBQMCoBVn5Lc0L``KG64ArFcN`)VgZ@C9_{#M8lB+M({_sOTDv|2<=sFXbF zE9$!Ged_5{KjdV>H}#z;v~bZG{y4kOvbI64AU%i=aO%7Jz1oj3ISl=HE;Z;7k>QU* zOuIp4I8HQ6pcPuyIUyPFheVxm@(NmlQg!W=(>!VqCf`66*d`!z#+yh78MC1GM+0we zu9on=!OEa(Kr~ycO>%+mIh?zg9s+f;`#wJydypEDeP&byEL30BYdJKU(!FzM?%~!S zM!a^eZ`L%_drtjqop9JK;qVSdbF%DH!NIDP7p)1^w5^DiUadS}*{m*rqn%UrBEz9I zXz5Ri3S3jJzsx*4dtuj^yMyW+cmLfg>L@kQ3RiRHieq!?syL{b?}2qg7U%&Pd~)$p zRO%D-i&3LW-?3eW>x0DK#i=tykz;!V4B=g6D`2q_y{-!I2^l#{eJplLysJpAULy&OA5dnGSY zBPTBcBRhjfzEtf7BcnZRfLCFbk~u z8$eFo&(Nsj<93S#7}YudNXTk3anbxM7dIl-TYd`d0I!L!;4M10yS#4wyx_X3^P;{4 zp0%ZShA`S?dyh!0A%X{VZBv<|vc67bUFTnrQq_0G5u2Sqw!qG_v7K6u-Umc#@MZ)z ze$HO^fSdlFY)ggFfT~poeEit4Np@Fl(YD7tf`*D7BzPz-t&N5o!{rg2H?^`!>44GQ z(6n+JP}b0~PfC8)DmoG#J#h^E@>(5U+gRI(KowfuPSxNAN@{llr7pY12vmTu0@a{E z$mVBDGR@+*IEN<0o2v)mB-3Qai}VC5(mC4+waLf3XWN$+pmevnLntO*)I5RbPJBbB zHlpGTSPk%J+f9jb57Q~t z0chCp*Rr~bQC>y{U@5gRN$v zj_{?#F0pt)&Cz`5Hiy(Mu+dB;!zuCmV?mWCuBtD;tQS`2J<7)lHc%z79XJcSly;l| zbHL})gVEB2)dHQqSobV0q~gninp~vIE%D-DHV5u&ecDLcv9u0)aOqZsBY6esJzQ^P zwo2zc9ep#sP9HtEVEFtK<<^*A%HHUDvE*&P3yP4WW(Km`Z@fbD;F zcK+?o@=qxn13gP2v+qcVnZDEi1?(g#Xi8#z(*dWAx0W0$?3$X_H5=VREiTsgH6{5G zfe9LeQ1Lv;q~Zx=+Sgzbq$9p0`s8l&czf}bxfp}zOW{3N(;WWLIIK?ep!ooF4pp#E z>Q;fn$x1&?V$XPWKFX84STT>rDCN-YoQCHRs;GC?AijEUmQzaK-WxENUc$3rrd zP_KtY`k2k#NaFY)yxwi=;(JU9nGd_+DV5*H1a_T2-ignRSw6(>F4s5zq+(K{;Dzy! zF6)5+MeG+@MjXqV9X~wCw}?bUwW^tZYBGm)NGb~4#g{IsCiX9KGju6$8mC6|)?AHy z{UYwjR&aVaz7FRa(PYLT{ne0XJ$CUk6Ml`Q6+oB^9A1~Z7u)#zK=pSWzpIN+%;m6# zxX^kSFKb7A5)!0x!}vWDOXWk(-W{(ZpDCB^cOaLq%#dmw)&>#oHS^?>6T8)uR#cNn z?h#Ao(LGS$(HQtS@&Xo>DkM#Qa?xlJj*5UkjMB*1fC}|BASyE1fT+N_5m(Qs66HbK zb4KWdEc27-*-~D!f7e}CO3c-hbhQhDrw!{Cj*6&87F!Hsc})lz-?;cQ)_H@ej|xIt z&aR$wjcRMs(!>}-$*QaTw{;V)a-j~2W=wLkCE4u0vJ#g@m5Sy&+B@3fNygSCg32WA zYxMJct&kdq$|k-=@?Ra7XEmI#a1uQL39dG7~Xg5i(op76)WU z`IZ}GNA(s6M0V^YFMQ!8F0#aki|Akk5uZOItynL{*lC0w8v^GJDcXYSvZX3huLEOX z@AM^Xuanaz)taQNBbhqS?rZT7NAb`89Z`XcjO->gf4I0Bw|QE0MaK0vyb=qBPy(Vt zqwXQWWg!GVUuibT8d&lk}u znG=N% z&2;9R^)jR$PfE zq=?A)933cF}WCIhGn^I zY5B;=2?Em|lwf)Xn-E{N!B$y+ez~Z&ddduAz|0(gV9=VgMfe93XD-l1L156DvBf|g zp4iKXa`8neF|!O7rVA`d_V)?Tby6Lmz@*$dz>wdbma~cGg!o7PGJPTTF4|jhRUS5i z>FKjEdY2hMdDj`h6QaZG#Y_7Wxf`A}(L)Lw2H4z15IAFR1Q2LYj3;6!22Ww9vVvaLdR3#qL6%2D%DSsJ}}&3ydmnT+OS zpxjrncCt2G{yO48+`nXXO+KBGV&hgc3W9bmX=FJeEAiGjCY7&Fu7Su>X)CWdyMA6%n@Z2BIQ-#;dJjpnalWhYg|$2itgI{w zaZ%2oq{*_fh|qw#p@Rb_1Q+8tWKQOw+uhp8k=6nNIPtJ9p_w@UejbTbp*4Me-jy@A z3{fB<^~FwKpu#Nzsrz|yk_`>7m_TDwrh=Qba@8tUnZ{%;#(jB(isvNK(2TnYZ8A6A zdYCcUIH*tP3)*c>CTmPRQre}i6C0^NU61C7tLKtMgpK=49sPWZadY(fz`1*CI}CtD zmlc#9cfVscM3cRz%Dfv)@6KzFjf#g}hxh#VkL$GvFUt`&hqjd&Z?9*>!t3mYTc_u2 zVL_K2^%ru;%)831K4&0*OIEvQ-?Wv@S`9LQ0Q}SFpI@cf4VNj+rvlbJG{YY`TKP*6nMOI+P5qw&i3DIUz z@6c+k>1OMzUh^4B1D(s__=L!Hz4T2+pMR3f5GeEplg_?zu>{+Y=`Mg+$^^Dh<$Wk* ztYf;X?G!baS=b#2oZcy#UU?&Q-%5jQdd?zYb}V*>&d*{}L%SBa3PW+IGivf`V&H8o4|m5DG62_e+As-aW@w z?33koTG$@4)B`;3iXgAH2`1vLirgjp0&HX!DiulH=0VM_OwqwZ?PQY@pq7Y;nY{r> zM|oT4?_K)(4_$%bXm=t1ttVu^Uw?t?|B1w>cKIi(k@_E`dfRU-4vp>qVYw?#Psx%` zi7ShVOHWKrP>oH_94I_Z%_xG)P|MLV$NR5dvNl%X*Qcz4$j!jB89RdCgC*b@&W}tCpk$?L8lVE=9-tPlV0DUJjOG9dV zBLgEdTgShB4Ca_A>j8ZDz?)796yWB*yk_Bhe;@$gGzVb0T@>M3? znJR(rnj9;?D|NS*ED`}P#ktO$#@O^{I!b%7535bqEO+-W!fzXZ-ARp*m3QD!cpBh{ zAAd#oytn&fb^GKo?lBH4fNdO^+C^+3D<`f>_mekQ!*nVs;e-7U7{p0* zgtZ4y`t@(g@4tS7@2~xT1{!<|zJClf_}8!k152}in?CT@+ha!`lexZWTZ-SbE&Bid zc7FZ8BH{*)f;LuG-&{f|Gi#%72&eNmng74S;z>%{-xz*mZXl=#%H~k3s-0Q5qXNeb zo-_e5@Hta~a)kN85hIKhE8P@m!2+NDoqSrRxk0?$7=~^2Sh?iJN4=A6c8{AjhvV%n zULT)NP}@)^N>XAUMLou0y}I)Qv)q?@ORHwr*^Lmx3?u z67*`m!?{mOqJO2=ldee)J?gA6$O&mG&$T(ldOamDo3>aU;OlUL*o zopv}+1nlLFS6e54H+|*YoRSD7sZ?kYvuxoKL65Wzr#V@tX-_yzwjk%LO)#!@JYlpL zvEv1cMG#}p*EfgySBuYE&@6FNjYd6F)9?E0S?Kgm_U(YtBX^x9CSg>P2VJoHHItbc z(&>2Bx&3PIW}U4Yv8_1c$R-Z)ufEhZW62)}bHt;lI;agdM{gI9DuohRz=O=_aaP7_ zQ2lN7Ye~Gn*D83@X(dSr;*WSLo7g@sEJiqMDtz!_CrR)Xu~5*&q|j0zV(}2fv`R!^({B+q{0?BweQ#TjQ%+JbnYCps>p)i4p~N)8eCr`Wxj>K7rF61Omya zJZA9@Omz_!l~#a1{4&Tcrcq$Jn3RnqBR|xH!!Nfa#nPz?rmN($^Z$sb5Ousl#l@h7 zW+O`wnFcA?1+H#`-`y-gQX2BRK~yey6O}5VpU6;<+hlFm_IAk12Iece`i3M{Ovgd6 zv5=mikMO1s^A^959$Ex)4K?t&2WQu%45{e0{GGD(S1B_5GKwkwF2U39*MEd`|Ek=- zm7tuS{Wr({zkJ!CNd9kVKfLglX_E$&^HF=Kh2V@FGO%zT(x7uGwHcuJZ(ABJ-w;Ga zt#(_U2VOkm?TZgrz)|=Ra6zHKQ%mdSU8}0p+EM8Z3GHi(DN-|>4JV?T`0svH07LcS zymxCUk-#{xs4l6rk_sh4U}^uvEeU}y)J3CVD#L zF>fi(qwdgl-VI}Y;OmIx6W#U0?S?R9mry%kNe(BIT(Qf3!$DUX{{h0w4MahqKU5x+ z4^3bqUaFu#OieZsCZ7_b#~NY=9a?vSkrbjIp?h3S$g$m+yMjsS;0So)1K-kNY&$rG z9ne~tK9SFW&=C&v5tXk$N_j`2P1jP2z^azEo@k>ErfaES=pmxTh)*`);Fz{EESBT4AU7icnZ$dK1E0T_7b4&L4>Iiwajor>&CLMMqn=+CuQ^LUE( zo{5cMa33_*coH1ISGZ@X;U9v4fkI!X4aLHo-s=n|juhpueEob1)hkayWt@E4<_ng3 zcBYfUHDL2DFbH;N6)b1H)mBW=Gp^^RjXZDCuPKH~A=sM2FnjYIB2YC`lL`0d z41kn4sSth)jSkn>1{7kLIMqI~S&*0Y2;GM7APRe-6*(7`iGV zWWiGqF9lFqkI;9MV4`-X7O3{4*-(d7d3CdPLg%2!5hOuJSbc_3lo<#^$drxP6yX(# zQV;kZO{HIWp7BwL;^}XZ{J&OvXQed5U)1M-?*|X}|7HdJv-B0e?I~-M@AYA;_l<%6 zuURlzN;BUSXyi}hb|XEjy!!&(CV!1QIYV;%?}$lZ7(^Wc5_H&h@l`Rjy7Sm|@=Hzc zSO%EK9bg#AaDz|c-IQ~cfQ31m<95b#x7*Ez&GzHS4DAj8^4(-F{4or=`CMJD!JKa} zaZ@TsvU0km{787TahvzuY#X<>?Ia0kcj`^~g*MM4u}sJXRG9%wBFU||S8a}i;HB_zFSOhQ9Rh@R z!4)X*k?oJ|N-c{-AC@g~<1To?mmd@Wlf)W}X`f8h+6|bsD^yaW4!F`bq2oUFK%}E@*kktTy#$+L z8oy=rF>nh6i0q?stHWqPNOtJ0rx}`Q!2fCm{*rn7 zQ?OT*esU!C=pgk7Y4kxH`4w5kjpS$JvNa}x!uHQ%fq2eVL0nS%iqTz~xe3A$k3+LE z9K!6V(4Io6NK5;?Tbwt-4;s4F^Vi>uR=OqX@nkX~Q}KxzDs;@u@_W+tT=5CNlNq-_ z9U+IybffR-xnS=aQlYGH4GbBP@dSPp9CG7FEaGqJ{*aA*1^K@Y++VeRN(6H+`mISN zzw7;f5LtiQ?Z0<+C#&y4N8e*GjQ+9J|8t8^ikp%EqDKyrePb+WYSyr#Jnz45R0dl~ z@(=Z=YppH%04s3Wpj(eZ?@ zh+ui^*oi(t)@|VKU<$>ffba;ygMX+;3PW@mI@V|qWJ7A$<2k!79C=E<cN=dLt7ShDm77>bRP|LvG8d<=$$v(F1F!2bs(om@Es2v9MckUg7zhL;lyl!i#45 zHS$gM4EY9-{jYW)N$c-9T>spL{;5Fz_7L7uvv5T|Lh&fkn%j<0?r;6Le*tsENt2T`H&q>BZ*3D+O!=LHvp|5P8AAFqKNp&DD)w#q31xN;n zQWykkk>dCFZaS7a*g9Ipvf}7)1_J#E7%RJ_&>$}Kk3n?ZYJRkP6H<;XQu{sq8y-JB zm51Fuxg$M{EC;+8zIi$KV=ac?DMY>go8UX{;mu!uHwR#y?{fVyFE4C(y!Z#`xQVw0 z7*4hQFAzSYZf<0eIrq@5V-tA@+CWdzL#(#K`Be$%VE;bA7mZIjeD?}HbRCds_vcAU;}zs(WD)-YKm=ms}~X|I>D^M<}#H#i<6dQ;Y)IoS4fjx z74s2h*fP(6-I?W(FTK9G^*Bi%GgP$8+n+$==tj`zYkj-x(!Iq-?a$+G5UH*OI+zy8 zT>&qe8{g$u^M6p7=LL|RHcAhAeP?|NnDrIVAU1NC$z-|o&A+?jf2`Pdhw6t))$$UDllkU6&Qhb+($e*!@|4m7 z#*V;;9nZlt4oBt4X#LKvILi$=i0lD|U)EM}c?|JZ0S1ecfWu;;RTP#TclEa3nz<#y z5;dX>C0oD_MJos^r7Nl+~@M4!h$~u8$JRV8hhH&!(L>{9uaI zK6Z!($Y}$aJ_lEk{s%~%-UvwVk-pRQ42f3IC3BJX0-4k1Zo^mFy=TPF+})VV0Ny=; z=$nsw`CEpLj~Q3tKH*M^T5p1(>cqIv3zpxjKn3mPyUg!FDJvi>g-aOGm@5g*xI{UF zOU8umKs92nihY_??^f^1{X4*m`bp)xh}#IQPe4!Re$m9u(b&aHAhuHz=lp=u6K432 z#b~r%e(n2R45mzr>t@s?mgozm3pTX3A~=_tYEF-qD6a11kX<%ZTzMHp*QF&DDLN^e z7{Rj|T;0B$Rlz!0;M^ixVS&tXZZW5I${13e|ZeZ*`;Uw1m?K$MMYQZAY4 zPtz>sYuu8{Nf-c-uJ(IH_c}P3P-A9iC6CR3(X^k9M^PXV+`UTO(ROHOo1ILc4AJ^5 z=#h3?}*sVb3bj&rihA#D3@l=3BB1n*;*HPZs{Q8n=z zh8gQ>x-v!Q%UHpayyKncWw-5xTnq8Z`W1toi~9Qi%v_}yohzK;4xJ@Dp;aPNpvo0HY9HbeL7H@2jps=pZ;?x?i<*~*s?l`3opx$D4X!Rq)t7PKgAWbYroPZz^VIb66WpB3_8{d5X{y=_W)j9 z_JGA)T+$U&Iib|pt3i#FE-cAGjdyZ-%a%j+H$`{1Zux`UkV7`d5E^pnH(&%*f`h9l z*YrgqdvcWAq|=o=f;V%ohuEsn)fZb_2G!_tRD97${nVqXJ$FUr_7j`sO@sCKt0i9k zoD(MAlkZHBOredp5eJ|uN^~#P7LrGX@g0JSrf~0)zj2Ml8&*b%yupd>>Xu4YJeQ5apuO;C0gVKVkJ7 z>&n_Vl(boZ?2P$S@$MS0@6H(1%XZ=GAGZ0Zlib$A_R?PW8{kujgYC2ibj`4aA$xq zMRlez?>v~Z2e%jTt5;0_LeWvZXv(cy8`vX+2H#(B(*zoaQ z74AD?Hws@zW&kmPs3V~k7q|ZhSw~#$;MNI37y=7XhtbgrJ$cWH;ivtp7igU!-Z``v z%D}u!MikK2Yb8!6X7I|9w z#d)Aw`KpX|73X?hSq1Zg9K^ zTQ42L&8$D|yfzl-GiE8a8ELw?xr%m`d$itCgkKcCVjIiBc3+&%LwFXZH{>^G)Tw-S zm>L8^3HHUYPMs3jZHeRt(D1Yx(@F9novR?}3#aJ}qxh``8tYDd{ik`GIcrvWx4~`m zsB>V>$s#1fsp>7LCSo&&%FQYwfAU5KC6?9hyCUK?1=${s)6tXwz2#6am07h;v(}b9 z%naKcr$NjRK62zP_kgR`GMjZ`p6yLrt8-nhJ+z>FQ2}a<4HSj8_Om}eQ|U*WrzVz? z({_BzCb6y_x^;|Ax?`~~4SxW?*^F}jx7ZaD)qZ2a0 zZF0dDz?G7QS#@kCPsnWm@Q;AU>wO95AcFWL0AD>W;2b^*`P28T(fG#d$xH&fA9qlk zqW7fjGz3@E&ZWykP=znu9@au!0iNsO%Mrk6^klPHz4UZ1#z)<~E@7$w15FaO40 zrZ#l?>)$(@L;WSvz3&xb{jH<_n%n!=_}ss_&424`{^i*zTU-49sOT=`35D-Io|}8@ zryc_zIQ(5uDA^c1_+B1iC}B~NGO|Wcz3$3S#e-AB;B=|PU$?)s#86@=(7b)Wc86E` zqp(=pYdg8qAQ1$J?e>nhuQ#4EyS=Wb4nJ;MZU7GLH2I+qAUWvf_$xB$68aB^`V#%k zCWY*n!!4lg*AB9Ahp+|T5nLwPJ4gVb&w)0Uw~QiECfw8X^oQ)CGWYKDi%uYu(=?qW zh^^67r8H~yMb390pb4%qp~sR;-a%&6H(Bg0vMts@afYBm)Pna4CV6D*qI2-$Ko(fK zgh9EzGV9p+J%&t{G5RND;=(Ub$t#lPi?4Z(Gm>d^4v|}%rnMC>19VqC%;Uv?WG_#e zALhMVkJ6$)QZlI%Z4pzmcZ^QAy>xW!qa?&zxD{Bl)^ckN6u-~I&o{Q?V?7wM%vxl_ z4e;i-&2p_bBI$Jwi0sF=>mBL!SKnPqrF2rs^@=e>G=3~hEN6ym z&fcWuf0P-pBke~~xX+PJc7|L3RC>fO6W~t?*Mk@eA{C|3)f@XGG`1^#6Q{6`+GN=~IJ5Oo1e0DOpP3_m5b$X_Ytr9$&f>}Xm!By|kM_g0!b2nqYUzvmhL zX4*Aki|GSMgNm(hjv37$+P!hoZ3FG*8&~RcI4nx&<@K~JPnYwEi;Vb;NJYQ#HIB0% zM1inMSzH%3#gn(cCnz9PTa_JLt7(r%R8~0`qoo1U!Yaf+i%4Zj#^D9nU{_cI!{b$) zDpN)oNa8y|7XivL5c|Usp*(yO8AzW)9U*f+fE;FkYOeNfFul*D>=wp_sBdX($6fjU z9~~&6`Pt3PaTrgL-PFYkbPD}lG{!iBjROe&WQ4w6DVt?VJLC+lP>4>X)m;K&||UdB(W{f1H|Sa z^_{Ea@CL+YFoglX2v79%d6|DK6G0bIVZJNXaPEk$DA`U_AAC8n-7+$qq=@*i2cluc z;c2pZ@+`BrXjjECMYQ!{F_Vd!z(}GFlX8i^1>)0k4^Eji%o5dcF}5aa!~m(Afc%xd zkvL=485l9{I(#iA^P+tkNd~495r!Ru{Oq`!rc0lgSn!sj`m98AvTD#+rFq7pMCgTa zcRgR$su(MHyQyZT9s=Zut={rZ1#zs3X=8U6LJfoCYF;cJ20Ie9y$Vc-pJzpjdTlIEeg7& z;iq<A3L9XP=0dtMiQA-B&) z;2zg!s0D`|aTU>PbP7d4QwPWG-lTnSr5$Ie+NQpQLWx6aF86W<#oqEstS+40t> zl4s?nn5(c~2TpPPxT>>=b%-EK{Ii*>OnT7?piD}%*cF_RonWB_0?wX*lH_`Mg5t6S z#Fc5M{ab0uv$B3A4O1oW?71%6exP%@1l%DKQ*R+|Ep*U4x0x?jkSiNX_xcu4oNa4y z?9EsPw&Nw8ojpK)W-Ldif1S~>{!IIzQs>!$OudfAV1R1n(4nwlV)X@Qf9<;4$TEG3 zgf+sYpX>~B40nd*H+)xAb652kL-Qg)Ha>Bm%JAwS&9(blh&I)%x3hjM2CiOq4Z^Yd zr}i+r7OC5@ZCsB4Ey#F{8^n-pg!73OVCD!2ZIfc3j&n#kW1o&p^J!5k#oi_1tA>+v zKczFPL!`Y-cL=sypxB=n7@-Wv#g2`d=b~fp)fPOBmo%&M6Z?n5_`Jj8w9P5hF`V0Y z$v;w<_k3e%qez7U)7A@Vn7u@QT!+1IK}u-X*t|3n&VZ_!aJ1X*YPanjNjE(V=Nou}t#D-VQvI=9yL7KWYD6 z6J=Uz&6Iq*y~Y1MdHWx``oA>M|HD#DQqcY@dCT3P-ry`P-I%`b5=kyXZjJowC!r}H zvOi=T*9(hy@YSfXiZLniS3ysqY!J^2&|5*c3(F4#C^Ki=>8y^E>L`9#)_&2+zQR-Q-EF7>}F+I}b8KX+y@FNAejKW;X|g z7TsfkdV5b}qiS1rS>Rg?o3k~WO$q|6gxNp+$wsEsLikJFXc75Y9RLX4Iybx;Xx|ECtfW`^43Un~xZ`sfDr%G@?>@j@ zg>Xpy9ts?^XZog0hpeOBe#I3|1M}*HnSwr^AgV_uP1r{4-cNIx5@cXPsLI_A5@<+o z{N&U3D()AsmT2hpv{% zI5!%mDIu9R8&p&TlAi3v7~xmQ1VO@^%=&USjb+n$s|w%E$%rYr+)7W&_#Lo#<~;E< zX`BC^Z9T#Z^g_2Sn~M|-&FBXoiFzoXY)9@_+EF`LKsX?iJG50sQWrQOuGLrX`W=2% z$HNk%y5-F^_1l5rpC1ydx;LbGG1GjF0eOrTW)qN z7|kk+IFIL0Yx+IE+o*vXH_K3g2D4PHksg>3^-FZiNSrx5fTnje(F_GFB3XmXEZ~9I z>(*|m+%yQn!A_nTQn5WR%bqGa5`kU0xiQ>$^;)H9?xoUL@u+V&3m^bCwum}iQlk${ z!c5gt5~n46NqFC(pb6GQq6Yl53#*x>FFNWx*g8i1baI(IvzA$s``5h4+q77yR4RzH z>&&fjdBh3x1;m}Sfcto+s-%gMB$|ay!_ZMCNuWT2Gz5WHP2dy94YonE*i5RCo?P(Ig7K!KixN+3e6MpbdN2d8&t!jBYHa?%n>+7(_NMIua zNfY7W{bqH_mnX|#a)^nN$_vZGQT>HwQ27A~c#aGzcd0(uts?ldEK^pVyacjA^fRv7o6YYMV%~YjH8r)Z-EEbP*8OtC`6>SUFC2{z;Sggqw zq#gB6Ae?&166>7m-j2S_P8Vs;65CD&(}v^K7kdjf=$LX zC1%UOxeF_UmFi8$O$P0zx6vdoAN^(^A$Keg+N5W#8tS`2`MLmqGI(rnDLZZ8$k+mb z5U+#k4L~rFWR8cwuT#P(b`@Tnvf$;Xi5gT3~voba_s~~@0V@tk6Vi^>< zHhNd;o4Iv>0PC`2%RDPPWQ;sWEs4C?~zRXm}sk42f>P4q{3_g9@EQ4DYq<|)`s zc|i#gsqrV5qD%#N{a{uxdKc*!9B6lGs#C&DFTNg^ zWWBLhvwxe6)db6`!lBO;KA>|6`zhp~bup9O3@Ug%6KMs51!JK?9L2Wq$F>=x(~WdC zU=?IRLn(|NdA3>Bn{M=NDnEH5U0x0E|Lg24fa*%Nt_kk$?oMzI?jC|`g1fuBySoMn z?ykW-xVt+cI3)1jyve-Gki7Y({!?}9+*@^f?Y7h1XZP;4+#~$VFG|RGt+4Bh!}gs( zdk7)T5mNJDTPgSFG3+TRM-;c_w_IdtH=J`Aw5jE-r3er{tC&)F35!Le;~_x#X$E{I zDqq-tyeFIsVk`arg^2WyH=Jmw+ndFkLI1QhwgrsJ2`8sX19FYuUpHR&7<}7-QMM{T zcN0AJo7rnp>Aks1nJ%UDyy)1^D&|>D5z2?PaAM$=#BG6Yq_AQwxtZFc;*q)!*0eXg z#9CG51K5uKHjX=E9m=PzP8nnVj9q&#DBT^IxADG~tqByx@r^n$ZM!jsJTQc5RaW89 zZ+f=+!)lXDynkhr{$fFVLnoXluy7(w>@(wIe=^x7M@A9Oyd!>Be?|q7z>COD z%ysc7B#|ztA?UT!u{^m=3CVO^_gF!9UuAz;uV#{K3j47DyKt%YfQ%YDBqDM=M(UnM z#3%1^Gx%`GNuI?mj?>h`n`Ouln_WYwrw#7Dn}el&@`f8(u|CbmAQE4mpamhpFUb+7 zt`H&a_w8x(4s2PgC#}u74ke%GhcY_$tTrFbcvl`WhW3SUIZ5|L648>3%JB5ZyGcFL z9URk9Wo?a8S;=3agBn#qL@9(;Pm1C)k#s3!jZEdKMq}*_PDu*}@AsdBn!wB<(bkUL zf@bCS2pl81`*ITtSTsGR4Wy$TGu=Z7s$Q8$b3k`xh~f5gErYb9Sd83YZjh!w0L?oy z9FywEt%6-kyxQ40lxYV8@c>;?m?K)LgEz?zx05n2(i6=Cdcu)^=n5tNRrLo*M9~<7E6ug&P9~{`H(J1G zYXV>*{Q?X?D?%)-pr@AW2BPs=t0~4FER2<>Rzpzg(&^NNld)NJ#J7%)+*9JVc~Jd( zsOorj54c$aVk1oq?EW&vKMR=5h?SD-;ztem1O_VX&iA@I_qY=j8^vLZL_VA* zmlX3xh&z$dA_x`)>Pb?C{N>jdkCa=e#f6~kqjs;d{^c6tYRT}*0I4o`VfK$r;(hAM#mCMLP9r)l{<(6u5>|^RuTq7NNlEN4BBm0?{ zh>_}VTfij2UymcDFl+}**Zw8UfmiQyHCvt2Kq;s zmR)sht zAHCostU3HLoFLSz);JUyj86Hmv0h*56pW>%Sj2~qo$&Z&jtD`6Db%3Y;lUK37ruBO zhT;x2%%~Z)ajAZ215W25H1&305;!$eWH@Bs6gV|Sga+!vofAdT)w2*JCUcc~Nr3Yb z6ySmp{k2X1(u6-2>Owkp1^_)W14}y-dlN^4-^U{5EBp}<%j{0Ot{YQ-tJWKuNZ*ow zuS*yqsVhioDmZoX0zBPt!NM^Kpx^1W-kX$q`_BDZ4C{;*M;ZnkMJU;AZ>(u=jK}GE zufl5W1Kry1@xF6tL&@-0`qDS~~+y zQxb1o`*W=nNY@-7x_FT?Cm$#=5qPPyHUui!)UICbi zx5O(fVAhi2KQ|w_>X{vfr3IjICeS7~kqMh#WnMG zUxz~EL8NMDV}%~=OCbC4vJd4VFu<2Pd%{FAqtx zV-xpE)``IerU7ZVEjQIEH`NO1JwbHYtS6y-;S*SFO#%k}m`@n8+H!AOr7$}8_BpP2 zh_3KgU)rencO?mwBQIdOK#_R!E-)R1zLLZXK47wU@p24m3q_uKX3^Rft^Iuj3dpa; zFhT|b>I3j}k^hU{`omeM2IH(aQ>RUH!4Ve+LK*|)_lg){P%jop(EBr!uwpzY17u*3 zv$$-m&!BX23XuGV+-d47`I6js9x6p;$|4fM@}*^Gx)voKE4=1sCs(T)OKw(fORi=b z2OZZbDI?PGOR^x0$z@)whT<;6Gy$M9rAIikh0Qm?FhL+hX3i0lkw(4VB>1>W=f!q$M#LGztxu zzB*?y9-Q)UukT~Fhh_-dMvjnjDAv8UNvYlW0yPi{eWwWRN4>$Vz*{3MS7+&npVe)* zt&n}LnSpLs*LPvBK6JsVooy2#JM5ezTh}TcjBeH{TzJt7E#=Vs+7SJs3489)zKTJ! z&(2+wLYY&}F!8~-P@MBEFUGz*QAPBs2=?1_u_NdFs3TU(=u>K>rp10U;WH`sWy+2@ zQ}-fS704|IO~SUT%~0=4VC=WMTjUFK;2G*J?=RWzoNH9~Y%>}@qj9CR&h(GwLVcac zt?4b}wTv5djPR50(JzGzDl^s^2=6V$oJv;8IDbdFj2Q*qZQ&3TDa&lyMFvR(1YynG zpdUf4SIv+wSx{{EMx{i+S*-Spp=Pb+#qMEH&0>@hq$*C##0XE(5JIOt)k1}Z*pf=t zB+EZaUUrB&fO`#rMZn;MK9JHxhQ2kgV{R zB&O$ciyoY!l1ko9Fvm6ToivvZ^^!{Ew;nLVzlHh;Zw{0(?8L4y=-q?Ao0KPC=1pGR zy%EA3-v#BxIEpoiJq2!n(CA!d4Z{R}s_io#O1h;&dzRhq?Qe)O+O;SySU-#k&-u}0 zpt3et@j+mgUK-BG62)dNrHv7yfy+W$1qQ`MoAYv(nVpB6xwx4-E(XB%7?c+quf}P< zsN-Vyg&!Q)2RR0{1P)<)t2S03JRMkDC0v=PO(O_rMAm%SkOkVQSx6aEM!=5E+}-w` zESn6C78u)4wTEevu!S!;B%vxsP=I2cUn+d1&0=DGu+LkTDm||Q~u@jYI z${Rtm-vq%SDj5IRX$lC<-tdrJV2$nTiCFzAe${O<&yhF9w3xiz0=)rNNc$&( zf>z=7B5Cs7P?1qsJ-Kf%G3_x{EXDA3n@G-))ZWfUk8yz_urJy!&kNRm9I~j~mFCOiC{wDzrDj z0DNr_B4Gce-`TDZkOeFK6q8g?kBLi2Rp@Aff%q^Bhm3OC@cRkz>Gkg1%lVILIIwl% z0FovL1h2t$w>w_HGYp|uolclv3HkItce@X)(@*h$^L0g;y7#PCKsJ~|zz?zc5o}eE zgAk*1ka@OeY^>MG5BvJ17{b+f<21^KICPL_^}~7kc4RIa0Z(@?l_e@#kKvGC980Bt zl>4H9rBM_iI%>(u#NvtVgG9-;pL9v%7Zv&NT>ZCIf&_@f81 z&FMka!A5vz4ddea-YvM_!<`FcN_p!gFff&}CM^ssFOdmHA65jbr~H104>4JpD9B=c z3K43H79K~bLI8&;z1vYQb3wl$DuiCIAtdDZq}H-8F`;>#VkkO&NJ@vv=LS+7)58&K z4rF>Z4fRkG6Em4oI0~^;i&WL+@V+o7u&t9`W@e6YX-gYbhW@Is=Ty~-H3p(P6yT*N?h$Xp^61S)>30 z)U{2kb$00|t`ACTe6HhkUVhEHMmgw1JQY|d$Fb1HTkFl0_SPwU#30R`{Agd-S<3S+ z?epJ1u>_Rtv&`Q0MWvi{Q~C$COTv3#Waj6g!OsF;DKgj?K-3zV)1Oek<#0xAT(<1P zE?u#?%JyrXz*FWEO^WA2Tf4(Eyismy6WbbG(w7erQfm=drEs)Q$x%fYnA9RvWgIYl zYL#J0pBO#aTwYe4n^h&w4U<&nNZceL-Jhzj{HO!-G;*?Zo?)mjn2f2`HaCLXXU9KV z6NC=ipxUyd)fquohDcChy_#B1C`m>$#Y8dZuD;+B!c5~>wVc{k(0mE3h3k@4pdRPT zhcB_RB896&uwd9Le+B!YVhK%Q0GZ_?u+&?#nij4ZGg{h@7x7dNt`MN!Go9%Ej0F zDC-ahxq3oHL4LmBxD5pFL=B0vEygcORqa@k-A|6eqA$bo1Ho$?dvFH@}zFBuY3ua0|E-@ewY7jxV2Klg`Bu+P)F#vTCHDd@PO1- zzOyL3nB`f|rN~SN-jhv?$~V7ax_CEU`A3c>n#~&kJH%q-S<+`S#-@pGV>LdP)X3O| zq+0DSJY|^6VHJ^y##9k`b_cwduxaV1g%H80B@ig3Y;j@}vb0C}nw3*&u2g53P2;So zLo018o0#W7TY}=`>Vap#l_l??>@$%W`V33XaG=wbMo%?#b(=J#>_c0fy@`EBBm()Zv57e8=E4Nmv=0UNdV+J&zX58r@ zs){V&&x*Zas=&F}73NE4C+~-Fg-0+qc4WjA7bjYvR#{VXr;+0ysPBuQ!wu2L4s#X+ zU$q2{#W%65_#-!3B1t`>UGVpj`;kOik*{$TvW15iF5x z6N){~bXu|)6X@zvD$yZcOC~f93d~wEboMA};#JDRYB)SnCzr@z2Q9S`p5Vndl)?mW zATn|pqOu{Q@?|r{xf_#nH6?8_#k7{ixm`$3HZ7({GwjLE@=I=kPBz3$==mbo`i%+r zBhS2XJDS zt*6cV5z3X(hs%zU7^@^HJB zu$G*rz$zJEoVMER_ST$D;kqTI6RIz$O$36H=q`qH&LD%!#e*LmF?PrAzv1_s(F1$b z1{dXYfumq+#B|2?`ZD<7tJ`i*KNx^8a)Qm06Q&^4r+~JM2y4L6m--OQc7MWIXPE`xMf>BtE`Ry$NInN?l^sf3aphFd zfEV2ACkdA!d>0|CbD8^k3#2*f&mgH^G``i=7PTggfw|8DD<`qO06TI$XblWSZNHwd zP0r043p#lD!A6DBY#OK=`I>{O&0nCEEe$4M6uMGgJUG0Aa&TLhK`mrt*8FAD<1%QH z!=w~{?MuQpC!XE~w;r;XQ({-|9R0}=q~$PQc^t}jR8($ol=-55s8pYCmvjle(V2vv zd)ImL>FUVCK16EYh?sCY+c=&l%uyQ(Jb#7sfUI^Z^p&sNOuvam9mEEa)Jwe9Jmxz6 z4Aq>d*^(W}+Z3O!;br>Q3UR>3)6Ee)wMaPXh~lS4DD`hZ$Cosno7$-4z+K|FKTc>n zACmiTBo-N+zx#l*tlaK7zftw)3BO zfJ|B=^5+#CcbBG6D{KG?S=(@TP1_rHy3@SJpPRU8idfyyx_r4N$+xYt-~W~Co4=f| z6!I#3t}X}FJCQk{WHNm_q6bD-m{wNtj*NC8E0R}hg(g5P6pRnt{?|9tp)=!GlwB)Q ztolOn5Y=#Cp4f74Ol)As=fNAFc-z9NSl2)Fk$#9X@mU4P-$CAKdZu^^^NAwg-l^R~ zu~<)-w?izhidr5YgWVTNGE1a#8e8yqB~D)K0V!$B(lZ!dIFs~l@#N*dq#q8s-%B#i zfzX~GPcR8fR>qtj*{xNei=eM9ztMcdx!x7y zdvVV}?G@pW=X%y%4~#Lq&(}!;u^jLz;~=|Y-^*_{@E!rETI`?!D%v8*K!1*6=m>-& zv9WkXTTZEOQCNC-X{$771kFsAvzA{u`Z z@T%~2#5i`(_jP24_eY{GU*Ui&%+LNN4815vn*9y^R>hW>Vl7De?hK$469CY-MR(-O zR5DU2%m~B3C(sG*eUj>MQav7eIhld+^ike+>@(>T!M6z=Mg$?IZE$5gOl`*+x&y6TAYm14%L;X#+2VPx1mXdk|m!gN`ifA=fgy>@Au0(Ka zurC54@r2ya7I}~!;61m4N_0LLm7U?ZIQU%0AB1q=av0)K=-*!|(RDoglJ z%yj=#1J2PtI1Xj-Cm3ITnE0IBU`Ba&$U$Kg`;b;fCo{a6a#kmibCO#vccKu<+z^6J z1cO%%CGV?ad>Lh2KXKkHuW|0J+AU>uw0{G7-4_auHiccCd_WDFhZeOYi{PSW)whVH+-JH&epwcU;QARK-6}q z0ZK34eeYOf7*^Q28*9+GIoG7I(-q^YFAbp~8%E@{XYekp-wL?@Ca-zdrC!y+rNki4 z6h9m{42ztIeDjFvNH?ydVgcs`hQQJQ1Cy3Z@0#t@j&}Dlr2iJHvLPGR8%-8{Tdg=) zkai5A4~<<6(}_#+CQRAbY;MtRJ(4eT!{~0-qP~2(TWvo3Rz!ZI0`BBClZZ=?FVU+6 z&QOZCksLR;Q;8Oz0d_~tERAab}&Jwa+HS>TTF zJ@Z-JUdM%N`s%!n0#ly@8v7U3KAFHKy(_}*W1IRco%7oj0d@`-6|910*~`icYO*^< z_x+ipryQNlvfGLS$KHIL5xS#CSwiQ8mZfVV0v~G0%ia;e`lrfcs@VJN0bY_}AQJ=$ z1>=zebA(V!cLCERMKHfheBn^#+426v@#FyD1<|Eb%1uy2N#x;u&X5?$X5sgjZ{84a zm%?t7Er&A3!wV4&7ezA$)*x*mm1XZ!x{KX6<#>ro8qVJw099fEOIggpS0cX1w~r(Z z*uH4Q%sCTfHH$TM7ZF`6G_?(c(pRHNES@DYv#^y%=fyuijfo1+nuy@3Tmivq4>m|X zux4sRwM>gAXTUPF=hWmBp#a;rm!*bi89q!X_3x=YLgE~Dvb0Ol=`;(f-;1r$ZE2%^Pu=W~`+kn!2r@5<^QaH9((uzEo0^S;HlMGyEESJMm-`G9I1oJWs4cJ8xu(jtE*jP z>|l(OAFmH_{51*HU*kVLDBA~t-x2`8ezZ9V#>t# zNodQ;rp)FIMU1E6p>@G-*EbaPB9LApd5ae{^brH z7NrrKQm$TSC@w;Gd&)xCg7*WaDq{ypj1<1kI!uA5;1aK>WT0QXQ7tafH?+7Xw!krS zckT@qLbEEJUZJz;2xo>n)Z9$;GFy5Re1S9Ys4QR#?sr0=qhjlDv0`00DLYMiJ@C!z zslI6$Boxf!40xmb-QlS|mzFu+jWJyo%Lh85o6RXEM#(ZIlZ+$O8a;W?Q#*_b`9ofp8|@RD1^z6~%@D0^fu$53B;bEnjQg(fFSjo#I zV9|i#%IZz%SR|*W-wlcsg_zJddPAk48d@6$3qSdtmG8K{J%X{&lv2t1hW7~XkmW}AlX%Y@u`TRlUV+&)vL8F{ zf-YiWMD7qn?1a5ToAO}Et_Rs$atT5`)c7xnx~A@{$k5lBhK!n@Fb%1+nG$r>A~1&3 zUnMk{D^Sg+704^eXeg8!yniEqNzC42z7IjFI11XWD#4@7wftc*HHSGoh$O{hhd(3< ztqt|lVnIQYxIDa`AcKF9{Zpo7Bb-~IQ;N=*uF!g2pl{=MGK=8g7mokF-L;* z?!)tqrrEMo`)+%w#Kw*UR{;xR)N?ok_L2nqUdQT(Eu4#m!lePKkLA~J0}D+tYbr2~ z#GB~yLx)K&cKO`zPj)uFw7Rra=v|7faj$DcM`=Gev1WD|dtrF^EX4w}Z7@aU78A~2 z78s1YQ}5BkIuk;QNs{N6@1uPyUqzGKqjD{5%yfM&EUYF9)(j~mincby@Ufzk4vWnc zHrmGfOn=&DAngom%)Xa~#Mgz(r;u6$^%{raWcGAiG9_Of;MlkhF--Q`v(@!TJi z&C3FuCf(|vQCU?e)l(Hd&}^jd?yfB<*?t-LL=jwm)D?Z)UvKtysk`@)rKobeWK&UL zlL+y&6bNf{Q^m4Tql+QCu9z~RtsD+-hIKvh%^=z1> z=DzQxP$dSM$s_5s@k2zVn^RV=;dt@6kj%9+<$?Vt3Qo*ZG7Q80r(Vv_QILIBJauQ| zw6Z)aGPk=~e%}N^5Xg(JxVs1oI?u}9dtWpHK?2jm$?{Dd8o9`Eo#~Vt)JiUDAJU6@ zbbPGY%CPE8TS5AOQVn-Is|$BKr^|wdgE{{=X9fgZ7YAw|+P;TG9EJPQeo7t1hZ%Yz zDrOZ@DVyQMu+=#l{pOLvckCs^m(B$9q$R;8dHGc5f^6O}Zi&jz?C zx`)8pC(N)3`%6eYZF9a}($Q9dw;(=HMEfZC?4Om*4$d&DjJ7`>Ww-Ok`_4lmp}_QX z1@#Dpem+607V{4is}v4KN6fbh9}lobOEP}>4)%r;EGgsG_T<*~(&_>v=n7Y@MepOop4yr4gkx8G)mNJa~L0Jii$9ly*+ zm2gkV;C#q9b6?|R?s#&4dhrg4hD!hSYk6rRUqOU>hOFG3z|b@a+PrA*%sx6=avKfL zvk#3l9XH$6d7JH_5YWhOBjz?L0tMB>*U772{EJllkLYOji=ex8wTCyL4Vyiad}{`2 zg(_SlE5mn~@<}DTkhRqWSl-SnB5Kqf#V@NMp?gi3n%nK6EwNF>md&#oS~7_Z*kOjd zaQnt@)70zj2X-Hl&zTjBzh&y*xl(GGc&DuO#)5@MM?>+YiM5pi_G^Y@`t&4Wd|5={ zbRHl3)N~$<)=u@*nIoFW2~+D~1%`OOsMyH3QnT?M+&~rNF!FY%6U(iU@vC!PRkGaX|TPdOUsO< z%|m)JZE)N#*JtqMq?5NS5-hQ-n<-~m64e{gct`#MXUKf#@PS#P+_y*%$L}k~sn>`o zNklnGY5_{q<+{^*1l@JfC0Mp}XdOhJ-m7|~_0@+&v3y}~5xE5susjF?6(~0LktUJ8 z`d$}l*(9_0nieU(&${g|62wQrn@L)n>8HX!FFCT0ecFt@il^OxDCCaa(y<+n#_c6% zL{oPbMKV!|BfSvYk63qbqS=im=Ok%=O@Q-daD~Ot9n0QGsP7FW4bJ6ytS`uiDg^zn zdP#kE@DU63A2|sUo}NwL^_`V=$$+Pz7;u{PU-4c1@fZj=>DU_l5diZSzKb#?z*;4{W%qP8O6(l!>lT8Ha0Dr@ zH-bUBMxy#;s>o*6*w{#lU4hf?>EqX{ZxG%tr4-RUaBy7JUrYqwXQg42Gv*UP2=&&2 zqXBkLSVRa{vXOysml@8W$~n&z47?sJvuWuHAp1u6 zVZafKDN6f3@yNV&m-sc!!*XG3`w2(Ed~MTSioXW@3DZ(m$fH^F;F_|`7k{r{9n2K! zlXI2UcXoyHln-6D*dq9cK(?=CagN?9GiNqb*ULs0w8b40yd0Vbo4lPrGrqqs%JK40{73 zRmTm>OtJOq6#;hg>WL)$VqLGoSTxZSy;0F7J_sgxw+c7+n)XWL4j!B%t@#`lxJ%pP zdIY_5z!KdB{jlOe{-Jzf%7yyqW$SSluGVr0il#_Y9{uBR0?)yM`OSxnOtV+Gh2ax8 zZwj4^K)Y>weeBg=@`&WVHjWB3uHGAV1&}czrO3#^EHLqkWi< zCFtA|>sBNGEa48R$J;R)B(7oHa;h&haYC7hP}N|YZ6fFgw^n~&u~LAF!(suV_Kdze zBYqwD{}SQ#EJ!axUPh{$AJGF4gFRhQO!0}B1zNO1hDux>6&M<7wc()IT!OuNCH|2O z;StCyzELIzG)@pBF~gR*`Oyf6x=a5P# zh(eckvQTPp&W4M_TKQISIaRV>8Qxm8$7~z2zt`;x#NX>zXaarr5D*dR4tOK@S2T8l z28LF)2BIdmcJ>Mmx*UYgY<64~NC1%sC5Q zIcB5K2hN+o7%UT+9*$Vg@ddX5>;B~I%GEwlht^0vL9zFZQ;B-9=8S?`jj}?-O1hYq0|=aZY-U7(`m_62QfOOLFAzngSzH2 z_2y*uh}i65MD2;ww8Z)X4TqL-N>&dhN}RwPwS{8!3Nz5O3sS6;!(dr#N&^0t;3*gM zK!GXB`C@}Tf`w)iYxgmR?Z_3?TI0BijKO7)D+pF4r3lI5cN)#|gZAnLtwm0^)Kj&J4JcF%j~qwCMHpIm5a~`Sj7_76b%lGWe2WvixpZ z4j}CGvd;uN7)jfuIqIYCe(fdq80xpdE@sdhhD%$5oZR^s+!$@5HJ8O)H~jQ{!;nL` z@M@*-Dpt~YE+%uo)iBPWM}s8Qu=YSGX=Dq=)Z7?^7srHwpm-kf+Y-9iZxBhv~kz$4Vtcqb~HNRbkC%f zKkO$v*VN`u*Y2e{M8frUerZI6-wo3!(#UX?CBf@1^Nl_BE5YB#kT@Xjl<$$%Ujbt@ z=dWY5f{UHKfyKY^DP+VBOLp_427a0^v8bz`HJuSzW)(yc?g_w%M#p$V|N6i)6@My* z6oq_Ba8**p7lxoS2${kJu}GjtEuHz|)6-~rQ>#~N`-{#O=1GJI5ya-GIcol+z~*S# zB7|N;ugE_^=`Y?#^Vbjei)Swy;jc=sAceYd*~Y&)vkT)AqE=;*?I}&K^zM|;f?28s z!{atqhi8V+A)IJKSr#M00@pfip2iUib8KQ)APz+VX2mhkg|_k-Y!u6$n0<({7nKQe zt>=vPb*Zne_f&PGq_VS?e#dU`vJzBEnHKI=QPp`cH}t9_-cT4!F&jt(I8Q7ax94@g z3aZc63rUM|W6$ccJ^~g_ffG~bvbu>%xUwm`ZesxLjL~#Tt|cPJ*M8QbC9Uk2qCTk8 zu^o1m5S&-*^25L(W4W8v*eTQ~33dkFr##Fm|2GiYzGXxD0HE?#!4nq^Zf#7Ep!=ZY})X&G8y`OLX^q zcbj44ytfdyfHy9S1${qIlgUhioAfjHz4WCuFV9C{YoLBn>?Jm)`LSHnEi6acX*w3j z6qU@&+&O>6HXA_(?vLYSrH(uY_}bwQ<@c2Lyl#>!?+Cx50N%c5?|ZH~kW(JLtyDO<uZne-ZbcCv< zF$2qdHyUPJhp=LxJ!9_Eq#g9O;s7^i?Kr9T>k|4vF5@E$oUAOA;wKcDO1F;z*o|jA zZMP9A$%&Sf2rz2CN?s^z*BUY~ZZ5~~jdMiiH41o6PuIL7@Apm#iCa}YzxbE+j;>H9 zn)|t7h8bHI&|4cI`KoPn(13hXWw?ZNhH{#>RsA9wz54CN77h)#`J-WN+|WQ(rW~+p zIWRf103$ecl{Eiix`FY&A=MS$?wkfg8sms4a%^YMBKD~drZpad?s^cV(A!9{x#QHT z(K8D}ZiNv_A6nyqQHf2d#J;?;lBp5g%nWAoE^Gg7t9g8f4Se zf+1BpQz^ZCL#Zk<@iwOin-VGx{2a|4Xbr^3{&kAY*S+wlO(Bj`320QQv@V9NtQt4R z8+Rk8nikHENB0MK!axzE(O{NIWV8w2VDV}J`ao-`&PwkkO=fDr&SYPq4A8#2u)I>ff5(8*wK=hy!I+0vl1#L1$6!Q*_bxf_$sV3t^Eu$ zN9Kagh_R+#*J-wDPVODMV6ok;Cr04PX=34faIRES6iNz8 zVHnJ`w^^WIe2#trdt~%wBcnS^t#`u}V@E2S-VfGCeT*>}%VT(eI*z&`Ig%;uMJ7I! zXL{VaP>Ht~GC3pJJM}JDd}e!213#USi5R2B<^n6T{&;>PvIKvr#u2=<_lpj#@9Kfw z#mGdwB3KRPU>y_=5?fe5C9!mWE?O*3Og_dzS*p&#jVOxM{k-iVxO1v0q7>H2mdh1a zqn7^~GF-GsGRV|8oVSI!L7J5yC64`Wnu9nSevFD-NbVq7yrPs!&F;y(NW2p`qL?J7 zjnA?*U4T1rEJZ!dslGs7g=XG*RwT0yjc6M7_U6*OFE+ z{+jo$cLZLqd@pE05USA{=w)`)dU7vV*#}Mx!TBN6jsQk)7-0%ZkkQM{L()N|+__i8 zuEAY%{1m#FFT6~95h>b|_O(8Xsl%e+V;F`MyxM&G_os5X_#>1UV2~F9d5~3msiZ5kEpCf!v0GR6j za{;Ei9~UCfH-S{Z_wRg2|C9po-t?Cg?LSidU{Ly}gaFRcza%{Pd%_i`QpXBPnndt(6kt%=@GX6NS?_l{NViUF3E03YJNS#$*C;Wri~{w%{EZ<){WK#N>g zGy!>)2c)L^8{RvBv-mf7VzxT^<_1at{&{gL3j=8@D>Db{-$UbWYAy8wK<)v(^!twR zpI5C91VD}JH_!mmUvmdLz`-(66LSLrJv{?EI~g5I9iu;`7M|yQ1WsG@JB9Wgz@hi| zyyF2xO@CuRQ#K-}_pAF!W|9#%&J@8C+09Aqo$UDQI83){JeeMu{3;n!3 z#Q|y&=Km|>`7R92%7Bam0cz*_kn!hL>qCqFTXbnFqyJe8W41@3Xn;TyOF)^wpNsnQ zs`cprXn_2t7XBuC_xs{=tk$pK03NYpz$ifYCm`Tn>w^jS`5R2YsX%)jbMxP$t#nF< z^Z+U|0WdKAy`5|T{o*%hf>u`c-*q>vWpqp|0Z!MSY8%hHfcR_!=@g)iNB~9su9@)X zRqNvo5dHfN^p7qe;%uPj@L&4$=cxYJc_q~VR6zhL^`DS{d#z83&~H)ycqo2gf6w&q zE8@B4?w`=LK5??Y#r;vO|7-Ypu5tJi&ra#Lcz{RQ^N+a=?#z43d! zJ=fs)iHch#(pKBfbw1i^(FD(5vQV38w>%S@=JU8{6YW}CGC)0m2^*@N` zpTj@rO#ca=VE#|=KU(6S7}TGedQQIj(^P}~zcBSjrTt&k^_;)*r;!Dxe_`aG*({%z z=sDfrPh%Kv|77g1+tJT4pOa1f#60o-C(IuW@(1)EKmM}2_uR^JR->O*4t;;I@*lKc zIgXxVK4(<;iP;tUE9SrFS9osc`6>UOb`ryXvGeQT@vqMOKeze(toBcv!cqUX&EF4K z&x2}zVxHyv-0rG8(6=ka4d4fGZMV&KnN;@^0FpO@r$ zyvI*NUZuYn`lY-6)8qDh5B(={K*cY}zjmfSpnt!k{=5*+_bz{$a<2X-Q~$?Y`h3go zC+vL9Kf(SOF#cf!?|A{9JNAEC!fpJ;()0I+ztr9TQK09}=AUNHntn0!7uX*K`s4Nw zW8ZVH<4=6i)_;NjzkQI;>+88A<)@+Lj{hzU|Cd|kwG \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >&- +APP_HOME="`pwd -P`" +cd "$SAVED" >&- + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules +function splitJvmOpts() { + JVM_OPTS=("$@") +} +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" + +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/java-iam/proto-google-iam-v1/gradlew.bat b/java-iam/proto-google-iam-v1/gradlew.bat new file mode 100644 index 000000000000..aec99730b4e8 --- /dev/null +++ b/java-iam/proto-google-iam-v1/gradlew.bat @@ -0,0 +1,90 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windowz variants + +if not "%OS%" == "Windows_NT" goto win9xME_args +if "%@eval[2+2]" == "4" goto 4NT_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* +goto execute + +:4NT_args +@rem Get arguments from the 4NT Shell from JP Software +set CMD_LINE_ARGS=%$ + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega 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 new file mode 100644 index 000000000000..de67660af077 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java @@ -0,0 +1,940 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +/** + *
    + * Associates `members` with a `role`.
    + * 
    + * + * Protobuf type {@code google.iam.v1.Binding} + */ +public final class Binding extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.Binding) + BindingOrBuilder { + // Use Binding.newBuilder() to construct. + private Binding(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Binding() { + role_ = ""; + members_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private Binding( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + role_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + members_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + members_.add(s); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + members_ = members_.getUnmodifiableView(); + } + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); + } + + private int bitField0_; + public static final int ROLE_FIELD_NUMBER = 1; + private volatile java.lang.Object role_; + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 1; + */ + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + role_ = s; + return s; + } + } + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 1; + */ + public com.google.protobuf.ByteString + getRoleBytes() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + role_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MEMBERS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList members_; + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + public com.google.protobuf.ProtocolStringList + getMembersList() { + return members_; + } + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + public int getMembersCount() { + return members_.size(); + } + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + public java.lang.String getMembers(int index) { + return members_.get(index); + } + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + public com.google.protobuf.ByteString + getMembersBytes(int index) { + return members_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getRoleBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, role_); + } + for (int i = 0; i < members_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, members_.getRaw(i)); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getRoleBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, role_); + } + { + int dataSize = 0; + for (int i = 0; i < members_.size(); i++) { + dataSize += computeStringSizeNoTag(members_.getRaw(i)); + } + size += dataSize; + size += 1 * getMembersList().size(); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.Binding)) { + return super.equals(obj); + } + com.google.iam.v1.Binding other = (com.google.iam.v1.Binding) obj; + + boolean result = true; + result = result && getRole() + .equals(other.getRole()); + result = result && getMembersList() + .equals(other.getMembersList()); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (37 * hash) + ROLE_FIELD_NUMBER; + hash = (53 * hash) + getRole().hashCode(); + if (getMembersCount() > 0) { + hash = (37 * hash) + MEMBERS_FIELD_NUMBER; + hash = (53 * hash) + getMembersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.Binding parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.Binding parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.Binding parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.Binding parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.Binding parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.Binding parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.Binding parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.Binding parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.Binding parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.Binding parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.Binding prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Associates `members` with a `role`.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.Binding} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.Binding) + com.google.iam.v1.BindingOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); + } + + // Construct using com.google.iam.v1.Binding.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + role_ = ""; + + members_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; + } + + public com.google.iam.v1.Binding getDefaultInstanceForType() { + return com.google.iam.v1.Binding.getDefaultInstance(); + } + + public com.google.iam.v1.Binding build() { + com.google.iam.v1.Binding result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.Binding buildPartial() { + com.google.iam.v1.Binding result = new com.google.iam.v1.Binding(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.role_ = role_; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + members_ = members_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.members_ = members_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.Binding) { + return mergeFrom((com.google.iam.v1.Binding)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.Binding other) { + if (other == com.google.iam.v1.Binding.getDefaultInstance()) return this; + if (!other.getRole().isEmpty()) { + role_ = other.role_; + onChanged(); + } + if (!other.members_.isEmpty()) { + if (members_.isEmpty()) { + members_ = other.members_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureMembersIsMutable(); + members_.addAll(other.members_); + } + onChanged(); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.Binding parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.Binding) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object role_ = ""; + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 1; + */ + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + role_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 1; + */ + public com.google.protobuf.ByteString + getRoleBytes() { + java.lang.Object ref = role_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + role_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 1; + */ + public Builder setRole( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + role_ = value; + onChanged(); + return this; + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 1; + */ + public Builder clearRole() { + + role_ = getDefaultInstance().getRole(); + onChanged(); + return this; + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 1; + */ + public Builder setRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + role_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList members_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMembersIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + members_ = new com.google.protobuf.LazyStringArrayList(members_); + bitField0_ |= 0x00000002; + } + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public com.google.protobuf.ProtocolStringList + getMembersList() { + return members_.getUnmodifiableView(); + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public int getMembersCount() { + return members_.size(); + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public java.lang.String getMembers(int index) { + return members_.get(index); + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public com.google.protobuf.ByteString + getMembersBytes(int index) { + return members_.getByteString(index); + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public Builder setMembers( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureMembersIsMutable(); + members_.set(index, value); + onChanged(); + return this; + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public Builder addMembers( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureMembersIsMutable(); + members_.add(value); + onChanged(); + return this; + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public Builder addAllMembers( + java.lang.Iterable values) { + ensureMembersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, members_); + onChanged(); + return this; + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public Builder clearMembers() { + members_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
    +     * Specifies the identities 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@gmail.com` or `joe@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`.
    +     * * `domain:{domain}`: A Google Apps domain name that represents all the
    +     *    users of that domain. For example, `google.com` or `example.com`.
    +     * 
    + * + * repeated string members = 2; + */ + public Builder addMembersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureMembersIsMutable(); + members_.add(value); + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.Binding) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.Binding) + private static final com.google.iam.v1.Binding DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.Binding(); + } + + public static com.google.iam.v1.Binding getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public Binding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Binding(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.Binding getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + 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 new file mode 100644 index 000000000000..9f14ebcce327 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java @@ -0,0 +1,968 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +/** + *
    + * One delta entry for Binding. Each individual change (only one member in each
    + * entry) to a binding will be a separate entry.
    + * 
    + * + * Protobuf type {@code google.iam.v1.BindingDelta} + */ +public final class BindingDelta extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.BindingDelta) + BindingDeltaOrBuilder { + // Use BindingDelta.newBuilder() to construct. + private BindingDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BindingDelta() { + action_ = 0; + role_ = ""; + member_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private BindingDelta( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + + action_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + role_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + member_ = s; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class); + } + + /** + *
    +   * The type of action performed on a Binding in a policy.
    +   * 
    + * + * Protobuf enum {@code google.iam.v1.BindingDelta.Action} + */ + public enum Action + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
    +     * Unspecified.
    +     * 
    + * + * ACTION_UNSPECIFIED = 0; + */ + ACTION_UNSPECIFIED(0), + /** + *
    +     * Addition of a Binding.
    +     * 
    + * + * ADD = 1; + */ + ADD(1), + /** + *
    +     * Removal of a Binding.
    +     * 
    + * + * REMOVE = 2; + */ + REMOVE(2), + UNRECOGNIZED(-1), + ; + + /** + *
    +     * Unspecified.
    +     * 
    + * + * ACTION_UNSPECIFIED = 0; + */ + public static final int ACTION_UNSPECIFIED_VALUE = 0; + /** + *
    +     * Addition of a Binding.
    +     * 
    + * + * ADD = 1; + */ + public static final int ADD_VALUE = 1; + /** + *
    +     * Removal of a Binding.
    +     * 
    + * + * REMOVE = 2; + */ + public static final int REMOVE_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Action valueOf(int value) { + return forNumber(value); + } + + public static Action forNumber(int value) { + switch (value) { + case 0: return ACTION_UNSPECIFIED; + case 1: return ADD; + case 2: return REMOVE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Action> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Action findValueByNumber(int number) { + return Action.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.iam.v1.BindingDelta.getDescriptor().getEnumTypes().get(0); + } + + private static final Action[] VALUES = values(); + + public static Action valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Action(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.iam.v1.BindingDelta.Action) + } + + public static final int ACTION_FIELD_NUMBER = 1; + private int action_; + /** + *
    +   * The action that was performed on a Binding.
    +   * Required
    +   * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + public int getActionValue() { + return action_; + } + /** + *
    +   * The action that was performed on a Binding.
    +   * Required
    +   * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + public com.google.iam.v1.BindingDelta.Action getAction() { + com.google.iam.v1.BindingDelta.Action result = com.google.iam.v1.BindingDelta.Action.valueOf(action_); + return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; + } + + public static final int ROLE_FIELD_NUMBER = 2; + private volatile java.lang.Object role_; + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 2; + */ + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + role_ = s; + return s; + } + } + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 2; + */ + public com.google.protobuf.ByteString + getRoleBytes() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + role_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MEMBER_FIELD_NUMBER = 3; + private volatile java.lang.Object member_; + /** + *
    +   * A single identity requesting access for a Cloud Platform resource.
    +   * Follows the same format of Binding.members.
    +   * Required
    +   * 
    + * + * optional string member = 3; + */ + public java.lang.String getMember() { + java.lang.Object ref = member_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + member_ = s; + return s; + } + } + /** + *
    +   * A single identity requesting access for a Cloud Platform resource.
    +   * Follows the same format of Binding.members.
    +   * Required
    +   * 
    + * + * optional string member = 3; + */ + public com.google.protobuf.ByteString + getMemberBytes() { + java.lang.Object ref = member_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + member_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { + output.writeEnum(1, action_); + } + if (!getRoleBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, role_); + } + if (!getMemberBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, member_); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, action_); + } + if (!getRoleBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, role_); + } + if (!getMemberBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.BindingDelta)) { + return super.equals(obj); + } + com.google.iam.v1.BindingDelta other = (com.google.iam.v1.BindingDelta) obj; + + boolean result = true; + result = result && action_ == other.action_; + result = result && getRole() + .equals(other.getRole()); + result = result && getMember() + .equals(other.getMember()); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + action_; + hash = (37 * hash) + ROLE_FIELD_NUMBER; + hash = (53 * hash) + getRole().hashCode(); + hash = (37 * hash) + MEMBER_FIELD_NUMBER; + hash = (53 * hash) + getMember().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.BindingDelta parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.BindingDelta parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.BindingDelta parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.BindingDelta parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.BindingDelta parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.BindingDelta parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.BindingDelta parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.BindingDelta parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.BindingDelta parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.BindingDelta parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.BindingDelta prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * One delta entry for Binding. Each individual change (only one member in each
    +   * entry) to a binding will be a separate entry.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.BindingDelta} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.BindingDelta) + com.google.iam.v1.BindingDeltaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class); + } + + // Construct using com.google.iam.v1.BindingDelta.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + action_ = 0; + + role_ = ""; + + member_ = ""; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; + } + + public com.google.iam.v1.BindingDelta getDefaultInstanceForType() { + return com.google.iam.v1.BindingDelta.getDefaultInstance(); + } + + public com.google.iam.v1.BindingDelta build() { + com.google.iam.v1.BindingDelta result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.BindingDelta buildPartial() { + com.google.iam.v1.BindingDelta result = new com.google.iam.v1.BindingDelta(this); + result.action_ = action_; + result.role_ = role_; + result.member_ = member_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.BindingDelta) { + return mergeFrom((com.google.iam.v1.BindingDelta)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.BindingDelta other) { + if (other == com.google.iam.v1.BindingDelta.getDefaultInstance()) return this; + if (other.action_ != 0) { + setActionValue(other.getActionValue()); + } + if (!other.getRole().isEmpty()) { + role_ = other.role_; + onChanged(); + } + if (!other.getMember().isEmpty()) { + member_ = other.member_; + onChanged(); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.BindingDelta parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.BindingDelta) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int action_ = 0; + /** + *
    +     * The action that was performed on a Binding.
    +     * Required
    +     * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + public int getActionValue() { + return action_; + } + /** + *
    +     * The action that was performed on a Binding.
    +     * Required
    +     * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + public Builder setActionValue(int value) { + action_ = value; + onChanged(); + return this; + } + /** + *
    +     * The action that was performed on a Binding.
    +     * Required
    +     * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + public com.google.iam.v1.BindingDelta.Action getAction() { + com.google.iam.v1.BindingDelta.Action result = com.google.iam.v1.BindingDelta.Action.valueOf(action_); + return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; + } + /** + *
    +     * The action that was performed on a Binding.
    +     * Required
    +     * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + public Builder setAction(com.google.iam.v1.BindingDelta.Action value) { + if (value == null) { + throw new NullPointerException(); + } + + action_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
    +     * The action that was performed on a Binding.
    +     * Required
    +     * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + public Builder clearAction() { + + action_ = 0; + onChanged(); + return this; + } + + private java.lang.Object role_ = ""; + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 2; + */ + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + role_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 2; + */ + public com.google.protobuf.ByteString + getRoleBytes() { + java.lang.Object ref = role_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + role_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 2; + */ + public Builder setRole( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + role_ = value; + onChanged(); + return this; + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 2; + */ + public Builder clearRole() { + + role_ = getDefaultInstance().getRole(); + onChanged(); + return this; + } + /** + *
    +     * Role that is assigned to `members`.
    +     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +     * Required
    +     * 
    + * + * optional string role = 2; + */ + public Builder setRoleBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + role_ = value; + onChanged(); + return this; + } + + private java.lang.Object member_ = ""; + /** + *
    +     * A single identity requesting access for a Cloud Platform resource.
    +     * Follows the same format of Binding.members.
    +     * Required
    +     * 
    + * + * optional string member = 3; + */ + public java.lang.String getMember() { + java.lang.Object ref = member_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + member_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
    +     * A single identity requesting access for a Cloud Platform resource.
    +     * Follows the same format of Binding.members.
    +     * Required
    +     * 
    + * + * optional string member = 3; + */ + public com.google.protobuf.ByteString + getMemberBytes() { + java.lang.Object ref = member_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + member_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * A single identity requesting access for a Cloud Platform resource.
    +     * Follows the same format of Binding.members.
    +     * Required
    +     * 
    + * + * optional string member = 3; + */ + public Builder setMember( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + member_ = value; + onChanged(); + return this; + } + /** + *
    +     * A single identity requesting access for a Cloud Platform resource.
    +     * Follows the same format of Binding.members.
    +     * Required
    +     * 
    + * + * optional string member = 3; + */ + public Builder clearMember() { + + member_ = getDefaultInstance().getMember(); + onChanged(); + return this; + } + /** + *
    +     * A single identity requesting access for a Cloud Platform resource.
    +     * Follows the same format of Binding.members.
    +     * Required
    +     * 
    + * + * optional string member = 3; + */ + public Builder setMemberBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + member_ = value; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.BindingDelta) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.BindingDelta) + private static final com.google.iam.v1.BindingDelta DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.BindingDelta(); + } + + public static com.google.iam.v1.BindingDelta getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public BindingDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BindingDelta(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.BindingDelta getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java new file mode 100644 index 000000000000..ab434801d88f --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java @@ -0,0 +1,72 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public interface BindingDeltaOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.BindingDelta) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * The action that was performed on a Binding.
    +   * Required
    +   * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + int getActionValue(); + /** + *
    +   * The action that was performed on a Binding.
    +   * Required
    +   * 
    + * + * optional .google.iam.v1.BindingDelta.Action action = 1; + */ + com.google.iam.v1.BindingDelta.Action getAction(); + + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 2; + */ + java.lang.String getRole(); + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 2; + */ + com.google.protobuf.ByteString + getRoleBytes(); + + /** + *
    +   * A single identity requesting access for a Cloud Platform resource.
    +   * Follows the same format of Binding.members.
    +   * Required
    +   * 
    + * + * optional string member = 3; + */ + java.lang.String getMember(); + /** + *
    +   * A single identity requesting access for a Cloud Platform resource.
    +   * Follows the same format of Binding.members.
    +   * Required
    +   * 
    + * + * optional string member = 3; + */ + com.google.protobuf.ByteString + getMemberBytes(); +} 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 new file mode 100644 index 000000000000..835a41532bbd --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java @@ -0,0 +1,118 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public interface BindingOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.Binding) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 1; + */ + java.lang.String getRole(); + /** + *
    +   * Role that is assigned to `members`.
    +   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    +   * Required
    +   * 
    + * + * optional string role = 1; + */ + com.google.protobuf.ByteString + getRoleBytes(); + + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + java.util.List + getMembersList(); + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + int getMembersCount(); + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + java.lang.String getMembers(int index); + /** + *
    +   * Specifies the identities 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@gmail.com` or `joe@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`.
    +   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   *    users of that domain. For example, `google.com` or `example.com`.
    +   * 
    + * + * repeated string members = 2; + */ + com.google.protobuf.ByteString + getMembersBytes(int index); +} 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 new file mode 100644 index 000000000000..c209b9a0fae7 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java @@ -0,0 +1,544 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +/** + *
    + * Request message for `GetIamPolicy` method.
    + * 
    + * + * Protobuf type {@code google.iam.v1.GetIamPolicyRequest} + */ +public final class GetIamPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.GetIamPolicyRequest) + GetIamPolicyRequestOrBuilder { + // Use GetIamPolicyRequest.newBuilder() to construct. + private GetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetIamPolicyRequest() { + resource_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private GetIamPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.GetIamPolicyRequest.class, com.google.iam.v1.GetIamPolicyRequest.Builder.class); + } + + public static final int RESOURCE_FIELD_NUMBER = 1; + private volatile java.lang.Object resource_; + /** + *
    +   * REQUIRED: The resource for which the policy is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } + } + /** + *
    +   * REQUIRED: The resource for which the policy is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getResourceBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getResourceBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.GetIamPolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v1.GetIamPolicyRequest other = (com.google.iam.v1.GetIamPolicyRequest) obj; + + boolean result = true; + result = result && getResource() + .equals(other.getResource()); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.GetIamPolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Request message for `GetIamPolicy` method.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.GetIamPolicyRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.GetIamPolicyRequest) + com.google.iam.v1.GetIamPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.GetIamPolicyRequest.class, com.google.iam.v1.GetIamPolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v1.GetIamPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + resource_ = ""; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + } + + public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() { + return com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance(); + } + + public com.google.iam.v1.GetIamPolicyRequest build() { + com.google.iam.v1.GetIamPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.GetIamPolicyRequest buildPartial() { + com.google.iam.v1.GetIamPolicyRequest result = new com.google.iam.v1.GetIamPolicyRequest(this); + result.resource_ = resource_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.GetIamPolicyRequest) { + return mergeFrom((com.google.iam.v1.GetIamPolicyRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.GetIamPolicyRequest other) { + if (other == com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()) return this; + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.GetIamPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.GetIamPolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object resource_ = ""; + /** + *
    +     * REQUIRED: The resource for which the policy is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
    +     * REQUIRED: The resource for which the policy is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * REQUIRED: The resource for which the policy is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder setResource( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + resource_ = value; + onChanged(); + return this; + } + /** + *
    +     * REQUIRED: The resource for which the policy is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder clearResource() { + + resource_ = getDefaultInstance().getResource(); + onChanged(); + return this; + } + /** + *
    +     * REQUIRED: The resource for which the policy is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + resource_ = value; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.GetIamPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest) + private static final com.google.iam.v1.GetIamPolicyRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.GetIamPolicyRequest(); + } + + public static com.google.iam.v1.GetIamPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public GetIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetIamPolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java new file mode 100644 index 000000000000..e49f5dd9a10a --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +public interface GetIamPolicyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.GetIamPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * REQUIRED: The resource for which the policy is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + java.lang.String getResource(); + /** + *
    +   * REQUIRED: The resource for which the policy is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + com.google.protobuf.ByteString + getResourceBytes(); +} 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 new file mode 100644 index 000000000000..030d0740ea52 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +public final class IamPolicyProto { + private IamPolicyProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\036google/iam/v1/iam_policy.proto\022\rgoogle" + + ".iam.v1\032\034google/api/annotations.proto\032\032g" + + "oogle/iam/v1/policy.proto\"N\n\023SetIamPolic" + + "yRequest\022\020\n\010resource\030\001 \001(\t\022%\n\006policy\030\002 \001" + + "(\0132\025.google.iam.v1.Policy\"\'\n\023GetIamPolic" + + "yRequest\022\020\n\010resource\030\001 \001(\t\"B\n\031TestIamPer" + + "missionsRequest\022\020\n\010resource\030\001 \001(\t\022\023\n\013per" + + "missions\030\002 \003(\t\"1\n\032TestIamPermissionsResp" + + "onse\022\023\n\013permissions\030\001 \003(\t2\224\003\n\tIAMPolicy\022" + + "t\n\014SetIamPolicy\022\".google.iam.v1.SetIamPo", + "licyRequest\032\025.google.iam.v1.Policy\")\202\323\344\223" + + "\002#\"\036/v1/{resource=**}:setIamPolicy:\001*\022t\n" + + "\014GetIamPolicy\022\".google.iam.v1.GetIamPoli" + + "cyRequest\032\025.google.iam.v1.Policy\")\202\323\344\223\002#" + + "\"\036/v1/{resource=**}:getIamPolicy:\001*\022\232\001\n\022" + + "TestIamPermissions\022(.google.iam.v1.TestI" + + "amPermissionsRequest\032).google.iam.v1.Tes" + + "tIamPermissionsResponse\"/\202\323\344\223\002)\"$/v1/{re" + + "source=**}:testIamPermissions:\001*Bp\n\021com." + + "google.iam.v1B\016IamPolicyProtoP\001Z0google.", + "golang.org/genproto/googleapis/iam/v1;ia" + + "m\370\001\001\252\002\023Google.Cloud.Iam.V1b\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + }, assigner); + internal_static_google_iam_v1_SetIamPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_SetIamPolicyRequest_descriptor, + new java.lang.String[] { "Resource", "Policy", }); + internal_static_google_iam_v1_GetIamPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_GetIamPolicyRequest_descriptor, + new java.lang.String[] { "Resource", }); + internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor, + new java.lang.String[] { "Resource", "Permissions", }); + internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor, + new java.lang.String[] { "Permissions", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.AnnotationsProto.http); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} 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 new file mode 100644 index 000000000000..660eb97503a3 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java @@ -0,0 +1,1094 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +/** + *
    + * Defines an Identity and Access Management (IAM) policy. It is used to
    + * specify access control policies for Cloud Platform resources.
    + * A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
    + * `members` to a `role`, where the members can be user accounts, Google groups,
    + * Google domains, and service accounts. A `role` is a named list of permissions
    + * defined by IAM.
    + * **Example**
    + *     {
    + *       "bindings": [
    + *         {
    + *           "role": "roles/owner",
    + *           "members": [
    + *             "user:mike@example.com",
    + *             "group:admins@example.com",
    + *             "domain:google.com",
    + *             "serviceAccount:my-other-app@appspot.gserviceaccount.com",
    + *           ]
    + *         },
    + *         {
    + *           "role": "roles/viewer",
    + *           "members": ["user:sean@example.com"]
    + *         }
    + *       ]
    + *     }
    + * For a description of IAM and its features, see the
    + * [IAM developer's guide](https://cloud.google.com/iam).
    + * 
    + * + * Protobuf type {@code google.iam.v1.Policy} + */ +public final class Policy extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.Policy) + PolicyOrBuilder { + // Use Policy.newBuilder() to construct. + private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Policy() { + version_ = 0; + bindings_ = java.util.Collections.emptyList(); + etag_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private Policy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 8: { + + version_ = input.readInt32(); + break; + } + case 26: { + + etag_ = input.readBytes(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + bindings_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + bindings_.add( + input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + bindings_ = java.util.Collections.unmodifiableList(bindings_); + } + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class); + } + + private int bitField0_; + public static final int VERSION_FIELD_NUMBER = 1; + private int version_; + /** + *
    +   * Version of the `Policy`. The default version is 0.
    +   * 
    + * + * optional int32 version = 1; + */ + public int getVersion() { + return version_; + } + + public static final int BINDINGS_FIELD_NUMBER = 4; + private java.util.List bindings_; + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public java.util.List getBindingsList() { + return bindings_; + } + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public java.util.List + getBindingsOrBuilderList() { + return bindings_; + } + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public int getBindingsCount() { + return bindings_.size(); + } + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public com.google.iam.v1.Binding getBindings(int index) { + return bindings_.get(index); + } + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( + int index) { + return bindings_.get(index); + } + + public static final int ETAG_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString etag_; + /** + *
    +   * `etag` is used for optimistic concurrency control as a way to help
    +   * prevent simultaneous updates of a policy from overwriting each other.
    +   * It is strongly suggested that systems make use of the `etag` in the
    +   * read-modify-write cycle to perform policy updates in order to avoid race
    +   * 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.
    +   * If no `etag` is provided in the call to `setIamPolicy`, then the existing
    +   * policy is overwritten blindly.
    +   * 
    + * + * optional bytes etag = 3; + */ + public com.google.protobuf.ByteString getEtag() { + return etag_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (version_ != 0) { + output.writeInt32(1, version_); + } + if (!etag_.isEmpty()) { + output.writeBytes(3, etag_); + } + for (int i = 0; i < bindings_.size(); i++) { + output.writeMessage(4, bindings_.get(i)); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (version_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, version_); + } + if (!etag_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, etag_); + } + for (int i = 0; i < bindings_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, bindings_.get(i)); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.Policy)) { + return super.equals(obj); + } + com.google.iam.v1.Policy other = (com.google.iam.v1.Policy) obj; + + boolean result = true; + result = result && (getVersion() + == other.getVersion()); + result = result && getBindingsList() + .equals(other.getBindingsList()); + result = result && getEtag() + .equals(other.getEtag()); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion(); + if (getBindingsCount() > 0) { + hash = (37 * hash) + BINDINGS_FIELD_NUMBER; + hash = (53 * hash) + getBindingsList().hashCode(); + } + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.Policy parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.Policy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.Policy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.Policy parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.Policy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.Policy parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.Policy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.Policy parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.Policy parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.Policy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.Policy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Defines an Identity and Access Management (IAM) policy. It is used to
    +   * specify access control policies for Cloud Platform resources.
    +   * A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
    +   * `members` to a `role`, where the members can be user accounts, Google groups,
    +   * Google domains, and service accounts. A `role` is a named list of permissions
    +   * defined by IAM.
    +   * **Example**
    +   *     {
    +   *       "bindings": [
    +   *         {
    +   *           "role": "roles/owner",
    +   *           "members": [
    +   *             "user:mike@example.com",
    +   *             "group:admins@example.com",
    +   *             "domain:google.com",
    +   *             "serviceAccount:my-other-app@appspot.gserviceaccount.com",
    +   *           ]
    +   *         },
    +   *         {
    +   *           "role": "roles/viewer",
    +   *           "members": ["user:sean@example.com"]
    +   *         }
    +   *       ]
    +   *     }
    +   * For a description of IAM and its features, see the
    +   * [IAM developer's guide](https://cloud.google.com/iam).
    +   * 
    + * + * Protobuf type {@code google.iam.v1.Policy} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.Policy) + com.google.iam.v1.PolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class); + } + + // Construct using com.google.iam.v1.Policy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getBindingsFieldBuilder(); + } + } + public Builder clear() { + super.clear(); + version_ = 0; + + if (bindingsBuilder_ == null) { + bindings_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + bindingsBuilder_.clear(); + } + etag_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; + } + + public com.google.iam.v1.Policy getDefaultInstanceForType() { + return com.google.iam.v1.Policy.getDefaultInstance(); + } + + public com.google.iam.v1.Policy build() { + com.google.iam.v1.Policy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.Policy buildPartial() { + com.google.iam.v1.Policy result = new com.google.iam.v1.Policy(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.version_ = version_; + if (bindingsBuilder_ == null) { + if (((bitField0_ & 0x00000002) == 0x00000002)) { + bindings_ = java.util.Collections.unmodifiableList(bindings_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.bindings_ = bindings_; + } else { + result.bindings_ = bindingsBuilder_.build(); + } + result.etag_ = etag_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.Policy) { + return mergeFrom((com.google.iam.v1.Policy)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.Policy other) { + if (other == com.google.iam.v1.Policy.getDefaultInstance()) return this; + if (other.getVersion() != 0) { + setVersion(other.getVersion()); + } + if (bindingsBuilder_ == null) { + if (!other.bindings_.isEmpty()) { + if (bindings_.isEmpty()) { + bindings_ = other.bindings_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureBindingsIsMutable(); + bindings_.addAll(other.bindings_); + } + onChanged(); + } + } else { + if (!other.bindings_.isEmpty()) { + if (bindingsBuilder_.isEmpty()) { + bindingsBuilder_.dispose(); + bindingsBuilder_ = null; + bindings_ = other.bindings_; + bitField0_ = (bitField0_ & ~0x00000002); + bindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBindingsFieldBuilder() : null; + } else { + bindingsBuilder_.addAllMessages(other.bindings_); + } + } + } + if (other.getEtag() != com.google.protobuf.ByteString.EMPTY) { + setEtag(other.getEtag()); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.Policy parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.Policy) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int version_ ; + /** + *
    +     * Version of the `Policy`. The default version is 0.
    +     * 
    + * + * optional int32 version = 1; + */ + public int getVersion() { + return version_; + } + /** + *
    +     * Version of the `Policy`. The default version is 0.
    +     * 
    + * + * optional int32 version = 1; + */ + public Builder setVersion(int value) { + + version_ = value; + onChanged(); + return this; + } + /** + *
    +     * Version of the `Policy`. The default version is 0.
    +     * 
    + * + * optional int32 version = 1; + */ + public Builder clearVersion() { + + version_ = 0; + onChanged(); + return this; + } + + private java.util.List bindings_ = + java.util.Collections.emptyList(); + private void ensureBindingsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + bindings_ = new java.util.ArrayList(bindings_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> bindingsBuilder_; + + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public java.util.List getBindingsList() { + if (bindingsBuilder_ == null) { + return java.util.Collections.unmodifiableList(bindings_); + } else { + return bindingsBuilder_.getMessageList(); + } + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public int getBindingsCount() { + if (bindingsBuilder_ == null) { + return bindings_.size(); + } else { + return bindingsBuilder_.getCount(); + } + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public com.google.iam.v1.Binding getBindings(int index) { + if (bindingsBuilder_ == null) { + return bindings_.get(index); + } else { + return bindingsBuilder_.getMessage(index); + } + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder setBindings( + int index, com.google.iam.v1.Binding value) { + if (bindingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindingsIsMutable(); + bindings_.set(index, value); + onChanged(); + } else { + bindingsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder setBindings( + int index, com.google.iam.v1.Binding.Builder builderForValue) { + if (bindingsBuilder_ == null) { + ensureBindingsIsMutable(); + bindings_.set(index, builderForValue.build()); + onChanged(); + } else { + bindingsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder addBindings(com.google.iam.v1.Binding value) { + if (bindingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindingsIsMutable(); + bindings_.add(value); + onChanged(); + } else { + bindingsBuilder_.addMessage(value); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder addBindings( + int index, com.google.iam.v1.Binding value) { + if (bindingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindingsIsMutable(); + bindings_.add(index, value); + onChanged(); + } else { + bindingsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder addBindings( + com.google.iam.v1.Binding.Builder builderForValue) { + if (bindingsBuilder_ == null) { + ensureBindingsIsMutable(); + bindings_.add(builderForValue.build()); + onChanged(); + } else { + bindingsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder addBindings( + int index, com.google.iam.v1.Binding.Builder builderForValue) { + if (bindingsBuilder_ == null) { + ensureBindingsIsMutable(); + bindings_.add(index, builderForValue.build()); + onChanged(); + } else { + bindingsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder addAllBindings( + java.lang.Iterable values) { + if (bindingsBuilder_ == null) { + ensureBindingsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bindings_); + onChanged(); + } else { + bindingsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder clearBindings() { + if (bindingsBuilder_ == null) { + bindings_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + bindingsBuilder_.clear(); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public Builder removeBindings(int index) { + if (bindingsBuilder_ == null) { + ensureBindingsIsMutable(); + bindings_.remove(index); + onChanged(); + } else { + bindingsBuilder_.remove(index); + } + return this; + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public com.google.iam.v1.Binding.Builder getBindingsBuilder( + int index) { + return getBindingsFieldBuilder().getBuilder(index); + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( + int index) { + if (bindingsBuilder_ == null) { + return bindings_.get(index); } else { + return bindingsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public java.util.List + getBindingsOrBuilderList() { + if (bindingsBuilder_ != null) { + return bindingsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(bindings_); + } + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public com.google.iam.v1.Binding.Builder addBindingsBuilder() { + return getBindingsFieldBuilder().addBuilder( + com.google.iam.v1.Binding.getDefaultInstance()); + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public com.google.iam.v1.Binding.Builder addBindingsBuilder( + int index) { + return getBindingsFieldBuilder().addBuilder( + index, com.google.iam.v1.Binding.getDefaultInstance()); + } + /** + *
    +     * Associates a list of `members` to a `role`.
    +     * Multiple `bindings` must not be specified for the same `role`.
    +     * `bindings` with no members will result in an error.
    +     * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + public java.util.List + getBindingsBuilderList() { + return getBindingsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> + getBindingsFieldBuilder() { + if (bindingsBuilder_ == null) { + bindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder>( + bindings_, + ((bitField0_ & 0x00000002) == 0x00000002), + getParentForChildren(), + isClean()); + bindings_ = null; + } + return bindingsBuilder_; + } + + private com.google.protobuf.ByteString etag_ = com.google.protobuf.ByteString.EMPTY; + /** + *
    +     * `etag` is used for optimistic concurrency control as a way to help
    +     * prevent simultaneous updates of a policy from overwriting each other.
    +     * It is strongly suggested that systems make use of the `etag` in the
    +     * read-modify-write cycle to perform policy updates in order to avoid race
    +     * 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.
    +     * If no `etag` is provided in the call to `setIamPolicy`, then the existing
    +     * policy is overwritten blindly.
    +     * 
    + * + * optional bytes etag = 3; + */ + public com.google.protobuf.ByteString getEtag() { + return etag_; + } + /** + *
    +     * `etag` is used for optimistic concurrency control as a way to help
    +     * prevent simultaneous updates of a policy from overwriting each other.
    +     * It is strongly suggested that systems make use of the `etag` in the
    +     * read-modify-write cycle to perform policy updates in order to avoid race
    +     * 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.
    +     * If no `etag` is provided in the call to `setIamPolicy`, then the existing
    +     * policy is overwritten blindly.
    +     * 
    + * + * optional bytes etag = 3; + */ + public Builder setEtag(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + etag_ = value; + onChanged(); + return this; + } + /** + *
    +     * `etag` is used for optimistic concurrency control as a way to help
    +     * prevent simultaneous updates of a policy from overwriting each other.
    +     * It is strongly suggested that systems make use of the `etag` in the
    +     * read-modify-write cycle to perform policy updates in order to avoid race
    +     * 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.
    +     * If no `etag` is provided in the call to `setIamPolicy`, then the existing
    +     * policy is overwritten blindly.
    +     * 
    + * + * optional bytes etag = 3; + */ + public Builder clearEtag() { + + etag_ = getDefaultInstance().getEtag(); + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.Policy) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.Policy) + private static final com.google.iam.v1.Policy DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.Policy(); + } + + public static com.google.iam.v1.Policy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Policy(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.Policy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + 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 new file mode 100644 index 000000000000..21342e80895e --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java @@ -0,0 +1,812 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +/** + *
    + * The difference delta between two policies.
    + * 
    + * + * Protobuf type {@code google.iam.v1.PolicyDelta} + */ +public final class PolicyDelta extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.PolicyDelta) + PolicyDeltaOrBuilder { + // Use PolicyDelta.newBuilder() to construct. + private PolicyDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PolicyDelta() { + bindingDeltas_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private PolicyDelta( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + bindingDeltas_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + bindingDeltas_.add( + input.readMessage(com.google.iam.v1.BindingDelta.parser(), extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); + } + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); + } + + public static final int BINDING_DELTAS_FIELD_NUMBER = 1; + private java.util.List bindingDeltas_; + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public java.util.List getBindingDeltasList() { + return bindingDeltas_; + } + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public java.util.List + getBindingDeltasOrBuilderList() { + return bindingDeltas_; + } + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public int getBindingDeltasCount() { + return bindingDeltas_.size(); + } + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { + return bindingDeltas_.get(index); + } + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( + int index) { + return bindingDeltas_.get(index); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < bindingDeltas_.size(); i++) { + output.writeMessage(1, bindingDeltas_.get(i)); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < bindingDeltas_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, bindingDeltas_.get(i)); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.PolicyDelta)) { + return super.equals(obj); + } + com.google.iam.v1.PolicyDelta other = (com.google.iam.v1.PolicyDelta) obj; + + boolean result = true; + result = result && getBindingDeltasList() + .equals(other.getBindingDeltasList()); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (getBindingDeltasCount() > 0) { + hash = (37 * hash) + BINDING_DELTAS_FIELD_NUMBER; + hash = (53 * hash) + getBindingDeltasList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.PolicyDelta parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.PolicyDelta parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.PolicyDelta parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.PolicyDelta parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.PolicyDelta parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.PolicyDelta parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.PolicyDelta parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.PolicyDelta parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.PolicyDelta parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.PolicyDelta parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.PolicyDelta prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * The difference delta between two policies.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.PolicyDelta} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.PolicyDelta) + com.google.iam.v1.PolicyDeltaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); + } + + // Construct using com.google.iam.v1.PolicyDelta.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getBindingDeltasFieldBuilder(); + } + } + public Builder clear() { + super.clear(); + if (bindingDeltasBuilder_ == null) { + bindingDeltas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + bindingDeltasBuilder_.clear(); + } + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; + } + + public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { + return com.google.iam.v1.PolicyDelta.getDefaultInstance(); + } + + public com.google.iam.v1.PolicyDelta build() { + com.google.iam.v1.PolicyDelta result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.PolicyDelta buildPartial() { + com.google.iam.v1.PolicyDelta result = new com.google.iam.v1.PolicyDelta(this); + int from_bitField0_ = bitField0_; + if (bindingDeltasBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.bindingDeltas_ = bindingDeltas_; + } else { + result.bindingDeltas_ = bindingDeltasBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.PolicyDelta) { + return mergeFrom((com.google.iam.v1.PolicyDelta)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.PolicyDelta other) { + if (other == com.google.iam.v1.PolicyDelta.getDefaultInstance()) return this; + if (bindingDeltasBuilder_ == null) { + if (!other.bindingDeltas_.isEmpty()) { + if (bindingDeltas_.isEmpty()) { + bindingDeltas_ = other.bindingDeltas_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureBindingDeltasIsMutable(); + bindingDeltas_.addAll(other.bindingDeltas_); + } + onChanged(); + } + } else { + if (!other.bindingDeltas_.isEmpty()) { + if (bindingDeltasBuilder_.isEmpty()) { + bindingDeltasBuilder_.dispose(); + bindingDeltasBuilder_ = null; + bindingDeltas_ = other.bindingDeltas_; + bitField0_ = (bitField0_ & ~0x00000001); + bindingDeltasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBindingDeltasFieldBuilder() : null; + } else { + bindingDeltasBuilder_.addAllMessages(other.bindingDeltas_); + } + } + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.PolicyDelta parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.PolicyDelta) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List bindingDeltas_ = + java.util.Collections.emptyList(); + private void ensureBindingDeltasIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + bindingDeltas_ = new java.util.ArrayList(bindingDeltas_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.BindingDelta, com.google.iam.v1.BindingDelta.Builder, com.google.iam.v1.BindingDeltaOrBuilder> bindingDeltasBuilder_; + + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public java.util.List getBindingDeltasList() { + if (bindingDeltasBuilder_ == null) { + return java.util.Collections.unmodifiableList(bindingDeltas_); + } else { + return bindingDeltasBuilder_.getMessageList(); + } + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public int getBindingDeltasCount() { + if (bindingDeltasBuilder_ == null) { + return bindingDeltas_.size(); + } else { + return bindingDeltasBuilder_.getCount(); + } + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { + if (bindingDeltasBuilder_ == null) { + return bindingDeltas_.get(index); + } else { + return bindingDeltasBuilder_.getMessage(index); + } + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder setBindingDeltas( + int index, com.google.iam.v1.BindingDelta value) { + if (bindingDeltasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindingDeltasIsMutable(); + bindingDeltas_.set(index, value); + onChanged(); + } else { + bindingDeltasBuilder_.setMessage(index, value); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder setBindingDeltas( + int index, com.google.iam.v1.BindingDelta.Builder builderForValue) { + if (bindingDeltasBuilder_ == null) { + ensureBindingDeltasIsMutable(); + bindingDeltas_.set(index, builderForValue.build()); + onChanged(); + } else { + bindingDeltasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder addBindingDeltas(com.google.iam.v1.BindingDelta value) { + if (bindingDeltasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindingDeltasIsMutable(); + bindingDeltas_.add(value); + onChanged(); + } else { + bindingDeltasBuilder_.addMessage(value); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder addBindingDeltas( + int index, com.google.iam.v1.BindingDelta value) { + if (bindingDeltasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBindingDeltasIsMutable(); + bindingDeltas_.add(index, value); + onChanged(); + } else { + bindingDeltasBuilder_.addMessage(index, value); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder addBindingDeltas( + com.google.iam.v1.BindingDelta.Builder builderForValue) { + if (bindingDeltasBuilder_ == null) { + ensureBindingDeltasIsMutable(); + bindingDeltas_.add(builderForValue.build()); + onChanged(); + } else { + bindingDeltasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder addBindingDeltas( + int index, com.google.iam.v1.BindingDelta.Builder builderForValue) { + if (bindingDeltasBuilder_ == null) { + ensureBindingDeltasIsMutable(); + bindingDeltas_.add(index, builderForValue.build()); + onChanged(); + } else { + bindingDeltasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder addAllBindingDeltas( + java.lang.Iterable values) { + if (bindingDeltasBuilder_ == null) { + ensureBindingDeltasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bindingDeltas_); + onChanged(); + } else { + bindingDeltasBuilder_.addAllMessages(values); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder clearBindingDeltas() { + if (bindingDeltasBuilder_ == null) { + bindingDeltas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + bindingDeltasBuilder_.clear(); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public Builder removeBindingDeltas(int index) { + if (bindingDeltasBuilder_ == null) { + ensureBindingDeltasIsMutable(); + bindingDeltas_.remove(index); + onChanged(); + } else { + bindingDeltasBuilder_.remove(index); + } + return this; + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public com.google.iam.v1.BindingDelta.Builder getBindingDeltasBuilder( + int index) { + return getBindingDeltasFieldBuilder().getBuilder(index); + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( + int index) { + if (bindingDeltasBuilder_ == null) { + return bindingDeltas_.get(index); } else { + return bindingDeltasBuilder_.getMessageOrBuilder(index); + } + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public java.util.List + getBindingDeltasOrBuilderList() { + if (bindingDeltasBuilder_ != null) { + return bindingDeltasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(bindingDeltas_); + } + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder() { + return getBindingDeltasFieldBuilder().addBuilder( + com.google.iam.v1.BindingDelta.getDefaultInstance()); + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder( + int index) { + return getBindingDeltasFieldBuilder().addBuilder( + index, com.google.iam.v1.BindingDelta.getDefaultInstance()); + } + /** + *
    +     * The delta for Bindings between two policies.
    +     * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + public java.util.List + getBindingDeltasBuilderList() { + return getBindingDeltasFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.BindingDelta, com.google.iam.v1.BindingDelta.Builder, com.google.iam.v1.BindingDeltaOrBuilder> + getBindingDeltasFieldBuilder() { + if (bindingDeltasBuilder_ == null) { + bindingDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.BindingDelta, com.google.iam.v1.BindingDelta.Builder, com.google.iam.v1.BindingDeltaOrBuilder>( + bindingDeltas_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + bindingDeltas_ = null; + } + return bindingDeltasBuilder_; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.PolicyDelta) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.PolicyDelta) + private static final com.google.iam.v1.PolicyDelta DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.PolicyDelta(); + } + + public static com.google.iam.v1.PolicyDelta getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public PolicyDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PolicyDelta(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java new file mode 100644 index 000000000000..8695a1c79fd9 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public interface PolicyDeltaOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.PolicyDelta) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + java.util.List + getBindingDeltasList(); + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + com.google.iam.v1.BindingDelta getBindingDeltas(int index); + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + int getBindingDeltasCount(); + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + java.util.List + getBindingDeltasOrBuilderList(); + /** + *
    +   * The delta for Bindings between two policies.
    +   * 
    + * + * repeated .google.iam.v1.BindingDelta binding_deltas = 1; + */ + com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( + int index); +} 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 new file mode 100644 index 000000000000..d76e1e79f712 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java @@ -0,0 +1,89 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public interface PolicyOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.Policy) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * Version of the `Policy`. The default version is 0.
    +   * 
    + * + * optional int32 version = 1; + */ + int getVersion(); + + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + java.util.List + getBindingsList(); + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + com.google.iam.v1.Binding getBindings(int index); + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + int getBindingsCount(); + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + java.util.List + getBindingsOrBuilderList(); + /** + *
    +   * Associates a list of `members` to a `role`.
    +   * Multiple `bindings` must not be specified for the same `role`.
    +   * `bindings` with no members will result in an error.
    +   * 
    + * + * repeated .google.iam.v1.Binding bindings = 4; + */ + com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( + int index); + + /** + *
    +   * `etag` is used for optimistic concurrency control as a way to help
    +   * prevent simultaneous updates of a policy from overwriting each other.
    +   * It is strongly suggested that systems make use of the `etag` in the
    +   * read-modify-write cycle to perform policy updates in order to avoid race
    +   * 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.
    +   * If no `etag` is provided in the call to `setIamPolicy`, then the existing
    +   * policy is overwritten blindly.
    +   * 
    + * + * optional bytes etag = 3; + */ + com.google.protobuf.ByteString getEtag(); +} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java new file mode 100644 index 000000000000..f962868d8097 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java @@ -0,0 +1,102 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public final class PolicyProto { + private PolicyProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_Policy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_Policy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_Binding_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_Binding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_PolicyDelta_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_BindingDelta_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_BindingDelta_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\032google/iam/v1/policy.proto\022\rgoogle.iam" + + ".v1\032\034google/api/annotations.proto\"Q\n\006Pol" + + "icy\022\017\n\007version\030\001 \001(\005\022(\n\010bindings\030\004 \003(\0132\026" + + ".google.iam.v1.Binding\022\014\n\004etag\030\003 \001(\014\"(\n\007" + + "Binding\022\014\n\004role\030\001 \001(\t\022\017\n\007members\030\002 \003(\t\"B" + + "\n\013PolicyDelta\0223\n\016binding_deltas\030\001 \003(\0132\033." + + "google.iam.v1.BindingDelta\"\227\001\n\014BindingDe" + + "lta\0222\n\006action\030\001 \001(\0162\".google.iam.v1.Bind" + + "ingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006member\030" + + "\003 \001(\t\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022", + "\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002Bm\n\021com.google.iam.v" + + "1B\013PolicyProtoP\001Z0google.golang.org/genp" + + "roto/googleapis/iam/v1;iam\370\001\001\252\002\023Google.C" + + "loud.Iam.V1b\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }, assigner); + internal_static_google_iam_v1_Policy_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v1_Policy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_Policy_descriptor, + new java.lang.String[] { "Version", "Bindings", "Etag", }); + internal_static_google_iam_v1_Binding_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_iam_v1_Binding_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_Binding_descriptor, + new java.lang.String[] { "Role", "Members", }); + internal_static_google_iam_v1_PolicyDelta_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_PolicyDelta_descriptor, + new java.lang.String[] { "BindingDeltas", }); + internal_static_google_iam_v1_BindingDelta_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_iam_v1_BindingDelta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_BindingDelta_descriptor, + new java.lang.String[] { "Action", "Role", "Member", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} 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 new file mode 100644 index 000000000000..257390f05e45 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java @@ -0,0 +1,809 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +/** + *
    + * Request message for `SetIamPolicy` method.
    + * 
    + * + * Protobuf type {@code google.iam.v1.SetIamPolicyRequest} + */ +public final class SetIamPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.SetIamPolicyRequest) + SetIamPolicyRequestOrBuilder { + // Use SetIamPolicyRequest.newBuilder() to construct. + private SetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SetIamPolicyRequest() { + resource_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private SetIamPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 18: { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.SetIamPolicyRequest.class, com.google.iam.v1.SetIamPolicyRequest.Builder.class); + } + + public static final int RESOURCE_FIELD_NUMBER = 1; + private volatile java.lang.Object resource_; + /** + *
    +   * REQUIRED: The resource for which the policy is being specified.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } + } + /** + *
    +   * REQUIRED: The resource for which the policy is being specified.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POLICY_FIELD_NUMBER = 2; + private com.google.iam.v1.Policy policy_; + /** + *
    +   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +   * the policy is limited to a few 10s of KB. An empty policy is a
    +   * valid policy but certain Cloud Platform services (such as Projects)
    +   * might reject them.
    +   * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public boolean hasPolicy() { + return policy_ != null; + } + /** + *
    +   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +   * the policy is limited to a few 10s of KB. An empty policy is a
    +   * valid policy but certain Cloud Platform services (such as Projects)
    +   * might reject them.
    +   * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public com.google.iam.v1.Policy getPolicy() { + return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; + } + /** + *
    +   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +   * the policy is limited to a few 10s of KB. An empty policy is a
    +   * valid policy but certain Cloud Platform services (such as Projects)
    +   * might reject them.
    +   * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { + return getPolicy(); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getResourceBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); + } + if (policy_ != null) { + output.writeMessage(2, getPolicy()); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getResourceBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); + } + if (policy_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPolicy()); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.SetIamPolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v1.SetIamPolicyRequest other = (com.google.iam.v1.SetIamPolicyRequest) obj; + + boolean result = true; + result = result && getResource() + .equals(other.getResource()); + result = result && (hasPolicy() == other.hasPolicy()); + if (hasPolicy()) { + result = result && getPolicy() + .equals(other.getPolicy()); + } + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + if (hasPolicy()) { + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + getPolicy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.SetIamPolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Request message for `SetIamPolicy` method.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.SetIamPolicyRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.SetIamPolicyRequest) + com.google.iam.v1.SetIamPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.SetIamPolicyRequest.class, com.google.iam.v1.SetIamPolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v1.SetIamPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + resource_ = ""; + + if (policyBuilder_ == null) { + policy_ = null; + } else { + policy_ = null; + policyBuilder_ = null; + } + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + } + + public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() { + return com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance(); + } + + public com.google.iam.v1.SetIamPolicyRequest build() { + com.google.iam.v1.SetIamPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.SetIamPolicyRequest buildPartial() { + com.google.iam.v1.SetIamPolicyRequest result = new com.google.iam.v1.SetIamPolicyRequest(this); + result.resource_ = resource_; + if (policyBuilder_ == null) { + result.policy_ = policy_; + } else { + result.policy_ = policyBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.SetIamPolicyRequest) { + return mergeFrom((com.google.iam.v1.SetIamPolicyRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) { + if (other == com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()) return this; + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + if (other.hasPolicy()) { + mergePolicy(other.getPolicy()); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.SetIamPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.SetIamPolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object resource_ = ""; + /** + *
    +     * REQUIRED: The resource for which the policy is being specified.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
    +     * REQUIRED: The resource for which the policy is being specified.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * REQUIRED: The resource for which the policy is being specified.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder setResource( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + resource_ = value; + onChanged(); + return this; + } + /** + *
    +     * REQUIRED: The resource for which the policy is being specified.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder clearResource() { + + resource_ = getDefaultInstance().getResource(); + onChanged(); + return this; + } + /** + *
    +     * REQUIRED: The resource for which the policy is being specified.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + resource_ = value; + onChanged(); + return this; + } + + private com.google.iam.v1.Policy policy_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public boolean hasPolicy() { + return policyBuilder_ != null || policy_ != null; + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public com.google.iam.v1.Policy getPolicy() { + if (policyBuilder_ == null) { + return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; + } else { + return policyBuilder_.getMessage(); + } + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public Builder setPolicy(com.google.iam.v1.Policy value) { + if (policyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policy_ = value; + onChanged(); + } else { + policyBuilder_.setMessage(value); + } + + return this; + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public Builder setPolicy( + com.google.iam.v1.Policy.Builder builderForValue) { + if (policyBuilder_ == null) { + policy_ = builderForValue.build(); + onChanged(); + } else { + policyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public Builder mergePolicy(com.google.iam.v1.Policy value) { + if (policyBuilder_ == null) { + if (policy_ != null) { + policy_ = + com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); + } else { + policy_ = value; + } + onChanged(); + } else { + policyBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public Builder clearPolicy() { + if (policyBuilder_ == null) { + policy_ = null; + onChanged(); + } else { + policy_ = null; + policyBuilder_ = null; + } + + return this; + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public com.google.iam.v1.Policy.Builder getPolicyBuilder() { + + onChanged(); + return getPolicyFieldBuilder().getBuilder(); + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { + if (policyBuilder_ != null) { + return policyBuilder_.getMessageOrBuilder(); + } else { + return policy_ == null ? + com.google.iam.v1.Policy.getDefaultInstance() : policy_; + } + } + /** + *
    +     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +     * the policy is limited to a few 10s of KB. An empty policy is a
    +     * valid policy but certain Cloud Platform services (such as Projects)
    +     * might reject them.
    +     * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> + getPolicyFieldBuilder() { + if (policyBuilder_ == null) { + policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>( + getPolicy(), + getParentForChildren(), + isClean()); + policy_ = null; + } + return policyBuilder_; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.SetIamPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest) + private static final com.google.iam.v1.SetIamPolicyRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.SetIamPolicyRequest(); + } + + public static com.google.iam.v1.SetIamPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public SetIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SetIamPolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + 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 new file mode 100644 index 000000000000..13214eb13a7b --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java @@ -0,0 +1,65 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +public interface SetIamPolicyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.SetIamPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * REQUIRED: The resource for which the policy is being specified.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + java.lang.String getResource(); + /** + *
    +   * REQUIRED: The resource for which the policy is being specified.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + com.google.protobuf.ByteString + getResourceBytes(); + + /** + *
    +   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +   * the policy is limited to a few 10s of KB. An empty policy is a
    +   * valid policy but certain Cloud Platform services (such as Projects)
    +   * might reject them.
    +   * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + boolean hasPolicy(); + /** + *
    +   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +   * the policy is limited to a few 10s of KB. An empty policy is a
    +   * valid policy but certain Cloud Platform services (such as Projects)
    +   * might reject them.
    +   * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + com.google.iam.v1.Policy getPolicy(); + /** + *
    +   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    +   * the policy is limited to a few 10s of KB. An empty policy is a
    +   * valid policy but certain Cloud Platform services (such as Projects)
    +   * might reject them.
    +   * 
    + * + * optional .google.iam.v1.Policy policy = 2; + */ + com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder(); +} 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 new file mode 100644 index 000000000000..64c81951975f --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java @@ -0,0 +1,810 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +/** + *
    + * Request message for `TestIamPermissions` method.
    + * 
    + * + * Protobuf type {@code google.iam.v1.TestIamPermissionsRequest} + */ +public final class TestIamPermissionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsRequest) + TestIamPermissionsRequestOrBuilder { + // Use TestIamPermissionsRequest.newBuilder() to construct. + private TestIamPermissionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TestIamPermissionsRequest() { + resource_ = ""; + permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private TestIamPermissionsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + permissions_.add(s); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + permissions_ = permissions_.getUnmodifiableView(); + } + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.TestIamPermissionsRequest.class, com.google.iam.v1.TestIamPermissionsRequest.Builder.class); + } + + private int bitField0_; + public static final int RESOURCE_FIELD_NUMBER = 1; + private volatile java.lang.Object resource_; + /** + *
    +   * REQUIRED: The resource for which the policy detail is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } + } + /** + *
    +   * REQUIRED: The resource for which the policy detail is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PERMISSIONS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList permissions_; + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + public com.google.protobuf.ProtocolStringList + getPermissionsList() { + return permissions_; + } + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + public int getPermissionsCount() { + return permissions_.size(); + } + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + public java.lang.String getPermissions(int index) { + return permissions_.get(index); + } + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { + return permissions_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getResourceBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); + } + for (int i = 0; i < permissions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, permissions_.getRaw(i)); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getResourceBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); + } + { + int dataSize = 0; + for (int i = 0; i < permissions_.size(); i++) { + dataSize += computeStringSizeNoTag(permissions_.getRaw(i)); + } + size += dataSize; + size += 1 * getPermissionsList().size(); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.TestIamPermissionsRequest)) { + return super.equals(obj); + } + com.google.iam.v1.TestIamPermissionsRequest other = (com.google.iam.v1.TestIamPermissionsRequest) obj; + + boolean result = true; + result = result && getResource() + .equals(other.getResource()); + result = result && getPermissionsList() + .equals(other.getPermissionsList()); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + if (getPermissionsCount() > 0) { + hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + getPermissionsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Request message for `TestIamPermissions` method.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.TestIamPermissionsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.TestIamPermissionsRequest) + com.google.iam.v1.TestIamPermissionsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.TestIamPermissionsRequest.class, com.google.iam.v1.TestIamPermissionsRequest.Builder.class); + } + + // Construct using com.google.iam.v1.TestIamPermissionsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + resource_ = ""; + + permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + } + + public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { + return com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance(); + } + + public com.google.iam.v1.TestIamPermissionsRequest build() { + com.google.iam.v1.TestIamPermissionsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.TestIamPermissionsRequest buildPartial() { + com.google.iam.v1.TestIamPermissionsRequest result = new com.google.iam.v1.TestIamPermissionsRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.resource_ = resource_; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + permissions_ = permissions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.permissions_ = permissions_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.TestIamPermissionsRequest) { + return mergeFrom((com.google.iam.v1.TestIamPermissionsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { + if (other == com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()) return this; + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + if (!other.permissions_.isEmpty()) { + if (permissions_.isEmpty()) { + permissions_ = other.permissions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensurePermissionsIsMutable(); + permissions_.addAll(other.permissions_); + } + onChanged(); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.TestIamPermissionsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.TestIamPermissionsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object resource_ = ""; + /** + *
    +     * REQUIRED: The resource for which the policy detail is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resource_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
    +     * REQUIRED: The resource for which the policy detail is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public com.google.protobuf.ByteString + getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resource_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * REQUIRED: The resource for which the policy detail is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder setResource( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + resource_ = value; + onChanged(); + return this; + } + /** + *
    +     * REQUIRED: The resource for which the policy detail is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder clearResource() { + + resource_ = getDefaultInstance().getResource(); + onChanged(); + return this; + } + /** + *
    +     * REQUIRED: The resource for which the policy detail is being requested.
    +     * `resource` is usually specified as a path. For example, a Project
    +     * resource is specified as `projects/{project}`.
    +     * 
    + * + * optional string resource = 1; + */ + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + resource_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { + if (!((bitField0_ & 0x00000002) == 0x00000002)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); + bitField0_ |= 0x00000002; + } + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public com.google.protobuf.ProtocolStringList + getPermissionsList() { + return permissions_.getUnmodifiableView(); + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public int getPermissionsCount() { + return permissions_.size(); + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public java.lang.String getPermissions(int index) { + return permissions_.get(index); + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { + return permissions_.getByteString(index); + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public Builder setPermissions( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); + permissions_.set(index, value); + onChanged(); + return this; + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public Builder addPermissions( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); + permissions_.add(value); + onChanged(); + return this; + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public Builder addAllPermissions( + java.lang.Iterable values) { + ensurePermissionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permissions_); + onChanged(); + return this; + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public Builder clearPermissions() { + permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
    +     * The set of permissions to check for the `resource`. Permissions with
    +     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +     * information see
    +     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +     * 
    + * + * repeated string permissions = 2; + */ + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePermissionsIsMutable(); + permissions_.add(value); + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest) + private static final com.google.iam.v1.TestIamPermissionsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsRequest(); + } + + public static com.google.iam.v1.TestIamPermissionsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public TestIamPermissionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TestIamPermissionsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java new file mode 100644 index 000000000000..bf639166828d --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java @@ -0,0 +1,78 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +public interface TestIamPermissionsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.TestIamPermissionsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * REQUIRED: The resource for which the policy detail is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + java.lang.String getResource(); + /** + *
    +   * REQUIRED: The resource for which the policy detail is being requested.
    +   * `resource` is usually specified as a path. For example, a Project
    +   * resource is specified as `projects/{project}`.
    +   * 
    + * + * optional string resource = 1; + */ + com.google.protobuf.ByteString + getResourceBytes(); + + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + java.util.List + getPermissionsList(); + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + int getPermissionsCount(); + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + java.lang.String getPermissions(int index); + /** + *
    +   * The set of permissions to check for the `resource`. Permissions with
    +   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    +   * information see
    +   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    +   * 
    + * + * repeated string permissions = 2; + */ + com.google.protobuf.ByteString + getPermissionsBytes(int index); +} 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 new file mode 100644 index 000000000000..e11258bb6f14 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java @@ -0,0 +1,612 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +/** + *
    + * Response message for `TestIamPermissions` method.
    + * 
    + * + * Protobuf type {@code google.iam.v1.TestIamPermissionsResponse} + */ +public final class TestIamPermissionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsResponse) + TestIamPermissionsResponseOrBuilder { + // Use TestIamPermissionsResponse.newBuilder() to construct. + private TestIamPermissionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TestIamPermissionsResponse() { + permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private TestIamPermissionsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + permissions_.add(s); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + permissions_ = permissions_.getUnmodifiableView(); + } + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.TestIamPermissionsResponse.class, com.google.iam.v1.TestIamPermissionsResponse.Builder.class); + } + + public static final int PERMISSIONS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList permissions_; + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + public com.google.protobuf.ProtocolStringList + getPermissionsList() { + return permissions_; + } + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + public int getPermissionsCount() { + return permissions_.size(); + } + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + public java.lang.String getPermissions(int index) { + return permissions_.get(index); + } + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { + return permissions_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < permissions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < permissions_.size(); i++) { + dataSize += computeStringSizeNoTag(permissions_.getRaw(i)); + } + size += dataSize; + size += 1 * getPermissionsList().size(); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.TestIamPermissionsResponse)) { + return super.equals(obj); + } + com.google.iam.v1.TestIamPermissionsResponse other = (com.google.iam.v1.TestIamPermissionsResponse) obj; + + boolean result = true; + result = result && getPermissionsList() + .equals(other.getPermissionsList()); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptorForType().hashCode(); + if (getPermissionsCount() > 0) { + hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + getPermissionsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Response message for `TestIamPermissions` method.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.TestIamPermissionsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.TestIamPermissionsResponse) + com.google.iam.v1.TestIamPermissionsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.TestIamPermissionsResponse.class, com.google.iam.v1.TestIamPermissionsResponse.Builder.class); + } + + // Construct using com.google.iam.v1.TestIamPermissionsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + } + + public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() { + return com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance(); + } + + public com.google.iam.v1.TestIamPermissionsResponse build() { + com.google.iam.v1.TestIamPermissionsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.TestIamPermissionsResponse buildPartial() { + com.google.iam.v1.TestIamPermissionsResponse result = new com.google.iam.v1.TestIamPermissionsResponse(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + permissions_ = permissions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.permissions_ = permissions_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.TestIamPermissionsResponse) { + return mergeFrom((com.google.iam.v1.TestIamPermissionsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) { + if (other == com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()) return this; + if (!other.permissions_.isEmpty()) { + if (permissions_.isEmpty()) { + permissions_ = other.permissions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePermissionsIsMutable(); + permissions_.addAll(other.permissions_); + } + onChanged(); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.TestIamPermissionsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.TestIamPermissionsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); + bitField0_ |= 0x00000001; + } + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public com.google.protobuf.ProtocolStringList + getPermissionsList() { + return permissions_.getUnmodifiableView(); + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public int getPermissionsCount() { + return permissions_.size(); + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public java.lang.String getPermissions(int index) { + return permissions_.get(index); + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public com.google.protobuf.ByteString + getPermissionsBytes(int index) { + return permissions_.getByteString(index); + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public Builder setPermissions( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); + permissions_.set(index, value); + onChanged(); + return this; + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public Builder addPermissions( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); + permissions_.add(value); + onChanged(); + return this; + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public Builder addAllPermissions( + java.lang.Iterable values) { + ensurePermissionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permissions_); + onChanged(); + return this; + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public Builder clearPermissions() { + permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
    +     * A subset of `TestPermissionsRequest.permissions` that the caller is
    +     * allowed.
    +     * 
    + * + * repeated string permissions = 1; + */ + public Builder addPermissionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePermissionsIsMutable(); + permissions_.add(value); + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsResponse) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsResponse) + private static final com.google.iam.v1.TestIamPermissionsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsResponse(); + } + + public static com.google.iam.v1.TestIamPermissionsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public TestIamPermissionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TestIamPermissionsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java new file mode 100644 index 000000000000..efe201215831 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java @@ -0,0 +1,48 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/iam_policy.proto + +package com.google.iam.v1; + +public interface TestIamPermissionsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.TestIamPermissionsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + java.util.List + getPermissionsList(); + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + int getPermissionsCount(); + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + java.lang.String getPermissions(int index); + /** + *
    +   * A subset of `TestPermissionsRequest.permissions` that the caller is
    +   * allowed.
    +   * 
    + * + * repeated string permissions = 1; + */ + com.google.protobuf.ByteString + getPermissionsBytes(int index); +} diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto new file mode 100644 index 000000000000..15e216f194d9 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto @@ -0,0 +1,118 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.iam.v1; + +import "google/api/annotations.proto"; +import "google/iam/v1/policy.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.Iam.V1"; +option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam"; +option java_multiple_files = true; +option java_outer_classname = "IamPolicyProto"; +option java_package = "com.google.iam.v1"; + + +// ## API Overview +// +// Manages Identity and Access Management (IAM) policies. +// +// Any implementation of an API that offers access control features +// implements the google.iam.v1.IAMPolicy interface. +// +// ## Data model +// +// Access control is applied when a principal (user or service account), takes +// some action on a resource exposed by a service. Resources, identified by +// URI-like names, are the unit of access control specification. Service +// implementations can choose the granularity of access control and the +// supported permissions for their resources. +// For example one database service may allow access control to be +// specified only at the Table level, whereas another might allow access control +// to also be specified at the Column level. +// +// ## Policy Structure +// +// See google.iam.v1.Policy +// +// This is intentionally not a CRUD style API because access control policies +// are created and deleted implicitly with the resources to which they are +// attached. +service IAMPolicy { + // Sets the access control policy on the specified resource. Replaces any + // existing policy. + rpc SetIamPolicy(SetIamPolicyRequest) returns (Policy) { + option (google.api.http) = { post: "/v1/{resource=**}:setIamPolicy" body: "*" }; + } + + // Gets the access control policy for a resource. + // Returns an empty policy if the resource exists and does not have a policy + // set. + rpc GetIamPolicy(GetIamPolicyRequest) returns (Policy) { + option (google.api.http) = { post: "/v1/{resource=**}:getIamPolicy" body: "*" }; + } + + // Returns permissions that a caller has on the specified resource. + // If the resource does not exist, this will return an empty set of + // permissions, not a NOT_FOUND error. + rpc TestIamPermissions(TestIamPermissionsRequest) returns (TestIamPermissionsResponse) { + option (google.api.http) = { post: "/v1/{resource=**}:testIamPermissions" body: "*" }; + } +} + +// Request message for `SetIamPolicy` method. +message SetIamPolicyRequest { + // REQUIRED: The resource for which the policy is being specified. + // `resource` is usually specified as a path. For example, a Project + // resource is specified as `projects/{project}`. + string resource = 1; + + // REQUIRED: The complete policy to be applied to the `resource`. The size of + // the policy is limited to a few 10s of KB. An empty policy is a + // valid policy but certain Cloud Platform services (such as Projects) + // might reject them. + Policy policy = 2; +} + +// Request message for `GetIamPolicy` method. +message GetIamPolicyRequest { + // REQUIRED: The resource for which the policy is being requested. + // `resource` is usually specified as a path. For example, a Project + // resource is specified as `projects/{project}`. + string resource = 1; +} + +// Request message for `TestIamPermissions` method. +message TestIamPermissionsRequest { + // REQUIRED: The resource for which the policy detail is being requested. + // `resource` is usually specified as a path. For example, a Project + // resource is specified as `projects/{project}`. + string resource = 1; + + // The set of permissions to check for the `resource`. Permissions with + // wildcards (such as '*' or 'storage.*') are not allowed. For more + // information see + // [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + repeated string permissions = 2; +} + +// Response message for `TestIamPermissions` method. +message TestIamPermissionsResponse { + // A subset of `TestPermissionsRequest.permissions` that the caller is + // allowed. + repeated string permissions = 1; +} diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto new file mode 100644 index 000000000000..a09b54431384 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto @@ -0,0 +1,149 @@ +// Copyright 2016 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.iam.v1; + +import "google/api/annotations.proto"; + +option cc_enable_arenas = true; +option csharp_namespace = "Google.Cloud.Iam.V1"; +option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam"; +option java_multiple_files = true; +option java_outer_classname = "PolicyProto"; +option java_package = "com.google.iam.v1"; + + +// Defines an Identity and Access Management (IAM) policy. It is used to +// specify access control policies for Cloud Platform resources. +// +// +// A `Policy` consists of a list of `bindings`. A `Binding` binds a list of +// `members` to a `role`, where the members can be user accounts, Google groups, +// Google domains, and service accounts. A `role` is a named list of permissions +// defined by IAM. +// +// **Example** +// +// { +// "bindings": [ +// { +// "role": "roles/owner", +// "members": [ +// "user:mike@example.com", +// "group:admins@example.com", +// "domain:google.com", +// "serviceAccount:my-other-app@appspot.gserviceaccount.com", +// ] +// }, +// { +// "role": "roles/viewer", +// "members": ["user:sean@example.com"] +// } +// ] +// } +// +// For a description of IAM and its features, see the +// [IAM developer's guide](https://cloud.google.com/iam). +message Policy { + // Version of the `Policy`. The default version is 0. + int32 version = 1; + + // Associates a list of `members` to a `role`. + // Multiple `bindings` must not be specified for the same `role`. + // `bindings` with no members will result in an error. + repeated Binding bindings = 4; + + // `etag` is used for optimistic concurrency control as a way to help + // prevent simultaneous updates of a policy from overwriting each other. + // It is strongly suggested that systems make use of the `etag` in the + // read-modify-write cycle to perform policy updates in order to avoid race + // 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. + // + // If no `etag` is provided in the call to `setIamPolicy`, then the existing + // policy is overwritten blindly. + bytes etag = 3; +} + +// Associates `members` with a `role`. +message Binding { + // Role that is assigned to `members`. + // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + // Required + string role = 1; + + // Specifies the identities 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@gmail.com` or `joe@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`. + // + // * `domain:{domain}`: A Google Apps domain name that represents all the + // users of that domain. For example, `google.com` or `example.com`. + // + // + repeated string members = 2; +} + +// The difference delta between two policies. +message PolicyDelta { + // The delta for Bindings between two policies. + repeated BindingDelta binding_deltas = 1; +} + +// One delta entry for Binding. Each individual change (only one member in each +// entry) to a binding will be a separate entry. +message BindingDelta { + // The type of action performed on a Binding in a policy. + enum Action { + // Unspecified. + ACTION_UNSPECIFIED = 0; + + // Addition of a Binding. + ADD = 1; + + // Removal of a Binding. + REMOVE = 2; + } + + // The action that was performed on a Binding. + // Required + Action action = 1; + + // Role that is assigned to `members`. + // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + // Required + string role = 2; + + // A single identity requesting access for a Cloud Platform resource. + // Follows the same format of Binding.members. + // Required + string member = 3; +} diff --git a/java-iam/proto-google-iam-v1/templates/apidocs_index.html.template b/java-iam/proto-google-iam-v1/templates/apidocs_index.html.template new file mode 100644 index 000000000000..681ebbb4cba2 --- /dev/null +++ b/java-iam/proto-google-iam-v1/templates/apidocs_index.html.template @@ -0,0 +1 @@ + From 00315b1eb67884a098fc4e075ca05826a7c1997c Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Fri, 2 Jun 2017 15:52:18 -0700 Subject: [PATCH 0376/3036] Switch to use GAPIC build.gradle for Java (#320) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index c18316655a22..fe0279515c5b 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -154,4 +154,4 @@ task createApiDocsRedirect { // Regenerates the gh-pages branch under tmp_gh-pages, which must be committed separately task updateDocsWithCurrentVersion { dependsOn 'createApiDocsRedirect' -} \ No newline at end of file +} diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 94d6cb533542..4406f859f3f1 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -154,4 +154,4 @@ task createApiDocsRedirect { // Regenerates the gh-pages branch under tmp_gh-pages, which must be committed separately task updateDocsWithCurrentVersion { dependsOn 'createApiDocsRedirect' -} \ No newline at end of file +} From a259c42d1a2103f41739d800049e8338759ed9a0 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Mon, 5 Jun 2017 14:19:08 -0700 Subject: [PATCH 0377/3036] Update build files to support batch javadoc update (#332) --- java-iam/grpc-google-iam-v1/build.gradle | 32 +++++++++++++++-------- java-iam/proto-google-iam-v1/build.gradle | 32 +++++++++++++++-------- 2 files changed, 42 insertions(+), 22 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index fe0279515c5b..2be791b813af 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -27,6 +27,7 @@ dependencies { ext { packageName = 'grpc-google-iam-v1' + javaDocRoot = projectDir.getAbsolutePath() + '/tmp_gh-pages' } sourceSets { @@ -109,8 +110,9 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') } task checkOutGhPages << { - if (!new File('tmp_gh-pages').exists()) { + if (!new File(javaDocRoot).exists()) { exec { + workingDir projectDir commandLine 'git', 'clone', '--branch', 'gh-pages', '--single-branch', 'git@github.com:googleapis/googleapis.git', 'tmp_gh-pages' } @@ -121,7 +123,7 @@ task copyFilesToGhPages { dependsOn 'checkOutGhPages' dependsOn 'javadoc' doLast { - def newSiteDirPath = "tmp_gh-pages/java/${packageName}/${project.version}/apidocs/" + def newSiteDirPath = javaDocRoot + "/java/${packageName}/${project.version}/apidocs/" new File(newSiteDirPath).mkdirs() copy { from 'build/docs/javadoc' @@ -130,20 +132,21 @@ task copyFilesToGhPages { } } -task createApiDocsRedirect { +// Regenerates the gh-pages branch under tmp_gh-pages +task updateDocs { dependsOn 'copyFilesToGhPages' doLast { - def outputContent = new File('templates/apidocs_index.html.template').text + def outputContent = new File(projectDir.getAbsolutePath() + '/templates/apidocs_index.html.template').text outputContent = outputContent.replace('{{siteVersion}}', project.version) outputContent = outputContent.replace('{{packageName}}', packageName) - new File("tmp_gh-pages/java/${packageName}/apidocs").mkdirs() - new File("tmp_gh-pages/java/${packageName}/apidocs/index.html").write(outputContent) + new File(javaDocRoot + "/java/${packageName}/apidocs").mkdirs() + new File(javaDocRoot + "/java/${packageName}/apidocs/index.html").write(outputContent) exec { - workingDir 'tmp_gh-pages/' + workingDir javaDocRoot commandLine 'git', 'add', '.' } exec { - workingDir 'tmp_gh-pages/' + workingDir javaDocRoot commandLine 'git', 'commit', '-m', "Regenerating docs for ${packageName} ${project.version}" } println 'New docs have been generated under tmp_gh-pages and have been committed;' @@ -151,7 +154,14 @@ task createApiDocsRedirect { } } -// Regenerates the gh-pages branch under tmp_gh-pages, which must be committed separately -task updateDocsWithCurrentVersion { - dependsOn 'createApiDocsRedirect' +// Regenerates and push the gh-pages branch under tmp_gh-pages +task updateAndPushDocs { + dependsOn 'updateDocs' + doLast { + exec { + workingDir javaDocRoot + commandLine 'git', 'push' + println "New docs have been pushed to Github for ${packageName} ${project.version}" + } + } } diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 4406f859f3f1..e3342244cd4c 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -27,6 +27,7 @@ dependencies { ext { packageName = 'proto-google-iam-v1' + javaDocRoot = projectDir.getAbsolutePath() + '/tmp_gh-pages' } sourceSets { @@ -109,8 +110,9 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') } task checkOutGhPages << { - if (!new File('tmp_gh-pages').exists()) { + if (!new File(javaDocRoot).exists()) { exec { + workingDir projectDir commandLine 'git', 'clone', '--branch', 'gh-pages', '--single-branch', 'git@github.com:googleapis/googleapis.git', 'tmp_gh-pages' } @@ -121,7 +123,7 @@ task copyFilesToGhPages { dependsOn 'checkOutGhPages' dependsOn 'javadoc' doLast { - def newSiteDirPath = "tmp_gh-pages/java/${packageName}/${project.version}/apidocs/" + def newSiteDirPath = javaDocRoot + "/java/${packageName}/${project.version}/apidocs/" new File(newSiteDirPath).mkdirs() copy { from 'build/docs/javadoc' @@ -130,20 +132,21 @@ task copyFilesToGhPages { } } -task createApiDocsRedirect { +// Regenerates the gh-pages branch under tmp_gh-pages +task updateDocs { dependsOn 'copyFilesToGhPages' doLast { - def outputContent = new File('templates/apidocs_index.html.template').text + def outputContent = new File(projectDir.getAbsolutePath() + '/templates/apidocs_index.html.template').text outputContent = outputContent.replace('{{siteVersion}}', project.version) outputContent = outputContent.replace('{{packageName}}', packageName) - new File("tmp_gh-pages/java/${packageName}/apidocs").mkdirs() - new File("tmp_gh-pages/java/${packageName}/apidocs/index.html").write(outputContent) + new File(javaDocRoot + "/java/${packageName}/apidocs").mkdirs() + new File(javaDocRoot + "/java/${packageName}/apidocs/index.html").write(outputContent) exec { - workingDir 'tmp_gh-pages/' + workingDir javaDocRoot commandLine 'git', 'add', '.' } exec { - workingDir 'tmp_gh-pages/' + workingDir javaDocRoot commandLine 'git', 'commit', '-m', "Regenerating docs for ${packageName} ${project.version}" } println 'New docs have been generated under tmp_gh-pages and have been committed;' @@ -151,7 +154,14 @@ task createApiDocsRedirect { } } -// Regenerates the gh-pages branch under tmp_gh-pages, which must be committed separately -task updateDocsWithCurrentVersion { - dependsOn 'createApiDocsRedirect' +// Regenerates and push the gh-pages branch under tmp_gh-pages +task updateAndPushDocs { + dependsOn 'updateDocs' + doLast { + exec { + workingDir javaDocRoot + commandLine 'git', 'push' + println "New docs have been pushed to Github for ${packageName} ${project.version}" + } + } } From 2fcb4ad90db0d01f7ac2f252b8c04a6d93380712 Mon Sep 17 00:00:00 2001 From: Thomas Coffee Date: Tue, 6 Jun 2017 07:32:54 -0700 Subject: [PATCH 0378/3036] Release 0.19.0 (#2114) * Bump dependency versions for gax and auth * Release 0.19.0 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 264299e7772a..ba54382abc09 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.0.3-SNAPSHOT + 1.1.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.18.1-alpha-SNAPSHOT + 0.19.0-alpha 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 8075ec392ec0..14eca64da12f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.0.3-SNAPSHOT + 1.1.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.18.1-alpha-SNAPSHOT + 0.19.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 5ee3b791311d..5e21e0e27a5a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.0.2 + 1.1.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.0.2' +compile 'com.google.cloud:google-cloud-core:1.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.0.2" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.1.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2fac8096fbf2..f23925c629c1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.0.3-SNAPSHOT + 1.1.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.18.1-alpha-SNAPSHOT + 0.19.0-alpha google-cloud-core From 6a24b2439162bb39c71d2cce004bdc2deb0d33b5 Mon Sep 17 00:00:00 2001 From: Thomas Coffee Date: Tue, 6 Jun 2017 09:52:35 -0700 Subject: [PATCH 0379/3036] Bump to next snapshot versions (#2119) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ba54382abc09..42db13c03c35 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.1.0 + 1.1.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.19.0-alpha + 0.19.1-alpha-SNAPSHOT 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 14eca64da12f..123a4172484b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.1.0 + 1.1.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.19.0-alpha + 0.19.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f23925c629c1..aa181b002883 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.1.0 + 1.1.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.19.0-alpha + 0.19.1-alpha-SNAPSHOT google-cloud-core From 37eca51fc265c9bb54db54d1fd94539e4528c918 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Wed, 7 Jun 2017 05:34:20 +1000 Subject: [PATCH 0380/3036] regenerate from toolkit (#2116) --- .../com/google/cloud/grpc/GrpcTransportOptions.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index 14df14531766..43271ce5fcc2 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -20,6 +20,8 @@ import com.google.api.core.InternalApi; import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.api.gax.core.CredentialsProvider; +import com.google.api.gax.core.NoCredentialsProvider; import com.google.api.gax.grpc.ChannelProvider; import com.google.api.gax.grpc.InstantiatingChannelProvider; import com.google.api.gax.grpc.UnaryCallSettings; @@ -175,6 +177,14 @@ public static ChannelProvider setUpChannelProvider( return providerBuilder.build(); } + public static CredentialsProvider setUpCredentialsProvider(ServiceOptions serviceOptions) { + Credentials scopedCredentials = serviceOptions.getScopedCredentials(); + if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { + return FixedCredentialsProvider.create(scopedCredentials); + } + return new NoCredentialsProvider(); + } + public Builder toBuilder() { return new Builder(this); From ebded708e679063e7c77c84bc81197319a1888a7 Mon Sep 17 00:00:00 2001 From: Thomas Coffee Date: Fri, 9 Jun 2017 12:57:57 -0700 Subject: [PATCH 0381/3036] Add getter docs for service objects (#2129) Fixes #2115. --- .../src/main/java/com/google/cloud/ServiceOptions.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 061e2e869972..3bc0ff66da26 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -420,6 +420,10 @@ protected static String getServiceAccountProjectId() { } + /** + * Returns a Service object for the current service. For instance, when using Google Cloud + * Storage, it returns a {@link com.google.cloud.storage.Storage} object. + */ @SuppressWarnings("unchecked") public ServiceT getService() { if (service == null) { @@ -429,6 +433,10 @@ public ServiceT getService() { } + /** + * Returns a Service RPC object for the current service. For instance, when using Google Cloud + * Storage, it returns a {@link com.google.cloud.storage.spi.StorageRpc} object. + */ @SuppressWarnings("unchecked") public ServiceRpc getRpc() { if (rpc == null) { From baeea24699ffb6236fe1586898bf4140e0c89dcc Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 9 Jun 2017 16:44:53 -0700 Subject: [PATCH 0382/3036] Removing .spi from generated package names (#2135) --- .../src/main/java/com/google/cloud/ServiceOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 3bc0ff66da26..d17103fb0b0f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -422,7 +422,7 @@ protected static String getServiceAccountProjectId() { /** * Returns a Service object for the current service. For instance, when using Google Cloud - * Storage, it returns a {@link com.google.cloud.storage.Storage} object. + * Storage, it returns a Storage object. */ @SuppressWarnings("unchecked") public ServiceT getService() { @@ -435,7 +435,7 @@ public ServiceT getService() { /** * Returns a Service RPC object for the current service. For instance, when using Google Cloud - * Storage, it returns a {@link com.google.cloud.storage.spi.StorageRpc} object. + * Storage, it returns a StorageRpc object. */ @SuppressWarnings("unchecked") public ServiceRpc getRpc() { From 9b63a185aba333b5b8dd353a4309033ab1d008aa Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 15 Jun 2017 08:43:38 -0700 Subject: [PATCH 0383/3036] Bumping versions to 1.2.0, 0.20.0-beta, 0.20.0-alpha for release --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 42db13c03c35..7f309bcff800 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.1.1-SNAPSHOT + 1.2.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.19.1-alpha-SNAPSHOT + 0.20.0-alpha 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 123a4172484b..dfad508aa02c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.1.1-SNAPSHOT + 1.2.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.19.1-alpha-SNAPSHOT + 0.20.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 5e21e0e27a5a..86ba4cd250c0 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.1.0 + 1.2.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.1.0' +compile 'com.google.cloud:google-cloud-core:1.2.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.1.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index aa181b002883..39b8a8c3fbc3 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.1.1-SNAPSHOT + 1.2.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.19.1-alpha-SNAPSHOT + 0.20.0-alpha google-cloud-core From fe73cd59b8c5f879d273de93e566a12860dc80c1 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 15 Jun 2017 11:07:58 -0700 Subject: [PATCH 0384/3036] Bumping to snapshot versions (#2154) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7f309bcff800..5c3a1996e059 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.0 + 1.2.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.0-alpha + 0.20.1-alpha-SNAPSHOT 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 dfad508aa02c..a54bf9e76e47 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.0 + 1.2.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.0-alpha + 0.20.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 39b8a8c3fbc3..d062e9368338 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.0 + 1.2.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.0-alpha + 0.20.1-alpha-SNAPSHOT google-cloud-core From ef79976a1365dc4605c262222baead1171a3ebda Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Wed, 21 Jun 2017 09:17:56 -0700 Subject: [PATCH 0385/3036] Add support for new LRO implementation (#2164) https://github.com/googleapis/gax-java/issues/147 https://github.com/googleapis/gax-java/issues/146 --- .../com/google/cloud/ExceptionHandler.java | 8 +-- .../java/com/google/cloud/RetryHelper.java | 11 ++-- .../google/cloud/ExceptionHandlerTest.java | 50 +++++++++---------- 3 files changed, 37 insertions(+), 32 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index e412ddfdd00c..70d6cd49bbea 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -19,7 +19,7 @@ import static com.google.common.base.Preconditions.checkNotNull; import com.google.api.core.BetaApi; -import com.google.api.gax.retrying.ExceptionRetryAlgorithm; +import com.google.api.gax.retrying.ResultRetryAlgorithm; import com.google.api.gax.retrying.TimedAttemptSettings; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; @@ -37,7 +37,7 @@ * Exception retry algorithm implementation used by {@link RetryHelper}. */ @BetaApi -public final class ExceptionHandler implements ExceptionRetryAlgorithm, Serializable { +public final class ExceptionHandler implements ResultRetryAlgorithm, Serializable { private static final long serialVersionUID = -2460707015779532919L; @@ -238,7 +238,7 @@ void verifyCaller(Callable callable) { } @Override - public boolean accept(Throwable prevThrowable) { + public boolean shouldRetry(Throwable prevThrowable, Object prevResponse) { if(!(prevThrowable instanceof Exception)) { return false; } @@ -263,7 +263,7 @@ public boolean accept(Throwable prevThrowable) { } @Override - public TimedAttemptSettings createNextAttempt(Throwable prevThrowable, + public TimedAttemptSettings createNextAttempt(Throwable prevThrowable, Object prevResponse, TimedAttemptSettings prevSettings) { // Return null to indicate that this implementation does not provide any specific attempt // settings, so by default the TimedRetryAlgorithm options can be used instead. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index 702356d40547..edeeed5e84ed 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiClock; import com.google.api.core.BetaApi; +import com.google.api.gax.retrying.ResultRetryAlgorithm; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.retrying.DirectRetryingExecutor; @@ -37,12 +38,16 @@ public class RetryHelper { public static V runWithRetries( Callable callable, RetrySettings retrySettings, - ExceptionHandler exceptionRetryAlgorithm, + ResultRetryAlgorithm resultRetryAlgorithm, ApiClock clock) throws RetryHelperException { try { - RetryAlgorithm retryAlgorithm = - new RetryAlgorithm(exceptionRetryAlgorithm, new ExponentialRetryAlgorithm(retrySettings, clock)); + // Suppressing should be ok as a workaraund. Current and only ResultRetryAlgorithm + // implementation does not use response at all, so ignoring its type is ok. + @SuppressWarnings("unchecked") + RetryAlgorithm retryAlgorithm = + new RetryAlgorithm<>((ResultRetryAlgorithm) resultRetryAlgorithm, + new ExponentialRetryAlgorithm(retrySettings, clock)); RetryingExecutor executor = new DirectRetryingExecutor<>(retryAlgorithm); RetryingFuture retryingFuture = executor.createFuture(callable); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java index c78f7773d3fb..0a704fccf181 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java @@ -117,9 +117,9 @@ private static void assertInvalidCallable(Callable callable, ExceptionHan @Test public void testShouldTry() { ExceptionHandler handler = ExceptionHandler.newBuilder().retryOn(IOException.class).build(); - assertTrue(handler.accept(new IOException())); - assertTrue(handler.accept(new ClosedByInterruptException())); - assertFalse(handler.accept(new RuntimeException())); + assertTrue(handler.shouldRetry(new IOException(), null)); + assertTrue(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertFalse(handler.shouldRetry(new RuntimeException(), null)); ExceptionHandler.Builder builder = ExceptionHandler.newBuilder() .retryOn(IOException.class, NullPointerException.class) @@ -127,11 +127,11 @@ public void testShouldTry() { InterruptedException.class); handler = builder.build(); - assertTrue(handler.accept(new IOException())); - assertFalse(handler.accept(new ClosedByInterruptException())); - assertFalse(handler.accept(new InterruptedException())); - assertFalse(handler.accept(new RuntimeException())); - assertTrue(handler.accept(new NullPointerException())); + assertTrue(handler.shouldRetry(new IOException(), null)); + assertFalse(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertFalse(handler.shouldRetry(new InterruptedException(), null)); + assertFalse(handler.shouldRetry(new RuntimeException(), null)); + assertTrue(handler.shouldRetry(new NullPointerException(), null)); final AtomicReference before = new AtomicReference<>(RetryResult.NO_RETRY); @SuppressWarnings("serial") @@ -150,25 +150,25 @@ public RetryResult beforeEval(Exception exception) { builder.addInterceptors(interceptor); handler = builder.build(); - assertFalse(handler.accept(new IOException())); - assertFalse(handler.accept(new ClosedByInterruptException())); - assertFalse(handler.accept(new InterruptedException())); - assertFalse(handler.accept(new RuntimeException())); - assertFalse(handler.accept(new NullPointerException())); + assertFalse(handler.shouldRetry(new IOException(), null)); + assertFalse(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertFalse(handler.shouldRetry(new InterruptedException(), null)); + assertFalse(handler.shouldRetry(new RuntimeException(), null)); + assertFalse(handler.shouldRetry(new NullPointerException(), null)); before.set(RetryResult.RETRY); - assertTrue(handler.accept(new IOException())); - assertTrue(handler.accept(new ClosedByInterruptException())); - assertTrue(handler.accept(new InterruptedException())); - assertTrue(handler.accept(new RuntimeException())); - assertTrue(handler.accept(new NullPointerException())); + assertTrue(handler.shouldRetry(new IOException(), null)); + assertTrue(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertTrue(handler.shouldRetry(new InterruptedException(), null)); + assertTrue(handler.shouldRetry(new RuntimeException(), null)); + assertTrue(handler.shouldRetry(new NullPointerException(), null)); before.set(RetryResult.CONTINUE_EVALUATION); - assertFalse(handler.accept(new IOException())); - assertTrue(handler.accept(new ClosedByInterruptException())); - assertTrue(handler.accept(new InterruptedException())); - assertTrue(handler.accept(new RuntimeException())); - assertFalse(handler.accept(new NullPointerException())); + assertFalse(handler.shouldRetry(new IOException(), null)); + assertTrue(handler.shouldRetry(new ClosedByInterruptException(), null)); + assertTrue(handler.shouldRetry(new InterruptedException(), null)); + assertTrue(handler.shouldRetry(new RuntimeException(), null)); + assertFalse(handler.shouldRetry(new NullPointerException(), null)); } @Test @@ -190,7 +190,7 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); - handler.accept(new Exception()); + handler.shouldRetry(new Exception(), null); } @Test @@ -212,6 +212,6 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); - handler.accept(new Exception()); + handler.shouldRetry(new Exception(), null); } } From 7754bee8966b61559a9629c62cd1b8f41ff80f49 Mon Sep 17 00:00:00 2001 From: Thomas Coffee Date: Thu, 22 Jun 2017 15:51:15 -0700 Subject: [PATCH 0386/3036] WIP: override API key with service account credentials (#2151) * WIP: override API key with service account credentials Addresses #1405. Currently does not address case of conflict between explicitly passed API key and default service account credentials. Currently no integration tests use API keys. * Establish precedence of auth methods including API key Use following order of precedence for authentication, avoiding conflicts: 1. explicitly set credentials 2. explicitly set API key 3. Application Default Credentials (e.g., through GOOGLE_APPLICATION_CREDENTIALS) 4. default API key (through GOOGLE_API_KEY) * Test call with API key --- .../src/main/java/com/google/cloud/ServiceOptions.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index d17103fb0b0f..7200ea3dd2ab 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -61,6 +61,8 @@ public abstract class ServiceOptions, OptionsT extends ServiceOptions> implements Serializable { + public static final String CREDENTIAL_ENV_NAME = "GOOGLE_APPLICATION_CREDENTIALS"; + private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; @@ -84,7 +86,7 @@ public abstract class ServiceOptions, private final String serviceRpcFactoryClassName; private final String serviceFactoryClassName; private final ApiClock clock; - private final Credentials credentials; + protected Credentials credentials; private final TransportOptions transportOptions; private transient ServiceRpcFactory serviceRpcFactory; @@ -105,7 +107,7 @@ public abstract static class Builder, private String projectId; private String host; - private Credentials credentials; + protected Credentials credentials; private RetrySettings retrySettings; private ServiceFactory serviceFactory; private ServiceRpcFactory serviceRpcFactory; @@ -407,7 +409,7 @@ protected static String getAppEngineProjectId() { protected static String getServiceAccountProjectId() { String project = null; - String credentialsPath = System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); + String credentialsPath = System.getenv(CREDENTIAL_ENV_NAME); if (credentialsPath != null) { try (InputStream credentialsStream = new FileInputStream(credentialsPath)) { JSONObject json = new JSONObject(new JSONTokener(credentialsStream)); From cbedfea824242b42733bb40a488f6cae9d92d964 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Fri, 23 Jun 2017 14:40:35 -0700 Subject: [PATCH 0387/3036] Fixing spanner headers consistency issue. (#2180) * Fixing spanner headers consistency issue. Previously spanner client was sending (example valuess): user-agent: google-cloud-java/0.20.0-beta grpc-java-netty/1.2.0 x-goog-api-client: google-cloud-java/0.20.0-beta After the changes (example values): user-agent: grpc-java-netty/1.2.0, x-goog-api-client: gl-java/1.8.0_112-google-v7 gccl/0.20.1-beta-SNAPSHOT gax/1.4.0 grpc/1.2.0 --- .../cloud/grpc/GrpcTransportOptions.java | 23 ++++++++++++++++ .../cloud/grpc/GrpcTransportOptionsTest.java | 9 +++++++ .../cloud/http/HttpTransportOptions.java | 27 +++++++++++-------- .../cloud/http/HttpTransportOptionsTest.java | 8 ++---- .../com/google/cloud/TransportOptions.java | 1 - 5 files changed, 50 insertions(+), 18 deletions(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index 43271ce5fcc2..3fa76cdf6e6f 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -21,8 +21,10 @@ import com.google.api.core.InternalApi; import com.google.api.gax.core.FixedCredentialsProvider; import com.google.api.gax.core.CredentialsProvider; +import com.google.api.gax.core.GaxProperties; import com.google.api.gax.core.NoCredentialsProvider; import com.google.api.gax.grpc.ChannelProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.InstantiatingChannelProvider; import com.google.api.gax.grpc.UnaryCallSettings; import com.google.api.gax.retrying.RetrySettings; @@ -34,6 +36,7 @@ import io.grpc.internal.SharedResourceHolder.Resource; import java.io.IOException; import java.io.ObjectInputStream; +import java.util.Locale; import java.util.Objects; import java.util.concurrent.ExecutorService; import java.util.concurrent.ScheduledExecutorService; @@ -71,6 +74,26 @@ public void close(ScheduledExecutorService instance) { } }; + /** + * Returns a string value for x-goog-api-client HTTP header. The header is used to report version + * of the client and its protocol-specific dependencies. + * + * For internal use. + * + * @param libraryVersion version of the google-cloud-java library + * @return value of x-goog-api-client HTTP header, which should be provided with each request + */ + @InternalApi + public String getXGoogApiClientHeader(String libraryVersion) { + return String.format(Locale.US, + "gl-java/%s %s/%s gax/%s grpc/%s", + firstNonNull(Runtime.class.getPackage().getImplementationVersion(), ""), + ServiceOptions.getGoogApiClientLibName(), + libraryVersion, + GaxProperties.getGaxVersion(), + GaxGrpcProperties.getGrpcVersion()); + } + /** * An interface for {@link ExecutorService} factories. Implementations of this interface can be * used to provide an user-defined executor to execute requests. Any implementation of this diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java index 7aff66b2d643..10454bf9d25e 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java @@ -24,6 +24,7 @@ import com.google.cloud.grpc.GrpcTransportOptions.DefaultExecutorFactory; import com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory; import java.util.concurrent.ScheduledExecutorService; +import java.util.regex.Pattern; import org.easymock.EasyMock; import org.junit.Test; @@ -70,4 +71,12 @@ public void testDefaultExecutorFactory() { ScheduledExecutorService executorService = executorFactory.get(); assertSame(executorService, executorFactory.get()); } + + @Test + public void testHeader() { + String expectedHeaderPattern = "^gl-java/.+ gccl/0.0.0+ gax/.+ grpc/.+"; + assertTrue(Pattern.compile(expectedHeaderPattern) + .matcher(OPTIONS.getXGoogApiClientHeader("0.0.0")) + .find()); + } } diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index b45874e71bbb..48c68ac85433 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -24,7 +24,6 @@ import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; -import com.google.api.core.InternalApi; import com.google.auth.Credentials; import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.http.HttpTransportFactory; @@ -33,6 +32,7 @@ import com.google.cloud.TransportOptions; import java.io.IOException; import java.io.ObjectInputStream; +import java.util.Locale; import java.util.Objects; /** @@ -163,22 +163,27 @@ public void initialize(HttpRequest httpRequest) throws IOException { } HttpHeaders headers = httpRequest.getHeaders(); - headers.set("x-goog-api-client", getXGoogApiClientHeader(serviceOptions)); + headers.set( + "x-goog-api-client", getXGoogApiClientHeader(serviceOptions.getLibraryVersion())); } }; } - String getXGoogApiClientHeader(ServiceOptions serviceOptions) { - return String.format( + /** + * Returns a string value for x-goog-api-client HTTP header. The header is used to report version + * of the client and its protocol-specific dependencies. + * + * For internal use. + * + * @param libraryVersion version of the google-cloud-java library + * @return value of x-goog-api-client HTTP header, which should be provided with each request + */ + String getXGoogApiClientHeader(String libraryVersion) { + return String.format(Locale.US, "gl-java/%s %s/%s", - getJavaVersion(), + firstNonNull(Runtime.class.getPackage().getImplementationVersion(), ""), ServiceOptions.getGoogApiClientLibName(), - serviceOptions.getLibraryVersion()); - } - - private static String getJavaVersion() { - String javaVersion = Runtime.class.getPackage().getImplementationVersion(); - return javaVersion != null ? javaVersion : ""; + libraryVersion); } /** diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java index 4240aa9172a0..960dfc1f0ebc 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java @@ -22,7 +22,6 @@ import static org.junit.Assert.assertTrue; import com.google.auth.http.HttpTransportFactory; -import com.google.cloud.ServiceOptions; import com.google.cloud.http.HttpTransportOptions.DefaultHttpTransportFactory; import java.util.regex.Pattern; import org.easymock.EasyMock; @@ -65,12 +64,9 @@ public void testBaseHashCode() { @Test public void testHeader() { - String expectedHeaderPattern = "^gl-java/.* gccl/0.0.0"; - final ServiceOptions mockOptions = EasyMock.createMock(ServiceOptions.class); - EasyMock.expect(mockOptions.getLibraryVersion()).andReturn("0.0.0"); - EasyMock.replay(mockOptions); + String expectedHeaderPattern = "^gl-java/.+ gccl/0.0.0"; assertTrue(Pattern.compile(expectedHeaderPattern) - .matcher(OPTIONS.getXGoogApiClientHeader(mockOptions)) + .matcher(OPTIONS.getXGoogApiClientHeader("0.0.0")) .find()); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java index 6048db05155f..84a6001f3db1 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java @@ -21,5 +21,4 @@ * An abstraction for transport-specific options, e.g. for http1.1 vs grpc. */ public interface TransportOptions extends Serializable { - } From 3b48b53a7ca8046453df291b87b3e64c81e958c4 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Mon, 26 Jun 2017 14:16:06 +1000 Subject: [PATCH 0388/3036] java: update build.gradle and add video-intelligence (#361) The build.gradle change reflects googleapis/toolkit#1382. Generated Code: Dependency changes are described in GoogleCloudPlatform/google-cloud-java#2171 Changes to Java code: Removing retry to UNAVAILABLE described in GoogleCloudPlatform/google-cloud-java#2171 LRO change described in GoogleCloudPlatform/google-cloud-java#2164. The rest are changes to generated protobuf classes introduced by updating protoc to v3.3.0 --- java-iam/grpc-google-iam-v1/build.gradle | 6 +- java-iam/proto-google-iam-v1/build.gradle | 4 +- .../main/java/com/google/iam/v1/Binding.java | 27 ++++++--- .../java/com/google/iam/v1/BindingDelta.java | 55 +++++++++++-------- .../google/iam/v1/BindingDeltaOrBuilder.java | 12 ++-- .../com/google/iam/v1/BindingOrBuilder.java | 4 +- .../google/iam/v1/GetIamPolicyRequest.java | 27 ++++++--- .../iam/v1/GetIamPolicyRequestOrBuilder.java | 4 +- .../main/java/com/google/iam/v1/Policy.java | 29 +++++++--- .../java/com/google/iam/v1/PolicyDelta.java | 13 ++++- .../com/google/iam/v1/PolicyOrBuilder.java | 4 +- .../google/iam/v1/SetIamPolicyRequest.java | 51 ++++++++++------- .../iam/v1/SetIamPolicyRequestOrBuilder.java | 10 ++-- .../iam/v1/TestIamPermissionsRequest.java | 27 ++++++--- .../TestIamPermissionsRequestOrBuilder.java | 4 +- .../iam/v1/TestIamPermissionsResponse.java | 13 ++++- 16 files changed, 189 insertions(+), 101 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 2be791b813af..95e9cbf47597 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.11" +version = "0.1.12" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -20,8 +20,8 @@ repositories { } dependencies { - compile "io.grpc:grpc-stub:1.2.0" - compile "io.grpc:grpc-protobuf:1.2.0" + compile "io.grpc:grpc-stub:1.4.0" + compile "io.grpc:grpc-protobuf:1.4.0" compile project(":proto-google-iam-v1") } diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index e3342244cd4c..09e19b99e1f3 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.11" +version = "0.1.12" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -20,7 +20,7 @@ repositories { } dependencies { - compile "com.google.protobuf:protobuf-java:3.2.0" + compile "com.google.protobuf:protobuf-java:3.3.0" compile "com.google.api:api-common:1.1.0" compile project(":proto-google-common-protos") } 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 de67660af077..e8575f1bfba7 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 @@ -99,7 +99,7 @@ private Binding( * Required * * - * optional string role = 1; + * string role = 1; */ public java.lang.String getRole() { java.lang.Object ref = role_; @@ -120,7 +120,7 @@ public java.lang.String getRole() { * Required * * - * optional string role = 1; + * string role = 1; */ public com.google.protobuf.ByteString getRoleBytes() { @@ -298,7 +298,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROLE_FIELD_NUMBER; hash = (53 * hash) + getRole().hashCode(); if (getMembersCount() > 0) { @@ -310,6 +310,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.Binding parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.Binding parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.Binding parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -552,7 +563,7 @@ public Builder mergeFrom( * Required * * - * optional string role = 1; + * string role = 1; */ public java.lang.String getRole() { java.lang.Object ref = role_; @@ -573,7 +584,7 @@ public java.lang.String getRole() { * Required * * - * optional string role = 1; + * string role = 1; */ public com.google.protobuf.ByteString getRoleBytes() { @@ -595,7 +606,7 @@ public java.lang.String getRole() { * Required * * - * optional string role = 1; + * string role = 1; */ public Builder setRole( java.lang.String value) { @@ -614,7 +625,7 @@ public Builder setRole( * Required * * - * optional string role = 1; + * string role = 1; */ public Builder clearRole() { @@ -629,7 +640,7 @@ public Builder clearRole() { * Required * * - * optional string role = 1; + * string role = 1; */ public Builder setRoleBytes( com.google.protobuf.ByteString value) { 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 9f14ebcce327..fe68f9f3cd98 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 @@ -234,7 +234,7 @@ private Action(int value) { * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ public int getActionValue() { return action_; @@ -245,7 +245,7 @@ public int getActionValue() { * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ public com.google.iam.v1.BindingDelta.Action getAction() { com.google.iam.v1.BindingDelta.Action result = com.google.iam.v1.BindingDelta.Action.valueOf(action_); @@ -261,7 +261,7 @@ public com.google.iam.v1.BindingDelta.Action getAction() { * Required * * - * optional string role = 2; + * string role = 2; */ public java.lang.String getRole() { java.lang.Object ref = role_; @@ -282,7 +282,7 @@ public java.lang.String getRole() { * Required * * - * optional string role = 2; + * string role = 2; */ public com.google.protobuf.ByteString getRoleBytes() { @@ -307,7 +307,7 @@ public java.lang.String getRole() { * Required * * - * optional string member = 3; + * string member = 3; */ public java.lang.String getMember() { java.lang.Object ref = member_; @@ -328,7 +328,7 @@ public java.lang.String getMember() { * Required * * - * optional string member = 3; + * string member = 3; */ public com.google.protobuf.ByteString getMemberBytes() { @@ -412,7 +412,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACTION_FIELD_NUMBER; hash = (53 * hash) + action_; hash = (37 * hash) + ROLE_FIELD_NUMBER; @@ -424,6 +424,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.BindingDelta parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.BindingDelta parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.BindingDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -658,7 +669,7 @@ public Builder mergeFrom( * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ public int getActionValue() { return action_; @@ -669,7 +680,7 @@ public int getActionValue() { * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ public Builder setActionValue(int value) { action_ = value; @@ -682,7 +693,7 @@ public Builder setActionValue(int value) { * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ public com.google.iam.v1.BindingDelta.Action getAction() { com.google.iam.v1.BindingDelta.Action result = com.google.iam.v1.BindingDelta.Action.valueOf(action_); @@ -694,7 +705,7 @@ public com.google.iam.v1.BindingDelta.Action getAction() { * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ public Builder setAction(com.google.iam.v1.BindingDelta.Action value) { if (value == null) { @@ -711,7 +722,7 @@ public Builder setAction(com.google.iam.v1.BindingDelta.Action value) { * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ public Builder clearAction() { @@ -728,7 +739,7 @@ public Builder clearAction() { * Required * * - * optional string role = 2; + * string role = 2; */ public java.lang.String getRole() { java.lang.Object ref = role_; @@ -749,7 +760,7 @@ public java.lang.String getRole() { * Required * * - * optional string role = 2; + * string role = 2; */ public com.google.protobuf.ByteString getRoleBytes() { @@ -771,7 +782,7 @@ public java.lang.String getRole() { * Required * * - * optional string role = 2; + * string role = 2; */ public Builder setRole( java.lang.String value) { @@ -790,7 +801,7 @@ public Builder setRole( * Required * * - * optional string role = 2; + * string role = 2; */ public Builder clearRole() { @@ -805,7 +816,7 @@ public Builder clearRole() { * Required * * - * optional string role = 2; + * string role = 2; */ public Builder setRoleBytes( com.google.protobuf.ByteString value) { @@ -827,7 +838,7 @@ public Builder setRoleBytes( * Required * * - * optional string member = 3; + * string member = 3; */ public java.lang.String getMember() { java.lang.Object ref = member_; @@ -848,7 +859,7 @@ public java.lang.String getMember() { * Required * * - * optional string member = 3; + * string member = 3; */ public com.google.protobuf.ByteString getMemberBytes() { @@ -870,7 +881,7 @@ public java.lang.String getMember() { * Required * * - * optional string member = 3; + * string member = 3; */ public Builder setMember( java.lang.String value) { @@ -889,7 +900,7 @@ public Builder setMember( * Required * * - * optional string member = 3; + * string member = 3; */ public Builder clearMember() { @@ -904,7 +915,7 @@ public Builder clearMember() { * Required * * - * optional string member = 3; + * string member = 3; */ public Builder setMemberBytes( com.google.protobuf.ByteString value) { diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java index ab434801d88f..142412558c27 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java @@ -13,7 +13,7 @@ public interface BindingDeltaOrBuilder extends * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ int getActionValue(); /** @@ -22,7 +22,7 @@ public interface BindingDeltaOrBuilder extends * Required * * - * optional .google.iam.v1.BindingDelta.Action action = 1; + * .google.iam.v1.BindingDelta.Action action = 1; */ com.google.iam.v1.BindingDelta.Action getAction(); @@ -33,7 +33,7 @@ public interface BindingDeltaOrBuilder extends * Required * * - * optional string role = 2; + * string role = 2; */ java.lang.String getRole(); /** @@ -43,7 +43,7 @@ public interface BindingDeltaOrBuilder extends * Required * * - * optional string role = 2; + * string role = 2; */ com.google.protobuf.ByteString getRoleBytes(); @@ -55,7 +55,7 @@ public interface BindingDeltaOrBuilder extends * Required * * - * optional string member = 3; + * string member = 3; */ java.lang.String getMember(); /** @@ -65,7 +65,7 @@ public interface BindingDeltaOrBuilder extends * Required * * - * optional string member = 3; + * string member = 3; */ com.google.protobuf.ByteString getMemberBytes(); 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 835a41532bbd..8cacedf92628 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 @@ -14,7 +14,7 @@ public interface BindingOrBuilder extends * Required * * - * optional string role = 1; + * string role = 1; */ java.lang.String getRole(); /** @@ -24,7 +24,7 @@ public interface BindingOrBuilder extends * Required * * - * optional string role = 1; + * string role = 1; */ com.google.protobuf.ByteString getRoleBytes(); 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 c209b9a0fae7..901dbeff45e3 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 @@ -85,7 +85,7 @@ private GetIamPolicyRequest( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public java.lang.String getResource() { java.lang.Object ref = resource_; @@ -106,7 +106,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { @@ -174,7 +174,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -182,6 +182,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.GetIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -403,7 +414,7 @@ public Builder mergeFrom( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public java.lang.String getResource() { java.lang.Object ref = resource_; @@ -424,7 +435,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { @@ -446,7 +457,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder setResource( java.lang.String value) { @@ -465,7 +476,7 @@ public Builder setResource( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder clearResource() { @@ -480,7 +491,7 @@ public Builder clearResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder setResourceBytes( com.google.protobuf.ByteString value) { diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java index e49f5dd9a10a..a652138d3d7b 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java @@ -14,7 +14,7 @@ public interface GetIamPolicyRequestOrBuilder extends * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ java.lang.String getResource(); /** @@ -24,7 +24,7 @@ public interface GetIamPolicyRequestOrBuilder extends * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ com.google.protobuf.ByteString getResourceBytes(); 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 660eb97503a3..e8c201f6c5e2 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 @@ -127,7 +127,7 @@ private Policy( * Version of the `Policy`. The default version is 0. * * - * optional int32 version = 1; + * int32 version = 1; */ public int getVersion() { return version_; @@ -213,7 +213,7 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( * policy is overwritten blindly. * * - * optional bytes etag = 3; + * bytes etag = 3; */ public com.google.protobuf.ByteString getEtag() { return etag_; @@ -290,7 +290,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion(); if (getBindingsCount() > 0) { @@ -304,6 +304,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.Policy parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.Policy parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.Policy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -599,7 +610,7 @@ public Builder mergeFrom( * Version of the `Policy`. The default version is 0. * * - * optional int32 version = 1; + * int32 version = 1; */ public int getVersion() { return version_; @@ -609,7 +620,7 @@ public int getVersion() { * Version of the `Policy`. The default version is 0. * * - * optional int32 version = 1; + * int32 version = 1; */ public Builder setVersion(int value) { @@ -622,7 +633,7 @@ public Builder setVersion(int value) { * Version of the `Policy`. The default version is 0. * * - * optional int32 version = 1; + * int32 version = 1; */ public Builder clearVersion() { @@ -993,7 +1004,7 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder( * policy is overwritten blindly. * * - * optional bytes etag = 3; + * bytes etag = 3; */ public com.google.protobuf.ByteString getEtag() { return etag_; @@ -1011,7 +1022,7 @@ public com.google.protobuf.ByteString getEtag() { * policy is overwritten blindly. * * - * optional bytes etag = 3; + * bytes etag = 3; */ public Builder setEtag(com.google.protobuf.ByteString value) { if (value == null) { @@ -1035,7 +1046,7 @@ public Builder setEtag(com.google.protobuf.ByteString value) { * policy is overwritten blindly. * * - * optional bytes etag = 3; + * bytes etag = 3; */ public Builder clearEtag() { 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 21342e80895e..b961b9780b36 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 @@ -190,7 +190,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (getBindingDeltasCount() > 0) { hash = (37 * hash) + BINDING_DELTAS_FIELD_NUMBER; hash = (53 * hash) + getBindingDeltasList().hashCode(); @@ -200,6 +200,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.PolicyDelta parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.PolicyDelta parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.PolicyDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { 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 d76e1e79f712..c0a2004758a9 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 @@ -12,7 +12,7 @@ public interface PolicyOrBuilder extends * Version of the `Policy`. The default version is 0. * * - * optional int32 version = 1; + * int32 version = 1; */ int getVersion(); @@ -83,7 +83,7 @@ com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( * policy is overwritten blindly. * * - * optional bytes etag = 3; + * bytes etag = 3; */ com.google.protobuf.ByteString getEtag(); } 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 257390f05e45..14f88146c03d 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 @@ -98,7 +98,7 @@ private SetIamPolicyRequest( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public java.lang.String getResource() { java.lang.Object ref = resource_; @@ -119,7 +119,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { @@ -145,7 +145,7 @@ public java.lang.String getResource() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public boolean hasPolicy() { return policy_ != null; @@ -158,7 +158,7 @@ public boolean hasPolicy() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; @@ -171,7 +171,7 @@ public com.google.iam.v1.Policy getPolicy() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { return getPolicy(); @@ -241,7 +241,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); if (hasPolicy()) { @@ -253,6 +253,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.SetIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -488,7 +499,7 @@ public Builder mergeFrom( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public java.lang.String getResource() { java.lang.Object ref = resource_; @@ -509,7 +520,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { @@ -531,7 +542,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder setResource( java.lang.String value) { @@ -550,7 +561,7 @@ public Builder setResource( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder clearResource() { @@ -565,7 +576,7 @@ public Builder clearResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder setResourceBytes( com.google.protobuf.ByteString value) { @@ -590,7 +601,7 @@ public Builder setResourceBytes( * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; @@ -603,7 +614,7 @@ public boolean hasPolicy() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public com.google.iam.v1.Policy getPolicy() { if (policyBuilder_ == null) { @@ -620,7 +631,7 @@ public com.google.iam.v1.Policy getPolicy() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public Builder setPolicy(com.google.iam.v1.Policy value) { if (policyBuilder_ == null) { @@ -643,7 +654,7 @@ public Builder setPolicy(com.google.iam.v1.Policy value) { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public Builder setPolicy( com.google.iam.v1.Policy.Builder builderForValue) { @@ -664,7 +675,7 @@ public Builder setPolicy( * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public Builder mergePolicy(com.google.iam.v1.Policy value) { if (policyBuilder_ == null) { @@ -689,7 +700,7 @@ public Builder mergePolicy(com.google.iam.v1.Policy value) { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public Builder clearPolicy() { if (policyBuilder_ == null) { @@ -710,7 +721,7 @@ public Builder clearPolicy() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public com.google.iam.v1.Policy.Builder getPolicyBuilder() { @@ -725,7 +736,7 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { if (policyBuilder_ != null) { @@ -743,7 +754,7 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 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 13214eb13a7b..fd6b5b6aa66b 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 @@ -14,7 +14,7 @@ public interface SetIamPolicyRequestOrBuilder extends * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ java.lang.String getResource(); /** @@ -24,7 +24,7 @@ public interface SetIamPolicyRequestOrBuilder extends * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ com.google.protobuf.ByteString getResourceBytes(); @@ -37,7 +37,7 @@ public interface SetIamPolicyRequestOrBuilder extends * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ boolean hasPolicy(); /** @@ -48,7 +48,7 @@ public interface SetIamPolicyRequestOrBuilder extends * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ com.google.iam.v1.Policy getPolicy(); /** @@ -59,7 +59,7 @@ public interface SetIamPolicyRequestOrBuilder extends * might reject them. * * - * optional .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2; */ com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder(); } 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 64c81951975f..f9296a624208 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 @@ -99,7 +99,7 @@ private TestIamPermissionsRequest( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public java.lang.String getResource() { java.lang.Object ref = resource_; @@ -120,7 +120,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { @@ -258,7 +258,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); if (getPermissionsCount() > 0) { @@ -270,6 +270,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -512,7 +523,7 @@ public Builder mergeFrom( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public java.lang.String getResource() { java.lang.Object ref = resource_; @@ -533,7 +544,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { @@ -555,7 +566,7 @@ public java.lang.String getResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder setResource( java.lang.String value) { @@ -574,7 +585,7 @@ public Builder setResource( * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder clearResource() { @@ -589,7 +600,7 @@ public Builder clearResource() { * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ public Builder setResourceBytes( com.google.protobuf.ByteString value) { diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java index bf639166828d..54ba20176619 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java @@ -14,7 +14,7 @@ public interface TestIamPermissionsRequestOrBuilder extends * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ java.lang.String getResource(); /** @@ -24,7 +24,7 @@ public interface TestIamPermissionsRequestOrBuilder extends * resource is specified as `projects/{project}`. * * - * optional string resource = 1; + * string resource = 1; */ com.google.protobuf.ByteString getResourceBytes(); 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 e11258bb6f14..60c3dc9e823c 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 @@ -188,7 +188,7 @@ public int hashCode() { return memoizedHashCode; } int hash = 41; - hash = (19 * hash) + getDescriptorForType().hashCode(); + hash = (19 * hash) + getDescriptor().hashCode(); if (getPermissionsCount() > 0) { hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + getPermissionsList().hashCode(); @@ -198,6 +198,17 @@ public int hashCode() { return hash; } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { From d0581e317a982338722c70c77f2174e2b335e825 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 26 Jun 2017 10:47:22 -0700 Subject: [PATCH 0389/3036] add platform information (#2183) *add platform information for transport options *add logic to distinguish GAE standard java 7 and 8 on both DevServer and Prod * Mark InternalApi * add private ctor * add comment for leading whitespace --- .../cloud/http/HttpTransportOptions.java | 4 +- .../com/google/cloud/PlatformInformation.java | 54 +++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 48c68ac85433..8acd08d8003b 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -28,6 +28,7 @@ import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.http.HttpTransportFactory; import com.google.cloud.NoCredentials; +import com.google.cloud.PlatformInformation; import com.google.cloud.ServiceOptions; import com.google.cloud.TransportOptions; import java.io.IOException; @@ -55,8 +56,7 @@ public static class DefaultHttpTransportFactory implements HttpTransportFactory @Override public HttpTransport create() { // Consider App Engine Standard - if (System.getProperty("com.google.appengine.runtime.version") != null - && System.getenv("GAE_SERVICE") == null) { + if (PlatformInformation.isOnGAEStandard7()) { try { return new UrlFetchTransport(); } catch (Exception ignore) { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java new file mode 100644 index 000000000000..272fda029350 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java @@ -0,0 +1,54 @@ +/* + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.InternalApi; + +@InternalApi("This class should only be used within google-cloud-java") +public final class PlatformInformation { + public static final String SPECIFICATION_VERSION = + System.getProperty("java.specification.version"); + public static final String GAE_RUNTIME_VERSION = + System.getProperty("com.google.appengine.runtime.version"); + public static final String RUNTIME_JETTY_LOGGER = + System.getProperty("org.eclipse.jetty.util.log.class"); + public static final String JETTY_LOGGER_ON_GAE8_PROD = + "com.google.apphosting.runtime.jetty9.JettyLogger"; + public static final String JETTY_LOGGER_ON_GAE8_DEVSERVER = + " com.google.appengine.development.jetty9.JettyLogger"; //note the leading space + + private PlatformInformation() {} + + public static boolean isOnGAE() { + return GAE_RUNTIME_VERSION != null; + } + + public static boolean isOnGAEStandard7() { + //edge case: when a Java 7 GAE app is deployed to DevServer running on J8, SPECIFICATION_VERSION will be "1.8", + //but RUNTIME_JETTY_LOGGER is unset + return isOnGAE() && SPECIFICATION_VERSION.equals("1.7") + || isOnGAE() && RUNTIME_JETTY_LOGGER == null; + } + + public static boolean isOnGAEStandard8() { + return isOnGAE() + && !SPECIFICATION_VERSION.equals("1.7") + && RUNTIME_JETTY_LOGGER != null + && (RUNTIME_JETTY_LOGGER.equals(JETTY_LOGGER_ON_GAE8_DEVSERVER) + || RUNTIME_JETTY_LOGGER.equals(JETTY_LOGGER_ON_GAE8_PROD)); + } +} From 33ae89630b21cc26c923e7907a4925c1b8bb9e63 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 27 Jun 2017 11:54:28 +1000 Subject: [PATCH 0390/3036] use grpc 1.4.0 (#2171) requires https://github.com/googleapis/googleapis/pull/384 and https://github.com/googleapis/gax-java/pull/332 bump guava version to 20.0 bump tcnative version to 2.0.3.Final as required by the new grpc version. --- java-core/google-cloud-core-grpc/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5c3a1996e059..b173fb49f305 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -50,6 +50,10 @@ io.grpc grpc-protobuf + + io.grpc + grpc-context + com.google.api gax-grpc From 3710257c23000057d5589034c2071ef3d003d72e Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 27 Jun 2017 14:13:43 +1000 Subject: [PATCH 0391/3036] Release 0.20.1 (#2189) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b173fb49f305..4a570fb62301 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.1-SNAPSHOT + 1.2.1 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.1-alpha-SNAPSHOT + 0.20.1-alpha 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 a54bf9e76e47..4372503e4002 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.1-SNAPSHOT + 1.2.1 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.1-alpha-SNAPSHOT + 0.20.1-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 86ba4cd250c0..16157791a402 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.2.0 + 1.2.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.2.0' +compile 'com.google.cloud:google-cloud-core:1.2.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.1" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d062e9368338..b56fdfda0b12 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.1-SNAPSHOT + 1.2.1 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.1-alpha-SNAPSHOT + 0.20.1-alpha google-cloud-core From 21095a173255f77601682741b0bdea4922f7f596 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Wed, 28 Jun 2017 01:17:20 +1000 Subject: [PATCH 0392/3036] bump version to 0.20.2-alpha for development (#2190) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4a570fb62301..0cdf6a2c1c94 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.1 + 1.2.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.1-alpha + 0.20.2-alpha-SNAPSHOT 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 4372503e4002..56fb706e9929 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.1 + 1.2.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.1-alpha + 0.20.2-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b56fdfda0b12..1f36f022de94 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.1 + 1.2.2-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.1-alpha + 0.20.2-alpha-SNAPSHOT google-cloud-core From 4bdb7c507f803ce5064dabc585083eca2e7479ca Mon Sep 17 00:00:00 2001 From: neozwu Date: Wed, 5 Jul 2017 16:14:37 -0700 Subject: [PATCH 0393/3036] Java: generate gRPC/proto version 0.1.13 for release (#368) * bump grpc and proto versions to 0.1.13 --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 95e9cbf47597..bc1c3bee00ca 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.12" +version = "0.1.13" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 09e19b99e1f3..06dbc9ad4fb2 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.12" +version = "0.1.13" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 4d87af62c4be8a4746295d7b5686826674b0c791 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Wed, 12 Jul 2017 21:18:44 +0000 Subject: [PATCH 0394/3036] Make guava dependency consistent (guava=20.0, guava-testlib=20.0). (#2233) --- java-core/google-cloud-core-grpc/pom.xml | 1 - java-core/google-cloud-core-http/pom.xml | 1 - java-core/google-cloud-core/pom.xml | 1 - 3 files changed, 3 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0cdf6a2c1c94..cc6ca254ab9a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -67,7 +67,6 @@ com.google.guava guava-testlib - 19.0 test diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 56fb706e9929..ef2d19874f21 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -104,7 +104,6 @@ com.google.guava guava-testlib - 19.0 test diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1f36f022de94..a5803199b7b7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -74,7 +74,6 @@ com.google.guava guava-testlib - 19.0 test From 2c11b848413e294ea01c217800a5e93faab8e1b9 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Sat, 15 Jul 2017 12:33:18 +1000 Subject: [PATCH 0395/3036] cache library version (#2238) so we don't need to read environment properties every call. Fixes #2234. This is not the approach proposed in the issue. As implemented in this PR, we will read the property once for every client instantiation, not once ever. Still, this should be fast enough, and we won't need to maintain double-check-locking mechanism. --- .../main/java/com/google/cloud/http/HttpTransportOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 8acd08d8003b..6c096e408397 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -149,6 +149,7 @@ public HttpRequestInitializer getHttpRequestInitializer( final HttpRequestInitializer delegate = scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() ? new HttpCredentialsAdapter(scopedCredentials) : null; + final String xGoogHeader = getXGoogApiClientHeader(serviceOptions.getLibraryVersion()); return new HttpRequestInitializer() { @Override public void initialize(HttpRequest httpRequest) throws IOException { @@ -163,8 +164,7 @@ public void initialize(HttpRequest httpRequest) throws IOException { } HttpHeaders headers = httpRequest.getHeaders(); - headers.set( - "x-goog-api-client", getXGoogApiClientHeader(serviceOptions.getLibraryVersion())); + headers.set("x-goog-api-client", xGoogHeader); } }; } From 022dc185b8f974dd80d8b93ce213e481175f27dd Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 17 Jul 2017 15:27:38 -0700 Subject: [PATCH 0396/3036] Release 0.20.2 (#2244) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cc6ca254ab9a..48fb73a563b9 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.2-SNAPSHOT + 1.2.2 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.2-alpha-SNAPSHOT + 0.20.2-alpha 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 ef2d19874f21..3ec0201315c6 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.2-SNAPSHOT + 1.2.2 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.2-alpha-SNAPSHOT + 0.20.2-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 16157791a402..34183653bf83 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.2.1 + 1.2.2 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.2.1' +compile 'com.google.cloud:google-cloud-core:1.2.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.2" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a5803199b7b7..bad77439885a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.2-SNAPSHOT + 1.2.2 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.2-alpha-SNAPSHOT + 0.20.2-alpha google-cloud-core From af2f961655bb98a83837d2aea1387efe1dce3732 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 17 Jul 2017 15:55:47 -0700 Subject: [PATCH 0397/3036] bump version to 0.20.3-alpha for development (#2245) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 48fb73a563b9..3c99da89c44d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.2 + 1.2.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.2-alpha + 0.20.3-alpha-SNAPSHOT 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 3ec0201315c6..d06f706c5117 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.2 + 1.2.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.2-alpha + 0.20.3-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index bad77439885a..a418d8e8efbb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.2 + 1.2.3-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.2-alpha + 0.20.3-alpha-SNAPSHOT google-cloud-core From 1940dc7b5c4afc77466c006a82cf7cf244691f94 Mon Sep 17 00:00:00 2001 From: Thomas Coffee Date: Wed, 19 Jul 2017 14:36:58 -0700 Subject: [PATCH 0398/3036] Release 0.20.3 (#2261) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3c99da89c44d..f867cc98b8d0 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.3-SNAPSHOT + 1.2.3 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.3-alpha-SNAPSHOT + 0.20.3-alpha 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 d06f706c5117..b2017abc95d2 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.3-SNAPSHOT + 1.2.3 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.3-alpha-SNAPSHOT + 0.20.3-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 34183653bf83..941941010549 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.2.2 + 1.2.3 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.2.2' +compile 'com.google.cloud:google-cloud-core:1.2.3' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.2" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.3" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a418d8e8efbb..96d9ab9232ea 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.3-SNAPSHOT + 1.2.3 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.3-alpha-SNAPSHOT + 0.20.3-alpha google-cloud-core From 934428f96f6cba795c4cab65f772bba3fd5dc84a Mon Sep 17 00:00:00 2001 From: Thomas Coffee Date: Wed, 19 Jul 2017 16:09:02 -0700 Subject: [PATCH 0399/3036] Bump to next snapshot versions (#2262) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f867cc98b8d0..850dc557c2c9 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.3 + 1.2.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.3-alpha + 0.20.4-alpha-SNAPSHOT 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 b2017abc95d2..4d50a773a06f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.3 + 1.2.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.3-alpha + 0.20.4-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 96d9ab9232ea..1939a3c7bd6f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.3 + 1.2.4-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.3-alpha + 0.20.4-alpha-SNAPSHOT google-cloud-core From 5ac1b56275ea84e988de9337798bd133061379a8 Mon Sep 17 00:00:00 2001 From: neozwu Date: Wed, 19 Jul 2017 20:19:24 -0700 Subject: [PATCH 0400/3036] use objenesis 2.6 (#2252) fix #2172 --- java-core/google-cloud-core-grpc/pom.xml | 6 +++++- java-core/google-cloud-core-http/pom.xml | 6 +++++- java-core/google-cloud-core/pom.xml | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 850dc557c2c9..6ffe0d67fd6f 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -35,7 +35,11 @@ org.easymock easymock - 3.4 + test + + + org.objenesis + objenesis test diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 4d50a773a06f..d278363f153d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -92,7 +92,11 @@ org.easymock easymock - 3.4 + test + + + org.objenesis + objenesis test diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1939a3c7bd6f..b16d04a72e55 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -42,7 +42,11 @@ org.easymock easymock - 3.4 + test + + + org.objenesis + objenesis test From 05f58f587d31a83a5668b96e855bc92d08721ee4 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 20 Jul 2017 12:07:28 -0700 Subject: [PATCH 0401/3036] Refactoring to allow multiple transports in GAPIC clients (#2156) --- .../google/cloud/grpc/BaseGrpcServiceException.java | 8 ++++---- .../com/google/cloud/grpc/GrpcTransportOptions.java | 11 ++++------- .../cloud/grpc/BaseGrpcServiceExceptionTest.java | 5 +++-- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java index 77473e208914..6db03e7b0c99 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -18,7 +18,7 @@ import com.google.api.client.http.HttpResponseException; import com.google.api.core.InternalApi; -import com.google.api.gax.grpc.ApiException; +import com.google.api.gax.grpc.GrpcApiException; import com.google.cloud.BaseServiceException; import com.google.common.base.MoreObjects; import java.io.IOException; @@ -64,13 +64,13 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id .build(); } - public BaseGrpcServiceException(ApiException apiException) { + public BaseGrpcServiceException(GrpcApiException apiException) { super(ExceptionData.newBuilder() .setMessage(apiException.getMessage()) .setCause(apiException) .setRetryable(apiException.isRetryable()) - .setCode(apiException.getStatusCode().value()) - .setReason(apiException.getStatusCode().name()) + .setCode(apiException.getStatusCode().getCode().value()) + .setReason(apiException.getStatusCode().getCode().name()) .setLocation(null) .setDebugInfo(null) .build()); diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index 3fa76cdf6e6f..f256be1d9bb6 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -19,15 +19,15 @@ import static com.google.common.base.MoreObjects.firstNonNull; import com.google.api.core.InternalApi; -import com.google.api.gax.core.FixedCredentialsProvider; import com.google.api.gax.core.CredentialsProvider; import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.FixedCredentialsProvider; import com.google.api.gax.core.NoCredentialsProvider; import com.google.api.gax.grpc.ChannelProvider; import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.InstantiatingChannelProvider; -import com.google.api.gax.grpc.UnaryCallSettings; import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.UnaryCallSettings; import com.google.auth.Credentials; import com.google.cloud.NoCredentials; import com.google.cloud.ServiceOptions; @@ -181,8 +181,9 @@ public ExecutorFactory getExecutorFactory() { /** * Returns a builder for API call settings. */ + @Deprecated public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings) { - return UnaryCallSettings.newBuilder().setRetrySettingsBuilder(retrySettings.toBuilder()); + return UnaryCallSettings.newUnaryCallSettingsBuilder().setRetrySettings(retrySettings); } /** @@ -193,10 +194,6 @@ public static ChannelProvider setUpChannelProvider( providerBuilder.setEndpoint(serviceOptions.getHost()) .setClientLibHeader(ServiceOptions.getGoogApiClientLibName(), firstNonNull(serviceOptions.getLibraryVersion(), "")); - Credentials scopedCredentials = serviceOptions.getScopedCredentials(); - if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { - providerBuilder.setCredentialsProvider(FixedCredentialsProvider.create(scopedCredentials)); - } return providerBuilder.build(); } diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java index c7ce99bb3920..ec9b051c0071 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; -import com.google.api.gax.grpc.ApiException; +import com.google.api.gax.grpc.GrpcApiException; import com.google.cloud.BaseServiceException; import com.google.cloud.RetryHelper; import io.grpc.Status.Code; @@ -73,7 +73,8 @@ public void testBaseServiceException() { assertNull(serviceException.getDebugInfo()); Exception cause = new IllegalArgumentException("bad arg"); - ApiException apiException = new ApiException(MESSAGE, cause, Code.INTERNAL, NOT_RETRYABLE); + GrpcApiException apiException = + new GrpcApiException(MESSAGE, cause, Code.INTERNAL, NOT_RETRYABLE); serviceException = new BaseGrpcServiceException(apiException); assertFalse(serviceException.isRetryable()); assertEquals(MESSAGE, serviceException.getMessage()); From 7b513350e7334f3a60c6da7df5db5abaa450fe53 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi Date: Mon, 24 Jul 2017 14:09:35 -0700 Subject: [PATCH 0402/3036] Add ANY Resource name to IAM. (#379) * Add ANY Resource name to IAM. Make OneOf Resource name implement ResourceName interface in java. Regenerate pubsub client (the new Update* methods) * Add missing pubsub proto classes * Update gax dependency (includes the major gax/toolkit refactoring) Java Gax 1.4.1 -> 1.5.0 Java Gax Grpc 0.21.1 -> 0.22.0 * Move longrunning-v1 from google-longrunning-v1 to gapic-google-longrunning-v1 --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- .../google/iam/v1/GetIamPolicyRequest.java | 21 +++++++++++++++++++ .../google/iam/v1/SetIamPolicyRequest.java | 21 +++++++++++++++++++ .../iam/v1/TestIamPermissionsRequest.java | 21 +++++++++++++++++++ 5 files changed, 65 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index bc1c3bee00ca..be29e59e6e7d 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.13" +version = "0.1.14" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 06dbc9ad4fb2..69b46b4a786a 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.13" +version = "0.1.14" sourceCompatibility = 1.7 targetCompatibility = 1.7 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 901dbeff45e3..384eb1e876dc 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 @@ -515,9 +515,30 @@ public final Builder mergeUnknownFields( } + public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { + if (value == null) { + return setResource(""); + } + return setResource(value.toString()); + } + + public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { + java.lang.String str = getResource(); + if (str.isEmpty()) { + return null; + } + return com.google.api.resourcenames.UntypedResourceName.parse(str); + } // @@protoc_insertion_point(builder_scope:google.iam.v1.GetIamPolicyRequest) } + public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { + java.lang.String str = getResource(); + if (str.isEmpty()) { + return null; + } + return com.google.api.resourcenames.UntypedResourceName.parse(str); + } // @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest) private static final com.google.iam.v1.GetIamPolicyRequest DEFAULT_INSTANCE; static { 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 14f88146c03d..465995e2fd99 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 @@ -780,9 +780,30 @@ public final Builder mergeUnknownFields( } + public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { + if (value == null) { + return setResource(""); + } + return setResource(value.toString()); + } + + public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { + java.lang.String str = getResource(); + if (str.isEmpty()) { + return null; + } + return com.google.api.resourcenames.UntypedResourceName.parse(str); + } // @@protoc_insertion_point(builder_scope:google.iam.v1.SetIamPolicyRequest) } + public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { + java.lang.String str = getResource(); + if (str.isEmpty()) { + return null; + } + return com.google.api.resourcenames.UntypedResourceName.parse(str); + } // @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest) private static final com.google.iam.v1.SetIamPolicyRequest DEFAULT_INSTANCE; static { 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 f9296a624208..b5a474f52714 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 @@ -781,9 +781,30 @@ public final Builder mergeUnknownFields( } + public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { + if (value == null) { + return setResource(""); + } + return setResource(value.toString()); + } + + public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { + java.lang.String str = getResource(); + if (str.isEmpty()) { + return null; + } + return com.google.api.resourcenames.UntypedResourceName.parse(str); + } // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsRequest) } + public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { + java.lang.String str = getResource(); + if (str.isEmpty()) { + return null; + } + return com.google.api.resourcenames.UntypedResourceName.parse(str); + } // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest) private static final com.google.iam.v1.TestIamPermissionsRequest DEFAULT_INSTANCE; static { From a2ca26f06abdd32d609826f7fb4ed2478244cfef Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 27 Jul 2017 13:54:21 -0700 Subject: [PATCH 0403/3036] Fixing dependency problems for consumers of google-cloud-java (#2284) * Fixing the problem of maven choosing the wrong auth dependency by adding it explicitly as a dependency in google-cloud-core-grpc. * Adding `` to make sure we're always using the latest version of everything * Updated some versions that were not the latest (which I found from adding requireUpperBoundDeps) * Adding some special pom files which depend on a couple google-cloud-java artifacts to make sure that they don't see failures when using requireUpperBoundDeps. The auth dependency issue for error-reporting in particular doesn't show up inside google-cloud-errorreporting itself, only for a consumer of it. --- java-core/google-cloud-core-grpc/pom.xml | 21 +++++++++++++++++++++ java-core/google-cloud-core-http/pom.xml | 11 +++++++++++ 2 files changed, 32 insertions(+) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6ffe0d67fd6f..6eb9827fd8d2 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -19,6 +19,15 @@ ${project.version} + + io.netty + netty-tcnative-boringssl-static + 2.0.3.Final + + + com.google.auth + google-auth-library-credentials + com.google.cloud google-cloud-core @@ -58,6 +67,18 @@ io.grpc grpc-context + + io.grpc + grpc-netty + + + io.grpc + grpc-stub + + + io.grpc + grpc-auth + com.google.api gax-grpc diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index d278363f153d..ab80b271fb6a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -84,6 +84,17 @@ + + com.google.http-client + google-http-client-jackson2 + compile + + + guava-jdk5 + com.google.guava + + + junit junit From 4355da7f0be1f12cad3b56159a0ee29265d637a5 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Thu, 27 Jul 2017 14:00:57 -0700 Subject: [PATCH 0404/3036] Refresh Java (#382) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index be29e59e6e7d..0958ac711726 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.14" +version = "0.1.15" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 69b46b4a786a..010a12984011 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.14" +version = "0.1.15" sourceCompatibility = 1.7 targetCompatibility = 1.7 From bbc350a91a4bc87b8e506d4b90fd69c409b0f345 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 27 Jul 2017 15:52:25 -0700 Subject: [PATCH 0405/3036] Adding @BetaApi to particular exception constructors (#2286) --- .../java/com/google/cloud/grpc/BaseGrpcServiceException.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java index 6db03e7b0c99..4f50fe330dc6 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -17,6 +17,7 @@ package com.google.cloud.grpc; import com.google.api.client.http.HttpResponseException; +import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; import com.google.api.gax.grpc.GrpcApiException; import com.google.cloud.BaseServiceException; @@ -64,6 +65,7 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id .build(); } + @BetaApi public BaseGrpcServiceException(GrpcApiException apiException) { super(ExceptionData.newBuilder() .setMessage(apiException.getMessage()) From 59e82f62b7106ef733b7f5d3c24702177deeebd6 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 27 Jul 2017 15:30:58 -0700 Subject: [PATCH 0406/3036] Release 1.3.0, 0.21.0-beta, 0.21.0-alpha --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6eb9827fd8d2..d93e9bb5c78a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.2.4-SNAPSHOT + 1.3.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.4-alpha-SNAPSHOT + 0.21.0-alpha 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 ab80b271fb6a..f19b891996e7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.2.4-SNAPSHOT + 1.3.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.4-alpha-SNAPSHOT + 0.21.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 941941010549..e5c94362f0dd 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.2.3 + 1.3.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.2.3' +compile 'com.google.cloud:google-cloud-core:1.3.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.2.3" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.3.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b16d04a72e55..dd929d89f5be 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.2.4-SNAPSHOT + 1.3.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.20.4-alpha-SNAPSHOT + 0.21.0-alpha google-cloud-core From 46e533f361f5ead9bef4314d130671f9bd29aa63 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 27 Jul 2017 20:42:29 -0700 Subject: [PATCH 0407/3036] Bumping to next snapshot versions (#2288) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d93e9bb5c78a..fd8eb1165efc 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.3.0 + 1.3.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.0-alpha + 0.21.1-alpha-SNAPSHOT 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 f19b891996e7..924887b258a7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.3.0 + 1.3.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.0-alpha + 0.21.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index dd929d89f5be..5aae527e72af 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.3.0 + 1.3.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.0-alpha + 0.21.1-alpha-SNAPSHOT google-cloud-core From 2d12dcece56c7542ca96f2f64c6e8bfc6be73bb9 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Mon, 31 Jul 2017 13:21:48 -0700 Subject: [PATCH 0408/3036] Release 0.21.1 (#2293) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index fd8eb1165efc..382d0ae881eb 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.3.1-SNAPSHOT + 1.3.1 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.1-alpha-SNAPSHOT + 0.21.1-alpha 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 924887b258a7..c42d402f5552 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.3.1-SNAPSHOT + 1.3.1 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.1-alpha-SNAPSHOT + 0.21.1-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e5c94362f0dd..dfb87e986b75 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.3.0 + 1.3.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.3.0' +compile 'com.google.cloud:google-cloud-core:1.3.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.3.1" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5aae527e72af..60c0b88418c1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.3.1-SNAPSHOT + 1.3.1 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.1-alpha-SNAPSHOT + 0.21.1-alpha google-cloud-core From dea1c3da874035fd16780f25a1a91d34e263b7ad Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Mon, 31 Jul 2017 14:34:50 -0700 Subject: [PATCH 0409/3036] Bump to SNAPSHOT version (#2294) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 382d0ae881eb..5f14731d7a1c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.3.1 + 1.3.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.1-alpha + 0.21.2-alpha-SNAPSHOT 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 c42d402f5552..7033e2da367d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.3.1 + 1.3.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.1-alpha + 0.21.2-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 60c0b88418c1..6b93314ff2f6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.3.1 + 1.3.2-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.1-alpha + 0.21.2-alpha-SNAPSHOT google-cloud-core From 397d15679e1eda075ff7d3c08dd23de905c279be Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Thu, 10 Aug 2017 17:29:03 -0700 Subject: [PATCH 0410/3036] Fix response code retrying logic for HTTP responses with "Content-Type" other than "application/json". (#2329) --- .../java/com/google/cloud/http/BaseHttpServiceException.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java index ca979c6a7ec9..bc79026185ba 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java @@ -62,6 +62,7 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id } } else { code = ((GoogleJsonResponseException) exception).getStatusCode(); + retryable = BaseServiceException.isRetryable(code, null, idempotent, retryableErrors); } } else { // In cases where an exception is an instance of HttpResponseException but not From 736ed8f2af69d5318a18a9371954f6aa8022ce75 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 21 Aug 2017 14:19:43 -0700 Subject: [PATCH 0411/3036] Release 1.4.0, 0.22.0-beta, 0.22.0-alpha --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5f14731d7a1c..1b122f06b235 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.3.2-SNAPSHOT + 1.4.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.2-alpha-SNAPSHOT + 0.22.0-alpha 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 7033e2da367d..ab9dde9851f7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.3.2-SNAPSHOT + 1.4.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.2-alpha-SNAPSHOT + 0.22.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index dfb87e986b75..6104ee380853 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.3.1 + 1.4.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.3.1' +compile 'com.google.cloud:google-cloud-core:1.4.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.3.1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.4.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6b93314ff2f6..1f835d8d98f4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.3.2-SNAPSHOT + 1.4.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.21.2-alpha-SNAPSHOT + 0.22.0-alpha google-cloud-core From 9162b70a843913c993da2232da6cae2331927231 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 21 Aug 2017 16:05:53 -0700 Subject: [PATCH 0412/3036] Bumping to next snapshot versions (#2366) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1b122f06b235..0241de9ac99b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.4.0 + 1.4.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.22.0-alpha + 0.22.1-alpha-SNAPSHOT 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 ab9dde9851f7..d2e7c3de0afc 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.4.0 + 1.4.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.22.0-alpha + 0.22.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1f835d8d98f4..9b2f86aa50cd 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.4.0 + 1.4.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.22.0-alpha + 0.22.1-alpha-SNAPSHOT google-cloud-core From c9ba23c28fa888e99730da13b6a13233e8362f63 Mon Sep 17 00:00:00 2001 From: neozwu Date: Tue, 22 Aug 2017 11:57:37 -0700 Subject: [PATCH 0413/3036] fetch project id on app engine platforms (#2304) * fetch project id on app engine platforms * resolve dependency conflict * reorder the sequence of fetching projectId * use appId to infer projectId for GAE J7 * remove appengine API reflection --- java-core/google-cloud-core/pom.xml | 16 ++++ .../java/com/google/cloud/ServiceOptions.java | 73 +++++++++++++------ 2 files changed, 66 insertions(+), 23 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9b2f86aa50cd..b7c826ba3ccd 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -39,6 +39,22 @@ 20160810 compile + + com.google.http-client + google-http-client + + + com.google.code.findbugs + jsr305 + + + + + + com.google.code.findbugs + jsr305 + 3.0.0 + org.easymock easymock diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 7200ea3dd2ab..37fb4f424234 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -20,6 +20,13 @@ import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.client.http.GenericUrl; +import com.google.api.client.http.HttpHeaders; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestFactory; +import com.google.api.client.http.HttpResponse; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.javanet.NetHttpTransport; import com.google.api.core.ApiClock; import com.google.api.core.CurrentMillisClock; import com.google.api.core.InternalApi; @@ -39,7 +46,6 @@ import java.io.InputStream; import java.io.ObjectInputStream; import java.io.Serializable; -import java.lang.reflect.Method; import java.nio.charset.Charset; import java.util.Locale; import java.util.Objects; @@ -381,30 +387,51 @@ private static boolean isWindows() { } protected static String getAppEngineProjectId() { - try { - Class factoryClass = - Class.forName("com.google.appengine.api.appidentity.AppIdentityServiceFactory"); - Class serviceClass = - Class.forName("com.google.appengine.api.appidentity.AppIdentityService"); - Method method = factoryClass.getMethod("getAppIdentityService"); - Object appIdentityService = method.invoke(null); - method = serviceClass.getMethod("getServiceAccountName"); - String serviceAccountName = (String) method.invoke(appIdentityService); - int indexOfAtSign = serviceAccountName.indexOf('@'); - return serviceAccountName.substring(0, indexOfAtSign); - } catch (ClassNotFoundException exception) { - if (System.getProperty("com.google.appengine.runtime.version") != null) { - // Could not resolve appengine classes under GAE environment. - throw new RuntimeException("Google App Engine runtime detected " - + "(the environment variable \"com.google.appengine.runtime.version\" is set), " - + "but unable to resolve appengine-sdk classes. " - + "For more details see " - + "https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/APPENGINE.md"); + String projectId = null; + if (PlatformInformation.isOnGAEStandard7()) { + projectId = getAppEngineProjectIdFromAppId(); + } else { + //for GAE flex and standard Java 8 environment + projectId = System.getenv("GOOGLE_CLOUD_PROJECT"); + if (projectId == null) { + projectId = System.getenv("GCLOUD_PROJECT"); + } + if (projectId == null) { + projectId = getAppEngineProjectIdFromAppId(); + } + if (projectId == null) { + try { + projectId = getAppEngineProjectIdFromMetadataServer(); + } catch (IOException ignore) { + projectId = null; + } } - return null; - } catch (Exception ignore) { - return null; } + return projectId; + } + + protected static String getAppEngineProjectIdFromAppId() { + String projectId = getAppEngineAppId(); + if (projectId != null && projectId.contains(":")) { + int colonIndex = projectId.indexOf(":"); + projectId = projectId.substring(colonIndex + 1); + } + return projectId; + } + + private static String getAppEngineProjectIdFromMetadataServer() throws IOException { + String metadata = "http://metadata.google.internal"; + String projectIdURL = "/computeMetadata/v1/project/project-id"; + GenericUrl url = new GenericUrl(metadata + projectIdURL); + + HttpTransport netHttpTransport = new NetHttpTransport(); + HttpRequestFactory requestFactory = netHttpTransport.createRequestFactory(); + HttpRequest request = requestFactory.buildGetRequest(url) + .setConnectTimeout(500) + .setReadTimeout(500) + .setHeaders(new HttpHeaders().set("Metadata-Flavor", "Google")); + HttpResponse response = request.execute(); + return response.parseAsString(); } protected static String getServiceAccountProjectId() { From 13233b2fec465a8a14c1ae983036ea2af14d6928 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Mon, 11 Sep 2017 12:51:23 -0700 Subject: [PATCH 0414/3036] Update to GAX 1.7.0 and 0.24.0 (#2420) --- .../com/google/cloud/grpc/BaseGrpcServiceException.java | 9 +++++---- .../google/cloud/grpc/BaseGrpcServiceExceptionTest.java | 8 +++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java index 4f50fe330dc6..50d917619634 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -19,7 +19,8 @@ import com.google.api.client.http.HttpResponseException; import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; -import com.google.api.gax.grpc.GrpcApiException; +import com.google.api.gax.grpc.GrpcStatusCode; +import com.google.api.gax.rpc.ApiException; import com.google.cloud.BaseServiceException; import com.google.common.base.MoreObjects; import java.io.IOException; @@ -66,13 +67,13 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id } @BetaApi - public BaseGrpcServiceException(GrpcApiException apiException) { + public BaseGrpcServiceException(ApiException apiException) { super(ExceptionData.newBuilder() .setMessage(apiException.getMessage()) .setCause(apiException) .setRetryable(apiException.isRetryable()) - .setCode(apiException.getStatusCode().getCode().value()) - .setReason(apiException.getStatusCode().getCode().name()) + .setCode(((GrpcStatusCode) apiException.getStatusCode()).getCode().value()) + .setReason(((GrpcStatusCode) apiException.getStatusCode()).getCode().name()) .setLocation(null) .setDebugInfo(null) .build()); diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java index ec9b051c0071..e35a3a620878 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java @@ -25,7 +25,9 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; -import com.google.api.gax.grpc.GrpcApiException; +import com.google.api.gax.grpc.GrpcStatusCode; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.InternalException; import com.google.cloud.BaseServiceException; import com.google.cloud.RetryHelper; import io.grpc.Status.Code; @@ -73,8 +75,8 @@ public void testBaseServiceException() { assertNull(serviceException.getDebugInfo()); Exception cause = new IllegalArgumentException("bad arg"); - GrpcApiException apiException = - new GrpcApiException(MESSAGE, cause, Code.INTERNAL, NOT_RETRYABLE); + InternalException apiException = + new InternalException(MESSAGE, cause, GrpcStatusCode.of(Code.INTERNAL), NOT_RETRYABLE); serviceException = new BaseGrpcServiceException(apiException); assertFalse(serviceException.isRetryable()); assertEquals(MESSAGE, serviceException.getMessage()); From f1bc9341e892605af404671202d93d694031a0f6 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Mon, 11 Sep 2017 14:32:36 -0700 Subject: [PATCH 0415/3036] Sync java clients with latest protos and toolchain (#407) * Sync java clients with latest protos and toolchain - Except Logging v2 since it requires some manual effort of supporting the new `exclusion` methods. * update proto version * update proto version to 0.1.17 --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- .../com/google/iam/v1/logging/AuditData.java | 619 ++++++++++++++++++ .../iam/v1/logging/AuditDataOrBuilder.java | 34 + .../google/iam/v1/logging/AuditDataProto.java | 66 ++ .../google/iam/v1/logging/audit_data.proto | 35 + 6 files changed, 756 insertions(+), 2 deletions(-) create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java create mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 0958ac711726..9370fe6f0a4d 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.15" +version = "0.1.17" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 010a12984011..4182bc76953f 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.15" +version = "0.1.17" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java new file mode 100644 index 000000000000..12e98ab1e668 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java @@ -0,0 +1,619 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/logging/audit_data.proto + +package com.google.iam.v1.logging; + +/** + *
    + * Audit log information specific to Cloud IAM. This message is serialized
    + * as an `Any` type in the `ServiceData` message of an
    + * `AuditLog` message.
    + * 
    + * + * Protobuf type {@code google.iam.v1.logging.AuditData} + */ +public final class AuditData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.logging.AuditData) + AuditDataOrBuilder { + // Use AuditData.newBuilder() to construct. + private AuditData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AuditData() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + } + private AuditData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!input.skipField(tag)) { + done = true; + } + break; + } + case 18: { + com.google.iam.v1.PolicyDelta.Builder subBuilder = null; + if (policyDelta_ != null) { + subBuilder = policyDelta_.toBuilder(); + } + policyDelta_ = input.readMessage(com.google.iam.v1.PolicyDelta.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policyDelta_); + policyDelta_ = subBuilder.buildPartial(); + } + + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.logging.AuditData.class, com.google.iam.v1.logging.AuditData.Builder.class); + } + + public static final int POLICY_DELTA_FIELD_NUMBER = 2; + private com.google.iam.v1.PolicyDelta policyDelta_; + /** + *
    +   * Policy delta between the original policy and the newly set policy.
    +   * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public boolean hasPolicyDelta() { + return policyDelta_ != null; + } + /** + *
    +   * Policy delta between the original policy and the newly set policy.
    +   * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public com.google.iam.v1.PolicyDelta getPolicyDelta() { + return policyDelta_ == null ? com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; + } + /** + *
    +   * Policy delta between the original policy and the newly set policy.
    +   * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { + return getPolicyDelta(); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (policyDelta_ != null) { + output.writeMessage(2, getPolicyDelta()); + } + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (policyDelta_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPolicyDelta()); + } + memoizedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.logging.AuditData)) { + return super.equals(obj); + } + com.google.iam.v1.logging.AuditData other = (com.google.iam.v1.logging.AuditData) obj; + + boolean result = true; + result = result && (hasPolicyDelta() == other.hasPolicyDelta()); + if (hasPolicyDelta()) { + result = result && getPolicyDelta() + .equals(other.getPolicyDelta()); + } + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPolicyDelta()) { + hash = (37 * hash) + POLICY_DELTA_FIELD_NUMBER; + hash = (53 * hash) + getPolicyDelta().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.logging.AuditData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.logging.AuditData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.logging.AuditData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.logging.AuditData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.logging.AuditData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.iam.v1.logging.AuditData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.iam.v1.logging.AuditData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.logging.AuditData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.logging.AuditData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.iam.v1.logging.AuditData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.iam.v1.logging.AuditData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.iam.v1.logging.AuditData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.iam.v1.logging.AuditData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Audit log information specific to Cloud IAM. This message is serialized
    +   * as an `Any` type in the `ServiceData` message of an
    +   * `AuditLog` message.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.logging.AuditData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.logging.AuditData) + com.google.iam.v1.logging.AuditDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.logging.AuditData.class, com.google.iam.v1.logging.AuditData.Builder.class); + } + + // Construct using com.google.iam.v1.logging.AuditData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + if (policyDeltaBuilder_ == null) { + policyDelta_ = null; + } else { + policyDelta_ = null; + policyDeltaBuilder_ = null; + } + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor; + } + + public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() { + return com.google.iam.v1.logging.AuditData.getDefaultInstance(); + } + + public com.google.iam.v1.logging.AuditData build() { + com.google.iam.v1.logging.AuditData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.google.iam.v1.logging.AuditData buildPartial() { + com.google.iam.v1.logging.AuditData result = new com.google.iam.v1.logging.AuditData(this); + if (policyDeltaBuilder_ == null) { + result.policyDelta_ = policyDelta_; + } else { + result.policyDelta_ = policyDeltaBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.logging.AuditData) { + return mergeFrom((com.google.iam.v1.logging.AuditData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.logging.AuditData other) { + if (other == com.google.iam.v1.logging.AuditData.getDefaultInstance()) return this; + if (other.hasPolicyDelta()) { + mergePolicyDelta(other.getPolicyDelta()); + } + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.logging.AuditData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.logging.AuditData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.iam.v1.PolicyDelta policyDelta_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.PolicyDelta, com.google.iam.v1.PolicyDelta.Builder, com.google.iam.v1.PolicyDeltaOrBuilder> policyDeltaBuilder_; + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public boolean hasPolicyDelta() { + return policyDeltaBuilder_ != null || policyDelta_ != null; + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public com.google.iam.v1.PolicyDelta getPolicyDelta() { + if (policyDeltaBuilder_ == null) { + return policyDelta_ == null ? com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; + } else { + return policyDeltaBuilder_.getMessage(); + } + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public Builder setPolicyDelta(com.google.iam.v1.PolicyDelta value) { + if (policyDeltaBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policyDelta_ = value; + onChanged(); + } else { + policyDeltaBuilder_.setMessage(value); + } + + return this; + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public Builder setPolicyDelta( + com.google.iam.v1.PolicyDelta.Builder builderForValue) { + if (policyDeltaBuilder_ == null) { + policyDelta_ = builderForValue.build(); + onChanged(); + } else { + policyDeltaBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public Builder mergePolicyDelta(com.google.iam.v1.PolicyDelta value) { + if (policyDeltaBuilder_ == null) { + if (policyDelta_ != null) { + policyDelta_ = + com.google.iam.v1.PolicyDelta.newBuilder(policyDelta_).mergeFrom(value).buildPartial(); + } else { + policyDelta_ = value; + } + onChanged(); + } else { + policyDeltaBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public Builder clearPolicyDelta() { + if (policyDeltaBuilder_ == null) { + policyDelta_ = null; + onChanged(); + } else { + policyDelta_ = null; + policyDeltaBuilder_ = null; + } + + return this; + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public com.google.iam.v1.PolicyDelta.Builder getPolicyDeltaBuilder() { + + onChanged(); + return getPolicyDeltaFieldBuilder().getBuilder(); + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { + if (policyDeltaBuilder_ != null) { + return policyDeltaBuilder_.getMessageOrBuilder(); + } else { + return policyDelta_ == null ? + com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; + } + } + /** + *
    +     * Policy delta between the original policy and the newly set policy.
    +     * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.PolicyDelta, com.google.iam.v1.PolicyDelta.Builder, com.google.iam.v1.PolicyDeltaOrBuilder> + getPolicyDeltaFieldBuilder() { + if (policyDeltaBuilder_ == null) { + policyDeltaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.PolicyDelta, com.google.iam.v1.PolicyDelta.Builder, com.google.iam.v1.PolicyDeltaOrBuilder>( + getPolicyDelta(), + getParentForChildren(), + isClean()); + policyDelta_ = null; + } + return policyDeltaBuilder_; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return this; + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.logging.AuditData) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.logging.AuditData) + private static final com.google.iam.v1.logging.AuditData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.iam.v1.logging.AuditData(); + } + + public static com.google.iam.v1.logging.AuditData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public AuditData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java new file mode 100644 index 000000000000..e942cdbbd7f2 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java @@ -0,0 +1,34 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/logging/audit_data.proto + +package com.google.iam.v1.logging; + +public interface AuditDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.logging.AuditData) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * Policy delta between the original policy and the newly set policy.
    +   * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + boolean hasPolicyDelta(); + /** + *
    +   * Policy delta between the original policy and the newly set policy.
    +   * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + com.google.iam.v1.PolicyDelta getPolicyDelta(); + /** + *
    +   * Policy delta between the original policy and the newly set policy.
    +   * 
    + * + * .google.iam.v1.PolicyDelta policy_delta = 2; + */ + com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder(); +} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java new file mode 100644 index 000000000000..cdc1bd880393 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java @@ -0,0 +1,66 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/logging/audit_data.proto + +package com.google.iam.v1.logging; + +public final class AuditDataProto { + private AuditDataProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_logging_AuditData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/iam/v1/logging/audit_data.proto" + + "\022\025google.iam.v1.logging\032\034google/api/anno" + + "tations.proto\032\032google/iam/v1/policy.prot" + + "o\"=\n\tAuditData\0220\n\014policy_delta\030\002 \001(\0132\032.g" + + "oogle.iam.v1.PolicyDeltaB\211\001\n\031com.google." + + "iam.v1.loggingB\016AuditDataProtoP\001Z Date: Mon, 11 Sep 2017 16:55:38 -0700 Subject: [PATCH 0416/3036] Bump up versions for release (#2430) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0241de9ac99b..3ce018d2cb79 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.4.1-SNAPSHOT + 1.5.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.22.1-alpha-SNAPSHOT + 0.23.0-alpha 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 d2e7c3de0afc..7fe73fd8f862 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.4.1-SNAPSHOT + 1.5.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.22.1-alpha-SNAPSHOT + 0.23.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 6104ee380853..f2a7ff65112e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.4.0 + 1.5.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.4.0' +compile 'com.google.cloud:google-cloud-core:1.5.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.5.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b7c826ba3ccd..dd1d61c717ab 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.4.1-SNAPSHOT + 1.5.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.22.1-alpha-SNAPSHOT + 0.23.0-alpha google-cloud-core From 17b27a276f2134e73a58bf05ad8671f6644cf8d5 Mon Sep 17 00:00:00 2001 From: Shin Fan Date: Tue, 12 Sep 2017 10:07:17 -0700 Subject: [PATCH 0417/3036] Bump tp SNAPSHOT version (#2431) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3ce018d2cb79..80c2375a8d0f 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.5.0 + 1.5.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.0-alpha + 0.23.1-alpha-SNAPSHOT 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 7fe73fd8f862..8ce718f04138 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.5.0 + 1.5.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.0-alpha + 0.23.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index dd1d61c717ab..6a540929f137 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.5.0 + 1.5.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.0-alpha + 0.23.1-alpha-SNAPSHOT google-cloud-core From 8375964dc173dbe9cef4d76af155cb72d1fea543 Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Tue, 12 Sep 2017 22:34:13 -0700 Subject: [PATCH 0418/3036] Update Java proto packages (#409) --- java-iam/grpc-google-iam-v1/build.gradle | 6 +++--- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 9370fe6f0a4d..c40305bf5f40 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.17" +version = "0.1.18" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -20,8 +20,8 @@ repositories { } dependencies { - compile "io.grpc:grpc-stub:1.4.0" - compile "io.grpc:grpc-protobuf:1.4.0" + compile "io.grpc:grpc-stub:1.6.1" + compile "io.grpc:grpc-protobuf:1.6.1" compile project(":proto-google-iam-v1") } diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 4182bc76953f..d1e318e82e24 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.17" +version = "0.1.18" sourceCompatibility = 1.7 targetCompatibility = 1.7 From b6d4a843920aa7469af16d998252b0a2e2b39c7c Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Wed, 13 Sep 2017 08:15:43 -0700 Subject: [PATCH 0419/3036] Bump versions for release (#2436) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 80c2375a8d0f..19da73dad4dd 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.5.1-SNAPSHOT + 1.5.1 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.1-alpha-SNAPSHOT + 0.23.1-alpha 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 8ce718f04138..829c2571644b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.5.1-SNAPSHOT + 1.5.1 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.1-alpha-SNAPSHOT + 0.23.1-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f2a7ff65112e..38b6cc94b81a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.5.0 + 1.5.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.5.0' +compile 'com.google.cloud:google-cloud-core:1.5.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.5.1" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6a540929f137..f328da359349 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.5.1-SNAPSHOT + 1.5.1 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.1-alpha-SNAPSHOT + 0.23.1-alpha google-cloud-core From e4b022ebbfbd281a66fd52b850ffedade827b055 Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Wed, 13 Sep 2017 09:59:38 -0700 Subject: [PATCH 0420/3036] Bump to snapshot version (#2437) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 19da73dad4dd..47cc1729e202 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.5.1 + 1.5.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.1-alpha + 0.23.2-alpha-SNAPSHOT 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 829c2571644b..c7ee4766282b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.5.1 + 1.5.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.1-alpha + 0.23.2-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f328da359349..51360db7ba3c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.5.1 + 1.5.2-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.1-alpha + 0.23.2-alpha-SNAPSHOT google-cloud-core From 901dda5034a54c87a005d3333d3fc65168cd6acd Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 18 Sep 2017 10:09:26 -0700 Subject: [PATCH 0421/3036] refresh proto/grpc to 0.1.19 (#411) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index c40305bf5f40..41489f1b6711 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.18" +version = "0.1.19" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index d1e318e82e24..33d0486292d8 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.18" +version = "0.1.19" sourceCompatibility = 1.7 targetCompatibility = 1.7 From cde23e6712bcd11653511bef0e26e0848b3a6133 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 18 Sep 2017 15:26:34 -0700 Subject: [PATCH 0422/3036] bump versions for release (#2449) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 47cc1729e202..0dda491579b0 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.5.2-SNAPSHOT + 1.6.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.2-alpha-SNAPSHOT + 0.24.0-alpha 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 c7ee4766282b..eb02d56a9547 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.5.2-SNAPSHOT + 1.6.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.2-alpha-SNAPSHOT + 0.24.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 38b6cc94b81a..6c8ca9b43c91 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.5.1 + 1.6.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.5.1' +compile 'com.google.cloud:google-cloud-core:1.6.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.5.1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.6.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 51360db7ba3c..068137a69d5b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.5.2-SNAPSHOT + 1.6.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.23.2-alpha-SNAPSHOT + 0.24.0-alpha google-cloud-core From 5b498c49966951dfa3faed18ae4de0496e5a77e9 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 18 Sep 2017 16:18:01 -0700 Subject: [PATCH 0423/3036] bump versions for development (#2450) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0dda491579b0..486c61e5eda1 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.6.0 + 1.6.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.24.0-alpha + 0.24.1-alpha-SNAPSHOT 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 eb02d56a9547..5570e7b1cb7d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.6.0 + 1.6.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.24.0-alpha + 0.24.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 068137a69d5b..afa3c415b218 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.6.0 + 1.6.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.24.0-alpha + 0.24.1-alpha-SNAPSHOT google-cloud-core From f02a0d73c74531aba96603c13249bf1617f55e02 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Thu, 28 Sep 2017 10:58:37 -0700 Subject: [PATCH 0424/3036] Java Billing proto update (#416) billing.proto was updated in googleapis in [this commit](https://github.com/googleapis/googleapis/commit/9f5a5eca1e482b8cc4f534e7c2e4ff27634cc6ee) and the proto and grpc libraries need to be updated. The version numbers are bumped to 0.1.20 accordingly. --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 41489f1b6711..4e99e7c67a57 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.19" +version = "0.1.20" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 33d0486292d8..6f5fa0aefa18 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.19" +version = "0.1.20" sourceCompatibility = 1.7 targetCompatibility = 1.7 From cf2d547056ffc2eb7a0733b11a99f12030df47fc Mon Sep 17 00:00:00 2001 From: Neo Wu Date: Mon, 2 Oct 2017 19:33:20 -0700 Subject: [PATCH 0425/3036] Release 0.25.0 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 486c61e5eda1..b4ed90f0bf35 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.6.1-SNAPSHOT + 1.7.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.24.1-alpha-SNAPSHOT + 0.25.0-alpha 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 5570e7b1cb7d..9191fe161b2c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.6.1-SNAPSHOT + 1.7.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.24.1-alpha-SNAPSHOT + 0.25.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 6c8ca9b43c91..f1b74a71cc73 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.6.0 + 1.7.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.6.0' +compile 'com.google.cloud:google-cloud-core:1.7.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.7.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index afa3c415b218..1230866d9937 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.6.1-SNAPSHOT + 1.7.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.24.1-alpha-SNAPSHOT + 0.25.0-alpha google-cloud-core From 0dc35bd9b4b13364f063a117aff6da785638b994 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 2 Oct 2017 22:12:16 -0700 Subject: [PATCH 0426/3036] bump version for development (#2474) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b4ed90f0bf35..dac715305392 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.7.0 + 1.7.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.25.0-alpha + 0.25.1-alpha-SNAPSHOT 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 9191fe161b2c..9f63c79b5726 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.7.0 + 1.7.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.25.0-alpha + 0.25.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1230866d9937..5646d46f74bd 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.7.0 + 1.7.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.25.0-alpha + 0.25.1-alpha-SNAPSHOT google-cloud-core From c61a8606269aff33dc4b4816377d050bf84a10a8 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 3 Oct 2017 14:59:54 -0700 Subject: [PATCH 0427/3036] Implement missing features and fix found bugs for BigQuery Client Library (#2446) 0) Access query results row cells by name. Now `row.get(1)` and `get("firstColumnName")` are supported (currently supported only for results returned by `BigQuery.query()` and not supported by results returned `BigQuery.listTableData()` because there is no schema and it would require additional request to the server to get schema (but still can be added in the future easily with cost of an extra network call)). Same syntax is supported for record-type fields (i.e. nested fields can be accessed by name too). 1) Refactor `BigQuery.query()` to use `jobs.insert/jobs.getQueryResults` combination instead of `jobs.query`. `QueryRequest` class was removed, now `query()` method directly accepts `QueryJobConfiguration` instead. The remaining properties of removed `QueryRequest` class now are passed in a form of `QueryOption` vararg argument. `QueryOption` combines query and waiting options (waiting options are necessary because query() is now waiting for query to complete). 2) Make `BigQuery.query()` call synchronous (waits for query completion before return result), with jittered exponential backoff for polling (based on `gax.retrying` package) 3) Add client side job id generation (`JobId.of()`) 4) Replace `WaitForOption` with `RetryOption` (based on `RetrySettings` and is consistent with the rest of the codebase). This affected compute and spanner clients too. 5) Rewrite `Job.wait()` to use jittered exponentiall backoff polling (based on`gax.retrying` package). Polling is performed differently depending on the type of job: for query jobs on each poll `getQueryResults()` is called, for all other job types `getJob()` is used instead. 6) Use standard SQL as default for all queries 7) Fix wrong query results iteration samples code used all over the place in documentation. 8) Various smaller changes/refactorings --- java-core/google-cloud-core-grpc/pom.xml | 1 - java-core/google-cloud-core-http/pom.xml | 1 - java-core/google-cloud-core/pom.xml | 1 - .../google/cloud/BaseServiceException.java | 8 + .../java/com/google/cloud/RetryHelper.java | 34 ++- .../java/com/google/cloud/RetryOption.java | 150 ++++++++++++ .../java/com/google/cloud/WaitForOption.java | 230 ------------------ .../com/google/cloud/RetryOptionTest.java | 135 ++++++++++ .../com/google/cloud/SerializationTest.java | 6 +- .../com/google/cloud/WaitForOptionTest.java | 118 --------- 10 files changed, 321 insertions(+), 363 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java delete mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index dac715305392..d3c1aee690c0 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -86,7 +86,6 @@ com.google.truth truth - 0.30 test diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 9f63c79b5726..71446ffad7c4 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -113,7 +113,6 @@ com.google.truth truth - 0.30 test diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5646d46f74bd..f89bb1e00266 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -88,7 +88,6 @@ com.google.truth truth - 0.30 test diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index d9608991d0a2..10625dd1c0c5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -25,6 +25,7 @@ import java.security.cert.CertificateException; import java.util.Objects; import java.util.Set; +import java.util.concurrent.ExecutionException; import javax.net.ssl.SSLHandshakeException; /** @@ -253,6 +254,13 @@ public static void translate(RetryHelper.RetryHelperException ex) { } } + @InternalApi + public static void translate(ExecutionException ex) { + if (ex.getCause() instanceof BaseServiceException) { + throw (BaseServiceException) ex.getCause(); + } + } + @InternalApi("This class should only be extended within google-cloud-java") protected BaseServiceException(ExceptionData exceptionData) { super(exceptionData.getMessage(), exceptionData.getCause()); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index edeeed5e84ed..34505f6d7ca5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiClock; import com.google.api.core.BetaApi; +import com.google.api.gax.retrying.ExponentialPollAlgorithm; import com.google.api.gax.retrying.ResultRetryAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -26,12 +27,13 @@ import com.google.api.gax.retrying.RetryAlgorithm; import com.google.api.gax.retrying.RetryingExecutor; import com.google.api.gax.retrying.RetryingFuture; +import com.google.api.gax.retrying.TimedRetryAlgorithm; import java.util.concurrent.Callable; +import java.util.concurrent.ExecutionException; /** * Utility class for retrying operations. For more details about the parameters, see {@link - * RetrySettings}. In case if retrying is unsuccessful, {@link RetryHelperException} will be - * thrown. + * RetrySettings}. In case if retrying is unsuccessful, {@link RetryHelperException} will be thrown. */ @BetaApi public class RetryHelper { @@ -45,18 +47,32 @@ public static V runWithRetries( // Suppressing should be ok as a workaraund. Current and only ResultRetryAlgorithm // implementation does not use response at all, so ignoring its type is ok. @SuppressWarnings("unchecked") - RetryAlgorithm retryAlgorithm = - new RetryAlgorithm<>((ResultRetryAlgorithm) resultRetryAlgorithm, - new ExponentialRetryAlgorithm(retrySettings, clock)); + ResultRetryAlgorithm algorithm = (ResultRetryAlgorithm) resultRetryAlgorithm; + return run(callable, new ExponentialRetryAlgorithm(retrySettings, clock), algorithm); + } catch (Exception e) { + //TODO: remove RetryHelperException, throw InterruptedException or ExecutionException#getCause() explicitly + throw new RetryHelperException(e.getCause()); + } + } + + public static V poll( + Callable callable, + RetrySettings pollSettings, + ResultRetryAlgorithm resultPollAlgorithm, + ApiClock clock) throws ExecutionException, InterruptedException { + return run(callable, new ExponentialPollAlgorithm(pollSettings, clock), resultPollAlgorithm); + } + + private static V run( + Callable callable, + TimedRetryAlgorithm timedAlgorithm, + ResultRetryAlgorithm resultAlgorithm) throws ExecutionException, InterruptedException { + RetryAlgorithm retryAlgorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); RetryingExecutor executor = new DirectRetryingExecutor<>(retryAlgorithm); RetryingFuture retryingFuture = executor.createFuture(callable); executor.submit(retryingFuture); - return retryingFuture.get(); - } catch (Exception e) { - throw new RetryHelperException(e.getCause()); - } } public static class RetryHelperException extends RuntimeException { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java new file mode 100644 index 000000000000..09bfa4b5def9 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java @@ -0,0 +1,150 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.api.core.BetaApi; +import java.io.Serializable; +import org.threeten.bp.Duration; +import com.google.api.gax.retrying.RetrySettings; + +/** + * This class represents an options wrapper around the {@link RetrySettings} class and is an + * alternative way of initializing it. The retry options are usually provided in a form of varargs + * for methods that wait for changes in the status of a resource, do poll operations or retry on + * failures. + */ +@BetaApi +public class RetryOption implements Serializable { + + private static final long serialVersionUID = 3622837212525370224L; + + private enum OptionType { + TOTAL_TIMEOUT, + INITIAL_RETRY_DELAY, + RETRY_DELAY_MULTIPLIER, + MAX_RETRY_DELAY, + MAX_ATTEMPTS, + JITTERED + } + + private final OptionType type; + private final Object value; + + private RetryOption(OptionType type, Object value) { + this.type = checkNotNull(type); + this.value = checkNotNull(value); + } + + /** See {@link RetrySettings#getTotalTimeout()}. */ + public static RetryOption totalTimeout(Duration totalTimeout) { + return new RetryOption(OptionType.TOTAL_TIMEOUT, totalTimeout); + } + + /** See {@link RetrySettings#getInitialRetryDelay()}. */ + public static RetryOption initialRetryDelay(Duration initialRetryDelay) { + return new RetryOption(OptionType.INITIAL_RETRY_DELAY, initialRetryDelay); + } + + /** See {@link RetrySettings#getRetryDelayMultiplier()}. */ + public static RetryOption retryDelayMultiplier(double retryDelayMultiplier) { + return new RetryOption(OptionType.RETRY_DELAY_MULTIPLIER, retryDelayMultiplier); + } + + /** See {@link RetrySettings#getMaxRetryDelay()}. */ + public static RetryOption maxRetryDelay(Duration maxRetryDelay) { + return new RetryOption(OptionType.MAX_RETRY_DELAY, maxRetryDelay); + } + + /** See {@link RetrySettings#getMaxAttempts()}. */ + public static RetryOption maxAttempts(int maxAttempts) { + return new RetryOption(OptionType.MAX_ATTEMPTS, maxAttempts); + } + + /** See {@link RetrySettings#isJittered()} ()}. */ + public static RetryOption jittered(boolean jittered) { + return new RetryOption(OptionType.JITTERED, jittered); + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + + RetryOption that = (RetryOption) o; + + if (type != that.type) { + return false; + } + return value.equals(that.value); + } + + @Override + public int hashCode() { + int result = type.hashCode(); + result = 31 * result + value.hashCode(); + return result; + } + + /** + * Creates a new {@code RetrySettings} instance, merging provided settings and multiple {@code + * RetryOptions}, each of which represents a single property in {@code RetrySettings}. It is an + * alternative way of initializing {@link RetrySettings} instances. + * + * @param settings retry settings + * @param options zero or more Retry + * @return new {@code RetrySettings} instance, which is a result of merging {@code options} into + * {@code settings}, i.e. each element in {@code options}, if present, overrides corresponding + * property in {@code settings} + */ + public static RetrySettings mergeToSettings(RetrySettings settings, RetryOption... options) { + if (options.length <= 0) { + return settings; + } + RetrySettings.Builder builder = settings.toBuilder(); + for (RetryOption option : options) { + switch (option.type) { + case TOTAL_TIMEOUT: + builder.setTotalTimeout((Duration) option.value); + break; + case INITIAL_RETRY_DELAY: + builder.setInitialRetryDelay((Duration) option.value); + break; + case RETRY_DELAY_MULTIPLIER: + builder.setRetryDelayMultiplier((Double) option.value); + break; + case MAX_RETRY_DELAY: + builder.setMaxRetryDelay((Duration) option.value); + break; + case MAX_ATTEMPTS: + builder.setMaxAttempts((Integer) option.value); + break; + case JITTERED: + builder.setJittered((Boolean) option.value); + break; + default: + throw new IllegalArgumentException("Unknown option type: " + option.type); + } + } + return builder.build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java deleted file mode 100644 index a03b0642596a..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WaitForOption.java +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static com.google.common.base.Preconditions.checkArgument; - -import com.google.api.core.BetaApi; -import com.google.common.base.MoreObjects; - -import java.io.Serializable; -import java.util.Objects; -import java.util.concurrent.TimeUnit; - -/** - * This class represents options for methods that wait for changes in the status of a resource. - */ -@BetaApi -public abstract class WaitForOption implements Serializable { - - private static final long serialVersionUID = 8443451708032349243L; - - private final OptionType optionType; - - enum OptionType { - CHECKING_PERIOD, - TIMEOUT - } - - private WaitForOption(OptionType optionType) { - this.optionType = optionType; - } - - /** - * This class represents an option to set how frequently the resource status should be checked. - * Objects of this class keep the actual period and related time unit for the checking period. - */ - public static final class CheckingPeriod extends WaitForOption { - - private static final long serialVersionUID = -2481062893220539210L; - private static final CheckingPeriod DEFAULT = new CheckingPeriod(500, TimeUnit.MILLISECONDS); - - private final long period; - private final TimeUnit unit; - - private CheckingPeriod(long period, TimeUnit unit) { - super(OptionType.CHECKING_PERIOD); - this.period = period; - this.unit = unit; - } - - - /** - * Returns the checking period. - */ - public long getPeriod() { - return period; - } - - - /** - * Returns the time unit for {@link #getPeriod()}. - */ - public TimeUnit getUnit() { - return unit; - } - - /** - * Blocks the current thread for the amount of time specified by this object. - * - * @throws InterruptedException if the current thread was interrupted - */ - public void sleep() throws InterruptedException { - unit.sleep(period); - } - - @Override - public boolean equals(Object obj) { - if (obj == this) { - return true; - } - if (obj == null || !(obj instanceof CheckingPeriod)) { - return false; - } - CheckingPeriod other = (CheckingPeriod) obj; - return baseEquals(other) - && Objects.equals(period, other.period) - && Objects.equals(unit, other.unit); - } - - @Override - public int hashCode() { - return Objects.hash(baseHashCode(), period, unit); - } - - @Override - public String toString() { - return MoreObjects.toStringHelper(this) - .add("period", period) - .add("unit", unit) - .toString(); - } - - /** - * Returns the {@code CheckingPeriod} option specified in {@code options}. If no - * {@code CheckingPeriod} could be found among {@code options}, the default checking period (500 - * milliseconds) is used. - */ - public static CheckingPeriod getOrDefault(WaitForOption... options) { - return getOrDefaultInternal(OptionType.CHECKING_PERIOD, DEFAULT, options); - } - } - - /** - * This class represents an option to set the maximum time to wait for the resource's status to - * reach the desired state. - */ - public static final class Timeout extends WaitForOption { - - private static final long serialVersionUID = -7120401111985321932L; - private static final Timeout DEFAULT = new Timeout(-1); - - private final long timeoutMillis; - - private Timeout(long timeoutMillis) { - super(OptionType.TIMEOUT); - this.timeoutMillis = timeoutMillis; - } - - - /** - * Returns the timeout in milliseconds. - */ - public long getTimeoutMillis() { - return timeoutMillis; - } - - @Override - public boolean equals(Object obj) { - if (obj == this) { - return true; - } - if (obj == null || !(obj instanceof Timeout)) { - return false; - } - Timeout other = (Timeout) obj; - return baseEquals(other) && Objects.equals(timeoutMillis, other.timeoutMillis); - } - - @Override - public int hashCode() { - return Objects.hash(baseHashCode(), timeoutMillis); - } - - @Override - public String toString() { - return MoreObjects.toStringHelper(this) - .add("timeoutMillis", timeoutMillis) - .toString(); - } - - /** - * Returns the {@code Timeout} option specified in {@code options}. If no {@code Timeout} could - * be found among {@code options}, no timeout will be used. - */ - public static Timeout getOrDefault(WaitForOption... options) { - return getOrDefaultInternal(OptionType.TIMEOUT, DEFAULT, options); - } - } - - OptionType getOptionType() { - return optionType; - } - - final boolean baseEquals(WaitForOption option) { - return Objects.equals(option.optionType, option.optionType); - } - - final int baseHashCode() { - return Objects.hash(optionType); - } - - @SuppressWarnings("unchecked") - private static T getOrDefaultInternal(OptionType optionType, - T defaultValue, WaitForOption... options) { - T foundOption = null; - for (WaitForOption option : options) { - if (option.optionType.equals(optionType)) { - checkArgument(foundOption == null, "Duplicate option %s", option); - foundOption = (T) option; - } - } - return foundOption != null ? foundOption : defaultValue; - } - - /** - * Returns an option to set how frequently the resource status should be checked. - * - * @param checkEvery the checking period - * @param unit the time unit of the checking period - */ - public static CheckingPeriod checkEvery(long checkEvery, TimeUnit unit) { - checkArgument(checkEvery >= 0, "checkEvery must be >= 0"); - return new CheckingPeriod(checkEvery, unit); - } - - /** - * Returns an option to set the maximum time to wait. - * - * @param timeout the maximum time to wait, expressed in {@code unit} - * @param unit the time unit of the timeout - */ - public static Timeout timeout(long timeout, TimeUnit unit) { - checkArgument(timeout >= 0, "timeout must be >= 0"); - return new Timeout(unit.toMillis(timeout)); - } -} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java new file mode 100644 index 000000000000..26daff4113f2 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java @@ -0,0 +1,135 @@ +/* + * Copyright 2016 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; + +import com.google.api.gax.retrying.RetrySettings; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; + +import org.threeten.bp.Duration; + +public class RetryOptionTest { + @Rule public ExpectedException thrown = ExpectedException.none(); + + private static final RetryOption TOTAL_TIMEOUT = + RetryOption.totalTimeout(Duration.ofMillis(420L)); + private static final RetryOption INITIAL_RETRY_DELAY = + RetryOption.initialRetryDelay(Duration.ofMillis(42L)); + private static final RetryOption RETRY_DELAY_MULTIPLIER = RetryOption.retryDelayMultiplier(1.5); + private static final RetryOption MAX_RETRY_DELAY = + RetryOption.maxRetryDelay(Duration.ofMillis(100)); + private static final RetryOption MAX_ATTEMPTS = RetryOption.maxAttempts(100); + private static final RetryOption JITTERED = RetryOption.jittered(false); + + private static final RetrySettings retrySettings = + RetrySettings.newBuilder() + .setTotalTimeout(Duration.ofMillis(420L)) + .setInitialRetryDelay(Duration.ofMillis(42L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(100)) + .setMaxAttempts(100) + .setJittered(false) + .build(); + + @Test + public void testEqualsAndHashCode() { + assertEquals(TOTAL_TIMEOUT, TOTAL_TIMEOUT); + assertEquals(INITIAL_RETRY_DELAY, INITIAL_RETRY_DELAY); + assertEquals(RETRY_DELAY_MULTIPLIER, RETRY_DELAY_MULTIPLIER); + assertEquals(MAX_RETRY_DELAY, MAX_RETRY_DELAY); + assertEquals(MAX_ATTEMPTS, MAX_ATTEMPTS); + assertEquals(JITTERED, JITTERED); + + assertNotEquals(TOTAL_TIMEOUT, JITTERED); + assertNotEquals(INITIAL_RETRY_DELAY, TOTAL_TIMEOUT); + assertNotEquals(RETRY_DELAY_MULTIPLIER, INITIAL_RETRY_DELAY); + assertNotEquals(MAX_RETRY_DELAY, RETRY_DELAY_MULTIPLIER); + assertNotEquals(MAX_ATTEMPTS, MAX_RETRY_DELAY); + assertNotEquals(JITTERED, MAX_ATTEMPTS); + + RetryOption totalTimeout = RetryOption.totalTimeout(Duration.ofMillis(420L)); + RetryOption initialRetryDelay = RetryOption.initialRetryDelay(Duration.ofMillis(42L)); + RetryOption retryDelayMultiplier = RetryOption.retryDelayMultiplier(1.5); + RetryOption maxRetryDelay = RetryOption.maxRetryDelay(Duration.ofMillis(100)); + RetryOption maxAttempts = RetryOption.maxAttempts(100); + RetryOption jittered = RetryOption.jittered(false); + + assertEquals(TOTAL_TIMEOUT, totalTimeout); + assertEquals(INITIAL_RETRY_DELAY, initialRetryDelay); + assertEquals(RETRY_DELAY_MULTIPLIER, retryDelayMultiplier); + assertEquals(MAX_RETRY_DELAY, maxRetryDelay); + assertEquals(MAX_ATTEMPTS, maxAttempts); + assertEquals(JITTERED, jittered); + + assertEquals(TOTAL_TIMEOUT.hashCode(), totalTimeout.hashCode()); + assertEquals(INITIAL_RETRY_DELAY.hashCode(), initialRetryDelay.hashCode()); + assertEquals(RETRY_DELAY_MULTIPLIER.hashCode(), retryDelayMultiplier.hashCode()); + assertEquals(MAX_RETRY_DELAY.hashCode(), maxRetryDelay.hashCode()); + assertEquals(MAX_ATTEMPTS.hashCode(), maxAttempts.hashCode()); + assertEquals(JITTERED.hashCode(), jittered.hashCode()); + } + + @Test + public void testMergeToSettings() { + RetrySettings defRetrySettings = RetrySettings.newBuilder().build(); + + assertEquals(defRetrySettings, RetryOption.mergeToSettings(defRetrySettings)); + + RetrySettings mergedRetrySettings = + RetryOption.mergeToSettings( + defRetrySettings, + TOTAL_TIMEOUT, + INITIAL_RETRY_DELAY, + RETRY_DELAY_MULTIPLIER, + MAX_RETRY_DELAY, + MAX_ATTEMPTS, + JITTERED); + assertEquals(retrySettings, mergedRetrySettings); + + defRetrySettings = + defRetrySettings.toBuilder().setTotalTimeout(Duration.ofMillis(420L)).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, TOTAL_TIMEOUT); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = + defRetrySettings.toBuilder().setMaxRetryDelay(Duration.ofMillis(100)).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, MAX_RETRY_DELAY); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = + defRetrySettings.toBuilder().setInitialRetryDelay(Duration.ofMillis(42L)).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, INITIAL_RETRY_DELAY); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = defRetrySettings.toBuilder().setRetryDelayMultiplier(1.5).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, RETRY_DELAY_MULTIPLIER); + assertEquals(defRetrySettings, mergedRetrySettings); + + + defRetrySettings = defRetrySettings.toBuilder().setMaxAttempts(100).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, MAX_ATTEMPTS); + assertEquals(defRetrySettings, mergedRetrySettings); + + defRetrySettings = defRetrySettings.toBuilder().setJittered(false).build(); + mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, JITTERED); + assertEquals(defRetrySettings, mergedRetrySettings); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 11f2dc1eebcb..c76a7f9dc28a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -24,7 +24,7 @@ import com.google.common.collect.ImmutableMap; import java.io.Serializable; -import java.util.concurrent.TimeUnit; +import org.threeten.bp.Duration; public class SerializationTest extends BaseSerializationTest { @@ -37,8 +37,8 @@ public class SerializationTest extends BaseSerializationTest { private static final RetrySettings RETRY_SETTINGS = ServiceOptions.getDefaultRetrySettings(); private static final Role SOME_ROLE = Role.viewer(); private static final Policy SOME_IAM_POLICY = Policy.newBuilder().build(); - private static final WaitForOption CHECKING_PERIOD = - WaitForOption.checkEvery(42, TimeUnit.SECONDS); + private static final RetryOption CHECKING_PERIOD = + RetryOption.initialRetryDelay(Duration.ofSeconds(42)); private static final LabelDescriptor LABEL_DESCRIPTOR = new LabelDescriptor("project_id", ValueType.STRING, "The project id"); private static final MonitoredResourceDescriptor MONITORED_RESOURCE_DESCRIPTOR = diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java deleted file mode 100644 index dffc160bebd4..000000000000 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/WaitForOptionTest.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2016 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotEquals; - -import com.google.cloud.WaitForOption.CheckingPeriod; -import com.google.cloud.WaitForOption.OptionType; -import com.google.cloud.WaitForOption.Timeout; - -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.ExpectedException; - -import java.util.concurrent.TimeUnit; - -public class WaitForOptionTest { - - @Rule - public ExpectedException thrown = ExpectedException.none(); - - private static final CheckingPeriod CHECKING_PERIOD_OPTION = - WaitForOption.checkEvery(42, TimeUnit.MILLISECONDS); - private static final Timeout TIMEOUT_OPTION = WaitForOption.timeout(43, TimeUnit.MILLISECONDS); - - @Test - public void testCheckEvery() { - assertEquals(OptionType.CHECKING_PERIOD, CHECKING_PERIOD_OPTION.getOptionType()); - assertEquals(42, CHECKING_PERIOD_OPTION.getPeriod()); - assertEquals(TimeUnit.MILLISECONDS, CHECKING_PERIOD_OPTION.getUnit()); - } - - - @Test - public void testCheckEvery_InvalidPeriod() { - thrown.expect(IllegalArgumentException.class); - thrown.expectMessage("checkEvery must be >= 0"); - WaitForOption.checkEvery(-1, TimeUnit.MILLISECONDS); - } - - - @Test - public void testTimeout_InvalidTimeout() { - thrown.expect(IllegalArgumentException.class); - thrown.expectMessage("timeout must be >= 0"); - WaitForOption.timeout(-1, TimeUnit.MILLISECONDS); - } - - @Test - public void testEqualsAndHashCode() { - assertEquals(CHECKING_PERIOD_OPTION, CHECKING_PERIOD_OPTION); - assertEquals(TIMEOUT_OPTION, TIMEOUT_OPTION); - assertEquals(CHECKING_PERIOD_OPTION.hashCode(), CHECKING_PERIOD_OPTION.hashCode()); - assertEquals(TIMEOUT_OPTION.hashCode(), TIMEOUT_OPTION.hashCode()); - WaitForOption checkingPeriodOption = WaitForOption.checkEvery(42, TimeUnit.MILLISECONDS); - assertEquals(CHECKING_PERIOD_OPTION, checkingPeriodOption); - assertEquals(CHECKING_PERIOD_OPTION.hashCode(), checkingPeriodOption.hashCode()); - WaitForOption timeoutOption = WaitForOption.timeout(43, TimeUnit.MILLISECONDS); - assertEquals(TIMEOUT_OPTION, timeoutOption); - assertEquals(TIMEOUT_OPTION.hashCode(), timeoutOption.hashCode()); - assertNotEquals(CHECKING_PERIOD_OPTION, TIMEOUT_OPTION); - assertNotEquals(CHECKING_PERIOD_OPTION.hashCode(), TIMEOUT_OPTION.hashCode()); - checkingPeriodOption = WaitForOption.checkEvery(43, TimeUnit.MILLISECONDS); - assertNotEquals(CHECKING_PERIOD_OPTION, checkingPeriodOption); - assertNotEquals(CHECKING_PERIOD_OPTION.hashCode(), checkingPeriodOption.hashCode()); - checkingPeriodOption = WaitForOption.checkEvery(42, TimeUnit.SECONDS); - assertNotEquals(CHECKING_PERIOD_OPTION, checkingPeriodOption); - assertNotEquals(CHECKING_PERIOD_OPTION.hashCode(), checkingPeriodOption.hashCode()); - timeoutOption = WaitForOption.timeout(42, TimeUnit.MILLISECONDS); - assertNotEquals(TIMEOUT_OPTION, timeoutOption); - assertNotEquals(TIMEOUT_OPTION.hashCode(), timeoutOption.hashCode()); - timeoutOption = WaitForOption.timeout(43, TimeUnit.SECONDS); - assertNotEquals(TIMEOUT_OPTION, timeoutOption); - assertNotEquals(TIMEOUT_OPTION.hashCode(), timeoutOption.hashCode()); - } - - @Test - public void testGetOrDefault() { - assertEquals(CHECKING_PERIOD_OPTION, - CheckingPeriod.getOrDefault(CHECKING_PERIOD_OPTION, TIMEOUT_OPTION)); - assertEquals(TIMEOUT_OPTION, - Timeout.getOrDefault(CHECKING_PERIOD_OPTION, TIMEOUT_OPTION)); - CheckingPeriod checkingPeriod = CheckingPeriod.getOrDefault(TIMEOUT_OPTION); - assertEquals(500, checkingPeriod.getPeriod()); - assertEquals(TimeUnit.MILLISECONDS, checkingPeriod.getUnit()); - Timeout timeout = Timeout.getOrDefault(CHECKING_PERIOD_OPTION); - assertEquals(-1, timeout.getTimeoutMillis()); - } - - @Test - public void testCheckingPeriodGetOrDefault_DuplicateOption() { - thrown.expect(IllegalArgumentException.class); - thrown.expectMessage(String.format("Duplicate option %s", CHECKING_PERIOD_OPTION)); - CheckingPeriod.getOrDefault(CHECKING_PERIOD_OPTION, CHECKING_PERIOD_OPTION); - } - - @Test - public void testTimeoutGetOrDefault_DuplicateOption() { - thrown.expect(IllegalArgumentException.class); - thrown.expectMessage(String.format("Duplicate option %s", TIMEOUT_OPTION)); - Timeout.getOrDefault(TIMEOUT_OPTION, TIMEOUT_OPTION); - } -} From 875756d6376c761f38e1280147a45c23d69f9a1f Mon Sep 17 00:00:00 2001 From: neozwu Date: Fri, 13 Oct 2017 13:45:40 -0700 Subject: [PATCH 0428/3036] refresh DLP proto, grpc and gapic (#417) * refresh DLP proto, grpc and gapic * update dlp proto/grpc/gapic --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 4e99e7c67a57..62e54c720ab6 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.20" +version = "0.1.21" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 6f5fa0aefa18..6037451d06ae 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.20" +version = "0.1.21" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 2f8d949c6290d9893167b79f57d1250481d629b6 Mon Sep 17 00:00:00 2001 From: neozwu Date: Fri, 13 Oct 2017 20:39:10 -0700 Subject: [PATCH 0429/3036] release 0.26.0 (#2523) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d3c1aee690c0..2730aec347a5 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.7.1-SNAPSHOT + 1.8.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.25.1-alpha-SNAPSHOT + 0.26.0-alpha 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 71446ffad7c4..61551d525dd5 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.7.1-SNAPSHOT + 1.8.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.25.1-alpha-SNAPSHOT + 0.26.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f1b74a71cc73..39fe80c3450c 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.7.0 + 1.8.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.7.0' +compile 'com.google.cloud:google-cloud-core:1.8.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.8.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f89bb1e00266..423c4f7949f1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.7.1-SNAPSHOT + 1.8.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.25.1-alpha-SNAPSHOT + 0.26.0-alpha google-cloud-core From 2675399928d75f63af3068d20564c6d975e9c21b Mon Sep 17 00:00:00 2001 From: neozwu Date: Fri, 13 Oct 2017 20:50:29 -0700 Subject: [PATCH 0430/3036] bump version for development (#2524) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2730aec347a5..6732f8212b83 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.8.0 + 1.8.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.26.0-alpha + 0.26.1-alpha-SNAPSHOT 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 61551d525dd5..1c4786c12620 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.8.0 + 1.8.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.26.0-alpha + 0.26.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 423c4f7949f1..59121724be1e 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.8.0 + 1.8.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.26.0-alpha + 0.26.1-alpha-SNAPSHOT google-cloud-core From 510e769924366e62507d41d9902d84373a661e12 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Wed, 25 Oct 2017 09:42:23 +1100 Subject: [PATCH 0431/3036] bump gax version (#2549) and put the version of netty ssl in one place --- java-core/google-cloud-core-grpc/pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6732f8212b83..d13481600b59 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -22,7 +22,6 @@ io.netty netty-tcnative-boringssl-static - 2.0.3.Final com.google.auth From c577a1d2b3f8f26f3b0daae17b64a75f338d997c Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 26 Oct 2017 11:08:21 -0700 Subject: [PATCH 0432/3036] Java: Updating shared proto packages (#423) These packages were missed in the client regeneration. This includes renaming proto-google-appengine to proto-google-appengine-v1. It appears this hasn't been regenerated in a while; there is a proto update which removes "optional" from all the docs. This also includes removing grpc-google-common-protos, which conflicts with grpc-google-longrunning-v1. --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 62e54c720ab6..23f692b76cee 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.21" +version = "0.1.22" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 6037451d06ae..e0f36dcee749 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.21" +version = "0.1.22" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 59cadc9fd1b96cb83ed5c421691cc76d46de43d0 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 31 Oct 2017 19:15:34 -0700 Subject: [PATCH 0433/3036] Regenerating clients (breaking changes) (#2564) --- .../cloud/grpc/BaseGrpcServiceException.java | 4 +-- .../cloud/grpc/GrpcTransportOptions.java | 27 ++++++++++++------- .../grpc/BaseGrpcServiceExceptionTest.java | 3 +-- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java index 50d917619634..e1516c01eefe 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -72,8 +72,8 @@ public BaseGrpcServiceException(ApiException apiException) { .setMessage(apiException.getMessage()) .setCause(apiException) .setRetryable(apiException.isRetryable()) - .setCode(((GrpcStatusCode) apiException.getStatusCode()).getCode().value()) - .setReason(((GrpcStatusCode) apiException.getStatusCode()).getCode().name()) + .setCode(apiException.getStatusCode().getCode().getHttpStatusCode()) + .setReason(apiException.getStatusCode().getCode().name()) .setLocation(null) .setDebugInfo(null) .build()); diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index f256be1d9bb6..70c0d7a4da5a 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -18,15 +18,17 @@ import static com.google.common.base.MoreObjects.firstNonNull; +import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; import com.google.api.gax.core.CredentialsProvider; -import com.google.api.gax.core.GaxProperties; import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.api.gax.core.GaxProperties; import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.ChannelProvider; import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.InstantiatingChannelProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.auth.Credentials; import com.google.cloud.NoCredentials; @@ -189,11 +191,18 @@ public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings) /** * Returns a channel provider from the given default provider. */ - public static ChannelProvider setUpChannelProvider( - InstantiatingChannelProvider.Builder providerBuilder, ServiceOptions serviceOptions) { - providerBuilder.setEndpoint(serviceOptions.getHost()) - .setClientLibHeader(ServiceOptions.getGoogApiClientLibName(), - firstNonNull(serviceOptions.getLibraryVersion(), "")); + @BetaApi + public static TransportChannelProvider setUpChannelProvider( + InstantiatingGrpcChannelProvider.Builder providerBuilder, ServiceOptions serviceOptions) { + providerBuilder.setEndpoint(serviceOptions.getHost()); + return providerBuilder.build(); + } + + @BetaApi + public static ApiClientHeaderProvider setUpHeaderProvider( + ApiClientHeaderProvider.Builder providerBuilder, ServiceOptions serviceOptions) { + providerBuilder.setClientLibHeader(ServiceOptions.getGoogApiClientLibName(), + firstNonNull(serviceOptions.getLibraryVersion(), "")); return providerBuilder.build(); } @@ -202,7 +211,7 @@ public static CredentialsProvider setUpCredentialsProvider(ServiceOptions if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { return FixedCredentialsProvider.create(scopedCredentials); } - return new NoCredentialsProvider(); + return NoCredentialsProvider.create(); } diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java index e35a3a620878..8a95dfc55c8a 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java @@ -38,7 +38,6 @@ public class BaseGrpcServiceExceptionTest { - private static final int CODE = 1; private static final String MESSAGE = "some message"; private static final boolean NOT_RETRYABLE = false; private static final boolean IDEMPOTENT = true; @@ -81,7 +80,7 @@ public void testBaseServiceException() { assertFalse(serviceException.isRetryable()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(apiException, serviceException.getCause()); - assertEquals(Code.INTERNAL.value(), serviceException.getCode()); + assertEquals(500, serviceException.getCode()); assertEquals(Code.INTERNAL.name(), serviceException.getReason()); assertNull(serviceException.getLocation()); assertNull(serviceException.getDebugInfo()); From 8e0a47f7d65d25750209b34b82fa4923cbd09a9d Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Sun, 5 Nov 2017 17:46:44 -0800 Subject: [PATCH 0434/3036] Java: regenerating - updating resource name types (#432) --- java-iam/grpc-google-iam-v1/build.gradle | 8 ++++---- java-iam/proto-google-iam-v1/build.gradle | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 23f692b76cee..bcccaebdbb90 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.22" +version = "0.1.23" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -20,8 +20,8 @@ repositories { } dependencies { - compile "io.grpc:grpc-stub:1.6.1" - compile "io.grpc:grpc-protobuf:1.6.1" + compile "io.grpc:grpc-stub:1.7.0" + compile "io.grpc:grpc-protobuf:1.7.0" compile project(":proto-google-iam-v1") } @@ -93,7 +93,7 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') name 'Google Inc' email 'googleapis-packages@google.com' url 'https://github.com/googleapis/googleapis' - organization 'Google, Inc.' + organization 'Google LLC' organizationUrl 'https://www.google.com' } } diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index e0f36dcee749..0ef0e249bce5 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.22" +version = "0.1.23" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -93,7 +93,7 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') name 'Google Inc' email 'googleapis-packages@google.com' url 'https://github.com/googleapis/googleapis' - organization 'Google, Inc.' + organization 'Google LLC' organizationUrl 'https://www.google.com' } } From 462cba14558207ab5d98b64c767df51d64b56519 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 7 Nov 2017 16:58:34 -0800 Subject: [PATCH 0435/3036] Java: promoting common-protos and language to 1.0.0 (#439) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index bcccaebdbb90..6b9e37f2794d 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.23" +version = "0.1.24" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 0ef0e249bce5..5424b84e36e6 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.23" +version = "0.1.24" sourceCompatibility = 1.7 targetCompatibility = 1.7 From fcb810e47d7cbbf2e04440ea1c315e5778481acc Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 8 Nov 2017 11:19:35 -0800 Subject: [PATCH 0436/3036] Release 0.27.0 (#2596) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d13481600b59..1f49bdc32b91 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.8.1-SNAPSHOT + 1.9.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.26.1-alpha-SNAPSHOT + 0.27.0-alpha 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 1c4786c12620..0a2d7ccd4be2 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.8.1-SNAPSHOT + 1.9.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.26.1-alpha-SNAPSHOT + 0.27.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 39fe80c3450c..7d615e185e16 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.8.0 + 1.9.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.8.0' +compile 'com.google.cloud:google-cloud-core:1.9.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.9.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 59121724be1e..e53386407ae3 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.8.1-SNAPSHOT + 1.9.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.26.1-alpha-SNAPSHOT + 0.27.0-alpha google-cloud-core From 2b7b519f52730de94f519cae1fdc7354e4672e43 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 8 Nov 2017 13:31:07 -0800 Subject: [PATCH 0437/3036] Update pom.xml version to 0.27.1-SNAPSHOT by script (#2595) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1f49bdc32b91..8502b3b62c7a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.9.0 + 1.9.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.27.0-alpha + 0.27.1-alpha-SNAPSHOT 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 0a2d7ccd4be2..671f615d29e7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.9.0 + 1.9.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.27.0-alpha + 0.27.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e53386407ae3..58fa3d5ca987 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.9.0 + 1.9.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.27.0-alpha + 0.27.1-alpha-SNAPSHOT google-cloud-core From 75a1d0177acb46dff4674743ec3116bf772dbdba Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 8 Nov 2017 16:26:28 -0800 Subject: [PATCH 0438/3036] Release 0.28.0 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8502b3b62c7a..a28418f4cfcc 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.9.1-SNAPSHOT + 1.10.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.27.1-alpha-SNAPSHOT + 0.28.0-alpha 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 671f615d29e7..4c3a4f47995e 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.9.1-SNAPSHOT + 1.10.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.27.1-alpha-SNAPSHOT + 0.28.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 7d615e185e16..2454c2089f36 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.9.0 + 1.10.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.9.0' +compile 'com.google.cloud:google-cloud-core:1.10.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.10.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 58fa3d5ca987..ced21b2a5b41 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.9.1-SNAPSHOT + 1.10.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.27.1-alpha-SNAPSHOT + 0.28.0-alpha google-cloud-core From d29c70176c1c1dda60aa5e3547c4728ed6cedd06 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 8 Nov 2017 20:35:49 -0800 Subject: [PATCH 0439/3036] Bumping to next snapshot versions (#2603) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a28418f4cfcc..05809dfd2da7 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.10.0 + 1.10.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.28.0-alpha + 0.28.1-alpha-SNAPSHOT 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 4c3a4f47995e..23622bc395ca 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.10.0 + 1.10.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.28.0-alpha + 0.28.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ced21b2a5b41..1a594b79e5c9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.10.0 + 1.10.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.28.0-alpha + 0.28.1-alpha-SNAPSHOT google-cloud-core From 15d434678d854f8b601f8099945dd2190c554aa1 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 14 Nov 2017 19:19:41 -0800 Subject: [PATCH 0440/3036] Release 0.29.0 (#2627) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 05809dfd2da7..cb2e1c56189b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.10.1-SNAPSHOT + 1.11.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.28.1-alpha-SNAPSHOT + 0.29.0-alpha 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 23622bc395ca..b14dd53e75e2 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.10.1-SNAPSHOT + 1.11.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.28.1-alpha-SNAPSHOT + 0.29.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 2454c2089f36..b4dfac3d90f9 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.10.0 + 1.11.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.10.0' +compile 'com.google.cloud:google-cloud-core:1.11.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.10.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.11.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1a594b79e5c9..82631aa23de7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.10.1-SNAPSHOT + 1.11.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.28.1-alpha-SNAPSHOT + 0.29.0-alpha google-cloud-core From 06fc971e2b4797cf8021eb644379ed369a9529c7 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 14 Nov 2017 22:10:08 -0800 Subject: [PATCH 0441/3036] Bump version to 0.29.1-SNAPSHOT for development (#2628) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cb2e1c56189b..53d01f00c139 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.11.0 + 1.11.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.29.0-alpha + 0.29.1-alpha-SNAPSHOT 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 b14dd53e75e2..35282959409c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.11.0 + 1.11.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.29.0-alpha + 0.29.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 82631aa23de7..70d6b81e8b09 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.11.0 + 1.11.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.29.0-alpha + 0.29.1-alpha-SNAPSHOT google-cloud-core From 8afb8a1b64dab6c4c954732723c87edd48cf5427 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 15 Nov 2017 15:31:43 -0800 Subject: [PATCH 0442/3036] Java: Refresh + version bump (#450) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 6b9e37f2794d..275973444646 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.24" +version = "0.1.25" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 5424b84e36e6..a4d5c63e2138 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.24" +version = "0.1.25" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 4e5cc078831e415b6cf3846b6cee50d638dea90b Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 15 Nov 2017 18:54:22 -0800 Subject: [PATCH 0443/3036] Release 1.12.0/0.30.0 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 53d01f00c139..4c08f90b48cc 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.11.1-SNAPSHOT + 1.12.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.29.1-alpha-SNAPSHOT + 0.30.0-alpha 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 35282959409c..fe47c37a544a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.11.1-SNAPSHOT + 1.12.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.29.1-alpha-SNAPSHOT + 0.30.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b4dfac3d90f9..5f040b0d7e35 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.11.0 + 1.12.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.11.0' +compile 'com.google.cloud:google-cloud-core:1.12.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.12.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 70d6b81e8b09..2fccc7fd1512 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.11.1-SNAPSHOT + 1.12.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.29.1-alpha-SNAPSHOT + 0.30.0-alpha google-cloud-core From a7131906f1b10d38945a911a2fa4093b2dabc3ff Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 16 Nov 2017 08:59:59 -0800 Subject: [PATCH 0444/3036] Bumping to next snapshot version (#2635) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4c08f90b48cc..5294ffa03a7f 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.12.0 + 1.12.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.30.0-alpha + 0.30.1-alpha-SNAPSHOT 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 fe47c37a544a..5b225e1ccef6 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.12.0 + 1.12.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.30.0-alpha + 0.30.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2fccc7fd1512..4069dabdb2ce 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.12.0 + 1.12.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.30.0-alpha + 0.30.1-alpha-SNAPSHOT google-cloud-core From 196c26e62efd89f9694e2a98e72ad9aa602d1e53 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 20 Nov 2017 17:01:12 -0800 Subject: [PATCH 0445/3036] Moving off some deprecated stuff (#2640) --- .../src/main/java/com/google/cloud/AsyncPageImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index 8048b9e18f88..643fe0b21d56 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -64,7 +64,8 @@ public Page getNextPage() { return asyncPageFetcher != null ? Uninterruptibles.getUninterruptibly(asyncPageFetcher.getNextPage()) : null; } catch (ExecutionException ex) { - throw Throwables.propagate(ex.getCause()); + Throwables.throwIfUnchecked(ex.getCause()); + throw new RuntimeException(ex); } } } From 7831d22449d6fdaf9e5de432769a40002f81ed51 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 6 Dec 2017 10:04:12 -0800 Subject: [PATCH 0446/3036] update java project version from 0.1.25 to 0.1.26 (#473) And make appengine depend on local common proto and iam packages. --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 275973444646..0c9767b756b6 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.25" +version = "0.1.26" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index a4d5c63e2138..12b6ed4a808a 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.25" +version = "0.1.26" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 0b124a4b17626f3cda96397f34cd3165aa65ea47 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 7 Dec 2017 16:07:26 -0800 Subject: [PATCH 0447/3036] Creating BOM (google-cloud-bom) (#2679) --- java-core/google-cloud-core/pom.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4069dabdb2ce..63093766509d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -36,7 +36,6 @@ org.json json - 20160810 compile @@ -53,7 +52,6 @@ com.google.code.findbugs jsr305 - 3.0.0 org.easymock From eccf9a46e523094fbf1d41732a2be7c9f84a9449 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Mon, 11 Dec 2017 17:15:52 -0800 Subject: [PATCH 0448/3036] Bump version to 0.32.0 (#2684) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5294ffa03a7f..64faf80e129d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.12.1-SNAPSHOT + 1.14.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.30.1-alpha-SNAPSHOT + 0.32.0-alpha 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 5b225e1ccef6..33f490d41796 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.12.1-SNAPSHOT + 1.14.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.30.1-alpha-SNAPSHOT + 0.32.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 5f040b0d7e35..8b7858b9a68b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.12.0 + 1.14.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.12.0' +compile 'com.google.cloud:google-cloud-core:1.14.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.12.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.14.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 63093766509d..cf7ce4a0ef58 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.12.1-SNAPSHOT + 1.14.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.30.1-alpha-SNAPSHOT + 0.32.0-alpha google-cloud-core From 23a207967bfeb1a79285e409eaa6de8e49205610 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 12 Dec 2017 11:11:40 -0800 Subject: [PATCH 0449/3036] Bump versions to SNAPSHOT (#2700) alpha version now 0.32.1-alpha-SNAPSHOT beta version now 0.32.1-beta-SNAPSHOT ga version now 1.14.1-SNAPSHOT --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 64faf80e129d..40db8bf46966 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.14.0 + 1.14.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.32.0-alpha + 0.32.1-alpha-SNAPSHOT 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 33f490d41796..c3c747d2a9b5 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.14.0 + 1.14.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.32.0-alpha + 0.32.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cf7ce4a0ef58..8e24bd9ab09b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.14.0 + 1.14.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.32.0-alpha + 0.32.1-alpha-SNAPSHOT google-cloud-core From 4c91b8e0fff0efe3452493c567bd04f367bdbe5e Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Thu, 14 Dec 2017 15:42:09 -0800 Subject: [PATCH 0450/3036] Add support for custom static headers (#2690) Note, PubSub is supported only partially. Full support is dependent on migration of PubSub from Grpc stubs to Gapic stubs Usage: ```java // For manual/semi-manual clients: // Resource Manager // Translate // Compute // Storage // Datastore // Dns // BigQuery // // Logging // Firestore // Spanner HeaderProvider headerProvider = FixedHeaderProvider.create("user-agent", "my-client-name", "custom-header", "custom stuff"); DatastoreOptions options = DatastoreOptions.newBuilder().setHeaderProvider(headerProvider).build(); Datastore datastore = options.getService(); // For generated clients: // All others, except Pub/Sub HeaderProvider headerProvider = FixedHeaderProvider.create("user-agent", "my-client-name", "custom-header", "custom stuff"); LanguageServiceSettings settings = LanguageServiceSettings.newBuilder().setHeaderProvider(headerProvider).build(); LanguageServiceClient client = LanguageServiceClient.create(settings); // Note, PubSub is supported only partially. Full support is dependent on migration of PubSub from Grpc stubs to Gapic stubs ``` --- java-core/google-cloud-core-grpc/pom.xml | 1 - .../cloud/grpc/GrpcTransportOptions.java | 32 ------- .../cloud/grpc/GrpcTransportOptionsTest.java | 9 -- java-core/google-cloud-core-http/pom.xml | 5 +- .../cloud/http/HttpTransportOptions.java | 33 +++---- .../cloud/http/HttpTransportOptionsTest.java | 10 +- java-core/google-cloud-core/pom.xml | 33 ------- .../java/com/google/cloud/ServiceOptions.java | 96 +++++++++++++------ 8 files changed, 93 insertions(+), 126 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 40db8bf46966..4664c9ebc8ac 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -16,7 +16,6 @@ google-cloud-core-grpc - ${project.version} diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index 70c0d7a4da5a..aa727f8d0b99 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -22,12 +22,9 @@ import com.google.api.core.InternalApi; import com.google.api.gax.core.CredentialsProvider; import com.google.api.gax.core.FixedCredentialsProvider; -import com.google.api.gax.core.GaxProperties; import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.auth.Credentials; @@ -38,7 +35,6 @@ import io.grpc.internal.SharedResourceHolder.Resource; import java.io.IOException; import java.io.ObjectInputStream; -import java.util.Locale; import java.util.Objects; import java.util.concurrent.ExecutorService; import java.util.concurrent.ScheduledExecutorService; @@ -76,26 +72,6 @@ public void close(ScheduledExecutorService instance) { } }; - /** - * Returns a string value for x-goog-api-client HTTP header. The header is used to report version - * of the client and its protocol-specific dependencies. - * - * For internal use. - * - * @param libraryVersion version of the google-cloud-java library - * @return value of x-goog-api-client HTTP header, which should be provided with each request - */ - @InternalApi - public String getXGoogApiClientHeader(String libraryVersion) { - return String.format(Locale.US, - "gl-java/%s %s/%s gax/%s grpc/%s", - firstNonNull(Runtime.class.getPackage().getImplementationVersion(), ""), - ServiceOptions.getGoogApiClientLibName(), - libraryVersion, - GaxProperties.getGaxVersion(), - GaxGrpcProperties.getGrpcVersion()); - } - /** * An interface for {@link ExecutorService} factories. Implementations of this interface can be * used to provide an user-defined executor to execute requests. Any implementation of this @@ -198,14 +174,6 @@ public static TransportChannelProvider setUpChannelProvider( return providerBuilder.build(); } - @BetaApi - public static ApiClientHeaderProvider setUpHeaderProvider( - ApiClientHeaderProvider.Builder providerBuilder, ServiceOptions serviceOptions) { - providerBuilder.setClientLibHeader(ServiceOptions.getGoogApiClientLibName(), - firstNonNull(serviceOptions.getLibraryVersion(), "")); - return providerBuilder.build(); - } - public static CredentialsProvider setUpCredentialsProvider(ServiceOptions serviceOptions) { Credentials scopedCredentials = serviceOptions.getScopedCredentials(); if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java index 10454bf9d25e..7aff66b2d643 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java @@ -24,7 +24,6 @@ import com.google.cloud.grpc.GrpcTransportOptions.DefaultExecutorFactory; import com.google.cloud.grpc.GrpcTransportOptions.ExecutorFactory; import java.util.concurrent.ScheduledExecutorService; -import java.util.regex.Pattern; import org.easymock.EasyMock; import org.junit.Test; @@ -71,12 +70,4 @@ public void testDefaultExecutorFactory() { ScheduledExecutorService executorService = executorFactory.get(); assertSame(executorService, executorFactory.get()); } - - @Test - public void testHeader() { - String expectedHeaderPattern = "^gl-java/.+ gccl/0.0.0+ gax/.+ grpc/.+"; - assertTrue(Pattern.compile(expectedHeaderPattern) - .matcher(OPTIONS.getXGoogApiClientHeader("0.0.0")) - .find()); - } } diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index c3c747d2a9b5..29cb2d349f6a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -16,7 +16,6 @@ google-cloud-core-http - ${project.version} @@ -95,6 +94,10 @@ + + com.google.api + gax-httpjson + junit junit diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 6c096e408397..2ab57195d4d1 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -19,11 +19,14 @@ import static com.google.common.base.MoreObjects.firstNonNull; import com.google.api.client.extensions.appengine.http.UrlFetchTransport; -import com.google.api.client.http.HttpHeaders; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.httpjson.HttpHeadersUtils; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.HeaderProvider; import com.google.auth.Credentials; import com.google.auth.http.HttpCredentialsAdapter; import com.google.auth.http.HttpTransportFactory; @@ -33,7 +36,6 @@ import com.google.cloud.TransportOptions; import java.io.IOException; import java.io.ObjectInputStream; -import java.util.Locale; import java.util.Objects; /** @@ -149,7 +151,9 @@ public HttpRequestInitializer getHttpRequestInitializer( final HttpRequestInitializer delegate = scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() ? new HttpCredentialsAdapter(scopedCredentials) : null; - final String xGoogHeader = getXGoogApiClientHeader(serviceOptions.getLibraryVersion()); + HeaderProvider internalHeaderProvider = getInternalHeaderProviderBuilder(serviceOptions).build(); + final HeaderProvider headerProvider = serviceOptions.getMergedHeaderProvider(internalHeaderProvider); + return new HttpRequestInitializer() { @Override public void initialize(HttpRequest httpRequest) throws IOException { @@ -163,27 +167,18 @@ public void initialize(HttpRequest httpRequest) throws IOException { httpRequest.setReadTimeout(readTimeout); } - HttpHeaders headers = httpRequest.getHeaders(); - headers.set("x-goog-api-client", xGoogHeader); + HttpHeadersUtils.setHeaders(httpRequest.getHeaders(), headerProvider.getHeaders()); } }; } - /** - * Returns a string value for x-goog-api-client HTTP header. The header is used to report version - * of the client and its protocol-specific dependencies. - * - * For internal use. - * - * @param libraryVersion version of the google-cloud-java library - * @return value of x-goog-api-client HTTP header, which should be provided with each request - */ - String getXGoogApiClientHeader(String libraryVersion) { - return String.format(Locale.US, - "gl-java/%s %s/%s", - firstNonNull(Runtime.class.getPackage().getImplementationVersion(), ""), + ApiClientHeaderProvider.Builder getInternalHeaderProviderBuilder( + ServiceOptions serviceOptions) { + ApiClientHeaderProvider.Builder builder = ApiClientHeaderProvider.newBuilder(); + builder.setClientLibToken( ServiceOptions.getGoogApiClientLibName(), - libraryVersion); + GaxProperties.getLibraryVersion(serviceOptions.getClass())); + return builder; } /** diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java index 960dfc1f0ebc..b0fec9185e93 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java @@ -21,7 +21,9 @@ import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; +import com.google.api.gax.rpc.HeaderProvider; import com.google.auth.http.HttpTransportFactory; +import com.google.cloud.ServiceOptions; import com.google.cloud.http.HttpTransportOptions.DefaultHttpTransportFactory; import java.util.regex.Pattern; import org.easymock.EasyMock; @@ -64,9 +66,13 @@ public void testBaseHashCode() { @Test public void testHeader() { - String expectedHeaderPattern = "^gl-java/.+ gccl/0.0.0"; + String expectedHeaderPattern = "^gl-java/.+ gccl/.* gax/.+"; + ServiceOptions serviceOptions = EasyMock.createMock(ServiceOptions.class); + HeaderProvider headerProvider = OPTIONS.getInternalHeaderProviderBuilder(serviceOptions).build(); + + assertEquals(1, headerProvider.getHeaders().size()); assertTrue(Pattern.compile(expectedHeaderPattern) - .matcher(OPTIONS.getXGoogApiClientHeader("0.0.0")) + .matcher(headerProvider.getHeaders().values().iterator().next()) .find()); } } diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8e24bd9ab09b..e702c89a8f4a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -16,7 +16,6 @@ google-cloud-core - ${project.version} @@ -94,36 +93,4 @@ test - - - - ./.. - true - - project.properties - - - - - - maven-antrun-plugin - 1.4 - - - process-resources - - - - - - - run - - - - - - diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 37fb4f424234..43bccbdec673 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -28,13 +28,18 @@ import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; import com.google.api.core.ApiClock; +import com.google.api.core.BetaApi; import com.google.api.core.CurrentMillisClock; import com.google.api.core.InternalApi; -import com.google.api.gax.core.PropertiesProvider; +import com.google.api.gax.core.GaxProperties; import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.FixedHeaderProvider; +import com.google.api.gax.rpc.HeaderProvider; +import com.google.api.gax.rpc.NoHeaderProvider; import com.google.auth.Credentials; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; +import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; import com.google.common.io.Files; import java.io.BufferedReader; @@ -48,6 +53,7 @@ import java.io.Serializable; import java.nio.charset.Charset; import java.util.Locale; +import java.util.Map; import java.util.Objects; import java.util.ServiceLoader; import java.util.Set; @@ -72,12 +78,6 @@ public abstract class ServiceOptions, private static final String DEFAULT_HOST = "https://www.googleapis.com"; private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; - private static final String LIBRARY_NAME = "gcloud-java"; - private static final String X_GOOGLE_CLIENT_HEADER_NAME = "gccl"; - - private static final String PROPERTIES_VERSION_KEY = "artifact.version"; - private static final String DEFAULT_PACKAGE_PATH = "com/google/cloud"; - private static final String PROPERTIES_FILE = "project.properties"; private static final RetrySettings DEFAULT_RETRY_SETTINGS = getDefaultRetrySettingsBuilder() .build(); @@ -94,6 +94,7 @@ public abstract class ServiceOptions, private final ApiClock clock; protected Credentials credentials; private final TransportOptions transportOptions; + private final HeaderProvider headerProvider; private transient ServiceRpcFactory serviceRpcFactory; private transient ServiceFactory serviceFactory; @@ -119,6 +120,7 @@ public abstract static class Builder, private ServiceRpcFactory serviceRpcFactory; private ApiClock clock; private TransportOptions transportOptions; + private HeaderProvider headerProvider; @InternalApi("This class should only be extended within google-cloud-java") protected Builder() {} @@ -234,6 +236,22 @@ public B setTransportOptions(TransportOptions transportOptions) { this.transportOptions = transportOptions; return self(); } + + /** + * Sets the static header provider. The header provider will be called during client + * construction only once. The headers returned by the provider will be cached and supplied as + * is for each request issued by the constructed client. Some reserved headers can be overridden + * (e.g. Content-Type) or merged with the default value (e.g. User-Agent) by the underlying + * transport layer. + * + * @param headerProvider the header provider + * @return the builder + */ + @BetaApi + public B setHeaderProvider(HeaderProvider headerProvider) { + this.headerProvider = headerProvider; + return self(); + } } @InternalApi("This class should only be extended within google-cloud-java") @@ -260,6 +278,7 @@ protected ServiceOptions(Class> ser clock = firstNonNull(builder.clock, CurrentMillisClock.getDefaultClock()); transportOptions = firstNonNull(builder.transportOptions, serviceDefaults.getDefaultTransportOptions()); + headerProvider = firstNonNull(builder.headerProvider, new NoHeaderProvider()); } /** @@ -535,40 +554,69 @@ public TransportOptions getTransportOptions() { } /** - * Returns the application's name as a string in the format {@code gcloud-java/[version]}. + * Returns the application's name as a string in the format {@code gcloud-java/[version]}, + * optionally prepended with externally supplied User-Agent header value (via setting custom + * header provider). */ public String getApplicationName() { String libraryVersion = getLibraryVersion(); - return libraryVersion == null ? LIBRARY_NAME : LIBRARY_NAME + "/" + libraryVersion; - } + // We have to do the following since underlying layers often do not appreciate User-Agent + // provided as a normal header and override it or treat setting "application name" as the only + // way to append something to User-Agent header. + StringBuilder sb = new StringBuilder(); + String customUserAgentValue = getUserAgent(); + if (customUserAgentValue != null) { + sb.append(customUserAgentValue).append(' '); + } + if (libraryVersion == null) { + sb.append(getLibraryName()); + } else { + sb.append(getLibraryName()).append('/').append(libraryVersion); + } + + return sb.toString(); + } /** * Returns the library's name, {@code gcloud-java}, as a string. */ public static String getLibraryName() { - return LIBRARY_NAME; + return "gcloud-java"; } /** * Returns the library's name used by x-goog-api-client header as a string. */ public static String getGoogApiClientLibName() { - return X_GOOGLE_CLIENT_HEADER_NAME; + return "gccl"; } /** * Returns the library's version as a string. */ public String getLibraryVersion() { - try { - String version = getVersionProperty(getPackagePath()); - if (version == null) { - version = getVersionProperty(DEFAULT_PACKAGE_PATH); + return GaxProperties.getLibraryVersion(this.getClass()); + } + + @InternalApi + public final HeaderProvider getMergedHeaderProvider(HeaderProvider internalHeaderProvider) { + Map mergedHeaders = + ImmutableMap.builder() + .putAll(internalHeaderProvider.getHeaders()) + .putAll(headerProvider.getHeaders()) + .build(); + return FixedHeaderProvider.create(mergedHeaders); + } + + @InternalApi + public final String getUserAgent() { + if (headerProvider != null) { + for (Map.Entry entry : headerProvider.getHeaders().entrySet()) { + if ("user-agent".equals(entry.getKey().toLowerCase())) { + return entry.getValue(); + } } - return version; - } catch (Exception e) { - // ignore } return null; } @@ -641,14 +689,4 @@ protected RetrySettings defaultRetrySettings() { public static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } - - private String getVersionProperty(String packagePath) { - String projectPropertiesPath = "/" + packagePath + "/" + PROPERTIES_FILE; - return PropertiesProvider.loadProperty( - ServiceOptions.class, projectPropertiesPath, PROPERTIES_VERSION_KEY); - } - - private String getPackagePath() { - return this.getClass().getPackage().getName().replaceAll("\\.", "/"); - } } From a21d7458ca6bda840424d252dc05cd74b38d70ce Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 21 Dec 2017 11:51:22 -0800 Subject: [PATCH 0451/3036] Removing compile dependency on org.json (#2728) --- java-core/google-cloud-core/pom.xml | 5 ---- .../java/com/google/cloud/ServiceOptions.java | 23 +++++++++----- .../com/google/cloud/ServiceOptionsTest.java | 30 +++++++++++++++++++ 3 files changed, 46 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e702c89a8f4a..b8ba2578dc5a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -32,11 +32,6 @@ joda-time compile - - org.json - json - compile - com.google.http-client google-http-client diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 43bccbdec673..cca3518c29aa 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -27,6 +27,11 @@ import com.google.api.client.http.HttpResponse; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; +import com.google.api.client.json.GenericJson; +import com.google.api.client.json.JsonFactory; +import com.google.api.client.json.JsonObjectParser; +import com.google.api.client.json.jackson2.JacksonFactory; +import com.google.api.client.util.Charsets; import com.google.api.core.ApiClock; import com.google.api.core.BetaApi; import com.google.api.core.CurrentMillisClock; @@ -59,9 +64,6 @@ import java.util.Set; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.json.JSONException; -import org.json.JSONObject; -import org.json.JSONTokener; import org.threeten.bp.Duration; /** @@ -454,13 +456,20 @@ private static String getAppEngineProjectIdFromMetadataServer() throws IOExcepti } protected static String getServiceAccountProjectId() { + return getServiceAccountProjectId(System.getenv(CREDENTIAL_ENV_NAME)); + } + + @InternalApi("Visible for testing") + static String getServiceAccountProjectId(String credentialsPath) { String project = null; - String credentialsPath = System.getenv(CREDENTIAL_ENV_NAME); if (credentialsPath != null) { try (InputStream credentialsStream = new FileInputStream(credentialsPath)) { - JSONObject json = new JSONObject(new JSONTokener(credentialsStream)); - project = json.getString("project_id"); - } catch (IOException | JSONException ex) { + JsonFactory jsonFactory = JacksonFactory.getDefaultInstance(); + JsonObjectParser parser = new JsonObjectParser(jsonFactory); + GenericJson fileContents = parser.parseAndClose( + credentialsStream, Charsets.UTF_8, GenericJson.class); + project = (String) fileContents.get("project_id"); + } catch (IOException e) { // ignore } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 3238a30c8cb4..6bd613d6cfa2 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -19,6 +19,7 @@ import static junit.framework.TestCase.assertFalse; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; @@ -28,10 +29,14 @@ import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; import java.io.ByteArrayInputStream; +import java.io.File; import java.io.IOException; import java.io.InputStream; +import java.nio.charset.Charset; import java.util.Set; import java.util.regex.Pattern; + +import com.google.common.io.Files; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -283,4 +288,29 @@ public void testBaseHashCode() { assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); } + + @Test + public void testGetServiceAccountProjectId() throws Exception { + File credentialsFile = File.createTempFile("credentials", ".json"); + credentialsFile.deleteOnExit(); + Files.write("{\"project_id\":\"my-project-id\"}".getBytes(), credentialsFile); + + assertEquals("my-project-id", ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); + } + + @Test + public void testGetServiceAccountProjectId_badJson() throws Exception { + File credentialsFile = File.createTempFile("credentials", ".json"); + credentialsFile.deleteOnExit(); + Files.write("asdfghj".getBytes(), credentialsFile); + + assertNull(ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); + } + + @Test + public void testGetServiceAccountProjectId_nonExistentFile() throws Exception { + File credentialsFile = new File("/doesnotexist"); + + assertNull(ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); + } } From 8a710609e5c3bcf77c2d76b3895d03e0a47ae3f5 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Tue, 2 Jan 2018 09:19:02 -0800 Subject: [PATCH 0452/3036] Java: regen core protos, update versions for release (#504) --- java-iam/grpc-google-iam-v1/LICENSE | 4 ++-- java-iam/grpc-google-iam-v1/build.gradle | 8 +++---- java-iam/proto-google-iam-v1/LICENSE | 4 ++-- java-iam/proto-google-iam-v1/build.gradle | 12 +++++----- .../main/java/com/google/iam/v1/Binding.java | 24 ++++++++++++------- .../java/com/google/iam/v1/BindingDelta.java | 24 ++++++++++++------- .../google/iam/v1/GetIamPolicyRequest.java | 24 ++++++++++++------- .../com/google/iam/v1/IamPolicyProto.java | 9 +++---- .../main/java/com/google/iam/v1/Policy.java | 24 ++++++++++++------- .../java/com/google/iam/v1/PolicyDelta.java | 24 ++++++++++++------- .../java/com/google/iam/v1/PolicyProto.java | 9 +++---- .../google/iam/v1/SetIamPolicyRequest.java | 24 ++++++++++++------- .../iam/v1/TestIamPermissionsRequest.java | 24 ++++++++++++------- .../iam/v1/TestIamPermissionsResponse.java | 24 ++++++++++++------- .../com/google/iam/v1/logging/AuditData.java | 24 ++++++++++++------- .../main/proto/google/iam/v1/iam_policy.proto | 1 + .../src/main/proto/google/iam/v1/policy.proto | 1 + 17 files changed, 170 insertions(+), 94 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/LICENSE b/java-iam/grpc-google-iam-v1/LICENSE index 724a8807144b..a8ee855de2aa 100644 --- a/java-iam/grpc-google-iam-v1/LICENSE +++ b/java-iam/grpc-google-iam-v1/LICENSE @@ -1,6 +1,6 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -192,7 +192,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + 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, diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 0c9767b756b6..c2fff5f27a54 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.26" +version = "0.1.27" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -83,14 +83,14 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') licenses { license { name 'Apache-2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + url 'https://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { - id 'Google Inc' - name 'Google Inc' + id 'Google LLC' + name 'Google LLC' email 'googleapis-packages@google.com' url 'https://github.com/googleapis/googleapis' organization 'Google LLC' diff --git a/java-iam/proto-google-iam-v1/LICENSE b/java-iam/proto-google-iam-v1/LICENSE index 724a8807144b..a8ee855de2aa 100644 --- a/java-iam/proto-google-iam-v1/LICENSE +++ b/java-iam/proto-google-iam-v1/LICENSE @@ -1,6 +1,6 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -192,7 +192,7 @@ you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + 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, diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 12b6ed4a808a..2c3316bd5960 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.26" +version = "0.1.27" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -20,8 +20,8 @@ repositories { } dependencies { - compile "com.google.protobuf:protobuf-java:3.3.0" - compile "com.google.api:api-common:1.1.0" + compile "com.google.protobuf:protobuf-java:3.4.0" + compile "com.google.api:api-common:1.2.0" compile project(":proto-google-common-protos") } @@ -83,14 +83,14 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') licenses { license { name 'Apache-2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + url 'https://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { - id 'Google Inc' - name 'Google Inc' + id 'Google LLC' + name 'Google LLC' email 'googleapis-packages@google.com' url 'https://github.com/googleapis/googleapis' organization 'Google LLC' 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 e8575f1bfba7..7d72799fb8fd 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 @@ -14,6 +14,7 @@ public final class Binding extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.Binding) BindingOrBuilder { +private static final long serialVersionUID = 0L; // Use Binding.newBuilder() to construct. private Binding(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -26,7 +27,7 @@ private Binding() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private Binding( com.google.protobuf.CodedInputStream input, @@ -34,6 +35,8 @@ private Binding( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -43,7 +46,8 @@ private Binding( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -74,6 +78,7 @@ private Binding( if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { members_ = members_.getUnmodifiableView(); } + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -251,6 +256,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < members_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, members_.getRaw(i)); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -269,11 +275,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getMembersList().size(); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -289,6 +295,7 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getRole()); result = result && getMembersList() .equals(other.getMembersList()); + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -482,7 +489,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -495,12 +502,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -528,6 +535,7 @@ public Builder mergeFrom(com.google.iam.v1.Binding other) { } onChanged(); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -902,12 +910,12 @@ public Builder addMembersBytes( } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } 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 fe68f9f3cd98..4f7929531468 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 @@ -15,6 +15,7 @@ public final class BindingDelta extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.BindingDelta) BindingDeltaOrBuilder { +private static final long serialVersionUID = 0L; // Use BindingDelta.newBuilder() to construct. private BindingDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -28,7 +29,7 @@ private BindingDelta() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private BindingDelta( com.google.protobuf.CodedInputStream input, @@ -36,6 +37,8 @@ private BindingDelta( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -45,7 +48,8 @@ private BindingDelta( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -76,6 +80,7 @@ private BindingDelta( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -365,6 +370,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getMemberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, member_); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -382,11 +388,11 @@ public int getSerializedSize() { if (!getMemberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -403,6 +409,7 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getRole()); result = result && getMember() .equals(other.getMember()); + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -593,7 +600,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -606,12 +613,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -636,6 +643,7 @@ public Builder mergeFrom(com.google.iam.v1.BindingDelta other) { member_ = other.member_; onChanged(); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -930,12 +938,12 @@ public Builder setMemberBytes( } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } 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 384eb1e876dc..38df74ab916b 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 @@ -14,6 +14,7 @@ public final class GetIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.GetIamPolicyRequest) GetIamPolicyRequestOrBuilder { +private static final long serialVersionUID = 0L; // Use GetIamPolicyRequest.newBuilder() to construct. private GetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -25,7 +26,7 @@ private GetIamPolicyRequest() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private GetIamPolicyRequest( com.google.protobuf.CodedInputStream input, @@ -33,6 +34,8 @@ private GetIamPolicyRequest( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -42,7 +45,8 @@ private GetIamPolicyRequest( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -61,6 +65,7 @@ private GetIamPolicyRequest( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -137,6 +142,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getResourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -147,11 +153,11 @@ public int getSerializedSize() { if (!getResourceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -165,6 +171,7 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && getResource() .equals(other.getResource()); + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -344,7 +351,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -357,12 +364,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -380,6 +387,7 @@ public Builder mergeFrom(com.google.iam.v1.GetIamPolicyRequest other) { resource_ = other.resource_; onChanged(); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -506,12 +514,12 @@ public Builder setResourceBytes( } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } 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 030d0740ea52..fbfdafc2ba16 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 @@ -61,10 +61,11 @@ public static void registerAllExtensions( "TestIamPermissions\022(.google.iam.v1.TestI" + "amPermissionsRequest\032).google.iam.v1.Tes" + "tIamPermissionsResponse\"/\202\323\344\223\002)\"$/v1/{re" + - "source=**}:testIamPermissions:\001*Bp\n\021com." + - "google.iam.v1B\016IamPolicyProtoP\001Z0google.", - "golang.org/genproto/googleapis/iam/v1;ia" + - "m\370\001\001\252\002\023Google.Cloud.Iam.V1b\006proto3" + "source=**}:testIamPermissions:\001*B\206\001\n\021com" + + ".google.iam.v1B\016IamPolicyProtoP\001Z0google", + ".golang.org/genproto/googleapis/iam/v1;i" + + "am\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Clo" + + "ud\\Iam\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 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 e8c201f6c5e2..9b062cfe2bc0 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 @@ -39,6 +39,7 @@ public final class Policy extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.Policy) PolicyOrBuilder { +private static final long serialVersionUID = 0L; // Use Policy.newBuilder() to construct. private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -52,7 +53,7 @@ private Policy() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private Policy( com.google.protobuf.CodedInputStream input, @@ -60,6 +61,8 @@ private Policy( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -69,7 +72,8 @@ private Policy( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -104,6 +108,7 @@ private Policy( if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { bindings_ = java.util.Collections.unmodifiableList(bindings_); } + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -240,6 +245,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < bindings_.size(); i++) { output.writeMessage(4, bindings_.get(i)); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -259,11 +265,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, bindings_.get(i)); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -281,6 +287,7 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getBindingsList()); result = result && getEtag() .equals(other.getEtag()); + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -513,7 +520,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -526,12 +533,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -577,6 +584,7 @@ public Builder mergeFrom(com.google.iam.v1.Policy other) { if (other.getEtag() != com.google.protobuf.ByteString.EMPTY) { setEtag(other.getEtag()); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -1056,12 +1064,12 @@ public Builder clearEtag() { } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } 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 b961b9780b36..3f5fcd97a744 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 @@ -14,6 +14,7 @@ public final class PolicyDelta extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.PolicyDelta) PolicyDeltaOrBuilder { +private static final long serialVersionUID = 0L; // Use PolicyDelta.newBuilder() to construct. private PolicyDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -25,7 +26,7 @@ private PolicyDelta() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private PolicyDelta( com.google.protobuf.CodedInputStream input, @@ -33,6 +34,8 @@ private PolicyDelta( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -42,7 +45,8 @@ private PolicyDelta( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -67,6 +71,7 @@ private PolicyDelta( if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); } + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -152,6 +157,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < bindingDeltas_.size(); i++) { output.writeMessage(1, bindingDeltas_.get(i)); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -163,11 +169,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, bindingDeltas_.get(i)); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -181,6 +187,7 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && getBindingDeltasList() .equals(other.getBindingDeltasList()); + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -376,7 +383,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -389,12 +396,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -434,6 +441,7 @@ public Builder mergeFrom(com.google.iam.v1.PolicyDelta other) { } } } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -774,12 +782,12 @@ public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder( } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java index f962868d8097..bf2a6530b7aa 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java @@ -53,10 +53,11 @@ public static void registerAllExtensions( "lta\0222\n\006action\030\001 \001(\0162\".google.iam.v1.Bind" + "ingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006member\030" + "\003 \001(\t\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022", - "\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002Bm\n\021com.google.iam.v" + - "1B\013PolicyProtoP\001Z0google.golang.org/genp" + - "roto/googleapis/iam/v1;iam\370\001\001\252\002\023Google.C" + - "loud.Iam.V1b\006proto3" + "\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021com.google.iam." + + "v1B\013PolicyProtoP\001Z0google.golang.org/gen" + + "proto/googleapis/iam/v1;iam\370\001\001\252\002\023Google." + + "Cloud.Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006prot" + + "o3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 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 465995e2fd99..d41c22fe7707 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 @@ -14,6 +14,7 @@ public final class SetIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.SetIamPolicyRequest) SetIamPolicyRequestOrBuilder { +private static final long serialVersionUID = 0L; // Use SetIamPolicyRequest.newBuilder() to construct. private SetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -25,7 +26,7 @@ private SetIamPolicyRequest() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private SetIamPolicyRequest( com.google.protobuf.CodedInputStream input, @@ -33,6 +34,8 @@ private SetIamPolicyRequest( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -42,7 +45,8 @@ private SetIamPolicyRequest( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -74,6 +78,7 @@ private SetIamPolicyRequest( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -195,6 +200,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (policy_ != null) { output.writeMessage(2, getPolicy()); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -209,11 +215,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPolicy()); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -232,6 +238,7 @@ public boolean equals(final java.lang.Object obj) { result = result && getPolicy() .equals(other.getPolicy()); } + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -426,7 +433,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -439,12 +446,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -465,6 +472,7 @@ public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) { if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -771,12 +779,12 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } 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 b5a474f52714..1605181b0520 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 @@ -14,6 +14,7 @@ public final class TestIamPermissionsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsRequest) TestIamPermissionsRequestOrBuilder { +private static final long serialVersionUID = 0L; // Use TestIamPermissionsRequest.newBuilder() to construct. private TestIamPermissionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -26,7 +27,7 @@ private TestIamPermissionsRequest() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private TestIamPermissionsRequest( com.google.protobuf.CodedInputStream input, @@ -34,6 +35,8 @@ private TestIamPermissionsRequest( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -43,7 +46,8 @@ private TestIamPermissionsRequest( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -74,6 +78,7 @@ private TestIamPermissionsRequest( if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { permissions_ = permissions_.getUnmodifiableView(); } + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -211,6 +216,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, permissions_.getRaw(i)); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -229,11 +235,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPermissionsList().size(); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -249,6 +255,7 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getResource()); result = result && getPermissionsList() .equals(other.getPermissionsList()); + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -442,7 +449,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -455,12 +462,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -488,6 +495,7 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { } onChanged(); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -772,12 +780,12 @@ public Builder addPermissionsBytes( } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } 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 60c3dc9e823c..fe835f627b5d 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 @@ -14,6 +14,7 @@ public final class TestIamPermissionsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsResponse) TestIamPermissionsResponseOrBuilder { +private static final long serialVersionUID = 0L; // Use TestIamPermissionsResponse.newBuilder() to construct. private TestIamPermissionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -25,7 +26,7 @@ private TestIamPermissionsResponse() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private TestIamPermissionsResponse( com.google.protobuf.CodedInputStream input, @@ -33,6 +34,8 @@ private TestIamPermissionsResponse( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -42,7 +45,8 @@ private TestIamPermissionsResponse( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -67,6 +71,7 @@ private TestIamPermissionsResponse( if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { permissions_ = permissions_.getUnmodifiableView(); } + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -146,6 +151,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -161,11 +167,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPermissionsList().size(); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -179,6 +185,7 @@ public boolean equals(final java.lang.Object obj) { boolean result = true; result = result && getPermissionsList() .equals(other.getPermissionsList()); + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -365,7 +372,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -378,12 +385,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -407,6 +414,7 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) { } onChanged(); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -574,12 +582,12 @@ public Builder addPermissionsBytes( } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java index 12e98ab1e668..c727915d242e 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java @@ -16,6 +16,7 @@ public final class AuditData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.iam.v1.logging.AuditData) AuditDataOrBuilder { +private static final long serialVersionUID = 0L; // Use AuditData.newBuilder() to construct. private AuditData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); @@ -26,7 +27,7 @@ private AuditData() { @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return com.google.protobuf.UnknownFieldSet.getDefaultInstance(); + return this.unknownFields; } private AuditData( com.google.protobuf.CodedInputStream input, @@ -34,6 +35,8 @@ private AuditData( throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -43,7 +46,8 @@ private AuditData( done = true; break; default: { - if (!input.skipField(tag)) { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -69,6 +73,7 @@ private AuditData( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } @@ -132,6 +137,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (policyDelta_ != null) { output.writeMessage(2, getPolicyDelta()); } + unknownFields.writeTo(output); } public int getSerializedSize() { @@ -143,11 +149,11 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPolicyDelta()); } + size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { @@ -164,6 +170,7 @@ public boolean equals(final java.lang.Object obj) { result = result && getPolicyDelta() .equals(other.getPolicyDelta()); } + result = result && unknownFields.equals(other.unknownFields); return result; } @@ -355,7 +362,7 @@ public Builder clone() { } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( @@ -368,12 +375,12 @@ public Builder clearOneof( } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { @@ -390,6 +397,7 @@ public Builder mergeFrom(com.google.iam.v1.logging.AuditData other) { if (other.hasPolicyDelta()) { mergePolicyDelta(other.getPolicyDelta()); } + this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @@ -570,12 +578,12 @@ public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return this; + return super.mergeUnknownFields(unknownFields); } diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto index 15e216f194d9..a272fe8d7d9a 100644 --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto @@ -25,6 +25,7 @@ option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam"; option java_multiple_files = true; option java_outer_classname = "IamPolicyProto"; option java_package = "com.google.iam.v1"; +option php_namespace = "Google\\Cloud\\Iam\\V1"; // ## API Overview diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto index a09b54431384..9c31ccb14b1e 100644 --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto @@ -24,6 +24,7 @@ option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam"; option java_multiple_files = true; option java_outer_classname = "PolicyProto"; option java_package = "com.google.iam.v1"; +option php_namespace = "Google\\Cloud\\Iam\\V1"; // Defines an Identity and Access Management (IAM) policy. It is used to From ebc5cd47eefa3734f97ffa71d33bb00c11e272db Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Wed, 10 Jan 2018 11:52:56 +1100 Subject: [PATCH 0453/3036] all: fix copyright header (#2763) Fixes #2758. Change the copyright header of all manually-written files to the recommended format. The copyright year is not changed. Autogenerated files should be updated by the code generator. Created by command below: ```shell find -name '*.java' | xargs grep -FL 'Generated("by GAPIC' | xargs fr -f 'Copyright (\d\d\d\d).*' -t 'Copyright $1 Google LLC'` ``` --- .../java/com/google/cloud/grpc/BaseGrpcServiceException.java | 2 +- .../main/java/com/google/cloud/grpc/GrpcTransportOptions.java | 2 +- .../com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java | 2 +- .../java/com/google/cloud/grpc/GrpcTransportOptionsTest.java | 2 +- .../java/com/google/cloud/http/BaseHttpServiceException.java | 2 +- .../main/java/com/google/cloud/http/HttpTransportOptions.java | 2 +- .../com/google/cloud/http/BaseHttpServiceExceptionTest.java | 2 +- .../java/com/google/cloud/http/HttpTransportOptionsTest.java | 2 +- .../src/main/java/com/google/cloud/AsyncPageImpl.java | 2 +- .../src/main/java/com/google/cloud/BaseService.java | 2 +- .../src/main/java/com/google/cloud/BaseServiceException.java | 2 +- .../src/main/java/com/google/cloud/BaseWriteChannel.java | 2 +- .../src/main/java/com/google/cloud/BatchResult.java | 2 +- .../src/main/java/com/google/cloud/ByteArray.java | 2 +- .../google-cloud-core/src/main/java/com/google/cloud/Date.java | 2 +- .../src/main/java/com/google/cloud/ExceptionHandler.java | 2 +- .../src/main/java/com/google/cloud/FieldSelector.java | 2 +- .../src/main/java/com/google/cloud/GcpLaunchStage.java | 2 +- .../src/main/java/com/google/cloud/Identity.java | 2 +- .../src/main/java/com/google/cloud/MetadataConfig.java | 2 +- .../src/main/java/com/google/cloud/MonitoredResource.java | 2 +- .../main/java/com/google/cloud/MonitoredResourceDescriptor.java | 2 +- .../src/main/java/com/google/cloud/NoCredentials.java | 2 +- .../src/main/java/com/google/cloud/PageImpl.java | 2 +- .../src/main/java/com/google/cloud/PlatformInformation.java | 2 +- .../src/main/java/com/google/cloud/Policy.java | 2 +- .../src/main/java/com/google/cloud/ReadChannel.java | 2 +- .../src/main/java/com/google/cloud/Restorable.java | 2 +- .../src/main/java/com/google/cloud/RestorableState.java | 2 +- .../src/main/java/com/google/cloud/RetryHelper.java | 2 +- .../src/main/java/com/google/cloud/RetryOption.java | 2 +- .../google-cloud-core/src/main/java/com/google/cloud/Role.java | 2 +- .../src/main/java/com/google/cloud/Service.java | 2 +- .../src/main/java/com/google/cloud/ServiceDefaults.java | 2 +- .../src/main/java/com/google/cloud/ServiceFactory.java | 2 +- .../src/main/java/com/google/cloud/ServiceOptions.java | 2 +- .../src/main/java/com/google/cloud/ServiceRpc.java | 2 +- .../src/main/java/com/google/cloud/StringEnumType.java | 2 +- .../src/main/java/com/google/cloud/StringEnumValue.java | 2 +- .../src/main/java/com/google/cloud/Timestamp.java | 2 +- .../src/main/java/com/google/cloud/TransportOptions.java | 2 +- .../google-cloud-core/src/main/java/com/google/cloud/Tuple.java | 2 +- .../src/main/java/com/google/cloud/WriteChannel.java | 2 +- .../src/main/java/com/google/cloud/package-info.java | 2 +- .../src/main/java/com/google/cloud/spi/ServiceRpcFactory.java | 2 +- .../main/java/com/google/cloud/testing/BaseEmulatorHelper.java | 2 +- .../com/google/cloud/testing/BlockingProcessStreamReader.java | 2 +- .../src/main/java/com/google/cloud/testing/CommandWrapper.java | 2 +- .../src/main/java/com/google/cloud/testing/Version.java | 2 +- .../src/test/java/com/google/cloud/AsyncPageImplTest.java | 2 +- .../src/test/java/com/google/cloud/BaseSerializationTest.java | 2 +- .../test/java/com/google/cloud/BaseServiceExceptionTest.java | 2 +- .../src/test/java/com/google/cloud/BaseWriteChannelTest.java | 2 +- .../src/test/java/com/google/cloud/BatchResultTest.java | 2 +- .../src/test/java/com/google/cloud/ByteArrayTest.java | 2 +- .../src/test/java/com/google/cloud/DateTest.java | 2 +- .../src/test/java/com/google/cloud/ExceptionHandlerTest.java | 2 +- .../src/test/java/com/google/cloud/FieldSelectorHelperTest.java | 2 +- .../src/test/java/com/google/cloud/IdentityTest.java | 2 +- .../java/com/google/cloud/MonitoredResourceDescriptorTest.java | 2 +- .../src/test/java/com/google/cloud/MonitoredResourceTest.java | 2 +- .../src/test/java/com/google/cloud/PageImplTest.java | 2 +- .../src/test/java/com/google/cloud/PolicyTest.java | 2 +- .../src/test/java/com/google/cloud/RetryOptionTest.java | 2 +- .../src/test/java/com/google/cloud/RoleTest.java | 2 +- .../src/test/java/com/google/cloud/SerializationTest.java | 2 +- .../src/test/java/com/google/cloud/ServiceOptionsTest.java | 2 +- .../src/test/java/com/google/cloud/StringEnumTest.java | 2 +- .../src/test/java/com/google/cloud/TimestampTest.java | 2 +- .../java/com/google/cloud/testing/BaseEmulatorHelperTest.java | 2 +- .../google/cloud/testing/BlockingProcessStreamReaderTest.java | 2 +- .../test/java/com/google/cloud/testing/CommandWrapperTest.java | 2 +- .../src/test/java/com/google/cloud/testing/VersionTest.java | 2 +- 73 files changed, 73 insertions(+), 73 deletions(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java index e1516c01eefe..bf7581ec41a3 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index aa727f8d0b99..e8a3bf0a5505 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java index 8a95dfc55c8a..37acc1cf84f8 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java index 7aff66b2d643..8d60ef3f6864 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java index bc79026185ba..5ece1a7101a7 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 2ab57195d4d1..6b7ec6ed0588 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java index 0031f32e36da..52d17456ea97 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java index b0fec9185e93..100d50f0ef31 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index 643fe0b21d56..3acd0170bb41 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index de05bfb22b78..7db43727ba24 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 10625dd1c0c5..470c2cf9a8b4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index b5f6394a2f4c..15f93447b27a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java index 93f745efc8c2..ab967e577077 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 37c2e7918836..1d673770ce3f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java index 8f43be831e15..044a7ca72bf6 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index 70d6cd49bbea..921e97eb365f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java index 24706b52e5f3..0444bc476fd5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java index af4b951f34b1..d3f127f0f662 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index a548347654c6..68a8a5a7dea2 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index e6f93490f0be..1bac5b9b286d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java index 052a773560bd..da9007eff044 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java index e7789d31af95..d0301afb82fe 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java index 3172609e259b..e9ed09f25d59 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index b7309aab5dd2..c95b6b62b3b3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java index 272fda029350..467f19f4dbd3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 9c4282d14aab..474e19fc2e5f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index aa04baaab1ba..dc30ae67d027 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java index e2a515c7861a..d4b961d0a5c3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java index 4874756527f7..8e539812c8a0 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java index 34505f6d7ca5..dd6e4c692646 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java index 09bfa4b5def9..fb5c0e8b4ac9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java index e7742b2b9384..fd762228d0ef 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java index 44a9f5372d81..bfacabdf7f80 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Service.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java index 691854577462..19988fd2aec6 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java index bb06127c77c6..95eaeb44c690 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index cca3518c29aa..51f5a52f267b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java index 554e33271a08..6db7d6f9db11 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java index 5d5e11dbc41a..ee54b3acdcd3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java index f027fda5b392..9bfe3df81523 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index bbad6abc6458..456877bd2740 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java index 84a6001f3db1..3626db0e37a7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java index 1536a5d271f0..c9d2b9bc2576 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Tuple.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java index 172e4b03bfdb..ff065266c8c9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java index 50a9efa04505..d1212ad6bb76 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java index 4dcf540253e2..bd27986e1d7a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index c84980700d91..b8f7be44874f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java index f4e69b9b6e19..6db3169ab048 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java index eaafca79394c..7158c23b6495 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java index bab865eee2ef..c069bd99e429 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index 50f19725c897..f871ab395a2f 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java index 57603b9026d8..84db30197b3d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 80476fdb0345..5c5773d26f17 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index 1baae9a7e729..03dd66624ca1 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java index 3ce49a8e6fff..001bba983407 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java index 0adf2fe8be79..c3433016c79e 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java index 30a872491a78..3c2817a92c68 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java index 0a704fccf181..c668df83bd61 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java index d95200a1c7b6..2048a545396b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index 0063bdb04dcd..e4227019b3ea 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java index e380eab47133..16c2924c84ae 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java index 324ed740e433..72c6a45dc0d7 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index 2193981ae8ea..47d434ec2aa2 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java index cc334ec73271..48c8bbbc08ce 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java index 26daff4113f2..4ad000bb7830 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java index 75df1d301dad..18cb039f1a53 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index c76a7f9dc28a..62030b168fa8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 6bd613d6cfa2..7afcb7f581b8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Google Inc. All Rights Reserved. + * Copyright 2015 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java index 613f3676cc60..362ef4529c07 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 6aaf048937bc..2aa07999c823 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2017 Google Inc. All Rights Reserved. + * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java index b4c334762bdb..e8f5ed565fe4 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java index 1b22c9f3ff91..a2c854ffb941 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java index cfea5a03dd81..51f38e70db5a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java index 163cf3c3fd39..f55659a03098 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. All Rights Reserved. + * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. From 986555c65902fb4b705c8fb0583b28978429e46c Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 17 Jan 2018 08:16:51 -0800 Subject: [PATCH 0454/3036] Java: Regenerating core packages and bumping versions (#515) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- .../google/iam/v1/GetIamPolicyRequest.java | 21 +++++++++++++++++++ .../google/iam/v1/SetIamPolicyRequest.java | 21 +++++++++++++++++++ .../iam/v1/TestIamPermissionsRequest.java | 21 +++++++++++++++++++ 5 files changed, 65 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index c2fff5f27a54..94218d73b78e 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.27" +version = "0.1.28" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 2c3316bd5960..f84ffb80dab3 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.27" +version = "0.1.28" sourceCompatibility = 1.7 targetCompatibility = 1.7 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 38df74ab916b..647dcdf123ab 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 @@ -523,6 +523,13 @@ public final Builder mergeUnknownFields( } + /** + * @deprecated Use the following instead: + *
    
    +     * protoBuilder.setResource(resourceName.toString());
    +     * 
    + */ + @Deprecated public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { if (value == null) { return setResource(""); @@ -530,6 +537,13 @@ public final Builder setResourceWithResourceName(com.google.api.resourcenames.Re return setResource(value.toString()); } + /** + * @deprecated Use the following instead: + *
    
    +     * ResourceName.parse(protoBuilder.getResource());
    +     * 
    + */ + @Deprecated public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { java.lang.String str = getResource(); if (str.isEmpty()) { @@ -540,6 +554,13 @@ public final com.google.api.resourcenames.ResourceName getResourceAsResourceName // @@protoc_insertion_point(builder_scope:google.iam.v1.GetIamPolicyRequest) } + /** + * @deprecated Use the following instead: + *
    
    +   * ResourceName.parse(protoObject.getResource());
    +   * 
    + */ + @Deprecated public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { java.lang.String str = getResource(); if (str.isEmpty()) { 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 d41c22fe7707..8a0e1eef439b 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 @@ -788,6 +788,13 @@ public final Builder mergeUnknownFields( } + /** + * @deprecated Use the following instead: + *
    
    +     * protoBuilder.setResource(resourceName.toString());
    +     * 
    + */ + @Deprecated public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { if (value == null) { return setResource(""); @@ -795,6 +802,13 @@ public final Builder setResourceWithResourceName(com.google.api.resourcenames.Re return setResource(value.toString()); } + /** + * @deprecated Use the following instead: + *
    
    +     * ResourceName.parse(protoBuilder.getResource());
    +     * 
    + */ + @Deprecated public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { java.lang.String str = getResource(); if (str.isEmpty()) { @@ -805,6 +819,13 @@ public final com.google.api.resourcenames.ResourceName getResourceAsResourceName // @@protoc_insertion_point(builder_scope:google.iam.v1.SetIamPolicyRequest) } + /** + * @deprecated Use the following instead: + *
    
    +   * ResourceName.parse(protoObject.getResource());
    +   * 
    + */ + @Deprecated public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { java.lang.String str = getResource(); if (str.isEmpty()) { 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 1605181b0520..6508a1b2e4a3 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 @@ -789,6 +789,13 @@ public final Builder mergeUnknownFields( } + /** + * @deprecated Use the following instead: + *
    
    +     * protoBuilder.setResource(resourceName.toString());
    +     * 
    + */ + @Deprecated public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { if (value == null) { return setResource(""); @@ -796,6 +803,13 @@ public final Builder setResourceWithResourceName(com.google.api.resourcenames.Re return setResource(value.toString()); } + /** + * @deprecated Use the following instead: + *
    
    +     * ResourceName.parse(protoBuilder.getResource());
    +     * 
    + */ + @Deprecated public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { java.lang.String str = getResource(); if (str.isEmpty()) { @@ -806,6 +820,13 @@ public final com.google.api.resourcenames.ResourceName getResourceAsResourceName // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsRequest) } + /** + * @deprecated Use the following instead: + *
    
    +   * ResourceName.parse(protoObject.getResource());
    +   * 
    + */ + @Deprecated public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { java.lang.String str = getResource(); if (str.isEmpty()) { From 41dfb6b93d8801ca8c124dcf5eb12a4100238cff Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 17 Jan 2018 15:26:06 -0800 Subject: [PATCH 0455/3036] Bumping to 1.15.0/0.33.0 for release --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4664c9ebc8ac..e94773a725bd 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.14.1-SNAPSHOT + 1.15.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.32.1-alpha-SNAPSHOT + 0.33.0-alpha 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 29cb2d349f6a..f3fe2f0a79cb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.14.1-SNAPSHOT + 1.15.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.32.1-alpha-SNAPSHOT + 0.33.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 8b7858b9a68b..b30d622f548d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.14.0 + 1.15.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.14.0' +compile 'com.google.cloud:google-cloud-core:1.15.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.14.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.15.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b8ba2578dc5a..5d124f34a7ad 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.14.1-SNAPSHOT + 1.15.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.32.1-alpha-SNAPSHOT + 0.33.0-alpha google-cloud-core From bb0e908ba9a9f2679935816c537868f6f110819b Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 17 Jan 2018 17:13:33 -0800 Subject: [PATCH 0456/3036] Bumping to next snapshot versions (#2789) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e94773a725bd..0eda6000c7dc 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.15.0 + 1.15.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.33.0-alpha + 0.33.1-alpha-SNAPSHOT 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 f3fe2f0a79cb..e056872386c7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.15.0 + 1.15.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.33.0-alpha + 0.33.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5d124f34a7ad..948b7bae3d23 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.15.0 + 1.15.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.33.0-alpha + 0.33.1-alpha-SNAPSHOT google-cloud-core From a5dafc2ebc002f55661d075ee99011580f61f07c Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Thu, 1 Feb 2018 09:17:58 -0800 Subject: [PATCH 0457/3036] Validate project-id returned from metadata server (#2822) * Validate project-id returned from metadata server to handle cases in which a descriptive failure html page is returned instead of the projectid itself from server when projects are not running in google cloud machines. * update comments * Validate project-id returned from metadata server to handle cases in which a descriptive failure html page is returned instead of the projectid itself from server when projects are not running in google cloud machines. * update comments * fix code review problems * Fix code review problems * fix code review problems * fix useless parentheses --- .../java/com/google/cloud/ServiceOptions.java | 26 ++++++++++++++++++- .../com/google/cloud/ServiceOptionsTest.java | 10 +++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 51f5a52f267b..d57c24bc2a17 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -452,7 +452,8 @@ private static String getAppEngineProjectIdFromMetadataServer() throws IOExcepti .setReadTimeout(500) .setHeaders(new HttpHeaders().set("Metadata-Flavor", "Google")); HttpResponse response = request.execute(); - return response.parseAsString(); + String projectId = response.parseAsString(); + return projectId != null && isValidProjectId(projectId)? projectId : null; } protected static String getServiceAccountProjectId() { @@ -476,6 +477,29 @@ static String getServiceAccountProjectId(String credentialsPath) { return project; } + /* + * Returns true if the projectId is valid. This method checks whether the projectId + * contains only lowercase letters, digits and hyphens, starts with a lowercase letter + * and does not end with a hyphen, but does not check the length of projectId. This + * method is primarily used to protect against DNS hijacking. + */ + static boolean isValidProjectId(String projectId) { + for (char c : projectId.toCharArray()) { + if (!isLowerCase(c) && !isDigit(c) && c != '-') { + return false; + } + } + return projectId.length() > 0 && isLowerCase(projectId.charAt(0)) + && !projectId.endsWith("-"); + } + + private static boolean isLowerCase(char c) { + return c >= 'a' && c <= 'z'; + } + + private static boolean isDigit(char c) { + return c >= '0' && c <= '9'; + } /** * Returns a Service object for the current service. For instance, when using Google Cloud diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 7afcb7f581b8..ce72245d9e68 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -23,6 +23,7 @@ import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import static com.google.common.truth.Truth.assertThat; import com.google.api.core.ApiClock; import com.google.api.core.CurrentMillisClock; @@ -313,4 +314,13 @@ public void testGetServiceAccountProjectId_nonExistentFile() throws Exception { assertNull(ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); } + + @Test + public void testValidateProjectId() throws Exception { + assertThat(ServiceOptions.isValidProjectId("abc-123")).isTrue(); + assertThat(ServiceOptions.isValidProjectId("abc-123-ab")).isTrue(); + assertThat(ServiceOptions.isValidProjectId("abc=123")).isFalse(); + assertThat(ServiceOptions.isValidProjectId("abc123-")).isFalse(); + assertThat(ServiceOptions.isValidProjectId("1abc-23")).isFalse(); + } } From c588dcdb45b4bd9e29c0401c387baf9ab8db5a22 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Thu, 1 Feb 2018 13:42:42 -0800 Subject: [PATCH 0458/3036] Revert "Validate project-id returned from metadata server (#2822)" (#2833) This reverts commit 536af840f93622a8743d7c129104e72909aeab0a. --- .../java/com/google/cloud/ServiceOptions.java | 26 +------------------ .../com/google/cloud/ServiceOptionsTest.java | 10 ------- 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index d57c24bc2a17..51f5a52f267b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -452,8 +452,7 @@ private static String getAppEngineProjectIdFromMetadataServer() throws IOExcepti .setReadTimeout(500) .setHeaders(new HttpHeaders().set("Metadata-Flavor", "Google")); HttpResponse response = request.execute(); - String projectId = response.parseAsString(); - return projectId != null && isValidProjectId(projectId)? projectId : null; + return response.parseAsString(); } protected static String getServiceAccountProjectId() { @@ -477,29 +476,6 @@ static String getServiceAccountProjectId(String credentialsPath) { return project; } - /* - * Returns true if the projectId is valid. This method checks whether the projectId - * contains only lowercase letters, digits and hyphens, starts with a lowercase letter - * and does not end with a hyphen, but does not check the length of projectId. This - * method is primarily used to protect against DNS hijacking. - */ - static boolean isValidProjectId(String projectId) { - for (char c : projectId.toCharArray()) { - if (!isLowerCase(c) && !isDigit(c) && c != '-') { - return false; - } - } - return projectId.length() > 0 && isLowerCase(projectId.charAt(0)) - && !projectId.endsWith("-"); - } - - private static boolean isLowerCase(char c) { - return c >= 'a' && c <= 'z'; - } - - private static boolean isDigit(char c) { - return c >= '0' && c <= '9'; - } /** * Returns a Service object for the current service. For instance, when using Google Cloud diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index ce72245d9e68..7afcb7f581b8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -23,7 +23,6 @@ import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import static com.google.common.truth.Truth.assertThat; import com.google.api.core.ApiClock; import com.google.api.core.CurrentMillisClock; @@ -314,13 +313,4 @@ public void testGetServiceAccountProjectId_nonExistentFile() throws Exception { assertNull(ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); } - - @Test - public void testValidateProjectId() throws Exception { - assertThat(ServiceOptions.isValidProjectId("abc-123")).isTrue(); - assertThat(ServiceOptions.isValidProjectId("abc-123-ab")).isTrue(); - assertThat(ServiceOptions.isValidProjectId("abc=123")).isFalse(); - assertThat(ServiceOptions.isValidProjectId("abc123-")).isFalse(); - assertThat(ServiceOptions.isValidProjectId("1abc-23")).isFalse(); - } } From f01111f78db2b635d98cf934fa651b163f7b83ca Mon Sep 17 00:00:00 2001 From: neozwu Date: Fri, 2 Feb 2018 15:19:15 -0800 Subject: [PATCH 0459/3036] java batch refresh (#581) * java batch refresh * add speech_v1p1beta1 --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 94218d73b78e..12d9f66581b9 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.28" +version = "0.1.29" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index f84ffb80dab3..6b3e11256275 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.28" +version = "0.1.29" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -32,6 +32,9 @@ ext { sourceSets { main { + resources { + srcDir 'src/main/proto' + } java { srcDir 'src/main/java' } From 9bb7f7e7972532cac9ce5d3648ca75f5417a5220 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 5 Feb 2018 11:40:50 -0800 Subject: [PATCH 0460/3036] bump version to 0.34.0/0.16.0 for release (#2856) * bump version to 0.34.0/0.16.0 for release * bump bom in pom --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0eda6000c7dc..f205d8dd186e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.15.1-SNAPSHOT + 1.16.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.33.1-alpha-SNAPSHOT + 0.34.0-alpha 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 e056872386c7..1cca28921441 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.15.1-SNAPSHOT + 1.16.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.33.1-alpha-SNAPSHOT + 0.34.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b30d622f548d..e70bc46c4f9a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.15.0 + 1.16.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.15.0' +compile 'com.google.cloud:google-cloud-core:1.16.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.16.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 948b7bae3d23..c4d5a8a60cf2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.15.1-SNAPSHOT + 1.16.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.33.1-alpha-SNAPSHOT + 0.34.0-alpha google-cloud-core From 5a8f7a30a80398883d352829ece87587af3a51cb Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 5 Feb 2018 13:08:51 -0800 Subject: [PATCH 0461/3036] bump version for dev (#2859) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f205d8dd186e..5f135de5b792 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.16.0 + 1.16.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.34.0-alpha + 0.34.1-alpha-SNAPSHOT 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 1cca28921441..9342f9225e1c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.16.0 + 1.16.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.34.0-alpha + 0.34.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c4d5a8a60cf2..a9f367796a5b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.16.0 + 1.16.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.34.0-alpha + 0.34.1-alpha-SNAPSHOT google-cloud-core From 3e7eef7dac06ba20866eb44569f9f8e422f8e7fd Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 6 Feb 2018 09:46:28 +1100 Subject: [PATCH 0462/3036] use GAE_RUNTIME to detect java version (#2837) Fixes #2805. --- .../com/google/cloud/PlatformInformation.java | 26 +++---------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java index 467f19f4dbd3..8c77bb9e911f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java @@ -20,35 +20,15 @@ @InternalApi("This class should only be used within google-cloud-java") public final class PlatformInformation { - public static final String SPECIFICATION_VERSION = - System.getProperty("java.specification.version"); - public static final String GAE_RUNTIME_VERSION = - System.getProperty("com.google.appengine.runtime.version"); - public static final String RUNTIME_JETTY_LOGGER = - System.getProperty("org.eclipse.jetty.util.log.class"); - public static final String JETTY_LOGGER_ON_GAE8_PROD = - "com.google.apphosting.runtime.jetty9.JettyLogger"; - public static final String JETTY_LOGGER_ON_GAE8_DEVSERVER = - " com.google.appengine.development.jetty9.JettyLogger"; //note the leading space + public static final String GAE_RUNTIME = System.getenv("GAE_RUNTIME"); private PlatformInformation() {} - public static boolean isOnGAE() { - return GAE_RUNTIME_VERSION != null; - } - public static boolean isOnGAEStandard7() { - //edge case: when a Java 7 GAE app is deployed to DevServer running on J8, SPECIFICATION_VERSION will be "1.8", - //but RUNTIME_JETTY_LOGGER is unset - return isOnGAE() && SPECIFICATION_VERSION.equals("1.7") - || isOnGAE() && RUNTIME_JETTY_LOGGER == null; + return "java7".equals(GAE_RUNTIME); } public static boolean isOnGAEStandard8() { - return isOnGAE() - && !SPECIFICATION_VERSION.equals("1.7") - && RUNTIME_JETTY_LOGGER != null - && (RUNTIME_JETTY_LOGGER.equals(JETTY_LOGGER_ON_GAE8_DEVSERVER) - || RUNTIME_JETTY_LOGGER.equals(JETTY_LOGGER_ON_GAE8_PROD)); + return "java8".equals(GAE_RUNTIME); } } From b6c133f0bed60bf0f3882f9850ea0c9fbb450248 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Wed, 7 Feb 2018 11:52:18 +1100 Subject: [PATCH 0463/3036] use grpc-netty-shaded (#2832) Fixes #2813. --- java-core/google-cloud-core-grpc/pom.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5f135de5b792..2dbc4efa33da 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -18,10 +18,6 @@ google-cloud-core-grpc - - io.netty - netty-tcnative-boringssl-static - com.google.auth google-auth-library-credentials @@ -67,7 +63,7 @@ io.grpc - grpc-netty + grpc-netty-shaded io.grpc From b66fa4ebc6ac0776b6c30b73ea38ab616cd58476 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 8 Feb 2018 16:12:06 -0800 Subject: [PATCH 0464/3036] Removing Travis (#2883) --- java-core/google-cloud-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e70bc46c4f9a..b67914f38fea 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -3,7 +3,7 @@ Google Cloud Java Client -- Core This module provides common functionality required by service-specific modules of this library. -[![Build Status](https://travis-ci.org/GoogleCloudPlatform/google-cloud-java.svg?branch=master)](https://travis-ci.org/GoogleCloudPlatform/google-cloud-java) +[![CircleCI](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/tree/master.svg?style=shield)](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/tree/master) [![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/google-cloud-java?branch=master) [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) From 7d37a633c44f81432001aa973d89c9c8de58259d Mon Sep 17 00:00:00 2001 From: Hailong Wen Date: Thu, 8 Feb 2018 20:02:00 -0800 Subject: [PATCH 0465/3036] Add initial opencensus instrumentation code in Cloud Storage. (#2846) --- java-core/google-cloud-core-http/pom.xml | 8 + .../google/cloud/http/CensusHttpModule.java | 167 ++++++++++++++++++ .../cloud/http/CensusHttpModuleTest.java | 159 +++++++++++++++++ 3 files changed, 334 insertions(+) create mode 100644 java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java create mode 100644 java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 9342f9225e1c..367c2092db4a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -123,5 +123,13 @@ guava-testlib test + + io.opencensus + opencensus-api + + + io.opencensus + opencensus-contrib-http-util + diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java new file mode 100644 index 000000000000..0eb882e193f8 --- /dev/null +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java @@ -0,0 +1,167 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.http; + +import static com.google.common.base.Preconditions.checkNotNull; +import com.google.api.client.http.HttpExecuteInterceptor; +import com.google.api.client.http.HttpHeaders; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.common.annotations.VisibleForTesting; +import io.opencensus.contrib.http.util.HttpPropagationUtil; +import io.opencensus.trace.SpanContext; +import io.opencensus.trace.Tracer; +import io.opencensus.trace.propagation.TextFormat; +import java.io.IOException; +import javax.annotation.Nullable; + +/** + * Provides utilities for Open Census to record http stats/trace information and propagate tracing + * context. + */ +public final class CensusHttpModule { + + /** + * OpenCensus tracing component. + * When no OpenCensus implementation is provided, it will return a no-op tracer. + */ + private final Tracer tracer; + + /** + * {@link TextFormat} used in tracing context propagation. + */ + @Nullable + private final TextFormat propagationTextFormat; + + /** + * {@link TextFormat.Setter} for {@link #propagationTextFormat}. + */ + @Nullable + private final TextFormat.Setter propagationTextFormatSetter; + + /** + * Whether spans are stored locally. + */ + private final boolean isRecordEvents; + + /** + * Default HTTP propagation text formatter. + */ + @VisibleForTesting + final static class DefaultPropagationTextFormatSetter extends TextFormat.Setter { + static final TextFormat.Setter INSTANCE = new DefaultPropagationTextFormatSetter(); + + @Override + public void put(HttpHeaders carrier, String key, String value) { + carrier.set(key, value); + } + } + + /** + * An {@link HttpExecuteInterceptor} implementation to inject HTTP request and add getContext + * information before it is executed. + */ + @VisibleForTesting + final class CensusHttpExecuteInterceptor implements HttpExecuteInterceptor { + @Nullable + HttpExecuteInterceptor interceptor; + + CensusHttpExecuteInterceptor(HttpExecuteInterceptor interceptor) { + this.interceptor = interceptor; + } + + @Override + public void intercept(HttpRequest request) throws IOException { + checkNotNull(request); + if (this.interceptor != null) { + this.interceptor.intercept(request); + } + if (propagationTextFormat != null && propagationTextFormatSetter != null) { + SpanContext spanContext = tracer.getCurrentSpan().getContext(); + if (!SpanContext.INVALID.equals(spanContext)) { + propagationTextFormat.inject( + spanContext, request.getHeaders(), propagationTextFormatSetter); + } + } + } + } + + /** + * An {@link HttpRequestInitializer} implementation to set {@link CensusHttpExecuteInterceptor} as + * interceptor. + */ + @VisibleForTesting + final class CensusHttpRequestInitializer implements HttpRequestInitializer { + @Nullable + HttpRequestInitializer initializer; + + CensusHttpRequestInitializer(HttpRequestInitializer initializer) { + this.initializer = initializer; + } + + @Override + public void initialize(HttpRequest request) throws IOException { + checkNotNull(request); + if (this.initializer != null) { + this.initializer.initialize(request); + } + request.setInterceptor(new CensusHttpExecuteInterceptor(request.getInterceptor())); + } + } + + /** + * Creates a {@link CensusHttpModule} with given parameters. + * + * @param tracer the OpenCensus {@code Tracer}. + * @param isRecordEvents whether spans are stored locally. + */ + public CensusHttpModule(Tracer tracer, boolean isRecordEvents) { + checkNotNull(tracer, "tracer"); + this.tracer = tracer; + this.isRecordEvents = isRecordEvents; + this.propagationTextFormat = HttpPropagationUtil.getCloudTraceFormat(); + this.propagationTextFormatSetter = DefaultPropagationTextFormatSetter.INSTANCE; + } + + /** + * Returns the tracing component of OpenCensus. + * + * @return the tracing component of OpenCensus. + */ + public Tracer getTracer() { + return tracer; + } + + /** + * Returns whether spans are stored locally. + * + * @return whether spans are stored locally. + */ + public boolean isRecordEvents() { + return isRecordEvents; + } + + /** + * Returns the {@link HttpExecuteInterceptor} used when initializing the {@link HttpRequest}. + * + * @param initializer the original initializer which will be executed before this initializer. + * @return the {@code HttpExecuteInterceptor}. + */ + public HttpRequestInitializer getHttpRequestInitializer(HttpRequestInitializer initializer) { + return new CensusHttpRequestInitializer(initializer); + } +} diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java new file mode 100644 index 000000000000..abc7f7de787a --- /dev/null +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java @@ -0,0 +1,159 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.http; + +import static com.google.common.truth.Truth.assertThat; + +import static org.easymock.EasyMock.createMock; +import static org.easymock.EasyMock.createMockBuilder; +import static org.easymock.EasyMock.replay; +import static org.easymock.EasyMock.verify; + +import com.google.api.client.http.HttpExecuteInterceptor; +import com.google.api.client.http.GenericUrl; +import com.google.api.client.http.HttpHeaders; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpRequestInitializer; +import com.google.api.client.http.javanet.NetHttpTransport; + +import io.opencensus.common.Scope; +import io.opencensus.trace.Span; +import io.opencensus.trace.SpanContext; +import io.opencensus.trace.SpanId; +import io.opencensus.trace.TraceId; +import io.opencensus.trace.TraceOptions; +import io.opencensus.trace.Tracer; +import io.opencensus.trace.Tracing; +import io.opencensus.trace.propagation.TextFormat; + +import java.io.IOException; +import java.util.EnumSet; +import java.util.Random; + +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** Tests for {@link CensusHttpModule}. */ +@RunWith(JUnit4.class) +public class CensusHttpModuleTest { + + @Rule public final ExpectedException thrown = ExpectedException.none(); + + private final Tracer tracer = Tracing.getTracer(); + private final CensusHttpModule censusHttpModule = new CensusHttpModule(tracer, false); + private HttpRequest httpRequest; + + @Before + public void setUp() throws IOException { + httpRequest = new NetHttpTransport().createRequestFactory().buildRequest( + "GET", new GenericUrl("https://www.google.com"), null); + } + + @Test + public void tracerShouldNotBeNull() { + assertThat(censusHttpModule.getTracer()).isNotNull(); + } + + @Test + public void isRecordEventsShouldBeSet() { + assertThat(censusHttpModule.isRecordEvents()).isEqualTo(false); + } + + @Test + public void getHttpRequestInitializerShouldReturnCorrectClass() { + HttpRequestInitializer initializer = censusHttpModule.getHttpRequestInitializer(null); + assertThat(initializer).isInstanceOf(CensusHttpModule.CensusHttpRequestInitializer.class); + } + + @Test + public void implementationOfDefaultTextFormatSetter() { + String testKey = "testKey"; + String testValue = "testValue"; + TextFormat.Setter setter = + CensusHttpModule.DefaultPropagationTextFormatSetter.INSTANCE; + setter.put(httpRequest.getHeaders(), testKey, testValue); + assertThat(httpRequest.getHeaders().get(testKey)).isEqualTo(testValue); + } + + @Test + public void censusHttpExecuteInterceptorDisallowNullRequest() throws IOException { + HttpExecuteInterceptor interceptor = censusHttpModule.new CensusHttpExecuteInterceptor(null); + thrown.expect(NullPointerException.class); + interceptor.intercept(null); + } + + @Test + public void censusHttpExecuteInterceptorShouldExecuteOriginal() throws IOException { + HttpExecuteInterceptor mockInterceptor = createMock(HttpExecuteInterceptor.class); + HttpExecuteInterceptor censusInterceptor = censusHttpModule.new CensusHttpExecuteInterceptor( + mockInterceptor); + mockInterceptor.intercept(httpRequest); + replay(mockInterceptor); + censusInterceptor.intercept(httpRequest); + verify(mockInterceptor); + } + + @Test + public void censusHttpExecuteInterceptorShouldInjectHeader() throws IOException { + Random random = new Random(); + SpanContext spanContext = SpanContext.create( + TraceId.generateRandomId(random), + SpanId.generateRandomId(random), + TraceOptions.DEFAULT); + Span mockSpan = createMockBuilder(Span.class) + .withConstructor(SpanContext.class, EnumSet.class) + .withArgs(spanContext, null) + .createMock(); + Scope scope = tracer.withSpan(mockSpan); + try { + HttpExecuteInterceptor interceptor = censusHttpModule.new CensusHttpExecuteInterceptor(null); + interceptor.intercept(httpRequest); + assertThat(httpRequest.getHeaders().get("X-Cloud-Trace-Context")).isNotNull(); + } finally { + scope.close(); + } + } + + @Test + public void censusHttpRequestInitializerDisallowNullRequest() throws IOException { + HttpRequestInitializer initializer = censusHttpModule.getHttpRequestInitializer(null); + thrown.expect(NullPointerException.class); + initializer.initialize(null); + } + + @Test + public void censusHttpRequestInitializerShouldExecuteOriginal() throws IOException { + HttpRequestInitializer mockOriginalInitializer = createMock(HttpRequestInitializer.class); + HttpRequestInitializer censusInitializer = censusHttpModule.getHttpRequestInitializer( + mockOriginalInitializer); + mockOriginalInitializer.initialize(httpRequest); + replay(mockOriginalInitializer); + censusInitializer.initialize(httpRequest); + verify(mockOriginalInitializer); + } + + @Test + public void censusHttpRequestInitializerShouldSetInterceptor() throws IOException { + censusHttpModule.getHttpRequestInitializer(null).initialize(httpRequest); + assertThat(httpRequest.getInterceptor()).isInstanceOf( + CensusHttpModule.CensusHttpExecuteInterceptor.class); + } +} From b2c188a7e760c3fa6cc19d09af5678fd9c6dba25 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Tue, 13 Feb 2018 15:19:12 -0800 Subject: [PATCH 0466/3036] Add validation for project-id returned by metadata server (#2868) Validate the project id returned by metadata server by checking the Metadata-Flavor field in the header. --- .../java/com/google/cloud/ServiceOptions.java | 8 ++- .../com/google/cloud/ServiceOptionsTest.java | 49 +++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 51f5a52f267b..950c6fd8e485 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -452,7 +452,13 @@ private static String getAppEngineProjectIdFromMetadataServer() throws IOExcepti .setReadTimeout(500) .setHeaders(new HttpHeaders().set("Metadata-Flavor", "Google")); HttpResponse response = request.execute(); - return response.parseAsString(); + return headerContainsMetadataFlavor(response) ? response.parseAsString() : null; + } + + @InternalApi("Visible for testing") + static boolean headerContainsMetadataFlavor(HttpResponse response) { + String metadataFlavorValue = response.getHeaders().getFirstHeaderStringValue("Metadata-Flavor"); + return "Google".equals(metadataFlavorValue); } protected static String getServiceAccountProjectId() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 7afcb7f581b8..49190fc4c2ab 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -16,6 +16,7 @@ package com.google.cloud; +import static com.google.common.truth.Truth.assertThat; import static junit.framework.TestCase.assertFalse; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; @@ -26,16 +27,29 @@ import com.google.api.core.ApiClock; import com.google.api.core.CurrentMillisClock; +import com.google.api.client.http.HttpResponse; +import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpTransport; +import com.google.api.client.http.LowLevelHttpResponse; +import com.google.api.client.http.LowLevelHttpRequest; +import com.google.api.client.testing.http.HttpTesting; +import com.google.api.client.testing.http.MockHttpTransport; +import com.google.api.client.testing.http.MockLowLevelHttpRequest; +import com.google.api.client.testing.http.MockLowLevelHttpResponse; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; + import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; +import java.util.Map; import java.util.Set; import java.util.regex.Pattern; +import com.google.common.collect.ArrayListMultimap; +import com.google.common.collect.Multimap; import com.google.common.io.Files; import org.junit.Rule; import org.junit.Test; @@ -313,4 +327,39 @@ public void testGetServiceAccountProjectId_nonExistentFile() throws Exception { assertNull(ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); } + + @Test + public void testResponseHeaderContainsMetaDataFlavor() throws Exception { + Multimap headers = ArrayListMultimap.create(); + headers.put("Metadata-Flavor", "Google"); + HttpResponse httpResponse = createHttpResponseWithHeader(headers); + assertThat(ServiceOptions.headerContainsMetadataFlavor(httpResponse)).isTrue(); + } + + @Test + public void testResponseHeaderDoesNotContainMetaDataFlavor() throws Exception { + Multimap headers = ArrayListMultimap.create(); + HttpResponse httpResponse = createHttpResponseWithHeader(headers); + assertThat(ServiceOptions.headerContainsMetadataFlavor(httpResponse)).isFalse(); + } + + private HttpResponse createHttpResponseWithHeader(final Multimap headers) throws Exception { + HttpTransport mockHttpTransport = new MockHttpTransport() { + @Override + public LowLevelHttpRequest buildRequest(String method, String url) throws IOException { + return new MockLowLevelHttpRequest() { + @Override + public LowLevelHttpResponse execute() throws IOException { + MockLowLevelHttpResponse response = new MockLowLevelHttpResponse(); + for (Map.Entry entry : headers.entries()) { + response.addHeader(entry.getKey(), entry.getValue()); + } + return response; + } + }; + } + }; + HttpRequest request = mockHttpTransport.createRequestFactory().buildGetRequest(HttpTesting.SIMPLE_GENERIC_URL); + return request.execute(); + } } From 419885a4022d05ceafea56bbe4be86ce7e0ceccb Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 15 Feb 2018 09:00:42 +1100 Subject: [PATCH 0467/3036] core: make BaseWriteChannel surprise less (#2900) Fixes #2895. The chunk size should round up, not down. Fixes #2896 by removing flush from capture. It is too surprising that capture might fail. --- .../com/google/cloud/BaseWriteChannel.java | 6 ++--- .../java/com/google/cloud/WriteChannel.java | 4 +--- .../google/cloud/BaseWriteChannelTest.java | 24 +++++++++++-------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index 15f93447b27a..1888b2a78c42 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -104,8 +104,9 @@ protected int getChunkSize() { @Override public final void setChunkSize(int chunkSize) { - chunkSize = (chunkSize / getMinChunkSize()) * getMinChunkSize(); - this.chunkSize = Math.max(getMinChunkSize(), chunkSize); + int minSize = getMinChunkSize(); + + this.chunkSize = Math.max(minSize, (chunkSize + minSize - 1) / minSize * minSize); } @InternalApi("This class should only be extended within google-cloud-java") @@ -173,7 +174,6 @@ public final void close() throws IOException { public RestorableState capture() { byte[] bufferToSave = null; if (isOpen) { - flush(); bufferToSave = Arrays.copyOf(buffer, limit); } return stateBuilder() diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java index ff065266c8c9..deb57b92599d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java @@ -23,13 +23,11 @@ * A channel for writing data to Google Cloud services. * *

    Implementations of this class may further buffer data internally to reduce remote calls. - * Written data will only be visible after calling {@link #close()}. This interface implements + * Written data might not be visible until calling {@link #close()}. This interface implements * {@link Restorable} to allow saving the writer's state to continue writing afterwards. - *

    */ public interface WriteChannel extends WritableByteChannel, Closeable, Restorable { - /** * Sets the minimum size that will be written by a single RPC. * Written data will be buffered and only flushed upon reaching this size or closing the channel. diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index 03dd66624ca1..985310f9398f 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -16,6 +16,7 @@ package com.google.cloud; +import static com.google.common.truth.Truth.assertThat; import static junit.framework.TestCase.assertFalse; import static junit.framework.TestCase.assertTrue; import static org.junit.Assert.assertArrayEquals; @@ -23,18 +24,16 @@ import static org.junit.Assert.assertNull; import com.google.cloud.spi.ServiceRpcFactory; - -import org.junit.Before; -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.ExpectedException; - import java.io.IOException; import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelException; import java.util.Arrays; import java.util.Random; +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; public class BaseWriteChannelTest { @@ -111,11 +110,16 @@ public void testValidateOpen() throws IOException { @Test public void testChunkSize() { channel.setChunkSize(42); - assertEquals(MIN_CHUNK_SIZE, channel.getChunkSize()); + assertThat(channel.getChunkSize() >= MIN_CHUNK_SIZE).isTrue(); + assertThat(channel.getChunkSize() % MIN_CHUNK_SIZE).isEqualTo(0); + channel.setChunkSize(2 * MIN_CHUNK_SIZE); - assertEquals(2 * MIN_CHUNK_SIZE, channel.getChunkSize()); - channel.setChunkSize(512 * 1025); - assertEquals(2 * MIN_CHUNK_SIZE, channel.getChunkSize()); + assertThat(channel.getChunkSize() >= MIN_CHUNK_SIZE).isTrue(); + assertThat(channel.getChunkSize() % MIN_CHUNK_SIZE).isEqualTo(0); + + channel.setChunkSize(2 * MIN_CHUNK_SIZE + 1); + assertThat(channel.getChunkSize() >= MIN_CHUNK_SIZE).isTrue(); + assertThat(channel.getChunkSize() % MIN_CHUNK_SIZE).isEqualTo(0); } @Test From 5eb9fb4dd5ff0b3a1d19e026a46a4e50b443144c Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 16 Feb 2018 13:44:52 +1100 Subject: [PATCH 0468/3036] core: allow custom roles (#2863) Role previously mandated that all role strings starts with "role/". If the given string doesn't start with the prefix, Role prepends it. This is incorrect, since custom roles have format "projects/X/roles/Y". This PR makes Role a little smarter at prepending: we only prepend if the given string contains no slash; this keeps the previously-valid use valid. Fixes #2687. --- .../src/main/java/com/google/cloud/Role.java | 15 ++++++++--- .../test/java/com/google/cloud/RoleTest.java | 25 +++++++++++-------- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java index fd762228d0ef..6c85c880df21 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java @@ -82,15 +82,22 @@ public static Role owner() { /** * Returns a new role given its string value. * - * @param value the string value for the role, for example, {@code "roles/viewer"}, - * {@code "roles/editor"}, or {@code "roles/owner"}. If this value does not start with the - * role prefix {@code roles/}, the prefix is prepended. + *

    If the value contains no slash character ({@code '/'}), the prefix {@code "roles/""} is + * prepended. This slightly simplifies usage for . For custom roles, call this + * method with the fully-qualified name, eg {@code "projects/XXX/roles/YYY"}. + * + * @param value the string value for the role * @see Viewing the Grantable * Roles on Resources */ public static Role of(String value) { checkNotNull(value); - return new Role(value.startsWith(ROLE_PREFIX) ? value : ROLE_PREFIX + value); + if (!value.contains("/")) { + value = ROLE_PREFIX + value; + } + return new Role(value); } @Override diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java index 18cb039f1a53..0101a5b6e21f 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java @@ -16,7 +16,7 @@ package com.google.cloud; -import static org.junit.Assert.assertEquals; +import static com.google.common.truth.Truth.assertThat; import org.junit.Test; @@ -28,28 +28,31 @@ public class RoleTest { @Test public void testOf() { - assertEquals("roles/viewer", VIEWER.getValue()); - assertEquals("roles/editor", EDITOR.getValue()); - assertEquals("roles/owner", OWNER.getValue()); + assertThat(VIEWER.getValue()).isEqualTo("roles/viewer"); + assertThat(EDITOR.getValue()).isEqualTo("roles/editor"); + assertThat(OWNER.getValue()).isEqualTo("roles/owner"); compareRoles(VIEWER, Role.of("roles/viewer")); compareRoles(EDITOR, Role.of("roles/editor")); compareRoles(OWNER, Role.of("roles/owner")); + + String customRole = "projects/foo/roles/bar"; + assertThat(Role.of(customRole).getValue()).isEqualTo(customRole); } @Test public void testViewer() { - assertEquals("roles/viewer", Role.viewer().getValue()); + assertThat(Role.viewer().getValue()).isEqualTo("roles/viewer"); } @Test public void testEditor() { - assertEquals("roles/editor", Role.editor().getValue()); + assertThat(Role.editor().getValue()).isEqualTo("roles/editor"); } @Test public void testOwner() { - assertEquals("roles/owner", Role.owner().getValue()); + assertThat(Role.owner().getValue()).isEqualTo("roles/owner"); } @Test(expected = NullPointerException.class) @@ -58,9 +61,9 @@ public void testOfNullValue() { } private void compareRoles(Role expected, Role actual) { - assertEquals(expected, actual); - assertEquals(expected.getValue(), actual.getValue()); - assertEquals(expected.hashCode(), actual.hashCode()); - assertEquals(expected.toString(), actual.toString()); + assertThat(actual).isEqualTo(expected); + assertThat(actual.getValue()).isEqualTo(expected.getValue()); + assertThat(actual.hashCode()).isEqualTo(expected.hashCode()); + assertThat(actual.toString()).isEqualTo(expected.toString()); } } From 60c8b4c6902eb15b3c42192a1081e655b794cc9c Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Fri, 16 Feb 2018 15:19:01 -0800 Subject: [PATCH 0469/3036] Regenerate Java client sources (#585) --- java-iam/grpc-google-iam-v1/build.gradle | 65 ++--------------------- java-iam/proto-google-iam-v1/build.gradle | 61 +-------------------- 2 files changed, 6 insertions(+), 120 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 12d9f66581b9..62a03f8ab396 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.29" +version = "0.1.30" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -20,8 +20,8 @@ repositories { } dependencies { - compile "io.grpc:grpc-stub:1.7.0" - compile "io.grpc:grpc-protobuf:1.7.0" + compile "io.grpc:grpc-stub:1.9.0" + compile "io.grpc:grpc-protobuf:1.9.0" compile project(":proto-google-iam-v1") } @@ -107,61 +107,4 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") } tasks.uploadArchives.dependsOn(failUploadArchives) -} - -task checkOutGhPages << { - if (!new File(javaDocRoot).exists()) { - exec { - workingDir projectDir - commandLine 'git', 'clone', '--branch', 'gh-pages', - '--single-branch', 'git@github.com:googleapis/googleapis.git', 'tmp_gh-pages' - } - } -} - -task copyFilesToGhPages { - dependsOn 'checkOutGhPages' - dependsOn 'javadoc' - doLast { - def newSiteDirPath = javaDocRoot + "/java/${packageName}/${project.version}/apidocs/" - new File(newSiteDirPath).mkdirs() - copy { - from 'build/docs/javadoc' - into newSiteDirPath - } - } -} - -// Regenerates the gh-pages branch under tmp_gh-pages -task updateDocs { - dependsOn 'copyFilesToGhPages' - doLast { - def outputContent = new File(projectDir.getAbsolutePath() + '/templates/apidocs_index.html.template').text - outputContent = outputContent.replace('{{siteVersion}}', project.version) - outputContent = outputContent.replace('{{packageName}}', packageName) - new File(javaDocRoot + "/java/${packageName}/apidocs").mkdirs() - new File(javaDocRoot + "/java/${packageName}/apidocs/index.html").write(outputContent) - exec { - workingDir javaDocRoot - commandLine 'git', 'add', '.' - } - exec { - workingDir javaDocRoot - commandLine 'git', 'commit', '-m', "Regenerating docs for ${packageName} ${project.version}" - } - println 'New docs have been generated under tmp_gh-pages and have been committed;' - println 'Next they just need to be pushed with "git push".' - } -} - -// Regenerates and push the gh-pages branch under tmp_gh-pages -task updateAndPushDocs { - dependsOn 'updateDocs' - doLast { - exec { - workingDir javaDocRoot - commandLine 'git', 'push' - println "New docs have been pushed to Github for ${packageName} ${project.version}" - } - } -} +} \ No newline at end of file diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 6b3e11256275..46993c750c07 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.29" +version = "0.1.30" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -110,61 +110,4 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") } tasks.uploadArchives.dependsOn(failUploadArchives) -} - -task checkOutGhPages << { - if (!new File(javaDocRoot).exists()) { - exec { - workingDir projectDir - commandLine 'git', 'clone', '--branch', 'gh-pages', - '--single-branch', 'git@github.com:googleapis/googleapis.git', 'tmp_gh-pages' - } - } -} - -task copyFilesToGhPages { - dependsOn 'checkOutGhPages' - dependsOn 'javadoc' - doLast { - def newSiteDirPath = javaDocRoot + "/java/${packageName}/${project.version}/apidocs/" - new File(newSiteDirPath).mkdirs() - copy { - from 'build/docs/javadoc' - into newSiteDirPath - } - } -} - -// Regenerates the gh-pages branch under tmp_gh-pages -task updateDocs { - dependsOn 'copyFilesToGhPages' - doLast { - def outputContent = new File(projectDir.getAbsolutePath() + '/templates/apidocs_index.html.template').text - outputContent = outputContent.replace('{{siteVersion}}', project.version) - outputContent = outputContent.replace('{{packageName}}', packageName) - new File(javaDocRoot + "/java/${packageName}/apidocs").mkdirs() - new File(javaDocRoot + "/java/${packageName}/apidocs/index.html").write(outputContent) - exec { - workingDir javaDocRoot - commandLine 'git', 'add', '.' - } - exec { - workingDir javaDocRoot - commandLine 'git', 'commit', '-m', "Regenerating docs for ${packageName} ${project.version}" - } - println 'New docs have been generated under tmp_gh-pages and have been committed;' - println 'Next they just need to be pushed with "git push".' - } -} - -// Regenerates and push the gh-pages branch under tmp_gh-pages -task updateAndPushDocs { - dependsOn 'updateDocs' - doLast { - exec { - workingDir javaDocRoot - commandLine 'git', 'push' - println "New docs have been pushed to Github for ${packageName} ${project.version}" - } - } -} +} \ No newline at end of file From e2c941341d7b200e481888f88897bdda706cc9e6 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Wed, 21 Feb 2018 09:36:05 -0800 Subject: [PATCH 0470/3036] Release 0.35.0-alpha, 0.35.0-beta and 1.17.0 (#2929) Also: fix javadoc issue in Role.java file; fix s/google-cloud-bom.version/bom.version to fix the version update script; fix root README.md version from 0.33.0 (should be 0.34.0) directly to 0.35.0); fix javadoc issue in LocalStorageHelper.java. --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- .../src/main/java/com/google/cloud/Role.java | 7 +++---- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2dbc4efa33da..94cac3168e2e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.16.1-SNAPSHOT + 1.17.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.34.1-alpha-SNAPSHOT + 0.35.0-alpha 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 367c2092db4a..b28af24c5038 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.16.1-SNAPSHOT + 1.17.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.34.1-alpha-SNAPSHOT + 0.35.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b67914f38fea..0f7f54fd0f48 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.16.0 + 1.17.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.16.0' +compile 'com.google.cloud:google-cloud-core:1.17.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.17.0" ``` Troubleshooting diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a9f367796a5b..5becde8bfa8d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.16.1-SNAPSHOT + 1.17.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.34.1-alpha-SNAPSHOT + 0.35.0-alpha google-cloud-core diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java index 6c85c880df21..e75dd5f8f284 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Role.java @@ -40,10 +40,9 @@ private Role(String value) { this.value = value; } - /** - * Returns the string identifier for this role. For example, {@code "roles/viewer"}, - * {@code "roles/editor"}, or {@code "roles/owner"}. + * Returns the string identifier for this role. For example, {@code "roles/viewer"}, {@code + * "roles/editor"}, or {@code "roles/owner"}. */ public String getValue() { return value; @@ -84,7 +83,7 @@ public static Role owner() { * *

    If the value contains no slash character ({@code '/'}), the prefix {@code "roles/""} is * prepended. This slightly simplifies usage for . For predefined roles. For custom roles, call this * method with the fully-qualified name, eg {@code "projects/XXX/roles/YYY"}. * From 033571417cdd5b5c6bdae425066676cc60c16e16 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 21 Feb 2018 12:11:46 -0800 Subject: [PATCH 0471/3036] Java: regenerating for oneof -> inheritance conversion (#586) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 4 +- .../google/iam/v1/GetIamPolicyRequest.java | 42 ------------------- .../google/iam/v1/SetIamPolicyRequest.java | 42 ------------------- .../iam/v1/TestIamPermissionsRequest.java | 42 ------------------- 5 files changed, 3 insertions(+), 129 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 62a03f8ab396..acefa93f46fa 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.30" +version = "0.2.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 46993c750c07..3e56aeeba54a 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.1.30" +version = "0.2.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -21,7 +21,7 @@ repositories { dependencies { compile "com.google.protobuf:protobuf-java:3.4.0" - compile "com.google.api:api-common:1.2.0" + compile "com.google.api:api-common:1.3.0" compile project(":proto-google-common-protos") } 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 647dcdf123ab..4c968ce4bbe0 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 @@ -523,51 +523,9 @@ public final Builder mergeUnknownFields( } - /** - * @deprecated Use the following instead: - *

    
    -     * protoBuilder.setResource(resourceName.toString());
    -     * 
    - */ - @Deprecated - public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { - if (value == null) { - return setResource(""); - } - return setResource(value.toString()); - } - - /** - * @deprecated Use the following instead: - *
    
    -     * ResourceName.parse(protoBuilder.getResource());
    -     * 
    - */ - @Deprecated - public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { - java.lang.String str = getResource(); - if (str.isEmpty()) { - return null; - } - return com.google.api.resourcenames.UntypedResourceName.parse(str); - } // @@protoc_insertion_point(builder_scope:google.iam.v1.GetIamPolicyRequest) } - /** - * @deprecated Use the following instead: - *
    
    -   * ResourceName.parse(protoObject.getResource());
    -   * 
    - */ - @Deprecated - public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { - java.lang.String str = getResource(); - if (str.isEmpty()) { - return null; - } - return com.google.api.resourcenames.UntypedResourceName.parse(str); - } // @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest) private static final com.google.iam.v1.GetIamPolicyRequest DEFAULT_INSTANCE; static { 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 8a0e1eef439b..32d67d06c226 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 @@ -788,51 +788,9 @@ public final Builder mergeUnknownFields( } - /** - * @deprecated Use the following instead: - *
    
    -     * protoBuilder.setResource(resourceName.toString());
    -     * 
    - */ - @Deprecated - public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { - if (value == null) { - return setResource(""); - } - return setResource(value.toString()); - } - - /** - * @deprecated Use the following instead: - *
    
    -     * ResourceName.parse(protoBuilder.getResource());
    -     * 
    - */ - @Deprecated - public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { - java.lang.String str = getResource(); - if (str.isEmpty()) { - return null; - } - return com.google.api.resourcenames.UntypedResourceName.parse(str); - } // @@protoc_insertion_point(builder_scope:google.iam.v1.SetIamPolicyRequest) } - /** - * @deprecated Use the following instead: - *
    
    -   * ResourceName.parse(protoObject.getResource());
    -   * 
    - */ - @Deprecated - public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { - java.lang.String str = getResource(); - if (str.isEmpty()) { - return null; - } - return com.google.api.resourcenames.UntypedResourceName.parse(str); - } // @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest) private static final com.google.iam.v1.SetIamPolicyRequest DEFAULT_INSTANCE; static { 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 6508a1b2e4a3..3079f8e377d2 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 @@ -789,51 +789,9 @@ public final Builder mergeUnknownFields( } - /** - * @deprecated Use the following instead: - *
    
    -     * protoBuilder.setResource(resourceName.toString());
    -     * 
    - */ - @Deprecated - public final Builder setResourceWithResourceName(com.google.api.resourcenames.ResourceName value) { - if (value == null) { - return setResource(""); - } - return setResource(value.toString()); - } - - /** - * @deprecated Use the following instead: - *
    
    -     * ResourceName.parse(protoBuilder.getResource());
    -     * 
    - */ - @Deprecated - public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { - java.lang.String str = getResource(); - if (str.isEmpty()) { - return null; - } - return com.google.api.resourcenames.UntypedResourceName.parse(str); - } // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsRequest) } - /** - * @deprecated Use the following instead: - *
    
    -   * ResourceName.parse(protoObject.getResource());
    -   * 
    - */ - @Deprecated - public final com.google.api.resourcenames.ResourceName getResourceAsResourceName() { - java.lang.String str = getResource(); - if (str.isEmpty()) { - return null; - } - return com.google.api.resourcenames.UntypedResourceName.parse(str); - } // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest) private static final com.google.iam.v1.TestIamPermissionsRequest DEFAULT_INSTANCE; static { From 486d1c1c752e2acbb23a8dded6eca9e86e225a93 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Wed, 21 Feb 2018 13:09:13 -0800 Subject: [PATCH 0472/3036] Bump versions to 0.35.1-alpha-SNAPSHOT, 0.35.1-beta-SNAPSHOT and 1.17.1-SNAPSHOT for development (#2933) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 94cac3168e2e..ea7b652dac96 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.17.0 + 1.17.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.0-alpha + 0.35.1-alpha-SNAPSHOT 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 b28af24c5038..07b11c427b57 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.17.0 + 1.17.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.0-alpha + 0.35.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5becde8bfa8d..9f411b99b388 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.17.0 + 1.17.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.0-alpha + 0.35.1-alpha-SNAPSHOT google-cloud-core From bdd56d8c028b1c4f88605c99a14aa172a1d8f5d9 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 23 Feb 2018 11:42:49 +1100 Subject: [PATCH 0473/3036] logging: log more kubernetes properties (#2937) Updates #2912. --- .../src/main/java/com/google/cloud/MetadataConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index 1bac5b9b286d..a285462165a5 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -54,7 +54,7 @@ public static String getInstanceId() { } public static String getClusterName() { - return getAttribute("instance/cluster-name"); + return getAttribute("instance/attributes/cluster-name"); } private static String getAttribute(String attributeName) { From 6ee40ff22c7ea7655022ea59d1981860a7cb40cf Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 26 Feb 2018 10:18:31 -0800 Subject: [PATCH 0474/3036] Adding new version update scripts (#2947) versions.txt has both the last-released version (in maven) and the current version (either about-to-be-released or the snapshot version). There are two scripts: bump_versions.py: Bumps the versions stored in version.txt replace_versions.py: Idempotent script which replaces the versions everywhere they are tagged Users can choose to manually update versions.txt if they so choose and skip the bump_versions.py script. --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 3 +++ java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ea7b652dac96..8b5bb1e584b7 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.17.1-SNAPSHOT + 1.17.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.1-alpha-SNAPSHOT + 0.35.1-alpha-SNAPSHOT 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 07b11c427b57..c732b756dfe1 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.17.1-SNAPSHOT + 1.17.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.1-alpha-SNAPSHOT + 0.35.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 0f7f54fd0f48..1a6233461f00 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -14,6 +14,8 @@ This module provides common functionality required by service-specific modules o Quickstart ---------- + +[//]: # ({x-version-update-start:google-cloud-core:released}) If you are using Maven, add this to your pom.xml file ```xml @@ -30,6 +32,7 @@ If you are using SBT, add this to your dependencies ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.17.0" ``` +[//]: # ({x-version-update-end}) Troubleshooting --------------- diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9f411b99b388..3bee94569428 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.17.1-SNAPSHOT + 1.17.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.1-alpha-SNAPSHOT + 0.35.1-alpha-SNAPSHOT google-cloud-core From b94aeb3bb83cb12bcfb75daa727797778271039f Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Mon, 26 Feb 2018 14:00:36 -0800 Subject: [PATCH 0475/3036] Artman Workflow Java sources staging (#597) Batch java regenerate. --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 3e56aeeba54a..ae6244eff65c 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -110,4 +110,4 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") } tasks.uploadArchives.dependsOn(failUploadArchives) -} \ No newline at end of file +} From 5b58f4e63a1fa063fcabc4fbfb1f263ad3159b11 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Mon, 26 Feb 2018 17:10:55 -0800 Subject: [PATCH 0476/3036] Bump proto and grpc versions --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index acefa93f46fa..c5d080f61bfc 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.2.0" +version = "0.2.1" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index ae6244eff65c..a0807097afa7 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.2.0" +version = "0.2.1" sourceCompatibility = 1.7 targetCompatibility = 1.7 From d463c80ae5b867c38dbf5e899054a7b41500403a Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 27 Feb 2018 09:50:11 -0800 Subject: [PATCH 0477/3036] Version bump to 0.36.0 (#2967) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8b5bb1e584b7..817afa279405 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.17.1-SNAPSHOT + 1.18.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.1-alpha-SNAPSHOT + 0.36.0-alpha 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 c732b756dfe1..1fdc9ad06de1 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.17.1-SNAPSHOT + 1.18.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.1-alpha-SNAPSHOT + 0.36.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 1a6233461f00..80ebe54d6664 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.17.0 + 1.18.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.17.0' +compile 'com.google.cloud:google-cloud-core:1.18.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.17.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.18.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3bee94569428..c344e87bb0e6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.17.1-SNAPSHOT + 1.18.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.35.1-alpha-SNAPSHOT + 0.36.0-alpha google-cloud-core From 5660e411af26bfc9b7d7e767e37b9362c3bf6b85 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 27 Feb 2018 10:07:02 -0800 Subject: [PATCH 0478/3036] Version bump to snapshot (#2966) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 817afa279405..fb2a3d175a68 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.18.0 + 1.18.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.36.0-alpha + 0.36.1-alpha-SNAPSHOT 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 1fdc9ad06de1..84c0c9a088a1 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.18.0 + 1.18.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.36.0-alpha + 0.36.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c344e87bb0e6..774e180b4086 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.18.0 + 1.18.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.36.0-alpha + 0.36.1-alpha-SNAPSHOT google-cloud-core From f4e2b1dd340c0b2160e1fc3851fe61ff4eb2b015 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 27 Feb 2018 11:04:55 -0800 Subject: [PATCH 0479/3036] bump version to 0.37.0 (#2969) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index fb2a3d175a68..44ed942b9cd9 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.18.1-SNAPSHOT + 1.19.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.36.1-alpha-SNAPSHOT + 0.37.0-alpha 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 84c0c9a088a1..552f3774393f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.18.1-SNAPSHOT + 1.19.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.36.1-alpha-SNAPSHOT + 0.37.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 80ebe54d6664..3e34c6481af9 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.18.0 + 1.19.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.18.0' +compile 'com.google.cloud:google-cloud-core:1.19.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.18.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.19.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 774e180b4086..5f6e22ad8ad8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.18.1-SNAPSHOT + 1.19.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.36.1-alpha-SNAPSHOT + 0.37.0-alpha google-cloud-core From 898a1ed25a60d4ac488363324b8f6dd5e2978585 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 27 Feb 2018 11:29:42 -0800 Subject: [PATCH 0480/3036] Version bump to snapshot (#2970) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 44ed942b9cd9..ddd53cdba168 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.19.0 + 1.19.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.37.0-alpha + 0.37.1-alpha-SNAPSHOT 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 552f3774393f..71bf31f0cb31 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.19.0 + 1.19.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.37.0-alpha + 0.37.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5f6e22ad8ad8..0d26bce51a87 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.19.0 + 1.19.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.37.0-alpha + 0.37.1-alpha-SNAPSHOT google-cloud-core From 3f32387d11c94917e8cc468875404b11b0caaaf7 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Mon, 5 Mar 2018 15:39:13 -0800 Subject: [PATCH 0481/3036] Regenerate Java and bump grpc/proto versions (#605) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index c5d080f61bfc..53f369d44544 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.2.1" +version = "0.3.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index a0807097afa7..4874a92e0c04 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.2.1" +version = "0.3.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -21,7 +21,7 @@ repositories { dependencies { compile "com.google.protobuf:protobuf-java:3.4.0" - compile "com.google.api:api-common:1.3.0" + compile "com.google.api:api-common:1.4.0" compile project(":proto-google-common-protos") } @@ -110,4 +110,4 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") } tasks.uploadArchives.dependsOn(failUploadArchives) -} +} \ No newline at end of file From 16e9b322b22bd414413465fa48262cfc58314302 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 6 Mar 2018 13:34:25 -0800 Subject: [PATCH 0482/3036] releasing 0.38.0 (#3004) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ddd53cdba168..f85ad0ae7c81 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.19.1-SNAPSHOT + 1.20.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.37.1-alpha-SNAPSHOT + 0.38.0-alpha 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 71bf31f0cb31..90ea7c75602d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.19.1-SNAPSHOT + 1.20.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.37.1-alpha-SNAPSHOT + 0.38.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 3e34c6481af9..0e065c058d5b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.19.0 + 1.20.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.19.0' +compile 'com.google.cloud:google-cloud-core:1.20.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.19.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.20.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0d26bce51a87..4b7779cb82ff 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.19.1-SNAPSHOT + 1.20.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.37.1-alpha-SNAPSHOT + 0.38.0-alpha google-cloud-core From a7e50874627566840ffdd7b139e42756cae35677 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 6 Mar 2018 13:47:43 -0800 Subject: [PATCH 0483/3036] Bump versions to snapshot (#3005) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f85ad0ae7c81..93fa3d4e1d2f 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.20.0 + 1.20.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.38.0-alpha + 0.38.1-alpha-SNAPSHOT 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 90ea7c75602d..ae11557bad1d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.20.0 + 1.20.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.38.0-alpha + 0.38.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4b7779cb82ff..7dc12a582189 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.20.0 + 1.20.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.38.0-alpha + 0.38.1-alpha-SNAPSHOT google-cloud-core From 362cc00166fcdc0111148ef7cd750b937fbb3d3a Mon Sep 17 00:00:00 2001 From: neozwu Date: Tue, 13 Mar 2018 11:43:35 -0700 Subject: [PATCH 0484/3036] Java: add vision v1p2beta1 and batch refresh (#610) --- java-iam/grpc-google-iam-v1/build.gradle | 4 +++- java-iam/proto-google-iam-v1/build.gradle | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 53f369d44544..e5f7d2115504 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.3.0" +version = "0.4.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -57,6 +57,8 @@ signing { sign configurations.archives } +compileJava.options.encoding = "UTF-8" + if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { uploadArchives { repositories { diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 4874a92e0c04..149f23c02db5 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.3.0" +version = "0.4.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -60,6 +60,8 @@ signing { sign configurations.archives } +compileJava.options.encoding = "UTF-8" + if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { uploadArchives { repositories { @@ -110,4 +112,4 @@ if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") } tasks.uploadArchives.dependsOn(failUploadArchives) -} \ No newline at end of file +} From 8fe677fc92a90658967d1c21d48dabbc9d8abd78 Mon Sep 17 00:00:00 2001 From: neozwu Date: Wed, 14 Mar 2018 13:36:03 -0700 Subject: [PATCH 0485/3036] release 0.39.0 (#3042) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 93fa3d4e1d2f..dd4220047808 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.20.1-SNAPSHOT + 1.21.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.38.1-alpha-SNAPSHOT + 0.39.0-alpha 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 ae11557bad1d..20243be1d078 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.20.1-SNAPSHOT + 1.21.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.38.1-alpha-SNAPSHOT + 0.39.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 0e065c058d5b..26bd7e7173fc 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.20.0 + 1.21.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.20.0' +compile 'com.google.cloud:google-cloud-core:1.21.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.20.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.21.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7dc12a582189..d43f620ccb43 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.20.1-SNAPSHOT + 1.21.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.38.1-alpha-SNAPSHOT + 0.39.0-alpha google-cloud-core From 8368b06a10ae28072135ac803a6b954d4aeeb412 Mon Sep 17 00:00:00 2001 From: neozwu Date: Wed, 14 Mar 2018 16:08:32 -0700 Subject: [PATCH 0486/3036] bump version for development (#3045) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index dd4220047808..788a7b4d4984 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.21.0 + 1.21.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.39.0-alpha + 0.39.1-alpha-SNAPSHOT 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 20243be1d078..7f5bf510f548 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.21.0 + 1.21.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.39.0-alpha + 0.39.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d43f620ccb43..a6ccc7fa4c3c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.21.0 + 1.21.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.39.0-alpha + 0.39.1-alpha-SNAPSHOT google-cloud-core From 339f0fb4e109a3d5e0abeefc214c965305afe025 Mon Sep 17 00:00:00 2001 From: neozwu Date: Thu, 15 Mar 2018 16:06:09 -0700 Subject: [PATCH 0487/3036] add dlp v2 and video v1p1beta1 (#612) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index e5f7d2115504..bda9be231afa 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.4.0" +version = "0.5.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 149f23c02db5..1a6b00babb4c 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.4.0" +version = "0.5.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 518ec7a0568dbc57121e760fd317451699e4371d Mon Sep 17 00:00:00 2001 From: Neo Wu Date: Fri, 16 Mar 2018 16:12:00 -0700 Subject: [PATCH 0488/3036] Release 0.40.0 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 788a7b4d4984..0707eb37148c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.21.1-SNAPSHOT + 1.22.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.39.1-alpha-SNAPSHOT + 0.40.0-alpha 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 7f5bf510f548..4b25c65bd2e2 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.21.1-SNAPSHOT + 1.22.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.39.1-alpha-SNAPSHOT + 0.40.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 26bd7e7173fc..92e07c17cbba 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.21.0 + 1.22.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.21.0' +compile 'com.google.cloud:google-cloud-core:1.22.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.21.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.22.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a6ccc7fa4c3c..b737667fdaf5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.21.1-SNAPSHOT + 1.22.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.39.1-alpha-SNAPSHOT + 0.40.0-alpha google-cloud-core From 4300e86d9efc6646e767c1ea8d27fa61e16b293a Mon Sep 17 00:00:00 2001 From: neozwu Date: Fri, 16 Mar 2018 20:37:45 -0700 Subject: [PATCH 0489/3036] bump to snapshot version (#3055) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0707eb37148c..b41799fad6b4 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.22.0 + 1.22.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.40.0-alpha + 0.40.1-alpha-SNAPSHOT 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 4b25c65bd2e2..5f61bb8667f8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.22.0 + 1.22.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.40.0-alpha + 0.40.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b737667fdaf5..9ac57c275184 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.22.0 + 1.22.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.40.0-alpha + 0.40.1-alpha-SNAPSHOT google-cloud-core From d0b423b39cd8e20e50f7437740c3cac67cb46fbe Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 20 Mar 2018 11:40:08 -0700 Subject: [PATCH 0490/3036] Staging cleanup, Artman Workflow Java sources staging (#614) --- java-iam/grpc-google-iam-v1/build.gradle | 66 +---------------------- java-iam/proto-google-iam-v1/build.gradle | 66 +---------------------- 2 files changed, 2 insertions(+), 130 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index bda9be231afa..621728db5560 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -5,8 +5,6 @@ buildscript { } apply plugin: 'java' -apply plugin: 'maven' -apply plugin: 'signing' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" @@ -25,11 +23,6 @@ dependencies { compile project(":proto-google-iam-v1") } -ext { - packageName = 'grpc-google-iam-v1' - javaDocRoot = projectDir.getAbsolutePath() + '/tmp_gh-pages' -} - sourceSets { main { java { @@ -52,61 +45,4 @@ artifacts { archives javadocJar, sourcesJar } -signing { - required false - sign configurations.archives -} - -compileJava.options.encoding = "UTF-8" - -if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { - uploadArchives { - repositories { - mavenDeployer { - beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } - - repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - pom.project { - name "com.google.api.grpc:grpc-google-iam-v1" - description project.description - url 'https://github.com/googleapis/googleapis' - scm { - url 'https://github.com/googleapis/googleapis' - connection 'scm:git:https://github.com/googleapis/googleapis' - } - - licenses { - license { - name 'Apache-2.0' - url 'https://www.apache.org/licenses/LICENSE-2.0.txt' - } - } - - developers { - developer { - id 'Google LLC' - name 'Google LLC' - email 'googleapis-packages@google.com' - url 'https://github.com/googleapis/googleapis' - organization 'Google LLC' - organizationUrl 'https://www.google.com' - } - } - } - } - } - } -} else { - task failUploadArchives << { - throw new GradleException("uploadArchives needs ossrhUsername and ossrhPassword " - + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") - } - tasks.uploadArchives.dependsOn(failUploadArchives) -} \ No newline at end of file +compileJava.options.encoding = "UTF-8" \ No newline at end of file diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 1a6b00babb4c..8da2fbc46646 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -5,8 +5,6 @@ buildscript { } apply plugin: 'java' -apply plugin: 'maven' -apply plugin: 'signing' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" @@ -25,11 +23,6 @@ dependencies { compile project(":proto-google-common-protos") } -ext { - packageName = 'proto-google-iam-v1' - javaDocRoot = projectDir.getAbsolutePath() + '/tmp_gh-pages' -} - sourceSets { main { resources { @@ -55,61 +48,4 @@ artifacts { archives javadocJar, sourcesJar } -signing { - required false - sign configurations.archives -} - -compileJava.options.encoding = "UTF-8" - -if (project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')) { - uploadArchives { - repositories { - mavenDeployer { - beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } - - repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { - authentication(userName: ossrhUsername, password: ossrhPassword) - } - - pom.project { - name "com.google.api.grpc:proto-google-iam-v1" - description project.description - url 'https://github.com/googleapis/googleapis' - scm { - url 'https://github.com/googleapis/googleapis' - connection 'scm:git:https://github.com/googleapis/googleapis' - } - - licenses { - license { - name 'Apache-2.0' - url 'https://www.apache.org/licenses/LICENSE-2.0.txt' - } - } - - developers { - developer { - id 'Google LLC' - name 'Google LLC' - email 'googleapis-packages@google.com' - url 'https://github.com/googleapis/googleapis' - organization 'Google LLC' - organizationUrl 'https://www.google.com' - } - } - } - } - } - } -} else { - task failUploadArchives << { - throw new GradleException("uploadArchives needs ossrhUsername and ossrhPassword " - + "to be set. They can be set inside your ~/.gradle/gradle.properties file.") - } - tasks.uploadArchives.dependsOn(failUploadArchives) -} +compileJava.options.encoding = "UTF-8" \ No newline at end of file From 48b1614205954f6b4f11feddb54f870eccb537a8 Mon Sep 17 00:00:00 2001 From: michaelbausor Date: Wed, 21 Mar 2018 10:12:27 -0700 Subject: [PATCH 0491/3036] Regenerate Java client sources (#618) --- .../src/main/java/com/google/iam/v1/Binding.java | 5 ++++- .../src/main/java/com/google/iam/v1/BindingDelta.java | 5 ++++- .../src/main/java/com/google/iam/v1/GetIamPolicyRequest.java | 5 ++++- .../src/main/java/com/google/iam/v1/IamPolicyProto.java | 4 ++-- .../src/main/java/com/google/iam/v1/Policy.java | 5 ++++- .../src/main/java/com/google/iam/v1/PolicyDelta.java | 5 ++++- .../src/main/java/com/google/iam/v1/PolicyProto.java | 2 +- .../src/main/java/com/google/iam/v1/SetIamPolicyRequest.java | 5 ++++- .../java/com/google/iam/v1/TestIamPermissionsRequest.java | 5 ++++- .../java/com/google/iam/v1/TestIamPermissionsResponse.java | 5 ++++- .../src/main/java/com/google/iam/v1/logging/AuditData.java | 5 ++++- 11 files changed, 39 insertions(+), 12 deletions(-) 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 7d72799fb8fd..d884fd174cfa 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 @@ -34,6 +34,9 @@ private Binding( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -938,7 +941,7 @@ public Binding parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Binding(input, extensionRegistry); + return new Binding(input, extensionRegistry); } }; 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 4f7929531468..ef7fe57fdc31 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 @@ -36,6 +36,9 @@ private BindingDelta( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -966,7 +969,7 @@ public BindingDelta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BindingDelta(input, extensionRegistry); + return new BindingDelta(input, extensionRegistry); } }; 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 4c968ce4bbe0..893557526b6b 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 @@ -33,6 +33,9 @@ private GetIamPolicyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -542,7 +545,7 @@ public GetIamPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetIamPolicyRequest(input, extensionRegistry); + return new GetIamPolicyRequest(input, extensionRegistry); } }; 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 fbfdafc2ba16..04d028bb01bc 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 @@ -52,7 +52,7 @@ public static void registerAllExtensions( "missionsRequest\022\020\n\010resource\030\001 \001(\t\022\023\n\013per" + "missions\030\002 \003(\t\"1\n\032TestIamPermissionsResp" + "onse\022\023\n\013permissions\030\001 \003(\t2\224\003\n\tIAMPolicy\022" + - "t\n\014SetIamPolicy\022\".google.iam.v1.SetIamPo", + "t\n\014SetIamPolicy\022\".google.iam.v1.SetIamPo" + "licyRequest\032\025.google.iam.v1.Policy\")\202\323\344\223" + "\002#\"\036/v1/{resource=**}:setIamPolicy:\001*\022t\n" + "\014GetIamPolicy\022\".google.iam.v1.GetIamPoli" + @@ -62,7 +62,7 @@ public static void registerAllExtensions( "amPermissionsRequest\032).google.iam.v1.Tes" + "tIamPermissionsResponse\"/\202\323\344\223\002)\"$/v1/{re" + "source=**}:testIamPermissions:\001*B\206\001\n\021com" + - ".google.iam.v1B\016IamPolicyProtoP\001Z0google", + ".google.iam.v1B\016IamPolicyProtoP\001Z0google" + ".golang.org/genproto/googleapis/iam/v1;i" + "am\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Clo" + "ud\\Iam\\V1b\006proto3" 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 9b062cfe2bc0..6d621a221962 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 @@ -60,6 +60,9 @@ private Policy( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -1092,7 +1095,7 @@ public Policy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Policy(input, extensionRegistry); + return new Policy(input, extensionRegistry); } }; 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 3f5fcd97a744..453c5d2a38f9 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 @@ -33,6 +33,9 @@ private PolicyDelta( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -810,7 +813,7 @@ public PolicyDelta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PolicyDelta(input, extensionRegistry); + return new PolicyDelta(input, extensionRegistry); } }; diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java index bf2a6530b7aa..96a93c9146a3 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java @@ -52,7 +52,7 @@ public static void registerAllExtensions( "google.iam.v1.BindingDelta\"\227\001\n\014BindingDe" + "lta\0222\n\006action\030\001 \001(\0162\".google.iam.v1.Bind" + "ingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006member\030" + - "\003 \001(\t\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022", + "\003 \001(\t\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022" + "\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021com.google.iam." + "v1B\013PolicyProtoP\001Z0google.golang.org/gen" + "proto/googleapis/iam/v1;iam\370\001\001\252\002\023Google." + 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 32d67d06c226..bb4a7d0ff6bf 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 @@ -33,6 +33,9 @@ private SetIamPolicyRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -807,7 +810,7 @@ public SetIamPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SetIamPolicyRequest(input, extensionRegistry); + return new SetIamPolicyRequest(input, extensionRegistry); } }; 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 3079f8e377d2..a7988c60c60d 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 @@ -34,6 +34,9 @@ private TestIamPermissionsRequest( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -808,7 +811,7 @@ public TestIamPermissionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TestIamPermissionsRequest(input, extensionRegistry); + return new TestIamPermissionsRequest(input, extensionRegistry); } }; 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 fe835f627b5d..f9bbe3c3ab59 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 @@ -33,6 +33,9 @@ private TestIamPermissionsResponse( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -610,7 +613,7 @@ public TestIamPermissionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TestIamPermissionsResponse(input, extensionRegistry); + return new TestIamPermissionsResponse(input, extensionRegistry); } }; diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java index c727915d242e..28ed47dcff6a 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java @@ -34,6 +34,9 @@ private AuditData( com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -606,7 +609,7 @@ public AuditData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditData(input, extensionRegistry); + return new AuditData(input, extensionRegistry); } }; From d491fdf95b01c84d94245d1ef394ef897166ea5e Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Wed, 21 Mar 2018 13:25:37 -0700 Subject: [PATCH 0492/3036] Regenerate Java client sources (#619) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 621728db5560..3b6bfeed85ab 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.5.0" +version = "0.6.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 8da2fbc46646..ff7b7c776980 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.5.0" +version = "0.6.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 481fd1245164bb650651d2d1e73af7b4c344ad79 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Wed, 21 Mar 2018 17:06:45 -0700 Subject: [PATCH 0493/3036] Set encoding to UTF-8 for javadoc (otherwise `javadoc` bulid target fails) (#621) --- java-iam/grpc-google-iam-v1/build.gradle | 3 ++- java-iam/proto-google-iam-v1/build.gradle | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 3b6bfeed85ab..222d37ea17a8 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -45,4 +45,5 @@ artifacts { archives javadocJar, sourcesJar } -compileJava.options.encoding = "UTF-8" \ No newline at end of file +compileJava.options.encoding = "UTF-8" +javadoc.options.encoding = "UTF-8" \ No newline at end of file diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index ff7b7c776980..675cab221ff4 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -48,4 +48,5 @@ artifacts { archives javadocJar, sourcesJar } -compileJava.options.encoding = "UTF-8" \ No newline at end of file +compileJava.options.encoding = "UTF-8" +javadoc.options.encoding = "UTF-8" \ No newline at end of file From 14e3d30b60c818c6d53ff507d1ca41cbfe8648fe Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Thu, 22 Mar 2018 13:05:34 -0700 Subject: [PATCH 0494/3036] Release 0.41.0 (#3076) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b41799fad6b4..a2315173b623 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.22.1-SNAPSHOT + 1.23.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.40.1-alpha-SNAPSHOT + 0.41.0-alpha 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 5f61bb8667f8..781bf3d731d4 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.22.1-SNAPSHOT + 1.23.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.40.1-alpha-SNAPSHOT + 0.41.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 92e07c17cbba..f2aa4d76babe 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.22.0 + 1.23.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.22.0' +compile 'com.google.cloud:google-cloud-core:1.23.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.22.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.23.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9ac57c275184..9fd60a5451b8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.22.1-SNAPSHOT + 1.23.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.40.1-alpha-SNAPSHOT + 0.41.0-alpha google-cloud-core From c41d428af0473960a21644d5d04e1ecd586b6337 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Fri, 23 Mar 2018 09:45:54 -0700 Subject: [PATCH 0495/3036] Bump version to 0.41.1-SNAPSHOT for development (#3079) Add texttospeech in root readme --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a2315173b623..12bbd1e8b2b0 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.23.0 + 1.23.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.41.0-alpha + 0.41.1-alpha-SNAPSHOT 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 781bf3d731d4..b8d30bbef789 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.23.0 + 1.23.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.41.0-alpha + 0.41.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9fd60a5451b8..a3ec47d260c4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.23.0 + 1.23.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.41.0-alpha + 0.41.1-alpha-SNAPSHOT google-cloud-core From a17a8ca274cb066d6b34f482b7c91d9a25503517 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Mon, 26 Mar 2018 14:30:34 -0700 Subject: [PATCH 0496/3036] Regenerate Java client sources (#627) Bump proto and grpc package versions. --- java-iam/grpc-google-iam-v1/build.gradle | 5 ++--- java-iam/proto-google-iam-v1/build.gradle | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 222d37ea17a8..68c836f09112 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = "com.google.api.grpc" -version = "0.6.0" +version = "0.7.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -45,5 +45,4 @@ artifacts { archives javadocJar, sourcesJar } -compileJava.options.encoding = "UTF-8" -javadoc.options.encoding = "UTF-8" \ No newline at end of file +compileJava.options.encoding = "UTF-8" \ No newline at end of file diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 675cab221ff4..2bce719f0898 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = "com.google.api.grpc" -version = "0.6.0" +version = "0.7.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -48,5 +48,4 @@ artifacts { archives javadocJar, sourcesJar } -compileJava.options.encoding = "UTF-8" -javadoc.options.encoding = "UTF-8" \ No newline at end of file +compileJava.options.encoding = "UTF-8" \ No newline at end of file From 7cc4c8e05bb700c92cefed83a58601f0264b4228 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Mon, 26 Mar 2018 16:10:09 -0700 Subject: [PATCH 0497/3036] Regenerate Java client sources with api-common 1.5.0 (#628) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 2bce719f0898..f6e91e7093af 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile "com.google.protobuf:protobuf-java:3.4.0" - compile "com.google.api:api-common:1.4.0" + compile "com.google.api:api-common:1.5.0" compile project(":proto-google-common-protos") } From 72c86e79df849de905e80f1a7b361fd920f8dacb Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 27 Mar 2018 11:07:31 -0700 Subject: [PATCH 0498/3036] Artman Workflow Java sources staging (#629) Includes regen for texttospeech, visionintelligence-v1p1beta1, vision-v1p2beta1 that didn't get regenerated in #627 --- java-iam/grpc-google-iam-v1/PUBLISHING.md | 31 ---- java-iam/grpc-google-iam-v1/build.gradle | 11 +- .../gradle/wrapper/gradle-wrapper.jar | Bin 53638 -> 0 bytes .../gradle/wrapper/gradle-wrapper.properties | 6 - java-iam/grpc-google-iam-v1/gradlew | 160 ------------------ java-iam/grpc-google-iam-v1/gradlew.bat | 90 ---------- .../templates/apidocs_index.html.template | 1 - java-iam/proto-google-iam-v1/PUBLISHING.md | 31 ---- java-iam/proto-google-iam-v1/build.gradle | 11 +- .../gradle/wrapper/gradle-wrapper.jar | Bin 53638 -> 0 bytes .../gradle/wrapper/gradle-wrapper.properties | 6 - java-iam/proto-google-iam-v1/gradlew | 160 ------------------ java-iam/proto-google-iam-v1/gradlew.bat | 90 ---------- .../templates/apidocs_index.html.template | 1 - 14 files changed, 12 insertions(+), 586 deletions(-) delete mode 100644 java-iam/grpc-google-iam-v1/PUBLISHING.md delete mode 100644 java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.jar delete mode 100644 java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.properties delete mode 100755 java-iam/grpc-google-iam-v1/gradlew delete mode 100644 java-iam/grpc-google-iam-v1/gradlew.bat delete mode 100644 java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template delete mode 100644 java-iam/proto-google-iam-v1/PUBLISHING.md delete mode 100644 java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.jar delete mode 100644 java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.properties delete mode 100755 java-iam/proto-google-iam-v1/gradlew delete mode 100644 java-iam/proto-google-iam-v1/gradlew.bat delete mode 100644 java-iam/proto-google-iam-v1/templates/apidocs_index.html.template diff --git a/java-iam/grpc-google-iam-v1/PUBLISHING.md b/java-iam/grpc-google-iam-v1/PUBLISHING.md deleted file mode 100644 index b49df1abe8b7..000000000000 --- a/java-iam/grpc-google-iam-v1/PUBLISHING.md +++ /dev/null @@ -1,31 +0,0 @@ -PUBLISHING ----------- - -Note: This folder has been generated by the meta-data generator tool of toolkit. - -The instructions assume that no changes have been made to the folder and its -contents since it was created. - -PREREQUISITES -------------- - -- JDK 6 or later must be installed. - -TO TEST -------- - -``` - $ ./gradlew install -``` - -Then find the package in `~/.m2/repository/com/google/api/grpc/` - -TO PUBLISH ----------- - -- Make sure you have an [OSSRH - account](http://central.sonatype.org/pages/ossrh-guide.html). -- Follow the [OSSRH release - steps](http://central.sonatype.org/pages/gradle.html#credentials). This - requires you have a configured `gradle.properties`, run `./gradlew - uploadArchives`, and use Nexus to publish the release. diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 68c836f09112..29dfa248b5bc 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -7,7 +7,7 @@ buildscript { apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' -group = "com.google.api.grpc" +group = 'com.google.api.grpc' version = "0.7.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -18,9 +18,9 @@ repositories { } dependencies { - compile "io.grpc:grpc-stub:1.9.0" - compile "io.grpc:grpc-protobuf:1.9.0" - compile project(":proto-google-iam-v1") + compile 'io.grpc:grpc-stub:1.9.0' + compile 'io.grpc:grpc-protobuf:1.9.0' + compile project(':proto-google-iam-v1') } sourceSets { @@ -45,4 +45,5 @@ artifacts { archives javadocJar, sourcesJar } -compileJava.options.encoding = "UTF-8" \ No newline at end of file +compileJava.options.encoding = 'UTF-8' +javadoc.options.encoding = 'UTF-8' \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.jar b/java-iam/grpc-google-iam-v1/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e8c6bf7bb47dff6b81c2cf7a349eb7e912c9fbe2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53638 zcmafaW0a=B^559DjdyHo$F^V0Rn=80*aQV7YF*=K>qvZZ-f5ZWkpp4=_KXE7(js({)Mne(XCA2FM-P6 zj`qJ3$_mO!iis+#(94QF%1%$oNYl|Tz)RCn&rZ)ZD={v!>>oc&(~V2c$j;D6(gMR= zgqfuMD$%0qz$7pGRbn(g*ot$W`RH`-1pIFc{$1n0b_Vu$Z0}_Le{AZ1r-A(^jk%Md ziH+(1lN9w|N!^_c9UM%Z{*NgZK_+I!e@R#VcGCYmMa16S&c@!*gp7&a*v8P=**8WO zW{?pnbkBlKi^h#12zD(j?0q-0fZHZ0k%}O z@ZbQJk&sUtNBWd+CAnc&Ywdy>+NIPsxM3ShXImfZ1t7bc4vQir)HRBR5{Az6QbbpJ z%-_E{21v+>QLHN#V^>;Uf(K`95a8FP!fX%qD3IWSjl}0uP8c#z0w*Mf1wj}dI|T1a zhwuAur#!M7x{CH!037}vvB>|2M`cfE7gJjWC;PvL90X z@AQvDC{?z#M-fEw!vKVjEgV)F)TVB(dZ`>o*)JI2K*vTxGs#xT$_UsRf|}R4o7g8l z)IUYrvfe|!6~{FHNF@SBy&(eUv<>`JsI$gU3n)I+Di4B5=1qZdJ+GcNzi$!Bs z)>ys4N7e4ICP5e*Xbbd)o50lDuhb3eQ06s}SRO1h(5Uhb^jPBK!g!z)c%d>{8-jR6 z?0kCiLzAg!!(^%6dof){R`Mhvxoy$Eu4;oyS=*;hfm^*KLTWmB1fUFiY9g9W z*-Gv{g>EJH2&=d=T!H(IXJH)HiGcY0GaOE1m1O0#55vB0(RT}N{ zgG%(VC`)%1L89{P7y_mxO&Ade>ue&_^9bZmK&UOLFqkz;aGXt;XxmaRQn-JQ-;xl+ z^EN01NxR=ccI;c3jQ!Xc6y{yTC&2X>Z20gWG9CX?;{vXk%>fd2`|;#C?-cHfwfH+P zZ09$ewwy1ms3e1hYLtICR-UZnr?{0HvlxkrhPAV1YEp7Uh%#>#)35Rt&Z_fEy-Y`$ zngx9`L4U{Lr`knQt)g7%G(9wowmGB^896vjt>j>$F;lHtLl7Gs((E4y@5r4}im}K2 z#NWGeImSQbHb=RX^c~LOPRb*ljB0fJG~x!}>|!SQC~{2`zF8tY$gahFyJgL}F6X~Dtk3KtuKp1D&?rPq$mU;R@2t6y~gnN#uqVX#!4O`Rm{ZB1qD?X6uM{=sytvbH>qAlkQB zqVDRmQVpQB%}N_gdqeA5b!m92DpCcC2wL7G6uOSS+eFjmQ@xkW%4%_p|4E#UZ%Bz| zJh*$JbH=^T`DA+fRzScHL}RcjNO5|?qiCNhPcniE%0N#{=PeRRtbypDGbjP57s*Re zOvyraP#RhqE?N8c%Wpwy{mqFw`_iXHLAkj!x21fSFo%nEPBzx5hH9-@XW8zqNyeR6 z8q=opn7kQGX>YGYLyM(G+&n{X@F6Rw!~W2eP zEr)gZ_6%+~2Bt5k=@2zm9o45B<34^Se3;0jW3|=_8#Trnf45lgtgdbOF#&5w_vNz3 zq@!GxtCerZCbBtJEafL%R$QB{Ru1EX)`pdP>93qJ?GvLw;>~Clsw7nrMnN5Z&nC%; zU&w-FJxYx+=n&6l@WB4EcQ=g{9>M77uSjMYXL%oDOD)vfrck;|)gICA%k^nbu+<*% zh;WbYc#y7l{Sv?LGSYkF6mDt`?s0|;QoXU)h;eRXh%x$o$x(XkCOjC3avc-SI(((V zEN1E$X?G)=_<$ULYUG&$bQ)&Ast3#nP6of!l zese9~Aw@dF`G?cK4BB0h3ptgky1o3HLgF3jZjFEg0sa1q3|RiNn2LHB+qgPgx|xbu z+L#I&8=E>i%Np7lnw$R9>ZhtnJD{54{jtrWulylaU~< zG7qb+?Uc!~P@yzaN{$tBg}fsa%4U%rUKTd06WvX%g|!#0F-~TYX=NC`G@y%~w~ci= z`uE$uC!6t7Mn18&TlNfAJaV#~nHbq}XA%Uwc^LYT!gJ73pkYjeOy%PN6AP?i#C!_K z%<>;ZB52@)Iku)zrI;G73y8}k_PLE~&0*95>G6|oTET1whLl>}j6ac|Ht+;G_=eWp zJ5CwD1y_Y5*Z;YR4SmT#?O$I{K7?|fHATo(sa2R9W>jTB_h%mn!~msPa$ ziQc?d@xrvF+p^<1WdeNQ)KOPN>ew_UwMn_>VD%mjmS z*xe1vLA(M|*bD}Rh6^@b5X%lfF^L3o_FkTcCp1tD} zNm`Xj*ouvb&Vr3mEL^6VNnI!DO^&Dy3$w_pV^#09kl$FmyJ=7O>(|?l(eUw)`^1>| zMDx6Ks?dF0&8V*>8{JA0Ez z>aLVtm1312Oto$2Nn}?VZ6laiDEQpmNh>u$px@I$6<(AuZQPS#46?xhx%9HjESl+Z zz&ImHGijeKdy;CH&t(oL5Js$rJ*b2ld7JAYU<0&SOV0<7188s z)2gujEeO~$y_OZ!D86ZIUHUcO<_dK$+_QMZ^uCT1=la)^)FFd`w5n>UK(ST&Okap! zya=Bf;%}gnNTY67Kzky)yig=$6uGAfSZ?A%Mwc88w!drxm`%5>amtC=>^foOjdxU2 zbRARNd93v6wmR&@!Qs`H?g*4f>Tt3eFdgIuV}Ip@kRr}8T@|D4cwD>{rUOr~fZh(= zP^HWba4^CP#0OHTgaql7DR9Aec1LbgspO^|>QU+W!LQ8lQxQNx_K8C>wDyfM9Av8S zf5FYLRA5`c)Mk!uc5qzf3IX&8$}YIYf8Wd*Qr9DTcPf+u;_8gH#|_V zymOT~MrU?~?&bOt`VHcrez!NLb7l5Nc-3`hyaJrp2V^*unxG*w?t^(t-#BUsKi=&x zkl_-!gT@lXS@wp5J3`cC4w3j;7t}%Yi}CjgK=%#-egjKSYmxdE2N<616Cc4n0uvw6 zJv_g@g!3w#5J6geg7aRQgCLoN_2ZL9rDoOg%0ZuKxysEZJtE%N2`Fo0nEQ$2Fh+Y2 z`%#vNQ;rx@e{sE20{)Ou=_y@Asy*!>x6$=Om16Ks?Hsk7xmQ^A{Jl_g!Z=(*O&Gwd zD^A+1=wd-BC9lbQ<8xTITKAw!(wJAax3DX=O2o0LnTXCicwY$r6}(Kt>xm`)1uyRq z|5xy${tw?t*xt^}(%jX_(8bc;?w{Z#*;XD^5NYhs*6C_6e^5YC5y>@iPQgA4G@>e# zDjd3mk8qts8tHM|wl3SfvLy-AeJJ4oqG?XAc0tY7Fb7LB%VYl6wa&-K+?+np$sHhE zI%C3sJsK|t?#5AIY=)QPwbOH8MhGX`lGkMZ#a7_%N{ypIH{7tn(ZY`zehen2cILSp zE_C;I)VVfXX+^m)w{5W`TRGipFH10JSmCb9<3NtShK*Z1)}sE^kp)V8(e5(KR%0-E zm`7{dOoE2%Yh|AOdfaoH_i|Iut64Sb?)6P(uI*CuyCxax&%kSzWt_S-_RYM`y~dci zJWn4R&r!Kw>bj@JJ2zew=EU1RTQIBiJv|Dw6ZUf-PRfm5jp5B{rHTtn)a6I?b(L4u zS>aWGUaG{zyOYdCHjpdZ%@0WZ_LSmO2;~ICXK(pLQY|_vB7~Q&y}Vapvv2)WTK6@- zap2M67WDM(=SEK zG^8NqL?@dcI_jVvl3&E#+xh+m%XCiB$;c&|nQ<6&SSF{qlYrfubin68BXYzxQG#X` zJVO6FDiOo!MTGjp_<5);l~4l5TnyG(3n4j4#ZOF-a6J z`B;J|p%@@TC8)$a?o2MB3ZIlDm?qi02w6h*!%8Zl1x`sl=*;Txzez4@&G*M7hza-d z_808G%C@2}zUA>>P>%f<@i6{p#Pjd|u7si8-^jv0;ZCgDr8BB3+8^6&lOeaMVg)Iw zP$&?~-w^@mHZaulQl*Gw3ba98vi8ZLCLA{GE$Ha^Z(?7AaB)NG{9M69SOc@;?tcK! z?i__P(VJ#oH@&B>bMLv%b60zRKHo6|zTPy4=wm88goRPXSaXIeqBz*z$RAT6(2XA$ z>D^JODO7XR?$g55V!#~5>YycOrJUq~<0^?}tvzs;7O#Y0cYlsx=nQrz^-wbKP?p|W zGcuA&Dh<(wsN`7-!dRl0MNPqg2$z|5iKDZMca@{P#ceeU{S0GTLO~6^igB35VZnCV z9K9+@%w)z>&YP0S&t`vw@fx$CM3?3owGkUW!6!{em7{IUa2I`PF@D_7BJp2r0Jt5( zu$PBu)2KGEFuQGZm<`MDup60)^mMz>c9>DH+x@b@WUURkgd(jbQYq!JI)<^66k!Vu zY-N}drwqqTB00@!6V-e~Zv;5smtYS`jaZmzQAI7+98fF`YP#L*Tt%d4?0@A+j2duO z3aM$>wWd#GPLZ4|?V9uz7)XZ(E2?vbSxav{cOJW#E}N*B*A$f2G>(UuB3mKPJD~^I z)*{sdQL#*5)7!V=m^yWlMM*za1<{}6VYn9j-YoQLxZn~$chDV_(G1geI5YNmHmchw zPiugcQ%c#t@Dh`LmR82^7Chsq-F99aFZWE3qTyyXShBGUNe_xMZ%KNxIB!T?a#a1j zyIoL@=28ddS7y*@rltbLW7W*9#>mp#G~tHG6L%eQx-D*dr0Ekj=ZZIgN!_>X zsO;1?xJKQ#a8K8_bkFCf;3z#7|0XHua*dc7xct%&(u*REfZ4o#jz^EFk+WHs04h#V zZ?F|r@xUex@6T*}TFQbQC%V%o;oI!8);K9KX8kn9;L7$@V4bdElPS?l!d3)NQn8;S z%k$FXBcu0;Kj#tbQz6Nd{dlKIUK$q9F~F6ER2R~s6iW-EU5({rmu8Mc=$q;_Vq;Z( z%G}qIn2!YOa?spUiW7HS=-$Bm`^a)gGNKyXkX$qvPfg4cpZ-W5vcY~f#r35euX})N zodDZbBQ&;^_b>@rZBo`7oHYRA|2M;_B5)2zK=wui3<3wEezGv{+#daSKLx;v zKk?>(YE<>$BA!3wp__778s{!!t1(`Mfr==|uI>^^6tUH!hBp9F@ZnoSXz59qHC{CO z?hC|!?u-0w0xE_~Ciyf^ok)9oW zVf7U$JHN%&Gvp<5m!yqfEIde1fBY3|3vK%+bSG@$@h$9o^ck(uhXD~9py(3eB?P38 zBo9|b*b15Frl^;)gN!8lKp%t!-vCO9BMie*w0w}9e7ytw zA;&I(d7{u8x-jS9q0Zs!s$!3ne|;*f#-dklx3OMgytDh@7W^N`e>It=zZ##`@F8sOyK5A34 z>!d9U(PIBZ`G?|+3=@8Weip}^w!x!lG$-WcIp1>SKT`XDfB%NxN0LvL*f#@7cc2N} zs-RE|rWMhR;1SwRbs!Q&v-KXpZqgk(tS=wp zci*k_O_pQtZY#?gt1^b-;f(1l9}Ov7ZpGJKz;`upIxa4b6WdnoYO8ZDA3KDsxGRL;q8@Q zR)@a?)>}#uydQN)ZFdnyM+;0nd|Bc<$9QvBLZfV?K&K@i{qSI9Nk5WmR=n3G6vp=p zdcNR%1MR59Uo7VdZdKB3f?FuW?}ySiG)1}}(L-tt6uU$nsni3r(K>|`GS}QgPh=V- zudIS)?z#}MK_6U(<~t8be&T1Cg>Tq8a|al->0&*7K(n($np_*712PZrn<~)k`+f>y zTz`5$Z6QrapB(WA?AbP6?hv}vP4N`4Rx!Qt)9lAt%#U<;a}DiKb!a_OiJjmnzjeGk z#C@Ty(p{3gHgTeah z?oM;C>}9wA`JVgY0L~fhKje%WB*+<2!h^6Irs^dURt!4^$ZWKkG@^_|I}R%*;A@jn zLa3i8;VEvXTx&Deh&5u23Hp%5#ZUU1-z&ipMjswI`heue94I^b;N&Ncn2UDdkDQu( z`{0e;HNoje97ZepP=zs!Eriw&->E8oXTj-XX73@LXEXUopV*JxV`px(TLV^9Cy&!(g1XZnNlk_msM^Bi_SQ@i2qEKPW}=m9eQL@9!h>p z9}^EhEia>VHcm$)6SK46Xthyff!(0OVT3(Jzrt^k8C#KYSEEUD0so+&7|X{a$l2v? ztv9fKFXBHsdoi`vWc6VQOZ6QDT(Ba0ZZpEa76px}yw(KG7o?VNej^Vpk4a6zcJbBH zp}F2O?3=S~CAcSV5T*b_` znKHs^>yMfw)B#^aHx~WraZ$VCjp?{r>C<9@$zVN;LVhxzPEdDLdUMb_)pcY6?mG@R zi>odeQg?b9NwV#*-dMQyR~G1LIDz58twR7PU>z0Os)eg#KBp21Adfl!9Nhff9_g{GeycqDgcC3qYohieu7-Upjna>NvhFF`pYAsASbvj6 z>sMt8EZ6KxmU|(SUegg}>T?j*cPW0$joLdx?0G8|ju*QZNB1AhSFJfxMfd-ykKW=T zo_0>pV}RyVR*ebvY+d94Tn~HL6cp^5QBY9Z#iPlrYpl8VV*XK}N_~=Cc1)2jv0Y+V zm$F?VpUdB?vhmI^g9Dmt6|x7Z%r$1WEeJ9={&7_!PxIv0{0((U%a_8X+rWm zc8yWd*}NPKRqFWmKUjfXE$Y)+ik6S=ng!Kg)huNlT}=6*P})SJIjp$>Ge;kN?s8As zcZ;dFJ&_0&_KnOc~e8hmwL0Hi_C_yBjqOd8=+rq{P3v@qNrPDexZ1Aw19U682f|I zoDODpLAsq$xSe?^$v-QYfI^-w)*h@%fYV)SAG8n;GL0y7H4<9l8Kyxl1gn~<3w2)w z@4{TO(>uoN{FEMV#DM2@MU_{w`lXpHziBKpL-Z`35yW_XH3BGwVtd~PpXm7MFO(Bs z8rjeoBaDtmAdLszA6V=hn_1bZaJ$UcQn!|J!z%4IDxCTvZ(qoLLae|mdB>)}66lDi z8r)+ZxYx}~N%?_d`+7GINM7Y%UD6gCgNU06jX35*C(D*karE(Z0o8SmM6FqvfXq8S zqIElst9f?D`+>^Dn#`R`>xMZ+_cqJi2eru*NtI_|WLCx`Oskt>ejkG=yNB_c-)CKT zk4PUJc+q+pqo~yc1u@<6Lg+&`gyk}G^o3bzrH8D?BF`vR%)&FJli>A}@~c^!K+9p| z5vg=kmG^QXJD)g^A$!xPJof#J;2QZPr)ym>obQqkzwmTQLYUo35~~XR|@&Q&mrr1E^=M|#;hYX zfBf4=jj{05Rv)yqrTAj6@eE?nyCMq&KrkBDGr4QY(E5+6!tm@kVs2 zijwnybt~Vtm%`T8))h5t`^)Rz-q)AitqP^YPD2n7N0?E1)?;*@Goe7o0ixJ8WKgFR2nP<%4(Ntf3=N zok>&Rsw1cOnuIc?tSU#H88#S(yGNl=%!!y0;H)|6693Bl^aJu~y5~n2 z&pO(DXAjkYx#LF=k7{KP*MPKO%+ZTd%Y-sTKn*g?>4#_S6DyTZ;9&lPb94Thq_}jz z?9ub04b)v|kK(~9Q0?)(-!9qQ%%Tdo2dus78%gMv$zmH&?ddhJ)j>4+E^>j|!Pa2< z+q=?xhfEfA=rd5OWA|VoknO3PK=_x>v^tzCXP{!Xm}>x>}y zSnCUR4*RZ_!b;br(Xy3n4z^nRP8Z>wvR0YUne@xqEq%Nom86tfy<@TIrk9<-L{ zOxDo^l7bJ`nLddg=H-b7SqpgbE~_pSPY%Ns=aOeTJ7Ps;8wA5r{+zq0(ZkP-OE&G1 zvhe4Q2aC1Zx~>x?$hPrN$DMYt?7wDz7A?i>Dv+hJx?@{UM<`;#U{Czw<}2H3TIo=< z;5`6Ic&ueLE^CcCPg;y$xIALx>RdO~&ggl*Z}`dDxDkU*S836mxL#tcz>9=U#~EI|lG4!6UMGhH&`(pC+jolA+gY3Npl(q%eoOf!jBo_&wg z7}-IR!ZWMlHd#`jh;@Z(<}KC7K}jNmiub@YRJGC52(29DRNmrt9-T&SEi0NyAujS9 zmLnKiFYNv}Zb#8dg#mgSflxfiC@p98MQI*HW?=AeFJUFUvK6 z!ePU}4M$R1%?%17s);wtXom{c1)eWTF-+Cxx-t$y&~Nu;1*-3bKR~eEr3{48mCPWE zU#e>5g?c_?!&1Yw@eYI3(Cz7X)5@3^L4ppeaL?jdjJT3>Z3SM8IfbzsAJJ>b4CF$_ zNzH&)X~|~OOAeO+*moxrFfTT(%ayZ5t=T=5$cG>EtSe?=uH@6);?mMWxdP!>C4$c| z5au;5b&kBX1U}(Gjm&K05zpe)9h+bpa*gai9Ehf}w0)3JU8OEhc0z2{7T=Q1VKmH` zU|vLJ!Nz0Ul`4f*tjm~G7A;vu318iaSC%ZedGXCnV#TiX@@oCC&h&aAK2OI{yxBoms?XH!)TSsiV?t z<_vc-rbTCKlGN#BPJW9Lca|4+F#_!Fq$dYwR7vYPCwHqLtQye8$5P0P&|=QpM$c+D z7yv6bUm~P!+>GW#J$PYCG%I9@3fEx3(7ett4^6s$Os#Ta3q^;_Pd1`X)&?@SVC3hl zN;*r2t)djFvSDa#g<&wHj$q~u9yXq=^z4oZ>!d-aqZ_-q+qIZT&=EGbHFd1Wogy5r zJoQ**mMuO$1xfW6x~p=_d{KYp_!TY^@f9z+K4GWU6{jgyv{!kj*e$+0{dHuPYJZ@u`pvr+b^SgpH3M2BdFCs4%9p_T4n;{mu^Nb`z500FLY>c(A3~7u;X;p#CnG`g*TBPJd$>Jm_Bi$@bkf z`FiJE>Ft#$oR4mqJ(5&mqN1KwaU2Xm(o$S>5pd)eF z$WdBY(CXYwX35w$BW=JBHyux{maU9Ke}9oBCeyIL@5k|( z+IzOo54e|v$-Tob86G)+NR~Sa?V;9FvSh)-(5G$c4ROX9k-zw{xB>c26Ac}UNx3fF zZei!deBqGb!IHEQc_aJ4va6iR?NZm1ZrG|F7SqgP@lKPuHDB3^sxC^i^pl86bC(Nj zY~hSM-N32!P9!IWmM;$N4rLEsgKFtdwOoSm&8+3xtjrKclp<0*)HL#}ya0>y5Qv!d ztHr6-I1%2e^Q=?}@)12bcvZS6%g&Lqu%;?C8p*U_=1j%pD21?`o0<{f^M|@sH?(mJ zSGQPps~^YW;IZ+QJ`sfKZ_ugvXk&yYepjo)na%Wx^B-isRlGk0l;5EQN*|UU*rDcJnZ(8j(s^XWZk5Z|Z zc9Lp{F^SzEfH?Mr)_27d@gJdscGd6Ff+O`$xzWYqN!C<*=k7#42wZ>?GfV z5g^O@9JIjfEi-kJWC-#yue^sG)qJk!eI*qwlWBH+I2&EGblvcv7#f@L7|l~w+F`k)Obn9LJrXRQ<#%u7wllgMfAgS)2^MT0T)~1-D9fxBpegJ%9t(npi#Z{ zn-oXKySB`A0?~5t1j&cwb>NVLz0ty zdDd8T?7yT_Y+zjj8?rZz(t$)$()DuE#C`oX#Lp`U4eRFT7^qj89?gDWaWp*+$~tHOqhzS$Pa!l)fJUdH>ytH zn+0?15&J5{WxXYzlXOiPH|-(!a~t=ZqQ(2p6(8VnpQFzI1N=A`&4LDxBU6un=$SE= zp`KGl%JbOpAypl}3_9EfAz#=V=Y4*5L@Ksy5j(+dBO`R4wAy zQE;DN)}|W46Zj(yO%+5%MSdBd_(*(gLNgq9TCfwjNo^6f3j74-x>KENhv~77sD259 zV37}ZcAt#5Ao&mJGxqhh;MQXoo*n2JvmbN5E|_LBrI{`qyFO2BH7`cTYmE@6s^Wxp zLi#|Y9B6U^LO)%DU9_}EfMzW2X&>eCMCRVCAESFbKP=5u8T<3i=pQjWZ@IqHCk^__ zp`>QH9X^96{jzjn=}ueV6V$3b(%z##1@{&{EPk4B6Fi~6W9mDH$ko$9VLUDA-1f54 zSIB71%bVN4Q!ldFU)l)}a(;U$oR=pNH`f$SShNdWMO%=x0^@A$4_>o|)0e%sfQEI2 z%#z@rKrOtZmBpIOn=T7dxGthwe9XJkiQ1sL{rEZ6@LLb7GJw9I^a;Kz{_dPUiVVu)i2($Y`cu<})t+WJwYjexkI`w&ZvCQ<68JiJ;A!8@<$ zf>#Q3JQ=irW}bq`8KpoLn7_Ls&&xSrH)*A11Oj5qKK>_(r$%QQ!opF(E7*i7YPolw zh8pVWJTGkHhG1<1122=5r!R|PRV+adP|$U z4CYf5b?bZl63WjdrCVezcC=<^+j1TFu(f$kP9tg(rU(sQ*rNP!EE}K)`!?f&aQ;*X zB0qk!yx5AKNwsFCYBN$k(^EW8)X&omd-*NLr0QiNykCH4R9^Dc3kXZD2A?#r*NqPg zCW2NvRq=FBzNv?3B>2}vHPw{~=cOp$5;X{4`GrZ|%`P573BPuyagJu&pmxF9 zt%Gcyij=;fhHq-HzTnwVjZ7d0@Xg!yU>9oDfiCezKW+!VX|Wx+w@XJNN zr{F9P28K(%@>9ttpEdUD*E{b#J%>fAeo%Vwvp+}?+~$Oyi112|+M)+lz})Wm?Qn~p zwteQ6bu-ExICV5N;Ya)ZVXMGaE)QEczc@N>KD*E0$T&?CRtGg?LouJ0%7+&`o|K&h zYI%NGLsXX9Caktke8Pje901v-$Sg#GXIr5&?VYq~{fSn=Q-NvcR6zW#{b6~j_6uDS z3bPfjz!G80)&u{vM{gTsJ@uG*k144W4nr>}U3k71>i!eSDS|iu2ZG~(8#H?H4&vn= zZ1hgJ?5UsksF8>--Ju`bY76P0H`3`Eai6`Q%&qt^Zv?;t>ctPMg<$9dwc*L|6CNaP z3~1OLsAum;+Gh*i;e`mNU!Gy`V$JZwGg1#?jE^;14;bxhKdnIhoXw*%&216!Ec~v? zBz5gv{EWw@|7$($C0ujPAF3kiw0s`-Nf~!j^vrW8%q>sHtdwKc_6=n{U(Mqjx$DYt z@uRZ0vxsq7{-6gEu;)GR%!un1${t@lFvpYy(IN|JB@%3j5Xx$wN-?kPrg1zG>X|hc zoS@Xu*)tdyZp9npny1=K-3XndXE#*sv`VsX9njMhXrTRow|$+c@pCy;Scvof4+-28 zibijYfd@E+H#*f78`)>NCGs*_VOoGLv{|ogf56}~1g?Ln6A1+NkUvE8ZJy<7t@rMyMtqxt-Z`WbjSc<$MXM8n8pT zC`J@q0mXg^7$PM0rf6?7{FL9{|Fx<;Pl-g8c_k{lprjb8Rb-p_YL}&;X{wIG2O0MV z+u%$Tty~Pl(O>YxUg4!4VET=EyuC+s;cprURHTV4U9bwQJ&Xc)>FaHuX>_+iG*FWH zV{*Dw6OsJ+G*@sFu^z!iz?=F2V`K4Ms5ESjnq$baoI~}*U>OGUWxYuOBa$-1+T9-T zrhmS-M648CK0TQ}{7X*Dm4dUR@lBxM@@%9}S^JX%Yg|(&TMmT3`_n=H8myC{I(2RV z#^pQvdn`8Ybsy{eli^E$a~jtGUy{u)1N*t*G=YY^+~VGx>RoVRW9F-&xjFme{C3FQ z`HpM$*TpQaJ3Ha+Y`4=kbPc0(UN+Nu?hAB`peHTw<9amrj|V$~ou8r=unsj%rwf1n ztss17KqhkdZ{11i-`6((mx6F1dwUmWm%oKovWAv+$}WaZF8{0OL{oc94T*2C3A_qr zz=jFT0R%03L{3=>w}2Hov;iy0AdR~ux`9DVB&~uL^(>9v@&otxW_lkxLs-3!?A`~% z?`8i5w>pzxj)xUQ_smQl=h^9Ag5Fh2N!i^;m-om>uAjeS|Cg51683UTmY4+yTW!qe`?~F{9XZV%H zw>~1YYh5}TB0QE_7gpO!s$9{0t&4B|<|235rP<9EO*J-ByXv%=8cE?K3FWiG zXX9_ObY;zq%CL<{U^&QRO~=*Mk4mY0I)o|kkO0q+H{v5B&OA>|@3K*a=aNHUY%ORm z#&vNw*)Yg&FZeNe)~4E(hn01nZVZuawX-daOYN7gFT|+G%wSLGnsJ$U388ydnb6-@ z$hoRaT~I=5t9s>Pmmpz)EnBuE9GT5ZHF2G){Egp{YzGGs)lqpswu8CoBya;uRf_#Y zSVVC{w^&cU6A6rq0SQJF%s_cT_kocX#BibXI>Qm&t`dC$IU46PpKAn+9|X)lE~C~) zT~T>N2?NWX9)4_jt3X4G!|)HCikgJ7&WEnG+QuEig6kjBfY05r-8&7%V+_TMg%O~7 zN)K|t^o_WyTs;C+a}BLBU)30Zn3+%KA)A7c!RPMz!e4>|e*SrHIg8B!r4jtqI`gbb?V=3O@!G+pn4)P_XoykO z935|}C0QHMYA?&g7nt0nRsL>>BA}M%tWVlNREfq`xpioSL?hL8h~fxJ>Z-fek|{NJ zr^;;ZC_e0KrLCbk-fy1HtGxf@5w3??D_H8f`-T)+nJJGl2-IpM->!2stG(s%yKl~FXZv5W{vUQn;JwDIj~9$=!;@k3NA^8>dMoZ!!-oxtVolQ^cFop=;VDj zQ|zcv6|-Qkl!gBw*s>~pK}OzYqGPTi(jbjzgUS=FJNE%yJNvVW`2F}}pDuRvvL$+v zcK!;VJM1n9!}Y9q;S`EzUcUGc#{j5)NhThZxalzb4+T%;$xLCQ@p5g>U^0?_c*b4K z$-&GJra)kd_!kon#W3nPFjM>*NRj@;(P9Y4{V|7Nrkx{tp!YK^B>h zv>8kUErjwhXw(9S+?Lxx#yTUoou`?3VM3r@glSJqDPRiyP^Mo$_Q*bvgRX{zV-}-6 z@PtD;qFG-LAbe9jCe%^w4rQBgXcF99?Gx>C$Veo2DHxvQ6~=d%M4uLVT%uNo8~U%Y zu0367<9l*mVxn!0Ugys6Em7^Asyub>As@~@q5A?}*G`M>ruzMJi)aq|wa9#eZj7Hk z9n}KeU|?ZTOLhRrJ%X2xlYHgevWCH6?m^=oj+qyKvnSkZGQal7Ys2{i>W=udBJp-L zrP6Xl?t=E*4!7SC|22UxvD!|y^tS|$6blFl@SpPx|12>T^)NMd{jWD>sp_5vc&gZc zWSb`J*q1`=lG>=KXvu9CXGEuV(nuwhamH6{7PE?0CvI3Z*RMi0HVB|#008PDJQ6e! z(b{&wbBKt5B8(B-+YkQxK~Vd<*BKf1<}F)z|EuiR-q+sSH{UVuk6+G+0x$->C=W+; ze%r_c+QERIxqjQ|BG?EJh5L4zon!Is;12bK_K1i09_C2s9Sjjtcuz;Vf+|M_;9Prj zL*6EwWJBJ^Pah^8{S7`u0f>{Y!c7l`nZ9HJ*zdaxL*k%s89syw*F(%x5R5c?kft7h zfbe4;%Av6@53&I9k*KkdFI2&tIQgjD_^B&p<_{O3d}PA7xBHMgyu{oOlNU_^e$3$w zPOO3Chc6!>eW?9tU>~Xg2FSZqpg!s;`S<%)qOOqZ%ZINpIC<5>?6)+D_cp>k=pxKL zbn-pe!;iPXjF%xIzYs#md(=2bRD8uLnGy*mlpk>54yd=-NmHALwunqd_3TXK}%&!wb^Py@-!MJ8F`H;6LE#x+%xrB z`BC(~)t| z%F&e1alU0@6wSuvkJoLUe-mlsF=&V@S4=WEE|~<)ZDcZWVV*yJj?BEPp{aZF^6`B< zYlIC}46fM@pKG}4lawNwl#RMNi^NIu#%82#7iK~i?uZ7?w1yEEy4DR8g5*qcP%1%R z`hcIJx3(gk8+$Ye2MQUw=3VD~G5Kzaj+x6+VD*lUaCO;iE|;?@?!X5i~0M@wF&p(Dwp?OHR%!nj^4`(V45 zU;!t0oG;Hr6)7o;K)^|K5TUl<%o74{JreyzSS%KuH5lWt-iEFG)R}bGnP||n#!hIv z-DUJrWtY#zSP+@w9F?P8Q_|5VK1Fu=aori6)KXnh5m2e0Xt);H4C77(*t(3UF~-I& zTgjIwpJ?B=VYFI{QU22k{=7#2fL`X}Ti3yZGr0*x*{iMry`_si6f-3Jbw0ykDa%Ef(=I^puh|MylaJc%$dr1tL3*UrqcJLdzmytbUkaTHi~2i2KuL33xn5UG zOZ}dbxA@StLvkcvRF_~Z!A!R5E!yEzmHo0OdqFZb-GY^+^w2&oCR>%4#^xe5@*GfH z$b<7u-~DHN%K_|LgY_< z-tt4wS+oIz_Ndd=n-Z+g-|s$-+AUEr4fG7tr*$$U*y)Qe=F`6zX*5;QN<%Vt6oE37 z1Ep~J9_Vl9XIicom~XAzm5kA^BqI#;c?uO%m3UbY#r*8m@7^4jqHaN>W6AO3PU&MC z@`|XP*gC~HTEntoV(E08>1<)FD?PqvgIZ;;4-zH$YQta2lP2yu2-u&gj2Y0&;7L~q z2&69Hyg8HIWRvYCt!sVZm7gp}PSq#DdY#bQVZNt&pD#L%u;fPSsewxe>%mk@m0<4B z89$?{sHIb=`;}^`DFM>xE(lnL-JSDz*33Sgeglfxd8@`ob~zAeGdZ4D8o`ua$wXcO z3OBDMhO##hcuzHXURUnRKGDab%A2&tow`?++1sh=4+u0|Ia9qJbI-diztv?9i9WV-x=D1d7G&j zZp+|HdV?E|A>BL($XwrS?97%pA5QY4Fj0}C6t0y=aEU_Ou8{ff8hZXGyH;v|u!OJ~M-Q=yzQZU={ zqRu_dj=x|vwGtj)q@}o7gjaQ*axG3(6X8M7q;XK%QpfxZnPQljwO@+2>S9Lt$>L#@ z8>L&;qhs7k>39NSMfdW-Z;sHuKWf2{MEKf_GgMMkpjVR#?&oPF;=Rrw7I}D|CQ97B z&Xgtl$A#-fCG6a0g`GOL^mlJx(%1O=RVxC*9P=U)aei>g1Jj%q#LN_$(4tW1hT0>T z8aD&%GeiAH({N8UW?6o)xWrB6D6bn|CS+O|sv3|`@&NbGtYA!#IAE$x7aGx`J@Nf@ zE*B-91S^^~9x~2i(Nxt#mEvmA7R9i*d9Ai|)=W++LVG&#S|{D|07sKHCK#${y0QzD zc%zFFmxduEbm5AqmOL?=7&xw!cGi}@NUn*H9emNInzZfZh3F3xMSd7G&72FG)()#` z8`hLu)|5QfhDL5u7}dEW%DE$A*^aTzZL6BrO>0?*g@(m*VWfux3nUK9A7%>=>t8O$ z@Hc~e8mAzQe{0a~0^%=MIPqIKgB1l(DGzAta)O~|$y$qM8_hxNsZM>col+`BJ>_0-pf#)s z6>Yphp50D(1F~p0I~RY#O&+#nriB`W+1P4VevwqPxUkXRgS9NQ7R9{t#nM=WN=}a1 zXML#2y}EhBBdrS;K5N==29-K<=4y8PVVF-JPGf7isu?1{D;~R*oki3txr%g9_eL>u ziOw-^9RGrs+QXYQ1Ia~&&XtDOw1KldM1r<;t9-P%_~g9+N$*M!#>hom5Jleksx725 zm3u+0I?G^a;m;DClT&J~)wJ=2!b~+dC02Ray0O`!%4>~KZmADRGjpP9Obdm;@Ph_j z8A5t)?l_{gPc{xa?oHRzk+mP$gZjEOFS;7xf4DVumAC_c!PSA2y0f}!&mITC5quZl zFS?g9B0kV&3*Th|@p1Hrz3vU^?-PbX7;lgD)D|kPQV<{I9&M$^3`qr3?h*uFQByRG z*iad>2R*<59b#Xub`tHKoE11HZ}s4+YtnU}?#dGAyWak83e<--9jL7R9+XSH58>JG zs+!NV-hRZtd1vO*_jse8J80TIuy)LimP`_pPKR#g-h^cTy{UDP`4aq!X|l&Q{GgR~ z=h_L9;*`PAjie{~gzoLeN2+8rrx(2TV3T0BC!yfO1w{7!`QI3Or!Y&mY+E}rY}?4N zZQC|7Y}>YN+qP}nww0j_{IRNPpR=m=KL4{X=H0xQ=wp1Xx6#JiS@$_=*Qkg13WfD< z*otODF1U$NN6nyjVVo<4=cTI)s}hyY#muQm&O~H$qmzF&u-dEWPjs#&xj~gNbja7L zt)Z}3J}&)<&h6Z0U2q3Bs$#6T77`A8?XnV4pKVF6=j-rKRFhUG=uE@i?2ou(A(_0| z>=_6!Fqlpr&ZLg2re^R!l7)( zGV2TG%4`sY1BpOTi?P$bQFXoW>WKKU@VUl*R-KusXSZi6n^*Gt$@(R$VGCk)32fXl z`^cGWq-){Qm&l|tF77u|XI-4HCN54KThs!-y5Xj-I^90H+-_iGc^+;H0G1=7D4O?Z zP_S+p+B&spYUFMuP(Tp1d{xQW4n`_IT%$I-RE92WTkxJ=?%Y9ayVrwQYvLQM|93E)Lz>?J^Wd2WgYx~y;T zo2*oc9x#ow4*&8ab_%(dZZ5hAL%6TFWkZ$Ip6>V^$X6DCz&ya2PajZHbO4bMqOvF^ z5$YRHCtblUvDt6O9mn)i$DuhRMuln3I5PbBQp@C=6D24jjKJvaANjM-s13NQBq5o; znU;tmf`5Yv!;S2?6~*YCOK9CbxZyNZCwo#)5{><-sM3^*3n;~zqw}rolExv@8FhFv z4x#K)SV#V}9!^~KSb#$YBQDVhv1b^{$Cf48(PN}6l-^1vh=(il0?04PsiA=0gA}NO zLmxXz^)PqkWY|8gLb^HfzMYGSUuObGceA$t1B}B%c7*yvNknh|#Xw5)HA@@=O}Tv@ zg;DosJd4OtV`OH9Yd^p3HITA6x;SG}D0-FnKKff~?|!6p*4tSik=sgmZ z0x0dDFg=3{j>^@X7|fqZoQ2Zl`Ycfl;3SNEBv*yU&Rr z8ony9d*wxI-EyN6uqh|943qJE!wxwF9%VG?y}2$D?l#N}s=?AMeZ z+zGT`3U-tn#)hy(nEb+2OM}7+zjox)%fgKG+j^T>xN%vlW^4IfBIywX;!?Avq8A$S z3XBO4%dzxNz;UEg4f4PMXzBx17? z&K1ZTupvj~g!nWNo-@hESg2=nk3$iy7#EANZU`>$*c~xT8ek#Mm4-RxhpouRTB#wW z?6L?~raT{@a_n^u2`SjbUJ;-&%07+Qgg#(CO0hB6FNFE}|y z*DoG0(Bdv7RE5PYrXsY^6lw(5WI{xXh$=wnR5H66vF@O+-9uiM8FVkZMuVsuI?owU zV$xS$R;zJu)!l=E3}qPrSEq{>jPCc3w-)i3(1w&IE>TqIi(-Qo(P9l??ZYO|6W)Tq#J!E(u(D0^%A z>aVKI5`=Wt4=V;PL~+e@wg*w4>_2pHPJqDRQaNza`Gyq|6&2MO1K)Vi(6K=gs+6U zDt<^;=k@|ih}0%D&w@SKm%9vaqsQhQZAoE_zgtTlaXL_nY(72Q0 z=a~w*eRZ2r>Fy7}BSHvEt2bhr%qnOAiraX&H|Go($Y$O8;@TQcwfwF0A<)T)V}JEd z_ljRIu=zEAi)rgJ?Y`xlb_`QyH=K8^`vIV$2h{xImLT*yhb`2d-T^|k?@eY=WA8&} z@vHwMuhNU0JkWF5wktZ8?ywaGnMsO|OSb^~Si=-Zb=SQ*Jpcel^hGleJUC2P-!6DR z9KypB5vm=Nw5~QI!sZ4UGMGeebsy?&UJf*%+h24SPXnFo9OoWnahoZ8Vb-{p7*UI& zFF=uu$jD8Szm{*F2J#Ja9=s7*CO=;of+7%ACNG{WVnHolL^+mpiTX3Q#|)9bO?_RV zkw%RvEJ9;3cbzWCNU$%ToazKqjXo?130zulNp6L!X4 zmvCF2(=+Cton0aZb&o*km00i|A1}E;O^p5d0CX_432%fxn61m3yURLWl7L-H(i9NV zsL75DCn#s0wyT0P}018YP0SoPei3kzuvN5g%^ z>J!xH{xNif3R=y$3R{%Zy9Fc@SihMTgWvDA%l3v+_~N3%9@$mR=m##Lje1F3!vf3EEM9(@f4TH5tRJMD)v7NAju*Yp8A^ z?f%^k9+wSWou}LH(O6N1~Z^C}s&U=nA=ByCEr>Lr@?L0k#;C?UKM64c-uQgL1Da0-52 z+g@#(l+b*v!jnlD>}-`f#wTTbm|@5AYvf`|DvvC zsam*TEun0!V5*06iDUoxAs+%vhfldG0S)m}MgWP^m!F6k#{eQc008}7a>p8!Dk^Z{Ql59FarcbgHS>=KMX-=0|r+)_gAvvq9!3m zg8fi%%|S!x0^59BBe~eV=Yre8cJzRlc+=u_TjY_!-BxHk^8vWq0hV`gUer5VbAqgnE|V5^8NmWjG|9LN~b6b7x-K;wdS4O(~k2zeJArP;SF?1pXz z1NLJ%GyBQMCoBVn5Lc0L``KG64ArFcN`)VgZ@C9_{#M8lB+M({_sOTDv|2<=sFXbF zE9$!Ged_5{KjdV>H}#z;v~bZG{y4kOvbI64AU%i=aO%7Jz1oj3ISl=HE;Z;7k>QU* zOuIp4I8HQ6pcPuyIUyPFheVxm@(NmlQg!W=(>!VqCf`66*d`!z#+yh78MC1GM+0we zu9on=!OEa(Kr~ycO>%+mIh?zg9s+f;`#wJydypEDeP&byEL30BYdJKU(!FzM?%~!S zM!a^eZ`L%_drtjqop9JK;qVSdbF%DH!NIDP7p)1^w5^DiUadS}*{m*rqn%UrBEz9I zXz5Ri3S3jJzsx*4dtuj^yMyW+cmLfg>L@kQ3RiRHieq!?syL{b?}2qg7U%&Pd~)$p zRO%D-i&3LW-?3eW>x0DK#i=tykz;!V4B=g6D`2q_y{-!I2^l#{eJplLysJpAULy&OA5dnGSY zBPTBcBRhjfzEtf7BcnZRfLCFbk~u z8$eFo&(Nsj<93S#7}YudNXTk3anbxM7dIl-TYd`d0I!L!;4M10yS#4wyx_X3^P;{4 zp0%ZShA`S?dyh!0A%X{VZBv<|vc67bUFTnrQq_0G5u2Sqw!qG_v7K6u-Umc#@MZ)z ze$HO^fSdlFY)ggFfT~poeEit4Np@Fl(YD7tf`*D7BzPz-t&N5o!{rg2H?^`!>44GQ z(6n+JP}b0~PfC8)DmoG#J#h^E@>(5U+gRI(KowfuPSxNAN@{llr7pY12vmTu0@a{E z$mVBDGR@+*IEN<0o2v)mB-3Qai}VC5(mC4+waLf3XWN$+pmevnLntO*)I5RbPJBbB zHlpGTSPk%J+f9jb57Q~t z0chCp*Rr~bQC>y{U@5gRN$v zj_{?#F0pt)&Cz`5Hiy(Mu+dB;!zuCmV?mWCuBtD;tQS`2J<7)lHc%z79XJcSly;l| zbHL})gVEB2)dHQqSobV0q~gninp~vIE%D-DHV5u&ecDLcv9u0)aOqZsBY6esJzQ^P zwo2zc9ep#sP9HtEVEFtK<<^*A%HHUDvE*&P3yP4WW(Km`Z@fbD;F zcK+?o@=qxn13gP2v+qcVnZDEi1?(g#Xi8#z(*dWAx0W0$?3$X_H5=VREiTsgH6{5G zfe9LeQ1Lv;q~Zx=+Sgzbq$9p0`s8l&czf}bxfp}zOW{3N(;WWLIIK?ep!ooF4pp#E z>Q;fn$x1&?V$XPWKFX84STT>rDCN-YoQCHRs;GC?AijEUmQzaK-WxENUc$3rrd zP_KtY`k2k#NaFY)yxwi=;(JU9nGd_+DV5*H1a_T2-ignRSw6(>F4s5zq+(K{;Dzy! zF6)5+MeG+@MjXqV9X~wCw}?bUwW^tZYBGm)NGb~4#g{IsCiX9KGju6$8mC6|)?AHy z{UYwjR&aVaz7FRa(PYLT{ne0XJ$CUk6Ml`Q6+oB^9A1~Z7u)#zK=pSWzpIN+%;m6# zxX^kSFKb7A5)!0x!}vWDOXWk(-W{(ZpDCB^cOaLq%#dmw)&>#oHS^?>6T8)uR#cNn z?h#Ao(LGS$(HQtS@&Xo>DkM#Qa?xlJj*5UkjMB*1fC}|BASyE1fT+N_5m(Qs66HbK zb4KWdEc27-*-~D!f7e}CO3c-hbhQhDrw!{Cj*6&87F!Hsc})lz-?;cQ)_H@ej|xIt z&aR$wjcRMs(!>}-$*QaTw{;V)a-j~2W=wLkCE4u0vJ#g@m5Sy&+B@3fNygSCg32WA zYxMJct&kdq$|k-=@?Ra7XEmI#a1uQL39dG7~Xg5i(op76)WU z`IZ}GNA(s6M0V^YFMQ!8F0#aki|Akk5uZOItynL{*lC0w8v^GJDcXYSvZX3huLEOX z@AM^Xuanaz)taQNBbhqS?rZT7NAb`89Z`XcjO->gf4I0Bw|QE0MaK0vyb=qBPy(Vt zqwXQWWg!GVUuibT8d&lk}u znG=N% z&2;9R^)jR$PfE zq=?A)933cF}WCIhGn^I zY5B;=2?Em|lwf)Xn-E{N!B$y+ez~Z&ddduAz|0(gV9=VgMfe93XD-l1L156DvBf|g zp4iKXa`8neF|!O7rVA`d_V)?Tby6Lmz@*$dz>wdbma~cGg!o7PGJPTTF4|jhRUS5i z>FKjEdY2hMdDj`h6QaZG#Y_7Wxf`A}(L)Lw2H4z15IAFR1Q2LYj3;6!22Ww9vVvaLdR3#qL6%2D%DSsJ}}&3ydmnT+OS zpxjrncCt2G{yO48+`nXXO+KBGV&hgc3W9bmX=FJeEAiGjCY7&Fu7Su>X)CWdyMA6%n@Z2BIQ-#;dJjpnalWhYg|$2itgI{w zaZ%2oq{*_fh|qw#p@Rb_1Q+8tWKQOw+uhp8k=6nNIPtJ9p_w@UejbTbp*4Me-jy@A z3{fB<^~FwKpu#Nzsrz|yk_`>7m_TDwrh=Qba@8tUnZ{%;#(jB(isvNK(2TnYZ8A6A zdYCcUIH*tP3)*c>CTmPRQre}i6C0^NU61C7tLKtMgpK=49sPWZadY(fz`1*CI}CtD zmlc#9cfVscM3cRz%Dfv)@6KzFjf#g}hxh#VkL$GvFUt`&hqjd&Z?9*>!t3mYTc_u2 zVL_K2^%ru;%)831K4&0*OIEvQ-?Wv@S`9LQ0Q}SFpI@cf4VNj+rvlbJG{YY`TKP*6nMOI+P5qw&i3DIUz z@6c+k>1OMzUh^4B1D(s__=L!Hz4T2+pMR3f5GeEplg_?zu>{+Y=`Mg+$^^Dh<$Wk* ztYf;X?G!baS=b#2oZcy#UU?&Q-%5jQdd?zYb}V*>&d*{}L%SBa3PW+IGivf`V&H8o4|m5DG62_e+As-aW@w z?33koTG$@4)B`;3iXgAH2`1vLirgjp0&HX!DiulH=0VM_OwqwZ?PQY@pq7Y;nY{r> zM|oT4?_K)(4_$%bXm=t1ttVu^Uw?t?|B1w>cKIi(k@_E`dfRU-4vp>qVYw?#Psx%` zi7ShVOHWKrP>oH_94I_Z%_xG)P|MLV$NR5dvNl%X*Qcz4$j!jB89RdCgC*b@&W}tCpk$?L8lVE=9-tPlV0DUJjOG9dV zBLgEdTgShB4Ca_A>j8ZDz?)796yWB*yk_Bhe;@$gGzVb0T@>M3? znJR(rnj9;?D|NS*ED`}P#ktO$#@O^{I!b%7535bqEO+-W!fzXZ-ARp*m3QD!cpBh{ zAAd#oytn&fb^GKo?lBH4fNdO^+C^+3D<`f>_mekQ!*nVs;e-7U7{p0* zgtZ4y`t@(g@4tS7@2~xT1{!<|zJClf_}8!k152}in?CT@+ha!`lexZWTZ-SbE&Bid zc7FZ8BH{*)f;LuG-&{f|Gi#%72&eNmng74S;z>%{-xz*mZXl=#%H~k3s-0Q5qXNeb zo-_e5@Hta~a)kN85hIKhE8P@m!2+NDoqSrRxk0?$7=~^2Sh?iJN4=A6c8{AjhvV%n zULT)NP}@)^N>XAUMLou0y}I)Qv)q?@ORHwr*^Lmx3?u z67*`m!?{mOqJO2=ldee)J?gA6$O&mG&$T(ldOamDo3>aU;OlUL*o zopv}+1nlLFS6e54H+|*YoRSD7sZ?kYvuxoKL65Wzr#V@tX-_yzwjk%LO)#!@JYlpL zvEv1cMG#}p*EfgySBuYE&@6FNjYd6F)9?E0S?Kgm_U(YtBX^x9CSg>P2VJoHHItbc z(&>2Bx&3PIW}U4Yv8_1c$R-Z)ufEhZW62)}bHt;lI;agdM{gI9DuohRz=O=_aaP7_ zQ2lN7Ye~Gn*D83@X(dSr;*WSLo7g@sEJiqMDtz!_CrR)Xu~5*&q|j0zV(}2fv`R!^({B+q{0?BweQ#TjQ%+JbnYCps>p)i4p~N)8eCr`Wxj>K7rF61Omya zJZA9@Omz_!l~#a1{4&Tcrcq$Jn3RnqBR|xH!!Nfa#nPz?rmN($^Z$sb5Ousl#l@h7 zW+O`wnFcA?1+H#`-`y-gQX2BRK~yey6O}5VpU6;<+hlFm_IAk12Iece`i3M{Ovgd6 zv5=mikMO1s^A^959$Ex)4K?t&2WQu%45{e0{GGD(S1B_5GKwkwF2U39*MEd`|Ek=- zm7tuS{Wr({zkJ!CNd9kVKfLglX_E$&^HF=Kh2V@FGO%zT(x7uGwHcuJZ(ABJ-w;Ga zt#(_U2VOkm?TZgrz)|=Ra6zHKQ%mdSU8}0p+EM8Z3GHi(DN-|>4JV?T`0svH07LcS zymxCUk-#{xs4l6rk_sh4U}^uvEeU}y)J3CVD#L zF>fi(qwdgl-VI}Y;OmIx6W#U0?S?R9mry%kNe(BIT(Qf3!$DUX{{h0w4MahqKU5x+ z4^3bqUaFu#OieZsCZ7_b#~NY=9a?vSkrbjIp?h3S$g$m+yMjsS;0So)1K-kNY&$rG z9ne~tK9SFW&=C&v5tXk$N_j`2P1jP2z^azEo@k>ErfaES=pmxTh)*`);Fz{EESBT4AU7icnZ$dK1E0T_7b4&L4>Iiwajor>&CLMMqn=+CuQ^LUE( zo{5cMa33_*coH1ISGZ@X;U9v4fkI!X4aLHo-s=n|juhpueEob1)hkayWt@E4<_ng3 zcBYfUHDL2DFbH;N6)b1H)mBW=Gp^^RjXZDCuPKH~A=sM2FnjYIB2YC`lL`0d z41kn4sSth)jSkn>1{7kLIMqI~S&*0Y2;GM7APRe-6*(7`iGV zWWiGqF9lFqkI;9MV4`-X7O3{4*-(d7d3CdPLg%2!5hOuJSbc_3lo<#^$drxP6yX(# zQV;kZO{HIWp7BwL;^}XZ{J&OvXQed5U)1M-?*|X}|7HdJv-B0e?I~-M@AYA;_l<%6 zuURlzN;BUSXyi}hb|XEjy!!&(CV!1QIYV;%?}$lZ7(^Wc5_H&h@l`Rjy7Sm|@=Hzc zSO%EK9bg#AaDz|c-IQ~cfQ31m<95b#x7*Ez&GzHS4DAj8^4(-F{4or=`CMJD!JKa} zaZ@TsvU0km{787TahvzuY#X<>?Ia0kcj`^~g*MM4u}sJXRG9%wBFU||S8a}i;HB_zFSOhQ9Rh@R z!4)X*k?oJ|N-c{-AC@g~<1To?mmd@Wlf)W}X`f8h+6|bsD^yaW4!F`bq2oUFK%}E@*kktTy#$+L z8oy=rF>nh6i0q?stHWqPNOtJ0rx}`Q!2fCm{*rn7 zQ?OT*esU!C=pgk7Y4kxH`4w5kjpS$JvNa}x!uHQ%fq2eVL0nS%iqTz~xe3A$k3+LE z9K!6V(4Io6NK5;?Tbwt-4;s4F^Vi>uR=OqX@nkX~Q}KxzDs;@u@_W+tT=5CNlNq-_ z9U+IybffR-xnS=aQlYGH4GbBP@dSPp9CG7FEaGqJ{*aA*1^K@Y++VeRN(6H+`mISN zzw7;f5LtiQ?Z0<+C#&y4N8e*GjQ+9J|8t8^ikp%EqDKyrePb+WYSyr#Jnz45R0dl~ z@(=Z=YppH%04s3Wpj(eZ?@ zh+ui^*oi(t)@|VKU<$>ffba;ygMX+;3PW@mI@V|qWJ7A$<2k!79C=E<cN=dLt7ShDm77>bRP|LvG8d<=$$v(F1F!2bs(om@Es2v9MckUg7zhL;lyl!i#45 zHS$gM4EY9-{jYW)N$c-9T>spL{;5Fz_7L7uvv5T|Lh&fkn%j<0?r;6Le*tsENt2T`H&q>BZ*3D+O!=LHvp|5P8AAFqKNp&DD)w#q31xN;n zQWykkk>dCFZaS7a*g9Ipvf}7)1_J#E7%RJ_&>$}Kk3n?ZYJRkP6H<;XQu{sq8y-JB zm51Fuxg$M{EC;+8zIi$KV=ac?DMY>go8UX{;mu!uHwR#y?{fVyFE4C(y!Z#`xQVw0 z7*4hQFAzSYZf<0eIrq@5V-tA@+CWdzL#(#K`Be$%VE;bA7mZIjeD?}HbRCds_vcAU;}zs(WD)-YKm=ms}~X|I>D^M<}#H#i<6dQ;Y)IoS4fjx z74s2h*fP(6-I?W(FTK9G^*Bi%GgP$8+n+$==tj`zYkj-x(!Iq-?a$+G5UH*OI+zy8 zT>&qe8{g$u^M6p7=LL|RHcAhAeP?|NnDrIVAU1NC$z-|o&A+?jf2`Pdhw6t))$$UDllkU6&Qhb+($e*!@|4m7 z#*V;;9nZlt4oBt4X#LKvILi$=i0lD|U)EM}c?|JZ0S1ecfWu;;RTP#TclEa3nz<#y z5;dX>C0oD_MJos^r7Nl+~@M4!h$~u8$JRV8hhH&!(L>{9uaI zK6Z!($Y}$aJ_lEk{s%~%-UvwVk-pRQ42f3IC3BJX0-4k1Zo^mFy=TPF+})VV0Ny=; z=$nsw`CEpLj~Q3tKH*M^T5p1(>cqIv3zpxjKn3mPyUg!FDJvi>g-aOGm@5g*xI{UF zOU8umKs92nihY_??^f^1{X4*m`bp)xh}#IQPe4!Re$m9u(b&aHAhuHz=lp=u6K432 z#b~r%e(n2R45mzr>t@s?mgozm3pTX3A~=_tYEF-qD6a11kX<%ZTzMHp*QF&DDLN^e z7{Rj|T;0B$Rlz!0;M^ixVS&tXZZW5I${13e|ZeZ*`;Uw1m?K$MMYQZAY4 zPtz>sYuu8{Nf-c-uJ(IH_c}P3P-A9iC6CR3(X^k9M^PXV+`UTO(ROHOo1ILc4AJ^5 z=#h3?}*sVb3bj&rihA#D3@l=3BB1n*;*HPZs{Q8n=z zh8gQ>x-v!Q%UHpayyKncWw-5xTnq8Z`W1toi~9Qi%v_}yohzK;4xJ@Dp;aPNpvo0HY9HbeL7H@2jps=pZ;?x?i<*~*s?l`3opx$D4X!Rq)t7PKgAWbYroPZz^VIb66WpB3_8{d5X{y=_W)j9 z_JGA)T+$U&Iib|pt3i#FE-cAGjdyZ-%a%j+H$`{1Zux`UkV7`d5E^pnH(&%*f`h9l z*YrgqdvcWAq|=o=f;V%ohuEsn)fZb_2G!_tRD97${nVqXJ$FUr_7j`sO@sCKt0i9k zoD(MAlkZHBOredp5eJ|uN^~#P7LrGX@g0JSrf~0)zj2Ml8&*b%yupd>>Xu4YJeQ5apuO;C0gVKVkJ7 z>&n_Vl(boZ?2P$S@$MS0@6H(1%XZ=GAGZ0Zlib$A_R?PW8{kujgYC2ibj`4aA$xq zMRlez?>v~Z2e%jTt5;0_LeWvZXv(cy8`vX+2H#(B(*zoaQ z74AD?Hws@zW&kmPs3V~k7q|ZhSw~#$;MNI37y=7XhtbgrJ$cWH;ivtp7igU!-Z``v z%D}u!MikK2Yb8!6X7I|9w z#d)Aw`KpX|73X?hSq1Zg9K^ zTQ42L&8$D|yfzl-GiE8a8ELw?xr%m`d$itCgkKcCVjIiBc3+&%LwFXZH{>^G)Tw-S zm>L8^3HHUYPMs3jZHeRt(D1Yx(@F9novR?}3#aJ}qxh``8tYDd{ik`GIcrvWx4~`m zsB>V>$s#1fsp>7LCSo&&%FQYwfAU5KC6?9hyCUK?1=${s)6tXwz2#6am07h;v(}b9 z%naKcr$NjRK62zP_kgR`GMjZ`p6yLrt8-nhJ+z>FQ2}a<4HSj8_Om}eQ|U*WrzVz? z({_BzCb6y_x^;|Ax?`~~4SxW?*^F}jx7ZaD)qZ2a0 zZF0dDz?G7QS#@kCPsnWm@Q;AU>wO95AcFWL0AD>W;2b^*`P28T(fG#d$xH&fA9qlk zqW7fjGz3@E&ZWykP=znu9@au!0iNsO%Mrk6^klPHz4UZ1#z)<~E@7$w15FaO40 zrZ#l?>)$(@L;WSvz3&xb{jH<_n%n!=_}ss_&424`{^i*zTU-49sOT=`35D-Io|}8@ zryc_zIQ(5uDA^c1_+B1iC}B~NGO|Wcz3$3S#e-AB;B=|PU$?)s#86@=(7b)Wc86E` zqp(=pYdg8qAQ1$J?e>nhuQ#4EyS=Wb4nJ;MZU7GLH2I+qAUWvf_$xB$68aB^`V#%k zCWY*n!!4lg*AB9Ahp+|T5nLwPJ4gVb&w)0Uw~QiECfw8X^oQ)CGWYKDi%uYu(=?qW zh^^67r8H~yMb390pb4%qp~sR;-a%&6H(Bg0vMts@afYBm)Pna4CV6D*qI2-$Ko(fK zgh9EzGV9p+J%&t{G5RND;=(Ub$t#lPi?4Z(Gm>d^4v|}%rnMC>19VqC%;Uv?WG_#e zALhMVkJ6$)QZlI%Z4pzmcZ^QAy>xW!qa?&zxD{Bl)^ckN6u-~I&o{Q?V?7wM%vxl_ z4e;i-&2p_bBI$Jwi0sF=>mBL!SKnPqrF2rs^@=e>G=3~hEN6ym z&fcWuf0P-pBke~~xX+PJc7|L3RC>fO6W~t?*Mk@eA{C|3)f@XGG`1^#6Q{6`+GN=~IJ5Oo1e0DOpP3_m5b$X_Ytr9$&f>}Xm!By|kM_g0!b2nqYUzvmhL zX4*Aki|GSMgNm(hjv37$+P!hoZ3FG*8&~RcI4nx&<@K~JPnYwEi;Vb;NJYQ#HIB0% zM1inMSzH%3#gn(cCnz9PTa_JLt7(r%R8~0`qoo1U!Yaf+i%4Zj#^D9nU{_cI!{b$) zDpN)oNa8y|7XivL5c|Usp*(yO8AzW)9U*f+fE;FkYOeNfFul*D>=wp_sBdX($6fjU z9~~&6`Pt3PaTrgL-PFYkbPD}lG{!iBjROe&WQ4w6DVt?VJLC+lP>4>X)m;K&||UdB(W{f1H|Sa z^_{Ea@CL+YFoglX2v79%d6|DK6G0bIVZJNXaPEk$DA`U_AAC8n-7+$qq=@*i2cluc z;c2pZ@+`BrXjjECMYQ!{F_Vd!z(}GFlX8i^1>)0k4^Eji%o5dcF}5aa!~m(Afc%xd zkvL=485l9{I(#iA^P+tkNd~495r!Ru{Oq`!rc0lgSn!sj`m98AvTD#+rFq7pMCgTa zcRgR$su(MHyQyZT9s=Zut={rZ1#zs3X=8U6LJfoCYF;cJ20Ie9y$Vc-pJzpjdTlIEeg7& z;iq<A3L9XP=0dtMiQA-B&) z;2zg!s0D`|aTU>PbP7d4QwPWG-lTnSr5$Ie+NQpQLWx6aF86W<#oqEstS+40t> zl4s?nn5(c~2TpPPxT>>=b%-EK{Ii*>OnT7?piD}%*cF_RonWB_0?wX*lH_`Mg5t6S z#Fc5M{ab0uv$B3A4O1oW?71%6exP%@1l%DKQ*R+|Ep*U4x0x?jkSiNX_xcu4oNa4y z?9EsPw&Nw8ojpK)W-Ldif1S~>{!IIzQs>!$OudfAV1R1n(4nwlV)X@Qf9<;4$TEG3 zgf+sYpX>~B40nd*H+)xAb652kL-Qg)Ha>Bm%JAwS&9(blh&I)%x3hjM2CiOq4Z^Yd zr}i+r7OC5@ZCsB4Ey#F{8^n-pg!73OVCD!2ZIfc3j&n#kW1o&p^J!5k#oi_1tA>+v zKczFPL!`Y-cL=sypxB=n7@-Wv#g2`d=b~fp)fPOBmo%&M6Z?n5_`Jj8w9P5hF`V0Y z$v;w<_k3e%qez7U)7A@Vn7u@QT!+1IK}u-X*t|3n&VZ_!aJ1X*YPanjNjE(V=Nou}t#D-VQvI=9yL7KWYD6 z6J=Uz&6Iq*y~Y1MdHWx``oA>M|HD#DQqcY@dCT3P-ry`P-I%`b5=kyXZjJowC!r}H zvOi=T*9(hy@YSfXiZLniS3ysqY!J^2&|5*c3(F4#C^Ki=>8y^E>L`9#)_&2+zQR-Q-EF7>}F+I}b8KX+y@FNAejKW;X|g z7TsfkdV5b}qiS1rS>Rg?o3k~WO$q|6gxNp+$wsEsLikJFXc75Y9RLX4Iybx;Xx|ECtfW`^43Un~xZ`sfDr%G@?>@j@ zg>Xpy9ts?^XZog0hpeOBe#I3|1M}*HnSwr^AgV_uP1r{4-cNIx5@cXPsLI_A5@<+o z{N&U3D()AsmT2hpv{% zI5!%mDIu9R8&p&TlAi3v7~xmQ1VO@^%=&USjb+n$s|w%E$%rYr+)7W&_#Lo#<~;E< zX`BC^Z9T#Z^g_2Sn~M|-&FBXoiFzoXY)9@_+EF`LKsX?iJG50sQWrQOuGLrX`W=2% z$HNk%y5-F^_1l5rpC1ydx;LbGG1GjF0eOrTW)qN z7|kk+IFIL0Yx+IE+o*vXH_K3g2D4PHksg>3^-FZiNSrx5fTnje(F_GFB3XmXEZ~9I z>(*|m+%yQn!A_nTQn5WR%bqGa5`kU0xiQ>$^;)H9?xoUL@u+V&3m^bCwum}iQlk${ z!c5gt5~n46NqFC(pb6GQq6Yl53#*x>FFNWx*g8i1baI(IvzA$s``5h4+q77yR4RzH z>&&fjdBh3x1;m}Sfcto+s-%gMB$|ay!_ZMCNuWT2Gz5WHP2dy94YonE*i5RCo?P(Ig7K!KixN+3e6MpbdN2d8&t!jBYHa?%n>+7(_NMIua zNfY7W{bqH_mnX|#a)^nN$_vZGQT>HwQ27A~c#aGzcd0(uts?ldEK^pVyacjA^fRv7o6YYMV%~YjH8r)Z-EEbP*8OtC`6>SUFC2{z;Sggqw zq#gB6Ae?&166>7m-j2S_P8Vs;65CD&(}v^K7kdjf=$LX zC1%UOxeF_UmFi8$O$P0zx6vdoAN^(^A$Keg+N5W#8tS`2`MLmqGI(rnDLZZ8$k+mb z5U+#k4L~rFWR8cwuT#P(b`@Tnvf$;Xi5gT3~voba_s~~@0V@tk6Vi^>< zHhNd;o4Iv>0PC`2%RDPPWQ;sWEs4C?~zRXm}sk42f>P4q{3_g9@EQ4DYq<|)`s zc|i#gsqrV5qD%#N{a{uxdKc*!9B6lGs#C&DFTNg^ zWWBLhvwxe6)db6`!lBO;KA>|6`zhp~bup9O3@Ug%6KMs51!JK?9L2Wq$F>=x(~WdC zU=?IRLn(|NdA3>Bn{M=NDnEH5U0x0E|Lg24fa*%Nt_kk$?oMzI?jC|`g1fuBySoMn z?ykW-xVt+cI3)1jyve-Gki7Y({!?}9+*@^f?Y7h1XZP;4+#~$VFG|RGt+4Bh!}gs( zdk7)T5mNJDTPgSFG3+TRM-;c_w_IdtH=J`Aw5jE-r3er{tC&)F35!Le;~_x#X$E{I zDqq-tyeFIsVk`arg^2WyH=Jmw+ndFkLI1QhwgrsJ2`8sX19FYuUpHR&7<}7-QMM{T zcN0AJo7rnp>Aks1nJ%UDyy)1^D&|>D5z2?PaAM$=#BG6Yq_AQwxtZFc;*q)!*0eXg z#9CG51K5uKHjX=E9m=PzP8nnVj9q&#DBT^IxADG~tqByx@r^n$ZM!jsJTQc5RaW89 zZ+f=+!)lXDynkhr{$fFVLnoXluy7(w>@(wIe=^x7M@A9Oyd!>Be?|q7z>COD z%ysc7B#|ztA?UT!u{^m=3CVO^_gF!9UuAz;uV#{K3j47DyKt%YfQ%YDBqDM=M(UnM z#3%1^Gx%`GNuI?mj?>h`n`Ouln_WYwrw#7Dn}el&@`f8(u|CbmAQE4mpamhpFUb+7 zt`H&a_w8x(4s2PgC#}u74ke%GhcY_$tTrFbcvl`WhW3SUIZ5|L648>3%JB5ZyGcFL z9URk9Wo?a8S;=3agBn#qL@9(;Pm1C)k#s3!jZEdKMq}*_PDu*}@AsdBn!wB<(bkUL zf@bCS2pl81`*ITtSTsGR4Wy$TGu=Z7s$Q8$b3k`xh~f5gErYb9Sd83YZjh!w0L?oy z9FywEt%6-kyxQ40lxYV8@c>;?m?K)LgEz?zx05n2(i6=Cdcu)^=n5tNRrLo*M9~<7E6ug&P9~{`H(J1G zYXV>*{Q?X?D?%)-pr@AW2BPs=t0~4FER2<>Rzpzg(&^NNld)NJ#J7%)+*9JVc~Jd( zsOorj54c$aVk1oq?EW&vKMR=5h?SD-;ztem1O_VX&iA@I_qY=j8^vLZL_VA* zmlX3xh&z$dA_x`)>Pb?C{N>jdkCa=e#f6~kqjs;d{^c6tYRT}*0I4o`VfK$r;(hAM#mCMLP9r)l{<(6u5>|^RuTq7NNlEN4BBm0?{ zh>_}VTfij2UymcDFl+}**Zw8UfmiQyHCvt2Kq;s zmR)sht zAHCostU3HLoFLSz);JUyj86Hmv0h*56pW>%Sj2~qo$&Z&jtD`6Db%3Y;lUK37ruBO zhT;x2%%~Z)ajAZ215W25H1&305;!$eWH@Bs6gV|Sga+!vofAdT)w2*JCUcc~Nr3Yb z6ySmp{k2X1(u6-2>Owkp1^_)W14}y-dlN^4-^U{5EBp}<%j{0Ot{YQ-tJWKuNZ*ow zuS*yqsVhioDmZoX0zBPt!NM^Kpx^1W-kX$q`_BDZ4C{;*M;ZnkMJU;AZ>(u=jK}GE zufl5W1Kry1@xF6tL&@-0`qDS~~+y zQxb1o`*W=nNY@-7x_FT?Cm$#=5qPPyHUui!)UICbi zx5O(fVAhi2KQ|w_>X{vfr3IjICeS7~kqMh#WnMG zUxz~EL8NMDV}%~=OCbC4vJd4VFu<2Pd%{FAqtx zV-xpE)``IerU7ZVEjQIEH`NO1JwbHYtS6y-;S*SFO#%k}m`@n8+H!AOr7$}8_BpP2 zh_3KgU)rencO?mwBQIdOK#_R!E-)R1zLLZXK47wU@p24m3q_uKX3^Rft^Iuj3dpa; zFhT|b>I3j}k^hU{`omeM2IH(aQ>RUH!4Ve+LK*|)_lg){P%jop(EBr!uwpzY17u*3 zv$$-m&!BX23XuGV+-d47`I6js9x6p;$|4fM@}*^Gx)voKE4=1sCs(T)OKw(fORi=b z2OZZbDI?PGOR^x0$z@)whT<;6Gy$M9rAIikh0Qm?FhL+hX3i0lkw(4VB>1>W=f!q$M#LGztxu zzB*?y9-Q)UukT~Fhh_-dMvjnjDAv8UNvYlW0yPi{eWwWRN4>$Vz*{3MS7+&npVe)* zt&n}LnSpLs*LPvBK6JsVooy2#JM5ezTh}TcjBeH{TzJt7E#=Vs+7SJs3489)zKTJ! z&(2+wLYY&}F!8~-P@MBEFUGz*QAPBs2=?1_u_NdFs3TU(=u>K>rp10U;WH`sWy+2@ zQ}-fS704|IO~SUT%~0=4VC=WMTjUFK;2G*J?=RWzoNH9~Y%>}@qj9CR&h(GwLVcac zt?4b}wTv5djPR50(JzGzDl^s^2=6V$oJv;8IDbdFj2Q*qZQ&3TDa&lyMFvR(1YynG zpdUf4SIv+wSx{{EMx{i+S*-Spp=Pb+#qMEH&0>@hq$*C##0XE(5JIOt)k1}Z*pf=t zB+EZaUUrB&fO`#rMZn;MK9JHxhQ2kgV{R zB&O$ciyoY!l1ko9Fvm6ToivvZ^^!{Ew;nLVzlHh;Zw{0(?8L4y=-q?Ao0KPC=1pGR zy%EA3-v#BxIEpoiJq2!n(CA!d4Z{R}s_io#O1h;&dzRhq?Qe)O+O;SySU-#k&-u}0 zpt3et@j+mgUK-BG62)dNrHv7yfy+W$1qQ`MoAYv(nVpB6xwx4-E(XB%7?c+quf}P< zsN-Vyg&!Q)2RR0{1P)<)t2S03JRMkDC0v=PO(O_rMAm%SkOkVQSx6aEM!=5E+}-w` zESn6C78u)4wTEevu!S!;B%vxsP=I2cUn+d1&0=DGu+LkTDm||Q~u@jYI z${Rtm-vq%SDj5IRX$lC<-tdrJV2$nTiCFzAe${O<&yhF9w3xiz0=)rNNc$&( zf>z=7B5Cs7P?1qsJ-Kf%G3_x{EXDA3n@G-))ZWfUk8yz_urJy!&kNRm9I~j~mFCOiC{wDzrDj z0DNr_B4Gce-`TDZkOeFK6q8g?kBLi2Rp@Aff%q^Bhm3OC@cRkz>Gkg1%lVILIIwl% z0FovL1h2t$w>w_HGYp|uolclv3HkItce@X)(@*h$^L0g;y7#PCKsJ~|zz?zc5o}eE zgAk*1ka@OeY^>MG5BvJ17{b+f<21^KICPL_^}~7kc4RIa0Z(@?l_e@#kKvGC980Bt zl>4H9rBM_iI%>(u#NvtVgG9-;pL9v%7Zv&NT>ZCIf&_@f81 z&FMka!A5vz4ddea-YvM_!<`FcN_p!gFff&}CM^ssFOdmHA65jbr~H104>4JpD9B=c z3K43H79K~bLI8&;z1vYQb3wl$DuiCIAtdDZq}H-8F`;>#VkkO&NJ@vv=LS+7)58&K z4rF>Z4fRkG6Em4oI0~^;i&WL+@V+o7u&t9`W@e6YX-gYbhW@Is=Ty~-H3p(P6yT*N?h$Xp^61S)>30 z)U{2kb$00|t`ACTe6HhkUVhEHMmgw1JQY|d$Fb1HTkFl0_SPwU#30R`{Agd-S<3S+ z?epJ1u>_Rtv&`Q0MWvi{Q~C$COTv3#Waj6g!OsF;DKgj?K-3zV)1Oek<#0xAT(<1P zE?u#?%JyrXz*FWEO^WA2Tf4(Eyismy6WbbG(w7erQfm=drEs)Q$x%fYnA9RvWgIYl zYL#J0pBO#aTwYe4n^h&w4U<&nNZceL-Jhzj{HO!-G;*?Zo?)mjn2f2`HaCLXXU9KV z6NC=ipxUyd)fquohDcChy_#B1C`m>$#Y8dZuD;+B!c5~>wVc{k(0mE3h3k@4pdRPT zhcB_RB896&uwd9Le+B!YVhK%Q0GZ_?u+&?#nij4ZGg{h@7x7dNt`MN!Go9%Ej0F zDC-ahxq3oHL4LmBxD5pFL=B0vEygcORqa@k-A|6eqA$bo1Ho$?dvFH@}zFBuY3ua0|E-@ewY7jxV2Klg`Bu+P)F#vTCHDd@PO1- zzOyL3nB`f|rN~SN-jhv?$~V7ax_CEU`A3c>n#~&kJH%q-S<+`S#-@pGV>LdP)X3O| zq+0DSJY|^6VHJ^y##9k`b_cwduxaV1g%H80B@ig3Y;j@}vb0C}nw3*&u2g53P2;So zLo018o0#W7TY}=`>Vap#l_l??>@$%W`V33XaG=wbMo%?#b(=J#>_c0fy@`EBBm()Zv57e8=E4Nmv=0UNdV+J&zX58r@ zs){V&&x*Zas=&F}73NE4C+~-Fg-0+qc4WjA7bjYvR#{VXr;+0ysPBuQ!wu2L4s#X+ zU$q2{#W%65_#-!3B1t`>UGVpj`;kOik*{$TvW15iF5x z6N){~bXu|)6X@zvD$yZcOC~f93d~wEboMA};#JDRYB)SnCzr@z2Q9S`p5Vndl)?mW zATn|pqOu{Q@?|r{xf_#nH6?8_#k7{ixm`$3HZ7({GwjLE@=I=kPBz3$==mbo`i%+r zBhS2XJDS zt*6cV5z3X(hs%zU7^@^HJB zu$G*rz$zJEoVMER_ST$D;kqTI6RIz$O$36H=q`qH&LD%!#e*LmF?PrAzv1_s(F1$b z1{dXYfumq+#B|2?`ZD<7tJ`i*KNx^8a)Qm06Q&^4r+~JM2y4L6m--OQc7MWIXPE`xMf>BtE`Ry$NInN?l^sf3aphFd zfEV2ACkdA!d>0|CbD8^k3#2*f&mgH^G``i=7PTggfw|8DD<`qO06TI$XblWSZNHwd zP0r043p#lD!A6DBY#OK=`I>{O&0nCEEe$4M6uMGgJUG0Aa&TLhK`mrt*8FAD<1%QH z!=w~{?MuQpC!XE~w;r;XQ({-|9R0}=q~$PQc^t}jR8($ol=-55s8pYCmvjle(V2vv zd)ImL>FUVCK16EYh?sCY+c=&l%uyQ(Jb#7sfUI^Z^p&sNOuvam9mEEa)Jwe9Jmxz6 z4Aq>d*^(W}+Z3O!;br>Q3UR>3)6Ee)wMaPXh~lS4DD`hZ$Cosno7$-4z+K|FKTc>n zACmiTBo-N+zx#l*tlaK7zftw)3BO zfJ|B=^5+#CcbBG6D{KG?S=(@TP1_rHy3@SJpPRU8idfyyx_r4N$+xYt-~W~Co4=f| z6!I#3t}X}FJCQk{WHNm_q6bD-m{wNtj*NC8E0R}hg(g5P6pRnt{?|9tp)=!GlwB)Q ztolOn5Y=#Cp4f74Ol)As=fNAFc-z9NSl2)Fk$#9X@mU4P-$CAKdZu^^^NAwg-l^R~ zu~<)-w?izhidr5YgWVTNGE1a#8e8yqB~D)K0V!$B(lZ!dIFs~l@#N*dq#q8s-%B#i zfzX~GPcR8fR>qtj*{xNei=eM9ztMcdx!x7y zdvVV}?G@pW=X%y%4~#Lq&(}!;u^jLz;~=|Y-^*_{@E!rETI`?!D%v8*K!1*6=m>-& zv9WkXTTZEOQCNC-X{$771kFsAvzA{u`Z z@T%~2#5i`(_jP24_eY{GU*Ui&%+LNN4815vn*9y^R>hW>Vl7De?hK$469CY-MR(-O zR5DU2%m~B3C(sG*eUj>MQav7eIhld+^ike+>@(>T!M6z=Mg$?IZE$5gOl`*+x&y6TAYm14%L;X#+2VPx1mXdk|m!gN`ifA=fgy>@Au0(Ka zurC54@r2ya7I}~!;61m4N_0LLm7U?ZIQU%0AB1q=av0)K=-*!|(RDoglJ z%yj=#1J2PtI1Xj-Cm3ITnE0IBU`Ba&$U$Kg`;b;fCo{a6a#kmibCO#vccKu<+z^6J z1cO%%CGV?ad>Lh2KXKkHuW|0J+AU>uw0{G7-4_auHiccCd_WDFhZeOYi{PSW)whVH+-JH&epwcU;QARK-6}q z0ZK34eeYOf7*^Q28*9+GIoG7I(-q^YFAbp~8%E@{XYekp-wL?@Ca-zdrC!y+rNki4 z6h9m{42ztIeDjFvNH?ydVgcs`hQQJQ1Cy3Z@0#t@j&}Dlr2iJHvLPGR8%-8{Tdg=) zkai5A4~<<6(}_#+CQRAbY;MtRJ(4eT!{~0-qP~2(TWvo3Rz!ZI0`BBClZZ=?FVU+6 z&QOZCksLR;Q;8Oz0d_~tERAab}&Jwa+HS>TTF zJ@Z-JUdM%N`s%!n0#ly@8v7U3KAFHKy(_}*W1IRco%7oj0d@`-6|910*~`icYO*^< z_x+ipryQNlvfGLS$KHIL5xS#CSwiQ8mZfVV0v~G0%ia;e`lrfcs@VJN0bY_}AQJ=$ z1>=zebA(V!cLCERMKHfheBn^#+426v@#FyD1<|Eb%1uy2N#x;u&X5?$X5sgjZ{84a zm%?t7Er&A3!wV4&7ezA$)*x*mm1XZ!x{KX6<#>ro8qVJw099fEOIggpS0cX1w~r(Z z*uH4Q%sCTfHH$TM7ZF`6G_?(c(pRHNES@DYv#^y%=fyuijfo1+nuy@3Tmivq4>m|X zux4sRwM>gAXTUPF=hWmBp#a;rm!*bi89q!X_3x=YLgE~Dvb0Ol=`;(f-;1r$ZE2%^Pu=W~`+kn!2r@5<^QaH9((uzEo0^S;HlMGyEESJMm-`G9I1oJWs4cJ8xu(jtE*jP z>|l(OAFmH_{51*HU*kVLDBA~t-x2`8ezZ9V#>t# zNodQ;rp)FIMU1E6p>@G-*EbaPB9LApd5ae{^brH z7NrrKQm$TSC@w;Gd&)xCg7*WaDq{ypj1<1kI!uA5;1aK>WT0QXQ7tafH?+7Xw!krS zckT@qLbEEJUZJz;2xo>n)Z9$;GFy5Re1S9Ys4QR#?sr0=qhjlDv0`00DLYMiJ@C!z zslI6$Boxf!40xmb-QlS|mzFu+jWJyo%Lh85o6RXEM#(ZIlZ+$O8a;W?Q#*_b`9ofp8|@RD1^z6~%@D0^fu$53B;bEnjQg(fFSjo#I zV9|i#%IZz%SR|*W-wlcsg_zJddPAk48d@6$3qSdtmG8K{J%X{&lv2t1hW7~XkmW}AlX%Y@u`TRlUV+&)vL8F{ zf-YiWMD7qn?1a5ToAO}Et_Rs$atT5`)c7xnx~A@{$k5lBhK!n@Fb%1+nG$r>A~1&3 zUnMk{D^Sg+704^eXeg8!yniEqNzC42z7IjFI11XWD#4@7wftc*HHSGoh$O{hhd(3< ztqt|lVnIQYxIDa`AcKF9{Zpo7Bb-~IQ;N=*uF!g2pl{=MGK=8g7mokF-L;* z?!)tqrrEMo`)+%w#Kw*UR{;xR)N?ok_L2nqUdQT(Eu4#m!lePKkLA~J0}D+tYbr2~ z#GB~yLx)K&cKO`zPj)uFw7Rra=v|7faj$DcM`=Gev1WD|dtrF^EX4w}Z7@aU78A~2 z78s1YQ}5BkIuk;QNs{N6@1uPyUqzGKqjD{5%yfM&EUYF9)(j~mincby@Ufzk4vWnc zHrmGfOn=&DAngom%)Xa~#Mgz(r;u6$^%{raWcGAiG9_Of;MlkhF--Q`v(@!TJi z&C3FuCf(|vQCU?e)l(Hd&}^jd?yfB<*?t-LL=jwm)D?Z)UvKtysk`@)rKobeWK&UL zlL+y&6bNf{Q^m4Tql+QCu9z~RtsD+-hIKvh%^=z1> z=DzQxP$dSM$s_5s@k2zVn^RV=;dt@6kj%9+<$?Vt3Qo*ZG7Q80r(Vv_QILIBJauQ| zw6Z)aGPk=~e%}N^5Xg(JxVs1oI?u}9dtWpHK?2jm$?{Dd8o9`Eo#~Vt)JiUDAJU6@ zbbPGY%CPE8TS5AOQVn-Is|$BKr^|wdgE{{=X9fgZ7YAw|+P;TG9EJPQeo7t1hZ%Yz zDrOZ@DVyQMu+=#l{pOLvckCs^m(B$9q$R;8dHGc5f^6O}Zi&jz?C zx`)8pC(N)3`%6eYZF9a}($Q9dw;(=HMEfZC?4Om*4$d&DjJ7`>Ww-Ok`_4lmp}_QX z1@#Dpem+607V{4is}v4KN6fbh9}lobOEP}>4)%r;EGgsG_T<*~(&_>v=n7Y@MepOop4yr4gkx8G)mNJa~L0Jii$9ly*+ zm2gkV;C#q9b6?|R?s#&4dhrg4hD!hSYk6rRUqOU>hOFG3z|b@a+PrA*%sx6=avKfL zvk#3l9XH$6d7JH_5YWhOBjz?L0tMB>*U772{EJllkLYOji=ex8wTCyL4Vyiad}{`2 zg(_SlE5mn~@<}DTkhRqWSl-SnB5Kqf#V@NMp?gi3n%nK6EwNF>md&#oS~7_Z*kOjd zaQnt@)70zj2X-Hl&zTjBzh&y*xl(GGc&DuO#)5@MM?>+YiM5pi_G^Y@`t&4Wd|5={ zbRHl3)N~$<)=u@*nIoFW2~+D~1%`OOsMyH3QnT?M+&~rNF!FY%6U(iU@vC!PRkGaX|TPdOUsO< z%|m)JZE)N#*JtqMq?5NS5-hQ-n<-~m64e{gct`#MXUKf#@PS#P+_y*%$L}k~sn>`o zNklnGY5_{q<+{^*1l@JfC0Mp}XdOhJ-m7|~_0@+&v3y}~5xE5susjF?6(~0LktUJ8 z`d$}l*(9_0nieU(&${g|62wQrn@L)n>8HX!FFCT0ecFt@il^OxDCCaa(y<+n#_c6% zL{oPbMKV!|BfSvYk63qbqS=im=Ok%=O@Q-daD~Ot9n0QGsP7FW4bJ6ytS`uiDg^zn zdP#kE@DU63A2|sUo}NwL^_`V=$$+Pz7;u{PU-4c1@fZj=>DU_l5diZSzKb#?z*;4{W%qP8O6(l!>lT8Ha0Dr@ zH-bUBMxy#;s>o*6*w{#lU4hf?>EqX{ZxG%tr4-RUaBy7JUrYqwXQg42Gv*UP2=&&2 zqXBkLSVRa{vXOysml@8W$~n&z47?sJvuWuHAp1u6 zVZafKDN6f3@yNV&m-sc!!*XG3`w2(Ed~MTSioXW@3DZ(m$fH^F;F_|`7k{r{9n2K! zlXI2UcXoyHln-6D*dq9cK(?=CagN?9GiNqb*ULs0w8b40yd0Vbo4lPrGrqqs%JK40{73 zRmTm>OtJOq6#;hg>WL)$VqLGoSTxZSy;0F7J_sgxw+c7+n)XWL4j!B%t@#`lxJ%pP zdIY_5z!KdB{jlOe{-Jzf%7yyqW$SSluGVr0il#_Y9{uBR0?)yM`OSxnOtV+Gh2ax8 zZwj4^K)Y>weeBg=@`&WVHjWB3uHGAV1&}czrO3#^EHLqkWi< zCFtA|>sBNGEa48R$J;R)B(7oHa;h&haYC7hP}N|YZ6fFgw^n~&u~LAF!(suV_Kdze zBYqwD{}SQ#EJ!axUPh{$AJGF4gFRhQO!0}B1zNO1hDux>6&M<7wc()IT!OuNCH|2O z;StCyzELIzG)@pBF~gR*`Oyf6x=a5P# zh(eckvQTPp&W4M_TKQISIaRV>8Qxm8$7~z2zt`;x#NX>zXaarr5D*dR4tOK@S2T8l z28LF)2BIdmcJ>Mmx*UYgY<64~NC1%sC5Q zIcB5K2hN+o7%UT+9*$Vg@ddX5>;B~I%GEwlht^0vL9zFZQ;B-9=8S?`jj}?-O1hYq0|=aZY-U7(`m_62QfOOLFAzngSzH2 z_2y*uh}i65MD2;ww8Z)X4TqL-N>&dhN}RwPwS{8!3Nz5O3sS6;!(dr#N&^0t;3*gM zK!GXB`C@}Tf`w)iYxgmR?Z_3?TI0BijKO7)D+pF4r3lI5cN)#|gZAnLtwm0^)Kj&J4JcF%j~qwCMHpIm5a~`Sj7_76b%lGWe2WvixpZ z4j}CGvd;uN7)jfuIqIYCe(fdq80xpdE@sdhhD%$5oZR^s+!$@5HJ8O)H~jQ{!;nL` z@M@*-Dpt~YE+%uo)iBPWM}s8Qu=YSGX=Dq=)Z7?^7srHwpm-kf+Y-9iZxBhv~kz$4Vtcqb~HNRbkC%f zKkO$v*VN`u*Y2e{M8frUerZI6-wo3!(#UX?CBf@1^Nl_BE5YB#kT@Xjl<$$%Ujbt@ z=dWY5f{UHKfyKY^DP+VBOLp_427a0^v8bz`HJuSzW)(yc?g_w%M#p$V|N6i)6@My* z6oq_Ba8**p7lxoS2${kJu}GjtEuHz|)6-~rQ>#~N`-{#O=1GJI5ya-GIcol+z~*S# zB7|N;ugE_^=`Y?#^Vbjei)Swy;jc=sAceYd*~Y&)vkT)AqE=;*?I}&K^zM|;f?28s z!{atqhi8V+A)IJKSr#M00@pfip2iUib8KQ)APz+VX2mhkg|_k-Y!u6$n0<({7nKQe zt>=vPb*Zne_f&PGq_VS?e#dU`vJzBEnHKI=QPp`cH}t9_-cT4!F&jt(I8Q7ax94@g z3aZc63rUM|W6$ccJ^~g_ffG~bvbu>%xUwm`ZesxLjL~#Tt|cPJ*M8QbC9Uk2qCTk8 zu^o1m5S&-*^25L(W4W8v*eTQ~33dkFr##Fm|2GiYzGXxD0HE?#!4nq^Zf#7Ep!=ZY})X&G8y`OLX^q zcbj44ytfdyfHy9S1${qIlgUhioAfjHz4WCuFV9C{YoLBn>?Jm)`LSHnEi6acX*w3j z6qU@&+&O>6HXA_(?vLYSrH(uY_}bwQ<@c2Lyl#>!?+Cx50N%c5?|ZH~kW(JLtyDO<uZne-ZbcCv< zF$2qdHyUPJhp=LxJ!9_Eq#g9O;s7^i?Kr9T>k|4vF5@E$oUAOA;wKcDO1F;z*o|jA zZMP9A$%&Sf2rz2CN?s^z*BUY~ZZ5~~jdMiiH41o6PuIL7@Apm#iCa}YzxbE+j;>H9 zn)|t7h8bHI&|4cI`KoPn(13hXWw?ZNhH{#>RsA9wz54CN77h)#`J-WN+|WQ(rW~+p zIWRf103$ecl{Eiix`FY&A=MS$?wkfg8sms4a%^YMBKD~drZpad?s^cV(A!9{x#QHT z(K8D}ZiNv_A6nyqQHf2d#J;?;lBp5g%nWAoE^Gg7t9g8f4Se zf+1BpQz^ZCL#Zk<@iwOin-VGx{2a|4Xbr^3{&kAY*S+wlO(Bj`320QQv@V9NtQt4R z8+Rk8nikHENB0MK!axzE(O{NIWV8w2VDV}J`ao-`&PwkkO=fDr&SYPq4A8#2u)I>ff5(8*wK=hy!I+0vl1#L1$6!Q*_bxf_$sV3t^Eu$ zN9Kagh_R+#*J-wDPVODMV6ok;Cr04PX=34faIRES6iNz8 zVHnJ`w^^WIe2#trdt~%wBcnS^t#`u}V@E2S-VfGCeT*>}%VT(eI*z&`Ig%;uMJ7I! zXL{VaP>Ht~GC3pJJM}JDd}e!213#USi5R2B<^n6T{&;>PvIKvr#u2=<_lpj#@9Kfw z#mGdwB3KRPU>y_=5?fe5C9!mWE?O*3Og_dzS*p&#jVOxM{k-iVxO1v0q7>H2mdh1a zqn7^~GF-GsGRV|8oVSI!L7J5yC64`Wnu9nSevFD-NbVq7yrPs!&F;y(NW2p`qL?J7 zjnA?*U4T1rEJZ!dslGs7g=XG*RwT0yjc6M7_U6*OFE+ z{+jo$cLZLqd@pE05USA{=w)`)dU7vV*#}Mx!TBN6jsQk)7-0%ZkkQM{L()N|+__i8 zuEAY%{1m#FFT6~95h>b|_O(8Xsl%e+V;F`MyxM&G_os5X_#>1UV2~F9d5~3msiZ5kEpCf!v0GR6j za{;Ei9~UCfH-S{Z_wRg2|C9po-t?Cg?LSidU{Ly}gaFRcza%{Pd%_i`QpXBPnndt(6kt%=@GX6NS?_l{NViUF3E03YJNS#$*C;Wri~{w%{EZ<){WK#N>g zGy!>)2c)L^8{RvBv-mf7VzxT^<_1at{&{gL3j=8@D>Db{-$UbWYAy8wK<)v(^!twR zpI5C91VD}JH_!mmUvmdLz`-(66LSLrJv{?EI~g5I9iu;`7M|yQ1WsG@JB9Wgz@hi| zyyF2xO@CuRQ#K-}_pAF!W|9#%&J@8C+09Aqo$UDQI83){JeeMu{3;n!3 z#Q|y&=Km|>`7R92%7Bam0cz*_kn!hL>qCqFTXbnFqyJe8W41@3Xn;TyOF)^wpNsnQ zs`cprXn_2t7XBuC_xs{=tk$pK03NYpz$ifYCm`Tn>w^jS`5R2YsX%)jbMxP$t#nF< z^Z+U|0WdKAy`5|T{o*%hf>u`c-*q>vWpqp|0Z!MSY8%hHfcR_!=@g)iNB~9su9@)X zRqNvo5dHfN^p7qe;%uPj@L&4$=cxYJc_q~VR6zhL^`DS{d#z83&~H)ycqo2gf6w&q zE8@B4?w`=LK5??Y#r;vO|7-Ypu5tJi&ra#Lcz{RQ^N+a=?#z43d! zJ=fs)iHch#(pKBfbw1i^(FD(5vQV38w>%S@=JU8{6YW}CGC)0m2^*@N` zpTj@rO#ca=VE#|=KU(6S7}TGedQQIj(^P}~zcBSjrTt&k^_;)*r;!Dxe_`aG*({%z z=sDfrPh%Kv|77g1+tJT4pOa1f#60o-C(IuW@(1)EKmM}2_uR^JR->O*4t;;I@*lKc zIgXxVK4(<;iP;tUE9SrFS9osc`6>UOb`ryXvGeQT@vqMOKeze(toBcv!cqUX&EF4K z&x2}zVxHyv-0rG8(6=ka4d4fGZMV&KnN;@^0FpO@r$ zyvI*NUZuYn`lY-6)8qDh5B(={K*cY}zjmfSpnt!k{=5*+_bz{$a<2X-Q~$?Y`h3go zC+vL9Kf(SOF#cf!?|A{9JNAEC!fpJ;()0I+ztr9TQK09}=AUNHntn0!7uX*K`s4Nw zW8ZVH<4=6i)_;NjzkQI;>+88A<)@+Lj{hzU|Cd|kwG \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >&- -APP_HOME="`pwd -P`" -cd "$SAVED" >&- - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") -} -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" - -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/java-iam/grpc-google-iam-v1/gradlew.bat b/java-iam/grpc-google-iam-v1/gradlew.bat deleted file mode 100644 index aec99730b4e8..000000000000 --- a/java-iam/grpc-google-iam-v1/gradlew.bat +++ /dev/null @@ -1,90 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template b/java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template deleted file mode 100644 index 681ebbb4cba2..000000000000 --- a/java-iam/grpc-google-iam-v1/templates/apidocs_index.html.template +++ /dev/null @@ -1 +0,0 @@ - diff --git a/java-iam/proto-google-iam-v1/PUBLISHING.md b/java-iam/proto-google-iam-v1/PUBLISHING.md deleted file mode 100644 index b49df1abe8b7..000000000000 --- a/java-iam/proto-google-iam-v1/PUBLISHING.md +++ /dev/null @@ -1,31 +0,0 @@ -PUBLISHING ----------- - -Note: This folder has been generated by the meta-data generator tool of toolkit. - -The instructions assume that no changes have been made to the folder and its -contents since it was created. - -PREREQUISITES -------------- - -- JDK 6 or later must be installed. - -TO TEST -------- - -``` - $ ./gradlew install -``` - -Then find the package in `~/.m2/repository/com/google/api/grpc/` - -TO PUBLISH ----------- - -- Make sure you have an [OSSRH - account](http://central.sonatype.org/pages/ossrh-guide.html). -- Follow the [OSSRH release - steps](http://central.sonatype.org/pages/gradle.html#credentials). This - requires you have a configured `gradle.properties`, run `./gradlew - uploadArchives`, and use Nexus to publish the release. diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index f6e91e7093af..df3761611536 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -7,7 +7,7 @@ buildscript { apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' -group = "com.google.api.grpc" +group = 'com.google.api.grpc' version = "0.7.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -18,9 +18,9 @@ repositories { } dependencies { - compile "com.google.protobuf:protobuf-java:3.4.0" - compile "com.google.api:api-common:1.5.0" - compile project(":proto-google-common-protos") + compile 'com.google.protobuf:protobuf-java:3.4.0' + compile 'com.google.api:api-common:1.5.0' + compile project(':proto-google-common-protos') } sourceSets { @@ -48,4 +48,5 @@ artifacts { archives javadocJar, sourcesJar } -compileJava.options.encoding = "UTF-8" \ No newline at end of file +compileJava.options.encoding = 'UTF-8' +javadoc.options.encoding = 'UTF-8' \ No newline at end of file diff --git a/java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.jar b/java-iam/proto-google-iam-v1/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index e8c6bf7bb47dff6b81c2cf7a349eb7e912c9fbe2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53638 zcmafaW0a=B^559DjdyHo$F^V0Rn=80*aQV7YF*=K>qvZZ-f5ZWkpp4=_KXE7(js({)Mne(XCA2FM-P6 zj`qJ3$_mO!iis+#(94QF%1%$oNYl|Tz)RCn&rZ)ZD={v!>>oc&(~V2c$j;D6(gMR= zgqfuMD$%0qz$7pGRbn(g*ot$W`RH`-1pIFc{$1n0b_Vu$Z0}_Le{AZ1r-A(^jk%Md ziH+(1lN9w|N!^_c9UM%Z{*NgZK_+I!e@R#VcGCYmMa16S&c@!*gp7&a*v8P=**8WO zW{?pnbkBlKi^h#12zD(j?0q-0fZHZ0k%}O z@ZbQJk&sUtNBWd+CAnc&Ywdy>+NIPsxM3ShXImfZ1t7bc4vQir)HRBR5{Az6QbbpJ z%-_E{21v+>QLHN#V^>;Uf(K`95a8FP!fX%qD3IWSjl}0uP8c#z0w*Mf1wj}dI|T1a zhwuAur#!M7x{CH!037}vvB>|2M`cfE7gJjWC;PvL90X z@AQvDC{?z#M-fEw!vKVjEgV)F)TVB(dZ`>o*)JI2K*vTxGs#xT$_UsRf|}R4o7g8l z)IUYrvfe|!6~{FHNF@SBy&(eUv<>`JsI$gU3n)I+Di4B5=1qZdJ+GcNzi$!Bs z)>ys4N7e4ICP5e*Xbbd)o50lDuhb3eQ06s}SRO1h(5Uhb^jPBK!g!z)c%d>{8-jR6 z?0kCiLzAg!!(^%6dof){R`Mhvxoy$Eu4;oyS=*;hfm^*KLTWmB1fUFiY9g9W z*-Gv{g>EJH2&=d=T!H(IXJH)HiGcY0GaOE1m1O0#55vB0(RT}N{ zgG%(VC`)%1L89{P7y_mxO&Ade>ue&_^9bZmK&UOLFqkz;aGXt;XxmaRQn-JQ-;xl+ z^EN01NxR=ccI;c3jQ!Xc6y{yTC&2X>Z20gWG9CX?;{vXk%>fd2`|;#C?-cHfwfH+P zZ09$ewwy1ms3e1hYLtICR-UZnr?{0HvlxkrhPAV1YEp7Uh%#>#)35Rt&Z_fEy-Y`$ zngx9`L4U{Lr`knQt)g7%G(9wowmGB^896vjt>j>$F;lHtLl7Gs((E4y@5r4}im}K2 z#NWGeImSQbHb=RX^c~LOPRb*ljB0fJG~x!}>|!SQC~{2`zF8tY$gahFyJgL}F6X~Dtk3KtuKp1D&?rPq$mU;R@2t6y~gnN#uqVX#!4O`Rm{ZB1qD?X6uM{=sytvbH>qAlkQB zqVDRmQVpQB%}N_gdqeA5b!m92DpCcC2wL7G6uOSS+eFjmQ@xkW%4%_p|4E#UZ%Bz| zJh*$JbH=^T`DA+fRzScHL}RcjNO5|?qiCNhPcniE%0N#{=PeRRtbypDGbjP57s*Re zOvyraP#RhqE?N8c%Wpwy{mqFw`_iXHLAkj!x21fSFo%nEPBzx5hH9-@XW8zqNyeR6 z8q=opn7kQGX>YGYLyM(G+&n{X@F6Rw!~W2eP zEr)gZ_6%+~2Bt5k=@2zm9o45B<34^Se3;0jW3|=_8#Trnf45lgtgdbOF#&5w_vNz3 zq@!GxtCerZCbBtJEafL%R$QB{Ru1EX)`pdP>93qJ?GvLw;>~Clsw7nrMnN5Z&nC%; zU&w-FJxYx+=n&6l@WB4EcQ=g{9>M77uSjMYXL%oDOD)vfrck;|)gICA%k^nbu+<*% zh;WbYc#y7l{Sv?LGSYkF6mDt`?s0|;QoXU)h;eRXh%x$o$x(XkCOjC3avc-SI(((V zEN1E$X?G)=_<$ULYUG&$bQ)&Ast3#nP6of!l zese9~Aw@dF`G?cK4BB0h3ptgky1o3HLgF3jZjFEg0sa1q3|RiNn2LHB+qgPgx|xbu z+L#I&8=E>i%Np7lnw$R9>ZhtnJD{54{jtrWulylaU~< zG7qb+?Uc!~P@yzaN{$tBg}fsa%4U%rUKTd06WvX%g|!#0F-~TYX=NC`G@y%~w~ci= z`uE$uC!6t7Mn18&TlNfAJaV#~nHbq}XA%Uwc^LYT!gJ73pkYjeOy%PN6AP?i#C!_K z%<>;ZB52@)Iku)zrI;G73y8}k_PLE~&0*95>G6|oTET1whLl>}j6ac|Ht+;G_=eWp zJ5CwD1y_Y5*Z;YR4SmT#?O$I{K7?|fHATo(sa2R9W>jTB_h%mn!~msPa$ ziQc?d@xrvF+p^<1WdeNQ)KOPN>ew_UwMn_>VD%mjmS z*xe1vLA(M|*bD}Rh6^@b5X%lfF^L3o_FkTcCp1tD} zNm`Xj*ouvb&Vr3mEL^6VNnI!DO^&Dy3$w_pV^#09kl$FmyJ=7O>(|?l(eUw)`^1>| zMDx6Ks?dF0&8V*>8{JA0Ez z>aLVtm1312Oto$2Nn}?VZ6laiDEQpmNh>u$px@I$6<(AuZQPS#46?xhx%9HjESl+Z zz&ImHGijeKdy;CH&t(oL5Js$rJ*b2ld7JAYU<0&SOV0<7188s z)2gujEeO~$y_OZ!D86ZIUHUcO<_dK$+_QMZ^uCT1=la)^)FFd`w5n>UK(ST&Okap! zya=Bf;%}gnNTY67Kzky)yig=$6uGAfSZ?A%Mwc88w!drxm`%5>amtC=>^foOjdxU2 zbRARNd93v6wmR&@!Qs`H?g*4f>Tt3eFdgIuV}Ip@kRr}8T@|D4cwD>{rUOr~fZh(= zP^HWba4^CP#0OHTgaql7DR9Aec1LbgspO^|>QU+W!LQ8lQxQNx_K8C>wDyfM9Av8S zf5FYLRA5`c)Mk!uc5qzf3IX&8$}YIYf8Wd*Qr9DTcPf+u;_8gH#|_V zymOT~MrU?~?&bOt`VHcrez!NLb7l5Nc-3`hyaJrp2V^*unxG*w?t^(t-#BUsKi=&x zkl_-!gT@lXS@wp5J3`cC4w3j;7t}%Yi}CjgK=%#-egjKSYmxdE2N<616Cc4n0uvw6 zJv_g@g!3w#5J6geg7aRQgCLoN_2ZL9rDoOg%0ZuKxysEZJtE%N2`Fo0nEQ$2Fh+Y2 z`%#vNQ;rx@e{sE20{)Ou=_y@Asy*!>x6$=Om16Ks?Hsk7xmQ^A{Jl_g!Z=(*O&Gwd zD^A+1=wd-BC9lbQ<8xTITKAw!(wJAax3DX=O2o0LnTXCicwY$r6}(Kt>xm`)1uyRq z|5xy${tw?t*xt^}(%jX_(8bc;?w{Z#*;XD^5NYhs*6C_6e^5YC5y>@iPQgA4G@>e# zDjd3mk8qts8tHM|wl3SfvLy-AeJJ4oqG?XAc0tY7Fb7LB%VYl6wa&-K+?+np$sHhE zI%C3sJsK|t?#5AIY=)QPwbOH8MhGX`lGkMZ#a7_%N{ypIH{7tn(ZY`zehen2cILSp zE_C;I)VVfXX+^m)w{5W`TRGipFH10JSmCb9<3NtShK*Z1)}sE^kp)V8(e5(KR%0-E zm`7{dOoE2%Yh|AOdfaoH_i|Iut64Sb?)6P(uI*CuyCxax&%kSzWt_S-_RYM`y~dci zJWn4R&r!Kw>bj@JJ2zew=EU1RTQIBiJv|Dw6ZUf-PRfm5jp5B{rHTtn)a6I?b(L4u zS>aWGUaG{zyOYdCHjpdZ%@0WZ_LSmO2;~ICXK(pLQY|_vB7~Q&y}Vapvv2)WTK6@- zap2M67WDM(=SEK zG^8NqL?@dcI_jVvl3&E#+xh+m%XCiB$;c&|nQ<6&SSF{qlYrfubin68BXYzxQG#X` zJVO6FDiOo!MTGjp_<5);l~4l5TnyG(3n4j4#ZOF-a6J z`B;J|p%@@TC8)$a?o2MB3ZIlDm?qi02w6h*!%8Zl1x`sl=*;Txzez4@&G*M7hza-d z_808G%C@2}zUA>>P>%f<@i6{p#Pjd|u7si8-^jv0;ZCgDr8BB3+8^6&lOeaMVg)Iw zP$&?~-w^@mHZaulQl*Gw3ba98vi8ZLCLA{GE$Ha^Z(?7AaB)NG{9M69SOc@;?tcK! z?i__P(VJ#oH@&B>bMLv%b60zRKHo6|zTPy4=wm88goRPXSaXIeqBz*z$RAT6(2XA$ z>D^JODO7XR?$g55V!#~5>YycOrJUq~<0^?}tvzs;7O#Y0cYlsx=nQrz^-wbKP?p|W zGcuA&Dh<(wsN`7-!dRl0MNPqg2$z|5iKDZMca@{P#ceeU{S0GTLO~6^igB35VZnCV z9K9+@%w)z>&YP0S&t`vw@fx$CM3?3owGkUW!6!{em7{IUa2I`PF@D_7BJp2r0Jt5( zu$PBu)2KGEFuQGZm<`MDup60)^mMz>c9>DH+x@b@WUURkgd(jbQYq!JI)<^66k!Vu zY-N}drwqqTB00@!6V-e~Zv;5smtYS`jaZmzQAI7+98fF`YP#L*Tt%d4?0@A+j2duO z3aM$>wWd#GPLZ4|?V9uz7)XZ(E2?vbSxav{cOJW#E}N*B*A$f2G>(UuB3mKPJD~^I z)*{sdQL#*5)7!V=m^yWlMM*za1<{}6VYn9j-YoQLxZn~$chDV_(G1geI5YNmHmchw zPiugcQ%c#t@Dh`LmR82^7Chsq-F99aFZWE3qTyyXShBGUNe_xMZ%KNxIB!T?a#a1j zyIoL@=28ddS7y*@rltbLW7W*9#>mp#G~tHG6L%eQx-D*dr0Ekj=ZZIgN!_>X zsO;1?xJKQ#a8K8_bkFCf;3z#7|0XHua*dc7xct%&(u*REfZ4o#jz^EFk+WHs04h#V zZ?F|r@xUex@6T*}TFQbQC%V%o;oI!8);K9KX8kn9;L7$@V4bdElPS?l!d3)NQn8;S z%k$FXBcu0;Kj#tbQz6Nd{dlKIUK$q9F~F6ER2R~s6iW-EU5({rmu8Mc=$q;_Vq;Z( z%G}qIn2!YOa?spUiW7HS=-$Bm`^a)gGNKyXkX$qvPfg4cpZ-W5vcY~f#r35euX})N zodDZbBQ&;^_b>@rZBo`7oHYRA|2M;_B5)2zK=wui3<3wEezGv{+#daSKLx;v zKk?>(YE<>$BA!3wp__778s{!!t1(`Mfr==|uI>^^6tUH!hBp9F@ZnoSXz59qHC{CO z?hC|!?u-0w0xE_~Ciyf^ok)9oW zVf7U$JHN%&Gvp<5m!yqfEIde1fBY3|3vK%+bSG@$@h$9o^ck(uhXD~9py(3eB?P38 zBo9|b*b15Frl^;)gN!8lKp%t!-vCO9BMie*w0w}9e7ytw zA;&I(d7{u8x-jS9q0Zs!s$!3ne|;*f#-dklx3OMgytDh@7W^N`e>It=zZ##`@F8sOyK5A34 z>!d9U(PIBZ`G?|+3=@8Weip}^w!x!lG$-WcIp1>SKT`XDfB%NxN0LvL*f#@7cc2N} zs-RE|rWMhR;1SwRbs!Q&v-KXpZqgk(tS=wp zci*k_O_pQtZY#?gt1^b-;f(1l9}Ov7ZpGJKz;`upIxa4b6WdnoYO8ZDA3KDsxGRL;q8@Q zR)@a?)>}#uydQN)ZFdnyM+;0nd|Bc<$9QvBLZfV?K&K@i{qSI9Nk5WmR=n3G6vp=p zdcNR%1MR59Uo7VdZdKB3f?FuW?}ySiG)1}}(L-tt6uU$nsni3r(K>|`GS}QgPh=V- zudIS)?z#}MK_6U(<~t8be&T1Cg>Tq8a|al->0&*7K(n($np_*712PZrn<~)k`+f>y zTz`5$Z6QrapB(WA?AbP6?hv}vP4N`4Rx!Qt)9lAt%#U<;a}DiKb!a_OiJjmnzjeGk z#C@Ty(p{3gHgTeah z?oM;C>}9wA`JVgY0L~fhKje%WB*+<2!h^6Irs^dURt!4^$ZWKkG@^_|I}R%*;A@jn zLa3i8;VEvXTx&Deh&5u23Hp%5#ZUU1-z&ipMjswI`heue94I^b;N&Ncn2UDdkDQu( z`{0e;HNoje97ZepP=zs!Eriw&->E8oXTj-XX73@LXEXUopV*JxV`px(TLV^9Cy&!(g1XZnNlk_msM^Bi_SQ@i2qEKPW}=m9eQL@9!h>p z9}^EhEia>VHcm$)6SK46Xthyff!(0OVT3(Jzrt^k8C#KYSEEUD0so+&7|X{a$l2v? ztv9fKFXBHsdoi`vWc6VQOZ6QDT(Ba0ZZpEa76px}yw(KG7o?VNej^Vpk4a6zcJbBH zp}F2O?3=S~CAcSV5T*b_` znKHs^>yMfw)B#^aHx~WraZ$VCjp?{r>C<9@$zVN;LVhxzPEdDLdUMb_)pcY6?mG@R zi>odeQg?b9NwV#*-dMQyR~G1LIDz58twR7PU>z0Os)eg#KBp21Adfl!9Nhff9_g{GeycqDgcC3qYohieu7-Upjna>NvhFF`pYAsASbvj6 z>sMt8EZ6KxmU|(SUegg}>T?j*cPW0$joLdx?0G8|ju*QZNB1AhSFJfxMfd-ykKW=T zo_0>pV}RyVR*ebvY+d94Tn~HL6cp^5QBY9Z#iPlrYpl8VV*XK}N_~=Cc1)2jv0Y+V zm$F?VpUdB?vhmI^g9Dmt6|x7Z%r$1WEeJ9={&7_!PxIv0{0((U%a_8X+rWm zc8yWd*}NPKRqFWmKUjfXE$Y)+ik6S=ng!Kg)huNlT}=6*P})SJIjp$>Ge;kN?s8As zcZ;dFJ&_0&_KnOc~e8hmwL0Hi_C_yBjqOd8=+rq{P3v@qNrPDexZ1Aw19U682f|I zoDODpLAsq$xSe?^$v-QYfI^-w)*h@%fYV)SAG8n;GL0y7H4<9l8Kyxl1gn~<3w2)w z@4{TO(>uoN{FEMV#DM2@MU_{w`lXpHziBKpL-Z`35yW_XH3BGwVtd~PpXm7MFO(Bs z8rjeoBaDtmAdLszA6V=hn_1bZaJ$UcQn!|J!z%4IDxCTvZ(qoLLae|mdB>)}66lDi z8r)+ZxYx}~N%?_d`+7GINM7Y%UD6gCgNU06jX35*C(D*karE(Z0o8SmM6FqvfXq8S zqIElst9f?D`+>^Dn#`R`>xMZ+_cqJi2eru*NtI_|WLCx`Oskt>ejkG=yNB_c-)CKT zk4PUJc+q+pqo~yc1u@<6Lg+&`gyk}G^o3bzrH8D?BF`vR%)&FJli>A}@~c^!K+9p| z5vg=kmG^QXJD)g^A$!xPJof#J;2QZPr)ym>obQqkzwmTQLYUo35~~XR|@&Q&mrr1E^=M|#;hYX zfBf4=jj{05Rv)yqrTAj6@eE?nyCMq&KrkBDGr4QY(E5+6!tm@kVs2 zijwnybt~Vtm%`T8))h5t`^)Rz-q)AitqP^YPD2n7N0?E1)?;*@Goe7o0ixJ8WKgFR2nP<%4(Ntf3=N zok>&Rsw1cOnuIc?tSU#H88#S(yGNl=%!!y0;H)|6693Bl^aJu~y5~n2 z&pO(DXAjkYx#LF=k7{KP*MPKO%+ZTd%Y-sTKn*g?>4#_S6DyTZ;9&lPb94Thq_}jz z?9ub04b)v|kK(~9Q0?)(-!9qQ%%Tdo2dus78%gMv$zmH&?ddhJ)j>4+E^>j|!Pa2< z+q=?xhfEfA=rd5OWA|VoknO3PK=_x>v^tzCXP{!Xm}>x>}y zSnCUR4*RZ_!b;br(Xy3n4z^nRP8Z>wvR0YUne@xqEq%Nom86tfy<@TIrk9<-L{ zOxDo^l7bJ`nLddg=H-b7SqpgbE~_pSPY%Ns=aOeTJ7Ps;8wA5r{+zq0(ZkP-OE&G1 zvhe4Q2aC1Zx~>x?$hPrN$DMYt?7wDz7A?i>Dv+hJx?@{UM<`;#U{Czw<}2H3TIo=< z;5`6Ic&ueLE^CcCPg;y$xIALx>RdO~&ggl*Z}`dDxDkU*S836mxL#tcz>9=U#~EI|lG4!6UMGhH&`(pC+jolA+gY3Npl(q%eoOf!jBo_&wg z7}-IR!ZWMlHd#`jh;@Z(<}KC7K}jNmiub@YRJGC52(29DRNmrt9-T&SEi0NyAujS9 zmLnKiFYNv}Zb#8dg#mgSflxfiC@p98MQI*HW?=AeFJUFUvK6 z!ePU}4M$R1%?%17s);wtXom{c1)eWTF-+Cxx-t$y&~Nu;1*-3bKR~eEr3{48mCPWE zU#e>5g?c_?!&1Yw@eYI3(Cz7X)5@3^L4ppeaL?jdjJT3>Z3SM8IfbzsAJJ>b4CF$_ zNzH&)X~|~OOAeO+*moxrFfTT(%ayZ5t=T=5$cG>EtSe?=uH@6);?mMWxdP!>C4$c| z5au;5b&kBX1U}(Gjm&K05zpe)9h+bpa*gai9Ehf}w0)3JU8OEhc0z2{7T=Q1VKmH` zU|vLJ!Nz0Ul`4f*tjm~G7A;vu318iaSC%ZedGXCnV#TiX@@oCC&h&aAK2OI{yxBoms?XH!)TSsiV?t z<_vc-rbTCKlGN#BPJW9Lca|4+F#_!Fq$dYwR7vYPCwHqLtQye8$5P0P&|=QpM$c+D z7yv6bUm~P!+>GW#J$PYCG%I9@3fEx3(7ett4^6s$Os#Ta3q^;_Pd1`X)&?@SVC3hl zN;*r2t)djFvSDa#g<&wHj$q~u9yXq=^z4oZ>!d-aqZ_-q+qIZT&=EGbHFd1Wogy5r zJoQ**mMuO$1xfW6x~p=_d{KYp_!TY^@f9z+K4GWU6{jgyv{!kj*e$+0{dHuPYJZ@u`pvr+b^SgpH3M2BdFCs4%9p_T4n;{mu^Nb`z500FLY>c(A3~7u;X;p#CnG`g*TBPJd$>Jm_Bi$@bkf z`FiJE>Ft#$oR4mqJ(5&mqN1KwaU2Xm(o$S>5pd)eF z$WdBY(CXYwX35w$BW=JBHyux{maU9Ke}9oBCeyIL@5k|( z+IzOo54e|v$-Tob86G)+NR~Sa?V;9FvSh)-(5G$c4ROX9k-zw{xB>c26Ac}UNx3fF zZei!deBqGb!IHEQc_aJ4va6iR?NZm1ZrG|F7SqgP@lKPuHDB3^sxC^i^pl86bC(Nj zY~hSM-N32!P9!IWmM;$N4rLEsgKFtdwOoSm&8+3xtjrKclp<0*)HL#}ya0>y5Qv!d ztHr6-I1%2e^Q=?}@)12bcvZS6%g&Lqu%;?C8p*U_=1j%pD21?`o0<{f^M|@sH?(mJ zSGQPps~^YW;IZ+QJ`sfKZ_ugvXk&yYepjo)na%Wx^B-isRlGk0l;5EQN*|UU*rDcJnZ(8j(s^XWZk5Z|Z zc9Lp{F^SzEfH?Mr)_27d@gJdscGd6Ff+O`$xzWYqN!C<*=k7#42wZ>?GfV z5g^O@9JIjfEi-kJWC-#yue^sG)qJk!eI*qwlWBH+I2&EGblvcv7#f@L7|l~w+F`k)Obn9LJrXRQ<#%u7wllgMfAgS)2^MT0T)~1-D9fxBpegJ%9t(npi#Z{ zn-oXKySB`A0?~5t1j&cwb>NVLz0ty zdDd8T?7yT_Y+zjj8?rZz(t$)$()DuE#C`oX#Lp`U4eRFT7^qj89?gDWaWp*+$~tHOqhzS$Pa!l)fJUdH>ytH zn+0?15&J5{WxXYzlXOiPH|-(!a~t=ZqQ(2p6(8VnpQFzI1N=A`&4LDxBU6un=$SE= zp`KGl%JbOpAypl}3_9EfAz#=V=Y4*5L@Ksy5j(+dBO`R4wAy zQE;DN)}|W46Zj(yO%+5%MSdBd_(*(gLNgq9TCfwjNo^6f3j74-x>KENhv~77sD259 zV37}ZcAt#5Ao&mJGxqhh;MQXoo*n2JvmbN5E|_LBrI{`qyFO2BH7`cTYmE@6s^Wxp zLi#|Y9B6U^LO)%DU9_}EfMzW2X&>eCMCRVCAESFbKP=5u8T<3i=pQjWZ@IqHCk^__ zp`>QH9X^96{jzjn=}ueV6V$3b(%z##1@{&{EPk4B6Fi~6W9mDH$ko$9VLUDA-1f54 zSIB71%bVN4Q!ldFU)l)}a(;U$oR=pNH`f$SShNdWMO%=x0^@A$4_>o|)0e%sfQEI2 z%#z@rKrOtZmBpIOn=T7dxGthwe9XJkiQ1sL{rEZ6@LLb7GJw9I^a;Kz{_dPUiVVu)i2($Y`cu<})t+WJwYjexkI`w&ZvCQ<68JiJ;A!8@<$ zf>#Q3JQ=irW}bq`8KpoLn7_Ls&&xSrH)*A11Oj5qKK>_(r$%QQ!opF(E7*i7YPolw zh8pVWJTGkHhG1<1122=5r!R|PRV+adP|$U z4CYf5b?bZl63WjdrCVezcC=<^+j1TFu(f$kP9tg(rU(sQ*rNP!EE}K)`!?f&aQ;*X zB0qk!yx5AKNwsFCYBN$k(^EW8)X&omd-*NLr0QiNykCH4R9^Dc3kXZD2A?#r*NqPg zCW2NvRq=FBzNv?3B>2}vHPw{~=cOp$5;X{4`GrZ|%`P573BPuyagJu&pmxF9 zt%Gcyij=;fhHq-HzTnwVjZ7d0@Xg!yU>9oDfiCezKW+!VX|Wx+w@XJNN zr{F9P28K(%@>9ttpEdUD*E{b#J%>fAeo%Vwvp+}?+~$Oyi112|+M)+lz})Wm?Qn~p zwteQ6bu-ExICV5N;Ya)ZVXMGaE)QEczc@N>KD*E0$T&?CRtGg?LouJ0%7+&`o|K&h zYI%NGLsXX9Caktke8Pje901v-$Sg#GXIr5&?VYq~{fSn=Q-NvcR6zW#{b6~j_6uDS z3bPfjz!G80)&u{vM{gTsJ@uG*k144W4nr>}U3k71>i!eSDS|iu2ZG~(8#H?H4&vn= zZ1hgJ?5UsksF8>--Ju`bY76P0H`3`Eai6`Q%&qt^Zv?;t>ctPMg<$9dwc*L|6CNaP z3~1OLsAum;+Gh*i;e`mNU!Gy`V$JZwGg1#?jE^;14;bxhKdnIhoXw*%&216!Ec~v? zBz5gv{EWw@|7$($C0ujPAF3kiw0s`-Nf~!j^vrW8%q>sHtdwKc_6=n{U(Mqjx$DYt z@uRZ0vxsq7{-6gEu;)GR%!un1${t@lFvpYy(IN|JB@%3j5Xx$wN-?kPrg1zG>X|hc zoS@Xu*)tdyZp9npny1=K-3XndXE#*sv`VsX9njMhXrTRow|$+c@pCy;Scvof4+-28 zibijYfd@E+H#*f78`)>NCGs*_VOoGLv{|ogf56}~1g?Ln6A1+NkUvE8ZJy<7t@rMyMtqxt-Z`WbjSc<$MXM8n8pT zC`J@q0mXg^7$PM0rf6?7{FL9{|Fx<;Pl-g8c_k{lprjb8Rb-p_YL}&;X{wIG2O0MV z+u%$Tty~Pl(O>YxUg4!4VET=EyuC+s;cprURHTV4U9bwQJ&Xc)>FaHuX>_+iG*FWH zV{*Dw6OsJ+G*@sFu^z!iz?=F2V`K4Ms5ESjnq$baoI~}*U>OGUWxYuOBa$-1+T9-T zrhmS-M648CK0TQ}{7X*Dm4dUR@lBxM@@%9}S^JX%Yg|(&TMmT3`_n=H8myC{I(2RV z#^pQvdn`8Ybsy{eli^E$a~jtGUy{u)1N*t*G=YY^+~VGx>RoVRW9F-&xjFme{C3FQ z`HpM$*TpQaJ3Ha+Y`4=kbPc0(UN+Nu?hAB`peHTw<9amrj|V$~ou8r=unsj%rwf1n ztss17KqhkdZ{11i-`6((mx6F1dwUmWm%oKovWAv+$}WaZF8{0OL{oc94T*2C3A_qr zz=jFT0R%03L{3=>w}2Hov;iy0AdR~ux`9DVB&~uL^(>9v@&otxW_lkxLs-3!?A`~% z?`8i5w>pzxj)xUQ_smQl=h^9Ag5Fh2N!i^;m-om>uAjeS|Cg51683UTmY4+yTW!qe`?~F{9XZV%H zw>~1YYh5}TB0QE_7gpO!s$9{0t&4B|<|235rP<9EO*J-ByXv%=8cE?K3FWiG zXX9_ObY;zq%CL<{U^&QRO~=*Mk4mY0I)o|kkO0q+H{v5B&OA>|@3K*a=aNHUY%ORm z#&vNw*)Yg&FZeNe)~4E(hn01nZVZuawX-daOYN7gFT|+G%wSLGnsJ$U388ydnb6-@ z$hoRaT~I=5t9s>Pmmpz)EnBuE9GT5ZHF2G){Egp{YzGGs)lqpswu8CoBya;uRf_#Y zSVVC{w^&cU6A6rq0SQJF%s_cT_kocX#BibXI>Qm&t`dC$IU46PpKAn+9|X)lE~C~) zT~T>N2?NWX9)4_jt3X4G!|)HCikgJ7&WEnG+QuEig6kjBfY05r-8&7%V+_TMg%O~7 zN)K|t^o_WyTs;C+a}BLBU)30Zn3+%KA)A7c!RPMz!e4>|e*SrHIg8B!r4jtqI`gbb?V=3O@!G+pn4)P_XoykO z935|}C0QHMYA?&g7nt0nRsL>>BA}M%tWVlNREfq`xpioSL?hL8h~fxJ>Z-fek|{NJ zr^;;ZC_e0KrLCbk-fy1HtGxf@5w3??D_H8f`-T)+nJJGl2-IpM->!2stG(s%yKl~FXZv5W{vUQn;JwDIj~9$=!;@k3NA^8>dMoZ!!-oxtVolQ^cFop=;VDj zQ|zcv6|-Qkl!gBw*s>~pK}OzYqGPTi(jbjzgUS=FJNE%yJNvVW`2F}}pDuRvvL$+v zcK!;VJM1n9!}Y9q;S`EzUcUGc#{j5)NhThZxalzb4+T%;$xLCQ@p5g>U^0?_c*b4K z$-&GJra)kd_!kon#W3nPFjM>*NRj@;(P9Y4{V|7Nrkx{tp!YK^B>h zv>8kUErjwhXw(9S+?Lxx#yTUoou`?3VM3r@glSJqDPRiyP^Mo$_Q*bvgRX{zV-}-6 z@PtD;qFG-LAbe9jCe%^w4rQBgXcF99?Gx>C$Veo2DHxvQ6~=d%M4uLVT%uNo8~U%Y zu0367<9l*mVxn!0Ugys6Em7^Asyub>As@~@q5A?}*G`M>ruzMJi)aq|wa9#eZj7Hk z9n}KeU|?ZTOLhRrJ%X2xlYHgevWCH6?m^=oj+qyKvnSkZGQal7Ys2{i>W=udBJp-L zrP6Xl?t=E*4!7SC|22UxvD!|y^tS|$6blFl@SpPx|12>T^)NMd{jWD>sp_5vc&gZc zWSb`J*q1`=lG>=KXvu9CXGEuV(nuwhamH6{7PE?0CvI3Z*RMi0HVB|#008PDJQ6e! z(b{&wbBKt5B8(B-+YkQxK~Vd<*BKf1<}F)z|EuiR-q+sSH{UVuk6+G+0x$->C=W+; ze%r_c+QERIxqjQ|BG?EJh5L4zon!Is;12bK_K1i09_C2s9Sjjtcuz;Vf+|M_;9Prj zL*6EwWJBJ^Pah^8{S7`u0f>{Y!c7l`nZ9HJ*zdaxL*k%s89syw*F(%x5R5c?kft7h zfbe4;%Av6@53&I9k*KkdFI2&tIQgjD_^B&p<_{O3d}PA7xBHMgyu{oOlNU_^e$3$w zPOO3Chc6!>eW?9tU>~Xg2FSZqpg!s;`S<%)qOOqZ%ZINpIC<5>?6)+D_cp>k=pxKL zbn-pe!;iPXjF%xIzYs#md(=2bRD8uLnGy*mlpk>54yd=-NmHALwunqd_3TXK}%&!wb^Py@-!MJ8F`H;6LE#x+%xrB z`BC(~)t| z%F&e1alU0@6wSuvkJoLUe-mlsF=&V@S4=WEE|~<)ZDcZWVV*yJj?BEPp{aZF^6`B< zYlIC}46fM@pKG}4lawNwl#RMNi^NIu#%82#7iK~i?uZ7?w1yEEy4DR8g5*qcP%1%R z`hcIJx3(gk8+$Ye2MQUw=3VD~G5Kzaj+x6+VD*lUaCO;iE|;?@?!X5i~0M@wF&p(Dwp?OHR%!nj^4`(V45 zU;!t0oG;Hr6)7o;K)^|K5TUl<%o74{JreyzSS%KuH5lWt-iEFG)R}bGnP||n#!hIv z-DUJrWtY#zSP+@w9F?P8Q_|5VK1Fu=aori6)KXnh5m2e0Xt);H4C77(*t(3UF~-I& zTgjIwpJ?B=VYFI{QU22k{=7#2fL`X}Ti3yZGr0*x*{iMry`_si6f-3Jbw0ykDa%Ef(=I^puh|MylaJc%$dr1tL3*UrqcJLdzmytbUkaTHi~2i2KuL33xn5UG zOZ}dbxA@StLvkcvRF_~Z!A!R5E!yEzmHo0OdqFZb-GY^+^w2&oCR>%4#^xe5@*GfH z$b<7u-~DHN%K_|LgY_< z-tt4wS+oIz_Ndd=n-Z+g-|s$-+AUEr4fG7tr*$$U*y)Qe=F`6zX*5;QN<%Vt6oE37 z1Ep~J9_Vl9XIicom~XAzm5kA^BqI#;c?uO%m3UbY#r*8m@7^4jqHaN>W6AO3PU&MC z@`|XP*gC~HTEntoV(E08>1<)FD?PqvgIZ;;4-zH$YQta2lP2yu2-u&gj2Y0&;7L~q z2&69Hyg8HIWRvYCt!sVZm7gp}PSq#DdY#bQVZNt&pD#L%u;fPSsewxe>%mk@m0<4B z89$?{sHIb=`;}^`DFM>xE(lnL-JSDz*33Sgeglfxd8@`ob~zAeGdZ4D8o`ua$wXcO z3OBDMhO##hcuzHXURUnRKGDab%A2&tow`?++1sh=4+u0|Ia9qJbI-diztv?9i9WV-x=D1d7G&j zZp+|HdV?E|A>BL($XwrS?97%pA5QY4Fj0}C6t0y=aEU_Ou8{ff8hZXGyH;v|u!OJ~M-Q=yzQZU={ zqRu_dj=x|vwGtj)q@}o7gjaQ*axG3(6X8M7q;XK%QpfxZnPQljwO@+2>S9Lt$>L#@ z8>L&;qhs7k>39NSMfdW-Z;sHuKWf2{MEKf_GgMMkpjVR#?&oPF;=Rrw7I}D|CQ97B z&Xgtl$A#-fCG6a0g`GOL^mlJx(%1O=RVxC*9P=U)aei>g1Jj%q#LN_$(4tW1hT0>T z8aD&%GeiAH({N8UW?6o)xWrB6D6bn|CS+O|sv3|`@&NbGtYA!#IAE$x7aGx`J@Nf@ zE*B-91S^^~9x~2i(Nxt#mEvmA7R9i*d9Ai|)=W++LVG&#S|{D|07sKHCK#${y0QzD zc%zFFmxduEbm5AqmOL?=7&xw!cGi}@NUn*H9emNInzZfZh3F3xMSd7G&72FG)()#` z8`hLu)|5QfhDL5u7}dEW%DE$A*^aTzZL6BrO>0?*g@(m*VWfux3nUK9A7%>=>t8O$ z@Hc~e8mAzQe{0a~0^%=MIPqIKgB1l(DGzAta)O~|$y$qM8_hxNsZM>col+`BJ>_0-pf#)s z6>Yphp50D(1F~p0I~RY#O&+#nriB`W+1P4VevwqPxUkXRgS9NQ7R9{t#nM=WN=}a1 zXML#2y}EhBBdrS;K5N==29-K<=4y8PVVF-JPGf7isu?1{D;~R*oki3txr%g9_eL>u ziOw-^9RGrs+QXYQ1Ia~&&XtDOw1KldM1r<;t9-P%_~g9+N$*M!#>hom5Jleksx725 zm3u+0I?G^a;m;DClT&J~)wJ=2!b~+dC02Ray0O`!%4>~KZmADRGjpP9Obdm;@Ph_j z8A5t)?l_{gPc{xa?oHRzk+mP$gZjEOFS;7xf4DVumAC_c!PSA2y0f}!&mITC5quZl zFS?g9B0kV&3*Th|@p1Hrz3vU^?-PbX7;lgD)D|kPQV<{I9&M$^3`qr3?h*uFQByRG z*iad>2R*<59b#Xub`tHKoE11HZ}s4+YtnU}?#dGAyWak83e<--9jL7R9+XSH58>JG zs+!NV-hRZtd1vO*_jse8J80TIuy)LimP`_pPKR#g-h^cTy{UDP`4aq!X|l&Q{GgR~ z=h_L9;*`PAjie{~gzoLeN2+8rrx(2TV3T0BC!yfO1w{7!`QI3Or!Y&mY+E}rY}?4N zZQC|7Y}>YN+qP}nww0j_{IRNPpR=m=KL4{X=H0xQ=wp1Xx6#JiS@$_=*Qkg13WfD< z*otODF1U$NN6nyjVVo<4=cTI)s}hyY#muQm&O~H$qmzF&u-dEWPjs#&xj~gNbja7L zt)Z}3J}&)<&h6Z0U2q3Bs$#6T77`A8?XnV4pKVF6=j-rKRFhUG=uE@i?2ou(A(_0| z>=_6!Fqlpr&ZLg2re^R!l7)( zGV2TG%4`sY1BpOTi?P$bQFXoW>WKKU@VUl*R-KusXSZi6n^*Gt$@(R$VGCk)32fXl z`^cGWq-){Qm&l|tF77u|XI-4HCN54KThs!-y5Xj-I^90H+-_iGc^+;H0G1=7D4O?Z zP_S+p+B&spYUFMuP(Tp1d{xQW4n`_IT%$I-RE92WTkxJ=?%Y9ayVrwQYvLQM|93E)Lz>?J^Wd2WgYx~y;T zo2*oc9x#ow4*&8ab_%(dZZ5hAL%6TFWkZ$Ip6>V^$X6DCz&ya2PajZHbO4bMqOvF^ z5$YRHCtblUvDt6O9mn)i$DuhRMuln3I5PbBQp@C=6D24jjKJvaANjM-s13NQBq5o; znU;tmf`5Yv!;S2?6~*YCOK9CbxZyNZCwo#)5{><-sM3^*3n;~zqw}rolExv@8FhFv z4x#K)SV#V}9!^~KSb#$YBQDVhv1b^{$Cf48(PN}6l-^1vh=(il0?04PsiA=0gA}NO zLmxXz^)PqkWY|8gLb^HfzMYGSUuObGceA$t1B}B%c7*yvNknh|#Xw5)HA@@=O}Tv@ zg;DosJd4OtV`OH9Yd^p3HITA6x;SG}D0-FnKKff~?|!6p*4tSik=sgmZ z0x0dDFg=3{j>^@X7|fqZoQ2Zl`Ycfl;3SNEBv*yU&Rr z8ony9d*wxI-EyN6uqh|943qJE!wxwF9%VG?y}2$D?l#N}s=?AMeZ z+zGT`3U-tn#)hy(nEb+2OM}7+zjox)%fgKG+j^T>xN%vlW^4IfBIywX;!?Avq8A$S z3XBO4%dzxNz;UEg4f4PMXzBx17? z&K1ZTupvj~g!nWNo-@hESg2=nk3$iy7#EANZU`>$*c~xT8ek#Mm4-RxhpouRTB#wW z?6L?~raT{@a_n^u2`SjbUJ;-&%07+Qgg#(CO0hB6FNFE}|y z*DoG0(Bdv7RE5PYrXsY^6lw(5WI{xXh$=wnR5H66vF@O+-9uiM8FVkZMuVsuI?owU zV$xS$R;zJu)!l=E3}qPrSEq{>jPCc3w-)i3(1w&IE>TqIi(-Qo(P9l??ZYO|6W)Tq#J!E(u(D0^%A z>aVKI5`=Wt4=V;PL~+e@wg*w4>_2pHPJqDRQaNza`Gyq|6&2MO1K)Vi(6K=gs+6U zDt<^;=k@|ih}0%D&w@SKm%9vaqsQhQZAoE_zgtTlaXL_nY(72Q0 z=a~w*eRZ2r>Fy7}BSHvEt2bhr%qnOAiraX&H|Go($Y$O8;@TQcwfwF0A<)T)V}JEd z_ljRIu=zEAi)rgJ?Y`xlb_`QyH=K8^`vIV$2h{xImLT*yhb`2d-T^|k?@eY=WA8&} z@vHwMuhNU0JkWF5wktZ8?ywaGnMsO|OSb^~Si=-Zb=SQ*Jpcel^hGleJUC2P-!6DR z9KypB5vm=Nw5~QI!sZ4UGMGeebsy?&UJf*%+h24SPXnFo9OoWnahoZ8Vb-{p7*UI& zFF=uu$jD8Szm{*F2J#Ja9=s7*CO=;of+7%ACNG{WVnHolL^+mpiTX3Q#|)9bO?_RV zkw%RvEJ9;3cbzWCNU$%ToazKqjXo?130zulNp6L!X4 zmvCF2(=+Cton0aZb&o*km00i|A1}E;O^p5d0CX_432%fxn61m3yURLWl7L-H(i9NV zsL75DCn#s0wyT0P}018YP0SoPei3kzuvN5g%^ z>J!xH{xNif3R=y$3R{%Zy9Fc@SihMTgWvDA%l3v+_~N3%9@$mR=m##Lje1F3!vf3EEM9(@f4TH5tRJMD)v7NAju*Yp8A^ z?f%^k9+wSWou}LH(O6N1~Z^C}s&U=nA=ByCEr>Lr@?L0k#;C?UKM64c-uQgL1Da0-52 z+g@#(l+b*v!jnlD>}-`f#wTTbm|@5AYvf`|DvvC zsam*TEun0!V5*06iDUoxAs+%vhfldG0S)m}MgWP^m!F6k#{eQc008}7a>p8!Dk^Z{Ql59FarcbgHS>=KMX-=0|r+)_gAvvq9!3m zg8fi%%|S!x0^59BBe~eV=Yre8cJzRlc+=u_TjY_!-BxHk^8vWq0hV`gUer5VbAqgnE|V5^8NmWjG|9LN~b6b7x-K;wdS4O(~k2zeJArP;SF?1pXz z1NLJ%GyBQMCoBVn5Lc0L``KG64ArFcN`)VgZ@C9_{#M8lB+M({_sOTDv|2<=sFXbF zE9$!Ged_5{KjdV>H}#z;v~bZG{y4kOvbI64AU%i=aO%7Jz1oj3ISl=HE;Z;7k>QU* zOuIp4I8HQ6pcPuyIUyPFheVxm@(NmlQg!W=(>!VqCf`66*d`!z#+yh78MC1GM+0we zu9on=!OEa(Kr~ycO>%+mIh?zg9s+f;`#wJydypEDeP&byEL30BYdJKU(!FzM?%~!S zM!a^eZ`L%_drtjqop9JK;qVSdbF%DH!NIDP7p)1^w5^DiUadS}*{m*rqn%UrBEz9I zXz5Ri3S3jJzsx*4dtuj^yMyW+cmLfg>L@kQ3RiRHieq!?syL{b?}2qg7U%&Pd~)$p zRO%D-i&3LW-?3eW>x0DK#i=tykz;!V4B=g6D`2q_y{-!I2^l#{eJplLysJpAULy&OA5dnGSY zBPTBcBRhjfzEtf7BcnZRfLCFbk~u z8$eFo&(Nsj<93S#7}YudNXTk3anbxM7dIl-TYd`d0I!L!;4M10yS#4wyx_X3^P;{4 zp0%ZShA`S?dyh!0A%X{VZBv<|vc67bUFTnrQq_0G5u2Sqw!qG_v7K6u-Umc#@MZ)z ze$HO^fSdlFY)ggFfT~poeEit4Np@Fl(YD7tf`*D7BzPz-t&N5o!{rg2H?^`!>44GQ z(6n+JP}b0~PfC8)DmoG#J#h^E@>(5U+gRI(KowfuPSxNAN@{llr7pY12vmTu0@a{E z$mVBDGR@+*IEN<0o2v)mB-3Qai}VC5(mC4+waLf3XWN$+pmevnLntO*)I5RbPJBbB zHlpGTSPk%J+f9jb57Q~t z0chCp*Rr~bQC>y{U@5gRN$v zj_{?#F0pt)&Cz`5Hiy(Mu+dB;!zuCmV?mWCuBtD;tQS`2J<7)lHc%z79XJcSly;l| zbHL})gVEB2)dHQqSobV0q~gninp~vIE%D-DHV5u&ecDLcv9u0)aOqZsBY6esJzQ^P zwo2zc9ep#sP9HtEVEFtK<<^*A%HHUDvE*&P3yP4WW(Km`Z@fbD;F zcK+?o@=qxn13gP2v+qcVnZDEi1?(g#Xi8#z(*dWAx0W0$?3$X_H5=VREiTsgH6{5G zfe9LeQ1Lv;q~Zx=+Sgzbq$9p0`s8l&czf}bxfp}zOW{3N(;WWLIIK?ep!ooF4pp#E z>Q;fn$x1&?V$XPWKFX84STT>rDCN-YoQCHRs;GC?AijEUmQzaK-WxENUc$3rrd zP_KtY`k2k#NaFY)yxwi=;(JU9nGd_+DV5*H1a_T2-ignRSw6(>F4s5zq+(K{;Dzy! zF6)5+MeG+@MjXqV9X~wCw}?bUwW^tZYBGm)NGb~4#g{IsCiX9KGju6$8mC6|)?AHy z{UYwjR&aVaz7FRa(PYLT{ne0XJ$CUk6Ml`Q6+oB^9A1~Z7u)#zK=pSWzpIN+%;m6# zxX^kSFKb7A5)!0x!}vWDOXWk(-W{(ZpDCB^cOaLq%#dmw)&>#oHS^?>6T8)uR#cNn z?h#Ao(LGS$(HQtS@&Xo>DkM#Qa?xlJj*5UkjMB*1fC}|BASyE1fT+N_5m(Qs66HbK zb4KWdEc27-*-~D!f7e}CO3c-hbhQhDrw!{Cj*6&87F!Hsc})lz-?;cQ)_H@ej|xIt z&aR$wjcRMs(!>}-$*QaTw{;V)a-j~2W=wLkCE4u0vJ#g@m5Sy&+B@3fNygSCg32WA zYxMJct&kdq$|k-=@?Ra7XEmI#a1uQL39dG7~Xg5i(op76)WU z`IZ}GNA(s6M0V^YFMQ!8F0#aki|Akk5uZOItynL{*lC0w8v^GJDcXYSvZX3huLEOX z@AM^Xuanaz)taQNBbhqS?rZT7NAb`89Z`XcjO->gf4I0Bw|QE0MaK0vyb=qBPy(Vt zqwXQWWg!GVUuibT8d&lk}u znG=N% z&2;9R^)jR$PfE zq=?A)933cF}WCIhGn^I zY5B;=2?Em|lwf)Xn-E{N!B$y+ez~Z&ddduAz|0(gV9=VgMfe93XD-l1L156DvBf|g zp4iKXa`8neF|!O7rVA`d_V)?Tby6Lmz@*$dz>wdbma~cGg!o7PGJPTTF4|jhRUS5i z>FKjEdY2hMdDj`h6QaZG#Y_7Wxf`A}(L)Lw2H4z15IAFR1Q2LYj3;6!22Ww9vVvaLdR3#qL6%2D%DSsJ}}&3ydmnT+OS zpxjrncCt2G{yO48+`nXXO+KBGV&hgc3W9bmX=FJeEAiGjCY7&Fu7Su>X)CWdyMA6%n@Z2BIQ-#;dJjpnalWhYg|$2itgI{w zaZ%2oq{*_fh|qw#p@Rb_1Q+8tWKQOw+uhp8k=6nNIPtJ9p_w@UejbTbp*4Me-jy@A z3{fB<^~FwKpu#Nzsrz|yk_`>7m_TDwrh=Qba@8tUnZ{%;#(jB(isvNK(2TnYZ8A6A zdYCcUIH*tP3)*c>CTmPRQre}i6C0^NU61C7tLKtMgpK=49sPWZadY(fz`1*CI}CtD zmlc#9cfVscM3cRz%Dfv)@6KzFjf#g}hxh#VkL$GvFUt`&hqjd&Z?9*>!t3mYTc_u2 zVL_K2^%ru;%)831K4&0*OIEvQ-?Wv@S`9LQ0Q}SFpI@cf4VNj+rvlbJG{YY`TKP*6nMOI+P5qw&i3DIUz z@6c+k>1OMzUh^4B1D(s__=L!Hz4T2+pMR3f5GeEplg_?zu>{+Y=`Mg+$^^Dh<$Wk* ztYf;X?G!baS=b#2oZcy#UU?&Q-%5jQdd?zYb}V*>&d*{}L%SBa3PW+IGivf`V&H8o4|m5DG62_e+As-aW@w z?33koTG$@4)B`;3iXgAH2`1vLirgjp0&HX!DiulH=0VM_OwqwZ?PQY@pq7Y;nY{r> zM|oT4?_K)(4_$%bXm=t1ttVu^Uw?t?|B1w>cKIi(k@_E`dfRU-4vp>qVYw?#Psx%` zi7ShVOHWKrP>oH_94I_Z%_xG)P|MLV$NR5dvNl%X*Qcz4$j!jB89RdCgC*b@&W}tCpk$?L8lVE=9-tPlV0DUJjOG9dV zBLgEdTgShB4Ca_A>j8ZDz?)796yWB*yk_Bhe;@$gGzVb0T@>M3? znJR(rnj9;?D|NS*ED`}P#ktO$#@O^{I!b%7535bqEO+-W!fzXZ-ARp*m3QD!cpBh{ zAAd#oytn&fb^GKo?lBH4fNdO^+C^+3D<`f>_mekQ!*nVs;e-7U7{p0* zgtZ4y`t@(g@4tS7@2~xT1{!<|zJClf_}8!k152}in?CT@+ha!`lexZWTZ-SbE&Bid zc7FZ8BH{*)f;LuG-&{f|Gi#%72&eNmng74S;z>%{-xz*mZXl=#%H~k3s-0Q5qXNeb zo-_e5@Hta~a)kN85hIKhE8P@m!2+NDoqSrRxk0?$7=~^2Sh?iJN4=A6c8{AjhvV%n zULT)NP}@)^N>XAUMLou0y}I)Qv)q?@ORHwr*^Lmx3?u z67*`m!?{mOqJO2=ldee)J?gA6$O&mG&$T(ldOamDo3>aU;OlUL*o zopv}+1nlLFS6e54H+|*YoRSD7sZ?kYvuxoKL65Wzr#V@tX-_yzwjk%LO)#!@JYlpL zvEv1cMG#}p*EfgySBuYE&@6FNjYd6F)9?E0S?Kgm_U(YtBX^x9CSg>P2VJoHHItbc z(&>2Bx&3PIW}U4Yv8_1c$R-Z)ufEhZW62)}bHt;lI;agdM{gI9DuohRz=O=_aaP7_ zQ2lN7Ye~Gn*D83@X(dSr;*WSLo7g@sEJiqMDtz!_CrR)Xu~5*&q|j0zV(}2fv`R!^({B+q{0?BweQ#TjQ%+JbnYCps>p)i4p~N)8eCr`Wxj>K7rF61Omya zJZA9@Omz_!l~#a1{4&Tcrcq$Jn3RnqBR|xH!!Nfa#nPz?rmN($^Z$sb5Ousl#l@h7 zW+O`wnFcA?1+H#`-`y-gQX2BRK~yey6O}5VpU6;<+hlFm_IAk12Iece`i3M{Ovgd6 zv5=mikMO1s^A^959$Ex)4K?t&2WQu%45{e0{GGD(S1B_5GKwkwF2U39*MEd`|Ek=- zm7tuS{Wr({zkJ!CNd9kVKfLglX_E$&^HF=Kh2V@FGO%zT(x7uGwHcuJZ(ABJ-w;Ga zt#(_U2VOkm?TZgrz)|=Ra6zHKQ%mdSU8}0p+EM8Z3GHi(DN-|>4JV?T`0svH07LcS zymxCUk-#{xs4l6rk_sh4U}^uvEeU}y)J3CVD#L zF>fi(qwdgl-VI}Y;OmIx6W#U0?S?R9mry%kNe(BIT(Qf3!$DUX{{h0w4MahqKU5x+ z4^3bqUaFu#OieZsCZ7_b#~NY=9a?vSkrbjIp?h3S$g$m+yMjsS;0So)1K-kNY&$rG z9ne~tK9SFW&=C&v5tXk$N_j`2P1jP2z^azEo@k>ErfaES=pmxTh)*`);Fz{EESBT4AU7icnZ$dK1E0T_7b4&L4>Iiwajor>&CLMMqn=+CuQ^LUE( zo{5cMa33_*coH1ISGZ@X;U9v4fkI!X4aLHo-s=n|juhpueEob1)hkayWt@E4<_ng3 zcBYfUHDL2DFbH;N6)b1H)mBW=Gp^^RjXZDCuPKH~A=sM2FnjYIB2YC`lL`0d z41kn4sSth)jSkn>1{7kLIMqI~S&*0Y2;GM7APRe-6*(7`iGV zWWiGqF9lFqkI;9MV4`-X7O3{4*-(d7d3CdPLg%2!5hOuJSbc_3lo<#^$drxP6yX(# zQV;kZO{HIWp7BwL;^}XZ{J&OvXQed5U)1M-?*|X}|7HdJv-B0e?I~-M@AYA;_l<%6 zuURlzN;BUSXyi}hb|XEjy!!&(CV!1QIYV;%?}$lZ7(^Wc5_H&h@l`Rjy7Sm|@=Hzc zSO%EK9bg#AaDz|c-IQ~cfQ31m<95b#x7*Ez&GzHS4DAj8^4(-F{4or=`CMJD!JKa} zaZ@TsvU0km{787TahvzuY#X<>?Ia0kcj`^~g*MM4u}sJXRG9%wBFU||S8a}i;HB_zFSOhQ9Rh@R z!4)X*k?oJ|N-c{-AC@g~<1To?mmd@Wlf)W}X`f8h+6|bsD^yaW4!F`bq2oUFK%}E@*kktTy#$+L z8oy=rF>nh6i0q?stHWqPNOtJ0rx}`Q!2fCm{*rn7 zQ?OT*esU!C=pgk7Y4kxH`4w5kjpS$JvNa}x!uHQ%fq2eVL0nS%iqTz~xe3A$k3+LE z9K!6V(4Io6NK5;?Tbwt-4;s4F^Vi>uR=OqX@nkX~Q}KxzDs;@u@_W+tT=5CNlNq-_ z9U+IybffR-xnS=aQlYGH4GbBP@dSPp9CG7FEaGqJ{*aA*1^K@Y++VeRN(6H+`mISN zzw7;f5LtiQ?Z0<+C#&y4N8e*GjQ+9J|8t8^ikp%EqDKyrePb+WYSyr#Jnz45R0dl~ z@(=Z=YppH%04s3Wpj(eZ?@ zh+ui^*oi(t)@|VKU<$>ffba;ygMX+;3PW@mI@V|qWJ7A$<2k!79C=E<cN=dLt7ShDm77>bRP|LvG8d<=$$v(F1F!2bs(om@Es2v9MckUg7zhL;lyl!i#45 zHS$gM4EY9-{jYW)N$c-9T>spL{;5Fz_7L7uvv5T|Lh&fkn%j<0?r;6Le*tsENt2T`H&q>BZ*3D+O!=LHvp|5P8AAFqKNp&DD)w#q31xN;n zQWykkk>dCFZaS7a*g9Ipvf}7)1_J#E7%RJ_&>$}Kk3n?ZYJRkP6H<;XQu{sq8y-JB zm51Fuxg$M{EC;+8zIi$KV=ac?DMY>go8UX{;mu!uHwR#y?{fVyFE4C(y!Z#`xQVw0 z7*4hQFAzSYZf<0eIrq@5V-tA@+CWdzL#(#K`Be$%VE;bA7mZIjeD?}HbRCds_vcAU;}zs(WD)-YKm=ms}~X|I>D^M<}#H#i<6dQ;Y)IoS4fjx z74s2h*fP(6-I?W(FTK9G^*Bi%GgP$8+n+$==tj`zYkj-x(!Iq-?a$+G5UH*OI+zy8 zT>&qe8{g$u^M6p7=LL|RHcAhAeP?|NnDrIVAU1NC$z-|o&A+?jf2`Pdhw6t))$$UDllkU6&Qhb+($e*!@|4m7 z#*V;;9nZlt4oBt4X#LKvILi$=i0lD|U)EM}c?|JZ0S1ecfWu;;RTP#TclEa3nz<#y z5;dX>C0oD_MJos^r7Nl+~@M4!h$~u8$JRV8hhH&!(L>{9uaI zK6Z!($Y}$aJ_lEk{s%~%-UvwVk-pRQ42f3IC3BJX0-4k1Zo^mFy=TPF+})VV0Ny=; z=$nsw`CEpLj~Q3tKH*M^T5p1(>cqIv3zpxjKn3mPyUg!FDJvi>g-aOGm@5g*xI{UF zOU8umKs92nihY_??^f^1{X4*m`bp)xh}#IQPe4!Re$m9u(b&aHAhuHz=lp=u6K432 z#b~r%e(n2R45mzr>t@s?mgozm3pTX3A~=_tYEF-qD6a11kX<%ZTzMHp*QF&DDLN^e z7{Rj|T;0B$Rlz!0;M^ixVS&tXZZW5I${13e|ZeZ*`;Uw1m?K$MMYQZAY4 zPtz>sYuu8{Nf-c-uJ(IH_c}P3P-A9iC6CR3(X^k9M^PXV+`UTO(ROHOo1ILc4AJ^5 z=#h3?}*sVb3bj&rihA#D3@l=3BB1n*;*HPZs{Q8n=z zh8gQ>x-v!Q%UHpayyKncWw-5xTnq8Z`W1toi~9Qi%v_}yohzK;4xJ@Dp;aPNpvo0HY9HbeL7H@2jps=pZ;?x?i<*~*s?l`3opx$D4X!Rq)t7PKgAWbYroPZz^VIb66WpB3_8{d5X{y=_W)j9 z_JGA)T+$U&Iib|pt3i#FE-cAGjdyZ-%a%j+H$`{1Zux`UkV7`d5E^pnH(&%*f`h9l z*YrgqdvcWAq|=o=f;V%ohuEsn)fZb_2G!_tRD97${nVqXJ$FUr_7j`sO@sCKt0i9k zoD(MAlkZHBOredp5eJ|uN^~#P7LrGX@g0JSrf~0)zj2Ml8&*b%yupd>>Xu4YJeQ5apuO;C0gVKVkJ7 z>&n_Vl(boZ?2P$S@$MS0@6H(1%XZ=GAGZ0Zlib$A_R?PW8{kujgYC2ibj`4aA$xq zMRlez?>v~Z2e%jTt5;0_LeWvZXv(cy8`vX+2H#(B(*zoaQ z74AD?Hws@zW&kmPs3V~k7q|ZhSw~#$;MNI37y=7XhtbgrJ$cWH;ivtp7igU!-Z``v z%D}u!MikK2Yb8!6X7I|9w z#d)Aw`KpX|73X?hSq1Zg9K^ zTQ42L&8$D|yfzl-GiE8a8ELw?xr%m`d$itCgkKcCVjIiBc3+&%LwFXZH{>^G)Tw-S zm>L8^3HHUYPMs3jZHeRt(D1Yx(@F9novR?}3#aJ}qxh``8tYDd{ik`GIcrvWx4~`m zsB>V>$s#1fsp>7LCSo&&%FQYwfAU5KC6?9hyCUK?1=${s)6tXwz2#6am07h;v(}b9 z%naKcr$NjRK62zP_kgR`GMjZ`p6yLrt8-nhJ+z>FQ2}a<4HSj8_Om}eQ|U*WrzVz? z({_BzCb6y_x^;|Ax?`~~4SxW?*^F}jx7ZaD)qZ2a0 zZF0dDz?G7QS#@kCPsnWm@Q;AU>wO95AcFWL0AD>W;2b^*`P28T(fG#d$xH&fA9qlk zqW7fjGz3@E&ZWykP=znu9@au!0iNsO%Mrk6^klPHz4UZ1#z)<~E@7$w15FaO40 zrZ#l?>)$(@L;WSvz3&xb{jH<_n%n!=_}ss_&424`{^i*zTU-49sOT=`35D-Io|}8@ zryc_zIQ(5uDA^c1_+B1iC}B~NGO|Wcz3$3S#e-AB;B=|PU$?)s#86@=(7b)Wc86E` zqp(=pYdg8qAQ1$J?e>nhuQ#4EyS=Wb4nJ;MZU7GLH2I+qAUWvf_$xB$68aB^`V#%k zCWY*n!!4lg*AB9Ahp+|T5nLwPJ4gVb&w)0Uw~QiECfw8X^oQ)CGWYKDi%uYu(=?qW zh^^67r8H~yMb390pb4%qp~sR;-a%&6H(Bg0vMts@afYBm)Pna4CV6D*qI2-$Ko(fK zgh9EzGV9p+J%&t{G5RND;=(Ub$t#lPi?4Z(Gm>d^4v|}%rnMC>19VqC%;Uv?WG_#e zALhMVkJ6$)QZlI%Z4pzmcZ^QAy>xW!qa?&zxD{Bl)^ckN6u-~I&o{Q?V?7wM%vxl_ z4e;i-&2p_bBI$Jwi0sF=>mBL!SKnPqrF2rs^@=e>G=3~hEN6ym z&fcWuf0P-pBke~~xX+PJc7|L3RC>fO6W~t?*Mk@eA{C|3)f@XGG`1^#6Q{6`+GN=~IJ5Oo1e0DOpP3_m5b$X_Ytr9$&f>}Xm!By|kM_g0!b2nqYUzvmhL zX4*Aki|GSMgNm(hjv37$+P!hoZ3FG*8&~RcI4nx&<@K~JPnYwEi;Vb;NJYQ#HIB0% zM1inMSzH%3#gn(cCnz9PTa_JLt7(r%R8~0`qoo1U!Yaf+i%4Zj#^D9nU{_cI!{b$) zDpN)oNa8y|7XivL5c|Usp*(yO8AzW)9U*f+fE;FkYOeNfFul*D>=wp_sBdX($6fjU z9~~&6`Pt3PaTrgL-PFYkbPD}lG{!iBjROe&WQ4w6DVt?VJLC+lP>4>X)m;K&||UdB(W{f1H|Sa z^_{Ea@CL+YFoglX2v79%d6|DK6G0bIVZJNXaPEk$DA`U_AAC8n-7+$qq=@*i2cluc z;c2pZ@+`BrXjjECMYQ!{F_Vd!z(}GFlX8i^1>)0k4^Eji%o5dcF}5aa!~m(Afc%xd zkvL=485l9{I(#iA^P+tkNd~495r!Ru{Oq`!rc0lgSn!sj`m98AvTD#+rFq7pMCgTa zcRgR$su(MHyQyZT9s=Zut={rZ1#zs3X=8U6LJfoCYF;cJ20Ie9y$Vc-pJzpjdTlIEeg7& z;iq<A3L9XP=0dtMiQA-B&) z;2zg!s0D`|aTU>PbP7d4QwPWG-lTnSr5$Ie+NQpQLWx6aF86W<#oqEstS+40t> zl4s?nn5(c~2TpPPxT>>=b%-EK{Ii*>OnT7?piD}%*cF_RonWB_0?wX*lH_`Mg5t6S z#Fc5M{ab0uv$B3A4O1oW?71%6exP%@1l%DKQ*R+|Ep*U4x0x?jkSiNX_xcu4oNa4y z?9EsPw&Nw8ojpK)W-Ldif1S~>{!IIzQs>!$OudfAV1R1n(4nwlV)X@Qf9<;4$TEG3 zgf+sYpX>~B40nd*H+)xAb652kL-Qg)Ha>Bm%JAwS&9(blh&I)%x3hjM2CiOq4Z^Yd zr}i+r7OC5@ZCsB4Ey#F{8^n-pg!73OVCD!2ZIfc3j&n#kW1o&p^J!5k#oi_1tA>+v zKczFPL!`Y-cL=sypxB=n7@-Wv#g2`d=b~fp)fPOBmo%&M6Z?n5_`Jj8w9P5hF`V0Y z$v;w<_k3e%qez7U)7A@Vn7u@QT!+1IK}u-X*t|3n&VZ_!aJ1X*YPanjNjE(V=Nou}t#D-VQvI=9yL7KWYD6 z6J=Uz&6Iq*y~Y1MdHWx``oA>M|HD#DQqcY@dCT3P-ry`P-I%`b5=kyXZjJowC!r}H zvOi=T*9(hy@YSfXiZLniS3ysqY!J^2&|5*c3(F4#C^Ki=>8y^E>L`9#)_&2+zQR-Q-EF7>}F+I}b8KX+y@FNAejKW;X|g z7TsfkdV5b}qiS1rS>Rg?o3k~WO$q|6gxNp+$wsEsLikJFXc75Y9RLX4Iybx;Xx|ECtfW`^43Un~xZ`sfDr%G@?>@j@ zg>Xpy9ts?^XZog0hpeOBe#I3|1M}*HnSwr^AgV_uP1r{4-cNIx5@cXPsLI_A5@<+o z{N&U3D()AsmT2hpv{% zI5!%mDIu9R8&p&TlAi3v7~xmQ1VO@^%=&USjb+n$s|w%E$%rYr+)7W&_#Lo#<~;E< zX`BC^Z9T#Z^g_2Sn~M|-&FBXoiFzoXY)9@_+EF`LKsX?iJG50sQWrQOuGLrX`W=2% z$HNk%y5-F^_1l5rpC1ydx;LbGG1GjF0eOrTW)qN z7|kk+IFIL0Yx+IE+o*vXH_K3g2D4PHksg>3^-FZiNSrx5fTnje(F_GFB3XmXEZ~9I z>(*|m+%yQn!A_nTQn5WR%bqGa5`kU0xiQ>$^;)H9?xoUL@u+V&3m^bCwum}iQlk${ z!c5gt5~n46NqFC(pb6GQq6Yl53#*x>FFNWx*g8i1baI(IvzA$s``5h4+q77yR4RzH z>&&fjdBh3x1;m}Sfcto+s-%gMB$|ay!_ZMCNuWT2Gz5WHP2dy94YonE*i5RCo?P(Ig7K!KixN+3e6MpbdN2d8&t!jBYHa?%n>+7(_NMIua zNfY7W{bqH_mnX|#a)^nN$_vZGQT>HwQ27A~c#aGzcd0(uts?ldEK^pVyacjA^fRv7o6YYMV%~YjH8r)Z-EEbP*8OtC`6>SUFC2{z;Sggqw zq#gB6Ae?&166>7m-j2S_P8Vs;65CD&(}v^K7kdjf=$LX zC1%UOxeF_UmFi8$O$P0zx6vdoAN^(^A$Keg+N5W#8tS`2`MLmqGI(rnDLZZ8$k+mb z5U+#k4L~rFWR8cwuT#P(b`@Tnvf$;Xi5gT3~voba_s~~@0V@tk6Vi^>< zHhNd;o4Iv>0PC`2%RDPPWQ;sWEs4C?~zRXm}sk42f>P4q{3_g9@EQ4DYq<|)`s zc|i#gsqrV5qD%#N{a{uxdKc*!9B6lGs#C&DFTNg^ zWWBLhvwxe6)db6`!lBO;KA>|6`zhp~bup9O3@Ug%6KMs51!JK?9L2Wq$F>=x(~WdC zU=?IRLn(|NdA3>Bn{M=NDnEH5U0x0E|Lg24fa*%Nt_kk$?oMzI?jC|`g1fuBySoMn z?ykW-xVt+cI3)1jyve-Gki7Y({!?}9+*@^f?Y7h1XZP;4+#~$VFG|RGt+4Bh!}gs( zdk7)T5mNJDTPgSFG3+TRM-;c_w_IdtH=J`Aw5jE-r3er{tC&)F35!Le;~_x#X$E{I zDqq-tyeFIsVk`arg^2WyH=Jmw+ndFkLI1QhwgrsJ2`8sX19FYuUpHR&7<}7-QMM{T zcN0AJo7rnp>Aks1nJ%UDyy)1^D&|>D5z2?PaAM$=#BG6Yq_AQwxtZFc;*q)!*0eXg z#9CG51K5uKHjX=E9m=PzP8nnVj9q&#DBT^IxADG~tqByx@r^n$ZM!jsJTQc5RaW89 zZ+f=+!)lXDynkhr{$fFVLnoXluy7(w>@(wIe=^x7M@A9Oyd!>Be?|q7z>COD z%ysc7B#|ztA?UT!u{^m=3CVO^_gF!9UuAz;uV#{K3j47DyKt%YfQ%YDBqDM=M(UnM z#3%1^Gx%`GNuI?mj?>h`n`Ouln_WYwrw#7Dn}el&@`f8(u|CbmAQE4mpamhpFUb+7 zt`H&a_w8x(4s2PgC#}u74ke%GhcY_$tTrFbcvl`WhW3SUIZ5|L648>3%JB5ZyGcFL z9URk9Wo?a8S;=3agBn#qL@9(;Pm1C)k#s3!jZEdKMq}*_PDu*}@AsdBn!wB<(bkUL zf@bCS2pl81`*ITtSTsGR4Wy$TGu=Z7s$Q8$b3k`xh~f5gErYb9Sd83YZjh!w0L?oy z9FywEt%6-kyxQ40lxYV8@c>;?m?K)LgEz?zx05n2(i6=Cdcu)^=n5tNRrLo*M9~<7E6ug&P9~{`H(J1G zYXV>*{Q?X?D?%)-pr@AW2BPs=t0~4FER2<>Rzpzg(&^NNld)NJ#J7%)+*9JVc~Jd( zsOorj54c$aVk1oq?EW&vKMR=5h?SD-;ztem1O_VX&iA@I_qY=j8^vLZL_VA* zmlX3xh&z$dA_x`)>Pb?C{N>jdkCa=e#f6~kqjs;d{^c6tYRT}*0I4o`VfK$r;(hAM#mCMLP9r)l{<(6u5>|^RuTq7NNlEN4BBm0?{ zh>_}VTfij2UymcDFl+}**Zw8UfmiQyHCvt2Kq;s zmR)sht zAHCostU3HLoFLSz);JUyj86Hmv0h*56pW>%Sj2~qo$&Z&jtD`6Db%3Y;lUK37ruBO zhT;x2%%~Z)ajAZ215W25H1&305;!$eWH@Bs6gV|Sga+!vofAdT)w2*JCUcc~Nr3Yb z6ySmp{k2X1(u6-2>Owkp1^_)W14}y-dlN^4-^U{5EBp}<%j{0Ot{YQ-tJWKuNZ*ow zuS*yqsVhioDmZoX0zBPt!NM^Kpx^1W-kX$q`_BDZ4C{;*M;ZnkMJU;AZ>(u=jK}GE zufl5W1Kry1@xF6tL&@-0`qDS~~+y zQxb1o`*W=nNY@-7x_FT?Cm$#=5qPPyHUui!)UICbi zx5O(fVAhi2KQ|w_>X{vfr3IjICeS7~kqMh#WnMG zUxz~EL8NMDV}%~=OCbC4vJd4VFu<2Pd%{FAqtx zV-xpE)``IerU7ZVEjQIEH`NO1JwbHYtS6y-;S*SFO#%k}m`@n8+H!AOr7$}8_BpP2 zh_3KgU)rencO?mwBQIdOK#_R!E-)R1zLLZXK47wU@p24m3q_uKX3^Rft^Iuj3dpa; zFhT|b>I3j}k^hU{`omeM2IH(aQ>RUH!4Ve+LK*|)_lg){P%jop(EBr!uwpzY17u*3 zv$$-m&!BX23XuGV+-d47`I6js9x6p;$|4fM@}*^Gx)voKE4=1sCs(T)OKw(fORi=b z2OZZbDI?PGOR^x0$z@)whT<;6Gy$M9rAIikh0Qm?FhL+hX3i0lkw(4VB>1>W=f!q$M#LGztxu zzB*?y9-Q)UukT~Fhh_-dMvjnjDAv8UNvYlW0yPi{eWwWRN4>$Vz*{3MS7+&npVe)* zt&n}LnSpLs*LPvBK6JsVooy2#JM5ezTh}TcjBeH{TzJt7E#=Vs+7SJs3489)zKTJ! z&(2+wLYY&}F!8~-P@MBEFUGz*QAPBs2=?1_u_NdFs3TU(=u>K>rp10U;WH`sWy+2@ zQ}-fS704|IO~SUT%~0=4VC=WMTjUFK;2G*J?=RWzoNH9~Y%>}@qj9CR&h(GwLVcac zt?4b}wTv5djPR50(JzGzDl^s^2=6V$oJv;8IDbdFj2Q*qZQ&3TDa&lyMFvR(1YynG zpdUf4SIv+wSx{{EMx{i+S*-Spp=Pb+#qMEH&0>@hq$*C##0XE(5JIOt)k1}Z*pf=t zB+EZaUUrB&fO`#rMZn;MK9JHxhQ2kgV{R zB&O$ciyoY!l1ko9Fvm6ToivvZ^^!{Ew;nLVzlHh;Zw{0(?8L4y=-q?Ao0KPC=1pGR zy%EA3-v#BxIEpoiJq2!n(CA!d4Z{R}s_io#O1h;&dzRhq?Qe)O+O;SySU-#k&-u}0 zpt3et@j+mgUK-BG62)dNrHv7yfy+W$1qQ`MoAYv(nVpB6xwx4-E(XB%7?c+quf}P< zsN-Vyg&!Q)2RR0{1P)<)t2S03JRMkDC0v=PO(O_rMAm%SkOkVQSx6aEM!=5E+}-w` zESn6C78u)4wTEevu!S!;B%vxsP=I2cUn+d1&0=DGu+LkTDm||Q~u@jYI z${Rtm-vq%SDj5IRX$lC<-tdrJV2$nTiCFzAe${O<&yhF9w3xiz0=)rNNc$&( zf>z=7B5Cs7P?1qsJ-Kf%G3_x{EXDA3n@G-))ZWfUk8yz_urJy!&kNRm9I~j~mFCOiC{wDzrDj z0DNr_B4Gce-`TDZkOeFK6q8g?kBLi2Rp@Aff%q^Bhm3OC@cRkz>Gkg1%lVILIIwl% z0FovL1h2t$w>w_HGYp|uolclv3HkItce@X)(@*h$^L0g;y7#PCKsJ~|zz?zc5o}eE zgAk*1ka@OeY^>MG5BvJ17{b+f<21^KICPL_^}~7kc4RIa0Z(@?l_e@#kKvGC980Bt zl>4H9rBM_iI%>(u#NvtVgG9-;pL9v%7Zv&NT>ZCIf&_@f81 z&FMka!A5vz4ddea-YvM_!<`FcN_p!gFff&}CM^ssFOdmHA65jbr~H104>4JpD9B=c z3K43H79K~bLI8&;z1vYQb3wl$DuiCIAtdDZq}H-8F`;>#VkkO&NJ@vv=LS+7)58&K z4rF>Z4fRkG6Em4oI0~^;i&WL+@V+o7u&t9`W@e6YX-gYbhW@Is=Ty~-H3p(P6yT*N?h$Xp^61S)>30 z)U{2kb$00|t`ACTe6HhkUVhEHMmgw1JQY|d$Fb1HTkFl0_SPwU#30R`{Agd-S<3S+ z?epJ1u>_Rtv&`Q0MWvi{Q~C$COTv3#Waj6g!OsF;DKgj?K-3zV)1Oek<#0xAT(<1P zE?u#?%JyrXz*FWEO^WA2Tf4(Eyismy6WbbG(w7erQfm=drEs)Q$x%fYnA9RvWgIYl zYL#J0pBO#aTwYe4n^h&w4U<&nNZceL-Jhzj{HO!-G;*?Zo?)mjn2f2`HaCLXXU9KV z6NC=ipxUyd)fquohDcChy_#B1C`m>$#Y8dZuD;+B!c5~>wVc{k(0mE3h3k@4pdRPT zhcB_RB896&uwd9Le+B!YVhK%Q0GZ_?u+&?#nij4ZGg{h@7x7dNt`MN!Go9%Ej0F zDC-ahxq3oHL4LmBxD5pFL=B0vEygcORqa@k-A|6eqA$bo1Ho$?dvFH@}zFBuY3ua0|E-@ewY7jxV2Klg`Bu+P)F#vTCHDd@PO1- zzOyL3nB`f|rN~SN-jhv?$~V7ax_CEU`A3c>n#~&kJH%q-S<+`S#-@pGV>LdP)X3O| zq+0DSJY|^6VHJ^y##9k`b_cwduxaV1g%H80B@ig3Y;j@}vb0C}nw3*&u2g53P2;So zLo018o0#W7TY}=`>Vap#l_l??>@$%W`V33XaG=wbMo%?#b(=J#>_c0fy@`EBBm()Zv57e8=E4Nmv=0UNdV+J&zX58r@ zs){V&&x*Zas=&F}73NE4C+~-Fg-0+qc4WjA7bjYvR#{VXr;+0ysPBuQ!wu2L4s#X+ zU$q2{#W%65_#-!3B1t`>UGVpj`;kOik*{$TvW15iF5x z6N){~bXu|)6X@zvD$yZcOC~f93d~wEboMA};#JDRYB)SnCzr@z2Q9S`p5Vndl)?mW zATn|pqOu{Q@?|r{xf_#nH6?8_#k7{ixm`$3HZ7({GwjLE@=I=kPBz3$==mbo`i%+r zBhS2XJDS zt*6cV5z3X(hs%zU7^@^HJB zu$G*rz$zJEoVMER_ST$D;kqTI6RIz$O$36H=q`qH&LD%!#e*LmF?PrAzv1_s(F1$b z1{dXYfumq+#B|2?`ZD<7tJ`i*KNx^8a)Qm06Q&^4r+~JM2y4L6m--OQc7MWIXPE`xMf>BtE`Ry$NInN?l^sf3aphFd zfEV2ACkdA!d>0|CbD8^k3#2*f&mgH^G``i=7PTggfw|8DD<`qO06TI$XblWSZNHwd zP0r043p#lD!A6DBY#OK=`I>{O&0nCEEe$4M6uMGgJUG0Aa&TLhK`mrt*8FAD<1%QH z!=w~{?MuQpC!XE~w;r;XQ({-|9R0}=q~$PQc^t}jR8($ol=-55s8pYCmvjle(V2vv zd)ImL>FUVCK16EYh?sCY+c=&l%uyQ(Jb#7sfUI^Z^p&sNOuvam9mEEa)Jwe9Jmxz6 z4Aq>d*^(W}+Z3O!;br>Q3UR>3)6Ee)wMaPXh~lS4DD`hZ$Cosno7$-4z+K|FKTc>n zACmiTBo-N+zx#l*tlaK7zftw)3BO zfJ|B=^5+#CcbBG6D{KG?S=(@TP1_rHy3@SJpPRU8idfyyx_r4N$+xYt-~W~Co4=f| z6!I#3t}X}FJCQk{WHNm_q6bD-m{wNtj*NC8E0R}hg(g5P6pRnt{?|9tp)=!GlwB)Q ztolOn5Y=#Cp4f74Ol)As=fNAFc-z9NSl2)Fk$#9X@mU4P-$CAKdZu^^^NAwg-l^R~ zu~<)-w?izhidr5YgWVTNGE1a#8e8yqB~D)K0V!$B(lZ!dIFs~l@#N*dq#q8s-%B#i zfzX~GPcR8fR>qtj*{xNei=eM9ztMcdx!x7y zdvVV}?G@pW=X%y%4~#Lq&(}!;u^jLz;~=|Y-^*_{@E!rETI`?!D%v8*K!1*6=m>-& zv9WkXTTZEOQCNC-X{$771kFsAvzA{u`Z z@T%~2#5i`(_jP24_eY{GU*Ui&%+LNN4815vn*9y^R>hW>Vl7De?hK$469CY-MR(-O zR5DU2%m~B3C(sG*eUj>MQav7eIhld+^ike+>@(>T!M6z=Mg$?IZE$5gOl`*+x&y6TAYm14%L;X#+2VPx1mXdk|m!gN`ifA=fgy>@Au0(Ka zurC54@r2ya7I}~!;61m4N_0LLm7U?ZIQU%0AB1q=av0)K=-*!|(RDoglJ z%yj=#1J2PtI1Xj-Cm3ITnE0IBU`Ba&$U$Kg`;b;fCo{a6a#kmibCO#vccKu<+z^6J z1cO%%CGV?ad>Lh2KXKkHuW|0J+AU>uw0{G7-4_auHiccCd_WDFhZeOYi{PSW)whVH+-JH&epwcU;QARK-6}q z0ZK34eeYOf7*^Q28*9+GIoG7I(-q^YFAbp~8%E@{XYekp-wL?@Ca-zdrC!y+rNki4 z6h9m{42ztIeDjFvNH?ydVgcs`hQQJQ1Cy3Z@0#t@j&}Dlr2iJHvLPGR8%-8{Tdg=) zkai5A4~<<6(}_#+CQRAbY;MtRJ(4eT!{~0-qP~2(TWvo3Rz!ZI0`BBClZZ=?FVU+6 z&QOZCksLR;Q;8Oz0d_~tERAab}&Jwa+HS>TTF zJ@Z-JUdM%N`s%!n0#ly@8v7U3KAFHKy(_}*W1IRco%7oj0d@`-6|910*~`icYO*^< z_x+ipryQNlvfGLS$KHIL5xS#CSwiQ8mZfVV0v~G0%ia;e`lrfcs@VJN0bY_}AQJ=$ z1>=zebA(V!cLCERMKHfheBn^#+426v@#FyD1<|Eb%1uy2N#x;u&X5?$X5sgjZ{84a zm%?t7Er&A3!wV4&7ezA$)*x*mm1XZ!x{KX6<#>ro8qVJw099fEOIggpS0cX1w~r(Z z*uH4Q%sCTfHH$TM7ZF`6G_?(c(pRHNES@DYv#^y%=fyuijfo1+nuy@3Tmivq4>m|X zux4sRwM>gAXTUPF=hWmBp#a;rm!*bi89q!X_3x=YLgE~Dvb0Ol=`;(f-;1r$ZE2%^Pu=W~`+kn!2r@5<^QaH9((uzEo0^S;HlMGyEESJMm-`G9I1oJWs4cJ8xu(jtE*jP z>|l(OAFmH_{51*HU*kVLDBA~t-x2`8ezZ9V#>t# zNodQ;rp)FIMU1E6p>@G-*EbaPB9LApd5ae{^brH z7NrrKQm$TSC@w;Gd&)xCg7*WaDq{ypj1<1kI!uA5;1aK>WT0QXQ7tafH?+7Xw!krS zckT@qLbEEJUZJz;2xo>n)Z9$;GFy5Re1S9Ys4QR#?sr0=qhjlDv0`00DLYMiJ@C!z zslI6$Boxf!40xmb-QlS|mzFu+jWJyo%Lh85o6RXEM#(ZIlZ+$O8a;W?Q#*_b`9ofp8|@RD1^z6~%@D0^fu$53B;bEnjQg(fFSjo#I zV9|i#%IZz%SR|*W-wlcsg_zJddPAk48d@6$3qSdtmG8K{J%X{&lv2t1hW7~XkmW}AlX%Y@u`TRlUV+&)vL8F{ zf-YiWMD7qn?1a5ToAO}Et_Rs$atT5`)c7xnx~A@{$k5lBhK!n@Fb%1+nG$r>A~1&3 zUnMk{D^Sg+704^eXeg8!yniEqNzC42z7IjFI11XWD#4@7wftc*HHSGoh$O{hhd(3< ztqt|lVnIQYxIDa`AcKF9{Zpo7Bb-~IQ;N=*uF!g2pl{=MGK=8g7mokF-L;* z?!)tqrrEMo`)+%w#Kw*UR{;xR)N?ok_L2nqUdQT(Eu4#m!lePKkLA~J0}D+tYbr2~ z#GB~yLx)K&cKO`zPj)uFw7Rra=v|7faj$DcM`=Gev1WD|dtrF^EX4w}Z7@aU78A~2 z78s1YQ}5BkIuk;QNs{N6@1uPyUqzGKqjD{5%yfM&EUYF9)(j~mincby@Ufzk4vWnc zHrmGfOn=&DAngom%)Xa~#Mgz(r;u6$^%{raWcGAiG9_Of;MlkhF--Q`v(@!TJi z&C3FuCf(|vQCU?e)l(Hd&}^jd?yfB<*?t-LL=jwm)D?Z)UvKtysk`@)rKobeWK&UL zlL+y&6bNf{Q^m4Tql+QCu9z~RtsD+-hIKvh%^=z1> z=DzQxP$dSM$s_5s@k2zVn^RV=;dt@6kj%9+<$?Vt3Qo*ZG7Q80r(Vv_QILIBJauQ| zw6Z)aGPk=~e%}N^5Xg(JxVs1oI?u}9dtWpHK?2jm$?{Dd8o9`Eo#~Vt)JiUDAJU6@ zbbPGY%CPE8TS5AOQVn-Is|$BKr^|wdgE{{=X9fgZ7YAw|+P;TG9EJPQeo7t1hZ%Yz zDrOZ@DVyQMu+=#l{pOLvckCs^m(B$9q$R;8dHGc5f^6O}Zi&jz?C zx`)8pC(N)3`%6eYZF9a}($Q9dw;(=HMEfZC?4Om*4$d&DjJ7`>Ww-Ok`_4lmp}_QX z1@#Dpem+607V{4is}v4KN6fbh9}lobOEP}>4)%r;EGgsG_T<*~(&_>v=n7Y@MepOop4yr4gkx8G)mNJa~L0Jii$9ly*+ zm2gkV;C#q9b6?|R?s#&4dhrg4hD!hSYk6rRUqOU>hOFG3z|b@a+PrA*%sx6=avKfL zvk#3l9XH$6d7JH_5YWhOBjz?L0tMB>*U772{EJllkLYOji=ex8wTCyL4Vyiad}{`2 zg(_SlE5mn~@<}DTkhRqWSl-SnB5Kqf#V@NMp?gi3n%nK6EwNF>md&#oS~7_Z*kOjd zaQnt@)70zj2X-Hl&zTjBzh&y*xl(GGc&DuO#)5@MM?>+YiM5pi_G^Y@`t&4Wd|5={ zbRHl3)N~$<)=u@*nIoFW2~+D~1%`OOsMyH3QnT?M+&~rNF!FY%6U(iU@vC!PRkGaX|TPdOUsO< z%|m)JZE)N#*JtqMq?5NS5-hQ-n<-~m64e{gct`#MXUKf#@PS#P+_y*%$L}k~sn>`o zNklnGY5_{q<+{^*1l@JfC0Mp}XdOhJ-m7|~_0@+&v3y}~5xE5susjF?6(~0LktUJ8 z`d$}l*(9_0nieU(&${g|62wQrn@L)n>8HX!FFCT0ecFt@il^OxDCCaa(y<+n#_c6% zL{oPbMKV!|BfSvYk63qbqS=im=Ok%=O@Q-daD~Ot9n0QGsP7FW4bJ6ytS`uiDg^zn zdP#kE@DU63A2|sUo}NwL^_`V=$$+Pz7;u{PU-4c1@fZj=>DU_l5diZSzKb#?z*;4{W%qP8O6(l!>lT8Ha0Dr@ zH-bUBMxy#;s>o*6*w{#lU4hf?>EqX{ZxG%tr4-RUaBy7JUrYqwXQg42Gv*UP2=&&2 zqXBkLSVRa{vXOysml@8W$~n&z47?sJvuWuHAp1u6 zVZafKDN6f3@yNV&m-sc!!*XG3`w2(Ed~MTSioXW@3DZ(m$fH^F;F_|`7k{r{9n2K! zlXI2UcXoyHln-6D*dq9cK(?=CagN?9GiNqb*ULs0w8b40yd0Vbo4lPrGrqqs%JK40{73 zRmTm>OtJOq6#;hg>WL)$VqLGoSTxZSy;0F7J_sgxw+c7+n)XWL4j!B%t@#`lxJ%pP zdIY_5z!KdB{jlOe{-Jzf%7yyqW$SSluGVr0il#_Y9{uBR0?)yM`OSxnOtV+Gh2ax8 zZwj4^K)Y>weeBg=@`&WVHjWB3uHGAV1&}czrO3#^EHLqkWi< zCFtA|>sBNGEa48R$J;R)B(7oHa;h&haYC7hP}N|YZ6fFgw^n~&u~LAF!(suV_Kdze zBYqwD{}SQ#EJ!axUPh{$AJGF4gFRhQO!0}B1zNO1hDux>6&M<7wc()IT!OuNCH|2O z;StCyzELIzG)@pBF~gR*`Oyf6x=a5P# zh(eckvQTPp&W4M_TKQISIaRV>8Qxm8$7~z2zt`;x#NX>zXaarr5D*dR4tOK@S2T8l z28LF)2BIdmcJ>Mmx*UYgY<64~NC1%sC5Q zIcB5K2hN+o7%UT+9*$Vg@ddX5>;B~I%GEwlht^0vL9zFZQ;B-9=8S?`jj}?-O1hYq0|=aZY-U7(`m_62QfOOLFAzngSzH2 z_2y*uh}i65MD2;ww8Z)X4TqL-N>&dhN}RwPwS{8!3Nz5O3sS6;!(dr#N&^0t;3*gM zK!GXB`C@}Tf`w)iYxgmR?Z_3?TI0BijKO7)D+pF4r3lI5cN)#|gZAnLtwm0^)Kj&J4JcF%j~qwCMHpIm5a~`Sj7_76b%lGWe2WvixpZ z4j}CGvd;uN7)jfuIqIYCe(fdq80xpdE@sdhhD%$5oZR^s+!$@5HJ8O)H~jQ{!;nL` z@M@*-Dpt~YE+%uo)iBPWM}s8Qu=YSGX=Dq=)Z7?^7srHwpm-kf+Y-9iZxBhv~kz$4Vtcqb~HNRbkC%f zKkO$v*VN`u*Y2e{M8frUerZI6-wo3!(#UX?CBf@1^Nl_BE5YB#kT@Xjl<$$%Ujbt@ z=dWY5f{UHKfyKY^DP+VBOLp_427a0^v8bz`HJuSzW)(yc?g_w%M#p$V|N6i)6@My* z6oq_Ba8**p7lxoS2${kJu}GjtEuHz|)6-~rQ>#~N`-{#O=1GJI5ya-GIcol+z~*S# zB7|N;ugE_^=`Y?#^Vbjei)Swy;jc=sAceYd*~Y&)vkT)AqE=;*?I}&K^zM|;f?28s z!{atqhi8V+A)IJKSr#M00@pfip2iUib8KQ)APz+VX2mhkg|_k-Y!u6$n0<({7nKQe zt>=vPb*Zne_f&PGq_VS?e#dU`vJzBEnHKI=QPp`cH}t9_-cT4!F&jt(I8Q7ax94@g z3aZc63rUM|W6$ccJ^~g_ffG~bvbu>%xUwm`ZesxLjL~#Tt|cPJ*M8QbC9Uk2qCTk8 zu^o1m5S&-*^25L(W4W8v*eTQ~33dkFr##Fm|2GiYzGXxD0HE?#!4nq^Zf#7Ep!=ZY})X&G8y`OLX^q zcbj44ytfdyfHy9S1${qIlgUhioAfjHz4WCuFV9C{YoLBn>?Jm)`LSHnEi6acX*w3j z6qU@&+&O>6HXA_(?vLYSrH(uY_}bwQ<@c2Lyl#>!?+Cx50N%c5?|ZH~kW(JLtyDO<uZne-ZbcCv< zF$2qdHyUPJhp=LxJ!9_Eq#g9O;s7^i?Kr9T>k|4vF5@E$oUAOA;wKcDO1F;z*o|jA zZMP9A$%&Sf2rz2CN?s^z*BUY~ZZ5~~jdMiiH41o6PuIL7@Apm#iCa}YzxbE+j;>H9 zn)|t7h8bHI&|4cI`KoPn(13hXWw?ZNhH{#>RsA9wz54CN77h)#`J-WN+|WQ(rW~+p zIWRf103$ecl{Eiix`FY&A=MS$?wkfg8sms4a%^YMBKD~drZpad?s^cV(A!9{x#QHT z(K8D}ZiNv_A6nyqQHf2d#J;?;lBp5g%nWAoE^Gg7t9g8f4Se zf+1BpQz^ZCL#Zk<@iwOin-VGx{2a|4Xbr^3{&kAY*S+wlO(Bj`320QQv@V9NtQt4R z8+Rk8nikHENB0MK!axzE(O{NIWV8w2VDV}J`ao-`&PwkkO=fDr&SYPq4A8#2u)I>ff5(8*wK=hy!I+0vl1#L1$6!Q*_bxf_$sV3t^Eu$ zN9Kagh_R+#*J-wDPVODMV6ok;Cr04PX=34faIRES6iNz8 zVHnJ`w^^WIe2#trdt~%wBcnS^t#`u}V@E2S-VfGCeT*>}%VT(eI*z&`Ig%;uMJ7I! zXL{VaP>Ht~GC3pJJM}JDd}e!213#USi5R2B<^n6T{&;>PvIKvr#u2=<_lpj#@9Kfw z#mGdwB3KRPU>y_=5?fe5C9!mWE?O*3Og_dzS*p&#jVOxM{k-iVxO1v0q7>H2mdh1a zqn7^~GF-GsGRV|8oVSI!L7J5yC64`Wnu9nSevFD-NbVq7yrPs!&F;y(NW2p`qL?J7 zjnA?*U4T1rEJZ!dslGs7g=XG*RwT0yjc6M7_U6*OFE+ z{+jo$cLZLqd@pE05USA{=w)`)dU7vV*#}Mx!TBN6jsQk)7-0%ZkkQM{L()N|+__i8 zuEAY%{1m#FFT6~95h>b|_O(8Xsl%e+V;F`MyxM&G_os5X_#>1UV2~F9d5~3msiZ5kEpCf!v0GR6j za{;Ei9~UCfH-S{Z_wRg2|C9po-t?Cg?LSidU{Ly}gaFRcza%{Pd%_i`QpXBPnndt(6kt%=@GX6NS?_l{NViUF3E03YJNS#$*C;Wri~{w%{EZ<){WK#N>g zGy!>)2c)L^8{RvBv-mf7VzxT^<_1at{&{gL3j=8@D>Db{-$UbWYAy8wK<)v(^!twR zpI5C91VD}JH_!mmUvmdLz`-(66LSLrJv{?EI~g5I9iu;`7M|yQ1WsG@JB9Wgz@hi| zyyF2xO@CuRQ#K-}_pAF!W|9#%&J@8C+09Aqo$UDQI83){JeeMu{3;n!3 z#Q|y&=Km|>`7R92%7Bam0cz*_kn!hL>qCqFTXbnFqyJe8W41@3Xn;TyOF)^wpNsnQ zs`cprXn_2t7XBuC_xs{=tk$pK03NYpz$ifYCm`Tn>w^jS`5R2YsX%)jbMxP$t#nF< z^Z+U|0WdKAy`5|T{o*%hf>u`c-*q>vWpqp|0Z!MSY8%hHfcR_!=@g)iNB~9su9@)X zRqNvo5dHfN^p7qe;%uPj@L&4$=cxYJc_q~VR6zhL^`DS{d#z83&~H)ycqo2gf6w&q zE8@B4?w`=LK5??Y#r;vO|7-Ypu5tJi&ra#Lcz{RQ^N+a=?#z43d! zJ=fs)iHch#(pKBfbw1i^(FD(5vQV38w>%S@=JU8{6YW}CGC)0m2^*@N` zpTj@rO#ca=VE#|=KU(6S7}TGedQQIj(^P}~zcBSjrTt&k^_;)*r;!Dxe_`aG*({%z z=sDfrPh%Kv|77g1+tJT4pOa1f#60o-C(IuW@(1)EKmM}2_uR^JR->O*4t;;I@*lKc zIgXxVK4(<;iP;tUE9SrFS9osc`6>UOb`ryXvGeQT@vqMOKeze(toBcv!cqUX&EF4K z&x2}zVxHyv-0rG8(6=ka4d4fGZMV&KnN;@^0FpO@r$ zyvI*NUZuYn`lY-6)8qDh5B(={K*cY}zjmfSpnt!k{=5*+_bz{$a<2X-Q~$?Y`h3go zC+vL9Kf(SOF#cf!?|A{9JNAEC!fpJ;()0I+ztr9TQK09}=AUNHntn0!7uX*K`s4Nw zW8ZVH<4=6i)_;NjzkQI;>+88A<)@+Lj{hzU|Cd|kwG \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >&- -APP_HOME="`pwd -P`" -cd "$SAVED" >&- - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") -} -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" - -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/java-iam/proto-google-iam-v1/gradlew.bat b/java-iam/proto-google-iam-v1/gradlew.bat deleted file mode 100644 index aec99730b4e8..000000000000 --- a/java-iam/proto-google-iam-v1/gradlew.bat +++ /dev/null @@ -1,90 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/java-iam/proto-google-iam-v1/templates/apidocs_index.html.template b/java-iam/proto-google-iam-v1/templates/apidocs_index.html.template deleted file mode 100644 index 681ebbb4cba2..000000000000 --- a/java-iam/proto-google-iam-v1/templates/apidocs_index.html.template +++ /dev/null @@ -1 +0,0 @@ - From 2f3d663d1efd1dc13006588529bd86f96c662131 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 27 Mar 2018 16:45:53 -0700 Subject: [PATCH 0499/3036] Release 0.42.0 (#3095) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 12bbd1e8b2b0..4cd3c06dc629 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.23.1-SNAPSHOT + 1.24.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.41.1-alpha-SNAPSHOT + 0.42.0-alpha 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 b8d30bbef789..ccdd4f85e2db 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.23.1-SNAPSHOT + 1.24.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.41.1-alpha-SNAPSHOT + 0.42.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f2aa4d76babe..274090e18d62 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.23.0 + 1.24.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.23.0' +compile 'com.google.cloud:google-cloud-core:1.24.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.23.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.24.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a3ec47d260c4..7829724d3ce3 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.23.1-SNAPSHOT + 1.24.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.41.1-alpha-SNAPSHOT + 0.42.0-alpha google-cloud-core From be12d499b51848717642e019af69b8325dd10989 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 27 Mar 2018 16:57:25 -0700 Subject: [PATCH 0500/3036] Bump to snapshot version for development (#3096) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4cd3c06dc629..d8ea9a2a2e90 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.24.0 + 1.24.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.0-alpha + 0.42.1-alpha-SNAPSHOT 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 ccdd4f85e2db..458dfbb6dc2e 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.24.0 + 1.24.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.0-alpha + 0.42.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7829724d3ce3..4a01fadd42bb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.24.0 + 1.24.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.0-alpha + 0.42.1-alpha-SNAPSHOT google-cloud-core From c9bf38241fb7d55f89661736ff9257ed1c6b130e Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 30 Mar 2018 13:50:33 -0700 Subject: [PATCH 0501/3036] Regenerate Java client sources (#632) --- java-iam/grpc-google-iam-v1/build.gradle | 6 +++--- java-iam/proto-google-iam-v1/build.gradle | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 29dfa248b5bc..3948cf281648 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = 'com.google.api.grpc' -version = "0.7.0" +version = "0.8.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -18,8 +18,8 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.9.0' - compile 'io.grpc:grpc-protobuf:1.9.0' + compile 'io.grpc:grpc-stub:1.10.1' + compile 'io.grpc:grpc-protobuf:1.10.1' compile project(':proto-google-iam-v1') } diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index df3761611536..d8ace48b1971 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = 'com.google.api.grpc' -version = "0.7.0" +version = "0.8.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.4.0' + compile 'com.google.protobuf:protobuf-java:3.5.1' compile 'com.google.api:api-common:1.5.0' compile project(':proto-google-common-protos') } From d4c68d7881820c0ed4620001b86964869257b445 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 2 Apr 2018 10:23:07 -0700 Subject: [PATCH 0502/3036] Release 0.42.1 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d8ea9a2a2e90..70099d569deb 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.24.1-SNAPSHOT + 1.24.1 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.1-alpha-SNAPSHOT + 0.42.1-alpha 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 458dfbb6dc2e..8c1953fa4c3c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.24.1-SNAPSHOT + 1.24.1 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.1-alpha-SNAPSHOT + 0.42.1-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 274090e18d62..b91b2fcbee69 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.24.0 + 1.24.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.24.0' +compile 'com.google.cloud:google-cloud-core:1.24.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.24.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.24.1" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4a01fadd42bb..70b891cf79f1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.24.1-SNAPSHOT + 1.24.1 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.1-alpha-SNAPSHOT + 0.42.1-alpha google-cloud-core From ead55583f4fb564963f0442384f25455a7fccf72 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Mon, 2 Apr 2018 11:52:39 -0700 Subject: [PATCH 0503/3036] Bumping to next snapshot versions (#3117) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 70099d569deb..43f570befa77 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.24.1 + 1.24.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.1-alpha + 0.42.2-alpha-SNAPSHOT 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 8c1953fa4c3c..5a10b448bbad 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.24.1 + 1.24.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.1-alpha + 0.42.2-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 70b891cf79f1..204bc611e134 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.24.1 + 1.24.2-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.1-alpha + 0.42.2-alpha-SNAPSHOT google-cloud-core From 593823809c2186c85c1020ddd9a1217ff51207d9 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 4 Apr 2018 18:00:43 -0700 Subject: [PATCH 0504/3036] Release 0.43.0/1.25.0 (#3127) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 43f570befa77..4ef073a94322 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.24.2-SNAPSHOT + 1.25.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.2-alpha-SNAPSHOT + 0.43.0-alpha 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 5a10b448bbad..4603cfdf2dff 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.24.2-SNAPSHOT + 1.25.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.2-alpha-SNAPSHOT + 0.43.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b91b2fcbee69..d801c41e3b7e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.24.1 + 1.25.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.24.1' +compile 'com.google.cloud:google-cloud-core:1.25.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.24.1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.25.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 204bc611e134..727b223508bc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.24.2-SNAPSHOT + 1.25.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.42.2-alpha-SNAPSHOT + 0.43.0-alpha google-cloud-core From 40d998019682cd6817aa3fe75cc3acfb0184124b Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 4 Apr 2018 18:14:35 -0700 Subject: [PATCH 0505/3036] Bump to snapshot version (#3128) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4ef073a94322..c7ddf00d7480 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.25.0 + 1.25.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.43.0-alpha + 0.43.1-alpha-SNAPSHOT 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 4603cfdf2dff..a5b625b08e41 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.25.0 + 1.25.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.43.0-alpha + 0.43.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 727b223508bc..bb28ccf06a81 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.25.0 + 1.25.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.43.0-alpha + 0.43.1-alpha-SNAPSHOT google-cloud-core From 6deb97bf3b138f619cceffed05a32dddee71db4f Mon Sep 17 00:00:00 2001 From: neozwu Date: Thu, 12 Apr 2018 12:53:36 -0700 Subject: [PATCH 0506/3036] Java: batch refresh (#642) * batch refresh * fix version number and add dialogflow-v2 * add missing updates --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 3948cf281648..5030222619cc 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = 'com.google.api.grpc' -version = "0.8.0" +version = "0.9.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index d8ace48b1971..d76a99d4a001 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = 'com.google.api.grpc' -version = "0.8.0" +version = "0.9.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 775c55f6bfbb1773b01b5f951f50ba7ca9956de4 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 12 Apr 2018 18:25:05 -0700 Subject: [PATCH 0507/3036] core: add parent resource names (#3148) --- .../java/com/google/cloud/BillingName.java | 162 ++++++++++++++++++ .../java/com/google/cloud/FolderName.java | 162 ++++++++++++++++++ .../com/google/cloud/OrganizationName.java | 162 ++++++++++++++++++ .../java/com/google/cloud/ParentName.java | 26 +++ .../java/com/google/cloud/ParentNames.java | 41 +++++ .../java/com/google/cloud/ProjectName.java | 162 ++++++++++++++++++ .../com/google/cloud/UntypedParentName.java | 102 +++++++++++ 7 files changed, 817 insertions(+) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java new file mode 100644 index 000000000000..c0f29bff26b8 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java @@ -0,0 +1,162 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +// Formerly generated by GAPIC protoc plugin. +@BetaApi +public class BillingName extends ParentName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("billingAccounts/{billing_account}"); + + private volatile Map fieldValuesMap; + + private final String billingAccount; + + public String getBillingAccount() { + return billingAccount; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private BillingName(Builder builder) { + billingAccount = Preconditions.checkNotNull(builder.getBillingAccount()); + } + + public static BillingName of(String billingAccount) { + return newBuilder().setBillingAccount(billingAccount).build(); + } + + public static String format(String billingAccount) { + return newBuilder().setBillingAccount(billingAccount).build().toString(); + } + + public static BillingName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "BillingName.parse: formattedString not in valid format"); + return of(matchMap.get("billing_account")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList(values.size()); + for (BillingName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("billingAccount", billingAccount); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("billing_account", billingAccount); + } + + /** Builder for BillingName. */ + public static class Builder { + + private String billingAccount; + + public String getBillingAccount() { + return billingAccount; + } + + public Builder setBillingAccount(String billingAccount) { + this.billingAccount = billingAccount; + return this; + } + + private Builder() {} + + private Builder(BillingName billingName) { + billingAccount = billingName.billingAccount; + } + + public BillingName build() { + return new BillingName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof BillingName) { + BillingName that = (BillingName) o; + return this.billingAccount.equals(that.billingAccount); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= billingAccount.hashCode(); + return h; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java new file mode 100644 index 000000000000..9863a3a61e57 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java @@ -0,0 +1,162 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +// Formerly generated by GAPIC protoc plugin. +@BetaApi +public class FolderName extends ParentName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("folders/{folder}"); + + private volatile Map fieldValuesMap; + + private final String folder; + + public String getFolder() { + return folder; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private FolderName(Builder builder) { + folder = Preconditions.checkNotNull(builder.getFolder()); + } + + public static FolderName of(String folder) { + return newBuilder().setFolder(folder).build(); + } + + public static String format(String folder) { + return newBuilder().setFolder(folder).build().toString(); + } + + public static FolderName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "FolderName.parse: formattedString not in valid format"); + return of(matchMap.get("folder")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList(values.size()); + for (FolderName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("folder", folder); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("folder", folder); + } + + /** Builder for FolderName. */ + public static class Builder { + + private String folder; + + public String getFolder() { + return folder; + } + + public Builder setFolder(String folder) { + this.folder = folder; + return this; + } + + private Builder() {} + + private Builder(FolderName folderName) { + folder = folderName.folder; + } + + public FolderName build() { + return new FolderName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof FolderName) { + FolderName that = (FolderName) o; + return this.folder.equals(that.folder); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= folder.hashCode(); + return h; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java new file mode 100644 index 000000000000..ff06d65eca9f --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java @@ -0,0 +1,162 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +// Formerly generated by GAPIC protoc plugin. +@BetaApi +public class OrganizationName extends ParentName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("organizations/{organization}"); + + private volatile Map fieldValuesMap; + + private final String organization; + + public String getOrganization() { + return organization; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private OrganizationName(Builder builder) { + organization = Preconditions.checkNotNull(builder.getOrganization()); + } + + public static OrganizationName of(String organization) { + return newBuilder().setOrganization(organization).build(); + } + + public static String format(String organization) { + return newBuilder().setOrganization(organization).build().toString(); + } + + public static OrganizationName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "OrganizationName.parse: formattedString not in valid format"); + return of(matchMap.get("organization")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList(values.size()); + for (OrganizationName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("organization", organization); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("organization", organization); + } + + /** Builder for OrganizationName. */ + public static class Builder { + + private String organization; + + public String getOrganization() { + return organization; + } + + public Builder setOrganization(String organization) { + this.organization = organization; + return this; + } + + private Builder() {} + + private Builder(OrganizationName organizationName) { + organization = organizationName.organization; + } + + public OrganizationName build() { + return new OrganizationName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof OrganizationName) { + OrganizationName that = (OrganizationName) o; + return this.organization.equals(that.organization); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= organization.hashCode(); + return h; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java new file mode 100644 index 000000000000..bd40991a56c0 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java @@ -0,0 +1,26 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; +import com.google.api.resourcenames.ResourceName; + +// Formerly generated by GAPIC protoc plugin. +@BetaApi +public abstract class ParentName implements ResourceName { + protected ParentName() {} +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java new file mode 100644 index 000000000000..ef048fedb091 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java @@ -0,0 +1,41 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; + +// Formerly generated by GAPIC protoc plugin. +@BetaApi +public class ParentNames { + private ParentNames() {} + + public static ParentName parse(String resourceNameString) { + if (ProjectName.isParsableFrom(resourceNameString)) { + return ProjectName.parse(resourceNameString); + } + if (OrganizationName.isParsableFrom(resourceNameString)) { + return OrganizationName.parse(resourceNameString); + } + if (FolderName.isParsableFrom(resourceNameString)) { + return FolderName.parse(resourceNameString); + } + if (BillingName.isParsableFrom(resourceNameString)) { + return BillingName.parse(resourceNameString); + } + return UntypedParentName.parse(resourceNameString); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java new file mode 100644 index 000000000000..81df8326623b --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java @@ -0,0 +1,162 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; +import com.google.api.pathtemplate.PathTemplate; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +// Formerly generated by GAPIC protoc plugin. +@BetaApi +public class ProjectName extends ParentName { + + private static final PathTemplate PATH_TEMPLATE = + PathTemplate.createWithoutUrlEncoding("projects/{project}"); + + private volatile Map fieldValuesMap; + + private final String project; + + public String getProject() { + return project; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + private ProjectName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + } + + public static ProjectName of(String project) { + return newBuilder().setProject(project).build(); + } + + public static String format(String project) { + return newBuilder().setProject(project).build().toString(); + } + + public static ProjectName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PATH_TEMPLATE.validatedMatch( + formattedString, "ProjectName.parse: formattedString not in valid format"); + return of(matchMap.get("project")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList(values.size()); + for (ProjectName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PATH_TEMPLATE.matches(formattedString); + } + + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + fieldMapBuilder.put("project", project); + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PATH_TEMPLATE.instantiate("project", project); + } + + /** Builder for ProjectName. */ + public static class Builder { + + private String project; + + public String getProject() { + return project; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + private Builder() {} + + private Builder(ProjectName projectName) { + project = projectName.project; + } + + public ProjectName build() { + return new ProjectName(this); + } + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof ProjectName) { + ProjectName that = (ProjectName) o; + return this.project.equals(that.project); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= project.hashCode(); + return h; + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java new file mode 100644 index 000000000000..faaca106cbe9 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java @@ -0,0 +1,102 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +// Formerly generated by GAPIC protoc plugin. +@BetaApi +public class UntypedParentName extends ParentName { + + private final String rawValue; + private Map valueMap; + + private UntypedParentName(String rawValue) { + this.rawValue = Preconditions.checkNotNull(rawValue); + this.valueMap = ImmutableMap.of("", rawValue); + } + + public static UntypedParentName from(ResourceName resourceName) { + return new UntypedParentName(resourceName.toString()); + } + + public static UntypedParentName parse(String formattedString) { + return new UntypedParentName(formattedString); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList(values.size()); + for (UntypedParentName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return true; + } + + /** Return a map with a single value rawValue keyed on an empty String "". */ + public Map getFieldValuesMap() { + return valueMap; + } + + /** Return the initial rawValue if @param fieldName is an empty String, else return null. */ + public String getFieldValue(String fieldName) { + return valueMap.get(fieldName); + } + + @Override + public String toString() { + return rawValue; + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o instanceof UntypedParentName) { + UntypedParentName that = (UntypedParentName) o; + return this.rawValue.equals(that.rawValue); + } + return false; + } + + @Override + public int hashCode() { + return rawValue.hashCode(); + } +} From f9b31f847ef2ab10234ac5616a2b8b74d47de72e Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 16 Apr 2018 08:25:35 -0700 Subject: [PATCH 0508/3036] Release 0.44.0 (#3161) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c7ddf00d7480..3f84cbfc6f3e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.25.1-SNAPSHOT + 1.26.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.43.1-alpha-SNAPSHOT + 0.44.0-alpha 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 a5b625b08e41..ebe3291792ec 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.25.1-SNAPSHOT + 1.26.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.43.1-alpha-SNAPSHOT + 0.44.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d801c41e3b7e..ec6651ea2f7d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.25.0 + 1.26.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.25.0' +compile 'com.google.cloud:google-cloud-core:1.26.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.25.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.26.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index bb28ccf06a81..9e55f7f9c9e3 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.25.1-SNAPSHOT + 1.26.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.43.1-alpha-SNAPSHOT + 0.44.0-alpha google-cloud-core From 3e6f9319ecbbd4f697227b0d8d8b8d5ea61a1bf9 Mon Sep 17 00:00:00 2001 From: neozwu Date: Mon, 16 Apr 2018 09:12:27 -0700 Subject: [PATCH 0509/3036] bump version for development (#3162) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3f84cbfc6f3e..4b3f7aa16321 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.26.0 + 1.26.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.44.0-alpha + 0.44.1-alpha-SNAPSHOT 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 ebe3291792ec..6e00351c3aa1 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.26.0 + 1.26.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.44.0-alpha + 0.44.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9e55f7f9c9e3..457ad76ab71c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.26.0 + 1.26.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.44.0-alpha + 0.44.1-alpha-SNAPSHOT google-cloud-core From 00568d289dfb1a61165873685c6e7471b5df26af Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Thu, 19 Apr 2018 11:09:16 -0700 Subject: [PATCH 0510/3036] Regenerate Java client sources (#645) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 5030222619cc..74aec2d63ac8 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = 'com.google.api.grpc' -version = "0.9.0" +version = "0.10.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index d76a99d4a001..f73628c791ab 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = 'com.google.api.grpc' -version = "0.9.0" +version = "0.10.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 2dc468251879691acf4c414047e554a0d8a35a20 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Fri, 20 Apr 2018 08:20:26 -0700 Subject: [PATCH 0511/3036] Release 0.45.0 (#3174) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4b3f7aa16321..e69aef041a99 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.26.1-SNAPSHOT + 1.27.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.44.1-alpha-SNAPSHOT + 0.45.0-alpha 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 6e00351c3aa1..46b2cd719fd0 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.26.1-SNAPSHOT + 1.27.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.44.1-alpha-SNAPSHOT + 0.45.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index ec6651ea2f7d..02147b3f9726 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.26.0 + 1.27.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.26.0' +compile 'com.google.cloud:google-cloud-core:1.27.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.26.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.27.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 457ad76ab71c..e8e98078dc04 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.26.1-SNAPSHOT + 1.27.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.44.1-alpha-SNAPSHOT + 0.45.0-alpha google-cloud-core From e49066fd180b5e885eaa733e90a939f74c66d43e Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Fri, 20 Apr 2018 11:30:31 -0700 Subject: [PATCH 0512/3036] Bump version to 0.45.1-alpha-SNAPSHOT for development (#3177) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e69aef041a99..cfb23eb4d215 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.27.0 + 1.27.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.45.0-alpha + 0.45.1-alpha-SNAPSHOT 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 46b2cd719fd0..dc2f05abfc3c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.27.0 + 1.27.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.45.0-alpha + 0.45.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e8e98078dc04..7a92c4400c61 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.27.0 + 1.27.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.45.0-alpha + 0.45.1-alpha-SNAPSHOT google-cloud-core From bd66372dd8d5ec733a57a399e777b83111df5e43 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 26 Apr 2018 16:12:30 -0700 Subject: [PATCH 0513/3036] Regenerate Java client sources (#646) --- .../java/com/google/iam/v1/IAMPolicyGrpc.java | 216 +++++++++++++----- 1 file changed, 164 insertions(+), 52 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java index 318757ca7824..580519e204c2 100644 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -1,19 +1,19 @@ package com.google.iam.v1; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; -import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; +import static io.grpc.MethodDescriptor.generateFullMethodName; import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; +import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; +import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; +import static io.grpc.stub.ClientCalls.asyncUnaryCall; import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; +import static io.grpc.stub.ClientCalls.blockingUnaryCall; import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; -import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; +import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; +import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; +import static io.grpc.stub.ServerCalls.asyncUnaryCall; import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; +import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** *
    @@ -38,7 +38,7 @@
      * 
    */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.2.0)", + value = "by gRPC proto compiler (version 1.10.0)", comments = "Source: google/iam/v1/iam_policy.proto") public final class IAMPolicyGrpc { @@ -48,32 +48,116 @@ private IAMPolicyGrpc() {} // Static method descriptors that strictly reflect the proto. @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getSetIamPolicyMethod()} instead. public static final io.grpc.MethodDescriptor METHOD_SET_IAM_POLICY = - io.grpc.MethodDescriptor.create( - io.grpc.MethodDescriptor.MethodType.UNARY, - generateFullMethodName( - "google.iam.v1.IAMPolicy", "SetIamPolicy"), - io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()), - io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.Policy.getDefaultInstance())); + com.google.iam.v1.Policy> METHOD_SET_IAM_POLICY = getSetIamPolicyMethodHelper(); + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + return getSetIamPolicyMethodHelper(); + } + + private static io.grpc.MethodDescriptor getSetIamPolicyMethodHelper() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { + synchronized (IAMPolicyGrpc.class) { + if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { + IAMPolicyGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName( + "google.iam.v1.IAMPolicy", "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getGetIamPolicyMethod()} instead. public static final io.grpc.MethodDescriptor METHOD_GET_IAM_POLICY = - io.grpc.MethodDescriptor.create( - io.grpc.MethodDescriptor.MethodType.UNARY, - generateFullMethodName( - "google.iam.v1.IAMPolicy", "GetIamPolicy"), - io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()), - io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.Policy.getDefaultInstance())); + com.google.iam.v1.Policy> METHOD_GET_IAM_POLICY = getGetIamPolicyMethodHelper(); + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + return getGetIamPolicyMethodHelper(); + } + + private static io.grpc.MethodDescriptor getGetIamPolicyMethodHelper() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { + synchronized (IAMPolicyGrpc.class) { + if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { + IAMPolicyGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName( + "google.iam.v1.IAMPolicy", "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getTestIamPermissionsMethod()} instead. public static final io.grpc.MethodDescriptor METHOD_TEST_IAM_PERMISSIONS = - io.grpc.MethodDescriptor.create( - io.grpc.MethodDescriptor.MethodType.UNARY, - generateFullMethodName( - "google.iam.v1.IAMPolicy", "TestIamPermissions"), - io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()), - io.grpc.protobuf.ProtoUtils.marshaller(com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())); + com.google.iam.v1.TestIamPermissionsResponse> METHOD_TEST_IAM_PERMISSIONS = getTestIamPermissionsMethodHelper(); + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + return getTestIamPermissionsMethodHelper(); + } + + private static io.grpc.MethodDescriptor getTestIamPermissionsMethodHelper() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { + synchronized (IAMPolicyGrpc.class) { + if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { + IAMPolicyGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName( + "google.iam.v1.IAMPolicy", "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } /** * Creates a new async stub that supports all call types for the service @@ -91,7 +175,7 @@ public static IAMPolicyBlockingStub newBlockingStub( } /** - * Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service + * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static IAMPolicyFutureStub newFutureStub( io.grpc.Channel channel) { @@ -130,7 +214,7 @@ public static abstract class IAMPolicyImplBase implements io.grpc.BindableServic */ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(METHOD_SET_IAM_POLICY, responseObserver); + asyncUnimplementedUnaryCall(getSetIamPolicyMethodHelper(), responseObserver); } /** @@ -142,7 +226,7 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, */ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(METHOD_GET_IAM_POLICY, responseObserver); + asyncUnimplementedUnaryCall(getGetIamPolicyMethodHelper(), responseObserver); } /** @@ -154,27 +238,27 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, */ public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(METHOD_TEST_IAM_PERMISSIONS, responseObserver); + asyncUnimplementedUnaryCall(getTestIamPermissionsMethodHelper(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - METHOD_SET_IAM_POLICY, + getSetIamPolicyMethodHelper(), asyncUnaryCall( new MethodHandlers< com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_SET_IAM_POLICY))) .addMethod( - METHOD_GET_IAM_POLICY, + getGetIamPolicyMethodHelper(), asyncUnaryCall( new MethodHandlers< com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_GET_IAM_POLICY))) .addMethod( - METHOD_TEST_IAM_PERMISSIONS, + getTestIamPermissionsMethodHelper(), asyncUnaryCall( new MethodHandlers< com.google.iam.v1.TestIamPermissionsRequest, @@ -231,7 +315,7 @@ protected IAMPolicyStub build(io.grpc.Channel channel, public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(METHOD_SET_IAM_POLICY, getCallOptions()), request, responseObserver); + getChannel().newCall(getSetIamPolicyMethodHelper(), getCallOptions()), request, responseObserver); } /** @@ -244,7 +328,7 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(METHOD_GET_IAM_POLICY, getCallOptions()), request, responseObserver); + getChannel().newCall(getGetIamPolicyMethodHelper(), getCallOptions()), request, responseObserver); } /** @@ -257,7 +341,7 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(METHOD_TEST_IAM_PERMISSIONS, getCallOptions()), request, responseObserver); + getChannel().newCall(getTestIamPermissionsMethodHelper(), getCallOptions()), request, responseObserver); } } @@ -307,7 +391,7 @@ protected IAMPolicyBlockingStub build(io.grpc.Channel channel, */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return blockingUnaryCall( - getChannel(), METHOD_SET_IAM_POLICY, getCallOptions(), request); + getChannel(), getSetIamPolicyMethodHelper(), getCallOptions(), request); } /** @@ -319,7 +403,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque */ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return blockingUnaryCall( - getChannel(), METHOD_GET_IAM_POLICY, getCallOptions(), request); + getChannel(), getGetIamPolicyMethodHelper(), getCallOptions(), request); } /** @@ -331,7 +415,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return blockingUnaryCall( - getChannel(), METHOD_TEST_IAM_PERMISSIONS, getCallOptions(), request); + getChannel(), getTestIamPermissionsMethodHelper(), getCallOptions(), request); } } @@ -382,7 +466,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, public com.google.common.util.concurrent.ListenableFuture setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request) { return futureUnaryCall( - getChannel().newCall(METHOD_SET_IAM_POLICY, getCallOptions()), request); + getChannel().newCall(getSetIamPolicyMethodHelper(), getCallOptions()), request); } /** @@ -395,7 +479,7 @@ public com.google.common.util.concurrent.ListenableFuture getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request) { return futureUnaryCall( - getChannel().newCall(METHOD_GET_IAM_POLICY, getCallOptions()), request); + getChannel().newCall(getGetIamPolicyMethodHelper(), getCallOptions()), request); } /** @@ -408,7 +492,7 @@ public com.google.common.util.concurrent.ListenableFuture testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { return futureUnaryCall( - getChannel().newCall(METHOD_TEST_IAM_PERMISSIONS, getCallOptions()), request); + getChannel().newCall(getTestIamPermissionsMethodHelper(), getCallOptions()), request); } } @@ -461,11 +545,39 @@ public io.grpc.stub.StreamObserver invoke( } } - private static final class IAMPolicyDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier { + private static abstract class IAMPolicyBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + IAMPolicyBaseDescriptorSupplier() {} + @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.google.iam.v1.IamPolicyProto.getDescriptor(); } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("IAMPolicy"); + } + } + + private static final class IAMPolicyFileDescriptorSupplier + extends IAMPolicyBaseDescriptorSupplier { + IAMPolicyFileDescriptorSupplier() {} + } + + private static final class IAMPolicyMethodDescriptorSupplier + extends IAMPolicyBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + IAMPolicyMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; @@ -477,10 +589,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new IAMPolicyDescriptorSupplier()) - .addMethod(METHOD_SET_IAM_POLICY) - .addMethod(METHOD_GET_IAM_POLICY) - .addMethod(METHOD_TEST_IAM_PERMISSIONS) + .setSchemaDescriptor(new IAMPolicyFileDescriptorSupplier()) + .addMethod(getSetIamPolicyMethodHelper()) + .addMethod(getGetIamPolicyMethodHelper()) + .addMethod(getTestIamPermissionsMethodHelper()) .build(); } } From 2b0f4b7884dcd61505bdc39bd1d0c2eb5b5d5f0d Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 27 Apr 2018 09:39:49 -0700 Subject: [PATCH 0514/3036] Bumping Java versions to 1.10.0/0.11.0 (#647) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 74aec2d63ac8..ef7a2528f70a 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = 'com.google.api.grpc' -version = "0.10.0" +version = "0.11.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index f73628c791ab..f15997e68ec6 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = 'com.google.api.grpc' -version = "0.10.0" +version = "0.11.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 53626ff587cbc093e1c5155c297939471c54025e Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 27 Apr 2018 11:34:52 -0700 Subject: [PATCH 0515/3036] Release 0.46.0/1.28.0 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cfb23eb4d215..9326a154b9bc 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.27.1-SNAPSHOT + 1.28.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.45.1-alpha-SNAPSHOT + 0.46.0-alpha 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 dc2f05abfc3c..2d43bd303e72 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.27.1-SNAPSHOT + 1.28.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.45.1-alpha-SNAPSHOT + 0.46.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 02147b3f9726..715d0f82f7c8 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.27.0 + 1.28.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.27.0' +compile 'com.google.cloud:google-cloud-core:1.28.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.27.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.28.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7a92c4400c61..9c52d7a905a9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.27.1-SNAPSHOT + 1.28.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.45.1-alpha-SNAPSHOT + 0.46.0-alpha google-cloud-core From 8b3af32d14059aebeacf182dc281ca929e1f3006 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Fri, 27 Apr 2018 15:07:30 -0700 Subject: [PATCH 0516/3036] Bump to snapshot versions (#3211) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9326a154b9bc..0ce6d4399726 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.28.0 + 1.28.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.46.0-alpha + 0.46.1-alpha-SNAPSHOT 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 2d43bd303e72..62df304f171d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.28.0 + 1.28.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.46.0-alpha + 0.46.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9c52d7a905a9..3524de45780a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.28.0 + 1.28.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.46.0-alpha + 0.46.1-alpha-SNAPSHOT google-cloud-core From 9778f59362ef92e4d5b31a29b08e2568a1eba5a5 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 1 May 2018 13:55:49 -0700 Subject: [PATCH 0517/3036] properly add equals() and compare fields (#3218) --- .../google/cloud/BaseServiceException.java | 19 +++++++++++++++++-- .../cloud/BaseServiceExceptionTest.java | 16 ++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 470c2cf9a8b4..a0058a2e3f2b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -214,12 +214,27 @@ public boolean isRetryable(boolean idempotent, Set retryableErrors) { @Override public String toString() { - return MoreObjects.toStringHelper(this).add("code", code).add("reason", reason).toString(); + return MoreObjects.toStringHelper(this) + .add("code", code) + .add("reason", reason) + .add("rejected", rejected) + .toString(); } @Override public int hashCode() { - return Objects.hash(code, reason); + return Objects.hash(code, reason, rejected); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof Error)) { + return false; + } + Error o = (Error) obj; + return Objects.equals(code, o.code) + && Objects.equals(reason, o.reason) + && Objects.equals(rejected, o.rejected); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 5c5773d26f17..fed2faa88318 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -17,6 +17,7 @@ package com.google.cloud; import static com.google.cloud.BaseServiceException.UNKNOWN_CODE; +import static com.google.common.truth.Truth.assertThat; import static org.easymock.EasyMock.createMock; import static org.easymock.EasyMock.expect; import static org.easymock.EasyMock.replay; @@ -132,4 +133,19 @@ public void testTranslateAndThrow() throws Exception { verify(exceptionMock); } } + + @Test + public void testError_Equal() { + BaseServiceException.Error error = new BaseServiceException.Error(0, "reason", true); + assertThat(error).isEqualTo(error); + assertThat(error.hashCode()).isEqualTo(error.hashCode()); + + BaseServiceException.Error sameError = new BaseServiceException.Error(0, "reason", true); + assertThat(error).isEqualTo(sameError); + assertThat(error.hashCode()).isEqualTo(sameError.hashCode()); + + BaseServiceException.Error error2 = new BaseServiceException.Error(1, "other reason", false); + assertThat(error).isNotEqualTo(error2); + assertThat(error.hashCode()).isNotEqualTo(error2.hashCode()); + } } From 2e097ca2502f66ebe49cfc6dc0715679d25ba045 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 1 May 2018 15:56:33 -0700 Subject: [PATCH 0518/3036] add hashCode to NoCredentials (#3216) --- .../src/main/java/com/google/cloud/NoCredentials.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java index e9ed09f25d59..4726c4d0c633 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java @@ -40,9 +40,11 @@ public static NoCredentials getInstance() { @Override public boolean equals(Object obj) { - if (!(obj instanceof NoCredentials)) { - return false; - } return this == obj; } + + @Override + public int hashCode() { + return System.identityHashCode(this); + } } From 9ec1dc0a6dcbebd520c407473df45f3d7778a260 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 3 May 2018 14:06:27 -0700 Subject: [PATCH 0519/3036] Regenerate Java clients (#648) and bump to 1.11.0/0.12.0 --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- java-iam/proto-google-iam-v1/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index ef7a2528f70a..29e38e2c8b54 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = 'com.google.api.grpc' -version = "0.11.0" +version = "0.12.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index f15997e68ec6..ee44fbe79de3 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = 'com.google.api.grpc' -version = "0.11.0" +version = "0.12.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 From 57e5b7d3dc4130e2894c228c259e8f90903ec1f7 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Mon, 7 May 2018 17:06:46 -0700 Subject: [PATCH 0520/3036] Release 0.47.0/1.29.0 (#3239) Also fix javadoc --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0ce6d4399726..ca5e706cf1bf 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.28.1-SNAPSHOT + 1.29.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.46.1-alpha-SNAPSHOT + 0.47.0-alpha 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 62df304f171d..2a86af060fa2 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.28.1-SNAPSHOT + 1.29.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.46.1-alpha-SNAPSHOT + 0.47.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 715d0f82f7c8..45e4450e1795 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.28.0 + 1.29.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.28.0' +compile 'com.google.cloud:google-cloud-core:1.29.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.28.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.29.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3524de45780a..d66fc8832eba 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.28.1-SNAPSHOT + 1.29.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.46.1-alpha-SNAPSHOT + 0.47.0-alpha google-cloud-core From 8a03e2286e093322448f9d629721887fdba5276b Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Tue, 8 May 2018 11:41:55 -0700 Subject: [PATCH 0521/3036] bump to snapshot version (#3245) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ca5e706cf1bf..bbd1adb19f0a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.29.0 + 1.29.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.47.0-alpha + 0.47.1-alpha-SNAPSHOT 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 2a86af060fa2..44f19bce2aad 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.29.0 + 1.29.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.47.0-alpha + 0.47.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d66fc8832eba..583c810cfbfc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.29.0 + 1.29.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-pom - 0.47.0-alpha + 0.47.1-alpha-SNAPSHOT google-cloud-core From e1bfd6451b81d05a5b287199b5d85c7654ab56f0 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Thu, 10 May 2018 10:54:50 -0700 Subject: [PATCH 0522/3036] Move grpc and proto artifacts to google-cloud-java from api-client-staging (second part) (#3251) 1) Radically change the structure of the repo. Now the root `pom.xml` file is not deployed to maven and is not a parent pom for any of the other modules, but is simply an aggregator pom, which aggregates other mostly independent of each other modules. 2) Update proto and grpc artifact to the latest generated versions as of time of this PR. 3) Add `cloudiot-v1` and `websecurityscanner-v1alpha` proto and grp artifacts (not released yet even in api-client-staging). Note, gapic clients for this apis are not added yet. 4) Rename `google-cloud-pom` parent artifact (for manual and gapic clients) to `google-cloud-clients`. 5) Move all manual and gapic clients from root directory to `google-cloud-clients` sub directory. 6) Make `google-cloud-bom` not a child of `google-cloud-clients` (former `google-cloud-pom`) anymore, keep it on root level so it becomes a sibling of `google-cloud-clients` (module which used to be its parent). 7) Similarly make `google-cloud-examples`, `google-cloud-testing` and `google-cloud-util` not children of `google-cloud-clients` and keep them on root level. Make these three modules also excluded from maven deployment (they will not be published to maven anymore). After this PR is done, additional work is required to fix circleci individual IT tests runs (should be trivial). Also deployment and documentation scripts must be modified accordingly (will be done right after pushing this PR). --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index bbd1adb19f0a..dfbbbf5b0d0e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -11,8 +11,8 @@ com.google.cloud - google-cloud-pom - 0.47.1-alpha-SNAPSHOT + google-cloud-clients + 0.47.1-alpha-SNAPSHOT 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 44f19bce2aad..46149f6639c5 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -11,8 +11,8 @@ com.google.cloud - google-cloud-pom - 0.47.1-alpha-SNAPSHOT + google-cloud-clients + 0.47.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 583c810cfbfc..e8930bf751c0 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -11,8 +11,8 @@ com.google.cloud - google-cloud-pom - 0.47.1-alpha-SNAPSHOT + google-cloud-clients + 0.47.1-alpha-SNAPSHOT google-cloud-core From e303cae9f49c711079579013669344849fa8b7f1 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 11 May 2018 14:53:28 -0700 Subject: [PATCH 0523/3036] move resource names (#3259) --- .../java/com/google/cloud/BillingName.java | 162 ------------------ .../java/com/google/cloud/FolderName.java | 162 ------------------ .../com/google/cloud/OrganizationName.java | 162 ------------------ .../java/com/google/cloud/ParentName.java | 26 --- .../java/com/google/cloud/ParentNames.java | 41 ----- .../java/com/google/cloud/ProjectName.java | 162 ------------------ .../com/google/cloud/UntypedParentName.java | 102 ----------- 7 files changed, 817 deletions(-) delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java delete mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java deleted file mode 100644 index c0f29bff26b8..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BillingName.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -// Formerly generated by GAPIC protoc plugin. -@BetaApi -public class BillingName extends ParentName { - - private static final PathTemplate PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("billingAccounts/{billing_account}"); - - private volatile Map fieldValuesMap; - - private final String billingAccount; - - public String getBillingAccount() { - return billingAccount; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - private BillingName(Builder builder) { - billingAccount = Preconditions.checkNotNull(builder.getBillingAccount()); - } - - public static BillingName of(String billingAccount) { - return newBuilder().setBillingAccount(billingAccount).build(); - } - - public static String format(String billingAccount) { - return newBuilder().setBillingAccount(billingAccount).build().toString(); - } - - public static BillingName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PATH_TEMPLATE.validatedMatch( - formattedString, "BillingName.parse: formattedString not in valid format"); - return of(matchMap.get("billing_account")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList(values.size()); - for (BillingName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PATH_TEMPLATE.matches(formattedString); - } - - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - fieldMapBuilder.put("billingAccount", billingAccount); - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PATH_TEMPLATE.instantiate("billing_account", billingAccount); - } - - /** Builder for BillingName. */ - public static class Builder { - - private String billingAccount; - - public String getBillingAccount() { - return billingAccount; - } - - public Builder setBillingAccount(String billingAccount) { - this.billingAccount = billingAccount; - return this; - } - - private Builder() {} - - private Builder(BillingName billingName) { - billingAccount = billingName.billingAccount; - } - - public BillingName build() { - return new BillingName(this); - } - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o instanceof BillingName) { - BillingName that = (BillingName) o; - return this.billingAccount.equals(that.billingAccount); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= billingAccount.hashCode(); - return h; - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java deleted file mode 100644 index 9863a3a61e57..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/FolderName.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -// Formerly generated by GAPIC protoc plugin. -@BetaApi -public class FolderName extends ParentName { - - private static final PathTemplate PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("folders/{folder}"); - - private volatile Map fieldValuesMap; - - private final String folder; - - public String getFolder() { - return folder; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - private FolderName(Builder builder) { - folder = Preconditions.checkNotNull(builder.getFolder()); - } - - public static FolderName of(String folder) { - return newBuilder().setFolder(folder).build(); - } - - public static String format(String folder) { - return newBuilder().setFolder(folder).build().toString(); - } - - public static FolderName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PATH_TEMPLATE.validatedMatch( - formattedString, "FolderName.parse: formattedString not in valid format"); - return of(matchMap.get("folder")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList(values.size()); - for (FolderName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PATH_TEMPLATE.matches(formattedString); - } - - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - fieldMapBuilder.put("folder", folder); - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PATH_TEMPLATE.instantiate("folder", folder); - } - - /** Builder for FolderName. */ - public static class Builder { - - private String folder; - - public String getFolder() { - return folder; - } - - public Builder setFolder(String folder) { - this.folder = folder; - return this; - } - - private Builder() {} - - private Builder(FolderName folderName) { - folder = folderName.folder; - } - - public FolderName build() { - return new FolderName(this); - } - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o instanceof FolderName) { - FolderName that = (FolderName) o; - return this.folder.equals(that.folder); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= folder.hashCode(); - return h; - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java deleted file mode 100644 index ff06d65eca9f..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/OrganizationName.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -// Formerly generated by GAPIC protoc plugin. -@BetaApi -public class OrganizationName extends ParentName { - - private static final PathTemplate PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("organizations/{organization}"); - - private volatile Map fieldValuesMap; - - private final String organization; - - public String getOrganization() { - return organization; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - private OrganizationName(Builder builder) { - organization = Preconditions.checkNotNull(builder.getOrganization()); - } - - public static OrganizationName of(String organization) { - return newBuilder().setOrganization(organization).build(); - } - - public static String format(String organization) { - return newBuilder().setOrganization(organization).build().toString(); - } - - public static OrganizationName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PATH_TEMPLATE.validatedMatch( - formattedString, "OrganizationName.parse: formattedString not in valid format"); - return of(matchMap.get("organization")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList(values.size()); - for (OrganizationName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PATH_TEMPLATE.matches(formattedString); - } - - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - fieldMapBuilder.put("organization", organization); - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PATH_TEMPLATE.instantiate("organization", organization); - } - - /** Builder for OrganizationName. */ - public static class Builder { - - private String organization; - - public String getOrganization() { - return organization; - } - - public Builder setOrganization(String organization) { - this.organization = organization; - return this; - } - - private Builder() {} - - private Builder(OrganizationName organizationName) { - organization = organizationName.organization; - } - - public OrganizationName build() { - return new OrganizationName(this); - } - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o instanceof OrganizationName) { - OrganizationName that = (OrganizationName) o; - return this.organization.equals(that.organization); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= organization.hashCode(); - return h; - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java deleted file mode 100644 index bd40991a56c0..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentName.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.core.BetaApi; -import com.google.api.resourcenames.ResourceName; - -// Formerly generated by GAPIC protoc plugin. -@BetaApi -public abstract class ParentName implements ResourceName { - protected ParentName() {} -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java deleted file mode 100644 index ef048fedb091..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ParentNames.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.core.BetaApi; - -// Formerly generated by GAPIC protoc plugin. -@BetaApi -public class ParentNames { - private ParentNames() {} - - public static ParentName parse(String resourceNameString) { - if (ProjectName.isParsableFrom(resourceNameString)) { - return ProjectName.parse(resourceNameString); - } - if (OrganizationName.isParsableFrom(resourceNameString)) { - return OrganizationName.parse(resourceNameString); - } - if (FolderName.isParsableFrom(resourceNameString)) { - return FolderName.parse(resourceNameString); - } - if (BillingName.isParsableFrom(resourceNameString)) { - return BillingName.parse(resourceNameString); - } - return UntypedParentName.parse(resourceNameString); - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java deleted file mode 100644 index 81df8326623b..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ProjectName.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.core.BetaApi; -import com.google.api.pathtemplate.PathTemplate; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -// Formerly generated by GAPIC protoc plugin. -@BetaApi -public class ProjectName extends ParentName { - - private static final PathTemplate PATH_TEMPLATE = - PathTemplate.createWithoutUrlEncoding("projects/{project}"); - - private volatile Map fieldValuesMap; - - private final String project; - - public String getProject() { - return project; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - private ProjectName(Builder builder) { - project = Preconditions.checkNotNull(builder.getProject()); - } - - public static ProjectName of(String project) { - return newBuilder().setProject(project).build(); - } - - public static String format(String project) { - return newBuilder().setProject(project).build().toString(); - } - - public static ProjectName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - PATH_TEMPLATE.validatedMatch( - formattedString, "ProjectName.parse: formattedString not in valid format"); - return of(matchMap.get("project")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList(values.size()); - for (ProjectName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return PATH_TEMPLATE.matches(formattedString); - } - - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - fieldMapBuilder.put("project", project); - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return PATH_TEMPLATE.instantiate("project", project); - } - - /** Builder for ProjectName. */ - public static class Builder { - - private String project; - - public String getProject() { - return project; - } - - public Builder setProject(String project) { - this.project = project; - return this; - } - - private Builder() {} - - private Builder(ProjectName projectName) { - project = projectName.project; - } - - public ProjectName build() { - return new ProjectName(this); - } - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o instanceof ProjectName) { - ProjectName that = (ProjectName) o; - return this.project.equals(that.project); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= project.hashCode(); - return h; - } -} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java deleted file mode 100644 index faaca106cbe9..000000000000 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/UntypedParentName.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * 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 - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud; - -import com.google.api.core.BetaApi; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -// Formerly generated by GAPIC protoc plugin. -@BetaApi -public class UntypedParentName extends ParentName { - - private final String rawValue; - private Map valueMap; - - private UntypedParentName(String rawValue) { - this.rawValue = Preconditions.checkNotNull(rawValue); - this.valueMap = ImmutableMap.of("", rawValue); - } - - public static UntypedParentName from(ResourceName resourceName) { - return new UntypedParentName(resourceName.toString()); - } - - public static UntypedParentName parse(String formattedString) { - return new UntypedParentName(formattedString); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList(values.size()); - for (UntypedParentName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return true; - } - - /** Return a map with a single value rawValue keyed on an empty String "". */ - public Map getFieldValuesMap() { - return valueMap; - } - - /** Return the initial rawValue if @param fieldName is an empty String, else return null. */ - public String getFieldValue(String fieldName) { - return valueMap.get(fieldName); - } - - @Override - public String toString() { - return rawValue; - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o instanceof UntypedParentName) { - UntypedParentName that = (UntypedParentName) o; - return this.rawValue.equals(that.rawValue); - } - return false; - } - - @Override - public int hashCode() { - return rawValue.hashCode(); - } -} From fe1834c78aba32f3ae4e0a092dd7e29368efa51c Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Fri, 18 May 2018 10:01:00 -0700 Subject: [PATCH 0524/3036] Bump version to 0.48.0 release (#3288) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index dfbbbf5b0d0e..e7c75118c571 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.29.1-SNAPSHOT + 1.30.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.47.1-alpha-SNAPSHOT + 0.48.0-alpha 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 46149f6639c5..593092dc8f20 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.29.1-SNAPSHOT + 1.30.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.47.1-alpha-SNAPSHOT + 0.48.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 45e4450e1795..efaa15277877 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.29.0 + 1.30.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.29.0' +compile 'com.google.cloud:google-cloud-core:1.30.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.29.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.30.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e8930bf751c0..58b0f4a4c56b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.29.1-SNAPSHOT + 1.30.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.47.1-alpha-SNAPSHOT + 0.48.0-alpha google-cloud-core From f1049de84ce3e1d867136431a54cc1b571ce5007 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Mon, 21 May 2018 14:56:28 -0700 Subject: [PATCH 0525/3036] Bump version to 0.48.1-SNASPHOT for development (#3294) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e7c75118c571..cb6dd8106c84 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.30.0 + 1.30.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.48.0-alpha + 0.48.1-alpha-SNAPSHOT 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 593092dc8f20..31b598d990fc 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.30.0 + 1.30.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.48.0-alpha + 0.48.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 58b0f4a4c56b..1bfbe3f375fc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.30.0 + 1.30.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.48.0-alpha + 0.48.1-alpha-SNAPSHOT google-cloud-core From d4fb53b1873441ae9699986aff9f4fc0207a2417 Mon Sep 17 00:00:00 2001 From: neozwu Date: Thu, 24 May 2018 10:13:56 -0700 Subject: [PATCH 0526/3036] release 0.49.0 (#3310) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cb6dd8106c84..a170eed85fcf 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.30.1-SNAPSHOT + 1.31.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.48.1-alpha-SNAPSHOT + 0.49.0-alpha 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 31b598d990fc..de6e9bdefaf3 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.30.1-SNAPSHOT + 1.31.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.48.1-alpha-SNAPSHOT + 0.49.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index efaa15277877..693bb3aad11d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.30.0 + 1.31.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.30.0' +compile 'com.google.cloud:google-cloud-core:1.31.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.30.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.31.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1bfbe3f375fc..26968c754265 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.30.1-SNAPSHOT + 1.31.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.48.1-alpha-SNAPSHOT + 0.49.0-alpha google-cloud-core From 25e32b8e094af4d4dca37f8cf3b437fbeae83735 Mon Sep 17 00:00:00 2001 From: neozwu Date: Thu, 24 May 2018 11:10:53 -0700 Subject: [PATCH 0527/3036] bump version for development (#3311) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a170eed85fcf..bbf1bcd2437b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.31.0 + 1.31.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.49.0-alpha + 0.49.1-alpha-SNAPSHOT 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 de6e9bdefaf3..de7e0a41e2f7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.31.0 + 1.31.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.49.0-alpha + 0.49.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 26968c754265..d2586486159d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.31.0 + 1.31.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.49.0-alpha + 0.49.1-alpha-SNAPSHOT google-cloud-core From 0eff8f0a0c04af28ace0e9d261681924ba2f9c67 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Fri, 25 May 2018 16:50:40 -0700 Subject: [PATCH 0528/3036] Adding Timestamp.toDate() (#3313) --- .../main/java/com/google/cloud/Timestamp.java | 12 ++++++++++ .../java/com/google/cloud/TimestampTest.java | 23 +++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index 456877bd2740..0c2eca786367 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -130,6 +130,18 @@ public java.sql.Timestamp toSqlTimestamp() { return ts; } + /** + * Returns a new {@code java.util.Date} corresponding to this {@code timestamp}. Any + * sub-millisecond precision will be stripped. + * + * @return An approximate {@code java.util.Date} representation of this {@code timestamp}. + */ + public Date toDate() { + long secondsInMilliseconds = TimeUnit.SECONDS.toMillis(this.seconds); + long nanosInMilliseconds = TimeUnit.NANOSECONDS.toMillis(this.nanos); + return new Date(secondsInMilliseconds + nanosInMilliseconds); + } + @Override public int compareTo(Timestamp other) { int r = Long.compare(seconds, other.seconds); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 2aa07999c823..51d2ecb20f18 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -21,8 +21,10 @@ import com.google.common.testing.EqualsTester; import java.util.Calendar; +import java.util.Date; import java.util.GregorianCalendar; import java.util.TimeZone; +import java.util.concurrent.TimeUnit; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -35,6 +37,9 @@ public class TimestampTest { private static final String TEST_TIME_ISO = "2015-10-12T15:14:54Z"; private static final long TEST_TIME_SECONDS = 1444662894L; private static final long TEST_TIME_MICROSECONDS = 10000100L; + private static final long TEST_TIME_MILLISECONDS = + TimeUnit.SECONDS.toMillis(1444662894L) + TimeUnit.MICROSECONDS.toMillis(1234); + private static final Date TEST_DATE = new Date(TEST_TIME_MILLISECONDS); @Rule public ExpectedException expectedException = ExpectedException.none(); @@ -64,6 +69,24 @@ public void ofMicroseconds() { assertThat(timestamp.getNanos()).isEqualTo(TEST_TIME_MICROSECONDS % 1000000L * 1000); } + @Test + public void ofDate() { + Timestamp timestamp = Timestamp.of(TEST_DATE); + Long expectedSeconds = TimeUnit.MILLISECONDS.toSeconds(TEST_TIME_MILLISECONDS); + Long expectedNanos = + TimeUnit.MILLISECONDS.toNanos(TEST_TIME_MILLISECONDS) + - TimeUnit.SECONDS.toNanos(expectedSeconds); + assertThat(timestamp.getSeconds()).isEqualTo(expectedSeconds); + assertThat(timestamp.getNanos()).isEqualTo(expectedNanos); + } + + @Test + public void toDate() { + Timestamp timestamp = Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1234 * 1000); + Date date = timestamp.toDate(); + assertThat(TEST_TIME_MILLISECONDS).isEqualTo(date.getTime()); + } + @Test public void toFromSqlTimestamp() { long seconds = TEST_TIME_SECONDS; From ec6e18caf833afca02073549ddfc46e2364428c2 Mon Sep 17 00:00:00 2001 From: Colin Arnott Date: Sat, 26 May 2018 01:14:36 +0000 Subject: [PATCH 0529/3036] make MetadataConfig.getAttribute() public (#3307) --- .../src/main/java/com/google/cloud/MetadataConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index a285462165a5..9b1ee3ffc635 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -57,7 +57,7 @@ public static String getClusterName() { return getAttribute("instance/attributes/cluster-name"); } - private static String getAttribute(String attributeName) { + public static String getAttribute(String attributeName) { try { URL url = new URL(METADATA_URL + attributeName); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); From 11cb282201fbf79a6c2d0dc6e3632a791600c07d Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Fri, 1 Jun 2018 15:04:04 -0700 Subject: [PATCH 0530/3036] Release 0.50.0 (#3337) * Also add texttospeech v1 to versions.txt --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index bbf1bcd2437b..0fd4867b549d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.31.1-SNAPSHOT + 1.32.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.49.1-alpha-SNAPSHOT + 0.50.0-alpha 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 de7e0a41e2f7..9abd21062f34 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.31.1-SNAPSHOT + 1.32.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.49.1-alpha-SNAPSHOT + 0.50.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 693bb3aad11d..d402df5213d8 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.31.0 + 1.32.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.31.0' +compile 'com.google.cloud:google-cloud-core:1.32.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.31.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.32.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d2586486159d..4da1387fc78a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.31.1-SNAPSHOT + 1.32.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.49.1-alpha-SNAPSHOT + 0.50.0-alpha google-cloud-core From ee5927cfbfad481296893372315254fdd796f3d1 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Fri, 1 Jun 2018 15:14:47 -0700 Subject: [PATCH 0531/3036] Bump version for development (#3338) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0fd4867b549d..40dae79df6ed 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.32.0 + 1.32.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.50.0-alpha + 0.50.1-alpha-SNAPSHOT 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 9abd21062f34..09c12d2737a9 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.32.0 + 1.32.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.50.0-alpha + 0.50.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4da1387fc78a..4a6b29b6e7d7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.32.0 + 1.32.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.50.0-alpha + 0.50.1-alpha-SNAPSHOT google-cloud-core From 273cdd3908d27b1bebd8e0b0baf3570adea0d3ee Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 7 Jun 2018 16:17:57 -0700 Subject: [PATCH 0532/3036] Release 0.51.0 (#3358) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 40dae79df6ed..3b936ddbdeaf 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.32.1-SNAPSHOT + 1.33.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.50.1-alpha-SNAPSHOT + 0.51.0-alpha 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 09c12d2737a9..54488175d3fd 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.32.1-SNAPSHOT + 1.33.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.50.1-alpha-SNAPSHOT + 0.51.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d402df5213d8..acc06139cb17 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.32.0 + 1.33.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.32.0' +compile 'com.google.cloud:google-cloud-core:1.33.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.32.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.33.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4a6b29b6e7d7..2c70a75aa817 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.32.1-SNAPSHOT + 1.33.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.50.1-alpha-SNAPSHOT + 0.51.0-alpha google-cloud-core From 2edb1af5f631e5a9cb06e05ad85bc34da9597ea2 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 8 Jun 2018 10:55:53 -0700 Subject: [PATCH 0533/3036] bump version for development (#3360) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3b936ddbdeaf..907e2cb8f6ba 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.33.0 + 1.33.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.51.0-alpha + 0.51.1-alpha-SNAPSHOT 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 54488175d3fd..67588134ad8c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.33.0 + 1.33.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.51.0-alpha + 0.51.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2c70a75aa817..1c7b376a2ca8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.33.0 + 1.33.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.51.0-alpha + 0.51.1-alpha-SNAPSHOT google-cloud-core From 0063ba341a9c1f392ad836626d41827a60fc3293 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Mon, 11 Jun 2018 16:42:04 -0700 Subject: [PATCH 0534/3036] Fix zipslip vulnerability (#3366) Thanks to The Snyk security team for bringing this up to our attention. --- .../com/google/cloud/testing/BaseEmulatorHelper.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index b8f7be44874f..2f90f596467a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -404,8 +404,13 @@ private Path downloadEmulator() throws IOException { log.fine("Unzipping emulator"); } ZipEntry entry = zipIn.getNextEntry(); - while (entry != null) { - File filePath = new File(emulatorPath.toFile(), entry.getName()); + while (entry != null) { + File filePath = new File(emulatorFolder, entry.getName()); + String canonicalEmulatorFolderPath = emulatorFolder.getCanonicalPath(); + String canonicalFilePath = filePath.getCanonicalPath(); + if (!canonicalFilePath.startsWith(canonicalEmulatorFolderPath + File.separator)) { + throw new IllegalStateException("Entry is outside of the target dir: " + entry.getName()); + } if (!entry.isDirectory()) { extractFile(zipIn, filePath); } else { From 6ec6d8f717ef88080e0c83d8bbbd76b5b46894c2 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 14 Jun 2018 10:56:35 -0700 Subject: [PATCH 0535/3036] Release 0.52.0 (#3376) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 907e2cb8f6ba..0af41aefc3b4 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.33.1-SNAPSHOT + 1.34.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.51.1-alpha-SNAPSHOT + 0.52.0-alpha 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 67588134ad8c..2b50d4d287dc 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.33.1-SNAPSHOT + 1.34.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.51.1-alpha-SNAPSHOT + 0.52.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index acc06139cb17..d1ffd22f6631 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.33.0 + 1.34.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.33.0' +compile 'com.google.cloud:google-cloud-core:1.34.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.33.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.34.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1c7b376a2ca8..36c98a694da5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.33.1-SNAPSHOT + 1.34.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.51.1-alpha-SNAPSHOT + 0.52.0-alpha google-cloud-core From 06fad67bf863b09b90c5f63e10132e4161430a3c Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 14 Jun 2018 14:53:09 -0700 Subject: [PATCH 0536/3036] Bumping to snapshot versions (#3380) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0af41aefc3b4..396d0b2a0d47 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.34.0 + 1.34.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.52.0-alpha + 0.52.1-alpha-SNAPSHOT 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 2b50d4d287dc..e2e136cf5d1e 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.34.0 + 1.34.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.52.0-alpha + 0.52.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 36c98a694da5..8cc31601d4eb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.34.0 + 1.34.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.52.0-alpha + 0.52.1-alpha-SNAPSHOT google-cloud-core From 34877baf67a8e7b4cbc2613aded26877070e805b Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Thu, 21 Jun 2018 14:51:15 -0700 Subject: [PATCH 0537/3036] Release 0.53.0 (#3399) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 396d0b2a0d47..2eeb73321c41 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.34.1-SNAPSHOT + 1.35.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.52.1-alpha-SNAPSHOT + 0.53.0-alpha 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 e2e136cf5d1e..9cbb116135e0 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.34.1-SNAPSHOT + 1.35.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.52.1-alpha-SNAPSHOT + 0.53.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d1ffd22f6631..51c68670fee0 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.34.0 + 1.35.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.34.0' +compile 'com.google.cloud:google-cloud-core:1.35.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.34.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.35.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8cc31601d4eb..92e656a7c7b2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.34.1-SNAPSHOT + 1.35.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.52.1-alpha-SNAPSHOT + 0.53.0-alpha google-cloud-core From 31cb79a30b4dc54c2bcfd0759938b500b87998e8 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Fri, 22 Jun 2018 10:36:30 -0700 Subject: [PATCH 0538/3036] Bump to next snapshot version (#3401) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2eeb73321c41..23c510287e39 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.35.0 + 1.35.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.53.0-alpha + 0.53.1-alpha-SNAPSHOT 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 9cbb116135e0..43cd3a353ea8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.35.0 + 1.35.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.53.0-alpha + 0.53.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 92e656a7c7b2..69923cfd371f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.35.0 + 1.35.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.53.0-alpha + 0.53.1-alpha-SNAPSHOT google-cloud-core From 91c27d908bdf8dd312eced7d7d552f2ebfc640e6 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 28 Jun 2018 10:43:27 -0700 Subject: [PATCH 0539/3036] Fixing versioning comments for GA clients (#3411) --- java-core/google-cloud-core/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 51c68670fee0..4c84a37aad0b 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -58,9 +58,7 @@ Versioning This library follows [Semantic Versioning](http://semver.org/). -It is currently in major version zero (``0.y.z``), which means that anything -may change at any time and the public API should not be considered -stable. +It is currently in major version one (``1.y.z``), which means that the public API should be considered stable. License ------- From 4f3b5aa2bc255e94561a722bdc517354b44b1169 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 29 Jun 2018 11:11:44 -0700 Subject: [PATCH 0540/3036] Set project id from credentials (#3413) * Add test for setting project id in service options from credentials * Set projectId from credentials if available * Only set the projectId if not explicitly set --- .../java/com/google/cloud/ServiceOptions.java | 6 ++ .../com/google/cloud/ServiceOptionsTest.java | 71 ++++++++++++++++++- 2 files changed, 74 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 950c6fd8e485..99f23a83825a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -43,6 +43,7 @@ import com.google.api.gax.rpc.NoHeaderProvider; import com.google.auth.Credentials; import com.google.auth.oauth2.GoogleCredentials; +import com.google.auth.oauth2.ServiceAccountCredentials; import com.google.cloud.spi.ServiceRpcFactory; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; @@ -204,6 +205,11 @@ public B setHost(String host) { */ public B setCredentials(Credentials credentials) { this.credentials = checkNotNull(credentials); + // set project id if available + if (this.projectId == null && + credentials instanceof ServiceAccountCredentials) { + this.projectId = ((ServiceAccountCredentials) credentials).getProjectId(); + } return self(); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 49190fc4c2ab..ee957a625f3c 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -83,12 +83,51 @@ public class ServiceOptionsTest { + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + " \"type\": \"service_account\"\n" + "}"; - private static final InputStream JSON_KEY_STREAM = new ByteArrayInputStream(JSON_KEY.getBytes()); private static GoogleCredentials credentials; static { try { - credentials = GoogleCredentials.fromStream(JSON_KEY_STREAM); + InputStream keyStream = new ByteArrayInputStream(JSON_KEY.getBytes()); + credentials = GoogleCredentials.fromStream(keyStream); + } catch (IOException e) { + fail("Couldn't create fake JSON credentials."); + } + } + + private static final String JSON_KEY_PROJECT_ID = + "{\n" + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"project_id\": \"someprojectid\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; + private static GoogleCredentials credentialsWithProjectId; + + static { + try { + InputStream keyStream = new ByteArrayInputStream(JSON_KEY_PROJECT_ID.getBytes()); + credentialsWithProjectId = GoogleCredentials.fromStream(keyStream); } catch (IOException e) { fail("Couldn't create fake JSON credentials."); } @@ -266,6 +305,32 @@ public void testBuilderNullCredentials() { TestServiceOptions.newBuilder().setCredentials(null).build(); } + @Test + public void testBuilderServiceAccount_setsProjectId() { + TestServiceOptions options = TestServiceOptions.newBuilder() + .setCredentials(credentialsWithProjectId) + .build(); + assertEquals("someprojectid", options.getProjectId()); + } + + @Test + public void testBuilderServiceAccount_explicitSetProjectIdBefore() { + TestServiceOptions options = TestServiceOptions.newBuilder() + .setProjectId("override-project-id") + .setCredentials(credentialsWithProjectId) + .build(); + assertEquals("override-project-id", options.getProjectId()); + } + + @Test + public void testBuilderServiceAccount_explicitSetProjectIdAfter() { + TestServiceOptions options = TestServiceOptions.newBuilder() + .setCredentials(credentialsWithProjectId) + .setProjectId("override-project-id") + .build(); + assertEquals("override-project-id", options.getProjectId()); + } + @Test public void testGetProjectIdRequired() { assertTrue(OPTIONS.projectIdRequired()); @@ -342,7 +407,7 @@ public void testResponseHeaderDoesNotContainMetaDataFlavor() throws Exception { HttpResponse httpResponse = createHttpResponseWithHeader(headers); assertThat(ServiceOptions.headerContainsMetadataFlavor(httpResponse)).isFalse(); } - + private HttpResponse createHttpResponseWithHeader(final Multimap headers) throws Exception { HttpTransport mockHttpTransport = new MockHttpTransport() { @Override From 51116d2da6f34b4144bd88dfce03d4e001b745d1 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Tue, 10 Jul 2018 16:07:13 -0700 Subject: [PATCH 0541/3036] Fix the error when calling Timestamp.of(Date date) when date is pre epoch (#3434) * Fix the error when calling Timestamp.of(Date date) when date is pre epoch. --- .../src/main/java/com/google/cloud/Timestamp.java | 9 ++++++--- .../test/java/com/google/cloud/TimestampTest.java | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index 0c2eca786367..17e26d9c9993 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -78,9 +78,12 @@ public static Timestamp ofTimeSecondsAndNanos(long seconds, int nanos) { * @throws IllegalArgumentException if the timestamp is outside the representable range */ public static Timestamp ofTimeMicroseconds(long microseconds) { - long seconds = TimeUnit.MICROSECONDS.toSeconds(microseconds); - int nanos = - (int) TimeUnit.MICROSECONDS.toNanos(microseconds - TimeUnit.SECONDS.toMicros(seconds)); + long seconds = microseconds / 1_000_000; + int nanos = (int)(microseconds % 1_000_000 * 1000); + if (nanos < 0) { + seconds--; + nanos += 1_000_000_000; + } checkArgument( Timestamps.isValid(seconds, nanos), "timestamp out of range: %s, %s", seconds, nanos); return new Timestamp(seconds, nanos); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 51d2ecb20f18..c78f54627c77 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -39,7 +39,9 @@ public class TimestampTest { private static final long TEST_TIME_MICROSECONDS = 10000100L; private static final long TEST_TIME_MILLISECONDS = TimeUnit.SECONDS.toMillis(1444662894L) + TimeUnit.MICROSECONDS.toMillis(1234); + private static final long TEST_TIME_MILLISECONDS_NEGATIVE = -1000L; private static final Date TEST_DATE = new Date(TEST_TIME_MILLISECONDS); + private static final Date TEST_DATE_PRE_EPOCH = new Date(TEST_TIME_MILLISECONDS_NEGATIVE); @Rule public ExpectedException expectedException = ExpectedException.none(); @@ -80,6 +82,19 @@ public void ofDate() { assertThat(timestamp.getNanos()).isEqualTo(expectedNanos); } + @Test + public void ofDatePreEpoch() { + Timestamp timestamp = Timestamp.of(TEST_DATE_PRE_EPOCH); + long expectedSeconds = TEST_TIME_MILLISECONDS_NEGATIVE / 1_000; + int expectedNanos = (int)(TEST_TIME_MILLISECONDS_NEGATIVE % 1_000 * 1000_000); + if (expectedNanos < 0) { + expectedSeconds--; + expectedNanos += 1_000_000_000; + } + assertThat(timestamp.getSeconds()).isEqualTo(expectedSeconds); + assertThat(timestamp.getNanos()).isEqualTo(expectedNanos); + } + @Test public void toDate() { Timestamp timestamp = Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1234 * 1000); From 517ded5033b34ac90ad818b2d81bd1fe86ce4aa6 Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Wed, 11 Jul 2018 15:34:32 -0700 Subject: [PATCH 0542/3036] Retry IOException: Error writing request body to server to fix the intermittent failure when uploading to gcs(#3433) --- .../java/com/google/cloud/BaseServiceException.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index a0058a2e3f2b..565ae614f3a6 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -254,11 +254,13 @@ public static boolean isRetryable(Integer code, String reason, boolean idempoten @InternalApi public static boolean isRetryable(boolean idempotent, IOException exception) { - boolean exceptionIsRetryable = exception instanceof SocketTimeoutException - || exception instanceof SocketException - || (exception instanceof SSLHandshakeException - && !(exception.getCause() instanceof CertificateException)) - || "insufficient data written".equals(exception.getMessage()); + boolean exceptionIsRetryable = + exception instanceof SocketTimeoutException + || exception instanceof SocketException + || (exception instanceof SSLHandshakeException + && !(exception.getCause() instanceof CertificateException)) + || "insufficient data written".equals(exception.getMessage()) + || "Error writing request body to server".equals(exception.getMessage()); return idempotent && exceptionIsRetryable; } From 8e400b24cdc1421589230879f66af5e686e23973 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 12 Jul 2018 11:57:22 -0700 Subject: [PATCH 0543/3036] Release 0.54.0 (#3457) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 23c510287e39..99061c25bfe1 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.35.1-SNAPSHOT + 1.36.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.53.1-alpha-SNAPSHOT + 0.54.0-alpha 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 43cd3a353ea8..cf46db7ea40c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.35.1-SNAPSHOT + 1.36.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.53.1-alpha-SNAPSHOT + 0.54.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 4c84a37aad0b..63cf25845a23 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.35.0 + 1.36.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.35.0' +compile 'com.google.cloud:google-cloud-core:1.36.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.35.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.36.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 69923cfd371f..6c16181abd58 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.35.1-SNAPSHOT + 1.36.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.53.1-alpha-SNAPSHOT + 0.54.0-alpha google-cloud-core From 0dd5d6fde221233575b83c2574cbfaa085b98799 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 12 Jul 2018 12:47:20 -0700 Subject: [PATCH 0544/3036] Bumping to snapshot versions (#3463) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 99061c25bfe1..e0b91e14f743 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.36.0 + 1.36.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.54.0-alpha + 0.54.1-alpha-SNAPSHOT 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 cf46db7ea40c..6028f8b8d128 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.36.0 + 1.36.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.54.0-alpha + 0.54.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6c16181abd58..a631b19139f6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.36.0 + 1.36.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.54.0-alpha + 0.54.1-alpha-SNAPSHOT google-cloud-core From f718f4424ae97d843c53fed60e1d04b219397672 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 19 Jul 2018 18:22:07 -0700 Subject: [PATCH 0545/3036] Release 0.55.0 (#3485) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e0b91e14f743..f79e03cd846d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.36.1-SNAPSHOT + 1.37.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.54.1-alpha-SNAPSHOT + 0.55.0-alpha 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 6028f8b8d128..e9fd510cc7eb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.36.1-SNAPSHOT + 1.37.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.54.1-alpha-SNAPSHOT + 0.55.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 63cf25845a23..d8729de5e7d5 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.36.0 + 1.37.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.36.0' +compile 'com.google.cloud:google-cloud-core:1.37.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.36.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.37.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a631b19139f6..4b09fc9b057b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.36.1-SNAPSHOT + 1.37.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.54.1-alpha-SNAPSHOT + 0.55.0-alpha google-cloud-core From e49df11c13758ad548d7bf0f3289f2c51c6398a9 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 20 Jul 2018 11:26:20 -0700 Subject: [PATCH 0546/3036] bump version for development (#3486) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f79e03cd846d..d6afbdf1b2b7 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.37.0 + 1.37.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.0-alpha + 0.55.1-alpha-SNAPSHOT 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 e9fd510cc7eb..0572c68ef150 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.37.0 + 1.37.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.0-alpha + 0.55.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4b09fc9b057b..89fff1c302f4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.37.0 + 1.37.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.0-alpha + 0.55.1-alpha-SNAPSHOT google-cloud-core From 3222f8860b31981b81710c0d88472f7bbbb34332 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 20 Jul 2018 12:23:34 -0700 Subject: [PATCH 0547/3036] Release 0.55.1 (#3489) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d6afbdf1b2b7..02c61599b63d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.37.1-SNAPSHOT + 1.37.1 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.1-alpha-SNAPSHOT + 0.55.1-alpha 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 0572c68ef150..b20a4f32c3d1 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.37.1-SNAPSHOT + 1.37.1 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.1-alpha-SNAPSHOT + 0.55.1-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d8729de5e7d5..3baa3a99e276 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.37.0 + 1.37.1 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.37.0' +compile 'com.google.cloud:google-cloud-core:1.37.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.37.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.37.1" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 89fff1c302f4..4f8d97b33ae6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.37.1-SNAPSHOT + 1.37.1 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.1-alpha-SNAPSHOT + 0.55.1-alpha google-cloud-core From f29a7fcd6aa8e36fdb0394d8f2bde3e36164afe6 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Fri, 20 Jul 2018 13:32:48 -0700 Subject: [PATCH 0548/3036] bump version for development (#3490) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 02c61599b63d..a5b74748dd29 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.37.1 + 1.37.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.1-alpha + 0.55.2-alpha-SNAPSHOT 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 b20a4f32c3d1..e1e218082e30 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.37.1 + 1.37.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.1-alpha + 0.55.2-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4f8d97b33ae6..a54d1f548677 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.37.1 + 1.37.2-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.1-alpha + 0.55.2-alpha-SNAPSHOT google-cloud-core From c15804479ba3122d6f0d7003c23d790393d2b2cc Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Tue, 24 Jul 2018 11:21:16 -0700 Subject: [PATCH 0549/3036] Fix pom urls (#3499) --- java-core/google-cloud-core-grpc/pom.xml | 2 +- java-core/google-cloud-core-http/pom.xml | 2 +- java-core/google-cloud-core/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a5b74748dd29..7b007eb15ec8 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -5,7 +5,7 @@ 1.37.2-SNAPSHOT jar Google Cloud Core gRPC - https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-grpc + https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc Core gRPC module for the google-cloud. diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index e1e218082e30..bfd68f3d5ec9 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -5,7 +5,7 @@ 1.37.2-SNAPSHOT jar Google Cloud Core HTTP - https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core-http + https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http Core http module for the google-cloud. diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a54d1f548677..60fed4a2afe0 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -5,7 +5,7 @@ 1.37.2-SNAPSHOT jar Google Cloud Core - https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-core + https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core Core module for the google-cloud. From 64531bd69fe5b009bf7439dd5a51fcf531b6873a Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 1 Aug 2018 15:23:45 -0700 Subject: [PATCH 0550/3036] Release 0.56.0 (#3521) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7b007eb15ec8..ab054f024bff 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.37.2-SNAPSHOT + 1.38.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.2-alpha-SNAPSHOT + 0.56.0-alpha 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 bfd68f3d5ec9..1a9770560ada 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.37.2-SNAPSHOT + 1.38.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.2-alpha-SNAPSHOT + 0.56.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 3baa3a99e276..f1c8492b717c 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.37.1 + 1.38.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.37.1' +compile 'com.google.cloud:google-cloud-core:1.38.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.37.1" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.38.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 60fed4a2afe0..64e039638d43 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.37.2-SNAPSHOT + 1.38.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.55.2-alpha-SNAPSHOT + 0.56.0-alpha google-cloud-core From 23cb431c52d761946525ee9ad3cc452642ba8eb3 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Wed, 1 Aug 2018 16:26:30 -0700 Subject: [PATCH 0551/3036] Bumping to snapshot versions (#3523) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ab054f024bff..76fef2f35f8e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.38.0 + 1.38.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.56.0-alpha + 0.56.1-alpha-SNAPSHOT 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 1a9770560ada..568e491fd386 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.38.0 + 1.38.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.56.0-alpha + 0.56.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 64e039638d43..9ce88cf933ad 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.38.0 + 1.38.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.56.0-alpha + 0.56.1-alpha-SNAPSHOT google-cloud-core From 32f27485febe57e45bd569dfd2825a2ac48c19cc Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Thu, 9 Aug 2018 16:25:03 -0700 Subject: [PATCH 0552/3036] Bump versions to 1.39.0/0.57.0 (#3548) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 76fef2f35f8e..95c6119312e0 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.38.1-SNAPSHOT + 1.39.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.56.1-alpha-SNAPSHOT + 0.57.0-alpha 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 568e491fd386..faf948fdd90e 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.38.1-SNAPSHOT + 1.39.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.56.1-alpha-SNAPSHOT + 0.57.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f1c8492b717c..d595f363e14a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.38.0 + 1.39.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.38.0' +compile 'com.google.cloud:google-cloud-core:1.39.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.38.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.39.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9ce88cf933ad..c7c8d2c8badb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.38.1-SNAPSHOT + 1.39.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.56.1-alpha-SNAPSHOT + 0.57.0-alpha google-cloud-core From 5dcb7003733c15d5cba71b1c9889dfec3e01cced Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Fri, 10 Aug 2018 10:13:44 -0700 Subject: [PATCH 0553/3036] Bump to snapshot (#3553) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 95c6119312e0..0b3a22d46441 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.39.0 + 1.39.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.57.0-alpha + 0.57.1-alpha-SNAPSHOT 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 faf948fdd90e..d7e2dc88943b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.39.0 + 1.39.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.57.0-alpha + 0.57.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c7c8d2c8badb..88ee6a411ffe 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.39.0 + 1.39.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.57.0-alpha + 0.57.1-alpha-SNAPSHOT google-cloud-core From fb1c843888a56141b091c5bb56f2672e41df6029 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Wed, 15 Aug 2018 15:54:35 -0700 Subject: [PATCH 0554/3036] Release 0.58.0 and 1.40.0 (#3565) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0b3a22d46441..2f88038da480 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.39.1-SNAPSHOT + 1.40.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.57.1-alpha-SNAPSHOT + 0.58.0-alpha 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 d7e2dc88943b..1884531357e1 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.39.1-SNAPSHOT + 1.40.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.57.1-alpha-SNAPSHOT + 0.58.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d595f363e14a..363a648aafc3 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.39.0 + 1.40.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.39.0' +compile 'com.google.cloud:google-cloud-core:1.40.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.39.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.40.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 88ee6a411ffe..2ffb1895fb59 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.39.1-SNAPSHOT + 1.40.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.57.1-alpha-SNAPSHOT + 0.58.0-alpha google-cloud-core From 6ed0f29369a7b2f102f84780b3a11bdb680136e2 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Wed, 15 Aug 2018 17:23:45 -0700 Subject: [PATCH 0555/3036] Bump version to 0.58.1-SNAPSHOT and 1.40.1-SNAPSHOT for development (#3566) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2f88038da480..c0dbf29d9b0e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.40.0 + 1.40.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.58.0-alpha + 0.58.1-alpha-SNAPSHOT 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 1884531357e1..0e88111587e5 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.40.0 + 1.40.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.58.0-alpha + 0.58.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2ffb1895fb59..f0a6e8afd035 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.40.0 + 1.40.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.58.0-alpha + 0.58.1-alpha-SNAPSHOT google-cloud-core From d220e4b38c2c39e8727cefda466e2dc23f8dffce Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Wed, 22 Aug 2018 16:39:03 -0700 Subject: [PATCH 0556/3036] release 0.59.0 (#3598) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c0dbf29d9b0e..d174317d5a65 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.40.1-SNAPSHOT + 1.41.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.58.1-alpha-SNAPSHOT + 0.59.0-alpha 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 0e88111587e5..3aba07b008e8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.40.1-SNAPSHOT + 1.41.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.58.1-alpha-SNAPSHOT + 0.59.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 363a648aafc3..0b4a23cb9279 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.40.0 + 1.41.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.40.0' +compile 'com.google.cloud:google-cloud-core:1.41.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.40.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.41.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f0a6e8afd035..1403c9ece38d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.40.1-SNAPSHOT + 1.41.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.58.1-alpha-SNAPSHOT + 0.59.0-alpha google-cloud-core From 71bdf3c8fba0ba3d439b56619845fc7ca44a5aa3 Mon Sep 17 00:00:00 2001 From: Michael Darakananda Date: Thu, 23 Aug 2018 19:32:16 -0700 Subject: [PATCH 0557/3036] bump version for development (#3599) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d174317d5a65..a04b6c16ac9c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.41.0 + 1.41.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.59.0-alpha + 0.59.1-alpha-SNAPSHOT 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 3aba07b008e8..88b0c4262e88 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.41.0 + 1.41.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.59.0-alpha + 0.59.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1403c9ece38d..4e4d87a2583c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.41.0 + 1.41.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.59.0-alpha + 0.59.1-alpha-SNAPSHOT google-cloud-core From bcc6256fd21864828463c4de3a9e8ad0867a0844 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Mon, 27 Aug 2018 13:48:10 -0400 Subject: [PATCH 0558/3036] upgrade auth version (#3606) * upgrade auth version * jdk5 no longer comes in with oauth --- java-core/google-cloud-core-http/pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 88b0c4262e88..ae32dfa6c726 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -29,12 +29,6 @@ com.google.auth google-auth-library-oauth2-http - - - com.google.guava - guava-jdk5 - - com.google.http-client From b9dc45184ab2a63ae2b9800dc1c707935bda39ab Mon Sep 17 00:00:00 2001 From: Hanzhen Yi <33737743+hzyi-google@users.noreply.github.com> Date: Thu, 30 Aug 2018 15:43:20 -0700 Subject: [PATCH 0559/3036] Release 0.60.0 (#3623) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a04b6c16ac9c..0a38bf6e7291 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.41.1-SNAPSHOT + 1.42.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.59.1-alpha-SNAPSHOT + 0.60.0-alpha 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 ae32dfa6c726..38ba64b26c3b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.41.1-SNAPSHOT + 1.42.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.59.1-alpha-SNAPSHOT + 0.60.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 0b4a23cb9279..0fc384d6b765 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.41.0 + 1.42.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.41.0' +compile 'com.google.cloud:google-cloud-core:1.42.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.41.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.42.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4e4d87a2583c..d3164b60093b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.41.1-SNAPSHOT + 1.42.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.59.1-alpha-SNAPSHOT + 0.60.0-alpha google-cloud-core From 01722b8439c9d3d7762fd655e56a80b9c1ff2af2 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Thu, 6 Sep 2018 16:26:48 -0700 Subject: [PATCH 0560/3036] Release 0.61.0/1.43.0 (#3653) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0a38bf6e7291..1dbf962aa313 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.42.0 + 1.43.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.60.0-alpha + 0.61.0-alpha 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 38ba64b26c3b..c4699e6560d3 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.42.0 + 1.43.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.60.0-alpha + 0.61.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 0fc384d6b765..f61ec4a2131a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.42.0 + 1.43.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.42.0' +compile 'com.google.cloud:google-cloud-core:1.43.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.42.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.43.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d3164b60093b..86f4bfb828d8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.42.0 + 1.43.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.60.0-alpha + 0.61.0-alpha google-cloud-core From 34cc0270de00f98f7bd205a39f7ea15cbf145880 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Fri, 7 Sep 2018 10:14:04 -0700 Subject: [PATCH 0561/3036] Bump to snapshot version for development (#3656) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1dbf962aa313..ce253199ddd7 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.43.0 + 1.43.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.61.0-alpha + 0.61.1-alpha-SNAPSHOT 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 c4699e6560d3..51a6fc5bd713 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.43.0 + 1.43.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.61.0-alpha + 0.61.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 86f4bfb828d8..a9f6d5fca582 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.43.0 + 1.43.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.61.0-alpha + 0.61.1-alpha-SNAPSHOT google-cloud-core From ead464f673e291e3bc71f3f9260c1ad2ede16259 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 13 Sep 2018 09:47:56 -0700 Subject: [PATCH 0562/3036] Release 1.44.0/0.62.0 (#3677) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ce253199ddd7..94de3c333a1f 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.43.1-SNAPSHOT + 1.44.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.61.1-alpha-SNAPSHOT + 0.62.0-alpha 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 51a6fc5bd713..25840fb0fb31 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.43.1-SNAPSHOT + 1.44.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.61.1-alpha-SNAPSHOT + 0.62.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f61ec4a2131a..74cc343290b0 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.43.0 + 1.44.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.43.0' +compile 'com.google.cloud:google-cloud-core:1.44.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.43.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.44.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a9f6d5fca582..6a299c081758 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.43.1-SNAPSHOT + 1.44.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.61.1-alpha-SNAPSHOT + 0.62.0-alpha google-cloud-core From 4442e5d4005b3456bab1c2b34319a826d7894c3f Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 13 Sep 2018 10:59:16 -0700 Subject: [PATCH 0563/3036] Bump to next snapshot versions (#3679) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 94de3c333a1f..7ebd0db02318 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.44.0 + 1.44.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.62.0-alpha + 0.62.1-alpha-SNAPSHOT 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 25840fb0fb31..a97dff986e0d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.44.0 + 1.44.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.62.0-alpha + 0.62.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6a299c081758..3415d5dc2dcb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.44.0 + 1.44.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.62.0-alpha + 0.62.1-alpha-SNAPSHOT google-cloud-core From 898aabc6f7ebf50ab650918420054d31f468e09d Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 20 Sep 2018 13:37:58 -0700 Subject: [PATCH 0564/3036] Release 1.45.0/0.63.0 (#3710) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7ebd0db02318..23f1dffe4b0e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.44.1-SNAPSHOT + 1.45.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.62.1-alpha-SNAPSHOT + 0.63.0-alpha 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 a97dff986e0d..9eb516f2cf18 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.44.1-SNAPSHOT + 1.45.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.62.1-alpha-SNAPSHOT + 0.63.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 74cc343290b0..e0f87409f734 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.44.0 + 1.45.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.44.0' +compile 'com.google.cloud:google-cloud-core:1.45.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.45.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3415d5dc2dcb..3ce58840989a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.44.1-SNAPSHOT + 1.45.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.62.1-alpha-SNAPSHOT + 0.63.0-alpha google-cloud-core From 5842694a29c8b282e66156838b784d389753c8e4 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 20 Sep 2018 17:22:25 -0700 Subject: [PATCH 0565/3036] Bump version to 0.63.1-beta-SNAPSHOT (#3714) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 23f1dffe4b0e..8008aa98b1d1 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.45.0 + 1.45.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.63.0-alpha + 0.63.1-alpha-SNAPSHOT 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 9eb516f2cf18..852a1d1eb474 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.45.0 + 1.45.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.63.0-alpha + 0.63.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3ce58840989a..cc4717aee17d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.45.0 + 1.45.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.63.0-alpha + 0.63.1-alpha-SNAPSHOT google-cloud-core From fe59e522bd5b626742a38bdae20898dab43e98fb Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Tue, 25 Sep 2018 10:11:18 -0700 Subject: [PATCH 0566/3036] Add retries to downloadEmulator() to mitigate transient network issues (#3719) * Add retries to downloadEmulator() to mitigate transient network issues --- .../cloud/testing/BaseEmulatorHelper.java | 14 ++++- .../cloud/testing/BaseEmulatorHelperTest.java | 56 +++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 2f90f596467a..841d7e3e0716 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -16,7 +16,10 @@ package com.google.cloud.testing; +import com.google.api.core.CurrentMillisClock; import com.google.api.core.InternalApi; +import com.google.cloud.ExceptionHandler; +import com.google.cloud.RetryHelper; import com.google.cloud.ServiceOptions; import com.google.common.io.CharStreams; import com.google.common.util.concurrent.SettableFuture; @@ -46,6 +49,7 @@ import java.util.List; import java.util.Locale; import java.util.Map; +import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; @@ -366,7 +370,15 @@ public boolean isAvailable() { @Override public void start() throws IOException { - Path emulatorPath = downloadEmulator(); + ExceptionHandler retryOnAnythingExceptionHandler = ExceptionHandler.newBuilder().retryOn(Exception.class).build(); + + Path emulatorPath = RetryHelper.runWithRetries(new Callable() { + @Override + public Path call() throws IOException { + return downloadEmulator(); + } + }, ServiceOptions.getDefaultRetrySettings(), retryOnAnythingExceptionHandler, + CurrentMillisClock.getDefaultClock()); process = CommandWrapper.create() .setCommand(commandText) .setDirectory(emulatorPath) diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java index e8f5ed565fe4..7cb4a4ab078b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -20,9 +20,15 @@ import com.google.cloud.ServiceOptions; import com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner; import com.google.common.collect.ImmutableList; + import java.io.ByteArrayInputStream; +import java.io.EOFException; +import java.io.File; import java.io.IOException; import java.io.InputStream; +import java.net.URL; +import java.net.URLConnection; +import java.net.URLStreamHandler; import java.util.List; import java.util.concurrent.TimeoutException; import java.util.logging.Logger; @@ -96,6 +102,41 @@ public void testEmulatorHelper() throws IOException, InterruptedException, Timeo EasyMock.verify(); } + @Test + public void testEmulatorHelperDownloadWithRetries() throws IOException, InterruptedException, TimeoutException { + String mockExternalForm = "mockExternalForm"; + String mockInputStream = "mockInputStream"; + String mockProtocol = "mockProtocol"; + String mockFile = "mockFile"; + String mockCommandText = "mockCommandText"; + + MockURLStreamHandler mockURLStreamHandler = EasyMock.createMock(MockURLStreamHandler.class); + URLConnection mockURLConnection = EasyMock.mock(URLConnection.class); + + EasyMock.expect(mockURLStreamHandler.toExternalForm(EasyMock.anyObject(URL.class))) + .andReturn(mockExternalForm).anyTimes(); + EasyMock.expect(mockURLConnection.getInputStream()) + .andReturn(new ByteArrayInputStream(mockInputStream.getBytes())).anyTimes(); + EasyMock.expect(mockURLStreamHandler.openConnection(EasyMock.anyObject(URL.class))) + .andThrow(new EOFException()).times(1); + EasyMock.expect(mockURLStreamHandler.openConnection(EasyMock.anyObject(URL.class))) + .andReturn(mockURLConnection).times(1); + EasyMock.replay(mockURLStreamHandler, mockURLConnection); + + URL url = new URL(mockProtocol, null, 0, mockFile, mockURLStreamHandler); + BaseEmulatorHelper.DownloadableEmulatorRunner runner = + new BaseEmulatorHelper.DownloadableEmulatorRunner(ImmutableList.of(mockCommandText), url, null); + + File cachedFile = new File(System.getProperty("java.io.tmpdir"), mockExternalForm); + cachedFile.delete(); //Clear the cached version so we're always testing the download + + runner.start(); + + EasyMock.verify(); + + cachedFile.delete(); //Cleanup + } + @Test public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedException, TimeoutException { Process process = EasyMock.createStrictMock(Process.class); @@ -117,4 +158,19 @@ public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedE helper.stop(Duration.ofMinutes(1)); EasyMock.verify(); } + + /** + * URLStreamHandler has a protected method which needs to be mocked, so we need our own implementation in this package + */ + private class MockURLStreamHandler extends URLStreamHandler { + @Override + protected URLConnection openConnection(URL u) throws IOException { + return null; + } + + @Override + protected String toExternalForm(URL u) { + return null; + } + } } From db804f7ca62cef0fc431614073a4ded4a8aa0ddf Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Tue, 25 Sep 2018 10:49:00 -0700 Subject: [PATCH 0567/3036] Remove dependency on vulnerable version of jackson, upgrade to jackson2 (#3724) --- java-core/google-cloud-core-http/pom.xml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 852a1d1eb474..f9ec6fae85e6 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -66,17 +66,6 @@ - - com.google.http-client - google-http-client-jackson - compile - - - guava-jdk5 - com.google.guava - - - com.google.http-client google-http-client-jackson2 From 29a0a50bfffb281fbe4712dad5bc0f00d09b43bf Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 27 Sep 2018 12:20:32 -0700 Subject: [PATCH 0568/3036] Release 1.46.0/0.64.0 (#3742) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8008aa98b1d1..6441563b2d7a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.45.1-SNAPSHOT + 1.46.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.63.1-alpha-SNAPSHOT + 0.64.0-alpha 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 f9ec6fae85e6..f0689175f97d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.45.1-SNAPSHOT + 1.46.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.63.1-alpha-SNAPSHOT + 0.64.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e0f87409f734..cdf67e3be3bb 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.45.0 + 1.46.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.45.0' +compile 'com.google.cloud:google-cloud-core:1.46.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.45.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.46.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cc4717aee17d..3692027028d0 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.45.1-SNAPSHOT + 1.46.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.63.1-alpha-SNAPSHOT + 0.64.0-alpha google-cloud-core From 989bc901b33ffb401140c526f999849a820bbfe4 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 27 Sep 2018 13:54:34 -0700 Subject: [PATCH 0569/3036] Bump to next snapshot version (#3744) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6441563b2d7a..905a4810c403 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.46.0 + 1.46.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.64.0-alpha + 0.64.1-alpha-SNAPSHOT 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 f0689175f97d..e51a1105e058 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.46.0 + 1.46.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.64.0-alpha + 0.64.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3692027028d0..2464c2de4725 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.46.0 + 1.46.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.64.0-alpha + 0.64.1-alpha-SNAPSHOT google-cloud-core From 213c41178361b60153d01b825f7e2839a0e0841e Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 4 Oct 2018 10:46:45 -0700 Subject: [PATCH 0570/3036] Release 1.47.0/0.65.0 (#3767) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 905a4810c403..eff0492e9419 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.46.1-SNAPSHOT + 1.47.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.64.1-alpha-SNAPSHOT + 0.65.0-alpha 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 e51a1105e058..4b8603390dd8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.46.1-SNAPSHOT + 1.47.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.64.1-alpha-SNAPSHOT + 0.65.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index cdf67e3be3bb..340271f5ef22 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -21,16 +21,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.46.0 + 1.47.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.46.0' +compile 'com.google.cloud:google-cloud-core:1.47.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.46.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.47.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2464c2de4725..c8461d5ae566 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.46.1-SNAPSHOT + 1.47.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.64.1-alpha-SNAPSHOT + 0.65.0-alpha google-cloud-core From 518d7ac88a22b38fa3dabc3851b1d06578ef58b4 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 4 Oct 2018 11:25:08 -0700 Subject: [PATCH 0571/3036] Bump to next snapshot version (#3768) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index eff0492e9419..ee476cdaca77 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.47.0 + 1.47.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.65.0-alpha + 0.65.1-alpha-SNAPSHOT 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 4b8603390dd8..1c0391f18c29 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.47.0 + 1.47.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.65.0-alpha + 0.65.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c8461d5ae566..d60deae6d4de 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.47.0 + 1.47.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.65.0-alpha + 0.65.1-alpha-SNAPSHOT google-cloud-core From d9014d1e4cdcf399e91c7076ab48fa886f877afe Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 4 Oct 2018 13:18:15 -0700 Subject: [PATCH 0572/3036] Remove CircleCI status, coveralls, and version eye badges (#3771) --- java-core/google-cloud-core/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 340271f5ef22..909955666a73 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -3,11 +3,9 @@ Google Cloud Java Client -- Core This module provides common functionality required by service-specific modules of this library. -[![CircleCI](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/tree/master.svg?style=shield)](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-java/tree/master) -[![Coverage Status](https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-java/badge.svg?branch=master)](https://coveralls.io/r/GoogleCloudPlatform/google-cloud-java?branch=master) +[![Kokoro CI](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.svg)](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.html) [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) -[![Dependency Status](https://www.versioneye.com/user/projects/58fe4c8d6ac171426c414772/badge.svg?style=flat)](https://www.versioneye.com/user/projects/58fe4c8d6ac171426c414772) - [Homepage](https://googlecloudplatform.github.io/google-cloud-java/) - [API Documentation](https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) From b638541138557b203ec0a13a06af92391b8149df Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 5 Oct 2018 18:19:23 -0700 Subject: [PATCH 0573/3036] Release google-cloud-java v0.66.0 (#3782) * Release v0.66.0 * Fix javadoc in firestore CollectionReference --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ee476cdaca77..9178de19ac14 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.47.1-SNAPSHOT + 1.48.0 jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.65.1-alpha-SNAPSHOT + 0.66.0-alpha 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 1c0391f18c29..a3971d7ae5bb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.47.1-SNAPSHOT + 1.48.0 jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.65.1-alpha-SNAPSHOT + 0.66.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 909955666a73..cee794fec1c8 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.47.0 + 1.48.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.47.0' +compile 'com.google.cloud:google-cloud-core:1.48.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.47.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.48.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d60deae6d4de..1032abfa509d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.47.1-SNAPSHOT + 1.48.0 jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.65.1-alpha-SNAPSHOT + 0.66.0-alpha google-cloud-core From 29759036dfbbd4b66042f130ca54fc88eed447ad Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Sat, 6 Oct 2018 11:45:23 -0700 Subject: [PATCH 0574/3036] Release v0.66.1-SNAPSHOT (#3784) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9178de19ac14..45e63fc923b3 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.48.0 + 1.48.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.66.0-alpha + 0.66.1-alpha-SNAPSHOT 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 a3971d7ae5bb..6cb0bb748a6e 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.48.0 + 1.48.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.66.0-alpha + 0.66.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1032abfa509d..246a5090da0b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.48.0 + 1.48.1-SNAPSHOT jar Google Cloud Core https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.66.0-alpha + 0.66.1-alpha-SNAPSHOT google-cloud-core From 3c3db6bf4fb91e55b083d507bcf6c3bc1bc50fd0 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 10 Oct 2018 12:06:24 -0700 Subject: [PATCH 0575/3036] Fix urls from GoogleCloudPlatform org to googleapis org (#3793) * Fix urls from GoogleCloudPlatform org to googleapis org * Fix typo --- java-core/google-cloud-core-grpc/pom.xml | 2 +- java-core/google-cloud-core-http/pom.xml | 2 +- java-core/google-cloud-core/README.md | 14 +++++++------- java-core/google-cloud-core/pom.xml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 45e63fc923b3..dc7ae79daf13 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -5,7 +5,7 @@ 1.48.1-SNAPSHOT jar Google Cloud Core gRPC - https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc + https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc Core gRPC module for the google-cloud. diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 6cb0bb748a6e..400624e76ac9 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -5,7 +5,7 @@ 1.48.1-SNAPSHOT jar Google Cloud Core HTTP - https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http + https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http Core http module for the google-cloud. diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index cee794fec1c8..d22edb3d0db8 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -7,8 +7,8 @@ This module provides common functionality required by service-specific modules o [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) -- [Homepage](https://googlecloudplatform.github.io/google-cloud-java/) -- [API Documentation](https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) +- [Homepage](https://googleapis.github.io/google-cloud-java/) +- [API Documentation](https://googleapis.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) Quickstart ---------- @@ -35,7 +35,7 @@ libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.48.0" Troubleshooting --------------- -To get help, follow the instructions in the [shared Troubleshooting document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting). +To get help, follow the instructions in the [shared Troubleshooting document](https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting). Java Versions ------------- @@ -47,7 +47,7 @@ Contributing Contributions to this library are always welcome and highly encouraged. -See `google-cloud`'s [CONTRIBUTING] documentation and the [shared documentation](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started. +See `google-cloud`'s [CONTRIBUTING] documentation and the [shared documentation](https://github.com/googleapis/google-cloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. @@ -64,7 +64,7 @@ License Apache 2.0 - See [LICENSE] for more information. -[CONTRIBUTING]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CONTRIBUTING.md -[code-of-conduct]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[LICENSE]: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/LICENSE +[CONTRIBUTING]:https://github.com/googleapis/google-cloud-java/blob/master/CONTRIBUTING.md +[code-of-conduct]:https://github.com/googleapis/google-cloud-java/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[LICENSE]: https://github.com/googleapis/google-cloud-java/blob/master/LICENSE [cloud-platform]: https://cloud.google.com/ diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 246a5090da0b..f740ddc7e356 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -5,7 +5,7 @@ 1.48.1-SNAPSHOT jar Google Cloud Core - https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core + https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core Core module for the google-cloud. From ca0112fcb6d5cc003a49e409730356e750ef2e0b Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 11 Oct 2018 09:50:15 -0700 Subject: [PATCH 0576/3036] Release v0.67.0 (#3807) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index dc7ae79daf13..00d2ed650018 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.48.1-SNAPSHOT + 1.49.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.66.1-alpha-SNAPSHOT + 0.67.0-alpha 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 400624e76ac9..2030c036f14c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.48.1-SNAPSHOT + 1.49.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.66.1-alpha-SNAPSHOT + 0.67.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d22edb3d0db8..30db66189bcb 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.48.0 + 1.49.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.48.0' +compile 'com.google.cloud:google-cloud-core:1.49.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.48.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.49.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f740ddc7e356..d6dfc8ca6740 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.48.1-SNAPSHOT + 1.49.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.66.1-alpha-SNAPSHOT + 0.67.0-alpha google-cloud-core From aa7c2426d8eb41b64afbcfb764b3521207312dc2 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 11 Oct 2018 13:31:41 -0700 Subject: [PATCH 0577/3036] Bump next snapshot (#3810) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 00d2ed650018..6eb3118a5419 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.49.0 + 1.49.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.67.0-alpha + 0.67.1-alpha-SNAPSHOT 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 2030c036f14c..17edd2539488 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.49.0 + 1.49.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.67.0-alpha + 0.67.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d6dfc8ca6740..4870789a8018 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.49.0 + 1.49.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.67.0-alpha + 0.67.1-alpha-SNAPSHOT google-cloud-core From 9823605aeff0cfb36bfa48e3f5ec4b8b7bb8b9b5 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 25 Oct 2018 12:18:15 -0700 Subject: [PATCH 0578/3036] Release v0.68.0 (#3857) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6eb3118a5419..4e3ed5400eeb 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.49.1-SNAPSHOT + 1.50.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.67.1-alpha-SNAPSHOT + 0.68.0-alpha 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 17edd2539488..098cc6a2e0d0 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.49.1-SNAPSHOT + 1.50.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.67.1-alpha-SNAPSHOT + 0.68.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 30db66189bcb..f225b8855567 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.49.0 + 1.50.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.49.0' +compile 'com.google.cloud:google-cloud-core:1.50.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.49.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.50.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4870789a8018..cd3584eceacc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.49.1-SNAPSHOT + 1.50.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.67.1-alpha-SNAPSHOT + 0.68.0-alpha google-cloud-core From f76261bfe590f3ab9b7395397d24037f46e58d8f Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 25 Oct 2018 15:46:37 -0700 Subject: [PATCH 0579/3036] Bump next snapshot (#3862) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4e3ed5400eeb..70d5333bfbf3 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.50.0 + 1.50.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.68.0-alpha + 0.68.1-alpha-SNAPSHOT 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 098cc6a2e0d0..55e7c2022eb4 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.50.0 + 1.50.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.68.0-alpha + 0.68.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cd3584eceacc..18d48f6b95a2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.50.0 + 1.50.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.68.0-alpha + 0.68.1-alpha-SNAPSHOT google-cloud-core From c617b8d8e644ab5dd2b582dc9bfe9cc9344b4069 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 1 Nov 2018 13:47:10 -0700 Subject: [PATCH 0580/3036] Release v0.69.0 (#3890) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 70d5333bfbf3..a8e3e5194931 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.50.1-SNAPSHOT + 1.51.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.68.1-alpha-SNAPSHOT + 0.69.0-alpha 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 55e7c2022eb4..eb97d9e61b5f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.50.1-SNAPSHOT + 1.51.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.68.1-alpha-SNAPSHOT + 0.69.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index f225b8855567..81c52fc6e2c4 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.50.0 + 1.51.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.50.0' +compile 'com.google.cloud:google-cloud-core:1.51.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.50.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.51.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 18d48f6b95a2..f641464f4ca8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.50.1-SNAPSHOT + 1.51.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.68.1-alpha-SNAPSHOT + 0.69.0-alpha google-cloud-core From 5b65c0375e1ec323c01a769d00e67378a4a24f0e Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 1 Nov 2018 14:19:43 -0700 Subject: [PATCH 0581/3036] Bump next snapshot (#3892) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a8e3e5194931..d1bebe0c2c05 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.51.0 + 1.51.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.69.0-alpha + 0.69.1-alpha-SNAPSHOT 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 eb97d9e61b5f..63af872b1c4a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.51.0 + 1.51.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.69.0-alpha + 0.69.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f641464f4ca8..df9fa24db825 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.51.0 + 1.51.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.69.0-alpha + 0.69.1-alpha-SNAPSHOT google-cloud-core From 1c15a2ec0bcd46c417dc4e58b7d4a493de8f6561 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 7 Nov 2018 15:33:45 -0800 Subject: [PATCH 0582/3036] Release google-cloud-java v0.70.0 (#3921) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d1bebe0c2c05..95983b1c55db 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.51.1-SNAPSHOT + 1.52.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.69.1-alpha-SNAPSHOT + 0.70.0-alpha 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 63af872b1c4a..24ff3f0c8eba 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.51.1-SNAPSHOT + 1.52.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.69.1-alpha-SNAPSHOT + 0.70.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 81c52fc6e2c4..74cef784d2d4 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.51.0 + 1.52.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.51.0' +compile 'com.google.cloud:google-cloud-core:1.52.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.51.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.52.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index df9fa24db825..6b4b63810087 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.51.1-SNAPSHOT + 1.52.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.69.1-alpha-SNAPSHOT + 0.70.0-alpha google-cloud-core From 6c015cea1a040017b01919590df4bee80e0f60bc Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 7 Nov 2018 15:36:43 -0800 Subject: [PATCH 0583/3036] Bump next snapshot (#3922) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 95983b1c55db..d72622d31187 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.52.0 + 1.52.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.70.0-alpha + 0.70.1-alpha-SNAPSHOT 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 24ff3f0c8eba..650cf7423502 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.52.0 + 1.52.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.70.0-alpha + 0.70.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6b4b63810087..4ca795db6dbc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.52.0 + 1.52.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.70.0-alpha + 0.70.1-alpha-SNAPSHOT google-cloud-core From c1abb19e95f8dad8faaabbe71c87a722a2227917 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 15 Nov 2018 16:52:33 -0800 Subject: [PATCH 0584/3036] Release v0.71.0 (#3978) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d72622d31187..70b451a19e8d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.52.1-SNAPSHOT + 1.53.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.70.1-alpha-SNAPSHOT + 0.71.0-alpha 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 650cf7423502..4730f3111d31 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.52.1-SNAPSHOT + 1.53.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.70.1-alpha-SNAPSHOT + 0.71.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 74cef784d2d4..674ac3916bb7 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.52.0 + 1.53.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.52.0' +compile 'com.google.cloud:google-cloud-core:1.53.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.53.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4ca795db6dbc..27db3e887987 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.52.1-SNAPSHOT + 1.53.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.70.1-alpha-SNAPSHOT + 0.71.0-alpha google-cloud-core From 63b019c6f83c2a408d2d674322bdfada539031e4 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 16 Nov 2018 09:43:35 -0800 Subject: [PATCH 0585/3036] Bump next snapshot (#3981) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 70b451a19e8d..5264b77d3578 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.53.0 + 1.53.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.71.0-alpha + 0.71.1-alpha-SNAPSHOT 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 4730f3111d31..fea01bc994bb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.53.0 + 1.53.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.71.0-alpha + 0.71.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 27db3e887987..6f69bc1680ef 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.53.0 + 1.53.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.71.0-alpha + 0.71.1-alpha-SNAPSHOT google-cloud-core From 71d44e083058f0b9c3a7209482a1cad350299481 Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Thu, 29 Nov 2018 00:56:38 +0530 Subject: [PATCH 0586/3036] Add missing fields on MonitoredResourceUtil (#3887) * added missing fields #3559 * Fix indentation --- .../src/main/java/com/google/cloud/MetadataConfig.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index 9b1ee3ffc635..85d2418455ca 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -57,6 +57,14 @@ public static String getClusterName() { return getAttribute("instance/attributes/cluster-name"); } + public static String getContainerName(){ + return getAttribute("instance/attributes/container-name"); + } + + public static String getNamespaceId(){ + return getAttribute("instance/attributes/namespace-id"); + } + public static String getAttribute(String attributeName) { try { URL url = new URL(METADATA_URL + attributeName); From ce5182567df59ef8ff95712f1ae1018d1723fd06 Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Thu, 29 Nov 2018 01:01:51 +0530 Subject: [PATCH 0587/3036] Add helpers to convert core Date class with java.util.Date class (#3911) * #3157 add methods toDate, fromDate * resolved test case Date.getYear() * update as per feedback * Update javadoc string --- .../src/main/java/com/google/cloud/Date.java | 41 +++++++++++++++++-- .../test/java/com/google/cloud/DateTest.java | 25 ++++++++++- 2 files changed, 62 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java index 044a7ca72bf6..002ef84cdfa9 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -16,14 +16,15 @@ package com.google.cloud; -import com.google.api.core.BetaApi; -import com.google.common.base.Preconditions; - import java.io.Serializable; +import java.util.Calendar; import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; +import com.google.api.core.BetaApi; +import com.google.common.base.Preconditions; + /** * Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ @@ -69,6 +70,40 @@ public static Date parseDate(String date) { return new Date(year, month, dayOfMonth); } + /** + * Convert a Google Date to a Java Util Date. + * + * @param date the date of the Google Date. + * @return java.util.Date + */ + public static java.util.Date toJavaUtilDate(Date date) { + Calendar cal = Calendar.getInstance(); + cal.set(Calendar.HOUR_OF_DAY, 0); + cal.set(Calendar.MINUTE, 0); + cal.set(Calendar.SECOND, 0); + cal.set(Calendar.MILLISECOND, 0); + // Calender.MONTH starts from 0 while G C date starts from 1 + cal.set(date.year, date.month - 1, date.dayOfMonth); + return cal.getTime(); + } + + /** + * Convert a Java Util Date to a Google Date. + * + * @param date the date of the java.util.Date + * @return Google Java Date + */ + public static Date fromJavaUtilDate(java.util.Date date) { + Calendar cal = Calendar.getInstance(); + cal.setTime(date); + cal.set(Calendar.HOUR_OF_DAY, 0); + cal.set(Calendar.MINUTE, 0); + cal.set(Calendar.SECOND, 0); + cal.set(Calendar.MILLISECOND, 0); + // Calender.MONTH starts from 0 while G C date starts from 1 + return new Date(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)); + } + /** Returns the year. */ public int getYear() { return year; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java index 3c2817a92c68..31dbf6416bbc 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -19,15 +19,21 @@ import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static com.google.common.truth.Truth.assertThat; -import com.google.common.testing.EqualsTester; +import java.text.ParseException; +import java.text.SimpleDateFormat; + import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; +import com.google.common.testing.EqualsTester; + /** Unit tests for {@link Date}. */ @RunWith(JUnit4.class) public class DateTest { + private static final SimpleDateFormat SIMPLE_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd"); + @Test public void parseDate() { Date date = Date.parseDate("2016-09-18"); @@ -71,6 +77,23 @@ public void serialization() { reserializeAndAssert(Date.fromYearMonthDay(2017, 4, 20)); } + @Test + public void testToJavaUtilDate() throws ParseException { + Date gcDate = Date.parseDate("2016-09-18"); + java.util.Date juDate1 = SIMPLE_DATE_FORMAT.parse("2016-09-18"); + java.util.Date juDate2 = Date.toJavaUtilDate(gcDate); + assertThat(juDate1).isEqualTo(juDate2); + } + + @Test + public void testFromJavaUtilDate() throws ParseException { + java.util.Date juDate = SIMPLE_DATE_FORMAT.parse("2016-09-18"); + Date gcDate = Date.fromJavaUtilDate(juDate); + assertThat(gcDate.getYear()).isEqualTo(2016); + assertThat(gcDate.getMonth()).isEqualTo(9); + assertThat(gcDate.getDayOfMonth()).isEqualTo(18); + } + private void assertDescending(Date... dates) { for (int i = 0; i < dates.length - 1; i++) { assertThat(dates[i]).isEquivalentAccordingToCompareTo(dates[i]); From e1326e2abde0ec7a702aa4df8bc20c74d0aa825e Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Wed, 28 Nov 2018 15:25:45 -0800 Subject: [PATCH 0588/3036] Release v0.72.0 (#4113) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5264b77d3578..8e3fd52b842a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.53.1-SNAPSHOT + 1.54.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.71.1-alpha-SNAPSHOT + 0.72.0-alpha 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 fea01bc994bb..4cdd78fdeb8b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.53.1-SNAPSHOT + 1.54.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.71.1-alpha-SNAPSHOT + 0.72.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 674ac3916bb7..459a26379bb4 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.53.0 + 1.54.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.53.0' +compile 'com.google.cloud:google-cloud-core:1.54.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.53.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.54.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6f69bc1680ef..e4d1cb3ff03c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.53.1-SNAPSHOT + 1.54.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.71.1-alpha-SNAPSHOT + 0.72.0-alpha google-cloud-core From 03634d0adeaa74873f2e3776edc3a41a86d4f436 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 29 Nov 2018 14:28:50 -0800 Subject: [PATCH 0589/3036] Bump next snapshot (#4118) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8e3fd52b842a..f2aa52050930 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.54.0 + 1.54.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.72.0-alpha + 0.72.1-alpha-SNAPSHOT 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 4cdd78fdeb8b..90118266553c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.54.0 + 1.54.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.72.0-alpha + 0.72.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e4d1cb3ff03c..82fdd524124c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.54.0 + 1.54.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.72.0-alpha + 0.72.1-alpha-SNAPSHOT google-cloud-core From 599443e7ab9e71ce5ab49cc2ff49d7d5baaa40f7 Mon Sep 17 00:00:00 2001 From: elisheva-qlogic <43041115+elisheva-qlogic@users.noreply.github.com> Date: Thu, 29 Nov 2018 17:30:15 -0500 Subject: [PATCH 0590/3036] Make TestServiceFactory and TestServiceRpcFactory interfaces public (#4112) --- .../src/test/java/com/google/cloud/ServiceOptionsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index ee957a625f3c..55d90b6510ec 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -180,7 +180,7 @@ private TestServiceImpl(TestServiceOptions options) { } } - private interface TestServiceFactory extends ServiceFactory {} + public interface TestServiceFactory extends ServiceFactory {} private static class DefaultTestServiceFactory implements TestServiceFactory { private static final TestServiceFactory INSTANCE = new DefaultTestServiceFactory(); @@ -191,7 +191,7 @@ public TestService create(TestServiceOptions options) { } } - private interface TestServiceRpcFactory + public interface TestServiceRpcFactory extends ServiceRpcFactory {} private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { From 3002b7909e936d94a3a3a3351f3c38671825990e Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 29 Nov 2018 16:14:56 -0800 Subject: [PATCH 0591/3036] Java 11 compatibility (#3821) * Add the javax.annotation-api as a compile scope to the google-api-grpc projects * Upgrade maven-compiler-plugin 3.5.1->3.7.0 and maven-jar-plugin 2.6->3.1.0 * Add annotation-api compile dependency to google-cloud-clients * Fix objensis version 3.1.0->2.6 * Fix service option test visibility * Temporarily using Java 7 build to test Java 11 * Restore the java 7 test to use the java 7 image --- .../src/test/java/com/google/cloud/ServiceOptionsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 55d90b6510ec..cbb4dd04f127 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -171,7 +171,7 @@ public long millisTime() { } } - private interface TestService extends Service {} + interface TestService extends Service {} private static class TestServiceImpl extends BaseService implements TestService { @@ -209,7 +209,7 @@ private static class DefaultTestServiceRpc implements TestServiceRpc { DefaultTestServiceRpc(TestServiceOptions options) {} } - private static class TestServiceOptions + static class TestServiceOptions extends ServiceOptions { private static class Builder extends ServiceOptions.Builder { From 2072a8c899f147b55e5f05fa6ce4296575cbb472 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 30 Nov 2018 11:29:29 -0800 Subject: [PATCH 0592/3036] Run google-java-format on all artifacts (#4121) * Run google-java-format on all artifats * Format some missed files * Add more missed files * Fix formatting issues from the merge --- .../cloud/grpc/BaseGrpcServiceException.java | 42 ++--- .../cloud/grpc/GrpcTransportOptions.java | 56 +++---- .../grpc/BaseGrpcServiceExceptionTest.java | 2 - .../cloud/grpc/GrpcTransportOptionsTest.java | 15 +- .../cloud/http/BaseHttpServiceException.java | 68 ++++---- .../google/cloud/http/CensusHttpModule.java | 35 ++--- .../cloud/http/HttpTransportOptions.java | 37 ++--- .../http/BaseHttpServiceExceptionTest.java | 26 ++-- .../cloud/http/CensusHttpModuleTest.java | 42 ++--- .../cloud/http/HttpTransportOptionsTest.java | 21 +-- .../java/com/google/cloud/AsyncPageImpl.java | 8 +- .../java/com/google/cloud/BaseService.java | 43 +++--- .../google/cloud/BaseServiceException.java | 64 ++++---- .../com/google/cloud/BaseWriteChannel.java | 40 ++--- .../java/com/google/cloud/BatchResult.java | 30 ++-- .../main/java/com/google/cloud/ByteArray.java | 33 +--- .../src/main/java/com/google/cloud/Date.java | 12 +- .../com/google/cloud/ExceptionHandler.java | 53 +++---- .../java/com/google/cloud/FieldSelector.java | 38 +++-- .../java/com/google/cloud/GcpLaunchStage.java | 13 +- .../main/java/com/google/cloud/Identity.java | 91 ++++------- .../java/com/google/cloud/MetadataConfig.java | 14 +- .../com/google/cloud/MonitoredResource.java | 58 ++----- .../cloud/MonitoredResourceDescriptor.java | 75 ++++----- .../main/java/com/google/cloud/PageImpl.java | 8 +- .../main/java/com/google/cloud/Policy.java | 88 +++++------ .../java/com/google/cloud/ReadChannel.java | 6 +- .../java/com/google/cloud/Restorable.java | 6 +- .../com/google/cloud/RestorableState.java | 4 +- .../java/com/google/cloud/RetryHelper.java | 28 ++-- .../java/com/google/cloud/RetryOption.java | 2 +- .../com/google/cloud/ServiceDefaults.java | 5 +- .../java/com/google/cloud/ServiceFactory.java | 4 +- .../java/com/google/cloud/ServiceOptions.java | 125 +++++++-------- .../java/com/google/cloud/ServiceRpc.java | 4 +- .../java/com/google/cloud/StringEnumType.java | 18 +-- .../com/google/cloud/StringEnumValue.java | 8 +- .../main/java/com/google/cloud/Timestamp.java | 2 +- .../com/google/cloud/TransportOptions.java | 7 +- .../java/com/google/cloud/WriteChannel.java | 8 +- .../java/com/google/cloud/package-info.java | 4 +- .../cloud/testing/BaseEmulatorHelper.java | 146 ++++++++---------- .../testing/BlockingProcessStreamReader.java | 11 +- .../google/cloud/testing/CommandWrapper.java | 4 +- .../com/google/cloud/testing/Version.java | 5 +- .../com/google/cloud/AsyncPageImplTest.java | 19 +-- .../google/cloud/BaseSerializationTest.java | 21 +-- .../cloud/BaseServiceExceptionTest.java | 27 ++-- .../google/cloud/BaseWriteChannelTest.java | 34 ++-- .../java/com/google/cloud/ByteArrayTest.java | 6 +- .../test/java/com/google/cloud/DateTest.java | 4 +- .../google/cloud/ExceptionHandlerTest.java | 105 +++++++------ .../google/cloud/FieldSelectorHelperTest.java | 52 ++++--- .../java/com/google/cloud/IdentityTest.java | 6 - .../MonitoredResourceDescriptorTest.java | 22 ++- .../google/cloud/MonitoredResourceTest.java | 54 ++++--- .../java/com/google/cloud/PageImplTest.java | 8 +- .../java/com/google/cloud/PolicyTest.java | 65 ++++---- .../com/google/cloud/RetryOptionTest.java | 2 - .../test/java/com/google/cloud/RoleTest.java | 1 - .../com/google/cloud/SerializationTest.java | 51 +++--- .../com/google/cloud/ServiceOptionsTest.java | 99 ++++++------ .../java/com/google/cloud/StringEnumTest.java | 20 +-- .../java/com/google/cloud/TimestampTest.java | 2 +- .../cloud/testing/BaseEmulatorHelperTest.java | 29 ++-- .../BlockingProcessStreamReaderTest.java | 57 +++---- .../cloud/testing/CommandWrapperTest.java | 4 +- .../com/google/cloud/testing/VersionTest.java | 3 +- 68 files changed, 938 insertions(+), 1162 deletions(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java index bf7581ec41a3..dffa4d37ee63 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java @@ -19,24 +19,26 @@ import com.google.api.client.http.HttpResponseException; import com.google.api.core.BetaApi; import com.google.api.core.InternalApi; -import com.google.api.gax.grpc.GrpcStatusCode; import com.google.api.gax.rpc.ApiException; import com.google.cloud.BaseServiceException; import com.google.common.base.MoreObjects; import java.io.IOException; import java.util.Collections; -/** - * Base class for all exceptions from grpc-based services. - */ +/** Base class for all exceptions from grpc-based services. */ public class BaseGrpcServiceException extends BaseServiceException { private static final long serialVersionUID = -2685197215731335549L; @InternalApi("This class should only be extended within google-cloud-java") protected BaseGrpcServiceException(String message, Throwable cause, int code, boolean retryable) { - super(ExceptionData.newBuilder().setMessage(message).setCause(cause).setCode(code) - .setRetryable(retryable).build()); + super( + ExceptionData.newBuilder() + .setMessage(message) + .setCause(cause) + .setCode(code) + .setRetryable(retryable) + .build()); } @InternalApi("This class should only be extended within google-cloud-java") @@ -51,14 +53,15 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id // In cases where an exception is an instance of HttpResponseException, // check the status code to determine whether it's retryable code = ((HttpResponseException) exception).getStatusCode(); - retryable = BaseServiceException - .isRetryable(code, null, idempotent, Collections.emptySet()); + retryable = + BaseServiceException.isRetryable(code, null, idempotent, Collections.emptySet()); } return ExceptionData.newBuilder() .setMessage(exception.getMessage()) .setCause(exception) - .setRetryable(MoreObjects - .firstNonNull(retryable, BaseServiceException.isRetryable(idempotent, exception))) + .setRetryable( + MoreObjects.firstNonNull( + retryable, BaseServiceException.isRetryable(idempotent, exception))) .setCode(code) .setReason(null) .setLocation(null) @@ -68,14 +71,15 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id @BetaApi public BaseGrpcServiceException(ApiException apiException) { - super(ExceptionData.newBuilder() - .setMessage(apiException.getMessage()) - .setCause(apiException) - .setRetryable(apiException.isRetryable()) - .setCode(apiException.getStatusCode().getCode().getHttpStatusCode()) - .setReason(apiException.getStatusCode().getCode().name()) - .setLocation(null) - .setDebugInfo(null) - .build()); + super( + ExceptionData.newBuilder() + .setMessage(apiException.getMessage()) + .setCause(apiException) + .setRetryable(apiException.isRetryable()) + .setCode(apiException.getStatusCode().getCode().getHttpStatusCode()) + .setReason(apiException.getStatusCode().getCode().name()) + .setLocation(null) + .setDebugInfo(null) + .build()); } } diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index e8a3bf0a5505..b003607d9775 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -41,10 +41,7 @@ import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; -/** - * Class representing service options for those services that use gRPC as the transport - * layer. - */ +/** Class representing service options for those services that use gRPC as the transport layer. */ public class GrpcTransportOptions implements TransportOptions { private static final long serialVersionUID = -9049538465533951165L; @@ -52,9 +49,7 @@ public class GrpcTransportOptions implements TransportOptions { private transient ExecutorFactory executorFactory; - /** - * Shared thread pool executor. - */ + /** Shared thread pool executor. */ private static final Resource EXECUTOR = new Resource() { @Override @@ -75,8 +70,8 @@ public void close(ScheduledExecutorService instance) { /** * An interface for {@link ExecutorService} factories. Implementations of this interface can be * used to provide an user-defined executor to execute requests. Any implementation of this - * interface must override the {@code get()} method to return the desired executor. The - * {@code release(executor)} method should be overriden to free resources used by the executor (if + * interface must override the {@code get()} method to return the desired executor. The {@code + * release(executor)} method should be overriden to free resources used by the executor (if * needed) according to application's logic. * *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation @@ -86,14 +81,10 @@ public void close(ScheduledExecutorService instance) { */ public interface ExecutorFactory { - /** - * Gets an executor service instance. - */ + /** Gets an executor service instance. */ T get(); - /** - * Releases resources used by the executor and possibly shuts it down. - */ + /** Releases resources used by the executor and possibly shuts it down. */ void release(T executor); } @@ -113,9 +104,7 @@ public synchronized void release(ScheduledExecutorService executor) { } } - /** - * Builder for {@code GrpcTransportOptions}. - */ + /** Builder for {@code GrpcTransportOptions}. */ public static class Builder { private ExecutorFactory executorFactory; @@ -144,45 +133,42 @@ public Builder setExecutorFactory(ExecutorFactory exec @SuppressWarnings("unchecked") private GrpcTransportOptions(Builder builder) { - executorFactory = firstNonNull(builder.executorFactory, - ServiceOptions.getFromServiceLoader(ExecutorFactory.class, DefaultExecutorFactory.INSTANCE)); + executorFactory = + firstNonNull( + builder.executorFactory, + ServiceOptions.getFromServiceLoader( + ExecutorFactory.class, DefaultExecutorFactory.INSTANCE)); executorFactoryClassName = executorFactory.getClass().getName(); } - /** - * Returns a scheduled executor service provider. - */ + /** Returns a scheduled executor service provider. */ public ExecutorFactory getExecutorFactory() { return executorFactory; } - /** - * Returns a builder for API call settings. - */ + /** Returns a builder for API call settings. */ @Deprecated public UnaryCallSettings.Builder getApiCallSettings(RetrySettings retrySettings) { return UnaryCallSettings.newUnaryCallSettingsBuilder().setRetrySettings(retrySettings); } - /** - * Returns a channel provider from the given default provider. - */ + /** Returns a channel provider from the given default provider. */ @BetaApi public static TransportChannelProvider setUpChannelProvider( - InstantiatingGrpcChannelProvider.Builder providerBuilder, ServiceOptions serviceOptions) { + InstantiatingGrpcChannelProvider.Builder providerBuilder, + ServiceOptions serviceOptions) { providerBuilder.setEndpoint(serviceOptions.getHost()); return providerBuilder.build(); } public static CredentialsProvider setUpCredentialsProvider(ServiceOptions serviceOptions) { Credentials scopedCredentials = serviceOptions.getScopedCredentials(); - if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { - return FixedCredentialsProvider.create(scopedCredentials); - } - return NoCredentialsProvider.create(); + if (scopedCredentials != null && scopedCredentials != NoCredentials.getInstance()) { + return FixedCredentialsProvider.create(scopedCredentials); + } + return NoCredentialsProvider.create(); } - public Builder toBuilder() { return new Builder(this); } diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java index 37acc1cf84f8..696de60c550c 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java @@ -26,7 +26,6 @@ import static org.junit.Assert.assertTrue; import com.google.api.gax.grpc.GrpcStatusCode; -import com.google.api.gax.rpc.ApiException; import com.google.api.gax.rpc.InternalException; import com.google.cloud.BaseServiceException; import com.google.cloud.RetryHelper; @@ -104,5 +103,4 @@ public void testTranslateAndThrow() throws Exception { verify(exceptionMock); } } - } diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java index 8d60ef3f6864..b51eab96ce89 100644 --- a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java @@ -31,9 +31,8 @@ public class GrpcTransportOptionsTest { private static final ExecutorFactory MOCK_EXECUTOR_FACTORY = EasyMock.createMock(ExecutorFactory.class); - private static final GrpcTransportOptions OPTIONS = GrpcTransportOptions.newBuilder() - .setExecutorFactory(MOCK_EXECUTOR_FACTORY) - .build(); + private static final GrpcTransportOptions OPTIONS = + GrpcTransportOptions.newBuilder().setExecutorFactory(MOCK_EXECUTOR_FACTORY).build(); private static final GrpcTransportOptions DEFAULT_OPTIONS = GrpcTransportOptions.newBuilder().build(); private static final GrpcTransportOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); @@ -48,9 +47,8 @@ public void testBuilder() { public void testBaseEquals() { assertEquals(OPTIONS, OPTIONS_COPY); assertNotEquals(DEFAULT_OPTIONS, OPTIONS); - GrpcTransportOptions options = OPTIONS.toBuilder() - .setExecutorFactory(new DefaultExecutorFactory()) - .build(); + GrpcTransportOptions options = + OPTIONS.toBuilder().setExecutorFactory(new DefaultExecutorFactory()).build(); assertNotEquals(OPTIONS, options); } @@ -58,9 +56,8 @@ public void testBaseEquals() { public void testBaseHashCode() { assertEquals(OPTIONS.hashCode(), OPTIONS_COPY.hashCode()); assertNotEquals(DEFAULT_OPTIONS.hashCode(), OPTIONS.hashCode()); - GrpcTransportOptions options = OPTIONS.toBuilder() - .setExecutorFactory(new DefaultExecutorFactory()) - .build(); + GrpcTransportOptions options = + OPTIONS.toBuilder().setExecutorFactory(new DefaultExecutorFactory()).build(); assertNotEquals(OPTIONS.hashCode(), options.hashCode()); } diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java index 5ece1a7101a7..26f43b276f03 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java @@ -25,22 +25,20 @@ import java.io.IOException; import java.util.Set; -/** - * Base class for all exceptions from http-based services. - */ +/** Base class for all exceptions from http-based services. */ public class BaseHttpServiceException extends BaseServiceException { private static final long serialVersionUID = -5793034110344127954L; public static final int UNKNOWN_CODE = 0; @InternalApi("This class should only be extended within google-cloud-java") - protected BaseHttpServiceException(IOException exception, boolean idempotent, - Set retryableErrors) { + protected BaseHttpServiceException( + IOException exception, boolean idempotent, Set retryableErrors) { super(makeExceptionData(exception, idempotent, retryableErrors)); } - private static ExceptionData makeExceptionData(IOException exception, boolean idempotent, - Set retryableErrors) { + private static ExceptionData makeExceptionData( + IOException exception, boolean idempotent, Set retryableErrors) { int code = UNKNOWN_CODE; String reason = null; String location = null; @@ -50,8 +48,8 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id if (exception instanceof GoogleJsonResponseException) { GoogleJsonError jsonError = ((GoogleJsonResponseException) exception).getDetails(); if (jsonError != null) { - BaseServiceException.Error error = new BaseServiceException.Error(jsonError.getCode(), - reason(jsonError)); + BaseServiceException.Error error = + new BaseServiceException.Error(jsonError.getCode(), reason(jsonError)); code = error.getCode(); reason = error.getReason(); retryable = error.isRetryable(idempotent, retryableErrors); @@ -66,7 +64,8 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id } } else { // In cases where an exception is an instance of HttpResponseException but not - // an instance of GoogleJsonResponseException, check the status code to determine whether it's retryable + // an instance of GoogleJsonResponseException, check the status code to determine whether + // it's retryable code = ((HttpResponseException) exception).getStatusCode(); retryable = BaseServiceException.isRetryable(code, null, idempotent, retryableErrors); } @@ -74,8 +73,9 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id return ExceptionData.newBuilder() .setMessage(message(exception)) .setCause(exception) - .setRetryable(MoreObjects - .firstNonNull(retryable, BaseServiceException.isRetryable(idempotent, exception))) + .setRetryable( + MoreObjects.firstNonNull( + retryable, BaseServiceException.isRetryable(idempotent, exception))) .setCode(code) .setReason(reason) .setLocation(location) @@ -84,12 +84,16 @@ private static ExceptionData makeExceptionData(IOException exception, boolean id } @InternalApi("This class should only be extended within google-cloud-java") - protected BaseHttpServiceException(GoogleJsonError googleJsonError, boolean idempotent, + protected BaseHttpServiceException( + GoogleJsonError googleJsonError, + boolean idempotent, Set retryableErrors) { super(makeExceptionData(googleJsonError, idempotent, retryableErrors)); } - private static ExceptionData makeExceptionData(GoogleJsonError googleJsonError, boolean idempotent, + private static ExceptionData makeExceptionData( + GoogleJsonError googleJsonError, + boolean idempotent, Set retryableErrors) { int code = googleJsonError.getCode(); String reason = reason(googleJsonError); @@ -113,23 +117,34 @@ private static ExceptionData makeExceptionData(GoogleJsonError googleJsonError, } @InternalApi("This class should only be extended within google-cloud-java") - protected BaseHttpServiceException(int code, String message, String reason, boolean idempotent, + protected BaseHttpServiceException( + int code, + String message, + String reason, + boolean idempotent, Set retryableErrors) { this(code, message, reason, idempotent, retryableErrors, null); } @InternalApi("This class should only be extended within google-cloud-java") - protected BaseHttpServiceException(int code, String message, String reason, boolean idempotent, - Set retryableErrors, Throwable cause) { - super(ExceptionData.newBuilder() - .setMessage(message) - .setCause(cause) - .setRetryable(BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors)) - .setCode(code) - .setReason(reason) - .setLocation(null) - .setDebugInfo(null) - .build()); + protected BaseHttpServiceException( + int code, + String message, + String reason, + boolean idempotent, + Set retryableErrors, + Throwable cause) { + super( + ExceptionData.newBuilder() + .setMessage(message) + .setCause(cause) + .setRetryable( + BaseServiceException.isRetryable(code, reason, idempotent, retryableErrors)) + .setCode(code) + .setReason(reason) + .setLocation(null) + .setDebugInfo(null) + .build()); } private static String reason(GoogleJsonError error) { @@ -148,5 +163,4 @@ private static String message(IOException exception) { } return exception.getMessage(); } - } diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java index 0eb882e193f8..d141507cc09b 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java @@ -17,6 +17,7 @@ package com.google.cloud.http; import static com.google.common.base.Preconditions.checkNotNull; + import com.google.api.client.http.HttpExecuteInterceptor; import com.google.api.client.http.HttpHeaders; import com.google.api.client.http.HttpRequest; @@ -36,33 +37,23 @@ public final class CensusHttpModule { /** - * OpenCensus tracing component. - * When no OpenCensus implementation is provided, it will return a no-op tracer. + * OpenCensus tracing component. When no OpenCensus implementation is provided, it will return a + * no-op tracer. */ private final Tracer tracer; - /** - * {@link TextFormat} used in tracing context propagation. - */ - @Nullable - private final TextFormat propagationTextFormat; + /** {@link TextFormat} used in tracing context propagation. */ + @Nullable private final TextFormat propagationTextFormat; - /** - * {@link TextFormat.Setter} for {@link #propagationTextFormat}. - */ - @Nullable - private final TextFormat.Setter propagationTextFormatSetter; + /** {@link TextFormat.Setter} for {@link #propagationTextFormat}. */ + @Nullable private final TextFormat.Setter propagationTextFormatSetter; - /** - * Whether spans are stored locally. - */ + /** Whether spans are stored locally. */ private final boolean isRecordEvents; - /** - * Default HTTP propagation text formatter. - */ + /** Default HTTP propagation text formatter. */ @VisibleForTesting - final static class DefaultPropagationTextFormatSetter extends TextFormat.Setter { + static final class DefaultPropagationTextFormatSetter extends TextFormat.Setter { static final TextFormat.Setter INSTANCE = new DefaultPropagationTextFormatSetter(); @Override @@ -77,8 +68,7 @@ public void put(HttpHeaders carrier, String key, String value) { */ @VisibleForTesting final class CensusHttpExecuteInterceptor implements HttpExecuteInterceptor { - @Nullable - HttpExecuteInterceptor interceptor; + @Nullable HttpExecuteInterceptor interceptor; CensusHttpExecuteInterceptor(HttpExecuteInterceptor interceptor) { this.interceptor = interceptor; @@ -106,8 +96,7 @@ public void intercept(HttpRequest request) throws IOException { */ @VisibleForTesting final class CensusHttpRequestInitializer implements HttpRequestInitializer { - @Nullable - HttpRequestInitializer initializer; + @Nullable HttpRequestInitializer initializer; CensusHttpRequestInitializer(HttpRequestInitializer initializer) { this.initializer = initializer; diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 6b7ec6ed0588..6802e50549af 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -38,10 +38,7 @@ import java.io.ObjectInputStream; import java.util.Objects; -/** - * Class representing service options for those services that use HTTP as the transport - * layer. - */ +/** Class representing service options for those services that use HTTP as the transport layer. */ public class HttpTransportOptions implements TransportOptions { private static final long serialVersionUID = 7890117765045419810L; @@ -69,9 +66,7 @@ public HttpTransport create() { } } - /** - * Builder for {@code HttpTransportOptions}. - */ + /** Builder for {@code HttpTransportOptions}. */ public static class Builder { private HttpTransportFactory httpTransportFactory; @@ -104,7 +99,7 @@ public Builder setHttpTransportFactory(HttpTransportFactory httpTransportFactory * Sets the timeout in milliseconds to establish a connection. * * @param connectTimeout connection timeout in milliseconds. 0 for an infinite timeout, a - * negative number for the default value (20000). + * negative number for the default value (20000). * @return the builder */ public Builder setConnectTimeout(int connectTimeout) { @@ -116,7 +111,7 @@ public Builder setConnectTimeout(int connectTimeout) { * Sets the timeout in milliseconds to read data from an established connection. * * @param readTimeout read timeout in milliseconds. 0 for an infinite timeout, a negative number - * for the default value (20000). + * for the default value (20000). * @return the builder */ public Builder setReadTimeout(int readTimeout) { @@ -126,17 +121,17 @@ public Builder setReadTimeout(int readTimeout) { } private HttpTransportOptions(Builder builder) { - httpTransportFactory = firstNonNull(builder.httpTransportFactory, - ServiceOptions.getFromServiceLoader(HttpTransportFactory.class, - DefaultHttpTransportFactory.INSTANCE)); + httpTransportFactory = + firstNonNull( + builder.httpTransportFactory, + ServiceOptions.getFromServiceLoader( + HttpTransportFactory.class, DefaultHttpTransportFactory.INSTANCE)); httpTransportFactoryClassName = httpTransportFactory.getClass().getName(); connectTimeout = builder.connectTimeout; readTimeout = builder.readTimeout; } - /** - * Returns the HTTP transport factory. - */ + /** Returns the HTTP transport factory. */ public HttpTransportFactory getHttpTransportFactory() { return httpTransportFactory; } @@ -150,9 +145,12 @@ public HttpRequestInitializer getHttpRequestInitializer( Credentials scopedCredentials = serviceOptions.getScopedCredentials(); final HttpRequestInitializer delegate = scopedCredentials != null && scopedCredentials != NoCredentials.getInstance() - ? new HttpCredentialsAdapter(scopedCredentials) : null; - HeaderProvider internalHeaderProvider = getInternalHeaderProviderBuilder(serviceOptions).build(); - final HeaderProvider headerProvider = serviceOptions.getMergedHeaderProvider(internalHeaderProvider); + ? new HttpCredentialsAdapter(scopedCredentials) + : null; + HeaderProvider internalHeaderProvider = + getInternalHeaderProviderBuilder(serviceOptions).build(); + final HeaderProvider headerProvider = + serviceOptions.getMergedHeaderProvider(internalHeaderProvider); return new HttpRequestInitializer() { @Override @@ -203,8 +201,7 @@ public Builder toBuilder() { @Override public int hashCode() { - return Objects.hash(httpTransportFactoryClassName, connectTimeout, - readTimeout); + return Objects.hash(httpTransportFactoryClassName, connectTimeout, readTimeout); } @Override diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java index 52d17456ea97..e88a32a9afda 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java @@ -57,23 +57,23 @@ public CustomServiceException(int code, String message, String reason, boolean i super(code, message, reason, idempotent, RETRYABLE_ERRORS); } - private static final Set RETRYABLE_ERRORS = ImmutableSet - .of(new Error(CODE, REASON), new Error(null, REASON), - new Error(CODE_NO_REASON, null)); + private static final Set RETRYABLE_ERRORS = + ImmutableSet.of( + new Error(CODE, REASON), new Error(null, REASON), new Error(CODE_NO_REASON, null)); } @Test public void testBaseServiceException() { - BaseServiceException serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, - IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); + BaseServiceException serviceException = + new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); assertFalse(serviceException.isRetryable()); assertNull(serviceException.getCause()); - serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, - EMPTY_RETRYABLE_ERRORS); + serviceException = + new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); @@ -81,16 +81,18 @@ public void testBaseServiceException() { assertNull(serviceException.getCause()); Exception cause = new RuntimeException(); - serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, IDEMPOTENT, - EMPTY_RETRYABLE_ERRORS, cause); + serviceException = + new BaseHttpServiceException( + CODE, MESSAGE, REASON, IDEMPOTENT, EMPTY_RETRYABLE_ERRORS, cause); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); assertFalse(serviceException.isRetryable()); assertEquals(cause, serviceException.getCause()); - serviceException = new BaseHttpServiceException(CODE, MESSAGE, REASON, NOT_IDEMPOTENT, - EMPTY_RETRYABLE_ERRORS, cause); + serviceException = + new BaseHttpServiceException( + CODE, MESSAGE, REASON, NOT_IDEMPOTENT, EMPTY_RETRYABLE_ERRORS, cause); assertEquals(CODE, serviceException.getCode()); assertEquals(MESSAGE, serviceException.getMessage()); assertEquals(REASON, serviceException.getReason()); @@ -160,6 +162,4 @@ public void testTranslateAndThrow() throws Exception { verify(exceptionMock); } } - - } diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java index abc7f7de787a..7d2827bfb96a 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java @@ -17,19 +17,17 @@ package com.google.cloud.http; import static com.google.common.truth.Truth.assertThat; - import static org.easymock.EasyMock.createMock; import static org.easymock.EasyMock.createMockBuilder; import static org.easymock.EasyMock.replay; import static org.easymock.EasyMock.verify; -import com.google.api.client.http.HttpExecuteInterceptor; import com.google.api.client.http.GenericUrl; +import com.google.api.client.http.HttpExecuteInterceptor; import com.google.api.client.http.HttpHeaders; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpRequestInitializer; import com.google.api.client.http.javanet.NetHttpTransport; - import io.opencensus.common.Scope; import io.opencensus.trace.Span; import io.opencensus.trace.SpanContext; @@ -39,11 +37,9 @@ import io.opencensus.trace.Tracer; import io.opencensus.trace.Tracing; import io.opencensus.trace.propagation.TextFormat; - import java.io.IOException; import java.util.EnumSet; import java.util.Random; - import org.junit.Before; import org.junit.Rule; import org.junit.Test; @@ -63,8 +59,10 @@ public class CensusHttpModuleTest { @Before public void setUp() throws IOException { - httpRequest = new NetHttpTransport().createRequestFactory().buildRequest( - "GET", new GenericUrl("https://www.google.com"), null); + httpRequest = + new NetHttpTransport() + .createRequestFactory() + .buildRequest("GET", new GenericUrl("https://www.google.com"), null); } @Test @@ -103,8 +101,8 @@ public void censusHttpExecuteInterceptorDisallowNullRequest() throws IOException @Test public void censusHttpExecuteInterceptorShouldExecuteOriginal() throws IOException { HttpExecuteInterceptor mockInterceptor = createMock(HttpExecuteInterceptor.class); - HttpExecuteInterceptor censusInterceptor = censusHttpModule.new CensusHttpExecuteInterceptor( - mockInterceptor); + HttpExecuteInterceptor censusInterceptor = + censusHttpModule.new CensusHttpExecuteInterceptor(mockInterceptor); mockInterceptor.intercept(httpRequest); replay(mockInterceptor); censusInterceptor.intercept(httpRequest); @@ -114,14 +112,16 @@ public void censusHttpExecuteInterceptorShouldExecuteOriginal() throws IOExcepti @Test public void censusHttpExecuteInterceptorShouldInjectHeader() throws IOException { Random random = new Random(); - SpanContext spanContext = SpanContext.create( - TraceId.generateRandomId(random), - SpanId.generateRandomId(random), - TraceOptions.DEFAULT); - Span mockSpan = createMockBuilder(Span.class) - .withConstructor(SpanContext.class, EnumSet.class) - .withArgs(spanContext, null) - .createMock(); + SpanContext spanContext = + SpanContext.create( + TraceId.generateRandomId(random), + SpanId.generateRandomId(random), + TraceOptions.DEFAULT); + Span mockSpan = + createMockBuilder(Span.class) + .withConstructor(SpanContext.class, EnumSet.class) + .withArgs(spanContext, null) + .createMock(); Scope scope = tracer.withSpan(mockSpan); try { HttpExecuteInterceptor interceptor = censusHttpModule.new CensusHttpExecuteInterceptor(null); @@ -142,8 +142,8 @@ public void censusHttpRequestInitializerDisallowNullRequest() throws IOException @Test public void censusHttpRequestInitializerShouldExecuteOriginal() throws IOException { HttpRequestInitializer mockOriginalInitializer = createMock(HttpRequestInitializer.class); - HttpRequestInitializer censusInitializer = censusHttpModule.getHttpRequestInitializer( - mockOriginalInitializer); + HttpRequestInitializer censusInitializer = + censusHttpModule.getHttpRequestInitializer(mockOriginalInitializer); mockOriginalInitializer.initialize(httpRequest); replay(mockOriginalInitializer); censusInitializer.initialize(httpRequest); @@ -153,7 +153,7 @@ public void censusHttpRequestInitializerShouldExecuteOriginal() throws IOExcepti @Test public void censusHttpRequestInitializerShouldSetInterceptor() throws IOException { censusHttpModule.getHttpRequestInitializer(null).initialize(httpRequest); - assertThat(httpRequest.getInterceptor()).isInstanceOf( - CensusHttpModule.CensusHttpExecuteInterceptor.class); + assertThat(httpRequest.getInterceptor()) + .isInstanceOf(CensusHttpModule.CensusHttpExecuteInterceptor.class); } } diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java index 100d50f0ef31..1ff7871aec4e 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java @@ -33,11 +33,12 @@ public class HttpTransportOptionsTest { private static final HttpTransportFactory MOCK_HTTP_TRANSPORT_FACTORY = EasyMock.createMock(HttpTransportFactory.class); - private static final HttpTransportOptions OPTIONS = HttpTransportOptions.newBuilder() - .setConnectTimeout(1234) - .setHttpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) - .setReadTimeout(5678) - .build(); + private static final HttpTransportOptions OPTIONS = + HttpTransportOptions.newBuilder() + .setConnectTimeout(1234) + .setHttpTransportFactory(MOCK_HTTP_TRANSPORT_FACTORY) + .setReadTimeout(5678) + .build(); private static final HttpTransportOptions DEFAULT_OPTIONS = HttpTransportOptions.newBuilder().build(); private static final HttpTransportOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); @@ -68,11 +69,13 @@ public void testBaseHashCode() { public void testHeader() { String expectedHeaderPattern = "^gl-java/.+ gccl/.* gax/.+"; ServiceOptions serviceOptions = EasyMock.createMock(ServiceOptions.class); - HeaderProvider headerProvider = OPTIONS.getInternalHeaderProviderBuilder(serviceOptions).build(); + HeaderProvider headerProvider = + OPTIONS.getInternalHeaderProviderBuilder(serviceOptions).build(); assertEquals(1, headerProvider.getHeaders().size()); - assertTrue(Pattern.compile(expectedHeaderPattern) - .matcher(headerProvider.getHeaders().values().iterator().next()) - .find()); + assertTrue( + Pattern.compile(expectedHeaderPattern) + .matcher(headerProvider.getHeaders().values().iterator().next()) + .find()); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java index 3acd0170bb41..25cae6f7c8d4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java @@ -62,7 +62,8 @@ private SyncNextPageFetcher(NextPageFetcher asyncPageFetcher) { public Page getNextPage() { try { return asyncPageFetcher != null - ? Uninterruptibles.getUninterruptibly(asyncPageFetcher.getNextPage()) : null; + ? Uninterruptibles.getUninterruptibly(asyncPageFetcher.getNextPage()) + : null; } catch (ExecutionException ex) { Throwables.throwIfUnchecked(ex.getCause()); throw new RuntimeException(ex); @@ -70,15 +71,12 @@ public Page getNextPage() { } } - /** - * Creates an {@code AsyncPageImpl} object. - */ + /** Creates an {@code AsyncPageImpl} object. */ public AsyncPageImpl(NextPageFetcher asyncPageFetcher, String cursor, Iterable results) { super(new SyncNextPageFetcher(asyncPageFetcher), cursor, results); this.asyncPageFetcher = asyncPageFetcher; } - @Override public ApiFuture> getNextPageAsync() { if (getNextPageToken() == null || asyncPageFetcher == null) { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java index 7db43727ba24..781f29b421a8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseService.java @@ -27,28 +27,32 @@ public abstract class BaseService> implements Service { - public static final Interceptor EXCEPTION_HANDLER_INTERCEPTOR = new Interceptor() { + public static final Interceptor EXCEPTION_HANDLER_INTERCEPTOR = + new Interceptor() { - private static final long serialVersionUID = -8429573486870467828L; + private static final long serialVersionUID = -8429573486870467828L; - @Override - public RetryResult afterEval(Exception exception, RetryResult retryResult) { - return Interceptor.RetryResult.CONTINUE_EVALUATION; - } + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return Interceptor.RetryResult.CONTINUE_EVALUATION; + } - @Override - public RetryResult beforeEval(Exception exception) { - if (exception instanceof BaseServiceException) { - boolean retriable = ((BaseServiceException) exception).isRetryable(); - return retriable ? Interceptor.RetryResult.RETRY : Interceptor.RetryResult.CONTINUE_EVALUATION; - } - return Interceptor.RetryResult.CONTINUE_EVALUATION; - } - }; - public static final ExceptionHandler EXCEPTION_HANDLER = ExceptionHandler.newBuilder() - .abortOn(RuntimeException.class) - .addInterceptors(EXCEPTION_HANDLER_INTERCEPTOR) - .build(); + @Override + public RetryResult beforeEval(Exception exception) { + if (exception instanceof BaseServiceException) { + boolean retriable = ((BaseServiceException) exception).isRetryable(); + return retriable + ? Interceptor.RetryResult.RETRY + : Interceptor.RetryResult.CONTINUE_EVALUATION; + } + return Interceptor.RetryResult.CONTINUE_EVALUATION; + } + }; + public static final ExceptionHandler EXCEPTION_HANDLER = + ExceptionHandler.newBuilder() + .abortOn(RuntimeException.class) + .addInterceptors(EXCEPTION_HANDLER_INTERCEPTOR) + .build(); private final OptionsT options; @@ -57,7 +61,6 @@ protected BaseService(OptionsT options) { this.options = options; } - @Override public OptionsT getOptions() { return options; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index 565ae614f3a6..e9e9e2aa6370 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -28,9 +28,7 @@ import java.util.concurrent.ExecutionException; import javax.net.ssl.SSLHandshakeException; -/** - * Base class for all service exceptions. - */ +/** Base class for all service exceptions. */ public class BaseServiceException extends RuntimeException { private static final long serialVersionUID = 759921776378760835L; @@ -54,8 +52,14 @@ public static final class ExceptionData implements Serializable { private final String location; private final String debugInfo; - private ExceptionData(String message, Throwable cause, int code, boolean retryable, - String reason, String location, String debugInfo) { + private ExceptionData( + String message, + Throwable cause, + int code, + boolean retryable, + String reason, + String location, + String debugInfo) { this.message = message; this.cause = cause; this.code = code; @@ -101,10 +105,15 @@ public static ExceptionData from(int code, String message, String reason, boolea return from(code, message, reason, retryable, null); } - public static ExceptionData from(int code, String message, String reason, boolean retryable, - Throwable cause) { - return newBuilder().setCode(code).setMessage(message).setReason(reason) - .setRetryable(retryable).setCause(cause).build(); + public static ExceptionData from( + int code, String message, String reason, boolean retryable, Throwable cause) { + return newBuilder() + .setCode(code) + .setMessage(message) + .setReason(reason) + .setRetryable(retryable) + .setCause(cause) + .build(); } @InternalApi @@ -156,8 +165,7 @@ public Builder setDebugInfo(String debugInfo) { } public ExceptionData build() { - return new ExceptionData(message, cause, code, retryable, reason, location, - debugInfo); + return new ExceptionData(message, cause, code, retryable, reason, location, debugInfo); } } } @@ -181,15 +189,11 @@ public Error(Integer code, String reason, boolean rejected) { this.rejected = rejected; } - - /** - * Returns the code associated with this exception. - */ + /** Returns the code associated with this exception. */ public Integer getCode() { return code; } - /** * Returns true if the error indicates that the API call was certainly not accepted by the * server. For instance, if the server returns a rate limit exceeded error, it certainly did not @@ -199,10 +203,7 @@ public boolean isRejected() { return rejected; } - - /** - * Returns the reason that caused the exception. - */ + /** Returns the reason that caused the exception. */ public String getReason() { return reason; } @@ -238,14 +239,12 @@ public boolean equals(Object obj) { } } - @InternalApi - public static boolean isRetryable(Integer code, String reason, boolean idempotent, - Set retryableErrors) { + public static boolean isRetryable( + Integer code, String reason, boolean idempotent, Set retryableErrors) { for (Error retryableError : retryableErrors) { if ((retryableError.getCode() == null || retryableError.getCode().equals(code)) - && (retryableError.getReason() == null - || retryableError.getReason().equals(reason))) { + && (retryableError.getReason() == null || retryableError.getReason().equals(reason))) { return idempotent || retryableError.isRejected(); } } @@ -288,30 +287,21 @@ protected BaseServiceException(ExceptionData exceptionData) { this.debugInfo = exceptionData.getDebugInfo(); } - /** - * Returns the code associated with this exception. - */ + /** Returns the code associated with this exception. */ public int getCode() { return code; } - - /** - * Returns the reason that caused the exception. - */ + /** Returns the reason that caused the exception. */ public String getReason() { return reason; } - - /** - * Returns {@code true} when it is safe to retry the operation that caused this exception. - */ + /** Returns {@code true} when it is safe to retry the operation that caused this exception. */ public boolean isRetryable() { return retryable; } - /** * Returns the service location where the error causing the exception occurred. Returns {@code * null} if not available. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java index 1888b2a78c42..865af889597d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java @@ -33,8 +33,8 @@ * @param the entity this channel writes data to. Possibly with additional configuration */ public abstract class BaseWriteChannel< - ServiceOptionsT extends ServiceOptions, - EntityT extends Serializable> implements WriteChannel { + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> + implements WriteChannel { private static final int MIN_CHUNK_SIZE = 256 * 1024; private static final int DEFAULT_CHUNK_SIZE = 8 * MIN_CHUNK_SIZE; @@ -48,12 +48,10 @@ public abstract class BaseWriteChannel< private boolean isOpen = true; private int chunkSize = getDefaultChunkSize(); - protected int getMinChunkSize() { return MIN_CHUNK_SIZE; } - protected int getDefaultChunkSize() { return DEFAULT_CHUNK_SIZE; } @@ -66,42 +64,34 @@ protected int getDefaultChunkSize() { */ protected abstract void flushBuffer(int length, boolean last); - protected ServiceOptionsT getOptions() { return options; } - protected EntityT getEntity() { return entity; } - protected String getUploadId() { return uploadId; } - protected long getPosition() { return position; } - protected byte[] getBuffer() { return buffer; } - protected int getLimit() { return limit; } - protected int getChunkSize() { return chunkSize; } - @Override public final void setChunkSize(int chunkSize) { int minSize = getMinChunkSize(); @@ -165,9 +155,7 @@ public final void close() throws IOException { } } - /** - * Creates a {@link BaseState.Builder} for the current write channel. - */ + /** Creates a {@link BaseState.Builder} for the current write channel. */ protected abstract BaseState.Builder stateBuilder(); @Override @@ -184,9 +172,7 @@ public RestorableState capture() { .build(); } - /** - * Restores the state of the current write channel given a {@link BaseState} object. - */ + /** Restores the state of the current write channel given a {@link BaseState} object. */ protected void restore(BaseState state) { if (state.buffer != null) { this.buffer = state.buffer.clone(); @@ -198,7 +184,7 @@ protected void restore(BaseState state) { } protected abstract static class BaseState< - ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> implements RestorableState, Serializable { private static final long serialVersionUID = 8541062465055125619L; @@ -231,8 +217,7 @@ protected BaseState(Builder builder) { * configuration */ public abstract static class Builder< - ServiceOptionsT extends ServiceOptions, - EntityT extends Serializable> { + ServiceOptionsT extends ServiceOptions, EntityT extends Serializable> { private final ServiceOptionsT serviceOptions; private final EntityT entity; private final String uploadId; @@ -248,25 +233,21 @@ protected Builder(ServiceOptionsT options, EntityT entity, String uploadId) { this.uploadId = uploadId; } - public Builder setPosition(long position) { this.position = position; return this; } - public Builder setBuffer(byte[] buffer) { this.buffer = buffer; return this; } - public Builder setIsOpen(boolean isOpen) { this.isOpen = isOpen; return this; } - public Builder setChunkSize(int chunkSize) { this.chunkSize = chunkSize; return this; @@ -277,8 +258,8 @@ public Builder setChunkSize(int chunkSize) { @Override public int hashCode() { - return Objects.hash(serviceOptions, entity, uploadId, position, isOpen, chunkSize, - Arrays.hashCode(buffer)); + return Objects.hash( + serviceOptions, entity, uploadId, position, isOpen, chunkSize, Arrays.hashCode(buffer)); } @Override @@ -316,7 +297,7 @@ public static ValueHolder create(String name, Object value) { public String toString() { String result = name + "="; if (value != null && value.getClass().isArray()) { - Object[] objectArray = new Object[]{value}; + Object[] objectArray = new Object[] {value}; String arrayString = Arrays.deepToString(objectArray); result += arrayString.substring(1, arrayString.length() - 1); } else { @@ -338,8 +319,7 @@ protected List toStringHelper() { @Override public String toString() { StringBuilder builder = new StringBuilder(); - builder.append(getClass().getSimpleName()) - .append('{'); + builder.append(getClass().getSimpleName()).append('{'); String nextSeparator = ""; for (ValueHolder valueHolder : toStringHelper()) { builder.append(nextSeparator).append(valueHolder); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java index ab967e577077..7281571f916b 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BatchResult.java @@ -28,7 +28,6 @@ * * @param the type of the result * @param the type of the service-dependent exception thrown when a processing error occurs - * */ public abstract class BatchResult { @@ -38,8 +37,7 @@ public abstract class BatchResult { private final List> toBeNotified = new LinkedList<>(); @InternalApi("This class should only be extended within google-cloud-java") - protected BatchResult() { - } + protected BatchResult() {} /** * Returns {@code true} if the batch has been completed and the result is available; {@code false} @@ -69,14 +67,14 @@ public T get() throws E { * @throws IllegalStateException if the batch has been completed already */ public void notify(Callback callback) { - checkState(!completed, "The batch has been completed. All the calls to the notify()" - + " method should be done prior to submitting the batch."); + checkState( + !completed, + "The batch has been completed. All the calls to the notify()" + + " method should be done prior to submitting the batch."); toBeNotified.add(callback); } - /** - * Sets an error and status as completed. Notifies all callbacks. - */ + /** Sets an error and status as completed. Notifies all callbacks. */ protected void error(E error) { this.error = checkNotNull(error); this.completed = true; @@ -85,9 +83,7 @@ protected void error(E error) { } } - /** - * Sets a result and status as completed. Notifies all callbacks. - */ + /** Sets a result and status as completed. Notifies all callbacks. */ protected void success(T result) { this.result = result; this.completed = true; @@ -96,18 +92,12 @@ protected void success(T result) { } } - /** - * An interface for the batch callbacks. - */ + /** An interface for the batch callbacks. */ public interface Callback { - /** - * The method to be called when the batched operation succeeds. - */ + /** The method to be called when the batched operation succeeds. */ void success(T result); - /** - * The method to be called when the batched operation fails. - */ + /** The method to be called when the batched operation fails. */ void error(E exception); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 1d673770ce3f..24857f9f647d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -21,7 +21,6 @@ import com.google.common.base.MoreObjects.ToStringHelper; import com.google.common.io.BaseEncoding; import com.google.protobuf.ByteString; - import java.io.IOException; import java.io.InputStream; import java.io.Serializable; @@ -29,9 +28,7 @@ import java.nio.charset.StandardCharsets; import java.util.Iterator; -/** - * An immutable byte array holder. - */ +/** An immutable byte array holder. */ @BetaApi public class ByteArray implements Iterable, Serializable { @@ -73,23 +70,17 @@ public final boolean equals(Object obj) { || obj instanceof ByteArray && byteString.equals(((ByteArray) obj).byteString); } - /** - * Returns the number of bytes in this {@code ByteArray}. - */ + /** Returns the number of bytes in this {@code ByteArray}. */ public final int length() { return byteString.size(); } - /** - * Returns a copy of this {@code ByteArray} as an array of bytes. - */ + /** Returns a copy of this {@code ByteArray} as an array of bytes. */ public final byte[] toByteArray() { return byteString.toByteArray(); } - /** - * Returns a copy of this {@code ByteArray} as an {@code UTF-8} string. - */ + /** Returns a copy of this {@code ByteArray} as an {@code UTF-8} string. */ public final String toStringUtf8() { return byteString.toStringUtf8(); } @@ -99,16 +90,12 @@ public final String toBase64() { return encoder.encode(toByteArray()); } - /** - * Returns the content of this {@code ByteArray} as a read-only {@link ByteBuffer}. - */ + /** Returns the content of this {@code ByteArray} as a read-only {@link ByteBuffer}. */ public final ByteBuffer asReadOnlyByteBuffer() { return byteString.asReadOnlyByteBuffer(); } - /** - * Returns an {@link InputStream} for this {@code ByteArray} content. - */ + /** Returns an {@link InputStream} for this {@code ByteArray} content. */ public final InputStream asInputStream() { return byteString.newInput(); } @@ -133,9 +120,7 @@ public final void copyTo(byte[] target) { byteString.copyTo(target, 0, 0, length()); } - /** - * Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. - */ + /** Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. */ public static final ByteArray copyFrom(byte[] bytes) { return new ByteArray(ByteString.copyFrom(bytes)); } @@ -148,9 +133,7 @@ public static final ByteArray copyFrom(String string) { return new ByteArray(ByteString.copyFrom(string, StandardCharsets.UTF_8)); } - /** - * Creates a {@code ByteArray} object given a {@link ByteBuffer}. The bytes are copied. - */ + /** Creates a {@code ByteArray} object given a {@link ByteBuffer}. The bytes are copied. */ public static final ByteArray copyFrom(ByteBuffer bytes) { return new ByteArray(ByteString.copyFrom(bytes)); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java index 002ef84cdfa9..442e7dca0eef 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -16,18 +16,15 @@ package com.google.cloud; +import com.google.api.core.BetaApi; +import com.google.common.base.Preconditions; import java.io.Serializable; import java.util.Calendar; import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; -import com.google.api.core.BetaApi; -import com.google.common.base.Preconditions; - -/** - * Represents a Date without time, such as 2017-03-17. Date is timezone independent. - */ +/** Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ @BetaApi("This is going to be replaced with LocalDate from threetenbp") public final class Date implements Comparable, Serializable { @@ -101,7 +98,8 @@ public static Date fromJavaUtilDate(java.util.Date date) { cal.set(Calendar.SECOND, 0); cal.set(Calendar.MILLISECOND, 0); // Calender.MONTH starts from 0 while G C date starts from 1 - return new Date(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)); + return new Date( + cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)); } /** Returns the year. */ diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java index 921e97eb365f..d243de180771 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java @@ -26,16 +26,13 @@ import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; - import java.io.Serializable; import java.lang.reflect.Method; import java.util.Objects; import java.util.Set; import java.util.concurrent.Callable; -/** - * Exception retry algorithm implementation used by {@link RetryHelper}. - */ +/** Exception retry algorithm implementation used by {@link RetryHelper}. */ @BetaApi public final class ExceptionHandler implements ResultRetryAlgorithm, Serializable { @@ -52,16 +49,18 @@ public final class ExceptionHandler implements ResultRetryAlgorithm, Ser public interface Interceptor extends Serializable { enum RetryResult { - NO_RETRY, RETRY, CONTINUE_EVALUATION; + NO_RETRY, + RETRY, + CONTINUE_EVALUATION; } /** * This method is called before exception evaluation and could short-circuit the process. * * @param exception the exception that is being evaluated - * @return {@link RetryResult} to indicate if the exception should be ignored ( - * {@link RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation - * should proceed ({@link RetryResult#CONTINUE_EVALUATION}). + * @return {@link RetryResult} to indicate if the exception should be ignored ( {@link + * RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation should + * proceed ({@link RetryResult#CONTINUE_EVALUATION}). */ RetryResult beforeEval(Exception exception); @@ -70,16 +69,14 @@ enum RetryResult { * * @param exception the exception that is being evaluated * @param retryResult the result of the evaluation so far - * @return {@link RetryResult} to indicate if the exception should be ignored ( - * {@link RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation - * should proceed ({@link RetryResult#CONTINUE_EVALUATION}). + * @return {@link RetryResult} to indicate if the exception should be ignored ( {@link + * RetryResult#RETRY}), propagated ({@link RetryResult#NO_RETRY}), or evaluation should + * proceed ({@link RetryResult#CONTINUE_EVALUATION}). */ RetryResult afterEval(Exception exception, RetryResult retryResult); } - /** - * ExceptionHandler builder. - */ + /** ExceptionHandler builder. */ public static class Builder { private final ImmutableList.Builder interceptors = ImmutableList.builder(); @@ -90,8 +87,6 @@ public static class Builder { private Builder() {} - - /** * Adds the exception handler interceptors. Call order will be maintained. * @@ -133,9 +128,7 @@ public final Builder abortOn(Class... exceptions) { return this; } - /** - * Returns a new ExceptionHandler instance. - */ + /** Returns a new ExceptionHandler instance. */ public ExceptionHandler build() { return new ExceptionHandler(this); } @@ -201,8 +194,8 @@ private static void addRetryInfo(RetryInfo retryInfo, Set dest) { dest.add(retryInfo); } - private static RetryInfo findMostSpecificRetryInfo(Set retryInfo, - Class exception) { + private static RetryInfo findMostSpecificRetryInfo( + Set retryInfo, Class exception) { for (RetryInfo current : retryInfo) { if (current.exception.isAssignableFrom(exception)) { RetryInfo match = findMostSpecificRetryInfo(current.children, exception); @@ -228,18 +221,20 @@ private static Method getCallableMethod(Class clazz) { void verifyCaller(Callable callable) { Method callMethod = getCallableMethod(callable.getClass()); for (Class exceptionOrError : callMethod.getExceptionTypes()) { - Preconditions.checkArgument(Exception.class.isAssignableFrom(exceptionOrError), + Preconditions.checkArgument( + Exception.class.isAssignableFrom(exceptionOrError), "Callable method exceptions must be derived from Exception"); @SuppressWarnings("unchecked") Class exception = (Class) exceptionOrError; - Preconditions.checkArgument(findMostSpecificRetryInfo(retryInfo, exception) != null, + Preconditions.checkArgument( + findMostSpecificRetryInfo(retryInfo, exception) != null, "Declared exception '" + exception + "' is not covered by exception handler"); } } @Override public boolean shouldRetry(Throwable prevThrowable, Object prevResponse) { - if(!(prevThrowable instanceof Exception)) { + if (!(prevThrowable instanceof Exception)) { return false; } Exception ex = (Exception) prevThrowable; @@ -263,8 +258,8 @@ public boolean shouldRetry(Throwable prevThrowable, Object prevResponse) { } @Override - public TimedAttemptSettings createNextAttempt(Throwable prevThrowable, Object prevResponse, - TimedAttemptSettings prevSettings) { + public TimedAttemptSettings createNextAttempt( + Throwable prevThrowable, Object prevResponse, TimedAttemptSettings prevSettings) { // Return null to indicate that this implementation does not provide any specific attempt // settings, so by default the TimedRetryAlgorithm options can be used instead. return null; @@ -290,15 +285,11 @@ public boolean equals(Object obj) { && Objects.equals(retryInfo, other.retryInfo); } - - /** - * Returns an instance which retry any checked exception and abort on any runtime exception. - */ + /** Returns an instance which retry any checked exception and abort on any runtime exception. */ public static ExceptionHandler getDefaultInstance() { return DEFAULT_INSTANCE; } - public static Builder newBuilder() { return new Builder(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java index 0444bc476fd5..aad60f7a4dd8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java @@ -21,7 +21,6 @@ import com.google.common.base.Joiner; import com.google.common.collect.Lists; import com.google.common.collect.Sets; - import java.util.Arrays; import java.util.List; import java.util.Set; @@ -32,7 +31,6 @@ */ public interface FieldSelector { - /** * Returns a string selector. This selector is passed to a Google Cloud service (possibly with * other field selectors) to specify which resource fields should be returned by an API call. @@ -58,7 +56,9 @@ public String apply(FieldSelector fieldSelector) { } }; - private static String selector(List required, FieldSelector[] others, + private static String selector( + List required, + FieldSelector[] others, String... extraResourceFields) { Set fieldStrings = Sets.newHashSetWithExpectedSize(required.size() + others.length); fieldStrings.addAll(Lists.transform(required, FIELD_TO_STRING_FUNCTION)); @@ -73,16 +73,16 @@ private static String selector(List required, FieldSele * This method is not supposed to be used directly by users. */ public static String selector(List required, FieldSelector... others) { - return selector(required, others, new String[]{}); + return selector(required, others, new String[] {}); } /** * Returns a composite selector given a number of resource fields and a container name. The * string selector returned by this method can be used for field selection in API calls that - * return a list of resources. This method is not supposed to be used directly by users. + * return a list of resources. This method is not supposed to be used directly by users. */ - public static String listSelector(String containerName, List required, - FieldSelector... others) { + public static String listSelector( + String containerName, List required, FieldSelector... others) { return "nextPageToken," + containerName + '(' + selector(required, others) + ')'; } @@ -93,25 +93,35 @@ public static String listSelector(String containerName, List required, - FieldSelector[] others, String... extraResourceFields) { + public static String listSelector( + String containerName, + List required, + FieldSelector[] others, + String... extraResourceFields) { return listSelector(EMPTY_FIELDS, containerName, required, others, extraResourceFields); } /** * Returns a composite selector given a number of top level fields as strings, a number of * resource fields and a container name. This method also takes an {@code extraResourceFields} - * parameter to specify some extra resource fields as strings. The string selector returned by + * parameter to specify some extra resource fields as strings. The string selector returned by * this method can be used for field selection in API calls that return a list of resources. * This method is not supposed to be used directly by users. */ - public static String listSelector(String[] topLevelFields, String containerName, - List required, FieldSelector[] others, + public static String listSelector( + String[] topLevelFields, + String containerName, + List required, + FieldSelector[] others, String... extraResourceFields) { Set topLevelStrings = Sets.newHashSetWithExpectedSize(topLevelFields.length + 1); topLevelStrings.addAll(Lists.asList("nextPageToken", topLevelFields)); - return Joiner.on(',').join(topLevelStrings) + "," + containerName + '(' - + selector(required, others, extraResourceFields) + ')'; + return Joiner.on(',').join(topLevelStrings) + + "," + + containerName + + '(' + + selector(required, others, extraResourceFields) + + ')'; } } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java index d3f127f0f662..e83f773c9d4d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java @@ -22,10 +22,11 @@ /** * A qualifier indicating what level of access and support can be expected of a particular Google * Cloud Platform feature. The "GeneralAvailability" qualifier is not provided since the vast - * majority of features are in this category. Note that features may be in a later launch stage - * than the client library annotation indicates. + * majority of features are in this category. Note that features may be in a later launch stage than + * the client library annotation indicates. * - *

    See more at the Launch Stages Documentation. + *

    See more at the Launch Stages + * Documentation. */ public class GcpLaunchStage { @@ -61,9 +62,9 @@ public class GcpLaunchStage { /** * Deprecated features are scheduled to be shut down and removed. For more information, see the - * “Deprecation Policy” section of our Terms of Service - * and the Google Cloud Platform Subject to the Deprecation Policy - * documentation. + * “Deprecation Policy” section of our Terms of + * Service and the Google Cloud Platform + * Subject to the Deprecation Policy documentation. */ @Retention(RetentionPolicy.RUNTIME) public @interface Deprecated {} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index 68a8a5a7dea2..ba4537e83cc3 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -20,17 +20,17 @@ import com.google.api.core.ApiFunction; import com.google.common.base.CaseFormat; - import java.io.Serializable; import java.util.Objects; /** * An identity in a {@link Policy}. The following types of identities are permitted in IAM policies: + * *

      - *
    • Google account - *
    • Service account - *
    • Google group - *
    • Google Apps domain + *
    • Google account + *
    • Service account + *
    • Google group + *
    • Google Apps domain *
    * *

    There are also two special identities that represent all users and all Google-authenticated @@ -46,9 +46,7 @@ public final class Identity implements Serializable { private final Type type; private final String value; - /** - * The types of IAM identities. - */ + /** The types of IAM identities. */ public static final class Type extends StringEnumValue { private static final long serialVersionUID = 3809891273596003916L; @@ -64,73 +62,50 @@ public Type apply(String constant) { } }; - private static final StringEnumType type = new StringEnumType( - Type.class, - CONSTRUCTOR); + private static final StringEnumType type = new StringEnumType(Type.class, CONSTRUCTOR); - /** - * Represents anyone who is on the internet; with or without a Google account. - */ + /** Represents anyone who is on the internet; with or without a Google account. */ public static final Type ALL_USERS = type.createAndRegister("ALL_USERS"); - /** - * Represents anyone who is authenticated with a Google account or a service account. - */ - public static final Type ALL_AUTHENTICATED_USERS = type.createAndRegister("ALL_AUTHENTICATED_USERS"); + /** Represents anyone who is authenticated with a Google account or a service account. */ + public static final Type ALL_AUTHENTICATED_USERS = + type.createAndRegister("ALL_AUTHENTICATED_USERS"); - /** - * Represents a specific Google account. - */ + /** Represents a specific Google account. */ public static final Type USER = type.createAndRegister("USER"); - /** - * Represents a service account. - */ + /** Represents a service account. */ public static final Type SERVICE_ACCOUNT = type.createAndRegister("SERVICE_ACCOUNT"); - /** - * Represents a Google group. - */ + /** Represents a Google group. */ public static final Type GROUP = type.createAndRegister("GROUP"); - /** - * Represents all the users of a Google Apps domain name. - */ + /** Represents all the users of a Google Apps domain name. */ public static final Type DOMAIN = type.createAndRegister("DOMAIN"); - /** - * Represents owners of a Google Cloud Platform project. - */ + /** Represents owners of a Google Cloud Platform project. */ public static final Type PROJECT_OWNER = type.createAndRegister("PROJECT_OWNER"); - /** - * Represents editors of a Google Cloud Platform project. - */ + /** Represents editors of a Google Cloud Platform project. */ public static final Type PROJECT_EDITOR = type.createAndRegister("PROJECT_EDITOR"); - /** - * Represents viewers of a Google Cloud Platform project. - */ + /** Represents viewers of a Google Cloud Platform project. */ public static final Type PROJECT_VIEWER = type.createAndRegister("PROJECT_VIEWER"); /** - * Get the Type for the given String constant, and throw an exception if the constant is - * not recognized. + * Get the Type for the given String constant, and throw an exception if the constant is not + * recognized. */ public static Type valueOfStrict(String constant) { return type.valueOfStrict(constant); } - /** - * Get the Type for the given String constant, and allow unrecognized values. - */ + /** Get the Type for the given String constant, and allow unrecognized values. */ public static Type valueOf(String constant) { return type.valueOf(constant); } - /** - * Return the known values for Type. - */ + /** Return the known values for Type. */ public static Type[] values() { return type.values(); } @@ -141,20 +116,19 @@ private Identity(Type type, String value) { this.value = value; } - public Type getType() { return type; } - /** * Returns the string identifier for this identity. The value corresponds to: + * *

      - *
    • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and - * {@code GROUP}) + *
    • email address (for identities of type {@code USER}, {@code SERVICE_ACCOUNT}, and {@code + * GROUP}) *
    • domain (for identities of type {@code DOMAIN}) - *
    • {@code null} (for identities of type {@code ALL_USERS} and - * {@code ALL_AUTHENTICATED_USERS}) + *
    • {@code null} (for identities of type {@code ALL_USERS} and {@code + * ALL_AUTHENTICATED_USERS}) *
    */ public String getValue() { @@ -216,25 +190,28 @@ public static Identity group(String email) { public static Identity domain(String domain) { return new Identity(Type.DOMAIN, checkNotNull(domain)); } - + /** * Returns a new project owner identity. + * * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. */ public static Identity projectOwner(String projectId) { return new Identity(Type.PROJECT_OWNER, checkNotNull(projectId)); } - + /** * Returns a new project editor identity. + * * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. */ public static Identity projectEditor(String projectId) { return new Identity(Type.PROJECT_EDITOR, checkNotNull(projectId)); } - + /** * Returns a new project viewer identity. + * * @param projectId A Google Cloud Platform project ID. For example, my-sample-project. */ public static Identity projectViewer(String projectId) { @@ -282,7 +259,7 @@ public static Identity valueOf(String identityStr) { Type type = Type.valueOf(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_UNDERSCORE, info[0])); if (info.length == 1) { return new Identity(type, null); - } else if (info.length == 2){ + } else if (info.length == 2) { return new Identity(type, info[1]); } else { throw new IllegalArgumentException("Illegal identity string: \"" + identityStr + "\""); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index 85d2418455ca..5c9550fe8530 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -27,15 +27,15 @@ /** * Retrieves Google Cloud project-id and a limited set of instance attributes from Metadata server. + * * @see - * https://cloud.google.com/compute/docs/storing-retrieving-metadata + * https://cloud.google.com/compute/docs/storing-retrieving-metadata */ public class MetadataConfig { private static final String METADATA_URL = "http://metadata/computeMetadata/v1/"; - private MetadataConfig() { - } + private MetadataConfig() {} public static String getProjectId() { return getAttribute("project/project-id"); @@ -57,12 +57,12 @@ public static String getClusterName() { return getAttribute("instance/attributes/cluster-name"); } - public static String getContainerName(){ - return getAttribute("instance/attributes/container-name"); + public static String getContainerName() { + return getAttribute("instance/attributes/container-name"); } - public static String getNamespaceId(){ - return getAttribute("instance/attributes/namespace-id"); + public static String getNamespaceId() { + return getAttribute("instance/attributes/namespace-id"); } public static String getAttribute(String attributeName) { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java index da9007eff044..a1fbe44b92dd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java @@ -20,7 +20,6 @@ import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableMap; - import java.io.Serializable; import java.util.HashMap; import java.util.Map; @@ -33,9 +32,9 @@ * the resource's schema. Information in the labels field identifies the actual resource and its * attributes according to the schema. * - *

    For example, the monitored resource for Google Compute Engine VM instances has - * {@code gce_instance} type and specifies values for the labels {@code instance_id} and - * {@code zone} to identify particular VM instances. + *

    For example, the monitored resource for Google Compute Engine VM instances has {@code + * gce_instance} type and specifies values for the labels {@code instance_id} and {@code zone} to + * identify particular VM instances. */ public final class MonitoredResource implements Serializable { @@ -44,9 +43,7 @@ public final class MonitoredResource implements Serializable { private final String type; private final Map labels; - /** - * A builder for {@code MonitoredResource} objects. - */ + /** A builder for {@code MonitoredResource} objects. */ public static class Builder { private String type; @@ -61,18 +58,16 @@ public static class Builder { this.labels = new HashMap<>(monitoredResource.labels); } - /** - * Sets the monitored resource type. This value must match the one of - * {@link MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. - * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + * Sets the monitored resource type. This value must match the one of {@link + * MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. For + * example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. */ public Builder setType(String type) { this.type = type; return this; } - /** * Sets the values for all the labels required by the corresponding monitored resource * descriptor (see {@link MonitoredResourceDescriptor#getLabels()}. For example, Google Compute @@ -83,17 +78,13 @@ public Builder setLabels(Map labels) { return this; } - /** - * Adds a label to the labels of the monitored resource. - */ + /** Adds a label to the labels of the monitored resource. */ public Builder addLabel(String key, String value) { this.labels.put(key, value); return this; } - /** - * Clears all the labels of the monitored resource. - */ + /** Clears all the labels of the monitored resource. */ public Builder clearLabels() { this.labels.clear(); return this; @@ -109,17 +100,15 @@ public MonitoredResource build() { this.labels = ImmutableMap.copyOf(builder.labels); } - /** - * Returns the monitored resource type. This value must match the one of - * {@link MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. - * For example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. + * Returns the monitored resource type. This value must match the one of {@link + * MonitoredResourceDescriptor#getType()} of a {@code MonitoredResourceDescriptor} object. For + * example, the type {@code cloudsql_database} represent databases in Google Cloud SQL. */ public String getType() { return type; } - /** * Returns the values for all the labels required by the corresponding monitored resource * descriptor (see {@link MonitoredResourceDescriptor#getLabels()}. For example, Google Compute @@ -148,37 +137,24 @@ public boolean equals(Object obj) { @Override public String toString() { - return MoreObjects.toStringHelper(this) - .add("type", type) - .add("labels", labels) - .toString(); + return MoreObjects.toStringHelper(this).add("type", type).add("labels", labels).toString(); } public com.google.api.MonitoredResource toPb() { - return com.google.api.MonitoredResource.newBuilder() - .setType(type) - .putAllLabels(labels) - .build(); + return com.google.api.MonitoredResource.newBuilder().setType(type).putAllLabels(labels).build(); } - /** - * Returns a builder for this {@code MonitoredResource} object. - */ + /** Returns a builder for this {@code MonitoredResource} object. */ public Builder toBuilder() { return new Builder(this); } - - /** - * Returns a builder for {@code MonitoredResource} objects given the resource's type. - */ + /** Returns a builder for {@code MonitoredResource} objects given the resource's type. */ public static Builder newBuilder(String type) { return new Builder(type); } - /** - * Creates a {@code MonitoredResource} object given the resource's type and labels. - */ + /** Creates a {@code MonitoredResource} object given the resource's type and labels. */ public static MonitoredResource of(String type, Map labels) { return newBuilder(type).setLabels(labels).build(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java index d0301afb82fe..cfc24590d4c8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java @@ -23,7 +23,6 @@ import com.google.common.base.MoreObjects; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; - import java.io.Serializable; import java.util.ArrayList; import java.util.List; @@ -38,15 +37,17 @@ public class MonitoredResourceDescriptor implements Serializable { private static final long serialVersionUID = -3702077512777687441L; - public static final ApiFunction FROM_PB_FUNCTION = - new ApiFunction() { - @Override - public MonitoredResourceDescriptor apply( - com.google.api.MonitoredResourceDescriptor pb) { - return fromPb(pb); - } - }; + public static final ApiFunction< + com.google.api.MonitoredResourceDescriptor, MonitoredResourceDescriptor> + FROM_PB_FUNCTION = + new ApiFunction< + com.google.api.MonitoredResourceDescriptor, MonitoredResourceDescriptor>() { + @Override + public MonitoredResourceDescriptor apply( + com.google.api.MonitoredResourceDescriptor pb) { + return fromPb(pb); + } + }; private final String type; private final String name; @@ -62,14 +63,15 @@ public static class LabelDescriptor implements Serializable { private static final long serialVersionUID = -2811608103754481777L; private static final Function - FROM_PB_FUNCTION = new Function() { - @Override - public LabelDescriptor apply(com.google.api.LabelDescriptor descriptorPb) { - return fromPb(descriptorPb); - } - }; - private static final Function - TO_PB_FUNCTION = new Function() { + FROM_PB_FUNCTION = + new Function() { + @Override + public LabelDescriptor apply(com.google.api.LabelDescriptor descriptorPb) { + return fromPb(descriptorPb); + } + }; + private static final Function TO_PB_FUNCTION = + new Function() { @Override public com.google.api.LabelDescriptor apply(LabelDescriptor descriptor) { return descriptor.toPb(); @@ -80,9 +82,7 @@ public com.google.api.LabelDescriptor apply(LabelDescriptor descriptor) { private final ValueType valueType; private final String description; - /** - * Value types that can be used as label values. - */ + /** Value types that can be used as label values. */ public enum ValueType { STRING(com.google.api.LabelDescriptor.ValueType.STRING), BOOL(com.google.api.LabelDescriptor.ValueType.BOOL), @@ -118,23 +118,16 @@ static ValueType fromPb(com.google.api.LabelDescriptor.ValueType typePb) { this.description = description; } - - /** - * Returns the key associated to this label. - */ + /** Returns the key associated to this label. */ public String getKey() { return key; } - - /** - * Returns the type of data that can be assigned to this label. - */ + /** Returns the type of data that can be assigned to this label. */ public ValueType getValueType() { return valueType; } - /** * Returns the optional human-readable description for this label. If not set, this method * returns {@code null}. @@ -172,9 +165,8 @@ public String toString() { } com.google.api.LabelDescriptor toPb() { - com.google.api.LabelDescriptor.Builder builder = com.google.api.LabelDescriptor.newBuilder() - .setKey(key) - .setValueType(valueType.toPb()); + com.google.api.LabelDescriptor.Builder builder = + com.google.api.LabelDescriptor.newBuilder().setKey(key).setValueType(valueType.toPb()); if (description != null) { builder.setDescription(description); } @@ -186,8 +178,8 @@ static LabelDescriptor fromPb(com.google.api.LabelDescriptor descriptorPb) { if (descriptorPb.getDescription() != null && !descriptorPb.getDescription().equals("")) { description = descriptorPb.getDescription(); } - return new LabelDescriptor(descriptorPb.getKey(), - ValueType.fromPb(descriptorPb.getValueType()), description); + return new LabelDescriptor( + descriptorPb.getKey(), ValueType.fromPb(descriptorPb.getValueType()), description); } } @@ -236,7 +228,6 @@ MonitoredResourceDescriptor build() { this.labels = checkNotNull(builder.labels); } - /** * Returns the monitored resource type. For example, the type {@code cloudsql_database} represents * databases in Google Cloud SQL. @@ -245,7 +236,6 @@ public String getType() { return type; } - /** * Returns an optional name for the monitored resource descriptor. If not set, this method returns * {@code null}. @@ -254,7 +244,6 @@ public String getName() { return name; } - /** * Returns an optional concise name for the monitored resource type. This value might be displayed * in user interfaces. For example, {@code Google Cloud SQL Database}. If not set, this method @@ -264,7 +253,6 @@ public String getDisplayName() { return displayName; } - /** * Returns an optional detailed description of the monitored resource type. This value might be * used in documentation. If not set, this method returns {@code null}. @@ -273,11 +261,10 @@ public String getDescription() { return description; } - /** * Returns a list of labels used to describe instances of this monitored resource type. For - * example, an individual Google Cloud SQL database is identified by values for the labels - * {@code database_id} and {@code region}. + * example, an individual Google Cloud SQL database is identified by values for the labels {@code + * database_id} and {@code region}. */ public List getLabels() { return labels; @@ -348,8 +335,8 @@ public static MonitoredResourceDescriptor fromPb( if (descriptorPb.getDescription() != null && !descriptorPb.getDescription().equals("")) { builder.setDescription(descriptorPb.getDescription()); } - builder.setLabels(Lists.transform(descriptorPb.getLabelsList(), - LabelDescriptor.FROM_PB_FUNCTION)); + builder.setLabels( + Lists.transform(descriptorPb.getLabelsList(), LabelDescriptor.FROM_PB_FUNCTION)); return builder.build(); } } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java index c95b6b62b3b3..72e0e858b433 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/PageImpl.java @@ -108,7 +108,6 @@ public String getNextPageToken() { return cursor; } - @Override public Page getNextPage() { if (cursor == null || pageFetcher == null) { @@ -128,15 +127,14 @@ public boolean equals(Object obj) { return false; } PageImpl other = (PageImpl) obj; - return Objects.equals(cursor, other.cursor) - && Objects.equals(results, other.results); + return Objects.equals(cursor, other.cursor) && Objects.equals(results, other.results); } /** * Utility method to construct the options map for the next page request. * - * @param the value type that the page holds. Instances of {@code T} should be - * {@code Serializable} + * @param the value type that the page holds. Instances of {@code T} should be {@code + * Serializable} * @param pageTokenOption the key for the next page cursor option in the options map * @param cursor the cursor for the next page * @param optionMap the previous options map diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 474e19fc2e5f..84067ec87e04 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -28,7 +28,6 @@ import com.google.common.collect.Lists; import com.google.common.io.BaseEncoding; import com.google.protobuf.ByteString; - import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; @@ -60,8 +59,7 @@ public final class Policy implements Serializable { public abstract static class Marshaller { @InternalApi("This class should only be extended within google-cloud-java") - protected Marshaller() { - } + protected Marshaller() {} protected static final ApiFunction IDENTITY_VALUE_OF_FUNCTION = new ApiFunction() { @@ -89,19 +87,24 @@ public static class DefaultMarshaller extends Marshaller> bindings = new HashMap<>(); for (com.google.iam.v1.Binding bindingPb : policyPb.getBindingsList()) { - bindings.put(Role.of(bindingPb.getRole()), + bindings.put( + Role.of(bindingPb.getRole()), ImmutableSet.copyOf( - Lists.transform(bindingPb.getMembersList(), new Function() { - @Override - public Identity apply(String s) { - return IDENTITY_VALUE_OF_FUNCTION.apply(s); - } - }))); + Lists.transform( + bindingPb.getMembersList(), + new Function() { + @Override + public Identity apply(String s) { + return IDENTITY_VALUE_OF_FUNCTION.apply(s); + } + }))); } return newBuilder() .setBindings(bindings) - .setEtag(policyPb.getEtag().isEmpty() ? null - : BaseEncoding.base64().encode(policyPb.getEtag().toByteArray())) + .setEtag( + policyPb.getEtag().isEmpty() + ? null + : BaseEncoding.base64().encode(policyPb.getEtag().toByteArray())) .setVersion(policyPb.getVersion()) .build(); } @@ -114,12 +117,14 @@ protected com.google.iam.v1.Policy toPb(Policy policy) { com.google.iam.v1.Binding.Builder bindingBuilder = com.google.iam.v1.Binding.newBuilder(); bindingBuilder.setRole(binding.getKey().getValue()); bindingBuilder.addAllMembers( - Lists.transform(new ArrayList<>(binding.getValue()), new Function() { - @Override - public String apply(Identity identity) { - return IDENTITY_STR_VALUE_FUNCTION.apply(identity); - } - })); + Lists.transform( + new ArrayList<>(binding.getValue()), + new Function() { + @Override + public String apply(Identity identity) { + return IDENTITY_STR_VALUE_FUNCTION.apply(identity); + } + })); bindingPbList.add(bindingBuilder.build()); } policyBuilder.addAllBindings(bindingPbList); @@ -131,9 +136,7 @@ public String apply(Identity identity) { } } - /** - * A builder for {@code Policy} objects. - */ + /** A builder for {@code Policy} objects. */ public static class Builder { private final Map> bindings = new HashMap<>(); @@ -141,8 +144,7 @@ public static class Builder { private int version; @InternalApi("This class should only be extended within google-cloud-java") - protected Builder() { - } + protected Builder() {} @InternalApi("This class should only be extended within google-cloud-java") protected Builder(Policy policy) { @@ -151,7 +153,6 @@ protected Builder(Policy policy) { setVersion(policy.version); } - /** * Replaces the builder's map of bindings with the given map of bindings. * @@ -173,9 +174,7 @@ public final Builder setBindings(Map> bindings) { return this; } - /** - * Removes the role (and all identities associated with that role) from the policy. - */ + /** Removes the role (and all identities associated with that role) from the policy. */ public final Builder removeRole(Role role) { bindings.remove(role); return this; @@ -229,7 +228,7 @@ public final Builder removeIdentity(Role role, Identity first, Identity... other * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid * race 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. If no etag is provided in the call to + * applied to the same version of the policy. If no etag is provided in the call to * setIamPolicy, then the existing policy is overwritten blindly. */ public final Builder setEtag(String etag) { @@ -237,7 +236,6 @@ public final Builder setEtag(String etag) { return this; } - /** * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", * and "viewer" roles are permitted. If the version is 1, you may also use other roles. @@ -247,9 +245,7 @@ protected final Builder setVersion(int version) { return this; } - /** - * Creates a {@code Policy} object. - */ + /** Creates a {@code Policy} object. */ public final Policy build() { return new Policy(this); } @@ -265,38 +261,31 @@ private Policy(Builder builder) { this.version = builder.version; } - /** - * Returns a builder containing the properties of this IAM Policy. - */ + /** Returns a builder containing the properties of this IAM Policy. */ public Builder toBuilder() { return new Builder(this); } - - /** - * Returns the map of bindings that comprises the policy. - */ + /** Returns the map of bindings that comprises the policy. */ public Map> getBindings() { return bindings; } - /** * Returns the policy's etag. * *

    Etags are used for optimistic concurrency control as a way to help prevent simultaneous - * updates of a policy from overwriting each other. It is strongly suggested that systems make - * use of the etag in the read-modify-write cycle to perform policy updates in order to avoid - * race 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. If no etag is provided in the call to - * setIamPolicy, then the existing policy is overwritten blindly. + * updates of a policy from overwriting each other. It is strongly suggested that systems make use + * of the etag in the read-modify-write cycle to perform policy updates in order to avoid race + * 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. If no etag is provided in the call to setIamPolicy, then the + * existing policy is overwritten blindly. */ public String getEtag() { return etag; } - /** * Returns the version of the policy. The default version is 0, meaning only the "owner", * "editor", and "viewer" roles are permitted. If the version is 1, you may also use other roles. @@ -333,10 +322,7 @@ public boolean equals(Object obj) { && Objects.equals(version, other.getVersion()); } - - /** - * Returns a builder for {@code Policy} objects. - */ + /** Returns a builder for {@code Policy} objects. */ public static Builder newBuilder() { return new Builder(); } diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index dc30ae67d027..e0a8f5f50bdb 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -26,7 +26,6 @@ *

    Implementations of this class may buffer data internally to reduce remote calls. This * interface implements {@link Restorable} to allow saving the reader's state to continue reading * afterwards. - *

    */ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable { @@ -40,10 +39,9 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< void seek(long position) throws IOException; - /** - * Sets the minimum size that will be read by a single RPC. - * Read data will be locally buffered until consumed. + * Sets the minimum size that will be read by a single RPC. Read data will be locally buffered + * until consumed. */ void setChunkSize(int chunkSize); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java index d4b961d0a5c3..7feedf0c6e4c 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Restorable.java @@ -20,14 +20,16 @@ * Implementation of this interface can persist their state and restore from it. * *

    A typical capture usage: - *

     {@code
    + *
    + * 
    {@code
      * X restorableObj; // X instanceof Restorable
      * RestorableState state = restorableObj.capture();
      * .. persist state
      * }
    * *

    A typical restore usage: - *

     {@code
    + *
    + * 
    {@code
      * RestorableState state = ... // read from persistence
      * X restorableObj = state.restore();
      * ...
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java
    index 8e539812c8a0..53a6458f1fd0 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RestorableState.java
    @@ -27,8 +27,6 @@
      */
     public interface RestorableState> {
     
    -  /**
    -   * Returns an object whose internal state reflects the one saved in the invocation object.
    -   */
    +  /** Returns an object whose internal state reflects the one saved in the invocation object. */
       T restore();
     }
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java
    index dd6e4c692646..986fd355879c 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java
    @@ -18,13 +18,12 @@
     
     import com.google.api.core.ApiClock;
     import com.google.api.core.BetaApi;
    -import com.google.api.gax.retrying.ExponentialPollAlgorithm;
    -import com.google.api.gax.retrying.ResultRetryAlgorithm;
    -import com.google.api.gax.retrying.RetrySettings;
    -
     import com.google.api.gax.retrying.DirectRetryingExecutor;
    +import com.google.api.gax.retrying.ExponentialPollAlgorithm;
     import com.google.api.gax.retrying.ExponentialRetryAlgorithm;
    +import com.google.api.gax.retrying.ResultRetryAlgorithm;
     import com.google.api.gax.retrying.RetryAlgorithm;
    +import com.google.api.gax.retrying.RetrySettings;
     import com.google.api.gax.retrying.RetryingExecutor;
     import com.google.api.gax.retrying.RetryingFuture;
     import com.google.api.gax.retrying.TimedRetryAlgorithm;
    @@ -50,7 +49,8 @@ public static  V runWithRetries(
           ResultRetryAlgorithm algorithm = (ResultRetryAlgorithm) resultRetryAlgorithm;
           return run(callable, new ExponentialRetryAlgorithm(retrySettings, clock), algorithm);
         } catch (Exception e) {
    -      //TODO: remove RetryHelperException, throw InterruptedException or ExecutionException#getCause() explicitly
    +      // TODO: remove RetryHelperException, throw InterruptedException or
    +      // ExecutionException#getCause() explicitly
           throw new RetryHelperException(e.getCause());
         }
       }
    @@ -59,20 +59,22 @@ public static  V poll(
           Callable callable,
           RetrySettings pollSettings,
           ResultRetryAlgorithm resultPollAlgorithm,
    -      ApiClock clock) throws ExecutionException, InterruptedException {
    -      return run(callable, new ExponentialPollAlgorithm(pollSettings, clock), resultPollAlgorithm);
    +      ApiClock clock)
    +      throws ExecutionException, InterruptedException {
    +    return run(callable, new ExponentialPollAlgorithm(pollSettings, clock), resultPollAlgorithm);
       }
     
       private static  V run(
           Callable callable,
           TimedRetryAlgorithm timedAlgorithm,
    -      ResultRetryAlgorithm resultAlgorithm) throws ExecutionException, InterruptedException {
    -      RetryAlgorithm retryAlgorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm);
    -      RetryingExecutor executor = new DirectRetryingExecutor<>(retryAlgorithm);
    +      ResultRetryAlgorithm resultAlgorithm)
    +      throws ExecutionException, InterruptedException {
    +    RetryAlgorithm retryAlgorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm);
    +    RetryingExecutor executor = new DirectRetryingExecutor<>(retryAlgorithm);
     
    -      RetryingFuture retryingFuture = executor.createFuture(callable);
    -      executor.submit(retryingFuture);
    -      return retryingFuture.get();
    +    RetryingFuture retryingFuture = executor.createFuture(callable);
    +    executor.submit(retryingFuture);
    +    return retryingFuture.get();
       }
     
       public static class RetryHelperException extends RuntimeException {
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java
    index fb5c0e8b4ac9..a1069b48a265 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/RetryOption.java
    @@ -19,9 +19,9 @@
     import static com.google.common.base.Preconditions.checkNotNull;
     
     import com.google.api.core.BetaApi;
    +import com.google.api.gax.retrying.RetrySettings;
     import java.io.Serializable;
     import org.threeten.bp.Duration;
    -import com.google.api.gax.retrying.RetrySettings;
     
     /**
      * This class represents an options wrapper around the {@link RetrySettings} class and is an
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java
    index 19988fd2aec6..7151740d9956 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java
    @@ -19,8 +19,9 @@
     import com.google.cloud.spi.ServiceRpcFactory;
     import java.io.Serializable;
     
    -public interface ServiceDefaults,
    -    OptionsT extends ServiceOptions> extends Serializable {
    +public interface ServiceDefaults<
    +        ServiceT extends Service, OptionsT extends ServiceOptions>
    +    extends Serializable {
       ServiceFactory getDefaultServiceFactory();
     
       ServiceRpcFactory getDefaultRpcFactory();
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java
    index 95eaeb44c690..3b8fefe52dda 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java
    @@ -19,8 +19,8 @@
     /**
      * A base interface for all service factories.
      *
    - * 

    Implementation must provide a public no-arg constructor. - * Loading of a factory implementation is done via {@link java.util.ServiceLoader}. + *

    Implementation must provide a public no-arg constructor. Loading of a factory implementation + * is done via {@link java.util.ServiceLoader}. * * @param the service subclass * @param the {@code ServiceOptions} subclass corresponding to the service diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 99f23a83825a..141c99857da4 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -73,8 +73,9 @@ * @param the service subclass * @param the {@code ServiceOptions} subclass corresponding to the service */ -public abstract class ServiceOptions, - OptionsT extends ServiceOptions> implements Serializable { +public abstract class ServiceOptions< + ServiceT extends Service, OptionsT extends ServiceOptions> + implements Serializable { public static final String CREDENTIAL_ENV_NAME = "GOOGLE_APPLICATION_CREDENTIALS"; @@ -82,10 +83,10 @@ public abstract class ServiceOptions, private static final String LEGACY_PROJECT_ENV_NAME = "GCLOUD_PROJECT"; private static final String PROJECT_ENV_NAME = "GOOGLE_CLOUD_PROJECT"; - private static final RetrySettings DEFAULT_RETRY_SETTINGS = getDefaultRetrySettingsBuilder() - .build(); - private static final RetrySettings NO_RETRY_SETTINGS = getDefaultRetrySettingsBuilder() - .setMaxAttempts(1).build(); + private static final RetrySettings DEFAULT_RETRY_SETTINGS = + getDefaultRetrySettingsBuilder().build(); + private static final RetrySettings NO_RETRY_SETTINGS = + getDefaultRetrySettingsBuilder().setMaxAttempts(1).build(); private static final long serialVersionUID = 9198896031667942014L; @@ -111,7 +112,8 @@ public abstract class ServiceOptions, * @param the {@code ServiceOptions} subclass corresponding to the service * @param the {@code ServiceOptions} builder */ - public abstract static class Builder, + public abstract static class Builder< + ServiceT extends Service, OptionsT extends ServiceOptions, B extends Builder> { @@ -147,19 +149,15 @@ protected B self() { return (B) this; } - - /** - * Sets the service factory. - */ + /** Sets the service factory. */ public B setServiceFactory(ServiceFactory serviceFactory) { this.serviceFactory = serviceFactory; return self(); } - /** - * Sets the service's clock. The clock is mainly used for testing purpose. {@link ApiClock} - * will be replaced by Java8's {@code java.time.Clock}. + * Sets the service's clock. The clock is mainly used for testing purpose. {@link ApiClock} will + * be replaced by Java8's {@code java.time.Clock}. * * @param clock the clock to set * @return the builder @@ -169,7 +167,6 @@ public B setClock(ApiClock clock) { return self(); } - /** * Sets the project ID. If no project ID is set, {@link #getDefaultProjectId()} will be used to * attempt getting the project ID from the environment. @@ -181,7 +178,6 @@ public B setProjectId(String projectId) { return self(); } - /** * Sets service host. * @@ -193,27 +189,25 @@ public B setHost(String host) { } /** - * Sets the service authentication credentials. If no credentials are set, - * {@link GoogleCredentials#getApplicationDefault()} will be used to attempt getting credentials - * from the environment. Use {@link NoCredentials#getInstance()} to skip authentication, this is + * Sets the service authentication credentials. If no credentials are set, {@link + * GoogleCredentials#getApplicationDefault()} will be used to attempt getting credentials from + * the environment. Use {@link NoCredentials#getInstance()} to skip authentication, this is * typically useful when using local service emulators. * * @param credentials authentication credentials, should not be {@code null} * @return the builder * @throws NullPointerException if {@code credentials} is {@code null}. To disable - * authentication use {@link NoCredentials#getInstance()} + * authentication use {@link NoCredentials#getInstance()} */ public B setCredentials(Credentials credentials) { this.credentials = checkNotNull(credentials); // set project id if available - if (this.projectId == null && - credentials instanceof ServiceAccountCredentials) { + if (this.projectId == null && credentials instanceof ServiceAccountCredentials) { this.projectId = ((ServiceAccountCredentials) credentials).getProjectId(); } return self(); } - /** * Sets configuration parameters for request retries. * @@ -224,7 +218,6 @@ public B setRetrySettings(RetrySettings retrySettings) { return self(); } - /** * Sets the factory for rpc services. * @@ -263,7 +256,8 @@ public B setHeaderProvider(HeaderProvider headerProvider) { } @InternalApi("This class should only be extended within google-cloud-java") - protected ServiceOptions(Class> serviceFactoryClass, + protected ServiceOptions( + Class> serviceFactoryClass, Class> rpcFactoryClass, Builder builder, ServiceDefaults serviceDefaults) { @@ -277,15 +271,19 @@ protected ServiceOptions(Class> ser host = firstNonNull(builder.host, getDefaultHost()); credentials = builder.credentials != null ? builder.credentials : defaultCredentials(); retrySettings = firstNonNull(builder.retrySettings, getDefaultRetrySettings()); - serviceFactory = firstNonNull(builder.serviceFactory, - getFromServiceLoader(serviceFactoryClass, serviceDefaults.getDefaultServiceFactory())); + serviceFactory = + firstNonNull( + builder.serviceFactory, + getFromServiceLoader(serviceFactoryClass, serviceDefaults.getDefaultServiceFactory())); serviceFactoryClassName = serviceFactory.getClass().getName(); - serviceRpcFactory = firstNonNull(builder.serviceRpcFactory, - getFromServiceLoader(rpcFactoryClass, serviceDefaults.getDefaultRpcFactory())); + serviceRpcFactory = + firstNonNull( + builder.serviceRpcFactory, + getFromServiceLoader(rpcFactoryClass, serviceDefaults.getDefaultRpcFactory())); serviceRpcFactoryClassName = serviceRpcFactory.getClass().getName(); clock = firstNonNull(builder.clock, CurrentMillisClock.getDefaultClock()); - transportOptions = firstNonNull(builder.transportOptions, - serviceDefaults.getDefaultTransportOptions()); + transportOptions = + firstNonNull(builder.transportOptions, serviceDefaults.getDefaultTransportOptions()); headerProvider = firstNonNull(builder.headerProvider, new NoHeaderProvider()); } @@ -307,12 +305,10 @@ private static GoogleCredentials defaultCredentials() { } } - protected String getDefaultHost() { return DEFAULT_HOST; } - protected String getDefaultProject() { return getDefaultProjectId(); } @@ -320,11 +316,12 @@ protected String getDefaultProject() { /** * Returns the default project ID, or {@code null} if no default project ID could be found. This * method returns the first available project ID among the following sources: + * *

      *
    1. The project ID specified by the GOOGLE_CLOUD_PROJECT environment variable *
    2. The App Engine project ID - *
    3. The project ID specified in the JSON credentials file pointed by the - * {@code GOOGLE_APPLICATION_CREDENTIALS} environment variable + *
    4. The project ID specified in the JSON credentials file pointed by the {@code + * GOOGLE_APPLICATION_CREDENTIALS} environment variable *
    5. The Google Cloud SDK project ID *
    6. The Compute Engine project ID *
    @@ -418,7 +415,7 @@ protected static String getAppEngineProjectId() { if (PlatformInformation.isOnGAEStandard7()) { projectId = getAppEngineProjectIdFromAppId(); } else { - //for GAE flex and standard Java 8 environment + // for GAE flex and standard Java 8 environment projectId = System.getenv("GOOGLE_CLOUD_PROJECT"); if (projectId == null) { projectId = System.getenv("GCLOUD_PROJECT"); @@ -453,7 +450,9 @@ private static String getAppEngineProjectIdFromMetadataServer() throws IOExcepti HttpTransport netHttpTransport = new NetHttpTransport(); HttpRequestFactory requestFactory = netHttpTransport.createRequestFactory(); - HttpRequest request = requestFactory.buildGetRequest(url) + HttpRequest request = + requestFactory + .buildGetRequest(url) .setConnectTimeout(500) .setReadTimeout(500) .setHeaders(new HttpHeaders().set("Metadata-Flavor", "Google")); @@ -478,8 +477,8 @@ static String getServiceAccountProjectId(String credentialsPath) { try (InputStream credentialsStream = new FileInputStream(credentialsPath)) { JsonFactory jsonFactory = JacksonFactory.getDefaultInstance(); JsonObjectParser parser = new JsonObjectParser(jsonFactory); - GenericJson fileContents = parser.parseAndClose( - credentialsStream, Charsets.UTF_8, GenericJson.class); + GenericJson fileContents = + parser.parseAndClose(credentialsStream, Charsets.UTF_8, GenericJson.class); project = (String) fileContents.get("project_id"); } catch (IOException e) { // ignore @@ -488,7 +487,6 @@ static String getServiceAccountProjectId(String credentialsPath) { return project; } - /** * Returns a Service object for the current service. For instance, when using Google Cloud * Storage, it returns a Storage object. @@ -501,7 +499,6 @@ public ServiceT getService() { return service; } - /** * Returns a Service RPC object for the current service. For instance, when using Google Cloud * Storage, it returns a StorageRpc object. @@ -514,7 +511,6 @@ public ServiceRpc getRpc() { return rpc; } - /** * Returns the project ID. Return value can be null (for services that don't require a project * ID). @@ -523,24 +519,17 @@ public String getProjectId() { return projectId; } - - /** - * Returns the service host. - */ + /** Returns the service host. */ public String getHost() { return host; } - /** - * Returns the authentication credentials. - */ + /** Returns the authentication credentials. */ public Credentials getCredentials() { return credentials; } - /** - * Returns the authentication credentials. If required, credentials are scoped. - */ + /** Returns the authentication credentials. If required, credentials are scoped. */ public Credentials getScopedCredentials() { Credentials credentialsToReturn = credentials; if (credentials instanceof GoogleCredentials @@ -550,15 +539,11 @@ public Credentials getScopedCredentials() { return credentialsToReturn; } - - /** - * Returns configuration parameters for request retries. - */ + /** Returns configuration parameters for request retries. */ public RetrySettings getRetrySettings() { return retrySettings; } - /** * Returns the service's clock. Default time source uses {@link System#currentTimeMillis()} to get * current time. @@ -567,9 +552,7 @@ public ApiClock getClock() { return clock; } - /** - * Returns the transport-specific options for this service. - */ + /** Returns the transport-specific options for this service. */ public TransportOptions getTransportOptions() { return transportOptions; } @@ -599,23 +582,17 @@ public String getApplicationName() { return sb.toString(); } - /** - * Returns the library's name, {@code gcloud-java}, as a string. - */ + /** Returns the library's name, {@code gcloud-java}, as a string. */ public static String getLibraryName() { return "gcloud-java"; } - /** - * Returns the library's name used by x-goog-api-client header as a string. - */ + /** Returns the library's name used by x-goog-api-client header as a string. */ public static String getGoogApiClientLibName() { return "gccl"; } - /** - * Returns the library's version as a string. - */ + /** Returns the library's version as a string. */ public String getLibraryVersion() { return GaxProperties.getLibraryVersion(this.getClass()); } @@ -643,8 +620,14 @@ public final String getUserAgent() { } protected int baseHashCode() { - return Objects.hash(projectId, host, credentials, retrySettings, serviceFactoryClassName, - serviceRpcFactoryClassName, clock); + return Objects.hash( + projectId, + host, + credentials, + retrySettings, + serviceFactoryClassName, + serviceRpcFactoryClassName, + clock); } protected boolean baseEquals(ServiceOptions other) { diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java index 6db7d6f9db11..ce4bd18a6a49 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java @@ -16,6 +16,4 @@ package com.google.cloud; -public interface ServiceRpc { - -} +public interface ServiceRpc {} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java index ee54b3acdcd3..647e53f8e35a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java @@ -39,13 +39,11 @@ public StringEnumType(Class clazz, ApiFunction constructor this.constructor = Preconditions.checkNotNull(constructor); } - /** - * Create a new constant and register it in the known values. - */ + /** Create a new constant and register it in the known values. */ public EnumT createAndRegister(String constant) { - EnumT instance = constructor.apply(constant); - knownValues.put(constant, instance); - return instance; + EnumT instance = constructor.apply(constant); + knownValues.put(constant, instance); + return instance; } /** @@ -62,9 +60,7 @@ public EnumT valueOfStrict(String constant) { } } - /** - * Get the enum object for the given String constant, and allow unrecognized values. - */ + /** Get the enum object for the given String constant, and allow unrecognized values. */ public EnumT valueOf(String constant) { if (constant == null || constant.isEmpty()) { throw new IllegalArgumentException("Empty enum constants not allowed."); @@ -77,9 +73,7 @@ public EnumT valueOf(String constant) { } } - /** - * Return the known values of this enum type. - */ + /** Return the known values of this enum type. */ public EnumT[] values() { Collection valueCollection = knownValues.values(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java index 9bfe3df81523..2f1ae94218ad 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java @@ -21,16 +21,14 @@ /** * This represents a specific instance of a concept having a known set of acceptable String values, - * which can expand later due to new API features. Standard Java enums can't be used in such - * a context. + * which can expand later due to new API features. Standard Java enums can't be used in such a + * context. */ public abstract class StringEnumValue implements Serializable { private static final long serialVersionUID = 1501809419544297884L; private final String constant; - /** - * Don't create subclasses outside of google-cloud-java. - */ + /** Don't create subclasses outside of google-cloud-java. */ @InternalApi("This class should only be extended within google-cloud-java") protected StringEnumValue(String constant) { this.constant = Preconditions.checkNotNull(constant); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index 17e26d9c9993..dc44f8abea10 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -79,7 +79,7 @@ public static Timestamp ofTimeSecondsAndNanos(long seconds, int nanos) { */ public static Timestamp ofTimeMicroseconds(long microseconds) { long seconds = microseconds / 1_000_000; - int nanos = (int)(microseconds % 1_000_000 * 1000); + int nanos = (int) (microseconds % 1_000_000 * 1000); if (nanos < 0) { seconds--; nanos += 1_000_000_000; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java index 3626db0e37a7..e62fdddefcfd 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java @@ -17,8 +17,5 @@ import java.io.Serializable; -/** - * An abstraction for transport-specific options, e.g. for http1.1 vs grpc. - */ -public interface TransportOptions extends Serializable { -} +/** An abstraction for transport-specific options, e.g. for http1.1 vs grpc. */ +public interface TransportOptions extends Serializable {} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java index deb57b92599d..947909bb6625 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java @@ -29,15 +29,15 @@ public interface WriteChannel extends WritableByteChannel, Closeable, Restorable { /** - * Sets the minimum size that will be written by a single RPC. - * Written data will be buffered and only flushed upon reaching this size or closing the channel. + * Sets the minimum size that will be written by a single RPC. Written data will be buffered and + * only flushed upon reaching this size or closing the channel. */ void setChunkSize(int chunkSize); /** * Captures the write channel state so that it can be saved and restored afterwards. The original - * {@code WriteChannel} and the restored one should not both be used. Closing one channel - * causes the other channel to close; subsequent writes will fail. + * {@code WriteChannel} and the restored one should not both be used. Closing one channel causes + * the other channel to close; subsequent writes will fail. * * @return a {@link RestorableState} object that contains the write channel state and can restore * it afterwards. diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java index d1212ad6bb76..56d9be78d696 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/package-info.java @@ -14,7 +14,5 @@ * limitations under the License. */ -/** - * Core classes for the {@code google-cloud} library. - */ +/** Core classes for the {@code google-cloud} library. */ package com.google.cloud; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 841d7e3e0716..00291f2b4b48 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -24,7 +24,6 @@ import com.google.common.io.CharStreams; import com.google.common.util.concurrent.SettableFuture; import com.google.common.util.concurrent.UncheckedExecutionException; - import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; @@ -59,9 +58,7 @@ import java.util.zip.ZipInputStream; import org.threeten.bp.Duration; -/** - * Utility class to start and stop a local service which is used by unit testing. - */ +/** Utility class to start and stop a local service which is used by unit testing. */ @InternalApi public abstract class BaseEmulatorHelper { @@ -88,9 +85,7 @@ protected BaseEmulatorHelper(String emulator, int port, String projectId) { */ protected abstract List getEmulatorRunners(); - /** - * Returns a logger. - */ + /** Returns a logger. */ protected abstract Logger getLogger(); /** @@ -108,8 +103,9 @@ protected final void startProcess(String blockUntilOutput) } } if (activeRunner != null) { - blockingProcessReader = BlockingProcessStreamReader.start(emulator, - activeRunner.getProcess().getInputStream(), blockUntilOutput, getLogger()); + blockingProcessReader = + BlockingProcessStreamReader.start( + emulator, activeRunner.getProcess().getInputStream(), blockUntilOutput, getLogger()); } else { // No available runner found. throw new IOException("No available emulator runner is found."); @@ -117,10 +113,11 @@ protected final void startProcess(String blockUntilOutput) } /** - * Waits for the local service's subprocess to terminate, - * and stop any possible thread listening for its output. + * Waits for the local service's subprocess to terminate, and stop any possible thread listening + * for its output. */ - protected final int waitForProcess(Duration timeout) throws IOException, InterruptedException, TimeoutException { + protected final int waitForProcess(Duration timeout) + throws IOException, InterruptedException, TimeoutException { if (activeRunner != null) { int exitCode = activeRunner.waitFor(timeout); activeRunner = null; @@ -133,23 +130,26 @@ protected final int waitForProcess(Duration timeout) throws IOException, Interru return 0; } - private static int waitForProcess(final Process process, Duration timeout) throws InterruptedException, TimeoutException { + private static int waitForProcess(final Process process, Duration timeout) + throws InterruptedException, TimeoutException { if (process == null) { return 0; } final SettableFuture exitValue = SettableFuture.create(); - Thread waiter = new Thread(new Runnable() { - @Override - public void run() { - try { - exitValue.set(process.waitFor()); - } catch (InterruptedException e) { - exitValue.setException(e); - } - } - }); + Thread waiter = + new Thread( + new Runnable() { + @Override + public void run() { + try { + exitValue.set(process.waitFor()); + } catch (InterruptedException e) { + exitValue.setException(e); + } + } + }); waiter.start(); try { @@ -164,38 +164,27 @@ public void run() { } } - /** - * Returns the port to which the local emulator is listening. - */ + /** Returns the port to which the local emulator is listening. */ public int getPort() { return port; } - /** - * Returns the project ID associated with the local emulator. - */ + /** Returns the project ID associated with the local emulator. */ public String getProjectId() { return projectId; } - /** - * Returns service options to access the local emulator. - */ + /** Returns service options to access the local emulator. */ public abstract T getOptions(); - /** - * Starts the local emulator. - */ + /** Starts the local emulator. */ public abstract void start() throws IOException, InterruptedException; - /** - * Stops the local emulator. - */ - public abstract void stop(Duration timeout) throws IOException, InterruptedException, TimeoutException; + /** Stops the local emulator. */ + public abstract void stop(Duration timeout) + throws IOException, InterruptedException, TimeoutException; - /** - * Resets the internal state of the emulator. - */ + /** Resets the internal state of the emulator. */ public abstract void reset() throws IOException; protected final String sendPostRequest(String request) throws IOException { @@ -225,9 +214,7 @@ protected static boolean isWindows() { return System.getProperty("os.name").toLowerCase(Locale.ENGLISH).contains("windows"); } - /** - * Utility interface to start and run an emulator. - */ + /** Utility interface to start and run an emulator. */ protected interface EmulatorRunner { /** @@ -236,26 +223,17 @@ protected interface EmulatorRunner { */ boolean isAvailable(); - /** - * Starts the emulator associated to this runner. - */ + /** Starts the emulator associated to this runner. */ void start() throws IOException; - /** - * Wait for the emulator associated to this runner to terminate, - * returning the exit status. - */ + /** Wait for the emulator associated to this runner to terminate, returning the exit status. */ int waitFor(Duration timeout) throws InterruptedException, TimeoutException; - /** - * Returns the process associated to the emulator, if any. - */ + /** Returns the process associated to the emulator, if any. */ Process getProcess(); } - /** - * Utility class to start and run an emulator from the Google Cloud SDK. - */ + /** Utility class to start and run an emulator from the Google Cloud SDK. */ protected static class GcloudEmulatorRunner implements EmulatorRunner { private final List commandText; @@ -337,9 +315,7 @@ private Version getInstalledEmulatorVersion(String versionPrefix) } } - /** - * Utility class to start and run an emulator from a download URL. - */ + /** Utility class to start and run an emulator from a download URL. */ protected static class DownloadableEmulatorRunner implements EmulatorRunner { private final List commandText; @@ -349,8 +325,8 @@ protected static class DownloadableEmulatorRunner implements EmulatorRunner { private Process process; private static final Logger log = Logger.getLogger(DownloadableEmulatorRunner.class.getName()); - public DownloadableEmulatorRunner(List commandText, URL downloadUrl, - String md5CheckSum) { + public DownloadableEmulatorRunner( + List commandText, URL downloadUrl, String md5CheckSum) { this.commandText = commandText; this.md5CheckSum = md5CheckSum; this.downloadUrl = downloadUrl; @@ -370,23 +346,30 @@ public boolean isAvailable() { @Override public void start() throws IOException { - ExceptionHandler retryOnAnythingExceptionHandler = ExceptionHandler.newBuilder().retryOn(Exception.class).build(); - - Path emulatorPath = RetryHelper.runWithRetries(new Callable() { - @Override - public Path call() throws IOException { - return downloadEmulator(); - } - }, ServiceOptions.getDefaultRetrySettings(), retryOnAnythingExceptionHandler, + ExceptionHandler retryOnAnythingExceptionHandler = + ExceptionHandler.newBuilder().retryOn(Exception.class).build(); + + Path emulatorPath = + RetryHelper.runWithRetries( + new Callable() { + @Override + public Path call() throws IOException { + return downloadEmulator(); + } + }, + ServiceOptions.getDefaultRetrySettings(), + retryOnAnythingExceptionHandler, CurrentMillisClock.getDefaultClock()); - process = CommandWrapper.create() - .setCommand(commandText) - .setDirectory(emulatorPath) - // gcloud redirects all output to stderr while emulators' executables use either stdout - // or stderr with no apparent convention. To be able to properly intercept and block - // waiting for emulators to be ready we redirect everything to stdout - .setRedirectErrorStream() - .start(); + process = + CommandWrapper.create() + .setCommand(commandText) + .setDirectory(emulatorPath) + // gcloud redirects all output to stderr while emulators' executables use either + // stdout + // or stderr with no apparent convention. To be able to properly intercept and block + // waiting for emulators to be ready we redirect everything to stdout + .setRedirectErrorStream() + .start(); } @Override @@ -416,12 +399,13 @@ private Path downloadEmulator() throws IOException { log.fine("Unzipping emulator"); } ZipEntry entry = zipIn.getNextEntry(); - while (entry != null) { + while (entry != null) { File filePath = new File(emulatorFolder, entry.getName()); String canonicalEmulatorFolderPath = emulatorFolder.getCanonicalPath(); String canonicalFilePath = filePath.getCanonicalPath(); if (!canonicalFilePath.startsWith(canonicalEmulatorFolderPath + File.separator)) { - throw new IllegalStateException("Entry is outside of the target dir: " + entry.getName()); + throw new IllegalStateException( + "Entry is outside of the target dir: " + entry.getName()); } if (!entry.isDirectory()) { extractFile(zipIn, filePath); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java index 6db3169ab048..90fbb764d55d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java @@ -19,7 +19,6 @@ import static com.google.common.base.MoreObjects.firstNonNull; import com.google.common.base.Strings; - import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; @@ -45,8 +44,8 @@ class BlockingProcessStreamReader extends Thread { private final String emulatorTag; private final Pattern logLinePattern; - private BlockingProcessStreamReader(String emulator, InputStream stream, String blockUntil, - Logger logger) throws IOException { + private BlockingProcessStreamReader( + String emulator, InputStream stream, String blockUntil, Logger logger) throws IOException { super("blocking-process-stream-reader"); setDaemon(true); errorReader = new BufferedReader(new InputStreamReader(stream)); @@ -66,7 +65,7 @@ public void run() { String previousLine = ""; String nextLine = ""; try { - for (;;) { + for (; ; ) { previousLine = nextLine; nextLine = errorReader.readLine(); if (nextLine == null) { @@ -131,8 +130,8 @@ private Level getLevel(String line) { } } - static BlockingProcessStreamReader start(String emulator, InputStream stream, String blockUntil, - Logger logger) throws IOException { + static BlockingProcessStreamReader start( + String emulator, InputStream stream, String blockUntil, Logger logger) throws IOException { BlockingProcessStreamReader thread = new BlockingProcessStreamReader(emulator, stream, blockUntil, logger); thread.start(); diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java index 7158c23b6495..79f70150a5f7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java @@ -22,9 +22,7 @@ import java.util.ArrayList; import java.util.List; -/** - * Utility class that executes system commands on both Windows and Unix. - */ +/** Utility class that executes system commands on both Windows and Unix. */ class CommandWrapper { private final List prefix; diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java index c069bd99e429..dfdc076fdf14 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/Version.java @@ -14,7 +14,6 @@ * limitations under the License. */ - package com.google.cloud.testing; import static com.google.common.base.Preconditions.checkNotNull; @@ -23,9 +22,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -/** - * Simplified wrapper for emulator's versions. - */ +/** Simplified wrapper for emulator's versions. */ class Version implements Comparable { private static final Pattern VERSION_PATTERN = Pattern.compile("^(\\d+)\\.(\\d+)\\.(\\d+)$"); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java index f871ab395a2f..241793b3bebd 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java @@ -22,25 +22,18 @@ import com.google.api.core.ApiFutures; import com.google.api.gax.paging.AsyncPage; import com.google.common.collect.ImmutableList; - -import org.junit.Test; - import java.util.concurrent.ExecutionException; +import org.junit.Test; public class AsyncPageImplTest { private static final ImmutableList VALUES1 = ImmutableList.of("1", "2"); private static final ImmutableList VALUES2 = ImmutableList.of("3", "4"); private static final ImmutableList VALUES3 = ImmutableList.of("5", "6"); - private static final ImmutableList ALL_VALUES = ImmutableList.builder() - .addAll(VALUES1) - .addAll(VALUES2) - .addAll(VALUES3) - .build(); - private static final ImmutableList SOME_VALUES = ImmutableList.builder() - .addAll(VALUES2) - .addAll(VALUES3) - .build(); + private static final ImmutableList ALL_VALUES = + ImmutableList.builder().addAll(VALUES1).addAll(VALUES2).addAll(VALUES3).build(); + private static final ImmutableList SOME_VALUES = + ImmutableList.builder().addAll(VALUES2).addAll(VALUES3).build(); private static class TestPageFetcher implements AsyncPageImpl.NextPageFetcher { private static final long serialVersionUID = 4703765400378593176L; @@ -67,7 +60,6 @@ public void testPage() { assertEquals(VALUES1, result.getValues()); } - @Test public void testPageAsync() throws ExecutionException, InterruptedException { final AsyncPageImpl nextResult = new AsyncPageImpl<>(null, "c", VALUES2); @@ -78,7 +70,6 @@ public void testPageAsync() throws ExecutionException, InterruptedException { assertEquals(VALUES1, result.getValues()); } - @Test public void testIterateAll() { final AsyncPageImpl nextResult2 = new AsyncPageImpl<>(null, "c3", VALUES3); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java index 84db30197b3d..5dcd1726bb0e 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java @@ -20,32 +20,27 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotSame; -import org.junit.Test; - import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; +import org.junit.Test; /** - * Base class for serialization tests. To use this class in your tests override the - * {@code serializableObjects()} method to return all objects that must be serializable. Also - * override {@code restorableObjects()} method to return all restorable objects whose state must be - * tested for proper serialization. Both methods can return {@code null} if no such object needs to - * be tested. + * Base class for serialization tests. To use this class in your tests override the {@code + * serializableObjects()} method to return all objects that must be serializable. Also override + * {@code restorableObjects()} method to return all restorable objects whose state must be tested + * for proper serialization. Both methods can return {@code null} if no such object needs to be + * tested. */ public abstract class BaseSerializationTest { - /** - * Returns all objects for which correct serialization must be tested. - */ + /** Returns all objects for which correct serialization must be tested. */ protected abstract Serializable[] serializableObjects(); - /** - * Returns all restorable objects whose state must be tested for proper serialization. - */ + /** Returns all restorable objects whose state must be tested for proper serialization. */ protected abstract Restorable[] restorableObjects(); @Test diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index fed2faa88318..1f6de6007be3 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -32,9 +32,7 @@ import java.util.Set; import org.junit.Test; -/** - * Tests for {@link BaseServiceException}. - */ +/** Tests for {@link BaseServiceException}. */ public class BaseServiceExceptionTest { private static final int CODE = 1; @@ -52,14 +50,17 @@ private static class CustomServiceException extends BaseServiceException { private static final long serialVersionUID = -195251309124875103L; public CustomServiceException(int code, String message, String reason, boolean idempotent) { - super(ExceptionData.from(code, message, reason, - BaseServiceException.isRetryable(code, reason, idempotent, RETRYABLE_ERRORS))); + super( + ExceptionData.from( + code, + message, + reason, + BaseServiceException.isRetryable(code, reason, idempotent, RETRYABLE_ERRORS))); } - private static final Set RETRYABLE_ERRORS = ImmutableSet - .of(new Error(CODE, REASON), - new Error(null, REASON), - new Error(CODE_NO_REASON, null)); + private static final Set RETRYABLE_ERRORS = + ImmutableSet.of( + new Error(CODE, REASON), new Error(null, REASON), new Error(CODE_NO_REASON, null)); } @Test @@ -84,8 +85,12 @@ public void testBaseServiceException() { serviceException = new BaseServiceException( ExceptionData.newBuilder() - .setMessage(MESSAGE).setCause(cause).setCode(CODE) - .setReason(REASON).setRetryable(RETRYABLE).setDebugInfo(DEBUG_INFO) + .setMessage(MESSAGE) + .setCause(cause) + .setCode(CODE) + .setReason(REASON) + .setRetryable(RETRYABLE) + .setDebugInfo(DEBUG_INFO) .setLocation(LOCATION) .build()); assertEquals(CODE, serviceException.getCode()); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java index 985310f9398f..b5e5273420b7 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java @@ -38,6 +38,7 @@ public class BaseWriteChannelTest { private abstract static class CustomService implements Service {} + private abstract static class CustomServiceOptions extends ServiceOptions { @@ -59,25 +60,25 @@ protected CustomServiceOptions( private static final Random RANDOM = new Random(); private static BaseWriteChannel channel; - @Rule - public ExpectedException thrown = ExpectedException.none(); + @Rule public ExpectedException thrown = ExpectedException.none(); @Before public void setUp() { - channel = new BaseWriteChannel(null, ENTITY, UPLOAD_ID) { - @Override - public RestorableState capture() { - return null; - } - - @Override - protected void flushBuffer(int length, boolean last) {} - - @Override - protected BaseState.Builder stateBuilder() { - return null; - } - }; + channel = + new BaseWriteChannel(null, ENTITY, UPLOAD_ID) { + @Override + public RestorableState capture() { + return null; + } + + @Override + protected void flushBuffer(int length, boolean last) {} + + @Override + protected BaseState.Builder stateBuilder() { + return null; + } + }; } @Test @@ -92,7 +93,6 @@ public void testConstructor() { assertEquals(DEFAULT_CHUNK_SIZE, channel.getChunkSize()); } - @Test public void testClose() throws IOException { channel.close(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java index c3433016c79e..42873f8643e9 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java @@ -21,15 +21,13 @@ import com.google.common.io.ByteStreams; import com.google.protobuf.ByteString; - -import org.junit.BeforeClass; -import org.junit.Test; - import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; +import org.junit.BeforeClass; +import org.junit.Test; public class ByteArrayTest { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java index 31dbf6416bbc..5892cc718b01 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -19,15 +19,13 @@ import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static com.google.common.truth.Truth.assertThat; +import com.google.common.testing.EqualsTester; import java.text.ParseException; import java.text.SimpleDateFormat; - import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; -import com.google.common.testing.EqualsTester; - /** Unit tests for {@link Date}. */ @RunWith(JUnit4.class) public class DateTest { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java index c668df83bd61..96687cac333d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java @@ -22,24 +22,19 @@ import com.google.cloud.ExceptionHandler.Interceptor; import com.google.cloud.ExceptionHandler.Interceptor.RetryResult; - -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.ExpectedException; - import java.io.FileNotFoundException; import java.io.IOException; import java.nio.channels.ClosedByInterruptException; import java.util.concurrent.Callable; import java.util.concurrent.atomic.AtomicReference; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; -/** - * Tests for {@link ExceptionHandler}. - */ +/** Tests for {@link ExceptionHandler}. */ public class ExceptionHandlerTest { - @Rule - public ExpectedException thrown = ExpectedException.none(); + @Rule public ExpectedException thrown = ExpectedException.none(); @Test public void testVerifyCaller() { @@ -50,8 +45,7 @@ public Object call() throws IOException, InterruptedException { } } - class B extends A { - } + class B extends A {} class C extends A { @Override @@ -90,9 +84,10 @@ public Object call() throws Error { assertValidCallable(new E(), handler); assertInvalidCallable(new F(), handler); - handler = ExceptionHandler.newBuilder() - .retryOn(FileNotFoundException.class, NullPointerException.class) - .build(); + handler = + ExceptionHandler.newBuilder() + .retryOn(FileNotFoundException.class, NullPointerException.class) + .build(); assertInvalidCallable(new A(), handler); assertInvalidCallable(new B(), handler); assertValidCallable(new C(), handler); @@ -121,10 +116,13 @@ public void testShouldTry() { assertTrue(handler.shouldRetry(new ClosedByInterruptException(), null)); assertFalse(handler.shouldRetry(new RuntimeException(), null)); - ExceptionHandler.Builder builder = ExceptionHandler.newBuilder() - .retryOn(IOException.class, NullPointerException.class) - .abortOn(RuntimeException.class, ClosedByInterruptException.class, - InterruptedException.class); + ExceptionHandler.Builder builder = + ExceptionHandler.newBuilder() + .retryOn(IOException.class, NullPointerException.class) + .abortOn( + RuntimeException.class, + ClosedByInterruptException.class, + InterruptedException.class); handler = builder.build(); assertTrue(handler.shouldRetry(new IOException(), null)); @@ -135,18 +133,19 @@ public void testShouldTry() { final AtomicReference before = new AtomicReference<>(RetryResult.NO_RETRY); @SuppressWarnings("serial") - Interceptor interceptor = new Interceptor() { + Interceptor interceptor = + new Interceptor() { - @Override - public RetryResult afterEval(Exception exception, RetryResult retryResult) { - return retryResult == RetryResult.NO_RETRY ? RetryResult.RETRY : RetryResult.NO_RETRY; - } + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return retryResult == RetryResult.NO_RETRY ? RetryResult.RETRY : RetryResult.NO_RETRY; + } - @Override - public RetryResult beforeEval(Exception exception) { - return before.get(); - } - }; + @Override + public RetryResult beforeEval(Exception exception) { + return before.get(); + } + }; builder.addInterceptors(interceptor); handler = builder.build(); @@ -174,19 +173,19 @@ public RetryResult beforeEval(Exception exception) { @Test public void testNullRetryResultFromBeforeEval() { @SuppressWarnings("serial") - Interceptor interceptor = new Interceptor() { + Interceptor interceptor = + new Interceptor() { - @Override - public RetryResult beforeEval(Exception exception) { - return null; - } + @Override + public RetryResult beforeEval(Exception exception) { + return null; + } - @Override - public RetryResult afterEval(Exception exception, RetryResult retryResult) { - return RetryResult.CONTINUE_EVALUATION; - } - - }; + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return RetryResult.CONTINUE_EVALUATION; + } + }; ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); @@ -196,19 +195,19 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) { @Test public void testNullRetryResultFromAfterEval() { @SuppressWarnings("serial") - Interceptor interceptor = new Interceptor() { - - @Override - public RetryResult beforeEval(Exception exception) { - return RetryResult.CONTINUE_EVALUATION; - } - - @Override - public RetryResult afterEval(Exception exception, RetryResult retryResult) { - return null; - } - - }; + Interceptor interceptor = + new Interceptor() { + + @Override + public RetryResult beforeEval(Exception exception) { + return RetryResult.CONTINUE_EVALUATION; + } + + @Override + public RetryResult afterEval(Exception exception, RetryResult retryResult) { + return null; + } + }; ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build(); thrown.expect(NullPointerException.class); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java index 2048a545396b..7b94ff529402 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java @@ -21,31 +21,32 @@ import com.google.cloud.FieldSelector.Helper; import com.google.common.collect.ImmutableList; - -import org.junit.Test; - import java.util.List; +import org.junit.Test; public class FieldSelectorHelperTest { - private static final FieldSelector FIELD1 = new FieldSelector() { - @Override - public String getSelector() { - return "field1"; - } - }; - private static final FieldSelector FIELD2 = new FieldSelector() { - @Override - public String getSelector() { - return "field2"; - } - }; - private static final FieldSelector FIELD3 = new FieldSelector() { - @Override - public String getSelector() { - return "field3"; - } - }; + private static final FieldSelector FIELD1 = + new FieldSelector() { + @Override + public String getSelector() { + return "field1"; + } + }; + private static final FieldSelector FIELD2 = + new FieldSelector() { + @Override + public String getSelector() { + return "field2"; + } + }; + private static final FieldSelector FIELD3 = + new FieldSelector() { + @Override + public String getSelector() { + return "field3"; + } + }; private static final String[] FIRST_LEVEL_FIELDS = {"firstLevel1", "firstLevel2"}; private static final List REQUIRED_FIELDS = ImmutableList.of(FIELD1, FIELD2); private static final String CONTAINER = "container"; @@ -72,8 +73,8 @@ public void testListSelector() { @Test public void testListSelectorWithExtraFields() { - String selector = Helper.listSelector(CONTAINER, REQUIRED_FIELDS, - new FieldSelector[]{FIELD3}, "field4"); + String selector = + Helper.listSelector(CONTAINER, REQUIRED_FIELDS, new FieldSelector[] {FIELD3}, "field4"); assertTrue(selector.startsWith("nextPageToken,container(")); assertTrue(selector.contains("field1")); assertTrue(selector.contains("field2")); @@ -85,8 +86,9 @@ public void testListSelectorWithExtraFields() { @Test public void testListSelectorWithFirstLevelFields() { - String selector = Helper.listSelector(FIRST_LEVEL_FIELDS, CONTAINER, REQUIRED_FIELDS, - new FieldSelector[]{FIELD3}, "field4"); + String selector = + Helper.listSelector( + FIRST_LEVEL_FIELDS, CONTAINER, REQUIRED_FIELDS, new FieldSelector[] {FIELD3}, "field4"); assertTrue(selector.contains("firstLevel1")); assertTrue(selector.contains("firstLevel2")); assertTrue(selector.contains("nextPageToken")); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index e4227019b3ea..6f419cbb671b 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -40,21 +40,18 @@ public void testAllUsers() { assertNull(ALL_USERS.getValue()); } - @Test public void testAllAuthenticatedUsers() { assertEquals(Identity.Type.ALL_AUTHENTICATED_USERS, ALL_AUTH_USERS.getType()); assertNull(ALL_AUTH_USERS.getValue()); } - @Test public void testUser() { assertEquals(Identity.Type.USER, USER.getType()); assertEquals("abc@gmail.com", USER.getValue()); } - @Test(expected = NullPointerException.class) public void testUserNullEmail() { Identity.user(null); @@ -66,7 +63,6 @@ public void testServiceAccount() { assertEquals("service-account@gmail.com", SERVICE_ACCOUNT.getValue()); } - @Test(expected = NullPointerException.class) public void testServiceAccountNullEmail() { Identity.serviceAccount(null); @@ -78,7 +74,6 @@ public void testGroup() { assertEquals("group@gmail.com", GROUP.getValue()); } - @Test(expected = NullPointerException.class) public void testGroupNullEmail() { Identity.group(null); @@ -90,7 +85,6 @@ public void testDomain() { assertEquals("google.com", DOMAIN.getValue()); } - @Test(expected = NullPointerException.class) public void testDomainNullId() { Identity.domain(null); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java index 16c2924c84ae..b29896af4821 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java @@ -22,10 +22,8 @@ import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor; import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; import com.google.common.collect.ImmutableList; - -import org.junit.Test; - import java.util.List; +import org.junit.Test; public class MonitoredResourceDescriptorTest { @@ -67,7 +65,6 @@ public void testLabelDescriptor() { assertNull(INT_LABEL_NO_DESCRIPTION.getDescription()); } - @Test public void testBuilder() { assertEquals(TYPE, RESOURCE_DESCRIPTOR.getType()); @@ -84,24 +81,23 @@ public void testBuilder() { assertEquals(ImmutableList.of(), resourceDescriptor.getLabels()); } - @Test public void testToAndFromPbLabelDescriptor() { compareLabelDescriptor(BOOLEAN_LABEL, LabelDescriptor.fromPb(BOOLEAN_LABEL.toPb())); compareLabelDescriptor(STRING_LABEL, LabelDescriptor.fromPb(STRING_LABEL.toPb())); compareLabelDescriptor(INT_LABEL, LabelDescriptor.fromPb(INT_LABEL.toPb())); - compareLabelDescriptor(INT_LABEL_NO_DESCRIPTION, - LabelDescriptor.fromPb(INT_LABEL_NO_DESCRIPTION.toPb())); + compareLabelDescriptor( + INT_LABEL_NO_DESCRIPTION, LabelDescriptor.fromPb(INT_LABEL_NO_DESCRIPTION.toPb())); } @Test public void testToAndFromPb() { - compareResourceDescriptor(RESOURCE_DESCRIPTOR, - MonitoredResourceDescriptor.fromPb(RESOURCE_DESCRIPTOR.toPb())); + compareResourceDescriptor( + RESOURCE_DESCRIPTOR, MonitoredResourceDescriptor.fromPb(RESOURCE_DESCRIPTOR.toPb())); MonitoredResourceDescriptor resourceDescriptor = MonitoredResourceDescriptor.newBuilder(TYPE).build(); - compareResourceDescriptor(resourceDescriptor, - MonitoredResourceDescriptor.fromPb(resourceDescriptor.toPb())); + compareResourceDescriptor( + resourceDescriptor, MonitoredResourceDescriptor.fromPb(resourceDescriptor.toPb())); } private void compareLabelDescriptor(LabelDescriptor expected, LabelDescriptor value) { @@ -113,8 +109,8 @@ private void compareLabelDescriptor(LabelDescriptor expected, LabelDescriptor va assertEquals(expected.toString(), value.toString()); } - private void compareResourceDescriptor(MonitoredResourceDescriptor expected, - MonitoredResourceDescriptor value) { + private void compareResourceDescriptor( + MonitoredResourceDescriptor expected, MonitoredResourceDescriptor value) { assertEquals(expected, value); assertEquals(expected.getType(), value.getType()); assertEquals(expected.getName(), value.getName()); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java index 72c6a45dc0d7..6054a7aa3463 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java @@ -19,56 +19,54 @@ import static org.junit.Assert.assertEquals; import com.google.common.collect.ImmutableMap; - -import org.junit.Test; - import java.util.Map; +import org.junit.Test; public class MonitoredResourceTest { private static final String TYPE = "cloudsql_database"; private static final Map LABELS = ImmutableMap.of("dataset-id", "myDataset", "zone", "myZone"); - private static final MonitoredResource MONITORED_RESOURCE = MonitoredResource.newBuilder(TYPE) - .setLabels(LABELS) - .build(); + private static final MonitoredResource MONITORED_RESOURCE = + MonitoredResource.newBuilder(TYPE).setLabels(LABELS).build(); @Test public void testBuilder() { assertEquals(TYPE, MONITORED_RESOURCE.getType()); assertEquals(LABELS, MONITORED_RESOURCE.getLabels()); - MonitoredResource monitoredResource = MonitoredResource.newBuilder(TYPE) - .addLabel("dataset-id", "myDataset") - .addLabel("zone", "myZone") - .build(); + MonitoredResource monitoredResource = + MonitoredResource.newBuilder(TYPE) + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .build(); assertEquals(TYPE, monitoredResource.getType()); assertEquals(LABELS, monitoredResource.getLabels()); compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); - monitoredResource = MonitoredResource.newBuilder(TYPE) - .setType("global") - .addLabel("dataset-id", "myDataset") - .addLabel("zone", "myZone") - .clearLabels() - .build(); + monitoredResource = + MonitoredResource.newBuilder(TYPE) + .setType("global") + .addLabel("dataset-id", "myDataset") + .addLabel("zone", "myZone") + .clearLabels() + .build(); assertEquals("global", monitoredResource.getType()); assertEquals(ImmutableMap.of(), monitoredResource.getLabels()); } - @Test public void testToBuilder() { compareMonitoredResource(MONITORED_RESOURCE, MONITORED_RESOURCE.toBuilder().build()); - MonitoredResource monitoredResource = MONITORED_RESOURCE.toBuilder() - .setType("global") - .clearLabels() - .build(); + MonitoredResource monitoredResource = + MONITORED_RESOURCE.toBuilder().setType("global").clearLabels().build(); assertEquals("global", monitoredResource.getType()); assertEquals(ImmutableMap.of(), monitoredResource.getLabels()); - monitoredResource = monitoredResource.toBuilder() - .setType(TYPE) - .setLabels(ImmutableMap.of("dataset-id", "myDataset")) - .addLabel("zone", "myZone") - .build(); + monitoredResource = + monitoredResource + .toBuilder() + .setType(TYPE) + .setLabels(ImmutableMap.of("dataset-id", "myDataset")) + .addLabel("zone", "myZone") + .build(); compareMonitoredResource(MONITORED_RESOURCE, monitoredResource); } @@ -82,8 +80,8 @@ public void testOf() { @Test public void testToAndFromPb() { - compareMonitoredResource(MONITORED_RESOURCE, - MonitoredResource.fromPb(MONITORED_RESOURCE.toPb())); + compareMonitoredResource( + MONITORED_RESOURCE, MonitoredResource.fromPb(MONITORED_RESOURCE.toPb())); MonitoredResource monitoredResource = MonitoredResource.of(TYPE, ImmutableMap.of()); compareMonitoredResource(monitoredResource, MonitoredResource.fromPb(monitoredResource.toPb())); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java index 47d434ec2aa2..5e6a6782d6e2 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java @@ -20,17 +20,14 @@ import com.google.api.gax.paging.Page; import com.google.common.collect.ImmutableList; - import org.junit.Test; public class PageImplTest { private static final ImmutableList VALUES = ImmutableList.of("1", "2"); private static final ImmutableList NEXT_VALUES = ImmutableList.of("3", "4"); - private static final ImmutableList ALL_VALUES = ImmutableList.builder() - .addAll(VALUES) - .addAll(NEXT_VALUES) - .build(); + private static final ImmutableList ALL_VALUES = + ImmutableList.builder().addAll(VALUES).addAll(NEXT_VALUES).build(); private static class TestPageFetcher implements PageImpl.NextPageFetcher { private static final long serialVersionUID = -8316752901403429976L; @@ -57,7 +54,6 @@ public void testPage() { assertEquals(VALUES, result.getValues()); } - @Test public void testIterateAll() { final PageImpl nextResult = new PageImpl<>(null, "c", NEXT_VALUES); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java index 48c8bbbc08ce..61d99223e4a8 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -26,13 +26,11 @@ import com.google.cloud.Policy.DefaultMarshaller; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; - -import org.junit.Test; - import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; +import org.junit.Test; public class PolicyTest { @@ -46,20 +44,23 @@ public class PolicyTest { private static final Role VIEWER = Role.viewer(); private static final Role EDITOR = Role.editor(); private static final Role OWNER = Role.owner(); - private static final Map> BINDINGS = ImmutableMap.of( - VIEWER, - ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS), - EDITOR, - ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)); - private static final Policy SIMPLE_POLICY = Policy.newBuilder() - .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) - .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) - .build(); - private static final Policy FULL_POLICY = Policy.newBuilder() - .setBindings(SIMPLE_POLICY.getBindings()) - .setEtag("etag") - .setVersion(1) - .build(); + private static final Map> BINDINGS = + ImmutableMap.of( + VIEWER, + ImmutableSet.of(USER, SERVICE_ACCOUNT, ALL_USERS), + EDITOR, + ImmutableSet.of(ALL_AUTH_USERS, GROUP, DOMAIN)); + private static final Policy SIMPLE_POLICY = + Policy.newBuilder() + .addIdentity(VIEWER, USER, SERVICE_ACCOUNT, ALL_USERS) + .addIdentity(EDITOR, ALL_AUTH_USERS, GROUP, DOMAIN) + .build(); + private static final Policy FULL_POLICY = + Policy.newBuilder() + .setBindings(SIMPLE_POLICY.getBindings()) + .setEtag("etag") + .setVersion(1) + .build(); @Test public void testBuilder() { @@ -79,22 +80,26 @@ public void testBuilder() { assertEquals(ImmutableMap.of(VIEWER, BINDINGS.get(VIEWER)), policy.getBindings()); assertNull(policy.getEtag()); assertEquals(0, policy.getVersion()); - policy = policy.toBuilder() - .removeIdentity(VIEWER, USER, ALL_USERS) - .addIdentity(VIEWER, DOMAIN, GROUP) - .build(); - assertEquals(ImmutableMap.of(VIEWER, ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), + policy = + policy + .toBuilder() + .removeIdentity(VIEWER, USER, ALL_USERS) + .addIdentity(VIEWER, DOMAIN, GROUP) + .build(); + assertEquals( + ImmutableMap.of(VIEWER, ImmutableSet.of(SERVICE_ACCOUNT, DOMAIN, GROUP)), policy.getBindings()); assertNull(policy.getEtag()); assertEquals(0, policy.getVersion()); - policy = Policy.newBuilder() - .removeIdentity(VIEWER, USER) - .addIdentity(OWNER, USER, SERVICE_ACCOUNT) - .addIdentity(EDITOR, GROUP) - .removeIdentity(EDITOR, GROUP) - .build(); - assertEquals(ImmutableMap.of(OWNER, ImmutableSet.of(USER, SERVICE_ACCOUNT)), - policy.getBindings()); + policy = + Policy.newBuilder() + .removeIdentity(VIEWER, USER) + .addIdentity(OWNER, USER, SERVICE_ACCOUNT) + .addIdentity(EDITOR, GROUP) + .removeIdentity(EDITOR, GROUP) + .build(); + assertEquals( + ImmutableMap.of(OWNER, ImmutableSet.of(USER, SERVICE_ACCOUNT)), policy.getBindings()); assertNull(policy.getEtag()); assertEquals(0, policy.getVersion()); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java index 4ad000bb7830..e1c906ca23f3 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java @@ -23,7 +23,6 @@ import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; - import org.threeten.bp.Duration; public class RetryOptionTest { @@ -123,7 +122,6 @@ public void testMergeToSettings() { mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, RETRY_DELAY_MULTIPLIER); assertEquals(defRetrySettings, mergedRetrySettings); - defRetrySettings = defRetrySettings.toBuilder().setMaxAttempts(100).build(); mergedRetrySettings = RetryOption.mergeToSettings(defRetrySettings, MAX_ATTEMPTS); assertEquals(defRetrySettings, mergedRetrySettings); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java index 0101a5b6e21f..d6fcdf844176 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RoleTest.java @@ -39,7 +39,6 @@ public void testOf() { assertThat(Role.of(customRole).getValue()).isEqualTo(customRole); } - @Test public void testViewer() { assertThat(Role.viewer().getValue()).isEqualTo("roles/viewer"); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java index 62030b168fa8..6c35c665b511 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java @@ -22,7 +22,6 @@ import com.google.cloud.MonitoredResourceDescriptor.LabelDescriptor.ValueType; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; - import java.io.Serializable; import org.threeten.bp.Duration; @@ -51,31 +50,31 @@ public class SerializationTest extends BaseSerializationTest { .build(); private static final String JSON_KEY = "{\n" - + " \"private_key_id\": \"somekeyid\",\n" - + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" - + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" - + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" - + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" - + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" - + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" - + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" - + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" - + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" - + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" - + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" - + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" - + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" - + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" - + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" - + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" - + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" - + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" - + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" - + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" - + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" - + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" - + " \"type\": \"service_account\"\n" - + "}"; + + " \"private_key_id\": \"somekeyid\",\n" + + " \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS" + + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg" + + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4" + + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2" + + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa" + + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF" + + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL" + + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\" + + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp" + + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF" + + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm" + + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK" + + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF" + + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR" + + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl" + + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa" + + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi" + + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG" + + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk" + + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n" + + " \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n" + + " \"client_id\": \"someclientid.apps.googleusercontent.com\",\n" + + " \"type\": \"service_account\"\n" + + "}"; @Override protected Serializable[] serializableObjects() { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index cbb4dd04f127..3ce9ffd5436a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -25,32 +25,29 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import com.google.api.core.ApiClock; -import com.google.api.core.CurrentMillisClock; -import com.google.api.client.http.HttpResponse; import com.google.api.client.http.HttpRequest; +import com.google.api.client.http.HttpResponse; import com.google.api.client.http.HttpTransport; -import com.google.api.client.http.LowLevelHttpResponse; import com.google.api.client.http.LowLevelHttpRequest; +import com.google.api.client.http.LowLevelHttpResponse; import com.google.api.client.testing.http.HttpTesting; import com.google.api.client.testing.http.MockHttpTransport; import com.google.api.client.testing.http.MockLowLevelHttpRequest; import com.google.api.client.testing.http.MockLowLevelHttpResponse; +import com.google.api.core.ApiClock; +import com.google.api.core.CurrentMillisClock; import com.google.auth.oauth2.GoogleCredentials; import com.google.cloud.spi.ServiceRpcFactory; - +import com.google.common.collect.ArrayListMultimap; +import com.google.common.collect.Multimap; +import com.google.common.io.Files; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; -import java.nio.charset.Charset; import java.util.Map; import java.util.Set; import java.util.regex.Pattern; - -import com.google.common.collect.ArrayListMultimap; -import com.google.common.collect.Multimap; -import com.google.common.io.Files; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -154,8 +151,7 @@ public class ServiceOptionsTest { TestServiceOptions.newBuilder().setProjectId("project-id").build(); private static final TestServiceOptions OPTIONS_COPY = OPTIONS.toBuilder().build(); private static final String LIBRARY_NAME = "gcloud-java"; - private static final Pattern APPLICATION_NAME_PATTERN = - Pattern.compile(LIBRARY_NAME + "/.*"); + private static final Pattern APPLICATION_NAME_PATTERN = Pattern.compile(LIBRARY_NAME + "/.*"); @Rule public ExpectedException thrown = ExpectedException.none(); @@ -191,8 +187,7 @@ public TestService create(TestServiceOptions options) { } } - public interface TestServiceRpcFactory - extends ServiceRpcFactory {} + public interface TestServiceRpcFactory extends ServiceRpcFactory {} private static class DefaultTestServiceRpcFactory implements TestServiceRpcFactory { private static final TestServiceRpcFactory INSTANCE = new DefaultTestServiceRpcFactory(); @@ -209,8 +204,7 @@ private static class DefaultTestServiceRpc implements TestServiceRpc { DefaultTestServiceRpc(TestServiceOptions options) {} } - static class TestServiceOptions - extends ServiceOptions { + static class TestServiceOptions extends ServiceOptions { private static class Builder extends ServiceOptions.Builder { private Builder() {} @@ -226,12 +220,15 @@ protected TestServiceOptions build() { } private TestServiceOptions(Builder builder) { - super(TestServiceFactory.class, TestServiceRpcFactory.class, builder, + super( + TestServiceFactory.class, + TestServiceRpcFactory.class, + builder, new TestServiceDefaults()); } - private static class TestServiceDefaults implements - ServiceDefaults { + private static class TestServiceDefaults + implements ServiceDefaults { @Override public TestServiceFactory getDefaultServiceFactory() { @@ -280,8 +277,7 @@ public void testBuilder() { assertSame(TEST_CLOCK, OPTIONS.getClock()); assertEquals("host", OPTIONS.getHost()); assertEquals("project-id", OPTIONS.getProjectId()); - assertSame(ServiceOptions.getNoRetrySettings(), - OPTIONS.getRetrySettings()); + assertSame(ServiceOptions.getNoRetrySettings(), OPTIONS.getRetrySettings()); assertSame(CurrentMillisClock.getDefaultClock(), DEFAULT_OPTIONS.getClock()); assertEquals("https://www.googleapis.com", DEFAULT_OPTIONS.getHost()); assertSame(ServiceOptions.getDefaultRetrySettings(), DEFAULT_OPTIONS.getRetrySettings()); @@ -307,27 +303,28 @@ public void testBuilderNullCredentials() { @Test public void testBuilderServiceAccount_setsProjectId() { - TestServiceOptions options = TestServiceOptions.newBuilder() - .setCredentials(credentialsWithProjectId) - .build(); + TestServiceOptions options = + TestServiceOptions.newBuilder().setCredentials(credentialsWithProjectId).build(); assertEquals("someprojectid", options.getProjectId()); } @Test public void testBuilderServiceAccount_explicitSetProjectIdBefore() { - TestServiceOptions options = TestServiceOptions.newBuilder() - .setProjectId("override-project-id") - .setCredentials(credentialsWithProjectId) - .build(); + TestServiceOptions options = + TestServiceOptions.newBuilder() + .setProjectId("override-project-id") + .setCredentials(credentialsWithProjectId) + .build(); assertEquals("override-project-id", options.getProjectId()); } @Test public void testBuilderServiceAccount_explicitSetProjectIdAfter() { - TestServiceOptions options = TestServiceOptions.newBuilder() - .setCredentials(credentialsWithProjectId) - .setProjectId("override-project-id") - .build(); + TestServiceOptions options = + TestServiceOptions.newBuilder() + .setCredentials(credentialsWithProjectId) + .setProjectId("override-project-id") + .build(); assertEquals("override-project-id", options.getProjectId()); } @@ -374,7 +371,8 @@ public void testGetServiceAccountProjectId() throws Exception { credentialsFile.deleteOnExit(); Files.write("{\"project_id\":\"my-project-id\"}".getBytes(), credentialsFile); - assertEquals("my-project-id", ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); + assertEquals( + "my-project-id", ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath())); } @Test @@ -402,29 +400,32 @@ public void testResponseHeaderContainsMetaDataFlavor() throws Exception { } @Test - public void testResponseHeaderDoesNotContainMetaDataFlavor() throws Exception { + public void testResponseHeaderDoesNotContainMetaDataFlavor() throws Exception { Multimap headers = ArrayListMultimap.create(); HttpResponse httpResponse = createHttpResponseWithHeader(headers); - assertThat(ServiceOptions.headerContainsMetadataFlavor(httpResponse)).isFalse(); + assertThat(ServiceOptions.headerContainsMetadataFlavor(httpResponse)).isFalse(); } - private HttpResponse createHttpResponseWithHeader(final Multimap headers) throws Exception { - HttpTransport mockHttpTransport = new MockHttpTransport() { - @Override - public LowLevelHttpRequest buildRequest(String method, String url) throws IOException { - return new MockLowLevelHttpRequest() { + private HttpResponse createHttpResponseWithHeader(final Multimap headers) + throws Exception { + HttpTransport mockHttpTransport = + new MockHttpTransport() { @Override - public LowLevelHttpResponse execute() throws IOException { - MockLowLevelHttpResponse response = new MockLowLevelHttpResponse(); - for (Map.Entry entry : headers.entries()) { - response.addHeader(entry.getKey(), entry.getValue()); - } - return response; + public LowLevelHttpRequest buildRequest(String method, String url) throws IOException { + return new MockLowLevelHttpRequest() { + @Override + public LowLevelHttpResponse execute() throws IOException { + MockLowLevelHttpResponse response = new MockLowLevelHttpResponse(); + for (Map.Entry entry : headers.entries()) { + response.addHeader(entry.getKey(), entry.getValue()); + } + return response; + } + }; } }; - } - }; - HttpRequest request = mockHttpTransport.createRequestFactory().buildGetRequest(HttpTesting.SIMPLE_GENERIC_URL); + HttpRequest request = + mockHttpTransport.createRequestFactory().buildGetRequest(HttpTesting.SIMPLE_GENERIC_URL); return request.execute(); } } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java index 362ef4529c07..6240e8b86851 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java @@ -26,8 +26,7 @@ public class StringEnumTest { - @Rule - public ExpectedException expectedException = ExpectedException.none(); + @Rule public ExpectedException expectedException = ExpectedException.none(); public static class Letter extends StringEnumValue { private static final long serialVersionUID = -1717976087182628526L; @@ -44,9 +43,8 @@ public Letter apply(String constant) { } }; - private static final StringEnumType type = new StringEnumType( - Letter.class, - CONSTRUCTOR); + private static final StringEnumType type = + new StringEnumType(Letter.class, CONSTRUCTOR); public static final Letter A = type.createAndRegister("A"); public static final Letter B = type.createAndRegister("B"); @@ -56,16 +54,12 @@ public static Letter valueOfStrict(String constant) { return type.valueOfStrict(constant); } - /** - * Get the StorageClass for the given String constant, and allow unrecognized values. - */ + /** Get the StorageClass for the given String constant, and allow unrecognized values. */ public static Letter valueOf(String constant) { return type.valueOf(constant); } - /** - * Return the known values for StorageClass. - */ + /** Return the known values for StorageClass. */ public static Letter[] values() { return type.values(); } @@ -110,8 +104,8 @@ public void testEquals() { tester.addEqualityGroup(Letter.A, Letter.valueOf("A"), Letter.valueOfStrict("A")); tester.addEqualityGroup(Letter.B, Letter.valueOf("B"), Letter.valueOfStrict("B")); tester.addEqualityGroup(Letter.C, Letter.valueOf("C"), Letter.valueOfStrict("C")); - tester - .addEqualityGroup(Letter.valueOf("NonExistentLetter"), Letter.valueOf("NonExistentLetter")); + tester.addEqualityGroup( + Letter.valueOf("NonExistentLetter"), Letter.valueOf("NonExistentLetter")); } @Test diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index c78f54627c77..8a72abbee4e5 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -86,7 +86,7 @@ public void ofDate() { public void ofDatePreEpoch() { Timestamp timestamp = Timestamp.of(TEST_DATE_PRE_EPOCH); long expectedSeconds = TEST_TIME_MILLISECONDS_NEGATIVE / 1_000; - int expectedNanos = (int)(TEST_TIME_MILLISECONDS_NEGATIVE % 1_000 * 1000_000); + int expectedNanos = (int) (TEST_TIME_MILLISECONDS_NEGATIVE % 1_000 * 1000_000); if (expectedNanos < 0) { expectedSeconds--; expectedNanos += 1_000_000_000; diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java index 7cb4a4ab078b..3a799e2044af 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -20,7 +20,6 @@ import com.google.cloud.ServiceOptions; import com.google.cloud.testing.BaseEmulatorHelper.EmulatorRunner; import com.google.common.collect.ImmutableList; - import java.io.ByteArrayInputStream; import java.io.EOFException; import java.io.File; @@ -103,7 +102,8 @@ public void testEmulatorHelper() throws IOException, InterruptedException, Timeo } @Test - public void testEmulatorHelperDownloadWithRetries() throws IOException, InterruptedException, TimeoutException { + public void testEmulatorHelperDownloadWithRetries() + throws IOException, InterruptedException, TimeoutException { String mockExternalForm = "mockExternalForm"; String mockInputStream = "mockInputStream"; String mockProtocol = "mockProtocol"; @@ -114,31 +114,37 @@ public void testEmulatorHelperDownloadWithRetries() throws IOException, Interrup URLConnection mockURLConnection = EasyMock.mock(URLConnection.class); EasyMock.expect(mockURLStreamHandler.toExternalForm(EasyMock.anyObject(URL.class))) - .andReturn(mockExternalForm).anyTimes(); + .andReturn(mockExternalForm) + .anyTimes(); EasyMock.expect(mockURLConnection.getInputStream()) - .andReturn(new ByteArrayInputStream(mockInputStream.getBytes())).anyTimes(); + .andReturn(new ByteArrayInputStream(mockInputStream.getBytes())) + .anyTimes(); EasyMock.expect(mockURLStreamHandler.openConnection(EasyMock.anyObject(URL.class))) - .andThrow(new EOFException()).times(1); + .andThrow(new EOFException()) + .times(1); EasyMock.expect(mockURLStreamHandler.openConnection(EasyMock.anyObject(URL.class))) - .andReturn(mockURLConnection).times(1); + .andReturn(mockURLConnection) + .times(1); EasyMock.replay(mockURLStreamHandler, mockURLConnection); URL url = new URL(mockProtocol, null, 0, mockFile, mockURLStreamHandler); BaseEmulatorHelper.DownloadableEmulatorRunner runner = - new BaseEmulatorHelper.DownloadableEmulatorRunner(ImmutableList.of(mockCommandText), url, null); + new BaseEmulatorHelper.DownloadableEmulatorRunner( + ImmutableList.of(mockCommandText), url, null); File cachedFile = new File(System.getProperty("java.io.tmpdir"), mockExternalForm); - cachedFile.delete(); //Clear the cached version so we're always testing the download + cachedFile.delete(); // Clear the cached version so we're always testing the download runner.start(); EasyMock.verify(); - cachedFile.delete(); //Cleanup + cachedFile.delete(); // Cleanup } @Test - public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedException, TimeoutException { + public void testEmulatorHelperMultipleRunners() + throws IOException, InterruptedException, TimeoutException { Process process = EasyMock.createStrictMock(Process.class); InputStream stream = new ByteArrayInputStream(BLOCK_UNTIL.getBytes(Charsets.UTF_8)); EmulatorRunner firstRunner = EasyMock.createStrictMock(EmulatorRunner.class); @@ -160,7 +166,8 @@ public void testEmulatorHelperMultipleRunners() throws IOException, InterruptedE } /** - * URLStreamHandler has a protected method which needs to be mocked, so we need our own implementation in this package + * URLStreamHandler has a protected method which needs to be mocked, so we need our own + * implementation in this package */ private class MockURLStreamHandler extends URLStreamHandler { @Override diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java index a2c854ffb941..56b406f9634a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java @@ -21,41 +21,40 @@ import com.google.api.client.util.Charsets; import com.google.common.collect.LinkedHashMultimap; import com.google.common.collect.Multimap; - -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.Timeout; - import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.logging.Level; import java.util.logging.Logger; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.Timeout; public class BlockingProcessStreamReaderTest { private static final String BLOCK_UNTIL = "Dev App Server is now running"; - private static final String OUTPUT = "First Line\n" - + "Second Line\n" - + BLOCK_UNTIL; - private static final String OUTPUT_WITH_LOGS = "First Line\n" - + BLOCK_UNTIL + "\n" - + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" - + "INFO: log line 1\n" - + "log line 2\n" - + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" - + "FINE: log line 3\n"; - private static final String TAGGED_OUTPUT_WITH_LOGS = "[emulator] First Line\n" - + "[emulator]" + BLOCK_UNTIL + "\n" - + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" - + "[emulator] INFO: log line 1\n" - + "[emulator] log line 2\n" - + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" - + "[emulator] FINE: log line 3\n"; - - - @Rule - public Timeout globalTimeout = Timeout.seconds(10); + private static final String OUTPUT = "First Line\n" + "Second Line\n" + BLOCK_UNTIL; + private static final String OUTPUT_WITH_LOGS = + "First Line\n" + + BLOCK_UNTIL + + "\n" + + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "INFO: log line 1\n" + + "log line 2\n" + + "Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "FINE: log line 3\n"; + private static final String TAGGED_OUTPUT_WITH_LOGS = + "[emulator] First Line\n" + + "[emulator]" + + BLOCK_UNTIL + + "\n" + + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "[emulator] INFO: log line 1\n" + + "[emulator] log line 2\n" + + "[emulator] Nov 08, 2016 2:05:44 PM io.netty.buffer.PooledByteBufAllocator \n" + + "[emulator] FINE: log line 3\n"; + + @Rule public Timeout globalTimeout = Timeout.seconds(10); private static final class TestLogger extends Logger { @@ -79,7 +78,8 @@ public void testForwardLogEntry() throws IOException, InterruptedException { TestLogger logger = new TestLogger(); InputStream stream = new ByteArrayInputStream(OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger).join(); - assertEquals("[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", + assertEquals( + "[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", logger.getLogs().get(Level.INFO).iterator().next()); assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); stream.close(); @@ -90,7 +90,8 @@ public void testForwardAlreadyTaggedLogs() throws IOException, InterruptedExcept TestLogger logger = new TestLogger(); InputStream stream = new ByteArrayInputStream(TAGGED_OUTPUT_WITH_LOGS.getBytes(Charsets.UTF_8)); BlockingProcessStreamReader.start("emulator", stream, BLOCK_UNTIL, logger).join(); - assertEquals("[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", + assertEquals( + "[emulator] log line 1" + System.lineSeparator() + "[emulator] log line 2", logger.getLogs().get(Level.INFO).iterator().next()); assertEquals("[emulator] log line 3", logger.getLogs().get(Level.FINE).iterator().next()); stream.close(); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java index 51f38e70db5a..88b246c75420 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java @@ -22,13 +22,11 @@ import static org.junit.Assert.assertTrue; import com.google.common.collect.ImmutableList; - -import org.junit.Test; - import java.io.File; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; +import org.junit.Test; public class CommandWrapperTest { diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java index f55659a03098..4e1d88f8a218 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java @@ -25,8 +25,7 @@ public class VersionTest { - @Rule - public ExpectedException thrown = ExpectedException.none(); + @Rule public ExpectedException thrown = ExpectedException.none(); @Test public void testFromString() { From c4340bc3f2a92d3f8769a353d4d5951b84ede5b5 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 4 Dec 2018 14:58:41 -0800 Subject: [PATCH 0593/3036] Remove exclusions for guava-jdk5 and google-api-client (#4177) We've updated the apiary clients to versions that no longer need these exclusions. --- java-core/google-cloud-core-http/pom.xml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 90118266553c..7acb0241f74f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -48,34 +48,16 @@ com.google.api-client google-api-client compile - - - guava-jdk5 - com.google.guava - - com.google.http-client google-http-client-appengine compile - - - guava-jdk5 - com.google.guava - - com.google.http-client google-http-client-jackson2 compile - - - guava-jdk5 - com.google.guava - - com.google.api From 84c6c27169f6e5ff7077d2640241cc17c16f16d8 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 5 Dec 2018 14:09:06 -0800 Subject: [PATCH 0594/3036] Document purpose of test-jar and testlib dependencies (#4164) --- java-core/google-cloud-core-grpc/pom.xml | 2 ++ java-core/google-cloud-core-http/pom.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f2aa52050930..ce6a5b6b933c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -77,6 +77,8 @@ com.google.api gax-grpc + + com.google.truth truth diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 7acb0241f74f..0dd0cce0e80a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -63,6 +63,8 @@ com.google.api gax-httpjson + + junit junit From fbddb9c738af0be27958835a55665a97201cd670 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 6 Dec 2018 16:31:48 -0800 Subject: [PATCH 0595/3036] Release google-cloud-java v0.73.0 (#4191) * Release v0.73.0 * Fix version replacements * Move Spanner to GA section * Fix doclint option * Fix pom issues for Bigtable emulator --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ce6a5b6b933c..4ccdb948cb3c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.54.1-SNAPSHOT + 1.55.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.72.1-alpha-SNAPSHOT + 0.73.0-alpha 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 0dd0cce0e80a..b715c2f1df1b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.54.1-SNAPSHOT + 1.55.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.72.1-alpha-SNAPSHOT + 0.73.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 459a26379bb4..06a20f5712f3 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.54.0 + 1.55.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.54.0' +compile 'com.google.cloud:google-cloud-core:1.55.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.54.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.55.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 82fdd524124c..67af43012cbc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.54.1-SNAPSHOT + 1.55.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.72.1-alpha-SNAPSHOT + 0.73.0-alpha google-cloud-core From 9eee6e44928c57c7df637e04da05e93ff7efb441 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 6 Dec 2018 16:38:05 -0800 Subject: [PATCH 0596/3036] Bump next snapshot (#4192) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4ccdb948cb3c..981a149b80ef 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.55.0 + 1.55.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.73.0-alpha + 0.73.1-alpha-SNAPSHOT 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 b715c2f1df1b..5acdd035dbee 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.55.0 + 1.55.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.73.0-alpha + 0.73.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 67af43012cbc..ae54ad53466b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.55.0 + 1.55.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.73.0-alpha + 0.73.1-alpha-SNAPSHOT google-cloud-core From 4545be8946df89efd5bd9d76ac8fe2f735e9c964 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 13 Dec 2018 15:10:31 -0800 Subject: [PATCH 0597/3036] Release v0.74.0 (#4222) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 981a149b80ef..0c552771eaf0 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.55.1-SNAPSHOT + 1.56.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.73.1-alpha-SNAPSHOT + 0.74.0-alpha 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 5acdd035dbee..a6516e9e7663 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.55.1-SNAPSHOT + 1.56.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.73.1-alpha-SNAPSHOT + 0.74.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 06a20f5712f3..3f70ad35b796 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.55.0 + 1.56.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.55.0' +compile 'com.google.cloud:google-cloud-core:1.56.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.55.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.56.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ae54ad53466b..f118a9d07da5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.55.1-SNAPSHOT + 1.56.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.73.1-alpha-SNAPSHOT + 0.74.0-alpha google-cloud-core From 2a27c3acd556fe0b5dcdcb6928f17b6459de3f71 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 13 Dec 2018 16:26:54 -0800 Subject: [PATCH 0598/3036] Bump next snapshot (#4224) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0c552771eaf0..db0bf740054e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.56.0 + 1.56.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.74.0-alpha + 0.74.1-alpha-SNAPSHOT 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 a6516e9e7663..5409850a0cbb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.56.0 + 1.56.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.74.0-alpha + 0.74.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f118a9d07da5..f5bd1611e5c6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.56.0 + 1.56.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.74.0-alpha + 0.74.1-alpha-SNAPSHOT google-cloud-core From 2787a88ae8c60a905f0b846092041c5dbc73c484 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 3 Jan 2019 17:15:46 -0500 Subject: [PATCH 0599/3036] Release v0.75.0 (#4282) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index db0bf740054e..73c4a7d20dc6 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.56.1-SNAPSHOT + 1.57.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.74.1-alpha-SNAPSHOT + 0.75.0-alpha 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 5409850a0cbb..a13721620c95 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.56.1-SNAPSHOT + 1.57.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.74.1-alpha-SNAPSHOT + 0.75.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 3f70ad35b796..ae80e0c2d77e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.56.0 + 1.57.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.56.0' +compile 'com.google.cloud:google-cloud-core:1.57.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.56.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.57.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f5bd1611e5c6..7463d98c3858 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.56.1-SNAPSHOT + 1.57.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.74.1-alpha-SNAPSHOT + 0.75.0-alpha google-cloud-core From d7f961470ab8b2dfb2296c5b5be0d1eb985f27cb Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 3 Jan 2019 17:46:17 -0500 Subject: [PATCH 0600/3036] Bump next snapshot (#4286) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 73c4a7d20dc6..516a8c42f369 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.57.0 + 1.57.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.75.0-alpha + 0.75.1-alpha-SNAPSHOT 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 a13721620c95..b8b58c2b7717 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.57.0 + 1.57.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.75.0-alpha + 0.75.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7463d98c3858..85ae11820186 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.57.0 + 1.57.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.75.0-alpha + 0.75.1-alpha-SNAPSHOT google-cloud-core From dd99b0e55c222738d585ba9ae365fdaaee665f35 Mon Sep 17 00:00:00 2001 From: ajaaym <34161822+ajaaym@users.noreply.github.com> Date: Fri, 4 Jan 2019 13:30:59 -0500 Subject: [PATCH 0601/3036] Fix #4284 NPE for getZone (#4289) --- .../src/main/java/com/google/cloud/MetadataConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index 5c9550fe8530..723404697095 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -43,7 +43,7 @@ public static String getProjectId() { public static String getZone() { String zoneId = getAttribute("instance/zone"); - if (zoneId.contains("/")) { + if (zoneId != null && zoneId.contains("/")) { return zoneId.substring(zoneId.lastIndexOf('/') + 1); } return zoneId; From 61a232a02fcd8df9db4d10c6eccdcb3934f86053 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 7 Jan 2019 16:22:41 -0800 Subject: [PATCH 0602/3036] Release v0.76.0 (#4298) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 516a8c42f369..4fa4e48bf26b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.57.1-SNAPSHOT + 1.58.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.75.1-alpha-SNAPSHOT + 0.76.0-alpha 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 b8b58c2b7717..0cea56cbedeb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.57.1-SNAPSHOT + 1.58.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.75.1-alpha-SNAPSHOT + 0.76.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index ae80e0c2d77e..df46bd804056 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.57.0 + 1.58.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.57.0' +compile 'com.google.cloud:google-cloud-core:1.58.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.57.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.58.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 85ae11820186..55ea4e0355dd 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.57.1-SNAPSHOT + 1.58.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.75.1-alpha-SNAPSHOT + 0.76.0-alpha google-cloud-core From 80b92f196a8a387959fd38fc777b258f1a47af6b Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 8 Jan 2019 08:50:39 -0800 Subject: [PATCH 0603/3036] Bump next snapshot (#4300) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4fa4e48bf26b..8798734dde68 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT 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 0cea56cbedeb..a5ea61302144 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 55ea4e0355dd..bfaf412be7ab 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.58.0 + 1.58.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.0-alpha + 0.76.1-alpha-SNAPSHOT google-cloud-core From f8bf9bcf842b9d6b7370d5790b88a86cb199bc59 Mon Sep 17 00:00:00 2001 From: ajaaym <34161822+ajaaym@users.noreply.github.com> Date: Wed, 9 Jan 2019 17:25:15 -0500 Subject: [PATCH 0604/3036] Fix #4269 update metata url to FQDN (#4278) --- .../src/main/java/com/google/cloud/MetadataConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index 723404697095..81e95eda41a8 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -33,7 +33,7 @@ */ public class MetadataConfig { - private static final String METADATA_URL = "http://metadata/computeMetadata/v1/"; + private static final String METADATA_URL = "http://metadata.google.internal/computeMetadata/v1/"; private MetadataConfig() {} From b2ee14c044ed66a61ebd63f7688e1aecd9d5e97b Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 10 Jan 2019 16:03:52 -0500 Subject: [PATCH 0605/3036] Release v0.77.0 (#4324) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8798734dde68..72ee09296a83 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha 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 a5ea61302144..0c4786391794 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index df46bd804056..74ee83bb2ea1 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.58.0 + 1.59.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.58.0' +compile 'com.google.cloud:google-cloud-core:1.59.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.59.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index bfaf412be7ab..29256c1d8cd7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.58.1-SNAPSHOT + 1.59.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.76.1-alpha-SNAPSHOT + 0.77.0-alpha google-cloud-core From 5fa8a6a68e67525208eb7b3641d0ef2ddbbf72fa Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 10 Jan 2019 20:31:39 -0500 Subject: [PATCH 0606/3036] Bump next snapshot (#4325) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 72ee09296a83..ead2eced0de4 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT 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 0c4786391794..8d4e42653b82 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 29256c1d8cd7..242b8d07fc11 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.59.0 + 1.59.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.0-alpha + 0.77.1-alpha-SNAPSHOT google-cloud-core From d927969742919ba499693b36551b4e29590da872 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 17 Jan 2019 13:26:07 -0800 Subject: [PATCH 0607/3036] Release google-cloud-java v0.78.0 (#4386) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ead2eced0de4..b005a5be7236 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha 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 8d4e42653b82..c2dbef6aec36 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 74ee83bb2ea1..b92babe05c1e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.59.0 + 1.60.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.59.0' +compile 'com.google.cloud:google-cloud-core:1.60.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.59.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.60.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 242b8d07fc11..efdf6565aad0 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.59.1-SNAPSHOT + 1.60.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.77.1-alpha-SNAPSHOT + 0.78.0-alpha google-cloud-core From b14618d9e2e6bd53bff1ffd10ed4fedd4acb6c0a Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 18 Jan 2019 10:02:52 -0800 Subject: [PATCH 0608/3036] Bump next snapshot (#4391) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b005a5be7236..6b180cf10907 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT 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 c2dbef6aec36..5918e5875e0d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index efdf6565aad0..6a3ce64ea95e 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.60.0 + 1.60.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.0-alpha + 0.78.1-alpha-SNAPSHOT google-cloud-core From d00789b5136354ab3047ec15c0c108046018f26e Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 23 Jan 2019 15:28:46 -0500 Subject: [PATCH 0609/3036] Release v0.79.0 (#4402) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6b180cf10907..b008d4fefb40 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha 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 5918e5875e0d..279a57d5c0af 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b92babe05c1e..754ab4d03566 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.60.0 + 1.61.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.60.0' +compile 'com.google.cloud:google-cloud-core:1.61.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.61.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6a3ce64ea95e..39ce3c600da2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.60.1-SNAPSHOT + 1.61.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.78.1-alpha-SNAPSHOT + 0.79.0-alpha google-cloud-core From db3006ae1a0c35ff929ad4da4f3f083b240eda45 Mon Sep 17 00:00:00 2001 From: Solomon Duskis Date: Wed, 23 Jan 2019 19:18:53 -0500 Subject: [PATCH 0610/3036] Removing some unused dependencies (#4385) * Removing some unused dependencies Also, reducing scope of auto-value to provided. * Restoring Firestore auto-value * Removing more instances of easymock. --- java-core/google-cloud-core-http/pom.xml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 279a57d5c0af..243238dc8422 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -35,11 +35,6 @@ google-http-client compile - - com.google.oauth-client - google-oauth-client - compile - com.google.guava guava @@ -54,11 +49,6 @@ google-http-client-appengine compile - - com.google.http-client - google-http-client-jackson2 - compile - com.google.api gax-httpjson @@ -85,11 +75,6 @@ truth test - - com.google.guava - guava-testlib - test - io.opencensus opencensus-api From 9898d52bfab5ed02824c51deb5ea4ce1f50c7506 Mon Sep 17 00:00:00 2001 From: Solomon Duskis Date: Wed, 23 Jan 2019 19:19:21 -0500 Subject: [PATCH 0611/3036] Removing non-deprecated uses of joda time. (#4351) * Removing non-deprecated uses of joda time. This works towards #3482 * Update pom.xml * Ran `mvn com.coveo:fmt-maven-plugin:format` * Fixing a bad merge --- java-core/google-cloud-core/pom.xml | 5 ----- .../src/main/java/com/google/cloud/Timestamp.java | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 39ce3c600da2..51495db58603 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -27,11 +27,6 @@ junit test - - joda-time - joda-time - compile - com.google.http-client google-http-client diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index dc44f8abea10..02bb98131366 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -26,7 +26,6 @@ import org.threeten.bp.Instant; import org.threeten.bp.LocalDateTime; import org.threeten.bp.ZoneOffset; -import org.threeten.bp.chrono.IsoChronology; import org.threeten.bp.format.DateTimeFormatter; /** @@ -46,8 +45,7 @@ public final class Timestamp implements Comparable, Serializable { public static final Timestamp MAX_VALUE = new Timestamp(253402300799L, (int) TimeUnit.SECONDS.toNanos(1) - 1); - private static final DateTimeFormatter format = - DateTimeFormatter.ISO_LOCAL_DATE_TIME.withChronology(IsoChronology.INSTANCE); + private static final DateTimeFormatter format = DateTimeFormatter.ISO_LOCAL_DATE_TIME; private final long seconds; private final int nanos; From df24ee0f30af5fddef45d0cdcc102eac6e561278 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 24 Jan 2019 13:40:36 -0500 Subject: [PATCH 0612/3036] Bump next snapshot (#4405) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b008d4fefb40..8e994a683e28 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT 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 243238dc8422..dee2182fc55c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 51495db58603..f55944198f6a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.61.0 + 1.61.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.0-alpha + 0.79.1-alpha-SNAPSHOT google-cloud-core From d315878cf015c444c4e0ca3edb28ff806f5d9fb1 Mon Sep 17 00:00:00 2001 From: elisheva-qlogic <43041115+elisheva-qlogic@users.noreply.github.com> Date: Fri, 25 Jan 2019 13:26:28 -0500 Subject: [PATCH 0613/3036] Fixing some deprecation warnings (#4390) * fixing some deprecation warnings * updated comment --- .../src/main/java/com/google/cloud/ServiceOptions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 141c99857da4..d08b14e71506 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -349,7 +349,8 @@ private static String getActiveGoogleCloudConfig(File configDir) { String activeGoogleCloudConfig = null; try { activeGoogleCloudConfig = - Files.readFirstLine(new File(configDir, "active_config"), Charset.defaultCharset()); + Files.asCharSource(new File(configDir, "active_config"), Charset.defaultCharset()) + .readFirstLine(); } catch (IOException ex) { // ignore } From 57a0a3ea6b13c5e6a3c66e43b96f6d45fb0aa070 Mon Sep 17 00:00:00 2001 From: andrey-qlogic <44769745+andrey-qlogic@users.noreply.github.com> Date: Thu, 7 Feb 2019 17:25:24 +0300 Subject: [PATCH 0614/3036] 3534: Made HttpTransportOptions constructor public. (#4439) --- .../main/java/com/google/cloud/http/HttpTransportOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java index 6802e50549af..2dbcb018f857 100644 --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java @@ -120,7 +120,7 @@ public Builder setReadTimeout(int readTimeout) { } } - private HttpTransportOptions(Builder builder) { + public HttpTransportOptions(Builder builder) { httpTransportFactory = firstNonNull( builder.httpTransportFactory, From f44a6ecd93950985589989257121530fae3dce5e Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 7 Feb 2019 15:05:30 -0500 Subject: [PATCH 0615/3036] Release v0.80.0 (#4465) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8e994a683e28..4d6b340a38a2 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha 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 dee2182fc55c..130d2089eaaf 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 754ab4d03566..077683adc00e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.61.0 + 1.62.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.61.0' +compile 'com.google.cloud:google-cloud-core:1.62.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.61.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.62.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f55944198f6a..2dc3bd9a7fd2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.61.1-SNAPSHOT + 1.62.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.79.1-alpha-SNAPSHOT + 0.80.0-alpha google-cloud-core From 091a61e6398fc346e111adee06c87ede51f3d45c Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 7 Feb 2019 18:53:34 -0500 Subject: [PATCH 0616/3036] Bump next snapshot (#4467) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4d6b340a38a2..6c62f3522b19 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT 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 130d2089eaaf..cacb306965b0 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2dc3bd9a7fd2..15dbae2f9ac2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.62.0 + 1.62.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.0-alpha + 0.80.1-alpha-SNAPSHOT google-cloud-core From d89e1a4ef779dfebdceef15f1eeee97ab9e8fa6e Mon Sep 17 00:00:00 2001 From: Drew Michel Date: Fri, 8 Feb 2019 18:13:01 -0500 Subject: [PATCH 0617/3036] Set connect/read timeout when calling the metadata service (#4413) Otherwise callers of these methods can be waiting indefinitely. --- .../src/main/java/com/google/cloud/MetadataConfig.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index 81e95eda41a8..867b0253acef 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -34,6 +34,7 @@ public class MetadataConfig { private static final String METADATA_URL = "http://metadata.google.internal/computeMetadata/v1/"; + private static final int TIMEOUT_MS = 5000; private MetadataConfig() {} @@ -69,6 +70,8 @@ public static String getAttribute(String attributeName) { try { URL url = new URL(METADATA_URL + attributeName); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); + connection.setConnectTimeout(TIMEOUT_MS); + connection.setReadTimeout(TIMEOUT_MS); connection.setRequestProperty("Metadata-Flavor", "Google"); InputStream input = connection.getInputStream(); if (connection.getResponseCode() == 200) { From 5d6548e247612a3861384f35ff9052b4b4879ebd Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 21 Feb 2019 14:22:33 -0500 Subject: [PATCH 0618/3036] Upgrade gax dependency to 1.40.0. (#4534) * Gax dependency upgrade * Gax dependency upgrade * code formatting fix * Moving google-http-client-apache dependency to storage. --- java-core/google-cloud-core/pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 15dbae2f9ac2..de8ee5a1efb4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -37,7 +37,6 @@ - com.google.code.findbugs jsr305 From ac7cf859c9bf1ad24bee029a3aafb588b1ec8e67 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 21 Feb 2019 13:49:42 -0800 Subject: [PATCH 0619/3036] Release google-cloud-java v0.81.0 (#4536) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6c62f3522b19..7e41769571f7 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.62.1-SNAPSHOT + 1.63.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.1-alpha-SNAPSHOT + 0.81.0-alpha 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 cacb306965b0..5be8fbc79dd6 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.62.1-SNAPSHOT + 1.63.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.1-alpha-SNAPSHOT + 0.81.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 077683adc00e..d1b6c66d0b53 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.62.0 + 1.63.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.62.0' +compile 'com.google.cloud:google-cloud-core:1.63.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.62.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.63.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index de8ee5a1efb4..fa933b896e4d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.62.1-SNAPSHOT + 1.63.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.80.1-alpha-SNAPSHOT + 0.81.0-alpha google-cloud-core From 776f09d8190792c9de9e22df53e0e7e825427323 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Fri, 22 Feb 2019 11:43:45 -0800 Subject: [PATCH 0620/3036] bump next snapshot (#4547) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7e41769571f7..47801cc57cbc 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.63.0 + 1.63.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.81.0-alpha + 0.81.1-alpha-SNAPSHOT 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 5be8fbc79dd6..16541b4bee59 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.63.0 + 1.63.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.81.0-alpha + 0.81.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fa933b896e4d..b11f39571e03 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.63.0 + 1.63.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.81.0-alpha + 0.81.1-alpha-SNAPSHOT google-cloud-core From f692376268ae115b87646a5b08b9bc0ccdcff65a Mon Sep 17 00:00:00 2001 From: Solomon Duskis Date: Thu, 28 Feb 2019 20:17:07 -0500 Subject: [PATCH 0621/3036] Using the latest version of truth (#4597) * Using a much newer version of truth * Upgrading annotations in google-api-grpc --- java-core/google-cloud-core/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b11f39571e03..7955886b154c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -81,5 +81,10 @@ guava-testlib test + + org.checkerframework + checker-compat-qual + test + From f17f774229eb9b4048add6348e299e493cd53e4b Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Mon, 4 Mar 2019 12:45:50 -0700 Subject: [PATCH 0622/3036] Release google-cloud-java v0.82.0 (#4621) * Release v0.82.0 * Change KMS versions to 1.0.0. --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 47801cc57cbc..4c8a67227288 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.63.1-SNAPSHOT + 1.64.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.81.1-alpha-SNAPSHOT + 0.82.0-alpha 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 16541b4bee59..c25a9108fe23 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.63.1-SNAPSHOT + 1.64.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.81.1-alpha-SNAPSHOT + 0.82.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index d1b6c66d0b53..3842e8406abb 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.63.0 + 1.64.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.63.0' +compile 'com.google.cloud:google-cloud-core:1.64.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.63.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.64.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7955886b154c..67202834450d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.63.1-SNAPSHOT + 1.64.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.81.1-alpha-SNAPSHOT + 0.82.0-alpha google-cloud-core From b33c0674f027130de7f5086437fff43420b4d681 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Mon, 4 Mar 2019 15:54:54 -0700 Subject: [PATCH 0623/3036] Bump next snapshot (#4623) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4c8a67227288..333b70b15f1c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.64.0 + 1.64.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.82.0-alpha + 0.82.1-alpha-SNAPSHOT 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 c25a9108fe23..3fc1dc1790e9 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.64.0 + 1.64.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.82.0-alpha + 0.82.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 67202834450d..953442ea6b2d 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.64.0 + 1.64.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.82.0-alpha + 0.82.1-alpha-SNAPSHOT google-cloud-core From c6cdbea49e1a79f34245e052c17a6e14e6f5741f Mon Sep 17 00:00:00 2001 From: Praful Makani Date: Sun, 10 Mar 2019 20:33:15 +0530 Subject: [PATCH 0624/3036] Fix Timestamp.parseTimestamp. (#4656) * Fix parseTimestamp docs * Fix timestamp without timezone offset * Fix test cases related to timestamp.parseTimestamp * added test case * Fix timestampParser and added ZoneOffset in timestampParser --- .../src/main/java/com/google/cloud/Timestamp.java | 14 +++++++++++++- .../test/java/com/google/cloud/TimestampTest.java | 9 +++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index 02bb98131366..618ef9c7211e 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -27,6 +27,8 @@ import org.threeten.bp.LocalDateTime; import org.threeten.bp.ZoneOffset; import org.threeten.bp.format.DateTimeFormatter; +import org.threeten.bp.format.DateTimeFormatterBuilder; +import org.threeten.bp.temporal.TemporalAccessor; /** * Represents a timestamp with nanosecond precision. Timestamps cover the range [0001-01-01, @@ -47,6 +49,15 @@ public final class Timestamp implements Comparable, Serializable { private static final DateTimeFormatter format = DateTimeFormatter.ISO_LOCAL_DATE_TIME; + private static final DateTimeFormatter timestampParser = + new DateTimeFormatterBuilder() + .appendOptional(DateTimeFormatter.ISO_LOCAL_DATE_TIME) + .optionalStart() + .appendOffsetId() + .optionalEnd() + .toFormatter() + .withZone(ZoneOffset.UTC); + private final long seconds; private final int nanos; @@ -170,7 +181,8 @@ public com.google.protobuf.Timestamp toProto() { * the timezone offset (always ends in "Z"). */ public static Timestamp parseTimestamp(String timestamp) { - Instant instant = Instant.parse(timestamp); + TemporalAccessor temporalAccessor = timestampParser.parse(timestamp); + Instant instant = Instant.from(temporalAccessor); return ofTimeSecondsAndNanos(instant.getEpochSecond(), instant.getNano()); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 8a72abbee4e5..db9ede84dce1 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -185,6 +185,15 @@ public void parseTimestamp() { .isEqualTo(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0)); } + @Test + public void parseTimestampWithoutTimeZoneOffset() { + assertThat(Timestamp.parseTimestamp("0001-01-01T00:00:00")).isEqualTo(Timestamp.MIN_VALUE); + assertThat(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999")) + .isEqualTo(Timestamp.MAX_VALUE); + assertThat(Timestamp.parseTimestamp("2015-10-12T15:14:54")) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0)); + } + @Test public void fromProto() { com.google.protobuf.Timestamp proto = From d5b1a53d9bb96c42a701e3ee5804c28123078a3a Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Mon, 11 Mar 2019 12:15:31 -0700 Subject: [PATCH 0625/3036] Release google-cloud-java v0.83.0 (#4665) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 333b70b15f1c..184e765482a4 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.64.1-SNAPSHOT + 1.65.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.82.1-alpha-SNAPSHOT + 0.83.0-alpha 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 3fc1dc1790e9..1a02e26b6ff3 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.64.1-SNAPSHOT + 1.65.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.82.1-alpha-SNAPSHOT + 0.83.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 3842e8406abb..80d63a0c7073 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.64.0 + 1.65.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.64.0' +compile 'com.google.cloud:google-cloud-core:1.65.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.64.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.65.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 953442ea6b2d..32f5a326c190 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.64.1-SNAPSHOT + 1.65.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.82.1-alpha-SNAPSHOT + 0.83.0-alpha google-cloud-core From f1f3f3ef025778a8f99c5705c4a7b4fd521b2406 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Tue, 12 Mar 2019 07:09:18 -0700 Subject: [PATCH 0626/3036] Bump next snapshot (#4666) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 184e765482a4..be975207cd10 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.65.0 + 1.65.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.83.0-alpha + 0.83.1-alpha-SNAPSHOT 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 1a02e26b6ff3..07756a0a3ca4 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.65.0 + 1.65.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.83.0-alpha + 0.83.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 32f5a326c190..8bb0aaf1091f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.65.0 + 1.65.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.83.0-alpha + 0.83.1-alpha-SNAPSHOT google-cloud-core From 056d1d68af036d2c59695e4d0800ed8c0bd345a7 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 21 Mar 2019 12:59:23 -0400 Subject: [PATCH 0627/3036] Release v0.84.0 (#4713) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index be975207cd10..ec819e862817 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.65.1-SNAPSHOT + 1.66.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.83.1-alpha-SNAPSHOT + 0.84.0-alpha 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 07756a0a3ca4..fc1ec80819b3 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.65.1-SNAPSHOT + 1.66.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.83.1-alpha-SNAPSHOT + 0.84.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 80d63a0c7073..4ab5644adc86 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.65.0 + 1.66.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.65.0' +compile 'com.google.cloud:google-cloud-core:1.66.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.65.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.66.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8bb0aaf1091f..c48a1fecd349 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.65.1-SNAPSHOT + 1.66.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.83.1-alpha-SNAPSHOT + 0.84.0-alpha google-cloud-core From 42e1094d63d0cd969d8ca41f4a6731cdb8aa0322 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 21 Mar 2019 22:00:42 -0400 Subject: [PATCH 0628/3036] Bump next snapshot (#4715) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ec819e862817..26536116c68f 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.66.0 + 1.66.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.84.0-alpha + 0.84.1-alpha-SNAPSHOT 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 fc1ec80819b3..6da91ed58508 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.66.0 + 1.66.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.84.0-alpha + 0.84.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c48a1fecd349..1640c9324ed3 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.66.0 + 1.66.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.84.0-alpha + 0.84.1-alpha-SNAPSHOT google-cloud-core From f41d9a405012910b3c36ccd59148cd0ba10a5c52 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Fri, 29 Mar 2019 12:22:45 -0700 Subject: [PATCH 0629/3036] Release google-cloud-java v0.85.0 (#4820) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 26536116c68f..71bd8a487dd1 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.66.1-SNAPSHOT + 1.67.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.84.1-alpha-SNAPSHOT + 0.85.0-alpha 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 6da91ed58508..1a216d6d0f66 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.66.1-SNAPSHOT + 1.67.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.84.1-alpha-SNAPSHOT + 0.85.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 4ab5644adc86..2d179d5b9f3a 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.66.0 + 1.67.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.66.0' +compile 'com.google.cloud:google-cloud-core:1.67.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.66.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.67.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1640c9324ed3..b3c34a3449ce 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.66.1-SNAPSHOT + 1.67.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.84.1-alpha-SNAPSHOT + 0.85.0-alpha google-cloud-core From b5ac7839a4adf21d18dd231ae5170358101011a2 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Fri, 29 Mar 2019 15:59:26 -0700 Subject: [PATCH 0630/3036] Bump snapshot (#4821) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 71bd8a487dd1..a0d9328fed25 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.67.0 + 1.67.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.85.0-alpha + 0.85.1-alpha-SNAPSHOT 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 1a216d6d0f66..e7462df4fa25 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.67.0 + 1.67.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.85.0-alpha + 0.85.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b3c34a3449ce..e7e2afd8e2fe 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.67.0 + 1.67.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.85.0-alpha + 0.85.1-alpha-SNAPSHOT google-cloud-core From c8aceab7f4ec8632a388628a6bd3449ab0cbcbad Mon Sep 17 00:00:00 2001 From: Ray Tsang Date: Tue, 2 Apr 2019 17:59:41 -0400 Subject: [PATCH 0631/3036] auto close input stream (#4878) --- .../src/main/java/com/google/cloud/MetadataConfig.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java index 867b0253acef..8f1bac04ca69 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java @@ -73,10 +73,11 @@ public static String getAttribute(String attributeName) { connection.setConnectTimeout(TIMEOUT_MS); connection.setReadTimeout(TIMEOUT_MS); connection.setRequestProperty("Metadata-Flavor", "Google"); - InputStream input = connection.getInputStream(); - if (connection.getResponseCode() == 200) { - try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { - return reader.readLine(); + try (InputStream input = connection.getInputStream()) { + if (connection.getResponseCode() == 200) { + try (BufferedReader reader = new BufferedReader(new InputStreamReader(input, UTF_8))) { + return reader.readLine(); + } } } } catch (IOException ignore) { From d568025d61287b03fb5aaba73b36e979bfa10c17 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 3 Apr 2019 14:23:54 -0400 Subject: [PATCH 0632/3036] Release v0.86.0 (#4899) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a0d9328fed25..2812eaaa9089 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.67.1-SNAPSHOT + 1.68.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.85.1-alpha-SNAPSHOT + 0.86.0-alpha 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 e7462df4fa25..742cae155036 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.67.1-SNAPSHOT + 1.68.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.85.1-alpha-SNAPSHOT + 0.86.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 2d179d5b9f3a..3f993afeb95d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.67.0 + 1.68.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.67.0' +compile 'com.google.cloud:google-cloud-core:1.68.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.67.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.68.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e7e2afd8e2fe..6cecda3047c9 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.67.1-SNAPSHOT + 1.68.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.85.1-alpha-SNAPSHOT + 0.86.0-alpha google-cloud-core From 829cc078dec6f5049a21c6ba2457608b3536af5d Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 3 Apr 2019 17:25:41 -0400 Subject: [PATCH 0633/3036] Bump next snapshot (#4900) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2812eaaa9089..e01f6c5ee429 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.68.0 + 1.68.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.86.0-alpha + 0.86.1-alpha-SNAPSHOT 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 742cae155036..a1222ebcb67f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.68.0 + 1.68.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.86.0-alpha + 0.86.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6cecda3047c9..b06449360ea1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.68.0 + 1.68.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.86.0-alpha + 0.86.1-alpha-SNAPSHOT google-cloud-core From 6e6e09cb50962f6a80db8a339ae1018b0316ff49 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 4 Apr 2019 13:37:59 -0700 Subject: [PATCH 0634/3036] Release v0.87.0 (#4907) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e01f6c5ee429..e82475e3d51a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.68.1-SNAPSHOT + 1.69.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.86.1-alpha-SNAPSHOT + 0.87.0-alpha 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 a1222ebcb67f..240a5ac040db 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.68.1-SNAPSHOT + 1.69.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.86.1-alpha-SNAPSHOT + 0.87.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 3f993afeb95d..3b6e75fd3992 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.68.0 + 1.69.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.68.0' +compile 'com.google.cloud:google-cloud-core:1.69.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.68.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.69.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b06449360ea1..051f48705fdc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.68.1-SNAPSHOT + 1.69.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.86.1-alpha-SNAPSHOT + 0.87.0-alpha google-cloud-core From fe104eadb3d9d093910a0dbacac4f55b49f5bd2a Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 4 Apr 2019 16:07:17 -0700 Subject: [PATCH 0635/3036] Bump next snapshot (#4908) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e82475e3d51a..94fe71336359 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.69.0 + 1.69.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.87.0-alpha + 0.87.1-alpha-SNAPSHOT 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 240a5ac040db..85d07230325f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.69.0 + 1.69.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.87.0-alpha + 0.87.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 051f48705fdc..78640b671b9c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.69.0 + 1.69.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.87.0-alpha + 0.87.1-alpha-SNAPSHOT google-cloud-core From 3fd6529ac62229931be8f2a78b84c44e34251876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Wed, 10 Apr 2019 16:06:48 +0200 Subject: [PATCH 0636/3036] google-cloud-core: Optimize Date.parseDate(String) (#4920) * optimized date parsing Date parsing using a regular expression is slower than a specific implementation for the only format that is supported. * removed IntParser and added test cases * check for invalid date/year/month/day --- .../src/main/java/com/google/cloud/Date.java | 22 +++--- .../test/java/com/google/cloud/DateTest.java | 79 ++++++++++++++++++- 2 files changed, 87 insertions(+), 14 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java index 442e7dca0eef..d7f3b71275e7 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Date.java @@ -21,15 +21,12 @@ import java.io.Serializable; import java.util.Calendar; import java.util.Objects; -import java.util.regex.Matcher; -import java.util.regex.Pattern; /** Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ @BetaApi("This is going to be replaced with LocalDate from threetenbp") public final class Date implements Comparable, Serializable { // Date format "yyyy-mm-dd" - private static final Pattern FORMAT_REGEXP = Pattern.compile("(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)"); private static final long serialVersionUID = 8067099123096783929L; private final int year; private final int month; @@ -57,14 +54,19 @@ public static Date fromYearMonthDay(int year, int month, int dayOfMonth) { /** @param date Data in RFC 3339 date format (yyyy-mm-dd). */ public static Date parseDate(String date) { - Matcher matcher = FORMAT_REGEXP.matcher(date); - if (!matcher.matches()) { - throw new IllegalArgumentException("Invalid date: " + date); + Preconditions.checkNotNull(date); + final String invalidDate = "Invalid date: " + date; + Preconditions.checkArgument(date.length() == 10, invalidDate); + Preconditions.checkArgument(date.charAt(4) == '-', invalidDate); + Preconditions.checkArgument(date.charAt(7) == '-', invalidDate); + try { + int year = Integer.parseInt(date.substring(0, 4)); + int month = Integer.parseInt(date.substring(5, 7)); + int dayOfMonth = Integer.parseInt(date.substring(8, 10)); + return new Date(year, month, dayOfMonth); + } catch (NumberFormatException e) { + throw new IllegalArgumentException(invalidDate, e); } - int year = Integer.parseInt(matcher.group(1)); - int month = Integer.parseInt(matcher.group(2)); - int dayOfMonth = Integer.parseInt(matcher.group(3)); - return new Date(year, month, dayOfMonth); } /** diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java index 5892cc718b01..14b6a139d004 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -18,6 +18,7 @@ import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.fail; import com.google.common.testing.EqualsTester; import java.text.ParseException; @@ -34,10 +35,80 @@ public class DateTest { @Test public void parseDate() { - Date date = Date.parseDate("2016-09-18"); - assertThat(date.getYear()).isEqualTo(2016); - assertThat(date.getMonth()).isEqualTo(9); - assertThat(date.getDayOfMonth()).isEqualTo(18); + verifyDate("2016-09-18", 2016, 9, 18); + verifyDate("2000-01-01", 2000, 1, 1); + verifyDate("9999-12-31", 9999, 12, 31); + verifyDate("0001-01-01", 1, 1, 1); + verifyDate("2000-02-29", 2000, 2, 29); // This is a valid leap year. + verifyDate("1900-02-29", 1900, 2, 29); // This is NOT a valid leap year. + verifyDate("2001-02-29", 2001, 2, 29); // Also not a valid leap year. + verifyDate("2000-04-31", 2000, 4, 31); // Not a valid date. + } + + private void verifyDate(String input, int year, int month, int day) { + Date date = Date.parseDate(input); + assertThat(date.getYear()).isEqualTo(year); + assertThat(date.getMonth()).isEqualTo(month); + assertThat(date.getDayOfMonth()).isEqualTo(day); + } + + @Test + public void parseInvalidDates() { + parseInvalidDate("2016/09/18"); + parseInvalidDate("2016 09 18"); + parseInvalidDate("2016-9-18"); + parseInvalidDate("2016-09-18T10:00"); + parseInvalidDate(""); + parseInvalidDate("test"); + parseInvalidDate("aaaa-bb-cc"); + parseInvalidDate("aaaa-01-01"); + parseInvalidDate("2019-bb-01"); + parseInvalidDate("2019-01-cc"); + parseInvalidMonth("2000-13-01"); + parseInvalidMonth("2000-00-01"); + parseInvalidDay("2000-12-32"); + parseInvalidDay("2000-12-00"); + parseInvalidDate("10000-01-01"); + parseInvalidYear("0000-01-01"); + parseInvalidYear("-001-01-01"); + parseInvalidMonth("0001--1-01"); + parseInvalidDay("0001-01--1"); + } + + private void parseInvalidDate(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid date"); + } + } + + private void parseInvalidYear(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid year"); + } + } + + private void parseInvalidMonth(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid month"); + } + } + + private void parseInvalidDay(String input) { + try { + Date.parseDate(input); + fail("Expected exception"); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage()).contains("Invalid day"); + } } @Test From a0dcba25a0947d5c3375e8eb776b55f2e0697ab2 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 17 Apr 2019 15:06:34 -0400 Subject: [PATCH 0637/3036] Release google-cloud-java v0.88.0 (#4971) * Release v0.88.0 * Change version numbers to 1.0.0 for Speech and Firestore. --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 94fe71336359..46cfe66797ef 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.69.1-SNAPSHOT + 1.70.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.87.1-alpha-SNAPSHOT + 0.88.0-alpha 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 85d07230325f..2d0486703ebf 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.69.1-SNAPSHOT + 1.70.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.87.1-alpha-SNAPSHOT + 0.88.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 3b6e75fd3992..c845e5b62053 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.69.0 + 1.70.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.69.0' +compile 'com.google.cloud:google-cloud-core:1.70.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.69.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.70.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 78640b671b9c..bbcf2b3323b8 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.69.1-SNAPSHOT + 1.70.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.87.1-alpha-SNAPSHOT + 0.88.0-alpha google-cloud-core From 3cfc7846ff037aa75cef40a8c4a3478ed6bebee9 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 17 Apr 2019 20:57:30 -0400 Subject: [PATCH 0638/3036] Bump next snapshot (#4973) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 46cfe66797ef..d6a730378c0b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.70.0 + 1.70.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.88.0-alpha + 0.88.1-alpha-SNAPSHOT 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 2d0486703ebf..55cb27f895a5 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.70.0 + 1.70.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.88.0-alpha + 0.88.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index bbcf2b3323b8..e47a3aa09f97 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.70.0 + 1.70.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.88.0-alpha + 0.88.1-alpha-SNAPSHOT google-cloud-core From 0b8fb23407e5c7b6b51e3d117f431c7faa67cbd4 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 24 Apr 2019 13:34:10 -0700 Subject: [PATCH 0639/3036] Release v0.89.0 (#5009) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d6a730378c0b..924c135114a5 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.70.1-SNAPSHOT + 1.71.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.88.1-alpha-SNAPSHOT + 0.89.0-alpha 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 55cb27f895a5..d6b37bc696e8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.70.1-SNAPSHOT + 1.71.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.88.1-alpha-SNAPSHOT + 0.89.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index c845e5b62053..4ccdac854391 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.70.0 + 1.71.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.70.0' +compile 'com.google.cloud:google-cloud-core:1.71.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.70.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.71.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e47a3aa09f97..2d0d6b2882fc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.70.1-SNAPSHOT + 1.71.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.88.1-alpha-SNAPSHOT + 0.89.0-alpha google-cloud-core From 270c66983f78ef22a3d5dd452915680f0c6ad360 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 24 Apr 2019 15:46:47 -0700 Subject: [PATCH 0640/3036] Bump next snapshot (#5011) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 924c135114a5..5219a802fa9f 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.71.0 + 1.71.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.89.0-alpha + 0.89.1-alpha-SNAPSHOT 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 d6b37bc696e8..6c1b1ac17ed8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.71.0 + 1.71.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.89.0-alpha + 0.89.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2d0d6b2882fc..c9356f4a2915 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.71.0 + 1.71.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.89.0-alpha + 0.89.1-alpha-SNAPSHOT google-cloud-core From fe7e476efb3a3d1085bf8dd5ae04cf87389a90a0 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Wed, 1 May 2019 15:44:24 -0700 Subject: [PATCH 0641/3036] Release v0.90.0 (#5047) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5219a802fa9f..5c15138c5407 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.71.1-SNAPSHOT + 1.72.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.89.1-alpha-SNAPSHOT + 0.90.0-alpha 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 6c1b1ac17ed8..687899cfc27f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.71.1-SNAPSHOT + 1.72.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.89.1-alpha-SNAPSHOT + 0.90.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 4ccdac854391..1de2131db5d0 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.71.0 + 1.72.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.71.0' +compile 'com.google.cloud:google-cloud-core:1.72.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.72.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c9356f4a2915..0dcfe8491ff0 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.71.1-SNAPSHOT + 1.72.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.89.1-alpha-SNAPSHOT + 0.90.0-alpha google-cloud-core From 74b7d16bf925196a9a47144b19e3e609f18067fa Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 2 May 2019 08:02:53 -0700 Subject: [PATCH 0642/3036] Bump next snapshot (#5048) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5c15138c5407..a7c4e43150c9 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.72.0 + 1.72.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.90.0-alpha + 0.90.1-alpha-SNAPSHOT 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 687899cfc27f..93174e1d487f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.72.0 + 1.72.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.90.0-alpha + 0.90.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0dcfe8491ff0..44ccc4b66151 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.72.0 + 1.72.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.90.0-alpha + 0.90.1-alpha-SNAPSHOT google-cloud-core From 237c83466fcc9b3d27112ddab0482d7f060912bc Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Tue, 7 May 2019 14:16:26 -0400 Subject: [PATCH 0643/3036] Release google-cloud-java v0.91.0 (#5080) * Release v0.91.0 * Tasks GA --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a7c4e43150c9..4e07b5053cc5 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.72.1-SNAPSHOT + 1.73.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.90.1-alpha-SNAPSHOT + 0.91.0-alpha 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 93174e1d487f..8c813bf5b526 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.72.1-SNAPSHOT + 1.73.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.90.1-alpha-SNAPSHOT + 0.91.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 1de2131db5d0..b53bd9a11c44 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.72.0 + 1.73.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.72.0' +compile 'com.google.cloud:google-cloud-core:1.73.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.73.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 44ccc4b66151..23c6865b3874 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.72.1-SNAPSHOT + 1.73.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.90.1-alpha-SNAPSHOT + 0.91.0-alpha google-cloud-core From e2d819e808365d8cff24a14d6d15738921bc59b9 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Tue, 7 May 2019 16:53:13 -0400 Subject: [PATCH 0644/3036] Bump next snapshot (#5081) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4e07b5053cc5..879b5616d419 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.73.0 + 1.73.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.91.0-alpha + 0.91.1-alpha-SNAPSHOT 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 8c813bf5b526..27f64b37d8c9 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.73.0 + 1.73.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.91.0-alpha + 0.91.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 23c6865b3874..f9860f3aecfa 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.73.0 + 1.73.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.91.0-alpha + 0.91.1-alpha-SNAPSHOT google-cloud-core From 31eef0b65716fd8b2fe015d7b9b814851139332b Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 15 May 2019 13:49:40 -0700 Subject: [PATCH 0645/3036] Release v0.92.0 (#5189) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 879b5616d419..208232e84e5b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.73.1-SNAPSHOT + 1.74.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.91.1-alpha-SNAPSHOT + 0.92.0-alpha 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 27f64b37d8c9..27413dc4bafd 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.73.1-SNAPSHOT + 1.74.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.91.1-alpha-SNAPSHOT + 0.92.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b53bd9a11c44..10c383231513 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.73.0 + 1.74.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.73.0' +compile 'com.google.cloud:google-cloud-core:1.74.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.74.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f9860f3aecfa..c39ef03b11e3 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.73.1-SNAPSHOT + 1.74.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.91.1-alpha-SNAPSHOT + 0.92.0-alpha google-cloud-core From 5cc51b5572406677803de636dee8f13d1a0d9027 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 15 May 2019 19:41:53 -0700 Subject: [PATCH 0646/3036] Bump next snapshot (#5192) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 208232e84e5b..0f2f9104b959 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.74.0 + 1.74.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.92.0-alpha + 0.92.1-alpha-SNAPSHOT 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 27413dc4bafd..94a9ac33a361 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.74.0 + 1.74.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.92.0-alpha + 0.92.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c39ef03b11e3..fcacb5dc206c 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.74.0 + 1.74.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.92.0-alpha + 0.92.1-alpha-SNAPSHOT google-cloud-core From 6696cf1f4c2b51075bd89be78364ce2dade8c6be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Fri, 17 May 2019 19:03:52 +0200 Subject: [PATCH 0647/3036] default executor used non-daemon threads (#5194) The default executor for GrpcTransportOptions created non-daemon threads possibly keeping applications alive after the main method has finished. This is the cause of #2315. --- .../java/com/google/cloud/grpc/GrpcTransportOptions.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index b003607d9775..841cc8218bc9 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -31,6 +31,7 @@ import com.google.cloud.NoCredentials; import com.google.cloud.ServiceOptions; import com.google.cloud.TransportOptions; +import com.google.common.util.concurrent.ThreadFactoryBuilder; import io.grpc.internal.SharedResourceHolder; import io.grpc.internal.SharedResourceHolder.Resource; import java.io.IOException; @@ -54,7 +55,13 @@ public class GrpcTransportOptions implements TransportOptions { new Resource() { @Override public ScheduledExecutorService create() { - ScheduledThreadPoolExecutor service = new ScheduledThreadPoolExecutor(8); + ScheduledThreadPoolExecutor service = + new ScheduledThreadPoolExecutor( + 8, + new ThreadFactoryBuilder() + .setDaemon(true) + .setNameFormat("grpc-transport-%d") + .build()); service.setKeepAliveTime(5, TimeUnit.SECONDS); service.allowCoreThreadTimeOut(true); service.setRemoveOnCancelPolicy(true); From 86131944bdea780c3b3c6b0e7f6427d64c22ef87 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Wed, 22 May 2019 13:51:31 -0700 Subject: [PATCH 0648/3036] Allow colons in Identity values (#5029) --- .../src/main/java/com/google/cloud/Identity.java | 2 +- .../src/test/java/com/google/cloud/IdentityTest.java | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java index ba4537e83cc3..a3aff1ade722 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Identity.java @@ -255,7 +255,7 @@ public String strValue() { * policy identities to {@code Identity} objects. */ public static Identity valueOf(String identityStr) { - String[] info = identityStr.split(":"); + String[] info = identityStr.split(":", 2); Type type = Type.valueOf(CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_UNDERSCORE, info[0])); if (info.length == 1) { return new Identity(type, null); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java index 6f419cbb671b..8f8abb170c84 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java @@ -141,16 +141,18 @@ public void testValueOfEmpty() { Identity.valueOf(""); } - @Test(expected = IllegalArgumentException.class) - public void testValueOfThreePart() { - Identity.valueOf("a:b:c"); - } - @Test public void testUnrecognizedToString() { assertEquals("a:b", Identity.valueOf("a:b").strValue()); } + @Test + public void testValueOfThreePart() { + Identity identity = Identity.valueOf("a:b:c"); + assertEquals("A", identity.getType().name()); + assertEquals("b:c", identity.getValue()); + } + private void compareIdentities(Identity expected, Identity actual) { assertEquals(expected, actual); assertEquals(expected.getType(), actual.getType()); From 7ffdfdfb22d5655f37c1c74870cc61534212b757 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 22 May 2019 16:10:33 -0700 Subject: [PATCH 0649/3036] Release v0.93.0 (#5211) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0f2f9104b959..acab03d09f20 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.74.1-SNAPSHOT + 1.75.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.92.1-alpha-SNAPSHOT + 0.93.0-alpha 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 94a9ac33a361..084d9e46052a 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.74.1-SNAPSHOT + 1.75.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.92.1-alpha-SNAPSHOT + 0.93.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 10c383231513..fbe37aca1d68 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.74.0 + 1.75.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.74.0' +compile 'com.google.cloud:google-cloud-core:1.75.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.75.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fcacb5dc206c..03146ddbd4e5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.74.1-SNAPSHOT + 1.75.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.92.1-alpha-SNAPSHOT + 0.93.0-alpha google-cloud-core From 0c119eec998cdf1e97eccf089855def296cf7169 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 23 May 2019 09:54:41 -0700 Subject: [PATCH 0650/3036] Bump next snapshot (#5212) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index acab03d09f20..0b5214946d4d 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.75.0 + 1.75.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.93.0-alpha + 0.93.1-alpha-SNAPSHOT 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 084d9e46052a..73c3b074e6eb 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.75.0 + 1.75.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.93.0-alpha + 0.93.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 03146ddbd4e5..e176e885dfd5 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.75.0 + 1.75.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.93.0-alpha + 0.93.1-alpha-SNAPSHOT google-cloud-core From ba6c748da06123f1eb60983427561efed4c8f856 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 29 May 2019 15:05:40 -0400 Subject: [PATCH 0651/3036] Release v0.94.0 (#5238) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0b5214946d4d..3fa00185fb4a 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.75.1-SNAPSHOT + 1.76.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.93.1-alpha-SNAPSHOT + 0.94.0-alpha 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 73c3b074e6eb..5d6ace94532c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.75.1-SNAPSHOT + 1.76.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.93.1-alpha-SNAPSHOT + 0.94.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index fbe37aca1d68..cbb5af711450 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.75.0 + 1.76.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.75.0' +compile 'com.google.cloud:google-cloud-core:1.76.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.75.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.76.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e176e885dfd5..d1768d626f08 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.75.1-SNAPSHOT + 1.76.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.93.1-alpha-SNAPSHOT + 0.94.0-alpha google-cloud-core From 2bd415053d78b488d8becddd6f00978a22f0bc04 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 29 May 2019 17:43:39 -0400 Subject: [PATCH 0652/3036] Bump next snapshot (#5239) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3fa00185fb4a..9d9f90a61a86 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.76.0 + 1.76.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.94.0-alpha + 0.94.1-alpha-SNAPSHOT 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 5d6ace94532c..437c01cd0a8c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.76.0 + 1.76.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.94.0-alpha + 0.94.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d1768d626f08..ddfa377fcd00 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.76.0 + 1.76.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.94.0-alpha + 0.94.1-alpha-SNAPSHOT google-cloud-core From c43772afd6944482a3bc91f599dd26f85f543640 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 31 May 2019 14:30:08 -0700 Subject: [PATCH 0653/3036] Clean up test deprecation warnings for google-cloud-core (#5259) --- .../test/java/com/google/cloud/StringEnumTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java index 6240e8b86851..716e124f53ec 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java @@ -84,17 +84,17 @@ public void testEnumInstances() { @Test public void testValueOf() { - assertThat(Letter.valueOf("A")).isSameAs(Letter.A); - assertThat(Letter.valueOf("B")).isSameAs(Letter.B); - assertThat(Letter.valueOf("C")).isSameAs(Letter.C); + assertThat(Letter.valueOf("A")).isSameInstanceAs(Letter.A); + assertThat(Letter.valueOf("B")).isSameInstanceAs(Letter.B); + assertThat(Letter.valueOf("C")).isSameInstanceAs(Letter.C); assertThat(Letter.valueOf("NonExistentLetter").toString()).isEqualTo("NonExistentLetter"); } @Test public void testValueOfStrict() { - assertThat(Letter.valueOfStrict("A")).isSameAs(Letter.A); - assertThat(Letter.valueOfStrict("B")).isSameAs(Letter.B); - assertThat(Letter.valueOfStrict("C")).isSameAs(Letter.C); + assertThat(Letter.valueOfStrict("A")).isSameInstanceAs(Letter.A); + assertThat(Letter.valueOfStrict("B")).isSameInstanceAs(Letter.B); + assertThat(Letter.valueOfStrict("C")).isSameInstanceAs(Letter.C); } @Test From 944b19e8aba0cb174647bfafdb2cab0d93e7afb5 Mon Sep 17 00:00:00 2001 From: abhinav-qlogic <48669998+abhinav-qlogic@users.noreply.github.com> Date: Tue, 4 Jun 2019 21:16:59 +0530 Subject: [PATCH 0654/3036] deprecated warnings removed (#5304) --- .../src/main/java/com/google/cloud/ByteArray.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java index 24857f9f647d..5841c541c46d 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ByteArray.java @@ -117,7 +117,7 @@ public final void copyTo(ByteBuffer target) { * @throws IndexOutOfBoundsException if the target is not large enough to hold the data */ public final void copyTo(byte[] target) { - byteString.copyTo(target, 0, 0, length()); + byteString.copyTo(target, 0); } /** Creates a {@code ByteArray} object given an array of bytes. The bytes are copied. */ From b8ec3e9e5e13aa9431150da93f01a3cf09731905 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 6 Jun 2019 14:00:07 -0700 Subject: [PATCH 0655/3036] Release google-cloud-java v0.95.0 (#5438) * Release v0.95.0 * Add missing files * Fix region replace tag for securitycenter in bom * Notification tests need to run from contrib folder now --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9d9f90a61a86..36f84be4ceb9 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.76.1-SNAPSHOT + 1.77.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.94.1-alpha-SNAPSHOT + 0.95.0-alpha 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 437c01cd0a8c..c00d491c4b08 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.76.1-SNAPSHOT + 1.77.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.94.1-alpha-SNAPSHOT + 0.95.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index cbb5af711450..90c382e87180 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.76.0 + 1.77.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.76.0' +compile 'com.google.cloud:google-cloud-core:1.77.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.77.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ddfa377fcd00..8fcc4fb120a6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.76.1-SNAPSHOT + 1.77.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.94.1-alpha-SNAPSHOT + 0.95.0-alpha google-cloud-core From 243df9fb33e3fb02ecb03bcd0df40019f16ae05a Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 6 Jun 2019 15:03:53 -0700 Subject: [PATCH 0656/3036] Bump snapshot (#5441) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 36f84be4ceb9..541c4484c378 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.77.0 + 1.77.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.95.0-alpha + 0.95.1-alpha-SNAPSHOT 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 c00d491c4b08..96e27461b442 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.77.0 + 1.77.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.95.0-alpha + 0.95.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8fcc4fb120a6..d9608a58d0c1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.77.0 + 1.77.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.95.0-alpha + 0.95.1-alpha-SNAPSHOT google-cloud-core From f4e9560c99c7d414a7feb8bb8c687b6a42ff8fa3 Mon Sep 17 00:00:00 2001 From: abhinav-qlogic <48669998+abhinav-qlogic@users.noreply.github.com> Date: Fri, 7 Jun 2019 23:29:34 +0530 Subject: [PATCH 0657/3036] Http Core: fix deprecation warnings (#5407) --- .../test/java/com/google/cloud/http/CensusHttpModuleTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java index 7d2827bfb96a..c04d0647fb47 100644 --- a/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java +++ b/java-core/google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java @@ -35,6 +35,7 @@ import io.opencensus.trace.TraceId; import io.opencensus.trace.TraceOptions; import io.opencensus.trace.Tracer; +import io.opencensus.trace.Tracestate; import io.opencensus.trace.Tracing; import io.opencensus.trace.propagation.TextFormat; import java.io.IOException; @@ -116,7 +117,8 @@ public void censusHttpExecuteInterceptorShouldInjectHeader() throws IOException SpanContext.create( TraceId.generateRandomId(random), SpanId.generateRandomId(random), - TraceOptions.DEFAULT); + TraceOptions.DEFAULT, + Tracestate.builder().build()); Span mockSpan = createMockBuilder(Span.class) .withConstructor(SpanContext.class, EnumSet.class) From 3a557ab4d7d02cd01868c04768a15f8193d87cca Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 13 Jun 2019 14:06:30 -0700 Subject: [PATCH 0658/3036] Release v0.96.0 (#5474) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 541c4484c378..814e73ddfbf0 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.77.1-SNAPSHOT + 1.78.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.95.1-alpha-SNAPSHOT + 0.96.0-alpha 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 96e27461b442..cf5fec4c804b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.77.1-SNAPSHOT + 1.78.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.95.1-alpha-SNAPSHOT + 0.96.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 90c382e87180..29b01c10fbf0 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.77.0 + 1.78.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.77.0' +compile 'com.google.cloud:google-cloud-core:1.78.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.78.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d9608a58d0c1..c27b03f9b92b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.77.1-SNAPSHOT + 1.78.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.95.1-alpha-SNAPSHOT + 0.96.0-alpha google-cloud-core From 99a66d74851a88f14b66821e00b90849f563125d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 14 Jun 2019 12:08:55 -0700 Subject: [PATCH 0659/3036] Bump next snapshot (#5496) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 814e73ddfbf0..aa80ae983d58 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.78.0 + 1.78.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.96.0-alpha + 0.96.1-alpha-SNAPSHOT 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 cf5fec4c804b..88465d30d3e1 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.78.0 + 1.78.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.96.0-alpha + 0.96.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c27b03f9b92b..c54204c7a745 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.78.0 + 1.78.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.96.0-alpha + 0.96.1-alpha-SNAPSHOT google-cloud-core From 20752e2ac74e56a22222886bf534f6c3e5a27b27 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 20 Jun 2019 17:41:03 -0400 Subject: [PATCH 0660/3036] Release v0.97.0 (#5528) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index aa80ae983d58..406e47c1d767 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.78.1-SNAPSHOT + 1.79.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.96.1-alpha-SNAPSHOT + 0.97.0-alpha 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 88465d30d3e1..c52131942e90 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.78.1-SNAPSHOT + 1.79.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.96.1-alpha-SNAPSHOT + 0.97.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 29b01c10fbf0..298ba4b917c3 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.78.0 + 1.79.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.78.0' +compile 'com.google.cloud:google-cloud-core:1.79.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.78.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.79.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c54204c7a745..9dfb58ce0850 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.78.1-SNAPSHOT + 1.79.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.96.1-alpha-SNAPSHOT + 0.97.0-alpha google-cloud-core From 72a072756a004fb37d4e2958ac30a233c912e8dd Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 21 Jun 2019 09:08:35 -0700 Subject: [PATCH 0661/3036] Bump next snapshot (#5530) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 406e47c1d767..bd7499d05bfa 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.79.0 + 1.79.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.97.0-alpha + 0.97.1-alpha-SNAPSHOT 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 c52131942e90..162452fc6562 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.79.0 + 1.79.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.97.0-alpha + 0.97.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9dfb58ce0850..82667ac27328 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.79.0 + 1.79.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.97.0-alpha + 0.97.1-alpha-SNAPSHOT google-cloud-core From 315e726cc7784c968251f8ac2fc083f33a1c72f4 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Wed, 26 Jun 2019 15:13:35 -0700 Subject: [PATCH 0662/3036] Release v0.98.0 (#5572) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index bd7499d05bfa..843a2bc4cdd9 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.79.1-SNAPSHOT + 1.80.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.97.1-alpha-SNAPSHOT + 0.98.0-alpha 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 162452fc6562..55edbb29372c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.79.1-SNAPSHOT + 1.80.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.97.1-alpha-SNAPSHOT + 0.98.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 298ba4b917c3..841cd664a125 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.79.0 + 1.80.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.79.0' +compile 'com.google.cloud:google-cloud-core:1.80.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.79.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.80.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 82667ac27328..664a847468dc 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.79.1-SNAPSHOT + 1.80.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.97.1-alpha-SNAPSHOT + 0.98.0-alpha google-cloud-core From ace124a9c2d76dff7d5bdb04a2a79bb269857d54 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 27 Jun 2019 12:10:33 -0700 Subject: [PATCH 0663/3036] Bump next snapshot (#5579) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 843a2bc4cdd9..c9f67106032e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.80.0 + 1.80.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.98.0-alpha + 0.98.1-alpha-SNAPSHOT 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 55edbb29372c..965201188c0c 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.80.0 + 1.80.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.98.0-alpha + 0.98.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 664a847468dc..71f9e59d15f1 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.80.0 + 1.80.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.98.0-alpha + 0.98.1-alpha-SNAPSHOT google-cloud-core From edf22c3e9b859eef60f8f4389a6de09b262e9f25 Mon Sep 17 00:00:00 2001 From: athakor <49403056+athakor@users.noreply.github.com> Date: Mon, 1 Jul 2019 23:48:12 +0530 Subject: [PATCH 0664/3036] cleanup unused dependency of contrib-google-cloud-core-grpc (#5618) --- java-core/google-cloud-core-grpc/pom.xml | 42 +----------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c9f67106032e..519225e10e3b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -45,49 +45,9 @@ objenesis test - - com.google.protobuf - protobuf-java - - - com.google.protobuf - protobuf-java-util - - - io.grpc - grpc-protobuf - - - io.grpc - grpc-context - - - io.grpc - grpc-netty-shaded - - - io.grpc - grpc-stub - - - io.grpc - grpc-auth - com.google.api gax-grpc - - - - com.google.truth - truth - test - - - com.google.guava - guava-testlib - test - - + \ No newline at end of file From 5dbf49cc36ce54fe1594ab7fb6f822cc55dbb3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Mon, 1 Jul 2019 21:39:24 +0200 Subject: [PATCH 0665/3036] Spanner: Create new instance if existing Spanner is closed (#5200) * do not hand out a closed Spanner instance SpannerOptions caches any Spanner instance that has been created, and hands this cached instance out to all subsequent calls to SpannerOptions.getService(). This also included closed Spanner instances. The getService() method now returns an error if the Spanner instance has already been closed. * fix small merge error * create a new instance if the service/rpc is closed SpannerOptions.getService() and SpannerOptions.getRpc() should return a new instance instead of throwing an exception if the service/rpc object has been closed. * add test case to ensure correct caching behavior * use shouldRefreshService instead of createNewService * fix merge conflicts * added documentation to shouldRefresh... methods * removed overrides only for comments * fixed naming * added assertions for isClosed() * fixed formatting --- .../java/com/google/cloud/ServiceOptions.java | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index d08b14e71506..d78958563176 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -494,24 +494,40 @@ static String getServiceAccountProjectId(String credentialsPath) { */ @SuppressWarnings("unchecked") public ServiceT getService() { - if (service == null) { + if (shouldRefreshService(service)) { service = serviceFactory.create((OptionsT) this); } return service; } + /** + * @param cachedService The currently cached service object + * @return true if the currently cached service object should be refreshed. + */ + protected boolean shouldRefreshService(ServiceT cachedService) { + return cachedService == null; + } + /** * Returns a Service RPC object for the current service. For instance, when using Google Cloud * Storage, it returns a StorageRpc object. */ @SuppressWarnings("unchecked") public ServiceRpc getRpc() { - if (rpc == null) { + if (shouldRefreshRpc(rpc)) { rpc = serviceRpcFactory.create((OptionsT) this); } return rpc; } + /** + * @param cachedRpc The currently cached service object + * @return true if the currently cached service object should be refreshed. + */ + protected boolean shouldRefreshRpc(ServiceRpc cachedRpc) { + return cachedRpc == null; + } + /** * Returns the project ID. Return value can be null (for services that don't require a project * ID). From 4d466176eb4501cb03e18c1f719459a23141571c Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 3 Jul 2019 09:12:34 -0700 Subject: [PATCH 0666/3036] Release v0.99.0 (#5657) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 519225e10e3b..79bb9f3720a4 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.80.1-SNAPSHOT + 1.81.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.98.1-alpha-SNAPSHOT + 0.99.0-alpha 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 965201188c0c..ab7c8a908de0 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.80.1-SNAPSHOT + 1.81.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.98.1-alpha-SNAPSHOT + 0.99.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 841cd664a125..e0870cb5681e 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.80.0 + 1.81.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.80.0' +compile 'com.google.cloud:google-cloud-core:1.81.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.81.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 71f9e59d15f1..4efc6c82a46f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.80.1-SNAPSHOT + 1.81.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.98.1-alpha-SNAPSHOT + 0.99.0-alpha google-cloud-core From b3d57ab555869fce91fe36f6748e804c3f01639c Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 8 Jul 2019 11:16:23 -0700 Subject: [PATCH 0667/3036] Bump next snapshot (#5702) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 79bb9f3720a4..90f15f0574c7 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.81.0 + 1.81.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.99.0-alpha + 0.99.1-alpha-SNAPSHOT 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 ab7c8a908de0..dd50cfb17662 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.81.0 + 1.81.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.99.0-alpha + 0.99.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4efc6c82a46f..b477ec59ccec 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.81.0 + 1.81.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.99.0-alpha + 0.99.1-alpha-SNAPSHOT google-cloud-core From 44cfc62ebaa4acf7ffd1a5419197a7beca63e513 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 10 Jul 2019 14:28:03 -0400 Subject: [PATCH 0668/3036] Release v0.100.0 (#5716) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 90f15f0574c7..6462a78d0002 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.81.1-SNAPSHOT + 1.82.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.99.1-alpha-SNAPSHOT + 0.100.0-alpha 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 dd50cfb17662..5ae4c08d14e4 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.81.1-SNAPSHOT + 1.82.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.99.1-alpha-SNAPSHOT + 0.100.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index e0870cb5681e..1124af3168b1 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.81.0 + 1.82.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.81.0' +compile 'com.google.cloud:google-cloud-core:1.82.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.81.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.82.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b477ec59ccec..d5c910e844ed 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.81.1-SNAPSHOT + 1.82.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.99.1-alpha-SNAPSHOT + 0.100.0-alpha google-cloud-core From 35032ba070e36a1c4ed3391d51d515dcc7b717b9 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 10 Jul 2019 17:01:45 -0400 Subject: [PATCH 0669/3036] Bump next snapshot (#5720) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6462a78d0002..d5b7d356cc9e 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.82.0 + 1.82.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.100.0-alpha + 0.100.1-alpha-SNAPSHOT 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 5ae4c08d14e4..08f76f30f7e3 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.82.0 + 1.82.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.100.0-alpha + 0.100.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d5c910e844ed..c7c35e4e3e33 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.82.0 + 1.82.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.100.0-alpha + 0.100.1-alpha-SNAPSHOT google-cloud-core From 6e0fe85f69ced9f471ebe8eff859e74b256eb626 Mon Sep 17 00:00:00 2001 From: JesseLovelace <43148100+JesseLovelace@users.noreply.github.com> Date: Thu, 18 Jul 2019 09:33:51 -0700 Subject: [PATCH 0670/3036] Release v0.101.0 (#5761) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d5b7d356cc9e..e169ed8e6721 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.82.1-SNAPSHOT + 1.83.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.100.1-alpha-SNAPSHOT + 0.101.0-alpha 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 08f76f30f7e3..dd3591d5b46d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.82.1-SNAPSHOT + 1.83.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.100.1-alpha-SNAPSHOT + 0.101.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 1124af3168b1..51b7f56f71bf 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.82.0 + 1.83.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.82.0' +compile 'com.google.cloud:google-cloud-core:1.83.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.83.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c7c35e4e3e33..0b7309469d36 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.82.1-SNAPSHOT + 1.83.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.100.1-alpha-SNAPSHOT + 0.101.0-alpha google-cloud-core From d7f9882f7d9a7ab92662ec32d7b4103f15f769bf Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Tue, 23 Jul 2019 16:28:01 -0400 Subject: [PATCH 0671/3036] Bump next snapshot (#5812) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e169ed8e6721..fab6f56b7832 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.83.0 + 1.83.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.101.0-alpha + 0.101.1-alpha-SNAPSHOT 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 dd3591d5b46d..74cddb2b5bf8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.83.0 + 1.83.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.101.0-alpha + 0.101.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0b7309469d36..3368db2a7588 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.83.0 + 1.83.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.101.0-alpha + 0.101.1-alpha-SNAPSHOT google-cloud-core From dc2f0cbe718eb0140a6c12e09747d0655f5ef72d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 24 Jul 2019 14:46:17 -0700 Subject: [PATCH 0672/3036] Release v0.102.0 (#5852) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index fab6f56b7832..d3ffbc022523 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.83.1-SNAPSHOT + 1.84.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.101.1-alpha-SNAPSHOT + 0.102.0-alpha 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 74cddb2b5bf8..0cbdf00448fc 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.83.1-SNAPSHOT + 1.84.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.101.1-alpha-SNAPSHOT + 0.102.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 51b7f56f71bf..09f57c714b35 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.83.0 + 1.84.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.83.0' +compile 'com.google.cloud:google-cloud-core:1.84.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.83.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.84.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3368db2a7588..f1a81a84ff55 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.83.1-SNAPSHOT + 1.84.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.101.1-alpha-SNAPSHOT + 0.102.0-alpha google-cloud-core From 8c7d40eb0304518a9f16d2d1590f6291084a77d7 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 25 Jul 2019 07:11:16 -0700 Subject: [PATCH 0673/3036] Bump next snapshot (#5858) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d3ffbc022523..b3a9f5992dcb 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.84.0 + 1.84.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.102.0-alpha + 0.102.1-alpha-SNAPSHOT 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 0cbdf00448fc..c627bc6ba849 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.84.0 + 1.84.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.102.0-alpha + 0.102.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f1a81a84ff55..3d27b537e8ef 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.84.0 + 1.84.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.102.0-alpha + 0.102.1-alpha-SNAPSHOT google-cloud-core From 7a3918089965431cf183f6d5a7d801ef335151db Mon Sep 17 00:00:00 2001 From: athakor <49403056+athakor@users.noreply.github.com> Date: Wed, 31 Jul 2019 03:37:48 +0530 Subject: [PATCH 0674/3036] Core: Cleanup unused dependencies (#5617) * cleanup unused dependency of contrib-google-cloud-core * remove unused dependency of core * add the newline at the end of the file --- java-core/google-cloud-core/pom.xml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3d27b537e8ef..34d11ad2808b 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -18,29 +18,11 @@ google-cloud-core - - com.google.guava - guava - junit junit test - - com.google.http-client - google-http-client - - - com.google.code.findbugs - jsr305 - - - - - com.google.code.findbugs - jsr305 - org.easymock easymock @@ -51,10 +33,6 @@ objenesis test - - com.google.api - api-common - com.google.api gax @@ -81,10 +59,5 @@ guava-testlib test - - org.checkerframework - checker-compat-qual - test - From 811ec76c1d786ad9a5a8813e9779715d3af53737 Mon Sep 17 00:00:00 2001 From: athakor <49403056+athakor@users.noreply.github.com> Date: Wed, 31 Jul 2019 04:05:36 +0530 Subject: [PATCH 0675/3036] Core-http: Cleanup unused dependencies (#5686) --- java-core/google-cloud-core-http/pom.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index c627bc6ba849..cfbe0349737b 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -75,13 +75,5 @@ truth test - - io.opencensus - opencensus-api - - - io.opencensus - opencensus-contrib-http-util - From 6f055b1739445e3307f6db16fb12e0e9934937d7 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 31 Jul 2019 15:09:09 -0400 Subject: [PATCH 0676/3036] Release v0.103.0 (#5950) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b3a9f5992dcb..b5e8f7970608 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.84.1-SNAPSHOT + 1.85.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.102.1-alpha-SNAPSHOT + 0.103.0-alpha 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 cfbe0349737b..42a311d6c5ac 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.84.1-SNAPSHOT + 1.85.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.102.1-alpha-SNAPSHOT + 0.103.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 09f57c714b35..30bd9a0cc4a6 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.84.0 + 1.85.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.84.0' +compile 'com.google.cloud:google-cloud-core:1.85.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.85.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 34d11ad2808b..f92b56a88afa 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.84.1-SNAPSHOT + 1.85.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.102.1-alpha-SNAPSHOT + 0.103.0-alpha google-cloud-core From 0b2a93f0e17f23b0eb6eb2bc144da8a23a1e3896 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 1 Aug 2019 13:21:29 -0400 Subject: [PATCH 0677/3036] Bump next snapshot (#5958) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b5e8f7970608..d40e3ce0545b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.85.0 + 1.85.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.103.0-alpha + 0.103.1-alpha-SNAPSHOT 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 42a311d6c5ac..80d30face7fa 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.85.0 + 1.85.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.103.0-alpha + 0.103.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f92b56a88afa..0098e0084e61 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.85.0 + 1.85.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.103.0-alpha + 0.103.1-alpha-SNAPSHOT google-cloud-core From 44a55a6991f46b814820b0a4db28e815d947e1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Mon, 5 Aug 2019 18:54:15 +0200 Subject: [PATCH 0678/3036] Spanner JDBC: Add Spanner JDBC driver to google-cloud-contrib (#6007) add Spanner JDBC driver to google-cloud-contrib --- .../java/com/google/cloud/ServiceOptions.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index d78958563176..56f2d19595db 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -45,7 +45,9 @@ import com.google.auth.oauth2.GoogleCredentials; import com.google.auth.oauth2.ServiceAccountCredentials; import com.google.cloud.spi.ServiceRpcFactory; +import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.google.common.io.Files; import java.io.BufferedReader; @@ -89,6 +91,7 @@ public abstract class ServiceOptions< getDefaultRetrySettingsBuilder().setMaxAttempts(1).build(); private static final long serialVersionUID = 9198896031667942014L; + protected final String clientLibToken; private final String projectId; private final String host; @@ -117,6 +120,8 @@ public abstract static class Builder< OptionsT extends ServiceOptions, B extends Builder> { + private final ImmutableSet allowedClientLibTokens = + ImmutableSet.of(ServiceOptions.getGoogApiClientLibName()); private String projectId; private String host; protected Credentials credentials; @@ -126,6 +131,7 @@ public abstract static class Builder< private ApiClock clock; private TransportOptions transportOptions; private HeaderProvider headerProvider; + private String clientLibToken = ServiceOptions.getGoogApiClientLibName(); @InternalApi("This class should only be extended within google-cloud-java") protected Builder() {} @@ -140,6 +146,7 @@ protected Builder(ServiceOptions options) { serviceRpcFactory = options.serviceRpcFactory; clock = options.clock; transportOptions = options.transportOptions; + clientLibToken = options.clientLibToken; } protected abstract ServiceOptions build(); @@ -253,6 +260,18 @@ public B setHeaderProvider(HeaderProvider headerProvider) { this.headerProvider = headerProvider; return self(); } + + @InternalApi + public B setClientLibToken(String clientLibToken) { + Preconditions.checkArgument( + getAllowedClientLibTokens().contains(clientLibToken), "Illegal client lib token"); + this.clientLibToken = clientLibToken; + return self(); + } + + protected Set getAllowedClientLibTokens() { + return allowedClientLibTokens; + } } @InternalApi("This class should only be extended within google-cloud-java") @@ -285,6 +304,7 @@ protected ServiceOptions( transportOptions = firstNonNull(builder.transportOptions, serviceDefaults.getDefaultTransportOptions()); headerProvider = firstNonNull(builder.headerProvider, new NoHeaderProvider()); + clientLibToken = builder.clientLibToken; } /** @@ -710,4 +730,8 @@ protected RetrySettings defaultRetrySettings() { public static T getFromServiceLoader(Class clazz, T defaultInstance) { return Iterables.getFirst(ServiceLoader.load(clazz), defaultInstance); } + + public String getClientLibToken() { + return clientLibToken; + } } From 2a36c0256bbee400665910cfd3e1609e3d40d8db Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 7 Aug 2019 10:00:27 -0700 Subject: [PATCH 0679/3036] Release v0.104.0 (#6048) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d40e3ce0545b..4d040f32bf93 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.85.1-SNAPSHOT + 1.86.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.103.1-alpha-SNAPSHOT + 0.104.0-alpha 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 80d30face7fa..24a0be381d33 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.85.1-SNAPSHOT + 1.86.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.103.1-alpha-SNAPSHOT + 0.104.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 30bd9a0cc4a6..024174c09f22 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.85.0 + 1.86.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.85.0' +compile 'com.google.cloud:google-cloud-core:1.86.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.86.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0098e0084e61..3c394ecc56f4 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.85.1-SNAPSHOT + 1.86.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.103.1-alpha-SNAPSHOT + 0.104.0-alpha google-cloud-core From f153d7beabac9d68fbc92bb40a2a951cc44b8601 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 8 Aug 2019 12:07:43 -0700 Subject: [PATCH 0680/3036] Bump next snapshot (#6055) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4d040f32bf93..b9d945c469f2 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.86.0 + 1.86.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.104.0-alpha + 0.104.1-alpha-SNAPSHOT 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 24a0be381d33..3e2b8b2982ea 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.86.0 + 1.86.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.104.0-alpha + 0.104.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3c394ecc56f4..70ad84211f19 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.86.0 + 1.86.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.104.0-alpha + 0.104.1-alpha-SNAPSHOT google-cloud-core From ae11ddac80a3d84bb5f57f5deec9ecc316f94929 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 14 Aug 2019 10:05:25 -0700 Subject: [PATCH 0681/3036] Fix links to googleapis.dev from GitHub pages (#6070) --- java-core/google-cloud-core/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 024174c09f22..9b04118b3bc8 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -7,8 +7,7 @@ This module provides common functionality required by service-specific modules o [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) [![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) -- [Homepage](https://googleapis.github.io/google-cloud-java/) -- [API Documentation](https://googleapis.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/package-summary.html) +- [API Documentation](https://googleapis.dev/java/google-cloud-clients/latest/index.html?com/google/cloud/package-summary.html) Quickstart ---------- From b7d654b8e9580fdc190e3e8aac6bfd7fad50b686 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 14 Aug 2019 15:10:32 -0400 Subject: [PATCH 0682/3036] Release v0.105.0 (#6077) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b9d945c469f2..775700bc91c4 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.86.1-SNAPSHOT + 1.87.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.104.1-alpha-SNAPSHOT + 0.105.0-alpha 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 3e2b8b2982ea..eb329a960df7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.86.1-SNAPSHOT + 1.87.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.104.1-alpha-SNAPSHOT + 0.105.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 9b04118b3bc8..517cd49def3d 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.86.0 + 1.87.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.86.0' +compile 'com.google.cloud:google-cloud-core:1.87.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.87.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 70ad84211f19..d1d11cfafc47 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.86.1-SNAPSHOT + 1.87.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.104.1-alpha-SNAPSHOT + 0.105.0-alpha google-cloud-core From cbe9cf8cc6751b4d28ae425083e5106127c4925d Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 14 Aug 2019 20:03:16 -0400 Subject: [PATCH 0683/3036] Bump next snapshot (#6079) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 775700bc91c4..588c23ba5d14 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.87.0 + 1.87.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.105.0-alpha + 0.105.1-alpha-SNAPSHOT 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 eb329a960df7..17c24ff8b91d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.87.0 + 1.87.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.105.0-alpha + 0.105.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d1d11cfafc47..d4b9af695a68 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.87.0 + 1.87.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.105.0-alpha + 0.105.1-alpha-SNAPSHOT google-cloud-core From 13d66bb03308853cc4b26879669c2235644bd4ba Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 22 Aug 2019 13:14:03 -0700 Subject: [PATCH 0684/3036] Release v0.106.0 (#6140) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 588c23ba5d14..79420109d008 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.87.1-SNAPSHOT + 1.88.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.105.1-alpha-SNAPSHOT + 0.106.0-alpha 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 17c24ff8b91d..bbc663067566 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.87.1-SNAPSHOT + 1.88.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.105.1-alpha-SNAPSHOT + 0.106.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 517cd49def3d..b2fda60f0386 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.87.0 + 1.88.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.87.0' +compile 'com.google.cloud:google-cloud-core:1.88.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.88.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d4b9af695a68..f169f901e2c6 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.87.1-SNAPSHOT + 1.88.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.105.1-alpha-SNAPSHOT + 0.106.0-alpha google-cloud-core From 64f828261a14db5b0020eca246f4a1adfce60b95 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Mon, 26 Aug 2019 12:50:31 -0400 Subject: [PATCH 0685/3036] Bump next snapshot (#6162) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 79420109d008..f1d0a526366c 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.88.0 + 1.88.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.106.0-alpha + 0.106.1-alpha-SNAPSHOT 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 bbc663067566..4cc42b45e9f7 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.88.0 + 1.88.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.106.0-alpha + 0.106.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f169f901e2c6..d0e9c92e0361 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.88.0 + 1.88.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.106.0-alpha + 0.106.1-alpha-SNAPSHOT google-cloud-core From bae6149059569abbe433439d933df23ce72ea709 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Wed, 28 Aug 2019 19:39:57 -0400 Subject: [PATCH 0686/3036] Release v0.107.0 (#6188) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f1d0a526366c..7fa6fa2c4836 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.88.1-SNAPSHOT + 1.89.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.106.1-alpha-SNAPSHOT + 0.107.0-alpha 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 4cc42b45e9f7..15c36f5b75c8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.88.1-SNAPSHOT + 1.89.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.106.1-alpha-SNAPSHOT + 0.107.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index b2fda60f0386..4abe253d1007 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.88.0 + 1.89.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.88.0' +compile 'com.google.cloud:google-cloud-core:1.89.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.89.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d0e9c92e0361..99dfba0d68d7 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.88.1-SNAPSHOT + 1.89.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.106.1-alpha-SNAPSHOT + 0.107.0-alpha google-cloud-core From 779527e016fd67f7bb762e97ecea474582ae8618 Mon Sep 17 00:00:00 2001 From: kolea2 <45548808+kolea2@users.noreply.github.com> Date: Thu, 29 Aug 2019 13:46:14 -0400 Subject: [PATCH 0687/3036] Bump next snapshot (#6194) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7fa6fa2c4836..7da7ef2aee1b 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.89.0 + 1.89.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.107.0-alpha + 0.107.1-alpha-SNAPSHOT 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 15c36f5b75c8..6eabba047663 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.89.0 + 1.89.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.107.0-alpha + 0.107.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 99dfba0d68d7..db21d11a1eb2 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.89.0 + 1.89.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.107.0-alpha + 0.107.1-alpha-SNAPSHOT google-cloud-core From d59ca5771cb189132df403955fb99ae689abd754 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 5 Sep 2019 11:11:12 -0700 Subject: [PATCH 0688/3036] Release google-cloud-java v0.108.0 (#6223) * Release v0.108.0 * Spanner JDBC to 1.0.0 --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/README.md | 6 +++--- java-core/google-cloud-core/pom.xml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7da7ef2aee1b..f78f389fc292 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.89.1-SNAPSHOT + 1.90.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.107.1-alpha-SNAPSHOT + 0.108.0-alpha 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 6eabba047663..0d5d5d36a11d 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.89.1-SNAPSHOT + 1.90.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.107.1-alpha-SNAPSHOT + 0.108.0-alpha google-cloud-core-http diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md index 4abe253d1007..fd2b536604e3 100644 --- a/java-core/google-cloud-core/README.md +++ b/java-core/google-cloud-core/README.md @@ -18,16 +18,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.89.0 + 1.90.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.89.0' +compile 'com.google.cloud:google-cloud-core:1.90.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.90.0" ``` [//]: # ({x-version-update-end}) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index db21d11a1eb2..84fb88db478f 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.89.1-SNAPSHOT + 1.90.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.107.1-alpha-SNAPSHOT + 0.108.0-alpha google-cloud-core From fbffe56e8a2d693a112b857072387e6a6676f63b Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 6 Sep 2019 08:52:12 -0700 Subject: [PATCH 0689/3036] Bump next snapshot (#6231) --- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f78f389fc292..da06d875fbd4 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-grpc - 1.90.0 + 1.90.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.108.0-alpha + 0.108.1-alpha-SNAPSHOT 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 0d5d5d36a11d..dc4b39ae6ec8 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core-http - 1.90.0 + 1.90.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.108.0-alpha + 0.108.1-alpha-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 84fb88db478f..fd281c6f4939 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-core - 1.90.0 + 1.90.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -12,7 +12,7 @@ com.google.cloud google-cloud-clients - 0.108.0-alpha + 0.108.1-alpha-SNAPSHOT google-cloud-core From 1d770d09455853ccafe95b55d5c33463625346b5 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 6 Sep 2019 09:12:06 -0700 Subject: [PATCH 0690/3036] chore: add repo common files --- .../.github/ISSUE_TEMPLATE/bug_report.md | 51 ++++++++++ .../.github/ISSUE_TEMPLATE/feature_request.md | 21 +++++ .../.github/ISSUE_TEMPLATE/support_request.md | 7 ++ java-core/.github/PULL_REQUEST_TEMPLATE.md | 1 + java-core/.gitignore | 15 +++ java-core/.kokoro/build.bat | 3 + java-core/.kokoro/build.sh | 54 +++++++++++ java-core/.kokoro/common.cfg | 13 +++ java-core/.kokoro/continuous/common.cfg | 24 +++++ java-core/.kokoro/continuous/dependencies.cfg | 12 +++ java-core/.kokoro/continuous/integration.cfg | 7 ++ java-core/.kokoro/continuous/java11.cfg | 7 ++ java-core/.kokoro/continuous/java7.cfg | 7 ++ java-core/.kokoro/continuous/java8-osx.cfg | 3 + java-core/.kokoro/continuous/java8-win.cfg | 3 + java-core/.kokoro/continuous/java8.cfg | 7 ++ java-core/.kokoro/continuous/lint.cfg | 13 +++ .../.kokoro/continuous/propose_release.cfg | 53 +++++++++++ .../.kokoro/continuous/propose_release.sh | 29 ++++++ java-core/.kokoro/dependencies.sh | 27 ++++++ java-core/.kokoro/linkage-monitor.sh | 33 +++++++ java-core/.kokoro/nightly/common.cfg | 24 +++++ java-core/.kokoro/nightly/dependencies.cfg | 12 +++ java-core/.kokoro/nightly/integration.cfg | 7 ++ java-core/.kokoro/nightly/java11.cfg | 7 ++ java-core/.kokoro/nightly/java7.cfg | 7 ++ java-core/.kokoro/nightly/java8-osx.cfg | 3 + java-core/.kokoro/nightly/java8-win.cfg | 3 + java-core/.kokoro/nightly/java8.cfg | 7 ++ java-core/.kokoro/nightly/lint.cfg | 13 +++ java-core/.kokoro/presubmit/common.cfg | 33 +++++++ java-core/.kokoro/presubmit/dependencies.cfg | 12 +++ java-core/.kokoro/presubmit/integration.cfg | 7 ++ java-core/.kokoro/presubmit/java11.cfg | 7 ++ java-core/.kokoro/presubmit/java7.cfg | 7 ++ java-core/.kokoro/presubmit/java8-osx.cfg | 3 + java-core/.kokoro/presubmit/java8-win.cfg | 3 + java-core/.kokoro/presubmit/java8.cfg | 7 ++ .../.kokoro/presubmit/linkage-monitor.cfg | 12 +++ java-core/.kokoro/presubmit/lint.cfg | 13 +++ java-core/.kokoro/release/bump_snapshot.cfg | 53 +++++++++++ java-core/.kokoro/release/bump_snapshot.sh | 30 ++++++ java-core/.kokoro/release/common.cfg | 49 ++++++++++ java-core/.kokoro/release/common.sh | 50 ++++++++++ java-core/.kokoro/release/drop.cfg | 9 ++ java-core/.kokoro/release/drop.sh | 32 +++++++ java-core/.kokoro/release/promote.cfg | 10 ++ java-core/.kokoro/release/promote.sh | 34 +++++++ java-core/.kokoro/release/publish_javadoc.cfg | 19 ++++ java-core/.kokoro/release/publish_javadoc.sh | 55 +++++++++++ java-core/.kokoro/release/snapshot.cfg | 6 ++ java-core/.kokoro/release/snapshot.sh | 30 ++++++ java-core/.kokoro/release/stage.cfg | 44 +++++++++ java-core/.kokoro/release/stage.sh | 41 ++++++++ java-core/.kokoro/trampoline.sh | 24 +++++ java-core/.repo-metadata.json | 9 ++ java-core/CODE_OF_CONDUCT.md | 93 +++++++++++++++++++ java-core/CONTRIBUTING.md | 28 ++++++ java-core/LICENSE | 5 +- java-core/README.md | 63 +++++++++++++ java-core/codecov.yaml | 4 + java-core/java.header | 15 +++ java-core/license-checks.xml | 10 ++ java-core/renovate.json | 29 ++++++ java-core/synth.metadata | 12 +++ java-core/synth.py | 27 ++++++ 66 files changed, 1356 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 java-core/.github/ISSUE_TEMPLATE/feature_request.md create mode 100644 java-core/.github/ISSUE_TEMPLATE/support_request.md create mode 100644 java-core/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 java-core/.gitignore create mode 100644 java-core/.kokoro/build.bat create mode 100755 java-core/.kokoro/build.sh create mode 100644 java-core/.kokoro/common.cfg create mode 100644 java-core/.kokoro/continuous/common.cfg create mode 100644 java-core/.kokoro/continuous/dependencies.cfg create mode 100644 java-core/.kokoro/continuous/integration.cfg create mode 100644 java-core/.kokoro/continuous/java11.cfg create mode 100644 java-core/.kokoro/continuous/java7.cfg create mode 100644 java-core/.kokoro/continuous/java8-osx.cfg create mode 100644 java-core/.kokoro/continuous/java8-win.cfg create mode 100644 java-core/.kokoro/continuous/java8.cfg create mode 100644 java-core/.kokoro/continuous/lint.cfg create mode 100644 java-core/.kokoro/continuous/propose_release.cfg create mode 100755 java-core/.kokoro/continuous/propose_release.sh create mode 100755 java-core/.kokoro/dependencies.sh create mode 100755 java-core/.kokoro/linkage-monitor.sh create mode 100644 java-core/.kokoro/nightly/common.cfg create mode 100644 java-core/.kokoro/nightly/dependencies.cfg create mode 100644 java-core/.kokoro/nightly/integration.cfg create mode 100644 java-core/.kokoro/nightly/java11.cfg create mode 100644 java-core/.kokoro/nightly/java7.cfg create mode 100644 java-core/.kokoro/nightly/java8-osx.cfg create mode 100644 java-core/.kokoro/nightly/java8-win.cfg create mode 100644 java-core/.kokoro/nightly/java8.cfg create mode 100644 java-core/.kokoro/nightly/lint.cfg create mode 100644 java-core/.kokoro/presubmit/common.cfg create mode 100644 java-core/.kokoro/presubmit/dependencies.cfg create mode 100644 java-core/.kokoro/presubmit/integration.cfg create mode 100644 java-core/.kokoro/presubmit/java11.cfg create mode 100644 java-core/.kokoro/presubmit/java7.cfg create mode 100644 java-core/.kokoro/presubmit/java8-osx.cfg create mode 100644 java-core/.kokoro/presubmit/java8-win.cfg create mode 100644 java-core/.kokoro/presubmit/java8.cfg create mode 100644 java-core/.kokoro/presubmit/linkage-monitor.cfg create mode 100644 java-core/.kokoro/presubmit/lint.cfg create mode 100644 java-core/.kokoro/release/bump_snapshot.cfg create mode 100755 java-core/.kokoro/release/bump_snapshot.sh create mode 100644 java-core/.kokoro/release/common.cfg create mode 100755 java-core/.kokoro/release/common.sh create mode 100644 java-core/.kokoro/release/drop.cfg create mode 100755 java-core/.kokoro/release/drop.sh create mode 100644 java-core/.kokoro/release/promote.cfg create mode 100755 java-core/.kokoro/release/promote.sh create mode 100644 java-core/.kokoro/release/publish_javadoc.cfg create mode 100755 java-core/.kokoro/release/publish_javadoc.sh create mode 100644 java-core/.kokoro/release/snapshot.cfg create mode 100755 java-core/.kokoro/release/snapshot.sh create mode 100644 java-core/.kokoro/release/stage.cfg create mode 100755 java-core/.kokoro/release/stage.sh create mode 100644 java-core/.kokoro/trampoline.sh create mode 100644 java-core/.repo-metadata.json create mode 100644 java-core/CODE_OF_CONDUCT.md create mode 100644 java-core/CONTRIBUTING.md create mode 100644 java-core/README.md create mode 100644 java-core/codecov.yaml create mode 100644 java-core/java.header create mode 100644 java-core/license-checks.xml create mode 100644 java-core/renovate.json create mode 100644 java-core/synth.metadata create mode 100644 java-core/synth.py diff --git a/java-core/.github/ISSUE_TEMPLATE/bug_report.md b/java-core/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000000..d81d43b1a6e4 --- /dev/null +++ b/java-core/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,51 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +Please run down the following list and make sure you've tried the usual "quick fixes": + + - Search the issues already opened: https://github.com/googleapis/google-cloud-core/issues + - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform + +If you are still having issues, please include as much information as possible: + +#### Environment details + +1. Specify the API at the beginning of the title. For example, "BigQuery: ..."). + General, Core, and Other are also allowed as types +2. OS type and version: +3. Java version: +4. google-cloud-core version(s): + +#### Steps to reproduce + + 1. ? + 2. ? + +#### Code example + +```java +// example +``` + +#### Stack trace +``` +Any relevant stacktrace here. +``` + +#### External references such as API reference guides + +- ? + +#### Any additional information below + + +Following these steps guarantees the quickest resolution possible. + +Thanks! \ No newline at end of file diff --git a/java-core/.github/ISSUE_TEMPLATE/feature_request.md b/java-core/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000000..754e30c68a00 --- /dev/null +++ b/java-core/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +--- +name: Feature request +about: Suggest an idea for this library + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +**Is your feature request related to a problem? Please describe.** +What the problem is. Example: I'm always frustrated when [...] + +**Describe the solution you'd like** +What you want to happen. + +**Describe alternatives you've considered** +Any alternative solutions or features you've considered. + +**Additional context** +Any other context or screenshots about the feature request. diff --git a/java-core/.github/ISSUE_TEMPLATE/support_request.md b/java-core/.github/ISSUE_TEMPLATE/support_request.md new file mode 100644 index 000000000000..995869032125 --- /dev/null +++ b/java-core/.github/ISSUE_TEMPLATE/support_request.md @@ -0,0 +1,7 @@ +--- +name: Support request +about: If you have a support contract with Google, please create an issue in the Google Cloud Support console. + +--- + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-core/.github/PULL_REQUEST_TEMPLATE.md b/java-core/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000000..0bd0ee0620f9 --- /dev/null +++ b/java-core/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1 @@ +Fixes # (it's a good idea to open an issue first for context and/or discussion) \ No newline at end of file diff --git a/java-core/.gitignore b/java-core/.gitignore new file mode 100644 index 000000000000..fadd6afc2dfd --- /dev/null +++ b/java-core/.gitignore @@ -0,0 +1,15 @@ +# Maven +target/ + +# Eclipse +.classpath +.project +.settings + +# Intellij +*.iml +.idea/ + +# python utilities +*.pyc +__pycache__ diff --git a/java-core/.kokoro/build.bat b/java-core/.kokoro/build.bat new file mode 100644 index 000000000000..bcca1f45d078 --- /dev/null +++ b/java-core/.kokoro/build.bat @@ -0,0 +1,3 @@ +:: See documentation in type-shell-output.bat + +"C:\Program Files\Git\bin\bash.exe" github/java-core/.kokoro/build.sh diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh new file mode 100755 index 000000000000..2ffb5ef7f070 --- /dev/null +++ b/java-core/.kokoro/build.sh @@ -0,0 +1,54 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# Print out Java version +java -version +echo ${JOB_TYPE} + +mvn install -B -V \ + -DskipTests=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C + +# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it +if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) +fi + +case ${JOB_TYPE} in +test) + mvn test -B + bash ${KOKORO_GFILE_DIR}/codecov.sh + ;; +lint) + mvn com.coveo:fmt-maven-plugin:check + ;; +javadoc) + mvn javadoc:javadoc javadoc:test-javadoc + ;; +integration) + mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify + ;; +*) + ;; +esac \ No newline at end of file diff --git a/java-core/.kokoro/common.cfg b/java-core/.kokoro/common.cfg new file mode 100644 index 000000000000..054c30c8f76d --- /dev/null +++ b/java-core/.kokoro/common.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# All builds use the trampoline script to run in docker. +build_file: "java-core/.kokoro/trampoline.sh" + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/build.sh" +} diff --git a/java-core/.kokoro/continuous/common.cfg b/java-core/.kokoro/continuous/common.cfg new file mode 100644 index 000000000000..af5a907dc468 --- /dev/null +++ b/java-core/.kokoro/continuous/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-core/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} diff --git a/java-core/.kokoro/continuous/dependencies.cfg b/java-core/.kokoro/continuous/dependencies.cfg new file mode 100644 index 000000000000..895832a92836 --- /dev/null +++ b/java-core/.kokoro/continuous/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/dependencies.sh" +} diff --git a/java-core/.kokoro/continuous/integration.cfg b/java-core/.kokoro/continuous/integration.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-core/.kokoro/continuous/integration.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-core/.kokoro/continuous/java11.cfg b/java-core/.kokoro/continuous/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-core/.kokoro/continuous/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-core/.kokoro/continuous/java7.cfg b/java-core/.kokoro/continuous/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-core/.kokoro/continuous/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-core/.kokoro/continuous/java8-osx.cfg b/java-core/.kokoro/continuous/java8-osx.cfg new file mode 100644 index 000000000000..8b617e25943d --- /dev/null +++ b/java-core/.kokoro/continuous/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-core/.kokoro/build.sh" diff --git a/java-core/.kokoro/continuous/java8-win.cfg b/java-core/.kokoro/continuous/java8-win.cfg new file mode 100644 index 000000000000..1a6311a42092 --- /dev/null +++ b/java-core/.kokoro/continuous/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-core/.kokoro/build.bat" diff --git a/java-core/.kokoro/continuous/java8.cfg b/java-core/.kokoro/continuous/java8.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-core/.kokoro/continuous/java8.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-core/.kokoro/continuous/lint.cfg b/java-core/.kokoro/continuous/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-core/.kokoro/continuous/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-core/.kokoro/continuous/propose_release.cfg b/java-core/.kokoro/continuous/propose_release.cfg new file mode 100644 index 000000000000..fc798ae888c8 --- /dev/null +++ b/java-core/.kokoro/continuous/propose_release.cfg @@ -0,0 +1,53 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-core/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/continuous/propose_release.sh" +} + +# tokens used by release-please to keep an up-to-date release PR. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-key-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-token-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-url-release-please" + } + } +} diff --git a/java-core/.kokoro/continuous/propose_release.sh b/java-core/.kokoro/continuous/propose_release.sh new file mode 100755 index 000000000000..1fd8acb1bfcd --- /dev/null +++ b/java-core/.kokoro/continuous/propose_release.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# Copyright 2019 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. + +set -eo pipefail + +export NPM_CONFIG_PREFIX=/home/node/.npm-global + +if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then + # Groom the release PR as new commits are merged. + npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ + --repo-url=googleapis/java-core \ + --package-name="google-cloud-core" \ + --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ + --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ + --release-type=java-yoshi +fi diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh new file mode 100755 index 000000000000..51e976d441ba --- /dev/null +++ b/java-core/.kokoro/dependencies.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +cd github/java-core/ + +# Print out Java +java -version +echo $JOB_TYPE + +export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" + +mvn install -DskipTests=true -B -V +mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-core/.kokoro/linkage-monitor.sh b/java-core/.kokoro/linkage-monitor.sh new file mode 100755 index 000000000000..ec3da4ec35c2 --- /dev/null +++ b/java-core/.kokoro/linkage-monitor.sh @@ -0,0 +1,33 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail +# Display commands being run. +set -x + +cd github/java-core/ + +# Print out Java version +java -version +echo ${JOB_TYPE} + +mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V + +# Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR +JAR=linkage-monitor-latest-all-deps.jar +curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}" + +# Fails if there's new linkage errors compared with baseline +java -jar ${JAR} com.google.cloud:libraries-bom diff --git a/java-core/.kokoro/nightly/common.cfg b/java-core/.kokoro/nightly/common.cfg new file mode 100644 index 000000000000..af5a907dc468 --- /dev/null +++ b/java-core/.kokoro/nightly/common.cfg @@ -0,0 +1,24 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-core/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} diff --git a/java-core/.kokoro/nightly/dependencies.cfg b/java-core/.kokoro/nightly/dependencies.cfg new file mode 100644 index 000000000000..895832a92836 --- /dev/null +++ b/java-core/.kokoro/nightly/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/dependencies.sh" +} diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-core/.kokoro/nightly/integration.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-core/.kokoro/nightly/java11.cfg b/java-core/.kokoro/nightly/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-core/.kokoro/nightly/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-core/.kokoro/nightly/java7.cfg b/java-core/.kokoro/nightly/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-core/.kokoro/nightly/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-core/.kokoro/nightly/java8-osx.cfg b/java-core/.kokoro/nightly/java8-osx.cfg new file mode 100644 index 000000000000..8b617e25943d --- /dev/null +++ b/java-core/.kokoro/nightly/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-core/.kokoro/build.sh" diff --git a/java-core/.kokoro/nightly/java8-win.cfg b/java-core/.kokoro/nightly/java8-win.cfg new file mode 100644 index 000000000000..1a6311a42092 --- /dev/null +++ b/java-core/.kokoro/nightly/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-core/.kokoro/build.bat" diff --git a/java-core/.kokoro/nightly/java8.cfg b/java-core/.kokoro/nightly/java8.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-core/.kokoro/nightly/java8.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-core/.kokoro/nightly/lint.cfg b/java-core/.kokoro/nightly/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-core/.kokoro/nightly/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-core/.kokoro/presubmit/common.cfg b/java-core/.kokoro/presubmit/common.cfg new file mode 100644 index 000000000000..4ba4e252c516 --- /dev/null +++ b/java-core/.kokoro/presubmit/common.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-core/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "dpebot_codecov_token" + } + } +} diff --git a/java-core/.kokoro/presubmit/dependencies.cfg b/java-core/.kokoro/presubmit/dependencies.cfg new file mode 100644 index 000000000000..895832a92836 --- /dev/null +++ b/java-core/.kokoro/presubmit/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/dependencies.sh" +} diff --git a/java-core/.kokoro/presubmit/integration.cfg b/java-core/.kokoro/presubmit/integration.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-core/.kokoro/presubmit/integration.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-core/.kokoro/presubmit/java11.cfg b/java-core/.kokoro/presubmit/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-core/.kokoro/presubmit/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-core/.kokoro/presubmit/java7.cfg b/java-core/.kokoro/presubmit/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-core/.kokoro/presubmit/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-core/.kokoro/presubmit/java8-osx.cfg b/java-core/.kokoro/presubmit/java8-osx.cfg new file mode 100644 index 000000000000..8b617e25943d --- /dev/null +++ b/java-core/.kokoro/presubmit/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-core/.kokoro/build.sh" diff --git a/java-core/.kokoro/presubmit/java8-win.cfg b/java-core/.kokoro/presubmit/java8-win.cfg new file mode 100644 index 000000000000..1a6311a42092 --- /dev/null +++ b/java-core/.kokoro/presubmit/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-core/.kokoro/build.bat" diff --git a/java-core/.kokoro/presubmit/java8.cfg b/java-core/.kokoro/presubmit/java8.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-core/.kokoro/presubmit/java8.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-core/.kokoro/presubmit/linkage-monitor.cfg b/java-core/.kokoro/presubmit/linkage-monitor.cfg new file mode 100644 index 000000000000..8703ea2a3e8c --- /dev/null +++ b/java-core/.kokoro/presubmit/linkage-monitor.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/linkage-monitor.sh" +} \ No newline at end of file diff --git a/java-core/.kokoro/presubmit/lint.cfg b/java-core/.kokoro/presubmit/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-core/.kokoro/presubmit/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-core/.kokoro/release/bump_snapshot.cfg b/java-core/.kokoro/release/bump_snapshot.cfg new file mode 100644 index 000000000000..a27810aacfbb --- /dev/null +++ b/java-core/.kokoro/release/bump_snapshot.cfg @@ -0,0 +1,53 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-core/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/release/bump_snapshot.sh" +} + +# tokens used by release-please to keep an up-to-date release PR. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-key-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-token-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-url-release-please" + } + } +} diff --git a/java-core/.kokoro/release/bump_snapshot.sh b/java-core/.kokoro/release/bump_snapshot.sh new file mode 100755 index 000000000000..712ce36594e7 --- /dev/null +++ b/java-core/.kokoro/release/bump_snapshot.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +# Copyright 2019 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. + +set -eo pipefail + +export NPM_CONFIG_PREFIX=/home/node/.npm-global + +if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then + # Groom the snapshot release PR immediately after publishing a release + npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ + --repo-url=googleapis/java-core \ + --package-name="google-cloud-core" \ + --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ + --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ + --snapshot \ + --release-type=java-auth-yoshi +fi diff --git a/java-core/.kokoro/release/common.cfg b/java-core/.kokoro/release/common.cfg new file mode 100644 index 000000000000..4b5b8621674a --- /dev/null +++ b/java-core/.kokoro/release/common.cfg @@ -0,0 +1,49 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-core/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-keyring" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-passphrase" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-pubkeyring" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "sonatype-credentials" + } + } +} diff --git a/java-core/.kokoro/release/common.sh b/java-core/.kokoro/release/common.sh new file mode 100755 index 000000000000..6e3f65999b3d --- /dev/null +++ b/java-core/.kokoro/release/common.sh @@ -0,0 +1,50 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# Get secrets from keystore and set and environment variables +setup_environment_secrets() { + export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) + export GPG_TTY=$(tty) + export GPG_HOMEDIR=/gpg + mkdir $GPG_HOMEDIR + mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg + mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-keyring $GPG_HOMEDIR/secring.gpg + export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f1 -d'|') + export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f2 -d'|') +} + +create_settings_xml_file() { + echo " + + + ossrh + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-staging + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-snapshots + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + +" > $1 +} \ No newline at end of file diff --git a/java-core/.kokoro/release/drop.cfg b/java-core/.kokoro/release/drop.cfg new file mode 100644 index 000000000000..211c014c2a97 --- /dev/null +++ b/java-core/.kokoro/release/drop.cfg @@ -0,0 +1,9 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/release/drop.sh" +} + +# Download staging properties file. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-core" \ No newline at end of file diff --git a/java-core/.kokoro/release/drop.sh b/java-core/.kokoro/release/drop.sh new file mode 100755 index 000000000000..5c4551efa2c0 --- /dev/null +++ b/java-core/.kokoro/release/drop.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# STAGING_REPOSITORY_ID must be set +if [ -z "${STAGING_REPOSITORY_ID}" ]; then + echo "Missing STAGING_REPOSITORY_ID environment variable" + exit 1 +fi + +source $(dirname "$0")/common.sh +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn nexus-staging:drop -B \ + --settings=settings.xml \ + -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-core/.kokoro/release/promote.cfg b/java-core/.kokoro/release/promote.cfg new file mode 100644 index 000000000000..b3fc2015d6e0 --- /dev/null +++ b/java-core/.kokoro/release/promote.cfg @@ -0,0 +1,10 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/release/promote.sh" +} + +# Download staging properties file. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-core" + diff --git a/java-core/.kokoro/release/promote.sh b/java-core/.kokoro/release/promote.sh new file mode 100755 index 000000000000..1fa95fa537a3 --- /dev/null +++ b/java-core/.kokoro/release/promote.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# STAGING_REPOSITORY_ID must be set +if [ -z "${STAGING_REPOSITORY_ID}" ]; then + echo "Missing STAGING_REPOSITORY_ID environment variable" + exit 1 +fi + +source $(dirname "$0")/common.sh + +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn nexus-staging:release -B \ + -DperformRelease=true \ + --settings=settings.xml \ + -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg new file mode 100644 index 000000000000..166868b69015 --- /dev/null +++ b/java-core/.kokoro/release/publish_javadoc.cfg @@ -0,0 +1,19 @@ +# Format: //devtools/kokoro/config/proto/build.proto +env_vars: { + key: "STAGING_BUCKET" + value: "docs-staging" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/release/publish_javadoc.sh" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "docuploader_service_account" + } + } +} diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh new file mode 100755 index 000000000000..3eb587a7dc1f --- /dev/null +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Copyright 2019 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +if [[ -z "${CREDENTIALS}" ]]; then + CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account +fi + +if [[ -z "${STAGING_BUCKET}" ]]; then + echo "Need to set STAGING_BUCKET environment variable" + exit 1 +fi + +# work from the git root directory +pushd $(dirname "$0")/../../ + +# install docuploader package +python3 -m pip install gcp-docuploader + +# compile all packages +mvn clean install -B -DskipTests=true + +NAME=google-cloud-core +VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) + +# build the docs +mvn site -B + +pushd target/site/apidocs + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET} + +popd diff --git a/java-core/.kokoro/release/snapshot.cfg b/java-core/.kokoro/release/snapshot.cfg new file mode 100644 index 000000000000..d435702932c8 --- /dev/null +++ b/java-core/.kokoro/release/snapshot.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/release/snapshot.sh" +} \ No newline at end of file diff --git a/java-core/.kokoro/release/snapshot.sh b/java-core/.kokoro/release/snapshot.sh new file mode 100755 index 000000000000..bf738c56dd8d --- /dev/null +++ b/java-core/.kokoro/release/snapshot.sh @@ -0,0 +1,30 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +source $(dirname "$0")/common.sh +MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} \ No newline at end of file diff --git a/java-core/.kokoro/release/stage.cfg b/java-core/.kokoro/release/stage.cfg new file mode 100644 index 000000000000..7d8a196382c8 --- /dev/null +++ b/java-core/.kokoro/release/stage.cfg @@ -0,0 +1,44 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/release/stage.sh" +} + +# Need to save the properties file +action { + define_artifacts { + regex: "github/java-core/target/nexus-staging/staging/*.properties" + strip_prefix: "github/java-core" + } +} + +# Fetch the token needed for reporting release status to GitHub +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + } + } +} + +# Fetch magictoken to use with Magic Github Proxy +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "releasetool-magictoken" + } + } +} + +# Fetch api key to use with Magic Github Proxy +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "magic-github-proxy-api-key" + } + } +} diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh new file mode 100755 index 000000000000..b1b1b01c6623 --- /dev/null +++ b/java-core/.kokoro/release/stage.sh @@ -0,0 +1,41 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# Start the releasetool reporter +python3 -m pip install gcp-releasetool +python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script + +source $(dirname "$0")/common.sh +MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} + +if [[ -n "${AUTORELEASE_PR}" ]] +then + mvn nexus-staging:release -B \ + -DperformRelease=true \ + --settings=settings.xml +fi \ No newline at end of file diff --git a/java-core/.kokoro/trampoline.sh b/java-core/.kokoro/trampoline.sh new file mode 100644 index 000000000000..ba17ce01466b --- /dev/null +++ b/java-core/.kokoro/trampoline.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +set -eo pipefail +# Always run the cleanup script, regardless of the success of bouncing into +# the container. +function cleanup() { + chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + echo "cleanup"; +} +trap cleanup EXIT +python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-core/.repo-metadata.json b/java-core/.repo-metadata.json new file mode 100644 index 000000000000..e3e884930d8f --- /dev/null +++ b/java-core/.repo-metadata.json @@ -0,0 +1,9 @@ +{ + "name": "google-cloud-core", + "name_pretty": "Google Cloud Core", + "release_level": "ga", + "language": "java", + "repo": "googleapis/java-core", + "repo_short": "java-core", + "distribution_name": "google-cloud-java" +} diff --git a/java-core/CODE_OF_CONDUCT.md b/java-core/CODE_OF_CONDUCT.md new file mode 100644 index 000000000000..6b2238bb75e0 --- /dev/null +++ b/java-core/CODE_OF_CONDUCT.md @@ -0,0 +1,93 @@ +# Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of +experience, education, socio-economic status, nationality, personal appearance, +race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, or to ban temporarily or permanently any +contributor for other behaviors that they deem inappropriate, threatening, +offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +This Code of Conduct also applies outside the project spaces when the Project +Steward has a reasonable belief that an individual's behavior may have a +negative impact on the project or its community. + +## Conflict Resolution + +We do not believe that all conflict is bad; healthy debate and disagreement +often yield positive results. However, it is never okay to be disrespectful or +to engage in behavior that violates the project’s code of conduct. + +If you see someone violating the code of conduct, you are encouraged to address +the behavior directly with those involved. Many issues can be resolved quickly +and easily, and this gives people more control over the outcome of their +dispute. If you are unable to resolve the matter for any reason, or if the +behavior is threatening or harassing, report it. We are dedicated to providing +an environment where participants feel welcome and safe. + +Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the +Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +receive and address reported violations of the code of conduct. They will then +work with a committee consisting of representatives from the Open Source +Programs Office and the Google Open Source Strategy team. If for any reason you +are uncomfortable reaching out the Project Steward, please email +opensource@google.com. + +We will investigate every complaint, but you may not receive a direct response. +We will use our discretion in determining when and how to follow up on reported +incidents, which may range from not taking action to permanent expulsion from +the project and project-sponsored spaces. We will notify the accused of the +report and provide them an opportunity to discuss it before any action is taken. +The identity of the reporter will be omitted from the details of the report +supplied to the accused. In potentially harmful situations, such as ongoing +harassment or threats to anyone's safety, we may take action without notice. + +## Attribution + +This Code of Conduct is adapted from the Contributor Covenant, version 1.4, +available at +https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-core/CONTRIBUTING.md b/java-core/CONTRIBUTING.md new file mode 100644 index 000000000000..ebbb59e5310f --- /dev/null +++ b/java-core/CONTRIBUTING.md @@ -0,0 +1,28 @@ +# How to Contribute + +We'd love to accept your patches and contributions to this project. There are +just a few small guidelines you need to follow. + +## Contributor License Agreement + +Contributions to this project must be accompanied by a Contributor License +Agreement. You (or your employer) retain the copyright to your contribution; +this simply gives us permission to use and redistribute your contributions as +part of the project. Head over to to see +your current agreements on file or to sign a new one. + +You generally only need to submit a CLA once, so if you've already submitted one +(even if it was for a different project), you probably don't need to do it +again. + +## Code reviews + +All submissions, including submissions by project members, require review. We +use GitHub pull requests for this purpose. Consult +[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more +information on using pull requests. + +## Community Guidelines + +This project follows +[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). \ No newline at end of file diff --git a/java-core/LICENSE b/java-core/LICENSE index 4eedc0116add..d64569567334 100644 --- a/java-core/LICENSE +++ b/java-core/LICENSE @@ -1,4 +1,5 @@ -Apache License + + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -178,7 +179,7 @@ Apache License APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a diff --git a/java-core/README.md b/java-core/README.md new file mode 100644 index 000000000000..d65c27532438 --- /dev/null +++ b/java-core/README.md @@ -0,0 +1,63 @@ +# Google Cloud Java Client -- Core + +This module provides common functionality required by service-specific modules of this library. + +[![Kokoro CI][kokoro-badge]][kokoro-badge-link] +[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) + +- [API Documentation][api-docs] + +## Quickstart + +[//]: # ({x-version-update-start:google-cloud-core:released}) +If you are using Maven, add this to your pom.xml file +```xml + + com.google.cloud + google-cloud-core + 1.84.0 + +``` +If you are using Gradle, add this to your dependencies +```Groovy +compile 'com.google.cloud:google-cloud-core:1.84.0' +``` +If you are using SBT, add this to your dependencies +```Scala +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.84.0" +``` +[//]: # ({x-version-update-end}) + +## Java Versions + +Java 7 or above is required for using this client. + +## Contributing + +Contributions to this library are always welcome and highly encouraged. + +See [CONTRIBUTING][contributing] documentation for more information on how to get started. + +Please note that this project is released with a Contributor Code of Conduct. By participating in +this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more +information. + +## Versioning + +This library follows [Semantic Versioning][semver]. + +It is currently in major version one (``1.y.z``), which means that the public API should be +considered stable. + +## License + +Apache 2.0 - See [LICENSE][license] for more information. + +[contributing]: https://github.com/googleapis/java-core/blob/master/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-core/blob/master/CODE_OF_CONDUCT.md +[license]: https://github.com/googleapis/java-core/blob/master/LICENSE +[semver]: http://semver.org/ +[cloud-platform]: https://cloud.google.com/ +[kokoro-badge]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/master.svg +[kokoro-badge-link]: (http://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/master.html) +[api-docs]: https://googleapis.dev/java/google-cloud-core/latest diff --git a/java-core/codecov.yaml b/java-core/codecov.yaml new file mode 100644 index 000000000000..5724ea9478d7 --- /dev/null +++ b/java-core/codecov.yaml @@ -0,0 +1,4 @@ +--- +codecov: + ci: + - source.cloud.google.com diff --git a/java-core/java.header b/java-core/java.header new file mode 100644 index 000000000000..3a9b503aa24f --- /dev/null +++ b/java-core/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)( All [rR]ights [rR]eserved\.)?$ +^ \*$ +^ \* 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\.$ +^ \*/$ diff --git a/java-core/license-checks.xml b/java-core/license-checks.xml new file mode 100644 index 000000000000..6597fced808e --- /dev/null +++ b/java-core/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/java-core/renovate.json b/java-core/renovate.json new file mode 100644 index 000000000000..e3e4334dae4c --- /dev/null +++ b/java-core/renovate.json @@ -0,0 +1,29 @@ +{ + "extends": [ + "config:base" + ], + "ignoreDeps": [ + "com.google.api:gax-bom", + "com.google.guava:guava", + "com.google.guava:guava-testlib", + "com.google.protobuf:protobuf-java", + "com.google.protobuf:protobuf-java-util", + "io.opencensus:opencensus-api", + "io.opencensus:opencensus-contrib-grpc-util", + "io.opencensus:opencensus-contrib-http-util" + ], + "packageRules": [ + { + "packagePatterns": ["^io.grpc:grpc-"], + "groupName": "gRPC packages" + }, + { + "packagePatterns": ["^com.google.protobuf:protobuf-"], + "groupName": "Protobuf packages" + }, + { + "packagePatterns": ["^io.opencensus:opencensus-"], + "groupName": "OpenCensus packages" + } + ] +} \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata new file mode 100644 index 000000000000..97bbf24fdf39 --- /dev/null +++ b/java-core/synth.metadata @@ -0,0 +1,12 @@ +{ + "updateTime": "2019-09-06T16:09:54.850638Z", + "sources": [ + { + "template": { + "name": "java_library", + "origin": "synthtool.gcp", + "version": "2019.5.2" + } + } + ] +} \ No newline at end of file diff --git a/java-core/synth.py b/java-core/synth.py new file mode 100644 index 000000000000..b3e7b1e030d2 --- /dev/null +++ b/java-core/synth.py @@ -0,0 +1,27 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated parts of this library.""" + +import synthtool as s +import synthtool.gcp as gcp +import logging +logging.basicConfig(level=logging.DEBUG) +common_templates = gcp.CommonTemplates() +templates = common_templates.java_library() +s.copy(templates, excludes=[ + '.gitignore', + 'README.md', +]) + From 1c61193fec78e6f9ace517d0fccdd4b0c8cc2aa6 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 6 Sep 2019 09:30:08 -0700 Subject: [PATCH 0691/3036] docs: fix Kokoro badge link --- java-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/README.md b/java-core/README.md index d65c27532438..b33fcfd7d81e 100644 --- a/java-core/README.md +++ b/java-core/README.md @@ -59,5 +59,5 @@ Apache 2.0 - See [LICENSE][license] for more information. [semver]: http://semver.org/ [cloud-platform]: https://cloud.google.com/ [kokoro-badge]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/master.svg -[kokoro-badge-link]: (http://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/master.html) +[kokoro-badge-link]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/master.html [api-docs]: https://googleapis.dev/java/google-cloud-core/latest From 3015f476d15e5692023157ac06e0932add4d4f7d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 6 Sep 2019 09:44:50 -0700 Subject: [PATCH 0692/3036] chore: add parent pom (#12) * chore: add parent pom * fix: dependency declarations --- java-core/google-cloud-core-grpc/pom.xml | 36 +- java-core/google-cloud-core-http/pom.xml | 30 +- java-core/google-cloud-core/pom.xml | 38 ++- java-core/pom.xml | 412 +++++++++++++++++++++++ java-core/versions.txt | 4 + 5 files changed, 505 insertions(+), 15 deletions(-) create mode 100644 java-core/pom.xml create mode 100644 java-core/versions.txt diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index da06d875fbd4..0a6ff007e655 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -1,8 +1,9 @@ 4.0.0 + com.google.cloud google-cloud-core-grpc - 1.90.1-SNAPSHOT + 1.90.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -11,8 +12,8 @@ com.google.cloud - google-cloud-clients - 0.108.1-alpha-SNAPSHOT + google-cloud-core-parent + 1.90.1-SNAPSHOT google-cloud-core-grpc @@ -30,6 +31,31 @@ com.google.guava guava + + com.google.api + gax + + + com.google.api + gax-grpc + + + com.google.api + api-common + + + io.grpc + grpc-api + + + io.grpc + grpc-core + + + com.google.http-client + google-http-client + + junit junit @@ -45,9 +71,5 @@ objenesis test - - com.google.api - gax-grpc - \ No newline at end of file diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index dc4b39ae6ec8..cdfaf99fac1f 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -1,8 +1,9 @@ 4.0.0 + com.google.cloud google-cloud-core-http - 1.90.1-SNAPSHOT + 1.90.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -11,8 +12,8 @@ com.google.cloud - google-cloud-clients - 0.108.1-alpha-SNAPSHOT + google-cloud-core-parent + 1.90.1-SNAPSHOT google-cloud-core-http @@ -33,7 +34,6 @@ com.google.http-client google-http-client - compile com.google.guava @@ -42,17 +42,35 @@ com.google.api-client google-api-client - compile com.google.http-client google-http-client-appengine - compile + + + com.google.api + gax com.google.api gax-httpjson + + com.google.code.findbugs + jsr305 + + + io.opencensus + opencensus-api + + + io.opencensus + opencensus-contrib-http-util + + + com.google.api + api-common + diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fd281c6f4939..df8b1b364d6a 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -1,6 +1,7 @@ 4.0.0 + com.google.cloud google-cloud-core 1.90.1-SNAPSHOT jar @@ -11,8 +12,8 @@ com.google.cloud - google-cloud-clients - 0.108.1-alpha-SNAPSHOT + google-cloud-core-parent + 1.90.1-SNAPSHOT google-cloud-core @@ -49,6 +50,39 @@ com.google.api.grpc proto-google-iam-v1 + + org.threeten + threetenbp + + + com.google.api + api-common + + + com.google.auth + google-auth-library-credentials + + + com.google.auth + google-auth-library-oauth2-http + + + com.google.http-client + google-http-client + + + com.google.http-client + google-http-client-jackson2 + + + com.google.protobuf + protobuf-java + + + com.google.guava + guava + + com.google.truth truth diff --git a/java-core/pom.xml b/java-core/pom.xml new file mode 100644 index 000000000000..28cfe9ddec4d --- /dev/null +++ b/java-core/pom.xml @@ -0,0 +1,412 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-parent + pom + 1.90.1-SNAPSHOT + Google Cloud Core Parent + https://github.com/googleapis/java-core + + Java idiomatic client for Google Cloud Platform services. + + + + com.google.cloud + google-cloud-shared-config + 0.1.0 + + + + + garrettjonesgoogle + Garrett Jones + garrettjones@google.com + Google + + Developer + + + + pongad + Michael Darakananda + pongad@google.com + Google + + Developer + + + + shinfan + Shin Fan + shinfan@google.com + Google + + Developer + + + + michaelbausor + Micheal Bausor + michaelbausor@google.com + Google + + Developer + + + + vam-google + Vadym Matsishevskyi + vam@google.com + Google + + Developer + + + + tswast + Tim Swast + tswast@google.com + Google + + Developer + + + + neozwu + Neo Wu + neowu@google.com + Google + + Developer + + + + lesv + Les Vogel + lesv@google.com + Google + + Developer + + + + schmidt_sebastian + Sebastian Schmidt + mrschmidt@google.com + Google + + Developer + + + + andreamlin + Andrea Lin + andrealin@google.com + + Developer + + + + hzyi-google + Hanzhen Yi + hzyi@google.com + + Developer + + + + + Google LLC + + + scm:git:git@github.com:googleapis/java-core.git + scm:git:git@github.com:googleapis/java-core.git + https://github.com/googleapis/java-core + HEAD + + + https://github.com/googleapis/java-core/issues + GitHub Issues + + + + sonatype-nexus-snapshots + https://oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + UTF-8 + UTF-8 + github + google-cloud-core-parent + + 1.48.1 + 1.8.1 + 1.16.0 + 0.12.0 + 0.17.1 + 1.30.2 + 1.31.0 + 1.23.0 + 3.9.1 + 0.23.0 + 1.3.2 + 28.0-android + 4.12 + 1.0 + 3.6 + 3.0.2 + 1.3.3 + 2.6 + 2.3.2 + 1.6.6 + 2.8.5 + + + + + + com.google.cloud + google-cloud-core + ${project.version} + + + + com.google.auth + google-auth-library-bom + ${google.auth.version} + pom + import + + + com.google.api + gax-bom + ${gax.version} + pom + import + + + com.google.http-client + google-http-client-bom + ${google.http.version} + pom + import + + + com.google.api-client + google-api-client-bom + ${google.api.version} + pom + import + + + io.grpc + grpc-bom + ${grpc.version} + pom + import + + + com.google.protobuf + protobuf-bom + ${protobuf.version} + pom + import + + + com.google.guava + guava-bom + ${guava.version} + pom + import + + + + com.google.api + api-common + ${google.api-common.version} + + + com.google.api.grpc + proto-google-common-protos + ${google.common-protos.version} + + + com.google.api.grpc + proto-google-iam-v1 + ${google.iam.version} + + + + + io.opencensus + opencensus-api + ${opencensus.version} + + + io.opencensus + opencensus-contrib-http-util + ${opencensus.version} + + + + javax.annotation + javax.annotation-api + ${annotations-api.version} + + + com.google.code.findbugs + jsr305 + ${findbugs.version} + + + org.threeten + threetenbp + ${threetenbp.version} + + + com.google.errorprone + error_prone_annotations + ${errorprone.version} + + + com.google.auto.value + auto-value-annotations + ${autovalue.version} + + + com.google.code.gson + gson + ${gson.version} + + + + + com.google.truth + truth + ${truth.version} + test + + + junit + junit + ${junit.version} + test + + + org.easymock + easymock + ${easymock.version} + test + + + org.objenesis + objenesis + ${objenesis.version} + test + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + org.objenesis:objenesis + + + + + + + + google-cloud-core + google-cloud-core-http + google-cloud-core-grpc + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.0.0 + + + + index + dependency-info + team + ci-management + issue-management + licenses + scm + dependency-management + distribution-management + summary + modules + + + + + true + ${site.installationModule} + jar + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.1 + + + html + + aggregate + javadoc + + + + + none + protected + true + ${project.build.directory}/javadoc + + + Test helpers packages + com.google.cloud.testing + + + SPI packages + com.google.cloud.spi* + + + + + https://grpc.io/grpc-java/javadoc/ + https://developers.google.com/protocol-buffers/docs/reference/java/ + https://googleapis.dev/java/google-auth-library/latest/ + https://googleapis.dev/java/gax/latest/ + https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ + + + + + + diff --git a/java-core/versions.txt b/java-core/versions.txt new file mode 100644 index 000000000000..c7eb90abbb34 --- /dev/null +++ b/java-core/versions.txt @@ -0,0 +1,4 @@ +# Format: +# module:released-version:current-version + +google-cloud-core:1.90.0:1.90.1-SNAPSHOT \ No newline at end of file From 6fce9fafabf6378a46da023302e6b42bafc45caa Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 6 Sep 2019 09:48:14 -0700 Subject: [PATCH 0693/3036] docs: fix README versions and CI Status table --- java-core/README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/java-core/README.md b/java-core/README.md index b33fcfd7d81e..a16d6b37a9c7 100644 --- a/java-core/README.md +++ b/java-core/README.md @@ -2,7 +2,6 @@ This module provides common functionality required by service-specific modules of this library. -[![Kokoro CI][kokoro-badge]][kokoro-badge-link] [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) - [API Documentation][api-docs] @@ -15,16 +14,16 @@ If you are using Maven, add this to your pom.xml file com.google.cloud google-cloud-core - 1.84.0 + 1.90.0 ``` If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-core:1.84.0' +compile 'com.google.cloud:google-cloud-core:1.90.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.90.0" ``` [//]: # ({x-version-update-end}) @@ -53,11 +52,18 @@ considered stable. Apache 2.0 - See [LICENSE][license] for more information. +## CI Status + +Java Version | Status +------------ | ------ +Java 7 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java7.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java7.html) +Java 8 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8.html) +Java 11 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.html) + + [contributing]: https://github.com/googleapis/java-core/blob/master/CONTRIBUTING.md [code-of-conduct]: https://github.com/googleapis/java-core/blob/master/CODE_OF_CONDUCT.md [license]: https://github.com/googleapis/java-core/blob/master/LICENSE [semver]: http://semver.org/ [cloud-platform]: https://cloud.google.com/ -[kokoro-badge]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/master.svg -[kokoro-badge-link]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/master.html [api-docs]: https://googleapis.dev/java/google-cloud-core/latest From c5c7c1cdb6f75f392cf56cd9e5f88e13a0c16180 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 6 Sep 2019 13:19:24 -0700 Subject: [PATCH 0694/3036] feat: add google-cloud-core-bom artifact (#13) * feat: add google-cloud-core-bom artifact * fix: skip checkstyle on bom * fix: bom version --- java-core/google-cloud-core-bom/pom.xml | 92 +++++++++++++++++++++++++ java-core/google-cloud-core/README.md | 69 ------------------- java-core/pom.xml | 1 + 3 files changed, 93 insertions(+), 69 deletions(-) create mode 100644 java-core/google-cloud-core-bom/pom.xml delete mode 100644 java-core/google-cloud-core/README.md diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml new file mode 100644 index 000000000000..c0f18683a58b --- /dev/null +++ b/java-core/google-cloud-core-bom/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-bom + 1.90.1-SNAPSHOT + pom + + com.google.cloud + google-cloud-shared-config + 0.1.0 + + + Google Cloud Core + https://github.com/googleapis/java-core/tree/master/google-cloud-core-bom + + BOM for Google Cloud Core + + + + Google LLC + + + + + chingor13 + Jeff Ching + chingor@google.com + Google LLC + + Developer + + + + + + scm:git:https://github.com/googleapis/java-core.git + scm:git:git@github.com:googleapis/java-core.git + https://github.com/googleapis/java-core + + + + + sonatype-nexus-snapshots + https://oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + com.google.cloud + google-cloud-core + 1.90.1-SNAPSHOT + + + com.google.cloud + google-cloud-core-grpc + 1.90.1-SNAPSHOT + + + com.google.cloud + google-cloud-core-http + 1.90.1-SNAPSHOT + + + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + true + + + + + diff --git a/java-core/google-cloud-core/README.md b/java-core/google-cloud-core/README.md deleted file mode 100644 index fd2b536604e3..000000000000 --- a/java-core/google-cloud-core/README.md +++ /dev/null @@ -1,69 +0,0 @@ -Google Cloud Java Client -- Core -========================================= - -This module provides common functionality required by service-specific modules of this library. - -[![Kokoro CI](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.svg)](http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/master.html) -[![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) -[![Codacy Badge](https://api.codacy.com/project/badge/grade/9da006ad7c3a4fe1abd142e77c003917)](https://www.codacy.com/app/mziccard/google-cloud-java) - -- [API Documentation](https://googleapis.dev/java/google-cloud-clients/latest/index.html?com/google/cloud/package-summary.html) - -Quickstart ----------- - -[//]: # ({x-version-update-start:google-cloud-core:released}) -If you are using Maven, add this to your pom.xml file -```xml - - com.google.cloud - google-cloud-core - 1.90.0 - -``` -If you are using Gradle, add this to your dependencies -```Groovy -compile 'com.google.cloud:google-cloud-core:1.90.0' -``` -If you are using SBT, add this to your dependencies -```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.90.0" -``` -[//]: # ({x-version-update-end}) - -Troubleshooting ---------------- - -To get help, follow the instructions in the [shared Troubleshooting document](https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting). - -Java Versions -------------- - -Java 7 or above is required for using this client. - -Contributing ------------- - -Contributions to this library are always welcome and highly encouraged. - -See `google-cloud`'s [CONTRIBUTING] documentation and the [shared documentation](https://github.com/googleapis/google-cloud-common/blob/master/contributing/readme.md#how-to-contribute-to-gcloud) for more information on how to get started. - -Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information. - -Versioning ----------- - -This library follows [Semantic Versioning](http://semver.org/). - -It is currently in major version one (``1.y.z``), which means that the public API should be considered stable. - -License -------- - -Apache 2.0 - See [LICENSE] for more information. - - -[CONTRIBUTING]:https://github.com/googleapis/google-cloud-java/blob/master/CONTRIBUTING.md -[code-of-conduct]:https://github.com/googleapis/google-cloud-java/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[LICENSE]: https://github.com/googleapis/google-cloud-java/blob/master/LICENSE -[cloud-platform]: https://cloud.google.com/ diff --git a/java-core/pom.xml b/java-core/pom.xml index 28cfe9ddec4d..546f7c3a72ce 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -338,6 +338,7 @@ google-cloud-core google-cloud-core-http google-cloud-core-grpc + google-cloud-core-bom From d3b9fa31c60296c7021702fffa162ea0bb83326f Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 7 Sep 2019 17:09:10 +0300 Subject: [PATCH 0695/3036] chore(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.1.1 (#15) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c0f18683a58b..173f4008f7f9 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.1.0 + 0.1.1 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 546f7c3a72ce..e93dc1ac1125 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.1.0 + 0.1.1 From e60e97396cdb50bd4f7eecfed16b7ba2ef7254f0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 10 Sep 2019 09:41:44 -0700 Subject: [PATCH 0696/3036] build: regenerate configs from templates (#16) --- java-core/.kokoro/presubmit/integration.cfg | 24 +++++++++++++++++++++ java-core/synth.metadata | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/java-core/.kokoro/presubmit/integration.cfg b/java-core/.kokoro/presubmit/integration.cfg index 3b017fc80f04..141f90c13c56 100644 --- a/java-core/.kokoro/presubmit/integration.cfg +++ b/java-core/.kokoro/presubmit/integration.cfg @@ -5,3 +5,27 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 97bbf24fdf39..3396e2f5a6e6 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-09-06T16:09:54.850638Z", + "updateTime": "2019-09-10T08:05:23.089681Z", "sources": [ { "template": { From d5a0f61a70864b83a5e85b54a52321b2ff8e6255 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 10 Sep 2019 10:52:14 -0700 Subject: [PATCH 0697/3036] docs: update README with a better project description (#17) --- java-core/README.md | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/java-core/README.md b/java-core/README.md index a16d6b37a9c7..c1ca94e02cdc 100644 --- a/java-core/README.md +++ b/java-core/README.md @@ -1,32 +1,13 @@ # Google Cloud Java Client -- Core -This module provides common functionality required by service-specific modules of this library. +A set of classes and utilities used in Google Cloud Java libraries. + +*Note*: This library is only meant to be consumed by other Google Libraries. [![Maven](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg)](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-core.svg) - [API Documentation][api-docs] -## Quickstart - -[//]: # ({x-version-update-start:google-cloud-core:released}) -If you are using Maven, add this to your pom.xml file -```xml - - com.google.cloud - google-cloud-core - 1.90.0 - -``` -If you are using Gradle, add this to your dependencies -```Groovy -compile 'com.google.cloud:google-cloud-core:1.90.0' -``` -If you are using SBT, add this to your dependencies -```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-core" % "1.90.0" -``` -[//]: # ({x-version-update-end}) - ## Java Versions Java 7 or above is required for using this client. @@ -58,6 +39,8 @@ Java Version | Status ------------ | ------ Java 7 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java7.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java7.html) Java 8 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8.html) +Java 8 OSX | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-osx.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-osx.html) +Java 8 Windows | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-win.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java8-win.html) Java 11 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.html) From 79de2bacf1efe7fce0b1d5cdd062015b91d64a46 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 16 Sep 2019 10:02:40 -0700 Subject: [PATCH 0698/3036] chore: update renovate.json config from templates (#20) --- java-core/renovate.json | 26 ++++++++++++++------------ java-core/synth.metadata | 2 +- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/java-core/renovate.json b/java-core/renovate.json index e3e4334dae4c..dae8a245c892 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -2,17 +2,18 @@ "extends": [ "config:base" ], - "ignoreDeps": [ - "com.google.api:gax-bom", - "com.google.guava:guava", - "com.google.guava:guava-testlib", - "com.google.protobuf:protobuf-java", - "com.google.protobuf:protobuf-java-util", - "io.opencensus:opencensus-api", - "io.opencensus:opencensus-contrib-grpc-util", - "io.opencensus:opencensus-contrib-http-util" - ], + "ignoreDeps": [], "packageRules": [ + { + "packagePatterns": ["*"], + "semanticCommitType": "chore" + }, + { + "depTypeList": [ + "dependencies" + ], + "semanticCommitType": "deps" + }, { "packagePatterns": ["^io.grpc:grpc-"], "groupName": "gRPC packages" @@ -25,5 +26,6 @@ "packagePatterns": ["^io.opencensus:opencensus-"], "groupName": "OpenCensus packages" } - ] -} \ No newline at end of file + ], + "semanticCommits": true +} diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 3396e2f5a6e6..413f229e7da6 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-09-10T08:05:23.089681Z", + "updateTime": "2019-09-12T08:11:37.122796Z", "sources": [ { "template": { From 720242ae019198bf75e82bc4207ee0c5a3f9a1e7 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 16 Sep 2019 20:32:33 +0300 Subject: [PATCH 0699/3036] deps: update opencensus packages to v0.24.0 (#22) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e93dc1ac1125..6cb5e2af4fb1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -161,7 +161,7 @@ 1.31.0 1.23.0 3.9.1 - 0.23.0 + 0.24.0 1.3.2 28.0-android 4.12 From a3ba9d88371b9ca6d8401c710c21f016e72d2102 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 16 Sep 2019 20:55:01 +0300 Subject: [PATCH 0700/3036] chore(deps): update dependency com.google.http-client:google-http-client-bom to v1.32.0 (#19) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6cb5e2af4fb1..fb95d7890b66 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.12.0 0.17.1 1.30.2 - 1.31.0 + 1.32.0 1.23.0 3.9.1 0.24.0 From ebf87aee6a50a2f2ccdaca7a65d854b874525e22 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 16 Sep 2019 21:34:39 +0300 Subject: [PATCH 0701/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.30.3 (#21) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index fb95d7890b66..ba12272f6004 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.16.0 0.12.0 0.17.1 - 1.30.2 + 1.30.3 1.32.0 1.23.0 3.9.1 From 0c76d50dec0abdcc9e2b8e12b8302799fafdb513 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 17 Sep 2019 16:46:07 -0700 Subject: [PATCH 0702/3036] build: enable release-please bot (#23) --- java-core/.github/.release-please.yml | 1 + java-core/synth.metadata | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 java-core/.github/.release-please.yml diff --git a/java-core/.github/.release-please.yml b/java-core/.github/.release-please.yml new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/java-core/.github/.release-please.yml @@ -0,0 +1 @@ + diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 413f229e7da6..4d753071d02f 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-09-12T08:11:37.122796Z", + "updateTime": "2019-09-17T08:01:41.230045Z", "sources": [ { "template": { From 22deb4f91b0a004bd7a8a882786fba91e972faf2 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 19 Sep 2019 01:47:11 +0300 Subject: [PATCH 0703/3036] chore(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.1.2 (#24) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 173f4008f7f9..1f7aad66cb69 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.1.1 + 0.1.2 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index ba12272f6004..5281433d12c1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.1.1 + 0.1.2 From 0d22158c3b2db0ce33eae65d0624b6ad7b41f6d4 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 18 Sep 2019 16:15:34 -0700 Subject: [PATCH 0704/3036] build: enable release-please bot --- java-core/.github/{.release-please.yml => release-please.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename java-core/.github/{.release-please.yml => release-please.yml} (100%) diff --git a/java-core/.github/.release-please.yml b/java-core/.github/release-please.yml similarity index 100% rename from java-core/.github/.release-please.yml rename to java-core/.github/release-please.yml From 04e90f36e976d0f4b66d5a6d5f86a6c2440b0b63 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2019 16:32:13 -0700 Subject: [PATCH 0705/3036] chore: release 1.91.0 (#25) * created CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated google-cloud-core-grpc/pom.xml [ci skip] * updated google-cloud-core-http/pom.xml [ci skip] * updated google-cloud-core/pom.xml [ci skip] * updated google-cloud-core-bom/pom.xml [ci skip] * updated pom.xml [ci skip] --- java-core/CHANGELOG.md | 21 +++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 33 insertions(+), 12 deletions(-) create mode 100644 java-core/CHANGELOG.md diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md new file mode 100644 index 000000000000..d622ee88bd63 --- /dev/null +++ b/java-core/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog + +## [1.91.0](https://www.github.com/googleapis/java-core/compare/v1.90.0...v1.91.0) (2019-09-18) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.3 ([#21](https://www.github.com/googleapis/java-core/issues/21)) ([fcd67f8](https://www.github.com/googleapis/java-core/commit/fcd67f8)) +* update opencensus packages to v0.24.0 ([#22](https://www.github.com/googleapis/java-core/issues/22)) ([4b21afa](https://www.github.com/googleapis/java-core/commit/4b21afa)) + + +### Documentation + +* fix Kokoro badge link ([19d79d6](https://www.github.com/googleapis/java-core/commit/19d79d6)) +* fix README versions and CI Status table ([6e3ccf3](https://www.github.com/googleapis/java-core/commit/6e3ccf3)) +* update README with a better project description ([#17](https://www.github.com/googleapis/java-core/issues/17)) ([018d4d5](https://www.github.com/googleapis/java-core/commit/018d4d5)) + + +### Features + +* add google-cloud-core-bom artifact ([#13](https://www.github.com/googleapis/java-core/issues/13)) ([3cb19a0](https://www.github.com/googleapis/java-core/commit/3cb19a0)) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1f7aad66cb69..b5514736f796 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.90.1-SNAPSHOT + 1.91.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.90.1-SNAPSHOT + 1.91.0 com.google.cloud google-cloud-core-grpc - 1.90.1-SNAPSHOT + 1.91.0 com.google.cloud google-cloud-core-http - 1.90.1-SNAPSHOT + 1.91.0 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0a6ff007e655..c592d4720c61 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 - 1.90.1-SNAPSHOT + 1.91.0 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.90.1-SNAPSHOT + 1.91.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 cdfaf99fac1f..9740de720205 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 - 1.90.1-SNAPSHOT + 1.91.0 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.90.1-SNAPSHOT + 1.91.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index df8b1b364d6a..97737acf41c9 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 - 1.90.1-SNAPSHOT + 1.91.0 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.90.1-SNAPSHOT + 1.91.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5281433d12c1..116100ab60f6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.90.1-SNAPSHOT + 1.91.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c7eb90abbb34..a4990a4eb79c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.90.0:1.90.1-SNAPSHOT \ No newline at end of file +google-cloud-core:1.91.0:1.91.0 \ No newline at end of file From 52cf2e23d04ac7b236f328210d0eaa3947a33695 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2019 09:20:05 -0700 Subject: [PATCH 0706/3036] chore: release 1.91.1-SNAPSHOT (#29) * updated versions.txt [ci skip] * updated google-cloud-core-bom/pom.xml [ci skip] * updated google-cloud-core-grpc/pom.xml [ci skip] * updated google-cloud-core-http/pom.xml [ci skip] * updated google-cloud-core/pom.xml [ci skip] * updated pom.xml [ci skip] --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b5514736f796..f93699decb8c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.91.0 + 1.91.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.91.0 + 1.91.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.91.0 + 1.91.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.91.0 + 1.91.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c592d4720c61..fe582d04be01 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 - 1.91.0 + 1.91.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.0 + 1.91.1-SNAPSHOT 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 9740de720205..382929283878 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 - 1.91.0 + 1.91.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.0 + 1.91.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 97737acf41c9..513815ea480a 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 - 1.91.0 + 1.91.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.0 + 1.91.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 116100ab60f6..fa77ab15be44 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.91.0 + 1.91.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index a4990a4eb79c..e5da974239e4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.91.0:1.91.0 \ No newline at end of file +google-cloud-core:1.91.0:1.91.1-SNAPSHOT \ No newline at end of file From 07efeed66268166557979f064673266c7ff8cf54 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 20 Sep 2019 19:38:09 +0300 Subject: [PATCH 0707/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.10.0 (#27) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index fa77ab15be44..17c142d450a8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 1.30.3 1.32.0 1.23.0 - 3.9.1 + 3.10.0 0.24.0 1.3.2 28.0-android From c8defb46749e5094da59b175b3a3566f62619873 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 25 Sep 2019 12:06:58 -0400 Subject: [PATCH 0708/3036] deps: update guava to 28.1-android (#32) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 17c142d450a8..dd200ebe6f84 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -163,7 +163,7 @@ 3.10.0 0.24.0 1.3.2 - 28.0-android + 28.1-android 4.12 1.0 3.6 From 6f61a503215c7616db6db0527344eca9bb74807f Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 25 Sep 2019 19:46:04 +0300 Subject: [PATCH 0709/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.32.1 (#31) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index dd200ebe6f84..90a63a2659b1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.12.0 0.17.1 1.30.3 - 1.32.0 + 1.32.1 1.23.0 3.10.0 0.24.0 From c2bd5de9d58ce0dd18e6961487f8b632bb4859ca Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 25 Sep 2019 19:54:04 +0300 Subject: [PATCH 0710/3036] build: update dependency com.google.cloud:google-cloud-shared-config to v0.1.3 (#33) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index f93699decb8c..230a9770d8b4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.1.2 + 0.1.3 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 90a63a2659b1..043960afd583 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.1.2 + 0.1.3 From f0c603af02dff13335a0e060f60eb6dbdc2de648 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 25 Sep 2019 19:54:32 +0300 Subject: [PATCH 0711/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.17.2 (#35) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 043960afd583..54fe78460f4c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 1.8.1 1.16.0 0.12.0 - 0.17.1 + 0.17.2 1.30.3 1.32.1 1.23.0 From 264d3afa744a6a61c517ff88b4abe9cfe4f31b46 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 25 Sep 2019 20:01:41 +0300 Subject: [PATCH 0712/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.30.4 (#34) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 54fe78460f4c..01996f9a5c4b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.16.0 0.12.0 0.17.2 - 1.30.3 + 1.30.4 1.32.1 1.23.0 3.10.0 From c955bd9b21f24f1eb998f42a032416a7e272c534 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2019 10:14:57 -0700 Subject: [PATCH 0713/3036] chore: release 1.91.1 (#30) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated google-cloud-core-grpc/pom.xml [ci skip] * updated google-cloud-core-http/pom.xml [ci skip] * updated google-cloud-core/pom.xml [ci skip] * updated google-cloud-core-bom/pom.xml [ci skip] * updated pom.xml [ci skip] --- java-core/CHANGELOG.md | 11 +++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 23 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index d622ee88bd63..f19098e1811d 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +### [1.91.1](https://www.github.com/googleapis/java-core/compare/v1.91.0...v1.91.1) (2019-09-25) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.4 ([#34](https://www.github.com/googleapis/java-core/issues/34)) ([886eda3](https://www.github.com/googleapis/java-core/commit/886eda3)) +* update dependency com.google.auth:google-auth-library-bom to v0.17.2 ([#35](https://www.github.com/googleapis/java-core/issues/35)) ([ae44c72](https://www.github.com/googleapis/java-core/commit/ae44c72)) +* update dependency com.google.http-client:google-http-client-bom to v1.32.1 ([#31](https://www.github.com/googleapis/java-core/issues/31)) ([4bdf09b](https://www.github.com/googleapis/java-core/commit/4bdf09b)) +* update dependency com.google.protobuf:protobuf-bom to v3.10.0 ([#27](https://www.github.com/googleapis/java-core/issues/27)) ([23e4c26](https://www.github.com/googleapis/java-core/commit/23e4c26)) +* update guava to 28.1-android ([#32](https://www.github.com/googleapis/java-core/issues/32)) ([0279479](https://www.github.com/googleapis/java-core/commit/0279479)) + ## [1.91.0](https://www.github.com/googleapis/java-core/compare/v1.90.0...v1.91.0) (2019-09-18) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 230a9770d8b4..6386763ac2bb 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.91.1-SNAPSHOT + 1.91.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.91.1-SNAPSHOT + 1.91.1 com.google.cloud google-cloud-core-grpc - 1.91.1-SNAPSHOT + 1.91.1 com.google.cloud google-cloud-core-http - 1.91.1-SNAPSHOT + 1.91.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index fe582d04be01..22e394630988 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 - 1.91.1-SNAPSHOT + 1.91.1 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.1-SNAPSHOT + 1.91.1 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 382929283878..b6100d42a3e9 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 - 1.91.1-SNAPSHOT + 1.91.1 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.1-SNAPSHOT + 1.91.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 513815ea480a..14a80dbcf8e5 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 - 1.91.1-SNAPSHOT + 1.91.1 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.1-SNAPSHOT + 1.91.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 01996f9a5c4b..1fe737e1159f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.91.1-SNAPSHOT + 1.91.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index e5da974239e4..4822389c7116 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.91.0:1.91.1-SNAPSHOT \ No newline at end of file +google-cloud-core:1.91.1:1.91.1 \ No newline at end of file From ce4034cc97a14831690cbfb7fcbcc2ed4fd37820 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2019 11:01:00 -0700 Subject: [PATCH 0714/3036] chore: release 1.91.2-SNAPSHOT (#38) * updated versions.txt [ci skip] * updated google-cloud-core-bom/pom.xml [ci skip] * updated google-cloud-core-grpc/pom.xml [ci skip] * updated google-cloud-core-http/pom.xml [ci skip] * updated google-cloud-core/pom.xml [ci skip] * updated pom.xml [ci skip] --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 6386763ac2bb..93b857b9c8ae 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.91.1 + 1.91.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.91.1 + 1.91.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.91.1 + 1.91.2-SNAPSHOT com.google.cloud google-cloud-core-http - 1.91.1 + 1.91.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 22e394630988..29117d72ecac 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 - 1.91.1 + 1.91.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.1 + 1.91.2-SNAPSHOT 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 b6100d42a3e9..eff2a47b0e6e 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 - 1.91.1 + 1.91.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.1 + 1.91.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 14a80dbcf8e5..cfd192056212 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 - 1.91.1 + 1.91.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.1 + 1.91.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 1fe737e1159f..caf84da57851 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.91.1 + 1.91.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4822389c7116..02e171f7f29a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.91.1:1.91.1 \ No newline at end of file +google-cloud-core:1.91.1:1.91.2-SNAPSHOT \ No newline at end of file From 756f0d9806bd83028361ab9e2d47d26af1ea0ea8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Sep 2019 03:58:21 +0300 Subject: [PATCH 0715/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v0.13.0 (#40) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index caf84da57851..368fa75304fa 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.48.1 1.8.1 1.16.0 - 0.12.0 + 0.13.0 0.17.2 1.30.4 1.32.1 From 0a01119ebe5dce7a438d1d610916554f3cf2266f Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 28 Sep 2019 03:58:48 +0300 Subject: [PATCH 0716/3036] deps: update dependency io.grpc:grpc-bom to v1.24.0 (#39) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 368fa75304fa..78e0d3f3900f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 0.17.2 1.30.4 1.32.1 - 1.23.0 + 1.24.0 3.10.0 0.24.0 1.3.2 From a011846f6aab6f35de3f9dffeb8ea44573952323 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 1 Oct 2019 02:02:49 +0300 Subject: [PATCH 0717/3036] chore(deps): update dependency com.google.api:gax-bom to v1.49.0 (#42) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 78e0d3f3900f..2b580634b35a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent - 1.48.1 + 1.49.0 1.8.1 1.16.0 0.13.0 From 7edc9dfe64ccc79ee9abaf01b76e0d39aaf96193 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Mon, 30 Sep 2019 19:25:49 -0400 Subject: [PATCH 0718/3036] deps: update errorprone to 2.3.3 (#43) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2b580634b35a..658b45847cab 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 3.0.2 1.3.3 2.6 - 2.3.2 + 2.3.3 1.6.6 2.8.5 From 79e047e4dc05a7cdf85d83c816ac42b03965383f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2019 16:40:33 -0700 Subject: [PATCH 0719/3036] chore: release 1.91.2 (#41) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated google-cloud-core-bom/pom.xml [ci skip] * updated google-cloud-core-grpc/pom.xml [ci skip] * updated google-cloud-core-http/pom.xml [ci skip] * updated google-cloud-core/pom.xml [ci skip] * updated pom.xml [ci skip] --- java-core/CHANGELOG.md | 9 +++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index f19098e1811d..ccbe62f95372 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [1.91.2](https://www.github.com/googleapis/java-core/compare/v1.91.1...v1.91.2) (2019-09-30) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v0.13.0 ([#40](https://www.github.com/googleapis/java-core/issues/40)) ([4f500cc](https://www.github.com/googleapis/java-core/commit/4f500cc)) +* update dependency io.grpc:grpc-bom to v1.24.0 ([#39](https://www.github.com/googleapis/java-core/issues/39)) ([7f6f780](https://www.github.com/googleapis/java-core/commit/7f6f780)) +* update errorprone to 2.3.3 ([#43](https://www.github.com/googleapis/java-core/issues/43)) ([232694c](https://www.github.com/googleapis/java-core/commit/232694c)) + ### [1.91.1](https://www.github.com/googleapis/java-core/compare/v1.91.0...v1.91.1) (2019-09-25) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 93b857b9c8ae..c3300e8d5c89 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.91.2-SNAPSHOT + 1.91.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.91.2-SNAPSHOT + 1.91.2 com.google.cloud google-cloud-core-grpc - 1.91.2-SNAPSHOT + 1.91.2 com.google.cloud google-cloud-core-http - 1.91.2-SNAPSHOT + 1.91.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 29117d72ecac..04543f54c88a 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 - 1.91.2-SNAPSHOT + 1.91.2 jar Google Cloud Core gRPC https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.2-SNAPSHOT + 1.91.2 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 eff2a47b0e6e..b5efd7730b1a 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 - 1.91.2-SNAPSHOT + 1.91.2 jar Google Cloud Core HTTP https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.2-SNAPSHOT + 1.91.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cfd192056212..0bc9b5f26514 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 - 1.91.2-SNAPSHOT + 1.91.2 jar Google Cloud Core https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.91.2-SNAPSHOT + 1.91.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 658b45847cab..3ffc931b993d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.91.2-SNAPSHOT + 1.91.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 02e171f7f29a..bccb841d3102 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.91.1:1.91.2-SNAPSHOT \ No newline at end of file +google-cloud-core:1.91.2:1.91.2 \ No newline at end of file From 69e13591f90790303afb48838ee3ac6421fb114c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 1 Oct 2019 13:07:36 -0700 Subject: [PATCH 0720/3036] chore: update renovate config (#45) --- java-core/renovate.json | 14 +++++--------- java-core/synth.metadata | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/java-core/renovate.json b/java-core/renovate.json index dae8a245c892..ff6ecf0afaa5 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -5,14 +5,9 @@ "ignoreDeps": [], "packageRules": [ { - "packagePatterns": ["*"], - "semanticCommitType": "chore" - }, - { - "depTypeList": [ - "dependencies" - ], - "semanticCommitType": "deps" + "managers": ["maven"], + "packageNames": ["com.google.guava:guava"], + "versionScheme": "docker" }, { "packagePatterns": ["^io.grpc:grpc-"], @@ -27,5 +22,6 @@ "groupName": "OpenCensus packages" } ], - "semanticCommits": true + "semanticCommits": true, + "semanticCommitType": "deps" } diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 4d753071d02f..e141336c142b 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-09-17T08:01:41.230045Z", + "updateTime": "2019-10-01T07:59:43.128003Z", "sources": [ { "template": { From 98d8cce6013b747ec93d4e34e2cf2127110deb36 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Fri, 4 Oct 2019 15:31:44 -0700 Subject: [PATCH 0721/3036] Regenerate common protos, iam and longrunning client. (#678) --- java-iam/grpc-google-iam-v1/build.gradle | 6 +- .../java/com/google/iam/v1/IAMPolicyGrpc.java | 180 +-- java-iam/proto-google-iam-v1/build.gradle | 6 +- .../com/google/iam/v1/AuditConfigDelta.java | 1192 +++++++++++++++++ .../iam/v1/AuditConfigDeltaOrBuilder.java | 96 ++ .../main/java/com/google/iam/v1/Binding.java | 542 ++++++-- .../java/com/google/iam/v1/BindingDelta.java | 505 +++++-- .../google/iam/v1/BindingDeltaOrBuilder.java | 31 +- .../com/google/iam/v1/BindingOrBuilder.java | 58 +- .../google/iam/v1/GetIamPolicyRequest.java | 464 +++++-- .../iam/v1/GetIamPolicyRequestOrBuilder.java | 36 +- .../com/google/iam/v1/GetPolicyOptions.java | 514 +++++++ .../iam/v1/GetPolicyOptionsOrBuilder.java | 23 + .../com/google/iam/v1/IamPolicyProto.java | 66 +- .../java/com/google/iam/v1/OptionsProto.java | 62 + .../main/java/com/google/iam/v1/Policy.java | 417 +++--- .../java/com/google/iam/v1/PolicyDelta.java | 603 ++++++++- .../google/iam/v1/PolicyDeltaOrBuilder.java | 48 +- .../com/google/iam/v1/PolicyOrBuilder.java | 39 +- .../java/com/google/iam/v1/PolicyProto.java | 59 +- .../google/iam/v1/SetIamPolicyRequest.java | 269 ++-- .../iam/v1/SetIamPolicyRequestOrBuilder.java | 12 +- .../iam/v1/TestIamPermissionsRequest.java | 249 ++-- .../TestIamPermissionsRequestOrBuilder.java | 12 +- .../iam/v1/TestIamPermissionsResponse.java | 186 +-- .../TestIamPermissionsResponseOrBuilder.java | 4 +- .../com/google/iam/v1/logging/AuditData.java | 160 ++- .../google/iam/v1/logging/AuditDataProto.java | 4 +- .../main/proto/google/iam/v1/iam_policy.proto | 42 +- .../google/iam/v1/logging/audit_data.proto | 1 - .../main/proto/google/iam/v1/options.proto | 41 + .../src/main/proto/google/iam/v1/policy.proto | 127 +- 32 files changed, 4857 insertions(+), 1197 deletions(-) create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java create mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 29e38e2c8b54..48cfcbc1a002 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'GRPC library for grpc-google-iam-v1' group = 'com.google.api.grpc' -version = "0.12.0" +version = "0.13.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -18,8 +18,8 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.10.1' - compile 'io.grpc:grpc-protobuf:1.10.1' + compile 'io.grpc:grpc-stub:1.23.0' + compile 'io.grpc:grpc-protobuf:1.23.0' compile project(':proto-google-iam-v1') } diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java index 580519e204c2..8e676b3ecf6f 100644 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -48,35 +48,35 @@ private IAMPolicyGrpc() {} // Static method descriptors that strictly reflect the proto. @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getSetIamPolicyMethod()} instead. - public static final io.grpc.MethodDescriptor METHOD_SET_IAM_POLICY = getSetIamPolicyMethodHelper(); + @Deprecated // Use {@link #getSetIamPolicyMethod()} instead. + public static final io.grpc.MethodDescriptor METHOD_SET_IAM_POLICY = getSetIamPolicyMethodHelper(); - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { return getSetIamPolicyMethodHelper(); } - private static io.grpc.MethodDescriptor getSetIamPolicyMethodHelper() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; + private static io.grpc.MethodDescriptor getSetIamPolicyMethodHelper() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { IAMPolicyGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "google.iam.v1.IAMPolicy", "SetIamPolicy")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + SetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) + Policy.getDefaultInstance())) .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("SetIamPolicy")) .build(); } @@ -85,35 +85,35 @@ com.google.iam.v1.Policy> getSetIamPolicyMethodHelper() { return getSetIamPolicyMethod; } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getGetIamPolicyMethod()} instead. - public static final io.grpc.MethodDescriptor METHOD_GET_IAM_POLICY = getGetIamPolicyMethodHelper(); + @Deprecated // Use {@link #getGetIamPolicyMethod()} instead. + public static final io.grpc.MethodDescriptor METHOD_GET_IAM_POLICY = getGetIamPolicyMethodHelper(); - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { return getGetIamPolicyMethodHelper(); } - private static io.grpc.MethodDescriptor getGetIamPolicyMethodHelper() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; + private static io.grpc.MethodDescriptor getGetIamPolicyMethodHelper() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { IAMPolicyGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "google.iam.v1.IAMPolicy", "GetIamPolicy")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + GetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) + Policy.getDefaultInstance())) .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("GetIamPolicy")) .build(); } @@ -122,35 +122,35 @@ com.google.iam.v1.Policy> getGetIamPolicyMethodHelper() { return getGetIamPolicyMethod; } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @java.lang.Deprecated // Use {@link #getTestIamPermissionsMethod()} instead. - public static final io.grpc.MethodDescriptor METHOD_TEST_IAM_PERMISSIONS = getTestIamPermissionsMethodHelper(); + @Deprecated // Use {@link #getTestIamPermissionsMethod()} instead. + public static final io.grpc.MethodDescriptor METHOD_TEST_IAM_PERMISSIONS = getTestIamPermissionsMethodHelper(); - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { return getTestIamPermissionsMethodHelper(); } - private static io.grpc.MethodDescriptor getTestIamPermissionsMethodHelper() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; + private static io.grpc.MethodDescriptor getTestIamPermissionsMethodHelper() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { IAMPolicyGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "google.iam.v1.IAMPolicy", "TestIamPermissions")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + TestIamPermissionsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + TestIamPermissionsResponse.getDefaultInstance())) .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("TestIamPermissions")) .build(); } @@ -212,8 +212,8 @@ public static abstract class IAMPolicyImplBase implements io.grpc.BindableServic * existing policy. *
    */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void setIamPolicy(SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getSetIamPolicyMethodHelper(), responseObserver); } @@ -224,8 +224,8 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, * set. *
    */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getIamPolicy(GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetIamPolicyMethodHelper(), responseObserver); } @@ -234,35 +234,38 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, * Returns permissions that a caller has on the specified resource. * If the resource does not exist, this will return an empty set of * permissions, not a NOT_FOUND error. + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. *
    */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void testIamPermissions(TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getTestIamPermissionsMethodHelper(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getSetIamPolicyMethodHelper(), asyncUnaryCall( new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( + SetIamPolicyRequest, + Policy>( this, METHODID_SET_IAM_POLICY))) .addMethod( getGetIamPolicyMethodHelper(), asyncUnaryCall( new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( + GetIamPolicyRequest, + Policy>( this, METHODID_GET_IAM_POLICY))) .addMethod( getTestIamPermissionsMethodHelper(), asyncUnaryCall( new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( + TestIamPermissionsRequest, + TestIamPermissionsResponse>( this, METHODID_TEST_IAM_PERMISSIONS))) .build(); } @@ -300,7 +303,7 @@ private IAMPolicyStub(io.grpc.Channel channel, super(channel, callOptions); } - @java.lang.Override + @Override protected IAMPolicyStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IAMPolicyStub(channel, callOptions); @@ -312,8 +315,8 @@ protected IAMPolicyStub build(io.grpc.Channel channel, * existing policy. * */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void setIamPolicy(SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getSetIamPolicyMethodHelper(), getCallOptions()), request, responseObserver); } @@ -325,8 +328,8 @@ public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, * set. * */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getIamPolicy(GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetIamPolicyMethodHelper(), getCallOptions()), request, responseObserver); } @@ -336,10 +339,13 @@ public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, * Returns permissions that a caller has on the specified resource. * If the resource does not exist, this will return an empty set of * permissions, not a NOT_FOUND error. + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. * */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void testIamPermissions(TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getTestIamPermissionsMethodHelper(), getCallOptions()), request, responseObserver); } @@ -377,7 +383,7 @@ private IAMPolicyBlockingStub(io.grpc.Channel channel, super(channel, callOptions); } - @java.lang.Override + @Override protected IAMPolicyBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IAMPolicyBlockingStub(channel, callOptions); @@ -389,7 +395,7 @@ protected IAMPolicyBlockingStub build(io.grpc.Channel channel, * existing policy. * */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + public Policy setIamPolicy(SetIamPolicyRequest request) { return blockingUnaryCall( getChannel(), getSetIamPolicyMethodHelper(), getCallOptions(), request); } @@ -401,7 +407,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque * set. * */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + public Policy getIamPolicy(GetIamPolicyRequest request) { return blockingUnaryCall( getChannel(), getGetIamPolicyMethodHelper(), getCallOptions(), request); } @@ -411,9 +417,12 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque * Returns permissions that a caller has on the specified resource. * If the resource does not exist, this will return an empty set of * permissions, not a NOT_FOUND error. + * Note: This operation is designed to be used for building permission-aware + * UIs and command-line tools, not for authorization checking. This operation + * may "fail open" without warning. * */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { return blockingUnaryCall( getChannel(), getTestIamPermissionsMethodHelper(), getCallOptions(), request); } @@ -451,7 +460,7 @@ private IAMPolicyFutureStub(io.grpc.Channel channel, super(channel, callOptions); } - @java.lang.Override + @Override protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IAMPolicyFutureStub(channel, callOptions); @@ -463,8 +472,8 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, * existing policy. * */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + SetIamPolicyRequest request) { return futureUnaryCall( getChannel().newCall(getSetIamPolicyMethodHelper(), getCallOptions()), request); } @@ -476,8 +485,8 @@ public com.google.common.util.concurrent.ListenableFuture */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + GetIamPolicyRequest request) { return futureUnaryCall( getChannel().newCall(getGetIamPolicyMethodHelper(), getCallOptions()), request); } @@ -487,10 +496,13 @@ public com.google.common.util.concurrent.ListenableFuture */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + TestIamPermissionsRequest request) { return futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethodHelper(), getCallOptions()), request); } @@ -513,29 +525,29 @@ private static final class MethodHandlers implements this.methodId = methodId; } - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") + @Override + @SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.setIamPolicy((SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getIamPolicy((GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.testIamPermissions((TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") + @Override + @SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { @@ -549,12 +561,12 @@ private static abstract class IAMPolicyBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { IAMPolicyBaseDescriptorSupplier() {} - @java.lang.Override + @Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.iam.v1.IamPolicyProto.getDescriptor(); + return IamPolicyProto.getDescriptor(); } - @java.lang.Override + @Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("IAMPolicy"); } @@ -574,7 +586,7 @@ private static final class IAMPolicyMethodDescriptorSupplier this.methodName = methodName; } - @java.lang.Override + @Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index ee44fbe79de3..fe182e0cda49 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'java' description = 'PROTO library for proto-google-iam-v1' group = 'com.google.api.grpc' -version = "0.12.0" +version = "0.13.0" sourceCompatibility = 1.7 targetCompatibility = 1.7 @@ -18,8 +18,8 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.5.1' - compile 'com.google.api:api-common:1.5.0' + compile 'com.google.protobuf:protobuf-java:3.7.1' + compile 'com.google.api:api-common:1.8.1' compile project(':proto-google-common-protos') } 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 new file mode 100644 index 000000000000..63cb54df2583 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java @@ -0,0 +1,1192 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +/** + *
    + * One delta entry for AuditConfig. Each individual change (only one
    + * exempted_member in each entry) to a AuditConfig will be a separate entry.
    + * 
    + * + * Protobuf type {@code google.iam.v1.AuditConfigDelta} + */ +public final class AuditConfigDelta extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.AuditConfigDelta) + AuditConfigDeltaOrBuilder { +private static final long serialVersionUID = 0L; + // Use AuditConfigDelta.newBuilder() to construct. + private AuditConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AuditConfigDelta() { + action_ = 0; + service_ = ""; + exemptedMember_ = ""; + logType_ = ""; + } + + @Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AuditConfigDelta( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + + action_ = rawValue; + break; + } + case 18: { + String s = input.readStringRequireUtf8(); + + service_ = s; + break; + } + case 26: { + String s = input.readStringRequireUtf8(); + + exemptedMember_ = s; + break; + } + case 34: { + String s = input.readStringRequireUtf8(); + + logType_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor; + } + + @Override + protected FieldAccessorTable + internalGetFieldAccessorTable() { + return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + AuditConfigDelta.class, Builder.class); + } + + /** + *
    +   * The type of action performed on an audit configuration in a policy.
    +   * 
    + * + * Protobuf enum {@code google.iam.v1.AuditConfigDelta.Action} + */ + public enum Action + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
    +     * Unspecified.
    +     * 
    + * + * ACTION_UNSPECIFIED = 0; + */ + ACTION_UNSPECIFIED(0), + /** + *
    +     * Addition of an audit configuration.
    +     * 
    + * + * ADD = 1; + */ + ADD(1), + /** + *
    +     * Removal of an audit configuration.
    +     * 
    + * + * REMOVE = 2; + */ + REMOVE(2), + UNRECOGNIZED(-1), + ; + + /** + *
    +     * Unspecified.
    +     * 
    + * + * ACTION_UNSPECIFIED = 0; + */ + public static final int ACTION_UNSPECIFIED_VALUE = 0; + /** + *
    +     * Addition of an audit configuration.
    +     * 
    + * + * ADD = 1; + */ + public static final int ADD_VALUE = 1; + /** + *
    +     * Removal of an audit configuration.
    +     * 
    + * + * REMOVE = 2; + */ + public static final int REMOVE_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @Deprecated + public static Action valueOf(int value) { + return forNumber(value); + } + + public static Action forNumber(int value) { + switch (value) { + case 0: return ACTION_UNSPECIFIED; + case 1: return ADD; + case 2: return REMOVE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + Action> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Action findValueByNumber(int number) { + return Action.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return AuditConfigDelta.getDescriptor().getEnumTypes().get(0); + } + + private static final Action[] VALUES = values(); + + public static Action valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Action(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.iam.v1.AuditConfigDelta.Action) + } + + public static final int ACTION_FIELD_NUMBER = 1; + private int action_; + /** + *
    +   * The action that was performed on an audit configuration in a policy.
    +   * Required
    +   * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + public int getActionValue() { + return action_; + } + /** + *
    +   * The action that was performed on an audit configuration in a policy.
    +   * Required
    +   * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + public Action getAction() { + @SuppressWarnings("deprecation") + Action result = Action.valueOf(action_); + return result == null ? Action.UNRECOGNIZED : result; + } + + public static final int SERVICE_FIELD_NUMBER = 2; + private volatile Object service_; + /** + *
    +   * Specifies a service that was configured for Cloud Audit Logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * Required
    +   * 
    + * + * string service = 2; + */ + public String getService() { + Object ref = service_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + service_ = s; + return s; + } + } + /** + *
    +   * Specifies a service that was configured for Cloud Audit Logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * Required
    +   * 
    + * + * string service = 2; + */ + public com.google.protobuf.ByteString + getServiceBytes() { + Object ref = service_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EXEMPTED_MEMBER_FIELD_NUMBER = 3; + private volatile Object exemptedMember_; + /** + *
    +   * A single identity that is exempted from "data access" audit
    +   * logging for the `service` specified above.
    +   * Follows the same format of Binding.members.
    +   * 
    + * + * string exempted_member = 3; + */ + public String getExemptedMember() { + Object ref = exemptedMember_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + exemptedMember_ = s; + return s; + } + } + /** + *
    +   * A single identity that is exempted from "data access" audit
    +   * logging for the `service` specified above.
    +   * Follows the same format of Binding.members.
    +   * 
    + * + * string exempted_member = 3; + */ + public com.google.protobuf.ByteString + getExemptedMemberBytes() { + Object ref = exemptedMember_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (String) ref); + exemptedMember_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LOG_TYPE_FIELD_NUMBER = 4; + private volatile Object logType_; + /** + *
    +   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +   * enabled, and cannot be configured.
    +   * Required
    +   * 
    + * + * string log_type = 4; + */ + public String getLogType() { + Object ref = logType_; + if (ref instanceof String) { + return (String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + logType_ = s; + return s; + } + } + /** + *
    +   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +   * enabled, and cannot be configured.
    +   * Required
    +   * 
    + * + * string log_type = 4; + */ + public com.google.protobuf.ByteString + getLogTypeBytes() { + Object ref = logType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { + output.writeEnum(1, action_); + } + if (!getServiceBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_); + } + if (!getExemptedMemberBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, exemptedMember_); + } + if (!getLogTypeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logType_); + } + unknownFields.writeTo(output); + } + + @Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, action_); + } + if (!getServiceBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_); + } + if (!getExemptedMemberBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, exemptedMember_); + } + if (!getLogTypeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logType_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @Override + public boolean equals(final Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof AuditConfigDelta)) { + return super.equals(obj); + } + AuditConfigDelta other = (AuditConfigDelta) obj; + + if (action_ != other.action_) return false; + if (!getService() + .equals(other.getService())) return false; + if (!getExemptedMember() + .equals(other.getExemptedMember())) return false; + if (!getLogType() + .equals(other.getLogType())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ACTION_FIELD_NUMBER; + hash = (53 * hash) + action_; + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + hash = (37 * hash) + EXEMPTED_MEMBER_FIELD_NUMBER; + hash = (53 * hash) + getExemptedMember().hashCode(); + hash = (37 * hash) + LOG_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getLogType().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static AuditConfigDelta parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static AuditConfigDelta parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static AuditConfigDelta parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static AuditConfigDelta parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static AuditConfigDelta parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static AuditConfigDelta parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static AuditConfigDelta parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static AuditConfigDelta parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static AuditConfigDelta parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static AuditConfigDelta parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static AuditConfigDelta parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static AuditConfigDelta parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(AuditConfigDelta prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @Override + protected Builder newBuilderForType( + BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * One delta entry for AuditConfig. Each individual change (only one
    +   * exempted_member in each entry) to a AuditConfig will be a separate entry.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.AuditConfigDelta} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.AuditConfigDelta) + com.google.iam.v1.AuditConfigDeltaOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor; + } + + @Override + protected FieldAccessorTable + internalGetFieldAccessorTable() { + return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable + .ensureFieldAccessorsInitialized( + AuditConfigDelta.class, Builder.class); + } + + // Construct using com.google.iam.v1.AuditConfigDelta.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @Override + public Builder clear() { + super.clear(); + action_ = 0; + + service_ = ""; + + exemptedMember_ = ""; + + logType_ = ""; + + return this; + } + + @Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor; + } + + @Override + public AuditConfigDelta getDefaultInstanceForType() { + return AuditConfigDelta.getDefaultInstance(); + } + + @Override + public AuditConfigDelta build() { + AuditConfigDelta result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @Override + public AuditConfigDelta buildPartial() { + AuditConfigDelta result = new AuditConfigDelta(this); + result.action_ = action_; + result.service_ = service_; + result.exemptedMember_ = exemptedMember_; + result.logType_ = logType_; + onBuilt(); + return result; + } + + @Override + public Builder clone() { + return super.clone(); + } + @Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return super.setField(field, value); + } + @Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return super.setRepeatedField(field, index, value); + } + @Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return super.addRepeatedField(field, value); + } + @Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof AuditConfigDelta) { + return mergeFrom((AuditConfigDelta)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(AuditConfigDelta other) { + if (other == AuditConfigDelta.getDefaultInstance()) return this; + if (other.action_ != 0) { + setActionValue(other.getActionValue()); + } + if (!other.getService().isEmpty()) { + service_ = other.service_; + onChanged(); + } + if (!other.getExemptedMember().isEmpty()) { + exemptedMember_ = other.exemptedMember_; + onChanged(); + } + if (!other.getLogType().isEmpty()) { + logType_ = other.logType_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @Override + public final boolean isInitialized() { + return true; + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + AuditConfigDelta parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (AuditConfigDelta) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int action_ = 0; + /** + *
    +     * The action that was performed on an audit configuration in a policy.
    +     * Required
    +     * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + public int getActionValue() { + return action_; + } + /** + *
    +     * The action that was performed on an audit configuration in a policy.
    +     * Required
    +     * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + public Builder setActionValue(int value) { + action_ = value; + onChanged(); + return this; + } + /** + *
    +     * The action that was performed on an audit configuration in a policy.
    +     * Required
    +     * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + public Action getAction() { + @SuppressWarnings("deprecation") + Action result = Action.valueOf(action_); + return result == null ? Action.UNRECOGNIZED : result; + } + /** + *
    +     * The action that was performed on an audit configuration in a policy.
    +     * Required
    +     * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + public Builder setAction(Action value) { + if (value == null) { + throw new NullPointerException(); + } + + action_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
    +     * The action that was performed on an audit configuration in a policy.
    +     * Required
    +     * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + public Builder clearAction() { + + action_ = 0; + onChanged(); + return this; + } + + private Object service_ = ""; + /** + *
    +     * Specifies a service that was configured for Cloud Audit Logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * Required
    +     * 
    + * + * string service = 2; + */ + public String getService() { + Object ref = service_; + if (!(ref instanceof String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + service_ = s; + return s; + } else { + return (String) ref; + } + } + /** + *
    +     * Specifies a service that was configured for Cloud Audit Logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * Required
    +     * 
    + * + * string service = 2; + */ + public com.google.protobuf.ByteString + getServiceBytes() { + Object ref = service_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * Specifies a service that was configured for Cloud Audit Logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * Required
    +     * 
    + * + * string service = 2; + */ + public Builder setService( + String value) { + if (value == null) { + throw new NullPointerException(); + } + + service_ = value; + onChanged(); + return this; + } + /** + *
    +     * Specifies a service that was configured for Cloud Audit Logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * Required
    +     * 
    + * + * string service = 2; + */ + public Builder clearService() { + + service_ = getDefaultInstance().getService(); + onChanged(); + return this; + } + /** + *
    +     * Specifies a service that was configured for Cloud Audit Logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * Required
    +     * 
    + * + * string service = 2; + */ + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + service_ = value; + onChanged(); + return this; + } + + private Object exemptedMember_ = ""; + /** + *
    +     * A single identity that is exempted from "data access" audit
    +     * logging for the `service` specified above.
    +     * Follows the same format of Binding.members.
    +     * 
    + * + * string exempted_member = 3; + */ + public String getExemptedMember() { + Object ref = exemptedMember_; + if (!(ref instanceof String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + exemptedMember_ = s; + return s; + } else { + return (String) ref; + } + } + /** + *
    +     * A single identity that is exempted from "data access" audit
    +     * logging for the `service` specified above.
    +     * Follows the same format of Binding.members.
    +     * 
    + * + * string exempted_member = 3; + */ + public com.google.protobuf.ByteString + getExemptedMemberBytes() { + Object ref = exemptedMember_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (String) ref); + exemptedMember_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * A single identity that is exempted from "data access" audit
    +     * logging for the `service` specified above.
    +     * Follows the same format of Binding.members.
    +     * 
    + * + * string exempted_member = 3; + */ + public Builder setExemptedMember( + String value) { + if (value == null) { + throw new NullPointerException(); + } + + exemptedMember_ = value; + onChanged(); + return this; + } + /** + *
    +     * A single identity that is exempted from "data access" audit
    +     * logging for the `service` specified above.
    +     * Follows the same format of Binding.members.
    +     * 
    + * + * string exempted_member = 3; + */ + public Builder clearExemptedMember() { + + exemptedMember_ = getDefaultInstance().getExemptedMember(); + onChanged(); + return this; + } + /** + *
    +     * A single identity that is exempted from "data access" audit
    +     * logging for the `service` specified above.
    +     * Follows the same format of Binding.members.
    +     * 
    + * + * string exempted_member = 3; + */ + public Builder setExemptedMemberBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + exemptedMember_ = value; + onChanged(); + return this; + } + + private Object logType_ = ""; + /** + *
    +     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +     * enabled, and cannot be configured.
    +     * Required
    +     * 
    + * + * string log_type = 4; + */ + public String getLogType() { + Object ref = logType_; + if (!(ref instanceof String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + String s = bs.toStringUtf8(); + logType_ = s; + return s; + } else { + return (String) ref; + } + } + /** + *
    +     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +     * enabled, and cannot be configured.
    +     * Required
    +     * 
    + * + * string log_type = 4; + */ + public com.google.protobuf.ByteString + getLogTypeBytes() { + Object ref = logType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (String) ref); + logType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
    +     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +     * enabled, and cannot be configured.
    +     * Required
    +     * 
    + * + * string log_type = 4; + */ + public Builder setLogType( + String value) { + if (value == null) { + throw new NullPointerException(); + } + + logType_ = value; + onChanged(); + return this; + } + /** + *
    +     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +     * enabled, and cannot be configured.
    +     * Required
    +     * 
    + * + * string log_type = 4; + */ + public Builder clearLogType() { + + logType_ = getDefaultInstance().getLogType(); + onChanged(); + return this; + } + /** + *
    +     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +     * enabled, and cannot be configured.
    +     * Required
    +     * 
    + * + * string log_type = 4; + */ + public Builder setLogTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + logType_ = value; + onChanged(); + return this; + } + @Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.AuditConfigDelta) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.AuditConfigDelta) + private static final AuditConfigDelta DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new AuditConfigDelta(); + } + + public static AuditConfigDelta getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @Override + public AuditConfigDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditConfigDelta(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @Override + public AuditConfigDelta getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java new file mode 100644 index 000000000000..1ecef2323edb --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public interface AuditConfigDeltaOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditConfigDelta) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * The action that was performed on an audit configuration in a policy.
    +   * Required
    +   * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + int getActionValue(); + /** + *
    +   * The action that was performed on an audit configuration in a policy.
    +   * Required
    +   * 
    + * + * .google.iam.v1.AuditConfigDelta.Action action = 1; + */ + AuditConfigDelta.Action getAction(); + + /** + *
    +   * Specifies a service that was configured for Cloud Audit Logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * Required
    +   * 
    + * + * string service = 2; + */ + String getService(); + /** + *
    +   * Specifies a service that was configured for Cloud Audit Logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * Required
    +   * 
    + * + * string service = 2; + */ + com.google.protobuf.ByteString + getServiceBytes(); + + /** + *
    +   * A single identity that is exempted from "data access" audit
    +   * logging for the `service` specified above.
    +   * Follows the same format of Binding.members.
    +   * 
    + * + * string exempted_member = 3; + */ + String getExemptedMember(); + /** + *
    +   * A single identity that is exempted from "data access" audit
    +   * logging for the `service` specified above.
    +   * Follows the same format of Binding.members.
    +   * 
    + * + * string exempted_member = 3; + */ + com.google.protobuf.ByteString + getExemptedMemberBytes(); + + /** + *
    +   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +   * enabled, and cannot be configured.
    +   * Required
    +   * 
    + * + * string log_type = 4; + */ + String getLogType(); + /** + *
    +   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +   * enabled, and cannot be configured.
    +   * Required
    +   * 
    + * + * string log_type = 4; + */ + com.google.protobuf.ByteString + getLogTypeBytes(); +} 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 d884fd174cfa..ddb146765ba7 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 @@ -24,7 +24,7 @@ private Binding() { members_ = com.google.protobuf.LazyStringArrayList.EMPTY; } - @java.lang.Override + @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -35,7 +35,7 @@ private Binding( throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -48,28 +48,41 @@ private Binding( case 0: done = true; break; - default: { - if (!parseUnknownFieldProto3( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - java.lang.String s = input.readStringRequireUtf8(); + String s = input.readStringRequireUtf8(); role_ = s; break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { members_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } members_.add(s); break; } + case 26: { + com.google.type.Expr.Builder subBuilder = null; + if (condition_ != null) { + subBuilder = condition_.toBuilder(); + } + condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(condition_); + condition_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,7 +91,7 @@ private Binding( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { members_ = members_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -90,33 +103,33 @@ private Binding( return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); + Binding.class, Builder.class); } private int bitField0_; public static final int ROLE_FIELD_NUMBER = 1; - private volatile java.lang.Object role_; + private volatile Object role_; /** *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
        * 
    * * string role = 1; */ - public java.lang.String getRole() { - java.lang.Object ref = role_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public String getRole() { + Object ref = role_; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); role_ = s; return s; } @@ -125,18 +138,17 @@ public java.lang.String getRole() { *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
        * 
    * * string role = 1; */ public com.google.protobuf.ByteString getRoleBytes() { - java.lang.Object ref = role_; - if (ref instanceof java.lang.String) { + Object ref = role_; + if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); role_ = b; return b; } else { @@ -155,12 +167,12 @@ public java.lang.String getRole() { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -179,12 +191,12 @@ public java.lang.String getRole() { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -202,18 +214,18 @@ public int getMembersCount() { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * * repeated string members = 2; */ - public java.lang.String getMembers(int index) { + public String getMembers(int index) { return members_.get(index); } /** @@ -225,12 +237,12 @@ public java.lang.String getMembers(int index) { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -241,7 +253,50 @@ public java.lang.String getMembers(int index) { return members_.getByteString(index); } + public static final int CONDITION_FIELD_NUMBER = 3; + private com.google.type.Expr condition_; + /** + *
    +   * The condition that is associated with this binding.
    +   * NOTE: An unsatisfied condition will not allow user access via current
    +   * binding. Different bindings, including their conditions, are examined
    +   * independently.
    +   * 
    + * + * .google.type.Expr condition = 3; + */ + public boolean hasCondition() { + return condition_ != null; + } + /** + *
    +   * The condition that is associated with this binding.
    +   * NOTE: An unsatisfied condition will not allow user access via current
    +   * binding. Different bindings, including their conditions, are examined
    +   * independently.
    +   * 
    + * + * .google.type.Expr condition = 3; + */ + public com.google.type.Expr getCondition() { + return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; + } + /** + *
    +   * The condition that is associated with this binding.
    +   * NOTE: An unsatisfied condition will not allow user access via current
    +   * binding. Different bindings, including their conditions, are examined
    +   * independently.
    +   * 
    + * + * .google.type.Expr condition = 3; + */ + public com.google.type.ExprOrBuilder getConditionOrBuilder() { + return getCondition(); + } + private byte memoizedIsInitialized = -1; + @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -251,6 +306,7 @@ public final boolean isInitialized() { return true; } + @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getRoleBytes().isEmpty()) { @@ -259,9 +315,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < members_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, members_.getRaw(i)); } + if (condition_ != null) { + output.writeMessage(3, getCondition()); + } unknownFields.writeTo(output); } + @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -278,31 +338,39 @@ public int getSerializedSize() { size += dataSize; size += 1 * getMembersList().size(); } + if (condition_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCondition()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { + @Override + public boolean equals(final Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.iam.v1.Binding)) { + if (!(obj instanceof Binding)) { return super.equals(obj); } - com.google.iam.v1.Binding other = (com.google.iam.v1.Binding) obj; + Binding other = (Binding) obj; - boolean result = true; - result = result && getRole() - .equals(other.getRole()); - result = result && getMembersList() - .equals(other.getMembersList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getRole() + .equals(other.getRole())) return false; + if (!getMembersList() + .equals(other.getMembersList())) return false; + if (hasCondition() != other.hasCondition()) return false; + if (hasCondition()) { + if (!getCondition() + .equals(other.getCondition())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - @java.lang.Override + @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -315,74 +383,78 @@ public int hashCode() { hash = (37 * hash) + MEMBERS_FIELD_NUMBER; hash = (53 * hash) + getMembersList().hashCode(); } + if (hasCondition()) { + hash = (37 * hash) + CONDITION_FIELD_NUMBER; + hash = (53 * hash) + getCondition().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.Binding parseFrom(byte[] data) + public static Binding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.Binding parseFrom(java.io.InputStream input) + public static Binding parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.Binding parseDelimitedFrom(java.io.InputStream input) + public static Binding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.google.iam.v1.Binding parseDelimitedFrom( + public static Binding parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.Binding parseFrom( + public static Binding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -390,21 +462,23 @@ public static com.google.iam.v1.Binding parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.iam.v1.Binding prototype) { + public static Builder newBuilder(Binding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @java.lang.Override + @Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -424,11 +498,12 @@ public static final class Builder extends return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); + Binding.class, Builder.class); } // Construct using com.google.iam.v1.Binding.newBuilder() @@ -437,7 +512,7 @@ private Builder() { } private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -446,84 +521,107 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @Override public Builder clear() { super.clear(); role_ = ""; members_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); + if (conditionBuilder_ == null) { + condition_ = null; + } else { + condition_ = null; + conditionBuilder_ = null; + } return this; } + @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } - public com.google.iam.v1.Binding getDefaultInstanceForType() { - return com.google.iam.v1.Binding.getDefaultInstance(); + @Override + public Binding getDefaultInstanceForType() { + return Binding.getDefaultInstance(); } - public com.google.iam.v1.Binding build() { - com.google.iam.v1.Binding result = buildPartial(); + @Override + public Binding build() { + Binding result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public com.google.iam.v1.Binding buildPartial() { - com.google.iam.v1.Binding result = new com.google.iam.v1.Binding(this); + @Override + public Binding buildPartial() { + Binding result = new Binding(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.role_ = role_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { members_ = members_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.members_ = members_; + if (conditionBuilder_ == null) { + result.condition_ = condition_; + } else { + result.condition_ = conditionBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; } + @Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.setField(field, value); + Object value) { + return super.setField(field, value); } + @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, Object value) { + return super.setRepeatedField(field, index, value); } + @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + Object value) { + return super.addRepeatedField(field, value); } + @Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.Binding) { - return mergeFrom((com.google.iam.v1.Binding)other); + if (other instanceof Binding) { + return mergeFrom((Binding)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.iam.v1.Binding other) { - if (other == com.google.iam.v1.Binding.getDefaultInstance()) return this; + public Builder mergeFrom(Binding other) { + if (other == Binding.getDefaultInstance()) return this; if (!other.getRole().isEmpty()) { role_ = other.role_; onChanged(); @@ -538,24 +636,29 @@ public Builder mergeFrom(com.google.iam.v1.Binding other) { } onChanged(); } + if (other.hasCondition()) { + mergeCondition(other.getCondition()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @Override public final boolean isInitialized() { return true; } + @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.Binding parsedMessage = null; + Binding parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.Binding) e.getUnfinishedMessage(); + parsedMessage = (Binding) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -566,44 +669,42 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object role_ = ""; + private Object role_ = ""; /** *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
          * 
    * * string role = 1; */ - public java.lang.String getRole() { - java.lang.Object ref = role_; - if (!(ref instanceof java.lang.String)) { + public String getRole() { + Object ref = role_; + if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); role_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } /** *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
          * 
    * * string role = 1; */ public com.google.protobuf.ByteString getRoleBytes() { - java.lang.Object ref = role_; + Object ref = role_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); role_ = b; return b; } else { @@ -614,13 +715,12 @@ public java.lang.String getRole() { *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
          * 
    * * string role = 1; */ public Builder setRole( - java.lang.String value) { + String value) { if (value == null) { throw new NullPointerException(); } @@ -633,7 +733,6 @@ public Builder setRole( *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
          * 
    * * string role = 1; @@ -648,7 +747,6 @@ public Builder clearRole() { *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
          * 
    * * string role = 1; @@ -667,7 +765,7 @@ public Builder setRoleBytes( private com.google.protobuf.LazyStringList members_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMembersIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { members_ = new com.google.protobuf.LazyStringArrayList(members_); bitField0_ |= 0x00000002; } @@ -681,12 +779,12 @@ private void ensureMembersIsMutable() { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -705,12 +803,12 @@ private void ensureMembersIsMutable() { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -728,18 +826,18 @@ public int getMembersCount() { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * * repeated string members = 2; */ - public java.lang.String getMembers(int index) { + public String getMembers(int index) { return members_.get(index); } /** @@ -751,12 +849,12 @@ public java.lang.String getMembers(int index) { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -775,19 +873,19 @@ public java.lang.String getMembers(int index) { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * * repeated string members = 2; */ public Builder setMembers( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -805,19 +903,19 @@ public Builder setMembers( * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * * repeated string members = 2; */ public Builder addMembers( - java.lang.String value) { + String value) { if (value == null) { throw new NullPointerException(); } @@ -835,19 +933,19 @@ public Builder addMembers( * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * * repeated string members = 2; */ public Builder addAllMembers( - java.lang.Iterable values) { + Iterable values) { ensureMembersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, members_); @@ -863,12 +961,12 @@ public Builder addAllMembers( * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -889,12 +987,12 @@ public Builder clearMembers() { * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. * * @@ -911,11 +1009,193 @@ public Builder addMembersBytes( onChanged(); return this; } + + private com.google.type.Expr condition_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> conditionBuilder_; + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public boolean hasCondition() { + return conditionBuilder_ != null || condition_ != null; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public com.google.type.Expr getCondition() { + if (conditionBuilder_ == null) { + return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; + } else { + return conditionBuilder_.getMessage(); + } + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public Builder setCondition(com.google.type.Expr value) { + if (conditionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + condition_ = value; + onChanged(); + } else { + conditionBuilder_.setMessage(value); + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public Builder setCondition( + com.google.type.Expr.Builder builderForValue) { + if (conditionBuilder_ == null) { + condition_ = builderForValue.build(); + onChanged(); + } else { + conditionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public Builder mergeCondition(com.google.type.Expr value) { + if (conditionBuilder_ == null) { + if (condition_ != null) { + condition_ = + com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial(); + } else { + condition_ = value; + } + onChanged(); + } else { + conditionBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public Builder clearCondition() { + if (conditionBuilder_ == null) { + condition_ = null; + onChanged(); + } else { + condition_ = null; + conditionBuilder_ = null; + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public com.google.type.Expr.Builder getConditionBuilder() { + + onChanged(); + return getConditionFieldBuilder().getBuilder(); + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + public com.google.type.ExprOrBuilder getConditionOrBuilder() { + if (conditionBuilder_ != null) { + return conditionBuilder_.getMessageOrBuilder(); + } else { + return condition_ == null ? + com.google.type.Expr.getDefaultInstance() : condition_; + } + } + /** + *
    +     * The condition that is associated with this binding.
    +     * NOTE: An unsatisfied condition will not allow user access via current
    +     * binding. Different bindings, including their conditions, are examined
    +     * independently.
    +     * 
    + * + * .google.type.Expr condition = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + getConditionFieldBuilder() { + if (conditionBuilder_ == null) { + conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( + getCondition(), + getParentForChildren(), + isClean()); + condition_ = null; + } + return conditionBuilder_; + } + @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } + @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -926,17 +1206,18 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.iam.v1.Binding) - private static final com.google.iam.v1.Binding DEFAULT_INSTANCE; + private static final Binding DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.iam.v1.Binding(); + DEFAULT_INSTANCE = new Binding(); } - public static com.google.iam.v1.Binding getDefaultInstance() { + public static Binding getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @Override public Binding parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -949,12 +1230,13 @@ public static com.google.protobuf.Parser parser() { return PARSER; } - @java.lang.Override + @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - public com.google.iam.v1.Binding getDefaultInstanceForType() { + @Override + public Binding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } 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 ef7fe57fdc31..1d05ab5938f5 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 @@ -26,7 +26,7 @@ private BindingDelta() { member_ = ""; } - @java.lang.Override + @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -37,7 +37,7 @@ private BindingDelta( throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -50,13 +50,6 @@ private BindingDelta( case 0: done = true; break; - default: { - if (!parseUnknownFieldProto3( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { int rawValue = input.readEnum(); @@ -64,17 +57,37 @@ private BindingDelta( break; } case 18: { - java.lang.String s = input.readStringRequireUtf8(); + String s = input.readStringRequireUtf8(); role_ = s; break; } case 26: { - java.lang.String s = input.readStringRequireUtf8(); + String s = input.readStringRequireUtf8(); member_ = s; break; } + case 34: { + com.google.type.Expr.Builder subBuilder = null; + if (condition_ != null) { + subBuilder = condition_.toBuilder(); + } + condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(condition_); + condition_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,14 +102,15 @@ private BindingDelta( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; + return PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable + return PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class); + BindingDelta.class, Builder.class); } /** @@ -163,7 +177,7 @@ public enum Action public final int getNumber() { if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( + throw new IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; @@ -172,7 +186,7 @@ public final int getNumber() { /** * @deprecated Use {@link #forNumber(int)} instead. */ - @java.lang.Deprecated + @Deprecated public static Action valueOf(int value) { return forNumber(value); } @@ -208,7 +222,7 @@ public Action findValueByNumber(int number) { } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.iam.v1.BindingDelta.getDescriptor().getEnumTypes().get(0); + return BindingDelta.getDescriptor().getEnumTypes().get(0); } private static final Action[] VALUES = values(); @@ -216,7 +230,7 @@ public Action findValueByNumber(int number) { public static Action valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( + throw new IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { @@ -255,13 +269,14 @@ public int getActionValue() { * * .google.iam.v1.BindingDelta.Action action = 1; */ - public com.google.iam.v1.BindingDelta.Action getAction() { - com.google.iam.v1.BindingDelta.Action result = com.google.iam.v1.BindingDelta.Action.valueOf(action_); - return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; + public Action getAction() { + @SuppressWarnings("deprecation") + Action result = Action.valueOf(action_); + return result == null ? Action.UNRECOGNIZED : result; } public static final int ROLE_FIELD_NUMBER = 2; - private volatile java.lang.Object role_; + private volatile Object role_; /** *
        * Role that is assigned to `members`.
    @@ -271,14 +286,14 @@ public com.google.iam.v1.BindingDelta.Action getAction() {
        *
        * string role = 2;
        */
    -  public java.lang.String getRole() {
    -    java.lang.Object ref = role_;
    -    if (ref instanceof java.lang.String) {
    -      return (java.lang.String) ref;
    +  public String getRole() {
    +    Object ref = role_;
    +    if (ref instanceof String) {
    +      return (String) ref;
         } else {
           com.google.protobuf.ByteString bs = 
               (com.google.protobuf.ByteString) ref;
    -      java.lang.String s = bs.toStringUtf8();
    +      String s = bs.toStringUtf8();
           role_ = s;
           return s;
         }
    @@ -294,11 +309,11 @@ public java.lang.String getRole() {
        */
       public com.google.protobuf.ByteString
           getRoleBytes() {
    -    java.lang.Object ref = role_;
    -    if (ref instanceof java.lang.String) {
    +    Object ref = role_;
    +    if (ref instanceof String) {
           com.google.protobuf.ByteString b = 
               com.google.protobuf.ByteString.copyFromUtf8(
    -              (java.lang.String) ref);
    +              (String) ref);
           role_ = b;
           return b;
         } else {
    @@ -307,7 +322,7 @@ public java.lang.String getRole() {
       }
     
       public static final int MEMBER_FIELD_NUMBER = 3;
    -  private volatile java.lang.Object member_;
    +  private volatile Object member_;
       /**
        * 
        * A single identity requesting access for a Cloud Platform resource.
    @@ -317,14 +332,14 @@ public java.lang.String getRole() {
        *
        * string member = 3;
        */
    -  public java.lang.String getMember() {
    -    java.lang.Object ref = member_;
    -    if (ref instanceof java.lang.String) {
    -      return (java.lang.String) ref;
    +  public String getMember() {
    +    Object ref = member_;
    +    if (ref instanceof String) {
    +      return (String) ref;
         } else {
           com.google.protobuf.ByteString bs = 
               (com.google.protobuf.ByteString) ref;
    -      java.lang.String s = bs.toStringUtf8();
    +      String s = bs.toStringUtf8();
           member_ = s;
           return s;
         }
    @@ -340,11 +355,11 @@ public java.lang.String getMember() {
        */
       public com.google.protobuf.ByteString
           getMemberBytes() {
    -    java.lang.Object ref = member_;
    -    if (ref instanceof java.lang.String) {
    +    Object ref = member_;
    +    if (ref instanceof String) {
           com.google.protobuf.ByteString b = 
               com.google.protobuf.ByteString.copyFromUtf8(
    -              (java.lang.String) ref);
    +              (String) ref);
           member_ = b;
           return b;
         } else {
    @@ -352,7 +367,41 @@ public java.lang.String getMember() {
         }
       }
     
    +  public static final int CONDITION_FIELD_NUMBER = 4;
    +  private com.google.type.Expr condition_;
    +  /**
    +   * 
    +   * The condition that is associated with this binding.
    +   * 
    + * + * .google.type.Expr condition = 4; + */ + public boolean hasCondition() { + return condition_ != null; + } + /** + *
    +   * The condition that is associated with this binding.
    +   * 
    + * + * .google.type.Expr condition = 4; + */ + public com.google.type.Expr getCondition() { + return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; + } + /** + *
    +   * The condition that is associated with this binding.
    +   * 
    + * + * .google.type.Expr condition = 4; + */ + public com.google.type.ExprOrBuilder getConditionOrBuilder() { + return getCondition(); + } + private byte memoizedIsInitialized = -1; + @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -362,9 +411,10 @@ public final boolean isInitialized() { return true; } + @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { + if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { output.writeEnum(1, action_); } if (!getRoleBytes().isEmpty()) { @@ -373,15 +423,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getMemberBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, member_); } + if (condition_ != null) { + output.writeMessage(4, getCondition()); + } unknownFields.writeTo(output); } + @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { + if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, action_); } @@ -391,32 +445,40 @@ public int getSerializedSize() { if (!getMemberBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_); } + if (condition_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCondition()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { + @Override + public boolean equals(final Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.iam.v1.BindingDelta)) { + if (!(obj instanceof BindingDelta)) { return super.equals(obj); } - com.google.iam.v1.BindingDelta other = (com.google.iam.v1.BindingDelta) obj; + BindingDelta other = (BindingDelta) obj; - boolean result = true; - result = result && action_ == other.action_; - result = result && getRole() - .equals(other.getRole()); - result = result && getMember() - .equals(other.getMember()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (action_ != other.action_) return false; + if (!getRole() + .equals(other.getRole())) return false; + if (!getMember() + .equals(other.getMember())) return false; + if (hasCondition() != other.hasCondition()) return false; + if (hasCondition()) { + if (!getCondition() + .equals(other.getCondition())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - @java.lang.Override + @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -429,74 +491,78 @@ public int hashCode() { hash = (53 * hash) + getRole().hashCode(); hash = (37 * hash) + MEMBER_FIELD_NUMBER; hash = (53 * hash) + getMember().hashCode(); + if (hasCondition()) { + hash = (37 * hash) + CONDITION_FIELD_NUMBER; + hash = (53 * hash) + getCondition().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.BindingDelta parseFrom(byte[] data) + public static BindingDelta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.BindingDelta parseFrom(java.io.InputStream input) + public static BindingDelta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.BindingDelta parseDelimitedFrom(java.io.InputStream input) + public static BindingDelta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.google.iam.v1.BindingDelta parseDelimitedFrom( + public static BindingDelta parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.BindingDelta parseFrom( + public static BindingDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -504,21 +570,23 @@ public static com.google.iam.v1.BindingDelta parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.iam.v1.BindingDelta prototype) { + public static Builder newBuilder(BindingDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @java.lang.Override + @Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -536,14 +604,15 @@ public static final class Builder extends com.google.iam.v1.BindingDeltaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; + return PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable + return PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class); + BindingDelta.class, Builder.class); } // Construct using com.google.iam.v1.BindingDelta.newBuilder() @@ -552,7 +621,7 @@ private Builder() { } private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -561,6 +630,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @Override public Builder clear() { super.clear(); action_ = 0; @@ -569,72 +639,94 @@ public Builder clear() { member_ = ""; + if (conditionBuilder_ == null) { + condition_ = null; + } else { + condition_ = null; + conditionBuilder_ = null; + } return this; } + @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; + return PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; } - public com.google.iam.v1.BindingDelta getDefaultInstanceForType() { - return com.google.iam.v1.BindingDelta.getDefaultInstance(); + @Override + public BindingDelta getDefaultInstanceForType() { + return BindingDelta.getDefaultInstance(); } - public com.google.iam.v1.BindingDelta build() { - com.google.iam.v1.BindingDelta result = buildPartial(); + @Override + public BindingDelta build() { + BindingDelta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public com.google.iam.v1.BindingDelta buildPartial() { - com.google.iam.v1.BindingDelta result = new com.google.iam.v1.BindingDelta(this); + @Override + public BindingDelta buildPartial() { + BindingDelta result = new BindingDelta(this); result.action_ = action_; result.role_ = role_; result.member_ = member_; + if (conditionBuilder_ == null) { + result.condition_ = condition_; + } else { + result.condition_ = conditionBuilder_.build(); + } onBuilt(); return result; } + @Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.setField(field, value); + Object value) { + return super.setField(field, value); } + @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, Object value) { + return super.setRepeatedField(field, index, value); } + @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + Object value) { + return super.addRepeatedField(field, value); } + @Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.BindingDelta) { - return mergeFrom((com.google.iam.v1.BindingDelta)other); + if (other instanceof BindingDelta) { + return mergeFrom((BindingDelta)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.iam.v1.BindingDelta other) { - if (other == com.google.iam.v1.BindingDelta.getDefaultInstance()) return this; + public Builder mergeFrom(BindingDelta other) { + if (other == BindingDelta.getDefaultInstance()) return this; if (other.action_ != 0) { setActionValue(other.getActionValue()); } @@ -646,24 +738,29 @@ public Builder mergeFrom(com.google.iam.v1.BindingDelta other) { member_ = other.member_; onChanged(); } + if (other.hasCondition()) { + mergeCondition(other.getCondition()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @Override public final boolean isInitialized() { return true; } + @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.BindingDelta parsedMessage = null; + BindingDelta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.BindingDelta) e.getUnfinishedMessage(); + parsedMessage = (BindingDelta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -706,9 +803,10 @@ public Builder setActionValue(int value) { * * .google.iam.v1.BindingDelta.Action action = 1; */ - public com.google.iam.v1.BindingDelta.Action getAction() { - com.google.iam.v1.BindingDelta.Action result = com.google.iam.v1.BindingDelta.Action.valueOf(action_); - return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; + public Action getAction() { + @SuppressWarnings("deprecation") + Action result = Action.valueOf(action_); + return result == null ? Action.UNRECOGNIZED : result; } /** *
    @@ -718,7 +816,7 @@ public com.google.iam.v1.BindingDelta.Action getAction() {
          *
          * .google.iam.v1.BindingDelta.Action action = 1;
          */
    -    public Builder setAction(com.google.iam.v1.BindingDelta.Action value) {
    +    public Builder setAction(Action value) {
           if (value == null) {
             throw new NullPointerException();
           }
    @@ -742,7 +840,7 @@ public Builder clearAction() {
           return this;
         }
     
    -    private java.lang.Object role_ = "";
    +    private Object role_ = "";
         /**
          * 
          * Role that is assigned to `members`.
    @@ -752,16 +850,16 @@ public Builder clearAction() {
          *
          * string role = 2;
          */
    -    public java.lang.String getRole() {
    -      java.lang.Object ref = role_;
    -      if (!(ref instanceof java.lang.String)) {
    +    public String getRole() {
    +      Object ref = role_;
    +      if (!(ref instanceof String)) {
             com.google.protobuf.ByteString bs =
                 (com.google.protobuf.ByteString) ref;
    -        java.lang.String s = bs.toStringUtf8();
    +        String s = bs.toStringUtf8();
             role_ = s;
             return s;
           } else {
    -        return (java.lang.String) ref;
    +        return (String) ref;
           }
         }
         /**
    @@ -775,11 +873,11 @@ public java.lang.String getRole() {
          */
         public com.google.protobuf.ByteString
             getRoleBytes() {
    -      java.lang.Object ref = role_;
    +      Object ref = role_;
           if (ref instanceof String) {
             com.google.protobuf.ByteString b = 
                 com.google.protobuf.ByteString.copyFromUtf8(
    -                (java.lang.String) ref);
    +                (String) ref);
             role_ = b;
             return b;
           } else {
    @@ -796,7 +894,7 @@ public java.lang.String getRole() {
          * string role = 2;
          */
         public Builder setRole(
    -        java.lang.String value) {
    +        String value) {
           if (value == null) {
         throw new NullPointerException();
       }
    @@ -841,7 +939,7 @@ public Builder setRoleBytes(
           return this;
         }
     
    -    private java.lang.Object member_ = "";
    +    private Object member_ = "";
         /**
          * 
          * A single identity requesting access for a Cloud Platform resource.
    @@ -851,16 +949,16 @@ public Builder setRoleBytes(
          *
          * string member = 3;
          */
    -    public java.lang.String getMember() {
    -      java.lang.Object ref = member_;
    -      if (!(ref instanceof java.lang.String)) {
    +    public String getMember() {
    +      Object ref = member_;
    +      if (!(ref instanceof String)) {
             com.google.protobuf.ByteString bs =
                 (com.google.protobuf.ByteString) ref;
    -        java.lang.String s = bs.toStringUtf8();
    +        String s = bs.toStringUtf8();
             member_ = s;
             return s;
           } else {
    -        return (java.lang.String) ref;
    +        return (String) ref;
           }
         }
         /**
    @@ -874,11 +972,11 @@ public java.lang.String getMember() {
          */
         public com.google.protobuf.ByteString
             getMemberBytes() {
    -      java.lang.Object ref = member_;
    +      Object ref = member_;
           if (ref instanceof String) {
             com.google.protobuf.ByteString b = 
                 com.google.protobuf.ByteString.copyFromUtf8(
    -                (java.lang.String) ref);
    +                (String) ref);
             member_ = b;
             return b;
           } else {
    @@ -895,7 +993,7 @@ public java.lang.String getMember() {
          * string member = 3;
          */
         public Builder setMember(
    -        java.lang.String value) {
    +        String value) {
           if (value == null) {
         throw new NullPointerException();
       }
    @@ -939,11 +1037,166 @@ public Builder setMemberBytes(
           onChanged();
           return this;
         }
    +
    +    private com.google.type.Expr condition_;
    +    private com.google.protobuf.SingleFieldBuilderV3<
    +        com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> conditionBuilder_;
    +    /**
    +     * 
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public boolean hasCondition() { + return conditionBuilder_ != null || condition_ != null; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public com.google.type.Expr getCondition() { + if (conditionBuilder_ == null) { + return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; + } else { + return conditionBuilder_.getMessage(); + } + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public Builder setCondition(com.google.type.Expr value) { + if (conditionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + condition_ = value; + onChanged(); + } else { + conditionBuilder_.setMessage(value); + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public Builder setCondition( + com.google.type.Expr.Builder builderForValue) { + if (conditionBuilder_ == null) { + condition_ = builderForValue.build(); + onChanged(); + } else { + conditionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public Builder mergeCondition(com.google.type.Expr value) { + if (conditionBuilder_ == null) { + if (condition_ != null) { + condition_ = + com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial(); + } else { + condition_ = value; + } + onChanged(); + } else { + conditionBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public Builder clearCondition() { + if (conditionBuilder_ == null) { + condition_ = null; + onChanged(); + } else { + condition_ = null; + conditionBuilder_ = null; + } + + return this; + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public com.google.type.Expr.Builder getConditionBuilder() { + + onChanged(); + return getConditionFieldBuilder().getBuilder(); + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + public com.google.type.ExprOrBuilder getConditionOrBuilder() { + if (conditionBuilder_ != null) { + return conditionBuilder_.getMessageOrBuilder(); + } else { + return condition_ == null ? + com.google.type.Expr.getDefaultInstance() : condition_; + } + } + /** + *
    +     * The condition that is associated with this binding.
    +     * 
    + * + * .google.type.Expr condition = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + getConditionFieldBuilder() { + if (conditionBuilder_ == null) { + conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( + getCondition(), + getParentForChildren(), + isClean()); + condition_ = null; + } + return conditionBuilder_; + } + @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } + @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -954,17 +1207,18 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.iam.v1.BindingDelta) - private static final com.google.iam.v1.BindingDelta DEFAULT_INSTANCE; + private static final BindingDelta DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.iam.v1.BindingDelta(); + DEFAULT_INSTANCE = new BindingDelta(); } - public static com.google.iam.v1.BindingDelta getDefaultInstance() { + public static BindingDelta getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @Override public BindingDelta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -977,12 +1231,13 @@ public static com.google.protobuf.Parser parser() { return PARSER; } - @java.lang.Override + @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - public com.google.iam.v1.BindingDelta getDefaultInstanceForType() { + @Override + public BindingDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java index 142412558c27..ffed4bd8ac6c 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java @@ -24,7 +24,7 @@ public interface BindingDeltaOrBuilder extends * * .google.iam.v1.BindingDelta.Action action = 1; */ - com.google.iam.v1.BindingDelta.Action getAction(); + BindingDelta.Action getAction(); /** *
    @@ -35,7 +35,7 @@ public interface BindingDeltaOrBuilder extends
        *
        * string role = 2;
        */
    -  java.lang.String getRole();
    +  String getRole();
       /**
        * 
        * Role that is assigned to `members`.
    @@ -57,7 +57,7 @@ public interface BindingDeltaOrBuilder extends
        *
        * string member = 3;
        */
    -  java.lang.String getMember();
    +  String getMember();
       /**
        * 
        * A single identity requesting access for a Cloud Platform resource.
    @@ -69,4 +69,29 @@ public interface BindingDeltaOrBuilder extends
        */
       com.google.protobuf.ByteString
           getMemberBytes();
    +
    +  /**
    +   * 
    +   * The condition that is associated with this binding.
    +   * 
    + * + * .google.type.Expr condition = 4; + */ + boolean hasCondition(); + /** + *
    +   * The condition that is associated with this binding.
    +   * 
    + * + * .google.type.Expr condition = 4; + */ + com.google.type.Expr getCondition(); + /** + *
    +   * The condition that is associated with this binding.
    +   * 
    + * + * .google.type.Expr condition = 4; + */ + com.google.type.ExprOrBuilder getConditionOrBuilder(); } 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 8cacedf92628..d43f6b8aee46 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 @@ -11,17 +11,15 @@ public interface BindingOrBuilder extends *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
        * 
    * * string role = 1; */ - java.lang.String getRole(); + String getRole(); /** *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
        * 
    * * string role = 1; @@ -38,18 +36,18 @@ public interface BindingOrBuilder extends * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. *
    * * repeated string members = 2; */ - java.util.List + java.util.List getMembersList(); /** *
    @@ -60,12 +58,12 @@ public interface BindingOrBuilder extends
        * * `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@gmail.com` or `joe@example.com`.
    +   *    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`.
    -   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   * * `domain:{domain}`: The G Suite domain (primary) that represents all the
        *    users of that domain. For example, `google.com` or `example.com`.
        * 
    * @@ -81,18 +79,18 @@ public interface BindingOrBuilder extends * * `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@gmail.com` or `joe@example.com`. + * 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`. - * * `domain:{domain}`: A Google Apps domain name that represents all the + * * `domain:{domain}`: The G Suite domain (primary) that represents all the * users of that domain. For example, `google.com` or `example.com`. *
    * * repeated string members = 2; */ - java.lang.String getMembers(int index); + String getMembers(int index); /** *
        * Specifies the identities requesting access for a Cloud Platform resource.
    @@ -102,12 +100,12 @@ public interface BindingOrBuilder extends
        * * `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@gmail.com` or `joe@example.com`.
    +   *    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`.
    -   * * `domain:{domain}`: A Google Apps domain name that represents all the
    +   * * `domain:{domain}`: The G Suite domain (primary) that represents all the
        *    users of that domain. For example, `google.com` or `example.com`.
        * 
    * @@ -115,4 +113,38 @@ public interface BindingOrBuilder extends */ com.google.protobuf.ByteString getMembersBytes(int index); + + /** + *
    +   * The condition that is associated with this binding.
    +   * NOTE: An unsatisfied condition will not allow user access via current
    +   * binding. Different bindings, including their conditions, are examined
    +   * independently.
    +   * 
    + * + * .google.type.Expr condition = 3; + */ + boolean hasCondition(); + /** + *
    +   * The condition that is associated with this binding.
    +   * NOTE: An unsatisfied condition will not allow user access via current
    +   * binding. Different bindings, including their conditions, are examined
    +   * independently.
    +   * 
    + * + * .google.type.Expr condition = 3; + */ + com.google.type.Expr getCondition(); + /** + *
    +   * The condition that is associated with this binding.
    +   * NOTE: An unsatisfied condition will not allow user access via current
    +   * binding. Different bindings, including their conditions, are examined
    +   * independently.
    +   * 
    + * + * .google.type.Expr condition = 3; + */ + com.google.type.ExprOrBuilder getConditionOrBuilder(); } 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 893557526b6b..78432184177e 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 @@ -23,7 +23,7 @@ private GetIamPolicyRequest() { resource_ = ""; } - @java.lang.Override + @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -34,7 +34,7 @@ private GetIamPolicyRequest( throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -47,19 +47,32 @@ private GetIamPolicyRequest( case 0: done = true; break; + case 10: { + String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 18: { + GetPolicyOptions.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = input.readMessage(GetPolicyOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } + + break; + } default: { - if (!parseUnknownFieldProto3( + if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -74,35 +87,35 @@ private GetIamPolicyRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable + return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.GetIamPolicyRequest.class, com.google.iam.v1.GetIamPolicyRequest.Builder.class); + GetIamPolicyRequest.class, Builder.class); } public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile java.lang.Object resource_; + private volatile Object resource_; /** *
        * REQUIRED: The resource for which the policy is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public String getResource() { + Object ref = resource_; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); resource_ = s; return s; } @@ -110,19 +123,18 @@ public java.lang.String getResource() { /** *
        * REQUIRED: The resource for which the policy is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { + Object ref = resource_; + if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); resource_ = b; return b; } else { @@ -130,7 +142,44 @@ public java.lang.String getResource() { } } + public static final int OPTIONS_FIELD_NUMBER = 2; + private GetPolicyOptions options_; + /** + *
    +   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public boolean hasOptions() { + return options_ != null; + } + /** + *
    +   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public GetPolicyOptions getOptions() { + return options_ == null ? GetPolicyOptions.getDefaultInstance() : options_; + } + /** + *
    +   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() { + return getOptions(); + } + private byte memoizedIsInitialized = -1; + @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -140,14 +189,19 @@ public final boolean isInitialized() { return true; } + @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getResourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } + if (options_ != null) { + output.writeMessage(2, getOptions()); + } unknownFields.writeTo(output); } + @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -156,29 +210,37 @@ public int getSerializedSize() { if (!getResourceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } + if (options_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOptions()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { + @Override + public boolean equals(final Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.iam.v1.GetIamPolicyRequest)) { + if (!(obj instanceof GetIamPolicyRequest)) { return super.equals(obj); } - com.google.iam.v1.GetIamPolicyRequest other = (com.google.iam.v1.GetIamPolicyRequest) obj; + GetIamPolicyRequest other = (GetIamPolicyRequest) obj; - boolean result = true; - result = result && getResource() - .equals(other.getResource()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getResource() + .equals(other.getResource())) return false; + if (hasOptions() != other.hasOptions()) return false; + if (hasOptions()) { + if (!getOptions() + .equals(other.getOptions())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - @java.lang.Override + @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -187,74 +249,78 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); + if (hasOptions()) { + hash = (37 * hash) + OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + getOptions().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom(byte[] data) + public static GetIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom(java.io.InputStream input) + public static GetIamPolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) + public static GetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom( + public static GetIamPolicyRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( + public static GetIamPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -262,21 +328,23 @@ public static com.google.iam.v1.GetIamPolicyRequest parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.iam.v1.GetIamPolicyRequest prototype) { + public static Builder newBuilder(GetIamPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @java.lang.Override + @Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -293,14 +361,15 @@ public static final class Builder extends com.google.iam.v1.GetIamPolicyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable + return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.GetIamPolicyRequest.class, com.google.iam.v1.GetIamPolicyRequest.Builder.class); + GetIamPolicyRequest.class, Builder.class); } // Construct using com.google.iam.v1.GetIamPolicyRequest.newBuilder() @@ -309,7 +378,7 @@ private Builder() { } private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -318,96 +387,124 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @Override public Builder clear() { super.clear(); resource_ = ""; + if (optionsBuilder_ == null) { + options_ = null; + } else { + options_ = null; + optionsBuilder_ = null; + } return this; } + @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; } - public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() { - return com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance(); + @Override + public GetIamPolicyRequest getDefaultInstanceForType() { + return GetIamPolicyRequest.getDefaultInstance(); } - public com.google.iam.v1.GetIamPolicyRequest build() { - com.google.iam.v1.GetIamPolicyRequest result = buildPartial(); + @Override + public GetIamPolicyRequest build() { + GetIamPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public com.google.iam.v1.GetIamPolicyRequest buildPartial() { - com.google.iam.v1.GetIamPolicyRequest result = new com.google.iam.v1.GetIamPolicyRequest(this); + @Override + public GetIamPolicyRequest buildPartial() { + GetIamPolicyRequest result = new GetIamPolicyRequest(this); result.resource_ = resource_; + if (optionsBuilder_ == null) { + result.options_ = options_; + } else { + result.options_ = optionsBuilder_.build(); + } onBuilt(); return result; } + @Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.setField(field, value); + Object value) { + return super.setField(field, value); } + @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, Object value) { + return super.setRepeatedField(field, index, value); } + @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + Object value) { + return super.addRepeatedField(field, value); } + @Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.GetIamPolicyRequest) { - return mergeFrom((com.google.iam.v1.GetIamPolicyRequest)other); + if (other instanceof GetIamPolicyRequest) { + return mergeFrom((GetIamPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.iam.v1.GetIamPolicyRequest other) { - if (other == com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom(GetIamPolicyRequest other) { + if (other == GetIamPolicyRequest.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); } + if (other.hasOptions()) { + mergeOptions(other.getOptions()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @Override public final boolean isInitialized() { return true; } + @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.GetIamPolicyRequest parsedMessage = null; + GetIamPolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.GetIamPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (GetIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,44 +514,42 @@ public Builder mergeFrom( return this; } - private java.lang.Object resource_ = ""; + private Object resource_ = ""; /** *
          * REQUIRED: The resource for which the policy is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { + public String getResource() { + Object ref = resource_; + if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); resource_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } /** *
          * REQUIRED: The resource for which the policy is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; + Object ref = resource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); resource_ = b; return b; } else { @@ -464,14 +559,13 @@ public java.lang.String getResource() { /** *
          * REQUIRED: The resource for which the policy is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ public Builder setResource( - java.lang.String value) { + String value) { if (value == null) { throw new NullPointerException(); } @@ -483,8 +577,7 @@ public Builder setResource( /** *
          * REQUIRED: The resource for which the policy is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; @@ -498,8 +591,7 @@ public Builder clearResource() { /** *
          * REQUIRED: The resource for which the policy is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; @@ -515,11 +607,175 @@ public Builder setResourceBytes( onChanged(); return this; } + + private GetPolicyOptions options_; + private com.google.protobuf.SingleFieldBuilderV3< + GetPolicyOptions, GetPolicyOptions.Builder, com.google.iam.v1.GetPolicyOptionsOrBuilder> optionsBuilder_; + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public boolean hasOptions() { + return optionsBuilder_ != null || options_ != null; + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public GetPolicyOptions getOptions() { + if (optionsBuilder_ == null) { + return options_ == null ? GetPolicyOptions.getDefaultInstance() : options_; + } else { + return optionsBuilder_.getMessage(); + } + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public Builder setOptions(GetPolicyOptions value) { + if (optionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + onChanged(); + } else { + optionsBuilder_.setMessage(value); + } + + return this; + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public Builder setOptions( + GetPolicyOptions.Builder builderForValue) { + if (optionsBuilder_ == null) { + options_ = builderForValue.build(); + onChanged(); + } else { + optionsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public Builder mergeOptions(GetPolicyOptions value) { + if (optionsBuilder_ == null) { + if (options_ != null) { + options_ = + GetPolicyOptions.newBuilder(options_).mergeFrom(value).buildPartial(); + } else { + options_ = value; + } + onChanged(); + } else { + optionsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public Builder clearOptions() { + if (optionsBuilder_ == null) { + options_ = null; + onChanged(); + } else { + options_ = null; + optionsBuilder_ = null; + } + + return this; + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public GetPolicyOptions.Builder getOptionsBuilder() { + + onChanged(); + return getOptionsFieldBuilder().getBuilder(); + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() { + if (optionsBuilder_ != null) { + return optionsBuilder_.getMessageOrBuilder(); + } else { + return options_ == null ? + GetPolicyOptions.getDefaultInstance() : options_; + } + } + /** + *
    +     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + GetPolicyOptions, GetPolicyOptions.Builder, com.google.iam.v1.GetPolicyOptionsOrBuilder> + getOptionsFieldBuilder() { + if (optionsBuilder_ == null) { + optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + GetPolicyOptions, GetPolicyOptions.Builder, com.google.iam.v1.GetPolicyOptionsOrBuilder>( + getOptions(), + getParentForChildren(), + isClean()); + options_ = null; + } + return optionsBuilder_; + } + @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } + @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -530,17 +786,18 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest) - private static final com.google.iam.v1.GetIamPolicyRequest DEFAULT_INSTANCE; + private static final GetIamPolicyRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.iam.v1.GetIamPolicyRequest(); + DEFAULT_INSTANCE = new GetIamPolicyRequest(); } - public static com.google.iam.v1.GetIamPolicyRequest getDefaultInstance() { + public static GetIamPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @Override public GetIamPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -553,12 +810,13 @@ public static com.google.protobuf.Parser parser() { return PARSER; } - @java.lang.Override + @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() { + @Override + public GetIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java index a652138d3d7b..5e7749a90e8b 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java @@ -10,22 +10,48 @@ public interface GetIamPolicyRequestOrBuilder extends /** *
        * REQUIRED: The resource for which the policy is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ - java.lang.String getResource(); + String getResource(); /** *
        * REQUIRED: The resource for which the policy is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ com.google.protobuf.ByteString getResourceBytes(); + + /** + *
    +   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + boolean hasOptions(); + /** + *
    +   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + GetPolicyOptions getOptions(); + /** + *
    +   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * 
    + * + * .google.iam.v1.GetPolicyOptions options = 2; + */ + GetPolicyOptionsOrBuilder getOptionsOrBuilder(); } 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 new file mode 100644 index 000000000000..1c7dfbf28478 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java @@ -0,0 +1,514 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/options.proto + +package com.google.iam.v1; + +/** + *
    + * Encapsulates settings provided to GetIamPolicy.
    + * 
    + * + * Protobuf type {@code google.iam.v1.GetPolicyOptions} + */ +public final class GetPolicyOptions extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.iam.v1.GetPolicyOptions) + GetPolicyOptionsOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetPolicyOptions.newBuilder() to construct. + private GetPolicyOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetPolicyOptions() { + } + + @Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetPolicyOptions( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + requestedPolicyVersion_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; + } + + @Override + protected FieldAccessorTable + internalGetFieldAccessorTable() { + return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + GetPolicyOptions.class, Builder.class); + } + + public static final int REQUESTED_POLICY_VERSION_FIELD_NUMBER = 1; + private int requestedPolicyVersion_; + /** + *
    +   * Optional. The policy format version to be returned.
    +   * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +   * rejected.
    +   * Requests for policies with any conditional bindings must specify version 3.
    +   * Policies without any conditional bindings may specify any valid value or
    +   * leave the field unset.
    +   * 
    + * + * int32 requested_policy_version = 1; + */ + public int getRequestedPolicyVersion() { + return requestedPolicyVersion_; + } + + private byte memoizedIsInitialized = -1; + @Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (requestedPolicyVersion_ != 0) { + output.writeInt32(1, requestedPolicyVersion_); + } + unknownFields.writeTo(output); + } + + @Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (requestedPolicyVersion_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, requestedPolicyVersion_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @Override + public boolean equals(final Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof GetPolicyOptions)) { + return super.equals(obj); + } + GetPolicyOptions other = (GetPolicyOptions) obj; + + if (getRequestedPolicyVersion() + != other.getRequestedPolicyVersion()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REQUESTED_POLICY_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getRequestedPolicyVersion(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static GetPolicyOptions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static GetPolicyOptions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static GetPolicyOptions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static GetPolicyOptions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static GetPolicyOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static GetPolicyOptions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static GetPolicyOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static GetPolicyOptions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static GetPolicyOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static GetPolicyOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static GetPolicyOptions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static GetPolicyOptions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(GetPolicyOptions prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @Override + protected Builder newBuilderForType( + BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
    +   * Encapsulates settings provided to GetIamPolicy.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.GetPolicyOptions} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.GetPolicyOptions) + com.google.iam.v1.GetPolicyOptionsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; + } + + @Override + protected FieldAccessorTable + internalGetFieldAccessorTable() { + return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable + .ensureFieldAccessorsInitialized( + GetPolicyOptions.class, Builder.class); + } + + // Construct using com.google.iam.v1.GetPolicyOptions.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @Override + public Builder clear() { + super.clear(); + requestedPolicyVersion_ = 0; + + return this; + } + + @Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; + } + + @Override + public GetPolicyOptions getDefaultInstanceForType() { + return GetPolicyOptions.getDefaultInstance(); + } + + @Override + public GetPolicyOptions build() { + GetPolicyOptions result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @Override + public GetPolicyOptions buildPartial() { + GetPolicyOptions result = new GetPolicyOptions(this); + result.requestedPolicyVersion_ = requestedPolicyVersion_; + onBuilt(); + return result; + } + + @Override + public Builder clone() { + return super.clone(); + } + @Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return super.setField(field, value); + } + @Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return super.setRepeatedField(field, index, value); + } + @Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return super.addRepeatedField(field, value); + } + @Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof GetPolicyOptions) { + return mergeFrom((GetPolicyOptions)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(GetPolicyOptions other) { + if (other == GetPolicyOptions.getDefaultInstance()) return this; + if (other.getRequestedPolicyVersion() != 0) { + setRequestedPolicyVersion(other.getRequestedPolicyVersion()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @Override + public final boolean isInitialized() { + return true; + } + + @Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + GetPolicyOptions parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (GetPolicyOptions) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int requestedPolicyVersion_ ; + /** + *
    +     * Optional. The policy format version to be returned.
    +     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +     * rejected.
    +     * Requests for policies with any conditional bindings must specify version 3.
    +     * Policies without any conditional bindings may specify any valid value or
    +     * leave the field unset.
    +     * 
    + * + * int32 requested_policy_version = 1; + */ + public int getRequestedPolicyVersion() { + return requestedPolicyVersion_; + } + /** + *
    +     * Optional. The policy format version to be returned.
    +     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +     * rejected.
    +     * Requests for policies with any conditional bindings must specify version 3.
    +     * Policies without any conditional bindings may specify any valid value or
    +     * leave the field unset.
    +     * 
    + * + * int32 requested_policy_version = 1; + */ + public Builder setRequestedPolicyVersion(int value) { + + requestedPolicyVersion_ = value; + onChanged(); + return this; + } + /** + *
    +     * Optional. The policy format version to be returned.
    +     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +     * rejected.
    +     * Requests for policies with any conditional bindings must specify version 3.
    +     * Policies without any conditional bindings may specify any valid value or
    +     * leave the field unset.
    +     * 
    + * + * int32 requested_policy_version = 1; + */ + public Builder clearRequestedPolicyVersion() { + + requestedPolicyVersion_ = 0; + onChanged(); + return this; + } + @Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.iam.v1.GetPolicyOptions) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.GetPolicyOptions) + private static final GetPolicyOptions DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new GetPolicyOptions(); + } + + public static GetPolicyOptions getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @Override + public GetPolicyOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPolicyOptions(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @Override + public GetPolicyOptions getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + 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 new file mode 100644 index 000000000000..a49f78a614a7 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java @@ -0,0 +1,23 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/options.proto + +package com.google.iam.v1; + +public interface GetPolicyOptionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.GetPolicyOptions) + com.google.protobuf.MessageOrBuilder { + + /** + *
    +   * Optional. The policy format version to be returned.
    +   * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +   * rejected.
    +   * Requests for policies with any conditional bindings must specify version 3.
    +   * Policies without any conditional bindings may specify any valid value or
    +   * leave the field unset.
    +   * 
    + * + * int32 requested_policy_version = 1; + */ + int getRequestedPolicyVersion(); +} 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 04d028bb01bc..be8c5a614b16 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 @@ -42,30 +42,33 @@ public static void registerAllExtensions( private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { - java.lang.String[] descriptorData = { + String[] descriptorData = { "\n\036google/iam/v1/iam_policy.proto\022\rgoogle" + - ".iam.v1\032\034google/api/annotations.proto\032\032g" + - "oogle/iam/v1/policy.proto\"N\n\023SetIamPolic" + - "yRequest\022\020\n\010resource\030\001 \001(\t\022%\n\006policy\030\002 \001" + - "(\0132\025.google.iam.v1.Policy\"\'\n\023GetIamPolic" + - "yRequest\022\020\n\010resource\030\001 \001(\t\"B\n\031TestIamPer" + - "missionsRequest\022\020\n\010resource\030\001 \001(\t\022\023\n\013per" + - "missions\030\002 \003(\t\"1\n\032TestIamPermissionsResp" + - "onse\022\023\n\013permissions\030\001 \003(\t2\224\003\n\tIAMPolicy\022" + - "t\n\014SetIamPolicy\022\".google.iam.v1.SetIamPo" + - "licyRequest\032\025.google.iam.v1.Policy\")\202\323\344\223" + - "\002#\"\036/v1/{resource=**}:setIamPolicy:\001*\022t\n" + - "\014GetIamPolicy\022\".google.iam.v1.GetIamPoli" + - "cyRequest\032\025.google.iam.v1.Policy\")\202\323\344\223\002#" + - "\"\036/v1/{resource=**}:getIamPolicy:\001*\022\232\001\n\022" + - "TestIamPermissions\022(.google.iam.v1.TestI" + - "amPermissionsRequest\032).google.iam.v1.Tes" + - "tIamPermissionsResponse\"/\202\323\344\223\002)\"$/v1/{re" + - "source=**}:testIamPermissions:\001*B\206\001\n\021com" + - ".google.iam.v1B\016IamPolicyProtoP\001Z0google" + - ".golang.org/genproto/googleapis/iam/v1;i" + - "am\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Clo" + - "ud\\Iam\\V1b\006proto3" + ".iam.v1\032\033google/iam/v1/options.proto\032\032go" + + "ogle/iam/v1/policy.proto\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\"" + + "N\n\023SetIamPolicyRequest\022\020\n\010resource\030\001 \001(\t" + + "\022%\n\006policy\030\002 \001(\0132\025.google.iam.v1.Policy\"" + + "Y\n\023GetIamPolicyRequest\022\020\n\010resource\030\001 \001(\t" + + "\0220\n\007options\030\002 \001(\0132\037.google.iam.v1.GetPol" + + "icyOptions\"B\n\031TestIamPermissionsRequest\022" + + "\020\n\010resource\030\001 \001(\t\022\023\n\013permissions\030\002 \003(\t\"1" + + "\n\032TestIamPermissionsResponse\022\023\n\013permissi" + + "ons\030\001 \003(\t2\264\003\n\tIAMPolicy\022t\n\014SetIamPolicy\022" + + "\".google.iam.v1.SetIamPolicyRequest\032\025.go" + + "ogle.iam.v1.Policy\")\202\323\344\223\002#\"\036/v1/{resourc" + + "e=**}:setIamPolicy:\001*\022t\n\014GetIamPolicy\022\"." + + "google.iam.v1.GetIamPolicyRequest\032\025.goog" + + "le.iam.v1.Policy\")\202\323\344\223\002#\"\036/v1/{resource=" + + "**}:getIamPolicy:\001*\022\232\001\n\022TestIamPermissio" + + "ns\022(.google.iam.v1.TestIamPermissionsReq" + + "uest\032).google.iam.v1.TestIamPermissionsR" + + "esponse\"/\202\323\344\223\002)\"$/v1/{resource=**}:testI" + + "amPermissions:\001*\032\036\312A\033iam-meta-api.google" + + "apis.comB\206\001\n\021com.google.iam.v1B\016IamPolic" + + "yProtoP\001Z0google.golang.org/genproto/goo" + + "gleapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud.Iam" + + ".V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -78,40 +81,45 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + OptionsProto.getDescriptor(), + PolicyProto.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), }, assigner); internal_static_google_iam_v1_SetIamPolicyRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_SetIamPolicyRequest_descriptor, - new java.lang.String[] { "Resource", "Policy", }); + new String[] { "Resource", "Policy", }); internal_static_google_iam_v1_GetIamPolicyRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_GetIamPolicyRequest_descriptor, - new java.lang.String[] { "Resource", }); + new String[] { "Resource", "Options", }); internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor, - new java.lang.String[] { "Resource", "Permissions", }); + new String[] { "Resource", "Permissions", }); internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor, - new java.lang.String[] { "Permissions", }); + new String[] { "Permissions", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); registry.add(com.google.api.AnnotationsProto.http); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); + OptionsProto.getDescriptor(); + PolicyProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java new file mode 100644 index 000000000000..38d4284b3a1b --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java @@ -0,0 +1,62 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/options.proto + +package com.google.iam.v1; + +public final class OptionsProto { + private OptionsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_GetPolicyOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + String[] descriptorData = { + "\n\033google/iam/v1/options.proto\022\rgoogle.ia" + + "m.v1\032\034google/api/annotations.proto\"4\n\020Ge" + + "tPolicyOptions\022 \n\030requested_policy_versi" + + "on\030\001 \001(\005B\204\001\n\021com.google.iam.v1B\014OptionsP" + + "rotoP\001Z0google.golang.org/genproto/googl" + + "eapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud.Iam.V" + + "1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }, assigner); + internal_static_google_iam_v1_GetPolicyOptions_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_GetPolicyOptions_descriptor, + new String[] { "RequestedPolicyVersion", }); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} 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 6d621a221962..7db80fad9d1c 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 @@ -7,30 +7,54 @@ *
      * Defines an Identity and Access Management (IAM) policy. It is used to
      * specify access control policies for Cloud Platform resources.
    - * A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
    - * `members` to a `role`, where the members can be user accounts, Google groups,
    - * Google domains, and service accounts. A `role` is a named list of permissions
    - * defined by IAM.
    - * **Example**
    + * A `Policy` is a collection of `bindings`. A `binding` binds one or more
    + * `members` to a single `role`. Members can be user accounts, service accounts,
    + * Google groups, and domains (such as G Suite). A `role` is a named list of
    + * permissions (defined by IAM or configured by users). A `binding` can
    + * optionally specify a `condition`, which is a logic expression that further
    + * constrains the role binding based on attributes about the request and/or
    + * target resource.
    + * **JSON Example**
      *     {
      *       "bindings": [
      *         {
    - *           "role": "roles/owner",
    + *           "role": "roles/resourcemanager.organizationAdmin",
      *           "members": [
      *             "user:mike@example.com",
      *             "group:admins@example.com",
      *             "domain:google.com",
    - *             "serviceAccount:my-other-app@appspot.gserviceaccount.com",
    + *             "serviceAccount:my-project-id@appspot.gserviceaccount.com"
      *           ]
      *         },
      *         {
    - *           "role": "roles/viewer",
    - *           "members": ["user:sean@example.com"]
    + *           "role": "roles/resourcemanager.organizationViewer",
    + *           "members": ["user:eve@example.com"],
    + *           "condition": {
    + *             "title": "expirable access",
    + *             "description": "Does not grant access after Sep 2020",
    + *             "expression": "request.time <
    + *             timestamp('2020-10-01T00:00:00.000Z')",
    + *           }
      *         }
      *       ]
      *     }
    + * **YAML Example**
    + *     bindings:
    + *     - members:
    + *       - user:mike@example.com
    + *       - group:admins@example.com
    + *       - domain:google.com
    + *       - serviceAccount:my-project-id@appspot.gserviceaccount.com
    + *       role: roles/resourcemanager.organizationAdmin
    + *     - members:
    + *       - user:eve@example.com
    + *       role: roles/resourcemanager.organizationViewer
    + *       condition:
    + *         title: expirable access
    + *         description: Does not grant access after Sep 2020
    + *         expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
      * For a description of IAM and its features, see the
    - * [IAM developer's guide](https://cloud.google.com/iam).
    + * [IAM developer's guide](https://cloud.google.com/iam/docs).
      * 
    * * Protobuf type {@code google.iam.v1.Policy} @@ -45,12 +69,11 @@ private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Policy() { - version_ = 0; bindings_ = java.util.Collections.emptyList(); etag_ = com.google.protobuf.ByteString.EMPTY; } - @java.lang.Override + @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -61,7 +84,7 @@ private Policy( throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -74,13 +97,6 @@ private Policy( case 0: done = true; break; - default: { - if (!parseUnknownFieldProto3( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { version_ = input.readInt32(); @@ -92,7 +108,7 @@ private Policy( break; } case 34: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { bindings_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } @@ -100,6 +116,13 @@ private Policy( input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry)); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +131,7 @@ private Policy( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { bindings_ = java.util.Collections.unmodifiableList(bindings_); } this.unknownFields = unknownFields.build(); @@ -120,11 +143,12 @@ private Policy( return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class); + Policy.class, Builder.class); } private int bitField0_; @@ -132,7 +156,16 @@ private Policy( private int version_; /** *
    -   * Version of the `Policy`. The default version is 0.
    +   * Specifies the format of the policy.
    +   * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +   * rejected.
    +   * Operations affecting conditional bindings must specify version 3. This can
    +   * be either setting a conditional policy, modifying a conditional binding,
    +   * or removing a conditional binding from the stored conditional policy.
    +   * Operations on non-conditional policies may specify any valid value or
    +   * leave the field unset.
    +   * If no etag is provided in the call to `setIamPolicy`, any version
    +   * compliance checks on the incoming and/or stored policy is skipped.
        * 
    * * int32 version = 1; @@ -145,8 +178,8 @@ public int getVersion() { private java.util.List bindings_; /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -157,8 +190,8 @@ public java.util.List getBindingsList() { } /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -170,8 +203,8 @@ public java.util.List getBindingsList() { } /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -182,8 +215,8 @@ public int getBindingsCount() { } /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -194,8 +227,8 @@ public com.google.iam.v1.Binding getBindings(int index) { } /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -218,7 +251,9 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( * 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. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. Due to blind-set semantics of an etag-less policy, + * 'setIamPolicy' will not fail even if either of incoming or stored policy + * does not meet the version requirements. *
    * * bytes etag = 3; @@ -228,6 +263,7 @@ public com.google.protobuf.ByteString getEtag() { } private byte memoizedIsInitialized = -1; + @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -237,6 +273,7 @@ public final boolean isInitialized() { return true; } + @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (version_ != 0) { @@ -251,6 +288,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -273,28 +311,27 @@ public int getSerializedSize() { return size; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { + @Override + public boolean equals(final Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.iam.v1.Policy)) { + if (!(obj instanceof Policy)) { return super.equals(obj); } - com.google.iam.v1.Policy other = (com.google.iam.v1.Policy) obj; + Policy other = (Policy) obj; - boolean result = true; - result = result && (getVersion() - == other.getVersion()); - result = result && getBindingsList() - .equals(other.getBindingsList()); - result = result && getEtag() - .equals(other.getEtag()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (getVersion() + != other.getVersion()) return false; + if (!getBindingsList() + .equals(other.getBindingsList())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - @java.lang.Override + @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -314,69 +351,69 @@ public int hashCode() { return hash; } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.Policy parseFrom(byte[] data) + public static Policy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.Policy parseFrom(java.io.InputStream input) + public static Policy parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.Policy parseDelimitedFrom(java.io.InputStream input) + public static Policy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.google.iam.v1.Policy parseDelimitedFrom( + public static Policy parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.Policy parseFrom( + public static Policy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -384,21 +421,23 @@ public static com.google.iam.v1.Policy parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.iam.v1.Policy prototype) { + public static Builder newBuilder(Policy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @java.lang.Override + @Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -406,30 +445,54 @@ protected Builder newBuilderForType( *
        * Defines an Identity and Access Management (IAM) policy. It is used to
        * specify access control policies for Cloud Platform resources.
    -   * A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
    -   * `members` to a `role`, where the members can be user accounts, Google groups,
    -   * Google domains, and service accounts. A `role` is a named list of permissions
    -   * defined by IAM.
    -   * **Example**
    +   * A `Policy` is a collection of `bindings`. A `binding` binds one or more
    +   * `members` to a single `role`. Members can be user accounts, service accounts,
    +   * Google groups, and domains (such as G Suite). A `role` is a named list of
    +   * permissions (defined by IAM or configured by users). A `binding` can
    +   * optionally specify a `condition`, which is a logic expression that further
    +   * constrains the role binding based on attributes about the request and/or
    +   * target resource.
    +   * **JSON Example**
        *     {
        *       "bindings": [
        *         {
    -   *           "role": "roles/owner",
    +   *           "role": "roles/resourcemanager.organizationAdmin",
        *           "members": [
        *             "user:mike@example.com",
        *             "group:admins@example.com",
        *             "domain:google.com",
    -   *             "serviceAccount:my-other-app@appspot.gserviceaccount.com",
    +   *             "serviceAccount:my-project-id@appspot.gserviceaccount.com"
        *           ]
        *         },
        *         {
    -   *           "role": "roles/viewer",
    -   *           "members": ["user:sean@example.com"]
    +   *           "role": "roles/resourcemanager.organizationViewer",
    +   *           "members": ["user:eve@example.com"],
    +   *           "condition": {
    +   *             "title": "expirable access",
    +   *             "description": "Does not grant access after Sep 2020",
    +   *             "expression": "request.time <
    +   *             timestamp('2020-10-01T00:00:00.000Z')",
    +   *           }
        *         }
        *       ]
        *     }
    +   * **YAML Example**
    +   *     bindings:
    +   *     - members:
    +   *       - user:mike@example.com
    +   *       - group:admins@example.com
    +   *       - domain:google.com
    +   *       - serviceAccount:my-project-id@appspot.gserviceaccount.com
    +   *       role: roles/resourcemanager.organizationAdmin
    +   *     - members:
    +   *       - user:eve@example.com
    +   *       role: roles/resourcemanager.organizationViewer
    +   *       condition:
    +   *         title: expirable access
    +   *         description: Does not grant access after Sep 2020
    +   *         expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
        * For a description of IAM and its features, see the
    -   * [IAM developer's guide](https://cloud.google.com/iam).
    +   * [IAM developer's guide](https://cloud.google.com/iam/docs).
        * 
    * * Protobuf type {@code google.iam.v1.Policy} @@ -443,11 +506,12 @@ public static final class Builder extends return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class); + Policy.class, Builder.class); } // Construct using com.google.iam.v1.Policy.newBuilder() @@ -456,7 +520,7 @@ private Builder() { } private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -466,6 +530,7 @@ private void maybeForceBuilderInitialization() { getBindingsFieldBuilder(); } } + @Override public Builder clear() { super.clear(); version_ = 0; @@ -481,30 +546,34 @@ public Builder clear() { return this; } + @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; } - public com.google.iam.v1.Policy getDefaultInstanceForType() { - return com.google.iam.v1.Policy.getDefaultInstance(); + @Override + public Policy getDefaultInstanceForType() { + return Policy.getDefaultInstance(); } - public com.google.iam.v1.Policy build() { - com.google.iam.v1.Policy result = buildPartial(); + @Override + public Policy build() { + Policy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public com.google.iam.v1.Policy buildPartial() { - com.google.iam.v1.Policy result = new com.google.iam.v1.Policy(this); + @Override + public Policy buildPartial() { + Policy result = new Policy(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.version_ = version_; if (bindingsBuilder_ == null) { - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { bindings_ = java.util.Collections.unmodifiableList(bindings_); bitField0_ = (bitField0_ & ~0x00000002); } @@ -518,43 +587,50 @@ public com.google.iam.v1.Policy buildPartial() { return result; } + @Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.setField(field, value); + Object value) { + return super.setField(field, value); } + @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, Object value) { + return super.setRepeatedField(field, index, value); } + @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + Object value) { + return super.addRepeatedField(field, value); } + @Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.Policy) { - return mergeFrom((com.google.iam.v1.Policy)other); + if (other instanceof Policy) { + return mergeFrom((Policy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.iam.v1.Policy other) { - if (other == com.google.iam.v1.Policy.getDefaultInstance()) return this; + public Builder mergeFrom(Policy other) { + if (other == Policy.getDefaultInstance()) return this; if (other.getVersion() != 0) { setVersion(other.getVersion()); } @@ -592,19 +668,21 @@ public Builder mergeFrom(com.google.iam.v1.Policy other) { return this; } + @Override public final boolean isInitialized() { return true; } + @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.Policy parsedMessage = null; + Policy parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.Policy) e.getUnfinishedMessage(); + parsedMessage = (Policy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -618,7 +696,16 @@ public Builder mergeFrom( private int version_ ; /** *
    -     * Version of the `Policy`. The default version is 0.
    +     * Specifies the format of the policy.
    +     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +     * rejected.
    +     * Operations affecting conditional bindings must specify version 3. This can
    +     * be either setting a conditional policy, modifying a conditional binding,
    +     * or removing a conditional binding from the stored conditional policy.
    +     * Operations on non-conditional policies may specify any valid value or
    +     * leave the field unset.
    +     * If no etag is provided in the call to `setIamPolicy`, any version
    +     * compliance checks on the incoming and/or stored policy is skipped.
          * 
    * * int32 version = 1; @@ -628,7 +715,16 @@ public int getVersion() { } /** *
    -     * Version of the `Policy`. The default version is 0.
    +     * Specifies the format of the policy.
    +     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +     * rejected.
    +     * Operations affecting conditional bindings must specify version 3. This can
    +     * be either setting a conditional policy, modifying a conditional binding,
    +     * or removing a conditional binding from the stored conditional policy.
    +     * Operations on non-conditional policies may specify any valid value or
    +     * leave the field unset.
    +     * If no etag is provided in the call to `setIamPolicy`, any version
    +     * compliance checks on the incoming and/or stored policy is skipped.
          * 
    * * int32 version = 1; @@ -641,7 +737,16 @@ public Builder setVersion(int value) { } /** *
    -     * Version of the `Policy`. The default version is 0.
    +     * Specifies the format of the policy.
    +     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +     * rejected.
    +     * Operations affecting conditional bindings must specify version 3. This can
    +     * be either setting a conditional policy, modifying a conditional binding,
    +     * or removing a conditional binding from the stored conditional policy.
    +     * Operations on non-conditional policies may specify any valid value or
    +     * leave the field unset.
    +     * If no etag is provided in the call to `setIamPolicy`, any version
    +     * compliance checks on the incoming and/or stored policy is skipped.
          * 
    * * int32 version = 1; @@ -656,7 +761,7 @@ public Builder clearVersion() { private java.util.List bindings_ = java.util.Collections.emptyList(); private void ensureBindingsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { bindings_ = new java.util.ArrayList(bindings_); bitField0_ |= 0x00000002; } @@ -667,8 +772,8 @@ private void ensureBindingsIsMutable() { /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -683,8 +788,8 @@ public java.util.List getBindingsList() { } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -699,8 +804,8 @@ public int getBindingsCount() { } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -715,8 +820,8 @@ public com.google.iam.v1.Binding getBindings(int index) { } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -738,8 +843,8 @@ public Builder setBindings( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -758,8 +863,8 @@ public Builder setBindings( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -780,8 +885,8 @@ public Builder addBindings(com.google.iam.v1.Binding value) { } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -803,8 +908,8 @@ public Builder addBindings( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -823,8 +928,8 @@ public Builder addBindings( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -843,15 +948,15 @@ public Builder addBindings( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; */ public Builder addAllBindings( - java.lang.Iterable values) { + Iterable values) { if (bindingsBuilder_ == null) { ensureBindingsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -864,8 +969,8 @@ public Builder addAllBindings( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -883,8 +988,8 @@ public Builder clearBindings() { } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -902,8 +1007,8 @@ public Builder removeBindings(int index) { } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -915,8 +1020,8 @@ public com.google.iam.v1.Binding.Builder getBindingsBuilder( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -931,8 +1036,8 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -948,8 +1053,8 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -961,8 +1066,8 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder() { } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -975,8 +1080,8 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder( } /** *
    -     * Associates a list of `members` to a `role`.
    -     * Multiple `bindings` must not be specified for the same `role`.
    +     * Associates a list of `members` to a `role`. Optionally may specify a
    +     * `condition` that determines when binding is in effect.
          * `bindings` with no members will result in an error.
          * 
    * @@ -993,7 +1098,7 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder( bindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder>( bindings_, - ((bitField0_ & 0x00000002) == 0x00000002), + ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); bindings_ = null; @@ -1012,7 +1117,9 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder( * 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. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. Due to blind-set semantics of an etag-less policy, + * 'setIamPolicy' will not fail even if either of incoming or stored policy + * does not meet the version requirements. *
    * * bytes etag = 3; @@ -1030,7 +1137,9 @@ public com.google.protobuf.ByteString getEtag() { * 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. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. Due to blind-set semantics of an etag-less policy, + * 'setIamPolicy' will not fail even if either of incoming or stored policy + * does not meet the version requirements. *
    * * bytes etag = 3; @@ -1054,7 +1163,9 @@ public Builder setEtag(com.google.protobuf.ByteString value) { * 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. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. Due to blind-set semantics of an etag-less policy, + * 'setIamPolicy' will not fail even if either of incoming or stored policy + * does not meet the version requirements. *
    * * bytes etag = 3; @@ -1065,11 +1176,13 @@ public Builder clearEtag() { onChanged(); return this; } + @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } + @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -1080,17 +1193,18 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.iam.v1.Policy) - private static final com.google.iam.v1.Policy DEFAULT_INSTANCE; + private static final Policy DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.iam.v1.Policy(); + DEFAULT_INSTANCE = new Policy(); } - public static com.google.iam.v1.Policy getDefaultInstance() { + public static Policy getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @Override public Policy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1103,12 +1217,13 @@ public static com.google.protobuf.Parser parser() { return PARSER; } - @java.lang.Override + @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - public com.google.iam.v1.Policy getDefaultInstanceForType() { + @Override + public Policy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } 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 453c5d2a38f9..937707bd7599 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 @@ -21,9 +21,10 @@ private PolicyDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private PolicyDelta() { bindingDeltas_ = java.util.Collections.emptyList(); + auditConfigDeltas_ = java.util.Collections.emptyList(); } - @java.lang.Override + @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -34,7 +35,7 @@ private PolicyDelta( throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -47,15 +48,8 @@ private PolicyDelta( case 0: done = true; break; - default: { - if (!parseUnknownFieldProto3( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { bindingDeltas_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } @@ -63,6 +57,22 @@ private PolicyDelta( input.readMessage(com.google.iam.v1.BindingDelta.parser(), extensionRegistry)); break; } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + auditConfigDeltas_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + auditConfigDeltas_.add( + input.readMessage(com.google.iam.v1.AuditConfigDelta.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -71,9 +81,12 @@ private PolicyDelta( throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + auditConfigDeltas_ = java.util.Collections.unmodifiableList(auditConfigDeltas_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -83,11 +96,12 @@ private PolicyDelta( return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); + PolicyDelta.class, Builder.class); } public static final int BINDING_DELTAS_FIELD_NUMBER = 1; @@ -145,7 +159,63 @@ public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( return bindingDeltas_.get(index); } + public static final int AUDIT_CONFIG_DELTAS_FIELD_NUMBER = 2; + private java.util.List auditConfigDeltas_; + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public java.util.List getAuditConfigDeltasList() { + return auditConfigDeltas_; + } + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public java.util.List + getAuditConfigDeltasOrBuilderList() { + return auditConfigDeltas_; + } + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public int getAuditConfigDeltasCount() { + return auditConfigDeltas_.size(); + } + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { + return auditConfigDeltas_.get(index); + } + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder( + int index) { + return auditConfigDeltas_.get(index); + } + private byte memoizedIsInitialized = -1; + @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -155,14 +225,19 @@ public final boolean isInitialized() { return true; } + @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < bindingDeltas_.size(); i++) { output.writeMessage(1, bindingDeltas_.get(i)); } + for (int i = 0; i < auditConfigDeltas_.size(); i++) { + output.writeMessage(2, auditConfigDeltas_.get(i)); + } unknownFields.writeTo(output); } + @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -172,29 +247,34 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, bindingDeltas_.get(i)); } + for (int i = 0; i < auditConfigDeltas_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, auditConfigDeltas_.get(i)); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { + @Override + public boolean equals(final Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.iam.v1.PolicyDelta)) { + if (!(obj instanceof PolicyDelta)) { return super.equals(obj); } - com.google.iam.v1.PolicyDelta other = (com.google.iam.v1.PolicyDelta) obj; + PolicyDelta other = (PolicyDelta) obj; - boolean result = true; - result = result && getBindingDeltasList() - .equals(other.getBindingDeltasList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getBindingDeltasList() + .equals(other.getBindingDeltasList())) return false; + if (!getAuditConfigDeltasList() + .equals(other.getAuditConfigDeltasList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - @java.lang.Override + @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -205,74 +285,78 @@ public int hashCode() { hash = (37 * hash) + BINDING_DELTAS_FIELD_NUMBER; hash = (53 * hash) + getBindingDeltasList().hashCode(); } + if (getAuditConfigDeltasCount() > 0) { + hash = (37 * hash) + AUDIT_CONFIG_DELTAS_FIELD_NUMBER; + hash = (53 * hash) + getAuditConfigDeltasList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.PolicyDelta parseFrom(byte[] data) + public static PolicyDelta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.PolicyDelta parseFrom(java.io.InputStream input) + public static PolicyDelta parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.PolicyDelta parseDelimitedFrom(java.io.InputStream input) + public static PolicyDelta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.google.iam.v1.PolicyDelta parseDelimitedFrom( + public static PolicyDelta parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.PolicyDelta parseFrom( + public static PolicyDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -280,21 +364,23 @@ public static com.google.iam.v1.PolicyDelta parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.iam.v1.PolicyDelta prototype) { + public static Builder newBuilder(PolicyDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @java.lang.Override + @Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -314,11 +400,12 @@ public static final class Builder extends return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); + PolicyDelta.class, Builder.class); } // Construct using com.google.iam.v1.PolicyDelta.newBuilder() @@ -327,7 +414,7 @@ private Builder() { } private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -335,8 +422,10 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBindingDeltasFieldBuilder(); + getAuditConfigDeltasFieldBuilder(); } } + @Override public Builder clear() { super.clear(); if (bindingDeltasBuilder_ == null) { @@ -345,31 +434,41 @@ public Builder clear() { } else { bindingDeltasBuilder_.clear(); } + if (auditConfigDeltasBuilder_ == null) { + auditConfigDeltas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + auditConfigDeltasBuilder_.clear(); + } return this; } + @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; } - public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { - return com.google.iam.v1.PolicyDelta.getDefaultInstance(); + @Override + public PolicyDelta getDefaultInstanceForType() { + return PolicyDelta.getDefaultInstance(); } - public com.google.iam.v1.PolicyDelta build() { - com.google.iam.v1.PolicyDelta result = buildPartial(); + @Override + public PolicyDelta build() { + PolicyDelta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public com.google.iam.v1.PolicyDelta buildPartial() { - com.google.iam.v1.PolicyDelta result = new com.google.iam.v1.PolicyDelta(this); + @Override + public PolicyDelta buildPartial() { + PolicyDelta result = new PolicyDelta(this); int from_bitField0_ = bitField0_; if (bindingDeltasBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); bitField0_ = (bitField0_ & ~0x00000001); } @@ -377,47 +476,63 @@ public com.google.iam.v1.PolicyDelta buildPartial() { } else { result.bindingDeltas_ = bindingDeltasBuilder_.build(); } + if (auditConfigDeltasBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + auditConfigDeltas_ = java.util.Collections.unmodifiableList(auditConfigDeltas_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.auditConfigDeltas_ = auditConfigDeltas_; + } else { + result.auditConfigDeltas_ = auditConfigDeltasBuilder_.build(); + } onBuilt(); return result; } + @Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.setField(field, value); + Object value) { + return super.setField(field, value); } + @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, Object value) { + return super.setRepeatedField(field, index, value); } + @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + Object value) { + return super.addRepeatedField(field, value); } + @Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.PolicyDelta) { - return mergeFrom((com.google.iam.v1.PolicyDelta)other); + if (other instanceof PolicyDelta) { + return mergeFrom((PolicyDelta)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.iam.v1.PolicyDelta other) { - if (other == com.google.iam.v1.PolicyDelta.getDefaultInstance()) return this; + public Builder mergeFrom(PolicyDelta other) { + if (other == PolicyDelta.getDefaultInstance()) return this; if (bindingDeltasBuilder_ == null) { if (!other.bindingDeltas_.isEmpty()) { if (bindingDeltas_.isEmpty()) { @@ -444,24 +559,52 @@ public Builder mergeFrom(com.google.iam.v1.PolicyDelta other) { } } } + if (auditConfigDeltasBuilder_ == null) { + if (!other.auditConfigDeltas_.isEmpty()) { + if (auditConfigDeltas_.isEmpty()) { + auditConfigDeltas_ = other.auditConfigDeltas_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.addAll(other.auditConfigDeltas_); + } + onChanged(); + } + } else { + if (!other.auditConfigDeltas_.isEmpty()) { + if (auditConfigDeltasBuilder_.isEmpty()) { + auditConfigDeltasBuilder_.dispose(); + auditConfigDeltasBuilder_ = null; + auditConfigDeltas_ = other.auditConfigDeltas_; + bitField0_ = (bitField0_ & ~0x00000002); + auditConfigDeltasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAuditConfigDeltasFieldBuilder() : null; + } else { + auditConfigDeltasBuilder_.addAllMessages(other.auditConfigDeltas_); + } + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } + @Override public final boolean isInitialized() { return true; } + @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.PolicyDelta parsedMessage = null; + PolicyDelta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.PolicyDelta) e.getUnfinishedMessage(); + parsedMessage = (PolicyDelta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -475,7 +618,7 @@ public Builder mergeFrom( private java.util.List bindingDeltas_ = java.util.Collections.emptyList(); private void ensureBindingDeltasIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { bindingDeltas_ = new java.util.ArrayList(bindingDeltas_); bitField0_ |= 0x00000001; } @@ -650,7 +793,7 @@ public Builder addBindingDeltas( * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ public Builder addAllBindingDeltas( - java.lang.Iterable values) { + Iterable values) { if (bindingDeltasBuilder_ == null) { ensureBindingDeltasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -776,18 +919,332 @@ public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder( bindingDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.iam.v1.BindingDelta, com.google.iam.v1.BindingDelta.Builder, com.google.iam.v1.BindingDeltaOrBuilder>( bindingDeltas_, - ((bitField0_ & 0x00000001) == 0x00000001), + ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); bindingDeltas_ = null; } return bindingDeltasBuilder_; } + + private java.util.List auditConfigDeltas_ = + java.util.Collections.emptyList(); + private void ensureAuditConfigDeltasIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + auditConfigDeltas_ = new java.util.ArrayList(auditConfigDeltas_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditConfigDelta, com.google.iam.v1.AuditConfigDelta.Builder, com.google.iam.v1.AuditConfigDeltaOrBuilder> auditConfigDeltasBuilder_; + + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public java.util.List getAuditConfigDeltasList() { + if (auditConfigDeltasBuilder_ == null) { + return java.util.Collections.unmodifiableList(auditConfigDeltas_); + } else { + return auditConfigDeltasBuilder_.getMessageList(); + } + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public int getAuditConfigDeltasCount() { + if (auditConfigDeltasBuilder_ == null) { + return auditConfigDeltas_.size(); + } else { + return auditConfigDeltasBuilder_.getCount(); + } + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { + if (auditConfigDeltasBuilder_ == null) { + return auditConfigDeltas_.get(index); + } else { + return auditConfigDeltasBuilder_.getMessage(index); + } + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder setAuditConfigDeltas( + int index, com.google.iam.v1.AuditConfigDelta value) { + if (auditConfigDeltasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.set(index, value); + onChanged(); + } else { + auditConfigDeltasBuilder_.setMessage(index, value); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder setAuditConfigDeltas( + int index, com.google.iam.v1.AuditConfigDelta.Builder builderForValue) { + if (auditConfigDeltasBuilder_ == null) { + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.set(index, builderForValue.build()); + onChanged(); + } else { + auditConfigDeltasBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder addAuditConfigDeltas(com.google.iam.v1.AuditConfigDelta value) { + if (auditConfigDeltasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.add(value); + onChanged(); + } else { + auditConfigDeltasBuilder_.addMessage(value); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder addAuditConfigDeltas( + int index, com.google.iam.v1.AuditConfigDelta value) { + if (auditConfigDeltasBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.add(index, value); + onChanged(); + } else { + auditConfigDeltasBuilder_.addMessage(index, value); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder addAuditConfigDeltas( + com.google.iam.v1.AuditConfigDelta.Builder builderForValue) { + if (auditConfigDeltasBuilder_ == null) { + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.add(builderForValue.build()); + onChanged(); + } else { + auditConfigDeltasBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder addAuditConfigDeltas( + int index, com.google.iam.v1.AuditConfigDelta.Builder builderForValue) { + if (auditConfigDeltasBuilder_ == null) { + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.add(index, builderForValue.build()); + onChanged(); + } else { + auditConfigDeltasBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder addAllAuditConfigDeltas( + Iterable values) { + if (auditConfigDeltasBuilder_ == null) { + ensureAuditConfigDeltasIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, auditConfigDeltas_); + onChanged(); + } else { + auditConfigDeltasBuilder_.addAllMessages(values); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder clearAuditConfigDeltas() { + if (auditConfigDeltasBuilder_ == null) { + auditConfigDeltas_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + auditConfigDeltasBuilder_.clear(); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public Builder removeAuditConfigDeltas(int index) { + if (auditConfigDeltasBuilder_ == null) { + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.remove(index); + onChanged(); + } else { + auditConfigDeltasBuilder_.remove(index); + } + return this; + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public com.google.iam.v1.AuditConfigDelta.Builder getAuditConfigDeltasBuilder( + int index) { + return getAuditConfigDeltasFieldBuilder().getBuilder(index); + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder( + int index) { + if (auditConfigDeltasBuilder_ == null) { + return auditConfigDeltas_.get(index); } else { + return auditConfigDeltasBuilder_.getMessageOrBuilder(index); + } + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public java.util.List + getAuditConfigDeltasOrBuilderList() { + if (auditConfigDeltasBuilder_ != null) { + return auditConfigDeltasBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(auditConfigDeltas_); + } + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder() { + return getAuditConfigDeltasFieldBuilder().addBuilder( + com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder( + int index) { + return getAuditConfigDeltasFieldBuilder().addBuilder( + index, com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); + } + /** + *
    +     * The delta for AuditConfigs between two policies.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + public java.util.List + getAuditConfigDeltasBuilderList() { + return getAuditConfigDeltasFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditConfigDelta, com.google.iam.v1.AuditConfigDelta.Builder, com.google.iam.v1.AuditConfigDeltaOrBuilder> + getAuditConfigDeltasFieldBuilder() { + if (auditConfigDeltasBuilder_ == null) { + auditConfigDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditConfigDelta, com.google.iam.v1.AuditConfigDelta.Builder, com.google.iam.v1.AuditConfigDeltaOrBuilder>( + auditConfigDeltas_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + auditConfigDeltas_ = null; + } + return auditConfigDeltasBuilder_; + } + @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } + @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -798,17 +1255,18 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.iam.v1.PolicyDelta) - private static final com.google.iam.v1.PolicyDelta DEFAULT_INSTANCE; + private static final PolicyDelta DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.iam.v1.PolicyDelta(); + DEFAULT_INSTANCE = new PolicyDelta(); } - public static com.google.iam.v1.PolicyDelta getDefaultInstance() { + public static PolicyDelta getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @Override public PolicyDelta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -821,12 +1279,13 @@ public static com.google.protobuf.Parser parser() { return PARSER; } - @java.lang.Override + @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { + @Override + public PolicyDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java index 8695a1c79fd9..e1735b948d13 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java @@ -14,7 +14,7 @@ public interface PolicyDeltaOrBuilder extends * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - java.util.List + java.util.List getBindingDeltasList(); /** *
    @@ -23,7 +23,7 @@ public interface PolicyDeltaOrBuilder extends
        *
        * repeated .google.iam.v1.BindingDelta binding_deltas = 1;
        */
    -  com.google.iam.v1.BindingDelta getBindingDeltas(int index);
    +  BindingDelta getBindingDeltas(int index);
       /**
        * 
        * The delta for Bindings between two policies.
    @@ -50,4 +50,48 @@ public interface PolicyDeltaOrBuilder extends
        */
       com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(
           int index);
    +
    +  /**
    +   * 
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + java.util.List + getAuditConfigDeltasList(); + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + AuditConfigDelta getAuditConfigDeltas(int index); + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + int getAuditConfigDeltasCount(); + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + java.util.List + getAuditConfigDeltasOrBuilderList(); + /** + *
    +   * The delta for AuditConfigs between two policies.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; + */ + com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder( + int index); } 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 c0a2004758a9..99b9548b0cb6 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 @@ -9,7 +9,16 @@ public interface PolicyOrBuilder extends /** *
    -   * Version of the `Policy`. The default version is 0.
    +   * Specifies the format of the policy.
    +   * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +   * rejected.
    +   * Operations affecting conditional bindings must specify version 3. This can
    +   * be either setting a conditional policy, modifying a conditional binding,
    +   * or removing a conditional binding from the stored conditional policy.
    +   * Operations on non-conditional policies may specify any valid value or
    +   * leave the field unset.
    +   * If no etag is provided in the call to `setIamPolicy`, any version
    +   * compliance checks on the incoming and/or stored policy is skipped.
        * 
    * * int32 version = 1; @@ -18,29 +27,29 @@ public interface PolicyOrBuilder extends /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; */ - java.util.List + java.util.List getBindingsList(); /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; */ - com.google.iam.v1.Binding getBindings(int index); + Binding getBindings(int index); /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -49,8 +58,8 @@ public interface PolicyOrBuilder extends int getBindingsCount(); /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -60,8 +69,8 @@ public interface PolicyOrBuilder extends getBindingsOrBuilderList(); /** *
    -   * Associates a list of `members` to a `role`.
    -   * Multiple `bindings` must not be specified for the same `role`.
    +   * Associates a list of `members` to a `role`. Optionally may specify a
    +   * `condition` that determines when binding is in effect.
        * `bindings` with no members will result in an error.
        * 
    * @@ -80,7 +89,9 @@ com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder( * 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. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. Due to blind-set semantics of an etag-less policy, + * 'setIamPolicy' will not fail even if either of incoming or stored policy + * does not meet the version requirements. *
    * * bytes etag = 3; diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java index 96a93c9146a3..d25ff666ea79 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java @@ -34,6 +34,11 @@ public static void registerAllExtensions( static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_BindingDelta_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_AuditConfigDelta_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -42,22 +47,30 @@ public static void registerAllExtensions( private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { - java.lang.String[] descriptorData = { + String[] descriptorData = { "\n\032google/iam/v1/policy.proto\022\rgoogle.iam" + - ".v1\032\034google/api/annotations.proto\"Q\n\006Pol" + - "icy\022\017\n\007version\030\001 \001(\005\022(\n\010bindings\030\004 \003(\0132\026" + - ".google.iam.v1.Binding\022\014\n\004etag\030\003 \001(\014\"(\n\007" + - "Binding\022\014\n\004role\030\001 \001(\t\022\017\n\007members\030\002 \003(\t\"B" + - "\n\013PolicyDelta\0223\n\016binding_deltas\030\001 \003(\0132\033." + - "google.iam.v1.BindingDelta\"\227\001\n\014BindingDe" + - "lta\0222\n\006action\030\001 \001(\0162\".google.iam.v1.Bind" + - "ingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006member\030" + - "\003 \001(\t\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022" + - "\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021com.google.iam." + - "v1B\013PolicyProtoP\001Z0google.golang.org/gen" + - "proto/googleapis/iam/v1;iam\370\001\001\252\002\023Google." + - "Cloud.Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006prot" + - "o3" + ".v1\032\026google/type/expr.proto\032\034google/api/" + + "annotations.proto\"Q\n\006Policy\022\017\n\007version\030\001" + + " \001(\005\022(\n\010bindings\030\004 \003(\0132\026.google.iam.v1.B" + + "inding\022\014\n\004etag\030\003 \001(\014\"N\n\007Binding\022\014\n\004role\030" + + "\001 \001(\t\022\017\n\007members\030\002 \003(\t\022$\n\tcondition\030\003 \001(" + + "\0132\021.google.type.Expr\"\200\001\n\013PolicyDelta\0223\n\016" + + "binding_deltas\030\001 \003(\0132\033.google.iam.v1.Bin" + + "dingDelta\022<\n\023audit_config_deltas\030\002 \003(\0132\037" + + ".google.iam.v1.AuditConfigDelta\"\275\001\n\014Bind" + + "ingDelta\0222\n\006action\030\001 \001(\0162\".google.iam.v1" + + ".BindingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006me" + + "mber\030\003 \001(\t\022$\n\tcondition\030\004 \001(\0132\021.google.t" + + "ype.Expr\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED" + + "\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\275\001\n\020AuditConfigD" + + "elta\0226\n\006action\030\001 \001(\0162&.google.iam.v1.Aud" + + "itConfigDelta.Action\022\017\n\007service\030\002 \001(\t\022\027\n" + + "\017exempted_member\030\003 \001(\t\022\020\n\010log_type\030\004 \001(\t" + + "\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022\007\n\003AD" + + "D\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021com.google.iam.v1B\013P" + + "olicyProtoP\001Z0google.golang.org/genproto" + + "/googleapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud" + + ".Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -70,6 +83,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.type.ExprProto.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_iam_v1_Policy_descriptor = @@ -77,25 +91,32 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( internal_static_google_iam_v1_Policy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_Policy_descriptor, - new java.lang.String[] { "Version", "Bindings", "Etag", }); + new String[] { "Version", "Bindings", "Etag", }); internal_static_google_iam_v1_Binding_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_iam_v1_Binding_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_Binding_descriptor, - new java.lang.String[] { "Role", "Members", }); + new String[] { "Role", "Members", "Condition", }); internal_static_google_iam_v1_PolicyDelta_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_PolicyDelta_descriptor, - new java.lang.String[] { "BindingDeltas", }); + new String[] { "BindingDeltas", "AuditConfigDeltas", }); internal_static_google_iam_v1_BindingDelta_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_iam_v1_BindingDelta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_BindingDelta_descriptor, - new java.lang.String[] { "Action", "Role", "Member", }); + new String[] { "Action", "Role", "Member", "Condition", }); + internal_static_google_iam_v1_AuditConfigDelta_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_AuditConfigDelta_descriptor, + new String[] { "Action", "Service", "ExemptedMember", "LogType", }); + com.google.type.ExprProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); } 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 bb4a7d0ff6bf..98e5af3d0bba 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 @@ -23,7 +23,7 @@ private SetIamPolicyRequest() { resource_ = ""; } - @java.lang.Override + @Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -34,7 +34,7 @@ private SetIamPolicyRequest( throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -47,25 +47,18 @@ private SetIamPolicyRequest( case 0: done = true; break; - default: { - if (!parseUnknownFieldProto3( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - java.lang.String s = input.readStringRequireUtf8(); + String s = input.readStringRequireUtf8(); resource_ = s; break; } case 18: { - com.google.iam.v1.Policy.Builder subBuilder = null; + Policy.Builder subBuilder = null; if (policy_ != null) { subBuilder = policy_.toBuilder(); } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + policy_ = input.readMessage(Policy.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(policy_); policy_ = subBuilder.buildPartial(); @@ -73,6 +66,13 @@ private SetIamPolicyRequest( break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,35 +87,35 @@ private SetIamPolicyRequest( } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable + return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.SetIamPolicyRequest.class, com.google.iam.v1.SetIamPolicyRequest.Builder.class); + SetIamPolicyRequest.class, Builder.class); } public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile java.lang.Object resource_; + private volatile Object resource_; /** *
        * REQUIRED: The resource for which the policy is being specified.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public String getResource() { + Object ref = resource_; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); resource_ = s; return s; } @@ -123,19 +123,18 @@ public java.lang.String getResource() { /** *
        * REQUIRED: The resource for which the policy is being specified.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { + Object ref = resource_; + if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); resource_ = b; return b; } else { @@ -144,7 +143,7 @@ public java.lang.String getResource() { } public static final int POLICY_FIELD_NUMBER = 2; - private com.google.iam.v1.Policy policy_; + private Policy policy_; /** *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
    @@ -168,8 +167,8 @@ public boolean hasPolicy() {
        *
        * .google.iam.v1.Policy policy = 2;
        */
    -  public com.google.iam.v1.Policy getPolicy() {
    -    return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
    +  public Policy getPolicy() {
    +    return policy_ == null ? Policy.getDefaultInstance() : policy_;
       }
       /**
        * 
    @@ -181,11 +180,12 @@ public com.google.iam.v1.Policy getPolicy() {
        *
        * .google.iam.v1.Policy policy = 2;
        */
    -  public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
    +  public PolicyOrBuilder getPolicyOrBuilder() {
         return getPolicy();
       }
     
       private byte memoizedIsInitialized = -1;
    +  @Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
         if (isInitialized == 1) return true;
    @@ -195,6 +195,7 @@ public final boolean isInitialized() {
         return true;
       }
     
    +  @Override
       public void writeTo(com.google.protobuf.CodedOutputStream output)
                           throws java.io.IOException {
         if (!getResourceBytes().isEmpty()) {
    @@ -206,6 +207,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         unknownFields.writeTo(output);
       }
     
    +  @Override
       public int getSerializedSize() {
         int size = memoizedSize;
         if (size != -1) return size;
    @@ -223,29 +225,28 @@ public int getSerializedSize() {
         return size;
       }
     
    -  @java.lang.Override
    -  public boolean equals(final java.lang.Object obj) {
    +  @Override
    +  public boolean equals(final Object obj) {
         if (obj == this) {
          return true;
         }
    -    if (!(obj instanceof com.google.iam.v1.SetIamPolicyRequest)) {
    +    if (!(obj instanceof SetIamPolicyRequest)) {
           return super.equals(obj);
         }
    -    com.google.iam.v1.SetIamPolicyRequest other = (com.google.iam.v1.SetIamPolicyRequest) obj;
    +    SetIamPolicyRequest other = (SetIamPolicyRequest) obj;
     
    -    boolean result = true;
    -    result = result && getResource()
    -        .equals(other.getResource());
    -    result = result && (hasPolicy() == other.hasPolicy());
    +    if (!getResource()
    +        .equals(other.getResource())) return false;
    +    if (hasPolicy() != other.hasPolicy()) return false;
         if (hasPolicy()) {
    -      result = result && getPolicy()
    -          .equals(other.getPolicy());
    +      if (!getPolicy()
    +          .equals(other.getPolicy())) return false;
         }
    -    result = result && unknownFields.equals(other.unknownFields);
    -    return result;
    +    if (!unknownFields.equals(other.unknownFields)) return false;
    +    return true;
       }
     
    -  @java.lang.Override
    +  @Override
       public int hashCode() {
         if (memoizedHashCode != 0) {
           return memoizedHashCode;
    @@ -263,69 +264,69 @@ public int hashCode() {
         return hash;
       }
     
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           java.nio.ByteBuffer data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           java.nio.ByteBuffer data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(byte[] data)
    +  public static SetIamPolicyRequest parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           byte[] data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(java.io.InputStream input)
    +  public static SetIamPolicyRequest parseFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input)
    +  public static SetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom(
    +  public static SetIamPolicyRequest parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           com.google.protobuf.CodedInputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
    +  public static SetIamPolicyRequest parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    @@ -333,21 +334,23 @@ public static com.google.iam.v1.SetIamPolicyRequest parseFrom(
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
    +  @Override
       public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -  public static Builder newBuilder(com.google.iam.v1.SetIamPolicyRequest prototype) {
    +  public static Builder newBuilder(SetIamPolicyRequest prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    +  @Override
       public Builder toBuilder() {
         return this == DEFAULT_INSTANCE
             ? new Builder() : new Builder().mergeFrom(this);
       }
     
    -  @java.lang.Override
    +  @Override
       protected Builder newBuilderForType(
    -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +      BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
    @@ -364,14 +367,15 @@ public static final class Builder extends
           com.google.iam.v1.SetIamPolicyRequestOrBuilder {
         public static final com.google.protobuf.Descriptors.Descriptor
             getDescriptor() {
    -      return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor;
    +      return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor;
         }
     
    -    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +    @Override
    +    protected FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable
    +      return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.iam.v1.SetIamPolicyRequest.class, com.google.iam.v1.SetIamPolicyRequest.Builder.class);
    +              SetIamPolicyRequest.class, Builder.class);
         }
     
         // Construct using com.google.iam.v1.SetIamPolicyRequest.newBuilder()
    @@ -380,7 +384,7 @@ private Builder() {
         }
     
         private Builder(
    -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +        BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    @@ -389,6 +393,7 @@ private void maybeForceBuilderInitialization() {
                   .alwaysUseFieldBuilders) {
           }
         }
    +    @Override
         public Builder clear() {
           super.clear();
           resource_ = "";
    @@ -402,25 +407,29 @@ public Builder clear() {
           return this;
         }
     
    +    @Override
         public com.google.protobuf.Descriptors.Descriptor
             getDescriptorForType() {
    -      return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor;
    +      return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor;
         }
     
    -    public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() {
    -      return com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance();
    +    @Override
    +    public SetIamPolicyRequest getDefaultInstanceForType() {
    +      return SetIamPolicyRequest.getDefaultInstance();
         }
     
    -    public com.google.iam.v1.SetIamPolicyRequest build() {
    -      com.google.iam.v1.SetIamPolicyRequest result = buildPartial();
    +    @Override
    +    public SetIamPolicyRequest build() {
    +      SetIamPolicyRequest result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
           return result;
         }
     
    -    public com.google.iam.v1.SetIamPolicyRequest buildPartial() {
    -      com.google.iam.v1.SetIamPolicyRequest result = new com.google.iam.v1.SetIamPolicyRequest(this);
    +    @Override
    +    public SetIamPolicyRequest buildPartial() {
    +      SetIamPolicyRequest result = new SetIamPolicyRequest(this);
           result.resource_ = resource_;
           if (policyBuilder_ == null) {
             result.policy_ = policy_;
    @@ -431,43 +440,50 @@ public com.google.iam.v1.SetIamPolicyRequest buildPartial() {
           return result;
         }
     
    +    @Override
         public Builder clone() {
    -      return (Builder) super.clone();
    +      return super.clone();
         }
    +    @Override
         public Builder setField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        java.lang.Object value) {
    -      return (Builder) super.setField(field, value);
    +        Object value) {
    +      return super.setField(field, value);
         }
    +    @Override
         public Builder clearField(
             com.google.protobuf.Descriptors.FieldDescriptor field) {
    -      return (Builder) super.clearField(field);
    +      return super.clearField(field);
         }
    +    @Override
         public Builder clearOneof(
             com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    -      return (Builder) super.clearOneof(oneof);
    +      return super.clearOneof(oneof);
         }
    +    @Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        int index, java.lang.Object value) {
    -      return (Builder) super.setRepeatedField(field, index, value);
    +        int index, Object value) {
    +      return super.setRepeatedField(field, index, value);
         }
    +    @Override
         public Builder addRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        java.lang.Object value) {
    -      return (Builder) super.addRepeatedField(field, value);
    +        Object value) {
    +      return super.addRepeatedField(field, value);
         }
    +    @Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other instanceof com.google.iam.v1.SetIamPolicyRequest) {
    -        return mergeFrom((com.google.iam.v1.SetIamPolicyRequest)other);
    +      if (other instanceof SetIamPolicyRequest) {
    +        return mergeFrom((SetIamPolicyRequest)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) {
    -      if (other == com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()) return this;
    +    public Builder mergeFrom(SetIamPolicyRequest other) {
    +      if (other == SetIamPolicyRequest.getDefaultInstance()) return this;
           if (!other.getResource().isEmpty()) {
             resource_ = other.resource_;
             onChanged();
    @@ -480,19 +496,21 @@ public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) {
           return this;
         }
     
    +    @Override
         public final boolean isInitialized() {
           return true;
         }
     
    +    @Override
         public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.iam.v1.SetIamPolicyRequest parsedMessage = null;
    +      SetIamPolicyRequest parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (com.google.iam.v1.SetIamPolicyRequest) e.getUnfinishedMessage();
    +        parsedMessage = (SetIamPolicyRequest) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -502,44 +520,42 @@ public Builder mergeFrom(
           return this;
         }
     
    -    private java.lang.Object resource_ = "";
    +    private Object resource_ = "";
         /**
          * 
          * REQUIRED: The resource for which the policy is being specified.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { + public String getResource() { + Object ref = resource_; + if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); resource_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } /** *
          * REQUIRED: The resource for which the policy is being specified.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; + Object ref = resource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); resource_ = b; return b; } else { @@ -549,14 +565,13 @@ public java.lang.String getResource() { /** *
          * REQUIRED: The resource for which the policy is being specified.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ public Builder setResource( - java.lang.String value) { + String value) { if (value == null) { throw new NullPointerException(); } @@ -568,8 +583,7 @@ public Builder setResource( /** *
          * REQUIRED: The resource for which the policy is being specified.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; @@ -583,8 +597,7 @@ public Builder clearResource() { /** *
          * REQUIRED: The resource for which the policy is being specified.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; @@ -601,9 +614,9 @@ public Builder setResourceBytes( return this; } - private com.google.iam.v1.Policy policy_ = null; + private Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> policyBuilder_; + Policy, Policy.Builder, PolicyOrBuilder> policyBuilder_; /** *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
    @@ -627,9 +640,9 @@ public boolean hasPolicy() {
          *
          * .google.iam.v1.Policy policy = 2;
          */
    -    public com.google.iam.v1.Policy getPolicy() {
    +    public Policy getPolicy() {
           if (policyBuilder_ == null) {
    -        return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_;
    +        return policy_ == null ? Policy.getDefaultInstance() : policy_;
           } else {
             return policyBuilder_.getMessage();
           }
    @@ -644,7 +657,7 @@ public com.google.iam.v1.Policy getPolicy() {
          *
          * .google.iam.v1.Policy policy = 2;
          */
    -    public Builder setPolicy(com.google.iam.v1.Policy value) {
    +    public Builder setPolicy(Policy value) {
           if (policyBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
    @@ -668,7 +681,7 @@ public Builder setPolicy(com.google.iam.v1.Policy value) {
          * .google.iam.v1.Policy policy = 2;
          */
         public Builder setPolicy(
    -        com.google.iam.v1.Policy.Builder builderForValue) {
    +        Policy.Builder builderForValue) {
           if (policyBuilder_ == null) {
             policy_ = builderForValue.build();
             onChanged();
    @@ -688,11 +701,11 @@ public Builder setPolicy(
          *
          * .google.iam.v1.Policy policy = 2;
          */
    -    public Builder mergePolicy(com.google.iam.v1.Policy value) {
    +    public Builder mergePolicy(Policy value) {
           if (policyBuilder_ == null) {
             if (policy_ != null) {
               policy_ =
    -            com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
    +            Policy.newBuilder(policy_).mergeFrom(value).buildPartial();
             } else {
               policy_ = value;
             }
    @@ -734,7 +747,7 @@ public Builder clearPolicy() {
          *
          * .google.iam.v1.Policy policy = 2;
          */
    -    public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
    +    public Policy.Builder getPolicyBuilder() {
           
           onChanged();
           return getPolicyFieldBuilder().getBuilder();
    @@ -749,12 +762,12 @@ public com.google.iam.v1.Policy.Builder getPolicyBuilder() {
          *
          * .google.iam.v1.Policy policy = 2;
          */
    -    public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
    +    public PolicyOrBuilder getPolicyOrBuilder() {
           if (policyBuilder_ != null) {
             return policyBuilder_.getMessageOrBuilder();
           } else {
             return policy_ == null ?
    -            com.google.iam.v1.Policy.getDefaultInstance() : policy_;
    +            Policy.getDefaultInstance() : policy_;
           }
         }
         /**
    @@ -768,11 +781,11 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
          * .google.iam.v1.Policy policy = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
    -        com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder> 
    +        Policy, Policy.Builder, PolicyOrBuilder>
             getPolicyFieldBuilder() {
           if (policyBuilder_ == null) {
             policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.iam.v1.Policy, com.google.iam.v1.Policy.Builder, com.google.iam.v1.PolicyOrBuilder>(
    +            Policy, Policy.Builder, PolicyOrBuilder>(
                     getPolicy(),
                     getParentForChildren(),
                     isClean());
    @@ -780,11 +793,13 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() {
           }
           return policyBuilder_;
         }
    +    @Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
    -      return super.setUnknownFieldsProto3(unknownFields);
    +      return super.setUnknownFields(unknownFields);
         }
     
    +    @Override
         public final Builder mergeUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.mergeUnknownFields(unknownFields);
    @@ -795,17 +810,18 @@ public final Builder mergeUnknownFields(
       }
     
       // @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest)
    -  private static final com.google.iam.v1.SetIamPolicyRequest DEFAULT_INSTANCE;
    +  private static final SetIamPolicyRequest DEFAULT_INSTANCE;
       static {
    -    DEFAULT_INSTANCE = new com.google.iam.v1.SetIamPolicyRequest();
    +    DEFAULT_INSTANCE = new SetIamPolicyRequest();
       }
     
    -  public static com.google.iam.v1.SetIamPolicyRequest getDefaultInstance() {
    +  public static SetIamPolicyRequest getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
       private static final com.google.protobuf.Parser
           PARSER = new com.google.protobuf.AbstractParser() {
    +    @Override
         public SetIamPolicyRequest parsePartialFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -818,12 +834,13 @@ public static com.google.protobuf.Parser parser() {
         return PARSER;
       }
     
    -  @java.lang.Override
    +  @Override
       public com.google.protobuf.Parser getParserForType() {
         return PARSER;
       }
     
    -  public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() {
    +  @Override
    +  public SetIamPolicyRequest getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
     
    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 fd6b5b6aa66b..e0e2e88834af 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
    @@ -10,18 +10,16 @@ public interface SetIamPolicyRequestOrBuilder extends
       /**
        * 
        * REQUIRED: The resource for which the policy is being specified.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ - java.lang.String getResource(); + String getResource(); /** *
        * REQUIRED: The resource for which the policy is being specified.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; @@ -50,7 +48,7 @@ public interface SetIamPolicyRequestOrBuilder extends * * .google.iam.v1.Policy policy = 2; */ - com.google.iam.v1.Policy getPolicy(); + Policy getPolicy(); /** *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
    @@ -61,5 +59,5 @@ public interface SetIamPolicyRequestOrBuilder extends
        *
        * .google.iam.v1.Policy policy = 2;
        */
    -  com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder();
    +  PolicyOrBuilder getPolicyOrBuilder();
     }
    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 a7988c60c60d..95a56fcbbf7c 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
    @@ -24,7 +24,7 @@ private TestIamPermissionsRequest() {
         permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       }
     
    -  @java.lang.Override
    +  @Override
       public final com.google.protobuf.UnknownFieldSet
       getUnknownFields() {
         return this.unknownFields;
    @@ -35,7 +35,7 @@ private TestIamPermissionsRequest(
           throws com.google.protobuf.InvalidProtocolBufferException {
         this();
         if (extensionRegistry == null) {
    -      throw new java.lang.NullPointerException();
    +      throw new NullPointerException();
         }
         int mutable_bitField0_ = 0;
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
    @@ -48,28 +48,28 @@ private TestIamPermissionsRequest(
               case 0:
                 done = true;
                 break;
    -          default: {
    -            if (!parseUnknownFieldProto3(
    -                input, unknownFields, extensionRegistry, tag)) {
    -              done = true;
    -            }
    -            break;
    -          }
               case 10: {
    -            java.lang.String s = input.readStringRequireUtf8();
    +            String s = input.readStringRequireUtf8();
     
                 resource_ = s;
                 break;
               }
               case 18: {
    -            java.lang.String s = input.readStringRequireUtf8();
    -            if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
    +            String s = input.readStringRequireUtf8();
    +            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                   permissions_ = new com.google.protobuf.LazyStringArrayList();
                   mutable_bitField0_ |= 0x00000002;
                 }
                 permissions_.add(s);
                 break;
               }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
    +            }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -78,7 +78,7 @@ private TestIamPermissionsRequest(
           throw new com.google.protobuf.InvalidProtocolBufferException(
               e).setUnfinishedMessage(this);
         } finally {
    -      if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
    +      if (((mutable_bitField0_ & 0x00000002) != 0)) {
             permissions_ = permissions_.getUnmodifiableView();
           }
           this.unknownFields = unknownFields.build();
    @@ -87,36 +87,36 @@ private TestIamPermissionsRequest(
       }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
    -    return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor;
    +    return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor;
       }
     
    -  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +  @Override
    +  protected FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable
    +    return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.iam.v1.TestIamPermissionsRequest.class, com.google.iam.v1.TestIamPermissionsRequest.Builder.class);
    +            TestIamPermissionsRequest.class, Builder.class);
       }
     
       private int bitField0_;
       public static final int RESOURCE_FIELD_NUMBER = 1;
    -  private volatile java.lang.Object resource_;
    +  private volatile Object resource_;
       /**
        * 
        * REQUIRED: The resource for which the policy detail is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; + public String getResource() { + Object ref = resource_; + if (ref instanceof String) { + return (String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); resource_ = s; return s; } @@ -124,19 +124,18 @@ public java.lang.String getResource() { /** *
        * REQUIRED: The resource for which the policy detail is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { + Object ref = resource_; + if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); resource_ = b; return b; } else { @@ -183,7 +182,7 @@ public int getPermissionsCount() { * * repeated string permissions = 2; */ - public java.lang.String getPermissions(int index) { + public String getPermissions(int index) { return permissions_.get(index); } /** @@ -202,6 +201,7 @@ public java.lang.String getPermissions(int index) { } private byte memoizedIsInitialized = -1; + @Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -211,6 +211,7 @@ public final boolean isInitialized() { return true; } + @Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getResourceBytes().isEmpty()) { @@ -222,6 +223,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } + @Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -243,26 +245,25 @@ public int getSerializedSize() { return size; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { + @Override + public boolean equals(final Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.iam.v1.TestIamPermissionsRequest)) { + if (!(obj instanceof TestIamPermissionsRequest)) { return super.equals(obj); } - com.google.iam.v1.TestIamPermissionsRequest other = (com.google.iam.v1.TestIamPermissionsRequest) obj; + TestIamPermissionsRequest other = (TestIamPermissionsRequest) obj; - boolean result = true; - result = result && getResource() - .equals(other.getResource()); - result = result && getPermissionsList() - .equals(other.getPermissionsList()); - result = result && unknownFields.equals(other.unknownFields); - return result; + if (!getResource() + .equals(other.getResource())) return false; + if (!getPermissionsList() + .equals(other.getPermissionsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } - @java.lang.Override + @Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -280,69 +281,69 @@ public int hashCode() { return hash; } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(byte[] data) + public static TestIamPermissionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(java.io.InputStream input) + public static TestIamPermissionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom(java.io.InputStream input) + public static TestIamPermissionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom( + public static TestIamPermissionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + public static TestIamPermissionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -350,21 +351,23 @@ public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } + @Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsRequest prototype) { + public static Builder newBuilder(TestIamPermissionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @java.lang.Override + @Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -381,14 +384,15 @@ public static final class Builder extends com.google.iam.v1.TestIamPermissionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; } - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + @Override + protected FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable + return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.iam.v1.TestIamPermissionsRequest.class, com.google.iam.v1.TestIamPermissionsRequest.Builder.class); + TestIamPermissionsRequest.class, Builder.class); } // Construct using com.google.iam.v1.TestIamPermissionsRequest.newBuilder() @@ -397,7 +401,7 @@ private Builder() { } private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } @@ -406,6 +410,7 @@ private void maybeForceBuilderInitialization() { .alwaysUseFieldBuilders) { } } + @Override public Builder clear() { super.clear(); resource_ = ""; @@ -415,29 +420,33 @@ public Builder clear() { return this; } + @Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; } - public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { - return com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance(); + @Override + public TestIamPermissionsRequest getDefaultInstanceForType() { + return TestIamPermissionsRequest.getDefaultInstance(); } - public com.google.iam.v1.TestIamPermissionsRequest build() { - com.google.iam.v1.TestIamPermissionsRequest result = buildPartial(); + @Override + public TestIamPermissionsRequest build() { + TestIamPermissionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - public com.google.iam.v1.TestIamPermissionsRequest buildPartial() { - com.google.iam.v1.TestIamPermissionsRequest result = new com.google.iam.v1.TestIamPermissionsRequest(this); + @Override + public TestIamPermissionsRequest buildPartial() { + TestIamPermissionsRequest result = new TestIamPermissionsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.resource_ = resource_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { permissions_ = permissions_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } @@ -447,43 +456,50 @@ public com.google.iam.v1.TestIamPermissionsRequest buildPartial() { return result; } + @Override public Builder clone() { - return (Builder) super.clone(); + return super.clone(); } + @Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.setField(field, value); + Object value) { + return super.setField(field, value); } + @Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { - return (Builder) super.clearField(field); + return super.clearField(field); } + @Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return (Builder) super.clearOneof(oneof); + return super.clearOneof(oneof); } + @Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return (Builder) super.setRepeatedField(field, index, value); + int index, Object value) { + return super.setRepeatedField(field, index, value); } + @Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return (Builder) super.addRepeatedField(field, value); + Object value) { + return super.addRepeatedField(field, value); } + @Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.TestIamPermissionsRequest) { - return mergeFrom((com.google.iam.v1.TestIamPermissionsRequest)other); + if (other instanceof TestIamPermissionsRequest) { + return mergeFrom((TestIamPermissionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { - if (other == com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom(TestIamPermissionsRequest other) { + if (other == TestIamPermissionsRequest.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -503,19 +519,21 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { return this; } + @Override public final boolean isInitialized() { return true; } + @Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.TestIamPermissionsRequest parsedMessage = null; + TestIamPermissionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.TestIamPermissionsRequest) e.getUnfinishedMessage(); + parsedMessage = (TestIamPermissionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -526,44 +544,42 @@ public Builder mergeFrom( } private int bitField0_; - private java.lang.Object resource_ = ""; + private Object resource_ = ""; /** *
          * REQUIRED: The resource for which the policy detail is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { + public String getResource() { + Object ref = resource_; + if (!(ref instanceof String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); + String s = bs.toStringUtf8(); resource_ = s; return s; } else { - return (java.lang.String) ref; + return (String) ref; } } /** *
          * REQUIRED: The resource for which the policy detail is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; + Object ref = resource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + (String) ref); resource_ = b; return b; } else { @@ -573,14 +589,13 @@ public java.lang.String getResource() { /** *
          * REQUIRED: The resource for which the policy detail is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; */ public Builder setResource( - java.lang.String value) { + String value) { if (value == null) { throw new NullPointerException(); } @@ -592,8 +607,7 @@ public Builder setResource( /** *
          * REQUIRED: The resource for which the policy detail is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; @@ -607,8 +621,7 @@ public Builder clearResource() { /** *
          * REQUIRED: The resource for which the policy detail is being requested.
    -     * `resource` is usually specified as a path. For example, a Project
    -     * resource is specified as `projects/{project}`.
    +     * See the operation documentation for the appropriate value for this field.
          * 
    * * string resource = 1; @@ -627,7 +640,7 @@ public Builder setResourceBytes( private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePermissionsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000002; } @@ -669,7 +682,7 @@ public int getPermissionsCount() { * * repeated string permissions = 2; */ - public java.lang.String getPermissions(int index) { + public String getPermissions(int index) { return permissions_.get(index); } /** @@ -697,7 +710,7 @@ public java.lang.String getPermissions(int index) { * repeated string permissions = 2; */ public Builder setPermissions( - int index, java.lang.String value) { + int index, String value) { if (value == null) { throw new NullPointerException(); } @@ -717,7 +730,7 @@ public Builder setPermissions( * repeated string permissions = 2; */ public Builder addPermissions( - java.lang.String value) { + String value) { if (value == null) { throw new NullPointerException(); } @@ -737,7 +750,7 @@ public Builder addPermissions( * repeated string permissions = 2; */ public Builder addAllPermissions( - java.lang.Iterable values) { + Iterable values) { ensurePermissionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, permissions_); @@ -781,11 +794,13 @@ public Builder addPermissionsBytes( onChanged(); return this; } + @Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); + return super.setUnknownFields(unknownFields); } + @Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); @@ -796,17 +811,18 @@ public final Builder mergeUnknownFields( } // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest) - private static final com.google.iam.v1.TestIamPermissionsRequest DEFAULT_INSTANCE; + private static final TestIamPermissionsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsRequest(); + DEFAULT_INSTANCE = new TestIamPermissionsRequest(); } - public static com.google.iam.v1.TestIamPermissionsRequest getDefaultInstance() { + public static TestIamPermissionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @Override public TestIamPermissionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -819,12 +835,13 @@ public static com.google.protobuf.Parser parser() { return PARSER; } - @java.lang.Override + @Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { + @Override + public TestIamPermissionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java index 54ba20176619..cdb463c506d8 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java @@ -10,18 +10,16 @@ public interface TestIamPermissionsRequestOrBuilder extends /** *
        * REQUIRED: The resource for which the policy detail is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; */ - java.lang.String getResource(); + String getResource(); /** *
        * REQUIRED: The resource for which the policy detail is being requested.
    -   * `resource` is usually specified as a path. For example, a Project
    -   * resource is specified as `projects/{project}`.
    +   * See the operation documentation for the appropriate value for this field.
        * 
    * * string resource = 1; @@ -39,7 +37,7 @@ public interface TestIamPermissionsRequestOrBuilder extends * * repeated string permissions = 2; */ - java.util.List + java.util.List getPermissionsList(); /** *
    @@ -62,7 +60,7 @@ public interface TestIamPermissionsRequestOrBuilder extends
        *
        * repeated string permissions = 2;
        */
    -  java.lang.String getPermissions(int index);
    +  String getPermissions(int index);
       /**
        * 
        * The set of permissions to check for the `resource`. Permissions with
    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 f9bbe3c3ab59..cd6d25858790 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
    @@ -23,7 +23,7 @@ private TestIamPermissionsResponse() {
         permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       }
     
    -  @java.lang.Override
    +  @Override
       public final com.google.protobuf.UnknownFieldSet
       getUnknownFields() {
         return this.unknownFields;
    @@ -34,7 +34,7 @@ private TestIamPermissionsResponse(
           throws com.google.protobuf.InvalidProtocolBufferException {
         this();
         if (extensionRegistry == null) {
    -      throw new java.lang.NullPointerException();
    +      throw new NullPointerException();
         }
         int mutable_bitField0_ = 0;
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
    @@ -47,22 +47,22 @@ private TestIamPermissionsResponse(
               case 0:
                 done = true;
                 break;
    -          default: {
    -            if (!parseUnknownFieldProto3(
    -                input, unknownFields, extensionRegistry, tag)) {
    -              done = true;
    -            }
    -            break;
    -          }
               case 10: {
    -            java.lang.String s = input.readStringRequireUtf8();
    -            if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
    +            String s = input.readStringRequireUtf8();
    +            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                   permissions_ = new com.google.protobuf.LazyStringArrayList();
                   mutable_bitField0_ |= 0x00000001;
                 }
                 permissions_.add(s);
                 break;
               }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
    +            }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -71,7 +71,7 @@ private TestIamPermissionsResponse(
           throw new com.google.protobuf.InvalidProtocolBufferException(
               e).setUnfinishedMessage(this);
         } finally {
    -      if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
    +      if (((mutable_bitField0_ & 0x00000001) != 0)) {
             permissions_ = permissions_.getUnmodifiableView();
           }
           this.unknownFields = unknownFields.build();
    @@ -80,14 +80,15 @@ private TestIamPermissionsResponse(
       }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
    -    return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor;
    +    return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor;
       }
     
    -  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +  @Override
    +  protected FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable
    +    return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.iam.v1.TestIamPermissionsResponse.class, com.google.iam.v1.TestIamPermissionsResponse.Builder.class);
    +            TestIamPermissionsResponse.class, Builder.class);
       }
     
       public static final int PERMISSIONS_FIELD_NUMBER = 1;
    @@ -123,7 +124,7 @@ public int getPermissionsCount() {
        *
        * repeated string permissions = 1;
        */
    -  public java.lang.String getPermissions(int index) {
    +  public String getPermissions(int index) {
         return permissions_.get(index);
       }
       /**
    @@ -140,6 +141,7 @@ public java.lang.String getPermissions(int index) {
       }
     
       private byte memoizedIsInitialized = -1;
    +  @Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
         if (isInitialized == 1) return true;
    @@ -149,6 +151,7 @@ public final boolean isInitialized() {
         return true;
       }
     
    +  @Override
       public void writeTo(com.google.protobuf.CodedOutputStream output)
                           throws java.io.IOException {
         for (int i = 0; i < permissions_.size(); i++) {
    @@ -157,6 +160,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         unknownFields.writeTo(output);
       }
     
    +  @Override
       public int getSerializedSize() {
         int size = memoizedSize;
         if (size != -1) return size;
    @@ -175,24 +179,23 @@ public int getSerializedSize() {
         return size;
       }
     
    -  @java.lang.Override
    -  public boolean equals(final java.lang.Object obj) {
    +  @Override
    +  public boolean equals(final Object obj) {
         if (obj == this) {
          return true;
         }
    -    if (!(obj instanceof com.google.iam.v1.TestIamPermissionsResponse)) {
    +    if (!(obj instanceof TestIamPermissionsResponse)) {
           return super.equals(obj);
         }
    -    com.google.iam.v1.TestIamPermissionsResponse other = (com.google.iam.v1.TestIamPermissionsResponse) obj;
    +    TestIamPermissionsResponse other = (TestIamPermissionsResponse) obj;
     
    -    boolean result = true;
    -    result = result && getPermissionsList()
    -        .equals(other.getPermissionsList());
    -    result = result && unknownFields.equals(other.unknownFields);
    -    return result;
    +    if (!getPermissionsList()
    +        .equals(other.getPermissionsList())) return false;
    +    if (!unknownFields.equals(other.unknownFields)) return false;
    +    return true;
       }
     
    -  @java.lang.Override
    +  @Override
       public int hashCode() {
         if (memoizedHashCode != 0) {
           return memoizedHashCode;
    @@ -208,69 +211,69 @@ public int hashCode() {
         return hash;
       }
     
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           java.nio.ByteBuffer data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           java.nio.ByteBuffer data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(byte[] data)
    +  public static TestIamPermissionsResponse parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           byte[] data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(java.io.InputStream input)
    +  public static TestIamPermissionsResponse parseFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom(java.io.InputStream input)
    +  public static TestIamPermissionsResponse parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom(
    +  public static TestIamPermissionsResponse parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           com.google.protobuf.CodedInputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
    +  public static TestIamPermissionsResponse parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    @@ -278,21 +281,23 @@ public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
    +  @Override
       public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -  public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsResponse prototype) {
    +  public static Builder newBuilder(TestIamPermissionsResponse prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    +  @Override
       public Builder toBuilder() {
         return this == DEFAULT_INSTANCE
             ? new Builder() : new Builder().mergeFrom(this);
       }
     
    -  @java.lang.Override
    +  @Override
       protected Builder newBuilderForType(
    -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +      BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
    @@ -309,14 +314,15 @@ public static final class Builder extends
           com.google.iam.v1.TestIamPermissionsResponseOrBuilder {
         public static final com.google.protobuf.Descriptors.Descriptor
             getDescriptor() {
    -      return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor;
    +      return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor;
         }
     
    -    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +    @Override
    +    protected FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable
    +      return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.iam.v1.TestIamPermissionsResponse.class, com.google.iam.v1.TestIamPermissionsResponse.Builder.class);
    +              TestIamPermissionsResponse.class, Builder.class);
         }
     
         // Construct using com.google.iam.v1.TestIamPermissionsResponse.newBuilder()
    @@ -325,7 +331,7 @@ private Builder() {
         }
     
         private Builder(
    -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +        BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    @@ -334,6 +340,7 @@ private void maybeForceBuilderInitialization() {
                   .alwaysUseFieldBuilders) {
           }
         }
    +    @Override
         public Builder clear() {
           super.clear();
           permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    @@ -341,27 +348,31 @@ public Builder clear() {
           return this;
         }
     
    +    @Override
         public com.google.protobuf.Descriptors.Descriptor
             getDescriptorForType() {
    -      return com.google.iam.v1.IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor;
    +      return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor;
         }
     
    -    public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() {
    -      return com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance();
    +    @Override
    +    public TestIamPermissionsResponse getDefaultInstanceForType() {
    +      return TestIamPermissionsResponse.getDefaultInstance();
         }
     
    -    public com.google.iam.v1.TestIamPermissionsResponse build() {
    -      com.google.iam.v1.TestIamPermissionsResponse result = buildPartial();
    +    @Override
    +    public TestIamPermissionsResponse build() {
    +      TestIamPermissionsResponse result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
           return result;
         }
     
    -    public com.google.iam.v1.TestIamPermissionsResponse buildPartial() {
    -      com.google.iam.v1.TestIamPermissionsResponse result = new com.google.iam.v1.TestIamPermissionsResponse(this);
    +    @Override
    +    public TestIamPermissionsResponse buildPartial() {
    +      TestIamPermissionsResponse result = new TestIamPermissionsResponse(this);
           int from_bitField0_ = bitField0_;
    -      if (((bitField0_ & 0x00000001) == 0x00000001)) {
    +      if (((bitField0_ & 0x00000001) != 0)) {
             permissions_ = permissions_.getUnmodifiableView();
             bitField0_ = (bitField0_ & ~0x00000001);
           }
    @@ -370,43 +381,50 @@ public com.google.iam.v1.TestIamPermissionsResponse buildPartial() {
           return result;
         }
     
    +    @Override
         public Builder clone() {
    -      return (Builder) super.clone();
    +      return super.clone();
         }
    +    @Override
         public Builder setField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        java.lang.Object value) {
    -      return (Builder) super.setField(field, value);
    +        Object value) {
    +      return super.setField(field, value);
         }
    +    @Override
         public Builder clearField(
             com.google.protobuf.Descriptors.FieldDescriptor field) {
    -      return (Builder) super.clearField(field);
    +      return super.clearField(field);
         }
    +    @Override
         public Builder clearOneof(
             com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    -      return (Builder) super.clearOneof(oneof);
    +      return super.clearOneof(oneof);
         }
    +    @Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        int index, java.lang.Object value) {
    -      return (Builder) super.setRepeatedField(field, index, value);
    +        int index, Object value) {
    +      return super.setRepeatedField(field, index, value);
         }
    +    @Override
         public Builder addRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        java.lang.Object value) {
    -      return (Builder) super.addRepeatedField(field, value);
    +        Object value) {
    +      return super.addRepeatedField(field, value);
         }
    +    @Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other instanceof com.google.iam.v1.TestIamPermissionsResponse) {
    -        return mergeFrom((com.google.iam.v1.TestIamPermissionsResponse)other);
    +      if (other instanceof TestIamPermissionsResponse) {
    +        return mergeFrom((TestIamPermissionsResponse)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) {
    -      if (other == com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()) return this;
    +    public Builder mergeFrom(TestIamPermissionsResponse other) {
    +      if (other == TestIamPermissionsResponse.getDefaultInstance()) return this;
           if (!other.permissions_.isEmpty()) {
             if (permissions_.isEmpty()) {
               permissions_ = other.permissions_;
    @@ -422,19 +440,21 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) {
           return this;
         }
     
    +    @Override
         public final boolean isInitialized() {
           return true;
         }
     
    +    @Override
         public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.iam.v1.TestIamPermissionsResponse parsedMessage = null;
    +      TestIamPermissionsResponse parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (com.google.iam.v1.TestIamPermissionsResponse) e.getUnfinishedMessage();
    +        parsedMessage = (TestIamPermissionsResponse) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -447,7 +467,7 @@ public Builder mergeFrom(
     
         private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
         private void ensurePermissionsIsMutable() {
    -      if (!((bitField0_ & 0x00000001) == 0x00000001)) {
    +      if (!((bitField0_ & 0x00000001) != 0)) {
             permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_);
             bitField0_ |= 0x00000001;
            }
    @@ -483,7 +503,7 @@ public int getPermissionsCount() {
          *
          * repeated string permissions = 1;
          */
    -    public java.lang.String getPermissions(int index) {
    +    public String getPermissions(int index) {
           return permissions_.get(index);
         }
         /**
    @@ -507,7 +527,7 @@ public java.lang.String getPermissions(int index) {
          * repeated string permissions = 1;
          */
         public Builder setPermissions(
    -        int index, java.lang.String value) {
    +        int index, String value) {
           if (value == null) {
         throw new NullPointerException();
       }
    @@ -525,7 +545,7 @@ public Builder setPermissions(
          * repeated string permissions = 1;
          */
         public Builder addPermissions(
    -        java.lang.String value) {
    +        String value) {
           if (value == null) {
         throw new NullPointerException();
       }
    @@ -543,7 +563,7 @@ public Builder addPermissions(
          * repeated string permissions = 1;
          */
         public Builder addAllPermissions(
    -        java.lang.Iterable values) {
    +        Iterable values) {
           ensurePermissionsIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
               values, permissions_);
    @@ -583,11 +603,13 @@ public Builder addPermissionsBytes(
           onChanged();
           return this;
         }
    +    @Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
    -      return super.setUnknownFieldsProto3(unknownFields);
    +      return super.setUnknownFields(unknownFields);
         }
     
    +    @Override
         public final Builder mergeUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.mergeUnknownFields(unknownFields);
    @@ -598,17 +620,18 @@ public final Builder mergeUnknownFields(
       }
     
       // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsResponse)
    -  private static final com.google.iam.v1.TestIamPermissionsResponse DEFAULT_INSTANCE;
    +  private static final TestIamPermissionsResponse DEFAULT_INSTANCE;
       static {
    -    DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsResponse();
    +    DEFAULT_INSTANCE = new TestIamPermissionsResponse();
       }
     
    -  public static com.google.iam.v1.TestIamPermissionsResponse getDefaultInstance() {
    +  public static TestIamPermissionsResponse getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
       private static final com.google.protobuf.Parser
           PARSER = new com.google.protobuf.AbstractParser() {
    +    @Override
         public TestIamPermissionsResponse parsePartialFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -621,12 +644,13 @@ public static com.google.protobuf.Parser parser() {
         return PARSER;
       }
     
    -  @java.lang.Override
    +  @Override
       public com.google.protobuf.Parser getParserForType() {
         return PARSER;
       }
     
    -  public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() {
    +  @Override
    +  public TestIamPermissionsResponse getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
     
    diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java
    index efe201215831..bf0b513fb5b5 100644
    --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java
    +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java
    @@ -15,7 +15,7 @@ public interface TestIamPermissionsResponseOrBuilder extends
        *
        * repeated string permissions = 1;
        */
    -  java.util.List
    +  java.util.List
           getPermissionsList();
       /**
        * 
    @@ -34,7 +34,7 @@ public interface TestIamPermissionsResponseOrBuilder extends
        *
        * repeated string permissions = 1;
        */
    -  java.lang.String getPermissions(int index);
    +  String getPermissions(int index);
       /**
        * 
        * A subset of `TestPermissionsRequest.permissions` that the caller is
    diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java
    index 28ed47dcff6a..e248fdf2a171 100644
    --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java
    +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java
    @@ -24,7 +24,7 @@ private AuditData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       private AuditData() {
       }
     
    -  @java.lang.Override
    +  @Override
       public final com.google.protobuf.UnknownFieldSet
       getUnknownFields() {
         return this.unknownFields;
    @@ -35,7 +35,7 @@ private AuditData(
           throws com.google.protobuf.InvalidProtocolBufferException {
         this();
         if (extensionRegistry == null) {
    -      throw new java.lang.NullPointerException();
    +      throw new NullPointerException();
         }
         int mutable_bitField0_ = 0;
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
    @@ -48,13 +48,6 @@ private AuditData(
               case 0:
                 done = true;
                 break;
    -          default: {
    -            if (!parseUnknownFieldProto3(
    -                input, unknownFields, extensionRegistry, tag)) {
    -              done = true;
    -            }
    -            break;
    -          }
               case 18: {
                 com.google.iam.v1.PolicyDelta.Builder subBuilder = null;
                 if (policyDelta_ != null) {
    @@ -68,6 +61,13 @@ private AuditData(
     
                 break;
               }
    +          default: {
    +            if (!parseUnknownField(
    +                input, unknownFields, extensionRegistry, tag)) {
    +              done = true;
    +            }
    +            break;
    +          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    @@ -85,11 +85,12 @@ private AuditData(
         return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor;
       }
     
    -  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +  @Override
    +  protected FieldAccessorTable
           internalGetFieldAccessorTable() {
         return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            com.google.iam.v1.logging.AuditData.class, com.google.iam.v1.logging.AuditData.Builder.class);
    +            AuditData.class, Builder.class);
       }
     
       public static final int POLICY_DELTA_FIELD_NUMBER = 2;
    @@ -126,6 +127,7 @@ public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    +  @Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
         if (isInitialized == 1) return true;
    @@ -135,6 +137,7 @@ public final boolean isInitialized() {
         return true;
       }
     
    +  @Override
       public void writeTo(com.google.protobuf.CodedOutputStream output)
                           throws java.io.IOException {
         if (policyDelta_ != null) {
    @@ -143,6 +146,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         unknownFields.writeTo(output);
       }
     
    +  @Override
       public int getSerializedSize() {
         int size = memoizedSize;
         if (size != -1) return size;
    @@ -157,27 +161,26 @@ public int getSerializedSize() {
         return size;
       }
     
    -  @java.lang.Override
    -  public boolean equals(final java.lang.Object obj) {
    +  @Override
    +  public boolean equals(final Object obj) {
         if (obj == this) {
          return true;
         }
    -    if (!(obj instanceof com.google.iam.v1.logging.AuditData)) {
    +    if (!(obj instanceof AuditData)) {
           return super.equals(obj);
         }
    -    com.google.iam.v1.logging.AuditData other = (com.google.iam.v1.logging.AuditData) obj;
    +    AuditData other = (AuditData) obj;
     
    -    boolean result = true;
    -    result = result && (hasPolicyDelta() == other.hasPolicyDelta());
    +    if (hasPolicyDelta() != other.hasPolicyDelta()) return false;
         if (hasPolicyDelta()) {
    -      result = result && getPolicyDelta()
    -          .equals(other.getPolicyDelta());
    +      if (!getPolicyDelta()
    +          .equals(other.getPolicyDelta())) return false;
         }
    -    result = result && unknownFields.equals(other.unknownFields);
    -    return result;
    +    if (!unknownFields.equals(other.unknownFields)) return false;
    +    return true;
       }
     
    -  @java.lang.Override
    +  @Override
       public int hashCode() {
         if (memoizedHashCode != 0) {
           return memoizedHashCode;
    @@ -193,69 +196,69 @@ public int hashCode() {
         return hash;
       }
     
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           java.nio.ByteBuffer data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           java.nio.ByteBuffer data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(byte[] data)
    +  public static AuditData parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           byte[] data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(java.io.InputStream input)
    +  public static AuditData parseFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
    -  public static com.google.iam.v1.logging.AuditData parseDelimitedFrom(java.io.InputStream input)
    +  public static AuditData parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.logging.AuditData parseDelimitedFrom(
    +  public static AuditData parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           com.google.protobuf.CodedInputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input);
       }
    -  public static com.google.iam.v1.logging.AuditData parseFrom(
    +  public static AuditData parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    @@ -263,21 +266,23 @@ public static com.google.iam.v1.logging.AuditData parseFrom(
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
     
    +  @Override
       public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -  public static Builder newBuilder(com.google.iam.v1.logging.AuditData prototype) {
    +  public static Builder newBuilder(AuditData prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    +  @Override
       public Builder toBuilder() {
         return this == DEFAULT_INSTANCE
             ? new Builder() : new Builder().mergeFrom(this);
       }
     
    -  @java.lang.Override
    +  @Override
       protected Builder newBuilderForType(
    -      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +      BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
    @@ -299,11 +304,12 @@ public static final class Builder extends
           return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor;
         }
     
    -    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    +    @Override
    +    protected FieldAccessorTable
             internalGetFieldAccessorTable() {
           return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              com.google.iam.v1.logging.AuditData.class, com.google.iam.v1.logging.AuditData.Builder.class);
    +              AuditData.class, Builder.class);
         }
     
         // Construct using com.google.iam.v1.logging.AuditData.newBuilder()
    @@ -312,7 +318,7 @@ private Builder() {
         }
     
         private Builder(
    -        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    +        BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    @@ -321,6 +327,7 @@ private void maybeForceBuilderInitialization() {
                   .alwaysUseFieldBuilders) {
           }
         }
    +    @Override
         public Builder clear() {
           super.clear();
           if (policyDeltaBuilder_ == null) {
    @@ -332,25 +339,29 @@ public Builder clear() {
           return this;
         }
     
    +    @Override
         public com.google.protobuf.Descriptors.Descriptor
             getDescriptorForType() {
           return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor;
         }
     
    -    public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() {
    -      return com.google.iam.v1.logging.AuditData.getDefaultInstance();
    +    @Override
    +    public AuditData getDefaultInstanceForType() {
    +      return AuditData.getDefaultInstance();
         }
     
    -    public com.google.iam.v1.logging.AuditData build() {
    -      com.google.iam.v1.logging.AuditData result = buildPartial();
    +    @Override
    +    public AuditData build() {
    +      AuditData result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
           return result;
         }
     
    -    public com.google.iam.v1.logging.AuditData buildPartial() {
    -      com.google.iam.v1.logging.AuditData result = new com.google.iam.v1.logging.AuditData(this);
    +    @Override
    +    public AuditData buildPartial() {
    +      AuditData result = new AuditData(this);
           if (policyDeltaBuilder_ == null) {
             result.policyDelta_ = policyDelta_;
           } else {
    @@ -360,43 +371,50 @@ public com.google.iam.v1.logging.AuditData buildPartial() {
           return result;
         }
     
    +    @Override
         public Builder clone() {
    -      return (Builder) super.clone();
    +      return super.clone();
         }
    +    @Override
         public Builder setField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        java.lang.Object value) {
    -      return (Builder) super.setField(field, value);
    +        Object value) {
    +      return super.setField(field, value);
         }
    +    @Override
         public Builder clearField(
             com.google.protobuf.Descriptors.FieldDescriptor field) {
    -      return (Builder) super.clearField(field);
    +      return super.clearField(field);
         }
    +    @Override
         public Builder clearOneof(
             com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    -      return (Builder) super.clearOneof(oneof);
    +      return super.clearOneof(oneof);
         }
    +    @Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        int index, java.lang.Object value) {
    -      return (Builder) super.setRepeatedField(field, index, value);
    +        int index, Object value) {
    +      return super.setRepeatedField(field, index, value);
         }
    +    @Override
         public Builder addRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
    -        java.lang.Object value) {
    -      return (Builder) super.addRepeatedField(field, value);
    +        Object value) {
    +      return super.addRepeatedField(field, value);
         }
    +    @Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other instanceof com.google.iam.v1.logging.AuditData) {
    -        return mergeFrom((com.google.iam.v1.logging.AuditData)other);
    +      if (other instanceof AuditData) {
    +        return mergeFrom((AuditData)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(com.google.iam.v1.logging.AuditData other) {
    -      if (other == com.google.iam.v1.logging.AuditData.getDefaultInstance()) return this;
    +    public Builder mergeFrom(AuditData other) {
    +      if (other == AuditData.getDefaultInstance()) return this;
           if (other.hasPolicyDelta()) {
             mergePolicyDelta(other.getPolicyDelta());
           }
    @@ -405,19 +423,21 @@ public Builder mergeFrom(com.google.iam.v1.logging.AuditData other) {
           return this;
         }
     
    +    @Override
         public final boolean isInitialized() {
           return true;
         }
     
    +    @Override
         public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.iam.v1.logging.AuditData parsedMessage = null;
    +      AuditData parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (com.google.iam.v1.logging.AuditData) e.getUnfinishedMessage();
    +        parsedMessage = (AuditData) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -427,7 +447,7 @@ public Builder mergeFrom(
           return this;
         }
     
    -    private com.google.iam.v1.PolicyDelta policyDelta_ = null;
    +    private com.google.iam.v1.PolicyDelta policyDelta_;
         private com.google.protobuf.SingleFieldBuilderV3<
             com.google.iam.v1.PolicyDelta, com.google.iam.v1.PolicyDelta.Builder, com.google.iam.v1.PolicyDeltaOrBuilder> policyDeltaBuilder_;
         /**
    @@ -579,11 +599,13 @@ public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() {
           }
           return policyDeltaBuilder_;
         }
    +    @Override
         public final Builder setUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
    -      return super.setUnknownFieldsProto3(unknownFields);
    +      return super.setUnknownFields(unknownFields);
         }
     
    +    @Override
         public final Builder mergeUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.mergeUnknownFields(unknownFields);
    @@ -594,17 +616,18 @@ public final Builder mergeUnknownFields(
       }
     
       // @@protoc_insertion_point(class_scope:google.iam.v1.logging.AuditData)
    -  private static final com.google.iam.v1.logging.AuditData DEFAULT_INSTANCE;
    +  private static final AuditData DEFAULT_INSTANCE;
       static {
    -    DEFAULT_INSTANCE = new com.google.iam.v1.logging.AuditData();
    +    DEFAULT_INSTANCE = new AuditData();
       }
     
    -  public static com.google.iam.v1.logging.AuditData getDefaultInstance() {
    +  public static AuditData getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
       private static final com.google.protobuf.Parser
           PARSER = new com.google.protobuf.AbstractParser() {
    +    @Override
         public AuditData parsePartialFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    @@ -617,12 +640,13 @@ public static com.google.protobuf.Parser parser() {
         return PARSER;
       }
     
    -  @java.lang.Override
    +  @Override
       public com.google.protobuf.Parser getParserForType() {
         return PARSER;
       }
     
    -  public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() {
    +  @Override
    +  public AuditData getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
     
    diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java
    index cdc1bd880393..f769613e4b6d 100644
    --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java
    +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java
    @@ -27,7 +27,7 @@ public static void registerAllExtensions(
       private static  com.google.protobuf.Descriptors.FileDescriptor
           descriptor;
       static {
    -    java.lang.String[] descriptorData = {
    +    String[] descriptorData = {
           "\n&google/iam/v1/logging/audit_data.proto" +
           "\022\025google.iam.v1.logging\032\034google/api/anno" +
           "tations.proto\032\032google/iam/v1/policy.prot" +
    @@ -57,7 +57,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
         internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable = new
           com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
             internal_static_google_iam_v1_logging_AuditData_descriptor,
    -        new java.lang.String[] { "PolicyDelta", });
    +        new String[] { "PolicyDelta", });
         com.google.api.AnnotationsProto.getDescriptor();
         com.google.iam.v1.PolicyProto.getDescriptor();
       }
    diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto
    index a272fe8d7d9a..7fee0c39b405 100644
    --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto
    +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto
    @@ -1,4 +1,4 @@
    -// Copyright 2016 Google Inc.
    +// Copyright 2019 Google LLC.
     //
     // Licensed under the Apache License, Version 2.0 (the "License");
     // you may not use this file except in compliance with the License.
    @@ -11,13 +11,16 @@
     // 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";
     
     package google.iam.v1;
     
    -import "google/api/annotations.proto";
    +import "google/iam/v1/options.proto";
     import "google/iam/v1/policy.proto";
    +import "google/api/annotations.proto";
    +import "google/api/client.proto";
     
     option cc_enable_arenas = true;
     option csharp_namespace = "Google.Cloud.Iam.V1";
    @@ -27,7 +30,6 @@ option java_outer_classname = "IamPolicyProto";
     option java_package = "com.google.iam.v1";
     option php_namespace = "Google\\Cloud\\Iam\\V1";
     
    -
     // ## API Overview
     //
     // Manages Identity and Access Management (IAM) policies.
    @@ -54,32 +56,46 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
     // are created and deleted implicitly with the resources to which they are
     // attached.
     service IAMPolicy {
    +  option (google.api.default_host) = "iam-meta-api.googleapis.com";
    +
       // Sets the access control policy on the specified resource. Replaces any
       // existing policy.
       rpc SetIamPolicy(SetIamPolicyRequest) returns (Policy) {
    -    option (google.api.http) = { post: "/v1/{resource=**}:setIamPolicy" body: "*" };
    +    option (google.api.http) = {
    +      post: "/v1/{resource=**}:setIamPolicy"
    +      body: "*"
    +    };
       }
     
       // Gets the access control policy for a resource.
       // Returns an empty policy if the resource exists and does not have a policy
       // set.
       rpc GetIamPolicy(GetIamPolicyRequest) returns (Policy) {
    -    option (google.api.http) = { post: "/v1/{resource=**}:getIamPolicy" body: "*" };
    +    option (google.api.http) = {
    +      post: "/v1/{resource=**}:getIamPolicy"
    +      body: "*"
    +    };
       }
     
       // Returns permissions that a caller has on the specified resource.
       // If the resource does not exist, this will return an empty set of
       // permissions, not a NOT_FOUND error.
    +  //
    +  // Note: This operation is designed to be used for building permission-aware
    +  // UIs and command-line tools, not for authorization checking. This operation
    +  // may "fail open" without warning.
       rpc TestIamPermissions(TestIamPermissionsRequest) returns (TestIamPermissionsResponse) {
    -    option (google.api.http) = { post: "/v1/{resource=**}:testIamPermissions" body: "*" };
    +    option (google.api.http) = {
    +      post: "/v1/{resource=**}:testIamPermissions"
    +      body: "*"
    +    };
       }
     }
     
     // Request message for `SetIamPolicy` method.
     message SetIamPolicyRequest {
       // REQUIRED: The resource for which the policy is being specified.
    -  // `resource` is usually specified as a path. For example, a Project
    -  // resource is specified as `projects/{project}`.
    +  // See the operation documentation for the appropriate value for this field.
       string resource = 1;
     
       // REQUIRED: The complete policy to be applied to the `resource`. The size of
    @@ -92,16 +108,18 @@ message SetIamPolicyRequest {
     // Request message for `GetIamPolicy` method.
     message GetIamPolicyRequest {
       // REQUIRED: The resource for which the policy is being requested.
    -  // `resource` is usually specified as a path. For example, a Project
    -  // resource is specified as `projects/{project}`.
    +  // See the operation documentation for the appropriate value for this field.
       string resource = 1;
    +
    +  // OPTIONAL: A `GetPolicyOptions` object for specifying options to
    +  // `GetIamPolicy`. This field is only used by Cloud IAM.
    +  GetPolicyOptions options = 2;
     }
     
     // Request message for `TestIamPermissions` method.
     message TestIamPermissionsRequest {
       // REQUIRED: The resource for which the policy detail is being requested.
    -  // `resource` is usually specified as a path. For example, a Project
    -  // resource is specified as `projects/{project}`.
    +  // See the operation documentation for the appropriate value for this field.
       string resource = 1;
     
       // The set of permissions to check for the `resource`. Permissions with
    diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto
    index d3f803fe518d..dfe441ba6635 100644
    --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto
    +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto
    @@ -25,7 +25,6 @@ option java_multiple_files = true;
     option java_outer_classname = "AuditDataProto";
     option java_package = "com.google.iam.v1.logging";
     
    -
     // Audit log information specific to Cloud IAM. This message is serialized
     // as an `Any` type in the `ServiceData` message of an
     // `AuditLog` message.
    diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto
    new file mode 100644
    index 000000000000..a4e17e588db4
    --- /dev/null
    +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto
    @@ -0,0 +1,41 @@
    +// Copyright 2019 Google LLC.
    +//
    +// Licensed under the Apache License, Version 2.0 (the "License");
    +// you may not use this file except in compliance with the License.
    +// You may obtain a copy of the License at
    +//
    +//     http://www.apache.org/licenses/LICENSE-2.0
    +//
    +// Unless required by applicable law or agreed to in writing, software
    +// distributed under the License is distributed on an "AS IS" BASIS,
    +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +// See the License for the specific language governing permissions and
    +// limitations under the License.
    +//
    +
    +syntax = "proto3";
    +
    +package google.iam.v1;
    +
    +import "google/api/annotations.proto";
    +
    +option cc_enable_arenas = true;
    +option csharp_namespace = "Google.Cloud.Iam.V1";
    +option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam";
    +option java_multiple_files = true;
    +option java_outer_classname = "OptionsProto";
    +option java_package = "com.google.iam.v1";
    +option php_namespace = "Google\\Cloud\\Iam\\V1";
    +
    +// Encapsulates settings provided to GetIamPolicy.
    +message GetPolicyOptions {
    +  // Optional. The policy format version to be returned.
    +  //
    +  // Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +  // rejected.
    +  //
    +  // Requests for policies with any conditional bindings must specify version 3.
    +  // Policies without any conditional bindings may specify any valid value or
    +  // leave the field unset.
    +  int32 requested_policy_version = 1;
    +}
    diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto
    index 9c31ccb14b1e..1676ad488b55 100644
    --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto
    +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto
    @@ -1,4 +1,4 @@
    -// Copyright 2016 Google Inc.
    +// Copyright 2019 Google LLC.
     //
     // Licensed under the Apache License, Version 2.0 (the "License");
     // you may not use this file except in compliance with the License.
    @@ -11,11 +11,13 @@
     // 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";
     
     package google.iam.v1;
     
    +import "google/type/expr.proto";
     import "google/api/annotations.proto";
     
     option cc_enable_arenas = true;
    @@ -26,44 +28,81 @@ option java_outer_classname = "PolicyProto";
     option java_package = "com.google.iam.v1";
     option php_namespace = "Google\\Cloud\\Iam\\V1";
     
    -
     // Defines an Identity and Access Management (IAM) policy. It is used to
     // specify access control policies for Cloud Platform resources.
     //
     //
    -// A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
    -// `members` to a `role`, where the members can be user accounts, Google groups,
    -// Google domains, and service accounts. A `role` is a named list of permissions
    -// defined by IAM.
    +// A `Policy` is a collection of `bindings`. A `binding` binds one or more
    +// `members` to a single `role`. Members can be user accounts, service accounts,
    +// Google groups, and domains (such as G Suite). A `role` is a named list of
    +// permissions (defined by IAM or configured by users). A `binding` can
    +// optionally specify a `condition`, which is a logic expression that further
    +// constrains the role binding based on attributes about the request and/or
    +// target resource.
     //
    -// **Example**
    +// **JSON Example**
     //
     //     {
     //       "bindings": [
     //         {
    -//           "role": "roles/owner",
    +//           "role": "roles/resourcemanager.organizationAdmin",
     //           "members": [
     //             "user:mike@example.com",
     //             "group:admins@example.com",
     //             "domain:google.com",
    -//             "serviceAccount:my-other-app@appspot.gserviceaccount.com",
    +//             "serviceAccount:my-project-id@appspot.gserviceaccount.com"
     //           ]
     //         },
     //         {
    -//           "role": "roles/viewer",
    -//           "members": ["user:sean@example.com"]
    +//           "role": "roles/resourcemanager.organizationViewer",
    +//           "members": ["user:eve@example.com"],
    +//           "condition": {
    +//             "title": "expirable access",
    +//             "description": "Does not grant access after Sep 2020",
    +//             "expression": "request.time <
    +//             timestamp('2020-10-01T00:00:00.000Z')",
    +//           }
     //         }
     //       ]
     //     }
     //
    +// **YAML Example**
    +//
    +//     bindings:
    +//     - members:
    +//       - user:mike@example.com
    +//       - group:admins@example.com
    +//       - domain:google.com
    +//       - serviceAccount:my-project-id@appspot.gserviceaccount.com
    +//       role: roles/resourcemanager.organizationAdmin
    +//     - members:
    +//       - user:eve@example.com
    +//       role: roles/resourcemanager.organizationViewer
    +//       condition:
    +//         title: expirable access
    +//         description: Does not grant access after Sep 2020
    +//         expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
    +//
     // For a description of IAM and its features, see the
    -// [IAM developer's guide](https://cloud.google.com/iam).
    +// [IAM developer's guide](https://cloud.google.com/iam/docs).
     message Policy {
    -  // Version of the `Policy`. The default version is 0.
    +  // Specifies the format of the policy.
    +  //
    +  // Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    +  // rejected.
    +  //
    +  // Operations affecting conditional bindings must specify version 3. This can
    +  // be either setting a conditional policy, modifying a conditional binding,
    +  // or removing a conditional binding from the stored conditional policy.
    +  // Operations on non-conditional policies may specify any valid value or
    +  // leave the field unset.
    +  //
    +  // If no etag is provided in the call to `setIamPolicy`, any version
    +  // compliance checks on the incoming and/or stored policy is skipped.
       int32 version = 1;
     
    -  // Associates a list of `members` to a `role`.
    -  // Multiple `bindings` must not be specified for the same `role`.
    +  // Associates a list of `members` to a `role`. Optionally may specify a
    +  // `condition` that determines when binding is in effect.
       // `bindings` with no members will result in an error.
       repeated Binding bindings = 4;
     
    @@ -76,7 +115,9 @@ message Policy {
       // ensure that their change will be applied to the same version of the policy.
       //
       // If no `etag` is provided in the call to `setIamPolicy`, then the existing
    -  // policy is overwritten blindly.
    +  // policy is overwritten. Due to blind-set semantics of an etag-less policy,
    +  // 'setIamPolicy' will not fail even if either of incoming or stored policy
    +  // does not meet the version requirements.
       bytes etag = 3;
     }
     
    @@ -84,7 +125,6 @@ message Policy {
     message Binding {
       // Role that is assigned to `members`.
       // For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -  // Required
       string role = 1;
     
       // Specifies the identities requesting access for a Cloud Platform resource.
    @@ -97,7 +137,7 @@ message Binding {
       //    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@gmail.com` or `joe@example.com`.
    +  //    account. For example, `alice@example.com` .
       //
       //
       // * `serviceAccount:{emailid}`: An email address that represents a service
    @@ -106,17 +146,27 @@ message Binding {
       // * `group:{emailid}`: An email address that represents a Google group.
       //    For example, `admins@example.com`.
       //
    -  // * `domain:{domain}`: A Google Apps domain name that represents all the
    +  //
    +  // * `domain:{domain}`: The G Suite domain (primary) that represents all the
       //    users of that domain. For example, `google.com` or `example.com`.
       //
       //
       repeated string members = 2;
    +
    +  // The condition that is associated with this binding.
    +  // NOTE: An unsatisfied condition will not allow user access via current
    +  // binding. Different bindings, including their conditions, are examined
    +  // independently.
    +  google.type.Expr condition = 3;
     }
     
     // The difference delta between two policies.
     message PolicyDelta {
       // The delta for Bindings between two policies.
       repeated BindingDelta binding_deltas = 1;
    +
    +  // The delta for AuditConfigs between two policies.
    +  repeated AuditConfigDelta audit_config_deltas = 2;
     }
     
     // One delta entry for Binding. Each individual change (only one member in each
    @@ -147,4 +197,43 @@ message BindingDelta {
       // Follows the same format of Binding.members.
       // Required
       string member = 3;
    +
    +  // The condition that is associated with this binding.
    +  google.type.Expr condition = 4;
    +}
    +
    +// One delta entry for AuditConfig. Each individual change (only one
    +// exempted_member in each entry) to a AuditConfig will be a separate entry.
    +message AuditConfigDelta {
    +  // The type of action performed on an audit configuration in a policy.
    +  enum Action {
    +    // Unspecified.
    +    ACTION_UNSPECIFIED = 0;
    +
    +    // Addition of an audit configuration.
    +    ADD = 1;
    +
    +    // Removal of an audit configuration.
    +    REMOVE = 2;
    +  }
    +
    +  // The action that was performed on an audit configuration in a policy.
    +  // Required
    +  Action action = 1;
    +
    +  // Specifies a service that was configured for Cloud Audit Logging.
    +  // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +  // `allServices` is a special value that covers all services.
    +  // Required
    +  string service = 2;
    +
    +  // A single identity that is exempted from "data access" audit
    +  // logging for the `service` specified above.
    +  // Follows the same format of Binding.members.
    +  string exempted_member = 3;
    +
    +  // Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    +  // enabled, and cannot be configured.
    +  // Required
    +  string log_type = 4;
     }
    
    From 77c9f24add10e03d2de1ddf2205da2e2a7e166ba Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Tue, 8 Oct 2019 20:12:59 +0300
    Subject: [PATCH 0722/3036] chore(deps): update dependency
     com.google.code.gson:gson to v2.8.6 (#49)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 3ffc931b993d..6b54382cd8fa 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -172,7 +172,7 @@
         2.6
         2.3.3
         1.6.6
    -    2.8.5
    +    2.8.6
       
     
       
    
    From e4270bd014b3a4ece107bb281e26b9058dc6b69d Mon Sep 17 00:00:00 2001
    From: Elliotte Rusty Harold 
    Date: Tue, 8 Oct 2019 13:35:30 -0400
    Subject: [PATCH 0723/3036] fix: try to keep autovalue out of the runtime time
     classpath (#48)
    
    * try to keep autovalue out of the compile time classpath
    
    * remove autovalue dependency
    ---
     java-core/pom.xml | 6 ------
     1 file changed, 6 deletions(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 6b54382cd8fa..fd5d306548f5 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -171,7 +171,6 @@
         1.3.3
         2.6
         2.3.3
    -    1.6.6
         2.8.6
       
     
    @@ -281,11 +280,6 @@
             error_prone_annotations
             ${errorprone.version}
           
    -      
    -        com.google.auto.value
    -        auto-value-annotations
    -        ${autovalue.version}
    -      
           
             com.google.code.gson
             gson
    
    From e9f70a9ac91dd23761d32080056bf18a566787ec Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Tue, 8 Oct 2019 20:35:56 +0300
    Subject: [PATCH 0724/3036] build: update dependency
     com.google.cloud:google-cloud-shared-config to v0.2.1 (#51)
    
    ---
     java-core/google-cloud-core-bom/pom.xml | 2 +-
     java-core/pom.xml                       | 2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index c3300e8d5c89..132f8da5c1e1 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -8,7 +8,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.1.3
    +    0.2.1
       
     
       Google Cloud Core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index fd5d306548f5..92dd4a5a70c4 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -14,7 +14,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.1.3
    +    0.2.1
       
     
       
    
    From 749980a03c100911e166e5d28339587435bfea32 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Tue, 8 Oct 2019 10:36:53 -0700
    Subject: [PATCH 0725/3036] chore: update renovate and release-please configs
     (#52)
    
    ---
     java-core/.github/release-please.yml | 2 +-
     java-core/renovate.json              | 2 +-
     java-core/synth.metadata             | 2 +-
     3 files changed, 3 insertions(+), 3 deletions(-)
    
    diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml
    index 8b137891791f..827446828034 100644
    --- a/java-core/.github/release-please.yml
    +++ b/java-core/.github/release-please.yml
    @@ -1 +1 @@
    -
    +releaseType: java-yoshi
    diff --git a/java-core/renovate.json b/java-core/renovate.json
    index ff6ecf0afaa5..99810470034c 100644
    --- a/java-core/renovate.json
    +++ b/java-core/renovate.json
    @@ -6,7 +6,7 @@
       "packageRules": [
         {
           "managers": ["maven"],
    -      "packageNames": ["com.google.guava:guava"],
    +      "packageNames": ["com.google.guava:guava*"],
           "versionScheme": "docker"
         },
         {
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index e141336c142b..96f1941c572e 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-10-01T07:59:43.128003Z",
    +  "updateTime": "2019-10-08T08:10:24.878207Z",
       "sources": [
         {
           "template": {
    
    From aacb02e978dd640201e009824c1e287acfda2cf9 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Tue, 8 Oct 2019 21:10:42 +0300
    Subject: [PATCH 0726/3036] deps: update dependency
     com.google.api.grpc:proto-google-common-protos to v1.17.0 (#50)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 92dd4a5a70c4..9691ca64625a 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -154,7 +154,7 @@
     
         1.49.0
         1.8.1
    -    1.16.0
    +    1.17.0
         0.13.0
         0.17.2
         1.30.4
    
    From 2fc59701db1b9bb58740f78dcb3521fd33c81e9b Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Tue, 8 Oct 2019 15:29:55 -0700
    Subject: [PATCH 0727/3036] chore: release 1.91.3-SNAPSHOT (#53)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 132f8da5c1e1..8a10de9d2d5a 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.91.2
    +  1.91.3-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.91.2
    +        1.91.3-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.91.2
    +        1.91.3-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.91.2
    +        1.91.3-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 04543f54c88a..f41daa4ac531 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
    -  1.91.2
    +  1.91.3-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.2
    +    1.91.3-SNAPSHOT
       
       
         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 b5efd7730b1a..9baf1bbc6add 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
    -  1.91.2
    +  1.91.3-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.2
    +    1.91.3-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 0bc9b5f26514..9c7f2c4dfd1c 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
    -  1.91.2
    +  1.91.3-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.2
    +    1.91.3-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 9691ca64625a..5fa354cefa21 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.91.2
    +  1.91.3-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index bccb841d3102..c93296c805f6 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.91.2:1.91.2
    \ No newline at end of file
    +google-cloud-core:1.91.2:1.91.3-SNAPSHOT
    \ No newline at end of file
    
    From 6416fc287adff1cb2512443041fae9ad1b43a0c3 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Wed, 9 Oct 2019 08:38:54 -0700
    Subject: [PATCH 0728/3036] chore: fix issue template (#54)
    
    ---
     java-core/.github/ISSUE_TEMPLATE/bug_report.md | 4 ++--
     java-core/synth.metadata                       | 2 +-
     2 files changed, 3 insertions(+), 3 deletions(-)
    
    diff --git a/java-core/.github/ISSUE_TEMPLATE/bug_report.md b/java-core/.github/ISSUE_TEMPLATE/bug_report.md
    index d81d43b1a6e4..ac0d0496c9e8 100644
    --- a/java-core/.github/ISSUE_TEMPLATE/bug_report.md
    +++ b/java-core/.github/ISSUE_TEMPLATE/bug_report.md
    @@ -10,7 +10,7 @@ Thanks for stopping by to let us know something could be better!
     
     Please run down the following list and make sure you've tried the usual "quick fixes":
     
    -  - Search the issues already opened: https://github.com/googleapis/google-cloud-core/issues
    +  - Search the issues already opened: https://github.com/googleapis/java-core/issues
       - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform
     
     If you are still having issues, please include as much information as possible:
    @@ -48,4 +48,4 @@ Any relevant stacktrace here.
     
     Following these steps guarantees the quickest resolution possible.
     
    -Thanks!
    \ No newline at end of file
    +Thanks!
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index 96f1941c572e..9868e872fe91 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-10-08T08:10:24.878207Z",
    +  "updateTime": "2019-10-09T08:01:46.901757Z",
       "sources": [
         {
           "template": {
    
    From 4e9ec798b149e0ac5eb06455a1fb7de7d86cc7ce Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Wed, 9 Oct 2019 23:12:36 +0300
    Subject: [PATCH 0729/3036] deps: update dependency
     com.google.auth:google-auth-library-bom to v0.18.0 (#56)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 5fa354cefa21..5fb3d49a97d0 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -156,7 +156,7 @@
         1.8.1
         1.17.0
         0.13.0
    -    0.17.2
    +    0.18.0
         1.30.4
         1.32.1
         1.24.0
    
    From 99e71965346347d9d3db320d4b99c994628fe7a6 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Wed, 16 Oct 2019 09:03:19 -0700
    Subject: [PATCH 0730/3036] chore: ensure snapshot build only builds snapshots
     (#58)
    
    ---
     java-core/.kokoro/release/snapshot.sh | 5 ++++-
     java-core/synth.metadata              | 2 +-
     2 files changed, 5 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/.kokoro/release/snapshot.sh b/java-core/.kokoro/release/snapshot.sh
    index bf738c56dd8d..098168a7373c 100755
    --- a/java-core/.kokoro/release/snapshot.sh
    +++ b/java-core/.kokoro/release/snapshot.sh
    @@ -19,6 +19,9 @@ source $(dirname "$0")/common.sh
     MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml
     pushd $(dirname "$0")/../../
     
    +# ensure we're trying to push a snapshot (no-result returns non-zero exit code)
    +grep SNAPSHOT versions.txt
    +
     setup_environment_secrets
     create_settings_xml_file "settings.xml"
     
    @@ -27,4 +30,4 @@ mvn clean install deploy -B \
       -DperformRelease=true \
       -Dgpg.executable=gpg \
       -Dgpg.passphrase=${GPG_PASSPHRASE} \
    -  -Dgpg.homedir=${GPG_HOMEDIR}
    \ No newline at end of file
    +  -Dgpg.homedir=${GPG_HOMEDIR}
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index 9868e872fe91..ea3d68f66b28 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-10-09T08:01:46.901757Z",
    +  "updateTime": "2019-10-15T08:05:27.085059Z",
       "sources": [
         {
           "template": {
    
    From 643da20211a813fcaa213d5c839c05122f072058 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Thu, 17 Oct 2019 12:22:14 -0700
    Subject: [PATCH 0731/3036] chore: update common templates (#61)
    
    ---
     java-core/.kokoro/build.sh              |  2 ++
     java-core/.kokoro/coerce_logs.sh        | 36 +++++++++++++++++++++++++
     java-core/.kokoro/continuous/common.cfg |  1 +
     java-core/.kokoro/nightly/common.cfg    |  1 +
     java-core/.kokoro/presubmit/common.cfg  |  1 +
     java-core/.kokoro/release/stage.sh      |  1 +
     java-core/synth.metadata                |  2 +-
     7 files changed, 43 insertions(+), 1 deletion(-)
     create mode 100755 java-core/.kokoro/coerce_logs.sh
    
    diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh
    index 2ffb5ef7f070..bcd1e410c5a6 100755
    --- a/java-core/.kokoro/build.sh
    +++ b/java-core/.kokoro/build.sh
    @@ -39,6 +39,7 @@ case ${JOB_TYPE} in
     test)
         mvn test -B
         bash ${KOKORO_GFILE_DIR}/codecov.sh
    +    bash .kokoro/coerce_logs.sh
         ;;
     lint)
         mvn com.coveo:fmt-maven-plugin:check
    @@ -48,6 +49,7 @@ javadoc)
         ;;
     integration)
         mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify
    +    bash .kokoro/coerce_logs.sh
         ;;
     *)
         ;;
    diff --git a/java-core/.kokoro/coerce_logs.sh b/java-core/.kokoro/coerce_logs.sh
    new file mode 100755
    index 000000000000..429767ab6429
    --- /dev/null
    +++ b/java-core/.kokoro/coerce_logs.sh
    @@ -0,0 +1,36 @@
    +#!/bin/bash
    +# Copyright 2019 Google LLC
    +#
    +# Licensed under the Apache License, Version 2.0 (the "License");
    +# you may not use this file except in compliance with the License.
    +# You may obtain a copy of the License at
    +#
    +#      http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing, software
    +# distributed under the License is distributed on an "AS IS" BASIS,
    +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +# See the License for the specific language governing permissions and
    +# limitations under the License.
    +
    +# This script finds and moves sponge logs so that they can be found by placer
    +# and are not flagged as flaky by sponge.
    +
    +set -eo pipefail
    +
    +## Get the directory of the build script
    +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
    +## cd to the parent directory, i.e. the root of the git repo
    +cd ${scriptDir}/..
    +
    +echo "coercing sponge logs..."
    +for xml in `find . -name *-sponge_log.xml`
    +do
    +  echo "processing ${xml}"
    +  class=$(basename ${xml} | cut -d- -f2)
    +  dir=$(dirname ${xml})/${class}
    +  text=$(dirname ${xml})/${class}-sponge_log.txt
    +  mkdir -p ${dir}
    +  mv ${xml} ${dir}/sponge_log.xml
    +  mv ${text} ${dir}/sponge_log.txt
    +done
    diff --git a/java-core/.kokoro/continuous/common.cfg b/java-core/.kokoro/continuous/common.cfg
    index af5a907dc468..0ce89acac326 100644
    --- a/java-core/.kokoro/continuous/common.cfg
    +++ b/java-core/.kokoro/continuous/common.cfg
    @@ -4,6 +4,7 @@
     action {
       define_artifacts {
         regex: "**/*sponge_log.xml"
    +    regex: "**/*sponge_log.txt"
       }
     }
     
    diff --git a/java-core/.kokoro/nightly/common.cfg b/java-core/.kokoro/nightly/common.cfg
    index af5a907dc468..0ce89acac326 100644
    --- a/java-core/.kokoro/nightly/common.cfg
    +++ b/java-core/.kokoro/nightly/common.cfg
    @@ -4,6 +4,7 @@
     action {
       define_artifacts {
         regex: "**/*sponge_log.xml"
    +    regex: "**/*sponge_log.txt"
       }
     }
     
    diff --git a/java-core/.kokoro/presubmit/common.cfg b/java-core/.kokoro/presubmit/common.cfg
    index 4ba4e252c516..dd8a9f76688e 100644
    --- a/java-core/.kokoro/presubmit/common.cfg
    +++ b/java-core/.kokoro/presubmit/common.cfg
    @@ -4,6 +4,7 @@
     action {
       define_artifacts {
         regex: "**/*sponge_log.xml"
    +    regex: "**/*sponge_log.txt"
       }
     }
     
    diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh
    index b1b1b01c6623..3c482cbc55f1 100755
    --- a/java-core/.kokoro/release/stage.sh
    +++ b/java-core/.kokoro/release/stage.sh
    @@ -28,6 +28,7 @@ create_settings_xml_file "settings.xml"
     
     mvn clean install deploy -B \
       --settings ${MAVEN_SETTINGS_FILE} \
    +  -DskipTests=true \
       -DperformRelease=true \
       -Dgpg.executable=gpg \
       -Dgpg.passphrase=${GPG_PASSPHRASE} \
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index ea3d68f66b28..cac8ca92b05b 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-10-15T08:05:27.085059Z",
    +  "updateTime": "2019-10-17T18:16:06.289100Z",
       "sources": [
         {
           "template": {
    
    From 07a15919ced2773ff8e583de029d899bffae664c Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Thu, 17 Oct 2019 13:47:43 -0700
    Subject: [PATCH 0732/3036] build: fix log location (#63)
    
    ---
     java-core/.kokoro/coerce_logs.sh | 4 +++-
     java-core/synth.metadata         | 2 +-
     2 files changed, 4 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/.kokoro/coerce_logs.sh b/java-core/.kokoro/coerce_logs.sh
    index 429767ab6429..5cf7ba49e6bb 100755
    --- a/java-core/.kokoro/coerce_logs.sh
    +++ b/java-core/.kokoro/coerce_logs.sh
    @@ -23,12 +23,14 @@ scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}"))
     ## cd to the parent directory, i.e. the root of the git repo
     cd ${scriptDir}/..
     
    +job=$(basename ${KOKORO_JOB_NAME})
    +
     echo "coercing sponge logs..."
     for xml in `find . -name *-sponge_log.xml`
     do
       echo "processing ${xml}"
       class=$(basename ${xml} | cut -d- -f2)
    -  dir=$(dirname ${xml})/${class}
    +  dir=$(dirname ${xml})/${job}/${class}
       text=$(dirname ${xml})/${class}-sponge_log.txt
       mkdir -p ${dir}
       mv ${xml} ${dir}/sponge_log.xml
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index cac8ca92b05b..df8cb2a857f9 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-10-17T18:16:06.289100Z",
    +  "updateTime": "2019-10-17T20:33:19.417356Z",
       "sources": [
         {
           "template": {
    
    From 0a2c8724ca75eb7e7fb427287635e4e2352802fb Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Mon, 21 Oct 2019 15:09:50 -0700
    Subject: [PATCH 0733/3036] build: move clirr to separate check (#64)
    
    ---
     java-core/.kokoro/build.sh            |  8 ++++++--
     java-core/.kokoro/presubmit/clirr.cfg | 13 +++++++++++++
     java-core/synth.metadata              |  4 ++--
     3 files changed, 21 insertions(+), 4 deletions(-)
     create mode 100644 java-core/.kokoro/presubmit/clirr.cfg
    
    diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh
    index bcd1e410c5a6..fa132f410dcc 100755
    --- a/java-core/.kokoro/build.sh
    +++ b/java-core/.kokoro/build.sh
    @@ -26,6 +26,7 @@ echo ${JOB_TYPE}
     
     mvn install -B -V \
       -DskipTests=true \
    +  -Dclirr.skip=true \
       -Dmaven.javadoc.skip=true \
       -Dgcloud.download.skip=true \
       -T 1C
    @@ -37,7 +38,7 @@ fi
     
     case ${JOB_TYPE} in
     test)
    -    mvn test -B
    +    mvn test -B -Dclirr.skip=true
         bash ${KOKORO_GFILE_DIR}/codecov.sh
         bash .kokoro/coerce_logs.sh
         ;;
    @@ -48,9 +49,12 @@ javadoc)
         mvn javadoc:javadoc javadoc:test-javadoc
         ;;
     integration)
    -    mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -fae verify
    +    mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify
         bash .kokoro/coerce_logs.sh
         ;;
    +clirr)
    +    mvn -B clirr:check
    +    ;;
     *)
         ;;
     esac
    \ No newline at end of file
    diff --git a/java-core/.kokoro/presubmit/clirr.cfg b/java-core/.kokoro/presubmit/clirr.cfg
    new file mode 100644
    index 000000000000..ec572442e2e7
    --- /dev/null
    +++ b/java-core/.kokoro/presubmit/clirr.cfg
    @@ -0,0 +1,13 @@
    +# Format: //devtools/kokoro/config/proto/build.proto
    +
    +# Configure the docker image for kokoro-trampoline.
    +
    +env_vars: {
    +  key: "TRAMPOLINE_IMAGE"
    +  value: "gcr.io/cloud-devrel-kokoro-resources/java8"
    +}
    +
    +env_vars: {
    +  key: "JOB_TYPE"
    +  value: "clirr"
    +}
    \ No newline at end of file
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index df8cb2a857f9..3841938ac052 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,11 +1,11 @@
     {
    -  "updateTime": "2019-10-17T20:33:19.417356Z",
    +  "updateTime": "2019-10-19T07:59:22.603125Z",
       "sources": [
         {
           "template": {
             "name": "java_library",
             "origin": "synthtool.gcp",
    -        "version": "2019.5.2"
    +        "version": "2019.10.17"
           }
         }
       ]
    
    From ab912fc202d937985ab138cacd2e95977a47045a Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Wed, 23 Oct 2019 22:44:57 +0300
    Subject: [PATCH 0734/3036] deps: update dependency io.grpc:grpc-bom to v1.24.1
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 5fb3d49a97d0..ec6ae4637c3d 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -159,7 +159,7 @@
         0.18.0
         1.30.4
         1.32.1
    -    1.24.0
    +    1.24.1
         3.10.0
         0.24.0
         1.3.2
    
    From 7dc88dfe3c7666a34a095df1137de432be02befd Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Wed, 23 Oct 2019 23:40:49 +0300
    Subject: [PATCH 0735/3036] deps: update dependency com.google.api:gax-bom to
     v1.49.1 (#65)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index ec6ae4637c3d..0ebb20884aa1 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -152,7 +152,7 @@
         github
         google-cloud-core-parent
     
    -    1.49.0
    +    1.49.1
         1.8.1
         1.17.0
         0.13.0
    
    From e894db7dbe3bf945459c566785e1a83479332baf Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Wed, 23 Oct 2019 13:47:11 -0700
    Subject: [PATCH 0736/3036] chore: release 1.91.3 (#55)
    
    * updated CHANGELOG.md [ci skip]
    
    * updated README.md [ci skip]
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/CHANGELOG.md                   | 15 +++++++++++++++
     java-core/google-cloud-core-bom/pom.xml  |  8 ++++----
     java-core/google-cloud-core-grpc/pom.xml |  4 ++--
     java-core/google-cloud-core-http/pom.xml |  4 ++--
     java-core/google-cloud-core/pom.xml      |  4 ++--
     java-core/pom.xml                        |  2 +-
     java-core/versions.txt                   |  2 +-
     7 files changed, 27 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md
    index ccbe62f95372..4eb8233eb088 100644
    --- a/java-core/CHANGELOG.md
    +++ b/java-core/CHANGELOG.md
    @@ -1,5 +1,20 @@
     # Changelog
     
    +### [1.91.3](https://www.github.com/googleapis/java-core/compare/v1.91.2...v1.91.3) (2019-10-23)
    +
    +
    +### Bug Fixes
    +
    +* try to keep autovalue out of the runtime time classpath ([#48](https://www.github.com/googleapis/java-core/issues/48)) ([0988c27](https://www.github.com/googleapis/java-core/commit/0988c27b01461a0b8c02ac0f9def5b409c56980c))
    +
    +
    +### Dependencies
    +
    +* update dependency com.google.api:gax-bom to v1.49.1 ([#65](https://www.github.com/googleapis/java-core/issues/65)) ([131a0fd](https://www.github.com/googleapis/java-core/commit/131a0fd52bebdd217bdcb288374127cef7889692))
    +* update dependency com.google.api.grpc:proto-google-common-protos to v1.17.0 ([#50](https://www.github.com/googleapis/java-core/issues/50)) ([3ba5512](https://www.github.com/googleapis/java-core/commit/3ba55124247b82061781c4ae0acb08cec239afe4))
    +* update dependency com.google.auth:google-auth-library-bom to v0.18.0 ([#56](https://www.github.com/googleapis/java-core/issues/56)) ([ab25f15](https://www.github.com/googleapis/java-core/commit/ab25f153021f73b5f0ce5cc2cf0b53d42a1871c7))
    +* update dependency io.grpc:grpc-bom to v1.24.1 ([07fefbb](https://www.github.com/googleapis/java-core/commit/07fefbb38de93c2b3b5095bc5432bc5161bb7094))
    +
     ### [1.91.2](https://www.github.com/googleapis/java-core/compare/v1.91.1...v1.91.2) (2019-09-30)
     
     
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 8a10de9d2d5a..fc33e9424531 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.91.3-SNAPSHOT
    +  1.91.3
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.91.3-SNAPSHOT
    +        1.91.3
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.91.3-SNAPSHOT
    +        1.91.3
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.91.3-SNAPSHOT
    +        1.91.3
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index f41daa4ac531..f95e7579718c 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
    -  1.91.3-SNAPSHOT
    +  1.91.3
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.3-SNAPSHOT
    +    1.91.3
       
       
         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 9baf1bbc6add..f9df33bf3cc2 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
    -  1.91.3-SNAPSHOT
    +  1.91.3
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.3-SNAPSHOT
    +    1.91.3
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 9c7f2c4dfd1c..d0e53e22e119 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
    -  1.91.3-SNAPSHOT
    +  1.91.3
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.3-SNAPSHOT
    +    1.91.3
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 0ebb20884aa1..1b025878ccf9 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.91.3-SNAPSHOT
    +  1.91.3
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index c93296c805f6..eaac9cb3afd0 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.91.2:1.91.3-SNAPSHOT
    \ No newline at end of file
    +google-cloud-core:1.91.3:1.91.3
    \ No newline at end of file
    
    From 1ab5369e041c72743a4043e1ffde35f86040b0be Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Wed, 23 Oct 2019 15:26:17 -0700
    Subject: [PATCH 0737/3036] chore: release 1.91.4-SNAPSHOT (#67)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index fc33e9424531..81e051bf334c 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.91.3
    +  1.91.4-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.91.3
    +        1.91.4-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.91.3
    +        1.91.4-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.91.3
    +        1.91.4-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index f95e7579718c..a95967e50152 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
    -  1.91.3
    +  1.91.4-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.3
    +    1.91.4-SNAPSHOT
       
       
         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 f9df33bf3cc2..0117e21e40b3 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
    -  1.91.3
    +  1.91.4-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.3
    +    1.91.4-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index d0e53e22e119..1b97c97354d4 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
    -  1.91.3
    +  1.91.4-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.3
    +    1.91.4-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 1b025878ccf9..93a35500b688 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.91.3
    +  1.91.4-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index eaac9cb3afd0..beccab0bbbe8 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.91.3:1.91.3
    \ No newline at end of file
    +google-cloud-core:1.91.3:1.91.4-SNAPSHOT
    \ No newline at end of file
    
    From 8eca4424463e4f298cd2851f2cbc908fbeefdfd0 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Tue, 29 Oct 2019 22:18:31 -0700
    Subject: [PATCH 0738/3036] chore: clean up release config (#69)
    
    ---
     java-core/.kokoro/release/drop.cfg    | 3 ---
     java-core/.kokoro/release/promote.cfg | 4 ----
     java-core/synth.metadata              | 2 +-
     3 files changed, 1 insertion(+), 8 deletions(-)
    
    diff --git a/java-core/.kokoro/release/drop.cfg b/java-core/.kokoro/release/drop.cfg
    index 211c014c2a97..6590b0c13316 100644
    --- a/java-core/.kokoro/release/drop.cfg
    +++ b/java-core/.kokoro/release/drop.cfg
    @@ -4,6 +4,3 @@ env_vars: {
       key: "TRAMPOLINE_BUILD_FILE"
       value: "github/java-core/.kokoro/release/drop.sh"
     }
    -
    -# Download staging properties file.
    -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-core"
    \ No newline at end of file
    diff --git a/java-core/.kokoro/release/promote.cfg b/java-core/.kokoro/release/promote.cfg
    index b3fc2015d6e0..800f0884e637 100644
    --- a/java-core/.kokoro/release/promote.cfg
    +++ b/java-core/.kokoro/release/promote.cfg
    @@ -4,7 +4,3 @@ env_vars: {
       key: "TRAMPOLINE_BUILD_FILE"
       value: "github/java-core/.kokoro/release/promote.sh"
     }
    -
    -# Download staging properties file.
    -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/java/releases/java-core"
    -
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index 3841938ac052..b015b61d6119 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-10-19T07:59:22.603125Z",
    +  "updateTime": "2019-10-26T08:01:40.057113Z",
       "sources": [
         {
           "template": {
    
    From b9c7bf387c23defbbeff891f06a7cb7ad047ff82 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Wed, 30 Oct 2019 07:27:20 +0200
    Subject: [PATCH 0739/3036] deps: update dependency
     com.google.api-client:google-api-client-bom to v1.30.5 (#68)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 93a35500b688..4db929f8211a 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -157,7 +157,7 @@
         1.17.0
         0.13.0
         0.18.0
    -    1.30.4
    +    1.30.5
         1.32.1
         1.24.1
         3.10.0
    
    From 1dd75ecf9192f0235e68894670a1158395c48217 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Wed, 13 Nov 2019 08:50:46 +0100
    Subject: [PATCH 0740/3036] deps: update dependency
     com.google.http-client:google-http-client-bom to v1.33.0 (#71)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 4db929f8211a..4f0916e48778 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -158,7 +158,7 @@
         0.13.0
         0.18.0
         1.30.5
    -    1.32.1
    +    1.33.0
         1.24.1
         3.10.0
         0.24.0
    
    From 88ab7d88ad98f8628d60920e49fa986e026beb92 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Mon, 18 Nov 2019 22:39:35 +0100
    Subject: [PATCH 0741/3036] deps: update dependency io.grpc:grpc-bom to v1.25.0
     (#72)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 4f0916e48778..4627fb2b33dc 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -159,7 +159,7 @@
         0.18.0
         1.30.5
         1.33.0
    -    1.24.1
    +    1.25.0
         3.10.0
         0.24.0
         1.3.2
    
    From 0df4f3310b81762ba129278cd6718840aa3d57cf Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Mon, 18 Nov 2019 22:40:12 +0100
    Subject: [PATCH 0742/3036] chore(deps): update dependency
     com.google.cloud:google-cloud-shared-config to v0.3.0 (#75)
    
    ---
     java-core/google-cloud-core-bom/pom.xml | 2 +-
     java-core/pom.xml                       | 2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 81e051bf334c..8c4ae2d8217b 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -8,7 +8,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.2.1
    +    0.3.0
       
     
       Google Cloud Core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 4627fb2b33dc..5b435d436043 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -14,7 +14,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.2.1
    +    0.3.0
       
     
       
    
    From a99f5337ce1b998dc86b021d2dc1521c031a2a20 Mon Sep 17 00:00:00 2001
    From: Jeff Ching 
    Date: Mon, 18 Nov 2019 15:47:33 -0600
    Subject: [PATCH 0743/3036] chore: fix distribution_name (#76)
    
    ---
     java-core/.repo-metadata.json | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/.repo-metadata.json b/java-core/.repo-metadata.json
    index e3e884930d8f..6f416a3b1893 100644
    --- a/java-core/.repo-metadata.json
    +++ b/java-core/.repo-metadata.json
    @@ -5,5 +5,5 @@
         "language": "java",
         "repo": "googleapis/java-core",
         "repo_short": "java-core",
    -    "distribution_name": "google-cloud-java"
    +    "distribution_name": "com.google.cloud:google-cloud-core"
     }
    
    From 0af0e5fb66b32a4e8bb3165dd272fa3d82436b66 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Mon, 18 Nov 2019 22:47:59 +0100
    Subject: [PATCH 0744/3036] deps: update dependency com.google.api:gax-bom to
     v1.50.1 (#73)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 5b435d436043..8f0e3c5a2039 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -152,7 +152,7 @@
         github
         google-cloud-core-parent
     
    -    1.49.1
    +    1.50.1
         1.8.1
         1.17.0
         0.13.0
    
    From 3d02bf21f03cc9fadd96622f28cfce89c17e9ad0 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Tue, 19 Nov 2019 12:32:49 -0800
    Subject: [PATCH 0745/3036] chore: update common templates (#80)
    
    ---
     java-core/.github/release-please.yml |  1 +
     java-core/.kokoro/build.sh           | 14 ++++++++++----
     java-core/.kokoro/dependencies.sh    |  6 +++++-
     java-core/synth.metadata             |  2 +-
     4 files changed, 17 insertions(+), 6 deletions(-)
    
    diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml
    index 827446828034..dce2c8450921 100644
    --- a/java-core/.github/release-please.yml
    +++ b/java-core/.github/release-please.yml
    @@ -1 +1,2 @@
     releaseType: java-yoshi
    +bumpMinorPreMajor: true
    \ No newline at end of file
    diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh
    index fa132f410dcc..dc2936ef76a8 100755
    --- a/java-core/.kokoro/build.sh
    +++ b/java-core/.kokoro/build.sh
    @@ -27,6 +27,7 @@ echo ${JOB_TYPE}
     mvn install -B -V \
       -DskipTests=true \
       -Dclirr.skip=true \
    +  -Denforcer.skip=true \
       -Dmaven.javadoc.skip=true \
       -Dgcloud.download.skip=true \
       -T 1C
    @@ -38,7 +39,7 @@ fi
     
     case ${JOB_TYPE} in
     test)
    -    mvn test -B -Dclirr.skip=true
    +    mvn test -B -Dclirr.skip=true -Denforcer.skip=true
         bash ${KOKORO_GFILE_DIR}/codecov.sh
         bash .kokoro/coerce_logs.sh
         ;;
    @@ -49,12 +50,17 @@ javadoc)
         mvn javadoc:javadoc javadoc:test-javadoc
         ;;
     integration)
    -    mvn -B ${INTEGRATION_TEST_ARGS} -DtrimStackTrace=false -Dclirr.skip=true -fae verify
    +    mvn -B ${INTEGRATION_TEST_ARGS} \
    +      -DtrimStackTrace=false \
    +      -Dclirr.skip=true \
    +      -Denforcer.skip=true \
    +      -fae \
    +      verify
         bash .kokoro/coerce_logs.sh
         ;;
     clirr)
    -    mvn -B clirr:check
    +    mvn -B -Denforcer.skip=true clirr:check
         ;;
     *)
         ;;
    -esac
    \ No newline at end of file
    +esac
    diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh
    index 51e976d441ba..3fc816b94cde 100755
    --- a/java-core/.kokoro/dependencies.sh
    +++ b/java-core/.kokoro/dependencies.sh
    @@ -23,5 +23,9 @@ echo $JOB_TYPE
     
     export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
     
    -mvn install -DskipTests=true -B -V
    +# this should run maven enforcer
    +mvn install -B -V \
    +  -DskipTests=true \
    +  -Dclirr.skip=true
    +
     mvn -B dependency:analyze -DfailOnWarning=true
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index b015b61d6119..6822849befb7 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-10-26T08:01:40.057113Z",
    +  "updateTime": "2019-11-19T20:08:48.618165Z",
       "sources": [
         {
           "template": {
    
    From 01e4ba5dae8caf5718e3a27c4fcc580874dc1306 Mon Sep 17 00:00:00 2001
    From: Elliotte Rusty Harold 
    Date: Wed, 4 Dec 2019 16:15:35 -0500
    Subject: [PATCH 0746/3036] deps: update to threetenbp 1.4.0 (#89)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 8f0e3c5a2039..eeed533e41c3 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -168,7 +168,7 @@
         1.0
         3.6
         3.0.2
    -    1.3.3
    +    1.4.0
         2.6
         2.3.3
         2.8.6
    
    From 975ebe50111277b8d4ad32adc31f5a6d4bc003c7 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Thu, 5 Dec 2019 23:54:02 +0100
    Subject: [PATCH 0747/3036] deps: update dependency com.google.api:gax-bom to
     v1.51.0 (#85)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index eeed533e41c3..b5e855af2760 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -152,7 +152,7 @@
         github
         google-cloud-core-parent
     
    -    1.50.1
    +    1.51.0
         1.8.1
         1.17.0
         0.13.0
    
    From d82fe078dc47eeeb11d46f48803f66f407f1ba8a Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Mon, 9 Dec 2019 14:32:15 +0200
    Subject: [PATCH 0748/3036] chore(deps): update dependency
     com.google.api-client:google-api-client-bom to v1.30.6 (#91)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index b5e855af2760..300314fd118b 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -157,7 +157,7 @@
         1.17.0
         0.13.0
         0.18.0
    -    1.30.5
    +    1.30.6
         1.33.0
         1.25.0
         3.10.0
    
    From a7321325a9019db5f84056c0e764eb566b04af5d Mon Sep 17 00:00:00 2001
    From: Dominic Zippilli <35895831+domZippilli@users.noreply.github.com>
    Date: Fri, 13 Dec 2019 10:30:15 -0800
    Subject: [PATCH 0749/3036] feat: increase DEFAULT_CHUNK_SIZE to reduce
     transfer overhead (#87)
    
    ---
     .../src/main/java/com/google/cloud/BaseWriteChannel.java      | 4 ++--
     .../src/test/java/com/google/cloud/BaseWriteChannelTest.java  | 4 ++--
     2 files changed, 4 insertions(+), 4 deletions(-)
    
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java
    index 865af889597d..e45a5aead157 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java
    @@ -36,8 +36,8 @@ public abstract class BaseWriteChannel<
             ServiceOptionsT extends ServiceOptions, EntityT extends Serializable>
         implements WriteChannel {
     
    -  private static final int MIN_CHUNK_SIZE = 256 * 1024;
    -  private static final int DEFAULT_CHUNK_SIZE = 8 * MIN_CHUNK_SIZE;
    +  private static final int MIN_CHUNK_SIZE = 256 * 1024; // 256 KiB
    +  private static final int DEFAULT_CHUNK_SIZE = 60 * MIN_CHUNK_SIZE; // 15MiB
     
       private final ServiceOptionsT options;
       private final EntityT entity;
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java
    index b5e5273420b7..3f539e5f64fb 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java
    @@ -55,8 +55,8 @@ protected CustomServiceOptions(
       private static final Serializable ENTITY = 42L;
       private static final String UPLOAD_ID = "uploadId";
       private static final byte[] CONTENT = {0xD, 0xE, 0xA, 0xD};
    -  private static final int MIN_CHUNK_SIZE = 256 * 1024;
    -  private static final int DEFAULT_CHUNK_SIZE = 8 * MIN_CHUNK_SIZE;
    +  private static final int MIN_CHUNK_SIZE = 256 * 1024; // 256 KiB
    +  private static final int DEFAULT_CHUNK_SIZE = 60 * MIN_CHUNK_SIZE; // 15MiB
       private static final Random RANDOM = new Random();
       private static BaseWriteChannel channel;
     
    
    From 8aa02d5a357a49150f5f445da5e59dfc6e172e31 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Sat, 14 Dec 2019 00:13:17 +0200
    Subject: [PATCH 0750/3036] deps: update dependency
     com.google.auth:google-auth-library-bom to v0.19.0 (#93)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 300314fd118b..cc83f647fffb 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -156,7 +156,7 @@
         1.8.1
         1.17.0
         0.13.0
    -    0.18.0
    +    0.19.0
         1.30.6
         1.33.0
         1.25.0
    
    From d80122537f5e1bb3765351e8f4d441c70a2ec5de Mon Sep 17 00:00:00 2001
    From: Cody Oss <6331106+codyoss@users.noreply.github.com>
    Date: Fri, 13 Dec 2019 16:37:16 -0700
    Subject: [PATCH 0751/3036] feat: support setting ServiceOption for quota
     project (#92)
    
    ---
     .../cloud/http/HttpTransportOptions.java      |  1 +
     .../java/com/google/cloud/ServiceOptions.java | 44 +++++++--
     .../com/google/cloud/ServiceOptionsTest.java  | 99 ++++++++++++++++---
     java-core/pom.xml                             |  2 +-
     4 files changed, 122 insertions(+), 24 deletions(-)
    
    diff --git a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java
    index 2dbcb018f857..4bdfee3cca9f 100644
    --- a/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java
    +++ b/java-core/google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java
    @@ -176,6 +176,7 @@ ApiClientHeaderProvider.Builder getInternalHeaderProviderBuilder(
         builder.setClientLibToken(
             ServiceOptions.getGoogApiClientLibName(),
             GaxProperties.getLibraryVersion(serviceOptions.getClass()));
    +    builder.setQuotaProjectIdToken(serviceOptions.getQuotaProjectId());
         return builder;
       }
     
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
    index 56f2d19595db..792609f4b4e5 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
    @@ -43,6 +43,7 @@
     import com.google.api.gax.rpc.NoHeaderProvider;
     import com.google.auth.Credentials;
     import com.google.auth.oauth2.GoogleCredentials;
    +import com.google.auth.oauth2.QuotaProjectIdProvider;
     import com.google.auth.oauth2.ServiceAccountCredentials;
     import com.google.cloud.spi.ServiceRpcFactory;
     import com.google.common.base.Preconditions;
    @@ -102,6 +103,7 @@ public abstract class ServiceOptions<
       protected Credentials credentials;
       private final TransportOptions transportOptions;
       private final HeaderProvider headerProvider;
    +  private final String quotaProjectId;
     
       private transient ServiceRpcFactory serviceRpcFactory;
       private transient ServiceFactory serviceFactory;
    @@ -132,6 +134,7 @@ public abstract static class Builder<
         private TransportOptions transportOptions;
         private HeaderProvider headerProvider;
         private String clientLibToken = ServiceOptions.getGoogApiClientLibName();
    +    private String quotaProjectId;
     
         @InternalApi("This class should only be extended within google-cloud-java")
         protected Builder() {}
    @@ -147,6 +150,7 @@ protected Builder(ServiceOptions options) {
           clock = options.clock;
           transportOptions = options.transportOptions;
           clientLibToken = options.clientLibToken;
    +      quotaProjectId = options.quotaProjectId;
         }
     
         protected abstract ServiceOptions build();
    @@ -212,6 +216,10 @@ public B setCredentials(Credentials credentials) {
           if (this.projectId == null && credentials instanceof ServiceAccountCredentials) {
             this.projectId = ((ServiceAccountCredentials) credentials).getProjectId();
           }
    +
    +      if (this.quotaProjectId == null && credentials instanceof QuotaProjectIdProvider) {
    +        this.quotaProjectId = ((ServiceAccountCredentials) credentials).getQuotaProjectId();
    +      }
           return self();
         }
     
    @@ -269,6 +277,17 @@ public B setClientLibToken(String clientLibToken) {
           return self();
         }
     
    +    /**
    +     * Sets the quotaProjectId that specifies the project used for quota and billing purposes.
    +     *
    +     * @see See system parameter
    +     *     $userProject
    +     */
    +    public B setQuotaProjectId(String quotaProjectId) {
    +      this.quotaProjectId = quotaProjectId;
    +      return self();
    +    }
    +
         protected Set getAllowedClientLibTokens() {
           return allowedClientLibTokens;
         }
    @@ -305,6 +324,10 @@ protected ServiceOptions(
             firstNonNull(builder.transportOptions, serviceDefaults.getDefaultTransportOptions());
         headerProvider = firstNonNull(builder.headerProvider, new NoHeaderProvider());
         clientLibToken = builder.clientLibToken;
    +    quotaProjectId =
    +        builder.quotaProjectId != null
    +            ? builder.quotaProjectId
    +            : getValueFromCredentialsFile(System.getenv(CREDENTIAL_ENV_NAME), "quota_project_id");
       }
     
       /**
    @@ -488,24 +511,24 @@ static boolean headerContainsMetadataFlavor(HttpResponse response) {
       }
     
       protected static String getServiceAccountProjectId() {
    -    return getServiceAccountProjectId(System.getenv(CREDENTIAL_ENV_NAME));
    +    return getValueFromCredentialsFile(System.getenv(CREDENTIAL_ENV_NAME), "project_id");
       }
     
       @InternalApi("Visible for testing")
    -  static String getServiceAccountProjectId(String credentialsPath) {
    -    String project = null;
    +  static String getValueFromCredentialsFile(String credentialsPath, String key) {
    +    String value = null;
         if (credentialsPath != null) {
           try (InputStream credentialsStream = new FileInputStream(credentialsPath)) {
             JsonFactory jsonFactory = JacksonFactory.getDefaultInstance();
             JsonObjectParser parser = new JsonObjectParser(jsonFactory);
             GenericJson fileContents =
                 parser.parseAndClose(credentialsStream, Charsets.UTF_8, GenericJson.class);
    -        project = (String) fileContents.get("project_id");
    +        value = (String) fileContents.get(key);
           } catch (IOException e) {
             // ignore
           }
         }
    -    return project;
    +    return value;
       }
     
       /**
    @@ -664,7 +687,8 @@ protected int baseHashCode() {
             retrySettings,
             serviceFactoryClassName,
             serviceRpcFactoryClassName,
    -        clock);
    +        clock,
    +        quotaProjectId);
       }
     
       protected boolean baseEquals(ServiceOptions other) {
    @@ -674,7 +698,8 @@ protected boolean baseEquals(ServiceOptions other) {
             && Objects.equals(retrySettings, other.retrySettings)
             && Objects.equals(serviceFactoryClassName, other.serviceFactoryClassName)
             && Objects.equals(serviceRpcFactoryClassName, other.serviceRpcFactoryClassName)
    -        && Objects.equals(clock, clock);
    +        && Objects.equals(clock, clock)
    +        && Objects.equals(quotaProjectId, other.quotaProjectId);
       }
     
       private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException {
    @@ -734,4 +759,9 @@ public static  T getFromServiceLoader(Class clazz, T defaultInst
       public String getClientLibToken() {
         return clientLibToken;
       }
    +
    +  /** Returns the quotaProjectId that specifies the project used for quota and billing purposes. */
    +  public String getQuotaProjectId() {
    +    return quotaProjectId;
    +  }
     }
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java
    index 3ce9ffd5436a..8f8cab08b3b5 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java
    @@ -53,6 +53,10 @@
     import org.junit.rules.ExpectedException;
     
     public class ServiceOptionsTest {
    +  private static GoogleCredentials credentials;
    +  private static GoogleCredentials credentialsWithProjectId;
    +  private static GoogleCredentials credentialsWithQuotaProject;
    +
       private static final String JSON_KEY =
           "{\n"
               + "  \"private_key_id\": \"somekeyid\",\n"
    @@ -80,16 +84,6 @@ public class ServiceOptionsTest {
               + "  \"client_id\": \"someclientid.apps.googleusercontent.com\",\n"
               + "  \"type\": \"service_account\"\n"
               + "}";
    -  private static GoogleCredentials credentials;
    -
    -  static {
    -    try {
    -      InputStream keyStream = new ByteArrayInputStream(JSON_KEY.getBytes());
    -      credentials = GoogleCredentials.fromStream(keyStream);
    -    } catch (IOException e) {
    -      fail("Couldn't create fake JSON credentials.");
    -    }
    -  }
     
       private static final String JSON_KEY_PROJECT_ID =
           "{\n"
    @@ -119,15 +113,51 @@ public class ServiceOptionsTest {
               + "  \"client_id\": \"someclientid.apps.googleusercontent.com\",\n"
               + "  \"type\": \"service_account\"\n"
               + "}";
    -  private static GoogleCredentials credentialsWithProjectId;
    +
    +  private static final String JSON_KEY_QUOTA_PROJECT_ID =
    +      "{\n"
    +          + "  \"private_key_id\": \"somekeyid\",\n"
    +          + "  \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggS"
    +          + "kAgEAAoIBAQC+K2hSuFpAdrJI\\nnCgcDz2M7t7bjdlsadsasad+fvRSW6TjNQZ3p5LLQY1kSZRqBqylRkzteMOyHg"
    +          + "aR\\n0Pmxh3ILCND5men43j3h4eDbrhQBuxfEMalkG92sL+PNQSETY2tnvXryOvmBRwa/\\nQP/9dJfIkIDJ9Fw9N4"
    +          + "Bhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nknddadwkwewcVxHFhcZJO+XWf6ofLUXpRwiTZakGMn8EE1uVa2"
    +          + "LgczOjwWHGi99MFjxSer5m9\\n1tCa3/KEGKiS/YL71JvjwX3mb+cewlkcmweBKZHM2JPTk0ZednFSpVZMtycjkbLa"
    +          + "\\ndYOS8V85AgMBewECggEBAKksaldajfDZDV6nGqbFjMiizAKJolr/M3OQw16K6o3/\\n0S31xIe3sSlgW0+UbYlF"
    +          + "4U8KifhManD1apVSC3csafaspP4RZUHFhtBywLO9pR5c\\nr6S5aLp+gPWFyIp1pfXbWGvc5VY/v9x7ya1VEa6rXvL"
    +          + "sKupSeWAW4tMj3eo/64ge\\nsdaceaLYw52KeBYiT6+vpsnYrEkAHO1fF/LavbLLOFJmFTMxmsNaG0tuiJHgjshB\\"
    +          + "n82DpMCbXG9YcCgI/DbzuIjsdj2JC1cascSP//3PmefWysucBQe7Jryb6NQtASmnv\\nCdDw/0jmZTEjpe4S1lxfHp"
    +          + "lAhHFtdgYTvyYtaLZiVVkCgYEA8eVpof2rceecw/I6\\n5ng1q3Hl2usdWV/4mZMvR0fOemacLLfocX6IYxT1zA1FF"
    +          + "JlbXSRsJMf/Qq39mOR2\\nSpW+hr4jCoHeRVYLgsbggtrevGmILAlNoqCMpGZ6vDmJpq6ECV9olliDvpPgWOP+\\nm"
    +          + "YPDreFBGxWvQrADNbRt2dmGsrsCgYEAyUHqB2wvJHFqdmeBsaacewzV8x9WgmeX\\ngUIi9REwXlGDW0Mz50dxpxcK"
    +          + "CAYn65+7TCnY5O/jmL0VRxU1J2mSWyWTo1C+17L0\\n3fUqjxL1pkefwecxwecvC+gFFYdJ4CQ/MHHXU81Lwl1iWdF"
    +          + "Cd2UoGddYaOF+KNeM\\nHC7cmqra+JsCgYEAlUNywzq8nUg7282E+uICfCB0LfwejuymR93CtsFgb7cRd6ak\\nECR"
    +          + "8FGfCpH8ruWJINllbQfcHVCX47ndLZwqv3oVFKh6pAS/vVI4dpOepP8++7y1u\\ncoOvtreXCX6XqfrWDtKIvv0vjl"
    +          + "HBhhhp6mCcRpdQjV38H7JsyJ7lih/oNjECgYAt\\nkndj5uNl5SiuVxHFhcZJO+XWf6ofLUregtevZakGMn8EE1uVa"
    +          + "2AY7eafmoU/nZPT\\n00YB0TBATdCbn/nBSuKDESkhSg9s2GEKQZG5hBmL5uCMfo09z3SfxZIhJdlerreP\\nJ7gSi"
    +          + "dI12N+EZxYd4xIJh/HFDgp7RRO87f+WJkofMQKBgGTnClK1VMaCRbJZPriw\\nEfeFCoOX75MxKwXs6xgrw4W//AYG"
    +          + "GUjDt83lD6AZP6tws7gJ2IwY/qP7+lyhjEqN\\nHtfPZRGFkGZsdaksdlaksd323423d+15/UvrlRSFPNj1tWQmNKk"
    +          + "XyRDW4IG1Oa2p\\nrALStNBx5Y9t0/LQnFI4w3aG\\n-----END PRIVATE KEY-----\\n\",\n"
    +          + "  \"project_id\": \"someprojectid\",\n"
    +          + "  \"client_email\": \"someclientid@developer.gserviceaccount.com\",\n"
    +          + "  \"client_id\": \"someclientid.apps.googleusercontent.com\",\n"
    +          + "  \"type\": \"service_account\",\n"
    +          + "  \"quota_project_id\": \"some-quota-project-id\"\n"
    +          + "}";
     
       static {
    +    credentials = loadCredentials(JSON_KEY);
    +    credentialsWithProjectId = loadCredentials(JSON_KEY_PROJECT_ID);
    +    credentialsWithQuotaProject = loadCredentials(JSON_KEY_QUOTA_PROJECT_ID);
    +  }
    +
    +  static GoogleCredentials loadCredentials(String credentialFile) {
         try {
    -      InputStream keyStream = new ByteArrayInputStream(JSON_KEY_PROJECT_ID.getBytes());
    -      credentialsWithProjectId = GoogleCredentials.fromStream(keyStream);
    +      InputStream keyStream = new ByteArrayInputStream(credentialFile.getBytes());
    +      return GoogleCredentials.fromStream(keyStream);
         } catch (IOException e) {
           fail("Couldn't create fake JSON credentials.");
         }
    +    return null;
       }
     
       private static final ApiClock TEST_CLOCK = new TestClock();
    @@ -138,6 +168,7 @@ public class ServiceOptionsTest {
               .setHost("host")
               .setProjectId("project-id")
               .setRetrySettings(ServiceOptions.getNoRetrySettings())
    +          .setQuotaProjectId("quota-project-id")
               .build();
       private static final TestServiceOptions OPTIONS_NO_CREDENTIALS =
           TestServiceOptions.newBuilder()
    @@ -146,6 +177,7 @@ public class ServiceOptionsTest {
               .setHost("host")
               .setProjectId("project-id")
               .setRetrySettings(ServiceOptions.getNoRetrySettings())
    +          .setQuotaProjectId("quota-project-id")
               .build();
       private static final TestServiceOptions DEFAULT_OPTIONS =
           TestServiceOptions.newBuilder().setProjectId("project-id").build();
    @@ -283,6 +315,39 @@ public void testBuilder() {
         assertSame(ServiceOptions.getDefaultRetrySettings(), DEFAULT_OPTIONS.getRetrySettings());
       }
     
    +  @Test
    +  public void testBuilder_quotaProjectServiceOptionTakesPrecedence() {
    +    TestServiceOptions noCredsWithQuotaProject =
    +        TestServiceOptions.newBuilder()
    +            .setCredentials(NoCredentials.getInstance())
    +            .setProjectId("project-id")
    +            .setQuotaProjectId("quota-project-id")
    +            .build();
    +    TestServiceOptions quotaProjectCredsWithQuotaProject =
    +        TestServiceOptions.newBuilder()
    +            .setQuotaProjectId("quota-project-id")
    +            .setCredentials(credentialsWithQuotaProject)
    +            .build();
    +    TestServiceOptions quotaProjectCredsWithQuotaProject2 =
    +        TestServiceOptions.newBuilder()
    +            .setCredentials(credentialsWithQuotaProject)
    +            .setQuotaProjectId("quota-project-id")
    +            .build();
    +    TestServiceOptions quotaProjectCreds =
    +        TestServiceOptions.newBuilder().setCredentials(credentialsWithQuotaProject).build();
    +    TestServiceOptions none =
    +        TestServiceOptions.newBuilder()
    +            .setCredentials(NoCredentials.getInstance())
    +            .setProjectId("project-id")
    +            .build();
    +
    +    assertEquals("quota-project-id", noCredsWithQuotaProject.getQuotaProjectId());
    +    assertEquals("quota-project-id", quotaProjectCredsWithQuotaProject.getQuotaProjectId());
    +    assertEquals("quota-project-id", quotaProjectCredsWithQuotaProject2.getQuotaProjectId());
    +    assertEquals("some-quota-project-id", quotaProjectCreds.getQuotaProjectId());
    +    assertEquals(null, none.getQuotaProjectId());
    +  }
    +
       @Test
       public void testBuilderNoCredentials() {
         assertEquals(NoCredentials.getInstance(), OPTIONS_NO_CREDENTIALS.getCredentials());
    @@ -293,6 +358,7 @@ public void testBuilderNoCredentials() {
         assertEquals("host", OPTIONS_NO_CREDENTIALS.getHost());
         assertEquals("project-id", OPTIONS_NO_CREDENTIALS.getProjectId());
         assertSame(ServiceOptions.getNoRetrySettings(), OPTIONS_NO_CREDENTIALS.getRetrySettings());
    +    assertEquals("quota-project-id", OPTIONS.getQuotaProjectId());
       }
     
       @Test
    @@ -372,7 +438,8 @@ public void testGetServiceAccountProjectId() throws Exception {
         Files.write("{\"project_id\":\"my-project-id\"}".getBytes(), credentialsFile);
     
         assertEquals(
    -        "my-project-id", ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath()));
    +        "my-project-id",
    +        ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id"));
       }
     
       @Test
    @@ -381,14 +448,14 @@ public void testGetServiceAccountProjectId_badJson() throws Exception {
         credentialsFile.deleteOnExit();
         Files.write("asdfghj".getBytes(), credentialsFile);
     
    -    assertNull(ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath()));
    +    assertNull(ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id"));
       }
     
       @Test
       public void testGetServiceAccountProjectId_nonExistentFile() throws Exception {
         File credentialsFile = new File("/doesnotexist");
     
    -    assertNull(ServiceOptions.getServiceAccountProjectId(credentialsFile.getPath()));
    +    assertNull(ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id"));
       }
     
       @Test
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index cc83f647fffb..5ef6385bc7d8 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -152,7 +152,7 @@
         github
         google-cloud-core-parent
     
    -    1.51.0
    +    1.52.0
         1.8.1
         1.17.0
         0.13.0
    
    From 892fad417b5464979a28e3d6ba43598d66b4e7ad Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Fri, 13 Dec 2019 16:45:58 -0700
    Subject: [PATCH 0752/3036] chore: release 1.92.0 (#95)
    
    ---
     java-core/CHANGELOG.md                   | 19 +++++++++++++++++++
     java-core/google-cloud-core-bom/pom.xml  |  8 ++++----
     java-core/google-cloud-core-grpc/pom.xml |  4 ++--
     java-core/google-cloud-core-http/pom.xml |  4 ++--
     java-core/google-cloud-core/pom.xml      |  4 ++--
     java-core/pom.xml                        |  2 +-
     java-core/versions.txt                   |  2 +-
     7 files changed, 31 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md
    index 4eb8233eb088..05107ed47e56 100644
    --- a/java-core/CHANGELOG.md
    +++ b/java-core/CHANGELOG.md
    @@ -1,5 +1,24 @@
     # Changelog
     
    +## [1.92.0](https://www.github.com/googleapis/java-core/compare/v1.91.3...v1.92.0) (2019-12-13)
    +
    +
    +### Features
    +
    +* increase DEFAULT_CHUNK_SIZE to reduce transfer overhead ([#87](https://www.github.com/googleapis/java-core/issues/87)) ([09b327d](https://www.github.com/googleapis/java-core/commit/09b327daf764403b7800180cab79ae3e38815075))
    +* support setting ServiceOption for quota project ([#92](https://www.github.com/googleapis/java-core/issues/92)) ([6aa4476](https://www.github.com/googleapis/java-core/commit/6aa4476441fd7636dd116516d3bf4b738cf8a8a9))
    +
    +
    +### Dependencies
    +
    +* update dependency com.google.api-client:google-api-client-bom to v1.30.5 ([#68](https://www.github.com/googleapis/java-core/issues/68)) ([e1a4047](https://www.github.com/googleapis/java-core/commit/e1a4047fb470ea4f80459ca0bb399f4ab2c7decf))
    +* update dependency com.google.api:gax-bom to v1.50.1 ([#73](https://www.github.com/googleapis/java-core/issues/73)) ([f493b5b](https://www.github.com/googleapis/java-core/commit/f493b5bbe5945202af6a94fe01407f795014b4a1))
    +* update dependency com.google.api:gax-bom to v1.51.0 ([#85](https://www.github.com/googleapis/java-core/issues/85)) ([71d0de7](https://www.github.com/googleapis/java-core/commit/71d0de782432814971facb7cbb67acdec5e45f00))
    +* update dependency com.google.auth:google-auth-library-bom to v0.19.0 ([#93](https://www.github.com/googleapis/java-core/issues/93)) ([b465630](https://www.github.com/googleapis/java-core/commit/b465630023dc87537a02a34fb957be340aeb6078))
    +* update dependency com.google.http-client:google-http-client-bom to v1.33.0 ([#71](https://www.github.com/googleapis/java-core/issues/71)) ([8f1e690](https://www.github.com/googleapis/java-core/commit/8f1e690611e98855d0eed26d7ef75120bccc862e))
    +* update dependency io.grpc:grpc-bom to v1.25.0 ([#72](https://www.github.com/googleapis/java-core/issues/72)) ([3a09fc7](https://www.github.com/googleapis/java-core/commit/3a09fc7c4ce73a3c4f144d0cd4da6d29a1664b75))
    +* update to threetenbp 1.4.0 ([#89](https://www.github.com/googleapis/java-core/issues/89)) ([5128bd4](https://www.github.com/googleapis/java-core/commit/5128bd45bae8cbb8540eccd683f5bba52783feef))
    +
     ### [1.91.3](https://www.github.com/googleapis/java-core/compare/v1.91.2...v1.91.3) (2019-10-23)
     
     
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 8c4ae2d8217b..f9ce77ee2634 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.91.4-SNAPSHOT
    +  1.92.0
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.91.4-SNAPSHOT
    +        1.92.0
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.91.4-SNAPSHOT
    +        1.92.0
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.91.4-SNAPSHOT
    +        1.92.0
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index a95967e50152..431f8b0b3604 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
    -  1.91.4-SNAPSHOT
    +  1.92.0
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.4-SNAPSHOT
    +    1.92.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 0117e21e40b3..3162fe68a4d4 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
    -  1.91.4-SNAPSHOT
    +  1.92.0
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.4-SNAPSHOT
    +    1.92.0
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 1b97c97354d4..d3f2f690a8bd 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
    -  1.91.4-SNAPSHOT
    +  1.92.0
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.91.4-SNAPSHOT
    +    1.92.0
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 5ef6385bc7d8..2718decfb9d1 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.91.4-SNAPSHOT
    +  1.92.0
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index beccab0bbbe8..b6b09bca2f05 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.91.3:1.91.4-SNAPSHOT
    \ No newline at end of file
    +google-cloud-core:1.92.0:1.92.0
    \ No newline at end of file
    
    From 5276d9b104ab1692b8d838d3eb36988eaac60cd0 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Tue, 17 Dec 2019 21:15:28 +0200
    Subject: [PATCH 0753/3036] deps: update dependency
     com.google.http-client:google-http-client-bom to v1.34.0 (#98)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 2718decfb9d1..4dd507f0a6fd 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -158,7 +158,7 @@
         0.13.0
         0.19.0
         1.30.6
    -    1.33.0
    +    1.34.0
         1.25.0
         3.10.0
         0.24.0
    
    From 32cd3bba25d76f10608baebc47aef3fb57946f42 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Tue, 17 Dec 2019 12:20:19 -0800
    Subject: [PATCH 0754/3036] chore: release 1.92.1-SNAPSHOT (#99)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index f9ce77ee2634..2a388008f668 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.0
    +  1.92.1-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.0
    +        1.92.1-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.0
    +        1.92.1-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.0
    +        1.92.1-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 431f8b0b3604..10c1121a97d3 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
    -  1.92.0
    +  1.92.1-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.0
    +    1.92.1-SNAPSHOT
       
       
         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 3162fe68a4d4..1951f95f1281 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
    -  1.92.0
    +  1.92.1-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.0
    +    1.92.1-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index d3f2f690a8bd..2c24cbe4341e 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
    -  1.92.0
    +  1.92.1-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.0
    +    1.92.1-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 4dd507f0a6fd..c5846114487c 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.0
    +  1.92.1-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index b6b09bca2f05..b2b084b5a7e8 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.0:1.92.0
    \ No newline at end of file
    +google-cloud-core:1.92.0:1.92.1-SNAPSHOT
    \ No newline at end of file
    
    From 4fb9bb1616a45483fc60c6356ab6c32577fbc95c Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Thu, 19 Dec 2019 09:58:24 -0800
    Subject: [PATCH 0755/3036] chore: update renovate config (#104)
    
    ---
     java-core/renovate.json  |  42 ++--
     java-core/synth.metadata | 502 ++++++++++++++++++++++++++++++++++++++-
     2 files changed, 529 insertions(+), 15 deletions(-)
    
    diff --git a/java-core/renovate.json b/java-core/renovate.json
    index 99810470034c..c5eafc049691 100644
    --- a/java-core/renovate.json
    +++ b/java-core/renovate.json
    @@ -1,27 +1,41 @@
     {
       "extends": [
    -    "config:base"
    +    ":separateMajorReleases",
    +    ":combinePatchMinorReleases",
    +    ":ignoreUnstable",
    +    ":prImmediately",
    +    ":updateNotScheduled",
    +    ":automergeDisabled",
    +    ":ignoreModulesAndTests",
    +    ":maintainLockFilesDisabled",
    +    ":autodetectPinVersions"
       ],
    -  "ignoreDeps": [],
       "packageRules": [
         {
    -      "managers": ["maven"],
    -      "packageNames": ["com.google.guava:guava*"],
    +      "packagePatterns": [
    +        "^com.google.guava:"
    +      ],
           "versionScheme": "docker"
         },
         {
    -      "packagePatterns": ["^io.grpc:grpc-"],
    -      "groupName": "gRPC packages"
    +      "packagePatterns": [
    +        "*"
    +      ],
    +      "semanticCommitType": "deps",
    +      "semanticCommitScope": null
         },
         {
    -      "packagePatterns": ["^com.google.protobuf:protobuf-"],
    -      "groupName": "Protobuf packages"
    -    },
    -    {
    -      "packagePatterns": ["^io.opencensus:opencensus-"],
    -      "groupName": "OpenCensus packages"
    +      "packagePatterns": [
    +        "^org.apache.maven",
    +        "^org.jacoco:",
    +        "^org.codehaus.mojo:",
    +        "^org.sonatype.plugins:",
    +        "^com.coveo:",
    +        "^com.google.cloud:google-cloud-shared-config"
    +      ],
    +      "semanticCommitType": "build",
    +      "semanticCommitScope": "deps"
         }
       ],
    -  "semanticCommits": true,
    -  "semanticCommitType": "deps"
    +  "semanticCommits": true
     }
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index 6822849befb7..f2b99f229005 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-11-19T20:08:48.618165Z",
    +  "updateTime": "2019-12-19T09:04:21.054357Z",
       "sources": [
         {
           "template": {
    @@ -8,5 +8,505 @@
             "version": "2019.10.17"
           }
         }
    +  ],
    +  "newFiles": [
    +    {
    +      "path": ".gitignore"
    +    },
    +    {
    +      "path": "README.md"
    +    },
    +    {
    +      "path": "renovate.json"
    +    },
    +    {
    +      "path": "license-checks.xml"
    +    },
    +    {
    +      "path": "CONTRIBUTING.md"
    +    },
    +    {
    +      "path": "synth.py"
    +    },
    +    {
    +      "path": "synth.metadata"
    +    },
    +    {
    +      "path": "java.header"
    +    },
    +    {
    +      "path": "pom.xml"
    +    },
    +    {
    +      "path": "CODE_OF_CONDUCT.md"
    +    },
    +    {
    +      "path": "versions.txt"
    +    },
    +    {
    +      "path": "CHANGELOG.md"
    +    },
    +    {
    +      "path": "LICENSE"
    +    },
    +    {
    +      "path": ".repo-metadata.json"
    +    },
    +    {
    +      "path": "codecov.yaml"
    +    },
    +    {
    +      "path": "google-cloud-core/pom.xml"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/RoleTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/DateTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BatchResult.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Restorable.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Date.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryOption.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Policy.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RestorableState.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Timestamp.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ByteArray.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Role.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/PageImpl.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Service.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Tuple.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseService.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Identity.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/package-info.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/Version.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java"
    +    },
    +    {
    +      "path": "google-cloud-core-grpc/pom.xml"
    +    },
    +    {
    +      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java"
    +    },
    +    {
    +      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java"
    +    },
    +    {
    +      "path": "google-cloud-core-http/pom.xml"
    +    },
    +    {
    +      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java"
    +    },
    +    {
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java"
    +    },
    +    {
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java"
    +    },
    +    {
    +      "path": ".github/release-please.yml"
    +    },
    +    {
    +      "path": ".github/PULL_REQUEST_TEMPLATE.md"
    +    },
    +    {
    +      "path": ".github/ISSUE_TEMPLATE/support_request.md"
    +    },
    +    {
    +      "path": ".github/ISSUE_TEMPLATE/feature_request.md"
    +    },
    +    {
    +      "path": ".github/ISSUE_TEMPLATE/bug_report.md"
    +    },
    +    {
    +      "path": ".kokoro/trampoline.sh"
    +    },
    +    {
    +      "path": ".kokoro/build.sh"
    +    },
    +    {
    +      "path": ".kokoro/build.bat"
    +    },
    +    {
    +      "path": ".kokoro/linkage-monitor.sh"
    +    },
    +    {
    +      "path": ".kokoro/dependencies.sh"
    +    },
    +    {
    +      "path": ".kokoro/common.cfg"
    +    },
    +    {
    +      "path": ".kokoro/coerce_logs.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/common.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/publish_javadoc.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/stage.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/publish_javadoc.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/bump_snapshot.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/drop.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/snapshot.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/promote.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/stage.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/bump_snapshot.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/promote.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/drop.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/common.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/snapshot.sh"
    +    },
    +    {
    +      "path": ".kokoro/nightly/java11.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/java8-win.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/lint.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/java8-osx.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/integration.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/java7.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/java8.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/dependencies.cfg"
    +    },
    +    {
    +      "path": ".kokoro/nightly/common.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/java11.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/java8-win.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/lint.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/clirr.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/java8-osx.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/integration.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/java7.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/java8.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/dependencies.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/linkage-monitor.cfg"
    +    },
    +    {
    +      "path": ".kokoro/presubmit/common.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/propose_release.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/java11.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/java8-win.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/lint.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/java8-osx.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/propose_release.sh"
    +    },
    +    {
    +      "path": ".kokoro/continuous/integration.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/java7.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/java8.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/dependencies.cfg"
    +    },
    +    {
    +      "path": ".kokoro/continuous/common.cfg"
    +    },
    +    {
    +      "path": "__pycache__/synth.cpython-36.pyc"
    +    },
    +    {
    +      "path": "google-cloud-core-bom/pom.xml"
    +    },
    +    {
    +      "path": ".git/shallow"
    +    },
    +    {
    +      "path": ".git/index"
    +    },
    +    {
    +      "path": ".git/packed-refs"
    +    },
    +    {
    +      "path": ".git/HEAD"
    +    },
    +    {
    +      "path": ".git/config"
    +    },
    +    {
    +      "path": ".git/logs/HEAD"
    +    },
    +    {
    +      "path": ".git/logs/refs/heads/autosynth"
    +    },
    +    {
    +      "path": ".git/logs/refs/heads/master"
    +    },
    +    {
    +      "path": ".git/logs/refs/remotes/origin/HEAD"
    +    },
    +    {
    +      "path": ".git/objects/pack/pack-a5d6f9382dda21b97ddbde6b57fd00761ba537a6.idx"
    +    },
    +    {
    +      "path": ".git/objects/pack/pack-a5d6f9382dda21b97ddbde6b57fd00761ba537a6.pack"
    +    },
    +    {
    +      "path": ".git/refs/heads/autosynth"
    +    },
    +    {
    +      "path": ".git/refs/heads/master"
    +    },
    +    {
    +      "path": ".git/refs/remotes/origin/HEAD"
    +    }
       ]
     }
    \ No newline at end of file
    
    From 3fe3e954102a668b1a565b1b7c1d35e115c4dd8e Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Fri, 20 Dec 2019 18:51:19 +0200
    Subject: [PATCH 0756/3036] deps: update dependency
     com.google.protobuf:protobuf-bom to v3.11.1 (#106)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index c5846114487c..5ce32cc8c22c 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -160,7 +160,7 @@
         1.30.6
         1.34.0
         1.25.0
    -    3.10.0
    +    3.11.1
         0.24.0
         1.3.2
         28.1-android
    
    From f6335ca9b8591368f764dadd29a4d01a0174c78f Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Fri, 20 Dec 2019 18:51:35 +0200
    Subject: [PATCH 0757/3036] chore(deps): update dependency
     com.google.api-client:google-api-client-bom to v1.30.7 (#102)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 5ce32cc8c22c..8c89f6e5af98 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -157,7 +157,7 @@
         1.17.0
         0.13.0
         0.19.0
    -    1.30.6
    +    1.30.7
         1.34.0
         1.25.0
         3.11.1
    
    From 51249fecfba1748f09b60e4e5a94c8298b9e7abb Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Fri, 20 Dec 2019 22:47:35 +0200
    Subject: [PATCH 0758/3036] deps: update dependency io.grpc:grpc-bom to v1.26.0
     (#107)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 8c89f6e5af98..2e406dea9d3e 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -159,7 +159,7 @@
         0.19.0
         1.30.7
         1.34.0
    -    1.25.0
    +    1.26.0
         3.11.1
         0.24.0
         1.3.2
    
    From 279c973576b111e61607eb9aa6c3b4c6582d71a8 Mon Sep 17 00:00:00 2001
    From: Jeff Ching 
    Date: Thu, 26 Dec 2019 13:04:51 -0600
    Subject: [PATCH 0759/3036] chore(deps): group core dependencies
    
    ---
     java-core/renovate.json | 9 +++++++++
     1 file changed, 9 insertions(+)
    
    diff --git a/java-core/renovate.json b/java-core/renovate.json
    index c5eafc049691..02757c63ad2c 100644
    --- a/java-core/renovate.json
    +++ b/java-core/renovate.json
    @@ -17,6 +17,15 @@
           ],
           "versionScheme": "docker"
         },
    +    {
    +      "packagePatterns": [
    +        "^com.google.api:gax",
    +        "^com.google.auth:",
    +        "^com.google.cloud:google-cloud-core",
    +        "^io.grpc:"
    +      ],
    +      "groupName": "core dependencies"
    +    },
         {
           "packagePatterns": [
             "*"
    
    From 5f2ef459e3e879cb3c7179351ac2f7aefc6662c7 Mon Sep 17 00:00:00 2001
    From: Jeff Ching 
    Date: Thu, 26 Dec 2019 17:51:03 -0600
    Subject: [PATCH 0760/3036] chore: group core transport dependencies
    
    ---
     java-core/renovate.json | 8 ++++++++
     1 file changed, 8 insertions(+)
    
    diff --git a/java-core/renovate.json b/java-core/renovate.json
    index 02757c63ad2c..d014232c57bf 100644
    --- a/java-core/renovate.json
    +++ b/java-core/renovate.json
    @@ -26,6 +26,14 @@
           ],
           "groupName": "core dependencies"
         },
    +    {
    +      "packagePatterns": [
    +        "^com.google.http-client:",
    +        "^com.google.oauth-client:",
    +        "^com.google.api-client:"
    +      ],
    +      "groupName": "core transport dependencies"
    +    },
         {
           "packagePatterns": [
             "*"
    
    From bd9c21c6ada154e427a67fa487fb2bca68d9a4c1 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Mon, 30 Dec 2019 23:36:05 +0200
    Subject: [PATCH 0761/3036] deps: update dependency
     com.google.errorprone:error_prone_annotations to v2.3.4 (#105)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 2e406dea9d3e..6d6943817685 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -170,7 +170,7 @@
         3.0.2
         1.4.0
         2.6
    -    2.3.3
    +    2.3.4
         2.8.6
       
     
    
    From 77ad92b581bef74e9760ced94817c6ad66656f82 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Mon, 30 Dec 2019 23:53:14 +0200
    Subject: [PATCH 0762/3036] deps: update dependency com.google.guava:guava-bom
     to v28.2-android (#113)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 6d6943817685..d8fa50a3f3c1 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -163,7 +163,7 @@
         3.11.1
         0.24.0
         1.3.2
    -    28.1-android
    +    28.2-android
         4.12
         1.0
         3.6
    
    From 193df34c2fe8ffe7267f98f44c7dc0ddfac8871f Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Thu, 2 Jan 2020 19:48:20 +0200
    Subject: [PATCH 0763/3036] build(deps): update dependency junit:junit to v4.13
     (#114)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index d8fa50a3f3c1..1134183dd1ea 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -164,7 +164,7 @@
         0.24.0
         1.3.2
         28.2-android
    -    4.12
    +    4.13
         1.0
         3.6
         3.0.2
    
    From 9cf0907a0b69eebaedaced0c6de105fa6ed4af85 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Thu, 2 Jan 2020 10:11:50 -0800
    Subject: [PATCH 0764/3036] chore: release 1.92.1 (#100)
    
    * updated CHANGELOG.md [ci skip]
    
    * updated README.md [ci skip]
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/CHANGELOG.md                   | 11 +++++++++++
     java-core/google-cloud-core-bom/pom.xml  |  8 ++++----
     java-core/google-cloud-core-grpc/pom.xml |  4 ++--
     java-core/google-cloud-core-http/pom.xml |  4 ++--
     java-core/google-cloud-core/pom.xml      |  4 ++--
     java-core/pom.xml                        |  2 +-
     java-core/versions.txt                   |  2 +-
     7 files changed, 23 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md
    index 05107ed47e56..76c46ec8013d 100644
    --- a/java-core/CHANGELOG.md
    +++ b/java-core/CHANGELOG.md
    @@ -1,5 +1,16 @@
     # Changelog
     
    +### [1.92.1](https://www.github.com/googleapis/java-core/compare/v1.92.0...v1.92.1) (2020-01-02)
    +
    +
    +### Dependencies
    +
    +* update dependency com.google.errorprone:error_prone_annotations to v2.3.4 ([#105](https://www.github.com/googleapis/java-core/issues/105)) ([52f47c5](https://www.github.com/googleapis/java-core/commit/52f47c5ed84742b4b41417c486bfbb3c817b4a23))
    +* update dependency com.google.guava:guava-bom to v28.2-android ([#113](https://www.github.com/googleapis/java-core/issues/113)) ([8b11b1a](https://www.github.com/googleapis/java-core/commit/8b11b1a8d452ab823f35509ae42263c4a69f2a5a))
    +* update dependency com.google.http-client:google-http-client-bom to v1.34.0 ([#98](https://www.github.com/googleapis/java-core/issues/98)) ([d8e946d](https://www.github.com/googleapis/java-core/commit/d8e946dfd3866380406b02ad908925c4250cc34a))
    +* update dependency com.google.protobuf:protobuf-bom to v3.11.1 ([#106](https://www.github.com/googleapis/java-core/issues/106)) ([6d36434](https://www.github.com/googleapis/java-core/commit/6d364341bc5552e98590f9344b0e2d8cf4e68f0c))
    +* update dependency io.grpc:grpc-bom to v1.26.0 ([#107](https://www.github.com/googleapis/java-core/issues/107)) ([fca41a7](https://www.github.com/googleapis/java-core/commit/fca41a73fb6ca42eb4014d3cec6b32cc8e97ded9))
    +
     ## [1.92.0](https://www.github.com/googleapis/java-core/compare/v1.91.3...v1.92.0) (2019-12-13)
     
     
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 2a388008f668..72980232b7ab 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.1-SNAPSHOT
    +  1.92.1
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.1-SNAPSHOT
    +        1.92.1
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.1-SNAPSHOT
    +        1.92.1
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.1-SNAPSHOT
    +        1.92.1
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 10c1121a97d3..35cd98d78e2f 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
    -  1.92.1-SNAPSHOT
    +  1.92.1
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.1-SNAPSHOT
    +    1.92.1
       
       
         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 1951f95f1281..e0e5478d6303 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
    -  1.92.1-SNAPSHOT
    +  1.92.1
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.1-SNAPSHOT
    +    1.92.1
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 2c24cbe4341e..e25f8b1a2bbd 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
    -  1.92.1-SNAPSHOT
    +  1.92.1
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.1-SNAPSHOT
    +    1.92.1
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 1134183dd1ea..ae180464d778 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.1-SNAPSHOT
    +  1.92.1
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index b2b084b5a7e8..df5dafcbed45 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.0:1.92.1-SNAPSHOT
    \ No newline at end of file
    +google-cloud-core:1.92.1:1.92.1
    \ No newline at end of file
    
    From 80e18ef62d1dab4df74424dec9f2e3dc9410abef Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Fri, 3 Jan 2020 11:12:10 -0800
    Subject: [PATCH 0765/3036] chore: release 1.92.2-SNAPSHOT (#115)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 72980232b7ab..1f56f67f2342 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.1
    +  1.92.2-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.1
    +        1.92.2-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.1
    +        1.92.2-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.1
    +        1.92.2-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 35cd98d78e2f..00c8e3b13721 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
    -  1.92.1
    +  1.92.2-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.1
    +    1.92.2-SNAPSHOT
       
       
         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 e0e5478d6303..5200ffc64a88 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
    -  1.92.1
    +  1.92.2-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.1
    +    1.92.2-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index e25f8b1a2bbd..52b3b477d9a4 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
    -  1.92.1
    +  1.92.2-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.1
    +    1.92.2-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index ae180464d778..f00c3b557e91 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.1
    +  1.92.2-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index df5dafcbed45..7e4d13af6405 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.1:1.92.1
    \ No newline at end of file
    +google-cloud-core:1.92.1:1.92.2-SNAPSHOT
    \ No newline at end of file
    
    From d491bf684afa225ba8e41a9f1d6fca4f11ef7e12 Mon Sep 17 00:00:00 2001
    From: Renovate Bot 
    Date: Fri, 3 Jan 2020 21:42:27 +0200
    Subject: [PATCH 0766/3036] build(deps): update dependency
     com.google.cloud:google-cloud-shared-config to v0.3.1 (#116)
    
    ---
     java-core/google-cloud-core-bom/pom.xml | 2 +-
     java-core/pom.xml                       | 2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 1f56f67f2342..d2299ea3907b 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -8,7 +8,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.3.0
    +    0.3.1
       
     
       Google Cloud Core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index f00c3b557e91..8096e7c562eb 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -14,7 +14,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.3.0
    +    0.3.1
       
     
       
    
    From 227542293ef29c2c212277b41a703f9b22c1ebfd Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Tue, 7 Jan 2020 08:46:40 -0800
    Subject: [PATCH 0767/3036] chore: update common templates (#117)
    
    ---
     java-core/.kokoro/build.sh               |  15 +-
     java-core/.kokoro/continuous/samples.cfg |  31 ++
     java-core/.kokoro/nightly/samples.cfg    |  31 ++
     java-core/.kokoro/presubmit/samples.cfg  |  31 ++
     java-core/CONTRIBUTING.md                | 104 ++++++-
     java-core/synth.metadata                 | 342 +++++++++++++----------
     6 files changed, 405 insertions(+), 149 deletions(-)
     create mode 100644 java-core/.kokoro/continuous/samples.cfg
     create mode 100644 java-core/.kokoro/nightly/samples.cfg
     create mode 100644 java-core/.kokoro/presubmit/samples.cfg
    
    diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh
    index dc2936ef76a8..f1ae58408da5 100755
    --- a/java-core/.kokoro/build.sh
    +++ b/java-core/.kokoro/build.sh
    @@ -44,13 +44,26 @@ test)
         bash .kokoro/coerce_logs.sh
         ;;
     lint)
    -    mvn com.coveo:fmt-maven-plugin:check
    +    mvn \
    +      -Penable-samples \
    +      com.coveo:fmt-maven-plugin:check
         ;;
     javadoc)
         mvn javadoc:javadoc javadoc:test-javadoc
         ;;
     integration)
         mvn -B ${INTEGRATION_TEST_ARGS} \
    +      -Penable-integration-tests \
    +      -DtrimStackTrace=false \
    +      -Dclirr.skip=true \
    +      -Denforcer.skip=true \
    +      -fae \
    +      verify
    +    bash .kokoro/coerce_logs.sh
    +    ;;
    +samples)
    +    mvn -B \
    +      -Penable-samples \
           -DtrimStackTrace=false \
           -Dclirr.skip=true \
           -Denforcer.skip=true \
    diff --git a/java-core/.kokoro/continuous/samples.cfg b/java-core/.kokoro/continuous/samples.cfg
    new file mode 100644
    index 000000000000..fa7b493d0b5c
    --- /dev/null
    +++ b/java-core/.kokoro/continuous/samples.cfg
    @@ -0,0 +1,31 @@
    +# Format: //devtools/kokoro/config/proto/build.proto
    +
    +# Configure the docker image for kokoro-trampoline.
    +env_vars: {
    +  key: "TRAMPOLINE_IMAGE"
    +  value: "gcr.io/cloud-devrel-kokoro-resources/java8"
    +}
    +
    +env_vars: {
    +  key: "JOB_TYPE"
    +  value: "samples"
    +}
    +
    +env_vars: {
    +    key: "GCLOUD_PROJECT"
    +    value: "gcloud-devel"
    +}
    +
    +env_vars: {
    +    key: "GOOGLE_APPLICATION_CREDENTIALS"
    +    value: "keystore/73713_java_it_service_account"
    +}
    +
    +before_action {
    +  fetch_keystore {
    +    keystore_resource {
    +      keystore_config_id: 73713
    +      keyname: "java_it_service_account"
    +    }
    +  }
    +}
    diff --git a/java-core/.kokoro/nightly/samples.cfg b/java-core/.kokoro/nightly/samples.cfg
    new file mode 100644
    index 000000000000..9a9102490d54
    --- /dev/null
    +++ b/java-core/.kokoro/nightly/samples.cfg
    @@ -0,0 +1,31 @@
    +# Format: //devtools/kokoro/config/proto/build.proto
    +
    +# Configure the docker image for kokoro-trampoline.
    +env_vars: {
    +    key: "TRAMPOLINE_IMAGE"
    +    value: "gcr.io/cloud-devrel-kokoro-resources/java8"
    +}
    +
    +env_vars: {
    +    key: "JOB_TYPE"
    +    value: "samples"
    +}
    +
    +env_vars: {
    +    key: "GCLOUD_PROJECT"
    +    value: "gcloud-devel"
    +}
    +
    +env_vars: {
    +    key: "GOOGLE_APPLICATION_CREDENTIALS"
    +    value: "keystore/73713_java_it_service_account"
    +}
    +
    +before_action {
    +  fetch_keystore {
    +    keystore_resource {
    +      keystore_config_id: 73713
    +      keyname: "java_it_service_account"
    +    }
    +  }
    +}
    diff --git a/java-core/.kokoro/presubmit/samples.cfg b/java-core/.kokoro/presubmit/samples.cfg
    new file mode 100644
    index 000000000000..fa7b493d0b5c
    --- /dev/null
    +++ b/java-core/.kokoro/presubmit/samples.cfg
    @@ -0,0 +1,31 @@
    +# Format: //devtools/kokoro/config/proto/build.proto
    +
    +# Configure the docker image for kokoro-trampoline.
    +env_vars: {
    +  key: "TRAMPOLINE_IMAGE"
    +  value: "gcr.io/cloud-devrel-kokoro-resources/java8"
    +}
    +
    +env_vars: {
    +  key: "JOB_TYPE"
    +  value: "samples"
    +}
    +
    +env_vars: {
    +    key: "GCLOUD_PROJECT"
    +    value: "gcloud-devel"
    +}
    +
    +env_vars: {
    +    key: "GOOGLE_APPLICATION_CREDENTIALS"
    +    value: "keystore/73713_java_it_service_account"
    +}
    +
    +before_action {
    +  fetch_keystore {
    +    keystore_resource {
    +      keystore_config_id: 73713
    +      keyname: "java_it_service_account"
    +    }
    +  }
    +}
    diff --git a/java-core/CONTRIBUTING.md b/java-core/CONTRIBUTING.md
    index ebbb59e5310f..085021ddec26 100644
    --- a/java-core/CONTRIBUTING.md
    +++ b/java-core/CONTRIBUTING.md
    @@ -25,4 +25,106 @@ information on using pull requests.
     ## Community Guidelines
     
     This project follows
    -[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/).
    \ No newline at end of file
    +[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/).
    +
    +## Building the project
    +
    +To build, package, and run all unit tests run the command
    +
    +```
    +mvn clean verify
    +```
    +
    +### Running Integration tests
    +
    +To include integration tests when building the project, you need access to
    +a GCP Project with a valid service account. 
    +
    +For instructions on how to generate a service account and corresponding
    +credentials JSON see: [Creating a Service Account][1].
    +
    +Then run the following to build, package, run all unit tests and run all
    +integration tests.
    +
    +```bash
    +export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json
    +mvn -Penable-integration-tests clean verify
    +```
    +
    +## Code Samples
    +
    +Code Samples must be bundled in separate Maven modules, and guarded by a
    +Maven profile with the name `enable-samples`.
    +
    +The samples must be separate from the primary project for a few reasons:
    +1. Primary projects have a minimum Java version of Java 7 whereas samples have
    +   a minimum Java version of Java 8. Due to this we need the ability to
    +   selectively exclude samples from a build run.
    +2. Many code samples depend on external GCP services and need
    +   credentials to access the service.
    +3. Code samples are not released as Maven artifacts and must be excluded from 
    +   release builds.
    +   
    +### Building
    +
    +```bash
    +mvn -Penable-samples clean verify
    +```
    +
    +Some samples require access to GCP services and require a service account:
    +
    +```bash
    +export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json
    +mvn -Penable-samples clean verify
    +```
    +
    +### Profile Config
    +
    +1. To add samples in a profile to your Maven project, add the following to your
    +`pom.xml`
    +
    +    ```xml
    +    
    +      [...]
    +      
    +        
    +          enable-samples
    +          
    +            sample
    +          
    +        
    +      
    +      [...]
    +    
    +    ```
    +
    +2. [Activate](#profile-activation) the profile.
    +3. Define your samples in a normal Maven project in the `samples/` directory
    +
    +### Profile Activation
    +
    +To include code samples when building and testing the project, enable the 
    +`enable-samples` Maven profile.
    +
    +#### Command line
    +
    +To activate the Maven profile on the command line add `-Penable-samples` to your
    +Maven command.
    +
    +#### Maven `settings.xml`
    +
    +To activate the Maven profile in your `~/.m2/settings.xml` add an entry of
    +`enable-samples` following the instructions in [Active Profiles][2].
    +
    +This method has the benefit of applying to all projects you build (and is
    +respected by IntelliJ IDEA) and is recommended if you are going to be
    +contributing samples to several projects.
    +
    +#### IntelliJ IDEA
    +
    +To activate the Maven Profile inside IntelliJ IDEA, follow the instructions in
    +[Activate Maven profiles][3] to activate `enable-samples`.
    +
    +[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account
    +[2]: https://maven.apache.org/settings.html#Active_Profiles
    +[3]: https://www.jetbrains.com/help/idea/work-with-maven-profiles.html#activate_maven_profiles
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index f2b99f229005..36f59918bb61 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2019-12-19T09:04:21.054357Z",
    +  "updateTime": "2020-01-07T09:14:00.627745Z",
       "sources": [
         {
           "template": {
    @@ -11,10 +11,7 @@
       ],
       "newFiles": [
         {
    -      "path": ".gitignore"
    -    },
    -    {
    -      "path": "README.md"
    +      "path": ".repo-metadata.json"
         },
         {
           "path": "renovate.json"
    @@ -23,16 +20,19 @@
           "path": "license-checks.xml"
         },
         {
    -      "path": "CONTRIBUTING.md"
    +      "path": "synth.py"
         },
         {
    -      "path": "synth.py"
    +      "path": "CHANGELOG.md"
         },
         {
    -      "path": "synth.metadata"
    +      "path": "codecov.yaml"
         },
         {
    -      "path": "java.header"
    +      "path": "LICENSE"
    +    },
    +    {
    +      "path": ".gitignore"
         },
         {
           "path": "pom.xml"
    @@ -41,19 +41,22 @@
           "path": "CODE_OF_CONDUCT.md"
         },
         {
    -      "path": "versions.txt"
    +      "path": "synth.metadata"
         },
         {
    -      "path": "CHANGELOG.md"
    +      "path": "README.md"
         },
         {
    -      "path": "LICENSE"
    +      "path": "versions.txt"
         },
         {
    -      "path": ".repo-metadata.json"
    +      "path": "CONTRIBUTING.md"
         },
         {
    -      "path": "codecov.yaml"
    +      "path": "java.header"
    +    },
    +    {
    +      "path": "google-cloud-core-bom/pom.xml"
         },
         {
           "path": "google-cloud-core/pom.xml"
    @@ -62,412 +65,415 @@
           "path": "google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java"
         },
         {
           "path": "google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/RoleTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java"
    +    },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java"
         },
         {
           "path": "google-cloud-core/src/test/java/com/google/cloud/DateTest.java"
         },
    +    {
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/RoleTest.java"
    +    },
         {
           "path": "google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java"
         },
         {
           "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BatchResult.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Restorable.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Restorable.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Date.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryOption.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseService.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Policy.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RestorableState.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Identity.java"
         },
         {
           "path": "google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Timestamp.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java"
         },
         {
           "path": "google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ByteArray.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Timestamp.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Role.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/PageImpl.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BatchResult.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ByteArray.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Role.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Policy.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/package-info.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/PageImpl.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Service.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java"
         },
         {
           "path": "google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Tuple.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RestorableState.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseService.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryOption.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Tuple.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Date.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Service.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Identity.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/package-info.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/Version.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/Version.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java"
         },
         {
           "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java"
    +      "path": "google-cloud-core-grpc/pom.xml"
         },
         {
    -      "path": "google-cloud-core-grpc/pom.xml"
    +      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java"
         },
         {
           "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java"
         },
         {
    -      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java"
    +      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java"
         },
         {
           "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java"
         },
    -    {
    -      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java"
    -    },
         {
           "path": "google-cloud-core-http/pom.xml"
         },
         {
           "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java"
         },
    -    {
    -      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java"
    -    },
         {
           "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java"
         },
         {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java"
    +      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java"
         },
         {
           "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java"
         },
         {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java"
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java"
         },
         {
    -      "path": ".github/release-please.yml"
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java"
         },
         {
    -      "path": ".github/PULL_REQUEST_TEMPLATE.md"
    +      "path": ".kokoro/build.bat"
         },
         {
    -      "path": ".github/ISSUE_TEMPLATE/support_request.md"
    +      "path": ".kokoro/build.sh"
         },
         {
    -      "path": ".github/ISSUE_TEMPLATE/feature_request.md"
    +      "path": ".kokoro/dependencies.sh"
         },
         {
    -      "path": ".github/ISSUE_TEMPLATE/bug_report.md"
    +      "path": ".kokoro/common.cfg"
         },
         {
           "path": ".kokoro/trampoline.sh"
         },
         {
    -      "path": ".kokoro/build.sh"
    +      "path": ".kokoro/coerce_logs.sh"
         },
         {
    -      "path": ".kokoro/build.bat"
    +      "path": ".kokoro/linkage-monitor.sh"
         },
         {
    -      "path": ".kokoro/linkage-monitor.sh"
    +      "path": ".kokoro/continuous/dependencies.cfg"
         },
         {
    -      "path": ".kokoro/dependencies.sh"
    +      "path": ".kokoro/continuous/samples.cfg"
         },
         {
    -      "path": ".kokoro/common.cfg"
    +      "path": ".kokoro/continuous/java7.cfg"
         },
         {
    -      "path": ".kokoro/coerce_logs.sh"
    +      "path": ".kokoro/continuous/java8-osx.cfg"
         },
         {
    -      "path": ".kokoro/release/common.sh"
    +      "path": ".kokoro/continuous/java8-win.cfg"
         },
         {
    -      "path": ".kokoro/release/publish_javadoc.cfg"
    +      "path": ".kokoro/continuous/propose_release.sh"
         },
         {
    -      "path": ".kokoro/release/stage.cfg"
    +      "path": ".kokoro/continuous/lint.cfg"
         },
         {
    -      "path": ".kokoro/release/publish_javadoc.sh"
    +      "path": ".kokoro/continuous/java11.cfg"
         },
         {
    -      "path": ".kokoro/release/bump_snapshot.cfg"
    +      "path": ".kokoro/continuous/common.cfg"
         },
         {
    -      "path": ".kokoro/release/drop.cfg"
    +      "path": ".kokoro/continuous/propose_release.cfg"
         },
         {
    -      "path": ".kokoro/release/snapshot.cfg"
    +      "path": ".kokoro/continuous/java8.cfg"
         },
         {
    -      "path": ".kokoro/release/promote.sh"
    +      "path": ".kokoro/continuous/integration.cfg"
         },
         {
    -      "path": ".kokoro/release/stage.sh"
    +      "path": ".kokoro/release/drop.sh"
         },
         {
    -      "path": ".kokoro/release/bump_snapshot.sh"
    +      "path": ".kokoro/release/stage.cfg"
         },
         {
           "path": ".kokoro/release/promote.cfg"
         },
         {
    -      "path": ".kokoro/release/drop.sh"
    +      "path": ".kokoro/release/publish_javadoc.cfg"
         },
         {
    -      "path": ".kokoro/release/common.cfg"
    +      "path": ".kokoro/release/bump_snapshot.cfg"
    +    },
    +    {
    +      "path": ".kokoro/release/promote.sh"
    +    },
    +    {
    +      "path": ".kokoro/release/stage.sh"
         },
         {
           "path": ".kokoro/release/snapshot.sh"
         },
         {
    -      "path": ".kokoro/nightly/java11.cfg"
    +      "path": ".kokoro/release/snapshot.cfg"
         },
         {
    -      "path": ".kokoro/nightly/java8-win.cfg"
    +      "path": ".kokoro/release/common.cfg"
         },
         {
    -      "path": ".kokoro/nightly/lint.cfg"
    +      "path": ".kokoro/release/bump_snapshot.sh"
         },
         {
    -      "path": ".kokoro/nightly/java8-osx.cfg"
    +      "path": ".kokoro/release/common.sh"
         },
         {
    -      "path": ".kokoro/nightly/integration.cfg"
    +      "path": ".kokoro/release/drop.cfg"
         },
         {
    -      "path": ".kokoro/nightly/java7.cfg"
    +      "path": ".kokoro/release/publish_javadoc.sh"
         },
         {
    -      "path": ".kokoro/nightly/java8.cfg"
    +      "path": ".kokoro/presubmit/dependencies.cfg"
         },
         {
    -      "path": ".kokoro/nightly/dependencies.cfg"
    +      "path": ".kokoro/presubmit/samples.cfg"
         },
         {
    -      "path": ".kokoro/nightly/common.cfg"
    +      "path": ".kokoro/presubmit/java7.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java11.cfg"
    +      "path": ".kokoro/presubmit/java8-osx.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java8-win.cfg"
    +      "path": ".kokoro/presubmit/linkage-monitor.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/lint.cfg"
    +      "path": ".kokoro/presubmit/java8-win.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/clirr.cfg"
    +      "path": ".kokoro/presubmit/lint.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java8-osx.cfg"
    +      "path": ".kokoro/presubmit/java11.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/integration.cfg"
    +      "path": ".kokoro/presubmit/common.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java7.cfg"
    +      "path": ".kokoro/presubmit/clirr.cfg"
         },
         {
           "path": ".kokoro/presubmit/java8.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/dependencies.cfg"
    +      "path": ".kokoro/presubmit/integration.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/linkage-monitor.cfg"
    +      "path": ".kokoro/nightly/dependencies.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/common.cfg"
    +      "path": ".kokoro/nightly/samples.cfg"
         },
         {
    -      "path": ".kokoro/continuous/propose_release.cfg"
    +      "path": ".kokoro/nightly/java7.cfg"
         },
         {
    -      "path": ".kokoro/continuous/java11.cfg"
    +      "path": ".kokoro/nightly/java8-osx.cfg"
         },
         {
    -      "path": ".kokoro/continuous/java8-win.cfg"
    +      "path": ".kokoro/nightly/java8-win.cfg"
         },
         {
    -      "path": ".kokoro/continuous/lint.cfg"
    +      "path": ".kokoro/nightly/lint.cfg"
         },
         {
    -      "path": ".kokoro/continuous/java8-osx.cfg"
    +      "path": ".kokoro/nightly/java11.cfg"
         },
         {
    -      "path": ".kokoro/continuous/propose_release.sh"
    +      "path": ".kokoro/nightly/common.cfg"
         },
         {
    -      "path": ".kokoro/continuous/integration.cfg"
    +      "path": ".kokoro/nightly/java8.cfg"
         },
         {
    -      "path": ".kokoro/continuous/java7.cfg"
    +      "path": ".kokoro/nightly/integration.cfg"
         },
         {
    -      "path": ".kokoro/continuous/java8.cfg"
    +      "path": ".github/release-please.yml"
         },
         {
    -      "path": ".kokoro/continuous/dependencies.cfg"
    +      "path": ".github/PULL_REQUEST_TEMPLATE.md"
         },
         {
    -      "path": ".kokoro/continuous/common.cfg"
    +      "path": ".github/ISSUE_TEMPLATE/bug_report.md"
         },
         {
    -      "path": "__pycache__/synth.cpython-36.pyc"
    +      "path": ".github/ISSUE_TEMPLATE/support_request.md"
         },
         {
    -      "path": "google-cloud-core-bom/pom.xml"
    +      "path": ".github/ISSUE_TEMPLATE/feature_request.md"
         },
         {
    -      "path": ".git/shallow"
    +      "path": "__pycache__/synth.cpython-36.pyc"
         },
         {
           "path": ".git/index"
    @@ -478,35 +484,77 @@
         {
           "path": ".git/HEAD"
         },
    +    {
    +      "path": ".git/description"
    +    },
         {
           "path": ".git/config"
         },
         {
    -      "path": ".git/logs/HEAD"
    +      "path": ".git/shallow"
         },
         {
    -      "path": ".git/logs/refs/heads/autosynth"
    +      "path": ".git/objects/pack/pack-0bf53eb9962b8fdfc2878a86d862322de07c0a0b.pack"
         },
         {
    -      "path": ".git/logs/refs/heads/master"
    +      "path": ".git/objects/pack/pack-0bf53eb9962b8fdfc2878a86d862322de07c0a0b.idx"
         },
         {
    -      "path": ".git/logs/refs/remotes/origin/HEAD"
    +      "path": ".git/refs/remotes/origin/HEAD"
         },
         {
    -      "path": ".git/objects/pack/pack-a5d6f9382dda21b97ddbde6b57fd00761ba537a6.idx"
    +      "path": ".git/refs/heads/autosynth"
         },
         {
    -      "path": ".git/objects/pack/pack-a5d6f9382dda21b97ddbde6b57fd00761ba537a6.pack"
    +      "path": ".git/refs/heads/master"
         },
         {
    -      "path": ".git/refs/heads/autosynth"
    +      "path": ".git/hooks/pre-applypatch.sample"
         },
         {
    -      "path": ".git/refs/heads/master"
    +      "path": ".git/hooks/pre-commit.sample"
         },
         {
    -      "path": ".git/refs/remotes/origin/HEAD"
    +      "path": ".git/hooks/fsmonitor-watchman.sample"
    +    },
    +    {
    +      "path": ".git/hooks/pre-rebase.sample"
    +    },
    +    {
    +      "path": ".git/hooks/update.sample"
    +    },
    +    {
    +      "path": ".git/hooks/pre-push.sample"
    +    },
    +    {
    +      "path": ".git/hooks/applypatch-msg.sample"
    +    },
    +    {
    +      "path": ".git/hooks/prepare-commit-msg.sample"
    +    },
    +    {
    +      "path": ".git/hooks/commit-msg.sample"
    +    },
    +    {
    +      "path": ".git/hooks/post-update.sample"
    +    },
    +    {
    +      "path": ".git/hooks/pre-receive.sample"
    +    },
    +    {
    +      "path": ".git/info/exclude"
    +    },
    +    {
    +      "path": ".git/logs/HEAD"
    +    },
    +    {
    +      "path": ".git/logs/refs/remotes/origin/HEAD"
    +    },
    +    {
    +      "path": ".git/logs/refs/heads/autosynth"
    +    },
    +    {
    +      "path": ".git/logs/refs/heads/master"
         }
       ]
     }
    \ No newline at end of file
    
    From b6ca0b27d82801dcb98fb5fcf54fbeb71e3993ce Mon Sep 17 00:00:00 2001
    From: Jeff Ching 
    Date: Tue, 7 Jan 2020 11:38:29 -0800
    Subject: [PATCH 0768/3036] chore: allow unstable renovate updates
    
    ---
     java-core/renovate.json | 6 ++++++
     1 file changed, 6 insertions(+)
    
    diff --git a/java-core/renovate.json b/java-core/renovate.json
    index d014232c57bf..f3a70c9703f1 100644
    --- a/java-core/renovate.json
    +++ b/java-core/renovate.json
    @@ -52,6 +52,12 @@
           ],
           "semanticCommitType": "build",
           "semanticCommitScope": "deps"
    +    },
    +    {
    +      "packagePatterns": [
    +        "^com.google.cloud:google-cloud-"
    +      ],
    +      "ignoreUnstable": false
         }
       ],
       "semanticCommits": true
    
    From 11c5ff17cc38a69b113ec13d7130692fb137bf42 Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Thu, 9 Jan 2020 20:22:17 +0100
    Subject: [PATCH 0769/3036] build(deps): update dependency
     com.google.cloud:google-cloud-shared-config to v0.4.0 (#122)
    
    ---
     java-core/google-cloud-core-bom/pom.xml | 2 +-
     java-core/pom.xml                       | 2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index d2299ea3907b..6935293e678b 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -8,7 +8,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.3.1
    +    0.4.0
       
     
       Google Cloud Core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 8096e7c562eb..408c3968a562 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -14,7 +14,7 @@
       
         com.google.cloud
         google-cloud-shared-config
    -    0.3.1
    +    0.4.0
       
     
       
    
    From 8cd5e0beb46a6cc36a00715f0cdd45fb033d2bae Mon Sep 17 00:00:00 2001
    From: Cody Oss <6331106+codyoss@users.noreply.github.com>
    Date: Thu, 9 Jan 2020 13:15:30 -0700
    Subject: [PATCH 0770/3036] fix: cast to proper interface (#124)
    
    Fixes #123
    ---
     .../src/main/java/com/google/cloud/ServiceOptions.java          | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
    index 792609f4b4e5..2a84403af0f0 100644
    --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
    +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java
    @@ -218,7 +218,7 @@ public B setCredentials(Credentials credentials) {
           }
     
           if (this.quotaProjectId == null && credentials instanceof QuotaProjectIdProvider) {
    -        this.quotaProjectId = ((ServiceAccountCredentials) credentials).getQuotaProjectId();
    +        this.quotaProjectId = ((QuotaProjectIdProvider) credentials).getQuotaProjectId();
           }
           return self();
         }
    
    From 37093f90134af3ee7f62e2adae4a344194726c3c Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Thu, 9 Jan 2020 13:26:31 -0700
    Subject: [PATCH 0771/3036] chore: release 1.92.2 (#125)
    
    ---
     java-core/CHANGELOG.md                   | 7 +++++++
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     7 files changed, 19 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md
    index 76c46ec8013d..23c3ada285d0 100644
    --- a/java-core/CHANGELOG.md
    +++ b/java-core/CHANGELOG.md
    @@ -1,5 +1,12 @@
     # Changelog
     
    +### [1.92.2](https://www.github.com/googleapis/java-core/compare/v1.92.1...v1.92.2) (2020-01-09)
    +
    +
    +### Bug Fixes
    +
    +* cast to proper interface ([#124](https://www.github.com/googleapis/java-core/issues/124)) ([cd6eabf](https://www.github.com/googleapis/java-core/commit/cd6eabffcdeed485aba088336fa473a6b85c752d)), closes [#123](https://www.github.com/googleapis/java-core/issues/123)
    +
     ### [1.92.1](https://www.github.com/googleapis/java-core/compare/v1.92.0...v1.92.1) (2020-01-02)
     
     
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 6935293e678b..81c9ec5fbc1b 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.2-SNAPSHOT
    +  1.92.2
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.2-SNAPSHOT
    +        1.92.2
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.2-SNAPSHOT
    +        1.92.2
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.2-SNAPSHOT
    +        1.92.2
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 00c8e3b13721..f550d5dcc94b 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
    -  1.92.2-SNAPSHOT
    +  1.92.2
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.2-SNAPSHOT
    +    1.92.2
       
       
         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 5200ffc64a88..0a2709beff96 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
    -  1.92.2-SNAPSHOT
    +  1.92.2
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.2-SNAPSHOT
    +    1.92.2
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 52b3b477d9a4..27527f2e9a67 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
    -  1.92.2-SNAPSHOT
    +  1.92.2
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.2-SNAPSHOT
    +    1.92.2
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 408c3968a562..45456b4e982e 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.2-SNAPSHOT
    +  1.92.2
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index 7e4d13af6405..6aecda895766 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.1:1.92.2-SNAPSHOT
    \ No newline at end of file
    +google-cloud-core:1.92.2:1.92.2
    \ No newline at end of file
    
    From 42c5bb46c9a309a2fd05097010866e89bacd7685 Mon Sep 17 00:00:00 2001
    From: Ajit Thakor <49403056+athakor@users.noreply.github.com>
    Date: Fri, 10 Jan 2020 22:55:49 +0530
    Subject: [PATCH 0772/3036] test: remove usage of deprecated ExpectedException
     JUnit rule (#127)
    
    * chore: remove deprecated method
    
    * chore: code modified
    ---
     .../google/cloud/BaseWriteChannelTest.java    |  7 +--
     .../google/cloud/ExceptionHandlerTest.java    | 10 +---
     .../com/google/cloud/RetryOptionTest.java     |  3 --
     .../com/google/cloud/ServiceOptionsTest.java  |  7 +--
     .../java/com/google/cloud/StringEnumTest.java | 26 +++++----
     .../java/com/google/cloud/TimestampTest.java  | 54 +++++++++++++------
     .../com/google/cloud/testing/VersionTest.java | 47 +++++++++++-----
     7 files changed, 91 insertions(+), 63 deletions(-)
    
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java
    index 3f539e5f64fb..65743a347a21 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java
    @@ -31,9 +31,7 @@
     import java.util.Arrays;
     import java.util.Random;
     import org.junit.Before;
    -import org.junit.Rule;
     import org.junit.Test;
    -import org.junit.rules.ExpectedException;
     
     public class BaseWriteChannelTest {
     
    @@ -60,8 +58,6 @@ protected CustomServiceOptions(
       private static final Random RANDOM = new Random();
       private static BaseWriteChannel channel;
     
    -  @Rule public ExpectedException thrown = ExpectedException.none();
    -
       @Before
       public void setUp() {
         channel =
    @@ -100,10 +96,9 @@ public void testClose() throws IOException {
         assertNull(channel.getBuffer());
       }
     
    -  @Test
    +  @Test(expected = ClosedChannelException.class)
       public void testValidateOpen() throws IOException {
         channel.close();
    -    thrown.expect(ClosedChannelException.class);
         channel.write(ByteBuffer.allocate(42));
       }
     
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java
    index 96687cac333d..50e0583c89ca 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java
    @@ -27,15 +27,11 @@
     import java.nio.channels.ClosedByInterruptException;
     import java.util.concurrent.Callable;
     import java.util.concurrent.atomic.AtomicReference;
    -import org.junit.Rule;
     import org.junit.Test;
    -import org.junit.rules.ExpectedException;
     
     /** Tests for {@link ExceptionHandler}. */
     public class ExceptionHandlerTest {
     
    -  @Rule public ExpectedException thrown = ExpectedException.none();
    -
       @Test
       public void testVerifyCaller() {
         class A implements Callable {
    @@ -170,7 +166,7 @@ public RetryResult beforeEval(Exception exception) {
         assertFalse(handler.shouldRetry(new NullPointerException(), null));
       }
     
    -  @Test
    +  @Test(expected = NullPointerException.class)
       public void testNullRetryResultFromBeforeEval() {
         @SuppressWarnings("serial")
         Interceptor interceptor =
    @@ -188,11 +184,10 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) {
             };
     
         ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build();
    -    thrown.expect(NullPointerException.class);
         handler.shouldRetry(new Exception(), null);
       }
     
    -  @Test
    +  @Test(expected = NullPointerException.class)
       public void testNullRetryResultFromAfterEval() {
         @SuppressWarnings("serial")
         Interceptor interceptor =
    @@ -210,7 +205,6 @@ public RetryResult afterEval(Exception exception, RetryResult retryResult) {
             };
     
         ExceptionHandler handler = ExceptionHandler.newBuilder().addInterceptors(interceptor).build();
    -    thrown.expect(NullPointerException.class);
         handler.shouldRetry(new Exception(), null);
       }
     }
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java
    index e1c906ca23f3..ebea89f2fc04 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java
    @@ -20,13 +20,10 @@
     import static org.junit.Assert.assertNotEquals;
     
     import com.google.api.gax.retrying.RetrySettings;
    -import org.junit.Rule;
     import org.junit.Test;
    -import org.junit.rules.ExpectedException;
     import org.threeten.bp.Duration;
     
     public class RetryOptionTest {
    -  @Rule public ExpectedException thrown = ExpectedException.none();
     
       private static final RetryOption TOTAL_TIMEOUT =
           RetryOption.totalTimeout(Duration.ofMillis(420L));
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java
    index 8f8cab08b3b5..6f8763c84b05 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java
    @@ -48,9 +48,7 @@
     import java.util.Map;
     import java.util.Set;
     import java.util.regex.Pattern;
    -import org.junit.Rule;
     import org.junit.Test;
    -import org.junit.rules.ExpectedException;
     
     public class ServiceOptionsTest {
       private static GoogleCredentials credentials;
    @@ -185,8 +183,6 @@ static GoogleCredentials loadCredentials(String credentialFile) {
       private static final String LIBRARY_NAME = "gcloud-java";
       private static final Pattern APPLICATION_NAME_PATTERN = Pattern.compile(LIBRARY_NAME + "/.*");
     
    -  @Rule public ExpectedException thrown = ExpectedException.none();
    -
       private static class TestClock implements ApiClock {
         @Override
         public long nanoTime() {
    @@ -361,9 +357,8 @@ public void testBuilderNoCredentials() {
         assertEquals("quota-project-id", OPTIONS.getQuotaProjectId());
       }
     
    -  @Test
    +  @Test(expected = NullPointerException.class)
       public void testBuilderNullCredentials() {
    -    thrown.expect(NullPointerException.class);
         TestServiceOptions.newBuilder().setCredentials(null).build();
       }
     
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java
    index 716e124f53ec..edef7820cd0e 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java
    @@ -16,18 +16,17 @@
     package com.google.cloud;
     
     import static com.google.common.truth.Truth.assertThat;
    +import static org.junit.Assert.assertNotNull;
    +import static org.junit.Assert.assertNull;
     
     import com.google.api.core.ApiFunction;
     import com.google.common.testing.EqualsTester;
     import java.util.Arrays;
    -import org.junit.Rule;
    +import org.junit.Assert;
     import org.junit.Test;
    -import org.junit.rules.ExpectedException;
     
     public class StringEnumTest {
     
    -  @Rule public ExpectedException expectedException = ExpectedException.none();
    -
       public static class Letter extends StringEnumValue {
         private static final long serialVersionUID = -1717976087182628526L;
     
    @@ -65,16 +64,19 @@ public static Letter[] values() {
         }
       }
     
    -  @Test
    +  @Test(expected = NullPointerException.class)
       public void testNullClass() {
    -    expectedException.expect(NullPointerException.class);
         new StringEnumType(null, Letter.CONSTRUCTOR);
       }
     
       @Test
       public void testNullConstructor() {
    -    expectedException.expect(NullPointerException.class);
    -    new StringEnumType(Letter.class, null);
    +    try {
    +      new StringEnumType(Letter.class, null);
    +      Assert.fail();
    +    } catch (NullPointerException ex) {
    +      assertNull(ex.getMessage());
    +    }
       }
     
       @Test
    @@ -110,8 +112,12 @@ public void testEquals() {
     
       @Test
       public void testValueOfStrict_invalid() {
    -    expectedException.expect(IllegalArgumentException.class);
    -    Letter.valueOfStrict("NonExistentLetter");
    +    try {
    +      Letter.valueOfStrict("NonExistentLetter");
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java
    index db9ede84dce1..81ef7ce379a4 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java
    @@ -18,6 +18,7 @@
     
     import static com.google.common.testing.SerializableTester.reserializeAndAssert;
     import static com.google.common.truth.Truth.assertThat;
    +import static org.junit.Assert.assertNotNull;
     
     import com.google.common.testing.EqualsTester;
     import java.util.Calendar;
    @@ -25,9 +26,8 @@
     import java.util.GregorianCalendar;
     import java.util.TimeZone;
     import java.util.concurrent.TimeUnit;
    -import org.junit.Rule;
    +import org.junit.Assert;
     import org.junit.Test;
    -import org.junit.rules.ExpectedException;
     import org.junit.runner.RunWith;
     import org.junit.runners.JUnit4;
     
    @@ -43,8 +43,6 @@ public class TimestampTest {
       private static final Date TEST_DATE = new Date(TEST_TIME_MILLISECONDS);
       private static final Date TEST_DATE_PRE_EPOCH = new Date(TEST_TIME_MILLISECONDS_NEGATIVE);
     
    -  @Rule public ExpectedException expectedException = ExpectedException.none();
    -
       @Test
       public void minValue() {
         // MIN_VALUE is before the start of the Gregorian calendar... use magic value.
    @@ -119,38 +117,62 @@ public void toFromSqlTimestamp() {
     
       @Test
       public void boundsSecondsMin() {
    -    expectedException.expect(IllegalArgumentException.class);
    -    Timestamp.ofTimeSecondsAndNanos(Timestamp.MIN_VALUE.getSeconds() - 1, 999999999);
    +    try {
    +      Timestamp.ofTimeSecondsAndNanos(Timestamp.MIN_VALUE.getSeconds() - 1, 999999999);
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void boundsSecondsMax() {
    -    expectedException.expect(IllegalArgumentException.class);
    -    Timestamp.ofTimeSecondsAndNanos(Timestamp.MAX_VALUE.getSeconds() + 1, 0);
    +    try {
    +      Timestamp.ofTimeSecondsAndNanos(Timestamp.MAX_VALUE.getSeconds() + 1, 0);
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void boundsNanosMin() {
    -    expectedException.expect(IllegalArgumentException.class);
    -    Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, -1);
    +    try {
    +      Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, -1);
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void boundsNanosMax() {
    -    expectedException.expect(IllegalArgumentException.class);
    -    Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1000000000);
    +    try {
    +      Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 1000000000);
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void boundsSqlTimestampMin() {
    -    expectedException.expect(IllegalArgumentException.class);
    -    Timestamp.of(new java.sql.Timestamp((Timestamp.MIN_VALUE.getSeconds() - 1) * 1000));
    +    try {
    +      Timestamp.of(new java.sql.Timestamp((Timestamp.MIN_VALUE.getSeconds() - 1) * 1000));
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void boundsSqlTimestampMax() {
    -    expectedException.expect(IllegalArgumentException.class);
    -    Timestamp.of(new java.sql.Timestamp((Timestamp.MAX_VALUE.getSeconds() + 1) * 1000));
    +    try {
    +      Timestamp.of(new java.sql.Timestamp((Timestamp.MAX_VALUE.getSeconds() + 1) * 1000));
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
    diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java
    index 4e1d88f8a218..fe65026b600a 100644
    --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java
    +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java
    @@ -17,16 +17,15 @@
     package com.google.cloud.testing;
     
     import static org.junit.Assert.assertEquals;
    +import static org.junit.Assert.assertNotNull;
    +import static org.junit.Assert.assertNull;
     import static org.junit.Assert.assertTrue;
     
    -import org.junit.Rule;
    +import org.junit.Assert;
     import org.junit.Test;
    -import org.junit.rules.ExpectedException;
     
     public class VersionTest {
     
    -  @Rule public ExpectedException thrown = ExpectedException.none();
    -
       @Test
       public void testFromString() {
         Version version = Version.fromString("2016.01.13");
    @@ -41,32 +40,52 @@ public void testFromString() {
     
       @Test
       public void testFromStringWithAlphas() {
    -    thrown.expect(IllegalArgumentException.class);
    -    Version.fromString("2016.01.hello");
    +    try {
    +      Version.fromString("2016.01.hello");
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void testFromStringMissingPatch() {
    -    thrown.expect(IllegalArgumentException.class);
    -    Version.fromString("2016.01");
    +    try {
    +      Version.fromString("2016.01");
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void testFromStringMissingMinor() {
    -    thrown.expect(IllegalArgumentException.class);
    -    Version.fromString("2016");
    +    try {
    +      Version.fromString("2016");
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void testFromStringEmpty() {
    -    thrown.expect(IllegalArgumentException.class);
    -    Version.fromString("");
    +    try {
    +      Version.fromString("");
    +      Assert.fail();
    +    } catch (IllegalArgumentException ex) {
    +      assertNotNull(ex.getMessage());
    +    }
       }
     
       @Test
       public void testFromStringNull() {
    -    thrown.expect(NullPointerException.class);
    -    Version.fromString(null);
    +    try {
    +      Version.fromString(null);
    +      Assert.fail();
    +    } catch (NullPointerException ex) {
    +      assertNull(ex.getMessage());
    +    }
       }
     
       @Test
    
    From 1a39f83025466350b4018782959a311a379dc6b4 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Fri, 10 Jan 2020 09:58:23 -0800
    Subject: [PATCH 0773/3036] chore: release 1.92.3-SNAPSHOT (#128)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 81c9ec5fbc1b..736ceb1b9ca5 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.2
    +  1.92.3-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.2
    +        1.92.3-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.2
    +        1.92.3-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.2
    +        1.92.3-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index f550d5dcc94b..b1c96f617d2c 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
    -  1.92.2
    +  1.92.3-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.2
    +    1.92.3-SNAPSHOT
       
       
         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 0a2709beff96..c1ecb4e37f50 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
    -  1.92.2
    +  1.92.3-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.2
    +    1.92.3-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 27527f2e9a67..bc4546634c9c 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
    -  1.92.2
    +  1.92.3-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.2
    +    1.92.3-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 45456b4e982e..4757092ed774 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.2
    +  1.92.3-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index 6aecda895766..8927d423fcd9 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.2:1.92.2
    \ No newline at end of file
    +google-cloud-core:1.92.2:1.92.3-SNAPSHOT
    \ No newline at end of file
    
    From 5c37d7674fd6a4235a17beca2957f359bde17e03 Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Fri, 10 Jan 2020 18:58:39 +0100
    Subject: [PATCH 0774/3036] deps: update dependency com.google.api:gax-bom to
     v1.53.0 (#126)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 4757092ed774..5096d088ab33 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -152,7 +152,7 @@
         github
         google-cloud-core-parent
     
    -    1.52.0
    +    1.53.0
         1.8.1
         1.17.0
         0.13.0
    
    From 0fbd60ef1219cb2426a09925f7c3118c28c3811c Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Mon, 13 Jan 2020 23:32:40 +0100
    Subject: [PATCH 0775/3036] deps: update dependency org.threeten:threetenbp to
     v1.4.1
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 5096d088ab33..710d870f01d3 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -168,7 +168,7 @@
         1.0
         3.6
         3.0.2
    -    1.4.0
    +    1.4.1
         2.6
         2.3.4
         2.8.6
    
    From 57cea3585603975f795c5dc41efcbeb1a488f012 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Fri, 17 Jan 2020 10:11:45 -0800
    Subject: [PATCH 0776/3036] chore(regen): update common renovate configuration
    
    ---
     java-core/renovate.json  |   6 +
     java-core/synth.metadata | 372 +++++++++++++++------------------------
     2 files changed, 150 insertions(+), 228 deletions(-)
    
    diff --git a/java-core/renovate.json b/java-core/renovate.json
    index f3a70c9703f1..a5cdff45c319 100644
    --- a/java-core/renovate.json
    +++ b/java-core/renovate.json
    @@ -58,6 +58,12 @@
             "^com.google.cloud:google-cloud-"
           ],
           "ignoreUnstable": false
    +    },
    +    {
    +      "packagePatterns": [
    +        "^com.fasterxml.jackson.core"
    +      ],
    +      "groupName": "jackson dependencies"
         }
       ],
       "semanticCommits": true
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index 36f59918bb61..ba2dadb02080 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2020-01-07T09:14:00.627745Z",
    +  "updateTime": "2020-01-16T09:10:41.498749Z",
       "sources": [
         {
           "template": {
    @@ -10,338 +10,311 @@
         }
       ],
       "newFiles": [
    +    {
    +      "path": "pom.xml"
    +    },
         {
           "path": ".repo-metadata.json"
         },
         {
    -      "path": "renovate.json"
    +      "path": "java.header"
         },
         {
    -      "path": "license-checks.xml"
    +      "path": "CONTRIBUTING.md"
         },
         {
    -      "path": "synth.py"
    +      "path": "synth.metadata"
         },
         {
    -      "path": "CHANGELOG.md"
    +      "path": "renovate.json"
         },
         {
    -      "path": "codecov.yaml"
    +      "path": "versions.txt"
         },
         {
    -      "path": "LICENSE"
    +      "path": "synth.py"
         },
         {
    -      "path": ".gitignore"
    +      "path": "license-checks.xml"
         },
         {
    -      "path": "pom.xml"
    +      "path": "CHANGELOG.md"
         },
         {
           "path": "CODE_OF_CONDUCT.md"
         },
         {
    -      "path": "synth.metadata"
    +      "path": "LICENSE"
         },
         {
    -      "path": "README.md"
    +      "path": "codecov.yaml"
         },
         {
    -      "path": "versions.txt"
    +      "path": ".gitignore"
         },
         {
    -      "path": "CONTRIBUTING.md"
    +      "path": "README.md"
         },
         {
    -      "path": "java.header"
    +      "path": "google-cloud-core-http/pom.xml"
         },
         {
    -      "path": "google-cloud-core-bom/pom.xml"
    +      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java"
         },
         {
    -      "path": "google-cloud-core/pom.xml"
    +      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java"
    +      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java"
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java"
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java"
    +      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java"
    +      "path": "google-cloud-core-bom/pom.xml"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java"
    +      "path": "google-cloud-core/pom.xml"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/DateTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/RoleTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java"
         },
         {
           "path": "google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/DateTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java"
         },
         {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/RoleTest.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Restorable.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java"
    +      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseService.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Date.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Role.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Restorable.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/PageImpl.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Identity.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RestorableState.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Timestamp.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/PageImpl.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ByteArray.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BatchResult.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseService.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ByteArray.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Role.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Identity.java"
         },
         {
           "path": "google-cloud-core/src/main/java/com/google/cloud/Policy.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/package-info.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/package-info.java"
         },
         {
           "path": "google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryOption.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RestorableState.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryOption.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Tuple.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Date.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BatchResult.java"
         },
         {
           "path": "google-cloud-core/src/main/java/com/google/cloud/Service.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/Version.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Tuple.java"
         },
         {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java"
         },
         {
    -      "path": "google-cloud-core-grpc/pom.xml"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/Timestamp.java"
         },
         {
    -      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java"
         },
         {
    -      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java"
         },
         {
    -      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/Version.java"
         },
         {
    -      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java"
         },
         {
    -      "path": "google-cloud-core-http/pom.xml"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java"
         },
         {
    -      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java"
         },
         {
    -      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java"
    +      "path": "google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java"
         },
         {
    -      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java"
    +      "path": ".github/release-please.yml"
         },
         {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java"
    +      "path": ".github/PULL_REQUEST_TEMPLATE.md"
         },
         {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java"
    +      "path": ".github/ISSUE_TEMPLATE/feature_request.md"
         },
         {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java"
    +      "path": ".github/ISSUE_TEMPLATE/support_request.md"
         },
         {
    -      "path": ".kokoro/build.bat"
    +      "path": ".github/ISSUE_TEMPLATE/bug_report.md"
         },
         {
           "path": ".kokoro/build.sh"
         },
    -    {
    -      "path": ".kokoro/dependencies.sh"
    -    },
         {
           "path": ".kokoro/common.cfg"
         },
         {
    -      "path": ".kokoro/trampoline.sh"
    -    },
    -    {
    -      "path": ".kokoro/coerce_logs.sh"
    +      "path": ".kokoro/build.bat"
         },
         {
           "path": ".kokoro/linkage-monitor.sh"
         },
         {
    -      "path": ".kokoro/continuous/dependencies.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/samples.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java7.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java8-osx.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java8-win.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/propose_release.sh"
    -    },
    -    {
    -      "path": ".kokoro/continuous/lint.cfg"
    +      "path": ".kokoro/coerce_logs.sh"
         },
         {
    -      "path": ".kokoro/continuous/java11.cfg"
    +      "path": ".kokoro/dependencies.sh"
         },
         {
    -      "path": ".kokoro/continuous/common.cfg"
    +      "path": ".kokoro/trampoline.sh"
         },
         {
    -      "path": ".kokoro/continuous/propose_release.cfg"
    +      "path": ".kokoro/continuous/samples.cfg"
         },
         {
           "path": ".kokoro/continuous/java8.cfg"
    @@ -350,211 +323,154 @@
           "path": ".kokoro/continuous/integration.cfg"
         },
         {
    -      "path": ".kokoro/release/drop.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/stage.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/promote.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/publish_javadoc.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/bump_snapshot.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/promote.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/stage.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/snapshot.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/snapshot.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/common.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/bump_snapshot.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/common.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/drop.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/publish_javadoc.sh"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/dependencies.cfg"
    +      "path": ".kokoro/continuous/java11.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/samples.cfg"
    +      "path": ".kokoro/continuous/propose_release.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java7.cfg"
    +      "path": ".kokoro/continuous/common.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java8-osx.cfg"
    +      "path": ".kokoro/continuous/propose_release.sh"
         },
         {
    -      "path": ".kokoro/presubmit/linkage-monitor.cfg"
    +      "path": ".kokoro/continuous/java7.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java8-win.cfg"
    +      "path": ".kokoro/continuous/lint.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/lint.cfg"
    +      "path": ".kokoro/continuous/java8-osx.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java11.cfg"
    +      "path": ".kokoro/continuous/dependencies.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/common.cfg"
    +      "path": ".kokoro/continuous/java8-win.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/clirr.cfg"
    +      "path": ".kokoro/nightly/samples.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/java8.cfg"
    +      "path": ".kokoro/nightly/java8.cfg"
         },
         {
    -      "path": ".kokoro/presubmit/integration.cfg"
    +      "path": ".kokoro/nightly/integration.cfg"
         },
         {
    -      "path": ".kokoro/nightly/dependencies.cfg"
    +      "path": ".kokoro/nightly/java11.cfg"
         },
         {
    -      "path": ".kokoro/nightly/samples.cfg"
    +      "path": ".kokoro/nightly/common.cfg"
         },
         {
           "path": ".kokoro/nightly/java7.cfg"
         },
    -    {
    -      "path": ".kokoro/nightly/java8-osx.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/java8-win.cfg"
    -    },
         {
           "path": ".kokoro/nightly/lint.cfg"
         },
         {
    -      "path": ".kokoro/nightly/java11.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/common.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/java8.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/integration.cfg"
    +      "path": ".kokoro/nightly/java8-osx.cfg"
         },
         {
    -      "path": ".github/release-please.yml"
    +      "path": ".kokoro/nightly/dependencies.cfg"
         },
         {
    -      "path": ".github/PULL_REQUEST_TEMPLATE.md"
    +      "path": ".kokoro/nightly/java8-win.cfg"
         },
         {
    -      "path": ".github/ISSUE_TEMPLATE/bug_report.md"
    +      "path": ".kokoro/release/publish_javadoc.cfg"
         },
         {
    -      "path": ".github/ISSUE_TEMPLATE/support_request.md"
    +      "path": ".kokoro/release/common.sh"
         },
         {
    -      "path": ".github/ISSUE_TEMPLATE/feature_request.md"
    +      "path": ".kokoro/release/promote.sh"
         },
         {
    -      "path": "__pycache__/synth.cpython-36.pyc"
    +      "path": ".kokoro/release/common.cfg"
         },
         {
    -      "path": ".git/index"
    +      "path": ".kokoro/release/publish_javadoc.sh"
         },
         {
    -      "path": ".git/packed-refs"
    +      "path": ".kokoro/release/drop.sh"
         },
         {
    -      "path": ".git/HEAD"
    +      "path": ".kokoro/release/stage.sh"
         },
         {
    -      "path": ".git/description"
    +      "path": ".kokoro/release/promote.cfg"
         },
         {
    -      "path": ".git/config"
    +      "path": ".kokoro/release/snapshot.cfg"
         },
         {
    -      "path": ".git/shallow"
    +      "path": ".kokoro/release/bump_snapshot.cfg"
         },
         {
    -      "path": ".git/objects/pack/pack-0bf53eb9962b8fdfc2878a86d862322de07c0a0b.pack"
    +      "path": ".kokoro/release/drop.cfg"
         },
         {
    -      "path": ".git/objects/pack/pack-0bf53eb9962b8fdfc2878a86d862322de07c0a0b.idx"
    +      "path": ".kokoro/release/bump_snapshot.sh"
         },
         {
    -      "path": ".git/refs/remotes/origin/HEAD"
    +      "path": ".kokoro/release/stage.cfg"
         },
         {
    -      "path": ".git/refs/heads/autosynth"
    +      "path": ".kokoro/release/snapshot.sh"
         },
         {
    -      "path": ".git/refs/heads/master"
    +      "path": ".kokoro/presubmit/samples.cfg"
         },
         {
    -      "path": ".git/hooks/pre-applypatch.sample"
    +      "path": ".kokoro/presubmit/java8.cfg"
         },
         {
    -      "path": ".git/hooks/pre-commit.sample"
    +      "path": ".kokoro/presubmit/integration.cfg"
         },
         {
    -      "path": ".git/hooks/fsmonitor-watchman.sample"
    +      "path": ".kokoro/presubmit/java11.cfg"
         },
         {
    -      "path": ".git/hooks/pre-rebase.sample"
    +      "path": ".kokoro/presubmit/linkage-monitor.cfg"
         },
         {
    -      "path": ".git/hooks/update.sample"
    +      "path": ".kokoro/presubmit/common.cfg"
         },
         {
    -      "path": ".git/hooks/pre-push.sample"
    +      "path": ".kokoro/presubmit/java7.cfg"
         },
         {
    -      "path": ".git/hooks/applypatch-msg.sample"
    +      "path": ".kokoro/presubmit/lint.cfg"
         },
         {
    -      "path": ".git/hooks/prepare-commit-msg.sample"
    +      "path": ".kokoro/presubmit/java8-osx.cfg"
         },
         {
    -      "path": ".git/hooks/commit-msg.sample"
    +      "path": ".kokoro/presubmit/dependencies.cfg"
         },
         {
    -      "path": ".git/hooks/post-update.sample"
    +      "path": ".kokoro/presubmit/clirr.cfg"
         },
         {
    -      "path": ".git/hooks/pre-receive.sample"
    +      "path": ".kokoro/presubmit/java8-win.cfg"
         },
         {
    -      "path": ".git/info/exclude"
    +      "path": "google-cloud-core-grpc/pom.xml"
         },
         {
    -      "path": ".git/logs/HEAD"
    +      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java"
         },
         {
    -      "path": ".git/logs/refs/remotes/origin/HEAD"
    +      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java"
         },
         {
    -      "path": ".git/logs/refs/heads/autosynth"
    +      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java"
         },
         {
    -      "path": ".git/logs/refs/heads/master"
    +      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java"
         }
       ]
     }
    \ No newline at end of file
    
    From f7ee25a43878d6b446325ce33fe1d341a8f625ff Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Thu, 23 Jan 2020 19:55:37 +0100
    Subject: [PATCH 0777/3036] chore(deps): update dependency
     com.google.truth:truth to v1.0.1 (#132)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 710d870f01d3..4fd37f793720 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -165,7 +165,7 @@
         1.3.2
         28.2-android
         4.13
    -    1.0
    +    1.0.1
         3.6
         3.0.2
         1.4.1
    
    From fbe1df7793f409ec7315afa948324092b50eb2fb Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Mon, 27 Jan 2020 21:13:52 +0100
    Subject: [PATCH 0778/3036] deps: update dependency
     com.google.auth:google-auth-library-bom to v0.20.0 (#135)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 4fd37f793720..7a40fc379df9 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -156,7 +156,7 @@
         1.8.1
         1.17.0
         0.13.0
    -    0.19.0
    +    0.20.0
         1.30.7
         1.34.0
         1.26.0
    
    From e5cae75e003f1beb53ec44b09acae2e52fc15678 Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Tue, 28 Jan 2020 22:45:24 +0100
    Subject: [PATCH 0779/3036] deps: update dependency
     com.google.http-client:google-http-client-bom to v1.34.1 (#137)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 7a40fc379df9..cdb8f15224e3 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -158,7 +158,7 @@
         0.13.0
         0.20.0
         1.30.7
    -    1.34.0
    +    1.34.1
         1.26.0
         3.11.1
         0.24.0
    
    From 7958e4dd4336d1d2cbc7fd18d7835a19cad3d930 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Tue, 28 Jan 2020 16:16:04 -0800
    Subject: [PATCH 0780/3036] chore: release 1.92.3 (#134)
    
    * updated CHANGELOG.md [ci skip]
    
    * updated README.md [ci skip]
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/CHANGELOG.md                   | 10 ++++++++++
     java-core/google-cloud-core-bom/pom.xml  |  8 ++++----
     java-core/google-cloud-core-grpc/pom.xml |  4 ++--
     java-core/google-cloud-core-http/pom.xml |  4 ++--
     java-core/google-cloud-core/pom.xml      |  4 ++--
     java-core/pom.xml                        |  2 +-
     java-core/versions.txt                   |  2 +-
     7 files changed, 22 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md
    index 23c3ada285d0..04f1a1ae590b 100644
    --- a/java-core/CHANGELOG.md
    +++ b/java-core/CHANGELOG.md
    @@ -1,5 +1,15 @@
     # Changelog
     
    +### [1.92.3](https://www.github.com/googleapis/java-core/compare/v1.92.2...v1.92.3) (2020-01-28)
    +
    +
    +### Dependencies
    +
    +* update dependency com.google.api:gax-bom to v1.53.0 ([#126](https://www.github.com/googleapis/java-core/issues/126)) ([bdb1bce](https://www.github.com/googleapis/java-core/commit/bdb1bceb63502c828a37dd50fdb3e0e2204fc0aa))
    +* update dependency com.google.auth:google-auth-library-bom to v0.20.0 ([#135](https://www.github.com/googleapis/java-core/issues/135)) ([f40c636](https://www.github.com/googleapis/java-core/commit/f40c6365b1b19bc3360b0094599311bc3271f0e5))
    +* update dependency com.google.http-client:google-http-client-bom to v1.34.1 ([#137](https://www.github.com/googleapis/java-core/issues/137)) ([9216702](https://www.github.com/googleapis/java-core/commit/92167026d8e4178ebb952490a3322bd685441a60))
    +* update dependency org.threeten:threetenbp to v1.4.1 ([82cac64](https://www.github.com/googleapis/java-core/commit/82cac64486352e46ddc6044a72fff6141d9b10ce))
    +
     ### [1.92.2](https://www.github.com/googleapis/java-core/compare/v1.92.1...v1.92.2) (2020-01-09)
     
     
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 736ceb1b9ca5..572153ac1d3f 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.3-SNAPSHOT
    +  1.92.3
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.3-SNAPSHOT
    +        1.92.3
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.3-SNAPSHOT
    +        1.92.3
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.3-SNAPSHOT
    +        1.92.3
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index b1c96f617d2c..3537b640abc5 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
    -  1.92.3-SNAPSHOT
    +  1.92.3
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.3-SNAPSHOT
    +    1.92.3
       
       
         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 c1ecb4e37f50..769882d1d35c 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
    -  1.92.3-SNAPSHOT
    +  1.92.3
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.3-SNAPSHOT
    +    1.92.3
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index bc4546634c9c..d8c33a3b315f 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
    -  1.92.3-SNAPSHOT
    +  1.92.3
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.3-SNAPSHOT
    +    1.92.3
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index cdb8f15224e3..ba28953eba0c 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.3-SNAPSHOT
    +  1.92.3
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index 8927d423fcd9..20d8bb6b763a 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.2:1.92.3-SNAPSHOT
    \ No newline at end of file
    +google-cloud-core:1.92.3:1.92.3
    \ No newline at end of file
    
    From 2de27bc3eaabcfbc6d58bf81f1c6ddca57a36dc6 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Tue, 28 Jan 2020 21:30:57 -0800
    Subject: [PATCH 0781/3036] chore: release 1.92.4-SNAPSHOT (#138)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 572153ac1d3f..2b81d0e7ee32 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.3
    +  1.92.4-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.3
    +        1.92.4-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.3
    +        1.92.4-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.3
    +        1.92.4-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 3537b640abc5..f7ffd9262954 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
    -  1.92.3
    +  1.92.4-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.3
    +    1.92.4-SNAPSHOT
       
       
         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 769882d1d35c..7d79cea076fa 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
    -  1.92.3
    +  1.92.4-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.3
    +    1.92.4-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index d8c33a3b315f..071bf859bf5b 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
    -  1.92.3
    +  1.92.4-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.3
    +    1.92.4-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index ba28953eba0c..5d6db3d8bee8 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.3
    +  1.92.4-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index 20d8bb6b763a..07d66791debc 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.3:1.92.3
    \ No newline at end of file
    +google-cloud-core:1.92.3:1.92.4-SNAPSHOT
    \ No newline at end of file
    
    From f4812023aa331adfc7d190fff804f00cb258831c Mon Sep 17 00:00:00 2001
    From: Elliotte Rusty Harold 
    Date: Wed, 29 Jan 2020 18:12:56 -0500
    Subject: [PATCH 0782/3036] reorder dependencies for better transitive version
     selection (#140)
    
    ---
     java-core/google-cloud-core/pom.xml | 34 ++++++++++++++---------------
     1 file changed, 17 insertions(+), 17 deletions(-)
    
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 071bf859bf5b..6abcaf0ced91 100644
    --- a/java-core/google-cloud-core/pom.xml
    +++ b/java-core/google-cloud-core/pom.xml
    @@ -20,21 +20,10 @@
       
       
         
    -      junit
    -      junit
    -      test
    -    
    -    
    -      org.easymock
    -      easymock
    -      test
    -    
    -    
    -      org.objenesis
    -      objenesis
    -      test
    +      com.google.guava
    +      guava
         
    -    
    +     
           com.google.api
           gax
         
    @@ -78,11 +67,22 @@
           com.google.protobuf
           protobuf-java
         
    +
         
    -      com.google.guava
    -      guava
    +      junit
    +      junit
    +      test
    +    
    +    
    +      org.easymock
    +      easymock
    +      test
    +    
    +    
    +      org.objenesis
    +      objenesis
    +      test
         
    -
         
           com.google.truth
           truth
    
    From 2083808cb21f03af00de644d2382ee46a1d61116 Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Fri, 31 Jan 2020 09:17:43 -0800
    Subject: [PATCH 0783/3036] chore: group guava with other core dependencies
    
    ---
     java-core/renovate.json  |   3 +-
     java-core/synth.metadata | 466 +--------------------------------------
     2 files changed, 3 insertions(+), 466 deletions(-)
    
    diff --git a/java-core/renovate.json b/java-core/renovate.json
    index a5cdff45c319..268a4669abfd 100644
    --- a/java-core/renovate.json
    +++ b/java-core/renovate.json
    @@ -22,7 +22,8 @@
             "^com.google.api:gax",
             "^com.google.auth:",
             "^com.google.cloud:google-cloud-core",
    -        "^io.grpc:"
    +        "^io.grpc:",
    +        "^com.google.guava:"
           ],
           "groupName": "core dependencies"
         },
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index ba2dadb02080..80c31a5ba774 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2020-01-16T09:10:41.498749Z",
    +  "updateTime": "2020-01-31T09:13:43.466870Z",
       "sources": [
         {
           "template": {
    @@ -8,469 +8,5 @@
             "version": "2019.10.17"
           }
         }
    -  ],
    -  "newFiles": [
    -    {
    -      "path": "pom.xml"
    -    },
    -    {
    -      "path": ".repo-metadata.json"
    -    },
    -    {
    -      "path": "java.header"
    -    },
    -    {
    -      "path": "CONTRIBUTING.md"
    -    },
    -    {
    -      "path": "synth.metadata"
    -    },
    -    {
    -      "path": "renovate.json"
    -    },
    -    {
    -      "path": "versions.txt"
    -    },
    -    {
    -      "path": "synth.py"
    -    },
    -    {
    -      "path": "license-checks.xml"
    -    },
    -    {
    -      "path": "CHANGELOG.md"
    -    },
    -    {
    -      "path": "CODE_OF_CONDUCT.md"
    -    },
    -    {
    -      "path": "LICENSE"
    -    },
    -    {
    -      "path": "codecov.yaml"
    -    },
    -    {
    -      "path": ".gitignore"
    -    },
    -    {
    -      "path": "README.md"
    -    },
    -    {
    -      "path": "google-cloud-core-http/pom.xml"
    -    },
    -    {
    -      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/CensusHttpModuleTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/BaseHttpServiceExceptionTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core-http/src/test/java/com/google/cloud/http/HttpTransportOptionsTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/CensusHttpModule.java"
    -    },
    -    {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/HttpTransportOptions.java"
    -    },
    -    {
    -      "path": "google-cloud-core-http/src/main/java/com/google/cloud/http/BaseHttpServiceException.java"
    -    },
    -    {
    -      "path": "google-cloud-core-bom/pom.xml"
    -    },
    -    {
    -      "path": "google-cloud-core/pom.xml"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/SerializationTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/PageImplTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ExceptionHandlerTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ByteArrayTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/MonitoredResourceDescriptorTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BatchResultTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/AsyncPageImplTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/RetryOptionTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseSerializationTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/FieldSelectorHelperTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/DateTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/BaseWriteChannelTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/RoleTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BlockingProcessStreamReaderTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/CommandWrapperTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/test/java/com/google/cloud/testing/VersionTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Date.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Role.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Restorable.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/PageImpl.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceDefaults.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryHelper.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RestorableState.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/GcpLaunchStage.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/FieldSelector.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumType.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ByteArray.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseService.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/PlatformInformation.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/AsyncPageImpl.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Identity.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Policy.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceRpc.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/WriteChannel.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/package-info.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/NoCredentials.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/RetryOption.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResourceDescriptor.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/TransportOptions.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MonitoredResource.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/StringEnumValue.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BatchResult.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Service.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ServiceFactory.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/ExceptionHandler.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Tuple.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseWriteChannel.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/Timestamp.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/Version.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/CommandWrapper.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/testing/BlockingProcessStreamReader.java"
    -    },
    -    {
    -      "path": "google-cloud-core/src/main/java/com/google/cloud/spi/ServiceRpcFactory.java"
    -    },
    -    {
    -      "path": ".github/release-please.yml"
    -    },
    -    {
    -      "path": ".github/PULL_REQUEST_TEMPLATE.md"
    -    },
    -    {
    -      "path": ".github/ISSUE_TEMPLATE/feature_request.md"
    -    },
    -    {
    -      "path": ".github/ISSUE_TEMPLATE/support_request.md"
    -    },
    -    {
    -      "path": ".github/ISSUE_TEMPLATE/bug_report.md"
    -    },
    -    {
    -      "path": ".kokoro/build.sh"
    -    },
    -    {
    -      "path": ".kokoro/common.cfg"
    -    },
    -    {
    -      "path": ".kokoro/build.bat"
    -    },
    -    {
    -      "path": ".kokoro/linkage-monitor.sh"
    -    },
    -    {
    -      "path": ".kokoro/coerce_logs.sh"
    -    },
    -    {
    -      "path": ".kokoro/dependencies.sh"
    -    },
    -    {
    -      "path": ".kokoro/trampoline.sh"
    -    },
    -    {
    -      "path": ".kokoro/continuous/samples.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java8.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/integration.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java11.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/propose_release.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/common.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/propose_release.sh"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java7.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/lint.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java8-osx.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/dependencies.cfg"
    -    },
    -    {
    -      "path": ".kokoro/continuous/java8-win.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/samples.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/java8.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/integration.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/java11.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/common.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/java7.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/lint.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/java8-osx.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/dependencies.cfg"
    -    },
    -    {
    -      "path": ".kokoro/nightly/java8-win.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/publish_javadoc.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/common.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/promote.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/common.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/publish_javadoc.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/drop.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/stage.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/promote.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/snapshot.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/bump_snapshot.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/drop.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/bump_snapshot.sh"
    -    },
    -    {
    -      "path": ".kokoro/release/stage.cfg"
    -    },
    -    {
    -      "path": ".kokoro/release/snapshot.sh"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/samples.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/java8.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/integration.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/java11.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/linkage-monitor.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/common.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/java7.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/lint.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/java8-osx.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/dependencies.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/clirr.cfg"
    -    },
    -    {
    -      "path": ".kokoro/presubmit/java8-win.cfg"
    -    },
    -    {
    -      "path": "google-cloud-core-grpc/pom.xml"
    -    },
    -    {
    -      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/BaseGrpcServiceExceptionTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/GrpcTransportOptionsTest.java"
    -    },
    -    {
    -      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/BaseGrpcServiceException.java"
    -    },
    -    {
    -      "path": "google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java"
    -    }
       ]
     }
    \ No newline at end of file
    
    From feb92f205d1c9217dabcbd889f4ecd0b6573630e Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Fri, 31 Jan 2020 20:05:06 +0100
    Subject: [PATCH 0784/3036] deps: update core dependencies (#143)
    
    ---
     java-core/pom.xml | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 5d6db3d8bee8..05774fcff11f 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -152,14 +152,14 @@
         github
         google-cloud-core-parent
     
    -    1.53.0
    +    1.53.1
         1.8.1
         1.17.0
         0.13.0
         0.20.0
         1.30.7
         1.34.1
    -    1.26.0
    +    1.27.0
         3.11.1
         0.24.0
         1.3.2
    
    From 1ad03372b106d9ac4ccf649fd31bee4565c7d825 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Fri, 31 Jan 2020 11:14:07 -0800
    Subject: [PATCH 0785/3036] chore: release 1.92.4 (#144)
    
    * updated CHANGELOG.md [ci skip]
    
    * updated README.md [ci skip]
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/CHANGELOG.md                   | 7 +++++++
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     7 files changed, 19 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md
    index 04f1a1ae590b..d1d087ea2440 100644
    --- a/java-core/CHANGELOG.md
    +++ b/java-core/CHANGELOG.md
    @@ -1,5 +1,12 @@
     # Changelog
     
    +### [1.92.4](https://www.github.com/googleapis/java-core/compare/v1.92.3...v1.92.4) (2020-01-31)
    +
    +
    +### Dependencies
    +
    +* update core dependencies ([#143](https://www.github.com/googleapis/java-core/issues/143)) ([454ce1d](https://www.github.com/googleapis/java-core/commit/454ce1dc5a6a41f3333a2a5303315cd9eb66f442))
    +
     ### [1.92.3](https://www.github.com/googleapis/java-core/compare/v1.92.2...v1.92.3) (2020-01-28)
     
     
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 2b81d0e7ee32..5efc1db68cfa 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.4-SNAPSHOT
    +  1.92.4
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.4-SNAPSHOT
    +        1.92.4
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.4-SNAPSHOT
    +        1.92.4
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.4-SNAPSHOT
    +        1.92.4
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index f7ffd9262954..cbf06bea056d 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
    -  1.92.4-SNAPSHOT
    +  1.92.4
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.4-SNAPSHOT
    +    1.92.4
       
       
         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 7d79cea076fa..fab920e4ef92 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
    -  1.92.4-SNAPSHOT
    +  1.92.4
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.4-SNAPSHOT
    +    1.92.4
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 6abcaf0ced91..6dc4373cfb9b 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
    -  1.92.4-SNAPSHOT
    +  1.92.4
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.4-SNAPSHOT
    +    1.92.4
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 05774fcff11f..8c6fea7bea8d 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.4-SNAPSHOT
    +  1.92.4
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index 07d66791debc..42a1e8dcc6fd 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.3:1.92.4-SNAPSHOT
    \ No newline at end of file
    +google-cloud-core:1.92.4:1.92.4
    \ No newline at end of file
    
    From 8a29dfa6709b01cc1b4d845cae1c1fcb760f9a9b Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Fri, 31 Jan 2020 11:36:23 -0800
    Subject: [PATCH 0786/3036] chore: release 1.92.5-SNAPSHOT (#145)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 5efc1db68cfa..0e7eb82fbcb9 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.4
    +  1.92.5-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.4
    +        1.92.5-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.4
    +        1.92.5-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.4
    +        1.92.5-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index cbf06bea056d..9ff32c27f2ad 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
    -  1.92.4
    +  1.92.5-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.4
    +    1.92.5-SNAPSHOT
       
       
         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 fab920e4ef92..ea42af7043c5 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
    -  1.92.4
    +  1.92.5-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.4
    +    1.92.5-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 6dc4373cfb9b..cfb8f60daa3b 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
    -  1.92.4
    +  1.92.5-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.4
    +    1.92.5-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 8c6fea7bea8d..b1487a1e3d1e 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.4
    +  1.92.5-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index 42a1e8dcc6fd..e96ff985c2fe 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.4:1.92.4
    \ No newline at end of file
    +google-cloud-core:1.92.4:1.92.5-SNAPSHOT
    \ No newline at end of file
    
    From 93769380b47e25a5963fc116155c9fefb6bf889f Mon Sep 17 00:00:00 2001
    From: Yoshi Automation Bot 
    Date: Mon, 3 Feb 2020 10:13:10 -0800
    Subject: [PATCH 0787/3036] chore: linkage monitor check should skipp clirr and
     enforcer
    
    ---
     java-core/.kokoro/linkage-monitor.sh | 7 ++++++-
     java-core/synth.metadata             | 2 +-
     2 files changed, 7 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/.kokoro/linkage-monitor.sh b/java-core/.kokoro/linkage-monitor.sh
    index ec3da4ec35c2..01f61f803c4a 100755
    --- a/java-core/.kokoro/linkage-monitor.sh
    +++ b/java-core/.kokoro/linkage-monitor.sh
    @@ -23,7 +23,12 @@ cd github/java-core/
     java -version
     echo ${JOB_TYPE}
     
    -mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V
    +mvn install -B -V \
    +  -DskipTests=true \
    +  -Dclirr.skip=true \
    +  -Denforcer.skip=true \
    +  -Dmaven.javadoc.skip=true \
    +  -Dgcloud.download.skip=true
     
     # Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR
     JAR=linkage-monitor-latest-all-deps.jar
    diff --git a/java-core/synth.metadata b/java-core/synth.metadata
    index 80c31a5ba774..7eb984434995 100644
    --- a/java-core/synth.metadata
    +++ b/java-core/synth.metadata
    @@ -1,5 +1,5 @@
     {
    -  "updateTime": "2020-01-31T09:13:43.466870Z",
    +  "updateTime": "2020-02-01T09:13:12.848928Z",
       "sources": [
         {
           "template": {
    
    From 77c22a3c454828c66f1d3035ec0e5a17efc755ae Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Mon, 3 Feb 2020 21:22:06 +0100
    Subject: [PATCH 0788/3036] deps: update dependency
     com.google.protobuf:protobuf-bom to v3.11.3 (#148)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index b1487a1e3d1e..241cffd1b5b4 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -160,7 +160,7 @@
         1.30.7
         1.34.1
         1.27.0
    -    3.11.1
    +    3.11.3
         0.24.0
         1.3.2
         28.2-android
    
    From 721a597b4f4a965d826b06c67e3614992ed8f3ab Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Mon, 3 Feb 2020 21:22:42 +0100
    Subject: [PATCH 0789/3036] deps: update dependency
     com.google.api-client:google-api-client-bom to v1.30.8 (#146)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 241cffd1b5b4..667f7b887bc7 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -157,7 +157,7 @@
         1.17.0
         0.13.0
         0.20.0
    -    1.30.7
    +    1.30.8
         1.34.1
         1.27.0
         3.11.3
    
    From 216bbcea1b5d071f17d5e01c4d6a586d822d22e8 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Mon, 10 Feb 2020 17:07:26 -0800
    Subject: [PATCH 0790/3036] chore: release 1.92.5 (#149)
    
    * updated CHANGELOG.md [ci skip]
    
    * updated README.md [ci skip]
    
    * updated versions.txt [ci skip]
    
    * updated pom.xml [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    ---
     java-core/CHANGELOG.md                   | 8 ++++++++
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     7 files changed, 20 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md
    index d1d087ea2440..fbc8d1341f2e 100644
    --- a/java-core/CHANGELOG.md
    +++ b/java-core/CHANGELOG.md
    @@ -1,5 +1,13 @@
     # Changelog
     
    +### [1.92.5](https://www.github.com/googleapis/java-core/compare/v1.92.4...v1.92.5) (2020-02-10)
    +
    +
    +### Dependencies
    +
    +* update dependency com.google.api-client:google-api-client-bom to v1.30.8 ([#146](https://www.github.com/googleapis/java-core/issues/146)) ([1d9c7db](https://www.github.com/googleapis/java-core/commit/1d9c7db40502eff9723f27c24be31ecc2fac9c5d))
    +* update dependency com.google.protobuf:protobuf-bom to v3.11.3 ([#148](https://www.github.com/googleapis/java-core/issues/148)) ([092c69b](https://www.github.com/googleapis/java-core/commit/092c69bef5b10cf27ef6770e90ae8e50ea205dcd))
    +
     ### [1.92.4](https://www.github.com/googleapis/java-core/compare/v1.92.3...v1.92.4) (2020-01-31)
     
     
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index 0e7eb82fbcb9..d558505dda53 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.5-SNAPSHOT
    +  1.92.5
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.5-SNAPSHOT
    +        1.92.5
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.5-SNAPSHOT
    +        1.92.5
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.5-SNAPSHOT
    +        1.92.5
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 9ff32c27f2ad..85cbd8407468 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
    -  1.92.5-SNAPSHOT
    +  1.92.5
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.5-SNAPSHOT
    +    1.92.5
       
       
         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 ea42af7043c5..d0f2dd784730 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
    -  1.92.5-SNAPSHOT
    +  1.92.5
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.5-SNAPSHOT
    +    1.92.5
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index cfb8f60daa3b..c58d0bed3e3e 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
    -  1.92.5-SNAPSHOT
    +  1.92.5
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.5-SNAPSHOT
    +    1.92.5
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 667f7b887bc7..1a7ba95c076d 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.5-SNAPSHOT
    +  1.92.5
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index e96ff985c2fe..7957f793424d 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.4:1.92.5-SNAPSHOT
    \ No newline at end of file
    +google-cloud-core:1.92.5:1.92.5
    \ No newline at end of file
    
    From 8ec4df3c55f76d164cb4fbb490bb2e2e359ed192 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Tue, 11 Feb 2020 09:08:33 -0800
    Subject: [PATCH 0791/3036] chore: release 1.92.6-SNAPSHOT (#150)
    
    * updated versions.txt [ci skip]
    
    * updated google-cloud-core-bom/pom.xml [ci skip]
    
    * updated google-cloud-core-grpc/pom.xml [ci skip]
    
    * updated google-cloud-core-http/pom.xml [ci skip]
    
    * updated google-cloud-core/pom.xml [ci skip]
    
    * updated pom.xml [ci skip]
    ---
     java-core/google-cloud-core-bom/pom.xml  | 8 ++++----
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 4 ++--
     java-core/google-cloud-core/pom.xml      | 4 ++--
     java-core/pom.xml                        | 2 +-
     java-core/versions.txt                   | 2 +-
     6 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index d558505dda53..ee78de77f4f5 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -3,7 +3,7 @@
       4.0.0
       com.google.cloud
       google-cloud-core-bom
    -  1.92.5
    +  1.92.6-SNAPSHOT
       pom
       
         com.google.cloud
    @@ -63,17 +63,17 @@
           
             com.google.cloud
             google-cloud-core
    -        1.92.5
    +        1.92.6-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-grpc
    -        1.92.5
    +        1.92.6-SNAPSHOT
           
           
             com.google.cloud
             google-cloud-core-http
    -        1.92.5
    +        1.92.6-SNAPSHOT
           
         
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index 85cbd8407468..e1b10eaab798 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
    -  1.92.5
    +  1.92.6-SNAPSHOT
       jar
       Google Cloud Core gRPC
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.5
    +    1.92.6-SNAPSHOT
       
       
         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 d0f2dd784730..783306b12064 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
    -  1.92.5
    +  1.92.6-SNAPSHOT
       jar
       Google Cloud Core HTTP
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.5
    +    1.92.6-SNAPSHOT
       
       
         google-cloud-core-http
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index c58d0bed3e3e..7c945bf92aaf 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
    -  1.92.5
    +  1.92.6-SNAPSHOT
       jar
       Google Cloud Core
       https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    @@ -13,7 +13,7 @@
       
         com.google.cloud
         google-cloud-core-parent
    -    1.92.5
    +    1.92.6-SNAPSHOT
       
       
         google-cloud-core
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index 1a7ba95c076d..c71da27fe7d3 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -4,7 +4,7 @@
       com.google.cloud
       google-cloud-core-parent
       pom
    -  1.92.5
    +  1.92.6-SNAPSHOT
       Google Cloud Core Parent
       https://github.com/googleapis/java-core
       
    diff --git a/java-core/versions.txt b/java-core/versions.txt
    index 7957f793424d..f786f05a5aa8 100644
    --- a/java-core/versions.txt
    +++ b/java-core/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-core:1.92.5:1.92.5
    \ No newline at end of file
    +google-cloud-core:1.92.5:1.92.6-SNAPSHOT
    \ No newline at end of file
    
    From ed4f85bbbebd1fed7e3b7884aecd4b51f791a509 Mon Sep 17 00:00:00 2001
    From: Jeff Ching 
    Date: Tue, 11 Feb 2020 11:50:42 -0800
    Subject: [PATCH 0792/3036] chore: only allow renovate-bot for
     trusted-contribution auto-labeling
    
    ---
     java-core/.github/trusted-contribution.yml | 2 ++
     1 file changed, 2 insertions(+)
     create mode 100644 java-core/.github/trusted-contribution.yml
    
    diff --git a/java-core/.github/trusted-contribution.yml b/java-core/.github/trusted-contribution.yml
    new file mode 100644
    index 000000000000..f247d5c78934
    --- /dev/null
    +++ b/java-core/.github/trusted-contribution.yml
    @@ -0,0 +1,2 @@
    +trustedContributors:
    +- renovate-bot
    \ No newline at end of file
    
    From a3f56846c4dc629067d65a69e46148391c7e186b Mon Sep 17 00:00:00 2001
    From: David Supplee 
    Date: Wed, 12 Feb 2020 14:29:08 -0800
    Subject: [PATCH 0793/3036] chore: update github urls (#152)
    
    ---
     java-core/google-cloud-core-bom/pom.xml  | 2 +-
     java-core/google-cloud-core-grpc/pom.xml | 4 ++--
     java-core/google-cloud-core-http/pom.xml | 2 +-
     java-core/google-cloud-core/pom.xml      | 2 +-
     4 files changed, 5 insertions(+), 5 deletions(-)
    
    diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml
    index ee78de77f4f5..7713a6a7fcc4 100644
    --- a/java-core/google-cloud-core-bom/pom.xml
    +++ b/java-core/google-cloud-core-bom/pom.xml
    @@ -12,7 +12,7 @@
       
     
       Google Cloud Core
    -  https://github.com/googleapis/java-core/tree/master/google-cloud-core-bom
    +  https://github.com/googleapis/java-core
       
         BOM for Google Cloud Core
       
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml
    index e1b10eaab798..5e5b26ca642d 100644
    --- a/java-core/google-cloud-core-grpc/pom.xml
    +++ b/java-core/google-cloud-core-grpc/pom.xml
    @@ -6,7 +6,7 @@
       1.92.6-SNAPSHOT
       jar
       Google Cloud Core gRPC
    -  https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-grpc
    +  https://github.com/googleapis/java-core
       
         Core gRPC module for the google-cloud.
       
    @@ -72,4 +72,4 @@
           test
         
       
    -
    \ No newline at end of file
    +
    diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml
    index 783306b12064..3c2310b1ee49 100644
    --- a/java-core/google-cloud-core-http/pom.xml
    +++ b/java-core/google-cloud-core-http/pom.xml
    @@ -6,7 +6,7 @@
       1.92.6-SNAPSHOT
       jar
       Google Cloud Core HTTP
    -  https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core-http
    +  https://github.com/googleapis/java-core
       
         Core http module for the google-cloud.
       
    diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml
    index 7c945bf92aaf..342b3ce47e1a 100644
    --- a/java-core/google-cloud-core/pom.xml
    +++ b/java-core/google-cloud-core/pom.xml
    @@ -6,7 +6,7 @@
       1.92.6-SNAPSHOT
       jar
       Google Cloud Core
    -  https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-clients/google-cloud-core
    +  https://github.com/googleapis/java-core
       
         Core module for the google-cloud.
       
    
    From 3c0a3c67e4ada9177a5a63efdace73f66eca6596 Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Wed, 19 Feb 2020 21:38:18 +0100
    Subject: [PATCH 0794/3036] deps: update dependency
     com.google.http-client:google-http-client-bom to v1.34.2 (#154)
    
    ---
     java-core/pom.xml | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/java-core/pom.xml b/java-core/pom.xml
    index c71da27fe7d3..0b2d4acf0544 100644
    --- a/java-core/pom.xml
    +++ b/java-core/pom.xml
    @@ -158,7 +158,7 @@
         0.13.0
         0.20.0
         1.30.8
    -    1.34.1
    +    1.34.2
         1.27.0
         3.11.3
         0.24.0
    
    From eb847802ee9a221290dff6282db45372ec4538e1 Mon Sep 17 00:00:00 2001
    From: WhiteSource Renovate 
    Date: Fri, 21 Feb 2020 17:56:12 +0100
    Subject: [PATCH 0795/3036] deps: update dependency
     com.google.protobuf:protobuf-bom to v3.11.4
    
    This PR contains the following updates:
    
    | Package | Update | Change |
    |---|---|---|
    | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | patch | `3.11.3` -> `3.11.4` |
    
    ---
    
    ### Release Notes
    
    
    protocolbuffers/protobuf ### [`v3.11.4`](https://togithub.com/protocolbuffers/protobuf/releases/v3.11.4) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.11.3...v3.11.4) # C# - Fix latest ArgumentException for C# extensions ([#​7188](https://togithub.com/protocolbuffers/protobuf/issues/7188)) - Enforce recursion depth checking for unknown fields ([#​7210](https://togithub.com/protocolbuffers/protobuf/issues/7210)) # Ruby - Fix wrappers with a zero value ([#​7195](https://togithub.com/protocolbuffers/protobuf/issues/7195)) - Fix JSON serialization of 0/empty-valued wrapper types ([#​7198](https://togithub.com/protocolbuffers/protobuf/issues/7198))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0b2d4acf0544..422f1b1ff42b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 1.30.8 1.34.2 1.27.0 - 3.11.3 + 3.11.4 0.24.0 1.3.2 28.2-android From 23c6d9e50e315ec244c00c50f87ebad23f2f68b7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 21 Feb 2020 19:25:09 +0100 Subject: [PATCH 0796/3036] deps: update dependency io.grpc:grpc-bom to v1.27.1 This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | patch | `1.27.0` -> `1.27.1` | --- ### Release Notes
    grpc/grpc-java ### [`v1.27.1`](https://togithub.com/grpc/grpc-java/releases/v1.27.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.27.0...v1.27.1) #### Bug Fixes - alts: Fix using the wrong way of checking if Conscrypt is available ([#​6672](https://togithub.com/grpc/grpc-java/issues/6672))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 422f1b1ff42b..edec8b77ec02 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 0.20.0 1.30.8 1.34.2 - 1.27.0 + 1.27.1 3.11.4 0.24.0 1.3.2 From 8ca374c6eb48938c94990c1048dc61f5ebf320fa Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 21 Feb 2020 15:40:57 -0800 Subject: [PATCH 0797/3036] chore: update common templates --- java-core/.kokoro/build.sh | 23 +++++++++++++++-------- java-core/renovate.json | 7 +++++++ java-core/synth.metadata | 18 ++++++++++++++++-- 3 files changed, 38 insertions(+), 10 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index f1ae58408da5..d11958c5a67e 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -62,14 +62,21 @@ integration) bash .kokoro/coerce_logs.sh ;; samples) - mvn -B \ - -Penable-samples \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - bash .kokoro/coerce_logs.sh + if [[ -f samples/pom.xml ]] + then + pushd samples + mvn -B \ + -Penable-samples \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + bash .kokoro/coerce_logs.sh + popd + else + echo "no sample pom.xml found - skipping sample tests" + fi ;; clirr) mvn -B -Denforcer.skip=true clirr:check diff --git a/java-core/renovate.json b/java-core/renovate.json index 268a4669abfd..fc6412701ada 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -54,6 +54,13 @@ "semanticCommitType": "build", "semanticCommitScope": "deps" }, + { + "packagePatterns": [ + "^com.google.cloud:libraries-bom" + ], + "semanticCommitType": "chore", + "semanticCommitScope": "deps" + }, { "packagePatterns": [ "^com.google.cloud:google-cloud-" diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 7eb984434995..2c65a81afcec 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,11 +1,25 @@ { - "updateTime": "2020-02-01T09:13:12.848928Z", + "updateTime": "2020-02-21T23:10:24.226106Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-core.git", + "sha": "2e52f8a5a267b8cf43b696011c305ed33cf0762f" + } + }, + { + "git": { + "name": "synthtool", + "remote": "rpc://devrel/cloud/libraries/tools/autosynth", + "sha": "706a38c26db42299845396cdae55db635c38794a" + } + }, { "template": { "name": "java_library", "origin": "synthtool.gcp", - "version": "2019.10.17" + "version": "2020.2.4" } } ] From 1ade7ef900651de5009427ae68097476652b1d5e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 24 Feb 2020 10:37:49 -0800 Subject: [PATCH 0798/3036] chore: update common templates --- java-core/.kokoro/build.sh | 24 +++++++++++++++++++++--- java-core/synth.metadata | 4 ++-- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index d11958c5a67e..831fd0ec13df 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -37,19 +37,24 @@ if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTI export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) fi +RETURN_CODE=0 +set +e + case ${JOB_TYPE} in test) mvn test -B -Dclirr.skip=true -Denforcer.skip=true + RETURN_CODE=$? bash ${KOKORO_GFILE_DIR}/codecov.sh - bash .kokoro/coerce_logs.sh ;; lint) mvn \ -Penable-samples \ com.coveo:fmt-maven-plugin:check + RETURN_CODE=$? ;; javadoc) mvn javadoc:javadoc javadoc:test-javadoc + RETURN_CODE=$? ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ @@ -59,7 +64,7 @@ integration) -Denforcer.skip=true \ -fae \ verify - bash .kokoro/coerce_logs.sh + RETURN_CODE=$? ;; samples) if [[ -f samples/pom.xml ]] @@ -72,7 +77,7 @@ samples) -Denforcer.skip=true \ -fae \ verify - bash .kokoro/coerce_logs.sh + RETURN_CODE=$? popd else echo "no sample pom.xml found - skipping sample tests" @@ -80,7 +85,20 @@ samples) ;; clirr) mvn -B -Denforcer.skip=true clirr:check + RETURN_CODE=$? ;; *) ;; esac + +# fix output location of logs +bash .kokoro/coerce_logs.sh + +if [[ "${ENABLE_BUILD_COP}" == "true" ]] +then + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop + ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-core +fi + +echo "exiting with ${RETURN_CODE}" +exit ${RETURN_CODE} \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2c65a81afcec..0dce80a5137b 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,11 +1,11 @@ { - "updateTime": "2020-02-21T23:10:24.226106Z", + "updateTime": "2020-02-22T10:15:46.136111Z", "sources": [ { "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "2e52f8a5a267b8cf43b696011c305ed33cf0762f" + "sha": "b8838eb5d76c7f64a579113f6622e1314af3cd1e" } }, { From c84b32033e943ca91780cdfde8ceff7afc59cf77 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 25 Feb 2020 09:46:31 -0800 Subject: [PATCH 0799/3036] chore: update common templates --- java-core/.kokoro/build.sh | 8 ++++++-- java-core/.kokoro/continuous/java8.cfg | 5 +++++ java-core/.kokoro/nightly/integration.cfg | 14 ++++++++++++++ java-core/.kokoro/nightly/java8.cfg | 5 +++++ java-core/.kokoro/nightly/samples.cfg | 21 +++++++++++++-------- java-core/.kokoro/presubmit/java8.cfg | 5 +++++ java-core/synth.metadata | 16 +--------------- 7 files changed, 49 insertions(+), 25 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 831fd0ec13df..19726ced77ab 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -44,7 +44,6 @@ case ${JOB_TYPE} in test) mvn test -B -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? - bash ${KOKORO_GFILE_DIR}/codecov.sh ;; lint) mvn \ @@ -91,6 +90,11 @@ clirr) ;; esac +if [ "${REPORT_COVERAGE}" == "true" ] +then + bash ${KOKORO_GFILE_DIR}/codecov.sh +fi + # fix output location of logs bash .kokoro/coerce_logs.sh @@ -101,4 +105,4 @@ then fi echo "exiting with ${RETURN_CODE}" -exit ${RETURN_CODE} \ No newline at end of file +exit ${RETURN_CODE} diff --git a/java-core/.kokoro/continuous/java8.cfg b/java-core/.kokoro/continuous/java8.cfg index 3b017fc80f04..495cc7bacd63 100644 --- a/java-core/.kokoro/continuous/java8.cfg +++ b/java-core/.kokoro/continuous/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg index 3b017fc80f04..8bf59c02edd6 100644 --- a/java-core/.kokoro/nightly/integration.cfg +++ b/java-core/.kokoro/nightly/integration.cfg @@ -5,3 +5,17 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-core/.kokoro/nightly/java8.cfg b/java-core/.kokoro/nightly/java8.cfg index 3b017fc80f04..495cc7bacd63 100644 --- a/java-core/.kokoro/nightly/java8.cfg +++ b/java-core/.kokoro/nightly/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-core/.kokoro/nightly/samples.cfg b/java-core/.kokoro/nightly/samples.cfg index 9a9102490d54..b4b051cd016f 100644 --- a/java-core/.kokoro/nightly/samples.cfg +++ b/java-core/.kokoro/nightly/samples.cfg @@ -2,23 +2,28 @@ # Configure the docker image for kokoro-trampoline. env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" } env_vars: { - key: "JOB_TYPE" - value: "samples" + key: "JOB_TYPE" + value: "samples" } env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "gcloud-devel" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } before_action { diff --git a/java-core/.kokoro/presubmit/java8.cfg b/java-core/.kokoro/presubmit/java8.cfg index 3b017fc80f04..495cc7bacd63 100644 --- a/java-core/.kokoro/presubmit/java8.cfg +++ b/java-core/.kokoro/presubmit/java8.cfg @@ -5,3 +5,8 @@ env_vars: { key: "TRAMPOLINE_IMAGE" value: "gcr.io/cloud-devrel-kokoro-resources/java8" } + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 0dce80a5137b..99a64e176086 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,20 +1,6 @@ { - "updateTime": "2020-02-22T10:15:46.136111Z", + "updateTime": "2020-02-24T23:14:57.546329Z", "sources": [ - { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/java-core.git", - "sha": "b8838eb5d76c7f64a579113f6622e1314af3cd1e" - } - }, - { - "git": { - "name": "synthtool", - "remote": "rpc://devrel/cloud/libraries/tools/autosynth", - "sha": "706a38c26db42299845396cdae55db635c38794a" - } - }, { "template": { "name": "java_library", From 1c720fd23d2ba48a4b84fefcd84adfcc7e83cd3a Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 25 Feb 2020 10:26:31 -0800 Subject: [PATCH 0800/3036] fix: fix conversion for pre-epoch timestamps (#160) * test: failing test for parsing a negative timestamp * fix: fix conversion for pre-epoch timestamps * chore: add comment, rename test variable names --- .../main/java/com/google/cloud/Timestamp.java | 14 ++++++++++- .../java/com/google/cloud/TimestampTest.java | 24 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index 618ef9c7211e..df111d350367 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -119,7 +119,19 @@ public static Timestamp now() { * @throws IllegalArgumentException if the timestamp is outside the representable range */ public static Timestamp of(java.sql.Timestamp timestamp) { - return ofTimeSecondsAndNanos(timestamp.getTime() / 1000, timestamp.getNanos()); + int nanos = timestamp.getNanos(); + + // A pre-epoch timestamp will be off by one second because of the way that integer division + // works. For example, -1001 / 1000 == -1. In this case of timestamps, we want this result to be + // -2. This causes any pre-epoch timestamp to be off by 1 second - fix this by adjusting the + // seconds value by 1 if the timestamp < 0. + // TODO: replace with Math.floorDiv when we drop Java 7 support + long seconds = timestamp.getTime() / 1000; + if (seconds < 0) { + --seconds; + } + + return Timestamp.ofTimeSecondsAndNanos(seconds, nanos); } /** diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 81ef7ce379a4..12e13ef5b92d 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -80,6 +80,30 @@ public void ofDate() { assertThat(timestamp.getNanos()).isEqualTo(expectedNanos); } + @Test + public void ofSqlTimestamp() { + String expectedTimestampString = "1970-01-01T00:00:12.345000000Z"; + java.sql.Timestamp input = new java.sql.Timestamp(12345); + Timestamp timestamp = Timestamp.of(input); + assertThat(timestamp.toString()).isEqualTo(expectedTimestampString); + } + + @Test + public void ofSqlTimestampPreEpoch() { + String expectedTimestampString = "1969-12-31T23:59:47.655000000Z"; + java.sql.Timestamp input = new java.sql.Timestamp(-12345); + Timestamp timestamp = Timestamp.of(input); + assertThat(timestamp.toString()).isEqualTo(expectedTimestampString); + } + + @Test + public void ofSqlTimestampOnEpoch() { + String expectedTimestampString = "1970-01-01T00:00:00Z"; + java.sql.Timestamp input = new java.sql.Timestamp(0); + Timestamp timestamp = Timestamp.of(input); + assertThat(timestamp.toString()).isEqualTo(expectedTimestampString); + } + @Test public void ofDatePreEpoch() { Timestamp timestamp = Timestamp.of(TEST_DATE_PRE_EPOCH); From 0966b990222cf7c1d6e1b5eb4c53e6d3cb18b77c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 27 Feb 2020 18:17:38 +0100 Subject: [PATCH 0801/3036] deps: update dependency io.grpc:grpc-bom to v1.27.2 (#166) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index edec8b77ec02..9b09b92c72ee 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 0.20.0 1.30.8 1.34.2 - 1.27.1 + 1.27.2 3.11.4 0.24.0 1.3.2 From c5329a73b9e3aa40ea983d580934e3087fa30666 Mon Sep 17 00:00:00 2001 From: Frank Natividad Date: Thu, 27 Feb 2020 10:33:49 -0800 Subject: [PATCH 0802/3036] feat: support conditional policies (#110) * Base implementation * Update with unit tests * lint * correct copyright date * lint * Revert removal of helper functions * use auto-value * reformat Binding.java and Condition.java * remove unnecessary dep * code format * add dep on com.google.code.findbugs in google-cloud-core * address comments * Clean up * respond to comments * address comments * format * address feedback * remove unnecessary null check * lint * address feedback * remove ImmutableList from Binding AutoValue surface * address feedback * split up unit test * use guava beta annotation * surface ImmutableList<> for Binding class. * use BetaApi from api.core * return as expected * partial addressing of feedback * address feedback pt2 * address remaining feedback * address one last feedback --- java-core/google-cloud-core/pom.xml | 8 + .../main/java/com/google/cloud/Binding.java | 112 +++++++ .../main/java/com/google/cloud/Condition.java | 65 ++++ .../main/java/com/google/cloud/Policy.java | 266 +++++++++++----- .../java/com/google/cloud/PolicyTest.java | 2 +- .../java/com/google/cloud/PolicyV3Test.java | 284 ++++++++++++++++++ java-core/pom.xml | 24 +- 7 files changed, 682 insertions(+), 79 deletions(-) create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Binding.java create mode 100644 java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 342b3ce47e1a..678969211657 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -27,6 +27,10 @@ com.google.api gax + + com.google.auto.value + auto-value-annotations + com.google.protobuf protobuf-java-util @@ -83,6 +87,10 @@ objenesis test + + com.google.code.findbugs + jsr305 + com.google.truth truth diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Binding.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Binding.java new file mode 100644 index 000000000000..be16f8742138 --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Binding.java @@ -0,0 +1,112 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.base.Predicates.in; +import static com.google.common.base.Predicates.not; + +import com.google.api.core.BetaApi; +import com.google.auto.value.AutoValue; +import com.google.common.base.Predicate; +import com.google.common.collect.Collections2; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.Lists; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import javax.annotation.Nullable; + +/** + * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access + * settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of + * identities to a role, where the identities can be user accounts, Google groups, Google domains, + * and service accounts. A role is a named list of permissions defined by IAM. + * + * @see Policy + */ +@BetaApi("This is a Beta API is not stable yet and may change in the future.") +@AutoValue +public abstract class Binding { + /** Get IAM Policy Binding Role */ + public abstract String getRole(); + + /** Get IAM Policy Binding Members */ + public abstract ImmutableList getMembers(); + + /** Get IAM Policy Binding Condition */ + @Nullable + public abstract Condition getCondition(); + + /** Create a Binding.Builder from an existing Binding */ + public abstract Builder toBuilder(); + + /** Create a new Binding.Builder */ + public static Builder newBuilder() { + List emptyMembers = ImmutableList.of(); + return new AutoValue_Binding.Builder().setMembers(emptyMembers); + } + + @AutoValue.Builder + public abstract static class Builder { + /** + * Set IAM Role for Policy Binding + * + * @throws NullPointerException if the role is null. + */ + public abstract Builder setRole(String role); + + /** + * Set IAM Members for Policy Binding + * + * @throws NullPointerException if a member is null. + */ + public abstract Builder setMembers(Iterable members); + + /** Set IAM Condition for Policy Binding */ + public abstract Builder setCondition(Condition condition); + + /** Internal use to getMembers() in addMembers() and removeMembers() */ + abstract ImmutableList getMembers(); + + /** + * Add members to Policy Binding. + * + * @throws NullPointerException if a member is null. + */ + public Builder addMembers(String member, String... moreMembers) { + ImmutableList.Builder membersBuilder = ImmutableList.builder(); + membersBuilder.addAll(getMembers()); + membersBuilder.addAll(Lists.asList(member, moreMembers)); + setMembers(membersBuilder.build()); + return this; + } + + /** + * Remove members to Policy Binding. + * + * @throws NullPointerException if a member is null. + */ + public Builder removeMembers(String... members) { + Predicate selectMembersNotInList = not(in(Arrays.asList(members))); + Collection filter = Collections2.filter(getMembers(), selectMembersNotInList); + setMembers(filter); + return this; + } + + public abstract Binding build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java new file mode 100644 index 000000000000..38548837963b --- /dev/null +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java @@ -0,0 +1,65 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import com.google.api.core.BetaApi; +import com.google.auto.value.AutoValue; + +/** + * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access + * settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of + * identities to a role, where the identities can be user accounts, Google groups, Google domains, + * and service accounts. A role is a named list of permissions defined by IAM. + * + * @see Policy + * @see IAM Conditions + */ +@BetaApi("This is a Beta API is not stable yet and may change in the future.") +@AutoValue +public abstract class Condition { + /** Get IAM Policy Binding Condition Title */ + public abstract String getTitle(); + + /** Get IAM Policy Binding Condition Description */ + public abstract String getDescription(); + + /** Get IAM Policy Binding Condition Expression */ + public abstract String getExpression(); + + /** Create a new Condition.Builder from an existing Condition */ + public abstract Builder toBuilder(); + + /** Create a new Condition.Builder */ + public static Builder newBuilder() { + return new AutoValue_Condition.Builder(); + } + + @AutoValue.Builder + public abstract static class Builder { + /** Set IAM Policy Binding Condition Title */ + public abstract Builder setTitle(String title); + + /** Set IAM Policy Binding Condition Description */ + public abstract Builder setDescription(String description); + + /** Set IAM Policy Binding Condition Expression */ + public abstract Builder setExpression(String expression); + + /** Build Builder which creates a Condition instance */ + public abstract Condition build(); + } +} diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index 84067ec87e04..a6ecbae11e52 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -21,19 +21,16 @@ import com.google.api.core.ApiFunction; import com.google.api.core.InternalApi; -import com.google.common.base.Function; import com.google.common.base.MoreObjects; +import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; -import com.google.common.collect.Lists; import com.google.common.io.BaseEncoding; import com.google.protobuf.ByteString; +import com.google.type.Expr; import java.io.Serializable; import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.HashSet; -import java.util.LinkedHashSet; +import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -42,20 +39,35 @@ /** * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access - * settings for Cloud Platform resources. A policy is a map of bindings. A binding assigns a set of + * settings for Cloud Platform resources. A policy is a list of bindings. A binding assigns a set of * identities to a role, where the identities can be user accounts, Google groups, Google domains, * and service accounts. A role is a named list of permissions defined by IAM. * - * @see Policy + * @see Policy */ public final class Policy implements Serializable { private static final long serialVersionUID = -3348914530232544290L; - - private final Map> bindings; + private final ImmutableList bindingsList; private final String etag; private final int version; + /* + * Return true if Policy is version 3 OR bindings has a conditional binding. + * Return false if Policy is version 1 AND bindings does not have a conditional binding. + */ + private static boolean isConditional(int version, List bindingsList) { + for (Binding binding : bindingsList) { + if (binding.getCondition() != null) { + return true; + } + } + if (version == 3) { + return true; + } + return false; + } + public abstract static class Marshaller { @InternalApi("This class should only be extended within google-cloud-java") @@ -85,22 +97,25 @@ public static class DefaultMarshaller extends Marshaller> bindings = new HashMap<>(); + ImmutableList.Builder bindingsListBuilder = ImmutableList.builder(); for (com.google.iam.v1.Binding bindingPb : policyPb.getBindingsList()) { - bindings.put( - Role.of(bindingPb.getRole()), - ImmutableSet.copyOf( - Lists.transform( - bindingPb.getMembersList(), - new Function() { - @Override - public Identity apply(String s) { - return IDENTITY_VALUE_OF_FUNCTION.apply(s); - } - }))); + Binding.Builder convertedBinding = + Binding.newBuilder() + .setRole(bindingPb.getRole()) + .setMembers(bindingPb.getMembersList()); + if (bindingPb.hasCondition()) { + Expr expr = bindingPb.getCondition(); + convertedBinding.setCondition( + Condition.newBuilder() + .setTitle(expr.getTitle()) + .setDescription(expr.getDescription()) + .setExpression(expr.getExpression()) + .build()); + } + bindingsListBuilder.add(convertedBinding.build()); } return newBuilder() - .setBindings(bindings) + .setBindings(bindingsListBuilder.build()) .setEtag( policyPb.getEtag().isEmpty() ? null @@ -113,18 +128,19 @@ public Identity apply(String s) { protected com.google.iam.v1.Policy toPb(Policy policy) { com.google.iam.v1.Policy.Builder policyBuilder = com.google.iam.v1.Policy.newBuilder(); List bindingPbList = new LinkedList<>(); - for (Map.Entry> binding : policy.getBindings().entrySet()) { + for (Binding binding : policy.getBindingsList()) { com.google.iam.v1.Binding.Builder bindingBuilder = com.google.iam.v1.Binding.newBuilder(); - bindingBuilder.setRole(binding.getKey().getValue()); - bindingBuilder.addAllMembers( - Lists.transform( - new ArrayList<>(binding.getValue()), - new Function() { - @Override - public String apply(Identity identity) { - return IDENTITY_STR_VALUE_FUNCTION.apply(identity); - } - })); + bindingBuilder.setRole(binding.getRole()); + bindingBuilder.addAllMembers(binding.getMembers()); + if (binding.getCondition() != null) { + Condition condition = binding.getCondition(); + bindingBuilder.setCondition( + Expr.newBuilder() + .setTitle(condition.getTitle()) + .setDescription(condition.getDescription()) + .setExpression(condition.getExpression()) + .build()); + } bindingPbList.add(bindingBuilder.build()); } policyBuilder.addAllBindings(bindingPbList); @@ -138,8 +154,7 @@ public String apply(Identity identity) { /** A builder for {@code Policy} objects. */ public static class Builder { - - private final Map> bindings = new HashMap<>(); + private final List bindingsList = new ArrayList(); private String etag; private int version; @@ -148,7 +163,7 @@ protected Builder() {} @InternalApi("This class should only be extended within google-cloud-java") protected Builder(Policy policy) { - setBindings(policy.bindings); + bindingsList.addAll(policy.bindingsList); setEtag(policy.etag); setVersion(policy.version); } @@ -157,26 +172,73 @@ protected Builder(Policy policy) { * Replaces the builder's map of bindings with the given map of bindings. * * @throws NullPointerException if the given map is null or contains any null keys or values - * @throws IllegalArgumentException if any identities in the given map are null + * @throws IllegalArgumentException if any identities in the given map are null or if policy + * version is equal to 3 or has conditional bindings because conditional policies are not + * supported */ public final Builder setBindings(Map> bindings) { checkNotNull(bindings, "The provided map of bindings cannot be null."); + checkArgument( + !isConditional(this.version, this.bindingsList), + "setBindings() is only supported with version 1 policies and non-conditional policies"); for (Map.Entry> binding : bindings.entrySet()) { checkNotNull(binding.getKey(), "The role cannot be null."); Set identities = binding.getValue(); checkNotNull(identities, "A role cannot be assigned to a null set of identities."); checkArgument(!identities.contains(null), "Null identities are not permitted."); } - this.bindings.clear(); + // convert into List format + this.bindingsList.clear(); for (Map.Entry> binding : bindings.entrySet()) { - this.bindings.put(binding.getKey(), new HashSet<>(binding.getValue())); + Binding.Builder bindingBuilder = Binding.newBuilder(); + bindingBuilder.setRole(binding.getKey().getValue()); + ImmutableList.Builder membersBuilder = ImmutableList.builder(); + for (Identity identity : binding.getValue()) { + membersBuilder.add(identity.strValue()); + } + bindingBuilder.setMembers(membersBuilder.build()); + this.bindingsList.add(bindingBuilder.build()); } return this; } - /** Removes the role (and all identities associated with that role) from the policy. */ + /** + * Replaces the builder's List of bindings with the given List of Bindings. + * + * @throws NullPointerException if the given list is null, role is null, or contains any null + * members in bindings + */ + public final Builder setBindings(List bindings) { + this.bindingsList.clear(); + for (Binding binding : bindings) { + Binding.Builder bindingBuilder = Binding.newBuilder(); + bindingBuilder.setMembers(ImmutableList.copyOf(binding.getMembers())); + bindingBuilder.setRole(binding.getRole()); + bindingBuilder.setCondition(binding.getCondition()); + this.bindingsList.add(bindingBuilder.build()); + } + return this; + } + + /** + * Removes the role (and all identities associated with that role) from the policy. + * + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings + * because conditional policies are not supported + */ public final Builder removeRole(Role role) { - bindings.remove(role); + checkArgument( + !isConditional(this.version, this.bindingsList), + "removeRole() is only supported with version 1 policies and non-conditional policies"); + Iterator iterator = bindingsList.iterator(); + + while (iterator.hasNext()) { + Binding binding = (Binding) iterator.next(); + if (binding.getRole().equals(role.getValue())) { + iterator.remove(); + return this; + } + } return this; } @@ -184,39 +246,79 @@ public final Builder removeRole(Role role) { * Adds one or more identities to the policy under the role specified. * * @throws NullPointerException if the role or any of the identities is null. + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings. */ public final Builder addIdentity(Role role, Identity first, Identity... others) { + checkArgument( + !isConditional(this.version, this.bindingsList), + "addIdentity() is only supported with version 1 policies and non-conditional policies"); String nullIdentityMessage = "Null identities are not permitted."; checkNotNull(first, nullIdentityMessage); checkNotNull(others, nullIdentityMessage); - for (Identity identity : others) { - checkNotNull(identity, nullIdentityMessage); + checkNotNull(role, "The role cannot be null."); + for (int i = 0; i < bindingsList.size(); i++) { + Binding binding = bindingsList.get(i); + if (binding.getRole().equals(role.getValue())) { + Binding.Builder bindingBuilder = binding.toBuilder(); + ImmutableList.Builder membersBuilder = ImmutableList.builder(); + membersBuilder.addAll(binding.getMembers()); + membersBuilder.add(first.strValue()); + for (Identity identity : others) { + membersBuilder.add(identity.strValue()); + } + bindingBuilder.setMembers(membersBuilder.build()); + bindingsList.set(i, bindingBuilder.build()); + return this; + } } - Set toAdd = new LinkedHashSet<>(); - toAdd.add(first); - toAdd.addAll(Arrays.asList(others)); - Set identities = bindings.get(checkNotNull(role, "The role cannot be null.")); - if (identities == null) { - identities = new HashSet<>(); - bindings.put(role, identities); + // Binding does not yet exist. + Binding.Builder bindingBuilder = Binding.newBuilder().setRole(role.getValue()); + ImmutableList.Builder membersBuilder = ImmutableList.builder(); + membersBuilder.add(first.strValue()); + for (Identity identity : others) { + membersBuilder.add(identity.strValue()); } - identities.addAll(toAdd); + bindingBuilder.setMembers(membersBuilder.build()); + bindingsList.add(bindingBuilder.build()); return this; } /** * Removes one or more identities from an existing binding. Does nothing if the binding * associated with the provided role doesn't exist. + * + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings */ public final Builder removeIdentity(Role role, Identity first, Identity... others) { - Set identities = bindings.get(role); - if (identities != null) { - identities.remove(first); - identities.removeAll(Arrays.asList(others)); + checkArgument( + !isConditional(this.version, this.bindingsList), + "removeIdentity() is only supported with version 1 policies and non-conditional policies"); + String nullIdentityMessage = "Null identities are not permitted."; + checkNotNull(first, nullIdentityMessage); + checkNotNull(others, nullIdentityMessage); + checkNotNull(role, "The role cannot be null."); + for (int i = 0; i < bindingsList.size(); i++) { + Binding binding = bindingsList.get(i); + if (binding.getRole().equals(role.getValue())) { + Binding.Builder bindingBuilder = binding.toBuilder().removeMembers(first.strValue()); + for (Identity identity : others) { + bindingBuilder.removeMembers(identity.strValue()); + } + Binding updatedBindings = bindingBuilder.build(); + bindingsList.set(i, updatedBindings); + break; + } } - if (identities != null && identities.isEmpty()) { - bindings.remove(role); + + Iterator iterator = bindingsList.iterator(); + while (iterator.hasNext()) { + Binding binding = (Binding) iterator.next(); + if (binding.getRole().equals(role.getValue()) && binding.getMembers().size() == 0) { + iterator.remove(); + break; + } } + return this; } @@ -236,11 +338,8 @@ public final Builder setEtag(String etag) { return this; } - /** - * Sets the version of the policy. The default version is 0, meaning only the "owner", "editor", - * and "viewer" roles are permitted. If the version is 1, you may also use other roles. - */ - protected final Builder setVersion(int version) { + /** Sets the version of the policy. */ + public final Builder setVersion(int version) { this.version = version; return this; } @@ -252,11 +351,7 @@ public final Policy build() { } private Policy(Builder builder) { - ImmutableMap.Builder> bindingsBuilder = ImmutableMap.builder(); - for (Map.Entry> binding : builder.bindings.entrySet()) { - bindingsBuilder.put(binding.getKey(), ImmutableSet.copyOf(binding.getValue())); - } - this.bindings = bindingsBuilder.build(); + this.bindingsList = ImmutableList.copyOf(builder.bindingsList); this.etag = builder.etag; this.version = builder.version; } @@ -266,9 +361,29 @@ public Builder toBuilder() { return new Builder(this); } - /** Returns the map of bindings that comprises the policy. */ + /** + * Returns the map of bindings that comprises the policy. + * + * @throws IllegalArgumentException if policy version is equal to 3 or has conditional bindings + */ public Map> getBindings() { - return bindings; + checkArgument( + !isConditional(this.version, this.bindingsList), + "getBindings() is only supported with version 1 policies and non-conditional policies"); + ImmutableMap.Builder> bindingsV1Builder = ImmutableMap.builder(); + for (Binding binding : bindingsList) { + ImmutableSet.Builder identities = ImmutableSet.builder(); + for (String member : binding.getMembers()) { + identities.add(Identity.valueOf(member)); + } + bindingsV1Builder.put(Role.of(binding.getRole()), identities.build()); + } + return bindingsV1Builder.build(); + } + + /** Returns the list of bindings that comprises the policy for version 3. */ + public ImmutableList getBindingsList() { + return bindingsList; } /** @@ -297,7 +412,7 @@ public int getVersion() { @Override public String toString() { return MoreObjects.toStringHelper(this) - .add("bindings", bindings) + .add("bindings", bindingsList) .add("etag", etag) .add("version", version) .toString(); @@ -305,7 +420,7 @@ public String toString() { @Override public int hashCode() { - return Objects.hash(getClass(), bindings, etag, version); + return Objects.hash(getClass(), bindingsList, etag, version); } @Override @@ -317,9 +432,10 @@ public boolean equals(Object obj) { return false; } Policy other = (Policy) obj; - return Objects.equals(bindings, other.getBindings()) - && Objects.equals(etag, other.getEtag()) - && Objects.equals(version, other.getVersion()); + if (!bindingsList.equals(other.getBindingsList())) { + return false; + } + return Objects.equals(etag, other.getEtag()) && version == other.getVersion(); } /** Returns a builder for {@code Policy} objects. */ diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java index 61d99223e4a8..eb03e3372683 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -125,7 +125,7 @@ public void testIllegalPolicies() { assertEquals("Null identities are not permitted.", ex.getMessage()); } try { - Policy.newBuilder().setBindings(null); + Policy.newBuilder().setBindings((Map>) null); fail("Null bindings map should cause exception."); } catch (NullPointerException ex) { assertEquals("The provided map of bindings cannot be null.", ex.getMessage()); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java new file mode 100644 index 000000000000..13cab4332cb6 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java @@ -0,0 +1,284 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import com.google.cloud.Policy.DefaultMarshaller; +import com.google.common.collect.ImmutableList; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Iterator; +import java.util.List; +import org.junit.Test; + +public class PolicyV3Test { + + private static final String ALL_USERS = "allUsers"; + private static final String ALL_AUTH_USERS = "allAuthenticatedUsers"; + private static final String USER = "user:abc@gmail.com"; + private static final String SERVICE_ACCOUNT = "serviceAccount:service-account@gmail.com"; + private static final String GROUP = "group:group@gmail.com"; + private static final String DOMAIN = "domain:google.com"; + private static final String VIEWER = "roles/viewer"; + private static final String EDITOR = "roles/editor"; + private static final String OWNER = "roles/owner"; + private static final List MEMBERS_LIST_1 = + ImmutableList.of(USER, SERVICE_ACCOUNT, ALL_USERS); + private static final List MEMBERS_LIST_2 = + ImmutableList.of(ALL_AUTH_USERS, GROUP, DOMAIN); + private static final List BINDINGS_NO_CONDITIONS = + ImmutableList.of( + Binding.newBuilder().setRole(VIEWER).setMembers(MEMBERS_LIST_1).build(), + Binding.newBuilder().setRole(EDITOR).setMembers(MEMBERS_LIST_2).build()); + private static final List BINDINGS_WITH_CONDITIONS = + ImmutableList.copyOf(BINDINGS_NO_CONDITIONS) + .of( + Binding.newBuilder() + .setRole(VIEWER) + .setMembers(MEMBERS_LIST_1) + .setCondition( + Condition.newBuilder() + .setTitle("Condition") + .setDescription("Condition") + .setExpression("Expr") + .build()) + .build(), + Binding.newBuilder().setRole(EDITOR).setMembers(MEMBERS_LIST_2).build()); + private static final Policy FULL_POLICY_V1 = + Policy.newBuilder().setBindings(BINDINGS_NO_CONDITIONS).setEtag("etag").setVersion(1).build(); + + private static final Policy FULL_POLICY_V3 = + Policy.newBuilder() + .setBindings(BINDINGS_WITH_CONDITIONS) + .setEtag("etag") + .setVersion(3) + .build(); + + private static final Policy FULL_POLICY_V3_WITH_VERSION_1 = + Policy.newBuilder() + .setBindings(BINDINGS_WITH_CONDITIONS) + .setEtag("etag") + .setVersion(1) + .build(); + + @Test + public void testBuilderV1() { + assertEquals(BINDINGS_NO_CONDITIONS, FULL_POLICY_V1.getBindingsList()); + assertEquals(1, FULL_POLICY_V1.getVersion()); + assertEquals("etag", FULL_POLICY_V1.getEtag()); + Policy policy = FULL_POLICY_V1.toBuilder().setBindings(BINDINGS_NO_CONDITIONS).build(); + assertEquals(BINDINGS_NO_CONDITIONS, policy.getBindingsList()); + assertEquals("etag", policy.getEtag()); + assertEquals(1, policy.getVersion()); + } + + @Test + public void testBuilderV3WithConditions() { + assertEquals(BINDINGS_WITH_CONDITIONS, FULL_POLICY_V3.getBindingsList()); + assertEquals(3, FULL_POLICY_V3.getVersion()); + assertEquals("etag", FULL_POLICY_V3.getEtag()); + Policy policy = FULL_POLICY_V3.toBuilder().setBindings(BINDINGS_WITH_CONDITIONS).build(); + assertEquals(BINDINGS_WITH_CONDITIONS, policy.getBindingsList()); + assertEquals("etag", policy.getEtag()); + assertEquals(3, policy.getVersion()); + } + + @Test + public void testBuilderV1ToV3Compatability() { + assertEquals(BINDINGS_WITH_CONDITIONS, FULL_POLICY_V3_WITH_VERSION_1.getBindingsList()); + assertEquals(1, FULL_POLICY_V3_WITH_VERSION_1.getVersion()); + assertEquals("etag", FULL_POLICY_V3_WITH_VERSION_1.getEtag()); + Policy policy = + FULL_POLICY_V3_WITH_VERSION_1 + .toBuilder() + .setBindings(BINDINGS_WITH_CONDITIONS) + .setVersion(3) + .build(); + assertEquals(BINDINGS_WITH_CONDITIONS, policy.getBindingsList()); + assertEquals("etag", policy.getEtag()); + assertEquals(3, policy.getVersion()); + } + + @Test + public void removeMemberFromPolicy() { + assertEquals(3, FULL_POLICY_V3.getBindingsList().get(0).getMembers().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + + for (int i = 0; i < bindings.size(); i++) { + Binding binding = bindings.get(i); + if (binding.getRole().equals(VIEWER)) { + bindings.set(i, binding.toBuilder().removeMembers(ALL_USERS).build()); + break; + } + } + + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(2, updatedPolicy.getBindingsList().get(0).getMembers().size()); + } + + @Test + public void addMemberFromPolicy() { + assertEquals(3, FULL_POLICY_V3.getBindingsList().get(0).getMembers().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + + for (int i = 0; i < bindings.size(); i++) { + Binding binding = bindings.get(i); + if (binding.getRole().equals(VIEWER)) { + bindings.set(i, binding.toBuilder().addMembers("user:example@example.com").build()); + } + } + + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(4, updatedPolicy.getBindingsList().get(0).getMembers().size()); + } + + @Test + public void removeBindingFromPolicy() { + assertEquals(2, FULL_POLICY_V3.getBindingsList().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + + Iterator iterator = bindings.iterator(); + while (iterator.hasNext()) { + Binding binding = (Binding) iterator.next(); + if (binding.getRole().equals(EDITOR) && binding.getCondition() == null) { + iterator.remove(); + break; + } + } + + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(1, updatedPolicy.getBindingsList().size()); + } + + @Test + public void addBindingToPolicy() { + assertEquals(2, FULL_POLICY_V3.getBindingsList().size()); + List bindings = new ArrayList<>(FULL_POLICY_V3.getBindingsList()); + bindings.add(Binding.newBuilder().setRole(OWNER).setMembers(ImmutableList.of(USER)).build()); + Policy updatedPolicy = FULL_POLICY_V3.toBuilder().setBindings(bindings).build(); + assertEquals(3, updatedPolicy.getBindingsList().size()); + } + + @Test + public void testIllegalPolicies() { + try { + Binding.newBuilder().setRole(null).build(); + fail("Null role should cause exception."); + } catch (NullPointerException ex) { + assertEquals("Null role", ex.getMessage()); + } + try { + FULL_POLICY_V3 + .toBuilder() + .setBindings( + Arrays.asList( + Binding.newBuilder() + .setRole("test") + .setMembers(Arrays.asList(null, "user")) + .build())) + .build(); + fail("Null member should cause exception."); + } catch (NullPointerException ex) { + assertEquals("at index 0", ex.getMessage()); + } + try { + FULL_POLICY_V3.getBindings(); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "getBindings() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + try { + FULL_POLICY_V3.toBuilder().addIdentity(Role.editor(), Identity.allUsers()); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "addIdentity() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + try { + FULL_POLICY_V3.toBuilder().removeIdentity(Role.editor(), Identity.allUsers()); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "removeIdentity() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + try { + FULL_POLICY_V3.toBuilder().setBindings(FULL_POLICY_V1.getBindings()); + fail("getBindings() should cause exception with Policy V3."); + } catch (IllegalArgumentException ex) { + assertEquals( + "setBindings() is only supported with version 1 policies and non-conditional policies", + ex.getMessage()); + } + } + + @Test + public void testEqualsHashCode() { + assertNotNull(FULL_POLICY_V3); + Policy emptyPolicy = Policy.newBuilder().build(); + Policy anotherPolicy = Policy.newBuilder().build(); + assertEquals(emptyPolicy, anotherPolicy); + assertEquals(emptyPolicy.hashCode(), anotherPolicy.hashCode()); + assertNotEquals(FULL_POLICY_V3, FULL_POLICY_V1); + assertNotEquals(FULL_POLICY_V3.hashCode(), FULL_POLICY_V1.hashCode()); + Policy copy = FULL_POLICY_V1.toBuilder().build(); + assertEquals(FULL_POLICY_V1, copy); + assertEquals(FULL_POLICY_V1.hashCode(), copy.hashCode()); + } + + @Test + public void testBindings() { + assertTrue(Policy.newBuilder().build().getBindingsList().isEmpty()); + assertEquals(BINDINGS_WITH_CONDITIONS, FULL_POLICY_V3.getBindingsList()); + } + + @Test + public void testEtag() { + assertNotNull(FULL_POLICY_V3.getEtag()); + assertEquals("etag", FULL_POLICY_V3.getEtag()); + } + + @Test + public void testVersion() { + assertEquals(1, FULL_POLICY_V1.getVersion()); + assertEquals(3, FULL_POLICY_V3.getVersion()); + assertEquals(1, FULL_POLICY_V3_WITH_VERSION_1.getVersion()); + } + + @Test + public void testDefaultMarshaller() { + DefaultMarshaller marshaller = new DefaultMarshaller(); + Policy emptyPolicy = Policy.newBuilder().build(); + assertEquals(emptyPolicy, marshaller.fromPb(marshaller.toPb(emptyPolicy))); + assertEquals(FULL_POLICY_V3, marshaller.fromPb(marshaller.toPb(FULL_POLICY_V3))); + assertEquals(FULL_POLICY_V1, marshaller.fromPb(marshaller.toPb(FULL_POLICY_V1))); + com.google.iam.v1.Policy policyPb = com.google.iam.v1.Policy.getDefaultInstance(); + Policy policy = marshaller.fromPb(policyPb); + assertTrue(policy.getBindingsList().isEmpty()); + assertNull(policy.getEtag()); + assertEquals(0, policy.getVersion()); + } +} diff --git a/java-core/pom.xml b/java-core/pom.xml index 9b09b92c72ee..7bb57d47ec14 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,8 @@ UTF-8 github google-cloud-core-parent - + 1.7 + 1.7 1.53.1 1.8.1 1.17.0 @@ -231,7 +232,12 @@ pom import - + + com.google.auto.value + auto-value-annotations + ${auto-value-annotations.version} + true + com.google.api api-common @@ -247,7 +253,6 @@ proto-google-iam-v1 ${google.iam.version} - io.opencensus @@ -324,7 +329,20 @@ org.objenesis:objenesis + + maven-compiler-plugin + + + + com.google.auto.value + auto-value + ${auto-value.version} + + + + + From 36c46e9f3d18c6313cea85a262659591c1321e00 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 27 Feb 2020 21:02:09 +0100 Subject: [PATCH 0803/3036] deps: update dependency com.google.api:gax-bom to v1.54.0 (#168) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7bb57d47ec14..26a4cc461dd9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.7 1.7 - 1.53.1 + 1.54.0 1.8.1 1.17.0 0.13.0 From 1c1eb9f3c3627b137e0ae6410025497e6f1e65db Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2020 20:56:08 +0000 Subject: [PATCH 0804/3036] chore: release 1.93.0 (#167) :robot: I have created a release \*beep\* \*boop\* --- ## [1.93.0](https://www.github.com/googleapis/java-core/compare/v1.92.6...v1.93.0) (2020-02-27) ### Features * support conditional policies ([#110](https://www.github.com/googleapis/java-core/issues/110)) ([c5329a7](https://www.github.com/googleapis/java-core/commit/c5329a73b9e3aa40ea983d580934e3087fa30666)) ### Bug Fixes * fix conversion for pre-epoch timestamps ([#160](https://www.github.com/googleapis/java-core/issues/160)) ([1c720fd](https://www.github.com/googleapis/java-core/commit/1c720fd23d2ba48a4b84fefcd84adfcc7e83cd3a)) ### Dependencies * update dependency com.google.api:gax-bom to v1.54.0 ([#168](https://www.github.com/googleapis/java-core/issues/168)) ([36c46e9](https://www.github.com/googleapis/java-core/commit/36c46e9f3d18c6313cea85a262659591c1321e00)) * update dependency io.grpc:grpc-bom to v1.27.2 ([#166](https://www.github.com/googleapis/java-core/issues/166)) ([0966b99](https://www.github.com/googleapis/java-core/commit/0966b990222cf7c1d6e1b5eb4c53e6d3cb18b77c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 18 ++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 30 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index fbc8d1341f2e..021ccd20fcb9 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [1.93.0](https://www.github.com/googleapis/java-core/compare/v1.92.6...v1.93.0) (2020-02-27) + + +### Features + +* support conditional policies ([#110](https://www.github.com/googleapis/java-core/issues/110)) ([61e2d19](https://www.github.com/googleapis/java-core/commit/61e2d19bb4400978681aa018a8dc200214203830)) + + +### Bug Fixes + +* fix conversion for pre-epoch timestamps ([#160](https://www.github.com/googleapis/java-core/issues/160)) ([1f8b6b4](https://www.github.com/googleapis/java-core/commit/1f8b6b4835aaa702ec94bbbde89ed90f519c935a)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.54.0 ([#168](https://www.github.com/googleapis/java-core/issues/168)) ([5b52f9e](https://www.github.com/googleapis/java-core/commit/5b52f9e8d8cdc82b56114d3d1e857d137ae7ca98)) +* update dependency io.grpc:grpc-bom to v1.27.2 ([#166](https://www.github.com/googleapis/java-core/issues/166)) ([28c9859](https://www.github.com/googleapis/java-core/commit/28c98595c9ee96760a063085bd85024177bd6dd2)) + ### [1.92.5](https://www.github.com/googleapis/java-core/compare/v1.92.4...v1.92.5) (2020-02-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 7713a6a7fcc4..fb19299e9ff4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.92.6-SNAPSHOT + 1.93.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.92.6-SNAPSHOT + 1.93.0 com.google.cloud google-cloud-core-grpc - 1.92.6-SNAPSHOT + 1.93.0 com.google.cloud google-cloud-core-http - 1.92.6-SNAPSHOT + 1.93.0 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5e5b26ca642d..4eee10fee011 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 - 1.92.6-SNAPSHOT + 1.93.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.92.6-SNAPSHOT + 1.93.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 3c2310b1ee49..3b970afa4a99 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 - 1.92.6-SNAPSHOT + 1.93.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.92.6-SNAPSHOT + 1.93.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 678969211657..05debb7290e1 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 - 1.92.6-SNAPSHOT + 1.93.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.92.6-SNAPSHOT + 1.93.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 26a4cc461dd9..4b8475726d0c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.92.6-SNAPSHOT + 1.93.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index f786f05a5aa8..907c91cfa18d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.92.5:1.92.6-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.0:1.93.0 \ No newline at end of file From 5ea129775051b10be280e65b19136fc6665e3b47 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2020 18:40:02 +0000 Subject: [PATCH 0805/3036] chore: release 1.93.1-SNAPSHOT (#170) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index fb19299e9ff4..4ed9251b2ef0 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.0 + 1.93.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.0 + 1.93.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.0 + 1.93.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.0 + 1.93.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4eee10fee011..573d56ee5569 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 - 1.93.0 + 1.93.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.0 + 1.93.1-SNAPSHOT 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 3b970afa4a99..b959dad1ee83 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 - 1.93.0 + 1.93.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.0 + 1.93.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 05debb7290e1..a057dd9011d0 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 - 1.93.0 + 1.93.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.0 + 1.93.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 4b8475726d0c..325ffe232338 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.0 + 1.93.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 907c91cfa18d..a52a7e4c93b0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.0:1.93.0 \ No newline at end of file +google-cloud-core:1.93.0:1.93.1-SNAPSHOT \ No newline at end of file From 045d83df2712e56c4ae36015e7a5aa86194dc9a7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Feb 2020 19:53:29 +0100 Subject: [PATCH 0806/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.30.9 (#171) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 325ffe232338..68efc9e9e097 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.17.0 0.13.0 0.20.0 - 1.30.8 + 1.30.9 1.34.2 1.27.2 3.11.4 From ca82e4fe6b542566ad13be8e5653653c92484ded Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 3 Mar 2020 21:20:08 +0000 Subject: [PATCH 0807/3036] chore: release 1.93.1 (#172) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.1](https://www.github.com/googleapis/java-core/compare/v1.93.0...v1.93.1) (2020-02-28) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.30.9 ([#171](https://www.github.com/googleapis/java-core/issues/171)) ([045d83d](https://www.github.com/googleapis/java-core/commit/045d83df2712e56c4ae36015e7a5aa86194dc9a7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 021ccd20fcb9..11e13476f443 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.93.1](https://www.github.com/googleapis/java-core/compare/v1.93.0...v1.93.1) (2020-02-28) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.9 ([#171](https://www.github.com/googleapis/java-core/issues/171)) ([1fdcd5e](https://www.github.com/googleapis/java-core/commit/1fdcd5e839049f650ba7ebb003dea62511c8667f)) + ## [1.93.0](https://www.github.com/googleapis/java-core/compare/v1.92.6...v1.93.0) (2020-02-27) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4ed9251b2ef0..8445850b87c9 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.1-SNAPSHOT + 1.93.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.1-SNAPSHOT + 1.93.1 com.google.cloud google-cloud-core-grpc - 1.93.1-SNAPSHOT + 1.93.1 com.google.cloud google-cloud-core-http - 1.93.1-SNAPSHOT + 1.93.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 573d56ee5569..d1074141c23f 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 - 1.93.1-SNAPSHOT + 1.93.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.1-SNAPSHOT + 1.93.1 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 b959dad1ee83..538788db5666 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 - 1.93.1-SNAPSHOT + 1.93.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.1-SNAPSHOT + 1.93.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a057dd9011d0..429cc038ffb8 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 - 1.93.1-SNAPSHOT + 1.93.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.1-SNAPSHOT + 1.93.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 68efc9e9e097..4ddf55643279 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.1-SNAPSHOT + 1.93.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index a52a7e4c93b0..7690ef2e2d69 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.0:1.93.1-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.1:1.93.1 \ No newline at end of file From 89e7070414ea09a7aa63803889ea95fac25b14be Mon Sep 17 00:00:00 2001 From: Frank Natividad Date: Tue, 10 Mar 2020 11:46:10 -0700 Subject: [PATCH 0808/3036] fix: verify correctness of map -> list equality (#174) * fix: verify correctness of map -> list equality * address comments * format --- .../main/java/com/google/cloud/Policy.java | 16 ++++++++-- .../java/com/google/cloud/PolicyTest.java | 30 +++++++++++++++++++ 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java index a6ecbae11e52..1c5b78c9ea04 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Policy.java @@ -260,7 +260,7 @@ public final Builder addIdentity(Role role, Identity first, Identity... others) Binding binding = bindingsList.get(i); if (binding.getRole().equals(role.getValue())) { Binding.Builder bindingBuilder = binding.toBuilder(); - ImmutableList.Builder membersBuilder = ImmutableList.builder(); + ImmutableSet.Builder membersBuilder = ImmutableSet.builder(); membersBuilder.addAll(binding.getMembers()); membersBuilder.add(first.strValue()); for (Identity identity : others) { @@ -273,7 +273,7 @@ public final Builder addIdentity(Role role, Identity first, Identity... others) } // Binding does not yet exist. Binding.Builder bindingBuilder = Binding.newBuilder().setRole(role.getValue()); - ImmutableList.Builder membersBuilder = ImmutableList.builder(); + ImmutableSet.Builder membersBuilder = ImmutableSet.builder(); membersBuilder.add(first.strValue()); for (Identity identity : others) { membersBuilder.add(identity.strValue()); @@ -432,9 +432,19 @@ public boolean equals(Object obj) { return false; } Policy other = (Policy) obj; - if (!bindingsList.equals(other.getBindingsList())) { + if (bindingsList == null && other.getBindingsList() == null) { + return true; + } + if ((bindingsList == null && other.getBindingsList() != null) + || bindingsList != null && other.getBindingsList() == null + || bindingsList.size() != other.getBindingsList().size()) { return false; } + for (Binding binding : bindingsList) { + if (!other.getBindingsList().contains(binding)) { + return false; + } + } return Objects.equals(etag, other.getEtag()) && version == other.getVersion(); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java index eb03e3372683..98695c2a4c56 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyTest.java @@ -104,6 +104,36 @@ public void testBuilder() { assertEquals(0, policy.getVersion()); } + @Test + public void testPolicyOrderShouldNotMatter() { + Role role1 = Role.of("role1"); + Identity identity1 = Identity.user("user1@example.com"); + Role role2 = Role.of("role2"); + Identity identity2 = Identity.user("user2@example.com"); + Policy policy1 = + Policy.newBuilder().addIdentity(role1, identity1).addIdentity(role2, identity2).build(); + Policy policy2 = + Policy.newBuilder().addIdentity(role2, identity2).addIdentity(role1, identity1).build(); + assertEquals(policy1, policy2); + } + + @Test + public void testPolicyMultipleAddIdentitiesShouldNotMatter() { + Role role1 = Role.of("role1"); + Identity identity1 = Identity.user("user1@example.com"); + Role role2 = Role.of("role2"); + Identity identity2 = Identity.user("user2@example.com"); + Policy policy1 = + Policy.newBuilder() + .addIdentity(role1, identity1) + .addIdentity(role2, identity2) + .addIdentity(role2, identity2) + .build(); + Policy policy2 = + Policy.newBuilder().addIdentity(role2, identity2).addIdentity(role1, identity1).build(); + assertEquals(policy1, policy2); + } + @Test public void testIllegalPolicies() { try { From e18a05236f3a98845e5d643f460b6952d8e3b844 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2020 19:06:02 +0000 Subject: [PATCH 0809/3036] chore: release 1.93.2-SNAPSHOT (#175) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8445850b87c9..367373940674 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.1 + 1.93.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.1 + 1.93.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.1 + 1.93.2-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.1 + 1.93.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d1074141c23f..7a1189cd29c6 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 - 1.93.1 + 1.93.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.1 + 1.93.2-SNAPSHOT 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 538788db5666..45e603fa53f4 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 - 1.93.1 + 1.93.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.1 + 1.93.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 429cc038ffb8..67f653495cb1 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 - 1.93.1 + 1.93.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.1 + 1.93.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 4ddf55643279..e5379200993a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.1 + 1.93.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7690ef2e2d69..6658b5de7c21 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.1:1.93.1 \ No newline at end of file +google-cloud-core:1.93.1:1.93.2-SNAPSHOT \ No newline at end of file From 0b2283369cfd0ca6b5518e00650bf15fa0f0bd00 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2020 19:16:03 +0000 Subject: [PATCH 0810/3036] chore: release 1.93.2 (#176) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.2](https://www.github.com/googleapis/java-core/compare/v1.93.1...v1.93.2) (2020-03-10) ### Bug Fixes * verify correctness of map -> list equality ([#174](https://www.github.com/googleapis/java-core/issues/174)) ([89e7070](https://www.github.com/googleapis/java-core/commit/89e7070414ea09a7aa63803889ea95fac25b14be)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 11e13476f443..3bf02ff519d1 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.93.2](https://www.github.com/googleapis/java-core/compare/v1.93.1...v1.93.2) (2020-03-10) + + +### Bug Fixes + +* verify correctness of map -> list equality ([#174](https://www.github.com/googleapis/java-core/issues/174)) ([f45d913](https://www.github.com/googleapis/java-core/commit/f45d9131d5d2bbb2cc4cec67ebe82054fda58f55)) + ### [1.93.1](https://www.github.com/googleapis/java-core/compare/v1.93.0...v1.93.1) (2020-02-28) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 367373940674..e31862e0b950 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.2-SNAPSHOT + 1.93.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.2-SNAPSHOT + 1.93.2 com.google.cloud google-cloud-core-grpc - 1.93.2-SNAPSHOT + 1.93.2 com.google.cloud google-cloud-core-http - 1.93.2-SNAPSHOT + 1.93.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7a1189cd29c6..b6d2e6707ac9 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 - 1.93.2-SNAPSHOT + 1.93.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.2-SNAPSHOT + 1.93.2 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 45e603fa53f4..c933ff67e633 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 - 1.93.2-SNAPSHOT + 1.93.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.2-SNAPSHOT + 1.93.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 67f653495cb1..ef98cf5d645c 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 - 1.93.2-SNAPSHOT + 1.93.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.2-SNAPSHOT + 1.93.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index e5379200993a..5d1525e91776 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.2-SNAPSHOT + 1.93.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6658b5de7c21..acbf6e6ef4b0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.1:1.93.2-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.2:1.93.2 \ No newline at end of file From 5d7a682f9b31ef3fe76a540ffed610c046371683 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Mar 2020 22:02:04 +0000 Subject: [PATCH 0811/3036] chore: release 1.93.3-SNAPSHOT (#177) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e31862e0b950..67060a485863 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.2 + 1.93.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.2 + 1.93.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.2 + 1.93.3-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.2 + 1.93.3-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b6d2e6707ac9..a8a7adf6c12b 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 - 1.93.2 + 1.93.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.2 + 1.93.3-SNAPSHOT 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 c933ff67e633..de6443598722 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 - 1.93.2 + 1.93.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.2 + 1.93.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ef98cf5d645c..7dd08e495c2b 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 - 1.93.2 + 1.93.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.2 + 1.93.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5d1525e91776..13d907cb0b6e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.2 + 1.93.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index acbf6e6ef4b0..7fcd8163fcac 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.2:1.93.2 \ No newline at end of file +google-cloud-core:1.93.2:1.93.3-SNAPSHOT \ No newline at end of file From a8a5396cf2af4fdd89e28f4fdaf76f5f423472b6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 Mar 2020 11:05:02 +0100 Subject: [PATCH 0812/3036] deps: update dependency io.grpc:grpc-bom to v1.28.0 (#178) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 13d907cb0b6e..9aa2b8418bf5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 0.20.0 1.30.9 1.34.2 - 1.27.2 + 1.28.0 3.11.4 0.24.0 1.3.2 From f7a85a978e5e64cd8bbd4ae776b0f3d264f1ac5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Thu, 12 Mar 2020 19:07:10 +0100 Subject: [PATCH 0813/3036] fix: fix Timestamp.of(java.sql.Timestamp) pre-epoch on exact second (#179) * fix: Timestamp.of(java.sql.Timestamp) pre-epoch on exact second * fix: review comments * fix: review comments * fix: make all testOf method consistent --- .../main/java/com/google/cloud/Timestamp.java | 10 +++---- .../java/com/google/cloud/TimestampTest.java | 29 +++++++++++++++---- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index df111d350367..c2cf20a3e270 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -121,13 +121,13 @@ public static Timestamp now() { public static Timestamp of(java.sql.Timestamp timestamp) { int nanos = timestamp.getNanos(); - // A pre-epoch timestamp will be off by one second because of the way that integer division - // works. For example, -1001 / 1000 == -1. In this case of timestamps, we want this result to be - // -2. This causes any pre-epoch timestamp to be off by 1 second - fix this by adjusting the - // seconds value by 1 if the timestamp < 0. + // A pre-epoch timestamp can be off by one second because of the way that integer division + // works. For example, -1001 / 1000 == -1. In this case, we want this result to be -2. This + // causes any pre-epoch timestamp to be off by 1 second - fix this by subtracting 1 from the + // seconds value if the seconds value is less than zero and is not divisible by 1000. // TODO: replace with Math.floorDiv when we drop Java 7 support long seconds = timestamp.getTime() / 1000; - if (seconds < 0) { + if (seconds < 0 && timestamp.getTime() % 1000 != 0) { --seconds; } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 12e13ef5b92d..26bf9f2f8d22 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -18,6 +18,7 @@ import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import com.google.common.testing.EqualsTester; @@ -81,27 +82,43 @@ public void ofDate() { } @Test - public void ofSqlTimestamp() { + public void testOf() { String expectedTimestampString = "1970-01-01T00:00:12.345000000Z"; java.sql.Timestamp input = new java.sql.Timestamp(12345); Timestamp timestamp = Timestamp.of(input); - assertThat(timestamp.toString()).isEqualTo(expectedTimestampString); + assertEquals(timestamp.toString(), expectedTimestampString); } @Test - public void ofSqlTimestampPreEpoch() { + public void testOf_exactSecond() { + String expectedTimestampString = "1970-01-01T00:00:12Z"; + java.sql.Timestamp input = new java.sql.Timestamp(12000); + Timestamp timestamp = Timestamp.of(input); + assertEquals(timestamp.toString(), expectedTimestampString); + } + + @Test + public void testOf_preEpoch() { String expectedTimestampString = "1969-12-31T23:59:47.655000000Z"; java.sql.Timestamp input = new java.sql.Timestamp(-12345); Timestamp timestamp = Timestamp.of(input); - assertThat(timestamp.toString()).isEqualTo(expectedTimestampString); + assertEquals(timestamp.toString(), expectedTimestampString); } @Test - public void ofSqlTimestampOnEpoch() { + public void testOf_onEpoch() { String expectedTimestampString = "1970-01-01T00:00:00Z"; java.sql.Timestamp input = new java.sql.Timestamp(0); Timestamp timestamp = Timestamp.of(input); - assertThat(timestamp.toString()).isEqualTo(expectedTimestampString); + assertEquals(timestamp.toString(), expectedTimestampString); + } + + @Test + public void testOf_preEpochExactSecond() { + String expectedTimestampString = "1969-12-31T23:59:59Z"; + java.sql.Timestamp input = new java.sql.Timestamp(-1000); + Timestamp timestamp = Timestamp.of(input); + assertEquals(timestamp.toString(), expectedTimestampString); } @Test From 819eba890f7b9443d6882ef024fc0bf88d895cea Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Fri, 13 Mar 2020 11:22:04 -0400 Subject: [PATCH 0814/3036] deps: revert gRPC updates (#181) To avoid linkage errors --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9aa2b8418bf5..13d907cb0b6e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 0.20.0 1.30.9 1.34.2 - 1.28.0 + 1.27.2 3.11.4 0.24.0 1.3.2 From a9503817bb76a48521cb12fc63b863c333e88660 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 16 Mar 2020 16:12:13 +0100 Subject: [PATCH 0815/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.2.0 (#185) This PR contains the following updates: | Package | Update | Change | |---|---|---| | org.apache.maven.plugins:maven-javadoc-plugin | minor | `3.1.1` -> `3.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 13d907cb0b6e..68f34c5390a6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -385,7 +385,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.1.1 + 3.2.0 html From c65b432328203f712619ec8da90e49e15237583d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 16 Mar 2020 08:28:51 -0700 Subject: [PATCH 0816/3036] chore: update PR template (#184) This PR was generated using Autosynth. :rainbow:
    Log from Synthtool ``` 2020-03-14 02:16:30,909 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json 2020-03-14 02:16:31,108 synthtool > Wrote metadata to synth.metadata. ```
    --- java-core/.github/PULL_REQUEST_TEMPLATE.md | 8 +++++++- java-core/synth.metadata | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/java-core/.github/PULL_REQUEST_TEMPLATE.md b/java-core/.github/PULL_REQUEST_TEMPLATE.md index 0bd0ee0620f9..940d477efc5a 100644 --- a/java-core/.github/PULL_REQUEST_TEMPLATE.md +++ b/java-core/.github/PULL_REQUEST_TEMPLATE.md @@ -1 +1,7 @@ -Fixes # (it's a good idea to open an issue first for context and/or discussion) \ No newline at end of file +Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: +- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-core/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea +- [ ] Ensure the tests and linter pass +- [ ] Code coverage does not decrease (if any source code was changed) +- [ ] Appropriate docs were updated (if necessary) + +Fixes # ☕️ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 99a64e176086..06bf95877b7f 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-02-24T23:14:57.546329Z", + "updateTime": "2020-03-14T09:16:31.108382Z", "sources": [ { "template": { From e45435b07278efdf16483268efc5658cce1a3374 Mon Sep 17 00:00:00 2001 From: Frank Natividad Date: Mon, 16 Mar 2020 09:01:52 -0700 Subject: [PATCH 0817/3036] fix: retry SSLException (#183) --- .../src/main/java/com/google/cloud/BaseServiceException.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java index e9e9e2aa6370..29396d6d5897 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/BaseServiceException.java @@ -26,6 +26,7 @@ import java.util.Objects; import java.util.Set; import java.util.concurrent.ExecutionException; +import javax.net.ssl.SSLException; import javax.net.ssl.SSLHandshakeException; /** Base class for all service exceptions. */ @@ -256,6 +257,8 @@ public static boolean isRetryable(boolean idempotent, IOException exception) { boolean exceptionIsRetryable = exception instanceof SocketTimeoutException || exception instanceof SocketException + || (exception instanceof SSLException + && exception.getMessage().contains("Connection has been shutdown: ")) || (exception instanceof SSLHandshakeException && !(exception.getCause() instanceof CertificateException)) || "insufficient data written".equals(exception.getMessage()) From d6f6e22a40e266bde31ae70020732e9de7c10291 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2020 11:30:35 -0700 Subject: [PATCH 0818/3036] chore: release 1.93.3 (#180) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated google-cloud-core-bom/pom.xml [ci skip] * updated google-cloud-core-grpc/pom.xml [ci skip] * updated google-cloud-core-http/pom.xml [ci skip] * updated google-cloud-core/pom.xml [ci skip] * updated pom.xml [ci skip] Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 14 ++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 26 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 3bf02ff519d1..5218a786feb4 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +### [1.93.3](https://www.github.com/googleapis/java-core/compare/v1.93.2...v1.93.3) (2020-03-16) + + +### Bug Fixes + +* fix Timestamp.of(java.sql.Timestamp) pre-epoch on exact second ([#179](https://www.github.com/googleapis/java-core/issues/179)) ([9bfb54c](https://www.github.com/googleapis/java-core/commit/9bfb54c5a88c906bebcf90f81ed19aeece09befd)) +* retry SSLException ([#183](https://www.github.com/googleapis/java-core/issues/183)) ([775a848](https://www.github.com/googleapis/java-core/commit/775a84877ef69d22ca7a4392edd0d3680df2256e)) + + +### Dependencies + +* revert gRPC updates ([#181](https://www.github.com/googleapis/java-core/issues/181)) ([f5ba782](https://www.github.com/googleapis/java-core/commit/f5ba782fe7078bd2e02d27d8770ad20a459c73f3)) +* update dependency io.grpc:grpc-bom to v1.28.0 ([#178](https://www.github.com/googleapis/java-core/issues/178)) ([6d5632c](https://www.github.com/googleapis/java-core/commit/6d5632c22507d1d3d36a90778291a6fa25b4788b)) + ### [1.93.2](https://www.github.com/googleapis/java-core/compare/v1.93.1...v1.93.2) (2020-03-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 67060a485863..e81909570729 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.3-SNAPSHOT + 1.93.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.3-SNAPSHOT + 1.93.3 com.google.cloud google-cloud-core-grpc - 1.93.3-SNAPSHOT + 1.93.3 com.google.cloud google-cloud-core-http - 1.93.3-SNAPSHOT + 1.93.3 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a8a7adf6c12b..b6bb373c382f 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 - 1.93.3-SNAPSHOT + 1.93.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.3-SNAPSHOT + 1.93.3 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 de6443598722..fd7d2bfbd03e 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 - 1.93.3-SNAPSHOT + 1.93.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.3-SNAPSHOT + 1.93.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7dd08e495c2b..445fd819081e 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 - 1.93.3-SNAPSHOT + 1.93.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.3-SNAPSHOT + 1.93.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 68f34c5390a6..22a6a778ed20 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.3-SNAPSHOT + 1.93.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7fcd8163fcac..6a76ae69ca26 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.2:1.93.3-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.3:1.93.3 \ No newline at end of file From 58670cfc6eb4219ccf775f928e17d540c7b308ec Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 17 Mar 2020 16:12:31 -0700 Subject: [PATCH 0819/3036] samples: scaffold pom.xml files (#188) This PR was generated using Autosynth. :rainbow:
    Log from Synthtool ``` 2020-03-17 12:21:17,604 synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py. .github/ISSUE_TEMPLATE/bug_report.md .github/ISSUE_TEMPLATE/feature_request.md .github/ISSUE_TEMPLATE/support_request.md .github/PULL_REQUEST_TEMPLATE.md .github/release-please.yml .github/trusted-contribution.yml .kokoro/build.bat .kokoro/build.sh .kokoro/coerce_logs.sh .kokoro/common.cfg .kokoro/continuous/common.cfg .kokoro/continuous/dependencies.cfg .kokoro/continuous/integration.cfg .kokoro/continuous/java11.cfg .kokoro/continuous/java7.cfg .kokoro/continuous/java8-osx.cfg .kokoro/continuous/java8-win.cfg .kokoro/continuous/java8.cfg .kokoro/continuous/lint.cfg .kokoro/continuous/propose_release.cfg .kokoro/continuous/samples.cfg .kokoro/dependencies.sh .kokoro/linkage-monitor.sh .kokoro/nightly/common.cfg .kokoro/nightly/dependencies.cfg .kokoro/nightly/integration.cfg .kokoro/nightly/java11.cfg .kokoro/nightly/java7.cfg .kokoro/nightly/java8-osx.cfg .kokoro/nightly/java8-win.cfg .kokoro/nightly/java8.cfg .kokoro/nightly/lint.cfg .kokoro/nightly/samples.cfg .kokoro/presubmit/clirr.cfg .kokoro/presubmit/common.cfg .kokoro/presubmit/dependencies.cfg .kokoro/presubmit/integration.cfg .kokoro/presubmit/java11.cfg .kokoro/presubmit/java7.cfg .kokoro/presubmit/java8-osx.cfg .kokoro/presubmit/java8-win.cfg .kokoro/presubmit/java8.cfg .kokoro/presubmit/linkage-monitor.cfg .kokoro/presubmit/lint.cfg .kokoro/presubmit/samples.cfg .kokoro/release/bump_snapshot.cfg .kokoro/release/common.cfg .kokoro/release/common.sh .kokoro/release/drop.cfg .kokoro/release/drop.sh .kokoro/release/promote.cfg .kokoro/release/promote.sh .kokoro/release/publish_javadoc.cfg .kokoro/release/publish_javadoc.sh .kokoro/release/snapshot.cfg .kokoro/release/snapshot.sh .kokoro/release/stage.cfg .kokoro/release/stage.sh .kokoro/trampoline.sh CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md codecov.yaml java.header license-checks.xml renovate.json samples/install-without-bom/pom.xml samples/pom.xml samples/snapshot/pom.xml samples/snippets/pom.xml 2020-03-17 12:21:17,805 synthtool > Wrote metadata to synth.metadata. ```
    --- java-core/samples/install-without-bom/pom.xml | 84 +++++++++++++++++++ java-core/samples/pom.xml | 56 +++++++++++++ java-core/samples/snapshot/pom.xml | 83 ++++++++++++++++++ java-core/samples/snippets/pom.xml | 60 +++++++++++++ java-core/synth.metadata | 2 +- 5 files changed, 284 insertions(+), 1 deletion(-) create mode 100644 java-core/samples/install-without-bom/pom.xml create mode 100644 java-core/samples/pom.xml create mode 100644 java-core/samples/snapshot/pom.xml create mode 100644 java-core/samples/snippets/pom.xml diff --git a/java-core/samples/install-without-bom/pom.xml b/java-core/samples/install-without-bom/pom.xml new file mode 100644 index 000000000000..d147d2a80137 --- /dev/null +++ b/java-core/samples/install-without-bom/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-install-without-bom + jar + Google Google Cloud Core Install Without Bom + https://github.com/googleapis/java-core + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-core + + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/java-core/samples/pom.xml b/java-core/samples/pom.xml new file mode 100644 index 000000000000..8876c4a01181 --- /dev/null +++ b/java-core/samples/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + com.google.cloud + google-cloud-google-cloud-core-samples + 0.0.1-SNAPSHOT + pom + Google Google Cloud Core Samples Parent + https://github.com/googleapis/java-core + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + install-without-bom + snapshot + snippets + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + + true + + + + + diff --git a/java-core/samples/snapshot/pom.xml b/java-core/samples/snapshot/pom.xml new file mode 100644 index 000000000000..cf40b8677968 --- /dev/null +++ b/java-core/samples/snapshot/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-snapshot + jar + Google Google Cloud Core Snapshot Samples + https://github.com/googleapis/java-core + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-core + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + \ No newline at end of file diff --git a/java-core/samples/snippets/pom.xml b/java-core/samples/snippets/pom.xml new file mode 100644 index 000000000000..5368a8737191 --- /dev/null +++ b/java-core/samples/snippets/pom.xml @@ -0,0 +1,60 @@ + + + 4.0.0 + com.google.cloud + google-cloud-core-snippets + jar + Google Google Cloud Core Snippets + https://github.com/googleapis/java-core + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + + com.google.cloud + libraries-bom + + pom + import + + + + + + + com.google.cloud + google-cloud-core + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 06bf95877b7f..f9b601964eaa 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-03-14T09:16:31.108382Z", + "updateTime": "2020-03-17T19:21:17.805286Z", "sources": [ { "template": { From 8cf8aa5e59462f3498cdab84ded03fa706405381 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 18 Mar 2020 08:49:17 -0700 Subject: [PATCH 0820/3036] samples: fix snippet closing tag (#189) --- java-core/samples/install-without-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/samples/install-without-bom/pom.xml b/java-core/samples/install-without-bom/pom.xml index d147d2a80137..fd96fe149d94 100644 --- a/java-core/samples/install-without-bom/pom.xml +++ b/java-core/samples/install-without-bom/pom.xml @@ -31,7 +31,7 @@ google-cloud-core
    - + junit From 7a7712ab77206b493cff1bb44e68e3500d665fbb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 Mar 2020 18:10:19 +0000 Subject: [PATCH 0821/3036] chore: release 1.93.4-SNAPSHOT (#186) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e81909570729..e658560096a8 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.3 + 1.93.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.3 + 1.93.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.3 + 1.93.4-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.3 + 1.93.4-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b6bb373c382f..abdfd60932df 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 - 1.93.3 + 1.93.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.3 + 1.93.4-SNAPSHOT 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 fd7d2bfbd03e..ff9cbcc15d2e 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 - 1.93.3 + 1.93.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.3 + 1.93.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 445fd819081e..7f8cd2b4f203 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 - 1.93.3 + 1.93.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.3 + 1.93.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 22a6a778ed20..d0c82e48b3b3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.3 + 1.93.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6a76ae69ca26..27e4bacf8688 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.3:1.93.3 \ No newline at end of file +google-cloud-core:1.93.3:1.93.4-SNAPSHOT \ No newline at end of file From 44bf7b39a81d7dc176048cff5b86efa6eaa37e4d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 23 Mar 2020 16:14:22 -0700 Subject: [PATCH 0822/3036] chore: use java helper for templates (#190) --- java-core/synth.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/java-core/synth.py b/java-core/synth.py index b3e7b1e030d2..c5771e4a5e78 100644 --- a/java-core/synth.py +++ b/java-core/synth.py @@ -14,14 +14,8 @@ """This script is used to synthesize generated parts of this library.""" -import synthtool as s -import synthtool.gcp as gcp -import logging -logging.basicConfig(level=logging.DEBUG) -common_templates = gcp.CommonTemplates() -templates = common_templates.java_library() -s.copy(templates, excludes=[ - '.gitignore', +import synthtool.languages.java as java +java.common_templates(excludes=[ 'README.md', ]) From 8d4024693a03c15ee4686ba894bcc6122b980bce Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 23 Mar 2020 19:34:15 -0700 Subject: [PATCH 0823/3036] chore: enable context aware commits (#193) --- java-core/synth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java-core/synth.py b/java-core/synth.py index c5771e4a5e78..5030c3ae9e98 100644 --- a/java-core/synth.py +++ b/java-core/synth.py @@ -15,6 +15,9 @@ """This script is used to synthesize generated parts of this library.""" import synthtool.languages.java as java + +AUTOSYNTH_MULTIPLE_COMMITS = True + java.common_templates(excludes=[ 'README.md', ]) From 6ac060aa620a25432abb72572065ec5d51e8c898 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 Mar 2020 00:15:34 +0100 Subject: [PATCH 0824/3036] deps: update dependency com.google.api:api-common to v1.9.0 (#195) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d0c82e48b3b3..343d16120fc8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.7 1.7 1.54.0 - 1.8.1 + 1.9.0 1.17.0 0.13.0 0.20.0 From a666f5b15d441db4d63dffc94c3812ec67c10a36 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 Mar 2020 06:24:58 +0100 Subject: [PATCH 0825/3036] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#194) --- java-core/samples/install-without-bom/pom.xml | 2 +- java-core/samples/pom.xml | 2 +- java-core/samples/snapshot/pom.xml | 2 +- java-core/samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/samples/install-without-bom/pom.xml b/java-core/samples/install-without-bom/pom.xml index fd96fe149d94..0248de1d6809 100644 --- a/java-core/samples/install-without-bom/pom.xml +++ b/java-core/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/java-core/samples/pom.xml b/java-core/samples/pom.xml index 8876c4a01181..d38e6367e4a0 100644 --- a/java-core/samples/pom.xml +++ b/java-core/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/java-core/samples/snapshot/pom.xml b/java-core/samples/snapshot/pom.xml index cf40b8677968..644c202bb73c 100644 --- a/java-core/samples/snapshot/pom.xml +++ b/java-core/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 diff --git a/java-core/samples/snippets/pom.xml b/java-core/samples/snippets/pom.xml index 5368a8737191..562299298edf 100644 --- a/java-core/samples/snippets/pom.xml +++ b/java-core/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.12 + 1.0.13 From aac354c11b1a3a2c9298ba16e29b55b301954f86 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 26 Mar 2020 12:30:12 -0700 Subject: [PATCH 0826/3036] chore: update common templates (#196) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/f193fffb-af3a-401a-a8ed-2548fbd8844c/targets --- java-core/.kokoro/build.sh | 19 +++++++----- java-core/.kokoro/common.sh | 44 ++++++++++++++++++++++++++++ java-core/.kokoro/dependencies.sh | 15 +++++++--- java-core/.kokoro/linkage-monitor.sh | 22 +++++++++----- java-core/renovate.json | 6 ++-- java-core/synth.metadata | 10 +++---- 6 files changed, 91 insertions(+), 25 deletions(-) create mode 100644 java-core/.kokoro/common.sh diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 19726ced77ab..f506e46c10d3 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -20,17 +20,22 @@ scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) ## cd to the parent directory, i.e. the root of the git repo cd ${scriptDir}/.. +# include common functions +source ${scriptDir}/common.sh + # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then diff --git a/java-core/.kokoro/common.sh b/java-core/.kokoro/common.sh new file mode 100644 index 000000000000..a3bbc5f67963 --- /dev/null +++ b/java-core/.kokoro/common.sh @@ -0,0 +1,44 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# set -eo pipefail + +function retry_with_backoff { + attempts_left=$1 + sleep_seconds=$2 + shift 2 + command=$@ + + echo "${command}" + ${command} + exit_code=$? + + if [[ $exit_code == 0 ]] + then + return 0 + fi + + # failure + if [[ ${attempts_left} > 0 ]] + then + echo "failure (${exit_code}), sleeping ${sleep_seconds}..." + sleep ${sleep_seconds} + new_attempts=$((${attempts_left} - 1)) + new_sleep=$((${sleep_seconds} * 2)) + retry_with_backoff ${new_attempts} ${new_sleep} ${command} + fi + + return $exit_code +} diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index 3fc816b94cde..0aade871ce10 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -15,7 +15,13 @@ set -eo pipefail -cd github/java-core/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java java -version @@ -24,8 +30,9 @@ echo $JOB_TYPE export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-core/.kokoro/linkage-monitor.sh b/java-core/.kokoro/linkage-monitor.sh index 01f61f803c4a..759ab4e2c220 100755 --- a/java-core/.kokoro/linkage-monitor.sh +++ b/java-core/.kokoro/linkage-monitor.sh @@ -17,18 +17,26 @@ set -eo pipefail # Display commands being run. set -x -cd github/java-core/ +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true # Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR JAR=linkage-monitor-latest-all-deps.jar diff --git a/java-core/renovate.json b/java-core/renovate.json index fc6412701ada..c4e2931d4677 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -56,7 +56,9 @@ }, { "packagePatterns": [ - "^com.google.cloud:libraries-bom" + "^com.google.cloud:google-cloud-core", + "^com.google.cloud:libraries-bom", + "^com.google.cloud.samples:shared-configuration" ], "semanticCommitType": "chore", "semanticCommitScope": "deps" @@ -75,4 +77,4 @@ } ], "semanticCommits": true -} +} \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index f9b601964eaa..833650b1e48d 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,11 +1,11 @@ { - "updateTime": "2020-03-17T19:21:17.805286Z", + "updateTime": "2020-03-25T23:35:19.763220Z", "sources": [ { - "template": { - "name": "java_library", - "origin": "synthtool.gcp", - "version": "2020.2.4" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8" } } ] From acf28deadf20f212df695ebd57d6ad2c9d0f7868 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Mar 2020 19:58:08 +0200 Subject: [PATCH 0827/3036] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#199) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.13` -> `1.0.14` | --- ### Release Notes
    GoogleCloudPlatform/java-repo-tools ### [`v1.0.14`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.14) [Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.13...v1.0.14) - Update CheckStyle to 8.31 - Add SpotBugs
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/samples/install-without-bom/pom.xml | 2 +- java-core/samples/pom.xml | 2 +- java-core/samples/snapshot/pom.xml | 2 +- java-core/samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/samples/install-without-bom/pom.xml b/java-core/samples/install-without-bom/pom.xml index 0248de1d6809..981629e6a53f 100644 --- a/java-core/samples/install-without-bom/pom.xml +++ b/java-core/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/java-core/samples/pom.xml b/java-core/samples/pom.xml index d38e6367e4a0..1b731804175b 100644 --- a/java-core/samples/pom.xml +++ b/java-core/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/java-core/samples/snapshot/pom.xml b/java-core/samples/snapshot/pom.xml index 644c202bb73c..df92eb7bef41 100644 --- a/java-core/samples/snapshot/pom.xml +++ b/java-core/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 diff --git a/java-core/samples/snippets/pom.xml b/java-core/samples/snippets/pom.xml index 562299298edf..fff1c49cff4e 100644 --- a/java-core/samples/snippets/pom.xml +++ b/java-core/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.13 + 1.0.14 From 9f6eb949f579ad25c63b47b95551375005930ca1 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 30 Mar 2020 13:43:51 -0700 Subject: [PATCH 0828/3036] feat: initial generation --- .../.github/ISSUE_TEMPLATE/bug_report.md | 51 ++++ .../.github/ISSUE_TEMPLATE/feature_request.md | 21 ++ .../.github/ISSUE_TEMPLATE/support_request.md | 7 + .../.github/PULL_REQUEST_TEMPLATE.md | 1 + .../.github/release-please.yml | 2 + java-shared-dependencies/.kokoro/build.bat | 3 + java-shared-dependencies/.kokoro/build.sh | 108 ++++++++ .../.kokoro/coerce_logs.sh | 38 +++ java-shared-dependencies/.kokoro/common.cfg | 13 + .../.kokoro/continuous/common.cfg | 25 ++ .../.kokoro/continuous/dependencies.cfg | 12 + .../.kokoro/continuous/integration.cfg | 7 + .../.kokoro/continuous/java11.cfg | 7 + .../.kokoro/continuous/java7.cfg | 7 + .../.kokoro/continuous/java8-osx.cfg | 3 + .../.kokoro/continuous/java8-win.cfg | 3 + .../.kokoro/continuous/java8.cfg | 12 + .../.kokoro/continuous/lint.cfg | 13 + .../.kokoro/continuous/propose_release.cfg | 53 ++++ .../.kokoro/continuous/propose_release.sh | 29 +++ .../.kokoro/continuous/samples.cfg | 31 +++ .../.kokoro/dependencies.sh | 31 +++ .../.kokoro/linkage-monitor.sh | 38 +++ .../.kokoro/nightly/common.cfg | 25 ++ .../.kokoro/nightly/dependencies.cfg | 12 + .../.kokoro/nightly/integration.cfg | 21 ++ .../.kokoro/nightly/java11.cfg | 7 + .../.kokoro/nightly/java7.cfg | 7 + .../.kokoro/nightly/java8-osx.cfg | 3 + .../.kokoro/nightly/java8-win.cfg | 3 + .../.kokoro/nightly/java8.cfg | 12 + .../.kokoro/nightly/lint.cfg | 13 + .../.kokoro/nightly/samples.cfg | 36 +++ .../.kokoro/presubmit/clirr.cfg | 13 + .../.kokoro/presubmit/common.cfg | 34 +++ .../.kokoro/presubmit/dependencies.cfg | 12 + .../.kokoro/presubmit/integration.cfg | 31 +++ .../.kokoro/presubmit/java11.cfg | 7 + .../.kokoro/presubmit/java7.cfg | 7 + .../.kokoro/presubmit/java8-osx.cfg | 3 + .../.kokoro/presubmit/java8-win.cfg | 3 + .../.kokoro/presubmit/java8.cfg | 12 + .../.kokoro/presubmit/linkage-monitor.cfg | 12 + .../.kokoro/presubmit/lint.cfg | 13 + .../.kokoro/presubmit/samples.cfg | 31 +++ .../.kokoro/release/bump_snapshot.cfg | 53 ++++ .../.kokoro/release/bump_snapshot.sh | 30 +++ .../.kokoro/release/common.cfg | 49 ++++ .../.kokoro/release/common.sh | 50 ++++ .../.kokoro/release/drop.cfg | 6 + .../.kokoro/release/drop.sh | 32 +++ .../.kokoro/release/promote.cfg | 6 + .../.kokoro/release/promote.sh | 34 +++ .../.kokoro/release/publish_javadoc.cfg | 19 ++ .../.kokoro/release/publish_javadoc.sh | 55 ++++ .../.kokoro/release/snapshot.cfg | 6 + .../.kokoro/release/snapshot.sh | 33 +++ .../.kokoro/release/stage.cfg | 44 ++++ .../.kokoro/release/stage.sh | 42 +++ .../.kokoro/trampoline.sh | 24 ++ java-shared-dependencies/.repo-metadata.json | 8 + java-shared-dependencies/CODE_OF_CONDUCT.md | 93 +++++++ java-shared-dependencies/CONTRIBUTING.md | 130 ++++++++++ java-shared-dependencies/LICENSE | 202 +++++++++++++++ java-shared-dependencies/README.md | 51 ++++ java-shared-dependencies/codecov.yaml | 4 + java-shared-dependencies/java.header | 15 ++ java-shared-dependencies/license-checks.xml | 10 + java-shared-dependencies/pom.xml | 241 ++++++++++++++++++ java-shared-dependencies/renovate.json | 78 ++++++ java-shared-dependencies/synth.metadata | 12 + java-shared-dependencies/synth.py | 21 ++ java-shared-dependencies/versions.txt | 4 + 73 files changed, 2184 insertions(+) create mode 100644 java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md create mode 100644 java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md create mode 100644 java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 java-shared-dependencies/.github/release-please.yml create mode 100644 java-shared-dependencies/.kokoro/build.bat create mode 100755 java-shared-dependencies/.kokoro/build.sh create mode 100755 java-shared-dependencies/.kokoro/coerce_logs.sh create mode 100644 java-shared-dependencies/.kokoro/common.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/common.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/dependencies.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/integration.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/java11.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/java7.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/java8-osx.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/java8-win.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/java8.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/lint.cfg create mode 100644 java-shared-dependencies/.kokoro/continuous/propose_release.cfg create mode 100755 java-shared-dependencies/.kokoro/continuous/propose_release.sh create mode 100644 java-shared-dependencies/.kokoro/continuous/samples.cfg create mode 100755 java-shared-dependencies/.kokoro/dependencies.sh create mode 100755 java-shared-dependencies/.kokoro/linkage-monitor.sh create mode 100644 java-shared-dependencies/.kokoro/nightly/common.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/dependencies.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/integration.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/java11.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/java7.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/java8-osx.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/java8-win.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/java8.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/lint.cfg create mode 100644 java-shared-dependencies/.kokoro/nightly/samples.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/clirr.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/common.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/dependencies.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/integration.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/java11.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/java7.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/java8-win.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/java8.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/lint.cfg create mode 100644 java-shared-dependencies/.kokoro/presubmit/samples.cfg create mode 100644 java-shared-dependencies/.kokoro/release/bump_snapshot.cfg create mode 100755 java-shared-dependencies/.kokoro/release/bump_snapshot.sh create mode 100644 java-shared-dependencies/.kokoro/release/common.cfg create mode 100755 java-shared-dependencies/.kokoro/release/common.sh create mode 100644 java-shared-dependencies/.kokoro/release/drop.cfg create mode 100755 java-shared-dependencies/.kokoro/release/drop.sh create mode 100644 java-shared-dependencies/.kokoro/release/promote.cfg create mode 100755 java-shared-dependencies/.kokoro/release/promote.sh create mode 100644 java-shared-dependencies/.kokoro/release/publish_javadoc.cfg create mode 100755 java-shared-dependencies/.kokoro/release/publish_javadoc.sh create mode 100644 java-shared-dependencies/.kokoro/release/snapshot.cfg create mode 100755 java-shared-dependencies/.kokoro/release/snapshot.sh create mode 100644 java-shared-dependencies/.kokoro/release/stage.cfg create mode 100755 java-shared-dependencies/.kokoro/release/stage.sh create mode 100644 java-shared-dependencies/.kokoro/trampoline.sh create mode 100644 java-shared-dependencies/.repo-metadata.json create mode 100644 java-shared-dependencies/CODE_OF_CONDUCT.md create mode 100644 java-shared-dependencies/CONTRIBUTING.md create mode 100644 java-shared-dependencies/LICENSE create mode 100644 java-shared-dependencies/README.md create mode 100644 java-shared-dependencies/codecov.yaml create mode 100644 java-shared-dependencies/java.header create mode 100644 java-shared-dependencies/license-checks.xml create mode 100644 java-shared-dependencies/pom.xml create mode 100644 java-shared-dependencies/renovate.json create mode 100644 java-shared-dependencies/synth.metadata create mode 100644 java-shared-dependencies/synth.py create mode 100644 java-shared-dependencies/versions.txt diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000000..d8fe8a9fc014 --- /dev/null +++ b/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,51 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +Please run down the following list and make sure you've tried the usual "quick fixes": + + - Search the issues already opened: https://github.com/googleapis//issues + - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform + +If you are still having issues, please include as much information as possible: + +#### Environment details + +1. Specify the API at the beginning of the title. For example, "BigQuery: ..."). + General, Core, and Other are also allowed as types +2. OS type and version: +3. Java version: +4. google-cloud-shared-dependencies version(s): + +#### Steps to reproduce + + 1. ? + 2. ? + +#### Code example + +```java +// example +``` + +#### Stack trace +``` +Any relevant stacktrace here. +``` + +#### External references such as API reference guides + +- ? + +#### Any additional information below + + +Following these steps guarantees the quickest resolution possible. + +Thanks! diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000000..754e30c68a00 --- /dev/null +++ b/java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +--- +name: Feature request +about: Suggest an idea for this library + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +**Is your feature request related to a problem? Please describe.** +What the problem is. Example: I'm always frustrated when [...] + +**Describe the solution you'd like** +What you want to happen. + +**Describe alternatives you've considered** +Any alternative solutions or features you've considered. + +**Additional context** +Any other context or screenshots about the feature request. diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md new file mode 100644 index 000000000000..995869032125 --- /dev/null +++ b/java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md @@ -0,0 +1,7 @@ +--- +name: Support request +about: If you have a support contract with Google, please create an issue in the Google Cloud Support console. + +--- + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000000..0bd0ee0620f9 --- /dev/null +++ b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1 @@ +Fixes # (it's a good idea to open an issue first for context and/or discussion) \ No newline at end of file diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml new file mode 100644 index 000000000000..dce2c8450921 --- /dev/null +++ b/java-shared-dependencies/.github/release-please.yml @@ -0,0 +1,2 @@ +releaseType: java-yoshi +bumpMinorPreMajor: true \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/build.bat b/java-shared-dependencies/.kokoro/build.bat new file mode 100644 index 000000000000..3b660d28ac1f --- /dev/null +++ b/java-shared-dependencies/.kokoro/build.bat @@ -0,0 +1,3 @@ +:: See documentation in type-shell-output.bat + +"C:\Program Files\Git\bin\bash.exe" github//.kokoro/build.sh diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh new file mode 100755 index 000000000000..7980b59ec19b --- /dev/null +++ b/java-shared-dependencies/.kokoro/build.sh @@ -0,0 +1,108 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# Print out Java version +java -version +echo ${JOB_TYPE} + +mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C + +# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it +if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) +fi + +RETURN_CODE=0 +set +e + +case ${JOB_TYPE} in +test) + mvn test -B -Dclirr.skip=true -Denforcer.skip=true + RETURN_CODE=$? + ;; +lint) + mvn \ + -Penable-samples \ + com.coveo:fmt-maven-plugin:check + RETURN_CODE=$? + ;; +javadoc) + mvn javadoc:javadoc javadoc:test-javadoc + RETURN_CODE=$? + ;; +integration) + mvn -B ${INTEGRATION_TEST_ARGS} \ + -Penable-integration-tests \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + RETURN_CODE=$? + ;; +samples) + if [[ -f samples/pom.xml ]] + then + pushd samples + mvn -B \ + -Penable-samples \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + RETURN_CODE=$? + popd + else + echo "no sample pom.xml found - skipping sample tests" + fi + ;; +clirr) + mvn -B -Denforcer.skip=true clirr:check + RETURN_CODE=$? + ;; +*) + ;; +esac + +if [ "${REPORT_COVERAGE}" == "true" ] +then + bash ${KOKORO_GFILE_DIR}/codecov.sh +fi + +# fix output location of logs +bash .kokoro/coerce_logs.sh + +if [[ "${ENABLE_BUILD_COP}" == "true" ]] +then + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop + ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-shared-dependencies +fi + +echo "exiting with ${RETURN_CODE}" +exit ${RETURN_CODE} diff --git a/java-shared-dependencies/.kokoro/coerce_logs.sh b/java-shared-dependencies/.kokoro/coerce_logs.sh new file mode 100755 index 000000000000..5cf7ba49e6bb --- /dev/null +++ b/java-shared-dependencies/.kokoro/coerce_logs.sh @@ -0,0 +1,38 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This script finds and moves sponge logs so that they can be found by placer +# and are not flagged as flaky by sponge. + +set -eo pipefail + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +job=$(basename ${KOKORO_JOB_NAME}) + +echo "coercing sponge logs..." +for xml in `find . -name *-sponge_log.xml` +do + echo "processing ${xml}" + class=$(basename ${xml} | cut -d- -f2) + dir=$(dirname ${xml})/${job}/${class} + text=$(dirname ${xml})/${class}-sponge_log.txt + mkdir -p ${dir} + mv ${xml} ${dir}/sponge_log.xml + mv ${text} ${dir}/sponge_log.txt +done diff --git a/java-shared-dependencies/.kokoro/common.cfg b/java-shared-dependencies/.kokoro/common.cfg new file mode 100644 index 000000000000..0acedc99fb75 --- /dev/null +++ b/java-shared-dependencies/.kokoro/common.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# All builds use the trampoline script to run in docker. +build_file: "/.kokoro/trampoline.sh" + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/build.sh" +} diff --git a/java-shared-dependencies/.kokoro/continuous/common.cfg b/java-shared-dependencies/.kokoro/continuous/common.cfg new file mode 100644 index 000000000000..6dcad8f80bbc --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/common.cfg @@ -0,0 +1,25 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.txt" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} diff --git a/java-shared-dependencies/.kokoro/continuous/dependencies.cfg b/java-shared-dependencies/.kokoro/continuous/dependencies.cfg new file mode 100644 index 000000000000..423ec37678fd --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/dependencies.sh" +} diff --git a/java-shared-dependencies/.kokoro/continuous/integration.cfg b/java-shared-dependencies/.kokoro/continuous/integration.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/integration.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-shared-dependencies/.kokoro/continuous/java11.cfg b/java-shared-dependencies/.kokoro/continuous/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-shared-dependencies/.kokoro/continuous/java7.cfg b/java-shared-dependencies/.kokoro/continuous/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg b/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg new file mode 100644 index 000000000000..18d6a6439ebb --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/continuous/java8-win.cfg b/java-shared-dependencies/.kokoro/continuous/java8-win.cfg new file mode 100644 index 000000000000..dbd437eb5498 --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/continuous/java8.cfg b/java-shared-dependencies/.kokoro/continuous/java8.cfg new file mode 100644 index 000000000000..495cc7bacd63 --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/java8.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-shared-dependencies/.kokoro/continuous/lint.cfg b/java-shared-dependencies/.kokoro/continuous/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/continuous/propose_release.cfg b/java-shared-dependencies/.kokoro/continuous/propose_release.cfg new file mode 100644 index 000000000000..19e852ac5c77 --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/propose_release.cfg @@ -0,0 +1,53 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/continuous/propose_release.sh" +} + +# tokens used by release-please to keep an up-to-date release PR. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-key-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-token-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-url-release-please" + } + } +} diff --git a/java-shared-dependencies/.kokoro/continuous/propose_release.sh b/java-shared-dependencies/.kokoro/continuous/propose_release.sh new file mode 100755 index 000000000000..9926b1e74cb8 --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/propose_release.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# Copyright 2019 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. + +set -eo pipefail + +export NPM_CONFIG_PREFIX=/home/node/.npm-global + +if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then + # Groom the release PR as new commits are merged. + npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ + --repo-url=googleapis/java-shared-dependencies \ + --package-name="google-cloud-shared-dependencies" \ + --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ + --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ + --release-type=java-yoshi +fi diff --git a/java-shared-dependencies/.kokoro/continuous/samples.cfg b/java-shared-dependencies/.kokoro/continuous/samples.cfg new file mode 100644 index 000000000000..fa7b493d0b5c --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/samples.cfg @@ -0,0 +1,31 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh new file mode 100755 index 000000000000..6b0d3f477845 --- /dev/null +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +cd github// + +# Print out Java +java -version +echo $JOB_TYPE + +export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" + +# this should run maven enforcer +mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true + +mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-shared-dependencies/.kokoro/linkage-monitor.sh b/java-shared-dependencies/.kokoro/linkage-monitor.sh new file mode 100755 index 000000000000..d8838fd904c8 --- /dev/null +++ b/java-shared-dependencies/.kokoro/linkage-monitor.sh @@ -0,0 +1,38 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail +# Display commands being run. +set -x + +cd github// + +# Print out Java version +java -version +echo ${JOB_TYPE} + +mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true + +# Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR +JAR=linkage-monitor-latest-all-deps.jar +curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}" + +# Fails if there's new linkage errors compared with baseline +java -jar ${JAR} com.google.cloud:libraries-bom diff --git a/java-shared-dependencies/.kokoro/nightly/common.cfg b/java-shared-dependencies/.kokoro/nightly/common.cfg new file mode 100644 index 000000000000..6dcad8f80bbc --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/common.cfg @@ -0,0 +1,25 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.txt" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} diff --git a/java-shared-dependencies/.kokoro/nightly/dependencies.cfg b/java-shared-dependencies/.kokoro/nightly/dependencies.cfg new file mode 100644 index 000000000000..423ec37678fd --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/dependencies.sh" +} diff --git a/java-shared-dependencies/.kokoro/nightly/integration.cfg b/java-shared-dependencies/.kokoro/nightly/integration.cfg new file mode 100644 index 000000000000..8bf59c02edd6 --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/integration.cfg @@ -0,0 +1,21 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-shared-dependencies/.kokoro/nightly/java11.cfg b/java-shared-dependencies/.kokoro/nightly/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-shared-dependencies/.kokoro/nightly/java7.cfg b/java-shared-dependencies/.kokoro/nightly/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg b/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg new file mode 100644 index 000000000000..18d6a6439ebb --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/nightly/java8-win.cfg b/java-shared-dependencies/.kokoro/nightly/java8-win.cfg new file mode 100644 index 000000000000..dbd437eb5498 --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/nightly/java8.cfg b/java-shared-dependencies/.kokoro/nightly/java8.cfg new file mode 100644 index 000000000000..495cc7bacd63 --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/java8.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-shared-dependencies/.kokoro/nightly/lint.cfg b/java-shared-dependencies/.kokoro/nightly/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/nightly/samples.cfg b/java-shared-dependencies/.kokoro/nightly/samples.cfg new file mode 100644 index 000000000000..b4b051cd016f --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/samples.cfg @@ -0,0 +1,36 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-shared-dependencies/.kokoro/presubmit/clirr.cfg b/java-shared-dependencies/.kokoro/presubmit/clirr.cfg new file mode 100644 index 000000000000..ec572442e2e7 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/clirr.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "clirr" +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/presubmit/common.cfg b/java-shared-dependencies/.kokoro/presubmit/common.cfg new file mode 100644 index 000000000000..671a267a3479 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/common.cfg @@ -0,0 +1,34 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.txt" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "dpebot_codecov_token" + } + } +} diff --git a/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg b/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg new file mode 100644 index 000000000000..423ec37678fd --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/dependencies.sh" +} diff --git a/java-shared-dependencies/.kokoro/presubmit/integration.cfg b/java-shared-dependencies/.kokoro/presubmit/integration.cfg new file mode 100644 index 000000000000..141f90c13c56 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/integration.cfg @@ -0,0 +1,31 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-shared-dependencies/.kokoro/presubmit/java11.cfg b/java-shared-dependencies/.kokoro/presubmit/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-shared-dependencies/.kokoro/presubmit/java7.cfg b/java-shared-dependencies/.kokoro/presubmit/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg b/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg new file mode 100644 index 000000000000..18d6a6439ebb --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg b/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg new file mode 100644 index 000000000000..dbd437eb5498 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/presubmit/java8.cfg b/java-shared-dependencies/.kokoro/presubmit/java8.cfg new file mode 100644 index 000000000000..495cc7bacd63 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/java8.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg b/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg new file mode 100644 index 000000000000..16afbc79a579 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/linkage-monitor.sh" +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/presubmit/lint.cfg b/java-shared-dependencies/.kokoro/presubmit/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/presubmit/samples.cfg b/java-shared-dependencies/.kokoro/presubmit/samples.cfg new file mode 100644 index 000000000000..fa7b493d0b5c --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/samples.cfg @@ -0,0 +1,31 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg b/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg new file mode 100644 index 000000000000..cb14dbc7e39c --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg @@ -0,0 +1,53 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/release/bump_snapshot.sh" +} + +# tokens used by release-please to keep an up-to-date release PR. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-key-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-token-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-url-release-please" + } + } +} diff --git a/java-shared-dependencies/.kokoro/release/bump_snapshot.sh b/java-shared-dependencies/.kokoro/release/bump_snapshot.sh new file mode 100755 index 000000000000..5e41029cc46f --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/bump_snapshot.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +# Copyright 2019 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. + +set -eo pipefail + +export NPM_CONFIG_PREFIX=/home/node/.npm-global + +if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then + # Groom the snapshot release PR immediately after publishing a release + npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ + --repo-url=googleapis/java-shared-dependencies \ + --package-name="google-cloud-shared-dependencies" \ + --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ + --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ + --snapshot \ + --release-type=java-auth-yoshi +fi diff --git a/java-shared-dependencies/.kokoro/release/common.cfg b/java-shared-dependencies/.kokoro/release/common.cfg new file mode 100644 index 000000000000..21446d83eedc --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/common.cfg @@ -0,0 +1,49 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-keyring" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-passphrase" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-pubkeyring" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "sonatype-credentials" + } + } +} diff --git a/java-shared-dependencies/.kokoro/release/common.sh b/java-shared-dependencies/.kokoro/release/common.sh new file mode 100755 index 000000000000..6e3f65999b3d --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/common.sh @@ -0,0 +1,50 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# Get secrets from keystore and set and environment variables +setup_environment_secrets() { + export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) + export GPG_TTY=$(tty) + export GPG_HOMEDIR=/gpg + mkdir $GPG_HOMEDIR + mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg + mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-keyring $GPG_HOMEDIR/secring.gpg + export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f1 -d'|') + export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f2 -d'|') +} + +create_settings_xml_file() { + echo " + + + ossrh + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-staging + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-snapshots + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + +" > $1 +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/drop.cfg b/java-shared-dependencies/.kokoro/release/drop.cfg new file mode 100644 index 000000000000..bdba59672536 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/drop.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/release/drop.sh" +} diff --git a/java-shared-dependencies/.kokoro/release/drop.sh b/java-shared-dependencies/.kokoro/release/drop.sh new file mode 100755 index 000000000000..5c4551efa2c0 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/drop.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# STAGING_REPOSITORY_ID must be set +if [ -z "${STAGING_REPOSITORY_ID}" ]; then + echo "Missing STAGING_REPOSITORY_ID environment variable" + exit 1 +fi + +source $(dirname "$0")/common.sh +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn nexus-staging:drop -B \ + --settings=settings.xml \ + -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-shared-dependencies/.kokoro/release/promote.cfg b/java-shared-dependencies/.kokoro/release/promote.cfg new file mode 100644 index 000000000000..02ae7be5a6ea --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/promote.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/release/promote.sh" +} diff --git a/java-shared-dependencies/.kokoro/release/promote.sh b/java-shared-dependencies/.kokoro/release/promote.sh new file mode 100755 index 000000000000..1fa95fa537a3 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/promote.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# STAGING_REPOSITORY_ID must be set +if [ -z "${STAGING_REPOSITORY_ID}" ]; then + echo "Missing STAGING_REPOSITORY_ID environment variable" + exit 1 +fi + +source $(dirname "$0")/common.sh + +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn nexus-staging:release -B \ + -DperformRelease=true \ + --settings=settings.xml \ + -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg new file mode 100644 index 000000000000..f82e0759cc23 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -0,0 +1,19 @@ +# Format: //devtools/kokoro/config/proto/build.proto +env_vars: { + key: "STAGING_BUCKET" + value: "docs-staging" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/release/publish_javadoc.sh" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "docuploader_service_account" + } + } +} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh new file mode 100755 index 000000000000..ae7892fa667d --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Copyright 2019 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +if [[ -z "${CREDENTIALS}" ]]; then + CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account +fi + +if [[ -z "${STAGING_BUCKET}" ]]; then + echo "Need to set STAGING_BUCKET environment variable" + exit 1 +fi + +# work from the git root directory +pushd $(dirname "$0")/../../ + +# install docuploader package +python3 -m pip install gcp-docuploader + +# compile all packages +mvn clean install -B -DskipTests=true + +NAME=google-cloud-shared-dependencies +VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) + +# build the docs +mvn site -B + +pushd target/site/apidocs + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET} + +popd diff --git a/java-shared-dependencies/.kokoro/release/snapshot.cfg b/java-shared-dependencies/.kokoro/release/snapshot.cfg new file mode 100644 index 000000000000..27bbd38105b5 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/snapshot.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/release/snapshot.sh" +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/snapshot.sh b/java-shared-dependencies/.kokoro/release/snapshot.sh new file mode 100755 index 000000000000..098168a7373c --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/snapshot.sh @@ -0,0 +1,33 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +source $(dirname "$0")/common.sh +MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml +pushd $(dirname "$0")/../../ + +# ensure we're trying to push a snapshot (no-result returns non-zero exit code) +grep SNAPSHOT versions.txt + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} diff --git a/java-shared-dependencies/.kokoro/release/stage.cfg b/java-shared-dependencies/.kokoro/release/stage.cfg new file mode 100644 index 000000000000..b4ddf69f3ee8 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/stage.cfg @@ -0,0 +1,44 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github//.kokoro/release/stage.sh" +} + +# Need to save the properties file +action { + define_artifacts { + regex: "github//target/nexus-staging/staging/*.properties" + strip_prefix: "github/" + } +} + +# Fetch the token needed for reporting release status to GitHub +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + } + } +} + +# Fetch magictoken to use with Magic Github Proxy +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "releasetool-magictoken" + } + } +} + +# Fetch api key to use with Magic Github Proxy +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "magic-github-proxy-api-key" + } + } +} diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh new file mode 100755 index 000000000000..3c482cbc55f1 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# Start the releasetool reporter +python3 -m pip install gcp-releasetool +python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script + +source $(dirname "$0")/common.sh +MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DskipTests=true \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} + +if [[ -n "${AUTORELEASE_PR}" ]] +then + mvn nexus-staging:release -B \ + -DperformRelease=true \ + --settings=settings.xml +fi \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/trampoline.sh b/java-shared-dependencies/.kokoro/trampoline.sh new file mode 100644 index 000000000000..ba17ce01466b --- /dev/null +++ b/java-shared-dependencies/.kokoro/trampoline.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +set -eo pipefail +# Always run the cleanup script, regardless of the success of bouncing into +# the container. +function cleanup() { + chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + echo "cleanup"; +} +trap cleanup EXIT +python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-shared-dependencies/.repo-metadata.json b/java-shared-dependencies/.repo-metadata.json new file mode 100644 index 000000000000..97fa421f4e79 --- /dev/null +++ b/java-shared-dependencies/.repo-metadata.json @@ -0,0 +1,8 @@ +{ + "name": "google-cloud-shared-dependencies", + "name_pretty": "Google Cloud Shared Dependencies BOM", + "release_level": "beta", + "language": "java", + "repo": "googleapis/java-shared-dependencies", + "distribution_name": "com.google.cloud:google-cloud-shared-dependencies" +} diff --git a/java-shared-dependencies/CODE_OF_CONDUCT.md b/java-shared-dependencies/CODE_OF_CONDUCT.md new file mode 100644 index 000000000000..6b2238bb75e0 --- /dev/null +++ b/java-shared-dependencies/CODE_OF_CONDUCT.md @@ -0,0 +1,93 @@ +# Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of +experience, education, socio-economic status, nationality, personal appearance, +race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, or to ban temporarily or permanently any +contributor for other behaviors that they deem inappropriate, threatening, +offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +This Code of Conduct also applies outside the project spaces when the Project +Steward has a reasonable belief that an individual's behavior may have a +negative impact on the project or its community. + +## Conflict Resolution + +We do not believe that all conflict is bad; healthy debate and disagreement +often yield positive results. However, it is never okay to be disrespectful or +to engage in behavior that violates the project’s code of conduct. + +If you see someone violating the code of conduct, you are encouraged to address +the behavior directly with those involved. Many issues can be resolved quickly +and easily, and this gives people more control over the outcome of their +dispute. If you are unable to resolve the matter for any reason, or if the +behavior is threatening or harassing, report it. We are dedicated to providing +an environment where participants feel welcome and safe. + +Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the +Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +receive and address reported violations of the code of conduct. They will then +work with a committee consisting of representatives from the Open Source +Programs Office and the Google Open Source Strategy team. If for any reason you +are uncomfortable reaching out the Project Steward, please email +opensource@google.com. + +We will investigate every complaint, but you may not receive a direct response. +We will use our discretion in determining when and how to follow up on reported +incidents, which may range from not taking action to permanent expulsion from +the project and project-sponsored spaces. We will notify the accused of the +report and provide them an opportunity to discuss it before any action is taken. +The identity of the reporter will be omitted from the details of the report +supplied to the accused. In potentially harmful situations, such as ongoing +harassment or threats to anyone's safety, we may take action without notice. + +## Attribution + +This Code of Conduct is adapted from the Contributor Covenant, version 1.4, +available at +https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-shared-dependencies/CONTRIBUTING.md b/java-shared-dependencies/CONTRIBUTING.md new file mode 100644 index 000000000000..085021ddec26 --- /dev/null +++ b/java-shared-dependencies/CONTRIBUTING.md @@ -0,0 +1,130 @@ +# How to Contribute + +We'd love to accept your patches and contributions to this project. There are +just a few small guidelines you need to follow. + +## Contributor License Agreement + +Contributions to this project must be accompanied by a Contributor License +Agreement. You (or your employer) retain the copyright to your contribution; +this simply gives us permission to use and redistribute your contributions as +part of the project. Head over to to see +your current agreements on file or to sign a new one. + +You generally only need to submit a CLA once, so if you've already submitted one +(even if it was for a different project), you probably don't need to do it +again. + +## Code reviews + +All submissions, including submissions by project members, require review. We +use GitHub pull requests for this purpose. Consult +[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more +information on using pull requests. + +## Community Guidelines + +This project follows +[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). + +## Building the project + +To build, package, and run all unit tests run the command + +``` +mvn clean verify +``` + +### Running Integration tests + +To include integration tests when building the project, you need access to +a GCP Project with a valid service account. + +For instructions on how to generate a service account and corresponding +credentials JSON see: [Creating a Service Account][1]. + +Then run the following to build, package, run all unit tests and run all +integration tests. + +```bash +export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json +mvn -Penable-integration-tests clean verify +``` + +## Code Samples + +Code Samples must be bundled in separate Maven modules, and guarded by a +Maven profile with the name `enable-samples`. + +The samples must be separate from the primary project for a few reasons: +1. Primary projects have a minimum Java version of Java 7 whereas samples have + a minimum Java version of Java 8. Due to this we need the ability to + selectively exclude samples from a build run. +2. Many code samples depend on external GCP services and need + credentials to access the service. +3. Code samples are not released as Maven artifacts and must be excluded from + release builds. + +### Building + +```bash +mvn -Penable-samples clean verify +``` + +Some samples require access to GCP services and require a service account: + +```bash +export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json +mvn -Penable-samples clean verify +``` + +### Profile Config + +1. To add samples in a profile to your Maven project, add the following to your +`pom.xml` + + ```xml + + [...] + + + enable-samples + + sample + + + + [...] + + ``` + +2. [Activate](#profile-activation) the profile. +3. Define your samples in a normal Maven project in the `samples/` directory + +### Profile Activation + +To include code samples when building and testing the project, enable the +`enable-samples` Maven profile. + +#### Command line + +To activate the Maven profile on the command line add `-Penable-samples` to your +Maven command. + +#### Maven `settings.xml` + +To activate the Maven profile in your `~/.m2/settings.xml` add an entry of +`enable-samples` following the instructions in [Active Profiles][2]. + +This method has the benefit of applying to all projects you build (and is +respected by IntelliJ IDEA) and is recommended if you are going to be +contributing samples to several projects. + +#### IntelliJ IDEA + +To activate the Maven Profile inside IntelliJ IDEA, follow the instructions in +[Activate Maven profiles][3] to activate `enable-samples`. + +[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account +[2]: https://maven.apache.org/settings.html#Active_Profiles +[3]: https://www.jetbrains.com/help/idea/work-with-maven-profiles.html#activate_maven_profiles diff --git a/java-shared-dependencies/LICENSE b/java-shared-dependencies/LICENSE new file mode 100644 index 000000000000..d64569567334 --- /dev/null +++ b/java-shared-dependencies/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md new file mode 100644 index 000000000000..ff8bcf1a50f5 --- /dev/null +++ b/java-shared-dependencies/README.md @@ -0,0 +1,51 @@ +# Google Cloud Shared Dependencies + +Shared Maven dependencies for Google Cloud Java client libraries. + +[![Maven][maven-version-image]][maven-version-link] + +## Quickstart + +[//]: # ({x-version-update-start:google-cloud-shared-dependencies:released}) +If you are using Maven, use this artifact as your project's parent. +```xml + + + + com.google.cloud + google-cloud-shared-dependencies + 0.0.0 + pom + import + + + +``` +[//]: # ({x-version-update-end}) + +## Versioning + +This library follows [Semantic Versioning](http://semver.org/). + +It is currently in major version zero (``0.y.z``), which means that anything may change at any time +and the public API should not be considered stable. + +## Contributing + +Contributions to this library are always welcome and highly encouraged. + +See [CONTRIBUTING.md][contributing] documentation for more information on how to get started. + +Please note that this project is released with a Contributor Code of Conduct. By participating in +this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more +information. + +## License + +Apache 2.0 - See [LICENSE][license] for more information. + +[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-shared-dependencies.svg +[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-shared-dependencies&core=gav +[contributing]: https://github.com/googleapis/java-shared-dependencies/blob/master/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-shared-dependencies/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[license]: https://github.com/googleapis/java-shared-dependencies/blob/master/LICENSE \ No newline at end of file diff --git a/java-shared-dependencies/codecov.yaml b/java-shared-dependencies/codecov.yaml new file mode 100644 index 000000000000..5724ea9478d7 --- /dev/null +++ b/java-shared-dependencies/codecov.yaml @@ -0,0 +1,4 @@ +--- +codecov: + ci: + - source.cloud.google.com diff --git a/java-shared-dependencies/java.header b/java-shared-dependencies/java.header new file mode 100644 index 000000000000..3a9b503aa24f --- /dev/null +++ b/java-shared-dependencies/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)( All [rR]ights [rR]eserved\.)?$ +^ \*$ +^ \* 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\.$ +^ \*/$ diff --git a/java-shared-dependencies/license-checks.xml b/java-shared-dependencies/license-checks.xml new file mode 100644 index 000000000000..6597fced808e --- /dev/null +++ b/java-shared-dependencies/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml new file mode 100644 index 000000000000..02e7d7c5809c --- /dev/null +++ b/java-shared-dependencies/pom.xml @@ -0,0 +1,241 @@ + + + 4.0.0 + com.google.cloud + google-cloud-shared-dependencies + pom + 0.0.1-SNAPSHOT + Google Cloud Shared Dependencies + https://github.com/googleapis/java-shared-dependencies + + Shared build configuration for Google Cloud Java libraries. + + + + com.google.cloud + google-cloud-shared-config + 0.4.0 + + + + Google LLC + + + + scm:git:git@github.com:googleapis/java-shared-dependencies.git + scm:git:git@github.com:googleapis/java-shared-dependencies.git + https://github.com/googleapis/java-shared-dependencies + HEAD + + + + https://github.com/googleapis/java-shared-dependencies/issues + GitHub Issues + + + + + sonatype-nexus-snapshots + https://oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + UTF-8 + ${project.artifactId} + + 1.27.2 + 1.54.0 + 28.2-android + 3.11.4 + 1.8.1 + 1.17.0 + 1.93.0 + 0.20.0 + 1.34.2 + 1.30.9 + 1.4.1 + 1.3.2 + 1.18 + 0.13.0 + 0.24.0 + 3.0.2 + 1.7 + 4.13 + + + + + + io.grpc + grpc-bom + ${grpc.version} + pom + import + + + com.google.api + gax-bom + ${gax.version} + pom + import + + + com.google.guava + guava-bom + ${guava.version} + pom + import + + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + com.google.api + api-common + ${google.api-common.version} + + + com.google.api.grpc + proto-google-common-protos + ${google.common-protos.version} + + + com.google.api.grpc + grpc-google-common-protos + ${google.common-protos.version} + + + com.google.cloud + google-cloud-core + ${google.core.version} + + + com.google.auth + google-auth-library-bom + ${google.auth.version} + pom + import + + + com.google.http-client + google-http-client-bom + ${google.http-client.version} + pom + import + + + com.google.api-client + google-api-client-bom + ${google.api-client.version} + pom + import + + + org.threeten + threetenbp + ${threeten.version} + + + javax.annotation + javax.annotation-api + ${javax.annotations.version} + + + org.codehaus.mojo + animal-sniffer-annotations + ${animal-sniffer.version} + + + com.google.auto.value + auto-value + ${autovalue.version} + + + com.google.auto.value + auto-value-annotations + ${autovalue.version} + + + com.google.api.grpc + proto-google-iam-v1 + ${iam.version} + + + com.google.code.findbugs + jsr305 + ${findbugs.version} + + + + + io.opencensus + opencensus-api + ${opencensus.version} + + + io.opencensus + opencensus-contrib-grpc-util + ${opencensus.version} + + + io.opencensus + opencensus-contrib-http-util + ${opencensus.version} + + + io.opencensus + opencensus-contrib-zpages + ${opencensus.version} + + + io.opencensus + opencensus-exporter-stats-stackdriver + ${opencensus.version} + + + io.opencensus + opencensus-exporter-trace-stackdriver + ${opencensus.version} + + + io.opencensus + opencensus-impl + ${opencensus.version} + + + io.opencensus + opencensus-impl-core + ${opencensus.version} + + + + junit + junit + ${junit.version} + test + + + com.google.api + gax-grpc + ${gax.version} + testlib + test + + + + diff --git a/java-shared-dependencies/renovate.json b/java-shared-dependencies/renovate.json new file mode 100644 index 000000000000..fc6412701ada --- /dev/null +++ b/java-shared-dependencies/renovate.json @@ -0,0 +1,78 @@ +{ + "extends": [ + ":separateMajorReleases", + ":combinePatchMinorReleases", + ":ignoreUnstable", + ":prImmediately", + ":updateNotScheduled", + ":automergeDisabled", + ":ignoreModulesAndTests", + ":maintainLockFilesDisabled", + ":autodetectPinVersions" + ], + "packageRules": [ + { + "packagePatterns": [ + "^com.google.guava:" + ], + "versionScheme": "docker" + }, + { + "packagePatterns": [ + "^com.google.api:gax", + "^com.google.auth:", + "^com.google.cloud:google-cloud-core", + "^io.grpc:", + "^com.google.guava:" + ], + "groupName": "core dependencies" + }, + { + "packagePatterns": [ + "^com.google.http-client:", + "^com.google.oauth-client:", + "^com.google.api-client:" + ], + "groupName": "core transport dependencies" + }, + { + "packagePatterns": [ + "*" + ], + "semanticCommitType": "deps", + "semanticCommitScope": null + }, + { + "packagePatterns": [ + "^org.apache.maven", + "^org.jacoco:", + "^org.codehaus.mojo:", + "^org.sonatype.plugins:", + "^com.coveo:", + "^com.google.cloud:google-cloud-shared-config" + ], + "semanticCommitType": "build", + "semanticCommitScope": "deps" + }, + { + "packagePatterns": [ + "^com.google.cloud:libraries-bom" + ], + "semanticCommitType": "chore", + "semanticCommitScope": "deps" + }, + { + "packagePatterns": [ + "^com.google.cloud:google-cloud-" + ], + "ignoreUnstable": false + }, + { + "packagePatterns": [ + "^com.fasterxml.jackson.core" + ], + "groupName": "jackson dependencies" + } + ], + "semanticCommits": true +} diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata new file mode 100644 index 000000000000..2fed95f114f3 --- /dev/null +++ b/java-shared-dependencies/synth.metadata @@ -0,0 +1,12 @@ +{ + "updateTime": "2020-02-28T22:11:00.677306Z", + "sources": [ + { + "template": { + "name": "java_library", + "origin": "synthtool.gcp", + "version": "2020.2.4" + } + } + ] +} \ No newline at end of file diff --git a/java-shared-dependencies/synth.py b/java-shared-dependencies/synth.py new file mode 100644 index 000000000000..dc69f2156a1b --- /dev/null +++ b/java-shared-dependencies/synth.py @@ -0,0 +1,21 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated parts of this library.""" + +from synthtool.languages import java + +java.common_templates(excludes=[ + "README.md" +]) diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt new file mode 100644 index 000000000000..ecedb628a77a --- /dev/null +++ b/java-shared-dependencies/versions.txt @@ -0,0 +1,4 @@ +# Format: +# module:released-version:current-version + +google-cloud-shared-dependencies:0.0.0:0.0.1-SNAPSHOT \ No newline at end of file From 1bf7fb09fe29283e61f638be15c8c35335cbc360 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 30 Mar 2020 14:55:51 -0700 Subject: [PATCH 0829/3036] regenerate common templates --- .../.github/ISSUE_TEMPLATE/bug_report.md | 2 +- .../.github/PULL_REQUEST_TEMPLATE.md | 8 +++- .../.github/trusted-contribution.yml | 2 + java-shared-dependencies/.gitignore | 15 +++++++ java-shared-dependencies/.kokoro/build.bat | 2 +- java-shared-dependencies/.kokoro/build.sh | 19 +++++--- java-shared-dependencies/.kokoro/common.cfg | 4 +- java-shared-dependencies/.kokoro/common.sh | 44 +++++++++++++++++++ .../.kokoro/continuous/common.cfg | 4 +- .../.kokoro/continuous/dependencies.cfg | 2 +- .../.kokoro/continuous/java8-osx.cfg | 2 +- .../.kokoro/continuous/java8-win.cfg | 2 +- .../.kokoro/continuous/propose_release.cfg | 4 +- .../.kokoro/dependencies.sh | 15 +++++-- .../.kokoro/linkage-monitor.sh | 22 +++++++--- .../.kokoro/nightly/common.cfg | 4 +- .../.kokoro/nightly/dependencies.cfg | 2 +- .../.kokoro/nightly/java8-osx.cfg | 2 +- .../.kokoro/nightly/java8-win.cfg | 2 +- .../.kokoro/presubmit/common.cfg | 4 +- .../.kokoro/presubmit/dependencies.cfg | 2 +- .../.kokoro/presubmit/java8-osx.cfg | 2 +- .../.kokoro/presubmit/java8-win.cfg | 2 +- .../.kokoro/presubmit/linkage-monitor.cfg | 2 +- .../.kokoro/release/bump_snapshot.cfg | 4 +- .../.kokoro/release/common.cfg | 2 +- .../.kokoro/release/drop.cfg | 2 +- .../.kokoro/release/promote.cfg | 2 +- .../.kokoro/release/publish_javadoc.cfg | 2 +- .../.kokoro/release/snapshot.cfg | 2 +- .../.kokoro/release/stage.cfg | 6 +-- java-shared-dependencies/.repo-metadata.json | 1 + java-shared-dependencies/renovate.json | 6 ++- java-shared-dependencies/synth.metadata | 10 ++--- java-shared-dependencies/synth.py | 3 +- 35 files changed, 150 insertions(+), 59 deletions(-) create mode 100644 java-shared-dependencies/.github/trusted-contribution.yml create mode 100644 java-shared-dependencies/.gitignore create mode 100644 java-shared-dependencies/.kokoro/common.sh diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md index d8fe8a9fc014..8f5f1b6fa157 100644 --- a/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md +++ b/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md @@ -10,7 +10,7 @@ Thanks for stopping by to let us know something could be better! Please run down the following list and make sure you've tried the usual "quick fixes": - - Search the issues already opened: https://github.com/googleapis//issues + - Search the issues already opened: https://github.com/googleapis/java-shared-dependencies/issues - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform If you are still having issues, please include as much information as possible: diff --git a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md index 0bd0ee0620f9..c85810012645 100644 --- a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md +++ b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md @@ -1 +1,7 @@ -Fixes # (it's a good idea to open an issue first for context and/or discussion) \ No newline at end of file +Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: +- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-shared-dependencies/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea +- [ ] Ensure the tests and linter pass +- [ ] Code coverage does not decrease (if any source code was changed) +- [ ] Appropriate docs were updated (if necessary) + +Fixes # ☕️ diff --git a/java-shared-dependencies/.github/trusted-contribution.yml b/java-shared-dependencies/.github/trusted-contribution.yml new file mode 100644 index 000000000000..f247d5c78934 --- /dev/null +++ b/java-shared-dependencies/.github/trusted-contribution.yml @@ -0,0 +1,2 @@ +trustedContributors: +- renovate-bot \ No newline at end of file diff --git a/java-shared-dependencies/.gitignore b/java-shared-dependencies/.gitignore new file mode 100644 index 000000000000..fadd6afc2dfd --- /dev/null +++ b/java-shared-dependencies/.gitignore @@ -0,0 +1,15 @@ +# Maven +target/ + +# Eclipse +.classpath +.project +.settings + +# Intellij +*.iml +.idea/ + +# python utilities +*.pyc +__pycache__ diff --git a/java-shared-dependencies/.kokoro/build.bat b/java-shared-dependencies/.kokoro/build.bat index 3b660d28ac1f..026581e2d298 100644 --- a/java-shared-dependencies/.kokoro/build.bat +++ b/java-shared-dependencies/.kokoro/build.bat @@ -1,3 +1,3 @@ :: See documentation in type-shell-output.bat -"C:\Program Files\Git\bin\bash.exe" github//.kokoro/build.sh +"C:\Program Files\Git\bin\bash.exe" github/java-shared-dependencies/.kokoro/build.sh diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 7980b59ec19b..8d259a08a4f5 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -20,17 +20,22 @@ scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) ## cd to the parent directory, i.e. the root of the git repo cd ${scriptDir}/.. +# include common functions +source ${scriptDir}/common.sh + # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then diff --git a/java-shared-dependencies/.kokoro/common.cfg b/java-shared-dependencies/.kokoro/common.cfg index 0acedc99fb75..ab47c2175060 100644 --- a/java-shared-dependencies/.kokoro/common.cfg +++ b/java-shared-dependencies/.kokoro/common.cfg @@ -4,10 +4,10 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # All builds use the trampoline script to run in docker. -build_file: "/.kokoro/trampoline.sh" +build_file: "java-shared-dependencies/.kokoro/trampoline.sh" # Tell the trampoline which build file to use. env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/build.sh" + value: "github/java-shared-dependencies/.kokoro/build.sh" } diff --git a/java-shared-dependencies/.kokoro/common.sh b/java-shared-dependencies/.kokoro/common.sh new file mode 100644 index 000000000000..a3bbc5f67963 --- /dev/null +++ b/java-shared-dependencies/.kokoro/common.sh @@ -0,0 +1,44 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# set -eo pipefail + +function retry_with_backoff { + attempts_left=$1 + sleep_seconds=$2 + shift 2 + command=$@ + + echo "${command}" + ${command} + exit_code=$? + + if [[ $exit_code == 0 ]] + then + return 0 + fi + + # failure + if [[ ${attempts_left} > 0 ]] + then + echo "failure (${exit_code}), sleeping ${sleep_seconds}..." + sleep ${sleep_seconds} + new_attempts=$((${attempts_left} - 1)) + new_sleep=$((${sleep_seconds} * 2)) + retry_with_backoff ${new_attempts} ${new_sleep} ${command} + fi + + return $exit_code +} diff --git a/java-shared-dependencies/.kokoro/continuous/common.cfg b/java-shared-dependencies/.kokoro/continuous/common.cfg index 6dcad8f80bbc..5a58be9e5731 100644 --- a/java-shared-dependencies/.kokoro/continuous/common.cfg +++ b/java-shared-dependencies/.kokoro/continuous/common.cfg @@ -12,11 +12,11 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "/.kokoro/trampoline.sh" +build_file: "java-shared-dependencies/.kokoro/trampoline.sh" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/build.sh" + value: "github/java-shared-dependencies/.kokoro/build.sh" } env_vars: { diff --git a/java-shared-dependencies/.kokoro/continuous/dependencies.cfg b/java-shared-dependencies/.kokoro/continuous/dependencies.cfg index 423ec37678fd..7b0df4459711 100644 --- a/java-shared-dependencies/.kokoro/continuous/dependencies.cfg +++ b/java-shared-dependencies/.kokoro/continuous/dependencies.cfg @@ -8,5 +8,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/dependencies.sh" + value: "github/java-shared-dependencies/.kokoro/dependencies.sh" } diff --git a/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg b/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg index 18d6a6439ebb..127b52fb2bc0 100644 --- a/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg +++ b/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "/.kokoro/build.sh" +build_file: "java-shared-dependencies/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/continuous/java8-win.cfg b/java-shared-dependencies/.kokoro/continuous/java8-win.cfg index dbd437eb5498..e105f6d4f3b5 100644 --- a/java-shared-dependencies/.kokoro/continuous/java8-win.cfg +++ b/java-shared-dependencies/.kokoro/continuous/java8-win.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "/.kokoro/build.bat" +build_file: "java-shared-dependencies/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/continuous/propose_release.cfg b/java-shared-dependencies/.kokoro/continuous/propose_release.cfg index 19e852ac5c77..3432c793652d 100644 --- a/java-shared-dependencies/.kokoro/continuous/propose_release.cfg +++ b/java-shared-dependencies/.kokoro/continuous/propose_release.cfg @@ -11,7 +11,7 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "/.kokoro/trampoline.sh" +build_file: "java-shared-dependencies/.kokoro/trampoline.sh" # Configure the docker image for kokoro-trampoline. env_vars: { @@ -21,7 +21,7 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/continuous/propose_release.sh" + value: "github/java-shared-dependencies/.kokoro/continuous/propose_release.sh" } # tokens used by release-please to keep an up-to-date release PR. diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index 6b0d3f477845..0aade871ce10 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -15,7 +15,13 @@ set -eo pipefail -cd github// +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java java -version @@ -24,8 +30,9 @@ echo $JOB_TYPE export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-shared-dependencies/.kokoro/linkage-monitor.sh b/java-shared-dependencies/.kokoro/linkage-monitor.sh index d8838fd904c8..759ab4e2c220 100755 --- a/java-shared-dependencies/.kokoro/linkage-monitor.sh +++ b/java-shared-dependencies/.kokoro/linkage-monitor.sh @@ -17,18 +17,26 @@ set -eo pipefail # Display commands being run. set -x -cd github// +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh # Print out Java version java -version echo ${JOB_TYPE} -mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true # Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR JAR=linkage-monitor-latest-all-deps.jar diff --git a/java-shared-dependencies/.kokoro/nightly/common.cfg b/java-shared-dependencies/.kokoro/nightly/common.cfg index 6dcad8f80bbc..5a58be9e5731 100644 --- a/java-shared-dependencies/.kokoro/nightly/common.cfg +++ b/java-shared-dependencies/.kokoro/nightly/common.cfg @@ -12,11 +12,11 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "/.kokoro/trampoline.sh" +build_file: "java-shared-dependencies/.kokoro/trampoline.sh" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/build.sh" + value: "github/java-shared-dependencies/.kokoro/build.sh" } env_vars: { diff --git a/java-shared-dependencies/.kokoro/nightly/dependencies.cfg b/java-shared-dependencies/.kokoro/nightly/dependencies.cfg index 423ec37678fd..7b0df4459711 100644 --- a/java-shared-dependencies/.kokoro/nightly/dependencies.cfg +++ b/java-shared-dependencies/.kokoro/nightly/dependencies.cfg @@ -8,5 +8,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/dependencies.sh" + value: "github/java-shared-dependencies/.kokoro/dependencies.sh" } diff --git a/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg b/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg index 18d6a6439ebb..127b52fb2bc0 100644 --- a/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg +++ b/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "/.kokoro/build.sh" +build_file: "java-shared-dependencies/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/nightly/java8-win.cfg b/java-shared-dependencies/.kokoro/nightly/java8-win.cfg index dbd437eb5498..e105f6d4f3b5 100644 --- a/java-shared-dependencies/.kokoro/nightly/java8-win.cfg +++ b/java-shared-dependencies/.kokoro/nightly/java8-win.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "/.kokoro/build.bat" +build_file: "java-shared-dependencies/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/presubmit/common.cfg b/java-shared-dependencies/.kokoro/presubmit/common.cfg index 671a267a3479..dd8e9876c8b5 100644 --- a/java-shared-dependencies/.kokoro/presubmit/common.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/common.cfg @@ -12,11 +12,11 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "/.kokoro/trampoline.sh" +build_file: "java-shared-dependencies/.kokoro/trampoline.sh" env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/build.sh" + value: "github/java-shared-dependencies/.kokoro/build.sh" } env_vars: { diff --git a/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg b/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg index 423ec37678fd..7b0df4459711 100644 --- a/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg @@ -8,5 +8,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/dependencies.sh" + value: "github/java-shared-dependencies/.kokoro/dependencies.sh" } diff --git a/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg b/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg index 18d6a6439ebb..127b52fb2bc0 100644 --- a/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "/.kokoro/build.sh" +build_file: "java-shared-dependencies/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg b/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg index dbd437eb5498..e105f6d4f3b5 100644 --- a/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg @@ -1,3 +1,3 @@ # Format: //devtools/kokoro/config/proto/build.proto -build_file: "/.kokoro/build.bat" +build_file: "java-shared-dependencies/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg b/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg index 16afbc79a579..a3c32e281344 100644 --- a/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg @@ -8,5 +8,5 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/linkage-monitor.sh" + value: "github/java-shared-dependencies/.kokoro/linkage-monitor.sh" } \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg b/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg index cb14dbc7e39c..0258fb413337 100644 --- a/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg +++ b/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg @@ -11,7 +11,7 @@ action { gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "/.kokoro/trampoline.sh" +build_file: "java-shared-dependencies/.kokoro/trampoline.sh" # Configure the docker image for kokoro-trampoline. env_vars: { @@ -21,7 +21,7 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/release/bump_snapshot.sh" + value: "github/java-shared-dependencies/.kokoro/release/bump_snapshot.sh" } # tokens used by release-please to keep an up-to-date release PR. diff --git a/java-shared-dependencies/.kokoro/release/common.cfg b/java-shared-dependencies/.kokoro/release/common.cfg index 21446d83eedc..d1f878a7ef4f 100644 --- a/java-shared-dependencies/.kokoro/release/common.cfg +++ b/java-shared-dependencies/.kokoro/release/common.cfg @@ -4,7 +4,7 @@ gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" # Use the trampoline script to run in docker. -build_file: "/.kokoro/trampoline.sh" +build_file: "java-shared-dependencies/.kokoro/trampoline.sh" # Configure the docker image for kokoro-trampoline. env_vars: { diff --git a/java-shared-dependencies/.kokoro/release/drop.cfg b/java-shared-dependencies/.kokoro/release/drop.cfg index bdba59672536..1595b2de2c94 100644 --- a/java-shared-dependencies/.kokoro/release/drop.cfg +++ b/java-shared-dependencies/.kokoro/release/drop.cfg @@ -2,5 +2,5 @@ env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/release/drop.sh" + value: "github/java-shared-dependencies/.kokoro/release/drop.sh" } diff --git a/java-shared-dependencies/.kokoro/release/promote.cfg b/java-shared-dependencies/.kokoro/release/promote.cfg index 02ae7be5a6ea..787a78d99b1e 100644 --- a/java-shared-dependencies/.kokoro/release/promote.cfg +++ b/java-shared-dependencies/.kokoro/release/promote.cfg @@ -2,5 +2,5 @@ env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/release/promote.sh" + value: "github/java-shared-dependencies/.kokoro/release/promote.sh" } diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg index f82e0759cc23..cbc7d5b736ec 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -6,7 +6,7 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/release/publish_javadoc.sh" + value: "github/java-shared-dependencies/.kokoro/release/publish_javadoc.sh" } before_action { diff --git a/java-shared-dependencies/.kokoro/release/snapshot.cfg b/java-shared-dependencies/.kokoro/release/snapshot.cfg index 27bbd38105b5..14d45d8e9697 100644 --- a/java-shared-dependencies/.kokoro/release/snapshot.cfg +++ b/java-shared-dependencies/.kokoro/release/snapshot.cfg @@ -2,5 +2,5 @@ env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/release/snapshot.sh" + value: "github/java-shared-dependencies/.kokoro/release/snapshot.sh" } \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/stage.cfg b/java-shared-dependencies/.kokoro/release/stage.cfg index b4ddf69f3ee8..413d49ab96ee 100644 --- a/java-shared-dependencies/.kokoro/release/stage.cfg +++ b/java-shared-dependencies/.kokoro/release/stage.cfg @@ -2,14 +2,14 @@ env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github//.kokoro/release/stage.sh" + value: "github/java-shared-dependencies/.kokoro/release/stage.sh" } # Need to save the properties file action { define_artifacts { - regex: "github//target/nexus-staging/staging/*.properties" - strip_prefix: "github/" + regex: "github/java-shared-dependencies/target/nexus-staging/staging/*.properties" + strip_prefix: "github/java-shared-dependencies" } } diff --git a/java-shared-dependencies/.repo-metadata.json b/java-shared-dependencies/.repo-metadata.json index 97fa421f4e79..58d60867617e 100644 --- a/java-shared-dependencies/.repo-metadata.json +++ b/java-shared-dependencies/.repo-metadata.json @@ -4,5 +4,6 @@ "release_level": "beta", "language": "java", "repo": "googleapis/java-shared-dependencies", + "repo_short": "java-shared-dependencies", "distribution_name": "com.google.cloud:google-cloud-shared-dependencies" } diff --git a/java-shared-dependencies/renovate.json b/java-shared-dependencies/renovate.json index fc6412701ada..0c8d6cf5f7fb 100644 --- a/java-shared-dependencies/renovate.json +++ b/java-shared-dependencies/renovate.json @@ -56,7 +56,9 @@ }, { "packagePatterns": [ - "^com.google.cloud:libraries-bom" + "^com.google.cloud:google-cloud-shared-dependencies", + "^com.google.cloud:libraries-bom", + "^com.google.cloud.samples:shared-configuration" ], "semanticCommitType": "chore", "semanticCommitScope": "deps" @@ -75,4 +77,4 @@ } ], "semanticCommits": true -} +} \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 2fed95f114f3..0abd8df00f25 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -1,11 +1,11 @@ { - "updateTime": "2020-02-28T22:11:00.677306Z", + "updateTime": "2020-03-30T21:54:45.652823Z", "sources": [ { - "template": { - "name": "java_library", - "origin": "synthtool.gcp", - "version": "2020.2.4" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "a003d8655d3ebec2bbbd5fc3898e91e152265c67" } } ] diff --git a/java-shared-dependencies/synth.py b/java-shared-dependencies/synth.py index dc69f2156a1b..0ea815a07d09 100644 --- a/java-shared-dependencies/synth.py +++ b/java-shared-dependencies/synth.py @@ -17,5 +17,6 @@ from synthtool.languages import java java.common_templates(excludes=[ - "README.md" + "README.md", + "samples/*" ]) From a0b3721afd62ff79cf7685ab7b608d145c5ab5da Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Mar 2020 00:02:08 +0200 Subject: [PATCH 0830/3036] deps: update dependency com.google.api:api-common to v1.9.0 (#3) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | minor | `1.8.1` -> `1.9.0` | --- ### Release Notes
    googleapis/api-common-java ### [`v1.9.0`](https://togithub.com/googleapis/api-common-java/releases/v1.9.0) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.8.1...v1.9.0) 03-25-2020 14:09 PST #### New Features - Add `@BetaApi` `ApiFutres.catchingAsync()` ([#​117](https://togithub.com/googleapis/api-common-java/pull/117)) ##### Dependencies - Update guava to v28.2-android ([#​110](https://togithub.com/googleapis/api-common-java/pull/110)) - Update error_prone_annotations to v2.2.3 ([#​111](https://togithub.com/googleapis/api-common-java/pull/111))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 02e7d7c5809c..4e74cbf7d3fe 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.54.0 28.2-android 3.11.4 - 1.8.1 + 1.9.0 1.17.0 1.93.0 0.20.0 From 826447349fc7fef642c6a2bfcc0d10bc79acc89c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Mar 2020 00:03:21 +0200 Subject: [PATCH 0831/3036] deps: update dependency org.threeten:threetenbp to v1.4.2 (#4) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4e74cbf7d3fe..a69ad9d6bcce 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,7 +65,7 @@ 0.20.0 1.34.2 1.30.9 - 1.4.1 + 1.4.2 1.3.2 1.18 0.13.0 From 01e1a3f7f3025e4f5f607d81fc03f72ed72b3eed Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 30 Mar 2020 15:10:27 -0700 Subject: [PATCH 0832/3036] chore: update core dependencies --- java-shared-dependencies/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a69ad9d6bcce..e3c675013bd3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,12 +56,12 @@ ${project.artifactId} 1.27.2 - 1.54.0 + 1.55.0 28.2-android 3.11.4 1.9.0 1.17.0 - 1.93.0 + 1.93.3 0.20.0 1.34.2 1.30.9 From 61ba6239954537e35560ad6b7eedeca291cde059 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2020 22:18:07 +0000 Subject: [PATCH 0833/3036] chore: release 0.1.0 (#1) :robot: I have created a release \*beep\* \*boop\* --- ## 0.1.0 (2020-03-30) ### Features * initial generation ([9f6eb94](https://www.github.com/googleapis/java-shared-dependencies/commit/9f6eb949f579ad25c63b47b95551375005930ca1)) ### Dependencies * update dependency com.google.api:api-common to v1.9.0 ([#3](https://www.github.com/googleapis/java-shared-dependencies/issues/3)) ([a0b3721](https://www.github.com/googleapis/java-shared-dependencies/commit/a0b3721afd62ff79cf7685ab7b608d145c5ab5da)) * update dependency org.threeten:threetenbp to v1.4.2 ([#4](https://www.github.com/googleapis/java-shared-dependencies/issues/4)) ([8264473](https://www.github.com/googleapis/java-shared-dependencies/commit/826447349fc7fef642c6a2bfcc0d10bc79acc89c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 14 ++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 java-shared-dependencies/CHANGELOG.md diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md new file mode 100644 index 000000000000..367d0a9af641 --- /dev/null +++ b/java-shared-dependencies/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +## 0.1.0 (2020-03-30) + + +### Features + +* initial generation ([d4cec70](https://www.github.com/googleapis/java-shared-dependencies/commit/d4cec70fef2f22df1215e96793fe9f79b644d3b1)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.9.0 ([#3](https://www.github.com/googleapis/java-shared-dependencies/issues/3)) ([4f6896a](https://www.github.com/googleapis/java-shared-dependencies/commit/4f6896ac883557ad2e61d0fc66567948ae6622d1)) +* update dependency org.threeten:threetenbp to v1.4.2 ([#4](https://www.github.com/googleapis/java-shared-dependencies/issues/4)) ([9446245](https://www.github.com/googleapis/java-shared-dependencies/commit/944624527027f4386d9e3ab82c64655998a17d7a)) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index ff8bcf1a50f5..7a271c54e3c9 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.0.0 + 0.1.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e3c675013bd3..39b2059604ec 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 - 0.0.1-SNAPSHOT + 0.1.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index ecedb628a77a..c3ba23e3f402 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.0.0:0.0.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.1.0:0.1.0 \ No newline at end of file From d5cc868e14c89930170145c521ac06d538038be8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2020 17:30:23 +0000 Subject: [PATCH 0834/3036] chore: release 0.1.1-SNAPSHOT (#6) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 39b2059604ec..f00fb3ee4540 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 - 0.1.0 + 0.1.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index c3ba23e3f402..0a90ffb36d34 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.1.0:0.1.0 \ No newline at end of file +google-cloud-shared-dependencies:0.1.0:0.1.1-SNAPSHOT \ No newline at end of file From 21a7663745f105e3bffaf5bfb270295bb4ad9c91 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 3 Apr 2020 08:26:05 -0700 Subject: [PATCH 0835/3036] chore: remove samples pom.xml files (#200) We don't plan to write or need samples for this repository. --- java-core/samples/install-without-bom/pom.xml | 84 ------------------- java-core/samples/pom.xml | 56 ------------- java-core/samples/snapshot/pom.xml | 83 ------------------ java-core/samples/snippets/pom.xml | 60 ------------- java-core/synth.py | 1 + 5 files changed, 1 insertion(+), 283 deletions(-) delete mode 100644 java-core/samples/install-without-bom/pom.xml delete mode 100644 java-core/samples/pom.xml delete mode 100644 java-core/samples/snapshot/pom.xml delete mode 100644 java-core/samples/snippets/pom.xml diff --git a/java-core/samples/install-without-bom/pom.xml b/java-core/samples/install-without-bom/pom.xml deleted file mode 100644 index 981629e6a53f..000000000000 --- a/java-core/samples/install-without-bom/pom.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - 4.0.0 - com.google.cloud - google-cloud-core-install-without-bom - jar - Google Google Cloud Core Install Without Bom - https://github.com/googleapis/java-core - - - - com.google.cloud.samples - shared-configuration - 1.0.14 - - - - 1.8 - 1.8 - UTF-8 - - - - - - - com.google.cloud - google-cloud-core - - - - - - junit - junit - 4.13 - test - - - com.google.truth - truth - 1.0.1 - test - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.1.0 - - - add-snippets-source - - add-source - - - - ../snippets/src/main/java - - - - - add-snippets-tests - - add-test-source - - - - ../snippets/src/test/java - - - - - - - - diff --git a/java-core/samples/pom.xml b/java-core/samples/pom.xml deleted file mode 100644 index 1b731804175b..000000000000 --- a/java-core/samples/pom.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - 4.0.0 - com.google.cloud - google-cloud-google-cloud-core-samples - 0.0.1-SNAPSHOT - pom - Google Google Cloud Core Samples Parent - https://github.com/googleapis/java-core - - Java idiomatic client for Google Cloud Platform services. - - - - - com.google.cloud.samples - shared-configuration - 1.0.14 - - - - 1.8 - 1.8 - UTF-8 - - - - install-without-bom - snapshot - snippets - - - - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 - - true - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.8 - - true - - - - - diff --git a/java-core/samples/snapshot/pom.xml b/java-core/samples/snapshot/pom.xml deleted file mode 100644 index df92eb7bef41..000000000000 --- a/java-core/samples/snapshot/pom.xml +++ /dev/null @@ -1,83 +0,0 @@ - - - 4.0.0 - com.google.cloud - google-cloud-core-snapshot - jar - Google Google Cloud Core Snapshot Samples - https://github.com/googleapis/java-core - - - - com.google.cloud.samples - shared-configuration - 1.0.14 - - - - 1.8 - 1.8 - UTF-8 - - - - - - com.google.cloud - google-cloud-core - - - - - junit - junit - 4.13 - test - - - com.google.truth - truth - 1.0.1 - test - - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.1.0 - - - add-snippets-source - - add-source - - - - ../snippets/src/main/java - - - - - add-snippets-tests - - add-test-source - - - - ../snippets/src/test/java - - - - - - - - \ No newline at end of file diff --git a/java-core/samples/snippets/pom.xml b/java-core/samples/snippets/pom.xml deleted file mode 100644 index fff1c49cff4e..000000000000 --- a/java-core/samples/snippets/pom.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - 4.0.0 - com.google.cloud - google-cloud-core-snippets - jar - Google Google Cloud Core Snippets - https://github.com/googleapis/java-core - - - - com.google.cloud.samples - shared-configuration - 1.0.14 - - - - 1.8 - 1.8 - UTF-8 - - - - - - - - com.google.cloud - libraries-bom - - pom - import - - - - - - - com.google.cloud - google-cloud-core - - - - - junit - junit - 4.13 - test - - - com.google.truth - truth - 1.0.1 - test - - - diff --git a/java-core/synth.py b/java-core/synth.py index 5030c3ae9e98..646372929e27 100644 --- a/java-core/synth.py +++ b/java-core/synth.py @@ -20,5 +20,6 @@ java.common_templates(excludes=[ 'README.md', + 'samples/*', ]) From 6868fbb52b7a09bc29b0296b6c64d0f07cb451ce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 18:24:47 +0200 Subject: [PATCH 0836/3036] deps: update dependency org.threeten:threetenbp to v1.4.3 (#192) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 343d16120fc8..ee8e5bf28135 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 1.0.1 3.6 3.0.2 - 1.4.1 + 1.4.3 2.6 2.3.4 2.8.6 From 4a8bd5e218ec7eaf1f94df6abb3aef93b6913e1f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 18:37:24 +0200 Subject: [PATCH 0837/3036] deps: update dependency org.threeten:threetenbp to v1.4.3 (#7) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | patch | `1.4.2` -> `1.4.3` | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.4.3`](https://togithub.com/ThreeTen/threetenbp/releases/v1.4.3) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.4.2...v1.4.3) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f00fb3ee4540..db70a039cbe0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,7 +65,7 @@ 0.20.0 1.34.2 1.30.9 - 1.4.2 + 1.4.3 1.3.2 1.18 0.13.0 From a27a7dab5c041fbdff711b3a1a5f3fed1152cc73 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 23:01:57 +0200 Subject: [PATCH 0838/3036] deps: update core dependencies (#198) --- java-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ee8e5bf28135..3e7a474a3810 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,14 +153,14 @@ google-cloud-core-parent 1.7 1.7 - 1.54.0 + 1.55.0 1.9.0 1.17.0 0.13.0 0.20.0 1.30.9 1.34.2 - 1.27.2 + 1.28.1 3.11.4 0.24.0 1.3.2 From 4974f6ffafed875f0888f2d44a13f05e25fd5767 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Apr 2020 23:14:17 +0200 Subject: [PATCH 0839/3036] deps: update dependency com.google.api:gax-bom to v1.56.0 (#201) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3e7a474a3810..23f8ba76a06a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.7 1.7 - 1.55.0 + 1.56.0 1.9.0 1.17.0 0.13.0 From d9feaf561067b0a76243eabbca0e30bffc35c5c0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2020 21:50:12 +0000 Subject: [PATCH 0840/3036] chore: release 1.93.4 (#197) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.4](https://www.github.com/googleapis/java-core/compare/v1.93.3...v1.93.4) (2020-04-06) ### Dependencies * update core dependencies ([#198](https://www.github.com/googleapis/java-core/issues/198)) ([a27a7da](https://www.github.com/googleapis/java-core/commit/a27a7dab5c041fbdff711b3a1a5f3fed1152cc73)) * update dependency com.google.api:api-common to v1.9.0 ([#195](https://www.github.com/googleapis/java-core/issues/195)) ([6ac060a](https://www.github.com/googleapis/java-core/commit/6ac060aa620a25432abb72572065ec5d51e8c898)) * update dependency com.google.api:gax-bom to v1.56.0 ([#201](https://www.github.com/googleapis/java-core/issues/201)) ([4974f6f](https://www.github.com/googleapis/java-core/commit/4974f6ffafed875f0888f2d44a13f05e25fd5767)) * update dependency org.threeten:threetenbp to v1.4.3 ([#192](https://www.github.com/googleapis/java-core/issues/192)) ([6868fbb](https://www.github.com/googleapis/java-core/commit/6868fbb52b7a09bc29b0296b6c64d0f07cb451ce)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 10 ++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 5218a786feb4..38aa044c32fe 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### [1.93.4](https://www.github.com/googleapis/java-core/compare/v1.93.3...v1.93.4) (2020-04-06) + + +### Dependencies + +* update core dependencies ([#198](https://www.github.com/googleapis/java-core/issues/198)) ([129b3f8](https://www.github.com/googleapis/java-core/commit/129b3f8b03e6809bcae9545a6c2484aa8acc2447)) +* update dependency com.google.api:api-common to v1.9.0 ([#195](https://www.github.com/googleapis/java-core/issues/195)) ([ac19258](https://www.github.com/googleapis/java-core/commit/ac192586f086b91f479e85e4677ac2d10f10968a)) +* update dependency com.google.api:gax-bom to v1.56.0 ([#201](https://www.github.com/googleapis/java-core/issues/201)) ([875c4ed](https://www.github.com/googleapis/java-core/commit/875c4ed001193dfe2c301ad7f163395a568bcb10)) +* update dependency org.threeten:threetenbp to v1.4.3 ([#192](https://www.github.com/googleapis/java-core/issues/192)) ([ce6ec17](https://www.github.com/googleapis/java-core/commit/ce6ec179e4024264c0aee09f85f6f60218d46138)) + ### [1.93.3](https://www.github.com/googleapis/java-core/compare/v1.93.2...v1.93.3) (2020-03-16) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e658560096a8..ca23bfd8f28d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.4-SNAPSHOT + 1.93.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.4-SNAPSHOT + 1.93.4 com.google.cloud google-cloud-core-grpc - 1.93.4-SNAPSHOT + 1.93.4 com.google.cloud google-cloud-core-http - 1.93.4-SNAPSHOT + 1.93.4 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index abdfd60932df..0fe7b36e716b 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 - 1.93.4-SNAPSHOT + 1.93.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.4-SNAPSHOT + 1.93.4 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 ff9cbcc15d2e..3a2272be1d65 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 - 1.93.4-SNAPSHOT + 1.93.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.4-SNAPSHOT + 1.93.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7f8cd2b4f203..0d0aaa533a8c 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 - 1.93.4-SNAPSHOT + 1.93.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.4-SNAPSHOT + 1.93.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 23f8ba76a06a..b6eec20a4c1a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.4-SNAPSHOT + 1.93.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 27e4bacf8688..b86cb48d8e28 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.3:1.93.4-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.4:1.93.4 \ No newline at end of file From 9cbe566252a61a954d2f5d1854c3c1274e4a75e5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Apr 2020 00:57:21 +0200 Subject: [PATCH 0841/3036] deps: update core dependencies (#2) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | minor | `1.55.0` -> `1.56.0` | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | minor | `1.55.0` -> `1.56.0` | | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.27.2` -> `1.28.1` | --- ### Release Notes
    googleapis/gax-java ### [`v1.56.0`](https://togithub.com/googleapis/gax-java/releases/v1.56.0) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.55.0...v1.56.0) 04-06-2020 10:29 PDT ##### New Features - Add ability to partially update retry settings ([#​993](https://togithub.com/googleapis/gax-java/pull/993)) ##### Dependencies - Update grpc to 1.28.1 ([#​1013](https://togithub.com/googleapis/gax-java/pull/1013)) - Update com.google.api:api-common to 1.9.0 ([#​992](https://togithub.com/googleapis/gax-java/pull/992)) - Add javax.annotations dependency in bazel build to gax-grpc ([#​1000](https://togithub.com/googleapis/gax-java/pull/1000)) ##### Internal / Testing Changes - test: make it easier to debug failures in SettingsTest ([#​994](https://togithub.com/googleapis/gax-java/pull/994)) - build: update dependency gradle.plugin.com.dorongold.plugins:task-tree to v1.5 ([#​995](https://togithub.com/googleapis/gax-java/pull/995)) - test: update dependency com.google.api.grpc:grpc-google-cloud-pubsub-v1 to v1.86.0 ([#​1008](https://togithub.com/googleapis/gax-java/pull/1008))
    grpc/grpc-java ### [`v1.28.1`](https://togithub.com/grpc/grpc-java/releases/v1.28.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.28.0...v1.28.1) #### Bug Fixes - xds: implement more clear specifications for locality filtering (allow localities with 0 endpoint, ignore localities with 0 weight, check for locality priority continuity). ([#​6875](https://togithub.com/grpc/grpc-java/issues/6875)) ### [`v1.28.0`](https://togithub.com/grpc/grpc-java/releases/v1.28.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.27.2...v1.28.0) #### gRPC Java 1.28.0 Release Notes #### API Changes - core: service config parsing now validates the final config object via `LoadBalancerProvider#parseLoadBalancingPolicyConfig`. LoadBalancer developers should use parsed config(`loadBalancingPolicyConfig`) in `ResolvedAddresses` instead of deprecated attribute `io.grpc.LoadBalancer.ATTR_LOAD_BALANCING_CONFIG`. - core: remove stickiness from round robin ([#​6698](https://togithub.com/grpc/grpc-java/issues/6698)) #### Behavioral Changes - core, grpclb: change policy selection strategy for Grpclb policy (take one: eliminate special logic for deciding grpclb policy in core) ([#​6637](https://togithub.com/grpc/grpc-java/issues/6637)) - gRPCLB policy selection is being stabilized according to [this gRFC](https://togithub.com/grpc/proposal/blob/master/A26-grpclb-selection.md). gRPCLB policy will not be automatically selected even if there are SRV addresses resolved. You need to explicitly specify the selection by service config (in TXT records, or via `ManagedChannelBuilder#defaultServiceConfig` or `ManagedChannelBuilder#defaultLoadBalancingPolicy`). #### New Features - This release adds an experimental client side implementation of [xDSv2](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api) APIs. This allows a gRPC client written in Java to receive configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching and cluster route action is supported. More features will be added in future. #### Bug Fixes - netty: fix a deadlock on start gRPC server ([#​6601](https://togithub.com/grpc/grpc-java/issues/6601)) - netty: negotiated application level protocol is now checked against the correct ALPN list in the SslContext settings - okhttp: fix incorrect connection-level flow control handling at beginning of connection. - alts: Fix using the wrong way of checking if Conscrypt is available ([#​6672](https://togithub.com/grpc/grpc-java/issues/6672)) - grpclb: grpclb can handle empty address from LoadBalancer instead of throwing exception - alts: do not exclude opencensus-api from google-oauth2's transitive dependencies ([#​6607](https://togithub.com/grpc/grpc-java/issues/6607)) - grpc-alts was broken since 1.27.0 release for missing opencensus-api used in google-oauth2. This was due to opencensus-api dependency was eliminated from grpc-core. Now it should be included. #### Documentation - stub,examples: Clarify CallStreamObserver's Javadoc ([#​6561](https://togithub.com/grpc/grpc-java/issues/6561)) #### Dependencies - Bump Netty to 4.1.45.Final and tcnative to 2.0.28.Final - Bump okhttp to 2.7.4 - Bump google-auth-library-credentials and google-auth-library-oauth2-http to 0.20.0 #### Acknowledgements [@​chrisschek](https://togithub.com/chrisschek) [@​cushon](https://togithub.com/cushon) Liam Miller-Cushon [@​elharo](https://togithub.com/elharo) Elliotte Rusty Harold [@​gfelbing](https://togithub.com/gfelbing) Georg Welzel [@​hatahet](https://togithub.com/hatahet) Ziad Hatahet [@​leventov](https://togithub.com/leventov) Roman Leventov [@​sourabhsparkala](https://togithub.com/sourabhsparkala) Sourabh Sarvotham Parkala [@​ZhenLian](https://togithub.com/ZhenLian) Zhen Lian
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/config-help/issues) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index db70a039cbe0..bb07293df94a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,8 +55,8 @@ UTF-8 ${project.artifactId} - 1.27.2 - 1.55.0 + 1.28.1 + 1.56.0 28.2-android 3.11.4 1.9.0 From f3f3181f358a7ff652691ea20e8f530f2b589fd3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Apr 2020 01:32:18 +0200 Subject: [PATCH 0842/3036] deps: update dependency com.google.cloud:google-cloud-core to v1.93.4 (#9) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | patch | `1.93.3` -> `1.93.4` | --- ### Release Notes
    googleapis/java-core ### [`v1.93.4`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1934-httpswwwgithubcomgoogleapisjava-corecomparev1933v1934-2020-04-06) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.93.3...v1.93.4)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index bb07293df94a..9c16c8dea4ee 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.11.4 1.9.0 1.17.0 - 1.93.3 + 1.93.4 0.20.0 1.34.2 1.30.9 From 173c1cb85e5a83549079d61c2a74588429ff29a5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 8 Apr 2020 06:48:45 +0200 Subject: [PATCH 0843/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.5.0 (#202) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.4.0` -> `0.5.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.5.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​050-httpswwwgithubcomgoogleapisjava-shared-configcomparev040v050-2020-04-07) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.4.0...v0.5.0) ##### Features - add ban duplicate classes rule ([#​126](https://www.github.com/googleapis/java-shared-config/issues/126)) ([e38a7cc](https://www.github.com/googleapis/java-shared-config/commit/e38a7cc949396f8f5696e62cd060e0c076047b8d)) - add devsite javadoc profile ([#​121](https://www.github.com/googleapis/java-shared-config/issues/121)) ([7f452fb](https://www.github.com/googleapis/java-shared-config/commit/7f452fb6c5704f6ce0f731085479a28fb99ebcb9)) - add maven flatten plugin ([#​127](https://www.github.com/googleapis/java-shared-config/issues/127)) ([fb00799](https://www.github.com/googleapis/java-shared-config/commit/fb00799c416d324d68da5b660a26f7ef595c26d9)) ##### Bug Fixes - declare com.coveo:fmt-maven-plugin version/configuration ([#​90](https://www.github.com/googleapis/java-shared-config/issues/90)) ([5cf71a6](https://www.github.com/googleapis/java-shared-config/commit/5cf71a6ed699907082756e70c2fdee6ad3632f38)) ##### Dependencies - update dependency com.google.cloud.samples:shared-configuration to v1.0.13 ([#​118](https://www.github.com/googleapis/java-shared-config/issues/118)) ([58ae69e](https://www.github.com/googleapis/java-shared-config/commit/58ae69eb5ba037963cdaed0c2b0e30663bc873eb)) - update dependency com.puppycrawl.tools:checkstyle to v8.29 ([f62292d](https://www.github.com/googleapis/java-shared-config/commit/f62292dab75699a75f8a7d499fe2ccfb7ee93783)) - update dependency org.apache.maven.plugins:maven-antrun-plugin to v1.8 ([#​124](https://www.github.com/googleapis/java-shared-config/issues/124)) ([a681536](https://www.github.com/googleapis/java-shared-config/commit/a68153643400c3f3b5c5959cda4dc3b552336427)) - update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.1.2 ([#​107](https://www.github.com/googleapis/java-shared-config/issues/107)) ([c9b096b](https://www.github.com/googleapis/java-shared-config/commit/c9b096b81b1f4f8dc2d1302f259f0321722e1ca5)) - update dependency org.apache.maven.plugins:maven-site-plugin to v3.9.0 ([#​103](https://www.github.com/googleapis/java-shared-config/issues/103)) ([abe7140](https://www.github.com/googleapis/java-shared-config/commit/abe714060e858c70a83888fb34438c45d97b1168)) - update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.1.0 ([#​101](https://www.github.com/googleapis/java-shared-config/issues/101)) ([ac69572](https://www.github.com/googleapis/java-shared-config/commit/ac69572be76e4462fdf65fa6e7f0935c3d51d827))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index ca23bfd8f28d..bdc4d9cb524e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.4.0 + 0.5.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index b6eec20a4c1a..3e34c9beb88c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.4.0 + 0.5.0 From 50fb0ad556a229f69f17b52624eff389ee51b160 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 8 Apr 2020 06:49:46 +0200 Subject: [PATCH 0844/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.5.0 (#10) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.4.0` -> `0.5.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.5.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​050-httpswwwgithubcomgoogleapisjava-shared-configcomparev040v050-2020-04-07) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.4.0...v0.5.0) ##### Features - add ban duplicate classes rule ([#​126](https://www.github.com/googleapis/java-shared-config/issues/126)) ([e38a7cc](https://www.github.com/googleapis/java-shared-config/commit/e38a7cc949396f8f5696e62cd060e0c076047b8d)) - add devsite javadoc profile ([#​121](https://www.github.com/googleapis/java-shared-config/issues/121)) ([7f452fb](https://www.github.com/googleapis/java-shared-config/commit/7f452fb6c5704f6ce0f731085479a28fb99ebcb9)) - add maven flatten plugin ([#​127](https://www.github.com/googleapis/java-shared-config/issues/127)) ([fb00799](https://www.github.com/googleapis/java-shared-config/commit/fb00799c416d324d68da5b660a26f7ef595c26d9)) ##### Bug Fixes - declare com.coveo:fmt-maven-plugin version/configuration ([#​90](https://www.github.com/googleapis/java-shared-config/issues/90)) ([5cf71a6](https://www.github.com/googleapis/java-shared-config/commit/5cf71a6ed699907082756e70c2fdee6ad3632f38)) ##### Dependencies - update dependency com.google.cloud.samples:shared-configuration to v1.0.13 ([#​118](https://www.github.com/googleapis/java-shared-config/issues/118)) ([58ae69e](https://www.github.com/googleapis/java-shared-config/commit/58ae69eb5ba037963cdaed0c2b0e30663bc873eb)) - update dependency com.puppycrawl.tools:checkstyle to v8.29 ([f62292d](https://www.github.com/googleapis/java-shared-config/commit/f62292dab75699a75f8a7d499fe2ccfb7ee93783)) - update dependency org.apache.maven.plugins:maven-antrun-plugin to v1.8 ([#​124](https://www.github.com/googleapis/java-shared-config/issues/124)) ([a681536](https://www.github.com/googleapis/java-shared-config/commit/a68153643400c3f3b5c5959cda4dc3b552336427)) - update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.1.2 ([#​107](https://www.github.com/googleapis/java-shared-config/issues/107)) ([c9b096b](https://www.github.com/googleapis/java-shared-config/commit/c9b096b81b1f4f8dc2d1302f259f0321722e1ca5)) - update dependency org.apache.maven.plugins:maven-site-plugin to v3.9.0 ([#​103](https://www.github.com/googleapis/java-shared-config/issues/103)) ([abe7140](https://www.github.com/googleapis/java-shared-config/commit/abe714060e858c70a83888fb34438c45d97b1168)) - update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.1.0 ([#​101](https://www.github.com/googleapis/java-shared-config/issues/101)) ([ac69572](https://www.github.com/googleapis/java-shared-config/commit/ac69572be76e4462fdf65fa6e7f0935c3d51d827))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 9c16c8dea4ee..53dd7bbc07a7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.4.0 + 0.5.0 From 927a715fb246a34b8caa97d6bf0e23f866da4f7b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2020 17:52:18 +0000 Subject: [PATCH 0845/3036] chore: release 1.93.5-SNAPSHOT (#203) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index bdc4d9cb524e..353e5d57fc9b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.4 + 1.93.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.4 + 1.93.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.4 + 1.93.5-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.4 + 1.93.5-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0fe7b36e716b..9d5c740978bc 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 - 1.93.4 + 1.93.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.4 + 1.93.5-SNAPSHOT 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 3a2272be1d65..b78df90a5c18 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 - 1.93.4 + 1.93.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.4 + 1.93.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0d0aaa533a8c..e709fb45ebb9 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 - 1.93.4 + 1.93.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.4 + 1.93.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3e34c9beb88c..c20ee25819ca 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.4 + 1.93.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index b86cb48d8e28..c50d93aacf1b 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.4:1.93.4 \ No newline at end of file +google-cloud-core:1.93.4:1.93.5-SNAPSHOT \ No newline at end of file From 477d9edc7c5a0b20e9d6ab88256175dec7989e9d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 10 Apr 2020 08:50:20 -0700 Subject: [PATCH 0846/3036] chore: update common templates (#11) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d6bf982d-3f70-479b-8cc3-60d7907932a0/targets --- java-shared-dependencies/.kokoro/common.sh | 14 ++++++++++++-- .../.kokoro/nightly/integration.cfg | 15 +++++++++++++++ java-shared-dependencies/synth.metadata | 11 +++++++++-- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.kokoro/common.sh b/java-shared-dependencies/.kokoro/common.sh index a3bbc5f67963..8f09de5d3d10 100644 --- a/java-shared-dependencies/.kokoro/common.sh +++ b/java-shared-dependencies/.kokoro/common.sh @@ -13,18 +13,28 @@ # See the License for the specific language governing permissions and # limitations under the License. -# set -eo pipefail - function retry_with_backoff { attempts_left=$1 sleep_seconds=$2 shift 2 command=$@ + + # store current flag state + flags=$- + + # allow a failures to continue + set +e echo "${command}" ${command} exit_code=$? + # restore "e" flag + if [[ ${flags} =~ e ]] + then set -e + else set +e + fi + if [[ $exit_code == 0 ]] then return 0 diff --git a/java-shared-dependencies/.kokoro/nightly/integration.cfg b/java-shared-dependencies/.kokoro/nightly/integration.cfg index 8bf59c02edd6..ca027480092f 100644 --- a/java-shared-dependencies/.kokoro/nightly/integration.cfg +++ b/java-shared-dependencies/.kokoro/nightly/integration.cfg @@ -6,11 +6,26 @@ env_vars: { value: "gcr.io/cloud-devrel-kokoro-resources/java8" } +env_vars: { + key: "JOB_TYPE" + value: "integration" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + env_vars: { key: "ENABLE_BUILD_COP" value: "true" } +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + before_action { fetch_keystore { keystore_resource { diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 0abd8df00f25..375975051ed6 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -1,11 +1,18 @@ { - "updateTime": "2020-03-30T21:54:45.652823Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-shared-dependencies.git", + "sha": "d2ea22250b9062869c469fdb4616677396b20aee" + } + }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "a003d8655d3ebec2bbbd5fc3898e91e152265c67" + "sha": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25", + "log": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\n" } } ] From a46df3234a4ddc23171eee31d275b7f6a9400e3f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 10 Apr 2020 08:50:38 -0700 Subject: [PATCH 0847/3036] chore: update common templates (#204) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d6bf982d-3f70-479b-8cc3-60d7907932a0/targets --- java-core/.kokoro/common.sh | 14 ++++++++++++-- java-core/.kokoro/nightly/integration.cfg | 15 +++++++++++++++ java-core/synth.metadata | 11 +++++++++-- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/java-core/.kokoro/common.sh b/java-core/.kokoro/common.sh index a3bbc5f67963..8f09de5d3d10 100644 --- a/java-core/.kokoro/common.sh +++ b/java-core/.kokoro/common.sh @@ -13,18 +13,28 @@ # See the License for the specific language governing permissions and # limitations under the License. -# set -eo pipefail - function retry_with_backoff { attempts_left=$1 sleep_seconds=$2 shift 2 command=$@ + + # store current flag state + flags=$- + + # allow a failures to continue + set +e echo "${command}" ${command} exit_code=$? + # restore "e" flag + if [[ ${flags} =~ e ]] + then set -e + else set +e + fi + if [[ $exit_code == 0 ]] then return 0 diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg index 8bf59c02edd6..ca027480092f 100644 --- a/java-core/.kokoro/nightly/integration.cfg +++ b/java-core/.kokoro/nightly/integration.cfg @@ -6,11 +6,26 @@ env_vars: { value: "gcr.io/cloud-devrel-kokoro-resources/java8" } +env_vars: { + key: "JOB_TYPE" + value: "integration" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + env_vars: { key: "ENABLE_BUILD_COP" value: "true" } +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + before_action { fetch_keystore { keystore_resource { diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 833650b1e48d..979e03581dc4 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -1,11 +1,18 @@ { - "updateTime": "2020-03-25T23:35:19.763220Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-core.git", + "sha": "e1618ba96ec1a4dcc9eeee309a130cd7fc0c3618" + } + }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8" + "sha": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25", + "log": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\na003d8655d3ebec2bbbd5fc3898e91e152265c67\ndocs: remove \"install stable\" instructions (#461)\n\nThe package hasn't been released to PyPI in some time\nf5e8c88d9870d8aa4eb43fa0b39f07e02bfbe4df\nchore(python): add license headers to config files; make small tweaks to templates (#458)\n\n\n" } } ] From b8864128ac28ec1e9122785523bb34f0b8f4e5a1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Apr 2020 20:54:38 +0200 Subject: [PATCH 0848/3036] deps: update dependency com.google.guava:guava-bom to v29 (#205) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.guava:guava-bom](https://togithub.com/google/guava) | major | `28.2-android` -> `29.0-android` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c20ee25819ca..eb664315dc7f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -164,7 +164,7 @@ 3.11.4 0.24.0 1.3.2 - 28.2-android + 29.0-android 4.13 1.0.1 3.6 From 88ac3a9ca4196b16332b17918a5c32839b06f7e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Apr 2020 21:02:35 +0200 Subject: [PATCH 0849/3036] deps: update dependency com.google.guava:guava-bom to v29 (#12) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.guava:guava-bom](https://togithub.com/google/guava) | major | `28.2-android` -> `29.0-android` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 53dd7bbc07a7..a36ec7024445 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -57,7 +57,7 @@ 1.28.1 1.56.0 - 28.2-android + 29.0-android 3.11.4 1.9.0 1.17.0 From cfa933a191fb6d61ed473f18af129b9c87e59ba1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2020 17:54:06 +0000 Subject: [PATCH 0850/3036] chore: release 0.1.1 (#8) :robot: I have created a release \*beep\* \*boop\* --- ### [0.1.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.0...v0.1.1) (2020-04-14) ### Dependencies * update core dependencies ([#2](https://www.github.com/googleapis/java-shared-dependencies/issues/2)) ([9cbe566](https://www.github.com/googleapis/java-shared-dependencies/commit/9cbe566252a61a954d2f5d1854c3c1274e4a75e5)) * update dependency com.google.cloud:google-cloud-core to v1.93.4 ([#9](https://www.github.com/googleapis/java-shared-dependencies/issues/9)) ([f3f3181](https://www.github.com/googleapis/java-shared-dependencies/commit/f3f3181f358a7ff652691ea20e8f530f2b589fd3)) * update dependency com.google.guava:guava-bom to v29 ([#12](https://www.github.com/googleapis/java-shared-dependencies/issues/12)) ([88ac3a9](https://www.github.com/googleapis/java-shared-dependencies/commit/88ac3a9ca4196b16332b17918a5c32839b06f7e2)) * update dependency org.threeten:threetenbp to v1.4.3 ([#7](https://www.github.com/googleapis/java-shared-dependencies/issues/7)) ([4a8bd5e](https://www.github.com/googleapis/java-shared-dependencies/commit/4a8bd5e218ec7eaf1f94df6abb3aef93b6913e1f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 10 ++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 367d0a9af641..e4ab827e6012 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### [0.1.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.0...v0.1.1) (2020-04-14) + + +### Dependencies + +* update core dependencies ([#2](https://www.github.com/googleapis/java-shared-dependencies/issues/2)) ([5589285](https://www.github.com/googleapis/java-shared-dependencies/commit/5589285e105ccd4746e3e194f959c72f17705d45)) +* update dependency com.google.cloud:google-cloud-core to v1.93.4 ([#9](https://www.github.com/googleapis/java-shared-dependencies/issues/9)) ([882cdd6](https://www.github.com/googleapis/java-shared-dependencies/commit/882cdd63f2948de1b29119b36032c45cb4887913)) +* update dependency com.google.guava:guava-bom to v29 ([#12](https://www.github.com/googleapis/java-shared-dependencies/issues/12)) ([9f844c4](https://www.github.com/googleapis/java-shared-dependencies/commit/9f844c4b86cfd5e228a1d3b215726d632c21abf6)) +* update dependency org.threeten:threetenbp to v1.4.3 ([#7](https://www.github.com/googleapis/java-shared-dependencies/issues/7)) ([cd8d481](https://www.github.com/googleapis/java-shared-dependencies/commit/cd8d4812c34568599c79edac45db5bc973eace0a)) + ## 0.1.0 (2020-03-30) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 7a271c54e3c9..d08f3e5aa1dd 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.1.0 + 0.1.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a36ec7024445..2aaabb2c8a28 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 - 0.1.1-SNAPSHOT + 0.1.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 0a90ffb36d34..c4bc9f6a3ada 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.1.0:0.1.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.1.1:0.1.1 \ No newline at end of file From c89f49e5bac9b5aae49fab17dde1748d28b8771d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 16 Apr 2020 08:42:46 -0700 Subject: [PATCH 0851/3036] chore: update common templates (#208) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/01a7440e-1f0c-4d68-a4a7-71ae1d8c3c3a/targets --- java-core/.kokoro/common.sh | 5 +++ java-core/.kokoro/dependencies.sh | 48 +++++++++++++++++++++ java-core/.kokoro/nightly/integration.cfg | 11 +++-- java-core/.kokoro/nightly/samples.cfg | 8 +++- java-core/.kokoro/presubmit/integration.cfg | 14 ++++-- java-core/.kokoro/presubmit/samples.cfg | 14 ++++-- java-core/synth.metadata | 3 +- 7 files changed, 89 insertions(+), 14 deletions(-) diff --git a/java-core/.kokoro/common.sh b/java-core/.kokoro/common.sh index 8f09de5d3d10..a8d0ea04d37d 100644 --- a/java-core/.kokoro/common.sh +++ b/java-core/.kokoro/common.sh @@ -52,3 +52,8 @@ function retry_with_backoff { return $exit_code } + +## Helper functionss +function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } +function msg() { println "$*" >&2; } +function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index 0aade871ce10..cf3bb4347e01 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -36,3 +36,51 @@ retry_with_backoff 3 10 \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true + +echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" +## Run dependency list completeness check +function completenessCheck() { + # Output dep list with compile scope generated using the original pom + msg "Generating dependency list using original pom..." + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + + # Output dep list generated using the flattened pom (test scope deps are ommitted) + msg "Generating dependency list using flattened pom..." + mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + + # Compare two dependency lists + msg "Comparing dependency lists..." + diff .org-list.txt .new-list.txt >.diff.txt + if [[ $? == 0 ]] + then + msg "Success. No diff!" + else + msg "Diff found. See below: " + msg "You can also check .diff.txt file located in $1." + cat .diff.txt + return 1 + fi +} + +# Allow failures to continue running the script +set +e + +error_count=0 +for path in $(find -name ".flattened-pom.xml") +do + # Check flattened pom in each dir that contains it for completeness + dir=$(dirname "$path") + pushd "$dir" + completenessCheck "$dir" + error_count=$(($error_count + $?)) + popd +done + +if [[ $error_count == 0 ]] +then + msg "All checks passed." + exit 0 +else + msg "Errors found. See log statements above." + exit 1 +fi diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg index ca027480092f..40c4abb7bf08 100644 --- a/java-core/.kokoro/nightly/integration.cfg +++ b/java-core/.kokoro/nightly/integration.cfg @@ -10,20 +10,25 @@ env_vars: { key: "JOB_TYPE" value: "integration" } - +# TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" value: "gcloud-devel" } +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + env_vars: { key: "ENABLE_BUILD_COP" value: "true" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/java-core/.kokoro/nightly/samples.cfg b/java-core/.kokoro/nightly/samples.cfg index b4b051cd016f..20aabd55de11 100644 --- a/java-core/.kokoro/nightly/samples.cfg +++ b/java-core/.kokoro/nightly/samples.cfg @@ -11,9 +11,15 @@ env_vars: { value: "samples" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" } env_vars: { diff --git a/java-core/.kokoro/presubmit/integration.cfg b/java-core/.kokoro/presubmit/integration.cfg index 141f90c13c56..522e5b10101c 100644 --- a/java-core/.kokoro/presubmit/integration.cfg +++ b/java-core/.kokoro/presubmit/integration.cfg @@ -11,14 +11,20 @@ env_vars: { value: "integration" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "gcloud-devel" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/java-core/.kokoro/presubmit/samples.cfg b/java-core/.kokoro/presubmit/samples.cfg index fa7b493d0b5c..1171aead01f0 100644 --- a/java-core/.kokoro/presubmit/samples.cfg +++ b/java-core/.kokoro/presubmit/samples.cfg @@ -11,14 +11,20 @@ env_vars: { value: "samples" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "java-docs-samples-testing" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 979e03581dc4..0834b0a7cd00 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -11,8 +11,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25", - "log": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\na003d8655d3ebec2bbbd5fc3898e91e152265c67\ndocs: remove \"install stable\" instructions (#461)\n\nThe package hasn't been released to PyPI in some time\nf5e8c88d9870d8aa4eb43fa0b39f07e02bfbe4df\nchore(python): add license headers to config files; make small tweaks to templates (#458)\n\n\n" + "sha": "52638600f387deb98efb5f9c85fec39e82aa9052" } } ] From 1a2cefd6da6764082cd73837734c53209994a7f4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 16 Apr 2020 08:43:15 -0700 Subject: [PATCH 0852/3036] chore: update common templates (#14) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/01a7440e-1f0c-4d68-a4a7-71ae1d8c3c3a/targets --- java-shared-dependencies/.kokoro/common.sh | 5 ++ .../.kokoro/dependencies.sh | 48 +++++++++++++++++++ .../.kokoro/nightly/integration.cfg | 11 +++-- .../.kokoro/nightly/samples.cfg | 8 +++- .../.kokoro/presubmit/integration.cfg | 14 ++++-- .../.kokoro/presubmit/samples.cfg | 14 ++++-- java-shared-dependencies/synth.metadata | 3 +- 7 files changed, 89 insertions(+), 14 deletions(-) diff --git a/java-shared-dependencies/.kokoro/common.sh b/java-shared-dependencies/.kokoro/common.sh index 8f09de5d3d10..a8d0ea04d37d 100644 --- a/java-shared-dependencies/.kokoro/common.sh +++ b/java-shared-dependencies/.kokoro/common.sh @@ -52,3 +52,8 @@ function retry_with_backoff { return $exit_code } + +## Helper functionss +function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } +function msg() { println "$*" >&2; } +function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index 0aade871ce10..cf3bb4347e01 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -36,3 +36,51 @@ retry_with_backoff 3 10 \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true + +echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" +## Run dependency list completeness check +function completenessCheck() { + # Output dep list with compile scope generated using the original pom + msg "Generating dependency list using original pom..." + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + + # Output dep list generated using the flattened pom (test scope deps are ommitted) + msg "Generating dependency list using flattened pom..." + mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + + # Compare two dependency lists + msg "Comparing dependency lists..." + diff .org-list.txt .new-list.txt >.diff.txt + if [[ $? == 0 ]] + then + msg "Success. No diff!" + else + msg "Diff found. See below: " + msg "You can also check .diff.txt file located in $1." + cat .diff.txt + return 1 + fi +} + +# Allow failures to continue running the script +set +e + +error_count=0 +for path in $(find -name ".flattened-pom.xml") +do + # Check flattened pom in each dir that contains it for completeness + dir=$(dirname "$path") + pushd "$dir" + completenessCheck "$dir" + error_count=$(($error_count + $?)) + popd +done + +if [[ $error_count == 0 ]] +then + msg "All checks passed." + exit 0 +else + msg "Errors found. See log statements above." + exit 1 +fi diff --git a/java-shared-dependencies/.kokoro/nightly/integration.cfg b/java-shared-dependencies/.kokoro/nightly/integration.cfg index ca027480092f..40c4abb7bf08 100644 --- a/java-shared-dependencies/.kokoro/nightly/integration.cfg +++ b/java-shared-dependencies/.kokoro/nightly/integration.cfg @@ -10,20 +10,25 @@ env_vars: { key: "JOB_TYPE" value: "integration" } - +# TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" value: "gcloud-devel" } +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + env_vars: { key: "ENABLE_BUILD_COP" value: "true" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/java-shared-dependencies/.kokoro/nightly/samples.cfg b/java-shared-dependencies/.kokoro/nightly/samples.cfg index b4b051cd016f..20aabd55de11 100644 --- a/java-shared-dependencies/.kokoro/nightly/samples.cfg +++ b/java-shared-dependencies/.kokoro/nightly/samples.cfg @@ -11,9 +11,15 @@ env_vars: { value: "samples" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" } env_vars: { diff --git a/java-shared-dependencies/.kokoro/presubmit/integration.cfg b/java-shared-dependencies/.kokoro/presubmit/integration.cfg index 141f90c13c56..522e5b10101c 100644 --- a/java-shared-dependencies/.kokoro/presubmit/integration.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/integration.cfg @@ -11,14 +11,20 @@ env_vars: { value: "integration" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "gcloud-devel" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/java-shared-dependencies/.kokoro/presubmit/samples.cfg b/java-shared-dependencies/.kokoro/presubmit/samples.cfg index fa7b493d0b5c..1171aead01f0 100644 --- a/java-shared-dependencies/.kokoro/presubmit/samples.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/samples.cfg @@ -11,14 +11,20 @@ env_vars: { value: "samples" } +# TODO: remove this after we've migrated all tests and scripts env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" + key: "GCLOUD_PROJECT" + value: "java-docs-samples-testing" } env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" } before_action { diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 375975051ed6..d71fe464464a 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -11,8 +11,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25", - "log": "c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\n" + "sha": "52638600f387deb98efb5f9c85fec39e82aa9052" } } ] From 0f186008025e0ca39c15ec912390967fc2c2fe8c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2020 17:06:21 +0000 Subject: [PATCH 0853/3036] chore: release 0.1.2-SNAPSHOT (#15) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2aaabb2c8a28..5cf192da5a21 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 - 0.1.1 + 0.1.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index c4bc9f6a3ada..911c7032f22a 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.1.1:0.1.1 \ No newline at end of file +google-cloud-shared-dependencies:0.1.1:0.1.2-SNAPSHOT \ No newline at end of file From f6cd40b3567d728ec0d2364fb636543f4b2b147f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Apr 2020 17:58:03 +0200 Subject: [PATCH 0854/3036] deps: update dependency io.grpc:grpc-bom to v1.29.0 (#16) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5cf192da5a21..1052be35588d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.28.1 + 1.29.0 1.56.0 29.0-android 3.11.4 From 4d278689a2ddbcca73d55e4759a252aa3430df92 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 22 Apr 2020 09:06:35 -0700 Subject: [PATCH 0855/3036] feat: import google-cloud-core-bom to include all google-cloud-core-* artifacts (#18) --- java-shared-dependencies/pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1052be35588d..1477878b1883 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -121,8 +121,10 @@
    com.google.cloud - google-cloud-core + google-cloud-core-bom ${google.core.version} + pom + import com.google.auth From b0b175d2991491e8f9589fd12538b8b3486dde0c Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 22 Apr 2020 09:08:21 -0700 Subject: [PATCH 0856/3036] feat: add truth as a managed test scope dependency (#19) --- java-shared-dependencies/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1477878b1883..ebd3ed06c5b8 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -73,6 +73,7 @@ 3.0.2 1.7 4.13 + 1.0.1
    @@ -238,6 +239,12 @@ testlib test + + com.google.truth + truth + ${truth.version} + test + From d3a50479ba6070df56a4c93b646af2d6a459d550 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 22 Apr 2020 09:14:04 -0700 Subject: [PATCH 0857/3036] feat: import protobuf-bom to manage all protobuf artifacts (#21) --- java-shared-dependencies/pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ebd3ed06c5b8..beed5e0ec89b 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -102,8 +102,10 @@ com.google.protobuf - protobuf-java + protobuf-bom ${protobuf.version} + pom + import com.google.api From 4aa5b0d718525b5e1e5dc0d4a8f70a566d14440e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2020 16:36:04 +0000 Subject: [PATCH 0858/3036] chore: release 0.2.0 (#20) :robot: I have created a release \*beep\* \*boop\* --- ## [0.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.1...v0.2.0) (2020-04-22) ### Features * add truth as a managed test scope dependency ([#19](https://www.github.com/googleapis/java-shared-dependencies/issues/19)) ([b0b175d](https://www.github.com/googleapis/java-shared-dependencies/commit/b0b175d2991491e8f9589fd12538b8b3486dde0c)) * import google-cloud-core-bom to include all google-cloud-core-* artifacts ([#18](https://www.github.com/googleapis/java-shared-dependencies/issues/18)) ([4d27868](https://www.github.com/googleapis/java-shared-dependencies/commit/4d278689a2ddbcca73d55e4759a252aa3430df92)) * import protobuf-bom to manage all protobuf artifacts ([#21](https://www.github.com/googleapis/java-shared-dependencies/issues/21)) ([d3a5047](https://www.github.com/googleapis/java-shared-dependencies/commit/d3a50479ba6070df56a4c93b646af2d6a459d550)) ### Dependencies * update dependency io.grpc:grpc-bom to v1.29.0 ([#16](https://www.github.com/googleapis/java-shared-dependencies/issues/16)) ([f6cd40b](https://www.github.com/googleapis/java-shared-dependencies/commit/f6cd40b3567d728ec0d2364fb636543f4b2b147f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 14 ++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index e4ab827e6012..e87c22cc6b10 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [0.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.1...v0.2.0) (2020-04-22) + + +### Features + +* add truth as a managed test scope dependency ([#19](https://www.github.com/googleapis/java-shared-dependencies/issues/19)) ([36167bf](https://www.github.com/googleapis/java-shared-dependencies/commit/36167bfc19475425416316ede28e72db4d683db1)) +* import google-cloud-core-bom to include all google-cloud-core-* artifacts ([#18](https://www.github.com/googleapis/java-shared-dependencies/issues/18)) ([ed3850c](https://www.github.com/googleapis/java-shared-dependencies/commit/ed3850c6a6ea491b570c461a2108c124c9ef71da)) +* import protobuf-bom to manage all protobuf artifacts ([#21](https://www.github.com/googleapis/java-shared-dependencies/issues/21)) ([dc0f1e0](https://www.github.com/googleapis/java-shared-dependencies/commit/dc0f1e0be1be33f5bdf0426cad1cc2df45f5d10a)) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.29.0 ([#16](https://www.github.com/googleapis/java-shared-dependencies/issues/16)) ([eac0d44](https://www.github.com/googleapis/java-shared-dependencies/commit/eac0d448b0701a3dd5788321ed0494eb2a618f9e)) + ### [0.1.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.0...v0.1.1) (2020-04-14) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index d08f3e5aa1dd..8d5d477df9d3 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.1.1 + 0.2.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index beed5e0ec89b..c3d96beed45c 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 - 0.1.2-SNAPSHOT + 0.2.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 911c7032f22a..002f8c6b8abe 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.1.1:0.1.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.2.0:0.2.0 \ No newline at end of file From ee349092c6d176b49547df6fd289bcafb812d38e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 24 Apr 2020 23:07:48 +0200 Subject: [PATCH 0859/3036] deps: update dependency org.threeten:threetenbp to v1.4.4 (#22) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c3d96beed45c..a5e70c2fa6a1 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,7 +65,7 @@ 0.20.0 1.34.2 1.30.9 - 1.4.3 + 1.4.4 1.3.2 1.18 0.13.0 From 8250126f97a9ddec7bb999e79b492de329de2197 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 25 Apr 2020 01:01:02 +0200 Subject: [PATCH 0860/3036] deps: update dependency io.grpc:grpc-bom to v1.29.0 (#209) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.28.1` -> `1.29.0` | --- ### Release Notes
    grpc/grpc-java ### [`v1.29.0`](https://togithub.com/grpc/grpc-java/releases/v1.29.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.28.1...v1.29.0) #### Behavioral Changes - core, grpclb: change policy selection strategy for Grpclb policy (move logic of querying SRV into Grpclb's own resolver) ([#​6723](https://togithub.com/grpc/grpc-java/issues/6723)). System property `io.grpc.internal.DnsNameResolverProvider.enable_grpclb` is eliminated, grpc-grpclb dependency implicitly enables querying SRV records since v1.24.2 #### New Features - core: `ServerInterceptors.useInputStreamMessages()` now preserves the `KnownLength` interface when wrapping InputStream ([#​6852](https://togithub.com/grpc/grpc-java/issues/6852)). This should prevent certain optimizations from being disabled when using useInputStreamMessages - core: `ServerInterceptors.useInputStreamMessages()` and `useMarshalledMessages()` now preserve the SchemaDescriptor, so the methods are now compatible with the reflection service ([#​6851](https://togithub.com/grpc/grpc-java/issues/6851)) #### Bug Fixes - core: Fix IllegalStateException if remote-specified decompressor is unknown ([#​6864](https://togithub.com/grpc/grpc-java/issues/6864)) - core: keep round_robin lb subchannel in TRANSIENT_FAILURE until becoming READY ([#​6657](https://togithub.com/grpc/grpc-java/issues/6657)). This avoids RPC being indefinitely queued when subchannels are bouncing back and forth between CONNECTING and TRANSIENT_FAILURE - netty: fixed a bug when grpc-netty and grpc-netty-shaded were both used, which could result in "ClassCastException: io.netty.util.AsciiString cannot be cast to io.grpc.netty.shaded.io.netty.util.AsciiString" ([#​6765](https://togithub.com/grpc/grpc-java/issues/6765)) - netty: Prevent thread interruption during server start from leaking socket ([#​6867](https://togithub.com/grpc/grpc-java/issues/6867)) - okhttp: fix incorrect connection-level flow control handling at beginning of connection ([#​6742](https://togithub.com/grpc/grpc-java/issues/6742)). This only impacted users of `OkHttpChannelBuilder.flowControlWindow()`, who seem to be few since this bug was not reported sooner - core: A Java 9+ ABI compatibility issue with java.nio.ByteBuffer is fixed ([#​6839](https://togithub.com/grpc/grpc-java/issues/6839)). This only impacted users manually compiling grpc-java with JDK 9+ and then using it as a library for applications that run with JDK 8- (e.g., on Android). This does not impact the pre-built JARs on Maven Central - core: fixed a bug in health check config propagation. ([#​6804](https://togithub.com/grpc/grpc-java/issues/6804)) - benchmarks: some netty benchmarks failed to start and are now fixed ([#​6877](https://togithub.com/grpc/grpc-java/issues/6877)). This was a regression introduced in v1.23.0 #### Documentation - Add Javadoc for grpc-services and grpc-grpclb to the grpc-all project. This increases the number of classes shown at - examples: Add a JWT authentication example ([#​5915](https://togithub.com/grpc/grpc-java/issues/5915)) #### Dependencies - Bump guava to 28.2-android ([#​6772](https://togithub.com/grpc/grpc-java/issues/6772)) - Bump netty to 4.1.48.Final, bump tcnative to 2.0.30.Final ([#​6845](https://togithub.com/grpc/grpc-java/issues/6845)) - Bump truth version to 1.0.1 ([#​6754](https://togithub.com/grpc/grpc-java/issues/6754)) #### Compiling - android: add grpc-android into main build ([#​6793](https://togithub.com/grpc/grpc-java/issues/6793)). Compiling with `-PskipAndroid=false` (default) includes building grpc-android module, which requires Android SDK #### Acknowledgements [@​chrisschek](https://togithub.com/chrisschek) [@​elharo](https://togithub.com/elharo) Elliotte Rusty Harold [@​herbyderby](https://togithub.com/herbyderby) Chris Nokleberg [@​markb74](https://togithub.com/markb74) [@​ST-DDT](https://togithub.com/ST-DDT)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index eb664315dc7f..1a787e65591b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 0.20.0 1.30.9 1.34.2 - 1.28.1 + 1.29.0 3.11.4 0.24.0 1.3.2 From 32b542dcf206e974c00502a1d16f9ff4b2d0c22f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 27 Apr 2020 18:38:33 +0200 Subject: [PATCH 0861/3036] deps: update dependency org.threeten:threetenbp to v1.4.4 (#210) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | patch | `1.4.3` -> `1.4.4` | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.4.4`](https://togithub.com/ThreeTen/threetenbp/releases/v1.4.4) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.4.3...v1.4.4) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1a787e65591b..2a13f94fca37 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 1.0.1 3.6 3.0.2 - 1.4.3 + 1.4.4 2.6 2.3.4 2.8.6 From e18992ef2b48b78e1ce9cdf75839fa5b011ee0fc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 27 Apr 2020 20:46:26 +0200 Subject: [PATCH 0862/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.35.0 (#23) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a5e70c2fa6a1..f04692eaf4d2 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.17.0 1.93.4 0.20.0 - 1.34.2 + 1.35.0 1.30.9 1.4.4 1.3.2 From f627f3647e83da375ea3280b4dfb2cc20565c855 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 28 Apr 2020 20:18:24 +0200 Subject: [PATCH 0863/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.35.0 (#211) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | minor | `1.34.2` -> `1.35.0` | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.35.0`](https://togithub.com/googleapis/google-http-java-client/blob/master/CHANGELOG.md#​1350-httpswwwgithubcomgoogleapisgoogle-http-java-clientcomparev1342v1350-2020-04-27) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.34.2...v1.35.0) ##### Features - add logic for verifying ES256 JsonWebSignatures ([#​1033](https://www.github.com/googleapis/google-http-java-client/issues/1033)) ([bb4227f](https://www.github.com/googleapis/google-http-java-client/commit/bb4227f9daec44fc2976fa9947e2ff5ee07ed21a)) ##### Bug Fixes - add linkage monitor plugin ([#​1000](https://www.github.com/googleapis/google-http-java-client/issues/1000)) ([027c227](https://www.github.com/googleapis/google-http-java-client/commit/027c227e558164f77be204152fb47023850b543f)) - Correctly handling chunked response streams with gzip ([#​990](https://www.github.com/googleapis/google-http-java-client/issues/990)) ([1ba2197](https://www.github.com/googleapis/google-http-java-client/commit/1ba219743e65c89bc3fdb196acc5d2042e01f542)), closes [#​367](https://www.github.com/googleapis/google-http-java-client/issues/367) - FileDataStoreFactory will throw IOException for any permissions errors ([#​1012](https://www.github.com/googleapis/google-http-java-client/issues/1012)) ([fd33073](https://www.github.com/googleapis/google-http-java-client/commit/fd33073da3674997897d7a9057d1d0e9d42d7cd4)) - include request method and URL into HttpResponseException message ([#​1002](https://www.github.com/googleapis/google-http-java-client/issues/1002)) ([15111a1](https://www.github.com/googleapis/google-http-java-client/commit/15111a1001d6f72cb92cd2d76aaed6f1229bc14a)) - incorrect check for Windows OS in FileDataStoreFactory ([#​927](https://www.github.com/googleapis/google-http-java-client/issues/927)) ([8b4eabe](https://www.github.com/googleapis/google-http-java-client/commit/8b4eabe985794fc64ad6a4a53f8f96201cf73fb8)) - reuse reference instead of calling getter twice ([#​983](https://www.github.com/googleapis/google-http-java-client/issues/983)) ([1f66222](https://www.github.com/googleapis/google-http-java-client/commit/1f662224d7bee6e27e8d66975fda39feae0c9359)), closes [#​982](https://www.github.com/googleapis/google-http-java-client/issues/982) - **android:** set minimum API level to 19 a.k.a. 4.4 Kit Kat ([#​1016](https://www.github.com/googleapis/google-http-java-client/issues/1016)) ([b9a8023](https://www.github.com/googleapis/google-http-java-client/commit/b9a80232c9c8b16a3c3277458835f72e346f6b2c)), closes [#​1015](https://www.github.com/googleapis/google-http-java-client/issues/1015) ##### Documentation - android 4.4 or later is required ([#​1008](https://www.github.com/googleapis/google-http-java-client/issues/1008)) ([bcc41dd](https://www.github.com/googleapis/google-http-java-client/commit/bcc41dd615af41ae6fb58287931cbf9c2144a075)) - libraries-bom 4.0.1 ([#​976](https://www.github.com/googleapis/google-http-java-client/issues/976)) ([fc21dc4](https://www.github.com/googleapis/google-http-java-client/commit/fc21dc412566ef60d23f1f82db5caf3cfd5d447b)) - libraries-bom 4.1.1 ([#​984](https://www.github.com/googleapis/google-http-java-client/issues/984)) ([635c813](https://www.github.com/googleapis/google-http-java-client/commit/635c81352ae383b3abfe6d7c141d987a6944b3e9)) - libraries-bom 5.2.0 ([#​1032](https://www.github.com/googleapis/google-http-java-client/issues/1032)) ([ca34202](https://www.github.com/googleapis/google-http-java-client/commit/ca34202bfa077adb70313b6c4562c7a5d904e064)) - require Android 4.4 ([#​1007](https://www.github.com/googleapis/google-http-java-client/issues/1007)) ([f9d2bb0](https://www.github.com/googleapis/google-http-java-client/commit/f9d2bb030398fe09e3c47b84ea468603355e08e9)) ##### Dependencies - httpclient 4.5.12 ([#​991](https://www.github.com/googleapis/google-http-java-client/issues/991)) ([79bc1c7](https://www.github.com/googleapis/google-http-java-client/commit/79bc1c76ebd48d396a080ef715b9f07cd056b7ef)) - update to Guava 29 ([#​1024](https://www.github.com/googleapis/google-http-java-client/issues/1024)) ([ca9520f](https://www.github.com/googleapis/google-http-java-client/commit/ca9520f2da4babc5bbd28c828da1deb7dbdc87e5)) ##### [1.34.2](https://www.github.com/googleapis/google-http-java-client/compare/v1.34.1...v1.34.2) (2020-02-12) ##### Bug Fixes - use %20 to escpae spaces in URI templates ([#​973](https://www.github.com/googleapis/google-http-java-client/issues/973)) ([60ba4ea](https://www.github.com/googleapis/google-http-java-client/commit/60ba4ea771d8ad0a98eddca10a77c5241187d28c)) ##### Documentation - bom 4.0.0 ([#​970](https://www.github.com/googleapis/google-http-java-client/issues/970)) ([198453b](https://www.github.com/googleapis/google-http-java-client/commit/198453b8b9e0765439ac430deaf10ef9df084665)) ##### [1.34.1](https://www.github.com/googleapis/google-http-java-client/compare/v1.34.0...v1.34.1) (2020-01-26) ##### Bug Fixes - include '+' in SAFEPATHCHARS_URLENCODER ([#​955](https://www.github.com/googleapis/google-http-java-client/issues/955)) ([9384459](https://www.github.com/googleapis/google-http-java-client/commit/9384459015b37e1671aebadc4b8c25dc9e1e033f)) - use random UUID for multipart boundary delimiter ([#​916](https://www.github.com/googleapis/google-http-java-client/issues/916)) ([91c20a3](https://www.github.com/googleapis/google-http-java-client/commit/91c20a3dfb654e85104b1c09a0b2befbae356c19)) ##### Dependencies - remove unnecessary MySQL dependency ([#​943](https://www.github.com/googleapis/google-http-java-client/issues/943)) ([14736ca](https://www.github.com/googleapis/google-http-java-client/commit/14736cab3dc060ea5b60522ea587cfaf66f29699)) - update dependency mysql:mysql-connector-java to v8.0.19 ([#​940](https://www.github.com/googleapis/google-http-java-client/issues/940)) ([e76368e](https://www.github.com/googleapis/google-http-java-client/commit/e76368ef9479a3bf06f7c7cb878d4e8e241bb58c)) - update dependency org.apache.httpcomponents:httpcore to v4.4.13 ([#​941](https://www.github.com/googleapis/google-http-java-client/issues/941)) ([fd904d2](https://www.github.com/googleapis/google-http-java-client/commit/fd904d26d67b06fac807d38f8fe4141891ef0330)) ##### Documentation - fix various paragraph issues in javadoc ([#​867](https://www.github.com/googleapis/google-http-java-client/issues/867)) ([029bbbf](https://www.github.com/googleapis/google-http-java-client/commit/029bbbfb5ddfefe64e64ecca4b1413ae1c93ddd8)) - libraries-bom 3.3.0 ([#​921](https://www.github.com/googleapis/google-http-java-client/issues/921)) ([7e0b952](https://www.github.com/googleapis/google-http-java-client/commit/7e0b952a0d9c84ac43dff43914567c98f3e81f66))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2a13f94fca37..669db5e4f647 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 0.13.0 0.20.0 1.30.9 - 1.34.2 + 1.35.0 1.29.0 3.11.4 0.24.0 From 0d8a0b29d041c8c0aadd5a94c5b30535a8a6ecf8 Mon Sep 17 00:00:00 2001 From: dpcollins-google <40498610+dpcollins-google@users.noreply.github.com> Date: Thu, 30 Apr 2020 13:04:06 -0400 Subject: [PATCH 0864/3036] feat: add grpc-testing, mockito and truth extensions (#25) --- java-shared-dependencies/pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f04692eaf4d2..dce3385b7d67 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -74,6 +74,7 @@ 1.7 4.13 1.0.1 + 3.2.0
    @@ -234,6 +235,12 @@ ${junit.version} test + + org.mockito + mockito-core + ${mockito.version} + test + com.google.api gax-grpc @@ -241,12 +248,24 @@ testlib test + + io.grpc + grpc-testing + ${grpc.version} + test + com.google.truth truth ${truth.version} test + + com.google.truth.extensions + truth-java8-extension + ${truth.version} + test + From f496c269c0dba482fc828e8b0c3cf141d250e6ab Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2020 17:10:04 +0000 Subject: [PATCH 0865/3036] chore: release 0.2.1-SNAPSHOT (#24) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index dce3385b7d67..ec9a2c453105 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 - 0.2.0 + 0.2.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 002f8c6b8abe..78e5cb7d117f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.2.0:0.2.0 \ No newline at end of file +google-cloud-shared-dependencies:0.2.0:0.2.1-SNAPSHOT \ No newline at end of file From a95e40fc93664252243f1bb98b8039c4fd898f65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 30 Apr 2020 19:46:44 +0200 Subject: [PATCH 0866/3036] deps: update dependency org.mockito:mockito-core to v3.3.3 (#27) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ec9a2c453105..7ddf056ea258 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -74,7 +74,7 @@ 1.7 4.13 1.0.1 - 3.2.0 + 3.3.3
    From 1ee6f77365e8a0a6259e89dda05909aa498df3a2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 4 May 2020 23:25:12 +0200 Subject: [PATCH 0867/3036] deps: update autovalue.version to v1.7.1 (#29) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7ddf056ea258..c998a7f528be 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -71,7 +71,7 @@ 0.13.0 0.24.0 3.0.2 - 1.7 + 1.7.1 4.13 1.0.1 3.3.3 From ddc98b265400ce6f190fa36935aa58fde0d54c8e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 May 2020 05:14:58 +0200 Subject: [PATCH 0868/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#215) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam) | minor | `1.17.0` -> `1.18.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 669db5e4f647..41dda8f018f5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.7 1.56.0 1.9.0 - 1.17.0 + 1.18.0 0.13.0 0.20.0 1.30.9 From e16677d507783412b00b0123c95c0cf5fd0587bc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 May 2020 05:15:40 +0200 Subject: [PATCH 0869/3036] deps: update google.common-protos.version to v1.18.0 (#30) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-iam) | minor | `1.17.0` -> `1.18.0` | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam) | minor | `1.17.0` -> `1.18.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c998a7f528be..ca0bbf0217da 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 29.0-android 3.11.4 1.9.0 - 1.17.0 + 1.18.0 1.93.4 0.20.0 1.35.0 From 47fbb5f08a4b9bd11cb7796ed58948c21980f909 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 5 May 2020 03:22:48 +0000 Subject: [PATCH 0870/3036] chore: release 0.3.0 (#26) :robot: I have created a release \*beep\* \*boop\* --- ## [0.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.2.0...v0.3.0) (2020-05-05) ### Features * add grpc-testing, mockito and truth extensions ([#25](https://www.github.com/googleapis/java-shared-dependencies/issues/25)) ([0d8a0b2](https://www.github.com/googleapis/java-shared-dependencies/commit/0d8a0b29d041c8c0aadd5a94c5b30535a8a6ecf8)) ### Dependencies * update autovalue.version to v1.7.1 ([#29](https://www.github.com/googleapis/java-shared-dependencies/issues/29)) ([1ee6f77](https://www.github.com/googleapis/java-shared-dependencies/commit/1ee6f77365e8a0a6259e89dda05909aa498df3a2)) * update dependency com.google.http-client:google-http-client-bom to v1.35.0 ([#23](https://www.github.com/googleapis/java-shared-dependencies/issues/23)) ([e18992e](https://www.github.com/googleapis/java-shared-dependencies/commit/e18992ef2b48b78e1ce9cdf75839fa5b011ee0fc)) * update dependency org.mockito:mockito-core to v3.3.3 ([#27](https://www.github.com/googleapis/java-shared-dependencies/issues/27)) ([a95e40f](https://www.github.com/googleapis/java-shared-dependencies/commit/a95e40fc93664252243f1bb98b8039c4fd898f65)) * update dependency org.threeten:threetenbp to v1.4.4 ([#22](https://www.github.com/googleapis/java-shared-dependencies/issues/22)) ([ee34909](https://www.github.com/googleapis/java-shared-dependencies/commit/ee349092c6d176b49547df6fd289bcafb812d38e)) * update google.common-protos.version to v1.18.0 ([#30](https://www.github.com/googleapis/java-shared-dependencies/issues/30)) ([e16677d](https://www.github.com/googleapis/java-shared-dependencies/commit/e16677d507783412b00b0123c95c0cf5fd0587bc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 16 ++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index e87c22cc6b10..1ff99949d6ad 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [0.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.2.0...v0.3.0) (2020-05-05) + + +### Features + +* add grpc-testing, mockito and truth extensions ([#25](https://www.github.com/googleapis/java-shared-dependencies/issues/25)) ([e906514](https://www.github.com/googleapis/java-shared-dependencies/commit/e9065147889ec42ac7350e2559fabae9abf335a9)) + + +### Dependencies + +* update autovalue.version to v1.7.1 ([#29](https://www.github.com/googleapis/java-shared-dependencies/issues/29)) ([c9e80f8](https://www.github.com/googleapis/java-shared-dependencies/commit/c9e80f8e990d42ab4ebace439da2abe93d33afcb)) +* update dependency com.google.http-client:google-http-client-bom to v1.35.0 ([#23](https://www.github.com/googleapis/java-shared-dependencies/issues/23)) ([e1775c2](https://www.github.com/googleapis/java-shared-dependencies/commit/e1775c253b7ef1fdd306b30a6e7698a9370bbf81)) +* update dependency org.mockito:mockito-core to v3.3.3 ([#27](https://www.github.com/googleapis/java-shared-dependencies/issues/27)) ([8dfa3a5](https://www.github.com/googleapis/java-shared-dependencies/commit/8dfa3a5cc8c6a9e2477b63c2174d501a2bdec58a)) +* update dependency org.threeten:threetenbp to v1.4.4 ([#22](https://www.github.com/googleapis/java-shared-dependencies/issues/22)) ([4734794](https://www.github.com/googleapis/java-shared-dependencies/commit/47347943605ad7fdc3340a1a7691c500bbdf1fa2)) +* update google.common-protos.version to v1.18.0 ([#30](https://www.github.com/googleapis/java-shared-dependencies/issues/30)) ([6cb6cc1](https://www.github.com/googleapis/java-shared-dependencies/commit/6cb6cc1304f105307d60c013eaa1604a7537e17a)) + ## [0.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.1.1...v0.2.0) (2020-04-22) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 8d5d477df9d3..ae1b966c92b0 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.2.0 + 0.3.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ca0bbf0217da..d126ab6fd196 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 - 0.2.1-SNAPSHOT + 0.3.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 78e5cb7d117f..69094a041335 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.2.0:0.2.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.3.0:0.3.0 \ No newline at end of file From 62d87a1eacf12e2f1c25ebe8afbf67f1bfe442ef Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 5 May 2020 07:31:08 -0700 Subject: [PATCH 0871/3036] chore: make repo releasable (#1) --- java-iam/.github/ISSUE_TEMPLATE/bug_report.md | 51 ++ .../.github/ISSUE_TEMPLATE/feature_request.md | 21 + .../.github/ISSUE_TEMPLATE/support_request.md | 7 + java-iam/.github/PULL_REQUEST_TEMPLATE.md | 7 + java-iam/.github/release-please.yml | 2 + java-iam/.github/trusted-contribution.yml | 2 + java-iam/.gitignore | 15 + java-iam/.kokoro/build.bat | 3 + java-iam/.kokoro/build.sh | 113 +++ java-iam/.kokoro/coerce_logs.sh | 38 + java-iam/.kokoro/common.cfg | 13 + java-iam/.kokoro/common.sh | 59 ++ java-iam/.kokoro/continuous/common.cfg | 25 + java-iam/.kokoro/continuous/dependencies.cfg | 12 + java-iam/.kokoro/continuous/integration.cfg | 7 + java-iam/.kokoro/continuous/java11.cfg | 7 + java-iam/.kokoro/continuous/java7.cfg | 7 + java-iam/.kokoro/continuous/java8-osx.cfg | 3 + java-iam/.kokoro/continuous/java8-win.cfg | 3 + java-iam/.kokoro/continuous/java8.cfg | 12 + java-iam/.kokoro/continuous/lint.cfg | 13 + .../.kokoro/continuous/propose_release.cfg | 53 ++ java-iam/.kokoro/continuous/samples.cfg | 31 + java-iam/.kokoro/dependencies.sh | 86 ++ java-iam/.kokoro/linkage-monitor.sh | 46 + java-iam/.kokoro/nightly/common.cfg | 25 + java-iam/.kokoro/nightly/dependencies.cfg | 12 + java-iam/.kokoro/nightly/integration.cfg | 41 + java-iam/.kokoro/nightly/java11.cfg | 7 + java-iam/.kokoro/nightly/java7.cfg | 7 + java-iam/.kokoro/nightly/java8-osx.cfg | 3 + java-iam/.kokoro/nightly/java8-win.cfg | 3 + java-iam/.kokoro/nightly/java8.cfg | 12 + java-iam/.kokoro/nightly/lint.cfg | 13 + java-iam/.kokoro/nightly/samples.cfg | 42 + java-iam/.kokoro/presubmit/clirr.cfg | 13 + java-iam/.kokoro/presubmit/common.cfg | 34 + java-iam/.kokoro/presubmit/dependencies.cfg | 12 + java-iam/.kokoro/presubmit/integration.cfg | 37 + java-iam/.kokoro/presubmit/java11.cfg | 7 + java-iam/.kokoro/presubmit/java7.cfg | 7 + java-iam/.kokoro/presubmit/java8-osx.cfg | 3 + java-iam/.kokoro/presubmit/java8-win.cfg | 3 + java-iam/.kokoro/presubmit/java8.cfg | 12 + .../.kokoro/presubmit/linkage-monitor.cfg | 12 + java-iam/.kokoro/presubmit/lint.cfg | 13 + java-iam/.kokoro/presubmit/samples.cfg | 37 + java-iam/.kokoro/release/bump_snapshot.cfg | 53 ++ java-iam/.kokoro/release/common.cfg | 49 + java-iam/.kokoro/release/common.sh | 50 ++ java-iam/.kokoro/release/drop.cfg | 6 + java-iam/.kokoro/release/drop.sh | 32 + java-iam/.kokoro/release/promote.cfg | 6 + java-iam/.kokoro/release/promote.sh | 34 + java-iam/.kokoro/release/publish_javadoc.cfg | 19 + java-iam/.kokoro/release/publish_javadoc.sh | 55 ++ java-iam/.kokoro/release/snapshot.cfg | 6 + java-iam/.kokoro/release/snapshot.sh | 33 + java-iam/.kokoro/release/stage.cfg | 44 + java-iam/.kokoro/release/stage.sh | 42 + java-iam/.kokoro/trampoline.sh | 24 + java-iam/.repo-metadata.json | 14 + java-iam/CODE_OF_CONDUCT.md | 93 ++ java-iam/CONTRIBUTING.md | 130 +++ java-iam/LICENSE | 227 ++++- java-iam/README.md | 71 ++ java-iam/codecov.yaml | 4 + .../clirr-ignored-differences.xml | 10 + java-iam/grpc-google-iam-v1/pom.xml | 66 ++ .../java/com/google/iam/v1/IAMPolicyGrpc.java | 526 ++++++----- java-iam/java.header | 15 + java-iam/license-checks.xml | 10 + java-iam/pom.xml | 188 ++++ java-iam/proto-google-iam-v1/pom.xml | 34 + .../com/google/iam/v1/AuditConfigDelta.java | 838 ++++++++++-------- .../iam/v1/AuditConfigDeltaOrBuilder.java | 67 +- .../main/java/com/google/iam/v1/Binding.java | 681 ++++++++------ .../java/com/google/iam/v1/BindingDelta.java | 800 ++++++++++------- .../google/iam/v1/BindingDeltaOrBuilder.java | 64 +- .../com/google/iam/v1/BindingOrBuilder.java | 67 +- .../google/iam/v1/GetIamPolicyRequest.java | 604 +++++++------ .../iam/v1/GetIamPolicyRequestOrBuilder.java | 53 +- .../com/google/iam/v1/GetPolicyOptions.java | 380 ++++---- .../iam/v1/GetPolicyOptionsOrBuilder.java | 22 +- .../com/google/iam/v1/IamPolicyProto.java | 199 +++-- .../java/com/google/iam/v1/OptionsProto.java | 87 +- .../main/java/com/google/iam/v1/Policy.java | 624 +++++++------ .../java/com/google/iam/v1/PolicyDelta.java | 618 ++++++++----- .../google/iam/v1/PolicyDeltaOrBuilder.java | 59 +- .../com/google/iam/v1/PolicyOrBuilder.java | 58 +- .../java/com/google/iam/v1/PolicyProto.java | 192 ++-- .../google/iam/v1/SetIamPolicyRequest.java | 625 +++++++------ .../iam/v1/SetIamPolicyRequestOrBuilder.java | 59 +- .../iam/v1/TestIamPermissionsRequest.java | 671 ++++++++------ .../TestIamPermissionsRequestOrBuilder.java | 73 +- .../iam/v1/TestIamPermissionsResponse.java | 480 ++++++---- .../TestIamPermissionsResponseOrBuilder.java | 44 +- .../com/google/iam/v1/logging/AuditData.java | 444 ++++++---- .../iam/v1/logging/AuditDataOrBuilder.java | 28 +- .../google/iam/v1/logging/AuditDataProto.java | 93 +- java-iam/renovate.json | 80 ++ java-iam/synth.metadata | 37 + java-iam/synth.py | 68 ++ java-iam/versions.txt | 4 + 104 files changed, 7547 insertions(+), 3404 deletions(-) create mode 100644 java-iam/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 java-iam/.github/ISSUE_TEMPLATE/feature_request.md create mode 100644 java-iam/.github/ISSUE_TEMPLATE/support_request.md create mode 100644 java-iam/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 java-iam/.github/release-please.yml create mode 100644 java-iam/.github/trusted-contribution.yml create mode 100644 java-iam/.gitignore create mode 100644 java-iam/.kokoro/build.bat create mode 100755 java-iam/.kokoro/build.sh create mode 100755 java-iam/.kokoro/coerce_logs.sh create mode 100644 java-iam/.kokoro/common.cfg create mode 100644 java-iam/.kokoro/common.sh create mode 100644 java-iam/.kokoro/continuous/common.cfg create mode 100644 java-iam/.kokoro/continuous/dependencies.cfg create mode 100644 java-iam/.kokoro/continuous/integration.cfg create mode 100644 java-iam/.kokoro/continuous/java11.cfg create mode 100644 java-iam/.kokoro/continuous/java7.cfg create mode 100644 java-iam/.kokoro/continuous/java8-osx.cfg create mode 100644 java-iam/.kokoro/continuous/java8-win.cfg create mode 100644 java-iam/.kokoro/continuous/java8.cfg create mode 100644 java-iam/.kokoro/continuous/lint.cfg create mode 100644 java-iam/.kokoro/continuous/propose_release.cfg create mode 100644 java-iam/.kokoro/continuous/samples.cfg create mode 100755 java-iam/.kokoro/dependencies.sh create mode 100755 java-iam/.kokoro/linkage-monitor.sh create mode 100644 java-iam/.kokoro/nightly/common.cfg create mode 100644 java-iam/.kokoro/nightly/dependencies.cfg create mode 100644 java-iam/.kokoro/nightly/integration.cfg create mode 100644 java-iam/.kokoro/nightly/java11.cfg create mode 100644 java-iam/.kokoro/nightly/java7.cfg create mode 100644 java-iam/.kokoro/nightly/java8-osx.cfg create mode 100644 java-iam/.kokoro/nightly/java8-win.cfg create mode 100644 java-iam/.kokoro/nightly/java8.cfg create mode 100644 java-iam/.kokoro/nightly/lint.cfg create mode 100644 java-iam/.kokoro/nightly/samples.cfg create mode 100644 java-iam/.kokoro/presubmit/clirr.cfg create mode 100644 java-iam/.kokoro/presubmit/common.cfg create mode 100644 java-iam/.kokoro/presubmit/dependencies.cfg create mode 100644 java-iam/.kokoro/presubmit/integration.cfg create mode 100644 java-iam/.kokoro/presubmit/java11.cfg create mode 100644 java-iam/.kokoro/presubmit/java7.cfg create mode 100644 java-iam/.kokoro/presubmit/java8-osx.cfg create mode 100644 java-iam/.kokoro/presubmit/java8-win.cfg create mode 100644 java-iam/.kokoro/presubmit/java8.cfg create mode 100644 java-iam/.kokoro/presubmit/linkage-monitor.cfg create mode 100644 java-iam/.kokoro/presubmit/lint.cfg create mode 100644 java-iam/.kokoro/presubmit/samples.cfg create mode 100644 java-iam/.kokoro/release/bump_snapshot.cfg create mode 100644 java-iam/.kokoro/release/common.cfg create mode 100755 java-iam/.kokoro/release/common.sh create mode 100644 java-iam/.kokoro/release/drop.cfg create mode 100755 java-iam/.kokoro/release/drop.sh create mode 100644 java-iam/.kokoro/release/promote.cfg create mode 100755 java-iam/.kokoro/release/promote.sh create mode 100644 java-iam/.kokoro/release/publish_javadoc.cfg create mode 100755 java-iam/.kokoro/release/publish_javadoc.sh create mode 100644 java-iam/.kokoro/release/snapshot.cfg create mode 100755 java-iam/.kokoro/release/snapshot.sh create mode 100644 java-iam/.kokoro/release/stage.cfg create mode 100755 java-iam/.kokoro/release/stage.sh create mode 100644 java-iam/.kokoro/trampoline.sh create mode 100644 java-iam/.repo-metadata.json create mode 100644 java-iam/CODE_OF_CONDUCT.md create mode 100644 java-iam/CONTRIBUTING.md create mode 100644 java-iam/README.md create mode 100644 java-iam/codecov.yaml create mode 100644 java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml create mode 100644 java-iam/grpc-google-iam-v1/pom.xml create mode 100644 java-iam/java.header create mode 100644 java-iam/license-checks.xml create mode 100644 java-iam/pom.xml create mode 100644 java-iam/proto-google-iam-v1/pom.xml create mode 100644 java-iam/renovate.json create mode 100644 java-iam/synth.metadata create mode 100644 java-iam/synth.py create mode 100644 java-iam/versions.txt diff --git a/java-iam/.github/ISSUE_TEMPLATE/bug_report.md b/java-iam/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000000..ca40492f9751 --- /dev/null +++ b/java-iam/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,51 @@ +--- +name: Bug report +about: Create a report to help us improve + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +Please run down the following list and make sure you've tried the usual "quick fixes": + + - Search the issues already opened: https://github.com/googleapis/java-iam/issues + - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform + +If you are still having issues, please include as much information as possible: + +#### Environment details + +1. Specify the API at the beginning of the title. For example, "BigQuery: ..."). + General, Core, and Other are also allowed as types +2. OS type and version: +3. Java version: +4. iam version(s): + +#### Steps to reproduce + + 1. ? + 2. ? + +#### Code example + +```java +// example +``` + +#### Stack trace +``` +Any relevant stacktrace here. +``` + +#### External references such as API reference guides + +- ? + +#### Any additional information below + + +Following these steps guarantees the quickest resolution possible. + +Thanks! diff --git a/java-iam/.github/ISSUE_TEMPLATE/feature_request.md b/java-iam/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000000..754e30c68a00 --- /dev/null +++ b/java-iam/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,21 @@ +--- +name: Feature request +about: Suggest an idea for this library + +--- + +Thanks for stopping by to let us know something could be better! + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. + +**Is your feature request related to a problem? Please describe.** +What the problem is. Example: I'm always frustrated when [...] + +**Describe the solution you'd like** +What you want to happen. + +**Describe alternatives you've considered** +Any alternative solutions or features you've considered. + +**Additional context** +Any other context or screenshots about the feature request. diff --git a/java-iam/.github/ISSUE_TEMPLATE/support_request.md b/java-iam/.github/ISSUE_TEMPLATE/support_request.md new file mode 100644 index 000000000000..995869032125 --- /dev/null +++ b/java-iam/.github/ISSUE_TEMPLATE/support_request.md @@ -0,0 +1,7 @@ +--- +name: Support request +about: If you have a support contract with Google, please create an issue in the Google Cloud Support console. + +--- + +**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-iam/.github/PULL_REQUEST_TEMPLATE.md b/java-iam/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000000..dc7bb2ce84bc --- /dev/null +++ b/java-iam/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,7 @@ +Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: +- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-iam/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea +- [ ] Ensure the tests and linter pass +- [ ] Code coverage does not decrease (if any source code was changed) +- [ ] Appropriate docs were updated (if necessary) + +Fixes # ☕️ diff --git a/java-iam/.github/release-please.yml b/java-iam/.github/release-please.yml new file mode 100644 index 000000000000..dce2c8450921 --- /dev/null +++ b/java-iam/.github/release-please.yml @@ -0,0 +1,2 @@ +releaseType: java-yoshi +bumpMinorPreMajor: true \ No newline at end of file diff --git a/java-iam/.github/trusted-contribution.yml b/java-iam/.github/trusted-contribution.yml new file mode 100644 index 000000000000..f247d5c78934 --- /dev/null +++ b/java-iam/.github/trusted-contribution.yml @@ -0,0 +1,2 @@ +trustedContributors: +- renovate-bot \ No newline at end of file diff --git a/java-iam/.gitignore b/java-iam/.gitignore new file mode 100644 index 000000000000..fadd6afc2dfd --- /dev/null +++ b/java-iam/.gitignore @@ -0,0 +1,15 @@ +# Maven +target/ + +# Eclipse +.classpath +.project +.settings + +# Intellij +*.iml +.idea/ + +# python utilities +*.pyc +__pycache__ diff --git a/java-iam/.kokoro/build.bat b/java-iam/.kokoro/build.bat new file mode 100644 index 000000000000..5af7c27ed167 --- /dev/null +++ b/java-iam/.kokoro/build.bat @@ -0,0 +1,3 @@ +:: See documentation in type-shell-output.bat + +"C:\Program Files\Git\bin\bash.exe" github/java-iam/.kokoro/build.sh diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh new file mode 100755 index 000000000000..d4d2592dd0e6 --- /dev/null +++ b/java-iam/.kokoro/build.sh @@ -0,0 +1,113 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh + +# Print out Java version +java -version +echo ${JOB_TYPE} + +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C + +# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it +if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) +fi + +RETURN_CODE=0 +set +e + +case ${JOB_TYPE} in +test) + mvn test -B -Dclirr.skip=true -Denforcer.skip=true + RETURN_CODE=$? + ;; +lint) + mvn \ + -Penable-samples \ + com.coveo:fmt-maven-plugin:check + RETURN_CODE=$? + ;; +javadoc) + mvn javadoc:javadoc javadoc:test-javadoc + RETURN_CODE=$? + ;; +integration) + mvn -B ${INTEGRATION_TEST_ARGS} \ + -Penable-integration-tests \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + RETURN_CODE=$? + ;; +samples) + if [[ -f samples/pom.xml ]] + then + pushd samples + mvn -B \ + -Penable-samples \ + -DtrimStackTrace=false \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -fae \ + verify + RETURN_CODE=$? + popd + else + echo "no sample pom.xml found - skipping sample tests" + fi + ;; +clirr) + mvn -B -Denforcer.skip=true clirr:check + RETURN_CODE=$? + ;; +*) + ;; +esac + +if [ "${REPORT_COVERAGE}" == "true" ] +then + bash ${KOKORO_GFILE_DIR}/codecov.sh +fi + +# fix output location of logs +bash .kokoro/coerce_logs.sh + +if [[ "${ENABLE_BUILD_COP}" == "true" ]] +then + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop + ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-iam +fi + +echo "exiting with ${RETURN_CODE}" +exit ${RETURN_CODE} diff --git a/java-iam/.kokoro/coerce_logs.sh b/java-iam/.kokoro/coerce_logs.sh new file mode 100755 index 000000000000..5cf7ba49e6bb --- /dev/null +++ b/java-iam/.kokoro/coerce_logs.sh @@ -0,0 +1,38 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This script finds and moves sponge logs so that they can be found by placer +# and are not flagged as flaky by sponge. + +set -eo pipefail + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +job=$(basename ${KOKORO_JOB_NAME}) + +echo "coercing sponge logs..." +for xml in `find . -name *-sponge_log.xml` +do + echo "processing ${xml}" + class=$(basename ${xml} | cut -d- -f2) + dir=$(dirname ${xml})/${job}/${class} + text=$(dirname ${xml})/${class}-sponge_log.txt + mkdir -p ${dir} + mv ${xml} ${dir}/sponge_log.xml + mv ${text} ${dir}/sponge_log.txt +done diff --git a/java-iam/.kokoro/common.cfg b/java-iam/.kokoro/common.cfg new file mode 100644 index 000000000000..349dd92a7815 --- /dev/null +++ b/java-iam/.kokoro/common.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# All builds use the trampoline script to run in docker. +build_file: "java-iam/.kokoro/trampoline.sh" + +# Tell the trampoline which build file to use. +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/build.sh" +} diff --git a/java-iam/.kokoro/common.sh b/java-iam/.kokoro/common.sh new file mode 100644 index 000000000000..a8d0ea04d37d --- /dev/null +++ b/java-iam/.kokoro/common.sh @@ -0,0 +1,59 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +function retry_with_backoff { + attempts_left=$1 + sleep_seconds=$2 + shift 2 + command=$@ + + + # store current flag state + flags=$- + + # allow a failures to continue + set +e + echo "${command}" + ${command} + exit_code=$? + + # restore "e" flag + if [[ ${flags} =~ e ]] + then set -e + else set +e + fi + + if [[ $exit_code == 0 ]] + then + return 0 + fi + + # failure + if [[ ${attempts_left} > 0 ]] + then + echo "failure (${exit_code}), sleeping ${sleep_seconds}..." + sleep ${sleep_seconds} + new_attempts=$((${attempts_left} - 1)) + new_sleep=$((${sleep_seconds} * 2)) + retry_with_backoff ${new_attempts} ${new_sleep} ${command} + fi + + return $exit_code +} + +## Helper functionss +function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } +function msg() { println "$*" >&2; } +function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file diff --git a/java-iam/.kokoro/continuous/common.cfg b/java-iam/.kokoro/continuous/common.cfg new file mode 100644 index 000000000000..90c639ac13ad --- /dev/null +++ b/java-iam/.kokoro/continuous/common.cfg @@ -0,0 +1,25 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.txt" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-iam/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} diff --git a/java-iam/.kokoro/continuous/dependencies.cfg b/java-iam/.kokoro/continuous/dependencies.cfg new file mode 100644 index 000000000000..fda7101a646a --- /dev/null +++ b/java-iam/.kokoro/continuous/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/dependencies.sh" +} diff --git a/java-iam/.kokoro/continuous/integration.cfg b/java-iam/.kokoro/continuous/integration.cfg new file mode 100644 index 000000000000..3b017fc80f04 --- /dev/null +++ b/java-iam/.kokoro/continuous/integration.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} diff --git a/java-iam/.kokoro/continuous/java11.cfg b/java-iam/.kokoro/continuous/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-iam/.kokoro/continuous/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-iam/.kokoro/continuous/java7.cfg b/java-iam/.kokoro/continuous/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-iam/.kokoro/continuous/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-iam/.kokoro/continuous/java8-osx.cfg b/java-iam/.kokoro/continuous/java8-osx.cfg new file mode 100644 index 000000000000..1affbbe4adc8 --- /dev/null +++ b/java-iam/.kokoro/continuous/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-iam/.kokoro/build.sh" diff --git a/java-iam/.kokoro/continuous/java8-win.cfg b/java-iam/.kokoro/continuous/java8-win.cfg new file mode 100644 index 000000000000..4c8e051ae085 --- /dev/null +++ b/java-iam/.kokoro/continuous/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-iam/.kokoro/build.bat" diff --git a/java-iam/.kokoro/continuous/java8.cfg b/java-iam/.kokoro/continuous/java8.cfg new file mode 100644 index 000000000000..495cc7bacd63 --- /dev/null +++ b/java-iam/.kokoro/continuous/java8.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-iam/.kokoro/continuous/lint.cfg b/java-iam/.kokoro/continuous/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-iam/.kokoro/continuous/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-iam/.kokoro/continuous/propose_release.cfg b/java-iam/.kokoro/continuous/propose_release.cfg new file mode 100644 index 000000000000..4df19cc2f9fe --- /dev/null +++ b/java-iam/.kokoro/continuous/propose_release.cfg @@ -0,0 +1,53 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-iam/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/continuous/propose_release.sh" +} + +# tokens used by release-please to keep an up-to-date release PR. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-key-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-token-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-url-release-please" + } + } +} diff --git a/java-iam/.kokoro/continuous/samples.cfg b/java-iam/.kokoro/continuous/samples.cfg new file mode 100644 index 000000000000..fa7b493d0b5c --- /dev/null +++ b/java-iam/.kokoro/continuous/samples.cfg @@ -0,0 +1,31 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh new file mode 100755 index 000000000000..cf3bb4347e01 --- /dev/null +++ b/java-iam/.kokoro/dependencies.sh @@ -0,0 +1,86 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh + +# Print out Java +java -version +echo $JOB_TYPE + +export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" + +# this should run maven enforcer +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true + +mvn -B dependency:analyze -DfailOnWarning=true + +echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" +## Run dependency list completeness check +function completenessCheck() { + # Output dep list with compile scope generated using the original pom + msg "Generating dependency list using original pom..." + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + + # Output dep list generated using the flattened pom (test scope deps are ommitted) + msg "Generating dependency list using flattened pom..." + mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + + # Compare two dependency lists + msg "Comparing dependency lists..." + diff .org-list.txt .new-list.txt >.diff.txt + if [[ $? == 0 ]] + then + msg "Success. No diff!" + else + msg "Diff found. See below: " + msg "You can also check .diff.txt file located in $1." + cat .diff.txt + return 1 + fi +} + +# Allow failures to continue running the script +set +e + +error_count=0 +for path in $(find -name ".flattened-pom.xml") +do + # Check flattened pom in each dir that contains it for completeness + dir=$(dirname "$path") + pushd "$dir" + completenessCheck "$dir" + error_count=$(($error_count + $?)) + popd +done + +if [[ $error_count == 0 ]] +then + msg "All checks passed." + exit 0 +else + msg "Errors found. See log statements above." + exit 1 +fi diff --git a/java-iam/.kokoro/linkage-monitor.sh b/java-iam/.kokoro/linkage-monitor.sh new file mode 100755 index 000000000000..759ab4e2c220 --- /dev/null +++ b/java-iam/.kokoro/linkage-monitor.sh @@ -0,0 +1,46 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail +# Display commands being run. +set -x + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh + +# Print out Java version +java -version +echo ${JOB_TYPE} + +# attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true + +# Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR +JAR=linkage-monitor-latest-all-deps.jar +curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}" + +# Fails if there's new linkage errors compared with baseline +java -jar ${JAR} com.google.cloud:libraries-bom diff --git a/java-iam/.kokoro/nightly/common.cfg b/java-iam/.kokoro/nightly/common.cfg new file mode 100644 index 000000000000..90c639ac13ad --- /dev/null +++ b/java-iam/.kokoro/nightly/common.cfg @@ -0,0 +1,25 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.txt" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-iam/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} diff --git a/java-iam/.kokoro/nightly/dependencies.cfg b/java-iam/.kokoro/nightly/dependencies.cfg new file mode 100644 index 000000000000..fda7101a646a --- /dev/null +++ b/java-iam/.kokoro/nightly/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/dependencies.sh" +} diff --git a/java-iam/.kokoro/nightly/integration.cfg b/java-iam/.kokoro/nightly/integration.cfg new file mode 100644 index 000000000000..40c4abb7bf08 --- /dev/null +++ b/java-iam/.kokoro/nightly/integration.cfg @@ -0,0 +1,41 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-iam/.kokoro/nightly/java11.cfg b/java-iam/.kokoro/nightly/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-iam/.kokoro/nightly/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-iam/.kokoro/nightly/java7.cfg b/java-iam/.kokoro/nightly/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-iam/.kokoro/nightly/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-iam/.kokoro/nightly/java8-osx.cfg b/java-iam/.kokoro/nightly/java8-osx.cfg new file mode 100644 index 000000000000..1affbbe4adc8 --- /dev/null +++ b/java-iam/.kokoro/nightly/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-iam/.kokoro/build.sh" diff --git a/java-iam/.kokoro/nightly/java8-win.cfg b/java-iam/.kokoro/nightly/java8-win.cfg new file mode 100644 index 000000000000..4c8e051ae085 --- /dev/null +++ b/java-iam/.kokoro/nightly/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-iam/.kokoro/build.bat" diff --git a/java-iam/.kokoro/nightly/java8.cfg b/java-iam/.kokoro/nightly/java8.cfg new file mode 100644 index 000000000000..495cc7bacd63 --- /dev/null +++ b/java-iam/.kokoro/nightly/java8.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-iam/.kokoro/nightly/lint.cfg b/java-iam/.kokoro/nightly/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-iam/.kokoro/nightly/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-iam/.kokoro/nightly/samples.cfg b/java-iam/.kokoro/nightly/samples.cfg new file mode 100644 index 000000000000..20aabd55de11 --- /dev/null +++ b/java-iam/.kokoro/nightly/samples.cfg @@ -0,0 +1,42 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-iam/.kokoro/presubmit/clirr.cfg b/java-iam/.kokoro/presubmit/clirr.cfg new file mode 100644 index 000000000000..ec572442e2e7 --- /dev/null +++ b/java-iam/.kokoro/presubmit/clirr.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "clirr" +} \ No newline at end of file diff --git a/java-iam/.kokoro/presubmit/common.cfg b/java-iam/.kokoro/presubmit/common.cfg new file mode 100644 index 000000000000..5bce0b64cbee --- /dev/null +++ b/java-iam/.kokoro/presubmit/common.cfg @@ -0,0 +1,34 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.txt" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-iam/.kokoro/trampoline.sh" + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/build.sh" +} + +env_vars: { + key: "JOB_TYPE" + value: "test" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "dpebot_codecov_token" + } + } +} diff --git a/java-iam/.kokoro/presubmit/dependencies.cfg b/java-iam/.kokoro/presubmit/dependencies.cfg new file mode 100644 index 000000000000..fda7101a646a --- /dev/null +++ b/java-iam/.kokoro/presubmit/dependencies.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/dependencies.sh" +} diff --git a/java-iam/.kokoro/presubmit/integration.cfg b/java-iam/.kokoro/presubmit/integration.cfg new file mode 100644 index 000000000000..522e5b10101c --- /dev/null +++ b/java-iam/.kokoro/presubmit/integration.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-iam/.kokoro/presubmit/java11.cfg b/java-iam/.kokoro/presubmit/java11.cfg new file mode 100644 index 000000000000..709f2b4c73db --- /dev/null +++ b/java-iam/.kokoro/presubmit/java11.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} diff --git a/java-iam/.kokoro/presubmit/java7.cfg b/java-iam/.kokoro/presubmit/java7.cfg new file mode 100644 index 000000000000..cb24f44eea3b --- /dev/null +++ b/java-iam/.kokoro/presubmit/java7.cfg @@ -0,0 +1,7 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java7" +} diff --git a/java-iam/.kokoro/presubmit/java8-osx.cfg b/java-iam/.kokoro/presubmit/java8-osx.cfg new file mode 100644 index 000000000000..1affbbe4adc8 --- /dev/null +++ b/java-iam/.kokoro/presubmit/java8-osx.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-iam/.kokoro/build.sh" diff --git a/java-iam/.kokoro/presubmit/java8-win.cfg b/java-iam/.kokoro/presubmit/java8-win.cfg new file mode 100644 index 000000000000..4c8e051ae085 --- /dev/null +++ b/java-iam/.kokoro/presubmit/java8-win.cfg @@ -0,0 +1,3 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +build_file: "java-iam/.kokoro/build.bat" diff --git a/java-iam/.kokoro/presubmit/java8.cfg b/java-iam/.kokoro/presubmit/java8.cfg new file mode 100644 index 000000000000..495cc7bacd63 --- /dev/null +++ b/java-iam/.kokoro/presubmit/java8.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "REPORT_COVERAGE" + value: "true" +} diff --git a/java-iam/.kokoro/presubmit/linkage-monitor.cfg b/java-iam/.kokoro/presubmit/linkage-monitor.cfg new file mode 100644 index 000000000000..7af8810aafa2 --- /dev/null +++ b/java-iam/.kokoro/presubmit/linkage-monitor.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/linkage-monitor.sh" +} \ No newline at end of file diff --git a/java-iam/.kokoro/presubmit/lint.cfg b/java-iam/.kokoro/presubmit/lint.cfg new file mode 100644 index 000000000000..6d323c8ae768 --- /dev/null +++ b/java-iam/.kokoro/presubmit/lint.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "lint" +} \ No newline at end of file diff --git a/java-iam/.kokoro/presubmit/samples.cfg b/java-iam/.kokoro/presubmit/samples.cfg new file mode 100644 index 000000000000..1171aead01f0 --- /dev/null +++ b/java-iam/.kokoro/presubmit/samples.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "JOB_TYPE" + value: "samples" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "java-docs-samples-testing" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "keystore/73713_java_it_service_account" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "java_it_service_account" + } + } +} diff --git a/java-iam/.kokoro/release/bump_snapshot.cfg b/java-iam/.kokoro/release/bump_snapshot.cfg new file mode 100644 index 000000000000..1e28b5ed717d --- /dev/null +++ b/java-iam/.kokoro/release/bump_snapshot.cfg @@ -0,0 +1,53 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + } +} + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-iam/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/release/bump_snapshot.sh" +} + +# tokens used by release-please to keep an up-to-date release PR. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-key-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-token-release-please" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "github-magic-proxy-url-release-please" + } + } +} diff --git a/java-iam/.kokoro/release/common.cfg b/java-iam/.kokoro/release/common.cfg new file mode 100644 index 000000000000..9428634ae68a --- /dev/null +++ b/java-iam/.kokoro/release/common.cfg @@ -0,0 +1,49 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Download trampoline resources. +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" + +# Use the trampoline script to run in docker. +build_file: "java-iam/.kokoro/trampoline.sh" + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-keyring" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-passphrase" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "maven-gpg-pubkeyring" + } + } +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 70247 + keyname: "sonatype-credentials" + } + } +} diff --git a/java-iam/.kokoro/release/common.sh b/java-iam/.kokoro/release/common.sh new file mode 100755 index 000000000000..6e3f65999b3d --- /dev/null +++ b/java-iam/.kokoro/release/common.sh @@ -0,0 +1,50 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# Get secrets from keystore and set and environment variables +setup_environment_secrets() { + export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) + export GPG_TTY=$(tty) + export GPG_HOMEDIR=/gpg + mkdir $GPG_HOMEDIR + mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg + mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-keyring $GPG_HOMEDIR/secring.gpg + export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f1 -d'|') + export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f2 -d'|') +} + +create_settings_xml_file() { + echo " + + + ossrh + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-staging + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-snapshots + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + +" > $1 +} \ No newline at end of file diff --git a/java-iam/.kokoro/release/drop.cfg b/java-iam/.kokoro/release/drop.cfg new file mode 100644 index 000000000000..85fcca33f3b4 --- /dev/null +++ b/java-iam/.kokoro/release/drop.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/release/drop.sh" +} diff --git a/java-iam/.kokoro/release/drop.sh b/java-iam/.kokoro/release/drop.sh new file mode 100755 index 000000000000..5c4551efa2c0 --- /dev/null +++ b/java-iam/.kokoro/release/drop.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# STAGING_REPOSITORY_ID must be set +if [ -z "${STAGING_REPOSITORY_ID}" ]; then + echo "Missing STAGING_REPOSITORY_ID environment variable" + exit 1 +fi + +source $(dirname "$0")/common.sh +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn nexus-staging:drop -B \ + --settings=settings.xml \ + -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-iam/.kokoro/release/promote.cfg b/java-iam/.kokoro/release/promote.cfg new file mode 100644 index 000000000000..de997603d2dc --- /dev/null +++ b/java-iam/.kokoro/release/promote.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/release/promote.sh" +} diff --git a/java-iam/.kokoro/release/promote.sh b/java-iam/.kokoro/release/promote.sh new file mode 100755 index 000000000000..1fa95fa537a3 --- /dev/null +++ b/java-iam/.kokoro/release/promote.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# STAGING_REPOSITORY_ID must be set +if [ -z "${STAGING_REPOSITORY_ID}" ]; then + echo "Missing STAGING_REPOSITORY_ID environment variable" + exit 1 +fi + +source $(dirname "$0")/common.sh + +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn nexus-staging:release -B \ + -DperformRelease=true \ + --settings=settings.xml \ + -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg new file mode 100644 index 000000000000..f18e3d1d343d --- /dev/null +++ b/java-iam/.kokoro/release/publish_javadoc.cfg @@ -0,0 +1,19 @@ +# Format: //devtools/kokoro/config/proto/build.proto +env_vars: { + key: "STAGING_BUCKET" + value: "docs-staging" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/release/publish_javadoc.sh" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "docuploader_service_account" + } + } +} diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh new file mode 100755 index 000000000000..9542b0ee0acf --- /dev/null +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Copyright 2019 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +if [[ -z "${CREDENTIALS}" ]]; then + CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account +fi + +if [[ -z "${STAGING_BUCKET}" ]]; then + echo "Need to set STAGING_BUCKET environment variable" + exit 1 +fi + +# work from the git root directory +pushd $(dirname "$0")/../../ + +# install docuploader package +python3 -m pip install gcp-docuploader + +# compile all packages +mvn clean install -B -DskipTests=true + +NAME=proto-google-iam-v1 +VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) + +# build the docs +mvn site -B + +pushd target/site/apidocs + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET} + +popd diff --git a/java-iam/.kokoro/release/snapshot.cfg b/java-iam/.kokoro/release/snapshot.cfg new file mode 100644 index 000000000000..2a39f44fd950 --- /dev/null +++ b/java-iam/.kokoro/release/snapshot.cfg @@ -0,0 +1,6 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/release/snapshot.sh" +} \ No newline at end of file diff --git a/java-iam/.kokoro/release/snapshot.sh b/java-iam/.kokoro/release/snapshot.sh new file mode 100755 index 000000000000..098168a7373c --- /dev/null +++ b/java-iam/.kokoro/release/snapshot.sh @@ -0,0 +1,33 @@ +#!/bin/bash +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +source $(dirname "$0")/common.sh +MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml +pushd $(dirname "$0")/../../ + +# ensure we're trying to push a snapshot (no-result returns non-zero exit code) +grep SNAPSHOT versions.txt + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} diff --git a/java-iam/.kokoro/release/stage.cfg b/java-iam/.kokoro/release/stage.cfg new file mode 100644 index 000000000000..ba7799f2c732 --- /dev/null +++ b/java-iam/.kokoro/release/stage.cfg @@ -0,0 +1,44 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/release/stage.sh" +} + +# Need to save the properties file +action { + define_artifacts { + regex: "github/java-iam/target/nexus-staging/staging/*.properties" + strip_prefix: "github/java-iam" + } +} + +# Fetch the token needed for reporting release status to GitHub +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + } + } +} + +# Fetch magictoken to use with Magic Github Proxy +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "releasetool-magictoken" + } + } +} + +# Fetch api key to use with Magic Github Proxy +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "magic-github-proxy-api-key" + } + } +} diff --git a/java-iam/.kokoro/release/stage.sh b/java-iam/.kokoro/release/stage.sh new file mode 100755 index 000000000000..3c482cbc55f1 --- /dev/null +++ b/java-iam/.kokoro/release/stage.sh @@ -0,0 +1,42 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +# Start the releasetool reporter +python3 -m pip install gcp-releasetool +python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script + +source $(dirname "$0")/common.sh +MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml +pushd $(dirname "$0")/../../ + +setup_environment_secrets +create_settings_xml_file "settings.xml" + +mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DskipTests=true \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} + +if [[ -n "${AUTORELEASE_PR}" ]] +then + mvn nexus-staging:release -B \ + -DperformRelease=true \ + --settings=settings.xml +fi \ No newline at end of file diff --git a/java-iam/.kokoro/trampoline.sh b/java-iam/.kokoro/trampoline.sh new file mode 100644 index 000000000000..ba17ce01466b --- /dev/null +++ b/java-iam/.kokoro/trampoline.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Copyright 2018 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +set -eo pipefail +# Always run the cleanup script, regardless of the success of bouncing into +# the container. +function cleanup() { + chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh + echo "cleanup"; +} +trap cleanup EXIT +python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json new file mode 100644 index 000000000000..ac0e0203db89 --- /dev/null +++ b/java-iam/.repo-metadata.json @@ -0,0 +1,14 @@ +{ + "name": "iam", + "name_pretty": "IAM", + "product_documentation": "n/a", + "api_description": "n/a", + "client_documentation": "https://googleapis.dev/java/proto-google-iam-v1/latest/index.html", + "release_level": "beta", + "transport": "grpc", + "requires_billing": true, + "language": "java", + "repo": "googleapis/java-iam", + "repo_short": "java-iam", + "distribution_name": "com.google.api.grpc:proto-google-iam-v1" +} diff --git a/java-iam/CODE_OF_CONDUCT.md b/java-iam/CODE_OF_CONDUCT.md new file mode 100644 index 000000000000..6b2238bb75e0 --- /dev/null +++ b/java-iam/CODE_OF_CONDUCT.md @@ -0,0 +1,93 @@ +# Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of +experience, education, socio-economic status, nationality, personal appearance, +race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, or to ban temporarily or permanently any +contributor for other behaviors that they deem inappropriate, threatening, +offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +This Code of Conduct also applies outside the project spaces when the Project +Steward has a reasonable belief that an individual's behavior may have a +negative impact on the project or its community. + +## Conflict Resolution + +We do not believe that all conflict is bad; healthy debate and disagreement +often yield positive results. However, it is never okay to be disrespectful or +to engage in behavior that violates the project’s code of conduct. + +If you see someone violating the code of conduct, you are encouraged to address +the behavior directly with those involved. Many issues can be resolved quickly +and easily, and this gives people more control over the outcome of their +dispute. If you are unable to resolve the matter for any reason, or if the +behavior is threatening or harassing, report it. We are dedicated to providing +an environment where participants feel welcome and safe. + +Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the +Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +receive and address reported violations of the code of conduct. They will then +work with a committee consisting of representatives from the Open Source +Programs Office and the Google Open Source Strategy team. If for any reason you +are uncomfortable reaching out the Project Steward, please email +opensource@google.com. + +We will investigate every complaint, but you may not receive a direct response. +We will use our discretion in determining when and how to follow up on reported +incidents, which may range from not taking action to permanent expulsion from +the project and project-sponsored spaces. We will notify the accused of the +report and provide them an opportunity to discuss it before any action is taken. +The identity of the reporter will be omitted from the details of the report +supplied to the accused. In potentially harmful situations, such as ongoing +harassment or threats to anyone's safety, we may take action without notice. + +## Attribution + +This Code of Conduct is adapted from the Contributor Covenant, version 1.4, +available at +https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-iam/CONTRIBUTING.md b/java-iam/CONTRIBUTING.md new file mode 100644 index 000000000000..085021ddec26 --- /dev/null +++ b/java-iam/CONTRIBUTING.md @@ -0,0 +1,130 @@ +# How to Contribute + +We'd love to accept your patches and contributions to this project. There are +just a few small guidelines you need to follow. + +## Contributor License Agreement + +Contributions to this project must be accompanied by a Contributor License +Agreement. You (or your employer) retain the copyright to your contribution; +this simply gives us permission to use and redistribute your contributions as +part of the project. Head over to to see +your current agreements on file or to sign a new one. + +You generally only need to submit a CLA once, so if you've already submitted one +(even if it was for a different project), you probably don't need to do it +again. + +## Code reviews + +All submissions, including submissions by project members, require review. We +use GitHub pull requests for this purpose. Consult +[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more +information on using pull requests. + +## Community Guidelines + +This project follows +[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). + +## Building the project + +To build, package, and run all unit tests run the command + +``` +mvn clean verify +``` + +### Running Integration tests + +To include integration tests when building the project, you need access to +a GCP Project with a valid service account. + +For instructions on how to generate a service account and corresponding +credentials JSON see: [Creating a Service Account][1]. + +Then run the following to build, package, run all unit tests and run all +integration tests. + +```bash +export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json +mvn -Penable-integration-tests clean verify +``` + +## Code Samples + +Code Samples must be bundled in separate Maven modules, and guarded by a +Maven profile with the name `enable-samples`. + +The samples must be separate from the primary project for a few reasons: +1. Primary projects have a minimum Java version of Java 7 whereas samples have + a minimum Java version of Java 8. Due to this we need the ability to + selectively exclude samples from a build run. +2. Many code samples depend on external GCP services and need + credentials to access the service. +3. Code samples are not released as Maven artifacts and must be excluded from + release builds. + +### Building + +```bash +mvn -Penable-samples clean verify +``` + +Some samples require access to GCP services and require a service account: + +```bash +export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json +mvn -Penable-samples clean verify +``` + +### Profile Config + +1. To add samples in a profile to your Maven project, add the following to your +`pom.xml` + + ```xml + + [...] + + + enable-samples + + sample + + + + [...] + + ``` + +2. [Activate](#profile-activation) the profile. +3. Define your samples in a normal Maven project in the `samples/` directory + +### Profile Activation + +To include code samples when building and testing the project, enable the +`enable-samples` Maven profile. + +#### Command line + +To activate the Maven profile on the command line add `-Penable-samples` to your +Maven command. + +#### Maven `settings.xml` + +To activate the Maven profile in your `~/.m2/settings.xml` add an entry of +`enable-samples` following the instructions in [Active Profiles][2]. + +This method has the benefit of applying to all projects you build (and is +respected by IntelliJ IDEA) and is recommended if you are going to be +contributing samples to several projects. + +#### IntelliJ IDEA + +To activate the Maven Profile inside IntelliJ IDEA, follow the instructions in +[Activate Maven profiles][3] to activate `enable-samples`. + +[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account +[2]: https://maven.apache.org/settings.html#Active_Profiles +[3]: https://www.jetbrains.com/help/idea/work-with-maven-profiles.html#activate_maven_profiles diff --git a/java-iam/LICENSE b/java-iam/LICENSE index 1839ff93ec3d..d64569567334 100644 --- a/java-iam/LICENSE +++ b/java-iam/LICENSE @@ -1,25 +1,202 @@ -Copyright 2016, Google Inc. -All rights reserved. -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 Inc. 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. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/java-iam/README.md b/java-iam/README.md new file mode 100644 index 000000000000..463fd7cb7edb --- /dev/null +++ b/java-iam/README.md @@ -0,0 +1,71 @@ +# Google IAM Policy Protos + +Java protobuf classes for IAM Policy. + +[![Maven][maven-version-image]][maven-version-link] +![Stability][stability-image] + +- [Client Library Documentation][javadocs] + +> Note: This client is a work-in-progress, and may occasionally +> make backwards-incompatible changes. + +## Java Versions + +Java 7 or above is required for using this client. + +## Versioning + +This library follows [Semantic Versioning](http://semver.org/). + +It is currently in major version zero (`0.y.z`), which means that anything may change at any time +and the public API should not be considered stable. + +## Contributing + +Contributions to this library are always welcome and highly encouraged. + +See [CONTRIBUTING][contributing] for more information how to get started. + +Please note that this project is released with a Contributor Code of Conduct. By participating in +this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more +information. + +## License + +Apache 2.0 - See [LICENSE][license] for more information. + +## CI Status + +| Java Version | Status | +| -------------- | --------------------------------------------------------- | +| Java 7 | [![Kokoro CI][kokoro-badge-image-1]][kokoro-badge-link-1] | +| Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2] | +| Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3] | +| Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4] | +| Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] | + +[javadocs]: https://googleapis.dev/java/google-iam/latest/index.html +[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java7.svg +[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java7.html +[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8.svg +[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8.html +[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-osx.svg +[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-osx.html +[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-win.svg +[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-win.html +[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java11.svg +[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java11.html +[stability-image]: https://img.shields.io/badge/stability-beta-yellow +[maven-version-image]: https://img.shields.io/maven-central/v/com.google.api.grpc/proto-google-iam-v1.svg +[maven-version-link]: https://search.maven.org/search?q=g:com.google.api.grpc%20AND%20a:proto-google-iam-v1&core=gav +[authentication]: https://github.com/googleapis/google-cloud-java#authentication +[developer-console]: https://console.developers.google.com/ +[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects +[cloud-sdk]: https://cloud.google.com/sdk/ +[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting +[contributing]: https://github.com/googleapis/java-iam/blob/master/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-iam/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[license]: https://github.com/googleapis/java-iam/blob/master/LICENSE +[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing +[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM diff --git a/java-iam/codecov.yaml b/java-iam/codecov.yaml new file mode 100644 index 000000000000..5724ea9478d7 --- /dev/null +++ b/java-iam/codecov.yaml @@ -0,0 +1,4 @@ +--- +codecov: + ci: + - source.cloud.google.com diff --git a/java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml b/java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml new file mode 100644 index 000000000000..c50256c7a7c8 --- /dev/null +++ b/java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml @@ -0,0 +1,10 @@ + + + + + + 6001 + com/google/iam/v1/IAMPolicyGrpc + METHOD_* + + \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml new file mode 100644 index 000000000000..4948f365f6ac --- /dev/null +++ b/java-iam/grpc-google-iam-v1/pom.xml @@ -0,0 +1,66 @@ + + 4.0.0 + com.google.api.grpc + grpc-google-iam-v1 + 0.13.1-SNAPSHOT + grpc-google-iam-v1 + GRPC library for grpc-google-iam-v1 + + com.google.cloud + google-iam-parent + 0.13.1-SNAPSHOT + + + + io.grpc + grpc-api + + + io.grpc + grpc-stub + + + io.grpc + grpc-protobuf + + + com.google.protobuf + protobuf-java + + + com.google.guava + guava + + + com.google.api.grpc + proto-google-iam-v1 + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + + + + java9 + + [9,) + + + + javax.annotation + javax.annotation-api + 1.3.2 + + + + + \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java index 8e676b3ecf6f..55edd90485a8 100644 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -1,21 +1,30 @@ +/* + * 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. + */ package com.google.iam.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; -import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; -import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; import static io.grpc.stub.ClientCalls.blockingUnaryCall; import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; -import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; -import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall; import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** + * + * *
      * ## API Overview
      * Manages Identity and Access Management (IAM) policies.
    @@ -38,7 +47,7 @@
      * 
    */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.10.0)", + value = "by gRPC proto compiler", comments = "Source: google/iam/v1/iam_policy.proto") public final class IAMPolicyGrpc { @@ -47,142 +56,168 @@ private IAMPolicyGrpc() {} public static final String SERVICE_NAME = "google.iam.v1.IAMPolicy"; // Static method descriptors that strictly reflect the proto. - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @Deprecated // Use {@link #getSetIamPolicyMethod()} instead. - public static final io.grpc.MethodDescriptor METHOD_SET_IAM_POLICY = getSetIamPolicyMethodHelper(); - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - return getSetIamPolicyMethodHelper(); - } - - private static io.grpc.MethodDescriptor getSetIamPolicyMethodHelper() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { - IAMPolicyGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName( - "google.iam.v1.IAMPolicy", "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - Policy.getDefaultInstance())) - .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } + IAMPolicyGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("SetIamPolicy")) + .build(); } - } - return getSetIamPolicyMethod; - } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @Deprecated // Use {@link #getGetIamPolicyMethod()} instead. - public static final io.grpc.MethodDescriptor METHOD_GET_IAM_POLICY = getGetIamPolicyMethodHelper(); - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - return getGetIamPolicyMethodHelper(); + } + } + return getSetIamPolicyMethod; } - private static io.grpc.MethodDescriptor getGetIamPolicyMethodHelper() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { - IAMPolicyGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName( - "google.iam.v1.IAMPolicy", "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - Policy.getDefaultInstance())) - .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } + IAMPolicyGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("GetIamPolicy")) + .build(); } - } - return getGetIamPolicyMethod; - } - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - @Deprecated // Use {@link #getTestIamPermissionsMethod()} instead. - public static final io.grpc.MethodDescriptor METHOD_TEST_IAM_PERMISSIONS = getTestIamPermissionsMethodHelper(); - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - return getTestIamPermissionsMethodHelper(); + } + } + return getGetIamPolicyMethod; } - private static io.grpc.MethodDescriptor getTestIamPermissionsMethodHelper() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { synchronized (IAMPolicyGrpc.class) { if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { - IAMPolicyGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName( - "google.iam.v1.IAMPolicy", "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } + IAMPolicyGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new IAMPolicyMethodDescriptorSupplier("TestIamPermissions")) + .build(); } - } - return getTestIamPermissionsMethod; + } + } + return getTestIamPermissionsMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static IAMPolicyStub newStub(io.grpc.Channel channel) { - return new IAMPolicyStub(channel); + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IAMPolicyStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IAMPolicyStub(channel, callOptions); + } + }; + return IAMPolicyStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static IAMPolicyBlockingStub newBlockingStub( - io.grpc.Channel channel) { - return new IAMPolicyBlockingStub(channel); + public static IAMPolicyBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IAMPolicyBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IAMPolicyBlockingStub(channel, callOptions); + } + }; + return IAMPolicyBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static IAMPolicyFutureStub newFutureStub( - io.grpc.Channel channel) { - return new IAMPolicyFutureStub(channel); + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static IAMPolicyFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public IAMPolicyFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new IAMPolicyFutureStub(channel, callOptions); + } + }; + return IAMPolicyFutureStub.newStub(factory, channel); } /** + * + * *
        * ## API Overview
        * Manages Identity and Access Management (IAM) policies.
    @@ -204,32 +239,40 @@ public static IAMPolicyFutureStub newFutureStub(
        * attached.
        * 
    */ - public static abstract class IAMPolicyImplBase implements io.grpc.BindableService { + public abstract static class IAMPolicyImplBase implements io.grpc.BindableService { /** + * + * *
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
          * 
    */ - public void setIamPolicy(SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSetIamPolicyMethodHelper(), responseObserver); + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** + * + * *
          * Gets the access control policy for a resource.
          * Returns an empty policy if the resource exists and does not have a policy
          * set.
          * 
    */ - public void getIamPolicy(GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetIamPolicyMethodHelper(), responseObserver); + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** + * + * *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    @@ -239,39 +282,42 @@ public void getIamPolicy(GetIamPolicyRequest request,
          * may "fail open" without warning.
          * 
    */ - public void testIamPermissions(TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getTestIamPermissionsMethodHelper(), responseObserver); + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } - @Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getSetIamPolicyMethodHelper(), - asyncUnaryCall( - new MethodHandlers< - SetIamPolicyRequest, - Policy>( - this, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) .addMethod( - getGetIamPolicyMethodHelper(), - asyncUnaryCall( - new MethodHandlers< - GetIamPolicyRequest, - Policy>( - this, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethodHelper(), - asyncUnaryCall( - new MethodHandlers< - TestIamPermissionsRequest, - TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) .build(); } } /** + * + * *
        * ## API Overview
        * Manages Identity and Access Management (IAM) policies.
    @@ -293,48 +339,54 @@ public void testIamPermissions(TestIamPermissionsRequest request,
        * attached.
        * 
    */ - public static final class IAMPolicyStub extends io.grpc.stub.AbstractStub { - private IAMPolicyStub(io.grpc.Channel channel) { - super(channel); - } - - private IAMPolicyStub(io.grpc.Channel channel, - io.grpc.CallOptions callOptions) { + public static final class IAMPolicyStub extends io.grpc.stub.AbstractAsyncStub { + private IAMPolicyStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } - @Override - protected IAMPolicyStub build(io.grpc.Channel channel, - io.grpc.CallOptions callOptions) { + @java.lang.Override + protected IAMPolicyStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IAMPolicyStub(channel, callOptions); } /** + * + * *
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
          * 
    */ - public void setIamPolicy(SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethodHelper(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
          * Gets the access control policy for a resource.
          * Returns an empty policy if the resource exists and does not have a policy
          * set.
          * 
    */ - public void getIamPolicy(GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethodHelper(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    @@ -344,14 +396,20 @@ public void getIamPolicy(GetIamPolicyRequest request,
          * may "fail open" without warning.
          * 
    */ - public void testIamPermissions(TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethodHelper(), getCallOptions()), request, responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
        * ## API Overview
        * Manages Identity and Access Management (IAM) policies.
    @@ -373,46 +431,46 @@ public void testIamPermissions(TestIamPermissionsRequest request,
        * attached.
        * 
    */ - public static final class IAMPolicyBlockingStub extends io.grpc.stub.AbstractStub { - private IAMPolicyBlockingStub(io.grpc.Channel channel) { - super(channel); - } - - private IAMPolicyBlockingStub(io.grpc.Channel channel, - io.grpc.CallOptions callOptions) { + public static final class IAMPolicyBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private IAMPolicyBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } - @Override - protected IAMPolicyBlockingStub build(io.grpc.Channel channel, - io.grpc.CallOptions callOptions) { + @java.lang.Override + protected IAMPolicyBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IAMPolicyBlockingStub(channel, callOptions); } /** + * + * *
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
          * 
    */ - public Policy setIamPolicy(SetIamPolicyRequest request) { - return blockingUnaryCall( - getChannel(), getSetIamPolicyMethodHelper(), getCallOptions(), request); + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return blockingUnaryCall(getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); } /** + * + * *
          * Gets the access control policy for a resource.
          * Returns an empty policy if the resource exists and does not have a policy
          * set.
          * 
    */ - public Policy getIamPolicy(GetIamPolicyRequest request) { - return blockingUnaryCall( - getChannel(), getGetIamPolicyMethodHelper(), getCallOptions(), request); + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return blockingUnaryCall(getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); } /** + * + * *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    @@ -422,13 +480,16 @@ public Policy getIamPolicy(GetIamPolicyRequest request) {
          * may "fail open" without warning.
          * 
    */ - public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return blockingUnaryCall( - getChannel(), getTestIamPermissionsMethodHelper(), getCallOptions(), request); + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } /** + * + * *
        * ## API Overview
        * Manages Identity and Access Management (IAM) policies.
    @@ -450,48 +511,49 @@ public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest r
        * attached.
        * 
    */ - public static final class IAMPolicyFutureStub extends io.grpc.stub.AbstractStub { - private IAMPolicyFutureStub(io.grpc.Channel channel) { - super(channel); - } - - private IAMPolicyFutureStub(io.grpc.Channel channel, - io.grpc.CallOptions callOptions) { + public static final class IAMPolicyFutureStub + extends io.grpc.stub.AbstractFutureStub { + private IAMPolicyFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } - @Override - protected IAMPolicyFutureStub build(io.grpc.Channel channel, - io.grpc.CallOptions callOptions) { + @java.lang.Override + protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new IAMPolicyFutureStub(channel, callOptions); } /** + * + * *
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
          * 
    */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethodHelper(), getCallOptions()), request); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** + * + * *
          * Gets the access control policy for a resource.
          * Returns an empty policy if the resource exists and does not have a policy
          * set.
          * 
    */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethodHelper(), getCallOptions()), request); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** + * + * *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    @@ -501,10 +563,11 @@ public com.google.common.util.concurrent.ListenableFuture getIamPolicy(
          * may "fail open" without warning.
          * 
    */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethodHelper(), getCallOptions()), request); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } } @@ -512,11 +575,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final IAMPolicyImplBase serviceImpl; private final int methodId; @@ -525,29 +588,33 @@ private static final class MethodHandlers implements this.methodId = methodId; } - @Override - @SuppressWarnings("unchecked") + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); } } - @Override - @SuppressWarnings("unchecked") + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { @@ -557,16 +624,17 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class IAMPolicyBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class IAMPolicyBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { IAMPolicyBaseDescriptorSupplier() {} - @Override + @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return IamPolicyProto.getDescriptor(); + return com.google.iam.v1.IamPolicyProto.getDescriptor(); } - @Override + @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("IAMPolicy"); } @@ -586,7 +654,7 @@ private static final class IAMPolicyMethodDescriptorSupplier this.methodName = methodName; } - @Override + @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } @@ -600,12 +668,14 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (IAMPolicyGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new IAMPolicyFileDescriptorSupplier()) - .addMethod(getSetIamPolicyMethodHelper()) - .addMethod(getGetIamPolicyMethodHelper()) - .addMethod(getTestIamPermissionsMethodHelper()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new IAMPolicyFileDescriptorSupplier()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); } } } diff --git a/java-iam/java.header b/java-iam/java.header new file mode 100644 index 000000000000..3a9b503aa24f --- /dev/null +++ b/java-iam/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)( All [rR]ights [rR]eserved\.)?$ +^ \*$ +^ \* 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\.$ +^ \*/$ diff --git a/java-iam/license-checks.xml b/java-iam/license-checks.xml new file mode 100644 index 000000000000..6597fced808e --- /dev/null +++ b/java-iam/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/java-iam/pom.xml b/java-iam/pom.xml new file mode 100644 index 000000000000..bf23f4f1b6fe --- /dev/null +++ b/java-iam/pom.xml @@ -0,0 +1,188 @@ + + + 4.0.0 + com.google.cloud + google-iam-parent + pom + 0.13.1-SNAPSHOT + Google IAM Parent + https://github.com/googleapis/java-iam + + Java idiomatic client for Google Cloud Platform services. + + + + com.google.cloud + google-cloud-shared-config + 0.5.0 + + + + + chingor + Jeff Ching + chingor@google.com + Google + + Developer + + + + + Google LLC + + + scm:git:git@github.com:googleapis/java-iam.git + scm:git:git@github.com:googleapis/java-iam.git + https://github.com/googleapis/java-iam + HEAD + + + https://github.com/googleapis/java-iam/issues + GitHub Issues + + + + sonatype-nexus-snapshots + https://oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + UTF-8 + UTF-8 + github + google-iam-parent + 1.17.0 + 3.11.4 + 4.13 + 1.29.0 + 29.0-android + + + + + + com.google.protobuf + protobuf-bom + ${protobuf.version} + pom + import + + + io.grpc + grpc-bom + ${grpc.version} + pom + import + + + com.google.api.grpc + proto-google-common-protos + ${google.common-protos.version} + + + com.google.guava + guava + ${guava.version} + + + com.google.api.grpc + proto-google-iam-v1 + 0.13.1-SNAPSHOT + + + + junit + junit + ${junit.version} + test + + + + + + proto-google-iam-v1 + grpc-google-iam-v1 + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.0.0 + + + + index + dependency-info + team + ci-management + issue-management + licenses + scm + dependency-management + distribution-management + summary + modules + + + + + true + ${site.installationModule} + jar + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.2.0 + + + html + + aggregate + javadoc + + + + + none + protected + true + ${project.build.directory}/javadoc + + + Test helpers packages + com.google.cloud.testing + + + SPI packages + com.google.cloud.spi* + + + + + https://grpc.io/grpc-java/javadoc/ + https://developers.google.com/protocol-buffers/docs/reference/java/ + https://googleapis.dev/java/google-auth-library/latest/ + https://googleapis.dev/java/gax/latest/ + https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ + + + + + + diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml new file mode 100644 index 000000000000..1a9506c813df --- /dev/null +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -0,0 +1,34 @@ + + 4.0.0 + com.google.api.grpc + proto-google-iam-v1 + 0.13.1-SNAPSHOT + proto-google-iam-v1 + PROTO library for proto-google-iam-v1 + + com.google.cloud + google-iam-parent + 0.13.1-SNAPSHOT + + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + \ No newline at end of file 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 63cb54df2583..ad57814b5227 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 @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; /** + * + * *
      * One delta entry for AuditConfig. Each individual change (only one
      * exempted_member in each entry) to a AuditConfig will be a separate entry.
    @@ -11,15 +28,16 @@
      *
      * Protobuf type {@code google.iam.v1.AuditConfigDelta}
      */
    -public  final class AuditConfigDelta extends
    -    com.google.protobuf.GeneratedMessageV3 implements
    +public final class AuditConfigDelta extends com.google.protobuf.GeneratedMessageV3
    +    implements
         // @@protoc_insertion_point(message_implements:google.iam.v1.AuditConfigDelta)
         AuditConfigDeltaOrBuilder {
    -private static final long serialVersionUID = 0L;
    +  private static final long serialVersionUID = 0L;
       // Use AuditConfigDelta.newBuilder() to construct.
       private AuditConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    +
       private AuditConfigDelta() {
         action_ = 0;
         service_ = "";
    @@ -27,20 +45,25 @@ private AuditConfigDelta() {
         logType_ = "";
       }
     
    -  @Override
    -  public final com.google.protobuf.UnknownFieldSet
    -  getUnknownFields() {
    +  @java.lang.Override
    +  @SuppressWarnings({"unused"})
    +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +    return new AuditConfigDelta();
    +  }
    +
    +  @java.lang.Override
    +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
    +
       private AuditConfigDelta(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         this();
         if (extensionRegistry == null) {
    -      throw new NullPointerException();
    +      throw new java.lang.NullPointerException();
         }
    -    int mutable_bitField0_ = 0;
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
             com.google.protobuf.UnknownFieldSet.newBuilder();
         try {
    @@ -51,72 +74,80 @@ private AuditConfigDelta(
               case 0:
                 done = true;
                 break;
    -          case 8: {
    -            int rawValue = input.readEnum();
    +          case 8:
    +            {
    +              int rawValue = input.readEnum();
     
    -            action_ = rawValue;
    -            break;
    -          }
    -          case 18: {
    -            String s = input.readStringRequireUtf8();
    +              action_ = rawValue;
    +              break;
    +            }
    +          case 18:
    +            {
    +              java.lang.String s = input.readStringRequireUtf8();
     
    -            service_ = s;
    -            break;
    -          }
    -          case 26: {
    -            String s = input.readStringRequireUtf8();
    +              service_ = s;
    +              break;
    +            }
    +          case 26:
    +            {
    +              java.lang.String s = input.readStringRequireUtf8();
     
    -            exemptedMember_ = s;
    -            break;
    -          }
    -          case 34: {
    -            String s = input.readStringRequireUtf8();
    +              exemptedMember_ = s;
    +              break;
    +            }
    +          case 34:
    +            {
    +              java.lang.String s = input.readStringRequireUtf8();
     
    -            logType_ = s;
    -            break;
    -          }
    -          default: {
    -            if (!parseUnknownField(
    -                input, unknownFields, extensionRegistry, tag)) {
    -              done = true;
    +              logType_ = s;
    +              break;
    +            }
    +          default:
    +            {
    +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    +                done = true;
    +              }
    +              break;
                 }
    -            break;
    -          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(
    -          e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -  public static final com.google.protobuf.Descriptors.Descriptor
    -      getDescriptor() {
    -    return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor;
    +
    +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    +    return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor;
       }
     
    -  @Override
    -  protected FieldAccessorTable
    +  @java.lang.Override
    +  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable
    +    return com.google.iam.v1.PolicyProto
    +        .internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            AuditConfigDelta.class, Builder.class);
    +            com.google.iam.v1.AuditConfigDelta.class,
    +            com.google.iam.v1.AuditConfigDelta.Builder.class);
       }
     
       /**
    +   *
    +   *
        * 
        * The type of action performed on an audit configuration in a policy.
        * 
    * * Protobuf enum {@code google.iam.v1.AuditConfigDelta.Action} */ - public enum Action - implements com.google.protobuf.ProtocolMessageEnum { + public enum Action implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified.
          * 
    @@ -125,6 +156,8 @@ public enum Action */ ACTION_UNSPECIFIED(0), /** + * + * *
          * Addition of an audit configuration.
          * 
    @@ -133,6 +166,8 @@ public enum Action */ ADD(1), /** + * + * *
          * Removal of an audit configuration.
          * 
    @@ -144,6 +179,8 @@ public enum Action ; /** + * + * *
          * Unspecified.
          * 
    @@ -152,6 +189,8 @@ public enum Action */ public static final int ACTION_UNSPECIFIED_VALUE = 0; /** + * + * *
          * Addition of an audit configuration.
          * 
    @@ -160,6 +199,8 @@ public enum Action */ public static final int ADD_VALUE = 1; /** + * + * *
          * Removal of an audit configuration.
          * 
    @@ -168,64 +209,69 @@ public enum Action */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { - throw new IllegalArgumentException( + throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ - @Deprecated + @java.lang.Deprecated public static Action valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Action forNumber(int value) { switch (value) { - case 0: return ACTION_UNSPECIFIED; - case 1: return ADD; - case 2: return REMOVE; - default: return null; + case 0: + return ACTION_UNSPECIFIED; + case 1: + return ADD; + case 2: + return REMOVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Action> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Action findValueByNumber(int number) { - return Action.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Action findValueByNumber(int number) { + return Action.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return AuditConfigDelta.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.iam.v1.AuditConfigDelta.getDescriptor().getEnumTypes().get(0); } private static final Action[] VALUES = values(); - public static Action valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -245,33 +291,44 @@ private Action(int value) { public static final int ACTION_FIELD_NUMBER = 1; private int action_; /** + * + * *
        * The action that was performed on an audit configuration in a policy.
        * Required
        * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @return The enum numeric value on the wire for action. */ public int getActionValue() { return action_; } /** + * + * *
        * The action that was performed on an audit configuration in a policy.
        * Required
        * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @return The action. */ - public Action getAction() { + public com.google.iam.v1.AuditConfigDelta.Action getAction() { @SuppressWarnings("deprecation") - Action result = Action.valueOf(action_); - return result == null ? Action.UNRECOGNIZED : result; + com.google.iam.v1.AuditConfigDelta.Action result = + com.google.iam.v1.AuditConfigDelta.Action.valueOf(action_); + return result == null ? com.google.iam.v1.AuditConfigDelta.Action.UNRECOGNIZED : result; } public static final int SERVICE_FIELD_NUMBER = 2; - private volatile Object service_; + private volatile java.lang.Object service_; /** + * + * *
        * Specifies a service that was configured for Cloud Audit Logging.
        * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -280,20 +337,23 @@ public Action getAction() {
        * 
    * * string service = 2; + * + * @return The service. */ - public String getService() { - Object ref = service_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getService() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
        * Specifies a service that was configured for Cloud Audit Logging.
        * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -302,14 +362,14 @@ public String getService() {
        * 
    * * string service = 2; + * + * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { - Object ref = service_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -318,8 +378,10 @@ public String getService() { } public static final int EXEMPTED_MEMBER_FIELD_NUMBER = 3; - private volatile Object exemptedMember_; + private volatile java.lang.Object exemptedMember_; /** + * + * *
        * A single identity that is exempted from "data access" audit
        * logging for the `service` specified above.
    @@ -327,20 +389,23 @@ public String getService() {
        * 
    * * string exempted_member = 3; + * + * @return The exemptedMember. */ - public String getExemptedMember() { - Object ref = exemptedMember_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getExemptedMember() { + java.lang.Object ref = exemptedMember_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); exemptedMember_ = s; return s; } } /** + * + * *
        * A single identity that is exempted from "data access" audit
        * logging for the `service` specified above.
    @@ -348,14 +413,14 @@ public String getExemptedMember() {
        * 
    * * string exempted_member = 3; + * + * @return The bytes for exemptedMember. */ - public com.google.protobuf.ByteString - getExemptedMemberBytes() { - Object ref = exemptedMember_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getExemptedMemberBytes() { + java.lang.Object ref = exemptedMember_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); exemptedMember_ = b; return b; } else { @@ -364,8 +429,10 @@ public String getExemptedMember() { } public static final int LOG_TYPE_FIELD_NUMBER = 4; - private volatile Object logType_; + private volatile java.lang.Object logType_; /** + * + * *
        * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
        * enabled, and cannot be configured.
    @@ -373,20 +440,23 @@ public String getExemptedMember() {
        * 
    * * string log_type = 4; + * + * @return The logType. */ - public String getLogType() { - Object ref = logType_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); logType_ = s; return s; } } /** + * + * *
        * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
        * enabled, and cannot be configured.
    @@ -394,14 +464,14 @@ public String getLogType() {
        * 
    * * string log_type = 4; + * + * @return The bytes for logType. */ - public com.google.protobuf.ByteString - getLogTypeBytes() { - Object ref = logType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logType_ = b; return b; } else { @@ -410,7 +480,8 @@ public String getLogType() { } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -420,10 +491,9 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) { output.writeEnum(1, action_); } if (!getServiceBytes().isEmpty()) { @@ -438,15 +508,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, action_); + if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_); } if (!getServiceBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_); @@ -462,28 +531,25 @@ public int getSerializedSize() { return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof AuditConfigDelta)) { + if (!(obj instanceof com.google.iam.v1.AuditConfigDelta)) { return super.equals(obj); } - AuditConfigDelta other = (AuditConfigDelta) obj; + com.google.iam.v1.AuditConfigDelta other = (com.google.iam.v1.AuditConfigDelta) obj; if (action_ != other.action_) return false; - if (!getService() - .equals(other.getService())) return false; - if (!getExemptedMember() - .equals(other.getExemptedMember())) return false; - if (!getLogType() - .equals(other.getLogType())) return false; + if (!getService().equals(other.getService())) return false; + if (!getExemptedMember().equals(other.getExemptedMember())) return false; + if (!getLogType().equals(other.getLogType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -503,97 +569,103 @@ public int hashCode() { return hash; } - public static AuditConfigDelta parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.AuditConfigDelta parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AuditConfigDelta parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.AuditConfigDelta parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AuditConfigDelta parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.iam.v1.AuditConfigDelta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AuditConfigDelta parseFrom( + + public static com.google.iam.v1.AuditConfigDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AuditConfigDelta parseFrom(byte[] data) + + public static com.google.iam.v1.AuditConfigDelta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AuditConfigDelta parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.AuditConfigDelta parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AuditConfigDelta parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.AuditConfigDelta parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static AuditConfigDelta parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.AuditConfigDelta parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static AuditConfigDelta parseDelimitedFrom(java.io.InputStream input) + + public static com.google.iam.v1.AuditConfigDelta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static AuditConfigDelta parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.AuditConfigDelta parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static AuditConfigDelta parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.iam.v1.AuditConfigDelta parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static AuditConfigDelta parseFrom( + + public static com.google.iam.v1.AuditConfigDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(AuditConfigDelta prototype) { + + public static Builder newBuilder(com.google.iam.v1.AuditConfigDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * One delta entry for AuditConfig. Each individual change (only one
        * exempted_member in each entry) to a AuditConfig will be a separate entry.
    @@ -601,21 +673,23 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.iam.v1.AuditConfigDelta}
        */
    -  public static final class Builder extends
    -      com.google.protobuf.GeneratedMessageV3.Builder implements
    +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    +      implements
           // @@protoc_insertion_point(builder_implements:google.iam.v1.AuditConfigDelta)
           com.google.iam.v1.AuditConfigDeltaOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor
    -        getDescriptor() {
    -      return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    +      return com.google.iam.v1.PolicyProto
    +          .internal_static_google_iam_v1_AuditConfigDelta_descriptor;
         }
     
    -    @Override
    -    protected FieldAccessorTable
    +    @java.lang.Override
    +    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable
    +      return com.google.iam.v1.PolicyProto
    +          .internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              AuditConfigDelta.class, Builder.class);
    +              com.google.iam.v1.AuditConfigDelta.class,
    +              com.google.iam.v1.AuditConfigDelta.Builder.class);
         }
     
         // Construct using com.google.iam.v1.AuditConfigDelta.newBuilder()
    @@ -623,17 +697,16 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(
    -        BuilderParent parent) {
    +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    +
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3
    -              .alwaysUseFieldBuilders) {
    -      }
    +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder clear() {
           super.clear();
           action_ = 0;
    @@ -647,29 +720,29 @@ public Builder clear() {
           return this;
         }
     
    -    @Override
    -    public com.google.protobuf.Descriptors.Descriptor
    -        getDescriptorForType() {
    -      return PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor;
    +    @java.lang.Override
    +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    +      return com.google.iam.v1.PolicyProto
    +          .internal_static_google_iam_v1_AuditConfigDelta_descriptor;
         }
     
    -    @Override
    -    public AuditConfigDelta getDefaultInstanceForType() {
    -      return AuditConfigDelta.getDefaultInstance();
    +    @java.lang.Override
    +    public com.google.iam.v1.AuditConfigDelta getDefaultInstanceForType() {
    +      return com.google.iam.v1.AuditConfigDelta.getDefaultInstance();
         }
     
    -    @Override
    -    public AuditConfigDelta build() {
    -      AuditConfigDelta result = buildPartial();
    +    @java.lang.Override
    +    public com.google.iam.v1.AuditConfigDelta build() {
    +      com.google.iam.v1.AuditConfigDelta result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
           return result;
         }
     
    -    @Override
    -    public AuditConfigDelta buildPartial() {
    -      AuditConfigDelta result = new AuditConfigDelta(this);
    +    @java.lang.Override
    +    public com.google.iam.v1.AuditConfigDelta buildPartial() {
    +      com.google.iam.v1.AuditConfigDelta result = new com.google.iam.v1.AuditConfigDelta(this);
           result.action_ = action_;
           result.service_ = service_;
           result.exemptedMember_ = exemptedMember_;
    @@ -678,50 +751,51 @@ public AuditConfigDelta buildPartial() {
           return result;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder clone() {
           return super.clone();
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
    -    @Override
    -    public Builder clearField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field) {
    +
    +    @java.lang.Override
    +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -    @Override
    -    public Builder clearOneof(
    -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +
    +    @java.lang.Override
    +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        int index, Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other instanceof AuditConfigDelta) {
    -        return mergeFrom((AuditConfigDelta)other);
    +      if (other instanceof com.google.iam.v1.AuditConfigDelta) {
    +        return mergeFrom((com.google.iam.v1.AuditConfigDelta) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(AuditConfigDelta other) {
    -      if (other == AuditConfigDelta.getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.iam.v1.AuditConfigDelta other) {
    +      if (other == com.google.iam.v1.AuditConfigDelta.getDefaultInstance()) return this;
           if (other.action_ != 0) {
             setActionValue(other.getActionValue());
           }
    @@ -742,21 +816,21 @@ public Builder mergeFrom(AuditConfigDelta other) {
           return this;
         }
     
    -    @Override
    +    @java.lang.Override
         public final boolean isInitialized() {
           return true;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      AuditConfigDelta parsedMessage = null;
    +      com.google.iam.v1.AuditConfigDelta parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (AuditConfigDelta) e.getUnfinishedMessage();
    +        parsedMessage = (com.google.iam.v1.AuditConfigDelta) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -768,23 +842,32 @@ public Builder mergeFrom(
     
         private int action_ = 0;
         /**
    +     *
    +     *
          * 
          * The action that was performed on an audit configuration in a policy.
          * Required
          * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @return The enum numeric value on the wire for action. */ public int getActionValue() { return action_; } /** + * + * *
          * The action that was performed on an audit configuration in a policy.
          * Required
          * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @param value The enum numeric value on the wire for action to set. + * @return This builder for chaining. */ public Builder setActionValue(int value) { action_ = value; @@ -792,52 +875,68 @@ public Builder setActionValue(int value) { return this; } /** + * + * *
          * The action that was performed on an audit configuration in a policy.
          * Required
          * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @return The action. */ - public Action getAction() { + public com.google.iam.v1.AuditConfigDelta.Action getAction() { @SuppressWarnings("deprecation") - Action result = Action.valueOf(action_); - return result == null ? Action.UNRECOGNIZED : result; + com.google.iam.v1.AuditConfigDelta.Action result = + com.google.iam.v1.AuditConfigDelta.Action.valueOf(action_); + return result == null ? com.google.iam.v1.AuditConfigDelta.Action.UNRECOGNIZED : result; } /** + * + * *
          * The action that was performed on an audit configuration in a policy.
          * Required
          * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @param value The action to set. + * @return This builder for chaining. */ - public Builder setAction(Action value) { + public Builder setAction(com.google.iam.v1.AuditConfigDelta.Action value) { if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * The action that was performed on an audit configuration in a policy.
          * Required
          * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @return This builder for chaining. */ public Builder clearAction() { - + action_ = 0; onChanged(); return this; } - private Object service_ = ""; + private java.lang.Object service_ = ""; /** + * + * *
          * Specifies a service that was configured for Cloud Audit Logging.
          * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -846,20 +945,23 @@ public Builder clearAction() {
          * 
    * * string service = 2; + * + * @return The service. */ - public String getService() { - Object ref = service_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getService() { + java.lang.Object ref = service_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * Specifies a service that was configured for Cloud Audit Logging.
          * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -868,14 +970,14 @@ public String getService() {
          * 
    * * string service = 2; + * + * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { - Object ref = service_; + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -883,6 +985,8 @@ public String getService() { } } /** + * + * *
          * Specifies a service that was configured for Cloud Audit Logging.
          * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -891,18 +995,22 @@ public String getService() {
          * 
    * * string service = 2; + * + * @param value The service to set. + * @return This builder for chaining. */ - public Builder setService( - String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
          * Specifies a service that was configured for Cloud Audit Logging.
          * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -911,14 +1019,18 @@ public Builder setService(
          * 
    * * string service = 2; + * + * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
          * Specifies a service that was configured for Cloud Audit Logging.
          * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -927,21 +1039,25 @@ public Builder clearService() {
          * 
    * * string service = 2; + * + * @param value The bytes for service to set. + * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; } - private Object exemptedMember_ = ""; + private java.lang.Object exemptedMember_ = ""; /** + * + * *
          * A single identity that is exempted from "data access" audit
          * logging for the `service` specified above.
    @@ -949,20 +1065,23 @@ public Builder setServiceBytes(
          * 
    * * string exempted_member = 3; + * + * @return The exemptedMember. */ - public String getExemptedMember() { - Object ref = exemptedMember_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getExemptedMember() { + java.lang.Object ref = exemptedMember_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); exemptedMember_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * A single identity that is exempted from "data access" audit
          * logging for the `service` specified above.
    @@ -970,14 +1089,14 @@ public String getExemptedMember() {
          * 
    * * string exempted_member = 3; + * + * @return The bytes for exemptedMember. */ - public com.google.protobuf.ByteString - getExemptedMemberBytes() { - Object ref = exemptedMember_; + public com.google.protobuf.ByteString getExemptedMemberBytes() { + java.lang.Object ref = exemptedMember_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); exemptedMember_ = b; return b; } else { @@ -985,6 +1104,8 @@ public String getExemptedMember() { } } /** + * + * *
          * A single identity that is exempted from "data access" audit
          * logging for the `service` specified above.
    @@ -992,18 +1113,22 @@ public String getExemptedMember() {
          * 
    * * string exempted_member = 3; + * + * @param value The exemptedMember to set. + * @return This builder for chaining. */ - public Builder setExemptedMember( - String value) { + public Builder setExemptedMember(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + exemptedMember_ = value; onChanged(); return this; } /** + * + * *
          * A single identity that is exempted from "data access" audit
          * logging for the `service` specified above.
    @@ -1011,14 +1136,18 @@ public Builder setExemptedMember(
          * 
    * * string exempted_member = 3; + * + * @return This builder for chaining. */ public Builder clearExemptedMember() { - + exemptedMember_ = getDefaultInstance().getExemptedMember(); onChanged(); return this; } /** + * + * *
          * A single identity that is exempted from "data access" audit
          * logging for the `service` specified above.
    @@ -1026,21 +1155,25 @@ public Builder clearExemptedMember() {
          * 
    * * string exempted_member = 3; + * + * @param value The bytes for exemptedMember to set. + * @return This builder for chaining. */ - public Builder setExemptedMemberBytes( - com.google.protobuf.ByteString value) { + public Builder setExemptedMemberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + exemptedMember_ = value; onChanged(); return this; } - private Object logType_ = ""; + private java.lang.Object logType_ = ""; /** + * + * *
          * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
          * enabled, and cannot be configured.
    @@ -1048,20 +1181,23 @@ public Builder setExemptedMemberBytes(
          * 
    * * string log_type = 4; + * + * @return The logType. */ - public String getLogType() { - Object ref = logType_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getLogType() { + java.lang.Object ref = logType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); logType_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
          * enabled, and cannot be configured.
    @@ -1069,14 +1205,14 @@ public String getLogType() {
          * 
    * * string log_type = 4; + * + * @return The bytes for logType. */ - public com.google.protobuf.ByteString - getLogTypeBytes() { - Object ref = logType_; + public com.google.protobuf.ByteString getLogTypeBytes() { + java.lang.Object ref = logType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logType_ = b; return b; } else { @@ -1084,6 +1220,8 @@ public String getLogType() { } } /** + * + * *
          * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
          * enabled, and cannot be configured.
    @@ -1091,18 +1229,22 @@ public String getLogType() {
          * 
    * * string log_type = 4; + * + * @param value The logType to set. + * @return This builder for chaining. */ - public Builder setLogType( - String value) { + public Builder setLogType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logType_ = value; onChanged(); return this; } /** + * + * *
          * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
          * enabled, and cannot be configured.
    @@ -1110,14 +1252,18 @@ public Builder setLogType(
          * 
    * * string log_type = 4; + * + * @return This builder for chaining. */ public Builder clearLogType() { - + logType_ = getDefaultInstance().getLogType(); onChanged(); return this; } /** + * + * *
          * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
          * enabled, and cannot be configured.
    @@ -1125,68 +1271,68 @@ public Builder clearLogType() {
          * 
    * * string log_type = 4; + * + * @param value The bytes for logType to set. + * @return This builder for chaining. */ - public Builder setLogTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setLogTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logType_ = value; onChanged(); return this; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.AuditConfigDelta) } // @@protoc_insertion_point(class_scope:google.iam.v1.AuditConfigDelta) - private static final AuditConfigDelta DEFAULT_INSTANCE; + private static final com.google.iam.v1.AuditConfigDelta DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new AuditConfigDelta(); + DEFAULT_INSTANCE = new com.google.iam.v1.AuditConfigDelta(); } - public static AuditConfigDelta getDefaultInstance() { + public static com.google.iam.v1.AuditConfigDelta getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public AuditConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditConfigDelta(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditConfigDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditConfigDelta(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public AuditConfigDelta getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.AuditConfigDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java index 1ecef2323edb..e1bea6c24477 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java @@ -1,32 +1,58 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; -public interface AuditConfigDeltaOrBuilder extends +public interface AuditConfigDeltaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditConfigDelta) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The action that was performed on an audit configuration in a policy.
        * Required
        * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
        * The action that was performed on an audit configuration in a policy.
        * Required
        * 
    * * .google.iam.v1.AuditConfigDelta.Action action = 1; + * + * @return The action. */ - AuditConfigDelta.Action getAction(); + com.google.iam.v1.AuditConfigDelta.Action getAction(); /** + * + * *
        * Specifies a service that was configured for Cloud Audit Logging.
        * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -35,9 +61,13 @@ public interface AuditConfigDeltaOrBuilder extends
        * 
    * * string service = 2; + * + * @return The service. */ - String getService(); + java.lang.String getService(); /** + * + * *
        * Specifies a service that was configured for Cloud Audit Logging.
        * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    @@ -46,11 +76,14 @@ public interface AuditConfigDeltaOrBuilder extends
        * 
    * * string service = 2; + * + * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
        * A single identity that is exempted from "data access" audit
        * logging for the `service` specified above.
    @@ -58,9 +91,13 @@ public interface AuditConfigDeltaOrBuilder extends
        * 
    * * string exempted_member = 3; + * + * @return The exemptedMember. */ - String getExemptedMember(); + java.lang.String getExemptedMember(); /** + * + * *
        * A single identity that is exempted from "data access" audit
        * logging for the `service` specified above.
    @@ -68,11 +105,14 @@ public interface AuditConfigDeltaOrBuilder extends
        * 
    * * string exempted_member = 3; + * + * @return The bytes for exemptedMember. */ - com.google.protobuf.ByteString - getExemptedMemberBytes(); + com.google.protobuf.ByteString getExemptedMemberBytes(); /** + * + * *
        * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
        * enabled, and cannot be configured.
    @@ -80,9 +120,13 @@ public interface AuditConfigDeltaOrBuilder extends
        * 
    * * string log_type = 4; + * + * @return The logType. */ - String getLogType(); + java.lang.String getLogType(); /** + * + * *
        * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
        * enabled, and cannot be configured.
    @@ -90,7 +134,8 @@ public interface AuditConfigDeltaOrBuilder extends
        * 
    * * string log_type = 4; + * + * @return The bytes for logType. */ - com.google.protobuf.ByteString - getLogTypeBytes(); + com.google.protobuf.ByteString getLogTypeBytes(); } 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 ddb146765ba7..04e2b5603f93 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 @@ -1,41 +1,65 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; /** + * + * *
      * Associates `members` with a `role`.
      * 
    * * Protobuf type {@code google.iam.v1.Binding} */ -public final class Binding extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Binding extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.iam.v1.Binding) BindingOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Binding.newBuilder() to construct. private Binding(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Binding() { role_ = ""; members_ = com.google.protobuf.LazyStringArrayList.EMPTY; } - @Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Binding(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Binding( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new NullPointerException(); + throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -48,107 +72,113 @@ private Binding( case 0: done = true; break; - case 10: { - String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - role_ = s; - break; - } - case 18: { - String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - members_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + role_ = s; + break; } - members_.add(s); - break; - } - case 26: { - com.google.type.Expr.Builder subBuilder = null; - if (condition_ != null) { - subBuilder = condition_.toBuilder(); - } - condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(condition_); - condition_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + members_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + members_.add(s); + break; } + case 26: + { + com.google.type.Expr.Builder subBuilder = null; + if (condition_ != null) { + subBuilder = condition_.toBuilder(); + } + condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(condition_); + condition_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { members_ = members_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable .ensureFieldAccessorsInitialized( - Binding.class, Builder.class); + com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); } - private int bitField0_; public static final int ROLE_FIELD_NUMBER = 1; - private volatile Object role_; + private volatile java.lang.Object role_; /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * * string role = 1; + * + * @return The role. */ - public String getRole() { - Object ref = role_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); role_ = s; return s; } } /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * * string role = 1; + * + * @return The bytes for role. */ - public com.google.protobuf.ByteString - getRoleBytes() { - Object ref = role_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getRoleBytes() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); role_ = b; return b; } else { @@ -159,6 +189,8 @@ public String getRole() { public static final int MEMBERS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList members_; /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -177,12 +209,15 @@ public String getRole() {
        * 
    * * repeated string members = 2; + * + * @return A list containing the members. */ - public com.google.protobuf.ProtocolStringList - getMembersList() { + public com.google.protobuf.ProtocolStringList getMembersList() { return members_; } /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -201,11 +236,15 @@ public String getRole() {
        * 
    * * repeated string members = 2; + * + * @return The count of members. */ public int getMembersCount() { return members_.size(); } /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -224,11 +263,16 @@ public int getMembersCount() {
        * 
    * * repeated string members = 2; + * + * @param index The index of the element to return. + * @return The members at the given index. */ - public String getMembers(int index) { + public java.lang.String getMembers(int index) { return members_.get(index); } /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -247,15 +291,19 @@ public String getMembers(int index) {
        * 
    * * repeated string members = 2; + * + * @param index The index of the value to return. + * @return The bytes of the members at the given index. */ - public com.google.protobuf.ByteString - getMembersBytes(int index) { + public com.google.protobuf.ByteString getMembersBytes(int index) { return members_.getByteString(index); } public static final int CONDITION_FIELD_NUMBER = 3; private com.google.type.Expr condition_; /** + * + * *
        * The condition that is associated with this binding.
        * NOTE: An unsatisfied condition will not allow user access via current
    @@ -264,11 +312,15 @@ public String getMembers(int index) {
        * 
    * * .google.type.Expr condition = 3; + * + * @return Whether the condition field is set. */ public boolean hasCondition() { return condition_ != null; } /** + * + * *
        * The condition that is associated with this binding.
        * NOTE: An unsatisfied condition will not allow user access via current
    @@ -277,11 +329,15 @@ public boolean hasCondition() {
        * 
    * * .google.type.Expr condition = 3; + * + * @return The condition. */ public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } /** + * + * *
        * The condition that is associated with this binding.
        * NOTE: An unsatisfied condition will not allow user access via current
    @@ -296,7 +352,8 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    -  @Override
    +
    +  @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
         if (isInitialized == 1) return true;
    @@ -306,9 +363,8 @@ public final boolean isInitialized() {
         return true;
       }
     
    -  @Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output)
    -                      throws java.io.IOException {
    +  @java.lang.Override
    +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (!getRoleBytes().isEmpty()) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, role_);
         }
    @@ -321,7 +377,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         unknownFields.writeTo(output);
       }
     
    -  @Override
    +  @java.lang.Override
       public int getSerializedSize() {
         int size = memoizedSize;
         if (size != -1) return size;
    @@ -339,38 +395,34 @@ public int getSerializedSize() {
           size += 1 * getMembersList().size();
         }
         if (condition_ != null) {
    -      size += com.google.protobuf.CodedOutputStream
    -        .computeMessageSize(3, getCondition());
    +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCondition());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
         return size;
       }
     
    -  @Override
    -  public boolean equals(final Object obj) {
    +  @java.lang.Override
    +  public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
    -     return true;
    +      return true;
         }
    -    if (!(obj instanceof Binding)) {
    +    if (!(obj instanceof com.google.iam.v1.Binding)) {
           return super.equals(obj);
         }
    -    Binding other = (Binding) obj;
    +    com.google.iam.v1.Binding other = (com.google.iam.v1.Binding) obj;
     
    -    if (!getRole()
    -        .equals(other.getRole())) return false;
    -    if (!getMembersList()
    -        .equals(other.getMembersList())) return false;
    +    if (!getRole().equals(other.getRole())) return false;
    +    if (!getMembersList().equals(other.getMembersList())) return false;
         if (hasCondition() != other.hasCondition()) return false;
         if (hasCondition()) {
    -      if (!getCondition()
    -          .equals(other.getCondition())) return false;
    +      if (!getCondition().equals(other.getCondition())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
     
    -  @Override
    +  @java.lang.Override
       public int hashCode() {
         if (memoizedHashCode != 0) {
           return memoizedHashCode;
    @@ -392,118 +444,123 @@ public int hashCode() {
         return hash;
       }
     
    -  public static Binding parseFrom(
    -      java.nio.ByteBuffer data)
    +  public static com.google.iam.v1.Binding parseFrom(java.nio.ByteBuffer data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static Binding parseFrom(
    -      java.nio.ByteBuffer data,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.Binding parseFrom(
    +      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static Binding parseFrom(
    -      com.google.protobuf.ByteString data)
    +
    +  public static com.google.iam.v1.Binding parseFrom(com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static Binding parseFrom(
    +
    +  public static com.google.iam.v1.Binding parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static Binding parseFrom(byte[] data)
    +
    +  public static com.google.iam.v1.Binding parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static Binding parseFrom(
    -      byte[] data,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.Binding parseFrom(
    +      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static Binding parseFrom(java.io.InputStream input)
    +
    +  public static com.google.iam.v1.Binding parseFrom(java.io.InputStream input)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input);
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
    -  public static Binding parseFrom(
    -      java.io.InputStream input,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.Binding parseFrom(
    +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    +        PARSER, input, extensionRegistry);
       }
    -  public static Binding parseDelimitedFrom(java.io.InputStream input)
    +
    +  public static com.google.iam.v1.Binding parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseDelimitedWithIOException(PARSER, input);
    +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
    -  public static Binding parseDelimitedFrom(
    -      java.io.InputStream input,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.Binding parseDelimitedFrom(
    +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
    +        PARSER, input, extensionRegistry);
       }
    -  public static Binding parseFrom(
    -      com.google.protobuf.CodedInputStream input)
    +
    +  public static com.google.iam.v1.Binding parseFrom(com.google.protobuf.CodedInputStream input)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input);
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
    -  public static Binding parseFrom(
    +
    +  public static com.google.iam.v1.Binding parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    +        PARSER, input, extensionRegistry);
    +  }
    +
    +  @java.lang.Override
    +  public Builder newBuilderForType() {
    +    return newBuilder();
       }
     
    -  @Override
    -  public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -  public static Builder newBuilder(Binding prototype) {
    +
    +  public static Builder newBuilder(com.google.iam.v1.Binding prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    -  @Override
    +
    +  @java.lang.Override
       public Builder toBuilder() {
    -    return this == DEFAULT_INSTANCE
    -        ? new Builder() : new Builder().mergeFrom(this);
    +    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
     
    -  @Override
    -  protected Builder newBuilderForType(
    -      BuilderParent parent) {
    +  @java.lang.Override
    +  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
       /**
    +   *
    +   *
        * 
        * Associates `members` with a `role`.
        * 
    * * Protobuf type {@code google.iam.v1.Binding} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.iam.v1.Binding) com.google.iam.v1.BindingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable .ensureFieldAccessorsInitialized( - Binding.class, Builder.class); + com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); } // Construct using com.google.iam.v1.Binding.newBuilder() @@ -511,23 +568,22 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @Override + + @java.lang.Override public Builder clear() { super.clear(); role_ = ""; members_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); if (conditionBuilder_ == null) { condition_ = null; } else { @@ -537,35 +593,33 @@ public Builder clear() { return this; } - @Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } - @Override - public Binding getDefaultInstanceForType() { - return Binding.getDefaultInstance(); + @java.lang.Override + public com.google.iam.v1.Binding getDefaultInstanceForType() { + return com.google.iam.v1.Binding.getDefaultInstance(); } - @Override - public Binding build() { - Binding result = buildPartial(); + @java.lang.Override + public com.google.iam.v1.Binding build() { + com.google.iam.v1.Binding result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @Override - public Binding buildPartial() { - Binding result = new Binding(this); + @java.lang.Override + public com.google.iam.v1.Binding buildPartial() { + com.google.iam.v1.Binding result = new com.google.iam.v1.Binding(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.role_ = role_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { members_ = members_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.members_ = members_; if (conditionBuilder_ == null) { @@ -573,55 +627,55 @@ public Binding buildPartial() { } else { result.condition_ = conditionBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } - @Override + @java.lang.Override public Builder clone() { return super.clone(); } - @Override + + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } - @Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @Override + + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @Override + + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } - @Override + + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof Binding) { - return mergeFrom((Binding)other); + if (other instanceof com.google.iam.v1.Binding) { + return mergeFrom((com.google.iam.v1.Binding) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(Binding other) { - if (other == Binding.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.iam.v1.Binding other) { + if (other == com.google.iam.v1.Binding.getDefaultInstance()) return this; if (!other.getRole().isEmpty()) { role_ = other.role_; onChanged(); @@ -629,7 +683,7 @@ public Builder mergeFrom(Binding other) { if (!other.members_.isEmpty()) { if (members_.isEmpty()) { members_ = other.members_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMembersIsMutable(); members_.addAll(other.members_); @@ -644,21 +698,21 @@ public Builder mergeFrom(Binding other) { return this; } - @Override + @java.lang.Override public final boolean isInitialized() { return true; } - @Override + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Binding parsedMessage = null; + com.google.iam.v1.Binding parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (Binding) e.getUnfinishedMessage(); + parsedMessage = (com.google.iam.v1.Binding) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,44 +721,50 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private Object role_ = ""; + private java.lang.Object role_ = ""; /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * * string role = 1; + * + * @return The role. */ - public String getRole() { - Object ref = role_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); role_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * * string role = 1; + * + * @return The bytes for role. */ - public com.google.protobuf.ByteString - getRoleBytes() { - Object ref = role_; + public com.google.protobuf.ByteString getRoleBytes() { + java.lang.Object ref = role_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); role_ = b; return b; } else { @@ -712,65 +772,81 @@ public String getRole() { } } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * * string role = 1; + * + * @param value The role to set. + * @return This builder for chaining. */ - public Builder setRole( - String value) { + public Builder setRole(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + role_ = value; onChanged(); return this; } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * * string role = 1; + * + * @return This builder for chaining. */ public Builder clearRole() { - + role_ = getDefaultInstance().getRole(); onChanged(); return this; } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * * string role = 1; + * + * @param value The bytes for role to set. + * @return This builder for chaining. */ - public Builder setRoleBytes( - com.google.protobuf.ByteString value) { + public Builder setRoleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + role_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList members_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList members_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMembersIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { members_ = new com.google.protobuf.LazyStringArrayList(members_); - bitField0_ |= 0x00000002; - } + bitField0_ |= 0x00000001; + } } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -789,12 +865,15 @@ private void ensureMembersIsMutable() {
          * 
    * * repeated string members = 2; + * + * @return A list containing the members. */ - public com.google.protobuf.ProtocolStringList - getMembersList() { + public com.google.protobuf.ProtocolStringList getMembersList() { return members_.getUnmodifiableView(); } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -813,11 +892,15 @@ private void ensureMembersIsMutable() {
          * 
    * * repeated string members = 2; + * + * @return The count of members. */ public int getMembersCount() { return members_.size(); } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -836,11 +919,16 @@ public int getMembersCount() {
          * 
    * * repeated string members = 2; + * + * @param index The index of the element to return. + * @return The members at the given index. */ - public String getMembers(int index) { + public java.lang.String getMembers(int index) { return members_.get(index); } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -859,12 +947,16 @@ public String getMembers(int index) {
          * 
    * * repeated string members = 2; + * + * @param index The index of the value to return. + * @return The bytes of the members at the given index. */ - public com.google.protobuf.ByteString - getMembersBytes(int index) { + public com.google.protobuf.ByteString getMembersBytes(int index) { return members_.getByteString(index); } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -883,18 +975,23 @@ public String getMembers(int index) {
          * 
    * * repeated string members = 2; + * + * @param index The index to set the value at. + * @param value The members to set. + * @return This builder for chaining. */ - public Builder setMembers( - int index, String value) { + public Builder setMembers(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMembersIsMutable(); + throw new NullPointerException(); + } + ensureMembersIsMutable(); members_.set(index, value); onChanged(); return this; } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -913,18 +1010,22 @@ public Builder setMembers(
          * 
    * * repeated string members = 2; + * + * @param value The members to add. + * @return This builder for chaining. */ - public Builder addMembers( - String value) { + public Builder addMembers(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMembersIsMutable(); + throw new NullPointerException(); + } + ensureMembersIsMutable(); members_.add(value); onChanged(); return this; } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -943,16 +1044,19 @@ public Builder addMembers(
          * 
    * * repeated string members = 2; + * + * @param values The members to add. + * @return This builder for chaining. */ - public Builder addAllMembers( - Iterable values) { + public Builder addAllMembers(java.lang.Iterable values) { ensureMembersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, members_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, members_); onChanged(); return this; } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -971,14 +1075,18 @@ public Builder addAllMembers(
          * 
    * * repeated string members = 2; + * + * @return This builder for chaining. */ public Builder clearMembers() { members_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
          * Specifies the identities requesting access for a Cloud Platform resource.
          * `members` can have the following values:
    @@ -997,13 +1105,15 @@ public Builder clearMembers() {
          * 
    * * repeated string members = 2; + * + * @param value The bytes of the members to add. + * @return This builder for chaining. */ - public Builder addMembersBytes( - com.google.protobuf.ByteString value) { + public Builder addMembersBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMembersIsMutable(); members_.add(value); onChanged(); @@ -1012,8 +1122,11 @@ public Builder addMembersBytes( private com.google.type.Expr condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> conditionBuilder_; + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + conditionBuilder_; /** + * + * *
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1022,11 +1135,15 @@ public Builder addMembersBytes(
          * 
    * * .google.type.Expr condition = 3; + * + * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** + * + * *
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1035,6 +1152,8 @@ public boolean hasCondition() {
          * 
    * * .google.type.Expr condition = 3; + * + * @return The condition. */ public com.google.type.Expr getCondition() { if (conditionBuilder_ == null) { @@ -1044,6 +1163,8 @@ public com.google.type.Expr getCondition() { } } /** + * + * *
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1067,6 +1188,8 @@ public Builder setCondition(com.google.type.Expr value) {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1076,8 +1199,7 @@ public Builder setCondition(com.google.type.Expr value) {
          *
          * .google.type.Expr condition = 3;
          */
    -    public Builder setCondition(
    -        com.google.type.Expr.Builder builderForValue) {
    +    public Builder setCondition(com.google.type.Expr.Builder builderForValue) {
           if (conditionBuilder_ == null) {
             condition_ = builderForValue.build();
             onChanged();
    @@ -1088,6 +1210,8 @@ public Builder setCondition(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1100,8 +1224,7 @@ public Builder setCondition(
         public Builder mergeCondition(com.google.type.Expr value) {
           if (conditionBuilder_ == null) {
             if (condition_ != null) {
    -          condition_ =
    -            com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
    +          condition_ = com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
             } else {
               condition_ = value;
             }
    @@ -1113,6 +1236,8 @@ public Builder mergeCondition(com.google.type.Expr value) {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1134,6 +1259,8 @@ public Builder clearCondition() {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1144,11 +1271,13 @@ public Builder clearCondition() {
          * .google.type.Expr condition = 3;
          */
         public com.google.type.Expr.Builder getConditionBuilder() {
    -      
    +
           onChanged();
           return getConditionFieldBuilder().getBuilder();
         }
         /**
    +     *
    +     *
          * 
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1162,11 +1291,12 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
           if (conditionBuilder_ != null) {
             return conditionBuilder_.getMessageOrBuilder();
           } else {
    -        return condition_ == null ?
    -            com.google.type.Expr.getDefaultInstance() : condition_;
    +        return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_;
           }
         }
         /**
    +     *
    +     *
          * 
          * The condition that is associated with this binding.
          * NOTE: An unsatisfied condition will not allow user access via current
    @@ -1177,68 +1307,65 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() {
          * .google.type.Expr condition = 3;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
    -        com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> 
    +            com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>
             getConditionFieldBuilder() {
           if (conditionBuilder_ == null) {
    -        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
    -            com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>(
    -                getCondition(),
    -                getParentForChildren(),
    -                isClean());
    +        conditionBuilder_ =
    +            new com.google.protobuf.SingleFieldBuilderV3<
    +                com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>(
    +                getCondition(), getParentForChildren(), isClean());
             condition_ = null;
           }
           return conditionBuilder_;
         }
    -    @Override
    -    public final Builder setUnknownFields(
    -        final com.google.protobuf.UnknownFieldSet unknownFields) {
    +
    +    @java.lang.Override
    +    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.setUnknownFields(unknownFields);
         }
     
    -    @Override
    +    @java.lang.Override
         public final Builder mergeUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.mergeUnknownFields(unknownFields);
         }
     
    -
         // @@protoc_insertion_point(builder_scope:google.iam.v1.Binding)
       }
     
       // @@protoc_insertion_point(class_scope:google.iam.v1.Binding)
    -  private static final Binding DEFAULT_INSTANCE;
    +  private static final com.google.iam.v1.Binding DEFAULT_INSTANCE;
    +
       static {
    -    DEFAULT_INSTANCE = new Binding();
    +    DEFAULT_INSTANCE = new com.google.iam.v1.Binding();
       }
     
    -  public static Binding getDefaultInstance() {
    +  public static com.google.iam.v1.Binding getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
    -  private static final com.google.protobuf.Parser
    -      PARSER = new com.google.protobuf.AbstractParser() {
    -    @Override
    -    public Binding parsePartialFrom(
    -        com.google.protobuf.CodedInputStream input,
    -        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -        throws com.google.protobuf.InvalidProtocolBufferException {
    -      return new Binding(input, extensionRegistry);
    -    }
    -  };
    +  private static final com.google.protobuf.Parser PARSER =
    +      new com.google.protobuf.AbstractParser() {
    +        @java.lang.Override
    +        public Binding parsePartialFrom(
    +            com.google.protobuf.CodedInputStream input,
    +            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +            throws com.google.protobuf.InvalidProtocolBufferException {
    +          return new Binding(input, extensionRegistry);
    +        }
    +      };
     
       public static com.google.protobuf.Parser parser() {
         return PARSER;
       }
     
    -  @Override
    +  @java.lang.Override
       public com.google.protobuf.Parser getParserForType() {
         return PARSER;
       }
     
    -  @Override
    -  public Binding getDefaultInstanceForType() {
    +  @java.lang.Override
    +  public com.google.iam.v1.Binding getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    -
     }
    -
    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 1d05ab5938f5..731f4c9bf885 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
    @@ -1,9 +1,26 @@
    +/*
    + * 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.
    + */
     // Generated by the protocol buffer compiler.  DO NOT EDIT!
     // source: google/iam/v1/policy.proto
     
     package com.google.iam.v1;
     
     /**
    + *
    + *
      * 
      * One delta entry for Binding. Each individual change (only one member in each
      * entry) to a binding will be a separate entry.
    @@ -11,35 +28,41 @@
      *
      * Protobuf type {@code google.iam.v1.BindingDelta}
      */
    -public  final class BindingDelta extends
    -    com.google.protobuf.GeneratedMessageV3 implements
    +public final class BindingDelta extends com.google.protobuf.GeneratedMessageV3
    +    implements
         // @@protoc_insertion_point(message_implements:google.iam.v1.BindingDelta)
         BindingDeltaOrBuilder {
    -private static final long serialVersionUID = 0L;
    +  private static final long serialVersionUID = 0L;
       // Use BindingDelta.newBuilder() to construct.
       private BindingDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    +
       private BindingDelta() {
         action_ = 0;
         role_ = "";
         member_ = "";
       }
     
    -  @Override
    -  public final com.google.protobuf.UnknownFieldSet
    -  getUnknownFields() {
    +  @java.lang.Override
    +  @SuppressWarnings({"unused"})
    +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +    return new BindingDelta();
    +  }
    +
    +  @java.lang.Override
    +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
    +
       private BindingDelta(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         this();
         if (extensionRegistry == null) {
    -      throw new NullPointerException();
    +      throw new java.lang.NullPointerException();
         }
    -    int mutable_bitField0_ = 0;
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
             com.google.protobuf.UnknownFieldSet.newBuilder();
         try {
    @@ -50,79 +73,86 @@ private BindingDelta(
               case 0:
                 done = true;
                 break;
    -          case 8: {
    -            int rawValue = input.readEnum();
    +          case 8:
    +            {
    +              int rawValue = input.readEnum();
     
    -            action_ = rawValue;
    -            break;
    -          }
    -          case 18: {
    -            String s = input.readStringRequireUtf8();
    +              action_ = rawValue;
    +              break;
    +            }
    +          case 18:
    +            {
    +              java.lang.String s = input.readStringRequireUtf8();
     
    -            role_ = s;
    -            break;
    -          }
    -          case 26: {
    -            String s = input.readStringRequireUtf8();
    +              role_ = s;
    +              break;
    +            }
    +          case 26:
    +            {
    +              java.lang.String s = input.readStringRequireUtf8();
     
    -            member_ = s;
    -            break;
    -          }
    -          case 34: {
    -            com.google.type.Expr.Builder subBuilder = null;
    -            if (condition_ != null) {
    -              subBuilder = condition_.toBuilder();
    +              member_ = s;
    +              break;
                 }
    -            condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry);
    -            if (subBuilder != null) {
    -              subBuilder.mergeFrom(condition_);
    -              condition_ = subBuilder.buildPartial();
    +          case 34:
    +            {
    +              com.google.type.Expr.Builder subBuilder = null;
    +              if (condition_ != null) {
    +                subBuilder = condition_.toBuilder();
    +              }
    +              condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry);
    +              if (subBuilder != null) {
    +                subBuilder.mergeFrom(condition_);
    +                condition_ = subBuilder.buildPartial();
    +              }
    +
    +              break;
                 }
    -
    -            break;
    -          }
    -          default: {
    -            if (!parseUnknownField(
    -                input, unknownFields, extensionRegistry, tag)) {
    -              done = true;
    +          default:
    +            {
    +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    +                done = true;
    +              }
    +              break;
                 }
    -            break;
    -          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(
    -          e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -  public static final com.google.protobuf.Descriptors.Descriptor
    -      getDescriptor() {
    -    return PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor;
    +
    +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    +    return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor;
       }
     
    -  @Override
    -  protected FieldAccessorTable
    +  @java.lang.Override
    +  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable
    +    return com.google.iam.v1.PolicyProto
    +        .internal_static_google_iam_v1_BindingDelta_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            BindingDelta.class, Builder.class);
    +            com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class);
       }
     
       /**
    +   *
    +   *
        * 
        * The type of action performed on a Binding in a policy.
        * 
    * * Protobuf enum {@code google.iam.v1.BindingDelta.Action} */ - public enum Action - implements com.google.protobuf.ProtocolMessageEnum { + public enum Action implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified.
          * 
    @@ -131,6 +161,8 @@ public enum Action */ ACTION_UNSPECIFIED(0), /** + * + * *
          * Addition of a Binding.
          * 
    @@ -139,6 +171,8 @@ public enum Action */ ADD(1), /** + * + * *
          * Removal of a Binding.
          * 
    @@ -150,6 +184,8 @@ public enum Action ; /** + * + * *
          * Unspecified.
          * 
    @@ -158,6 +194,8 @@ public enum Action */ public static final int ACTION_UNSPECIFIED_VALUE = 0; /** + * + * *
          * Addition of a Binding.
          * 
    @@ -166,6 +204,8 @@ public enum Action */ public static final int ADD_VALUE = 1; /** + * + * *
          * Removal of a Binding.
          * 
    @@ -174,64 +214,69 @@ public enum Action */ public static final int REMOVE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { - throw new IllegalArgumentException( + throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ - @Deprecated + @java.lang.Deprecated public static Action valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Action forNumber(int value) { switch (value) { - case 0: return ACTION_UNSPECIFIED; - case 1: return ADD; - case 2: return REMOVE; - default: return null; + case 0: + return ACTION_UNSPECIFIED; + case 1: + return ADD; + case 2: + return REMOVE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Action> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Action findValueByNumber(int number) { - return Action.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Action findValueByNumber(int number) { + return Action.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return BindingDelta.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.iam.v1.BindingDelta.getDescriptor().getEnumTypes().get(0); } private static final Action[] VALUES = values(); - public static Action valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -251,33 +296,44 @@ private Action(int value) { public static final int ACTION_FIELD_NUMBER = 1; private int action_; /** + * + * *
        * The action that was performed on a Binding.
        * Required
        * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @return The enum numeric value on the wire for action. */ public int getActionValue() { return action_; } /** + * + * *
        * The action that was performed on a Binding.
        * Required
        * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @return The action. */ - public Action getAction() { + public com.google.iam.v1.BindingDelta.Action getAction() { @SuppressWarnings("deprecation") - Action result = Action.valueOf(action_); - return result == null ? Action.UNRECOGNIZED : result; + com.google.iam.v1.BindingDelta.Action result = + com.google.iam.v1.BindingDelta.Action.valueOf(action_); + return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; } public static final int ROLE_FIELD_NUMBER = 2; - private volatile Object role_; + private volatile java.lang.Object role_; /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -285,20 +341,23 @@ public Action getAction() {
        * 
    * * string role = 2; + * + * @return The role. */ - public String getRole() { - Object ref = role_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); role_ = s; return s; } } /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -306,14 +365,14 @@ public String getRole() {
        * 
    * * string role = 2; + * + * @return The bytes for role. */ - public com.google.protobuf.ByteString - getRoleBytes() { - Object ref = role_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getRoleBytes() { + java.lang.Object ref = role_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); role_ = b; return b; } else { @@ -322,8 +381,10 @@ public String getRole() { } public static final int MEMBER_FIELD_NUMBER = 3; - private volatile Object member_; + private volatile java.lang.Object member_; /** + * + * *
        * A single identity requesting access for a Cloud Platform resource.
        * Follows the same format of Binding.members.
    @@ -331,20 +392,23 @@ public String getRole() {
        * 
    * * string member = 3; + * + * @return The member. */ - public String getMember() { - Object ref = member_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getMember() { + java.lang.Object ref = member_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); member_ = s; return s; } } /** + * + * *
        * A single identity requesting access for a Cloud Platform resource.
        * Follows the same format of Binding.members.
    @@ -352,14 +416,14 @@ public String getMember() {
        * 
    * * string member = 3; + * + * @return The bytes for member. */ - public com.google.protobuf.ByteString - getMemberBytes() { - Object ref = member_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getMemberBytes() { + java.lang.Object ref = member_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); member_ = b; return b; } else { @@ -370,26 +434,36 @@ public String getMember() { public static final int CONDITION_FIELD_NUMBER = 4; private com.google.type.Expr condition_; /** + * + * *
        * The condition that is associated with this binding.
        * 
    * * .google.type.Expr condition = 4; + * + * @return Whether the condition field is set. */ public boolean hasCondition() { return condition_ != null; } /** + * + * *
        * The condition that is associated with this binding.
        * 
    * * .google.type.Expr condition = 4; + * + * @return The condition. */ public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } /** + * + * *
        * The condition that is associated with this binding.
        * 
    @@ -401,7 +475,8 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -411,10 +486,9 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { output.writeEnum(1, action_); } if (!getRoleBytes().isEmpty()) { @@ -429,15 +503,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; - if (action_ != Action.ACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, action_); + if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_); } if (!getRoleBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, role_); @@ -446,39 +519,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_); } if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCondition()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof BindingDelta)) { + if (!(obj instanceof com.google.iam.v1.BindingDelta)) { return super.equals(obj); } - BindingDelta other = (BindingDelta) obj; + com.google.iam.v1.BindingDelta other = (com.google.iam.v1.BindingDelta) obj; if (action_ != other.action_) return false; - if (!getRole() - .equals(other.getRole())) return false; - if (!getMember() - .equals(other.getMember())) return false; + if (!getRole().equals(other.getRole())) return false; + if (!getMember().equals(other.getMember())) return false; if (hasCondition() != other.hasCondition()) return false; if (hasCondition()) { - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getCondition().equals(other.getCondition())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -500,97 +569,103 @@ public int hashCode() { return hash; } - public static BindingDelta parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.BindingDelta parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static BindingDelta parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.BindingDelta parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static BindingDelta parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.iam.v1.BindingDelta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static BindingDelta parseFrom( + + public static com.google.iam.v1.BindingDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static BindingDelta parseFrom(byte[] data) + + public static com.google.iam.v1.BindingDelta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static BindingDelta parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.BindingDelta parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static BindingDelta parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.BindingDelta parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static BindingDelta parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.BindingDelta parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static BindingDelta parseDelimitedFrom(java.io.InputStream input) + + public static com.google.iam.v1.BindingDelta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static BindingDelta parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.BindingDelta parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static BindingDelta parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.iam.v1.BindingDelta parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static BindingDelta parseFrom( + + public static com.google.iam.v1.BindingDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(BindingDelta prototype) { + + public static Builder newBuilder(com.google.iam.v1.BindingDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * One delta entry for Binding. Each individual change (only one member in each
        * entry) to a binding will be a separate entry.
    @@ -598,21 +673,21 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.iam.v1.BindingDelta}
        */
    -  public static final class Builder extends
    -      com.google.protobuf.GeneratedMessageV3.Builder implements
    +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    +      implements
           // @@protoc_insertion_point(builder_implements:google.iam.v1.BindingDelta)
           com.google.iam.v1.BindingDeltaOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor
    -        getDescriptor() {
    -      return PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    +      return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor;
         }
     
    -    @Override
    -    protected FieldAccessorTable
    +    @java.lang.Override
    +    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return PolicyProto.internal_static_google_iam_v1_BindingDelta_fieldAccessorTable
    +      return com.google.iam.v1.PolicyProto
    +          .internal_static_google_iam_v1_BindingDelta_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              BindingDelta.class, Builder.class);
    +              com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class);
         }
     
         // Construct using com.google.iam.v1.BindingDelta.newBuilder()
    @@ -620,17 +695,16 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(
    -        BuilderParent parent) {
    +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    +
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3
    -              .alwaysUseFieldBuilders) {
    -      }
    +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder clear() {
           super.clear();
           action_ = 0;
    @@ -648,29 +722,28 @@ public Builder clear() {
           return this;
         }
     
    -    @Override
    -    public com.google.protobuf.Descriptors.Descriptor
    -        getDescriptorForType() {
    -      return PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor;
    +    @java.lang.Override
    +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    +      return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor;
         }
     
    -    @Override
    -    public BindingDelta getDefaultInstanceForType() {
    -      return BindingDelta.getDefaultInstance();
    +    @java.lang.Override
    +    public com.google.iam.v1.BindingDelta getDefaultInstanceForType() {
    +      return com.google.iam.v1.BindingDelta.getDefaultInstance();
         }
     
    -    @Override
    -    public BindingDelta build() {
    -      BindingDelta result = buildPartial();
    +    @java.lang.Override
    +    public com.google.iam.v1.BindingDelta build() {
    +      com.google.iam.v1.BindingDelta result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
           return result;
         }
     
    -    @Override
    -    public BindingDelta buildPartial() {
    -      BindingDelta result = new BindingDelta(this);
    +    @java.lang.Override
    +    public com.google.iam.v1.BindingDelta buildPartial() {
    +      com.google.iam.v1.BindingDelta result = new com.google.iam.v1.BindingDelta(this);
           result.action_ = action_;
           result.role_ = role_;
           result.member_ = member_;
    @@ -683,50 +756,51 @@ public BindingDelta buildPartial() {
           return result;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder clone() {
           return super.clone();
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
    -    @Override
    -    public Builder clearField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field) {
    +
    +    @java.lang.Override
    +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -    @Override
    -    public Builder clearOneof(
    -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +
    +    @java.lang.Override
    +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        int index, Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other instanceof BindingDelta) {
    -        return mergeFrom((BindingDelta)other);
    +      if (other instanceof com.google.iam.v1.BindingDelta) {
    +        return mergeFrom((com.google.iam.v1.BindingDelta) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(BindingDelta other) {
    -      if (other == BindingDelta.getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.iam.v1.BindingDelta other) {
    +      if (other == com.google.iam.v1.BindingDelta.getDefaultInstance()) return this;
           if (other.action_ != 0) {
             setActionValue(other.getActionValue());
           }
    @@ -746,21 +820,21 @@ public Builder mergeFrom(BindingDelta other) {
           return this;
         }
     
    -    @Override
    +    @java.lang.Override
         public final boolean isInitialized() {
           return true;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      BindingDelta parsedMessage = null;
    +      com.google.iam.v1.BindingDelta parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (BindingDelta) e.getUnfinishedMessage();
    +        parsedMessage = (com.google.iam.v1.BindingDelta) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -772,23 +846,32 @@ public Builder mergeFrom(
     
         private int action_ = 0;
         /**
    +     *
    +     *
          * 
          * The action that was performed on a Binding.
          * Required
          * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @return The enum numeric value on the wire for action. */ public int getActionValue() { return action_; } /** + * + * *
          * The action that was performed on a Binding.
          * Required
          * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @param value The enum numeric value on the wire for action to set. + * @return This builder for chaining. */ public Builder setActionValue(int value) { action_ = value; @@ -796,52 +879,68 @@ public Builder setActionValue(int value) { return this; } /** + * + * *
          * The action that was performed on a Binding.
          * Required
          * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @return The action. */ - public Action getAction() { + public com.google.iam.v1.BindingDelta.Action getAction() { @SuppressWarnings("deprecation") - Action result = Action.valueOf(action_); - return result == null ? Action.UNRECOGNIZED : result; + com.google.iam.v1.BindingDelta.Action result = + com.google.iam.v1.BindingDelta.Action.valueOf(action_); + return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; } /** + * + * *
          * The action that was performed on a Binding.
          * Required
          * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @param value The action to set. + * @return This builder for chaining. */ - public Builder setAction(Action value) { + public Builder setAction(com.google.iam.v1.BindingDelta.Action value) { if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * The action that was performed on a Binding.
          * Required
          * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @return This builder for chaining. */ public Builder clearAction() { - + action_ = 0; onChanged(); return this; } - private Object role_ = ""; + private java.lang.Object role_ = ""; /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -849,20 +948,23 @@ public Builder clearAction() {
          * 
    * * string role = 2; + * + * @return The role. */ - public String getRole() { - Object ref = role_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getRole() { + java.lang.Object ref = role_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); role_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -870,14 +972,14 @@ public String getRole() {
          * 
    * * string role = 2; + * + * @return The bytes for role. */ - public com.google.protobuf.ByteString - getRoleBytes() { - Object ref = role_; + public com.google.protobuf.ByteString getRoleBytes() { + java.lang.Object ref = role_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); role_ = b; return b; } else { @@ -885,6 +987,8 @@ public String getRole() { } } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -892,18 +996,22 @@ public String getRole() {
          * 
    * * string role = 2; + * + * @param value The role to set. + * @return This builder for chaining. */ - public Builder setRole( - String value) { + public Builder setRole(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + role_ = value; onChanged(); return this; } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -911,14 +1019,18 @@ public Builder setRole(
          * 
    * * string role = 2; + * + * @return This builder for chaining. */ public Builder clearRole() { - + role_ = getDefaultInstance().getRole(); onChanged(); return this; } /** + * + * *
          * Role that is assigned to `members`.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -926,21 +1038,25 @@ public Builder clearRole() {
          * 
    * * string role = 2; + * + * @param value The bytes for role to set. + * @return This builder for chaining. */ - public Builder setRoleBytes( - com.google.protobuf.ByteString value) { + public Builder setRoleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + role_ = value; onChanged(); return this; } - private Object member_ = ""; + private java.lang.Object member_ = ""; /** + * + * *
          * A single identity requesting access for a Cloud Platform resource.
          * Follows the same format of Binding.members.
    @@ -948,20 +1064,23 @@ public Builder setRoleBytes(
          * 
    * * string member = 3; + * + * @return The member. */ - public String getMember() { - Object ref = member_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getMember() { + java.lang.Object ref = member_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); member_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * A single identity requesting access for a Cloud Platform resource.
          * Follows the same format of Binding.members.
    @@ -969,14 +1088,14 @@ public String getMember() {
          * 
    * * string member = 3; + * + * @return The bytes for member. */ - public com.google.protobuf.ByteString - getMemberBytes() { - Object ref = member_; + public com.google.protobuf.ByteString getMemberBytes() { + java.lang.Object ref = member_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); member_ = b; return b; } else { @@ -984,6 +1103,8 @@ public String getMember() { } } /** + * + * *
          * A single identity requesting access for a Cloud Platform resource.
          * Follows the same format of Binding.members.
    @@ -991,18 +1112,22 @@ public String getMember() {
          * 
    * * string member = 3; + * + * @param value The member to set. + * @return This builder for chaining. */ - public Builder setMember( - String value) { + public Builder setMember(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + member_ = value; onChanged(); return this; } /** + * + * *
          * A single identity requesting access for a Cloud Platform resource.
          * Follows the same format of Binding.members.
    @@ -1010,14 +1135,18 @@ public Builder setMember(
          * 
    * * string member = 3; + * + * @return This builder for chaining. */ public Builder clearMember() { - + member_ = getDefaultInstance().getMember(); onChanged(); return this; } /** + * + * *
          * A single identity requesting access for a Cloud Platform resource.
          * Follows the same format of Binding.members.
    @@ -1025,14 +1154,16 @@ public Builder clearMember() {
          * 
    * * string member = 3; + * + * @param value The bytes for member to set. + * @return This builder for chaining. */ - public Builder setMemberBytes( - com.google.protobuf.ByteString value) { + public Builder setMemberBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + member_ = value; onChanged(); return this; @@ -1040,23 +1171,32 @@ public Builder setMemberBytes( private com.google.type.Expr condition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> conditionBuilder_; + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + conditionBuilder_; /** + * + * *
          * The condition that is associated with this binding.
          * 
    * * .google.type.Expr condition = 4; + * + * @return Whether the condition field is set. */ public boolean hasCondition() { return conditionBuilder_ != null || condition_ != null; } /** + * + * *
          * The condition that is associated with this binding.
          * 
    * * .google.type.Expr condition = 4; + * + * @return The condition. */ public com.google.type.Expr getCondition() { if (conditionBuilder_ == null) { @@ -1066,6 +1206,8 @@ public com.google.type.Expr getCondition() { } } /** + * + * *
          * The condition that is associated with this binding.
          * 
    @@ -1086,14 +1228,15 @@ public Builder setCondition(com.google.type.Expr value) { return this; } /** + * + * *
          * The condition that is associated with this binding.
          * 
    * * .google.type.Expr condition = 4; */ - public Builder setCondition( - com.google.type.Expr.Builder builderForValue) { + public Builder setCondition(com.google.type.Expr.Builder builderForValue) { if (conditionBuilder_ == null) { condition_ = builderForValue.build(); onChanged(); @@ -1104,6 +1247,8 @@ public Builder setCondition( return this; } /** + * + * *
          * The condition that is associated with this binding.
          * 
    @@ -1113,8 +1258,7 @@ public Builder setCondition( public Builder mergeCondition(com.google.type.Expr value) { if (conditionBuilder_ == null) { if (condition_ != null) { - condition_ = - com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial(); + condition_ = com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial(); } else { condition_ = value; } @@ -1126,6 +1270,8 @@ public Builder mergeCondition(com.google.type.Expr value) { return this; } /** + * + * *
          * The condition that is associated with this binding.
          * 
    @@ -1144,6 +1290,8 @@ public Builder clearCondition() { return this; } /** + * + * *
          * The condition that is associated with this binding.
          * 
    @@ -1151,11 +1299,13 @@ public Builder clearCondition() { * .google.type.Expr condition = 4; */ public com.google.type.Expr.Builder getConditionBuilder() { - + onChanged(); return getConditionFieldBuilder().getBuilder(); } /** + * + * *
          * The condition that is associated with this binding.
          * 
    @@ -1166,11 +1316,12 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { if (conditionBuilder_ != null) { return conditionBuilder_.getMessageOrBuilder(); } else { - return condition_ == null ? - com.google.type.Expr.getDefaultInstance() : condition_; + return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } } /** + * + * *
          * The condition that is associated with this binding.
          * 
    @@ -1178,68 +1329,65 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { * .google.type.Expr condition = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> getConditionFieldBuilder() { if (conditionBuilder_ == null) { - conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( - getCondition(), - getParentForChildren(), - isClean()); + conditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( + getCondition(), getParentForChildren(), isClean()); condition_ = null; } return conditionBuilder_; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.BindingDelta) } // @@protoc_insertion_point(class_scope:google.iam.v1.BindingDelta) - private static final BindingDelta DEFAULT_INSTANCE; + private static final com.google.iam.v1.BindingDelta DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new BindingDelta(); + DEFAULT_INSTANCE = new com.google.iam.v1.BindingDelta(); } - public static BindingDelta getDefaultInstance() { + public static com.google.iam.v1.BindingDelta getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public BindingDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BindingDelta(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BindingDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BindingDelta(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public BindingDelta getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.BindingDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java index ffed4bd8ac6c..a2959294d9bb 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java @@ -1,32 +1,58 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; -public interface BindingDeltaOrBuilder extends +public interface BindingDeltaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.BindingDelta) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The action that was performed on a Binding.
        * Required
        * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
        * The action that was performed on a Binding.
        * Required
        * 
    * * .google.iam.v1.BindingDelta.Action action = 1; + * + * @return The action. */ - BindingDelta.Action getAction(); + com.google.iam.v1.BindingDelta.Action getAction(); /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -34,9 +60,13 @@ public interface BindingDeltaOrBuilder extends
        * 
    * * string role = 2; + * + * @return The role. */ - String getRole(); + java.lang.String getRole(); /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    @@ -44,11 +74,14 @@ public interface BindingDeltaOrBuilder extends
        * 
    * * string role = 2; + * + * @return The bytes for role. */ - com.google.protobuf.ByteString - getRoleBytes(); + com.google.protobuf.ByteString getRoleBytes(); /** + * + * *
        * A single identity requesting access for a Cloud Platform resource.
        * Follows the same format of Binding.members.
    @@ -56,9 +89,13 @@ public interface BindingDeltaOrBuilder extends
        * 
    * * string member = 3; + * + * @return The member. */ - String getMember(); + java.lang.String getMember(); /** + * + * *
        * A single identity requesting access for a Cloud Platform resource.
        * Follows the same format of Binding.members.
    @@ -66,27 +103,38 @@ public interface BindingDeltaOrBuilder extends
        * 
    * * string member = 3; + * + * @return The bytes for member. */ - com.google.protobuf.ByteString - getMemberBytes(); + com.google.protobuf.ByteString getMemberBytes(); /** + * + * *
        * The condition that is associated with this binding.
        * 
    * * .google.type.Expr condition = 4; + * + * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
        * The condition that is associated with this binding.
        * 
    * * .google.type.Expr condition = 4; + * + * @return The condition. */ com.google.type.Expr getCondition(); /** + * + * *
        * The condition that is associated with this binding.
        * 
    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 d43f6b8aee46..f51272f79b05 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 @@ -1,33 +1,58 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; -public interface BindingOrBuilder extends +public interface BindingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.Binding) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * * string role = 1; + * + * @return The role. */ - String getRole(); + java.lang.String getRole(); /** + * + * *
        * Role that is assigned to `members`.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * * string role = 1; + * + * @return The bytes for role. */ - com.google.protobuf.ByteString - getRoleBytes(); + com.google.protobuf.ByteString getRoleBytes(); /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -46,10 +71,13 @@ public interface BindingOrBuilder extends
        * 
    * * repeated string members = 2; + * + * @return A list containing the members. */ - java.util.List - getMembersList(); + java.util.List getMembersList(); /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -68,9 +96,13 @@ public interface BindingOrBuilder extends
        * 
    * * repeated string members = 2; + * + * @return The count of members. */ int getMembersCount(); /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -89,9 +121,14 @@ public interface BindingOrBuilder extends
        * 
    * * repeated string members = 2; + * + * @param index The index of the element to return. + * @return The members at the given index. */ - String getMembers(int index); + java.lang.String getMembers(int index); /** + * + * *
        * Specifies the identities requesting access for a Cloud Platform resource.
        * `members` can have the following values:
    @@ -110,11 +147,15 @@ public interface BindingOrBuilder extends
        * 
    * * repeated string members = 2; + * + * @param index The index of the value to return. + * @return The bytes of the members at the given index. */ - com.google.protobuf.ByteString - getMembersBytes(int index); + com.google.protobuf.ByteString getMembersBytes(int index); /** + * + * *
        * The condition that is associated with this binding.
        * NOTE: An unsatisfied condition will not allow user access via current
    @@ -123,9 +164,13 @@ public interface BindingOrBuilder extends
        * 
    * * .google.type.Expr condition = 3; + * + * @return Whether the condition field is set. */ boolean hasCondition(); /** + * + * *
        * The condition that is associated with this binding.
        * NOTE: An unsatisfied condition will not allow user access via current
    @@ -134,9 +179,13 @@ public interface BindingOrBuilder extends
        * 
    * * .google.type.Expr condition = 3; + * + * @return The condition. */ com.google.type.Expr getCondition(); /** + * + * *
        * The condition that is associated with this binding.
        * NOTE: An unsatisfied condition will not allow user access via current
    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 78432184177e..af0b356660a3 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
    @@ -1,42 +1,65 @@
    +/*
    + * 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.
    + */
     // Generated by the protocol buffer compiler.  DO NOT EDIT!
     // source: google/iam/v1/iam_policy.proto
     
     package com.google.iam.v1;
     
     /**
    + *
    + *
      * 
      * Request message for `GetIamPolicy` method.
      * 
    * * Protobuf type {@code google.iam.v1.GetIamPolicyRequest} */ -public final class GetIamPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.iam.v1.GetIamPolicyRequest) GetIamPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetIamPolicyRequest.newBuilder() to construct. private GetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetIamPolicyRequest() { resource_ = ""; } - @Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetIamPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetIamPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new NullPointerException(); + throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -47,94 +70,108 @@ private GetIamPolicyRequest( case 0: done = true; break; - case 10: { - String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 18: { - GetPolicyOptions.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); + resource_ = s; + break; } - options_ = input.readMessage(GetPolicyOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); + case 18: + { + com.google.iam.v1.GetPolicyOptions.Builder subBuilder = null; + if (options_ != null) { + subBuilder = options_.toBuilder(); + } + options_ = + input.readMessage(com.google.iam.v1.GetPolicyOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(options_); + options_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - GetIamPolicyRequest.class, Builder.class); + com.google.iam.v1.GetIamPolicyRequest.class, + com.google.iam.v1.GetIamPolicyRequest.Builder.class); } public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile Object resource_; + private volatile java.lang.Object resource_; /** + * + * *
        * REQUIRED: The resource for which the policy is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - public String getResource() { - Object ref = resource_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
        * REQUIRED: The resource for which the policy is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { - Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -143,30 +180,40 @@ public String getResource() { } public static final int OPTIONS_FIELD_NUMBER = 2; - private GetPolicyOptions options_; + private com.google.iam.v1.GetPolicyOptions options_; /** + * + * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
        * `GetIamPolicy`. This field is only used by Cloud IAM.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; + * + * @return Whether the options field is set. */ public boolean hasOptions() { return options_ != null; } /** + * + * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
        * `GetIamPolicy`. This field is only used by Cloud IAM.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; + * + * @return The options. */ - public GetPolicyOptions getOptions() { - return options_ == null ? GetPolicyOptions.getDefaultInstance() : options_; + public com.google.iam.v1.GetPolicyOptions getOptions() { + return options_ == null ? com.google.iam.v1.GetPolicyOptions.getDefaultInstance() : options_; } /** + * + * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
        * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -179,7 +226,8 @@ public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() {
       }
     
       private byte memoizedIsInitialized = -1;
    -  @Override
    +
    +  @java.lang.Override
       public final boolean isInitialized() {
         byte isInitialized = memoizedIsInitialized;
         if (isInitialized == 1) return true;
    @@ -189,9 +237,8 @@ public final boolean isInitialized() {
         return true;
       }
     
    -  @Override
    -  public void writeTo(com.google.protobuf.CodedOutputStream output)
    -                      throws java.io.IOException {
    +  @java.lang.Override
    +  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
         if (!getResourceBytes().isEmpty()) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_);
         }
    @@ -201,7 +248,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         unknownFields.writeTo(output);
       }
     
    -  @Override
    +  @java.lang.Override
       public int getSerializedSize() {
         int size = memoizedSize;
         if (size != -1) return size;
    @@ -211,36 +258,33 @@ public int getSerializedSize() {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_);
         }
         if (options_ != null) {
    -      size += com.google.protobuf.CodedOutputStream
    -        .computeMessageSize(2, getOptions());
    +      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
         }
         size += unknownFields.getSerializedSize();
         memoizedSize = size;
         return size;
       }
     
    -  @Override
    -  public boolean equals(final Object obj) {
    +  @java.lang.Override
    +  public boolean equals(final java.lang.Object obj) {
         if (obj == this) {
    -     return true;
    +      return true;
         }
    -    if (!(obj instanceof GetIamPolicyRequest)) {
    +    if (!(obj instanceof com.google.iam.v1.GetIamPolicyRequest)) {
           return super.equals(obj);
         }
    -    GetIamPolicyRequest other = (GetIamPolicyRequest) obj;
    +    com.google.iam.v1.GetIamPolicyRequest other = (com.google.iam.v1.GetIamPolicyRequest) obj;
     
    -    if (!getResource()
    -        .equals(other.getResource())) return false;
    +    if (!getResource().equals(other.getResource())) return false;
         if (hasOptions() != other.hasOptions()) return false;
         if (hasOptions()) {
    -      if (!getOptions()
    -          .equals(other.getOptions())) return false;
    +      if (!getOptions().equals(other.getOptions())) return false;
         }
         if (!unknownFields.equals(other.unknownFields)) return false;
         return true;
       }
     
    -  @Override
    +  @java.lang.Override
       public int hashCode() {
         if (memoizedHashCode != 0) {
           return memoizedHashCode;
    @@ -258,118 +302,126 @@ public int hashCode() {
         return hash;
       }
     
    -  public static GetIamPolicyRequest parseFrom(
    -      java.nio.ByteBuffer data)
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(java.nio.ByteBuffer data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static GetIamPolicyRequest parseFrom(
    -      java.nio.ByteBuffer data,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(
    +      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static GetIamPolicyRequest parseFrom(
    -      com.google.protobuf.ByteString data)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(com.google.protobuf.ByteString data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static GetIamPolicyRequest parseFrom(
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(
           com.google.protobuf.ByteString data,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static GetIamPolicyRequest parseFrom(byte[] data)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(byte[] data)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data);
       }
    -  public static GetIamPolicyRequest parseFrom(
    -      byte[] data,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(
    +      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         return PARSER.parseFrom(data, extensionRegistry);
       }
    -  public static GetIamPolicyRequest parseFrom(java.io.InputStream input)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(java.io.InputStream input)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input);
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
    -  public static GetIamPolicyRequest parseFrom(
    -      java.io.InputStream input,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(
    +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    +        PARSER, input, extensionRegistry);
       }
    -  public static GetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseDelimitedWithIOException(PARSER, input);
    +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
       }
    -  public static GetIamPolicyRequest parseDelimitedFrom(
    -      java.io.InputStream input,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom(
    +      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
    +        PARSER, input, extensionRegistry);
       }
    -  public static GetIamPolicyRequest parseFrom(
    -      com.google.protobuf.CodedInputStream input)
    -      throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input);
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(
    +      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
       }
    -  public static GetIamPolicyRequest parseFrom(
    +
    +  public static com.google.iam.v1.GetIamPolicyRequest parseFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
    -    return com.google.protobuf.GeneratedMessageV3
    -        .parseWithIOException(PARSER, input, extensionRegistry);
    +    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
    +        PARSER, input, extensionRegistry);
    +  }
    +
    +  @java.lang.Override
    +  public Builder newBuilderForType() {
    +    return newBuilder();
       }
     
    -  @Override
    -  public Builder newBuilderForType() { return newBuilder(); }
       public static Builder newBuilder() {
         return DEFAULT_INSTANCE.toBuilder();
       }
    -  public static Builder newBuilder(GetIamPolicyRequest prototype) {
    +
    +  public static Builder newBuilder(com.google.iam.v1.GetIamPolicyRequest prototype) {
         return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
       }
    -  @Override
    +
    +  @java.lang.Override
       public Builder toBuilder() {
    -    return this == DEFAULT_INSTANCE
    -        ? new Builder() : new Builder().mergeFrom(this);
    +    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
       }
     
    -  @Override
    -  protected Builder newBuilderForType(
    -      BuilderParent parent) {
    +  @java.lang.Override
    +  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         Builder builder = new Builder(parent);
         return builder;
       }
       /**
    +   *
    +   *
        * 
        * Request message for `GetIamPolicy` method.
        * 
    * * Protobuf type {@code google.iam.v1.GetIamPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.iam.v1.GetIamPolicyRequest) com.google.iam.v1.GetIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - GetIamPolicyRequest.class, Builder.class); + com.google.iam.v1.GetIamPolicyRequest.class, + com.google.iam.v1.GetIamPolicyRequest.Builder.class); } // Construct using com.google.iam.v1.GetIamPolicyRequest.newBuilder() @@ -377,17 +429,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @Override + + @java.lang.Override public Builder clear() { super.clear(); resource_ = ""; @@ -401,29 +452,30 @@ public Builder clear() { return this; } - @Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return IamPolicyProto.internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; } - @Override - public GetIamPolicyRequest getDefaultInstanceForType() { - return GetIamPolicyRequest.getDefaultInstance(); + @java.lang.Override + public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() { + return com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance(); } - @Override - public GetIamPolicyRequest build() { - GetIamPolicyRequest result = buildPartial(); + @java.lang.Override + public com.google.iam.v1.GetIamPolicyRequest build() { + com.google.iam.v1.GetIamPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @Override - public GetIamPolicyRequest buildPartial() { - GetIamPolicyRequest result = new GetIamPolicyRequest(this); + @java.lang.Override + public com.google.iam.v1.GetIamPolicyRequest buildPartial() { + com.google.iam.v1.GetIamPolicyRequest result = + new com.google.iam.v1.GetIamPolicyRequest(this); result.resource_ = resource_; if (optionsBuilder_ == null) { result.options_ = options_; @@ -434,50 +486,51 @@ public GetIamPolicyRequest buildPartial() { return result; } - @Override + @java.lang.Override public Builder clone() { return super.clone(); } - @Override + + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } - @Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @Override + + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @Override + + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } - @Override + + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof GetIamPolicyRequest) { - return mergeFrom((GetIamPolicyRequest)other); + if (other instanceof com.google.iam.v1.GetIamPolicyRequest) { + return mergeFrom((com.google.iam.v1.GetIamPolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(GetIamPolicyRequest other) { - if (other == GetIamPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.iam.v1.GetIamPolicyRequest other) { + if (other == com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -490,21 +543,21 @@ public Builder mergeFrom(GetIamPolicyRequest other) { return this; } - @Override + @java.lang.Override public final boolean isInitialized() { return true; } - @Override + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - GetIamPolicyRequest parsedMessage = null; + com.google.iam.v1.GetIamPolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (GetIamPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.iam.v1.GetIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -514,42 +567,51 @@ public Builder mergeFrom( return this; } - private Object resource_ = ""; + private java.lang.Object resource_ = ""; /** + * + * *
          * REQUIRED: The resource for which the policy is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - public String getResource() { - Object ref = resource_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * REQUIRED: The resource for which the policy is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { - Object ref = resource_; + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -557,87 +619,120 @@ public String getResource() { } } /** + * + * *
          * REQUIRED: The resource for which the policy is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The resource to set. + * @return This builder for chaining. */ - public Builder setResource( - String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
          * REQUIRED: The resource for which the policy is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
          * REQUIRED: The resource for which the policy is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for resource to set. + * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } - private GetPolicyOptions options_; + private com.google.iam.v1.GetPolicyOptions options_; private com.google.protobuf.SingleFieldBuilderV3< - GetPolicyOptions, GetPolicyOptions.Builder, com.google.iam.v1.GetPolicyOptionsOrBuilder> optionsBuilder_; + com.google.iam.v1.GetPolicyOptions, + com.google.iam.v1.GetPolicyOptions.Builder, + com.google.iam.v1.GetPolicyOptionsOrBuilder> + optionsBuilder_; /** + * + * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; + * + * @return Whether the options field is set. */ public boolean hasOptions() { return optionsBuilder_ != null || options_ != null; } /** + * + * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; + * + * @return The options. */ - public GetPolicyOptions getOptions() { + public com.google.iam.v1.GetPolicyOptions getOptions() { if (optionsBuilder_ == null) { - return options_ == null ? GetPolicyOptions.getDefaultInstance() : options_; + return options_ == null + ? com.google.iam.v1.GetPolicyOptions.getDefaultInstance() + : options_; } else { return optionsBuilder_.getMessage(); } } /** + * + * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -645,7 +740,7 @@ public GetPolicyOptions getOptions() {
          *
          * .google.iam.v1.GetPolicyOptions options = 2;
          */
    -    public Builder setOptions(GetPolicyOptions value) {
    +    public Builder setOptions(com.google.iam.v1.GetPolicyOptions value) {
           if (optionsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
    @@ -659,6 +754,8 @@ public Builder setOptions(GetPolicyOptions value) {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -666,8 +763,7 @@ public Builder setOptions(GetPolicyOptions value) {
          *
          * .google.iam.v1.GetPolicyOptions options = 2;
          */
    -    public Builder setOptions(
    -        GetPolicyOptions.Builder builderForValue) {
    +    public Builder setOptions(com.google.iam.v1.GetPolicyOptions.Builder builderForValue) {
           if (optionsBuilder_ == null) {
             options_ = builderForValue.build();
             onChanged();
    @@ -678,6 +774,8 @@ public Builder setOptions(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -685,11 +783,13 @@ public Builder setOptions(
          *
          * .google.iam.v1.GetPolicyOptions options = 2;
          */
    -    public Builder mergeOptions(GetPolicyOptions value) {
    +    public Builder mergeOptions(com.google.iam.v1.GetPolicyOptions value) {
           if (optionsBuilder_ == null) {
             if (options_ != null) {
               options_ =
    -            GetPolicyOptions.newBuilder(options_).mergeFrom(value).buildPartial();
    +              com.google.iam.v1.GetPolicyOptions.newBuilder(options_)
    +                  .mergeFrom(value)
    +                  .buildPartial();
             } else {
               options_ = value;
             }
    @@ -701,6 +801,8 @@ public Builder mergeOptions(GetPolicyOptions value) {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -720,6 +822,8 @@ public Builder clearOptions() {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -727,12 +831,14 @@ public Builder clearOptions() {
          *
          * .google.iam.v1.GetPolicyOptions options = 2;
          */
    -    public GetPolicyOptions.Builder getOptionsBuilder() {
    -      
    +    public com.google.iam.v1.GetPolicyOptions.Builder getOptionsBuilder() {
    +
           onChanged();
           return getOptionsFieldBuilder().getBuilder();
         }
         /**
    +     *
    +     *
          * 
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -744,11 +850,14 @@ public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() {
           if (optionsBuilder_ != null) {
             return optionsBuilder_.getMessageOrBuilder();
           } else {
    -        return options_ == null ?
    -            GetPolicyOptions.getDefaultInstance() : options_;
    +        return options_ == null
    +            ? com.google.iam.v1.GetPolicyOptions.getDefaultInstance()
    +            : options_;
           }
         }
         /**
    +     *
    +     *
          * 
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
          * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -757,68 +866,69 @@ public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() {
          * .google.iam.v1.GetPolicyOptions options = 2;
          */
         private com.google.protobuf.SingleFieldBuilderV3<
    -        GetPolicyOptions, GetPolicyOptions.Builder, com.google.iam.v1.GetPolicyOptionsOrBuilder>
    +            com.google.iam.v1.GetPolicyOptions,
    +            com.google.iam.v1.GetPolicyOptions.Builder,
    +            com.google.iam.v1.GetPolicyOptionsOrBuilder>
             getOptionsFieldBuilder() {
           if (optionsBuilder_ == null) {
    -        optionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
    -            GetPolicyOptions, GetPolicyOptions.Builder, com.google.iam.v1.GetPolicyOptionsOrBuilder>(
    -                getOptions(),
    -                getParentForChildren(),
    -                isClean());
    +        optionsBuilder_ =
    +            new com.google.protobuf.SingleFieldBuilderV3<
    +                com.google.iam.v1.GetPolicyOptions,
    +                com.google.iam.v1.GetPolicyOptions.Builder,
    +                com.google.iam.v1.GetPolicyOptionsOrBuilder>(
    +                getOptions(), getParentForChildren(), isClean());
             options_ = null;
           }
           return optionsBuilder_;
         }
    -    @Override
    -    public final Builder setUnknownFields(
    -        final com.google.protobuf.UnknownFieldSet unknownFields) {
    +
    +    @java.lang.Override
    +    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.setUnknownFields(unknownFields);
         }
     
    -    @Override
    +    @java.lang.Override
         public final Builder mergeUnknownFields(
             final com.google.protobuf.UnknownFieldSet unknownFields) {
           return super.mergeUnknownFields(unknownFields);
         }
     
    -
         // @@protoc_insertion_point(builder_scope:google.iam.v1.GetIamPolicyRequest)
       }
     
       // @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest)
    -  private static final GetIamPolicyRequest DEFAULT_INSTANCE;
    +  private static final com.google.iam.v1.GetIamPolicyRequest DEFAULT_INSTANCE;
    +
       static {
    -    DEFAULT_INSTANCE = new GetIamPolicyRequest();
    +    DEFAULT_INSTANCE = new com.google.iam.v1.GetIamPolicyRequest();
       }
     
    -  public static GetIamPolicyRequest getDefaultInstance() {
    +  public static com.google.iam.v1.GetIamPolicyRequest getDefaultInstance() {
         return DEFAULT_INSTANCE;
       }
     
    -  private static final com.google.protobuf.Parser
    -      PARSER = new com.google.protobuf.AbstractParser() {
    -    @Override
    -    public GetIamPolicyRequest parsePartialFrom(
    -        com.google.protobuf.CodedInputStream input,
    -        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -        throws com.google.protobuf.InvalidProtocolBufferException {
    -      return new GetIamPolicyRequest(input, extensionRegistry);
    -    }
    -  };
    +  private static final com.google.protobuf.Parser PARSER =
    +      new com.google.protobuf.AbstractParser() {
    +        @java.lang.Override
    +        public GetIamPolicyRequest parsePartialFrom(
    +            com.google.protobuf.CodedInputStream input,
    +            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    +            throws com.google.protobuf.InvalidProtocolBufferException {
    +          return new GetIamPolicyRequest(input, extensionRegistry);
    +        }
    +      };
     
       public static com.google.protobuf.Parser parser() {
         return PARSER;
       }
     
    -  @Override
    +  @java.lang.Override
       public com.google.protobuf.Parser getParserForType() {
         return PARSER;
       }
     
    -  @Override
    -  public GetIamPolicyRequest getDefaultInstanceForType() {
    +  @java.lang.Override
    +  public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() {
         return DEFAULT_INSTANCE;
       }
    -
     }
    -
    diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java
    index 5e7749a90e8b..443bbb5c2e2b 100644
    --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java
    +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java
    @@ -1,51 +1,88 @@
    +/*
    + * 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.
    + */
     // Generated by the protocol buffer compiler.  DO NOT EDIT!
     // source: google/iam/v1/iam_policy.proto
     
     package com.google.iam.v1;
     
    -public interface GetIamPolicyRequestOrBuilder extends
    +public interface GetIamPolicyRequestOrBuilder
    +    extends
         // @@protoc_insertion_point(interface_extends:google.iam.v1.GetIamPolicyRequest)
         com.google.protobuf.MessageOrBuilder {
     
       /**
    +   *
    +   *
        * 
        * REQUIRED: The resource for which the policy is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - String getResource(); + java.lang.String getResource(); /** + * + * *
        * REQUIRED: The resource for which the policy is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
        * `GetIamPolicy`. This field is only used by Cloud IAM.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; + * + * @return Whether the options field is set. */ boolean hasOptions(); /** + * + * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
        * `GetIamPolicy`. This field is only used by Cloud IAM.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; + * + * @return The options. */ - GetPolicyOptions getOptions(); + com.google.iam.v1.GetPolicyOptions getOptions(); /** + * + * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
        * `GetIamPolicy`. This field is only used by Cloud IAM.
    @@ -53,5 +90,5 @@ public interface GetIamPolicyRequestOrBuilder extends
        *
        * .google.iam.v1.GetPolicyOptions options = 2;
        */
    -  GetPolicyOptionsOrBuilder getOptionsOrBuilder();
    +  com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder();
     }
    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 1c7dfbf28478..84f175da7818 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
    @@ -1,41 +1,63 @@
    +/*
    + * 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.
    + */
     // Generated by the protocol buffer compiler.  DO NOT EDIT!
     // source: google/iam/v1/options.proto
     
     package com.google.iam.v1;
     
     /**
    + *
    + *
      * 
      * Encapsulates settings provided to GetIamPolicy.
      * 
    * * Protobuf type {@code google.iam.v1.GetPolicyOptions} */ -public final class GetPolicyOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPolicyOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.iam.v1.GetPolicyOptions) GetPolicyOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPolicyOptions.newBuilder() to construct. private GetPolicyOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPolicyOptions() { + + private GetPolicyOptions() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetPolicyOptions(); } - @Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPolicyOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new NullPointerException(); + throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -46,46 +68,49 @@ private GetPolicyOptions( case 0: done = true; break; - case 8: { - - requestedPolicyVersion_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + requestedPolicyVersion_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable + return com.google.iam.v1.OptionsProto + .internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - GetPolicyOptions.class, Builder.class); + com.google.iam.v1.GetPolicyOptions.class, + com.google.iam.v1.GetPolicyOptions.Builder.class); } public static final int REQUESTED_POLICY_VERSION_FIELD_NUMBER = 1; private int requestedPolicyVersion_; /** + * + * *
        * Optional. The policy format version to be returned.
        * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    @@ -96,13 +121,16 @@ private GetPolicyOptions(
        * 
    * * int32 requested_policy_version = 1; + * + * @return The requestedPolicyVersion. */ public int getRequestedPolicyVersion() { return requestedPolicyVersion_; } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -112,47 +140,44 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (requestedPolicyVersion_ != 0) { output.writeInt32(1, requestedPolicyVersion_); } unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (requestedPolicyVersion_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, requestedPolicyVersion_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, requestedPolicyVersion_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof GetPolicyOptions)) { + if (!(obj instanceof com.google.iam.v1.GetPolicyOptions)) { return super.equals(obj); } - GetPolicyOptions other = (GetPolicyOptions) obj; + com.google.iam.v1.GetPolicyOptions other = (com.google.iam.v1.GetPolicyOptions) obj; - if (getRequestedPolicyVersion() - != other.getRequestedPolicyVersion()) return false; + if (getRequestedPolicyVersion() != other.getRequestedPolicyVersion()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -166,118 +191,126 @@ public int hashCode() { return hash; } - public static GetPolicyOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.GetPolicyOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static GetPolicyOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.GetPolicyOptions parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static GetPolicyOptions parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.iam.v1.GetPolicyOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static GetPolicyOptions parseFrom( + + public static com.google.iam.v1.GetPolicyOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static GetPolicyOptions parseFrom(byte[] data) + + public static com.google.iam.v1.GetPolicyOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static GetPolicyOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.GetPolicyOptions parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static GetPolicyOptions parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.GetPolicyOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static GetPolicyOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.GetPolicyOptions parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static GetPolicyOptions parseDelimitedFrom(java.io.InputStream input) + + public static com.google.iam.v1.GetPolicyOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static GetPolicyOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.GetPolicyOptions parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static GetPolicyOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.iam.v1.GetPolicyOptions parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static GetPolicyOptions parseFrom( + + public static com.google.iam.v1.GetPolicyOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(GetPolicyOptions prototype) { + + public static Builder newBuilder(com.google.iam.v1.GetPolicyOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * Encapsulates settings provided to GetIamPolicy.
        * 
    * * Protobuf type {@code google.iam.v1.GetPolicyOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.iam.v1.GetPolicyOptions) com.google.iam.v1.GetPolicyOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.OptionsProto + .internal_static_google_iam_v1_GetPolicyOptions_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable + return com.google.iam.v1.OptionsProto + .internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - GetPolicyOptions.class, Builder.class); + com.google.iam.v1.GetPolicyOptions.class, + com.google.iam.v1.GetPolicyOptions.Builder.class); } // Construct using com.google.iam.v1.GetPolicyOptions.newBuilder() @@ -285,17 +318,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @Override + + @java.lang.Override public Builder clear() { super.clear(); requestedPolicyVersion_ = 0; @@ -303,78 +335,79 @@ public Builder clear() { return this; } - @Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v1.OptionsProto + .internal_static_google_iam_v1_GetPolicyOptions_descriptor; } - @Override - public GetPolicyOptions getDefaultInstanceForType() { - return GetPolicyOptions.getDefaultInstance(); + @java.lang.Override + public com.google.iam.v1.GetPolicyOptions getDefaultInstanceForType() { + return com.google.iam.v1.GetPolicyOptions.getDefaultInstance(); } - @Override - public GetPolicyOptions build() { - GetPolicyOptions result = buildPartial(); + @java.lang.Override + public com.google.iam.v1.GetPolicyOptions build() { + com.google.iam.v1.GetPolicyOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @Override - public GetPolicyOptions buildPartial() { - GetPolicyOptions result = new GetPolicyOptions(this); + @java.lang.Override + public com.google.iam.v1.GetPolicyOptions buildPartial() { + com.google.iam.v1.GetPolicyOptions result = new com.google.iam.v1.GetPolicyOptions(this); result.requestedPolicyVersion_ = requestedPolicyVersion_; onBuilt(); return result; } - @Override + @java.lang.Override public Builder clone() { return super.clone(); } - @Override + + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } - @Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @Override + + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @Override + + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } - @Override + + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof GetPolicyOptions) { - return mergeFrom((GetPolicyOptions)other); + if (other instanceof com.google.iam.v1.GetPolicyOptions) { + return mergeFrom((com.google.iam.v1.GetPolicyOptions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(GetPolicyOptions other) { - if (other == GetPolicyOptions.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.iam.v1.GetPolicyOptions other) { + if (other == com.google.iam.v1.GetPolicyOptions.getDefaultInstance()) return this; if (other.getRequestedPolicyVersion() != 0) { setRequestedPolicyVersion(other.getRequestedPolicyVersion()); } @@ -383,21 +416,21 @@ public Builder mergeFrom(GetPolicyOptions other) { return this; } - @Override + @java.lang.Override public final boolean isInitialized() { return true; } - @Override + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - GetPolicyOptions parsedMessage = null; + com.google.iam.v1.GetPolicyOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (GetPolicyOptions) e.getUnfinishedMessage(); + parsedMessage = (com.google.iam.v1.GetPolicyOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -407,8 +440,10 @@ public Builder mergeFrom( return this; } - private int requestedPolicyVersion_ ; + private int requestedPolicyVersion_; /** + * + * *
          * Optional. The policy format version to be returned.
          * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    @@ -419,11 +454,15 @@ public Builder mergeFrom(
          * 
    * * int32 requested_policy_version = 1; + * + * @return The requestedPolicyVersion. */ public int getRequestedPolicyVersion() { return requestedPolicyVersion_; } /** + * + * *
          * Optional. The policy format version to be returned.
          * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    @@ -434,14 +473,19 @@ public int getRequestedPolicyVersion() {
          * 
    * * int32 requested_policy_version = 1; + * + * @param value The requestedPolicyVersion to set. + * @return This builder for chaining. */ public Builder setRequestedPolicyVersion(int value) { - + requestedPolicyVersion_ = value; onChanged(); return this; } /** + * + * *
          * Optional. The policy format version to be returned.
          * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    @@ -452,63 +496,63 @@ public Builder setRequestedPolicyVersion(int value) {
          * 
    * * int32 requested_policy_version = 1; + * + * @return This builder for chaining. */ public Builder clearRequestedPolicyVersion() { - + requestedPolicyVersion_ = 0; onChanged(); return this; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.GetPolicyOptions) } // @@protoc_insertion_point(class_scope:google.iam.v1.GetPolicyOptions) - private static final GetPolicyOptions DEFAULT_INSTANCE; + private static final com.google.iam.v1.GetPolicyOptions DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new GetPolicyOptions(); + DEFAULT_INSTANCE = new com.google.iam.v1.GetPolicyOptions(); } - public static GetPolicyOptions getDefaultInstance() { + public static com.google.iam.v1.GetPolicyOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public GetPolicyOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPolicyOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPolicyOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public GetPolicyOptions getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.GetPolicyOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 a49f78a614a7..ea37a837e43d 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 @@ -1,13 +1,31 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/options.proto package com.google.iam.v1; -public interface GetPolicyOptionsOrBuilder extends +public interface GetPolicyOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.GetPolicyOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. The policy format version to be returned.
        * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    @@ -18,6 +36,8 @@ public interface GetPolicyOptionsOrBuilder extends
        * 
    * * int32 requested_policy_version = 1; + * + * @return The requestedPolicyVersion. */ int getRequestedPolicyVersion(); } 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 be8c5a614b16..088dcca09902 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 @@ -1,3 +1,18 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/iam_policy.proto @@ -5,121 +20,125 @@ public final class IamPolicyProto { private IamPolicyProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } + static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { - String[] descriptorData = { - "\n\036google/iam/v1/iam_policy.proto\022\rgoogle" + - ".iam.v1\032\033google/iam/v1/options.proto\032\032go" + - "ogle/iam/v1/policy.proto\032\034google/api/ann" + - "otations.proto\032\027google/api/client.proto\"" + - "N\n\023SetIamPolicyRequest\022\020\n\010resource\030\001 \001(\t" + - "\022%\n\006policy\030\002 \001(\0132\025.google.iam.v1.Policy\"" + - "Y\n\023GetIamPolicyRequest\022\020\n\010resource\030\001 \001(\t" + - "\0220\n\007options\030\002 \001(\0132\037.google.iam.v1.GetPol" + - "icyOptions\"B\n\031TestIamPermissionsRequest\022" + - "\020\n\010resource\030\001 \001(\t\022\023\n\013permissions\030\002 \003(\t\"1" + - "\n\032TestIamPermissionsResponse\022\023\n\013permissi" + - "ons\030\001 \003(\t2\264\003\n\tIAMPolicy\022t\n\014SetIamPolicy\022" + - "\".google.iam.v1.SetIamPolicyRequest\032\025.go" + - "ogle.iam.v1.Policy\")\202\323\344\223\002#\"\036/v1/{resourc" + - "e=**}:setIamPolicy:\001*\022t\n\014GetIamPolicy\022\"." + - "google.iam.v1.GetIamPolicyRequest\032\025.goog" + - "le.iam.v1.Policy\")\202\323\344\223\002#\"\036/v1/{resource=" + - "**}:getIamPolicy:\001*\022\232\001\n\022TestIamPermissio" + - "ns\022(.google.iam.v1.TestIamPermissionsReq" + - "uest\032).google.iam.v1.TestIamPermissionsR" + - "esponse\"/\202\323\344\223\002)\"$/v1/{resource=**}:testI" + - "amPermissions:\001*\032\036\312A\033iam-meta-api.google" + - "apis.comB\206\001\n\021com.google.iam.v1B\016IamPolic" + - "yProtoP\001Z0google.golang.org/genproto/goo" + - "gleapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud.Iam" + - ".V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" + java.lang.String[] descriptorData = { + "\n\036google/iam/v1/iam_policy.proto\022\rgoogle" + + ".iam.v1\032\033google/iam/v1/options.proto\032\032go" + + "ogle/iam/v1/policy.proto\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\"^\n\023SetIamPolicyReque" + + "st\022\033\n\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022*\n\006polic" + + "y\030\002 \001(\0132\025.google.iam.v1.PolicyB\003\340A\002\"d\n\023G" + + "etIamPolicyRequest\022\033\n\010resource\030\001 \001(\tB\t\340A" + + "\002\372A\003\n\001*\0220\n\007options\030\002 \001(\0132\037.google.iam.v1" + + ".GetPolicyOptions\"R\n\031TestIamPermissionsR" + + "equest\022\033\n\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022\030\n\013p" + + "ermissions\030\002 \003(\tB\003\340A\002\"1\n\032TestIamPermissi" + + "onsResponse\022\023\n\013permissions\030\001 \003(\t2\264\003\n\tIAM" + + "Policy\022t\n\014SetIamPolicy\022\".google.iam.v1.S" + + "etIamPolicyRequest\032\025.google.iam.v1.Polic" + + "y\")\202\323\344\223\002#\"\036/v1/{resource=**}:setIamPolic" + + "y:\001*\022t\n\014GetIamPolicy\022\".google.iam.v1.Get" + + "IamPolicyRequest\032\025.google.iam.v1.Policy\"" + + ")\202\323\344\223\002#\"\036/v1/{resource=**}:getIamPolicy:" + + "\001*\022\232\001\n\022TestIamPermissions\022(.google.iam.v" + + "1.TestIamPermissionsRequest\032).google.iam" + + ".v1.TestIamPermissionsResponse\"/\202\323\344\223\002)\"$" + + "/v1/{resource=**}:testIamPermissions:\001*\032" + + "\036\312A\033iam-meta-api.googleapis.comB\206\001\n\021com." + + "google.iam.v1B\016IamPolicyProtoP\001Z0google." + + "golang.org/genproto/googleapis/iam/v1;ia" + + "m\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Clou" + + "d\\Iam\\V1b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - OptionsProto.getDescriptor(), - PolicyProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - }, assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.iam.v1.OptionsProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); internal_static_google_iam_v1_SetIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_SetIamPolicyRequest_descriptor, - new String[] { "Resource", "Policy", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_SetIamPolicyRequest_descriptor, + new java.lang.String[] { + "Resource", "Policy", + }); internal_static_google_iam_v1_GetIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_GetIamPolicyRequest_descriptor, - new String[] { "Resource", "Options", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_GetIamPolicyRequest_descriptor, + new java.lang.String[] { + "Resource", "Options", + }); internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor, - new String[] { "Resource", "Permissions", }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor, + new java.lang.String[] { + "Resource", "Permissions", + }); internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor, - new String[] { "Permissions", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor, + new java.lang.String[] { + "Permissions", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - OptionsProto.getDescriptor(); - PolicyProto.getDescriptor(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.iam.v1.OptionsProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java index 38d4284b3a1b..02274d0dac4d 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java @@ -1,3 +1,18 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/options.proto @@ -5,56 +20,48 @@ public final class OptionsProto { private OptionsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } + static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_GetPolicyOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_GetPolicyOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { - String[] descriptorData = { - "\n\033google/iam/v1/options.proto\022\rgoogle.ia" + - "m.v1\032\034google/api/annotations.proto\"4\n\020Ge" + - "tPolicyOptions\022 \n\030requested_policy_versi" + - "on\030\001 \001(\005B\204\001\n\021com.google.iam.v1B\014OptionsP" + - "rotoP\001Z0google.golang.org/genproto/googl" + - "eapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud.Iam.V" + - "1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" + java.lang.String[] descriptorData = { + "\n\033google/iam/v1/options.proto\022\rgoogle.ia" + + "m.v1\032\034google/api/annotations.proto\"4\n\020Ge" + + "tPolicyOptions\022 \n\030requested_policy_versi" + + "on\030\001 \001(\005B\204\001\n\021com.google.iam.v1B\014OptionsP" + + "rotoP\001Z0google.golang.org/genproto/googl" + + "eapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud.Iam.V" + + "1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }, assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_iam_v1_GetPolicyOptions_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_GetPolicyOptions_descriptor, - new String[] { "RequestedPolicyVersion", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_GetPolicyOptions_descriptor, + new java.lang.String[] { + "RequestedPolicyVersion", + }); com.google.api.AnnotationsProto.getDescriptor(); } 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 7db80fad9d1c..dc77fb6c4543 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 @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; /** + * + * *
      * Defines an Identity and Access Management (IAM) policy. It is used to
      * specify access control policies for Cloud Platform resources.
    @@ -59,32 +76,39 @@
      *
      * Protobuf type {@code google.iam.v1.Policy}
      */
    -public  final class Policy extends
    -    com.google.protobuf.GeneratedMessageV3 implements
    +public final class Policy extends com.google.protobuf.GeneratedMessageV3
    +    implements
         // @@protoc_insertion_point(message_implements:google.iam.v1.Policy)
         PolicyOrBuilder {
    -private static final long serialVersionUID = 0L;
    +  private static final long serialVersionUID = 0L;
       // Use Policy.newBuilder() to construct.
       private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    +
       private Policy() {
         bindings_ = java.util.Collections.emptyList();
         etag_ = com.google.protobuf.ByteString.EMPTY;
       }
     
    -  @Override
    -  public final com.google.protobuf.UnknownFieldSet
    -  getUnknownFields() {
    +  @java.lang.Override
    +  @SuppressWarnings({"unused"})
    +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +    return new Policy();
    +  }
    +
    +  @java.lang.Override
    +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
    +
       private Policy(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         this();
         if (extensionRegistry == null) {
    -      throw new NullPointerException();
    +      throw new java.lang.NullPointerException();
         }
         int mutable_bitField0_ = 0;
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
    @@ -97,78 +121,82 @@ private Policy(
               case 0:
                 done = true;
                 break;
    -          case 8: {
    -
    -            version_ = input.readInt32();
    -            break;
    -          }
    -          case 26: {
    -
    -            etag_ = input.readBytes();
    -            break;
    -          }
    -          case 34: {
    -            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
    -              bindings_ = new java.util.ArrayList();
    -              mutable_bitField0_ |= 0x00000002;
    +          case 8:
    +            {
    +              version_ = input.readInt32();
    +              break;
                 }
    -            bindings_.add(
    -                input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry));
    -            break;
    -          }
    -          default: {
    -            if (!parseUnknownField(
    -                input, unknownFields, extensionRegistry, tag)) {
    -              done = true;
    +          case 26:
    +            {
    +              etag_ = input.readBytes();
    +              break;
    +            }
    +          case 34:
    +            {
    +              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
    +                bindings_ = new java.util.ArrayList();
    +                mutable_bitField0_ |= 0x00000001;
    +              }
    +              bindings_.add(
    +                  input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry));
    +              break;
    +            }
    +          default:
    +            {
    +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    +                done = true;
    +              }
    +              break;
                 }
    -            break;
    -          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(
    -          e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
         } finally {
    -      if (((mutable_bitField0_ & 0x00000002) != 0)) {
    +      if (((mutable_bitField0_ & 0x00000001) != 0)) {
             bindings_ = java.util.Collections.unmodifiableList(bindings_);
           }
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -  public static final com.google.protobuf.Descriptors.Descriptor
    -      getDescriptor() {
    +
    +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
         return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor;
       }
     
    -  @Override
    -  protected FieldAccessorTable
    +  @java.lang.Override
    +  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
         return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            Policy.class, Builder.class);
    +            com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class);
       }
     
    -  private int bitField0_;
       public static final int VERSION_FIELD_NUMBER = 1;
       private int version_;
       /**
    +   *
    +   *
        * 
        * Specifies the format of the policy.
        * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
        * rejected.
        * Operations affecting conditional bindings must specify version 3. This can
        * be either setting a conditional policy, modifying a conditional binding,
    -   * or removing a conditional binding from the stored conditional policy.
    +   * or removing a binding (conditional or unconditional) from the stored
    +   * conditional policy.
        * Operations on non-conditional policies may specify any valid value or
        * leave the field unset.
    -   * If no etag is provided in the call to `setIamPolicy`, any version
    -   * compliance checks on the incoming and/or stored policy is skipped.
    +   * If no etag is provided in the call to `setIamPolicy`, version compliance
    +   * checks against the stored policy is skipped.
        * 
    * * int32 version = 1; + * + * @return The version. */ public int getVersion() { return version_; @@ -177,6 +205,8 @@ public int getVersion() { public static final int BINDINGS_FIELD_NUMBER = 4; private java.util.List bindings_; /** + * + * *
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -189,6 +219,8 @@ public java.util.List getBindingsList() {
         return bindings_;
       }
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -197,11 +229,12 @@ public java.util.List getBindingsList() {
        *
        * repeated .google.iam.v1.Binding bindings = 4;
        */
    -  public java.util.List 
    -      getBindingsOrBuilderList() {
    +  public java.util.List getBindingsOrBuilderList() {
         return bindings_;
       }
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -214,6 +247,8 @@ public int getBindingsCount() {
         return bindings_.size();
       }
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -226,6 +261,8 @@ public com.google.iam.v1.Binding getBindings(int index) {
         return bindings_.get(index);
       }
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -234,14 +271,15 @@ public com.google.iam.v1.Binding getBindings(int index) {
        *
        * repeated .google.iam.v1.Binding bindings = 4;
        */
    -  public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
    -      int index) {
    +  public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) {
         return bindings_.get(index);
       }
     
       public static final int ETAG_FIELD_NUMBER = 3;
       private com.google.protobuf.ByteString etag_;
       /**
    +   *
    +   *
        * 
        * `etag` is used for optimistic concurrency control as a way to help
        * prevent simultaneous updates of a policy from overwriting each other.
    @@ -252,18 +290,21 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
        * ensure that their change will be applied to the same version of the policy.
        * If no `etag` is provided in the call to `setIamPolicy`, then the existing
        * policy is overwritten. Due to blind-set semantics of an etag-less policy,
    -   * 'setIamPolicy' will not fail even if either of incoming or stored policy
    -   * does not meet the version requirements.
    +   * 'setIamPolicy' will not fail even if the incoming policy version does not
    +   * meet the requirements for modifying the stored policy.
        * 
    * * bytes etag = 3; + * + * @return The etag. */ public com.google.protobuf.ByteString getEtag() { return etag_; } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -273,9 +314,8 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (version_ != 0) { output.writeInt32(1, version_); } @@ -288,50 +328,44 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (version_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, version_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, version_); } if (!etag_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, etag_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, etag_); } for (int i = 0; i < bindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, bindings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bindings_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof Policy)) { + if (!(obj instanceof com.google.iam.v1.Policy)) { return super.equals(obj); } - Policy other = (Policy) obj; - - if (getVersion() - != other.getVersion()) return false; - if (!getBindingsList() - .equals(other.getBindingsList())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.iam.v1.Policy other = (com.google.iam.v1.Policy) obj; + + if (getVersion() != other.getVersion()) return false; + if (!getBindingsList().equals(other.getBindingsList())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -351,97 +385,103 @@ public int hashCode() { return hash; } - public static Policy parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.Policy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static Policy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.Policy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static Policy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.iam.v1.Policy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static Policy parseFrom( + + public static com.google.iam.v1.Policy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static Policy parseFrom(byte[] data) + + public static com.google.iam.v1.Policy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static Policy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.Policy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static Policy parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.Policy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static Policy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.Policy parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static Policy parseDelimitedFrom(java.io.InputStream input) + + public static com.google.iam.v1.Policy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static Policy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.Policy parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static Policy parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.iam.v1.Policy parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static Policy parseFrom( + + public static com.google.iam.v1.Policy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(Policy prototype) { + + public static Builder newBuilder(com.google.iam.v1.Policy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * Defines an Identity and Access Management (IAM) policy. It is used to
        * specify access control policies for Cloud Platform resources.
    @@ -497,21 +537,20 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.iam.v1.Policy}
        */
    -  public static final class Builder extends
    -      com.google.protobuf.GeneratedMessageV3.Builder implements
    +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    +      implements
           // @@protoc_insertion_point(builder_implements:google.iam.v1.Policy)
           com.google.iam.v1.PolicyOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor
    -        getDescriptor() {
    +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
           return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor;
         }
     
    -    @Override
    -    protected FieldAccessorTable
    +    @java.lang.Override
    +    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
           return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              Policy.class, Builder.class);
    +              com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class);
         }
     
         // Construct using com.google.iam.v1.Policy.newBuilder()
    @@ -519,25 +558,25 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(
    -        BuilderParent parent) {
    +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    +
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3
    -              .alwaysUseFieldBuilders) {
    +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
             getBindingsFieldBuilder();
           }
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder clear() {
           super.clear();
           version_ = 0;
     
           if (bindingsBuilder_ == null) {
             bindings_ = java.util.Collections.emptyList();
    -        bitField0_ = (bitField0_ & ~0x00000002);
    +        bitField0_ = (bitField0_ & ~0x00000001);
           } else {
             bindingsBuilder_.clear();
           }
    @@ -546,91 +585,89 @@ public Builder clear() {
           return this;
         }
     
    -    @Override
    -    public com.google.protobuf.Descriptors.Descriptor
    -        getDescriptorForType() {
    +    @java.lang.Override
    +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
           return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor;
         }
     
    -    @Override
    -    public Policy getDefaultInstanceForType() {
    -      return Policy.getDefaultInstance();
    +    @java.lang.Override
    +    public com.google.iam.v1.Policy getDefaultInstanceForType() {
    +      return com.google.iam.v1.Policy.getDefaultInstance();
         }
     
    -    @Override
    -    public Policy build() {
    -      Policy result = buildPartial();
    +    @java.lang.Override
    +    public com.google.iam.v1.Policy build() {
    +      com.google.iam.v1.Policy result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
           return result;
         }
     
    -    @Override
    -    public Policy buildPartial() {
    -      Policy result = new Policy(this);
    +    @java.lang.Override
    +    public com.google.iam.v1.Policy buildPartial() {
    +      com.google.iam.v1.Policy result = new com.google.iam.v1.Policy(this);
           int from_bitField0_ = bitField0_;
    -      int to_bitField0_ = 0;
           result.version_ = version_;
           if (bindingsBuilder_ == null) {
    -        if (((bitField0_ & 0x00000002) != 0)) {
    +        if (((bitField0_ & 0x00000001) != 0)) {
               bindings_ = java.util.Collections.unmodifiableList(bindings_);
    -          bitField0_ = (bitField0_ & ~0x00000002);
    +          bitField0_ = (bitField0_ & ~0x00000001);
             }
             result.bindings_ = bindings_;
           } else {
             result.bindings_ = bindingsBuilder_.build();
           }
           result.etag_ = etag_;
    -      result.bitField0_ = to_bitField0_;
           onBuilt();
           return result;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder clone() {
           return super.clone();
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
    -    @Override
    -    public Builder clearField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field) {
    +
    +    @java.lang.Override
    +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -    @Override
    -    public Builder clearOneof(
    -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +
    +    @java.lang.Override
    +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        int index, Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other instanceof Policy) {
    -        return mergeFrom((Policy)other);
    +      if (other instanceof com.google.iam.v1.Policy) {
    +        return mergeFrom((com.google.iam.v1.Policy) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(Policy other) {
    -      if (other == Policy.getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.iam.v1.Policy other) {
    +      if (other == com.google.iam.v1.Policy.getDefaultInstance()) return this;
           if (other.getVersion() != 0) {
             setVersion(other.getVersion());
           }
    @@ -638,7 +675,7 @@ public Builder mergeFrom(Policy other) {
             if (!other.bindings_.isEmpty()) {
               if (bindings_.isEmpty()) {
                 bindings_ = other.bindings_;
    -            bitField0_ = (bitField0_ & ~0x00000002);
    +            bitField0_ = (bitField0_ & ~0x00000001);
               } else {
                 ensureBindingsIsMutable();
                 bindings_.addAll(other.bindings_);
    @@ -651,10 +688,11 @@ public Builder mergeFrom(Policy other) {
                 bindingsBuilder_.dispose();
                 bindingsBuilder_ = null;
                 bindings_ = other.bindings_;
    -            bitField0_ = (bitField0_ & ~0x00000002);
    -            bindingsBuilder_ = 
    -              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
    -                 getBindingsFieldBuilder() : null;
    +            bitField0_ = (bitField0_ & ~0x00000001);
    +            bindingsBuilder_ =
    +                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
    +                    ? getBindingsFieldBuilder()
    +                    : null;
               } else {
                 bindingsBuilder_.addAllMessages(other.bindings_);
               }
    @@ -668,21 +706,21 @@ public Builder mergeFrom(Policy other) {
           return this;
         }
     
    -    @Override
    +    @java.lang.Override
         public final boolean isInitialized() {
           return true;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      Policy parsedMessage = null;
    +      com.google.iam.v1.Policy parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (Policy) e.getUnfinishedMessage();
    +        parsedMessage = (com.google.iam.v1.Policy) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -691,86 +729,108 @@ public Builder mergeFrom(
           }
           return this;
         }
    +
         private int bitField0_;
     
    -    private int version_ ;
    +    private int version_;
         /**
    +     *
    +     *
          * 
          * Specifies the format of the policy.
          * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
          * rejected.
          * Operations affecting conditional bindings must specify version 3. This can
          * be either setting a conditional policy, modifying a conditional binding,
    -     * or removing a conditional binding from the stored conditional policy.
    +     * or removing a binding (conditional or unconditional) from the stored
    +     * conditional policy.
          * Operations on non-conditional policies may specify any valid value or
          * leave the field unset.
    -     * If no etag is provided in the call to `setIamPolicy`, any version
    -     * compliance checks on the incoming and/or stored policy is skipped.
    +     * If no etag is provided in the call to `setIamPolicy`, version compliance
    +     * checks against the stored policy is skipped.
          * 
    * * int32 version = 1; + * + * @return The version. */ public int getVersion() { return version_; } /** + * + * *
          * Specifies the format of the policy.
          * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
          * rejected.
          * Operations affecting conditional bindings must specify version 3. This can
          * be either setting a conditional policy, modifying a conditional binding,
    -     * or removing a conditional binding from the stored conditional policy.
    +     * or removing a binding (conditional or unconditional) from the stored
    +     * conditional policy.
          * Operations on non-conditional policies may specify any valid value or
          * leave the field unset.
    -     * If no etag is provided in the call to `setIamPolicy`, any version
    -     * compliance checks on the incoming and/or stored policy is skipped.
    +     * If no etag is provided in the call to `setIamPolicy`, version compliance
    +     * checks against the stored policy is skipped.
          * 
    * * int32 version = 1; + * + * @param value The version to set. + * @return This builder for chaining. */ public Builder setVersion(int value) { - + version_ = value; onChanged(); return this; } /** + * + * *
          * Specifies the format of the policy.
          * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
          * rejected.
          * Operations affecting conditional bindings must specify version 3. This can
          * be either setting a conditional policy, modifying a conditional binding,
    -     * or removing a conditional binding from the stored conditional policy.
    +     * or removing a binding (conditional or unconditional) from the stored
    +     * conditional policy.
          * Operations on non-conditional policies may specify any valid value or
          * leave the field unset.
    -     * If no etag is provided in the call to `setIamPolicy`, any version
    -     * compliance checks on the incoming and/or stored policy is skipped.
    +     * If no etag is provided in the call to `setIamPolicy`, version compliance
    +     * checks against the stored policy is skipped.
          * 
    * * int32 version = 1; + * + * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = 0; onChanged(); return this; } - private java.util.List bindings_ = - java.util.Collections.emptyList(); + private java.util.List bindings_ = java.util.Collections.emptyList(); + private void ensureBindingsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { bindings_ = new java.util.ArrayList(bindings_); - bitField0_ |= 0x00000002; - } + bitField0_ |= 0x00000001; + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> bindingsBuilder_; + com.google.iam.v1.Binding, + com.google.iam.v1.Binding.Builder, + com.google.iam.v1.BindingOrBuilder> + bindingsBuilder_; /** + * + * *
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -787,6 +847,8 @@ public java.util.List getBindingsList() {
           }
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -803,6 +865,8 @@ public int getBindingsCount() {
           }
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -819,6 +883,8 @@ public com.google.iam.v1.Binding getBindings(int index) {
           }
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -827,8 +893,7 @@ public com.google.iam.v1.Binding getBindings(int index) {
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public Builder setBindings(
    -        int index, com.google.iam.v1.Binding value) {
    +    public Builder setBindings(int index, com.google.iam.v1.Binding value) {
           if (bindingsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
    @@ -842,6 +907,8 @@ public Builder setBindings(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -850,8 +917,7 @@ public Builder setBindings(
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public Builder setBindings(
    -        int index, com.google.iam.v1.Binding.Builder builderForValue) {
    +    public Builder setBindings(int index, com.google.iam.v1.Binding.Builder builderForValue) {
           if (bindingsBuilder_ == null) {
             ensureBindingsIsMutable();
             bindings_.set(index, builderForValue.build());
    @@ -862,6 +928,8 @@ public Builder setBindings(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -884,6 +952,8 @@ public Builder addBindings(com.google.iam.v1.Binding value) {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -892,8 +962,7 @@ public Builder addBindings(com.google.iam.v1.Binding value) {
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public Builder addBindings(
    -        int index, com.google.iam.v1.Binding value) {
    +    public Builder addBindings(int index, com.google.iam.v1.Binding value) {
           if (bindingsBuilder_ == null) {
             if (value == null) {
               throw new NullPointerException();
    @@ -907,6 +976,8 @@ public Builder addBindings(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -915,8 +986,7 @@ public Builder addBindings(
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public Builder addBindings(
    -        com.google.iam.v1.Binding.Builder builderForValue) {
    +    public Builder addBindings(com.google.iam.v1.Binding.Builder builderForValue) {
           if (bindingsBuilder_ == null) {
             ensureBindingsIsMutable();
             bindings_.add(builderForValue.build());
    @@ -927,6 +997,8 @@ public Builder addBindings(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -935,8 +1007,7 @@ public Builder addBindings(
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public Builder addBindings(
    -        int index, com.google.iam.v1.Binding.Builder builderForValue) {
    +    public Builder addBindings(int index, com.google.iam.v1.Binding.Builder builderForValue) {
           if (bindingsBuilder_ == null) {
             ensureBindingsIsMutable();
             bindings_.add(index, builderForValue.build());
    @@ -947,6 +1018,8 @@ public Builder addBindings(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -955,12 +1028,10 @@ public Builder addBindings(
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public Builder addAllBindings(
    -        Iterable values) {
    +    public Builder addAllBindings(java.lang.Iterable values) {
           if (bindingsBuilder_ == null) {
             ensureBindingsIsMutable();
    -        com.google.protobuf.AbstractMessageLite.Builder.addAll(
    -            values, bindings_);
    +        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bindings_);
             onChanged();
           } else {
             bindingsBuilder_.addAllMessages(values);
    @@ -968,6 +1039,8 @@ public Builder addAllBindings(
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -979,7 +1052,7 @@ public Builder addAllBindings(
         public Builder clearBindings() {
           if (bindingsBuilder_ == null) {
             bindings_ = java.util.Collections.emptyList();
    -        bitField0_ = (bitField0_ & ~0x00000002);
    +        bitField0_ = (bitField0_ & ~0x00000001);
             onChanged();
           } else {
             bindingsBuilder_.clear();
    @@ -987,6 +1060,8 @@ public Builder clearBindings() {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -1006,6 +1081,8 @@ public Builder removeBindings(int index) {
           return this;
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -1014,11 +1091,12 @@ public Builder removeBindings(int index) {
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public com.google.iam.v1.Binding.Builder getBindingsBuilder(
    -        int index) {
    +    public com.google.iam.v1.Binding.Builder getBindingsBuilder(int index) {
           return getBindingsFieldBuilder().getBuilder(index);
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -1027,14 +1105,16 @@ public com.google.iam.v1.Binding.Builder getBindingsBuilder(
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
    -        int index) {
    +    public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) {
           if (bindingsBuilder_ == null) {
    -        return bindings_.get(index);  } else {
    +        return bindings_.get(index);
    +      } else {
             return bindingsBuilder_.getMessageOrBuilder(index);
           }
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -1043,8 +1123,7 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public java.util.List 
    -         getBindingsOrBuilderList() {
    +    public java.util.List getBindingsOrBuilderList() {
           if (bindingsBuilder_ != null) {
             return bindingsBuilder_.getMessageOrBuilderList();
           } else {
    @@ -1052,6 +1131,8 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
           }
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -1061,10 +1142,11 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
          * repeated .google.iam.v1.Binding bindings = 4;
          */
         public com.google.iam.v1.Binding.Builder addBindingsBuilder() {
    -      return getBindingsFieldBuilder().addBuilder(
    -          com.google.iam.v1.Binding.getDefaultInstance());
    +      return getBindingsFieldBuilder().addBuilder(com.google.iam.v1.Binding.getDefaultInstance());
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -1073,12 +1155,13 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder() {
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public com.google.iam.v1.Binding.Builder addBindingsBuilder(
    -        int index) {
    -      return getBindingsFieldBuilder().addBuilder(
    -          index, com.google.iam.v1.Binding.getDefaultInstance());
    +    public com.google.iam.v1.Binding.Builder addBindingsBuilder(int index) {
    +      return getBindingsFieldBuilder()
    +          .addBuilder(index, com.google.iam.v1.Binding.getDefaultInstance());
         }
         /**
    +     *
    +     *
          * 
          * Associates a list of `members` to a `role`. Optionally may specify a
          * `condition` that determines when binding is in effect.
    @@ -1087,20 +1170,22 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder(
          *
          * repeated .google.iam.v1.Binding bindings = 4;
          */
    -    public java.util.List 
    -         getBindingsBuilderList() {
    +    public java.util.List getBindingsBuilderList() {
           return getBindingsFieldBuilder().getBuilderList();
         }
    +
         private com.google.protobuf.RepeatedFieldBuilderV3<
    -        com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder> 
    +            com.google.iam.v1.Binding,
    +            com.google.iam.v1.Binding.Builder,
    +            com.google.iam.v1.BindingOrBuilder>
             getBindingsFieldBuilder() {
           if (bindingsBuilder_ == null) {
    -        bindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
    -            com.google.iam.v1.Binding, com.google.iam.v1.Binding.Builder, com.google.iam.v1.BindingOrBuilder>(
    -                bindings_,
    -                ((bitField0_ & 0x00000002) != 0),
    -                getParentForChildren(),
    -                isClean());
    +        bindingsBuilder_ =
    +            new com.google.protobuf.RepeatedFieldBuilderV3<
    +                com.google.iam.v1.Binding,
    +                com.google.iam.v1.Binding.Builder,
    +                com.google.iam.v1.BindingOrBuilder>(
    +                bindings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
             bindings_ = null;
           }
           return bindingsBuilder_;
    @@ -1108,6 +1193,8 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder(
     
         private com.google.protobuf.ByteString etag_ = com.google.protobuf.ByteString.EMPTY;
         /**
    +     *
    +     *
          * 
          * `etag` is used for optimistic concurrency control as a way to help
          * prevent simultaneous updates of a policy from overwriting each other.
    @@ -1118,16 +1205,20 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder(
          * ensure that their change will be applied to the same version of the policy.
          * If no `etag` is provided in the call to `setIamPolicy`, then the existing
          * policy is overwritten. Due to blind-set semantics of an etag-less policy,
    -     * 'setIamPolicy' will not fail even if either of incoming or stored policy
    -     * does not meet the version requirements.
    +     * 'setIamPolicy' will not fail even if the incoming policy version does not
    +     * meet the requirements for modifying the stored policy.
          * 
    * * bytes etag = 3; + * + * @return The etag. */ public com.google.protobuf.ByteString getEtag() { return etag_; } /** + * + * *
          * `etag` is used for optimistic concurrency control as a way to help
          * prevent simultaneous updates of a policy from overwriting each other.
    @@ -1138,22 +1229,27 @@ public com.google.protobuf.ByteString getEtag() {
          * ensure that their change will be applied to the same version of the policy.
          * If no `etag` is provided in the call to `setIamPolicy`, then the existing
          * policy is overwritten. Due to blind-set semantics of an etag-less policy,
    -     * 'setIamPolicy' will not fail even if either of incoming or stored policy
    -     * does not meet the version requirements.
    +     * 'setIamPolicy' will not fail even if the incoming policy version does not
    +     * meet the requirements for modifying the stored policy.
          * 
    * * bytes etag = 3; + * + * @param value The etag to set. + * @return This builder for chaining. */ public Builder setEtag(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
          * `etag` is used for optimistic concurrency control as a way to help
          * prevent simultaneous updates of a policy from overwriting each other.
    @@ -1164,68 +1260,68 @@ public Builder setEtag(com.google.protobuf.ByteString value) {
          * ensure that their change will be applied to the same version of the policy.
          * If no `etag` is provided in the call to `setIamPolicy`, then the existing
          * policy is overwritten. Due to blind-set semantics of an etag-less policy,
    -     * 'setIamPolicy' will not fail even if either of incoming or stored policy
    -     * does not meet the version requirements.
    +     * 'setIamPolicy' will not fail even if the incoming policy version does not
    +     * meet the requirements for modifying the stored policy.
          * 
    * * bytes etag = 3; + * + * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.Policy) } // @@protoc_insertion_point(class_scope:google.iam.v1.Policy) - private static final Policy DEFAULT_INSTANCE; + private static final com.google.iam.v1.Policy DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new Policy(); + DEFAULT_INSTANCE = new com.google.iam.v1.Policy(); } - public static Policy getDefaultInstance() { + public static com.google.iam.v1.Policy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Policy(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Policy(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public Policy getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.Policy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 937707bd7599..eeb224888891 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 @@ -1,41 +1,65 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; /** + * + * *
      * The difference delta between two policies.
      * 
    * * Protobuf type {@code google.iam.v1.PolicyDelta} */ -public final class PolicyDelta extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PolicyDelta extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.iam.v1.PolicyDelta) PolicyDeltaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PolicyDelta.newBuilder() to construct. private PolicyDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PolicyDelta() { bindingDeltas_ = java.util.Collections.emptyList(); auditConfigDeltas_ = java.util.Collections.emptyList(); } - @Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PolicyDelta(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PolicyDelta( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new NullPointerException(); + throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -48,38 +72,40 @@ private PolicyDelta( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bindingDeltas_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + bindingDeltas_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + bindingDeltas_.add( + input.readMessage(com.google.iam.v1.BindingDelta.parser(), extensionRegistry)); + break; } - bindingDeltas_.add( - input.readMessage(com.google.iam.v1.BindingDelta.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - auditConfigDeltas_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + auditConfigDeltas_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + auditConfigDeltas_.add( + input.readMessage( + com.google.iam.v1.AuditConfigDelta.parser(), extensionRegistry)); + break; } - auditConfigDeltas_.add( - input.readMessage(com.google.iam.v1.AuditConfigDelta.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); @@ -91,22 +117,25 @@ private PolicyDelta( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable + return com.google.iam.v1.PolicyProto + .internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - PolicyDelta.class, Builder.class); + com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); } public static final int BINDING_DELTAS_FIELD_NUMBER = 1; private java.util.List bindingDeltas_; /** + * + * *
        * The delta for Bindings between two policies.
        * 
    @@ -117,17 +146,21 @@ public java.util.List getBindingDeltasList() { return bindingDeltas_; } /** + * + * *
        * The delta for Bindings between two policies.
        * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public java.util.List + public java.util.List getBindingDeltasOrBuilderList() { return bindingDeltas_; } /** + * + * *
        * The delta for Bindings between two policies.
        * 
    @@ -138,6 +171,8 @@ public int getBindingDeltasCount() { return bindingDeltas_.size(); } /** + * + * *
        * The delta for Bindings between two policies.
        * 
    @@ -148,20 +183,23 @@ public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { return bindingDeltas_.get(index); } /** + * + * *
        * The delta for Bindings between two policies.
        * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( - int index) { + public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index) { return bindingDeltas_.get(index); } public static final int AUDIT_CONFIG_DELTAS_FIELD_NUMBER = 2; private java.util.List auditConfigDeltas_; /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    @@ -172,17 +210,21 @@ public java.util.List getAuditConfigDeltasLi return auditConfigDeltas_; } /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public java.util.List + public java.util.List getAuditConfigDeltasOrBuilderList() { return auditConfigDeltas_; } /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    @@ -193,6 +235,8 @@ public int getAuditConfigDeltasCount() { return auditConfigDeltas_.size(); } /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    @@ -203,19 +247,21 @@ public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { return auditConfigDeltas_.get(index); } /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder( - int index) { + public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index) { return auditConfigDeltas_.get(index); } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -225,9 +271,8 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < bindingDeltas_.size(); i++) { output.writeMessage(1, bindingDeltas_.get(i)); } @@ -237,44 +282,41 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < bindingDeltas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, bindingDeltas_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, bindingDeltas_.get(i)); } for (int i = 0; i < auditConfigDeltas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, auditConfigDeltas_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, auditConfigDeltas_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof PolicyDelta)) { + if (!(obj instanceof com.google.iam.v1.PolicyDelta)) { return super.equals(obj); } - PolicyDelta other = (PolicyDelta) obj; + com.google.iam.v1.PolicyDelta other = (com.google.iam.v1.PolicyDelta) obj; - if (!getBindingDeltasList() - .equals(other.getBindingDeltasList())) return false; - if (!getAuditConfigDeltasList() - .equals(other.getAuditConfigDeltasList())) return false; + if (!getBindingDeltasList().equals(other.getBindingDeltasList())) return false; + if (!getAuditConfigDeltasList().equals(other.getAuditConfigDeltasList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -294,118 +336,124 @@ public int hashCode() { return hash; } - public static PolicyDelta parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.PolicyDelta parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static PolicyDelta parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.PolicyDelta parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static PolicyDelta parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.iam.v1.PolicyDelta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static PolicyDelta parseFrom( + + public static com.google.iam.v1.PolicyDelta parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static PolicyDelta parseFrom(byte[] data) + + public static com.google.iam.v1.PolicyDelta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static PolicyDelta parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.PolicyDelta parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static PolicyDelta parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.PolicyDelta parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static PolicyDelta parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.PolicyDelta parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static PolicyDelta parseDelimitedFrom(java.io.InputStream input) + + public static com.google.iam.v1.PolicyDelta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static PolicyDelta parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.PolicyDelta parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static PolicyDelta parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.iam.v1.PolicyDelta parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static PolicyDelta parseFrom( + + public static com.google.iam.v1.PolicyDelta parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(PolicyDelta prototype) { + + public static Builder newBuilder(com.google.iam.v1.PolicyDelta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * The difference delta between two policies.
        * 
    * * Protobuf type {@code google.iam.v1.PolicyDelta} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.iam.v1.PolicyDelta) com.google.iam.v1.PolicyDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable + return com.google.iam.v1.PolicyProto + .internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable .ensureFieldAccessorsInitialized( - PolicyDelta.class, Builder.class); + com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); } // Construct using com.google.iam.v1.PolicyDelta.newBuilder() @@ -413,19 +461,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBindingDeltasFieldBuilder(); getAuditConfigDeltasFieldBuilder(); } } - @Override + + @java.lang.Override public Builder clear() { super.clear(); if (bindingDeltasBuilder_ == null) { @@ -443,29 +491,28 @@ public Builder clear() { return this; } - @Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; } - @Override - public PolicyDelta getDefaultInstanceForType() { - return PolicyDelta.getDefaultInstance(); + @java.lang.Override + public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { + return com.google.iam.v1.PolicyDelta.getDefaultInstance(); } - @Override - public PolicyDelta build() { - PolicyDelta result = buildPartial(); + @java.lang.Override + public com.google.iam.v1.PolicyDelta build() { + com.google.iam.v1.PolicyDelta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @Override - public PolicyDelta buildPartial() { - PolicyDelta result = new PolicyDelta(this); + @java.lang.Override + public com.google.iam.v1.PolicyDelta buildPartial() { + com.google.iam.v1.PolicyDelta result = new com.google.iam.v1.PolicyDelta(this); int from_bitField0_ = bitField0_; if (bindingDeltasBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -489,50 +536,51 @@ public PolicyDelta buildPartial() { return result; } - @Override + @java.lang.Override public Builder clone() { return super.clone(); } - @Override + + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } - @Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @Override + + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @Override + + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } - @Override + + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof PolicyDelta) { - return mergeFrom((PolicyDelta)other); + if (other instanceof com.google.iam.v1.PolicyDelta) { + return mergeFrom((com.google.iam.v1.PolicyDelta) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(PolicyDelta other) { - if (other == PolicyDelta.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.iam.v1.PolicyDelta other) { + if (other == com.google.iam.v1.PolicyDelta.getDefaultInstance()) return this; if (bindingDeltasBuilder_ == null) { if (!other.bindingDeltas_.isEmpty()) { if (bindingDeltas_.isEmpty()) { @@ -551,9 +599,10 @@ public Builder mergeFrom(PolicyDelta other) { bindingDeltasBuilder_ = null; bindingDeltas_ = other.bindingDeltas_; bitField0_ = (bitField0_ & ~0x00000001); - bindingDeltasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBindingDeltasFieldBuilder() : null; + bindingDeltasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBindingDeltasFieldBuilder() + : null; } else { bindingDeltasBuilder_.addAllMessages(other.bindingDeltas_); } @@ -577,9 +626,10 @@ public Builder mergeFrom(PolicyDelta other) { auditConfigDeltasBuilder_ = null; auditConfigDeltas_ = other.auditConfigDeltas_; bitField0_ = (bitField0_ & ~0x00000002); - auditConfigDeltasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAuditConfigDeltasFieldBuilder() : null; + auditConfigDeltasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAuditConfigDeltasFieldBuilder() + : null; } else { auditConfigDeltasBuilder_.addAllMessages(other.auditConfigDeltas_); } @@ -590,21 +640,21 @@ public Builder mergeFrom(PolicyDelta other) { return this; } - @Override + @java.lang.Override public final boolean isInitialized() { return true; } - @Override + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - PolicyDelta parsedMessage = null; + com.google.iam.v1.PolicyDelta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (PolicyDelta) e.getUnfinishedMessage(); + parsedMessage = (com.google.iam.v1.PolicyDelta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -613,21 +663,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List bindingDeltas_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureBindingDeltasIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { bindingDeltas_ = new java.util.ArrayList(bindingDeltas_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.BindingDelta, com.google.iam.v1.BindingDelta.Builder, com.google.iam.v1.BindingDeltaOrBuilder> bindingDeltasBuilder_; + com.google.iam.v1.BindingDelta, + com.google.iam.v1.BindingDelta.Builder, + com.google.iam.v1.BindingDeltaOrBuilder> + bindingDeltasBuilder_; /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -642,6 +699,8 @@ public java.util.List getBindingDeltasList() { } } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -656,6 +715,8 @@ public int getBindingDeltasCount() { } } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -670,14 +731,15 @@ public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { } } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public Builder setBindingDeltas( - int index, com.google.iam.v1.BindingDelta value) { + public Builder setBindingDeltas(int index, com.google.iam.v1.BindingDelta value) { if (bindingDeltasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -691,6 +753,8 @@ public Builder setBindingDeltas( return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -709,6 +773,8 @@ public Builder setBindingDeltas( return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -729,14 +795,15 @@ public Builder addBindingDeltas(com.google.iam.v1.BindingDelta value) { return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public Builder addBindingDeltas( - int index, com.google.iam.v1.BindingDelta value) { + public Builder addBindingDeltas(int index, com.google.iam.v1.BindingDelta value) { if (bindingDeltasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,14 +817,15 @@ public Builder addBindingDeltas( return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public Builder addBindingDeltas( - com.google.iam.v1.BindingDelta.Builder builderForValue) { + public Builder addBindingDeltas(com.google.iam.v1.BindingDelta.Builder builderForValue) { if (bindingDeltasBuilder_ == null) { ensureBindingDeltasIsMutable(); bindingDeltas_.add(builderForValue.build()); @@ -768,6 +836,8 @@ public Builder addBindingDeltas( return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -786,6 +856,8 @@ public Builder addBindingDeltas( return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -793,11 +865,10 @@ public Builder addBindingDeltas( * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ public Builder addAllBindingDeltas( - Iterable values) { + java.lang.Iterable values) { if (bindingDeltasBuilder_ == null) { ensureBindingDeltasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bindingDeltas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bindingDeltas_); onChanged(); } else { bindingDeltasBuilder_.addAllMessages(values); @@ -805,6 +876,8 @@ public Builder addAllBindingDeltas( return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -822,6 +895,8 @@ public Builder clearBindingDeltas() { return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -839,39 +914,44 @@ public Builder removeBindingDeltas(int index) { return this; } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public com.google.iam.v1.BindingDelta.Builder getBindingDeltasBuilder( - int index) { + public com.google.iam.v1.BindingDelta.Builder getBindingDeltasBuilder(int index) { return getBindingDeltasFieldBuilder().getBuilder(index); } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( - int index) { + public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index) { if (bindingDeltasBuilder_ == null) { - return bindingDeltas_.get(index); } else { + return bindingDeltas_.get(index); + } else { return bindingDeltasBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public java.util.List - getBindingDeltasOrBuilderList() { + public java.util.List + getBindingDeltasOrBuilderList() { if (bindingDeltasBuilder_ != null) { return bindingDeltasBuilder_.getMessageOrBuilderList(); } else { @@ -879,6 +959,8 @@ public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( } } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    @@ -886,38 +968,46 @@ public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder() { - return getBindingDeltasFieldBuilder().addBuilder( - com.google.iam.v1.BindingDelta.getDefaultInstance()); + return getBindingDeltasFieldBuilder() + .addBuilder(com.google.iam.v1.BindingDelta.getDefaultInstance()); } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder( - int index) { - return getBindingDeltasFieldBuilder().addBuilder( - index, com.google.iam.v1.BindingDelta.getDefaultInstance()); + public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder(int index) { + return getBindingDeltasFieldBuilder() + .addBuilder(index, com.google.iam.v1.BindingDelta.getDefaultInstance()); } /** + * + * *
          * The delta for Bindings between two policies.
          * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - public java.util.List - getBindingDeltasBuilderList() { + public java.util.List getBindingDeltasBuilderList() { return getBindingDeltasFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.BindingDelta, com.google.iam.v1.BindingDelta.Builder, com.google.iam.v1.BindingDeltaOrBuilder> + com.google.iam.v1.BindingDelta, + com.google.iam.v1.BindingDelta.Builder, + com.google.iam.v1.BindingDeltaOrBuilder> getBindingDeltasFieldBuilder() { if (bindingDeltasBuilder_ == null) { - bindingDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.BindingDelta, com.google.iam.v1.BindingDelta.Builder, com.google.iam.v1.BindingDeltaOrBuilder>( + bindingDeltasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.BindingDelta, + com.google.iam.v1.BindingDelta.Builder, + com.google.iam.v1.BindingDeltaOrBuilder>( bindingDeltas_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -928,18 +1018,25 @@ public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder( } private java.util.List auditConfigDeltas_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAuditConfigDeltasIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - auditConfigDeltas_ = new java.util.ArrayList(auditConfigDeltas_); + auditConfigDeltas_ = + new java.util.ArrayList(auditConfigDeltas_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfigDelta, com.google.iam.v1.AuditConfigDelta.Builder, com.google.iam.v1.AuditConfigDeltaOrBuilder> auditConfigDeltasBuilder_; + com.google.iam.v1.AuditConfigDelta, + com.google.iam.v1.AuditConfigDelta.Builder, + com.google.iam.v1.AuditConfigDeltaOrBuilder> + auditConfigDeltasBuilder_; /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -954,6 +1051,8 @@ public java.util.List getAuditConfigDeltasLi } } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -968,6 +1067,8 @@ public int getAuditConfigDeltasCount() { } } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -982,14 +1083,15 @@ public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { } } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public Builder setAuditConfigDeltas( - int index, com.google.iam.v1.AuditConfigDelta value) { + public Builder setAuditConfigDeltas(int index, com.google.iam.v1.AuditConfigDelta value) { if (auditConfigDeltasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1003,6 +1105,8 @@ public Builder setAuditConfigDeltas( return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1021,6 +1125,8 @@ public Builder setAuditConfigDeltas( return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1041,14 +1147,15 @@ public Builder addAuditConfigDeltas(com.google.iam.v1.AuditConfigDelta value) { return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public Builder addAuditConfigDeltas( - int index, com.google.iam.v1.AuditConfigDelta value) { + public Builder addAuditConfigDeltas(int index, com.google.iam.v1.AuditConfigDelta value) { if (auditConfigDeltasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1062,6 +1169,8 @@ public Builder addAuditConfigDeltas( return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1080,6 +1189,8 @@ public Builder addAuditConfigDeltas( return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1098,6 +1209,8 @@ public Builder addAuditConfigDeltas( return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1105,11 +1218,10 @@ public Builder addAuditConfigDeltas( * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ public Builder addAllAuditConfigDeltas( - Iterable values) { + java.lang.Iterable values) { if (auditConfigDeltasBuilder_ == null) { ensureAuditConfigDeltasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, auditConfigDeltas_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auditConfigDeltas_); onChanged(); } else { auditConfigDeltasBuilder_.addAllMessages(values); @@ -1117,6 +1229,8 @@ public Builder addAllAuditConfigDeltas( return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1134,6 +1248,8 @@ public Builder clearAuditConfigDeltas() { return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1151,39 +1267,44 @@ public Builder removeAuditConfigDeltas(int index) { return this; } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public com.google.iam.v1.AuditConfigDelta.Builder getAuditConfigDeltasBuilder( - int index) { + public com.google.iam.v1.AuditConfigDelta.Builder getAuditConfigDeltasBuilder(int index) { return getAuditConfigDeltasFieldBuilder().getBuilder(index); } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder( - int index) { + public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index) { if (auditConfigDeltasBuilder_ == null) { - return auditConfigDeltas_.get(index); } else { + return auditConfigDeltas_.get(index); + } else { return auditConfigDeltasBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public java.util.List - getAuditConfigDeltasOrBuilderList() { + public java.util.List + getAuditConfigDeltasOrBuilderList() { if (auditConfigDeltasBuilder_ != null) { return auditConfigDeltasBuilder_.getMessageOrBuilderList(); } else { @@ -1191,6 +1312,8 @@ public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder } } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    @@ -1198,38 +1321,47 @@ public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder() { - return getAuditConfigDeltasFieldBuilder().addBuilder( - com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); + return getAuditConfigDeltasFieldBuilder() + .addBuilder(com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder( - int index) { - return getAuditConfigDeltasFieldBuilder().addBuilder( - index, com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); + public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder(int index) { + return getAuditConfigDeltasFieldBuilder() + .addBuilder(index, com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); } /** + * + * *
          * The delta for AuditConfigs between two policies.
          * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - public java.util.List - getAuditConfigDeltasBuilderList() { + public java.util.List + getAuditConfigDeltasBuilderList() { return getAuditConfigDeltasFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfigDelta, com.google.iam.v1.AuditConfigDelta.Builder, com.google.iam.v1.AuditConfigDeltaOrBuilder> + com.google.iam.v1.AuditConfigDelta, + com.google.iam.v1.AuditConfigDelta.Builder, + com.google.iam.v1.AuditConfigDeltaOrBuilder> getAuditConfigDeltasFieldBuilder() { if (auditConfigDeltasBuilder_ == null) { - auditConfigDeltasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfigDelta, com.google.iam.v1.AuditConfigDelta.Builder, com.google.iam.v1.AuditConfigDeltaOrBuilder>( + auditConfigDeltasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditConfigDelta, + com.google.iam.v1.AuditConfigDelta.Builder, + com.google.iam.v1.AuditConfigDeltaOrBuilder>( auditConfigDeltas_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1238,56 +1370,54 @@ public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder( } return auditConfigDeltasBuilder_; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.PolicyDelta) } // @@protoc_insertion_point(class_scope:google.iam.v1.PolicyDelta) - private static final PolicyDelta DEFAULT_INSTANCE; + private static final com.google.iam.v1.PolicyDelta DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new PolicyDelta(); + DEFAULT_INSTANCE = new com.google.iam.v1.PolicyDelta(); } - public static PolicyDelta getDefaultInstance() { + public static com.google.iam.v1.PolicyDelta getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public PolicyDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PolicyDelta(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyDelta parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PolicyDelta(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public PolicyDelta getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java index e1735b948d13..fd3e1c0ddc2f 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java @@ -1,30 +1,51 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; -public interface PolicyDeltaOrBuilder extends +public interface PolicyDeltaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.PolicyDelta) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The delta for Bindings between two policies.
        * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - java.util.List - getBindingDeltasList(); + java.util.List getBindingDeltasList(); /** + * + * *
        * The delta for Bindings between two policies.
        * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - BindingDelta getBindingDeltas(int index); + com.google.iam.v1.BindingDelta getBindingDeltas(int index); /** + * + * *
        * The delta for Bindings between two policies.
        * 
    @@ -33,42 +54,49 @@ public interface PolicyDeltaOrBuilder extends */ int getBindingDeltasCount(); /** + * + * *
        * The delta for Bindings between two policies.
        * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - java.util.List - getBindingDeltasOrBuilderList(); + java.util.List getBindingDeltasOrBuilderList(); /** + * + * *
        * The delta for Bindings between two policies.
        * 
    * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ - com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( - int index); + com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index); /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - java.util.List - getAuditConfigDeltasList(); + java.util.List getAuditConfigDeltasList(); /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - AuditConfigDelta getAuditConfigDeltas(int index); + com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index); /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    @@ -77,21 +105,24 @@ com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder( */ int getAuditConfigDeltasCount(); /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - java.util.List + java.util.List getAuditConfigDeltasOrBuilderList(); /** + * + * *
        * The delta for AuditConfigs between two policies.
        * 
    * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ - com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder( - int index); + com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index); } 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 99b9548b0cb6..6be361f345e1 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 @@ -1,31 +1,54 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto package com.google.iam.v1; -public interface PolicyOrBuilder extends +public interface PolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.Policy) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Specifies the format of the policy.
        * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
        * rejected.
        * Operations affecting conditional bindings must specify version 3. This can
        * be either setting a conditional policy, modifying a conditional binding,
    -   * or removing a conditional binding from the stored conditional policy.
    +   * or removing a binding (conditional or unconditional) from the stored
    +   * conditional policy.
        * Operations on non-conditional policies may specify any valid value or
        * leave the field unset.
    -   * If no etag is provided in the call to `setIamPolicy`, any version
    -   * compliance checks on the incoming and/or stored policy is skipped.
    +   * If no etag is provided in the call to `setIamPolicy`, version compliance
    +   * checks against the stored policy is skipped.
        * 
    * * int32 version = 1; + * + * @return The version. */ int getVersion(); /** + * + * *
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -34,9 +57,10 @@ public interface PolicyOrBuilder extends
        *
        * repeated .google.iam.v1.Binding bindings = 4;
        */
    -  java.util.List
    -      getBindingsList();
    +  java.util.List getBindingsList();
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -45,8 +69,10 @@ public interface PolicyOrBuilder extends
        *
        * repeated .google.iam.v1.Binding bindings = 4;
        */
    -  Binding getBindings(int index);
    +  com.google.iam.v1.Binding getBindings(int index);
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -57,6 +83,8 @@ public interface PolicyOrBuilder extends
        */
       int getBindingsCount();
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -65,9 +93,10 @@ public interface PolicyOrBuilder extends
        *
        * repeated .google.iam.v1.Binding bindings = 4;
        */
    -  java.util.List 
    -      getBindingsOrBuilderList();
    +  java.util.List getBindingsOrBuilderList();
       /**
    +   *
    +   *
        * 
        * Associates a list of `members` to a `role`. Optionally may specify a
        * `condition` that determines when binding is in effect.
    @@ -76,10 +105,11 @@ public interface PolicyOrBuilder extends
        *
        * repeated .google.iam.v1.Binding bindings = 4;
        */
    -  com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
    -      int index);
    +  com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index);
     
       /**
    +   *
    +   *
        * 
        * `etag` is used for optimistic concurrency control as a way to help
        * prevent simultaneous updates of a policy from overwriting each other.
    @@ -90,11 +120,13 @@ com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(
        * ensure that their change will be applied to the same version of the policy.
        * If no `etag` is provided in the call to `setIamPolicy`, then the existing
        * policy is overwritten. Due to blind-set semantics of an etag-less policy,
    -   * 'setIamPolicy' will not fail even if either of incoming or stored policy
    -   * does not meet the version requirements.
    +   * 'setIamPolicy' will not fail even if the incoming policy version does not
    +   * meet the requirements for modifying the stored policy.
        * 
    * * bytes etag = 3; + * + * @return The etag. */ com.google.protobuf.ByteString getEtag(); } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java index d25ff666ea79..2eee39d05ab4 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java @@ -1,3 +1,18 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/policy.proto @@ -5,117 +20,110 @@ public final class PolicyProto { private PolicyProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } + static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_Policy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_Policy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_Policy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_Binding_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_Binding_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_Binding_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_PolicyDelta_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_PolicyDelta_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_BindingDelta_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_BindingDelta_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_BindingDelta_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_AuditConfigDelta_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_AuditConfigDelta_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { - String[] descriptorData = { - "\n\032google/iam/v1/policy.proto\022\rgoogle.iam" + - ".v1\032\026google/type/expr.proto\032\034google/api/" + - "annotations.proto\"Q\n\006Policy\022\017\n\007version\030\001" + - " \001(\005\022(\n\010bindings\030\004 \003(\0132\026.google.iam.v1.B" + - "inding\022\014\n\004etag\030\003 \001(\014\"N\n\007Binding\022\014\n\004role\030" + - "\001 \001(\t\022\017\n\007members\030\002 \003(\t\022$\n\tcondition\030\003 \001(" + - "\0132\021.google.type.Expr\"\200\001\n\013PolicyDelta\0223\n\016" + - "binding_deltas\030\001 \003(\0132\033.google.iam.v1.Bin" + - "dingDelta\022<\n\023audit_config_deltas\030\002 \003(\0132\037" + - ".google.iam.v1.AuditConfigDelta\"\275\001\n\014Bind" + - "ingDelta\0222\n\006action\030\001 \001(\0162\".google.iam.v1" + - ".BindingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006me" + - "mber\030\003 \001(\t\022$\n\tcondition\030\004 \001(\0132\021.google.t" + - "ype.Expr\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED" + - "\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\275\001\n\020AuditConfigD" + - "elta\0226\n\006action\030\001 \001(\0162&.google.iam.v1.Aud" + - "itConfigDelta.Action\022\017\n\007service\030\002 \001(\t\022\027\n" + - "\017exempted_member\030\003 \001(\t\022\020\n\010log_type\030\004 \001(\t" + - "\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022\007\n\003AD" + - "D\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021com.google.iam.v1B\013P" + - "olicyProtoP\001Z0google.golang.org/genproto" + - "/googleapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud" + - ".Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" + java.lang.String[] descriptorData = { + "\n\032google/iam/v1/policy.proto\022\rgoogle.iam" + + ".v1\032\026google/type/expr.proto\032\034google/api/" + + "annotations.proto\"Q\n\006Policy\022\017\n\007version\030\001" + + " \001(\005\022(\n\010bindings\030\004 \003(\0132\026.google.iam.v1.B" + + "inding\022\014\n\004etag\030\003 \001(\014\"N\n\007Binding\022\014\n\004role\030" + + "\001 \001(\t\022\017\n\007members\030\002 \003(\t\022$\n\tcondition\030\003 \001(" + + "\0132\021.google.type.Expr\"\200\001\n\013PolicyDelta\0223\n\016" + + "binding_deltas\030\001 \003(\0132\033.google.iam.v1.Bin" + + "dingDelta\022<\n\023audit_config_deltas\030\002 \003(\0132\037" + + ".google.iam.v1.AuditConfigDelta\"\275\001\n\014Bind" + + "ingDelta\0222\n\006action\030\001 \001(\0162\".google.iam.v1" + + ".BindingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006me" + + "mber\030\003 \001(\t\022$\n\tcondition\030\004 \001(\0132\021.google.t" + + "ype.Expr\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED" + + "\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\275\001\n\020AuditConfigD" + + "elta\0226\n\006action\030\001 \001(\0162&.google.iam.v1.Aud" + + "itConfigDelta.Action\022\017\n\007service\030\002 \001(\t\022\027\n" + + "\017exempted_member\030\003 \001(\t\022\020\n\010log_type\030\004 \001(\t" + + "\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022\007\n\003AD" + + "D\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021com.google.iam.v1B\013P" + + "olicyProtoP\001Z0google.golang.org/genproto" + + "/googleapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud" + + ".Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.ExprProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }, assigner); - internal_static_google_iam_v1_Policy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v1_Policy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_Policy_descriptor, - new String[] { "Version", "Bindings", "Etag", }); - internal_static_google_iam_v1_Binding_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_iam_v1_Binding_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_Binding_descriptor, - new String[] { "Role", "Members", "Condition", }); - internal_static_google_iam_v1_PolicyDelta_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_PolicyDelta_descriptor, - new String[] { "BindingDeltas", "AuditConfigDeltas", }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.type.ExprProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_iam_v1_Policy_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v1_Policy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_Policy_descriptor, + new java.lang.String[] { + "Version", "Bindings", "Etag", + }); + internal_static_google_iam_v1_Binding_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_google_iam_v1_Binding_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_Binding_descriptor, + new java.lang.String[] { + "Role", "Members", "Condition", + }); + internal_static_google_iam_v1_PolicyDelta_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_PolicyDelta_descriptor, + new java.lang.String[] { + "BindingDeltas", "AuditConfigDeltas", + }); internal_static_google_iam_v1_BindingDelta_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_iam_v1_BindingDelta_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_BindingDelta_descriptor, - new String[] { "Action", "Role", "Member", "Condition", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_iam_v1_BindingDelta_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_BindingDelta_descriptor, + new java.lang.String[] { + "Action", "Role", "Member", "Condition", + }); internal_static_google_iam_v1_AuditConfigDelta_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_AuditConfigDelta_descriptor, - new String[] { "Action", "Service", "ExemptedMember", "LogType", }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_AuditConfigDelta_descriptor, + new java.lang.String[] { + "Action", "Service", "ExemptedMember", "LogType", + }); com.google.type.ExprProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); } 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 98e5af3d0bba..ead65341443f 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 @@ -1,42 +1,65 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/iam_policy.proto package com.google.iam.v1; /** + * + * *
      * Request message for `SetIamPolicy` method.
      * 
    * * Protobuf type {@code google.iam.v1.SetIamPolicyRequest} */ -public final class SetIamPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.iam.v1.SetIamPolicyRequest) SetIamPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetIamPolicyRequest.newBuilder() to construct. private SetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetIamPolicyRequest() { resource_ = ""; } - @Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SetIamPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SetIamPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new NullPointerException(); + throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -47,94 +70,107 @@ private SetIamPolicyRequest( case 0: done = true; break; - case 10: { - String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 18: { - Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); + resource_ = s; + break; } - policy_ = input.readMessage(Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); + case 18: + { + com.google.iam.v1.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - SetIamPolicyRequest.class, Builder.class); + com.google.iam.v1.SetIamPolicyRequest.class, + com.google.iam.v1.SetIamPolicyRequest.Builder.class); } public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile Object resource_; + private volatile java.lang.Object resource_; /** + * + * *
        * REQUIRED: The resource for which the policy is being specified.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - public String getResource() { - Object ref = resource_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
        * REQUIRED: The resource for which the policy is being specified.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { - Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -143,8 +179,10 @@ public String getResource() { } public static final int POLICY_FIELD_NUMBER = 2; - private Policy policy_; + private com.google.iam.v1.Policy policy_; /** + * + * *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
        * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -152,12 +190,16 @@ public String getResource() {
        * might reject them.
        * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
        * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -165,12 +207,16 @@ public boolean hasPolicy() {
        * might reject them.
        * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. */ - public Policy getPolicy() { - return policy_ == null ? Policy.getDefaultInstance() : policy_; + public com.google.iam.v1.Policy getPolicy() { + return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } /** + * + * *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
        * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -178,14 +224,15 @@ public Policy getPolicy() {
        * might reject them.
        * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public PolicyOrBuilder getPolicyOrBuilder() { + public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { return getPolicy(); } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -195,9 +242,8 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getResourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } @@ -207,7 +253,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -217,36 +263,33 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof SetIamPolicyRequest)) { + if (!(obj instanceof com.google.iam.v1.SetIamPolicyRequest)) { return super.equals(obj); } - SetIamPolicyRequest other = (SetIamPolicyRequest) obj; + com.google.iam.v1.SetIamPolicyRequest other = (com.google.iam.v1.SetIamPolicyRequest) obj; - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy() - .equals(other.getPolicy())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -264,118 +307,126 @@ public int hashCode() { return hash; } - public static SetIamPolicyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.SetIamPolicyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static SetIamPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static SetIamPolicyRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static SetIamPolicyRequest parseFrom( + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static SetIamPolicyRequest parseFrom(byte[] data) + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static SetIamPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static SetIamPolicyRequest parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static SetIamPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static SetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) + + public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static SetIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static SetIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static SetIamPolicyRequest parseFrom( + + public static com.google.iam.v1.SetIamPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(SetIamPolicyRequest prototype) { + + public static Builder newBuilder(com.google.iam.v1.SetIamPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * Request message for `SetIamPolicy` method.
        * 
    * * Protobuf type {@code google.iam.v1.SetIamPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.iam.v1.SetIamPolicyRequest) com.google.iam.v1.SetIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - SetIamPolicyRequest.class, Builder.class); + com.google.iam.v1.SetIamPolicyRequest.class, + com.google.iam.v1.SetIamPolicyRequest.Builder.class); } // Construct using com.google.iam.v1.SetIamPolicyRequest.newBuilder() @@ -383,17 +434,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @Override + + @java.lang.Override public Builder clear() { super.clear(); resource_ = ""; @@ -407,29 +457,30 @@ public Builder clear() { return this; } - @Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return IamPolicyProto.internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; } - @Override - public SetIamPolicyRequest getDefaultInstanceForType() { - return SetIamPolicyRequest.getDefaultInstance(); + @java.lang.Override + public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() { + return com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance(); } - @Override - public SetIamPolicyRequest build() { - SetIamPolicyRequest result = buildPartial(); + @java.lang.Override + public com.google.iam.v1.SetIamPolicyRequest build() { + com.google.iam.v1.SetIamPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @Override - public SetIamPolicyRequest buildPartial() { - SetIamPolicyRequest result = new SetIamPolicyRequest(this); + @java.lang.Override + public com.google.iam.v1.SetIamPolicyRequest buildPartial() { + com.google.iam.v1.SetIamPolicyRequest result = + new com.google.iam.v1.SetIamPolicyRequest(this); result.resource_ = resource_; if (policyBuilder_ == null) { result.policy_ = policy_; @@ -440,50 +491,51 @@ public SetIamPolicyRequest buildPartial() { return result; } - @Override + @java.lang.Override public Builder clone() { return super.clone(); } - @Override + + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } - @Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @Override + + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @Override + + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } - @Override + + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof SetIamPolicyRequest) { - return mergeFrom((SetIamPolicyRequest)other); + if (other instanceof com.google.iam.v1.SetIamPolicyRequest) { + return mergeFrom((com.google.iam.v1.SetIamPolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(SetIamPolicyRequest other) { - if (other == SetIamPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) { + if (other == com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -496,21 +548,21 @@ public Builder mergeFrom(SetIamPolicyRequest other) { return this; } - @Override + @java.lang.Override public final boolean isInitialized() { return true; } - @Override + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - SetIamPolicyRequest parsedMessage = null; + com.google.iam.v1.SetIamPolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (SetIamPolicyRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.iam.v1.SetIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -520,42 +572,51 @@ public Builder mergeFrom( return this; } - private Object resource_ = ""; + private java.lang.Object resource_ = ""; /** + * + * *
          * REQUIRED: The resource for which the policy is being specified.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - public String getResource() { - Object ref = resource_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * REQUIRED: The resource for which the policy is being specified.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { - Object ref = resource_; + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -563,61 +624,84 @@ public String getResource() { } } /** + * + * *
          * REQUIRED: The resource for which the policy is being specified.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The resource to set. + * @return This builder for chaining. */ - public Builder setResource( - String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
          * REQUIRED: The resource for which the policy is being specified.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
          * REQUIRED: The resource for which the policy is being specified.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for resource to set. + * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } - private Policy policy_; + private com.google.iam.v1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - Policy, Policy.Builder, PolicyOrBuilder> policyBuilder_; + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> + policyBuilder_; /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -625,12 +709,16 @@ public Builder setResourceBytes(
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. */ public boolean hasPolicy() { return policyBuilder_ != null || policy_ != null; } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -638,16 +726,20 @@ public boolean hasPolicy() {
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. */ - public Policy getPolicy() { + public com.google.iam.v1.Policy getPolicy() { if (policyBuilder_ == null) { - return policy_ == null ? Policy.getDefaultInstance() : policy_; + return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } else { return policyBuilder_.getMessage(); } } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -655,9 +747,9 @@ public Policy getPolicy() {
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPolicy(Policy value) { + public Builder setPolicy(com.google.iam.v1.Policy value) { if (policyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -671,6 +763,8 @@ public Builder setPolicy(Policy value) { return this; } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -678,10 +772,9 @@ public Builder setPolicy(Policy value) {
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPolicy( - Policy.Builder builderForValue) { + public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) { if (policyBuilder_ == null) { policy_ = builderForValue.build(); onChanged(); @@ -692,6 +785,8 @@ public Builder setPolicy( return this; } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -699,13 +794,12 @@ public Builder setPolicy(
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePolicy(Policy value) { + public Builder mergePolicy(com.google.iam.v1.Policy value) { if (policyBuilder_ == null) { if (policy_ != null) { - policy_ = - Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); + policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); } else { policy_ = value; } @@ -717,6 +811,8 @@ public Builder mergePolicy(Policy value) { return this; } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -724,7 +820,7 @@ public Builder mergePolicy(Policy value) {
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPolicy() { if (policyBuilder_ == null) { @@ -738,6 +834,8 @@ public Builder clearPolicy() { return this; } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -745,14 +843,16 @@ public Builder clearPolicy() {
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Policy.Builder getPolicyBuilder() { - + public com.google.iam.v1.Policy.Builder getPolicyBuilder() { + onChanged(); return getPolicyFieldBuilder().getBuilder(); } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -760,17 +860,18 @@ public Policy.Builder getPolicyBuilder() {
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public PolicyOrBuilder getPolicyOrBuilder() { + public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { if (policyBuilder_ != null) { return policyBuilder_.getMessageOrBuilder(); } else { - return policy_ == null ? - Policy.getDefaultInstance() : policy_; + return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } } /** + * + * *
          * REQUIRED: The complete policy to be applied to the `resource`. The size of
          * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -778,71 +879,71 @@ public PolicyOrBuilder getPolicyOrBuilder() {
          * might reject them.
          * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - Policy, Policy.Builder, PolicyOrBuilder> + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder> getPolicyFieldBuilder() { if (policyBuilder_ == null) { - policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - Policy, Policy.Builder, PolicyOrBuilder>( - getPolicy(), - getParentForChildren(), - isClean()); + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.Policy, + com.google.iam.v1.Policy.Builder, + com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); policy_ = null; } return policyBuilder_; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.SetIamPolicyRequest) } // @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest) - private static final SetIamPolicyRequest DEFAULT_INSTANCE; + private static final com.google.iam.v1.SetIamPolicyRequest DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new SetIamPolicyRequest(); + DEFAULT_INSTANCE = new com.google.iam.v1.SetIamPolicyRequest(); } - public static SetIamPolicyRequest getDefaultInstance() { + public static com.google.iam.v1.SetIamPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public SetIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SetIamPolicyRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetIamPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SetIamPolicyRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public SetIamPolicyRequest getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 e0e2e88834af..135cf6dcd820 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 @@ -1,33 +1,62 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/iam_policy.proto package com.google.iam.v1; -public interface SetIamPolicyRequestOrBuilder extends +public interface SetIamPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.SetIamPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * REQUIRED: The resource for which the policy is being specified.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - String getResource(); + java.lang.String getResource(); /** + * + * *
        * REQUIRED: The resource for which the policy is being specified.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
        * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -35,10 +64,14 @@ public interface SetIamPolicyRequestOrBuilder extends
        * might reject them.
        * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
        * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -46,10 +79,14 @@ public interface SetIamPolicyRequestOrBuilder extends
        * might reject them.
        * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. */ - Policy getPolicy(); + com.google.iam.v1.Policy getPolicy(); /** + * + * *
        * REQUIRED: The complete policy to be applied to the `resource`. The size of
        * the policy is limited to a few 10s of KB. An empty policy is a
    @@ -57,7 +94,7 @@ public interface SetIamPolicyRequestOrBuilder extends
        * might reject them.
        * 
    * - * .google.iam.v1.Policy policy = 2; + * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ - PolicyOrBuilder getPolicyOrBuilder(); + com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder(); } 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 95a56fcbbf7c..784d2beb496d 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 @@ -1,41 +1,65 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/iam_policy.proto package com.google.iam.v1; /** + * + * *
      * Request message for `TestIamPermissions` method.
      * 
    * * Protobuf type {@code google.iam.v1.TestIamPermissionsRequest} */ -public final class TestIamPermissionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TestIamPermissionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsRequest) TestIamPermissionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TestIamPermissionsRequest.newBuilder() to construct. private TestIamPermissionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TestIamPermissionsRequest() { resource_ = ""; permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } - @Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TestIamPermissionsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TestIamPermissionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new NullPointerException(); + throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -48,94 +72,106 @@ private TestIamPermissionsRequest( case 0: done = true; break; - case 10: { - String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - resource_ = s; - break; - } - case 18: { - String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + resource_ = s; + break; } - permissions_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + permissions_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - TestIamPermissionsRequest.class, Builder.class); + com.google.iam.v1.TestIamPermissionsRequest.class, + com.google.iam.v1.TestIamPermissionsRequest.Builder.class); } - private int bitField0_; public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile Object resource_; + private volatile java.lang.Object resource_; /** + * + * *
        * REQUIRED: The resource for which the policy detail is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - public String getResource() { - Object ref = resource_; - if (ref instanceof String) { - return (String) ref; + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
        * REQUIRED: The resource for which the policy detail is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { - Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -146,6 +182,8 @@ public String getResource() { public static final int PERMISSIONS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList permissions_; /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -153,13 +191,16 @@ public String getResource() {
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_; } /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -167,12 +208,16 @@ public String getResource() {
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -180,12 +225,17 @@ public int getPermissionsCount() {
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The permissions at the given index. */ - public String getPermissions(int index) { + public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -193,15 +243,18 @@ public String getPermissions(int index) {
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -211,9 +264,8 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getResourceBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } @@ -223,7 +275,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -245,25 +297,24 @@ public int getSerializedSize() { return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof TestIamPermissionsRequest)) { + if (!(obj instanceof com.google.iam.v1.TestIamPermissionsRequest)) { return super.equals(obj); } - TestIamPermissionsRequest other = (TestIamPermissionsRequest) obj; + com.google.iam.v1.TestIamPermissionsRequest other = + (com.google.iam.v1.TestIamPermissionsRequest) obj; - if (!getResource() - .equals(other.getResource())) return false; - if (!getPermissionsList() - .equals(other.getPermissionsList())) return false; + if (!getResource().equals(other.getResource())) return false; + if (!getPermissionsList().equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -281,118 +332,127 @@ public int hashCode() { return hash; } - public static TestIamPermissionsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static TestIamPermissionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static TestIamPermissionsRequest parseFrom( + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static TestIamPermissionsRequest parseFrom( + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static TestIamPermissionsRequest parseFrom(byte[] data) + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static TestIamPermissionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static TestIamPermissionsRequest parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static TestIamPermissionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static TestIamPermissionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static TestIamPermissionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static TestIamPermissionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static TestIamPermissionsRequest parseFrom( + + public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(TestIamPermissionsRequest prototype) { + + public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * Request message for `TestIamPermissions` method.
        * 
    * * Protobuf type {@code google.iam.v1.TestIamPermissionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.iam.v1.TestIamPermissionsRequest) com.google.iam.v1.TestIamPermissionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - TestIamPermissionsRequest.class, Builder.class); + com.google.iam.v1.TestIamPermissionsRequest.class, + com.google.iam.v1.TestIamPermissionsRequest.Builder.class); } // Construct using com.google.iam.v1.TestIamPermissionsRequest.newBuilder() @@ -400,106 +460,105 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @Override + + @java.lang.Override public Builder clear() { super.clear(); resource_ = ""; permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } - @Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; } - @Override - public TestIamPermissionsRequest getDefaultInstanceForType() { - return TestIamPermissionsRequest.getDefaultInstance(); + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { + return com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance(); } - @Override - public TestIamPermissionsRequest build() { - TestIamPermissionsRequest result = buildPartial(); + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsRequest build() { + com.google.iam.v1.TestIamPermissionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @Override - public TestIamPermissionsRequest buildPartial() { - TestIamPermissionsRequest result = new TestIamPermissionsRequest(this); + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsRequest buildPartial() { + com.google.iam.v1.TestIamPermissionsRequest result = + new com.google.iam.v1.TestIamPermissionsRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.resource_ = resource_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.permissions_ = permissions_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } - @Override + @java.lang.Override public Builder clone() { return super.clone(); } - @Override + + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } - @Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @Override + + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @Override + + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } - @Override + + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof TestIamPermissionsRequest) { - return mergeFrom((TestIamPermissionsRequest)other); + if (other instanceof com.google.iam.v1.TestIamPermissionsRequest) { + return mergeFrom((com.google.iam.v1.TestIamPermissionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(TestIamPermissionsRequest other) { - if (other == TestIamPermissionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { + if (other == com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()) return this; if (!other.getResource().isEmpty()) { resource_ = other.resource_; onChanged(); @@ -507,7 +566,7 @@ public Builder mergeFrom(TestIamPermissionsRequest other) { if (!other.permissions_.isEmpty()) { if (permissions_.isEmpty()) { permissions_ = other.permissions_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePermissionsIsMutable(); permissions_.addAll(other.permissions_); @@ -519,21 +578,21 @@ public Builder mergeFrom(TestIamPermissionsRequest other) { return this; } - @Override + @java.lang.Override public final boolean isInitialized() { return true; } - @Override + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - TestIamPermissionsRequest parsedMessage = null; + com.google.iam.v1.TestIamPermissionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (TestIamPermissionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.iam.v1.TestIamPermissionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,44 +601,54 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private Object resource_ = ""; + private java.lang.Object resource_ = ""; /** + * + * *
          * REQUIRED: The resource for which the policy detail is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - public String getResource() { - Object ref = resource_; - if (!(ref instanceof String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); + public java.lang.String getResource() { + java.lang.Object ref = resource_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } /** + * + * *
          * REQUIRED: The resource for which the policy detail is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { - Object ref = resource_; + public com.google.protobuf.ByteString getResourceBytes() { + java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -587,65 +656,87 @@ public String getResource() { } } /** + * + * *
          * REQUIRED: The resource for which the policy detail is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The resource to set. + * @return This builder for chaining. */ - public Builder setResource( - String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
          * REQUIRED: The resource for which the policy detail is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
          * REQUIRED: The resource for which the policy detail is being requested.
          * See the operation documentation for the appropriate value for this field.
          * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for resource to set. + * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList permissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); - bitField0_ |= 0x00000002; - } + bitField0_ |= 0x00000001; + } } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -653,13 +744,16 @@ private void ensurePermissionsIsMutable() {
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_.getUnmodifiableView(); } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -667,12 +761,16 @@ private void ensurePermissionsIsMutable() {
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -680,12 +778,17 @@ public int getPermissionsCount() {
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The permissions at the given index. */ - public String getPermissions(int index) { + public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -693,13 +796,17 @@ public String getPermissions(int index) {
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -707,19 +814,24 @@ public String getPermissions(int index) {
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The permissions to set. + * @return This builder for chaining. */ - public Builder setPermissions( - int index, String value) { + public Builder setPermissions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -727,19 +839,23 @@ public Builder setPermissions(
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The permissions to add. + * @return This builder for chaining. */ - public Builder addPermissions( - String value) { + public Builder addPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -747,17 +863,20 @@ public Builder addPermissions(
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The permissions to add. + * @return This builder for chaining. */ - public Builder addAllPermissions( - Iterable values) { + public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); onChanged(); return this; } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -765,15 +884,19 @@ public Builder addAllPermissions(
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearPermissions() { permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** + * + * *
          * The set of permissions to check for the `resource`. Permissions with
          * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -781,69 +904,69 @@ public Builder clearPermissions() {
          * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
          * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the permissions to add. + * @return This builder for chaining. */ - public Builder addPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsRequest) } // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest) - private static final TestIamPermissionsRequest DEFAULT_INSTANCE; + private static final com.google.iam.v1.TestIamPermissionsRequest DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new TestIamPermissionsRequest(); + DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsRequest(); } - public static TestIamPermissionsRequest getDefaultInstance() { + public static com.google.iam.v1.TestIamPermissionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public TestIamPermissionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TestIamPermissionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestIamPermissionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TestIamPermissionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public TestIamPermissionsRequest getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java index cdb463c506d8..53b56f2781b2 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java @@ -1,33 +1,62 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/iam_policy.proto package com.google.iam.v1; -public interface TestIamPermissionsRequestOrBuilder extends +public interface TestIamPermissionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.TestIamPermissionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * REQUIRED: The resource for which the policy detail is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The resource. */ - String getResource(); + java.lang.String getResource(); /** + * + * *
        * REQUIRED: The resource for which the policy detail is being requested.
        * See the operation documentation for the appropriate value for this field.
        * 
    * - * string resource = 1; + * + * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -35,11 +64,14 @@ public interface TestIamPermissionsRequestOrBuilder extends
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the permissions. */ - java.util.List - getPermissionsList(); + java.util.List getPermissionsList(); /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -47,10 +79,14 @@ public interface TestIamPermissionsRequestOrBuilder extends
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of permissions. */ int getPermissionsCount(); /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -58,10 +94,15 @@ public interface TestIamPermissionsRequestOrBuilder extends
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The permissions at the given index. */ - String getPermissions(int index); + java.lang.String getPermissions(int index); /** + * + * *
        * The set of permissions to check for the `resource`. Permissions with
        * wildcards (such as '*' or 'storage.*') are not allowed. For more
    @@ -69,8 +110,10 @@ public interface TestIamPermissionsRequestOrBuilder extends
        * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
        * 
    * - * repeated string permissions = 2; + * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString - getPermissionsBytes(int index); + com.google.protobuf.ByteString getPermissionsBytes(int index); } 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 cd6d25858790..50400d50286d 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 @@ -1,40 +1,64 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/iam_policy.proto package com.google.iam.v1; /** + * + * *
      * Response message for `TestIamPermissions` method.
      * 
    * * Protobuf type {@code google.iam.v1.TestIamPermissionsResponse} */ -public final class TestIamPermissionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TestIamPermissionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsResponse) TestIamPermissionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TestIamPermissionsResponse.newBuilder() to construct. private TestIamPermissionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TestIamPermissionsResponse() { permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; } - @Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TestIamPermissionsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TestIamPermissionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { - throw new NullPointerException(); + throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = @@ -47,29 +71,29 @@ private TestIamPermissionsResponse( case 0: done = true; break; - case 10: { - String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + permissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + permissions_.add(s); + break; } - permissions_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); @@ -78,70 +102,90 @@ private TestIamPermissionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - TestIamPermissionsResponse.class, Builder.class); + com.google.iam.v1.TestIamPermissionsResponse.class, + com.google.iam.v1.TestIamPermissionsResponse.Builder.class); } public static final int PERMISSIONS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList permissions_; /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_; } /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @param index The index of the element to return. + * @return The permissions at the given index. */ - public String getPermissions(int index) { + public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @param index The index of the value to return. + * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -151,16 +195,15 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; @@ -179,23 +222,23 @@ public int getSerializedSize() { return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof TestIamPermissionsResponse)) { + if (!(obj instanceof com.google.iam.v1.TestIamPermissionsResponse)) { return super.equals(obj); } - TestIamPermissionsResponse other = (TestIamPermissionsResponse) obj; + com.google.iam.v1.TestIamPermissionsResponse other = + (com.google.iam.v1.TestIamPermissionsResponse) obj; - if (!getPermissionsList() - .equals(other.getPermissionsList())) return false; + if (!getPermissionsList().equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -211,118 +254,127 @@ public int hashCode() { return hash; } - public static TestIamPermissionsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static TestIamPermissionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static TestIamPermissionsResponse parseFrom( + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static TestIamPermissionsResponse parseFrom( + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static TestIamPermissionsResponse parseFrom(byte[] data) + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static TestIamPermissionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static TestIamPermissionsResponse parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static TestIamPermissionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static TestIamPermissionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static TestIamPermissionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static TestIamPermissionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static TestIamPermissionsResponse parseFrom( + + public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(TestIamPermissionsResponse prototype) { + + public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * Response message for `TestIamPermissions` method.
        * 
    * * Protobuf type {@code google.iam.v1.TestIamPermissionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.iam.v1.TestIamPermissionsResponse) com.google.iam.v1.TestIamPermissionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; } - @Override - protected FieldAccessorTable + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - TestIamPermissionsResponse.class, Builder.class); + com.google.iam.v1.TestIamPermissionsResponse.class, + com.google.iam.v1.TestIamPermissionsResponse.Builder.class); } // Construct using com.google.iam.v1.TestIamPermissionsResponse.newBuilder() @@ -330,17 +382,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } - @Override + + @java.lang.Override public Builder clear() { super.clear(); permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -348,29 +399,30 @@ public Builder clear() { return this; } - @Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return IamPolicyProto.internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v1.IamPolicyProto + .internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; } - @Override - public TestIamPermissionsResponse getDefaultInstanceForType() { - return TestIamPermissionsResponse.getDefaultInstance(); + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() { + return com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance(); } - @Override - public TestIamPermissionsResponse build() { - TestIamPermissionsResponse result = buildPartial(); + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsResponse build() { + com.google.iam.v1.TestIamPermissionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - @Override - public TestIamPermissionsResponse buildPartial() { - TestIamPermissionsResponse result = new TestIamPermissionsResponse(this); + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsResponse buildPartial() { + com.google.iam.v1.TestIamPermissionsResponse result = + new com.google.iam.v1.TestIamPermissionsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { permissions_ = permissions_.getUnmodifiableView(); @@ -381,50 +433,51 @@ public TestIamPermissionsResponse buildPartial() { return result; } - @Override + @java.lang.Override public Builder clone() { return super.clone(); } - @Override + + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } - @Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @Override + + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @Override + + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } - @Override + + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof TestIamPermissionsResponse) { - return mergeFrom((TestIamPermissionsResponse)other); + if (other instanceof com.google.iam.v1.TestIamPermissionsResponse) { + return mergeFrom((com.google.iam.v1.TestIamPermissionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(TestIamPermissionsResponse other) { - if (other == TestIamPermissionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) { + if (other == com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()) return this; if (!other.permissions_.isEmpty()) { if (permissions_.isEmpty()) { permissions_ = other.permissions_; @@ -440,21 +493,21 @@ public Builder mergeFrom(TestIamPermissionsResponse other) { return this; } - @Override + @java.lang.Override public final boolean isInitialized() { return true; } - @Override + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - TestIamPermissionsResponse parsedMessage = null; + com.google.iam.v1.TestIamPermissionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (TestIamPermissionsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.iam.v1.TestIamPermissionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -463,120 +516,155 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList permissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @return A list containing the permissions. */ - public com.google.protobuf.ProtocolStringList - getPermissionsList() { + public com.google.protobuf.ProtocolStringList getPermissionsList() { return permissions_.getUnmodifiableView(); } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @return The count of permissions. */ public int getPermissionsCount() { return permissions_.size(); } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @param index The index of the element to return. + * @return The permissions at the given index. */ - public String getPermissions(int index) { + public java.lang.String getPermissions(int index) { return permissions_.get(index); } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @param index The index of the value to return. + * @return The bytes of the permissions at the given index. */ - public com.google.protobuf.ByteString - getPermissionsBytes(int index) { + public com.google.protobuf.ByteString getPermissionsBytes(int index) { return permissions_.getByteString(index); } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @param index The index to set the value at. + * @param value The permissions to set. + * @return This builder for chaining. */ - public Builder setPermissions( - int index, String value) { + public Builder setPermissions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); return this; } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @param value The permissions to add. + * @return This builder for chaining. */ - public Builder addPermissions( - String value) { + public Builder addPermissions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); + throw new NullPointerException(); + } + ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @param values The permissions to add. + * @return This builder for chaining. */ - public Builder addAllPermissions( - Iterable values) { + public Builder addAllPermissions(java.lang.Iterable values) { ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); onChanged(); return this; } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @return This builder for chaining. */ public Builder clearPermissions() { permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -585,74 +673,76 @@ public Builder clearPermissions() { return this; } /** + * + * *
          * A subset of `TestPermissionsRequest.permissions` that the caller is
          * allowed.
          * 
    * * repeated string permissions = 1; + * + * @param value The bytes of the permissions to add. + * @return This builder for chaining. */ - public Builder addPermissionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); return this; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsResponse) } // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsResponse) - private static final TestIamPermissionsResponse DEFAULT_INSTANCE; + private static final com.google.iam.v1.TestIamPermissionsResponse DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new TestIamPermissionsResponse(); + DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsResponse(); } - public static TestIamPermissionsResponse getDefaultInstance() { + public static com.google.iam.v1.TestIamPermissionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public TestIamPermissionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TestIamPermissionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestIamPermissionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TestIamPermissionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public TestIamPermissionsResponse getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java index bf0b513fb5b5..da677cbe54cd 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java @@ -1,48 +1,80 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/iam_policy.proto package com.google.iam.v1; -public interface TestIamPermissionsResponseOrBuilder extends +public interface TestIamPermissionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.TestIamPermissionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @return A list containing the permissions. */ - java.util.List - getPermissionsList(); + java.util.List getPermissionsList(); /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @return The count of permissions. */ int getPermissionsCount(); /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @param index The index of the element to return. + * @return The permissions at the given index. */ - String getPermissions(int index); + java.lang.String getPermissions(int index); /** + * + * *
        * A subset of `TestPermissionsRequest.permissions` that the caller is
        * allowed.
        * 
    * * repeated string permissions = 1; + * + * @param index The index of the value to return. + * @return The bytes of the permissions at the given index. */ - com.google.protobuf.ByteString - getPermissionsBytes(int index); + com.google.protobuf.ByteString getPermissionsBytes(int index); } diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java index e248fdf2a171..926b0838121a 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java @@ -1,9 +1,26 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/logging/audit_data.proto package com.google.iam.v1.logging; /** + * + * *
      * Audit log information specific to Cloud IAM. This message is serialized
      * as an `Any` type in the `ServiceData` message of an
    @@ -12,32 +29,37 @@
      *
      * Protobuf type {@code google.iam.v1.logging.AuditData}
      */
    -public  final class AuditData extends
    -    com.google.protobuf.GeneratedMessageV3 implements
    +public final class AuditData extends com.google.protobuf.GeneratedMessageV3
    +    implements
         // @@protoc_insertion_point(message_implements:google.iam.v1.logging.AuditData)
         AuditDataOrBuilder {
    -private static final long serialVersionUID = 0L;
    +  private static final long serialVersionUID = 0L;
       // Use AuditData.newBuilder() to construct.
       private AuditData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
    -  private AuditData() {
    +
    +  private AuditData() {}
    +
    +  @java.lang.Override
    +  @SuppressWarnings({"unused"})
    +  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    +    return new AuditData();
       }
     
    -  @Override
    -  public final com.google.protobuf.UnknownFieldSet
    -  getUnknownFields() {
    +  @java.lang.Override
    +  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
    +
       private AuditData(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws com.google.protobuf.InvalidProtocolBufferException {
         this();
         if (extensionRegistry == null) {
    -      throw new NullPointerException();
    +      throw new java.lang.NullPointerException();
         }
    -    int mutable_bitField0_ = 0;
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
             com.google.protobuf.UnknownFieldSet.newBuilder();
         try {
    @@ -48,74 +70,88 @@ private AuditData(
               case 0:
                 done = true;
                 break;
    -          case 18: {
    -            com.google.iam.v1.PolicyDelta.Builder subBuilder = null;
    -            if (policyDelta_ != null) {
    -              subBuilder = policyDelta_.toBuilder();
    +          case 18:
    +            {
    +              com.google.iam.v1.PolicyDelta.Builder subBuilder = null;
    +              if (policyDelta_ != null) {
    +                subBuilder = policyDelta_.toBuilder();
    +              }
    +              policyDelta_ =
    +                  input.readMessage(com.google.iam.v1.PolicyDelta.parser(), extensionRegistry);
    +              if (subBuilder != null) {
    +                subBuilder.mergeFrom(policyDelta_);
    +                policyDelta_ = subBuilder.buildPartial();
    +              }
    +
    +              break;
                 }
    -            policyDelta_ = input.readMessage(com.google.iam.v1.PolicyDelta.parser(), extensionRegistry);
    -            if (subBuilder != null) {
    -              subBuilder.mergeFrom(policyDelta_);
    -              policyDelta_ = subBuilder.buildPartial();
    -            }
    -
    -            break;
    -          }
    -          default: {
    -            if (!parseUnknownField(
    -                input, unknownFields, extensionRegistry, tag)) {
    -              done = true;
    +          default:
    +            {
    +              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    +                done = true;
    +              }
    +              break;
                 }
    -            break;
    -          }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
           throw e.setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(
    -          e).setUnfinishedMessage(this);
    +      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
         } finally {
           this.unknownFields = unknownFields.build();
           makeExtensionsImmutable();
         }
       }
    -  public static final com.google.protobuf.Descriptors.Descriptor
    -      getDescriptor() {
    -    return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor;
    +
    +  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    +    return com.google.iam.v1.logging.AuditDataProto
    +        .internal_static_google_iam_v1_logging_AuditData_descriptor;
       }
     
    -  @Override
    -  protected FieldAccessorTable
    +  @java.lang.Override
    +  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
    -    return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable
    +    return com.google.iam.v1.logging.AuditDataProto
    +        .internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
    -            AuditData.class, Builder.class);
    +            com.google.iam.v1.logging.AuditData.class,
    +            com.google.iam.v1.logging.AuditData.Builder.class);
       }
     
       public static final int POLICY_DELTA_FIELD_NUMBER = 2;
       private com.google.iam.v1.PolicyDelta policyDelta_;
       /**
    +   *
    +   *
        * 
        * Policy delta between the original policy and the newly set policy.
        * 
    * * .google.iam.v1.PolicyDelta policy_delta = 2; + * + * @return Whether the policyDelta field is set. */ public boolean hasPolicyDelta() { return policyDelta_ != null; } /** + * + * *
        * Policy delta between the original policy and the newly set policy.
        * 
    * * .google.iam.v1.PolicyDelta policy_delta = 2; + * + * @return The policyDelta. */ public com.google.iam.v1.PolicyDelta getPolicyDelta() { return policyDelta_ == null ? com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; } /** + * + * *
        * Policy delta between the original policy and the newly set policy.
        * 
    @@ -127,7 +163,8 @@ public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { } private byte memoizedIsInitialized = -1; - @Override + + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; @@ -137,50 +174,47 @@ public final boolean isInitialized() { return true; } - @Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (policyDelta_ != null) { output.writeMessage(2, getPolicyDelta()); } unknownFields.writeTo(output); } - @Override + @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (policyDelta_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPolicyDelta()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicyDelta()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } - @Override - public boolean equals(final Object obj) { + @java.lang.Override + public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof AuditData)) { + if (!(obj instanceof com.google.iam.v1.logging.AuditData)) { return super.equals(obj); } - AuditData other = (AuditData) obj; + com.google.iam.v1.logging.AuditData other = (com.google.iam.v1.logging.AuditData) obj; if (hasPolicyDelta() != other.hasPolicyDelta()) return false; if (hasPolicyDelta()) { - if (!getPolicyDelta() - .equals(other.getPolicyDelta())) return false; + if (!getPolicyDelta().equals(other.getPolicyDelta())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } - @Override + @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; @@ -196,97 +230,103 @@ public int hashCode() { return hash; } - public static AuditData parseFrom( - java.nio.ByteBuffer data) + public static com.google.iam.v1.logging.AuditData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AuditData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.logging.AuditData parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AuditData parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.iam.v1.logging.AuditData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AuditData parseFrom( + + public static com.google.iam.v1.logging.AuditData parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AuditData parseFrom(byte[] data) + + public static com.google.iam.v1.logging.AuditData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static AuditData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.logging.AuditData parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static AuditData parseFrom(java.io.InputStream input) + + public static com.google.iam.v1.logging.AuditData parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static AuditData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.logging.AuditData parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static AuditData parseDelimitedFrom(java.io.InputStream input) + + public static com.google.iam.v1.logging.AuditData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static AuditData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + + public static com.google.iam.v1.logging.AuditData parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static AuditData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.iam.v1.logging.AuditData parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static AuditData parseFrom( + + public static com.google.iam.v1.logging.AuditData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - @Override - public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(AuditData prototype) { + + public static Builder newBuilder(com.google.iam.v1.logging.AuditData prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @Override + + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } - @Override - protected Builder newBuilderForType( - BuilderParent parent) { + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
        * Audit log information specific to Cloud IAM. This message is serialized
        * as an `Any` type in the `ServiceData` message of an
    @@ -295,21 +335,23 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.iam.v1.logging.AuditData}
        */
    -  public static final class Builder extends
    -      com.google.protobuf.GeneratedMessageV3.Builder implements
    +  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
    +      implements
           // @@protoc_insertion_point(builder_implements:google.iam.v1.logging.AuditData)
           com.google.iam.v1.logging.AuditDataOrBuilder {
    -    public static final com.google.protobuf.Descriptors.Descriptor
    -        getDescriptor() {
    -      return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor;
    +    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    +      return com.google.iam.v1.logging.AuditDataProto
    +          .internal_static_google_iam_v1_logging_AuditData_descriptor;
         }
     
    -    @Override
    -    protected FieldAccessorTable
    +    @java.lang.Override
    +    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
    -      return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable
    +      return com.google.iam.v1.logging.AuditDataProto
    +          .internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
    -              AuditData.class, Builder.class);
    +              com.google.iam.v1.logging.AuditData.class,
    +              com.google.iam.v1.logging.AuditData.Builder.class);
         }
     
         // Construct using com.google.iam.v1.logging.AuditData.newBuilder()
    @@ -317,17 +359,16 @@ private Builder() {
           maybeForceBuilderInitialization();
         }
     
    -    private Builder(
    -        BuilderParent parent) {
    +    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
           maybeForceBuilderInitialization();
         }
    +
         private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3
    -              .alwaysUseFieldBuilders) {
    -      }
    +      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder clear() {
           super.clear();
           if (policyDeltaBuilder_ == null) {
    @@ -339,29 +380,29 @@ public Builder clear() {
           return this;
         }
     
    -    @Override
    -    public com.google.protobuf.Descriptors.Descriptor
    -        getDescriptorForType() {
    -      return com.google.iam.v1.logging.AuditDataProto.internal_static_google_iam_v1_logging_AuditData_descriptor;
    +    @java.lang.Override
    +    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
    +      return com.google.iam.v1.logging.AuditDataProto
    +          .internal_static_google_iam_v1_logging_AuditData_descriptor;
         }
     
    -    @Override
    -    public AuditData getDefaultInstanceForType() {
    -      return AuditData.getDefaultInstance();
    +    @java.lang.Override
    +    public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() {
    +      return com.google.iam.v1.logging.AuditData.getDefaultInstance();
         }
     
    -    @Override
    -    public AuditData build() {
    -      AuditData result = buildPartial();
    +    @java.lang.Override
    +    public com.google.iam.v1.logging.AuditData build() {
    +      com.google.iam.v1.logging.AuditData result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
           return result;
         }
     
    -    @Override
    -    public AuditData buildPartial() {
    -      AuditData result = new AuditData(this);
    +    @java.lang.Override
    +    public com.google.iam.v1.logging.AuditData buildPartial() {
    +      com.google.iam.v1.logging.AuditData result = new com.google.iam.v1.logging.AuditData(this);
           if (policyDeltaBuilder_ == null) {
             result.policyDelta_ = policyDelta_;
           } else {
    @@ -371,50 +412,51 @@ public AuditData buildPartial() {
           return result;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder clone() {
           return super.clone();
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
    -    @Override
    -    public Builder clearField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field) {
    +
    +    @java.lang.Override
    +    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
    -    @Override
    -    public Builder clearOneof(
    -        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
    +
    +    @java.lang.Override
    +    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder setRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        int index, Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder addRepeatedField(
    -        com.google.protobuf.Descriptors.FieldDescriptor field,
    -        Object value) {
    +        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
    -    @Override
    +
    +    @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
    -      if (other instanceof AuditData) {
    -        return mergeFrom((AuditData)other);
    +      if (other instanceof com.google.iam.v1.logging.AuditData) {
    +        return mergeFrom((com.google.iam.v1.logging.AuditData) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
     
    -    public Builder mergeFrom(AuditData other) {
    -      if (other == AuditData.getDefaultInstance()) return this;
    +    public Builder mergeFrom(com.google.iam.v1.logging.AuditData other) {
    +      if (other == com.google.iam.v1.logging.AuditData.getDefaultInstance()) return this;
           if (other.hasPolicyDelta()) {
             mergePolicyDelta(other.getPolicyDelta());
           }
    @@ -423,21 +465,21 @@ public Builder mergeFrom(AuditData other) {
           return this;
         }
     
    -    @Override
    +    @java.lang.Override
         public final boolean isInitialized() {
           return true;
         }
     
    -    @Override
    +    @java.lang.Override
         public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      AuditData parsedMessage = null;
    +      com.google.iam.v1.logging.AuditData parsedMessage = null;
           try {
             parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (AuditData) e.getUnfinishedMessage();
    +        parsedMessage = (com.google.iam.v1.logging.AuditData) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
             if (parsedMessage != null) {
    @@ -449,32 +491,47 @@ public Builder mergeFrom(
     
         private com.google.iam.v1.PolicyDelta policyDelta_;
         private com.google.protobuf.SingleFieldBuilderV3<
    -        com.google.iam.v1.PolicyDelta, com.google.iam.v1.PolicyDelta.Builder, com.google.iam.v1.PolicyDeltaOrBuilder> policyDeltaBuilder_;
    +            com.google.iam.v1.PolicyDelta,
    +            com.google.iam.v1.PolicyDelta.Builder,
    +            com.google.iam.v1.PolicyDeltaOrBuilder>
    +        policyDeltaBuilder_;
         /**
    +     *
    +     *
          * 
          * Policy delta between the original policy and the newly set policy.
          * 
    * * .google.iam.v1.PolicyDelta policy_delta = 2; + * + * @return Whether the policyDelta field is set. */ public boolean hasPolicyDelta() { return policyDeltaBuilder_ != null || policyDelta_ != null; } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    * * .google.iam.v1.PolicyDelta policy_delta = 2; + * + * @return The policyDelta. */ public com.google.iam.v1.PolicyDelta getPolicyDelta() { if (policyDeltaBuilder_ == null) { - return policyDelta_ == null ? com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; + return policyDelta_ == null + ? com.google.iam.v1.PolicyDelta.getDefaultInstance() + : policyDelta_; } else { return policyDeltaBuilder_.getMessage(); } } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    @@ -495,14 +552,15 @@ public Builder setPolicyDelta(com.google.iam.v1.PolicyDelta value) { return this; } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    * * .google.iam.v1.PolicyDelta policy_delta = 2; */ - public Builder setPolicyDelta( - com.google.iam.v1.PolicyDelta.Builder builderForValue) { + public Builder setPolicyDelta(com.google.iam.v1.PolicyDelta.Builder builderForValue) { if (policyDeltaBuilder_ == null) { policyDelta_ = builderForValue.build(); onChanged(); @@ -513,6 +571,8 @@ public Builder setPolicyDelta( return this; } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    @@ -523,7 +583,9 @@ public Builder mergePolicyDelta(com.google.iam.v1.PolicyDelta value) { if (policyDeltaBuilder_ == null) { if (policyDelta_ != null) { policyDelta_ = - com.google.iam.v1.PolicyDelta.newBuilder(policyDelta_).mergeFrom(value).buildPartial(); + com.google.iam.v1.PolicyDelta.newBuilder(policyDelta_) + .mergeFrom(value) + .buildPartial(); } else { policyDelta_ = value; } @@ -535,6 +597,8 @@ public Builder mergePolicyDelta(com.google.iam.v1.PolicyDelta value) { return this; } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    @@ -553,6 +617,8 @@ public Builder clearPolicyDelta() { return this; } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    @@ -560,11 +626,13 @@ public Builder clearPolicyDelta() { * .google.iam.v1.PolicyDelta policy_delta = 2; */ public com.google.iam.v1.PolicyDelta.Builder getPolicyDeltaBuilder() { - + onChanged(); return getPolicyDeltaFieldBuilder().getBuilder(); } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    @@ -575,11 +643,14 @@ public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { if (policyDeltaBuilder_ != null) { return policyDeltaBuilder_.getMessageOrBuilder(); } else { - return policyDelta_ == null ? - com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; + return policyDelta_ == null + ? com.google.iam.v1.PolicyDelta.getDefaultInstance() + : policyDelta_; } } /** + * + * *
          * Policy delta between the original policy and the newly set policy.
          * 
    @@ -587,68 +658,69 @@ public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { * .google.iam.v1.PolicyDelta policy_delta = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.PolicyDelta, com.google.iam.v1.PolicyDelta.Builder, com.google.iam.v1.PolicyDeltaOrBuilder> + com.google.iam.v1.PolicyDelta, + com.google.iam.v1.PolicyDelta.Builder, + com.google.iam.v1.PolicyDeltaOrBuilder> getPolicyDeltaFieldBuilder() { if (policyDeltaBuilder_ == null) { - policyDeltaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.PolicyDelta, com.google.iam.v1.PolicyDelta.Builder, com.google.iam.v1.PolicyDeltaOrBuilder>( - getPolicyDelta(), - getParentForChildren(), - isClean()); + policyDeltaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v1.PolicyDelta, + com.google.iam.v1.PolicyDelta.Builder, + com.google.iam.v1.PolicyDeltaOrBuilder>( + getPolicyDelta(), getParentForChildren(), isClean()); policyDelta_ = null; } return policyDeltaBuilder_; } - @Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } - @Override + @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.iam.v1.logging.AuditData) } // @@protoc_insertion_point(class_scope:google.iam.v1.logging.AuditData) - private static final AuditData DEFAULT_INSTANCE; + private static final com.google.iam.v1.logging.AuditData DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new AuditData(); + DEFAULT_INSTANCE = new com.google.iam.v1.logging.AuditData(); } - public static AuditData getDefaultInstance() { + public static com.google.iam.v1.logging.AuditData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @Override - public AuditData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditData(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } - @Override + @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } - @Override - public AuditData getDefaultInstanceForType() { + @java.lang.Override + public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java index e942cdbbd7f2..8076902f48f9 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java @@ -1,29 +1,55 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/logging/audit_data.proto package com.google.iam.v1.logging; -public interface AuditDataOrBuilder extends +public interface AuditDataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.iam.v1.logging.AuditData) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Policy delta between the original policy and the newly set policy.
        * 
    * * .google.iam.v1.PolicyDelta policy_delta = 2; + * + * @return Whether the policyDelta field is set. */ boolean hasPolicyDelta(); /** + * + * *
        * Policy delta between the original policy and the newly set policy.
        * 
    * * .google.iam.v1.PolicyDelta policy_delta = 2; + * + * @return The policyDelta. */ com.google.iam.v1.PolicyDelta getPolicyDelta(); /** + * + * *
        * Policy delta between the original policy and the newly set policy.
        * 
    diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java index f769613e4b6d..7a5309a6ca14 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java @@ -1,3 +1,18 @@ +/* + * 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. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/iam/v1/logging/audit_data.proto @@ -5,59 +20,51 @@ public final class AuditDataProto { private AuditDataProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } + static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_logging_AuditData_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_logging_AuditData_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { - String[] descriptorData = { - "\n&google/iam/v1/logging/audit_data.proto" + - "\022\025google.iam.v1.logging\032\034google/api/anno" + - "tations.proto\032\032google/iam/v1/policy.prot" + - "o\"=\n\tAuditData\0220\n\014policy_delta\030\002 \001(\0132\032.g" + - "oogle.iam.v1.PolicyDeltaB\211\001\n\031com.google." + - "iam.v1.loggingB\016AuditDataProtoP\001Z Date: Tue, 5 May 2020 19:44:24 +0200 Subject: [PATCH 0872/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#2) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bf23f4f1b6fe..cd114c60a798 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -63,7 +63,7 @@ UTF-8 github google-iam-parent - 1.17.0 + 1.18.0 3.11.4 4.13 1.29.0 From 3f789a1052bb0ad65da7adc795be68a93b57f72e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 May 2020 08:46:52 -0700 Subject: [PATCH 0873/3036] ci: enable GitHub actions (#32) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8807a95d-0d7c-4251-bd7e-a87799fc9f67/targets Source-Link: https://github.com/googleapis/synthtool/commit/98c50772ec23295c64cf0d2ddf199ea52961fd4c Source-Link: https://github.com/googleapis/synthtool/commit/55cdc844877d97139f25004229842624a6a86a02 --- .../.github/workflows/ci.yaml | 76 +++++++++++++++++++ java-shared-dependencies/.kokoro/build.bat | 2 +- java-shared-dependencies/synth.metadata | 4 +- 3 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 java-shared-dependencies/.github/workflows/ci.yaml diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml new file mode 100644 index 000000000000..445b4bf82ffd --- /dev/null +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -0,0 +1,76 @@ +on: + push: + branches: + - master + pull_request: +name: ci +jobs: + units: + runs-on: ubuntu-latest + strategy: + matrix: + java: [7, 8, 11] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: test + - name: coverage + uses: codecov/codecov-action@v1 + with: + name: actions ${{matrix.java}} + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.bat + env: + JOB_TYPE: test + dependencies: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/dependencies.sh + linkage-monitor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/linkage-monitor.sh + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: lint + clirr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: clirr \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/build.bat b/java-shared-dependencies/.kokoro/build.bat index 026581e2d298..05826ad93fe8 100644 --- a/java-shared-dependencies/.kokoro/build.bat +++ b/java-shared-dependencies/.kokoro/build.bat @@ -1,3 +1,3 @@ :: See documentation in type-shell-output.bat -"C:\Program Files\Git\bin\bash.exe" github/java-shared-dependencies/.kokoro/build.sh +"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index d71fe464464a..74731d176daf 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "d2ea22250b9062869c469fdb4616677396b20aee" + "sha": "71644eb2ef7bad219873946a0c869b2d10a7f4ae" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "52638600f387deb98efb5f9c85fec39e82aa9052" + "sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c" } } ] From 8a3a0684be1f29bc34140c69b16979193c0afc28 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 May 2020 08:46:55 -0700 Subject: [PATCH 0874/3036] ci: enable GitHub actions (#216) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8807a95d-0d7c-4251-bd7e-a87799fc9f67/targets Source-Link: https://github.com/googleapis/synthtool/commit/98c50772ec23295c64cf0d2ddf199ea52961fd4c Source-Link: https://github.com/googleapis/synthtool/commit/55cdc844877d97139f25004229842624a6a86a02 --- java-core/.github/workflows/ci.yaml | 76 +++++++++++++++++++++++++++++ java-core/.kokoro/build.bat | 2 +- java-core/synth.metadata | 4 +- 3 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 java-core/.github/workflows/ci.yaml diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml new file mode 100644 index 000000000000..445b4bf82ffd --- /dev/null +++ b/java-core/.github/workflows/ci.yaml @@ -0,0 +1,76 @@ +on: + push: + branches: + - master + pull_request: +name: ci +jobs: + units: + runs-on: ubuntu-latest + strategy: + matrix: + java: [7, 8, 11] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: test + - name: coverage + uses: codecov/codecov-action@v1 + with: + name: actions ${{matrix.java}} + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.bat + env: + JOB_TYPE: test + dependencies: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/dependencies.sh + linkage-monitor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/linkage-monitor.sh + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: lint + clirr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: clirr \ No newline at end of file diff --git a/java-core/.kokoro/build.bat b/java-core/.kokoro/build.bat index bcca1f45d078..05826ad93fe8 100644 --- a/java-core/.kokoro/build.bat +++ b/java-core/.kokoro/build.bat @@ -1,3 +1,3 @@ :: See documentation in type-shell-output.bat -"C:\Program Files\Git\bin\bash.exe" github/java-core/.kokoro/build.sh +"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 0834b0a7cd00..328ea402105f 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "e1618ba96ec1a4dcc9eeee309a130cd7fc0c3618" + "sha": "488a351ab41adafb1d969740bfbd3a6d2ddfd36d" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "52638600f387deb98efb5f9c85fec39e82aa9052" + "sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c" } } ] From 083079942afdd7bd03da5737b20a2f9ae641e1d5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 13 May 2020 01:12:04 +0000 Subject: [PATCH 0875/3036] chore: release 0.3.1-SNAPSHOT (#33) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d126ab6fd196..d05caabf4148 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 - 0.3.0 + 0.3.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 69094a041335..3c339463ab27 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.3.0:0.3.0 \ No newline at end of file +google-cloud-shared-dependencies:0.3.0:0.3.1-SNAPSHOT \ No newline at end of file From 4c23377a5675a094811a200c2910396b3b22312f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 13 May 2020 08:15:00 -0700 Subject: [PATCH 0876/3036] docs: update CONTRIBUTING.md to include code formatting (#534) (#34) Co-authored-by: Jeff Ching Co-authored-by: Jeffrey Rennie Source-Author: Brian Chen Source-Date: Tue May 12 10:24:59 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 5b48b0716a36ca069db3038da7e205c87a22ed19 Source-Link: https://github.com/googleapis/synthtool/commit/5b48b0716a36ca069db3038da7e205c87a22ed19 --- java-shared-dependencies/CONTRIBUTING.md | 11 ++++++++++- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CONTRIBUTING.md b/java-shared-dependencies/CONTRIBUTING.md index 085021ddec26..f2dbdee06bc3 100644 --- a/java-shared-dependencies/CONTRIBUTING.md +++ b/java-shared-dependencies/CONTRIBUTING.md @@ -99,7 +99,16 @@ mvn -Penable-samples clean verify ``` 2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory +3. Define your samples in a normal Maven project in the `samples/` directory. + +### Code Formatting + +Code in this repo is formatted with +[google-java-format](https://github.com/google/google-java-format). +To run formatting on your project, you can run: +``` +mvn com.coveo:fmt-maven-plugin:format +``` ### Profile Activation diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 74731d176daf..437283301f63 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "71644eb2ef7bad219873946a0c869b2d10a7f4ae" + "sha": "43ba982b3ef77ea840b1e9a7539f7fc6177a2a6b" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c" + "sha": "5b48b0716a36ca069db3038da7e205c87a22ed19" } } ] From e781d9f3e49afac4525e44c55713f4f6c3b9c4bb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 May 2020 17:22:05 +0200 Subject: [PATCH 0877/3036] deps: update autovalue.version to v1.7.2 (#35) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.auto.value:auto-value-annotations](https://togithub.com/google/auto) | patch | `1.7.1` -> `1.7.2` | | [com.google.auto.value:auto-value](https://togithub.com/google/auto) | patch | `1.7.1` -> `1.7.2` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d05caabf4148..5bbd112296d0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -71,7 +71,7 @@ 0.13.0 0.24.0 3.0.2 - 1.7.1 + 1.7.2 4.13 1.0.1 3.3.3 From 4027b0c30a9a75341a2113578065186535ae026a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 13 May 2020 11:59:33 -0400 Subject: [PATCH 0878/3036] chore: release 0.3.1 (#36) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated pom.xml [ci skip] Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 1ff99949d6ad..06e7d69314e2 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +### [0.3.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.3.0...v0.3.1) (2020-05-13) + + +### Dependencies + +* update autovalue.version to v1.7.2 ([#35](https://www.github.com/googleapis/java-shared-dependencies/issues/35)) ([50a1511](https://www.github.com/googleapis/java-shared-dependencies/commit/50a1511a47362a2de5cce26de0f0fbd6ea31c7cb)) + + +### Documentation + +* update CONTRIBUTING.md to include code formatting ([#534](https://www.github.com/googleapis/java-shared-dependencies/issues/534)) ([#34](https://www.github.com/googleapis/java-shared-dependencies/issues/34)) ([c916354](https://www.github.com/googleapis/java-shared-dependencies/commit/c91635446a457e01aa38e2cc384d3fd5d43c1b3b)) + ## [0.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.2.0...v0.3.0) (2020-05-05) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index ae1b966c92b0..d77c662ef728 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.3.0 + 0.3.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5bbd112296d0..1d1203365cad 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 - 0.3.1-SNAPSHOT + 0.3.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 3c339463ab27..bb4d09330f86 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.3.0:0.3.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.3.1:0.3.1 \ No newline at end of file From c6bf2fede5c418d4bd59acba2f84798759463714 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 13 May 2020 16:39:41 -0700 Subject: [PATCH 0879/3036] ci: enable GitHub actions (#5) * ci: enable GitHub actions * chore: fix build.bat --- java-iam/.github/workflows/ci.yaml | 76 ++++++++++++++++++++++++++++++ java-iam/.kokoro/build.bat | 2 +- 2 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 java-iam/.github/workflows/ci.yaml diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml new file mode 100644 index 000000000000..445b4bf82ffd --- /dev/null +++ b/java-iam/.github/workflows/ci.yaml @@ -0,0 +1,76 @@ +on: + push: + branches: + - master + pull_request: +name: ci +jobs: + units: + runs-on: ubuntu-latest + strategy: + matrix: + java: [7, 8, 11] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: test + - name: coverage + uses: codecov/codecov-action@v1 + with: + name: actions ${{matrix.java}} + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.bat + env: + JOB_TYPE: test + dependencies: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/dependencies.sh + linkage-monitor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/linkage-monitor.sh + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: lint + clirr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: clirr \ No newline at end of file diff --git a/java-iam/.kokoro/build.bat b/java-iam/.kokoro/build.bat index 5af7c27ed167..05826ad93fe8 100644 --- a/java-iam/.kokoro/build.bat +++ b/java-iam/.kokoro/build.bat @@ -1,3 +1,3 @@ :: See documentation in type-shell-output.bat -"C:\Program Files\Git\bin\bash.exe" github/java-iam/.kokoro/build.sh +"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh From 913551b320026351dc642e72c03a322a4cd16bd6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 May 2020 20:48:06 +0200 Subject: [PATCH 0880/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.0 (#38) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | minor | `3.11.4` -> `3.12.0` | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.12.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.12.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.11.4...v3.12.0) ### Protocol Compiler - [experimental] Singular, non-message typed fields in proto3 now support presence tracking. This is enabled by adding the "optional" field label and passing the `--experimental_allow_proto3_optional` flag to protoc. - For usage info, see [docs/field_presence.md](docs/field_presence.md). - During this experimental phase, code generators should update to support proto3 presence, see [docs/implementing_proto3_presence.md](docs/implementing_proto3_presence.md) for instructions. - Allow duplicate symbol names when multiple descriptor sets are passed on the command-line, to match the behavior when multiple .proto files are passed. - Deterministic `protoc --descriptor_set_out` ([#​7175](https://togithub.com/protocolbuffers/protobuf/issues/7175)) ### C++ - [experimental] Added proto3 presence support. - New descriptor APIs to support proto3 presence. - Fix for [#​7463](https://togithub.com/protocolbuffers/protobuf/issues/7463) in -rc1 (core dump mixing optional and singular fields in proto3) - Enable Arenas by default on all .proto files. - Documented that users are not allowed to subclass Message or MessageLite. - Mark generated classes as final; inheriting from protos is strongly discouraged. - Add stack overflow protection for text format with unknown fields. - Add accessors for map key and value FieldDescriptors. - Add FieldMaskUtil::FromFieldNumbers(). - MessageDifferencer: use ParsePartial() on Any fields so the diff does not fail when there are missing required fields. - ReflectionOps::Merge(): lookup messages in the right factory, if it can. - Added Descriptor::WellKnownTypes enum and Descriptor::well_known_type() accessor as an easier way of determining if a message is a Well-Known Type. - Optimized RepeatedField::Add() when it is used in a loop. - Made proto move/swap more efficient. - De-virtualize the GetArena() method in MessageLite. - Improves performance of json_stream_parser.cc by factor 1000 ([#​7230](https://togithub.com/protocolbuffers/protobuf/issues/7230)) - bug: [#​7076](https://togithub.com/protocolbuffers/protobuf/issues/7076) undefine Windows OUT and OPTIONAL macros ([#​7087](https://togithub.com/protocolbuffers/protobuf/issues/7087)) - Fixed a bug in FieldDescriptor::DebugString() that would erroneously print an "optional" label for a field in a oneof. - Fix bug in parsing bool extensions that assumed they are always 1 byte. - Fix off-by-one error in FieldOptions::ByteSize() when extensions are present. - Clarified the comments to show an example of the difference between Descriptor::extension and DescriptorPool::FindAllExtensions. - Add a compiler option 'code_size' to force optimize_for=code_size on all protos where this is possible. ### Java - [experimental] Added proto3 presence support. - Fix for [#​7480](https://togithub.com/protocolbuffers/protobuf/issues/7480) in -rc1 ("TextFormat and JsonFormat ignore experimental proto3 optional enums") - Fix for [#​7505](https://togithub.com/protocolbuffers/protobuf/issues/7505) in -rc1 (" toString() returns incorrect ascii when there are duplicate keys in a map") - Mark java enum \_VALUE constants as [@​Deprecated](https://togithub.com/Deprecated) if the enum field is deprecated - reduce size for enums with allow_alias set to true. - Sort map fields alphabetically by the field's key when printing textproto. - TextFormat.merge() handles Any as top level type. - Throw a descriptive IllegalArgumentException when calling getValueDescriptor() on enum special value UNRECOGNIZED instead of ArrayIndexOutOfBoundsException. - Fixed an issue with JsonFormat.printer() where setting printingEnumsAsInts() would override the configuration passed into includingDefaultValueFields(). - Implement overrides of indexOf() and contains() on primitive lists returned for repeated fields to avoid autoboxing the list contents. - Add overload to FieldMaskUtil.fromStringList that accepts a descriptor. - [bazel] Move Java runtime/toolchains into //java ([#​7190](https://togithub.com/protocolbuffers/protobuf/issues/7190)) ### Python - [experimental] Added proto3 presence support. - [experimental] fast import protobuf module, only works with cpp generated code linked in. - Truncate 'float' fields to 4 bytes of precision in setters for pure-Python implementation (C++ extension was already doing this). - Fixed a memory leak in C++ bindings. - Added a deprecation warning when code tries to create Descriptor objects directly. - Fix unintended comparison between bytes and string in descriptor.py. - Avoid printing excess digits for float fields in TextFormat. - Remove Python 2.5 syntax compatibility from the proto compiler generated \_pb2.py module code. - Drop 3.3, 3.4 and use single version docker images for all python tests ([#​7396](https://togithub.com/protocolbuffers/protobuf/issues/7396)) ### JavaScript - Fix js message pivot selection ([#​6813](https://togithub.com/protocolbuffers/protobuf/issues/6813)) ### PHP - Persistent Descriptor Pool ([#​6899](https://togithub.com/protocolbuffers/protobuf/issues/6899)) - Implement lazy loading of php class for proto messages ([#​6911](https://togithub.com/protocolbuffers/protobuf/issues/6911)) - Correct [@​return](https://togithub.com/return) in Any.unpack docblock ([#​7089](https://togithub.com/protocolbuffers/protobuf/issues/7089)) - Ignore unknown enum value when ignore_unknown specified ([#​7455](https://togithub.com/protocolbuffers/protobuf/issues/7455)) ### Ruby - [experimental] Implemented proto3 presence for Ruby. ([#​7406](https://togithub.com/protocolbuffers/protobuf/issues/7406)) - Stop building binary gems for ruby <2.5 ([#​7453](https://togithub.com/protocolbuffers/protobuf/issues/7453)) - Fix for wrappers with a zero value ([#​7195](https://togithub.com/protocolbuffers/protobuf/issues/7195)) - Fix for JSON serialization of 0/empty-valued wrapper types ([#​7198](https://togithub.com/protocolbuffers/protobuf/issues/7198)) - Call "Class#new" over rb_class_new_instance in decoding ([#​7352](https://togithub.com/protocolbuffers/protobuf/issues/7352)) - Build extensions for Ruby 2.7 ([#​7027](https://togithub.com/protocolbuffers/protobuf/issues/7027)) - assigning 'nil' to submessage should clear the field. ([#​7397](https://togithub.com/protocolbuffers/protobuf/issues/7397)) ### C - [experimental] Add support for proto3 presence fields in C# ([#​7382](https://togithub.com/protocolbuffers/protobuf/issues/7382)) - Cleanup various bits of Google.Protobuf ([#​6674](https://togithub.com/protocolbuffers/protobuf/issues/6674)) - Fix conformance test failures for Google.Protobuf ([#​6910](https://togithub.com/protocolbuffers/protobuf/issues/6910)) - Fix latest ArgumentException for C# extensions ([#​6938](https://togithub.com/protocolbuffers/protobuf/issues/6938)) - Remove unnecessary branch from ReadTag ([#​7289](https://togithub.com/protocolbuffers/protobuf/issues/7289)) - Enforce recursion depth checking for unknown fields ([#​7132](https://togithub.com/protocolbuffers/protobuf/issues/7132)) - Mark GetOption API as obsolete and expose the "GetOptions()" method on descriptors instead ([#​7491](https://togithub.com/protocolbuffers/protobuf/issues/7491)) - Remove Has/Clear members for C# message fields in proto2 ([#​7429](https://togithub.com/protocolbuffers/protobuf/issues/7429)) ### Objective-C - [experimental] ObjC Proto3 optional support ([#​7421](https://togithub.com/protocolbuffers/protobuf/issues/7421)) - Block subclassing of generated classes ([#​7124](https://togithub.com/protocolbuffers/protobuf/issues/7124)) - Use references to Obj C classes instead of names in descriptors. ([#​7026](https://togithub.com/protocolbuffers/protobuf/issues/7026)) - Revisit how the WKTs are bundled with ObjC. ([#​7173](https://togithub.com/protocolbuffers/protobuf/issues/7173)) ### Other - Add a proto_lang_toolchain for javalite ([#​6882](https://togithub.com/protocolbuffers/protobuf/issues/6882)) - [bazel] Update gtest and deprecate //external:{gtest,gtest_main} ([#​7237](https://togithub.com/protocolbuffers/protobuf/issues/7237)) - Add application note for explicit presence tracking. ([#​7390](https://togithub.com/protocolbuffers/protobuf/issues/7390)) - Howto doc for implementing proto3 presence in a code generator. ([#​7407](https://togithub.com/protocolbuffers/protobuf/issues/7407))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1d1203365cad..c4e8e3b4162e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.29.0 1.56.0 29.0-android - 3.11.4 + 3.12.0 1.9.0 1.18.0 1.93.4 From d98e5241f29adbf9c28a3ce8d346cd4306ac462b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 18 May 2020 15:20:23 -0400 Subject: [PATCH 0881/3036] chore: release 0.3.2-SNAPSHOT (#39) * updated versions.txt [ci skip] * updated pom.xml [ci skip] Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c4e8e3b4162e..4045309b9162 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 - 0.3.1 + 0.3.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index bb4d09330f86..23c5f92bd62f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.3.1:0.3.1 \ No newline at end of file +google-cloud-shared-dependencies:0.3.1:0.3.2-SNAPSHOT \ No newline at end of file From a4d5fae47c632699e887a120e3370468d549d078 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 18 May 2020 12:50:51 -0700 Subject: [PATCH 0882/3036] chore: update CONTRIBUTING.md to include code formatting (#217) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/0ba8d2f8-7f35-417b-8c9a-d829ca01eac0/targets Source-Link: https://github.com/googleapis/synthtool/commit/5b48b0716a36ca069db3038da7e205c87a22ed19 --- java-core/CONTRIBUTING.md | 11 ++++++++++- java-core/synth.metadata | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-core/CONTRIBUTING.md b/java-core/CONTRIBUTING.md index 085021ddec26..f2dbdee06bc3 100644 --- a/java-core/CONTRIBUTING.md +++ b/java-core/CONTRIBUTING.md @@ -99,7 +99,16 @@ mvn -Penable-samples clean verify ``` 2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory +3. Define your samples in a normal Maven project in the `samples/` directory. + +### Code Formatting + +Code in this repo is formatted with +[google-java-format](https://github.com/google/google-java-format). +To run formatting on your project, you can run: +``` +mvn com.coveo:fmt-maven-plugin:format +``` ### Profile Activation diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 328ea402105f..522d58009161 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "488a351ab41adafb1d969740bfbd3a6d2ddfd36d" + "sha": "e4a04a2486474fef30584c2067e0afd7f8dbb613" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c" + "sha": "5b48b0716a36ca069db3038da7e205c87a22ed19" } } ] From 94e9bc764fd8cc01e4726731118958b6320dfbb1 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Mon, 18 May 2020 16:08:34 -0400 Subject: [PATCH 0883/3036] feat: add more shared dependencies (#40) * feat: add more shared dependencies * resolve conflict --- java-shared-dependencies/pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4045309b9162..cd72a3e674c7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,10 +65,12 @@ 0.20.0 1.35.0 1.30.9 + 2.8.6 1.4.4 1.3.2 1.18 0.13.0 + 0.13.0 0.24.0 3.0.2 1.7.2 @@ -123,6 +125,11 @@ grpc-google-common-protos ${google.common-protos.version} + + com.google.code.gson + gson + ${gson.version} + com.google.cloud google-cloud-core-bom @@ -266,6 +273,19 @@ ${truth.version} test + + com.google.api.grpc + grpc-google-iam-v1 + ${grpc.iam.version} + test + + + com.google.cloud + google-cloud-core + ${google.core.version} + test-jar + test + From 3c6e5f94dd40aba3ed8ce27e903e37fedee0cdf5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 18 May 2020 16:18:58 -0400 Subject: [PATCH 0884/3036] chore: release 0.4.0 (#43) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated pom.xml [ci skip] Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 06e7d69314e2..a12337e5c415 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.3.1...v0.4.0) (2020-05-18) + + +### Features + +* add more shared dependencies ([#40](https://www.github.com/googleapis/java-shared-dependencies/issues/40)) ([34d7e2a](https://www.github.com/googleapis/java-shared-dependencies/commit/34d7e2a4bba3cc03d256de78cb2bf8543811742d)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#38](https://www.github.com/googleapis/java-shared-dependencies/issues/38)) ([155653b](https://www.github.com/googleapis/java-shared-dependencies/commit/155653b52f32e917a1aa970a8c5a716f57c7e190)) + ### [0.3.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.3.0...v0.3.1) (2020-05-13) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index d77c662ef728..0fde2fc8f3da 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.3.1 + 0.4.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cd72a3e674c7..dd29b1c82eac 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 - 0.3.2-SNAPSHOT + 0.4.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 23c5f92bd62f..17d2fdaf5c0d 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.3.1:0.3.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.4.0:0.4.0 \ No newline at end of file From c520d9957c3349aa3b12eab9a383ed0e51ece7ab Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Tue, 19 May 2020 12:25:17 -0400 Subject: [PATCH 0885/3036] feat!: remove mockito-core (#44) --- java-shared-dependencies/pom.xml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index dd29b1c82eac..6df004e823d8 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -76,7 +76,6 @@ 1.7.2 4.13 1.0.1 - 3.3.3 @@ -242,12 +241,6 @@ ${junit.version} test - - org.mockito - mockito-core - ${mockito.version} - test - com.google.api gax-grpc From a81fb31ee9af86e49944ee28ccb1b669537a1ac0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 19 May 2020 12:37:58 -0400 Subject: [PATCH 0886/3036] chore: release 0.4.1-SNAPSHOT (#45) * updated versions.txt [ci skip] * updated pom.xml [ci skip] Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6df004e823d8..2210a8a53020 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 - 0.4.0 + 0.4.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 17d2fdaf5c0d..eba9691009c8 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.4.0:0.4.0 \ No newline at end of file +google-cloud-shared-dependencies:0.4.0:0.4.1-SNAPSHOT \ No newline at end of file From 87a03f8de6bc3916af59c4154b80b7e4102833f5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 May 2020 23:52:18 +0200 Subject: [PATCH 0887/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.0 (#218) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | minor | `3.11.4` -> `3.12.0` | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.12.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.12.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.11.4...v3.12.0) ### Protocol Compiler - [experimental] Singular, non-message typed fields in proto3 now support presence tracking. This is enabled by adding the "optional" field label and passing the `--experimental_allow_proto3_optional` flag to protoc. - For usage info, see [docs/field_presence.md](docs/field_presence.md). - During this experimental phase, code generators should update to support proto3 presence, see [docs/implementing_proto3_presence.md](docs/implementing_proto3_presence.md) for instructions. - Allow duplicate symbol names when multiple descriptor sets are passed on the command-line, to match the behavior when multiple .proto files are passed. - Deterministic `protoc --descriptor_set_out` ([#​7175](https://togithub.com/protocolbuffers/protobuf/issues/7175)) ### C++ - [experimental] Added proto3 presence support. - New descriptor APIs to support proto3 presence. - Fix for [#​7463](https://togithub.com/protocolbuffers/protobuf/issues/7463) in -rc1 (core dump mixing optional and singular fields in proto3) - Enable Arenas by default on all .proto files. - Documented that users are not allowed to subclass Message or MessageLite. - Mark generated classes as final; inheriting from protos is strongly discouraged. - Add stack overflow protection for text format with unknown fields. - Add accessors for map key and value FieldDescriptors. - Add FieldMaskUtil::FromFieldNumbers(). - MessageDifferencer: use ParsePartial() on Any fields so the diff does not fail when there are missing required fields. - ReflectionOps::Merge(): lookup messages in the right factory, if it can. - Added Descriptor::WellKnownTypes enum and Descriptor::well_known_type() accessor as an easier way of determining if a message is a Well-Known Type. - Optimized RepeatedField::Add() when it is used in a loop. - Made proto move/swap more efficient. - De-virtualize the GetArena() method in MessageLite. - Improves performance of json_stream_parser.cc by factor 1000 ([#​7230](https://togithub.com/protocolbuffers/protobuf/issues/7230)) - bug: [#​7076](https://togithub.com/protocolbuffers/protobuf/issues/7076) undefine Windows OUT and OPTIONAL macros ([#​7087](https://togithub.com/protocolbuffers/protobuf/issues/7087)) - Fixed a bug in FieldDescriptor::DebugString() that would erroneously print an "optional" label for a field in a oneof. - Fix bug in parsing bool extensions that assumed they are always 1 byte. - Fix off-by-one error in FieldOptions::ByteSize() when extensions are present. - Clarified the comments to show an example of the difference between Descriptor::extension and DescriptorPool::FindAllExtensions. - Add a compiler option 'code_size' to force optimize_for=code_size on all protos where this is possible. ### Java - [experimental] Added proto3 presence support. - Fix for [#​7480](https://togithub.com/protocolbuffers/protobuf/issues/7480) in -rc1 ("TextFormat and JsonFormat ignore experimental proto3 optional enums") - Fix for [#​7505](https://togithub.com/protocolbuffers/protobuf/issues/7505) in -rc1 (" toString() returns incorrect ascii when there are duplicate keys in a map") - Mark java enum \_VALUE constants as [@​Deprecated](https://togithub.com/Deprecated) if the enum field is deprecated - reduce size for enums with allow_alias set to true. - Sort map fields alphabetically by the field's key when printing textproto. - TextFormat.merge() handles Any as top level type. - Throw a descriptive IllegalArgumentException when calling getValueDescriptor() on enum special value UNRECOGNIZED instead of ArrayIndexOutOfBoundsException. - Fixed an issue with JsonFormat.printer() where setting printingEnumsAsInts() would override the configuration passed into includingDefaultValueFields(). - Implement overrides of indexOf() and contains() on primitive lists returned for repeated fields to avoid autoboxing the list contents. - Add overload to FieldMaskUtil.fromStringList that accepts a descriptor. - [bazel] Move Java runtime/toolchains into //java ([#​7190](https://togithub.com/protocolbuffers/protobuf/issues/7190)) ### Python - [experimental] Added proto3 presence support. - [experimental] fast import protobuf module, only works with cpp generated code linked in. - Truncate 'float' fields to 4 bytes of precision in setters for pure-Python implementation (C++ extension was already doing this). - Fixed a memory leak in C++ bindings. - Added a deprecation warning when code tries to create Descriptor objects directly. - Fix unintended comparison between bytes and string in descriptor.py. - Avoid printing excess digits for float fields in TextFormat. - Remove Python 2.5 syntax compatibility from the proto compiler generated \_pb2.py module code. - Drop 3.3, 3.4 and use single version docker images for all python tests ([#​7396](https://togithub.com/protocolbuffers/protobuf/issues/7396)) ### JavaScript - Fix js message pivot selection ([#​6813](https://togithub.com/protocolbuffers/protobuf/issues/6813)) ### PHP - Persistent Descriptor Pool ([#​6899](https://togithub.com/protocolbuffers/protobuf/issues/6899)) - Implement lazy loading of php class for proto messages ([#​6911](https://togithub.com/protocolbuffers/protobuf/issues/6911)) - Correct [@​return](https://togithub.com/return) in Any.unpack docblock ([#​7089](https://togithub.com/protocolbuffers/protobuf/issues/7089)) - Ignore unknown enum value when ignore_unknown specified ([#​7455](https://togithub.com/protocolbuffers/protobuf/issues/7455)) ### Ruby - [experimental] Implemented proto3 presence for Ruby. ([#​7406](https://togithub.com/protocolbuffers/protobuf/issues/7406)) - Stop building binary gems for ruby <2.5 ([#​7453](https://togithub.com/protocolbuffers/protobuf/issues/7453)) - Fix for wrappers with a zero value ([#​7195](https://togithub.com/protocolbuffers/protobuf/issues/7195)) - Fix for JSON serialization of 0/empty-valued wrapper types ([#​7198](https://togithub.com/protocolbuffers/protobuf/issues/7198)) - Call "Class#new" over rb_class_new_instance in decoding ([#​7352](https://togithub.com/protocolbuffers/protobuf/issues/7352)) - Build extensions for Ruby 2.7 ([#​7027](https://togithub.com/protocolbuffers/protobuf/issues/7027)) - assigning 'nil' to submessage should clear the field. ([#​7397](https://togithub.com/protocolbuffers/protobuf/issues/7397)) ### C - [experimental] Add support for proto3 presence fields in C# ([#​7382](https://togithub.com/protocolbuffers/protobuf/issues/7382)) - Cleanup various bits of Google.Protobuf ([#​6674](https://togithub.com/protocolbuffers/protobuf/issues/6674)) - Fix conformance test failures for Google.Protobuf ([#​6910](https://togithub.com/protocolbuffers/protobuf/issues/6910)) - Fix latest ArgumentException for C# extensions ([#​6938](https://togithub.com/protocolbuffers/protobuf/issues/6938)) - Remove unnecessary branch from ReadTag ([#​7289](https://togithub.com/protocolbuffers/protobuf/issues/7289)) - Enforce recursion depth checking for unknown fields ([#​7132](https://togithub.com/protocolbuffers/protobuf/issues/7132)) - Mark GetOption API as obsolete and expose the "GetOptions()" method on descriptors instead ([#​7491](https://togithub.com/protocolbuffers/protobuf/issues/7491)) - Remove Has/Clear members for C# message fields in proto2 ([#​7429](https://togithub.com/protocolbuffers/protobuf/issues/7429)) ### Objective-C - [experimental] ObjC Proto3 optional support ([#​7421](https://togithub.com/protocolbuffers/protobuf/issues/7421)) - Block subclassing of generated classes ([#​7124](https://togithub.com/protocolbuffers/protobuf/issues/7124)) - Use references to Obj C classes instead of names in descriptors. ([#​7026](https://togithub.com/protocolbuffers/protobuf/issues/7026)) - Revisit how the WKTs are bundled with ObjC. ([#​7173](https://togithub.com/protocolbuffers/protobuf/issues/7173)) ### Other - Add a proto_lang_toolchain for javalite ([#​6882](https://togithub.com/protocolbuffers/protobuf/issues/6882)) - [bazel] Update gtest and deprecate //external:{gtest,gtest_main} ([#​7237](https://togithub.com/protocolbuffers/protobuf/issues/7237)) - Add application note for explicit presence tracking. ([#​7390](https://togithub.com/protocolbuffers/protobuf/issues/7390)) - Howto doc for implementing proto3 presence in a code generator. ([#​7407](https://togithub.com/protocolbuffers/protobuf/issues/7407))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 41dda8f018f5..7290a4d0587b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -161,7 +161,7 @@ 1.30.9 1.35.0 1.29.0 - 3.11.4 + 3.12.0 0.24.0 1.3.2 29.0-android From d876ec1323492473813ae8ebfd619ea4796fb28c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 May 2020 23:53:18 +0200 Subject: [PATCH 0888/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.0 (#6) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | minor | `3.11.4` -> `3.12.0` | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.12.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.12.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.11.4...v3.12.0) ### Protocol Compiler - [experimental] Singular, non-message typed fields in proto3 now support presence tracking. This is enabled by adding the "optional" field label and passing the `--experimental_allow_proto3_optional` flag to protoc. - For usage info, see [docs/field_presence.md](docs/field_presence.md). - During this experimental phase, code generators should update to support proto3 presence, see [docs/implementing_proto3_presence.md](docs/implementing_proto3_presence.md) for instructions. - Allow duplicate symbol names when multiple descriptor sets are passed on the command-line, to match the behavior when multiple .proto files are passed. - Deterministic `protoc --descriptor_set_out` ([#​7175](https://togithub.com/protocolbuffers/protobuf/issues/7175)) ### C++ - [experimental] Added proto3 presence support. - New descriptor APIs to support proto3 presence. - Fix for [#​7463](https://togithub.com/protocolbuffers/protobuf/issues/7463) in -rc1 (core dump mixing optional and singular fields in proto3) - Enable Arenas by default on all .proto files. - Documented that users are not allowed to subclass Message or MessageLite. - Mark generated classes as final; inheriting from protos is strongly discouraged. - Add stack overflow protection for text format with unknown fields. - Add accessors for map key and value FieldDescriptors. - Add FieldMaskUtil::FromFieldNumbers(). - MessageDifferencer: use ParsePartial() on Any fields so the diff does not fail when there are missing required fields. - ReflectionOps::Merge(): lookup messages in the right factory, if it can. - Added Descriptor::WellKnownTypes enum and Descriptor::well_known_type() accessor as an easier way of determining if a message is a Well-Known Type. - Optimized RepeatedField::Add() when it is used in a loop. - Made proto move/swap more efficient. - De-virtualize the GetArena() method in MessageLite. - Improves performance of json_stream_parser.cc by factor 1000 ([#​7230](https://togithub.com/protocolbuffers/protobuf/issues/7230)) - bug: [#​7076](https://togithub.com/protocolbuffers/protobuf/issues/7076) undefine Windows OUT and OPTIONAL macros ([#​7087](https://togithub.com/protocolbuffers/protobuf/issues/7087)) - Fixed a bug in FieldDescriptor::DebugString() that would erroneously print an "optional" label for a field in a oneof. - Fix bug in parsing bool extensions that assumed they are always 1 byte. - Fix off-by-one error in FieldOptions::ByteSize() when extensions are present. - Clarified the comments to show an example of the difference between Descriptor::extension and DescriptorPool::FindAllExtensions. - Add a compiler option 'code_size' to force optimize_for=code_size on all protos where this is possible. ### Java - [experimental] Added proto3 presence support. - Fix for [#​7480](https://togithub.com/protocolbuffers/protobuf/issues/7480) in -rc1 ("TextFormat and JsonFormat ignore experimental proto3 optional enums") - Fix for [#​7505](https://togithub.com/protocolbuffers/protobuf/issues/7505) in -rc1 (" toString() returns incorrect ascii when there are duplicate keys in a map") - Mark java enum \_VALUE constants as [@​Deprecated](https://togithub.com/Deprecated) if the enum field is deprecated - reduce size for enums with allow_alias set to true. - Sort map fields alphabetically by the field's key when printing textproto. - TextFormat.merge() handles Any as top level type. - Throw a descriptive IllegalArgumentException when calling getValueDescriptor() on enum special value UNRECOGNIZED instead of ArrayIndexOutOfBoundsException. - Fixed an issue with JsonFormat.printer() where setting printingEnumsAsInts() would override the configuration passed into includingDefaultValueFields(). - Implement overrides of indexOf() and contains() on primitive lists returned for repeated fields to avoid autoboxing the list contents. - Add overload to FieldMaskUtil.fromStringList that accepts a descriptor. - [bazel] Move Java runtime/toolchains into //java ([#​7190](https://togithub.com/protocolbuffers/protobuf/issues/7190)) ### Python - [experimental] Added proto3 presence support. - [experimental] fast import protobuf module, only works with cpp generated code linked in. - Truncate 'float' fields to 4 bytes of precision in setters for pure-Python implementation (C++ extension was already doing this). - Fixed a memory leak in C++ bindings. - Added a deprecation warning when code tries to create Descriptor objects directly. - Fix unintended comparison between bytes and string in descriptor.py. - Avoid printing excess digits for float fields in TextFormat. - Remove Python 2.5 syntax compatibility from the proto compiler generated \_pb2.py module code. - Drop 3.3, 3.4 and use single version docker images for all python tests ([#​7396](https://togithub.com/protocolbuffers/protobuf/issues/7396)) ### JavaScript - Fix js message pivot selection ([#​6813](https://togithub.com/protocolbuffers/protobuf/issues/6813)) ### PHP - Persistent Descriptor Pool ([#​6899](https://togithub.com/protocolbuffers/protobuf/issues/6899)) - Implement lazy loading of php class for proto messages ([#​6911](https://togithub.com/protocolbuffers/protobuf/issues/6911)) - Correct [@​return](https://togithub.com/return) in Any.unpack docblock ([#​7089](https://togithub.com/protocolbuffers/protobuf/issues/7089)) - Ignore unknown enum value when ignore_unknown specified ([#​7455](https://togithub.com/protocolbuffers/protobuf/issues/7455)) ### Ruby - [experimental] Implemented proto3 presence for Ruby. ([#​7406](https://togithub.com/protocolbuffers/protobuf/issues/7406)) - Stop building binary gems for ruby <2.5 ([#​7453](https://togithub.com/protocolbuffers/protobuf/issues/7453)) - Fix for wrappers with a zero value ([#​7195](https://togithub.com/protocolbuffers/protobuf/issues/7195)) - Fix for JSON serialization of 0/empty-valued wrapper types ([#​7198](https://togithub.com/protocolbuffers/protobuf/issues/7198)) - Call "Class#new" over rb_class_new_instance in decoding ([#​7352](https://togithub.com/protocolbuffers/protobuf/issues/7352)) - Build extensions for Ruby 2.7 ([#​7027](https://togithub.com/protocolbuffers/protobuf/issues/7027)) - assigning 'nil' to submessage should clear the field. ([#​7397](https://togithub.com/protocolbuffers/protobuf/issues/7397)) ### C - [experimental] Add support for proto3 presence fields in C# ([#​7382](https://togithub.com/protocolbuffers/protobuf/issues/7382)) - Cleanup various bits of Google.Protobuf ([#​6674](https://togithub.com/protocolbuffers/protobuf/issues/6674)) - Fix conformance test failures for Google.Protobuf ([#​6910](https://togithub.com/protocolbuffers/protobuf/issues/6910)) - Fix latest ArgumentException for C# extensions ([#​6938](https://togithub.com/protocolbuffers/protobuf/issues/6938)) - Remove unnecessary branch from ReadTag ([#​7289](https://togithub.com/protocolbuffers/protobuf/issues/7289)) - Enforce recursion depth checking for unknown fields ([#​7132](https://togithub.com/protocolbuffers/protobuf/issues/7132)) - Mark GetOption API as obsolete and expose the "GetOptions()" method on descriptors instead ([#​7491](https://togithub.com/protocolbuffers/protobuf/issues/7491)) - Remove Has/Clear members for C# message fields in proto2 ([#​7429](https://togithub.com/protocolbuffers/protobuf/issues/7429)) ### Objective-C - [experimental] ObjC Proto3 optional support ([#​7421](https://togithub.com/protocolbuffers/protobuf/issues/7421)) - Block subclassing of generated classes ([#​7124](https://togithub.com/protocolbuffers/protobuf/issues/7124)) - Use references to Obj C classes instead of names in descriptors. ([#​7026](https://togithub.com/protocolbuffers/protobuf/issues/7026)) - Revisit how the WKTs are bundled with ObjC. ([#​7173](https://togithub.com/protocolbuffers/protobuf/issues/7173)) ### Other - Add a proto_lang_toolchain for javalite ([#​6882](https://togithub.com/protocolbuffers/protobuf/issues/6882)) - [bazel] Update gtest and deprecate //external:{gtest,gtest_main} ([#​7237](https://togithub.com/protocolbuffers/protobuf/issues/7237)) - Add application note for explicit presence tracking. ([#​7390](https://togithub.com/protocolbuffers/protobuf/issues/7390)) - Howto doc for implementing proto3 presence in a code generator. ([#​7407](https://togithub.com/protocolbuffers/protobuf/issues/7407))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index cd114c60a798..f8b3775a9364 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -64,7 +64,7 @@ github google-iam-parent 1.18.0 - 3.11.4 + 3.12.0 4.13 1.29.0 29.0-android From 8841a0c84ab627a98dc216864b86e9c218373927 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 May 2020 00:53:40 +0200 Subject: [PATCH 0889/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.6.0 (#219) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.5.0` -> `0.6.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.6.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​060-httpswwwgithubcomgoogleapisjava-shared-configcomparev050v060-2020-05-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.5.0...v0.6.0) ##### Features - add new configuration necessary to support auto-value ([#​136](https://www.github.com/googleapis/java-shared-config/issues/136)) ([c14689b](https://www.github.com/googleapis/java-shared-config/commit/c14689b8791c173687f719d73156a989aedd7ba6))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 353e5d57fc9b..22610945ca8f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.5.0 + 0.6.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 7290a4d0587b..d41c54391b34 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.5.0 + 0.6.0 From 0412f966dbf46c114197dba6db5df621ba9f2158 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 May 2020 00:54:57 +0200 Subject: [PATCH 0890/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.6.0 (#47) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.5.0` -> `0.6.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.6.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​060-httpswwwgithubcomgoogleapisjava-shared-configcomparev050v060-2020-05-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.5.0...v0.6.0) ##### Features - add new configuration necessary to support auto-value ([#​136](https://www.github.com/googleapis/java-shared-config/issues/136)) ([c14689b](https://www.github.com/googleapis/java-shared-config/commit/c14689b8791c173687f719d73156a989aedd7ba6))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2210a8a53020..b66821f558ce 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.5.0 + 0.6.0 From bbdb8a07a2f71c1aed67f0a34c74dd5f2b5f3236 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 May 2020 00:56:05 +0200 Subject: [PATCH 0891/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.6.0 (#7) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.5.0` -> `0.6.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.6.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​060-httpswwwgithubcomgoogleapisjava-shared-configcomparev050v060-2020-05-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.5.0...v0.6.0) ##### Features - add new configuration necessary to support auto-value ([#​136](https://www.github.com/googleapis/java-shared-config/issues/136)) ([c14689b](https://www.github.com/googleapis/java-shared-config/commit/c14689b8791c173687f719d73156a989aedd7ba6))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f8b3775a9364..9e78c022c199 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.5.0 + 0.6.0 From a507237d8eb937c91aacc524406600db08f85987 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Thu, 21 May 2020 16:24:10 -0400 Subject: [PATCH 0892/3036] feat!: remove certain test deps and autovalue (#49) --- java-shared-dependencies/pom.xml | 42 +------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b66821f558ce..4350dc125cdf 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -70,12 +70,8 @@ 1.3.2 1.18 0.13.0 - 0.13.0 0.24.0 3.0.2 - 1.7.2 - 4.13 - 1.0.1 @@ -172,16 +168,6 @@ animal-sniffer-annotations ${animal-sniffer.version}
    - - com.google.auto.value - auto-value - ${autovalue.version} - - - com.google.auto.value - auto-value-annotations - ${autovalue.version} - com.google.api.grpc proto-google-iam-v1 @@ -235,49 +221,23 @@ ${opencensus.version} - - junit - junit - ${junit.version} - test - + com.google.api gax-grpc ${gax.version} testlib - test io.grpc grpc-testing ${grpc.version} - test - - - com.google.truth - truth - ${truth.version} - test - - - com.google.truth.extensions - truth-java8-extension - ${truth.version} - test - - - com.google.api.grpc - grpc-google-iam-v1 - ${grpc.iam.version} - test com.google.cloud google-cloud-core ${google.core.version} test-jar - test
    From 333636509abd33e817499351074bb936e0f964d5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 May 2020 19:14:20 +0200 Subject: [PATCH 0893/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.1 (#48) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4350dc125cdf..0505e0bcb92f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.29.0 1.56.0 29.0-android - 3.12.0 + 3.12.1 1.9.0 1.18.0 1.93.4 From d6cf092ab4410784a08f2170e6dff2fcfd16268d Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Tue, 26 May 2020 13:16:46 -0400 Subject: [PATCH 0894/3036] fix: remove grpc-testing since it's in grpc-bom (#50) --- java-shared-dependencies/pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0505e0bcb92f..e266ee6945fd 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -228,11 +228,6 @@ ${gax.version} testlib - - io.grpc - grpc-testing - ${grpc.version} - com.google.cloud google-cloud-core From c46eea6c75bbf8ed7675d9bdcbf804c35f4e3806 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 26 May 2020 13:20:47 -0400 Subject: [PATCH 0895/3036] chore: release 0.5.0 (#46) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated pom.xml Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 23 +++++++++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index a12337e5c415..3fe2f65f7198 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [0.5.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.4.0...v0.5.0) (2020-05-26) + + +### ⚠ BREAKING CHANGES + +* remove certain test deps and autovalue (#49) +* remove mockito-core (#44) + +### Features + +* remove certain test deps and autovalue ([#49](https://www.github.com/googleapis/java-shared-dependencies/issues/49)) ([0bcf1a0](https://www.github.com/googleapis/java-shared-dependencies/commit/0bcf1a064ab37e1fbb304640f714ad841762949c)) +* remove mockito-core ([#44](https://www.github.com/googleapis/java-shared-dependencies/issues/44)) ([b690f8d](https://www.github.com/googleapis/java-shared-dependencies/commit/b690f8d742cb954744fdb394e3978407561179ca)) + + +### Bug Fixes + +* remove grpc-testing since it's in grpc-bom ([#50](https://www.github.com/googleapis/java-shared-dependencies/issues/50)) ([d7df346](https://www.github.com/googleapis/java-shared-dependencies/commit/d7df346f8f54301c6113f4bb997b84df5d4f45c7)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.12.1 ([#48](https://www.github.com/googleapis/java-shared-dependencies/issues/48)) ([d367a31](https://www.github.com/googleapis/java-shared-dependencies/commit/d367a3122b94ec33f804200c38067ae0eac6ddc0)) + ## [0.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.3.1...v0.4.0) (2020-05-18) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 0fde2fc8f3da..892a7606ea91 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.4.0 + 0.5.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e266ee6945fd..60d323230cf9 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 - 0.4.1-SNAPSHOT + 0.5.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index eba9691009c8..1cf76eb156c7 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.4.0:0.4.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.5.0:0.5.0 \ No newline at end of file From e78466a87f85f012b40345a1b1991ab1d2ced3f8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 May 2020 22:31:54 +0200 Subject: [PATCH 0896/3036] deps: update dependency com.google.api:api-common to v1.9.1 (#51) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 60d323230cf9..918008585cdb 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.56.0 29.0-android 3.12.1 - 1.9.0 + 1.9.1 1.18.0 1.93.4 0.20.0 From 9f204184a45c50593c4fa92cd577b445dc92321a Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 26 May 2020 14:19:01 -0700 Subject: [PATCH 0897/3036] deps: rely on shared-config for auto-value configuration (#222) * deps: rely on shared-config for auto-value configuration * chore: remove unused property * chore: fix declared test dependencies --- java-core/google-cloud-core-grpc/pom.xml | 5 --- java-core/google-cloud-core-http/pom.xml | 5 --- .../google-cloud-core/EnableAutoValue.txt | 0 java-core/google-cloud-core/pom.xml | 5 --- java-core/pom.xml | 35 ------------------- 5 files changed, 50 deletions(-) create mode 100644 java-core/google-cloud-core/EnableAutoValue.txt diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9d5c740978bc..9db984dca800 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -66,10 +66,5 @@ easymock test - - org.objenesis - objenesis - test - diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index b78df90a5c18..750c5573edf6 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -83,11 +83,6 @@ easymock test - - org.objenesis - objenesis - test - com.google.truth truth diff --git a/java-core/google-cloud-core/EnableAutoValue.txt b/java-core/google-cloud-core/EnableAutoValue.txt new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e709fb45ebb9..00193b816089 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -82,11 +82,6 @@ easymock test - - org.objenesis - objenesis - test - com.google.code.findbugs jsr305 diff --git a/java-core/pom.xml b/java-core/pom.xml index d41c54391b34..841e6cc2989b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,8 +151,6 @@ UTF-8 github google-cloud-core-parent - 1.7 - 1.7 1.56.0 1.9.0 1.18.0 @@ -232,12 +230,6 @@ pom import - - com.google.auto.value - auto-value-annotations - ${auto-value-annotations.version} - true - com.google.api api-common @@ -319,33 +311,6 @@ - - - - - org.apache.maven.plugins - maven-dependency-plugin - - org.objenesis:objenesis - - - - maven-compiler-plugin - - - - com.google.auto.value - auto-value - ${auto-value.version} - - - - - - - - - google-cloud-core google-cloud-core-http From 282be4d3381f6c5fe44075e90e6221f1b6fdb3c6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 26 May 2020 21:28:10 +0000 Subject: [PATCH 0898/3036] chore: release 1.93.5 (#206) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.5](https://www.github.com/googleapis/java-core/compare/v1.93.4...v1.93.5) (2020-05-26) ### Dependencies * rely on shared-config for auto-value configuration ([#222](https://www.github.com/googleapis/java-core/issues/222)) ([9f20418](https://www.github.com/googleapis/java-core/commit/9f204184a45c50593c4fa92cd577b445dc92321a)) * update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#215](https://www.github.com/googleapis/java-core/issues/215)) ([ddc98b2](https://www.github.com/googleapis/java-core/commit/ddc98b265400ce6f190fa36935aa58fde0d54c8e)) * update dependency com.google.guava:guava-bom to v29 ([#205](https://www.github.com/googleapis/java-core/issues/205)) ([b886412](https://www.github.com/googleapis/java-core/commit/b8864128ac28ec1e9122785523bb34f0b8f4e5a1)) * update dependency com.google.http-client:google-http-client-bom to v1.35.0 ([#211](https://www.github.com/googleapis/java-core/issues/211)) ([f627f36](https://www.github.com/googleapis/java-core/commit/f627f3647e83da375ea3280b4dfb2cc20565c855)) * update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#218](https://www.github.com/googleapis/java-core/issues/218)) ([87a03f8](https://www.github.com/googleapis/java-core/commit/87a03f8de6bc3916af59c4154b80b7e4102833f5)) * update dependency io.grpc:grpc-bom to v1.29.0 ([#209](https://www.github.com/googleapis/java-core/issues/209)) ([8250126](https://www.github.com/googleapis/java-core/commit/8250126f97a9ddec7bb999e79b492de329de2197)) * update dependency org.threeten:threetenbp to v1.4.4 ([#210](https://www.github.com/googleapis/java-core/issues/210)) ([32b542d](https://www.github.com/googleapis/java-core/commit/32b542dcf206e974c00502a1d16f9ff4b2d0c22f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 13 +++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 25 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 38aa044c32fe..e920b3f35227 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +### [1.93.5](https://www.github.com/googleapis/java-core/compare/v1.93.4...v1.93.5) (2020-05-26) + + +### Dependencies + +* rely on shared-config for auto-value configuration ([#222](https://www.github.com/googleapis/java-core/issues/222)) ([22adbcf](https://www.github.com/googleapis/java-core/commit/22adbcf307cf5ef4819bad9afa91c4c83a9f31bb)) +* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#215](https://www.github.com/googleapis/java-core/issues/215)) ([488a351](https://www.github.com/googleapis/java-core/commit/488a351ab41adafb1d969740bfbd3a6d2ddfd36d)) +* update dependency com.google.guava:guava-bom to v29 ([#205](https://www.github.com/googleapis/java-core/issues/205)) ([48d3f97](https://www.github.com/googleapis/java-core/commit/48d3f970bd931ee5f04205ab939c318c69cbcf3f)) +* update dependency com.google.http-client:google-http-client-bom to v1.35.0 ([#211](https://www.github.com/googleapis/java-core/issues/211)) ([e56b3ef](https://www.github.com/googleapis/java-core/commit/e56b3ef0e2ea5c96b36f8aae851fd26efe1337c1)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#218](https://www.github.com/googleapis/java-core/issues/218)) ([b2c6f15](https://www.github.com/googleapis/java-core/commit/b2c6f15ae63302dbeea16ecb7d7b89404907516f)) +* update dependency io.grpc:grpc-bom to v1.29.0 ([#209](https://www.github.com/googleapis/java-core/issues/209)) ([e63cb7c](https://www.github.com/googleapis/java-core/commit/e63cb7ca69e49afae50af1f2cf4fe3601984be49)) +* update dependency org.threeten:threetenbp to v1.4.4 ([#210](https://www.github.com/googleapis/java-core/issues/210)) ([a837fa4](https://www.github.com/googleapis/java-core/commit/a837fa441fbbf83494709b1779e0ef35ef13b345)) + ### [1.93.4](https://www.github.com/googleapis/java-core/compare/v1.93.3...v1.93.4) (2020-04-06) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 22610945ca8f..1f643f7d0479 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.5-SNAPSHOT + 1.93.5 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.5-SNAPSHOT + 1.93.5 com.google.cloud google-cloud-core-grpc - 1.93.5-SNAPSHOT + 1.93.5 com.google.cloud google-cloud-core-http - 1.93.5-SNAPSHOT + 1.93.5 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9db984dca800..713de0c0f88c 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 - 1.93.5-SNAPSHOT + 1.93.5 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.5-SNAPSHOT + 1.93.5 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 750c5573edf6..514e94a15bd6 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 - 1.93.5-SNAPSHOT + 1.93.5 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.5-SNAPSHOT + 1.93.5 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 00193b816089..84cd43bda96f 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 - 1.93.5-SNAPSHOT + 1.93.5 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.5-SNAPSHOT + 1.93.5 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 841e6cc2989b..97d39277beed 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.5-SNAPSHOT + 1.93.5 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c50d93aacf1b..c86d5144e3a0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.4:1.93.5-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.5:1.93.5 \ No newline at end of file From 3e4498c4345fc7f5e5c92e57f658ccd5d945d5eb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 May 2020 19:44:37 +0200 Subject: [PATCH 0899/3036] deps: update core dependencies to v1.93.5 (#53) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 918008585cdb..d3e973964f5c 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.12.1 1.9.1 1.18.0 - 1.93.4 + 1.93.5 0.20.0 1.35.0 1.30.9 From a0eecca2dde7696aabd07be0b114bd7e51960a1d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 27 May 2020 13:48:58 -0400 Subject: [PATCH 0900/3036] chore: release 0.5.1-SNAPSHOT (#52) * updated versions.txt [ci skip] * updated pom.xml Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d3e973964f5c..7e6ae3308f17 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 - 0.5.0 + 0.5.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 1cf76eb156c7..7d9bc2091f1f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.5.0:0.5.0 \ No newline at end of file +google-cloud-shared-dependencies:0.5.0:0.5.1-SNAPSHOT \ No newline at end of file From 2d64d704a01b4c2490bf60cb3346e04bc4a2530e Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Wed, 27 May 2020 15:00:10 -0400 Subject: [PATCH 0901/3036] feat: add grpc-iam-v1 to keep version consistent w proto-iam-v1 (#55) --- java-shared-dependencies/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7e6ae3308f17..6a50016354a6 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -222,6 +222,11 @@ + + com.google.api.grpc + grpc-google-iam-v1 + ${iam.version} + com.google.api gax-grpc From a911efdc6e8fe3c0001ecf06abebb1e8b2b6225a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 27 May 2020 20:04:10 +0000 Subject: [PATCH 0902/3036] chore: release 0.6.0 (#56) :robot: I have created a release \*beep\* \*boop\* --- ## [0.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.5.0...v0.6.0) (2020-05-27) ### Features * add grpc-iam-v1 to keep version consistent w proto-iam-v1 ([#55](https://www.github.com/googleapis/java-shared-dependencies/issues/55)) ([2d64d70](https://www.github.com/googleapis/java-shared-dependencies/commit/2d64d704a01b4c2490bf60cb3346e04bc4a2530e)) ### Dependencies * update core dependencies to v1.93.5 ([#53](https://www.github.com/googleapis/java-shared-dependencies/issues/53)) ([3e4498c](https://www.github.com/googleapis/java-shared-dependencies/commit/3e4498c4345fc7f5e5c92e57f658ccd5d945d5eb)) * update dependency com.google.api:api-common to v1.9.1 ([#51](https://www.github.com/googleapis/java-shared-dependencies/issues/51)) ([e78466a](https://www.github.com/googleapis/java-shared-dependencies/commit/e78466a87f85f012b40345a1b1991ab1d2ced3f8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 13 +++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 3fe2f65f7198..dd89c4f0d9cb 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.5.0...v0.6.0) (2020-05-27) + + +### Features + +* add grpc-iam-v1 to keep version consistent w proto-iam-v1 ([#55](https://www.github.com/googleapis/java-shared-dependencies/issues/55)) ([0fe26dd](https://www.github.com/googleapis/java-shared-dependencies/commit/0fe26dd73e7c3ada31e53c5f5a84ef4d3c4f3956)) + + +### Dependencies + +* update core dependencies to v1.93.5 ([#53](https://www.github.com/googleapis/java-shared-dependencies/issues/53)) ([9d8d4d6](https://www.github.com/googleapis/java-shared-dependencies/commit/9d8d4d602128e6e32486288cbbec117b80f3fbc6)) +* update dependency com.google.api:api-common to v1.9.1 ([#51](https://www.github.com/googleapis/java-shared-dependencies/issues/51)) ([40276df](https://www.github.com/googleapis/java-shared-dependencies/commit/40276df393e34fb72eead8499968792852a880c7)) + ## [0.5.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.4.0...v0.5.0) (2020-05-26) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 892a7606ea91..3645cf45528d 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.5.0 + 0.6.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6a50016354a6..850ce071c906 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 - 0.5.1-SNAPSHOT + 0.6.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 7d9bc2091f1f..bacc97e75ed6 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.5.0:0.5.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.6.0:0.6.0 \ No newline at end of file From ee810c349c4784f8eb9adbde81813a3807104133 Mon Sep 17 00:00:00 2001 From: Ajit Thakor <49403056+athakor@users.noreply.github.com> Date: Thu, 28 May 2020 21:59:25 +0530 Subject: [PATCH 0903/3036] tests: clean up tests for IAM condition support (#224) * tests: clean up tests for IAM condition support * tests: clean up tests for IAM condition support * feat: addressed review changes --- .../java/com/google/cloud/PolicyV3Test.java | 37 +++++++++---------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java index 13cab4332cb6..bdddf656f48a 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/PolicyV3Test.java @@ -42,28 +42,25 @@ public class PolicyV3Test { private static final String VIEWER = "roles/viewer"; private static final String EDITOR = "roles/editor"; private static final String OWNER = "roles/owner"; - private static final List MEMBERS_LIST_1 = + private static final ImmutableList MEMBERS_LIST_1 = ImmutableList.of(USER, SERVICE_ACCOUNT, ALL_USERS); - private static final List MEMBERS_LIST_2 = + private static final ImmutableList MEMBERS_LIST_2 = ImmutableList.of(ALL_AUTH_USERS, GROUP, DOMAIN); - private static final List BINDINGS_NO_CONDITIONS = - ImmutableList.of( - Binding.newBuilder().setRole(VIEWER).setMembers(MEMBERS_LIST_1).build(), - Binding.newBuilder().setRole(EDITOR).setMembers(MEMBERS_LIST_2).build()); - private static final List BINDINGS_WITH_CONDITIONS = - ImmutableList.copyOf(BINDINGS_NO_CONDITIONS) - .of( - Binding.newBuilder() - .setRole(VIEWER) - .setMembers(MEMBERS_LIST_1) - .setCondition( - Condition.newBuilder() - .setTitle("Condition") - .setDescription("Condition") - .setExpression("Expr") - .build()) - .build(), - Binding.newBuilder().setRole(EDITOR).setMembers(MEMBERS_LIST_2).build()); + + private static final Binding VIEWER_BINDING = + Binding.newBuilder().setRole(VIEWER).setMembers(MEMBERS_LIST_1).build(); + private static final Binding EDITOR_BINDING = + Binding.newBuilder().setRole(EDITOR).setMembers(MEMBERS_LIST_2).build(); + private static final ImmutableList BINDINGS_NO_CONDITIONS = + ImmutableList.of(VIEWER_BINDING, EDITOR_BINDING); + private static final Condition CONDITION = + Condition.newBuilder() + .setTitle("Condition") + .setDescription("Condition") + .setExpression("Expr") + .build(); + private static final ImmutableList BINDINGS_WITH_CONDITIONS = + ImmutableList.of(VIEWER_BINDING.toBuilder().setCondition(CONDITION).build(), EDITOR_BINDING); private static final Policy FULL_POLICY_V1 = Policy.newBuilder().setBindings(BINDINGS_NO_CONDITIONS).setEtag("etag").setVersion(1).build(); From d65d2b51604c589f0f0262a74b1a18e585dd55bc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 28 May 2020 18:55:51 +0200 Subject: [PATCH 0904/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.2 (#57) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 850ce071c906..86ee5ace5426 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.29.0 1.56.0 29.0-android - 3.12.1 + 3.12.2 1.9.1 1.18.0 1.93.5 From e042dc7a930c3735e9503dbf1932629320b799ec Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 28 May 2020 17:20:08 +0000 Subject: [PATCH 0905/3036] chore: release 0.6.1-SNAPSHOT (#58) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 86ee5ace5426..0b065450e9a4 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 - 0.6.0 + 0.6.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index bacc97e75ed6..aace7d6b17b6 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.6.0:0.6.0 \ No newline at end of file +google-cloud-shared-dependencies:0.6.0:0.6.1-SNAPSHOT \ No newline at end of file From dc71acc5b30696598a69da13f9daaba400466a19 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Thu, 28 May 2020 13:31:48 -0400 Subject: [PATCH 0906/3036] feat: add core test classifier (needed by BQ) (#59) --- java-shared-dependencies/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0b065450e9a4..e6df21181709 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -239,6 +239,12 @@ ${google.core.version} test-jar + + com.google.cloud + google-cloud-core + ${google.core.version} + tests + From 184e7171b4d8261a1da333668126257826cfdd02 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 28 May 2020 14:00:05 -0400 Subject: [PATCH 0907/3036] chore: release 0.7.0 (#61) * updated CHANGELOG.md [ci skip] * updated README.md [ci skip] * updated versions.txt [ci skip] * updated pom.xml Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index dd89c4f0d9cb..ce5baf59410d 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.7.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.6.0...v0.7.0) (2020-05-28) + + +### Features + +* add core test classifier (needed by BQ) ([#59](https://www.github.com/googleapis/java-shared-dependencies/issues/59)) ([a634d18](https://www.github.com/googleapis/java-shared-dependencies/commit/a634d1886072793f3143f8c5af51008a6d9c857e)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#57](https://www.github.com/googleapis/java-shared-dependencies/issues/57)) ([751f170](https://www.github.com/googleapis/java-shared-dependencies/commit/751f1709b9f6bca6e5a22bf42feadc7373bceef7)) + ## [0.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.5.0...v0.6.0) (2020-05-27) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 3645cf45528d..10742a60b4dc 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.6.0 + 0.7.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e6df21181709..ac7caffe86ba 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 - 0.6.1-SNAPSHOT + 0.7.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index aace7d6b17b6..df7c0d144427 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.6.0:0.6.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.7.0:0.7.0 \ No newline at end of file From 6c5bd7f7263d5520f188d1bf72024cd60efd5541 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Jun 2020 22:40:47 +0200 Subject: [PATCH 0908/3036] deps: update dependency com.google.api:api-common to v1.9.1 (#221) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | patch | `1.9.0` -> `1.9.1` | --- ### Release Notes
    googleapis/api-common-java ### [`v1.9.1`](https://togithub.com/googleapis/api-common-java/releases/v1.9.1) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.9.0...v1.9.1) #### Bug Fixes - support complex resource identifiers ([#​125](https://togithub.com/googleapis/api-common-java/pull/125)) ##### Dependencies - Update dependency com.google.auto.value:auto-value-annotations to v1.7.2 ([#​136](https://togithub.com/googleapis/api-common-java/pull/136)) - Update dependency com.google.auto.value:auto-value to v1.7.2 ([#​135](https://togithub.com/googleapis/api-common-java/pull/135))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 97d39277beed..183649bebe88 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.56.0 - 1.9.0 + 1.9.1 1.18.0 0.13.0 0.20.0 From 6e14cde283e66aba448f8321af7622b9104a21b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Jun 2020 22:34:23 +0200 Subject: [PATCH 0909/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.0 (#227) This PR contains the following updates: | Package | Update | Change | |---|---|---| | org.apache.maven.plugins:maven-project-info-reports-plugin | minor | `3.0.0` -> `3.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 183649bebe88..6fd8b49fef4e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -323,7 +323,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.0.0 + 3.1.0 From 695bac7daf5a87773e318a3a1b7e0622f20f8c4d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Jun 2020 22:36:12 +0200 Subject: [PATCH 0910/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.0 (#9) This PR contains the following updates: | Package | Update | Change | |---|---|---| | org.apache.maven.plugins:maven-project-info-reports-plugin | minor | `3.0.0` -> `3.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9e78c022c199..48eca47e0922 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -121,7 +121,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.0.0 + 3.1.0 From 494c4c88006a6024596457c4f49a1b2c5a037232 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Jun 2020 14:56:17 -0700 Subject: [PATCH 0911/3036] chore(java_templates): add default CODEOWNERS files for samples reviews (#62) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/cee9e42c-941c-49fe-b176-a9e83c067c7c/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/8b65daa222d193b689279162781baf0aa1f0ffd2 --- java-shared-dependencies/.github/CODEOWNERS | 8 ++++++++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 java-shared-dependencies/.github/CODEOWNERS diff --git a/java-shared-dependencies/.github/CODEOWNERS b/java-shared-dependencies/.github/CODEOWNERS new file mode 100644 index 000000000000..6137bef2a259 --- /dev/null +++ b/java-shared-dependencies/.github/CODEOWNERS @@ -0,0 +1,8 @@ +# Code owners file. +# This file controls who is tagged for review for any given pull request. + +# For syntax help see: +# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax + +# The java-samples-reviewers team is the default owner for samples changes +samples/**/*.java @googleapis/java-samples-reviewers diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 437283301f63..8a6bb22548ce 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "43ba982b3ef77ea840b1e9a7539f7fc6177a2a6b" + "sha": "019e61bac666949c466750e4e2081db9845615bc" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5b48b0716a36ca069db3038da7e205c87a22ed19" + "sha": "8b65daa222d193b689279162781baf0aa1f0ffd2" } } ] From 1f70a2b1220e891001126e477034b580104cacd4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Jun 2020 00:00:44 +0200 Subject: [PATCH 0912/3036] deps: update dependency com.google.api:api-common to v1.9.2 (#229) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | patch | `1.9.1` -> `1.9.2` | --- ### Release Notes
    googleapis/api-common-java ### [`v1.9.2`](https://togithub.com/googleapis/api-common-java/releases/v1.9.2) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.9.1...v1.9.2) #### Bug Fixes - parse collection wildcards and `_deleted-topic_` patterns ([#​150](https://togithub.com/googleapis/api-common-java/pull/150))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6fd8b49fef4e..ecd476ac1d6a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.56.0 - 1.9.1 + 1.9.2 1.18.0 0.13.0 0.20.0 From 34ec1c94ae251ce157ecf6bd75809b665f871800 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Jun 2020 00:01:29 +0200 Subject: [PATCH 0913/3036] deps: update dependency com.google.api:api-common to v1.9.2 (#63) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | patch | `1.9.1` -> `1.9.2` | --- ### Release Notes
    googleapis/api-common-java ### [`v1.9.2`](https://togithub.com/googleapis/api-common-java/releases/v1.9.2) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.9.1...v1.9.2) #### Bug Fixes - parse collection wildcards and `_deleted-topic_` patterns ([#​150](https://togithub.com/googleapis/api-common-java/pull/150))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ac7caffe86ba..89afd170f671 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.56.0 29.0-android 3.12.2 - 1.9.1 + 1.9.2 1.18.0 1.93.5 0.20.0 From 28d5f7af827848c4e57a2ce5398ed412eb47a8e3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Jun 2020 15:16:52 -0700 Subject: [PATCH 0914/3036] chore(java_templates): add default CODEOWNERS files for samples reviews (#228) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/cee9e42c-941c-49fe-b176-a9e83c067c7c/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/8b65daa222d193b689279162781baf0aa1f0ffd2 --- java-core/.github/CODEOWNERS | 8 ++++++++ java-core/synth.metadata | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/CODEOWNERS diff --git a/java-core/.github/CODEOWNERS b/java-core/.github/CODEOWNERS new file mode 100644 index 000000000000..6137bef2a259 --- /dev/null +++ b/java-core/.github/CODEOWNERS @@ -0,0 +1,8 @@ +# Code owners file. +# This file controls who is tagged for review for any given pull request. + +# For syntax help see: +# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax + +# The java-samples-reviewers team is the default owner for samples changes +samples/**/*.java @googleapis/java-samples-reviewers diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 522d58009161..6f1bf6e8fd6a 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "e4a04a2486474fef30584c2067e0afd7f8dbb613" + "sha": "4df33f0da02855161562e80a9d50e52dc21f4693" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5b48b0716a36ca069db3038da7e205c87a22ed19" + "sha": "8b65daa222d193b689279162781baf0aa1f0ffd2" } } ] From 1ae6352b586a1899045e7822796753c3405b4ad3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 00:36:49 -0700 Subject: [PATCH 0915/3036] chore: turn on renovate-bot master issue for java repos (#230) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/5a6d8b4a-5d51-4aa7-bbe3-089dd415efba/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/cac9eef310652bf138dd76b716e4986e757d62ac --- java-core/renovate.json | 3 ++- java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-core/renovate.json b/java-core/renovate.json index c4e2931d4677..94bb6aedaf6b 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -76,5 +76,6 @@ "groupName": "jackson dependencies" } ], - "semanticCommits": true + "semanticCommits": true, + "masterIssue": true } \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 6f1bf6e8fd6a..957ee5479c7f 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "4df33f0da02855161562e80a9d50e52dc21f4693" + "sha": "48346c9158ed2223c90e7a9189e9c982da47fb12" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8b65daa222d193b689279162781baf0aa1f0ffd2" + "sha": "cac9eef310652bf138dd76b716e4986e757d62ac" } } ] From b6e68b763a4ac8da747a035bd4977eb0f6efb289 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 00:37:21 -0700 Subject: [PATCH 0916/3036] chore: turn on renovate-bot master issue for java repos (#65) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/5a6d8b4a-5d51-4aa7-bbe3-089dd415efba/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/cac9eef310652bf138dd76b716e4986e757d62ac --- java-shared-dependencies/renovate.json | 3 ++- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/renovate.json b/java-shared-dependencies/renovate.json index 0c8d6cf5f7fb..534f6068bcc3 100644 --- a/java-shared-dependencies/renovate.json +++ b/java-shared-dependencies/renovate.json @@ -76,5 +76,6 @@ "groupName": "jackson dependencies" } ], - "semanticCommits": true + "semanticCommits": true, + "masterIssue": true } \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 8a6bb22548ce..1b0ca794032b 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "019e61bac666949c466750e4e2081db9845615bc" + "sha": "ee92a0eb45595fa229cd6fa745f9f3cfa74bb65c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8b65daa222d193b689279162781baf0aa1f0ffd2" + "sha": "cac9eef310652bf138dd76b716e4986e757d62ac" } } ] From 529d3388f76ef1459f9868274ae50ee85bfebf1f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 22:25:01 -0700 Subject: [PATCH 0917/3036] build(java): skip lint on samples directory (#232) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d76bfbb4-fde1-4909-a913-608cdb170a49/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/987270824bd26f6a8c716d5e2022057b8ae7b26e --- java-core/.kokoro/build.sh | 4 +--- java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index f506e46c10d3..9ee206e5c6ab 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -51,9 +51,7 @@ test) RETURN_CODE=$? ;; lint) - mvn \ - -Penable-samples \ - com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check RETURN_CODE=$? ;; javadoc) diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 957ee5479c7f..04d58b9a60a6 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "48346c9158ed2223c90e7a9189e9c982da47fb12" + "sha": "feed7e4380b564eb33932fe3eb02614e04441b76" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "cac9eef310652bf138dd76b716e4986e757d62ac" + "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e" } } ] From 4d5cc9e42372183288c1cdc6380e5d68f7927b18 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 22:25:33 -0700 Subject: [PATCH 0918/3036] build(java): skip lint on samples directory (#67) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d76bfbb4-fde1-4909-a913-608cdb170a49/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/987270824bd26f6a8c716d5e2022057b8ae7b26e --- java-shared-dependencies/.kokoro/build.sh | 4 +--- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 8d259a08a4f5..a32bc6201b31 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -51,9 +51,7 @@ test) RETURN_CODE=$? ;; lint) - mvn \ - -Penable-samples \ - com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check RETURN_CODE=$? ;; javadoc) diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 1b0ca794032b..8421bd3a958a 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "ee92a0eb45595fa229cd6fa745f9f3cfa74bb65c" + "sha": "d5d50eed4fe5a0142b2bf1c9fb6f1064d6205cf8" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "cac9eef310652bf138dd76b716e4986e757d62ac" + "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e" } } ] From a2b0187ca420d5c08eb8eb7fc51045e2ffef3d1c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2020 21:02:07 +0000 Subject: [PATCH 0919/3036] chore: release 0.7.1-SNAPSHOT (#64) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 89afd170f671..957ae6c3d4d6 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 - 0.7.0 + 0.7.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index df7c0d144427..0fcc13a36b1e 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.7.0:0.7.0 \ No newline at end of file +google-cloud-shared-dependencies:0.7.0:0.7.1-SNAPSHOT \ No newline at end of file From 3132889bbd8b92ab0cc4b32ab4b7aacb9ad862ba Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2020 21:02:10 +0000 Subject: [PATCH 0920/3036] chore: release 1.93.6-SNAPSHOT (#225) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1f643f7d0479..f83a448d599c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.5 + 1.93.6-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.5 + 1.93.6-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.5 + 1.93.6-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.5 + 1.93.6-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 713de0c0f88c..6229f3efa020 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 - 1.93.5 + 1.93.6-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.5 + 1.93.6-SNAPSHOT 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 514e94a15bd6..5cce4eafd81d 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 - 1.93.5 + 1.93.6-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.5 + 1.93.6-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 84cd43bda96f..c919831f14ff 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 - 1.93.5 + 1.93.6-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.5 + 1.93.6-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index ecd476ac1d6a..8ff6eb940825 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.5 + 1.93.6-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c86d5144e3a0..86c430d7d54c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.5:1.93.5 \ No newline at end of file +google-cloud-core:1.93.5:1.93.6-SNAPSHOT \ No newline at end of file From 9699f4bbd2509108ff3efed39842ee4bf23a5b19 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Jun 2020 23:04:07 +0200 Subject: [PATCH 0921/3036] deps: update dependency io.grpc:grpc-bom to v1.30.0 (#68) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.29.0` -> `1.30.0` | --- ### Release Notes
    grpc/grpc-java ### [`v1.30.0`](https://togithub.com/grpc/grpc-java/releases/v1.30.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.29.0...v1.30.0) ##### Behavioral Changes - netty: Bandwidth delay product (BDP) is enabled by default ([#​6979](https://togithub.com/grpc/grpc-java/issues/6979)). BDP dynamically adjusts flow control window to optimize the network bandwidth utilization. To disable this feature, build channel/server with `NettyChannelBuilder#flowControlWindow` or `NettyServerBuilder#flowControlWindow`. Existing `flowControlWindow` users need to use `initialFlowWindowSize` to enable BDP. ##### New Features - core: ManagedChannel provides LoadBalancer#Helper with implemented createResolvingOobChannel ([#​6923](https://togithub.com/grpc/grpc-java/issues/6923)). - stub: Add `ClientCallStreamObserver.disableAutoRequestWithInitial(int)` and `ServerCallStreamObserver.disableAutoRequest()` that disables all automatic inbound flow-control requests. These methods are intended to replace the existing `CallStreamObserver.disableAutoInboundFlowControl()`. There may still be some tweaks to the API, so `disableAutoInboundFlowControl()` is not yet deprecated - inprocess,core: add ability to pass status cause to client ([#​6968](https://togithub.com/grpc/grpc-java/issues/6968)). The new API is added to `InprocessChannelBuilder` to show stacktrace from transport when an error happens in tests. - netty: support setting options of boss in NettyServer ([#​6947](https://togithub.com/grpc/grpc-java/issues/6947)). Adds a new API on `NettyServerBuilder` to allow passing channel options for the boss ELG. ##### Bug Fixes - okhttp&#x3A; use new APIs to configure TLS in Android (roll forward of [#​6959](https://togithub.com/grpc/grpc-java/issues/6959)) ([#​6960](https://togithub.com/grpc/grpc-java/issues/6960)). Starting from Android 10, there is a new set of public APIs for configuring TLS, where we were previously invoking hidden methods in SSLSocket. Some of those hidden methods are no longer allowed (will be removed in the future) in Android 11. We migrate to use public APIs whenever possible. - netty: Using classloader to isolate grpc without isolating netty can cause exceptions when creating netty channel/server is fixed ([#​7048](https://togithub.com/grpc/grpc-java/issues/7048)). - api, core, services: make ProtoReflectionService interceptor compatible ([#​6967](https://togithub.com/grpc/grpc-java/issues/6967)). Previously intercepting the ProtoReflectionService breaks the internal hack of passing the server instance to the service. Now we change the way of how it obtains the server instance so that applying interceptors to it doesn’t break its functionality. This change also allows multiple servers to use a shared ProtoReflectionService instance. - netty: Reduce race window size between GOAWAY and new streams. This should greatly reduce the number of calls that fail with errors similar to “UNAVAILABLE: HTTP/2 error code: NO_ERROR Received Goaway.” Although note that these errors have multiple sources, and it only addresses one of them - core: Delay transport shutdown when changing a subchannel’s addresses. This should prevent users from seeing errors saying “UNAVAILABLE: InternalSubchannel closed transport due to address change,” which should have already been rare ##### Documentation - For Java 9+ users, we now recommend using `org.apache.tomcat:annotations-api` for the `@Generated` annotation instead of `javax.annotation:javax.annotation-api`, as it has a more appropriate license - SECURITY.md: add instruction for disabling Conscrypt's default TrustManager ([#​6962](https://togithub.com/grpc/grpc-java/issues/6962)). By default, Conscrypt delegates hostname verification to the platform's default HostNameVerifier, which in OpenJDK is a deny-all implementation. You can configure the Conscrypt provider to not use its TrustManager. ##### Dependencies - Starting from this version, some transitive dependencies of gRPC artifacts are changed from compile scope to runtime scope. Users may experience their application can not rebuild once the gRPC version is upgraded, because some other component of the project may require a dependency that is no longer transitively provided by gRPC artifacts at compile time; and if that happens, users should explicitly add that dependency for the other component. This change does not affect running the application at runtime. - Bumped protobuf to 3.12.0 ##### Examples - Deleted example-kotlin ([#​6936](https://togithub.com/grpc/grpc-java/issues/6936)). [grpc-kotlin](https://togithub.com/grpc/grpc-kotlin) was officially released and examples can be found in its own repository. ##### Acknowledgements [@​agasparovic-sabre](https://togithub.com/agasparovic-sabre) [@​AgentK20](https://togithub.com/AgentK20) [@​apolcyn](https://togithub.com/apolcyn) [@​asdf2014](https://togithub.com/asdf2014) [@​ashithasantosh](https://togithub.com/ashithasantosh) [@​chalin](https://togithub.com/chalin) [@​bogdandrutu](https://togithub.com/bogdandrutu) [@​DRayX](https://togithub.com/DRayX) [@​hojongs](https://togithub.com/hojongs) [@​Nextproc](https://togithub.com/Nextproc) [@​plaflamme](https://togithub.com/plaflamme) [@​reggiemcdonald](https://togithub.com/reggiemcdonald) [@​RiyaTyagi](https://togithub.com/RiyaTyagi)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 957ae6c3d4d6..e2e81eb495ee 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.29.0 + 1.30.0 1.56.0 29.0-android 3.12.2 From fe60399c9dfdb10f3485be7412099d0bd5b460f8 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Tue, 9 Jun 2020 17:38:08 -0400 Subject: [PATCH 0922/3036] feat: mark javax annotations scope as provided (#70) https://docs.oracle.com/javase/7/docs/api/javax/annotation/Generated.html https://docs.oracle.com/javase/8/docs/api/index.html?java/lang/annotation/RetentionPolicy.html experimented in java-bigquery https://github.com/googleapis/java-bigquery/pull/402/files --- java-shared-dependencies/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e2e81eb495ee..42ce5df20506 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -162,6 +162,10 @@ javax.annotation javax.annotation-api ${javax.annotations.version} + + provided org.codehaus.mojo From 1a585524249d14ed82397c44e2c32960dbd17365 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Jun 2020 01:12:09 +0200 Subject: [PATCH 0923/3036] deps: update dependency io.grpc:grpc-bom to v1.30.0 (#233) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.29.0` -> `1.30.0` | --- ### Release Notes
    grpc/grpc-java ### [`v1.30.0`](https://togithub.com/grpc/grpc-java/releases/v1.30.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.29.0...v1.30.0) ##### Behavioral Changes - netty: Bandwidth delay product (BDP) is enabled by default ([#​6979](https://togithub.com/grpc/grpc-java/issues/6979)). BDP dynamically adjusts flow control window to optimize the network bandwidth utilization. To disable this feature, build channel/server with `NettyChannelBuilder#flowControlWindow` or `NettyServerBuilder#flowControlWindow`. Existing `flowControlWindow` users need to use `initialFlowWindowSize` to enable BDP. ##### New Features - core: ManagedChannel provides LoadBalancer#Helper with implemented createResolvingOobChannel ([#​6923](https://togithub.com/grpc/grpc-java/issues/6923)). - stub: Add `ClientCallStreamObserver.disableAutoRequestWithInitial(int)` and `ServerCallStreamObserver.disableAutoRequest()` that disables all automatic inbound flow-control requests. These methods are intended to replace the existing `CallStreamObserver.disableAutoInboundFlowControl()`. There may still be some tweaks to the API, so `disableAutoInboundFlowControl()` is not yet deprecated - inprocess,core: add ability to pass status cause to client ([#​6968](https://togithub.com/grpc/grpc-java/issues/6968)). The new API is added to `InprocessChannelBuilder` to show stacktrace from transport when an error happens in tests. - netty: support setting options of boss in NettyServer ([#​6947](https://togithub.com/grpc/grpc-java/issues/6947)). Adds a new API on `NettyServerBuilder` to allow passing channel options for the boss ELG. ##### Bug Fixes - okhttp&#x3A; use new APIs to configure TLS in Android (roll forward of [#​6959](https://togithub.com/grpc/grpc-java/issues/6959)) ([#​6960](https://togithub.com/grpc/grpc-java/issues/6960)). Starting from Android 10, there is a new set of public APIs for configuring TLS, where we were previously invoking hidden methods in SSLSocket. Some of those hidden methods are no longer allowed (will be removed in the future) in Android 11. We migrate to use public APIs whenever possible. - netty: Using classloader to isolate grpc without isolating netty can cause exceptions when creating netty channel/server is fixed ([#​7048](https://togithub.com/grpc/grpc-java/issues/7048)). - api, core, services: make ProtoReflectionService interceptor compatible ([#​6967](https://togithub.com/grpc/grpc-java/issues/6967)). Previously intercepting the ProtoReflectionService breaks the internal hack of passing the server instance to the service. Now we change the way of how it obtains the server instance so that applying interceptors to it doesn’t break its functionality. This change also allows multiple servers to use a shared ProtoReflectionService instance. - netty: Reduce race window size between GOAWAY and new streams. This should greatly reduce the number of calls that fail with errors similar to “UNAVAILABLE: HTTP/2 error code: NO_ERROR Received Goaway.” Although note that these errors have multiple sources, and it only addresses one of them - core: Delay transport shutdown when changing a subchannel’s addresses. This should prevent users from seeing errors saying “UNAVAILABLE: InternalSubchannel closed transport due to address change,” which should have already been rare ##### Documentation - For Java 9+ users, we now recommend using `org.apache.tomcat:annotations-api` for the `@Generated` annotation instead of `javax.annotation:javax.annotation-api`, as it has a more appropriate license - SECURITY.md: add instruction for disabling Conscrypt's default TrustManager ([#​6962](https://togithub.com/grpc/grpc-java/issues/6962)). By default, Conscrypt delegates hostname verification to the platform's default HostNameVerifier, which in OpenJDK is a deny-all implementation. You can configure the Conscrypt provider to not use its TrustManager. ##### Dependencies - Starting from this version, some transitive dependencies of gRPC artifacts are changed from compile scope to runtime scope. Users may experience their application can not rebuild once the gRPC version is upgraded, because some other component of the project may require a dependency that is no longer transitively provided by gRPC artifacts at compile time; and if that happens, users should explicitly add that dependency for the other component. This change does not affect running the application at runtime. - Bumped protobuf to 3.12.0 ##### Examples - Deleted example-kotlin ([#​6936](https://togithub.com/grpc/grpc-java/issues/6936)). [grpc-kotlin](https://togithub.com/grpc/grpc-kotlin) was officially released and examples can be found in its own repository. ##### Acknowledgements [@​agasparovic-sabre](https://togithub.com/agasparovic-sabre) [@​AgentK20](https://togithub.com/AgentK20) [@​apolcyn](https://togithub.com/apolcyn) [@​asdf2014](https://togithub.com/asdf2014) [@​ashithasantosh](https://togithub.com/ashithasantosh) [@​chalin](https://togithub.com/chalin) [@​bogdandrutu](https://togithub.com/bogdandrutu) [@​DRayX](https://togithub.com/DRayX) [@​hojongs](https://togithub.com/hojongs) [@​Nextproc](https://togithub.com/Nextproc) [@​plaflamme](https://togithub.com/plaflamme) [@​reggiemcdonald](https://togithub.com/reggiemcdonald) [@​RiyaTyagi](https://togithub.com/RiyaTyagi)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8ff6eb940825..641fb2001c40 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.20.0 1.30.9 1.35.0 - 1.29.0 + 1.30.0 3.12.0 0.24.0 1.3.2 From dce548278841ffad21dad2f1fee2ec41cdd4250e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Jun 2020 01:13:01 +0200 Subject: [PATCH 0924/3036] deps: update dependency io.grpc:grpc-bom to v1.30.0 (#10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.29.0` -> `1.30.0` | --- ### Release Notes
    grpc/grpc-java ### [`v1.30.0`](https://togithub.com/grpc/grpc-java/releases/v1.30.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.29.0...v1.30.0) ##### Behavioral Changes - netty: Bandwidth delay product (BDP) is enabled by default ([#​6979](https://togithub.com/grpc/grpc-java/issues/6979)). BDP dynamically adjusts flow control window to optimize the network bandwidth utilization. To disable this feature, build channel/server with `NettyChannelBuilder#flowControlWindow` or `NettyServerBuilder#flowControlWindow`. Existing `flowControlWindow` users need to use `initialFlowWindowSize` to enable BDP. ##### New Features - core: ManagedChannel provides LoadBalancer#Helper with implemented createResolvingOobChannel ([#​6923](https://togithub.com/grpc/grpc-java/issues/6923)). - stub: Add `ClientCallStreamObserver.disableAutoRequestWithInitial(int)` and `ServerCallStreamObserver.disableAutoRequest()` that disables all automatic inbound flow-control requests. These methods are intended to replace the existing `CallStreamObserver.disableAutoInboundFlowControl()`. There may still be some tweaks to the API, so `disableAutoInboundFlowControl()` is not yet deprecated - inprocess,core: add ability to pass status cause to client ([#​6968](https://togithub.com/grpc/grpc-java/issues/6968)). The new API is added to `InprocessChannelBuilder` to show stacktrace from transport when an error happens in tests. - netty: support setting options of boss in NettyServer ([#​6947](https://togithub.com/grpc/grpc-java/issues/6947)). Adds a new API on `NettyServerBuilder` to allow passing channel options for the boss ELG. ##### Bug Fixes - okhttp&#x3A; use new APIs to configure TLS in Android (roll forward of [#​6959](https://togithub.com/grpc/grpc-java/issues/6959)) ([#​6960](https://togithub.com/grpc/grpc-java/issues/6960)). Starting from Android 10, there is a new set of public APIs for configuring TLS, where we were previously invoking hidden methods in SSLSocket. Some of those hidden methods are no longer allowed (will be removed in the future) in Android 11. We migrate to use public APIs whenever possible. - netty: Using classloader to isolate grpc without isolating netty can cause exceptions when creating netty channel/server is fixed ([#​7048](https://togithub.com/grpc/grpc-java/issues/7048)). - api, core, services: make ProtoReflectionService interceptor compatible ([#​6967](https://togithub.com/grpc/grpc-java/issues/6967)). Previously intercepting the ProtoReflectionService breaks the internal hack of passing the server instance to the service. Now we change the way of how it obtains the server instance so that applying interceptors to it doesn’t break its functionality. This change also allows multiple servers to use a shared ProtoReflectionService instance. - netty: Reduce race window size between GOAWAY and new streams. This should greatly reduce the number of calls that fail with errors similar to “UNAVAILABLE: HTTP/2 error code: NO_ERROR Received Goaway.” Although note that these errors have multiple sources, and it only addresses one of them - core: Delay transport shutdown when changing a subchannel’s addresses. This should prevent users from seeing errors saying “UNAVAILABLE: InternalSubchannel closed transport due to address change,” which should have already been rare ##### Documentation - For Java 9+ users, we now recommend using `org.apache.tomcat:annotations-api` for the `@Generated` annotation instead of `javax.annotation:javax.annotation-api`, as it has a more appropriate license - SECURITY.md: add instruction for disabling Conscrypt's default TrustManager ([#​6962](https://togithub.com/grpc/grpc-java/issues/6962)). By default, Conscrypt delegates hostname verification to the platform's default HostNameVerifier, which in OpenJDK is a deny-all implementation. You can configure the Conscrypt provider to not use its TrustManager. ##### Dependencies - Starting from this version, some transitive dependencies of gRPC artifacts are changed from compile scope to runtime scope. Users may experience their application can not rebuild once the gRPC version is upgraded, because some other component of the project may require a dependency that is no longer transitively provided by gRPC artifacts at compile time; and if that happens, users should explicitly add that dependency for the other component. This change does not affect running the application at runtime. - Bumped protobuf to 3.12.0 ##### Examples - Deleted example-kotlin ([#​6936](https://togithub.com/grpc/grpc-java/issues/6936)). [grpc-kotlin](https://togithub.com/grpc/grpc-kotlin) was officially released and examples can be found in its own repository. ##### Acknowledgements [@​agasparovic-sabre](https://togithub.com/agasparovic-sabre) [@​AgentK20](https://togithub.com/AgentK20) [@​apolcyn](https://togithub.com/apolcyn) [@​asdf2014](https://togithub.com/asdf2014) [@​ashithasantosh](https://togithub.com/ashithasantosh) [@​chalin](https://togithub.com/chalin) [@​bogdandrutu](https://togithub.com/bogdandrutu) [@​DRayX](https://togithub.com/DRayX) [@​hojongs](https://togithub.com/hojongs) [@​Nextproc](https://togithub.com/Nextproc) [@​plaflamme](https://togithub.com/plaflamme) [@​reggiemcdonald](https://togithub.com/reggiemcdonald) [@​RiyaTyagi](https://togithub.com/RiyaTyagi)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 48eca47e0922..3df7723b7e8d 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -66,7 +66,7 @@ 1.18.0 3.12.0 4.13 - 1.29.0 + 1.30.0 29.0-android
    From fae0a16390ddb4f52505eac22200935430a59134 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Jun 2020 02:03:26 +0200 Subject: [PATCH 0925/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.0 (#235) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.6.0` -> `0.8.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.8.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​080-httpswwwgithubcomgoogleapisjava-shared-configcomparev070v080-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.7.0...v0.8.0) ##### Features - revert "feat: mark auto-value-annotations scope as provided" ([#​154](https://www.github.com/googleapis/java-shared-config/issues/154)) ([88afb4e](https://www.github.com/googleapis/java-shared-config/commit/88afb4e7c57cb6e00929c098135314a926d9da30)) ### [`v0.7.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​070-httpswwwgithubcomgoogleapisjava-shared-configcomparev060v070-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.6.0...v0.7.0) ##### Features - mark auto-value-annotations scope as provided ([#​151](https://www.github.com/googleapis/java-shared-config/issues/151)) ([44ea4cb](https://www.github.com/googleapis/java-shared-config/commit/44ea4cbbf92b4ad35ffaffb7a01a1bce05063daf)) ##### Bug Fixes - lock the google-java-format version used by formatter plugin ([#​149](https://www.github.com/googleapis/java-shared-config/issues/149)) ([d58c054](https://www.github.com/googleapis/java-shared-config/commit/d58c05437a4ea8767db2bebfcc405ec77aeb9705))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index f83a448d599c..d26f748fd481 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.6.0 + 0.8.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 641fb2001c40..089186560b51 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.6.0 + 0.8.0 From d72591bc79e57cec6025dd6af6d5e27f64658eed Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Jun 2020 02:04:47 +0200 Subject: [PATCH 0926/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.0 (#72) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.6.0` -> `0.8.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.8.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​080-httpswwwgithubcomgoogleapisjava-shared-configcomparev070v080-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.7.0...v0.8.0) ##### Features - revert "feat: mark auto-value-annotations scope as provided" ([#​154](https://www.github.com/googleapis/java-shared-config/issues/154)) ([88afb4e](https://www.github.com/googleapis/java-shared-config/commit/88afb4e7c57cb6e00929c098135314a926d9da30)) ### [`v0.7.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​070-httpswwwgithubcomgoogleapisjava-shared-configcomparev060v070-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.6.0...v0.7.0) ##### Features - mark auto-value-annotations scope as provided ([#​151](https://www.github.com/googleapis/java-shared-config/issues/151)) ([44ea4cb](https://www.github.com/googleapis/java-shared-config/commit/44ea4cbbf92b4ad35ffaffb7a01a1bce05063daf)) ##### Bug Fixes - lock the google-java-format version used by formatter plugin ([#​149](https://www.github.com/googleapis/java-shared-config/issues/149)) ([d58c054](https://www.github.com/googleapis/java-shared-config/commit/d58c05437a4ea8767db2bebfcc405ec77aeb9705))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 42ce5df20506..09c8a336b5dc 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.6.0 + 0.8.0 From 09b64daf014d152e7b22039f6a4425802e204229 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Jun 2020 02:05:37 +0200 Subject: [PATCH 0927/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.0 (#11) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.6.0` -> `0.8.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.8.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​080-httpswwwgithubcomgoogleapisjava-shared-configcomparev070v080-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.7.0...v0.8.0) ##### Features - revert "feat: mark auto-value-annotations scope as provided" ([#​154](https://www.github.com/googleapis/java-shared-config/issues/154)) ([88afb4e](https://www.github.com/googleapis/java-shared-config/commit/88afb4e7c57cb6e00929c098135314a926d9da30)) ### [`v0.7.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​070-httpswwwgithubcomgoogleapisjava-shared-configcomparev060v070-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.6.0...v0.7.0) ##### Features - mark auto-value-annotations scope as provided ([#​151](https://www.github.com/googleapis/java-shared-config/issues/151)) ([44ea4cb](https://www.github.com/googleapis/java-shared-config/commit/44ea4cbbf92b4ad35ffaffb7a01a1bce05063daf)) ##### Bug Fixes - lock the google-java-format version used by formatter plugin ([#​149](https://www.github.com/googleapis/java-shared-config/issues/149)) ([d58c054](https://www.github.com/googleapis/java-shared-config/commit/d58c05437a4ea8767db2bebfcc405ec77aeb9705))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3df7723b7e8d..2cc69febe240 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.6.0 + 0.8.0 From a64aa9a79a487b5e0a0ba55acb4c51e9511e83e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Jun 2020 00:39:05 +0200 Subject: [PATCH 0928/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.2 (#8) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2cc69febe240..fc8b19075d7c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -64,7 +64,7 @@ github google-iam-parent 1.18.0 - 3.12.0 + 3.12.2 4.13 1.30.0 29.0-android From cb99eb74942374db2a1e3f460a20fce8027893bd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Jun 2020 08:27:34 +0200 Subject: [PATCH 0929/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.2 (#220) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 089186560b51..867a980e5410 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.30.9 1.35.0 1.30.0 - 3.12.0 + 3.12.2 0.24.0 1.3.2 29.0-android From 1abc81b4981148f286a4ea99ba562e5be337537a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Jun 2020 20:25:03 +0200 Subject: [PATCH 0930/3036] deps: update gax to v1.57.0 (#73) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 09c8a336b5dc..cea75e71e2d5 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.30.0 - 1.56.0 + 1.57.0 29.0-android 3.12.2 1.9.2 From 817be7909dbb0bb627b74d1603978be3617dfd27 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Jun 2020 20:33:43 +0200 Subject: [PATCH 0931/3036] deps: update dependency com.google.api:gax-bom to v1.57.0 (#236) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 867a980e5410..3446020281fa 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.56.0 + 1.57.0 1.9.2 1.18.0 0.13.0 From 88b075229b52afde7f1d4e705b32749c8cb8511e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 18:40:16 +0000 Subject: [PATCH 0932/3036] chore: release 1.93.6 (#234) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.6](https://www.github.com/googleapis/java-core/compare/v1.93.5...v1.93.6) (2020-06-12) ### Dependencies * update dependency com.google.api:api-common to v1.9.1 ([#221](https://www.github.com/googleapis/java-core/issues/221)) ([6c5bd7f](https://www.github.com/googleapis/java-core/commit/6c5bd7f7263d5520f188d1bf72024cd60efd5541)) * update dependency com.google.api:api-common to v1.9.2 ([#229](https://www.github.com/googleapis/java-core/issues/229)) ([1f70a2b](https://www.github.com/googleapis/java-core/commit/1f70a2b1220e891001126e477034b580104cacd4)) * update dependency com.google.api:gax-bom to v1.57.0 ([#236](https://www.github.com/googleapis/java-core/issues/236)) ([817be79](https://www.github.com/googleapis/java-core/commit/817be7909dbb0bb627b74d1603978be3617dfd27)) * update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#220](https://www.github.com/googleapis/java-core/issues/220)) ([cb99eb7](https://www.github.com/googleapis/java-core/commit/cb99eb74942374db2a1e3f460a20fce8027893bd)) * update dependency io.grpc:grpc-bom to v1.30.0 ([#233](https://www.github.com/googleapis/java-core/issues/233)) ([1a58552](https://www.github.com/googleapis/java-core/commit/1a585524249d14ed82397c44e2c32960dbd17365)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 11 +++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 23 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index e920b3f35227..bb01ce319ea0 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +### [1.93.6](https://www.github.com/googleapis/java-core/compare/v1.93.5...v1.93.6) (2020-06-12) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.9.1 ([#221](https://www.github.com/googleapis/java-core/issues/221)) ([4df33f0](https://www.github.com/googleapis/java-core/commit/4df33f0da02855161562e80a9d50e52dc21f4693)) +* update dependency com.google.api:api-common to v1.9.2 ([#229](https://www.github.com/googleapis/java-core/issues/229)) ([e8c1aa2](https://www.github.com/googleapis/java-core/commit/e8c1aa2ff9c1eaa4030faa86b403a77fc6602bdb)) +* update dependency com.google.api:gax-bom to v1.57.0 ([#236](https://www.github.com/googleapis/java-core/issues/236)) ([3d7d2a6](https://www.github.com/googleapis/java-core/commit/3d7d2a69ea95d7cd93f1175e0cc7f051fd591ad8)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#220](https://www.github.com/googleapis/java-core/issues/220)) ([815569d](https://www.github.com/googleapis/java-core/commit/815569d7274cccd12110062e72dc8774f3b1d3de)) +* update dependency io.grpc:grpc-bom to v1.30.0 ([#233](https://www.github.com/googleapis/java-core/issues/233)) ([b41c34f](https://www.github.com/googleapis/java-core/commit/b41c34f28a2cddddafbb872bbd0100a934972042)) + ### [1.93.5](https://www.github.com/googleapis/java-core/compare/v1.93.4...v1.93.5) (2020-05-26) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index d26f748fd481..653d115a05ce 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.6-SNAPSHOT + 1.93.6 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.6-SNAPSHOT + 1.93.6 com.google.cloud google-cloud-core-grpc - 1.93.6-SNAPSHOT + 1.93.6 com.google.cloud google-cloud-core-http - 1.93.6-SNAPSHOT + 1.93.6 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6229f3efa020..e0f77ea270b7 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 - 1.93.6-SNAPSHOT + 1.93.6 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.6-SNAPSHOT + 1.93.6 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 5cce4eafd81d..2e89f52c35f5 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 - 1.93.6-SNAPSHOT + 1.93.6 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.6-SNAPSHOT + 1.93.6 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c919831f14ff..26214f446a47 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 - 1.93.6-SNAPSHOT + 1.93.6 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.6-SNAPSHOT + 1.93.6 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3446020281fa..8d9d74fddd41 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.6-SNAPSHOT + 1.93.6 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 86c430d7d54c..4142ea08e4aa 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.5:1.93.6-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.6:1.93.6 \ No newline at end of file From 3efa287a05760981ffbde23d6c251ed045bd4467 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Jun 2020 21:30:33 +0200 Subject: [PATCH 0933/3036] deps: update core dependencies to v1.93.6 (#74) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cea75e71e2d5..63da64987ac5 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.12.2 1.9.2 1.18.0 - 1.93.5 + 1.93.6 0.20.0 1.35.0 1.30.9 From a5f156adafa9ac9a42a7725764bae2f8f27a7f95 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2020 19:36:17 +0000 Subject: [PATCH 0934/3036] chore: release 0.8.0 (#71) :robot: I have created a release \*beep\* \*boop\* --- ## [0.8.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.7.0...v0.8.0) (2020-06-12) ### Features * mark javax annotations scope as provided ([#70](https://www.github.com/googleapis/java-shared-dependencies/issues/70)) ([fe60399](https://www.github.com/googleapis/java-shared-dependencies/commit/fe60399c9dfdb10f3485be7412099d0bd5b460f8)) ### Dependencies * update core dependencies to v1.93.6 ([#74](https://www.github.com/googleapis/java-shared-dependencies/issues/74)) ([3efa287](https://www.github.com/googleapis/java-shared-dependencies/commit/3efa287a05760981ffbde23d6c251ed045bd4467)) * update dependency com.google.api:api-common to v1.9.2 ([#63](https://www.github.com/googleapis/java-shared-dependencies/issues/63)) ([34ec1c9](https://www.github.com/googleapis/java-shared-dependencies/commit/34ec1c94ae251ce157ecf6bd75809b665f871800)) * update dependency io.grpc:grpc-bom to v1.30.0 ([#68](https://www.github.com/googleapis/java-shared-dependencies/issues/68)) ([9699f4b](https://www.github.com/googleapis/java-shared-dependencies/commit/9699f4bbd2509108ff3efed39842ee4bf23a5b19)) * update gax to v1.57.0 ([#73](https://www.github.com/googleapis/java-shared-dependencies/issues/73)) ([1abc81b](https://www.github.com/googleapis/java-shared-dependencies/commit/1abc81b4981148f286a4ea99ba562e5be337537a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 15 +++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index ce5baf59410d..9e3b5ac052ba 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [0.8.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.7.0...v0.8.0) (2020-06-12) + + +### Features + +* mark javax annotations scope as provided ([#70](https://www.github.com/googleapis/java-shared-dependencies/issues/70)) ([7bc7057](https://www.github.com/googleapis/java-shared-dependencies/commit/7bc70579a01ab761b52f8eef3d0a184b5eec26ae)) + + +### Dependencies + +* update core dependencies to v1.93.6 ([#74](https://www.github.com/googleapis/java-shared-dependencies/issues/74)) ([791639e](https://www.github.com/googleapis/java-shared-dependencies/commit/791639e805b2dcaf9b8e2c04a0428f74c029f94f)) +* update dependency com.google.api:api-common to v1.9.2 ([#63](https://www.github.com/googleapis/java-shared-dependencies/issues/63)) ([ee92a0e](https://www.github.com/googleapis/java-shared-dependencies/commit/ee92a0eb45595fa229cd6fa745f9f3cfa74bb65c)) +* update dependency io.grpc:grpc-bom to v1.30.0 ([#68](https://www.github.com/googleapis/java-shared-dependencies/issues/68)) ([ccf2310](https://www.github.com/googleapis/java-shared-dependencies/commit/ccf23106d29871855511cba0d4e704e4186347f5)) +* update gax to v1.57.0 ([#73](https://www.github.com/googleapis/java-shared-dependencies/issues/73)) ([b0ae1eb](https://www.github.com/googleapis/java-shared-dependencies/commit/b0ae1ebc7a6d4ca90ee50e3a827fcbcea06cfcf1)) + ## [0.7.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.6.0...v0.7.0) (2020-05-28) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 10742a60b4dc..5c138c2fc96a 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.7.0 + 0.8.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 63da64987ac5..f08bca069391 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 - 0.7.1-SNAPSHOT + 0.8.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 0fcc13a36b1e..fc501b47112e 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.7.0:0.7.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.8.0:0.8.0 \ No newline at end of file From ec2f40dcbdfae8b6eafa323fca60b17869c01ee0 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 12 Jun 2020 19:16:31 -0700 Subject: [PATCH 0935/3036] Revert "feat: mark javax annotations scope as provided (#70)" (#75) This reverts commit fe60399c9dfdb10f3485be7412099d0bd5b460f8. --- java-shared-dependencies/pom.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f08bca069391..b2925792e423 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -162,10 +162,6 @@ javax.annotation javax.annotation-api ${javax.annotations.version} - - provided org.codehaus.mojo From 7b0f8abbbd589c5efe85617aaf1717295d30c707 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 02:24:12 +0000 Subject: [PATCH 0936/3036] chore: release 0.8.1-SNAPSHOT (#76) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b2925792e423..c771f8189859 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 - 0.8.0 + 0.8.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index fc501b47112e..175d53f65d59 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.0:0.8.0 \ No newline at end of file +google-cloud-shared-dependencies:0.8.0:0.8.1-SNAPSHOT \ No newline at end of file From 1091fd44eeb6e9dc20b3406e5e153941eeb467fb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 13 Jun 2020 02:28:13 +0000 Subject: [PATCH 0937/3036] chore: release 0.8.1 (#77) :robot: I have created a release \*beep\* \*boop\* --- ### [0.8.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.0...v0.8.1) (2020-06-13) ### Reverts * Revert "feat: mark javax annotations scope as provided (#70)" (#75) ([ec2f40d](https://www.github.com/googleapis/java-shared-dependencies/commit/ec2f40dcbdfae8b6eafa323fca60b17869c01ee0)), closes [#70](https://www.github.com/googleapis/java-shared-dependencies/issues/70) [#75](https://www.github.com/googleapis/java-shared-dependencies/issues/75) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 9e3b5ac052ba..c814450a1aad 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.8.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.0...v0.8.1) (2020-06-13) + + +### Reverts + +* Revert "feat: mark javax annotations scope as provided (#70)" (#75) ([d2f23ec](https://www.github.com/googleapis/java-shared-dependencies/commit/d2f23ecae56a1ec07b1217f0fca5347dd0f0406b)), closes [#70](https://www.github.com/googleapis/java-shared-dependencies/issues/70) [#75](https://www.github.com/googleapis/java-shared-dependencies/issues/75) + ## [0.8.0](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.7.0...v0.8.0) (2020-06-12) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 5c138c2fc96a..a8c935b756ec 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.8.0 + 0.8.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c771f8189859..1a67942189e6 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 - 0.8.1-SNAPSHOT + 0.8.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 175d53f65d59..9fdac9df3048 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.0:0.8.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.8.1:0.8.1 \ No newline at end of file From 7dfd7576ee3f0efd524504ca8c3bce57e5952175 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Jun 2020 22:35:23 +0200 Subject: [PATCH 0938/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.1 --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 653d115a05ce..7d9e332a4f68 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 8d9d74fddd41..ddb91ccfb33d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 From 55443eb163387ffc9ce7e786f87d2a2ceef7026a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Jun 2020 22:36:20 +0200 Subject: [PATCH 0939/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.1 --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1a67942189e6..eeb16335836c 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 From 46127b88224f9707a17ee39528100358d46e4d7f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Jun 2020 22:36:30 +0200 Subject: [PATCH 0940/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.1 --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index fc8b19075d7c..a656f38eb03b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 From eeccf170bc79c1b105f20b8dbd55f56d3e4dca1e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2020 21:26:12 +0000 Subject: [PATCH 0941/3036] chore: release 1.93.7-SNAPSHOT (#238) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 7d9e332a4f68..a87192e1225b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.6 + 1.93.7-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.6 + 1.93.7-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.6 + 1.93.7-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.6 + 1.93.7-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e0f77ea270b7..ddd97767458e 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 - 1.93.6 + 1.93.7-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.6 + 1.93.7-SNAPSHOT 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 2e89f52c35f5..a165c80a0ce8 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 - 1.93.6 + 1.93.7-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.6 + 1.93.7-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 26214f446a47..16c95d315565 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 - 1.93.6 + 1.93.7-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.6 + 1.93.7-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index ddb91ccfb33d..f2b139e1d040 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.6 + 1.93.7-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4142ea08e4aa..1408e5d048d8 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.6:1.93.6 \ No newline at end of file +google-cloud-core:1.93.6:1.93.7-SNAPSHOT \ No newline at end of file From 9f2bc35b8908ba57466fee35720ea40e165972d1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2020 21:26:38 +0000 Subject: [PATCH 0942/3036] chore: release 0.8.2-SNAPSHOT (#79) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index eeb16335836c..bbed741dd5dd 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 - 0.8.1 + 0.8.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 9fdac9df3048..ee2d7e6dbb8c 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.1:0.8.1 \ No newline at end of file +google-cloud-shared-dependencies:0.8.1:0.8.2-SNAPSHOT \ No newline at end of file From f7a2977e5a676323eb618789d760a64496c05a13 Mon Sep 17 00:00:00 2001 From: yangnuoyu <46553752+yangnuoyu@users.noreply.github.com> Date: Wed, 17 Jun 2020 19:11:57 -0700 Subject: [PATCH 0943/3036] feat(deps): adopt flatten plugin and google-cloud-shared-dependencies (#14) --- java-iam/.gitignore | 2 ++ java-iam/grpc-google-iam-v1/pom.xml | 1 - java-iam/pom.xml | 32 +++++------------------------ 3 files changed, 7 insertions(+), 28 deletions(-) diff --git a/java-iam/.gitignore b/java-iam/.gitignore index fadd6afc2dfd..069d08fc73e8 100644 --- a/java-iam/.gitignore +++ b/java-iam/.gitignore @@ -13,3 +13,5 @@ target/ # python utilities *.pyc __pycache__ + +.flattened-pom.xml diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 4948f365f6ac..e33afd03d19a 100644 --- a/java-iam/grpc-google-iam-v1/pom.xml +++ b/java-iam/grpc-google-iam-v1/pom.xml @@ -58,7 +58,6 @@ javax.annotation javax.annotation-api - 1.3.2 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a656f38eb03b..e771161c7673 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -63,39 +63,17 @@ UTF-8 github google-iam-parent - 1.18.0 - 3.12.2 - 4.13 - 1.30.0 - 29.0-android - com.google.protobuf - protobuf-bom - ${protobuf.version} + com.google.cloud + google-cloud-shared-dependencies + 0.8.1 pom import - - io.grpc - grpc-bom - ${grpc.version} - pom - import - - - com.google.api.grpc - proto-google-common-protos - ${google.common-protos.version} - - - com.google.guava - guava - ${guava.version} - com.google.api.grpc proto-google-iam-v1 @@ -105,7 +83,7 @@ junit junit - ${junit.version} + 4.13 test @@ -179,7 +157,7 @@ https://developers.google.com/protocol-buffers/docs/reference/java/ https://googleapis.dev/java/google-auth-library/latest/ https://googleapis.dev/java/gax/latest/ - https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ + https://googleapis.github.io/api-common-java/
    From dbe694b1d8f0dd364801af2527bf15632b36faad Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Jun 2020 23:30:15 -0700 Subject: [PATCH 0944/3036] ci: switch to secret manager for sample/integration tests (#240) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2c593734-539a-435d-8a04-27f04c90082f/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/c4f3059c27591eb24d6942a0e357ec94c80459f2 Source-Link: https://github.com/googleapis/synthtool/commit/6eb80fa9f96433af8dbeb1c8323aa80cda49b374 Source-Link: https://github.com/googleapis/synthtool/commit/6d3eed67a45fd58f9c7bfa173c32e4fd4fed058f Source-Link: https://github.com/googleapis/synthtool/commit/d1addcdf80aa9ddef8c932c89c919024bbad7af3 --- java-core/.kokoro/build.sh | 2 +- java-core/.kokoro/nightly/integration.cfg | 12 ++---- java-core/.kokoro/nightly/samples.cfg | 16 +++----- java-core/.kokoro/populate-secrets.sh | 43 +++++++++++++++++++++ java-core/.kokoro/presubmit/integration.cfg | 12 ++---- java-core/.kokoro/presubmit/samples.cfg | 14 +++---- java-core/.kokoro/trampoline.sh | 2 + java-core/synth.metadata | 4 +- 8 files changed, 67 insertions(+), 38 deletions(-) create mode 100755 java-core/.kokoro/populate-secrets.sh diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 9ee206e5c6ab..c0ac0216d964 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -39,7 +39,7 @@ retry_with_backoff 3 10 \ # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi RETURN_CODE=0 diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg index 40c4abb7bf08..0048c8ece7e5 100644 --- a/java-core/.kokoro/nightly/integration.cfg +++ b/java-core/.kokoro/nightly/integration.cfg @@ -28,14 +28,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/java-core/.kokoro/nightly/samples.cfg b/java-core/.kokoro/nightly/samples.cfg index 20aabd55de11..f25429314f4d 100644 --- a/java-core/.kokoro/nightly/samples.cfg +++ b/java-core/.kokoro/nightly/samples.cfg @@ -24,19 +24,15 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } env_vars: { - key: "ENABLE_BUILD_COP" - value: "true" + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } diff --git a/java-core/.kokoro/populate-secrets.sh b/java-core/.kokoro/populate-secrets.sh new file mode 100755 index 000000000000..f52514257ef0 --- /dev/null +++ b/java-core/.kokoro/populate-secrets.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} +function msg { println "$*" >&2 ;} +function println { printf '%s\n' "$(now) $*" ;} + + +# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: +# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com +SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" +msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" +mkdir -p ${SECRET_LOCATION} +for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") +do + msg "Retrieving secret ${key}" + docker run --entrypoint=gcloud \ + --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ + gcr.io/google.com/cloudsdktool/cloud-sdk \ + secrets versions access latest \ + --project cloud-devrel-kokoro-resources \ + --secret ${key} > \ + "${SECRET_LOCATION}/${key}" + if [[ $? == 0 ]]; then + msg "Secret written to ${SECRET_LOCATION}/${key}" + else + msg "Error retrieving secret ${key}" + fi +done diff --git a/java-core/.kokoro/presubmit/integration.cfg b/java-core/.kokoro/presubmit/integration.cfg index 522e5b10101c..dded67a9d54a 100644 --- a/java-core/.kokoro/presubmit/integration.cfg +++ b/java-core/.kokoro/presubmit/integration.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/java-core/.kokoro/presubmit/samples.cfg b/java-core/.kokoro/presubmit/samples.cfg index 1171aead01f0..01e0960047b8 100644 --- a/java-core/.kokoro/presubmit/samples.cfg +++ b/java-core/.kokoro/presubmit/samples.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} \ No newline at end of file diff --git a/java-core/.kokoro/trampoline.sh b/java-core/.kokoro/trampoline.sh index ba17ce01466b..9da0f8398773 100644 --- a/java-core/.kokoro/trampoline.sh +++ b/java-core/.kokoro/trampoline.sh @@ -21,4 +21,6 @@ function cleanup() { echo "cleanup"; } trap cleanup EXIT + +$(dirname $0)/populate-secrets.sh # Secret Manager secrets. python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 04d58b9a60a6..d01d7541a6f2 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "feed7e4380b564eb33932fe3eb02614e04441b76" + "sha": "5ac545217f4d4cabdf4d53056fb93eb2c809597d" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e" + "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" } } ] From 5b4e36ea27d650b6be3e063c6d359b3bda697f44 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Jun 2020 23:36:07 -0700 Subject: [PATCH 0945/3036] ci: switch to secret manager for sample/integration tests (#81) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2c593734-539a-435d-8a04-27f04c90082f/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/c4f3059c27591eb24d6942a0e357ec94c80459f2 Source-Link: https://github.com/googleapis/synthtool/commit/6eb80fa9f96433af8dbeb1c8323aa80cda49b374 Source-Link: https://github.com/googleapis/synthtool/commit/6d3eed67a45fd58f9c7bfa173c32e4fd4fed058f Source-Link: https://github.com/googleapis/synthtool/commit/d1addcdf80aa9ddef8c932c89c919024bbad7af3 --- java-shared-dependencies/.kokoro/build.sh | 2 +- .../.kokoro/nightly/integration.cfg | 12 ++---- .../.kokoro/nightly/samples.cfg | 16 +++---- .../.kokoro/populate-secrets.sh | 43 +++++++++++++++++++ .../.kokoro/presubmit/integration.cfg | 12 ++---- .../.kokoro/presubmit/samples.cfg | 14 +++--- .../.kokoro/trampoline.sh | 2 + java-shared-dependencies/synth.metadata | 4 +- 8 files changed, 67 insertions(+), 38 deletions(-) create mode 100755 java-shared-dependencies/.kokoro/populate-secrets.sh diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index a32bc6201b31..b80c96804466 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -39,7 +39,7 @@ retry_with_backoff 3 10 \ # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi RETURN_CODE=0 diff --git a/java-shared-dependencies/.kokoro/nightly/integration.cfg b/java-shared-dependencies/.kokoro/nightly/integration.cfg index 40c4abb7bf08..0048c8ece7e5 100644 --- a/java-shared-dependencies/.kokoro/nightly/integration.cfg +++ b/java-shared-dependencies/.kokoro/nightly/integration.cfg @@ -28,14 +28,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/java-shared-dependencies/.kokoro/nightly/samples.cfg b/java-shared-dependencies/.kokoro/nightly/samples.cfg index 20aabd55de11..f25429314f4d 100644 --- a/java-shared-dependencies/.kokoro/nightly/samples.cfg +++ b/java-shared-dependencies/.kokoro/nightly/samples.cfg @@ -24,19 +24,15 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } env_vars: { - key: "ENABLE_BUILD_COP" - value: "true" + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } diff --git a/java-shared-dependencies/.kokoro/populate-secrets.sh b/java-shared-dependencies/.kokoro/populate-secrets.sh new file mode 100755 index 000000000000..f52514257ef0 --- /dev/null +++ b/java-shared-dependencies/.kokoro/populate-secrets.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} +function msg { println "$*" >&2 ;} +function println { printf '%s\n' "$(now) $*" ;} + + +# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: +# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com +SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" +msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" +mkdir -p ${SECRET_LOCATION} +for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") +do + msg "Retrieving secret ${key}" + docker run --entrypoint=gcloud \ + --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ + gcr.io/google.com/cloudsdktool/cloud-sdk \ + secrets versions access latest \ + --project cloud-devrel-kokoro-resources \ + --secret ${key} > \ + "${SECRET_LOCATION}/${key}" + if [[ $? == 0 ]]; then + msg "Secret written to ${SECRET_LOCATION}/${key}" + else + msg "Error retrieving secret ${key}" + fi +done diff --git a/java-shared-dependencies/.kokoro/presubmit/integration.cfg b/java-shared-dependencies/.kokoro/presubmit/integration.cfg index 522e5b10101c..dded67a9d54a 100644 --- a/java-shared-dependencies/.kokoro/presubmit/integration.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/integration.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/java-shared-dependencies/.kokoro/presubmit/samples.cfg b/java-shared-dependencies/.kokoro/presubmit/samples.cfg index 1171aead01f0..01e0960047b8 100644 --- a/java-shared-dependencies/.kokoro/presubmit/samples.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/samples.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/trampoline.sh b/java-shared-dependencies/.kokoro/trampoline.sh index ba17ce01466b..9da0f8398773 100644 --- a/java-shared-dependencies/.kokoro/trampoline.sh +++ b/java-shared-dependencies/.kokoro/trampoline.sh @@ -21,4 +21,6 @@ function cleanup() { echo "cleanup"; } trap cleanup EXIT + +$(dirname $0)/populate-secrets.sh # Secret Manager secrets. python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 8421bd3a958a..65168245abcf 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "d5d50eed4fe5a0142b2bf1c9fb6f1064d6205cf8" + "sha": "60814f8f3dd42e6111cab2276f7cd74c4b32d434" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e" + "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" } } ] From 98ac2ad3289119cfba2e543546632493dd59c382 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 22 Jun 2020 21:44:38 +0200 Subject: [PATCH 0946/3036] deps: update dependency io.grpc:grpc-bom to v1.30.1 (#82) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index bbed741dd5dd..d6711554c983 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.30.0 + 1.30.1 1.57.0 29.0-android 3.12.2 From 9fb6472e3a70b4e5451cc49a3fd36b380da59824 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 23 Jun 2020 21:36:21 +0200 Subject: [PATCH 0947/3036] deps: update dependency io.grpc:grpc-bom to v1.30.2 (#85) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d6711554c983..6c6f68b1c3bb 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.30.1 + 1.30.2 1.57.0 29.0-android 3.12.2 From 8024735eff39164fad62125910b571a15dfedcb4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 07:33:11 +0200 Subject: [PATCH 0948/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.0 (#243) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.8.1` -> `0.9.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.9.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​090-httpswwwgithubcomgoogleapisjava-shared-configcomparev081v090-2020-06-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.8.1...v0.9.0) ##### Features - add ignore rule for javax annotations to handle error in java11 ([#​171](https://www.github.com/googleapis/java-shared-config/issues/171)) ([cd635ad](https://www.github.com/googleapis/java-shared-config/commit/cd635ad6e8e5d71ac3a30e7656eb788027f1c370)) ##### [0.8.1](https://www.github.com/googleapis/java-shared-config/compare/v0.8.0...v0.8.1) (2020-06-15) ##### Bug Fixes - bump flatten plugin version to fix missing version in profile section issue ([#​159](https://www.github.com/googleapis/java-shared-config/issues/159)) ([5b34939](https://www.github.com/googleapis/java-shared-config/commit/5b349399a590b589718b7049f66c82ee38742372))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a87192e1225b..5b086e8e106d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index f2b139e1d040..cad47cbee284 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 From f75fb4a3d2c37ad36bb689b27d231fa75f5d9913 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 07:34:08 +0200 Subject: [PATCH 0949/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.0 (#87) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.8.1` -> `0.9.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.9.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​090-httpswwwgithubcomgoogleapisjava-shared-configcomparev081v090-2020-06-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.8.1...v0.9.0) ##### Features - add ignore rule for javax annotations to handle error in java11 ([#​171](https://www.github.com/googleapis/java-shared-config/issues/171)) ([cd635ad](https://www.github.com/googleapis/java-shared-config/commit/cd635ad6e8e5d71ac3a30e7656eb788027f1c370)) ##### [0.8.1](https://www.github.com/googleapis/java-shared-config/compare/v0.8.0...v0.8.1) (2020-06-15) ##### Bug Fixes - bump flatten plugin version to fix missing version in profile section issue ([#​159](https://www.github.com/googleapis/java-shared-config/issues/159)) ([5b34939](https://www.github.com/googleapis/java-shared-config/commit/5b349399a590b589718b7049f66c82ee38742372))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6c6f68b1c3bb..7e2faa9d2433 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 From 7e67d7795c387b63052fb920a4d22cfd2e2b4744 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 07:34:21 +0200 Subject: [PATCH 0950/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.0 (#17) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.8.1` -> `0.9.0` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.9.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​090-httpswwwgithubcomgoogleapisjava-shared-configcomparev081v090-2020-06-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.8.1...v0.9.0) ##### Features - add ignore rule for javax annotations to handle error in java11 ([#​171](https://www.github.com/googleapis/java-shared-config/issues/171)) ([cd635ad](https://www.github.com/googleapis/java-shared-config/commit/cd635ad6e8e5d71ac3a30e7656eb788027f1c370)) ##### [0.8.1](https://www.github.com/googleapis/java-shared-config/compare/v0.8.0...v0.8.1) (2020-06-15) ##### Bug Fixes - bump flatten plugin version to fix missing version in profile section issue ([#​159](https://www.github.com/googleapis/java-shared-config/issues/159)) ([5b34939](https://www.github.com/googleapis/java-shared-config/commit/5b349399a590b589718b7049f66c82ee38742372))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e771161c7673..9642e5c35a34 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 From dc7d908583aebf3b3229934b9fbe52577b1a6a41 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 27 Jun 2020 00:30:49 +0200 Subject: [PATCH 0951/3036] deps: update core dependencies (#241) --- java-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index cad47cbee284..3798c66e3e53 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,10 +155,10 @@ 1.9.2 1.18.0 0.13.0 - 0.20.0 + 0.21.0 1.30.9 1.35.0 - 1.30.0 + 1.30.2 3.12.2 0.24.0 1.3.2 From 570a204a32e8d124adc2f36bfbf1467144d1df52 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Jul 2020 15:02:26 +0200 Subject: [PATCH 0952/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.36.0 (#89) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7e2faa9d2433..515eb41d9dc0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.18.0 1.93.6 0.20.0 - 1.35.0 + 1.36.0 1.30.9 2.8.6 1.4.4 From 922f2bf0f71f66e2032af6e05e889df18d4d5564 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Jul 2020 15:20:10 +0200 Subject: [PATCH 0953/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.21.0 (#86) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 515eb41d9dc0..4f1de6e2d188 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.9.2 1.18.0 1.93.6 - 0.20.0 + 0.21.0 1.36.0 1.30.9 2.8.6 From 129bff6a659e367b50595abaedf92fca98ade600 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2020 16:06:04 +0000 Subject: [PATCH 0954/3036] chore: release 0.8.2 (#84) :robot: I have created a release \*beep\* \*boop\* --- ### [0.8.2](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2) (2020-07-01) ### Dependencies * update dependency com.google.auth:google-auth-library-bom to v0.21.0 ([#86](https://www.github.com/googleapis/java-shared-dependencies/issues/86)) ([922f2bf](https://www.github.com/googleapis/java-shared-dependencies/commit/922f2bf0f71f66e2032af6e05e889df18d4d5564)) * update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#89](https://www.github.com/googleapis/java-shared-dependencies/issues/89)) ([570a204](https://www.github.com/googleapis/java-shared-dependencies/commit/570a204a32e8d124adc2f36bfbf1467144d1df52)) * update dependency io.grpc:grpc-bom to v1.30.1 ([#82](https://www.github.com/googleapis/java-shared-dependencies/issues/82)) ([98ac2ad](https://www.github.com/googleapis/java-shared-dependencies/commit/98ac2ad3289119cfba2e543546632493dd59c382)) * update dependency io.grpc:grpc-bom to v1.30.2 ([#85](https://www.github.com/googleapis/java-shared-dependencies/issues/85)) ([9fb6472](https://www.github.com/googleapis/java-shared-dependencies/commit/9fb6472e3a70b4e5451cc49a3fd36b380da59824)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 10 ++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index c814450a1aad..d631ba884b22 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### [0.8.2](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2) (2020-07-01) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.21.0 ([#86](https://www.github.com/googleapis/java-shared-dependencies/issues/86)) ([dc9d717](https://www.github.com/googleapis/java-shared-dependencies/commit/dc9d717fdec4f0962141ba34e98f5737ec3bc57a)) +* update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#89](https://www.github.com/googleapis/java-shared-dependencies/issues/89)) ([12437d7](https://www.github.com/googleapis/java-shared-dependencies/commit/12437d7392a430299c3372d18d2650b62be60eaf)) +* update dependency io.grpc:grpc-bom to v1.30.1 ([#82](https://www.github.com/googleapis/java-shared-dependencies/issues/82)) ([a5199a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a5199a02d5bde75e86349b37c1efae64a6379a40)) +* update dependency io.grpc:grpc-bom to v1.30.2 ([#85](https://www.github.com/googleapis/java-shared-dependencies/issues/85)) ([084d18d](https://www.github.com/googleapis/java-shared-dependencies/commit/084d18daab010c6b0be04e67b42ca8ab8ba5f3d5)) + ### [0.8.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.0...v0.8.1) (2020-06-13) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index a8c935b756ec..6815fadffffd 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.8.1 + 0.8.2 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4f1de6e2d188..03734d2267e9 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 - 0.8.2-SNAPSHOT + 0.8.2 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index ee2d7e6dbb8c..abb903a73078 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.1:0.8.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.8.2:0.8.2 \ No newline at end of file From 7bc68e37823e73d65e2c32fa3ba3e17c853a1b38 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Jul 2020 21:07:36 +0200 Subject: [PATCH 0955/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 (#18) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | patch | `0.8.1` -> `0.8.2` | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.8.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​082-httpswwwgithubcomgoogleapisjava-shared-dependenciescomparev081v082-2020-07-01) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9642e5c35a34..95dfd9b315cb 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.8.1 + 0.8.2 pom import From 01c76070c5cc0834db9dc4ad2a633ea4465ecf1d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Jul 2020 23:23:26 +0200 Subject: [PATCH 0956/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.1 (#90) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 03734d2267e9..49bcdf232c78 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.1 From 2035909ab8caf179a094773ebb583ed602f3401a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Jul 2020 23:23:53 +0200 Subject: [PATCH 0957/3036] deps: update dependency com.google.api:api-common to v1.9.3 (#91) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 49bcdf232c78..fffaa85a763a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.57.0 29.0-android 3.12.2 - 1.9.2 + 1.9.3 1.18.0 1.93.6 0.21.0 From c0cd3cdf14b3db4c9e6480f39fb19a696586ae61 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 7 Jul 2020 12:56:58 -0700 Subject: [PATCH 0958/3036] ci(java): run dependency test on Java 8 and 11 (#88) Redo fix in #633 with proper jinja templating format Source-Author: Jeff Ching Source-Date: Fri Jun 19 16:52:15 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 4f2c9f752a94042472fc03c5bd9e06e89817d2bd Source-Link: https://github.com/googleapis/synthtool/commit/4f2c9f752a94042472fc03c5bd9e06e89817d2bd --- java-shared-dependencies/.github/workflows/ci.yaml | 5 ++++- java-shared-dependencies/.kokoro/dependencies.sh | 4 +++- java-shared-dependencies/synth.metadata | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 445b4bf82ffd..683022075665 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -36,11 +36,14 @@ jobs: JOB_TYPE: test dependencies: runs-on: ubuntu-latest + strategy: + matrix: + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 8 + java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh linkage-monitor: diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index cf3bb4347e01..cee4f11e7547 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -41,8 +41,10 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" ## Run dependency list completeness check function completenessCheck() { # Output dep list with compile scope generated using the original pom + # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. + # This is stripped from the output as it is not present in the flattened pom. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt # Output dep list generated using the flattened pom (test scope deps are ommitted) msg "Generating dependency list using flattened pom..." diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 65168245abcf..51893386aa25 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "60814f8f3dd42e6111cab2276f7cd74c4b32d434" + "sha": "3d9e38a8e3e7a1d9b4497e129d59a7d96244d3b9" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" + "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd" } } ] From 14c5288f0e2ef5a7fe3aa6ead65b08085cfbffac Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 7 Jul 2020 14:08:44 -0700 Subject: [PATCH 0959/3036] ci(java): run dependency test on Java 8 and 11 (#247) Redo fix in #633 with proper jinja templating format Source-Author: Jeff Ching Source-Date: Fri Jun 19 16:52:15 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 4f2c9f752a94042472fc03c5bd9e06e89817d2bd Source-Link: https://github.com/googleapis/synthtool/commit/4f2c9f752a94042472fc03c5bd9e06e89817d2bd --- java-core/.github/workflows/ci.yaml | 5 ++++- java-core/.kokoro/dependencies.sh | 4 +++- java-core/synth.metadata | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 445b4bf82ffd..683022075665 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -36,11 +36,14 @@ jobs: JOB_TYPE: test dependencies: runs-on: ubuntu-latest + strategy: + matrix: + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 8 + java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh linkage-monitor: diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index cf3bb4347e01..cee4f11e7547 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -41,8 +41,10 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" ## Run dependency list completeness check function completenessCheck() { # Output dep list with compile scope generated using the original pom + # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. + # This is stripped from the output as it is not present in the flattened pom. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt # Output dep list generated using the flattened pom (test scope deps are ommitted) msg "Generating dependency list using flattened pom..." diff --git a/java-core/synth.metadata b/java-core/synth.metadata index d01d7541a6f2..0bc9ed352efe 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "5ac545217f4d4cabdf4d53056fb93eb2c809597d" + "sha": "60a4a054d54119807aa8d0342f76d2925c35f2a6" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" + "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd" } } ] From 99e838bf70c0549598805e08ecb107cb0a283201 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Jul 2020 23:16:49 +0200 Subject: [PATCH 0960/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.4.0 (#226) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3798c66e3e53..715f184f5ad4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.4.4 2.6 - 2.3.4 + 2.4.0 2.8.6 From fae0b3bd897b50bf85397884bf7845b33df618ea Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Jul 2020 23:17:05 +0200 Subject: [PATCH 0961/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.36.0 (#248) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 715f184f5ad4..9d83fa198bb1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 0.13.0 0.21.0 1.30.9 - 1.35.0 + 1.36.0 1.30.2 3.12.2 0.24.0 From 2b19aaa2bb3dc840a680e6d3ef21a69f25179fd3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Jul 2020 23:17:32 +0200 Subject: [PATCH 0962/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#249) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 5b086e8e106d..8327748bbc93 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.2 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9d83fa198bb1..2db3492235d1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.2 From be45c8ed99e81fb041d5c755b313ce1804a2116b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Jul 2020 23:17:53 +0200 Subject: [PATCH 0963/3036] deps: update dependency com.google.api:api-common to v1.9.3 (#250) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2db3492235d1..8ed3eca81ab8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.57.0 - 1.9.2 + 1.9.3 1.18.0 0.13.0 0.21.0 From 5a0be131c7bf1a9f3511687a5232396980bbc1d7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 8 Jul 2020 01:56:08 +0200 Subject: [PATCH 0964/3036] deps: update dependency com.google.api:gax-bom to v1.57.1 (#251) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8ed3eca81ab8..1eaa4c270ae9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.57.0 + 1.57.1 1.9.3 1.18.0 0.13.0 From 1aeed6e3ae57a78177d069f3edfef47db15bd5b1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 8 Jul 2020 17:55:07 +0200 Subject: [PATCH 0965/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.21.1 (#252) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1eaa4c270ae9..e11d242db211 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.9.3 1.18.0 0.13.0 - 0.21.0 + 0.21.1 1.30.9 1.36.0 1.30.2 From 41897438657e62308614ad50012a40b9678b10c8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2020 16:30:05 +0000 Subject: [PATCH 0966/3036] chore: release 1.93.7 (#246) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.7](https://www.github.com/googleapis/java-core/compare/v1.93.6...v1.93.7) (2020-07-08) ### Dependencies * update core dependencies ([#241](https://www.github.com/googleapis/java-core/issues/241)) ([dc7d908](https://www.github.com/googleapis/java-core/commit/dc7d908583aebf3b3229934b9fbe52577b1a6a41)) * update dependency com.google.api:api-common to v1.9.3 ([#250](https://www.github.com/googleapis/java-core/issues/250)) ([be45c8e](https://www.github.com/googleapis/java-core/commit/be45c8ed99e81fb041d5c755b313ce1804a2116b)) * update dependency com.google.api:gax-bom to v1.57.1 ([#251](https://www.github.com/googleapis/java-core/issues/251)) ([5a0be13](https://www.github.com/googleapis/java-core/commit/5a0be131c7bf1a9f3511687a5232396980bbc1d7)) * update dependency com.google.auth:google-auth-library-bom to v0.21.1 ([#252](https://www.github.com/googleapis/java-core/issues/252)) ([1aeed6e](https://www.github.com/googleapis/java-core/commit/1aeed6e3ae57a78177d069f3edfef47db15bd5b1)) * update dependency com.google.errorprone:error_prone_annotations to v2.4.0 ([#226](https://www.github.com/googleapis/java-core/issues/226)) ([99e838b](https://www.github.com/googleapis/java-core/commit/99e838bf70c0549598805e08ecb107cb0a283201)) * update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#248](https://www.github.com/googleapis/java-core/issues/248)) ([fae0b3b](https://www.github.com/googleapis/java-core/commit/fae0b3bd897b50bf85397884bf7845b33df618ea)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 12 ++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 24 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index bb01ce319ea0..54f7cc306e41 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +### [1.93.7](https://www.github.com/googleapis/java-core/compare/v1.93.6...v1.93.7) (2020-07-08) + + +### Dependencies + +* update core dependencies ([#241](https://www.github.com/googleapis/java-core/issues/241)) ([60a4a05](https://www.github.com/googleapis/java-core/commit/60a4a054d54119807aa8d0342f76d2925c35f2a6)) +* update dependency com.google.api:api-common to v1.9.3 ([#250](https://www.github.com/googleapis/java-core/issues/250)) ([792cb60](https://www.github.com/googleapis/java-core/commit/792cb6016cf3d509667e3b03b5f25847c0430af8)) +* update dependency com.google.api:gax-bom to v1.57.1 ([#251](https://www.github.com/googleapis/java-core/issues/251)) ([dd1a8a9](https://www.github.com/googleapis/java-core/commit/dd1a8a9814f244b2516283d23938f8f49a92f190)) +* update dependency com.google.auth:google-auth-library-bom to v0.21.1 ([#252](https://www.github.com/googleapis/java-core/issues/252)) ([4844b26](https://www.github.com/googleapis/java-core/commit/4844b268e81b69e409f887272f3bed30709ec33d)) +* update dependency com.google.errorprone:error_prone_annotations to v2.4.0 ([#226](https://www.github.com/googleapis/java-core/issues/226)) ([b2fd33c](https://www.github.com/googleapis/java-core/commit/b2fd33c3a1dfa8269f67986211af5f93bacdfad9)) +* update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#248](https://www.github.com/googleapis/java-core/issues/248)) ([34deaf9](https://www.github.com/googleapis/java-core/commit/34deaf94190cfa2aa9dee5edabbe6bf5dccb0a90)) + ### [1.93.6](https://www.github.com/googleapis/java-core/compare/v1.93.5...v1.93.6) (2020-06-12) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8327748bbc93..060465f30d70 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.7-SNAPSHOT + 1.93.7 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.7-SNAPSHOT + 1.93.7 com.google.cloud google-cloud-core-grpc - 1.93.7-SNAPSHOT + 1.93.7 com.google.cloud google-cloud-core-http - 1.93.7-SNAPSHOT + 1.93.7 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ddd97767458e..61bcacf8549d 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 - 1.93.7-SNAPSHOT + 1.93.7 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.7-SNAPSHOT + 1.93.7 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 a165c80a0ce8..12839738bdea 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 - 1.93.7-SNAPSHOT + 1.93.7 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.7-SNAPSHOT + 1.93.7 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 16c95d315565..ad1786d784d7 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 - 1.93.7-SNAPSHOT + 1.93.7 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.7-SNAPSHOT + 1.93.7 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index e11d242db211..d04611c59ed3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.7-SNAPSHOT + 1.93.7 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 1408e5d048d8..7416533e5af9 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.6:1.93.7-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.7:1.93.7 \ No newline at end of file From deb30ebf23e7b7b7f8a9373fe594d98c93166346 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 8 Jul 2020 21:24:39 +0200 Subject: [PATCH 0967/3036] deps: update core dependencies (#96) --- java-shared-dependencies/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index fffaa85a763a..6f5cbfec76f0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,13 +56,13 @@ ${project.artifactId} 1.30.2 - 1.57.0 + 1.57.1 29.0-android 3.12.2 1.9.3 1.18.0 - 1.93.6 - 0.21.0 + 1.93.7 + 0.21.1 1.36.0 1.30.9 2.8.6 From 572548d2ef8fc1b7704aaf55831e5143fdf6a1e4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2020 12:45:52 -0700 Subject: [PATCH 0968/3036] chore: release 0.8.3-SNAPSHOT (#97) * updated versions.txt [ci skip] * updated pom.xml Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6f5cbfec76f0..caeb27c192cb 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 - 0.8.2 + 0.8.3-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index abb903a73078..6a3cb40ad554 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.2:0.8.2 \ No newline at end of file +google-cloud-shared-dependencies:0.8.2:0.8.3-SNAPSHOT \ No newline at end of file From 8d4bef06f8063374940081d2ec0a8cf93a05ce02 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 10 Jul 2020 00:35:32 +0200 Subject: [PATCH 0969/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.30.10 (#99) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index caeb27c192cb..989016a43e75 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 1.93.7 0.21.1 1.36.0 - 1.30.9 + 1.30.10 2.8.6 1.4.4 1.3.2 From abcc5df10f9fe53cb59f90156f87472424de9045 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2020 23:00:40 +0000 Subject: [PATCH 0970/3036] chore: release 0.8.3 (#98) :robot: I have created a release \*beep\* \*boop\* --- ### [0.8.3](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.2...v0.8.3) (2020-07-09) ### Dependencies * update core dependencies ([#96](https://www.github.com/googleapis/java-shared-dependencies/issues/96)) ([deb30eb](https://www.github.com/googleapis/java-shared-dependencies/commit/deb30ebf23e7b7b7f8a9373fe594d98c93166346)) * update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#99](https://www.github.com/googleapis/java-shared-dependencies/issues/99)) ([8d4bef0](https://www.github.com/googleapis/java-shared-dependencies/commit/8d4bef06f8063374940081d2ec0a8cf93a05ce02)) * update dependency com.google.api:api-common to v1.9.3 ([#91](https://www.github.com/googleapis/java-shared-dependencies/issues/91)) ([2035909](https://www.github.com/googleapis/java-shared-dependencies/commit/2035909ab8caf179a094773ebb583ed602f3401a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 9 +++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index d631ba884b22..15c2eee7006c 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [0.8.3](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.2...v0.8.3) (2020-07-09) + + +### Dependencies + +* update core dependencies ([#96](https://www.github.com/googleapis/java-shared-dependencies/issues/96)) ([978e69e](https://www.github.com/googleapis/java-shared-dependencies/commit/978e69e9b5999630354ea204c034be2d6b8a2d80)) +* update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#99](https://www.github.com/googleapis/java-shared-dependencies/issues/99)) ([65c9cce](https://www.github.com/googleapis/java-shared-dependencies/commit/65c9ccea34275fa6f9599043d6e06df169bc433a)) +* update dependency com.google.api:api-common to v1.9.3 ([#91](https://www.github.com/googleapis/java-shared-dependencies/issues/91)) ([2a23a50](https://www.github.com/googleapis/java-shared-dependencies/commit/2a23a50ee5c73b581a02171048e20b14f999949f)) + ### [0.8.2](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2) (2020-07-01) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 6815fadffffd..4d6cf11552fe 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.8.2 + 0.8.3 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 989016a43e75..035b8d907625 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 - 0.8.3-SNAPSHOT + 0.8.3 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 6a3cb40ad554..5be11282da52 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.2:0.8.3-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.8.3:0.8.3 \ No newline at end of file From 2d1b9e517f3a1fb0b990131933367b87d1aedff2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jul 2020 18:41:17 +0200 Subject: [PATCH 0971/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.30.10 (#253) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d04611c59ed3..2df3a3c3633f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 1.18.0 0.13.0 0.21.1 - 1.30.9 + 1.30.10 1.36.0 1.30.2 3.12.2 From 6954043bdc68025f224b9a2ee4b40e80726913cc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2020 18:40:07 +0000 Subject: [PATCH 0972/3036] chore: release 1.93.8-SNAPSHOT (#256) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 060465f30d70..acb5aba3cf63 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.7 + 1.93.8-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.7 + 1.93.8-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.7 + 1.93.8-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.7 + 1.93.8-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 61bcacf8549d..487721e6d9e4 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 - 1.93.7 + 1.93.8-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.7 + 1.93.8-SNAPSHOT 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 12839738bdea..feacf6c525a5 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 - 1.93.7 + 1.93.8-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.7 + 1.93.8-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ad1786d784d7..ce345ea794f6 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 - 1.93.7 + 1.93.8-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.7 + 1.93.8-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2df3a3c3633f..5546df153800 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.7 + 1.93.8-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7416533e5af9..0618cd66e5bb 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.7:1.93.7 \ No newline at end of file +google-cloud-core:1.93.7:1.93.8-SNAPSHOT \ No newline at end of file From cfc4f5a3b816ed51ad30a4d790cb47bcab643cbb Mon Sep 17 00:00:00 2001 From: Ajit Thakor <49403056+athakor@users.noreply.github.com> Date: Fri, 24 Jul 2020 20:48:47 +0530 Subject: [PATCH 0973/3036] fix: docs of com.google.cloud.Timestamp.parseTimestamp (#258) * docs: update doc of parseTimestamp * docs: update doc of parseTimestamp * docs: update doc and test of parseTimestamp --- .../src/main/java/com/google/cloud/Timestamp.java | 10 ++++++++-- .../test/java/com/google/cloud/TimestampTest.java | 12 ++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java index c2cf20a3e270..e0308c3836e1 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Timestamp.java @@ -28,6 +28,7 @@ import org.threeten.bp.ZoneOffset; import org.threeten.bp.format.DateTimeFormatter; import org.threeten.bp.format.DateTimeFormatterBuilder; +import org.threeten.bp.format.DateTimeParseException; import org.threeten.bp.temporal.TemporalAccessor; /** @@ -189,8 +190,13 @@ public com.google.protobuf.Timestamp toProto() { } /** - * Creates a Timestamp instance from the given string. String is in the RFC 3339 format without - * the timezone offset (always ends in "Z"). + * Creates a Timestamp instance from the given string. Input string should be in the RFC 3339 + * format, like '2020-12-01T10:15:30.000Z' or with the timezone offset, such as + * '2020-12-01T10:15:30+01:00'. + * + * @param timestamp string in the RFC 3339 format + * @return created Timestamp + * @throws DateTimeParseException if unable to parse */ public static Timestamp parseTimestamp(String timestamp) { TemporalAccessor temporalAccessor = timestampParser.parse(timestamp); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java index 26bf9f2f8d22..5eaeb0a894a3 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/TimestampTest.java @@ -257,6 +257,18 @@ public void parseTimestampWithoutTimeZoneOffset() { .isEqualTo(Timestamp.ofTimeSecondsAndNanos(TEST_TIME_SECONDS, 0)); } + @Test + public void parseTimestampWithTimeZoneOffset() { + assertThat(Timestamp.parseTimestamp("0001-01-01T00:00:00-00:00")) + .isEqualTo(Timestamp.MIN_VALUE); + assertThat(Timestamp.parseTimestamp("9999-12-31T23:59:59.999999999-00:00")) + .isEqualTo(Timestamp.MAX_VALUE); + assertThat(Timestamp.parseTimestamp("2020-12-06T19:21:12.123+05:30")) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(1607262672, 123000000)); + assertThat(Timestamp.parseTimestamp("2020-07-10T14:03:00-07:00")) + .isEqualTo(Timestamp.ofTimeSecondsAndNanos(1594414980, 0)); + } + @Test public void fromProto() { com.google.protobuf.Timestamp proto = From da37215dcd609cfbf9eca2b2936f8e63c99ebeea Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 28 Jul 2020 01:28:11 +0200 Subject: [PATCH 0974/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#93) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 035b8d907625..3c51072a4b55 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.1 + 0.9.2 From 276e16468c81b1f5064c7fde47eb8f81b8fa6b94 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 28 Jul 2020 02:10:18 +0200 Subject: [PATCH 0975/3036] deps: update dependency com.google.api:api-common to v1.10.0 (#101) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3c51072a4b55..63e59d55aa8a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.57.1 29.0-android 3.12.2 - 1.9.3 + 1.10.0 1.18.0 1.93.7 0.21.1 From 316022ca7b13960e1a9be6d133d1d1ea72974ca7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2020 00:14:06 +0000 Subject: [PATCH 0976/3036] chore: release 0.8.4-SNAPSHOT (#100) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 63e59d55aa8a..b8133d2aa0a6 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 - 0.8.3 + 0.8.4-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5be11282da52..bb36bd6469d2 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.3:0.8.3 \ No newline at end of file +google-cloud-shared-dependencies:0.8.3:0.8.4-SNAPSHOT \ No newline at end of file From 71c29d35b648b8685438a42f19999b8ea875a4ca Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 31 Jul 2020 15:00:15 -0700 Subject: [PATCH 0977/3036] chore(docs): add cloud-RAD (#264) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/71a02c6b-8ba2-4db0-b76d-9e42934df8a3/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/dd230c816f88d0141fcd0be83498986287220d1b --- java-core/.kokoro/release/publish_javadoc.cfg | 10 +++ java-core/.kokoro/release/publish_javadoc.sh | 25 +++++- java-core/synth.metadata | 76 ++++++++++++++++++- 3 files changed, 107 insertions(+), 4 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg index 166868b69015..6aacd12dda78 100644 --- a/java-core/.kokoro/release/publish_javadoc.cfg +++ b/java-core/.kokoro/release/publish_javadoc.cfg @@ -1,14 +1,24 @@ # Format: //devtools/kokoro/config/proto/build.proto + +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" + env_vars: { key: "STAGING_BUCKET" value: "docs-staging" } +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2-staging" + # Production will be at: docs-staging-v2 +} + env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-core/.kokoro/release/publish_javadoc.sh" } + before_action { fetch_keystore { keystore_resource { diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index 3eb587a7dc1f..2ab8a64aeb75 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -24,6 +24,11 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + # work from the git root directory pushd $(dirname "$0")/../../ @@ -31,13 +36,13 @@ pushd $(dirname "$0")/../../ python3 -m pip install gcp-docuploader # compile all packages -mvn clean install -B -DskipTests=true +mvn clean install -B -q -DskipTests=true NAME=google-cloud-core VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs -mvn site -B +mvn site -B -q pushd target/site/apidocs @@ -53,3 +58,19 @@ python3 -m docuploader upload . \ --staging-bucket ${STAGING_BUCKET} popd + +# V2 +mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" + +pushd target/devsite + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 0bc9ed352efe..2c9cb6f13bcf 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,15 +4,87 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "60a4a054d54119807aa8d0342f76d2925c35f2a6" + "sha": "964dd142609ae8923a285e20746ce9ee8c302bd5" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd" + "sha": "dd230c816f88d0141fcd0be83498986287220d1b" } } + ], + "generatedFiles": [ + ".github/CODEOWNERS", + ".github/ISSUE_TEMPLATE/bug_report.md", + ".github/ISSUE_TEMPLATE/feature_request.md", + ".github/ISSUE_TEMPLATE/support_request.md", + ".github/PULL_REQUEST_TEMPLATE.md", + ".github/release-please.yml", + ".github/trusted-contribution.yml", + ".github/workflows/ci.yaml", + ".kokoro/build.bat", + ".kokoro/build.sh", + ".kokoro/coerce_logs.sh", + ".kokoro/common.cfg", + ".kokoro/common.sh", + ".kokoro/continuous/common.cfg", + ".kokoro/continuous/dependencies.cfg", + ".kokoro/continuous/integration.cfg", + ".kokoro/continuous/java11.cfg", + ".kokoro/continuous/java7.cfg", + ".kokoro/continuous/java8-osx.cfg", + ".kokoro/continuous/java8-win.cfg", + ".kokoro/continuous/java8.cfg", + ".kokoro/continuous/lint.cfg", + ".kokoro/continuous/propose_release.cfg", + ".kokoro/continuous/samples.cfg", + ".kokoro/dependencies.sh", + ".kokoro/linkage-monitor.sh", + ".kokoro/nightly/common.cfg", + ".kokoro/nightly/dependencies.cfg", + ".kokoro/nightly/integration.cfg", + ".kokoro/nightly/java11.cfg", + ".kokoro/nightly/java7.cfg", + ".kokoro/nightly/java8-osx.cfg", + ".kokoro/nightly/java8-win.cfg", + ".kokoro/nightly/java8.cfg", + ".kokoro/nightly/lint.cfg", + ".kokoro/nightly/samples.cfg", + ".kokoro/populate-secrets.sh", + ".kokoro/presubmit/clirr.cfg", + ".kokoro/presubmit/common.cfg", + ".kokoro/presubmit/dependencies.cfg", + ".kokoro/presubmit/integration.cfg", + ".kokoro/presubmit/java11.cfg", + ".kokoro/presubmit/java7.cfg", + ".kokoro/presubmit/java8-osx.cfg", + ".kokoro/presubmit/java8-win.cfg", + ".kokoro/presubmit/java8.cfg", + ".kokoro/presubmit/linkage-monitor.cfg", + ".kokoro/presubmit/lint.cfg", + ".kokoro/presubmit/samples.cfg", + ".kokoro/release/bump_snapshot.cfg", + ".kokoro/release/common.cfg", + ".kokoro/release/common.sh", + ".kokoro/release/drop.cfg", + ".kokoro/release/drop.sh", + ".kokoro/release/promote.cfg", + ".kokoro/release/promote.sh", + ".kokoro/release/publish_javadoc.cfg", + ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/snapshot.cfg", + ".kokoro/release/snapshot.sh", + ".kokoro/release/stage.cfg", + ".kokoro/release/stage.sh", + ".kokoro/trampoline.sh", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "codecov.yaml", + "java.header", + "license-checks.xml", + "renovate.json" ] } \ No newline at end of file From 1d62ef96674492d1ef297e0fe46305de663545cd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 4 Aug 2020 16:59:21 +0200 Subject: [PATCH 0978/3036] deps: update core dependencies (#104) --- java-shared-dependencies/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b8133d2aa0a6..03e068461c8f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,8 +55,8 @@ UTF-8 ${project.artifactId} - 1.30.2 - 1.57.1 + 1.31.0 + 1.58.0 29.0-android 3.12.2 1.10.0 From 124ef173137cd10274199a5da86845b2d9cd9489 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 4 Aug 2020 16:59:38 +0200 Subject: [PATCH 0979/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.4 (#103) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 03e068461c8f..089b5bb8cd32 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.31.0 1.58.0 29.0-android - 3.12.2 + 3.12.4 1.10.0 1.18.0 1.93.7 From 799ed6e4055fb301116c3cd05cf7b4b732159d20 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 4 Aug 2020 17:07:04 +0200 Subject: [PATCH 0980/3036] build(deps): update dependency org.codehaus.mojo:animal-sniffer-annotations to v1.19 (#94) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 089b5bb8cd32..0227edd240d9 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -68,7 +68,7 @@ 2.8.6 1.4.4 1.3.2 - 1.18 + 1.19 0.13.0 0.24.0 3.0.2 From 8dc4f59e3a034ba2107546949991cb08a225d8d1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 4 Aug 2020 08:07:15 -0700 Subject: [PATCH 0981/3036] Add cloud-RAD for Java (#105) Co-authored-by: Jeff Ching Source-Author: Les Vogel Source-Date: Thu Jul 30 13:09:50 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: dd230c816f88d0141fcd0be83498986287220d1b Source-Link: https://github.com/googleapis/synthtool/commit/dd230c816f88d0141fcd0be83498986287220d1b --- .../.kokoro/release/publish_javadoc.cfg | 10 +++ .../.kokoro/release/publish_javadoc.sh | 25 +++++- java-shared-dependencies/synth.metadata | 76 ++++++++++++++++++- 3 files changed, 107 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg index cbc7d5b736ec..9fd795e717c1 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -1,14 +1,24 @@ # Format: //devtools/kokoro/config/proto/build.proto + +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" + env_vars: { key: "STAGING_BUCKET" value: "docs-staging" } +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2-staging" + # Production will be at: docs-staging-v2 +} + env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-shared-dependencies/.kokoro/release/publish_javadoc.sh" } + before_action { fetch_keystore { keystore_resource { diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index ae7892fa667d..8e1143ad17ac 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -24,6 +24,11 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + # work from the git root directory pushd $(dirname "$0")/../../ @@ -31,13 +36,13 @@ pushd $(dirname "$0")/../../ python3 -m pip install gcp-docuploader # compile all packages -mvn clean install -B -DskipTests=true +mvn clean install -B -q -DskipTests=true NAME=google-cloud-shared-dependencies VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs -mvn site -B +mvn site -B -q pushd target/site/apidocs @@ -53,3 +58,19 @@ python3 -m docuploader upload . \ --staging-bucket ${STAGING_BUCKET} popd + +# V2 +mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" + +pushd target/devsite + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 51893386aa25..a44e0831cd2c 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,15 +4,87 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "3d9e38a8e3e7a1d9b4497e129d59a7d96244d3b9" + "sha": "825f29c8b310ae7eb0e8d695ed240dbaabc5041c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd" + "sha": "dd230c816f88d0141fcd0be83498986287220d1b" } } + ], + "generatedFiles": [ + ".github/CODEOWNERS", + ".github/ISSUE_TEMPLATE/bug_report.md", + ".github/ISSUE_TEMPLATE/feature_request.md", + ".github/ISSUE_TEMPLATE/support_request.md", + ".github/PULL_REQUEST_TEMPLATE.md", + ".github/release-please.yml", + ".github/trusted-contribution.yml", + ".github/workflows/ci.yaml", + ".kokoro/build.bat", + ".kokoro/build.sh", + ".kokoro/coerce_logs.sh", + ".kokoro/common.cfg", + ".kokoro/common.sh", + ".kokoro/continuous/common.cfg", + ".kokoro/continuous/dependencies.cfg", + ".kokoro/continuous/integration.cfg", + ".kokoro/continuous/java11.cfg", + ".kokoro/continuous/java7.cfg", + ".kokoro/continuous/java8-osx.cfg", + ".kokoro/continuous/java8-win.cfg", + ".kokoro/continuous/java8.cfg", + ".kokoro/continuous/lint.cfg", + ".kokoro/continuous/propose_release.cfg", + ".kokoro/continuous/samples.cfg", + ".kokoro/dependencies.sh", + ".kokoro/linkage-monitor.sh", + ".kokoro/nightly/common.cfg", + ".kokoro/nightly/dependencies.cfg", + ".kokoro/nightly/integration.cfg", + ".kokoro/nightly/java11.cfg", + ".kokoro/nightly/java7.cfg", + ".kokoro/nightly/java8-osx.cfg", + ".kokoro/nightly/java8-win.cfg", + ".kokoro/nightly/java8.cfg", + ".kokoro/nightly/lint.cfg", + ".kokoro/nightly/samples.cfg", + ".kokoro/populate-secrets.sh", + ".kokoro/presubmit/clirr.cfg", + ".kokoro/presubmit/common.cfg", + ".kokoro/presubmit/dependencies.cfg", + ".kokoro/presubmit/integration.cfg", + ".kokoro/presubmit/java11.cfg", + ".kokoro/presubmit/java7.cfg", + ".kokoro/presubmit/java8-osx.cfg", + ".kokoro/presubmit/java8-win.cfg", + ".kokoro/presubmit/java8.cfg", + ".kokoro/presubmit/linkage-monitor.cfg", + ".kokoro/presubmit/lint.cfg", + ".kokoro/presubmit/samples.cfg", + ".kokoro/release/bump_snapshot.cfg", + ".kokoro/release/common.cfg", + ".kokoro/release/common.sh", + ".kokoro/release/drop.cfg", + ".kokoro/release/drop.sh", + ".kokoro/release/promote.cfg", + ".kokoro/release/promote.sh", + ".kokoro/release/publish_javadoc.cfg", + ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/snapshot.cfg", + ".kokoro/release/snapshot.sh", + ".kokoro/release/stage.cfg", + ".kokoro/release/stage.sh", + ".kokoro/trampoline.sh", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "codecov.yaml", + "java.header", + "license-checks.xml", + "renovate.json" ] } \ No newline at end of file From 0c111d1e2124133ddc486ed0624f6309d33a8308 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 4 Aug 2020 15:56:04 +0000 Subject: [PATCH 0982/3036] chore: release 0.8.4 (#107) :robot: I have created a release \*beep\* \*boop\* --- ### [0.8.4](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.3...v0.8.4) (2020-08-04) ### Dependencies * update core dependencies ([#104](https://www.github.com/googleapis/java-shared-dependencies/issues/104)) ([1d62ef9](https://www.github.com/googleapis/java-shared-dependencies/commit/1d62ef96674492d1ef297e0fe46305de663545cd)) * update dependency com.google.api:api-common to v1.10.0 ([#101](https://www.github.com/googleapis/java-shared-dependencies/issues/101)) ([276e164](https://www.github.com/googleapis/java-shared-dependencies/commit/276e16468c81b1f5064c7fde47eb8f81b8fa6b94)) * update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#103](https://www.github.com/googleapis/java-shared-dependencies/issues/103)) ([124ef17](https://www.github.com/googleapis/java-shared-dependencies/commit/124ef173137cd10274199a5da86845b2d9cd9489)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 9 +++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 15c2eee7006c..029fb8af8207 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [0.8.4](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.3...v0.8.4) (2020-08-04) + + +### Dependencies + +* update core dependencies ([#104](https://www.github.com/googleapis/java-shared-dependencies/issues/104)) ([5046818](https://www.github.com/googleapis/java-shared-dependencies/commit/504681803d2bba888404acffe9a8853746501358)) +* update dependency com.google.api:api-common to v1.10.0 ([#101](https://www.github.com/googleapis/java-shared-dependencies/issues/101)) ([6472fac](https://www.github.com/googleapis/java-shared-dependencies/commit/6472face89700e3f2f982c04a5e88801876580be)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#103](https://www.github.com/googleapis/java-shared-dependencies/issues/103)) ([885bd0e](https://www.github.com/googleapis/java-shared-dependencies/commit/885bd0ef3c9e344bd1fc60e0f3264995064001d9)) + ### [0.8.3](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.2...v0.8.3) (2020-07-09) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 4d6cf11552fe..eac1e1771b99 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.8.3 + 0.8.4 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0227edd240d9..999fbc2e5384 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 - 0.8.4-SNAPSHOT + 0.8.4 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index bb36bd6469d2..30750b365da7 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.3:0.8.4-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.8.4:0.8.4 \ No newline at end of file From 97539a7eb88ef3f124e7e92b9f9f85d66be9d1aa Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 6 Aug 2020 16:37:42 -0700 Subject: [PATCH 0983/3036] chore: removes unused kokoro config files (#110) * cleanup: removes unused kokoro config files Removes unused kokoro files from the java library template. We have stopped running some of these due to Github quota issues. * fix:reverts back samples.cfg files The files presubmit/samples.cfg and nightly/samples.cfg should remain in the java template repository. Co-authored-by: Jeffrey Rennie Source-Author: Thiago Nunes Source-Date: Thu Aug 6 09:48:58 2020 +1000 Source-Repo: googleapis/synthtool Source-Sha: 4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4 Source-Link: https://github.com/googleapis/synthtool/commit/4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4 --- .../.kokoro/continuous/dependencies.cfg | 12 ----- .../.kokoro/continuous/integration.cfg | 7 --- .../.kokoro/continuous/java11.cfg | 7 --- .../.kokoro/continuous/java7.cfg | 7 --- .../.kokoro/continuous/java8-osx.cfg | 3 -- .../.kokoro/continuous/java8-win.cfg | 3 -- .../.kokoro/continuous/lint.cfg | 13 ----- .../.kokoro/continuous/propose_release.cfg | 53 ------------------- .../.kokoro/continuous/samples.cfg | 31 ----------- .../.kokoro/nightly/dependencies.cfg | 12 ----- .../.kokoro/nightly/lint.cfg | 13 ----- java-shared-dependencies/synth.metadata | 15 +----- 12 files changed, 2 insertions(+), 174 deletions(-) delete mode 100644 java-shared-dependencies/.kokoro/continuous/dependencies.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/integration.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/java11.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/java7.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/java8-osx.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/java8-win.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/lint.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/propose_release.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/samples.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/dependencies.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/lint.cfg diff --git a/java-shared-dependencies/.kokoro/continuous/dependencies.cfg b/java-shared-dependencies/.kokoro/continuous/dependencies.cfg deleted file mode 100644 index 7b0df4459711..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/dependencies.sh" -} diff --git a/java-shared-dependencies/.kokoro/continuous/integration.cfg b/java-shared-dependencies/.kokoro/continuous/integration.cfg deleted file mode 100644 index 3b017fc80f04..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/integration.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} diff --git a/java-shared-dependencies/.kokoro/continuous/java11.cfg b/java-shared-dependencies/.kokoro/continuous/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-shared-dependencies/.kokoro/continuous/java7.cfg b/java-shared-dependencies/.kokoro/continuous/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg b/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg deleted file mode 100644 index 127b52fb2bc0..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-shared-dependencies/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/continuous/java8-win.cfg b/java-shared-dependencies/.kokoro/continuous/java8-win.cfg deleted file mode 100644 index e105f6d4f3b5..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-shared-dependencies/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/continuous/lint.cfg b/java-shared-dependencies/.kokoro/continuous/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/continuous/propose_release.cfg b/java-shared-dependencies/.kokoro/continuous/propose_release.cfg deleted file mode 100644 index 3432c793652d..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/propose_release.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-shared-dependencies/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/continuous/propose_release.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/java-shared-dependencies/.kokoro/continuous/samples.cfg b/java-shared-dependencies/.kokoro/continuous/samples.cfg deleted file mode 100644 index fa7b493d0b5c..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/samples.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} diff --git a/java-shared-dependencies/.kokoro/nightly/dependencies.cfg b/java-shared-dependencies/.kokoro/nightly/dependencies.cfg deleted file mode 100644 index 7b0df4459711..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/dependencies.sh" -} diff --git a/java-shared-dependencies/.kokoro/nightly/lint.cfg b/java-shared-dependencies/.kokoro/nightly/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index a44e0831cd2c..0ecb7b396a4f 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "825f29c8b310ae7eb0e8d695ed240dbaabc5041c" + "sha": "d0d16a1c3e0dc99176f6555ad648ea8b74b6fdcf" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "dd230c816f88d0141fcd0be83498986287220d1b" + "sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4" } } ], @@ -30,27 +30,16 @@ ".kokoro/common.cfg", ".kokoro/common.sh", ".kokoro/continuous/common.cfg", - ".kokoro/continuous/dependencies.cfg", - ".kokoro/continuous/integration.cfg", - ".kokoro/continuous/java11.cfg", - ".kokoro/continuous/java7.cfg", - ".kokoro/continuous/java8-osx.cfg", - ".kokoro/continuous/java8-win.cfg", ".kokoro/continuous/java8.cfg", - ".kokoro/continuous/lint.cfg", - ".kokoro/continuous/propose_release.cfg", - ".kokoro/continuous/samples.cfg", ".kokoro/dependencies.sh", ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", - ".kokoro/nightly/dependencies.cfg", ".kokoro/nightly/integration.cfg", ".kokoro/nightly/java11.cfg", ".kokoro/nightly/java7.cfg", ".kokoro/nightly/java8-osx.cfg", ".kokoro/nightly/java8-win.cfg", ".kokoro/nightly/java8.cfg", - ".kokoro/nightly/lint.cfg", ".kokoro/nightly/samples.cfg", ".kokoro/populate-secrets.sh", ".kokoro/presubmit/clirr.cfg", From c0ac30cca2d3dda2c6ae545f6fcb93b40e06a0d6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 6 Aug 2020 16:40:34 -0700 Subject: [PATCH 0984/3036] chore: release 0.8.5-SNAPSHOT (#109) * chore: updated versions.txt [ci skip] * chore: updated pom.xml Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 999fbc2e5384..d8871f34d61c 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 - 0.8.4 + 0.8.5-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 30750b365da7..86d777a17496 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.4:0.8.4 \ No newline at end of file +google-cloud-shared-dependencies:0.8.4:0.8.5-SNAPSHOT \ No newline at end of file From 35049a0ea169cc49aabeebc7d6adcba1b3bea3a4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Aug 2020 02:06:13 +0200 Subject: [PATCH 0985/3036] deps: update gax to v1.58.1 (#111) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | patch | `1.58.0` -> `1.58.1` | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | patch | `1.58.0` -> `1.58.1` | --- ### Release Notes
    googleapis/gax-java ### [`v1.58.1`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1581-httpswwwgithubcomgoogleapisgax-javacomparev1580v1581-2020-08-06) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.58.0...v1.58.1)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d8871f34d61c..c9b9e669dcc5 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.31.0 - 1.58.0 + 1.58.1 29.0-android 3.12.4 1.10.0 From a85cf597326191a36c98a3a03df68076a826df55 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2020 00:14:04 +0000 Subject: [PATCH 0986/3036] chore: release 0.8.5 (#112) :robot: I have created a release \*beep\* \*boop\* --- ### [0.8.5](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.4...v0.8.5) (2020-08-07) ### Dependencies * update gax to v1.58.1 ([#111](https://www.github.com/googleapis/java-shared-dependencies/issues/111)) ([35049a0](https://www.github.com/googleapis/java-shared-dependencies/commit/35049a0ea169cc49aabeebc7d6adcba1b3bea3a4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 029fb8af8207..37312b93e4b1 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.8.5](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.4...v0.8.5) (2020-08-07) + + +### Dependencies + +* update gax to v1.58.1 ([#111](https://www.github.com/googleapis/java-shared-dependencies/issues/111)) ([93a1691](https://www.github.com/googleapis/java-shared-dependencies/commit/93a16915b863a610ffdabe0e23aec58c4ae5f4f1)) + ### [0.8.4](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.3...v0.8.4) (2020-08-04) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index eac1e1771b99..c0f9e1d803b2 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.8.4 + 0.8.5 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c9b9e669dcc5..4346aac75d1c 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 - 0.8.5-SNAPSHOT + 0.8.5 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 86d777a17496..7d9c5ecb62e5 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.4:0.8.5-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.8.5:0.8.5 \ No newline at end of file From 2fc724c1f33e56f05dc8b953086f99c7572f9bcf Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2020 14:24:04 +0000 Subject: [PATCH 0987/3036] chore: release 0.8.6-SNAPSHOT (#114) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4346aac75d1c..71518678d764 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 - 0.8.5 + 0.8.6-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 7d9c5ecb62e5..37b88f43871b 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.5:0.8.5 \ No newline at end of file +google-cloud-shared-dependencies:0.8.5:0.8.6-SNAPSHOT \ No newline at end of file From c03063cf3d09f3670cd6e1596280aeda07788d2b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 7 Aug 2020 08:42:37 -0700 Subject: [PATCH 0988/3036] cleanup: removes unused kokoro config files (#265) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/5b7e2ed3-d953-49da-9f19-3f7f3762d72e/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4 --- java-core/.kokoro/continuous/dependencies.cfg | 12 ----- java-core/.kokoro/continuous/integration.cfg | 7 --- java-core/.kokoro/continuous/java11.cfg | 7 --- java-core/.kokoro/continuous/java7.cfg | 7 --- java-core/.kokoro/continuous/java8-osx.cfg | 3 -- java-core/.kokoro/continuous/java8-win.cfg | 3 -- java-core/.kokoro/continuous/lint.cfg | 13 ----- .../.kokoro/continuous/propose_release.cfg | 53 ------------------- java-core/.kokoro/continuous/samples.cfg | 31 ----------- java-core/.kokoro/nightly/dependencies.cfg | 12 ----- java-core/.kokoro/nightly/lint.cfg | 13 ----- java-core/synth.metadata | 15 +----- 12 files changed, 2 insertions(+), 174 deletions(-) delete mode 100644 java-core/.kokoro/continuous/dependencies.cfg delete mode 100644 java-core/.kokoro/continuous/integration.cfg delete mode 100644 java-core/.kokoro/continuous/java11.cfg delete mode 100644 java-core/.kokoro/continuous/java7.cfg delete mode 100644 java-core/.kokoro/continuous/java8-osx.cfg delete mode 100644 java-core/.kokoro/continuous/java8-win.cfg delete mode 100644 java-core/.kokoro/continuous/lint.cfg delete mode 100644 java-core/.kokoro/continuous/propose_release.cfg delete mode 100644 java-core/.kokoro/continuous/samples.cfg delete mode 100644 java-core/.kokoro/nightly/dependencies.cfg delete mode 100644 java-core/.kokoro/nightly/lint.cfg diff --git a/java-core/.kokoro/continuous/dependencies.cfg b/java-core/.kokoro/continuous/dependencies.cfg deleted file mode 100644 index 895832a92836..000000000000 --- a/java-core/.kokoro/continuous/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/dependencies.sh" -} diff --git a/java-core/.kokoro/continuous/integration.cfg b/java-core/.kokoro/continuous/integration.cfg deleted file mode 100644 index 3b017fc80f04..000000000000 --- a/java-core/.kokoro/continuous/integration.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} diff --git a/java-core/.kokoro/continuous/java11.cfg b/java-core/.kokoro/continuous/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-core/.kokoro/continuous/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-core/.kokoro/continuous/java7.cfg b/java-core/.kokoro/continuous/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-core/.kokoro/continuous/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-core/.kokoro/continuous/java8-osx.cfg b/java-core/.kokoro/continuous/java8-osx.cfg deleted file mode 100644 index 8b617e25943d..000000000000 --- a/java-core/.kokoro/continuous/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-core/.kokoro/build.sh" diff --git a/java-core/.kokoro/continuous/java8-win.cfg b/java-core/.kokoro/continuous/java8-win.cfg deleted file mode 100644 index 1a6311a42092..000000000000 --- a/java-core/.kokoro/continuous/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-core/.kokoro/build.bat" diff --git a/java-core/.kokoro/continuous/lint.cfg b/java-core/.kokoro/continuous/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-core/.kokoro/continuous/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-core/.kokoro/continuous/propose_release.cfg b/java-core/.kokoro/continuous/propose_release.cfg deleted file mode 100644 index fc798ae888c8..000000000000 --- a/java-core/.kokoro/continuous/propose_release.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-core/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/continuous/propose_release.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/java-core/.kokoro/continuous/samples.cfg b/java-core/.kokoro/continuous/samples.cfg deleted file mode 100644 index fa7b493d0b5c..000000000000 --- a/java-core/.kokoro/continuous/samples.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} diff --git a/java-core/.kokoro/nightly/dependencies.cfg b/java-core/.kokoro/nightly/dependencies.cfg deleted file mode 100644 index 895832a92836..000000000000 --- a/java-core/.kokoro/nightly/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/dependencies.sh" -} diff --git a/java-core/.kokoro/nightly/lint.cfg b/java-core/.kokoro/nightly/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-core/.kokoro/nightly/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2c9cb6f13bcf..807a13eb4402 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "964dd142609ae8923a285e20746ce9ee8c302bd5" + "sha": "019ff3089aebe51b76e2efb5d5567eeeb29f39eb" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "dd230c816f88d0141fcd0be83498986287220d1b" + "sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4" } } ], @@ -30,27 +30,16 @@ ".kokoro/common.cfg", ".kokoro/common.sh", ".kokoro/continuous/common.cfg", - ".kokoro/continuous/dependencies.cfg", - ".kokoro/continuous/integration.cfg", - ".kokoro/continuous/java11.cfg", - ".kokoro/continuous/java7.cfg", - ".kokoro/continuous/java8-osx.cfg", - ".kokoro/continuous/java8-win.cfg", ".kokoro/continuous/java8.cfg", - ".kokoro/continuous/lint.cfg", - ".kokoro/continuous/propose_release.cfg", - ".kokoro/continuous/samples.cfg", ".kokoro/dependencies.sh", ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", - ".kokoro/nightly/dependencies.cfg", ".kokoro/nightly/integration.cfg", ".kokoro/nightly/java11.cfg", ".kokoro/nightly/java7.cfg", ".kokoro/nightly/java8-osx.cfg", ".kokoro/nightly/java8-win.cfg", ".kokoro/nightly/java8.cfg", - ".kokoro/nightly/lint.cfg", ".kokoro/nightly/samples.cfg", ".kokoro/populate-secrets.sh", ".kokoro/presubmit/clirr.cfg", From 0ddfd3f247aabbecb1da19b6ed3e739f042c1d2f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Aug 2020 21:49:59 +0200 Subject: [PATCH 0989/3036] deps: update gax to v1.58.2 (#115) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 71518678d764..44fcfd038835 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.31.0 - 1.58.1 + 1.58.2 29.0-android 3.12.4 1.10.0 From 20841b024881600ebd96f4fa52f258dd5ef4829d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 7 Aug 2020 12:51:16 -0700 Subject: [PATCH 0990/3036] build: update dependencies check to only check for runtime and compile scopes (#113) * change:Updated dependencies check to only use runtime & compile scope * Update dependencies.sh * feat: update dependencies check to only check for runtime and compile scopes Co-authored-by: Saleh Mostafa Co-authored-by: Jeffrey Rennie Source-Author: salehsquared Source-Date: Thu Aug 6 13:01:02 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: f8823dec98277a9516f2fb6fae9f58b3a59a23e1 Source-Link: https://github.com/googleapis/synthtool/commit/f8823dec98277a9516f2fb6fae9f58b3a59a23e1 --- java-shared-dependencies/.kokoro/dependencies.sh | 9 +++++---- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index cee4f11e7547..c91e5a56937a 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -43,12 +43,13 @@ function completenessCheck() { # Output dep list with compile scope generated using the original pom # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. # This is stripped from the output as it is not present in the flattened pom. + # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt - # Output dep list generated using the flattened pom (test scope deps are ommitted) + # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt # Compare two dependency lists msg "Comparing dependency lists..." @@ -85,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi +fi \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 0ecb7b396a4f..7b818c57341b 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "d0d16a1c3e0dc99176f6555ad648ea8b74b6fdcf" + "sha": "d070266e7ddf8e5d0fb9965a6b404c78827b8f64" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4" + "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1" } } ], From 6fd95c03c73459b2cd819f2084b4f3bcb576ea17 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2020 19:58:04 +0000 Subject: [PATCH 0991/3036] chore: release 0.8.6 (#116) :robot: I have created a release \*beep\* \*boop\* --- ### [0.8.6](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.5...v0.8.6) (2020-08-07) ### Dependencies * update gax to v1.58.2 ([#115](https://www.github.com/googleapis/java-shared-dependencies/issues/115)) ([0ddfd3f](https://www.github.com/googleapis/java-shared-dependencies/commit/0ddfd3f247aabbecb1da19b6ed3e739f042c1d2f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 37312b93e4b1..7318c50dbf08 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.8.6](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.5...v0.8.6) (2020-08-07) + + +### Dependencies + +* update gax to v1.58.2 ([#115](https://www.github.com/googleapis/java-shared-dependencies/issues/115)) ([84b48b4](https://www.github.com/googleapis/java-shared-dependencies/commit/84b48b4e77a4b5b4a2db6030609abe241d5ee2e1)) + ### [0.8.5](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.4...v0.8.5) (2020-08-07) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index c0f9e1d803b2..8d66f73eacca 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.8.5 + 0.8.6 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 44fcfd038835..da85dbe1525f 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 - 0.8.6-SNAPSHOT + 0.8.6 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 37b88f43871b..9482c88216d5 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.5:0.8.6-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.8.6:0.8.6 \ No newline at end of file From 95a93394a91ca7ed974347ea37b4e70c188e920e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2020 19:14:10 +0000 Subject: [PATCH 0992/3036] chore: release 0.8.7-SNAPSHOT (#117) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index da85dbe1525f..e58bc2353b00 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 - 0.8.6 + 0.8.7-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 9482c88216d5..837ad94ca15c 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.6:0.8.6 \ No newline at end of file +google-cloud-shared-dependencies:0.8.6:0.8.7-SNAPSHOT \ No newline at end of file From 13b41b9231a2db79ff963c2fc15a7282eba63b76 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 10 Aug 2020 15:58:18 -0700 Subject: [PATCH 0993/3036] build: update dependencies check to only check for runtime and compile scopes (#266) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/4f159194-de9c-4c80-934e-eb32cd08c411/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f8823dec98277a9516f2fb6fae9f58b3a59a23e1 --- java-core/.kokoro/dependencies.sh | 9 +++++---- java-core/synth.metadata | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index cee4f11e7547..c91e5a56937a 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -43,12 +43,13 @@ function completenessCheck() { # Output dep list with compile scope generated using the original pom # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. # This is stripped from the output as it is not present in the flattened pom. + # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt - # Output dep list generated using the flattened pom (test scope deps are ommitted) + # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt # Compare two dependency lists msg "Comparing dependency lists..." @@ -85,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi +fi \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 807a13eb4402..bfa635fc9c0b 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "019ff3089aebe51b76e2efb5d5567eeeb29f39eb" + "sha": "7e18035aa22267ffad187a1bebdcd29a835154b7" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4" + "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1" } } ], From 499388060de51dba115127adb71cb9a5552445c6 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 11 Aug 2020 12:06:15 -0700 Subject: [PATCH 0994/3036] chore: regenerate common templates (#21) --- java-iam/.github/CODEOWNERS | 8 ++++ java-iam/.github/workflows/ci.yaml | 5 ++- java-iam/.kokoro/build.sh | 6 +-- java-iam/.kokoro/dependencies.sh | 11 +++-- java-iam/.kokoro/nightly/integration.cfg | 12 ++---- java-iam/.kokoro/nightly/samples.cfg | 16 +++----- java-iam/.kokoro/populate-secrets.sh | 43 ++++++++++++++++++++ java-iam/.kokoro/presubmit/integration.cfg | 12 ++---- java-iam/.kokoro/presubmit/samples.cfg | 14 +++---- java-iam/.kokoro/release/publish_javadoc.cfg | 10 +++++ java-iam/.kokoro/release/publish_javadoc.sh | 25 +++++++++++- java-iam/.kokoro/trampoline.sh | 2 + java-iam/CONTRIBUTING.md | 11 ++++- java-iam/renovate.json | 3 +- 14 files changed, 130 insertions(+), 48 deletions(-) create mode 100644 java-iam/.github/CODEOWNERS create mode 100755 java-iam/.kokoro/populate-secrets.sh diff --git a/java-iam/.github/CODEOWNERS b/java-iam/.github/CODEOWNERS new file mode 100644 index 000000000000..6137bef2a259 --- /dev/null +++ b/java-iam/.github/CODEOWNERS @@ -0,0 +1,8 @@ +# Code owners file. +# This file controls who is tagged for review for any given pull request. + +# For syntax help see: +# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax + +# The java-samples-reviewers team is the default owner for samples changes +samples/**/*.java @googleapis/java-samples-reviewers diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 445b4bf82ffd..683022075665 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -36,11 +36,14 @@ jobs: JOB_TYPE: test dependencies: runs-on: ubuntu-latest + strategy: + matrix: + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 8 + java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh linkage-monitor: diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index d4d2592dd0e6..54531d09f5a7 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -39,7 +39,7 @@ retry_with_backoff 3 10 \ # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi RETURN_CODE=0 @@ -51,9 +51,7 @@ test) RETURN_CODE=$? ;; lint) - mvn \ - -Penable-samples \ - com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check RETURN_CODE=$? ;; javadoc) diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index cf3bb4347e01..c91e5a56937a 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -41,12 +41,15 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" ## Run dependency list completeness check function completenessCheck() { # Output dep list with compile scope generated using the original pom + # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. + # This is stripped from the output as it is not present in the flattened pom. + # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt - # Output dep list generated using the flattened pom (test scope deps are ommitted) + # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt # Compare two dependency lists msg "Comparing dependency lists..." @@ -83,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi +fi \ No newline at end of file diff --git a/java-iam/.kokoro/nightly/integration.cfg b/java-iam/.kokoro/nightly/integration.cfg index 40c4abb7bf08..0048c8ece7e5 100644 --- a/java-iam/.kokoro/nightly/integration.cfg +++ b/java-iam/.kokoro/nightly/integration.cfg @@ -28,14 +28,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/java-iam/.kokoro/nightly/samples.cfg b/java-iam/.kokoro/nightly/samples.cfg index 20aabd55de11..f25429314f4d 100644 --- a/java-iam/.kokoro/nightly/samples.cfg +++ b/java-iam/.kokoro/nightly/samples.cfg @@ -24,19 +24,15 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } env_vars: { - key: "ENABLE_BUILD_COP" - value: "true" + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } diff --git a/java-iam/.kokoro/populate-secrets.sh b/java-iam/.kokoro/populate-secrets.sh new file mode 100755 index 000000000000..f52514257ef0 --- /dev/null +++ b/java-iam/.kokoro/populate-secrets.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} +function msg { println "$*" >&2 ;} +function println { printf '%s\n' "$(now) $*" ;} + + +# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: +# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com +SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" +msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" +mkdir -p ${SECRET_LOCATION} +for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") +do + msg "Retrieving secret ${key}" + docker run --entrypoint=gcloud \ + --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ + gcr.io/google.com/cloudsdktool/cloud-sdk \ + secrets versions access latest \ + --project cloud-devrel-kokoro-resources \ + --secret ${key} > \ + "${SECRET_LOCATION}/${key}" + if [[ $? == 0 ]]; then + msg "Secret written to ${SECRET_LOCATION}/${key}" + else + msg "Error retrieving secret ${key}" + fi +done diff --git a/java-iam/.kokoro/presubmit/integration.cfg b/java-iam/.kokoro/presubmit/integration.cfg index 522e5b10101c..dded67a9d54a 100644 --- a/java-iam/.kokoro/presubmit/integration.cfg +++ b/java-iam/.kokoro/presubmit/integration.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/java-iam/.kokoro/presubmit/samples.cfg b/java-iam/.kokoro/presubmit/samples.cfg index 1171aead01f0..01e0960047b8 100644 --- a/java-iam/.kokoro/presubmit/samples.cfg +++ b/java-iam/.kokoro/presubmit/samples.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} \ No newline at end of file diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg index f18e3d1d343d..753ac94e1036 100644 --- a/java-iam/.kokoro/release/publish_javadoc.cfg +++ b/java-iam/.kokoro/release/publish_javadoc.cfg @@ -1,14 +1,24 @@ # Format: //devtools/kokoro/config/proto/build.proto + +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" + env_vars: { key: "STAGING_BUCKET" value: "docs-staging" } +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2-staging" + # Production will be at: docs-staging-v2 +} + env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-iam/.kokoro/release/publish_javadoc.sh" } + before_action { fetch_keystore { keystore_resource { diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index 9542b0ee0acf..86c9874a9e7c 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -24,6 +24,11 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + # work from the git root directory pushd $(dirname "$0")/../../ @@ -31,13 +36,13 @@ pushd $(dirname "$0")/../../ python3 -m pip install gcp-docuploader # compile all packages -mvn clean install -B -DskipTests=true +mvn clean install -B -q -DskipTests=true NAME=proto-google-iam-v1 VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs -mvn site -B +mvn site -B -q pushd target/site/apidocs @@ -53,3 +58,19 @@ python3 -m docuploader upload . \ --staging-bucket ${STAGING_BUCKET} popd + +# V2 +mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" + +pushd target/devsite + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-iam/.kokoro/trampoline.sh b/java-iam/.kokoro/trampoline.sh index ba17ce01466b..9da0f8398773 100644 --- a/java-iam/.kokoro/trampoline.sh +++ b/java-iam/.kokoro/trampoline.sh @@ -21,4 +21,6 @@ function cleanup() { echo "cleanup"; } trap cleanup EXIT + +$(dirname $0)/populate-secrets.sh # Secret Manager secrets. python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-iam/CONTRIBUTING.md b/java-iam/CONTRIBUTING.md index 085021ddec26..f2dbdee06bc3 100644 --- a/java-iam/CONTRIBUTING.md +++ b/java-iam/CONTRIBUTING.md @@ -99,7 +99,16 @@ mvn -Penable-samples clean verify ``` 2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory +3. Define your samples in a normal Maven project in the `samples/` directory. + +### Code Formatting + +Code in this repo is formatted with +[google-java-format](https://github.com/google/google-java-format). +To run formatting on your project, you can run: +``` +mvn com.coveo:fmt-maven-plugin:format +``` ### Profile Activation diff --git a/java-iam/renovate.json b/java-iam/renovate.json index 5395f5e40ae0..083391a3a53c 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -76,5 +76,6 @@ "groupName": "jackson dependencies" } ], - "semanticCommits": true + "semanticCommits": true, + "masterIssue": true } \ No newline at end of file From ab993f17001d4eb6008dc76c0bd65f9a1456e3e0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:23:55 -0400 Subject: [PATCH 0995/3036] chore: release 0.14.0 (#15) * chore: created CHANGELOG.md [ci skip] * chore: updated README.md [ci skip] * chore: updated versions.txt [ci skip] * chore: updated proto-google-iam-v1/pom.xml [ci skip] * chore: updated grpc-google-iam-v1/pom.xml [ci skip] * chore: updated pom.xml [ci skip] * chore: updated grpc-google-iam-v1/build.gradle [ci skip] * chore: updated proto-google-iam-v1/build.gradle Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-iam/CHANGELOG.md | 17 +++++++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 java-iam/CHANGELOG.md diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md new file mode 100644 index 000000000000..bedac9a61da0 --- /dev/null +++ b/java-iam/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +## [0.14.0](https://www.github.com/googleapis/java-iam/compare/v0.13.0...v0.14.0) (2020-08-11) + + +### Features + +* **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#14](https://www.github.com/googleapis/java-iam/issues/14)) ([82c4bf5](https://www.github.com/googleapis/java-iam/commit/82c4bf50f419b7f57f9a0d15a554b7e8509b99db)) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#2](https://www.github.com/googleapis/java-iam/issues/2)) ([81a7470](https://www.github.com/googleapis/java-iam/commit/81a7470ee9633ff052ccb679cbe37b0079ee51ef)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 ([#18](https://www.github.com/googleapis/java-iam/issues/18)) ([13767ef](https://www.github.com/googleapis/java-iam/commit/13767ef1890b5c81cab43baee28a1b535e5b7211)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#6](https://www.github.com/googleapis/java-iam/issues/6)) ([73b7a4a](https://www.github.com/googleapis/java-iam/commit/73b7a4a03411326f88e49c2efbd1e34d2170dc1b)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#8](https://www.github.com/googleapis/java-iam/issues/8)) ([5f005b4](https://www.github.com/googleapis/java-iam/commit/5f005b45498dc87aeb8cab35d72fbaae04386c24)) +* update dependency io.grpc:grpc-bom to v1.30.0 ([#10](https://www.github.com/googleapis/java-iam/issues/10)) ([f69ac15](https://www.github.com/googleapis/java-iam/commit/f69ac15807aafc345f980091feadd4eb3996976c)) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e33afd03d19a..fa7187cf2429 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 - 0.13.1-SNAPSHOT + 0.14.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 0.13.1-SNAPSHOT + 0.14.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 95dfd9b315cb..774e49b1775f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 0.13.1-SNAPSHOT + 0.14.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 0.13.1-SNAPSHOT + 0.14.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1a9506c813df..a6628e5cb920 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 0.13.1-SNAPSHOT + 0.14.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 0.13.1-SNAPSHOT + 0.14.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7d21bd24eb8e..97817876a331 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:0.13.0:1.13.1-SNAPSHOT +proto-google-iam-v1:0.14.0:0.14.0 From 5c7a904f9ca54e83c3a142ad003bd2891a73f00d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 11 Aug 2020 23:20:16 +0200 Subject: [PATCH 0996/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.2 (#19) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | patch | `0.9.0` -> `0.9.2` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.9.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​092-httpswwwgithubcomgoogleapisjava-shared-configcomparev091v092-2020-07-02) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.1...v0.9.2) ### [`v0.9.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​091-httpswwwgithubcomgoogleapisjava-shared-configcomparev090v091-2020-07-01) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.0...v0.9.1)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 774e49b1775f..d7d4482f1107 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.2 From 4f2c3ab10273be3cdd362ee7f47eab3bc465823d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 00:30:22 +0200 Subject: [PATCH 0997/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 (#20) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | patch | `0.8.2` -> `0.8.6` | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.8.6`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​086-httpswwwgithubcomgoogleapisjava-shared-dependenciescomparev085v086-2020-08-07) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.5...v0.8.6) ### [`v0.8.5`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​085-httpswwwgithubcomgoogleapisjava-shared-dependenciescomparev084v085-2020-08-07) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.4...v0.8.5) ### [`v0.8.4`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​084-httpswwwgithubcomgoogleapisjava-shared-dependenciescomparev083v084-2020-08-04) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.3...v0.8.4) ### [`v0.8.3`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​083-httpswwwgithubcomgoogleapisjava-shared-dependenciescomparev082v083-2020-07-09) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.2...v0.8.3)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d7d4482f1107..90afaed68905 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.8.2 + 0.8.6 pom import From 461410501c55ee85470b9c3d11cafd7fdf8782e0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2020 15:10:29 +0000 Subject: [PATCH 0998/3036] chore: release 0.14.1-SNAPSHOT (#24) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index fa7187cf2429..ec538094ee72 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 - 0.14.0 + 0.14.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 0.14.0 + 0.14.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 90afaed68905..169156da6ab9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 0.14.0 + 0.14.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 0.14.0 + 0.14.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index a6628e5cb920..e6cbd1938123 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 0.14.0 + 0.14.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 0.14.0 + 0.14.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 97817876a331..725c8196ad29 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:0.14.0:0.14.0 +proto-google-iam-v1:0.14.0:0.14.1-SNAPSHOT From 6f3ea31d5c48c856a9ab173f706de78d0f6fc28b Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 12 Aug 2020 08:47:49 -0700 Subject: [PATCH 0999/3036] feat: promote to 1.0.0 (#16) Release-As: 1.0.0 --- java-iam/.repo-metadata.json | 2 +- java-iam/README.md | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index ac0e0203db89..3acc133ae7b1 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -4,7 +4,7 @@ "product_documentation": "n/a", "api_description": "n/a", "client_documentation": "https://googleapis.dev/java/proto-google-iam-v1/latest/index.html", - "release_level": "beta", + "release_level": "ga", "transport": "grpc", "requires_billing": true, "language": "java", diff --git a/java-iam/README.md b/java-iam/README.md index 463fd7cb7edb..61049ecbbe6c 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -7,9 +7,6 @@ Java protobuf classes for IAM Policy. - [Client Library Documentation][javadocs] -> Note: This client is a work-in-progress, and may occasionally -> make backwards-incompatible changes. - ## Java Versions Java 7 or above is required for using this client. @@ -56,7 +53,7 @@ Apache 2.0 - See [LICENSE][license] for more information. [kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java8-win.html [kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java11.svg [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-iam/java11.html -[stability-image]: https://img.shields.io/badge/stability-beta-yellow +[stability-image]: https://img.shields.io/badge/stability-ga-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.api.grpc/proto-google-iam-v1.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.api.grpc%20AND%20a:proto-google-iam-v1&core=gav [authentication]: https://github.com/googleapis/google-cloud-java#authentication From 30f1dd3b492b498b5bbde6a2e3da77605985dbe9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2020 16:54:06 +0000 Subject: [PATCH 1000/3036] chore: release 1.0.0 (#26) :robot: I have created a release \*beep\* \*boop\* --- ## [1.0.0](https://www.github.com/googleapis/java-iam/compare/v0.14.0...v1.0.0) (2020-08-12) ### Features * promote to 1.0.0 ([#16](https://www.github.com/googleapis/java-iam/issues/16)) ([6f3ea31](https://www.github.com/googleapis/java-iam/commit/6f3ea31d5c48c856a9ab173f706de78d0f6fc28b)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 ([#20](https://www.github.com/googleapis/java-iam/issues/20)) ([4f2c3ab](https://www.github.com/googleapis/java-iam/commit/4f2c3ab10273be3cdd362ee7f47eab3bc465823d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/CHANGELOG.md | 12 ++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index bedac9a61da0..911736653794 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.0.0](https://www.github.com/googleapis/java-iam/compare/v0.14.0...v1.0.0) (2020-08-12) + + +### Features + +* promote to 1.0.0 ([#16](https://www.github.com/googleapis/java-iam/issues/16)) ([84ff001](https://www.github.com/googleapis/java-iam/commit/84ff001e68e55145104095bc9193872f5e5623e4)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 ([#20](https://www.github.com/googleapis/java-iam/issues/20)) ([2613432](https://www.github.com/googleapis/java-iam/commit/2613432f698b6a857946ab5277d9ee55e6579f77)) + ## [0.14.0](https://www.github.com/googleapis/java-iam/compare/v0.13.0...v0.14.0) (2020-08-11) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index ec538094ee72..49c17f543d5d 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 - 0.14.1-SNAPSHOT + 0.15.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 0.14.1-SNAPSHOT + 0.15.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 169156da6ab9..d4d29b383b5b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 0.14.1-SNAPSHOT + 0.15.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 0.14.1-SNAPSHOT + 0.15.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e6cbd1938123..b026bd1219a5 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 0.14.1-SNAPSHOT + 0.15.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 0.14.1-SNAPSHOT + 0.15.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 725c8196ad29..803ea5da75b4 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:0.14.0:0.14.1-SNAPSHOT +proto-google-iam-v1:0.15.0:0.15.0 From 07d02aee22fb5c6244fc5475cf641f9c1aae76f9 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 12 Aug 2020 11:57:30 -0700 Subject: [PATCH 1001/3036] chore: fix 1.0.0 release versions (#27) --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 49c17f543d5d..87472ebe3113 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 - 0.15.0 + 1.0.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 0.15.0 + 1.0.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d4d29b383b5b..d096ab6048f0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 0.15.0 + 1.0.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 0.15.0 + 1.0.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b026bd1219a5..b4a34d938d4c 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 0.15.0 + 1.0.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 0.15.0 + 1.0.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 803ea5da75b4..8dacb88dbca5 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:0.15.0:0.15.0 +proto-google-iam-v1:1.0.0:1.0.0 From 239d95b2f3d056c26b7d71c8d483d171250019ef Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 21:19:13 +0200 Subject: [PATCH 1002/3036] deps: update dependency com.google.api:api-common to v1.10.0 (#261) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5546df153800..721e02b6223c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.57.1 - 1.9.3 + 1.10.0 1.18.0 0.13.0 0.21.1 From 637d68d76e36485ef71f327216ac47341c5f9430 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 21:19:34 +0200 Subject: [PATCH 1003/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.4 (#262) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 721e02b6223c..531c6d773881 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.30.10 1.36.0 1.30.2 - 3.12.2 + 3.12.4 0.24.0 1.3.2 29.0-android From fdcf09d9242c5421d41c7cdaad3dca4d9bc60fd0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 21:56:07 +0200 Subject: [PATCH 1004/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.1 (#268) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam) | patch | `1.18.0` -> `1.18.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 531c6d773881..0e250e60961d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.57.1 1.10.0 - 1.18.0 + 1.18.1 0.13.0 0.21.1 1.30.10 From 4db73254841beb4916dd687c0ac17e7f3824f8d4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 22:22:06 +0200 Subject: [PATCH 1005/3036] deps: update core dependencies (#263) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.30.2` -> `1.31.0` | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | minor | `1.57.1` -> `1.58.2` | --- ### Release Notes
    grpc/grpc-java ### [`v1.31.0`](https://togithub.com/grpc/grpc-java/releases/v1.31.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.30.2...v1.31.0) #### API Changes - api: `ManagedChannelBuilder.nameResolverFactory` is now marked deprecated. It has long been our plan to remove the function, but was not communicated. Most usages should be able to globally register via the SPI mechanism or `NameResolverRegistry.register()`. There is a plan to add a method to `ManagedChannelBuilder` to specify the default target scheme for the channel. If your use-case is not covered, please inform us on [#​7133](https://togithub.com/grpc/grpc-java/issues/7133) #### New Features - The following new xDS functionality is added in this release: - Requests matching based on [path](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route_components.proto#route-routematch) (prefix, full path and safe regex) and [headers](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route_components.proto#route-headermatcher). - Requests routing to multiple clusters based on [weights](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/route/route_components.proto#route-weightedcluster). - The xDS features supported in a given release are documented [here](https://togithub.com/grpc/grpc/blob/master/doc/grpc_xds_features.md). - api: Added `LoadBalancer.Helper.createResolvingOobChannelBuilder()`. It is similar to `LoadBalancer.Helper.createResolvingOobChannel()` except allows configuring the channel ([#​7136](https://togithub.com/grpc/grpc-java/issues/7136)) #### Bug Fixes - netty: return status code unavailable when netty channel has unresolved InetSocketAddress ([#​7023](https://togithub.com/grpc/grpc-java/issues/7023)) - core: fix a bug that a call may hang when using manual flow control and gRPC retry is enabled ([#​6817](https://togithub.com/grpc/grpc-java/issues/6817)) #### Documentation - stub: Documented more behavior of ClientCalls and ServerCalls, with regard to ClientResponseObserver, ClientCallStreamObserver, ServerCallStreamObserver, and exceptions - api: Documented how Providers may be used in their respective class documentation. Previously you “just had to know” the SPI mechanism was available #### Dependencies - Update guava to 29.0 ([#​7079](https://togithub.com/grpc/grpc-java/issues/7079)) #### Examples - examples: Add client/server retrying example via service config [#​7111](https://togithub.com/grpc/grpc-java/issues/7111) #### Acknowledgements [@​alexanderscott](https://togithub.com/alexanderscott) [@​AnarSultanov](https://togithub.com/AnarSultanov) [@​cindyxue](https://togithub.com/cindyxue) [@​d-reidenbach](https://togithub.com/d-reidenbach) [@​elharo](https://togithub.com/elharo) [@​gsharma](https://togithub.com/gsharma) [@​reggiemcdonald](https://togithub.com/reggiemcdonald)
    googleapis/gax-java ### [`v1.58.2`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1582-httpswwwgithubcomgoogleapisgax-javacomparev1581v1582-2020-08-07) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.58.1...v1.58.2) ### [`v1.58.1`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1581-httpswwwgithubcomgoogleapisgax-javacomparev1580v1581-2020-08-06) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.58.0...v1.58.1) ### [`v1.58.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1580-httpswwwgithubcomgoogleapisgax-javacomparev1572v1580-2020-07-31) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.57.1...v1.58.0) ##### Features - add retry logging ([#​1160](https://www.github.com/googleapis/gax-java/issues/1160)) ([1575715](https://www.github.com/googleapis/gax-java/commit/15757151d4965276bd01e6772c10288959bb17ec)) - enable setting quota_project_id ([#​1128](https://www.github.com/googleapis/gax-java/issues/1128)) ([20bb200](https://www.github.com/googleapis/gax-java/commit/20bb200c8019ad1df8acbfe210cea7d5e9a9a57c)) - non-retryable RPCs use totalTimeout ([#​1149](https://www.github.com/googleapis/gax-java/issues/1149)) ([b7646a3](https://www.github.com/googleapis/gax-java/commit/b7646a3a959b7e5ef40158851f26ce6701da8ca4)) ##### Bug Fixes - retain context timeouts in ServerStreamingAttemptCallable ([#​1155](https://www.github.com/googleapis/gax-java/issues/1155)) ([461ff84](https://www.github.com/googleapis/gax-java/commit/461ff846ca551c2242bf6c60e61234997d0ba58e)) ##### [1.57.2](https://www.github.com/googleapis/gax-java/compare/v1.57.1...v1.57.2) (2020-07-21) ##### Bug Fixes - Fix javadoc generation on Java11 ([#​1145](https://www.github.com/googleapis/gax-java/issues/1145)) ([c7a039e](https://www.github.com/googleapis/gax-java/commit/c7a039e07be02298d9dd906b08e1e1bb995e85e2)) - Preconditions only supports %s format ([#​1153](https://www.github.com/googleapis/gax-java/issues/1153)) ([8145311](https://www.github.com/googleapis/gax-java/commit/8145311b38fdd3bf82a4958f8aef5313857b70c0)) ##### [1.57.1](https://www.github.com/googleapis/gax-java/compare/v1.57.0...v1.57.1) (2020-07-07) ##### Bug Fixes - add back javax.annotation dependency ([#​1129](https://www.github.com/googleapis/gax-java/issues/1129)) ([77a4cc3](https://www.github.com/googleapis/gax-java/commit/77a4cc373914396dd343891e38cf743166668c96)) ##### Dependencies - update google-auth-library to 0.21.0 ([#​1134](https://www.github.com/googleapis/gax-java/issues/1134)) ([6528e5c](https://www.github.com/googleapis/gax-java/commit/6528e5cb9cec50ef01c0d2601c6db518df825747))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/config-help/issues) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-core). --- java-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0e250e60961d..9ae76fd5530b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,14 +151,14 @@ UTF-8 github google-cloud-core-parent - 1.57.1 + 1.58.2 1.10.0 1.18.1 0.13.0 0.21.1 1.30.10 1.36.0 - 1.30.2 + 1.31.0 3.12.4 0.24.0 1.3.2 From 53131972848c5e20c31e48e84152be53d71017b8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 22:40:06 +0200 Subject: [PATCH 1006/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1 (#269) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9ae76fd5530b..f28b98762dae 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.58.2 1.10.0 1.18.1 - 0.13.0 + 1.0.0 0.21.1 1.30.10 1.36.0 From 2bca321470c78bdbe6c44c939d6a0fc9c19485d3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 22:40:39 +0200 Subject: [PATCH 1007/3036] deps: update google.common-protos.version to v1.18.1 (#119) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e58bc2353b00..c1ff2474308f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 29.0-android 3.12.4 1.10.0 - 1.18.0 + 1.18.1 1.93.7 0.21.1 1.36.0 From 12a961f3135ad75c659fc7fa79e659f53e59c355 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 22:53:59 +0200 Subject: [PATCH 1008/3036] deps: update iam.version to v0.15.0 (#118) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c1ff2474308f..cc20890769ff 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.4.4 1.3.2 1.19 - 0.13.0 + 0.15.0 0.24.0 3.0.2
    From 3ae5990d8cd1b1239edb1aaaf99b16e468b35091 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Aug 2020 23:08:13 +0200 Subject: [PATCH 1009/3036] deps: update iam.version to v1 (major) (#120) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | major | `0.15.0` -> `1.0.0` | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | major | `0.15.0` -> `1.0.0` | --- ### Release Notes
    googleapis/java-iam ### [`v1.0.0`](https://togithub.com/googleapis/java-iam/blob/master/CHANGELOG.md#​100-httpswwwgithubcomgoogleapisjava-iamcomparev0140v100-2020-08-12) ##### Features - promote to 1.0.0 ([#​16](https://www.github.com/googleapis/java-iam/issues/16)) ([84ff001](https://www.github.com/googleapis/java-iam/commit/84ff001e68e55145104095bc9193872f5e5623e4)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.6 ([#​20](https://www.github.com/googleapis/java-iam/issues/20)) ([2613432](https://www.github.com/googleapis/java-iam/commit/2613432f698b6a857946ab5277d9ee55e6579f77))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cc20890769ff..56ac0067f81c 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.4.4 1.3.2 1.19 - 0.15.0 + 1.0.0 0.24.0 3.0.2
    From 4db6c33d784ad98ba4c86b5538716ef2847b9109 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2020 21:12:10 +0000 Subject: [PATCH 1010/3036] chore: release 1.93.8 (#257) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.8](https://www.github.com/googleapis/java-core/compare/v1.93.7...v1.93.8) (2020-08-12) ### Bug Fixes * docs of com.google.cloud.Timestamp.parseTimestamp ([#258](https://www.github.com/googleapis/java-core/issues/258)) ([cfc4f5a](https://www.github.com/googleapis/java-core/commit/cfc4f5a3b816ed51ad30a4d790cb47bcab643cbb)) ### Dependencies * update core dependencies ([#263](https://www.github.com/googleapis/java-core/issues/263)) ([4db7325](https://www.github.com/googleapis/java-core/commit/4db73254841beb4916dd687c0ac17e7f3824f8d4)) * update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#253](https://www.github.com/googleapis/java-core/issues/253)) ([2d1b9e5](https://www.github.com/googleapis/java-core/commit/2d1b9e517f3a1fb0b990131933367b87d1aedff2)) * update dependency com.google.api:api-common to v1.10.0 ([#261](https://www.github.com/googleapis/java-core/issues/261)) ([239d95b](https://www.github.com/googleapis/java-core/commit/239d95b2f3d056c26b7d71c8d483d171250019ef)) * update dependency com.google.api.grpc:proto-google-common-protos to v1.18.1 ([#268](https://www.github.com/googleapis/java-core/issues/268)) ([fdcf09d](https://www.github.com/googleapis/java-core/commit/fdcf09d9242c5421d41c7cdaad3dca4d9bc60fd0)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1 ([#269](https://www.github.com/googleapis/java-core/issues/269)) ([5313197](https://www.github.com/googleapis/java-core/commit/53131972848c5e20c31e48e84152be53d71017b8)) * update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#262](https://www.github.com/googleapis/java-core/issues/262)) ([637d68d](https://www.github.com/googleapis/java-core/commit/637d68d76e36485ef71f327216ac47341c5f9430)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 17 +++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 29 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 54f7cc306e41..5664dd2126b7 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +### [1.93.8](https://www.github.com/googleapis/java-core/compare/v1.93.7...v1.93.8) (2020-08-12) + + +### Bug Fixes + +* docs of com.google.cloud.Timestamp.parseTimestamp ([#258](https://www.github.com/googleapis/java-core/issues/258)) ([964dd14](https://www.github.com/googleapis/java-core/commit/964dd142609ae8923a285e20746ce9ee8c302bd5)) + + +### Dependencies + +* update core dependencies ([#263](https://www.github.com/googleapis/java-core/issues/263)) ([44023c3](https://www.github.com/googleapis/java-core/commit/44023c34d0b5d1990c5028f6e04479b8d7539e77)) +* update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#253](https://www.github.com/googleapis/java-core/issues/253)) ([0fd53fe](https://www.github.com/googleapis/java-core/commit/0fd53fe522e35fdd09783bb618ff7dcf01d82a95)) +* update dependency com.google.api:api-common to v1.10.0 ([#261](https://www.github.com/googleapis/java-core/issues/261)) ([1414e01](https://www.github.com/googleapis/java-core/commit/1414e01a8154533d53911933eb86fc785760af6c)) +* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.1 ([#268](https://www.github.com/googleapis/java-core/issues/268)) ([b59a83c](https://www.github.com/googleapis/java-core/commit/b59a83c212f862043de0f5f8fa6ae7bb5d2baba4)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1 ([#269](https://www.github.com/googleapis/java-core/issues/269)) ([fe3987e](https://www.github.com/googleapis/java-core/commit/fe3987e2dffb2fe7b7bdd0d48266eba7aad7929b)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#262](https://www.github.com/googleapis/java-core/issues/262)) ([2ffca65](https://www.github.com/googleapis/java-core/commit/2ffca65399a716a0b929ae3f1ae388481b187ae2)) + ### [1.93.7](https://www.github.com/googleapis/java-core/compare/v1.93.6...v1.93.7) (2020-07-08) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index acb5aba3cf63..38f231bcd7b0 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.8-SNAPSHOT + 1.93.8 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.8-SNAPSHOT + 1.93.8 com.google.cloud google-cloud-core-grpc - 1.93.8-SNAPSHOT + 1.93.8 com.google.cloud google-cloud-core-http - 1.93.8-SNAPSHOT + 1.93.8 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 487721e6d9e4..09c9ac240ba1 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 - 1.93.8-SNAPSHOT + 1.93.8 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.8-SNAPSHOT + 1.93.8 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 feacf6c525a5..8e18e8357f1d 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 - 1.93.8-SNAPSHOT + 1.93.8 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.8-SNAPSHOT + 1.93.8 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ce345ea794f6..bc49dd6be71c 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 - 1.93.8-SNAPSHOT + 1.93.8 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.8-SNAPSHOT + 1.93.8 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index f28b98762dae..fa8c1dbf8555 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.8-SNAPSHOT + 1.93.8 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0618cd66e5bb..3a74853a6331 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.7:1.93.8-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.8:1.93.8 \ No newline at end of file From ce838ca2dcf571341b1264f658faa73126204a50 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 12 Aug 2020 17:18:37 -0700 Subject: [PATCH 1011/3036] chore: split renovate PRs (#123) For this artifact, we actually care about each individual library in the release notes. We shouldn't have ordering issues within this bom. --- java-shared-dependencies/renovate.json | 18 ------------------ java-shared-dependencies/synth.py | 3 ++- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/java-shared-dependencies/renovate.json b/java-shared-dependencies/renovate.json index 534f6068bcc3..380388a52b95 100644 --- a/java-shared-dependencies/renovate.json +++ b/java-shared-dependencies/renovate.json @@ -17,24 +17,6 @@ ], "versionScheme": "docker" }, - { - "packagePatterns": [ - "^com.google.api:gax", - "^com.google.auth:", - "^com.google.cloud:google-cloud-core", - "^io.grpc:", - "^com.google.guava:" - ], - "groupName": "core dependencies" - }, - { - "packagePatterns": [ - "^com.google.http-client:", - "^com.google.oauth-client:", - "^com.google.api-client:" - ], - "groupName": "core transport dependencies" - }, { "packagePatterns": [ "*" diff --git a/java-shared-dependencies/synth.py b/java-shared-dependencies/synth.py index 0ea815a07d09..f8e716c51aa4 100644 --- a/java-shared-dependencies/synth.py +++ b/java-shared-dependencies/synth.py @@ -18,5 +18,6 @@ java.common_templates(excludes=[ "README.md", - "samples/*" + "samples/*", + "renovate.json", ]) From a79ca234c87374e80e02c6354c06a6417ed52839 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Aug 2020 00:21:30 +0200 Subject: [PATCH 1012/3036] deps: update google.core.version to v1.93.8 --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 56ac0067f81c..e82dca7bf7a1 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.12.4 1.10.0 1.18.1 - 1.93.7 + 1.93.8 0.21.1 1.36.0 1.30.10 From 51d92bff9a16c0999f368102ad9e147d53a0c7a4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Aug 2020 00:24:07 +0200 Subject: [PATCH 1013/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.13.0 (#126) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | minor | `3.12.4` -> `3.13.0` | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.13.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.13.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.12.4...v3.13.0) ### PHP - The C extension is completely rewritten. The new C extension has significantly better parsing performance and fixes a handful of conformance issues. It will also make it easier to add support for more features like proto2 and proto3 presence. - The new C extension does not support PHP 5.x, which is the reason for the major version bump. PHP 5.x users can still use pure-PHP. ### C++ - Removed deprecated unsafe arena string accessors - Enabled heterogeneous lookup for std::string keys in maps. - Removed implicit conversion from StringPiece to std::string - Fix use-after-destroy bug when the Map is allocated in the arena. - Improved the randomness of map ordering - Added stack overflow protection for text format with unknown fields - Use std::hash for proto maps to help with portability. - Added more Windows macros to proto whitelist. - Arena constructors for map entry messages are now marked "explicit" (for regular messages they were already explicit). - Fix subtle aliasing bug in RepeatedField::Add - Fix mismatch between MapEntry ByteSize and Serialize with respect to unset fields. ### Python - JSON format conformance fixes: - Reject lowercase t for Timestamp json format. - Print full_name directly for extensions (no camelCase). - Reject boolean values for integer fields. - Reject NaN, Infinity, -Infinity that is not quoted. - Base64 fixes for bytes fields: accept URL-safe base64 and missing padding. - Bugfix for fields/files named "async" or "await". - Improved the error message when AttributeError is returned from **getattr** in EnumTypeWrapper. ### Java - Fixed a bug where setting optional proto3 enums with setFooValue() would not mark the value as present. - Add Subtract function to FieldMaskUtil. ### C - Dropped support for netstandard1.0 (replaced by support for netstandard1.1). This was required to modernize the parsing stack to use the `Span` type internally. ([#​7351](https://togithub.com/protocolbuffers/protobuf/issues/7351)) - Add `ParseFrom(ReadOnlySequence)` method to enable GC friendly parsing with reduced allocations and buffer copies. ([#​7351](https://togithub.com/protocolbuffers/protobuf/issues/7351)) - Add support for serialization directly to a `IBufferWriter` or to a `Span` to enable GC friendly serialization. The new API is available as extension methods on the `IMessage` type. ([#​7576](https://togithub.com/protocolbuffers/protobuf/issues/7576)) - Add `GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE` define to make generated code compatible with old C# compilers (pre-roslyn compilers from .NET framework and old versions of mono) that do not support ref structs. Users that are still on a legacy stack that does not support C# 7.2 compiler might need to use the new define in their projects to be able to build the newly generated code. ([#​7490](https://togithub.com/protocolbuffers/protobuf/issues/7490)) - Due to the major overhaul of parsing and serialization internals ([#​7351](https://togithub.com/protocolbuffers/protobuf/issues/7351) and [#​7576](https://togithub.com/protocolbuffers/protobuf/issues/7576)), it is recommended to regenerate your generated code to achieve the best performance (the legacy generated code will still work, but might incur a slight performance penalty).
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e82dca7bf7a1..87d706d86206 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.31.0 1.58.2 29.0-android - 3.12.4 + 3.13.0 1.10.0 1.18.1 1.93.8 From 9c2ac552d23e6abbbb9f4ff9e18e5d5f8719d7b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Aug 2020 00:26:07 +0200 Subject: [PATCH 1014/3036] deps: update dependency io.grpc:grpc-bom to v1.31.1 (#124) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | patch | `1.31.0` -> `1.31.1` | --- ### Release Notes
    grpc/grpc-java ### [`v1.31.1`](https://togithub.com/grpc/grpc-java/releases/v1.31.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.31.0...v1.31.1) Bug Fixes: - netty: The environment variable `GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false` will now disable the BDP monitoring introduced in v1.30.0. This is intended to help diagnose a “too_many_pings” compatibility issue and will be removed once it is resolved. If you need to use the variable, \_please_ file an issue - examples: some gRPC artifacts are missing in JCenter causing Android examples to sometimes fail to build. Now we are adding mavenCentral as fallback for the Android examples. See [#​5782](https://togithub.com/grpc/grpc-java/issues/5782) - xds: meshCA protocol buffers added in v1.31.0 are now properly shaded in an internal package - xds: fixed some internal breakage for traffic splitting
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 87d706d86206..e76ab8275a8a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.31.0 + 1.31.1 1.58.2 29.0-android 3.13.0 From a787c28a64ae63280cfc5c0cb7ad95b1721cbac0 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Thu, 20 Aug 2020 19:29:28 -0400 Subject: [PATCH 1015/3036] chore: exclude samples lint checks (#128) --- java-shared-dependencies/synth.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/synth.py b/java-shared-dependencies/synth.py index f8e716c51aa4..849754319609 100644 --- a/java-shared-dependencies/synth.py +++ b/java-shared-dependencies/synth.py @@ -17,7 +17,9 @@ from synthtool.languages import java java.common_templates(excludes=[ - "README.md", - "samples/*", - "renovate.json", + 'README.md', + 'samples/*', + 'renovate.json', + # excluding samples ci jobs since there are no samples in this repo + '.github/workflows/samples.yaml' ]) From 979e5166d6a230647befd1007772cdbc4ea058ea Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2020 16:52:18 +0000 Subject: [PATCH 1016/3036] chore: release 1.0.1-SNAPSHOT (#28) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 87472ebe3113..95f031b3e9f4 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.0.0 + 1.0.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d096ab6048f0..1834f51b373d 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.0 + 1.0.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b4a34d938d4c..518bf61b4d6c 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.0 + 1.0.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.0 + 1.0.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 8dacb88dbca5..5b766eb43696 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.0:1.0.0 +proto-google-iam-v1:1.0.0:1.0.1-SNAPSHOT From 9ec44f1f7cf66913ffbd39f7b2d415fa321d8cef Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2020 16:54:15 +0000 Subject: [PATCH 1017/3036] chore: release 1.93.9-SNAPSHOT (#271) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 38f231bcd7b0..03422aa9f5dd 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.8 + 1.93.9-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.8 + 1.93.9-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.8 + 1.93.9-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.8 + 1.93.9-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 09c9ac240ba1..e2c40f1e9a3e 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 - 1.93.8 + 1.93.9-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.8 + 1.93.9-SNAPSHOT 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 8e18e8357f1d..51cece6ee82a 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 - 1.93.8 + 1.93.9-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.8 + 1.93.9-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index bc49dd6be71c..146414e5a7f3 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 - 1.93.8 + 1.93.9-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.8 + 1.93.9-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index fa8c1dbf8555..1a00ee59a61b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.8 + 1.93.9-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 3a74853a6331..51d0e7e5ee01 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.8:1.93.8 \ No newline at end of file +google-cloud-core:1.93.8:1.93.9-SNAPSHOT \ No newline at end of file From a2b0e8114471a9ee4cbf7711f0f1325b3c6ee4e1 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 27 Aug 2020 10:02:07 -0700 Subject: [PATCH 1018/3036] chore: ignore samples presubmits (#277) This repo does not have samples so skip the samples presubmit checks. --- java-core/synth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/synth.py b/java-core/synth.py index 646372929e27..b936244fc371 100644 --- a/java-core/synth.py +++ b/java-core/synth.py @@ -21,5 +21,6 @@ java.common_templates(excludes=[ 'README.md', 'samples/*', + '.github/workflows/samples.yaml', ]) From 197ad87ec88adf2a13e61151f6a270e8b9cc45c2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 28 Aug 2020 08:29:44 -0700 Subject: [PATCH 1019/3036] fix: temporarily disable reporting to unblock releases (#129) Source-Author: Stephanie Wang Source-Date: Tue Aug 25 13:05:26 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 968465a1cad496e1292ef4584a054a35f756ff94 Source-Link: https://github.com/googleapis/synthtool/commit/968465a1cad496e1292ef4584a054a35f756ff94 --- java-shared-dependencies/.kokoro/release/stage.sh | 5 +++-- java-shared-dependencies/synth.metadata | 7 +++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh index 3c482cbc55f1..d19191fc896c 100755 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -16,8 +16,9 @@ set -eo pipefail # Start the releasetool reporter -python3 -m pip install gcp-releasetool -python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script +# Disable reporting due to issue observed with Kokoro blocking releases +# python3 -m pip install gcp-releasetool +# python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 7b818c57341b..d57c08c49de4 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "d070266e7ddf8e5d0fb9965a6b404c78827b8f64" + "sha": "558d593fa014a6a5762d5eb7405e9eea0213ed64" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1" + "sha": "968465a1cad496e1292ef4584a054a35f756ff94" } } ], @@ -73,7 +73,6 @@ "LICENSE", "codecov.yaml", "java.header", - "license-checks.xml", - "renovate.json" + "license-checks.xml" ] } \ No newline at end of file From 6454b2d115f17b15eff6e3648fce7eb6a7d64a41 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 31 Aug 2020 12:32:01 -0700 Subject: [PATCH 1020/3036] build(java): switch to release-publish app for notifying GitHub of release status (#130) Source-Author: Jeff Ching Source-Date: Wed Aug 26 21:48:06 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 019c7168faa0e56619f792693a8acdb30d6de19b Source-Link: https://github.com/googleapis/synthtool/commit/019c7168faa0e56619f792693a8acdb30d6de19b --- .../.kokoro/release/stage.cfg | 31 ++----------------- .../.kokoro/release/stage.sh | 5 ++- java-shared-dependencies/synth.metadata | 4 +-- 3 files changed, 7 insertions(+), 33 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/stage.cfg b/java-shared-dependencies/.kokoro/release/stage.cfg index 413d49ab96ee..b8225f667db7 100644 --- a/java-shared-dependencies/.kokoro/release/stage.cfg +++ b/java-shared-dependencies/.kokoro/release/stage.cfg @@ -13,32 +13,7 @@ action { } } -# Fetch the token needed for reporting release status to GitHub -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - } - } -} - -# Fetch magictoken to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "releasetool-magictoken" - } - } -} - -# Fetch api key to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "magic-github-proxy-api-key" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" } diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh index d19191fc896c..3c482cbc55f1 100755 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -16,9 +16,8 @@ set -eo pipefail # Start the releasetool reporter -# Disable reporting due to issue observed with Kokoro blocking releases -# python3 -m pip install gcp-releasetool -# python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script +python3 -m pip install gcp-releasetool +python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index d57c08c49de4..de2cff43cad2 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "558d593fa014a6a5762d5eb7405e9eea0213ed64" + "sha": "7fff6f2c94a19ba998d8cd47e8be5a6333808df8" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "968465a1cad496e1292ef4584a054a35f756ff94" + "sha": "019c7168faa0e56619f792693a8acdb30d6de19b" } } ], From 092790eb2a9ddc1e72a722b5099c1d1ec8cab700 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 31 Aug 2020 14:00:16 -0700 Subject: [PATCH 1021/3036] build: use bom versioning release strategy (#131) --- java-shared-dependencies/.github/release-please.yml | 2 +- java-shared-dependencies/synth.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml index dce2c8450921..f40392f11e13 100644 --- a/java-shared-dependencies/.github/release-please.yml +++ b/java-shared-dependencies/.github/release-please.yml @@ -1,2 +1,2 @@ -releaseType: java-yoshi +releaseType: java-bom bumpMinorPreMajor: true \ No newline at end of file diff --git a/java-shared-dependencies/synth.py b/java-shared-dependencies/synth.py index 849754319609..a27dfd26565d 100644 --- a/java-shared-dependencies/synth.py +++ b/java-shared-dependencies/synth.py @@ -21,5 +21,6 @@ 'samples/*', 'renovate.json', # excluding samples ci jobs since there are no samples in this repo - '.github/workflows/samples.yaml' + '.github/workflows/samples.yaml', + '.github/release-please.yml', ]) From b631f7ff4d915c8e6bbeea90ad3988cdf118dea7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2020 17:04:16 -0400 Subject: [PATCH 1022/3036] chore: release 0.9.0 (#132) * chore: updated CHANGELOG.md [ci skip] * chore: updated README.md [ci skip] * chore: updated versions.txt [ci skip] * chore: updated pom.xml Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 17 +++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 7318c50dbf08..122bcf740f70 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [0.9.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.8.6...v0.9.0) (2020-08-31) + + +### Bug Fixes + +* temporarily disable reporting to unblock releases ([#129](https://www.github.com/googleapis/java-shared-dependencies/issues/129)) ([7fff6f2](https://www.github.com/googleapis/java-shared-dependencies/commit/7fff6f2c94a19ba998d8cd47e8be5a6333808df8)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.13.0 ([#126](https://www.github.com/googleapis/java-shared-dependencies/issues/126)) ([908063f](https://www.github.com/googleapis/java-shared-dependencies/commit/908063f9b820dd3195b15537189e45be0d4acbbb)) +* update dependency io.grpc:grpc-bom to v1.31.1 ([#124](https://www.github.com/googleapis/java-shared-dependencies/issues/124)) ([553a339](https://www.github.com/googleapis/java-shared-dependencies/commit/553a3393f5bede0e90e16e2d0d87daa2b936ab32)) +* update google.common-protos.version to v1.18.1 ([#119](https://www.github.com/googleapis/java-shared-dependencies/issues/119)) ([05ad27e](https://www.github.com/googleapis/java-shared-dependencies/commit/05ad27e35fe082e148d377315b10943b187b5670)) +* update google.core.version to v1.93.8 ([f72cef3](https://www.github.com/googleapis/java-shared-dependencies/commit/f72cef3d78a036e2b2434bf08b0a75d57b2fa139)) +* update iam.version to v0.15.0 ([#118](https://www.github.com/googleapis/java-shared-dependencies/issues/118)) ([1409a16](https://www.github.com/googleapis/java-shared-dependencies/commit/1409a16826d3fd4a5d9cbcbe46ea4b4af8687a5c)) +* update iam.version to v1 (major) ([#120](https://www.github.com/googleapis/java-shared-dependencies/issues/120)) ([a6243a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a6243a02129e42fec804b5769fb8e3f334ba84ce)) + ### [0.8.6](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.5...v0.8.6) (2020-08-07) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 8d66f73eacca..fe98ebf83e92 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.8.6 + 0.9.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e76ab8275a8a..8b8c5c1ca20f 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 - 0.8.7-SNAPSHOT + 0.9.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 837ad94ca15c..e2d7dd2d246b 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.8.6:0.8.7-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.9.0:0.9.0 \ No newline at end of file From 28721d976ea8d93e5c73b96fff0817e454738955 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Sep 2020 21:26:24 +0200 Subject: [PATCH 1023/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 (#30) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.8.6` -> `0.9.0` | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.9.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​090-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare086v090-2020-08-31) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.6...v0.9.0) ##### Bug Fixes - temporarily disable reporting to unblock releases ([#​129](https://www.github.com/googleapis/java-shared-dependencies/issues/129)) ([7fff6f2](https://www.github.com/googleapis/java-shared-dependencies/commit/7fff6f2c94a19ba998d8cd47e8be5a6333808df8)) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.13.0 ([#​126](https://www.github.com/googleapis/java-shared-dependencies/issues/126)) ([908063f](https://www.github.com/googleapis/java-shared-dependencies/commit/908063f9b820dd3195b15537189e45be0d4acbbb)) - update dependency io.grpc:grpc-bom to v1.31.1 ([#​124](https://www.github.com/googleapis/java-shared-dependencies/issues/124)) ([553a339](https://www.github.com/googleapis/java-shared-dependencies/commit/553a3393f5bede0e90e16e2d0d87daa2b936ab32)) - update google.common-protos.version to v1.18.1 ([#​119](https://www.github.com/googleapis/java-shared-dependencies/issues/119)) ([05ad27e](https://www.github.com/googleapis/java-shared-dependencies/commit/05ad27e35fe082e148d377315b10943b187b5670)) - update google.core.version to v1.93.8 ([f72cef3](https://www.github.com/googleapis/java-shared-dependencies/commit/f72cef3d78a036e2b2434bf08b0a75d57b2fa139)) - update iam.version to v0.15.0 ([#​118](https://www.github.com/googleapis/java-shared-dependencies/issues/118)) ([1409a16](https://www.github.com/googleapis/java-shared-dependencies/commit/1409a16826d3fd4a5d9cbcbe46ea4b4af8687a5c)) - update iam.version to v1 (major) ([#​120](https://www.github.com/googleapis/java-shared-dependencies/issues/120)) ([a6243a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a6243a02129e42fec804b5769fb8e3f334ba84ce)) ##### [0.8.6](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.5...v0.8.6) (2020-08-07) ##### Dependencies - update gax to v1.58.2 ([#​115](https://www.github.com/googleapis/java-shared-dependencies/issues/115)) ([84b48b4](https://www.github.com/googleapis/java-shared-dependencies/commit/84b48b4e77a4b5b4a2db6030609abe241d5ee2e1)) ##### [0.8.5](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.4...v0.8.5) (2020-08-07) ##### Dependencies - update gax to v1.58.1 ([#​111](https://www.github.com/googleapis/java-shared-dependencies/issues/111)) ([93a1691](https://www.github.com/googleapis/java-shared-dependencies/commit/93a16915b863a610ffdabe0e23aec58c4ae5f4f1)) ##### [0.8.4](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.3...v0.8.4) (2020-08-04) ##### Dependencies - update core dependencies ([#​104](https://www.github.com/googleapis/java-shared-dependencies/issues/104)) ([5046818](https://www.github.com/googleapis/java-shared-dependencies/commit/504681803d2bba888404acffe9a8853746501358)) - update dependency com.google.api:api-common to v1.10.0 ([#​101](https://www.github.com/googleapis/java-shared-dependencies/issues/101)) ([6472fac](https://www.github.com/googleapis/java-shared-dependencies/commit/6472face89700e3f2f982c04a5e88801876580be)) - update dependency com.google.protobuf:protobuf-bom to v3.12.4 ([#​103](https://www.github.com/googleapis/java-shared-dependencies/issues/103)) ([885bd0e](https://www.github.com/googleapis/java-shared-dependencies/commit/885bd0ef3c9e344bd1fc60e0f3264995064001d9)) ##### [0.8.3](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.2...v0.8.3) (2020-07-09) ##### Dependencies - update core dependencies ([#​96](https://www.github.com/googleapis/java-shared-dependencies/issues/96)) ([978e69e](https://www.github.com/googleapis/java-shared-dependencies/commit/978e69e9b5999630354ea204c034be2d6b8a2d80)) - update dependency com.google.api-client:google-api-client-bom to v1.30.10 ([#​99](https://www.github.com/googleapis/java-shared-dependencies/issues/99)) ([65c9cce](https://www.github.com/googleapis/java-shared-dependencies/commit/65c9ccea34275fa6f9599043d6e06df169bc433a)) - update dependency com.google.api:api-common to v1.9.3 ([#​91](https://www.github.com/googleapis/java-shared-dependencies/issues/91)) ([2a23a50](https://www.github.com/googleapis/java-shared-dependencies/commit/2a23a50ee5c73b581a02171048e20b14f999949f)) ##### [0.8.2](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2) (2020-07-01) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v0.21.0 ([#​86](https://www.github.com/googleapis/java-shared-dependencies/issues/86)) ([dc9d717](https://www.github.com/googleapis/java-shared-dependencies/commit/dc9d717fdec4f0962141ba34e98f5737ec3bc57a)) - update dependency com.google.http-client:google-http-client-bom to v1.36.0 ([#​89](https://www.github.com/googleapis/java-shared-dependencies/issues/89)) ([12437d7](https://www.github.com/googleapis/java-shared-dependencies/commit/12437d7392a430299c3372d18d2650b62be60eaf)) - update dependency io.grpc:grpc-bom to v1.30.1 ([#​82](https://www.github.com/googleapis/java-shared-dependencies/issues/82)) ([a5199a0](https://www.github.com/googleapis/java-shared-dependencies/commit/a5199a02d5bde75e86349b37c1efae64a6379a40)) - update dependency io.grpc:grpc-bom to v1.30.2 ([#​85](https://www.github.com/googleapis/java-shared-dependencies/issues/85)) ([084d18d](https://www.github.com/googleapis/java-shared-dependencies/commit/084d18daab010c6b0be04e67b42ca8ab8ba5f3d5)) ##### [0.8.1](https://www.github.com/googleapis/java-shared-dependencies/compare/v0.8.0...v0.8.1) (2020-06-13) ##### Reverts - Revert "feat: mark javax annotations scope as provided ([#​70](https://togithub.com/googleapis/java-shared-dependencies/issues/70))" ([#​75](https://togithub.com/googleapis/java-shared-dependencies/issues/75)) ([d2f23ec](https://www.github.com/googleapis/java-shared-dependencies/commit/d2f23ecae56a1ec07b1217f0fca5347dd0f0406b)), closes [#​70](https://www.github.com/googleapis/java-shared-dependencies/issues/70) [#​75](https://www.github.com/googleapis/java-shared-dependencies/issues/75)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1834f51b373d..92015951caf0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.8.6 + 0.9.0 pom import From e23d85ce79731a1ac187251512b3e10dbca1b30c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Sep 2020 22:04:04 +0200 Subject: [PATCH 1024/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.1 (#278) This PR contains the following updates: | Package | Update | Change | |---|---|---| | org.apache.maven.plugins:maven-project-info-reports-plugin | patch | `3.1.0` -> `3.1.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1a00ee59a61b..b0a7b0d7812e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -323,7 +323,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.0 + 3.1.1 From b14b26fa934fd41ddab7495f32d57b73a9681925 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Sep 2020 22:18:13 +0200 Subject: [PATCH 1025/3036] deps: update dependency io.grpc:grpc-bom to v1.32.1 (#133) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.31.1` -> `1.32.1` | --- ### Release Notes
    grpc/grpc-java ### [`v1.32.1`](https://togithub.com/grpc/grpc-java/releases/v1.32.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.31.1...v1.32.1) #### API Changes - api: Removed deprecated method `ChannelBuilder.blockingExecutor()` ([#​7242](https://togithub.com/grpc/grpc-java/issues/7242)). There should not be any users as it was deprecated the first release it was available and was renamed `offloadExecutor()`. - grpclb: Make ATTR_LB_ADDRS public ([#​7230](https://togithub.com/grpc/grpc-java/issues/7230)). This is necessary to configure grpclb from a custom NameResolver #### New Features - xds: perform header matching on concatenated multi-valued headers ([#​7215](https://togithub.com/grpc/grpc-java/issues/7215)) - xds: add header matching special cases for hiding/exposing some gRPC headers ([#​7224](https://togithub.com/grpc/grpc-java/issues/7224)). The only gRPC header available for header matching is “content-type”. - xds: support load reporting all clusters option and fix actual report interval measurement ([#​7209](https://togithub.com/grpc/grpc-java/issues/7209)). If the LRS response enables send_all_clusters, the client side will report loads for all clusters it is currently using. #### Bug Fixes - core, alts, cronet: Fix ByteBuffer covariant method usages ([#​7349](https://togithub.com/grpc/grpc-java/issues/7349)). When built with Java 9+, internal usages of ByteBuffer APIs may cause runtime breakage for dependent applications running with Java 8. This is fixed now. - core: Fixed a bug that RPC may hang when hedging is enabled with a throttling configuration ([#​7337](https://togithub.com/grpc/grpc-java/issues/7337)) - netty: The environment variable `GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false` will now disable the BDP monitoring introduced in v1.30.0. This is intended to help diagnose a “too_many_pings” compatibility issue and will be removed once it is resolved. If you need to use the variable, please file an issue - benchmarks: Use correct classpath for scripts (the ones in the bin/ folder of the tar/zip), fixing NoClassDefFoundErrors. The classpath was probably broken starting in v1.30. - xds: routing policy should immediately update a picker that selects base on updated config ([#​7233](https://togithub.com/grpc/grpc-java/issues/7233)) #### Dependencies - netty: Upgrade to Netty 4.1.51 and tcnative 2.0.31 - android, cronet: Drop support for android SDK versions older than 16 ([#​7253](https://togithub.com/grpc/grpc-java/issues/7253)). The minimum supported Android SDK version is 16. #### Acknowledgements [@​susinmotion](https://togithub.com/susinmotion) [@​trustin](https://togithub.com/trustin) [@​wanyingd1996](https://togithub.com/wanyingd1996)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8b8c5c1ca20f..f807eb56fb51 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.31.1 + 1.32.1 1.58.2 29.0-android 3.13.0 From 27340bc02c8bec5e7e49f6c65d6eb80d4240df6f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 16 Sep 2020 18:54:16 +0200 Subject: [PATCH 1026/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.1 (#31) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 92015951caf0..1706afca9da6 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -99,7 +99,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.0 + 3.1.1 From db89869a14150c090465e8866c1383f64d9f6029 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 17 Sep 2020 21:04:25 -0700 Subject: [PATCH 1027/3036] build: fix synth.py to generate only proto/grpc targets without gapic assembly tarball (#34) --- java-iam/synth.py | 99 ++++++++++++++++++++++++++++++----------------- 1 file changed, 63 insertions(+), 36 deletions(-) diff --git a/java-iam/synth.py b/java-iam/synth.py index 3bfc654a0893..849d74dcf659 100644 --- a/java-iam/synth.py +++ b/java-iam/synth.py @@ -14,51 +14,78 @@ """This script is used to synthesize generated parts of this library.""" +import os +from pathlib import Path +import tempfile +from typing import Union + import synthtool as s -import synthtool.gcp as gcp -import synthtool.languages.java as java +from synthtool.languages import java +from synthtool.sources import git +from synthtool import logger, shell -service = 'iam' versions = ['v1'] -gapic = gcp.GAPICBazel() +GOOGLEAPIS_URL = git.make_repo_clone_url("googleapis/googleapis") -for version in versions: - library = gapic.java_library( - service=service, - version=version, - proto_path=f'google/iam/{version}', - bazel_target=f'//google/iam/{version}:google-iam-{version}-java', - ) - library = library / f"google-iam-{version}-java" - java.fix_proto_headers(library / f"proto-google-iam-{version}-java") - s.copy( - [library / f"proto-google-iam-{version}-java/src"], - f"proto-google-iam-{version}/src", - required=True, - ) - java.fix_grpc_headers(library / f"grpc-google-iam-{version}-java", package_name=None) - s.copy( - [library / f"grpc-google-iam-{version}-java/src"], - f"grpc-google-iam-{version}/src", - required=True, - ) +logger.debug("Cloning googleapis.") +googleapis = git.clone(GOOGLEAPIS_URL) + +def bazel_build(target: str, cwd: Union[Path, str]) -> Path: + """Build a bazel target and return the output build directory.""" + old_cwd = os.getcwd() + os.chdir(str(cwd)) + + bazel_run_args = [ + "bazel", + "--max_idle_secs=240", + "build", + target, + ] + + logger.debug(f"Generating code for: {target}.") + shell.run(bazel_run_args) + + output_dir = Path(f"bazel-bin{os.path.sep}{target[2:].split(':')[0]}").resolve() + os.chdir(old_cwd) - # logging protos - logging = gapic.java_library( - service=service, - version=version, - proto_path=f'google/iam/{version}/logging', - bazel_target=f'//google/iam/{version}/logging:google-iam-{version}-logging-java', + return output_dir + +def build_proto(target): + """Build a proto build target and copy all generate source files.""" + output = bazel_build( + target=target, + cwd=googleapis, ) - logging = logging / f"google-iam-{version}-logging-java" - java.fix_proto_headers(logging / f"proto-google-iam-{version}-logging-java") - s.copy( - [logging / f"proto-google-iam-{version}-logging-java/src"], - f"proto-google-iam-{version}/src", - required=True, + + src_output = Path(tempfile.mkdtemp()) + for proto_jar in output.glob("*-speed-src.jar"): + logger.debug(f"unzipping: {os.path.basename(proto_jar)}") + shell.run(["unzip", "-o", proto_jar, "-d", src_output / "src"]) + + java.fix_proto_headers(src_output) + s.copy(src_output / "src/com", "proto-google-iam-v1/src/main/java/com") + +def build_grpc(target): + """Build a grpc build target and copy all generate source files.""" + output = bazel_build( + target=target, + cwd=googleapis, ) + src_output = Path(tempfile.mkdtemp()) + for proto_jar in output.glob("*grpc-src.jar"): + logger.debug(f"unzipping: {os.path.basename(proto_jar)}") + shell.run(["unzip", "-o", proto_jar, "-d", src_output / "src"]) + + java.fix_grpc_headers(src_output, "") + s.copy(src_output / "src/com", "grpc-google-iam-v1/src/main/java/com") + +for version in versions: + build_proto(f"//google/iam/{version}:iam_java_proto") + build_proto(f"//google/iam/{version}/logging:logging_java_proto") + build_grpc(f"//google/iam/{version}:iam_java_grpc") + java.format_code(f"proto-google-iam-{version}/src") java.format_code(f"grpc-google-iam-{version}/src") From 992eeee41d005323292dace7c282ffa911ed42fe Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 21 Sep 2020 16:52:06 -0700 Subject: [PATCH 1028/3036] chore: regenerate common templates (#38) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/5059558b-8645-42eb-aea0-02c368452893/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/80003a3de2d8a75f5b47cb2e77e018f7f0f776cc Source-Link: https://github.com/googleapis/synthtool/commit/538a68019eb4a36a0cdfa4021f324dd01b784395 Source-Link: https://github.com/googleapis/synthtool/commit/019c7168faa0e56619f792693a8acdb30d6de19b Source-Link: https://github.com/googleapis/synthtool/commit/968465a1cad496e1292ef4584a054a35f756ff94 Source-Link: https://github.com/googleapis/synthtool/commit/9602086c6c5b05db77950c7f7495a2a3868f3537 Source-Link: https://github.com/googleapis/synthtool/commit/c3caf0704f25a0c365f1c315e804a30b87c62a75 Source-Link: https://github.com/googleapis/synthtool/commit/f8823dec98277a9516f2fb6fae9f58b3a59a23e1 Source-Link: https://github.com/googleapis/synthtool/commit/dd230c816f88d0141fcd0be83498986287220d1b Source-Link: https://github.com/googleapis/synthtool/commit/4f2c9f752a94042472fc03c5bd9e06e89817d2bd Source-Link: https://github.com/googleapis/synthtool/commit/c4f3059c27591eb24d6942a0e357ec94c80459f2 Source-Link: https://github.com/googleapis/synthtool/commit/6eb80fa9f96433af8dbeb1c8323aa80cda49b374 Source-Link: https://github.com/googleapis/synthtool/commit/6d3eed67a45fd58f9c7bfa173c32e4fd4fed058f Source-Link: https://github.com/googleapis/synthtool/commit/d1addcdf80aa9ddef8c932c89c919024bbad7af3 Source-Link: https://github.com/googleapis/synthtool/commit/987270824bd26f6a8c716d5e2022057b8ae7b26e Source-Link: https://github.com/googleapis/synthtool/commit/cac9eef310652bf138dd76b716e4986e757d62ac Source-Link: https://github.com/googleapis/synthtool/commit/5b48b0716a36ca069db3038da7e205c87a22ed19 Source-Link: https://github.com/googleapis/synthtool/commit/98c50772ec23295c64cf0d2ddf199ea52961fd4c Source-Link: https://github.com/googleapis/synthtool/commit/55cdc844877d97139f25004229842624a6a86a02 --- java-iam/.github/CODEOWNERS | 2 + java-iam/.github/workflows/auto-release.yaml | 69 ++++++++++ java-iam/.kokoro/release/stage.cfg | 31 +---- .../com/google/iam/v1/AuditConfigDelta.java | 15 +++ .../main/java/com/google/iam/v1/Binding.java | 5 + .../java/com/google/iam/v1/BindingDelta.java | 16 +++ .../google/iam/v1/GetIamPolicyRequest.java | 5 + .../com/google/iam/v1/GetPolicyOptions.java | 2 + .../main/java/com/google/iam/v1/Policy.java | 9 ++ .../java/com/google/iam/v1/PolicyDelta.java | 10 ++ .../google/iam/v1/SetIamPolicyRequest.java | 5 + .../iam/v1/TestIamPermissionsRequest.java | 2 + .../com/google/iam/v1/logging/AuditData.java | 3 + java-iam/synth.metadata | 120 +++++++++++++++--- java-iam/synth.py | 1 + 15 files changed, 246 insertions(+), 49 deletions(-) create mode 100644 java-iam/.github/workflows/auto-release.yaml diff --git a/java-iam/.github/CODEOWNERS b/java-iam/.github/CODEOWNERS index 6137bef2a259..30fdb7b9c8f7 100644 --- a/java-iam/.github/CODEOWNERS +++ b/java-iam/.github/CODEOWNERS @@ -4,5 +4,7 @@ # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax +* @googleapis/yoshi-java + # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml new file mode 100644 index 000000000000..d26427e468a4 --- /dev/null +++ b/java-iam/.github/workflows/auto-release.yaml @@ -0,0 +1,69 @@ +on: + pull_request: +name: auto-release +jobs: + approve: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + debug: true + script: | + // only approve PRs from release-please[bot] + if (context.payload.pull_request.user.login !== "release-please[bot]") { + return; + } + + // only approve PRs like "chore: release " + if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + return; + } + + // trigger auto-release when + // 1) it is a SNAPSHOT release (auto-generated post regular release) + // 2) there are dependency updates only + // 3) there are no open dependency update PRs in this repo (to avoid multiple releases) + if ( + context.payload.pull_request.body.includes("Fix") || + context.payload.pull_request.body.includes("Build") || + context.payload.pull_request.body.includes("Documentation") || + context.payload.pull_request.body.includes("BREAKING CHANGES") || + context.payload.pull_request.body.includes("Features") + ) { + console.log( "Not auto-releasing since it is not a dependency-update-only release." ); + return; + } + + const promise = github.pulls.list.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open' + }); + const open_pulls = await github.paginate(promise) + + if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) { + for ( const pull of open_pulls ) { + if ( pull.title.startsWith("deps: update dependency") ) { + console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." ); + return; + } + } + } + + // approve release PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped release!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach kokoro:force-run and automerge labels + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['kokoro:force-run', 'automerge'] + }); \ No newline at end of file diff --git a/java-iam/.kokoro/release/stage.cfg b/java-iam/.kokoro/release/stage.cfg index ba7799f2c732..1ef9b0acd787 100644 --- a/java-iam/.kokoro/release/stage.cfg +++ b/java-iam/.kokoro/release/stage.cfg @@ -13,32 +13,7 @@ action { } } -# Fetch the token needed for reporting release status to GitHub -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - } - } -} - -# Fetch magictoken to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "releasetool-magictoken" - } - } -} - -# Fetch api key to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "magic-github-proxy-api-key" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" } 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 ad57814b5227..f4e3194fc041 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 @@ -256,6 +256,10 @@ public Action findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -302,6 +306,7 @@ private Action(int value) { * * @return The enum numeric value on the wire for action. */ + @java.lang.Override public int getActionValue() { return action_; } @@ -317,6 +322,7 @@ public int getActionValue() { * * @return The action. */ + @java.lang.Override public com.google.iam.v1.AuditConfigDelta.Action getAction() { @SuppressWarnings("deprecation") com.google.iam.v1.AuditConfigDelta.Action result = @@ -340,6 +346,7 @@ public com.google.iam.v1.AuditConfigDelta.Action getAction() { * * @return The service. */ + @java.lang.Override public java.lang.String getService() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { @@ -365,6 +372,7 @@ public java.lang.String getService() { * * @return The bytes for service. */ + @java.lang.Override public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { @@ -392,6 +400,7 @@ public com.google.protobuf.ByteString getServiceBytes() { * * @return The exemptedMember. */ + @java.lang.Override public java.lang.String getExemptedMember() { java.lang.Object ref = exemptedMember_; if (ref instanceof java.lang.String) { @@ -416,6 +425,7 @@ public java.lang.String getExemptedMember() { * * @return The bytes for exemptedMember. */ + @java.lang.Override public com.google.protobuf.ByteString getExemptedMemberBytes() { java.lang.Object ref = exemptedMember_; if (ref instanceof java.lang.String) { @@ -443,6 +453,7 @@ public com.google.protobuf.ByteString getExemptedMemberBytes() { * * @return The logType. */ + @java.lang.Override public java.lang.String getLogType() { java.lang.Object ref = logType_; if (ref instanceof java.lang.String) { @@ -467,6 +478,7 @@ public java.lang.String getLogType() { * * @return The bytes for logType. */ + @java.lang.Override public com.google.protobuf.ByteString getLogTypeBytes() { java.lang.Object ref = logType_; if (ref instanceof java.lang.String) { @@ -853,6 +865,7 @@ public Builder mergeFrom( * * @return The enum numeric value on the wire for action. */ + @java.lang.Override public int getActionValue() { return action_; } @@ -870,6 +883,7 @@ public int getActionValue() { * @return This builder for chaining. */ public Builder setActionValue(int value) { + action_ = value; onChanged(); return this; @@ -886,6 +900,7 @@ public Builder setActionValue(int value) { * * @return The action. */ + @java.lang.Override public com.google.iam.v1.AuditConfigDelta.Action getAction() { @SuppressWarnings("deprecation") com.google.iam.v1.AuditConfigDelta.Action result = 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 04e2b5603f93..394a969b4331 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 @@ -151,6 +151,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The role. */ + @java.lang.Override public java.lang.String getRole() { java.lang.Object ref = role_; if (ref instanceof java.lang.String) { @@ -174,6 +175,7 @@ public java.lang.String getRole() { * * @return The bytes for role. */ + @java.lang.Override public com.google.protobuf.ByteString getRoleBytes() { java.lang.Object ref = role_; if (ref instanceof java.lang.String) { @@ -315,6 +317,7 @@ public com.google.protobuf.ByteString getMembersBytes(int index) { * * @return Whether the condition field is set. */ + @java.lang.Override public boolean hasCondition() { return condition_ != null; } @@ -332,6 +335,7 @@ public boolean hasCondition() { * * @return The condition. */ + @java.lang.Override public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } @@ -347,6 +351,7 @@ public com.google.type.Expr getCondition() { * * .google.type.Expr condition = 3; */ + @java.lang.Override public com.google.type.ExprOrBuilder getConditionOrBuilder() { return getCondition(); } 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 731f4c9bf885..c5557b7346bd 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 @@ -261,6 +261,10 @@ public Action findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -307,6 +311,7 @@ private Action(int value) { * * @return The enum numeric value on the wire for action. */ + @java.lang.Override public int getActionValue() { return action_; } @@ -322,6 +327,7 @@ public int getActionValue() { * * @return The action. */ + @java.lang.Override public com.google.iam.v1.BindingDelta.Action getAction() { @SuppressWarnings("deprecation") com.google.iam.v1.BindingDelta.Action result = @@ -344,6 +350,7 @@ public com.google.iam.v1.BindingDelta.Action getAction() { * * @return The role. */ + @java.lang.Override public java.lang.String getRole() { java.lang.Object ref = role_; if (ref instanceof java.lang.String) { @@ -368,6 +375,7 @@ public java.lang.String getRole() { * * @return The bytes for role. */ + @java.lang.Override public com.google.protobuf.ByteString getRoleBytes() { java.lang.Object ref = role_; if (ref instanceof java.lang.String) { @@ -395,6 +403,7 @@ public com.google.protobuf.ByteString getRoleBytes() { * * @return The member. */ + @java.lang.Override public java.lang.String getMember() { java.lang.Object ref = member_; if (ref instanceof java.lang.String) { @@ -419,6 +428,7 @@ public java.lang.String getMember() { * * @return The bytes for member. */ + @java.lang.Override public com.google.protobuf.ByteString getMemberBytes() { java.lang.Object ref = member_; if (ref instanceof java.lang.String) { @@ -444,6 +454,7 @@ public com.google.protobuf.ByteString getMemberBytes() { * * @return Whether the condition field is set. */ + @java.lang.Override public boolean hasCondition() { return condition_ != null; } @@ -458,6 +469,7 @@ public boolean hasCondition() { * * @return The condition. */ + @java.lang.Override public com.google.type.Expr getCondition() { return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; } @@ -470,6 +482,7 @@ public com.google.type.Expr getCondition() { * * .google.type.Expr condition = 4; */ + @java.lang.Override public com.google.type.ExprOrBuilder getConditionOrBuilder() { return getCondition(); } @@ -857,6 +870,7 @@ public Builder mergeFrom( * * @return The enum numeric value on the wire for action. */ + @java.lang.Override public int getActionValue() { return action_; } @@ -874,6 +888,7 @@ public int getActionValue() { * @return This builder for chaining. */ public Builder setActionValue(int value) { + action_ = value; onChanged(); return this; @@ -890,6 +905,7 @@ public Builder setActionValue(int value) { * * @return The action. */ + @java.lang.Override public com.google.iam.v1.BindingDelta.Action getAction() { @SuppressWarnings("deprecation") com.google.iam.v1.BindingDelta.Action result = 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 af0b356660a3..b4b3a7af1141 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 @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The resource. */ + @java.lang.Override public java.lang.String getResource() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { @@ -167,6 +168,7 @@ public java.lang.String getResource() { * * @return The bytes for resource. */ + @java.lang.Override public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { @@ -193,6 +195,7 @@ public com.google.protobuf.ByteString getResourceBytes() { * * @return Whether the options field is set. */ + @java.lang.Override public boolean hasOptions() { return options_ != null; } @@ -208,6 +211,7 @@ public boolean hasOptions() { * * @return The options. */ + @java.lang.Override public com.google.iam.v1.GetPolicyOptions getOptions() { return options_ == null ? com.google.iam.v1.GetPolicyOptions.getDefaultInstance() : options_; } @@ -221,6 +225,7 @@ public com.google.iam.v1.GetPolicyOptions getOptions() { * * .google.iam.v1.GetPolicyOptions options = 2; */ + @java.lang.Override public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() { return getOptions(); } 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 84f175da7818..7054040f7b95 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 @@ -124,6 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The requestedPolicyVersion. */ + @java.lang.Override public int getRequestedPolicyVersion() { return requestedPolicyVersion_; } @@ -457,6 +458,7 @@ public Builder mergeFrom( * * @return The requestedPolicyVersion. */ + @java.lang.Override public int getRequestedPolicyVersion() { return requestedPolicyVersion_; } 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 dc77fb6c4543..3cda12f13cb0 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 @@ -198,6 +198,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The version. */ + @java.lang.Override public int getVersion() { return version_; } @@ -215,6 +216,7 @@ public int getVersion() { * * repeated .google.iam.v1.Binding bindings = 4; */ + @java.lang.Override public java.util.List getBindingsList() { return bindings_; } @@ -229,6 +231,7 @@ public java.util.List getBindingsList() { * * repeated .google.iam.v1.Binding bindings = 4; */ + @java.lang.Override public java.util.List getBindingsOrBuilderList() { return bindings_; } @@ -243,6 +246,7 @@ public java.util.List getBindingsO * * repeated .google.iam.v1.Binding bindings = 4; */ + @java.lang.Override public int getBindingsCount() { return bindings_.size(); } @@ -257,6 +261,7 @@ public int getBindingsCount() { * * repeated .google.iam.v1.Binding bindings = 4; */ + @java.lang.Override public com.google.iam.v1.Binding getBindings(int index) { return bindings_.get(index); } @@ -271,6 +276,7 @@ public com.google.iam.v1.Binding getBindings(int index) { * * repeated .google.iam.v1.Binding bindings = 4; */ + @java.lang.Override public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) { return bindings_.get(index); } @@ -298,6 +304,7 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) { * * @return The etag. */ + @java.lang.Override public com.google.protobuf.ByteString getEtag() { return etag_; } @@ -754,6 +761,7 @@ public Builder mergeFrom( * * @return The version. */ + @java.lang.Override public int getVersion() { return version_; } @@ -1213,6 +1221,7 @@ public java.util.List getBindingsBuilderList( * * @return The etag. */ + @java.lang.Override public com.google.protobuf.ByteString getEtag() { return etag_; } 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 eeb224888891..c26773e9781a 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 @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ + @java.lang.Override public java.util.List getBindingDeltasList() { return bindingDeltas_; } @@ -154,6 +155,7 @@ public java.util.List getBindingDeltasList() { * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ + @java.lang.Override public java.util.List getBindingDeltasOrBuilderList() { return bindingDeltas_; @@ -167,6 +169,7 @@ public java.util.List getBindingDeltasList() { * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ + @java.lang.Override public int getBindingDeltasCount() { return bindingDeltas_.size(); } @@ -179,6 +182,7 @@ public int getBindingDeltasCount() { * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ + @java.lang.Override public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { return bindingDeltas_.get(index); } @@ -191,6 +195,7 @@ public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { * * repeated .google.iam.v1.BindingDelta binding_deltas = 1; */ + @java.lang.Override public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index) { return bindingDeltas_.get(index); } @@ -206,6 +211,7 @@ public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int ind * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ + @java.lang.Override public java.util.List getAuditConfigDeltasList() { return auditConfigDeltas_; } @@ -218,6 +224,7 @@ public java.util.List getAuditConfigDeltasLi * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ + @java.lang.Override public java.util.List getAuditConfigDeltasOrBuilderList() { return auditConfigDeltas_; @@ -231,6 +238,7 @@ public java.util.List getAuditConfigDeltasLi * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ + @java.lang.Override public int getAuditConfigDeltasCount() { return auditConfigDeltas_.size(); } @@ -243,6 +251,7 @@ public int getAuditConfigDeltasCount() { * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ + @java.lang.Override public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { return auditConfigDeltas_.get(index); } @@ -255,6 +264,7 @@ public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { * * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; */ + @java.lang.Override public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index) { return auditConfigDeltas_.get(index); } 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 ead65341443f..d5df476e92be 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 @@ -141,6 +141,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The resource. */ + @java.lang.Override public java.lang.String getResource() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { @@ -166,6 +167,7 @@ public java.lang.String getResource() { * * @return The bytes for resource. */ + @java.lang.Override public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { @@ -194,6 +196,7 @@ public com.google.protobuf.ByteString getResourceBytes() { * * @return Whether the policy field is set. */ + @java.lang.Override public boolean hasPolicy() { return policy_ != null; } @@ -211,6 +214,7 @@ public boolean hasPolicy() { * * @return The policy. */ + @java.lang.Override public com.google.iam.v1.Policy getPolicy() { return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; } @@ -226,6 +230,7 @@ public com.google.iam.v1.Policy getPolicy() { * * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ + @java.lang.Override public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { return getPolicy(); } 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 784d2beb496d..081420deac2e 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 @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The resource. */ + @java.lang.Override public java.lang.String getResource() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { @@ -167,6 +168,7 @@ public java.lang.String getResource() { * * @return The bytes for resource. */ + @java.lang.Override public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java index 926b0838121a..268cbc4d2bfc 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java @@ -132,6 +132,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return Whether the policyDelta field is set. */ + @java.lang.Override public boolean hasPolicyDelta() { return policyDelta_ != null; } @@ -146,6 +147,7 @@ public boolean hasPolicyDelta() { * * @return The policyDelta. */ + @java.lang.Override public com.google.iam.v1.PolicyDelta getPolicyDelta() { return policyDelta_ == null ? com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; } @@ -158,6 +160,7 @@ public com.google.iam.v1.PolicyDelta getPolicyDelta() { * * .google.iam.v1.PolicyDelta policy_delta = 2; */ + @java.lang.Override public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { return getPolicyDelta(); } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index bdc0d8124afd..a4c4048c75d0 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -3,35 +3,113 @@ { "git": { "name": ".", - "sha": "8a6622ceae097e182db1debc2d022c5d536633a3" + "remote": "https://github.com/googleapis/java-iam.git", + "sha": "a354468bb275c6ffb6ca547a466303cbf2bd5621" } }, { "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "04cb397eb7590ea1e6c10a39fca3d8fe0fb3d256" - } - } - ], - "destinations": [ - { - "client": { - "source": "googleapis", - "apiName": "iam", - "apiVersion": "v1", - "language": "java", - "generator": "bazel" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "8d73f9486fc193a150f6c907dfb9f49431aff3ff", + "internalRef": "332497859" } }, { - "client": { - "source": "googleapis", - "apiName": "iam", - "apiVersion": "v1", - "language": "java", - "generator": "bazel" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" } } + ], + "generatedFiles": [ + ".github/CODEOWNERS", + ".github/ISSUE_TEMPLATE/bug_report.md", + ".github/ISSUE_TEMPLATE/feature_request.md", + ".github/ISSUE_TEMPLATE/support_request.md", + ".github/PULL_REQUEST_TEMPLATE.md", + ".github/release-please.yml", + ".github/trusted-contribution.yml", + ".github/workflows/auto-release.yaml", + ".github/workflows/ci.yaml", + ".kokoro/build.bat", + ".kokoro/build.sh", + ".kokoro/coerce_logs.sh", + ".kokoro/common.cfg", + ".kokoro/common.sh", + ".kokoro/continuous/common.cfg", + ".kokoro/continuous/java8.cfg", + ".kokoro/dependencies.sh", + ".kokoro/linkage-monitor.sh", + ".kokoro/nightly/common.cfg", + ".kokoro/nightly/integration.cfg", + ".kokoro/nightly/java11.cfg", + ".kokoro/nightly/java7.cfg", + ".kokoro/nightly/java8-osx.cfg", + ".kokoro/nightly/java8-win.cfg", + ".kokoro/nightly/java8.cfg", + ".kokoro/nightly/samples.cfg", + ".kokoro/populate-secrets.sh", + ".kokoro/presubmit/clirr.cfg", + ".kokoro/presubmit/common.cfg", + ".kokoro/presubmit/dependencies.cfg", + ".kokoro/presubmit/integration.cfg", + ".kokoro/presubmit/java11.cfg", + ".kokoro/presubmit/java7.cfg", + ".kokoro/presubmit/java8-osx.cfg", + ".kokoro/presubmit/java8-win.cfg", + ".kokoro/presubmit/java8.cfg", + ".kokoro/presubmit/linkage-monitor.cfg", + ".kokoro/presubmit/lint.cfg", + ".kokoro/presubmit/samples.cfg", + ".kokoro/release/bump_snapshot.cfg", + ".kokoro/release/common.cfg", + ".kokoro/release/common.sh", + ".kokoro/release/drop.cfg", + ".kokoro/release/drop.sh", + ".kokoro/release/promote.cfg", + ".kokoro/release/promote.sh", + ".kokoro/release/publish_javadoc.cfg", + ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/snapshot.cfg", + ".kokoro/release/snapshot.sh", + ".kokoro/release/stage.cfg", + ".kokoro/release/stage.sh", + ".kokoro/trampoline.sh", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "codecov.yaml", + "grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java", + "java.header", + "license-checks.xml", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java", + "proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java", + "renovate.json" ] } \ No newline at end of file diff --git a/java-iam/synth.py b/java-iam/synth.py index 849d74dcf659..c1d069e1dce5 100644 --- a/java-iam/synth.py +++ b/java-iam/synth.py @@ -92,4 +92,5 @@ def build_grpc(target): java.common_templates(excludes=[ 'README.md', 'samples/*', + '.github/workflows/samples.yaml', ]) From 8657540dae618eee3ff7dfbcadc5db2a5b18b4f1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 21 Sep 2020 16:54:09 -0700 Subject: [PATCH 1029/3036] chore: regenerate templates (#280) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/007dd233-24d5-46ec-9c0d-21d16baa9e81/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/80003a3de2d8a75f5b47cb2e77e018f7f0f776cc Source-Link: https://github.com/googleapis/synthtool/commit/538a68019eb4a36a0cdfa4021f324dd01b784395 Source-Link: https://github.com/googleapis/synthtool/commit/019c7168faa0e56619f792693a8acdb30d6de19b Source-Link: https://github.com/googleapis/synthtool/commit/968465a1cad496e1292ef4584a054a35f756ff94 --- java-core/.github/CODEOWNERS | 2 + java-core/.github/workflows/auto-release.yaml | 69 +++++++++++++++++++ java-core/.kokoro/release/stage.cfg | 31 +-------- java-core/synth.metadata | 5 +- 4 files changed, 77 insertions(+), 30 deletions(-) create mode 100644 java-core/.github/workflows/auto-release.yaml diff --git a/java-core/.github/CODEOWNERS b/java-core/.github/CODEOWNERS index 6137bef2a259..30fdb7b9c8f7 100644 --- a/java-core/.github/CODEOWNERS +++ b/java-core/.github/CODEOWNERS @@ -4,5 +4,7 @@ # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax +* @googleapis/yoshi-java + # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml new file mode 100644 index 000000000000..d26427e468a4 --- /dev/null +++ b/java-core/.github/workflows/auto-release.yaml @@ -0,0 +1,69 @@ +on: + pull_request: +name: auto-release +jobs: + approve: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + debug: true + script: | + // only approve PRs from release-please[bot] + if (context.payload.pull_request.user.login !== "release-please[bot]") { + return; + } + + // only approve PRs like "chore: release " + if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + return; + } + + // trigger auto-release when + // 1) it is a SNAPSHOT release (auto-generated post regular release) + // 2) there are dependency updates only + // 3) there are no open dependency update PRs in this repo (to avoid multiple releases) + if ( + context.payload.pull_request.body.includes("Fix") || + context.payload.pull_request.body.includes("Build") || + context.payload.pull_request.body.includes("Documentation") || + context.payload.pull_request.body.includes("BREAKING CHANGES") || + context.payload.pull_request.body.includes("Features") + ) { + console.log( "Not auto-releasing since it is not a dependency-update-only release." ); + return; + } + + const promise = github.pulls.list.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open' + }); + const open_pulls = await github.paginate(promise) + + if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) { + for ( const pull of open_pulls ) { + if ( pull.title.startsWith("deps: update dependency") ) { + console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." ); + return; + } + } + } + + // approve release PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped release!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach kokoro:force-run and automerge labels + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['kokoro:force-run', 'automerge'] + }); \ No newline at end of file diff --git a/java-core/.kokoro/release/stage.cfg b/java-core/.kokoro/release/stage.cfg index 7d8a196382c8..d499007596c6 100644 --- a/java-core/.kokoro/release/stage.cfg +++ b/java-core/.kokoro/release/stage.cfg @@ -13,32 +13,7 @@ action { } } -# Fetch the token needed for reporting release status to GitHub -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - } - } -} - -# Fetch magictoken to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "releasetool-magictoken" - } - } -} - -# Fetch api key to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "magic-github-proxy-api-key" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" } diff --git a/java-core/synth.metadata b/java-core/synth.metadata index bfa635fc9c0b..cf1bd7c14e2a 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "7e18035aa22267ffad187a1bebdcd29a835154b7" + "sha": "aa7442280e01bace376b089233320e0e98476fd6" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1" + "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" } } ], @@ -23,6 +23,7 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/release-please.yml", ".github/trusted-contribution.yml", + ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", ".kokoro/build.bat", ".kokoro/build.sh", From bc96221d70ff53469186509219849c9a8044b841 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2020 23:58:03 +0000 Subject: [PATCH 1030/3036] chore: release 1.0.1 (#32) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.1](https://www.github.com/googleapis/java-iam/compare/v1.0.0...v1.0.1) (2020-09-21) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#30](https://www.github.com/googleapis/java-iam/issues/30)) ([28721d9](https://www.github.com/googleapis/java-iam/commit/28721d976ea8d93e5c73b96fff0817e454738955)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 911736653794..b79ec3c28495 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.1](https://www.github.com/googleapis/java-iam/compare/v1.0.0...v1.0.1) (2020-09-21) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#30](https://www.github.com/googleapis/java-iam/issues/30)) ([16c878b](https://www.github.com/googleapis/java-iam/commit/16c878bb9b704a97b78393a54dfa59ab06f1327a)) + ## [1.0.0](https://www.github.com/googleapis/java-iam/compare/v0.14.0...v1.0.0) (2020-08-12) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 95f031b3e9f4..a9c929d8eb2e 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.0.1-SNAPSHOT + 1.0.1 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.1-SNAPSHOT + 1.0.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1706afca9da6..2176eed675e9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.1-SNAPSHOT + 1.0.1 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.1-SNAPSHOT + 1.0.1 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 518bf61b4d6c..f17e2efc64cf 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.1-SNAPSHOT + 1.0.1 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.1-SNAPSHOT + 1.0.1 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 5b766eb43696..689bcb8b01d5 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.0:1.0.1-SNAPSHOT +proto-google-iam-v1:1.0.1:1.0.1 From 3a7ef923976ff6a16b5d8b08bb2a5a4e559299b1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2020 08:10:15 +0000 Subject: [PATCH 1031/3036] chore: release 1.0.2-SNAPSHOT (#39) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a9c929d8eb2e..485044e7a996 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.0.1 + 1.0.2-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.1 + 1.0.2-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2176eed675e9..701f5f9f6b9a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.1 + 1.0.2-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.1 + 1.0.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index f17e2efc64cf..4d0cc548f76e 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.1 + 1.0.2-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.1 + 1.0.2-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 689bcb8b01d5..3fe8deb2f940 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.1:1.0.1 +proto-google-iam-v1:1.0.1:1.0.2-SNAPSHOT From a9ac030b4c4ca95b2938c09f7ca9021bb102c718 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 23 Sep 2020 00:21:49 +0200 Subject: [PATCH 1032/3036] deps: update iam.version to v1.0.1 (#136) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f807eb56fb51..9bc61f198ec3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.4.4 1.3.2 1.19 - 1.0.0 + 1.0.1 0.24.0 3.0.2
    From 87dfdfcf422e4e93b5c5d8739ab51d5b428464d6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2020 22:26:06 +0000 Subject: [PATCH 1033/3036] chore: release 0.9.1-SNAPSHOT (#134) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 9bc61f198ec3..7c2c63d4cdab 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 - 0.9.0 + 0.9.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index e2d7dd2d246b..988a07b450d5 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.9.0:0.9.0 \ No newline at end of file +google-cloud-shared-dependencies:0.9.0:0.9.1-SNAPSHOT \ No newline at end of file From 95af1e2d43cad98e56ce0ec81b3b02102db096c4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 23 Sep 2020 06:08:21 +0200 Subject: [PATCH 1034/3036] deps: update dependency io.grpc:grpc-bom to v1.32.1 (#270) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b0a7b0d7812e..712e0a12ff9d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.21.1 1.30.10 1.36.0 - 1.31.0 + 1.32.1 3.12.4 0.24.0 1.3.2 From 8366e21bc602d616385d92a0d32d062c20b684a4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 23 Sep 2020 06:15:44 +0200 Subject: [PATCH 1035/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.13.0 (#273) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 712e0a12ff9d..02829a93164b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.30.10 1.36.0 1.32.1 - 3.12.4 + 3.13.0 0.24.0 1.3.2 29.0-android From 3118e77234338f75753bad0f0ba29412fa3ca2e1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 22 Sep 2020 21:29:31 -0700 Subject: [PATCH 1036/3036] build(ci): enable auto-release for dependency-update-only releases (#135) Automatically perform a Java client library release when: 1. Only dependency updates are going out in the release since any releases containing bug fixes, build changes or new features should be supervised; 2. There are no outstanding/open dependency update pull requests in the repo. This is to avoid multiple/redundant releases; 3. It is a SNAPSHOT release which is automatically generated post regular release -- this requires no human supervision. Testing done in 5 java-bigquery* client library repos. Example: [chore: release 0.3.4 ](https://github.com/googleapis/java-bigqueryconnection/pull/130) [chore: release 0.3.5-SNAPSHOT](https://github.com/googleapis/java-bigqueryconnection/pull/131) Source-Author: Stephanie Wang Source-Date: Thu Sep 17 15:30:02 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 538a68019eb4a36a0cdfa4021f324dd01b784395 Source-Link: https://github.com/googleapis/synthtool/commit/538a68019eb4a36a0cdfa4021f324dd01b784395 --- .../.github/workflows/auto-release.yaml | 69 +++++++++++++++++++ java-shared-dependencies/synth.metadata | 6 +- 2 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 java-shared-dependencies/.github/workflows/auto-release.yaml diff --git a/java-shared-dependencies/.github/workflows/auto-release.yaml b/java-shared-dependencies/.github/workflows/auto-release.yaml new file mode 100644 index 000000000000..d26427e468a4 --- /dev/null +++ b/java-shared-dependencies/.github/workflows/auto-release.yaml @@ -0,0 +1,69 @@ +on: + pull_request: +name: auto-release +jobs: + approve: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + debug: true + script: | + // only approve PRs from release-please[bot] + if (context.payload.pull_request.user.login !== "release-please[bot]") { + return; + } + + // only approve PRs like "chore: release " + if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + return; + } + + // trigger auto-release when + // 1) it is a SNAPSHOT release (auto-generated post regular release) + // 2) there are dependency updates only + // 3) there are no open dependency update PRs in this repo (to avoid multiple releases) + if ( + context.payload.pull_request.body.includes("Fix") || + context.payload.pull_request.body.includes("Build") || + context.payload.pull_request.body.includes("Documentation") || + context.payload.pull_request.body.includes("BREAKING CHANGES") || + context.payload.pull_request.body.includes("Features") + ) { + console.log( "Not auto-releasing since it is not a dependency-update-only release." ); + return; + } + + const promise = github.pulls.list.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open' + }); + const open_pulls = await github.paginate(promise) + + if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) { + for ( const pull of open_pulls ) { + if ( pull.title.startsWith("deps: update dependency") ) { + console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." ); + return; + } + } + } + + // approve release PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped release!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach kokoro:force-run and automerge labels + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['kokoro:force-run', 'automerge'] + }); \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index de2cff43cad2..d89918a99e38 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "7fff6f2c94a19ba998d8cd47e8be5a6333808df8" + "sha": "cde0463dd15c2a510085a3d5e3ac7b418c2fc3d4" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "019c7168faa0e56619f792693a8acdb30d6de19b" + "sha": "538a68019eb4a36a0cdfa4021f324dd01b784395" } } ], @@ -21,8 +21,8 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", - ".github/release-please.yml", ".github/trusted-contribution.yml", + ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", ".kokoro/build.bat", ".kokoro/build.sh", From 989c23c9b7896e927412ebbe5add74001a430536 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 23 Sep 2020 06:34:02 +0200 Subject: [PATCH 1037/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.1 (#282) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | patch | `1.0.0` -> `1.0.1` | --- ### Release Notes
    googleapis/java-iam ### [`v1.0.1`](https://togithub.com/googleapis/java-iam/blob/master/CHANGELOG.md#​101-httpswwwgithubcomgoogleapisjava-iamcomparev100v101-2020-09-21) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.0.0...v1.0.1)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 02829a93164b..b4cc334f7baa 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.58.2 1.10.0 1.18.1 - 1.0.0 + 1.0.1 0.21.1 1.30.10 1.36.0 From 417ffb6cc63dd75f6b620e1c9e4f5f1ba99c56db Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2020 04:34:05 +0000 Subject: [PATCH 1038/3036] chore: release 0.9.1 (#141) :robot: I have created a release \*beep\* \*boop\* --- ### [0.9.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.0...v0.9.1) (2020-09-23) ### Dependencies * update dependency io.grpc:grpc-bom to v1.32.1 ([#133](https://www.github.com/googleapis/java-shared-dependencies/issues/133)) ([b14b26f](https://www.github.com/googleapis/java-shared-dependencies/commit/b14b26fa934fd41ddab7495f32d57b73a9681925)) * update iam.version to v1.0.1 ([#136](https://www.github.com/googleapis/java-shared-dependencies/issues/136)) ([a9ac030](https://www.github.com/googleapis/java-shared-dependencies/commit/a9ac030b4c4ca95b2938c09f7ca9021bb102c718)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 8 ++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 122bcf740f70..d9c7ccea6b0e 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [0.9.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.0...v0.9.1) (2020-09-23) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.32.1 ([#133](https://www.github.com/googleapis/java-shared-dependencies/issues/133)) ([cde0463](https://www.github.com/googleapis/java-shared-dependencies/commit/cde0463dd15c2a510085a3d5e3ac7b418c2fc3d4)) +* update iam.version to v1.0.1 ([#136](https://www.github.com/googleapis/java-shared-dependencies/issues/136)) ([162e2bd](https://www.github.com/googleapis/java-shared-dependencies/commit/162e2bda35fc3427ce571c6747aae4c9eb5866f6)) + ## [0.9.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.8.6...v0.9.0) (2020-08-31) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index fe98ebf83e92..18169245c963 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.9.0 + 0.9.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7c2c63d4cdab..59101993d19c 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 - 0.9.1-SNAPSHOT + 0.9.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 988a07b450d5..17628583cdac 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.9.0:0.9.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.9.1:0.9.1 \ No newline at end of file From 1ec94b96c7c50600565dce1625e9e2e972e2b84f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2020 04:42:06 +0000 Subject: [PATCH 1039/3036] chore: release 1.93.9 (#281) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.9](https://www.github.com/googleapis/java-core/compare/v1.93.8...v1.93.9) (2020-09-23) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.1 ([#282](https://www.github.com/googleapis/java-core/issues/282)) ([989c23c](https://www.github.com/googleapis/java-core/commit/989c23c9b7896e927412ebbe5add74001a430536)) * update dependency com.google.protobuf:protobuf-bom to v3.13.0 ([#273](https://www.github.com/googleapis/java-core/issues/273)) ([8366e21](https://www.github.com/googleapis/java-core/commit/8366e21bc602d616385d92a0d32d062c20b684a4)) * update dependency io.grpc:grpc-bom to v1.32.1 ([#270](https://www.github.com/googleapis/java-core/issues/270)) ([95af1e2](https://www.github.com/googleapis/java-core/commit/95af1e2d43cad98e56ce0ec81b3b02102db096c4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 9 +++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 5664dd2126b7..fc762621a46e 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [1.93.9](https://www.github.com/googleapis/java-core/compare/v1.93.8...v1.93.9) (2020-09-23) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.1 ([#282](https://www.github.com/googleapis/java-core/issues/282)) ([933172c](https://www.github.com/googleapis/java-core/commit/933172c835593ad13c4ae85c0c467b2823ca44da)) +* update dependency com.google.protobuf:protobuf-bom to v3.13.0 ([#273](https://www.github.com/googleapis/java-core/issues/273)) ([4476f33](https://www.github.com/googleapis/java-core/commit/4476f33cab440ff2dcc12597f968d9d719d46e5b)) +* update dependency io.grpc:grpc-bom to v1.32.1 ([#270](https://www.github.com/googleapis/java-core/issues/270)) ([df518d3](https://www.github.com/googleapis/java-core/commit/df518d3445df07811d9be9770f120315af0100b1)) + ### [1.93.8](https://www.github.com/googleapis/java-core/compare/v1.93.7...v1.93.8) (2020-08-12) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 03422aa9f5dd..e56cff8e8dde 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.9-SNAPSHOT + 1.93.9 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.9-SNAPSHOT + 1.93.9 com.google.cloud google-cloud-core-grpc - 1.93.9-SNAPSHOT + 1.93.9 com.google.cloud google-cloud-core-http - 1.93.9-SNAPSHOT + 1.93.9
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e2c40f1e9a3e..aac04a3ea2c5 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 - 1.93.9-SNAPSHOT + 1.93.9 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.9-SNAPSHOT + 1.93.9 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 51cece6ee82a..8662a394479c 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 - 1.93.9-SNAPSHOT + 1.93.9 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.9-SNAPSHOT + 1.93.9 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 146414e5a7f3..265610d45bac 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 - 1.93.9-SNAPSHOT + 1.93.9 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.9-SNAPSHOT + 1.93.9 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b4cc334f7baa..e8d96f189072 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.9-SNAPSHOT + 1.93.9 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 51d0e7e5ee01..386cd62a59e0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.8:1.93.9-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.9:1.93.9 \ No newline at end of file From f87fa55b03f51a5915fc11c707af0ae7a6cead5c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2020 08:10:11 +0000 Subject: [PATCH 1040/3036] chore: release 1.93.10-SNAPSHOT (#283) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e56cff8e8dde..efeda38bed73 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.9 + 1.93.10-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.9 + 1.93.10-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.9 + 1.93.10-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.9 + 1.93.10-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index aac04a3ea2c5..b4d6fcf9c2ce 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 - 1.93.9 + 1.93.10-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.9 + 1.93.10-SNAPSHOT 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 8662a394479c..a2c66b0ceeef 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 - 1.93.9 + 1.93.10-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.9 + 1.93.10-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 265610d45bac..13593225dfe2 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 - 1.93.9 + 1.93.10-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.9 + 1.93.10-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index e8d96f189072..61e79f1c7b89 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.9 + 1.93.10-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 386cd62a59e0..60fe54a55b00 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.9:1.93.9 \ No newline at end of file +google-cloud-core:1.93.9:1.93.10-SNAPSHOT \ No newline at end of file From 91d1671fb70cab9649a264b0e43378eec711f561 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 23 Sep 2020 09:19:48 -0700 Subject: [PATCH 1041/3036] chore(java): set yoshi-java as default CODEOWNER (#149) Source-Author: Jeff Ching Source-Date: Mon Sep 21 09:00:06 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 80003a3de2d8a75f5b47cb2e77e018f7f0f776cc Source-Link: https://github.com/googleapis/synthtool/commit/80003a3de2d8a75f5b47cb2e77e018f7f0f776cc --- java-shared-dependencies/.github/CODEOWNERS | 2 ++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/CODEOWNERS b/java-shared-dependencies/.github/CODEOWNERS index 6137bef2a259..30fdb7b9c8f7 100644 --- a/java-shared-dependencies/.github/CODEOWNERS +++ b/java-shared-dependencies/.github/CODEOWNERS @@ -4,5 +4,7 @@ # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax +* @googleapis/yoshi-java + # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index d89918a99e38..ac5a38f226ad 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "cde0463dd15c2a510085a3d5e3ac7b418c2fc3d4" + "sha": "a2c0d2ffdb5b99783fd420f31321659e88920d3a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "538a68019eb4a36a0cdfa4021f324dd01b784395" + "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" } } ], From 919dcb9c55a1f9f5a7fa7338efc1183a0213dfcd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 23 Sep 2020 18:20:10 +0200 Subject: [PATCH 1042/3036] deps: update google.core.version to v1.93.9 (#148) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 59101993d19c..4760565b2bd2 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.13.0 1.10.0 1.18.1 - 1.93.8 + 1.93.9 0.21.1 1.36.0 1.30.10 From de5b799f33cfd0b8610bd220f90a883ad1761ae2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2020 16:28:04 +0000 Subject: [PATCH 1043/3036] chore: release 0.9.2-SNAPSHOT (#150) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4760565b2bd2..396d62b5368d 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 - 0.9.1 + 0.9.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 17628583cdac..cf7700bd70a1 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.9.1:0.9.1 \ No newline at end of file +google-cloud-shared-dependencies:0.9.1:0.9.2-SNAPSHOT \ No newline at end of file From 5fdb2dfdfa22a41faafb98ac6c32066ed808af27 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 23 Sep 2020 10:08:05 -0700 Subject: [PATCH 1044/3036] feat: manage error-prone version (#147) This should help us avoid diamond dependency issues with error-prone-annotations --- java-shared-dependencies/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 396d62b5368d..b849d47fdaa9 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -72,6 +72,7 @@ 1.0.1 0.24.0 3.0.2 + 2.4.0 @@ -178,6 +179,11 @@ jsr305 ${findbugs.version} + + com.google.errorprone + error_prone_annotations + ${errorprone.version} + From e31afcf0dd88123129884133330d6c6cbe86c7ac Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2020 17:30:02 +0000 Subject: [PATCH 1045/3036] chore: release 0.10.0 (#152) :robot: I have created a release \*beep\* \*boop\* --- ## [0.10.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.1...v0.10.0) (2020-09-23) ### Features * manage error-prone version ([#147](https://www.github.com/googleapis/java-shared-dependencies/issues/147)) ([5fdb2df](https://www.github.com/googleapis/java-shared-dependencies/commit/5fdb2dfdfa22a41faafb98ac6c32066ed808af27)) ### Dependencies * update google.core.version to v1.93.9 ([#148](https://www.github.com/googleapis/java-shared-dependencies/issues/148)) ([919dcb9](https://www.github.com/googleapis/java-shared-dependencies/commit/919dcb9c55a1f9f5a7fa7338efc1183a0213dfcd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index d9c7ccea6b0e..06ab059edbb1 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.10.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.1...v0.10.0) (2020-09-23) + + +### Features + +* manage error-prone version ([#147](https://www.github.com/googleapis/java-shared-dependencies/issues/147)) ([0fb3108](https://www.github.com/googleapis/java-shared-dependencies/commit/0fb3108c96abcdef83b5051e842530e6c9934c37)) + + +### Dependencies + +* update google.core.version to v1.93.9 ([#148](https://www.github.com/googleapis/java-shared-dependencies/issues/148)) ([b2a680e](https://www.github.com/googleapis/java-shared-dependencies/commit/b2a680ec9297136dceb622463672cc554359ba5b)) + ### [0.9.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.0...v0.9.1) (2020-09-23) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 18169245c963..32e261186acd 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.9.1 + 0.10.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b849d47fdaa9..01cc4d378ee6 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 - 0.9.2-SNAPSHOT + 0.10.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index cf7700bd70a1..98068364c90a 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.9.1:0.9.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.10.0:0.10.0 \ No newline at end of file From 3bc3920209f570513619576079c528d89f649243 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 23 Sep 2020 15:46:07 -0700 Subject: [PATCH 1046/3036] build(java): use yoshi-approver token for auto-approve (#284) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/39850686-2ccf-49d9-8da7-271eeee682c0/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/916c10e8581804df2b48a0f0457d848f3faa582e --- java-core/.github/workflows/auto-release.yaml | 4 ++-- java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index d26427e468a4..c8494910553a 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/github-script@v3.0.0 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true script: | // only approve PRs from release-please[bot] @@ -66,4 +66,4 @@ jobs: repo: context.repo.repo, issue_number: context.payload.pull_request.number, labels: ['kokoro:force-run', 'automerge'] - }); \ No newline at end of file + }); diff --git a/java-core/synth.metadata b/java-core/synth.metadata index cf1bd7c14e2a..8f7549ae536e 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "aa7442280e01bace376b089233320e0e98476fd6" + "sha": "59d079ea0f989f1ce1aeaf9bebbdc9e65c1825b1" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" + "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" } } ], From 9565032686d0aa9c5b6b63440ef3de6b871ffeee Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 23 Sep 2020 17:19:56 -0700 Subject: [PATCH 1047/3036] build(java): use yoshi-approver token for auto-approve (#153) Source-Author: Jeff Ching Source-Date: Wed Sep 23 12:46:45 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 916c10e8581804df2b48a0f0457d848f3faa582e Source-Link: https://github.com/googleapis/synthtool/commit/916c10e8581804df2b48a0f0457d848f3faa582e --- java-shared-dependencies/.github/workflows/auto-release.yaml | 4 ++-- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/auto-release.yaml b/java-shared-dependencies/.github/workflows/auto-release.yaml index d26427e468a4..c8494910553a 100644 --- a/java-shared-dependencies/.github/workflows/auto-release.yaml +++ b/java-shared-dependencies/.github/workflows/auto-release.yaml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/github-script@v3.0.0 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true script: | // only approve PRs from release-please[bot] @@ -66,4 +66,4 @@ jobs: repo: context.repo.repo, issue_number: context.payload.pull_request.number, labels: ['kokoro:force-run', 'automerge'] - }); \ No newline at end of file + }); diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index ac5a38f226ad..5004f9544edf 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "a2c0d2ffdb5b99783fd420f31321659e88920d3a" + "sha": "3252f47271e04e3fcd520ac15ffdfa06cb2dda03" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" + "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" } } ], From f2adb26ed37cf5b77ebc7a58f1ff8f7d0dec0fcd Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 23 Sep 2020 17:20:12 -0700 Subject: [PATCH 1048/3036] chore: add repo settings configuration (#154) --- .../.github/sync-repo-settings.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 java-shared-dependencies/.github/sync-repo-settings.yaml diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml new file mode 100644 index 000000000000..6bddd18eac90 --- /dev/null +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -0,0 +1,49 @@ + +# Whether or not rebase-merging is enabled on this repository. +# Defaults to `true` +rebaseMergeAllowed: false + +# Whether or not squash-merging is enabled on this repository. +# Defaults to `true` +squashMergeAllowed: true + +# Whether or not PRs are merged with a merge commit on this repository. +# Defaults to `false` +mergeCommitAllowed: false + +# Rules for master branch protection +branchProtectionRules: +# Identifies the protection rule pattern. Name of the branch to be protected. +# Defaults to `master` +- pattern: master + # Can admins overwrite branch protection. + # Defaults to `true` + isAdminEnforced: true + # Number of approving reviews required to update matching branches. + # Defaults to `1` + requiredApprovingReviewCount: 1 + # Are reviews from code owners required to update matching branches. + # Defaults to `false` + requiresCodeOwnerReviews: true + # Require up to date branches + requiresStrictStatusChecks: false + # List of required status check contexts that must pass for commits to be accepted to matching branches. + requiredStatusCheckContexts: + - "dependencies (8)" + - "dependencies (11)" + - "linkage-monitor" + - "lint" + - "clirr" + - "units (7)" + - "units (8)" + - "units (11)" + - "Kokoro - Test: Integration" + - "cla/google" +# List of explicit permissions to add (additive only) +permissionRules: +- team: yoshi-admins + permission: admin +- team: yoshi-java-admins + permission: admin +- team: yoshi-java + permission: push \ No newline at end of file From c02845aaf0af2f6c59e1f59bb4586dcb1ac1f3ef Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2020 00:26:07 +0000 Subject: [PATCH 1049/3036] chore: release 0.10.1-SNAPSHOT (#155) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 01cc4d378ee6..559897e831a5 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 - 0.10.0 + 0.10.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 98068364c90a..63a0681d9185 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.10.0:0.10.0 \ No newline at end of file +google-cloud-shared-dependencies:0.10.0:0.10.1-SNAPSHOT \ No newline at end of file From 7f3a9f224c4aa7c46b27cf7beab2646954eacf6f Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 24 Sep 2020 14:00:51 -0700 Subject: [PATCH 1050/3036] chore: add repo settings configuration (#40) --- java-iam/.github/sync-repo-settings.yaml | 49 ++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 java-iam/.github/sync-repo-settings.yaml diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml new file mode 100644 index 000000000000..6bddd18eac90 --- /dev/null +++ b/java-iam/.github/sync-repo-settings.yaml @@ -0,0 +1,49 @@ + +# Whether or not rebase-merging is enabled on this repository. +# Defaults to `true` +rebaseMergeAllowed: false + +# Whether or not squash-merging is enabled on this repository. +# Defaults to `true` +squashMergeAllowed: true + +# Whether or not PRs are merged with a merge commit on this repository. +# Defaults to `false` +mergeCommitAllowed: false + +# Rules for master branch protection +branchProtectionRules: +# Identifies the protection rule pattern. Name of the branch to be protected. +# Defaults to `master` +- pattern: master + # Can admins overwrite branch protection. + # Defaults to `true` + isAdminEnforced: true + # Number of approving reviews required to update matching branches. + # Defaults to `1` + requiredApprovingReviewCount: 1 + # Are reviews from code owners required to update matching branches. + # Defaults to `false` + requiresCodeOwnerReviews: true + # Require up to date branches + requiresStrictStatusChecks: false + # List of required status check contexts that must pass for commits to be accepted to matching branches. + requiredStatusCheckContexts: + - "dependencies (8)" + - "dependencies (11)" + - "linkage-monitor" + - "lint" + - "clirr" + - "units (7)" + - "units (8)" + - "units (11)" + - "Kokoro - Test: Integration" + - "cla/google" +# List of explicit permissions to add (additive only) +permissionRules: +- team: yoshi-admins + permission: admin +- team: yoshi-java-admins + permission: admin +- team: yoshi-java + permission: push \ No newline at end of file From f616675e3c2e8786176816b12a913e1c04db6b97 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 24 Sep 2020 14:01:07 -0700 Subject: [PATCH 1051/3036] chore: add repo settings configuration (#285) --- java-core/.github/sync-repo-settings.yaml | 49 +++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 java-core/.github/sync-repo-settings.yaml diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml new file mode 100644 index 000000000000..6bddd18eac90 --- /dev/null +++ b/java-core/.github/sync-repo-settings.yaml @@ -0,0 +1,49 @@ + +# Whether or not rebase-merging is enabled on this repository. +# Defaults to `true` +rebaseMergeAllowed: false + +# Whether or not squash-merging is enabled on this repository. +# Defaults to `true` +squashMergeAllowed: true + +# Whether or not PRs are merged with a merge commit on this repository. +# Defaults to `false` +mergeCommitAllowed: false + +# Rules for master branch protection +branchProtectionRules: +# Identifies the protection rule pattern. Name of the branch to be protected. +# Defaults to `master` +- pattern: master + # Can admins overwrite branch protection. + # Defaults to `true` + isAdminEnforced: true + # Number of approving reviews required to update matching branches. + # Defaults to `1` + requiredApprovingReviewCount: 1 + # Are reviews from code owners required to update matching branches. + # Defaults to `false` + requiresCodeOwnerReviews: true + # Require up to date branches + requiresStrictStatusChecks: false + # List of required status check contexts that must pass for commits to be accepted to matching branches. + requiredStatusCheckContexts: + - "dependencies (8)" + - "dependencies (11)" + - "linkage-monitor" + - "lint" + - "clirr" + - "units (7)" + - "units (8)" + - "units (11)" + - "Kokoro - Test: Integration" + - "cla/google" +# List of explicit permissions to add (additive only) +permissionRules: +- team: yoshi-admins + permission: admin +- team: yoshi-java-admins + permission: admin +- team: yoshi-java + permission: push \ No newline at end of file From 87c9cc3233b781fc1d2b1029a1077bf924eefee4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 25 Sep 2020 08:52:13 -0700 Subject: [PATCH 1052/3036] chore(ci): skip autorelease workflow on non-release PRs (#156) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/cb8e9e40-1c94-4237-af69-70f70fdb6d3a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2 --- java-shared-dependencies/.github/workflows/auto-release.yaml | 1 + java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/auto-release.yaml b/java-shared-dependencies/.github/workflows/auto-release.yaml index c8494910553a..3ce51eeea78d 100644 --- a/java-shared-dependencies/.github/workflows/auto-release.yaml +++ b/java-shared-dependencies/.github/workflows/auto-release.yaml @@ -4,6 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest + if: contains(github.head_ref, 'release-v') steps: - uses: actions/github-script@v3.0.0 with: diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 5004f9544edf..7c3242cb2051 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "3252f47271e04e3fcd520ac15ffdfa06cb2dda03" + "sha": "79946122e194c67eac609e42ef73917c59c12daa" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" + "sha": "95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2" } } ], From 2c2b4994285b3fcae347befd2327f91b9b18293f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 25 Sep 2020 17:36:11 -0700 Subject: [PATCH 1053/3036] chore(ci): verify autorelease release PR content has changes (#157) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/4d7892ee-6265-4e89-b8a8-1c509f6b7076/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/da29da32b3a988457b49ae290112b74f14b713cc --- .../.github/workflows/auto-release.yaml | 18 ++++++++++++++++++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/auto-release.yaml b/java-shared-dependencies/.github/workflows/auto-release.yaml index 3ce51eeea78d..bc1554aecba2 100644 --- a/java-shared-dependencies/.github/workflows/auto-release.yaml +++ b/java-shared-dependencies/.github/workflows/auto-release.yaml @@ -21,6 +21,24 @@ jobs: return; } + // only approve PRs with pom.xml and versions.txt changes + const filesPromise = github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }); + const changed_files = await github.paginate(filesPromise) + + if ( changed_files.length < 1 ) { + console.log( "Not proceeding since PR is empty!" ) + return; + } + + if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) { + console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" ) + return; + } + // trigger auto-release when // 1) it is a SNAPSHOT release (auto-generated post regular release) // 2) there are dependency updates only diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 7c3242cb2051..209285b9a23c 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "79946122e194c67eac609e42ef73917c59c12daa" + "sha": "65fb72633254d79d47be4fb621856bc0b7a6a87a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2" + "sha": "da29da32b3a988457b49ae290112b74f14b713cc" } } ], From 7b254c0ce2afd12277c79e4d0bcf37acf61cdc4c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 29 Sep 2020 16:08:09 -0700 Subject: [PATCH 1054/3036] build(java): use yoshi-approver token for auto-approve (#41) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/dad40d9d-a5fb-4e00-996f-ebad0c1d6e37/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/916c10e8581804df2b48a0f0457d848f3faa582e --- java-iam/.github/workflows/auto-release.yaml | 4 ++-- java-iam/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index d26427e468a4..c8494910553a 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/github-script@v3.0.0 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true script: | // only approve PRs from release-please[bot] @@ -66,4 +66,4 @@ jobs: repo: context.repo.repo, issue_number: context.payload.pull_request.number, labels: ['kokoro:force-run', 'automerge'] - }); \ No newline at end of file + }); diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index a4c4048c75d0..666c04e96a6f 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "a354468bb275c6ffb6ca547a466303cbf2bd5621" + "sha": "1a7b7748bf19ad1220e25c3780d263c48befaa04" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" + "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" } } ], From 9dc1df39ebac432c25b3a2ba8c9641fc71bc583b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 30 Sep 2020 09:56:03 -0700 Subject: [PATCH 1055/3036] chore: regenerate templates * chore(ci): skip autorelease workflow on non-release PRs Source-Author: Stephanie Wang Source-Date: Thu Sep 24 16:57:32 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2 Source-Link: https://github.com/googleapis/synthtool/commit/95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2 * chore(ci): verify autorelease release PR content has changes Source-Author: Stephanie Wang Source-Date: Thu Sep 24 18:06:14 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: da29da32b3a988457b49ae290112b74f14b713cc Source-Link: https://github.com/googleapis/synthtool/commit/da29da32b3a988457b49ae290112b74f14b713cc * chore(java): use separate autosynth job for README Split java README generation into a separate, per-repo continuous job running from Kokoro. We now generate a new job that runs on commits to the primary branch that strictly manages the README.md. This should prevent us from seeing the contextless autosynth PRs which are caused by non-proto/template upstream changes. Source-Author: Jeff Ching Source-Date: Tue Sep 29 15:48:03 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: e6168630be3e31eede633ba2c6f1cd64248dec1c Source-Link: https://github.com/googleapis/synthtool/commit/e6168630be3e31eede633ba2c6f1cd64248dec1c --- java-core/.github/readme/synth.py | 19 +++++++ java-core/.github/workflows/auto-release.yaml | 19 +++++++ java-core/.kokoro/continuous/readme.cfg | 55 +++++++++++++++++++ java-core/.kokoro/readme.sh | 36 ++++++++++++ java-core/synth.metadata | 7 ++- 5 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/readme/synth.py create mode 100644 java-core/.kokoro/continuous/readme.cfg create mode 100644 java-core/.kokoro/readme.sh diff --git a/java-core/.github/readme/synth.py b/java-core/.github/readme/synth.py new file mode 100644 index 000000000000..7b48cc28d361 --- /dev/null +++ b/java-core/.github/readme/synth.py @@ -0,0 +1,19 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated the README for this library.""" + +from synthtool.languages import java + +java.custom_templates(["java_library/README.md"]) diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index c8494910553a..bc1554aecba2 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -4,6 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest + if: contains(github.head_ref, 'release-v') steps: - uses: actions/github-script@v3.0.0 with: @@ -20,6 +21,24 @@ jobs: return; } + // only approve PRs with pom.xml and versions.txt changes + const filesPromise = github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }); + const changed_files = await github.paginate(filesPromise) + + if ( changed_files.length < 1 ) { + console.log( "Not proceeding since PR is empty!" ) + return; + } + + if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) { + console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" ) + return; + } + // trigger auto-release when // 1) it is a SNAPSHOT release (auto-generated post regular release) // 2) there are dependency updates only diff --git a/java-core/.kokoro/continuous/readme.cfg b/java-core/.kokoro/continuous/readme.cfg new file mode 100644 index 000000000000..f56d11ea7a13 --- /dev/null +++ b/java-core/.kokoro/continuous/readme.cfg @@ -0,0 +1,55 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-core/.kokoro/readme.sh" +} + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.log" + } +} + +# The github token is stored here. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + # TODO(theacodes): remove this after secrets have globally propagated + backend_type: FASTCONFIGPUSH + } + } +} + +# Common env vars for all repositories and builds. +env_vars: { + key: "GITHUB_USER" + value: "yoshi-automation" +} +env_vars: { + key: "GITHUB_EMAIL" + value: "yoshi-automation@google.com" +} diff --git a/java-core/.kokoro/readme.sh b/java-core/.kokoro/readme.sh new file mode 100644 index 000000000000..f155067a8884 --- /dev/null +++ b/java-core/.kokoro/readme.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +cd ${KOKORO_ARTIFACTS_DIR}/github/java-core + +# Disable buffering, so that the logs stream through. +export PYTHONUNBUFFERED=1 + +# Kokoro exposes this as a file, but the scripts expect just a plain variable. +export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) + +# Setup git credentials +echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials +git config --global credential.helper 'store --file ~/.git-credentials' + +python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool +python3.6 -m autosynth.synth \ + --repository=googleapis/java-core \ + --synth-file-name=.github/readme/synth.py \ + --metadata-path=.github/readme/synth.metadata \ + --pr-title="chore: regenerate README" \ + --branch-suffix="readme" \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 8f7549ae536e..57e465644527 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "59d079ea0f989f1ce1aeaf9bebbdc9e65c1825b1" + "sha": "e4aafd354c2420d3909b1f819d750d375c1697a0" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" + "sha": "e6168630be3e31eede633ba2c6f1cd64248dec1c" } } ], @@ -21,6 +21,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/readme/synth.py", ".github/release-please.yml", ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", @@ -32,6 +33,7 @@ ".kokoro/common.sh", ".kokoro/continuous/common.cfg", ".kokoro/continuous/java8.cfg", + ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", @@ -55,6 +57,7 @@ ".kokoro/presubmit/linkage-monitor.cfg", ".kokoro/presubmit/lint.cfg", ".kokoro/presubmit/samples.cfg", + ".kokoro/readme.sh", ".kokoro/release/bump_snapshot.cfg", ".kokoro/release/common.cfg", ".kokoro/release/common.sh", From d4f8de0f500a0d42a330aa154a499efc32b94643 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 30 Sep 2020 09:57:43 -0700 Subject: [PATCH 1056/3036] chore: regenerate templates * chore(ci): skip autorelease workflow on non-release PRs Source-Author: Stephanie Wang Source-Date: Thu Sep 24 16:57:32 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2 Source-Link: https://github.com/googleapis/synthtool/commit/95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2 * chore(ci): verify autorelease release PR content has changes Source-Author: Stephanie Wang Source-Date: Thu Sep 24 18:06:14 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: da29da32b3a988457b49ae290112b74f14b713cc Source-Link: https://github.com/googleapis/synthtool/commit/da29da32b3a988457b49ae290112b74f14b713cc * chore(java): use separate autosynth job for README Split java README generation into a separate, per-repo continuous job running from Kokoro. We now generate a new job that runs on commits to the primary branch that strictly manages the README.md. This should prevent us from seeing the contextless autosynth PRs which are caused by non-proto/template upstream changes. Source-Author: Jeff Ching Source-Date: Tue Sep 29 15:48:03 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: e6168630be3e31eede633ba2c6f1cd64248dec1c Source-Link: https://github.com/googleapis/synthtool/commit/e6168630be3e31eede633ba2c6f1cd64248dec1c --- java-iam/.github/readme/synth.py | 19 +++++++ java-iam/.github/workflows/auto-release.yaml | 19 +++++++ java-iam/.kokoro/continuous/readme.cfg | 55 ++++++++++++++++++++ java-iam/.kokoro/readme.sh | 36 +++++++++++++ java-iam/synth.metadata | 7 ++- 5 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 java-iam/.github/readme/synth.py create mode 100644 java-iam/.kokoro/continuous/readme.cfg create mode 100644 java-iam/.kokoro/readme.sh diff --git a/java-iam/.github/readme/synth.py b/java-iam/.github/readme/synth.py new file mode 100644 index 000000000000..7b48cc28d361 --- /dev/null +++ b/java-iam/.github/readme/synth.py @@ -0,0 +1,19 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated the README for this library.""" + +from synthtool.languages import java + +java.custom_templates(["java_library/README.md"]) diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index c8494910553a..bc1554aecba2 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -4,6 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest + if: contains(github.head_ref, 'release-v') steps: - uses: actions/github-script@v3.0.0 with: @@ -20,6 +21,24 @@ jobs: return; } + // only approve PRs with pom.xml and versions.txt changes + const filesPromise = github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }); + const changed_files = await github.paginate(filesPromise) + + if ( changed_files.length < 1 ) { + console.log( "Not proceeding since PR is empty!" ) + return; + } + + if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) { + console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" ) + return; + } + // trigger auto-release when // 1) it is a SNAPSHOT release (auto-generated post regular release) // 2) there are dependency updates only diff --git a/java-iam/.kokoro/continuous/readme.cfg b/java-iam/.kokoro/continuous/readme.cfg new file mode 100644 index 000000000000..43a645075ec0 --- /dev/null +++ b/java-iam/.kokoro/continuous/readme.cfg @@ -0,0 +1,55 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/readme.sh" +} + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.log" + } +} + +# The github token is stored here. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + # TODO(theacodes): remove this after secrets have globally propagated + backend_type: FASTCONFIGPUSH + } + } +} + +# Common env vars for all repositories and builds. +env_vars: { + key: "GITHUB_USER" + value: "yoshi-automation" +} +env_vars: { + key: "GITHUB_EMAIL" + value: "yoshi-automation@google.com" +} diff --git a/java-iam/.kokoro/readme.sh b/java-iam/.kokoro/readme.sh new file mode 100644 index 000000000000..0e6b763de34a --- /dev/null +++ b/java-iam/.kokoro/readme.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +cd ${KOKORO_ARTIFACTS_DIR}/github/java-iam + +# Disable buffering, so that the logs stream through. +export PYTHONUNBUFFERED=1 + +# Kokoro exposes this as a file, but the scripts expect just a plain variable. +export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) + +# Setup git credentials +echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials +git config --global credential.helper 'store --file ~/.git-credentials' + +python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool +python3.6 -m autosynth.synth \ + --repository=googleapis/java-iam \ + --synth-file-name=.github/readme/synth.py \ + --metadata-path=.github/readme/synth.metadata \ + --pr-title="chore: regenerate README" \ + --branch-suffix="readme" \ No newline at end of file diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 666c04e96a6f..2ac784f13ed2 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "1a7b7748bf19ad1220e25c3780d263c48befaa04" + "sha": "9ca319948ff7e9235848439d669462a3c71a1466" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" + "sha": "e6168630be3e31eede633ba2c6f1cd64248dec1c" } } ], @@ -29,6 +29,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/readme/synth.py", ".github/release-please.yml", ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", @@ -40,6 +41,7 @@ ".kokoro/common.sh", ".kokoro/continuous/common.cfg", ".kokoro/continuous/java8.cfg", + ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", @@ -63,6 +65,7 @@ ".kokoro/presubmit/linkage-monitor.cfg", ".kokoro/presubmit/lint.cfg", ".kokoro/presubmit/samples.cfg", + ".kokoro/readme.sh", ".kokoro/release/bump_snapshot.cfg", ".kokoro/release/common.cfg", ".kokoro/release/common.sh", From 83b19dce163adcebdfdf516eb714ead93924b227 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 6 Oct 2020 20:44:05 +0200 Subject: [PATCH 1057/3036] deps: update gax.version to v1.59.1 (#159) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | minor | `1.58.2` -> `1.59.1` | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | minor | `1.58.2` -> `1.59.1` | --- ### Release Notes
    googleapis/gax-java ### [`v1.59.1`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1591-httpswwwgithubcomgoogleapisgax-javacomparev1590v1591-2020-10-05) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.59.0...v1.59.1) ### [`v1.59.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1590-httpswwwgithubcomgoogleapisgax-javacomparev1583v1590-2020-09-28) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.58.3...v1.59.0) ##### Features - Allow user-agents to be specified by both internal headers and user headers ([#​1190](https://www.github.com/googleapis/gax-java/issues/1190)) ([266329e](https://www.github.com/googleapis/gax-java/commit/266329e89642bfc6be579e600d3f995f4416ae4e)), closes [/github.com/googleapis/java-bigtable/pull/404#pullrequestreview-480972135](https://www.github.com/googleapis//github.com/googleapis/java-bigtable/pull/404/issues/pullrequestreview-480972135) ##### Bug Fixes - truncate RPC timeouts to time remaining in totalTimeout ([#​1191](https://www.github.com/googleapis/gax-java/issues/1191)) ([1d0c940](https://www.github.com/googleapis/gax-java/commit/1d0c94061bab124be81a649ac3fa1ce5d9a2df23)) ##### Dependencies - update guava to 29.0-android ([#​1174](https://www.github.com/googleapis/gax-java/issues/1174)) ([287cada](https://www.github.com/googleapis/gax-java/commit/287cadae528549545da9e7e9d63fd70c1268e3c1)), closes [#​1151](https://www.github.com/googleapis/gax-java/issues/1151) ##### [1.58.3](https://www.github.com/googleapis/gax-java/compare/v1.58.2...v1.58.3) (2020-09-15) ##### Bug Fixes - [gax-java] Add speedy Bazel builds to Travis ([#​1181](https://www.github.com/googleapis/gax-java/issues/1181)) ([2fb85fe](https://www.github.com/googleapis/gax-java/commit/2fb85fed095c6043ee39b63a0f7dff3fd93cbd7b)) - [gax-java] add Vim files to .gitignore ([#​1179](https://www.github.com/googleapis/gax-java/issues/1179)) ([2de22b6](https://www.github.com/googleapis/gax-java/commit/2de22b6645fbfd7ada7d0067e5cdd3c2039ec190)) - [gax-java] Fix broken Bazel build ([#​1180](https://www.github.com/googleapis/gax-java/issues/1180)) ([834c05e](https://www.github.com/googleapis/gax-java/commit/834c05e1d35a17f90bf8cd1b2cdce40bea451c95)) ##### [1.58.2](https://www.github.com/googleapis/gax-java/compare/v1.58.1...v1.58.2) (2020-08-07) ##### Bug Fixes - Settings objects should not try to read quotaProjectId from credentials ([#​1162](https://www.github.com/googleapis/gax-java/issues/1162)) ([1b09bcf](https://www.github.com/googleapis/gax-java/commit/1b09bcff1ddfaed8cfa58b92c787f8fc9b08abef)) ##### [1.58.1](https://www.github.com/googleapis/gax-java/compare/v1.58.0...v1.58.1) (2020-08-06) ##### Bug Fixes - fix dependencies.properties resource file creation during deployment ([#​1163](https://www.github.com/googleapis/gax-java/issues/1163)) ([3e7e1f1](https://www.github.com/googleapis/gax-java/commit/3e7e1f1e64bdeb23a51b5155faea975beec0bc84)) - Watchdog.shutdownNow() does not shutdown executor ([#​1158](https://www.github.com/googleapis/gax-java/issues/1158)) ([6241a21](https://www.github.com/googleapis/gax-java/commit/6241a2118690d07dd28ffb9447423363f3f914e4)) ### [`v1.58.3`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1583-httpswwwgithubcomgoogleapisgax-javacomparev1582v1583-2020-09-15) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.58.2...v1.58.3)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 559897e831a5..b24d6c732a3e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.32.1 - 1.58.2 + 1.59.1 29.0-android 3.13.0 1.10.0 From a67871a490ca6abfe681bd995f7ed777d0024370 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2020 18:50:02 +0000 Subject: [PATCH 1058/3036] chore: release 0.10.1 (#160) :robot: I have created a release \*beep\* \*boop\* --- ### [0.10.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.0...v0.10.1) (2020-10-06) ### Dependencies * update gax.version to v1.59.1 ([#159](https://www.github.com/googleapis/java-shared-dependencies/issues/159)) ([83b19dc](https://www.github.com/googleapis/java-shared-dependencies/commit/83b19dce163adcebdfdf516eb714ead93924b227)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 06ab059edbb1..7cae12c44ead 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.10.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.0...v0.10.1) (2020-10-06) + + +### Dependencies + +* update gax.version to v1.59.1 ([#159](https://www.github.com/googleapis/java-shared-dependencies/issues/159)) ([7c84443](https://www.github.com/googleapis/java-shared-dependencies/commit/7c84443db92e1d910590fa89c2e35b14613e7eba)) + ## [0.10.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.1...v0.10.0) (2020-09-23) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 32e261186acd..29ea21b19edf 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.10.0 + 0.10.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b24d6c732a3e..7de9f60d3299 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 - 0.10.1-SNAPSHOT + 0.10.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 63a0681d9185..175ea9955869 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.10.0:0.10.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.10.1:0.10.1 \ No newline at end of file From 8b6fbfd3349b190af257e24f42f8db6a1a165679 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 6 Oct 2020 15:12:10 -0700 Subject: [PATCH 1059/3036] build(java): readme.sh should be executable (#289) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/be7cdecb-1936-4613-9472-c229f469aea3/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/0762e8ee2ec21cdfc4d82020b985a104feb0453b --- java-core/.kokoro/readme.sh | 0 java-core/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 java-core/.kokoro/readme.sh diff --git a/java-core/.kokoro/readme.sh b/java-core/.kokoro/readme.sh old mode 100644 new mode 100755 diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 57e465644527..e5286d294ab7 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "e4aafd354c2420d3909b1f819d750d375c1697a0" + "sha": "fd7bd2a05b5eb6e1b0c4d095fb9f9ca3378dc666" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e6168630be3e31eede633ba2c6f1cd64248dec1c" + "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" } } ], From f32eb636a576cc609aa68dfcd5df80313f6bf310 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 6 Oct 2020 16:02:22 -0700 Subject: [PATCH 1060/3036] build(java): readme.sh should be executable (#43) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e0c92b6a-44c3-4915-b005-fc197db4a3b3/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/0762e8ee2ec21cdfc4d82020b985a104feb0453b --- java-iam/.kokoro/readme.sh | 0 java-iam/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 java-iam/.kokoro/readme.sh diff --git a/java-iam/.kokoro/readme.sh b/java-iam/.kokoro/readme.sh old mode 100644 new mode 100755 diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 2ac784f13ed2..1b07a6ce3641 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "9ca319948ff7e9235848439d669462a3c71a1466" + "sha": "098ab1fd54535c0a801aba31e9e031a38cda8b6c" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e6168630be3e31eede633ba2c6f1cd64248dec1c" + "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" } } ], From 6361b2723b914984bb7229b5934039764008b01f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Oct 2020 15:26:30 +0200 Subject: [PATCH 1061/3036] deps: update dependency org.threeten:threetenbp to v1.4.5 (#162) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7de9f60d3299..637ba85924fc 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.36.0 1.30.10 2.8.6 - 1.4.4 + 1.4.5 1.3.2 1.19 1.0.1 From ffbe0049c7b6dfdf227b21517015979f300f19b4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2020 13:34:10 +0000 Subject: [PATCH 1062/3036] chore: release 0.10.2-SNAPSHOT (#163) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 637ba85924fc..8340f7d4da5c 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 - 0.10.1 + 0.10.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 175ea9955869..f8f8784d7924 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.10.1:0.10.1 \ No newline at end of file +google-cloud-shared-dependencies:0.10.1:0.10.2-SNAPSHOT \ No newline at end of file From 880683099f5d3120045082c36b1b5d4d2263ca74 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2020 13:46:06 +0000 Subject: [PATCH 1063/3036] chore: release 0.10.2 (#164) :robot: I have created a release \*beep\* \*boop\* --- ### [0.10.2](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.1...v0.10.2) (2020-10-08) ### Dependencies * update dependency org.threeten:threetenbp to v1.4.5 ([#162](https://www.github.com/googleapis/java-shared-dependencies/issues/162)) ([6361b27](https://www.github.com/googleapis/java-shared-dependencies/commit/6361b2723b914984bb7229b5934039764008b01f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 7cae12c44ead..c66d19cb50a3 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.10.2](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.1...v0.10.2) (2020-10-08) + + +### Dependencies + +* update dependency org.threeten:threetenbp to v1.4.5 ([#162](https://www.github.com/googleapis/java-shared-dependencies/issues/162)) ([54eccb5](https://www.github.com/googleapis/java-shared-dependencies/commit/54eccb533353ddfe537a7e069a696a3f0f70f211)) + ### [0.10.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.0...v0.10.1) (2020-10-06) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 29ea21b19edf..cafa33b14784 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.10.1 + 0.10.2 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8340f7d4da5c..02d7e64ffa07 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 - 0.10.2-SNAPSHOT + 0.10.2 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index f8f8784d7924..71388db29856 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.10.1:0.10.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.10.2:0.10.2 \ No newline at end of file From c0a7f06103a60953fd3d40f605d3112d2a69ac48 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 13 Oct 2020 20:20:37 +0200 Subject: [PATCH 1064/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.37.0 (#166) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 02d7e64ffa07..fc2fdd29a450 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.18.1 1.93.9 0.21.1 - 1.36.0 + 1.37.0 1.30.10 2.8.6 1.4.5 From b982441ab69e2d48e5f4c887e50447a62d8d0640 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 13 Oct 2020 20:21:04 +0200 Subject: [PATCH 1065/3036] deps: update dependency io.grpc:grpc-bom to v1.32.2 (#165) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index fc2fdd29a450..b279da923551 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.32.1 + 1.32.2 1.59.1 29.0-android 3.13.0 From 41c4aee6204418b6ab724895ade5df4b6503ba37 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 13 Oct 2020 18:26:05 +0000 Subject: [PATCH 1066/3036] chore: release 0.10.3-SNAPSHOT (#167) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b279da923551..19fe17ae36d7 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 - 0.10.2 + 0.10.3-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 71388db29856..74a76d76a880 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.10.2:0.10.2 \ No newline at end of file +google-cloud-shared-dependencies:0.10.2:0.10.3-SNAPSHOT \ No newline at end of file From f035465fa18d5eed2191e91db944d2047ec18858 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 13 Oct 2020 18:32:05 +0000 Subject: [PATCH 1067/3036] chore: release 0.11.0 (#168) :robot: I have created a release \*beep\* \*boop\* --- ## [0.11.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.2...v0.11.0) (2020-10-13) ### Dependencies * update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#166](https://www.github.com/googleapis/java-shared-dependencies/issues/166)) ([c0a7f06](https://www.github.com/googleapis/java-shared-dependencies/commit/c0a7f06103a60953fd3d40f605d3112d2a69ac48)) * update dependency io.grpc:grpc-bom to v1.32.2 ([#165](https://www.github.com/googleapis/java-shared-dependencies/issues/165)) ([b982441](https://www.github.com/googleapis/java-shared-dependencies/commit/b982441ab69e2d48e5f4c887e50447a62d8d0640)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 8 ++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index c66d19cb50a3..876d088562e6 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [0.11.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.2...v0.11.0) (2020-10-13) + + +### Dependencies + +* update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#166](https://www.github.com/googleapis/java-shared-dependencies/issues/166)) ([5721225](https://www.github.com/googleapis/java-shared-dependencies/commit/572122574ce8452b6a0fc6df919e9ce2d8ffd2ce)) +* update dependency io.grpc:grpc-bom to v1.32.2 ([#165](https://www.github.com/googleapis/java-shared-dependencies/issues/165)) ([b70ddb0](https://www.github.com/googleapis/java-shared-dependencies/commit/b70ddb00a3be97536cdd80bd57fe6bca1b0973e2)) + ### [0.10.2](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.1...v0.10.2) (2020-10-08) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index cafa33b14784..1e1e844c406d 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.10.2 + 0.11.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 19fe17ae36d7..ec0a011aa313 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 - 0.10.3-SNAPSHOT + 0.11.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 74a76d76a880..cadd67379320 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.10.2:0.10.3-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.11.0:0.11.0 \ No newline at end of file From 8b8d3bbc9181f549f5b22b3431f0d64bc0d5a358 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 14 Oct 2020 09:16:07 -0700 Subject: [PATCH 1068/3036] ci(java): suggest formatting fixes (#292) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c7323cb0-257b-4ad3-b644-b94b558b2a13/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b65ef07d99946d23e900ef2cc490274a16edd336 --- java-core/.github/workflows/formatting.yaml | 25 +++++++++++++++++++++ java-core/synth.metadata | 5 +++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/workflows/formatting.yaml diff --git a/java-core/.github/workflows/formatting.yaml b/java-core/.github/workflows/formatting.yaml new file mode 100644 index 000000000000..d4d367cfce03 --- /dev/null +++ b/java-core/.github/workflows/formatting.yaml @@ -0,0 +1,25 @@ +on: + pull_request_target: + types: [opened, synchronize] + branches: + - master +name: format +jobs: + format-code: + runs-on: ubuntu-latest + env: + ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + steps: + - uses: actions/checkout@v2 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: "mvn com.coveo:fmt-maven-plugin:format" + - uses: googleapis/code-suggester@v1.8.0 + with: + command: review + pull_number: ${{ github.event.pull_request.number }} + git_dir: '.' diff --git a/java-core/synth.metadata b/java-core/synth.metadata index e5286d294ab7..79d279c10169 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "fd7bd2a05b5eb6e1b0c4d095fb9f9ca3378dc666" + "sha": "b3f9af8fd26dce76dbac4f1e0c086b3ed01a728f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" + "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" } } ], @@ -26,6 +26,7 @@ ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", + ".github/workflows/formatting.yaml", ".kokoro/build.bat", ".kokoro/build.sh", ".kokoro/coerce_logs.sh", From cd2287650144952e437d459ee03ea143b91a13d0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 14 Oct 2020 09:18:03 -0700 Subject: [PATCH 1069/3036] ci(java): suggest formatting fixes (#46) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/3348a50d-d142-45b9-a004-c327547d1133/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b65ef07d99946d23e900ef2cc490274a16edd336 --- java-iam/.github/workflows/formatting.yaml | 25 ++++++++++++++++++++++ java-iam/synth.metadata | 5 +++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 java-iam/.github/workflows/formatting.yaml diff --git a/java-iam/.github/workflows/formatting.yaml b/java-iam/.github/workflows/formatting.yaml new file mode 100644 index 000000000000..d4d367cfce03 --- /dev/null +++ b/java-iam/.github/workflows/formatting.yaml @@ -0,0 +1,25 @@ +on: + pull_request_target: + types: [opened, synchronize] + branches: + - master +name: format +jobs: + format-code: + runs-on: ubuntu-latest + env: + ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + steps: + - uses: actions/checkout@v2 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: "mvn com.coveo:fmt-maven-plugin:format" + - uses: googleapis/code-suggester@v1.8.0 + with: + command: review + pull_number: ${{ github.event.pull_request.number }} + git_dir: '.' diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 1b07a6ce3641..3e1fd2cc54ba 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "098ab1fd54535c0a801aba31e9e031a38cda8b6c" + "sha": "7252db80eb38ce4b3009d90a14d3530bb5371ea0" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" + "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" } } ], @@ -34,6 +34,7 @@ ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", + ".github/workflows/formatting.yaml", ".kokoro/build.bat", ".kokoro/build.sh", ".kokoro/coerce_logs.sh", From 67de962d541150adb12c7c0645ef391aa3c156e7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 15 Oct 2020 09:44:08 +0200 Subject: [PATCH 1070/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.30.11 (#169) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | patch | `1.30.10` -> `1.30.11` | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.30.11`](https://togithub.com/googleapis/google-api-java-client/blob/master/CHANGELOG.md#​13011-httpswwwgithubcomgoogleapisgoogle-api-java-clientcomparev13010v13011-2020-10-13) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.30.10...v1.30.11)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ec0a011aa313..dfb3872218b3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 1.93.9 0.21.1 1.37.0 - 1.30.10 + 1.30.11 2.8.6 1.4.5 1.3.2 From 0459d4e7b10b248108b56e8e805ac47238b9214f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 15 Oct 2020 09:46:04 +0200 Subject: [PATCH 1071/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.22.0 (#171) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | minor | `0.21.1` -> `0.22.0` | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v0.22.0`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0220-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0211v0220-2020-10-13) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.21.1...v0.22.0) ##### Features - add logging at FINE level for each step of ADC ([#​435](https://www.github.com/googleapis/google-auth-library-java/issues/435)) ([7d145b2](https://www.github.com/googleapis/google-auth-library-java/commit/7d145b2371033093ea13fd05520c90970a5ef363)) ##### Documentation - remove bad javadoc tags ([#​478](https://www.github.com/googleapis/google-auth-library-java/issues/478)) ([a329c41](https://www.github.com/googleapis/google-auth-library-java/commit/a329c4171735c3d4ee574978e6c3742b96c01f74)) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#​486](https://www.github.com/googleapis/google-auth-library-java/issues/486)) ([3027fbf](https://www.github.com/googleapis/google-auth-library-java/commit/3027fbfaf017f5aa5a22cc51cd38a522597729c0)) ##### [0.21.1](https://www.github.com/googleapis/google-auth-library-java/compare/v0.21.0...v0.21.1) (2020-07-07) ##### Dependencies - update google-http-client to 1.36.0 ([#​447](https://www.github.com/googleapis/google-auth-library-java/issues/447)) ([b913d19](https://www.github.com/googleapis/google-auth-library-java/commit/b913d194259e4f93bb401a844480f56b48dad3bd)), closes [#​446](https://www.github.com/googleapis/google-auth-library-java/issues/446)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index dfb3872218b3..3725be0435dc 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.0 1.18.1 1.93.9 - 0.21.1 + 0.22.0 1.37.0 1.30.11 2.8.6 From d7693eb25cf13ac2fee4d77e6dd3b49a0a7e6d01 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2020 07:50:07 +0000 Subject: [PATCH 1072/3036] chore: release 0.11.1-SNAPSHOT (#172) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3725be0435dc..680a88a0ce7d 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 - 0.11.0 + 0.11.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index cadd67379320..3f4a91188878 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.11.0:0.11.0 \ No newline at end of file +google-cloud-shared-dependencies:0.11.0:0.11.1-SNAPSHOT \ No newline at end of file From 3817323043c05639d2a4d6611383415e07e505ba Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 15 Oct 2020 18:46:02 +0000 Subject: [PATCH 1073/3036] chore: release 0.12.0 (#173) :robot: I have created a release \*beep\* \*boop\* --- ## [0.12.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.11.0...v0.12.0) (2020-10-15) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#169](https://www.github.com/googleapis/java-shared-dependencies/issues/169)) ([67de962](https://www.github.com/googleapis/java-shared-dependencies/commit/67de962d541150adb12c7c0645ef391aa3c156e7)) * update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#171](https://www.github.com/googleapis/java-shared-dependencies/issues/171)) ([0459d4e](https://www.github.com/googleapis/java-shared-dependencies/commit/0459d4e7b10b248108b56e8e805ac47238b9214f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 8 ++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 876d088562e6..be2e69e22943 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [0.12.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.11.0...v0.12.0) (2020-10-15) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#169](https://www.github.com/googleapis/java-shared-dependencies/issues/169)) ([a1b18d1](https://www.github.com/googleapis/java-shared-dependencies/commit/a1b18d1838c2ceca882615d574ab5d0245794820)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#171](https://www.github.com/googleapis/java-shared-dependencies/issues/171)) ([0c7635a](https://www.github.com/googleapis/java-shared-dependencies/commit/0c7635a82d922971ae6aac18dc2ee1879e017516)) + ## [0.11.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.2...v0.11.0) (2020-10-13) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 1e1e844c406d..db67cc5dbac4 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.11.0 + 0.12.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 680a88a0ce7d..d9b0605fa294 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 - 0.11.1-SNAPSHOT + 0.12.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 3f4a91188878..dd8be0587447 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.11.0:0.11.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.12.0:0.12.0 \ No newline at end of file From 35354f1e5aa64f6b237fc5bab57c6dc16e415f63 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Oct 2020 15:38:15 -0700 Subject: [PATCH 1074/3036] ci(java): restrict presubmit samples ITs to only snapshot (#298) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fbbe40e0-e2ab-4acf-9ad7-1fe4653b43d5/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/27e0e916cbfdb3d5ff6639b686cc04f78a0b0386 --- java-core/.kokoro/build.sh | 11 +++++++++-- java-core/synth.metadata | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index c0ac0216d964..6440060ba708 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -69,9 +69,16 @@ integration) RETURN_CODE=$? ;; samples) - if [[ -f samples/pom.xml ]] + SAMPLES_DIR=samples + # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. + if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] then - pushd samples + SAMPLES_DIR=samples/snapshot + fi + + if [[ -f ${SAMPLES_DIR}/pom.xml ]] + then + pushd {SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 79d279c10169..589467f95fb2 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "b3f9af8fd26dce76dbac4f1e0c086b3ed01a728f" + "sha": "714769a4f8f35a87b4ebc450ce9790d63807f976" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" + "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" } } ], From 2c4f310991440cb55f0b9a8bfaf2fcfab68a3b47 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Oct 2020 17:04:29 -0700 Subject: [PATCH 1075/3036] ci(java): restrict presubmit samples ITs to only snapshot (#48) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/add53cd8-e92b-4f5d-8e14-8ace5a71b8f9/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/27e0e916cbfdb3d5ff6639b686cc04f78a0b0386 --- java-iam/.kokoro/build.sh | 11 +++++++++-- java-iam/synth.metadata | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 54531d09f5a7..8877ea890210 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -69,9 +69,16 @@ integration) RETURN_CODE=$? ;; samples) - if [[ -f samples/pom.xml ]] + SAMPLES_DIR=samples + # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. + if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] then - pushd samples + SAMPLES_DIR=samples/snapshot + fi + + if [[ -f ${SAMPLES_DIR}/pom.xml ]] + then + pushd {SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 3e1fd2cc54ba..3c3e5465b766 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "7252db80eb38ce4b3009d90a14d3530bb5371ea0" + "sha": "1884b0c63d1ab27d426a53bb3acb4057cccd31d1" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" + "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" } } ], From 65709f71c394c92d48f96afb68a3a0c47dfbf939 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 16 Oct 2020 09:08:44 -0700 Subject: [PATCH 1076/3036] build(java): auto-approve README regeneration (#49) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/f4a22218-58eb-46ba-b929-4057c6033f32/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1 --- .../.github/workflows/approve-readme.yaml | 54 +++++++++++++++++++ java-iam/synth.metadata | 5 +- 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 java-iam/.github/workflows/approve-readme.yaml diff --git a/java-iam/.github/workflows/approve-readme.yaml b/java-iam/.github/workflows/approve-readme.yaml new file mode 100644 index 000000000000..e2d841d6c5a0 --- /dev/null +++ b/java-iam/.github/workflows/approve-readme.yaml @@ -0,0 +1,54 @@ +on: + pull_request: +name: auto-merge-readme +jobs: + approve: + runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} + script: | + // only approve PRs from yoshi-automation + if (context.payload.pull_request.user.login !== "yoshi-automation") { + return; + } + + // only approve PRs like "chore: release " + if (!context.payload.pull_request.title === "chore: regenerate README") { + return; + } + + // only approve PRs with README.md and synth.metadata changes + const files = new Set( + ( + await github.paginate( + github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }) + ) + ).map(file => file.filename) + ); + if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { + return; + } + + // approve README regeneration PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped PR!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach automerge label + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['automerge'] + }); diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 3c3e5465b766..b2977e18aacd 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "1884b0c63d1ab27d426a53bb3acb4057cccd31d1" + "sha": "0fffc6539233238ea74126ef05fc4fe1fcd2321a" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" + "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" } } ], @@ -32,6 +32,7 @@ ".github/readme/synth.py", ".github/release-please.yml", ".github/trusted-contribution.yml", + ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", ".github/workflows/formatting.yaml", From 884de8a1a0cbd87b78e704558fcfa02b98e4e5fd Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 16 Oct 2020 09:10:13 -0700 Subject: [PATCH 1077/3036] build(java): auto-approve README regeneration (#299) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/21d46434-1f66-4dee-862f-7b883a683c46/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1 --- .../.github/workflows/approve-readme.yaml | 54 +++++++++++++++++++ java-core/synth.metadata | 5 +- 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/workflows/approve-readme.yaml diff --git a/java-core/.github/workflows/approve-readme.yaml b/java-core/.github/workflows/approve-readme.yaml new file mode 100644 index 000000000000..e2d841d6c5a0 --- /dev/null +++ b/java-core/.github/workflows/approve-readme.yaml @@ -0,0 +1,54 @@ +on: + pull_request: +name: auto-merge-readme +jobs: + approve: + runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} + script: | + // only approve PRs from yoshi-automation + if (context.payload.pull_request.user.login !== "yoshi-automation") { + return; + } + + // only approve PRs like "chore: release " + if (!context.payload.pull_request.title === "chore: regenerate README") { + return; + } + + // only approve PRs with README.md and synth.metadata changes + const files = new Set( + ( + await github.paginate( + github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }) + ) + ).map(file => file.filename) + ); + if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { + return; + } + + // approve README regeneration PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped PR!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach automerge label + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['automerge'] + }); diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 589467f95fb2..2f5e507cc7b9 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "714769a4f8f35a87b4ebc450ce9790d63807f976" + "sha": "56f9d86d60228e72f56060262c3366a6220ee206" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" + "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" } } ], @@ -24,6 +24,7 @@ ".github/readme/synth.py", ".github/release-please.yml", ".github/trusted-contribution.yml", + ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", ".github/workflows/formatting.yaml", From b16de0c00f558da3ba393fb91c4ae1d6adcedaad Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 16 Oct 2020 18:14:43 +0200 Subject: [PATCH 1078/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.3 (#175) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | patch | `0.9.2` -> `0.9.3` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.9.3`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​093-httpswwwgithubcomgoogleapisjava-shared-configcomparev092v093-2020-10-15) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.2...v0.9.3)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d9b0605fa294..2a4a89a30081 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.2 + 0.9.3 From 4399b36adae40678ba8a09b51e18ae9436244505 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 16 Oct 2020 16:40:07 +0000 Subject: [PATCH 1079/3036] chore: release 0.12.1-SNAPSHOT (#176) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2a4a89a30081..883f0fb45b7c 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 - 0.12.0 + 0.12.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index dd8be0587447..e4174f19002e 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.12.0:0.12.0 \ No newline at end of file +google-cloud-shared-dependencies:0.12.0:0.12.1-SNAPSHOT \ No newline at end of file From 12d61b2f1c1ec58f71fdc818a9cb794fd2d18f43 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 17 Oct 2020 01:41:08 +0200 Subject: [PATCH 1080/3036] deps: update dependency com.google.api:api-common to v1.10.1 (#180) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 883f0fb45b7c..dc5f2d33a7a6 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.59.1 29.0-android 3.13.0 - 1.10.0 + 1.10.1 1.18.1 1.93.9 0.22.0 From 90b5279fa07f8e25e69cf9208ac5f0f8c4021f58 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 17 Oct 2020 02:20:04 +0000 Subject: [PATCH 1081/3036] chore: release 0.12.1 (#182) :robot: I have created a release \*beep\* \*boop\* --- ### [0.12.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.0...v0.12.1) (2020-10-16) ### Dependencies * update dependency com.google.api:api-common to v1.10.1 ([#180](https://www.github.com/googleapis/java-shared-dependencies/issues/180)) ([12d61b2](https://www.github.com/googleapis/java-shared-dependencies/commit/12d61b2f1c1ec58f71fdc818a9cb794fd2d18f43)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index be2e69e22943..46e600f1c21c 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.12.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.0...v0.12.1) (2020-10-16) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.1 ([#180](https://www.github.com/googleapis/java-shared-dependencies/issues/180)) ([b1f2d5d](https://www.github.com/googleapis/java-shared-dependencies/commit/b1f2d5dfde24fcf683eeb5600fce7f51190ecce8)) + ## [0.12.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.11.0...v0.12.0) (2020-10-15) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index db67cc5dbac4..4cf0b9f83f52 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.12.0 + 0.12.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index dc5f2d33a7a6..40f6d9ef52a9 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 - 0.12.1-SNAPSHOT + 0.12.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index e4174f19002e..fe5f265a58a9 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.12.0:0.12.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.12.1:0.12.1 \ No newline at end of file From 98883b867b68e48e21746317349d56aa19be4a92 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 19 Oct 2020 13:39:19 -0700 Subject: [PATCH 1082/3036] chore(java): use separate autosynth job for README (#161) * chore(java): use separate autosynth job for README Split java README generation into a separate, per-repo continuous job running from Kokoro. We now generate a new job that runs on commits to the primary branch that strictly manages the README.md. This should prevent us from seeing the contextless autosynth PRs which are caused by non-proto/template upstream changes. Source-Author: Jeff Ching Source-Date: Tue Sep 29 15:48:03 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: e6168630be3e31eede633ba2c6f1cd64248dec1c Source-Link: https://github.com/googleapis/synthtool/commit/e6168630be3e31eede633ba2c6f1cd64248dec1c * build(java): readme.sh should be executable Source-Author: Jeff Ching Source-Date: Wed Sep 30 13:20:04 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 0762e8ee2ec21cdfc4d82020b985a104feb0453b Source-Link: https://github.com/googleapis/synthtool/commit/0762e8ee2ec21cdfc4d82020b985a104feb0453b --- .../.github/readme/synth.py | 19 +++++++ .../.kokoro/continuous/readme.cfg | 55 +++++++++++++++++++ java-shared-dependencies/.kokoro/readme.sh | 36 ++++++++++++ java-shared-dependencies/synth.metadata | 7 ++- 4 files changed, 115 insertions(+), 2 deletions(-) create mode 100644 java-shared-dependencies/.github/readme/synth.py create mode 100644 java-shared-dependencies/.kokoro/continuous/readme.cfg create mode 100755 java-shared-dependencies/.kokoro/readme.sh diff --git a/java-shared-dependencies/.github/readme/synth.py b/java-shared-dependencies/.github/readme/synth.py new file mode 100644 index 000000000000..7b48cc28d361 --- /dev/null +++ b/java-shared-dependencies/.github/readme/synth.py @@ -0,0 +1,19 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated the README for this library.""" + +from synthtool.languages import java + +java.custom_templates(["java_library/README.md"]) diff --git a/java-shared-dependencies/.kokoro/continuous/readme.cfg b/java-shared-dependencies/.kokoro/continuous/readme.cfg new file mode 100644 index 000000000000..8142540541ca --- /dev/null +++ b/java-shared-dependencies/.kokoro/continuous/readme.cfg @@ -0,0 +1,55 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-shared-dependencies/.kokoro/readme.sh" +} + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.log" + } +} + +# The github token is stored here. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + # TODO(theacodes): remove this after secrets have globally propagated + backend_type: FASTCONFIGPUSH + } + } +} + +# Common env vars for all repositories and builds. +env_vars: { + key: "GITHUB_USER" + value: "yoshi-automation" +} +env_vars: { + key: "GITHUB_EMAIL" + value: "yoshi-automation@google.com" +} diff --git a/java-shared-dependencies/.kokoro/readme.sh b/java-shared-dependencies/.kokoro/readme.sh new file mode 100755 index 000000000000..1ad6b149ded6 --- /dev/null +++ b/java-shared-dependencies/.kokoro/readme.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +cd ${KOKORO_ARTIFACTS_DIR}/github/java-shared-dependencies + +# Disable buffering, so that the logs stream through. +export PYTHONUNBUFFERED=1 + +# Kokoro exposes this as a file, but the scripts expect just a plain variable. +export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) + +# Setup git credentials +echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials +git config --global credential.helper 'store --file ~/.git-credentials' + +python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool +python3.6 -m autosynth.synth \ + --repository=googleapis/java-shared-dependencies \ + --synth-file-name=.github/readme/synth.py \ + --metadata-path=.github/readme/synth.metadata \ + --pr-title="chore: regenerate README" \ + --branch-suffix="readme" \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 209285b9a23c..b50ac72df393 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "65fb72633254d79d47be4fb621856bc0b7a6a87a" + "sha": "8fef296c1db88cc3dc5f50ef21ae8015f4c5883f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "da29da32b3a988457b49ae290112b74f14b713cc" + "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" } } ], @@ -21,6 +21,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/readme/synth.py", ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", @@ -31,6 +32,7 @@ ".kokoro/common.sh", ".kokoro/continuous/common.cfg", ".kokoro/continuous/java8.cfg", + ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", @@ -54,6 +56,7 @@ ".kokoro/presubmit/linkage-monitor.cfg", ".kokoro/presubmit/lint.cfg", ".kokoro/presubmit/samples.cfg", + ".kokoro/readme.sh", ".kokoro/release/bump_snapshot.cfg", ".kokoro/release/common.cfg", ".kokoro/release/common.sh", From a48a2234ec01d72a63ff007c7cf1274bb1b823cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 19 Oct 2020 22:39:38 +0200 Subject: [PATCH 1083/3036] deps: update google.common-protos.version to v2 (#174) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 40f6d9ef52a9..88952d759b67 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 29.0-android 3.13.0 1.10.1 - 1.18.1 + 2.0.0 1.93.9 0.22.0 1.37.0 From 15bf13ce1db561323a8c6fd9d905b4f8b7b07c71 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2020 20:46:04 +0000 Subject: [PATCH 1084/3036] chore: release 0.12.2-SNAPSHOT (#184) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 88952d759b67..64a40d330729 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 - 0.12.1 + 0.12.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index fe5f265a58a9..e07f40230415 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.12.1:0.12.1 \ No newline at end of file +google-cloud-shared-dependencies:0.12.1:0.12.2-SNAPSHOT \ No newline at end of file From d310f58296a54f497332446ace6c4b393a7c6c92 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 19 Oct 2020 15:10:10 -0700 Subject: [PATCH 1085/3036] chore: regenerate common templates (#186) * ci(java): suggest formatting fixes GitHub action config to run the java formatter and suggest inline fixes on the pull request. This was tested in java-asset: [example PR](https://github.com/googleapis/java-asset/pull/392). Source-Author: Jeff Ching Source-Date: Tue Oct 13 09:04:08 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: b65ef07d99946d23e900ef2cc490274a16edd336 Source-Link: https://github.com/googleapis/synthtool/commit/b65ef07d99946d23e900ef2cc490274a16edd336 * ci(java): restrict presubmit samples ITs to only snapshot This is to reduce resource consumption since we often times hit resource quota limit in samples testing. e.g. https://github.com/googleapis/java-bigquerydatatransfer/issues/410 Source-Author: Stephanie Wang Source-Date: Thu Oct 15 17:16:14 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 27e0e916cbfdb3d5ff6639b686cc04f78a0b0386 Source-Link: https://github.com/googleapis/synthtool/commit/27e0e916cbfdb3d5ff6639b686cc04f78a0b0386 * build(java): auto-approve README regeneration Source-Author: Jeff Ching Source-Date: Thu Oct 15 16:04:06 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1 Source-Link: https://github.com/googleapis/synthtool/commit/7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1 --- .../.github/workflows/approve-readme.yaml | 54 +++++++++++++++++++ .../.github/workflows/formatting.yaml | 25 +++++++++ java-shared-dependencies/.kokoro/build.sh | 11 +++- java-shared-dependencies/synth.metadata | 6 ++- 4 files changed, 92 insertions(+), 4 deletions(-) create mode 100644 java-shared-dependencies/.github/workflows/approve-readme.yaml create mode 100644 java-shared-dependencies/.github/workflows/formatting.yaml diff --git a/java-shared-dependencies/.github/workflows/approve-readme.yaml b/java-shared-dependencies/.github/workflows/approve-readme.yaml new file mode 100644 index 000000000000..e2d841d6c5a0 --- /dev/null +++ b/java-shared-dependencies/.github/workflows/approve-readme.yaml @@ -0,0 +1,54 @@ +on: + pull_request: +name: auto-merge-readme +jobs: + approve: + runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} + script: | + // only approve PRs from yoshi-automation + if (context.payload.pull_request.user.login !== "yoshi-automation") { + return; + } + + // only approve PRs like "chore: release " + if (!context.payload.pull_request.title === "chore: regenerate README") { + return; + } + + // only approve PRs with README.md and synth.metadata changes + const files = new Set( + ( + await github.paginate( + github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }) + ) + ).map(file => file.filename) + ); + if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { + return; + } + + // approve README regeneration PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped PR!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach automerge label + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['automerge'] + }); diff --git a/java-shared-dependencies/.github/workflows/formatting.yaml b/java-shared-dependencies/.github/workflows/formatting.yaml new file mode 100644 index 000000000000..d4d367cfce03 --- /dev/null +++ b/java-shared-dependencies/.github/workflows/formatting.yaml @@ -0,0 +1,25 @@ +on: + pull_request_target: + types: [opened, synchronize] + branches: + - master +name: format +jobs: + format-code: + runs-on: ubuntu-latest + env: + ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + steps: + - uses: actions/checkout@v2 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: "mvn com.coveo:fmt-maven-plugin:format" + - uses: googleapis/code-suggester@v1.8.0 + with: + command: review + pull_number: ${{ github.event.pull_request.number }} + git_dir: '.' diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index b80c96804466..73ba3d82faa3 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -69,9 +69,16 @@ integration) RETURN_CODE=$? ;; samples) - if [[ -f samples/pom.xml ]] + SAMPLES_DIR=samples + # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. + if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] then - pushd samples + SAMPLES_DIR=samples/snapshot + fi + + if [[ -f ${SAMPLES_DIR}/pom.xml ]] + then + pushd {SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index b50ac72df393..e9c06436f8a2 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "8fef296c1db88cc3dc5f50ef21ae8015f4c5883f" + "sha": "1cfb2ae542c93257f0d1b58f2dc9fed22fdfb9f8" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" + "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" } } ], @@ -23,8 +23,10 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/readme/synth.py", ".github/trusted-contribution.yml", + ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", + ".github/workflows/formatting.yaml", ".kokoro/build.bat", ".kokoro/build.sh", ".kokoro/coerce_logs.sh", From 42cc6177c9e4734b2a468f30b4fb6e9f2c5f27c3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 00:21:40 +0200 Subject: [PATCH 1086/3036] deps: update gax.version to v1.60.0 (#187) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 64a40d330729..e2aefe5a3e5f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.32.2 - 1.59.1 + 1.60.0 29.0-android 3.13.0 1.10.1 From ae3a25f7b11ba1bf298808356d0ba1affe5b00e4 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 19 Oct 2020 15:30:04 -0700 Subject: [PATCH 1087/3036] ci: run downstream client library dependency tests (#183) This should detect if the current version of shared-dependencies, if released as-is, would cause a sampling of downstream client libraries to fail dependency checks. Fixes #177 --- .../.github/workflows/downstream.yaml | 26 ++++++++ .../.kokoro/client-library-check.sh | 65 +++++++++++++++++++ .../presubmit/client-library-check.cfg | 12 ++++ 3 files changed, 103 insertions(+) create mode 100644 java-shared-dependencies/.github/workflows/downstream.yaml create mode 100755 java-shared-dependencies/.kokoro/client-library-check.sh create mode 100644 java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml new file mode 100644 index 000000000000..c103f0f3e033 --- /dev/null +++ b/java-shared-dependencies/.github/workflows/downstream.yaml @@ -0,0 +1,26 @@ +on: + push: + branches: + - master + pull_request: +name: downstream +jobs: + dependencies: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + java: [8, 11] + repo: + - java-bigquery + - java-bigqueryconnection + - java-spanner + - java-storage + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: sudo apt-get install libxml2-utils + - run: .kokoro/client-library-check.sh ${{matrix.repo}} diff --git a/java-shared-dependencies/.kokoro/client-library-check.sh b/java-shared-dependencies/.kokoro/client-library-check.sh new file mode 100755 index 000000000000..0a296b03ccef --- /dev/null +++ b/java-shared-dependencies/.kokoro/client-library-check.sh @@ -0,0 +1,65 @@ +#!/bin/bash +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Presubmit to ensure the dependencies of the Google Libraries BOM, with the modification of change +# in the PR, pick up the highest versions among transitive dependencies. +# https://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html + +set -eo pipefail +# Display commands being run. +set -x + +if [[ $# -lt 1 ]]; +then + echo "Usage: $0 " + exit 1 +fi +REPO=$1 + +## Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# Make artifacts available for 'mvn validate' at the bottom +mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V -q + +# Read the current version of this BOM in the POM. Example version: '0.116.1-alpha-SNAPSHOT' +VERSION_POM=pom.xml +# Namespace (xmlns) prevents xmllint from specifying tag names in XPath +VERSION=`sed -e 's/xmlns=".*"//' ${VERSION_POM} | xmllint --xpath '/project/version/text()' -` + +if [ -z "${VERSION}" ]; then + echo "Version is not found in ${VERSION_POM}" + exit 1 +fi +echo "Version: ${VERSION}" + +# Check this BOM against a few java client libraries +# java-bigquery +git clone "https://github.com/googleapis/${REPO}.git" --depth=1 +pushd ${REPO} + +# replace version +xmllint --shell <(cat pom.xml) << EOF +setns x=http://maven.apache.org/POM/4.0.0 +cd .//x:artifactId[text()="google-cloud-shared-dependencies"] +cd ../x:version +set ${VERSION} +save pom.xml +EOF + +# run dependencies script +.kokoro/dependencies.sh diff --git a/java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg b/java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg new file mode 100644 index 000000000000..51efcf8dbb09 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg @@ -0,0 +1,12 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-shared-dependencies/.kokoro/client-library-check.sh" +} From 60f4baf0637c46a00b8a3eae586f2239ad211ad0 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 19 Oct 2020 15:38:04 -0700 Subject: [PATCH 1088/3036] chore(ci): make downstream dependency checks required (#188) --- .../.github/sync-repo-settings.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 6bddd18eac90..bac8c3832bab 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -38,6 +38,14 @@ branchProtectionRules: - "units (8)" - "units (11)" - "Kokoro - Test: Integration" + - "dependencies (8, java-bigquery)" + - "dependencies (8, java-bigqueryconnection)" + - "dependencies (8, java-spanner)" + - "dependencies (8, java-storage)" + - "dependencies (11, java-bigquery)" + - "dependencies (11, java-bigqueryconnection)" + - "dependencies (11, java-spanner)" + - "dependencies (11, java-storage)" - "cla/google" # List of explicit permissions to add (additive only) permissionRules: @@ -46,4 +54,4 @@ permissionRules: - team: yoshi-java-admins permission: admin - team: yoshi-java - permission: push \ No newline at end of file + permission: push From d1cac2e6038d48f24eea9e18fb063bc7945f4dc6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 01:32:48 +0200 Subject: [PATCH 1089/3036] test(deps): update dependency junit:junit to v4.13.1 (#296) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 61e79f1c7b89..852bbe556129 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -163,7 +163,7 @@ 0.24.0 1.3.2 29.0-android - 4.13 + 4.13.1 1.0.1 3.6 3.0.2 From 39fdd06a84a92c2d314c9de8b1baba0cd5b6589d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 01:33:16 +0200 Subject: [PATCH 1090/3036] deps: update core transport dependencies (#295) --- java-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 852bbe556129..9ef5544c5b8e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,8 +156,8 @@ 1.18.1 1.0.1 0.21.1 - 1.30.10 - 1.36.0 + 1.30.11 + 1.37.0 1.32.1 3.13.0 0.24.0 From 9286f761449ae51bd7ae4fe84494f9b987a45623 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 01:33:50 +0200 Subject: [PATCH 1091/3036] deps: update dependency org.threeten:threetenbp to v1.4.5 (#297) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9ef5544c5b8e..1c0c7504502a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.0.1 3.6 3.0.2 - 1.4.4 + 1.4.5 2.6 2.4.0 2.8.6 From f683f09194dcb0f5ad19063d1acd295deda47515 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 01:41:02 +0200 Subject: [PATCH 1092/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.3 (#300) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index efeda38bed73..b5ffc18ff54b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.2 + 0.9.3 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 1c0c7504502a..82c072920abf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.2 + 0.9.3 From 5f6b784ad94b71553d339e3450b17f70dd307e6d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 01:48:06 +0200 Subject: [PATCH 1093/3036] deps: update core dependencies (#294) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | patch | `1.32.1` -> `1.32.2` | | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | minor | `0.21.1` -> `0.22.0` | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | minor | `1.58.2` -> `1.60.0` | --- ### Release Notes
    grpc/grpc-java ### [`v1.32.2`](https://togithub.com/grpc/grpc-java/releases/v1.32.2) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.32.1...v1.32.2) ##### Bug Fixes - netty: TCP close during TLS handshake should be UNAVAILABLE, not UNKNOWN - netty: BDP ping accounting should occur after flow control. This resolves an incompatibility issue introduced in v1.30.0 and could be worked around via `GRPC_EXPERIMENTAL_AUTOFLOWCONTROL=false` introduced later. The symptom was a GOAWAY with “too_many_pings” without an aggressive keepalive configured. The environment variable is still available, but will be removed in the future - alts: Reverted workaround for Conscrypt cipher performance. Conscrypt 2.5.0 has significantly improved performance and the workaround now decreases performance. Note that grpc-alts itself still depends on Conscrypt 2.2.1 to remain stable for this bug fix release, but users are encouraged to use newer a version of Conscrypt. The gains from Conscrypt 2.5.0 are significantly greater than what the workaround provided
    googleapis/google-auth-library-java ### [`v0.22.0`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0220-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0211v0220-2020-10-13) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.21.1...v0.22.0) ##### Features - add logging at FINE level for each step of ADC ([#​435](https://www.github.com/googleapis/google-auth-library-java/issues/435)) ([7d145b2](https://www.github.com/googleapis/google-auth-library-java/commit/7d145b2371033093ea13fd05520c90970a5ef363)) ##### Documentation - remove bad javadoc tags ([#​478](https://www.github.com/googleapis/google-auth-library-java/issues/478)) ([a329c41](https://www.github.com/googleapis/google-auth-library-java/commit/a329c4171735c3d4ee574978e6c3742b96c01f74)) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#​486](https://www.github.com/googleapis/google-auth-library-java/issues/486)) ([3027fbf](https://www.github.com/googleapis/google-auth-library-java/commit/3027fbfaf017f5aa5a22cc51cd38a522597729c0)) ##### [0.21.1](https://www.github.com/googleapis/google-auth-library-java/compare/v0.21.0...v0.21.1) (2020-07-07) ##### Dependencies - update google-http-client to 1.36.0 ([#​447](https://www.github.com/googleapis/google-auth-library-java/issues/447)) ([b913d19](https://www.github.com/googleapis/google-auth-library-java/commit/b913d194259e4f93bb401a844480f56b48dad3bd)), closes [#​446](https://www.github.com/googleapis/google-auth-library-java/issues/446)
    googleapis/gax-java ### [`v1.60.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1600-httpswwwgithubcomgoogleapisgax-javacomparev1591v1600-2020-10-19) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.59.1...v1.60.0) ##### Features - REST Gapic (REGAPIC) Support ([#​1177](https://www.github.com/googleapis/gax-java/issues/1177)) ([12b18ee](https://www.github.com/googleapis/gax-java/commit/12b18ee255d3fabe13bb3969df40753b29f830d5)) ##### Bug Fixes - prevent npe caused by missing parentheses ([#​1198](https://www.github.com/googleapis/gax-java/issues/1198)) ([b856351](https://www.github.com/googleapis/gax-java/commit/b85635123f987f9808086f14a58dd8c7418a3bd8)) ##### Dependencies - upgrade grpc to 1.32.2 ([#​1212](https://www.github.com/googleapis/gax-java/issues/1212)) ([03c4c0f](https://www.github.com/googleapis/gax-java/commit/03c4c0f621f439c30752122568d2a9a7703e5e16)) ##### [1.59.1](https://www.github.com/googleapis/gax-java/compare/v1.59.0...v1.59.1) (2020-10-05) ##### Bug Fixes - Fix race condition in BatcherImpl flush ([#​1200](https://www.github.com/googleapis/gax-java/issues/1200)) ([c6308c9](https://www.github.com/googleapis/gax-java/commit/c6308c906171ce05765ccacb716aa7162d95d9a2)) - update owners file with actools-java ([#​1194](https://www.github.com/googleapis/gax-java/issues/1194)) ([9977dd2](https://www.github.com/googleapis/gax-java/commit/9977dd2564ff6919fc6a6b658eb69b5ea8a66520)) ### [`v1.59.1`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1591-httpswwwgithubcomgoogleapisgax-javacomparev1590v1591-2020-10-05) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.59.0...v1.59.1) ### [`v1.59.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1590-httpswwwgithubcomgoogleapisgax-javacomparev1583v1590-2020-09-28) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.58.3...v1.59.0) ##### Features - Allow user-agents to be specified by both internal headers and user headers ([#​1190](https://www.github.com/googleapis/gax-java/issues/1190)) ([266329e](https://www.github.com/googleapis/gax-java/commit/266329e89642bfc6be579e600d3f995f4416ae4e)), closes [/github.com/googleapis/java-bigtable/pull/404#pullrequestreview-480972135](https://www.github.com/googleapis//github.com/googleapis/java-bigtable/pull/404/issues/pullrequestreview-480972135) ##### Bug Fixes - truncate RPC timeouts to time remaining in totalTimeout ([#​1191](https://www.github.com/googleapis/gax-java/issues/1191)) ([1d0c940](https://www.github.com/googleapis/gax-java/commit/1d0c94061bab124be81a649ac3fa1ce5d9a2df23)) ##### Dependencies - update guava to 29.0-android ([#​1174](https://www.github.com/googleapis/gax-java/issues/1174)) ([287cada](https://www.github.com/googleapis/gax-java/commit/287cadae528549545da9e7e9d63fd70c1268e3c1)), closes [#​1151](https://www.github.com/googleapis/gax-java/issues/1151) ##### [1.58.3](https://www.github.com/googleapis/gax-java/compare/v1.58.2...v1.58.3) (2020-09-15) ##### Bug Fixes - [gax-java] Add speedy Bazel builds to Travis ([#​1181](https://www.github.com/googleapis/gax-java/issues/1181)) ([2fb85fe](https://www.github.com/googleapis/gax-java/commit/2fb85fed095c6043ee39b63a0f7dff3fd93cbd7b)) - [gax-java] add Vim files to .gitignore ([#​1179](https://www.github.com/googleapis/gax-java/issues/1179)) ([2de22b6](https://www.github.com/googleapis/gax-java/commit/2de22b6645fbfd7ada7d0067e5cdd3c2039ec190)) - [gax-java] Fix broken Bazel build ([#​1180](https://www.github.com/googleapis/gax-java/issues/1180)) ([834c05e](https://www.github.com/googleapis/gax-java/commit/834c05e1d35a17f90bf8cd1b2cdce40bea451c95)) ##### [1.58.2](https://www.github.com/googleapis/gax-java/compare/v1.58.1...v1.58.2) (2020-08-07) ##### Bug Fixes - Settings objects should not try to read quotaProjectId from credentials ([#​1162](https://www.github.com/googleapis/gax-java/issues/1162)) ([1b09bcf](https://www.github.com/googleapis/gax-java/commit/1b09bcff1ddfaed8cfa58b92c787f8fc9b08abef)) ##### [1.58.1](https://www.github.com/googleapis/gax-java/compare/v1.58.0...v1.58.1) (2020-08-06) ##### Bug Fixes - fix dependencies.properties resource file creation during deployment ([#​1163](https://www.github.com/googleapis/gax-java/issues/1163)) ([3e7e1f1](https://www.github.com/googleapis/gax-java/commit/3e7e1f1e64bdeb23a51b5155faea975beec0bc84)) - Watchdog.shutdownNow() does not shutdown executor ([#​1158](https://www.github.com/googleapis/gax-java/issues/1158)) ([6241a21](https://www.github.com/googleapis/gax-java/commit/6241a2118690d07dd28ffb9447423363f3f914e4)) ### [`v1.58.3`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1583-httpswwwgithubcomgoogleapisgax-javacomparev1582v1583-2020-09-15) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.58.2...v1.58.3)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/config-help/issues) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 82c072920abf..0151a4dc3182 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,14 +151,14 @@ UTF-8 github google-cloud-core-parent - 1.58.2 + 1.60.0 1.10.0 1.18.1 1.0.1 - 0.21.1 + 0.22.0 1.30.11 1.37.0 - 1.32.1 + 1.32.2 3.13.0 0.24.0 1.3.2 From 01d7db195c9f27c0fc163b639bfc2feaa446cdb2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Oct 2020 08:32:56 -0700 Subject: [PATCH 1094/3036] build(java): enable snippet-bot (#189) Source-Author: Jeff Ching Source-Date: Mon Oct 19 16:13:57 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 5a506ec8765cc04f7e29f888b8e9b257d9a7ae11 Source-Link: https://github.com/googleapis/synthtool/commit/5a506ec8765cc04f7e29f888b8e9b257d9a7ae11 --- java-shared-dependencies/.github/snippet-bot.yml | 0 java-shared-dependencies/synth.metadata | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 java-shared-dependencies/.github/snippet-bot.yml diff --git a/java-shared-dependencies/.github/snippet-bot.yml b/java-shared-dependencies/.github/snippet-bot.yml new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index e9c06436f8a2..bb7af0098799 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "1cfb2ae542c93257f0d1b58f2dc9fed22fdfb9f8" + "sha": "ce7c571dee5350d3bb01838c0d76677551d7a658" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" + "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" } } ], @@ -22,6 +22,7 @@ ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", ".github/readme/synth.py", + ".github/snippet-bot.yml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", From 3d93ff4144cbc6d7ca46f41d2e4c41cd9cb93df1 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Tue, 20 Oct 2020 12:24:07 -0400 Subject: [PATCH 1095/3036] feat: add jackson-core to the list of managed dependencies (#190) * feat: add jackson-core to the list of managed dependencies * import jackson-bom instead * import it as a BOM --- java-shared-dependencies/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e2aefe5a3e5f..0fc2beba4454 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -73,6 +73,7 @@ 0.24.0 3.0.2 2.4.0 + 2.11.3
    @@ -184,6 +185,13 @@ error_prone_annotations ${errorprone.version} + + com.fasterxml.jackson + jackson-bom + ${jackson.version} + pom + import + From 7836cd5f6281ba892c19f372841ba010a01723b3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Oct 2020 18:40:50 +0200 Subject: [PATCH 1096/3036] deps: update dependency com.google.guava:guava-bom to v30 (#181) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0fc2beba4454..1b7b9bc3c64a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -57,7 +57,7 @@ 1.32.2 1.60.0 - 29.0-android + 30.0-android 3.13.0 1.10.1 2.0.0 From 53ef01887730d6d2c519a0d41e5c22a7017ef235 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2020 17:48:02 +0000 Subject: [PATCH 1097/3036] chore: release 0.13.0 (#191) :robot: I have created a release \*beep\* \*boop\* --- ## [0.13.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.1...v0.13.0) (2020-10-20) ### Features * add jackson-core to the list of managed dependencies ([#190](https://www.github.com/googleapis/java-shared-dependencies/issues/190)) ([3d93ff4](https://www.github.com/googleapis/java-shared-dependencies/commit/3d93ff4144cbc6d7ca46f41d2e4c41cd9cb93df1)) ### Dependencies * update dependency com.google.guava:guava-bom to v30 ([#181](https://www.github.com/googleapis/java-shared-dependencies/issues/181)) ([7836cd5](https://www.github.com/googleapis/java-shared-dependencies/commit/7836cd5f6281ba892c19f372841ba010a01723b3)) * update gax.version to v1.60.0 ([#187](https://www.github.com/googleapis/java-shared-dependencies/issues/187)) ([42cc617](https://www.github.com/googleapis/java-shared-dependencies/commit/42cc6177c9e4734b2a468f30b4fb6e9f2c5f27c3)) * update google.common-protos.version to v2 ([#174](https://www.github.com/googleapis/java-shared-dependencies/issues/174)) ([a48a223](https://www.github.com/googleapis/java-shared-dependencies/commit/a48a2234ec01d72a63ff007c7cf1274bb1b823cb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 14 ++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 46e600f1c21c..68ce23376a0a 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [0.13.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.1...v0.13.0) (2020-10-20) + + +### Features + +* add jackson-core to the list of managed dependencies ([#190](https://www.github.com/googleapis/java-shared-dependencies/issues/190)) ([b37035e](https://www.github.com/googleapis/java-shared-dependencies/commit/b37035ed9b0beeb5e07d6e1c121154eece1a2c87)) + + +### Dependencies + +* update dependency com.google.guava:guava-bom to v30 ([#181](https://www.github.com/googleapis/java-shared-dependencies/issues/181)) ([bdb1e58](https://www.github.com/googleapis/java-shared-dependencies/commit/bdb1e582288d06a872e36ac8b778563f2d088468)) +* update gax.version to v1.60.0 ([#187](https://www.github.com/googleapis/java-shared-dependencies/issues/187)) ([8a8adf7](https://www.github.com/googleapis/java-shared-dependencies/commit/8a8adf7745d563c449bf095aad63b5e4a94e1a7d)) +* update google.common-protos.version to v2 ([#174](https://www.github.com/googleapis/java-shared-dependencies/issues/174)) ([3f7e3ff](https://www.github.com/googleapis/java-shared-dependencies/commit/3f7e3ffd5e07d2f11f0aa981dae2bdf5381e429f)) + ### [0.12.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.0...v0.12.1) (2020-10-16) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 4cf0b9f83f52..340ed28b4741 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.12.1 + 0.13.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1b7b9bc3c64a..fe4331ca8ee8 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 - 0.12.2-SNAPSHOT + 0.13.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index e07f40230415..933130352026 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.12.1:0.12.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.13.0:0.13.0 \ No newline at end of file From 044c694b02e4275da9f9f91a6f47e0a3d26f66ac Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Oct 2020 15:44:37 -0700 Subject: [PATCH 1098/3036] build(java): enable snippet-bot (#50) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/17625288-07f5-45fa-aa45-74322aa746c7/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5a506ec8765cc04f7e29f888b8e9b257d9a7ae11 --- java-iam/.github/snippet-bot.yml | 0 java-iam/synth.metadata | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 java-iam/.github/snippet-bot.yml diff --git a/java-iam/.github/snippet-bot.yml b/java-iam/.github/snippet-bot.yml new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index b2977e18aacd..02fe94b11b82 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "0fffc6539233238ea74126ef05fc4fe1fcd2321a" + "sha": "b28f028ed447de9ab138e937033579c5b65e8553" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" + "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" } } ], @@ -31,6 +31,7 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/readme/synth.py", ".github/release-please.yml", + ".github/snippet-bot.yml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", From 7c276663f4fbbd03eb43939235897e3468f79f07 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Oct 2020 15:46:20 -0700 Subject: [PATCH 1099/3036] build(java): enable snippet-bot (#305) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8e612041-fee6-48c6-a4b4-cd4a514d71be/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5a506ec8765cc04f7e29f888b8e9b257d9a7ae11 --- java-core/.github/snippet-bot.yml | 0 java-core/synth.metadata | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/snippet-bot.yml diff --git a/java-core/.github/snippet-bot.yml b/java-core/.github/snippet-bot.yml new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2f5e507cc7b9..95b5fbf37c26 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "56f9d86d60228e72f56060262c3366a6220ee206" + "sha": "dcb6a6767d245ac134a1985c450c7ce5a2f2ee29" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" + "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" } } ], @@ -23,6 +23,7 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/readme/synth.py", ".github/release-please.yml", + ".github/snippet-bot.yml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", From b0e4450966d2ed0ad5b0e4e436aec51cc3ddf64e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 21 Oct 2020 11:16:14 -0700 Subject: [PATCH 1100/3036] chore: clean up and update renovate.json (#308) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fd91270a-eeaf-451b-975d-e31cdfff3bd1/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/6abb59097be84599a1d6091fe534a49e5c5cf948 --- java-core/renovate.json | 30 +++++++++++------------------- java-core/synth.metadata | 4 ++-- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/java-core/renovate.json b/java-core/renovate.json index 94bb6aedaf6b..d4cc30319de7 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -17,24 +17,6 @@ ], "versionScheme": "docker" }, - { - "packagePatterns": [ - "^com.google.api:gax", - "^com.google.auth:", - "^com.google.cloud:google-cloud-core", - "^io.grpc:", - "^com.google.guava:" - ], - "groupName": "core dependencies" - }, - { - "packagePatterns": [ - "^com.google.http-client:", - "^com.google.oauth-client:", - "^com.google.api-client:" - ], - "groupName": "core transport dependencies" - }, { "packagePatterns": [ "*" @@ -63,6 +45,16 @@ "semanticCommitType": "chore", "semanticCommitScope": "deps" }, + { + "packagePatterns": [ + "^junit:junit", + "^com.google.truth:truth", + "^org.mockito:mockito-core", + "^org.objenesis:objenesis" + ], + "semanticCommitType": "test", + "semanticCommitScope": "deps" + }, { "packagePatterns": [ "^com.google.cloud:google-cloud-" @@ -78,4 +70,4 @@ ], "semanticCommits": true, "masterIssue": true -} \ No newline at end of file +} diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 95b5fbf37c26..47510e5f0b2d 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "dcb6a6767d245ac134a1985c450c7ce5a2f2ee29" + "sha": "8ab307a4d515bf131fea2749a0dcac52e51ecdcc" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" + "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" } } ], From fea2b783dd5c1dc1330c90b08997b167be83a881 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 21 Oct 2020 11:16:34 -0700 Subject: [PATCH 1101/3036] chore: clean up and update renovate.json (#51) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8f6f252c-4a94-4ce3-9325-e25ac93fef21/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/6abb59097be84599a1d6091fe534a49e5c5cf948 --- java-iam/renovate.json | 30 +++++++++++------------------- java-iam/synth.metadata | 4 ++-- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/java-iam/renovate.json b/java-iam/renovate.json index 083391a3a53c..64f22fbaeb9b 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -17,24 +17,6 @@ ], "versionScheme": "docker" }, - { - "packagePatterns": [ - "^com.google.api:gax", - "^com.google.auth:", - "^com.google.cloud:google-cloud-core", - "^io.grpc:", - "^com.google.guava:" - ], - "groupName": "core dependencies" - }, - { - "packagePatterns": [ - "^com.google.http-client:", - "^com.google.oauth-client:", - "^com.google.api-client:" - ], - "groupName": "core transport dependencies" - }, { "packagePatterns": [ "*" @@ -63,6 +45,16 @@ "semanticCommitType": "chore", "semanticCommitScope": "deps" }, + { + "packagePatterns": [ + "^junit:junit", + "^com.google.truth:truth", + "^org.mockito:mockito-core", + "^org.objenesis:objenesis" + ], + "semanticCommitType": "test", + "semanticCommitScope": "deps" + }, { "packagePatterns": [ "^com.google.cloud:google-cloud-" @@ -78,4 +70,4 @@ ], "semanticCommits": true, "masterIssue": true -} \ No newline at end of file +} diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 02fe94b11b82..ea1d72b35442 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "b28f028ed447de9ab138e937033579c5b65e8553" + "sha": "a3dc6816bfd8486b48b3ee9a272635cbe1b646b7" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" + "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" } } ], From c6749286139307b34b8e86dff15c9868e1a50acb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 18:06:06 +0200 Subject: [PATCH 1102/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 (#53) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.9.0` -> `0.13.0` | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.13.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0130-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0121v0130-2020-10-20) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.12.1...v0.13.0) ##### Features - add jackson-core to the list of managed dependencies ([#​190](https://www.github.com/googleapis/java-shared-dependencies/issues/190)) ([b37035e](https://www.github.com/googleapis/java-shared-dependencies/commit/b37035ed9b0beeb5e07d6e1c121154eece1a2c87)) ##### Dependencies - update dependency com.google.guava:guava-bom to v30 ([#​181](https://www.github.com/googleapis/java-shared-dependencies/issues/181)) ([bdb1e58](https://www.github.com/googleapis/java-shared-dependencies/commit/bdb1e582288d06a872e36ac8b778563f2d088468)) - update gax.version to v1.60.0 ([#​187](https://www.github.com/googleapis/java-shared-dependencies/issues/187)) ([8a8adf7](https://www.github.com/googleapis/java-shared-dependencies/commit/8a8adf7745d563c449bf095aad63b5e4a94e1a7d)) - update google.common-protos.version to v2 ([#​174](https://www.github.com/googleapis/java-shared-dependencies/issues/174)) ([3f7e3ff](https://www.github.com/googleapis/java-shared-dependencies/commit/3f7e3ffd5e07d2f11f0aa981dae2bdf5381e429f)) ##### [0.12.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.0...v0.12.1) (2020-10-16) ##### Dependencies - update dependency com.google.api:api-common to v1.10.1 ([#​180](https://www.github.com/googleapis/java-shared-dependencies/issues/180)) ([b1f2d5d](https://www.github.com/googleapis/java-shared-dependencies/commit/b1f2d5dfde24fcf683eeb5600fce7f51190ecce8)) ### [`v0.12.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0121-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0120v0121-2020-10-16) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.12.0...v0.12.1) ### [`v0.12.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0120-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0110v0120-2020-10-15) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.11.0...v0.12.0) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#​169](https://www.github.com/googleapis/java-shared-dependencies/issues/169)) ([a1b18d1](https://www.github.com/googleapis/java-shared-dependencies/commit/a1b18d1838c2ceca882615d574ab5d0245794820)) - update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#​171](https://www.github.com/googleapis/java-shared-dependencies/issues/171)) ([0c7635a](https://www.github.com/googleapis/java-shared-dependencies/commit/0c7635a82d922971ae6aac18dc2ee1879e017516)) ### [`v0.11.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0110-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0102v0110-2020-10-13) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.10.2...v0.11.0) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#​166](https://www.github.com/googleapis/java-shared-dependencies/issues/166)) ([5721225](https://www.github.com/googleapis/java-shared-dependencies/commit/572122574ce8452b6a0fc6df919e9ce2d8ffd2ce)) - update dependency io.grpc:grpc-bom to v1.32.2 ([#​165](https://www.github.com/googleapis/java-shared-dependencies/issues/165)) ([b70ddb0](https://www.github.com/googleapis/java-shared-dependencies/commit/b70ddb00a3be97536cdd80bd57fe6bca1b0973e2)) ##### [0.10.2](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.1...v0.10.2) (2020-10-08) ##### Dependencies - update dependency org.threeten:threetenbp to v1.4.5 ([#​162](https://www.github.com/googleapis/java-shared-dependencies/issues/162)) ([54eccb5](https://www.github.com/googleapis/java-shared-dependencies/commit/54eccb533353ddfe537a7e069a696a3f0f70f211)) ##### [0.10.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.0...v0.10.1) (2020-10-06) ##### Dependencies - update gax.version to v1.59.1 ([#​159](https://www.github.com/googleapis/java-shared-dependencies/issues/159)) ([7c84443](https://www.github.com/googleapis/java-shared-dependencies/commit/7c84443db92e1d910590fa89c2e35b14613e7eba)) ### [`v0.10.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0102-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0101v0102-2020-10-08) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.10.1...v0.10.2) ### [`v0.10.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0101-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0100v0101-2020-10-06) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.10.0...v0.10.1) ### [`v0.10.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0100-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare091v0100-2020-09-23) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.9.1...v0.10.0) ##### Features - manage error-prone version ([#​147](https://www.github.com/googleapis/java-shared-dependencies/issues/147)) ([0fb3108](https://www.github.com/googleapis/java-shared-dependencies/commit/0fb3108c96abcdef83b5051e842530e6c9934c37)) ##### Dependencies - update google.core.version to v1.93.9 ([#​148](https://www.github.com/googleapis/java-shared-dependencies/issues/148)) ([b2a680e](https://www.github.com/googleapis/java-shared-dependencies/commit/b2a680ec9297136dceb622463672cc554359ba5b)) ##### [0.9.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.0...v0.9.1) (2020-09-23) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.32.1 ([#​133](https://www.github.com/googleapis/java-shared-dependencies/issues/133)) ([cde0463](https://www.github.com/googleapis/java-shared-dependencies/commit/cde0463dd15c2a510085a3d5e3ac7b418c2fc3d4)) - update iam.version to v1.0.1 ([#​136](https://www.github.com/googleapis/java-shared-dependencies/issues/136)) ([162e2bd](https://www.github.com/googleapis/java-shared-dependencies/commit/162e2bda35fc3427ce571c6747aae4c9eb5866f6)) ### [`v0.9.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​091-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare090v091-2020-09-23) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.9.0...v0.9.1)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 701f5f9f6b9a..a7d69621ac3f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.9.0 + 0.13.0 pom import From 5a0f4f1e148b5b403d937774085bcc28b2e4473f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2020 16:18:08 +0000 Subject: [PATCH 1103/3036] chore: release 1.0.2 (#55) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.2](https://www.github.com/googleapis/java-iam/compare/v1.0.1...v1.0.2) (2020-10-22) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#53](https://www.github.com/googleapis/java-iam/issues/53)) ([c674928](https://www.github.com/googleapis/java-iam/commit/c6749286139307b34b8e86dff15c9868e1a50acb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index b79ec3c28495..7547bcea515a 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.2](https://www.github.com/googleapis/java-iam/compare/v1.0.1...v1.0.2) (2020-10-22) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#53](https://www.github.com/googleapis/java-iam/issues/53)) ([9aeabf1](https://www.github.com/googleapis/java-iam/commit/9aeabf1e63d4b020345a35df75c38151b217775f)) + ### [1.0.1](https://www.github.com/googleapis/java-iam/compare/v1.0.0...v1.0.1) (2020-09-21) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 485044e7a996..3dfb41d6214f 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.0.2-SNAPSHOT + 1.0.2 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.2-SNAPSHOT + 1.0.2 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a7d69621ac3f..1c98c622605f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.2-SNAPSHOT + 1.0.2 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.2-SNAPSHOT + 1.0.2 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 4d0cc548f76e..463682b51a5e 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.2-SNAPSHOT + 1.0.2 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.2-SNAPSHOT + 1.0.2 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 3fe8deb2f940..acb7687e6c97 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.1:1.0.2-SNAPSHOT +proto-google-iam-v1:1.0.2:1.0.2 From 3dbd1ffea4c0036159cd1f7863e1284f014bd685 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 18:24:07 +0200 Subject: [PATCH 1104/3036] test(deps): update dependency junit:junit to v4.13.1 (#54) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [junit:junit](http://junit.org) ([source](https://togithub.com/junit-team/junit4)) | patch | `4.13` -> `4.13.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1c98c622605f..78cc42df49d1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -83,7 +83,7 @@ junit junit - 4.13 + 4.13.1 test From 84e8b9a5956f7574156994992c5460e673293f7d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2020 08:08:02 +0000 Subject: [PATCH 1105/3036] chore: release 1.0.3-SNAPSHOT (#57) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 3dfb41d6214f..05167262a9b3 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.0.2 + 1.0.3-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.2 + 1.0.3-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 78cc42df49d1..78ce25b2012f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.2 + 1.0.3-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.2 + 1.0.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 463682b51a5e..780d603d861e 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.2 + 1.0.3-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.2 + 1.0.3-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index acb7687e6c97..c9be4bf5dbb9 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.2:1.0.2 +proto-google-iam-v1:1.0.2:1.0.3-SNAPSHOT From 09abb516aa504e29e2cc624ed8af7bdb826540f4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 26 Oct 2020 12:59:35 +0100 Subject: [PATCH 1106/3036] deps: update dependency org.threeten:threetenbp to v1.5.0 (#196) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index fe4331ca8ee8..4180c32b36c5 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.37.0 1.30.11 2.8.6 - 1.4.5 + 1.5.0 1.3.2 1.19 1.0.1 From 805b8ff662b046b44e0ffbc33a2e522c6a631567 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 26 Oct 2020 12:59:54 +0100 Subject: [PATCH 1107/3036] deps: update iam.version to v1.0.2 (#194) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4180c32b36c5..71c289fceee0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.19 - 1.0.1 + 1.0.2 0.24.0 3.0.2 2.4.0 From 45eb7f54267f4e6d0986d9c01906670a9c2fce2a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2020 12:06:03 +0000 Subject: [PATCH 1108/3036] chore: release 0.13.1-SNAPSHOT (#197) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 71c289fceee0..97b642d85c49 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 - 0.13.0 + 0.13.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 933130352026..f0b42f22bedc 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.13.0:0.13.0 \ No newline at end of file +google-cloud-shared-dependencies:0.13.0:0.13.1-SNAPSHOT \ No newline at end of file From 601844762a0a7eac0fbdb38b9139ec3012e66993 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 26 Oct 2020 16:52:43 -0700 Subject: [PATCH 1109/3036] chore: regenerate common templates (#313) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8bb66718-6c73-48bc-9fe4-75dc94d1a47a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5f6ef0ec5501d33c4667885b37a7685a30d41a76 Source-Link: https://github.com/googleapis/synthtool/commit/9593c3b5b714cc9b17c445aee8834ac2b4b9348b --- java-core/.kokoro/release/publish_javadoc.sh | 2 +- java-core/CODE_OF_CONDUCT.md | 7 ++++--- java-core/synth.metadata | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index 2ab8a64aeb75..b946fb091d4a 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -62,7 +62,7 @@ popd # V2 mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" -pushd target/devsite +pushd target/devsite/reference # create metadata python3 -m docuploader create-metadata \ diff --git a/java-core/CODE_OF_CONDUCT.md b/java-core/CODE_OF_CONDUCT.md index 6b2238bb75e0..2add2547a812 100644 --- a/java-core/CODE_OF_CONDUCT.md +++ b/java-core/CODE_OF_CONDUCT.md @@ -1,3 +1,4 @@ + # Code of Conduct ## Our Pledge @@ -69,12 +70,12 @@ dispute. If you are unable to resolve the matter for any reason, or if the behavior is threatening or harassing, report it. We are dedicated to providing an environment where participants feel welcome and safe. -Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the -Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +Reports should be directed to *googleapis-stewards@google.com*, the +Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to receive and address reported violations of the code of conduct. They will then work with a committee consisting of representatives from the Open Source Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out the Project Steward, please email +are uncomfortable reaching out to the Project Steward, please email opensource@google.com. We will investigate every complaint, but you may not receive a direct response. diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 47510e5f0b2d..6a44b8cb2921 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "8ab307a4d515bf131fea2749a0dcac52e51ecdcc" + "sha": "4718b256ecf15f13e1c4c1994c9cfa9dd785878b" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" + "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" } } ], From bac020fd87ebcd205873e9d332c0c3e7b406648e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 26 Oct 2020 16:52:47 -0700 Subject: [PATCH 1110/3036] chore: regenerate common templates (#56) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e25bfa15-66fc-4ebe-a894-2ee6803ed2f9/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5f6ef0ec5501d33c4667885b37a7685a30d41a76 Source-Link: https://github.com/googleapis/synthtool/commit/9593c3b5b714cc9b17c445aee8834ac2b4b9348b --- java-iam/.kokoro/release/publish_javadoc.sh | 2 +- java-iam/CODE_OF_CONDUCT.md | 7 ++++--- java-iam/synth.metadata | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index 86c9874a9e7c..01ca17840393 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -62,7 +62,7 @@ popd # V2 mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" -pushd target/devsite +pushd target/devsite/reference # create metadata python3 -m docuploader create-metadata \ diff --git a/java-iam/CODE_OF_CONDUCT.md b/java-iam/CODE_OF_CONDUCT.md index 6b2238bb75e0..2add2547a812 100644 --- a/java-iam/CODE_OF_CONDUCT.md +++ b/java-iam/CODE_OF_CONDUCT.md @@ -1,3 +1,4 @@ + # Code of Conduct ## Our Pledge @@ -69,12 +70,12 @@ dispute. If you are unable to resolve the matter for any reason, or if the behavior is threatening or harassing, report it. We are dedicated to providing an environment where participants feel welcome and safe. -Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the -Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +Reports should be directed to *googleapis-stewards@google.com*, the +Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to receive and address reported violations of the code of conduct. They will then work with a committee consisting of representatives from the Open Source Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out the Project Steward, please email +are uncomfortable reaching out to the Project Steward, please email opensource@google.com. We will investigate every complaint, but you may not receive a direct response. diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index ea1d72b35442..e23b01cc172e 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "a3dc6816bfd8486b48b3ee9a272635cbe1b646b7" + "sha": "1c36b269c02267471b42465b2f82fc0cdb85b61a" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" + "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" } } ], From 4e25cf31432d343ceb04aa4b2ea294cac79f8c6f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 27 Oct 2020 11:06:34 -0700 Subject: [PATCH 1111/3036] chore(ci): fix typo in restrict presubmit samples ITs to only snapshot (#58) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/30f4af51-7374-4b10-8f61-f22366fa0725/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f68649c5f26bcff6817c6d21e90dac0fc71fef8e --- java-iam/.kokoro/build.sh | 2 +- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 8877ea890210..d5c7a5043c0b 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -78,7 +78,7 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then - pushd {SAMPLES_DIR} + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index e23b01cc172e..c25f39afe8c9 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "1c36b269c02267471b42465b2f82fc0cdb85b61a" + "sha": "9ce0b4425f3f6693059749251d6d2f3cf982126b" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" + "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" } } ], From b9a45fa1871fa20134490a5ebf936a967189f334 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 27 Oct 2020 11:08:14 -0700 Subject: [PATCH 1112/3036] chore(ci): fix typo in restrict presubmit samples ITs to only snapshot (#315) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e1618cb3-d96b-427f-9c50-971f9f53c51f/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f68649c5f26bcff6817c6d21e90dac0fc71fef8e --- java-core/.kokoro/build.sh | 2 +- java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 6440060ba708..8229cb1edf19 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -78,7 +78,7 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then - pushd {SAMPLES_DIR} + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 6a44b8cb2921..d53a6fb1afaa 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "4718b256ecf15f13e1c4c1994c9cfa9dd785878b" + "sha": "970caceabab0499d98c335b9664b5cf95feea91a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" + "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" } } ], From 54d9b9047595e0f197f4f9defd38ad930940a8b2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Oct 2020 20:28:19 +0100 Subject: [PATCH 1113/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#316) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | patch | `0.9.3` -> `0.9.4` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.9.4`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​094-httpswwwgithubcomgoogleapisjava-shared-configcomparev093v094-2020-10-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.3...v0.9.4)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b5ffc18ff54b..b3cf76615f2f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 0151a4dc3182..68bcd792990f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 From e021cb0943b7b538df79941f98c46cbc53633959 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Oct 2020 17:53:45 +0100 Subject: [PATCH 1114/3036] deps: update dependency io.grpc:grpc-bom to v1.33.0 (#309) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 68bcd792990f..ea6ec1d55882 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.22.0 1.30.11 1.37.0 - 1.32.2 + 1.33.0 3.13.0 0.24.0 1.3.2 From 1026809177b3460a7170e13cb205b8505bde1ddb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Oct 2020 17:54:06 +0100 Subject: [PATCH 1115/3036] deps: update dependency com.google.guava:guava-bom to v30 (#310) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ea6ec1d55882..7ccf6df6257d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -162,7 +162,7 @@ 3.13.0 0.24.0 1.3.2 - 29.0-android + 30.0-android 4.13.1 1.0.1 3.6 From 35bcf4d3ff1f47295a466ff37685b7b526af2b1a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Oct 2020 17:54:24 +0100 Subject: [PATCH 1116/3036] deps: update dependency org.threeten:threetenbp to v1.5.0 (#314) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7ccf6df6257d..ac0a9d63678f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.0.1 3.6 3.0.2 - 1.4.5 + 1.5.0 2.6 2.4.0 2.8.6 From 2da98b16a9c017070215ceb108be717199e242c6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Oct 2020 20:25:01 +0100 Subject: [PATCH 1117/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#199) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 97b642d85c49..9e3d0e65db2d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 From 6ebd6b186dc99bc0a306e2b28150d84c6e6d8125 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Oct 2020 19:13:19 +0100 Subject: [PATCH 1118/3036] deps: update dependency com.google.api:api-common to v1.10.1 (#302) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ac0a9d63678f..8ca20ef65fd3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.60.0 - 1.10.0 + 1.10.1 1.18.1 1.0.1 0.22.0 From 4c212f417456aa33da954a5fc3025c0e76b52fe2 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Fri, 30 Oct 2020 12:24:52 -0400 Subject: [PATCH 1119/3036] test(deps): update dependency com.google.truth:truth to v1.1 (#318) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8ca20ef65fd3..8463408aa7d6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -164,7 +164,7 @@ 1.3.2 30.0-android 4.13.1 - 1.0.1 + 1.1 3.6 3.0.2 1.5.0 From e416c1cafdafac7165f986194a028096ff936993 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Oct 2020 17:25:54 +0100 Subject: [PATCH 1120/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.2 (#312) * deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.2 * bump google.common-protos.version to 2.0.0 Co-authored-by: Stephanie Wang --- java-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8463408aa7d6..a26f1dcba9ee 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,8 +153,8 @@ google-cloud-core-parent 1.60.0 1.10.1 - 1.18.1 - 1.0.1 + 2.0.0 + 1.0.2 0.22.0 1.30.11 1.37.0 From 6eecfdba32ef237c0991c5ad2ba57aec9a8fa147 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2020 16:32:03 +0000 Subject: [PATCH 1121/3036] chore: release 1.93.10 (#301) :robot: I have created a release \*beep\* \*boop\* --- ### [1.93.10](https://www.github.com/googleapis/java-core/compare/v1.93.9...v1.93.10) (2020-10-30) ### Dependencies * update core dependencies ([#294](https://www.github.com/googleapis/java-core/issues/294)) ([5f6b784](https://www.github.com/googleapis/java-core/commit/5f6b784ad94b71553d339e3450b17f70dd307e6d)) * update core transport dependencies ([#295](https://www.github.com/googleapis/java-core/issues/295)) ([39fdd06](https://www.github.com/googleapis/java-core/commit/39fdd06a84a92c2d314c9de8b1baba0cd5b6589d)) * update dependency com.google.api:api-common to v1.10.1 ([#302](https://www.github.com/googleapis/java-core/issues/302)) ([6ebd6b1](https://www.github.com/googleapis/java-core/commit/6ebd6b186dc99bc0a306e2b28150d84c6e6d8125)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.2 ([#312](https://www.github.com/googleapis/java-core/issues/312)) ([e416c1c](https://www.github.com/googleapis/java-core/commit/e416c1cafdafac7165f986194a028096ff936993)) * update dependency com.google.guava:guava-bom to v30 ([#310](https://www.github.com/googleapis/java-core/issues/310)) ([1026809](https://www.github.com/googleapis/java-core/commit/1026809177b3460a7170e13cb205b8505bde1ddb)) * update dependency io.grpc:grpc-bom to v1.33.0 ([#309](https://www.github.com/googleapis/java-core/issues/309)) ([e021cb0](https://www.github.com/googleapis/java-core/commit/e021cb0943b7b538df79941f98c46cbc53633959)) * update dependency org.threeten:threetenbp to v1.4.5 ([#297](https://www.github.com/googleapis/java-core/issues/297)) ([9286f76](https://www.github.com/googleapis/java-core/commit/9286f761449ae51bd7ae4fe84494f9b987a45623)) * update dependency org.threeten:threetenbp to v1.5.0 ([#314](https://www.github.com/googleapis/java-core/issues/314)) ([35bcf4d](https://www.github.com/googleapis/java-core/commit/35bcf4d3ff1f47295a466ff37685b7b526af2b1a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 14 ++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 26 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index fc762621a46e..4f0c4d3c8b2a 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +### [1.93.10](https://www.github.com/googleapis/java-core/compare/v1.93.9...v1.93.10) (2020-10-30) + + +### Dependencies + +* update core dependencies ([#294](https://www.github.com/googleapis/java-core/issues/294)) ([dcb6a67](https://www.github.com/googleapis/java-core/commit/dcb6a6767d245ac134a1985c450c7ce5a2f2ee29)) +* update core transport dependencies ([#295](https://www.github.com/googleapis/java-core/issues/295)) ([341c032](https://www.github.com/googleapis/java-core/commit/341c032e98c8aac1b6f82a2d026374eaa5cc4c3e)) +* update dependency com.google.api:api-common to v1.10.1 ([#302](https://www.github.com/googleapis/java-core/issues/302)) ([34260c0](https://www.github.com/googleapis/java-core/commit/34260c0befd0ff858c075cfd58da022a3d083ea9)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.2 ([#312](https://www.github.com/googleapis/java-core/issues/312)) ([16e375a](https://www.github.com/googleapis/java-core/commit/16e375abfb6d0bd41c42a785a3b7c19a2e71c483)) +* update dependency com.google.guava:guava-bom to v30 ([#310](https://www.github.com/googleapis/java-core/issues/310)) ([17962f8](https://www.github.com/googleapis/java-core/commit/17962f84301f6d630bc6cc85dcb5ebeb24d94561)) +* update dependency io.grpc:grpc-bom to v1.33.0 ([#309](https://www.github.com/googleapis/java-core/issues/309)) ([e9ac780](https://www.github.com/googleapis/java-core/commit/e9ac780d218928d78ba1fc225576dfe47d85bb8d)) +* update dependency org.threeten:threetenbp to v1.4.5 ([#297](https://www.github.com/googleapis/java-core/issues/297)) ([a0b878f](https://www.github.com/googleapis/java-core/commit/a0b878f8eeebb7e06efb6f8fc8e887d3ddb3e467)) +* update dependency org.threeten:threetenbp to v1.5.0 ([#314](https://www.github.com/googleapis/java-core/issues/314)) ([485b30f](https://www.github.com/googleapis/java-core/commit/485b30f47db8e18d153e6b27db9d39080aee285c)) + ### [1.93.9](https://www.github.com/googleapis/java-core/compare/v1.93.8...v1.93.9) (2020-09-23) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b3cf76615f2f..87b4f17a28ac 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.10-SNAPSHOT + 1.93.10 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.10-SNAPSHOT + 1.93.10 com.google.cloud google-cloud-core-grpc - 1.93.10-SNAPSHOT + 1.93.10 com.google.cloud google-cloud-core-http - 1.93.10-SNAPSHOT + 1.93.10
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b4d6fcf9c2ce..3e78e5212df5 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 - 1.93.10-SNAPSHOT + 1.93.10 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.10-SNAPSHOT + 1.93.10 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 a2c66b0ceeef..deda81a265f6 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 - 1.93.10-SNAPSHOT + 1.93.10 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.10-SNAPSHOT + 1.93.10 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 13593225dfe2..96d480ff48ff 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 - 1.93.10-SNAPSHOT + 1.93.10 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.10-SNAPSHOT + 1.93.10 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index a26f1dcba9ee..892fb5adb678 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.10-SNAPSHOT + 1.93.10 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 60fe54a55b00..6baf2573cf9e 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.9:1.93.10-SNAPSHOT \ No newline at end of file +google-cloud-core:1.93.10:1.93.10 \ No newline at end of file From 067266384eb7de9e9c6e6997715c871cea4103ef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Oct 2020 15:28:19 -0700 Subject: [PATCH 1122/3036] chore(java): enable generated-files-bot (#320) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2dd0fca0-df43-46b1-aa25-4c588cd16a2a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324 --- java-core/.github/generated-files-bot.yml | 7 +++++++ java-core/synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/generated-files-bot.yml diff --git a/java-core/.github/generated-files-bot.yml b/java-core/.github/generated-files-bot.yml new file mode 100644 index 000000000000..20f3acc28172 --- /dev/null +++ b/java-core/.github/generated-files-bot.yml @@ -0,0 +1,7 @@ +externalManifests: +- type: json + file: 'synth.metadata' + jsonpath: '$.generatedFiles[*]' +- type: json + file: '.github/readme/synth.metadata/synth.metadata' + jsonpath: '$.generatedFiles[*]' diff --git a/java-core/synth.metadata b/java-core/synth.metadata index d53a6fb1afaa..12ca67b3f52e 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "970caceabab0499d98c335b9664b5cf95feea91a" + "sha": "54924f51efee095dee7f94267a1a436facc4761e" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" + "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" } } ], @@ -21,6 +21,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", ".github/snippet-bot.yml", From 1cb59031fbee32f41adf881f0bc60de7ca80b499 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2020 22:38:04 +0000 Subject: [PATCH 1123/3036] chore: release 1.93.11-SNAPSHOT (#321) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 87b4f17a28ac..008d1165a405 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.10 + 1.93.11-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.10 + 1.93.11-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.93.10 + 1.93.11-SNAPSHOT com.google.cloud google-cloud-core-http - 1.93.10 + 1.93.11-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3e78e5212df5..0b2f7b333e8d 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 - 1.93.10 + 1.93.11-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.10 + 1.93.11-SNAPSHOT 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 deda81a265f6..dde92ba3a0b0 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 - 1.93.10 + 1.93.11-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.10 + 1.93.11-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 96d480ff48ff..7ae4692f80d9 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 - 1.93.10 + 1.93.11-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.10 + 1.93.11-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 892fb5adb678..b37d33484393 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.10 + 1.93.11-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6baf2573cf9e..5555c13390e3 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.10:1.93.10 \ No newline at end of file +google-cloud-core:1.93.10:1.93.11-SNAPSHOT \ No newline at end of file From ca96be8fc401f09d903220eb275143dd714204fa Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Oct 2020 16:36:43 -0700 Subject: [PATCH 1124/3036] chore(java): enable generated-files-bot (#59) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ffc963ed-a25c-44d5-8672-52cf2c9c4a54/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324 --- java-iam/.github/generated-files-bot.yml | 7 +++++++ java-iam/synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 java-iam/.github/generated-files-bot.yml diff --git a/java-iam/.github/generated-files-bot.yml b/java-iam/.github/generated-files-bot.yml new file mode 100644 index 000000000000..20f3acc28172 --- /dev/null +++ b/java-iam/.github/generated-files-bot.yml @@ -0,0 +1,7 @@ +externalManifests: +- type: json + file: 'synth.metadata' + jsonpath: '$.generatedFiles[*]' +- type: json + file: '.github/readme/synth.metadata/synth.metadata' + jsonpath: '$.generatedFiles[*]' diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index c25f39afe8c9..b275ff5791ad 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "9ce0b4425f3f6693059749251d6d2f3cf982126b" + "sha": "4ff267fd385d5a70cfe5da42509fb013f4bfde8b" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" + "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" } } ], @@ -29,6 +29,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", ".github/snippet-bot.yml", From fabb4af77b864f66437733dc8a35994bb301e637 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Oct 2020 16:59:31 -0700 Subject: [PATCH 1125/3036] chore: regenerate common templates (#195) * Update publish_javadoc.sh We don't want quite as much and need to be in `target/devsite/reference`. Source-Author: Les Vogel Source-Date: Thu Oct 22 14:10:05 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 9593c3b5b714cc9b17c445aee8834ac2b4b9348b Source-Link: https://github.com/googleapis/synthtool/commit/9593c3b5b714cc9b17c445aee8834ac2b4b9348b * chore(docs): update code of conduct of synthtool and templates Source-Author: Christopher Wilcox Source-Date: Thu Oct 22 14:22:01 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 5f6ef0ec5501d33c4667885b37a7685a30d41a76 Source-Link: https://github.com/googleapis/synthtool/commit/5f6ef0ec5501d33c4667885b37a7685a30d41a76 --- .../.kokoro/release/publish_javadoc.sh | 2 +- java-shared-dependencies/CODE_OF_CONDUCT.md | 7 ++++--- java-shared-dependencies/synth.metadata | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index 8e1143ad17ac..8a8c1a6bbf50 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -62,7 +62,7 @@ popd # V2 mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" -pushd target/devsite +pushd target/devsite/reference # create metadata python3 -m docuploader create-metadata \ diff --git a/java-shared-dependencies/CODE_OF_CONDUCT.md b/java-shared-dependencies/CODE_OF_CONDUCT.md index 6b2238bb75e0..2add2547a812 100644 --- a/java-shared-dependencies/CODE_OF_CONDUCT.md +++ b/java-shared-dependencies/CODE_OF_CONDUCT.md @@ -1,3 +1,4 @@ + # Code of Conduct ## Our Pledge @@ -69,12 +70,12 @@ dispute. If you are unable to resolve the matter for any reason, or if the behavior is threatening or harassing, report it. We are dedicated to providing an environment where participants feel welcome and safe. -Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the -Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +Reports should be directed to *googleapis-stewards@google.com*, the +Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to receive and address reported violations of the code of conduct. They will then work with a committee consisting of representatives from the Open Source Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out the Project Steward, please email +are uncomfortable reaching out to the Project Steward, please email opensource@google.com. We will investigate every complaint, but you may not receive a direct response. diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index bb7af0098799..3fc3f1faa2eb 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "ce7c571dee5350d3bb01838c0d76677551d7a658" + "sha": "71979b715609d28c83c7a2291a3bcaf7eee94131" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" + "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" } } ], From 17753be55ecbed6c5db1e0b634cd9586a683e747 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 31 Oct 2020 01:05:28 +0100 Subject: [PATCH 1126/3036] deps: update dependency io.grpc:grpc-bom to v1.33.1 (#192) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 9e3d0e65db2d..74bc8e401a20 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.32.2 + 1.33.1 1.60.0 30.0-android 3.13.0 From 48eafd8af1352bca1ddab1ecea975f6913274321 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2020 00:12:10 +0000 Subject: [PATCH 1127/3036] chore: release 0.14.0 (#198) :robot: I have created a release \*beep\* \*boop\* --- ## [0.14.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.13.0...v0.14.0) (2020-10-31) ### Dependencies * update dependency io.grpc:grpc-bom to v1.33.1 ([#192](https://www.github.com/googleapis/java-shared-dependencies/issues/192)) ([17753be](https://www.github.com/googleapis/java-shared-dependencies/commit/17753be55ecbed6c5db1e0b634cd9586a683e747)) * update dependency org.threeten:threetenbp to v1.5.0 ([#196](https://www.github.com/googleapis/java-shared-dependencies/issues/196)) ([09abb51](https://www.github.com/googleapis/java-shared-dependencies/commit/09abb516aa504e29e2cc624ed8af7bdb826540f4)) * update iam.version to v1.0.2 ([#194](https://www.github.com/googleapis/java-shared-dependencies/issues/194)) ([805b8ff](https://www.github.com/googleapis/java-shared-dependencies/commit/805b8ff662b046b44e0ffbc33a2e522c6a631567)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 9 +++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 68ce23376a0a..c07e489455e0 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [0.14.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.13.0...v0.14.0) (2020-10-31) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.33.1 ([#192](https://www.github.com/googleapis/java-shared-dependencies/issues/192)) ([b29384d](https://www.github.com/googleapis/java-shared-dependencies/commit/b29384dc40c812f1848f00695228d5437556f029)) +* update dependency org.threeten:threetenbp to v1.5.0 ([#196](https://www.github.com/googleapis/java-shared-dependencies/issues/196)) ([825a6fa](https://www.github.com/googleapis/java-shared-dependencies/commit/825a6fa375d12f1caa0a515b784ffde182bac98d)) +* update iam.version to v1.0.2 ([#194](https://www.github.com/googleapis/java-shared-dependencies/issues/194)) ([5c57239](https://www.github.com/googleapis/java-shared-dependencies/commit/5c572399a1b453f4dc5f6ef8d8850a35be2aef75)) + ## [0.13.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.1...v0.13.0) (2020-10-20) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 340ed28b4741..2d801ed0aa08 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.13.0 + 0.14.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 74bc8e401a20..7e29e181413d 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 - 0.13.1-SNAPSHOT + 0.14.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index f0b42f22bedc..47857ee568a8 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.13.0:0.13.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.14.0:0.14.0 \ No newline at end of file From 34313707bd7adb6bc696f265fe1b2eb8f2b8a17b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 31 Oct 2020 05:34:16 +0100 Subject: [PATCH 1128/3036] deps: update google.core.version to v1.93.10 (#200) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7e29e181413d..33d8a7f4c6d1 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.13.0 1.10.1 2.0.0 - 1.93.9 + 1.93.10 0.22.0 1.37.0 1.30.11 From 4e5bc1afc7a231a13b0187feecfa2db6e27c290c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2020 04:40:09 +0000 Subject: [PATCH 1129/3036] chore: release 0.14.1-SNAPSHOT (#201) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 33d8a7f4c6d1..48ef88a01adb 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 - 0.14.0 + 0.14.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 47857ee568a8..3e24f309a24e 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.14.0:0.14.0 \ No newline at end of file +google-cloud-shared-dependencies:0.14.0:0.14.1-SNAPSHOT \ No newline at end of file From 9e5a96730f0b2a8443b692d4de5d7f0eb587ec46 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2020 04:46:08 +0000 Subject: [PATCH 1130/3036] chore: release 0.14.1 (#202) :robot: I have created a release \*beep\* \*boop\* --- ### [0.14.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.0...v0.14.1) (2020-10-31) ### Dependencies * update google.core.version to v1.93.10 ([#200](https://www.github.com/googleapis/java-shared-dependencies/issues/200)) ([3431370](https://www.github.com/googleapis/java-shared-dependencies/commit/34313707bd7adb6bc696f265fe1b2eb8f2b8a17b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index c07e489455e0..c9b2236b2007 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.14.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.0...v0.14.1) (2020-10-31) + + +### Dependencies + +* update google.core.version to v1.93.10 ([#200](https://www.github.com/googleapis/java-shared-dependencies/issues/200)) ([2d73dc1](https://www.github.com/googleapis/java-shared-dependencies/commit/2d73dc152469d175c74f85c5c76dcc67993c9783)) + ## [0.14.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.13.0...v0.14.0) (2020-10-31) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 2d801ed0aa08..e426fd02280a 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.14.0 + 0.14.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 48ef88a01adb..2a4eafc94088 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 - 0.14.1-SNAPSHOT + 0.14.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 3e24f309a24e..199480c96120 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.14.0:0.14.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.14.1:0.14.1 \ No newline at end of file From 75ed4e86499338d2d19b40fab0dde01e34785c71 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 2 Nov 2020 09:02:25 -0800 Subject: [PATCH 1131/3036] chore: regenerate common templates (#203) * chore(ci): fix typo in restrict presubmit samples ITs to only snapshot Fixes below error in Java repos when https://github.com/googleapis/synthtool/pull/804 was merged: ``` github/java-bigquerystorage/.kokoro/build.sh: line 81: pushd: {SAMPLES_DIR}: No such file or directory ``` Thanks @kolea2 for spotting this in Fusion build logs. cc @chingor13 Source-Author: Stephanie Wang Source-Date: Mon Oct 26 13:44:04 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: f68649c5f26bcff6817c6d21e90dac0fc71fef8e Source-Link: https://github.com/googleapis/synthtool/commit/f68649c5f26bcff6817c6d21e90dac0fc71fef8e * chore(java): enable generated-files-bot This bot will comment on pull requests that modify templated files. For java, we configure to read from our 2 synth.metadata files: (primary templates and README) Source-Author: Jeff Ching Source-Date: Fri Oct 30 14:22:02 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: b19b401571e77192f8dd38eab5fb2300a0de9324 Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324 --- java-shared-dependencies/.github/generated-files-bot.yml | 7 +++++++ java-shared-dependencies/.kokoro/build.sh | 2 +- java-shared-dependencies/synth.metadata | 5 +++-- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 java-shared-dependencies/.github/generated-files-bot.yml diff --git a/java-shared-dependencies/.github/generated-files-bot.yml b/java-shared-dependencies/.github/generated-files-bot.yml new file mode 100644 index 000000000000..20f3acc28172 --- /dev/null +++ b/java-shared-dependencies/.github/generated-files-bot.yml @@ -0,0 +1,7 @@ +externalManifests: +- type: json + file: 'synth.metadata' + jsonpath: '$.generatedFiles[*]' +- type: json + file: '.github/readme/synth.metadata/synth.metadata' + jsonpath: '$.generatedFiles[*]' diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 73ba3d82faa3..ea53b0f31484 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -78,7 +78,7 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then - pushd {SAMPLES_DIR} + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 3fc3f1faa2eb..21e516513f1d 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "71979b715609d28c83c7a2291a3bcaf7eee94131" + "sha": "2c1438355d733e2d446dac8ad5b58c319523787c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" + "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" } } ], @@ -21,6 +21,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/snippet-bot.yml", ".github/trusted-contribution.yml", From c4c92b81e89f1028a7a6f076bc92ca1990f695e2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 17:08:04 +0000 Subject: [PATCH 1132/3036] chore: release 0.14.2-SNAPSHOT (#204) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2a4eafc94088..d5506a23a5c2 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 - 0.14.1 + 0.14.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 199480c96120..e47a3a1345a1 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.14.1:0.14.1 \ No newline at end of file +google-cloud-shared-dependencies:0.14.1:0.14.2-SNAPSHOT \ No newline at end of file From d05aa69a78b6444331eb2097d3bf2e4721fe90b7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 2 Nov 2020 19:14:08 +0100 Subject: [PATCH 1133/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.3 (#52) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | patch | `0.9.2` -> `0.9.3` | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.9.3`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​093-httpswwwgithubcomgoogleapisjava-shared-configcomparev092v093-2020-10-15) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.2...v0.9.3)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 78ce25b2012f..c606722c7720 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.2 + 0.9.3 From 941f91c2c1c87776c281f946b2e07a18508aa308 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 2 Nov 2020 21:11:11 +0100 Subject: [PATCH 1134/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#60) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c606722c7720..70083cdfb6ed 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 From 9a7aac1f4a6fd44a3dd0e000e93c313c4bd471e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 2 Nov 2020 21:11:30 +0100 Subject: [PATCH 1135/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 (#61) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 70083cdfb6ed..581d38ce5472 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.13.0 + 0.14.1 pom import From f85898e48dd8a00801d9c2554855d1d096e08e62 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 20:18:07 +0000 Subject: [PATCH 1136/3036] chore: release 1.0.3 (#62) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.3](https://www.github.com/googleapis/java-iam/compare/v1.0.2...v1.0.3) (2020-11-02) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#61](https://www.github.com/googleapis/java-iam/issues/61)) ([9a7aac1](https://www.github.com/googleapis/java-iam/commit/9a7aac1f4a6fd44a3dd0e000e93c313c4bd471e2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 7547bcea515a..8c4d1ab12e7b 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.3](https://www.github.com/googleapis/java-iam/compare/v1.0.2...v1.0.3) (2020-11-02) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.14.1 ([#61](https://www.github.com/googleapis/java-iam/issues/61)) ([6050071](https://www.github.com/googleapis/java-iam/commit/605007103cd0a18dc30e3b5c5b39118391723d61)) + ### [1.0.2](https://www.github.com/googleapis/java-iam/compare/v1.0.1...v1.0.2) (2020-10-22) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 05167262a9b3..4568a6a8ab50 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.0.3-SNAPSHOT + 1.0.3 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.3-SNAPSHOT + 1.0.3 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 581d38ce5472..517c19092a9c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.3-SNAPSHOT + 1.0.3 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.3-SNAPSHOT + 1.0.3 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 780d603d861e..04cd767bab46 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.3-SNAPSHOT + 1.0.3 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.3-SNAPSHOT + 1.0.3 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index c9be4bf5dbb9..de46568c5490 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.2:1.0.3-SNAPSHOT +proto-google-iam-v1:1.0.3:1.0.3 From 8276efa3c9584b6aed1e1e65f291a8f2afaf0f31 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 3 Nov 2020 09:10:09 +0000 Subject: [PATCH 1137/3036] chore: release 1.0.4-SNAPSHOT (#63) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 4568a6a8ab50..3e965374e954 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.0.3 + 1.0.4-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.3 + 1.0.4-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 517c19092a9c..b00b05aebcf8 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.3 + 1.0.4-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.3 + 1.0.4-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 04cd767bab46..311cbee3ecbe 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.3 + 1.0.4-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.3 + 1.0.4-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index de46568c5490..7204c895a55a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.3:1.0.3 +proto-google-iam-v1:1.0.3:1.0.4-SNAPSHOT From 2647dcdc9f370037de26283b3d6262d2198552b0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 5 Nov 2020 14:56:32 -0800 Subject: [PATCH 1138/3036] chore(java): use production staging bucket (#326) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e9c002c2-f465-49e1-8293-4f695f263b6c/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/c7824ea48ff6d4d42dfae0849aec8a85acd90bd9 --- java-core/.kokoro/release/publish_javadoc.cfg | 2 +- java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg index 6aacd12dda78..5f7b2f60b86b 100644 --- a/java-core/.kokoro/release/publish_javadoc.cfg +++ b/java-core/.kokoro/release/publish_javadoc.cfg @@ -9,7 +9,7 @@ env_vars: { env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" + value: "docs-staging-v2" # Production will be at: docs-staging-v2 } diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 12ca67b3f52e..9d54a3e3442f 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "54924f51efee095dee7f94267a1a436facc4761e" + "sha": "2d3e7f693f82a39d5d312d223d25fb5a415e2fa5" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" + "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9" } } ], From a9a70776adda4b76dcc17ee168fccaeee6af9e76 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 5 Nov 2020 14:58:09 -0800 Subject: [PATCH 1139/3036] chore(java): use production staging bucket (#64) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2ae213fc-d58d-44cc-95e8-aee6adab1f5b/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/c7824ea48ff6d4d42dfae0849aec8a85acd90bd9 --- java-iam/.kokoro/release/publish_javadoc.cfg | 2 +- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg index 753ac94e1036..1233798e00fb 100644 --- a/java-iam/.kokoro/release/publish_javadoc.cfg +++ b/java-iam/.kokoro/release/publish_javadoc.cfg @@ -9,7 +9,7 @@ env_vars: { env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" + value: "docs-staging-v2" # Production will be at: docs-staging-v2 } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index b275ff5791ad..a0817fd93fe4 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "4ff267fd385d5a70cfe5da42509fb013f4bfde8b" + "sha": "0cb7f2f9ebb6bc54317c67995854dd265ffaec30" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" + "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9" } } ], From 6408df1accd4ff7b651f089a38368769e8267d5a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 6 Nov 2020 08:47:47 -0800 Subject: [PATCH 1140/3036] chore(java): use production staging bucket (#208) Source-Author: Les Vogel Source-Date: Wed Nov 4 10:18:01 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: c7824ea48ff6d4d42dfae0849aec8a85acd90bd9 Source-Link: https://github.com/googleapis/synthtool/commit/c7824ea48ff6d4d42dfae0849aec8a85acd90bd9 --- java-shared-dependencies/.kokoro/release/publish_javadoc.cfg | 2 +- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg index 9fd795e717c1..769b99f1d337 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -9,7 +9,7 @@ env_vars: { env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" + value: "docs-staging-v2" # Production will be at: docs-staging-v2 } diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 21e516513f1d..11eb219c1193 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "2c1438355d733e2d446dac8ad5b58c319523787c" + "sha": "e6fc95a27ec4c3c6419da3e40157f64da24e1c73" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" + "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9" } } ], From 29c88adab9582001ea2f43528be8ff34d5447e6c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 10 Nov 2020 09:34:09 -0800 Subject: [PATCH 1141/3036] chore(java): ignore return code 28 in README autosynth job (#328) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/6751f532-101c-4f12-85bc-97837ae72041/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279 --- java-core/.kokoro/readme.sh | 11 ++++++++++- java-core/synth.metadata | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-core/.kokoro/readme.sh b/java-core/.kokoro/readme.sh index f155067a8884..cebf83b9daa3 100755 --- a/java-core/.kokoro/readme.sh +++ b/java-core/.kokoro/readme.sh @@ -28,9 +28,18 @@ echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials git config --global credential.helper 'store --file ~/.git-credentials' python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool + +set +e python3.6 -m autosynth.synth \ --repository=googleapis/java-core \ --synth-file-name=.github/readme/synth.py \ --metadata-path=.github/readme/synth.metadata \ --pr-title="chore: regenerate README" \ - --branch-suffix="readme" \ No newline at end of file + --branch-suffix="readme" + +# autosynth returns 28 to signal there are no changes +RETURN_CODE=$? +if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] +then + exit ${RETURN_CODE} +fi diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 9d54a3e3442f..f289daa4de9e 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "2d3e7f693f82a39d5d312d223d25fb5a415e2fa5" + "sha": "4ff835d66de0f7d6d6cc4ab912ea707911731c60" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9" + "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279" } } ], From 0a23e010ccdb2fc9c3a63845f9da9b8cd01e3b1c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 10 Nov 2020 09:36:10 -0800 Subject: [PATCH 1142/3036] chore(java): ignore return code 28 in README autosynth job (#65) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/52835f19-f73b-49d6-890c-5692532d17ec/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279 --- java-iam/.kokoro/readme.sh | 11 ++++++++++- java-iam/synth.metadata | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-iam/.kokoro/readme.sh b/java-iam/.kokoro/readme.sh index 0e6b763de34a..5081ac809fa4 100755 --- a/java-iam/.kokoro/readme.sh +++ b/java-iam/.kokoro/readme.sh @@ -28,9 +28,18 @@ echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials git config --global credential.helper 'store --file ~/.git-credentials' python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool + +set +e python3.6 -m autosynth.synth \ --repository=googleapis/java-iam \ --synth-file-name=.github/readme/synth.py \ --metadata-path=.github/readme/synth.metadata \ --pr-title="chore: regenerate README" \ - --branch-suffix="readme" \ No newline at end of file + --branch-suffix="readme" + +# autosynth returns 28 to signal there are no changes +RETURN_CODE=$? +if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] +then + exit ${RETURN_CODE} +fi diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index a0817fd93fe4..1c4c9faf5644 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "0cb7f2f9ebb6bc54317c67995854dd265ffaec30" + "sha": "f8f256333870197b3caf68d90cee1242c4235084" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9" + "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279" } } ], From f0e4d9abf8d4bc62e07d5411c715f892c54939fa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 Nov 2020 21:02:16 +0100 Subject: [PATCH 1143/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.38.0 (#325) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b37d33484393..aed4c424ff84 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.0.2 0.22.0 1.30.11 - 1.37.0 + 1.38.0 1.33.0 3.13.0 0.24.0 From 1ae2e58b804faaa7d3217a2a0ee9b4216d621190 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 Nov 2020 21:02:40 +0100 Subject: [PATCH 1144/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.3 (#324) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index aed4c424ff84..92a2cf973860 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.60.0 1.10.1 2.0.0 - 1.0.2 + 1.0.3 0.22.0 1.30.11 1.38.0 From 53f6af8062c4267d401c03d2e9648015bc0d9db0 Mon Sep 17 00:00:00 2001 From: BenWhitehead Date: Tue, 10 Nov 2020 15:04:23 -0500 Subject: [PATCH 1145/3036] feat(test): add new MultipleAttemptRule, StdOutCaptureRule & StdErrCaptureRule JUnit 4 rules (#327) * feat(test): add new MultipleAttemptRule JUnit 4 rule * feat(test): add new StdOutCaptureRule & StdErrCaptureRule JUnit 4 rule * fix: line separator failures from windows --- .../testing/junit4/MultipleAttemptsRule.java | 107 ++++++++++ .../testing/junit4/StdErrCaptureRule.java | 56 ++++++ .../testing/junit4/StdOutCaptureRule.java | 56 ++++++ .../cloud/testing/junit4/StdXCaptureRule.java | 188 ++++++++++++++++++ .../testing/junit4/StdXCaptureRuleTest.java | 76 +++++++ .../tests/MultipleAttemptsRuleTest.java | 87 ++++++++ .../junit4/tests/StdErrCaptureRuleTest.java | 36 ++++ .../junit4/tests/StdOutCaptureRuleTest.java | 36 ++++ 8 files changed, 642 insertions(+) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/MultipleAttemptsRule.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdErrCaptureRule.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdOutCaptureRule.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRule.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRuleTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/MultipleAttemptsRuleTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdErrCaptureRuleTest.java create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdOutCaptureRuleTest.java diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/MultipleAttemptsRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/MultipleAttemptsRule.java new file mode 100644 index 000000000000..86fd82c7b930 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/MultipleAttemptsRule.java @@ -0,0 +1,107 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4; + +import static com.google.common.base.Preconditions.checkArgument; + +import java.util.ArrayList; +import java.util.List; +import org.junit.rules.TestRule; +import org.junit.runner.Description; +import org.junit.runners.model.MultipleFailureException; +import org.junit.runners.model.Statement; + +/** + * A JUnit rule that allows multiple attempts of a test execution before ultimately reporting + * failure for the test. Attempts will be attempted with an exponential backoff which defaults to a + * starting duration of 1 second. + * + *

    If after the maximum number of attempts the test has still not succeeded, all failures will be + * propagated as the result of the test allowing all errors to be visible (regardless if they are + * the same failure or different ones). + * + *

    To use this rule add the field declaration to your JUnit 4 Test class: + * + *

    Note: It is important that the field is public + * + *

    {@code
    + * @Rule
    + * public MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(3);
    + * }
    + * + * @see org.junit.Rule + */ +public final class MultipleAttemptsRule implements TestRule { + private final long initialBackoffMillis; + private final int maxAttemptCount; + + /** + * Construct a {@link MultipleAttemptsRule} which will attempt a test up to {@code attemptCount} + * times before ultimately reporting failure of the test. + * + *

    The initialBackoffMillis will be set to 1000L. + * + * @param maxAttemptCount max number of attempts before reporting failure, must be greater than 0 + * @see #MultipleAttemptsRule(int, long) + */ + public MultipleAttemptsRule(int maxAttemptCount) { + this(maxAttemptCount, 1000L); + } + + /** + * Construct a {@link MultipleAttemptsRule} which will attempt a test up to {@code attemptCount} + * times before ultimately reporting failure of the test. + * + *

    The {@code initialBackoffMillis} will be used as the first pause duration before + * reattempting the test. + * + * @param maxAttemptCount max number of attempts before reporting failure, must be greater than 0 + * @param initialBackoffMillis initial duration in millis to wait between attempts, must be + * greater than or equal to 0 + */ + public MultipleAttemptsRule(int maxAttemptCount, long initialBackoffMillis) { + checkArgument(maxAttemptCount > 0, "attemptCount must be > 0"); + checkArgument(initialBackoffMillis >= 0, "initialBackoffMillis must be >= 0"); + this.initialBackoffMillis = initialBackoffMillis; + this.maxAttemptCount = maxAttemptCount; + } + + @Override + public Statement apply(final Statement base, Description description) { + return new Statement() { + @Override + public void evaluate() throws Throwable { + List failures = new ArrayList<>(); + + long retryIntervalMillis = initialBackoffMillis; + + for (int i = 1; i <= maxAttemptCount; i++) { + try { + base.evaluate(); + return; + } catch (Throwable t) { + failures.add(t); + Thread.sleep(retryIntervalMillis); + retryIntervalMillis *= 1.5f; + } + } + + MultipleFailureException.assertEmpty(failures); + } + }; + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdErrCaptureRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdErrCaptureRule.java new file mode 100644 index 000000000000..1640d950e3f7 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdErrCaptureRule.java @@ -0,0 +1,56 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4; + +import java.io.PrintStream; +import org.junit.Rule; + +/** + * A JUnit rule that allows the capturing stderr (i.e. {@link System#err} during the scope of a + * test. + * + *

    Note: If some part of the system holds a reference System.err before this rule is loaded + * into the test lifecycle there is no way for this rule to capture the output. Ensure this rule is + * declared as high in your test file as possible, and ordered using {@link Rule#order()} before + * other Rules if necessary. + * + *

    To use this rule add the field declaration to your JUnit 4 Test class: + * + *

    Note: It is important that the field is public + * + *

    {@code
    + * @Rule
    + * public StdErrCaptureRule stdErrCaptureRule = new StdErrCaptureRule();
    + * }
    + * + * @see org.junit.Rule + * @see Rule#order() + */ +public final class StdErrCaptureRule extends StdXCaptureRule { + + public StdErrCaptureRule() {} + + @Override + protected PrintStream getOriginal() { + return System.err; + } + + @Override + protected void set(PrintStream ps) { + System.setErr(ps); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdOutCaptureRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdOutCaptureRule.java new file mode 100644 index 000000000000..0a33997cde21 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdOutCaptureRule.java @@ -0,0 +1,56 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4; + +import java.io.PrintStream; +import org.junit.Rule; + +/** + * A JUnit rule that allows the capturing stdout (i.e. {@link System#out} during the scope of a + * test. + * + *

    Note: If some part of the system holds a reference System.out before this rule is loaded + * into the test lifecycle there is no way for this rule to capture the output. Ensure this rule is + * declared as high in your test file as possible, and ordered using {@link Rule#order()} before + * other Rules if necessary. + * + *

    To use this rule add the field declaration to your JUnit 4 Test class: + * + *

    Note: It is important that the field is public + * + *

    {@code
    + * @Rule
    + * public StdOutCaptureRule stdOutCaptureRule = new StdOutCaptureRule();
    + * }
    + * + * @see org.junit.Rule + * @see Rule#order() + */ +public final class StdOutCaptureRule extends StdXCaptureRule { + + public StdOutCaptureRule() {} + + @Override + protected PrintStream getOriginal() { + return System.out; + } + + @Override + protected void set(PrintStream ps) { + System.setOut(ps); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRule.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRule.java new file mode 100644 index 000000000000..ba17e3e324bc --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRule.java @@ -0,0 +1,188 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4; + +import com.google.common.base.Charsets; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.io.PrintStream; +import java.io.UnsupportedEncodingException; +import org.junit.rules.TestRule; +import org.junit.runner.Description; +import org.junit.runners.model.Statement; + +abstract class StdXCaptureRule implements TestRule { + + private final ByteArrayOutputStream byteArrayOutputStream; + + public StdXCaptureRule() { + byteArrayOutputStream = new ByteArrayOutputStream(); + } + + protected abstract PrintStream getOriginal(); + + protected abstract void set(PrintStream ps); + + /** + * Get a handle to the raw bytes written during the running test so far. + * + * @return A read-only {@link ByteArrayOutputStream} representing the raw bytes written so far. + *

    Note the following behavior of the return value: + *

      + *
    1. Calling any "write" method call will result in an {@link IllegalStateException} + *
    2. Calls to {@link ByteArrayOutputStream#toByteArray()} will result in a new copy of the + * underlying array up to that point + *
    3. Calls to {@link ByteArrayOutputStream#flush()} will be silently ignored + *
    4. Calls to {@link ByteArrayOutputStream#close()} will be silently ignored + *
    + */ + public ByteArrayOutputStream getCapturedOutput() { + return new ReadOnlyByteArrayOutputStream(byteArrayOutputStream); + } + + /** + * Return a UTF-8 {@link String} of all bytes written during the running test so far. + * + * @return UTF-8 {@link String} of all bytes written + */ + public String getCapturedOutputAsUtf8String() { + return new String(byteArrayOutputStream.toByteArray(), Charsets.UTF_8); + } + + @Override + public Statement apply(final Statement base, Description description) { + return new Statement() { + @Override + public void evaluate() throws Throwable { + PrintStream originalOut = getOriginal(); + TeeOutputStream tee = new TeeOutputStream(System.out, byteArrayOutputStream); + boolean outReplaced = false; + try { + set(new PrintStream(tee)); + outReplaced = true; + base.evaluate(); + } finally { + if (outReplaced) { + set(originalOut); + } + } + } + }; + } + + private static final class TeeOutputStream extends OutputStream { + private final OutputStream left; + private final OutputStream right; + + public TeeOutputStream(OutputStream left, OutputStream right) { + this.left = left; + this.right = right; + } + + @Override + public void write(int b) throws IOException { + try { + left.write(b); + } finally { + right.write(b); + } + } + + @Override + public void flush() throws IOException { + try { + left.flush(); + } finally { + right.flush(); + } + } + } + + private static final class ReadOnlyByteArrayOutputStream extends ByteArrayOutputStream { + private final ByteArrayOutputStream delegate; + + public ReadOnlyByteArrayOutputStream(ByteArrayOutputStream delegate) { + this.delegate = delegate; + } + + @Override + public synchronized void write(int b) { + throw getIllegalStateException("write(b)"); + } + + @Override + public synchronized void write(byte[] b, int off, int len) { + throw getIllegalStateException("write(byte[], off, len)"); + } + + @Override + public synchronized void writeTo(OutputStream out) { + throw getIllegalStateException("writeOt(out)"); + } + + @Override + public synchronized void reset() { + throw getIllegalStateException("reset()"); + } + + @Override + public synchronized byte[] toByteArray() { + return delegate.toByteArray(); + } + + @Override + public void close() { + // ignore + } + + @Override + public synchronized int size() { + return delegate.size(); + } + + @Override + public synchronized String toString() { + return delegate.toString(); + } + + @Override + public synchronized String toString(String charsetName) throws UnsupportedEncodingException { + return delegate.toString(charsetName); + } + + @SuppressWarnings("deprecation") + @Override + public synchronized String toString(int hibyte) { + return delegate.toString(hibyte); + } + + @Override + public void flush() { + // ignore + } + + @Override + public void write(byte[] b) { + throw getIllegalStateException("write(byte[])"); + } + + private IllegalStateException getIllegalStateException(String desc) { + return new IllegalStateException(desc + " is forbidden"); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRuleTest.java new file mode 100644 index 000000000000..17d167e1af9a --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/StdXCaptureRuleTest.java @@ -0,0 +1,76 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4; + +import static org.junit.Assert.*; + +import java.io.IOException; +import java.io.PrintStream; +import org.junit.Test; + +public final class StdXCaptureRuleTest { + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeByte() { + getStdXCaptureRule().getCapturedOutput().write(0); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeByteArray() throws IOException { + getStdXCaptureRule().getCapturedOutput().write(new byte[] {0}); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeByteArrayRange() { + getStdXCaptureRule().getCapturedOutput().write(new byte[] {0}, 0, 1); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_writeTo() throws IOException { + getStdXCaptureRule().getCapturedOutput().writeTo(System.out); + } + + @Test(expected = IllegalStateException.class) + public void returnedByteArrayOutputStreamIsReadOnly_reset() { + getStdXCaptureRule().getCapturedOutput().reset(); + } + + @Test + public void returnedByteArrayOutputStreamIsReadOnly_close() throws IOException { + getStdXCaptureRule().getCapturedOutput().close(); + } + + @Test + public void returnedByteArrayOutputStreamIsReadOnly_flush() throws IOException { + getStdXCaptureRule().getCapturedOutput().flush(); + } + + private static StdXCaptureRule getStdXCaptureRule() { + return new StdXCaptureRule() { + @Override + protected PrintStream getOriginal() { + fail("unexpected call"); + return null; + } + + @Override + protected void set(PrintStream ps) { + fail("unexpected call"); + } + }; + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/MultipleAttemptsRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/MultipleAttemptsRuleTest.java new file mode 100644 index 000000000000..e1c98b19530e --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/MultipleAttemptsRuleTest.java @@ -0,0 +1,87 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4.tests; + +import static com.google.common.truth.Truth.assertThat; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.fail; + +import com.google.cloud.testing.junit4.MultipleAttemptsRule; +import org.junit.Rule; +import org.junit.Test; +import org.junit.runners.model.MultipleFailureException; +import org.junit.runners.model.Statement; + +public final class MultipleAttemptsRuleTest { + + private static final int NUMBER_OF_ATTEMPTS = 5; + + @Rule public MultipleAttemptsRule rr = new MultipleAttemptsRule(NUMBER_OF_ATTEMPTS, 0); + + private int numberAttempted = 0; + + @Test + public void wontPassUntil5() { + numberAttempted += 1; + assertEquals(NUMBER_OF_ATTEMPTS, numberAttempted); + } + + @Test(expected = IllegalArgumentException.class) + public void errorConstructing_attemptLessThan1() { + new MultipleAttemptsRule(0); + } + + @Test + public void errorConstructing_attemptEquals1() { + new MultipleAttemptsRule(1); + } + + @Test(expected = IllegalArgumentException.class) + public void errorConstructing_attemptGreaterThanOrEqualTo1AndBackoffLessThan0() { + new MultipleAttemptsRule(1, -1); + } + + @Test + public void errorConstructing_attemptGreaterThanOrEqualTo1AndBackoffEqualTo0() { + new MultipleAttemptsRule(1, 0); + } + + @Test + public void allErrorPropagated() { + MultipleAttemptsRule rule = new MultipleAttemptsRule(3, 0); + Statement statement = + rule.apply( + new Statement() { + private int counter = 1; + + @Override + public void evaluate() { + fail("attempt " + counter++); + } + }, + null); + + try { + statement.evaluate(); + } catch (MultipleFailureException mfe) { + // pass + assertThat(mfe.getFailures()).hasSize(3); + } catch (Throwable throwable) { + fail("unexpected error: " + throwable.getMessage()); + } + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdErrCaptureRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdErrCaptureRuleTest.java new file mode 100644 index 000000000000..565bb08f12aa --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdErrCaptureRuleTest.java @@ -0,0 +1,36 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4.tests; + +import static org.junit.Assert.assertEquals; + +import com.google.cloud.testing.junit4.StdErrCaptureRule; +import org.junit.Rule; +import org.junit.Test; + +public class StdErrCaptureRuleTest { + + @Rule public StdErrCaptureRule stdOutCap = new StdErrCaptureRule(); + + @Test + public void captureSuccessful() { + System.err.println("err world"); + String expected = "err world" + System.lineSeparator(); + String actual = stdOutCap.getCapturedOutputAsUtf8String(); + assertEquals(expected, actual); + } +} diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdOutCaptureRuleTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdOutCaptureRuleTest.java new file mode 100644 index 000000000000..8230debded28 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/junit4/tests/StdOutCaptureRuleTest.java @@ -0,0 +1,36 @@ +/* + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.testing.junit4.tests; + +import static org.junit.Assert.assertEquals; + +import com.google.cloud.testing.junit4.StdOutCaptureRule; +import org.junit.Rule; +import org.junit.Test; + +public class StdOutCaptureRuleTest { + + @Rule public StdOutCaptureRule stdOutCap = new StdOutCaptureRule(); + + @Test + public void captureSuccessful() { + System.out.println("hello world"); + String expected = "hello world" + System.lineSeparator(); + String actual = stdOutCap.getCapturedOutputAsUtf8String(); + assertEquals(expected, actual); + } +} From 1ba3c702e382a6540346a10bf7fa99f61b3a4bd7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 Nov 2020 21:08:07 +0100 Subject: [PATCH 1146/3036] deps: update dependency io.grpc:grpc-bom to v1.33.1 (#319) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | patch | `1.33.0` -> `1.33.1` | --- ### Release Notes
    grpc/grpc-java ### [`v1.33.1`](https://togithub.com/grpc/grpc-java/releases/v1.33.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.33.0...v1.33.1) ##### gRPC Java 1.33.1 Release Notes ##### Bug Fixes - Fix builders ABI backward compatibility broken in v1.33.0, see [#​7552](https://togithub.com/grpc/grpc-java/issues/7552) - netty: The class `io.grpc.netty.NettyServerBuilder` reverted to extend internal class `io.grpc.internal.AbstractServerImplBuilder` - netty: The class `io.grpc.netty.NettyChannelBuilder` reverted to extend internal class `io.grpc.internal.AbstractManagedChannelImplBuilder` - okhttp&#x3A; The class `io.grpc.okhttp.OkhttpChannelBuilder` reverted to extend internal class `io.grpc.internal.AbstractManagedChannelImplBuilder` - core: `The class io.grpc.inprocess.InProcessChannelBuilder` reverted to extend internal class `io.grpc.internal.AbstractManagedChannelImplBuilder` - cronet: The class `io.grpc.cronet.CronetChannelBuilder` reverted to extend internal class `io.grpc.internal.AbstractManagedChannelImplBuilder` - api: `ForwardingServerBuilder` reverted until the permanent fix of the issue with ABI compatibility of delegating classes - okhttp&#x3A; exclude Internal\* from javadoc - netty: Abrupt GOAWAY should not cause INTERNAL status. It is now UNAVAILABLE. This was a regression introduced in v1.33.0. The error was in the form `StatusRuntimeException: INTERNAL: http2 exception` with a cause similar to `Http2Exception$StreamException: Cannot create stream 222691 greater than Last-Stream-ID 222689 from GOAWAY.` This was mainly observed when a C core-based gRPC server shut down. - core: fix floating-point number formatting Locale
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 92a2cf973860..3ee58a720937 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.22.0 1.30.11 1.38.0 - 1.33.0 + 1.33.1 3.13.0 0.24.0 1.3.2 From 967b3c54d94e78fa9347112cd4157830361b3e4e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 Nov 2020 21:10:04 +0100 Subject: [PATCH 1147/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.0.1 (#323) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam) | patch | `2.0.0` -> `2.0.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3ee58a720937..d1a4f08e38c7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.60.0 1.10.1 - 2.0.0 + 2.0.1 1.0.3 0.22.0 1.30.11 From f4c9203db74751a2547017c429baf39413b196df Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Nov 2020 20:26:07 +0000 Subject: [PATCH 1148/3036] chore: release 1.94.0 (#330) :robot: I have created a release \*beep\* \*boop\* --- ## [1.94.0](https://www.github.com/googleapis/java-core/compare/v1.93.10...v1.94.0) (2020-11-10) ### Features * **test:** add new MultipleAttemptRule, StdOutCaptureRule & StdErrCaptureRule JUnit 4 rules ([#327](https://www.github.com/googleapis/java-core/issues/327)) ([53f6af8](https://www.github.com/googleapis/java-core/commit/53f6af8062c4267d401c03d2e9648015bc0d9db0)) ### Dependencies * update dependency com.google.api.grpc:proto-google-common-protos to v2.0.1 ([#323](https://www.github.com/googleapis/java-core/issues/323)) ([967b3c5](https://www.github.com/googleapis/java-core/commit/967b3c54d94e78fa9347112cd4157830361b3e4e)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.3 ([#324](https://www.github.com/googleapis/java-core/issues/324)) ([1ae2e58](https://www.github.com/googleapis/java-core/commit/1ae2e58b804faaa7d3217a2a0ee9b4216d621190)) * update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#325](https://www.github.com/googleapis/java-core/issues/325)) ([f0e4d9a](https://www.github.com/googleapis/java-core/commit/f0e4d9abf8d4bc62e07d5411c715f892c54939fa)) * update dependency io.grpc:grpc-bom to v1.33.1 ([#319](https://www.github.com/googleapis/java-core/issues/319)) ([1ba3c70](https://www.github.com/googleapis/java-core/commit/1ba3c702e382a6540346a10bf7fa99f61b3a4bd7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 15 +++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 27 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 4f0c4d3c8b2a..462f33337151 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [1.94.0](https://www.github.com/googleapis/java-core/compare/v1.93.10...v1.94.0) (2020-11-10) + + +### Features + +* **test:** add new MultipleAttemptRule, StdOutCaptureRule & StdErrCaptureRule JUnit 4 rules ([#327](https://www.github.com/googleapis/java-core/issues/327)) ([60f4a66](https://www.github.com/googleapis/java-core/commit/60f4a66ad907f4a838536e405326869487468f35)) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-common-protos to v2.0.1 ([#323](https://www.github.com/googleapis/java-core/issues/323)) ([4b989e8](https://www.github.com/googleapis/java-core/commit/4b989e802f773794babd2403253c81d528c6f661)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.3 ([#324](https://www.github.com/googleapis/java-core/issues/324)) ([a40c71a](https://www.github.com/googleapis/java-core/commit/a40c71ab678c3ec267d43b5cb434b7cb302d1b7e)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#325](https://www.github.com/googleapis/java-core/issues/325)) ([48f1da7](https://www.github.com/googleapis/java-core/commit/48f1da709dbfbcffd8faad1f2342c85475ec4e93)) +* update dependency io.grpc:grpc-bom to v1.33.1 ([#319](https://www.github.com/googleapis/java-core/issues/319)) ([8a788a6](https://www.github.com/googleapis/java-core/commit/8a788a606c8a397121a4177e1004ddf582e112ae)) + ### [1.93.10](https://www.github.com/googleapis/java-core/compare/v1.93.9...v1.93.10) (2020-10-30) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 008d1165a405..9f863c518885 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.93.11-SNAPSHOT + 1.94.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.93.11-SNAPSHOT + 1.94.0 com.google.cloud google-cloud-core-grpc - 1.93.11-SNAPSHOT + 1.94.0 com.google.cloud google-cloud-core-http - 1.93.11-SNAPSHOT + 1.94.0
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0b2f7b333e8d..82aeb7547a8b 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 - 1.93.11-SNAPSHOT + 1.94.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.11-SNAPSHOT + 1.94.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 dde92ba3a0b0..922700c33890 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 - 1.93.11-SNAPSHOT + 1.94.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.11-SNAPSHOT + 1.94.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7ae4692f80d9..084acfbdb890 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 - 1.93.11-SNAPSHOT + 1.94.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.93.11-SNAPSHOT + 1.94.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index d1a4f08e38c7..7b1e0bbe1db7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.93.11-SNAPSHOT + 1.94.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 5555c13390e3..97c42f62d636 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.93.10:1.93.11-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.0:1.94.0 \ No newline at end of file From 3d6298b25d49ab8b2a9b4ccc48533c3bb0a7f49e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 Nov 2020 22:47:11 +0100 Subject: [PATCH 1149/3036] deps: update iam.version to v1.0.3 (#206) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d5506a23a5c2..cb952c8396fc 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.19 - 1.0.2 + 1.0.3 0.24.0 3.0.2 2.4.0 From 6a26ccffc08c82abe4ab416f95fabd2f47e4d612 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 Nov 2020 22:47:51 +0100 Subject: [PATCH 1150/3036] deps: update google.common-protos.version to v2.0.1 (#205) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cb952c8396fc..1c4b830cdaa9 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 30.0-android 3.13.0 1.10.1 - 2.0.0 + 2.0.1 1.93.10 0.22.0 1.37.0 From 501998709c66b8b9a1f823bec7482aa1120862be Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 Nov 2020 22:48:24 +0100 Subject: [PATCH 1151/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.38.0 (#207) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1c4b830cdaa9..88f39b675c1e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.0.1 1.93.10 0.22.0 - 1.37.0 + 1.38.0 1.30.11 2.8.6 1.5.0 From a4ddd85c22a935fb356fa5fd1342dd05168cf8b6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Nov 2020 21:54:11 +0000 Subject: [PATCH 1152/3036] chore: release 0.15.0 (#214) :robot: I have created a release \*beep\* \*boop\* --- ## [0.15.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.1...v0.15.0) (2020-11-10) ### Dependencies * update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#207](https://www.github.com/googleapis/java-shared-dependencies/issues/207)) ([5019987](https://www.github.com/googleapis/java-shared-dependencies/commit/501998709c66b8b9a1f823bec7482aa1120862be)) * update google.common-protos.version to v2.0.1 ([#205](https://www.github.com/googleapis/java-shared-dependencies/issues/205)) ([6a26ccf](https://www.github.com/googleapis/java-shared-dependencies/commit/6a26ccffc08c82abe4ab416f95fabd2f47e4d612)) * update iam.version to v1.0.3 ([#206](https://www.github.com/googleapis/java-shared-dependencies/issues/206)) ([3d6298b](https://www.github.com/googleapis/java-shared-dependencies/commit/3d6298b25d49ab8b2a9b4ccc48533c3bb0a7f49e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 9 +++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index c9b2236b2007..1c7a654efad3 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [0.15.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.1...v0.15.0) (2020-11-10) + + +### Dependencies + +* update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#207](https://www.github.com/googleapis/java-shared-dependencies/issues/207)) ([5e3198d](https://www.github.com/googleapis/java-shared-dependencies/commit/5e3198de5e1d0fe55c4d947b12984db7726059da)) +* update google.common-protos.version to v2.0.1 ([#205](https://www.github.com/googleapis/java-shared-dependencies/issues/205)) ([6b12417](https://www.github.com/googleapis/java-shared-dependencies/commit/6b1241737d34e99a55acdcd439aa71ad28d1e26c)) +* update iam.version to v1.0.3 ([#206](https://www.github.com/googleapis/java-shared-dependencies/issues/206)) ([94a4e31](https://www.github.com/googleapis/java-shared-dependencies/commit/94a4e31634718a206ef0f5ff1a8801dc7be4c5c5)) + ### [0.14.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.0...v0.14.1) (2020-10-31) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index e426fd02280a..6360270a9bfd 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.14.1 + 0.15.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 88f39b675c1e..770407ec8aba 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 - 0.14.2-SNAPSHOT + 0.15.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index e47a3a1345a1..bd36bfd2f50b 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.14.1:0.14.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.15.0:0.15.0 \ No newline at end of file From c1447ef86c74fb2a6b6985cf8250d379f75f8d89 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2020 09:10:09 +0000 Subject: [PATCH 1153/3036] chore: release 1.94.1-SNAPSHOT (#332) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 9f863c518885..ee6ea963892c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.0 + 1.94.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.0 + 1.94.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.0 + 1.94.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.0 + 1.94.1-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 82aeb7547a8b..965000b6254b 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 - 1.94.0 + 1.94.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.0 + 1.94.1-SNAPSHOT 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 922700c33890..ee7cb88f8460 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 - 1.94.0 + 1.94.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.0 + 1.94.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 084acfbdb890..3961484a634f 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 - 1.94.0 + 1.94.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.0 + 1.94.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 7b1e0bbe1db7..d35bbde15cac 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.0 + 1.94.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 97c42f62d636..86d641dfc488 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.0:1.94.0 \ No newline at end of file +google-cloud-core:1.94.0:1.94.1-SNAPSHOT \ No newline at end of file From 155b03257074630024349cdbe1c998d9e44aa53d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 13 Nov 2020 13:14:12 -0800 Subject: [PATCH 1154/3036] build(java): use code-suggester v1 tag rather than full semver (#66) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/cf0f5aec-a0e5-45d4-a0ed-03aa604b2ba0/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7d652819519dfa24da9e14548232e4aaba71a11c --- java-iam/.github/workflows/formatting.yaml | 2 +- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/workflows/formatting.yaml b/java-iam/.github/workflows/formatting.yaml index d4d367cfce03..6844407b4d97 100644 --- a/java-iam/.github/workflows/formatting.yaml +++ b/java-iam/.github/workflows/formatting.yaml @@ -18,7 +18,7 @@ jobs: with: java-version: 11 - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1.8.0 + - uses: googleapis/code-suggester@v1 with: command: review pull_number: ${{ github.event.pull_request.number }} diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 1c4c9faf5644..d7753ac3ed2b 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "f8f256333870197b3caf68d90cee1242c4235084" + "sha": "c203bb9526819107258c95f113d74f391be35ddd" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279" + "sha": "7d652819519dfa24da9e14548232e4aaba71a11c" } } ], From d7995c56dd6dab8cc7a8a6ba5747de7d7db726d5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 13 Nov 2020 13:14:43 -0800 Subject: [PATCH 1155/3036] build(java): use code-suggester v1 tag rather than full semver (#334) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/46d21ebc-352c-40a7-a3eb-c0d98306d320/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7d652819519dfa24da9e14548232e4aaba71a11c --- java-core/.github/workflows/formatting.yaml | 2 +- java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/.github/workflows/formatting.yaml b/java-core/.github/workflows/formatting.yaml index d4d367cfce03..6844407b4d97 100644 --- a/java-core/.github/workflows/formatting.yaml +++ b/java-core/.github/workflows/formatting.yaml @@ -18,7 +18,7 @@ jobs: with: java-version: 11 - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1.8.0 + - uses: googleapis/code-suggester@v1 with: command: review pull_number: ${{ github.event.pull_request.number }} diff --git a/java-core/synth.metadata b/java-core/synth.metadata index f289daa4de9e..a047df3c12af 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "4ff835d66de0f7d6d6cc4ab912ea707911731c60" + "sha": "70b38eb1c30c439b5530c439b0673067ae17a9ac" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279" + "sha": "7d652819519dfa24da9e14548232e4aaba71a11c" } } ], From 959902887b351db55d5f5d37003dbac525bb9d54 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 17 Nov 2020 13:45:09 -0800 Subject: [PATCH 1156/3036] chore(java): ignore return code 28 in README autosynth job (#211) Exit code 28 is returned if no changes are required and should not be considered a failure. Source-Author: Jeff Ching Source-Date: Mon Nov 9 14:51:28 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279 Source-Link: https://github.com/googleapis/synthtool/commit/7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279 --- java-shared-dependencies/.kokoro/readme.sh | 11 ++++++++++- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.kokoro/readme.sh b/java-shared-dependencies/.kokoro/readme.sh index 1ad6b149ded6..22352fa003e4 100755 --- a/java-shared-dependencies/.kokoro/readme.sh +++ b/java-shared-dependencies/.kokoro/readme.sh @@ -28,9 +28,18 @@ echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials git config --global credential.helper 'store --file ~/.git-credentials' python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool + +set +e python3.6 -m autosynth.synth \ --repository=googleapis/java-shared-dependencies \ --synth-file-name=.github/readme/synth.py \ --metadata-path=.github/readme/synth.metadata \ --pr-title="chore: regenerate README" \ - --branch-suffix="readme" \ No newline at end of file + --branch-suffix="readme" + +# autosynth returns 28 to signal there are no changes +RETURN_CODE=$? +if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] +then + exit ${RETURN_CODE} +fi diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 11eb219c1193..f573bae578fb 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "e6fc95a27ec4c3c6419da3e40157f64da24e1c73" + "sha": "b09094fe36f28dad83d51d71017835c0daa40bef" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c7824ea48ff6d4d42dfae0849aec8a85acd90bd9" + "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279" } } ], From a0feaa66df7af48ca1be83337ebe8223146fc1c9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2020 21:52:05 +0000 Subject: [PATCH 1157/3036] chore: release 0.15.1-SNAPSHOT (#219) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 770407ec8aba..45d5373a50c6 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 - 0.15.0 + 0.15.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index bd36bfd2f50b..37220cd92325 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.15.0:0.15.0 \ No newline at end of file +google-cloud-shared-dependencies:0.15.0:0.15.1-SNAPSHOT \ No newline at end of file From fe5f17e2d7e1e4207cbec8c7549093baf761c021 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 17 Nov 2020 15:50:08 -0800 Subject: [PATCH 1158/3036] chore: regen common template (#220) * build(java): use code-suggester v1 tag rather than full semver Source-Author: Jeff Ching Source-Date: Thu Nov 12 10:07:08 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 7d652819519dfa24da9e14548232e4aaba71a11c Source-Link: https://github.com/googleapis/synthtool/commit/7d652819519dfa24da9e14548232e4aaba71a11c * build(java): use actions/github-script v3 tag rather than full semver So that renovate-bot stops proposing PRs like [this](https://github.com/googleapis/java-bigquerydatatransfer/pull/515/files)! Source-Author: Stephanie Wang Source-Date: Tue Nov 17 13:02:02 2020 -0500 Source-Repo: googleapis/synthtool Source-Sha: 7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58 Source-Link: https://github.com/googleapis/synthtool/commit/7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58 --- .../.github/workflows/approve-readme.yaml | 2 +- java-shared-dependencies/.github/workflows/auto-release.yaml | 2 +- java-shared-dependencies/.github/workflows/formatting.yaml | 2 +- java-shared-dependencies/synth.metadata | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/approve-readme.yaml b/java-shared-dependencies/.github/workflows/approve-readme.yaml index e2d841d6c5a0..7513acaebcc2 100644 --- a/java-shared-dependencies/.github/workflows/approve-readme.yaml +++ b/java-shared-dependencies/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3.0.0 + - uses: actions/github-script@v3 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-shared-dependencies/.github/workflows/auto-release.yaml b/java-shared-dependencies/.github/workflows/auto-release.yaml index bc1554aecba2..2b6cdbc976c4 100644 --- a/java-shared-dependencies/.github/workflows/auto-release.yaml +++ b/java-shared-dependencies/.github/workflows/auto-release.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-v') steps: - - uses: actions/github-script@v3.0.0 + - uses: actions/github-script@v3 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true diff --git a/java-shared-dependencies/.github/workflows/formatting.yaml b/java-shared-dependencies/.github/workflows/formatting.yaml index d4d367cfce03..6844407b4d97 100644 --- a/java-shared-dependencies/.github/workflows/formatting.yaml +++ b/java-shared-dependencies/.github/workflows/formatting.yaml @@ -18,7 +18,7 @@ jobs: with: java-version: 11 - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1.8.0 + - uses: googleapis/code-suggester@v1 with: command: review pull_number: ${{ github.event.pull_request.number }} diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index f573bae578fb..7b513acb77a4 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "b09094fe36f28dad83d51d71017835c0daa40bef" + "sha": "f3a67f4703150cbc257df5dd16a658f3a8790103" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279" + "sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58" } } ], From 80c78fc1d4aa8c399cd3b21b407b7864ebed016d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 18 Nov 2020 14:42:20 -0800 Subject: [PATCH 1159/3036] build(java): use actions/github-script v3 tag rather than full semver (#338) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ca2efad8-72a2-41d4-ad6c-8907efa86902/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58 --- java-core/.github/workflows/approve-readme.yaml | 2 +- java-core/.github/workflows/auto-release.yaml | 2 +- java-core/synth.metadata | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/.github/workflows/approve-readme.yaml b/java-core/.github/workflows/approve-readme.yaml index e2d841d6c5a0..7513acaebcc2 100644 --- a/java-core/.github/workflows/approve-readme.yaml +++ b/java-core/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3.0.0 + - uses: actions/github-script@v3 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index bc1554aecba2..2b6cdbc976c4 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-v') steps: - - uses: actions/github-script@v3.0.0 + - uses: actions/github-script@v3 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true diff --git a/java-core/synth.metadata b/java-core/synth.metadata index a047df3c12af..ca712eec4211 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "70b38eb1c30c439b5530c439b0673067ae17a9ac" + "sha": "a647e2964c0830355cfd6f0023e08b0863691083" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7d652819519dfa24da9e14548232e4aaba71a11c" + "sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58" } } ], From e65b36dc9ac545ab2c0d93188b71b99083a4b6c4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 18 Nov 2020 14:44:14 -0800 Subject: [PATCH 1160/3036] build(java): use actions/github-script v3 tag rather than full semver (#67) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/9d50f61c-ff2f-4887-bca8-202f42153ec7/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58 --- java-iam/.github/workflows/approve-readme.yaml | 2 +- java-iam/.github/workflows/auto-release.yaml | 2 +- java-iam/synth.metadata | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/.github/workflows/approve-readme.yaml b/java-iam/.github/workflows/approve-readme.yaml index e2d841d6c5a0..7513acaebcc2 100644 --- a/java-iam/.github/workflows/approve-readme.yaml +++ b/java-iam/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3.0.0 + - uses: actions/github-script@v3 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index bc1554aecba2..2b6cdbc976c4 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-v') steps: - - uses: actions/github-script@v3.0.0 + - uses: actions/github-script@v3 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index d7753ac3ed2b..fa29af84ad64 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "c203bb9526819107258c95f113d74f391be35ddd" + "sha": "084f52bd872be260eac6bd19b22339910a90eb32" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7d652819519dfa24da9e14548232e4aaba71a11c" + "sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58" } } ], From 2d76e4fea39533f2a5b75ede15f5d3599cb4a89a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 20 Nov 2020 08:12:14 -0800 Subject: [PATCH 1161/3036] chore(java): retry staging portion of the release with backoff (#221) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/407a758f-25d9-475d-8ed1-b8b2eb5d7c99/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/68742c6016bf0d16948a572633d17955a8737414 --- java-shared-dependencies/.kokoro/common.sh | 1 - .../.kokoro/release/stage.sh | 17 ++++++++++------- java-shared-dependencies/synth.metadata | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/.kokoro/common.sh b/java-shared-dependencies/.kokoro/common.sh index a8d0ea04d37d..ace89f45a9de 100644 --- a/java-shared-dependencies/.kokoro/common.sh +++ b/java-shared-dependencies/.kokoro/common.sh @@ -25,7 +25,6 @@ function retry_with_backoff { # allow a failures to continue set +e - echo "${command}" ${command} exit_code=$? diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh index 3c482cbc55f1..16126d2eb53f 100755 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -20,19 +20,22 @@ python3 -m pip install gcp-releasetool python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh +source $(dirname "$0")/../common.sh MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml pushd $(dirname "$0")/../../ setup_environment_secrets create_settings_xml_file "settings.xml" -mvn clean install deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DskipTests=true \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} +# attempt to stage 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DskipTests=true \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} if [[ -n "${AUTORELEASE_PR}" ]] then diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 7b513acb77a4..1d3581f28a2d 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "f3a67f4703150cbc257df5dd16a658f3a8790103" + "sha": "ab1e712dcaa302689f562d8be52c671f1e349f47" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58" + "sha": "68742c6016bf0d16948a572633d17955a8737414" } } ], From 9af5eb58f16a956eb74815db8207ac18c4d5c402 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 20 Nov 2020 08:12:20 -0800 Subject: [PATCH 1162/3036] chore(java): retry staging portion of the release with backoff (#69) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/9eafdecf-74c5-4e0f-92a9-aa61321347cd/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/68742c6016bf0d16948a572633d17955a8737414 --- java-iam/.kokoro/common.sh | 1 - java-iam/.kokoro/release/stage.sh | 17 ++++++++++------- java-iam/synth.metadata | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/java-iam/.kokoro/common.sh b/java-iam/.kokoro/common.sh index a8d0ea04d37d..ace89f45a9de 100644 --- a/java-iam/.kokoro/common.sh +++ b/java-iam/.kokoro/common.sh @@ -25,7 +25,6 @@ function retry_with_backoff { # allow a failures to continue set +e - echo "${command}" ${command} exit_code=$? diff --git a/java-iam/.kokoro/release/stage.sh b/java-iam/.kokoro/release/stage.sh index 3c482cbc55f1..16126d2eb53f 100755 --- a/java-iam/.kokoro/release/stage.sh +++ b/java-iam/.kokoro/release/stage.sh @@ -20,19 +20,22 @@ python3 -m pip install gcp-releasetool python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh +source $(dirname "$0")/../common.sh MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml pushd $(dirname "$0")/../../ setup_environment_secrets create_settings_xml_file "settings.xml" -mvn clean install deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DskipTests=true \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} +# attempt to stage 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DskipTests=true \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} if [[ -n "${AUTORELEASE_PR}" ]] then diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index fa29af84ad64..35c7552675ed 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "084f52bd872be260eac6bd19b22339910a90eb32" + "sha": "df4a8d64930990062213ff9c0a9960456b281daf" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58" + "sha": "68742c6016bf0d16948a572633d17955a8737414" } } ], From 494fd669178153bdc7c223fae0ff3e64b8e1161d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 23 Nov 2020 09:22:14 -0800 Subject: [PATCH 1163/3036] chore(java): retry staging portion of the release with backoff (#339) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a571fa0d-937f-4072-b361-6272dcdc7f29/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/68742c6016bf0d16948a572633d17955a8737414 --- java-core/.kokoro/common.sh | 1 - java-core/.kokoro/release/stage.sh | 17 ++++++++++------- java-core/synth.metadata | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/java-core/.kokoro/common.sh b/java-core/.kokoro/common.sh index a8d0ea04d37d..ace89f45a9de 100644 --- a/java-core/.kokoro/common.sh +++ b/java-core/.kokoro/common.sh @@ -25,7 +25,6 @@ function retry_with_backoff { # allow a failures to continue set +e - echo "${command}" ${command} exit_code=$? diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh index 3c482cbc55f1..16126d2eb53f 100755 --- a/java-core/.kokoro/release/stage.sh +++ b/java-core/.kokoro/release/stage.sh @@ -20,19 +20,22 @@ python3 -m pip install gcp-releasetool python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh +source $(dirname "$0")/../common.sh MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml pushd $(dirname "$0")/../../ setup_environment_secrets create_settings_xml_file "settings.xml" -mvn clean install deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DskipTests=true \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} +# attempt to stage 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn clean install deploy -B \ + --settings ${MAVEN_SETTINGS_FILE} \ + -DskipTests=true \ + -DperformRelease=true \ + -Dgpg.executable=gpg \ + -Dgpg.passphrase=${GPG_PASSPHRASE} \ + -Dgpg.homedir=${GPG_HOMEDIR} if [[ -n "${AUTORELEASE_PR}" ]] then diff --git a/java-core/synth.metadata b/java-core/synth.metadata index ca712eec4211..39efc199c70e 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "a647e2964c0830355cfd6f0023e08b0863691083" + "sha": "23b5b1d8cdc1c48677e6305ac388ef50a33d6fc1" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58" + "sha": "68742c6016bf0d16948a572633d17955a8737414" } } ], From 6eb517a2074c63338b269c82e71c4c87566df8fc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 24 Nov 2020 13:14:18 -0800 Subject: [PATCH 1164/3036] build(java): enable blunderbuss for samples (#70) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/de101f5f-63ce-454a-b70d-36a3892916ea/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/943bb78606d035001123030067dffcc34f4645f2 --- java-iam/.github/blunderbuss.yml | 7 +++++++ java-iam/synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 java-iam/.github/blunderbuss.yml diff --git a/java-iam/.github/blunderbuss.yml b/java-iam/.github/blunderbuss.yml new file mode 100644 index 000000000000..1a23ea42b141 --- /dev/null +++ b/java-iam/.github/blunderbuss.yml @@ -0,0 +1,7 @@ +# Configuration for the Blunderbuss GitHub app. For more info see +# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +assign_prs_by: +- labels: + - samples + to: + - googleapis/java-samples-reviewers \ No newline at end of file diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 35c7552675ed..173d232335c8 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "df4a8d64930990062213ff9c0a9960456b281daf" + "sha": "f600b0ed32d65c4e4aa3d83ac0602050fdfbcfd3" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "68742c6016bf0d16948a572633d17955a8737414" + "sha": "943bb78606d035001123030067dffcc34f4645f2" } } ], @@ -29,6 +29,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/blunderbuss.yml", ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", From 74eeb88b027bb3363ef7fe0cf7230c223001d204 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 24 Nov 2020 13:41:02 -0800 Subject: [PATCH 1165/3036] build(java): enable blunderbuss for samples (#224) Source-Author: Jeff Ching Source-Date: Mon Nov 23 10:23:01 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 943bb78606d035001123030067dffcc34f4645f2 Source-Link: https://github.com/googleapis/synthtool/commit/943bb78606d035001123030067dffcc34f4645f2 --- java-shared-dependencies/.github/blunderbuss.yml | 7 +++++++ java-shared-dependencies/synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 java-shared-dependencies/.github/blunderbuss.yml diff --git a/java-shared-dependencies/.github/blunderbuss.yml b/java-shared-dependencies/.github/blunderbuss.yml new file mode 100644 index 000000000000..1a23ea42b141 --- /dev/null +++ b/java-shared-dependencies/.github/blunderbuss.yml @@ -0,0 +1,7 @@ +# Configuration for the Blunderbuss GitHub app. For more info see +# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +assign_prs_by: +- labels: + - samples + to: + - googleapis/java-samples-reviewers \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 1d3581f28a2d..007cc18b5b92 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "ab1e712dcaa302689f562d8be52c671f1e349f47" + "sha": "5cb871ec7f0a69138126fdc0775efb47a9243151" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "68742c6016bf0d16948a572633d17955a8737414" + "sha": "943bb78606d035001123030067dffcc34f4645f2" } } ], @@ -21,6 +21,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/blunderbuss.yml", ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/snippet-bot.yml", From b093144c2fb5808c686b0f9165b83621102f84af Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 24 Nov 2020 13:42:51 -0800 Subject: [PATCH 1166/3036] build(java): enable blunderbuss for samples Source-Author: Jeff Ching Source-Date: Mon Nov 23 10:23:01 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 943bb78606d035001123030067dffcc34f4645f2 Source-Link: https://github.com/googleapis/synthtool/commit/943bb78606d035001123030067dffcc34f4645f2 --- java-core/.github/blunderbuss.yml | 7 +++++++ java-core/synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/blunderbuss.yml diff --git a/java-core/.github/blunderbuss.yml b/java-core/.github/blunderbuss.yml new file mode 100644 index 000000000000..1a23ea42b141 --- /dev/null +++ b/java-core/.github/blunderbuss.yml @@ -0,0 +1,7 @@ +# Configuration for the Blunderbuss GitHub app. For more info see +# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +assign_prs_by: +- labels: + - samples + to: + - googleapis/java-samples-reviewers \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 39efc199c70e..97b864aef18d 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "23b5b1d8cdc1c48677e6305ac388ef50a33d6fc1" + "sha": "000e922b7b6bd93c68271520eec2cf524bafb2c4" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "68742c6016bf0d16948a572633d17955a8737414" + "sha": "943bb78606d035001123030067dffcc34f4645f2" } } ], @@ -21,6 +21,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/blunderbuss.yml", ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", From 0059bae59590f97302595fc7e5db25b8f578c999 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Nov 2020 14:05:02 +0100 Subject: [PATCH 1167/3036] deps: update gax.version to v1.60.1 (#223) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 45d5373a50c6..047adb4f5c2d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.33.1 - 1.60.0 + 1.60.1 30.0-android 3.13.0 1.10.1 From b2204acb10d1d58e90d5de667b15996919d46442 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Nov 2020 14:06:08 +0100 Subject: [PATCH 1168/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.14.0 (#217) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 047adb4f5c2d..f396e800a026 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.33.1 1.60.1 30.0-android - 3.13.0 + 3.14.0 1.10.1 2.0.1 1.93.10 From 4327750a5b1fff2db878309b66af2390b92df0b9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Nov 2020 14:06:30 +0100 Subject: [PATCH 1169/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.1 (#215) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f396e800a026..8771bdee61cf 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 1.93.10 0.22.0 1.38.0 - 1.30.11 + 1.31.1 2.8.6 1.5.0 1.3.2 From e618f056f4d59da7585bb5071ddf4cd263731035 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 30 Nov 2020 14:07:03 +0100 Subject: [PATCH 1170/3036] deps: update google.core.version to v1.94.0 (#212) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8771bdee61cf..75aab78c9344 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.14.0 1.10.1 2.0.1 - 1.93.10 + 1.94.0 0.22.0 1.38.0 1.31.1 From 2ea81fa75dbf7e4fd58354709a02ebfa419bd8ce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Dec 2020 16:51:32 +0100 Subject: [PATCH 1171/3036] deps: update dependency io.grpc:grpc-bom to v1.34.0 (#228) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 75aab78c9344..2001f00874c3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.33.1 + 1.34.0 1.60.1 30.0-android 3.14.0 From ed1c6692b0e15e70da38017c9e58b14cecbb7d42 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Dec 2020 16:53:33 +0100 Subject: [PATCH 1172/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 (#225) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2001f00874c3..ed7f63b3e024 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -73,7 +73,7 @@ 0.24.0 3.0.2 2.4.0 - 2.11.3 + 2.12.0 From 179da4a132e2d8f414c8616d361337bf18772a19 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2020 16:24:03 +0000 Subject: [PATCH 1173/3036] chore: release 0.16.0 (#227) :robot: I have created a release \*beep\* \*boop\* --- ## [0.16.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.15.0...v0.16.0) (2020-12-02) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#225](https://www.github.com/googleapis/java-shared-dependencies/issues/225)) ([ed1c669](https://www.github.com/googleapis/java-shared-dependencies/commit/ed1c6692b0e15e70da38017c9e58b14cecbb7d42)) * update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#215](https://www.github.com/googleapis/java-shared-dependencies/issues/215)) ([4327750](https://www.github.com/googleapis/java-shared-dependencies/commit/4327750a5b1fff2db878309b66af2390b92df0b9)) * update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#217](https://www.github.com/googleapis/java-shared-dependencies/issues/217)) ([b2204ac](https://www.github.com/googleapis/java-shared-dependencies/commit/b2204acb10d1d58e90d5de667b15996919d46442)) * update dependency io.grpc:grpc-bom to v1.34.0 ([#228](https://www.github.com/googleapis/java-shared-dependencies/issues/228)) ([2ea81fa](https://www.github.com/googleapis/java-shared-dependencies/commit/2ea81fa75dbf7e4fd58354709a02ebfa419bd8ce)) * update gax.version to v1.60.1 ([#223](https://www.github.com/googleapis/java-shared-dependencies/issues/223)) ([0059bae](https://www.github.com/googleapis/java-shared-dependencies/commit/0059bae59590f97302595fc7e5db25b8f578c999)) * update google.core.version to v1.94.0 ([#212](https://www.github.com/googleapis/java-shared-dependencies/issues/212)) ([e618f05](https://www.github.com/googleapis/java-shared-dependencies/commit/e618f056f4d59da7585bb5071ddf4cd263731035)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 1c7a654efad3..928258b18795 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.16.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.15.0...v0.16.0) (2020-12-02) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#225](https://www.github.com/googleapis/java-shared-dependencies/issues/225)) ([b78a1ef](https://www.github.com/googleapis/java-shared-dependencies/commit/b78a1ef83ad946b0d29cd0dff46e48fbde44d120)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#215](https://www.github.com/googleapis/java-shared-dependencies/issues/215)) ([08d643a](https://www.github.com/googleapis/java-shared-dependencies/commit/08d643aaf289984b87d734274830712af82585b6)) +* update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#217](https://www.github.com/googleapis/java-shared-dependencies/issues/217)) ([01a9c64](https://www.github.com/googleapis/java-shared-dependencies/commit/01a9c6442906e8482a53712eba95ccc6f7040928)) +* update dependency io.grpc:grpc-bom to v1.34.0 ([#228](https://www.github.com/googleapis/java-shared-dependencies/issues/228)) ([425d1ea](https://www.github.com/googleapis/java-shared-dependencies/commit/425d1eab2a046c365f816f946576e4030e7c3696)) +* update gax.version to v1.60.1 ([#223](https://www.github.com/googleapis/java-shared-dependencies/issues/223)) ([84c75bd](https://www.github.com/googleapis/java-shared-dependencies/commit/84c75bdbd3f86ef7187373289ee08ad3a0c24719)) +* update google.core.version to v1.94.0 ([#212](https://www.github.com/googleapis/java-shared-dependencies/issues/212)) ([764ef5e](https://www.github.com/googleapis/java-shared-dependencies/commit/764ef5e9a2272cd9244a8fc5cc107ffacf9e9d5b)) + ## [0.15.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.1...v0.15.0) (2020-11-10) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 6360270a9bfd..fc84aac68335 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.15.0 + 0.16.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ed7f63b3e024..94d0a739f95b 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 - 0.15.1-SNAPSHOT + 0.16.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 37220cd92325..45ffaaafefa8 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.15.0:0.15.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.16.0:0.16.0 \ No newline at end of file From 851327bb4b3279e3091afec3a94709e278622cd4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Dec 2020 22:26:09 +0100 Subject: [PATCH 1174/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 (#68) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.14.1` -> `0.16.0` | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.16.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0160-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0150v0160-2020-12-02) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.15.0...v0.16.0) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#​225](https://www.github.com/googleapis/java-shared-dependencies/issues/225)) ([b78a1ef](https://www.github.com/googleapis/java-shared-dependencies/commit/b78a1ef83ad946b0d29cd0dff46e48fbde44d120)) - update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#​215](https://www.github.com/googleapis/java-shared-dependencies/issues/215)) ([08d643a](https://www.github.com/googleapis/java-shared-dependencies/commit/08d643aaf289984b87d734274830712af82585b6)) - update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#​217](https://www.github.com/googleapis/java-shared-dependencies/issues/217)) ([01a9c64](https://www.github.com/googleapis/java-shared-dependencies/commit/01a9c6442906e8482a53712eba95ccc6f7040928)) - update dependency io.grpc:grpc-bom to v1.34.0 ([#​228](https://www.github.com/googleapis/java-shared-dependencies/issues/228)) ([425d1ea](https://www.github.com/googleapis/java-shared-dependencies/commit/425d1eab2a046c365f816f946576e4030e7c3696)) - update gax.version to v1.60.1 ([#​223](https://www.github.com/googleapis/java-shared-dependencies/issues/223)) ([84c75bd](https://www.github.com/googleapis/java-shared-dependencies/commit/84c75bdbd3f86ef7187373289ee08ad3a0c24719)) - update google.core.version to v1.94.0 ([#​212](https://www.github.com/googleapis/java-shared-dependencies/issues/212)) ([764ef5e](https://www.github.com/googleapis/java-shared-dependencies/commit/764ef5e9a2272cd9244a8fc5cc107ffacf9e9d5b)) ### [`v0.15.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0150-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0141v0150-2020-11-10) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.14.1...v0.15.0) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#​207](https://www.github.com/googleapis/java-shared-dependencies/issues/207)) ([5e3198d](https://www.github.com/googleapis/java-shared-dependencies/commit/5e3198de5e1d0fe55c4d947b12984db7726059da)) - update google.common-protos.version to v2.0.1 ([#​205](https://www.github.com/googleapis/java-shared-dependencies/issues/205)) ([6b12417](https://www.github.com/googleapis/java-shared-dependencies/commit/6b1241737d34e99a55acdcd439aa71ad28d1e26c)) - update iam.version to v1.0.3 ([#​206](https://www.github.com/googleapis/java-shared-dependencies/issues/206)) ([94a4e31](https://www.github.com/googleapis/java-shared-dependencies/commit/94a4e31634718a206ef0f5ff1a8801dc7be4c5c5)) ##### [0.14.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.14.0...v0.14.1) (2020-10-31) ##### Dependencies - update google.core.version to v1.93.10 ([#​200](https://www.github.com/googleapis/java-shared-dependencies/issues/200)) ([2d73dc1](https://www.github.com/googleapis/java-shared-dependencies/commit/2d73dc152469d175c74f85c5c76dcc67993c9783))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b00b05aebcf8..101065240cd1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.14.1 + 0.16.0 pom import From 735da77673c727a3d68047a8ebac515de49e2475 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2020 22:18:17 +0000 Subject: [PATCH 1175/3036] chore: release 1.0.4 (#72) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.4](https://www.github.com/googleapis/java-iam/compare/v1.0.3...v1.0.4) (2020-12-02) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#68](https://www.github.com/googleapis/java-iam/issues/68)) ([851327b](https://www.github.com/googleapis/java-iam/commit/851327bb4b3279e3091afec3a94709e278622cd4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 8c4d1ab12e7b..fb962db9e561 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.4](https://www.github.com/googleapis/java-iam/compare/v1.0.3...v1.0.4) (2020-12-02) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.0 ([#68](https://www.github.com/googleapis/java-iam/issues/68)) ([c8cd19f](https://www.github.com/googleapis/java-iam/commit/c8cd19fa85ebd148b681d354b4807d042ba5308e)) + ### [1.0.3](https://www.github.com/googleapis/java-iam/compare/v1.0.2...v1.0.3) (2020-11-02) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 3e965374e954..229dc77509d2 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.0.4-SNAPSHOT + 1.0.4 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.4-SNAPSHOT + 1.0.4 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 101065240cd1..f1552884115c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.4-SNAPSHOT + 1.0.4 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.4-SNAPSHOT + 1.0.4 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 311cbee3ecbe..9728bf187e6c 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.4-SNAPSHOT + 1.0.4 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.4-SNAPSHOT + 1.0.4 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7204c895a55a..57d9dab13581 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.3:1.0.4-SNAPSHOT +proto-google-iam-v1:1.0.4:1.0.4 From d7f41865e1f595417cf9366cc063bd99221a7a33 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2020 09:24:22 +0000 Subject: [PATCH 1176/3036] chore: release 1.0.5-SNAPSHOT (#73) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 229dc77509d2..a8cda589b79c 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.0.4 + 1.0.5-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.4 + 1.0.5-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f1552884115c..72b64b9acff2 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.4 + 1.0.5-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.4 + 1.0.5-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 9728bf187e6c..e2b4779d58a3 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.4 + 1.0.5-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.4 + 1.0.5-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 57d9dab13581..817211881c4a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.4:1.0.4 +proto-google-iam-v1:1.0.4:1.0.5-SNAPSHOT From e7ef5c3d81a153c752e2173148a1d0a55f2d684b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 8 Dec 2020 11:20:32 -0800 Subject: [PATCH 1177/3036] chore: Update publish_javadoc.sh (#344) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ac2da3dd-6246-4a6b-aec0-9614b3823dfa/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5d11bd2888c38ce1fb6fa6bf25494a4219a73928 --- java-core/.kokoro/release/publish_javadoc.sh | 7 ++++--- java-core/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index b946fb091d4a..6c8784f8fce6 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -38,8 +38,8 @@ python3 -m pip install gcp-docuploader # compile all packages mvn clean install -B -q -DskipTests=true -NAME=google-cloud-core -VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) +export NAME=google-cloud-core +export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs mvn site -B -q @@ -59,7 +59,8 @@ python3 -m docuploader upload . \ popd -# V2 +# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. + mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" pushd target/devsite/reference diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 97b864aef18d..7a23dcd1a164 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "000e922b7b6bd93c68271520eec2cf524bafb2c4" + "sha": "3fa062071df408e2888fcb641e4d14992ceb8e1a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "943bb78606d035001123030067dffcc34f4645f2" + "sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928" } } ], From 7266847d6977debc4d6f0ea0e25f4f252e9c053b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 8 Dec 2020 11:22:15 -0800 Subject: [PATCH 1178/3036] chore: Update publish_javadoc.sh (#75) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/81f3ee10-5fde-4b9f-b14d-83629efb3093/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5d11bd2888c38ce1fb6fa6bf25494a4219a73928 --- java-iam/.kokoro/release/publish_javadoc.sh | 7 ++++--- java-iam/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index 01ca17840393..e4cd2b47a21e 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -38,8 +38,8 @@ python3 -m pip install gcp-docuploader # compile all packages mvn clean install -B -q -DskipTests=true -NAME=proto-google-iam-v1 -VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) +export NAME=proto-google-iam-v1 +export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs mvn site -B -q @@ -59,7 +59,8 @@ python3 -m docuploader upload . \ popd -# V2 +# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. + mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" pushd target/devsite/reference diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 173d232335c8..bc14a45197ee 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "f600b0ed32d65c4e4aa3d83ac0602050fdfbcfd3" + "sha": "3260b0f80f9c5f79e37a130cd08012df2237cecf" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "943bb78606d035001123030067dffcc34f4645f2" + "sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928" } } ], From efd236ef42a13aa93f5b106039ebffa02650e799 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Dec 2020 18:56:40 +0100 Subject: [PATCH 1179/3036] deps: update iam.version to v1.0.4 (#231) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 94d0a739f95b..991d414e26f5 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.19 - 1.0.3 + 1.0.4 0.24.0 3.0.2 2.4.0 From 9e6cf00027145ed3c4b5523542fe7c232b939200 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 10 Dec 2020 09:59:59 -0800 Subject: [PATCH 1180/3036] chore: Update publish_javadoc.sh (#230) * (chore) Update publish_javadoc.sh * add `export` to the envVar's to make sure maven knows about them. * report the Java version * chore: update script * remove `java -version` Co-authored-by: Jeffrey Rennie Source-Author: Les Vogel Source-Date: Mon Dec 7 09:37:58 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 5d11bd2888c38ce1fb6fa6bf25494a4219a73928 Source-Link: https://github.com/googleapis/synthtool/commit/5d11bd2888c38ce1fb6fa6bf25494a4219a73928 --- .../.kokoro/release/publish_javadoc.sh | 7 ++++--- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index 8a8c1a6bbf50..797d766b5ced 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -38,8 +38,8 @@ python3 -m pip install gcp-docuploader # compile all packages mvn clean install -B -q -DskipTests=true -NAME=google-cloud-shared-dependencies -VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) +export NAME=google-cloud-shared-dependencies +export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs mvn site -B -q @@ -59,7 +59,8 @@ python3 -m docuploader upload . \ popd -# V2 +# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. + mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" pushd target/devsite/reference diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 007cc18b5b92..d06ac6be73f4 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "5cb871ec7f0a69138126fdc0775efb47a9243151" + "sha": "954343304e1a11e74ed20e7eed194e748ff75a97" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "943bb78606d035001123030067dffcc34f4645f2" + "sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928" } } ], From 7fe580196e14b6d313a9d4e6f461a37cef5fde98 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 10 Dec 2020 18:04:03 +0000 Subject: [PATCH 1181/3036] chore: release 0.16.1-SNAPSHOT (#232) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 991d414e26f5..a4b776a5631c 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 - 0.16.0 + 0.16.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 45ffaaafefa8..94fbc8d531f8 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.16.0:0.16.0 \ No newline at end of file +google-cloud-shared-dependencies:0.16.0:0.16.1-SNAPSHOT \ No newline at end of file From 853ec1ed1058596054680fc8d771bc12a544a65e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Dec 2020 14:59:33 +0100 Subject: [PATCH 1182/3036] deps: update dependency com.google.api:gax-bom to v1.60.1 (#340) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d35bbde15cac..9364474dd3e6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.60.0 + 1.60.1 1.10.1 2.0.1 1.0.3 From dc4ef2ca85fcf50a27cdc4bb789ea571255b808b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Dec 2020 14:59:53 +0100 Subject: [PATCH 1183/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.1 (#331) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9364474dd3e6..7b96b3130c14 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.0.1 1.0.3 0.22.0 - 1.30.11 + 1.31.1 1.38.0 1.33.1 3.13.0 From 800bbd3840766f6a91f58097aeef67556ce826cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Dec 2020 15:00:12 +0100 Subject: [PATCH 1184/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.14.0 (#335) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7b96b3130c14..cd292ee6c5b5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.1 1.38.0 1.33.1 - 3.13.0 + 3.14.0 0.24.0 1.3.2 30.0-android From d4a4dc221e98ce39081644b5accb724e069cd6c8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Dec 2020 20:18:57 +0100 Subject: [PATCH 1185/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.22.1 (#229) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a4b776a5631c..23ab362391ec 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.0.1 1.94.0 - 0.22.0 + 0.22.1 1.38.0 1.31.1 2.8.6 From 88c675d5c8cfbb39f4d0acc0f5a35a7b8b759f96 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Dec 2020 22:25:38 +0100 Subject: [PATCH 1186/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.22.2 (#235) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 23ab362391ec..4e8d567f9cd7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.0.1 1.94.0 - 0.22.1 + 0.22.2 1.38.0 1.31.1 2.8.6 From 85f40cdc76fcad9d29e016dd5ce81babdb3c6a96 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Mon, 14 Dec 2020 13:18:56 -0500 Subject: [PATCH 1187/3036] deps: rollback gRPC to 1.33.1 (#234) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4e8d567f9cd7..8b6a10db9f4b 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.34.0 + 1.33.1 1.60.1 30.0-android 3.14.0 From dee2ab95af19b02b6dda4a2432944f743044ac36 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 14 Dec 2020 11:02:30 -0800 Subject: [PATCH 1188/3036] chore: release 0.16.1 (#233) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 10 ++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 928258b18795..cc76720d854d 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### [0.16.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.0...v0.16.1) (2020-12-14) + + +### Dependencies + +* rollback gRPC to 1.33.1 ([#234](https://www.github.com/googleapis/java-shared-dependencies/issues/234)) ([67cc384](https://www.github.com/googleapis/java-shared-dependencies/commit/67cc384bacab8592d5bbc92db2469affee473eb7)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.1 ([#229](https://www.github.com/googleapis/java-shared-dependencies/issues/229)) ([1c13161](https://www.github.com/googleapis/java-shared-dependencies/commit/1c13161fa289cd5f3923f389fd5b14f3b7b4a84d)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#235](https://www.github.com/googleapis/java-shared-dependencies/issues/235)) ([67434eb](https://www.github.com/googleapis/java-shared-dependencies/commit/67434eb4bb0789abcabb3055155672b2c2e70125)) +* update iam.version to v1.0.4 ([#231](https://www.github.com/googleapis/java-shared-dependencies/issues/231)) ([5edf99e](https://www.github.com/googleapis/java-shared-dependencies/commit/5edf99e0149a1b70eb52b8921e9eb04fb84d9160)) + ## [0.16.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.15.0...v0.16.0) (2020-12-02) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index fc84aac68335..fe7226696c92 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.16.0 + 0.16.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8b6a10db9f4b..38a1ed5e4e3b 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 - 0.16.1-SNAPSHOT + 0.16.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 94fbc8d531f8..542c177b5c92 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.16.0:0.16.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.16.1:0.16.1 \ No newline at end of file From 56d7418f0fb22365c7daccedf26f401622e349fa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 14 Dec 2020 22:25:08 +0100 Subject: [PATCH 1189/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 72b64b9acff2..6d6bf515b4df 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.16.0 + 0.16.1 pom import From 2c62625f919da3eadb5ff4ca846c7df538cc421f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 14 Dec 2020 21:54:05 +0000 Subject: [PATCH 1190/3036] chore: release 1.0.5 (#77) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.5](https://www.github.com/googleapis/java-iam/compare/v1.0.4...v1.0.5) (2020-12-14) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 ([56d7418](https://www.github.com/googleapis/java-iam/commit/56d7418f0fb22365c7daccedf26f401622e349fa)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index fb962db9e561..28904ce1f3eb 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.5](https://www.github.com/googleapis/java-iam/compare/v1.0.4...v1.0.5) (2020-12-14) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.16.1 ([5f7cf81](https://www.github.com/googleapis/java-iam/commit/5f7cf81b8b82447155db8a23b16477a9c5e29a57)) + ### [1.0.4](https://www.github.com/googleapis/java-iam/compare/v1.0.3...v1.0.4) (2020-12-02) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a8cda589b79c..51b1626c6469 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.0.5-SNAPSHOT + 1.0.5 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.5-SNAPSHOT + 1.0.5 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6d6bf515b4df..3e54cbb98b77 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.5-SNAPSHOT + 1.0.5 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.5-SNAPSHOT + 1.0.5 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e2b4779d58a3..0777c11ce64d 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.5-SNAPSHOT + 1.0.5 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.5-SNAPSHOT + 1.0.5 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 817211881c4a..b3ab4dbd8361 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.4:1.0.5-SNAPSHOT +proto-google-iam-v1:1.0.5:1.0.5 From ed0ff1b0671b3f6d6fea35bfa3d990d1b83bccd6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 14 Dec 2020 22:48:10 +0000 Subject: [PATCH 1191/3036] chore: release 1.94.1 (#346) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.1](https://www.github.com/googleapis/java-core/compare/v1.94.0...v1.94.1) (2020-12-11) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#331](https://www.github.com/googleapis/java-core/issues/331)) ([dc4ef2c](https://www.github.com/googleapis/java-core/commit/dc4ef2ca85fcf50a27cdc4bb789ea571255b808b)) * update dependency com.google.api:gax-bom to v1.60.1 ([#340](https://www.github.com/googleapis/java-core/issues/340)) ([853ec1e](https://www.github.com/googleapis/java-core/commit/853ec1ed1058596054680fc8d771bc12a544a65e)) * update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#335](https://www.github.com/googleapis/java-core/issues/335)) ([800bbd3](https://www.github.com/googleapis/java-core/commit/800bbd3840766f6a91f58097aeef67556ce826cb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/CHANGELOG.md | 9 +++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 462f33337151..7b1368518971 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [1.94.1](https://www.github.com/googleapis/java-core/compare/v1.94.0...v1.94.1) (2020-12-11) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#331](https://www.github.com/googleapis/java-core/issues/331)) ([e01ec17](https://www.github.com/googleapis/java-core/commit/e01ec179163dfc0069ae34680abaef30b00e05e1)) +* update dependency com.google.api:gax-bom to v1.60.1 ([#340](https://www.github.com/googleapis/java-core/issues/340)) ([e3219b4](https://www.github.com/googleapis/java-core/commit/e3219b46a6a83a95795b77516426859959406d3a)) +* update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#335](https://www.github.com/googleapis/java-core/issues/335)) ([0fc6971](https://www.github.com/googleapis/java-core/commit/0fc6971a23f720102156de3bbcfe38eeff15fd94)) + ## [1.94.0](https://www.github.com/googleapis/java-core/compare/v1.93.10...v1.94.0) (2020-11-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index ee6ea963892c..c3683e19b82d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.1-SNAPSHOT + 1.94.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.1-SNAPSHOT + 1.94.1 com.google.cloud google-cloud-core-grpc - 1.94.1-SNAPSHOT + 1.94.1 com.google.cloud google-cloud-core-http - 1.94.1-SNAPSHOT + 1.94.1
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 965000b6254b..e590fd518a8a 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 - 1.94.1-SNAPSHOT + 1.94.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.1-SNAPSHOT + 1.94.1 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 ee7cb88f8460..dc618124083c 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 - 1.94.1-SNAPSHOT + 1.94.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.1-SNAPSHOT + 1.94.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3961484a634f..d5f55d1b6292 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 - 1.94.1-SNAPSHOT + 1.94.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.1-SNAPSHOT + 1.94.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index cd292ee6c5b5..3e74c2081642 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.1-SNAPSHOT + 1.94.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 86d641dfc488..9128be718fe4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.0:1.94.1-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.1:1.94.1 \ No newline at end of file From 260d90aaddc76648bbf6297c2e144e98c82ceccf Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Dec 2020 09:12:19 +0000 Subject: [PATCH 1192/3036] chore: release 1.0.6-SNAPSHOT (#79) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 51b1626c6469..cf4f2160febf 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.0.5 + 1.0.6-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.5 + 1.0.6-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3e54cbb98b77..f1c0382450f2 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.5 + 1.0.6-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.5 + 1.0.6-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 0777c11ce64d..be456d0b2925 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.5 + 1.0.6-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.5 + 1.0.6-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index b3ab4dbd8361..ed66916f8b1a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.5:1.0.5 +proto-google-iam-v1:1.0.5:1.0.6-SNAPSHOT From c81ad938557cb7764e2b33a20932271926162764 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Dec 2020 09:14:13 +0000 Subject: [PATCH 1193/3036] chore: release 1.94.2-SNAPSHOT (#349) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c3683e19b82d..bae4b3b08fb2 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.1 + 1.94.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.1 + 1.94.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.1 + 1.94.2-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.1 + 1.94.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e590fd518a8a..bcf91064cf70 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 - 1.94.1 + 1.94.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.1 + 1.94.2-SNAPSHOT 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 dc618124083c..3d0161fe4af5 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 - 1.94.1 + 1.94.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.1 + 1.94.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d5f55d1b6292..176fe2a18b5d 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 - 1.94.1 + 1.94.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.1 + 1.94.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3e74c2081642..5deddc9588c6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.1 + 1.94.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9128be718fe4..4d2387a2e012 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.1:1.94.1 \ No newline at end of file +google-cloud-core:1.94.1:1.94.2-SNAPSHOT \ No newline at end of file From 02da040ca6adb8724f56d132b3e9bca38154318d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Dec 2020 17:16:51 +0100 Subject: [PATCH 1194/3036] deps: update dependency io.grpc:grpc-bom to v1.34.1 (#238) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 38a1ed5e4e3b..07970e579ccd 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.33.1 + 1.34.1 1.60.1 30.0-android 3.14.0 From dc6da33cef45fb4abb070a2bc9c4d639eea20b2f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Dec 2020 16:24:03 +0000 Subject: [PATCH 1195/3036] chore: release 0.16.2-SNAPSHOT (#239) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 07970e579ccd..cd54968f8255 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 - 0.16.1 + 0.16.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 542c177b5c92..b1ed58912bec 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.16.1:0.16.1 \ No newline at end of file +google-cloud-shared-dependencies:0.16.1:0.16.2-SNAPSHOT \ No newline at end of file From 80934ffe825c111a8afe6c65c4cafa4c884280df Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Dec 2020 17:39:12 +0100 Subject: [PATCH 1196/3036] deps: update iam.version to v1.0.5 (#237) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cd54968f8255..0e40407e58e3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.19 - 1.0.4 + 1.0.5 0.24.0 3.0.2 2.4.0 From 06706f3fa21058f12972ef4783e1d7c552f8e8ad Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Dec 2020 17:39:27 +0100 Subject: [PATCH 1197/3036] deps: update dependency com.google.guava:guava-bom to v30.1-android (#236) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0e40407e58e3..8f8922d79002 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -57,7 +57,7 @@ 1.34.1 1.60.1 - 30.0-android + 30.1-android 3.14.0 1.10.1 2.0.1 From c3b28bce61586a5464d670043b11ce38d12d4de2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Dec 2020 16:46:08 +0000 Subject: [PATCH 1198/3036] chore: release 0.17.0 (#241) :robot: I have created a release \*beep\* \*boop\* --- ## [0.17.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.1...v0.17.0) (2020-12-15) ### Dependencies * update dependency com.google.guava:guava-bom to v30.1-android ([#236](https://www.github.com/googleapis/java-shared-dependencies/issues/236)) ([06706f3](https://www.github.com/googleapis/java-shared-dependencies/commit/06706f3fa21058f12972ef4783e1d7c552f8e8ad)) * update dependency io.grpc:grpc-bom to v1.34.1 ([#238](https://www.github.com/googleapis/java-shared-dependencies/issues/238)) ([02da040](https://www.github.com/googleapis/java-shared-dependencies/commit/02da040ca6adb8724f56d132b3e9bca38154318d)) * update iam.version to v1.0.5 ([#237](https://www.github.com/googleapis/java-shared-dependencies/issues/237)) ([80934ff](https://www.github.com/googleapis/java-shared-dependencies/commit/80934ffe825c111a8afe6c65c4cafa4c884280df)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/CHANGELOG.md | 9 +++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index cc76720d854d..1edd0eefb02f 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [0.17.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.1...v0.17.0) (2020-12-15) + + +### Dependencies + +* update dependency com.google.guava:guava-bom to v30.1-android ([#236](https://www.github.com/googleapis/java-shared-dependencies/issues/236)) ([78ebf7f](https://www.github.com/googleapis/java-shared-dependencies/commit/78ebf7fcec3ec0308ccd5103b719f02dde7ec6d8)) +* update dependency io.grpc:grpc-bom to v1.34.1 ([#238](https://www.github.com/googleapis/java-shared-dependencies/issues/238)) ([ee7e020](https://www.github.com/googleapis/java-shared-dependencies/commit/ee7e020a4631f2b288d1c6f5d681423d156e3c2d)) +* update iam.version to v1.0.5 ([#237](https://www.github.com/googleapis/java-shared-dependencies/issues/237)) ([bbe6be6](https://www.github.com/googleapis/java-shared-dependencies/commit/bbe6be650a93cf365f2439ae9c8bebf2ade83ddd)) + ### [0.16.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.0...v0.16.1) (2020-12-14) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index fe7226696c92..4ec08dfe3fe7 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.16.1 + 0.17.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8f8922d79002..6178bc78ebca 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 - 0.16.2-SNAPSHOT + 0.17.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index b1ed58912bec..3116ceb70d93 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.16.1:0.16.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.17.0:0.17.0 \ No newline at end of file From 295284dc8908a29a10250761b56b465418eea595 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Dec 2020 19:28:44 +0100 Subject: [PATCH 1199/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 (#80) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.16.1` -> `0.17.0` | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.17.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0170-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0161v0170-2020-12-15) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.16.1...v0.17.0) ##### Dependencies - update dependency com.google.guava:guava-bom to v30.1-android ([#​236](https://www.github.com/googleapis/java-shared-dependencies/issues/236)) ([78ebf7f](https://www.github.com/googleapis/java-shared-dependencies/commit/78ebf7fcec3ec0308ccd5103b719f02dde7ec6d8)) - update dependency io.grpc:grpc-bom to v1.34.1 ([#​238](https://www.github.com/googleapis/java-shared-dependencies/issues/238)) ([ee7e020](https://www.github.com/googleapis/java-shared-dependencies/commit/ee7e020a4631f2b288d1c6f5d681423d156e3c2d)) - update iam.version to v1.0.5 ([#​237](https://www.github.com/googleapis/java-shared-dependencies/issues/237)) ([bbe6be6](https://www.github.com/googleapis/java-shared-dependencies/commit/bbe6be650a93cf365f2439ae9c8bebf2ade83ddd)) ##### [0.16.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.0...v0.16.1) (2020-12-14) ##### Dependencies - rollback gRPC to 1.33.1 ([#​234](https://www.github.com/googleapis/java-shared-dependencies/issues/234)) ([67cc384](https://www.github.com/googleapis/java-shared-dependencies/commit/67cc384bacab8592d5bbc92db2469affee473eb7)) - update dependency com.google.auth:google-auth-library-bom to v0.22.1 ([#​229](https://www.github.com/googleapis/java-shared-dependencies/issues/229)) ([1c13161](https://www.github.com/googleapis/java-shared-dependencies/commit/1c13161fa289cd5f3923f389fd5b14f3b7b4a84d)) - update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#​235](https://www.github.com/googleapis/java-shared-dependencies/issues/235)) ([67434eb](https://www.github.com/googleapis/java-shared-dependencies/commit/67434eb4bb0789abcabb3055155672b2c2e70125)) - update iam.version to v1.0.4 ([#​231](https://www.github.com/googleapis/java-shared-dependencies/issues/231)) ([5edf99e](https://www.github.com/googleapis/java-shared-dependencies/commit/5edf99e0149a1b70eb52b8921e9eb04fb84d9160))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f1c0382450f2..3802a9411b37 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.16.1 + 0.17.0 pom import From f4ed8d2923e951e7cff6f0d9b1984111d3da3ad9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Dec 2020 19:00:04 +0000 Subject: [PATCH 1200/3036] chore: release 1.0.6 (#81) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.6](https://www.github.com/googleapis/java-iam/compare/v1.0.5...v1.0.6) (2020-12-15) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 ([#80](https://www.github.com/googleapis/java-iam/issues/80)) ([295284d](https://www.github.com/googleapis/java-iam/commit/295284dc8908a29a10250761b56b465418eea595)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 28904ce1f3eb..e91078a59ef9 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.6](https://www.github.com/googleapis/java-iam/compare/v1.0.5...v1.0.6) (2020-12-15) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.0 ([#80](https://www.github.com/googleapis/java-iam/issues/80)) ([a43419f](https://www.github.com/googleapis/java-iam/commit/a43419f88458f6ea904acea8814164f0d9755b5b)) + ### [1.0.5](https://www.github.com/googleapis/java-iam/compare/v1.0.4...v1.0.5) (2020-12-14) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index cf4f2160febf..8ec60353c327 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.0.6-SNAPSHOT + 1.0.6 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.6-SNAPSHOT + 1.0.6 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3802a9411b37..38aab0a29cc4 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.6-SNAPSHOT + 1.0.6 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.6-SNAPSHOT + 1.0.6 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index be456d0b2925..590b476b67a1 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.6-SNAPSHOT + 1.0.6 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.6-SNAPSHOT + 1.0.6 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ed66916f8b1a..2b0bbdbd4136 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.5:1.0.6-SNAPSHOT +proto-google-iam-v1:1.0.6:1.0.6 From 623e90c2aabf0633632f7532bc6e4b5580489997 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 16 Dec 2020 09:10:08 +0000 Subject: [PATCH 1201/3036] chore: release 1.0.7-SNAPSHOT (#82) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 8ec60353c327..e99ed0458372 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.0.6 + 1.0.7-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.6 + 1.0.7-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 38aab0a29cc4..4313150a19a6 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.6 + 1.0.7-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.6 + 1.0.7-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 590b476b67a1..1deb6de51bca 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.6 + 1.0.7-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.6 + 1.0.7-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 2b0bbdbd4136..4a2ebb0f941c 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.6:1.0.6 +proto-google-iam-v1:1.0.6:1.0.7-SNAPSHOT From 5ccf4434f131b829d0b44778fd14f5fa83501db1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Dec 2020 08:48:08 -0800 Subject: [PATCH 1202/3036] ci(java): ignore bot users for generate-files-bot (#83) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/1f00a6d6-96a2-443b-b6d5-961e1a78c3ed/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/3f67ceece7e797a5736a25488aae35405649b90b --- java-iam/.github/generated-files-bot.yml | 4 ++++ java-iam/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/java-iam/.github/generated-files-bot.yml b/java-iam/.github/generated-files-bot.yml index 20f3acc28172..47c2ba132e01 100644 --- a/java-iam/.github/generated-files-bot.yml +++ b/java-iam/.github/generated-files-bot.yml @@ -5,3 +5,7 @@ externalManifests: - type: json file: '.github/readme/synth.metadata/synth.metadata' jsonpath: '$.generatedFiles[*]' +ignoreAuthors: +- 'renovate-bot' +- 'yoshi-automation' +- 'release-please[bot]' diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index bc14a45197ee..863097958f39 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "3260b0f80f9c5f79e37a130cd08012df2237cecf" + "sha": "dd9f15b2e8c6ddc6f673d768d3e34fbc9b6d5d47" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928" + "sha": "3f67ceece7e797a5736a25488aae35405649b90b" } } ], From 24b6c705225914c93562f9c8e02cfdd30ab436d7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Dec 2020 08:48:14 -0800 Subject: [PATCH 1203/3036] ci(java): ignore bot users for generate-files-bot (#242) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/88a97252-efa1-41f8-87c9-1a1ef3bd41cf/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/3f67ceece7e797a5736a25488aae35405649b90b --- java-shared-dependencies/.github/generated-files-bot.yml | 4 ++++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/generated-files-bot.yml b/java-shared-dependencies/.github/generated-files-bot.yml index 20f3acc28172..47c2ba132e01 100644 --- a/java-shared-dependencies/.github/generated-files-bot.yml +++ b/java-shared-dependencies/.github/generated-files-bot.yml @@ -5,3 +5,7 @@ externalManifests: - type: json file: '.github/readme/synth.metadata/synth.metadata' jsonpath: '$.generatedFiles[*]' +ignoreAuthors: +- 'renovate-bot' +- 'yoshi-automation' +- 'release-please[bot]' diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index d06ac6be73f4..d79ee5a6611d 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "954343304e1a11e74ed20e7eed194e748ff75a97" + "sha": "4fa74aca8f8b1069004cafc9b89bfc63e2c47f90" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928" + "sha": "3f67ceece7e797a5736a25488aae35405649b90b" } } ], From cd240deec17bbfc66e8104337c1d99c7d7eac65b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Dec 2020 08:48:37 -0800 Subject: [PATCH 1204/3036] ci(java): ignore bot users for generate-files-bot (#351) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/327b9688-150a-41d8-be5c-d8f2a0d78277/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/3f67ceece7e797a5736a25488aae35405649b90b --- java-core/.github/generated-files-bot.yml | 4 ++++ java-core/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/java-core/.github/generated-files-bot.yml b/java-core/.github/generated-files-bot.yml index 20f3acc28172..47c2ba132e01 100644 --- a/java-core/.github/generated-files-bot.yml +++ b/java-core/.github/generated-files-bot.yml @@ -5,3 +5,7 @@ externalManifests: - type: json file: '.github/readme/synth.metadata/synth.metadata' jsonpath: '$.generatedFiles[*]' +ignoreAuthors: +- 'renovate-bot' +- 'yoshi-automation' +- 'release-please[bot]' diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 7a23dcd1a164..c3e167565951 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "3fa062071df408e2888fcb641e4d14992ceb8e1a" + "sha": "b31147460f28a736eaa1ebf3d12441e65fcd1813" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928" + "sha": "3f67ceece7e797a5736a25488aae35405649b90b" } } ], From a40da42cf5168adf15c7e33d9c058ac9942b9636 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 16 Dec 2020 17:20:02 +0000 Subject: [PATCH 1205/3036] chore: release 0.17.1-SNAPSHOT (#243) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6178bc78ebca..1758ec35307a 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 - 0.17.0 + 0.17.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 3116ceb70d93..c4c769561e5c 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.17.0:0.17.0 \ No newline at end of file +google-cloud-shared-dependencies:0.17.0:0.17.1-SNAPSHOT \ No newline at end of file From 6152e53dc61d2353c524b04a8414edc1e9f5b25f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 29 Dec 2020 11:53:50 -0800 Subject: [PATCH 1206/3036] chore(java): remove formatter action Source-Author: Jeff Ching Source-Date: Tue Dec 29 10:50:17 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 6133907dbb3ddab204a17a15d5c53ec0aae9b033 Source-Link: https://github.com/googleapis/synthtool/commit/6133907dbb3ddab204a17a15d5c53ec0aae9b033 --- java-core/.github/workflows/formatting.yaml | 25 --------------------- java-core/synth.metadata | 5 ++--- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 java-core/.github/workflows/formatting.yaml diff --git a/java-core/.github/workflows/formatting.yaml b/java-core/.github/workflows/formatting.yaml deleted file mode 100644 index 6844407b4d97..000000000000 --- a/java-core/.github/workflows/formatting.yaml +++ /dev/null @@ -1,25 +0,0 @@ -on: - pull_request_target: - types: [opened, synchronize] - branches: - - master -name: format -jobs: - format-code: - runs-on: ubuntu-latest - env: - ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} - steps: - - uses: actions/checkout@v2 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - - uses: actions/setup-java@v1 - with: - java-version: 11 - - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1 - with: - command: review - pull_number: ${{ github.event.pull_request.number }} - git_dir: '.' diff --git a/java-core/synth.metadata b/java-core/synth.metadata index c3e167565951..d05cb69a3a81 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "b31147460f28a736eaa1ebf3d12441e65fcd1813" + "sha": "1890399290149b8ccbe83f759513e55837742049" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3f67ceece7e797a5736a25488aae35405649b90b" + "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" } } ], @@ -30,7 +30,6 @@ ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", - ".github/workflows/formatting.yaml", ".kokoro/build.bat", ".kokoro/build.sh", ".kokoro/coerce_logs.sh", From cf376ab131436709daa1c3b79373c539afae2f73 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 29 Dec 2020 14:37:55 -0800 Subject: [PATCH 1207/3036] chore(java): remove formatter action Source-Author: Jeff Ching Source-Date: Tue Dec 29 10:50:17 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 6133907dbb3ddab204a17a15d5c53ec0aae9b033 Source-Link: https://github.com/googleapis/synthtool/commit/6133907dbb3ddab204a17a15d5c53ec0aae9b033 --- java-iam/.github/workflows/formatting.yaml | 25 ---------------------- java-iam/synth.metadata | 5 ++--- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 java-iam/.github/workflows/formatting.yaml diff --git a/java-iam/.github/workflows/formatting.yaml b/java-iam/.github/workflows/formatting.yaml deleted file mode 100644 index 6844407b4d97..000000000000 --- a/java-iam/.github/workflows/formatting.yaml +++ /dev/null @@ -1,25 +0,0 @@ -on: - pull_request_target: - types: [opened, synchronize] - branches: - - master -name: format -jobs: - format-code: - runs-on: ubuntu-latest - env: - ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} - steps: - - uses: actions/checkout@v2 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - - uses: actions/setup-java@v1 - with: - java-version: 11 - - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1 - with: - command: review - pull_number: ${{ github.event.pull_request.number }} - git_dir: '.' diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 863097958f39..1e47b84e271d 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "dd9f15b2e8c6ddc6f673d768d3e34fbc9b6d5d47" + "sha": "d00fb71519017b0a411295e4cd00f88ab269acd6" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3f67ceece7e797a5736a25488aae35405649b90b" + "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" } } ], @@ -38,7 +38,6 @@ ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", - ".github/workflows/formatting.yaml", ".kokoro/build.bat", ".kokoro/build.sh", ".kokoro/coerce_logs.sh", From 9d7ece86897986043c30a8c286aa7c6261b51bd7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 29 Dec 2020 16:20:40 -0800 Subject: [PATCH 1208/3036] chore(java): remove formatter action (#244) Source-Author: Jeff Ching Source-Date: Tue Dec 29 10:50:17 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 6133907dbb3ddab204a17a15d5c53ec0aae9b033 Source-Link: https://github.com/googleapis/synthtool/commit/6133907dbb3ddab204a17a15d5c53ec0aae9b033 --- .../.github/workflows/formatting.yaml | 25 ------------------- java-shared-dependencies/synth.metadata | 5 ++-- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 java-shared-dependencies/.github/workflows/formatting.yaml diff --git a/java-shared-dependencies/.github/workflows/formatting.yaml b/java-shared-dependencies/.github/workflows/formatting.yaml deleted file mode 100644 index 6844407b4d97..000000000000 --- a/java-shared-dependencies/.github/workflows/formatting.yaml +++ /dev/null @@ -1,25 +0,0 @@ -on: - pull_request_target: - types: [opened, synchronize] - branches: - - master -name: format -jobs: - format-code: - runs-on: ubuntu-latest - env: - ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} - steps: - - uses: actions/checkout@v2 - with: - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - - uses: actions/setup-java@v1 - with: - java-version: 11 - - run: "mvn com.coveo:fmt-maven-plugin:format" - - uses: googleapis/code-suggester@v1 - with: - command: review - pull_number: ${{ github.event.pull_request.number }} - git_dir: '.' diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index d79ee5a6611d..ecf28bb8dfd8 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "4fa74aca8f8b1069004cafc9b89bfc63e2c47f90" + "sha": "14caf406fd876f8ab43b35f319a23cb8bc177337" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3f67ceece7e797a5736a25488aae35405649b90b" + "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" } } ], @@ -29,7 +29,6 @@ ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", - ".github/workflows/formatting.yaml", ".kokoro/build.bat", ".kokoro/build.sh", ".kokoro/coerce_logs.sh", From 5bb49ed8ccf317ff21d8bd0fa055410c42487e2d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jan 2021 12:48:57 +0100 Subject: [PATCH 1209/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.5 (#345) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5deddc9588c6..502510a4b5f7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.60.1 1.10.1 2.0.1 - 1.0.3 + 1.0.5 0.22.0 1.31.1 1.38.0 From 60d361e542bb9a22dd573b7a25f31a674b022ee3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jan 2021 12:49:47 +0100 Subject: [PATCH 1210/3036] deps: update dependency io.grpc:grpc-bom to v1.34.1 (#342) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 502510a4b5f7..1bd56b7cf952 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.22.0 1.31.1 1.38.0 - 1.33.1 + 1.34.1 3.14.0 0.24.0 1.3.2 From c927ff4d1f470976bb73537bc741ed1d824da9c4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jan 2021 13:12:28 +0100 Subject: [PATCH 1211/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 (#245) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1758ec35307a..3f279ce65d81 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -73,7 +73,7 @@ 0.24.0 3.0.2 2.4.0 - 2.12.0 + 2.12.1
    From 1633f854cf015e5bcf35a615af4b72fdea85035e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 12 Jan 2021 12:18:02 +0000 Subject: [PATCH 1212/3036] chore: release 0.17.1 (#246) :robot: I have created a release \*beep\* \*boop\* --- ### [0.17.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.0...v0.17.1) (2021-01-12) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#245](https://www.github.com/googleapis/java-shared-dependencies/issues/245)) ([c927ff4](https://www.github.com/googleapis/java-shared-dependencies/commit/c927ff4d1f470976bb73537bc741ed1d824da9c4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 7 +++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 1edd0eefb02f..48c744314dc6 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [0.17.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.0...v0.17.1) (2021-01-12) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#245](https://www.github.com/googleapis/java-shared-dependencies/issues/245)) ([5ffc8a0](https://www.github.com/googleapis/java-shared-dependencies/commit/5ffc8a0d173ea0222ac9610ece0ac2aeb1d17f27)) + ## [0.17.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.16.1...v0.17.0) (2020-12-15) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 4ec08dfe3fe7..a0ec4685158c 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.17.0 + 0.17.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3f279ce65d81..774d77ffd421 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 - 0.17.1-SNAPSHOT + 0.17.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index c4c769561e5c..8d22f49a0fa3 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.17.0:0.17.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.17.1:0.17.1 \ No newline at end of file From 322bddfa19acffe0e6bf851a50b6c4149c3b4dbb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Jan 2021 00:05:24 +0100 Subject: [PATCH 1213/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.22.2 (#343) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1bd56b7cf952..c3a9f5e91f29 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.1 2.0.1 1.0.5 - 0.22.0 + 0.22.2 1.31.1 1.38.0 1.34.1 From d84c711c33cd069f4289f86380f7e66da0ccc5a0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Jan 2021 21:15:55 +0100 Subject: [PATCH 1214/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.1 (#85) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 4313150a19a6..1585ed43df73 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.17.0 + 0.17.1 pom import From 2730e8d10810c459b52cc5ca09ac32e85c094b8b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 13 Jan 2021 20:22:02 +0000 Subject: [PATCH 1215/3036] chore: release 1.0.7 (#86) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.7](https://www.github.com/googleapis/java-iam/compare/v1.0.6...v1.0.7) (2021-01-13) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.1 ([#85](https://www.github.com/googleapis/java-iam/issues/85)) ([d84c711](https://www.github.com/googleapis/java-iam/commit/d84c711c33cd069f4289f86380f7e66da0ccc5a0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index e91078a59ef9..63bb6aa4c621 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.7](https://www.github.com/googleapis/java-iam/compare/v1.0.6...v1.0.7) (2021-01-13) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.17.1 ([#85](https://www.github.com/googleapis/java-iam/issues/85)) ([6e80faa](https://www.github.com/googleapis/java-iam/commit/6e80faa75433d1333344b66d632b48ab8e710b08)) + ### [1.0.6](https://www.github.com/googleapis/java-iam/compare/v1.0.5...v1.0.6) (2020-12-15) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e99ed0458372..af69e38e5269 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.0.7-SNAPSHOT + 1.0.7 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.7-SNAPSHOT + 1.0.7 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1585ed43df73..d5fd91bb4162 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.7-SNAPSHOT + 1.0.7 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.7-SNAPSHOT + 1.0.7 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1deb6de51bca..fd5695ad2156 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.7-SNAPSHOT + 1.0.7 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.7-SNAPSHOT + 1.0.7 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 4a2ebb0f941c..49481da10705 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.6:1.0.7-SNAPSHOT +proto-google-iam-v1:1.0.7:1.0.7 From 71b4b15b944b9a6e04b57af43848e0263e227158 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Jan 2021 22:01:28 +0100 Subject: [PATCH 1216/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.5.0 (#247) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 774d77ffd421..73952ac41457 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -72,7 +72,7 @@ 1.0.5 0.24.0 3.0.2 - 2.4.0 + 2.5.0 2.12.1
    From c9d2b1c6d4e3349dceb68bfa17d5a54afda20bd4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 13 Jan 2021 21:08:04 +0000 Subject: [PATCH 1217/3036] chore: release 0.17.2-SNAPSHOT (#249) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 73952ac41457..58680f2d8302 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 - 0.17.1 + 0.17.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 8d22f49a0fa3..ce155f86f778 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.17.1:0.17.1 \ No newline at end of file +google-cloud-shared-dependencies:0.17.1:0.17.2-SNAPSHOT \ No newline at end of file From 6ccebcfa9131641a0322d0fc28ebb8ee0726ae73 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Wed, 13 Jan 2021 16:36:05 -0500 Subject: [PATCH 1218/3036] feat: add commons-codec to dependencyManagement (#251) --- java-shared-dependencies/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 58680f2d8302..5207092d339e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -74,6 +74,7 @@ 3.0.2 2.5.0 2.12.1 + 1.15
    @@ -192,6 +193,11 @@ pom import
    + + commons-codec + commons-codec + ${codec.version} + From 5d0345995f8932263f55f64338bbbdea32fba76b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 13 Jan 2021 21:42:02 +0000 Subject: [PATCH 1219/3036] chore: release 0.18.0 (#250) :robot: I have created a release \*beep\* \*boop\* --- ## [0.18.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.1...v0.18.0) (2021-01-13) ### Features * add commons-codec to dependencyManagement ([#251](https://www.github.com/googleapis/java-shared-dependencies/issues/251)) ([6ccebcf](https://www.github.com/googleapis/java-shared-dependencies/commit/6ccebcfa9131641a0322d0fc28ebb8ee0726ae73)) ### Dependencies * update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#247](https://www.github.com/googleapis/java-shared-dependencies/issues/247)) ([71b4b15](https://www.github.com/googleapis/java-shared-dependencies/commit/71b4b15b944b9a6e04b57af43848e0263e227158)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 48c744314dc6..1f74636378cf 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.18.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.1...v0.18.0) (2021-01-13) + + +### Features + +* add commons-codec to dependencyManagement ([#251](https://www.github.com/googleapis/java-shared-dependencies/issues/251)) ([4ee990d](https://www.github.com/googleapis/java-shared-dependencies/commit/4ee990d79c9207c81155f6ee9279308a2d4d0f9d)) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#247](https://www.github.com/googleapis/java-shared-dependencies/issues/247)) ([37c0861](https://www.github.com/googleapis/java-shared-dependencies/commit/37c0861cfb89f13a0682c98067c633b13b30b827)) + ### [0.17.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.0...v0.17.1) (2021-01-12) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index a0ec4685158c..ac301852e381 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.17.1 + 0.18.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5207092d339e..e6a97d0a70a5 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 - 0.17.2-SNAPSHOT + 0.18.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index ce155f86f778..fcdedae08e33 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.17.1:0.17.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.18.0:0.18.0 \ No newline at end of file From 16e4c489aa6d4ed41d660ca8413907e1a0087471 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jan 2021 01:50:17 +0100 Subject: [PATCH 1220/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 (#87) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.17.1` -> `0.18.0` | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.18.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0180-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0171v0180-2021-01-13) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.17.1...v0.18.0) ##### Features - add commons-codec to dependencyManagement ([#​251](https://www.github.com/googleapis/java-shared-dependencies/issues/251)) ([4ee990d](https://www.github.com/googleapis/java-shared-dependencies/commit/4ee990d79c9207c81155f6ee9279308a2d4d0f9d)) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#​247](https://www.github.com/googleapis/java-shared-dependencies/issues/247)) ([37c0861](https://www.github.com/googleapis/java-shared-dependencies/commit/37c0861cfb89f13a0682c98067c633b13b30b827)) ##### [0.17.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.0...v0.17.1) (2021-01-12) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#​245](https://www.github.com/googleapis/java-shared-dependencies/issues/245)) ([5ffc8a0](https://www.github.com/googleapis/java-shared-dependencies/commit/5ffc8a0d173ea0222ac9610ece0ac2aeb1d17f27))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d5fd91bb4162..bac07b24007f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.17.1 + 0.18.0 pom import From 3c3aeed0b6917e4795242938ed00012df06dddcc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Jan 2021 01:20:17 +0000 Subject: [PATCH 1221/3036] chore: release 1.0.8-SNAPSHOT (#88) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index af69e38e5269..b9df7d84aab7 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.0.7 + 1.0.8-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.7 + 1.0.8-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bac07b24007f..9e8e7c8bd794 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.7 + 1.0.8-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.7 + 1.0.8-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index fd5695ad2156..f1343294a3ef 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.7 + 1.0.8-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.7 + 1.0.8-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 49481da10705..eb1bf3a63e9b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.7:1.0.7 +proto-google-iam-v1:1.0.7:1.0.8-SNAPSHOT From 9ab2baf077114fb25def77c2bd4b3c6e0714eeb6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Jan 2021 01:26:11 +0000 Subject: [PATCH 1222/3036] chore: release 1.0.8 (#89) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.8](https://www.github.com/googleapis/java-iam/compare/v1.0.7...v1.0.8) (2021-01-14) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#87](https://www.github.com/googleapis/java-iam/issues/87)) ([16e4c48](https://www.github.com/googleapis/java-iam/commit/16e4c489aa6d4ed41d660ca8413907e1a0087471)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 63bb6aa4c621..f26543643642 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.8](https://www.github.com/googleapis/java-iam/compare/v1.0.7...v1.0.8) (2021-01-14) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.18.0 ([#87](https://www.github.com/googleapis/java-iam/issues/87)) ([1d2dda2](https://www.github.com/googleapis/java-iam/commit/1d2dda295cb73db94f79c8dc6957c682dbf87182)) + ### [1.0.7](https://www.github.com/googleapis/java-iam/compare/v1.0.6...v1.0.7) (2021-01-13) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index b9df7d84aab7..bc2641bbdabe 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.0.8-SNAPSHOT + 1.0.8 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.8-SNAPSHOT + 1.0.8 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9e8e7c8bd794..a612d2be3d35 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.8-SNAPSHOT + 1.0.8 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.8-SNAPSHOT + 1.0.8 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index f1343294a3ef..b9c9a04ff306 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.8-SNAPSHOT + 1.0.8 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.8-SNAPSHOT + 1.0.8 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index eb1bf3a63e9b..47e3faa44e40 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.7:1.0.8-SNAPSHOT +proto-google-iam-v1:1.0.8:1.0.8 From c1c31e41d219191ec8d3467637c652f7f3b2cf67 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Jan 2021 09:12:12 +0000 Subject: [PATCH 1223/3036] chore: release 1.0.9-SNAPSHOT (#90) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index bc2641bbdabe..a40db9f490ca 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.0.8 + 1.0.9-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.8 + 1.0.9-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a612d2be3d35..fdb620c0a6a7 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.8 + 1.0.9-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.8 + 1.0.9-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b9c9a04ff306..a5eac1d45fa1 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.8 + 1.0.9-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.8 + 1.0.9-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 47e3faa44e40..a4c2be00f87e 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.8:1.0.8 +proto-google-iam-v1:1.0.8:1.0.9-SNAPSHOT From 052b017fd7aa2b0c03972371e7f98d83e4a69dcd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Jan 2021 21:34:58 +0100 Subject: [PATCH 1224/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.38.1 (#253) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e6a97d0a70a5..0431df7d9241 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.0.1 1.94.0 0.22.2 - 1.38.0 + 1.38.1 1.31.1 2.8.6 1.5.0 From 7eae4764ddd6a0a23754e0df7f8363a13e0c50a5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Jan 2021 21:35:35 +0100 Subject: [PATCH 1225/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.5.1 (#255) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0431df7d9241..f891afe08263 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -72,7 +72,7 @@ 1.0.5 0.24.0 3.0.2 - 2.5.0 + 2.5.1 2.12.1 1.15
    From 25cf7dda681e967160ab2cdacda244e2d0db0768 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Jan 2021 21:35:53 +0100 Subject: [PATCH 1226/3036] deps: update iam.version to v1.0.7 (#252) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f891afe08263..ac5fafa41361 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.19 - 1.0.5 + 1.0.7 0.24.0 3.0.2 2.5.1 From c381b900645088c556e0e27ac9b9b616d7fd6cc7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 20 Jan 2021 20:48:03 +0000 Subject: [PATCH 1227/3036] chore: release 0.18.1-SNAPSHOT (#257) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ac5fafa41361..ee3815abf84a 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 - 0.18.0 + 0.18.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index fcdedae08e33..7424920aed76 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.18.0:0.18.0 \ No newline at end of file +google-cloud-shared-dependencies:0.18.0:0.18.1-SNAPSHOT \ No newline at end of file From 8101e23e6fc993a051f87ac98ce589d110768dab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Jan 2021 22:28:26 +0100 Subject: [PATCH 1228/3036] deps: update dependency com.google.guava:guava-bom to v30.1-android (#348) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c3a9f5e91f29..e44e95865470 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -162,7 +162,7 @@ 3.14.0 0.24.0 1.3.2 - 30.0-android + 30.1-android 4.13.1 1.1 3.6 From 42d1409084700581fa62844fcc53973ae1c2f666 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jan 2021 13:00:39 +0100 Subject: [PATCH 1229/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.10.0 (#363) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index bae4b3b08fb2..e2994e17d94a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.4 + 0.10.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index e44e95865470..2555204613ed 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.4 + 0.10.0 From 071ffce39e9c0b485eadb0eacf719c25fa59eb30 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jan 2021 14:47:36 +0100 Subject: [PATCH 1230/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.2 (#254) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ee3815abf84a..1132bf1abbf7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 1.94.0 0.22.2 1.38.1 - 1.31.1 + 1.31.2 2.8.6 1.5.0 1.3.2 From 5714e810872287d6645e428b8036211d072c5de7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jan 2021 16:30:51 +0100 Subject: [PATCH 1231/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.38.1 (#358) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2555204613ed..ef2df990550b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.0.5 0.22.2 1.31.1 - 1.38.0 + 1.38.1 1.34.1 3.14.0 0.24.0 From a740db443652890d5060e21cf4721282f76715bd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jan 2021 16:31:08 +0100 Subject: [PATCH 1232/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.7 (#357) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ef2df990550b..73762876d21d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.60.1 1.10.1 2.0.1 - 1.0.5 + 1.0.7 0.22.2 1.31.1 1.38.1 From 98eb41404fb462bb80de0d5eeee626a6a35c1c7c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jan 2021 19:34:27 +0100 Subject: [PATCH 1233/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.10.0 (#92) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.9.4` -> `0.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/compatibility-slim/0.9.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.10.0/confidence-slim/0.9.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.10.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0100-httpswwwgithubcomgoogleapisjava-shared-configcomparev094v0100-2021-01-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.4...v0.10.0) ##### Features - adding pom profile to generate docfx yml from javadoc ([#​213](https://www.github.com/googleapis/java-shared-config/issues/213)) ([3527c47](https://www.github.com/googleapis/java-shared-config/commit/3527c47ff413d415f87fccca84358da2c837841d)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v8.39 ([#​209](https://www.github.com/googleapis/java-shared-config/issues/209)) ([fb53922](https://www.github.com/googleapis/java-shared-config/commit/fb539226d407001822a56c7fff792922cd85d1fe)) ##### [0.9.4](https://www.github.com/googleapis/java-shared-config/compare/v0.9.3...v0.9.4) (2020-10-21) ##### Documentation - Latest for Cloud-RAD ([#​199](https://www.github.com/googleapis/java-shared-config/issues/199)) ([34712af](https://www.github.com/googleapis/java-shared-config/commit/34712afac58aa0d148f0843026b3ff770ee030c2)) ##### [0.9.3](https://www.github.com/googleapis/java-shared-config/compare/v0.9.2...v0.9.3) (2020-10-15) ##### Dependencies - update auto-value-annotation.version to v1.7.4 ([#​157](https://www.github.com/googleapis/java-shared-config/issues/157)) ([5d7e394](https://www.github.com/googleapis/java-shared-config/commit/5d7e394d964010a3e32af492cec4be85aabc3ebf)) ##### [0.9.2](https://www.github.com/googleapis/java-shared-config/compare/v0.9.1...v0.9.2) (2020-07-02) ##### Dependencies - update dependency org.apache.maven.surefire:surefire-junit47 to v3.0.0-M5 ([#​180](https://www.github.com/googleapis/java-shared-config/issues/180)) ([802d9c5](https://www.github.com/googleapis/java-shared-config/commit/802d9c528d34b386face69ca75a014ce57fc3ac1)) ##### [0.9.1](https://www.github.com/googleapis/java-shared-config/compare/v0.9.0...v0.9.1) (2020-07-01) ##### Bug Fixes - maven-dependency-plugin configuration breaking downstream config ([#​174](https://www.github.com/googleapis/java-shared-config/issues/174)) ([507217f](https://www.github.com/googleapis/java-shared-config/commit/507217fe509cd4f16eb50c8075ab43229238e08d)) ##### Documentation - change Devsite output path to /java/docs/reference ([#​176](https://www.github.com/googleapis/java-shared-config/issues/176)) ([8b98af5](https://www.github.com/googleapis/java-shared-config/commit/8b98af54bf503d97bb86b6d02a5c4301b39384e1))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index fdb620c0a6a7..5549de62560c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.4 + 0.10.0 From dd8adc585222a08dd8737918fbf8385836be240f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 26 Jan 2021 11:16:29 -0800 Subject: [PATCH 1234/3036] chore: adding docfx doclet resource (#93) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/1a264c13-9cea-4730-b7cc-857571dedad4/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/3816b080296d4d52975079fd26c110dd26ba25af --- java-iam/.kokoro/release/publish_javadoc.cfg | 3 +++ java-iam/synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg index 1233798e00fb..a3d6fad1b92a 100644 --- a/java-iam/.kokoro/release/publish_javadoc.cfg +++ b/java-iam/.kokoro/release/publish_javadoc.cfg @@ -27,3 +27,6 @@ before_action { } } } + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 1e47b84e271d..d41fd32c82d4 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "d00fb71519017b0a411295e4cd00f88ab269acd6" + "sha": "c6aac9ab74c2511c4eb61f74fa805b2c3bcbe408" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" + "sha": "3816b080296d4d52975079fd26c110dd26ba25af" } } ], From c932bc43a71645742b6d2fad564afce8f1c556f9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 26 Jan 2021 11:16:34 -0800 Subject: [PATCH 1235/3036] chore: adding docfx doclet resource (#362) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/11676c06-4b47-49bf-b330-a8f1fcd14996/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/3816b080296d4d52975079fd26c110dd26ba25af --- java-core/.kokoro/release/publish_javadoc.cfg | 3 +++ java-core/synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg index 5f7b2f60b86b..2e6ba5d44e94 100644 --- a/java-core/.kokoro/release/publish_javadoc.cfg +++ b/java-core/.kokoro/release/publish_javadoc.cfg @@ -27,3 +27,6 @@ before_action { } } } + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index d05cb69a3a81..cb28668e33dc 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "1890399290149b8ccbe83f759513e55837742049" + "sha": "0f2eadd32020b546e71332bf4009e4c9195ee72a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" + "sha": "3816b080296d4d52975079fd26c110dd26ba25af" } } ], From d68e337727c8d2ebba34450184b9e59d3fd82b4e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jan 2021 15:12:13 +0100 Subject: [PATCH 1236/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.23.0 (#364) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 73762876d21d..a030683dd082 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.1 2.0.1 1.0.7 - 0.22.2 + 0.23.0 1.31.1 1.38.1 1.34.1 From b8310383ad0f90379e17e7701f1de3882a908112 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 27 Jan 2021 10:12:06 -0800 Subject: [PATCH 1237/3036] chore: adding docfx doclet resource (#259) * chore: updating publish_javadoc to support docfx yml generation * fix: reducing commit Source-Author: Emily Ball Source-Date: Mon Jan 25 13:29:09 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 3816b080296d4d52975079fd26c110dd26ba25af Source-Link: https://github.com/googleapis/synthtool/commit/3816b080296d4d52975079fd26c110dd26ba25af --- java-shared-dependencies/.kokoro/release/publish_javadoc.cfg | 3 +++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg index 769b99f1d337..af3b9a966a0f 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -27,3 +27,6 @@ before_action { } } } + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index ecf28bb8dfd8..7a2daf042c31 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "14caf406fd876f8ab43b35f319a23cb8bc177337" + "sha": "88e88fc322c9352d59bc6f07e8f8c6f5addd5add" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6133907dbb3ddab204a17a15d5c53ec0aae9b033" + "sha": "3816b080296d4d52975079fd26c110dd26ba25af" } } ], From a815facb3f33d8258bfdeab2cd9c75193a07bfd5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jan 2021 19:12:34 +0100 Subject: [PATCH 1238/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.10.0 (#260) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1132bf1abbf7..8bb6ccc24037 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.4 + 0.10.0 From e94c82f8f16577f75a1f8fe8f73cef6b07c3ae6a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jan 2021 19:28:03 +0100 Subject: [PATCH 1239/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.23.0 (#261) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `0.22.2` -> `0.23.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.23.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.23.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.23.0/compatibility-slim/0.22.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.23.0/confidence-slim/0.22.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v0.23.0`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0230-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0222v0230-2021-01-26) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.22.2...v0.23.0) ##### ⚠ BREAKING CHANGES - privatize deprecated constructor ([#​473](https://togithub.com/googleapis/google-auth-library-java/issues/473)) ##### Features - allow custom lifespan for impersonated creds ([#​515](https://www.github.com/googleapis/google-auth-library-java/issues/515)) ([0707ed4](https://www.github.com/googleapis/google-auth-library-java/commit/0707ed4bbb40fb775f196004ee30f8c695fe662b)) - allow custom scopes for compute engine creds ([#​514](https://www.github.com/googleapis/google-auth-library-java/issues/514)) ([edc8d6e](https://www.github.com/googleapis/google-auth-library-java/commit/edc8d6e0e7ca2c6749d026ba42854a09c4879fd6)) - allow set lifetime for service account creds ([#​516](https://www.github.com/googleapis/google-auth-library-java/issues/516)) ([427f2d5](https://www.github.com/googleapis/google-auth-library-java/commit/427f2d5610f0e8184a21b24531d2549a68c0b546)) - promote IdToken and JWT features ([#​538](https://www.github.com/googleapis/google-auth-library-java/issues/538)) ([b514fe0](https://www.github.com/googleapis/google-auth-library-java/commit/b514fe0cebe5a294e0cf97b7b5349e6a523dc7b2)) ##### Bug Fixes - per google style, logger is lower case ([#​529](https://www.github.com/googleapis/google-auth-library-java/issues/529)) ([ecfc6a2](https://www.github.com/googleapis/google-auth-library-java/commit/ecfc6a2ea6060e06629b5d422b23b842b917f55e)) - privatize deprecated constructor ([#​473](https://www.github.com/googleapis/google-auth-library-java/issues/473)) ([5804ff0](https://www.github.com/googleapis/google-auth-library-java/commit/5804ff03a531268831ac797ab262638a3119c14f)) - remove deprecated methods ([#​537](https://www.github.com/googleapis/google-auth-library-java/issues/537)) ([427963e](https://www.github.com/googleapis/google-auth-library-java/commit/427963e04702d8b73eca5ed555539b11bbe97342)) - replace non-precondition use of Preconditions ([#​539](https://www.github.com/googleapis/google-auth-library-java/issues/539)) ([f2ab4f1](https://www.github.com/googleapis/google-auth-library-java/commit/f2ab4f14262d54de0fde85494cfd92cf01a30cbe)) - switch to GSON ([#​531](https://www.github.com/googleapis/google-auth-library-java/issues/531)) ([1b98d5c](https://www.github.com/googleapis/google-auth-library-java/commit/1b98d5c86fc5e56187c977e7f43c39bb62483d40)) - use default timeout if given 0 for ImpersonatedCredentials ([#​527](https://www.github.com/googleapis/google-auth-library-java/issues/527)) ([ec74870](https://www.github.com/googleapis/google-auth-library-java/commit/ec74870c372a33d4157b45bb5d59ad7464fb2238)) ##### Dependencies - update dependency com.google.appengine:appengine-api-1.0-sdk to v1.9.84 ([#​422](https://www.github.com/googleapis/google-auth-library-java/issues/422)) ([b262c45](https://www.github.com/googleapis/google-auth-library-java/commit/b262c4587b058e6837429ee05f1b6a63620ee598)) - update dependency com.google.guava:guava to v30.1-android ([#​522](https://www.github.com/googleapis/google-auth-library-java/issues/522)) ([4090d1c](https://www.github.com/googleapis/google-auth-library-java/commit/4090d1cb50041bceb1cd975d1a9249a412df936f)) ##### Documentation - fix wording in jwtWithClaims Javadoc ([#​536](https://www.github.com/googleapis/google-auth-library-java/issues/536)) ([af21727](https://www.github.com/googleapis/google-auth-library-java/commit/af21727815263fb5ffc07ede953cf042fac3ac2b)) ##### [0.22.2](https://www.github.com/googleapis/google-auth-library-java/compare/v0.22.1...v0.22.2) (2020-12-11) ##### Bug Fixes - quotaProjectId should be applied for cached `getRequestMetadata(URI, Executor, RequestMetadataCallback)` ([#​509](https://www.github.com/googleapis/google-auth-library-java/issues/509)) ([0a8412f](https://www.github.com/googleapis/google-auth-library-java/commit/0a8412fcf9de4ac568b9f88618e44087dd31b144)) ##### [0.22.1](https://www.github.com/googleapis/google-auth-library-java/compare/v0.22.0...v0.22.1) (2020-11-05) ##### Bug Fixes - remove 1 hour limit for impersonated token ([#​490](https://www.github.com/googleapis/google-auth-library-java/issues/490)) ([927e3d5](https://www.github.com/googleapis/google-auth-library-java/commit/927e3d5598e2d2b06512b27f4210994c65b26f59)) ##### Dependencies - update dependency com.google.guava:guava to v30 ([#​497](https://www.github.com/googleapis/google-auth-library-java/issues/497)) ([0551649](https://www.github.com/googleapis/google-auth-library-java/commit/055164969d175718ee8f2c0369b84bcddc1d7134)) - update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#​503](https://www.github.com/googleapis/google-auth-library-java/issues/503)) ([46f20bc](https://www.github.com/googleapis/google-auth-library-java/commit/46f20bca8b5951ebea6a963b3affde2b92d403c7))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8bb6ccc24037..4348095bf4ac 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.0.1 1.94.0 - 0.22.2 + 0.23.0 1.38.1 1.31.2 2.8.6 From 40b33ce6a63353da7da15d7f85d62c98b1bed84c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 28 Jan 2021 18:06:55 +0100 Subject: [PATCH 1240/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.5.1 (#354) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a030683dd082..45f52f560a2c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.5.0 2.6 - 2.4.0 + 2.5.1 2.8.6
    From b3ae6eec8ed998b2f69a63106e57debdde1e4c8f Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Thu, 28 Jan 2021 22:14:03 -0800 Subject: [PATCH 1241/3036] build: migrate to flakybot (#365) --- java-core/.kokoro/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 8229cb1edf19..b7e46c5f6d8b 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -110,8 +110,8 @@ bash .kokoro/coerce_logs.sh if [[ "${ENABLE_BUILD_COP}" == "true" ]] then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop - ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-core + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot + ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-core fi echo "exiting with ${RETURN_CODE}" From 52b4c95f9f84ae36baeb82544a02564eeb1f8ef6 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Thu, 28 Jan 2021 22:16:12 -0800 Subject: [PATCH 1242/3036] build: migrate to flakybot (#94) --- java-iam/.kokoro/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index d5c7a5043c0b..884c2cd5c2c8 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -110,8 +110,8 @@ bash .kokoro/coerce_logs.sh if [[ "${ENABLE_BUILD_COP}" == "true" ]] then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop - ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-iam + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot + ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-iam fi echo "exiting with ${RETURN_CODE}" From 78905adb2563979f6a688fba95d4cecb3ca92ef5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 1 Feb 2021 19:12:10 +0100 Subject: [PATCH 1243/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.2 (#359) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 45f52f560a2c..f2c2833cd91f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.0.1 1.0.7 0.23.0 - 1.31.1 + 1.31.2 1.38.1 1.34.1 3.14.0 From 924b3309426047d60b0205e0c85a04e475a35bfb Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Tue, 2 Feb 2021 18:21:35 +0000 Subject: [PATCH 1244/3036] deps: switch from Jackson to GSON (#368) * switch from Jackson to GSON * format --- java-core/google-cloud-core/pom.xml | 2 +- .../java/com/google/cloud/ServiceOptions.java | 17 ++++++++--------- .../com/google/cloud/ServiceOptionsTest.java | 7 +++++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 176fe2a18b5d..e297d4633b61 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -65,7 +65,7 @@
    com.google.http-client - google-http-client-jackson2 + google-http-client-gson com.google.protobuf diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 2a84403af0f0..7891088d3447 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -30,8 +30,7 @@ import com.google.api.client.json.GenericJson; import com.google.api.client.json.JsonFactory; import com.google.api.client.json.JsonObjectParser; -import com.google.api.client.json.jackson2.JacksonFactory; -import com.google.api.client.util.Charsets; +import com.google.api.client.json.gson.GsonFactory; import com.google.api.core.ApiClock; import com.google.api.core.BetaApi; import com.google.api.core.CurrentMillisClock; @@ -61,6 +60,7 @@ import java.io.ObjectInputStream; import java.io.Serializable; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import java.util.Locale; import java.util.Map; import java.util.Objects; @@ -516,19 +516,18 @@ protected static String getServiceAccountProjectId() { @InternalApi("Visible for testing") static String getValueFromCredentialsFile(String credentialsPath, String key) { - String value = null; if (credentialsPath != null) { try (InputStream credentialsStream = new FileInputStream(credentialsPath)) { - JsonFactory jsonFactory = JacksonFactory.getDefaultInstance(); + JsonFactory jsonFactory = GsonFactory.getDefaultInstance(); JsonObjectParser parser = new JsonObjectParser(jsonFactory); GenericJson fileContents = - parser.parseAndClose(credentialsStream, Charsets.UTF_8, GenericJson.class); - value = (String) fileContents.get(key); - } catch (IOException e) { - // ignore + parser.parseAndClose(credentialsStream, StandardCharsets.UTF_8, GenericJson.class); + return (String) fileContents.get(key); + } catch (IOException | IllegalArgumentException ex) { + return null; } } - return value; + return null; } /** diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java index 6f8763c84b05..bf75fca161fd 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ServiceOptionsTest.java @@ -45,6 +45,7 @@ import java.io.File; import java.io.IOException; import java.io.InputStream; +import java.nio.charset.StandardCharsets; import java.util.Map; import java.util.Set; import java.util.regex.Pattern; @@ -441,9 +442,11 @@ public void testGetServiceAccountProjectId() throws Exception { public void testGetServiceAccountProjectId_badJson() throws Exception { File credentialsFile = File.createTempFile("credentials", ".json"); credentialsFile.deleteOnExit(); - Files.write("asdfghj".getBytes(), credentialsFile); + Files.write("asdfghj".getBytes(StandardCharsets.UTF_8), credentialsFile); - assertNull(ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id")); + String valueFromCredentialsFile = + ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id"); + assertNull(valueFromCredentialsFile); } @Test From 937a3d105d4a666bb63dbfc2e70d885ea68db5b1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Feb 2021 10:22:22 -0800 Subject: [PATCH 1245/3036] chore: Re-generated to pick up changes from synthtool. (#367) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * build: migrate to flakybot Source-Author: Justin Beckwith Source-Date: Thu Jan 28 22:22:38 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a Source-Link: https://github.com/googleapis/synthtool/commit/d1bb9173100f62c0cfc8f3138b62241e7f47ca6a * build(java): generate docfx yml on release * feat: generate docfx yml on release * fix: updates name variable * fix: remove non needed resource * fix: update date Source-Author: Emily Ball Source-Date: Mon Feb 1 15:24:59 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 5de29e9434b63ea6d7e46dc348521c62969af1a1 Source-Link: https://github.com/googleapis/synthtool/commit/5de29e9434b63ea6d7e46dc348521c62969af1a1 --- java-core/.kokoro/release/publish_javadoc.cfg | 5 +- .../.kokoro/release/publish_javadoc11.cfg | 30 ++++++++++ .../.kokoro/release/publish_javadoc11.sh | 55 +++++++++++++++++++ java-core/synth.metadata | 6 +- 4 files changed, 90 insertions(+), 6 deletions(-) create mode 100644 java-core/.kokoro/release/publish_javadoc11.cfg create mode 100755 java-core/.kokoro/release/publish_javadoc11.sh diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg index 2e6ba5d44e94..2c48f32b72e2 100644 --- a/java-core/.kokoro/release/publish_javadoc.cfg +++ b/java-core/.kokoro/release/publish_javadoc.cfg @@ -26,7 +26,4 @@ before_action { keyname: "docuploader_service_account" } } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +} \ No newline at end of file diff --git a/java-core/.kokoro/release/publish_javadoc11.cfg b/java-core/.kokoro/release/publish_javadoc11.cfg new file mode 100644 index 000000000000..2ddd71ce63ec --- /dev/null +++ b/java-core/.kokoro/release/publish_javadoc11.cfg @@ -0,0 +1,30 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2" + # Production will be at: docs-staging-v2 +} + +# Configure the docker image for kokoro-trampoline +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "docuploader_service_account" + } + } +} + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh new file mode 100755 index 000000000000..929828f38769 --- /dev/null +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Copyright 2021 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +if [[ -z "${CREDENTIALS}" ]]; then + CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account +fi + +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + +# work from the git root directory +pushd $(dirname "$0")/../../ + +# install docuploader package +python3 -m pip install gcp-docuploader + +# compile all packages +mvn clean install -B -q -DskipTests=true + +export NAME=google-cloud-core +export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) + +# V3 generates docfx yml from javadoc +# generate yml +mvn clean site -B -q -P docFX + +pushd target/docfx-yml + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload yml +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} \ + --destination-prefix docfx- diff --git a/java-core/synth.metadata b/java-core/synth.metadata index cb28668e33dc..7c49843fb816 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "0f2eadd32020b546e71332bf4009e4c9195ee72a" + "sha": "107a32aa170eca0f61e14183af1e795a61291d49" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3816b080296d4d52975079fd26c110dd26ba25af" + "sha": "5de29e9434b63ea6d7e46dc348521c62969af1a1" } } ], @@ -71,6 +71,8 @@ ".kokoro/release/promote.sh", ".kokoro/release/publish_javadoc.cfg", ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/publish_javadoc11.cfg", + ".kokoro/release/publish_javadoc11.sh", ".kokoro/release/snapshot.cfg", ".kokoro/release/snapshot.sh", ".kokoro/release/stage.cfg", From 82a3ce84a10615a2986a2badfcb742b1efeb2d36 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Feb 2021 22:04:19 +0100 Subject: [PATCH 1246/3036] deps: update dependency io.grpc:grpc-bom to v1.35.0 (#248) * deps: update dependency io.grpc:grpc-bom to v1.35.0 * update opencensus version * Update pom.xml Co-authored-by: Stephanie Wang --- java-shared-dependencies/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4348095bf4ac..fc8564b2cd4c 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.34.1 + 1.35.0 1.60.1 30.1-android 3.14.0 @@ -70,7 +70,7 @@ 1.3.2 1.19 1.0.7 - 0.24.0 + 0.28.1 3.0.2 2.5.1 2.12.1 From b27875f6640c43c929cc8cdcb4b604e36ed1e45d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Feb 2021 13:04:50 -0800 Subject: [PATCH 1247/3036] build: migrate to flakybot (#264) Source-Author: Justin Beckwith Source-Date: Thu Jan 28 22:22:38 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a Source-Link: https://github.com/googleapis/synthtool/commit/d1bb9173100f62c0cfc8f3138b62241e7f47ca6a --- java-shared-dependencies/.kokoro/build.sh | 4 ++-- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index ea53b0f31484..50219852efea 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -110,8 +110,8 @@ bash .kokoro/coerce_logs.sh if [[ "${ENABLE_BUILD_COP}" == "true" ]] then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/buildcop - ${KOKORO_GFILE_DIR}/linux_amd64/buildcop -repo=googleapis/java-shared-dependencies + chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot + ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-shared-dependencies fi echo "exiting with ${RETURN_CODE}" diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 7a2daf042c31..e6bed64cf131 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "88e88fc322c9352d59bc6f07e8f8c6f5addd5add" + "sha": "1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3816b080296d4d52975079fd26c110dd26ba25af" + "sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a" } } ], From 2fd00dc2cdec1fe68cf3447fe5d12028626f0bf0 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Tue, 2 Feb 2021 13:05:05 -0800 Subject: [PATCH 1248/3036] build: migrate to flakybot (#263) From ccc788c3333af43ebdba21c8917ddd8518c8e06e Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Tue, 2 Feb 2021 16:41:40 -0500 Subject: [PATCH 1249/3036] deps: downgrade opencensus version back to 0.28.0 (#265) To address linkage checker error brought in by grpc-census identified in https://github.com/googleapis/java-shared-dependencies/pull/248#pullrequestreview-578503417, --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index fc8564b2cd4c..56aa0d7382ea 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -70,7 +70,7 @@ 1.3.2 1.19 1.0.7 - 0.28.1 + 0.28.0 3.0.2 2.5.1 2.12.1 From 635b9c2cfab8c51b7f8f813c17c4dd2d76f99990 Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Tue, 2 Feb 2021 17:16:02 -0500 Subject: [PATCH 1250/3036] disable autorelease in this repo (#266) --- .../.github/workflows/auto-release.yaml | 88 ------------------- java-shared-dependencies/synth.py | 1 + 2 files changed, 1 insertion(+), 88 deletions(-) delete mode 100644 java-shared-dependencies/.github/workflows/auto-release.yaml diff --git a/java-shared-dependencies/.github/workflows/auto-release.yaml b/java-shared-dependencies/.github/workflows/auto-release.yaml deleted file mode 100644 index 2b6cdbc976c4..000000000000 --- a/java-shared-dependencies/.github/workflows/auto-release.yaml +++ /dev/null @@ -1,88 +0,0 @@ -on: - pull_request: -name: auto-release -jobs: - approve: - runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-v') - steps: - - uses: actions/github-script@v3 - with: - github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} - debug: true - script: | - // only approve PRs from release-please[bot] - if (context.payload.pull_request.user.login !== "release-please[bot]") { - return; - } - - // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { - return; - } - - // only approve PRs with pom.xml and versions.txt changes - const filesPromise = github.pulls.listFiles.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - }); - const changed_files = await github.paginate(filesPromise) - - if ( changed_files.length < 1 ) { - console.log( "Not proceeding since PR is empty!" ) - return; - } - - if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) { - console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" ) - return; - } - - // trigger auto-release when - // 1) it is a SNAPSHOT release (auto-generated post regular release) - // 2) there are dependency updates only - // 3) there are no open dependency update PRs in this repo (to avoid multiple releases) - if ( - context.payload.pull_request.body.includes("Fix") || - context.payload.pull_request.body.includes("Build") || - context.payload.pull_request.body.includes("Documentation") || - context.payload.pull_request.body.includes("BREAKING CHANGES") || - context.payload.pull_request.body.includes("Features") - ) { - console.log( "Not auto-releasing since it is not a dependency-update-only release." ); - return; - } - - const promise = github.pulls.list.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - state: 'open' - }); - const open_pulls = await github.paginate(promise) - - if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) { - for ( const pull of open_pulls ) { - if ( pull.title.startsWith("deps: update dependency") ) { - console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." ); - return; - } - } - } - - // approve release PR - await github.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Rubber stamped release!', - pull_number: context.payload.pull_request.number, - event: 'APPROVE' - }); - - // attach kokoro:force-run and automerge labels - await github.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.payload.pull_request.number, - labels: ['kokoro:force-run', 'automerge'] - }); diff --git a/java-shared-dependencies/synth.py b/java-shared-dependencies/synth.py index a27dfd26565d..4e9b4482ee29 100644 --- a/java-shared-dependencies/synth.py +++ b/java-shared-dependencies/synth.py @@ -23,4 +23,5 @@ # excluding samples ci jobs since there are no samples in this repo '.github/workflows/samples.yaml', '.github/release-please.yml', + '.github/workflows/auto-release.yaml', ]) From 97c73c5ef401933d37ca44f5219adcce14618515 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Feb 2021 08:19:29 -0800 Subject: [PATCH 1251/3036] chore: regen common template * build(java): generate docfx yml on release * feat: generate docfx yml on release * fix: updates name variable * fix: remove non needed resource * fix: update date Source-Author: Emily Ball Source-Date: Mon Feb 1 15:24:59 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 5de29e9434b63ea6d7e46dc348521c62969af1a1 Source-Link: https://github.com/googleapis/synthtool/commit/5de29e9434b63ea6d7e46dc348521c62969af1a1 * build(java): run linkage monitor as GitHub action Source-Author: Tomo Suzuki Source-Date: Tue Feb 2 16:20:26 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 Source-Link: https://github.com/googleapis/synthtool/commit/e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 --- .../.github/workflows/ci.yaml | 13 ++++- .../.kokoro/linkage-monitor.sh | 46 ---------------- .../.kokoro/release/publish_javadoc.cfg | 5 +- .../.kokoro/release/publish_javadoc11.cfg | 30 ++++++++++ .../.kokoro/release/publish_javadoc11.sh | 55 +++++++++++++++++++ java-shared-dependencies/synth.metadata | 8 +-- 6 files changed, 102 insertions(+), 55 deletions(-) delete mode 100755 java-shared-dependencies/.kokoro/linkage-monitor.sh create mode 100644 java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg create mode 100755 java-shared-dependencies/.kokoro/release/publish_javadoc11.sh diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 683022075665..98a472e132d6 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -54,7 +54,18 @@ jobs: with: java-version: 8 - run: java -version - - run: .kokoro/linkage-monitor.sh + - name: Install artifacts to local Maven repository + run: | + source .kokoro/common.sh + retry_with_backoff 3 10 \ + mvn install -B -V \ + -Dmaven.test.skip -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true + shell: bash + - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-shared-dependencies/.kokoro/linkage-monitor.sh b/java-shared-dependencies/.kokoro/linkage-monitor.sh deleted file mode 100755 index 759ab4e2c220..000000000000 --- a/java-shared-dependencies/.kokoro/linkage-monitor.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -# Display commands being run. -set -x - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Java version -java -version -echo ${JOB_TYPE} - -# attempt to install 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true - -# Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR -JAR=linkage-monitor-latest-all-deps.jar -curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}" - -# Fails if there's new linkage errors compared with baseline -java -jar ${JAR} com.google.cloud:libraries-bom diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg index af3b9a966a0f..0ee7f2b28b9b 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -26,7 +26,4 @@ before_action { keyname: "docuploader_service_account" } } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg new file mode 100644 index 000000000000..2ddd71ce63ec --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg @@ -0,0 +1,30 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2" + # Production will be at: docs-staging-v2 +} + +# Configure the docker image for kokoro-trampoline +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "docuploader_service_account" + } + } +} + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh new file mode 100755 index 000000000000..05acff84d397 --- /dev/null +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Copyright 2021 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +if [[ -z "${CREDENTIALS}" ]]; then + CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account +fi + +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + +# work from the git root directory +pushd $(dirname "$0")/../../ + +# install docuploader package +python3 -m pip install gcp-docuploader + +# compile all packages +mvn clean install -B -q -DskipTests=true + +export NAME=google-cloud-shared-dependencies +export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) + +# V3 generates docfx yml from javadoc +# generate yml +mvn clean site -B -q -P docFX + +pushd target/docfx-yml + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload yml +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} \ + --destination-prefix docfx- diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index e6bed64cf131..3b3e4d4f9c0c 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706" + "sha": "9d5061e27d044cba1884065efbdc87bcbbf0440f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a" + "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" } } ], @@ -27,7 +27,6 @@ ".github/snippet-bot.yml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", - ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", ".kokoro/build.bat", ".kokoro/build.sh", @@ -38,7 +37,6 @@ ".kokoro/continuous/java8.cfg", ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", - ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", ".kokoro/nightly/integration.cfg", ".kokoro/nightly/java11.cfg", @@ -70,6 +68,8 @@ ".kokoro/release/promote.sh", ".kokoro/release/publish_javadoc.cfg", ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/publish_javadoc11.cfg", + ".kokoro/release/publish_javadoc11.sh", ".kokoro/release/snapshot.cfg", ".kokoro/release/snapshot.sh", ".kokoro/release/stage.cfg", From 6f56ca9b0667fc4c9b274d41c34572a812d38cc1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Feb 2021 09:00:30 -0800 Subject: [PATCH 1252/3036] chore: Re-generated to pick up changes from synthtool. (#98) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * build: migrate to flakybot Source-Author: Justin Beckwith Source-Date: Thu Jan 28 22:22:38 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: d1bb9173100f62c0cfc8f3138b62241e7f47ca6a Source-Link: https://github.com/googleapis/synthtool/commit/d1bb9173100f62c0cfc8f3138b62241e7f47ca6a * build(java): generate docfx yml on release * feat: generate docfx yml on release * fix: updates name variable * fix: remove non needed resource * fix: update date Source-Author: Emily Ball Source-Date: Mon Feb 1 15:24:59 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 5de29e9434b63ea6d7e46dc348521c62969af1a1 Source-Link: https://github.com/googleapis/synthtool/commit/5de29e9434b63ea6d7e46dc348521c62969af1a1 * build(java): run linkage monitor as GitHub action Source-Author: Tomo Suzuki Source-Date: Tue Feb 2 16:20:26 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 Source-Link: https://github.com/googleapis/synthtool/commit/e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 --- java-iam/.github/workflows/ci.yaml | 13 ++++- java-iam/.kokoro/linkage-monitor.sh | 46 ---------------- java-iam/.kokoro/release/publish_javadoc.cfg | 5 +- .../.kokoro/release/publish_javadoc11.cfg | 30 ++++++++++ java-iam/.kokoro/release/publish_javadoc11.sh | 55 +++++++++++++++++++ java-iam/synth.metadata | 7 ++- 6 files changed, 102 insertions(+), 54 deletions(-) delete mode 100755 java-iam/.kokoro/linkage-monitor.sh create mode 100644 java-iam/.kokoro/release/publish_javadoc11.cfg create mode 100755 java-iam/.kokoro/release/publish_javadoc11.sh diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 683022075665..98a472e132d6 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -54,7 +54,18 @@ jobs: with: java-version: 8 - run: java -version - - run: .kokoro/linkage-monitor.sh + - name: Install artifacts to local Maven repository + run: | + source .kokoro/common.sh + retry_with_backoff 3 10 \ + mvn install -B -V \ + -Dmaven.test.skip -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true + shell: bash + - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-iam/.kokoro/linkage-monitor.sh b/java-iam/.kokoro/linkage-monitor.sh deleted file mode 100755 index 759ab4e2c220..000000000000 --- a/java-iam/.kokoro/linkage-monitor.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -# Display commands being run. -set -x - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Java version -java -version -echo ${JOB_TYPE} - -# attempt to install 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true - -# Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR -JAR=linkage-monitor-latest-all-deps.jar -curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}" - -# Fails if there's new linkage errors compared with baseline -java -jar ${JAR} com.google.cloud:libraries-bom diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg index a3d6fad1b92a..c89a4a4ed8bb 100644 --- a/java-iam/.kokoro/release/publish_javadoc.cfg +++ b/java-iam/.kokoro/release/publish_javadoc.cfg @@ -26,7 +26,4 @@ before_action { keyname: "docuploader_service_account" } } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +} \ No newline at end of file diff --git a/java-iam/.kokoro/release/publish_javadoc11.cfg b/java-iam/.kokoro/release/publish_javadoc11.cfg new file mode 100644 index 000000000000..2ddd71ce63ec --- /dev/null +++ b/java-iam/.kokoro/release/publish_javadoc11.cfg @@ -0,0 +1,30 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2" + # Production will be at: docs-staging-v2 +} + +# Configure the docker image for kokoro-trampoline +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java11" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" +} + +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "docuploader_service_account" + } + } +} + +# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh new file mode 100755 index 000000000000..17d0fb931d6b --- /dev/null +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Copyright 2021 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +if [[ -z "${CREDENTIALS}" ]]; then + CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account +fi + +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + +# work from the git root directory +pushd $(dirname "$0")/../../ + +# install docuploader package +python3 -m pip install gcp-docuploader + +# compile all packages +mvn clean install -B -q -DskipTests=true + +export NAME=proto-google-iam-v1 +export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) + +# V3 generates docfx yml from javadoc +# generate yml +mvn clean site -B -q -P docFX + +pushd target/docfx-yml + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload yml +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} \ + --destination-prefix docfx- diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index d41fd32c82d4..2c5ff8cd50c5 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "c6aac9ab74c2511c4eb61f74fa805b2c3bcbe408" + "sha": "074caa9a033f8340979f8d082d081146d04bb5b0" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "3816b080296d4d52975079fd26c110dd26ba25af" + "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" } } ], @@ -47,7 +47,6 @@ ".kokoro/continuous/java8.cfg", ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", - ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", ".kokoro/nightly/integration.cfg", ".kokoro/nightly/java11.cfg", @@ -79,6 +78,8 @@ ".kokoro/release/promote.sh", ".kokoro/release/publish_javadoc.cfg", ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/publish_javadoc11.cfg", + ".kokoro/release/publish_javadoc11.sh", ".kokoro/release/snapshot.cfg", ".kokoro/release/snapshot.sh", ".kokoro/release/stage.cfg", From ab3ceb21fb4d9473fe9f817a9d37634645fc8d30 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Feb 2021 10:00:37 -0800 Subject: [PATCH 1253/3036] build(java): update autorelease branch name check (#99) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/7427abff-8d36-4a5d-a5f8-617d321145c8/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/140ba24a136c63e7f10a998a63e7898aed63ea7d --- java-iam/.github/workflows/auto-release.yaml | 2 +- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index 2b6cdbc976c4..76e6404b4e09 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -17,7 +17,7 @@ jobs: } // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 2c5ff8cd50c5..174bc84d0a22 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "074caa9a033f8340979f8d082d081146d04bb5b0" + "sha": "d60405c609b0c93c74805bfcc4b681b1cda999a5" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" + "sha": "140ba24a136c63e7f10a998a63e7898aed63ea7d" } } ], From af3c305f05627f261eaae6fe5d94d94f4ea3158a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Feb 2021 12:54:09 -0800 Subject: [PATCH 1254/3036] build(java): run linkage monitor as GitHub action (#369) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a00c92a9-2250-4683-ac6c-3b41c903cbdc/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/e935c9ecb47da0f2e054f5f1845f7cf7c95fa625 --- java-core/.github/workflows/ci.yaml | 13 +++++++- java-core/.kokoro/linkage-monitor.sh | 46 ---------------------------- java-core/synth.metadata | 5 ++- 3 files changed, 14 insertions(+), 50 deletions(-) delete mode 100755 java-core/.kokoro/linkage-monitor.sh diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 683022075665..98a472e132d6 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -54,7 +54,18 @@ jobs: with: java-version: 8 - run: java -version - - run: .kokoro/linkage-monitor.sh + - name: Install artifacts to local Maven repository + run: | + source .kokoro/common.sh + retry_with_backoff 3 10 \ + mvn install -B -V \ + -Dmaven.test.skip -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true + shell: bash + - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-core/.kokoro/linkage-monitor.sh b/java-core/.kokoro/linkage-monitor.sh deleted file mode 100755 index 759ab4e2c220..000000000000 --- a/java-core/.kokoro/linkage-monitor.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -# Display commands being run. -set -x - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Java version -java -version -echo ${JOB_TYPE} - -# attempt to install 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn install -B -V \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true - -# Kokoro job cloud-opensource-java/ubuntu/linkage-monitor-gcs creates this JAR -JAR=linkage-monitor-latest-all-deps.jar -curl -v -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/${JAR}" - -# Fails if there's new linkage errors compared with baseline -java -jar ${JAR} com.google.cloud:libraries-bom diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 7c49843fb816..2e0fd0a4bc0a 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "107a32aa170eca0f61e14183af1e795a61291d49" + "sha": "f02f0ae48758f9e21bf287b52e8d216f29c205db" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5de29e9434b63ea6d7e46dc348521c62969af1a1" + "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" } } ], @@ -39,7 +39,6 @@ ".kokoro/continuous/java8.cfg", ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", - ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", ".kokoro/nightly/integration.cfg", ".kokoro/nightly/java11.cfg", From 085ed7aa3fc594da2fe46aca849dc3fad8b11e42 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Feb 2021 15:32:14 -0800 Subject: [PATCH 1255/3036] chore: Re-generated to pick up changes from synthtool. (#371) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/6e80cdc5-e3cc-4a87-af9b-624be8759c22/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5 Source-Link: https://github.com/googleapis/synthtool/commit/27b2d4f4674840628d0b75c5941e89c12af4764f Source-Link: https://github.com/googleapis/synthtool/commit/140ba24a136c63e7f10a998a63e7898aed63ea7d --- java-core/.github/workflows/auto-release.yaml | 2 +- java-core/.kokoro/release/publish_javadoc11.cfg | 4 ++-- java-core/LICENSE | 1 - java-core/synth.metadata | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index 2b6cdbc976c4..76e6404b4e09 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -17,7 +17,7 @@ jobs: } // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/java-core/.kokoro/release/publish_javadoc11.cfg b/java-core/.kokoro/release/publish_javadoc11.cfg index 2ddd71ce63ec..bcafea1fac32 100644 --- a/java-core/.kokoro/release/publish_javadoc11.cfg +++ b/java-core/.kokoro/release/publish_javadoc11.cfg @@ -14,7 +14,7 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" + value: "github/java-core/.kokoro/release/publish_javadoc11.sh" } before_action { @@ -27,4 +27,4 @@ before_action { } # Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/java-core/LICENSE b/java-core/LICENSE index d64569567334..261eeb9e9f8b 100644 --- a/java-core/LICENSE +++ b/java-core/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2e0fd0a4bc0a..c069b4b4e4d5 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "f02f0ae48758f9e21bf287b52e8d216f29c205db" + "sha": "32797f6acc22874bb3144d76f214ff3a48aa65b5" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" + "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" } } ], From 1100cb2229fafdbe74d0f2c7c7dc2f89622d1c3c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Feb 2021 16:28:06 -0800 Subject: [PATCH 1256/3036] chore: Re-generated to pick up changes from synthtool. (#101) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c62e9721-b192-423e-b7cd-302f0e7b416b/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5 Source-Link: https://github.com/googleapis/synthtool/commit/27b2d4f4674840628d0b75c5941e89c12af4764f --- java-iam/.kokoro/release/publish_javadoc11.cfg | 4 ++-- java-iam/LICENSE | 1 - java-iam/synth.metadata | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc11.cfg b/java-iam/.kokoro/release/publish_javadoc11.cfg index 2ddd71ce63ec..4b1b93bc8220 100644 --- a/java-iam/.kokoro/release/publish_javadoc11.cfg +++ b/java-iam/.kokoro/release/publish_javadoc11.cfg @@ -14,7 +14,7 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" + value: "github/java-iam/.kokoro/release/publish_javadoc11.sh" } before_action { @@ -27,4 +27,4 @@ before_action { } # Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/java-iam/LICENSE b/java-iam/LICENSE index d64569567334..261eeb9e9f8b 100644 --- a/java-iam/LICENSE +++ b/java-iam/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 174bc84d0a22..312fc04b700b 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "d60405c609b0c93c74805bfcc4b681b1cda999a5" + "sha": "644720ff9e2a1fc93402a4f4f02e26009549eb59" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "140ba24a136c63e7f10a998a63e7898aed63ea7d" + "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" } } ], From 166338c4e66de501304b1b493595dfcb912af7ba Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Feb 2021 12:24:20 -0800 Subject: [PATCH 1257/3036] chore: remove leading newline from LICENSE (#271) Co-authored-by: Christopher Wilcox Source-Author: Justin Beckwith Source-Date: Wed Feb 3 15:37:31 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 27b2d4f4674840628d0b75c5941e89c12af4764f Source-Link: https://github.com/googleapis/synthtool/commit/27b2d4f4674840628d0b75c5941e89c12af4764f --- java-shared-dependencies/LICENSE | 1 - java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/LICENSE b/java-shared-dependencies/LICENSE index d64569567334..261eeb9e9f8b 100644 --- a/java-shared-dependencies/LICENSE +++ b/java-shared-dependencies/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 3b3e4d4f9c0c..e18696a32ace 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "9d5061e27d044cba1884065efbdc87bcbbf0440f" + "sha": "85da17c393fe99486768b6626f550862c650c66e" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e935c9ecb47da0f2e054f5f1845f7cf7c95fa625" + "sha": "27b2d4f4674840628d0b75c5941e89c12af4764f" } } ], From ef4d41d287a8f976423ef3458e6f37f0720e31d6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 8 Feb 2021 09:08:43 -0800 Subject: [PATCH 1258/3036] fix: update repo name (#274) java-memcache set for all accidentally Source-Author: Emily Ball Source-Date: Thu Feb 4 10:39:41 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5 Source-Link: https://github.com/googleapis/synthtool/commit/692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5 --- .../.kokoro/release/publish_javadoc11.cfg | 4 ++-- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg index 2ddd71ce63ec..6f43db19f368 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg @@ -14,7 +14,7 @@ env_vars: { env_vars: { key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-memcache/.kokoro/release/publish_javadoc11.sh" + value: "github/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh" } before_action { @@ -27,4 +27,4 @@ before_action { } # Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" \ No newline at end of file +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index e18696a32ace..1db05991c4cf 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "85da17c393fe99486768b6626f550862c650c66e" + "sha": "614c42376a1ffaf93882d4c00a17d034d2f1486a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "27b2d4f4674840628d0b75c5941e89c12af4764f" + "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" } } ], From b14eaab9ae0d5858fd996d679904a36de4deebe0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Feb 2021 20:41:05 +0100 Subject: [PATCH 1259/3036] deps: update dependency com.google.cloud:google-cloud-core to v1.94.1 (#272) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 56aa0d7382ea..3b4336d3f976 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.14.0 1.10.1 2.0.1 - 1.94.0 + 1.94.1 0.23.0 1.38.1 1.31.2 From a0c677f843dc029996c0775b09146a5015ba667f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Feb 2021 20:41:24 +0100 Subject: [PATCH 1260/3036] deps: update iam.version to v1.0.8 (#273) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3b4336d3f976..e2ad30387f7f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.19 - 1.0.7 + 1.0.8 0.28.0 3.0.2 2.5.1 From 05f389be3c4621821960c0e406c2303dc22b956b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 10 Feb 2021 09:00:19 -0800 Subject: [PATCH 1261/3036] build(java): update autorelease script (#373) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8ae9af40-372e-4b53-9579-33a36c0aa209/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/2414b817065726eae0bc525346c7e874f969369d --- java-core/.github/workflows/auto-release.yaml | 4 ++-- java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index 76e6404b4e09..7c8816a7d7b1 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -4,7 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-v') + if: contains(github.head_ref, 'release-please') steps: - uses: actions/github-script@v3 with: @@ -16,7 +16,7 @@ jobs: return; } - // only approve PRs like "chore: release " + // only approve PRs like "chore(master): release " if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/java-core/synth.metadata b/java-core/synth.metadata index c069b4b4e4d5..cef06c48f1ee 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "32797f6acc22874bb3144d76f214ff3a48aa65b5" + "sha": "313193509ee7fa0e694188f9266c54c029a582c6" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" + "sha": "2414b817065726eae0bc525346c7e874f969369d" } } ], From b33b9b69903fc2a51481b09f6ff6f29f8c28094a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 10 Feb 2021 09:03:11 -0800 Subject: [PATCH 1262/3036] build(java): update autorelease script (#102) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/77d0a1df-06aa-4fa7-a078-e372ada4f092/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/2414b817065726eae0bc525346c7e874f969369d --- java-iam/.github/workflows/auto-release.yaml | 4 ++-- java-iam/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index 76e6404b4e09..7c8816a7d7b1 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -4,7 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-v') + if: contains(github.head_ref, 'release-please') steps: - uses: actions/github-script@v3 with: @@ -16,7 +16,7 @@ jobs: return; } - // only approve PRs like "chore: release " + // only approve PRs like "chore(master): release " if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { return; } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 312fc04b700b..df34f16083b1 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "644720ff9e2a1fc93402a4f4f02e26009549eb59" + "sha": "16096896c024de0f1fe1a74344a2ffb73e83bde5" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" + "sha": "2414b817065726eae0bc525346c7e874f969369d" } } ], From 2dd9cec74eb5bb14b8a2d3fa7e75cf95c6f597eb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Feb 2021 19:04:38 +0100 Subject: [PATCH 1263/3036] test(deps): update dependency junit:junit to v4.13.2 (#374) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [junit:junit](http://junit.org) ([source](https://togithub.com/junit-team/junit4)) | `4.13.1` -> `4.13.2` | [![age](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/compatibility-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/confidence-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f2c2833cd91f..10d488ed6f50 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -163,7 +163,7 @@ 0.24.0 1.3.2 30.1-android - 4.13.1 + 4.13.2 1.1 3.6 3.0.2 From fbd279fa4d66c4e9ce36cfd4be941b3f899b28cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Feb 2021 19:06:11 +0100 Subject: [PATCH 1264/3036] test(deps): update dependency junit:junit to v4.13.2 (#103) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [junit:junit](http://junit.org) ([source](https://togithub.com/junit-team/junit4)) | `4.13.1` -> `4.13.2` | [![age](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/compatibility-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/junit:junit/4.13.2/confidence-slim/4.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 5549de62560c..cfcf9717cbe6 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -83,7 +83,7 @@ junit junit - 4.13.1 + 4.13.2 test
    From b26e5cdce333f9b2737396b311ccb99cbaeed751 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Feb 2021 23:22:20 +0100 Subject: [PATCH 1265/3036] test(deps): update dependency com.google.truth:truth to v1.1.2 (#361) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.truth:truth](com/google/truth/truth) | `1.1` -> `1.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/compatibility-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/confidence-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 10d488ed6f50..77d8b25a8d56 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -164,7 +164,7 @@ 1.3.2 30.1-android 4.13.2 - 1.1 + 1.1.2 3.6 3.0.2 1.5.0 From 8fa2c54adb7725175787d9aaf24dd8665ba208c5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 16 Feb 2021 16:18:27 -0800 Subject: [PATCH 1266/3036] ci: linkage monitor CI job to use build.sh (#375) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/549c8707-14a7-4963-9d20-bbd5d5285b08/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f327d3b657a63ae4a8efd7f011a15eacae36b59c --- java-core/.github/workflows/ci.yaml | 13 +++---------- java-core/synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 98a472e132d6..def8b3a2c84d 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -55,17 +55,10 @@ jobs: java-version: 8 - run: java -version - name: Install artifacts to local Maven repository - run: | - source .kokoro/common.sh - retry_with_backoff 3 10 \ - mvn install -B -V \ - -Dmaven.test.skip -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true + run: .kokoro/build.sh shell: bash - - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor + - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) + uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-core/synth.metadata b/java-core/synth.metadata index cef06c48f1ee..32f78fcd6551 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "313193509ee7fa0e694188f9266c54c029a582c6" + "sha": "dc4473fe6321e825c38140d729249cce7e40cc8b" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "2414b817065726eae0bc525346c7e874f969369d" + "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" } } ], From 23e41da122d9b3726cc1d009b30842c57e74f9fd Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 16 Feb 2021 16:20:20 -0800 Subject: [PATCH 1267/3036] ci: linkage monitor CI job to use build.sh (#104) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/81e20533-a99a-4385-a4b8-1fa62df8278a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f327d3b657a63ae4a8efd7f011a15eacae36b59c --- java-iam/.github/workflows/ci.yaml | 13 +++---------- java-iam/synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 98a472e132d6..def8b3a2c84d 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -55,17 +55,10 @@ jobs: java-version: 8 - run: java -version - name: Install artifacts to local Maven repository - run: | - source .kokoro/common.sh - retry_with_backoff 3 10 \ - mvn install -B -V \ - -Dmaven.test.skip -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true + run: .kokoro/build.sh shell: bash - - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor + - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) + uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index df34f16083b1..ac95bd25b3c5 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "16096896c024de0f1fe1a74344a2ffb73e83bde5" + "sha": "b3a599783991c6e058187b0a8cf4062dedcbbfb2" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "2414b817065726eae0bc525346c7e874f969369d" + "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" } } ], From 6ccd87ea7dcc552ff5e32454185ab7e069408e17 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Feb 2021 09:06:13 -0800 Subject: [PATCH 1268/3036] chore: update cloud-rad buckets (#105) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e869dee2-5514-4ac4-89bb-f174fbb34819/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b416a7befcdbc42de41cf387dcf428f894fb812b --- java-iam/.kokoro/release/publish_javadoc.cfg | 4 ++-- java-iam/.kokoro/release/publish_javadoc.sh | 2 +- java-iam/.kokoro/release/publish_javadoc11.cfg | 2 +- java-iam/.kokoro/release/publish_javadoc11.sh | 2 +- java-iam/synth.metadata | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg index c89a4a4ed8bb..5f3ba9a9b69d 100644 --- a/java-iam/.kokoro/release/publish_javadoc.cfg +++ b/java-iam/.kokoro/release/publish_javadoc.cfg @@ -7,10 +7,10 @@ env_vars: { value: "docs-staging" } +# cloud-rad staging env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" - # Production will be at: docs-staging-v2 + value: "docs-staging-v2-staging" } env_vars: { diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index e4cd2b47a21e..96726df04063 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -71,7 +71,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload docs +# upload docs to staging bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-iam/.kokoro/release/publish_javadoc11.cfg b/java-iam/.kokoro/release/publish_javadoc11.cfg index 4b1b93bc8220..c84570efd660 100644 --- a/java-iam/.kokoro/release/publish_javadoc11.cfg +++ b/java-iam/.kokoro/release/publish_javadoc11.cfg @@ -1,9 +1,9 @@ # Format: //devtools/kokoro/config/proto/build.proto +# cloud-rad production env_vars: { key: "STAGING_BUCKET_V2" value: "docs-staging-v2" - # Production will be at: docs-staging-v2 } # Configure the docker image for kokoro-trampoline diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index 17d0fb931d6b..bd8e2cf7ec93 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -48,7 +48,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload yml +# upload yml to production bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index ac95bd25b3c5..ab6df5e5266b 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "b3a599783991c6e058187b0a8cf4062dedcbbfb2" + "sha": "cb88a5bb2180f3003b521e80e55e67113f94f1e6" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" + "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b" } } ], From ea67f7a89dba0bd417f71ba336dc295f91d3d736 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Feb 2021 09:06:47 -0800 Subject: [PATCH 1269/3036] chore: update cloud-rad buckets (#376) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/076d8116-2173-4482-aeb4-8514456cfb36/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b416a7befcdbc42de41cf387dcf428f894fb812b --- java-core/.kokoro/release/publish_javadoc.cfg | 4 ++-- java-core/.kokoro/release/publish_javadoc.sh | 2 +- java-core/.kokoro/release/publish_javadoc11.cfg | 2 +- java-core/.kokoro/release/publish_javadoc11.sh | 2 +- java-core/synth.metadata | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg index 2c48f32b72e2..a280a19c5023 100644 --- a/java-core/.kokoro/release/publish_javadoc.cfg +++ b/java-core/.kokoro/release/publish_javadoc.cfg @@ -7,10 +7,10 @@ env_vars: { value: "docs-staging" } +# cloud-rad staging env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" - # Production will be at: docs-staging-v2 + value: "docs-staging-v2-staging" } env_vars: { diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index 6c8784f8fce6..f76db1b2db4b 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -71,7 +71,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload docs +# upload docs to staging bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-core/.kokoro/release/publish_javadoc11.cfg b/java-core/.kokoro/release/publish_javadoc11.cfg index bcafea1fac32..52b5dea9701c 100644 --- a/java-core/.kokoro/release/publish_javadoc11.cfg +++ b/java-core/.kokoro/release/publish_javadoc11.cfg @@ -1,9 +1,9 @@ # Format: //devtools/kokoro/config/proto/build.proto +# cloud-rad production env_vars: { key: "STAGING_BUCKET_V2" value: "docs-staging-v2" - # Production will be at: docs-staging-v2 } # Configure the docker image for kokoro-trampoline diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh index 929828f38769..23f679fd3450 100755 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -48,7 +48,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload yml +# upload yml to production bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 32f78fcd6551..7db15c82df11 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "dc4473fe6321e825c38140d729249cce7e40cc8b" + "sha": "83a73d766160baa53fc0dc1e385e4456a4300b65" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" + "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b" } } ], From 589bf0420ff6d10695d99e7f2f5fb8396fa6085a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 18 Feb 2021 16:40:06 -0800 Subject: [PATCH 1270/3036] build: skip Maven download logs (#379) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/62fbd93a-0469-4c6e-9547-84dbcc2a707d/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/1aeca92e4a38f47134cb955f52ea76f84f09ff88 --- java-core/.kokoro/build.sh | 2 ++ java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index b7e46c5f6d8b..07b930c794f3 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -60,6 +60,7 @@ javadoc) ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ + -ntp \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ @@ -81,6 +82,7 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ + -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 7db15c82df11..501f7cbb97dd 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "83a73d766160baa53fc0dc1e385e4456a4300b65" + "sha": "b0c0a20301fd324cc2cbc7f2da65521232cb367a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b" + "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88" } } ], From f6b96e39e9c95724e863b311d5219e9e34529ee1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 18 Feb 2021 16:42:28 -0800 Subject: [PATCH 1271/3036] build: skip Maven download logs (#106) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/9220b79b-a945-4af3-acda-a18d81d8e09a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/1aeca92e4a38f47134cb955f52ea76f84f09ff88 --- java-iam/.kokoro/build.sh | 2 ++ java-iam/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 884c2cd5c2c8..bdbef83f176b 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -60,6 +60,7 @@ javadoc) ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ + -ntp \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ @@ -81,6 +82,7 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ + -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index ab6df5e5266b..02aff1772cba 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "cb88a5bb2180f3003b521e80e55e67113f94f1e6" + "sha": "4fc220a4c07cddeea446a1a7a2d4f1004cb4b154" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b416a7befcdbc42de41cf387dcf428f894fb812b" + "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88" } } ], From 97db63a4b278a3e2b962f88cfd2932e7cf667d71 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Feb 2021 07:46:50 -0800 Subject: [PATCH 1272/3036] build: reduce download junk in log files (#380) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c662ff13-a77b-48b5-be4e-62774692925a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/6946fd71ae9215b0e7ae188f5057df765ee6d7d2 --- java-core/.kokoro/build.sh | 2 +- java-core/.kokoro/dependencies.sh | 4 ++-- java-core/synth.metadata | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 07b930c794f3..40ee677b2946 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -29,7 +29,7 @@ echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index c91e5a56937a..0fb8c8436ccc 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true @@ -86,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi \ No newline at end of file +fi diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 501f7cbb97dd..08cfb4b99d15 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "b0c0a20301fd324cc2cbc7f2da65521232cb367a" + "sha": "d95ccb1fd7c8513ffd57ecd9723b68dd517b1a4a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88" + "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" } } ], From ac3f640937e1eaad01421257b11492180888767f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Feb 2021 07:48:11 -0800 Subject: [PATCH 1273/3036] build: reduce download junk in log files (#107) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/682cf367-d29a-4ee1-a7e2-16a6514bb004/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/6946fd71ae9215b0e7ae188f5057df765ee6d7d2 --- java-iam/.kokoro/build.sh | 2 +- java-iam/.kokoro/dependencies.sh | 4 ++-- java-iam/synth.metadata | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index bdbef83f176b..40ad11462073 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -29,7 +29,7 @@ echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index c91e5a56937a..0fb8c8436ccc 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true @@ -86,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi \ No newline at end of file +fi diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 02aff1772cba..12103a11dd1f 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "4fc220a4c07cddeea446a1a7a2d4f1004cb4b154" + "sha": "9b1ecf73d92e9068f34dded022f8f225e2ab28df" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1aeca92e4a38f47134cb955f52ea76f84f09ff88" + "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" } } ], From dabcb50b5c3fadcb5a971bd7177eb8f2f6e433db Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Feb 2021 20:04:24 +0100 Subject: [PATCH 1274/3036] build(deps): update dependency org.codehaus.mojo:animal-sniffer-annotations to v1.20 (#275) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e2ad30387f7f..0fca626c2dda 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -68,7 +68,7 @@ 2.8.6 1.5.0 1.3.2 - 1.19 + 1.20 1.0.8 0.28.0 3.0.2 From ee914fcada1c61acc98eb3723999ac1c8295fda3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Feb 2021 20:06:07 +0100 Subject: [PATCH 1275/3036] deps: update gax.version to v1.61.0 (#277) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0fca626c2dda..6782fc87a552 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.35.0 - 1.60.1 + 1.61.0 30.1-android 3.14.0 1.10.1 From 30498489b65261024787029da596e51a877693b5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Feb 2021 20:06:25 +0100 Subject: [PATCH 1276/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.0 (#278) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6782fc87a552..a5b74fae5d3e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.35.0 1.61.0 30.1-android - 3.14.0 + 3.15.0 1.10.1 2.0.1 1.94.1 From bd353ed5074f0ad58b95adec9df90d54f76d34e4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Feb 2021 11:06:51 -0800 Subject: [PATCH 1277/3036] ci: linkage monitor CI job to use build.sh (#276) This PR updates the GitHub Actions configuration for Linkage Monitor. Before this change, the CI configuration has "mvn install" command with 6 options. It turned out that a slight difference in the command line option from "build.sh" fails the build in google-auth-library-java repository (https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/1941). (@Neenu1995 found the build failure. Thanks!) Therefore, this change updates the configuration so that Linkage Monitor job just uses "build.sh" to install the artifacts into local Maven repository. # How did I test? I tested this change in java-spanner repository with this draft PR: https://github.com/googleapis/java-spanner/pull/868 Screen Shot 2021-02-12 at 16 54 18 It succeeded. Source-Author: Tomo Suzuki Source-Date: Tue Feb 16 15:56:09 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: f327d3b657a63ae4a8efd7f011a15eacae36b59c Source-Link: https://github.com/googleapis/synthtool/commit/f327d3b657a63ae4a8efd7f011a15eacae36b59c --- java-shared-dependencies/.github/workflows/ci.yaml | 13 +++---------- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 98a472e132d6..def8b3a2c84d 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -55,17 +55,10 @@ jobs: java-version: 8 - run: java -version - name: Install artifacts to local Maven repository - run: | - source .kokoro/common.sh - retry_with_backoff 3 10 \ - mvn install -B -V \ - -Dmaven.test.skip -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true + run: .kokoro/build.sh shell: bash - - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor + - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) + uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 1db05991c4cf..d2f94002017e 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "614c42376a1ffaf93882d4c00a17d034d2f1486a" + "sha": "4d5e7f720d847918b307a83c95cea10c244ba595" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "692715c0f23a7bb3bfbbaa300f7620ddfa8c47e5" + "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" } } ], From da45a27f1cf6b9cbc9a56f10c4cab59d4d08e063 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 19 Feb 2021 19:16:04 +0000 Subject: [PATCH 1278/3036] chore: release 0.19.0 (#267) :robot: I have created a release \*beep\* \*boop\* --- ## [0.19.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.18.0...v0.19.0) (2021-02-19) ### Bug Fixes * update repo name ([#274](https://www.github.com/googleapis/java-shared-dependencies/issues/274)) ([ef4d41d](https://www.github.com/googleapis/java-shared-dependencies/commit/ef4d41d287a8f976423ef3458e6f37f0720e31d6)) ### Dependencies * downgrade opencensus version back to 0.28.0 ([#265](https://www.github.com/googleapis/java-shared-dependencies/issues/265)) ([ccc788c](https://www.github.com/googleapis/java-shared-dependencies/commit/ccc788c3333af43ebdba21c8917ddd8518c8e06e)) * update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#254](https://www.github.com/googleapis/java-shared-dependencies/issues/254)) ([071ffce](https://www.github.com/googleapis/java-shared-dependencies/commit/071ffce39e9c0b485eadb0eacf719c25fa59eb30)) * update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#261](https://www.github.com/googleapis/java-shared-dependencies/issues/261)) ([e94c82f](https://www.github.com/googleapis/java-shared-dependencies/commit/e94c82f8f16577f75a1f8fe8f73cef6b07c3ae6a)) * update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#272](https://www.github.com/googleapis/java-shared-dependencies/issues/272)) ([b14eaab](https://www.github.com/googleapis/java-shared-dependencies/commit/b14eaab9ae0d5858fd996d679904a36de4deebe0)) * update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#255](https://www.github.com/googleapis/java-shared-dependencies/issues/255)) ([7eae476](https://www.github.com/googleapis/java-shared-dependencies/commit/7eae4764ddd6a0a23754e0df7f8363a13e0c50a5)) * update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#253](https://www.github.com/googleapis/java-shared-dependencies/issues/253)) ([052b017](https://www.github.com/googleapis/java-shared-dependencies/commit/052b017fd7aa2b0c03972371e7f98d83e4a69dcd)) * update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#278](https://www.github.com/googleapis/java-shared-dependencies/issues/278)) ([3049848](https://www.github.com/googleapis/java-shared-dependencies/commit/30498489b65261024787029da596e51a877693b5)) * update dependency io.grpc:grpc-bom to v1.35.0 ([#248](https://www.github.com/googleapis/java-shared-dependencies/issues/248)) ([82a3ce8](https://www.github.com/googleapis/java-shared-dependencies/commit/82a3ce84a10615a2986a2badfcb742b1efeb2d36)) * update gax.version to v1.61.0 ([#277](https://www.github.com/googleapis/java-shared-dependencies/issues/277)) ([ee914fc](https://www.github.com/googleapis/java-shared-dependencies/commit/ee914fcada1c61acc98eb3723999ac1c8295fda3)) * update iam.version to v1.0.7 ([#252](https://www.github.com/googleapis/java-shared-dependencies/issues/252)) ([25cf7dd](https://www.github.com/googleapis/java-shared-dependencies/commit/25cf7dda681e967160ab2cdacda244e2d0db0768)) * update iam.version to v1.0.8 ([#273](https://www.github.com/googleapis/java-shared-dependencies/issues/273)) ([a0c677f](https://www.github.com/googleapis/java-shared-dependencies/commit/a0c677f843dc029996c0775b09146a5015ba667f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 22 ++++++++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 1f74636378cf..8102c696d42b 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [0.19.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.18.0...v0.19.0) (2021-02-19) + + +### Bug Fixes + +* update repo name ([#274](https://www.github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://www.github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f)) + + +### Dependencies + +* downgrade opencensus version back to 0.28.0 ([#265](https://www.github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://www.github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#254](https://www.github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://www.github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5)) +* update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#261](https://www.github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://www.github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706)) +* update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#272](https://www.github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://www.github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8)) +* update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#255](https://www.github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://www.github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#253](https://www.github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://www.github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#278](https://www.github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://www.github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60)) +* update dependency io.grpc:grpc-bom to v1.35.0 ([#248](https://www.github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://www.github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113)) +* update gax.version to v1.61.0 ([#277](https://www.github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://www.github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6)) +* update iam.version to v1.0.7 ([#252](https://www.github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://www.github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48)) +* update iam.version to v1.0.8 ([#273](https://www.github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://www.github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595)) + ## [0.18.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.17.1...v0.18.0) (2021-01-13) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index ac301852e381..1e7a89691f26 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.18.0 + 0.19.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a5b74fae5d3e..76bf691655cc 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 - 0.18.1-SNAPSHOT + 0.19.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 7424920aed76..edbe0b56782d 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.18.0:0.18.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.19.0:0.19.0 \ No newline at end of file From fda704d1ba2148652d3efc79d478109ae578f80c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Feb 2021 22:50:37 +0100 Subject: [PATCH 1279/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 (#108) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.18.0` -> `0.19.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/compatibility-slim/0.18.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.19.0/confidence-slim/0.18.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.19.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0190-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0180v0190-2021-02-19) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.18.0...v0.19.0) ##### Bug Fixes - update repo name ([#​274](https://www.github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://www.github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f)) ##### Dependencies - downgrade opencensus version back to 0.28.0 ([#​265](https://www.github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://www.github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086)) - update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#​254](https://www.github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://www.github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5)) - update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#​261](https://www.github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://www.github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706)) - update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#​272](https://www.github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://www.github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8)) - update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#​255](https://www.github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://www.github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795)) - update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#​253](https://www.github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://www.github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952)) - update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#​278](https://www.github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://www.github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60)) - update dependency io.grpc:grpc-bom to v1.35.0 ([#​248](https://www.github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://www.github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113)) - update gax.version to v1.61.0 ([#​277](https://www.github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://www.github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6)) - update iam.version to v1.0.7 ([#​252](https://www.github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://www.github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48)) - update iam.version to v1.0.8 ([#​273](https://www.github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://www.github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index cfcf9717cbe6..f668afdc01fc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.18.0 + 0.19.0 pom import From 9b7c9c8f243b9a827ff2b130cc936379831b22e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Feb 2021 22:52:36 +0100 Subject: [PATCH 1280/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.0 (#378) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 77d8b25a8d56..af08f6cbf982 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.2 1.38.1 1.34.1 - 3.14.0 + 3.15.0 0.24.0 1.3.2 30.1-android From 74f033b880ed248d733db7a202bc3f89be07d1bc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 19 Feb 2021 22:32:10 +0000 Subject: [PATCH 1281/3036] chore(master): release 1.0.9 (#109) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.9](https://www.github.com/googleapis/java-iam/compare/v1.0.8...v1.0.9) (2021-02-19) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#108](https://www.github.com/googleapis/java-iam/issues/108)) ([fda704d](https://www.github.com/googleapis/java-iam/commit/fda704d1ba2148652d3efc79d478109ae578f80c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index f26543643642..4fbb7b71573a 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.9](https://www.github.com/googleapis/java-iam/compare/v1.0.8...v1.0.9) (2021-02-19) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.19.0 ([#108](https://www.github.com/googleapis/java-iam/issues/108)) ([73c3243](https://www.github.com/googleapis/java-iam/commit/73c32437092c05d8c17f46544c77d39102167a02)) + ### [1.0.8](https://www.github.com/googleapis/java-iam/compare/v1.0.7...v1.0.8) (2021-01-14) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a40db9f490ca..aa0cf4d8f5f5 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.0.9-SNAPSHOT + 1.0.9 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.9-SNAPSHOT + 1.0.9 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f668afdc01fc..bd387c69d14b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.9-SNAPSHOT + 1.0.9 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.9-SNAPSHOT + 1.0.9 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index a5eac1d45fa1..e47a06314e17 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.9-SNAPSHOT + 1.0.9 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.9-SNAPSHOT + 1.0.9 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index a4c2be00f87e..b5886beda521 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.8:1.0.9-SNAPSHOT +proto-google-iam-v1:1.0.9:1.0.9 From 617d0e3107d7ffcfddc68f92d9f96fd49060a0e2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 19 Feb 2021 22:48:07 +0000 Subject: [PATCH 1282/3036] chore(master): release 1.0.10-SNAPSHOT (#110) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index aa0cf4d8f5f5..166a53b718ac 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.0.9 + 1.0.10-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.9 + 1.0.10-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bd387c69d14b..b62754d0a545 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.9 + 1.0.10-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.9 + 1.0.10-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e47a06314e17..84c575d0b4b4 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.9 + 1.0.10-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.9 + 1.0.10-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index b5886beda521..3024266a6991 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.9:1.0.9 +proto-google-iam-v1:1.0.9:1.0.10-SNAPSHOT From ed5a302258980e558ae0f434ba77c22f450c9479 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 20 Feb 2021 14:05:55 +0100 Subject: [PATCH 1283/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.1 (#381) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index af08f6cbf982..4c30b37479c0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.2 1.38.1 1.34.1 - 3.15.0 + 3.15.1 0.24.0 1.3.2 30.1-android From 35246203a029a480c033e30440bdcb569401ea5f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 22 Feb 2021 09:09:06 -0800 Subject: [PATCH 1284/3036] chore: regenerate common templates (#280) * chore: update cloud-rad buckets doclava v2 => staging docFX v3 => prod Source-Author: Emily Ball Source-Date: Tue Feb 16 17:02:08 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: b416a7befcdbc42de41cf387dcf428f894fb812b Source-Link: https://github.com/googleapis/synthtool/commit/b416a7befcdbc42de41cf387dcf428f894fb812b * fix: don't log downloads @chingor13 This change keeps Maven 3.6.1 and later from spamming our CI logs with page after page of lists of artifacts it's downloading that makes it much harder to find the actual test output. Source-Author: Elliotte Rusty Harold Source-Date: Thu Feb 18 19:58:59 2021 +0000 Source-Repo: googleapis/synthtool Source-Sha: 1aeca92e4a38f47134cb955f52ea76f84f09ff88 Source-Link: https://github.com/googleapis/synthtool/commit/1aeca92e4a38f47134cb955f52ea76f84f09ff88 * build: reduce download junk in log files * fix: less download junk log files * Update build.sh Source-Author: Elliotte Rusty Harold Source-Date: Fri Feb 19 01:42:29 2021 +0000 Source-Repo: googleapis/synthtool Source-Sha: 6946fd71ae9215b0e7ae188f5057df765ee6d7d2 Source-Link: https://github.com/googleapis/synthtool/commit/6946fd71ae9215b0e7ae188f5057df765ee6d7d2 --- java-shared-dependencies/.kokoro/build.sh | 4 +++- java-shared-dependencies/.kokoro/dependencies.sh | 4 ++-- java-shared-dependencies/.kokoro/release/publish_javadoc.cfg | 4 ++-- java-shared-dependencies/.kokoro/release/publish_javadoc.sh | 2 +- .../.kokoro/release/publish_javadoc11.cfg | 2 +- java-shared-dependencies/.kokoro/release/publish_javadoc11.sh | 2 +- java-shared-dependencies/synth.metadata | 4 ++-- 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 50219852efea..38b4fa301bf1 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -29,7 +29,7 @@ echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true \ -Denforcer.skip=true \ @@ -60,6 +60,7 @@ javadoc) ;; integration) mvn -B ${INTEGRATION_TEST_ARGS} \ + -ntp \ -Penable-integration-tests \ -DtrimStackTrace=false \ -Dclirr.skip=true \ @@ -81,6 +82,7 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ + -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ -Denforcer.skip=true \ diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index c91e5a56937a..0fb8c8436ccc 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -31,7 +31,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" # this should run maven enforcer retry_with_backoff 3 10 \ - mvn install -B -V \ + mvn install -B -V -ntp \ -DskipTests=true \ -Dclirr.skip=true @@ -86,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi \ No newline at end of file +fi diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg index 0ee7f2b28b9b..4866152654d6 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -7,10 +7,10 @@ env_vars: { value: "docs-staging" } +# cloud-rad staging env_vars: { key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" - # Production will be at: docs-staging-v2 + value: "docs-staging-v2-staging" } env_vars: { diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index 797d766b5ced..4adfc1dffd9b 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -71,7 +71,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload docs +# upload docs to staging bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg index 6f43db19f368..6ca6fac66a26 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg @@ -1,9 +1,9 @@ # Format: //devtools/kokoro/config/proto/build.proto +# cloud-rad production env_vars: { key: "STAGING_BUCKET_V2" value: "docs-staging-v2" - # Production will be at: docs-staging-v2 } # Configure the docker image for kokoro-trampoline diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh index 05acff84d397..c94434985aba 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -48,7 +48,7 @@ python3 -m docuploader create-metadata \ --version ${VERSION} \ --language java -# upload yml +# upload yml to production bucket python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index d2f94002017e..708e400c5e8f 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "4d5e7f720d847918b307a83c95cea10c244ba595" + "sha": "ccd56de7480fd18bac17bd57e180806913bfbb38" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f327d3b657a63ae4a8efd7f011a15eacae36b59c" + "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" } } ], From 2b68e21652212db9a574d0d4f1769869d4398772 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 23 Feb 2021 23:40:03 +0000 Subject: [PATCH 1285/3036] chore: release 0.19.1-SNAPSHOT (#283) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 76bf691655cc..79bf56a1a383 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 - 0.19.0 + 0.19.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index edbe0b56782d..5337438bf81a 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.19.0:0.19.0 \ No newline at end of file +google-cloud-shared-dependencies:0.19.0:0.19.1-SNAPSHOT \ No newline at end of file From 2468acf79962a4621394edc38c1c91e81f4f64d7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 00:47:54 +0100 Subject: [PATCH 1286/3036] deps: update dependency io.grpc:grpc-bom to v1.36.0 (#285) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 79bf56a1a383..c254cc331a80 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.35.0 + 1.36.0 1.61.0 30.1-android 3.15.0 From 5829355669317a7daea3e803b2296f24e41df8d1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 00:48:15 +0100 Subject: [PATCH 1287/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.24.0 (#284) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c254cc331a80..21712874db26 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.0.1 1.94.1 - 0.23.0 + 0.24.0 1.38.1 1.31.2 2.8.6 From a579ca114925dc9e512c4ff58e8af4cc79021487 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 00:48:29 +0100 Subject: [PATCH 1288/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.1 (#282) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 21712874db26..6f3debbfca7c 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.36.0 1.61.0 30.1-android - 3.15.0 + 3.15.1 1.10.1 2.0.1 1.94.1 From f953471a9f180b474b9b5587373950948204dbe5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 00:48:44 +0100 Subject: [PATCH 1289/3036] deps: update iam.version to v1.0.9 (#281) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6f3debbfca7c..17bea60d46c9 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.20 - 1.0.8 + 1.0.9 0.28.0 3.0.2 2.5.1 From c7083addb963b42e94c20212e92245136d74e22c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 01:10:03 +0100 Subject: [PATCH 1290/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.2 (#287) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.15.1` -> `3.15.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.2/compatibility-slim/3.15.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.2/confidence-slim/3.15.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.15.2`](https://togithub.com/protocolbuffers/protobuf/releases/v3.15.2) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.15.1...v3.15.2) ### Ruby - Fix for FieldDescriptor.get(msg) ([#​8330](https://togithub.com/protocolbuffers/protobuf/issues/8330)) ### C++ - Fix PROTOBUF_CONSTINIT macro redefinition ([#​8323](https://togithub.com/protocolbuffers/protobuf/issues/8323))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 17bea60d46c9..82262cc94ddc 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.36.0 1.61.0 30.1-android - 3.15.1 + 3.15.2 1.10.1 2.0.1 1.94.1 From 42f05b83757e2d6ba473f30fd376add8c893d760 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 02:42:30 +0100 Subject: [PATCH 1291/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.24.0 (#382) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4c30b37479c0..049156a93167 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.1 2.0.1 1.0.7 - 0.23.0 + 0.24.0 1.31.2 1.38.1 1.34.1 From d01c65a5cbeea36eb75c2fde60fa2c6b8a0d05f6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 02:43:10 +0100 Subject: [PATCH 1292/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.2 (#385) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 049156a93167..1fc913b53b6c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.2 1.38.1 1.34.1 - 3.15.1 + 3.15.2 0.24.0 1.3.2 30.1-android From 8f663c3581dd429770d4d6fc6de8b79d2e862fca Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Feb 2021 02:51:31 +0100 Subject: [PATCH 1293/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.9 (#372) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1fc913b53b6c..71885183f74f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.60.1 1.10.1 2.0.1 - 1.0.7 + 1.0.9 0.24.0 1.31.2 1.38.1 From 2d8612ad710352a6eb9a8a87b63af3fcffbc4041 Mon Sep 17 00:00:00 2001 From: Kevin Wise Date: Wed, 24 Feb 2021 10:44:02 -0700 Subject: [PATCH 1294/3036] fix: fix gcloud SDK detection on Windows (#384) Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-core/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #383 --- .../com/google/cloud/testing/BaseEmulatorHelper.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 00291f2b4b48..9a0898960a56 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -47,7 +47,6 @@ import java.util.Arrays; import java.util.List; import java.util.Locale; -import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; @@ -275,13 +274,8 @@ public Process getProcess() { } private boolean isGcloudInstalled() { - Map env = System.getenv(); - for (String envName : env.keySet()) { - if ("PATH".equals(envName)) { - return env.get(envName).contains("google-cloud-sdk"); - } - } - return false; + String path = System.getenv("PATH"); + return path != null && path.contains("google-cloud-sdk"); } private boolean isEmulatorUpToDate() throws IOException, InterruptedException { From 936fbcc873a6c9d076c5cfbd75dc9435f9ae621c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 01:00:46 +0100 Subject: [PATCH 1295/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.39.0 (#288) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 82262cc94ddc..78a54580e52f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.0.1 1.94.1 0.24.0 - 1.38.1 + 1.39.0 1.31.2 2.8.6 1.5.0 From 0ecbbaa5b4246d64c9384c04d4edccce860f66c5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 18:18:39 +0100 Subject: [PATCH 1296/3036] deps: update google.common-protos.version to v2.1.0 (#289) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 78a54580e52f..6223cd651e36 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 30.1-android 3.15.2 1.10.1 - 2.0.1 + 2.1.0 1.94.1 0.24.0 1.39.0 From c213be6676f66e86721eaf30968d5fa3811050d4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 20:06:45 +0100 Subject: [PATCH 1297/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.0 (#290) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6223cd651e36..373bac6b73c0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.10.0 + 0.11.0 From 9485630c6e0db458d40ca32eb7441679f6ea8d62 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 20:40:23 +0100 Subject: [PATCH 1298/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.0 (#111) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.10.0` -> `0.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/compatibility-slim/0.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/confidence-slim/0.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.11.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0110-httpswwwgithubcomgoogleapisjava-shared-configcomparev0100v0110-2021-02-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.10.0...v0.11.0) ##### Features - migrate releases to the new Google Sonatype endpoint to address Sonatype errors. ([#​230](https://www.github.com/googleapis/java-shared-config/issues/230)) ([ff6a95f](https://www.github.com/googleapis/java-shared-config/commit/ff6a95f7b0d24a1c37c38ba8ac6c6624ee97cc15)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v8.40 ([#​221](https://www.github.com/googleapis/java-shared-config/issues/221)) ([d9b2d4a](https://www.github.com/googleapis/java-shared-config/commit/d9b2d4aab9a9bba1c2df6fcb52ac96ee8b001ad6)) - update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.1.2 ([#​219](https://www.github.com/googleapis/java-shared-config/issues/219)) ([f7c3f79](https://www.github.com/googleapis/java-shared-config/commit/f7c3f798ef8ad1bc59ae673c84fbdd9f93ee2413))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b62754d0a545..c7ada8fbced7 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.10.0 + 0.11.0 From 60b981c067e812d0d63c62cb969e32c2e4f93023 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 20:40:26 +0100 Subject: [PATCH 1299/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.0 (#388) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.10.0` -> `0.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/compatibility-slim/0.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.0/confidence-slim/0.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.11.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0110-httpswwwgithubcomgoogleapisjava-shared-configcomparev0100v0110-2021-02-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.10.0...v0.11.0) ##### Features - migrate releases to the new Google Sonatype endpoint to address Sonatype errors. ([#​230](https://www.github.com/googleapis/java-shared-config/issues/230)) ([ff6a95f](https://www.github.com/googleapis/java-shared-config/commit/ff6a95f7b0d24a1c37c38ba8ac6c6624ee97cc15)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v8.40 ([#​221](https://www.github.com/googleapis/java-shared-config/issues/221)) ([d9b2d4a](https://www.github.com/googleapis/java-shared-config/commit/d9b2d4aab9a9bba1c2df6fcb52ac96ee8b001ad6)) - update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.1.2 ([#​219](https://www.github.com/googleapis/java-shared-config/issues/219)) ([f7c3f79](https://www.github.com/googleapis/java-shared-config/commit/f7c3f798ef8ad1bc59ae673c84fbdd9f93ee2413))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e2994e17d94a..5508f1faf9cf 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.10.0 + 0.11.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 71885183f74f..0cbb87666c3b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.10.0 + 0.11.0 From 2c6c3ed7215099bf46193205657c2ef3d5859795 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 20:54:09 +0100 Subject: [PATCH 1300/3036] deps: update gax.version to v1.62.0 (#291) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `1.61.0` -> `1.62.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.62.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.62.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.62.0/compatibility-slim/1.61.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.62.0/confidence-slim/1.61.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `1.61.0` -> `1.62.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.62.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.62.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.62.0/compatibility-slim/1.61.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.62.0/confidence-slim/1.61.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v1.62.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1620-httpswwwgithubcomgoogleapisgax-javacomparev1610v1620-2021-02-25) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.61.0...v1.62.0) ##### ⚠ BREAKING CHANGES - deprecate RetrySettings.isJittered [gax-java](#​1308) ##### Features - deprecate RetrySettings.isJittered [gax-java]([#​1308](https://www.github.com/googleapis/gax-java/issues/1308)) ([68644a4](https://www.github.com/googleapis/gax-java/commit/68644a4e24f29223f8f533a3d353dff7457d9737)) - dynamic flow control part 1 - add FlowController to Batcher ([#​1289](https://www.github.com/googleapis/gax-java/issues/1289)) ([bae5eb6](https://www.github.com/googleapis/gax-java/commit/bae5eb6070e690c26b95e7b908d15300aa54ef1c)) ##### Bug Fixes - prevent unchecked warnings in gax-httpjson ([#​1306](https://www.github.com/googleapis/gax-java/issues/1306)) ([ee370f6](https://www.github.com/googleapis/gax-java/commit/ee370f62c5d411738a9b25cf4cfc095aa06d9e07)) - remove unused [@​InternalExtensionOnly](https://togithub.com/InternalExtensionOnly) from CallContext classes ([#​1304](https://www.github.com/googleapis/gax-java/issues/1304)) ([a8d3a2d](https://www.github.com/googleapis/gax-java/commit/a8d3a2dca96efdb1ce154a976c3e0844e3f501d6)) ##### Dependencies - update google-auth-library to 0.24.0 ([#​1315](https://www.github.com/googleapis/gax-java/issues/1315)) ([772331e](https://www.github.com/googleapis/gax-java/commit/772331eda5c47e9de376e505e7d8ee502b01ec72)) - update google-common-protos to 2.0.1 ([772331e](https://www.github.com/googleapis/gax-java/commit/772331eda5c47e9de376e505e7d8ee502b01ec72)) - update google-http-client to 1.39.0 ([772331e](https://www.github.com/googleapis/gax-java/commit/772331eda5c47e9de376e505e7d8ee502b01ec72)) - update google-iam ([#​1313](https://www.github.com/googleapis/gax-java/issues/1313)) ([327b53c](https://www.github.com/googleapis/gax-java/commit/327b53ca7739d9be6e24305b23af2c7a35cb6f4d)) - update gRPC to 1.36.0 ([772331e](https://www.github.com/googleapis/gax-java/commit/772331eda5c47e9de376e505e7d8ee502b01ec72)) - update opencensus to 0.28.0 ([772331e](https://www.github.com/googleapis/gax-java/commit/772331eda5c47e9de376e505e7d8ee502b01ec72)) - update protobuf to 3.15.2 ([772331e](https://www.github.com/googleapis/gax-java/commit/772331eda5c47e9de376e505e7d8ee502b01ec72))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 373bac6b73c0..579c6023e0a2 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.36.0 - 1.61.0 + 1.62.0 30.1-android 3.15.2 1.10.1 From e6862ff38a4d9ad4f3630a970e7a2ba528910f70 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 25 Feb 2021 20:10:10 +0000 Subject: [PATCH 1301/3036] chore: release 0.20.0 (#286) :robot: I have created a release \*beep\* \*boop\* --- ## [0.20.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.19.0...v0.20.0) (2021-02-25) ### Dependencies * update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#284](https://www.github.com/googleapis/java-shared-dependencies/issues/284)) ([5829355](https://www.github.com/googleapis/java-shared-dependencies/commit/5829355669317a7daea3e803b2296f24e41df8d1)) * update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#288](https://www.github.com/googleapis/java-shared-dependencies/issues/288)) ([936fbcc](https://www.github.com/googleapis/java-shared-dependencies/commit/936fbcc873a6c9d076c5cfbd75dc9435f9ae621c)) * update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#282](https://www.github.com/googleapis/java-shared-dependencies/issues/282)) ([a579ca1](https://www.github.com/googleapis/java-shared-dependencies/commit/a579ca114925dc9e512c4ff58e8af4cc79021487)) * update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#287](https://www.github.com/googleapis/java-shared-dependencies/issues/287)) ([c7083ad](https://www.github.com/googleapis/java-shared-dependencies/commit/c7083addb963b42e94c20212e92245136d74e22c)) * update dependency io.grpc:grpc-bom to v1.36.0 ([#285](https://www.github.com/googleapis/java-shared-dependencies/issues/285)) ([2468acf](https://www.github.com/googleapis/java-shared-dependencies/commit/2468acf79962a4621394edc38c1c91e81f4f64d7)) * update gax.version to v1.62.0 ([#291](https://www.github.com/googleapis/java-shared-dependencies/issues/291)) ([2c6c3ed](https://www.github.com/googleapis/java-shared-dependencies/commit/2c6c3ed7215099bf46193205657c2ef3d5859795)) * update google.common-protos.version to v2.1.0 ([#289](https://www.github.com/googleapis/java-shared-dependencies/issues/289)) ([0ecbbaa](https://www.github.com/googleapis/java-shared-dependencies/commit/0ecbbaa5b4246d64c9384c04d4edccce860f66c5)) * update iam.version to v1.0.9 ([#281](https://www.github.com/googleapis/java-shared-dependencies/issues/281)) ([f953471](https://www.github.com/googleapis/java-shared-dependencies/commit/f953471a9f180b474b9b5587373950948204dbe5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 14 ++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 8102c696d42b..72358be1e9d4 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [0.20.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.19.0...v0.20.0) (2021-02-25) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#284](https://www.github.com/googleapis/java-shared-dependencies/issues/284)) ([5e4914c](https://www.github.com/googleapis/java-shared-dependencies/commit/5e4914cc4a8ccd41a219f150a7455da116d1594b)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#288](https://www.github.com/googleapis/java-shared-dependencies/issues/288)) ([70bb862](https://www.github.com/googleapis/java-shared-dependencies/commit/70bb862029b840fbd99ba0109fa2b8f585812793)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#282](https://www.github.com/googleapis/java-shared-dependencies/issues/282)) ([44283bd](https://www.github.com/googleapis/java-shared-dependencies/commit/44283bdfdc9288b4a8d16b6ed3a61541792d147e)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#287](https://www.github.com/googleapis/java-shared-dependencies/issues/287)) ([bdae560](https://www.github.com/googleapis/java-shared-dependencies/commit/bdae5600f9033219ef8beb6c4d1c521fb062eaec)) +* update dependency io.grpc:grpc-bom to v1.36.0 ([#285](https://www.github.com/googleapis/java-shared-dependencies/issues/285)) ([c59771b](https://www.github.com/googleapis/java-shared-dependencies/commit/c59771b2436ac1a4fbc92b48049900472dd6d3ff)) +* update gax.version to v1.62.0 ([#291](https://www.github.com/googleapis/java-shared-dependencies/issues/291)) ([66bd070](https://www.github.com/googleapis/java-shared-dependencies/commit/66bd0702bd3deb64e0f6c73635e0ffd51a4d637e)) +* update google.common-protos.version to v2.1.0 ([#289](https://www.github.com/googleapis/java-shared-dependencies/issues/289)) ([43c9f02](https://www.github.com/googleapis/java-shared-dependencies/commit/43c9f026b1fa82f38dcb93b902281c2559e82d8e)) +* update iam.version to v1.0.9 ([#281](https://www.github.com/googleapis/java-shared-dependencies/issues/281)) ([ee44d0b](https://www.github.com/googleapis/java-shared-dependencies/commit/ee44d0b41e101931ccf5de2561dfcfcc9ff88b88)) + ## [0.19.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.18.0...v0.19.0) (2021-02-19) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 1e7a89691f26..fb49761b6e53 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.19.0 + 0.20.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 579c6023e0a2..5429ff42a90d 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 - 0.19.1-SNAPSHOT + 0.20.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5337438bf81a..c1fb926667e6 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.19.0:0.19.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.20.0:0.20.0 \ No newline at end of file From 1496eada07c3deaa888397e6e1cd779860569a84 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 21:30:08 +0100 Subject: [PATCH 1302/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.1.0 (#387) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0cbb87666c3b..9c3bda2ab2ea 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.60.1 1.10.1 - 2.0.1 + 2.1.0 1.0.9 0.24.0 1.31.2 From 501f02637e0e7d374ce2353812254fae9b829ff9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Feb 2021 23:40:27 +0100 Subject: [PATCH 1303/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 (#112) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.19.0` -> `0.20.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.0/compatibility-slim/0.19.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.0/confidence-slim/0.19.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.20.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0200-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0190v0200-2021-02-25) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.19.0...v0.20.0) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#​284](https://www.github.com/googleapis/java-shared-dependencies/issues/284)) ([5e4914c](https://www.github.com/googleapis/java-shared-dependencies/commit/5e4914cc4a8ccd41a219f150a7455da116d1594b)) - update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#​288](https://www.github.com/googleapis/java-shared-dependencies/issues/288)) ([70bb862](https://www.github.com/googleapis/java-shared-dependencies/commit/70bb862029b840fbd99ba0109fa2b8f585812793)) - update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#​282](https://www.github.com/googleapis/java-shared-dependencies/issues/282)) ([44283bd](https://www.github.com/googleapis/java-shared-dependencies/commit/44283bdfdc9288b4a8d16b6ed3a61541792d147e)) - update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#​287](https://www.github.com/googleapis/java-shared-dependencies/issues/287)) ([bdae560](https://www.github.com/googleapis/java-shared-dependencies/commit/bdae5600f9033219ef8beb6c4d1c521fb062eaec)) - update dependency io.grpc:grpc-bom to v1.36.0 ([#​285](https://www.github.com/googleapis/java-shared-dependencies/issues/285)) ([c59771b](https://www.github.com/googleapis/java-shared-dependencies/commit/c59771b2436ac1a4fbc92b48049900472dd6d3ff)) - update gax.version to v1.62.0 ([#​291](https://www.github.com/googleapis/java-shared-dependencies/issues/291)) ([66bd070](https://www.github.com/googleapis/java-shared-dependencies/commit/66bd0702bd3deb64e0f6c73635e0ffd51a4d637e)) - update google.common-protos.version to v2.1.0 ([#​289](https://www.github.com/googleapis/java-shared-dependencies/issues/289)) ([43c9f02](https://www.github.com/googleapis/java-shared-dependencies/commit/43c9f026b1fa82f38dcb93b902281c2559e82d8e)) - update iam.version to v1.0.9 ([#​281](https://www.github.com/googleapis/java-shared-dependencies/issues/281)) ([ee44d0b](https://www.github.com/googleapis/java-shared-dependencies/commit/ee44d0b41e101931ccf5de2561dfcfcc9ff88b88))
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c7ada8fbced7..01cdb087436b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.19.0 + 0.20.0 pom import From 773c555cd253d12b837340e99d1e10c4c3643905 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 25 Feb 2021 22:50:12 +0000 Subject: [PATCH 1304/3036] chore(master): release 1.0.10 (#113) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.10](https://www.github.com/googleapis/java-iam/compare/v1.0.9...v1.0.10) (2021-02-25) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#112](https://www.github.com/googleapis/java-iam/issues/112)) ([501f026](https://www.github.com/googleapis/java-iam/commit/501f02637e0e7d374ce2353812254fae9b829ff9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 4fbb7b71573a..710f1e77d576 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.10](https://www.github.com/googleapis/java-iam/compare/v1.0.9...v1.0.10) (2021-02-25) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#112](https://www.github.com/googleapis/java-iam/issues/112)) ([83b637d](https://www.github.com/googleapis/java-iam/commit/83b637d88dba6c456d99b5bf547a765a83a91994)) + ### [1.0.9](https://www.github.com/googleapis/java-iam/compare/v1.0.8...v1.0.9) (2021-02-19) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 166a53b718ac..1b8a4e133665 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.0.10-SNAPSHOT + 1.0.10 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.10-SNAPSHOT + 1.0.10 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 01cdb087436b..42e265f91624 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.10-SNAPSHOT + 1.0.10 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.10-SNAPSHOT + 1.0.10 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 84c575d0b4b4..e9854c826609 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.10-SNAPSHOT + 1.0.10 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.10-SNAPSHOT + 1.0.10 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 3024266a6991..ebd26a7b26ba 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.9:1.0.10-SNAPSHOT +proto-google-iam-v1:1.0.10:1.0.10 From 4ab5d4cb94b6fc157f1898f69cda33248de025b7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 25 Feb 2021 23:06:16 +0000 Subject: [PATCH 1305/3036] chore(master): release 1.0.11-SNAPSHOT (#114) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 1b8a4e133665..abd9e1ca720d 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.0.10 + 1.0.11-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.10 + 1.0.11-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 42e265f91624..aefb26014a75 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.10 + 1.0.11-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.10 + 1.0.11-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e9854c826609..9779ee652983 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.10 + 1.0.11-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.10 + 1.0.11-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ebd26a7b26ba..ed04411cd9aa 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.10:1.0.10 +proto-google-iam-v1:1.0.10:1.0.11-SNAPSHOT From 948c4d3a89b528f3875d47b311f24b6c0badf430 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 1 Mar 2021 13:35:04 +0100 Subject: [PATCH 1306/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.10 (#392) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9c3bda2ab2ea..55175cce5020 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.60.1 1.10.1 2.1.0 - 1.0.9 + 1.0.10 0.24.0 1.31.2 1.38.1 From 9b4ccb7b8e8feabaf4e1add2f577653c7e006b77 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 1 Mar 2021 13:35:34 +0100 Subject: [PATCH 1307/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.3 (#391) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 55175cce5020..66ddaedf3316 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.2 1.38.1 1.34.1 - 3.15.2 + 3.15.3 0.24.0 1.3.2 30.1-android From c05acac425a9533ece7ff4b67f31f36f7ed1b98d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 1 Mar 2021 14:20:10 -0800 Subject: [PATCH 1308/3036] deps: update io.grpc:grpc-bom to v1.36.0 (#389) Combination of #356, #377, #386 deps: update dependency com.google.api:gax-bom to v1.62.0 deps: update dependency com.google.http-client:google-http-client-bom to v1.39.0 deps: update dependency opencensus to v0.28.0 --- java-core/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 66ddaedf3316..fe83c6ce2830 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,16 +151,16 @@ UTF-8 github google-cloud-core-parent - 1.60.1 + 1.62.0 1.10.1 2.1.0 1.0.10 0.24.0 1.31.2 - 1.38.1 - 1.34.1 + 1.39.0 + 1.36.0 3.15.3 - 0.24.0 + 0.28.0 1.3.2 30.1-android 4.13.2 From 5178c57fb79d4dba9434f57cbc25a57b61659fd7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 1 Mar 2021 22:48:08 +0000 Subject: [PATCH 1309/3036] chore(master): release 1.94.2 (#370) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.2](https://www.github.com/googleapis/java-core/compare/v1.94.1...v1.94.2) (2021-03-01) ### Bug Fixes * fix gcloud SDK detection on Windows ([#384](https://www.github.com/googleapis/java-core/issues/384)) ([2d8612a](https://www.github.com/googleapis/java-core/commit/2d8612ad710352a6eb9a8a87b63af3fcffbc4041)), closes [#383](https://www.github.com/googleapis/java-core/issues/383) ### Dependencies * switch from Jackson to GSON ([#368](https://www.github.com/googleapis/java-core/issues/368)) ([924b330](https://www.github.com/googleapis/java-core/commit/924b3309426047d60b0205e0c85a04e475a35bfb)) * update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#359](https://www.github.com/googleapis/java-core/issues/359)) ([78905ad](https://www.github.com/googleapis/java-core/commit/78905adb2563979f6a688fba95d4cecb3ca92ef5)) * update dependency com.google.api:gax-bom to v1.62.0 ([c05acac](https://www.github.com/googleapis/java-core/commit/c05acac425a9533ece7ff4b67f31f36f7ed1b98d)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.1.0 ([#387](https://www.github.com/googleapis/java-core/issues/387)) ([1496ead](https://www.github.com/googleapis/java-core/commit/1496eada07c3deaa888397e6e1cd779860569a84)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.10 ([#392](https://www.github.com/googleapis/java-core/issues/392)) ([948c4d3](https://www.github.com/googleapis/java-core/commit/948c4d3a89b528f3875d47b311f24b6c0badf430)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.5 ([#345](https://www.github.com/googleapis/java-core/issues/345)) ([5bb49ed](https://www.github.com/googleapis/java-core/commit/5bb49ed8ccf317ff21d8bd0fa055410c42487e2d)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.7 ([#357](https://www.github.com/googleapis/java-core/issues/357)) ([a740db4](https://www.github.com/googleapis/java-core/commit/a740db443652890d5060e21cf4721282f76715bd)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.9 ([#372](https://www.github.com/googleapis/java-core/issues/372)) ([8f663c3](https://www.github.com/googleapis/java-core/commit/8f663c3581dd429770d4d6fc6de8b79d2e862fca)) * update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#343](https://www.github.com/googleapis/java-core/issues/343)) ([322bddf](https://www.github.com/googleapis/java-core/commit/322bddfa19acffe0e6bf851a50b6c4149c3b4dbb)) * update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#364](https://www.github.com/googleapis/java-core/issues/364)) ([d68e337](https://www.github.com/googleapis/java-core/commit/d68e337727c8d2ebba34450184b9e59d3fd82b4e)) * update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#382](https://www.github.com/googleapis/java-core/issues/382)) ([42f05b8](https://www.github.com/googleapis/java-core/commit/42f05b83757e2d6ba473f30fd376add8c893d760)) * update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#354](https://www.github.com/googleapis/java-core/issues/354)) ([40b33ce](https://www.github.com/googleapis/java-core/commit/40b33ce6a63353da7da15d7f85d62c98b1bed84c)) * update dependency com.google.guava:guava-bom to v30.1-android ([#348](https://www.github.com/googleapis/java-core/issues/348)) ([8101e23](https://www.github.com/googleapis/java-core/commit/8101e23e6fc993a051f87ac98ce589d110768dab)) * update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#358](https://www.github.com/googleapis/java-core/issues/358)) ([5714e81](https://www.github.com/googleapis/java-core/commit/5714e810872287d6645e428b8036211d072c5de7)) * update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([c05acac](https://www.github.com/googleapis/java-core/commit/c05acac425a9533ece7ff4b67f31f36f7ed1b98d)) * update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#378](https://www.github.com/googleapis/java-core/issues/378)) ([9b7c9c8](https://www.github.com/googleapis/java-core/commit/9b7c9c8f243b9a827ff2b130cc936379831b22e2)) * update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#381](https://www.github.com/googleapis/java-core/issues/381)) ([ed5a302](https://www.github.com/googleapis/java-core/commit/ed5a302258980e558ae0f434ba77c22f450c9479)) * update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#385](https://www.github.com/googleapis/java-core/issues/385)) ([d01c65a](https://www.github.com/googleapis/java-core/commit/d01c65a5cbeea36eb75c2fde60fa2c6b8a0d05f6)) * update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#391](https://www.github.com/googleapis/java-core/issues/391)) ([9b4ccb7](https://www.github.com/googleapis/java-core/commit/9b4ccb7b8e8feabaf4e1add2f577653c7e006b77)) * update dependency io.grpc:grpc-bom to v1.34.1 ([#342](https://www.github.com/googleapis/java-core/issues/342)) ([60d361e](https://www.github.com/googleapis/java-core/commit/60d361e542bb9a22dd573b7a25f31a674b022ee3)) * update dependency opencensus to v0.28.0 ([c05acac](https://www.github.com/googleapis/java-core/commit/c05acac425a9533ece7ff4b67f31f36f7ed1b98d)) * update io.grpc:grpc-bom to v1.36.0 ([#389](https://www.github.com/googleapis/java-core/issues/389)) ([c05acac](https://www.github.com/googleapis/java-core/commit/c05acac425a9533ece7ff4b67f31f36f7ed1b98d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 33 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 +++--- java-core/google-cloud-core-grpc/pom.xml | 4 +-- java-core/google-cloud-core-http/pom.xml | 4 +-- java-core/google-cloud-core/pom.xml | 4 +-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 45 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 7b1368518971..e9a70ff07bbe 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +### [1.94.2](https://www.github.com/googleapis/java-core/compare/v1.94.1...v1.94.2) (2021-03-01) + + +### Bug Fixes + +* fix gcloud SDK detection on Windows ([#384](https://www.github.com/googleapis/java-core/issues/384)) ([9545442](https://www.github.com/googleapis/java-core/commit/9545442906b21897c5227fecf8efd264d7c2d84c)), closes [#383](https://www.github.com/googleapis/java-core/issues/383) + + +### Dependencies + +* switch from Jackson to GSON ([#368](https://www.github.com/googleapis/java-core/issues/368)) ([220df17](https://www.github.com/googleapis/java-core/commit/220df176826fe154e36dadd19702c307cc232c16)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#359](https://www.github.com/googleapis/java-core/issues/359)) ([107a32a](https://www.github.com/googleapis/java-core/commit/107a32aa170eca0f61e14183af1e795a61291d49)) +* update dependency com.google.api:gax-bom to v1.62.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.1.0 ([#387](https://www.github.com/googleapis/java-core/issues/387)) ([c55f950](https://www.github.com/googleapis/java-core/commit/c55f95038865d262b58f5b5c9847df75160876d2)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.10 ([#392](https://www.github.com/googleapis/java-core/issues/392)) ([45b5abf](https://www.github.com/googleapis/java-core/commit/45b5abf7692cc0d7f2c03170b7ec47a6408ccfad)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.5 ([#345](https://www.github.com/googleapis/java-core/issues/345)) ([0a5596d](https://www.github.com/googleapis/java-core/commit/0a5596d8fb5a398b56c7dce07e13d534e3b6c208)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.7 ([#357](https://www.github.com/googleapis/java-core/issues/357)) ([3c2b7b4](https://www.github.com/googleapis/java-core/commit/3c2b7b490c64625ecf9846b097aebcc577511696)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.9 ([#372](https://www.github.com/googleapis/java-core/issues/372)) ([82840da](https://www.github.com/googleapis/java-core/commit/82840da9e99f49471c30f2a95f0d06ae17a76507)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#343](https://www.github.com/googleapis/java-core/issues/343)) ([3b418f7](https://www.github.com/googleapis/java-core/commit/3b418f7ae6677e9e44546e7108d985dfbbedbfa4)) +* update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#364](https://www.github.com/googleapis/java-core/issues/364)) ([7d52e06](https://www.github.com/googleapis/java-core/commit/7d52e06e2df4a0c69f018e3f7dadfc166a5754be)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#382](https://www.github.com/googleapis/java-core/issues/382)) ([44d8d02](https://www.github.com/googleapis/java-core/commit/44d8d029e7f15efa3dfbf3df49f48f14a8375a6b)) +* update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#354](https://www.github.com/googleapis/java-core/issues/354)) ([e7a688c](https://www.github.com/googleapis/java-core/commit/e7a688c3a20f0c17806ab25c528d69bcafd287c8)) +* update dependency com.google.guava:guava-bom to v30.1-android ([#348](https://www.github.com/googleapis/java-core/issues/348)) ([0f2eadd](https://www.github.com/googleapis/java-core/commit/0f2eadd32020b546e71332bf4009e4c9195ee72a)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#358](https://www.github.com/googleapis/java-core/issues/358)) ([8fdc254](https://www.github.com/googleapis/java-core/commit/8fdc2549c9ed15e347e282077b9e36159bd32a2e)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#378](https://www.github.com/googleapis/java-core/issues/378)) ([4314da9](https://www.github.com/googleapis/java-core/commit/4314da9fc62eb6e57b0265a6ff4663c450e0ad9f)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#381](https://www.github.com/googleapis/java-core/issues/381)) ([09fac9d](https://www.github.com/googleapis/java-core/commit/09fac9d078d8d00716500deabfdecfcecab891ea)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#385](https://www.github.com/googleapis/java-core/issues/385)) ([8c2c179](https://www.github.com/googleapis/java-core/commit/8c2c1792df60b9e077534328fc5351c63a745b09)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#391](https://www.github.com/googleapis/java-core/issues/391)) ([6e03ce5](https://www.github.com/googleapis/java-core/commit/6e03ce5b571464f8f62a4b4665f21efb527b112a)) +* update dependency io.grpc:grpc-bom to v1.34.1 ([#342](https://www.github.com/googleapis/java-core/issues/342)) ([b80c3da](https://www.github.com/googleapis/java-core/commit/b80c3da61e5b158c78358566289800bea0f8997b)) +* update dependency opencensus to v0.28.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) +* update io.grpc:grpc-bom to v1.36.0 ([#389](https://www.github.com/googleapis/java-core/issues/389)) ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) + ### [1.94.1](https://www.github.com/googleapis/java-core/compare/v1.94.0...v1.94.1) (2020-12-11) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 5508f1faf9cf..e18e222359bb 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.2-SNAPSHOT + 1.94.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.2-SNAPSHOT + 1.94.2 com.google.cloud google-cloud-core-grpc - 1.94.2-SNAPSHOT + 1.94.2 com.google.cloud google-cloud-core-http - 1.94.2-SNAPSHOT + 1.94.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index bcf91064cf70..0b69795e82d2 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 - 1.94.2-SNAPSHOT + 1.94.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.2-SNAPSHOT + 1.94.2 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 3d0161fe4af5..bb3ddcad4c11 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 - 1.94.2-SNAPSHOT + 1.94.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.2-SNAPSHOT + 1.94.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e297d4633b61..27882dca5e7f 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 - 1.94.2-SNAPSHOT + 1.94.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.2-SNAPSHOT + 1.94.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index fe83c6ce2830..6f63a88a3c0e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.2-SNAPSHOT + 1.94.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4d2387a2e012..750c1c628168 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.1:1.94.2-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.2:1.94.2 \ No newline at end of file From 4c0b8d749c4edf622729950118cd0caeb00e93e8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 1 Mar 2021 22:54:09 +0000 Subject: [PATCH 1310/3036] chore(master): release 1.94.3-SNAPSHOT (#395) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e18e222359bb..23a31ebf39ac 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.2 + 1.94.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.2 + 1.94.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.2 + 1.94.3-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.2 + 1.94.3-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0b69795e82d2..9bd74a5489ea 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 - 1.94.2 + 1.94.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.2 + 1.94.3-SNAPSHOT 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 bb3ddcad4c11..c313aa6f7b8b 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 - 1.94.2 + 1.94.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.2 + 1.94.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 27882dca5e7f..856a9d7074b7 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 - 1.94.2 + 1.94.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.2 + 1.94.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 6f63a88a3c0e..b711064c608a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.2 + 1.94.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 750c1c628168..6357d3f51798 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.2:1.94.2 \ No newline at end of file +google-cloud-core:1.94.2:1.94.3-SNAPSHOT \ No newline at end of file From 13ea5b31580bc6d8db3f7f7e0da1e839e861d1bd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Mar 2021 20:25:48 +0100 Subject: [PATCH 1311/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.3 (#294) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5429ff42a90d..7e941e38b9f6 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.36.0 1.62.0 30.1-android - 3.15.2 + 3.15.3 1.10.1 2.1.0 1.94.1 From 4bfb6727a0f30f6e054fa5daee161938018fa9ef Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Mar 2021 20:26:01 +0100 Subject: [PATCH 1312/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.24.1 (#293) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7e941e38b9f6..884104a356c1 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.1.0 1.94.1 - 0.24.0 + 0.24.1 1.39.0 1.31.2 2.8.6 From 57319ccce123f6f804218d9ea66bcb67b6617291 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Mar 2021 20:26:16 +0100 Subject: [PATCH 1313/3036] deps: update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 (#292) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 884104a356c1..264a49abd072 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.20 - 1.0.9 + 1.0.10 0.28.0 3.0.2 2.5.1 From 7fce7a2c03053f6850e30d5d677748d20c75e2c1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Mar 2021 20:27:58 +0100 Subject: [PATCH 1314/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.3 (#295) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 264a49abd072..3c05d11b06a3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 1.94.1 0.24.1 1.39.0 - 1.31.2 + 1.31.3 2.8.6 1.5.0 1.3.2 From b0fe17bed94a2ff7b50d6f507387a6eaa8554870 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Mar 2021 20:53:25 +0100 Subject: [PATCH 1315/3036] deps: update google.core.version to v1.94.2 (#296) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3c05d11b06a3..7bc24bb322f0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.15.3 1.10.1 2.1.0 - 1.94.1 + 1.94.2 0.24.1 1.39.0 1.31.3 From 618d4c97c18fd249e74222a0a41fa0a9fa82034d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Mar 2021 22:32:27 +0100 Subject: [PATCH 1316/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.3 (#394) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b711064c608a..17bb24675a61 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.1.0 1.0.10 0.24.0 - 1.31.2 + 1.31.3 1.39.0 1.36.0 3.15.3 From a4444d2671febe30007c81893e96cbbfda856e6f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Mar 2021 22:45:42 +0100 Subject: [PATCH 1317/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.24.1 (#390) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 17bb24675a61..338d6bd7fbaf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.1 2.1.0 1.0.10 - 0.24.0 + 0.24.1 1.31.3 1.39.0 1.36.0 From 4050ca1bfcf5a5306e8808a1e9bbd27398b4b4a8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 2 Mar 2021 21:52:03 +0000 Subject: [PATCH 1318/3036] chore(master): release 1.94.3 (#396) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.3](https://www.github.com/googleapis/java-core/compare/v1.94.2...v1.94.3) (2021-03-02) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#394](https://www.github.com/googleapis/java-core/issues/394)) ([618d4c9](https://www.github.com/googleapis/java-core/commit/618d4c97c18fd249e74222a0a41fa0a9fa82034d)) * update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#390](https://www.github.com/googleapis/java-core/issues/390)) ([a4444d2](https://www.github.com/googleapis/java-core/commit/a4444d2671febe30007c81893e96cbbfda856e6f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index e9a70ff07bbe..b577288f90e5 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.94.3](https://www.github.com/googleapis/java-core/compare/v1.94.2...v1.94.3) (2021-03-02) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#394](https://www.github.com/googleapis/java-core/issues/394)) ([278cb03](https://www.github.com/googleapis/java-core/commit/278cb032dd201a9729ef6a6e6e3c177bf9b3cd7e)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#390](https://www.github.com/googleapis/java-core/issues/390)) ([9948791](https://www.github.com/googleapis/java-core/commit/99487914834709cd97b283c59ac14fb7b945c9e7)) + ### [1.94.2](https://www.github.com/googleapis/java-core/compare/v1.94.1...v1.94.2) (2021-03-01) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 23a31ebf39ac..646a6e81bdf5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.3-SNAPSHOT + 1.94.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.3-SNAPSHOT + 1.94.3 com.google.cloud google-cloud-core-grpc - 1.94.3-SNAPSHOT + 1.94.3 com.google.cloud google-cloud-core-http - 1.94.3-SNAPSHOT + 1.94.3 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9bd74a5489ea..9d7b153ad596 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 - 1.94.3-SNAPSHOT + 1.94.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.3-SNAPSHOT + 1.94.3 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 c313aa6f7b8b..2f8b4481edfb 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 - 1.94.3-SNAPSHOT + 1.94.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.3-SNAPSHOT + 1.94.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 856a9d7074b7..34123168cff9 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 - 1.94.3-SNAPSHOT + 1.94.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.3-SNAPSHOT + 1.94.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 338d6bd7fbaf..94aa658eb934 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.3-SNAPSHOT + 1.94.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6357d3f51798..126d2d7a5c4b 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.2:1.94.3-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.3:1.94.3 \ No newline at end of file From cd85acc9ece97d7dd3d3d7ce51d06f40906c4642 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 2 Mar 2021 22:00:09 +0000 Subject: [PATCH 1319/3036] chore(master): release 1.94.4-SNAPSHOT (#397) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 646a6e81bdf5..0b813db2fcba 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.3 + 1.94.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.3 + 1.94.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.3 + 1.94.4-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.3 + 1.94.4-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9d7b153ad596..0c291b6989c1 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 - 1.94.3 + 1.94.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.3 + 1.94.4-SNAPSHOT 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 2f8b4481edfb..187b57782308 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 - 1.94.3 + 1.94.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.3 + 1.94.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 34123168cff9..eef156a0c507 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 - 1.94.3 + 1.94.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.3 + 1.94.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 94aa658eb934..0e8717adbcaa 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.3 + 1.94.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 126d2d7a5c4b..ab8c0064b7ac 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.3:1.94.3 \ No newline at end of file +google-cloud-core:1.94.3:1.94.4-SNAPSHOT \ No newline at end of file From 0c6cb748254e1b6c2ea96a34b55e0236c5dcdc85 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Mar 2021 15:30:11 -0800 Subject: [PATCH 1320/3036] chore: remove docLava v2 doc generation (#398) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ee71d617-e341-4f08-b5ee-4a7d066ce934/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/21da7d9fa02f6916d9f87cf4072b3547b5c72eb5 --- java-core/.kokoro/release/publish_javadoc.cfg | 8 +------- java-core/.kokoro/release/publish_javadoc.sh | 19 ------------------- java-core/synth.metadata | 4 ++-- 3 files changed, 3 insertions(+), 28 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg index a280a19c5023..11b00bdcf6e5 100644 --- a/java-core/.kokoro/release/publish_javadoc.cfg +++ b/java-core/.kokoro/release/publish_javadoc.cfg @@ -7,12 +7,6 @@ env_vars: { value: "docs-staging" } -# cloud-rad staging -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" -} - env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-core/.kokoro/release/publish_javadoc.sh" @@ -26,4 +20,4 @@ before_action { keyname: "docuploader_service_account" } } -} \ No newline at end of file +} diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index f76db1b2db4b..a0849457bd4a 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET} - -popd - -# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. - -mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" - -pushd target/devsite/reference - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs to staging bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 08cfb4b99d15..8e75ab9f0cc6 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "d95ccb1fd7c8513ffd57ecd9723b68dd517b1a4a" + "sha": "c1923f7f945183e83430a0b7f59093e118044ee2" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" + "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5" } } ], From bf544a6b2a0a7997329e8774638d3d5baf5e693b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Mar 2021 16:44:36 -0800 Subject: [PATCH 1321/3036] chore: remove docLava v2 doc generation (#115) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a345ccba-8a24-4c06-840c-fcbe9eb93e77/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/21da7d9fa02f6916d9f87cf4072b3547b5c72eb5 --- java-iam/.kokoro/release/publish_javadoc.cfg | 8 +------- java-iam/.kokoro/release/publish_javadoc.sh | 19 ------------------- java-iam/synth.metadata | 4 ++-- 3 files changed, 3 insertions(+), 28 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg index 5f3ba9a9b69d..e6f651d11ebb 100644 --- a/java-iam/.kokoro/release/publish_javadoc.cfg +++ b/java-iam/.kokoro/release/publish_javadoc.cfg @@ -7,12 +7,6 @@ env_vars: { value: "docs-staging" } -# cloud-rad staging -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" -} - env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-iam/.kokoro/release/publish_javadoc.sh" @@ -26,4 +20,4 @@ before_action { keyname: "docuploader_service_account" } } -} \ No newline at end of file +} diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index 96726df04063..2211ded276da 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET} - -popd - -# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. - -mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" - -pushd target/devsite/reference - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs to staging bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 12103a11dd1f..d25cceed06fa 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "9b1ecf73d92e9068f34dded022f8f225e2ab28df" + "sha": "3314a6a1dcc3b09894a281391a6b905e172d464f" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" + "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5" } } ], From c5a05d7fa2a5b32fb3c01d4514e47925db9cadde Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 3 Mar 2021 18:00:06 +0000 Subject: [PATCH 1322/3036] chore: release 0.20.1-SNAPSHOT (#297) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7bc24bb322f0..1793b9e17c4d 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 - 0.20.0 + 0.20.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index c1fb926667e6..fa4dad344b54 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.20.0:0.20.0 \ No newline at end of file +google-cloud-shared-dependencies:0.20.0:0.20.1-SNAPSHOT \ No newline at end of file From 99f5673476dfde56700674b6e5e7d56a3b05c216 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Mar 2021 10:00:45 -0800 Subject: [PATCH 1323/3036] chore: remove docLava v2 doc generation (#298) * chore: remove docLava v2 doc generation Not using this anymore and it is causing some issues in pubsublite * chore: removing v2 doclava bucket config Source-Author: Emily Ball Source-Date: Tue Mar 2 10:13:11 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 21da7d9fa02f6916d9f87cf4072b3547b5c72eb5 Source-Link: https://github.com/googleapis/synthtool/commit/21da7d9fa02f6916d9f87cf4072b3547b5c72eb5 --- .../.kokoro/release/publish_javadoc.cfg | 8 +------- .../.kokoro/release/publish_javadoc.sh | 19 ------------------- java-shared-dependencies/synth.metadata | 4 ++-- 3 files changed, 3 insertions(+), 28 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg index 4866152654d6..01b4f69c220b 100644 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg @@ -7,12 +7,6 @@ env_vars: { value: "docs-staging" } -# cloud-rad staging -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" -} - env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-shared-dependencies/.kokoro/release/publish_javadoc.sh" @@ -26,4 +20,4 @@ before_action { keyname: "docuploader_service_account" } } -} \ No newline at end of file +} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index 4adfc1dffd9b..2ef354e05574 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET} - -popd - -# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. - -mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" - -pushd target/devsite/reference - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs to staging bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 708e400c5e8f..146f048d93ce 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "ccd56de7480fd18bac17bd57e180806913bfbb38" + "sha": "af83b901be0c03d507189999215d35345602fad7" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" + "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5" } } ], From 22c33a7004d91f62182201777b1457866124aee2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Mar 2021 14:28:05 -0800 Subject: [PATCH 1324/3036] chore: copy README to docfx-yml dir (#303) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/55f460c4-bcb1-4d76-b766-e2a8c306b9e5/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/d0bdade9a962042dc0f770cf631086f3db59b5b0 --- .../.kokoro/release/publish_javadoc11.sh | 5 ++++- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh index c94434985aba..3dc4ae0180ea 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # generate yml mvn clean site -B -q -P docFX +# copy README to docfx-yml dir and rename index.md +cp README.md target/docfx-yml/index.md + pushd target/docfx-yml # create metadata @@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx- + --destination-prefix docfx diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 146f048d93ce..b282ac2bf4b5 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "af83b901be0c03d507189999215d35345602fad7" + "sha": "9fbb98da6e93bccc2e136322dacf8b0bf8112ac3" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5" + "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" } } ], From d2c304bf6efc9ba7acc2e848dec1c57aa646a382 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Mar 2021 15:10:10 -0800 Subject: [PATCH 1325/3036] chore: copy README to docfx-yml dir (#400) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d7228b3e-1797-4121-9880-b79d0244a6b6/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/d0bdade9a962042dc0f770cf631086f3db59b5b0 --- java-core/.kokoro/release/publish_javadoc11.sh | 5 ++++- java-core/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh index 23f679fd3450..b2bef9075ee7 100755 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # generate yml mvn clean site -B -q -P docFX +# copy README to docfx-yml dir and rename index.md +cp README.md target/docfx-yml/index.md + pushd target/docfx-yml # create metadata @@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx- + --destination-prefix docfx diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 8e75ab9f0cc6..ed4c159352a0 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "c1923f7f945183e83430a0b7f59093e118044ee2" + "sha": "aa8bd6743cf3712e0a6312ce5de8bc96c41c157d" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5" + "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" } } ], From cff64823b149b8fe10cdde3b96939160fb8da4d0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Mar 2021 15:52:21 -0800 Subject: [PATCH 1326/3036] chore: copy README to docfx-yml dir (#116) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/bbf8ca1c-bb3f-453b-9511-9e85b253e4ba/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/d0bdade9a962042dc0f770cf631086f3db59b5b0 --- java-iam/.kokoro/release/publish_javadoc11.sh | 5 ++++- java-iam/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index bd8e2cf7ec93..0315e75a340f 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # generate yml mvn clean site -B -q -P docFX +# copy README to docfx-yml dir and rename index.md +cp README.md target/docfx-yml/index.md + pushd target/docfx-yml # create metadata @@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx- + --destination-prefix docfx diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index d25cceed06fa..83e714d1ef63 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "3314a6a1dcc3b09894a281391a6b905e172d464f" + "sha": "2cdb8de5ace14f0832462187d9c75ec04d7c475c" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5" + "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" } } ], From 85d23a40b558801f05b2cd6ef32f6b98a4365f4c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 8 Mar 2021 08:28:31 -0800 Subject: [PATCH 1327/3036] chore: update gax-java dependency to 1.62 (#117) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/3f6ca683-ffe3-4731-b15d-91fc1937c0e0/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 361377784 Source-Link: https://github.com/googleapis/googleapis/commit/0e915217fb5261c1e57bfaf0e16ee5c7feaaba89 --- .../java/com/google/iam/v1/IAMPolicyGrpc.java | 40 +++++++++---------- java-iam/synth.metadata | 6 +-- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java index 55edd90485a8..de12f933dd89 100644 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -16,11 +16,6 @@ package com.google.iam.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -252,7 +247,8 @@ public abstract static class IAMPolicyImplBase implements io.grpc.BindableServic public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** @@ -267,7 +263,8 @@ public void setIamPolicy( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** @@ -286,7 +283,8 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } @java.lang.Override @@ -294,19 +292,19 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getSetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_SET_IAM_POLICY))) .addMethod( getGetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_GET_IAM_POLICY))) .addMethod( getTestIamPermissionsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>( @@ -360,7 +358,7 @@ protected IAMPolicyStub build(io.grpc.Channel channel, io.grpc.CallOptions callO public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -378,7 +376,7 @@ public void setIamPolicy( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -400,7 +398,7 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); @@ -452,7 +450,8 @@ protected IAMPolicyBlockingStub build( *
    */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); } /** @@ -465,7 +464,8 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque *
    */ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); } /** @@ -482,7 +482,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } @@ -532,7 +532,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.common.util.concurrent.ListenableFuture setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } @@ -547,7 +547,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.common.util.concurrent.ListenableFuture getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } @@ -566,7 +566,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture< com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 83e714d1ef63..79207e89208b 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "2cdb8de5ace14f0832462187d9c75ec04d7c475c" + "sha": "aae5c0ce915f14f33a9fd5b43918d05411eaa178" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "8d73f9486fc193a150f6c907dfb9f49431aff3ff", - "internalRef": "332497859" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, { From 9ebd1a92a4a342c1f7b06dcca5b764c0bbfc9c4d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Mar 2021 18:09:50 +0100 Subject: [PATCH 1328/3036] deps: update google.core.version to v1.94.3 (#300) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1793b9e17c4d..6a9a56696e4d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.15.3 1.10.1 2.1.0 - 1.94.2 + 1.94.3 0.24.1 1.39.0 1.31.3 From 894af62bbe7e06629d069419e672bb4eb8ab9bfd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Mar 2021 18:10:04 +0100 Subject: [PATCH 1329/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 (#301) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6a9a56696e4d..cc6c232cf64d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -73,7 +73,7 @@ 0.28.0 3.0.2 2.5.1 - 2.12.1 + 2.12.2 1.15 From 9458761a8d0b1d521d12592e933a793b7edfcc87 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Mar 2021 18:10:17 +0100 Subject: [PATCH 1330/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.5 (#302) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cc6c232cf64d..b67e7aa80f76 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.36.0 1.62.0 30.1-android - 3.15.3 + 3.15.5 1.10.1 2.1.0 1.94.3 From 6728a2b9bff1e29fa6e83230bd05b263f001b98d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 9 Mar 2021 18:00:07 +0000 Subject: [PATCH 1331/3036] chore: release 0.20.1 (#299) :robot: I have created a release \*beep\* \*boop\* --- ### [0.20.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.0...v0.20.1) (2021-03-09) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#301](https://www.github.com/googleapis/java-shared-dependencies/issues/301)) ([894af62](https://www.github.com/googleapis/java-shared-dependencies/commit/894af62bbe7e06629d069419e672bb4eb8ab9bfd)) * update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#295](https://www.github.com/googleapis/java-shared-dependencies/issues/295)) ([7fce7a2](https://www.github.com/googleapis/java-shared-dependencies/commit/7fce7a2c03053f6850e30d5d677748d20c75e2c1)) * update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#292](https://www.github.com/googleapis/java-shared-dependencies/issues/292)) ([57319cc](https://www.github.com/googleapis/java-shared-dependencies/commit/57319ccce123f6f804218d9ea66bcb67b6617291)) * update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#293](https://www.github.com/googleapis/java-shared-dependencies/issues/293)) ([4bfb672](https://www.github.com/googleapis/java-shared-dependencies/commit/4bfb6727a0f30f6e054fa5daee161938018fa9ef)) * update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#294](https://www.github.com/googleapis/java-shared-dependencies/issues/294)) ([13ea5b3](https://www.github.com/googleapis/java-shared-dependencies/commit/13ea5b31580bc6d8db3f7f7e0da1e839e861d1bd)) * update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#302](https://www.github.com/googleapis/java-shared-dependencies/issues/302)) ([9458761](https://www.github.com/googleapis/java-shared-dependencies/commit/9458761a8d0b1d521d12592e933a793b7edfcc87)) * update google.core.version to v1.94.2 ([#296](https://www.github.com/googleapis/java-shared-dependencies/issues/296)) ([b0fe17b](https://www.github.com/googleapis/java-shared-dependencies/commit/b0fe17bed94a2ff7b50d6f507387a6eaa8554870)) * update google.core.version to v1.94.3 ([#300](https://www.github.com/googleapis/java-shared-dependencies/issues/300)) ([9ebd1a9](https://www.github.com/googleapis/java-shared-dependencies/commit/9ebd1a92a4a342c1f7b06dcca5b764c0bbfc9c4d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 14 ++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 72358be1e9d4..1e9e3ada45ef 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +### [0.20.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.0...v0.20.1) (2021-03-09) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#301](https://www.github.com/googleapis/java-shared-dependencies/issues/301)) ([7c01eba](https://www.github.com/googleapis/java-shared-dependencies/commit/7c01ebabb6fd65b7404e56651b0ba27f505bb033)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#295](https://www.github.com/googleapis/java-shared-dependencies/issues/295)) ([a0774e9](https://www.github.com/googleapis/java-shared-dependencies/commit/a0774e9d62d00614142bc4c14214a83dda66d4ad)) +* update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#292](https://www.github.com/googleapis/java-shared-dependencies/issues/292)) ([b629789](https://www.github.com/googleapis/java-shared-dependencies/commit/b629789e3a1cc9a7308b829c034b09b06e24fc07)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#293](https://www.github.com/googleapis/java-shared-dependencies/issues/293)) ([d85ec34](https://www.github.com/googleapis/java-shared-dependencies/commit/d85ec347ccdd14dfdab10d365d2c2f8df3035e4d)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#294](https://www.github.com/googleapis/java-shared-dependencies/issues/294)) ([58c01aa](https://www.github.com/googleapis/java-shared-dependencies/commit/58c01aa076e2c4954986185f913bac2c51a1e6fb)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#302](https://www.github.com/googleapis/java-shared-dependencies/issues/302)) ([e9d5e6e](https://www.github.com/googleapis/java-shared-dependencies/commit/e9d5e6ee6039915da186315ceada673ac37b88d3)) +* update google.core.version to v1.94.2 ([#296](https://www.github.com/googleapis/java-shared-dependencies/issues/296)) ([af83b90](https://www.github.com/googleapis/java-shared-dependencies/commit/af83b901be0c03d507189999215d35345602fad7)) +* update google.core.version to v1.94.3 ([#300](https://www.github.com/googleapis/java-shared-dependencies/issues/300)) ([3e73176](https://www.github.com/googleapis/java-shared-dependencies/commit/3e73176af0b07dfe621163b301174b5b5820dfa2)) + ## [0.20.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.19.0...v0.20.0) (2021-02-25) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index fb49761b6e53..ba24443f3aed 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.20.0 + 0.20.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b67e7aa80f76..9a4b0b8d5377 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 - 0.20.1-SNAPSHOT + 0.20.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index fa4dad344b54..29815f68f052 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.20.0:0.20.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.20.1:0.20.1 \ No newline at end of file From ea8c5298dd51e7a82acbb709dd43f2232df7b77b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Mar 2021 21:44:27 +0100 Subject: [PATCH 1332/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 (#118) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.20.0` -> `0.20.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/compatibility-slim/0.20.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.20.1/confidence-slim/0.20.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.20.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0201-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0200v0201-2021-03-09) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.20.0...v0.20.1)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index aefb26014a75..c4ef34de2b53 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.20.0 + 0.20.1 pom import From ce4fc8194e0ee284892b625c013dfa6b90e3d886 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 10 Mar 2021 16:10:44 -0800 Subject: [PATCH 1333/3036] build(java): update autorelease title check in response to the new multi release branch changes (#401) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/50a12256-ca5e-4f80-a8f2-ba3c4ab12a2c/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/0b064d767537e0675fc053e53fca473c5c701fb8 --- java-core/.github/workflows/auto-release.yaml | 4 ++-- java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index 7c8816a7d7b1..9b4fd4d8348d 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -16,8 +16,8 @@ jobs: return; } - // only approve PRs like "chore(master): release " - if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { + // only approve PRs like "chore: release " + if ( !context.payload.pull_request.title.startsWith("chore: release") ) { return; } diff --git a/java-core/synth.metadata b/java-core/synth.metadata index ed4c159352a0..df0d68a458df 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "aa8bd6743cf3712e0a6312ce5de8bc96c41c157d" + "sha": "70f3a5073dc63236f45fd06bd2cc4a044a43c35f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" + "sha": "0b064d767537e0675fc053e53fca473c5c701fb8" } } ], From 975dabc7a450d083e364732d737dc9b061569028 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 10 Mar 2021 16:14:21 -0800 Subject: [PATCH 1334/3036] build(java): update autorelease title check in response to the new multi release branch changes (#120) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ea9e8f58-82b4-4fb6-8ab3-642c040c0e6a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/0b064d767537e0675fc053e53fca473c5c701fb8 --- java-iam/.github/workflows/auto-release.yaml | 4 ++-- java-iam/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index 7c8816a7d7b1..9b4fd4d8348d 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -16,8 +16,8 @@ jobs: return; } - // only approve PRs like "chore(master): release " - if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { + // only approve PRs like "chore: release " + if ( !context.payload.pull_request.title.startsWith("chore: release") ) { return; } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 79207e89208b..f28a18f97e55 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "aae5c0ce915f14f33a9fd5b43918d05411eaa178" + "sha": "02685944cef7c500a2ae28674a2873e40e840504" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" + "sha": "0b064d767537e0675fc053e53fca473c5c701fb8" } } ], From ac6a7314cb4d3abef2c6c11308e0b7539aee9d83 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 11 Mar 2021 00:32:16 +0000 Subject: [PATCH 1335/3036] chore: release 1.0.11 (#119) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.11](https://www.github.com/googleapis/java-iam/compare/v1.0.10...v1.0.11) (2021-03-11) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#118](https://www.github.com/googleapis/java-iam/issues/118)) ([ea8c529](https://www.github.com/googleapis/java-iam/commit/ea8c5298dd51e7a82acbb709dd43f2232df7b77b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 710f1e77d576..5a4070dc07c7 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.11](https://www.github.com/googleapis/java-iam/compare/v1.0.10...v1.0.11) (2021-03-11) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#118](https://www.github.com/googleapis/java-iam/issues/118)) ([0268594](https://www.github.com/googleapis/java-iam/commit/02685944cef7c500a2ae28674a2873e40e840504)) + ### [1.0.10](https://www.github.com/googleapis/java-iam/compare/v1.0.9...v1.0.10) (2021-02-25) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index abd9e1ca720d..053916a4d4e9 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.0.11-SNAPSHOT + 1.0.11 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.11-SNAPSHOT + 1.0.11 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c4ef34de2b53..c3292ce841a9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.11-SNAPSHOT + 1.0.11 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.11-SNAPSHOT + 1.0.11 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 9779ee652983..2f9475aca924 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.11-SNAPSHOT + 1.0.11 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.11-SNAPSHOT + 1.0.11 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ed04411cd9aa..2be63052ba4d 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.10:1.0.11-SNAPSHOT +proto-google-iam-v1:1.0.11:1.0.11 From 64a41f023226fa585252d397d6bd58a95250140b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 11 Mar 2021 00:46:05 +0000 Subject: [PATCH 1336/3036] chore: release 1.0.12-SNAPSHOT (#121) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 053916a4d4e9..1fd94a7eea80 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.0.11 + 1.0.12-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.11 + 1.0.12-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c3292ce841a9..e4794f1869b1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.11 + 1.0.12-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.11 + 1.0.12-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 2f9475aca924..21c6859ec5e0 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.11 + 1.0.12-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.11 + 1.0.12-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 2be63052ba4d..7afb78e2295b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.11:1.0.11 +proto-google-iam-v1:1.0.11:1.0.12-SNAPSHOT From 78c27e84313f13f1b2d1897366a4887279a3a2ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Mar 2021 03:34:22 +0100 Subject: [PATCH 1337/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.5 (#399) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0e8717adbcaa..0f6b0bb8c8d5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.3 1.39.0 1.36.0 - 3.15.3 + 3.15.5 0.28.0 1.3.2 30.1-android From 86cb85f3c4d0d5c5f93ecb7a58bb78b31c1388e3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Mar 2021 03:42:08 +0100 Subject: [PATCH 1338/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.11 (#402) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.0.10` -> `1.0.11` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.11/compatibility-slim/1.0.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.11/confidence-slim/1.0.10)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.0.11`](https://togithub.com/googleapis/java-iam/blob/master/CHANGELOG.md#​1011-httpswwwgithubcomgoogleapisjava-iamcomparev1010v1011-2021-03-11) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.0.10...v1.0.11)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0f6b0bb8c8d5..2eb35a5040e3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.62.0 1.10.1 2.1.0 - 1.0.10 + 1.0.11 0.24.1 1.31.3 1.39.0 From 8c2ca4aaaecd49c0ed3e72d6f606c98400aa6496 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 11 Mar 2021 02:48:07 +0000 Subject: [PATCH 1339/3036] chore: release 1.94.4 (#403) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.4](https://www.github.com/googleapis/java-core/compare/v1.94.3...v1.94.4) (2021-03-11) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.11 ([#402](https://www.github.com/googleapis/java-core/issues/402)) ([86cb85f](https://www.github.com/googleapis/java-core/commit/86cb85f3c4d0d5c5f93ecb7a58bb78b31c1388e3)) * update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#399](https://www.github.com/googleapis/java-core/issues/399)) ([78c27e8](https://www.github.com/googleapis/java-core/commit/78c27e84313f13f1b2d1897366a4887279a3a2ab)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index b577288f90e5..54b89c3caa8e 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.94.4](https://www.github.com/googleapis/java-core/compare/v1.94.3...v1.94.4) (2021-03-11) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.11 ([#402](https://www.github.com/googleapis/java-core/issues/402)) ([73d893c](https://www.github.com/googleapis/java-core/commit/73d893c76ab1bef3b69bd55040d9f6c5942b36c5)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#399](https://www.github.com/googleapis/java-core/issues/399)) ([a9c2e43](https://www.github.com/googleapis/java-core/commit/a9c2e43e06fcf2f15918359db765fb44d5e28a55)) + ### [1.94.3](https://www.github.com/googleapis/java-core/compare/v1.94.2...v1.94.3) (2021-03-02) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 0b813db2fcba..66533d55dde2 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.4-SNAPSHOT + 1.94.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.4-SNAPSHOT + 1.94.4 com.google.cloud google-cloud-core-grpc - 1.94.4-SNAPSHOT + 1.94.4 com.google.cloud google-cloud-core-http - 1.94.4-SNAPSHOT + 1.94.4
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0c291b6989c1..063a91546802 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 - 1.94.4-SNAPSHOT + 1.94.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.4-SNAPSHOT + 1.94.4 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 187b57782308..6565991cb6ef 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 - 1.94.4-SNAPSHOT + 1.94.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.4-SNAPSHOT + 1.94.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index eef156a0c507..43310dcff259 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 - 1.94.4-SNAPSHOT + 1.94.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.4-SNAPSHOT + 1.94.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2eb35a5040e3..9ed5d9651861 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.4-SNAPSHOT + 1.94.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ab8c0064b7ac..9ad05819b44e 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.3:1.94.4-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.4:1.94.4 \ No newline at end of file From 634f520abcd31ae92896d3e5baef0ea309638870 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 11 Mar 2021 02:54:07 +0000 Subject: [PATCH 1340/3036] chore: release 1.94.5-SNAPSHOT (#404) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 66533d55dde2..5b847c08fb01 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.4 + 1.94.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.4 + 1.94.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.4 + 1.94.5-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.4 + 1.94.5-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 063a91546802..546e9ad9d59d 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 - 1.94.4 + 1.94.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.4 + 1.94.5-SNAPSHOT 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 6565991cb6ef..a42a3b29c904 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 - 1.94.4 + 1.94.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.4 + 1.94.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 43310dcff259..4093ff5d59ac 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 - 1.94.4 + 1.94.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.4 + 1.94.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9ed5d9651861..8400d609de76 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.4 + 1.94.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9ad05819b44e..27b9b6cf348d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.4:1.94.4 \ No newline at end of file +google-cloud-core:1.94.4:1.94.5-SNAPSHOT \ No newline at end of file From 6a0e83ce57cf558434aeca353b0b72a7fa69d4fe Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Mar 2021 18:20:55 +0100 Subject: [PATCH 1341/3036] deps: update iam.version to v1.0.11 (#304) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 9a4b0b8d5377..c668814b4b67 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.20 - 1.0.10 + 1.0.11 0.28.0 3.0.2 2.5.1 From 768af0d0c9c00ca1202b9dd936639d6328552a34 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 11 Mar 2021 17:24:03 +0000 Subject: [PATCH 1342/3036] chore: release 0.20.2-SNAPSHOT (#306) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c668814b4b67..80cc5e5f80b7 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 - 0.20.1 + 0.20.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 29815f68f052..8fdb9eef8760 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.20.1:0.20.1 \ No newline at end of file +google-cloud-shared-dependencies:0.20.1:0.20.2-SNAPSHOT \ No newline at end of file From 5e5d6d8dad12c725f2f1f1f14fe19145a4759c58 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Mar 2021 18:26:02 +0100 Subject: [PATCH 1343/3036] deps: update google.core.version to v1.94.4 (#305) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.94.3` -> `1.94.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.4/compatibility-slim/1.94.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.4/confidence-slim/1.94.3)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `1.94.3` -> `1.94.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.4/compatibility-slim/1.94.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.4/confidence-slim/1.94.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v1.94.4`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1944-httpswwwgithubcomgoogleapisjava-corecomparev1943v1944-2021-03-11) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.3...v1.94.4)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 80cc5e5f80b7..be5e780ffc46 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.15.5 1.10.1 2.1.0 - 1.94.3 + 1.94.4 0.24.1 1.39.0 1.31.3 From 6657e98ada384e400239623f673b18fa43bccbb8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Mar 2021 21:09:44 +0100 Subject: [PATCH 1344/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.6 (#405) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8400d609de76..6a8ee3f58073 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.3 1.39.0 1.36.0 - 3.15.5 + 3.15.6 0.28.0 1.3.2 30.1-android From 4da0536ea2bae571c3dfa1dcc354adb4f7fac8ce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 18 Mar 2021 18:57:38 +0100 Subject: [PATCH 1345/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.6 (#308) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index be5e780ffc46..c6be95f8f60f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.36.0 1.62.0 30.1-android - 3.15.5 + 3.15.6 1.10.1 2.1.0 1.94.4 From 07f59fc00fad71db1acf882abc9937cccffd70cc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 18 Mar 2021 19:02:02 +0100 Subject: [PATCH 1346/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.39.1 (#309) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.39.0` -> `1.39.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.39.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.39.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.39.1/compatibility-slim/1.39.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.39.1/confidence-slim/1.39.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.39.1`](https://togithub.com/googleapis/google-http-java-client/blob/master/CHANGELOG.md#​1391-httpswwwgithubcomgoogleapisgoogle-http-java-clientcomparev1390v1391-2021-03-15) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.39.0...v1.39.1)
    --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c6be95f8f60f..f65103833d10 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.1.0 1.94.4 0.24.1 - 1.39.0 + 1.39.1 1.31.3 2.8.6 1.5.0 From 0a03be51af5c6ad0c4094626c4acd6f40fcedf06 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 18 Mar 2021 19:38:41 +0100 Subject: [PATCH 1347/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.0 (#310) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f65103833d10..e2f7266effc0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.1.0 1.94.4 - 0.24.1 + 0.25.0 1.39.1 1.31.3 2.8.6 From c252761eabf478c78b9616b85f5b8b8b3d6f215d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 24 Mar 2021 16:10:19 -0700 Subject: [PATCH 1348/3036] chore(java): detect sample-secrets in build.sh (#409) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d55a1379-0d11-4919-8fb9-7dd3f61a70ab/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef --- java-core/.kokoro/build.sh | 5 +++++ java-core/synth.metadata | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 40ee677b2946..29905dbcf5ee 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -79,6 +79,11 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then + for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do + [[ -f "$FILE" ]] || continue + source "$FILE" + done + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index df0d68a458df..ef2ec8705b9c 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "70f3a5073dc63236f45fd06bd2cc4a044a43c35f" + "sha": "a20bce416bfa6556bb7c3518afeca5259fdf23f4" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0b064d767537e0675fc053e53fca473c5c701fb8" + "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" } } ], From 47eadc124993ebdbe4efe97dfbc22559e73c07a5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 24 Mar 2021 16:10:27 -0700 Subject: [PATCH 1349/3036] chore(java): detect sample-secrets in build.sh (#122) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e2f66102-b2e7-4d50-a434-e4a8ca1e0358/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef --- java-iam/.kokoro/build.sh | 5 +++++ java-iam/synth.metadata | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 40ad11462073..1445b9d1a553 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -79,6 +79,11 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then + for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do + [[ -f "$FILE" ]] || continue + source "$FILE" + done + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index f28a18f97e55..0f26fafb594c 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "02685944cef7c500a2ae28674a2873e40e840504" + "sha": "12d5bc5014e4db87ddb27ccab633f476906114de" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0b064d767537e0675fc053e53fca473c5c701fb8" + "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" } } ], From 0bbf669f1526fdd2068b02428a0ae8242fd08c3b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Mar 2021 16:14:31 +0100 Subject: [PATCH 1350/3036] deps: update dependency io.grpc:grpc-bom to v1.36.1 (#410) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6a8ee3f58073..e383dd6d2799 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.24.1 1.31.3 1.39.0 - 1.36.0 + 1.36.1 3.15.6 0.28.0 1.3.2 From 5f1b50a1eb8a6f8b566b432f6e39843117634bbf Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 29 Mar 2021 15:34:31 -0700 Subject: [PATCH 1351/3036] chore: remove staging bucket v2 (#123) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/52ca6a04-58b8-4b57-9a65-beebda756795/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/572ef8f70edd9041f5bcfa71511aed6aecfc2098 --- java-iam/.kokoro/release/publish_javadoc.sh | 5 ----- java-iam/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index 2211ded276da..0009a2e74508 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -24,11 +24,6 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - # work from the git root directory pushd $(dirname "$0")/../../ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 0f26fafb594c..41407affce7b 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "12d5bc5014e4db87ddb27ccab633f476906114de" + "sha": "a979f23883c54bbec962db82626f8f6f005c06f2" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" + "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" } } ], From 99ef1daee728e873682c596e8b10e5310976abee Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 30 Mar 2021 07:54:23 -0700 Subject: [PATCH 1352/3036] chore: remove staging bucket v2 (#411) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ed1b556a-36b3-42c2-ab32-113d97c17630/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/572ef8f70edd9041f5bcfa71511aed6aecfc2098 --- java-core/.kokoro/release/publish_javadoc.sh | 5 ----- java-core/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index a0849457bd4a..a2b3260b8382 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -24,11 +24,6 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - # work from the git root directory pushd $(dirname "$0")/../../ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index ef2ec8705b9c..945178f4ca11 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "a20bce416bfa6556bb7c3518afeca5259fdf23f4" + "sha": "e31620a2f7a15853a1acec8c09416953cc4dce09" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" + "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" } } ], From 744262fedbb7a6b142cfd98dda72e49b6f1c7667 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 30 Mar 2021 08:35:05 -0700 Subject: [PATCH 1353/3036] chore(java): detect sample-secrets in build.sh (#312) Fixes #904 Source-Author: Neenu Shaji Source-Date: Wed Mar 24 15:50:02 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef Source-Link: https://github.com/googleapis/synthtool/commit/bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef --- java-shared-dependencies/.kokoro/build.sh | 5 +++++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 38b4fa301bf1..e9c0336bf5c8 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -79,6 +79,11 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then + for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do + [[ -f "$FILE" ]] || continue + source "$FILE" + done + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index b282ac2bf4b5..747454d25c83 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "9fbb98da6e93bccc2e136322dacf8b0bf8112ac3" + "sha": "8f3a0f002b787f7b27cfe031654fa20bf342f839" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" + "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" } } ], From 547ae6edbd38c8166937549d72ff1b73c884862a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 30 Mar 2021 14:55:06 -0700 Subject: [PATCH 1354/3036] chore: remove staging bucket v2 (#314) not needed since we removed v2 solution - https://github.com/googleapis/synthtool/pull/964 Source-Author: Emily Ball Source-Date: Mon Mar 29 14:47:37 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 572ef8f70edd9041f5bcfa71511aed6aecfc2098 Source-Link: https://github.com/googleapis/synthtool/commit/572ef8f70edd9041f5bcfa71511aed6aecfc2098 --- java-shared-dependencies/.kokoro/release/publish_javadoc.sh | 5 ----- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index 2ef354e05574..042897c39d87 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -24,11 +24,6 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - # work from the git root directory pushd $(dirname "$0")/../../ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 747454d25c83..40fafee7a5ea 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "8f3a0f002b787f7b27cfe031654fa20bf342f839" + "sha": "845909d9bd6f2f89da7e704e1726cae0138ffc0a" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" + "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" } } ], From 0bbca1f98d5a6cb24614e5a942289ce10ab036c6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 15:16:55 +0200 Subject: [PATCH 1355/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.7 (#413) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e383dd6d2799..d33868d5a3e9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.3 1.39.0 1.36.1 - 3.15.6 + 3.15.7 0.28.0 1.3.2 30.1-android From 6dff74c850f2e0baeb93da7c886e185923a6db1b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 15:17:23 +0200 Subject: [PATCH 1356/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.39.1 (#407) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d33868d5a3e9..c263f847acc9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.0.11 0.24.1 1.31.3 - 1.39.0 + 1.39.1 1.36.1 3.15.7 0.28.0 From 5767cfb3d5379f36cf3cdee21dc1d70b84393802 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 15:17:37 +0200 Subject: [PATCH 1357/3036] deps: update dependency com.google.api:gax-bom to v1.63.0 (#415) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c263f847acc9..33bec63fd9f0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.62.0 + 1.63.0 1.10.1 2.1.0 1.0.11 From 7d6f76db81b09476da92e386581e129f4d8a800e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 15:19:59 +0200 Subject: [PATCH 1358/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.6.0 (#412) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 33bec63fd9f0..ff7c82e6b6db 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.5.0 2.6 - 2.5.1 + 2.6.0 2.8.6
    From 83a2b588f15b777cc923ebbc3a6875b36a8c3b32 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 18:45:55 +0200 Subject: [PATCH 1359/3036] deps: update gax.version to v1.63.0 (#318) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e2f7266effc0..78fc4c626809 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.36.0 - 1.62.0 + 1.63.0 30.1-android 3.15.6 1.10.1 From 5be8586da6c2b7248a15af1ad688a92534778697 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 18:52:47 +0200 Subject: [PATCH 1360/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.7 (#316) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 78fc4c626809..928020cb9281 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.36.0 1.63.0 30.1-android - 3.15.6 + 3.15.7 1.10.1 2.1.0 1.94.4 From 89fae70223a1444933f53bbe32f794cebecfefb4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 18:53:00 +0200 Subject: [PATCH 1361/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.6.0 (#315) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 928020cb9281..f8bbb59453e0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -72,7 +72,7 @@ 1.0.11 0.28.0 3.0.2 - 2.5.1 + 2.6.0 2.12.2 1.15
    From 291ba00be22d6229c05ff61023628bf783f5b340 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Thu, 8 Apr 2021 16:53:56 +0000 Subject: [PATCH 1362/3036] deps: update guava (#417) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ff7c82e6b6db..3e5e978c6eb8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -162,7 +162,7 @@ 3.15.7 0.28.0 1.3.2 - 30.1-android + 30.1.1-android 4.13.2 1.1.2 3.6 From 6dca414e7c3ccfdc24c8142000f1aa9f5b9a646d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 18:54:10 +0200 Subject: [PATCH 1363/3036] deps: update dependency io.grpc:grpc-bom to v1.37.0 (#416) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3e5e978c6eb8..e1acf374c1a7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.24.1 1.31.3 1.39.1 - 1.36.1 + 1.37.0 3.15.7 0.28.0 1.3.2 From e90c0740e3bb523b04823842e885ac124d2985ce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 18:54:58 +0200 Subject: [PATCH 1364/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.2 (#311) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f8bbb59453e0..340789535dfa 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.1.0 1.94.4 - 0.25.0 + 0.25.2 1.39.1 1.31.3 2.8.6 From 36b221f0bc7a64aaa26d52e16034ecd81a84765f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 19:54:04 +0200 Subject: [PATCH 1365/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.2 (#408) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `0.24.1` -> `0.25.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.2/compatibility-slim/0.24.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.2/confidence-slim/0.24.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v0.25.2`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0252-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0251v0252-2021-03-18) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.25.1...v0.25.2) ### [`v0.25.1`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0251-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0250v0251-2021-03-18) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.25.0...v0.25.1) ### [`v0.25.0`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0250-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0241v0250-2021-03-16) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.24.1...v0.25.0) ##### Features - add self signed jwt support ([#​572](https://www.github.com/googleapis/google-auth-library-java/issues/572)) ([efe103a](https://www.github.com/googleapis/google-auth-library-java/commit/efe103a2e688ca915ec9925a72c49bb2a1b3c3b5)) ##### [0.24.1](https://www.github.com/googleapis/google-auth-library-java/compare/v0.24.0...v0.24.1) (2021-02-25) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#​580](https://www.github.com/googleapis/google-auth-library-java/issues/580)) ([88718b0](https://www.github.com/googleapis/google-auth-library-java/commit/88718b0185ee6a3ff1168ac68621be0c5ff0efab))
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e1acf374c1a7..2b5248956290 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.1 2.1.0 1.0.11 - 0.24.1 + 0.25.2 1.31.3 1.39.1 1.37.0 From efb1d40aaf58217e067d4a469aa331d74614d8fd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 20:22:05 +0200 Subject: [PATCH 1366/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.8 (#418) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.15.7` -> `3.15.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/compatibility-slim/3.15.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/confidence-slim/3.15.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.15.8`](https://togithub.com/protocolbuffers/protobuf/releases/v3.15.8) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.15.7...v3.15.8) ### Ruby - Fixed memory leak of Ruby arena objects ([#​8461](https://togithub.com/protocolbuffers/protobuf/issues/8461))
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2b5248956290..762f5e2613b8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.3 1.39.1 1.37.0 - 3.15.7 + 3.15.8 0.28.0 1.3.2 30.1.1-android From 4c8cc56ffd55568e4869534fef34277283b28bec Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Apr 2021 18:38:03 +0000 Subject: [PATCH 1367/3036] chore: release 1.94.5 (#406) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.5](https://www.github.com/googleapis/java-core/compare/v1.94.4...v1.94.5) (2021-04-08) ### Dependencies * update dependency com.google.api:gax-bom to v1.63.0 ([#415](https://www.github.com/googleapis/java-core/issues/415)) ([5767cfb](https://www.github.com/googleapis/java-core/commit/5767cfb3d5379f36cf3cdee21dc1d70b84393802)) * update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#408](https://www.github.com/googleapis/java-core/issues/408)) ([36b221f](https://www.github.com/googleapis/java-core/commit/36b221f0bc7a64aaa26d52e16034ecd81a84765f)) * update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#412](https://www.github.com/googleapis/java-core/issues/412)) ([7d6f76d](https://www.github.com/googleapis/java-core/commit/7d6f76db81b09476da92e386581e129f4d8a800e)) * update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#407](https://www.github.com/googleapis/java-core/issues/407)) ([6dff74c](https://www.github.com/googleapis/java-core/commit/6dff74c850f2e0baeb93da7c886e185923a6db1b)) * update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#405](https://www.github.com/googleapis/java-core/issues/405)) ([6657e98](https://www.github.com/googleapis/java-core/commit/6657e98ada384e400239623f673b18fa43bccbb8)) * update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#413](https://www.github.com/googleapis/java-core/issues/413)) ([0bbca1f](https://www.github.com/googleapis/java-core/commit/0bbca1f98d5a6cb24614e5a942289ce10ab036c6)) * update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#418](https://www.github.com/googleapis/java-core/issues/418)) ([efb1d40](https://www.github.com/googleapis/java-core/commit/efb1d40aaf58217e067d4a469aa331d74614d8fd)) * update dependency io.grpc:grpc-bom to v1.36.1 ([#410](https://www.github.com/googleapis/java-core/issues/410)) ([0bbf669](https://www.github.com/googleapis/java-core/commit/0bbf669f1526fdd2068b02428a0ae8242fd08c3b)) * update dependency io.grpc:grpc-bom to v1.37.0 ([#416](https://www.github.com/googleapis/java-core/issues/416)) ([6dca414](https://www.github.com/googleapis/java-core/commit/6dca414e7c3ccfdc24c8142000f1aa9f5b9a646d)) * update guava ([#417](https://www.github.com/googleapis/java-core/issues/417)) ([291ba00](https://www.github.com/googleapis/java-core/commit/291ba00be22d6229c05ff61023628bf783f5b340)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 16 ++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 28 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 54b89c3caa8e..9b074d7b72a8 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +### [1.94.5](https://www.github.com/googleapis/java-core/compare/v1.94.4...v1.94.5) (2021-04-08) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.63.0 ([#415](https://www.github.com/googleapis/java-core/issues/415)) ([31d41f3](https://www.github.com/googleapis/java-core/commit/31d41f310db803c5f84e122256850cf3f6722481)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#408](https://www.github.com/googleapis/java-core/issues/408)) ([bfb3cae](https://www.github.com/googleapis/java-core/commit/bfb3caee3d056b6fcbc54a83c1eca36cf58ef72a)) +* update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#412](https://www.github.com/googleapis/java-core/issues/412)) ([e78e5d9](https://www.github.com/googleapis/java-core/commit/e78e5d9676ebf8bc44af7f81a282c7436878730f)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#407](https://www.github.com/googleapis/java-core/issues/407)) ([9ac757f](https://www.github.com/googleapis/java-core/commit/9ac757fa7e121b0db0f66577ed974d6dc24a803a)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#405](https://www.github.com/googleapis/java-core/issues/405)) ([a20bce4](https://www.github.com/googleapis/java-core/commit/a20bce416bfa6556bb7c3518afeca5259fdf23f4)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#413](https://www.github.com/googleapis/java-core/issues/413)) ([16d2bf5](https://www.github.com/googleapis/java-core/commit/16d2bf54340e78e8ba9765b531d9cd64089d723e)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#418](https://www.github.com/googleapis/java-core/issues/418)) ([101910c](https://www.github.com/googleapis/java-core/commit/101910c3edf25ece32fff2408ee09074c2593d18)) +* update dependency io.grpc:grpc-bom to v1.36.1 ([#410](https://www.github.com/googleapis/java-core/issues/410)) ([e31620a](https://www.github.com/googleapis/java-core/commit/e31620a2f7a15853a1acec8c09416953cc4dce09)) +* update dependency io.grpc:grpc-bom to v1.37.0 ([#416](https://www.github.com/googleapis/java-core/issues/416)) ([690fe8f](https://www.github.com/googleapis/java-core/commit/690fe8fe44b99b6b81175cef4797174ee28b7dac)) +* update guava ([#417](https://www.github.com/googleapis/java-core/issues/417)) ([acaa804](https://www.github.com/googleapis/java-core/commit/acaa804a740c1dbf95498db92e0627339f91dc6f)) + ### [1.94.4](https://www.github.com/googleapis/java-core/compare/v1.94.3...v1.94.4) (2021-03-11) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 5b847c08fb01..ff75d8712f1d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.5-SNAPSHOT + 1.94.5 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.5-SNAPSHOT + 1.94.5 com.google.cloud google-cloud-core-grpc - 1.94.5-SNAPSHOT + 1.94.5 com.google.cloud google-cloud-core-http - 1.94.5-SNAPSHOT + 1.94.5
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 546e9ad9d59d..259d611b95f0 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 - 1.94.5-SNAPSHOT + 1.94.5 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.5-SNAPSHOT + 1.94.5 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 a42a3b29c904..2f28ed800b09 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 - 1.94.5-SNAPSHOT + 1.94.5 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.5-SNAPSHOT + 1.94.5 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4093ff5d59ac..0a554378881e 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 - 1.94.5-SNAPSHOT + 1.94.5 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.5-SNAPSHOT + 1.94.5 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 762f5e2613b8..a70ba4432ce9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.5-SNAPSHOT + 1.94.5 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 27b9b6cf348d..fcb3d0bbfdd6 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.4:1.94.5-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.5:1.94.5 \ No newline at end of file From 1f894c5eb4ac83245cedf3b2a188e07ace6b34b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 20:40:43 +0200 Subject: [PATCH 1368/3036] deps: update dependency io.grpc:grpc-bom to v1.37.0 (#313) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 340789535dfa..1574aa2ffcbf 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.36.0 + 1.37.0 1.63.0 30.1-android 3.15.7 From 5cef8f9cf9ecda2f0fb7900b1ffc43b1dce3dbda Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Apr 2021 18:46:05 +0000 Subject: [PATCH 1369/3036] chore: release 1.94.6-SNAPSHOT (#419) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index ff75d8712f1d..96dfe6f454b4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.5 + 1.94.6-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.5 + 1.94.6-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.5 + 1.94.6-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.5 + 1.94.6-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 259d611b95f0..2959cfd8ae82 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 - 1.94.5 + 1.94.6-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.5 + 1.94.6-SNAPSHOT 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 2f28ed800b09..188282d25ce7 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 - 1.94.5 + 1.94.6-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.5 + 1.94.6-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0a554378881e..ab3e95cf5cdf 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 - 1.94.5 + 1.94.6-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.5 + 1.94.6-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index a70ba4432ce9..9783d5e14481 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.5 + 1.94.6-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index fcb3d0bbfdd6..ba21794446c3 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.5:1.94.5 \ No newline at end of file +google-cloud-core:1.94.5:1.94.6-SNAPSHOT \ No newline at end of file From 3a34d3f7c19078d637a774f986627457127fd65d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 20:54:03 +0200 Subject: [PATCH 1370/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.15.8 (#319) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.15.7` -> `3.15.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/compatibility-slim/3.15.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.15.8/confidence-slim/3.15.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.15.8`](https://togithub.com/protocolbuffers/protobuf/releases/v3.15.8) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.15.7...v3.15.8) ### Ruby - Fixed memory leak of Ruby arena objects ([#​8461](https://togithub.com/protocolbuffers/protobuf/issues/8461))
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1574aa2ffcbf..5044874acb75 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.37.0 1.63.0 30.1-android - 3.15.7 + 3.15.8 1.10.1 2.1.0 1.94.4 From 593ec06da78eddbe76b956d425279c68e935e5aa Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 9 Apr 2021 09:02:07 -0700 Subject: [PATCH 1371/3036] deps: update guava to 30.1.1-android (#322) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5044874acb75..1b95557d9cf6 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -57,7 +57,7 @@ 1.37.0 1.63.0 - 30.1-android + 30.1.1-android 3.15.8 1.10.1 2.1.0 From 4936688723fb899ff84a4fa1e53b00ce113dc8c0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Apr 2021 18:09:53 +0200 Subject: [PATCH 1372/3036] deps: update google.core.version to v1.94.5 (#320) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1b95557d9cf6..a975f2151c5f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.15.8 1.10.1 2.1.0 - 1.94.4 + 1.94.5 0.25.2 1.39.1 1.31.3 From 92b1e091df60273ac47f91df038178129f0d3865 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Apr 2021 18:10:09 +0200 Subject: [PATCH 1373/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.39.2 (#321) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a975f2151c5f..1bc21bf3489f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.1.0 1.94.5 0.25.2 - 1.39.1 + 1.39.2 1.31.3 2.8.6 1.5.0 From adb021270c45ebd0caff185491ef0be20c341707 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Apr 2021 18:46:33 +0200 Subject: [PATCH 1374/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.39.2 (#420) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9783d5e14481..fc692156939c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.0.11 0.25.2 1.31.3 - 1.39.1 + 1.39.2 1.37.0 3.15.8 0.28.0 From d3d1ac61b344dc138949662cd1d43941cb2864ed Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 16:54:16 +0000 Subject: [PATCH 1375/3036] chore: release 1.94.6 (#421) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.6](https://www.github.com/googleapis/java-core/compare/v1.94.5...v1.94.6) (2021-04-09) ### Dependencies * update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#420](https://www.github.com/googleapis/java-core/issues/420)) ([adb0212](https://www.github.com/googleapis/java-core/commit/adb021270c45ebd0caff185491ef0be20c341707)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 9b074d7b72a8..858d36731c17 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.94.6](https://www.github.com/googleapis/java-core/compare/v1.94.5...v1.94.6) (2021-04-09) + + +### Dependencies + +* update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#420](https://www.github.com/googleapis/java-core/issues/420)) ([541355d](https://www.github.com/googleapis/java-core/commit/541355db1e1652bac87ed7ab4f57c3bf2ba5d469)) + ### [1.94.5](https://www.github.com/googleapis/java-core/compare/v1.94.4...v1.94.5) (2021-04-08) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 96dfe6f454b4..fa4b189c42f5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.6-SNAPSHOT + 1.94.6 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.6-SNAPSHOT + 1.94.6 com.google.cloud google-cloud-core-grpc - 1.94.6-SNAPSHOT + 1.94.6 com.google.cloud google-cloud-core-http - 1.94.6-SNAPSHOT + 1.94.6 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2959cfd8ae82..c1da4312a093 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 - 1.94.6-SNAPSHOT + 1.94.6 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.6-SNAPSHOT + 1.94.6 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 188282d25ce7..cb106728268d 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 - 1.94.6-SNAPSHOT + 1.94.6 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.6-SNAPSHOT + 1.94.6 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ab3e95cf5cdf..3e4d67b55c26 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 - 1.94.6-SNAPSHOT + 1.94.6 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.6-SNAPSHOT + 1.94.6 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index fc692156939c..bf928465288a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.6-SNAPSHOT + 1.94.6 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ba21794446c3..134d8071f127 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.5:1.94.6-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.6:1.94.6 \ No newline at end of file From c315048ff1ded0df63e0738a8a4db03d15381d7c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 17:00:19 +0000 Subject: [PATCH 1376/3036] chore: release 1.94.7-SNAPSHOT (#422) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index fa4b189c42f5..b979a7234e3e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.6 + 1.94.7-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.6 + 1.94.7-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.6 + 1.94.7-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.6 + 1.94.7-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c1da4312a093..01bb931f0b1d 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 - 1.94.6 + 1.94.7-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.6 + 1.94.7-SNAPSHOT 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 cb106728268d..8d87678c5ea6 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 - 1.94.6 + 1.94.7-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.6 + 1.94.7-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3e4d67b55c26..c19a608efd0a 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 - 1.94.6 + 1.94.7-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.6 + 1.94.7-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index bf928465288a..3a477c84f17a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.6 + 1.94.7-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 134d8071f127..e04dfa4b00eb 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.6:1.94.6 \ No newline at end of file +google-cloud-core:1.94.6:1.94.7-SNAPSHOT \ No newline at end of file From dcb2458d194668677428b4e12b2c0e9091984ceb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 17:40:16 +0000 Subject: [PATCH 1377/3036] chore: release 0.21.0 (#307) :robot: I have created a release \*beep\* \*boop\* --- ## [0.21.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.1...v0.21.0) (2021-04-09) ### Dependencies * update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#310](https://www.github.com/googleapis/java-shared-dependencies/issues/310)) ([0a03be5](https://www.github.com/googleapis/java-shared-dependencies/commit/0a03be51af5c6ad0c4094626c4acd6f40fcedf06)) * update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#311](https://www.github.com/googleapis/java-shared-dependencies/issues/311)) ([e90c074](https://www.github.com/googleapis/java-shared-dependencies/commit/e90c0740e3bb523b04823842e885ac124d2985ce)) * update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#315](https://www.github.com/googleapis/java-shared-dependencies/issues/315)) ([89fae70](https://www.github.com/googleapis/java-shared-dependencies/commit/89fae70223a1444933f53bbe32f794cebecfefb4)) * update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#309](https://www.github.com/googleapis/java-shared-dependencies/issues/309)) ([07f59fc](https://www.github.com/googleapis/java-shared-dependencies/commit/07f59fc00fad71db1acf882abc9937cccffd70cc)) * update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#321](https://www.github.com/googleapis/java-shared-dependencies/issues/321)) ([92b1e09](https://www.github.com/googleapis/java-shared-dependencies/commit/92b1e091df60273ac47f91df038178129f0d3865)) * update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#308](https://www.github.com/googleapis/java-shared-dependencies/issues/308)) ([4da0536](https://www.github.com/googleapis/java-shared-dependencies/commit/4da0536ea2bae571c3dfa1dcc354adb4f7fac8ce)) * update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#316](https://www.github.com/googleapis/java-shared-dependencies/issues/316)) ([5be8586](https://www.github.com/googleapis/java-shared-dependencies/commit/5be8586da6c2b7248a15af1ad688a92534778697)) * update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#319](https://www.github.com/googleapis/java-shared-dependencies/issues/319)) ([3a34d3f](https://www.github.com/googleapis/java-shared-dependencies/commit/3a34d3f7c19078d637a774f986627457127fd65d)) * update dependency io.grpc:grpc-bom to v1.37.0 ([#313](https://www.github.com/googleapis/java-shared-dependencies/issues/313)) ([1f894c5](https://www.github.com/googleapis/java-shared-dependencies/commit/1f894c5eb4ac83245cedf3b2a188e07ace6b34b4)) * update gax.version to v1.63.0 ([#318](https://www.github.com/googleapis/java-shared-dependencies/issues/318)) ([83a2b58](https://www.github.com/googleapis/java-shared-dependencies/commit/83a2b588f15b777cc923ebbc3a6875b36a8c3b32)) * update google.core.version to v1.94.4 ([#305](https://www.github.com/googleapis/java-shared-dependencies/issues/305)) ([5e5d6d8](https://www.github.com/googleapis/java-shared-dependencies/commit/5e5d6d8dad12c725f2f1f1f14fe19145a4759c58)) * update google.core.version to v1.94.5 ([#320](https://www.github.com/googleapis/java-shared-dependencies/issues/320)) ([4936688](https://www.github.com/googleapis/java-shared-dependencies/commit/4936688723fb899ff84a4fa1e53b00ce113dc8c0)) * update guava to 30.1.1-android ([#322](https://www.github.com/googleapis/java-shared-dependencies/issues/322)) ([593ec06](https://www.github.com/googleapis/java-shared-dependencies/commit/593ec06da78eddbe76b956d425279c68e935e5aa)) * update iam.version to v1.0.11 ([#304](https://www.github.com/googleapis/java-shared-dependencies/issues/304)) ([6a0e83c](https://www.github.com/googleapis/java-shared-dependencies/commit/6a0e83ce57cf558434aeca353b0b72a7fa69d4fe)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 20 ++++++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 1e9e3ada45ef..d59446e707ea 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [0.21.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.1...v0.21.0) (2021-04-09) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#310](https://www.github.com/googleapis/java-shared-dependencies/issues/310)) ([8f3a0f0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f3a0f002b787f7b27cfe031654fa20bf342f839)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#311](https://www.github.com/googleapis/java-shared-dependencies/issues/311)) ([6c47a3e](https://www.github.com/googleapis/java-shared-dependencies/commit/6c47a3edbd9da04ba255487a66c0f3a41393217d)) +* update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#315](https://www.github.com/googleapis/java-shared-dependencies/issues/315)) ([dc254ca](https://www.github.com/googleapis/java-shared-dependencies/commit/dc254ca7359b68fe9411f7b96130ffb416b45c6f)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#309](https://www.github.com/googleapis/java-shared-dependencies/issues/309)) ([37225e2](https://www.github.com/googleapis/java-shared-dependencies/commit/37225e2d1b32a618765391720b57ff29e7b8f7f9)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#321](https://www.github.com/googleapis/java-shared-dependencies/issues/321)) ([273c66d](https://www.github.com/googleapis/java-shared-dependencies/commit/273c66d374f7cd6040aac2f302fd1c1dc0f4a1c0)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#308](https://www.github.com/googleapis/java-shared-dependencies/issues/308)) ([b29dd05](https://www.github.com/googleapis/java-shared-dependencies/commit/b29dd0535f02b56607f64ba69e85d4d468902789)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#316](https://www.github.com/googleapis/java-shared-dependencies/issues/316)) ([9c00d77](https://www.github.com/googleapis/java-shared-dependencies/commit/9c00d7753c1f7b963deb9ad69dcfe24ba28da5a2)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#319](https://www.github.com/googleapis/java-shared-dependencies/issues/319)) ([15e5ae2](https://www.github.com/googleapis/java-shared-dependencies/commit/15e5ae2ef46eedcd790ffd8644677d36db5c63f9)) +* update dependency io.grpc:grpc-bom to v1.37.0 ([#313](https://www.github.com/googleapis/java-shared-dependencies/issues/313)) ([c599351](https://www.github.com/googleapis/java-shared-dependencies/commit/c5993511c7305e1ced42d73552a93a25dc5e1ac1)) +* update gax.version to v1.63.0 ([#318](https://www.github.com/googleapis/java-shared-dependencies/issues/318)) ([ba709da](https://www.github.com/googleapis/java-shared-dependencies/commit/ba709da6fb0e9bcfc83e663588336598737b46e4)) +* update google.core.version to v1.94.4 ([#305](https://www.github.com/googleapis/java-shared-dependencies/issues/305)) ([0d38f4c](https://www.github.com/googleapis/java-shared-dependencies/commit/0d38f4c9ffadcfd9446712b8bf0729399b0c9e91)) +* update google.core.version to v1.94.5 ([#320](https://www.github.com/googleapis/java-shared-dependencies/issues/320)) ([3439721](https://www.github.com/googleapis/java-shared-dependencies/commit/3439721da83a8b92d9c4b6ecfd158cfb1e1a0503)) +* update guava to 30.1.1-android ([#322](https://www.github.com/googleapis/java-shared-dependencies/issues/322)) ([a6b5d3b](https://www.github.com/googleapis/java-shared-dependencies/commit/a6b5d3b8ccfc352bf0d1678952ce3cd8b7a8361e)) +* update iam.version to v1.0.11 ([#304](https://www.github.com/googleapis/java-shared-dependencies/issues/304)) ([95a5264](https://www.github.com/googleapis/java-shared-dependencies/commit/95a526442b3d24c83782523d38dd3931e828d757)) + ### [0.20.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.0...v0.20.1) (2021-03-09) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index ba24443f3aed..62b11d730cca 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.20.1 + 0.21.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1bc21bf3489f..7f696f521f82 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 - 0.20.2-SNAPSHOT + 0.21.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 8fdb9eef8760..59e3a9e9d962 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.20.1:0.20.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.21.0:0.21.0 \ No newline at end of file From 6783428eb5acf32d5acf5bf3bead6d917a9643df Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 19:14:18 +0000 Subject: [PATCH 1378/3036] chore: release 0.21.1-SNAPSHOT (#323) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7f696f521f82..8b59b6e77063 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 - 0.21.0 + 0.21.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 59e3a9e9d962..7f538f0aab56 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.21.0:0.21.0 \ No newline at end of file +google-cloud-shared-dependencies:0.21.0:0.21.1-SNAPSHOT \ No newline at end of file From b571a3ceb188f8cdc96bc87279bafa66be980c4d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Apr 2021 22:38:38 +0200 Subject: [PATCH 1379/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 (#125) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.20.1` -> `0.21.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/compatibility-slim/0.20.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/confidence-slim/0.20.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.21.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0210-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0201v0210-2021-04-09) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.20.1...v0.21.0) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#​310](https://www.github.com/googleapis/java-shared-dependencies/issues/310)) ([8f3a0f0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f3a0f002b787f7b27cfe031654fa20bf342f839)) - update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#​311](https://www.github.com/googleapis/java-shared-dependencies/issues/311)) ([6c47a3e](https://www.github.com/googleapis/java-shared-dependencies/commit/6c47a3edbd9da04ba255487a66c0f3a41393217d)) - update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#​315](https://www.github.com/googleapis/java-shared-dependencies/issues/315)) ([dc254ca](https://www.github.com/googleapis/java-shared-dependencies/commit/dc254ca7359b68fe9411f7b96130ffb416b45c6f)) - update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#​309](https://www.github.com/googleapis/java-shared-dependencies/issues/309)) ([37225e2](https://www.github.com/googleapis/java-shared-dependencies/commit/37225e2d1b32a618765391720b57ff29e7b8f7f9)) - update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#​321](https://www.github.com/googleapis/java-shared-dependencies/issues/321)) ([273c66d](https://www.github.com/googleapis/java-shared-dependencies/commit/273c66d374f7cd6040aac2f302fd1c1dc0f4a1c0)) - update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#​308](https://www.github.com/googleapis/java-shared-dependencies/issues/308)) ([b29dd05](https://www.github.com/googleapis/java-shared-dependencies/commit/b29dd0535f02b56607f64ba69e85d4d468902789)) - update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#​316](https://www.github.com/googleapis/java-shared-dependencies/issues/316)) ([9c00d77](https://www.github.com/googleapis/java-shared-dependencies/commit/9c00d7753c1f7b963deb9ad69dcfe24ba28da5a2)) - update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#​319](https://www.github.com/googleapis/java-shared-dependencies/issues/319)) ([15e5ae2](https://www.github.com/googleapis/java-shared-dependencies/commit/15e5ae2ef46eedcd790ffd8644677d36db5c63f9)) - update dependency io.grpc:grpc-bom to v1.37.0 ([#​313](https://www.github.com/googleapis/java-shared-dependencies/issues/313)) ([c599351](https://www.github.com/googleapis/java-shared-dependencies/commit/c5993511c7305e1ced42d73552a93a25dc5e1ac1)) - update gax.version to v1.63.0 ([#​318](https://www.github.com/googleapis/java-shared-dependencies/issues/318)) ([ba709da](https://www.github.com/googleapis/java-shared-dependencies/commit/ba709da6fb0e9bcfc83e663588336598737b46e4)) - update google.core.version to v1.94.4 ([#​305](https://www.github.com/googleapis/java-shared-dependencies/issues/305)) ([0d38f4c](https://www.github.com/googleapis/java-shared-dependencies/commit/0d38f4c9ffadcfd9446712b8bf0729399b0c9e91)) - update google.core.version to v1.94.5 ([#​320](https://www.github.com/googleapis/java-shared-dependencies/issues/320)) ([3439721](https://www.github.com/googleapis/java-shared-dependencies/commit/3439721da83a8b92d9c4b6ecfd158cfb1e1a0503)) - update guava to 30.1.1-android ([#​322](https://www.github.com/googleapis/java-shared-dependencies/issues/322)) ([a6b5d3b](https://www.github.com/googleapis/java-shared-dependencies/commit/a6b5d3b8ccfc352bf0d1678952ce3cd8b7a8361e)) - update iam.version to v1.0.11 ([#​304](https://www.github.com/googleapis/java-shared-dependencies/issues/304)) ([95a5264](https://www.github.com/googleapis/java-shared-dependencies/commit/95a526442b3d24c83782523d38dd3931e828d757)) ##### [0.20.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.0...v0.20.1) (2021-03-09) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#​301](https://www.github.com/googleapis/java-shared-dependencies/issues/301)) ([7c01eba](https://www.github.com/googleapis/java-shared-dependencies/commit/7c01ebabb6fd65b7404e56651b0ba27f505bb033)) - update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#​295](https://www.github.com/googleapis/java-shared-dependencies/issues/295)) ([a0774e9](https://www.github.com/googleapis/java-shared-dependencies/commit/a0774e9d62d00614142bc4c14214a83dda66d4ad)) - update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#​292](https://www.github.com/googleapis/java-shared-dependencies/issues/292)) ([b629789](https://www.github.com/googleapis/java-shared-dependencies/commit/b629789e3a1cc9a7308b829c034b09b06e24fc07)) - update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#​293](https://www.github.com/googleapis/java-shared-dependencies/issues/293)) ([d85ec34](https://www.github.com/googleapis/java-shared-dependencies/commit/d85ec347ccdd14dfdab10d365d2c2f8df3035e4d)) - update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#​294](https://www.github.com/googleapis/java-shared-dependencies/issues/294)) ([58c01aa](https://www.github.com/googleapis/java-shared-dependencies/commit/58c01aa076e2c4954986185f913bac2c51a1e6fb)) - update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#​302](https://www.github.com/googleapis/java-shared-dependencies/issues/302)) ([e9d5e6e](https://www.github.com/googleapis/java-shared-dependencies/commit/e9d5e6ee6039915da186315ceada673ac37b88d3)) - update google.core.version to v1.94.2 ([#​296](https://www.github.com/googleapis/java-shared-dependencies/issues/296)) ([af83b90](https://www.github.com/googleapis/java-shared-dependencies/commit/af83b901be0c03d507189999215d35345602fad7)) - update google.core.version to v1.94.3 ([#​300](https://www.github.com/googleapis/java-shared-dependencies/issues/300)) ([3e73176](https://www.github.com/googleapis/java-shared-dependencies/commit/3e73176af0b07dfe621163b301174b5b5820dfa2))
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e4794f1869b1..ec4140abfc7b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.20.1 + 0.21.0 pom import From 125d538f736d16591c20d382e52255c2b1a34a2d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 21:26:19 +0000 Subject: [PATCH 1380/3036] chore: release 1.0.12 (#126) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.12](https://www.github.com/googleapis/java-iam/compare/v1.0.11...v1.0.12) (2021-04-09) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#125](https://www.github.com/googleapis/java-iam/issues/125)) ([b571a3c](https://www.github.com/googleapis/java-iam/commit/b571a3ceb188f8cdc96bc87279bafa66be980c4d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 5a4070dc07c7..e4e742910632 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.12](https://www.github.com/googleapis/java-iam/compare/v1.0.11...v1.0.12) (2021-04-09) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#125](https://www.github.com/googleapis/java-iam/issues/125)) ([f06c16c](https://www.github.com/googleapis/java-iam/commit/f06c16cd0cc443cfdc115b299e223147f98f7bfc)) + ### [1.0.11](https://www.github.com/googleapis/java-iam/compare/v1.0.10...v1.0.11) (2021-03-11) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 1fd94a7eea80..7d5ff9388e4f 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.0.12-SNAPSHOT + 1.0.12 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.12-SNAPSHOT + 1.0.12 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index ec4140abfc7b..e632142173ce 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.12-SNAPSHOT + 1.0.12 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.12-SNAPSHOT + 1.0.12 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 21c6859ec5e0..42fa481d867c 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.12-SNAPSHOT + 1.0.12 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.12-SNAPSHOT + 1.0.12 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7afb78e2295b..fcb41b03c136 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.11:1.0.12-SNAPSHOT +proto-google-iam-v1:1.0.12:1.0.12 From 53bd27e926e0647253a5545a8c3ed54b54fd292f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Apr 2021 22:04:15 +0000 Subject: [PATCH 1381/3036] chore: release 1.0.13-SNAPSHOT (#127) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 7d5ff9388e4f..41b32971c1b3 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.0.12 + 1.0.13-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.12 + 1.0.13-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e632142173ce..cbd5875432a3 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.12 + 1.0.13-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.12 + 1.0.13-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 42fa481d867c..54750cf1d688 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.12 + 1.0.13-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.12 + 1.0.13-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index fcb41b03c136..7003a21aa8e1 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.12:1.0.12 +proto-google-iam-v1:1.0.12:1.0.13-SNAPSHOT From 63d427897982a43efb6c408dc260a46eb5c6f8c2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 12 Apr 2021 14:39:27 +0200 Subject: [PATCH 1382/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.12 (#425) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3a477c84f17a..4749af2a63cd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.63.0 1.10.1 2.1.0 - 1.0.11 + 1.0.12 0.25.2 1.31.3 1.39.2 From 214c3d19192d7ae7fe52bc17adef752ab49ea998 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 12 Apr 2021 14:39:45 +0200 Subject: [PATCH 1383/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.4 (#424) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4749af2a63cd..b469e04c1f8a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.1.0 1.0.12 0.25.2 - 1.31.3 + 1.31.4 1.39.2 1.37.0 3.15.8 From db691689a3ed2282a790622f5fe08d1335ba7eca Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 12 Apr 2021 12:46:03 +0000 Subject: [PATCH 1384/3036] chore: release 1.94.7 (#426) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.7](https://www.github.com/googleapis/java-core/compare/v1.94.6...v1.94.7) (2021-04-12) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#424](https://www.github.com/googleapis/java-core/issues/424)) ([214c3d1](https://www.github.com/googleapis/java-core/commit/214c3d19192d7ae7fe52bc17adef752ab49ea998)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.12 ([#425](https://www.github.com/googleapis/java-core/issues/425)) ([63d4278](https://www.github.com/googleapis/java-core/commit/63d427897982a43efb6c408dc260a46eb5c6f8c2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 858d36731c17..a184516bb439 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.94.7](https://www.github.com/googleapis/java-core/compare/v1.94.6...v1.94.7) (2021-04-12) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#424](https://www.github.com/googleapis/java-core/issues/424)) ([6773b81](https://www.github.com/googleapis/java-core/commit/6773b81893ce9f69ce457e3243bd89b49de6e553)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.12 ([#425](https://www.github.com/googleapis/java-core/issues/425)) ([df2ba7a](https://www.github.com/googleapis/java-core/commit/df2ba7a6aa73d2755382d19a4dfd86bdd6fd927a)) + ### [1.94.6](https://www.github.com/googleapis/java-core/compare/v1.94.5...v1.94.6) (2021-04-09) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b979a7234e3e..7ccd132e3054 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.7-SNAPSHOT + 1.94.7 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.7-SNAPSHOT + 1.94.7 com.google.cloud google-cloud-core-grpc - 1.94.7-SNAPSHOT + 1.94.7 com.google.cloud google-cloud-core-http - 1.94.7-SNAPSHOT + 1.94.7 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 01bb931f0b1d..9e39775a921d 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 - 1.94.7-SNAPSHOT + 1.94.7 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.7-SNAPSHOT + 1.94.7 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 8d87678c5ea6..47bf16dcd8c3 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 - 1.94.7-SNAPSHOT + 1.94.7 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.7-SNAPSHOT + 1.94.7 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c19a608efd0a..2c393755064e 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 - 1.94.7-SNAPSHOT + 1.94.7 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.7-SNAPSHOT + 1.94.7 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b469e04c1f8a..02f0af871473 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.7-SNAPSHOT + 1.94.7 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index e04dfa4b00eb..8f6c6d9fb009 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.6:1.94.7-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.7:1.94.7 \ No newline at end of file From 606d0a2d0c244db51508161d691952b6bd65cd3d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 12 Apr 2021 12:52:02 +0000 Subject: [PATCH 1385/3036] chore: release 1.94.8-SNAPSHOT (#427) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 7ccd132e3054..25b5d4f446c4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.7 + 1.94.8-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.7 + 1.94.8-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.7 + 1.94.8-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.7 + 1.94.8-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9e39775a921d..89093bbd634f 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 - 1.94.7 + 1.94.8-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.7 + 1.94.8-SNAPSHOT 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 47bf16dcd8c3..db5c52c73ea7 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 - 1.94.7 + 1.94.8-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.7 + 1.94.8-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2c393755064e..b70dfffa93e9 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 - 1.94.7 + 1.94.8-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.7 + 1.94.8-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 02f0af871473..4d116eb0c153 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.7 + 1.94.8-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 8f6c6d9fb009..029032a3a0d3 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.7:1.94.7 \ No newline at end of file +google-cloud-core:1.94.7:1.94.8-SNAPSHOT \ No newline at end of file From 7d5b855eb223b01223d97ea82ec6055cf0628153 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 12 Apr 2021 07:22:43 -0700 Subject: [PATCH 1386/3036] build(java): skip javadoc tests during dependencies test (#423) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/33ced83d-18be-4eec-9f43-00d6fbbc175a/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/5b0e1592dd7d70b485e157ea4b3eb1704ecbd015 --- java-core/.kokoro/dependencies.sh | 1 + java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index 0fb8c8436ccc..59d2aafc790f 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -33,6 +33,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" retry_with_backoff 3 10 \ mvn install -B -V -ntp \ -DskipTests=true \ + -Dmaven.javadoc.skip=true \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 945178f4ca11..030bcd1960f5 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "e31620a2f7a15853a1acec8c09416953cc4dce09" + "sha": "8c0d6fac48f2dd4651dcd4ff7680ee4ad6a35cb1" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" + "sha": "5b0e1592dd7d70b485e157ea4b3eb1704ecbd015" } } ], From a31e378d7ee615ca1634e0b56129800419c01fe9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 12 Apr 2021 07:26:05 -0700 Subject: [PATCH 1387/3036] build(java): skip javadoc tests during dependencies test (#128) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/1ac128c7-c081-46a7-b2ed-15b3a1132799/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/5b0e1592dd7d70b485e157ea4b3eb1704ecbd015 --- java-iam/.kokoro/dependencies.sh | 1 + java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index 0fb8c8436ccc..59d2aafc790f 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -33,6 +33,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" retry_with_backoff 3 10 \ mvn install -B -V -ntp \ -DskipTests=true \ + -Dmaven.javadoc.skip=true \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 41407affce7b..6c41cb3acdce 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "a979f23883c54bbec962db82626f8f6f005c06f2" + "sha": "4a47e36d9410d48d7b06c1cd87f5560660b3c45e" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" + "sha": "5b0e1592dd7d70b485e157ea4b3eb1704ecbd015" } } ], From a6244ca57ab8ebde052ad767fd3fb6b0e0da5914 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 13 Apr 2021 08:38:22 -0700 Subject: [PATCH 1388/3036] fix: typo (#429) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a39ccf4b-409a-4423-9b0c-4dc43267f906/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/082e1ca0863b13ada8594fe91845380765da5b70 --- java-core/.kokoro/build.sh | 2 +- java-core/synth.metadata | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 29905dbcf5ee..25c73263ab28 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -37,7 +37,7 @@ retry_with_backoff 3 10 \ -Dgcloud.download.skip=true \ -T 1C -# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it +# if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 030bcd1960f5..d59303e3e51a 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "8c0d6fac48f2dd4651dcd4ff7680ee4ad6a35cb1" + "sha": "f982d38cf3dcf62c07031e7ac8b4c5708c0f14e0" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5b0e1592dd7d70b485e157ea4b3eb1704ecbd015" + "sha": "082e1ca0863b13ada8594fe91845380765da5b70" } } ], @@ -26,6 +26,7 @@ ".github/readme/synth.py", ".github/release-please.yml", ".github/snippet-bot.yml", + ".github/sync-repo-settings.yaml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", From 349dd3d4601ad3dd8e7b790d21e8a348c303a433 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 13 Apr 2021 08:40:27 -0700 Subject: [PATCH 1389/3036] fix: typo (#129) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c80c6e83-aee8-4963-977f-b72615b230f9/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/082e1ca0863b13ada8594fe91845380765da5b70 --- java-iam/.kokoro/build.sh | 2 +- java-iam/synth.metadata | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 1445b9d1a553..238445ef0df1 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -37,7 +37,7 @@ retry_with_backoff 3 10 \ -Dgcloud.download.skip=true \ -T 1C -# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it +# if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 6c41cb3acdce..4440fcd50059 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "4a47e36d9410d48d7b06c1cd87f5560660b3c45e" + "sha": "6f2f5e69d0c1267bed90fa0e31b5c9b81b464fd2" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5b0e1592dd7d70b485e157ea4b3eb1704ecbd015" + "sha": "082e1ca0863b13ada8594fe91845380765da5b70" } } ], @@ -34,6 +34,7 @@ ".github/readme/synth.py", ".github/release-please.yml", ".github/snippet-bot.yml", + ".github/sync-repo-settings.yaml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", From aa04481fba1d82950550f9c619f3731815a71317 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Apr 2021 02:55:19 +0200 Subject: [PATCH 1390/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 (#329) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8b59b6e77063..7b9a583d0dda 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -73,7 +73,7 @@ 0.28.0 3.0.2 2.6.0 - 2.12.2 + 2.12.3 1.15 From ab66c18423c05e44ce4b651a15201106564cd67f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 14 Apr 2021 10:41:24 -0700 Subject: [PATCH 1391/3036] build(java): skip javadoc tests during dependencies test (#325) Source-Author: Jeff Ching Source-Date: Fri Apr 9 09:18:54 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 5b0e1592dd7d70b485e157ea4b3eb1704ecbd015 Source-Link: https://github.com/googleapis/synthtool/commit/5b0e1592dd7d70b485e157ea4b3eb1704ecbd015 --- java-shared-dependencies/.kokoro/dependencies.sh | 1 + java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index 0fb8c8436ccc..59d2aafc790f 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -33,6 +33,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" retry_with_backoff 3 10 \ mvn install -B -V -ntp \ -DskipTests=true \ + -Dmaven.javadoc.skip=true \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 40fafee7a5ea..e5f8901ea6bd 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "845909d9bd6f2f89da7e704e1726cae0138ffc0a" + "sha": "265911945d03215a4a2f36e350f94ba60a25c59b" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" + "sha": "5b0e1592dd7d70b485e157ea4b3eb1704ecbd015" } } ], From 1d55515a2b401a55b696af01d3fa320b9bcded58 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Apr 2021 23:11:07 +0200 Subject: [PATCH 1392/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.1 (#331) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7b9a583d0dda..2b7fafc052dc 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.0 + 0.11.1 From 293c6ce26fd4149f861627266d3a54cdf3ba4183 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Apr 2021 23:14:08 +0200 Subject: [PATCH 1393/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.1 (#431) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.0` -> `0.11.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/compatibility-slim/0.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/confidence-slim/0.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.11.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0111-httpswwwgithubcomgoogleapisjava-shared-configcomparev0110v0111-2021-04-14) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.11.0...v0.11.1)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 25b5d4f446c4..01b9058c2960 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.11.0 + 0.11.1 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 4d116eb0c153..deee57f9feb0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.0 + 0.11.1 From 69aab4ae8ca2d15c4a365794eb5444be43eb6582 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Apr 2021 23:14:29 +0200 Subject: [PATCH 1394/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.1 (#131) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.0` -> `0.11.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/compatibility-slim/0.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.1/confidence-slim/0.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.11.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0111-httpswwwgithubcomgoogleapisjava-shared-configcomparev0110v0111-2021-04-14) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.11.0...v0.11.1)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index cbd5875432a3..3954253bbfd0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.0 + 0.11.1 From e61189d3aed5eb206e8cef2d1c3a93d7c5388ab3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Apr 2021 23:24:44 +0200 Subject: [PATCH 1395/3036] deps: update iam.version to v1.0.12 (#327) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2b7fafc052dc..5967f36a43fa 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.0 1.3.2 1.20 - 1.0.11 + 1.0.12 0.28.0 3.0.2 2.6.0 From 90cd30f325760b8995fb82b8c1b997834cd590d6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Apr 2021 23:25:27 +0200 Subject: [PATCH 1396/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.4 (#326) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5967f36a43fa..b098519d2a0d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 1.94.5 0.25.2 1.39.2 - 1.31.3 + 1.31.4 2.8.6 1.5.0 1.3.2 From 7fc31b9f8521828edef19b480cc98c3c4d26d19f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Apr 2021 08:32:12 -0700 Subject: [PATCH 1397/3036] fix: release scripts from issuing overlapping phases (#132) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/75560215-0491-4646-b2ff-1b6e185d835d/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d --- java-iam/.kokoro/release/snapshot.sh | 2 +- java-iam/.kokoro/release/stage.sh | 2 +- java-iam/synth.metadata | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/.kokoro/release/snapshot.sh b/java-iam/.kokoro/release/snapshot.sh index 098168a7373c..1f55b77024d8 100755 --- a/java-iam/.kokoro/release/snapshot.sh +++ b/java-iam/.kokoro/release/snapshot.sh @@ -25,7 +25,7 @@ grep SNAPSHOT versions.txt setup_environment_secrets create_settings_xml_file "settings.xml" -mvn clean install deploy -B \ +mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DperformRelease=true \ -Dgpg.executable=gpg \ diff --git a/java-iam/.kokoro/release/stage.sh b/java-iam/.kokoro/release/stage.sh index 16126d2eb53f..8a1033843cb1 100755 --- a/java-iam/.kokoro/release/stage.sh +++ b/java-iam/.kokoro/release/stage.sh @@ -29,7 +29,7 @@ create_settings_xml_file "settings.xml" # attempt to stage 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn clean install deploy -B \ + mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DskipTests=true \ -DperformRelease=true \ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 4440fcd50059..ef174e25086f 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "6f2f5e69d0c1267bed90fa0e31b5c9b81b464fd2" + "sha": "fb367b6641200cfb221e773c1e483a2d4a10da08" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "082e1ca0863b13ada8594fe91845380765da5b70" + "sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d" } } ], From 8ed90b2480096c64294c88cfa1a8a48905005c66 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Apr 2021 08:32:50 -0700 Subject: [PATCH 1398/3036] fix: release scripts from issuing overlapping phases (#432) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/42e6b423-50a1-45f0-be87-e54e9aaf68d2/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d --- java-core/.kokoro/release/snapshot.sh | 2 +- java-core/.kokoro/release/stage.sh | 2 +- java-core/synth.metadata | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/.kokoro/release/snapshot.sh b/java-core/.kokoro/release/snapshot.sh index 098168a7373c..1f55b77024d8 100755 --- a/java-core/.kokoro/release/snapshot.sh +++ b/java-core/.kokoro/release/snapshot.sh @@ -25,7 +25,7 @@ grep SNAPSHOT versions.txt setup_environment_secrets create_settings_xml_file "settings.xml" -mvn clean install deploy -B \ +mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DperformRelease=true \ -Dgpg.executable=gpg \ diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh index 16126d2eb53f..8a1033843cb1 100755 --- a/java-core/.kokoro/release/stage.sh +++ b/java-core/.kokoro/release/stage.sh @@ -29,7 +29,7 @@ create_settings_xml_file "settings.xml" # attempt to stage 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn clean install deploy -B \ + mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DskipTests=true \ -DperformRelease=true \ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index d59303e3e51a..86dae617678e 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "f982d38cf3dcf62c07031e7ac8b4c5708c0f14e0" + "sha": "db5dcdeda126258465ef85e0ed4f66e6320a63d3" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "082e1ca0863b13ada8594fe91845380765da5b70" + "sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d" } } ], From d5dbdb160d564d7f6ed6d43c07e7282acb7e1fa6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 19 Apr 2021 09:16:04 -0700 Subject: [PATCH 1399/3036] fix: release scripts from issuing overlapping phases (#332) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/669c1fcb-cd86-40d3-903f-fcad30bc82fb/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d Source-Link: https://github.com/googleapis/synthtool/commit/082e1ca0863b13ada8594fe91845380765da5b70 --- java-shared-dependencies/.kokoro/build.sh | 2 +- java-shared-dependencies/.kokoro/release/snapshot.sh | 2 +- java-shared-dependencies/.kokoro/release/stage.sh | 2 +- java-shared-dependencies/synth.metadata | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index e9c0336bf5c8..238168cfe729 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -37,7 +37,7 @@ retry_with_backoff 3 10 \ -Dgcloud.download.skip=true \ -T 1C -# if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it +# if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi diff --git a/java-shared-dependencies/.kokoro/release/snapshot.sh b/java-shared-dependencies/.kokoro/release/snapshot.sh index 098168a7373c..1f55b77024d8 100755 --- a/java-shared-dependencies/.kokoro/release/snapshot.sh +++ b/java-shared-dependencies/.kokoro/release/snapshot.sh @@ -25,7 +25,7 @@ grep SNAPSHOT versions.txt setup_environment_secrets create_settings_xml_file "settings.xml" -mvn clean install deploy -B \ +mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DperformRelease=true \ -Dgpg.executable=gpg \ diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh index 16126d2eb53f..8a1033843cb1 100755 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -29,7 +29,7 @@ create_settings_xml_file "settings.xml" # attempt to stage 3 times with exponential backoff (starting with 10 seconds) retry_with_backoff 3 10 \ - mvn clean install deploy -B \ + mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DskipTests=true \ -DperformRelease=true \ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index e5f8901ea6bd..ded8d6a0ef4c 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "265911945d03215a4a2f36e350f94ba60a25c59b" + "sha": "409d24f8a0cac30e41ca45eb2711aecb335d70dd" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5b0e1592dd7d70b485e157ea4b3eb1704ecbd015" + "sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d" } } ], @@ -25,6 +25,7 @@ ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/snippet-bot.yml", + ".github/sync-repo-settings.yaml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/ci.yaml", From dd45e7323d8a9cc6bcb7f59959e89e90474337f6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 19 Apr 2021 20:48:04 +0200 Subject: [PATCH 1400/3036] deps: update google.core.version to v1.94.7 (#324) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.94.5` -> `1.94.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/compatibility-slim/1.94.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.7/confidence-slim/1.94.5)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `1.94.5` -> `1.94.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.7/compatibility-slim/1.94.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.7/confidence-slim/1.94.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v1.94.7`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1947-httpswwwgithubcomgoogleapisjava-corecomparev1946v1947-2021-04-12) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.6...v1.94.7) ### [`v1.94.6`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1946-httpswwwgithubcomgoogleapisjava-corecomparev1945v1946-2021-04-09) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.5...v1.94.6)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b098519d2a0d..e108ae4a63dc 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.15.8 1.10.1 2.1.0 - 1.94.5 + 1.94.7 0.25.2 1.39.2 1.31.4 From bded75c8b7a0e6f41be0e4ec4d6e8abfacf053db Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 19 Apr 2021 22:50:04 +0200 Subject: [PATCH 1401/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.3 (#328) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `0.25.2` -> `0.25.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.3/compatibility-slim/0.25.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.3/confidence-slim/0.25.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v0.25.3`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0253-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0252v0253-2021-04-12) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.25.2...v0.25.3)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e108ae4a63dc..f5620d2f7a20 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.1.0 1.94.7 - 0.25.2 + 0.25.3 1.39.2 1.31.4 2.8.6 From 30ceb8c498d0c1abbcf17e812d8eafe52339a299 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 19 Apr 2021 22:32:03 +0000 Subject: [PATCH 1402/3036] chore: release 0.21.1 (#330) :robot: I have created a release \*beep\* \*boop\* --- ### [0.21.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.0...v0.21.1) (2021-04-19) ### Bug Fixes * release scripts from issuing overlapping phases ([#332](https://www.github.com/googleapis/java-shared-dependencies/issues/332)) ([d5dbdb1](https://www.github.com/googleapis/java-shared-dependencies/commit/d5dbdb160d564d7f6ed6d43c07e7282acb7e1fa6)) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 ([#329](https://www.github.com/googleapis/java-shared-dependencies/issues/329)) ([aa04481](https://www.github.com/googleapis/java-shared-dependencies/commit/aa04481fba1d82950550f9c619f3731815a71317)) * update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#326](https://www.github.com/googleapis/java-shared-dependencies/issues/326)) ([90cd30f](https://www.github.com/googleapis/java-shared-dependencies/commit/90cd30f325760b8995fb82b8c1b997834cd590d6)) * update dependency com.google.auth:google-auth-library-bom to v0.25.3 ([#328](https://www.github.com/googleapis/java-shared-dependencies/issues/328)) ([bded75c](https://www.github.com/googleapis/java-shared-dependencies/commit/bded75c8b7a0e6f41be0e4ec4d6e8abfacf053db)) * update google.core.version to v1.94.7 ([#324](https://www.github.com/googleapis/java-shared-dependencies/issues/324)) ([dd45e73](https://www.github.com/googleapis/java-shared-dependencies/commit/dd45e7323d8a9cc6bcb7f59959e89e90474337f6)) * update iam.version to v1.0.12 ([#327](https://www.github.com/googleapis/java-shared-dependencies/issues/327)) ([e61189d](https://www.github.com/googleapis/java-shared-dependencies/commit/e61189d3aed5eb206e8cef2d1c3a93d7c5388ab3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 16 ++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index d59446e707ea..68fa4fd66f4b 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +### [0.21.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.0...v0.21.1) (2021-04-19) + + +### Bug Fixes + +* release scripts from issuing overlapping phases ([#332](https://www.github.com/googleapis/java-shared-dependencies/issues/332)) ([e289825](https://www.github.com/googleapis/java-shared-dependencies/commit/e289825a3bc45b4796db7ce4347f8d9d9251a410)) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 ([#329](https://www.github.com/googleapis/java-shared-dependencies/issues/329)) ([a77b4fc](https://www.github.com/googleapis/java-shared-dependencies/commit/a77b4fcc2ea5caf366c76a4698bac6d4c9abc92e)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#326](https://www.github.com/googleapis/java-shared-dependencies/issues/326)) ([409d24f](https://www.github.com/googleapis/java-shared-dependencies/commit/409d24f8a0cac30e41ca45eb2711aecb335d70dd)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.3 ([#328](https://www.github.com/googleapis/java-shared-dependencies/issues/328)) ([88cfc08](https://www.github.com/googleapis/java-shared-dependencies/commit/88cfc08952881200e23ed95cfa2eebad85ec7ab3)) +* update google.core.version to v1.94.7 ([#324](https://www.github.com/googleapis/java-shared-dependencies/issues/324)) ([0412c88](https://www.github.com/googleapis/java-shared-dependencies/commit/0412c88468940c1182bc0761bfe269a6688fe7b7)) +* update iam.version to v1.0.12 ([#327](https://www.github.com/googleapis/java-shared-dependencies/issues/327)) ([548d5f5](https://www.github.com/googleapis/java-shared-dependencies/commit/548d5f53c4f264f1cbb9ca72fdfe4608ab16b480)) + ## [0.21.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.1...v0.21.0) (2021-04-09) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 62b11d730cca..f4e9ca5b5155 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.21.0 + 0.21.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f5620d2f7a20..b29d0b207fcf 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 - 0.21.1-SNAPSHOT + 0.21.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 7f538f0aab56..40a048e27851 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.21.0:0.21.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:0.21.1:0.21.1 \ No newline at end of file From bbc30e4da931d75c9411fb34eb53016eed6029f6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Apr 2021 17:30:20 +0200 Subject: [PATCH 1403/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 (#133) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.21.0` -> `0.21.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.1/compatibility-slim/0.21.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.1/confidence-slim/0.21.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v0.21.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0211-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0210v0211-2021-04-19) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.21.0...v0.21.1)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3954253bbfd0..6d54e241ffe7 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.21.0 + 0.21.1 pom import From 5dcd68684f458054e3b774f865077488f78b336f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Apr 2021 15:32:21 +0000 Subject: [PATCH 1404/3036] chore: release 0.21.2-SNAPSHOT (#333) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b29d0b207fcf..042331ee254c 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 - 0.21.1 + 0.21.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 40a048e27851..c6d66b636d32 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.21.1:0.21.1 \ No newline at end of file +google-cloud-shared-dependencies:0.21.1:0.21.2-SNAPSHOT \ No newline at end of file From 84d9421023661db128ed1d6899bd61c0f95c04c3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Apr 2021 18:33:25 +0200 Subject: [PATCH 1405/3036] deps: update dependency org.threeten:threetenbp to v1.5.1 (#433) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index deee57f9feb0..dd80688c09c4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.1.2 3.6 3.0.2 - 1.5.0 + 1.5.1 2.6 2.6.0 2.8.6 From 54e0f6388880b27d3ae9b36bf43863618842965d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Apr 2021 18:34:10 +0200 Subject: [PATCH 1406/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.4 (#334) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 042331ee254c..439d95c01cd7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.1.0 1.94.7 - 0.25.3 + 0.25.4 1.39.2 1.31.4 2.8.6 From 3aaa92a8ff978cef0a473a0123c827b9fc3f51c1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Apr 2021 20:46:13 +0200 Subject: [PATCH 1407/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.4 (#428) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `0.25.2` -> `0.25.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.4/compatibility-slim/0.25.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.4/confidence-slim/0.25.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v0.25.4`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0254-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0253v0254-2021-04-15) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.25.3...v0.25.4) ### [`v0.25.3`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0253-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0252v0253-2021-04-12) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.25.2...v0.25.3)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index dd80688c09c4..a44bf8d74bd7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.1 2.1.0 1.0.12 - 0.25.2 + 0.25.4 1.31.4 1.39.2 1.37.0 From 16a87e308d1d108464e6a0a260416cc996ff9293 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Apr 2021 22:22:21 +0200 Subject: [PATCH 1408/3036] deps: update dependency org.threeten:threetenbp to v1.5.1 (#335) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 439d95c01cd7..84435642c759 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.39.2 1.31.4 2.8.6 - 1.5.0 + 1.5.1 1.3.2 1.20 1.0.12 From 3080c8561b15a5a8773ca930c2c79a4d2c109a74 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 00:34:24 +0200 Subject: [PATCH 1409/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.2 (#135) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.1` -> `0.11.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/compatibility-slim/0.11.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/confidence-slim/0.11.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.11.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0112-httpswwwgithubcomgoogleapisjava-shared-configcomparev0111v0112-2021-04-22) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.11.1...v0.11.2)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6d54e241ffe7..834020a15f43 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.1 + 0.11.2 From 56f179295d609da2d145bab761dcab15adcd2330 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 00:34:29 +0200 Subject: [PATCH 1410/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.2 (#436) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.1` -> `0.11.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/compatibility-slim/0.11.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/confidence-slim/0.11.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.11.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0112-httpswwwgithubcomgoogleapisjava-shared-configcomparev0111v0112-2021-04-22) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.11.1...v0.11.2)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 01b9058c2960..17fb15466efa 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.11.1 + 0.11.2 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index a44bf8d74bd7..6a3165a49dca 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.1 + 0.11.2 From cecaa99d7278258b635d6313be526e1a9e52c0b1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 02:14:13 +0200 Subject: [PATCH 1411/3036] deps: update dependency com.google.api:api-common to v1.10.3 (#437) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `1.10.1` -> `1.10.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/compatibility-slim/1.10.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/confidence-slim/1.10.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v1.10.3`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​1103-httpswwwgithubcomgoogleapisapi-common-javacomparev1102v1103-2021-04-22) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.10.1...v1.10.3)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6a3165a49dca..e38b89e490e9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.63.0 - 1.10.1 + 1.10.3 2.1.0 1.0.12 0.25.4 From a42fc51dd79c99e5ecc6d4867ffa22003833add0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 02:20:14 +0200 Subject: [PATCH 1412/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.5 (#435) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `0.25.4` -> `0.25.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/compatibility-slim/0.25.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/confidence-slim/0.25.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v0.25.5`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0255-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0254v0255-2021-04-22) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.25.4...v0.25.5)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e38b89e490e9..2f6a5f55d4bb 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.3 2.1.0 1.0.12 - 0.25.4 + 0.25.5 1.31.4 1.39.2 1.37.0 From 9c8ad181c90d9f2014d1e7ab067e2bc4a2946293 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 23 Apr 2021 00:26:14 +0000 Subject: [PATCH 1413/3036] chore: release 1.94.8 (#430) :robot: I have created a release \*beep\* \*boop\* --- ### [1.94.8](https://www.github.com/googleapis/java-core/compare/v1.94.7...v1.94.8) (2021-04-23) ### Bug Fixes * release scripts from issuing overlapping phases ([#432](https://www.github.com/googleapis/java-core/issues/432)) ([8ed90b2](https://www.github.com/googleapis/java-core/commit/8ed90b2480096c64294c88cfa1a8a48905005c66)) * typo ([#429](https://www.github.com/googleapis/java-core/issues/429)) ([a6244ca](https://www.github.com/googleapis/java-core/commit/a6244ca57ab8ebde052ad767fd3fb6b0e0da5914)) ### Dependencies * update dependency com.google.api:api-common to v1.10.3 ([#437](https://www.github.com/googleapis/java-core/issues/437)) ([cecaa99](https://www.github.com/googleapis/java-core/commit/cecaa99d7278258b635d6313be526e1a9e52c0b1)) * update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#428](https://www.github.com/googleapis/java-core/issues/428)) ([3aaa92a](https://www.github.com/googleapis/java-core/commit/3aaa92a8ff978cef0a473a0123c827b9fc3f51c1)) * update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#435](https://www.github.com/googleapis/java-core/issues/435)) ([a42fc51](https://www.github.com/googleapis/java-core/commit/a42fc51dd79c99e5ecc6d4867ffa22003833add0)) * update dependency org.threeten:threetenbp to v1.5.1 ([#433](https://www.github.com/googleapis/java-core/issues/433)) ([84d9421](https://www.github.com/googleapis/java-core/commit/84d9421023661db128ed1d6899bd61c0f95c04c3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 16 ++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 28 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index a184516bb439..1568c7042770 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +### [1.94.8](https://www.github.com/googleapis/java-core/compare/v1.94.7...v1.94.8) (2021-04-23) + + +### Bug Fixes + +* release scripts from issuing overlapping phases ([#432](https://www.github.com/googleapis/java-core/issues/432)) ([289bcab](https://www.github.com/googleapis/java-core/commit/289bcab7d8eeffc1671c3cb4c3e8cc4843d90e1a)) +* typo ([#429](https://www.github.com/googleapis/java-core/issues/429)) ([f1ea2f8](https://www.github.com/googleapis/java-core/commit/f1ea2f8568bc7c5ed9b1d495bdd88446aa3c4135)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.3 ([#437](https://www.github.com/googleapis/java-core/issues/437)) ([e853d98](https://www.github.com/googleapis/java-core/commit/e853d98caca3d5f0312a0fb9bbab0ffe4a0ce6e2)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#428](https://www.github.com/googleapis/java-core/issues/428)) ([7cc490d](https://www.github.com/googleapis/java-core/commit/7cc490df5e3d24986e7032f5a93a1f844aaa66d5)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#435](https://www.github.com/googleapis/java-core/issues/435)) ([7f7f362](https://www.github.com/googleapis/java-core/commit/7f7f3624a3c436c61a366e5e172592838a4078e0)) +* update dependency org.threeten:threetenbp to v1.5.1 ([#433](https://www.github.com/googleapis/java-core/issues/433)) ([af08225](https://www.github.com/googleapis/java-core/commit/af08225277fb436a53a1a65d60a7be80b786da4b)) + ### [1.94.7](https://www.github.com/googleapis/java-core/compare/v1.94.6...v1.94.7) (2021-04-12) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 17fb15466efa..1009c9a67034 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.8-SNAPSHOT + 1.94.8 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.8-SNAPSHOT + 1.94.8 com.google.cloud google-cloud-core-grpc - 1.94.8-SNAPSHOT + 1.94.8 com.google.cloud google-cloud-core-http - 1.94.8-SNAPSHOT + 1.94.8
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 89093bbd634f..add7b2d1cbb6 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 - 1.94.8-SNAPSHOT + 1.94.8 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.8-SNAPSHOT + 1.94.8 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 db5c52c73ea7..7c5169015a8e 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 - 1.94.8-SNAPSHOT + 1.94.8 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.8-SNAPSHOT + 1.94.8 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b70dfffa93e9..c6dc225ec41b 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 - 1.94.8-SNAPSHOT + 1.94.8 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.8-SNAPSHOT + 1.94.8 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2f6a5f55d4bb..5508ba283b46 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.8-SNAPSHOT + 1.94.8 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 029032a3a0d3..ea11a118f46d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.7:1.94.8-SNAPSHOT \ No newline at end of file +google-cloud-core:1.94.8:1.94.8 \ No newline at end of file From d67f707892dfa1787ae01029ebf3c2318dd9bf04 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 23 Apr 2021 00:32:21 +0000 Subject: [PATCH 1414/3036] chore: release 1.94.9-SNAPSHOT (#438) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1009c9a67034..bb84d22a97c0 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.8 + 1.94.9-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.8 + 1.94.9-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.94.8 + 1.94.9-SNAPSHOT com.google.cloud google-cloud-core-http - 1.94.8 + 1.94.9-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index add7b2d1cbb6..64b4b8afe4c3 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 - 1.94.8 + 1.94.9-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.8 + 1.94.9-SNAPSHOT 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 7c5169015a8e..865613be9188 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 - 1.94.8 + 1.94.9-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.8 + 1.94.9-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c6dc225ec41b..080eab75217b 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 - 1.94.8 + 1.94.9-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.8 + 1.94.9-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5508ba283b46..7394a65a51f9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.8 + 1.94.9-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ea11a118f46d..49a06b86d38d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.8:1.94.8 \ No newline at end of file +google-cloud-core:1.94.8:1.94.9-SNAPSHOT \ No newline at end of file From 2595ca9fd05331091d00f007b296588576c03311 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 02:32:24 +0200 Subject: [PATCH 1415/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.11.2 (#339) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.1` -> `0.11.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/compatibility-slim/0.11.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.11.2/confidence-slim/0.11.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.11.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0112-httpswwwgithubcomgoogleapisjava-shared-configcomparev0111v0112-2021-04-22) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.11.1...v0.11.2)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 84435642c759..df6d2f2b08d2 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.1 + 0.11.2 From 100348f0cf288115b91d4e85bfc64e4db29d112c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 05:00:09 +0200 Subject: [PATCH 1416/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.25.5 (#338) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `0.25.4` -> `0.25.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/compatibility-slim/0.25.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/0.25.5/confidence-slim/0.25.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v0.25.5`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​0255-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev0254v0255-2021-04-22) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v0.25.4...v0.25.5)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index df6d2f2b08d2..bca63d56aacf 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.1 2.1.0 1.94.7 - 0.25.4 + 0.25.5 1.39.2 1.31.4 2.8.6 From ca5f5da70e12fe5b520633218a46c12d5db7469e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 05:04:07 +0200 Subject: [PATCH 1417/3036] deps: update dependency com.google.api:api-common to v1.10.3 (#340) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `1.10.1` -> `1.10.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/compatibility-slim/1.10.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.3/confidence-slim/1.10.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v1.10.3`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​1103-httpswwwgithubcomgoogleapisapi-common-javacomparev1102v1103-2021-04-22) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.10.1...v1.10.3)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index bca63d56aacf..280a8d84acc2 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.63.0 30.1.1-android 3.15.8 - 1.10.1 + 1.10.3 2.1.0 1.94.7 0.25.5 From a3c132e3a39c93e56072da2ed8a8cfdebdf8eb21 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Apr 2021 17:10:03 +0200 Subject: [PATCH 1418/3036] deps: update google.core.version to v1.94.8 (#342) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.94.7` -> `1.94.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/compatibility-slim/1.94.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.94.8/confidence-slim/1.94.7)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `1.94.7` -> `1.94.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.8/compatibility-slim/1.94.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.94.8/confidence-slim/1.94.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v1.94.8`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1948-httpswwwgithubcomgoogleapisjava-corecomparev1947v1948-2021-04-23) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.7...v1.94.8)
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 280a8d84acc2..359d64c0f9e4 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.15.8 1.10.3 2.1.0 - 1.94.7 + 1.94.8 0.25.5 1.39.2 1.31.4 From 1b9cc507e68fe98aba04160d56bb35fd2d345be6 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Fri, 23 Apr 2021 12:36:04 -0400 Subject: [PATCH 1419/3036] feat: promote to 1.0.0 (#341) Release-As: 1.0.0 --- java-shared-dependencies/.repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/.repo-metadata.json b/java-shared-dependencies/.repo-metadata.json index 58d60867617e..9474c875434d 100644 --- a/java-shared-dependencies/.repo-metadata.json +++ b/java-shared-dependencies/.repo-metadata.json @@ -1,7 +1,7 @@ { "name": "google-cloud-shared-dependencies", "name_pretty": "Google Cloud Shared Dependencies BOM", - "release_level": "beta", + "release_level": "ga", "language": "java", "repo": "googleapis/java-shared-dependencies", "repo_short": "java-shared-dependencies", From 393551d4a871ef7a0ae830869321f6a6b1f4db20 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 23 Apr 2021 18:04:02 +0000 Subject: [PATCH 1420/3036] chore: release 1.0.0 (#336) :robot: I have created a release \*beep\* \*boop\* --- ## [0.22.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.1...v0.22.0) (2021-04-23) ### Features * promote to 1.0.0 ([#341](https://www.github.com/googleapis/java-shared-dependencies/issues/341)) ([1b9cc50](https://www.github.com/googleapis/java-shared-dependencies/commit/1b9cc507e68fe98aba04160d56bb35fd2d345be6)) ### Dependencies * update dependency com.google.api:api-common to v1.10.3 ([#340](https://www.github.com/googleapis/java-shared-dependencies/issues/340)) ([ca5f5da](https://www.github.com/googleapis/java-shared-dependencies/commit/ca5f5da70e12fe5b520633218a46c12d5db7469e)) * update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#334](https://www.github.com/googleapis/java-shared-dependencies/issues/334)) ([54e0f63](https://www.github.com/googleapis/java-shared-dependencies/commit/54e0f6388880b27d3ae9b36bf43863618842965d)) * update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#338](https://www.github.com/googleapis/java-shared-dependencies/issues/338)) ([100348f](https://www.github.com/googleapis/java-shared-dependencies/commit/100348f0cf288115b91d4e85bfc64e4db29d112c)) * update dependency org.threeten:threetenbp to v1.5.1 ([#335](https://www.github.com/googleapis/java-shared-dependencies/issues/335)) ([16a87e3](https://www.github.com/googleapis/java-shared-dependencies/commit/16a87e308d1d108464e6a0a260416cc996ff9293)) * update google.core.version to v1.94.8 ([#342](https://www.github.com/googleapis/java-shared-dependencies/issues/342)) ([a3c132e](https://www.github.com/googleapis/java-shared-dependencies/commit/a3c132e3a39c93e56072da2ed8a8cfdebdf8eb21)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 16 ++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 68fa4fd66f4b..766ef16f5096 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [1.0.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.1...v1.0.0) (2021-04-23) + + +### Features + +* promote to 1.0.0 ([#341](https://www.github.com/googleapis/java-shared-dependencies/issues/341)) ([eddce7b](https://www.github.com/googleapis/java-shared-dependencies/commit/eddce7bda196d757c0bb93a05574cc742e3d7ff6)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.3 ([#340](https://www.github.com/googleapis/java-shared-dependencies/issues/340)) ([6a7fc33](https://www.github.com/googleapis/java-shared-dependencies/commit/6a7fc33548c199d5f310b3ee5024907882d22726)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#334](https://www.github.com/googleapis/java-shared-dependencies/issues/334)) ([e5c747d](https://www.github.com/googleapis/java-shared-dependencies/commit/e5c747d245194effc258ae706e7764153010cd53)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#338](https://www.github.com/googleapis/java-shared-dependencies/issues/338)) ([ffa1df5](https://www.github.com/googleapis/java-shared-dependencies/commit/ffa1df5497b5365f520b665a202b8caf6521fc9d)) +* update dependency org.threeten:threetenbp to v1.5.1 ([#335](https://www.github.com/googleapis/java-shared-dependencies/issues/335)) ([c8c6df4](https://www.github.com/googleapis/java-shared-dependencies/commit/c8c6df48e7f80944544939e502f4f08543af2631)) +* update google.core.version to v1.94.8 ([#342](https://www.github.com/googleapis/java-shared-dependencies/issues/342)) ([d946dd2](https://www.github.com/googleapis/java-shared-dependencies/commit/d946dd2299aac32f969a2226a1391e1e73f00e62)) + ### [0.21.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.0...v0.21.1) (2021-04-19) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index f4e9ca5b5155..6f9838fe4bb4 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 0.21.1 + 1.0.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 359d64c0f9e4..e332a74f4692 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 - 0.21.2-SNAPSHOT + 1.0.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index c6d66b636d32..eac7515a5507 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:0.21.1:0.21.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:1.0.0:1.0.0 \ No newline at end of file From 082b30ed055bd0a4ddad1073af6abef3b20e0a82 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 24 Apr 2021 00:56:30 +0200 Subject: [PATCH 1421/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v1 (#136) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.21.1` -> `1.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.0.0/compatibility-slim/0.21.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.0.0/confidence-slim/0.21.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v1.0.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​100-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0211v100-2021-04-23) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.21.1...v1.0.0) ##### Features - promote to 1.0.0 ([#​341](https://www.github.com/googleapis/java-shared-dependencies/issues/341)) ([eddce7b](https://www.github.com/googleapis/java-shared-dependencies/commit/eddce7bda196d757c0bb93a05574cc742e3d7ff6)) ##### Dependencies - update dependency com.google.api:api-common to v1.10.3 ([#​340](https://www.github.com/googleapis/java-shared-dependencies/issues/340)) ([6a7fc33](https://www.github.com/googleapis/java-shared-dependencies/commit/6a7fc33548c199d5f310b3ee5024907882d22726)) - update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#​334](https://www.github.com/googleapis/java-shared-dependencies/issues/334)) ([e5c747d](https://www.github.com/googleapis/java-shared-dependencies/commit/e5c747d245194effc258ae706e7764153010cd53)) - update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#​338](https://www.github.com/googleapis/java-shared-dependencies/issues/338)) ([ffa1df5](https://www.github.com/googleapis/java-shared-dependencies/commit/ffa1df5497b5365f520b665a202b8caf6521fc9d)) - update dependency org.threeten:threetenbp to v1.5.1 ([#​335](https://www.github.com/googleapis/java-shared-dependencies/issues/335)) ([c8c6df4](https://www.github.com/googleapis/java-shared-dependencies/commit/c8c6df48e7f80944544939e502f4f08543af2631)) - update google.core.version to v1.94.8 ([#​342](https://www.github.com/googleapis/java-shared-dependencies/issues/342)) ([d946dd2](https://www.github.com/googleapis/java-shared-dependencies/commit/d946dd2299aac32f969a2226a1391e1e73f00e62)) ##### [0.21.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.0...v0.21.1) (2021-04-19) ##### Bug Fixes - release scripts from issuing overlapping phases ([#​332](https://www.github.com/googleapis/java-shared-dependencies/issues/332)) ([e289825](https://www.github.com/googleapis/java-shared-dependencies/commit/e289825a3bc45b4796db7ce4347f8d9d9251a410)) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 ([#​329](https://www.github.com/googleapis/java-shared-dependencies/issues/329)) ([a77b4fc](https://www.github.com/googleapis/java-shared-dependencies/commit/a77b4fcc2ea5caf366c76a4698bac6d4c9abc92e)) - update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#​326](https://www.github.com/googleapis/java-shared-dependencies/issues/326)) ([409d24f](https://www.github.com/googleapis/java-shared-dependencies/commit/409d24f8a0cac30e41ca45eb2711aecb335d70dd)) - update dependency com.google.auth:google-auth-library-bom to v0.25.3 ([#​328](https://www.github.com/googleapis/java-shared-dependencies/issues/328)) ([88cfc08](https://www.github.com/googleapis/java-shared-dependencies/commit/88cfc08952881200e23ed95cfa2eebad85ec7ab3)) - update google.core.version to v1.94.7 ([#​324](https://www.github.com/googleapis/java-shared-dependencies/issues/324)) ([0412c88](https://www.github.com/googleapis/java-shared-dependencies/commit/0412c88468940c1182bc0761bfe269a6688fe7b7)) - update iam.version to v1.0.12 ([#​327](https://www.github.com/googleapis/java-shared-dependencies/issues/327)) ([548d5f5](https://www.github.com/googleapis/java-shared-dependencies/commit/548d5f53c4f264f1cbb9ca72fdfe4608ab16b480))
    --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 834020a15f43..02495b8b252d 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.21.1 + 1.0.0 pom import From 71c53b0b6742c5dd68162df90b7f11ba9e020077 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 21:36:11 +0000 Subject: [PATCH 1422/3036] chore: release 1.0.13 (#130) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.13](https://www.github.com/googleapis/java-iam/compare/v1.0.12...v1.0.13) (2021-04-23) ### Bug Fixes * release scripts from issuing overlapping phases ([#132](https://www.github.com/googleapis/java-iam/issues/132)) ([7fc31b9](https://www.github.com/googleapis/java-iam/commit/7fc31b9f8521828edef19b480cc98c3c4d26d19f)) * typo ([#129](https://www.github.com/googleapis/java-iam/issues/129)) ([349dd3d](https://www.github.com/googleapis/java-iam/commit/349dd3d4601ad3dd8e7b790d21e8a348c303a433)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 ([#133](https://www.github.com/googleapis/java-iam/issues/133)) ([bbc30e4](https://www.github.com/googleapis/java-iam/commit/bbc30e4da931d75c9411fb34eb53016eed6029f6)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#136](https://www.github.com/googleapis/java-iam/issues/136)) ([082b30e](https://www.github.com/googleapis/java-iam/commit/082b30ed055bd0a4ddad1073af6abef3b20e0a82)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 14 ++++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index e4e742910632..65c5dc47c06e 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +### [1.0.13](https://www.github.com/googleapis/java-iam/compare/v1.0.12...v1.0.13) (2021-04-23) + + +### Bug Fixes + +* release scripts from issuing overlapping phases ([#132](https://www.github.com/googleapis/java-iam/issues/132)) ([9af3e17](https://www.github.com/googleapis/java-iam/commit/9af3e17ae469bd1b654942e1539a364dac08ac75)) +* typo ([#129](https://www.github.com/googleapis/java-iam/issues/129)) ([42c037a](https://www.github.com/googleapis/java-iam/commit/42c037a09184dd1a03a28b23a1dc8c4eca10cfd0)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.1 ([#133](https://www.github.com/googleapis/java-iam/issues/133)) ([fb23683](https://www.github.com/googleapis/java-iam/commit/fb236830857bbbe17eaa71a1dd9f0ec424e238a3)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1 ([#136](https://www.github.com/googleapis/java-iam/issues/136)) ([be35bdf](https://www.github.com/googleapis/java-iam/commit/be35bdf2b8b8c271e8aba4a493994512bce24e95)) + ### [1.0.12](https://www.github.com/googleapis/java-iam/compare/v1.0.11...v1.0.12) (2021-04-09) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 41b32971c1b3..88c238515988 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.0.13-SNAPSHOT + 1.0.13 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.13-SNAPSHOT + 1.0.13 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 02495b8b252d..a6123c86e206 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.13-SNAPSHOT + 1.0.13 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.13-SNAPSHOT + 1.0.13 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 54750cf1d688..8e28fa529405 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.13-SNAPSHOT + 1.0.13 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.13-SNAPSHOT + 1.0.13 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7003a21aa8e1..82dbd5be4955 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.12:1.0.13-SNAPSHOT +proto-google-iam-v1:1.0.13:1.0.13 From f71c799dc539ab5942ce135470d48c5efc43811a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 21:42:12 +0000 Subject: [PATCH 1423/3036] chore: release 1.0.14-SNAPSHOT (#137) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 88c238515988..861fa420b262 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.0.13 + 1.0.14-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.13 + 1.0.14-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a6123c86e206..facce7cfeff9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.13 + 1.0.14-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.13 + 1.0.14-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 8e28fa529405..f3b8b36405eb 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.13 + 1.0.14-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.13 + 1.0.14-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 82dbd5be4955..d4a15b76a2c6 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.13:1.0.13 +proto-google-iam-v1:1.0.13:1.0.14-SNAPSHOT From 576294a8d0c9be1e813641f4e358f4466e5461f3 Mon Sep 17 00:00:00 2001 From: "google-cloud-policy-bot[bot]" <80869356+google-cloud-policy-bot[bot]@users.noreply.github.com> Date: Fri, 30 Apr 2021 18:28:30 +0000 Subject: [PATCH 1424/3036] chore: add SECURITY.md (#440) add a security policy --- java-core/SECURITY.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 java-core/SECURITY.md diff --git a/java-core/SECURITY.md b/java-core/SECURITY.md new file mode 100644 index 000000000000..8b58ae9c01ae --- /dev/null +++ b/java-core/SECURITY.md @@ -0,0 +1,7 @@ +# Security Policy + +To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). + +The Google Security Team will respond within 5 working days of your report on g.co/vulnz. + +We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. From 42c9a4857eedc8d6d1f7b0f71857b1328a8ba4c3 Mon Sep 17 00:00:00 2001 From: "google-cloud-policy-bot[bot]" <80869356+google-cloud-policy-bot[bot]@users.noreply.github.com> Date: Mon, 3 May 2021 15:04:17 +0000 Subject: [PATCH 1425/3036] chore: add SECURITY.md (#138) add a security policy --- java-iam/SECURITY.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 java-iam/SECURITY.md diff --git a/java-iam/SECURITY.md b/java-iam/SECURITY.md new file mode 100644 index 000000000000..8b58ae9c01ae --- /dev/null +++ b/java-iam/SECURITY.md @@ -0,0 +1,7 @@ +# Security Policy + +To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). + +The Google Security Team will respond within 5 working days of your report on g.co/vulnz. + +We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. From 47ec3a0eeea5f1b261ffa0c19073f49c0b84bbd8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 3 May 2021 16:36:53 -0700 Subject: [PATCH 1426/3036] build(java): switch to release-please for release tagging (#442) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e0278274-adaa-45ae-96db-06917746a139/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- java-core/.github/release-please.yml | 3 ++- java-core/synth.metadata | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml index dce2c8450921..8ca7f9cabc29 100644 --- a/java-core/.github/release-please.yml +++ b/java-core/.github/release-please.yml @@ -1,2 +1,3 @@ +bumpMinorPreMajor: true +handleGHRelease: true releaseType: java-yoshi -bumpMinorPreMajor: true \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 86dae617678e..9f31d2214fce 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "db5dcdeda126258465ef85e0ed4f66e6320a63d3" + "sha": "c282c378e204b42e895d73f68a3c2d56a5da30d1" } }, { From ae791836c8ac419f4898ea0508486da6b5e29625 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 4 May 2021 09:08:10 -0700 Subject: [PATCH 1427/3036] build(java): switch to release-please for release tagging (#140) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/30613f1a-4570-431a-8b7c-367e151bfa95/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- java-iam/.github/release-please.yml | 3 ++- java-iam/synth.metadata | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-iam/.github/release-please.yml b/java-iam/.github/release-please.yml index dce2c8450921..8ca7f9cabc29 100644 --- a/java-iam/.github/release-please.yml +++ b/java-iam/.github/release-please.yml @@ -1,2 +1,3 @@ +bumpMinorPreMajor: true +handleGHRelease: true releaseType: java-yoshi -bumpMinorPreMajor: true \ No newline at end of file diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index ef174e25086f..d84a8ece5f02 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "fb367b6641200cfb221e773c1e483a2d4a10da08" + "sha": "c26452988376f6bd73748d39d509854fc7bd591b" } }, { From e97947d320ef92d4e4d0081244135a674381423c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 6 May 2021 16:07:51 -0700 Subject: [PATCH 1428/3036] chore: adding cloud-rad java xrefs (#346) Source-Author: Emily Ball Source-Date: Thu May 6 11:48:47 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 046994f491c02806aea60118e214a9edd67f5ab7 Source-Link: https://github.com/googleapis/synthtool/commit/046994f491c02806aea60118e214a9edd67f5ab7 --- .../.kokoro/release/publish_javadoc11.sh | 7 +++++++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh index 3dc4ae0180ea..01438ff35b59 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -49,6 +49,13 @@ pushd target/docfx-yml python3 -m docuploader create-metadata \ --name ${NAME} \ --version ${VERSION} \ + --xrefs devsite://java/gax \ + --xrefs devsite://java/google-cloud-core \ + --xrefs devsite://java/api-common \ + --xrefs devsite://java/proto-google-common-protos \ + --xrefs devsite://java/google-api-client \ + --xrefs devsite://java/google-http-client \ + --xrefs devsite://java/protobuf \ --language java # upload yml to production bucket diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index ded8d6a0ef4c..df31751cee1a 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "409d24f8a0cac30e41ca45eb2711aecb335d70dd" + "sha": "4bdeb4d35c8de58e17f6092392bb4743a59799ab" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d" + "sha": "046994f491c02806aea60118e214a9edd67f5ab7" } } ], From cc542d694064f3522d5430b175b76e8103a1e2f3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 6 May 2021 16:08:05 -0700 Subject: [PATCH 1429/3036] chore: adding cloud-rad java xrefs (#141) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/3f5b4b33-8888-4ecd-b44b-4a99abc968f1/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/046994f491c02806aea60118e214a9edd67f5ab7 --- java-iam/.kokoro/release/publish_javadoc11.sh | 7 +++++++ java-iam/synth.metadata | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index 0315e75a340f..caac69b870b4 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -49,6 +49,13 @@ pushd target/docfx-yml python3 -m docuploader create-metadata \ --name ${NAME} \ --version ${VERSION} \ + --xrefs devsite://java/gax \ + --xrefs devsite://java/google-cloud-core \ + --xrefs devsite://java/api-common \ + --xrefs devsite://java/proto-google-common-protos \ + --xrefs devsite://java/google-api-client \ + --xrefs devsite://java/google-http-client \ + --xrefs devsite://java/protobuf \ --language java # upload yml to production bucket diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index d84a8ece5f02..edd43b8d145c 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "c26452988376f6bd73748d39d509854fc7bd591b" + "sha": "adff1cb444dc14dd18aaae2660c86ae38c2dc781" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d" + "sha": "046994f491c02806aea60118e214a9edd67f5ab7" } } ], From 987fe307df0f6e1aa8f87bbac1f9f43fee8c2c1e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 6 May 2021 16:08:18 -0700 Subject: [PATCH 1430/3036] chore: adding cloud-rad java xrefs (#444) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/0c152713-ffaa-4c68-9480-d3d9d445bbee/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/046994f491c02806aea60118e214a9edd67f5ab7 --- java-core/.kokoro/release/publish_javadoc11.sh | 7 +++++++ java-core/synth.metadata | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh index b2bef9075ee7..d2d0ac94d8d2 100755 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -49,6 +49,13 @@ pushd target/docfx-yml python3 -m docuploader create-metadata \ --name ${NAME} \ --version ${VERSION} \ + --xrefs devsite://java/gax \ + --xrefs devsite://java/google-cloud-core \ + --xrefs devsite://java/api-common \ + --xrefs devsite://java/proto-google-common-protos \ + --xrefs devsite://java/google-api-client \ + --xrefs devsite://java/google-http-client \ + --xrefs devsite://java/protobuf \ --language java # upload yml to production bucket diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 9f31d2214fce..953ca5b30771 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "c282c378e204b42e895d73f68a3c2d56a5da30d1" + "sha": "9685b00860e313cdaedc122428144017dd0c50c8" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d" + "sha": "046994f491c02806aea60118e214a9edd67f5ab7" } } ], From c4b342d88f1a9cbd0a3757dc8580441649920d0f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 May 2021 23:18:08 +0200 Subject: [PATCH 1431/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.16.0 (#348) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.15.8` -> `3.16.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.16.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.16.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.16.0/compatibility-slim/3.15.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.16.0/confidence-slim/3.15.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.16.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.16.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.15.8...v3.16.0) ##### C++ - Fix compiler warnings issue found in conformance_test_runner [#​8189](https://togithub.com/protocolbuffers/protobuf/issues/8189) ([#​8190](https://togithub.com/protocolbuffers/protobuf/issues/8190)) - Fix MinGW-w64 build issues. ([#​8286](https://togithub.com/protocolbuffers/protobuf/issues/8286)) - [Protoc] C++ Resolved an issue where NO_DESTROY and CONSTINIT are in incorrect order ([#​8296](https://togithub.com/protocolbuffers/protobuf/issues/8296)) - Fix PROTOBUF_CONSTINIT macro redefinition ([#​8323](https://togithub.com/protocolbuffers/protobuf/issues/8323)) - Delete StringPiecePod ([#​8353](https://togithub.com/protocolbuffers/protobuf/issues/8353)) - Fix gcc error: comparison of unsigned expression in '>= 0' is always … ([#​8309](https://togithub.com/protocolbuffers/protobuf/issues/8309)) - Fix cmake install on iOS ([#​8301](https://togithub.com/protocolbuffers/protobuf/issues/8301)) - Create a CMake option to control whether or not RTTI is enabled ([#​8347](https://togithub.com/protocolbuffers/protobuf/issues/8347)) - Fix endian.h location on FreeBSD ([#​8351](https://togithub.com/protocolbuffers/protobuf/issues/8351)) - Refactor util::Status ([#​8354](https://togithub.com/protocolbuffers/protobuf/issues/8354)) - Make util::Status more similar to absl::Status ([#​8405](https://togithub.com/protocolbuffers/protobuf/issues/8405)) - Fix -Wsuggest-destructor-override for generated C++ proto classes. ([#​8408](https://togithub.com/protocolbuffers/protobuf/issues/8408)) - Refactor StatusOr and StringPiece ([#​8406](https://togithub.com/protocolbuffers/protobuf/issues/8406)) - Refactor uint128 ([#​8416](https://togithub.com/protocolbuffers/protobuf/issues/8416)) - The ::pb namespace is no longer exposed due to conflicts. - Allow MessageDifferencer::TreatAsSet() (and friends) to override previous calls instead of crashing. - Reduce the size of generated proto headers for protos with `string` or `bytes` fields. - Move arena() operation on uncommon path to out-of-line routine - For iterator-pair function parameter types, take both iterators by value. - Code-space savings and perhaps some modest performance improvements in RepeatedPtrField. - Eliminate nullptr check from every tag parse. - Remove unused _$name$\_cached_byte_size_ fields. - Serialize extension ranges together when not broken by a proto field in the middle. - Do out-of-line allocation and deallocation of string object in ArenaString. - Streamline ParseContext::ParseMessage to avoid code bloat and improve performance. - New member functions RepeatedField::Assign, RepeatedPtrField::{Add, Assign}. - Fix undefined behavior warning due to innocuous uninitialization of value on an error path. - Avoid expensive inlined code space for encoding message length for messages > = 128 bytes and instead do a procedure call to a shared out-of-line routine. - util::DefaultFieldComparator will be final in a future version of protobuf. Subclasses should inherit from SimpleFieldComparator instead. ##### C - Add .NET 5 target and improve WriteString performance with SIMD ([#​8147](https://togithub.com/protocolbuffers/protobuf/issues/8147)) ##### Java - deps: update JUnit and Truth ([#​8319](https://togithub.com/protocolbuffers/protobuf/issues/8319)) - Detect invalid overflow of byteLimit and return InvalidProtocolBufferException as documented. - Exceptions thrown while reading from an InputStream in parseFrom are now included as causes. - Support potentially more efficient proto parsing from RopeByteStrings. - Clarify runtime of ByteString.Output.toStringBuffer(). - Added UnsafeByteOperations to protobuf-lite ([#​8426](https://togithub.com/protocolbuffers/protobuf/issues/8426)) ##### JavaScript - Make Any.pack() chainable. ##### Python - Fix some constness / char literal issues being found by MSVC standard conforming mode ([#​8344](https://togithub.com/protocolbuffers/protobuf/issues/8344)) - Switch on "new" buffer API ([#​8339](https://togithub.com/protocolbuffers/protobuf/issues/8339)) - Enable crosscompiling aarch64 python wheels under dockcross manylinux docker image ([#​8280](https://togithub.com/protocolbuffers/protobuf/issues/8280)) - Fixed a bug in text format where a trailing colon was printed for repeated field. - When TextFormat encounters a duplicate message map key, replace the current one instead of merging. ##### Objective-C - Move the class map to a CFDictionary. ([#​8328](https://togithub.com/protocolbuffers/protobuf/issues/8328)) ##### PHP - read_property() handler is not supposed to return NULL ([#​8362](https://togithub.com/protocolbuffers/protobuf/issues/8362)) - Changed parameter type from long to integer ([#​7613](https://togithub.com/protocolbuffers/protobuf/issues/7613)) - fix: README supported PHP version for C extension ([#​8236](https://togithub.com/protocolbuffers/protobuf/issues/8236)) ##### Ruby - Fixed quadratic memory usage when appending to arrays. ([#​8364](https://togithub.com/protocolbuffers/protobuf/issues/8364)) - Fixed memory leak of Ruby arena objects. ([#​8461](https://togithub.com/protocolbuffers/protobuf/issues/8461)) - Add support for proto3 json_name in compiler and field definitions. ([#​8356](https://togithub.com/protocolbuffers/protobuf/issues/8356)) ##### Other - Some doc on AOT compilation and protobuf ([#​8294](https://togithub.com/protocolbuffers/protobuf/issues/8294)) - [CMake] Ability to pass options to protoc executable from cmake ([#​8374](https://togithub.com/protocolbuffers/protobuf/issues/8374)) - Add --fatal_warnings flag to treat warnings as errors ([#​8131](https://togithub.com/protocolbuffers/protobuf/issues/8131)) - [bazel] Remove deprecated way to depend on googletest ([#​8396](https://togithub.com/protocolbuffers/protobuf/issues/8396)) - add error returns missing from protoc to prevent it from exiting with… ([#​8409](https://togithub.com/protocolbuffers/protobuf/issues/8409))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e332a74f4692..ac36ca363105 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.37.0 1.63.0 30.1.1-android - 3.15.8 + 3.16.0 1.10.3 2.1.0 1.94.8 From c3acd16c9b8c341bdac2da80b3cfabf1385c0845 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 May 2021 23:20:06 +0200 Subject: [PATCH 1432/3036] deps: update iam.version to v1.0.13 (#343) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.0.12` -> `1.0.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.13/compatibility-slim/1.0.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.13/confidence-slim/1.0.12)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.0.12` -> `1.0.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.13/compatibility-slim/1.0.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.13/confidence-slim/1.0.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.0.13`](https://togithub.com/googleapis/java-iam/blob/master/CHANGELOG.md#​1013-httpswwwgithubcomgoogleapisjava-iamcomparev1012v1013-2021-04-23) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.0.12...v1.0.13)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ac36ca363105..ab3ca819d5ac 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.1 1.3.2 1.20 - 1.0.12 + 1.0.13 0.28.0 3.0.2 2.6.0 From 391ded4073d660955f63761298c019fa2cec368e Mon Sep 17 00:00:00 2001 From: "google-cloud-policy-bot[bot]" <80869356+google-cloud-policy-bot[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 21:22:07 +0000 Subject: [PATCH 1433/3036] chore: add SECURITY.md (#344) chore: add SECURITY.md --- java-shared-dependencies/SECURITY.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 java-shared-dependencies/SECURITY.md diff --git a/java-shared-dependencies/SECURITY.md b/java-shared-dependencies/SECURITY.md new file mode 100644 index 000000000000..8b58ae9c01ae --- /dev/null +++ b/java-shared-dependencies/SECURITY.md @@ -0,0 +1,7 @@ +# Security Policy + +To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). + +The Google Security Team will respond within 5 working days of your report on g.co/vulnz. + +We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. From 45b0913dfdc37bf10e113fdac960094ad4fff2cf Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 21:38:07 +0000 Subject: [PATCH 1434/3036] chore: release 1.0.1-SNAPSHOT (#347) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ab3ca819d5ac..a7924392906e 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 - 1.0.0 + 1.0.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index eac7515a5507..6f76ac6b25b9 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.0.0:1.0.0 \ No newline at end of file +google-cloud-shared-dependencies:1.0.0:1.0.1-SNAPSHOT \ No newline at end of file From b526e1f0db503874c42d36441a42c718ce6d81a7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 May 2021 23:40:07 +0200 Subject: [PATCH 1435/3036] deps: update gax.version to v1.64.0 (#345) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `1.63.0` -> `1.64.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.64.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.64.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.64.0/compatibility-slim/1.63.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.64.0/confidence-slim/1.63.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `1.63.0` -> `1.64.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0/compatibility-slim/1.63.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0/confidence-slim/1.63.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v1.64.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1640-httpswwwgithubcomgoogleapisgax-javacomparev1634v1640-2021-05-10) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.63.4...v1.64.0) ##### Features - release 1.64.0 ([#​1375](https://www.github.com/googleapis/gax-java/issues/1375)) ([499682e](https://www.github.com/googleapis/gax-java/commit/499682ec3b96ddeaac75f6e71cc3bc85a854da97)) ##### [1.63.4](https://www.github.com/googleapis/gax-java/compare/v1.63.3...v1.63.4) (2021-05-07) ##### Bug Fixes - Make x-goog-api-client header report rest-based transport clients with `rest/` token instead of `httpson/`. ([#​1370](https://www.github.com/googleapis/gax-java/issues/1370)) ([b1b0b49](https://www.github.com/googleapis/gax-java/commit/b1b0b498ba188a51b17d179988074bcf34fb7590)) ##### [1.63.3](https://www.github.com/googleapis/gax-java/compare/v1.63.2...v1.63.3) (2021-05-04) ##### Bug Fixes - fix flaky tests and non blocking semaphore ([#​1365](https://www.github.com/googleapis/gax-java/issues/1365)) ([fc8e520](https://www.github.com/googleapis/gax-java/commit/fc8e520acfaf843ac61e806bdb4b5fe393d0b447)) - Remove a flacky test in FlowControllerTest ([#​1360](https://www.github.com/googleapis/gax-java/issues/1360)) ([2cca0bf](https://www.github.com/googleapis/gax-java/commit/2cca0bf9e96271dd52e8bffa00b8f2d45d358d35)) ##### [1.63.2](https://www.github.com/googleapis/gax-java/compare/v1.63.1...v1.63.2) (2021-04-30) ##### Bug Fixes - Remove default value handling ([#​1353](https://www.github.com/googleapis/gax-java/issues/1353)) ([ed0fc79](https://www.github.com/googleapis/gax-java/commit/ed0fc791b22db45bd20de890b0abecd1839d2d86)) ##### Dependencies - remove codecov.io ([#​1354](https://www.github.com/googleapis/gax-java/issues/1354)) ([06a53ac](https://www.github.com/googleapis/gax-java/commit/06a53aca36ed0825122be160479b1ea0ba8635a0)) ##### [1.63.1](https://www.github.com/googleapis/gax-java/compare/v1.63.0...v1.63.1) (2021-04-26) ##### Bug Fixes - fix dynamic flow control setting checks ([#​1347](https://www.github.com/googleapis/gax-java/issues/1347)) ([69458b4](https://www.github.com/googleapis/gax-java/commit/69458b4deefe5b9c2c33a3b51389face968ff52f)) - fix watchdog NPE red herring ([#​1344](https://www.github.com/googleapis/gax-java/issues/1344)) ([06dbf12](https://www.github.com/googleapis/gax-java/commit/06dbf129ce63d28430e1022137679c9cfdf433ee)) ### [`v1.63.4`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1634-httpswwwgithubcomgoogleapisgax-javacomparev1633v1634-2021-05-07) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.63.3...v1.63.4) ### [`v1.63.3`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1633-httpswwwgithubcomgoogleapisgax-javacomparev1632v1633-2021-05-04) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.63.0...v1.63.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a7924392906e..c889807a005f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.37.0 - 1.63.0 + 1.64.0 30.1.1-android 3.16.0 1.10.3 From 688ede286d74caa219e27e6810368dba36542929 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 10 May 2021 21:46:07 +0000 Subject: [PATCH 1436/3036] chore: release 1.1.0 (#350) :robot: I have created a release \*beep\* \*boop\* --- ## [1.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.0.0...v1.1.0) (2021-05-10) ### Dependencies * update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#348](https://www.github.com/googleapis/java-shared-dependencies/issues/348)) ([c4b342d](https://www.github.com/googleapis/java-shared-dependencies/commit/c4b342d88f1a9cbd0a3757dc8580441649920d0f)) * update gax.version to v1.64.0 ([#345](https://www.github.com/googleapis/java-shared-dependencies/issues/345)) ([b526e1f](https://www.github.com/googleapis/java-shared-dependencies/commit/b526e1f0db503874c42d36441a42c718ce6d81a7)) * update iam.version to v1.0.13 ([#343](https://www.github.com/googleapis/java-shared-dependencies/issues/343)) ([c3acd16](https://www.github.com/googleapis/java-shared-dependencies/commit/c3acd16c9b8c341bdac2da80b3cfabf1385c0845)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 9 +++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 766ef16f5096..066941c628a0 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [1.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.0.0...v1.1.0) (2021-05-10) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#348](https://www.github.com/googleapis/java-shared-dependencies/issues/348)) ([0aacfde](https://www.github.com/googleapis/java-shared-dependencies/commit/0aacfdeec70e30803734db8287c47e4fad5481ef)) +* update gax.version to v1.64.0 ([#345](https://www.github.com/googleapis/java-shared-dependencies/issues/345)) ([478bd35](https://www.github.com/googleapis/java-shared-dependencies/commit/478bd35296293e81c7e70157f50bfbebdc1bb54d)) +* update iam.version to v1.0.13 ([#343](https://www.github.com/googleapis/java-shared-dependencies/issues/343)) ([3637923](https://www.github.com/googleapis/java-shared-dependencies/commit/363792392b71deff5cc5731104b631122fba5e61)) + ## [1.0.0](https://www.github.com/googleapis/java-shared-dependencies/compare/0.21.1...v1.0.0) (2021-04-23) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 6f9838fe4bb4..e0d266a20866 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 1.0.0 + 1.1.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c889807a005f..85c81ddfa694 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 - 1.0.1-SNAPSHOT + 1.1.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 6f76ac6b25b9..941843385d7d 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.0.0:1.0.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:1.1.0:1.1.0 \ No newline at end of file From f8399587abbff152177a262cfeaf3bd361e773c9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 11 May 2021 03:22:39 +0200 Subject: [PATCH 1437/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 (#142) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.0.0` -> `1.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/compatibility-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.1.0/confidence-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v1.1.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​110-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare100v110-2021-05-10) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.0.0...v1.1.0) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#​348](https://www.github.com/googleapis/java-shared-dependencies/issues/348)) ([0aacfde](https://www.github.com/googleapis/java-shared-dependencies/commit/0aacfdeec70e30803734db8287c47e4fad5481ef)) - update gax.version to v1.64.0 ([#​345](https://www.github.com/googleapis/java-shared-dependencies/issues/345)) ([478bd35](https://www.github.com/googleapis/java-shared-dependencies/commit/478bd35296293e81c7e70157f50bfbebdc1bb54d)) - update iam.version to v1.0.13 ([#​343](https://www.github.com/googleapis/java-shared-dependencies/issues/343)) ([3637923](https://www.github.com/googleapis/java-shared-dependencies/commit/363792392b71deff5cc5731104b631122fba5e61))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index facce7cfeff9..8110c8d65091 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.0.0 + 1.1.0 pom import From 5f35425ba8d5d045779e85a3810239333bd90297 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 11 May 2021 01:38:05 +0000 Subject: [PATCH 1438/3036] chore: release 1.0.14 (#143) :robot: I have created a release \*beep\* \*boop\* --- ### [1.0.14](https://www.github.com/googleapis/java-iam/compare/v1.0.13...v1.0.14) (2021-05-11) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#142](https://www.github.com/googleapis/java-iam/issues/142)) ([f839958](https://www.github.com/googleapis/java-iam/commit/f8399587abbff152177a262cfeaf3bd361e773c9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 65c5dc47c06e..cea12417b89e 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.0.14](https://www.github.com/googleapis/java-iam/compare/v1.0.13...v1.0.14) (2021-05-11) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.1.0 ([#142](https://www.github.com/googleapis/java-iam/issues/142)) ([109ec5e](https://www.github.com/googleapis/java-iam/commit/109ec5ee3d5882fa840d4af6ad49d1a2c237bd28)) + ### [1.0.13](https://www.github.com/googleapis/java-iam/compare/v1.0.12...v1.0.13) (2021-04-23) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 861fa420b262..7fc10ef9472d 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.0.14-SNAPSHOT + 1.0.14 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.14-SNAPSHOT + 1.0.14 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 8110c8d65091..97b28b9f8af6 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.14-SNAPSHOT + 1.0.14 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.14-SNAPSHOT + 1.0.14 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index f3b8b36405eb..8d666c174353 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.14-SNAPSHOT + 1.0.14 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.14-SNAPSHOT + 1.0.14 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index d4a15b76a2c6..e684d5c46447 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.13:1.0.14-SNAPSHOT +proto-google-iam-v1:1.0.14:1.0.14 From dd88d3af9f81b95edc8021a101e7e247a08a1b70 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 11 May 2021 01:44:16 +0000 Subject: [PATCH 1439/3036] chore: release 1.0.15-SNAPSHOT (#144) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 7fc10ef9472d..369c10dc0858 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.0.14 + 1.0.15-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.14 + 1.0.15-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 97b28b9f8af6..698a07e6ced1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.14 + 1.0.15-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.14 + 1.0.15-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 8d666c174353..65e15c435599 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.14 + 1.0.15-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.14 + 1.0.15-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index e684d5c46447..9cf06324a2cb 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.14:1.0.14 +proto-google-iam-v1:1.0.14:1.0.15-SNAPSHOT From 8424256f8a2ce178fd2a1fca560884c0ddd36b92 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 13 May 2021 16:38:25 -0700 Subject: [PATCH 1440/3036] build(java): remove codecov action (#448) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e6b0cbbb-c315-4d47-a85f-ad59f2a76c78/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1 --- java-core/.github/workflows/ci.yaml | 6 +----- java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index def8b3a2c84d..0195b32f00b4 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -19,10 +19,6 @@ jobs: - run: .kokoro/build.sh env: JOB_TYPE: test - - name: coverage - uses: codecov/codecov-action@v1 - with: - name: actions ${{matrix.java}} windows: runs-on: windows-latest steps: @@ -80,4 +76,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 953ca5b30771..8bc449580578 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "9685b00860e313cdaedc122428144017dd0c50c8" + "sha": "36060a8291fa06ffcff1e913114ad2d71ef627c8" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "046994f491c02806aea60118e214a9edd67f5ab7" + "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1" } } ], From 2ac967c98a78a3d1a309b70132643e174930ffbc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 13 May 2021 16:42:15 -0700 Subject: [PATCH 1441/3036] build(java): remove codecov action (#145) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8045a22e-f7af-476b-85c2-367c155a77b7/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1 --- java-iam/.github/workflows/ci.yaml | 6 +----- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index def8b3a2c84d..0195b32f00b4 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -19,10 +19,6 @@ jobs: - run: .kokoro/build.sh env: JOB_TYPE: test - - name: coverage - uses: codecov/codecov-action@v1 - with: - name: actions ${{matrix.java}} windows: runs-on: windows-latest steps: @@ -80,4 +76,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index edd43b8d145c..234fe19349a9 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "adff1cb444dc14dd18aaae2660c86ae38c2dc781" + "sha": "edf7660e7cdad6be3c6254274bc6875294f736aa" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "046994f491c02806aea60118e214a9edd67f5ab7" + "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1" } } ], From 0384a0d9a77762109e422c52433db05dbbf2d0a0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 14 May 2021 02:08:06 +0200 Subject: [PATCH 1442/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.5 (#353) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 85c81ddfa694..25c066d8cc36 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 1.94.8 0.25.5 1.39.2 - 1.31.4 + 1.31.5 2.8.6 1.5.1 1.3.2 From 51ec0e80095b36766009611247c89591fad011a6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 14 May 2021 00:20:07 +0000 Subject: [PATCH 1443/3036] chore: release 1.1.1-SNAPSHOT (#351) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 25c066d8cc36..32c2932f7348 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 - 1.1.0 + 1.1.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 941843385d7d..5a9d80ada87b 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.1.0:1.1.0 \ No newline at end of file +google-cloud-shared-dependencies:1.1.0:1.1.1-SNAPSHOT \ No newline at end of file From 4f4ab46c10415912e0a6c4e3adae408a29c751e1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 13 May 2021 17:20:11 -0700 Subject: [PATCH 1444/3036] build(java): remove codecov action (#356) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8e8c0070-26ea-4d86-b07a-e4dcc9e5b8b1/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1 --- java-shared-dependencies/.github/workflows/ci.yaml | 6 +----- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index def8b3a2c84d..0195b32f00b4 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -19,10 +19,6 @@ jobs: - run: .kokoro/build.sh env: JOB_TYPE: test - - name: coverage - uses: codecov/codecov-action@v1 - with: - name: actions ${{matrix.java}} windows: runs-on: windows-latest steps: @@ -80,4 +76,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index df31751cee1a..576b1dc78389 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "4bdeb4d35c8de58e17f6092392bb4743a59799ab" + "sha": "eefcb6ead088783c98e803e82bfb12d231712e46" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "046994f491c02806aea60118e214a9edd67f5ab7" + "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1" } } ], From 98e3a5710da9252ee146481abbf3eccd9c4170a8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 17 May 2021 15:16:19 -0700 Subject: [PATCH 1445/3036] chore: add changelog to cloud-rad (#146) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/f1651a52-34f5-4bb4-b05a-1155f8b3723b/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/c86c7a60985644eab557949363a38301d40d78d2 --- java-iam/.kokoro/release/publish_javadoc11.sh | 2 ++ java-iam/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index caac69b870b4..2f9416b07a0c 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -42,6 +42,8 @@ mvn clean site -B -q -P docFX # copy README to docfx-yml dir and rename index.md cp README.md target/docfx-yml/index.md +# copy CHANGELOG to docfx-yml dir and rename history.md +cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 234fe19349a9..07236665e2a8 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "edf7660e7cdad6be3c6254274bc6875294f736aa" + "sha": "3457f0b9bf8ad382f9a6f806ee3f98244e2ec94e" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1" + "sha": "c86c7a60985644eab557949363a38301d40d78d2" } } ], From 9a465da0ad1309e0e9515e87624fd7e73cc29021 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 17 May 2021 15:16:38 -0700 Subject: [PATCH 1446/3036] chore: add changelog to cloud-rad (#452) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/81e4ad9c-db2f-4f59-8745-b52a48665ccc/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/c86c7a60985644eab557949363a38301d40d78d2 --- java-core/.kokoro/release/publish_javadoc11.sh | 2 ++ java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh index d2d0ac94d8d2..2f4c22a67b31 100755 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -42,6 +42,8 @@ mvn clean site -B -q -P docFX # copy README to docfx-yml dir and rename index.md cp README.md target/docfx-yml/index.md +# copy CHANGELOG to docfx-yml dir and rename history.md +cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 8bc449580578..422b56482791 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "36060a8291fa06ffcff1e913114ad2d71ef627c8" + "sha": "1c3130c6ee232a5757b1e4955ad5d126195dfeae" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1" + "sha": "c86c7a60985644eab557949363a38301d40d78d2" } } ], From 115ed0263da76d73a9143389787aa61410f262ce Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 18 May 2021 11:48:21 -0700 Subject: [PATCH 1447/3036] chore: add changelog to cloud-rad (#362) Source-Author: Emily Ball Source-Date: Mon May 17 09:54:56 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: c86c7a60985644eab557949363a38301d40d78d2 Source-Link: https://github.com/googleapis/synthtool/commit/c86c7a60985644eab557949363a38301d40d78d2 --- java-shared-dependencies/.kokoro/release/publish_javadoc11.sh | 2 ++ java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh index 01438ff35b59..eca7612cd317 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -42,6 +42,8 @@ mvn clean site -B -q -P docFX # copy README to docfx-yml dir and rename index.md cp README.md target/docfx-yml/index.md +# copy CHANGELOG to docfx-yml dir and rename history.md +cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 576b1dc78389..886099e0e5e6 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "eefcb6ead088783c98e803e82bfb12d231712e46" + "sha": "02141f017c28a4e105d5c8e6aa1ae6ca9f504e0c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1" + "sha": "c86c7a60985644eab557949363a38301d40d78d2" } } ], From f3e1e949e424606a630999e1d80357da290c1db8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 May 2021 22:48:05 +0200 Subject: [PATCH 1448/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.7.1 (#360) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.errorprone:error_prone_annotations | `2.6.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 32c2932f7348..1f4dff8d2fb4 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -72,7 +72,7 @@ 1.0.13 0.28.0 3.0.2 - 2.6.0 + 2.7.1 2.12.3 1.15
    From b2b7d500c597cdf9fae70fbd86e3e14dc043a5d0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 May 2021 22:50:06 +0200 Subject: [PATCH 1449/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.0 (#355) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.16.0` -> `3.17.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/compatibility-slim/3.16.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/confidence-slim/3.16.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.17.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.17.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.16.0...v3.17.0) ##### Protocol Compiler - Fix the generated source information for reserved values in Enums. ##### C++ - Fix -Wunused-parameter in map<string, int> fields (fixes [#​8494](https://togithub.com/protocolbuffers/protobuf/issues/8494)) ([#​8500](https://togithub.com/protocolbuffers/protobuf/issues/8500)) - Use byteswap.h when building against musl libc ([#​8503](https://togithub.com/protocolbuffers/protobuf/issues/8503)) - Fix -Wundefined-inline error when using SharedCtor() or SharedDtor() ([#​8532](https://togithub.com/protocolbuffers/protobuf/issues/8532)) - Fix bug where `Descriptor::DebugString()` printed proto3 synthetic oneofs. - Provide stable versions of `SortAndUnique()`. - Make sure to cache proto3 optional message fields when they are cleared. - Expose UnsafeArena methods to Reflection. - Use std::string::empty() rather than std::string::size() > 0. ##### Kotlin - Restrict extension setter and getter operators to non-nullable T. ##### Java - updating GSON and Guava to more recent versions ([#​8524](https://togithub.com/protocolbuffers/protobuf/issues/8524)) - Reduce the time spent evaluating isExtensionNumber by storing the extension ranges in a TreeMap for faster queries. This is particularly relevant for protos which define a large number of extension ranges, for example when each tag is defined as an extension. - Fix java bytecode estimation logic for optional fields. - Optimize Descriptor.isExtensionNumber. ##### Python - Add MethodDescriptor.CopyToProto() ([#​8327](https://togithub.com/protocolbuffers/protobuf/issues/8327)) - Remove unused python_protobuf.{cc,h} ([#​8513](https://togithub.com/protocolbuffers/protobuf/issues/8513)) - Start publishing python aarch64 manylinux wheels normally ([#​8530](https://togithub.com/protocolbuffers/protobuf/issues/8530)) - Fix constness issue detected by MSVC standard conforming mode ([#​8568](https://togithub.com/protocolbuffers/protobuf/issues/8568)) - Make JSON parsing match C++ and Java when multiple fields from the same oneof are present and all but one is null. ##### Ruby - Add support for proto3 json_name in compiler and field definitions ([#​8356](https://togithub.com/protocolbuffers/protobuf/issues/8356)) - Fixed memory leak of Ruby arena objects. ([#​8461](https://togithub.com/protocolbuffers/protobuf/issues/8461)) - Fix source gem compilation ([#​8471](https://togithub.com/protocolbuffers/protobuf/issues/8471)) - Fix various exceptions in Ruby on 64-bit Windows ([#​8563](https://togithub.com/protocolbuffers/protobuf/issues/8563)) - Fix crash when calculating Message hash values on 64-bit Windows ([#​8565](https://togithub.com/protocolbuffers/protobuf/issues/8565)) ##### Conformance Tests - Added a conformance test for the case of multiple fields from the same oneof. ##### Other - Open sourcing kotlin protos ([#​8272](https://togithub.com/protocolbuffers/protobuf/issues/8272)) - Use a newer version of rules_proto, with the new rule `proto_descriptor_set` ([#​8469](https://togithub.com/protocolbuffers/protobuf/issues/8469))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1f4dff8d2fb4..03d989572f28 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.37.0 1.64.0 30.1.1-android - 3.16.0 + 3.17.0 1.10.3 2.1.0 1.94.8 From e0fca13bcb91f1d107334a6f96e087ea24461fac Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 May 2021 22:50:10 +0200 Subject: [PATCH 1450/3036] deps: update iam.version to v1.0.14 (#352) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.0.13` -> `1.0.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.14/compatibility-slim/1.0.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.0.14/confidence-slim/1.0.13)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.0.13` -> `1.0.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/compatibility-slim/1.0.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/confidence-slim/1.0.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.0.14`](https://togithub.com/googleapis/java-iam/blob/master/CHANGELOG.md#​1014-httpswwwgithubcomgoogleapisjava-iamcomparev1013v1014-2021-05-11) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.0.13...v1.0.14)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 03d989572f28..25ffed867185 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -69,7 +69,7 @@ 1.5.1 1.3.2 1.20 - 1.0.13 + 1.0.14 0.28.0 3.0.2 2.7.1 From 55198f2cd8135b631155bb4827280be1436849e1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 May 2021 23:30:06 +0200 Subject: [PATCH 1451/3036] deps: update dependency io.grpc:grpc-bom to v1.37.1 (#359) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.37.0` -> `1.37.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.37.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.37.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.37.1/compatibility-slim/1.37.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.37.1/confidence-slim/1.37.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.37.1`](https://togithub.com/grpc/grpc-java/releases/v1.37.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.37.0...v1.37.1) ##### Bug Fixes - netty: fixed a bug that client RPCs may fail with a wrong exception with message "Maximum active streams violated for this endpoint" when receiving GOAWAY while MAX_CONCURRENT_STREAMS is reached. After the fix the client RPC should fail with UNAVAILABLE status in such a scenario. - grpclb, xds: fixed a day-one issue that the control plane RPC are using the same Context as the inbound application RPC, which can cause control plane RPC aborted when the inbound application RPC completes. - xds: fixed a bug that xDS LB policies may process and propagate load balancing state update from its child LB policy after itself being shut down. This can be cascaded and result in hard-to-reason behaviors if any one layer of the LB policies does not clean up its internal state after shutdown.
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 25ffed867185..607ac3cc3934 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.37.0 + 1.37.1 1.64.0 30.1.1-android 3.17.0 From f3b3b4c7c84c5b93a03842448d7a1a9a4fffa60e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 00:56:04 +0200 Subject: [PATCH 1452/3036] deps: update google.common-protos.version to v2.2.1 (#358) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.1.0` -> `2.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.2.1/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.2.1/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.1.0` -> `2.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.1/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.1/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 607ac3cc3934..aed8e8590c26 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 30.1.1-android 3.17.0 1.10.3 - 2.1.0 + 2.2.1 1.94.8 0.25.5 1.39.2 From d099f46fe7076501e604d1cea993cc433387b876 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 18 May 2021 23:22:05 +0000 Subject: [PATCH 1453/3036] chore: release 1.2.0 (#357) :robot: I have created a release \*beep\* \*boop\* --- ## [1.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.1.0...v1.2.0) (2021-05-18) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#353](https://www.github.com/googleapis/java-shared-dependencies/issues/353)) ([0384a0d](https://www.github.com/googleapis/java-shared-dependencies/commit/0384a0d9a77762109e422c52433db05dbbf2d0a0)) * update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#360](https://www.github.com/googleapis/java-shared-dependencies/issues/360)) ([f3e1e94](https://www.github.com/googleapis/java-shared-dependencies/commit/f3e1e949e424606a630999e1d80357da290c1db8)) * update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#355](https://www.github.com/googleapis/java-shared-dependencies/issues/355)) ([b2b7d50](https://www.github.com/googleapis/java-shared-dependencies/commit/b2b7d500c597cdf9fae70fbd86e3e14dc043a5d0)) * update dependency io.grpc:grpc-bom to v1.37.1 ([#359](https://www.github.com/googleapis/java-shared-dependencies/issues/359)) ([55198f2](https://www.github.com/googleapis/java-shared-dependencies/commit/55198f2cd8135b631155bb4827280be1436849e1)) * update google.common-protos.version to v2.2.1 ([#358](https://www.github.com/googleapis/java-shared-dependencies/issues/358)) ([f3b3b4c](https://www.github.com/googleapis/java-shared-dependencies/commit/f3b3b4c7c84c5b93a03842448d7a1a9a4fffa60e)) * update iam.version to v1.0.14 ([#352](https://www.github.com/googleapis/java-shared-dependencies/issues/352)) ([e0fca13](https://www.github.com/googleapis/java-shared-dependencies/commit/e0fca13bcb91f1d107334a6f96e087ea24461fac)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 066941c628a0..3170bf7146b5 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.1.0...v1.2.0) (2021-05-18) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#353](https://www.github.com/googleapis/java-shared-dependencies/issues/353)) ([8d72ab0](https://www.github.com/googleapis/java-shared-dependencies/commit/8d72ab003e08c864aedc17fc190ba26f393bf0c7)) +* update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#360](https://www.github.com/googleapis/java-shared-dependencies/issues/360)) ([8f952d0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f952d05745358fc426a1a2dcb688da5d5010239)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#355](https://www.github.com/googleapis/java-shared-dependencies/issues/355)) ([09858fb](https://www.github.com/googleapis/java-shared-dependencies/commit/09858fb4f1b78a77e828501597d20df4db0ebfcf)) +* update dependency io.grpc:grpc-bom to v1.37.1 ([#359](https://www.github.com/googleapis/java-shared-dependencies/issues/359)) ([bc9869e](https://www.github.com/googleapis/java-shared-dependencies/commit/bc9869e914314f951afd69f2acae95c414398f43)) +* update google.common-protos.version to v2.2.1 ([#358](https://www.github.com/googleapis/java-shared-dependencies/issues/358)) ([a3ed764](https://www.github.com/googleapis/java-shared-dependencies/commit/a3ed764a0e5143ee323d4b69c9747b8265d349e2)) +* update iam.version to v1.0.14 ([#352](https://www.github.com/googleapis/java-shared-dependencies/issues/352)) ([bea9a01](https://www.github.com/googleapis/java-shared-dependencies/commit/bea9a01788ac1332a4bc7e06574ef5701700fe90)) + ## [1.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.0.0...v1.1.0) (2021-05-10) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index e0d266a20866..610ccf544253 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 1.1.0 + 1.2.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index aed8e8590c26..45bd72846dc8 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 - 1.1.1-SNAPSHOT + 1.2.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5a9d80ada87b..59177b24d044 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.1.0:1.1.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:1.2.0:1.2.0 \ No newline at end of file From 668b2c76ea53e9ccc2764ab36f398a9e497a1b96 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 19 May 2021 07:18:07 -0700 Subject: [PATCH 1454/3036] feat: add `gcf-owl-bot[bot]` to `ignoreAuthors` (#453) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/89d4fac7-23f8-4cf0-b412-6ccac17af7af/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/7332178a11ddddc91188dc0f25bca1ccadcaa6c6 --- java-core/.github/generated-files-bot.yml | 1 + java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-core/.github/generated-files-bot.yml b/java-core/.github/generated-files-bot.yml index 47c2ba132e01..c644a24e1129 100644 --- a/java-core/.github/generated-files-bot.yml +++ b/java-core/.github/generated-files-bot.yml @@ -9,3 +9,4 @@ ignoreAuthors: - 'renovate-bot' - 'yoshi-automation' - 'release-please[bot]' +- 'gcf-owl-bot[bot]' diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 422b56482791..dcfd9c4dc8b0 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "1c3130c6ee232a5757b1e4955ad5d126195dfeae" + "sha": "e8a58b694046192d3339cfa04f2fd13b6d4d6045" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c86c7a60985644eab557949363a38301d40d78d2" + "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6" } } ], From 44ac3ebbd877177a6dc5734db3fe8df2a2bbdd89 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 19 May 2021 07:20:24 -0700 Subject: [PATCH 1455/3036] feat: add `gcf-owl-bot[bot]` to `ignoreAuthors` (#148) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/befe5241-47b3-4858-ae26-30f98b61eeb7/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/7332178a11ddddc91188dc0f25bca1ccadcaa6c6 --- java-iam/.github/generated-files-bot.yml | 1 + java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-iam/.github/generated-files-bot.yml b/java-iam/.github/generated-files-bot.yml index 47c2ba132e01..c644a24e1129 100644 --- a/java-iam/.github/generated-files-bot.yml +++ b/java-iam/.github/generated-files-bot.yml @@ -9,3 +9,4 @@ ignoreAuthors: - 'renovate-bot' - 'yoshi-automation' - 'release-please[bot]' +- 'gcf-owl-bot[bot]' diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 07236665e2a8..d2a6d15bcfc4 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "3457f0b9bf8ad382f9a6f806ee3f98244e2ec94e" + "sha": "c8c620dd3c44dd6a0f6f4839095b4de0be6ebd08" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c86c7a60985644eab557949363a38301d40d78d2" + "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6" } } ], From 7f7fdeee001fbb6623425c520e5ff09c6bb1882d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 17:06:42 +0200 Subject: [PATCH 1456/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 (#147) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.1.0` -> `1.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.2.0/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.2.0/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v1.2.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​120-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare110v120-2021-05-18) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.1.0...v1.2.0) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#​353](https://www.github.com/googleapis/java-shared-dependencies/issues/353)) ([8d72ab0](https://www.github.com/googleapis/java-shared-dependencies/commit/8d72ab003e08c864aedc17fc190ba26f393bf0c7)) - update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#​360](https://www.github.com/googleapis/java-shared-dependencies/issues/360)) ([8f952d0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f952d05745358fc426a1a2dcb688da5d5010239)) - update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#​355](https://www.github.com/googleapis/java-shared-dependencies/issues/355)) ([09858fb](https://www.github.com/googleapis/java-shared-dependencies/commit/09858fb4f1b78a77e828501597d20df4db0ebfcf)) - update dependency io.grpc:grpc-bom to v1.37.1 ([#​359](https://www.github.com/googleapis/java-shared-dependencies/issues/359)) ([bc9869e](https://www.github.com/googleapis/java-shared-dependencies/commit/bc9869e914314f951afd69f2acae95c414398f43)) - update google.common-protos.version to v2.2.1 ([#​358](https://www.github.com/googleapis/java-shared-dependencies/issues/358)) ([a3ed764](https://www.github.com/googleapis/java-shared-dependencies/commit/a3ed764a0e5143ee323d4b69c9747b8265d349e2)) - update iam.version to v1.0.14 ([#​352](https://www.github.com/googleapis/java-shared-dependencies/issues/352)) ([bea9a01](https://www.github.com/googleapis/java-shared-dependencies/commit/bea9a01788ac1332a4bc7e06574ef5701700fe90))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 698a07e6ced1..b1072ae010f0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.1.0 + 1.2.0 pom import From a6ca43c124ce0ceed7c35aa3779c498f57b84255 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 17:18:20 +0200 Subject: [PATCH 1457/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.7.1 (#451) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.errorprone:error_prone_annotations | `2.6.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.7.1/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7394a65a51f9..4bf48b67b0d6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.5.1 2.6 - 2.6.0 + 2.7.1 2.8.6
    From ba14b8ee13c35441c3d623314622648fa36ea61b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 17:20:14 +0200 Subject: [PATCH 1458/3036] deps: update dependency com.google.api:gax-bom to v1.64.0-sp.1 (#443) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `1.63.0` -> `1.64.0-sp.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0-sp.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0-sp.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0-sp.1/compatibility-slim/1.63.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.64.0-sp.1/confidence-slim/1.63.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v1.64.0-sp.1`](https://togithub.com/googleapis/gax-java/releases/v1.64.0-sp.1) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.64.0...v1.64.0-sp.1) ##### Features - configure initial sp version ([#​1381](https://www.github.com/googleapis/gax-java/issues/1381)) ([037f4d4](https://www.github.com/googleapis/gax-java/commit/037f4d41d2ce41101697c5cfda48d00b8136d702)) ### [`v1.64.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1640-httpswwwgithubcomgoogleapisgax-javacomparev1634v1640-2021-05-10) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.63.4...v1.64.0) ##### Features - release 1.64.0 ([#​1375](https://www.github.com/googleapis/gax-java/issues/1375)) ([499682e](https://www.github.com/googleapis/gax-java/commit/499682ec3b96ddeaac75f6e71cc3bc85a854da97)) ##### [1.63.4](https://www.github.com/googleapis/gax-java/compare/v1.63.3...v1.63.4) (2021-05-07) ##### Bug Fixes - Make x-goog-api-client header report rest-based transport clients with `rest/` token instead of `httpson/`. ([#​1370](https://www.github.com/googleapis/gax-java/issues/1370)) ([b1b0b49](https://www.github.com/googleapis/gax-java/commit/b1b0b498ba188a51b17d179988074bcf34fb7590)) ##### [1.63.3](https://www.github.com/googleapis/gax-java/compare/v1.63.2...v1.63.3) (2021-05-04) ##### Bug Fixes - fix flaky tests and non blocking semaphore ([#​1365](https://www.github.com/googleapis/gax-java/issues/1365)) ([fc8e520](https://www.github.com/googleapis/gax-java/commit/fc8e520acfaf843ac61e806bdb4b5fe393d0b447)) - Remove a flacky test in FlowControllerTest ([#​1360](https://www.github.com/googleapis/gax-java/issues/1360)) ([2cca0bf](https://www.github.com/googleapis/gax-java/commit/2cca0bf9e96271dd52e8bffa00b8f2d45d358d35)) ##### [1.63.2](https://www.github.com/googleapis/gax-java/compare/v1.63.1...v1.63.2) (2021-04-30) ##### Bug Fixes - Remove default value handling ([#​1353](https://www.github.com/googleapis/gax-java/issues/1353)) ([ed0fc79](https://www.github.com/googleapis/gax-java/commit/ed0fc791b22db45bd20de890b0abecd1839d2d86)) ##### Dependencies - remove codecov.io ([#​1354](https://www.github.com/googleapis/gax-java/issues/1354)) ([06a53ac](https://www.github.com/googleapis/gax-java/commit/06a53aca36ed0825122be160479b1ea0ba8635a0)) ##### [1.63.1](https://www.github.com/googleapis/gax-java/compare/v1.63.0...v1.63.1) (2021-04-26) ##### Bug Fixes - fix dynamic flow control setting checks ([#​1347](https://www.github.com/googleapis/gax-java/issues/1347)) ([69458b4](https://www.github.com/googleapis/gax-java/commit/69458b4deefe5b9c2c33a3b51389face968ff52f)) - fix watchdog NPE red herring ([#​1344](https://www.github.com/googleapis/gax-java/issues/1344)) ([06dbf12](https://www.github.com/googleapis/gax-java/commit/06dbf129ce63d28430e1022137679c9cfdf433ee)) ### [`v1.63.4`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1634-httpswwwgithubcomgoogleapisgax-javacomparev1633v1634-2021-05-07) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.63.3...v1.63.4) ### [`v1.63.3`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1633-httpswwwgithubcomgoogleapisgax-javacomparev1632v1633-2021-05-04) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.63.0...v1.63.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4bf48b67b0d6..f2394246cb83 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.63.0 + 1.64.0-sp.1 1.10.3 2.1.0 1.0.12 From 2b3f68d45efdc08363f3f4bd7ee59b53f1d17d8c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 17:26:09 +0200 Subject: [PATCH 1459/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.2 (#441) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.apache.maven.plugins:maven-project-info-reports-plugin | `3.1.1` -> `3.1.2` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.1.2/compatibility-slim/3.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.1.2/confidence-slim/3.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f2394246cb83..7951139b8c0b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -323,7 +323,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.1 + 3.1.2 From 4dfe429724136c36ac9c6da47da8d426d99e30df Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 17:26:13 +0200 Subject: [PATCH 1460/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.0 (#445) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.15.8` -> `3.17.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/compatibility-slim/3.15.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.0/confidence-slim/3.15.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.17.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.17.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.16.0...v3.17.0) ##### Protocol Compiler - Fix the generated source information for reserved values in Enums. ##### C++ - Fix -Wunused-parameter in map<string, int> fields (fixes [#​8494](https://togithub.com/protocolbuffers/protobuf/issues/8494)) ([#​8500](https://togithub.com/protocolbuffers/protobuf/issues/8500)) - Use byteswap.h when building against musl libc ([#​8503](https://togithub.com/protocolbuffers/protobuf/issues/8503)) - Fix -Wundefined-inline error when using SharedCtor() or SharedDtor() ([#​8532](https://togithub.com/protocolbuffers/protobuf/issues/8532)) - Fix bug where `Descriptor::DebugString()` printed proto3 synthetic oneofs. - Provide stable versions of `SortAndUnique()`. - Make sure to cache proto3 optional message fields when they are cleared. - Expose UnsafeArena methods to Reflection. - Use std::string::empty() rather than std::string::size() > 0. ##### Kotlin - Introduce support for Kotlin protos ([#​8272](https://togithub.com/protocolbuffers/protobuf/issues/8272)) - Restrict extension setter and getter operators to non-nullable T. ##### Java - updating GSON and Guava to more recent versions ([#​8524](https://togithub.com/protocolbuffers/protobuf/issues/8524)) - Reduce the time spent evaluating isExtensionNumber by storing the extension ranges in a TreeMap for faster queries. This is particularly relevant for protos which define a large number of extension ranges, for example when each tag is defined as an extension. - Fix java bytecode estimation logic for optional fields. - Optimize Descriptor.isExtensionNumber. ##### Python - Add MethodDescriptor.CopyToProto() ([#​8327](https://togithub.com/protocolbuffers/protobuf/issues/8327)) - Remove unused python_protobuf.{cc,h} ([#​8513](https://togithub.com/protocolbuffers/protobuf/issues/8513)) - Start publishing python aarch64 manylinux wheels normally ([#​8530](https://togithub.com/protocolbuffers/protobuf/issues/8530)) - Fix constness issue detected by MSVC standard conforming mode ([#​8568](https://togithub.com/protocolbuffers/protobuf/issues/8568)) - Make JSON parsing match C++ and Java when multiple fields from the same oneof are present and all but one is null. ##### Ruby - Add support for proto3 json_name in compiler and field definitions ([#​8356](https://togithub.com/protocolbuffers/protobuf/issues/8356)) - Fixed memory leak of Ruby arena objects. ([#​8461](https://togithub.com/protocolbuffers/protobuf/issues/8461)) - Fix source gem compilation ([#​8471](https://togithub.com/protocolbuffers/protobuf/issues/8471)) - Fix various exceptions in Ruby on 64-bit Windows ([#​8563](https://togithub.com/protocolbuffers/protobuf/issues/8563)) - Fix crash when calculating Message hash values on 64-bit Windows ([#​8565](https://togithub.com/protocolbuffers/protobuf/issues/8565)) ##### Conformance Tests - Added a conformance test for the case of multiple fields from the same oneof. ##### Other - Use a newer version of rules_proto, with the new rule `proto_descriptor_set` ([#​8469](https://togithub.com/protocolbuffers/protobuf/issues/8469)) ### [`v3.16.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.16.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.15.8...v3.16.0) ### C++ - Fix compiler warnings issue found in conformance_test_runner [#​8189](https://togithub.com/protocolbuffers/protobuf/issues/8189) ([#​8190](https://togithub.com/protocolbuffers/protobuf/issues/8190)) - Fix MinGW-w64 build issues. ([#​8286](https://togithub.com/protocolbuffers/protobuf/issues/8286)) - [Protoc] C++ Resolved an issue where NO_DESTROY and CONSTINIT are in incorrect order ([#​8296](https://togithub.com/protocolbuffers/protobuf/issues/8296)) - Fix PROTOBUF_CONSTINIT macro redefinition ([#​8323](https://togithub.com/protocolbuffers/protobuf/issues/8323)) - Delete StringPiecePod ([#​8353](https://togithub.com/protocolbuffers/protobuf/issues/8353)) - Fix gcc error: comparison of unsigned expression in '>= 0' is always … ([#​8309](https://togithub.com/protocolbuffers/protobuf/issues/8309)) - Fix cmake install on iOS ([#​8301](https://togithub.com/protocolbuffers/protobuf/issues/8301)) - Create a CMake option to control whether or not RTTI is enabled ([#​8347](https://togithub.com/protocolbuffers/protobuf/issues/8347)) - Fix endian.h location on FreeBSD ([#​8351](https://togithub.com/protocolbuffers/protobuf/issues/8351)) - Refactor util::Status ([#​8354](https://togithub.com/protocolbuffers/protobuf/issues/8354)) - Make util::Status more similar to absl::Status ([#​8405](https://togithub.com/protocolbuffers/protobuf/issues/8405)) - Fix -Wsuggest-destructor-override for generated C++ proto classes. ([#​8408](https://togithub.com/protocolbuffers/protobuf/issues/8408)) - Refactor StatusOr and StringPiece ([#​8406](https://togithub.com/protocolbuffers/protobuf/issues/8406)) - Refactor uint128 ([#​8416](https://togithub.com/protocolbuffers/protobuf/issues/8416)) - The ::pb namespace is no longer exposed due to conflicts. - Allow MessageDifferencer::TreatAsSet() (and friends) to override previous calls instead of crashing. - Reduce the size of generated proto headers for protos with `string` or `bytes` fields. - Move arena() operation on uncommon path to out-of-line routine - For iterator-pair function parameter types, take both iterators by value. - Code-space savings and perhaps some modest performance improvements in RepeatedPtrField. - Eliminate nullptr check from every tag parse. - Remove unused _$name$\_cached_byte_size_ fields. - Serialize extension ranges together when not broken by a proto field in the middle. - Do out-of-line allocation and deallocation of string object in ArenaString. - Streamline ParseContext::ParseMessage to avoid code bloat and improve performance. - New member functions RepeatedField::Assign, RepeatedPtrField::{Add, Assign}. - Fix undefined behavior warning due to innocuous uninitialization of value on an error path. - Avoid expensive inlined code space for encoding message length for messages > = 128 bytes and instead do a procedure call to a shared out-of-line routine. - util::DefaultFieldComparator will be final in a future version of protobuf. Subclasses should inherit from SimpleFieldComparator instead. ### C - Add .NET 5 target and improve WriteString performance with SIMD ([#​8147](https://togithub.com/protocolbuffers/protobuf/issues/8147)) ### Java - deps: update JUnit and Truth ([#​8319](https://togithub.com/protocolbuffers/protobuf/issues/8319)) - Detect invalid overflow of byteLimit and return InvalidProtocolBufferException as documented. - Exceptions thrown while reading from an InputStream in parseFrom are now included as causes. - Support potentially more efficient proto parsing from RopeByteStrings. - Clarify runtime of ByteString.Output.toStringBuffer(). - Added UnsafeByteOperations to protobuf-lite ([#​8426](https://togithub.com/protocolbuffers/protobuf/issues/8426)) ### JavaScript - Make Any.pack() chainable. ### Python - Fix some constness / char literal issues being found by MSVC standard conforming mode ([#​8344](https://togithub.com/protocolbuffers/protobuf/issues/8344)) - Switch on "new" buffer API ([#​8339](https://togithub.com/protocolbuffers/protobuf/issues/8339)) - Enable crosscompiling aarch64 python wheels under dockcross manylinux docker image ([#​8280](https://togithub.com/protocolbuffers/protobuf/issues/8280)) - Fixed a bug in text format where a trailing colon was printed for repeated field. - When TextFormat encounters a duplicate message map key, replace the current one instead of merging. ### Objective-C - Move the class map to a CFDictionary. ([#​8328](https://togithub.com/protocolbuffers/protobuf/issues/8328)) ### PHP - read_property() handler is not supposed to return NULL ([#​8362](https://togithub.com/protocolbuffers/protobuf/issues/8362)) - Changed parameter type from long to integer ([#​7613](https://togithub.com/protocolbuffers/protobuf/issues/7613)) - fix: README supported PHP version for C extension ([#​8236](https://togithub.com/protocolbuffers/protobuf/issues/8236)) ### Ruby - Fixed quadratic memory usage when appending to arrays. ([#​8364](https://togithub.com/protocolbuffers/protobuf/issues/8364)) - Fixed memory leak of Ruby arena objects. ([#​8461](https://togithub.com/protocolbuffers/protobuf/issues/8461)) - Add support for proto3 json_name in compiler and field definitions. ([#​8356](https://togithub.com/protocolbuffers/protobuf/issues/8356)) ### Other - Some doc on AOT compilation and protobuf ([#​8294](https://togithub.com/protocolbuffers/protobuf/issues/8294)) - [CMake] Ability to pass options to protoc executable from cmake ([#​8374](https://togithub.com/protocolbuffers/protobuf/issues/8374)) - Add --fatal_warnings flag to treat warnings as errors ([#​8131](https://togithub.com/protocolbuffers/protobuf/issues/8131)) - [bazel] Remove deprecated way to depend on googletest ([#​8396](https://togithub.com/protocolbuffers/protobuf/issues/8396)) - add error returns missing from protoc to prevent it from exiting with… ([#​8409](https://togithub.com/protocolbuffers/protobuf/issues/8409))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7951139b8c0b..97d37c96601a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.4 1.39.2 1.37.0 - 3.15.8 + 3.17.0 0.28.0 1.3.2 30.1.1-android From 3bdbbd88564885f8242c195308c703530b7ab0f4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 17:28:06 +0200 Subject: [PATCH 1461/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.31.5 (#446) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.31.4` -> `1.31.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.31.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.31.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.31.5/compatibility-slim/1.31.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.31.5/confidence-slim/1.31.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.31.5`](https://togithub.com/googleapis/google-api-java-client/blob/master/CHANGELOG.md#​1315-httpswwwgithubcomgoogleapisgoogle-api-java-clientcomparev1314v1315-2021-05-10) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.31.4...v1.31.5)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 97d37c96601a..225b8f5f2638 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.1.0 1.0.12 0.25.5 - 1.31.4 + 1.31.5 1.39.2 1.37.0 3.17.0 From cb171d130fe96aca106a7a03b6ed544720e57c2c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 19:06:09 +0200 Subject: [PATCH 1462/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.2.2 (#449) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.1.0` -> `2.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.2/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.2.2/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.2.2`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​222-httpswwwgithubcomgoogleapisjava-common-protoscomparev221v222-2021-05-19) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.2.1...v2.2.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 225b8f5f2638..6ec4d3b331b0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.64.0-sp.1 1.10.3 - 2.1.0 + 2.2.2 1.0.12 0.25.5 1.31.5 From 790ae3c3fd273a61c2f1f90d4f4e5bd4f8c1e3ed Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 23:02:21 +0200 Subject: [PATCH 1463/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.12.0 (#455) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.2` -> `0.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/compatibility-slim/0.11.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/confidence-slim/0.11.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index bb84d22a97c0..3dc3b7f66eee 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.11.2 + 0.12.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 6ec4d3b331b0..d2d5d4743a46 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.2 + 0.12.0 From fc9c04068d91bc781de104c54c577a2512c4df00 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 May 2021 23:06:25 +0200 Subject: [PATCH 1464/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.12.0 (#150) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.2` -> `0.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/compatibility-slim/0.11.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.12.0/confidence-slim/0.11.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b1072ae010f0..003910a18ef9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.2 + 0.12.0 From 78b963b7e92708c7af633c0225889dce49968ff8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 May 2021 00:34:35 +0200 Subject: [PATCH 1465/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.12.0 (#367) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 45bd72846dc8..e195e38ebc0a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.11.2 + 0.12.0 From cb2ce51e9c6b661c4229f27e4ca9940dd5886f58 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 20 May 2021 15:32:22 -0700 Subject: [PATCH 1466/3036] chore: dump maven version along with java (#457) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/77f4b242-0926-4e4e-acee-48c7b5d1aa76/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8eae0234a16b26c2ff616d305dbd9786c8b10a47 --- java-core/.kokoro/build.sh | 4 ++-- java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 25c73263ab28..372d331b7a52 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -23,8 +23,8 @@ cd ${scriptDir}/.. # include common functions source ${scriptDir}/common.sh -# Print out Java version -java -version +# Print out Maven & Java version +mvn -version echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) diff --git a/java-core/synth.metadata b/java-core/synth.metadata index dcfd9c4dc8b0..ac2b4261a364 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "e8a58b694046192d3339cfa04f2fd13b6d4d6045" + "sha": "4195293bd698c0c3a5e5cb80b068354877f7ce9f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6" + "sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47" } } ], From 080f5c94b9bc138995b8e44d8df3b3c505536277 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 20 May 2021 15:32:29 -0700 Subject: [PATCH 1467/3036] chore: dump maven version along with java (#151) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/881ecac4-3b82-4b15-b1f8-7568ba02110e/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8eae0234a16b26c2ff616d305dbd9786c8b10a47 --- java-iam/.kokoro/build.sh | 4 ++-- java-iam/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 238445ef0df1..bc19d65a01c3 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -23,8 +23,8 @@ cd ${scriptDir}/.. # include common functions source ${scriptDir}/common.sh -# Print out Java version -java -version +# Print out Maven & Java version +mvn -version echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index d2a6d15bcfc4..9d176ec5e48e 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "c8c620dd3c44dd6a0f6f4839095b4de0be6ebd08" + "sha": "b2aaa811b5dbf63e036f578f009d4e523520f01d" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6" + "sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47" } } ], From 1aad3185a37cc4e392be113e435f27448c3c1ecc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 May 2021 15:08:35 +0200 Subject: [PATCH 1468/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.0 (#459) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d2d5d4743a46..497d2798e0e8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -350,7 +350,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.3.0 html From 7eff2c66c1b3c385ecfd77254c4245e6d5d76199 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 May 2021 15:08:50 +0200 Subject: [PATCH 1469/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.3.0 (#458) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 497d2798e0e8..08382c5d7580 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.64.0-sp.1 1.10.3 - 2.2.2 + 2.3.0 1.0.12 0.25.5 1.31.5 From f99e636e209f0e0c4adca6ed28e8f5a4976128c2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 May 2021 15:09:06 +0200 Subject: [PATCH 1470/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.26.0 (#456) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 08382c5d7580..1862f0c7037b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.3 2.3.0 1.0.12 - 0.25.5 + 0.26.0 1.31.5 1.39.2 1.37.0 From f4017565373742f34a8573b09a9de23ed4860a6a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 May 2021 15:09:20 +0200 Subject: [PATCH 1471/3036] deps: update dependency io.grpc:grpc-bom to v1.38.0 (#450) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1862f0c7037b..4a92d9d14610 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.26.0 1.31.5 1.39.2 - 1.37.0 + 1.38.0 3.17.0 0.28.0 1.3.2 From ab786989a5f5d66c9a4a97685fb57734e29d1ea1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 May 2021 18:49:57 +0200 Subject: [PATCH 1472/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.0 (#152) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 003910a18ef9..c17a7cf4aa6b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -126,7 +126,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.3.0 html From e2cb1eeae479833a6d98e812f436aef27e233004 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 May 2021 18:50:03 +0200 Subject: [PATCH 1473/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.2 (#139) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c17a7cf4aa6b..6f9aec3e9387 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -99,7 +99,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.1 + 3.1.2 From 5b1fb01720a26c8020e0a81820ca4ef698123126 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 May 2021 19:14:07 +0200 Subject: [PATCH 1474/3036] deps: update dependency com.google.code.gson:gson to v2.8.7 (#370) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e195e38ebc0a..cdb00e09d2a7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,7 +65,7 @@ 0.25.5 1.39.2 1.31.5 - 2.8.6 + 2.8.7 1.5.1 1.3.2 1.20 From e98c7dcdf4603c7f481f749b5d1d92f0b384b638 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 May 2021 19:14:29 +0200 Subject: [PATCH 1475/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.1 (#369) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cdb00e09d2a7..44d936bb9b3b 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.37.1 1.64.0 30.1.1-android - 3.17.0 + 3.17.1 1.10.3 2.2.1 1.94.8 From 53d78e9a4e3a1c1b2ffadfd1cf22214ce95a17d9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 May 2021 19:14:41 +0200 Subject: [PATCH 1476/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.26.0 (#368) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 44d936bb9b3b..b26fd9f247a3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.10.3 2.2.1 1.94.8 - 0.25.5 + 0.26.0 1.39.2 1.31.5 2.8.7 From 4b52c9ccffcc4431a4530f646470caf82cdf64dc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 May 2021 19:14:55 +0200 Subject: [PATCH 1477/3036] deps: update dependency io.grpc:grpc-bom to v1.38.0 (#364) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b26fd9f247a3..193f8d164af6 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.37.1 + 1.38.0 1.64.0 30.1.1-android 3.17.1 From ad33b924a1feb390d16655bca0901a4fac757bb4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 May 2021 21:48:04 +0200 Subject: [PATCH 1478/3036] deps: update google.common-protos.version to v2.3.1 (#366) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.2.1` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.1/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.1/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.2.1` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.3.1`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​231-httpswwwgithubcomgoogleapisjava-common-protoscomparev230v231-2021-05-26) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.3.0...v2.3.1) ### [`v2.3.0`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​230-httpswwwgithubcomgoogleapisjava-common-protoscomparev222v230-2021-05-20) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.2.2...v2.3.0) ##### Features - update protos in the repo from googleapis ([#​169](https://www.github.com/googleapis/java-common-protos/issues/169)) ([abd8291](https://www.github.com/googleapis/java-common-protos/commit/abd8291f0983f3412b3a259444845530163f6643)), closes [#​134](https://www.github.com/googleapis/java-common-protos/issues/134) ##### [2.2.2](https://www.github.com/googleapis/java-common-protos/compare/v2.2.1...v2.2.2) (2021-05-19) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.38.0 ([#​164](https://www.github.com/googleapis/java-common-protos/issues/164)) ([7710d09](https://www.github.com/googleapis/java-common-protos/commit/7710d091a47499100525253ac575d4249a5818e5)) ##### [2.2.1](https://www.github.com/googleapis/java-common-protos/compare/v2.2.0...v2.2.1) (2021-05-14) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#​160](https://www.github.com/googleapis/java-common-protos/issues/160)) ([c0f7e07](https://www.github.com/googleapis/java-common-protos/commit/c0f7e074749aa962f7c0035d6c3f25d876403765)) ### [`v2.2.2`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​222-httpswwwgithubcomgoogleapisjava-common-protoscomparev221v222-2021-05-19) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.2.1...v2.2.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 193f8d164af6..0a1e23cf50cd 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 30.1.1-android 3.17.1 1.10.3 - 2.2.1 + 2.3.1 1.94.8 0.26.0 1.39.2 From f229ff35090119ebc744a7b89186275fd5a2bf3a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 26 May 2021 12:50:04 -0700 Subject: [PATCH 1479/3036] feat: add `gcf-owl-bot[bot]` to `ignoreAuthors` (#365) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/35db7954-f063-42f8-9ff3-5d189e94e5d3/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/7332178a11ddddc91188dc0f25bca1ccadcaa6c6 --- java-shared-dependencies/.github/generated-files-bot.yml | 1 + java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/generated-files-bot.yml b/java-shared-dependencies/.github/generated-files-bot.yml index 47c2ba132e01..c644a24e1129 100644 --- a/java-shared-dependencies/.github/generated-files-bot.yml +++ b/java-shared-dependencies/.github/generated-files-bot.yml @@ -9,3 +9,4 @@ ignoreAuthors: - 'renovate-bot' - 'yoshi-automation' - 'release-please[bot]' +- 'gcf-owl-bot[bot]' diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 886099e0e5e6..9f9eaf27a61d 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "02141f017c28a4e105d5c8e6aa1ae6ca9f504e0c" + "sha": "e8aa86f9c807f907df34ba3b4dbec468ca140094" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c86c7a60985644eab557949363a38301d40d78d2" + "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6" } } ], From 7470b816c4fcc41db22a8547c28b350f2c9f6a91 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 26 May 2021 19:52:05 +0000 Subject: [PATCH 1480/3036] chore: release 1.2.1-SNAPSHOT (#363) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0a1e23cf50cd..b3a02b81ae99 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 - 1.2.0 + 1.2.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 59177b24d044..7531e89b7052 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.2.0:1.2.0 \ No newline at end of file +google-cloud-shared-dependencies:1.2.0:1.2.1-SNAPSHOT \ No newline at end of file From 0f37e3a36f0ca227ee4dbaa089241c49225ba90f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 May 2021 21:56:09 +0200 Subject: [PATCH 1481/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.14 (#439) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.0.12` -> `1.0.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/compatibility-slim/1.0.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.0.14/confidence-slim/1.0.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.0.14`](https://togithub.com/googleapis/java-iam/blob/master/CHANGELOG.md#​1014-httpswwwgithubcomgoogleapisjava-iamcomparev1013v1014-2021-05-11) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.0.13...v1.0.14) ### [`v1.0.13`](https://togithub.com/googleapis/java-iam/blob/master/CHANGELOG.md#​1013-httpswwwgithubcomgoogleapisjava-iamcomparev1012v1013-2021-04-23) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.0.12...v1.0.13)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4a92d9d14610..a35464695a7b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 1.64.0-sp.1 1.10.3 2.3.0 - 1.0.12 + 1.0.14 0.26.0 1.31.5 1.39.2 From 8bae9dc71e7ea08ada9d7c83cc3bd079ec6d5478 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 May 2021 21:56:22 +0200 Subject: [PATCH 1482/3036] deps: update dependency com.google.code.gson:gson to v2.8.7 (#461) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.code.gson:gson | `2.8.6` -> `2.8.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.7/compatibility-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.7/confidence-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a35464695a7b..7510bb39a5a6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 1.5.1 2.6 2.7.1 - 2.8.6 + 2.8.7
    From efb3811c28d3fbebade15d2e7571cea9d4e1169e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 May 2021 21:56:28 +0200 Subject: [PATCH 1483/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.1 (#460) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.17.0` -> `3.17.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.1/compatibility-slim/3.17.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.1/confidence-slim/3.17.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.17.1`](https://togithub.com/protocolbuffers/protobuf/releases/v3.17.1) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.17.0...v3.17.1) ##### PHP - Fixed PHP memory leaks and arginfo errors. ([#​8614](https://togithub.com/protocolbuffers/protobuf/issues/8614)) - Fixed JSON parser to allow multiple values from the same oneof as long as all but one are null. ##### Ruby - Fixed memory bug: properly root repeated/map field when assigning. ([#​8639](https://togithub.com/protocolbuffers/protobuf/issues/8639)) - Fixed JSON parser to allow multiple values from the same oneof as long as all but one are null.
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7510bb39a5a6..3ec4da496e69 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.5 1.39.2 1.38.0 - 3.17.0 + 3.17.1 0.28.0 1.3.2 30.1.1-android From 9ee280bc46ee5bb9938d2e99a1bc87c43d3c8141 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 May 2021 22:02:06 +0200 Subject: [PATCH 1484/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.3.1 (#463) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.3.0` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/compatibility-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.1/confidence-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.3.1`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​231-httpswwwgithubcomgoogleapisjava-common-protoscomparev230v231-2021-05-26) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.3.0...v2.3.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3ec4da496e69..a395cded92c2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.64.0-sp.1 1.10.3 - 2.3.0 + 2.3.1 1.0.14 0.26.0 1.31.5 From 3ffb36d7fa6aa426efc0000a3f5696129a310644 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 May 2021 22:58:13 +0200 Subject: [PATCH 1485/3036] test(deps): update dependency com.google.truth:truth to v1.1.3 (#462) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.google.truth:truth | `1.1.2` -> `1.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/compatibility-slim/1.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.3/confidence-slim/1.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a395cded92c2..790dcfc2948c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -164,7 +164,7 @@ 1.3.2 30.1.1-android 4.13.2 - 1.1.2 + 1.1.3 3.6 3.0.2 1.5.1 From c567d47b8e3675bbe6405b3a9c5851f53da9d183 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 2 Jun 2021 11:46:05 -0700 Subject: [PATCH 1486/3036] chore: dump maven version along with java (#372) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c6b4432f-4a85-4097-b64e-6d0ecde8f7ef/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8eae0234a16b26c2ff616d305dbd9786c8b10a47 --- java-shared-dependencies/.kokoro/build.sh | 4 ++-- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 238168cfe729..6d15902d2fe4 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -23,8 +23,8 @@ cd ${scriptDir}/.. # include common functions source ${scriptDir}/common.sh -# Print out Java version -java -version +# Print out Maven & Java version +mvn -version echo ${JOB_TYPE} # attempt to install 3 times with exponential backoff (starting with 10 seconds) diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 9f9eaf27a61d..adb93e5791db 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "e8aa86f9c807f907df34ba3b4dbec468ca140094" + "sha": "4b4dc836196e6c4d08725f201aa0f14fe145e3b3" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6" + "sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47" } } ], From 54f6b28e083d2d39cb7c707138e2a7b0282f40a7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Jun 2021 02:20:25 +0200 Subject: [PATCH 1487/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.2 (#465) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.17.1` -> `3.17.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.2/compatibility-slim/3.17.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.17.2/confidence-slim/3.17.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.17.2`](https://togithub.com/protocolbuffers/protobuf/releases/v3.17.2) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.17.1...v3.17.2) ****Kotlin**** - Fix duplicate class error ([#​8653](https://togithub.com/protocolbuffers/protobuf/issues/8653)) ****PHP**** - Fixed SEGV in sub-message getters for well-known types when message is unset ([#​8670](https://togithub.com/protocolbuffers/protobuf/issues/8670))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 790dcfc2948c..9ed451919eea 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.5 1.39.2 1.38.0 - 3.17.1 + 3.17.2 0.28.0 1.3.2 30.1.1-android From 665cd1f5fb5e0d5243f81cc01c408c216174eb84 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Jun 2021 18:19:02 +0200 Subject: [PATCH 1488/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.2 (#374) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b3a02b81ae99..b038454148fd 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.38.0 1.64.0 30.1.1-android - 3.17.1 + 3.17.2 1.10.3 2.3.1 1.94.8 From 2213b6abdd8b15d76fc842a9d96a1b763a28adbd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Jun 2021 18:20:32 +0200 Subject: [PATCH 1489/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.3.2 (#466) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9ed451919eea..ffa4cfa7d576 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 1.64.0-sp.1 1.10.3 - 2.3.1 + 2.3.2 1.0.14 0.26.0 1.31.5 From 9ae80c944b75f9b8942caadad5cc7e6ae9098202 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Jun 2021 23:14:28 +0200 Subject: [PATCH 1490/3036] deps: update gax.version to v1.65.0 (#376) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b038454148fd..632d19174525 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.38.0 - 1.64.0 + 1.65.0 30.1.1-android 3.17.2 1.10.3 From 3207d44dd46d4d8dd0f6a51a1d5c17752e5e68ce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Jun 2021 23:16:05 +0200 Subject: [PATCH 1491/3036] deps: update dependency com.google.api:gax-bom to v1.65.0 (#464) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `1.64.0-sp.1` -> `1.65.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.65.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.65.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.65.0/compatibility-slim/1.64.0-sp.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.65.0/confidence-slim/1.64.0-sp.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v1.65.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1650-httpswwwgithubcomgoogleapisgax-javacomparev1640v1650-2021-06-02) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.64.0-sp.1...v1.65.0) ##### Features - add mtls feature to http and grpc transport provider ([#​1249](https://www.github.com/googleapis/gax-java/issues/1249)) ([b863041](https://www.github.com/googleapis/gax-java/commit/b863041bc4c03c8766e0feca8cb10f531373dc44))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ffa4cfa7d576..a1d0343cb699 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.64.0-sp.1 + 1.65.0 1.10.3 2.3.2 1.0.14 From 011d9e27e49d5ac2f6ca7f7a06f6a4a0be31c472 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Jun 2021 23:30:05 +0200 Subject: [PATCH 1492/3036] deps: update google.common-protos.version to v2.3.2 (#375) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.3.1` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.3.1` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.3.2`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​232-httpswwwgithubcomgoogleapisjava-common-protoscomparev231v232-2021-06-03) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.3.1...v2.3.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 632d19174525..1f55a1d4a0ee 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 30.1.1-android 3.17.2 1.10.3 - 2.3.1 + 2.3.2 1.94.8 0.26.0 1.39.2 From 065af79629fba928a8048c2fed2f0986ecf5bc53 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Jun 2021 21:34:05 +0000 Subject: [PATCH 1493/3036] chore: release 1.95.0 (#454) :robot: I have created a release \*beep\* \*boop\* --- ## [1.95.0](https://www.github.com/googleapis/java-core/compare/v1.94.8...v1.95.0) (2021-06-03) ### Features * add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#453](https://www.github.com/googleapis/java-core/issues/453)) ([668b2c7](https://www.github.com/googleapis/java-core/commit/668b2c76ea53e9ccc2764ab36f398a9e497a1b96)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#446](https://www.github.com/googleapis/java-core/issues/446)) ([3bdbbd8](https://www.github.com/googleapis/java-core/commit/3bdbbd88564885f8242c195308c703530b7ab0f4)) * update dependency com.google.api:gax-bom to v1.64.0-sp.1 ([#443](https://www.github.com/googleapis/java-core/issues/443)) ([ba14b8e](https://www.github.com/googleapis/java-core/commit/ba14b8ee13c35441c3d623314622648fa36ea61b)) * update dependency com.google.api:gax-bom to v1.65.0 ([#464](https://www.github.com/googleapis/java-core/issues/464)) ([3207d44](https://www.github.com/googleapis/java-core/commit/3207d44dd46d4d8dd0f6a51a1d5c17752e5e68ce)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.2.2 ([#449](https://www.github.com/googleapis/java-core/issues/449)) ([cb171d1](https://www.github.com/googleapis/java-core/commit/cb171d130fe96aca106a7a03b6ed544720e57c2c)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.3.0 ([#458](https://www.github.com/googleapis/java-core/issues/458)) ([7eff2c6](https://www.github.com/googleapis/java-core/commit/7eff2c66c1b3c385ecfd77254c4245e6d5d76199)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.3.1 ([#463](https://www.github.com/googleapis/java-core/issues/463)) ([9ee280b](https://www.github.com/googleapis/java-core/commit/9ee280bc46ee5bb9938d2e99a1bc87c43d3c8141)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.3.2 ([#466](https://www.github.com/googleapis/java-core/issues/466)) ([2213b6a](https://www.github.com/googleapis/java-core/commit/2213b6abdd8b15d76fc842a9d96a1b763a28adbd)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.14 ([#439](https://www.github.com/googleapis/java-core/issues/439)) ([0f37e3a](https://www.github.com/googleapis/java-core/commit/0f37e3a36f0ca227ee4dbaa089241c49225ba90f)) * update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#456](https://www.github.com/googleapis/java-core/issues/456)) ([f99e636](https://www.github.com/googleapis/java-core/commit/f99e636e209f0e0c4adca6ed28e8f5a4976128c2)) * update dependency com.google.code.gson:gson to v2.8.7 ([#461](https://www.github.com/googleapis/java-core/issues/461)) ([8bae9dc](https://www.github.com/googleapis/java-core/commit/8bae9dc71e7ea08ada9d7c83cc3bd079ec6d5478)) * update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#451](https://www.github.com/googleapis/java-core/issues/451)) ([a6ca43c](https://www.github.com/googleapis/java-core/commit/a6ca43c124ce0ceed7c35aa3779c498f57b84255)) * update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#445](https://www.github.com/googleapis/java-core/issues/445)) ([4dfe429](https://www.github.com/googleapis/java-core/commit/4dfe429724136c36ac9c6da47da8d426d99e30df)) * update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#460](https://www.github.com/googleapis/java-core/issues/460)) ([efb3811](https://www.github.com/googleapis/java-core/commit/efb3811c28d3fbebade15d2e7571cea9d4e1169e)) * update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#465](https://www.github.com/googleapis/java-core/issues/465)) ([54f6b28](https://www.github.com/googleapis/java-core/commit/54f6b28e083d2d39cb7c707138e2a7b0282f40a7)) * update dependency io.grpc:grpc-bom to v1.38.0 ([#450](https://www.github.com/googleapis/java-core/issues/450)) ([f401756](https://www.github.com/googleapis/java-core/commit/f4017565373742f34a8573b09a9de23ed4860a6a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 26 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 38 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 1568c7042770..c8dad7d61a61 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [1.95.0](https://www.github.com/googleapis/java-core/compare/v1.94.8...v1.95.0) (2021-06-03) + + +### Features + +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#453](https://www.github.com/googleapis/java-core/issues/453)) ([33d8edf](https://www.github.com/googleapis/java-core/commit/33d8edf12d20f2bbdaedb1f1cd5a9194357934f1)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#446](https://www.github.com/googleapis/java-core/issues/446)) ([fa83a61](https://www.github.com/googleapis/java-core/commit/fa83a618050cdac519eadda5e8a72c2f9cbfeac0)) +* update dependency com.google.api:gax-bom to v1.64.0-sp.1 ([#443](https://www.github.com/googleapis/java-core/issues/443)) ([19efb61](https://www.github.com/googleapis/java-core/commit/19efb61af60bb5867ebc4c603ac528f277ef6ed0)) +* update dependency com.google.api:gax-bom to v1.65.0 ([#464](https://www.github.com/googleapis/java-core/issues/464)) ([bb15bf9](https://www.github.com/googleapis/java-core/commit/bb15bf9fb9cf571afc5050e4eaf055e556cb534b)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.2.2 ([#449](https://www.github.com/googleapis/java-core/issues/449)) ([42bf8ea](https://www.github.com/googleapis/java-core/commit/42bf8eae15854e01566bac7e094f9b08f273c24e)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.3.0 ([#458](https://www.github.com/googleapis/java-core/issues/458)) ([eb930c2](https://www.github.com/googleapis/java-core/commit/eb930c2c690e58d0e1c00abe16ee5671a0bb5144)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.3.1 ([#463](https://www.github.com/googleapis/java-core/issues/463)) ([c2b2907](https://www.github.com/googleapis/java-core/commit/c2b29070e5d07b8c7e1d4c76d297d349f6c4d7a3)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.3.2 ([#466](https://www.github.com/googleapis/java-core/issues/466)) ([fd68350](https://www.github.com/googleapis/java-core/commit/fd683505e85dd92f77d4a9723015f610716283f7)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.14 ([#439](https://www.github.com/googleapis/java-core/issues/439)) ([c32bd33](https://www.github.com/googleapis/java-core/commit/c32bd33a9d79bc4388b75842a629c582e1c91526)) +* update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#456](https://www.github.com/googleapis/java-core/issues/456)) ([97bb7a9](https://www.github.com/googleapis/java-core/commit/97bb7a9c2beb17169de17e2a2d0aa37c051933ee)) +* update dependency com.google.code.gson:gson to v2.8.7 ([#461](https://www.github.com/googleapis/java-core/issues/461)) ([4381e02](https://www.github.com/googleapis/java-core/commit/4381e02d9147440822b2639e59c4d5ca60b4b3c5)) +* update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#451](https://www.github.com/googleapis/java-core/issues/451)) ([8bf562f](https://www.github.com/googleapis/java-core/commit/8bf562f42fca37b8d0b14a498f47a2bf8c49277d)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#445](https://www.github.com/googleapis/java-core/issues/445)) ([aa9d87c](https://www.github.com/googleapis/java-core/commit/aa9d87ca138714a47c2d4b3e0bca33037a861959)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#460](https://www.github.com/googleapis/java-core/issues/460)) ([4edf784](https://www.github.com/googleapis/java-core/commit/4edf7849261c3b427719a434db2c5dc251facc26)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#465](https://www.github.com/googleapis/java-core/issues/465)) ([f9b847a](https://www.github.com/googleapis/java-core/commit/f9b847af7d3660de79a2b68abee33842daabddf8)) +* update dependency io.grpc:grpc-bom to v1.38.0 ([#450](https://www.github.com/googleapis/java-core/issues/450)) ([bde03c1](https://www.github.com/googleapis/java-core/commit/bde03c10c2921f8b2bdf47fdaa0a46c277af382a)) + ### [1.94.8](https://www.github.com/googleapis/java-core/compare/v1.94.7...v1.94.8) (2021-04-23) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3dc3b7f66eee..8c0bead51f2e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.94.9-SNAPSHOT + 1.95.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.94.9-SNAPSHOT + 1.95.0 com.google.cloud google-cloud-core-grpc - 1.94.9-SNAPSHOT + 1.95.0 com.google.cloud google-cloud-core-http - 1.94.9-SNAPSHOT + 1.95.0
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 64b4b8afe4c3..29a08d57ad2a 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 - 1.94.9-SNAPSHOT + 1.95.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.9-SNAPSHOT + 1.95.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 865613be9188..b128695df8c6 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 - 1.94.9-SNAPSHOT + 1.95.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.9-SNAPSHOT + 1.95.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 080eab75217b..b35a6fd9e8f1 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 - 1.94.9-SNAPSHOT + 1.95.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.94.9-SNAPSHOT + 1.95.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index a1d0343cb699..ff09fdd60bd1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.94.9-SNAPSHOT + 1.95.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 49a06b86d38d..443819b31bc0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.94.8:1.94.9-SNAPSHOT \ No newline at end of file +google-cloud-core:1.95.0:1.95.0 \ No newline at end of file From 55a402a558041dfe76564b7636b1de517cec0be8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Jun 2021 21:40:05 +0000 Subject: [PATCH 1494/3036] chore: release 1.95.1-SNAPSHOT (#467) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8c0bead51f2e..4bd201511bb9 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.0 + 1.95.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.0 + 1.95.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.95.0 + 1.95.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.95.0 + 1.95.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 29a08d57ad2a..7c918d39ac17 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 - 1.95.0 + 1.95.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.0 + 1.95.1-SNAPSHOT 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 b128695df8c6..d5fe092a9e70 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 - 1.95.0 + 1.95.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.0 + 1.95.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b35a6fd9e8f1..239224c9166e 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 - 1.95.0 + 1.95.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.0 + 1.95.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index ff09fdd60bd1..968fdffac5f0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.0 + 1.95.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 443819b31bc0..e49d629d4613 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.0:1.95.0 \ No newline at end of file +google-cloud-core:1.95.0:1.95.1-SNAPSHOT \ No newline at end of file From d6333a8fd9b57a176619929bdfd46a530faa4e95 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 4 Jun 2021 00:52:03 +0200 Subject: [PATCH 1495/3036] deps: update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 (#377) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `1.94.8` -> `1.95.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.0/compatibility-slim/1.94.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.0/confidence-slim/1.94.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v1.95.0`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1950-httpswwwgithubcomgoogleapisjava-corecomparev1948v1950-2021-06-03) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.94.8...v1.95.0) ##### Features - add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#​453](https://www.github.com/googleapis/java-core/issues/453)) ([33d8edf](https://www.github.com/googleapis/java-core/commit/33d8edf12d20f2bbdaedb1f1cd5a9194357934f1)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#​446](https://www.github.com/googleapis/java-core/issues/446)) ([fa83a61](https://www.github.com/googleapis/java-core/commit/fa83a618050cdac519eadda5e8a72c2f9cbfeac0)) - update dependency com.google.api:gax-bom to v1.64.0-sp.1 ([#​443](https://www.github.com/googleapis/java-core/issues/443)) ([19efb61](https://www.github.com/googleapis/java-core/commit/19efb61af60bb5867ebc4c603ac528f277ef6ed0)) - update dependency com.google.api:gax-bom to v1.65.0 ([#​464](https://www.github.com/googleapis/java-core/issues/464)) ([bb15bf9](https://www.github.com/googleapis/java-core/commit/bb15bf9fb9cf571afc5050e4eaf055e556cb534b)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.2.2 ([#​449](https://www.github.com/googleapis/java-core/issues/449)) ([42bf8ea](https://www.github.com/googleapis/java-core/commit/42bf8eae15854e01566bac7e094f9b08f273c24e)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.3.0 ([#​458](https://www.github.com/googleapis/java-core/issues/458)) ([eb930c2](https://www.github.com/googleapis/java-core/commit/eb930c2c690e58d0e1c00abe16ee5671a0bb5144)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.3.1 ([#​463](https://www.github.com/googleapis/java-core/issues/463)) ([c2b2907](https://www.github.com/googleapis/java-core/commit/c2b29070e5d07b8c7e1d4c76d297d349f6c4d7a3)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.3.2 ([#​466](https://www.github.com/googleapis/java-core/issues/466)) ([fd68350](https://www.github.com/googleapis/java-core/commit/fd683505e85dd92f77d4a9723015f610716283f7)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.14 ([#​439](https://www.github.com/googleapis/java-core/issues/439)) ([c32bd33](https://www.github.com/googleapis/java-core/commit/c32bd33a9d79bc4388b75842a629c582e1c91526)) - update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#​456](https://www.github.com/googleapis/java-core/issues/456)) ([97bb7a9](https://www.github.com/googleapis/java-core/commit/97bb7a9c2beb17169de17e2a2d0aa37c051933ee)) - update dependency com.google.code.gson:gson to v2.8.7 ([#​461](https://www.github.com/googleapis/java-core/issues/461)) ([4381e02](https://www.github.com/googleapis/java-core/commit/4381e02d9147440822b2639e59c4d5ca60b4b3c5)) - update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#​451](https://www.github.com/googleapis/java-core/issues/451)) ([8bf562f](https://www.github.com/googleapis/java-core/commit/8bf562f42fca37b8d0b14a498f47a2bf8c49277d)) - update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#​445](https://www.github.com/googleapis/java-core/issues/445)) ([aa9d87c](https://www.github.com/googleapis/java-core/commit/aa9d87ca138714a47c2d4b3e0bca33037a861959)) - update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#​460](https://www.github.com/googleapis/java-core/issues/460)) ([4edf784](https://www.github.com/googleapis/java-core/commit/4edf7849261c3b427719a434db2c5dc251facc26)) - update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#​465](https://www.github.com/googleapis/java-core/issues/465)) ([f9b847a](https://www.github.com/googleapis/java-core/commit/f9b847af7d3660de79a2b68abee33842daabddf8)) - update dependency io.grpc:grpc-bom to v1.38.0 ([#​450](https://www.github.com/googleapis/java-core/issues/450)) ([bde03c1](https://www.github.com/googleapis/java-core/commit/bde03c10c2921f8b2bdf47fdaa0a46c277af382a)) ##### [1.94.8](https://www.github.com/googleapis/java-core/compare/v1.94.7...v1.94.8) (2021-04-23) ##### Bug Fixes - release scripts from issuing overlapping phases ([#​432](https://www.github.com/googleapis/java-core/issues/432)) ([289bcab](https://www.github.com/googleapis/java-core/commit/289bcab7d8eeffc1671c3cb4c3e8cc4843d90e1a)) - typo ([#​429](https://www.github.com/googleapis/java-core/issues/429)) ([f1ea2f8](https://www.github.com/googleapis/java-core/commit/f1ea2f8568bc7c5ed9b1d495bdd88446aa3c4135)) ##### Dependencies - update dependency com.google.api:api-common to v1.10.3 ([#​437](https://www.github.com/googleapis/java-core/issues/437)) ([e853d98](https://www.github.com/googleapis/java-core/commit/e853d98caca3d5f0312a0fb9bbab0ffe4a0ce6e2)) - update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#​428](https://www.github.com/googleapis/java-core/issues/428)) ([7cc490d](https://www.github.com/googleapis/java-core/commit/7cc490df5e3d24986e7032f5a93a1f844aaa66d5)) - update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#​435](https://www.github.com/googleapis/java-core/issues/435)) ([7f7f362](https://www.github.com/googleapis/java-core/commit/7f7f3624a3c436c61a366e5e172592838a4078e0)) - update dependency org.threeten:threetenbp to v1.5.1 ([#​433](https://www.github.com/googleapis/java-core/issues/433)) ([af08225](https://www.github.com/googleapis/java-core/commit/af08225277fb436a53a1a65d60a7be80b786da4b)) ##### [1.94.7](https://www.github.com/googleapis/java-core/compare/v1.94.6...v1.94.7) (2021-04-12) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#​424](https://www.github.com/googleapis/java-core/issues/424)) ([6773b81](https://www.github.com/googleapis/java-core/commit/6773b81893ce9f69ce457e3243bd89b49de6e553)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.12 ([#​425](https://www.github.com/googleapis/java-core/issues/425)) ([df2ba7a](https://www.github.com/googleapis/java-core/commit/df2ba7a6aa73d2755382d19a4dfd86bdd6fd927a)) ##### [1.94.6](https://www.github.com/googleapis/java-core/compare/v1.94.5...v1.94.6) (2021-04-09) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#​420](https://www.github.com/googleapis/java-core/issues/420)) ([541355d](https://www.github.com/googleapis/java-core/commit/541355db1e1652bac87ed7ab4f57c3bf2ba5d469)) ##### [1.94.5](https://www.github.com/googleapis/java-core/compare/v1.94.4...v1.94.5) (2021-04-08) ##### Dependencies - update dependency com.google.api:gax-bom to v1.63.0 ([#​415](https://www.github.com/googleapis/java-core/issues/415)) ([31d41f3](https://www.github.com/googleapis/java-core/commit/31d41f310db803c5f84e122256850cf3f6722481)) - update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#​408](https://www.github.com/googleapis/java-core/issues/408)) ([bfb3cae](https://www.github.com/googleapis/java-core/commit/bfb3caee3d056b6fcbc54a83c1eca36cf58ef72a)) - update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#​412](https://www.github.com/googleapis/java-core/issues/412)) ([e78e5d9](https://www.github.com/googleapis/java-core/commit/e78e5d9676ebf8bc44af7f81a282c7436878730f)) - update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#​407](https://www.github.com/googleapis/java-core/issues/407)) ([9ac757f](https://www.github.com/googleapis/java-core/commit/9ac757fa7e121b0db0f66577ed974d6dc24a803a)) - update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#​405](https://www.github.com/googleapis/java-core/issues/405)) ([a20bce4](https://www.github.com/googleapis/java-core/commit/a20bce416bfa6556bb7c3518afeca5259fdf23f4)) - update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#​413](https://www.github.com/googleapis/java-core/issues/413)) ([16d2bf5](https://www.github.com/googleapis/java-core/commit/16d2bf54340e78e8ba9765b531d9cd64089d723e)) - update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#​418](https://www.github.com/googleapis/java-core/issues/418)) ([101910c](https://www.github.com/googleapis/java-core/commit/101910c3edf25ece32fff2408ee09074c2593d18)) - update dependency io.grpc:grpc-bom to v1.36.1 ([#​410](https://www.github.com/googleapis/java-core/issues/410)) ([e31620a](https://www.github.com/googleapis/java-core/commit/e31620a2f7a15853a1acec8c09416953cc4dce09)) - update dependency io.grpc:grpc-bom to v1.37.0 ([#​416](https://www.github.com/googleapis/java-core/issues/416)) ([690fe8f](https://www.github.com/googleapis/java-core/commit/690fe8fe44b99b6b81175cef4797174ee28b7dac)) - update guava ([#​417](https://www.github.com/googleapis/java-core/issues/417)) ([acaa804](https://www.github.com/googleapis/java-core/commit/acaa804a740c1dbf95498db92e0627339f91dc6f)) ##### [1.94.4](https://www.github.com/googleapis/java-core/compare/v1.94.3...v1.94.4) (2021-03-11) ##### Dependencies - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.11 ([#​402](https://www.github.com/googleapis/java-core/issues/402)) ([73d893c](https://www.github.com/googleapis/java-core/commit/73d893c76ab1bef3b69bd55040d9f6c5942b36c5)) - update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#​399](https://www.github.com/googleapis/java-core/issues/399)) ([a9c2e43](https://www.github.com/googleapis/java-core/commit/a9c2e43e06fcf2f15918359db765fb44d5e28a55)) ##### [1.94.3](https://www.github.com/googleapis/java-core/compare/v1.94.2...v1.94.3) (2021-03-02) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#​394](https://www.github.com/googleapis/java-core/issues/394)) ([278cb03](https://www.github.com/googleapis/java-core/commit/278cb032dd201a9729ef6a6e6e3c177bf9b3cd7e)) - update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#​390](https://www.github.com/googleapis/java-core/issues/390)) ([9948791](https://www.github.com/googleapis/java-core/commit/99487914834709cd97b283c59ac14fb7b945c9e7)) ##### [1.94.2](https://www.github.com/googleapis/java-core/compare/v1.94.1...v1.94.2) (2021-03-01) ##### Bug Fixes - fix gcloud SDK detection on Windows ([#​384](https://www.github.com/googleapis/java-core/issues/384)) ([9545442](https://www.github.com/googleapis/java-core/commit/9545442906b21897c5227fecf8efd264d7c2d84c)), closes [#​383](https://www.github.com/googleapis/java-core/issues/383) ##### Dependencies - switch from Jackson to GSON ([#​368](https://www.github.com/googleapis/java-core/issues/368)) ([220df17](https://www.github.com/googleapis/java-core/commit/220df176826fe154e36dadd19702c307cc232c16)) - update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#​359](https://www.github.com/googleapis/java-core/issues/359)) ([107a32a](https://www.github.com/googleapis/java-core/commit/107a32aa170eca0f61e14183af1e795a61291d49)) - update dependency com.google.api:gax-bom to v1.62.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.1.0 ([#​387](https://www.github.com/googleapis/java-core/issues/387)) ([c55f950](https://www.github.com/googleapis/java-core/commit/c55f95038865d262b58f5b5c9847df75160876d2)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.10 ([#​392](https://www.github.com/googleapis/java-core/issues/392)) ([45b5abf](https://www.github.com/googleapis/java-core/commit/45b5abf7692cc0d7f2c03170b7ec47a6408ccfad)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.5 ([#​345](https://www.github.com/googleapis/java-core/issues/345)) ([0a5596d](https://www.github.com/googleapis/java-core/commit/0a5596d8fb5a398b56c7dce07e13d534e3b6c208)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.7 ([#​357](https://www.github.com/googleapis/java-core/issues/357)) ([3c2b7b4](https://www.github.com/googleapis/java-core/commit/3c2b7b490c64625ecf9846b097aebcc577511696)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.0.9 ([#​372](https://www.github.com/googleapis/java-core/issues/372)) ([82840da](https://www.github.com/googleapis/java-core/commit/82840da9e99f49471c30f2a95f0d06ae17a76507)) - update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#​343](https://www.github.com/googleapis/java-core/issues/343)) ([3b418f7](https://www.github.com/googleapis/java-core/commit/3b418f7ae6677e9e44546e7108d985dfbbedbfa4)) - update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#​364](https://www.github.com/googleapis/java-core/issues/364)) ([7d52e06](https://www.github.com/googleapis/java-core/commit/7d52e06e2df4a0c69f018e3f7dadfc166a5754be)) - update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#​382](https://www.github.com/googleapis/java-core/issues/382)) ([44d8d02](https://www.github.com/googleapis/java-core/commit/44d8d029e7f15efa3dfbf3df49f48f14a8375a6b)) - update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#​354](https://www.github.com/googleapis/java-core/issues/354)) ([e7a688c](https://www.github.com/googleapis/java-core/commit/e7a688c3a20f0c17806ab25c528d69bcafd287c8)) - update dependency com.google.guava:guava-bom to v30.1-android ([#​348](https://www.github.com/googleapis/java-core/issues/348)) ([0f2eadd](https://www.github.com/googleapis/java-core/commit/0f2eadd32020b546e71332bf4009e4c9195ee72a)) - update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#​358](https://www.github.com/googleapis/java-core/issues/358)) ([8fdc254](https://www.github.com/googleapis/java-core/commit/8fdc2549c9ed15e347e282077b9e36159bd32a2e)) - update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) - update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#​378](https://www.github.com/googleapis/java-core/issues/378)) ([4314da9](https://www.github.com/googleapis/java-core/commit/4314da9fc62eb6e57b0265a6ff4663c450e0ad9f)) - update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#​381](https://www.github.com/googleapis/java-core/issues/381)) ([09fac9d](https://www.github.com/googleapis/java-core/commit/09fac9d078d8d00716500deabfdecfcecab891ea)) - update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#​385](https://www.github.com/googleapis/java-core/issues/385)) ([8c2c179](https://www.github.com/googleapis/java-core/commit/8c2c1792df60b9e077534328fc5351c63a745b09)) - update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#​391](https://www.github.com/googleapis/java-core/issues/391)) ([6e03ce5](https://www.github.com/googleapis/java-core/commit/6e03ce5b571464f8f62a4b4665f21efb527b112a)) - update dependency io.grpc:grpc-bom to v1.34.1 ([#​342](https://www.github.com/googleapis/java-core/issues/342)) ([b80c3da](https://www.github.com/googleapis/java-core/commit/b80c3da61e5b158c78358566289800bea0f8997b)) - update dependency opencensus to v0.28.0 ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) - update io.grpc:grpc-bom to v1.36.0 ([#​389](https://www.github.com/googleapis/java-core/issues/389)) ([2374ca7](https://www.github.com/googleapis/java-core/commit/2374ca77df96976c3920963e0e97e9fabd07b625)) ##### [1.94.1](https://www.github.com/googleapis/java-core/compare/v1.94.0...v1.94.1) (2020-12-11) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#​331](https://www.github.com/googleapis/java-core/issues/331)) ([e01ec17](https://www.github.com/googleapis/java-core/commit/e01ec179163dfc0069ae34680abaef30b00e05e1)) - update dependency com.google.api:gax-bom to v1.60.1 ([#​340](https://www.github.com/googleapis/java-core/issues/340)) ([e3219b4](https://www.github.com/googleapis/java-core/commit/e3219b46a6a83a95795b77516426859959406d3a)) - update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#​335](https://www.github.com/googleapis/java-core/issues/335)) ([0fc6971](https://www.github.com/googleapis/java-core/commit/0fc6971a23f720102156de3bbcfe38eeff15fd94))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1f55a1d4a0ee..7836e0eea23a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.17.2 1.10.3 2.3.2 - 1.94.8 + 1.95.0 0.26.0 1.39.2 1.31.5 From aa9bb6c027a0784393d9986d4f010c0d7293f964 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Jun 2021 22:56:03 +0000 Subject: [PATCH 1496/3036] chore: release 1.3.0 (#371) :robot: I have created a release \*beep\* \*boop\* --- ## [1.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.2.0...v1.3.0) (2021-06-03) ### Features * add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#365](https://www.github.com/googleapis/java-shared-dependencies/issues/365)) ([f229ff3](https://www.github.com/googleapis/java-shared-dependencies/commit/f229ff35090119ebc744a7b89186275fd5a2bf3a)) ### Dependencies * update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#368](https://www.github.com/googleapis/java-shared-dependencies/issues/368)) ([53d78e9](https://www.github.com/googleapis/java-shared-dependencies/commit/53d78e9a4e3a1c1b2ffadfd1cf22214ce95a17d9)) * update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 ([#377](https://www.github.com/googleapis/java-shared-dependencies/issues/377)) ([d6333a8](https://www.github.com/googleapis/java-shared-dependencies/commit/d6333a8fd9b57a176619929bdfd46a530faa4e95)) * update dependency com.google.code.gson:gson to v2.8.7 ([#370](https://www.github.com/googleapis/java-shared-dependencies/issues/370)) ([5b1fb01](https://www.github.com/googleapis/java-shared-dependencies/commit/5b1fb01720a26c8020e0a81820ca4ef698123126)) * update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#369](https://www.github.com/googleapis/java-shared-dependencies/issues/369)) ([e98c7dc](https://www.github.com/googleapis/java-shared-dependencies/commit/e98c7dcdf4603c7f481f749b5d1d92f0b384b638)) * update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#374](https://www.github.com/googleapis/java-shared-dependencies/issues/374)) ([665cd1f](https://www.github.com/googleapis/java-shared-dependencies/commit/665cd1f5fb5e0d5243f81cc01c408c216174eb84)) * update dependency io.grpc:grpc-bom to v1.38.0 ([#364](https://www.github.com/googleapis/java-shared-dependencies/issues/364)) ([4b52c9c](https://www.github.com/googleapis/java-shared-dependencies/commit/4b52c9ccffcc4431a4530f646470caf82cdf64dc)) * update gax.version to v1.65.0 ([#376](https://www.github.com/googleapis/java-shared-dependencies/issues/376)) ([9ae80c9](https://www.github.com/googleapis/java-shared-dependencies/commit/9ae80c944b75f9b8942caadad5cc7e6ae9098202)) * update google.common-protos.version to v2.3.1 ([#366](https://www.github.com/googleapis/java-shared-dependencies/issues/366)) ([ad33b92](https://www.github.com/googleapis/java-shared-dependencies/commit/ad33b924a1feb390d16655bca0901a4fac757bb4)) * update google.common-protos.version to v2.3.2 ([#375](https://www.github.com/googleapis/java-shared-dependencies/issues/375)) ([011d9e2](https://www.github.com/googleapis/java-shared-dependencies/commit/011d9e27e49d5ac2f6ca7f7a06f6a4a0be31c472)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 20 ++++++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 3170bf7146b5..5f59f0a0cbed 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [1.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.2.0...v1.3.0) (2021-06-03) + + +### Features + +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#365](https://www.github.com/googleapis/java-shared-dependencies/issues/365)) ([7e8309b](https://www.github.com/googleapis/java-shared-dependencies/commit/7e8309bf67ade0fe2b09f792848136cd88b4d2e4)) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#368](https://www.github.com/googleapis/java-shared-dependencies/issues/368)) ([38256a8](https://www.github.com/googleapis/java-shared-dependencies/commit/38256a82cb6896c3f5e5ea6ca5d8d671c412bf84)) +* update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 ([#377](https://www.github.com/googleapis/java-shared-dependencies/issues/377)) ([297ea62](https://www.github.com/googleapis/java-shared-dependencies/commit/297ea621e02f8c0679c8b07ed399d11eaacecc14)) +* update dependency com.google.code.gson:gson to v2.8.7 ([#370](https://www.github.com/googleapis/java-shared-dependencies/issues/370)) ([cdc1b8e](https://www.github.com/googleapis/java-shared-dependencies/commit/cdc1b8ea1c93f97b712081ca8dc8ea57f342b69e)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#369](https://www.github.com/googleapis/java-shared-dependencies/issues/369)) ([5a19574](https://www.github.com/googleapis/java-shared-dependencies/commit/5a19574bc626bb3c6b573ed1d177e8907188dec1)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#374](https://www.github.com/googleapis/java-shared-dependencies/issues/374)) ([83516e6](https://www.github.com/googleapis/java-shared-dependencies/commit/83516e691b99e5e5d22d27e561781a5ade5fb514)) +* update dependency io.grpc:grpc-bom to v1.38.0 ([#364](https://www.github.com/googleapis/java-shared-dependencies/issues/364)) ([00db570](https://www.github.com/googleapis/java-shared-dependencies/commit/00db5701c3b0aa609f3778c06911a9a0248ca342)) +* update gax.version to v1.65.0 ([#376](https://www.github.com/googleapis/java-shared-dependencies/issues/376)) ([b793a0d](https://www.github.com/googleapis/java-shared-dependencies/commit/b793a0d7744ff1b0f8ae5d3d13ec4776ae8d3089)) +* update google.common-protos.version to v2.3.1 ([#366](https://www.github.com/googleapis/java-shared-dependencies/issues/366)) ([7d6a7fa](https://www.github.com/googleapis/java-shared-dependencies/commit/7d6a7fa7a2cad2b3f2ecf45e42d2ed5db0b60a43)) +* update google.common-protos.version to v2.3.2 ([#375](https://www.github.com/googleapis/java-shared-dependencies/issues/375)) ([68a47ad](https://www.github.com/googleapis/java-shared-dependencies/commit/68a47ad3243f3e980db74c9c8505a1b3063c131b)) + ## [1.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.1.0...v1.2.0) (2021-05-18) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 610ccf544253..8740845c1204 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 1.2.0 + 1.3.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7836e0eea23a..3803cd266e24 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 - 1.2.1-SNAPSHOT + 1.3.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 7531e89b7052..aa3de0b3ed39 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.2.0:1.2.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:1.3.0:1.3.0 \ No newline at end of file From a61656a6d84ea37b351f74ed7642abf58afb2925 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Jun 2021 23:08:03 +0000 Subject: [PATCH 1497/3036] chore: release 1.3.1-SNAPSHOT (#378) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3803cd266e24..0126516cef24 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 - 1.3.0 + 1.3.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index aa3de0b3ed39..c1c88a30d485 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.3.0:1.3.0 \ No newline at end of file +google-cloud-shared-dependencies:1.3.0:1.3.1-SNAPSHOT \ No newline at end of file From 7854cd4650f5b9668762f625bcfc841b59a1786c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 4 Jun 2021 17:12:43 +0200 Subject: [PATCH 1498/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v1.3.0 (#154) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.2.0` -> `1.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.3.0/compatibility-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.3.0/confidence-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v1.3.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​130-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare120v130-2021-06-03) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.2.0...v1.3.0) ##### Features - add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#​365](https://www.github.com/googleapis/java-shared-dependencies/issues/365)) ([7e8309b](https://www.github.com/googleapis/java-shared-dependencies/commit/7e8309bf67ade0fe2b09f792848136cd88b4d2e4)) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#​368](https://www.github.com/googleapis/java-shared-dependencies/issues/368)) ([38256a8](https://www.github.com/googleapis/java-shared-dependencies/commit/38256a82cb6896c3f5e5ea6ca5d8d671c412bf84)) - update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 ([#​377](https://www.github.com/googleapis/java-shared-dependencies/issues/377)) ([297ea62](https://www.github.com/googleapis/java-shared-dependencies/commit/297ea621e02f8c0679c8b07ed399d11eaacecc14)) - update dependency com.google.code.gson:gson to v2.8.7 ([#​370](https://www.github.com/googleapis/java-shared-dependencies/issues/370)) ([cdc1b8e](https://www.github.com/googleapis/java-shared-dependencies/commit/cdc1b8ea1c93f97b712081ca8dc8ea57f342b69e)) - update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#​369](https://www.github.com/googleapis/java-shared-dependencies/issues/369)) ([5a19574](https://www.github.com/googleapis/java-shared-dependencies/commit/5a19574bc626bb3c6b573ed1d177e8907188dec1)) - update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#​374](https://www.github.com/googleapis/java-shared-dependencies/issues/374)) ([83516e6](https://www.github.com/googleapis/java-shared-dependencies/commit/83516e691b99e5e5d22d27e561781a5ade5fb514)) - update dependency io.grpc:grpc-bom to v1.38.0 ([#​364](https://www.github.com/googleapis/java-shared-dependencies/issues/364)) ([00db570](https://www.github.com/googleapis/java-shared-dependencies/commit/00db5701c3b0aa609f3778c06911a9a0248ca342)) - update gax.version to v1.65.0 ([#​376](https://www.github.com/googleapis/java-shared-dependencies/issues/376)) ([b793a0d](https://www.github.com/googleapis/java-shared-dependencies/commit/b793a0d7744ff1b0f8ae5d3d13ec4776ae8d3089)) - update google.common-protos.version to v2.3.1 ([#​366](https://www.github.com/googleapis/java-shared-dependencies/issues/366)) ([7d6a7fa](https://www.github.com/googleapis/java-shared-dependencies/commit/7d6a7fa7a2cad2b3f2ecf45e42d2ed5db0b60a43)) - update google.common-protos.version to v2.3.2 ([#​375](https://www.github.com/googleapis/java-shared-dependencies/issues/375)) ([68a47ad](https://www.github.com/googleapis/java-shared-dependencies/commit/68a47ad3243f3e980db74c9c8505a1b3063c131b))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6f9aec3e9387..9cd5c31feafd 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.2.0 + 1.3.0 pom import From 73145661c5225c224cbb45e38c0c98d317345be3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Jun 2021 17:14:43 +0200 Subject: [PATCH 1499/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.3 (#468) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 968fdffac5f0..13bdcf0db53e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.31.5 1.39.2 1.38.0 - 3.17.2 + 3.17.3 0.28.0 1.3.2 30.1.1-android From 44a8182e7b5003714261e0837486212a738111a6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Jun 2021 17:16:02 +0200 Subject: [PATCH 1500/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.17.3 (#379) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0126516cef24..531de1b1bde4 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.38.0 1.65.0 30.1.1-android - 3.17.2 + 3.17.3 1.10.3 2.3.2 1.95.0 From 88ed85b69ec2e193f37eb90c2e6e9ed98d94ee96 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Jun 2021 15:22:02 +0000 Subject: [PATCH 1501/3036] chore: release 1.95.1 (#469) :robot: I have created a release \*beep\* \*boop\* --- ### [1.95.1](https://www.github.com/googleapis/java-core/compare/v1.95.0...v1.95.1) (2021-06-09) ### Dependencies * update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#468](https://www.github.com/googleapis/java-core/issues/468)) ([7314566](https://www.github.com/googleapis/java-core/commit/73145661c5225c224cbb45e38c0c98d317345be3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index c8dad7d61a61..767954d9a765 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.95.1](https://www.github.com/googleapis/java-core/compare/v1.95.0...v1.95.1) (2021-06-09) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#468](https://www.github.com/googleapis/java-core/issues/468)) ([d456df2](https://www.github.com/googleapis/java-core/commit/d456df20269cfb531adf7bcc7694d0ffff7b1962)) + ## [1.95.0](https://www.github.com/googleapis/java-core/compare/v1.94.8...v1.95.0) (2021-06-03) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4bd201511bb9..66e927ded30a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.1-SNAPSHOT + 1.95.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.1-SNAPSHOT + 1.95.1 com.google.cloud google-cloud-core-grpc - 1.95.1-SNAPSHOT + 1.95.1 com.google.cloud google-cloud-core-http - 1.95.1-SNAPSHOT + 1.95.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7c918d39ac17..da0f6e139f8c 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 - 1.95.1-SNAPSHOT + 1.95.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.1-SNAPSHOT + 1.95.1 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 d5fe092a9e70..a2e1affe37a8 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 - 1.95.1-SNAPSHOT + 1.95.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.1-SNAPSHOT + 1.95.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 239224c9166e..248b1dc72ffe 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 - 1.95.1-SNAPSHOT + 1.95.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.1-SNAPSHOT + 1.95.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 13bdcf0db53e..6e0c2342fd97 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.1-SNAPSHOT + 1.95.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index e49d629d4613..37027c78e8b7 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.0:1.95.1-SNAPSHOT \ No newline at end of file +google-cloud-core:1.95.1:1.95.1 \ No newline at end of file From dfa240eeb863f9592e71f5f8cdf866ac4d7d7e52 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Jun 2021 15:28:02 +0000 Subject: [PATCH 1502/3036] chore: release 1.95.2-SNAPSHOT (#470) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 66e927ded30a..54e99b20e32f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.1 + 1.95.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.1 + 1.95.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.95.1 + 1.95.2-SNAPSHOT com.google.cloud google-cloud-core-http - 1.95.1 + 1.95.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index da0f6e139f8c..e75355c53b96 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 - 1.95.1 + 1.95.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.1 + 1.95.2-SNAPSHOT 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 a2e1affe37a8..a4d6a590e032 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 - 1.95.1 + 1.95.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.1 + 1.95.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 248b1dc72ffe..87844235b4bf 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 - 1.95.1 + 1.95.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.1 + 1.95.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 6e0c2342fd97..dda537bd400d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.1 + 1.95.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 37027c78e8b7..a7786601ff79 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.1:1.95.1 \ No newline at end of file +google-cloud-core:1.95.1:1.95.2-SNAPSHOT \ No newline at end of file From 8e93aa55d2bf329d1eeaef76d805e1584834d8bb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Jun 2021 21:01:30 +0200 Subject: [PATCH 1503/3036] deps: update dependency com.google.api:gax-grpc to v1.65.1 (#382) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 531de1b1bde4..13d88d29251a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.38.0 - 1.65.0 + 1.65.1 30.1.1-android 3.17.3 1.10.3 From 9feadaf24d8e9856b9273cd96c3a0621eb0fe79c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Jun 2021 21:01:40 +0200 Subject: [PATCH 1504/3036] deps: update google.core.version to v1.95.1 (#381) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 13d88d29251a..cfdd2567f405 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.17.3 1.10.3 2.3.2 - 1.95.0 + 1.95.1 0.26.0 1.39.2 1.31.5 From a9975933b17f9c8c718bf6005bfc6489f9451ba4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Jun 2021 21:10:41 +0200 Subject: [PATCH 1505/3036] deps: update dependency com.google.api:gax-bom to v1.65.1 (#471) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index dda537bd400d..01b84637b317 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.65.0 + 1.65.1 1.10.3 2.3.2 1.0.14 From b9a6035ddd2f69d6be36c11c33f6a853d10f4557 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Jun 2021 19:18:03 +0000 Subject: [PATCH 1506/3036] chore: release 1.95.2 (#472) :robot: I have created a release \*beep\* \*boop\* --- ### [1.95.2](https://www.github.com/googleapis/java-core/compare/v1.95.1...v1.95.2) (2021-06-09) ### Dependencies * update dependency com.google.api:gax-bom to v1.65.1 ([#471](https://www.github.com/googleapis/java-core/issues/471)) ([a997593](https://www.github.com/googleapis/java-core/commit/a9975933b17f9c8c718bf6005bfc6489f9451ba4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 767954d9a765..fbc4e8d700d7 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.95.2](https://www.github.com/googleapis/java-core/compare/v1.95.1...v1.95.2) (2021-06-09) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v1.65.1 ([#471](https://www.github.com/googleapis/java-core/issues/471)) ([3814364](https://www.github.com/googleapis/java-core/commit/381436415073b728b4deb3f82fd129c887205c19)) + ### [1.95.1](https://www.github.com/googleapis/java-core/compare/v1.95.0...v1.95.1) (2021-06-09) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 54e99b20e32f..c22a201998f6 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.2-SNAPSHOT + 1.95.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.2-SNAPSHOT + 1.95.2 com.google.cloud google-cloud-core-grpc - 1.95.2-SNAPSHOT + 1.95.2 com.google.cloud google-cloud-core-http - 1.95.2-SNAPSHOT + 1.95.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e75355c53b96..1333b763a984 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 - 1.95.2-SNAPSHOT + 1.95.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.2-SNAPSHOT + 1.95.2 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 a4d6a590e032..aa8e0ed515e9 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 - 1.95.2-SNAPSHOT + 1.95.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.2-SNAPSHOT + 1.95.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 87844235b4bf..768b06a95b00 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 - 1.95.2-SNAPSHOT + 1.95.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.2-SNAPSHOT + 1.95.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 01b84637b317..d1dbebb28cd8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.2-SNAPSHOT + 1.95.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index a7786601ff79..d8525dbde11a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.1:1.95.2-SNAPSHOT \ No newline at end of file +google-cloud-core:1.95.2:1.95.2 \ No newline at end of file From 2898b413f552cf928865bcf60d6db47e2e5266c7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Jun 2021 19:26:03 +0000 Subject: [PATCH 1507/3036] chore: release 1.95.3-SNAPSHOT (#473) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c22a201998f6..210a0ac49b30 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.2 + 1.95.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.2 + 1.95.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.95.2 + 1.95.3-SNAPSHOT com.google.cloud google-cloud-core-http - 1.95.2 + 1.95.3-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1333b763a984..675c35950b6b 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 - 1.95.2 + 1.95.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.2 + 1.95.3-SNAPSHOT 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 aa8e0ed515e9..fea6a9ecb681 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 - 1.95.2 + 1.95.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.2 + 1.95.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 768b06a95b00..820631ca4479 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 - 1.95.2 + 1.95.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.2 + 1.95.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index d1dbebb28cd8..5cb529cfcdbf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.2 + 1.95.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index d8525dbde11a..aff6df46be0c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.2:1.95.2 \ No newline at end of file +google-cloud-core:1.95.2:1.95.3-SNAPSHOT \ No newline at end of file From 0549d60671d5ea7a6268d5d3ea09ba25a134d7ab Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Jun 2021 14:09:12 -0700 Subject: [PATCH 1508/3036] fix: Update dependencies.sh to not break on mac (#155) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/b5fd5569-500f-4ba2-ab66-4267a9ca39ba/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8f76a885deaaf2fe234daeba4a8cc4d1b3de8086 --- java-iam/.kokoro/dependencies.sh | 4 ++-- java-iam/synth.metadata | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index 59d2aafc790f..a7e999d33bfb 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -46,7 +46,7 @@ function completenessCheck() { # This is stripped from the output as it is not present in the flattened pom. # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." @@ -70,7 +70,7 @@ function completenessCheck() { set +e error_count=0 -for path in $(find -name ".flattened-pom.xml") +for path in **/.flattened-pom.xml do # Check flattened pom in each dir that contains it for completeness dir=$(dirname "$path") diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 9d176ec5e48e..a92815149b31 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "b2aaa811b5dbf63e036f578f009d4e523520f01d" + "sha": "6ba854faefc1d4592062dbbeda0c3226bcb1412c" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47" + "sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086" } } ], @@ -89,6 +89,7 @@ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "LICENSE", + "SECURITY.md", "codecov.yaml", "grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java", "java.header", From a82e1388be76274d6fcec75823db956b3873da73 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Jun 2021 16:02:36 -0700 Subject: [PATCH 1509/3036] fix: Update dependencies.sh to not break on mac (#384) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/f853e0b6-9a6b-4346-9a07-ff7c7ec6f858/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/8f76a885deaaf2fe234daeba4a8cc4d1b3de8086 --- java-shared-dependencies/.kokoro/dependencies.sh | 4 ++-- java-shared-dependencies/synth.metadata | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index 59d2aafc790f..a7e999d33bfb 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -46,7 +46,7 @@ function completenessCheck() { # This is stripped from the output as it is not present in the flattened pom. # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." @@ -70,7 +70,7 @@ function completenessCheck() { set +e error_count=0 -for path in $(find -name ".flattened-pom.xml") +for path in **/.flattened-pom.xml do # Check flattened pom in each dir that contains it for completeness dir=$(dirname "$path") diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index adb93e5791db..3f49dab74f4e 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "4b4dc836196e6c4d08725f201aa0f14fe145e3b3" + "sha": "44961532f621b0ab19e9e7feebb7d588aef5d423" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47" + "sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086" } } ], @@ -79,6 +79,7 @@ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "LICENSE", + "SECURITY.md", "codecov.yaml", "java.header", "license-checks.xml" From 91dfd6bb81c2d3061401699eef5be206cca2a6a1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Jun 2021 01:02:39 +0200 Subject: [PATCH 1510/3036] deps: update google.core.version to v1.95.2 (#383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.95.1` -> `1.95.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/compatibility-slim/1.95.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.95.2/confidence-slim/1.95.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `1.95.1` -> `1.95.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.2/compatibility-slim/1.95.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.95.2/confidence-slim/1.95.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v1.95.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1952-httpswwwgithubcomgoogleapisjava-corecomparev1951v1952-2021-06-09) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.95.1...v1.95.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cfdd2567f405..aa88016fc677 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.17.3 1.10.3 2.3.2 - 1.95.1 + 1.95.2 0.26.0 1.39.2 1.31.5 From a1e60b0a8a5829a20063bc21c5c5e5bccf50f1f2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 18 Jun 2021 00:32:57 +0200 Subject: [PATCH 1511/3036] deps: update dependency com.google.api:api-common to v1.10.4 (#385) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index aa88016fc677..b2e554387c96 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -59,7 +59,7 @@ 1.65.1 30.1.1-android 3.17.3 - 1.10.3 + 1.10.4 2.3.2 1.95.2 0.26.0 From eee941914418b6727a366e5bcc2b5dbf6bc93e78 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 18 Jun 2021 23:02:55 +0200 Subject: [PATCH 1512/3036] deps: update dependency io.grpc:grpc-bom to v1.38.1 (#476) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5cb529cfcdbf..0ff2b91fffbe 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.26.0 1.31.5 1.39.2 - 1.38.0 + 1.38.1 3.17.3 0.28.0 1.3.2 From e3065d795f8be6b8caadad630a558f3ddb9fc667 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 18 Jun 2021 23:04:19 +0200 Subject: [PATCH 1513/3036] deps: update dependency io.grpc:grpc-bom to v1.38.1 (#386) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b2e554387c96..d91a0918f5c1 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.38.0 + 1.38.1 1.65.1 30.1.1-android 3.17.3 From c6b15d7cf0a1380fb12a22fdaae9dbb28c5a4753 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 22 Jun 2021 08:24:03 -0700 Subject: [PATCH 1514/3036] chore: minimize noise from build scripts (#156) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/dea81e5d-32fc-4501-8cbd-fd12812774fe/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/1c0c698705e668ccb3d68556ae7260f16ce63a6e --- java-iam/.kokoro/coerce_logs.sh | 1 - java-iam/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/java-iam/.kokoro/coerce_logs.sh b/java-iam/.kokoro/coerce_logs.sh index 5cf7ba49e6bb..46edbf7f2fcd 100755 --- a/java-iam/.kokoro/coerce_logs.sh +++ b/java-iam/.kokoro/coerce_logs.sh @@ -28,7 +28,6 @@ job=$(basename ${KOKORO_JOB_NAME}) echo "coercing sponge logs..." for xml in `find . -name *-sponge_log.xml` do - echo "processing ${xml}" class=$(basename ${xml} | cut -d- -f2) dir=$(dirname ${xml})/${job}/${class} text=$(dirname ${xml})/${class}-sponge_log.txt diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index a92815149b31..c9ef945c8d4c 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "6ba854faefc1d4592062dbbeda0c3226bcb1412c" + "sha": "f3993d83efceda7f06e9da2624f418f6c69984e8" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086" + "sha": "1c0c698705e668ccb3d68556ae7260f16ce63a6e" } } ], From 1cd88ceef8c3601c097e72be268be48876212476 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 23 Jun 2021 13:58:36 +0200 Subject: [PATCH 1515/3036] deps: update dependency com.google.api:api-common to v1.10.4 (#475) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0ff2b91fffbe..97294b52d778 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.65.1 - 1.10.3 + 1.10.4 2.3.2 1.0.14 0.26.0 From 27a8c432db4569cf3e0f5dba38dfbff53b56cf90 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Jun 2021 12:06:09 +0000 Subject: [PATCH 1516/3036] chore: release 1.95.3 (#477) :robot: I have created a release \*beep\* \*boop\* --- ### [1.95.3](https://www.github.com/googleapis/java-core/compare/v1.95.2...v1.95.3) (2021-06-23) ### Dependencies * update dependency com.google.api:api-common to v1.10.4 ([#475](https://www.github.com/googleapis/java-core/issues/475)) ([1cd88ce](https://www.github.com/googleapis/java-core/commit/1cd88ceef8c3601c097e72be268be48876212476)) * update dependency io.grpc:grpc-bom to v1.38.1 ([#476](https://www.github.com/googleapis/java-core/issues/476)) ([eee9419](https://www.github.com/googleapis/java-core/commit/eee941914418b6727a366e5bcc2b5dbf6bc93e78)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index fbc4e8d700d7..6fa61fd76f42 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.95.3](https://www.github.com/googleapis/java-core/compare/v1.95.2...v1.95.3) (2021-06-23) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.4 ([#475](https://www.github.com/googleapis/java-core/issues/475)) ([5c8223d](https://www.github.com/googleapis/java-core/commit/5c8223df9d4e30b6f2fadd4985c3bcfc5b0ff4ec)) +* update dependency io.grpc:grpc-bom to v1.38.1 ([#476](https://www.github.com/googleapis/java-core/issues/476)) ([b6a7923](https://www.github.com/googleapis/java-core/commit/b6a7923e255f0146e126bad2296e12e9d591c04d)) + ### [1.95.2](https://www.github.com/googleapis/java-core/compare/v1.95.1...v1.95.2) (2021-06-09) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 210a0ac49b30..a3b750abbd8a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.3-SNAPSHOT + 1.95.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.3-SNAPSHOT + 1.95.3 com.google.cloud google-cloud-core-grpc - 1.95.3-SNAPSHOT + 1.95.3 com.google.cloud google-cloud-core-http - 1.95.3-SNAPSHOT + 1.95.3 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 675c35950b6b..c63fc1ad7607 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 - 1.95.3-SNAPSHOT + 1.95.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.3-SNAPSHOT + 1.95.3 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 fea6a9ecb681..e9793311e060 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 - 1.95.3-SNAPSHOT + 1.95.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.3-SNAPSHOT + 1.95.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 820631ca4479..5fe88a0238af 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 - 1.95.3-SNAPSHOT + 1.95.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.3-SNAPSHOT + 1.95.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 97294b52d778..2425b0ffa297 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.3-SNAPSHOT + 1.95.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index aff6df46be0c..6f780af86dc3 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.2:1.95.3-SNAPSHOT \ No newline at end of file +google-cloud-core:1.95.3:1.95.3 \ No newline at end of file From 1f5b8cd78710c66465a2bd1f78220cbf17f1b2c5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Jun 2021 12:12:23 +0000 Subject: [PATCH 1517/3036] chore: release 1.95.4-SNAPSHOT (#478) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a3b750abbd8a..448b3bc353f9 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.3 + 1.95.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.3 + 1.95.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.95.3 + 1.95.4-SNAPSHOT com.google.cloud google-cloud-core-http - 1.95.3 + 1.95.4-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c63fc1ad7607..43aec423bb7e 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 - 1.95.3 + 1.95.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.3 + 1.95.4-SNAPSHOT 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 e9793311e060..f0e87f926500 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 - 1.95.3 + 1.95.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.3 + 1.95.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5fe88a0238af..0bf85d38cd56 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 - 1.95.3 + 1.95.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.3 + 1.95.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2425b0ffa297..1fef515e048f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.3 + 1.95.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6f780af86dc3..faedf0220448 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.3:1.95.3 \ No newline at end of file +google-cloud-core:1.95.3:1.95.4-SNAPSHOT \ No newline at end of file From 0e90f1f8cc4f1ba9125627f1ee5f30d97d873340 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 23 Jun 2021 09:00:23 -0700 Subject: [PATCH 1518/3036] fix: Add `shopt -s nullglob` to dependencies script (#157) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/cd34dfb7-3618-40fb-a77a-3607ab770983/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/87254ac89a9559864c0a245d6b150406439ce3d8 --- java-iam/.kokoro/dependencies.sh | 1 + java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index a7e999d33bfb..9030ba8f99ff 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -14,6 +14,7 @@ # limitations under the License. set -eo pipefail +shopt -s nullglob ## Get the directory of the build script scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index c9ef945c8d4c..ffba2f74a436 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "f3993d83efceda7f06e9da2624f418f6c69984e8" + "sha": "0807a4fa801d7884effba507863febfb0e3811c6" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1c0c698705e668ccb3d68556ae7260f16ce63a6e" + "sha": "87254ac89a9559864c0a245d6b150406439ce3d8" } } ], From 475cbdea7c4a729335156ab7ae13f18a1b0967c1 Mon Sep 17 00:00:00 2001 From: Yuri Golobokov Date: Wed, 23 Jun 2021 13:12:39 -0700 Subject: [PATCH 1519/3036] feat: add grpc-gcp to dependencyManagement (#389) Add gRPC-GCP extension library to shared dependencies. This will be used by the Spanner client first: https://github.com/googleapis/java-spanner/pull/1227 --- java-shared-dependencies/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d91a0918f5c1..08efff9eff2d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -57,6 +57,7 @@ 1.38.1 1.65.1 + 1.0.0 30.1.1-android 3.17.3 1.10.4 @@ -93,6 +94,11 @@ pom import + + com.google.cloud + grpc-gcp + ${grpc-gcp.version} + com.google.guava guava-bom From 427879ee174a20c1b842e03e7248ee798ef295ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 24 Jun 2021 03:28:03 +0200 Subject: [PATCH 1520/3036] deps: update google.core.version to v1.95.3 (#388) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 08efff9eff2d..07bdccb54044 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 1.10.4 2.3.2 - 1.95.2 + 1.95.3 0.26.0 1.39.2 1.31.5 From 031c5508eb045b77f0743cbae33a636bf10f827c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 24 Jun 2021 23:07:52 +0200 Subject: [PATCH 1521/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.32.1 (#390) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 07bdccb54044..425937efbda0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,7 +65,7 @@ 1.95.3 0.26.0 1.39.2 - 1.31.5 + 1.32.1 2.8.7 1.5.1 1.3.2 From 5b24d613a3a5d32889b7eaea802d9f04494fc387 Mon Sep 17 00:00:00 2001 From: dpcollins-google <40498610+dpcollins-google@users.noreply.github.com> Date: Thu, 24 Jun 2021 17:26:18 -0400 Subject: [PATCH 1522/3036] fix: Add common httpclient and oauth dependencies (#391) * fix: Add common httpclient and oauth dependencies to java-shared-dependencies * fix: httpcore version * fix: address comments --- java-shared-dependencies/pom.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 425937efbda0..cee88997c53e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,6 +65,7 @@ 1.95.3 0.26.0 1.39.2 + 1.31.5 1.32.1 2.8.7 1.5.1 @@ -76,6 +77,8 @@ 2.7.1 2.12.3 1.15 + 4.4.14 + 4.5.13 @@ -114,6 +117,19 @@ pom import + + + + org.apache.httpcomponents + httpcore + ${httpcomponents.httpcore.version} + + + org.apache.httpcomponents + httpclient + ${httpcomponents.httpclient.version} + + com.google.api api-common @@ -155,6 +171,13 @@ pom import + + com.google.oauth-client + google-oauth-client-bom + ${google.oauth-client.version} + pom + import + com.google.api-client google-api-client-bom From 4eec90de857467a72aca73b871e572626e8d656b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 24 Jun 2021 14:26:34 -0700 Subject: [PATCH 1523/3036] chore: minimize noise from build scripts (#387) This should limit the amount of scrolling client devs have to do when debugging a test failure Co-authored-by: Elliotte Rusty Harold Co-authored-by: Neenu Shaji Source-Author: Igor Bernstein Source-Date: Fri Jun 18 17:28:07 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 1c0c698705e668ccb3d68556ae7260f16ce63a6e Source-Link: https://github.com/googleapis/synthtool/commit/1c0c698705e668ccb3d68556ae7260f16ce63a6e --- java-shared-dependencies/.kokoro/coerce_logs.sh | 1 - java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.kokoro/coerce_logs.sh b/java-shared-dependencies/.kokoro/coerce_logs.sh index 5cf7ba49e6bb..46edbf7f2fcd 100755 --- a/java-shared-dependencies/.kokoro/coerce_logs.sh +++ b/java-shared-dependencies/.kokoro/coerce_logs.sh @@ -28,7 +28,6 @@ job=$(basename ${KOKORO_JOB_NAME}) echo "coercing sponge logs..." for xml in `find . -name *-sponge_log.xml` do - echo "processing ${xml}" class=$(basename ${xml} | cut -d- -f2) dir=$(dirname ${xml})/${job}/${class} text=$(dirname ${xml})/${class}-sponge_log.txt diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 3f49dab74f4e..97d521320d1f 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "44961532f621b0ab19e9e7feebb7d588aef5d423" + "sha": "7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8f76a885deaaf2fe234daeba4a8cc4d1b3de8086" + "sha": "1c0c698705e668ccb3d68556ae7260f16ce63a6e" } } ], From bd202c1a236575a643fba1b7c4d06a71c4c5731f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 25 Jun 2021 18:12:24 +0200 Subject: [PATCH 1524/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.32.1 (#479) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1fef515e048f..233910db6023 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.3.2 1.0.14 0.26.0 - 1.31.5 + 1.32.1 1.39.2 1.38.1 3.17.3 From 90a705fef72dadb50ce2d8b7713426b17ebb7696 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 25 Jun 2021 16:18:17 +0000 Subject: [PATCH 1525/3036] chore: release 1.95.4 (#480) :robot: I have created a release \*beep\* \*boop\* --- ### [1.95.4](https://www.github.com/googleapis/java-core/compare/v1.95.3...v1.95.4) (2021-06-25) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#479](https://www.github.com/googleapis/java-core/issues/479)) ([bd202c1](https://www.github.com/googleapis/java-core/commit/bd202c1a236575a643fba1b7c4d06a71c4c5731f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 6fa61fd76f42..b948db7621d9 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.95.4](https://www.github.com/googleapis/java-core/compare/v1.95.3...v1.95.4) (2021-06-25) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#479](https://www.github.com/googleapis/java-core/issues/479)) ([5f9f732](https://www.github.com/googleapis/java-core/commit/5f9f73212c8073c3b590206f69a2446c8bce2c75)) + ### [1.95.3](https://www.github.com/googleapis/java-core/compare/v1.95.2...v1.95.3) (2021-06-23) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 448b3bc353f9..ff3fa9d84476 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.4-SNAPSHOT + 1.95.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.4-SNAPSHOT + 1.95.4 com.google.cloud google-cloud-core-grpc - 1.95.4-SNAPSHOT + 1.95.4 com.google.cloud google-cloud-core-http - 1.95.4-SNAPSHOT + 1.95.4 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 43aec423bb7e..9b91ac6b6a93 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 - 1.95.4-SNAPSHOT + 1.95.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.4-SNAPSHOT + 1.95.4 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 f0e87f926500..ccb3409ffff3 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 - 1.95.4-SNAPSHOT + 1.95.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.4-SNAPSHOT + 1.95.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0bf85d38cd56..ce7cbc323a96 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 - 1.95.4-SNAPSHOT + 1.95.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.4-SNAPSHOT + 1.95.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 233910db6023..0e254699dcad 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.4-SNAPSHOT + 1.95.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index faedf0220448..c08c10ede59c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.3:1.95.4-SNAPSHOT \ No newline at end of file +google-cloud-core:1.95.4:1.95.4 \ No newline at end of file From b816ae90e422311dd0e18d601450d7fa93d18dd4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 25 Jun 2021 16:26:23 +0000 Subject: [PATCH 1526/3036] chore: release 1.95.5-SNAPSHOT (#481) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index ff3fa9d84476..baeef0c1f4e5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.4 + 1.95.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.4 + 1.95.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.95.4 + 1.95.5-SNAPSHOT com.google.cloud google-cloud-core-http - 1.95.4 + 1.95.5-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9b91ac6b6a93..5fcfc4af1e12 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 - 1.95.4 + 1.95.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.4 + 1.95.5-SNAPSHOT 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 ccb3409ffff3..dd7ebc7e86e1 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 - 1.95.4 + 1.95.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.4 + 1.95.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ce7cbc323a96..a685b96bdede 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 - 1.95.4 + 1.95.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.4 + 1.95.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 0e254699dcad..ef06b64cbaf4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.4 + 1.95.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c08c10ede59c..39e94a33b58d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.4:1.95.4 \ No newline at end of file +google-cloud-core:1.95.4:1.95.5-SNAPSHOT \ No newline at end of file From 828c3f35aabcdbbd7fd8ce9949b8da073aa0dc35 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Jun 2021 17:09:10 +0200 Subject: [PATCH 1527/3036] deps: update google.core.version to v1.95.4 (#393) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cee88997c53e..ccc874f8e533 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 1.10.4 2.3.2 - 1.95.3 + 1.95.4 0.26.0 1.39.2 1.31.5 From 3a9e25c6ff77d227ec28c46a4cfdf20e982305d3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 29 Jun 2021 13:15:46 -0700 Subject: [PATCH 1528/3036] fix: Add `shopt -s nullglob` to dependencies script (#392) This prevents processing the unexpanded glob "**/.flattened-pom.xml" in repos which do not flatten any POMs. Source-Author: dpcollins-google <40498610+dpcollins-google@users.noreply.github.com> Source-Date: Sat Jun 19 18:35:58 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 87254ac89a9559864c0a245d6b150406439ce3d8 Source-Link: https://github.com/googleapis/synthtool/commit/87254ac89a9559864c0a245d6b150406439ce3d8 --- java-shared-dependencies/.kokoro/dependencies.sh | 1 + java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index a7e999d33bfb..9030ba8f99ff 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -14,6 +14,7 @@ # limitations under the License. set -eo pipefail +shopt -s nullglob ## Get the directory of the build script scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 97d521320d1f..3f2c63972e3a 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca" + "sha": "7b87c9aff5604dd894296a641fb34a3e8a73395c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1c0c698705e668ccb3d68556ae7260f16ce63a6e" + "sha": "87254ac89a9559864c0a245d6b150406439ce3d8" } } ], From 3e82270634ade1542cc15c699c5c35939f688ffa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 30 Jun 2021 16:52:23 +0200 Subject: [PATCH 1529/3036] deps: update dependency io.grpc:grpc-bom to v1.39.0 (#394) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.38.1` -> `1.39.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/compatibility-slim/1.38.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/confidence-slim/1.38.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.39.0`](https://togithub.com/grpc/grpc-java/releases/v1.39.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.38.1...v1.39.0) ### API Changes - Static methods in Builders that always throw are now annotated [@​DoNotCall](https://togithub.com/DoNotCall). This annotation can be noticed by ErrorProne and inform you of a mistake at compile time instead of runtime. This applies to static methods like InProcessServerBuilder.forPort(int) which are inherited from base classes like ServerBuilder/ManagedChannelBuilder yet are a bug if used. - api, core: Support zero copy into protobuf. New APIs have been added to support the custom implementation of a zero-copy Protobuf deserialization marshaller. The `HasByteBuffer` API exposes ByteBuffers underlying the InputStream being passed to the `Marshaller` and the `Detachable` API allows custom Marshaller to take over the ownership of buffers for performing delayed deserialization. - NettyChannelBuilder supports SocketAddress with ChannelCredentials. ### Bug Fixes - netty: Remove Maven pom.properties from netty-shaded jar. The properties don’t add much value and mainly confuse tools in a shaded jar. - netty-shaded: Modify the shading operation to transform native-image resources so they correctly reference shaded class names ([#​7540](https://togithub.com/grpc/grpc-java/issues/7540)) - xds: Shut down the scheduledExecutorService in the CertificateProvider when it is shutdown. - xds: Close the SslContexrProviderSupplier when a CDS LoadBalancer is shut down to prevent leakage. - xds, grpclb: Use a standalone Context for control plane RPCs. The existing behavior of implicitly using the Context in ThreadLocal can cause control plane RPCs to be cancelled prematurely, in cases the data plane RPC is made within a gRPC service to another service. To avoid being impacted by data plane RPC lifecycle, the fix creates standalone Context for control plane RPCs. - xds: cluster_resolver LB policy should wait until all clusters are resolved before propagating endpoints to child LB policy. Previously, the cluster_resolver LB policy propagated partially resolved results (endpoints for a subset of clusters) to its child LB policy, which can cause RPCs to be sent to less favored clusters before endpoints of more favored clusters are discovered. - xds: use load assignment endpoint address in Cluster as the DNS hostname for LOGICAL_DNS. The LOGICAL_DNS concept was misunderstood previously. Instead of using the channel authority, the hostname should be given by Cluster resource in CDS responses. - grpclb: skip fallback if the LB is already in fallback mode. An invariant check for gRPCLB LB policy’s internal state introduced by [#​8035](https://togithub.com/grpc/grpc-java/issues/8035) is broken in case the LB policy is in fallback mode while receiving an address update without remote balancer addresses. The fix mitigated the temporal invariant violation. ### New Features - compiler: Add support for ppc64le on RHEL8. ### Dependencies - Protobuf upgraded to 3.17.2 - We now use custom Gradle logic to determine if Maven’s requireUpperBoundDeps would fail for our published artifacts instead of Gradle’s failOnVersionConflict. This means we now make use of fewer dependency exclusions ([#​8238](https://togithub.com/grpc/grpc-java/issues/8238)). failOnVersionConflict has similar behavior to dependencyConvergence but we previously lacked a more precise tool to detect cases where Maven would downgrade dependencies. We strongly encourage all Maven users to use Maven Enforcer’s requireUpperBoundDeps and continue to discourage using dependencyConvergence Acknowledgements [@​lepistone](https://togithub.com/lepistone) Leonardo Pistone [@​shirodkara](https://togithub.com/shirodkara) Amit Shirodkar [@​cfredri4](https://togithub.com/cfredri4)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ccc874f8e533..f3fc0a2d62cd 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.38.1 + 1.39.0 1.65.1 1.0.0 30.1.1-android From 5ecc52509b4fd9828e735f894a31a6be96074f93 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 30 Jun 2021 20:16:23 +0200 Subject: [PATCH 1530/3036] deps: update gax.version to v1.66.0 (#395) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `1.65.1` -> `1.66.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.66.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.66.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.66.0/compatibility-slim/1.65.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/1.66.0/confidence-slim/1.65.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `1.65.1` -> `1.66.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/compatibility-slim/1.65.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/confidence-slim/1.65.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v1.66.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1660-httpswwwgithubcomgoogleapisgax-javacomparev1651v1660-2021-06-24) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.65.1...v1.66.0) ##### Features - make ApiTracer internal API ([#​1414](https://www.github.com/googleapis/gax-java/issues/1414)) ([e3e8462](https://www.github.com/googleapis/gax-java/commit/e3e8462a2f9e866480ec2106dc59555d41ea4bb5)) ##### [1.65.1](https://www.github.com/googleapis/gax-java/compare/v1.65.0...v1.65.1) (2021-06-08) ##### Bug Fixes - fix grammar in StubSetting comment ([#​1397](https://www.github.com/googleapis/gax-java/issues/1397)) ([b015910](https://www.github.com/googleapis/gax-java/commit/b0159102b52fd4b778a9bde15b1acd2e9fa6958e))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f3fc0a2d62cd..ca473bffd54d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.39.0 - 1.65.1 + 1.66.0 1.0.0 30.1.1-android 3.17.3 From dd142080bb307972938b5931a905ad81784b05c5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 30 Jun 2021 18:40:24 +0000 Subject: [PATCH 1531/3036] chore: release 1.4.0 (#380) :robot: I have created a release \*beep\* \*boop\* --- ## [1.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.3.0...v1.4.0) (2021-06-30) ### Features * add grpc-gcp to dependencyManagement ([#389](https://www.github.com/googleapis/java-shared-dependencies/issues/389)) ([475cbde](https://www.github.com/googleapis/java-shared-dependencies/commit/475cbdea7c4a729335156ab7ae13f18a1b0967c1)) ### Bug Fixes * Add `shopt -s nullglob` to dependencies script ([#392](https://www.github.com/googleapis/java-shared-dependencies/issues/392)) ([3a9e25c](https://www.github.com/googleapis/java-shared-dependencies/commit/3a9e25c6ff77d227ec28c46a4cfdf20e982305d3)) * Add common httpclient and oauth dependencies ([#391](https://www.github.com/googleapis/java-shared-dependencies/issues/391)) ([5b24d61](https://www.github.com/googleapis/java-shared-dependencies/commit/5b24d613a3a5d32889b7eaea802d9f04494fc387)) * Update dependencies.sh to not break on mac ([#384](https://www.github.com/googleapis/java-shared-dependencies/issues/384)) ([a82e138](https://www.github.com/googleapis/java-shared-dependencies/commit/a82e1388be76274d6fcec75823db956b3873da73)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#390](https://www.github.com/googleapis/java-shared-dependencies/issues/390)) ([031c550](https://www.github.com/googleapis/java-shared-dependencies/commit/031c5508eb045b77f0743cbae33a636bf10f827c)) * update dependency com.google.api:api-common to v1.10.4 ([#385](https://www.github.com/googleapis/java-shared-dependencies/issues/385)) ([a1e60b0](https://www.github.com/googleapis/java-shared-dependencies/commit/a1e60b0a8a5829a20063bc21c5c5e5bccf50f1f2)) * update dependency com.google.api:gax-grpc to v1.65.1 ([#382](https://www.github.com/googleapis/java-shared-dependencies/issues/382)) ([8e93aa5](https://www.github.com/googleapis/java-shared-dependencies/commit/8e93aa55d2bf329d1eeaef76d805e1584834d8bb)) * update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#379](https://www.github.com/googleapis/java-shared-dependencies/issues/379)) ([44a8182](https://www.github.com/googleapis/java-shared-dependencies/commit/44a8182e7b5003714261e0837486212a738111a6)) * update dependency io.grpc:grpc-bom to v1.38.1 ([#386](https://www.github.com/googleapis/java-shared-dependencies/issues/386)) ([e3065d7](https://www.github.com/googleapis/java-shared-dependencies/commit/e3065d795f8be6b8caadad630a558f3ddb9fc667)) * update dependency io.grpc:grpc-bom to v1.39.0 ([#394](https://www.github.com/googleapis/java-shared-dependencies/issues/394)) ([3e82270](https://www.github.com/googleapis/java-shared-dependencies/commit/3e82270634ade1542cc15c699c5c35939f688ffa)) * update gax.version to v1.66.0 ([#395](https://www.github.com/googleapis/java-shared-dependencies/issues/395)) ([5ecc525](https://www.github.com/googleapis/java-shared-dependencies/commit/5ecc52509b4fd9828e735f894a31a6be96074f93)) * update google.core.version to v1.95.1 ([#381](https://www.github.com/googleapis/java-shared-dependencies/issues/381)) ([9feadaf](https://www.github.com/googleapis/java-shared-dependencies/commit/9feadaf24d8e9856b9273cd96c3a0621eb0fe79c)) * update google.core.version to v1.95.2 ([#383](https://www.github.com/googleapis/java-shared-dependencies/issues/383)) ([91dfd6b](https://www.github.com/googleapis/java-shared-dependencies/commit/91dfd6bb81c2d3061401699eef5be206cca2a6a1)) * update google.core.version to v1.95.3 ([#388](https://www.github.com/googleapis/java-shared-dependencies/issues/388)) ([427879e](https://www.github.com/googleapis/java-shared-dependencies/commit/427879ee174a20c1b842e03e7248ee798ef295ab)) * update google.core.version to v1.95.4 ([#393](https://www.github.com/googleapis/java-shared-dependencies/issues/393)) ([828c3f3](https://www.github.com/googleapis/java-shared-dependencies/commit/828c3f35aabcdbbd7fd8ce9949b8da073aa0dc35)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 29 +++++++++++++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 5f59f0a0cbed..2ddf93aa5b0c 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [1.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.3.0...v1.4.0) (2021-06-30) + + +### Features + +* add grpc-gcp to dependencyManagement ([#389](https://www.github.com/googleapis/java-shared-dependencies/issues/389)) ([57fd2e6](https://www.github.com/googleapis/java-shared-dependencies/commit/57fd2e646e28e37e0b5e4e1b37425d4897a8776f)) + + +### Bug Fixes + +* Add `shopt -s nullglob` to dependencies script ([#392](https://www.github.com/googleapis/java-shared-dependencies/issues/392)) ([f8f29df](https://www.github.com/googleapis/java-shared-dependencies/commit/f8f29df1c9cc6eca517c99113fb9509fd611ac92)) +* Add common httpclient and oauth dependencies ([#391](https://www.github.com/googleapis/java-shared-dependencies/issues/391)) ([09660e1](https://www.github.com/googleapis/java-shared-dependencies/commit/09660e1e50c96dcd7df4e80d8ad357f8256eda6c)) +* Update dependencies.sh to not break on mac ([#384](https://www.github.com/googleapis/java-shared-dependencies/issues/384)) ([0ae2841](https://www.github.com/googleapis/java-shared-dependencies/commit/0ae2841d7ce2885d041795c58a38d2d3973c2e5a)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#390](https://www.github.com/googleapis/java-shared-dependencies/issues/390)) ([00288c1](https://www.github.com/googleapis/java-shared-dependencies/commit/00288c18d09616582c8bec961ecc5c00ef1d4288)) +* update dependency com.google.api:api-common to v1.10.4 ([#385](https://www.github.com/googleapis/java-shared-dependencies/issues/385)) ([5f2b39b](https://www.github.com/googleapis/java-shared-dependencies/commit/5f2b39b5bdc4cec9d5ab2f050e11000ed372d057)) +* update dependency com.google.api:gax-grpc to v1.65.1 ([#382](https://www.github.com/googleapis/java-shared-dependencies/issues/382)) ([a2a1547](https://www.github.com/googleapis/java-shared-dependencies/commit/a2a15471dee21207a0b97b3bc8f6f59d6a4a2d13)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#379](https://www.github.com/googleapis/java-shared-dependencies/issues/379)) ([6f43eb5](https://www.github.com/googleapis/java-shared-dependencies/commit/6f43eb553dca98140d343bee3f1003096d79ee6c)) +* update dependency io.grpc:grpc-bom to v1.38.1 ([#386](https://www.github.com/googleapis/java-shared-dependencies/issues/386)) ([7b1d4cf](https://www.github.com/googleapis/java-shared-dependencies/commit/7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca)) +* update dependency io.grpc:grpc-bom to v1.39.0 ([#394](https://www.github.com/googleapis/java-shared-dependencies/issues/394)) ([ebc8af6](https://www.github.com/googleapis/java-shared-dependencies/commit/ebc8af6b3f850b58b35d9720a7a0b1545d4616bd)) +* update gax.version to v1.66.0 ([#395](https://www.github.com/googleapis/java-shared-dependencies/issues/395)) ([c73f73e](https://www.github.com/googleapis/java-shared-dependencies/commit/c73f73e84740a8117be342a66e179eaf3e29c6fd)) +* update google.core.version to v1.95.1 ([#381](https://www.github.com/googleapis/java-shared-dependencies/issues/381)) ([4496153](https://www.github.com/googleapis/java-shared-dependencies/commit/44961532f621b0ab19e9e7feebb7d588aef5d423)) +* update google.core.version to v1.95.2 ([#383](https://www.github.com/googleapis/java-shared-dependencies/issues/383)) ([7216859](https://www.github.com/googleapis/java-shared-dependencies/commit/7216859bcd67fa1ce1119831c33c50a2d5b79324)) +* update google.core.version to v1.95.3 ([#388](https://www.github.com/googleapis/java-shared-dependencies/issues/388)) ([354e4e8](https://www.github.com/googleapis/java-shared-dependencies/commit/354e4e811f4ba886406681a4261ac0455a9eb2d2)) +* update google.core.version to v1.95.4 ([#393](https://www.github.com/googleapis/java-shared-dependencies/issues/393)) ([be78ad8](https://www.github.com/googleapis/java-shared-dependencies/commit/be78ad85e31d8876eabafee7aa8242712573cb46)) + ## [1.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.2.0...v1.3.0) (2021-06-03) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 8740845c1204..b37dc4cf6af4 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, use this artifact as your project's parent. com.google.cloud google-cloud-shared-dependencies - 1.3.0 + 1.4.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ca473bffd54d..3f58b57094c1 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 - 1.3.1-SNAPSHOT + 1.4.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index c1c88a30d485..bb4beeb8440f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.3.0:1.3.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:1.4.0:1.4.0 \ No newline at end of file From d67f55288d197352d539312d2bb4c9d34ec6299b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 2 Jul 2021 01:23:12 +0200 Subject: [PATCH 1532/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 (#158) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.3.0` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/1.4.0/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​140-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare130v140-2021-06-30) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.3.0...v1.4.0) ##### Features - add grpc-gcp to dependencyManagement ([#​389](https://www.github.com/googleapis/java-shared-dependencies/issues/389)) ([57fd2e6](https://www.github.com/googleapis/java-shared-dependencies/commit/57fd2e646e28e37e0b5e4e1b37425d4897a8776f)) ##### Bug Fixes - Add `shopt -s nullglob` to dependencies script ([#​392](https://www.github.com/googleapis/java-shared-dependencies/issues/392)) ([f8f29df](https://www.github.com/googleapis/java-shared-dependencies/commit/f8f29df1c9cc6eca517c99113fb9509fd611ac92)) - Add common httpclient and oauth dependencies ([#​391](https://www.github.com/googleapis/java-shared-dependencies/issues/391)) ([09660e1](https://www.github.com/googleapis/java-shared-dependencies/commit/09660e1e50c96dcd7df4e80d8ad357f8256eda6c)) - Update dependencies.sh to not break on mac ([#​384](https://www.github.com/googleapis/java-shared-dependencies/issues/384)) ([0ae2841](https://www.github.com/googleapis/java-shared-dependencies/commit/0ae2841d7ce2885d041795c58a38d2d3973c2e5a)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#​390](https://www.github.com/googleapis/java-shared-dependencies/issues/390)) ([00288c1](https://www.github.com/googleapis/java-shared-dependencies/commit/00288c18d09616582c8bec961ecc5c00ef1d4288)) - update dependency com.google.api:api-common to v1.10.4 ([#​385](https://www.github.com/googleapis/java-shared-dependencies/issues/385)) ([5f2b39b](https://www.github.com/googleapis/java-shared-dependencies/commit/5f2b39b5bdc4cec9d5ab2f050e11000ed372d057)) - update dependency com.google.api:gax-grpc to v1.65.1 ([#​382](https://www.github.com/googleapis/java-shared-dependencies/issues/382)) ([a2a1547](https://www.github.com/googleapis/java-shared-dependencies/commit/a2a15471dee21207a0b97b3bc8f6f59d6a4a2d13)) - update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#​379](https://www.github.com/googleapis/java-shared-dependencies/issues/379)) ([6f43eb5](https://www.github.com/googleapis/java-shared-dependencies/commit/6f43eb553dca98140d343bee3f1003096d79ee6c)) - update dependency io.grpc:grpc-bom to v1.38.1 ([#​386](https://www.github.com/googleapis/java-shared-dependencies/issues/386)) ([7b1d4cf](https://www.github.com/googleapis/java-shared-dependencies/commit/7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca)) - update dependency io.grpc:grpc-bom to v1.39.0 ([#​394](https://www.github.com/googleapis/java-shared-dependencies/issues/394)) ([ebc8af6](https://www.github.com/googleapis/java-shared-dependencies/commit/ebc8af6b3f850b58b35d9720a7a0b1545d4616bd)) - update gax.version to v1.66.0 ([#​395](https://www.github.com/googleapis/java-shared-dependencies/issues/395)) ([c73f73e](https://www.github.com/googleapis/java-shared-dependencies/commit/c73f73e84740a8117be342a66e179eaf3e29c6fd)) - update google.core.version to v1.95.1 ([#​381](https://www.github.com/googleapis/java-shared-dependencies/issues/381)) ([4496153](https://www.github.com/googleapis/java-shared-dependencies/commit/44961532f621b0ab19e9e7feebb7d588aef5d423)) - update google.core.version to v1.95.2 ([#​383](https://www.github.com/googleapis/java-shared-dependencies/issues/383)) ([7216859](https://www.github.com/googleapis/java-shared-dependencies/commit/7216859bcd67fa1ce1119831c33c50a2d5b79324)) - update google.core.version to v1.95.3 ([#​388](https://www.github.com/googleapis/java-shared-dependencies/issues/388)) ([354e4e8](https://www.github.com/googleapis/java-shared-dependencies/commit/354e4e811f4ba886406681a4261ac0455a9eb2d2)) - update google.core.version to v1.95.4 ([#​393](https://www.github.com/googleapis/java-shared-dependencies/issues/393)) ([be78ad8](https://www.github.com/googleapis/java-shared-dependencies/commit/be78ad85e31d8876eabafee7aa8242712573cb46))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9cd5c31feafd..e21fe06b4896 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.3.0 + 1.4.0 pom import From 4e4575ad658b263f865299d5bc19f69d54d4ae99 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 5 Jul 2021 14:12:23 -0400 Subject: [PATCH 1533/3036] chore: add pubsub and bigtable downstream dependency checks (#397) --- java-shared-dependencies/.github/workflows/downstream.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml index c103f0f3e033..40817e11cc69 100644 --- a/java-shared-dependencies/.github/workflows/downstream.yaml +++ b/java-shared-dependencies/.github/workflows/downstream.yaml @@ -16,6 +16,7 @@ jobs: - java-bigqueryconnection - java-spanner - java-storage + - java-pubsub steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 From 6fe4d9588fc2c4d4916c213bd9a139a1f8a824c0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 6 Jul 2021 12:24:27 -0700 Subject: [PATCH 1534/3036] fix: Update dependencies.sh to not break on mac (#484) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/f02444d0-f842-41a5-9bbc-5ad61a97b71d/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/87254ac89a9559864c0a245d6b150406439ce3d8 Source-Link: https://github.com/googleapis/synthtool/commit/1c0c698705e668ccb3d68556ae7260f16ce63a6e Source-Link: https://github.com/googleapis/synthtool/commit/8f76a885deaaf2fe234daeba4a8cc4d1b3de8086 chore: minimize noise from build scripts fix: Add shopt -s nullglob to dependencies script --- java-core/.kokoro/coerce_logs.sh | 1 - java-core/.kokoro/dependencies.sh | 5 +++-- java-core/synth.metadata | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/java-core/.kokoro/coerce_logs.sh b/java-core/.kokoro/coerce_logs.sh index 5cf7ba49e6bb..46edbf7f2fcd 100755 --- a/java-core/.kokoro/coerce_logs.sh +++ b/java-core/.kokoro/coerce_logs.sh @@ -28,7 +28,6 @@ job=$(basename ${KOKORO_JOB_NAME}) echo "coercing sponge logs..." for xml in `find . -name *-sponge_log.xml` do - echo "processing ${xml}" class=$(basename ${xml} | cut -d- -f2) dir=$(dirname ${xml})/${job}/${class} text=$(dirname ${xml})/${class}-sponge_log.txt diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index 59d2aafc790f..9030ba8f99ff 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -14,6 +14,7 @@ # limitations under the License. set -eo pipefail +shopt -s nullglob ## Get the directory of the build script scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) @@ -46,7 +47,7 @@ function completenessCheck() { # This is stripped from the output as it is not present in the flattened pom. # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." @@ -70,7 +71,7 @@ function completenessCheck() { set +e error_count=0 -for path in $(find -name ".flattened-pom.xml") +for path in **/.flattened-pom.xml do # Check flattened pom in each dir that contains it for completeness dir=$(dirname "$path") diff --git a/java-core/synth.metadata b/java-core/synth.metadata index ac2b4261a364..272675980995 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "4195293bd698c0c3a5e5cb80b068354877f7ce9f" + "sha": "9f26800e9c531ba0b4f9f9bde0786f72ef14c0df" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47" + "sha": "87254ac89a9559864c0a245d6b150406439ce3d8" } } ], @@ -81,6 +81,7 @@ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "LICENSE", + "SECURITY.md", "codecov.yaml", "java.header", "license-checks.xml", From d124545f65267c646ae21cfb3b4855722e0c795c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 6 Jul 2021 21:26:11 +0200 Subject: [PATCH 1535/3036] deps: update dependency io.grpc:grpc-bom to v1.39.0 (#482) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.38.1` -> `1.39.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/compatibility-slim/1.38.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.39.0/confidence-slim/1.38.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.39.0`](https://togithub.com/grpc/grpc-java/releases/v1.39.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.38.1...v1.39.0) ##### API Changes - Static methods in Builders that always throw are now annotated [@​DoNotCall](https://togithub.com/DoNotCall). This annotation can be noticed by ErrorProne and inform you of a mistake at compile time instead of runtime. This applies to static methods like InProcessServerBuilder.forPort(int) which are inherited from base classes like ServerBuilder/ManagedChannelBuilder yet are a bug if used. - api, core: Support zero copy into protobuf. New APIs have been added to support the custom implementation of a zero-copy Protobuf deserialization marshaller. The `HasByteBuffer` API exposes ByteBuffers underlying the InputStream being passed to the `Marshaller` and the `Detachable` API allows custom Marshaller to take over the ownership of buffers for performing delayed deserialization. - NettyChannelBuilder supports SocketAddress with ChannelCredentials. ##### Bug Fixes - netty: Remove Maven pom.properties from netty-shaded jar. The properties don’t add much value and mainly confuse tools in a shaded jar. - netty-shaded: Modify the shading operation to transform native-image resources so they correctly reference shaded class names ([#​7540](https://togithub.com/grpc/grpc-java/issues/7540)) - xds: Shut down the scheduledExecutorService in the CertificateProvider when it is shutdown. - xds: Close the SslContexrProviderSupplier when a CDS LoadBalancer is shut down to prevent leakage. - xds, grpclb: Use a standalone Context for control plane RPCs. The existing behavior of implicitly using the Context in ThreadLocal can cause control plane RPCs to be cancelled prematurely, in cases the data plane RPC is made within a gRPC service to another service. To avoid being impacted by data plane RPC lifecycle, the fix creates standalone Context for control plane RPCs. - xds: cluster_resolver LB policy should wait until all clusters are resolved before propagating endpoints to child LB policy. Previously, the cluster_resolver LB policy propagated partially resolved results (endpoints for a subset of clusters) to its child LB policy, which can cause RPCs to be sent to less favored clusters before endpoints of more favored clusters are discovered. - xds: use load assignment endpoint address in Cluster as the DNS hostname for LOGICAL_DNS. The LOGICAL_DNS concept was misunderstood previously. Instead of using the channel authority, the hostname should be given by Cluster resource in CDS responses. - grpclb: skip fallback if the LB is already in fallback mode. An invariant check for gRPCLB LB policy’s internal state introduced by [#​8035](https://togithub.com/grpc/grpc-java/issues/8035) is broken in case the LB policy is in fallback mode while receiving an address update without remote balancer addresses. The fix mitigated the temporal invariant violation. ##### New Features - compiler: Add support for ppc64le on RHEL8. ##### Dependencies - Protobuf upgraded to 3.17.2 - We now use custom Gradle logic to determine if Maven’s requireUpperBoundDeps would fail for our published artifacts instead of Gradle’s failOnVersionConflict. This means we now make use of fewer dependency exclusions ([#​8238](https://togithub.com/grpc/grpc-java/issues/8238)). failOnVersionConflict has similar behavior to dependencyConvergence but we previously lacked a more precise tool to detect cases where Maven would downgrade dependencies. We strongly encourage all Maven users to use Maven Enforcer’s requireUpperBoundDeps and continue to discourage using dependencyConvergence Acknowledgements [@​lepistone](https://togithub.com/lepistone) Leonardo Pistone [@​shirodkara](https://togithub.com/shirodkara) Amit Shirodkar [@​cfredri4](https://togithub.com/cfredri4)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ef06b64cbaf4..0045dfcbfa77 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 0.26.0 1.32.1 1.39.2 - 1.38.1 + 1.39.0 3.17.3 0.28.0 1.3.2 From 967a3686e120a8405af79d443a0a7c88b4cbe684 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 6 Jul 2021 21:28:11 +0200 Subject: [PATCH 1536/3036] deps: update dependency com.google.api:gax-bom to v1.66.0 (#483) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `1.65.1` -> `1.66.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/compatibility-slim/1.65.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/1.66.0/confidence-slim/1.65.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v1.66.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​1660-httpswwwgithubcomgoogleapisgax-javacomparev1651v1660-2021-06-24) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.65.1...v1.66.0) ##### Features - make ApiTracer internal API ([#​1414](https://www.github.com/googleapis/gax-java/issues/1414)) ([e3e8462](https://www.github.com/googleapis/gax-java/commit/e3e8462a2f9e866480ec2106dc59555d41ea4bb5)) ##### [1.65.1](https://www.github.com/googleapis/gax-java/compare/v1.65.0...v1.65.1) (2021-06-08) ##### Bug Fixes - fix grammar in StubSetting comment ([#​1397](https://www.github.com/googleapis/gax-java/issues/1397)) ([b015910](https://www.github.com/googleapis/gax-java/commit/b0159102b52fd4b778a9bde15b1acd2e9fa6958e))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0045dfcbfa77..b00e85b4f92d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.65.1 + 1.66.0 1.10.4 2.3.2 1.0.14 From 702f57bfbfe9a76ffae78486500c29b74cb5b63d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 7 Jul 2021 18:39:51 +0200 Subject: [PATCH 1537/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 (#398) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3f58b57094c1..06bb683e8ef8 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -75,7 +75,7 @@ 0.28.0 3.0.2 2.7.1 - 2.12.3 + 2.12.4 1.15 4.4.14 4.5.13 From 2c959770a95246dd48ffd506cc401eae076c15d2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 9 Jul 2021 10:02:13 -0700 Subject: [PATCH 1538/3036] chore: remove All rights reserved clause from java.header (#487) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e278faaf-4497-439c-a104-7bdeda21de9b/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/09c59c20a4bf0daed1665af59035ff240fe356df --- java-core/java.header | 2 +- java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/java.header b/java-core/java.header index 3a9b503aa24f..d0970ba7d375 100644 --- a/java-core/java.header +++ b/java-core/java.header @@ -1,5 +1,5 @@ ^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)( All [rR]ights [rR]eserved\.)?$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)$ ^ \*$ ^ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);$ ^ \* you may not use this file except in compliance with the License\.$ diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 272675980995..2cd32cdcf39e 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "9f26800e9c531ba0b4f9f9bde0786f72ef14c0df" + "sha": "0698c6679877e0666c684ea5c5daaf8ebae7c15c" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "87254ac89a9559864c0a245d6b150406439ce3d8" + "sha": "09c59c20a4bf0daed1665af59035ff240fe356df" } } ], From 090dcc92d8051f22026ac659dc7505f3f98b0a94 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 9 Jul 2021 10:02:20 -0700 Subject: [PATCH 1539/3036] chore: remove All rights reserved clause from java.header (#159) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e6314e47-fd74-48cc-a2f6-3d2d989a8abe/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/09c59c20a4bf0daed1665af59035ff240fe356df --- java-iam/java.header | 2 +- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-iam/java.header b/java-iam/java.header index 3a9b503aa24f..d0970ba7d375 100644 --- a/java-iam/java.header +++ b/java-iam/java.header @@ -1,5 +1,5 @@ ^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)( All [rR]ights [rR]eserved\.)?$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)$ ^ \*$ ^ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);$ ^ \* you may not use this file except in compliance with the License\.$ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index ffba2f74a436..962924d72b59 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "0807a4fa801d7884effba507863febfb0e3811c6" + "sha": "67c523dc179802fcbec5a16893b955a4b3b7e4aa" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "87254ac89a9559864c0a245d6b150406439ce3d8" + "sha": "09c59c20a4bf0daed1665af59035ff240fe356df" } } ], From 6fa45242a3b2b0819eeda44df51550583a4df4f8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 12 Jul 2021 09:20:09 -0700 Subject: [PATCH 1540/3036] chore: remove All rights reserved clause from java.header (#399) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/76b59ea3-9589-4be2-a86f-50cc3a39422e/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/09c59c20a4bf0daed1665af59035ff240fe356df --- java-shared-dependencies/java.header | 2 +- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/java.header b/java-shared-dependencies/java.header index 3a9b503aa24f..d0970ba7d375 100644 --- a/java-shared-dependencies/java.header +++ b/java-shared-dependencies/java.header @@ -1,5 +1,5 @@ ^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)( All [rR]ights [rR]eserved\.)?$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)$ ^ \*$ ^ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);$ ^ \* you may not use this file except in compliance with the License\.$ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 3f2c63972e3a..6530484ebe7b 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "7b87c9aff5604dd894296a641fb34a3e8a73395c" + "sha": "f0d49b54ba334f9351c66c9924e3d0d2ed7c0016" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "87254ac89a9559864c0a245d6b150406439ce3d8" + "sha": "09c59c20a4bf0daed1665af59035ff240fe356df" } } ], From abfddb9b5d556aaead1e6690e04442200910db7d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Jul 2021 07:28:23 -0700 Subject: [PATCH 1541/3036] chore: add dependencyDashboardLabels to renovate.json (#160) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/6fef2059-8968-4c08-8dfb-d668894e826d/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/5d3c52f5db664eee9026db76b5bcb466f3a09ca9 --- java-iam/renovate.json | 5 ++++- java-iam/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/java-iam/renovate.json b/java-iam/renovate.json index 64f22fbaeb9b..bf3fecad372c 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -69,5 +69,8 @@ } ], "semanticCommits": true, - "masterIssue": true + "dependencyDashboard": true, + "dependencyDashboardLabels": [ + "type: process" + ] } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 962924d72b59..9f586701baae 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "67c523dc179802fcbec5a16893b955a4b3b7e4aa" + "sha": "3ae49647f90786de96ab294750407d96ec9242c1" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "09c59c20a4bf0daed1665af59035ff240fe356df" + "sha": "5d3c52f5db664eee9026db76b5bcb466f3a09ca9" } } ], From ff78b7aeb8e668cc8fd9f204db03ddf6534f7e56 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Jul 2021 07:30:38 -0700 Subject: [PATCH 1542/3036] chore: add dependencyDashboardLabels to renovate.json (#490) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/981980c3-5fea-43d1-b171-ee4f4e7925f5/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/5d3c52f5db664eee9026db76b5bcb466f3a09ca9 --- java-core/renovate.json | 5 ++++- java-core/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/java-core/renovate.json b/java-core/renovate.json index d4cc30319de7..2e5d43e9b6a0 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -69,5 +69,8 @@ } ], "semanticCommits": true, - "masterIssue": true + "dependencyDashboard": true, + "dependencyDashboardLabels": [ + "type: process" + ] } diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2cd32cdcf39e..2a5294e97c5f 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "0698c6679877e0666c684ea5c5daaf8ebae7c15c" + "sha": "e9615ea60b30dccfae2e5c4f9247e591dbfeb52f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "09c59c20a4bf0daed1665af59035ff240fe356df" + "sha": "5d3c52f5db664eee9026db76b5bcb466f3a09ca9" } } ], From 10f94b5ce9ffdb31051b63279bcb07281f5713a3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 19 Jul 2021 17:05:09 +0200 Subject: [PATCH 1543/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.27.0 (#400) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 06bb683e8ef8..7e2bd9ecc088 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.10.4 2.3.2 1.95.4 - 0.26.0 + 0.27.0 1.39.2 1.31.5 1.32.1 From 8dccbef40ef0531ac0278522e6ab4ddb9b55d638 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Jul 2021 20:06:26 +0000 Subject: [PATCH 1544/3036] chore: release 1.4.1-SNAPSHOT (#396) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7e2bd9ecc088..1666882818e4 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 - 1.4.0 + 1.4.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index bb4beeb8440f..3f5ae459ec90 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.4.0:1.4.0 \ No newline at end of file +google-cloud-shared-dependencies:1.4.0:1.4.1-SNAPSHOT \ No newline at end of file From a874c6f95c98c72e881da433140633f8568e7da3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Jul 2021 17:15:18 +0200 Subject: [PATCH 1545/3036] deps: update gax.version to v1.67.0 (#405) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1666882818e4..04819ea2e743 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.39.0 - 1.66.0 + 1.67.0 1.0.0 30.1.1-android 3.17.3 From 0a44b8e0299d92a455794bae4949e30812b7c241 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Jul 2021 17:36:31 +0200 Subject: [PATCH 1546/3036] deps: update dependency com.google.cloud:grpc-gcp to v1.1.0 (#403) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 04819ea2e743..59dbe71e8696 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -57,7 +57,7 @@ 1.39.0 1.67.0 - 1.0.0 + 1.1.0 30.1.1-android 3.17.3 1.10.4 From 86009206adf55d0d58679e88a7b4d3323f459e65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Jul 2021 17:29:04 +0200 Subject: [PATCH 1547/3036] deps: update dependency com.google.api:gax-bom to v1.67.0 (#491) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b00e85b4f92d..ac298d01f901 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.66.0 + 1.67.0 1.10.4 2.3.2 1.0.14 From 069ea35fee88f6463215dd36dd623f11f8db7cec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Jul 2021 17:29:17 +0200 Subject: [PATCH 1548/3036] deps: update dependency com.google.auth:google-auth-library-bom to v0.27.0 (#489) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ac298d01f901..51aa062b794e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.4 2.3.2 1.0.14 - 0.26.0 + 0.27.0 1.32.1 1.39.2 1.39.0 From 97499e4768f6611298beda79afeb84e45a877c1e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Jul 2021 12:52:59 +0200 Subject: [PATCH 1549/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.8.0 (#492) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 51aa062b794e..828a07af648f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.5.1 2.6 - 2.7.1 + 2.8.0 2.8.7
    From 991d1a2b381b774d262c6cf595098e5958cf0f86 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Jul 2021 13:01:47 +0200 Subject: [PATCH 1550/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.8.0 (#406) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 59dbe71e8696..109d9581090d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -74,7 +74,7 @@ 1.0.14 0.28.0 3.0.2 - 2.7.1 + 2.8.0 2.12.4 1.15 4.4.14 From e3da18442f7094d965d5bba207e5e429b9d7fed2 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Mon, 26 Jul 2021 16:51:25 +0000 Subject: [PATCH 1551/3036] docs: we don't use this as a parent pom (#407) @BenWhitehead --- java-shared-dependencies/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index b37dc4cf6af4..53b81803a078 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -7,7 +7,7 @@ Shared Maven dependencies for Google Cloud Java client libraries. ## Quickstart [//]: # ({x-version-update-start:google-cloud-shared-dependencies:released}) -If you are using Maven, use this artifact as your project's parent. +If you are using Maven, add this to the `dependencyManagement` section. ```xml @@ -48,4 +48,4 @@ Apache 2.0 - See [LICENSE][license] for more information. [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-shared-dependencies&core=gav [contributing]: https://github.com/googleapis/java-shared-dependencies/blob/master/CONTRIBUTING.md [code-of-conduct]: https://github.com/googleapis/java-shared-dependencies/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[license]: https://github.com/googleapis/java-shared-dependencies/blob/master/LICENSE \ No newline at end of file +[license]: https://github.com/googleapis/java-shared-dependencies/blob/master/LICENSE From ac853096a9152f5f5ad9c86673ae09322c2e909e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Jul 2021 01:14:15 +0200 Subject: [PATCH 1552/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.13.0 (#161) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.12.0` -> `0.13.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.0/compatibility-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.0/confidence-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.13.0`](https://togithub.com/googleapis/java-shared-config/releases/v0.13.0) ##### Features - add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#​264](https://www.github.com/googleapis/java-shared-config/issues/264)) ([d274af8](https://www.github.com/googleapis/java-shared-config/commit/d274af836ac9b3e98be84e551b7e9e552397ecc1)) ##### Bug Fixes - Add shopt -s nullglob to dependencies script ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) - Update dependencies.sh to not break on mac ([#​276](https://www.github.com/googleapis/java-shared-config/issues/276)) ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) ##### Dependencies - update auto-value-annotation.version to v1.8.2 ([#​275](https://www.github.com/googleapis/java-shared-config/issues/275)) ([4d15246](https://www.github.com/googleapis/java-shared-config/commit/4d152461a5592940a8be762c7a8698a02dbe26cf)) - update dependency com.puppycrawl.tools:checkstyle to v8.43 ([#​266](https://www.github.com/googleapis/java-shared-config/issues/266)) ([fae7961](https://www.github.com/googleapis/java-shared-config/commit/fae7961412b33e34e8fcfec78d1451894d4e61d9)) - update dependency com.puppycrawl.tools:checkstyle to v8.44 ([#​274](https://www.github.com/googleapis/java-shared-config/issues/274)) ([d53d0e0](https://www.github.com/googleapis/java-shared-config/commit/d53d0e0935e908d16f4e7cf763577cf3fd8128d3)) ***
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e21fe06b4896..6190b01a9e6e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.12.0 + 0.13.0 From 9c84530e9785876f98b8b605aa34f3667b403ce7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Jul 2021 15:02:16 +0200 Subject: [PATCH 1553/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.13.0 (#408) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 109d9581090d..e7ca8b86a18e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.12.0 + 0.13.0 From ce6f3163ba122981762673f5e48f9be5f8af5c8c Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 27 Jul 2021 13:06:25 -0400 Subject: [PATCH 1554/3036] chore: make pubsub downstream checks required (#409) --- java-shared-dependencies/.github/sync-repo-settings.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index bac8c3832bab..95316f72dcff 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -42,10 +42,12 @@ branchProtectionRules: - "dependencies (8, java-bigqueryconnection)" - "dependencies (8, java-spanner)" - "dependencies (8, java-storage)" + - "dependencies (8, java-pubsub)" - "dependencies (11, java-bigquery)" - "dependencies (11, java-bigqueryconnection)" - "dependencies (11, java-spanner)" - "dependencies (11, java-storage)" + - "dependencies (11, java-pubsub)" - "cla/google" # List of explicit permissions to add (additive only) permissionRules: From b8eb3ae45796f956bb41f4d0925abc66c2a759bb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Jul 2021 22:50:50 +0200 Subject: [PATCH 1555/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.13.1 (#495) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.12.0` -> `0.13.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/compatibility-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/confidence-slim/0.12.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.13.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0131-httpswwwgithubcomgoogleapisjava-shared-configcomparev0130v0131-2021-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1) ### [`v0.13.0`](https://togithub.com/googleapis/java-shared-config/releases/v0.13.0) ##### Features - add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#​264](https://www.github.com/googleapis/java-shared-config/issues/264)) ([d274af8](https://www.github.com/googleapis/java-shared-config/commit/d274af836ac9b3e98be84e551b7e9e552397ecc1)) ##### Bug Fixes - Add shopt -s nullglob to dependencies script ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) - Update dependencies.sh to not break on mac ([#​276](https://www.github.com/googleapis/java-shared-config/issues/276)) ([865ca3c](https://www.github.com/googleapis/java-shared-config/commit/865ca3cbf106a7aaae1a989320a1ad5a47b6ffaf)) ##### Dependencies - update auto-value-annotation.version to v1.8.2 ([#​275](https://www.github.com/googleapis/java-shared-config/issues/275)) ([4d15246](https://www.github.com/googleapis/java-shared-config/commit/4d152461a5592940a8be762c7a8698a02dbe26cf)) - update dependency com.puppycrawl.tools:checkstyle to v8.43 ([#​266](https://www.github.com/googleapis/java-shared-config/issues/266)) ([fae7961](https://www.github.com/googleapis/java-shared-config/commit/fae7961412b33e34e8fcfec78d1451894d4e61d9)) - update dependency com.puppycrawl.tools:checkstyle to v8.44 ([#​274](https://www.github.com/googleapis/java-shared-config/issues/274)) ([d53d0e0](https://www.github.com/googleapis/java-shared-config/commit/d53d0e0935e908d16f4e7cf763577cf3fd8128d3)) ***
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index baeef0c1f4e5..cc681b5e3646 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.12.0 + 0.13.1 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 828a07af648f..132b074c0758 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.12.0 + 0.13.1 From 86a4e529359c197483fd05535d7195819bf0c0df Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Jul 2021 22:54:25 +0200 Subject: [PATCH 1556/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.13.1 (#162) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.13.0` -> `0.13.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/compatibility-slim/0.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/0.13.1/confidence-slim/0.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v0.13.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​0131-httpswwwgithubcomgoogleapisjava-shared-configcomparev0130v0131-2021-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6190b01a9e6e..d6acd5407068 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.0 + 0.13.1 From ca944991ab4ae925506cc2fe6e6a37b580f15c2a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Jul 2021 19:00:35 +0200 Subject: [PATCH 1557/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.13.1 (#410) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e7ca8b86a18e..ef072fbf57ab 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.0 + 0.13.1 From 8effef794f500e4e6c3512f0a0cbf1df6210ad1b Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 28 Jul 2021 19:34:33 -0400 Subject: [PATCH 1558/3036] chore: migrate to google sonatype endpoint (#412) --- java-shared-dependencies/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ef072fbf57ab..89fdfc4d3883 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -36,11 +36,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/ From f6241568157cf5cffef090bfa10fc90727b50f68 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Jul 2021 17:35:02 +0200 Subject: [PATCH 1559/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1 (#413) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 89fdfc4d3883..f9a7aba6edc1 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.10.4 2.3.2 1.95.4 - 0.27.0 + 1.0.0 1.39.2 1.31.5 1.32.1 From 44c5d4e2b5a96c2b0986c441b0d6b995bc6ef3e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Jul 2021 17:35:16 +0200 Subject: [PATCH 1560/3036] deps: update dependency com.google.api:api-common to v1.10.6 (#411) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f9a7aba6edc1..cc2acf3781a3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 30.1.1-android 3.17.3 - 1.10.4 + 1.10.6 2.3.2 1.95.4 1.0.0 From 6fbe91c173a56984b5c5ae4058f43eeb287f7fff Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 29 Jul 2021 15:44:43 -0400 Subject: [PATCH 1561/3036] build: configure branch java7 as a release branch (#164) enable releases --- java-iam/.github/release-please.yml | 5 ++ java-iam/.github/sync-repo-settings.yaml | 82 +++++++++++------------- 2 files changed, 43 insertions(+), 44 deletions(-) diff --git a/java-iam/.github/release-please.yml b/java-iam/.github/release-please.yml index 8ca7f9cabc29..7bf58076589a 100644 --- a/java-iam/.github/release-please.yml +++ b/java-iam/.github/release-please.yml @@ -1,3 +1,8 @@ bumpMinorPreMajor: true handleGHRelease: true releaseType: java-yoshi +branches: + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-yoshi + branch: java7 diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml index 6bddd18eac90..d3ce755af08c 100644 --- a/java-iam/.github/sync-repo-settings.yaml +++ b/java-iam/.github/sync-repo-settings.yaml @@ -1,49 +1,43 @@ - -# Whether or not rebase-merging is enabled on this repository. -# Defaults to `true` rebaseMergeAllowed: false - -# Whether or not squash-merging is enabled on this repository. -# Defaults to `true` squashMergeAllowed: true - -# Whether or not PRs are merged with a merge commit on this repository. -# Defaults to `false` mergeCommitAllowed: false - -# Rules for master branch protection branchProtectionRules: -# Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `master` -- pattern: master - # Can admins overwrite branch protection. - # Defaults to `true` - isAdminEnforced: true - # Number of approving reviews required to update matching branches. - # Defaults to `1` - requiredApprovingReviewCount: 1 - # Are reviews from code owners required to update matching branches. - # Defaults to `false` - requiresCodeOwnerReviews: true - # Require up to date branches - requiresStrictStatusChecks: false - # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "linkage-monitor" - - "lint" - - "clirr" - - "units (7)" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "cla/google" -# List of explicit permissions to add (additive only) + - pattern: master + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - pattern: java7 + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google permissionRules: -- team: yoshi-admins - permission: admin -- team: yoshi-java-admins - permission: admin -- team: yoshi-java - permission: push \ No newline at end of file + - team: yoshi-admins + permission: admin + - team: yoshi-java-admins + permission: admin + - team: yoshi-java + permission: push From 4aa1c18a31cffa57fe09f0125c6cf07ab0752840 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 29 Jul 2021 16:04:29 -0400 Subject: [PATCH 1562/3036] build: configure java7 as a release branch (#500) --- java-core/.github/release-please.yml | 6 ++++++ java-core/.github/sync-repo-settings.yaml | 25 ++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml index 8ca7f9cabc29..3dc935651746 100644 --- a/java-core/.github/release-please.yml +++ b/java-core/.github/release-please.yml @@ -1,3 +1,9 @@ bumpMinorPreMajor: true handleGHRelease: true releaseType: java-yoshi +branches: +- bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-yoshi + branch: java7 + diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index 6bddd18eac90..f78ced25f976 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -34,11 +34,34 @@ branchProtectionRules: - "linkage-monitor" - "lint" - "clirr" - - "units (7)" - "units (8)" - "units (11)" - "Kokoro - Test: Integration" - "cla/google" +- pattern: java7 + # Can admins overwrite branch protection. + # Defaults to `true` + isAdminEnforced: true + # Number of approving reviews required to update matching branches. + # Defaults to `1` + requiredApprovingReviewCount: 1 + # Are reviews from code owners required to update matching branches. + # Defaults to `false` + requiresCodeOwnerReviews: true + # Require up to date branches + requiresStrictStatusChecks: false + # List of required status check contexts that must pass for commits to be accepted to matching branches. + requiredStatusCheckContexts: + - "dependencies (8)" + - "dependencies (11)" + - "linkage-monitor" + - "lint" + - "clirr" + - "units (7)" + - "units (8)" + - "units (11)" + - "Kokoro - Test: Integration" + - "cla/google" # List of explicit permissions to add (additive only) permissionRules: - team: yoshi-admins From b6909d3f96afd60d8abbf730c5b45a10462a2d4c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Jul 2021 22:39:32 +0200 Subject: [PATCH 1563/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1 (#499) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index cc681b5e3646..a49e5f2b65bf 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 132b074c0758..cd234d4c4075 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 From ae5d2eccac31188a34be9de8a5912c507ad22e05 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Jul 2021 23:04:13 +0200 Subject: [PATCH 1564/3036] deps: update dependency com.google.api:api-common to v1.10.6 (#494) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `1.10.4` -> `1.10.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/compatibility-slim/1.10.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/confidence-slim/1.10.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index cd234d4c4075..13181c219d8e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.67.0 - 1.10.4 + 1.10.6 2.3.2 1.0.14 0.27.0 From 6f4e88c38390a7509b302baf21200cd253fa6913 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 29 Jul 2021 17:36:27 -0400 Subject: [PATCH 1565/3036] deps: update guava 30.1.1-jre (#503) --- java-core/pom.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 13181c219d8e..f522b5496763 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -162,7 +162,7 @@ 3.17.3 0.28.0 1.3.2 - 30.1.1-android + 30.1.1-jre 4.13.2 1.1.3 3.6 @@ -289,6 +289,12 @@ truth ${truth.version} test + + + org.checkerframework + checker-qual + + junit From 6ebf939c9821e7cbc002af0aa794e9ae24c13b2c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Jul 2021 23:37:33 +0200 Subject: [PATCH 1566/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1 (#496) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f522b5496763..066d64e04b5e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 1.10.6 2.3.2 1.0.14 - 0.27.0 + 1.0.0 1.32.1 1.39.2 1.39.0 From a03e80a69ad529b632ef861a4446d5bf0b953ef7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Jul 2021 23:46:36 +0200 Subject: [PATCH 1567/3036] deps: update dependency com.google.api:api-common to v2 (#497) Co-authored-by: Neenu Shaji --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 066d64e04b5e..5853e99fca97 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 1.67.0 - 1.10.6 + 2.0.0 2.3.2 1.0.14 1.0.0 From 47d5ceeddfa4c19152f3b122a70300726e74b570 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 29 Jul 2021 17:58:59 -0400 Subject: [PATCH 1568/3036] feat: promote to 2.0.0 (#504) Release-As: 2.0.0 From f97058401ddd3bdbc002878c00945db75f7357ea Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 29 Jul 2021 23:28:27 +0000 Subject: [PATCH 1569/3036] chore: release 2.0.0 (#486) :robot: I have created a release \*beep\* \*boop\* --- ## [2.0.0](https://www.github.com/googleapis/java-core/compare/v1.95.4...v2.0.0) (2021-07-29) ### Features * promote to 2.0.0 ([#504](https://www.github.com/googleapis/java-core/issues/504)) ([47d5cee](https://www.github.com/googleapis/java-core/commit/47d5ceeddfa4c19152f3b122a70300726e74b570)) ### Bug Fixes * Add shopt -s nullglob to dependencies script ([6fe4d95](https://www.github.com/googleapis/java-core/commit/6fe4d9588fc2c4d4916c213bd9a139a1f8a824c0)) * Update dependencies.sh to not break on mac ([#484](https://www.github.com/googleapis/java-core/issues/484)) ([6fe4d95](https://www.github.com/googleapis/java-core/commit/6fe4d9588fc2c4d4916c213bd9a139a1f8a824c0)) ### Dependencies * update dependency com.google.api:api-common to v1.10.6 ([#494](https://www.github.com/googleapis/java-core/issues/494)) ([ae5d2ec](https://www.github.com/googleapis/java-core/commit/ae5d2eccac31188a34be9de8a5912c507ad22e05)) * update dependency com.google.api:api-common to v2 ([#497](https://www.github.com/googleapis/java-core/issues/497)) ([a03e80a](https://www.github.com/googleapis/java-core/commit/a03e80a69ad529b632ef861a4446d5bf0b953ef7)) * update dependency com.google.api:gax-bom to v1.66.0 ([#483](https://www.github.com/googleapis/java-core/issues/483)) ([967a368](https://www.github.com/googleapis/java-core/commit/967a3686e120a8405af79d443a0a7c88b4cbe684)) * update dependency com.google.api:gax-bom to v1.67.0 ([#491](https://www.github.com/googleapis/java-core/issues/491)) ([8600920](https://www.github.com/googleapis/java-core/commit/86009206adf55d0d58679e88a7b4d3323f459e65)) * update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#489](https://www.github.com/googleapis/java-core/issues/489)) ([069ea35](https://www.github.com/googleapis/java-core/commit/069ea35fee88f6463215dd36dd623f11f8db7cec)) * update dependency com.google.auth:google-auth-library-bom to v1 ([#496](https://www.github.com/googleapis/java-core/issues/496)) ([6ebf939](https://www.github.com/googleapis/java-core/commit/6ebf939c9821e7cbc002af0aa794e9ae24c13b2c)) * update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#492](https://www.github.com/googleapis/java-core/issues/492)) ([97499e4](https://www.github.com/googleapis/java-core/commit/97499e4768f6611298beda79afeb84e45a877c1e)) * update dependency io.grpc:grpc-bom to v1.39.0 ([#482](https://www.github.com/googleapis/java-core/issues/482)) ([d124545](https://www.github.com/googleapis/java-core/commit/d124545f65267c646ae21cfb3b4855722e0c795c)) * update guava 30.1.1-jre ([#503](https://www.github.com/googleapis/java-core/issues/503)) ([6f4e88c](https://www.github.com/googleapis/java-core/commit/6f4e88c38390a7509b302baf21200cd253fa6913)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 26 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 38 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index b948db7621d9..1c3b4b27bffc 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [2.0.0](https://www.github.com/googleapis/java-core/compare/v1.95.4...v2.0.0) (2021-07-29) + + +### Features + +* promote to 2.0.0 ([#504](https://www.github.com/googleapis/java-core/issues/504)) ([48076ba](https://www.github.com/googleapis/java-core/commit/48076bafa2a89dc6b3ad88a698166da8ebb144f4)) + + +### Bug Fixes + +* Add shopt -s nullglob to dependencies script ([1fa147c](https://www.github.com/googleapis/java-core/commit/1fa147c9cded08f9eea4a717c622c0b33ad239d0)) +* Update dependencies.sh to not break on mac ([#484](https://www.github.com/googleapis/java-core/issues/484)) ([1fa147c](https://www.github.com/googleapis/java-core/commit/1fa147c9cded08f9eea4a717c622c0b33ad239d0)) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.6 ([#494](https://www.github.com/googleapis/java-core/issues/494)) ([1353d7b](https://www.github.com/googleapis/java-core/commit/1353d7b42dc98110733d279404f9295067f632cf)) +* update dependency com.google.api:api-common to v2 ([#497](https://www.github.com/googleapis/java-core/issues/497)) ([05edb6e](https://www.github.com/googleapis/java-core/commit/05edb6ec2156978b49e72f16de35a935acd43ca8)) +* update dependency com.google.api:gax-bom to v1.66.0 ([#483](https://www.github.com/googleapis/java-core/issues/483)) ([0698c66](https://www.github.com/googleapis/java-core/commit/0698c6679877e0666c684ea5c5daaf8ebae7c15c)) +* update dependency com.google.api:gax-bom to v1.67.0 ([#491](https://www.github.com/googleapis/java-core/issues/491)) ([65f4a1e](https://www.github.com/googleapis/java-core/commit/65f4a1e4ace1ec70cd2a151233c626d80874beb4)) +* update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#489](https://www.github.com/googleapis/java-core/issues/489)) ([21b0afe](https://www.github.com/googleapis/java-core/commit/21b0afea717805dfd5c93929d2a72de86f048781)) +* update dependency com.google.auth:google-auth-library-bom to v1 ([#496](https://www.github.com/googleapis/java-core/issues/496)) ([9cddefc](https://www.github.com/googleapis/java-core/commit/9cddefc0fdb0eb400121db0faf18bf1bdfdfc7f5)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#492](https://www.github.com/googleapis/java-core/issues/492)) ([acd03c0](https://www.github.com/googleapis/java-core/commit/acd03c00896a1e8f6ab948823e5a5ebd5b741115)) +* update dependency io.grpc:grpc-bom to v1.39.0 ([#482](https://www.github.com/googleapis/java-core/issues/482)) ([02e69d4](https://www.github.com/googleapis/java-core/commit/02e69d46d3b8a71b6286915e08e987a5fc9ce8a6)) +* update guava 30.1.1-jre ([#503](https://www.github.com/googleapis/java-core/issues/503)) ([cac0c63](https://www.github.com/googleapis/java-core/commit/cac0c6367d42afb8af2dec56b9eec4de2e95978e)) + ### [1.95.4](https://www.github.com/googleapis/java-core/compare/v1.95.3...v1.95.4) (2021-06-25) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a49e5f2b65bf..9bfc6c333e53 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.95.5-SNAPSHOT + 1.96.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.95.5-SNAPSHOT + 1.96.0 com.google.cloud google-cloud-core-grpc - 1.95.5-SNAPSHOT + 1.96.0 com.google.cloud google-cloud-core-http - 1.95.5-SNAPSHOT + 1.96.0
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5fcfc4af1e12..2365ed93e265 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 - 1.95.5-SNAPSHOT + 1.96.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.5-SNAPSHOT + 1.96.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 dd7ebc7e86e1..cd0dfb374999 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 - 1.95.5-SNAPSHOT + 1.96.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.5-SNAPSHOT + 1.96.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a685b96bdede..654c80dc4b59 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 - 1.95.5-SNAPSHOT + 1.96.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.95.5-SNAPSHOT + 1.96.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5853e99fca97..a8acbb1f1dc4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.95.5-SNAPSHOT + 1.96.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 39e94a33b58d..195c80145f8e 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.95.4:1.95.5-SNAPSHOT \ No newline at end of file +google-cloud-core:1.96.0:1.96.0 \ No newline at end of file From 5c56e32b4088dfd82fe8a1466cc4c4c0c11c9da3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 29 Jul 2021 23:40:31 +0000 Subject: [PATCH 1570/3036] chore: release 2.0.1-SNAPSHOT (#505) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 9bfc6c333e53..a50c826aefac 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.96.0 + 1.96.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.96.0 + 1.96.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.96.0 + 1.96.1-SNAPSHOT com.google.cloud google-cloud-core-http - 1.96.0 + 1.96.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2365ed93e265..1e51a5ed5499 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 - 1.96.0 + 1.96.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.0 + 1.96.1-SNAPSHOT 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 cd0dfb374999..bb21675c7592 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 - 1.96.0 + 1.96.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.0 + 1.96.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 654c80dc4b59..58c7b7a553a7 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 - 1.96.0 + 1.96.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.0 + 1.96.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index a8acbb1f1dc4..a3745709b6b1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.96.0 + 1.96.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 195c80145f8e..7309081dacc0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.96.0:1.96.0 \ No newline at end of file +google-cloud-core:1.96.0:1.96.1-SNAPSHOT \ No newline at end of file From 06146f42d7141f48665649571dba2131b7f96841 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 3 Aug 2021 12:19:35 -0400 Subject: [PATCH 1571/3036] build: configure branch java7 as a release branch (#420) * build: configure branch java7 as a release branch * Update sync-repo-settings.yaml --- .../.github/release-please.yml | 6 +- .../.github/sync-repo-settings.yaml | 109 +++++++++--------- 2 files changed, 60 insertions(+), 55 deletions(-) diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml index f40392f11e13..2f7e404356aa 100644 --- a/java-shared-dependencies/.github/release-please.yml +++ b/java-shared-dependencies/.github/release-please.yml @@ -1,2 +1,6 @@ releaseType: java-bom -bumpMinorPreMajor: true \ No newline at end of file +bumpMinorPreMajor: true +branches: + - releaseType: java-yoshi + bumpMinorPreMajor: true + branch: java7 diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 95316f72dcff..9858ce74e725 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -1,59 +1,60 @@ - -# Whether or not rebase-merging is enabled on this repository. -# Defaults to `true` rebaseMergeAllowed: false - -# Whether or not squash-merging is enabled on this repository. -# Defaults to `true` squashMergeAllowed: true - -# Whether or not PRs are merged with a merge commit on this repository. -# Defaults to `false` mergeCommitAllowed: false - -# Rules for master branch protection branchProtectionRules: -# Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `master` -- pattern: master - # Can admins overwrite branch protection. - # Defaults to `true` - isAdminEnforced: true - # Number of approving reviews required to update matching branches. - # Defaults to `1` - requiredApprovingReviewCount: 1 - # Are reviews from code owners required to update matching branches. - # Defaults to `false` - requiresCodeOwnerReviews: true - # Require up to date branches - requiresStrictStatusChecks: false - # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "linkage-monitor" - - "lint" - - "clirr" - - "units (7)" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "dependencies (8, java-bigquery)" - - "dependencies (8, java-bigqueryconnection)" - - "dependencies (8, java-spanner)" - - "dependencies (8, java-storage)" - - "dependencies (8, java-pubsub)" - - "dependencies (11, java-bigquery)" - - "dependencies (11, java-bigqueryconnection)" - - "dependencies (11, java-spanner)" - - "dependencies (11, java-storage)" - - "dependencies (11, java-pubsub)" - - "cla/google" -# List of explicit permissions to add (additive only) + - pattern: master + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - dependencies (8, java-bigqueryconnection) + - dependencies (8, java-spanner) + - dependencies (8, java-storage) + - dependencies (8, java-pubsub) + - dependencies (11, java-bigqueryconnection) + - dependencies (11, java-spanner) + - dependencies (11, java-storage) + - dependencies (11, java-pubsub) + - cla/google + - pattern: java7 + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - linkage-monitor + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - dependencies (8, java-bigquery) + - dependencies (8, java-bigqueryconnection) + - dependencies (8, java-spanner) + - dependencies (8, java-storage) + - dependencies (8, java-pubsub) + - dependencies (11, java-bigquery) + - dependencies (11, java-bigqueryconnection) + - dependencies (11, java-spanner) + - dependencies (11, java-storage) + - dependencies (11, java-pubsub) + - cla/google permissionRules: -- team: yoshi-admins - permission: admin -- team: yoshi-java-admins - permission: admin -- team: yoshi-java - permission: push + - team: yoshi-admins + permission: admin + - team: yoshi-java-admins + permission: admin + - team: yoshi-java + permission: push From ff805073c44c17050712901e8bdd8b393013a2cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Aug 2021 18:54:45 +0200 Subject: [PATCH 1572/3036] deps: update dependency com.google.api:gax-bom to v2 (#506) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a3745709b6b1..f281fb81e73e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 1.67.0 + 2.0.0 2.0.0 2.3.2 1.0.14 From 936d0523910e611a6ebe41e89fdff8f3bfebd7b0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 3 Aug 2021 17:00:35 +0000 Subject: [PATCH 1573/3036] chore: release 2.0.1 (#507) :robot: I have created a release \*beep\* \*boop\* --- ### [2.0.1](https://www.github.com/googleapis/java-core/compare/v2.0.0...v2.0.1) (2021-08-03) ### Dependencies * update dependency com.google.api:gax-bom to v2 ([#506](https://www.github.com/googleapis/java-core/issues/506)) ([ff80507](https://www.github.com/googleapis/java-core/commit/ff805073c44c17050712901e8bdd8b393013a2cb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 1c3b4b27bffc..0ea9894a64bf 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.0.1](https://www.github.com/googleapis/java-core/compare/v2.0.0...v2.0.1) (2021-08-03) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2 ([#506](https://www.github.com/googleapis/java-core/issues/506)) ([a0c49a2](https://www.github.com/googleapis/java-core/commit/a0c49a2eb2579df78afccc6db021e78c3bd58493)) + ## [2.0.0](https://www.github.com/googleapis/java-core/compare/v1.95.4...v2.0.0) (2021-07-29) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a50c826aefac..627bb0e90113 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.96.1-SNAPSHOT + 1.96.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.96.1-SNAPSHOT + 1.96.1 com.google.cloud google-cloud-core-grpc - 1.96.1-SNAPSHOT + 1.96.1 com.google.cloud google-cloud-core-http - 1.96.1-SNAPSHOT + 1.96.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1e51a5ed5499..5557048f6fd5 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 - 1.96.1-SNAPSHOT + 1.96.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.1-SNAPSHOT + 1.96.1 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 bb21675c7592..64c003e3f85d 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 - 1.96.1-SNAPSHOT + 1.96.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.1-SNAPSHOT + 1.96.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 58c7b7a553a7..e1bc80d8a308 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 - 1.96.1-SNAPSHOT + 1.96.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.1-SNAPSHOT + 1.96.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index f281fb81e73e..265441d0ea78 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.96.1-SNAPSHOT + 1.96.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7309081dacc0..59f38a66191f 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.96.0:1.96.1-SNAPSHOT \ No newline at end of file +google-cloud-core:1.96.1:1.96.1 \ No newline at end of file From 229e3c55d266b893b5fa4b31152805c8fc3bbe11 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 3 Aug 2021 17:08:25 +0000 Subject: [PATCH 1574/3036] chore: release 2.0.2-SNAPSHOT (#508) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 627bb0e90113..c6a456a2e759 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.96.1 + 1.96.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.96.1 + 1.96.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 1.96.1 + 1.96.2-SNAPSHOT com.google.cloud google-cloud-core-http - 1.96.1 + 1.96.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5557048f6fd5..1ecd8e3dc2f6 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 - 1.96.1 + 1.96.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.1 + 1.96.2-SNAPSHOT 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 64c003e3f85d..5981511d5f0e 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 - 1.96.1 + 1.96.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.1 + 1.96.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e1bc80d8a308..4df4386b46d8 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 - 1.96.1 + 1.96.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.1 + 1.96.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 265441d0ea78..d9b8c93e5fe1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.96.1 + 1.96.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 59f38a66191f..5ba4075dd54c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.96.1:1.96.1 \ No newline at end of file +google-cloud-core:1.96.1:1.96.2-SNAPSHOT \ No newline at end of file From 7cd2c2da8355801bd2fbe67d1d1098b5d6413686 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 3 Aug 2021 14:24:27 -0400 Subject: [PATCH 1575/3036] feat: release 2.0.2 (#509) Release-As: 2.0.2 From f07d7bbdfb3638f8d4c4d489229aa016f25f7594 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 3 Aug 2021 18:42:26 +0000 Subject: [PATCH 1576/3036] chore: release 2.0.2 (#510) :robot: I have created a release \*beep\* \*boop\* --- ### [2.0.2](https://www.github.com/googleapis/java-core/compare/v2.0.1...v2.0.2) (2021-08-03) ### Features * release 2.0.2 ([#509](https://www.github.com/googleapis/java-core/issues/509)) ([7cd2c2d](https://www.github.com/googleapis/java-core/commit/7cd2c2da8355801bd2fbe67d1d1098b5d6413686)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 0ea9894a64bf..94deb2516415 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.0.2](https://www.github.com/googleapis/java-core/compare/v2.0.1...v2.0.2) (2021-08-03) + + +### Features + +* release 2.0.2 ([#509](https://www.github.com/googleapis/java-core/issues/509)) ([afbb532](https://www.github.com/googleapis/java-core/commit/afbb532965a9ab6f9e3eafbf9d5d8502dd29d1bb)) + ### [2.0.1](https://www.github.com/googleapis/java-core/compare/v2.0.0...v2.0.1) (2021-08-03) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c6a456a2e759..8eb7bb6434bd 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 1.96.2-SNAPSHOT + 2.0.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 1.96.2-SNAPSHOT + 2.0.2 com.google.cloud google-cloud-core-grpc - 1.96.2-SNAPSHOT + 2.0.2 com.google.cloud google-cloud-core-http - 1.96.2-SNAPSHOT + 2.0.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1ecd8e3dc2f6..524bf5ba4fbf 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 - 1.96.2-SNAPSHOT + 2.0.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.2-SNAPSHOT + 2.0.2 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 5981511d5f0e..dcef9168198d 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 - 1.96.2-SNAPSHOT + 2.0.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.2-SNAPSHOT + 2.0.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4df4386b46d8..0de4f8414338 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 - 1.96.2-SNAPSHOT + 2.0.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 1.96.2-SNAPSHOT + 2.0.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index d9b8c93e5fe1..f4b4b5f2e6c1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 1.96.2-SNAPSHOT + 2.0.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 5ba4075dd54c..b4d76575f06d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:1.96.1:1.96.2-SNAPSHOT \ No newline at end of file +google-cloud-core:2.0.2:2.0.2 \ No newline at end of file From e96b10bc1189de319919e6e6f6ea7f5d22b68654 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 3 Aug 2021 18:48:13 +0000 Subject: [PATCH 1577/3036] chore: release 2.0.3-SNAPSHOT (#511) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8eb7bb6434bd..8b190bde1d8c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.2 + 2.0.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.2 + 2.0.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.0.2 + 2.0.3-SNAPSHOT com.google.cloud google-cloud-core-http - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 524bf5ba4fbf..1118e7c29048 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.0.2 + 2.0.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.2 + 2.0.3-SNAPSHOT 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 dcef9168198d..94ebed68505b 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.0.2 + 2.0.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.2 + 2.0.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0de4f8414338..2aa8347fa353 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.0.2 + 2.0.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.2 + 2.0.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index f4b4b5f2e6c1..e0cae657e286 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.2 + 2.0.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index b4d76575f06d..7fac45759b06 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.2:2.0.2 \ No newline at end of file +google-cloud-core:2.0.2:2.0.3-SNAPSHOT \ No newline at end of file From 7034cb8ffaf9dc80e50f7648f7e4d98c96f17c4b Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 3 Aug 2021 15:16:26 -0400 Subject: [PATCH 1578/3036] chore: removed java-spanner from required downstream check (#424) This changes will be reverted after [this](https://github.com/googleapis/java-spanner/pull/1329) PR gets merged in. Github actions in java-spanner repo is preventing the PR from being merged. --- java-shared-dependencies/.github/sync-repo-settings.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 9858ce74e725..ad77da24d7ae 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -17,11 +17,9 @@ branchProtectionRules: - units (11) - 'Kokoro - Test: Integration' - dependencies (8, java-bigqueryconnection) - - dependencies (8, java-spanner) - dependencies (8, java-storage) - dependencies (8, java-pubsub) - dependencies (11, java-bigqueryconnection) - - dependencies (11, java-spanner) - dependencies (11, java-storage) - dependencies (11, java-pubsub) - cla/google From 275543bc8dbef691310854e370525139672d6466 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 3 Aug 2021 15:19:17 -0400 Subject: [PATCH 1579/3036] deps: update guava to 30.1.1-jre (#423) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cc2acf3781a3..2a8a63aaf6a3 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.39.0 1.67.0 1.1.0 - 30.1.1-android + 30.1.1-jre 3.17.3 1.10.6 2.3.2 From 41644196c70394c9577dd0bd5a3bd66f8eb291e6 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 3 Aug 2021 15:26:26 -0400 Subject: [PATCH 1580/3036] chore: removed java-spanner from required downstream check (#425) This changes will be reverted after [this](https://github.com/googleapis/java-spanner/pull/1329) PR gets merged in. Github actions in java-spanner repo is preventing the PR from being merged. From 823ee33390d8180f0d4304af80ccc811afec25d9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Aug 2021 21:28:26 +0200 Subject: [PATCH 1581/3036] deps: update dependency com.google.api:api-common to v2 (#414) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `1.10.6` -> `2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.0/compatibility-slim/1.10.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.0/confidence-slim/1.10.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.0.0`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​200-httpswwwgithubcomgoogleapisapi-common-javacomparev1106v200-2021-07-29) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.10.6...v2.0.0) ##### ⚠ BREAKING CHANGES - update api-common-java min java version to java8 ([#​251](https://togithub.com/googleapis/api-common-java/issues/251)) ##### Features - update api-common-java min java version to java8 ([#​251](https://www.github.com/googleapis/api-common-java/issues/251)) ([7fe322c](https://www.github.com/googleapis/api-common-java/commit/7fe322cef65bdcc9549ddc9efa1ff95df36cc531)) ##### Dependencies - update guava version to 30.1.1-jre ([7fe322c](https://www.github.com/googleapis/api-common-java/commit/7fe322cef65bdcc9549ddc9efa1ff95df36cc531)) ##### [1.10.5](https://www.github.com/googleapis/api-common-java/compare/v1.10.5...v1.10.5) (2021-07-27) ##### Build System - migrate to google sonatype endpoint ([#​248](https://www.github.com/googleapis/api-common-java/issues/248)) ([c3ab73e](https://www.github.com/googleapis/api-common-java/commit/c3ab73eca99f3036a26fe10a880c1ff068efc0da)) ##### Dependencies - update dependency com.google.auto.value:auto-value to v1.8.2 ([#​242](https://www.github.com/googleapis/api-common-java/issues/242)) ([5de2f3e](https://www.github.com/googleapis/api-common-java/commit/5de2f3edfcaed42061ad7dbc4efc886587c0e769)) - update dependency com.google.auto.value:auto-value-annotations to v1.8.2 ([#​243](https://www.github.com/googleapis/api-common-java/issues/243)) ([53d6d38](https://www.github.com/googleapis/api-common-java/commit/53d6d38ac0a7d6dc5738823d69ac96d1eadd23a3)) - update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#​245](https://www.github.com/googleapis/api-common-java/issues/245)) ([8889689](https://www.github.com/googleapis/api-common-java/commit/88896894b821771293cda2d4b7a2f6027ee20ef4)) ##### [1.10.5](https://www.github.com/googleapis/api-common-java/compare/v1.10.4...v1.10.5) (2021-07-20) ##### Bug Fixes - Fix PathTemplate custom verb logic matching and instantiating ([#​244](https://www.github.com/googleapis/api-common-java/issues/244)) ([d4913d3](https://www.github.com/googleapis/api-common-java/commit/d4913d33ff2153cb3a8f6382ab8d918980f542ea)) ##### Dependencies - update dependency io.codearte.gradle.nexus:gradle-nexus-staging-plugin to v0.30.0 ([#​239](https://www.github.com/googleapis/api-common-java/issues/239)) ([2ca4359](https://www.github.com/googleapis/api-common-java/commit/2ca4359127cc2f8eddb81e8091362a75e1e6e38e)) ##### [1.10.4](https://www.github.com/googleapis/api-common-java/compare/v1.10.3...v1.10.4) (2021-05-19) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#​231](https://www.github.com/googleapis/api-common-java/issues/231)) ([51b00e0](https://www.github.com/googleapis/api-common-java/commit/51b00e0603583fc3b781783945dcbccef81a22fd)) ##### [1.10.3](https://www.github.com/googleapis/api-common-java/compare/v1.10.2...v1.10.3) (2021-04-22) ##### Dependencies - update dependency com.google.auto.value:auto-value to v1.8.1 ([#​219](https://www.github.com/googleapis/api-common-java/issues/219)) ([307c640](https://www.github.com/googleapis/api-common-java/commit/307c640cb487962786be5551a65863c7d2276a3a)) - update dependency com.google.auto.value:auto-value-annotations to v1.8.1 ([#​215](https://www.github.com/googleapis/api-common-java/issues/215)) ([15cebbc](https://www.github.com/googleapis/api-common-java/commit/15cebbcaea8a1ea62e4a800d8d325ee302971fcf)) ##### [1.10.2](https://www.github.com/googleapis/api-common-java/compare/v1.10.1...v1.10.2) (2021-04-19) ##### Dependencies - guava 30.1.1 ([#​207](https://www.github.com/googleapis/api-common-java/issues/207)) ([20578a0](https://www.github.com/googleapis/api-common-java/commit/20578a00e5b4ba2f9c4482eccf55ffa37ab12335)) ##### [1.10.1](https://www.github.com/googleapis/api-common-java/compare/v1.10.0...v1.10.1) (2020-10-16) ##### Dependencies - update dependency com.google.auto.value:auto-value to v1.7.4 ([#​170](https://www.github.com/googleapis/api-common-java/issues/170)) ([e6f8fef](https://www.github.com/googleapis/api-common-java/commit/e6f8fef536858c05a2b83404e8b9c774c6506894)) - update dependency com.google.auto.value:auto-value-annotations to v1.7.4 ([#​171](https://www.github.com/googleapis/api-common-java/issues/171)) ([00a12b9](https://www.github.com/googleapis/api-common-java/commit/00a12b94c44463b8f37b13cedc3a9241ec031f34)) - update dependency com.google.errorprone:error_prone_annotations to v2.4.0 ([#​172](https://www.github.com/googleapis/api-common-java/issues/172)) ([89b2a48](https://www.github.com/googleapis/api-common-java/commit/89b2a48ac22043d85c222979599522ca9397849f))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2a8a63aaf6a3..b16654143ef9 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 30.1.1-jre 3.17.3 - 1.10.6 + 2.0.0 2.3.2 1.95.4 1.0.0 From f39179f1d94576c301f8f76bdecef2b25d4cf037 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Aug 2021 21:32:29 +0200 Subject: [PATCH 1582/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1 (#416) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.13.1` -> `1.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/compatibility-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.0/confidence-slim/0.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.0.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​100-httpswwwgithubcomgoogleapisjava-shared-configcomparev0131v100-2021-07-29) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.13.1...v1.0.0) ##### ⚠ BREAKING CHANGES - update shared-config to java 1.8 ([#​277](https://togithub.com/googleapis/java-shared-config/issues/277)) ##### Features - update shared-config to java 1.8 ([#​277](https://www.github.com/googleapis/java-shared-config/issues/277)) ([9c297a2](https://www.github.com/googleapis/java-shared-config/commit/9c297a27bc236092aab3ae292c7bed206293bc51)) ##### [0.13.1](https://www.github.com/googleapis/java-shared-config/compare/v0.13.0...v0.13.1) (2021-07-27) ##### Bug Fixes - revert update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.2.0 ([#​280](https://www.github.com/googleapis/java-shared-config/issues/280)) ([bdbbb9c](https://www.github.com/googleapis/java-shared-config/commit/bdbbb9c13571d0ef06009ebf03bc25c6e6fcbc17))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b16654143ef9..ca76c2a1e1c2 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 From f7f9a23fdadcbd84242bb85294d192dd77233e9c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Aug 2021 21:44:28 +0200 Subject: [PATCH 1583/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.8.1 (#426) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.8.0` -> `2.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.8.1/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.8.1/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.8.1`](https://togithub.com/google/error-prone/compare/v2.8.0...v2.8.1) [Compare Source](https://togithub.com/google/error-prone/compare/v2.8.0...v2.8.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ca76c2a1e1c2..87159b4aa763 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -74,7 +74,7 @@ 1.0.14 0.28.0 3.0.2 - 2.8.0 + 2.8.1 2.12.4 1.15 4.4.14 From f08bbca7313e29ad43209ca4f3748f7ebe1ccff1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Aug 2021 21:48:13 +0200 Subject: [PATCH 1584/3036] deps: update gax.version to v2 (major) (#418) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `1.67.0` -> `2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.0.0/compatibility-slim/1.67.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.0.0/confidence-slim/1.67.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `1.67.0` -> `2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.0.0/compatibility-slim/1.67.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.0.0/confidence-slim/1.67.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.0.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​200-httpswwwgithubcomgoogleapisgax-javacomparev1670v200-2021-07-30) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v1.67.0...v2.0.0) ##### Features - promote to 2.0.0 ([#​1444](https://www.github.com/googleapis/gax-java/issues/1444)) ([776b1aa](https://www.github.com/googleapis/gax-java/commit/776b1aa73022bedec55e69732245b73cd04608f8)) ##### Bug Fixes - stop overriding default grpc executor ([#​1355](https://www.github.com/googleapis/gax-java/issues/1355)) ([b1f8c43](https://www.github.com/googleapis/gax-java/commit/b1f8c43cc90eb8e5ef78d142878841689356738c)) ##### Dependencies - update api-common, guava, google-auth-library-credentials ([#​1442](https://www.github.com/googleapis/gax-java/issues/1442)) ([2925ed7](https://www.github.com/googleapis/gax-java/commit/2925ed78cfb74db07a87da28839aeebc9027ac72))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 87159b4aa763..fb17af4e2f59 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.39.0 - 1.67.0 + 2.0.0 1.1.0 30.1.1-jre 3.17.3 From cbe5fafb1343afa0c345003c12260946f08b2360 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Aug 2021 22:04:12 +0200 Subject: [PATCH 1585/3036] deps: update google.core.version to v1.96.1 (#417) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.95.4` -> `1.96.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.96.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.96.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.96.1/compatibility-slim/1.95.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/1.96.1/confidence-slim/1.95.4)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `1.95.4` -> `1.96.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.96.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.96.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.96.1/compatibility-slim/1.95.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/1.96.1/confidence-slim/1.95.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index fb17af4e2f59..2bc07da1db39 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 2.0.0 2.3.2 - 1.95.4 + 1.96.1 1.0.0 1.39.2 1.31.5 From 1121e9ccf83b62e08372e13d4a84d0e924cabce7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 3 Aug 2021 22:12:25 +0200 Subject: [PATCH 1586/3036] deps: update google.core.version to v2 (major) (#427) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `1.96.1` -> `2.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.2/compatibility-slim/1.96.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.0.2/confidence-slim/1.96.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `1.96.1` -> `2.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.0.2/compatibility-slim/1.96.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.0.2/confidence-slim/1.96.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.0.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​202-httpswwwgithubcomgoogleapisjava-corecomparev201v202-2021-08-03)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2bc07da1db39..eae6075cd8ec 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 2.0.0 2.3.2 - 1.96.1 + 2.0.2 1.0.0 1.39.2 1.31.5 From 0047ac79b44f970d0b8208d572eff82994ea6fce Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 3 Aug 2021 16:48:25 -0400 Subject: [PATCH 1587/3036] feat!: promote to 2.0.0 (#428) Release-As: 2.0.0 From cef34f8de01a303945a5edca350dd9992eeff49b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 3 Aug 2021 21:04:13 +0000 Subject: [PATCH 1588/3036] chore: release 2.0.0 (#404) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :robot: I have created a release \*beep\* \*boop\* --- ## [2.0.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.4.0...v2.0.0) (2021-08-03) ### ⚠ BREAKING CHANGES * promote to 2.0.0 (#428) ### Features * promote to 2.0.0 ([#428](https://www.github.com/googleapis/java-shared-dependencies/issues/428)) ([0047ac7](https://www.github.com/googleapis/java-shared-dependencies/commit/0047ac79b44f970d0b8208d572eff82994ea6fce)) ### Documentation * we don't use this as a parent pom ([#407](https://www.github.com/googleapis/java-shared-dependencies/issues/407)) ([e3da184](https://www.github.com/googleapis/java-shared-dependencies/commit/e3da18442f7094d965d5bba207e5e429b9d7fed2)) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 ([#398](https://www.github.com/googleapis/java-shared-dependencies/issues/398)) ([702f57b](https://www.github.com/googleapis/java-shared-dependencies/commit/702f57bfbfe9a76ffae78486500c29b74cb5b63d)) * update dependency com.google.api:api-common to v1.10.6 ([#411](https://www.github.com/googleapis/java-shared-dependencies/issues/411)) ([44c5d4e](https://www.github.com/googleapis/java-shared-dependencies/commit/44c5d4e2b5a96c2b0986c441b0d6b995bc6ef3e2)) * update dependency com.google.api:api-common to v2 ([#414](https://www.github.com/googleapis/java-shared-dependencies/issues/414)) ([823ee33](https://www.github.com/googleapis/java-shared-dependencies/commit/823ee33390d8180f0d4304af80ccc811afec25d9)) * update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#400](https://www.github.com/googleapis/java-shared-dependencies/issues/400)) ([10f94b5](https://www.github.com/googleapis/java-shared-dependencies/commit/10f94b5ce9ffdb31051b63279bcb07281f5713a3)) * update dependency com.google.auth:google-auth-library-bom to v1 ([#413](https://www.github.com/googleapis/java-shared-dependencies/issues/413)) ([f624156](https://www.github.com/googleapis/java-shared-dependencies/commit/f6241568157cf5cffef090bfa10fc90727b50f68)) * update dependency com.google.cloud:grpc-gcp to v1.1.0 ([#403](https://www.github.com/googleapis/java-shared-dependencies/issues/403)) ([0a44b8e](https://www.github.com/googleapis/java-shared-dependencies/commit/0a44b8e0299d92a455794bae4949e30812b7c241)) * update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#406](https://www.github.com/googleapis/java-shared-dependencies/issues/406)) ([991d1a2](https://www.github.com/googleapis/java-shared-dependencies/commit/991d1a2b381b774d262c6cf595098e5958cf0f86)) * update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#426](https://www.github.com/googleapis/java-shared-dependencies/issues/426)) ([f7f9a23](https://www.github.com/googleapis/java-shared-dependencies/commit/f7f9a23fdadcbd84242bb85294d192dd77233e9c)) * update gax.version to v1.67.0 ([#405](https://www.github.com/googleapis/java-shared-dependencies/issues/405)) ([a874c6f](https://www.github.com/googleapis/java-shared-dependencies/commit/a874c6f95c98c72e881da433140633f8568e7da3)) * update gax.version to v2 (major) ([#418](https://www.github.com/googleapis/java-shared-dependencies/issues/418)) ([f08bbca](https://www.github.com/googleapis/java-shared-dependencies/commit/f08bbca7313e29ad43209ca4f3748f7ebe1ccff1)) * update google.core.version to v1.96.1 ([#417](https://www.github.com/googleapis/java-shared-dependencies/issues/417)) ([cbe5faf](https://www.github.com/googleapis/java-shared-dependencies/commit/cbe5fafb1343afa0c345003c12260946f08b2360)) * update google.core.version to v2 (major) ([#427](https://www.github.com/googleapis/java-shared-dependencies/issues/427)) ([1121e9c](https://www.github.com/googleapis/java-shared-dependencies/commit/1121e9ccf83b62e08372e13d4a84d0e924cabce7)) * update guava to 30.1.1-jre ([#423](https://www.github.com/googleapis/java-shared-dependencies/issues/423)) ([275543b](https://www.github.com/googleapis/java-shared-dependencies/commit/275543bc8dbef691310854e370525139672d6466)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 33 +++++++++++++++++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 36 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 2ddf93aa5b0c..e5019969ae58 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## [2.0.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.4.0...v2.0.0) (2021-08-03) + + +### ⚠ BREAKING CHANGES + +* promote to 2.0.0 (#428) + +### Features + +* promote to 2.0.0 ([#428](https://www.github.com/googleapis/java-shared-dependencies/issues/428)) ([4db31f2](https://www.github.com/googleapis/java-shared-dependencies/commit/4db31f29f1668d4743e8af8996b0c4b30e6831b3)) + + +### Documentation + +* we don't use this as a parent pom ([#407](https://www.github.com/googleapis/java-shared-dependencies/issues/407)) ([4c86aaf](https://www.github.com/googleapis/java-shared-dependencies/commit/4c86aafc05097b6702056f5cb37736127b6df306)) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 ([#398](https://www.github.com/googleapis/java-shared-dependencies/issues/398)) ([f0d49b5](https://www.github.com/googleapis/java-shared-dependencies/commit/f0d49b54ba334f9351c66c9924e3d0d2ed7c0016)) +* update dependency com.google.api:api-common to v1.10.6 ([#411](https://www.github.com/googleapis/java-shared-dependencies/issues/411)) ([79801b5](https://www.github.com/googleapis/java-shared-dependencies/commit/79801b5fee08a8c97e275ed3674ab6c83b204a90)) +* update dependency com.google.api:api-common to v2 ([#414](https://www.github.com/googleapis/java-shared-dependencies/issues/414)) ([17f6e68](https://www.github.com/googleapis/java-shared-dependencies/commit/17f6e68a2792843dd41d3877c095e97c052c5ac0)) +* update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#400](https://www.github.com/googleapis/java-shared-dependencies/issues/400)) ([0d5a95b](https://www.github.com/googleapis/java-shared-dependencies/commit/0d5a95b84076684f84b0fdbb93a706113f44457d)) +* update dependency com.google.auth:google-auth-library-bom to v1 ([#413](https://www.github.com/googleapis/java-shared-dependencies/issues/413)) ([94897d3](https://www.github.com/googleapis/java-shared-dependencies/commit/94897d30bb1cac0059e272b058f6221fb7e4733f)) +* update dependency com.google.cloud:grpc-gcp to v1.1.0 ([#403](https://www.github.com/googleapis/java-shared-dependencies/issues/403)) ([3cc59f1](https://www.github.com/googleapis/java-shared-dependencies/commit/3cc59f15ebb31a7f97c9f3d78057022afabe75e9)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#406](https://www.github.com/googleapis/java-shared-dependencies/issues/406)) ([2905787](https://www.github.com/googleapis/java-shared-dependencies/commit/29057879adeda8bc40a903ef3b5feafc83c3d972)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#426](https://www.github.com/googleapis/java-shared-dependencies/issues/426)) ([853b68b](https://www.github.com/googleapis/java-shared-dependencies/commit/853b68b16c88c3abb745ee1f71ba4bb317cbc680)) +* update gax.version to v1.67.0 ([#405](https://www.github.com/googleapis/java-shared-dependencies/issues/405)) ([632dcd0](https://www.github.com/googleapis/java-shared-dependencies/commit/632dcd0a9f10b034a2a2ec92c7c3413490dd2a03)) +* update gax.version to v2 (major) ([#418](https://www.github.com/googleapis/java-shared-dependencies/issues/418)) ([670a9e0](https://www.github.com/googleapis/java-shared-dependencies/commit/670a9e0a9588a7e592eb5dd8c0cb9ab08e07293e)) +* update google.core.version to v1.96.1 ([#417](https://www.github.com/googleapis/java-shared-dependencies/issues/417)) ([49db9cb](https://www.github.com/googleapis/java-shared-dependencies/commit/49db9cb473c8d3d794ad57a41cfc223239482174)) +* update google.core.version to v2 (major) ([#427](https://www.github.com/googleapis/java-shared-dependencies/issues/427)) ([8cc7a92](https://www.github.com/googleapis/java-shared-dependencies/commit/8cc7a922cc3ba10a157e3649d7a783bbbcbee010)) +* update guava to 30.1.1-jre ([#423](https://www.github.com/googleapis/java-shared-dependencies/issues/423)) ([94aca59](https://www.github.com/googleapis/java-shared-dependencies/commit/94aca597804d7b45aae22811b277c44281e62d64)) + ## [1.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.3.0...v1.4.0) (2021-06-30) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 53b81803a078..ae7cbc892936 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 1.4.0 + 2.0.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index eae6075cd8ec..979b0cd269c1 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 - 1.4.1-SNAPSHOT + 2.0.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 3f5ae459ec90..f75561afffed 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.4.0:1.4.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.0.0:2.0.0 \ No newline at end of file From 70b5333071b84f1f7d80a03a51af9ed4269a96a6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 4 Aug 2021 10:22:17 -0700 Subject: [PATCH 1589/3036] chore: remove java 7 units check (#498) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/cb70a5e2-3bad-4328-977e-72013c74cb5f/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/1a2878d6909dd10ca4e3c1b5943d6622e996054e --- java-core/.github/workflows/ci.yaml | 2 +- java-core/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 0195b32f00b4..65ae6ecdda77 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [7, 8, 11] + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2a5294e97c5f..2d57825973e3 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "e9615ea60b30dccfae2e5c4f9247e591dbfeb52f" + "sha": "91822485ff4b85d6ebff52682a74ee5d022b8655" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5d3c52f5db664eee9026db76b5bcb466f3a09ca9" + "sha": "1a2878d6909dd10ca4e3c1b5943d6622e996054e" } } ], From 2829564511ea9d62d83a7d5e53ec1bbe54d7c21d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 5 Aug 2021 10:06:26 -0700 Subject: [PATCH 1590/3036] chore: remove java 7 units check (#163) Source-Author: Neenu Shaji Source-Date: Wed Jul 28 18:18:26 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 1a2878d6909dd10ca4e3c1b5943d6622e996054e Source-Link: https://github.com/googleapis/synthtool/commit/1a2878d6909dd10ca4e3c1b5943d6622e996054e --- java-iam/.github/workflows/ci.yaml | 2 +- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 0195b32f00b4..65ae6ecdda77 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [7, 8, 11] + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 9f586701baae..974cc40ba1dd 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "3ae49647f90786de96ab294750407d96ec9242c1" + "sha": "05c0976c39b5616b07861e6887c6684a064bbaaa" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5d3c52f5db664eee9026db76b5bcb466f3a09ca9" + "sha": "1a2878d6909dd10ca4e3c1b5943d6622e996054e" } } ], From 96065035e421b72280671a22c4bd73559e8b42ad Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 5 Aug 2021 19:06:34 +0200 Subject: [PATCH 1591/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1 (#166) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d6acd5407068..bfe584f9cd27 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.13.1 + 1.0.0 From 49c0ba3639efdd9fce9021f2b4d6538399a70c6a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 01:33:44 +0200 Subject: [PATCH 1592/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.8.1 (#512) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e0cae657e286..21cf2dc0e185 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.5.1 2.6 - 2.8.0 + 2.8.1 2.8.7
    From e848f49cd11d86d133133831c167cbb645916eb1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Aug 2021 23:40:37 +0000 Subject: [PATCH 1593/3036] chore: release 2.0.3 (#514) :robot: I have created a release \*beep\* \*boop\* --- ### [2.0.3](https://www.github.com/googleapis/java-core/compare/v2.0.2...v2.0.3) (2021-08-10) ### Dependencies * update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#512](https://www.github.com/googleapis/java-core/issues/512)) ([49c0ba3](https://www.github.com/googleapis/java-core/commit/49c0ba3639efdd9fce9021f2b4d6538399a70c6a)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 94deb2516415..ecb6f737590a 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.0.3](https://www.github.com/googleapis/java-core/compare/v2.0.2...v2.0.3) (2021-08-10) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#512](https://www.github.com/googleapis/java-core/issues/512)) ([6127b8f](https://www.github.com/googleapis/java-core/commit/6127b8f23ec267a4cf8daa794b88a5cd97f054e3)) + ### [2.0.2](https://www.github.com/googleapis/java-core/compare/v2.0.1...v2.0.2) (2021-08-03) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8b190bde1d8c..a500635d6f4f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.3-SNAPSHOT + 2.0.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.3-SNAPSHOT + 2.0.3 com.google.cloud google-cloud-core-grpc - 2.0.3-SNAPSHOT + 2.0.3 com.google.cloud google-cloud-core-http - 2.0.3-SNAPSHOT + 2.0.3 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1118e7c29048..1c6d8fe65194 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.0.3-SNAPSHOT + 2.0.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.3-SNAPSHOT + 2.0.3 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 94ebed68505b..6fdb265a71fb 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.0.3-SNAPSHOT + 2.0.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.3-SNAPSHOT + 2.0.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2aa8347fa353..224aca5ef0bf 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.0.3-SNAPSHOT + 2.0.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.3-SNAPSHOT + 2.0.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 21cf2dc0e185..b0ccdbfe5515 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.3-SNAPSHOT + 2.0.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7fac45759b06..2c836b3ff298 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.2:2.0.3-SNAPSHOT \ No newline at end of file +google-cloud-core:2.0.3:2.0.3 \ No newline at end of file From dac5d552b49075355b05a657047e50a4fcf15d64 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 Aug 2021 23:48:51 +0000 Subject: [PATCH 1594/3036] chore: release 2.0.4-SNAPSHOT (#515) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a500635d6f4f..915cd958ce2b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.3 + 2.0.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.3 + 2.0.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.0.3 + 2.0.4-SNAPSHOT com.google.cloud google-cloud-core-http - 2.0.3 + 2.0.4-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1c6d8fe65194..3ef50aa65a0c 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.0.3 + 2.0.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.3 + 2.0.4-SNAPSHOT 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 6fdb265a71fb..372300834790 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.0.3 + 2.0.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.3 + 2.0.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 224aca5ef0bf..a8135786790b 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.0.3 + 2.0.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.3 + 2.0.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b0ccdbfe5515..2bcd998e61c1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.3 + 2.0.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 2c836b3ff298..9b12441b462d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.3:2.0.3 \ No newline at end of file +google-cloud-core:2.0.3:2.0.4-SNAPSHOT \ No newline at end of file From 0d08b09112f190f4f008d811e9f242cc2d928245 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 04:52:34 +0200 Subject: [PATCH 1595/3036] deps: update dependency com.google.api:api-common to v2.0.1 (#516) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2bcd998e61c1..1f723b2233a3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.0.0 - 2.0.0 + 2.0.1 2.3.2 1.0.14 1.0.0 From 1e43088021bec5e2ebf9f2f8bbf3c9b88c6bfb1b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Aug 2021 03:00:36 +0000 Subject: [PATCH 1596/3036] chore: release 2.0.4 (#517) :robot: I have created a release \*beep\* \*boop\* --- ### [2.0.4](https://www.github.com/googleapis/java-core/compare/v2.0.3...v2.0.4) (2021-08-11) ### Dependencies * update dependency com.google.api:api-common to v2.0.1 ([#516](https://www.github.com/googleapis/java-core/issues/516)) ([0d08b09](https://www.github.com/googleapis/java-core/commit/0d08b09112f190f4f008d811e9f242cc2d928245)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index ecb6f737590a..e34ecd7ae879 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.0.4](https://www.github.com/googleapis/java-core/compare/v2.0.3...v2.0.4) (2021-08-11) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.1 ([#516](https://www.github.com/googleapis/java-core/issues/516)) ([aa6abf3](https://www.github.com/googleapis/java-core/commit/aa6abf3cc458ca117ec009fb29a14fd4f5409ef3)) + ### [2.0.3](https://www.github.com/googleapis/java-core/compare/v2.0.2...v2.0.3) (2021-08-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 915cd958ce2b..67782b8c6342 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.4-SNAPSHOT + 2.0.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.4-SNAPSHOT + 2.0.4 com.google.cloud google-cloud-core-grpc - 2.0.4-SNAPSHOT + 2.0.4 com.google.cloud google-cloud-core-http - 2.0.4-SNAPSHOT + 2.0.4 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3ef50aa65a0c..c310b1f06beb 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.0.4-SNAPSHOT + 2.0.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.4-SNAPSHOT + 2.0.4 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 372300834790..f3c32b51cf73 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.0.4-SNAPSHOT + 2.0.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.4-SNAPSHOT + 2.0.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a8135786790b..9231ac1bacd3 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.0.4-SNAPSHOT + 2.0.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.4-SNAPSHOT + 2.0.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 1f723b2233a3..d451d8942c6a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.4-SNAPSHOT + 2.0.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9b12441b462d..ae70f996c8dc 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.3:2.0.4-SNAPSHOT \ No newline at end of file +google-cloud-core:2.0.4:2.0.4 \ No newline at end of file From 6fe40ba3ac84c86ff869a6f555a2bdd4c422dc80 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Aug 2021 03:06:37 +0000 Subject: [PATCH 1597/3036] chore: release 2.0.5-SNAPSHOT (#518) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 67782b8c6342..18bc491bd905 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.4 + 2.0.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.4 + 2.0.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.0.4 + 2.0.5-SNAPSHOT com.google.cloud google-cloud-core-http - 2.0.4 + 2.0.5-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c310b1f06beb..9503ff058b64 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.0.4 + 2.0.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.4 + 2.0.5-SNAPSHOT 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 f3c32b51cf73..5bc72dc5f17b 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.0.4 + 2.0.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.4 + 2.0.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9231ac1bacd3..0f5ac147df0a 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.0.4 + 2.0.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.4 + 2.0.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index d451d8942c6a..62f9b29d5764 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.4 + 2.0.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ae70f996c8dc..259e1bbc681c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.4:2.0.4 \ No newline at end of file +google-cloud-core:2.0.4:2.0.5-SNAPSHOT \ No newline at end of file From da5789cc71206c1f1c061c2de9801656ea27cafc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 17:06:03 +0200 Subject: [PATCH 1598/3036] deps: update dependency com.google.api:gax-bom to v2.1.0 (#519) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 62f9b29d5764..e0213074d9df 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.0.0 + 2.1.0 2.0.1 2.3.2 1.0.14 From 8e10d34622d45baeb6e4f89c25e8408c85adec77 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Aug 2021 15:12:25 +0000 Subject: [PATCH 1599/3036] chore: release 2.0.5 (#520) :robot: I have created a release \*beep\* \*boop\* --- ### [2.0.5](https://www.github.com/googleapis/java-core/compare/v2.0.4...v2.0.5) (2021-08-11) ### Dependencies * update dependency com.google.api:gax-bom to v2.1.0 ([#519](https://www.github.com/googleapis/java-core/issues/519)) ([da5789c](https://www.github.com/googleapis/java-core/commit/da5789cc71206c1f1c061c2de9801656ea27cafc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index e34ecd7ae879..cb3b5fa1ea32 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.0.5](https://www.github.com/googleapis/java-core/compare/v2.0.4...v2.0.5) (2021-08-11) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.1.0 ([#519](https://www.github.com/googleapis/java-core/issues/519)) ([266e2f7](https://www.github.com/googleapis/java-core/commit/266e2f75e83fe1fd635a1528deb38131b8bfc742)) + ### [2.0.4](https://www.github.com/googleapis/java-core/compare/v2.0.3...v2.0.4) (2021-08-11) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 18bc491bd905..66872a86cf68 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.5-SNAPSHOT + 2.0.5 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.5-SNAPSHOT + 2.0.5 com.google.cloud google-cloud-core-grpc - 2.0.5-SNAPSHOT + 2.0.5 com.google.cloud google-cloud-core-http - 2.0.5-SNAPSHOT + 2.0.5 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9503ff058b64..f2ec098a3e93 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.0.5-SNAPSHOT + 2.0.5 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.5-SNAPSHOT + 2.0.5 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 5bc72dc5f17b..c350b80ebc98 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.0.5-SNAPSHOT + 2.0.5 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.5-SNAPSHOT + 2.0.5 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0f5ac147df0a..ae00e424224e 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.0.5-SNAPSHOT + 2.0.5 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.5-SNAPSHOT + 2.0.5 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index e0213074d9df..9aa3b7bc4f08 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.5-SNAPSHOT + 2.0.5 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 259e1bbc681c..18c242318dc1 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.4:2.0.5-SNAPSHOT \ No newline at end of file +google-cloud-core:2.0.5:2.0.5 \ No newline at end of file From e2da1665fae7e64971b415e8246a0d112b23b7f3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Aug 2021 15:20:17 +0000 Subject: [PATCH 1600/3036] chore: release 2.0.6-SNAPSHOT (#521) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 66872a86cf68..354682755b5e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.5 + 2.0.6-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.5 + 2.0.6-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.0.5 + 2.0.6-SNAPSHOT com.google.cloud google-cloud-core-http - 2.0.5 + 2.0.6-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f2ec098a3e93..db100e86d7ba 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.0.5 + 2.0.6-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.5 + 2.0.6-SNAPSHOT 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 c350b80ebc98..6cd4e9d73990 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.0.5 + 2.0.6-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.5 + 2.0.6-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ae00e424224e..383da399c986 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.0.5 + 2.0.6-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.5 + 2.0.6-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9aa3b7bc4f08..dfd90c03e71c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.5 + 2.0.6-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 18c242318dc1..17dee545acb3 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.5:2.0.5 \ No newline at end of file +google-cloud-core:2.0.5:2.0.6-SNAPSHOT \ No newline at end of file From a056ece9155dd610d1956e969c1f6ac2b5dfd7c7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Aug 2021 11:31:17 -0400 Subject: [PATCH 1601/3036] chore: release 2.0.1-SNAPSHOT (#429) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 979b0cd269c1..6cca551e308f 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 - 2.0.0 + 2.0.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index f75561afffed..dfb4f5ae84f9 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.0.0:2.0.0 \ No newline at end of file +google-cloud-shared-dependencies:2.0.0:2.0.1-SNAPSHOT \ No newline at end of file From fd2e2a644439ec43d39a494ac7177df43173b200 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 11 Aug 2021 08:31:48 -0700 Subject: [PATCH 1602/3036] chore: remove java 7 units check (#415) Source-Author: Neenu Shaji Source-Date: Wed Jul 28 18:18:26 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 1a2878d6909dd10ca4e3c1b5943d6622e996054e Source-Link: https://github.com/googleapis/synthtool/commit/1a2878d6909dd10ca4e3c1b5943d6622e996054e --- java-shared-dependencies/.github/workflows/ci.yaml | 2 +- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 0195b32f00b4..65ae6ecdda77 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [7, 8, 11] + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index 6530484ebe7b..a2fa0d2bdd99 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "f0d49b54ba334f9351c66c9924e3d0d2ed7c0016" + "sha": "4d58412e44b1bbb5ddaba2a2db98ebe77681891f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "09c59c20a4bf0daed1665af59035ff240fe356df" + "sha": "1a2878d6909dd10ca4e3c1b5943d6622e996054e" } } ], From 79179a5280ced8c49b0c93efa5889afe7f26610d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 17:32:23 +0200 Subject: [PATCH 1603/3036] deps: update dependency com.google.api:api-common to v2.0.1 (#431) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6cca551e308f..3e442ff3875f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 30.1.1-jre 3.17.3 - 2.0.0 + 2.0.1 2.3.2 2.0.2 1.0.0 From 32e6f62bc3b09f8a70347ecd4d47b618875ec602 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 17:40:02 +0200 Subject: [PATCH 1604/3036] deps: update gax.version to v2.1.0 (#432) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3e442ff3875f..318fb9e7f664 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -56,7 +56,7 @@ ${project.artifactId} 1.39.0 - 2.0.0 + 2.1.0 1.1.0 30.1.1-jre 3.17.3 From af71faf875ba29110fbd788942f8e9e8caa55d50 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 17:40:26 +0200 Subject: [PATCH 1605/3036] deps: update google.core.version to v2.0.4 (#430) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 318fb9e7f664..3fe1b9686529 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 2.0.1 2.3.2 - 2.0.2 + 2.0.4 1.0.0 1.39.2 1.31.5 From bf02ff6c5ab2e565c23468ec0dbe7470e06c8b66 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 11 Aug 2021 19:03:55 +0200 Subject: [PATCH 1606/3036] deps: update google.core.version to v2.0.5 (#434) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3fe1b9686529..4f0ba60d08f6 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 2.0.1 2.3.2 - 2.0.4 + 2.0.5 1.0.0 1.39.2 1.31.5 From f121a70e0d54bb4287b25630cca7fb5948018a9a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Aug 2021 19:20:11 +0000 Subject: [PATCH 1607/3036] chore: release 2.0.1 (#433) :robot: I have created a release \*beep\* \*boop\* --- ### [2.0.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.0...v2.0.1) (2021-08-11) ### Dependencies * update dependency com.google.api:api-common to v2.0.1 ([#431](https://www.github.com/googleapis/java-shared-dependencies/issues/431)) ([79179a5](https://www.github.com/googleapis/java-shared-dependencies/commit/79179a5280ced8c49b0c93efa5889afe7f26610d)) * update gax.version to v2.1.0 ([#432](https://www.github.com/googleapis/java-shared-dependencies/issues/432)) ([32e6f62](https://www.github.com/googleapis/java-shared-dependencies/commit/32e6f62bc3b09f8a70347ecd4d47b618875ec602)) * update google.core.version to v2.0.4 ([#430](https://www.github.com/googleapis/java-shared-dependencies/issues/430)) ([af71faf](https://www.github.com/googleapis/java-shared-dependencies/commit/af71faf875ba29110fbd788942f8e9e8caa55d50)) * update google.core.version to v2.0.5 ([#434](https://www.github.com/googleapis/java-shared-dependencies/issues/434)) ([bf02ff6](https://www.github.com/googleapis/java-shared-dependencies/commit/bf02ff6c5ab2e565c23468ec0dbe7470e06c8b66)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 10 ++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index e5019969ae58..849d858c9e85 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### [2.0.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.0...v2.0.1) (2021-08-11) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.1 ([#431](https://www.github.com/googleapis/java-shared-dependencies/issues/431)) ([b1a52c8](https://www.github.com/googleapis/java-shared-dependencies/commit/b1a52c83e19be7be80086f2010e928171b046f62)) +* update gax.version to v2.1.0 ([#432](https://www.github.com/googleapis/java-shared-dependencies/issues/432)) ([7f53006](https://www.github.com/googleapis/java-shared-dependencies/commit/7f53006d021e839f52325a87d7c4715eff88818d)) +* update google.core.version to v2.0.4 ([#430](https://www.github.com/googleapis/java-shared-dependencies/issues/430)) ([d0465ad](https://www.github.com/googleapis/java-shared-dependencies/commit/d0465ad3a79993d4e854078ea992e53ab9add07f)) +* update google.core.version to v2.0.5 ([#434](https://www.github.com/googleapis/java-shared-dependencies/issues/434)) ([af00753](https://www.github.com/googleapis/java-shared-dependencies/commit/af0075390034cba5cefede8260ab03f728d525a8)) + ## [2.0.0](https://www.github.com/googleapis/java-shared-dependencies/compare/1.4.0...v2.0.0) (2021-08-03) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index ae7cbc892936..5f3c46dcae9b 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.0.0 + 2.0.1 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4f0ba60d08f6..0685cddef853 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 - 2.0.1-SNAPSHOT + 2.0.1 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index dfb4f5ae84f9..9b6b385ac798 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.0.0:2.0.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.0.1:2.0.1 \ No newline at end of file From 6406a49f82c035cf6d9069e23ef2e8d1231c29e0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 16 Aug 2021 15:14:15 -0700 Subject: [PATCH 1608/3036] build(java): use ENABLE_FLAKYBOT env variable (#522) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/9dce93a5-f80c-44ec-8590-72b85d27a709/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/ff01716e16d2c6e87eaf87197b753ac9fcbbed5d --- java-core/.kokoro/build.sh | 2 +- java-core/.kokoro/nightly/integration.cfg | 2 +- java-core/.kokoro/nightly/samples.cfg | 2 +- java-core/synth.metadata | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 372d331b7a52..08abe505209f 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -115,7 +115,7 @@ fi # fix output location of logs bash .kokoro/coerce_logs.sh -if [[ "${ENABLE_BUILD_COP}" == "true" ]] +if [[ "${ENABLE_FLAKYBOT}" == "true" ]] then chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-core diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg index 0048c8ece7e5..e51c7b4c6c11 100644 --- a/java-core/.kokoro/nightly/integration.cfg +++ b/java-core/.kokoro/nightly/integration.cfg @@ -22,7 +22,7 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" } diff --git a/java-core/.kokoro/nightly/samples.cfg b/java-core/.kokoro/nightly/samples.cfg index f25429314f4d..9761fd8648cb 100644 --- a/java-core/.kokoro/nightly/samples.cfg +++ b/java-core/.kokoro/nightly/samples.cfg @@ -33,6 +33,6 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" } diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2d57825973e3..c3a8755261fa 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "91822485ff4b85d6ebff52682a74ee5d022b8655" + "sha": "55f19b5095602e39b153fb55feb8c0ab33737944" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1a2878d6909dd10ca4e3c1b5943d6622e996054e" + "sha": "ff01716e16d2c6e87eaf87197b753ac9fcbbed5d" } } ], From 0eeb60f50437f13a06be6961a74c7c778fb7055a Mon Sep 17 00:00:00 2001 From: Aristide Niyungeko <2230766+aristide-n@users.noreply.github.com> Date: Mon, 16 Aug 2021 16:10:23 -0700 Subject: [PATCH 1609/3036] feat: support downloading an emulator from an access controlled URL (#513) * feat: support downloading an emulator from an access controlled URL fixes googleapis/java-datastore#376 used in googleapis/java-datastore#492 * fix format --- .../google/cloud/testing/BaseEmulatorHelper.java | 14 +++++++++++++- .../cloud/testing/BaseEmulatorHelperTest.java | 4 +++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java index 9a0898960a56..9679c6299c02 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/BaseEmulatorHelper.java @@ -38,6 +38,7 @@ import java.net.HttpURLConnection; import java.net.ServerSocket; import java.net.URL; +import java.net.URLConnection; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.nio.file.Files; @@ -316,6 +317,7 @@ protected static class DownloadableEmulatorRunner implements EmulatorRunner { private final String md5CheckSum; private final URL downloadUrl; private final String fileName; + private String accessToken; private Process process; private static final Logger log = Logger.getLogger(DownloadableEmulatorRunner.class.getName()); @@ -328,6 +330,12 @@ public DownloadableEmulatorRunner( this.fileName = splitUrl[splitUrl.length - 1]; } + public DownloadableEmulatorRunner( + List commandText, URL downloadUrl, String md5CheckSum, String accessToken) { + this(commandText, downloadUrl, md5CheckSum); + this.accessToken = accessToken; + } + @Override public boolean isAvailable() { try { @@ -420,7 +428,11 @@ private File downloadZipFile() throws IOException { if (log.isLoggable(Level.FINE)) { log.fine("Fetching emulator"); } - ReadableByteChannel rbc = Channels.newChannel(downloadUrl.openStream()); + URLConnection urlConnection = downloadUrl.openConnection(); + if (accessToken != null) { + urlConnection.setRequestProperty("Authorization", "Bearer " + accessToken); + } + ReadableByteChannel rbc = Channels.newChannel(urlConnection.getInputStream()); try (FileOutputStream fos = new FileOutputStream(zipFile)) { fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java index 3a799e2044af..b002a6198bac 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/testing/BaseEmulatorHelperTest.java @@ -108,6 +108,7 @@ public void testEmulatorHelperDownloadWithRetries() String mockInputStream = "mockInputStream"; String mockProtocol = "mockProtocol"; String mockFile = "mockFile"; + String mockAccessToken = "mockAccessToken"; String mockCommandText = "mockCommandText"; MockURLStreamHandler mockURLStreamHandler = EasyMock.createMock(MockURLStreamHandler.class); @@ -119,6 +120,7 @@ public void testEmulatorHelperDownloadWithRetries() EasyMock.expect(mockURLConnection.getInputStream()) .andReturn(new ByteArrayInputStream(mockInputStream.getBytes())) .anyTimes(); + mockURLConnection.setRequestProperty("Authorization", "Bearer " + mockAccessToken); EasyMock.expect(mockURLStreamHandler.openConnection(EasyMock.anyObject(URL.class))) .andThrow(new EOFException()) .times(1); @@ -130,7 +132,7 @@ public void testEmulatorHelperDownloadWithRetries() URL url = new URL(mockProtocol, null, 0, mockFile, mockURLStreamHandler); BaseEmulatorHelper.DownloadableEmulatorRunner runner = new BaseEmulatorHelper.DownloadableEmulatorRunner( - ImmutableList.of(mockCommandText), url, null); + ImmutableList.of(mockCommandText), url, null, mockAccessToken); File cachedFile = new File(System.getProperty("java.io.tmpdir"), mockExternalForm); cachedFile.delete(); // Clear the cached version so we're always testing the download From 500ff452a582f24b386392116a4697e0adc5d69b Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 18 Aug 2021 11:41:28 -0400 Subject: [PATCH 1610/3036] chore: remove java7 units check from required checks in master (#170) --- java-iam/.github/sync-repo-settings.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml index d3ce755af08c..7dd5c3765cfc 100644 --- a/java-iam/.github/sync-repo-settings.yaml +++ b/java-iam/.github/sync-repo-settings.yaml @@ -13,7 +13,6 @@ branchProtectionRules: - linkage-monitor - lint - clirr - - units (7) - units (8) - units (11) - 'Kokoro - Test: Integration' From 3fb239b90ccb44b700519af85a02a31a0b92d273 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 18 Aug 2021 08:41:39 -0700 Subject: [PATCH 1611/3036] build(java): use ENABLE_FLAKYBOT env variable (#171) Kokoro job config now supports both environment variables during this migration period. Source-Author: Jeff Ching Source-Date: Thu Aug 12 10:10:27 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: ff01716e16d2c6e87eaf87197b753ac9fcbbed5d Source-Link: https://github.com/googleapis/synthtool/commit/ff01716e16d2c6e87eaf87197b753ac9fcbbed5d --- java-iam/.kokoro/build.sh | 2 +- java-iam/.kokoro/nightly/integration.cfg | 2 +- java-iam/.kokoro/nightly/samples.cfg | 2 +- java-iam/synth.metadata | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index bc19d65a01c3..558ca931d312 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -115,7 +115,7 @@ fi # fix output location of logs bash .kokoro/coerce_logs.sh -if [[ "${ENABLE_BUILD_COP}" == "true" ]] +if [[ "${ENABLE_FLAKYBOT}" == "true" ]] then chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-iam diff --git a/java-iam/.kokoro/nightly/integration.cfg b/java-iam/.kokoro/nightly/integration.cfg index 0048c8ece7e5..e51c7b4c6c11 100644 --- a/java-iam/.kokoro/nightly/integration.cfg +++ b/java-iam/.kokoro/nightly/integration.cfg @@ -22,7 +22,7 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" } diff --git a/java-iam/.kokoro/nightly/samples.cfg b/java-iam/.kokoro/nightly/samples.cfg index f25429314f4d..9761fd8648cb 100644 --- a/java-iam/.kokoro/nightly/samples.cfg +++ b/java-iam/.kokoro/nightly/samples.cfg @@ -33,6 +33,6 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 974cc40ba1dd..bca70bf8c704 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "05c0976c39b5616b07861e6887c6684a064bbaaa" + "sha": "46ebe57f37434feb75b5c4da17735bd1167eb0cb" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1a2878d6909dd10ca4e3c1b5943d6622e996054e" + "sha": "ff01716e16d2c6e87eaf87197b753ac9fcbbed5d" } } ], From 1e803efeb7f5ad5571e181b3670062889f912c52 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 02:20:46 +0200 Subject: [PATCH 1612/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.1 (#440) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0685cddef853..ecd760786847 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.0 + 1.0.1 From 9929e80046d40d0033a6ec046af6c6103d1b1659 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 02:20:52 +0200 Subject: [PATCH 1613/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.1 (#527) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.0.0` -> `1.0.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.1/compatibility-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.1/confidence-slim/1.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.0.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​101-httpswwwgithubcomgoogleapisjava-shared-configcomparev100v101-2021-08-18) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.0.0...v1.0.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 354682755b5e..293b518786fe 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.0.0 + 1.0.1 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index dfd90c03e71c..21cbbd0c9789 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.0 + 1.0.1 From a8ec54e66602252793d7cd31883fdf792b3ab0eb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 02:50:57 +0200 Subject: [PATCH 1614/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.1 (#172) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bfe584f9cd27..94d2296482a9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.0 + 1.0.1 From 12ba8401f26e5915a9d92378500e2f583ee123a6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 18:12:10 +0200 Subject: [PATCH 1615/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.1.0 (#439) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ecd760786847..0756fd6f4f60 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.0.1 2.3.2 2.0.5 - 1.0.0 + 1.1.0 1.39.2 1.31.5 1.32.1 From 46767562780d5c2a96077dbde660436d9e72523a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 18:12:22 +0200 Subject: [PATCH 1616/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.1.0 (#526) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 21cbbd0c9789..1c21a6f73602 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.0.1 2.3.2 1.0.14 - 1.0.0 + 1.1.0 1.32.1 1.39.2 1.39.0 From 2f9ef2f9e577bb7255aa7b89694850d8d4a56783 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 19:09:24 +0200 Subject: [PATCH 1617/3036] deps: update dependency io.grpc:grpc-bom to v1.40.0 (#438) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0756fd6f4f60..922250a313bb 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.39.0 + 1.40.0 2.1.0 1.1.0 30.1.1-jre From 686ecea074146ebb7bd0134c67bf3cb63f66d3a7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 19:09:36 +0200 Subject: [PATCH 1618/3036] deps: update dependency io.grpc:grpc-bom to v1.40.0 (#525) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1c21a6f73602..755594402767 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.1.0 1.32.1 1.39.2 - 1.39.0 + 1.40.0 3.17.3 0.28.0 1.3.2 From ff422a521baf804839020bfbaa64fbfa669c4739 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 19:16:52 +0200 Subject: [PATCH 1619/3036] deps: update dependency com.google.api:gax-bom to v2.3.0 (#523) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 755594402767..d4ecc053eaf9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.1.0 + 2.3.0 2.0.1 2.3.2 1.0.14 From 3fc837e058d6e993bec7b10ed7b86a4b26a6e83f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 19:22:19 +0200 Subject: [PATCH 1620/3036] deps: update gax.version to v2.3.0 (#437) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.1.0` -> `2.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.3.0/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.3.0/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.1.0` -> `2.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.3.0/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.3.0/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.3.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​230-httpswwwgithubcomgoogleapisgax-javacomparev220v230-2021-08-16) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.2.0...v2.3.0) ##### Features - add custom options to ApiCallContext ([#​1435](https://www.togithub.com/googleapis/gax-java/issues/1435)) ([0fe20f3](https://www.github.com/googleapis/gax-java/commit/0fe20f379feba1570e562e60e3f0bf7cc4e485bd)) - add UseJwtAccessWithScope to GoogleCredentialsProvider ([#​1420](https://www.togithub.com/googleapis/gax-java/issues/1420)) ([ed39c34](https://www.github.com/googleapis/gax-java/commit/ed39c34693783460fc03effb47e7027914cfb5bc)) ### [`v2.2.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​220-httpswwwgithubcomgoogleapisgax-javacomparev210v220-2021-08-13) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.1.0...v2.2.0) ##### Features - Add AIP-151 LRO OperationsClient to gax-httpjson ([#​1458](https://www.togithub.com/googleapis/gax-java/issues/1458)) ([314acb6](https://www.github.com/googleapis/gax-java/commit/314acb6a5c335732e8406bec86f6c37296ebf3f3))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/pom.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 922250a313bb..db1ef655005d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -54,9 +54,8 @@ UTF-8 ${project.artifactId} - 1.40.0 - 2.1.0 + 2.3.0 1.1.0 30.1.1-jre 3.17.3 From e05bf8375534ebec28ab452c27e2ab3b86ccbfc4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 Aug 2021 21:47:34 +0200 Subject: [PATCH 1621/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2 (#168) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 94d2296482a9..95f73f78662f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.4.0 + 2.0.1 pom import From 8a1956abdca080bd81254da79731d81d16972ddf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 20 Aug 2021 01:20:58 +0200 Subject: [PATCH 1622/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.9.0 (#528) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d4ecc053eaf9..990fe466e876 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.5.1 2.6 - 2.8.1 + 2.9.0 2.8.7 From 829e87021016001fce09fb1d16d64cd0aa43b0fa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Aug 2021 18:15:20 +0200 Subject: [PATCH 1623/3036] deps: update dependency com.google.code.gson:gson to v2.8.8 (#529) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 990fe466e876..18e1b5457b5e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 1.5.1 2.6 2.9.0 - 2.8.7 + 2.8.8
    From a8f4eaf602cb29b0527acf12970e357b68b2a116 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Aug 2021 16:22:25 +0000 Subject: [PATCH 1624/3036] chore: release 2.1.0 (#524) :robot: I have created a release \*beep\* \*boop\* --- ## [2.1.0](https://www.github.com/googleapis/java-core/compare/v2.0.5...v2.1.0) (2021-08-23) ### Features * support downloading an emulator from an access controlled URL ([#513](https://www.github.com/googleapis/java-core/issues/513)) ([0eeb60f](https://www.github.com/googleapis/java-core/commit/0eeb60f50437f13a06be6961a74c7c778fb7055a)) ### Dependencies * update dependency com.google.api:gax-bom to v2.3.0 ([#523](https://www.github.com/googleapis/java-core/issues/523)) ([ff422a5](https://www.github.com/googleapis/java-core/commit/ff422a521baf804839020bfbaa64fbfa669c4739)) * update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#526](https://www.github.com/googleapis/java-core/issues/526)) ([4676756](https://www.github.com/googleapis/java-core/commit/46767562780d5c2a96077dbde660436d9e72523a)) * update dependency com.google.code.gson:gson to v2.8.8 ([#529](https://www.github.com/googleapis/java-core/issues/529)) ([829e870](https://www.github.com/googleapis/java-core/commit/829e87021016001fce09fb1d16d64cd0aa43b0fa)) * update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#528](https://www.github.com/googleapis/java-core/issues/528)) ([8a1956a](https://www.github.com/googleapis/java-core/commit/8a1956abdca080bd81254da79731d81d16972ddf)) * update dependency io.grpc:grpc-bom to v1.40.0 ([#525](https://www.github.com/googleapis/java-core/issues/525)) ([686ecea](https://www.github.com/googleapis/java-core/commit/686ecea074146ebb7bd0134c67bf3cb63f66d3a7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 16 ++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 28 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index cb3b5fa1ea32..3c504c24ed90 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [2.1.0](https://www.github.com/googleapis/java-core/compare/v2.0.5...v2.1.0) (2021-08-23) + + +### Features + +* support downloading an emulator from an access controlled URL ([#513](https://www.github.com/googleapis/java-core/issues/513)) ([f42a707](https://www.github.com/googleapis/java-core/commit/f42a7078522461018da96196a67657809d28b15b)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.3.0 ([#523](https://www.github.com/googleapis/java-core/issues/523)) ([6fa1d96](https://www.github.com/googleapis/java-core/commit/6fa1d96d07a7d255e7564407364216436cad6ca3)) +* update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#526](https://www.github.com/googleapis/java-core/issues/526)) ([0fc1532](https://www.github.com/googleapis/java-core/commit/0fc1532183148d09c3005a68e528c6c438cb6ddd)) +* update dependency com.google.code.gson:gson to v2.8.8 ([#529](https://www.github.com/googleapis/java-core/issues/529)) ([92b7f97](https://www.github.com/googleapis/java-core/commit/92b7f9715eeab0a07b64437a62dd47e5eed006de)) +* update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#528](https://www.github.com/googleapis/java-core/issues/528)) ([5ecba07](https://www.github.com/googleapis/java-core/commit/5ecba07336499fc6fddae4cfdc2bc12105ec9b66)) +* update dependency io.grpc:grpc-bom to v1.40.0 ([#525](https://www.github.com/googleapis/java-core/issues/525)) ([a1e81f7](https://www.github.com/googleapis/java-core/commit/a1e81f73a4cc29e7186adf37f1cb718c1a88f41e)) + ### [2.0.5](https://www.github.com/googleapis/java-core/compare/v2.0.4...v2.0.5) (2021-08-11) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 293b518786fe..e2f6857ff2c7 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.0.6-SNAPSHOT + 2.1.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.0.6-SNAPSHOT + 2.1.0 com.google.cloud google-cloud-core-grpc - 2.0.6-SNAPSHOT + 2.1.0 com.google.cloud google-cloud-core-http - 2.0.6-SNAPSHOT + 2.1.0 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index db100e86d7ba..49eae9213c41 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.0.6-SNAPSHOT + 2.1.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.6-SNAPSHOT + 2.1.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 6cd4e9d73990..d9dc11207b7b 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.0.6-SNAPSHOT + 2.1.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.6-SNAPSHOT + 2.1.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 383da399c986..0eb5cb0f5c73 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.0.6-SNAPSHOT + 2.1.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.0.6-SNAPSHOT + 2.1.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 18e1b5457b5e..4534779a4896 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.0.6-SNAPSHOT + 2.1.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 17dee545acb3..c0c922686a08 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.0.5:2.0.6-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.0:2.1.0 \ No newline at end of file From f06bf427fc4261dcf809a9c80953f22f7d543b6c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Aug 2021 16:30:24 +0000 Subject: [PATCH 1625/3036] chore: release 2.1.1-SNAPSHOT (#530) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e2f6857ff2c7..6c3f80f4dea2 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.0 + 2.1.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.0 + 2.1.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.0 + 2.1.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.0 + 2.1.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 49eae9213c41..78a899bf1190 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.1.0 + 2.1.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.0 + 2.1.1-SNAPSHOT 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 d9dc11207b7b..56a3edcac240 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.1.0 + 2.1.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.0 + 2.1.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0eb5cb0f5c73..fb9c54c96524 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.1.0 + 2.1.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.0 + 2.1.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 4534779a4896..f8c2f055bdb5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.0 + 2.1.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c0c922686a08..038c63c7d68a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.0:2.1.0 \ No newline at end of file +google-cloud-core:2.1.0:2.1.1-SNAPSHOT \ No newline at end of file From 8c4e39eb3fef6875d72401dafd893c9463cb86b2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Aug 2021 18:48:11 +0200 Subject: [PATCH 1626/3036] deps: update dependency com.google.code.gson:gson to v2.8.8 (#442) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index db1ef655005d..b976143ebc31 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.39.2 1.31.5 1.32.1 - 2.8.7 + 2.8.8 1.5.1 1.3.2 1.20 From 514ca21907009a3d565a3df3248582fd5d45f268 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Aug 2021 18:50:46 +0200 Subject: [PATCH 1627/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.9.0 (#441) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b976143ebc31..b3c3eee968f0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -73,7 +73,7 @@ 1.0.14 0.28.0 3.0.2 - 2.8.1 + 2.9.0 2.12.4 1.15 4.4.14 From 6864362d9ed5956a231abd283379c790b51529d2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 23 Aug 2021 10:00:41 -0700 Subject: [PATCH 1628/3036] build(java): use ENABLE_FLAKYBOT env variable (#436) Kokoro job config now supports both environment variables during this migration period. Source-Author: Jeff Ching Source-Date: Thu Aug 12 10:10:27 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: ff01716e16d2c6e87eaf87197b753ac9fcbbed5d Source-Link: https://github.com/googleapis/synthtool/commit/ff01716e16d2c6e87eaf87197b753ac9fcbbed5d --- java-shared-dependencies/.kokoro/build.sh | 2 +- java-shared-dependencies/.kokoro/nightly/integration.cfg | 2 +- java-shared-dependencies/.kokoro/nightly/samples.cfg | 2 +- java-shared-dependencies/synth.metadata | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 6d15902d2fe4..a0ff7e37d371 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -115,7 +115,7 @@ fi # fix output location of logs bash .kokoro/coerce_logs.sh -if [[ "${ENABLE_BUILD_COP}" == "true" ]] +if [[ "${ENABLE_FLAKYBOT}" == "true" ]] then chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/.kokoro/nightly/integration.cfg b/java-shared-dependencies/.kokoro/nightly/integration.cfg index 0048c8ece7e5..e51c7b4c6c11 100644 --- a/java-shared-dependencies/.kokoro/nightly/integration.cfg +++ b/java-shared-dependencies/.kokoro/nightly/integration.cfg @@ -22,7 +22,7 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" } diff --git a/java-shared-dependencies/.kokoro/nightly/samples.cfg b/java-shared-dependencies/.kokoro/nightly/samples.cfg index f25429314f4d..9761fd8648cb 100644 --- a/java-shared-dependencies/.kokoro/nightly/samples.cfg +++ b/java-shared-dependencies/.kokoro/nightly/samples.cfg @@ -33,6 +33,6 @@ env_vars: { } env_vars: { - key: "ENABLE_BUILD_COP" + key: "ENABLE_FLAKYBOT" value: "true" } diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index a2fa0d2bdd99..b006ff3f69af 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "4d58412e44b1bbb5ddaba2a2db98ebe77681891f" + "sha": "8ed008c2a580785896c8e94a85a709c95ce75440" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "1a2878d6909dd10ca4e3c1b5943d6622e996054e" + "sha": "ff01716e16d2c6e87eaf87197b753ac9fcbbed5d" } } ], From 022db6f7c3ac52a73c0fb722e57a5e44794dc15a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Aug 2021 17:04:09 +0000 Subject: [PATCH 1629/3036] chore: release 2.0.2-SNAPSHOT (#435) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index b3c3eee968f0..6223e9e8b7ec 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 - 2.0.1 + 2.0.2-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 9b6b385ac798..049a7df7699f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.0.1:2.0.1 \ No newline at end of file +google-cloud-shared-dependencies:2.0.1:2.0.2-SNAPSHOT \ No newline at end of file From 75b70c130fda54aff6ff0a6bb7b449dc32d8cf53 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Aug 2021 19:50:04 +0200 Subject: [PATCH 1630/3036] deps: update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 (#444) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6223e9e8b7ec..a2c1dd1f6c2c 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.17.3 2.0.1 2.3.2 - 2.0.5 + 2.1.0 1.1.0 1.39.2 1.31.5 From 0288d7fba41604a93b30dae694a42790a73c9c7c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Aug 2021 17:56:25 +0000 Subject: [PATCH 1631/3036] chore: release 2.1.0 (#443) :robot: I have created a release \*beep\* \*boop\* --- ## [2.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.1...v2.1.0) (2021-08-23) ### Dependencies * update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#439](https://www.github.com/googleapis/java-shared-dependencies/issues/439)) ([12ba840](https://www.github.com/googleapis/java-shared-dependencies/commit/12ba8401f26e5915a9d92378500e2f583ee123a6)) * update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 ([#444](https://www.github.com/googleapis/java-shared-dependencies/issues/444)) ([75b70c1](https://www.github.com/googleapis/java-shared-dependencies/commit/75b70c130fda54aff6ff0a6bb7b449dc32d8cf53)) * update dependency com.google.code.gson:gson to v2.8.8 ([#442](https://www.github.com/googleapis/java-shared-dependencies/issues/442)) ([8c4e39e](https://www.github.com/googleapis/java-shared-dependencies/commit/8c4e39eb3fef6875d72401dafd893c9463cb86b2)) * update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#441](https://www.github.com/googleapis/java-shared-dependencies/issues/441)) ([514ca21](https://www.github.com/googleapis/java-shared-dependencies/commit/514ca21907009a3d565a3df3248582fd5d45f268)) * update dependency io.grpc:grpc-bom to v1.40.0 ([#438](https://www.github.com/googleapis/java-shared-dependencies/issues/438)) ([2f9ef2f](https://www.github.com/googleapis/java-shared-dependencies/commit/2f9ef2f9e577bb7255aa7b89694850d8d4a56783)) * update gax.version to v2.3.0 ([#437](https://www.github.com/googleapis/java-shared-dependencies/issues/437)) ([3fc837e](https://www.github.com/googleapis/java-shared-dependencies/commit/3fc837e058d6e993bec7b10ed7b86a4b26a6e83f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 849d858c9e85..64c9d8eba805 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.1...v2.1.0) (2021-08-23) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#439](https://www.github.com/googleapis/java-shared-dependencies/issues/439)) ([ca52bd9](https://www.github.com/googleapis/java-shared-dependencies/commit/ca52bd9c099c96bf7b5a57aa85d39b58a610c875)) +* update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 ([#444](https://www.github.com/googleapis/java-shared-dependencies/issues/444)) ([ff914c6](https://www.github.com/googleapis/java-shared-dependencies/commit/ff914c6de9e3e7fa6ba75591d3d5077c5421827d)) +* update dependency com.google.code.gson:gson to v2.8.8 ([#442](https://www.github.com/googleapis/java-shared-dependencies/issues/442)) ([79a093f](https://www.github.com/googleapis/java-shared-dependencies/commit/79a093f9ccea4d47cf8b678570a1c9699029a8b2)) +* update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#441](https://www.github.com/googleapis/java-shared-dependencies/issues/441)) ([e644a4b](https://www.github.com/googleapis/java-shared-dependencies/commit/e644a4b504ab8aa5771f9be36861d1730ea9bcc9)) +* update dependency io.grpc:grpc-bom to v1.40.0 ([#438](https://www.github.com/googleapis/java-shared-dependencies/issues/438)) ([c3f8fb4](https://www.github.com/googleapis/java-shared-dependencies/commit/c3f8fb4408f5dc6c7f7dc0e14f0c24fa755433a5)) +* update gax.version to v2.3.0 ([#437](https://www.github.com/googleapis/java-shared-dependencies/issues/437)) ([e59aaad](https://www.github.com/googleapis/java-shared-dependencies/commit/e59aaadd76e40ab5ea31c3e812686a4ba0471a49)) + ### [2.0.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.0...v2.0.1) (2021-08-11) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 5f3c46dcae9b..fead91c5281d 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.0.1 + 2.1.0 pom import diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a2c1dd1f6c2c..5b3283c10d38 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 - 2.0.2-SNAPSHOT + 2.1.0 Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 049a7df7699f..baf5856776c5 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.0.1:2.0.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.1.0:2.1.0 \ No newline at end of file From 1d9b4fd34f997f5ac3811809882bac82b3a146b1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 23 Aug 2021 22:54:33 +0200 Subject: [PATCH 1632/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.1.0 (#173) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.0.1` -> `2.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.1.0/compatibility-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.1.0/confidence-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.1.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​210-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare201v210-2021-08-23) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.0.1...v2.1.0) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#​439](https://www.togithub.com/googleapis/java-shared-dependencies/issues/439)) ([ca52bd9](https://www.github.com/googleapis/java-shared-dependencies/commit/ca52bd9c099c96bf7b5a57aa85d39b58a610c875)) - update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 ([#​444](https://www.togithub.com/googleapis/java-shared-dependencies/issues/444)) ([ff914c6](https://www.github.com/googleapis/java-shared-dependencies/commit/ff914c6de9e3e7fa6ba75591d3d5077c5421827d)) - update dependency com.google.code.gson:gson to v2.8.8 ([#​442](https://www.togithub.com/googleapis/java-shared-dependencies/issues/442)) ([79a093f](https://www.github.com/googleapis/java-shared-dependencies/commit/79a093f9ccea4d47cf8b678570a1c9699029a8b2)) - update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#​441](https://www.togithub.com/googleapis/java-shared-dependencies/issues/441)) ([e644a4b](https://www.github.com/googleapis/java-shared-dependencies/commit/e644a4b504ab8aa5771f9be36861d1730ea9bcc9)) - update dependency io.grpc:grpc-bom to v1.40.0 ([#​438](https://www.togithub.com/googleapis/java-shared-dependencies/issues/438)) ([c3f8fb4](https://www.github.com/googleapis/java-shared-dependencies/commit/c3f8fb4408f5dc6c7f7dc0e14f0c24fa755433a5)) - update gax.version to v2.3.0 ([#​437](https://www.togithub.com/googleapis/java-shared-dependencies/issues/437)) ([e59aaad](https://www.github.com/googleapis/java-shared-dependencies/commit/e59aaadd76e40ab5ea31c3e812686a4ba0471a49)) ##### [2.0.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.0...v2.0.1) (2021-08-11) ##### Dependencies - update dependency com.google.api:api-common to v2.0.1 ([#​431](https://www.togithub.com/googleapis/java-shared-dependencies/issues/431)) ([b1a52c8](https://www.github.com/googleapis/java-shared-dependencies/commit/b1a52c83e19be7be80086f2010e928171b046f62)) - update gax.version to v2.1.0 ([#​432](https://www.togithub.com/googleapis/java-shared-dependencies/issues/432)) ([7f53006](https://www.github.com/googleapis/java-shared-dependencies/commit/7f53006d021e839f52325a87d7c4715eff88818d)) - update google.core.version to v2.0.4 ([#​430](https://www.togithub.com/googleapis/java-shared-dependencies/issues/430)) ([d0465ad](https://www.github.com/googleapis/java-shared-dependencies/commit/d0465ad3a79993d4e854078ea992e53ab9add07f)) - update google.core.version to v2.0.5 ([#​434](https://www.togithub.com/googleapis/java-shared-dependencies/issues/434)) ([af00753](https://www.github.com/googleapis/java-shared-dependencies/commit/af0075390034cba5cefede8260ab03f728d525a8))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 95f73f78662f..ae03d0065eed 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.0.1 + 2.1.0 pom import From a74c123c6c48d49ca20640a0b5e58416051c5225 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Aug 2021 15:36:33 -0700 Subject: [PATCH 1633/3036] chore: release 1.1.0 (#149) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-iam/CHANGELOG.md | 22 ++++++++++++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 29 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index cea12417b89e..6db7147aa5a9 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [1.1.0](https://www.github.com/googleapis/java-iam/compare/v1.0.14...v1.1.0) (2021-08-23) + + +### Features + +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#148](https://www.github.com/googleapis/java-iam/issues/148)) ([05ef13b](https://www.github.com/googleapis/java-iam/commit/05ef13bfcf31bc8ef7d99bead3f3d9d4d4ffa8f9)) + + +### Bug Fixes + +* Add `shopt -s nullglob` to dependencies script ([#157](https://www.github.com/googleapis/java-iam/issues/157)) ([dcdffb7](https://www.github.com/googleapis/java-iam/commit/dcdffb70f9bba71121061a7def1b9d39525a9514)) +* Update dependencies.sh to not break on mac ([#155](https://www.github.com/googleapis/java-iam/issues/155)) ([f3993d8](https://www.github.com/googleapis/java-iam/commit/f3993d83efceda7f06e9da2624f418f6c69984e8)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 ([#147](https://www.github.com/googleapis/java-iam/issues/147)) ([ac861d0](https://www.github.com/googleapis/java-iam/commit/ac861d07dea6348cc1f8dc4cac991044f6f0702c)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.3.0 ([#154](https://www.github.com/googleapis/java-iam/issues/154)) ([6ba854f](https://www.github.com/googleapis/java-iam/commit/6ba854faefc1d4592062dbbeda0c3226bcb1412c)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 ([#158](https://www.github.com/googleapis/java-iam/issues/158)) ([67c523d](https://www.github.com/googleapis/java-iam/commit/67c523dc179802fcbec5a16893b955a4b3b7e4aa)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2 ([#168](https://www.github.com/googleapis/java-iam/issues/168)) ([86c46ff](https://www.github.com/googleapis/java-iam/commit/86c46ffc3f5348771b854f0996cc625f8889b012)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.1.0 ([#173](https://www.github.com/googleapis/java-iam/issues/173)) ([4788fec](https://www.github.com/googleapis/java-iam/commit/4788fecaf84b9772b1a7d866825dd97fa09ac42b)) + ### [1.0.14](https://www.github.com/googleapis/java-iam/compare/v1.0.13...v1.0.14) (2021-05-11) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 369c10dc0858..2f530e184c67 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.0.15-SNAPSHOT + 1.1.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.0.15-SNAPSHOT + 1.1.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index ae03d0065eed..3e2f17b0c6a0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.0.15-SNAPSHOT + 1.1.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.0.15-SNAPSHOT + 1.1.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 65e15c435599..1b0d1b7143ca 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.0.15-SNAPSHOT + 1.1.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.0.15-SNAPSHOT + 1.1.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 9cf06324a2cb..0292ec17c674 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.0.14:1.0.15-SNAPSHOT +proto-google-iam-v1:1.1.0:1.1.0 From 2de0030d80c87cf7cca305dcfc342f7ab0a57d8e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Aug 2021 22:56:30 +0000 Subject: [PATCH 1634/3036] chore: release 1.1.1-SNAPSHOT (#174) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 2f530e184c67..52782d0d8d3d 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.1.0 + 1.1.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.0 + 1.1.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3e2f17b0c6a0..a14e85b6d02c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.0 + 1.1.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.0 + 1.1.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1b0d1b7143ca..06d02a39db37 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.0 + 1.1.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.0 + 1.1.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 0292ec17c674..a0737a4fa83a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.0:1.1.0 +proto-google-iam-v1:1.1.0:1.1.1-SNAPSHOT From bddbbbca6d3baaa549cdf02c108d2fc0850aa01d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 24 Aug 2021 19:40:29 +0200 Subject: [PATCH 1635/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.0 (#531) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f8c2f055bdb5..527dda43d918 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.3.0 2.0.1 2.3.2 - 1.0.14 + 1.1.0 1.1.0 1.32.1 1.39.2 From a39b45721d4eb4284fb924d0f060f822d21371cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 24 Aug 2021 19:40:40 +0200 Subject: [PATCH 1636/3036] deps: update iam.version to v1.1.0 (#448) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5b3283c10d38..c0178465c410 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -70,7 +70,7 @@ 1.5.1 1.3.2 1.20 - 1.0.14 + 1.1.0 0.28.0 3.0.2 2.9.0 From 11c2ae048bd36996ba46dc070f81bee21abb1b41 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 24 Aug 2021 19:40:51 +0200 Subject: [PATCH 1637/3036] deps: update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 (#447) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c0178465c410..a6f594990e45 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.1.0 1.1.0 1.39.2 - 1.31.5 + 1.32.1 1.32.1 2.8.8 1.5.1 From 75f4b98a2752e86eff6fc4d49c81d073b07005d2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 24 Aug 2021 17:48:16 +0000 Subject: [PATCH 1638/3036] chore: release 2.1.1 (#532) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.1](https://www.github.com/googleapis/java-core/compare/v2.1.0...v2.1.1) (2021-08-24) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.0 ([#531](https://www.github.com/googleapis/java-core/issues/531)) ([bddbbbc](https://www.github.com/googleapis/java-core/commit/bddbbbca6d3baaa549cdf02c108d2fc0850aa01d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 3c504c24ed90..6e8ef2d4fe18 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.1.1](https://www.github.com/googleapis/java-core/compare/v2.1.0...v2.1.1) (2021-08-24) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.0 ([#531](https://www.github.com/googleapis/java-core/issues/531)) ([1b27f8c](https://www.github.com/googleapis/java-core/commit/1b27f8cbfaffcc9b19103b471db237f2448d7cb8)) + ## [2.1.0](https://www.github.com/googleapis/java-core/compare/v2.0.5...v2.1.0) (2021-08-23) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 6c3f80f4dea2..0d47f59de90f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.1-SNAPSHOT + 2.1.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.1-SNAPSHOT + 2.1.1 com.google.cloud google-cloud-core-grpc - 2.1.1-SNAPSHOT + 2.1.1 com.google.cloud google-cloud-core-http - 2.1.1-SNAPSHOT + 2.1.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 78a899bf1190..39743fd798c4 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.1.1-SNAPSHOT + 2.1.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.1-SNAPSHOT + 2.1.1 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 56a3edcac240..b846bc19f3fb 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.1.1-SNAPSHOT + 2.1.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.1-SNAPSHOT + 2.1.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fb9c54c96524..be9ed088ac16 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.1.1-SNAPSHOT + 2.1.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.1-SNAPSHOT + 2.1.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 527dda43d918..ab49095b45e6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.1-SNAPSHOT + 2.1.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 038c63c7d68a..aa2bc9fe04b4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.0:2.1.1-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.1:2.1.1 \ No newline at end of file From 0ad5c26bf0fc4b7c035237de3c379b13fced9833 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 24 Aug 2021 17:54:27 +0000 Subject: [PATCH 1639/3036] chore: release 2.1.2-SNAPSHOT (#533) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 0d47f59de90f..54088f6ac056 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.1 + 2.1.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.1 + 2.1.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.1 + 2.1.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.1 + 2.1.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 39743fd798c4..a299cc195790 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.1.1 + 2.1.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.1 + 2.1.2-SNAPSHOT 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 b846bc19f3fb..8fbc412ffd0e 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.1.1 + 2.1.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.1 + 2.1.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index be9ed088ac16..ad449f331018 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.1.1 + 2.1.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.1 + 2.1.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index ab49095b45e6..9710eb059899 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.1 + 2.1.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index aa2bc9fe04b4..4e9a19914725 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.1:2.1.1 \ No newline at end of file +google-cloud-core:2.1.1:2.1.2-SNAPSHOT \ No newline at end of file From 7642401b71eff3f9f7ca0ced3519fff69fa1d708 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 24 Aug 2021 22:08:54 +0200 Subject: [PATCH 1640/3036] deps: update google.core.version to v2.1.1 (#449) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a6f594990e45..e399062d8d8d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -61,7 +61,7 @@ 3.17.3 2.0.1 2.3.2 - 2.1.0 + 2.1.1 1.1.0 1.39.2 1.32.1 From 236d44a536773a10e3ad24add03536167299f430 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 25 Aug 2021 14:35:17 -0400 Subject: [PATCH 1641/3036] chore: release 2.1.1-SNAPSHOT (#445) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e399062d8d8d..d9ce91bc589c 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 - 2.1.0 + 2.1.1-SNAPSHOT Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index baf5856776c5..2a569a54ca45 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.1.0:2.1.0 \ No newline at end of file +google-cloud-shared-dependencies:2.1.0:2.1.1-SNAPSHOT \ No newline at end of file From 1b1bfc93e51badc01bbdae79b549d900b458967f Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 25 Aug 2021 15:16:20 -0400 Subject: [PATCH 1642/3036] chore: split the shared dependencies BOM into two (#419) --- .../first-party-dependencies/java.header | 15 ++ .../license-checks.xml | 10 + .../first-party-dependencies/pom.xml | 192 +++++++++++++++ java-shared-dependencies/pom.xml | 233 +----------------- .../third-party-dependencies/java.header | 15 ++ .../license-checks.xml | 10 + .../third-party-dependencies/pom.xml | 171 +++++++++++++ 7 files changed, 421 insertions(+), 225 deletions(-) create mode 100644 java-shared-dependencies/first-party-dependencies/java.header create mode 100644 java-shared-dependencies/first-party-dependencies/license-checks.xml create mode 100644 java-shared-dependencies/first-party-dependencies/pom.xml create mode 100644 java-shared-dependencies/third-party-dependencies/java.header create mode 100644 java-shared-dependencies/third-party-dependencies/license-checks.xml create mode 100644 java-shared-dependencies/third-party-dependencies/pom.xml diff --git a/java-shared-dependencies/first-party-dependencies/java.header b/java-shared-dependencies/first-party-dependencies/java.header new file mode 100644 index 000000000000..d0970ba7d375 --- /dev/null +++ b/java-shared-dependencies/first-party-dependencies/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ +^ \*/$ diff --git a/java-shared-dependencies/first-party-dependencies/license-checks.xml b/java-shared-dependencies/first-party-dependencies/license-checks.xml new file mode 100644 index 000000000000..6597fced808e --- /dev/null +++ b/java-shared-dependencies/first-party-dependencies/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml new file mode 100644 index 000000000000..29a82edec68e --- /dev/null +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -0,0 +1,192 @@ + + + 4.0.0 + com.google.cloud + first-party-dependencies + pom + 2.1.1-SNAPSHOT + Google Cloud First-party Shared Dependencies + https://github.com/googleapis/java-shared-dependencies + + Shared first-party dependencies for Google Cloud Java libraries. + + + + com.google.cloud + google-cloud-shared-config + 1.0.1 + + + + Google LLC + + + + scm:git:git@github.com:googleapis/java-shared-dependencies.git + scm:git:git@github.com:googleapis/java-shared-dependencies.git + https://github.com/googleapis/java-shared-dependencies + HEAD + + + + https://github.com/googleapis/java-shared-dependencies/issues + GitHub Issues + + + + + sonatype-nexus-snapshots + https://google.oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://google.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + UTF-8 + ${project.artifactId} + + 1.40.0 + 2.3.0 + 1.1.0 + 30.1.1-jre + 3.17.3 + 2.0.1 + 2.3.2 + 2.1.1 + 1.1.0 + 1.39.2 + 1.32.1 + 1.32.1 + 1.1.0 + + + + + + io.grpc + grpc-bom + ${grpc.version} + pom + import + + + com.google.api + gax-bom + ${gax.version} + pom + import + + + com.google.cloud + grpc-gcp + ${grpc-gcp.version} + + + com.google.guava + guava-bom + ${guava.version} + pom + import + + + + com.google.protobuf + protobuf-bom + ${protobuf.version} + pom + import + + + com.google.api + api-common + ${google.api-common.version} + + + com.google.api.grpc + proto-google-common-protos + ${google.common-protos.version} + + + com.google.api.grpc + grpc-google-common-protos + ${google.common-protos.version} + + + com.google.cloud + google-cloud-core-bom + ${google.core.version} + pom + import + + + com.google.auth + google-auth-library-bom + ${google.auth.version} + pom + import + + + com.google.http-client + google-http-client-bom + ${google.http-client.version} + pom + import + + + com.google.oauth-client + google-oauth-client-bom + ${google.oauth-client.version} + pom + import + + + com.google.api-client + google-api-client-bom + ${google.api-client.version} + pom + import + + + com.google.api.grpc + proto-google-iam-v1 + ${iam.version} + + + + + com.google.api.grpc + grpc-google-iam-v1 + ${iam.version} + + + com.google.api + gax-grpc + ${gax.version} + testlib + + + com.google.cloud + google-cloud-core + ${google.core.version} + test-jar + + + com.google.cloud + google-cloud-core + ${google.core.version} + tests + + + + \ No newline at end of file diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d9ce91bc589c..047758a349d6 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -5,6 +5,10 @@ google-cloud-shared-dependencies pom 2.1.1-SNAPSHOT + + first-party-dependencies + third-party-dependencies + Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -54,245 +58,24 @@ UTF-8 ${project.artifactId} - 1.40.0 - 2.3.0 - 1.1.0 - 30.1.1-jre - 3.17.3 - 2.0.1 - 2.3.2 - 2.1.1 - 1.1.0 - 1.39.2 - 1.32.1 - 1.32.1 - 2.8.8 - 1.5.1 - 1.3.2 - 1.20 - 1.1.0 - 0.28.0 - 3.0.2 - 2.9.0 - 2.12.4 - 1.15 - 4.4.14 - 4.5.13 - - io.grpc - grpc-bom - ${grpc.version} - pom - import - - - com.google.api - gax-bom - ${gax.version} - pom - import - com.google.cloud - grpc-gcp - ${grpc-gcp.version} - - - com.google.guava - guava-bom - ${guava.version} + first-party-dependencies + 2.1.1-SNAPSHOT pom import - - - com.google.protobuf - protobuf-bom - ${protobuf.version} - pom - import - - - - - org.apache.httpcomponents - httpcore - ${httpcomponents.httpcore.version} - - - org.apache.httpcomponents - httpclient - ${httpcomponents.httpclient.version} - - - - com.google.api - api-common - ${google.api-common.version} - - - com.google.api.grpc - proto-google-common-protos - ${google.common-protos.version} - - - com.google.api.grpc - grpc-google-common-protos - ${google.common-protos.version} - - - com.google.code.gson - gson - ${gson.version} - com.google.cloud - google-cloud-core-bom - ${google.core.version} - pom - import - - - com.google.auth - google-auth-library-bom - ${google.auth.version} - pom - import - - - com.google.http-client - google-http-client-bom - ${google.http-client.version} - pom - import - - - com.google.oauth-client - google-oauth-client-bom - ${google.oauth-client.version} - pom - import - - - com.google.api-client - google-api-client-bom - ${google.api-client.version} - pom - import - - - org.threeten - threetenbp - ${threeten.version} - - - javax.annotation - javax.annotation-api - ${javax.annotations.version} - - - org.codehaus.mojo - animal-sniffer-annotations - ${animal-sniffer.version} - - - com.google.api.grpc - proto-google-iam-v1 - ${iam.version} - - - com.google.code.findbugs - jsr305 - ${findbugs.version} - - - com.google.errorprone - error_prone_annotations - ${errorprone.version} - - - com.fasterxml.jackson - jackson-bom - ${jackson.version} + third-party-dependencies + 2.1.1-SNAPSHOT pom import - - commons-codec - commons-codec - ${codec.version} - - - - - io.opencensus - opencensus-api - ${opencensus.version} - - - io.opencensus - opencensus-contrib-grpc-util - ${opencensus.version} - - - io.opencensus - opencensus-contrib-http-util - ${opencensus.version} - - - io.opencensus - opencensus-contrib-zpages - ${opencensus.version} - - - io.opencensus - opencensus-exporter-stats-stackdriver - ${opencensus.version} - - - io.opencensus - opencensus-exporter-trace-stackdriver - ${opencensus.version} - - - io.opencensus - opencensus-impl - ${opencensus.version} - - - io.opencensus - opencensus-impl-core - ${opencensus.version} - - - - - com.google.api.grpc - grpc-google-iam-v1 - ${iam.version} - - - com.google.api - gax-grpc - ${gax.version} - testlib - - - com.google.cloud - google-cloud-core - ${google.core.version} - test-jar - - - com.google.cloud - google-cloud-core - ${google.core.version} - tests - diff --git a/java-shared-dependencies/third-party-dependencies/java.header b/java-shared-dependencies/third-party-dependencies/java.header new file mode 100644 index 000000000000..d0970ba7d375 --- /dev/null +++ b/java-shared-dependencies/third-party-dependencies/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ +^ \*/$ diff --git a/java-shared-dependencies/third-party-dependencies/license-checks.xml b/java-shared-dependencies/third-party-dependencies/license-checks.xml new file mode 100644 index 000000000000..6597fced808e --- /dev/null +++ b/java-shared-dependencies/third-party-dependencies/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml new file mode 100644 index 000000000000..48b9f0cac3b7 --- /dev/null +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -0,0 +1,171 @@ + + + 4.0.0 + com.google.cloud + third-party-dependencies + pom + 2.1.1-SNAPSHOT + Google Cloud Third-party Shared Dependencies + https://github.com/googleapis/java-shared-dependencies + + Shared third-party dependencies for Google Cloud Java libraries. + + + + com.google.cloud + google-cloud-shared-config + 1.0.1 + + + + Google LLC + + + + scm:git:git@github.com:googleapis/java-shared-dependencies.git + scm:git:git@github.com:googleapis/java-shared-dependencies.git + https://github.com/googleapis/java-shared-dependencies + HEAD + + + + https://github.com/googleapis/java-shared-dependencies/issues + GitHub Issues + + + + + sonatype-nexus-snapshots + https://google.oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://google.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + UTF-8 + ${project.artifactId} + + 2.8.8 + 1.5.1 + 1.3.2 + 1.20 + 0.28.0 + 3.0.2 + 2.9.0 + 2.12.4 + 1.15 + 4.4.14 + 4.5.13 + + + + + + org.apache.httpcomponents + httpcore + ${httpcomponents.httpcore.version} + + + org.apache.httpcomponents + httpclient + ${httpcomponents.httpclient.version} + + + com.google.code.gson + gson + ${gson.version} + + + org.threeten + threetenbp + ${threeten.version} + + + javax.annotation + javax.annotation-api + ${javax.annotations.version} + + + org.codehaus.mojo + animal-sniffer-annotations + ${animal-sniffer.version} + + + com.google.code.findbugs + jsr305 + ${findbugs.version} + + + com.google.errorprone + error_prone_annotations + ${errorprone.version} + + + com.fasterxml.jackson + jackson-bom + ${jackson.version} + pom + import + + + commons-codec + commons-codec + ${codec.version} + + + + + io.opencensus + opencensus-api + ${opencensus.version} + + + io.opencensus + opencensus-contrib-grpc-util + ${opencensus.version} + + + io.opencensus + opencensus-contrib-http-util + ${opencensus.version} + + + io.opencensus + opencensus-contrib-zpages + ${opencensus.version} + + + io.opencensus + opencensus-exporter-stats-stackdriver + ${opencensus.version} + + + io.opencensus + opencensus-exporter-trace-stackdriver + ${opencensus.version} + + + io.opencensus + opencensus-impl + ${opencensus.version} + + + io.opencensus + opencensus-impl-core + ${opencensus.version} + + + + \ No newline at end of file From d2e9519b82d24d106a6c207df516d2aaa565d789 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 25 Aug 2021 16:22:20 -0700 Subject: [PATCH 1643/3036] chore: enable release-trigger bot (#536) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e18a1026-3f9d-4b63-8d06-cfdb48fca75c/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/63cff634aabb85854caa511c5837ea6b45f42b4b --- java-core/.github/release-trigger.yml | 1 + java-core/synth.metadata | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 java-core/.github/release-trigger.yml diff --git a/java-core/.github/release-trigger.yml b/java-core/.github/release-trigger.yml new file mode 100644 index 000000000000..d4ca94189e16 --- /dev/null +++ b/java-core/.github/release-trigger.yml @@ -0,0 +1 @@ +enabled: true diff --git a/java-core/synth.metadata b/java-core/synth.metadata index c3a8755261fa..77e5615efaca 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "55f19b5095602e39b153fb55feb8c0ab33737944" + "sha": "c74cb60857c51f78193f553885307d678cd32340" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "ff01716e16d2c6e87eaf87197b753ac9fcbbed5d" + "sha": "63cff634aabb85854caa511c5837ea6b45f42b4b" } } ], @@ -25,6 +25,7 @@ ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", + ".github/release-trigger.yml", ".github/snippet-bot.yml", ".github/sync-repo-settings.yaml", ".github/trusted-contribution.yml", From 2f72ec95d6198400affb17f9b719a1b1eb6f3c51 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 25 Aug 2021 16:28:49 -0700 Subject: [PATCH 1644/3036] chore: enable release-trigger bot (#176) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8486b8ce-74e3-4ff4-bac6-ae49b6ff70cd/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/63cff634aabb85854caa511c5837ea6b45f42b4b --- java-iam/.github/release-trigger.yml | 1 + java-iam/synth.metadata | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 java-iam/.github/release-trigger.yml diff --git a/java-iam/.github/release-trigger.yml b/java-iam/.github/release-trigger.yml new file mode 100644 index 000000000000..d4ca94189e16 --- /dev/null +++ b/java-iam/.github/release-trigger.yml @@ -0,0 +1 @@ +enabled: true diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index bca70bf8c704..fd2ba6219a18 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "46ebe57f37434feb75b5c4da17735bd1167eb0cb" + "sha": "a8e85fefc4ac95b2845bb91f76c3dfeb561bdff7" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "ff01716e16d2c6e87eaf87197b753ac9fcbbed5d" + "sha": "63cff634aabb85854caa511c5837ea6b45f42b4b" } } ], @@ -33,6 +33,7 @@ ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", + ".github/release-trigger.yml", ".github/snippet-bot.yml", ".github/sync-repo-settings.yaml", ".github/trusted-contribution.yml", From fee0e7be2e1981a8d205454a94170a0b0083d9bd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 17:20:06 +0200 Subject: [PATCH 1645/3036] deps: update dependency com.google.api:api-common to v2.0.2 (#534) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9710eb059899..db955e9f925e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.3.0 - 2.0.1 + 2.0.2 2.3.2 1.1.0 1.1.0 From 069ef5499c76149d2a1a4b5034f0e97f419638ff Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 17:20:22 +0200 Subject: [PATCH 1646/3036] deps: update dependency io.grpc:grpc-bom to v1.40.1 (#535) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index db955e9f925e..cc18ea6948e0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.1.0 1.32.1 1.39.2 - 1.40.0 + 1.40.1 3.17.3 0.28.0 1.3.2 From d4c249d26267b8882273562e26babc0932cf601b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 31 Aug 2021 08:21:03 -0700 Subject: [PATCH 1647/3036] ci: removing linkage-monitor from the required checks (#537) Source-Author: Tomo Suzuki Source-Date: Wed Aug 25 13:18:10 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22 Source-Link: https://github.com/googleapis/synthtool/commit/e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22 --- java-core/.github/workflows/ci.yaml | 13 ------------- java-core/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 65ae6ecdda77..d510359d97df 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -42,19 +42,6 @@ jobs: java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh - linkage-monitor: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 - with: - java-version: 8 - - run: java -version - - name: Install artifacts to local Maven repository - run: .kokoro/build.sh - shell: bash - - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 77e5615efaca..2d72ac289ded 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "c74cb60857c51f78193f553885307d678cd32340" + "sha": "15e24c75fe220774231ec1cefa6616a834c22cdd" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "63cff634aabb85854caa511c5837ea6b45f42b4b" + "sha": "e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22" } } ], From e002f233556b69ef099dcb98a383d49a97563f32 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 17:38:10 +0200 Subject: [PATCH 1648/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.40.0 (#538) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index cc18ea6948e0..ac0f2477edff 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.1.0 1.1.0 1.32.1 - 1.39.2 + 1.40.0 1.40.1 3.17.3 0.28.0 From 1dca5a71381b24e205529283f88ff70fc55f888c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 17:38:19 +0200 Subject: [PATCH 1649/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.5.0 (#539) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ac0f2477edff..b0dd38ef53ec 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.3.0 2.0.2 - 2.3.2 + 2.5.0 1.1.0 1.1.0 1.32.1 From 4911554c6a6b3b851eb3cb6aabdb7e8d19eabe1e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 18:09:56 +0200 Subject: [PATCH 1650/3036] deps: update google.common-protos.version to v2.5.0 (#457) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 29a82edec68e..8bc5d5f6af76 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 30.1.1-jre 3.17.3 2.0.1 - 2.3.2 + 2.5.0 2.1.1 1.1.0 1.39.2 From 59e457e9f52be4a0ea8bdaf5f852df67ca6e692b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 18:13:23 +0200 Subject: [PATCH 1651/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 (#456) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 48b9f0cac3b7..a590301c56ae 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 0.28.0 3.0.2 2.9.0 - 2.12.4 + 2.12.5 1.15 4.4.14 4.5.13 From 70d21db23d46ecb7050a225ae7463a485756ad00 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 18:13:47 +0200 Subject: [PATCH 1652/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.40.0 (#455) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 8bc5d5f6af76..5ad46a1cb4b2 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.5.0 2.1.1 1.1.0 - 1.39.2 + 1.40.0 1.32.1 1.32.1 1.1.0 From dac215e0756bb8c6c85892d67db1ee0d858b0144 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Aug 2021 12:14:13 -0400 Subject: [PATCH 1653/3036] ci: remove linkage-monitor from required checks (#454) We no longer run linkage-monitor. --- java-shared-dependencies/.github/sync-repo-settings.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index ad77da24d7ae..76203b6d2745 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -10,7 +10,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (8) @@ -31,7 +30,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (7) From b8cee1521cc6cb17c75f2e813dbef98ea08a9549 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 18:14:38 +0200 Subject: [PATCH 1654/3036] deps: update dependency io.grpc:grpc-bom to v1.40.1 (#451) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5ad46a1cb4b2..90b709f8b3a0 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} - 1.40.0 + 1.40.1 2.3.0 1.1.0 30.1.1-jre From 0f6e38f35e76aa28edd982041465d6c58da6f7d5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 31 Aug 2021 09:15:57 -0700 Subject: [PATCH 1655/3036] chore: enable release-trigger bot (#452) Source-Author: Jeff Ching Source-Date: Tue Aug 24 15:30:40 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 63cff634aabb85854caa511c5837ea6b45f42b4b Source-Link: https://github.com/googleapis/synthtool/commit/63cff634aabb85854caa511c5837ea6b45f42b4b --- java-shared-dependencies/.github/release-trigger.yml | 1 + java-shared-dependencies/synth.metadata | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 java-shared-dependencies/.github/release-trigger.yml diff --git a/java-shared-dependencies/.github/release-trigger.yml b/java-shared-dependencies/.github/release-trigger.yml new file mode 100644 index 000000000000..d4ca94189e16 --- /dev/null +++ b/java-shared-dependencies/.github/release-trigger.yml @@ -0,0 +1 @@ +enabled: true diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index b006ff3f69af..a041e29393fc 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "8ed008c2a580785896c8e94a85a709c95ce75440" + "sha": "b28723ace0c27ebc73f23a2d094e0fe9ba8a9075" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "ff01716e16d2c6e87eaf87197b753ac9fcbbed5d" + "sha": "63cff634aabb85854caa511c5837ea6b45f42b4b" } } ], @@ -24,6 +24,7 @@ ".github/blunderbuss.yml", ".github/generated-files-bot.yml", ".github/readme/synth.py", + ".github/release-trigger.yml", ".github/snippet-bot.yml", ".github/sync-repo-settings.yaml", ".github/trusted-contribution.yml", From 98b91b89c55ce9b9a660c55be3eec92492763a8e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 18:18:26 +0200 Subject: [PATCH 1656/3036] deps: update dependency com.google.api:api-common to v2.0.2 (#450) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 90b709f8b3a0..9f16cd716615 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 1.1.0 30.1.1-jre 3.17.3 - 2.0.1 + 2.0.2 2.5.0 2.1.1 1.1.0 From e36d7d085615a9007a47a412c1b1fba82b60a2ec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 18:30:57 +0200 Subject: [PATCH 1657/3036] deps: update gax.version to v2.4.0 (#458) * deps: update dependency com.google.api:gax-bom to v2.4.0 * chore: update to 2.4.0 Co-authored-by: Emily Ball --- java-shared-dependencies/first-party-dependencies/pom.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9f16cd716615..b2b61b17c5b3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,9 +55,8 @@ UTF-8 ${project.artifactId} - 1.40.1 - 2.3.0 + 2.4.0 1.1.0 30.1.1-jre 3.17.3 @@ -189,4 +188,4 @@ - \ No newline at end of file + From 2884126ef5b70dd8f5c574ce5c0d25a2e60e452d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 18:46:52 +0200 Subject: [PATCH 1658/3036] deps: update dependency com.google.api:gax-bom to v2.4.0 (#540) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b0dd38ef53ec..1f9d48e6c643 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.3.0 + 2.4.0 2.0.2 2.5.0 1.1.0 From dd6bf3bc50374322a7108013ff9d3526470fa606 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Aug 2021 16:52:11 +0000 Subject: [PATCH 1659/3036] chore: release 2.1.2 (#541) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.2](https://www.github.com/googleapis/java-core/compare/v2.1.1...v2.1.2) (2021-08-31) ### Dependencies * update dependency com.google.api:api-common to v2.0.2 ([#534](https://www.github.com/googleapis/java-core/issues/534)) ([fee0e7b](https://www.github.com/googleapis/java-core/commit/fee0e7be2e1981a8d205454a94170a0b0083d9bd)) * update dependency com.google.api:gax-bom to v2.4.0 ([#540](https://www.github.com/googleapis/java-core/issues/540)) ([2884126](https://www.github.com/googleapis/java-core/commit/2884126ef5b70dd8f5c574ce5c0d25a2e60e452d)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.5.0 ([#539](https://www.github.com/googleapis/java-core/issues/539)) ([1dca5a7](https://www.github.com/googleapis/java-core/commit/1dca5a71381b24e205529283f88ff70fc55f888c)) * update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#538](https://www.github.com/googleapis/java-core/issues/538)) ([e002f23](https://www.github.com/googleapis/java-core/commit/e002f233556b69ef099dcb98a383d49a97563f32)) * update dependency io.grpc:grpc-bom to v1.40.1 ([#535](https://www.github.com/googleapis/java-core/issues/535)) ([069ef54](https://www.github.com/googleapis/java-core/commit/069ef5499c76149d2a1a4b5034f0e97f419638ff)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 11 +++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 23 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 6e8ef2d4fe18..0de2b0f051ac 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +### [2.1.2](https://www.github.com/googleapis/java-core/compare/v2.1.1...v2.1.2) (2021-08-31) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.2 ([#534](https://www.github.com/googleapis/java-core/issues/534)) ([1883c81](https://www.github.com/googleapis/java-core/commit/1883c81cb0fdf2f4b34a3a3a17987206d8c452aa)) +* update dependency com.google.api:gax-bom to v2.4.0 ([#540](https://www.github.com/googleapis/java-core/issues/540)) ([06b0d6e](https://www.github.com/googleapis/java-core/commit/06b0d6e3ff3c3b6e2aa440a9f893f9b27e0d66d1)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.5.0 ([#539](https://www.github.com/googleapis/java-core/issues/539)) ([9d5a0b0](https://www.github.com/googleapis/java-core/commit/9d5a0b0918f6a1ab264f1ba272dcd8f22b670a7f)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#538](https://www.github.com/googleapis/java-core/issues/538)) ([150e07d](https://www.github.com/googleapis/java-core/commit/150e07ddb884d163d0efbcf786f04a713d29ed81)) +* update dependency io.grpc:grpc-bom to v1.40.1 ([#535](https://www.github.com/googleapis/java-core/issues/535)) ([3cd48a9](https://www.github.com/googleapis/java-core/commit/3cd48a902691ddddb9df9f74517648ca35b5bfd7)) + ### [2.1.1](https://www.github.com/googleapis/java-core/compare/v2.1.0...v2.1.1) (2021-08-24) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 54088f6ac056..3fcf4d492be9 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.2-SNAPSHOT + 2.1.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.2-SNAPSHOT + 2.1.2 com.google.cloud google-cloud-core-grpc - 2.1.2-SNAPSHOT + 2.1.2 com.google.cloud google-cloud-core-http - 2.1.2-SNAPSHOT + 2.1.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a299cc195790..02384880e9b6 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.1.2-SNAPSHOT + 2.1.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.2-SNAPSHOT + 2.1.2 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 8fbc412ffd0e..ad49e865d3ec 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.1.2-SNAPSHOT + 2.1.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.2-SNAPSHOT + 2.1.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ad449f331018..f3b8bc587b27 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.1.2-SNAPSHOT + 2.1.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.2-SNAPSHOT + 2.1.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 1f9d48e6c643..64b8ca425a45 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.2-SNAPSHOT + 2.1.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4e9a19914725..ad5a4130de70 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.1:2.1.2-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.2:2.1.2 \ No newline at end of file From 1f1df0b7c9e9562374b7d9a8aca8ba2bb05b2874 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Aug 2021 16:58:29 +0000 Subject: [PATCH 1660/3036] chore: release 2.1.3-SNAPSHOT (#542) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3fcf4d492be9..aaeb880586a9 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.2 + 2.1.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.2 + 2.1.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.2 + 2.1.3-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.2 + 2.1.3-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 02384880e9b6..13035c0fade6 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.1.2 + 2.1.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.2 + 2.1.3-SNAPSHOT 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 ad49e865d3ec..f9deb85a078d 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.1.2 + 2.1.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.2 + 2.1.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f3b8bc587b27..b310111462ab 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.1.2 + 2.1.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.2 + 2.1.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 64b8ca425a45..a793c48348ec 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.2 + 2.1.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ad5a4130de70..aac8c61af606 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.2:2.1.2 \ No newline at end of file +google-cloud-core:2.1.2:2.1.3-SNAPSHOT \ No newline at end of file From 536be23ddbf96bf35ac842326752894a5d7d9f4f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 20:14:27 +0200 Subject: [PATCH 1661/3036] deps: update google.core.version to v2.1.2 (#459) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b2b61b17c5b3..665f07eb3a89 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 2.0.2 2.5.0 - 2.1.1 + 2.1.2 1.1.0 1.40.0 1.32.1 From 9df732132f87d93e641613bf7f4aa6a961854f47 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Aug 2021 11:30:52 -0700 Subject: [PATCH 1662/3036] chore: release 2.2.0 (#453) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 16 ++++++++++++++++ java-shared-dependencies/README.md | 2 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 23 insertions(+), 7 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 64c9d8eba805..9fee7bb4db21 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [2.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.1.0...v2.2.0) (2021-08-31) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 ([#456](https://www.github.com/googleapis/java-shared-dependencies/issues/456)) ([05b58e8](https://www.github.com/googleapis/java-shared-dependencies/commit/05b58e84ff6617bdcbb1ea644aa6e061bdea0319)) +* update dependency com.google.api:api-common to v2.0.2 ([#450](https://www.github.com/googleapis/java-shared-dependencies/issues/450)) ([51caebe](https://www.github.com/googleapis/java-shared-dependencies/commit/51caebe89bfade98866f63952bf82bc663a0179a)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#455](https://www.github.com/googleapis/java-shared-dependencies/issues/455)) ([82a5e42](https://www.github.com/googleapis/java-shared-dependencies/commit/82a5e42b06570a2c7c9d53b03161b110a44487a1)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 ([#447](https://www.github.com/googleapis/java-shared-dependencies/issues/447)) ([9d2b895](https://www.github.com/googleapis/java-shared-dependencies/commit/9d2b8958f62daa6a3015a8ac052762fb3d79b35b)) +* update dependency io.grpc:grpc-bom to v1.40.1 ([#451](https://www.github.com/googleapis/java-shared-dependencies/issues/451)) ([df668ea](https://www.github.com/googleapis/java-shared-dependencies/commit/df668ead8830a40acf9d5605d47f93c465b779c0)) +* update gax.version to v2.4.0 ([#458](https://www.github.com/googleapis/java-shared-dependencies/issues/458)) ([a797d9e](https://www.github.com/googleapis/java-shared-dependencies/commit/a797d9eb8a4bcb3025a9511eae61271278a4a5c9)) +* update google.common-protos.version to v2.5.0 ([#457](https://www.github.com/googleapis/java-shared-dependencies/issues/457)) ([38c7bb9](https://www.github.com/googleapis/java-shared-dependencies/commit/38c7bb925414d90ff3065650d06589f79bcab9b6)) +* update google.core.version to v2.1.1 ([#449](https://www.github.com/googleapis/java-shared-dependencies/issues/449)) ([b28723a](https://www.github.com/googleapis/java-shared-dependencies/commit/b28723ace0c27ebc73f23a2d094e0fe9ba8a9075)) +* update google.core.version to v2.1.2 ([#459](https://www.github.com/googleapis/java-shared-dependencies/issues/459)) ([df4d5b7](https://www.github.com/googleapis/java-shared-dependencies/commit/df4d5b7717386f5e0e2cca87bd9afc56b2c7aee8)) +* update iam.version to v1.1.0 ([#448](https://www.github.com/googleapis/java-shared-dependencies/issues/448)) ([3967928](https://www.github.com/googleapis/java-shared-dependencies/commit/39679287f3ef8c1cbca5dfc8aca3f69cfee3d4a6)) + ## [2.1.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.0.1...v2.1.0) (2021-08-23) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index fead91c5281d..2dccb0b7d38c 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.1.0 + 2.2.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 665f07eb3a89..ecc92b4df900 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 - 2.1.1-SNAPSHOT + 2.2.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 047758a349d6..4904246ebf88 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 - 2.1.1-SNAPSHOT + 2.2.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.1.1-SNAPSHOT + 2.2.0 pom import com.google.cloud third-party-dependencies - 2.1.1-SNAPSHOT + 2.2.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a590301c56ae..c58d58dc553d 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 - 2.1.1-SNAPSHOT + 2.2.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 2a569a54ca45..af744a4bc98c 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.1.0:2.1.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.2.0:2.2.0 \ No newline at end of file From ac64b2719a0dabd1d607769db355e220e3124b80 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 31 Aug 2021 22:52:44 +0200 Subject: [PATCH 1663/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 (#183) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.1.0` -> `2.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.2.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​220-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare210v220-2021-08-31) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.1.0...v2.2.0) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 ([#​456](https://www.togithub.com/googleapis/java-shared-dependencies/issues/456)) ([05b58e8](https://www.github.com/googleapis/java-shared-dependencies/commit/05b58e84ff6617bdcbb1ea644aa6e061bdea0319)) - update dependency com.google.api:api-common to v2.0.2 ([#​450](https://www.togithub.com/googleapis/java-shared-dependencies/issues/450)) ([51caebe](https://www.github.com/googleapis/java-shared-dependencies/commit/51caebe89bfade98866f63952bf82bc663a0179a)) - update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#​455](https://www.togithub.com/googleapis/java-shared-dependencies/issues/455)) ([82a5e42](https://www.github.com/googleapis/java-shared-dependencies/commit/82a5e42b06570a2c7c9d53b03161b110a44487a1)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 ([#​447](https://www.togithub.com/googleapis/java-shared-dependencies/issues/447)) ([9d2b895](https://www.github.com/googleapis/java-shared-dependencies/commit/9d2b8958f62daa6a3015a8ac052762fb3d79b35b)) - update dependency io.grpc:grpc-bom to v1.40.1 ([#​451](https://www.togithub.com/googleapis/java-shared-dependencies/issues/451)) ([df668ea](https://www.github.com/googleapis/java-shared-dependencies/commit/df668ead8830a40acf9d5605d47f93c465b779c0)) - update gax.version to v2.4.0 ([#​458](https://www.togithub.com/googleapis/java-shared-dependencies/issues/458)) ([a797d9e](https://www.github.com/googleapis/java-shared-dependencies/commit/a797d9eb8a4bcb3025a9511eae61271278a4a5c9)) - update google.common-protos.version to v2.5.0 ([#​457](https://www.togithub.com/googleapis/java-shared-dependencies/issues/457)) ([38c7bb9](https://www.github.com/googleapis/java-shared-dependencies/commit/38c7bb925414d90ff3065650d06589f79bcab9b6)) - update google.core.version to v2.1.1 ([#​449](https://www.togithub.com/googleapis/java-shared-dependencies/issues/449)) ([b28723a](https://www.github.com/googleapis/java-shared-dependencies/commit/b28723ace0c27ebc73f23a2d094e0fe9ba8a9075)) - update google.core.version to v2.1.2 ([#​459](https://www.togithub.com/googleapis/java-shared-dependencies/issues/459)) ([df4d5b7](https://www.github.com/googleapis/java-shared-dependencies/commit/df4d5b7717386f5e0e2cca87bd9afc56b2c7aee8)) - update iam.version to v1.1.0 ([#​448](https://www.togithub.com/googleapis/java-shared-dependencies/issues/448)) ([3967928](https://www.github.com/googleapis/java-shared-dependencies/commit/39679287f3ef8c1cbca5dfc8aca3f69cfee3d4a6))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a14e85b6d02c..e8f791769db6 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.1.0 + 2.2.0 pom import From 3f45d404ac0ff93a55f68314b925ad8fe04044f6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Aug 2021 21:50:32 +0000 Subject: [PATCH 1664/3036] chore: release 2.2.1-SNAPSHOT (#460) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ecc92b4df900..531f05ba319f 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 - 2.2.0 + 2.2.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4904246ebf88..0d6affe1b6a6 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 - 2.2.0 + 2.2.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.2.0 + 2.2.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.2.0 + 2.2.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index c58d58dc553d..01952a60ced0 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 - 2.2.0 + 2.2.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index af744a4bc98c..bc0d4cf0cf22 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.2.0:2.2.0 \ No newline at end of file +google-cloud-shared-dependencies:2.2.0:2.2.1-SNAPSHOT \ No newline at end of file From a1384734630af10f3c25f7311ffecb859e507fc8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 31 Aug 2021 15:04:45 -0700 Subject: [PATCH 1665/3036] build(java): update renovate config to mark conformance tests as a test commit type (#543) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fa18ee3e-7a2c-4820-ac6e-beb9bd9b0878/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/9a238a0623879c3de129a376c6085d4a862f6eb9 --- java-core/renovate.json | 3 ++- java-core/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-core/renovate.json b/java-core/renovate.json index 2e5d43e9b6a0..3d8be5619dee 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -50,7 +50,8 @@ "^junit:junit", "^com.google.truth:truth", "^org.mockito:mockito-core", - "^org.objenesis:objenesis" + "^org.objenesis:objenesis", + "^com.google.cloud:google-cloud-conformance-tests" ], "semanticCommitType": "test", "semanticCommitScope": "deps" diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 2d72ac289ded..73b2aaa8a3f8 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "15e24c75fe220774231ec1cefa6616a834c22cdd" + "sha": "ee82eaed6ae4d877ecc865b8c32de2577ffcbcbc" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22" + "sha": "9a238a0623879c3de129a376c6085d4a862f6eb9" } } ], From 5294b1a3932b2cb8c1aeee10cdc83797d214e73d Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 7 Sep 2021 14:44:28 -0700 Subject: [PATCH 1666/3036] chore: use maven 3.8.1 (#463) --- java-shared-dependencies/.github/workflows/downstream.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml index 40817e11cc69..3ff62e52d534 100644 --- a/java-shared-dependencies/.github/workflows/downstream.yaml +++ b/java-shared-dependencies/.github/workflows/downstream.yaml @@ -19,6 +19,9 @@ jobs: - java-pubsub steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: ${{matrix.java}} From 43bc756bf39b3881a3eeeea0f0108d55deab17b9 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Tue, 7 Sep 2021 14:50:13 -0700 Subject: [PATCH 1667/3036] chore: use release-please to tag releases (#462) Towards https://github.com/googleapis/releasetool/issues/361 --- java-shared-dependencies/.github/release-please.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml index 2f7e404356aa..b13f3c0cadcb 100644 --- a/java-shared-dependencies/.github/release-please.yml +++ b/java-shared-dependencies/.github/release-please.yml @@ -1,6 +1,8 @@ releaseType: java-bom +handleGHRelease: true bumpMinorPreMajor: true branches: - releaseType: java-yoshi + handleGHRelease: true bumpMinorPreMajor: true branch: java7 From cb3512b092f1a071ec7431d238da4e288eabe42a Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 8 Sep 2021 13:32:58 -0700 Subject: [PATCH 1668/3036] chore: remove readme autosynth config (#546) --- java-core/.kokoro/continuous/readme.cfg | 55 ------------------------- 1 file changed, 55 deletions(-) delete mode 100644 java-core/.kokoro/continuous/readme.cfg diff --git a/java-core/.kokoro/continuous/readme.cfg b/java-core/.kokoro/continuous/readme.cfg deleted file mode 100644 index f56d11ea7a13..000000000000 --- a/java-core/.kokoro/continuous/readme.cfg +++ /dev/null @@ -1,55 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/readme.sh" -} - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.log" - } -} - -# The github token is stored here. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - # TODO(theacodes): remove this after secrets have globally propagated - backend_type: FASTCONFIGPUSH - } - } -} - -# Common env vars for all repositories and builds. -env_vars: { - key: "GITHUB_USER" - value: "yoshi-automation" -} -env_vars: { - key: "GITHUB_EMAIL" - value: "yoshi-automation@google.com" -} From e1e7898e45ae20cc8229ce829dbb21e035cc6abd Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Sep 2021 13:33:09 -0700 Subject: [PATCH 1669/3036] chore(java): install maven 3.8.1 at runtime (#544) * chore: pin github action runner at ubuntu-16.04 * chore: install maven 3.8.1 at runtime * chore: fix typo Source-Author: Neenu Shaji Source-Date: Thu Sep 2 15:46:06 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: ad7fd76e17bf9494a3e47ff9cf445f61564432e0 Source-Link: https://github.com/googleapis/synthtool/commit/ad7fd76e17bf9494a3e47ff9cf445f61564432e0 --- java-core/.github/workflows/ci.yaml | 14 +++++++++++++- java-core/synth.metadata | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index d510359d97df..e23d923e1e72 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -12,6 +12,9 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: ${{matrix.java}} @@ -37,6 +40,9 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: ${{matrix.java}} @@ -46,6 +52,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 @@ -57,10 +66,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr + JOB_TYPE: clirr \ No newline at end of file diff --git a/java-core/synth.metadata b/java-core/synth.metadata index 73b2aaa8a3f8..a0e973c56a4d 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "ee82eaed6ae4d877ecc865b8c32de2577ffcbcbc" + "sha": "3c4f4797f43b9a26710b53769ed0a98384e0fb61" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "9a238a0623879c3de129a376c6085d4a862f6eb9" + "sha": "ad7fd76e17bf9494a3e47ff9cf445f61564432e0" } } ], From 5ce9e12e0294e4604fe6053e7ab5461f27e57855 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Sep 2021 15:18:56 -0700 Subject: [PATCH 1670/3036] chore(java): update windows build (#548) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/6334b509-964d-4ac6-bb5a-93ec067488dd/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e Source-Link: https://github.com/googleapis/synthtool/commit/a6b97202771f89a4b76873d43ea9a07d7fc95f91 Source-Link: https://github.com/googleapis/synthtool/commit/2d31a9243781b282202b4f76dc7bbc8b45803196 Source-Link: https://github.com/googleapis/synthtool/commit/df5093b950d4aafd49a4c7758d74c44485263ada Source-Link: https://github.com/googleapis/synthtool/commit/17ee6e5c08f2eb47029beee4776ce990e56b3925 --- java-core/.github/readme/synth.py | 19 ------------------- java-core/.github/trusted-contribution.yml | 3 ++- java-core/.github/workflows/ci.yaml | 5 ++++- java-core/.kokoro/release/common.sh | 2 +- java-core/.kokoro/release/drop.sh | 2 +- java-core/.kokoro/release/promote.sh | 2 +- java-core/.kokoro/release/publish_javadoc.sh | 2 +- .../.kokoro/release/publish_javadoc11.sh | 2 +- java-core/.kokoro/release/stage.sh | 2 +- java-core/.kokoro/trampoline.sh | 2 +- java-core/synth.metadata | 6 ++---- 11 files changed, 15 insertions(+), 32 deletions(-) delete mode 100644 java-core/.github/readme/synth.py diff --git a/java-core/.github/readme/synth.py b/java-core/.github/readme/synth.py deleted file mode 100644 index 7b48cc28d361..000000000000 --- a/java-core/.github/readme/synth.py +++ /dev/null @@ -1,19 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated the README for this library.""" - -from synthtool.languages import java - -java.custom_templates(["java_library/README.md"]) diff --git a/java-core/.github/trusted-contribution.yml b/java-core/.github/trusted-contribution.yml index f247d5c78934..a0ba1f7d9078 100644 --- a/java-core/.github/trusted-contribution.yml +++ b/java-core/.github/trusted-contribution.yml @@ -1,2 +1,3 @@ trustedContributors: -- renovate-bot \ No newline at end of file +- renovate-bot +- gcf-owl-bot[bot] diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index e23d923e1e72..3becb5c022a3 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -26,6 +26,9 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 @@ -75,4 +78,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr diff --git a/java-core/.kokoro/release/common.sh b/java-core/.kokoro/release/common.sh index 6e3f65999b3d..7f78ee414faf 100755 --- a/java-core/.kokoro/release/common.sh +++ b/java-core/.kokoro/release/common.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-core/.kokoro/release/drop.sh b/java-core/.kokoro/release/drop.sh index 5c4551efa2c0..742ec1a88600 100755 --- a/java-core/.kokoro/release/drop.sh +++ b/java-core/.kokoro/release/drop.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-core/.kokoro/release/promote.sh b/java-core/.kokoro/release/promote.sh index 1fa95fa537a3..3cac3d8a97d7 100755 --- a/java-core/.kokoro/release/promote.sh +++ b/java-core/.kokoro/release/promote.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index a2b3260b8382..df6137ed9108 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Google Inc. +# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh index 2f4c22a67b31..9e573b8f61dc 100755 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google Inc. +# 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. diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh index 8a1033843cb1..77dc4e8f0f3a 100755 --- a/java-core/.kokoro/release/stage.sh +++ b/java-core/.kokoro/release/stage.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-core/.kokoro/trampoline.sh b/java-core/.kokoro/trampoline.sh index 9da0f8398773..8b69b793c9ec 100644 --- a/java-core/.kokoro/trampoline.sh +++ b/java-core/.kokoro/trampoline.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-core/synth.metadata b/java-core/synth.metadata index a0e973c56a4d..038abf0cdcb2 100644 --- a/java-core/synth.metadata +++ b/java-core/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-core.git", - "sha": "3c4f4797f43b9a26710b53769ed0a98384e0fb61" + "sha": "29231705fd7960c23f56ec56d98f9c259ef674e8" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "ad7fd76e17bf9494a3e47ff9cf445f61564432e0" + "sha": "396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e" } } ], @@ -23,7 +23,6 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/blunderbuss.yml", ".github/generated-files-bot.yml", - ".github/readme/synth.py", ".github/release-please.yml", ".github/release-trigger.yml", ".github/snippet-bot.yml", @@ -39,7 +38,6 @@ ".kokoro/common.sh", ".kokoro/continuous/common.cfg", ".kokoro/continuous/java8.cfg", - ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", ".kokoro/nightly/common.cfg", ".kokoro/nightly/integration.cfg", From bd1b025dda38d8f415752170fe1dcf2e90c91c7f Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Wed, 8 Sep 2021 15:25:00 -0700 Subject: [PATCH 1671/3036] chore: remove readme autosynth config (#187) --- java-iam/.github/readme/synth.py | 19 --------- java-iam/.kokoro/continuous/readme.cfg | 55 -------------------------- 2 files changed, 74 deletions(-) delete mode 100644 java-iam/.github/readme/synth.py delete mode 100644 java-iam/.kokoro/continuous/readme.cfg diff --git a/java-iam/.github/readme/synth.py b/java-iam/.github/readme/synth.py deleted file mode 100644 index 7b48cc28d361..000000000000 --- a/java-iam/.github/readme/synth.py +++ /dev/null @@ -1,19 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated the README for this library.""" - -from synthtool.languages import java - -java.custom_templates(["java_library/README.md"]) diff --git a/java-iam/.kokoro/continuous/readme.cfg b/java-iam/.kokoro/continuous/readme.cfg deleted file mode 100644 index 43a645075ec0..000000000000 --- a/java-iam/.kokoro/continuous/readme.cfg +++ /dev/null @@ -1,55 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/readme.sh" -} - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.log" - } -} - -# The github token is stored here. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - # TODO(theacodes): remove this after secrets have globally propagated - backend_type: FASTCONFIGPUSH - } - } -} - -# Common env vars for all repositories and builds. -env_vars: { - key: "GITHUB_USER" - value: "yoshi-automation" -} -env_vars: { - key: "GITHUB_EMAIL" - value: "yoshi-automation@google.com" -} From e915e80202ba0265b3c5e39f9ea776fe77bbf6d4 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 9 Sep 2021 17:05:19 -0700 Subject: [PATCH 1672/3036] chore: remove linkage-monitor required check (#552) --- java-core/.github/sync-repo-settings.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index f78ced25f976..93bd5ae48e91 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -31,7 +31,6 @@ branchProtectionRules: requiredStatusCheckContexts: - "dependencies (8)" - "dependencies (11)" - - "linkage-monitor" - "lint" - "clirr" - "units (8)" @@ -54,7 +53,6 @@ branchProtectionRules: requiredStatusCheckContexts: - "dependencies (8)" - "dependencies (11)" - - "linkage-monitor" - "lint" - "clirr" - "units (7)" @@ -69,4 +67,4 @@ permissionRules: - team: yoshi-java-admins permission: admin - team: yoshi-java - permission: push \ No newline at end of file + permission: push From 07c63ebcf54af4199bcbf4013501692e4ce143b0 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 9 Sep 2021 17:20:43 -0700 Subject: [PATCH 1673/3036] chore: convert to owlbot (#551) --- java-core/.github/.OwlBot.lock.yaml | 3 + java-core/.github/.OwlBot.yaml | 16 +++++ java-core/google-cloud-core-bom/pom.xml | 4 +- java-core/{synth.py => owlbot.py} | 2 - java-core/synth.metadata | 89 ------------------------- 5 files changed, 21 insertions(+), 93 deletions(-) create mode 100644 java-core/.github/.OwlBot.lock.yaml create mode 100644 java-core/.github/.OwlBot.yaml rename java-core/{synth.py => owlbot.py} (95%) delete mode 100644 java-core/synth.metadata diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml new file mode 100644 index 000000000000..0a4d759e62bf --- /dev/null +++ b/java-core/.github/.OwlBot.lock.yaml @@ -0,0 +1,3 @@ +docker: + image: gcr.io/repo-automation-bots/owlbot-java:latest + digest: sha256:b328758e5113c392d3eccad613c2b18097eaebcb4d8bf77fab0326a6cad90bc7 diff --git a/java-core/.github/.OwlBot.yaml b/java-core/.github/.OwlBot.yaml new file mode 100644 index 000000000000..8c5f03b4de89 --- /dev/null +++ b/java-core/.github/.OwlBot.yaml @@ -0,0 +1,16 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +docker: + image: "gcr.io/repo-automation-bots/owlbot-java:latest" diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index aaeb880586a9..7ad9605fbf42 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -42,11 +42,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/ diff --git a/java-core/synth.py b/java-core/owlbot.py similarity index 95% rename from java-core/synth.py rename to java-core/owlbot.py index b936244fc371..140c4061baef 100644 --- a/java-core/synth.py +++ b/java-core/owlbot.py @@ -16,8 +16,6 @@ import synthtool.languages.java as java -AUTOSYNTH_MULTIPLE_COMMITS = True - java.common_templates(excludes=[ 'README.md', 'samples/*', diff --git a/java-core/synth.metadata b/java-core/synth.metadata deleted file mode 100644 index 038abf0cdcb2..000000000000 --- a/java-core/synth.metadata +++ /dev/null @@ -1,89 +0,0 @@ -{ - "sources": [ - { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/java-core.git", - "sha": "29231705fd7960c23f56ec56d98f9c259ef674e8" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e" - } - } - ], - "generatedFiles": [ - ".github/CODEOWNERS", - ".github/ISSUE_TEMPLATE/bug_report.md", - ".github/ISSUE_TEMPLATE/feature_request.md", - ".github/ISSUE_TEMPLATE/support_request.md", - ".github/PULL_REQUEST_TEMPLATE.md", - ".github/blunderbuss.yml", - ".github/generated-files-bot.yml", - ".github/release-please.yml", - ".github/release-trigger.yml", - ".github/snippet-bot.yml", - ".github/sync-repo-settings.yaml", - ".github/trusted-contribution.yml", - ".github/workflows/approve-readme.yaml", - ".github/workflows/auto-release.yaml", - ".github/workflows/ci.yaml", - ".kokoro/build.bat", - ".kokoro/build.sh", - ".kokoro/coerce_logs.sh", - ".kokoro/common.cfg", - ".kokoro/common.sh", - ".kokoro/continuous/common.cfg", - ".kokoro/continuous/java8.cfg", - ".kokoro/dependencies.sh", - ".kokoro/nightly/common.cfg", - ".kokoro/nightly/integration.cfg", - ".kokoro/nightly/java11.cfg", - ".kokoro/nightly/java7.cfg", - ".kokoro/nightly/java8-osx.cfg", - ".kokoro/nightly/java8-win.cfg", - ".kokoro/nightly/java8.cfg", - ".kokoro/nightly/samples.cfg", - ".kokoro/populate-secrets.sh", - ".kokoro/presubmit/clirr.cfg", - ".kokoro/presubmit/common.cfg", - ".kokoro/presubmit/dependencies.cfg", - ".kokoro/presubmit/integration.cfg", - ".kokoro/presubmit/java11.cfg", - ".kokoro/presubmit/java7.cfg", - ".kokoro/presubmit/java8-osx.cfg", - ".kokoro/presubmit/java8-win.cfg", - ".kokoro/presubmit/java8.cfg", - ".kokoro/presubmit/linkage-monitor.cfg", - ".kokoro/presubmit/lint.cfg", - ".kokoro/presubmit/samples.cfg", - ".kokoro/readme.sh", - ".kokoro/release/bump_snapshot.cfg", - ".kokoro/release/common.cfg", - ".kokoro/release/common.sh", - ".kokoro/release/drop.cfg", - ".kokoro/release/drop.sh", - ".kokoro/release/promote.cfg", - ".kokoro/release/promote.sh", - ".kokoro/release/publish_javadoc.cfg", - ".kokoro/release/publish_javadoc.sh", - ".kokoro/release/publish_javadoc11.cfg", - ".kokoro/release/publish_javadoc11.sh", - ".kokoro/release/snapshot.cfg", - ".kokoro/release/snapshot.sh", - ".kokoro/release/stage.cfg", - ".kokoro/release/stage.sh", - ".kokoro/trampoline.sh", - "CODE_OF_CONDUCT.md", - "CONTRIBUTING.md", - "LICENSE", - "SECURITY.md", - "codecov.yaml", - "java.header", - "license-checks.xml", - "renovate.json" - ] -} \ No newline at end of file From 41fcb39181a6b7f7e39f7da0d239cdb2e11a2cca Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 10 Sep 2021 06:46:10 +0200 Subject: [PATCH 1674/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.1 (#545) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a793c48348ec..6f82a27be14f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -356,7 +356,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.0 + 3.3.1 html From bfd120172774cc029e10aeaf50c72517c2985712 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 10 Sep 2021 06:46:26 +0200 Subject: [PATCH 1675/3036] deps: update dependency com.google.api:gax-bom to v2.4.1 (#549) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6f82a27be14f..58ef122198db 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.4.0 + 2.4.1 2.0.2 2.5.0 1.1.0 From 378ff95551a140ef80e9c48d70fbb9be21569869 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Sep 2021 18:41:36 +0200 Subject: [PATCH 1676/3036] deps: update dependency com.google.api:api-common to v1.10.6 (#178) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `1.8.1` -> `1.10.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/compatibility-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/1.10.6/confidence-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index fe182e0cda49..57d5712f43b8 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.7.1' - compile 'com.google.api:api-common:1.8.1' + compile 'com.google.api:api-common:1.10.6' compile project(':proto-google-common-protos') } From 0c956941330d332d92680f98deb1dbf7da760471 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 13 Sep 2021 09:50:48 -0700 Subject: [PATCH 1677/3036] ci: removing linkage-monitor from the required checks (#461) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/ce89d179-a8ad-4c3d-9e27-c395c59b8b3a/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22 --- java-shared-dependencies/.github/workflows/ci.yaml | 13 ------------- java-shared-dependencies/synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 65ae6ecdda77..d510359d97df 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -42,19 +42,6 @@ jobs: java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh - linkage-monitor: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 - with: - java-version: 8 - - run: java -version - - name: Install artifacts to local Maven repository - run: .kokoro/build.sh - shell: bash - - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index a041e29393fc..fac550a638f8 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "b28723ace0c27ebc73f23a2d094e0fe9ba8a9075" + "sha": "9998ae51ee4643c0834a3b7649912f65160d18d6" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "63cff634aabb85854caa511c5837ea6b45f42b4b" + "sha": "e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22" } } ], From 398b4d91ea9198741e32ebb7dacc74e79d41bde6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 13 Sep 2021 10:15:44 -0700 Subject: [PATCH 1678/3036] chore: release 2.1.3 (#553) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 0de2b0f051ac..6a12c657682e 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.1.3](https://www.github.com/googleapis/java-core/compare/v2.1.2...v2.1.3) (2021-09-10) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.4.1 ([#549](https://www.github.com/googleapis/java-core/issues/549)) ([0b4be35](https://www.github.com/googleapis/java-core/commit/0b4be350d47cab58f3bb4e53d34e913e736a522b)) + ### [2.1.2](https://www.github.com/googleapis/java-core/compare/v2.1.1...v2.1.2) (2021-08-31) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 7ad9605fbf42..901d3aef3852 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.3-SNAPSHOT + 2.1.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.3-SNAPSHOT + 2.1.3 com.google.cloud google-cloud-core-grpc - 2.1.3-SNAPSHOT + 2.1.3 com.google.cloud google-cloud-core-http - 2.1.3-SNAPSHOT + 2.1.3 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 13035c0fade6..3a59a5be8b05 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.1.3-SNAPSHOT + 2.1.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.3-SNAPSHOT + 2.1.3 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 f9deb85a078d..99e5c62dedd4 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.1.3-SNAPSHOT + 2.1.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.3-SNAPSHOT + 2.1.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b310111462ab..a990138f8e44 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.1.3-SNAPSHOT + 2.1.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.3-SNAPSHOT + 2.1.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 58ef122198db..18e71a923863 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.3-SNAPSHOT + 2.1.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index aac8c61af606..00b48a7e65d0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.2:2.1.3-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.3:2.1.3 \ No newline at end of file From 35711cc5d000d0f51092902a2e24a5be889ce6f9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 13 Sep 2021 17:22:40 +0000 Subject: [PATCH 1679/3036] chore: release 2.1.4-SNAPSHOT (#554) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 901d3aef3852..78986528d9d6 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.3 + 2.1.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.3 + 2.1.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.3 + 2.1.4-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.3 + 2.1.4-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3a59a5be8b05..a44e18f88ac4 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.1.3 + 2.1.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.3 + 2.1.4-SNAPSHOT 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 99e5c62dedd4..e4ad231a11ae 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.1.3 + 2.1.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.3 + 2.1.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a990138f8e44..f736fff60bfa 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.1.3 + 2.1.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.3 + 2.1.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 18e71a923863..bcd29f79103b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.3 + 2.1.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 00b48a7e65d0..b5b1035ac3f7 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.3:2.1.3 \ No newline at end of file +google-cloud-core:2.1.3:2.1.4-SNAPSHOT \ No newline at end of file From 2984690907cbe13e1e00901ea4d2551337fda687 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Sep 2021 20:13:26 +0200 Subject: [PATCH 1680/3036] deps: update dependency com.google.api:api-common to v2 (#182) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `1.10.6` -> `2.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.2/compatibility-slim/1.10.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.0.2/confidence-slim/1.10.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.0.2`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​202-httpswwwgithubcomgoogleapisapi-common-javacomparev201v202-2021-08-20) ### [`v2.0.1`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​201-httpswwwgithubcomgoogleapisapi-common-javacomparev200v201-2021-08-10) ### [`v2.0.0`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​200-httpswwwgithubcomgoogleapisapi-common-javacomparev1106v200-2021-07-29) ##### ⚠ BREAKING CHANGES - update api-common-java min java version to java8 ([#​251](https://togithub.com/googleapis/api-common-java/issues/251)) ##### Features - update api-common-java min java version to java8 ([#​251](https://www.togithub.com/googleapis/api-common-java/issues/251)) ([7fe322c](https://www.github.com/googleapis/api-common-java/commit/7fe322cef65bdcc9549ddc9efa1ff95df36cc531)) ##### Dependencies - update guava version to 30.1.1-jre ([7fe322c](https://www.github.com/googleapis/api-common-java/commit/7fe322cef65bdcc9549ddc9efa1ff95df36cc531)) ##### [1.10.5](https://www.github.com/googleapis/api-common-java/compare/v1.10.5...v1.10.5) (2021-07-27) ##### Build System - migrate to google sonatype endpoint ([#​248](https://www.togithub.com/googleapis/api-common-java/issues/248)) ([c3ab73e](https://www.github.com/googleapis/api-common-java/commit/c3ab73eca99f3036a26fe10a880c1ff068efc0da)) ##### Dependencies - update dependency com.google.auto.value:auto-value to v1.8.2 ([#​242](https://www.togithub.com/googleapis/api-common-java/issues/242)) ([5de2f3e](https://www.github.com/googleapis/api-common-java/commit/5de2f3edfcaed42061ad7dbc4efc886587c0e769)) - update dependency com.google.auto.value:auto-value-annotations to v1.8.2 ([#​243](https://www.togithub.com/googleapis/api-common-java/issues/243)) ([53d6d38](https://www.github.com/googleapis/api-common-java/commit/53d6d38ac0a7d6dc5738823d69ac96d1eadd23a3)) - update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#​245](https://www.togithub.com/googleapis/api-common-java/issues/245)) ([8889689](https://www.github.com/googleapis/api-common-java/commit/88896894b821771293cda2d4b7a2f6027ee20ef4)) ##### [1.10.5](https://www.github.com/googleapis/api-common-java/compare/v1.10.4...v1.10.5) (2021-07-20) ##### Bug Fixes - Fix PathTemplate custom verb logic matching and instantiating ([#​244](https://www.togithub.com/googleapis/api-common-java/issues/244)) ([d4913d3](https://www.github.com/googleapis/api-common-java/commit/d4913d33ff2153cb3a8f6382ab8d918980f542ea)) ##### Dependencies - update dependency io.codearte.gradle.nexus:gradle-nexus-staging-plugin to v0.30.0 ([#​239](https://www.togithub.com/googleapis/api-common-java/issues/239)) ([2ca4359](https://www.github.com/googleapis/api-common-java/commit/2ca4359127cc2f8eddb81e8091362a75e1e6e38e)) ##### [1.10.4](https://www.github.com/googleapis/api-common-java/compare/v1.10.3...v1.10.4) (2021-05-19) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#​231](https://www.togithub.com/googleapis/api-common-java/issues/231)) ([51b00e0](https://www.github.com/googleapis/api-common-java/commit/51b00e0603583fc3b781783945dcbccef81a22fd)) ##### [1.10.3](https://www.github.com/googleapis/api-common-java/compare/v1.10.2...v1.10.3) (2021-04-22) ##### Dependencies - update dependency com.google.auto.value:auto-value to v1.8.1 ([#​219](https://www.togithub.com/googleapis/api-common-java/issues/219)) ([307c640](https://www.github.com/googleapis/api-common-java/commit/307c640cb487962786be5551a65863c7d2276a3a)) - update dependency com.google.auto.value:auto-value-annotations to v1.8.1 ([#​215](https://www.togithub.com/googleapis/api-common-java/issues/215)) ([15cebbc](https://www.github.com/googleapis/api-common-java/commit/15cebbcaea8a1ea62e4a800d8d325ee302971fcf)) ##### [1.10.2](https://www.github.com/googleapis/api-common-java/compare/v1.10.1...v1.10.2) (2021-04-19) ##### Dependencies - guava 30.1.1 ([#​207](https://www.togithub.com/googleapis/api-common-java/issues/207)) ([20578a0](https://www.github.com/googleapis/api-common-java/commit/20578a00e5b4ba2f9c4482eccf55ffa37ab12335)) ##### [1.10.1](https://www.github.com/googleapis/api-common-java/compare/v1.10.0...v1.10.1) (2020-10-16) ##### Dependencies - update dependency com.google.auto.value:auto-value to v1.7.4 ([#​170](https://www.togithub.com/googleapis/api-common-java/issues/170)) ([e6f8fef](https://www.github.com/googleapis/api-common-java/commit/e6f8fef536858c05a2b83404e8b9c774c6506894)) - update dependency com.google.auto.value:auto-value-annotations to v1.7.4 ([#​171](https://www.togithub.com/googleapis/api-common-java/issues/171)) ([00a12b9](https://www.github.com/googleapis/api-common-java/commit/00a12b94c44463b8f37b13cedc3a9241ec031f34)) - update dependency com.google.errorprone:error_prone_annotations to v2.4.0 ([#​172](https://www.togithub.com/googleapis/api-common-java/issues/172)) ([89b2a48](https://www.github.com/googleapis/api-common-java/commit/89b2a48ac22043d85c222979599522ca9397849f))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 57d5712f43b8..ab281f7071c0 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.7.1' - compile 'com.google.api:api-common:1.10.6' + compile 'com.google.api:api-common:2.0.2' compile project(':proto-google-common-protos') } From fc376d5aca2a72cc9c3807b7298ba97a63a251d3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Sep 2021 20:59:42 +0200 Subject: [PATCH 1681/3036] deps: update gax.version to v2.4.1 (#464) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 531f05ba319f..a093143f44e6 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.40.1 - 2.4.0 + 2.4.1 1.1.0 30.1.1-jre 3.17.3 From 9bf674a2f342998b09e2abe205fd5e2a52955d43 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Sep 2021 21:26:44 +0200 Subject: [PATCH 1682/3036] deps: update google.core.version to v2.1.3 (#465) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a093143f44e6..e49d162b6349 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 2.0.2 2.5.0 - 2.1.2 + 2.1.3 1.1.0 1.40.0 1.32.1 From d9640bca424d00167f49e1792c2b68bcdc3e6c01 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Sep 2021 21:55:55 +0200 Subject: [PATCH 1683/3036] deps: update dependency io.grpc:grpc-stub to v1.40.1 (#181) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 48cfcbc1a002..49b1f4b12f77 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.23.0' + compile 'io.grpc:grpc-stub:1.40.1' compile 'io.grpc:grpc-protobuf:1.23.0' compile project(':proto-google-iam-v1') } From f6fe72bb60abbc61e4b70b56b41e0809abae61dd Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 13 Sep 2021 13:04:42 -0700 Subject: [PATCH 1684/3036] chore: release 2.2.1 (#466) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 8 ++++++++ java-shared-dependencies/README.md | 2 +- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 9fee7bb4db21..2f5068d98ff1 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [2.2.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.0...v2.2.1) (2021-09-13) + + +### Dependencies + +* update gax.version to v2.4.1 ([#464](https://www.github.com/googleapis/java-shared-dependencies/issues/464)) ([bc7c6d7](https://www.github.com/googleapis/java-shared-dependencies/commit/bc7c6d7ca161ebfa31895c375d65bca29d4c7336)) +* update google.core.version to v2.1.3 ([#465](https://www.github.com/googleapis/java-shared-dependencies/issues/465)) ([848f608](https://www.github.com/googleapis/java-shared-dependencies/commit/848f608ae850bd2dd80ec56034eb0c9a18f0415b)) + ## [2.2.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.1.0...v2.2.0) (2021-08-31) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 2dccb0b7d38c..da8de9adcaa1 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.2.0 + 2.2.1 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e49d162b6349..700676c2ee41 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 - 2.2.1-SNAPSHOT + 2.2.1 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0d6affe1b6a6..e81f3e9f3023 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 - 2.2.1-SNAPSHOT + 2.2.1 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.2.1-SNAPSHOT + 2.2.1 pom import com.google.cloud third-party-dependencies - 2.2.1-SNAPSHOT + 2.2.1 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 01952a60ced0..aa5e94b29074 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 - 2.2.1-SNAPSHOT + 2.2.1 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index bc0d4cf0cf22..32ee2d1b8e33 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.2.0:2.2.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.2.1:2.2.1 \ No newline at end of file From b73280198ea23a6858a201fa98c0c989fb103691 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 13 Sep 2021 15:47:54 -0700 Subject: [PATCH 1685/3036] chore: re-generated to pick up changes from synthtool (#468) * chore(java): install maven 3.8.1 at runtime * chore: pin github action runner at ubuntu-16.04 * chore: install maven 3.8.1 at runtime * chore: fix typo Source-Author: Neenu Shaji Source-Date: Thu Sep 2 15:46:06 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: ad7fd76e17bf9494a3e47ff9cf445f61564432e0 Source-Link: https://github.com/googleapis/synthtool/commit/ad7fd76e17bf9494a3e47ff9cf445f61564432e0 * chore(java): update windows build to install maven 3.8.1 at runtime too (related to #1202) Tested in [java-bigquerystorage](https://github.com/googleapis/java-bigquerystorage/pull/1291/commits/7834f4ff86858f6ed0b8068ea66dadf6365e399a) Source-Author: Stephanie Wang Source-Date: Tue Sep 7 13:04:27 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 17ee6e5c08f2eb47029beee4776ce990e56b3925 Source-Link: https://github.com/googleapis/synthtool/commit/17ee6e5c08f2eb47029beee4776ce990e56b3925 * chore(java): remove readme autosynth job config README generation is now handled by owlbot Source-Author: Jeff Ching Source-Date: Wed Sep 8 12:11:28 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: df5093b950d4aafd49a4c7758d74c44485263ada Source-Link: https://github.com/googleapis/synthtool/commit/df5093b950d4aafd49a4c7758d74c44485263ada * chore: remove readme synth.py config Source-Author: Jeff Ching Source-Date: Wed Sep 8 13:23:41 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 2d31a9243781b282202b4f76dc7bbc8b45803196 Source-Link: https://github.com/googleapis/synthtool/commit/2d31a9243781b282202b4f76dc7bbc8b45803196 * chore: add gcf-owl-bot to list of trusted contributors Source-Author: Jeff Ching Source-Date: Wed Sep 8 13:42:12 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: a6b97202771f89a4b76873d43ea9a07d7fc95f91 Source-Link: https://github.com/googleapis/synthtool/commit/a6b97202771f89a4b76873d43ea9a07d7fc95f91 * chore(java): update shared-config and shared-dependencies version in pom template Source-Author: Neenu Shaji Source-Date: Wed Sep 8 17:28:48 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e Source-Link: https://github.com/googleapis/synthtool/commit/396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e --- .../.github/readme/synth.py | 19 ------- .../.github/trusted-contribution.yml | 3 +- .../.github/workflows/ci.yaml | 15 +++++ .../.kokoro/continuous/readme.cfg | 55 ------------------- .../.kokoro/release/common.sh | 2 +- .../.kokoro/release/drop.sh | 2 +- .../.kokoro/release/promote.sh | 2 +- .../.kokoro/release/publish_javadoc.sh | 2 +- .../.kokoro/release/publish_javadoc11.sh | 2 +- .../.kokoro/release/stage.sh | 2 +- .../.kokoro/trampoline.sh | 2 +- java-shared-dependencies/synth.metadata | 6 +- 12 files changed, 26 insertions(+), 86 deletions(-) delete mode 100644 java-shared-dependencies/.github/readme/synth.py delete mode 100644 java-shared-dependencies/.kokoro/continuous/readme.cfg diff --git a/java-shared-dependencies/.github/readme/synth.py b/java-shared-dependencies/.github/readme/synth.py deleted file mode 100644 index 7b48cc28d361..000000000000 --- a/java-shared-dependencies/.github/readme/synth.py +++ /dev/null @@ -1,19 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated the README for this library.""" - -from synthtool.languages import java - -java.custom_templates(["java_library/README.md"]) diff --git a/java-shared-dependencies/.github/trusted-contribution.yml b/java-shared-dependencies/.github/trusted-contribution.yml index f247d5c78934..a0ba1f7d9078 100644 --- a/java-shared-dependencies/.github/trusted-contribution.yml +++ b/java-shared-dependencies/.github/trusted-contribution.yml @@ -1,2 +1,3 @@ trustedContributors: -- renovate-bot \ No newline at end of file +- renovate-bot +- gcf-owl-bot[bot] diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index d510359d97df..3becb5c022a3 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -12,6 +12,9 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: ${{matrix.java}} @@ -23,6 +26,9 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 @@ -37,6 +43,9 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: ${{matrix.java}} @@ -46,6 +55,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 @@ -57,6 +69,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 diff --git a/java-shared-dependencies/.kokoro/continuous/readme.cfg b/java-shared-dependencies/.kokoro/continuous/readme.cfg deleted file mode 100644 index 8142540541ca..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/readme.cfg +++ /dev/null @@ -1,55 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/readme.sh" -} - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.log" - } -} - -# The github token is stored here. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - # TODO(theacodes): remove this after secrets have globally propagated - backend_type: FASTCONFIGPUSH - } - } -} - -# Common env vars for all repositories and builds. -env_vars: { - key: "GITHUB_USER" - value: "yoshi-automation" -} -env_vars: { - key: "GITHUB_EMAIL" - value: "yoshi-automation@google.com" -} diff --git a/java-shared-dependencies/.kokoro/release/common.sh b/java-shared-dependencies/.kokoro/release/common.sh index 6e3f65999b3d..7f78ee414faf 100755 --- a/java-shared-dependencies/.kokoro/release/common.sh +++ b/java-shared-dependencies/.kokoro/release/common.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-shared-dependencies/.kokoro/release/drop.sh b/java-shared-dependencies/.kokoro/release/drop.sh index 5c4551efa2c0..742ec1a88600 100755 --- a/java-shared-dependencies/.kokoro/release/drop.sh +++ b/java-shared-dependencies/.kokoro/release/drop.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-shared-dependencies/.kokoro/release/promote.sh b/java-shared-dependencies/.kokoro/release/promote.sh index 1fa95fa537a3..3cac3d8a97d7 100755 --- a/java-shared-dependencies/.kokoro/release/promote.sh +++ b/java-shared-dependencies/.kokoro/release/promote.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index 042897c39d87..28f80842cb51 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Google Inc. +# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh index eca7612cd317..4a61df78a787 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google Inc. +# 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. diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh index 8a1033843cb1..77dc4e8f0f3a 100755 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-shared-dependencies/.kokoro/trampoline.sh b/java-shared-dependencies/.kokoro/trampoline.sh index 9da0f8398773..8b69b793c9ec 100644 --- a/java-shared-dependencies/.kokoro/trampoline.sh +++ b/java-shared-dependencies/.kokoro/trampoline.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index fac550a638f8..db8663ac7a20 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "9998ae51ee4643c0834a3b7649912f65160d18d6" + "sha": "6f53fb409d42e9de665675ac71902c8db08abc32" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22" + "sha": "396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e" } } ], @@ -23,7 +23,6 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/blunderbuss.yml", ".github/generated-files-bot.yml", - ".github/readme/synth.py", ".github/release-trigger.yml", ".github/snippet-bot.yml", ".github/sync-repo-settings.yaml", @@ -37,7 +36,6 @@ ".kokoro/common.sh", ".kokoro/continuous/common.cfg", ".kokoro/continuous/java8.cfg", - ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", ".kokoro/nightly/common.cfg", ".kokoro/nightly/integration.cfg", From ec5825cf4c8d541ab65ae935e743a26f08fcdf3c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Sep 2021 02:18:30 +0200 Subject: [PATCH 1686/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.2 (#190) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.0.1` -> `1.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/compatibility-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/confidence-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.0.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​102-httpswwwgithubcomgoogleapisjava-shared-configcomparev101v102-2021-09-13) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.0.1...v1.0.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e8f791769db6..169a9818aa21 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.1 + 1.0.2 From 3dbccd4646d63741e758a61a676caefdb8959447 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Sep 2021 03:54:11 +0200 Subject: [PATCH 1687/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.2 (#469) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 700676c2ee41..cce5f926f423 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.0.1 + 1.0.2 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index e81f3e9f3023..dd7acb06fd3e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.0.1 + 1.0.2 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index aa5e94b29074..acb2323b606d 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.0.1 + 1.0.2 From 6e06ed5b0af4e45e9da94373a13c6d3da21a18cf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Sep 2021 03:56:31 +0200 Subject: [PATCH 1688/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.2 (#555) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.0.1` -> `1.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/compatibility-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.2/confidence-slim/1.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.0.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​102-httpswwwgithubcomgoogleapisjava-shared-configcomparev101v102-2021-09-13) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.0.1...v1.0.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 78986528d9d6..61de59506b4f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.0.1 + 1.0.2 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index bcd29f79103b..5ac5553977cd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.1 + 1.0.2 From 668b7f273f7919d8d23d451df98d588ddaf2d173 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Sep 2021 04:22:33 +0200 Subject: [PATCH 1689/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 (#189) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.2.0` -> `2.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.1/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.1/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.2.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​221-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare220v221-2021-09-13) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.2.0...v2.2.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 169a9818aa21..1a00420c542a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.2.0 + 2.2.1 pom import From 01354ccfa6d5075cf2ec4877cc954517cbe8f183 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Sep 2021 05:14:38 +0200 Subject: [PATCH 1690/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.1 (#185) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1a00420c542a..05f14474dedd 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -126,7 +126,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.0 + 3.3.1 html From b00754db7be3c3a95da176c6f75495d318d82cf2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Sep 2021 05:14:51 +0200 Subject: [PATCH 1691/3036] deps: update dependency io.grpc:grpc-protobuf to v1.40.1 (#180) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 49b1f4b12f77..3051db23d589 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.40.1' - compile 'io.grpc:grpc-protobuf:1.23.0' + compile 'io.grpc:grpc-protobuf:1.40.1' compile project(':proto-google-iam-v1') } From e344d43e88bf83021c14ee2fa1bab2961f6b1b6b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 14 Sep 2021 03:22:26 +0000 Subject: [PATCH 1692/3036] chore: release 1.1.1 (#184) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.1](https://www.github.com/googleapis/java-iam/compare/v1.1.0...v1.1.1) (2021-09-14) ### Dependencies * update dependency com.google.api:api-common to v1.10.6 ([#178](https://www.github.com/googleapis/java-iam/issues/178)) ([378ff95](https://www.github.com/googleapis/java-iam/commit/378ff95551a140ef80e9c48d70fbb9be21569869)) * update dependency com.google.api:api-common to v2 ([#182](https://www.github.com/googleapis/java-iam/issues/182)) ([2984690](https://www.github.com/googleapis/java-iam/commit/2984690907cbe13e1e00901ea4d2551337fda687)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#183](https://www.github.com/googleapis/java-iam/issues/183)) ([ac64b27](https://www.github.com/googleapis/java-iam/commit/ac64b2719a0dabd1d607769db355e220e3124b80)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 ([#189](https://www.github.com/googleapis/java-iam/issues/189)) ([668b7f2](https://www.github.com/googleapis/java-iam/commit/668b7f273f7919d8d23d451df98d588ddaf2d173)) * update dependency io.grpc:grpc-protobuf to v1.40.1 ([#180](https://www.github.com/googleapis/java-iam/issues/180)) ([b00754d](https://www.github.com/googleapis/java-iam/commit/b00754db7be3c3a95da176c6f75495d318d82cf2)) * update dependency io.grpc:grpc-stub to v1.40.1 ([#181](https://www.github.com/googleapis/java-iam/issues/181)) ([d9640bc](https://www.github.com/googleapis/java-iam/commit/d9640bca424d00167f49e1792c2b68bcdc3e6c01)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 12 ++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 6db7147aa5a9..93176d229910 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +### [1.1.1](https://www.github.com/googleapis/java-iam/compare/v1.1.0...v1.1.1) (2021-09-14) + + +### Dependencies + +* update dependency com.google.api:api-common to v1.10.6 ([#178](https://www.github.com/googleapis/java-iam/issues/178)) ([05754fa](https://www.github.com/googleapis/java-iam/commit/05754fa01b0cb71e7c0e8be5c5947abd8301e55f)) +* update dependency com.google.api:api-common to v2 ([#182](https://www.github.com/googleapis/java-iam/issues/182)) ([87b589f](https://www.github.com/googleapis/java-iam/commit/87b589f978d94d465ab4d067584305d834f8be0e)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#183](https://www.github.com/googleapis/java-iam/issues/183)) ([049d5bf](https://www.github.com/googleapis/java-iam/commit/049d5bf50d690765e8eef20e9eb098c13068b559)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.1 ([#189](https://www.github.com/googleapis/java-iam/issues/189)) ([c450ac3](https://www.github.com/googleapis/java-iam/commit/c450ac3e3e409f51e60015a501843f8de3d8eb8e)) +* update dependency io.grpc:grpc-protobuf to v1.40.1 ([#180](https://www.github.com/googleapis/java-iam/issues/180)) ([c1eeb9c](https://www.github.com/googleapis/java-iam/commit/c1eeb9cbf5dbaa21a3e9524d5f97807e5b0fb909)) +* update dependency io.grpc:grpc-stub to v1.40.1 ([#181](https://www.github.com/googleapis/java-iam/issues/181)) ([a5dbb9e](https://www.github.com/googleapis/java-iam/commit/a5dbb9e395e769f1604ab87c844ab5fe67a8a850)) + ## [1.1.0](https://www.github.com/googleapis/java-iam/compare/v1.0.14...v1.1.0) (2021-08-23) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 52782d0d8d3d..30d67aa08280 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.1.1-SNAPSHOT + 1.1.1 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.1-SNAPSHOT + 1.1.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 05f14474dedd..b4930fd9ff24 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.1-SNAPSHOT + 1.1.1 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.1-SNAPSHOT + 1.1.1 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 06d02a39db37..f0be58d6cbc7 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.1-SNAPSHOT + 1.1.1 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.1-SNAPSHOT + 1.1.1 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index a0737a4fa83a..3cec9469c3fc 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.0:1.1.1-SNAPSHOT +proto-google-iam-v1:1.1.1:1.1.1 From cc05333a6d9617f53f24e303b00eb83556649140 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 14 Sep 2021 03:30:22 +0000 Subject: [PATCH 1693/3036] chore: release 1.1.2-SNAPSHOT (#191) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 30d67aa08280..5a375c3efde5 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.1.1 + 1.1.2-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.1 + 1.1.2-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b4930fd9ff24..e352f438dea2 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.1 + 1.1.2-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.1 + 1.1.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index f0be58d6cbc7..4509f72f13f3 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.1 + 1.1.2-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.1 + 1.1.2-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 3cec9469c3fc..c9c5cc188510 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.1:1.1.1 +proto-google-iam-v1:1.1.1:1.1.2-SNAPSHOT From 576dadcd907a79772248e725879fe048ddc95ae8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 14 Sep 2021 19:21:57 +0200 Subject: [PATCH 1694/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.1 (#556) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5ac5553977cd..00414a7fecfe 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.4.1 2.0.2 2.5.0 - 1.1.0 + 1.1.1 1.1.0 1.32.1 1.40.0 From 217b8078426930aca4b7542a76398f8f66743f65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Sep 2021 17:17:52 +0200 Subject: [PATCH 1695/3036] deps: update iam.version to v1.1.1 (#470) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index cce5f926f423..23fa89345206 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.40.0 1.32.1 1.32.1 - 1.1.0 + 1.1.1
    From 0360fd87852cbf549140e8641ca8cea3bcd7eeb8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 15 Sep 2021 10:10:21 -0700 Subject: [PATCH 1696/3036] changes without context (#188) autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. --- java-iam/.github/readme/synth.py | 19 +++++++++ java-iam/.kokoro/continuous/readme.cfg | 55 ++++++++++++++++++++++++++ java-iam/synth.metadata | 2 +- 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 java-iam/.github/readme/synth.py create mode 100644 java-iam/.kokoro/continuous/readme.cfg diff --git a/java-iam/.github/readme/synth.py b/java-iam/.github/readme/synth.py new file mode 100644 index 000000000000..7b48cc28d361 --- /dev/null +++ b/java-iam/.github/readme/synth.py @@ -0,0 +1,19 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated the README for this library.""" + +from synthtool.languages import java + +java.custom_templates(["java_library/README.md"]) diff --git a/java-iam/.kokoro/continuous/readme.cfg b/java-iam/.kokoro/continuous/readme.cfg new file mode 100644 index 000000000000..43a645075ec0 --- /dev/null +++ b/java-iam/.kokoro/continuous/readme.cfg @@ -0,0 +1,55 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-iam/.kokoro/readme.sh" +} + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.log" + } +} + +# The github token is stored here. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + # TODO(theacodes): remove this after secrets have globally propagated + backend_type: FASTCONFIGPUSH + } + } +} + +# Common env vars for all repositories and builds. +env_vars: { + key: "GITHUB_USER" + value: "yoshi-automation" +} +env_vars: { + key: "GITHUB_EMAIL" + value: "yoshi-automation@google.com" +} diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index fd2ba6219a18..02964a204adc 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "a8e85fefc4ac95b2845bb91f76c3dfeb561bdff7" + "sha": "175f33fa4064d4c155e44089df3f134ac0fa9453" } }, { From 4bd39c0b31f5dfc998d240d38830ba558653ade2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Sep 2021 19:21:42 +0200 Subject: [PATCH 1697/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.18.0 (#192) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index ab281f7071c0..358b3ec94405 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.7.1' + compile 'com.google.protobuf:protobuf-java:3.18.0' compile 'com.google.api:api-common:2.0.2' compile project(':proto-google-common-protos') } From 1c4f8e1931e90372a455e6ad0717834c7b4d20d3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 15 Sep 2021 17:28:09 +0000 Subject: [PATCH 1698/3036] chore: release 1.1.2 (#193) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.2](https://www.github.com/googleapis/java-iam/compare/v1.1.1...v1.1.2) (2021-09-15) ### Dependencies * update dependency com.google.protobuf:protobuf-java to v3.18.0 ([#192](https://www.github.com/googleapis/java-iam/issues/192)) ([4bd39c0](https://www.github.com/googleapis/java-iam/commit/4bd39c0b31f5dfc998d240d38830ba558653ade2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 93176d229910..4b7f3f5c3d1b 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.1.2](https://www.github.com/googleapis/java-iam/compare/v1.1.1...v1.1.2) (2021-09-15) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.18.0 ([#192](https://www.github.com/googleapis/java-iam/issues/192)) ([5f8f8f7](https://www.github.com/googleapis/java-iam/commit/5f8f8f7e69de53530425ab416c3b1dd21a2ce783)) + ### [1.1.1](https://www.github.com/googleapis/java-iam/compare/v1.1.0...v1.1.1) (2021-09-14) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 5a375c3efde5..a5d96491f8bd 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.1.2-SNAPSHOT + 1.1.2 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.2-SNAPSHOT + 1.1.2 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e352f438dea2..83bae8b510ae 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.2-SNAPSHOT + 1.1.2 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.2-SNAPSHOT + 1.1.2 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 4509f72f13f3..b411763d4cdc 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.2-SNAPSHOT + 1.1.2 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.2-SNAPSHOT + 1.1.2 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index c9c5cc188510..14a374e3f8c6 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.1:1.1.2-SNAPSHOT +proto-google-iam-v1:1.1.2:1.1.2 From 74aa6e7f5ad4c3c6c904c6f9f1a22c2709268f0c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 15 Sep 2021 17:36:09 +0000 Subject: [PATCH 1699/3036] chore: release 1.1.3-SNAPSHOT (#194) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a5d96491f8bd..a21e673ff21b 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.1.2 + 1.1.3-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.2 + 1.1.3-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 83bae8b510ae..af4e2ea948ac 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.2 + 1.1.3-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.2 + 1.1.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b411763d4cdc..2866b29a6bdb 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.2 + 1.1.3-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.2 + 1.1.3-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 14a374e3f8c6..2ae67894db42 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.2:1.1.2 +proto-google-iam-v1:1.1.2:1.1.3-SNAPSHOT From d8de9b86a46fff9ece8effb4f747fb32b6921fb9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Sep 2021 23:52:52 +0200 Subject: [PATCH 1700/3036] deps: update iam.version to v1.1.2 (#472) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 23fa89345206..e3c191d3545d 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.40.0 1.32.1 1.32.1 - 1.1.1 + 1.1.2
    From 0d3619a9a8369d07a6220d53aa3c3d2ddc1b0974 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Sep 2021 23:53:03 +0200 Subject: [PATCH 1701/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.2 (#559) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 00414a7fecfe..2d08bb1d4844 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.4.1 2.0.2 2.5.0 - 1.1.1 + 1.1.2 1.1.0 1.32.1 1.40.0 From 134758f282bdd49413fe1eeaf54a64e70b383a3d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Sep 2021 23:57:03 +0200 Subject: [PATCH 1702/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.18.0 (#558) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2d08bb1d4844..6b4774d8469d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.32.1 1.40.0 1.40.1 - 3.17.3 + 3.18.0 0.28.0 1.3.2 30.1.1-jre From c8f350e511db5af560b9e1d1cfe9eb323a342677 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Sep 2021 23:57:22 +0200 Subject: [PATCH 1703/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.18.0 (#471) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e3c191d3545d..bd1a66ddef0a 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.4.1 1.1.0 30.1.1-jre - 3.17.3 + 3.18.0 2.0.2 2.5.0 2.1.3 From 6850b939aae6ff934184f1d25ba97da24df21cf0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 15 Sep 2021 22:04:11 +0000 Subject: [PATCH 1704/3036] chore: release 2.1.4 (#557) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.4](https://www.github.com/googleapis/java-core/compare/v2.1.3...v2.1.4) (2021-09-15) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.1 ([#556](https://www.github.com/googleapis/java-core/issues/556)) ([576dadc](https://www.github.com/googleapis/java-core/commit/576dadcd907a79772248e725879fe048ddc95ae8)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.2 ([#559](https://www.github.com/googleapis/java-core/issues/559)) ([0d3619a](https://www.github.com/googleapis/java-core/commit/0d3619a9a8369d07a6220d53aa3c3d2ddc1b0974)) * update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#558](https://www.github.com/googleapis/java-core/issues/558)) ([134758f](https://www.github.com/googleapis/java-core/commit/134758f282bdd49413fe1eeaf54a64e70b383a3d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 9 +++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 6a12c657682e..4384a0112315 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [2.1.4](https://www.github.com/googleapis/java-core/compare/v2.1.3...v2.1.4) (2021-09-15) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.1 ([#556](https://www.github.com/googleapis/java-core/issues/556)) ([095efa1](https://www.github.com/googleapis/java-core/commit/095efa1fc1fffde34c6c38a88fee8f91bd495bfc)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.2 ([#559](https://www.github.com/googleapis/java-core/issues/559)) ([3cda672](https://www.github.com/googleapis/java-core/commit/3cda672059727642d1b90f8bcc6bb34546f6893d)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#558](https://www.github.com/googleapis/java-core/issues/558)) ([85766e6](https://www.github.com/googleapis/java-core/commit/85766e67f0a9f381593ea2d6e9c8f30fc0ba2993)) + ### [2.1.3](https://www.github.com/googleapis/java-core/compare/v2.1.2...v2.1.3) (2021-09-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 61de59506b4f..515fe06cb7a7 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.4-SNAPSHOT + 2.1.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.4-SNAPSHOT + 2.1.4 com.google.cloud google-cloud-core-grpc - 2.1.4-SNAPSHOT + 2.1.4 com.google.cloud google-cloud-core-http - 2.1.4-SNAPSHOT + 2.1.4 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a44e18f88ac4..808d9d3ef73d 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.1.4-SNAPSHOT + 2.1.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.4-SNAPSHOT + 2.1.4 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 e4ad231a11ae..4ba4926b84cf 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.1.4-SNAPSHOT + 2.1.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.4-SNAPSHOT + 2.1.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f736fff60bfa..96581586a386 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.1.4-SNAPSHOT + 2.1.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.4-SNAPSHOT + 2.1.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 6b4774d8469d..8fc24826de5e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.4-SNAPSHOT + 2.1.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index b5b1035ac3f7..62a01bba9215 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.3:2.1.4-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.4:2.1.4 \ No newline at end of file From e73ff5104e056c94bfee8e20328eb79b6396e2d0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 15 Sep 2021 22:10:12 +0000 Subject: [PATCH 1705/3036] chore: release 2.1.5-SNAPSHOT (#560) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 515fe06cb7a7..8cb824d8ca9a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.4 + 2.1.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.4 + 2.1.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.4 + 2.1.5-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.4 + 2.1.5-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 808d9d3ef73d..e4d71f3232e2 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.1.4 + 2.1.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.4 + 2.1.5-SNAPSHOT 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 4ba4926b84cf..cfccd5132efc 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.1.4 + 2.1.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.4 + 2.1.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 96581586a386..92f046b85524 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.1.4 + 2.1.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.4 + 2.1.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 8fc24826de5e..3648bab51bb0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.4 + 2.1.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 62a01bba9215..8b1c3b504784 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.4:2.1.4 \ No newline at end of file +google-cloud-core:2.1.4:2.1.5-SNAPSHOT \ No newline at end of file From 0fb46e85a8f1a2d6d074bf0444bdc98710cbff49 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 17 Sep 2021 00:33:41 +0200 Subject: [PATCH 1706/3036] deps: update google.core.version to v2.1.4 (#473) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index bd1a66ddef0a..38d0df9c275f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.18.0 2.0.2 2.5.0 - 2.1.3 + 2.1.4 1.1.0 1.40.0 1.32.1 From 38b2808dfb5e7d5cd2532ea4790a9b2a97dcd27f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 20 Sep 2021 12:36:01 -0700 Subject: [PATCH 1707/3036] ci: removing linkage-monitor from the required checks (#177) * ci: removing linkage-monitor from the required checks Source-Author: Tomo Suzuki Source-Date: Wed Aug 25 13:18:10 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22 Source-Link: https://github.com/googleapis/synthtool/commit/e2aa5bcc3356d9e3b8b53de3b5c86226447d3a22 * build(java): update renovate config to mark conformance tests as a test commit type Source-Author: kolea2 <45548808+kolea2@users.noreply.github.com> Source-Date: Tue Aug 31 14:35:19 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 9a238a0623879c3de129a376c6085d4a862f6eb9 Source-Link: https://github.com/googleapis/synthtool/commit/9a238a0623879c3de129a376c6085d4a862f6eb9 * chore(java): install maven 3.8.1 at runtime * chore: pin github action runner at ubuntu-16.04 * chore: install maven 3.8.1 at runtime * chore: fix typo Source-Author: Neenu Shaji Source-Date: Thu Sep 2 15:46:06 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: ad7fd76e17bf9494a3e47ff9cf445f61564432e0 Source-Link: https://github.com/googleapis/synthtool/commit/ad7fd76e17bf9494a3e47ff9cf445f61564432e0 * chore(java): update windows build to install maven 3.8.1 at runtime too (related to #1202) Tested in [java-bigquerystorage](https://github.com/googleapis/java-bigquerystorage/pull/1291/commits/7834f4ff86858f6ed0b8068ea66dadf6365e399a) Source-Author: Stephanie Wang Source-Date: Tue Sep 7 13:04:27 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 17ee6e5c08f2eb47029beee4776ce990e56b3925 Source-Link: https://github.com/googleapis/synthtool/commit/17ee6e5c08f2eb47029beee4776ce990e56b3925 * chore(java): remove readme autosynth job config README generation is now handled by owlbot Source-Author: Jeff Ching Source-Date: Wed Sep 8 12:11:28 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: df5093b950d4aafd49a4c7758d74c44485263ada Source-Link: https://github.com/googleapis/synthtool/commit/df5093b950d4aafd49a4c7758d74c44485263ada * chore: remove readme synth.py config Source-Author: Jeff Ching Source-Date: Wed Sep 8 13:23:41 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 2d31a9243781b282202b4f76dc7bbc8b45803196 Source-Link: https://github.com/googleapis/synthtool/commit/2d31a9243781b282202b4f76dc7bbc8b45803196 * chore: add gcf-owl-bot to list of trusted contributors Source-Author: Jeff Ching Source-Date: Wed Sep 8 13:42:12 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: a6b97202771f89a4b76873d43ea9a07d7fc95f91 Source-Link: https://github.com/googleapis/synthtool/commit/a6b97202771f89a4b76873d43ea9a07d7fc95f91 * chore(java): update shared-config and shared-dependencies version in pom template Source-Author: Neenu Shaji Source-Date: Wed Sep 8 17:28:48 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e Source-Link: https://github.com/googleapis/synthtool/commit/396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e --- java-iam/.github/readme/synth.py | 19 ------- java-iam/.github/trusted-contribution.yml | 3 +- java-iam/.github/workflows/ci.yaml | 28 +++++----- java-iam/.kokoro/continuous/readme.cfg | 55 ------------------- java-iam/.kokoro/release/common.sh | 2 +- java-iam/.kokoro/release/drop.sh | 2 +- java-iam/.kokoro/release/promote.sh | 2 +- java-iam/.kokoro/release/publish_javadoc.sh | 2 +- java-iam/.kokoro/release/publish_javadoc11.sh | 2 +- java-iam/.kokoro/release/stage.sh | 2 +- java-iam/.kokoro/trampoline.sh | 2 +- java-iam/renovate.json | 3 +- java-iam/synth.metadata | 6 +- 13 files changed, 28 insertions(+), 100 deletions(-) delete mode 100644 java-iam/.github/readme/synth.py delete mode 100644 java-iam/.kokoro/continuous/readme.cfg diff --git a/java-iam/.github/readme/synth.py b/java-iam/.github/readme/synth.py deleted file mode 100644 index 7b48cc28d361..000000000000 --- a/java-iam/.github/readme/synth.py +++ /dev/null @@ -1,19 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated the README for this library.""" - -from synthtool.languages import java - -java.custom_templates(["java_library/README.md"]) diff --git a/java-iam/.github/trusted-contribution.yml b/java-iam/.github/trusted-contribution.yml index f247d5c78934..a0ba1f7d9078 100644 --- a/java-iam/.github/trusted-contribution.yml +++ b/java-iam/.github/trusted-contribution.yml @@ -1,2 +1,3 @@ trustedContributors: -- renovate-bot \ No newline at end of file +- renovate-bot +- gcf-owl-bot[bot] diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 65ae6ecdda77..3becb5c022a3 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -12,6 +12,9 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: ${{matrix.java}} @@ -23,6 +26,9 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 @@ -37,28 +43,21 @@ jobs: java: [8, 11] steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh - linkage-monitor: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 - with: - java-version: 8 - - run: java -version - - name: Install artifacts to local Maven repository - run: .kokoro/build.sh - shell: bash - - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release) - uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 @@ -70,6 +69,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 - uses: actions/setup-java@v1 with: java-version: 8 diff --git a/java-iam/.kokoro/continuous/readme.cfg b/java-iam/.kokoro/continuous/readme.cfg deleted file mode 100644 index 43a645075ec0..000000000000 --- a/java-iam/.kokoro/continuous/readme.cfg +++ /dev/null @@ -1,55 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/readme.sh" -} - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.log" - } -} - -# The github token is stored here. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - # TODO(theacodes): remove this after secrets have globally propagated - backend_type: FASTCONFIGPUSH - } - } -} - -# Common env vars for all repositories and builds. -env_vars: { - key: "GITHUB_USER" - value: "yoshi-automation" -} -env_vars: { - key: "GITHUB_EMAIL" - value: "yoshi-automation@google.com" -} diff --git a/java-iam/.kokoro/release/common.sh b/java-iam/.kokoro/release/common.sh index 6e3f65999b3d..7f78ee414faf 100755 --- a/java-iam/.kokoro/release/common.sh +++ b/java-iam/.kokoro/release/common.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-iam/.kokoro/release/drop.sh b/java-iam/.kokoro/release/drop.sh index 5c4551efa2c0..742ec1a88600 100755 --- a/java-iam/.kokoro/release/drop.sh +++ b/java-iam/.kokoro/release/drop.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-iam/.kokoro/release/promote.sh b/java-iam/.kokoro/release/promote.sh index 1fa95fa537a3..3cac3d8a97d7 100755 --- a/java-iam/.kokoro/release/promote.sh +++ b/java-iam/.kokoro/release/promote.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index 0009a2e74508..ab821e49c198 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2019 Google Inc. +# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index 2f9416b07a0c..1e37c9b0babd 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2021 Google Inc. +# 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. diff --git a/java-iam/.kokoro/release/stage.sh b/java-iam/.kokoro/release/stage.sh index 8a1033843cb1..77dc4e8f0f3a 100755 --- a/java-iam/.kokoro/release/stage.sh +++ b/java-iam/.kokoro/release/stage.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-iam/.kokoro/trampoline.sh b/java-iam/.kokoro/trampoline.sh index 9da0f8398773..8b69b793c9ec 100644 --- a/java-iam/.kokoro/trampoline.sh +++ b/java-iam/.kokoro/trampoline.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2018 Google Inc. +# 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. diff --git a/java-iam/renovate.json b/java-iam/renovate.json index bf3fecad372c..06ba27d0b815 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -50,7 +50,8 @@ "^junit:junit", "^com.google.truth:truth", "^org.mockito:mockito-core", - "^org.objenesis:objenesis" + "^org.objenesis:objenesis", + "^com.google.cloud:google-cloud-conformance-tests" ], "semanticCommitType": "test", "semanticCommitScope": "deps" diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 02964a204adc..decf9239c9e4 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "175f33fa4064d4c155e44089df3f134ac0fa9453" + "sha": "2d75a05785697c7dcfd0bb5fca1d3dd41cc03e09" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "63cff634aabb85854caa511c5837ea6b45f42b4b" + "sha": "396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e" } } ], @@ -31,7 +31,6 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/blunderbuss.yml", ".github/generated-files-bot.yml", - ".github/readme/synth.py", ".github/release-please.yml", ".github/release-trigger.yml", ".github/snippet-bot.yml", @@ -47,7 +46,6 @@ ".kokoro/common.sh", ".kokoro/continuous/common.cfg", ".kokoro/continuous/java8.cfg", - ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", ".kokoro/nightly/common.cfg", ".kokoro/nightly/integration.cfg", From 72d02743dc95eb53378772e1ca9e65e931fcf500 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 20 Sep 2021 15:41:19 -0400 Subject: [PATCH 1708/3036] chore: removes linkage monitor from required (#195) --- java-iam/.github/sync-repo-settings.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml index 7dd5c3765cfc..efe88147cd7a 100644 --- a/java-iam/.github/sync-repo-settings.yaml +++ b/java-iam/.github/sync-repo-settings.yaml @@ -10,7 +10,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (8) @@ -25,7 +24,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (7) From a08169e6f89fb0e06472f8618964836637ca3716 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 21 Sep 2021 17:26:10 -0400 Subject: [PATCH 1709/3036] deps: downgrading protobuf to 3.17.3 (#562) @Neenu1995 --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3648bab51bb0..3d65803f4b16 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.32.1 1.40.0 1.40.1 - 3.18.0 + 3.17.3 0.28.0 1.3.2 30.1.1-jre From c15a89143397290563be82eb17ccd65e82904a49 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 21 Sep 2021 17:28:21 -0400 Subject: [PATCH 1710/3036] deps: downgrade protobuf to 3.17.3 (not the latest 3.18.0) (#476) @Neenu1995 This version is the same as the version in the last release of the shared-dependencies BOM. https://search.maven.org/artifact/com.google.cloud/first-party-dependencies/2.2.1/pom --- java-shared-dependencies/first-party-dependencies/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 38d0df9c275f..e3c191d3545d 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,10 +59,10 @@ 2.4.1 1.1.0 30.1.1-jre - 3.18.0 + 3.17.3 2.0.2 2.5.0 - 2.1.4 + 2.1.3 1.1.0 1.40.0 1.32.1 From d392f6969f9ac3f203776fd4964b7f5b92bcf185 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 21 Sep 2021 21:32:20 +0000 Subject: [PATCH 1711/3036] chore: release 2.1.5 (#563) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.5](https://www.github.com/googleapis/java-core/compare/v2.1.4...v2.1.5) (2021-09-21) ### Dependencies * downgrading protobuf to 3.17.3 ([#562](https://www.github.com/googleapis/java-core/issues/562)) ([a08169e](https://www.github.com/googleapis/java-core/commit/a08169e6f89fb0e06472f8618964836637ca3716)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 4384a0112315..75880d30e571 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.1.5](https://www.github.com/googleapis/java-core/compare/v2.1.4...v2.1.5) (2021-09-21) + + +### Dependencies + +* downgrading protobuf to 3.17.3 ([#562](https://www.github.com/googleapis/java-core/issues/562)) ([5711b83](https://www.github.com/googleapis/java-core/commit/5711b835a19238df1bfa1f2e4dfc115495a55c9b)) + ### [2.1.4](https://www.github.com/googleapis/java-core/compare/v2.1.3...v2.1.4) (2021-09-15) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8cb824d8ca9a..9d325419ca2b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.5-SNAPSHOT + 2.1.5 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.5-SNAPSHOT + 2.1.5 com.google.cloud google-cloud-core-grpc - 2.1.5-SNAPSHOT + 2.1.5 com.google.cloud google-cloud-core-http - 2.1.5-SNAPSHOT + 2.1.5 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e4d71f3232e2..0b0b05383f77 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.1.5-SNAPSHOT + 2.1.5 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.5-SNAPSHOT + 2.1.5 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 cfccd5132efc..71fc59eb4d29 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.1.5-SNAPSHOT + 2.1.5 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.5-SNAPSHOT + 2.1.5 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 92f046b85524..a07fe2149067 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.1.5-SNAPSHOT + 2.1.5 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.5-SNAPSHOT + 2.1.5 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3d65803f4b16..220a956f2fee 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.5-SNAPSHOT + 2.1.5 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 8b1c3b504784..ccd2b6ac3e50 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.4:2.1.5-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.5:2.1.5 \ No newline at end of file From 8857e593e59894db875ec377fb56263169add723 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 21 Sep 2021 21:38:10 +0000 Subject: [PATCH 1712/3036] chore: release 2.1.6-SNAPSHOT (#564) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 9d325419ca2b..1bb29855b68c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.5 + 2.1.6-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.5 + 2.1.6-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.5 + 2.1.6-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.5 + 2.1.6-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0b0b05383f77..aad61be558a3 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.1.5 + 2.1.6-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.5 + 2.1.6-SNAPSHOT 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 71fc59eb4d29..651108f47dc6 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.1.5 + 2.1.6-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.5 + 2.1.6-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a07fe2149067..a9b68d1ec51e 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.1.5 + 2.1.6-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.5 + 2.1.6-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 220a956f2fee..07e2d012a651 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.5 + 2.1.6-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ccd2b6ac3e50..6fc11e926a4b 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.5:2.1.5 \ No newline at end of file +google-cloud-core:2.1.5:2.1.6-SNAPSHOT \ No newline at end of file From 970cea54941f5245c8c967aa54ae1f64f234bd3e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 00:41:13 +0200 Subject: [PATCH 1713/3036] deps: update dependency com.google.api:gax-bom to v2.5.0 (#565) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 07e2d012a651..b1fbb53efdda 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.4.1 + 2.5.0 2.0.2 2.5.0 1.1.2 From a37688a40f85cbc67b4f86df325241ecece336e2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 00:46:12 +0200 Subject: [PATCH 1714/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.3 (#567) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1bb29855b68c..dda0b9c6822d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.0.2 + 1.0.3 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index b1fbb53efdda..95d93ff15b4b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.2 + 1.0.3 From afe76c073500c4b5903c954a4b58300749fe6b45 Mon Sep 17 00:00:00 2001 From: Jeffrey Rennie Date: Tue, 21 Sep 2021 15:46:22 -0700 Subject: [PATCH 1715/3036] chore: relocate owl bot post processor (#561) * chore: relocate owl bot post processor * chore: relocate owl bot post processor --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/.OwlBot.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 0a4d759e62bf..4f14c59880f4 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: - image: gcr.io/repo-automation-bots/owlbot-java:latest + image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest digest: sha256:b328758e5113c392d3eccad613c2b18097eaebcb4d8bf77fab0326a6cad90bc7 diff --git a/java-core/.github/.OwlBot.yaml b/java-core/.github/.OwlBot.yaml index 8c5f03b4de89..5d9a9d8b5607 100644 --- a/java-core/.github/.OwlBot.yaml +++ b/java-core/.github/.OwlBot.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: - image: "gcr.io/repo-automation-bots/owlbot-java:latest" + image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" From cacbc82e44d5fd0fe7877a82785c8410e9bcffd4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 21 Sep 2021 22:48:12 +0000 Subject: [PATCH 1716/3036] chore: release 2.1.6 (#566) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.6](https://www.github.com/googleapis/java-core/compare/v2.1.5...v2.1.6) (2021-09-21) ### Dependencies * update dependency com.google.api:gax-bom to v2.5.0 ([#565](https://www.github.com/googleapis/java-core/issues/565)) ([970cea5](https://www.github.com/googleapis/java-core/commit/970cea54941f5245c8c967aa54ae1f64f234bd3e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 75880d30e571..5a95af23419a 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.1.6](https://www.github.com/googleapis/java-core/compare/v2.1.5...v2.1.6) (2021-09-21) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.5.0 ([#565](https://www.github.com/googleapis/java-core/issues/565)) ([3ce8e28](https://www.github.com/googleapis/java-core/commit/3ce8e28813858ea932dc5c54324441f2f0c52d46)) + ### [2.1.5](https://www.github.com/googleapis/java-core/compare/v2.1.4...v2.1.5) (2021-09-21) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index dda0b9c6822d..801409cad225 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.6-SNAPSHOT + 2.1.6 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.6-SNAPSHOT + 2.1.6 com.google.cloud google-cloud-core-grpc - 2.1.6-SNAPSHOT + 2.1.6 com.google.cloud google-cloud-core-http - 2.1.6-SNAPSHOT + 2.1.6 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index aad61be558a3..e1063a9653c1 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.1.6-SNAPSHOT + 2.1.6 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.6-SNAPSHOT + 2.1.6 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 651108f47dc6..a820ed1577b3 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.1.6-SNAPSHOT + 2.1.6 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.6-SNAPSHOT + 2.1.6 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a9b68d1ec51e..5ecefdc7ff68 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.1.6-SNAPSHOT + 2.1.6 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.6-SNAPSHOT + 2.1.6 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 95d93ff15b4b..c80643651754 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.6-SNAPSHOT + 2.1.6 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6fc11e926a4b..539ecee17167 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.5:2.1.6-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.6:2.1.6 \ No newline at end of file From ff3f8ae273394d3ac38dc7d2ce3c6d8b58574e8f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 21 Sep 2021 22:50:12 +0000 Subject: [PATCH 1717/3036] chore: release 2.1.7-SNAPSHOT (#568) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 801409cad225..00ac37fc03a2 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.6 + 2.1.7-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.6 + 2.1.7-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.6 + 2.1.7-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.6 + 2.1.7-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e1063a9653c1..ad0fab09e086 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.1.6 + 2.1.7-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.6 + 2.1.7-SNAPSHOT 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 a820ed1577b3..9b898f907f70 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.1.6 + 2.1.7-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.6 + 2.1.7-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5ecefdc7ff68..3723e4a33c75 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.1.6 + 2.1.7-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.6 + 2.1.7-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index c80643651754..0fab6b7bd59e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.6 + 2.1.7-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 539ecee17167..abd2667cf937 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.6:2.1.6 \ No newline at end of file +google-cloud-core:2.1.6:2.1.7-SNAPSHOT \ No newline at end of file From 2cad3ca09bf5086745ce57baeee380a1bacc9ae2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 17:00:35 +0200 Subject: [PATCH 1718/3036] deps: update gax.version to v2.5.0 (#479) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.4.1` -> `2.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.5.0/compatibility-slim/2.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.5.0/confidence-slim/2.4.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.4.1` -> `2.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.5.0/compatibility-slim/2.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.5.0/confidence-slim/2.4.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.5.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​250-httpswwwgithubcomgoogleapisgax-javacomparev241v250-2021-09-21) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.4.1...v2.5.0) ##### Features - Add REST AIP-151 LRO support ([#​1484](https://www.togithub.com/googleapis/gax-java/issues/1484)) ([95ca348](https://www.github.com/googleapis/gax-java/commit/95ca3482d272b5c5c5ac2c85ba007f0ba9f7b5cf)) ##### [2.4.1](https://www.github.com/googleapis/gax-java/compare/v2.4.0...v2.4.1) (2021-09-08) ##### Bug Fixes - REGAPIC fix socket timeout for wait calls ([#​1476](https://www.togithub.com/googleapis/gax-java/issues/1476)) ([86c68b3](https://www.github.com/googleapis/gax-java/commit/86c68b3ffd241f6932516d0e7b5d9ae5714b89e0))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e3c191d3545d..ec2cdbb6c17b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.40.1 - 2.4.1 + 2.5.0 1.1.0 30.1.1-jre 3.17.3 From 715ab9ac70e23d8521762b05a057beaea9e4f9e3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 17:30:12 +0200 Subject: [PATCH 1719/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.3 (#477) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ec2cdbb6c17b..b9746f8f47bb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.0.2 + 1.0.3 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index dd7acb06fd3e..d8c25778df0c 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.0.2 + 1.0.3 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index acb2323b606d..b6d63857548b 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.0.2 + 1.0.3 From 31a1ad2c8f717ca03878b732d869bda0569e58a6 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 22 Sep 2021 11:31:26 -0400 Subject: [PATCH 1720/3036] ci: upper-bound-check test (#474) * ci: upper-bound-check test * Test older protobuf version * Trying oauth client * fixed oauth library version * Added comments to explain how the dependency list was created --- .../.github/workflows/upper-bound-check.yaml | 23 ++ .../upper-bound-check/pom.xml | 262 ++++++++++++++++++ 2 files changed, 285 insertions(+) create mode 100644 java-shared-dependencies/.github/workflows/upper-bound-check.yaml create mode 100644 java-shared-dependencies/upper-bound-check/pom.xml diff --git a/java-shared-dependencies/.github/workflows/upper-bound-check.yaml b/java-shared-dependencies/.github/workflows/upper-bound-check.yaml new file mode 100644 index 000000000000..f4fac6acf90f --- /dev/null +++ b/java-shared-dependencies/.github/workflows/upper-bound-check.yaml @@ -0,0 +1,23 @@ +on: + push: + branches: + - master + pull_request: +name: upper-bound-check +jobs: + upper-bound-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - name: Install the BOM to local Maven repository + run: .kokoro/build.sh + - name: Check the BOM content satisfies the upper-bound-check test case + run: mvn -B -V -ntp verify -Dcheckstyle.skip + working-directory: upper-bound-check diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml new file mode 100644 index 000000000000..4b84e92d94cc --- /dev/null +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -0,0 +1,262 @@ + + + 4.0.0 + com.google.cloud + shared-dependencies-upper-bound-test + pom + 2.2.1 + Upper bound test for Google Cloud Shared Dependencies + https://github.com/googleapis/java-shared-dependencies + + An upper bound test case for the shared dependencies BOM. A failure of this test case means + the shared dependencies BOM has outdated dependencies; there are newer version of artifacts + appearing in the dependency tree. + + + + com.google.cloud + + google-cloud-shared-config + 1.0.2 + + + + Google LLC + + + + scm:git:git@github.com:googleapis/java-shared-dependencies.git + scm:git:git@github.com:googleapis/java-shared-dependencies.git + https://github.com/googleapis/java-shared-dependencies + HEAD + + + + https://github.com/googleapis/java-shared-dependencies/issues + GitHub Issues + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + UTF-8 + ${project.artifactId} + + + + + + com.google.cloud + google-cloud-shared-dependencies + 2.2.1 + pom + import + + + + + + + + io.grpc + grpc-alts + + + io.grpc + grpc-api + + + io.grpc + grpc-auth + + + io.grpc + grpc-benchmarks + + + io.grpc + grpc-census + + + io.grpc + grpc-context + + + io.grpc + grpc-core + + + io.grpc + grpc-grpclb + + + io.grpc + grpc-netty + + + io.grpc + grpc-netty-shaded + + + io.grpc + grpc-okhttp + + + io.grpc + grpc-protobuf + + + io.grpc + grpc-rls + + + io.grpc + grpc-services + + + io.grpc + grpc-stub + + + io.grpc + grpc-testing-proto + + + io.grpc + grpc-xds + + + com.google.api + gax + + + com.google.api + gax + + + com.google.api + gax-grpc + + + com.google.api + gax-httpjson + + + com.google.cloud + grpc-gcp + + + com.google.guava + guava + + + com.google.protobuf + protobuf-java + + + com.google.protobuf + protobuf-java-util + + + com.google.api + api-common + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api.grpc + grpc-google-common-protos + + + com.google.cloud + google-cloud-core + + + com.google.cloud + google-cloud-core-grpc + + + com.google.cloud + google-cloud-core-http + + + com.google.auth + google-auth-library-credentials + + + com.google.auth + google-auth-library-oauth2-http + + + com.google.auth + google-auth-library-appengine + + + + com.google.http-client + google-http-client + + + com.google.http-client + google-http-client-android + + + com.google.http-client + google-http-client-apache-v2 + + + com.google.http-client + google-http-client-appengine + + + com.google.http-client + google-http-client-gson + + + com.google.http-client + google-http-client-jackson2 + + + com.google.http-client + google-http-client-protobuf + + + com.google.http-client + google-http-client-xml + + + + com.google.oauth-client + google-oauth-client + + + com.google.api-client + google-api-client + + + com.google.api-client + google-api-client-android + + + com.google.api.grpc + proto-google-iam-v1 + + + com.google.api.grpc + grpc-google-iam-v1 + + + From 26c394a9eb6280a68c160ae157def22749d24794 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 22 Sep 2021 15:36:10 +0000 Subject: [PATCH 1721/3036] chore: release 2.2.2-SNAPSHOT (#467) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/versions.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b9746f8f47bb..f235612a92c8 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 - 2.2.1 + 2.2.2-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d8c25778df0c..36ed12a9fe9c 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 - 2.2.1 + 2.2.2-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.2.1 + 2.2.2-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.2.1 + 2.2.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index b6d63857548b..b20907ed50ce 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 - 2.2.1 + 2.2.2-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 32ee2d1b8e33..103c65f10bd2 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.2.1:2.2.1 \ No newline at end of file +google-cloud-shared-dependencies:2.2.1:2.2.2-SNAPSHOT \ No newline at end of file From 906528def0a60b8fdf9c97ad6e544a24990a428b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 17:36:39 +0200 Subject: [PATCH 1722/3036] deps: update google.core.version to v2.1.6 (#478) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f235612a92c8..13be658f82be 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.17.3 2.0.2 2.5.0 - 2.1.3 + 2.1.6 1.1.0 1.40.0 1.32.1 From 2d05f56ba7362731a8991a559313d8fe380ff8d7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 22 Sep 2021 15:44:11 +0000 Subject: [PATCH 1723/3036] chore: release 2.3.0 (#480) :robot: I have created a release \*beep\* \*boop\* --- ## [2.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.1...v2.3.0) (2021-09-22) ### Dependencies * keep protobuf at 3.17.3 (not the latest 3.18.0) ([#476](https://www.github.com/googleapis/java-shared-dependencies/issues/476)) ([c15a891](https://www.github.com/googleapis/java-shared-dependencies/commit/c15a89143397290563be82eb17ccd65e82904a49)) * update gax.version to v2.5.0 ([#479](https://www.github.com/googleapis/java-shared-dependencies/issues/479)) ([2cad3ca](https://www.github.com/googleapis/java-shared-dependencies/commit/2cad3ca09bf5086745ce57baeee380a1bacc9ae2)) * update google.core.version to v2.1.4 ([#473](https://www.github.com/googleapis/java-shared-dependencies/issues/473)) ([0fb46e8](https://www.github.com/googleapis/java-shared-dependencies/commit/0fb46e85a8f1a2d6d074bf0444bdc98710cbff49)) * update google.core.version to v2.1.6 ([#478](https://www.github.com/googleapis/java-shared-dependencies/issues/478)) ([906528d](https://www.github.com/googleapis/java-shared-dependencies/commit/906528def0a60b8fdf9c97ad6e544a24990a428b)) * update iam.version to v1.1.1 ([#470](https://www.github.com/googleapis/java-shared-dependencies/issues/470)) ([217b807](https://www.github.com/googleapis/java-shared-dependencies/commit/217b8078426930aca4b7542a76398f8f66743f65)) * update iam.version to v1.1.2 ([#472](https://www.github.com/googleapis/java-shared-dependencies/issues/472)) ([d8de9b8](https://www.github.com/googleapis/java-shared-dependencies/commit/d8de9b86a46fff9ece8effb4f747fb32b6921fb9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 12 ++++++++++++ java-shared-dependencies/README.md | 2 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 21 insertions(+), 9 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 2f5068d98ff1..cb02ec73bcd1 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.1...v2.3.0) (2021-09-22) + + +### Dependencies + +* keep protobuf at 3.17.3 (not the latest 3.18.0) ([#476](https://www.github.com/googleapis/java-shared-dependencies/issues/476)) ([e207c81](https://www.github.com/googleapis/java-shared-dependencies/commit/e207c818f220967e3618d7a9d36f2cf26c07892e)) +* update gax.version to v2.5.0 ([#479](https://www.github.com/googleapis/java-shared-dependencies/issues/479)) ([e22e62a](https://www.github.com/googleapis/java-shared-dependencies/commit/e22e62a3b248023ae94da2a02ec50006377a5157)) +* update google.core.version to v2.1.4 ([#473](https://www.github.com/googleapis/java-shared-dependencies/issues/473)) ([116f278](https://www.github.com/googleapis/java-shared-dependencies/commit/116f2783dfc18f215905ceaff9f85f331f83472b)) +* update google.core.version to v2.1.6 ([#478](https://www.github.com/googleapis/java-shared-dependencies/issues/478)) ([9e09728](https://www.github.com/googleapis/java-shared-dependencies/commit/9e0972834764b25e5e194e0e805efc5453120df3)) +* update iam.version to v1.1.1 ([#470](https://www.github.com/googleapis/java-shared-dependencies/issues/470)) ([3b6e960](https://www.github.com/googleapis/java-shared-dependencies/commit/3b6e96050af8d976a30165481d764d8226143a39)) +* update iam.version to v1.1.2 ([#472](https://www.github.com/googleapis/java-shared-dependencies/issues/472)) ([85329cc](https://www.github.com/googleapis/java-shared-dependencies/commit/85329cc6c13d16fe2eeeb076959ee16a752c1f9e)) + ### [2.2.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.0...v2.2.1) (2021-09-13) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index da8de9adcaa1..91ebe080ccdf 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.2.1 + 2.3.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 13be658f82be..9cd944a64689 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 - 2.2.2-SNAPSHOT + 2.3.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 36ed12a9fe9c..db937e40447d 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 - 2.2.2-SNAPSHOT + 2.3.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.2.2-SNAPSHOT + 2.3.0 pom import com.google.cloud third-party-dependencies - 2.2.2-SNAPSHOT + 2.3.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index b20907ed50ce..e50b438c5d57 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 - 2.2.2-SNAPSHOT + 2.3.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 4b84e92d94cc..3d80c9f07f56 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 - 2.2.1 + 2.3.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.2.1 + 2.3.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 103c65f10bd2..1af47c143ca9 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.2.1:2.2.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.3.0:2.3.0 \ No newline at end of file From 2c2401a1186c39204b3915a703a1fbf2234fb674 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 17:52:12 +0200 Subject: [PATCH 1724/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.0.3 (#196) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.0.2` -> `1.0.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.3/compatibility-slim/1.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.0.3/confidence-slim/1.0.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.0.3`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​103-httpswwwgithubcomgoogleapisjava-shared-configcomparev102v103-2021-09-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.0.2...v1.0.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index af4e2ea948ac..595e920d8a8b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.2 + 1.0.3 From 907e7099c2a50e1af4dbb728c868b40134ae2265 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 22 Sep 2021 12:46:38 -0400 Subject: [PATCH 1725/3036] chore: release 2.3.1-SNAPSHOT (#481) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9cd944a64689..6c3d627af251 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 - 2.3.0 + 2.3.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index db937e40447d..4ef628cc4726 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 - 2.3.0 + 2.3.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.3.0 + 2.3.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.3.0 + 2.3.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index e50b438c5d57..d56c804dac9d 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 - 2.3.0 + 2.3.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 3d80c9f07f56..8c33a979c337 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 - 2.3.0 + 2.3.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.3.0 + 2.3.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 1af47c143ca9..5b84fd0a4be7 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.3.0:2.3.0 \ No newline at end of file +google-cloud-shared-dependencies:2.3.0:2.3.1-SNAPSHOT \ No newline at end of file From b10482cc1ebc91e4bcc47f2cb7e99365f663996f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Sep 2021 22:48:14 +0200 Subject: [PATCH 1726/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0 (#197) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.2.1` -> `2.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.3.0/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.3.0/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.3.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​230-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare221v230-2021-09-22) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.2.1...v2.3.0) ##### Dependencies - keep protobuf at 3.17.3 (not the latest 3.18.0) ([#​476](https://www.togithub.com/googleapis/java-shared-dependencies/issues/476)) ([e207c81](https://www.github.com/googleapis/java-shared-dependencies/commit/e207c818f220967e3618d7a9d36f2cf26c07892e)) - update gax.version to v2.5.0 ([#​479](https://www.togithub.com/googleapis/java-shared-dependencies/issues/479)) ([e22e62a](https://www.github.com/googleapis/java-shared-dependencies/commit/e22e62a3b248023ae94da2a02ec50006377a5157)) - update google.core.version to v2.1.4 ([#​473](https://www.togithub.com/googleapis/java-shared-dependencies/issues/473)) ([116f278](https://www.github.com/googleapis/java-shared-dependencies/commit/116f2783dfc18f215905ceaff9f85f331f83472b)) - update google.core.version to v2.1.6 ([#​478](https://www.togithub.com/googleapis/java-shared-dependencies/issues/478)) ([9e09728](https://www.github.com/googleapis/java-shared-dependencies/commit/9e0972834764b25e5e194e0e805efc5453120df3)) - update iam.version to v1.1.1 ([#​470](https://www.togithub.com/googleapis/java-shared-dependencies/issues/470)) ([3b6e960](https://www.github.com/googleapis/java-shared-dependencies/commit/3b6e96050af8d976a30165481d764d8226143a39)) - update iam.version to v1.1.2 ([#​472](https://www.togithub.com/googleapis/java-shared-dependencies/issues/472)) ([85329cc](https://www.github.com/googleapis/java-shared-dependencies/commit/85329cc6c13d16fe2eeeb076959ee16a752c1f9e)) ##### [2.2.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.0...v2.2.1) (2021-09-13) ##### Dependencies - update gax.version to v2.4.1 ([#​464](https://www.togithub.com/googleapis/java-shared-dependencies/issues/464)) ([bc7c6d7](https://www.github.com/googleapis/java-shared-dependencies/commit/bc7c6d7ca161ebfa31895c375d65bca29d4c7336)) - update google.core.version to v2.1.3 ([#​465](https://www.togithub.com/googleapis/java-shared-dependencies/issues/465)) ([848f608](https://www.github.com/googleapis/java-shared-dependencies/commit/848f608ae850bd2dd80ec56034eb0c9a18f0415b))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 595e920d8a8b..c87b679b2cca 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.2.1 + 2.3.0 pom import From 42a339ff0585ebf7ab1374c24c33eb886336a272 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 22 Sep 2021 20:00:06 -0400 Subject: [PATCH 1727/3036] chore: make owlbot check required (#201) * chore: make owlbot check required * Update sync-repo-settings.yaml --- java-iam/.github/sync-repo-settings.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml index efe88147cd7a..32e0ea5a1aa1 100644 --- a/java-iam/.github/sync-repo-settings.yaml +++ b/java-iam/.github/sync-repo-settings.yaml @@ -16,6 +16,7 @@ branchProtectionRules: - units (11) - 'Kokoro - Test: Integration' - cla/google + - OwlBot Post Processor - pattern: java7 isAdminEnforced: true requiredApprovingReviewCount: 1 @@ -31,6 +32,7 @@ branchProtectionRules: - units (11) - 'Kokoro - Test: Integration' - cla/google + - OwlBot Post Processor permissionRules: - team: yoshi-admins permission: admin From b58c0b1ba2d5a5ef273564df90b71fce49982a1b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 23 Sep 2021 02:16:20 +0200 Subject: [PATCH 1728/3036] deps: update dependency io.grpc:grpc-bom to v1.41.0 (#569) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.40.1` -> `1.41.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.41.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.41.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.41.0/compatibility-slim/1.40.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.41.0/confidence-slim/1.40.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.41.0`](https://togithub.com/grpc/grpc-java/releases/v1.41.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.40.1...v1.41.0) ##### API Changes - stub: Mark Stub-based MetadataUtils methods deprecated ([#​8395](https://togithub.com/grpc/grpc-java/issues/8395)). The interceptor-based versions have been stable for a long time and are preferred ##### Bug Fixes - census: Fixed a data race in CensusStatsModule which in rare cases may cause NullPointerException ([#​8459](https://togithub.com/grpc/grpc-java/issues/8459)) - xds: Fixed a bug in SharedCallCounterMap which in rare cases may cause NullPointerException ([#​8397](https://togithub.com/grpc/grpc-java/issues/8397)) - core: `ServerCall.isCancelled()` and `ServerCallStreamObserver.isCancelled()` implementations no longer incorrectly return true at the end of every RPC ([#​8408](https://togithub.com/grpc/grpc-java/issues/8408)) - core: ManagedChannel no longer immediately exits idle mode after an `enterIdle()` call when it has any calls in progress - netty-shaded: Modify the shading operation to transform native-image resources so they correctly reference shaded class names ([#​7540](https://togithub.com/grpc/grpc-java/issues/7540)) - netty-shaded: Rename native-image resources to avoid collisions with Netty’s copy, which were modified starting in 1.39.0 - rls: avoid NullPointerException in RLS in certain circumstances when calling `channel.getState(true)` or if a parent load balancer requests a connection ([#​8379](https://togithub.com/grpc/grpc-java/issues/8379)) ##### New Features - xds: xDS-based TLS security (gRFC 29) is now stable - util: Added new classes AdvancedTlsX509TrustManager and AdvancedTlsX509KeyManager, which support reloading keys and trust roots as they change. They also can make custom verification easier by handling the hostname verification. ([#​8175](https://togithub.com/grpc/grpc-java/issues/8175)) - xds: Added `XdsNameResolverProvider.createForTest()` to allow using a different bootstrap configuration in tests ([#​8358](https://togithub.com/grpc/grpc-java/issues/8358)) ##### Behavior Changes - rls: migrated the deprecated server and path fields in RouteLookupRequest to using the new extra_keys field in RLS config ##### Improvements - api: Document that NameResolvers shouldn’t block within their methods ([#​8398](https://togithub.com/grpc/grpc-java/issues/8398)). The offload executor should be used for blocking operations - stub: Document StreamObserver is an async API, and how it internally may buffer ([#​8449](https://togithub.com/grpc/grpc-java/issues/8449)) ##### Dependencies - Upgraded error_prone_annotations to 2.9.0 - cronet: Cronet upgraded to version 92.4515.131
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0fab6b7bd59e..0faabf877ac2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.1.0 1.32.1 1.40.0 - 1.40.1 + 1.41.0 3.17.3 0.28.0 1.3.2 From a9a2063469cfb4316f60774017f218e2e8c55cdb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 23 Sep 2021 00:22:35 +0000 Subject: [PATCH 1729/3036] chore: release 2.1.7 (#571) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.7](https://www.github.com/googleapis/java-core/compare/v2.1.6...v2.1.7) (2021-09-23) ### Dependencies * update dependency io.grpc:grpc-bom to v1.41.0 ([#569](https://www.github.com/googleapis/java-core/issues/569)) ([b58c0b1](https://www.github.com/googleapis/java-core/commit/b58c0b1ba2d5a5ef273564df90b71fce49982a1b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 5a95af23419a..9b654a70dcf4 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.1.7](https://www.github.com/googleapis/java-core/compare/v2.1.6...v2.1.7) (2021-09-23) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.41.0 ([#569](https://www.github.com/googleapis/java-core/issues/569)) ([36703e9](https://www.github.com/googleapis/java-core/commit/36703e9a1f2d97d465a13220027a27f813da14a8)) + ### [2.1.6](https://www.github.com/googleapis/java-core/compare/v2.1.5...v2.1.6) (2021-09-21) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 00ac37fc03a2..2bcbaef626fa 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.7-SNAPSHOT + 2.1.7 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.7-SNAPSHOT + 2.1.7 com.google.cloud google-cloud-core-grpc - 2.1.7-SNAPSHOT + 2.1.7 com.google.cloud google-cloud-core-http - 2.1.7-SNAPSHOT + 2.1.7 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ad0fab09e086..557cf13c75ee 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.1.7-SNAPSHOT + 2.1.7 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.7-SNAPSHOT + 2.1.7 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 9b898f907f70..e92a1260fa7b 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.1.7-SNAPSHOT + 2.1.7 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.7-SNAPSHOT + 2.1.7 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3723e4a33c75..075be6b8ce1e 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.1.7-SNAPSHOT + 2.1.7 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.7-SNAPSHOT + 2.1.7 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 0faabf877ac2..68c4274a1308 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.7-SNAPSHOT + 2.1.7 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index abd2667cf937..14c1e1d9725b 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.6:2.1.7-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.7:2.1.7 \ No newline at end of file From 21d2e4b6b2a2486502f84596f91cc5b4e19aa90a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 23 Sep 2021 00:28:23 +0000 Subject: [PATCH 1730/3036] chore: release 2.1.8-SNAPSHOT (#572) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 2bcbaef626fa..1d374dea71f6 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.7 + 2.1.8-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.7 + 2.1.8-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.7 + 2.1.8-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.7 + 2.1.8-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 557cf13c75ee..c50cb1197bc2 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.1.7 + 2.1.8-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.7 + 2.1.8-SNAPSHOT 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 e92a1260fa7b..5477def2c122 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.1.7 + 2.1.8-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.7 + 2.1.8-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 075be6b8ce1e..33ae96230454 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.1.7 + 2.1.8-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.7 + 2.1.8-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 68c4274a1308..0e69f72097ab 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.7 + 2.1.8-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 14c1e1d9725b..20b5198cb3fe 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.7:2.1.7 \ No newline at end of file +google-cloud-core:2.1.7:2.1.8-SNAPSHOT \ No newline at end of file From e9c96a5c9ade45b089f421b2cfec893a1afe03a4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 23 Sep 2021 02:29:59 +0200 Subject: [PATCH 1731/3036] deps: update dependency io.grpc:grpc-stub to v1.41.0 (#199) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 3051db23d589..8135bdf2649a 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.40.1' + compile 'io.grpc:grpc-stub:1.41.0' compile 'io.grpc:grpc-protobuf:1.40.1' compile project(':proto-google-iam-v1') } From 58d4a828f18e2c582ab1c438a12b9e3c2512814d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 23 Sep 2021 02:38:43 +0200 Subject: [PATCH 1732/3036] deps: update dependency io.grpc:grpc-bom to v1.41.0 (#482) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 6c3d627af251..ff56ad3d1fbc 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.40.1 + 1.41.0 2.5.0 1.1.0 30.1.1-jre From c6f62839f926256e86bbcba57b52469d1744a911 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 23 Sep 2021 09:53:29 -0400 Subject: [PATCH 1733/3036] chore: make owlbot check required (#570) * chore: make owlbot check required * Update sync-repo-settings.yaml --- java-core/.github/sync-repo-settings.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index 93bd5ae48e91..b864dc8a0137 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -37,6 +37,7 @@ branchProtectionRules: - "units (11)" - "Kokoro - Test: Integration" - "cla/google" + - "OwlBot Post Processor" - pattern: java7 # Can admins overwrite branch protection. # Defaults to `true` @@ -60,6 +61,7 @@ branchProtectionRules: - "units (11)" - "Kokoro - Test: Integration" - "cla/google" + - "OwlBot Post Processor" # List of explicit permissions to add (additive only) permissionRules: - team: yoshi-admins From f7ab6f5886a43fe80c5bb7c452f792a377951aa8 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 24 Sep 2021 15:42:59 +0000 Subject: [PATCH 1734/3036] chore(java): remove dependencyDashboardLabel config from renovate.json (#1220) (#573) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/renovate.json | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 4f14c59880f4..afb21e42c1bd 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:b328758e5113c392d3eccad613c2b18097eaebcb4d8bf77fab0326a6cad90bc7 + digest: sha256:52b5557b7155a80e6f1684c2376d5eef0df6d8d5c785551e1ff8cc000603b62a diff --git a/java-core/renovate.json b/java-core/renovate.json index 3d8be5619dee..8667c146d42a 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -70,8 +70,5 @@ } ], "semanticCommits": true, - "dependencyDashboard": true, - "dependencyDashboardLabels": [ - "type: process" - ] + "dependencyDashboard": true } From 7df26d84ac92c4a32e10973341f4ddc57621e7e0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 24 Sep 2021 11:48:07 -0700 Subject: [PATCH 1735/3036] chore(java): remove dependencyDashboardLabel config from renovate.json (#202) Source-Author: Neenu Shaji Source-Date: Thu Sep 23 14:36:33 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 0752ff727a19a467dffed335d5e59303689cf0d1 Source-Link: https://github.com/googleapis/synthtool/commit/0752ff727a19a467dffed335d5e59303689cf0d1 --- java-iam/renovate.json | 5 +---- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/java-iam/renovate.json b/java-iam/renovate.json index 06ba27d0b815..0d9e4a627715 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -70,8 +70,5 @@ } ], "semanticCommits": true, - "dependencyDashboard": true, - "dependencyDashboardLabels": [ - "type: process" - ] + "dependencyDashboard": true } diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index decf9239c9e4..61097f5f105a 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "2d75a05785697c7dcfd0bb5fca1d3dd41cc03e09" + "sha": "bf30e86f21729716838e38a6527c16b2b09bc600" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e" + "sha": "0752ff727a19a467dffed335d5e59303689cf0d1" } } ], From 9e66202a6f393c178490f0086eb5142dc6067abb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 24 Sep 2021 22:40:59 +0200 Subject: [PATCH 1736/3036] deps: update dependency io.grpc:grpc-protobuf to v1.41.0 (#198) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.40.1` -> `1.41.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.41.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.41.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.41.0/compatibility-slim/1.40.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.41.0/confidence-slim/1.40.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.41.0`](https://togithub.com/grpc/grpc-java/releases/v1.41.0) ##### API Changes - stub: Mark Stub-based MetadataUtils methods deprecated ([#​8395](https://togithub.com/grpc/grpc-java/issues/8395)). The interceptor-based versions have been stable for a long time and are preferred ##### Bug Fixes - census: Fixed a data race in CensusStatsModule which in rare cases may cause NullPointerException ([#​8459](https://togithub.com/grpc/grpc-java/issues/8459)) - xds: Fixed a bug in SharedCallCounterMap which in rare cases may cause NullPointerException ([#​8397](https://togithub.com/grpc/grpc-java/issues/8397)) - core: `ServerCall.isCancelled()` and `ServerCallStreamObserver.isCancelled()` implementations no longer incorrectly return true at the end of every RPC ([#​8408](https://togithub.com/grpc/grpc-java/issues/8408)) - core: ManagedChannel no longer immediately exits idle mode after an `enterIdle()` call when it has any calls in progress - netty-shaded: Modify the shading operation to transform native-image resources so they correctly reference shaded class names ([#​7540](https://togithub.com/grpc/grpc-java/issues/7540)) - netty-shaded: Rename native-image resources to avoid collisions with Netty’s copy, which were modified starting in 1.39.0 - rls: avoid NullPointerException in RLS in certain circumstances when calling `channel.getState(true)` or if a parent load balancer requests a connection ([#​8379](https://togithub.com/grpc/grpc-java/issues/8379)) ##### New Features - xds: xDS-based TLS security (gRFC 29) is now stable - util: Added new classes AdvancedTlsX509TrustManager and AdvancedTlsX509KeyManager, which support reloading keys and trust roots as they change. They also can make custom verification easier by handling the hostname verification. ([#​8175](https://togithub.com/grpc/grpc-java/issues/8175)) - xds: Added `XdsNameResolverProvider.createForTest()` to allow using a different bootstrap configuration in tests ([#​8358](https://togithub.com/grpc/grpc-java/issues/8358)) ##### Behavior Changes - rls: migrated the deprecated server and path fields in RouteLookupRequest to using the new extra_keys field in RLS config ##### Improvements - api: Document that NameResolvers shouldn’t block within their methods ([#​8398](https://togithub.com/grpc/grpc-java/issues/8398)). The offload executor should be used for blocking operations - stub: Document StreamObserver is an async API, and how it internally may buffer ([#​8449](https://togithub.com/grpc/grpc-java/issues/8449)) ##### Dependencies - Upgraded error_prone_annotations to 2.9.0 - cronet: Cronet upgraded to version 92.4515.131
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 8135bdf2649a..a828ced26a36 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.41.0' - compile 'io.grpc:grpc-protobuf:1.40.1' + compile 'io.grpc:grpc-protobuf:1.41.0' compile project(':proto-google-iam-v1') } From ef03c1f196af4a451e8566a9837f3aa159ff9ba8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 24 Sep 2021 20:48:48 +0000 Subject: [PATCH 1737/3036] chore: release 1.1.3 (#200) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.3](https://www.github.com/googleapis/java-iam/compare/v1.1.2...v1.1.3) (2021-09-24) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0 ([#197](https://www.github.com/googleapis/java-iam/issues/197)) ([b10482c](https://www.github.com/googleapis/java-iam/commit/b10482cc1ebc91e4bcc47f2cb7e99365f663996f)) * update dependency io.grpc:grpc-protobuf to v1.41.0 ([#198](https://www.github.com/googleapis/java-iam/issues/198)) ([9e66202](https://www.github.com/googleapis/java-iam/commit/9e66202a6f393c178490f0086eb5142dc6067abb)) * update dependency io.grpc:grpc-stub to v1.41.0 ([#199](https://www.github.com/googleapis/java-iam/issues/199)) ([e9c96a5](https://www.github.com/googleapis/java-iam/commit/e9c96a5c9ade45b089f421b2cfec893a1afe03a4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 9 +++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 4b7f3f5c3d1b..f1adadd3ff04 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +### [1.1.3](https://www.github.com/googleapis/java-iam/compare/v1.1.2...v1.1.3) (2021-09-24) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0 ([#197](https://www.github.com/googleapis/java-iam/issues/197)) ([8594f40](https://www.github.com/googleapis/java-iam/commit/8594f4074be618506a553ba4436a6fc4fd9993ff)) +* update dependency io.grpc:grpc-protobuf to v1.41.0 ([#198](https://www.github.com/googleapis/java-iam/issues/198)) ([7862c1d](https://www.github.com/googleapis/java-iam/commit/7862c1de5798ed933279521e19cb2b4c6181871b)) +* update dependency io.grpc:grpc-stub to v1.41.0 ([#199](https://www.github.com/googleapis/java-iam/issues/199)) ([bf30e86](https://www.github.com/googleapis/java-iam/commit/bf30e86f21729716838e38a6527c16b2b09bc600)) + ### [1.1.2](https://www.github.com/googleapis/java-iam/compare/v1.1.1...v1.1.2) (2021-09-15) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a21e673ff21b..22b45b1443ad 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.1.3-SNAPSHOT + 1.1.3 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.3-SNAPSHOT + 1.1.3 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c87b679b2cca..a5ec0217bd44 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.3-SNAPSHOT + 1.1.3 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.3-SNAPSHOT + 1.1.3 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 2866b29a6bdb..8934ef48ca25 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.3-SNAPSHOT + 1.1.3 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.3-SNAPSHOT + 1.1.3 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 2ae67894db42..3de33b8ff89d 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.2:1.1.3-SNAPSHOT +proto-google-iam-v1:1.1.3:1.1.3 From 71d4116356ebbc2cd98d918dbd4c1190bfc685e1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 24 Sep 2021 20:52:51 +0000 Subject: [PATCH 1738/3036] chore: release 1.1.4-SNAPSHOT (#203) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 22b45b1443ad..c7f9eb7c14ca 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.1.3 + 1.1.4-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.3 + 1.1.4-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a5ec0217bd44..1c466994e61b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.3 + 1.1.4-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.3 + 1.1.4-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 8934ef48ca25..8e056717778d 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.3 + 1.1.4-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.3 + 1.1.4-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 3de33b8ff89d..c062b26c32d5 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.3:1.1.3 +proto-google-iam-v1:1.1.3:1.1.4-SNAPSHOT From 6d644a7b4b2f096d497e809aa5fa3a90b703aa1a Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 27 Sep 2021 15:27:00 -0400 Subject: [PATCH 1739/3036] chore: change branch master to main in sync-repo-settings.yaml (#204) --- java-iam/.github/sync-repo-settings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml index 32e0ea5a1aa1..6f09d6956a36 100644 --- a/java-iam/.github/sync-repo-settings.yaml +++ b/java-iam/.github/sync-repo-settings.yaml @@ -2,7 +2,7 @@ rebaseMergeAllowed: false squashMergeAllowed: true mergeCommitAllowed: false branchProtectionRules: - - pattern: master + - pattern: main isAdminEnforced: true requiredApprovingReviewCount: 1 requiresCodeOwnerReviews: true From c65b75ade6c156833a4c496ae74f66e25419b864 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Tue, 28 Sep 2021 11:51:44 -0700 Subject: [PATCH 1740/3036] chore: change branch master to main (#579) --- java-core/.github/sync-repo-settings.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index b864dc8a0137..5ec649c87719 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -11,11 +11,11 @@ squashMergeAllowed: true # Defaults to `false` mergeCommitAllowed: false -# Rules for master branch protection +# Rules for main branch protection branchProtectionRules: # Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `master` -- pattern: master +# Defaults to `main` +- pattern: main # Can admins overwrite branch protection. # Defaults to `true` isAdminEnforced: true From 77f6bb984161fcd7fdafb8a4e13c856e18342180 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 28 Sep 2021 11:52:12 -0700 Subject: [PATCH 1741/3036] build: add jdk 17 to java units and dependency builds (#1216) (#576) * update dependencies.sh to not pass MaxPermSize when jdk 17 is used. MaxPermSize is an unrecognized flag in jdk 17. Source-Link: https://github.com/googleapis/synthtool/commit/a4be3384ccb92364795d981f2863f6986fcee620 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:13b7387edb404234610d30473ac48210ae7fe42a136335ee2b2f8a07c4c7f6a5 Co-authored-by: Owl Bot --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/blunderbuss.yml | 2 +- java-core/.github/workflows/ci.yaml | 21 +++++++++++++-------- java-core/.kokoro/dependencies.sh | 23 ++++++++++++++++++++++- 4 files changed, 37 insertions(+), 11 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index afb21e42c1bd..5ff6c87c1efd 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:52b5557b7155a80e6f1684c2376d5eef0df6d8d5c785551e1ff8cc000603b62a + digest: sha256:13b7387edb404234610d30473ac48210ae7fe42a136335ee2b2f8a07c4c7f6a5 diff --git a/java-core/.github/blunderbuss.yml b/java-core/.github/blunderbuss.yml index 1a23ea42b141..2176b0543214 100644 --- a/java-core/.github/blunderbuss.yml +++ b/java-core/.github/blunderbuss.yml @@ -1,5 +1,5 @@ # Configuration for the Blunderbuss GitHub app. For more info see -# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss assign_prs_by: - labels: - samples diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 3becb5c022a3..2425d7234f42 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -1,7 +1,7 @@ on: push: branches: - - master + - main pull_request: name: ci jobs: @@ -9,14 +9,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/build.sh @@ -29,8 +30,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.bat @@ -40,14 +42,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh @@ -58,8 +61,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.sh @@ -72,8 +76,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.sh diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index 9030ba8f99ff..9a5105d7ebf4 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -28,7 +28,28 @@ source ${scriptDir}/common.sh java -version echo $JOB_TYPE -export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" +function determineMavenOpts() { + local javaVersion=$( + # filter down to the version line, then pull out the version between quotes, + # then trim the version number down to its minimal number (removing any + # update or suffix number). + java -version 2>&1 | grep "version" \ + | sed -E 's/^.*"(.*?)".*$/\1/g' \ + | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' + ) + + case $javaVersion in + "17") + # MaxPermSize is no longer supported as of jdk 17 + echo -n "-Xmx1024m" + ;; + *) + echo -n "-Xmx1024m -XX:MaxPermSize=128m" + ;; + esac +} + +export MAVEN_OPTS=$(determineMavenOpts) # this should run maven enforcer retry_with_backoff 3 10 \ From 1fb4656f4bacf5fe00120fccf6f01c16c175478e Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 29 Sep 2021 10:32:13 -0400 Subject: [PATCH 1742/3036] chore: change branch master to main in github configurations (#206) --- java-iam/.github/blunderbuss.yml | 2 +- java-iam/.github/workflows/ci.yaml | 2 +- java-iam/README.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-iam/.github/blunderbuss.yml b/java-iam/.github/blunderbuss.yml index 1a23ea42b141..2176b0543214 100644 --- a/java-iam/.github/blunderbuss.yml +++ b/java-iam/.github/blunderbuss.yml @@ -1,5 +1,5 @@ # Configuration for the Blunderbuss GitHub app. For more info see -# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss assign_prs_by: - labels: - samples diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 3becb5c022a3..3932a70d4e14 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -1,7 +1,7 @@ on: push: branches: - - master + - main pull_request: name: ci jobs: diff --git a/java-iam/README.md b/java-iam/README.md index 61049ecbbe6c..61f37598b78e 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -60,9 +60,9 @@ Apache 2.0 - See [LICENSE][license] for more information. [developer-console]: https://console.developers.google.com/ [create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects [cloud-sdk]: https://cloud.google.com/sdk/ -[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/master/troubleshooting/readme.md#troubleshooting -[contributing]: https://github.com/googleapis/java-iam/blob/master/CONTRIBUTING.md -[code-of-conduct]: https://github.com/googleapis/java-iam/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[license]: https://github.com/googleapis/java-iam/blob/master/LICENSE +[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting +[contributing]: https://github.com/googleapis/java-iam/blob/main/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-iam/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[license]: https://github.com/googleapis/java-iam/blob/main/LICENSE [enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing [libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM From 5c6ff5e9b11b3c6de8cec21ce2fb46bdc5f3c9c4 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 29 Sep 2021 10:32:31 -0400 Subject: [PATCH 1743/3036] chore: change branch master to main in github configurations (#580) --- java-core/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/README.md b/java-core/README.md index c1ca94e02cdc..d38313884e0f 100644 --- a/java-core/README.md +++ b/java-core/README.md @@ -44,9 +44,9 @@ Java 8 Windows | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-publi Java 11 | [![Kokoro CI](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.svg)](https://storage.googleapis.com/cloud-devrel-public/java/badges/java-core/java11.html) -[contributing]: https://github.com/googleapis/java-core/blob/master/CONTRIBUTING.md -[code-of-conduct]: https://github.com/googleapis/java-core/blob/master/CODE_OF_CONDUCT.md -[license]: https://github.com/googleapis/java-core/blob/master/LICENSE +[contributing]: https://github.com/googleapis/java-core/blob/main/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-core/blob/main/CODE_OF_CONDUCT.md +[license]: https://github.com/googleapis/java-core/blob/main/LICENSE [semver]: http://semver.org/ [cloud-platform]: https://cloud.google.com/ [api-docs]: https://googleapis.dev/java/google-cloud-core/latest From 1c22272dccec616ae67ba5383d280832cb8dcd98 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 29 Sep 2021 08:23:38 -0700 Subject: [PATCH 1744/3036] build: add jdk 17 to java units and dependency builds (#205) * chore(java): rename master branch to main Source-Author: Neenu Shaji Source-Date: Mon Sep 27 10:04:11 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 67ab4f9f4272ad13f4b809de47fd0dec05f425ad Source-Link: https://github.com/googleapis/synthtool/commit/67ab4f9f4272ad13f4b809de47fd0dec05f425ad * build: add jdk 17 to java units and dependency builds * update dependencies.sh to not pass MaxPermSize when jdk 17 is used. MaxPermSize is an unrecognized flag in jdk 17. Source-Author: BenWhitehead Source-Date: Mon Sep 27 11:34:46 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: a4be3384ccb92364795d981f2863f6986fcee620 Source-Link: https://github.com/googleapis/synthtool/commit/a4be3384ccb92364795d981f2863f6986fcee620 --- java-iam/.github/workflows/ci.yaml | 19 ++++++++++++------- java-iam/.kokoro/dependencies.sh | 23 ++++++++++++++++++++++- java-iam/synth.metadata | 4 ++-- 3 files changed, 36 insertions(+), 10 deletions(-) diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 3932a70d4e14..2425d7234f42 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -9,14 +9,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/build.sh @@ -29,8 +30,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.bat @@ -40,14 +42,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh @@ -58,8 +61,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.sh @@ -72,8 +76,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.sh diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index 9030ba8f99ff..9a5105d7ebf4 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -28,7 +28,28 @@ source ${scriptDir}/common.sh java -version echo $JOB_TYPE -export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" +function determineMavenOpts() { + local javaVersion=$( + # filter down to the version line, then pull out the version between quotes, + # then trim the version number down to its minimal number (removing any + # update or suffix number). + java -version 2>&1 | grep "version" \ + | sed -E 's/^.*"(.*?)".*$/\1/g' \ + | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' + ) + + case $javaVersion in + "17") + # MaxPermSize is no longer supported as of jdk 17 + echo -n "-Xmx1024m" + ;; + *) + echo -n "-Xmx1024m -XX:MaxPermSize=128m" + ;; + esac +} + +export MAVEN_OPTS=$(determineMavenOpts) # this should run maven enforcer retry_with_backoff 3 10 \ diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 61097f5f105a..df2b53adbbb6 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "bf30e86f21729716838e38a6527c16b2b09bc600" + "sha": "8e6faf1160d121b9b7949e8c8a21e7d312cd5fa0" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0752ff727a19a467dffed335d5e59303689cf0d1" + "sha": "a4be3384ccb92364795d981f2863f6986fcee620" } } ], From a72fd395d4eded744fb110dd01bac12906d7c564 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Oct 2021 16:16:13 +0200 Subject: [PATCH 1745/3036] deps: update dependency com.google.guava:guava-bom to v31 (#577) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0e69f72097ab..7ff55ef1540c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -162,7 +162,7 @@ 3.17.3 0.28.0 1.3.2 - 30.1.1-jre + 31.0.1-jre 4.13.2 1.1.3 3.6 From 92c2a599d916d0103ad152c380c1f4c1a8bcfd81 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 Oct 2021 20:54:33 +0200 Subject: [PATCH 1746/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.3 (#574) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7ff55ef1540c..e4a43155d2a8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.5.0 2.0.2 2.5.0 - 1.1.2 + 1.1.3 1.1.0 1.32.1 1.40.0 From 3390141b28f90690956222c0d6661d502f91c706 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 Oct 2021 21:06:12 +0200 Subject: [PATCH 1747/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.2.0 (#581) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.1.0` -> `1.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.2.0/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.2.0/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.2.0`](https://togithub.com/googleapis/google-auth-library-java/blob/master/CHANGELOG.md#​120-httpswwwgithubcomgoogleapisgoogle-auth-library-javacomparev110v120-2021-09-30) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.1.0...v1.2.0) ##### Features - add support for Workforce Pools ([#​729](https://www.togithub.com/googleapis/google-auth-library-java/issues/729)) ([5f3fed7](https://www.github.com/googleapis/google-auth-library-java/commit/5f3fed79e22f3c2d585c5b03c01791b0f8109929)) ##### Bug Fixes - allow empty workforce_pool_user_project ([#​752](https://www.togithub.com/googleapis/google-auth-library-java/issues/752)) ([e1cbce1](https://www.github.com/googleapis/google-auth-library-java/commit/e1cbce1a5cb269c6613bc6d40f06145bd45099c0)) - timing of stale token refreshes on ComputeEngine ([#​749](https://www.togithub.com/googleapis/google-auth-library-java/issues/749)) ([c813d55](https://www.github.com/googleapis/google-auth-library-java/commit/c813d55a78053ecbec1a9640e6c9814da87319eb)) - workforce audience ([#​741](https://www.togithub.com/googleapis/google-auth-library-java/issues/741)) ([a08cacc](https://www.github.com/googleapis/google-auth-library-java/commit/a08cacc7990b9058c8f1af3f9d8d816119562cc4))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e4a43155d2a8..0e4a4381093a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.0.2 2.5.0 1.1.3 - 1.1.0 + 1.2.0 1.32.1 1.40.0 1.41.0 From 3f0471907f89a7c0a38b714a6480af4fb9aa73ed Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Oct 2021 03:24:33 +0200 Subject: [PATCH 1748/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.18.1 (#207) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 358b3ec94405..4b9a532404bb 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.18.0' + compile 'com.google.protobuf:protobuf-java:3.18.1' compile 'com.google.api:api-common:2.0.2' compile project(':proto-google-common-protos') } From 09f632fe3740f54e6df3943198b6938b852a081f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 6 Oct 2021 01:28:19 +0000 Subject: [PATCH 1749/3036] chore: release 1.1.4 (#208) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.4](https://www.github.com/googleapis/java-iam/compare/v1.1.3...v1.1.4) (2021-10-06) ### Dependencies * update dependency com.google.protobuf:protobuf-java to v3.18.1 ([#207](https://www.github.com/googleapis/java-iam/issues/207)) ([3f04719](https://www.github.com/googleapis/java-iam/commit/3f0471907f89a7c0a38b714a6480af4fb9aa73ed)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index f1adadd3ff04..91a93e26e875 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.1.4](https://www.github.com/googleapis/java-iam/compare/v1.1.3...v1.1.4) (2021-10-06) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.18.1 ([#207](https://www.github.com/googleapis/java-iam/issues/207)) ([8dc9164](https://www.github.com/googleapis/java-iam/commit/8dc91645300940d9a20ff174e15c30bf34edda5e)) + ### [1.1.3](https://www.github.com/googleapis/java-iam/compare/v1.1.2...v1.1.3) (2021-09-24) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index c7f9eb7c14ca..247ea06585b9 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.1.4-SNAPSHOT + 1.1.4 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.4-SNAPSHOT + 1.1.4 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1c466994e61b..fb449548db64 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.4-SNAPSHOT + 1.1.4 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.4-SNAPSHOT + 1.1.4 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 8e056717778d..930aee759f22 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.4-SNAPSHOT + 1.1.4 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.4-SNAPSHOT + 1.1.4 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index c062b26c32d5..4cfda018ee64 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.3:1.1.4-SNAPSHOT +proto-google-iam-v1:1.1.4:1.1.4 From 09000793a7855799b5ee2fb588bb09cbbc99dead Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 6 Oct 2021 01:32:13 +0000 Subject: [PATCH 1750/3036] chore: release 1.1.5-SNAPSHOT (#209) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 247ea06585b9..6082edef4e4b 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.1.4 + 1.1.5-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.4 + 1.1.5-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index fb449548db64..b1432199d38c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.4 + 1.1.5-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.4 + 1.1.5-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 930aee759f22..7b828e2eac66 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.4 + 1.1.5-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.4 + 1.1.5-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 4cfda018ee64..80fa92010ea6 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.4:1.1.4 +proto-google-iam-v1:1.1.4:1.1.5-SNAPSHOT From 6ccb52f7386abbc2232178678523befc7e4b7e16 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Oct 2021 03:50:15 +0200 Subject: [PATCH 1751/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.18.1 (#583) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0e4a4381093a..38457c1ab426 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.32.1 1.40.0 1.41.0 - 3.17.3 + 3.18.1 0.28.0 1.3.2 31.0.1-jre From 4b4256f5255a4c05f73cea36ddbf3e41268ca5d4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 7 Oct 2021 00:00:32 +0200 Subject: [PATCH 1752/3036] deps: update dependency com.google.api:api-common to v2.0.4 (#210) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 4b9a532404bb..0634ae9c4a23 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.18.1' - compile 'com.google.api:api-common:2.0.2' + compile 'com.google.api:api-common:2.0.4' compile project(':proto-google-common-protos') } From 6984a407a1b8f3466d0d695465f988d9138c95f6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 7 Oct 2021 00:04:34 +0200 Subject: [PATCH 1753/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.4 (#584) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 38457c1ab426..33c6f4b3a5d6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.5.0 2.0.2 2.5.0 - 1.1.3 + 1.1.4 1.2.0 1.32.1 1.40.0 From 3063023e34e10deef2a65d82a39a36d03296f145 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 7 Oct 2021 00:04:43 +0200 Subject: [PATCH 1754/3036] deps: update dependency com.google.api:api-common to v2.0.4 (#585) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 33c6f4b3a5d6..bb143b0d99a5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.5.0 - 2.0.2 + 2.0.4 2.5.0 1.1.4 1.2.0 From 86e90117278a9703dd602eb51f18b474699728a4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 6 Oct 2021 22:06:10 +0000 Subject: [PATCH 1755/3036] chore: release 1.1.5 (#211) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.5](https://www.github.com/googleapis/java-iam/compare/v1.1.4...v1.1.5) (2021-10-06) ### Dependencies * update dependency com.google.api:api-common to v2.0.4 ([#210](https://www.github.com/googleapis/java-iam/issues/210)) ([4b4256f](https://www.github.com/googleapis/java-iam/commit/4b4256f5255a4c05f73cea36ddbf3e41268ca5d4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 91a93e26e875..4c3df40c4083 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.1.5](https://www.github.com/googleapis/java-iam/compare/v1.1.4...v1.1.5) (2021-10-06) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.4 ([#210](https://www.github.com/googleapis/java-iam/issues/210)) ([8986cea](https://www.github.com/googleapis/java-iam/commit/8986cea79bb26b4a19014f81a557ed39711ac0d1)) + ### [1.1.4](https://www.github.com/googleapis/java-iam/compare/v1.1.3...v1.1.4) (2021-10-06) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 6082edef4e4b..ec098af35f60 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.1.5-SNAPSHOT + 1.1.5 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.5-SNAPSHOT + 1.1.5 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b1432199d38c..74aaa795c3e9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.5-SNAPSHOT + 1.1.5 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.5-SNAPSHOT + 1.1.5 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7b828e2eac66..e33318f249ec 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.5-SNAPSHOT + 1.1.5 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.5-SNAPSHOT + 1.1.5 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 80fa92010ea6..28998e32db65 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.4:1.1.5-SNAPSHOT +proto-google-iam-v1:1.1.5:1.1.5 From c5da6fb0c90213bb013a6e2d16a45d39f15edfac Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 6 Oct 2021 22:10:10 +0000 Subject: [PATCH 1756/3036] chore: release 1.1.6-SNAPSHOT (#212) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index ec098af35f60..e81b9a2df6f5 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.1.5 + 1.1.6-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.5 + 1.1.6-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 74aaa795c3e9..2c7f40a320dd 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.5 + 1.1.6-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.5 + 1.1.6-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e33318f249ec..353dcf04da2a 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.5 + 1.1.6-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.5 + 1.1.6-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 28998e32db65..cb67008af0d5 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.5:1.1.5 +proto-google-iam-v1:1.1.5:1.1.6-SNAPSHOT From 30e3d99f893da41af9ae3ac22356bed2bddc1fa8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 7 Oct 2021 16:18:38 +0200 Subject: [PATCH 1757/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.5 (#587) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index bb143b0d99a5..235a6255e4b4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.5.0 2.0.4 2.5.0 - 1.1.4 + 1.1.5 1.2.0 1.32.1 1.40.0 From f1968f87ce2d1a4ba690c1688fc0868719b4e10c Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Thu, 7 Oct 2021 10:40:39 -0700 Subject: [PATCH 1758/3036] chore: update repo-metadata.json client_documentation link (#213) * chore: updating doc link * chore: fix missing comma --- java-iam/.repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index 3acc133ae7b1..378cb16d3808 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -3,7 +3,7 @@ "name_pretty": "IAM", "product_documentation": "n/a", "api_description": "n/a", - "client_documentation": "https://googleapis.dev/java/proto-google-iam-v1/latest/index.html", + "client_documentation": "https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history", "release_level": "ga", "transport": "grpc", "requires_billing": true, From f12700fac00b1334963719b3b48c61274837b7ba Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Thu, 7 Oct 2021 10:50:43 -0700 Subject: [PATCH 1759/3036] chore: update repo-metadata.json client_documentation link (#586) From a9402ff2d38eb220988550c04f2c27975ca9c6b9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 8 Oct 2021 02:57:56 +0200 Subject: [PATCH 1760/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.40.1 (#588) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 235a6255e4b4..da4c5452a51f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.1.5 1.2.0 1.32.1 - 1.40.0 + 1.40.1 1.41.0 3.18.1 0.28.0 From 354ff97f777f7b151744fc542bb43cb9caa3ba4a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 9 Oct 2021 00:27:04 +0200 Subject: [PATCH 1761/3036] deps: update dependency com.google.api:api-common to v2.0.5 (#589) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index da4c5452a51f..345f34e12658 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.5.0 - 2.0.4 + 2.0.5 2.5.0 1.1.5 1.2.0 From 0002bbbb633517513b509a5b5d0254c18ce77a65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 9 Oct 2021 00:27:14 +0200 Subject: [PATCH 1762/3036] deps: update dependency com.google.api:api-common to v2.0.5 (#214) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 0634ae9c4a23..3d203755b58b 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.18.1' - compile 'com.google.api:api-common:2.0.4' + compile 'com.google.api:api-common:2.0.5' compile project(':proto-google-common-protos') } From a94c00aba20a7361ebf7701d68a3024123203e30 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 8 Oct 2021 22:32:14 +0000 Subject: [PATCH 1763/3036] chore: release 1.1.6 (#215) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.6](https://www.github.com/googleapis/java-iam/compare/v1.1.5...v1.1.6) (2021-10-08) ### Dependencies * update dependency com.google.api:api-common to v2.0.5 ([#214](https://www.github.com/googleapis/java-iam/issues/214)) ([0002bbb](https://www.github.com/googleapis/java-iam/commit/0002bbbb633517513b509a5b5d0254c18ce77a65)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 4c3df40c4083..f6d2d6abf444 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.1.6](https://www.github.com/googleapis/java-iam/compare/v1.1.5...v1.1.6) (2021-10-08) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.0.5 ([#214](https://www.github.com/googleapis/java-iam/issues/214)) ([f8b8caf](https://www.github.com/googleapis/java-iam/commit/f8b8cafd4e8c7617cac3a2ef4aaa855e4a1dbd8a)) + ### [1.1.5](https://www.github.com/googleapis/java-iam/compare/v1.1.4...v1.1.5) (2021-10-06) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e81b9a2df6f5..1900f3008d20 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.1.6-SNAPSHOT + 1.1.6 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.6-SNAPSHOT + 1.1.6 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2c7f40a320dd..63de7fdc8300 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.6-SNAPSHOT + 1.1.6 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.6-SNAPSHOT + 1.1.6 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 353dcf04da2a..41b4b0e90035 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.6-SNAPSHOT + 1.1.6 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.6-SNAPSHOT + 1.1.6 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index cb67008af0d5..45c7e8569fdd 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.5:1.1.6-SNAPSHOT +proto-google-iam-v1:1.1.6:1.1.6 From 11ae9b91c5d48c53d6625d047307a941fd3eb7a4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 8 Oct 2021 22:38:15 +0000 Subject: [PATCH 1764/3036] chore: release 1.1.7-SNAPSHOT (#216) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 1900f3008d20..13d33b036203 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.1.6 + 1.1.7-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.6 + 1.1.7-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 63de7fdc8300..2b37159b1c9a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.6 + 1.1.7-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.6 + 1.1.7-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 41b4b0e90035..42a7b3973bb1 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.6 + 1.1.7-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.6 + 1.1.7-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 45c7e8569fdd..e7e99df0a363 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.6:1.1.6 +proto-google-iam-v1:1.1.6:1.1.7-SNAPSHOT From a4ddcb42310471a6c4495770e3bc8fdbc75fbb0c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 9 Oct 2021 03:02:32 +0200 Subject: [PATCH 1765/3036] deps: update iam.version to v1.1.6 (#485) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ff56ad3d1fbc..2c52b14ad2cb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.40.0 1.32.1 1.32.1 - 1.1.2 + 1.1.6
    From e7446c8475ee339abcf3f77bb993689501235014 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 9 Oct 2021 03:04:24 +0200 Subject: [PATCH 1766/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.6 (#590) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 345f34e12658..2dcda9f0e5c8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.5.0 2.0.5 2.5.0 - 1.1.5 + 1.1.6 1.2.0 1.32.1 1.40.1 From 7c4a6580faed1201d7e136d40f71a8805235e8ba Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Oct 2021 00:35:32 +0200 Subject: [PATCH 1767/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.2.1 (#591) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2dcda9f0e5c8..46ced223593a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.0.5 2.5.0 1.1.6 - 1.2.0 + 1.2.1 1.32.1 1.40.1 1.41.0 From f20a4307f939522d576416f4313cae573c9e66aa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Oct 2021 17:32:34 +0200 Subject: [PATCH 1768/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.1.0 (#497) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2c52b14ad2cb..5dd1746c0c69 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4ef628cc4726..d2fb0872488e 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index d56c804dac9d..de67208bf050 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 8c33a979c337..caeb1531c600 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.0.2 + 1.1.0
    From a30394024748229e19150311a9a8e05220d50e36 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Oct 2021 17:34:19 +0200 Subject: [PATCH 1769/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.1.0 (#592) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.0.3` -> `1.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/compatibility-slim/1.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/confidence-slim/1.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.1.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​110-httpswwwgithubcomgoogleapisjava-shared-configcomparev103v110-2021-10-12) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.0.3...v1.1.0) ##### Features - introduce Maven configuration for GraalVM testing ([#​314](https://www.togithub.com/googleapis/java-shared-config/issues/314)) ([28fbeb8](https://www.github.com/googleapis/java-shared-config/commit/28fbeb86c4466a58a05d6933584564dbf3352e79)) ##### Bug Fixes - update doclet version ([#​332](https://www.togithub.com/googleapis/java-shared-config/issues/332)) ([3fd0350](https://www.github.com/googleapis/java-shared-config/commit/3fd035030e4f0954dd1f62f7b8ea62583685880c)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v9.0.1 ([#​327](https://www.togithub.com/googleapis/java-shared-config/issues/327)) ([b6c9b65](https://www.github.com/googleapis/java-shared-config/commit/b6c9b657550db2dee6b36edbb9a6084baee125e2)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.6 ([#​330](https://www.togithub.com/googleapis/java-shared-config/issues/330)) ([271ed7d](https://www.github.com/googleapis/java-shared-config/commit/271ed7dba35623e22fc8a7f7d477e6043e772014)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.6 ([#​331](https://www.togithub.com/googleapis/java-shared-config/issues/331)) ([4f9ba15](https://www.github.com/googleapis/java-shared-config/commit/4f9ba1551df0a2d4fc8c9acca8a951afbe8cb78a)) - update dependency org.junit.vintage:junit-vintage-engine to v5.8.1 ([#​329](https://www.togithub.com/googleapis/java-shared-config/issues/329)) ([4a8789e](https://www.github.com/googleapis/java-shared-config/commit/4a8789ee814ba8a3480beecc76c16fd1cb4e5f12)) ##### [1.0.3](https://www.github.com/googleapis/java-shared-config/compare/v1.0.2...v1.0.3) (2021-09-21) ##### Bug Fixes - update java-docfx-doclet version ([#​315](https://www.togithub.com/googleapis/java-shared-config/issues/315)) ([07af07c](https://www.github.com/googleapis/java-shared-config/commit/07af07c188447ea5728ecd2700121ff477d1c58a)) ##### [1.0.2](https://www.github.com/googleapis/java-shared-config/compare/v1.0.1...v1.0.2) (2021-09-13) ##### Bug Fixes - specify animal-sniffer-maven-plugin version ([#​308](https://www.togithub.com/googleapis/java-shared-config/issues/308)) ([378bf43](https://www.github.com/googleapis/java-shared-config/commit/378bf431383306c1cdd0a4f922956c87edf321b5)) - update java docfx doclet version ([#​312](https://www.togithub.com/googleapis/java-shared-config/issues/312)) ([dd7f6e0](https://www.github.com/googleapis/java-shared-config/commit/dd7f6e0c1a7cc73831b74b4475457611a8c097d3)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v9 ([#​303](https://www.togithub.com/googleapis/java-shared-config/issues/303)) ([71faea3](https://www.github.com/googleapis/java-shared-config/commit/71faea38d4132407598550e2bb4c77f9d4a4d83d)) ##### [1.0.1](https://www.github.com/googleapis/java-shared-config/compare/v1.0.0...v1.0.1) (2021-08-18) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v8.45.1 ([#​292](https://www.togithub.com/googleapis/java-shared-config/issues/292)) ([66bf6e6](https://www.github.com/googleapis/java-shared-config/commit/66bf6e6fb95997b9eb4b34268b8d20c2fbe9ed5a))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1d374dea71f6..1b5eaa192b53 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 46ced223593a..9e24d07e4273 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 From 33f00914de0c9c1eb2d9216e12360c0979bc1d99 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Oct 2021 17:34:19 +0200 Subject: [PATCH 1770/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.1.0 (#217) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.0.3` -> `1.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/compatibility-slim/1.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.1.0/confidence-slim/1.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.1.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​110-httpswwwgithubcomgoogleapisjava-shared-configcomparev103v110-2021-10-12) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.0.3...v1.1.0) ##### Features - introduce Maven configuration for GraalVM testing ([#​314](https://www.togithub.com/googleapis/java-shared-config/issues/314)) ([28fbeb8](https://www.github.com/googleapis/java-shared-config/commit/28fbeb86c4466a58a05d6933584564dbf3352e79)) ##### Bug Fixes - update doclet version ([#​332](https://www.togithub.com/googleapis/java-shared-config/issues/332)) ([3fd0350](https://www.github.com/googleapis/java-shared-config/commit/3fd035030e4f0954dd1f62f7b8ea62583685880c)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v9.0.1 ([#​327](https://www.togithub.com/googleapis/java-shared-config/issues/327)) ([b6c9b65](https://www.github.com/googleapis/java-shared-config/commit/b6c9b657550db2dee6b36edbb9a6084baee125e2)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.6 ([#​330](https://www.togithub.com/googleapis/java-shared-config/issues/330)) ([271ed7d](https://www.github.com/googleapis/java-shared-config/commit/271ed7dba35623e22fc8a7f7d477e6043e772014)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.6 ([#​331](https://www.togithub.com/googleapis/java-shared-config/issues/331)) ([4f9ba15](https://www.github.com/googleapis/java-shared-config/commit/4f9ba1551df0a2d4fc8c9acca8a951afbe8cb78a)) - update dependency org.junit.vintage:junit-vintage-engine to v5.8.1 ([#​329](https://www.togithub.com/googleapis/java-shared-config/issues/329)) ([4a8789e](https://www.github.com/googleapis/java-shared-config/commit/4a8789ee814ba8a3480beecc76c16fd1cb4e5f12)) ##### [1.0.3](https://www.github.com/googleapis/java-shared-config/compare/v1.0.2...v1.0.3) (2021-09-21) ##### Bug Fixes - update java-docfx-doclet version ([#​315](https://www.togithub.com/googleapis/java-shared-config/issues/315)) ([07af07c](https://www.github.com/googleapis/java-shared-config/commit/07af07c188447ea5728ecd2700121ff477d1c58a)) ##### [1.0.2](https://www.github.com/googleapis/java-shared-config/compare/v1.0.1...v1.0.2) (2021-09-13) ##### Bug Fixes - specify animal-sniffer-maven-plugin version ([#​308](https://www.togithub.com/googleapis/java-shared-config/issues/308)) ([378bf43](https://www.github.com/googleapis/java-shared-config/commit/378bf431383306c1cdd0a4f922956c87edf321b5)) - update java docfx doclet version ([#​312](https://www.togithub.com/googleapis/java-shared-config/issues/312)) ([dd7f6e0](https://www.github.com/googleapis/java-shared-config/commit/dd7f6e0c1a7cc73831b74b4475457611a8c097d3)) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v9 ([#​303](https://www.togithub.com/googleapis/java-shared-config/issues/303)) ([71faea3](https://www.github.com/googleapis/java-shared-config/commit/71faea38d4132407598550e2bb4c77f9d4a4d83d)) ##### [1.0.1](https://www.github.com/googleapis/java-shared-config/compare/v1.0.0...v1.0.1) (2021-08-18) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v8.45.1 ([#​292](https://www.togithub.com/googleapis/java-shared-config/issues/292)) ([66bf6e6](https://www.github.com/googleapis/java-shared-config/commit/66bf6e6fb95997b9eb4b34268b8d20c2fbe9ed5a))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2b37159b1c9a..3ebe65731bf8 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 From 97d128722c1e28454d7b5c5d87a99bb293d59c3d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 15 Oct 2021 12:03:36 -0700 Subject: [PATCH 1771/3036] build: add jdk 17 to java units and dependency builds (#487) * chore(java): rename master branch to main Source-Author: Neenu Shaji Source-Date: Mon Sep 27 10:04:11 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 67ab4f9f4272ad13f4b809de47fd0dec05f425ad Source-Link: https://github.com/googleapis/synthtool/commit/67ab4f9f4272ad13f4b809de47fd0dec05f425ad * build: add jdk 17 to java units and dependency builds * update dependencies.sh to not pass MaxPermSize when jdk 17 is used. MaxPermSize is an unrecognized flag in jdk 17. Source-Author: BenWhitehead Source-Date: Mon Sep 27 11:34:46 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: a4be3384ccb92364795d981f2863f6986fcee620 Source-Link: https://github.com/googleapis/synthtool/commit/a4be3384ccb92364795d981f2863f6986fcee620 --- .../.github/blunderbuss.yml | 2 +- .../.github/workflows/ci.yaml | 21 ++++++++++------- .../.kokoro/dependencies.sh | 23 ++++++++++++++++++- java-shared-dependencies/synth.metadata | 4 ++-- 4 files changed, 38 insertions(+), 12 deletions(-) diff --git a/java-shared-dependencies/.github/blunderbuss.yml b/java-shared-dependencies/.github/blunderbuss.yml index 1a23ea42b141..2176b0543214 100644 --- a/java-shared-dependencies/.github/blunderbuss.yml +++ b/java-shared-dependencies/.github/blunderbuss.yml @@ -1,5 +1,5 @@ # Configuration for the Blunderbuss GitHub app. For more info see -# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss +# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss assign_prs_by: - labels: - samples diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 3becb5c022a3..2425d7234f42 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -1,7 +1,7 @@ on: push: branches: - - master + - main pull_request: name: ci jobs: @@ -9,14 +9,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/build.sh @@ -29,8 +30,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.bat @@ -40,14 +42,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11] + java: [8, 11, 17] steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh @@ -58,8 +61,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.sh @@ -72,8 +76,9 @@ jobs: - uses: stCarolas/setup-maven@v4 with: maven-version: 3.8.1 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v2 with: + distribution: zulu java-version: 8 - run: java -version - run: .kokoro/build.sh diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index 9030ba8f99ff..9a5105d7ebf4 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -28,7 +28,28 @@ source ${scriptDir}/common.sh java -version echo $JOB_TYPE -export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" +function determineMavenOpts() { + local javaVersion=$( + # filter down to the version line, then pull out the version between quotes, + # then trim the version number down to its minimal number (removing any + # update or suffix number). + java -version 2>&1 | grep "version" \ + | sed -E 's/^.*"(.*?)".*$/\1/g' \ + | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' + ) + + case $javaVersion in + "17") + # MaxPermSize is no longer supported as of jdk 17 + echo -n "-Xmx1024m" + ;; + *) + echo -n "-Xmx1024m -XX:MaxPermSize=128m" + ;; + esac +} + +export MAVEN_OPTS=$(determineMavenOpts) # this should run maven enforcer retry_with_backoff 3 10 \ diff --git a/java-shared-dependencies/synth.metadata b/java-shared-dependencies/synth.metadata index db8663ac7a20..57d8d055d1fb 100644 --- a/java-shared-dependencies/synth.metadata +++ b/java-shared-dependencies/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-shared-dependencies.git", - "sha": "6f53fb409d42e9de665675ac71902c8db08abc32" + "sha": "8a7d227f2a1dab9ff23d247a4e6131c817804c36" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "396d9b84a1e93880f5bf88b59ecd38a0a6dffc5e" + "sha": "a4be3384ccb92364795d981f2863f6986fcee620" } } ], From 5471efda5271fc21df2ace74d4aa59dfff610a53 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Oct 2021 21:07:54 +0200 Subject: [PATCH 1772/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.32.2 (#593) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9e24d07e4273..17704d538f00 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.5.0 1.1.6 1.2.1 - 1.32.1 + 1.32.2 1.40.1 1.41.0 3.18.1 From cfd5d51c5e82690a2eac536fbd75e3c789c52e36 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Oct 2021 21:10:12 +0200 Subject: [PATCH 1773/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.6.0 (#578) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.5.0` -> `2.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.6.0/compatibility-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.6.0/confidence-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.6.0`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​260-httpswwwgithubcomgoogleapisjava-common-protoscomparev251v260-2021-10-14) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.5.1...v2.6.0) ##### Features - add API classes for routing information ([#​241](https://www.togithub.com/googleapis/java-common-protos/issues/241)) ([d1136e1](https://www.github.com/googleapis/java-common-protos/commit/d1136e139cd74bef717a73b3a8fc3b82055ab18e)) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#​237](https://www.togithub.com/googleapis/java-common-protos/issues/237)) ([e6da4bb](https://www.github.com/googleapis/java-common-protos/commit/e6da4bb3ba18fa39eae1fbe04c65b866097e5801)) - update dependency com.google.protobuf:protobuf-java to v3.18.1 ([#​238](https://www.togithub.com/googleapis/java-common-protos/issues/238)) ([92ec21a](https://www.github.com/googleapis/java-common-protos/commit/92ec21ae83951a6b05da343c5f4bf3e8b9942b6d)) - update dependency io.grpc:grpc-bom to v1.41.0 and com.google.guava:guava to v31 ([#​244](https://www.togithub.com/googleapis/java-common-protos/issues/244)) ([f0c638a](https://www.github.com/googleapis/java-common-protos/commit/f0c638a178e8ee02883f6570110f614f154f4814)) ##### [2.5.1](https://www.github.com/googleapis/java-common-protos/compare/v2.5.0...v2.5.1) (2021-09-24) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#​224](https://www.togithub.com/googleapis/java-common-protos/issues/224)) ([7b41003](https://www.github.com/googleapis/java-common-protos/commit/7b4100372c2f614c929f27f1659d9d1b6bd7d716)) - update dependency com.google.protobuf:protobuf-java to v3.18.0 ([#​225](https://www.togithub.com/googleapis/java-common-protos/issues/225)) ([9205c62](https://www.github.com/googleapis/java-common-protos/commit/9205c625308f82c4a2bf512b20b81bb5484a5ae9)) - update dependency io.grpc:grpc-protobuf to v1.41.0 ([#​228](https://www.togithub.com/googleapis/java-common-protos/issues/228)) ([484e5c1](https://www.github.com/googleapis/java-common-protos/commit/484e5c111a7030693fb6462ac3e4b8928ddca3f3)) - update dependency io.grpc:grpc-stub to v1.41.0 ([#​229](https://www.togithub.com/googleapis/java-common-protos/issues/229)) ([82de6a1](https://www.github.com/googleapis/java-common-protos/commit/82de6a18804e4c88b6f10422b2781a869aa61078)) ### [`v2.5.1`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​251-httpswwwgithubcomgoogleapisjava-common-protoscomparev250v251-2021-09-24) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.5.0...v2.5.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 17704d538f00..415aa0e84871 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.5.0 2.0.5 - 2.5.0 + 2.6.0 1.1.6 1.2.1 1.32.2 From 6285c4e5f54ed37682aeada9df9988afe87dfed4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Oct 2021 21:46:02 +0200 Subject: [PATCH 1774/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.18.1 (#494) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5dd1746c0c69..959e6414ffa1 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.5.0 1.1.0 30.1.1-jre - 3.17.3 + 3.18.1 2.0.2 2.5.0 2.1.6 From 123ebcc927585ff42e4b6cdbde26deb527b45621 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Oct 2021 21:50:12 +0200 Subject: [PATCH 1775/3036] deps: update dependency com.google.api:gax-bom to v2.6.0 (#594) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.5.0` -> `2.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.0/compatibility-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.0/confidence-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.6.0`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​260-httpswwwgithubcomgoogleapisgax-javacomparev253v260-2021-10-15) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.5.0...v2.6.0) ##### Features - remove deprecated Generated annotation ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) ##### Bug Fixes - Fix com.google.rpc.Code to StatusCode.Code conversion logic ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) ##### Dependencies - update api-common to 2.0.5 ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) - update auto-value to 1.8.2 ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) - update com_google_protobuf to 3.18.1 ([#​1519](https://www.togithub.com/googleapis/gax-java/issues/1519)) ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) - update google-http-client to 1.40.1 ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) - update grpc to 1.41.0 ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) - update guava to v31 ([2d76bff](https://www.github.com/googleapis/gax-java/commit/2d76bff6d64da818a3aff7ea0bdf5a36b82c3464)) ##### [2.5.3](https://www.github.com/googleapis/gax-java/compare/v2.5.2...v2.5.3) (2021-10-13) ##### Bug Fixes - Fix `com.google.rpc.Code` to `StatusCode.Code` conversion logic ([#​1508](https://www.togithub.com/googleapis/gax-java/issues/1508)) ([61b1617](https://www.github.com/googleapis/gax-java/commit/61b161799faf292be1394111381f8a35e757b85a)) ##### [2.5.2](https://www.github.com/googleapis/gax-java/compare/v2.5.1...v2.5.2) (2021-10-13) ##### Dependencies - release multiple artifacts at once ([#​1506](https://www.togithub.com/googleapis/gax-java/issues/1506)) ([8c022f6](https://www.github.com/googleapis/gax-java/commit/8c022f69f7878280e00f200f65a931ff0f8cfe45)) ##### [2.5.1](https://www.github.com/googleapis/gax-java/compare/v2.5.0...v2.5.1) (2021-10-08) ##### Dependencies - fix release pipeline ([#​1500](https://www.togithub.com/googleapis/gax-java/issues/1500)) ([f8ae03b](https://www.github.com/googleapis/gax-java/commit/f8ae03bbf0389d5fd943d214c1058ee012be757b))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 415aa0e84871..898772007c35 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.5.0 + 2.6.0 2.0.5 2.6.0 1.1.6 From a311e92e560f00abe66eb2376cb9860109ac8989 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Oct 2021 20:12:14 +0000 Subject: [PATCH 1776/3036] chore: release 2.1.8 (#582) :robot: I have created a release \*beep\* \*boop\* --- ### [2.1.8](https://www.github.com/googleapis/java-core/compare/v2.1.7...v2.1.8) (2021-10-15) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([#593](https://www.github.com/googleapis/java-core/issues/593)) ([5471efd](https://www.github.com/googleapis/java-core/commit/5471efda5271fc21df2ace74d4aa59dfff610a53)) * update dependency com.google.api:api-common to v2.0.4 ([#585](https://www.github.com/googleapis/java-core/issues/585)) ([3063023](https://www.github.com/googleapis/java-core/commit/3063023e34e10deef2a65d82a39a36d03296f145)) * update dependency com.google.api:api-common to v2.0.5 ([#589](https://www.github.com/googleapis/java-core/issues/589)) ([354ff97](https://www.github.com/googleapis/java-core/commit/354ff97f777f7b151744fc542bb43cb9caa3ba4a)) * update dependency com.google.api:gax-bom to v2.6.0 ([#594](https://www.github.com/googleapis/java-core/issues/594)) ([123ebcc](https://www.github.com/googleapis/java-core/commit/123ebcc927585ff42e4b6cdbde26deb527b45621)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.6.0 ([#578](https://www.github.com/googleapis/java-core/issues/578)) ([cfd5d51](https://www.github.com/googleapis/java-core/commit/cfd5d51c5e82690a2eac536fbd75e3c789c52e36)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.3 ([#574](https://www.github.com/googleapis/java-core/issues/574)) ([92c2a59](https://www.github.com/googleapis/java-core/commit/92c2a599d916d0103ad152c380c1f4c1a8bcfd81)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.4 ([#584](https://www.github.com/googleapis/java-core/issues/584)) ([6984a40](https://www.github.com/googleapis/java-core/commit/6984a407a1b8f3466d0d695465f988d9138c95f6)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.5 ([#587](https://www.github.com/googleapis/java-core/issues/587)) ([30e3d99](https://www.github.com/googleapis/java-core/commit/30e3d99f893da41af9ae3ac22356bed2bddc1fa8)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.6 ([#590](https://www.github.com/googleapis/java-core/issues/590)) ([e7446c8](https://www.github.com/googleapis/java-core/commit/e7446c8475ee339abcf3f77bb993689501235014)) * update dependency com.google.auth:google-auth-library-bom to v1.2.0 ([#581](https://www.github.com/googleapis/java-core/issues/581)) ([3390141](https://www.github.com/googleapis/java-core/commit/3390141b28f90690956222c0d6661d502f91c706)) * update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([#591](https://www.github.com/googleapis/java-core/issues/591)) ([7c4a658](https://www.github.com/googleapis/java-core/commit/7c4a6580faed1201d7e136d40f71a8805235e8ba)) * update dependency com.google.guava:guava-bom to v31 ([#577](https://www.github.com/googleapis/java-core/issues/577)) ([a72fd39](https://www.github.com/googleapis/java-core/commit/a72fd395d4eded744fb110dd01bac12906d7c564)) * update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([#588](https://www.github.com/googleapis/java-core/issues/588)) ([a9402ff](https://www.github.com/googleapis/java-core/commit/a9402ff2d38eb220988550c04f2c27975ca9c6b9)) * update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#583](https://www.github.com/googleapis/java-core/issues/583)) ([6ccb52f](https://www.github.com/googleapis/java-core/commit/6ccb52f7386abbc2232178678523befc7e4b7e16)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 20 ++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 32 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 9b654a70dcf4..429a1d14ebf8 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +### [2.1.8](https://www.github.com/googleapis/java-core/compare/v2.1.7...v2.1.8) (2021-10-15) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([#593](https://www.github.com/googleapis/java-core/issues/593)) ([644fc6f](https://www.github.com/googleapis/java-core/commit/644fc6f728b0791c61d85f34c535c09dff862c1d)) +* update dependency com.google.api:api-common to v2.0.4 ([#585](https://www.github.com/googleapis/java-core/issues/585)) ([ad4e4b7](https://www.github.com/googleapis/java-core/commit/ad4e4b7e076d8bd52bf621615301ec810917db43)) +* update dependency com.google.api:api-common to v2.0.5 ([#589](https://www.github.com/googleapis/java-core/issues/589)) ([c30cc40](https://www.github.com/googleapis/java-core/commit/c30cc40cd8687f79c7154503ee1f602089d62f2d)) +* update dependency com.google.api:gax-bom to v2.6.0 ([#594](https://www.github.com/googleapis/java-core/issues/594)) ([710cbe6](https://www.github.com/googleapis/java-core/commit/710cbe6e5121f118a5f4be327e8eeeceddfa04fb)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.6.0 ([#578](https://www.github.com/googleapis/java-core/issues/578)) ([113b686](https://www.github.com/googleapis/java-core/commit/113b6868f98caa64d713f02729c3f16d878252ff)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.3 ([#574](https://www.github.com/googleapis/java-core/issues/574)) ([338444b](https://www.github.com/googleapis/java-core/commit/338444bd4d169bb7fd41242e790c74596948178b)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.4 ([#584](https://www.github.com/googleapis/java-core/issues/584)) ([57211ce](https://www.github.com/googleapis/java-core/commit/57211ce15e9b1a4c1b7468fed217e4ab46ec0a5d)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.5 ([#587](https://www.github.com/googleapis/java-core/issues/587)) ([55f9f4e](https://www.github.com/googleapis/java-core/commit/55f9f4e084defaf8a243bf21afd67302be802b25)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.6 ([#590](https://www.github.com/googleapis/java-core/issues/590)) ([f534c46](https://www.github.com/googleapis/java-core/commit/f534c462fadb479c6fd934c24ac8cd24e06e2698)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.0 ([#581](https://www.github.com/googleapis/java-core/issues/581)) ([c32d2c5](https://www.github.com/googleapis/java-core/commit/c32d2c552dfa04b8e5eab27a115ac10832898473)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([#591](https://www.github.com/googleapis/java-core/issues/591)) ([046f95d](https://www.github.com/googleapis/java-core/commit/046f95d8ed0811dd278c40fcfeb2c042e6535996)) +* update dependency com.google.guava:guava-bom to v31 ([#577](https://www.github.com/googleapis/java-core/issues/577)) ([4a987fb](https://www.github.com/googleapis/java-core/commit/4a987fbd3f1bd69b0b923fc9a691fc60908ad1cc)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([#588](https://www.github.com/googleapis/java-core/issues/588)) ([3d36d77](https://www.github.com/googleapis/java-core/commit/3d36d77e6db9856c276d6263036764c60f32b7b3)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#583](https://www.github.com/googleapis/java-core/issues/583)) ([47da21c](https://www.github.com/googleapis/java-core/commit/47da21c793be9477323a234f7e3beaf6b705cd7d)) + ### [2.1.7](https://www.github.com/googleapis/java-core/compare/v2.1.6...v2.1.7) (2021-09-23) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1b5eaa192b53..3de108d80003 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.8-SNAPSHOT + 2.1.8 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.8-SNAPSHOT + 2.1.8 com.google.cloud google-cloud-core-grpc - 2.1.8-SNAPSHOT + 2.1.8 com.google.cloud google-cloud-core-http - 2.1.8-SNAPSHOT + 2.1.8 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c50cb1197bc2..44d58c323ca7 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.1.8-SNAPSHOT + 2.1.8 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.8-SNAPSHOT + 2.1.8 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 5477def2c122..433586c12c70 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.1.8-SNAPSHOT + 2.1.8 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.8-SNAPSHOT + 2.1.8 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 33ae96230454..5db43ea6696f 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.1.8-SNAPSHOT + 2.1.8 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.8-SNAPSHOT + 2.1.8 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 898772007c35..a4e9fb67fd26 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.8-SNAPSHOT + 2.1.8 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 20b5198cb3fe..3aef5a2c3abd 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.7:2.1.8-SNAPSHOT \ No newline at end of file +google-cloud-core:2.1.8:2.1.8 \ No newline at end of file From 1279ecb637746e2a81024824754c554842783d74 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Oct 2021 20:18:27 +0000 Subject: [PATCH 1777/3036] chore: release 2.1.9-SNAPSHOT (#595) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3de108d80003..c780a76d3e7f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.8 + 2.1.9-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.8 + 2.1.9-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.1.8 + 2.1.9-SNAPSHOT com.google.cloud google-cloud-core-http - 2.1.8 + 2.1.9-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 44d58c323ca7..f40328a4b965 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.1.8 + 2.1.9-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.8 + 2.1.9-SNAPSHOT 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 433586c12c70..71ca55349bab 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.1.8 + 2.1.9-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.8 + 2.1.9-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5db43ea6696f..579e5343c731 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.1.8 + 2.1.9-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.8 + 2.1.9-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index a4e9fb67fd26..8e53ad32d534 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.8 + 2.1.9-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 3aef5a2c3abd..639f7c3d48de 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.8:2.1.8 \ No newline at end of file +google-cloud-core:2.1.8:2.1.9-SNAPSHOT \ No newline at end of file From 693978a515ddb425e137d6b7ec20a854668d353f Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 18 Oct 2021 10:56:52 -0400 Subject: [PATCH 1778/3036] feat: next release from main branch is 2.2.0 (#596) --- java-core/.github/release-please.yml | 13 ++- java-core/.github/sync-repo-settings.yaml | 119 ++++++++++------------ 2 files changed, 60 insertions(+), 72 deletions(-) diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml index 3dc935651746..a43dbc35f814 100644 --- a/java-core/.github/release-please.yml +++ b/java-core/.github/release-please.yml @@ -2,8 +2,11 @@ bumpMinorPreMajor: true handleGHRelease: true releaseType: java-yoshi branches: -- bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-yoshi - branch: java7 - + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-yoshi + branch: java7 + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-backport + branch: 2.1.x diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index 5ec649c87719..b97f6f3392d4 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -1,72 +1,57 @@ - -# Whether or not rebase-merging is enabled on this repository. -# Defaults to `true` rebaseMergeAllowed: false - -# Whether or not squash-merging is enabled on this repository. -# Defaults to `true` squashMergeAllowed: true - -# Whether or not PRs are merged with a merge commit on this repository. -# Defaults to `false` mergeCommitAllowed: false - -# Rules for main branch protection branchProtectionRules: -# Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `main` -- pattern: main - # Can admins overwrite branch protection. - # Defaults to `true` - isAdminEnforced: true - # Number of approving reviews required to update matching branches. - # Defaults to `1` - requiredApprovingReviewCount: 1 - # Are reviews from code owners required to update matching branches. - # Defaults to `false` - requiresCodeOwnerReviews: true - # Require up to date branches - requiresStrictStatusChecks: false - # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "lint" - - "clirr" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "cla/google" - - "OwlBot Post Processor" -- pattern: java7 - # Can admins overwrite branch protection. - # Defaults to `true` - isAdminEnforced: true - # Number of approving reviews required to update matching branches. - # Defaults to `1` - requiredApprovingReviewCount: 1 - # Are reviews from code owners required to update matching branches. - # Defaults to `false` - requiresCodeOwnerReviews: true - # Require up to date branches - requiresStrictStatusChecks: false - # List of required status check contexts that must pass for commits to be accepted to matching branches. - requiredStatusCheckContexts: - - "dependencies (8)" - - "dependencies (11)" - - "lint" - - "clirr" - - "units (7)" - - "units (8)" - - "units (11)" - - "Kokoro - Test: Integration" - - "cla/google" - - "OwlBot Post Processor" -# List of explicit permissions to add (additive only) + - pattern: main + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor + - pattern: java7 + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (7) + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor + - pattern: 2.1.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: -- team: yoshi-admins - permission: admin -- team: yoshi-java-admins - permission: admin -- team: yoshi-java - permission: push + - team: yoshi-admins + permission: admin + - team: yoshi-java-admins + permission: admin + - team: yoshi-java + permission: push From bb9aa338f3c6dc6abda351591cd6867006c0c9b3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 18 Oct 2021 16:52:41 +0000 Subject: [PATCH 1779/3036] build(java): Introduce Native Image testing build script changes (#599) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/build.sh | 5 +++ .../.kokoro/presubmit/graalvm-native.cfg | 33 +++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 java-core/.kokoro/presubmit/graalvm-native.cfg diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 5ff6c87c1efd..dc53bbb57be5 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:13b7387edb404234610d30473ac48210ae7fe42a136335ee2b2f8a07c4c7f6a5 + digest: sha256:d4b2141d65566523dfd523f63c6e6899ab1281463bce182a9f600e74b0511875 diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 08abe505209f..c09fee43e648 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -69,6 +69,11 @@ integration) verify RETURN_CODE=$? ;; +graalvm) + # Run Unit and Integration Tests with Native Image + mvn test -Pnative -Penable-integration-tests + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/java-core/.kokoro/presubmit/graalvm-native.cfg b/java-core/.kokoro/presubmit/graalvm-native.cfg new file mode 100644 index 000000000000..4c7225ec924e --- /dev/null +++ b/java-core/.kokoro/presubmit/graalvm-native.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} From f7d0f9c708acdd19eb3b2427a76495b7d2b6f1b2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Oct 2021 19:28:35 +0200 Subject: [PATCH 1780/3036] deps: update dependency com.google.api:gax-bom to v2.6.1 (#600) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.6.0` -> `2.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.1/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.6.1/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.6.1`](https://togithub.com/googleapis/gax-java/releases/v2.6.1) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.6.0...v2.6.1) ##### Bug Fixes - declare depenencies of API surfaces as api ([#​1535](https://www.togithub.com/googleapis/gax-java/issues/1535)) ([#​1536](https://www.togithub.com/googleapis/gax-java/issues/1536)) ([8794b5c](https://www.github.com/googleapis/gax-java/commit/8794b5c322659af5a339c40552f16d71b7605cdf))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8e53ad32d534..f08a8c8059a9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.6.0 + 2.6.1 2.0.5 2.6.0 1.1.6 From ab4e04829874c28442b809a228ea4f4623ee4d4a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 18 Oct 2021 17:40:14 +0000 Subject: [PATCH 1781/3036] chore: release 2.2.0 (#598) :robot: I have created a release \*beep\* \*boop\* --- ## [2.2.0](https://www.github.com/googleapis/java-core/compare/v2.1.8...v2.2.0) (2021-10-18) ### Features * next release from main branch is 2.2.0 ([#596](https://www.github.com/googleapis/java-core/issues/596)) ([693978a](https://www.github.com/googleapis/java-core/commit/693978a515ddb425e137d6b7ec20a854668d353f)) ### Dependencies * update dependency com.google.api:gax-bom to v2.6.1 ([#600](https://www.github.com/googleapis/java-core/issues/600)) ([f7d0f9c](https://www.github.com/googleapis/java-core/commit/f7d0f9c708acdd19eb3b2427a76495b7d2b6f1b2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 12 ++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 24 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 429a1d14ebf8..2a30c81a54ad 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.2.0](https://www.github.com/googleapis/java-core/compare/v2.1.8...v2.2.0) (2021-10-18) + + +### Features + +* next release from main branch is 2.2.0 ([#596](https://www.github.com/googleapis/java-core/issues/596)) ([cca72b8](https://www.github.com/googleapis/java-core/commit/cca72b82b45e01207bd45c6a2b988981c213c6fd)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.6.1 ([#600](https://www.github.com/googleapis/java-core/issues/600)) ([a0cff6a](https://www.github.com/googleapis/java-core/commit/a0cff6a83506d1da3a8aacd6eafc39ff1ab11583)) + ### [2.1.8](https://www.github.com/googleapis/java-core/compare/v2.1.7...v2.1.8) (2021-10-15) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c780a76d3e7f..da77e11abc06 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.1.9-SNAPSHOT + 2.2.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.1.9-SNAPSHOT + 2.2.0 com.google.cloud google-cloud-core-grpc - 2.1.9-SNAPSHOT + 2.2.0 com.google.cloud google-cloud-core-http - 2.1.9-SNAPSHOT + 2.2.0 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f40328a4b965..0f79accabbee 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.1.9-SNAPSHOT + 2.2.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.9-SNAPSHOT + 2.2.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 71ca55349bab..300c7a92c884 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.1.9-SNAPSHOT + 2.2.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.9-SNAPSHOT + 2.2.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 579e5343c731..171cd7b58ec2 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.1.9-SNAPSHOT + 2.2.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.1.9-SNAPSHOT + 2.2.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index f08a8c8059a9..42418d6300e8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.1.9-SNAPSHOT + 2.2.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 639f7c3d48de..8127a52965ce 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.1.8:2.1.9-SNAPSHOT \ No newline at end of file +google-cloud-core:2.2.0:2.2.0 \ No newline at end of file From c57debeee739b2f30431184b9ff9466c46a55013 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 18 Oct 2021 17:46:14 +0000 Subject: [PATCH 1782/3036] chore: release 2.2.1-SNAPSHOT (#601) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index da77e11abc06..bbca586980d7 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.2.0 + 2.2.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.2.0 + 2.2.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.2.0 + 2.2.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.2.0 + 2.2.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0f79accabbee..fd95cafd0726 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.2.0 + 2.2.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.2.0 + 2.2.1-SNAPSHOT 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 300c7a92c884..5adba40fca2c 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.2.0 + 2.2.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.2.0 + 2.2.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 171cd7b58ec2..389acbf7f4a2 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.2.0 + 2.2.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.2.0 + 2.2.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 42418d6300e8..7302b3a8217e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.2.0 + 2.2.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 8127a52965ce..94397de1fc49 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.2.0:2.2.0 \ No newline at end of file +google-cloud-core:2.2.0:2.2.1-SNAPSHOT \ No newline at end of file From a3b75ffc454f448f7aa9ce4e1820c644695e0b21 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 18 Oct 2021 15:02:15 -0400 Subject: [PATCH 1783/3036] deps: update dependency com.google.guava:guava-bom to v31 (#498) deps: update gax.version to v2.6.1 deps: update dependency com.google.api-client:google-api-client-bom to v1.32.2 deps: update dependency com.google.http-client:google-http-client-bom to v1.40.1 deps: update dependency com.google.api:api-common to v2.0.5 deps: update dependency com.google.auth:google-auth-library-bom to v1.2.1 deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 --- .../first-party-dependencies/pom.xml | 16 ++++++++-------- .../third-party-dependencies/pom.xml | 10 +++++++++- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 959e6414ffa1..55ecd07f5ab5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,17 +56,17 @@ UTF-8 ${project.artifactId} 1.41.0 - 2.5.0 + 2.6.1 1.1.0 - 30.1.1-jre + 31.0.1-jre 3.18.1 - 2.0.2 - 2.5.0 - 2.1.6 - 1.1.0 - 1.40.0 + 2.0.5 + 2.6.0 + 2.2.0 + 1.2.1 + 1.40.1 1.32.1 - 1.32.1 + 1.32.2 1.1.6 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index de67208bf050..0a7fb7199d48 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,10 +64,12 @@ 0.28.0 3.0.2 2.9.0 - 2.12.5 + 2.13.0 1.15 4.4.14 4.5.13 + + 3.12.0 @@ -96,6 +98,7 @@ javax.annotation javax.annotation-api ${javax.annotations.version} + compile org.codehaus.mojo @@ -166,6 +169,11 @@ opencensus-impl-core ${opencensus.version} + + org.checkerframework + checker-qual + ${checker-qual.version} + \ No newline at end of file From 6d7ccfc47d6bb80cc6a4d8434e28e39f57f4ee91 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 18 Oct 2021 15:07:09 -0400 Subject: [PATCH 1784/3036] chore: change branch master to main in github configurations (#491) --- java-shared-dependencies/.github/sync-repo-settings.yaml | 2 +- java-shared-dependencies/.github/workflows/downstream.yaml | 2 +- .../.github/workflows/upper-bound-check.yaml | 2 +- java-shared-dependencies/README.md | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 76203b6d2745..215f962a86c1 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -2,7 +2,7 @@ rebaseMergeAllowed: false squashMergeAllowed: true mergeCommitAllowed: false branchProtectionRules: - - pattern: master + - pattern: main isAdminEnforced: true requiredApprovingReviewCount: 1 requiresCodeOwnerReviews: true diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml index 3ff62e52d534..0f1bc811bf5a 100644 --- a/java-shared-dependencies/.github/workflows/downstream.yaml +++ b/java-shared-dependencies/.github/workflows/downstream.yaml @@ -1,7 +1,7 @@ on: push: branches: - - master + - main pull_request: name: downstream jobs: diff --git a/java-shared-dependencies/.github/workflows/upper-bound-check.yaml b/java-shared-dependencies/.github/workflows/upper-bound-check.yaml index f4fac6acf90f..45cb8b9d9535 100644 --- a/java-shared-dependencies/.github/workflows/upper-bound-check.yaml +++ b/java-shared-dependencies/.github/workflows/upper-bound-check.yaml @@ -1,7 +1,7 @@ on: push: branches: - - master + - main pull_request: name: upper-bound-check jobs: diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 91ebe080ccdf..96a2554c0b21 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -46,6 +46,6 @@ Apache 2.0 - See [LICENSE][license] for more information. [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-shared-dependencies.svg [maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-shared-dependencies&core=gav -[contributing]: https://github.com/googleapis/java-shared-dependencies/blob/master/CONTRIBUTING.md -[code-of-conduct]: https://github.com/googleapis/java-shared-dependencies/blob/master/CODE_OF_CONDUCT.md#contributor-code-of-conduct -[license]: https://github.com/googleapis/java-shared-dependencies/blob/master/LICENSE +[contributing]: https://github.com/googleapis/java-shared-dependencies/blob/main/CONTRIBUTING.md +[code-of-conduct]: https://github.com/googleapis/java-shared-dependencies/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct +[license]: https://github.com/googleapis/java-shared-dependencies/blob/main/LICENSE From d0433eee1ae4f3f06fa425c52291523687f0ecee Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 18 Oct 2021 15:07:40 -0400 Subject: [PATCH 1785/3036] chore: change branch master to main in sync-repo-settings.yaml (#490) From f65bdfaca01194296fc19ef1cff897436ca0a514 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 18 Oct 2021 20:16:11 +0000 Subject: [PATCH 1786/3036] chore: release 2.4.0 (#489) :robot: I have created a release \*beep\* \*boop\* --- ## [2.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.3.0...v2.4.0) (2021-10-18) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.api:api-common to v2.0.5 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.guava:guava-bom to v31 ([#498](https://www.github.com/googleapis/java-shared-dependencies/issues/498)) ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#494](https://www.github.com/googleapis/java-shared-dependencies/issues/494)) ([6285c4e](https://www.github.com/googleapis/java-shared-dependencies/commit/6285c4e5f54ed37682aeada9df9988afe87dfed4)) * update dependency io.grpc:grpc-bom to v1.41.0 ([#482](https://www.github.com/googleapis/java-shared-dependencies/issues/482)) ([58d4a82](https://www.github.com/googleapis/java-shared-dependencies/commit/58d4a828f18e2c582ab1c438a12b9e3c2512814d)) * update gax.version to v2.6.1 ([a3b75ff](https://www.github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update iam.version to v1.1.6 ([#485](https://www.github.com/googleapis/java-shared-dependencies/issues/485)) ([a4ddcb4](https://www.github.com/googleapis/java-shared-dependencies/commit/a4ddcb42310471a6c4495770e3bc8fdbc75fbb0c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 16 ++++++++++++++++ java-shared-dependencies/README.md | 2 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 25 insertions(+), 9 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index cb02ec73bcd1..c179bf9d043b 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [2.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.3.0...v2.4.0) (2021-10-18) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.api:api-common to v2.0.5 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.guava:guava-bom to v31 ([#498](https://www.github.com/googleapis/java-shared-dependencies/issues/498)) ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#494](https://www.github.com/googleapis/java-shared-dependencies/issues/494)) ([a30e376](https://www.github.com/googleapis/java-shared-dependencies/commit/a30e3762b5fb0e2d31304d211c12eb2c1320f0c1)) +* update dependency io.grpc:grpc-bom to v1.41.0 ([#482](https://www.github.com/googleapis/java-shared-dependencies/issues/482)) ([8a7d227](https://www.github.com/googleapis/java-shared-dependencies/commit/8a7d227f2a1dab9ff23d247a4e6131c817804c36)) +* update gax.version to v2.6.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update iam.version to v1.1.6 ([#485](https://www.github.com/googleapis/java-shared-dependencies/issues/485)) ([cef7e09](https://www.github.com/googleapis/java-shared-dependencies/commit/cef7e090bbc2e3ae775fa83505f98df286ba7d42)) + ## [2.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.1...v2.3.0) (2021-09-22) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 96a2554c0b21..a199c18e64fd 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.3.0 + 2.4.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 55ecd07f5ab5..dd9e651e60b7 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 - 2.3.1-SNAPSHOT + 2.4.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d2fb0872488e..98586f72eb5a 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 - 2.3.1-SNAPSHOT + 2.4.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.3.1-SNAPSHOT + 2.4.0 pom import com.google.cloud third-party-dependencies - 2.3.1-SNAPSHOT + 2.4.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 0a7fb7199d48..0b8550865587 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 - 2.3.1-SNAPSHOT + 2.4.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index caeb1531c600..287ae145e7a0 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 - 2.3.1-SNAPSHOT + 2.4.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.3.1-SNAPSHOT + 2.4.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5b84fd0a4be7..a8de96079ec4 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.3.0:2.3.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.4.0:2.4.0 \ No newline at end of file From ce85aa3ca535049104e93349cef1bf29eca1148b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 Oct 2021 17:26:36 +0200 Subject: [PATCH 1787/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 (#220) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.3.0` -> `2.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.4.0/compatibility-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.4.0/confidence-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.4.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​240-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare230v240-2021-10-18) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.3.0...v2.4.0) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) - update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) - update dependency com.google.api:api-common to v2.0.5 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) - update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) - update dependency com.google.guava:guava-bom to v31 ([#​498](https://www.togithub.com/googleapis/java-shared-dependencies/issues/498)) ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) - update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) - update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#​494](https://www.togithub.com/googleapis/java-shared-dependencies/issues/494)) ([a30e376](https://www.github.com/googleapis/java-shared-dependencies/commit/a30e3762b5fb0e2d31304d211c12eb2c1320f0c1)) - update dependency io.grpc:grpc-bom to v1.41.0 ([#​482](https://www.togithub.com/googleapis/java-shared-dependencies/issues/482)) ([8a7d227](https://www.github.com/googleapis/java-shared-dependencies/commit/8a7d227f2a1dab9ff23d247a4e6131c817804c36)) - update gax.version to v2.6.1 ([dba11b5](https://www.github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) - update iam.version to v1.1.6 ([#​485](https://www.togithub.com/googleapis/java-shared-dependencies/issues/485)) ([cef7e09](https://www.github.com/googleapis/java-shared-dependencies/commit/cef7e090bbc2e3ae775fa83505f98df286ba7d42))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3ebe65731bf8..8c5545f6b501 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.3.0 + 2.4.0 pom import From fa18e687e8d6a8c1c8934e8ac8b8bcc20e1db093 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 19 Oct 2021 15:38:28 +0000 Subject: [PATCH 1788/3036] chore: release 1.1.7 (#221) :robot: I have created a release \*beep\* \*boop\* --- ### [1.1.7](https://www.github.com/googleapis/java-iam/compare/v1.1.6...v1.1.7) (2021-10-19) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#220](https://www.github.com/googleapis/java-iam/issues/220)) ([ce85aa3](https://www.github.com/googleapis/java-iam/commit/ce85aa3ca535049104e93349cef1bf29eca1148b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index f6d2d6abf444..db3fb4299475 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.1.7](https://www.github.com/googleapis/java-iam/compare/v1.1.6...v1.1.7) (2021-10-19) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#220](https://www.github.com/googleapis/java-iam/issues/220)) ([dece964](https://www.github.com/googleapis/java-iam/commit/dece9643c9500a9f9c76e8fddee700447b4f6ab8)) + ### [1.1.6](https://www.github.com/googleapis/java-iam/compare/v1.1.5...v1.1.6) (2021-10-08) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 13d33b036203..9d6775b1730f 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.1.7-SNAPSHOT + 1.1.7 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.7-SNAPSHOT + 1.1.7 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 8c5545f6b501..0ec8c8e8f5fc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.7-SNAPSHOT + 1.1.7 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.7-SNAPSHOT + 1.1.7 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 42a7b3973bb1..1bf7df989dea 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.7-SNAPSHOT + 1.1.7 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.7-SNAPSHOT + 1.1.7 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index e7e99df0a363..7db5426e70f7 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.6:1.1.7-SNAPSHOT +proto-google-iam-v1:1.1.7:1.1.7 From b9cd259204a7feb21f56440b3e850892c1dd23e2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 19 Oct 2021 15:44:31 +0000 Subject: [PATCH 1789/3036] chore: release 1.1.8-SNAPSHOT (#222) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 9d6775b1730f..9744c73c3102 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.1.7 + 1.1.8-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.7 + 1.1.8-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 0ec8c8e8f5fc..9c01b6853d27 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.7 + 1.1.8-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.7 + 1.1.8-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1bf7df989dea..c3af2bc88a08 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-iam-v1 - 1.1.7 + 1.1.8-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.7 + 1.1.8-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7db5426e70f7..ca261ac6676e 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.7:1.1.7 +proto-google-iam-v1:1.1.7:1.1.8-SNAPSHOT From 37869d9658d54cec2b9257d1f61adc46f43135ac Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 20 Oct 2021 12:01:26 -0400 Subject: [PATCH 1790/3036] feat: next release from main branch is 2.3.0 (#602) --- java-core/.github/release-please.yml | 4 ++++ java-core/.github/sync-repo-settings.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml index a43dbc35f814..8a0e92768a68 100644 --- a/java-core/.github/release-please.yml +++ b/java-core/.github/release-please.yml @@ -10,3 +10,7 @@ branches: handleGHRelease: true releaseType: java-backport branch: 2.1.x + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-backport + branch: 2.2.x diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index b97f6f3392d4..be62d8420f2c 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -48,6 +48,21 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - cla/google - OwlBot Post Processor + - pattern: 2.2.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: - team: yoshi-admins permission: admin From aa9c486e04875f68964f1cf607f57802c267c846 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Oct 2021 00:12:39 +0200 Subject: [PATCH 1791/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.0 (#611) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.1.0` -> `1.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​120-httpswwwgithubcomgoogleapisjava-shared-configcomparev110v120-2021-10-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.1.0...v1.2.0) ##### Features - Introduce Native Image testing build script changes ([#​1240](https://www.togithub.com/googleapis/java-shared-config/issues/1240)) ([#​334](https://www.togithub.com/googleapis/java-shared-config/issues/334)) ([4643cf1](https://www.github.com/googleapis/java-shared-config/commit/4643cf15be0b37fa8fa905d544d438cda7ef2ecd)) ##### Bug Fixes - **java:** downgrade native maven plugin version ([#​335](https://www.togithub.com/googleapis/java-shared-config/issues/335)) ([5834284](https://www.github.com/googleapis/java-shared-config/commit/5834284176fb34713d10082ce04f3b6abba85ad8))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index bbca586980d7..88eecee7e946 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 7302b3a8217e..c9dd7961a6ae 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.0 From 568bd44f5e34da11dd5bfeef48f8d1782f9c8398 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Oct 2021 00:12:46 +0200 Subject: [PATCH 1792/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.0 (#224) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.1.0` -> `1.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.0/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​120-httpswwwgithubcomgoogleapisjava-shared-configcomparev110v120-2021-10-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.1.0...v1.2.0) ##### Features - Introduce Native Image testing build script changes ([#​1240](https://www.togithub.com/googleapis/java-shared-config/issues/1240)) ([#​334](https://www.togithub.com/googleapis/java-shared-config/issues/334)) ([4643cf1](https://www.github.com/googleapis/java-shared-config/commit/4643cf15be0b37fa8fa905d544d438cda7ef2ecd)) ##### Bug Fixes - **java:** downgrade native maven plugin version ([#​335](https://www.togithub.com/googleapis/java-shared-config/issues/335)) ([5834284](https://www.github.com/googleapis/java-shared-config/commit/5834284176fb34713d10082ce04f3b6abba85ad8))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9c01b6853d27..aef3b6fd5738 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.0 From b00369e5449cfb40c8642b43b26032b7add2bf58 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 25 Oct 2021 16:18:16 +0000 Subject: [PATCH 1793/3036] fix(java): java 17 dependency arguments (#1266) (#612) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/dependencies.sh | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index dc53bbb57be5..0df65ebe91a6 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:d4b2141d65566523dfd523f63c6e6899ab1281463bce182a9f600e74b0511875 + digest: sha256:a3ac08d167454718ff057b97a1950d3cb5e16fc39fb3f355d90276285a6cac75 diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index 9a5105d7ebf4..d7476cfe9727 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -38,15 +38,13 @@ function determineMavenOpts() { | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' ) - case $javaVersion in - "17") + if [[ $javaVersion == 17* ]] + then # MaxPermSize is no longer supported as of jdk 17 echo -n "-Xmx1024m" - ;; - *) + else echo -n "-Xmx1024m -XX:MaxPermSize=128m" - ;; - esac + fi } export MAVEN_OPTS=$(determineMavenOpts) From f4f6dc79c11f637459c9382a1e0f4f79409fb966 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Oct 2021 00:20:12 +0200 Subject: [PATCH 1794/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.2.2 (#610) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c9dd7961a6ae..59c21d410e51 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.0.5 2.6.0 1.1.6 - 1.2.1 + 1.2.2 1.32.2 1.40.1 1.41.0 From b26fe140c251800090416a664538bd03affec264 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Oct 2021 00:20:23 +0200 Subject: [PATCH 1795/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.2.2 (#506) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index dd9e651e60b7..f37aee202c4c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.0.5 2.6.0 2.2.0 - 1.2.1 + 1.2.2 1.40.1 1.32.1 1.32.2 From ff0c0fa347b6c86a63c147441ba13319dcef1781 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Oct 2021 19:32:10 +0200 Subject: [PATCH 1796/3036] deps: update dependency com.google.api:api-common to v2.1.0 (#613) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 59c21d410e51..2d73a130fe89 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.6.1 - 2.0.5 + 2.1.0 2.6.0 1.1.6 1.2.2 From c46513923b3557c123f380ac985d1f4b87a4e669 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Oct 2021 19:33:50 +0200 Subject: [PATCH 1797/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.7 (#604) Co-authored-by: Emily Ball --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2d73a130fe89..318a431b25e6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.6.1 2.1.0 2.6.0 - 1.1.6 + 1.1.7 1.2.2 1.32.2 1.40.1 From b3f7ef8c4a8aa504fcc60adf9b6e1a8c6fb053e8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Oct 2021 19:48:20 +0200 Subject: [PATCH 1798/3036] deps: update dependency com.google.api:api-common to v2.1.0 (#225) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.0.5` -> `2.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/compatibility-slim/2.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/confidence-slim/2.0.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.1.0`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​210-httpswwwgithubcomgoogleapisapi-common-javacomparev205v210-2021-10-20) ##### Features - next release from main branch is 2.1.0 ([#​308](https://www.togithub.com/googleapis/api-common-java/issues/308)) ([3965b13](https://www.github.com/googleapis/api-common-java/commit/3965b13ea832cefe4aa58f4f2ecfd0423686c0f9)) ##### [2.0.5](https://www.github.com/googleapis/api-common-java/compare/v2.0.4...v2.0.5) (2021-10-08) ##### Dependencies - add maven plugin to enable install ([#​304](https://www.togithub.com/googleapis/api-common-java/issues/304)) ([ea0b777](https://www.github.com/googleapis/api-common-java/commit/ea0b7773c799db16b2ae68ff600dcacaca52abf9)) ##### [2.0.4](https://www.github.com/googleapis/api-common-java/compare/v2.0.3...v2.0.4) (2021-10-06) ##### Dependencies - use nexus-publish plugin ([#​300](https://www.togithub.com/googleapis/api-common-java/issues/300)) ([e502ae6](https://www.github.com/googleapis/api-common-java/commit/e502ae63f7cea8293c3bf617a74bc74bd345edbc)) ##### [2.0.3](https://www.github.com/googleapis/api-common-java/compare/v2.0.3...v2.0.3) (2021-10-06) ##### Dependencies - use nexus-publish plugin ([#​297](https://www.togithub.com/googleapis/api-common-java/issues/297)) ([ea19c90](https://www.github.com/googleapis/api-common-java/commit/ea19c90e95088bd4c633c213b092fc9df673a02f)) ##### [2.0.2](https://www.github.com/googleapis/api-common-java/compare/v2.0.1...v2.0.2) (2021-08-20) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#​266](https://www.togithub.com/googleapis/api-common-java/issues/266)) ([9019ce9](https://www.github.com/googleapis/api-common-java/commit/9019ce98dcd722deea2ca3845d4396184dcc1599)) ##### [2.0.1](https://www.github.com/googleapis/api-common-java/compare/v2.0.0...v2.0.1) (2021-08-10) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#​261](https://www.togithub.com/googleapis/api-common-java/issues/261)) ([1875934](https://www.github.com/googleapis/api-common-java/commit/187593451b90252daddb55555ab4d40e2fbd4d82))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 3d203755b58b..e226684ffe22 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.18.1' - compile 'com.google.api:api-common:2.0.5' + compile 'com.google.api:api-common:2.1.0' compile project(':proto-google-common-protos') } From 27934d16a0221bfdd1df8c5d038bed5d0613fd2e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Nov 2021 02:50:15 +0100 Subject: [PATCH 1799/3036] deps: update dependency com.google.code.gson:gson to v2.8.9 (#615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.code.gson:gson](https://togithub.com/google/gson) | `2.8.8` -> `2.8.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.9/compatibility-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.8.9/confidence-slim/2.8.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/gson ### [`v2.8.9`](https://togithub.com/google/gson/blob/master/CHANGELOG.md#Version-289) - Make OSGi bundle's dependency on `sun.misc` optional ([#​1993](https://togithub.com/google/gson/issues/1993)). - Deprecate `Gson.excluder()` exposing internal `Excluder` class ([#​1986](https://togithub.com/google/gson/issues/1986)). - Prevent Java deserialization of internal classes ([#​1991](https://togithub.com/google/gson/issues/1991)). - Improve number strategy implementation ([#​1987](https://togithub.com/google/gson/issues/1987)). - Fix LongSerializationPolicy null handling being inconsistent with Gson ([#​1990](https://togithub.com/google/gson/issues/1990)). - Support arbitrary Number implementation for Object and Number deserialization ([#​1290](https://togithub.com/google/gson/issues/1290)). - Bump proguard-maven-plugin from 2.4.0 to 2.5.1 ([#​1980](https://togithub.com/google/gson/issues/1980)). - Don't exclude static local classes ([#​1969](https://togithub.com/google/gson/issues/1969)). - Fix `RuntimeTypeAdapterFactory` depending on internal `Streams` class ([#​1959](https://togithub.com/google/gson/issues/1959)). - Improve Maven build ([#​1964](https://togithub.com/google/gson/issues/1964)). - Make dependency on `java.sql` optional ([#​1707](https://togithub.com/google/gson/issues/1707)).
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 318a431b25e6..fef17fd8ed66 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 1.5.1 2.6 2.9.0 - 2.8.8 + 2.8.9
    From 8b47eaa67b4663e3fb3e013b3221197edf5a86e2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Nov 2021 18:50:49 -0700 Subject: [PATCH 1800/3036] feat: Introduce Native Image testing build script changes (#219) Adds additional switch case to build.sh to accommodate native image testing. Source-Author: Daniel Zou Source-Date: Mon Oct 18 11:42:09 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: d45942be8066ad57bd0509f4a16e1fac78ecc50f Source-Link: https://github.com/googleapis/synthtool/commit/d45942be8066ad57bd0509f4a16e1fac78ecc50f --- java-iam/.kokoro/build.sh | 5 +++ java-iam/.kokoro/presubmit/graalvm-native.cfg | 33 +++++++++++++++++++ java-iam/synth.metadata | 5 +-- 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 java-iam/.kokoro/presubmit/graalvm-native.cfg diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 558ca931d312..bdc9d44fa6ee 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -69,6 +69,11 @@ integration) verify RETURN_CODE=$? ;; +graalvm) + # Run Unit and Integration Tests with Native Image + mvn test -Pnative -Penable-integration-tests + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/java-iam/.kokoro/presubmit/graalvm-native.cfg b/java-iam/.kokoro/presubmit/graalvm-native.cfg new file mode 100644 index 000000000000..4c7225ec924e --- /dev/null +++ b/java-iam/.kokoro/presubmit/graalvm-native.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index df2b53adbbb6..a80614eb244a 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "8e6faf1160d121b9b7949e8c8a21e7d312cd5fa0" + "sha": "4a64f7fb47f860e06bd4b23045f22a37b8d4d09b" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "a4be3384ccb92364795d981f2863f6986fcee620" + "sha": "d45942be8066ad57bd0509f4a16e1fac78ecc50f" } } ], @@ -59,6 +59,7 @@ ".kokoro/presubmit/clirr.cfg", ".kokoro/presubmit/common.cfg", ".kokoro/presubmit/dependencies.cfg", + ".kokoro/presubmit/graalvm-native.cfg", ".kokoro/presubmit/integration.cfg", ".kokoro/presubmit/java11.cfg", ".kokoro/presubmit/java7.cfg", From 6966436614deb14b5148855f97bde3cde16da57a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Nov 2021 09:57:46 -0700 Subject: [PATCH 1801/3036] fix(java): java 17 dependency arguments (#228) Source-Author: kolea2 <45548808+kolea2@users.noreply.github.com> Source-Date: Mon Oct 25 11:06:10 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: cb2755306975de4c54ea549c9deb25703b3731bb Source-Link: https://github.com/googleapis/synthtool/commit/cb2755306975de4c54ea549c9deb25703b3731bb --- java-iam/.kokoro/dependencies.sh | 10 ++++------ java-iam/synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index 9a5105d7ebf4..d7476cfe9727 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -38,15 +38,13 @@ function determineMavenOpts() { | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' ) - case $javaVersion in - "17") + if [[ $javaVersion == 17* ]] + then # MaxPermSize is no longer supported as of jdk 17 echo -n "-Xmx1024m" - ;; - *) + else echo -n "-Xmx1024m -XX:MaxPermSize=128m" - ;; - esac + fi } export MAVEN_OPTS=$(determineMavenOpts) diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index a80614eb244a..1bfea1bd82d2 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "4a64f7fb47f860e06bd4b23045f22a37b8d4d09b" + "sha": "58c9a81c55274b64c5e6877c9f909466a672c385" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d45942be8066ad57bd0509f4a16e1fac78ecc50f" + "sha": "cb2755306975de4c54ea549c9deb25703b3731bb" } } ], From ec2ea2f1d7822a655e955a2d5edabe27e4a492ab Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 4 Nov 2021 21:00:26 +0000 Subject: [PATCH 1802/3036] chore(java): remove pin on Apache Maven 3.8.1 from github actions (#1268) (#617) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/workflows/ci.yaml | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 0df65ebe91a6..5a79fcd57b79 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a3ac08d167454718ff057b97a1950d3cb5e16fc39fb3f355d90276285a6cac75 + digest: sha256:ed012741acaae5d03e011244585a1f0625a596d31568967d77772aa5a0a51d5e diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 2425d7234f42..d95a11a26273 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -12,9 +12,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -27,9 +24,6 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -45,9 +39,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -58,9 +49,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -73,9 +61,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -83,4 +68,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr + JOB_TYPE: clirr \ No newline at end of file From 1c4deadc8c181078915b7374e3be9fb48627ca01 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Nov 2021 15:22:23 -0700 Subject: [PATCH 1803/3036] chore(java): remove pin on Apache Maven 3.8.1 from github actions (#229) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/1b4e4d77-1aa5-4ec0-98f5-f188c5eb99ac/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/79d7936da1cf04ce1b4ead7d2c10dccccd852caf --- java-iam/.github/workflows/ci.yaml | 17 +---------------- java-iam/synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 2425d7234f42..d95a11a26273 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -12,9 +12,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -27,9 +24,6 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -45,9 +39,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -58,9 +49,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -73,9 +61,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -83,4 +68,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr + JOB_TYPE: clirr \ No newline at end of file diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 1bfea1bd82d2..7eb7292469f4 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "58c9a81c55274b64c5e6877c9f909466a672c385" + "sha": "e6095159733fb75e0fcc0620c7e6c93ef9586489" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "cb2755306975de4c54ea549c9deb25703b3731bb" + "sha": "79d7936da1cf04ce1b4ead7d2c10dccccd852caf" } } ], From d9c263d75025280457b10ae1a717039be6c6e915 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Nov 2021 18:52:16 +0100 Subject: [PATCH 1804/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.10.0 (#618) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.9.0` -> `2.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.10.0/compatibility-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.10.0/confidence-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.10.0`](https://togithub.com/google/error-prone/releases/v2.10.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.9.0...v2.10.0) New checks - [`AlwaysThrows`](http://errorprone.info/bugpattern/AlwaysThrows) - [`StackTraceElementGetClass`](http://errorprone.info/bugpattern/StackTraceElementGetClass) - [`BareDotMetacharacter`](http://errorprone.info/bugpattern/BareDotMetacharacter) - [`DistinctVarargsChecker`](http://errorprone.info/bugpattern/DistinctVarargsChecker) - [`MalformedInlineTag`](http://errorprone.info/bugpattern/MalformedInlineTag) - [`MemoizeConstantVisitorStateLookups`](http://errorprone.info/bugpattern/MemoizeConstantVisitorStateLookups) - [`UnicodeEscape`](http://errorprone.info/bugpattern/UnicodeEscape) - [`FieldMissingNullable`](http://errorprone.info/bugpattern/FieldMissingNullable) - [`Java8ApiChecker`](http://errorprone.info/bugpattern/Java8ApiChecker) - [`ParameterMissingNullable`](http://errorprone.info/bugpattern/ParameterMissingNullable) - [`TooManyParameters`](http://errorprone.info/bugpattern/TooManyParameters) - [`TryWithResourcesVariable`](http://errorprone.info/bugpattern/TryWithResourcesVariable) - [`UnnecessaryFinal`](http://errorprone.info/bugpattern/UnnecessaryFinal) - [`VoidMissingNullable`](http://errorprone.info/bugpattern/VoidMissingNullable) Fixed issues: [#​2616](https://togithub.com/google/error-prone/issues/2616), [#​2629](https://togithub.com/google/error-prone/issues/2629) **Full Changelog**: https://github.com/google/error-prone/compare/v2.9.0...v2.10.0
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index fef17fd8ed66..4120c2e3667d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.5.1 2.6 - 2.9.0 + 2.10.0 2.8.9
    From a4fc7582a7da32bd6676f930fef42b8377cbaa75 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Nov 2021 18:54:12 +0100 Subject: [PATCH 1805/3036] deps: update dependency io.grpc:grpc-stub to v1.42.0 (#231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.41.0` -> `1.42.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.42.0/compatibility-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.42.0/confidence-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.42.0`](https://togithub.com/grpc/grpc-java/compare/v1.41.1...v1.42.0) ### [`v1.41.1`](https://togithub.com/grpc/grpc-java/compare/v1.41.0...v1.41.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index a828ced26a36..4eebbd2b092d 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.41.0' + compile 'io.grpc:grpc-stub:1.42.0' compile 'io.grpc:grpc-protobuf:1.41.0' compile project(':proto-google-iam-v1') } From 912ac3a081b7c4817598207cd3b1f931d74db800 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Nov 2021 18:54:15 +0100 Subject: [PATCH 1806/3036] deps: update dependency io.grpc:grpc-bom to v1.42.0 (#619) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.41.0` -> `1.42.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.0/compatibility-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.0/confidence-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.42.0`](https://togithub.com/grpc/grpc-java/compare/v1.41.1...v1.42.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.41.1...v1.42.0) ### [`v1.41.1`](https://togithub.com/grpc/grpc-java/compare/v1.41.0...v1.41.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.41.0...v1.41.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4120c2e3667d..e3c8310be255 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.2.2 1.32.2 1.40.1 - 1.41.0 + 1.42.0 3.18.1 0.28.0 1.3.2 From f0e335ebe466a66f5886b173fbb447e3d5cb1c04 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Nov 2021 19:02:18 +0100 Subject: [PATCH 1807/3036] deps: update dependency io.grpc:grpc-protobuf to v1.42.0 (#230) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.41.0` -> `1.42.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.0/compatibility-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.0/confidence-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.42.0`](https://togithub.com/grpc/grpc-java/compare/v1.41.1...v1.42.0) ### [`v1.41.1`](https://togithub.com/grpc/grpc-java/compare/v1.41.0...v1.41.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 4eebbd2b092d..ee470717d6c5 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.42.0' - compile 'io.grpc:grpc-protobuf:1.41.0' + compile 'io.grpc:grpc-protobuf:1.42.0' compile project(':proto-google-iam-v1') } From 9f200852ffa6f82c0870b2ed6687a9e67c376763 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Sat, 6 Nov 2021 00:42:26 +0000 Subject: [PATCH 1808/3036] Update ci.yaml (#1275) (#620) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/workflows/ci.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 5a79fcd57b79..994dd04bfe64 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ed012741acaae5d03e011244585a1f0625a596d31568967d77772aa5a0a51d5e + digest: sha256:fecf6bd85f19eb046d913982ea36f6d434f9a49ab0545d25e31186aa64367c0c diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index d95a11a26273..93b337c62839 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -8,6 +8,7 @@ jobs: units: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: java: [8, 11, 17] steps: @@ -68,4 +69,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr From 6773cc56fb214e3be41c909f2126ed47c95753fc Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 8 Nov 2021 21:52:10 +0000 Subject: [PATCH 1809/3036] chore: cleanup cloud RAD generation (#1269) (#622) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/release/publish_javadoc11.sh | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 994dd04bfe64..325daaa4b5a2 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:fecf6bd85f19eb046d913982ea36f6d434f9a49ab0545d25e31186aa64367c0c + digest: sha256:204b7af96e6d481f19b0ff377aa379d46bc56dd06e1cc7c523f361dd9cbfeeaa diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh index 9e573b8f61dc..64aa128f1cb5 100755 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME=google-cloud-core export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) -# V3 generates docfx yml from javadoc -# generate yml -mvn clean site -B -q -P docFX - -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md -# copy CHANGELOG to docfx-yml dir and rename history.md +# cloud RAD generation +mvn clean javadoc:aggregate -B -q -P docFX +# include CHANGELOG cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml From 4ebe02c321346ae5daba216932ffa69118715ee2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 9 Nov 2021 14:40:46 +0000 Subject: [PATCH 1810/3036] chore: update jre to 11 for linter (#1278) (#625) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/workflows/ci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 325daaa4b5a2..886d09496d14 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:204b7af96e6d481f19b0ff377aa379d46bc56dd06e1cc7c523f361dd9cbfeeaa + digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 93b337c62839..05de1f60dcf0 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -53,7 +53,7 @@ jobs: - uses: actions/setup-java@v2 with: distribution: zulu - java-version: 8 + java-version: 11 - run: java -version - run: .kokoro/build.sh env: From 20a974a5d6d00db104273195de43387c5b52804e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Nov 2021 17:50:27 +0100 Subject: [PATCH 1811/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.1 (#623) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.0` -> `1.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/compatibility-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/confidence-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​121-httpswwwgithubcomgoogleapisjava-shared-configcomparev120v121-2021-11-08) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.0...v1.2.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 88eecee7e946..a2bc3a829537 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.0 + 1.2.1 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index e3c8310be255..4ca1e7b7fee7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.0 + 1.2.1 From a76f66f2a765266116dee91dde81a2e49adb1fb2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 9 Nov 2021 17:52:12 +0100 Subject: [PATCH 1812/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.1 (#233) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.0` -> `1.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/compatibility-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.1/confidence-slim/1.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.1`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​121-httpswwwgithubcomgoogleapisjava-shared-configcomparev120v121-2021-11-08) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.0...v1.2.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index aef3b6fd5738..a0899c9fad55 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.0 + 1.2.1 From b9c4b23e5fdb5715d162057a43df5cbacac94acc Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 10 Nov 2021 10:12:18 -0500 Subject: [PATCH 1813/3036] fix: dependencies.sh to work with Java 17 (#516) CC: @Neenu1995 --- java-shared-dependencies/.kokoro/dependencies.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index 9a5105d7ebf4..240e074712a8 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -37,16 +37,13 @@ function determineMavenOpts() { | sed -E 's/^.*"(.*?)".*$/\1/g' \ | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' ) - - case $javaVersion in - "17") + if [[ $javaVersion == 17* ]] + then # MaxPermSize is no longer supported as of jdk 17 echo -n "-Xmx1024m" - ;; - *) + else echo -n "-Xmx1024m -XX:MaxPermSize=128m" - ;; - esac + fi } export MAVEN_OPTS=$(determineMavenOpts) From 011be46db0ac3e1dfed31f078679a615757c4f55 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 10 Nov 2021 10:24:23 -0500 Subject: [PATCH 1814/3036] feat: next release from main branch is 2.5.0 (#510) Co-authored-by: Tomo Suzuki --- .../.github/release-please.yml | 4 ++++ .../.github/sync-repo-settings.yaml | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml index b13f3c0cadcb..3498304c43fd 100644 --- a/java-shared-dependencies/.github/release-please.yml +++ b/java-shared-dependencies/.github/release-please.yml @@ -6,3 +6,7 @@ branches: handleGHRelease: true bumpMinorPreMajor: true branch: java7 + - releaseType: java-backport + handleGHRelease: true + bumpMinorPreMajor: true + branch: 2.4.x diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 215f962a86c1..487e7495daf7 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -47,6 +47,26 @@ branchProtectionRules: - dependencies (11, java-storage) - dependencies (11, java-pubsub) - cla/google + - pattern: 2.4.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - dependencies (8, java-bigqueryconnection) + - dependencies (8, java-storage) + - dependencies (8, java-pubsub) + - dependencies (11, java-bigqueryconnection) + - dependencies (11, java-storage) + - dependencies (11, java-pubsub) + - cla/google permissionRules: - team: yoshi-admins permission: admin From 677b78972397fa80251c0a90c85a59e9da880ca8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Nov 2021 17:22:29 +0100 Subject: [PATCH 1815/3036] deps: update dependency com.google.api:gax-bom to v2.7.0 (#626) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4ca1e7b7fee7..99eaaaabe864 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.6.1 + 2.7.0 2.1.0 2.6.0 1.1.7 From 424db863629235ab60b7d1c54e14158e283eb746 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Nov 2021 17:22:51 +0100 Subject: [PATCH 1816/3036] deps: update dependency org.threeten:threetenbp to v1.5.2 (#624) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 99eaaaabe864..9e03c10ca911 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.1.3 3.6 3.0.2 - 1.5.1 + 1.5.2 2.6 2.10.0 2.8.9 From a832f80e43f35906e77bc2450477ee3f8a74f8a5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Nov 2021 17:23:20 +0100 Subject: [PATCH 1817/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.19.1 (#609) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9e03c10ca911..1355bfe5c810 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.32.2 1.40.1 1.42.0 - 3.18.1 + 3.19.1 0.28.0 1.3.2 31.0.1-jre From b6a7731facd643814dfbe8a262802f50adf67b39 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 10 Nov 2021 12:55:50 -0500 Subject: [PATCH 1818/3036] chore: release 2.4.1-SNAPSHOT (#502) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f37aee202c4c..c390eac927a4 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 - 2.4.0 + 2.4.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 98586f72eb5a..1cda34dcd3c9 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 - 2.4.0 + 2.4.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.4.0 + 2.4.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.4.0 + 2.4.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 0b8550865587..a358aec88b19 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 - 2.4.0 + 2.4.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 287ae145e7a0..8b6cf09e4f44 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 - 2.4.0 + 2.4.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.4.0 + 2.4.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index a8de96079ec4..f69d75b24ec1 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.4.0:2.4.0 \ No newline at end of file +google-cloud-shared-dependencies:2.4.0:2.4.1-SNAPSHOT \ No newline at end of file From 6d3efe94a2ef062d5e7012a85c1b654d547f8a24 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 10 Nov 2021 21:24:00 +0100 Subject: [PATCH 1819/3036] deps: update dependency com.google.code.gson:gson to v2.8.9 (#509) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a358aec88b19..17c29a848ec4 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,7 @@ UTF-8 ${project.artifactId} - 2.8.8 + 2.8.9 1.5.1 1.3.2 1.20 From a28819bbb5f025158a7c1dc88b30dae34c1653cd Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 10 Nov 2021 12:42:31 -0800 Subject: [PATCH 1820/3036] Update ci.yaml (#232) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/34c69f4d-3cb2-401f-b9b8-25e1d442434b/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/717a6a1fe247df095092de1321eadc9da887a06c --- java-iam/.github/workflows/ci.yaml | 3 ++- java-iam/synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index d95a11a26273..93b337c62839 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -8,6 +8,7 @@ jobs: units: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: java: [8, 11, 17] steps: @@ -68,4 +69,4 @@ jobs: - run: java -version - run: .kokoro/build.sh env: - JOB_TYPE: clirr \ No newline at end of file + JOB_TYPE: clirr diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 7eb7292469f4..090811c516b9 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "e6095159733fb75e0fcc0620c7e6c93ef9586489" + "sha": "36a09e753f1439d1975c5b388d460d84646f9190" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "79d7936da1cf04ce1b4ead7d2c10dccccd852caf" + "sha": "717a6a1fe247df095092de1321eadc9da887a06c" } } ], From d9292d4e2f6ed4117af33168b7d650f2b6fb6950 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Wed, 10 Nov 2021 16:59:45 -0500 Subject: [PATCH 1821/3036] chore: setup LTS branch for 0.20.1 (#519) --- .../.github/release-please.yml | 4 ++++ .../.github/sync-repo-settings.yaml | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml index 3498304c43fd..a42423b436eb 100644 --- a/java-shared-dependencies/.github/release-please.yml +++ b/java-shared-dependencies/.github/release-please.yml @@ -10,3 +10,7 @@ branches: handleGHRelease: true bumpMinorPreMajor: true branch: 2.4.x + - releaseType: java-backport + handleGHRelease: true + bumpMinorPreMajor: true + branch: 0.20.x diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 487e7495daf7..2d2cdbce78eb 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -67,6 +67,26 @@ branchProtectionRules: - dependencies (11, java-storage) - dependencies (11, java-pubsub) - cla/google + - pattern: 0.20.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - dependencies (8, java-bigqueryconnection) + - dependencies (8, java-storage) + - dependencies (8, java-pubsub) + - dependencies (11, java-bigqueryconnection) + - dependencies (11, java-storage) + - dependencies (11, java-pubsub) + - cla/google permissionRules: - team: yoshi-admins permission: admin From 4a1674b557e958f6353ff43740bf12ba224d201f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Nov 2021 17:45:20 +0100 Subject: [PATCH 1822/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.3.0 (#627) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1355bfe5c810..2c7b7d4c794f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.1.0 2.6.0 1.1.7 - 1.2.2 + 1.3.0 1.32.2 1.40.1 1.42.0 From 6daf717308f8b38bcdf4e7336e7bb00831ef0d7e Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 11 Nov 2021 14:08:19 -0500 Subject: [PATCH 1823/3036] chore: migrate to owlbot (#529) --- .../.github/.OwlBot.lock.yaml | 3 ++ java-shared-dependencies/.github/.OwlBot.yaml | 18 ++++++++++ .../.github/workflows/ci.yaml | 18 ++-------- java-shared-dependencies/.kokoro/build.sh | 5 +++ .../.kokoro/dependencies.sh | 1 + .../.kokoro/presubmit/graalvm-native.cfg | 33 +++++++++++++++++++ .../.kokoro/release/publish_javadoc11.sh | 10 ++---- .../{synth.py => owlbot.py} | 0 8 files changed, 65 insertions(+), 23 deletions(-) create mode 100644 java-shared-dependencies/.github/.OwlBot.lock.yaml create mode 100644 java-shared-dependencies/.github/.OwlBot.yaml create mode 100644 java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg rename java-shared-dependencies/{synth.py => owlbot.py} (100%) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml new file mode 100644 index 000000000000..dd929fc8063b --- /dev/null +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -0,0 +1,3 @@ +docker: + image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest + digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 \ No newline at end of file diff --git a/java-shared-dependencies/.github/.OwlBot.yaml b/java-shared-dependencies/.github/.OwlBot.yaml new file mode 100644 index 000000000000..b298a79f0a92 --- /dev/null +++ b/java-shared-dependencies/.github/.OwlBot.yaml @@ -0,0 +1,18 @@ + + +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +docker: + image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" \ No newline at end of file diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 2425d7234f42..05de1f60dcf0 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -8,13 +8,11 @@ jobs: units: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -27,9 +25,6 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -45,9 +40,6 @@ jobs: java: [8, 11, 17] steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu @@ -58,13 +50,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu - java-version: 8 + java-version: 11 - run: java -version - run: .kokoro/build.sh env: @@ -73,9 +62,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - uses: actions/setup-java@v2 with: distribution: zulu diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index a0ff7e37d371..5f5bed07f3a5 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -69,6 +69,11 @@ integration) verify RETURN_CODE=$? ;; +graalvm) + # Run Unit and Integration Tests with Native Image + mvn test -Pnative -Penable-integration-tests + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index 240e074712a8..d7476cfe9727 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -37,6 +37,7 @@ function determineMavenOpts() { | sed -E 's/^.*"(.*?)".*$/\1/g' \ | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' ) + if [[ $javaVersion == 17* ]] then # MaxPermSize is no longer supported as of jdk 17 diff --git a/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg b/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg new file mode 100644 index 000000000000..4c7225ec924e --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh index 4a61df78a787..212ccdcf9d8a 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME=google-cloud-shared-dependencies export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) -# V3 generates docfx yml from javadoc -# generate yml -mvn clean site -B -q -P docFX - -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md -# copy CHANGELOG to docfx-yml dir and rename history.md +# cloud RAD generation +mvn clean javadoc:aggregate -B -q -P docFX +# include CHANGELOG cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml diff --git a/java-shared-dependencies/synth.py b/java-shared-dependencies/owlbot.py similarity index 100% rename from java-shared-dependencies/synth.py rename to java-shared-dependencies/owlbot.py From f47c9faaaacbe41971369bbd35ec8495419d0964 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 11 Nov 2021 15:20:08 -0500 Subject: [PATCH 1824/3036] chore: release 2.3.0 (#607) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 26 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 38 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 2a30c81a54ad..bca8b4ab7427 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [2.3.0](https://www.github.com/googleapis/java-core/compare/v2.2.0...v2.3.0) (2021-11-11) + + +### Features + +* next release from main branch is 2.3.0 ([#602](https://www.github.com/googleapis/java-core/issues/602)) ([34fa5f1](https://www.github.com/googleapis/java-core/commit/34fa5f1e750629d4431d5f97eb8b09ee65ebc016)) + + +### Bug Fixes + +* **java:** java 17 dependency arguments ([#1266](https://www.github.com/googleapis/java-core/issues/1266)) ([#612](https://www.github.com/googleapis/java-core/issues/612)) ([5be3eff](https://www.github.com/googleapis/java-core/commit/5be3eff4041ca39d513979b948afe99f27bb1d20)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.0 ([#613](https://www.github.com/googleapis/java-core/issues/613)) ([62d6ab8](https://www.github.com/googleapis/java-core/commit/62d6ab8b5a7c5edb4482d7afda5b87f4832226ca)) +* update dependency com.google.api:gax-bom to v2.7.0 ([#626](https://www.github.com/googleapis/java-core/issues/626)) ([4a1e965](https://www.github.com/googleapis/java-core/commit/4a1e96551e16a5abc5d8f71f9e096a284fc59528)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.1.7 ([#604](https://www.github.com/googleapis/java-core/issues/604)) ([0d36d59](https://www.github.com/googleapis/java-core/commit/0d36d59e4ff8817ba5984579188bfc6d7745348d)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#610](https://www.github.com/googleapis/java-core/issues/610)) ([c5e33d8](https://www.github.com/googleapis/java-core/commit/c5e33d87d211c22a93ea2e0de1776e7f2fbf6ef7)) +* update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#627](https://www.github.com/googleapis/java-core/issues/627)) ([f4403b2](https://www.github.com/googleapis/java-core/commit/f4403b2af856cc6ce45e2aab277d7e78baa6ecfe)) +* update dependency com.google.code.gson:gson to v2.8.9 ([#615](https://www.github.com/googleapis/java-core/issues/615)) ([ec0e387](https://www.github.com/googleapis/java-core/commit/ec0e387d3c96467218406ef4c5da5e59a11e8b7a)) +* update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#618](https://www.github.com/googleapis/java-core/issues/618)) ([21139a8](https://www.github.com/googleapis/java-core/commit/21139a83821b12b5312e470c61b45ca76a0b921a)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#609](https://www.github.com/googleapis/java-core/issues/609)) ([28e6333](https://www.github.com/googleapis/java-core/commit/28e6333080fbe10ad8ecdfeef12d80af204f71fd)) +* update dependency io.grpc:grpc-bom to v1.42.0 ([#619](https://www.github.com/googleapis/java-core/issues/619)) ([da4cbd5](https://www.github.com/googleapis/java-core/commit/da4cbd5ccc54a81f89635435a2045cfa0de8d722)) +* update dependency org.threeten:threetenbp to v1.5.2 ([#624](https://www.github.com/googleapis/java-core/issues/624)) ([91eec9d](https://www.github.com/googleapis/java-core/commit/91eec9d83285e10cd9ecf3e75cb99b9a9d40cb89)) + ## [2.2.0](https://www.github.com/googleapis/java-core/compare/v2.1.8...v2.2.0) (2021-10-18) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a2bc3a829537..e7290c709e60 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.2.1-SNAPSHOT + 2.3.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.2.1-SNAPSHOT + 2.3.0 com.google.cloud google-cloud-core-grpc - 2.2.1-SNAPSHOT + 2.3.0 com.google.cloud google-cloud-core-http - 2.2.1-SNAPSHOT + 2.3.0 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index fd95cafd0726..d2b4b993fbc1 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.2.1-SNAPSHOT + 2.3.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.2.1-SNAPSHOT + 2.3.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 5adba40fca2c..7ad723891dd8 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.2.1-SNAPSHOT + 2.3.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.2.1-SNAPSHOT + 2.3.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 389acbf7f4a2..f92684a3390c 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.2.1-SNAPSHOT + 2.3.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.2.1-SNAPSHOT + 2.3.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2c7b7d4c794f..9d6fd4ff75ff 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.2.1-SNAPSHOT + 2.3.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 94397de1fc49..8edce4e99933 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.2.0:2.2.1-SNAPSHOT \ No newline at end of file +google-cloud-core:2.3.0:2.3.0 \ No newline at end of file From 88216ce103cad39f17c0ddc10ffe630e7467498d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 11 Nov 2021 20:26:16 +0000 Subject: [PATCH 1825/3036] chore: release 2.3.1-SNAPSHOT (#628) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e7290c709e60..2cd319d4a00c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.0 + 2.3.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.0 + 2.3.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.3.0 + 2.3.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.3.0 + 2.3.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d2b4b993fbc1..6692eb119b07 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.3.0 + 2.3.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.0 + 2.3.1-SNAPSHOT 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 7ad723891dd8..ef3005ab1689 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.3.0 + 2.3.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.0 + 2.3.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f92684a3390c..364679a2fdfc 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.3.0 + 2.3.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.0 + 2.3.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9d6fd4ff75ff..2a46bdce018d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.0 + 2.3.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 8edce4e99933..643e4080496e 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.0:2.3.0 \ No newline at end of file +google-cloud-core:2.3.0:2.3.1-SNAPSHOT \ No newline at end of file From 2d288b49178e9809bfc314b053f9cedf8cf33fef Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 17:59:16 +0100 Subject: [PATCH 1826/3036] deps: update gax.version to v2.7.0 (#515) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c390eac927a4..fd7a8fd0c307 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.41.0 - 2.6.1 + 2.7.0 1.1.0 31.0.1-jre 3.18.1 From 87296708dcdcc5f35dc9b6ce5bfc5eba9cb54bbb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:05:46 +0100 Subject: [PATCH 1827/3036] deps: update dependency org.checkerframework:checker-qual to v3.19.0 (#501) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 17c29a848ec4..b3b3fa127743 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.14 4.5.13 - 3.12.0 + 3.19.0 From ec3f58ce7761c257c2eb12ba022a1e2dda8e4c05 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:06:27 +0100 Subject: [PATCH 1828/3036] deps: update iam.version to v1.1.7 (#504) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fd7a8fd0c307..e635d2d13564 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.40.1 1.32.1 1.32.2 - 1.1.6 + 1.1.7 From 59dc916ba22ff2f5c59fe58631315030c86e9b77 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:06:56 +0100 Subject: [PATCH 1829/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.19.1 (#505) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e635d2d13564..fd4881b45f9f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.7.0 1.1.0 31.0.1-jre - 3.18.1 + 3.19.1 2.0.5 2.6.0 2.2.0 From 373a0f95270918f2cd196f8254ca350e0f55d319 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:07:19 +0100 Subject: [PATCH 1830/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.1 (#507) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fd4881b45f9f..5a52321ed86c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.1 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 1cda34dcd3c9..24392d2930f0 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.1 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index b3b3fa127743..616a486dbba3 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.1 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 8b6cf09e4f44..7f0c9ba9cf1d 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.1.0 + 1.2.1 From ce4e3296f4cfe3df6dc94f8c067a2d609820ec88 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:08:42 +0100 Subject: [PATCH 1831/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.10.0 (#512) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 616a486dbba3..294331c328b4 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.20 0.28.0 3.0.2 - 2.9.0 + 2.10.0 2.13.0 1.15 4.4.14 From 34be9594cecb05cfec92bf44ce4695aa3c5cc68b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:09:06 +0100 Subject: [PATCH 1832/3036] deps: update dependency org.threeten:threetenbp to v1.5.2 (#514) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 294331c328b4..f394248b2a7c 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -58,7 +58,7 @@ ${project.artifactId} 2.8.9 - 1.5.1 + 1.5.2 1.3.2 1.20 0.28.0 From 615f0a9985f24a01c998583b0610a7df67421baf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:09:26 +0100 Subject: [PATCH 1833/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.3.0 (#524) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5a52321ed86c..5443244d337f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.0.5 2.6.0 2.2.0 - 1.2.2 + 1.3.0 1.40.1 1.32.1 1.32.2 From ddeaf56710b6bf89d14291491c05f97d1c230031 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:10:12 +0100 Subject: [PATCH 1834/3036] deps: update dependency io.grpc:grpc-bom to v1.42.1 (#513) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.41.0` -> `1.42.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/compatibility-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/confidence-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.42.1`](https://togithub.com/grpc/grpc-java/compare/v1.42.0...v1.42.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.42.0...v1.42.1) ### [`v1.42.0`](https://togithub.com/grpc/grpc-java/releases/v1.42.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.41.1...v1.42.0) In this release we drop support for Android API level 18 or lower (Jelly Bean or earlier), following Google Play Service’s [discontinued updates for Jelly Bean (API levels 16, 17 & 18)](https://android-developers.googleblog.com/2021/07/google-play-services-discontinuing-jelly-bean.html). ##### API Changes - xds: Added `XdsServerBuilder.overrideBootstrapForTest()` to provide bootstrap override for testing purposes. This way, the test does not need to use the shared environment variable for bootstrap injection. ([#​8575](https://togithub.com/grpc/grpc-java/issues/8575)) - api: Stabilize the `Status.asException(Metadata)` method. ([#​8520](https://togithub.com/grpc/grpc-java/issues/8520)) ##### Bug Fixes - netty: Requests with Connection header are malformed. This is required per HTTP/2. The server now rejects such requests. To improve debuggability for clients, Metadata.Key will log if creating a key for “Connection” - grpclb: Fix “IllegalStateException: already in fallback” channel panic, by not starting fallback timer if already in fallback ([#​8646](https://togithub.com/grpc/grpc-java/issues/8646)). This builds on the fix in 1.38.1. The bug was introduced in 1.38.0. - core, netty, okhttp: Fix AbstractManagedChannelImplBuilder#maxInboundMessageSize(int) ABI ([#​8607](https://togithub.com/grpc/grpc-java/issues/8607)). Solves the issue with NettyChannelBuilder.maxInboundMessageSize(int) and OkHttpChannelBuilder.maxInboundMessageSize(int) not working in rare cases when pre-1.33 builds combined with post-1.33. See issue [#​8313](https://togithub.com/grpc/grpc-java/issues/8313) for the details. ##### New Features - binder: A new transport with channel and server builders which support cross-process and cross-application communication on Android. BinderChannel is production ready and in use by several Google applications, though the APIs are still experimental and subject to change. It does not currently support rpc-level flow control for streaming RPCs. See [gRFC L73](https://togithub.com/grpc/proposal/blob/master/L73-java-binderchannel.md) for background. - xds: implemented rbac filter per [A41 xDS RBAC](https://togithub.com/grpc/proposal/blob/master/A41-xds-rbac.md). This is the first HTTP filter supported on server-side. - stub: add `ServerCallStreamObserver.setOnCloseHandler(Runnable)`. Notified when gRPC has completed processing the RPC. ([#​8452](https://togithub.com/grpc/grpc-java/issues/8452)) ##### Behavior Changes - core: gRPC-Java library discards any Content-Length header set by the application because in most cases this header is blindly forwarded from some other source and is incorrect for gRPC payload. - netty: Use Host header on server-side if :authority is not present - rls: the cache_size in route lookup config is limited to 5M - core: changed the level mapping ChannelLogger uses for java.util.logging.Level ([#​8531](https://togithub.com/grpc/grpc-java/issues/8531)). It is now possible to enable Java logging for Channelz’s INFO without also enabling DEBUG (previously they were both FINEST). ##### Dependencies - Compatibility with the upcoming Bazel 5 added. This required dropping support for Bazel 1-3. Bazel 4 or later is required ([#​7598](https://togithub.com/grpc/grpc-java/issues/7598)) - netty: bump netty to `4.1.63.Final` and tcnative to `2.0.38.Final`. ([#​8167](https://togithub.com/grpc/grpc-java/issues/8167)) ##### Improvements - core: `io.grpc.util.AdvancedTlsX509KeyManager` and `AdvancedTlsX509TrustManager` support loading configuration from static files. ([#​8525](https://togithub.com/grpc/grpc-java/issues/8525)) - core: `io.grpc.util.CertificateUtils.getPrivateKey()` now supports RSA and EC key algorithms ### [`v1.41.1`](https://togithub.com/grpc/grpc-java/releases/v1.41.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.41.0...v1.41.1) ##### Bug Fixes - grpclb: Fix “IllegalStateException: already in fallback” channel panic, by not starting fallback timer if already in fallback ([#​8646](https://togithub.com/grpc/grpc-java/issues/8646)). This builds on the fix in 1.38.1. The bug was introduced in 1.38.0.
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5443244d337f..0b194c43c23e 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.41.0 + 1.42.1 2.7.0 1.1.0 31.0.1-jre From 497ebf75e357688574fd9e9475b03ecc5bcbb723 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:12:39 +0100 Subject: [PATCH 1835/3036] deps: update dependency com.google.api:api-common to v2.1.0 (#508) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.0.5` -> `2.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/compatibility-slim/2.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.0/confidence-slim/2.0.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.1.0`](https://togithub.com/googleapis/api-common-java/blob/master/CHANGELOG.md#​210-httpswwwgithubcomgoogleapisapi-common-javacomparev205v210-2021-10-20) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.0.5...v2.1.0) ##### Features - next release from main branch is 2.1.0 ([#​308](https://www.togithub.com/googleapis/api-common-java/issues/308)) ([3965b13](https://www.github.com/googleapis/api-common-java/commit/3965b13ea832cefe4aa58f4f2ecfd0423686c0f9)) ##### [2.0.5](https://www.github.com/googleapis/api-common-java/compare/v2.0.4...v2.0.5) (2021-10-08) ##### Dependencies - add maven plugin to enable install ([#​304](https://www.togithub.com/googleapis/api-common-java/issues/304)) ([ea0b777](https://www.github.com/googleapis/api-common-java/commit/ea0b7773c799db16b2ae68ff600dcacaca52abf9)) ##### [2.0.4](https://www.github.com/googleapis/api-common-java/compare/v2.0.3...v2.0.4) (2021-10-06) ##### Dependencies - use nexus-publish plugin ([#​300](https://www.togithub.com/googleapis/api-common-java/issues/300)) ([e502ae6](https://www.github.com/googleapis/api-common-java/commit/e502ae63f7cea8293c3bf617a74bc74bd345edbc)) ##### [2.0.3](https://www.github.com/googleapis/api-common-java/compare/v2.0.3...v2.0.3) (2021-10-06) ##### Dependencies - use nexus-publish plugin ([#​297](https://www.togithub.com/googleapis/api-common-java/issues/297)) ([ea19c90](https://www.github.com/googleapis/api-common-java/commit/ea19c90e95088bd4c633c213b092fc9df673a02f)) ##### [2.0.2](https://www.github.com/googleapis/api-common-java/compare/v2.0.1...v2.0.2) (2021-08-20) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#​266](https://www.togithub.com/googleapis/api-common-java/issues/266)) ([9019ce9](https://www.github.com/googleapis/api-common-java/commit/9019ce98dcd722deea2ca3845d4396184dcc1599)) ##### [2.0.1](https://www.github.com/googleapis/api-common-java/compare/v2.0.0...v2.0.1) (2021-08-10) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#​261](https://www.togithub.com/googleapis/api-common-java/issues/261)) ([1875934](https://www.github.com/googleapis/api-common-java/commit/187593451b90252daddb55555ab4d40e2fbd4d82))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 0b194c43c23e..82ace3ef3790 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 31.0.1-jre 3.19.1 - 2.0.5 + 2.1.0 2.6.0 2.2.0 1.3.0 From 1d201fe452303f4ba31c23361cd1917b2d63e8a6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 12 Nov 2021 19:23:11 +0100 Subject: [PATCH 1836/3036] deps: update google.core.version to v2.3.0 (#530) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 82ace3ef3790..085c52b7c7ba 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.1 2.1.0 2.6.0 - 2.2.0 + 2.3.0 1.3.0 1.40.1 1.32.1 From 28475544f7732ec289a0eab7bc3439126e2a0bab Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 12 Nov 2021 18:42:12 +0000 Subject: [PATCH 1837/3036] chore: release 2.5.0 (#517) :robot: I have created a release \*beep\* \*boop\* --- ## [2.5.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.4.0...v2.5.0) (2021-11-12) ### Features * next release from main branch is 2.5.0 ([#510](https://www.github.com/googleapis/java-shared-dependencies/issues/510)) ([011be46](https://www.github.com/googleapis/java-shared-dependencies/commit/011be46db0ac3e1dfed31f078679a615757c4f55)) ### Bug Fixes * dependencies.sh to work with Java 17 ([#516](https://www.github.com/googleapis/java-shared-dependencies/issues/516)) ([b9c4b23](https://www.github.com/googleapis/java-shared-dependencies/commit/b9c4b23e5fdb5715d162057a43df5cbacac94acc)) ### Dependencies * update dependency com.google.api:api-common to v2.1.0 ([#508](https://www.github.com/googleapis/java-shared-dependencies/issues/508)) ([497ebf7](https://www.github.com/googleapis/java-shared-dependencies/commit/497ebf75e357688574fd9e9475b03ecc5bcbb723)) * update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#506](https://www.github.com/googleapis/java-shared-dependencies/issues/506)) ([b26fe14](https://www.github.com/googleapis/java-shared-dependencies/commit/b26fe140c251800090416a664538bd03affec264)) * update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#524](https://www.github.com/googleapis/java-shared-dependencies/issues/524)) ([615f0a9](https://www.github.com/googleapis/java-shared-dependencies/commit/615f0a9985f24a01c998583b0610a7df67421baf)) * update dependency com.google.code.gson:gson to v2.8.9 ([#509](https://www.github.com/googleapis/java-shared-dependencies/issues/509)) ([6d3efe9](https://www.github.com/googleapis/java-shared-dependencies/commit/6d3efe94a2ef062d5e7012a85c1b654d547f8a24)) * update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#512](https://www.github.com/googleapis/java-shared-dependencies/issues/512)) ([ce4e329](https://www.github.com/googleapis/java-shared-dependencies/commit/ce4e3296f4cfe3df6dc94f8c067a2d609820ec88)) * update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#505](https://www.github.com/googleapis/java-shared-dependencies/issues/505)) ([59dc916](https://www.github.com/googleapis/java-shared-dependencies/commit/59dc916ba22ff2f5c59fe58631315030c86e9b77)) * update dependency io.grpc:grpc-bom to v1.42.1 ([#513](https://www.github.com/googleapis/java-shared-dependencies/issues/513)) ([ddeaf56](https://www.github.com/googleapis/java-shared-dependencies/commit/ddeaf56710b6bf89d14291491c05f97d1c230031)) * update dependency org.checkerframework:checker-qual to v3.19.0 ([#501](https://www.github.com/googleapis/java-shared-dependencies/issues/501)) ([8729670](https://www.github.com/googleapis/java-shared-dependencies/commit/87296708dcdcc5f35dc9b6ce5bfc5eba9cb54bbb)) * update dependency org.threeten:threetenbp to v1.5.2 ([#514](https://www.github.com/googleapis/java-shared-dependencies/issues/514)) ([34be959](https://www.github.com/googleapis/java-shared-dependencies/commit/34be9594cecb05cfec92bf44ce4695aa3c5cc68b)) * update gax.version to v2.7.0 ([#515](https://www.github.com/googleapis/java-shared-dependencies/issues/515)) ([2d288b4](https://www.github.com/googleapis/java-shared-dependencies/commit/2d288b49178e9809bfc314b053f9cedf8cf33fef)) * update google.core.version to v2.3.0 ([#530](https://www.github.com/googleapis/java-shared-dependencies/issues/530)) ([1d201fe](https://www.github.com/googleapis/java-shared-dependencies/commit/1d201fe452303f4ba31c23361cd1917b2d63e8a6)) * update iam.version to v1.1.7 ([#504](https://www.github.com/googleapis/java-shared-dependencies/issues/504)) ([ec3f58c](https://www.github.com/googleapis/java-shared-dependencies/commit/ec3f58ce7761c257c2eb12ba022a1e2dda8e4c05)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 28 +++++++++++++++++++ java-shared-dependencies/README.md | 2 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++-- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 37 insertions(+), 9 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index c179bf9d043b..0c4cc3d87c61 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [2.5.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.4.0...v2.5.0) (2021-11-12) + + +### Features + +* next release from main branch is 2.5.0 ([#510](https://www.github.com/googleapis/java-shared-dependencies/issues/510)) ([ca9eb8a](https://www.github.com/googleapis/java-shared-dependencies/commit/ca9eb8a40ae81d69de0d82d9499ef21b0136ae49)) + + +### Bug Fixes + +* dependencies.sh to work with Java 17 ([#516](https://www.github.com/googleapis/java-shared-dependencies/issues/516)) ([8422c1d](https://www.github.com/googleapis/java-shared-dependencies/commit/8422c1d7e9ef479f348e63c530789050b5235426)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.0 ([#508](https://www.github.com/googleapis/java-shared-dependencies/issues/508)) ([ae32d16](https://www.github.com/googleapis/java-shared-dependencies/commit/ae32d1689c78fc1469206c8c0df0ebaca59edd2c)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#506](https://www.github.com/googleapis/java-shared-dependencies/issues/506)) ([b9a8209](https://www.github.com/googleapis/java-shared-dependencies/commit/b9a82098655f29e858bd0c7a9b1049a379e5062a)) +* update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#524](https://www.github.com/googleapis/java-shared-dependencies/issues/524)) ([fc07879](https://www.github.com/googleapis/java-shared-dependencies/commit/fc07879fa6531e39b21977fe77abc19354a1fd33)) +* update dependency com.google.code.gson:gson to v2.8.9 ([#509](https://www.github.com/googleapis/java-shared-dependencies/issues/509)) ([bece99b](https://www.github.com/googleapis/java-shared-dependencies/commit/bece99bb3e0365e60e7376ba18d046ab6436a235)) +* update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#512](https://www.github.com/googleapis/java-shared-dependencies/issues/512)) ([c281f13](https://www.github.com/googleapis/java-shared-dependencies/commit/c281f137525e2111e97349657be578ed1fc832f2)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#505](https://www.github.com/googleapis/java-shared-dependencies/issues/505)) ([94cde96](https://www.github.com/googleapis/java-shared-dependencies/commit/94cde96069900f9f8c2ff9a522671d03b26828bd)) +* update dependency io.grpc:grpc-bom to v1.42.1 ([#513](https://www.github.com/googleapis/java-shared-dependencies/issues/513)) ([0d2b774](https://www.github.com/googleapis/java-shared-dependencies/commit/0d2b774287a132821cc6fe2789140086bc48d525)) +* update dependency org.checkerframework:checker-qual to v3.19.0 ([#501](https://www.github.com/googleapis/java-shared-dependencies/issues/501)) ([2b3e0b5](https://www.github.com/googleapis/java-shared-dependencies/commit/2b3e0b5ddc3a645b20a837f3123394f1ca114f08)) +* update dependency org.threeten:threetenbp to v1.5.2 ([#514](https://www.github.com/googleapis/java-shared-dependencies/issues/514)) ([4885f40](https://www.github.com/googleapis/java-shared-dependencies/commit/4885f402e2c70435cd10d4f1b893df9873808c56)) +* update gax.version to v2.7.0 ([#515](https://www.github.com/googleapis/java-shared-dependencies/issues/515)) ([567e728](https://www.github.com/googleapis/java-shared-dependencies/commit/567e728b0e59233a04e2d04183e6a0c36cca2437)) +* update google.core.version to v2.3.0 ([#530](https://www.github.com/googleapis/java-shared-dependencies/issues/530)) ([78e87e9](https://www.github.com/googleapis/java-shared-dependencies/commit/78e87e96befab34dc4a494e752aeb473cd14a156)) +* update iam.version to v1.1.7 ([#504](https://www.github.com/googleapis/java-shared-dependencies/issues/504)) ([63dd583](https://www.github.com/googleapis/java-shared-dependencies/commit/63dd583c80f35b01a66fd1908d41467468c66436)) + ## [2.4.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.3.0...v2.4.0) (2021-10-18) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index a199c18e64fd..381b87ff6470 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.4.0 + 2.5.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 085c52b7c7ba..d32ae7865d97 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 - 2.4.1-SNAPSHOT + 2.5.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 24392d2930f0..852e5e45e319 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 - 2.4.1-SNAPSHOT + 2.5.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.4.1-SNAPSHOT + 2.5.0 pom import com.google.cloud third-party-dependencies - 2.4.1-SNAPSHOT + 2.5.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index f394248b2a7c..748e3e66bd73 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 - 2.4.1-SNAPSHOT + 2.5.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 7f0c9ba9cf1d..843b4b992be8 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 - 2.4.1-SNAPSHOT + 2.5.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.4.1-SNAPSHOT + 2.5.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index f69d75b24ec1..053f29f3834f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.4.0:2.4.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.5.0:2.5.0 \ No newline at end of file From 6ea049042b478d6a8ca525bd29425ab196f29c04 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Nov 2021 17:00:38 +0100 Subject: [PATCH 1838/3036] deps: update dependency io.grpc:grpc-bom to v1.42.1 (#629) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.42.0` -> `1.42.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/compatibility-slim/1.42.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.42.1/confidence-slim/1.42.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.42.1`](https://togithub.com/grpc/grpc-java/compare/v1.42.0...v1.42.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.42.0...v1.42.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2a46bdce018d..18e65aeaf673 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.3.0 1.32.2 1.40.1 - 1.42.0 + 1.42.1 3.19.1 0.28.0 1.3.2 From 77dc4d630a2bb7841bd785ff1a5f7082620cfe8c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 15 Nov 2021 16:06:27 +0000 Subject: [PATCH 1839/3036] chore: release 2.3.1 (#630) :robot: I have created a release \*beep\* \*boop\* --- ### [2.3.1](https://www.github.com/googleapis/java-core/compare/v2.3.0...v2.3.1) (2021-11-15) ### Dependencies * update dependency io.grpc:grpc-bom to v1.42.1 ([#629](https://www.github.com/googleapis/java-core/issues/629)) ([6ea0490](https://www.github.com/googleapis/java-core/commit/6ea049042b478d6a8ca525bd29425ab196f29c04)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index bca8b4ab7427..0feccc3c482a 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.3.1](https://www.github.com/googleapis/java-core/compare/v2.3.0...v2.3.1) (2021-11-15) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.42.1 ([#629](https://www.github.com/googleapis/java-core/issues/629)) ([85fcd99](https://www.github.com/googleapis/java-core/commit/85fcd99237d7526b1b373d07204c4114c49b08b8)) + ## [2.3.0](https://www.github.com/googleapis/java-core/compare/v2.2.0...v2.3.0) (2021-11-11) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 2cd319d4a00c..1d9e757d8605 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.1-SNAPSHOT + 2.3.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.1-SNAPSHOT + 2.3.1 com.google.cloud google-cloud-core-grpc - 2.3.1-SNAPSHOT + 2.3.1 com.google.cloud google-cloud-core-http - 2.3.1-SNAPSHOT + 2.3.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6692eb119b07..82ca8f08504d 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.3.1-SNAPSHOT + 2.3.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.1-SNAPSHOT + 2.3.1 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 ef3005ab1689..3188e4c71dcd 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.3.1-SNAPSHOT + 2.3.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.1-SNAPSHOT + 2.3.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 364679a2fdfc..8853ba701286 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.3.1-SNAPSHOT + 2.3.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.1-SNAPSHOT + 2.3.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 18e65aeaf673..236f41d92765 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.1-SNAPSHOT + 2.3.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 643e4080496e..3dd6e1baf094 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.0:2.3.1-SNAPSHOT \ No newline at end of file +google-cloud-core:2.3.1:2.3.1 \ No newline at end of file From 97e38432a8cd2c409ea550cd2a22f1eb15e3d223 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Nov 2021 17:16:35 +0100 Subject: [PATCH 1840/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 (#237) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.4.0` -> `2.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.0/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.5.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​250-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare240v250-2021-11-12) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.4.0...v2.5.0) ##### Features - next release from main branch is 2.5.0 ([#​510](https://www.togithub.com/googleapis/java-shared-dependencies/issues/510)) ([ca9eb8a](https://www.github.com/googleapis/java-shared-dependencies/commit/ca9eb8a40ae81d69de0d82d9499ef21b0136ae49)) ##### Bug Fixes - dependencies.sh to work with Java 17 ([#​516](https://www.togithub.com/googleapis/java-shared-dependencies/issues/516)) ([8422c1d](https://www.github.com/googleapis/java-shared-dependencies/commit/8422c1d7e9ef479f348e63c530789050b5235426)) ##### Dependencies - update dependency com.google.api:api-common to v2.1.0 ([#​508](https://www.togithub.com/googleapis/java-shared-dependencies/issues/508)) ([ae32d16](https://www.github.com/googleapis/java-shared-dependencies/commit/ae32d1689c78fc1469206c8c0df0ebaca59edd2c)) - update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#​506](https://www.togithub.com/googleapis/java-shared-dependencies/issues/506)) ([b9a8209](https://www.github.com/googleapis/java-shared-dependencies/commit/b9a82098655f29e858bd0c7a9b1049a379e5062a)) - update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#​524](https://www.togithub.com/googleapis/java-shared-dependencies/issues/524)) ([fc07879](https://www.github.com/googleapis/java-shared-dependencies/commit/fc07879fa6531e39b21977fe77abc19354a1fd33)) - update dependency com.google.code.gson:gson to v2.8.9 ([#​509](https://www.togithub.com/googleapis/java-shared-dependencies/issues/509)) ([bece99b](https://www.github.com/googleapis/java-shared-dependencies/commit/bece99bb3e0365e60e7376ba18d046ab6436a235)) - update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#​512](https://www.togithub.com/googleapis/java-shared-dependencies/issues/512)) ([c281f13](https://www.github.com/googleapis/java-shared-dependencies/commit/c281f137525e2111e97349657be578ed1fc832f2)) - update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#​505](https://www.togithub.com/googleapis/java-shared-dependencies/issues/505)) ([94cde96](https://www.github.com/googleapis/java-shared-dependencies/commit/94cde96069900f9f8c2ff9a522671d03b26828bd)) - update dependency io.grpc:grpc-bom to v1.42.1 ([#​513](https://www.togithub.com/googleapis/java-shared-dependencies/issues/513)) ([0d2b774](https://www.github.com/googleapis/java-shared-dependencies/commit/0d2b774287a132821cc6fe2789140086bc48d525)) - update dependency org.checkerframework:checker-qual to v3.19.0 ([#​501](https://www.togithub.com/googleapis/java-shared-dependencies/issues/501)) ([2b3e0b5](https://www.github.com/googleapis/java-shared-dependencies/commit/2b3e0b5ddc3a645b20a837f3123394f1ca114f08)) - update dependency org.threeten:threetenbp to v1.5.2 ([#​514](https://www.togithub.com/googleapis/java-shared-dependencies/issues/514)) ([4885f40](https://www.github.com/googleapis/java-shared-dependencies/commit/4885f402e2c70435cd10d4f1b893df9873808c56)) - update gax.version to v2.7.0 ([#​515](https://www.togithub.com/googleapis/java-shared-dependencies/issues/515)) ([567e728](https://www.github.com/googleapis/java-shared-dependencies/commit/567e728b0e59233a04e2d04183e6a0c36cca2437)) - update google.core.version to v2.3.0 ([#​530](https://www.togithub.com/googleapis/java-shared-dependencies/issues/530)) ([78e87e9](https://www.github.com/googleapis/java-shared-dependencies/commit/78e87e96befab34dc4a494e752aeb473cd14a156)) - update iam.version to v1.1.7 ([#​504](https://www.togithub.com/googleapis/java-shared-dependencies/issues/504)) ([63dd583](https://www.github.com/googleapis/java-shared-dependencies/commit/63dd583c80f35b01a66fd1908d41467468c66436))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a0899c9fad55..cfb55b51eb1e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.4.0 + 2.5.0 pom import From 2c78c007c5ae73b56cd54f96884b49f9568d19b0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 15 Nov 2021 12:26:01 -0800 Subject: [PATCH 1841/3036] chore(ruby): Re-enable bigquery-storage-v1 generation, which also required updating protobuf from 3.15.3 to 3.18.1 for codegen (#218) PiperOrigin-RevId: 403132955 Source-Author: Google APIs Source-Date: Thu Oct 14 10:50:47 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: d2977af9e9f1fc0c9dc8368352daa032471f3c63 Source-Link: https://github.com/googleapis/googleapis/commit/d2977af9e9f1fc0c9dc8368352daa032471f3c63 Co-authored-by: Chanseok Oh --- .../java/com/google/iam/v1/AuditConfigDelta.java | 12 ++++++------ .../src/main/java/com/google/iam/v1/Binding.java | 4 ++-- .../main/java/com/google/iam/v1/BindingDelta.java | 8 ++++---- .../java/com/google/iam/v1/GetIamPolicyRequest.java | 4 ++-- .../java/com/google/iam/v1/SetIamPolicyRequest.java | 4 ++-- .../com/google/iam/v1/TestIamPermissionsRequest.java | 4 ++-- java-iam/synth.metadata | 4 ++-- 7 files changed, 20 insertions(+), 20 deletions(-) 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 f4e3194fc041..b1f2b2dcbe03 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 @@ -508,13 +508,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) { output.writeEnum(1, action_); } - if (!getServiceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_); } - if (!getExemptedMemberBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exemptedMember_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, exemptedMember_); } - if (!getLogTypeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logType_); } unknownFields.writeTo(output); @@ -529,13 +529,13 @@ public int getSerializedSize() { if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_); } - if (!getServiceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_); } - if (!getExemptedMemberBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exemptedMember_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, exemptedMember_); } - if (!getLogTypeBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logType_); } size += unknownFields.getSerializedSize(); 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 394a969b4331..b85e84070e95 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 @@ -370,7 +370,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getRoleBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, role_); } for (int i = 0; i < members_.size(); i++) { @@ -388,7 +388,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getRoleBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, role_); } { 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 c5557b7346bd..ed69378ddd9a 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 @@ -504,10 +504,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { output.writeEnum(1, action_); } - if (!getRoleBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, role_); } - if (!getMemberBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, member_); } if (condition_ != null) { @@ -525,10 +525,10 @@ public int getSerializedSize() { if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_); } - if (!getRoleBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, role_); } - if (!getMemberBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_); } if (condition_ != null) { 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 b4b3a7af1141..6f21bb3ef403 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 @@ -244,7 +244,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getResourceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } if (options_ != null) { @@ -259,7 +259,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getResourceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } if (options_ != null) { 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 d5df476e92be..91de98ad27d9 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 @@ -249,7 +249,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getResourceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } if (policy_ != null) { @@ -264,7 +264,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getResourceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } if (policy_ != null) { 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 081420deac2e..5fdcc7319719 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 @@ -268,7 +268,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getResourceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); } for (int i = 0; i < permissions_.size(); i++) { @@ -283,7 +283,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getResourceBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); } { diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 090811c516b9..27ae22b00a4d 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", - "internalRef": "361377784" + "sha": "d2977af9e9f1fc0c9dc8368352daa032471f3c63", + "internalRef": "403132955" } }, { From 3f969a00a518b4b531868b1ca5c56cdf9cf48650 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 15 Nov 2021 13:08:03 -0800 Subject: [PATCH 1842/3036] chore: cleanup cloud RAD generation (#234) * chore: cleanup cloud RAD generation Updating cloud rad generation to support [java-shared-config/pull/344](https://github.com/googleapis/java-shared-config/pull/344) updates and removing inclusion of README as we're not currently supporting this feature yet Source-Author: Emily Ball Source-Date: Mon Nov 8 13:23:34 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 99ea92a109dbcd4e2b8c179e337848ba6a25fe16 Source-Link: https://github.com/googleapis/synthtool/commit/99ea92a109dbcd4e2b8c179e337848ba6a25fe16 * chore: update jre to 11 for linter java-format requires JRE v11+ to run linter. It still check older code, just jre has to be 11+: https://github.com/google/google-java-format/issues/529 Updating ci.yaml template since it is applicable for all the libraries. Source-Author: Timur Sadykov Source-Date: Tue Nov 9 01:52:34 2021 +0000 Source-Repo: googleapis/synthtool Source-Sha: 42a3786737c17ece39924d7025f3be481812da53 Source-Link: https://github.com/googleapis/synthtool/commit/42a3786737c17ece39924d7025f3be481812da53 --- java-iam/.github/workflows/ci.yaml | 2 +- java-iam/.kokoro/release/publish_javadoc11.sh | 10 +++------- java-iam/synth.metadata | 4 ++-- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 93b337c62839..05de1f60dcf0 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -53,7 +53,7 @@ jobs: - uses: actions/setup-java@v2 with: distribution: zulu - java-version: 8 + java-version: 11 - run: java -version - run: .kokoro/build.sh env: diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index 1e37c9b0babd..00af26cc3654 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME=proto-google-iam-v1 export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) -# V3 generates docfx yml from javadoc -# generate yml -mvn clean site -B -q -P docFX - -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md -# copy CHANGELOG to docfx-yml dir and rename history.md +# cloud RAD generation +mvn clean javadoc:aggregate -B -q -P docFX +# include CHANGELOG cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 27ae22b00a4d..a2c239599382 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "36a09e753f1439d1975c5b388d460d84646f9190" + "sha": "2b1addef0c4708cfdd5b9d004d5238398e29baa4" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "717a6a1fe247df095092de1321eadc9da887a06c" + "sha": "42a3786737c17ece39924d7025f3be481812da53" } } ], From 383b5e3bc1396f2e20ac40466cc85f55c2655bda Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Nov 2021 23:11:11 +0100 Subject: [PATCH 1843/3036] deps: update dependency io.grpc:grpc-stub to v1.42.1 (#236) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index ee470717d6c5..9e18d8a6b680 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.42.0' + compile 'io.grpc:grpc-stub:1.42.1' compile 'io.grpc:grpc-protobuf:1.42.0' compile project(':proto-google-iam-v1') } From 4dc95c308ad592b81fea273f5e2a90607b0f72aa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Nov 2021 23:16:20 +0100 Subject: [PATCH 1844/3036] deps: update dependency io.grpc:grpc-protobuf to v1.42.1 (#235) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.42.0` -> `1.42.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.1/compatibility-slim/1.42.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.42.1/confidence-slim/1.42.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.42.1`](https://togithub.com/grpc/grpc-java/releases/v1.42.1) Bug fixes: - xds: fix a bug that invalid resources from the control plane was internally classified as missing configuration, but instead it should be classified as a transient error. This will change load balancing states on failure handling behavior: for example, missing LDS at xDS server would make it enter “not serving” mode but a transient error does not affect serving status. [#​8690](https://togithub.com/grpc/grpc-java/issues/8690) - xds: fix a bug where XdsServer didn’t block start() when configuration is missing, and instead errored. [#​8690](https://togithub.com/grpc/grpc-java/issues/8690) - xds: stop generating UUIDs for filter chains that lack them. The UUID was preventing the `XdsServer` from noticing when a control plane sent a needless duplicate update, causing `XdsServer` to drain all its existing connections to use the “new” configuration [#​8688](https://togithub.com/grpc/grpc-java/issues/8688) New feature: - netty: Add ability to set system property `-Dio.grpc.netty.disableConnectionHeaderCheck=false` to disable HTTP Connection header check. This is a temporary workaround to allow fixing out-of-spec HTTP/2 clients [#​8683](https://togithub.com/grpc/grpc-java/issues/8683) - compiler: Protoc plugin for macOS x86 is duplicated to be used on the aarch architecture, to ease use on arm64 macs. The plugin is not actually ARM64, just named as such. Future work will need to compile it appropriately [#​8680](https://togithub.com/grpc/grpc-java/issues/8680)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 9e18d8a6b680..e43b8e572d1b 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.42.1' - compile 'io.grpc:grpc-protobuf:1.42.0' + compile 'io.grpc:grpc-protobuf:1.42.1' compile project(':proto-google-iam-v1') } From 7106c097b07f92ed8e73e0285f23b2f7f08167ee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Nov 2021 23:18:24 +0100 Subject: [PATCH 1845/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.19.1 (#223) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.18.1` -> `3.19.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.1/compatibility-slim/3.18.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.1/confidence-slim/3.18.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.19.1`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.1) ##### Bazel - Ensure that release archives contain everything needed for Bazel ([#​9131](https://togithub.com/protocolbuffers/protobuf/issues/9131)) - Align dependency handling with Bazel best practices ([#​9165](https://togithub.com/protocolbuffers/protobuf/issues/9165)) ##### JavaScript - Fix `ReferenceError: window is not defined` when getting the global object ([#​9156](https://togithub.com/protocolbuffers/protobuf/issues/9156)) ##### Ruby - Fix memory leak in MessageClass.encode ([#​9150](https://togithub.com/protocolbuffers/protobuf/issues/9150)) ### [`v3.19.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.0) ### C++ - Make proto2::Message::DiscardUnknownFields() non-virtual - Separate RepeatedPtrField into its own header file - For default floating point values of 0, consider all bits significant - cmake: support `MSVC_RUNTIME_LIBRARY` property ([#​8851](https://togithub.com/protocolbuffers/protobuf/issues/8851)) - Fix shadowing warnings ([#​8926](https://togithub.com/protocolbuffers/protobuf/issues/8926)) - Fix for issue [#​8484](https://togithub.com/protocolbuffers/protobuf/issues/8484), constant initialization doesn't compile in msvc clang-cl environment ([#​8993](https://togithub.com/protocolbuffers/protobuf/issues/8993)) - Fix build on AIX and SunOS ([#​8373](https://togithub.com/protocolbuffers/protobuf/issues/8373)) ([#​9065](https://togithub.com/protocolbuffers/protobuf/issues/9065)) - Add Android stlport and default toolchains to BUILD. ([#​8290](https://togithub.com/protocolbuffers/protobuf/issues/8290)) ### Java - For default floating point values of 0, consider all bits significant - Annotate `//java/com/google/protobuf/util/...` with nullness annotations - Use ArrayList copy constructor ([#​7853](https://togithub.com/protocolbuffers/protobuf/issues/7853)) ### Kotlin - Switch Kotlin proto DSLs to be implemented with inline value classes - Fixing inlining and deprecation for repeated string fields ([#​9120](https://togithub.com/protocolbuffers/protobuf/issues/9120)) ### Python - Proto2 DecodeError now includes message name in error message - Make MessageToDict convert map keys to strings ([#​8122](https://togithub.com/protocolbuffers/protobuf/issues/8122)) - Add python-requires in setup.py ([#​8989](https://togithub.com/protocolbuffers/protobuf/issues/8989)) - Add python 3.10 ([#​9034](https://togithub.com/protocolbuffers/protobuf/issues/9034)) ### JavaScript - Skip exports if not available by CommonJS ([#​8856](https://togithub.com/protocolbuffers/protobuf/issues/8856)) - JS: Comply with CSP no-unsafe-eval. ([#​8864](https://togithub.com/protocolbuffers/protobuf/issues/8864)) ### PHP - Added "object" as a reserved name for PHP ([#​8962](https://togithub.com/protocolbuffers/protobuf/issues/8962)) ### Ruby - Override Map.clone to use Map's dup method ([#​7938](https://togithub.com/protocolbuffers/protobuf/issues/7938)) - Ruby: build extensions for arm64-darwin ([#​8232](https://togithub.com/protocolbuffers/protobuf/issues/8232)) - Add class method Timestamp.from_time to ruby well known types ([#​8562](https://togithub.com/protocolbuffers/protobuf/issues/8562)) - Adopt pure ruby DSL implementation for JRuby ([#​9047](https://togithub.com/protocolbuffers/protobuf/issues/9047)) - Add size to Map class ([#​8068](https://togithub.com/protocolbuffers/protobuf/issues/8068)) - Fix for descriptor_pb.rb: google/protobuf should be required first ([#​9121](https://togithub.com/protocolbuffers/protobuf/issues/9121)) ### C\# - Correctly set ExtensionRegistry when parsing with MessageParser, but using an already existing CodedInputStream ([#​7246](https://togithub.com/protocolbuffers/protobuf/issues/7246)) - \[C#] Make FieldDescriptor propertyName public ([#​7642](https://togithub.com/protocolbuffers/protobuf/issues/7642))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index e226684ffe22..0e73912f25ae 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.18.1' + compile 'com.google.protobuf:protobuf-java:3.19.1' compile 'com.google.api:api-common:2.1.0' compile project(':proto-google-common-protos') } From bcebe672238281a10ee367f0b8811d7c6b259b04 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 15 Nov 2021 14:43:27 -0800 Subject: [PATCH 1846/3036] chore: update Java and Python dependencies (#238) PiperOrigin-RevId: 408420890 Source-Author: Google APIs Source-Date: Mon Nov 8 13:03:45 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 2921f9fb3bfbd16f6b2da0104373e2b47a80a65e Source-Link: https://github.com/googleapis/googleapis/commit/2921f9fb3bfbd16f6b2da0104373e2b47a80a65e --- .../src/main/java/com/google/iam/v1/IAMPolicyGrpc.java | 1 + java-iam/synth.metadata | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java index de12f933dd89..53e66232afcd 100644 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -44,6 +44,7 @@ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/iam/v1/iam_policy.proto") +@io.grpc.stub.annotations.GrpcGenerated public final class IAMPolicyGrpc { private IAMPolicyGrpc() {} diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index a2c239599382..522b2bfb00f0 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "2b1addef0c4708cfdd5b9d004d5238398e29baa4" + "sha": "744abaf723ee59e5749bde76be6520f2e9e843e9" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "d2977af9e9f1fc0c9dc8368352daa032471f3c63", - "internalRef": "403132955" + "sha": "2921f9fb3bfbd16f6b2da0104373e2b47a80a65e", + "internalRef": "408420890" } }, { From 6232ef6861e99b1d6afe85e16c4bf9b4ff5039a9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Nov 2021 18:46:41 +0100 Subject: [PATCH 1847/3036] deps: update dependency com.google.api:api-common to v2.1.1 (#632) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 236f41d92765..72e042d85abc 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.7.0 - 2.1.0 + 2.1.1 2.6.0 1.1.7 1.3.0 From a96c56f14f428e77c77edcf2152b5b4ac00f978a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Nov 2021 18:59:28 +0100 Subject: [PATCH 1848/3036] deps: update dependency com.google.api:api-common to v2.1.1 (#239) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 0e73912f25ae..9666b3910a6a 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.19.1' - compile 'com.google.api:api-common:2.1.0' + compile 'com.google.api:api-common:2.1.1' compile project(':proto-google-common-protos') } From fabec9ac6ad97d6e85d48f345037e9b86a21a0ee Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 16 Nov 2021 18:32:35 +0000 Subject: [PATCH 1849/3036] chore: release 2.3.2-SNAPSHOT (#631) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1d9e757d8605..3154d5830b1a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.1 + 2.3.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.1 + 2.3.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.3.1 + 2.3.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.3.1 + 2.3.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 82ca8f08504d..5cb622dd9f61 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.3.1 + 2.3.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.1 + 2.3.2-SNAPSHOT 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 3188e4c71dcd..7528a2d8e10b 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.3.1 + 2.3.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.1 + 2.3.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8853ba701286..3dfef0505b95 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.3.1 + 2.3.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.1 + 2.3.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 72e042d85abc..ba668d0ce913 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.1 + 2.3.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 3dd6e1baf094..dc34181bfa13 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.1:2.3.1 \ No newline at end of file +google-cloud-core:2.3.1:2.3.2-SNAPSHOT \ No newline at end of file From 5b28cc28c0ef1f057eb4cf782d000db3d9a82e1b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Nov 2021 18:35:43 +0100 Subject: [PATCH 1850/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.2 (#240) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index cfb55b51eb1e..cbb16edf2b67 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 From 5c54fd9415c535b8b4001e50c419da88a282ef3a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Nov 2021 18:46:28 +0100 Subject: [PATCH 1851/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.2 (#634) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.1` -> `1.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/compatibility-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.2/confidence-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.2`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​122-httpswwwgithubcomgoogleapisjava-shared-configcomparev121v122-2021-11-16) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.1...v1.2.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3154d5830b1a..921d50165aa4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index ba668d0ce913..6fd9ce83123b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 From 3ca27c8a0e1e76990bb5655fe0aa407463a76edc Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 22 Nov 2021 18:32:19 +0000 Subject: [PATCH 1852/3036] chore: remove enable-samples profile (#1284) (#635) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/build.sh | 1 - java-core/CONTRIBUTING.md | 61 ++++------------------------- 3 files changed, 8 insertions(+), 56 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 886d09496d14..88d9b926c155 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 + digest: sha256:5b8c790f57cca57e6b37ba25f79291265c218cea3e6ba9714b001910ab3f1419 diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index c09fee43e648..5a4d4fdcc74d 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -91,7 +91,6 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ - -Penable-samples \ -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ diff --git a/java-core/CONTRIBUTING.md b/java-core/CONTRIBUTING.md index f2dbdee06bc3..b65dd279c946 100644 --- a/java-core/CONTRIBUTING.md +++ b/java-core/CONTRIBUTING.md @@ -53,12 +53,12 @@ mvn -Penable-integration-tests clean verify ## Code Samples -Code Samples must be bundled in separate Maven modules, and guarded by a -Maven profile with the name `enable-samples`. +All code samples must be in compliance with the [java sample formatting guide][3]. +Code Samples must be bundled in separate Maven modules. The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 7 whereas samples have - a minimum Java version of Java 8. Due to this we need the ability to +1. Primary projects have a minimum Java version of Java 8 whereas samples can have + Java version of Java 11. Due to this we need the ability to selectively exclude samples from a build run. 2. Many code samples depend on external GCP services and need credentials to access the service. @@ -68,39 +68,16 @@ The samples must be separate from the primary project for a few reasons: ### Building ```bash -mvn -Penable-samples clean verify +mvn clean verify ``` Some samples require access to GCP services and require a service account: ```bash export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-samples clean verify +mvn clean verify ``` -### Profile Config - -1. To add samples in a profile to your Maven project, add the following to your -`pom.xml` - - ```xml - - [...] - - - enable-samples - - sample - - - - [...] - - ``` - -2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory. - ### Code Formatting Code in this repo is formatted with @@ -110,30 +87,6 @@ To run formatting on your project, you can run: mvn com.coveo:fmt-maven-plugin:format ``` -### Profile Activation - -To include code samples when building and testing the project, enable the -`enable-samples` Maven profile. - -#### Command line - -To activate the Maven profile on the command line add `-Penable-samples` to your -Maven command. - -#### Maven `settings.xml` - -To activate the Maven profile in your `~/.m2/settings.xml` add an entry of -`enable-samples` following the instructions in [Active Profiles][2]. - -This method has the benefit of applying to all projects you build (and is -respected by IntelliJ IDEA) and is recommended if you are going to be -contributing samples to several projects. - -#### IntelliJ IDEA - -To activate the Maven Profile inside IntelliJ IDEA, follow the instructions in -[Activate Maven profiles][3] to activate `enable-samples`. - [1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account [2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://www.jetbrains.com/help/idea/work-with-maven-profiles.html#activate_maven_profiles +[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file From dc2b2f66f230c9c9a736577cd4a2d019843f646d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 23 Nov 2021 07:09:57 -0800 Subject: [PATCH 1853/3036] chore: remove enable-samples profile (#241) Source-Author: Neenu Shaji Source-Date: Mon Nov 22 11:22:11 2021 -0500 Source-Repo: googleapis/synthtool Source-Sha: 7a7c48f96e90d1cdc3ab0cc8293279fdcb10fd36 Source-Link: https://github.com/googleapis/synthtool/commit/7a7c48f96e90d1cdc3ab0cc8293279fdcb10fd36 --- java-iam/.kokoro/build.sh | 1 - java-iam/CONTRIBUTING.md | 61 +++++---------------------------------- java-iam/synth.metadata | 4 +-- 3 files changed, 9 insertions(+), 57 deletions(-) diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index bdc9d44fa6ee..5050f6bd1992 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -91,7 +91,6 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ - -Penable-samples \ -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ diff --git a/java-iam/CONTRIBUTING.md b/java-iam/CONTRIBUTING.md index f2dbdee06bc3..b65dd279c946 100644 --- a/java-iam/CONTRIBUTING.md +++ b/java-iam/CONTRIBUTING.md @@ -53,12 +53,12 @@ mvn -Penable-integration-tests clean verify ## Code Samples -Code Samples must be bundled in separate Maven modules, and guarded by a -Maven profile with the name `enable-samples`. +All code samples must be in compliance with the [java sample formatting guide][3]. +Code Samples must be bundled in separate Maven modules. The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 7 whereas samples have - a minimum Java version of Java 8. Due to this we need the ability to +1. Primary projects have a minimum Java version of Java 8 whereas samples can have + Java version of Java 11. Due to this we need the ability to selectively exclude samples from a build run. 2. Many code samples depend on external GCP services and need credentials to access the service. @@ -68,39 +68,16 @@ The samples must be separate from the primary project for a few reasons: ### Building ```bash -mvn -Penable-samples clean verify +mvn clean verify ``` Some samples require access to GCP services and require a service account: ```bash export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-samples clean verify +mvn clean verify ``` -### Profile Config - -1. To add samples in a profile to your Maven project, add the following to your -`pom.xml` - - ```xml - - [...] - - - enable-samples - - sample - - - - [...] - - ``` - -2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory. - ### Code Formatting Code in this repo is formatted with @@ -110,30 +87,6 @@ To run formatting on your project, you can run: mvn com.coveo:fmt-maven-plugin:format ``` -### Profile Activation - -To include code samples when building and testing the project, enable the -`enable-samples` Maven profile. - -#### Command line - -To activate the Maven profile on the command line add `-Penable-samples` to your -Maven command. - -#### Maven `settings.xml` - -To activate the Maven profile in your `~/.m2/settings.xml` add an entry of -`enable-samples` following the instructions in [Active Profiles][2]. - -This method has the benefit of applying to all projects you build (and is -respected by IntelliJ IDEA) and is recommended if you are going to be -contributing samples to several projects. - -#### IntelliJ IDEA - -To activate the Maven Profile inside IntelliJ IDEA, follow the instructions in -[Activate Maven profiles][3] to activate `enable-samples`. - [1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account [2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://www.jetbrains.com/help/idea/work-with-maven-profiles.html#activate_maven_profiles +[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file diff --git a/java-iam/synth.metadata b/java-iam/synth.metadata index 522b2bfb00f0..884257a9aa5d 100644 --- a/java-iam/synth.metadata +++ b/java-iam/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-iam.git", - "sha": "744abaf723ee59e5749bde76be6520f2e9e843e9" + "sha": "0bde6b4db52bf09a4f1f0fbbb7519b82a4e7eb39" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "42a3786737c17ece39924d7025f3be481812da53" + "sha": "7a7c48f96e90d1cdc3ab0cc8293279fdcb10fd36" } } ], From 9a00ab5e37726d08d32aa7fbd86c478ff49d8984 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 2 Dec 2021 11:41:29 -0500 Subject: [PATCH 1854/3036] chore: exclude firestore and spanner samples from formatting (#1295) (#541) * chore: exclude firestore and spanner samples from formatting * chore: remove comment * chore: create a temporary file * chore: fix command Source-Link: https://github.com/googleapis/synthtool/commit/1a34456f4085907ad5523a9a94727f01c32a2405 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:3fc5ed5b0989197e3ee3053d72c90ca230cd0fe8896e591e0ce6fc910072553d Co-authored-by: Owl Bot --- .../.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/build.sh | 1 - java-shared-dependencies/CONTRIBUTING.md | 61 +++---------------- 3 files changed, 8 insertions(+), 56 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index dd929fc8063b..72dadd01bb2a 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:14ecf64ec36f67c7bf04e3dc0f68eafcc01df3955121c38862b695e2ae7515d8 \ No newline at end of file + digest: sha256:3fc5ed5b0989197e3ee3053d72c90ca230cd0fe8896e591e0ce6fc910072553d diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 5f5bed07f3a5..134256eebd29 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -91,7 +91,6 @@ samples) pushd ${SAMPLES_DIR} mvn -B \ - -Penable-samples \ -ntp \ -DtrimStackTrace=false \ -Dclirr.skip=true \ diff --git a/java-shared-dependencies/CONTRIBUTING.md b/java-shared-dependencies/CONTRIBUTING.md index f2dbdee06bc3..b65dd279c946 100644 --- a/java-shared-dependencies/CONTRIBUTING.md +++ b/java-shared-dependencies/CONTRIBUTING.md @@ -53,12 +53,12 @@ mvn -Penable-integration-tests clean verify ## Code Samples -Code Samples must be bundled in separate Maven modules, and guarded by a -Maven profile with the name `enable-samples`. +All code samples must be in compliance with the [java sample formatting guide][3]. +Code Samples must be bundled in separate Maven modules. The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 7 whereas samples have - a minimum Java version of Java 8. Due to this we need the ability to +1. Primary projects have a minimum Java version of Java 8 whereas samples can have + Java version of Java 11. Due to this we need the ability to selectively exclude samples from a build run. 2. Many code samples depend on external GCP services and need credentials to access the service. @@ -68,39 +68,16 @@ The samples must be separate from the primary project for a few reasons: ### Building ```bash -mvn -Penable-samples clean verify +mvn clean verify ``` Some samples require access to GCP services and require a service account: ```bash export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-samples clean verify +mvn clean verify ``` -### Profile Config - -1. To add samples in a profile to your Maven project, add the following to your -`pom.xml` - - ```xml - - [...] - - - enable-samples - - sample - - - - [...] - - ``` - -2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory. - ### Code Formatting Code in this repo is formatted with @@ -110,30 +87,6 @@ To run formatting on your project, you can run: mvn com.coveo:fmt-maven-plugin:format ``` -### Profile Activation - -To include code samples when building and testing the project, enable the -`enable-samples` Maven profile. - -#### Command line - -To activate the Maven profile on the command line add `-Penable-samples` to your -Maven command. - -#### Maven `settings.xml` - -To activate the Maven profile in your `~/.m2/settings.xml` add an entry of -`enable-samples` following the instructions in [Active Profiles][2]. - -This method has the benefit of applying to all projects you build (and is -respected by IntelliJ IDEA) and is recommended if you are going to be -contributing samples to several projects. - -#### IntelliJ IDEA - -To activate the Maven Profile inside IntelliJ IDEA, follow the instructions in -[Activate Maven profiles][3] to activate `enable-samples`. - [1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account [2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://www.jetbrains.com/help/idea/work-with-maven-profiles.html#activate_maven_profiles +[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file From 6c87f490808a208b814fdd93ca5bbc7aa64f4882 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 2 Dec 2021 23:39:38 +0100 Subject: [PATCH 1855/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.7.0 (#638) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6fd9ce83123b..5565ab1a2ea9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.7.0 2.1.1 - 2.6.0 + 2.7.0 1.1.7 1.3.0 1.32.2 From b94a19e5f718eafc972306fc25a59dfcceff79f9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 2 Dec 2021 22:46:14 +0000 Subject: [PATCH 1856/3036] chore: release 2.3.2 (#633) :robot: I have created a release \*beep\* \*boop\* --- ### [2.3.2](https://www.github.com/googleapis/java-core/compare/v2.3.1...v2.3.2) (2021-12-02) ### Dependencies * update dependency com.google.api:api-common to v2.1.1 ([#632](https://www.github.com/googleapis/java-core/issues/632)) ([6232ef6](https://www.github.com/googleapis/java-core/commit/6232ef6861e99b1d6afe85e16c4bf9b4ff5039a9)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.7.0 ([#638](https://www.github.com/googleapis/java-core/issues/638)) ([6c87f49](https://www.github.com/googleapis/java-core/commit/6c87f490808a208b814fdd93ca5bbc7aa64f4882)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 0feccc3c482a..e42cc941657d 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [2.3.2](https://www.github.com/googleapis/java-core/compare/v2.3.1...v2.3.2) (2021-12-02) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.1 ([#632](https://www.github.com/googleapis/java-core/issues/632)) ([b9bb47a](https://www.github.com/googleapis/java-core/commit/b9bb47a0b0a6b132c516361d23750a92a32e53be)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.0 ([#638](https://www.github.com/googleapis/java-core/issues/638)) ([74862a8](https://www.github.com/googleapis/java-core/commit/74862a8864eb7bffe6659d1e2a261dd5b934d6ff)) + ### [2.3.1](https://www.github.com/googleapis/java-core/compare/v2.3.0...v2.3.1) (2021-11-15) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 921d50165aa4..39e7c063b02a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.2-SNAPSHOT + 2.3.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.2-SNAPSHOT + 2.3.2 com.google.cloud google-cloud-core-grpc - 2.3.2-SNAPSHOT + 2.3.2 com.google.cloud google-cloud-core-http - 2.3.2-SNAPSHOT + 2.3.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5cb622dd9f61..25966498c189 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.3.2-SNAPSHOT + 2.3.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.2-SNAPSHOT + 2.3.2 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 7528a2d8e10b..c6ceb70f7efe 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.3.2-SNAPSHOT + 2.3.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.2-SNAPSHOT + 2.3.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3dfef0505b95..6f95c1260fd6 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.3.2-SNAPSHOT + 2.3.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.2-SNAPSHOT + 2.3.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5565ab1a2ea9..acaf6f6b82ea 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.2-SNAPSHOT + 2.3.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index dc34181bfa13..855add2f3553 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.1:2.3.2-SNAPSHOT \ No newline at end of file +google-cloud-core:2.3.2:2.3.2 \ No newline at end of file From 35dac2da3dc0c4f937e66dabdffc696ccc3c05c4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 2 Dec 2021 22:52:15 +0000 Subject: [PATCH 1857/3036] chore: release 2.3.3-SNAPSHOT (#639) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 39e7c063b02a..759cd8ab29a2 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.2 + 2.3.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.2 + 2.3.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.3.2 + 2.3.3-SNAPSHOT com.google.cloud google-cloud-core-http - 2.3.2 + 2.3.3-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 25966498c189..f59c42c22a8f 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.3.2 + 2.3.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.2 + 2.3.3-SNAPSHOT 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 c6ceb70f7efe..f2c6b38a3764 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.3.2 + 2.3.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.2 + 2.3.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6f95c1260fd6..75114473fa59 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.3.2 + 2.3.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.2 + 2.3.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index acaf6f6b82ea..ad9a0dce67a2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.2 + 2.3.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 855add2f3553..28e54a94f6ca 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.2:2.3.2 \ No newline at end of file +google-cloud-core:2.3.2:2.3.3-SNAPSHOT \ No newline at end of file From e53dc7ddfd4334a44a37f0135e6021c139329188 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 2 Dec 2021 18:33:50 -0500 Subject: [PATCH 1858/3036] chore: migrate to owlbot (#242) --- java-iam/.github/.OwlBot.lock.yaml | 3 + java-iam/.github/.OwlBot.yaml | 31 ++++++ java-iam/.repo-metadata.json | 4 +- java-iam/owlbot.py | 29 ++++++ .../clirr-ignored-differences.xml | 33 +++++++ java-iam/proto-google-iam-v1/pom.xml | 7 +- java-iam/synth.py | 96 ------------------- java-iam/versions.txt | 1 + 8 files changed, 103 insertions(+), 101 deletions(-) create mode 100644 java-iam/.github/.OwlBot.lock.yaml create mode 100644 java-iam/.github/.OwlBot.yaml create mode 100644 java-iam/owlbot.py create mode 100644 java-iam/proto-google-iam-v1/clirr-ignored-differences.xml delete mode 100644 java-iam/synth.py diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml new file mode 100644 index 000000000000..954edcdc46b4 --- /dev/null +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -0,0 +1,3 @@ +docker: + digest: sha256:4e961d006ec9e44501273788f3cbe1e060c4666742ba190f60d6a05bcdf3ac8f + image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.github/.OwlBot.yaml new file mode 100644 index 000000000000..fe6bd6427d06 --- /dev/null +++ b/java-iam/.github/.OwlBot.yaml @@ -0,0 +1,31 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +docker: + image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" + +deep-remove-regex: +- "/grpc-google-.*/src" +- "/proto-google-.*/src" + +deep-preserve-regex: +- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" +- "/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging" +- "/proto-google-iam-v1/src/main/proto/google/iam/v1" + +deep-copy-regex: +- source: "/google/iam/v1/google-iam-v1-java/grpc-google-iam-v1-java/src" + dest: "/owl-bot-staging/v1/grpc-google-iam-v1/src" +- source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src" + dest: "/owl-bot-staging/v1/proto-google-iam-v1/src" diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index 378cb16d3808..d4828830a8e3 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -10,5 +10,7 @@ "language": "java", "repo": "googleapis/java-iam", "repo_short": "java-iam", - "distribution_name": "com.google.api.grpc:proto-google-iam-v1" + "distribution_name": "com.google.api.grpc:proto-google-iam-v1", + "excluded_poms": "proto-google-iam-v1-bom", + "excluded_dependencies": "grpc-google-iam-v1" } diff --git a/java-iam/owlbot.py b/java-iam/owlbot.py new file mode 100644 index 000000000000..a53d819dd368 --- /dev/null +++ b/java-iam/owlbot.py @@ -0,0 +1,29 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated parts of this library.""" + +import synthtool as s +from synthtool.languages import java + +for library in s.get_staging_dirs(): + # put any special-case replacements here + s.move(library) + +s.remove_staging_dirs() +java.common_templates(excludes=[ + 'README.md', + 'samples/*', + '.github/workflows/samples.yaml', +]) diff --git a/java-iam/proto-google-iam-v1/clirr-ignored-differences.xml b/java-iam/proto-google-iam-v1/clirr-ignored-differences.xml new file mode 100644 index 000000000000..ca6f8c198141 --- /dev/null +++ b/java-iam/proto-google-iam-v1/clirr-ignored-differences.xml @@ -0,0 +1,33 @@ + + + + + 7012 + com/google/iam/v1/*OrBuilder + * get*(*) + + + 7012 + com/google/iam/v1/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/iam/v1/*OrBuilder + boolean has*(*) + + 7012 + com/google/iam/v1/logging/*OrBuilder + * get*(*) + + + 7012 + com/google/iam/v1/logging/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/iam/v1/logging/*OrBuilder + boolean has*(*) + + diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index c3af2bc88a08..e29cac43280f 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -1,6 +1,5 @@ - + + 4.0.0 com.google.api.grpc proto-google-iam-v1 @@ -31,4 +30,4 @@
    - \ No newline at end of file + diff --git a/java-iam/synth.py b/java-iam/synth.py deleted file mode 100644 index c1d069e1dce5..000000000000 --- a/java-iam/synth.py +++ /dev/null @@ -1,96 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated parts of this library.""" - -import os -from pathlib import Path -import tempfile -from typing import Union - -import synthtool as s -from synthtool.languages import java -from synthtool.sources import git -from synthtool import logger, shell - -versions = ['v1'] - -GOOGLEAPIS_URL = git.make_repo_clone_url("googleapis/googleapis") - -logger.debug("Cloning googleapis.") -googleapis = git.clone(GOOGLEAPIS_URL) - -def bazel_build(target: str, cwd: Union[Path, str]) -> Path: - """Build a bazel target and return the output build directory.""" - old_cwd = os.getcwd() - os.chdir(str(cwd)) - - bazel_run_args = [ - "bazel", - "--max_idle_secs=240", - "build", - target, - ] - - logger.debug(f"Generating code for: {target}.") - shell.run(bazel_run_args) - - output_dir = Path(f"bazel-bin{os.path.sep}{target[2:].split(':')[0]}").resolve() - os.chdir(old_cwd) - - return output_dir - -def build_proto(target): - """Build a proto build target and copy all generate source files.""" - output = bazel_build( - target=target, - cwd=googleapis, - ) - - src_output = Path(tempfile.mkdtemp()) - for proto_jar in output.glob("*-speed-src.jar"): - logger.debug(f"unzipping: {os.path.basename(proto_jar)}") - shell.run(["unzip", "-o", proto_jar, "-d", src_output / "src"]) - - java.fix_proto_headers(src_output) - s.copy(src_output / "src/com", "proto-google-iam-v1/src/main/java/com") - -def build_grpc(target): - """Build a grpc build target and copy all generate source files.""" - output = bazel_build( - target=target, - cwd=googleapis, - ) - - src_output = Path(tempfile.mkdtemp()) - for proto_jar in output.glob("*grpc-src.jar"): - logger.debug(f"unzipping: {os.path.basename(proto_jar)}") - shell.run(["unzip", "-o", proto_jar, "-d", src_output / "src"]) - - java.fix_grpc_headers(src_output, "") - s.copy(src_output / "src/com", "grpc-google-iam-v1/src/main/java/com") - -for version in versions: - build_proto(f"//google/iam/{version}:iam_java_proto") - build_proto(f"//google/iam/{version}/logging:logging_java_proto") - build_grpc(f"//google/iam/{version}:iam_java_grpc") - - java.format_code(f"proto-google-iam-{version}/src") - java.format_code(f"grpc-google-iam-{version}/src") - -java.common_templates(excludes=[ - 'README.md', - 'samples/*', - '.github/workflows/samples.yaml', -]) diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ca261ac6676e..0dd49f84d64a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -2,3 +2,4 @@ # module:released-version:current-version proto-google-iam-v1:1.1.7:1.1.8-SNAPSHOT +grpc-google-iam-v1:1.1.7:1.1.8-SNAPSHOT From 9a472fc027942c4191ce41822b613aae7b4cc413 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 00:49:53 +0100 Subject: [PATCH 1859/3036] deps: update dependency com.google.api:gax-bom to v2.7.1 (#640) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ad9a0dce67a2..3b3ee54844d3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.7.0 + 2.7.1 2.1.1 2.7.0 1.1.7 From e8b7c7d9553528589bc013a5a18bd3b0d7abd67b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 2 Dec 2021 18:51:07 -0500 Subject: [PATCH 1860/3036] chore: release 2.5.1-SNAPSHOT (#531) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d32ae7865d97..2cdd15e84545 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 - 2.5.0 + 2.5.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 852e5e45e319..4ec62ca0129a 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 - 2.5.0 + 2.5.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.5.0 + 2.5.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.5.0 + 2.5.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 748e3e66bd73..41ed55ec6e81 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 - 2.5.0 + 2.5.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 843b4b992be8..b1aa89f183ab 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 - 2.5.0 + 2.5.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.5.0 + 2.5.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 053f29f3834f..5e8963916009 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.5.0:2.5.0 \ No newline at end of file +google-cloud-shared-dependencies:2.5.0:2.5.1-SNAPSHOT \ No newline at end of file From 260ede1753fdf674c6927cb6556aa9307fa5392b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 00:51:20 +0100 Subject: [PATCH 1861/3036] deps: update dependency com.google.api:api-common to v2.1.1 (#533) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2cdd15e84545..51caa6b51ef1 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 31.0.1-jre 3.19.1 - 2.1.0 + 2.1.1 2.6.0 2.3.0 1.3.0 From e046ca57891f070f7fe43e751df3be086be73d13 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 00:51:40 +0100 Subject: [PATCH 1862/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.2 (#535) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 51caa6b51ef1..9e8e69014d8f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4ec62ca0129a..818306ad019b 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 41ed55ec6e81..4988cea1b9ca 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index b1aa89f183ab..80034a6cb522 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.2.1 + 1.2.2
    From 3c9eb2fc81c5c95240a0f019c081f369c8164e64 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 2 Dec 2021 18:56:19 -0500 Subject: [PATCH 1863/3036] chore: release 2.3.3 (#641) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index e42cc941657d..161ca13c82ec 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.3.3](https://www.github.com/googleapis/java-core/compare/v2.3.2...v2.3.3) (2021-12-02) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.7.1 ([#640](https://www.github.com/googleapis/java-core/issues/640)) ([18e033b](https://www.github.com/googleapis/java-core/commit/18e033bdafe536a42ada9f93b0a2b502caea0bcf)) + ### [2.3.2](https://www.github.com/googleapis/java-core/compare/v2.3.1...v2.3.2) (2021-12-02) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 759cd8ab29a2..9dbd2a9086c1 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.3-SNAPSHOT + 2.3.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.3-SNAPSHOT + 2.3.3 com.google.cloud google-cloud-core-grpc - 2.3.3-SNAPSHOT + 2.3.3 com.google.cloud google-cloud-core-http - 2.3.3-SNAPSHOT + 2.3.3 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f59c42c22a8f..6c706c614492 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.3.3-SNAPSHOT + 2.3.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.3-SNAPSHOT + 2.3.3 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 f2c6b38a3764..18761d9db1cd 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.3.3-SNAPSHOT + 2.3.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.3-SNAPSHOT + 2.3.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 75114473fa59..8fb441ec624c 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.3.3-SNAPSHOT + 2.3.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.3-SNAPSHOT + 2.3.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3b3ee54844d3..ddb1b7bdee99 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.3-SNAPSHOT + 2.3.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 28e54a94f6ca..baa4aaa9b147 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.2:2.3.3-SNAPSHOT \ No newline at end of file +google-cloud-core:2.3.3:2.3.3 \ No newline at end of file From f47cdb42edf79e4dc99e47cd9c7ff16f074f1b0e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 00:56:24 +0100 Subject: [PATCH 1864/3036] deps: update gax.version to v2.7.1 (#544) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.7.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.7.1/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.7.1/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.7.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.7.1/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.7.1/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java (com.google.api:gax-grpc) ### [`v2.7.1`](https://togithub.com/googleapis/gax-java/blob/master/CHANGELOG.md#​271-httpswwwgithubcomgoogleapisgax-javacomparev270v271-2021-12-02) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.7.0...v2.7.1)
    googleapis/gax-java (com.google.api:gax-bom)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9e8e69014d8f..730ec2d60b0d 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.42.1 - 2.7.0 + 2.7.1 1.1.0 31.0.1-jre 3.19.1 From f0a424d41a6cd22313ddec56c3a002f6c599731c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 2 Dec 2021 23:58:22 +0000 Subject: [PATCH 1865/3036] chore: keep beta version intact (#1293) (#540) --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 72dadd01bb2a..a335feb71247 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:3fc5ed5b0989197e3ee3053d72c90ca230cd0fe8896e591e0ce6fc910072553d + digest: sha256:4e961d006ec9e44501273788f3cbe1e060c4666742ba190f60d6a05bcdf3ac8f From 1967de4e732e73a0cf9117d5b1da69ddd0add724 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 00:58:27 +0100 Subject: [PATCH 1866/3036] deps: update google.common-protos.version to v2.7.0 (#542) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.6.0` -> `2.7.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.0/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.0/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.6.0` -> `2.7.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.0/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.0/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos (com.google.api.grpc:grpc-google-common-protos) ### [`v2.7.0`](https://togithub.com/googleapis/java-common-protos/blob/master/CHANGELOG.md#​270-httpswwwgithubcomgoogleapisjava-common-protoscomparev260v270-2021-12-01) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.6.0...v2.7.0) ##### Features - add Location proto ([#​270](https://www.togithub.com/googleapis/java-common-protos/issues/270)) ([2e2c8dd](https://www.github.com/googleapis/java-common-protos/commit/2e2c8dd798524df1d0b81f2e809d38c1dd5f744d)) - Introduce Native Image testing build script changes ([#​249](https://www.togithub.com/googleapis/java-common-protos/issues/249)) ([c2fa55a](https://www.github.com/googleapis/java-common-protos/commit/c2fa55a07150dc3e80bdc65948b610f851e87b90)) - next release from main branch is 2.7.0 ([#​246](https://www.togithub.com/googleapis/java-common-protos/issues/246)) ([6a113a3](https://www.github.com/googleapis/java-common-protos/commit/6a113a3afdfee35c4c3af0606bbecc81828c85f0)) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#​251](https://www.togithub.com/googleapis/java-common-protos/issues/251)) ([a5dd0ab](https://www.github.com/googleapis/java-common-protos/commit/a5dd0ab11989e6e3577f938f42f429203a545b92)) - update dependency com.google.protobuf:protobuf-java to v3.19.1 ([#​250](https://www.togithub.com/googleapis/java-common-protos/issues/250)) ([044a495](https://www.github.com/googleapis/java-common-protos/commit/044a4959423eca8481f723748dbf1919803ec55d)) - update dependency io.grpc:grpc-bom to v1.42.0 ([#​258](https://www.togithub.com/googleapis/java-common-protos/issues/258)) ([dfc00e1](https://www.github.com/googleapis/java-common-protos/commit/dfc00e1857c4428255f6e852eacc6cab338bbf1b)) - update dependency io.grpc:grpc-bom to v1.42.1 ([#​264](https://www.togithub.com/googleapis/java-common-protos/issues/264)) ([68fa087](https://www.github.com/googleapis/java-common-protos/commit/68fa087cafd92bbffd37eee6e3aacbf933886885)) - update dependency io.grpc:grpc-protobuf to v1.42.0 ([#​259](https://www.togithub.com/googleapis/java-common-protos/issues/259)) ([6df71fa](https://www.github.com/googleapis/java-common-protos/commit/6df71facf9f5bb6c36d70cf85571fdee6648299e)) - update dependency io.grpc:grpc-protobuf to v1.42.1 ([#​265](https://www.togithub.com/googleapis/java-common-protos/issues/265)) ([671a4cc](https://www.github.com/googleapis/java-common-protos/commit/671a4ccf8c56b1b12a5be7eba504758fa450be3b)) - update dependency io.grpc:grpc-stub to v1.42.0 ([#​260](https://www.togithub.com/googleapis/java-common-protos/issues/260)) ([b15e723](https://www.github.com/googleapis/java-common-protos/commit/b15e7237e1aac5fe4f925f9300b792d11f1eb41c)) - update dependency io.grpc:grpc-stub to v1.42.1 ([#​266](https://www.togithub.com/googleapis/java-common-protos/issues/266)) ([3b8a1ba](https://www.github.com/googleapis/java-common-protos/commit/3b8a1ba8444fde34ba59b6843463daab86833e35))
    googleapis/java-common-protos (com.google.api.grpc:proto-google-common-protos)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 730ec2d60b0d..dff3dc6efe5b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.0.1-jre 3.19.1 2.1.1 - 2.6.0 + 2.7.0 2.3.0 1.3.0 1.40.1 From 44d64bf39ee216374681efba01d9c37a5975d6aa Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 3 Dec 2021 00:02:22 +0000 Subject: [PATCH 1867/3036] chore: release 2.3.4-SNAPSHOT (#642) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 9dbd2a9086c1..b3205eb3838a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.3 + 2.3.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.3 + 2.3.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.3.3 + 2.3.4-SNAPSHOT com.google.cloud google-cloud-core-http - 2.3.3 + 2.3.4-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6c706c614492..cf3c5aea394d 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.3.3 + 2.3.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.3 + 2.3.4-SNAPSHOT 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 18761d9db1cd..67c9ff884958 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.3.3 + 2.3.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.3 + 2.3.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8fb441ec624c..e8175fc4ee9f 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.3.3 + 2.3.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.3 + 2.3.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index ddb1b7bdee99..4835bbf40ddb 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.3 + 2.3.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index baa4aaa9b147..0a18d8cd9bbc 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.3:2.3.3 \ No newline at end of file +google-cloud-core:2.3.3:2.3.4-SNAPSHOT \ No newline at end of file From db48806550548aed1e2005f36d326daf9a86432d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 01:48:10 +0100 Subject: [PATCH 1868/3036] deps: update google.core.version to v2.3.3 (#534) * deps: update google.core.version to v2.3.2 * Update pom.xml Co-authored-by: Neenu Shaji --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index dff3dc6efe5b..4d6a4cd484e7 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.1 2.1.1 2.7.0 - 2.3.0 + 2.3.3 1.3.0 1.40.1 1.32.1 From 5b8cdca0f23675f3e6b28972344f54d18f52c633 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 3 Dec 2021 00:56:32 +0000 Subject: [PATCH 1869/3036] chore: release 2.5.1 (#543) :robot: I have created a release \*beep\* \*boop\* --- ### [2.5.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.0...v2.5.1) (2021-12-03) ### Dependencies * update dependency com.google.api:api-common to v2.1.1 ([#533](https://www.github.com/googleapis/java-shared-dependencies/issues/533)) ([260ede1](https://www.github.com/googleapis/java-shared-dependencies/commit/260ede1753fdf674c6927cb6556aa9307fa5392b)) * update gax.version to v2.7.1 ([#544](https://www.github.com/googleapis/java-shared-dependencies/issues/544)) ([f47cdb4](https://www.github.com/googleapis/java-shared-dependencies/commit/f47cdb42edf79e4dc99e47cd9c7ff16f074f1b0e)) * update google.common-protos.version to v2.7.0 ([#542](https://www.github.com/googleapis/java-shared-dependencies/issues/542)) ([1967de4](https://www.github.com/googleapis/java-shared-dependencies/commit/1967de4e732e73a0cf9117d5b1da69ddd0add724)) * update google.core.version to v2.3.3 ([#534](https://www.github.com/googleapis/java-shared-dependencies/issues/534)) ([db48806](https://www.github.com/googleapis/java-shared-dependencies/commit/db48806550548aed1e2005f36d326daf9a86432d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 10 ++++++++++ java-shared-dependencies/README.md | 2 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 19 insertions(+), 9 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 0c4cc3d87c61..5de57de177b3 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### [2.5.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.0...v2.5.1) (2021-12-03) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.1 ([#533](https://www.github.com/googleapis/java-shared-dependencies/issues/533)) ([4e23adb](https://www.github.com/googleapis/java-shared-dependencies/commit/4e23adb666dfaa18ae8bf869aca030153de16d62)) +* update gax.version to v2.7.1 ([#544](https://www.github.com/googleapis/java-shared-dependencies/issues/544)) ([5a0c480](https://www.github.com/googleapis/java-shared-dependencies/commit/5a0c480671fa834e600edc6ac6fe77967d1b79b3)) +* update google.common-protos.version to v2.7.0 ([#542](https://www.github.com/googleapis/java-shared-dependencies/issues/542)) ([af97eb5](https://www.github.com/googleapis/java-shared-dependencies/commit/af97eb5d9cff397080fdb3d4a6dbf7c2692e0358)) +* update google.core.version to v2.3.3 ([#534](https://www.github.com/googleapis/java-shared-dependencies/issues/534)) ([885acef](https://www.github.com/googleapis/java-shared-dependencies/commit/885acefe4ff5313eb53dc43b4825ca597b97dcfd)) + ## [2.5.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.4.0...v2.5.0) (2021-11-12) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 381b87ff6470..0e61bb1536f6 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.5.0 + 2.5.1 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 4d6a4cd484e7..9bcd1879f0f9 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 - 2.5.1-SNAPSHOT + 2.5.1 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 818306ad019b..531ff51b940b 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 - 2.5.1-SNAPSHOT + 2.5.1 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.5.1-SNAPSHOT + 2.5.1 pom import com.google.cloud third-party-dependencies - 2.5.1-SNAPSHOT + 2.5.1 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 4988cea1b9ca..bfa99499c241 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 - 2.5.1-SNAPSHOT + 2.5.1 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 80034a6cb522..f6eb64a8659b 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 - 2.5.1-SNAPSHOT + 2.5.1 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.5.1-SNAPSHOT + 2.5.1 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5e8963916009..cac1392bb170 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.5.0:2.5.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.5.1:2.5.1 \ No newline at end of file From dcf0fe57ebc555d156430df36154c75b23bf5aad Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 3 Dec 2021 01:12:39 +0000 Subject: [PATCH 1870/3036] chore: release 2.5.2-SNAPSHOT (#545) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9bcd1879f0f9..fcf7fd02c919 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 - 2.5.1 + 2.5.2-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 531ff51b940b..51893395aa13 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 - 2.5.1 + 2.5.2-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.5.1 + 2.5.2-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.5.1 + 2.5.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index bfa99499c241..af903c9b9191 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 - 2.5.1 + 2.5.2-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index f6eb64a8659b..e241d91dc11f 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 - 2.5.1 + 2.5.2-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.5.1 + 2.5.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index cac1392bb170..edee52c4d71e 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.5.1:2.5.1 \ No newline at end of file +google-cloud-shared-dependencies:2.5.1:2.5.2-SNAPSHOT \ No newline at end of file From e7811b114dc3eb376f933e13df634afb8cc3f31a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 3 Dec 2021 18:00:28 +0100 Subject: [PATCH 1871/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 (#243) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.5.0` -> `2.5.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/compatibility-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.5.1/confidence-slim/2.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.5.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​251-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare250v251-2021-12-03) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.5.0...v2.5.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index cbb16edf2b67..36a908e3997f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.5.0 + 2.5.1 pom import From 0c16f02187a6dd66f5c41d104a4dc719fe43914e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 18:02:22 +0000 Subject: [PATCH 1872/3036] fix(java): add -ntp flag to native image testing command (#1299) (#643) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 88d9b926c155..3d2f8282468e 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:5b8c790f57cca57e6b37ba25f79291265c218cea3e6ba9714b001910ab3f1419 + digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 5a4d4fdcc74d..bdaa8cca250f 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn test -Pnative -Penable-integration-tests + mvn -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) From c9cd3ec97ef90e9b94b1b4eaf909b602496d2670 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 18:10:34 +0000 Subject: [PATCH 1873/3036] fix(java): add -ntp flag to native image testing command (#1299) (#244) --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 954edcdc46b4..3d2f8282468e 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: - digest: sha256:4e961d006ec9e44501273788f3cbe1e060c4666742ba190f60d6a05bcdf3ac8f image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest + digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 5050f6bd1992..d72d73cae03c 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn test -Pnative -Penable-integration-tests + mvn -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) From da6cd065244affe947a7a1af7a985977697b3931 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 13:59:58 -0800 Subject: [PATCH 1874/3036] chore: release 1.2.0 (#226) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-iam/CHANGELOG.md | 26 ++++++++++++++++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 34 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index db3fb4299475..858c12c73258 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [1.2.0](https://www.github.com/googleapis/java-iam/compare/v1.1.7...v1.2.0) (2021-12-06) + + +### Features + +* Introduce Native Image testing build script changes ([#219](https://www.github.com/googleapis/java-iam/issues/219)) ([58c9a81](https://www.github.com/googleapis/java-iam/commit/58c9a81c55274b64c5e6877c9f909466a672c385)) + + +### Bug Fixes + +* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-iam/issues/1299)) ([#244](https://www.github.com/googleapis/java-iam/issues/244)) ([1a32e01](https://www.github.com/googleapis/java-iam/commit/1a32e01dc223e8ff11ff6483f1f7ae49f43b8de1)) +* **java:** java 17 dependency arguments ([#228](https://www.github.com/googleapis/java-iam/issues/228)) ([e609515](https://www.github.com/googleapis/java-iam/commit/e6095159733fb75e0fcc0620c7e6c93ef9586489)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.0 ([#225](https://www.github.com/googleapis/java-iam/issues/225)) ([ec4debe](https://www.github.com/googleapis/java-iam/commit/ec4debeb779d3561d6ce10d2bc7f871a1f84ae8c)) +* update dependency com.google.api:api-common to v2.1.1 ([#239](https://www.github.com/googleapis/java-iam/issues/239)) ([40da45b](https://www.github.com/googleapis/java-iam/commit/40da45bffe1ab87036e9d90121e9e9ed302d86a3)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.0 ([#237](https://www.github.com/googleapis/java-iam/issues/237)) ([8dd21a9](https://www.github.com/googleapis/java-iam/commit/8dd21a9bf054701abdded0e6dd231e08452c13af)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.5.1 ([#243](https://www.github.com/googleapis/java-iam/issues/243)) ([fb72c8c](https://www.github.com/googleapis/java-iam/commit/fb72c8c4c19a580be8f17ee1ec5562c3200f37fb)) +* update dependency com.google.protobuf:protobuf-java to v3.19.1 ([#223](https://www.github.com/googleapis/java-iam/issues/223)) ([744abaf](https://www.github.com/googleapis/java-iam/commit/744abaf723ee59e5749bde76be6520f2e9e843e9)) +* update dependency io.grpc:grpc-protobuf to v1.42.0 ([#230](https://www.github.com/googleapis/java-iam/issues/230)) ([36a09e7](https://www.github.com/googleapis/java-iam/commit/36a09e753f1439d1975c5b388d460d84646f9190)) +* update dependency io.grpc:grpc-protobuf to v1.42.1 ([#235](https://www.github.com/googleapis/java-iam/issues/235)) ([1a3b49c](https://www.github.com/googleapis/java-iam/commit/1a3b49c3841709a4be09c342bc756c2824eba27c)) +* update dependency io.grpc:grpc-stub to v1.42.0 ([#231](https://www.github.com/googleapis/java-iam/issues/231)) ([d1903a9](https://www.github.com/googleapis/java-iam/commit/d1903a91193b22a1ec9ceac79770bf6ae6ea24d5)) +* update dependency io.grpc:grpc-stub to v1.42.1 ([#236](https://www.github.com/googleapis/java-iam/issues/236)) ([efa953f](https://www.github.com/googleapis/java-iam/commit/efa953f548cbf563fa88ee70ed538f898797c0f4)) + ### [1.1.7](https://www.github.com/googleapis/java-iam/compare/v1.1.6...v1.1.7) (2021-10-19) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 9744c73c3102..db3bf6bafe1f 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.1.8-SNAPSHOT + 1.2.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.1.8-SNAPSHOT + 1.2.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 36a908e3997f..d322444785f9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.1.8-SNAPSHOT + 1.2.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.1.8-SNAPSHOT + 1.2.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e29cac43280f..f49a55401ca4 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.1.8-SNAPSHOT + 1.2.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.1.8-SNAPSHOT + 1.2.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 0dd49f84d64a..85f0eb7f6849 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.1.7:1.1.8-SNAPSHOT -grpc-google-iam-v1:1.1.7:1.1.8-SNAPSHOT +proto-google-iam-v1:1.2.0:1.2.0 +grpc-google-iam-v1:1.2.0:1.2.0 From 87ca5078e0415c0723f9f0e1f803d51060fa05b5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 22:10:13 +0000 Subject: [PATCH 1875/3036] chore: release 1.2.1-SNAPSHOT (#245) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .../grpc-google-iam-v1/clirr-ignored-differences.xml | 10 ---------- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml diff --git a/java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml b/java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml deleted file mode 100644 index c50256c7a7c8..000000000000 --- a/java-iam/grpc-google-iam-v1/clirr-ignored-differences.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - 6001 - com/google/iam/v1/IAMPolicyGrpc - METHOD_* - - \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index db3bf6bafe1f..3dded075a1e5 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.2.0 + 1.2.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.0 + 1.2.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d322444785f9..9736368b87ab 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.0 + 1.2.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.0 + 1.2.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index f49a55401ca4..265493cff1e6 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.2.0 + 1.2.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.0 + 1.2.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 85f0eb7f6849..4c3ee3c68e50 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.0:1.2.0 -grpc-google-iam-v1:1.2.0:1.2.0 +proto-google-iam-v1:1.2.0:1.2.1-SNAPSHOT +grpc-google-iam-v1:1.2.0:1.2.1-SNAPSHOT From 11afcf9c2c92e01f643b9f5e3ef790577d61184d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Dec 2021 23:46:13 +0100 Subject: [PATCH 1876/3036] deps: update iam.version to v1.2.0 (#547) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fcf7fd02c919..106037f8e815 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.40.1 1.32.1 1.32.2 - 1.1.7 + 1.2.0
    From 9c2c061947fce904591941ac93f5ee29989cba85 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 6 Dec 2021 14:49:21 -0800 Subject: [PATCH 1877/3036] fix(java): add -ntp flag to native image testing command (#1299) (#546) Source-Link: https://github.com/googleapis/synthtool/commit/723f3ce6c8927683e96cd7a4a02b59606a14eafc Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 Co-authored-by: Owl Bot --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index a335feb71247..3d2f8282468e 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:4e961d006ec9e44501273788f3cbe1e060c4666742ba190f60d6a05bcdf3ac8f + digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 134256eebd29..672402df9157 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn test -Pnative -Penable-integration-tests + mvn -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) From 5e3a17d1f2b9e6345c9b78ab2b6c28040be67c2f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 7 Dec 2021 19:41:04 +0100 Subject: [PATCH 1878/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.0 (#645) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4835bbf40ddb..bb7eb40a8d38 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.7.1 2.1.1 2.7.0 - 1.1.7 + 1.2.0 1.3.0 1.32.2 1.40.1 From 60e5f187f58a15b29c5e0544a9f21a6e15fcbead Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 9 Dec 2021 18:31:31 +0100 Subject: [PATCH 1879/3036] deps: update dependency org.apache.httpcomponents:httpcore to v4.4.15 (#550) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index af903c9b9191..36c50db956a8 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 2.10.0 2.13.0 1.15 - 4.4.14 + 4.4.15 4.5.13 3.19.0 From 2eafed987a37117860fd9217879db85a33eb46e7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 9 Dec 2021 18:33:31 +0100 Subject: [PATCH 1880/3036] deps: update dependency org.checkerframework:checker-qual to v3.20.0 (#549) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 36c50db956a8..cd31ca289db9 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.19.0 + 3.20.0
    From 668706241b2b0b4a4e10e233ab3b3d8b4d56a8eb Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 21 Dec 2021 14:40:16 -0500 Subject: [PATCH 1881/3036] chore: add enumeration type of library (#648) --- java-core/.repo-metadata.json | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/.repo-metadata.json b/java-core/.repo-metadata.json index 6f416a3b1893..da601b8f85fe 100644 --- a/java-core/.repo-metadata.json +++ b/java-core/.repo-metadata.json @@ -5,5 +5,6 @@ "language": "java", "repo": "googleapis/java-core", "repo_short": "java-core", + "library_type": "CORE", "distribution_name": "com.google.cloud:google-cloud-core" } From ac9edf8152fd161aa4190923422223724a06b849 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 21 Dec 2021 14:42:16 -0500 Subject: [PATCH 1882/3036] chore: add enumeration type of library (#248) --- java-iam/.repo-metadata.json | 1 + 1 file changed, 1 insertion(+) diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index d4828830a8e3..6b913c697f18 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -10,6 +10,7 @@ "language": "java", "repo": "googleapis/java-iam", "repo_short": "java-iam", + "library_type": "OTHER", "distribution_name": "com.google.api.grpc:proto-google-iam-v1", "excluded_poms": "proto-google-iam-v1-bom", "excluded_dependencies": "grpc-google-iam-v1" From 29f8f34b7d4a5d142e43cd969c5bff185e0e2b82 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 28 Dec 2021 21:44:13 +0100 Subject: [PATCH 1883/3036] deps: update dependency io.grpc:grpc-bom to v1.43.1 (#647) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.42.1` -> `1.43.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.1/compatibility-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.1/confidence-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.43.1`](https://togithub.com/grpc/grpc-java/releases/v1.43.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.43.0...v1.43.1) ##### Bug Fixes - core: fix a race condition when calling ManagedChannel#enterIdle() ([#​8761](https://togithub.com/grpc/grpc-java/issues/8761)) ##### Dependencies - Bump GSON to 2.8.9 ([#​8764](https://togithub.com/grpc/grpc-java/issues/8764)) ### [`v1.43.0`](https://togithub.com/grpc/grpc-java/releases/v1.43.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.42.1...v1.43.0) ##### API Changes - alts: Make GoogleDefaultChannelCredentials take a CallCredentials ([#​8548](https://togithub.com/grpc/grpc-java/issues/8548)) - binder: Support BinderChannelBuilder.forTarget ([#​8633](https://togithub.com/grpc/grpc-java/issues/8633)) - inprocess: Add support for anonymous in-process servers ([#​8589](https://togithub.com/grpc/grpc-java/issues/8589)) ##### Bug Fixes - census: fixed a bug which in rare cases, a NullPointerException may be thrown by `recordFinishedAttempt()`. Users not enabling grpc-census are not impacted by this bug ([#​8706](https://togithub.com/grpc/grpc-java/issues/8706)) - xds: stop generating UUIDs for filter chains that lack them. The UUID was preventing the XdsServer from noticing when a control plane sent a needless duplicate update, causing XdsServer to drain all its existing connections to use the “new” configuration [#​8663](https://togithub.com/grpc/grpc-java/issues/8663) - xds: fix a bug where XdsServer didn’t block start() when configuration is missing, and instead errored. [#​8660](https://togithub.com/grpc/grpc-java/issues/8660) ##### New Features - protoc-gen-grpc-java plugin support for Apple M1 architecture ([#​7690](https://togithub.com/grpc/grpc-java/issues/7690)) - okhttp: introduced new TLS1.2 cipher suites and internal okhttp implementation for TLS1.3 prepared ([#​8650](https://togithub.com/grpc/grpc-java/issues/8650)) - netty: Add ability to set system property `-Dio.grpc.netty.disableConnectionHeaderCheck=false` to disable HTTP Connection header check. This is a temporary workaround to allow fixing out-of-spec HTTP/2 clients ([#​8683](https://togithub.com/grpc/grpc-java/issues/8683)) ##### Dependencies - bump guava to 30.1.1-android ([#​8748](https://togithub.com/grpc/grpc-java/issues/8748)) - bump protobuf to 3.19.1 ([#​8748](https://togithub.com/grpc/grpc-java/issues/8748)) ##### Acknowledgement [@​beatrausch](https://togithub.com/beatrausch) [@​benjaminp](https://togithub.com/benjaminp) Benjamin Peterson [@​cfredri4](https://togithub.com/cfredri4) [@​kdubb](https://togithub.com/kdubb) Kevin Wooten
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index bb7eb40a8d38..bee28a7bce67 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.3.0 1.32.2 1.40.1 - 1.42.1 + 1.43.1 3.19.1 0.28.0 1.3.2 From e424c31af5bffcce76b60095ebcf3dc7e57e0aae Mon Sep 17 00:00:00 2001 From: Daniel Gazineu Date: Tue, 4 Jan 2022 14:49:39 -0500 Subject: [PATCH 1884/3036] fix: fixed compilation warnings from error prone * Fixed equals check to compare against other instead of self * Added annotation to ignore error prone warning (Details here: https://errorprone.info/bugpattern/TruthSelfEquals) * Fixed EqualsTester usage (details on usage error here https://errorprone.info/bugpattern/MissingTestCall, proper usage described at https://www.javadoc.io/doc/com.google.guava/guava-testlib/21.0/com/google/common/testing/EqualsTester.html) * Added missing assertion --- .../java/com/google/cloud/ServiceOptions.java | 2 +- .../google/cloud/BaseServiceExceptionTest.java | 1 + .../src/test/java/com/google/cloud/DateTest.java | 4 +--- .../java/com/google/cloud/StringEnumTest.java | 16 ++++++++-------- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 7891088d3447..8ffb77eaf552 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -697,7 +697,7 @@ protected boolean baseEquals(ServiceOptions other) { && Objects.equals(retrySettings, other.retrySettings) && Objects.equals(serviceFactoryClassName, other.serviceFactoryClassName) && Objects.equals(serviceRpcFactoryClassName, other.serviceRpcFactoryClassName) - && Objects.equals(clock, clock) + && Objects.equals(clock, other.clock) && Objects.equals(quotaProjectId, other.quotaProjectId); } diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java index 1f6de6007be3..4bc5993f7f64 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/BaseServiceExceptionTest.java @@ -140,6 +140,7 @@ public void testTranslateAndThrow() throws Exception { } @Test + @SuppressWarnings("TruthSelfEquals") public void testError_Equal() { BaseServiceException.Error error = new BaseServiceException.Error(0, "reason", true); assertThat(error).isEqualTo(error); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java index 14b6a139d004..d95efaf09459 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/DateTest.java @@ -126,9 +126,7 @@ public void equalAndHashCode() { Date d1 = Date.fromYearMonthDay(2016, 9, 18); Date d2 = Date.fromYearMonthDay(2016, 9, 18); Date d3 = Date.fromYearMonthDay(2016, 9, 19); - EqualsTester tester = new EqualsTester(); - tester.addEqualityGroup(d1, d2); - tester.addEqualityGroup(d3); + new EqualsTester().addEqualityGroup(d1, d2).addEqualityGroup(d3).testEquals(); } @Test diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java index edef7820cd0e..781fbb8925ee 100644 --- a/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/StringEnumTest.java @@ -101,13 +101,12 @@ public void testValueOfStrict() { @Test public void testEquals() { - EqualsTester tester = new EqualsTester(); - - tester.addEqualityGroup(Letter.A, Letter.valueOf("A"), Letter.valueOfStrict("A")); - tester.addEqualityGroup(Letter.B, Letter.valueOf("B"), Letter.valueOfStrict("B")); - tester.addEqualityGroup(Letter.C, Letter.valueOf("C"), Letter.valueOfStrict("C")); - tester.addEqualityGroup( - Letter.valueOf("NonExistentLetter"), Letter.valueOf("NonExistentLetter")); + new EqualsTester() + .addEqualityGroup(Letter.A, Letter.valueOf("A"), Letter.valueOfStrict("A")) + .addEqualityGroup(Letter.B, Letter.valueOf("B"), Letter.valueOfStrict("B")) + .addEqualityGroup(Letter.C, Letter.valueOf("C"), Letter.valueOfStrict("C")) + .addEqualityGroup(Letter.valueOf("NonExistentLetter"), Letter.valueOf("NonExistentLetter")) + .testEquals(); } @Test @@ -123,6 +122,7 @@ public void testValueOfStrict_invalid() { @Test public void testValues() { assertThat( - Arrays.asList(Letter.values()).containsAll(Arrays.asList(Letter.A, Letter.B, Letter.C))); + Arrays.asList(Letter.values()).containsAll(Arrays.asList(Letter.A, Letter.B, Letter.C))) + .isTrue(); } } From 0166c6b32e23dcb097b92b314e575fdf8ca5ae89 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 4 Jan 2022 17:05:01 -0500 Subject: [PATCH 1885/3036] chore: make owlbot check required (#551) --- java-shared-dependencies/.github/sync-repo-settings.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 2d2cdbce78eb..957e3c84c70e 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -22,6 +22,7 @@ branchProtectionRules: - dependencies (11, java-storage) - dependencies (11, java-pubsub) - cla/google + - OwlBot Post Processor - pattern: java7 isAdminEnforced: true requiredApprovingReviewCount: 1 @@ -67,6 +68,7 @@ branchProtectionRules: - dependencies (11, java-storage) - dependencies (11, java-pubsub) - cla/google + - OwlBot Post Processor - pattern: 0.20.x isAdminEnforced: true requiredApprovingReviewCount: 1 From f9a43e777f56cac79576c5eeec394403440a4bac Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 4 Jan 2022 22:34:17 +0000 Subject: [PATCH 1886/3036] fix(java): run Maven in plain console-friendly mode (#1301) (#251) --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/build.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 3d2f8282468e..731a0eb4a62a 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 + digest: sha256:491a007c6bd6e77f9e9b1bebcd6cdf08a4a4ef2c228c123d9696845204cb685d diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index d72d73cae03c..97c8bb76d21d 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -47,15 +47,15 @@ set +e case ${JOB_TYPE} in test) - mvn test -B -Dclirr.skip=true -Denforcer.skip=true + mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? ;; lint) - mvn com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check -B -ntp RETURN_CODE=$? ;; javadoc) - mvn javadoc:javadoc javadoc:test-javadoc + mvn javadoc:javadoc javadoc:test-javadoc -B -ntp RETURN_CODE=$? ;; integration) @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn -ntp -Pnative -Penable-integration-tests test + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) @@ -104,7 +104,7 @@ samples) fi ;; clirr) - mvn -B -Denforcer.skip=true clirr:check + mvn -B -ntp -Denforcer.skip=true clirr:check RETURN_CODE=$? ;; *) From fc4f72ade71708cda01238c5b0865fb09850be70 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 4 Jan 2022 22:34:25 +0000 Subject: [PATCH 1887/3036] fix(java): run Maven in plain console-friendly mode (#1301) (#652) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/build.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 3d2f8282468e..731a0eb4a62a 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 + digest: sha256:491a007c6bd6e77f9e9b1bebcd6cdf08a4a4ef2c228c123d9696845204cb685d diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index bdaa8cca250f..2d308bf8e8af 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -47,15 +47,15 @@ set +e case ${JOB_TYPE} in test) - mvn test -B -Dclirr.skip=true -Denforcer.skip=true + mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? ;; lint) - mvn com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check -B -ntp RETURN_CODE=$? ;; javadoc) - mvn javadoc:javadoc javadoc:test-javadoc + mvn javadoc:javadoc javadoc:test-javadoc -B -ntp RETURN_CODE=$? ;; integration) @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn -ntp -Pnative -Penable-integration-tests test + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) @@ -104,7 +104,7 @@ samples) fi ;; clirr) - mvn -B -Denforcer.skip=true clirr:check + mvn -B -ntp -Denforcer.skip=true clirr:check RETURN_CODE=$? ;; *) From 8f4e37a33389877813dd47417109dcf235b8d8ea Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 5 Jan 2022 17:10:28 -0500 Subject: [PATCH 1888/3036] deps: upgrading protobuf to 3.19.2 (#560) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 106037f8e815..98f59f8637eb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.7.1 1.1.0 31.0.1-jre - 3.19.1 + 3.19.2 2.1.1 2.7.0 2.3.3 From 881cb430a6a5ee15520234012c36c1dc38aa8b29 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 01:50:55 +0100 Subject: [PATCH 1889/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.19.2 (#655) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index bee28a7bce67..5e761a2012d5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.32.2 1.40.1 1.43.1 - 3.19.1 + 3.19.2 0.28.0 1.3.2 31.0.1-jre From e0b6d7d8e4f550d5232f331135511a31b988d599 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 01:51:24 +0100 Subject: [PATCH 1890/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.0 (#657) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5e761a2012d5..37de28d027c4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.2.0 1.3.0 1.32.2 - 1.40.1 + 1.41.0 1.43.1 3.19.2 0.28.0 From 9d96982a28e09c6ed1870373877acec2be28fdcc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 01:56:24 +0100 Subject: [PATCH 1891/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.7.1 (#656) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.7.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.7.1`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​271-httpswwwgithubcomgoogleapisjava-common-protoscomparev270v271-2022-01-05) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.7.0...v2.7.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 37de28d027c4..1fe782712f7e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.7.1 2.1.1 - 2.7.0 + 2.7.1 1.2.0 1.3.0 1.32.2 From b275a7a904c14d0814a5b2b9b6e58bc0b1593e9c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 02:41:17 +0100 Subject: [PATCH 1892/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.0 (#658) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1fe782712f7e..1d02ddc6df4d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.7.1 1.2.0 1.3.0 - 1.32.2 + 1.33.0 1.41.0 1.43.1 3.19.2 From 5f75cacec4edfe80fcc3b2b23ee5074c223bb6c6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 05:22:23 +0100 Subject: [PATCH 1893/3036] deps: update dependency com.google.api:gax-bom to v2.8.0 (#659) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.7.1` -> `2.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.8.0/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.8.0/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.8.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​280-httpswwwgithubcomgoogleapisgax-javacomparev271v280-2022-01-06) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.7.1...v2.8.0) ##### Features - update DirectPath xds scheme ([#​1585](https://www.togithub.com/googleapis/gax-java/issues/1585)) ([7915f85](https://www.github.com/googleapis/gax-java/commit/7915f850313ddfdf35332d976d2567f31c2aa8a7)) ##### Dependencies - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.1 ([#​1587](https://www.togithub.com/googleapis/gax-java/issues/1587)) ([eb0e9d1](https://www.github.com/googleapis/gax-java/commit/eb0e9d106a64af5f583d75d7291cdc17652fd5e7)) - update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([eb0e9d1](https://www.github.com/googleapis/gax-java/commit/eb0e9d106a64af5f583d75d7291cdc17652fd5e7)) - update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([eb0e9d1](https://www.github.com/googleapis/gax-java/commit/eb0e9d106a64af5f583d75d7291cdc17652fd5e7)) - upgrade common-protos to 2.7.0 ([#​1579](https://www.togithub.com/googleapis/gax-java/issues/1579)) ([0a10f5f](https://www.github.com/googleapis/gax-java/commit/0a10f5fe77ab26b3ac7d4c590360945ead72eca1)) ##### [2.7.1](https://www.github.com/googleapis/gax-java/compare/v2.7.0...v2.7.1) (2021-12-02) ##### Bug Fixes - fix gRPC code conversion ([#​1555](https://www.togithub.com/googleapis/gax-java/issues/1555)) ([09b99d5](https://www.github.com/googleapis/gax-java/commit/09b99d591497b44c3c25b1a54abb0f1cb69d7376)) - pass error message when creating ApiException ([#​1556](https://www.togithub.com/googleapis/gax-java/issues/1556)) ([918ae41](https://www.github.com/googleapis/gax-java/commit/918ae419f84ad5721638ca10eca992333e9f7c3d)) - revert generics syntax change in MockHttpService test utility ([#​1574](https://www.togithub.com/googleapis/gax-java/issues/1574)) ([b629488](https://www.github.com/googleapis/gax-java/commit/b629488ffc7d68158158d9197695158f97229c7b)) - update exception mapping on HTTP error responses ([#​1570](https://www.togithub.com/googleapis/gax-java/issues/1570)) ([8a170d1](https://www.github.com/googleapis/gax-java/commit/8a170d19b42e9b13d4c69dcfbe531d4d4ca69c90)) ##### Dependencies - update grpc to 1.42.1 ([#​1559](https://www.togithub.com/googleapis/gax-java/issues/1559)) ([92b7632](https://www.github.com/googleapis/gax-java/commit/92b76325d54604c98c798c489b3a963fdf21a75c)) - upgrade protobuf to 3.19.1 ([#​1571](https://www.togithub.com/googleapis/gax-java/issues/1571)) ([7b354e7](https://www.github.com/googleapis/gax-java/commit/7b354e73b8ce49008bed51076afb255ca5dc68e4))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1d02ddc6df4d..e6cbddf6b48d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.7.1 + 2.8.0 2.1.1 2.7.1 1.2.0 From 83e72cb5f5f5bcdcee4bac1bcab317098176bcfe Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 16:21:01 +0100 Subject: [PATCH 1894/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.4 (#654) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b3205eb3838a..c9c0fdbaeeb5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index e6cbddf6b48d..4f6dbf8b8de9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 From ce182eb3a20f2ffbce5b8e795249c0c7feb22e8a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 6 Jan 2022 15:28:13 +0000 Subject: [PATCH 1895/3036] chore: release 2.3.4 (#644) :robot: I have created a release \*beep\* \*boop\* --- ### [2.3.4](https://www.github.com/googleapis/java-core/compare/v2.3.3...v2.3.4) (2022-01-06) ### Bug Fixes * fixed compilation warnings from error prone ([e424c31](https://www.github.com/googleapis/java-core/commit/e424c31af5bffcce76b60095ebcf3dc7e57e0aae)) * **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-core/issues/1299)) ([#643](https://www.github.com/googleapis/java-core/issues/643)) ([0c16f02](https://www.github.com/googleapis/java-core/commit/0c16f02187a6dd66f5c41d104a4dc719fe43914e)) * **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-core/issues/1301)) ([#652](https://www.github.com/googleapis/java-core/issues/652)) ([fc4f72a](https://www.github.com/googleapis/java-core/commit/fc4f72ade71708cda01238c5b0865fb09850be70)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#658](https://www.github.com/googleapis/java-core/issues/658)) ([b275a7a](https://www.github.com/googleapis/java-core/commit/b275a7a904c14d0814a5b2b9b6e58bc0b1593e9c)) * update dependency com.google.api:gax-bom to v2.8.0 ([#659](https://www.github.com/googleapis/java-core/issues/659)) ([5f75cac](https://www.github.com/googleapis/java-core/commit/5f75cacec4edfe80fcc3b2b23ee5074c223bb6c6)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.7.1 ([#656](https://www.github.com/googleapis/java-core/issues/656)) ([9d96982](https://www.github.com/googleapis/java-core/commit/9d96982a28e09c6ed1870373877acec2be28fdcc)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.0 ([#645](https://www.github.com/googleapis/java-core/issues/645)) ([5e3a17d](https://www.github.com/googleapis/java-core/commit/5e3a17d1f2b9e6345c9b78ab2b6c28040be67c2f)) * update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#657](https://www.github.com/googleapis/java-core/issues/657)) ([e0b6d7d](https://www.github.com/googleapis/java-core/commit/e0b6d7d8e4f550d5232f331135511a31b988d599)) * update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([#655](https://www.github.com/googleapis/java-core/issues/655)) ([881cb43](https://www.github.com/googleapis/java-core/commit/881cb430a6a5ee15520234012c36c1dc38aa8b29)) * update dependency io.grpc:grpc-bom to v1.43.1 ([#647](https://www.github.com/googleapis/java-core/issues/647)) ([29f8f34](https://www.github.com/googleapis/java-core/commit/29f8f34b7d4a5d142e43cd969c5bff185e0e2b82)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 20 ++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 32 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 161ca13c82ec..12e65c790bf1 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +### [2.3.4](https://www.github.com/googleapis/java-core/compare/v2.3.3...v2.3.4) (2022-01-06) + + +### Bug Fixes + +* fixed compilation warnings from error prone ([e6e7040](https://www.github.com/googleapis/java-core/commit/e6e7040305b19ec9d5468f4cd44d7a29d0d5e470)) +* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-core/issues/1299)) ([#643](https://www.github.com/googleapis/java-core/issues/643)) ([0f4c1db](https://www.github.com/googleapis/java-core/commit/0f4c1dbbd89d82f5cc86c2b684d6645699b835b3)) +* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-core/issues/1301)) ([#652](https://www.github.com/googleapis/java-core/issues/652)) ([ab2fa93](https://www.github.com/googleapis/java-core/commit/ab2fa93ba0434f593abb063afad44dc923bf462a)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#658](https://www.github.com/googleapis/java-core/issues/658)) ([d417ebd](https://www.github.com/googleapis/java-core/commit/d417ebd7bedc9d4e983f32c87a8d61163502cf1d)) +* update dependency com.google.api:gax-bom to v2.8.0 ([#659](https://www.github.com/googleapis/java-core/issues/659)) ([91717ab](https://www.github.com/googleapis/java-core/commit/91717ab9361a31976727b26d08837e8b3838bdb4)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.1 ([#656](https://www.github.com/googleapis/java-core/issues/656)) ([ecfbdc1](https://www.github.com/googleapis/java-core/commit/ecfbdc181087d37d38f7911b9962953f5d246434)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.0 ([#645](https://www.github.com/googleapis/java-core/issues/645)) ([3926b54](https://www.github.com/googleapis/java-core/commit/3926b5423893635dd709b8fc6037fb896396ff13)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#657](https://www.github.com/googleapis/java-core/issues/657)) ([41a5120](https://www.github.com/googleapis/java-core/commit/41a51201a3712f71f6cf3be3c29db68360b2405f)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([#655](https://www.github.com/googleapis/java-core/issues/655)) ([eb6c037](https://www.github.com/googleapis/java-core/commit/eb6c03729af41e6d7bd9db80644b8ddfd22e78ec)) +* update dependency io.grpc:grpc-bom to v1.43.1 ([#647](https://www.github.com/googleapis/java-core/issues/647)) ([275b882](https://www.github.com/googleapis/java-core/commit/275b882918f7625daeb3e98ab26b7b0a2f2cdb7b)) + ### [2.3.3](https://www.github.com/googleapis/java-core/compare/v2.3.2...v2.3.3) (2021-12-02) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c9c0fdbaeeb5..a0cb98e47618 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.4-SNAPSHOT + 2.3.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.4-SNAPSHOT + 2.3.4 com.google.cloud google-cloud-core-grpc - 2.3.4-SNAPSHOT + 2.3.4 com.google.cloud google-cloud-core-http - 2.3.4-SNAPSHOT + 2.3.4
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cf3c5aea394d..9a32f0835c7d 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.3.4-SNAPSHOT + 2.3.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.4-SNAPSHOT + 2.3.4 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 67c9ff884958..1da2b0258045 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.3.4-SNAPSHOT + 2.3.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.4-SNAPSHOT + 2.3.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e8175fc4ee9f..38bbb4fa2ce8 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.3.4-SNAPSHOT + 2.3.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.4-SNAPSHOT + 2.3.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 4f6dbf8b8de9..48e7b1fa7843 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.4-SNAPSHOT + 2.3.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0a18d8cd9bbc..598956c7d4a4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.3:2.3.4-SNAPSHOT \ No newline at end of file +google-cloud-core:2.3.4:2.3.4 \ No newline at end of file From a95c49217aa78736e1a3ba3a19397837842dcd6a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 16:29:21 +0100 Subject: [PATCH 1896/3036] deps: update dependency io.grpc:grpc-bom to v1.43.1 (#553) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 98f59f8637eb..eb033a6fb511 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.42.1 + 1.43.1 2.7.1 1.1.0 31.0.1-jre From 04e318debcc2f92a3edba1d0264051f262f667a9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 16:30:13 +0100 Subject: [PATCH 1897/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.4 (#559) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index eb033a6fb511..f9dbb7a93ae8 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 51893395aa13..5f58292a5621 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index cd31ca289db9..010b55dc75ec 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index e241d91dc11f..236d21733425 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4
    From a2b2107c4021eb2a42aabffa31216b3425605970 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 16:30:29 +0100 Subject: [PATCH 1898/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.0 (#562) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f9dbb7a93ae8..66607eb2a505 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.7.0 2.3.3 1.3.0 - 1.40.1 + 1.41.0 1.32.1 1.32.2 1.2.0 From a9f98475234d02e4fc13ec45e64f77dc51fa6095 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 6 Jan 2022 15:34:12 +0000 Subject: [PATCH 1899/3036] chore: release 2.3.5-SNAPSHOT (#660) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a0cb98e47618..c1c760e7402b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.4 + 2.3.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.4 + 2.3.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.3.4 + 2.3.5-SNAPSHOT com.google.cloud google-cloud-core-http - 2.3.4 + 2.3.5-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9a32f0835c7d..9878ea50a3f4 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.3.4 + 2.3.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.4 + 2.3.5-SNAPSHOT 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 1da2b0258045..ca70fc56a955 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.3.4 + 2.3.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.4 + 2.3.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 38bbb4fa2ce8..cd9a47ff32b5 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.3.4 + 2.3.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.4 + 2.3.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 48e7b1fa7843..6da1fc71f9d1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.4 + 2.3.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 598956c7d4a4..ce8fdc72cdef 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.4:2.3.4 \ No newline at end of file +google-cloud-core:2.3.4:2.3.5-SNAPSHOT \ No newline at end of file From b4ac262d909bfab3d7c29192f1c3b4e96c6a3f18 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 6 Jan 2022 15:34:13 +0000 Subject: [PATCH 1900/3036] fix(java): run Maven in plain console-friendly mode (#1301) (#557) --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/build.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 3d2f8282468e..731a0eb4a62a 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a4d7b2cfc6a9d6b378a6b2458740eae15fcab28854bd23dad3a15102d2e47c87 + digest: sha256:491a007c6bd6e77f9e9b1bebcd6cdf08a4a4ef2c228c123d9696845204cb685d diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 672402df9157..4ae1bcd4002d 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -47,15 +47,15 @@ set +e case ${JOB_TYPE} in test) - mvn test -B -Dclirr.skip=true -Denforcer.skip=true + mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true RETURN_CODE=$? ;; lint) - mvn com.coveo:fmt-maven-plugin:check + mvn com.coveo:fmt-maven-plugin:check -B -ntp RETURN_CODE=$? ;; javadoc) - mvn javadoc:javadoc javadoc:test-javadoc + mvn javadoc:javadoc javadoc:test-javadoc -B -ntp RETURN_CODE=$? ;; integration) @@ -71,7 +71,7 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image - mvn -ntp -Pnative -Penable-integration-tests test + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; samples) @@ -104,7 +104,7 @@ samples) fi ;; clirr) - mvn -B -Denforcer.skip=true clirr:check + mvn -B -ntp -Denforcer.skip=true clirr:check RETURN_CODE=$? ;; *) From 9f9b510674a40d5ef111372cce5f0c05f31d6ccc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 17:44:12 +0100 Subject: [PATCH 1901/3036] deps: update google.common-protos.version to v2.7.1 (#561) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.7.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.1/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.7.1/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.7.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.1/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.7.1`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​271-httpswwwgithubcomgoogleapisjava-common-protoscomparev270v271-2022-01-05) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.7.0...v2.7.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 66607eb2a505..edf4cbf703f6 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.0.1-jre 3.19.2 2.1.1 - 2.7.0 + 2.7.1 2.3.3 1.3.0 1.41.0 From c6c5917a836899bf79625d2bfe2f3160d564b1f7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 17:46:27 +0100 Subject: [PATCH 1902/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.19.2 (#254) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 9666b3910a6a..1d68f5ec0db9 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.19.1' + compile 'com.google.protobuf:protobuf-java:3.19.2' compile 'com.google.api:api-common:2.1.1' compile project(':proto-google-common-protos') } From 346076e917adb85d16e8107cc6c4fe3846a1c887 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 18:14:22 +0100 Subject: [PATCH 1903/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.0 (#563) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.32.2` -> `1.33.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.0/compatibility-slim/1.32.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.0/confidence-slim/1.32.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.33.0`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1330-httpswwwgithubcomgoogleapisgoogle-api-java-clientcomparev1322v1330-2022-01-06) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.32.2...v1.33.0) ##### Features - next release from main branch is 1.33.0 ([#​1897](https://www.togithub.com/googleapis/google-api-java-client/issues/1897)) ([932a00b](https://www.github.com/googleapis/google-api-java-client/commit/932a00b4cac61cb3c9a4d9a29e6a7b43b67f9187)) ##### Bug Fixes - **java:** add -ntp flag to native image testing command ([#​1299](https://www.togithub.com/googleapis/google-api-java-client/issues/1299)) ([#​1929](https://www.togithub.com/googleapis/google-api-java-client/issues/1929)) ([ee997f6](https://www.github.com/googleapis/google-api-java-client/commit/ee997f6dd351dd88eb18a230708627e8f2b059d8)) - **java:** java 17 dependency arguments ([#​1266](https://www.togithub.com/googleapis/google-api-java-client/issues/1266)) ([#​1907](https://www.togithub.com/googleapis/google-api-java-client/issues/1907)) ([0bc4e26](https://www.github.com/googleapis/google-api-java-client/commit/0bc4e2684b105b5fe3ef538092c1042a704ee500)) - **java:** run Maven in plain console-friendly mode ([#​1301](https://www.togithub.com/googleapis/google-api-java-client/issues/1301)) ([#​1939](https://www.togithub.com/googleapis/google-api-java-client/issues/1939)) ([826d7e1](https://www.github.com/googleapis/google-api-java-client/commit/826d7e1b83548b751d6e8a06af0689fb1c1b8081)) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([98b5898](https://www.github.com/googleapis/google-api-java-client/commit/98b5898754ecf8e8aa0d636744fbea1994af5c92)) - update project.http.version to v1.41.0 ([#​1944](https://www.togithub.com/googleapis/google-api-java-client/issues/1944)) ([98b5898](https://www.github.com/googleapis/google-api-java-client/commit/98b5898754ecf8e8aa0d636744fbea1994af5c92)) ##### [1.32.2](https://www.github.com/googleapis/google-api-java-client/compare/v1.32.1...v1.32.2) (2021-10-14) ##### Dependencies - update dependency com.google.guava:guava to v31 ([#​1894](https://www.togithub.com/googleapis/google-api-java-client/issues/1894)) ([aba6059](https://www.github.com/googleapis/google-api-java-client/commit/aba605962518d5c8ee16361b042753c6d27884ba)) ##### [1.32.1](https://www.github.com/googleapis/google-api-java-client/compare/v1.32.0...v1.32.1) (2021-06-24) ##### Bug Fixes - bring comment up to date with code ([#​1838](https://www.togithub.com/googleapis/google-api-java-client/issues/1838)) ([f150c5a](https://www.github.com/googleapis/google-api-java-client/commit/f150c5aa6e2de0c6cbad7461f4b76be8e0027567)) - Update dependencies.sh to not break on mac ([#​1830](https://www.togithub.com/googleapis/google-api-java-client/issues/1830)) ([97940b3](https://www.github.com/googleapis/google-api-java-client/commit/97940b3fd96e343df3985630398811f3c417afcc)) ##### Dependencies - don't use sp versions in the regular release ([#​1840](https://www.togithub.com/googleapis/google-api-java-client/issues/1840)) ([94cde71](https://www.github.com/googleapis/google-api-java-client/commit/94cde719e9ad845bcd186595e06279e2b7c19096))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index edf4cbf703f6..26e8ceb17807 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.3.0 1.41.0 1.32.1 - 1.32.2 + 1.33.0 1.2.0
    From e980015f1f183b03e3b225b15e97ade1ff6502c1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 18:16:35 +0100 Subject: [PATCH 1904/3036] deps: update gax.version to v2.8.0 (#564) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 26e8ceb17807..d1d3d36813a6 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.43.1 - 2.7.1 + 2.8.0 1.1.0 31.0.1-jre 3.19.2 From 977733e307f956b3d7ede7ce64c2e74cb28044b5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 20:00:26 +0100 Subject: [PATCH 1905/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.4 (#253) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.2` -> `1.2.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/compatibility-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.4/confidence-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.4`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​124-httpswwwgithubcomgoogleapisjava-shared-configcomparev123v124-2022-01-06) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.3...v1.2.4) ### [`v1.2.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​123-httpswwwgithubcomgoogleapisjava-shared-configcomparev122v123-2022-01-04) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.2...v1.2.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9736368b87ab..98064f4132bc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.2 + 1.2.4 From 43d8b008f797a9cb275d9f03495563065da1de53 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Jan 2022 21:29:32 +0100 Subject: [PATCH 1906/3036] deps: update dependency com.google.api:api-common to v2.1.2 (#661) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6da1fc71f9d1..8d4c7de97d06 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.8.0 - 2.1.1 + 2.1.2 2.7.1 1.2.0 1.3.0 From 4d48a691c05fc9717a618a9f191b7636597edc0c Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 6 Jan 2022 16:10:10 -0500 Subject: [PATCH 1907/3036] deps: update gax.version to v2.8.0 (#663) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8d4c7de97d06..67dd282e96e8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.8.0 + 2.8.1 2.1.2 2.7.1 1.2.0 From 7ef8341e9eb8d620f8ba75c3933361ed584b0bbc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 6 Jan 2022 16:18:27 -0500 Subject: [PATCH 1908/3036] chore: release 2.3.5 (#662) * chore: release 2.3.5 * Update CHANGELOG.md Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Neenu Shaji --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 12e65c790bf1..648155126e94 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [2.3.5](https://www.github.com/googleapis/java-core/compare/v2.3.4...v2.3.5) (2022-01-06) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.2 ([#661](https://www.github.com/googleapis/java-core/issues/661)) ([0a136d8](https://www.github.com/googleapis/java-core/commit/0a136d8122f6c5042808cbfee9e58dc53e368da6)) +* update gax.version to v2.8.1 ([#663](https://www.github.com/googleapis/java-core/issues/663)) ([7c09aa5](https://www.github.com/googleapis/java-core/commit/7c09aa5729408a395f1a8fae94744f9d33638b1a)) + ### [2.3.4](https://www.github.com/googleapis/java-core/compare/v2.3.3...v2.3.4) (2022-01-06) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c1c760e7402b..061b5e2a1e37 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.5-SNAPSHOT + 2.3.5 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.5-SNAPSHOT + 2.3.5 com.google.cloud google-cloud-core-grpc - 2.3.5-SNAPSHOT + 2.3.5 com.google.cloud google-cloud-core-http - 2.3.5-SNAPSHOT + 2.3.5 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9878ea50a3f4..b80cae825532 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.3.5-SNAPSHOT + 2.3.5 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.5-SNAPSHOT + 2.3.5 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 ca70fc56a955..108c57617c9c 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.3.5-SNAPSHOT + 2.3.5 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.5-SNAPSHOT + 2.3.5 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cd9a47ff32b5..022d2545ebf4 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.3.5-SNAPSHOT + 2.3.5 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.5-SNAPSHOT + 2.3.5 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 67dd282e96e8..1c6fe10e72d3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.5-SNAPSHOT + 2.3.5 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ce8fdc72cdef..2b2db10da9ad 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.4:2.3.5-SNAPSHOT \ No newline at end of file +google-cloud-core:2.3.5:2.3.5 \ No newline at end of file From 8148819fc40d1d378ec3d8b04a916aa4d4879737 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 6 Jan 2022 21:24:16 +0000 Subject: [PATCH 1909/3036] chore: release 2.3.6-SNAPSHOT (#664) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 061b5e2a1e37..e9aee4ef814d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.5 + 2.3.6-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.3.5 + 2.3.6-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.3.5 + 2.3.6-SNAPSHOT com.google.cloud google-cloud-core-http - 2.3.5 + 2.3.6-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b80cae825532..b661f5a410ac 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.3.5 + 2.3.6-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.5 + 2.3.6-SNAPSHOT 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 108c57617c9c..33708af95d7d 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.3.5 + 2.3.6-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.5 + 2.3.6-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 022d2545ebf4..fa2fc6672193 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.3.5 + 2.3.6-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.5 + 2.3.6-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 1c6fe10e72d3..50c970c096f6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.5 + 2.3.6-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 2b2db10da9ad..cdb2601a3965 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.5:2.3.5 \ No newline at end of file +google-cloud-core:2.3.5:2.3.6-SNAPSHOT \ No newline at end of file From 7dba3078422cef0ca686f291c91fd8ab13478fed Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 02:00:02 +0100 Subject: [PATCH 1910/3036] deps: update google.core.version to v2.3.5 (#565) deps: update dependency com.google.api:api-common to v2.1.2 deps: update gax.version to v2.8.1 --- java-shared-dependencies/first-party-dependencies/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d1d3d36813a6..46055388d113 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,13 +56,13 @@ UTF-8 ${project.artifactId} 1.43.1 - 2.8.0 + 2.8.1 1.1.0 31.0.1-jre 3.19.2 - 2.1.1 + 2.1.2 2.7.1 - 2.3.3 + 2.3.5 1.3.0 1.41.0 1.32.1 From 3143246e2091a721ce067fb3d467926992723dfd Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 6 Jan 2022 20:04:18 -0500 Subject: [PATCH 1911/3036] deps: gRPC upgrade to 1.43.2 (#567) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While we didn't wait for it, gRPC 1.43.2 became available now. The only change in gRPC 1.43.2 is the protobuf version upgrade. -- Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-shared-dependencies/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes # ☕️ --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 46055388d113..2ae153fa85a9 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.43.1 + 1.43.2 2.8.1 1.1.0 31.0.1-jre From 92a7f7ac5b9099d215fcb513200f2c59b182be3d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Jan 2022 01:10:17 +0000 Subject: [PATCH 1912/3036] chore: release 2.6.0 (#548) :robot: I have created a release \*beep\* \*boop\* --- ## [2.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.1...v2.6.0) (2022-01-07) ### Bug Fixes * **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-shared-dependencies/issues/1299)) ([#546](https://www.github.com/googleapis/java-shared-dependencies/issues/546)) ([9c2c061](https://www.github.com/googleapis/java-shared-dependencies/commit/9c2c061947fce904591941ac93f5ee29989cba85)) * **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-shared-dependencies/issues/1301)) ([#557](https://www.github.com/googleapis/java-shared-dependencies/issues/557)) ([b4ac262](https://www.github.com/googleapis/java-shared-dependencies/commit/b4ac262d909bfab3d7c29192f1c3b4e96c6a3f18)) ### Dependencies * gRPC upgrade to 1.43.2 ([#567](https://www.github.com/googleapis/java-shared-dependencies/issues/567)) ([3143246](https://www.github.com/googleapis/java-shared-dependencies/commit/3143246e2091a721ce067fb3d467926992723dfd)) * update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#563](https://www.github.com/googleapis/java-shared-dependencies/issues/563)) ([346076e](https://www.github.com/googleapis/java-shared-dependencies/commit/346076e917adb85d16e8107cc6c4fe3846a1c887)) * update dependency com.google.api:api-common to v2.1.2 ([7dba307](https://www.github.com/googleapis/java-shared-dependencies/commit/7dba3078422cef0ca686f291c91fd8ab13478fed)) * update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#562](https://www.github.com/googleapis/java-shared-dependencies/issues/562)) ([a2b2107](https://www.github.com/googleapis/java-shared-dependencies/commit/a2b2107c4021eb2a42aabffa31216b3425605970)) * update dependency io.grpc:grpc-bom to v1.43.1 ([#553](https://www.github.com/googleapis/java-shared-dependencies/issues/553)) ([a95c492](https://www.github.com/googleapis/java-shared-dependencies/commit/a95c49217aa78736e1a3ba3a19397837842dcd6a)) * update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#550](https://www.github.com/googleapis/java-shared-dependencies/issues/550)) ([60e5f18](https://www.github.com/googleapis/java-shared-dependencies/commit/60e5f187f58a15b29c5e0544a9f21a6e15fcbead)) * update dependency org.checkerframework:checker-qual to v3.20.0 ([#549](https://www.github.com/googleapis/java-shared-dependencies/issues/549)) ([2eafed9](https://www.github.com/googleapis/java-shared-dependencies/commit/2eafed987a37117860fd9217879db85a33eb46e7)) * update gax.version to v2.8.0 ([#564](https://www.github.com/googleapis/java-shared-dependencies/issues/564)) ([e980015](https://www.github.com/googleapis/java-shared-dependencies/commit/e980015f1f183b03e3b225b15e97ade1ff6502c1)) * update gax.version to v2.8.1 ([7dba307](https://www.github.com/googleapis/java-shared-dependencies/commit/7dba3078422cef0ca686f291c91fd8ab13478fed)) * update google.common-protos.version to v2.7.1 ([#561](https://www.github.com/googleapis/java-shared-dependencies/issues/561)) ([9f9b510](https://www.github.com/googleapis/java-shared-dependencies/commit/9f9b510674a40d5ef111372cce5f0c05f31d6ccc)) * update google.core.version to v2.3.5 ([#565](https://www.github.com/googleapis/java-shared-dependencies/issues/565)) ([7dba307](https://www.github.com/googleapis/java-shared-dependencies/commit/7dba3078422cef0ca686f291c91fd8ab13478fed)) * update iam.version to v1.2.0 ([#547](https://www.github.com/googleapis/java-shared-dependencies/issues/547)) ([11afcf9](https://www.github.com/googleapis/java-shared-dependencies/commit/11afcf9c2c92e01f643b9f5e3ef790577d61184d)) * upgrading protobuf to 3.19.2 ([#560](https://www.github.com/googleapis/java-shared-dependencies/issues/560)) ([8f4e37a](https://www.github.com/googleapis/java-shared-dependencies/commit/8f4e37a33389877813dd47417109dcf235b8d8ea)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 25 +++++++++++++++++++ java-shared-dependencies/README.md | 2 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 34 insertions(+), 9 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 5de57de177b3..71b139f2294d 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [2.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.1...v2.6.0) (2022-01-07) + + +### Bug Fixes + +* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-shared-dependencies/issues/1299)) ([#546](https://www.github.com/googleapis/java-shared-dependencies/issues/546)) ([d8bb8d9](https://www.github.com/googleapis/java-shared-dependencies/commit/d8bb8d9d8e3b8c582f768cd3164e8580ec334511)) +* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-shared-dependencies/issues/1301)) ([#557](https://www.github.com/googleapis/java-shared-dependencies/issues/557)) ([6b57d08](https://www.github.com/googleapis/java-shared-dependencies/commit/6b57d08816ec6c1dfb637cae022624e896930ad8)) + + +### Dependencies + +* gRPC upgrade to 1.43.2 ([#567](https://www.github.com/googleapis/java-shared-dependencies/issues/567)) ([c946655](https://www.github.com/googleapis/java-shared-dependencies/commit/c94665571f26d24fbbb3f89ef5a3db99663bfdba)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#563](https://www.github.com/googleapis/java-shared-dependencies/issues/563)) ([0aedddb](https://www.github.com/googleapis/java-shared-dependencies/commit/0aedddb9a535753767d56f5910f355c7a1c8509c)) +* update dependency com.google.api:api-common to v2.1.2 ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#562](https://www.github.com/googleapis/java-shared-dependencies/issues/562)) ([6da0735](https://www.github.com/googleapis/java-shared-dependencies/commit/6da0735d4db9df998d11c549488a024b800bed65)) +* update dependency io.grpc:grpc-bom to v1.43.1 ([#553](https://www.github.com/googleapis/java-shared-dependencies/issues/553)) ([b787c8f](https://www.github.com/googleapis/java-shared-dependencies/commit/b787c8f2032b7ffc9797158c3ff214b7813f34b7)) +* update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#550](https://www.github.com/googleapis/java-shared-dependencies/issues/550)) ([e2d3dba](https://www.github.com/googleapis/java-shared-dependencies/commit/e2d3dbad6dd54c117abb5ab1b6137cfee4e5a32b)) +* update dependency org.checkerframework:checker-qual to v3.20.0 ([#549](https://www.github.com/googleapis/java-shared-dependencies/issues/549)) ([586df59](https://www.github.com/googleapis/java-shared-dependencies/commit/586df5949d4ddca11d0705d696882c32d8436c31)) +* update gax.version to v2.8.0 ([#564](https://www.github.com/googleapis/java-shared-dependencies/issues/564)) ([9ad5d4f](https://www.github.com/googleapis/java-shared-dependencies/commit/9ad5d4f5385753a0c5739ef400f5d346e3342b84)) +* update gax.version to v2.8.1 ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update google.common-protos.version to v2.7.1 ([#561](https://www.github.com/googleapis/java-shared-dependencies/issues/561)) ([9aa860d](https://www.github.com/googleapis/java-shared-dependencies/commit/9aa860d92f745f1d4382eb16439bf17ac6ca8ae9)) +* update google.core.version to v2.3.5 ([#565](https://www.github.com/googleapis/java-shared-dependencies/issues/565)) ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update iam.version to v1.2.0 ([#547](https://www.github.com/googleapis/java-shared-dependencies/issues/547)) ([3232c82](https://www.github.com/googleapis/java-shared-dependencies/commit/3232c828b628cb604a200b3e569e56e758e5e11d)) +* upgrading protobuf to 3.19.2 ([#560](https://www.github.com/googleapis/java-shared-dependencies/issues/560)) ([7ef3325](https://www.github.com/googleapis/java-shared-dependencies/commit/7ef33250f5473348d3546210b7a534360f476101)) + ### [2.5.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.0...v2.5.1) (2021-12-03) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 0e61bb1536f6..07b51a8b8306 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -14,7 +14,7 @@ If you are using Maven, add this to the `dependencyManagement` section. com.google.cloud google-cloud-shared-dependencies - 2.5.1 + 2.6.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2ae153fa85a9..804668345f00 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 - 2.5.2-SNAPSHOT + 2.6.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5f58292a5621..45f63dbd9bde 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 - 2.5.2-SNAPSHOT + 2.6.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.5.2-SNAPSHOT + 2.6.0 pom import com.google.cloud third-party-dependencies - 2.5.2-SNAPSHOT + 2.6.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 010b55dc75ec..209bfda7479d 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 - 2.5.2-SNAPSHOT + 2.6.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 236d21733425..6ce0a59524f1 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 - 2.5.2-SNAPSHOT + 2.6.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.5.2-SNAPSHOT + 2.6.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index edee52c4d71e..668d84aaf193 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.5.1:2.5.2-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.6.0:2.6.0 \ No newline at end of file From f91dcd88910b60236477adfab3583b09ce3342ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 16:42:24 +0100 Subject: [PATCH 1913/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 (#257) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.5.1` -> `2.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.6.0/compatibility-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.6.0/confidence-slim/2.5.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.6.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​260-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare251v260-2022-01-07) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.5.1...v2.6.0) ##### Bug Fixes - **java:** add -ntp flag to native image testing command ([#​1299](https://www.togithub.com/googleapis/java-shared-dependencies/issues/1299)) ([#​546](https://www.togithub.com/googleapis/java-shared-dependencies/issues/546)) ([d8bb8d9](https://www.github.com/googleapis/java-shared-dependencies/commit/d8bb8d9d8e3b8c582f768cd3164e8580ec334511)) - **java:** run Maven in plain console-friendly mode ([#​1301](https://www.togithub.com/googleapis/java-shared-dependencies/issues/1301)) ([#​557](https://www.togithub.com/googleapis/java-shared-dependencies/issues/557)) ([6b57d08](https://www.github.com/googleapis/java-shared-dependencies/commit/6b57d08816ec6c1dfb637cae022624e896930ad8)) ##### Dependencies - gRPC upgrade to 1.43.2 ([#​567](https://www.togithub.com/googleapis/java-shared-dependencies/issues/567)) ([c946655](https://www.github.com/googleapis/java-shared-dependencies/commit/c94665571f26d24fbbb3f89ef5a3db99663bfdba)) - update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#​563](https://www.togithub.com/googleapis/java-shared-dependencies/issues/563)) ([0aedddb](https://www.github.com/googleapis/java-shared-dependencies/commit/0aedddb9a535753767d56f5910f355c7a1c8509c)) - update dependency com.google.api:api-common to v2.1.2 ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) - update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#​562](https://www.togithub.com/googleapis/java-shared-dependencies/issues/562)) ([6da0735](https://www.github.com/googleapis/java-shared-dependencies/commit/6da0735d4db9df998d11c549488a024b800bed65)) - update dependency io.grpc:grpc-bom to v1.43.1 ([#​553](https://www.togithub.com/googleapis/java-shared-dependencies/issues/553)) ([b787c8f](https://www.github.com/googleapis/java-shared-dependencies/commit/b787c8f2032b7ffc9797158c3ff214b7813f34b7)) - update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#​550](https://www.togithub.com/googleapis/java-shared-dependencies/issues/550)) ([e2d3dba](https://www.github.com/googleapis/java-shared-dependencies/commit/e2d3dbad6dd54c117abb5ab1b6137cfee4e5a32b)) - update dependency org.checkerframework:checker-qual to v3.20.0 ([#​549](https://www.togithub.com/googleapis/java-shared-dependencies/issues/549)) ([586df59](https://www.github.com/googleapis/java-shared-dependencies/commit/586df5949d4ddca11d0705d696882c32d8436c31)) - update gax.version to v2.8.0 ([#​564](https://www.togithub.com/googleapis/java-shared-dependencies/issues/564)) ([9ad5d4f](https://www.github.com/googleapis/java-shared-dependencies/commit/9ad5d4f5385753a0c5739ef400f5d346e3342b84)) - update gax.version to v2.8.1 ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) - update google.common-protos.version to v2.7.1 ([#​561](https://www.togithub.com/googleapis/java-shared-dependencies/issues/561)) ([9aa860d](https://www.github.com/googleapis/java-shared-dependencies/commit/9aa860d92f745f1d4382eb16439bf17ac6ca8ae9)) - update google.core.version to v2.3.5 ([#​565](https://www.togithub.com/googleapis/java-shared-dependencies/issues/565)) ([2f154a3](https://www.github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) - update iam.version to v1.2.0 ([#​547](https://www.togithub.com/googleapis/java-shared-dependencies/issues/547)) ([3232c82](https://www.github.com/googleapis/java-shared-dependencies/commit/3232c828b628cb604a200b3e569e56e758e5e11d)) - upgrading protobuf to 3.19.2 ([#​560](https://www.togithub.com/googleapis/java-shared-dependencies/issues/560)) ([7ef3325](https://www.github.com/googleapis/java-shared-dependencies/commit/7ef33250f5473348d3546210b7a534360f476101)) ##### [2.5.1](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.0...v2.5.1) (2021-12-03) ##### Dependencies - update dependency com.google.api:api-common to v2.1.1 ([#​533](https://www.togithub.com/googleapis/java-shared-dependencies/issues/533)) ([4e23adb](https://www.github.com/googleapis/java-shared-dependencies/commit/4e23adb666dfaa18ae8bf869aca030153de16d62)) - update gax.version to v2.7.1 ([#​544](https://www.togithub.com/googleapis/java-shared-dependencies/issues/544)) ([5a0c480](https://www.github.com/googleapis/java-shared-dependencies/commit/5a0c480671fa834e600edc6ac6fe77967d1b79b3)) - update google.common-protos.version to v2.7.0 ([#​542](https://www.togithub.com/googleapis/java-shared-dependencies/issues/542)) ([af97eb5](https://www.github.com/googleapis/java-shared-dependencies/commit/af97eb5d9cff397080fdb3d4a6dbf7c2692e0358)) - update google.core.version to v2.3.3 ([#​534](https://www.togithub.com/googleapis/java-shared-dependencies/issues/534)) ([885acef](https://www.github.com/googleapis/java-shared-dependencies/commit/885acefe4ff5313eb53dc43b4825ca597b97dcfd))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 98064f4132bc..549fcf1d5574 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.5.1 + 2.6.0 pom import From 9d3c72246efed53be7a30c2604b7d002c57a38a3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 19:38:57 +0100 Subject: [PATCH 1914/3036] deps: update dependency io.grpc:grpc-stub to v1.43.2 (#247) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index e43b8e572d1b..cc95977f30c4 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.42.1' + compile 'io.grpc:grpc-stub:1.43.2' compile 'io.grpc:grpc-protobuf:1.42.1' compile project(':proto-google-iam-v1') } From 1e4a81564862318acae6f030cf4a58fbc40ab690 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 19:39:53 +0100 Subject: [PATCH 1915/3036] deps: update dependency com.google.api:api-common to v2.1.2 (#256) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 1d68f5ec0db9..4e0586c3caca 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.19.2' - compile 'com.google.api:api-common:2.1.1' + compile 'com.google.api:api-common:2.1.2' compile project(':proto-google-common-protos') } From 6f61d23f1ca7b5d0b0519280c1854d5880bdbb3c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Jan 2022 19:44:27 +0100 Subject: [PATCH 1916/3036] deps: update dependency io.grpc:grpc-protobuf to v1.43.2 (#246) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.42.1` -> `1.43.2` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.43.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.43.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.43.2/compatibility-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.43.2/confidence-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.43.2`](https://togithub.com/grpc/grpc-java/releases/v1.43.2) ##### Dependencies - Upgraded Protobuf to 3.19.2 to avoid CVE-2021-22569. See the [protobuf advisory](https://togithub.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67) ### [`v1.43.1`](https://togithub.com/grpc/grpc-java/releases/v1.43.1) ##### Bug Fixes - core: fix a race condition when calling ManagedChannel#enterIdle() ([#​8761](https://togithub.com/grpc/grpc-java/issues/8761)) ##### Dependencies - Bump GSON to 2.8.9 ([#​8764](https://togithub.com/grpc/grpc-java/issues/8764)) ### [`v1.43.0`](https://togithub.com/grpc/grpc-java/releases/v1.43.0) ##### API Changes - alts: Make GoogleDefaultChannelCredentials take a CallCredentials ([#​8548](https://togithub.com/grpc/grpc-java/issues/8548)) - binder: Support BinderChannelBuilder.forTarget ([#​8633](https://togithub.com/grpc/grpc-java/issues/8633)) - inprocess: Add support for anonymous in-process servers ([#​8589](https://togithub.com/grpc/grpc-java/issues/8589)) ##### Bug Fixes - census: fixed a bug which in rare cases, a NullPointerException may be thrown by `recordFinishedAttempt()`. Users not enabling grpc-census are not impacted by this bug ([#​8706](https://togithub.com/grpc/grpc-java/issues/8706)) - xds: stop generating UUIDs for filter chains that lack them. The UUID was preventing the XdsServer from noticing when a control plane sent a needless duplicate update, causing XdsServer to drain all its existing connections to use the “new” configuration [#​8663](https://togithub.com/grpc/grpc-java/issues/8663) - xds: fix a bug where XdsServer didn’t block start() when configuration is missing, and instead errored. [#​8660](https://togithub.com/grpc/grpc-java/issues/8660) ##### New Features - protoc-gen-grpc-java plugin support for Apple M1 architecture ([#​7690](https://togithub.com/grpc/grpc-java/issues/7690)) - okhttp: introduced new TLS1.2 cipher suites and internal okhttp implementation for TLS1.3 prepared ([#​8650](https://togithub.com/grpc/grpc-java/issues/8650)) - netty: Add ability to set system property `-Dio.grpc.netty.disableConnectionHeaderCheck=false` to disable HTTP Connection header check. This is a temporary workaround to allow fixing out-of-spec HTTP/2 clients ([#​8683](https://togithub.com/grpc/grpc-java/issues/8683)) ##### Dependencies - bump guava to 30.1.1-android ([#​8748](https://togithub.com/grpc/grpc-java/issues/8748)) - bump protobuf to 3.19.1 ([#​8748](https://togithub.com/grpc/grpc-java/issues/8748)) ##### Acknowledgement [@​beatrausch](https://togithub.com/beatrausch) [@​benjaminp](https://togithub.com/benjaminp) Benjamin Peterson [@​cfredri4](https://togithub.com/cfredri4) [@​kdubb](https://togithub.com/kdubb) Kevin Wooten ### [`v1.42.2`](https://togithub.com/grpc/grpc-java/releases/v1.42.2) ##### Bug Fixes - census: fixed a bug which in rare cases, a NullPointerException may be thrown by `recordFinishedAttempt()`. Users not enabling grpc-census are not impacted by this bug ([#​8706](https://togithub.com/grpc/grpc-java/issues/8706)) - core: fix a race condition when calling `ManagedChannel.enterIdle()` ([#​8746](https://togithub.com/grpc/grpc-java/issues/8746)) ##### Dependencies - Upgraded Protobuf to 3.18.2 to avoid CVE-2021-22569. See the [protobuf advisory](https://togithub.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67) - Upgraded Guava to 30.1.1-android
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index cc95977f30c4..ea8e2fbbd739 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.43.2' - compile 'io.grpc:grpc-protobuf:1.42.1' + compile 'io.grpc:grpc-protobuf:1.43.2' compile project(':proto-google-iam-v1') } From f5f100f8525e690774639ba0db48df635963f7b3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Jan 2022 19:02:22 +0000 Subject: [PATCH 1917/3036] chore: release 1.2.1 (#255) :robot: I have created a release \*beep\* \*boop\* --- ### [1.2.1](https://www.github.com/googleapis/java-iam/compare/v1.2.0...v1.2.1) (2022-01-07) ### Bug Fixes * **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-iam/issues/1301)) ([#251](https://www.github.com/googleapis/java-iam/issues/251)) ([f9a43e7](https://www.github.com/googleapis/java-iam/commit/f9a43e777f56cac79576c5eeec394403440a4bac)) ### Dependencies * update dependency com.google.api:api-common to v2.1.2 ([#256](https://www.github.com/googleapis/java-iam/issues/256)) ([1e4a815](https://www.github.com/googleapis/java-iam/commit/1e4a81564862318acae6f030cf4a58fbc40ab690)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#257](https://www.github.com/googleapis/java-iam/issues/257)) ([f91dcd8](https://www.github.com/googleapis/java-iam/commit/f91dcd88910b60236477adfab3583b09ce3342ab)) * update dependency com.google.protobuf:protobuf-java to v3.19.2 ([#254](https://www.github.com/googleapis/java-iam/issues/254)) ([c6c5917](https://www.github.com/googleapis/java-iam/commit/c6c5917a836899bf79625d2bfe2f3160d564b1f7)) * update dependency io.grpc:grpc-protobuf to v1.43.2 ([#246](https://www.github.com/googleapis/java-iam/issues/246)) ([6f61d23](https://www.github.com/googleapis/java-iam/commit/6f61d23f1ca7b5d0b0519280c1854d5880bdbb3c)) * update dependency io.grpc:grpc-stub to v1.43.2 ([#247](https://www.github.com/googleapis/java-iam/issues/247)) ([9d3c722](https://www.github.com/googleapis/java-iam/commit/9d3c72246efed53be7a30c2604b7d002c57a38a3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 16 ++++++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 24 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 858c12c73258..ed04e4e73af9 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +### [1.2.1](https://www.github.com/googleapis/java-iam/compare/v1.2.0...v1.2.1) (2022-01-07) + + +### Bug Fixes + +* **java:** run Maven in plain console-friendly mode ([#1301](https://www.github.com/googleapis/java-iam/issues/1301)) ([#251](https://www.github.com/googleapis/java-iam/issues/251)) ([011932e](https://www.github.com/googleapis/java-iam/commit/011932e2c0a1c9d1444cef5e25420616c604b91e)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.2 ([#256](https://www.github.com/googleapis/java-iam/issues/256)) ([29c0f8d](https://www.github.com/googleapis/java-iam/commit/29c0f8dad438424400fbeaffd54d00326ce0954d)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.6.0 ([#257](https://www.github.com/googleapis/java-iam/issues/257)) ([8d41821](https://www.github.com/googleapis/java-iam/commit/8d4182108e826f9f0a236ece2fb19f96c1c65e88)) +* update dependency com.google.protobuf:protobuf-java to v3.19.2 ([#254](https://www.github.com/googleapis/java-iam/issues/254)) ([38dd15b](https://www.github.com/googleapis/java-iam/commit/38dd15b8afb5d3f0238e4f0d1323003b04425ff2)) +* update dependency io.grpc:grpc-protobuf to v1.43.2 ([#246](https://www.github.com/googleapis/java-iam/issues/246)) ([5f752dd](https://www.github.com/googleapis/java-iam/commit/5f752ddd31d3c3ac314aa792a8ed4eca35b53f81)) +* update dependency io.grpc:grpc-stub to v1.43.2 ([#247](https://www.github.com/googleapis/java-iam/issues/247)) ([1c60bb5](https://www.github.com/googleapis/java-iam/commit/1c60bb5f559fba678e6c20e52bd6f412a4032435)) + ## [1.2.0](https://www.github.com/googleapis/java-iam/compare/v1.1.7...v1.2.0) (2021-12-06) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 3dded075a1e5..77d2db69911c 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.2.1-SNAPSHOT + 1.2.1 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.1-SNAPSHOT + 1.2.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 549fcf1d5574..ba76eadcd5ec 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.1-SNAPSHOT + 1.2.1 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.1-SNAPSHOT + 1.2.1 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 265493cff1e6..7cb571e7f674 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.2.1-SNAPSHOT + 1.2.1 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.1-SNAPSHOT + 1.2.1 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 4c3ee3c68e50..af58136e0c66 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.0:1.2.1-SNAPSHOT -grpc-google-iam-v1:1.2.0:1.2.1-SNAPSHOT +proto-google-iam-v1:1.2.1:1.2.1 +grpc-google-iam-v1:1.2.1:1.2.1 From d685bfc2c9eb470d0a30f2057ce289337cf5b500 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Jan 2022 22:04:26 +0000 Subject: [PATCH 1918/3036] chore: release 1.2.2-SNAPSHOT (#258) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 77d2db69911c..99ac04669cdc 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.2.1 + 1.2.2-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.1 + 1.2.2-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index ba76eadcd5ec..b71026ced978 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.1 + 1.2.2-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.1 + 1.2.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7cb571e7f674..18457bcc07f2 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.2.1 + 1.2.2-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.1 + 1.2.2-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index af58136e0c66..db8267012679 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.1:1.2.1 -grpc-google-iam-v1:1.2.1:1.2.1 +proto-google-iam-v1:1.2.1:1.2.2-SNAPSHOT +grpc-google-iam-v1:1.2.1:1.2.2-SNAPSHOT From 136b97db72fdd0b52250c3b05ee11d9c4706dc15 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 10 Jan 2022 18:56:15 -0500 Subject: [PATCH 1919/3036] chore: change name to api_shortname in .repo-metadata.json (#670) --- java-core/.repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/.repo-metadata.json b/java-core/.repo-metadata.json index da601b8f85fe..3a6e008dffc7 100644 --- a/java-core/.repo-metadata.json +++ b/java-core/.repo-metadata.json @@ -1,5 +1,5 @@ { - "name": "google-cloud-core", + "api_shortname": "google-cloud-core", "name_pretty": "Google Cloud Core", "release_level": "ga", "language": "java", From ba100b821bba921af7aea677c2652b384f67aa02 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 10 Jan 2022 19:00:38 -0500 Subject: [PATCH 1920/3036] chore: change name to api_shortname in .repo-metadata.json (#259) --- java-iam/.repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index 6b913c697f18..2830c87b6290 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -1,5 +1,5 @@ { - "name": "iam", + "api_shortname": "iam", "name_pretty": "IAM", "product_documentation": "n/a", "api_description": "n/a", From 5fa42d563d947e5ba34e9e440aff374d7d05e02b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 11 Jan 2022 18:36:29 +0000 Subject: [PATCH 1921/3036] chore(java): update variable name to api_shortname in README template (#1323) (#671) --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/ISSUE_TEMPLATE/bug_report.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 731a0eb4a62a..dddb13b8458b 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:491a007c6bd6e77f9e9b1bebcd6cdf08a4a4ef2c228c123d9696845204cb685d + digest: sha256:7f737996c88586c499f7b0c25294c760f9f5eec092289a0e08d2d3f42a069ebb diff --git a/java-core/.github/ISSUE_TEMPLATE/bug_report.md b/java-core/.github/ISSUE_TEMPLATE/bug_report.md index ac0d0496c9e8..abc8e98b4d7f 100644 --- a/java-core/.github/ISSUE_TEMPLATE/bug_report.md +++ b/java-core/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,7 +21,7 @@ If you are still having issues, please include as much information as possible: General, Core, and Other are also allowed as types 2. OS type and version: 3. Java version: -4. google-cloud-core version(s): +4. version(s): #### Steps to reproduce From 5e383d773acf99394c1912e2770624d1d60c58bf Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 11 Jan 2022 18:52:15 +0000 Subject: [PATCH 1922/3036] chore(java): update variable name to api_shortname in README template (#1323) (#260) --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.github/ISSUE_TEMPLATE/bug_report.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 731a0eb4a62a..dddb13b8458b 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:491a007c6bd6e77f9e9b1bebcd6cdf08a4a4ef2c228c123d9696845204cb685d + digest: sha256:7f737996c88586c499f7b0c25294c760f9f5eec092289a0e08d2d3f42a069ebb diff --git a/java-iam/.github/ISSUE_TEMPLATE/bug_report.md b/java-iam/.github/ISSUE_TEMPLATE/bug_report.md index ca40492f9751..fad37bbdd806 100644 --- a/java-iam/.github/ISSUE_TEMPLATE/bug_report.md +++ b/java-iam/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,7 +21,7 @@ If you are still having issues, please include as much information as possible: General, Core, and Other are also allowed as types 2. OS type and version: 3. Java version: -4. iam version(s): +4. version(s): #### Steps to reproduce From 997d1849e353376e254cf16b799c90cc497ea80d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Jan 2022 18:14:19 +0100 Subject: [PATCH 1923/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.5 (#261) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.4` -> `1.2.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/compatibility-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/confidence-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.5`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​125-httpsgithubcomgoogleapisjava-shared-configcomparev124v125-2022-01-11) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.4...v1.2.5)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b71026ced978..dcb3ee7cd138 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 From 1e8fbaeb747d841e7e1327937d8faecae25ef6a8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 12 Jan 2022 18:20:19 +0100 Subject: [PATCH 1924/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.5 (#673) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.4` -> `1.2.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/compatibility-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.5/confidence-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.5`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​125-httpsgithubcomgoogleapisjava-shared-configcomparev124v125-2022-01-11) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.4...v1.2.5)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e9aee4ef814d..763f1f28a761 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 50c970c096f6..d3f951d29fab 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 From 50c1fc87c1ae74156510cf8e2c24f7553b627069 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 13 Jan 2022 14:34:14 -0500 Subject: [PATCH 1925/3036] chore: update release-level in .repo-metadata.json (#676) --- java-core/.repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/.repo-metadata.json b/java-core/.repo-metadata.json index 3a6e008dffc7..1599ab74dd1b 100644 --- a/java-core/.repo-metadata.json +++ b/java-core/.repo-metadata.json @@ -1,7 +1,7 @@ { "api_shortname": "google-cloud-core", "name_pretty": "Google Cloud Core", - "release_level": "ga", + "release_level": "stable", "language": "java", "repo": "googleapis/java-core", "repo_short": "java-core", From 6ac5c32f7e51169c5be6244b403d80c85611c97f Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 13 Jan 2022 17:36:12 -0500 Subject: [PATCH 1926/3036] chore: update release-level in .repo-metadata.json (#264) --- java-iam/.repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index 2830c87b6290..bb9e05ae43b7 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -4,7 +4,7 @@ "product_documentation": "n/a", "api_description": "n/a", "client_documentation": "https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history", - "release_level": "ga", + "release_level": "stable", "transport": "grpc", "requires_billing": true, "language": "java", From 6e013f2043b95b422fa7b4f80d0c419b70cbacd7 Mon Sep 17 00:00:00 2001 From: Daniel Zou Date: Tue, 18 Jan 2022 11:45:38 -0500 Subject: [PATCH 1927/3036] feat(java): Add native-image support classes to java-core module (#637) Introduce native-image support in a new module native-image-support. Co-authored-by: Owl Bot --- java-core/google-cloud-core-bom/pom.xml | 5 + java-core/native-image-support/pom.xml | 47 +++++ .../features/GoogleJsonClientFeature.java | 99 ++++++++++ .../features/GrpcNettyFeature.java | 122 ++++++++++++ .../features/NativeImageUtils.java | 174 ++++++++++++++++++ .../features/ProtobufMessageFeature.java | 105 +++++++++++ .../clients/CloudFunctionsFeature.java | 146 +++++++++++++++ .../features/clients/CloudSqlFeature.java | 90 +++++++++ .../features/clients/OpenCensusFeature.java | 38 ++++ .../features/clients/SpannerFeature.java | 50 +++++ .../ApiClientVersionSubstitutions.java | 64 +++++++ .../GaxPropertiesSubstitutions.java | 56 ++++++ ...ttyInternalLoggerFactorySubstitutions.java | 55 ++++++ .../google-cloud-core/native-image.properties | 14 ++ .../google-cloud-core/resource-config.json | 13 ++ java-core/pom.xml | 17 ++ java-core/versions.txt | 3 +- 17 files changed, 1097 insertions(+), 1 deletion(-) create mode 100644 java-core/native-image-support/pom.xml create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java create mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java create mode 100644 java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties create mode 100644 java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 763f1f28a761..2b72ab863b77 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -75,6 +75,11 @@ google-cloud-core-http 2.3.6-SNAPSHOT
    + + com.google.cloud + native-image-support + 0.11.0-SNAPSHOT +
    diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml new file mode 100644 index 000000000000..fb74248dcbcd --- /dev/null +++ b/java-core/native-image-support/pom.xml @@ -0,0 +1,47 @@ + + + + 4.0.0 + Google Cloud Native Image Support + com.google.cloud + native-image-support + 0.11.0-SNAPSHOT + jar + + + google-cloud-core-parent + com.google.cloud + 2.3.6-SNAPSHOT + + + + Core gRPC module for the google-cloud. + + + + + com.google.guava + guava + + + + io.grpc + grpc-netty-shaded + provided + + + + org.graalvm.nativeimage + svm + provided + + + + org.graalvm.sdk + graal-sdk + provided + + + \ No newline at end of file diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java new file mode 100644 index 000000000000..8cc3107f4e51 --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java @@ -0,0 +1,99 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features; + +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassForReflection; + +import com.oracle.svm.core.annotate.AutomaticFeature; +import com.oracle.svm.core.configure.ResourcesRegistry; +import org.graalvm.nativeimage.ImageSingletons; +import org.graalvm.nativeimage.hosted.Feature; + +/** Configures Native Image settings for the Google JSON Client. */ +@AutomaticFeature +final class GoogleJsonClientFeature implements Feature { + + private static final String GOOGLE_API_CLIENT_CLASS = + "com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient"; + + private static final String GOOGLE_API_CLIENT_REQUEST_CLASS = + "com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest"; + + private static final String GENERIC_JSON_CLASS = "com.google.api.client.json.GenericJson"; + + @Override + public void beforeAnalysis(BeforeAnalysisAccess access) { + loadApiClient(access); + loadHttpClient(access); + loadMiscClasses(access); + } + + private void loadApiClient(BeforeAnalysisAccess access) { + // For com.google.api-client:google-api-client + Class googleApiClientClass = access.findClassByName(GOOGLE_API_CLIENT_CLASS); + + if (googleApiClientClass != null) { + // All reachable instances of the AbstractGoogleJsonClient must be registered. + access.registerSubtypeReachabilityHandler( + (duringAccess, subtype) -> registerClassForReflection(access, subtype.getName()), + googleApiClientClass); + + // All reachable instances of the AbstractGoogleJsonClientRequest must be registered. + access.registerSubtypeReachabilityHandler( + (duringAccess, subtype) -> registerClassForReflection(access, subtype.getName()), + access.findClassByName(GOOGLE_API_CLIENT_REQUEST_CLASS)); + + // Resources + ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); + resourcesRegistry.addResources( + "\\Qcom/google/api/client/googleapis/google-api-client.properties\\E"); + resourcesRegistry.addResources("\\Qcom/google/api/client/googleapis/google.p12\\E"); + resourcesRegistry.addResources( + "\\Qcom/google/api/client/http/google-http-client.properties\\E"); + } + } + + private void loadHttpClient(BeforeAnalysisAccess access) { + // For com.google.http-client:google-http-client + Class genericJsonClass = access.findClassByName(GENERIC_JSON_CLASS); + + if (genericJsonClass != null) { + // All reachable instances of GenericJson must be registered. + access.registerSubtypeReachabilityHandler( + (duringAccess, subtype) -> registerClassForReflection(access, subtype.getName()), + genericJsonClass); + + registerClassForReflection(access, "com.google.api.client.util.GenericData"); + registerClassForReflection(access, "com.google.api.client.json.webtoken.JsonWebToken"); + registerClassForReflection(access, "com.google.api.client.json.webtoken.JsonWebToken$Header"); + registerClassForReflection( + access, "com.google.api.client.json.webtoken.JsonWebToken$Payload"); + registerClassForReflection( + access, "com.google.api.client.json.webtoken.JsonWebSignature$Header"); + registerClassForReflection(access, "com.google.api.client.json.webtoken.JsonWebSignature"); + registerClassForReflection(access, "com.google.api.client.http.UrlEncodedContent"); + registerClassForReflection(access, "com.google.api.client.http.GenericUrl"); + registerClassForReflection(access, "com.google.api.client.http.HttpRequest"); + registerClassForReflection(access, "com.google.api.client.http.HttpHeaders"); + } + } + + private void loadMiscClasses(BeforeAnalysisAccess access) { + registerClassForReflection(access, "com.google.common.util.concurrent.AbstractFuture"); + registerClassForReflection(access, "com.google.common.util.concurrent.AbstractFuture$Waiter"); + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java new file mode 100644 index 000000000000..754f9005e241 --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java @@ -0,0 +1,122 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features; + +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassForReflection; +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassHierarchyForReflection; +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerForReflectiveInstantiation; +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerForUnsafeFieldAccess; + +import com.oracle.svm.core.annotate.AutomaticFeature; +import org.graalvm.nativeimage.hosted.Feature; + +/** Configures Native Image settings for the grpc-netty-shaded dependency. */ +@AutomaticFeature +final class GrpcNettyFeature implements Feature { + + private static final String GRPC_NETTY_SHADED_CLASS = + "io.grpc.netty.shaded.io.grpc.netty.NettyServer"; + + private static final String GOOGLE_AUTH_CLASS = + "com.google.auth.oauth2.ServiceAccountCredentials"; + + @Override + public void beforeAnalysis(BeforeAnalysisAccess access) { + loadGoogleAuthClasses(access); + loadGrpcNettyClasses(access); + loadMiscClasses(access); + } + + private static void loadGoogleAuthClasses(BeforeAnalysisAccess access) { + // For com.google.auth:google-auth-library-oauth2-http + Class authClass = access.findClassByName(GOOGLE_AUTH_CLASS); + if (authClass != null) { + registerClassHierarchyForReflection( + access, "com.google.auth.oauth2.ServiceAccountCredentials"); + registerClassHierarchyForReflection( + access, "com.google.auth.oauth2.ServiceAccountJwtAccessCredentials"); + } + } + + private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { + // For io.grpc:grpc-netty-shaded + Class nettyShadedClass = access.findClassByName(GRPC_NETTY_SHADED_CLASS); + if (nettyShadedClass != null) { + // Misc. classes used by grpc-netty-shaded + registerForReflectiveInstantiation( + access, "io.grpc.netty.shaded.io.netty.channel.socket.nio.NioSocketChannel"); + registerClassForReflection( + access, "io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil"); + registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.util.ReferenceCountUtil"); + registerClassForReflection( + access, "io.grpc.netty.shaded.io.netty.buffer.AbstractByteBufAllocator"); + + // Epoll Libraries + registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.channel.epoll.Epoll"); + registerClassForReflection( + access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollChannelOption"); + registerClassForReflection( + access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoopGroup"); + registerForReflectiveInstantiation( + access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollServerSocketChannel"); + registerForReflectiveInstantiation( + access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollSocketChannel"); + + // Unsafe field accesses + registerForUnsafeFieldAccess( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded." + + "org.jctools.queues.MpscArrayQueueProducerIndexField", + "producerIndex"); + registerForUnsafeFieldAccess( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded." + + "org.jctools.queues.MpscArrayQueueProducerLimitField", + "producerLimit"); + registerForUnsafeFieldAccess( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded." + + "org.jctools.queues.MpscArrayQueueConsumerIndexField", + "consumerIndex"); + registerForUnsafeFieldAccess( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded." + + "org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields", + "producerIndex"); + registerForUnsafeFieldAccess( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded." + + "org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields", + "producerLimit"); + registerForUnsafeFieldAccess( + access, + "io.grpc.netty.shaded.io.netty.util.internal.shaded." + + "org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields", + "consumerIndex"); + } + } + + /** Miscellaneous classes that need to be registered coming from various JARs. */ + private static void loadMiscClasses(BeforeAnalysisAccess access) { + registerClassHierarchyForReflection(access, "com.google.protobuf.DescriptorProtos"); + registerClassForReflection(access, "com.google.api.FieldBehavior"); + + registerForUnsafeFieldAccess(access, "javax.net.ssl.SSLContext", "contextSpi"); + registerClassForReflection(access, "java.lang.management.ManagementFactory"); + registerClassForReflection(access, "java.lang.management.RuntimeMXBean"); + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java new file mode 100644 index 000000000000..8b19f4b84fd0 --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java @@ -0,0 +1,174 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features; + +import java.io.IOException; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; +import java.net.JarURLConnection; +import java.net.URL; +import java.net.URLConnection; +import java.util.ArrayList; +import java.util.Enumeration; +import java.util.List; +import java.util.jar.JarEntry; +import java.util.jar.JarFile; +import java.util.logging.Logger; +import org.graalvm.nativeimage.hosted.Feature.FeatureAccess; +import org.graalvm.nativeimage.hosted.RuntimeReflection; + +/** Internal class offering helper methods for registering methods/classes for reflection. */ +public class NativeImageUtils { + + private static final Logger LOGGER = Logger.getLogger(NativeImageUtils.class.getName()); + + /** Returns the method of a class or fails if it is not present. */ + public static Method getMethodOrFail(Class clazz, String methodName, Class... params) { + try { + return clazz.getDeclaredMethod(methodName, params); + } catch (NoSuchMethodException e) { + throw new RuntimeException( + "Failed to find method " + methodName + " for class " + clazz.getName(), e); + } + } + + /** Registers a class for reflective construction via its default constructor. */ + public static void registerForReflectiveInstantiation(FeatureAccess access, String className) { + Class clazz = access.findClassByName(className); + if (clazz != null) { + RuntimeReflection.register(clazz); + RuntimeReflection.registerForReflectiveInstantiation(clazz); + } else { + LOGGER.warning( + "Failed to find " + className + " on the classpath for reflective instantiation."); + } + } + + /** Registers all constructors of a class for reflection. */ + public static void registerConstructorsForReflection(FeatureAccess access, String name) { + Class clazz = access.findClassByName(name); + if (clazz != null) { + RuntimeReflection.register(clazz); + RuntimeReflection.register(clazz.getDeclaredConstructors()); + } else { + LOGGER.warning("Failed to find " + name + " on the classpath for reflection."); + } + } + + /** Registers an entire class for reflection use. */ + public static void registerClassForReflection(FeatureAccess access, String name) { + Class clazz = access.findClassByName(name); + if (clazz != null) { + RuntimeReflection.register(clazz); + RuntimeReflection.register(clazz.getDeclaredConstructors()); + RuntimeReflection.register(clazz.getDeclaredFields()); + RuntimeReflection.register(clazz.getDeclaredMethods()); + } else { + LOGGER.warning("Failed to find " + name + " on the classpath for reflection."); + } + } + + /** + * Registers the transitive class hierarchy of the provided {@code className} for reflection. + * + *

    The transitive class hierarchy contains the class itself and its transitive set of + * *non-private* nested subclasses. + */ + public static void registerClassHierarchyForReflection(FeatureAccess access, String className) { + Class clazz = access.findClassByName(className); + if (clazz != null) { + registerClassForReflection(access, className); + for (Class nestedClass : clazz.getDeclaredClasses()) { + if (!Modifier.isPrivate(nestedClass.getModifiers())) { + registerClassHierarchyForReflection(access, nestedClass.getName()); + } + } + } else { + LOGGER.warning("Failed to find " + className + " on the classpath for reflection."); + } + } + + /** Registers a class for unsafe reflective field access. */ + public static void registerForUnsafeFieldAccess( + FeatureAccess access, String className, String... fields) { + Class clazz = access.findClassByName(className); + if (clazz != null) { + RuntimeReflection.register(clazz); + for (String fieldName : fields) { + try { + RuntimeReflection.register(clazz.getDeclaredField(fieldName)); + } catch (NoSuchFieldException ex) { + LOGGER.warning("Failed to register field " + fieldName + " for class " + className); + LOGGER.warning(ex.getMessage()); + } + } + } else { + LOGGER.warning( + "Failed to find " + + className + + " on the classpath for unsafe fields access registration."); + } + } + + /** Registers all the classes under the specified package for reflection. */ + public static void registerPackageForReflection(FeatureAccess access, String packageName) { + ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); + + try { + String path = packageName.replace('.', '/'); + + Enumeration resources = classLoader.getResources(path); + while (resources.hasMoreElements()) { + URL url = resources.nextElement(); + + URLConnection connection = url.openConnection(); + if (connection instanceof JarURLConnection) { + List classes = findClassesInJar((JarURLConnection) connection, packageName); + for (String className : classes) { + registerClassHierarchyForReflection(access, className); + } + } + } + } catch (IOException e) { + throw new RuntimeException("Failed to load classes under package name.", e); + } + } + + private static List findClassesInJar(JarURLConnection urlConnection, String packageName) + throws IOException { + + List result = new ArrayList<>(); + + final JarFile jarFile = urlConnection.getJarFile(); + final Enumeration entries = jarFile.entries(); + + while (entries.hasMoreElements()) { + JarEntry entry = entries.nextElement(); + String entryName = entry.getName(); + + if (entryName.endsWith(".class")) { + String javaClassName = entryName.replace(".class", "").replace('/', '.'); + + if (javaClassName.startsWith(packageName)) { + result.add(javaClassName); + } + } + } + + return result; + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java new file mode 100644 index 000000000000..40251e85e44d --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features; + +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.List; +import org.graalvm.nativeimage.hosted.Feature; +import org.graalvm.nativeimage.hosted.RuntimeReflection; + +/** + * A optional feature which registers reflective usages of the GRPC Protobuf libraries. + * + *

    This feature is only needed if you need to access proto objects reflectively (such as + * printing/logging proto objects). + * + *

    To add this feature, add "--feature + * com.google.cloud.nativeimage.features.ProtobufMessageFeature" to your GraalVM configuration. + */ +final class ProtobufMessageFeature implements Feature { + + // Proto classes to check on the classpath. + private static final String PROTO_MESSAGE_CLASS = "com.google.protobuf.GeneratedMessageV3"; + private static final String PROTO_ENUM_CLASS = "com.google.protobuf.ProtocolMessageEnum"; + private static final String ENUM_VAL_DESCRIPTOR_CLASS = + "com.google.protobuf.Descriptors$EnumValueDescriptor"; + + // Prefixes of methods accessed reflectively by + // com.google.protobuf.GeneratedMessageV3$ReflectionInvoker + private static final List METHOD_ACCESSOR_PREFIXES = + Arrays.asList("get", "set", "has", "add", "clear", "newBuilder"); + + @Override + public void beforeAnalysis(BeforeAnalysisAccess access) { + Class protoMessageClass = access.findClassByName(PROTO_MESSAGE_CLASS); + if (protoMessageClass != null) { + Method internalAccessorMethod = + NativeImageUtils.getMethodOrFail(protoMessageClass, "internalGetFieldAccessorTable"); + + // Finds every class whose `internalGetFieldAccessorTable()` is reached and registers it. + // `internalGetFieldAccessorTable()` is used downstream to access the class reflectively. + access.registerMethodOverrideReachabilityHandler( + (duringAccess, method) -> { + registerFieldAccessors(method.getDeclaringClass()); + registerFieldAccessors(getBuilderClass(method.getDeclaringClass())); + }, + internalAccessorMethod); + } + + Class protoEnumClass = access.findClassByName(PROTO_ENUM_CLASS); + if (protoEnumClass != null) { + // Finds every reachable proto enum class and registers specific methods for reflection. + access.registerSubtypeReachabilityHandler( + (duringAccess, subtypeClass) -> { + if (!PROTO_ENUM_CLASS.equals(subtypeClass.getName())) { + Method method = + NativeImageUtils.getMethodOrFail( + subtypeClass, + "valueOf", + duringAccess.findClassByName(ENUM_VAL_DESCRIPTOR_CLASS)); + RuntimeReflection.register(method); + + method = NativeImageUtils.getMethodOrFail(subtypeClass, "getValueDescriptor"); + RuntimeReflection.register(method); + } + }, + protoEnumClass); + } + } + + /** Given a proto class, registers the public accessor methods for the provided proto class. */ + private static void registerFieldAccessors(Class protoClass) { + for (Method method : protoClass.getMethods()) { + boolean hasAccessorPrefix = + METHOD_ACCESSOR_PREFIXES.stream().anyMatch(prefix -> method.getName().startsWith(prefix)); + if (hasAccessorPrefix) { + RuntimeReflection.register(method); + } + } + } + + /** Given a proto class, returns the Builder nested class. */ + private static Class getBuilderClass(Class protoClass) { + for (Class clazz : protoClass.getClasses()) { + if (clazz.getName().endsWith("Builder")) { + return clazz; + } + } + return null; + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java new file mode 100644 index 000000000000..7b7eaaebaf20 --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java @@ -0,0 +1,146 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features.clients; + +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassForReflection; +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassHierarchyForReflection; + +import com.oracle.svm.core.annotate.AutomaticFeature; +import com.oracle.svm.core.configure.ResourcesRegistry; +import java.io.IOException; +import java.lang.reflect.Modifier; +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; +import java.nio.file.Path; +import java.util.Arrays; +import java.util.Enumeration; +import java.util.List; +import java.util.function.Consumer; +import java.util.jar.JarEntry; +import java.util.jar.JarFile; +import java.util.stream.Collectors; +import org.graalvm.nativeimage.ImageSingletons; +import org.graalvm.nativeimage.hosted.Feature; +import org.graalvm.nativeimage.hosted.RuntimeReflection; + +/** A feature which registers reflective usages of the Cloud Functions library. */ +@AutomaticFeature +final class CloudFunctionsFeature implements Feature { + + private static final String FUNCTION_INVOKER_CLASS = + "com.google.cloud.functions.invoker.runner.Invoker"; + + private static final List FUNCTIONS_CLASSES = + Arrays.asList( + "com.google.cloud.functions.HttpFunction", + "com.google.cloud.functions.RawBackgroundFunction", + "com.google.cloud.functions.BackgroundFunction"); + + @Override + public void beforeAnalysis(BeforeAnalysisAccess access) { + Class invokerClass = access.findClassByName(FUNCTION_INVOKER_CLASS); + if (invokerClass != null) { + // JCommander libraries + registerClassForReflection(access, "com.beust.jcommander.converters.StringConverter"); + registerClassForReflection(access, "com.beust.jcommander.validators.NoValidator"); + registerClassForReflection(access, "com.beust.jcommander.validators.NoValueValidator"); + + // Jetty libraries + registerClassForReflection(access, "org.eclipse.jetty.http.HttpTokens"); + registerClassForReflection(access, "org.eclipse.jetty.util.TypeUtil"); + + // Cloud Functions core + registerClassForReflection( + access, "com.google.cloud.functions.invoker.runner.Invoker$Options"); + + // Register Jetty Resources. + ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); + resourcesRegistry.addResources( + "\\QMETA-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder\\E"); + resourcesRegistry.addResources("\\Qorg/eclipse/jetty/http/encoding.properties\\E"); + resourcesRegistry.addResources("\\Qorg/eclipse/jetty/http/mime.properties\\E"); + resourcesRegistry.addResources("\\Qorg/eclipse/jetty/version/build.properties\\E"); + resourcesRegistry.addResourceBundles("javax.servlet.LocalStrings"); + resourcesRegistry.addResourceBundles("javax.servlet.http.LocalStrings"); + + // Register user-implemented Function classes + List> functionClasses = + FUNCTIONS_CLASSES.stream() + .map(name -> access.findClassByName(name)) + .collect(Collectors.toList()); + + scanJarClasspath( + access, + clazz -> { + boolean isFunctionSubtype = + functionClasses.stream() + .anyMatch( + function -> + function.isAssignableFrom(clazz) + && !Modifier.isAbstract(clazz.getModifiers())); + + if (isFunctionSubtype) { + RuntimeReflection.register(clazz); + RuntimeReflection.register(clazz.getDeclaredConstructors()); + RuntimeReflection.register(clazz.getDeclaredMethods()); + + // This part is to register the parameterized class of BackgroundFunctions + // for reflection; i.e. register type T in BackgroundFunction + for (Type type : clazz.getGenericInterfaces()) { + if (type instanceof ParameterizedType) { + ParameterizedType paramType = (ParameterizedType) type; + for (Type argument : paramType.getActualTypeArguments()) { + registerClassHierarchyForReflection(access, argument.getTypeName()); + } + } + } + } + }); + } + } + + /** + * Scan the JAR classpath for classes. The {@code classProcessorFunction} is run once for each + * class in the classpath. + */ + private static void scanJarClasspath( + FeatureAccess access, Consumer> classProcessorCallback) { + + List classPath = access.getApplicationClassPath(); + try { + for (Path path : classPath) { + JarFile jarFile = new JarFile(path.toFile()); + Enumeration entries = jarFile.entries(); + + while (entries.hasMoreElements()) { + JarEntry jarEntry = entries.nextElement(); + String fileName = jarEntry.getName(); + if (fileName.endsWith(".class")) { + String className = fileName.substring(0, fileName.length() - 6).replaceAll("/", "."); + + Class clazz = access.findClassByName(className); + if (clazz != null) { + classProcessorCallback.accept(clazz); + } + } + } + } + } catch (IOException e) { + throw new RuntimeException("Failed to read classpath: ", e); + } + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java new file mode 100644 index 000000000000..48b4c1e4efa5 --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java @@ -0,0 +1,90 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features.clients; + +import com.google.cloud.nativeimage.features.NativeImageUtils; +import com.oracle.svm.core.annotate.AutomaticFeature; +import com.oracle.svm.core.configure.ResourcesRegistry; +import org.graalvm.nativeimage.ImageSingletons; +import org.graalvm.nativeimage.hosted.Feature; +import org.graalvm.nativeimage.hosted.RuntimeClassInitialization; +import org.graalvm.nativeimage.hosted.RuntimeReflection; + +/** Registers GraalVM configuration for the Cloud SQL libraries for MySQL and Postgres. */ +@AutomaticFeature +final class CloudSqlFeature implements Feature { + + private static final String CLOUD_SQL_SOCKET_CLASS = + "com.google.cloud.sql.core.CoreSocketFactory"; + + private static final String POSTGRES_SOCKET_CLASS = "com.google.cloud.sql.postgres.SocketFactory"; + + private static final String MYSQL_SOCKET_CLASS = "com.google.cloud.sql.mysql.SocketFactory"; + + @Override + public void beforeAnalysis(BeforeAnalysisAccess access) { + if (access.findClassByName(CLOUD_SQL_SOCKET_CLASS) == null) { + return; + } + + // The Core Cloud SQL Socket + NativeImageUtils.registerClassForReflection(access, CLOUD_SQL_SOCKET_CLASS); + + // Resources for Cloud SQL + ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); + resourcesRegistry.addResources("\\Qcom.google.cloud.sql/project.properties\\E"); + resourcesRegistry.addResources("\\QMETA-INF/services/java.sql.Driver\\E"); + + // Register Hikari configs if used with Cloud SQL. + if (access.findClassByName("com.zaxxer.hikari.HikariConfig") != null) { + NativeImageUtils.registerClassForReflection(access, "com.zaxxer.hikari.HikariConfig"); + + RuntimeReflection.register( + access.findClassByName("[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;")); + + RuntimeReflection.register(access.findClassByName("[Ljava.sql.Statement;")); + } + + // Register PostgreSQL driver config. + if (access.findClassByName(POSTGRES_SOCKET_CLASS) != null) { + NativeImageUtils.registerClassForReflection( + access, "com.google.cloud.sql.postgres.SocketFactory"); + NativeImageUtils.registerClassForReflection(access, "org.postgresql.PGProperty"); + } + + // Register MySQL driver config. + if (access.findClassByName(MYSQL_SOCKET_CLASS) != null) { + NativeImageUtils.registerClassForReflection(access, MYSQL_SOCKET_CLASS); + + NativeImageUtils.registerConstructorsForReflection( + access, "com.mysql.cj.conf.url.SingleConnectionUrl"); + + NativeImageUtils.registerConstructorsForReflection(access, "com.mysql.cj.log.StandardLogger"); + + access.registerSubtypeReachabilityHandler( + (duringAccess, exceptionClass) -> + NativeImageUtils.registerClassForReflection(duringAccess, exceptionClass.getName()), + access.findClassByName("com.mysql.cj.exceptions.CJException")); + + // JDBC classes create socket connections which must be initialized at run time. + RuntimeClassInitialization.initializeAtRunTime("com.mysql.cj.jdbc"); + + // Additional MySQL resources. + resourcesRegistry.addResourceBundles("com.mysql.cj.LocalizedErrorMessages"); + } + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java new file mode 100644 index 000000000000..f2b6cb2098c2 --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features.clients; + +import static com.google.cloud.nativeimage.features.NativeImageUtils.registerForReflectiveInstantiation; + +import com.oracle.svm.core.annotate.AutomaticFeature; +import org.graalvm.nativeimage.hosted.Feature; + +/** Registers reflection usage in OpenCensus libraries. */ +@AutomaticFeature +final class OpenCensusFeature implements Feature { + + private static final String OPEN_CENSUS_CLASS = "io.opencensus.impl.tags.TagsComponentImpl"; + + @Override + public void beforeAnalysis(BeforeAnalysisAccess access) { + if (access.findClassByName(OPEN_CENSUS_CLASS) != null) { + registerForReflectiveInstantiation(access, "io.opencensus.impl.metrics.MetricsComponentImpl"); + registerForReflectiveInstantiation(access, "io.opencensus.impl.tags.TagsComponentImpl"); + registerForReflectiveInstantiation(access, "io.opencensus.impl.trace.TraceComponentImpl"); + } + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java new file mode 100644 index 000000000000..e902c77928cf --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features.clients; + +import com.google.cloud.nativeimage.features.NativeImageUtils; +import com.oracle.svm.core.annotate.AutomaticFeature; +import com.oracle.svm.core.configure.ResourcesRegistry; +import org.graalvm.nativeimage.ImageSingletons; +import org.graalvm.nativeimage.hosted.Feature; + +/** Registers Spanner library classes for reflection. */ +@AutomaticFeature +final class SpannerFeature implements Feature { + + private static final String SPANNER_CLASS = "com.google.spanner.v1.SpannerGrpc"; + + @Override + public void beforeAnalysis(BeforeAnalysisAccess access) { + Class spannerClass = access.findClassByName(SPANNER_CLASS); + if (spannerClass != null) { + NativeImageUtils.registerClassHierarchyForReflection( + access, "com.google.spanner.admin.database.v1.Database"); + NativeImageUtils.registerClassHierarchyForReflection( + access, "com.google.spanner.admin.instance.v1.Instance"); + NativeImageUtils.registerClassForReflection( + access, "com.google.spanner.admin.database.v1.RestoreInfo"); + + // Resources + ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); + resourcesRegistry.addResources( + "\\Qcom/google/cloud/spanner/connection/ClientSideStatements.json\\E"); + resourcesRegistry.addResources( + "\\Qcom/google/cloud/spanner/spi/v1/grpc-gcp-apiconfig.json\\E"); + } + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java new file mode 100644 index 000000000000..c170c2ea7a3d --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java @@ -0,0 +1,64 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features.substitutions; + +import com.oracle.svm.core.annotate.Alias; +import com.oracle.svm.core.annotate.Substitute; +import com.oracle.svm.core.annotate.TargetClass; +import java.util.function.BooleanSupplier; + +/** Substitution for setting Java version correctly in the Google Java Http Client. */ +@TargetClass( + className = + "com.google.api.client.googleapis.services.AbstractGoogleClientRequest$ApiClientVersion", + onlyWith = ApiClientVersionSubstitutions.OnlyIfInClassPath.class) +final class ApiClientVersionSubstitutions { + + @Alias private String versionString; + + @Substitute + public String toString() { + String[] tokens = versionString.split(" "); + + if (tokens.length > 0 && tokens[0].startsWith("gl-java")) { + tokens[0] += "-graalvm"; + return String.join(" ", tokens); + } else { + return versionString; + } + } + + private ApiClientVersionSubstitutions() {} + + static class OnlyIfInClassPath implements BooleanSupplier { + + @Override + public boolean getAsBoolean() { + try { + // Note: Set initialize = false to avoid initializing the class when looking it up. + Class.forName( + "com.google.api.client.googleapis.services." + + "AbstractGoogleClientRequest$ApiClientVersion", + false, + Thread.currentThread().getContextClassLoader()); + return true; + } catch (ClassNotFoundException e) { + return false; + } + } + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java new file mode 100644 index 000000000000..54245a8ee8b7 --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java @@ -0,0 +1,56 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features.substitutions; + +import com.oracle.svm.core.annotate.Alias; +import com.oracle.svm.core.annotate.RecomputeFieldValue; +import com.oracle.svm.core.annotate.RecomputeFieldValue.Kind; +import com.oracle.svm.core.annotate.TargetClass; +import java.util.function.BooleanSupplier; + +/** + * This file contains the GaxProperties substitution to correctly set the Java language string in + * API call headers for Native Image users. + */ +@TargetClass( + className = "com.google.api.gax.core.GaxProperties", + onlyWith = GaxPropertiesSubstitutions.OnlyIfInClassPath.class) +final class GaxPropertiesSubstitutions { + + @Alias + @RecomputeFieldValue(kind = Kind.FromAlias) + private static String JAVA_VERSION = System.getProperty("java.version") + "-graalvm"; + + private GaxPropertiesSubstitutions() {} + + static class OnlyIfInClassPath implements BooleanSupplier { + + @Override + public boolean getAsBoolean() { + try { + // Note: Set initialize = false to avoid initializing the class when looking it up. + Class.forName( + "com.google.api.gax.core.GaxProperties", + false, + Thread.currentThread().getContextClassLoader()); + return true; + } catch (ClassNotFoundException e) { + return false; + } + } + } +} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java new file mode 100644 index 000000000000..7fcea16318ca --- /dev/null +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 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.cloud.nativeimage.features.substitutions; + +import com.oracle.svm.core.annotate.Substitute; +import com.oracle.svm.core.annotate.TargetClass; +import io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory; +import io.grpc.netty.shaded.io.netty.util.internal.logging.JdkLoggerFactory; +import java.util.function.BooleanSupplier; + +/** + * Substitutions for {@link InternalLoggerFactory} which are needed to avoid dynamic loading of + * logging library. + */ +@TargetClass( + className = "io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory", + onlyWith = NettyInternalLoggerFactorySubstitutions.OnlyIfInClassPath.class) +final class NettyInternalLoggerFactorySubstitutions { + + @Substitute + private static InternalLoggerFactory newDefaultFactory(String name) { + return JdkLoggerFactory.INSTANCE; + } + + static class OnlyIfInClassPath implements BooleanSupplier { + + @Override + public boolean getAsBoolean() { + try { + // Note: Set initialize = false to avoid initializing the class when looking it up. + Class.forName( + "io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory", + false, + Thread.currentThread().getContextClassLoader()); + return true; + } catch (ClassNotFoundException e) { + return false; + } + } + } +} diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties new file mode 100644 index 000000000000..aa6156106633 --- /dev/null +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties @@ -0,0 +1,14 @@ +Args = --allow-incomplete-classpath \ +--enable-url-protocols=https,http \ +--initialize-at-build-time=org.conscrypt \ +--initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethod,\ + io.grpc.netty.shaded.io.grpc.netty,\ + io.grpc.netty.shaded.io.netty.channel.epoll,\ + io.grpc.netty.shaded.io.netty.channel.unix,\ + io.grpc.netty.shaded.io.netty.handler.ssl,\ + io.grpc.internal.RetriableStream,\ + com.google.api.client.googleapis.services.AbstractGoogleClientRequest$ApiClientVersion,\ + com.google.cloud.firestore.FirestoreImpl diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json new file mode 100644 index 000000000000..3afe5ffebcae --- /dev/null +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json @@ -0,0 +1,13 @@ +{ + "resources":[ + {"pattern":"\\QMETA-INF/native/libio_grpc_netty_shaded_netty_tcnative_linux_x86_64.so\\E"}, + {"pattern":"\\QMETA-INF/native/libio_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so\\E"}, + {"pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E"}, + {"pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E"}, + {"pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E"}, + {"pattern":"\\QMETA-INF/services/jdk.vm.ci.services.JVMCIServiceLocator\\E"}, + {"pattern":"\\Qdependencies.properties\\E"}, + {"pattern":"\\Qgoogle-http-client.properties\\E"} + ], + "bundles":[] +} diff --git a/java-core/pom.xml b/java-core/pom.xml index d3f951d29fab..3ba942f509a5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,6 +158,7 @@ 1.3.0 1.33.0 1.41.0 + 21.3.0 1.43.1 3.19.2 0.28.0 @@ -283,6 +284,21 @@ ${gson.version} + + + org.graalvm.nativeimage + svm + ${graalvm.version} + provided + + + + org.graalvm.sdk + graal-sdk + ${graalvm.version} + provided + + com.google.truth @@ -322,6 +338,7 @@ google-cloud-core-http google-cloud-core-grpc google-cloud-core-bom + native-image-support diff --git a/java-core/versions.txt b/java-core/versions.txt index cdb2601a3965..4cd1c2e1fd94 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.5:2.3.6-SNAPSHOT \ No newline at end of file +google-cloud-core:2.3.5:2.3.6-SNAPSHOT +native-image-support:0.10.0:0.11.0-SNAPSHOT \ No newline at end of file From bb535b1be886766d8e2ce323101026bd30b3f564 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 00:05:17 +0100 Subject: [PATCH 1928/3036] deps: update graalvm.version to v21.3.1 (#679) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3ba942f509a5..5ee7b9c6846b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.3.0 1.33.0 1.41.0 - 21.3.0 + 21.3.1 1.43.1 3.19.2 0.28.0 From f2d45eb267d8c7e70c3822af308aa91bc578a931 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 00:05:44 +0100 Subject: [PATCH 1929/3036] test(deps): update dependency org.objenesis:objenesis to v3 (#669) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5ee7b9c6846b..4f7602fbaed2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.6 3.0.2 1.5.2 - 2.6 + 3.2 2.10.0 2.8.9 From 55029f6f3d64c7ca1e57d9745f544891e8f7910e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 00:05:58 +0100 Subject: [PATCH 1930/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.1 (#667) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4f7602fbaed2..d21078e43388 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.8.1 2.1.2 2.7.1 - 1.2.0 + 1.2.1 1.3.0 1.33.0 1.41.0 From e0185b8c78d62b447c43ddaa746cb77d49b2fce3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 00:06:12 +0100 Subject: [PATCH 1931/3036] deps: update opencensus.version to v0.30.0 (#646) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d21078e43388..6a38fcfce479 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -161,7 +161,7 @@ 21.3.1 1.43.1 3.19.2 - 0.28.0 + 0.30.0 1.3.2 31.0.1-jre 4.13.2 From 226bc3f108eed4061af6c49f2b0e74b33b3ab3a9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 02:26:26 +0100 Subject: [PATCH 1932/3036] deps: update dependency org.easymock:easymock to v4 (#668) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.easymock:easymock](http://easymock.org) ([source](https://togithub.com/easymock/easymock)) | `3.6` -> `4.3` | [![age](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/4.3/compatibility-slim/3.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/4.3/confidence-slim/3.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6a38fcfce479..0fa8030237e5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -166,7 +166,7 @@ 31.0.1-jre 4.13.2 1.1.3 - 3.6 + 4.3 3.0.2 1.5.2 3.2 From 864f6b3e6644f0b50a28d1e5283f56d22ff2bd59 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 02:31:58 +0100 Subject: [PATCH 1933/3036] deps: update gax.version to v2.9.0 (#573) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 804668345f00..e215cfa6923f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.43.2 - 2.8.1 + 2.9.0 1.1.0 31.0.1-jre 3.19.2 From 57cfc9e8059717fe750241a9b88fe379732d8848 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 02:32:08 +0100 Subject: [PATCH 1934/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.5 (#570) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e215cfa6923f..037bff4b1df4 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 45f63dbd9bde..cf6f8a9c0fa8 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 209bfda7479d..6c5c29780576 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 6ce0a59524f1..09a7ba4c316c 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.2.4 + 1.2.5 From ff03c654580b1b19aabe27d0bf32d28e778e780d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 02:32:17 +0100 Subject: [PATCH 1935/3036] deps: update iam.version to v1.2.1 (#569) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 037bff4b1df4..711d5ceb4841 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.0 1.32.1 1.33.0 - 1.2.0 + 1.2.1 From 5418bc5fac3843a39f0f07fa66d92b8a9caf1b22 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 02:33:00 +0100 Subject: [PATCH 1936/3036] deps: update dependency org.checkerframework:checker-qual to v3.21.1 (#554) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 6c5c29780576..0a1a8fa93805 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.20.0 + 3.21.1 From 9a64030dcf667a86f7ae79e5e700d2266180bf3f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 02:34:32 +0100 Subject: [PATCH 1937/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.19.3 (#262) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 4e0586c3caca..0ef1b9ba2321 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.19.2' + compile 'com.google.protobuf:protobuf-java:3.19.3' compile 'com.google.api:api-common:2.1.2' compile project(':proto-google-common-protos') } From 4ebc46f1ba36f3dfa406a60a62679b2f3d8e6b57 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 18:16:26 +0100 Subject: [PATCH 1938/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 (#555) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 0a1a8fa93805..145af776763f 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 0.28.0 3.0.2 2.10.0 - 2.13.0 + 2.13.1 1.15 4.4.15 4.5.13 From 9ecf9169e7d82853e3f126e4dfa60eb4fffd0b12 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 19:45:32 +0100 Subject: [PATCH 1939/3036] deps: update dependency org.graalvm.sdk:graal-sdk to v22 (#680) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0fa8030237e5..301d8e97dc9a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.3.0 1.33.0 1.41.0 - 21.3.1 + 22.0.0 1.43.1 3.19.2 0.30.0 From 7742c1f3ebfa0702f15b9bc5dfbb7a30e9a4539f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 19:45:42 +0100 Subject: [PATCH 1940/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.19.3 (#674) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 301d8e97dc9a..b2b36650c980 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 1.41.0 22.0.0 1.43.1 - 3.19.2 + 3.19.3 0.30.0 1.3.2 31.0.1-jre From 22708abb67a4100f045b41939c5a24044c202de4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 19:56:15 +0100 Subject: [PATCH 1941/3036] deps: update dependency io.grpc:grpc-bom to v1.43.2 (#665) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.43.1` -> `1.43.2` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.2/compatibility-slim/1.43.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.43.2/confidence-slim/1.43.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    grpc/grpc-java ### [`v1.43.2`](https://togithub.com/grpc/grpc-java/releases/v1.43.2) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.43.1...v1.43.2) ##### Dependencies - Upgraded Protobuf to 3.19.2 to avoid CVE-2021-22569. See the [protobuf advisory](https://togithub.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b2b36650c980..53754ae366a0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.33.0 1.41.0 22.0.0 - 1.43.1 + 1.43.2 3.19.3 0.30.0 1.3.2 From 37407e29cb082d08db94e12175638a5daf3506a0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 22:14:44 +0100 Subject: [PATCH 1942/3036] deps: update opencensus.version to v0.30.0 (#552) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 145af776763f..b75bcf4cb691 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 1.5.2 1.3.2 1.20 - 0.28.0 + 0.30.0 3.0.2 2.10.0 2.13.1 From 5448af96f2e9375ed077fdb90eb7d341aea80023 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Jan 2022 22:20:19 +0100 Subject: [PATCH 1943/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.19.3 (#571) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.19.2` -> `3.19.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.3/compatibility-slim/3.19.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.3/confidence-slim/3.19.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.19.3`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.3) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.19.2...v3.19.3) ### Python - Fix missing Windows wheel for Python 3.10 on PyPI
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 711d5ceb4841..c7af3530cb4c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.9.0 1.1.0 31.0.1-jre - 3.19.2 + 3.19.3 2.1.2 2.7.1 2.3.5 From ab0f6589a53ccdc19b62b4bb5967a65aba843f73 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 20 Jan 2022 17:40:13 +0000 Subject: [PATCH 1944/3036] chore(main): release 2.6.1-SNAPSHOT (#574) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c7af3530cb4c..56464aff058a 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 - 2.6.0 + 2.6.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cf6f8a9c0fa8..66db7e2cbc21 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 - 2.6.0 + 2.6.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.6.0 + 2.6.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.6.0 + 2.6.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index b75bcf4cb691..1001a5436663 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 - 2.6.0 + 2.6.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 09a7ba4c316c..7b9c8ef8a5e0 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 - 2.6.0 + 2.6.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.6.0 + 2.6.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 668d84aaf193..2eb8f8602569 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.6.0:2.6.0 \ No newline at end of file +google-cloud-shared-dependencies:2.6.0:2.6.1-SNAPSHOT \ No newline at end of file From 87b4072b0a211530743d9c4f1dda42cfe827458e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Jan 2022 21:26:24 +0100 Subject: [PATCH 1945/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.4.0 (#681) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.3.0` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.4.0/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.4.0/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.4.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev130v140-2022-01-19) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.3.0...v1.4.0) ##### Features - setting the audience to always point to google token endpoint ([#​833](https://togithub.com/googleapis/google-auth-library-java/issues/833)) ([33bfe7a](https://togithub.com/googleapis/google-auth-library-java/commit/33bfe7a788a524324cd9b0a54acc8917f6b75556)) ##### Bug Fixes - (WIF) remove erroneous check for the subject token field name for text credential source ([#​822](https://togithub.com/googleapis/google-auth-library-java/issues/822)) ([6d35c68](https://togithub.com/googleapis/google-auth-library-java/commit/6d35c681cf397ff2a90363184e26ee5850294c41)) - **java:** add -ntp flag to native image testing command ([#​1299](https://togithub.com/googleapis/google-auth-library-java/issues/1299)) ([#​807](https://togithub.com/googleapis/google-auth-library-java/issues/807)) ([aa6654a](https://togithub.com/googleapis/google-auth-library-java/commit/aa6654a639ea15bcce7c7a6e86f170b1345895f0)) - **java:** run Maven in plain console-friendly mode ([#​1301](https://togithub.com/googleapis/google-auth-library-java/issues/1301)) ([#​818](https://togithub.com/googleapis/google-auth-library-java/issues/818)) ([4df45d0](https://togithub.com/googleapis/google-auth-library-java/commit/4df45d0d03a973f1beff43d8965c26289f217f22))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 53754ae366a0..e7969145ca75 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.1.2 2.7.1 1.2.1 - 1.3.0 + 1.4.0 1.33.0 1.41.0 22.0.0 From 9969f9e8483df5d8616bf5bc4ceed336742678b2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Jan 2022 21:26:28 +0100 Subject: [PATCH 1946/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.1 (#683) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.0` -> `1.41.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.1/compatibility-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.1/confidence-slim/1.41.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.1`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1411-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1410v1411-2022-01-21) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.0...v1.41.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e7969145ca75..3510300613f7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.2.1 1.4.0 1.33.0 - 1.41.0 + 1.41.1 22.0.0 1.43.2 3.19.3 From 3ea77423846b85e9421677b1a2ae8642635a1883 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Jan 2022 21:34:15 +0100 Subject: [PATCH 1947/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.6 (#682) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.5` -> `1.2.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/compatibility-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/confidence-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.6`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​126-httpsgithubcomgoogleapisjava-shared-configcomparev125v126-2022-01-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.5...v1.2.6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 2b72ab863b77..0bbabd1a64cc 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3510300613f7..8df9e82cbbb9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 From a4fa78f268c89dc2656fd8e9ec8f859c671be0b1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Jan 2022 22:30:19 +0100 Subject: [PATCH 1948/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.1 (#684) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.33.0` -> `1.33.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/compatibility-slim/1.33.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/confidence-slim/1.33.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.33.1`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1331-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1330v1331-2022-01-21) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.0...v1.33.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8df9e82cbbb9..c6874784a371 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.7.1 1.2.1 1.4.0 - 1.33.0 + 1.33.1 1.41.1 22.0.0 1.43.2 From e019a46650e0f013dbbe387755d32802565469f0 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 25 Jan 2022 10:45:20 -0500 Subject: [PATCH 1949/3036] fix(java): initialize LoggerFactory at build time (#685) --- .../com.google.cloud/google-cloud-core/native-image.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties index aa6156106633..a9171de6a28b 100644 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties @@ -1,6 +1,7 @@ Args = --allow-incomplete-classpath \ --enable-url-protocols=https,http \ ---initialize-at-build-time=org.conscrypt \ +--initialize-at-build-time=org.conscrypt,\ + org.slf4j.LoggerFactory \ --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ From 8f35eadc153dc83bd0f417845411387bc55f7dc6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Jan 2022 00:12:16 +0100 Subject: [PATCH 1950/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.6 (#266) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.5` -> `1.2.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/compatibility-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.6/confidence-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.6`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​126-httpsgithubcomgoogleapisjava-shared-configcomparev125v126-2022-01-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.5...v1.2.6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index dcb3ee7cd138..78847868b99d 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 From 592d51967a12ae866da9a3a4c9f1fa50407c4bc9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Jan 2022 00:16:33 +0100 Subject: [PATCH 1951/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.11.0 (#687) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.10.0` -> `2.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.11.0/compatibility-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.11.0/confidence-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.11.0`](https://togithub.com/google/error-prone/releases/v2.11.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.10.0...v2.11.0) Error Prone now requires JDK 11 or newer ([https://github.com/google/error-prone/issues/2730](https://togithub.com/google/error-prone/issues/2730)). New checks - [`AutoValueBuilderDefaultsInConstructor`](http://errorprone.info/bugpattern/AutoValueBuilderDefaultsInConstructor) - [`FloggerLogString`](http://errorprone.info/bugpattern/FloggerLogString) - [`UnicodeDirectionalityCharacters`](http://errorprone.info/bugpattern/UnicodeDirectionalityCharacters) - [`UnicodeInCode`](http://errorprone.info/bugpattern/UnicodeInCode) - [`AlreadyChecked`](http://errorprone.info/bugpattern/AlreadyChecked) - [`BugPatternNaming`](http://errorprone.info/bugpattern/BugPatternNaming) - [`MissingImplementsComparable`](http://errorprone.info/bugpattern/MissingImplementsComparable) - [`NegativeCharLiteral`](http://errorprone.info/bugpattern/NegativeCharLiteral) - [`PreferredInterfaceType`](http://errorprone.info/bugpattern/PreferredInterfaceType) - [`StronglyTypeByteString`](http://errorprone.info/bugpattern/StronglyTypeByteString) - [`UsingJsr305CheckReturnValue`](http://errorprone.info/bugpattern/UsingJsr305CheckReturnValue) Fixed issues: [#​2641](https://togithub.com/google/error-prone/issues/2641), [#​2705](https://togithub.com/google/error-prone/issues/2705), [#​2776](https://togithub.com/google/error-prone/issues/2776), [#​2798](https://togithub.com/google/error-prone/issues/2798), [#​2799](https://togithub.com/google/error-prone/issues/2799), [#​2819](https://togithub.com/google/error-prone/issues/2819), [#​2820](https://togithub.com/google/error-prone/issues/2820), [#​2831](https://togithub.com/google/error-prone/issues/2831), [#​2833](https://togithub.com/google/error-prone/issues/2833), [#​2834](https://togithub.com/google/error-prone/issues/2834), [#​2835](https://togithub.com/google/error-prone/issues/2835), [#​2861](https://togithub.com/google/error-prone/issues/2861), [#​2873](https://togithub.com/google/error-prone/issues/2873), [#​2889](https://togithub.com/google/error-prone/issues/2889), [#​2892](https://togithub.com/google/error-prone/issues/2892), [#​2901](https://togithub.com/google/error-prone/issues/2901) **Full Changelog**: https://github.com/google/error-prone/compare/v2.10.0...v2.11.0
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c6874784a371..6d02ab5687bb 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 3.0.2 1.5.2 3.2 - 2.10.0 + 2.11.0 2.8.9
    From 321ecafbae135697e03956fe06d3d97c6b2a0f51 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Jan 2022 19:21:37 +0100 Subject: [PATCH 1952/3036] deps: update graalvm.version to v22.0.0.2 (#691) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6d02ab5687bb..b163a1fd7933 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.4.0 1.33.1 1.41.1 - 22.0.0 + 22.0.0.2 1.43.2 3.19.3 0.30.0 From 41aadf641b6c163e9baf1d0fdd71080c429ef910 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 27 Jan 2022 21:17:51 -0500 Subject: [PATCH 1953/3036] deps(java): update actions/github-script action to v5 (#1339) (#689) Source-Link: https://github.com/googleapis/synthtool/commit/466412a75d636d69bcf8a42d9a5f956e73ac421d Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 Co-authored-by: Owl Bot --- java-core/.github/.OwlBot.lock.yaml | 15 ++++++++++++++- java-core/.github/workflows/approve-readme.yaml | 2 +- java-core/.github/workflows/auto-release.yaml | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index dddb13b8458b..be3b9bde4fce 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,3 +1,16 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7f737996c88586c499f7b0c25294c760f9f5eec092289a0e08d2d3f42a069ebb + digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 diff --git a/java-core/.github/workflows/approve-readme.yaml b/java-core/.github/workflows/approve-readme.yaml index 7513acaebcc2..c5132427982f 100644 --- a/java-core/.github/workflows/approve-readme.yaml +++ b/java-core/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index 9b4fd4d8348d..59c7cadde314 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-please') steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true From 8c6b89e864703a1903d63a31d25767a5bef6985a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 03:18:13 +0100 Subject: [PATCH 1954/3036] deps: update opencensus.version to v0.31.0 (#692) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b163a1fd7933..549a3cc320d1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -161,7 +161,7 @@ 22.0.0.2 1.43.2 3.19.3 - 0.30.0 + 0.31.0 1.3.2 31.0.1-jre 4.13.2 From 285ac4a3fc75466f5984a0426a11fe5c980c63e6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 03:18:25 +0100 Subject: [PATCH 1955/3036] deps: update dependency io.grpc:grpc-bom to v1.44.0 (#693) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 549a3cc320d1..464c351c0338 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.33.1 1.41.1 22.0.0.2 - 1.43.2 + 1.44.0 3.19.3 0.31.0 1.3.2 From 435a245851a14265d2014108ac2aeb0e0bf45aa1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 03:18:38 +0100 Subject: [PATCH 1956/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.7.2 (#695) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 464c351c0338..a84e1fc0d942 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.8.1 2.1.2 - 2.7.1 + 2.7.2 1.2.1 1.4.0 1.33.1 From 01343d59cbce9feccf21c2a300d463d3a2733a63 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 16:19:28 +0100 Subject: [PATCH 1957/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.2 (#696) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a84e1fc0d942..e3e3841c3505 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.2.1 1.4.0 1.33.1 - 1.41.1 + 1.41.2 22.0.0.2 1.44.0 3.19.3 From 848b2f5cb0abf32dfcb5570740a2cdd42586b8d0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 16:35:51 +0100 Subject: [PATCH 1958/3036] deps: update dependency com.google.api:api-common to v2.1.3 (#694) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e3e3841c3505..1edbd609593f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.8.1 - 2.1.2 + 2.1.3 2.7.2 1.2.1 1.4.0 From a49ea2bc4685ad5c3421fe53eec0ef4194404c3f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 16:42:32 +0100 Subject: [PATCH 1959/3036] deps: update dependency com.google.api:gax-bom to v2.11.0 (#677) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.8.1` -> `2.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.11.0/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.11.0/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.11.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2110-httpsgithubcomgoogleapisgax-javacomparev2100v2110-2022-01-27) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.10.0...v2.11.0) ##### Features - Add a builder to handle the common logic of extracting routing header values from request ([#​1598](https://togithub.com/googleapis/gax-java/issues/1598)) ([2836baa](https://togithub.com/googleapis/gax-java/commit/2836baafa1114761cffbfdd4aee2322a4a931f8f)) ##### Dependencies - update dependency com_google_protobuf to 3.19.3 ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) - update dependency com.google.api:api-common to 2.1.3 ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) - update dependency com.google.api.grpc:grpc-google-common-protos to 2.7.2 ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) - update dependency com.google.api.grpc:proto-google-common-protos to 2.7.2 ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) - update dependency com.google.http-client:google-http-client to 1.41.2 ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) - update dependency com.google.http-client:google-http-client-gson to 1.41.2 ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) - update dependency io_grpc to 1.44.0 ([#​1610](https://togithub.com/googleapis/gax-java/issues/1610)) ([734906e](https://togithub.com/googleapis/gax-java/commit/734906efd15064ea0d36b308f217508c9bf5ed42)) ### [`v2.10.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2100-httpsgithubcomgoogleapisgax-javacomparev290v2100-2022-01-21) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.9.0...v2.10.0) ##### Features - add api key support ([#​1436](https://togithub.com/googleapis/gax-java/issues/1436)) ([5081ec6](https://togithub.com/googleapis/gax-java/commit/5081ec6541da8ca3f5a4c0d20aa75bd20010a642)) - introduce HttpJsonClientCall, Listeners infrastructure and ServerStreaming support in REST transport ([#​1599](https://togithub.com/googleapis/gax-java/issues/1599)) ([3c97529](https://togithub.com/googleapis/gax-java/commit/3c97529b8bd0e8141c5d722f887cb7ae1ed30b69)) ### [`v2.9.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​290-httpsgithubcomgoogleapisgax-javacomparev281v290-2022-01-14) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.8.1...v2.9.0) ##### Features - pass a CallCredentials to grpc-java for DirectPath ([#​1488](https://togithub.com/googleapis/gax-java/issues/1488)) ([4a7713a](https://togithub.com/googleapis/gax-java/commit/4a7713ad683e70380087437d6b52cbe3e115d1fb)) ##### [2.8.1](https://www.github.com/googleapis/gax-java/compare/v2.8.0...v2.8.1) (2022-01-06) ##### Dependencies - update dependency com.google.api:api-common to 2.1.2 ([#​1590](https://www.togithub.com/googleapis/gax-java/issues/1590)) ([1b34870](https://www.github.com/googleapis/gax-java/commit/1b34870358a26bd4542594b6c746dca190f65d24)) - update dependency com.google.auto.value:auto-value to v1.9 ([1b34870](https://www.github.com/googleapis/gax-java/commit/1b34870358a26bd4542594b6c746dca190f65d24))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1edbd609593f..71c5160580c3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.8.1 + 2.11.0 2.1.3 2.7.2 1.2.1 From 71c5e0b7e24543a35d3d928c4c7a751ad8a9ca55 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 28 Jan 2022 10:58:28 -0500 Subject: [PATCH 1960/3036] chore(main): release 2.4.0 (#678) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 35 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++---- java-core/google-cloud-core-grpc/pom.xml | 4 +-- java-core/google-cloud-core-http/pom.xml | 4 +-- java-core/google-cloud-core/pom.xml | 4 +-- java-core/native-image-support/pom.xml | 4 +-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 +-- 8 files changed, 51 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 648155126e94..12c336670ed7 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,40 @@ # Changelog +## [2.4.0](https://github.com/googleapis/java-core/compare/v2.3.5...v2.4.0) (2022-01-28) + + +### Features + +* **java:** Add native-image support classes to java-core module ([#637](https://github.com/googleapis/java-core/issues/637)) ([154bc18](https://github.com/googleapis/java-core/commit/154bc18ba86328d29665c502db1d35e265c92bbf)) + + +### Bug Fixes + +* **java:** initialize LoggerFactory at build time ([#685](https://github.com/googleapis/java-core/issues/685)) ([eb3aba2](https://github.com/googleapis/java-core/commit/eb3aba2455a0ab6ffec2c6beb3f3cbb4bcb6008d)) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-core/issues/1339)) ([#689](https://github.com/googleapis/java-core/issues/689)) ([eb462c7](https://github.com/googleapis/java-core/commit/eb462c7b1a005ce37d1be58900a244f6b807e5d5)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#684](https://github.com/googleapis/java-core/issues/684)) ([9ff47e6](https://github.com/googleapis/java-core/commit/9ff47e68d0c435d7636d89b03369aabbdfe3663b)) +* update dependency com.google.api:api-common to v2.1.3 ([#694](https://github.com/googleapis/java-core/issues/694)) ([684ae80](https://github.com/googleapis/java-core/commit/684ae805b8d25747830ce9266fd51a287c018cc9)) +* update dependency com.google.api:gax-bom to v2.11.0 ([#677](https://github.com/googleapis/java-core/issues/677)) ([1a578bd](https://github.com/googleapis/java-core/commit/1a578bdee2fa229ffbdd8fdde3d66d7e29dedf98)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.2 ([#695](https://github.com/googleapis/java-core/issues/695)) ([1085d2c](https://github.com/googleapis/java-core/commit/1085d2cb1d7e8391f981d1f4b97c7724b0107e94)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.1 ([#667](https://github.com/googleapis/java-core/issues/667)) ([b57ec04](https://github.com/googleapis/java-core/commit/b57ec047234a1a044458980a8cf7de6a3156bf41)) +* update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#681](https://github.com/googleapis/java-core/issues/681)) ([3273b1e](https://github.com/googleapis/java-core/commit/3273b1ed0b1db610790e7832a6c92797a341cc7d)) +* update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#687](https://github.com/googleapis/java-core/issues/687)) ([dc4d18d](https://github.com/googleapis/java-core/commit/dc4d18de86695fddbcb9d221cc53fdca3faf09f5)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.1 ([#683](https://github.com/googleapis/java-core/issues/683)) ([45cb753](https://github.com/googleapis/java-core/commit/45cb7535151cfcffa282b4c8d9cd56265cca2ece)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#696](https://github.com/googleapis/java-core/issues/696)) ([f4875c0](https://github.com/googleapis/java-core/commit/f4875c0deecfea3728925e5ee0ef95ee90852301)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#674](https://github.com/googleapis/java-core/issues/674)) ([c54f997](https://github.com/googleapis/java-core/commit/c54f9973b71c91c1fde0a1d128957cd022a27902)) +* update dependency io.grpc:grpc-bom to v1.43.2 ([#665](https://github.com/googleapis/java-core/issues/665)) ([752ba6e](https://github.com/googleapis/java-core/commit/752ba6e384c382d0e39d8335640eaaea2beee9e1)) +* update dependency io.grpc:grpc-bom to v1.44.0 ([#693](https://github.com/googleapis/java-core/issues/693)) ([ed85045](https://github.com/googleapis/java-core/commit/ed850455995fc5b5c2dae3595116721316f63698)) +* update dependency org.easymock:easymock to v4 ([#668](https://github.com/googleapis/java-core/issues/668)) ([c36e976](https://github.com/googleapis/java-core/commit/c36e976c0379c1119dfe643dc3131f2e52130c5c)) +* update dependency org.graalvm.sdk:graal-sdk to v22 ([#680](https://github.com/googleapis/java-core/issues/680)) ([0f535f8](https://github.com/googleapis/java-core/commit/0f535f869f7ce68192f821d0f3361634676dddf7)) +* update graalvm.version to v21.3.1 ([#679](https://github.com/googleapis/java-core/issues/679)) ([dfb305a](https://github.com/googleapis/java-core/commit/dfb305acaf9d6db91727e42509fc6b043f07a5ce)) +* update graalvm.version to v22.0.0.2 ([#691](https://github.com/googleapis/java-core/issues/691)) ([780b734](https://github.com/googleapis/java-core/commit/780b734bb4f26fab49065f303d102033b2c3a3d0)) +* update opencensus.version to v0.30.0 ([#646](https://github.com/googleapis/java-core/issues/646)) ([c2caaa7](https://github.com/googleapis/java-core/commit/c2caaa7cb2c094318e611ba2c082a8a31fee21ea)) +* update opencensus.version to v0.31.0 ([#692](https://github.com/googleapis/java-core/issues/692)) ([bdf7d4e](https://github.com/googleapis/java-core/commit/bdf7d4ec05c5314e5f2667287ed3e7cb83667c35)) + ### [2.3.5](https://www.github.com/googleapis/java-core/compare/v2.3.4...v2.3.5) (2022-01-06) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 0bbabd1a64cc..22aa79f5b4a0 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.3.6-SNAPSHOT + 2.4.0 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.3.6-SNAPSHOT + 2.4.0 com.google.cloud google-cloud-core-grpc - 2.3.6-SNAPSHOT + 2.4.0 com.google.cloud google-cloud-core-http - 2.3.6-SNAPSHOT + 2.4.0 com.google.cloud native-image-support - 0.11.0-SNAPSHOT + 0.11.0 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b661f5a410ac..49fa672e5ca2 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.3.6-SNAPSHOT + 2.4.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.6-SNAPSHOT + 2.4.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 33708af95d7d..f16bcfa261ff 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.3.6-SNAPSHOT + 2.4.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.6-SNAPSHOT + 2.4.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fa2fc6672193..4b23fd7de3c3 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.3.6-SNAPSHOT + 2.4.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.3.6-SNAPSHOT + 2.4.0 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index fb74248dcbcd..cb707d1f8d4b 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.11.0-SNAPSHOT + 0.11.0 jar google-cloud-core-parent com.google.cloud - 2.3.6-SNAPSHOT + 2.4.0 diff --git a/java-core/pom.xml b/java-core/pom.xml index 71c5160580c3..f53bbab82310 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.3.6-SNAPSHOT + 2.4.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4cd1c2e1fd94..7932de9289ba 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.3.5:2.3.6-SNAPSHOT -native-image-support:0.10.0:0.11.0-SNAPSHOT \ No newline at end of file +google-cloud-core:2.4.0:2.4.0 +native-image-support:0.11.0:0.11.0 \ No newline at end of file From b91ee86c8c215a55616e228b8fc4cc242077ac14 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 28 Jan 2022 16:38:12 +0000 Subject: [PATCH 1961/3036] chore(main): release 2.4.1-SNAPSHOT (#697) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 22aa79f5b4a0..650f0f693344 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.4.0 + 2.4.1-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.4.0 + 2.4.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.4.0 + 2.4.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.4.0 + 2.4.1-SNAPSHOT com.google.cloud native-image-support - 0.11.0 + 0.11.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 49fa672e5ca2..8e98ec122a20 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.4.0 + 2.4.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.4.0 + 2.4.1-SNAPSHOT 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 f16bcfa261ff..1e7c14a30077 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.4.0 + 2.4.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.4.0 + 2.4.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4b23fd7de3c3..40c31601b295 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.4.0 + 2.4.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.4.0 + 2.4.1-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index cb707d1f8d4b..757f667f1bec 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.11.0 + 0.11.1-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.4.0 + 2.4.1-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index f53bbab82310..c4b8a437b8fb 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.4.0 + 2.4.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7932de9289ba..a2dde44aa49d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.4.0:2.4.0 -native-image-support:0.11.0:0.11.0 \ No newline at end of file +google-cloud-core:2.4.0:2.4.1-SNAPSHOT +native-image-support:0.11.0:0.11.1-SNAPSHOT \ No newline at end of file From 5eb61343d0421c45ed24bd2cea018e653f8f5ab3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 17:41:13 +0100 Subject: [PATCH 1962/3036] deps: update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 (#576) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 56464aff058a..fd31760e66c5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.3.5 1.3.0 1.41.0 - 1.32.1 + 1.33.0 1.33.0 1.2.1 From cb1752ffe7ace55cc09e6a0d2d900dfa9508bfa9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 17:41:31 +0100 Subject: [PATCH 1963/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.6 (#577) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fd31760e66c5..95375d173e96 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 66db7e2cbc21..6ef88e1b4ef7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 1001a5436663..05133246f923 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 7b9c8ef8a5e0..6dc82f884777 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.2.5 + 1.2.6 From e480d457e5fcec86ebf22914fff011420faf27f6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 17:41:42 +0100 Subject: [PATCH 1964/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.4.0 (#578) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 95375d173e96..45a2b70961cb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.1.2 2.7.1 2.3.5 - 1.3.0 + 1.4.0 1.41.0 1.33.0 1.33.0 From 716ff2b047d3681248b495aa4d55b752ea87f61b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 17:44:38 +0100 Subject: [PATCH 1965/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.11.0 (#582) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 05133246f923..1c81314e031b 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.20 0.30.0 3.0.2 - 2.10.0 + 2.11.0 2.13.1 1.15 4.4.15 From 690cf8d657f9c3f8a02507186e1761c967a07324 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 17:49:01 +0100 Subject: [PATCH 1966/3036] deps: update opencensus.version to v0.31.0 (#585) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 1c81314e031b..ce461d151309 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 1.5.2 1.3.2 1.20 - 0.30.0 + 0.31.0 3.0.2 2.11.0 2.13.1 From f406a7d7237dcb881923d09a8171a6472faee735 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 17:49:08 +0100 Subject: [PATCH 1967/3036] deps: update dependency io.grpc:grpc-bom to v1.44.0 (#586) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 45a2b70961cb..37462933e819 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.43.2 + 1.44.0 2.9.0 1.1.0 31.0.1-jre From cb5fee9d73852f744208d82bd501f9c877db8033 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 17:49:19 +0100 Subject: [PATCH 1968/3036] deps: update dependency com.google.api:api-common to v2.1.3 (#587) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 37462933e819..30941885c8be 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 31.0.1-jre 3.19.3 - 2.1.2 + 2.1.3 2.7.1 2.3.5 1.4.0 From aaf33eb5fee542ad0999f9d8699f293d282840b4 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Fri, 28 Jan 2022 12:06:13 -0500 Subject: [PATCH 1969/3036] chore: update .repo-metadata.json fields (#590) --- .../.github/.OwlBot.lock.yaml | 15 ++++++++++++++- .../.github/ISSUE_TEMPLATE/bug_report.md | 2 +- .../.github/workflows/approve-readme.yaml | 2 +- java-shared-dependencies/.repo-metadata.json | 8 +++++--- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 731a0eb4a62a..be3b9bde4fce 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -1,3 +1,16 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:491a007c6bd6e77f9e9b1bebcd6cdf08a4a4ef2c228c123d9696845204cb685d + digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md index 8f5f1b6fa157..cabcdd4479d5 100644 --- a/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md +++ b/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,7 +21,7 @@ If you are still having issues, please include as much information as possible: General, Core, and Other are also allowed as types 2. OS type and version: 3. Java version: -4. google-cloud-shared-dependencies version(s): +4. version(s): #### Steps to reproduce diff --git a/java-shared-dependencies/.github/workflows/approve-readme.yaml b/java-shared-dependencies/.github/workflows/approve-readme.yaml index 7513acaebcc2..c5132427982f 100644 --- a/java-shared-dependencies/.github/workflows/approve-readme.yaml +++ b/java-shared-dependencies/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-shared-dependencies/.repo-metadata.json b/java-shared-dependencies/.repo-metadata.json index 9474c875434d..98f21b8771c1 100644 --- a/java-shared-dependencies/.repo-metadata.json +++ b/java-shared-dependencies/.repo-metadata.json @@ -1,9 +1,11 @@ { - "name": "google-cloud-shared-dependencies", + "api_shortname": "google-cloud-shared-dependencies", "name_pretty": "Google Cloud Shared Dependencies BOM", - "release_level": "ga", + "client_documentation": "n/a", + "release_level": "stable", "language": "java", "repo": "googleapis/java-shared-dependencies", "repo_short": "java-shared-dependencies", - "distribution_name": "com.google.cloud:google-cloud-shared-dependencies" + "distribution_name": "com.google.cloud:google-cloud-shared-dependencies", + "library_type": "OTHER" } From f63d0dc5e3c7f96b7f933afb33d81b6a885ef51f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 18:06:48 +0100 Subject: [PATCH 1970/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.2 (#579) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 30941885c8be..23a90c08ded5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.7.1 2.3.5 1.4.0 - 1.41.0 + 1.41.2 1.33.0 1.33.0 1.2.1 From b7204efaba468376d7113b2482ebe1f5d4036c13 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 18:08:12 +0100 Subject: [PATCH 1971/3036] deps: update google.common-protos.version to v2.7.2 (#588) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 23a90c08ded5..0c9641b4aa30 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.0.1-jre 3.19.3 2.1.3 - 2.7.1 + 2.7.2 2.3.5 1.4.0 1.41.2 From 4e4bd3f691871cecc15d9fa9e09c693a9ecaf1c0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 18:12:17 +0100 Subject: [PATCH 1972/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.1 (#580) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.33.0` -> `1.33.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/compatibility-slim/1.33.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.1/confidence-slim/1.33.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.33.1`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1331-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1330v1331-2022-01-21) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.0...v1.33.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 0c9641b4aa30..2632310065e5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.4.0 1.41.2 1.33.0 - 1.33.0 + 1.33.1 1.2.1
    From 5fe5b79ad40431360d3446b98d0e6d00a01e0858 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 18:19:42 +0100 Subject: [PATCH 1973/3036] deps: update gax.version to v2.11.0 (#581) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2632310065e5..b3d0e65241bc 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.44.0 - 2.9.0 + 2.11.0 1.1.0 31.0.1-jre 3.19.3 From f4300efca8006f1a12e7db4902b21a8a081bbaa8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 28 Jan 2022 18:24:14 +0100 Subject: [PATCH 1974/3036] deps: update google.core.version to v2.4.0 (#589) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.3.5` -> `2.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/compatibility-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.4.0/confidence-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.3.5` -> `2.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.4.0/compatibility-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.4.0/confidence-slim/2.3.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.4.0`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​240-httpsgithubcomgoogleapisjava-corecomparev235v240-2022-01-28) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.5...v2.4.0) ##### Features - **java:** Add native-image support classes to java-core module ([#​637](https://togithub.com/googleapis/java-core/issues/637)) ([154bc18](https://togithub.com/googleapis/java-core/commit/154bc18ba86328d29665c502db1d35e265c92bbf)) ##### Bug Fixes - **java:** initialize LoggerFactory at build time ([#​685](https://togithub.com/googleapis/java-core/issues/685)) ([eb3aba2](https://togithub.com/googleapis/java-core/commit/eb3aba2455a0ab6ffec2c6beb3f3cbb4bcb6008d)) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/java-core/issues/1339)) ([#​689](https://togithub.com/googleapis/java-core/issues/689)) ([eb462c7](https://togithub.com/googleapis/java-core/commit/eb462c7b1a005ce37d1be58900a244f6b807e5d5)) - update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#​684](https://togithub.com/googleapis/java-core/issues/684)) ([9ff47e6](https://togithub.com/googleapis/java-core/commit/9ff47e68d0c435d7636d89b03369aabbdfe3663b)) - update dependency com.google.api:api-common to v2.1.3 ([#​694](https://togithub.com/googleapis/java-core/issues/694)) ([684ae80](https://togithub.com/googleapis/java-core/commit/684ae805b8d25747830ce9266fd51a287c018cc9)) - update dependency com.google.api:gax-bom to v2.11.0 ([#​677](https://togithub.com/googleapis/java-core/issues/677)) ([1a578bd](https://togithub.com/googleapis/java-core/commit/1a578bdee2fa229ffbdd8fdde3d66d7e29dedf98)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.2 ([#​695](https://togithub.com/googleapis/java-core/issues/695)) ([1085d2c](https://togithub.com/googleapis/java-core/commit/1085d2cb1d7e8391f981d1f4b97c7724b0107e94)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.1 ([#​667](https://togithub.com/googleapis/java-core/issues/667)) ([b57ec04](https://togithub.com/googleapis/java-core/commit/b57ec047234a1a044458980a8cf7de6a3156bf41)) - update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#​681](https://togithub.com/googleapis/java-core/issues/681)) ([3273b1e](https://togithub.com/googleapis/java-core/commit/3273b1ed0b1db610790e7832a6c92797a341cc7d)) - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#​687](https://togithub.com/googleapis/java-core/issues/687)) ([dc4d18d](https://togithub.com/googleapis/java-core/commit/dc4d18de86695fddbcb9d221cc53fdca3faf09f5)) - update dependency com.google.http-client:google-http-client-bom to v1.41.1 ([#​683](https://togithub.com/googleapis/java-core/issues/683)) ([45cb753](https://togithub.com/googleapis/java-core/commit/45cb7535151cfcffa282b4c8d9cd56265cca2ece)) - update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#​696](https://togithub.com/googleapis/java-core/issues/696)) ([f4875c0](https://togithub.com/googleapis/java-core/commit/f4875c0deecfea3728925e5ee0ef95ee90852301)) - update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#​674](https://togithub.com/googleapis/java-core/issues/674)) ([c54f997](https://togithub.com/googleapis/java-core/commit/c54f9973b71c91c1fde0a1d128957cd022a27902)) - update dependency io.grpc:grpc-bom to v1.43.2 ([#​665](https://togithub.com/googleapis/java-core/issues/665)) ([752ba6e](https://togithub.com/googleapis/java-core/commit/752ba6e384c382d0e39d8335640eaaea2beee9e1)) - update dependency io.grpc:grpc-bom to v1.44.0 ([#​693](https://togithub.com/googleapis/java-core/issues/693)) ([ed85045](https://togithub.com/googleapis/java-core/commit/ed850455995fc5b5c2dae3595116721316f63698)) - update dependency org.easymock:easymock to v4 ([#​668](https://togithub.com/googleapis/java-core/issues/668)) ([c36e976](https://togithub.com/googleapis/java-core/commit/c36e976c0379c1119dfe643dc3131f2e52130c5c)) - update dependency org.graalvm.sdk:graal-sdk to v22 ([#​680](https://togithub.com/googleapis/java-core/issues/680)) ([0f535f8](https://togithub.com/googleapis/java-core/commit/0f535f869f7ce68192f821d0f3361634676dddf7)) - update graalvm.version to v21.3.1 ([#​679](https://togithub.com/googleapis/java-core/issues/679)) ([dfb305a](https://togithub.com/googleapis/java-core/commit/dfb305acaf9d6db91727e42509fc6b043f07a5ce)) - update graalvm.version to v22.0.0.2 ([#​691](https://togithub.com/googleapis/java-core/issues/691)) ([780b734](https://togithub.com/googleapis/java-core/commit/780b734bb4f26fab49065f303d102033b2c3a3d0)) - update opencensus.version to v0.30.0 ([#​646](https://togithub.com/googleapis/java-core/issues/646)) ([c2caaa7](https://togithub.com/googleapis/java-core/commit/c2caaa7cb2c094318e611ba2c082a8a31fee21ea)) - update opencensus.version to v0.31.0 ([#​692](https://togithub.com/googleapis/java-core/issues/692)) ([bdf7d4e](https://togithub.com/googleapis/java-core/commit/bdf7d4ec05c5314e5f2667287ed3e7cb83667c35)) ##### [2.3.5](https://www.github.com/googleapis/java-core/compare/v2.3.4...v2.3.5) (2022-01-06) ##### Dependencies - update dependency com.google.api:api-common to v2.1.2 ([#​661](https://www.togithub.com/googleapis/java-core/issues/661)) ([0a136d8](https://www.github.com/googleapis/java-core/commit/0a136d8122f6c5042808cbfee9e58dc53e368da6)) - update gax.version to v2.8.1 ([#​663](https://www.togithub.com/googleapis/java-core/issues/663)) ([7c09aa5](https://www.github.com/googleapis/java-core/commit/7c09aa5729408a395f1a8fae94744f9d33638b1a)) ##### [2.3.4](https://www.github.com/googleapis/java-core/compare/v2.3.3...v2.3.4) (2022-01-06) ##### Bug Fixes - fixed compilation warnings from error prone ([e6e7040](https://www.github.com/googleapis/java-core/commit/e6e7040305b19ec9d5468f4cd44d7a29d0d5e470)) - **java:** add -ntp flag to native image testing command ([#​1299](https://www.togithub.com/googleapis/java-core/issues/1299)) ([#​643](https://www.togithub.com/googleapis/java-core/issues/643)) ([0f4c1db](https://www.github.com/googleapis/java-core/commit/0f4c1dbbd89d82f5cc86c2b684d6645699b835b3)) - **java:** run Maven in plain console-friendly mode ([#​1301](https://www.togithub.com/googleapis/java-core/issues/1301)) ([#​652](https://www.togithub.com/googleapis/java-core/issues/652)) ([ab2fa93](https://www.github.com/googleapis/java-core/commit/ab2fa93ba0434f593abb063afad44dc923bf462a)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#​658](https://www.togithub.com/googleapis/java-core/issues/658)) ([d417ebd](https://www.github.com/googleapis/java-core/commit/d417ebd7bedc9d4e983f32c87a8d61163502cf1d)) - update dependency com.google.api:gax-bom to v2.8.0 ([#​659](https://www.togithub.com/googleapis/java-core/issues/659)) ([91717ab](https://www.github.com/googleapis/java-core/commit/91717ab9361a31976727b26d08837e8b3838bdb4)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.1 ([#​656](https://www.togithub.com/googleapis/java-core/issues/656)) ([ecfbdc1](https://www.github.com/googleapis/java-core/commit/ecfbdc181087d37d38f7911b9962953f5d246434)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.0 ([#​645](https://www.togithub.com/googleapis/java-core/issues/645)) ([3926b54](https://www.github.com/googleapis/java-core/commit/3926b5423893635dd709b8fc6037fb896396ff13)) - update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#​657](https://www.togithub.com/googleapis/java-core/issues/657)) ([41a5120](https://www.github.com/googleapis/java-core/commit/41a51201a3712f71f6cf3be3c29db68360b2405f)) - update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([#​655](https://www.togithub.com/googleapis/java-core/issues/655)) ([eb6c037](https://www.github.com/googleapis/java-core/commit/eb6c03729af41e6d7bd9db80644b8ddfd22e78ec)) - update dependency io.grpc:grpc-bom to v1.43.1 ([#​647](https://www.togithub.com/googleapis/java-core/issues/647)) ([275b882](https://www.github.com/googleapis/java-core/commit/275b882918f7625daeb3e98ab26b7b0a2f2cdb7b)) ##### [2.3.3](https://www.github.com/googleapis/java-core/compare/v2.3.2...v2.3.3) (2021-12-02) ##### Dependencies - update dependency com.google.api:gax-bom to v2.7.1 ([#​640](https://www.togithub.com/googleapis/java-core/issues/640)) ([18e033b](https://www.github.com/googleapis/java-core/commit/18e033bdafe536a42ada9f93b0a2b502caea0bcf)) ##### [2.3.2](https://www.github.com/googleapis/java-core/compare/v2.3.1...v2.3.2) (2021-12-02) ##### Dependencies - update dependency com.google.api:api-common to v2.1.1 ([#​632](https://www.togithub.com/googleapis/java-core/issues/632)) ([b9bb47a](https://www.github.com/googleapis/java-core/commit/b9bb47a0b0a6b132c516361d23750a92a32e53be)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.7.0 ([#​638](https://www.togithub.com/googleapis/java-core/issues/638)) ([74862a8](https://www.github.com/googleapis/java-core/commit/74862a8864eb7bffe6659d1e2a261dd5b934d6ff)) ##### [2.3.1](https://www.github.com/googleapis/java-core/compare/v2.3.0...v2.3.1) (2021-11-15) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.42.1 ([#​629](https://www.togithub.com/googleapis/java-core/issues/629)) ([85fcd99](https://www.github.com/googleapis/java-core/commit/85fcd99237d7526b1b373d07204c4114c49b08b8))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b3d0e65241bc..d880f5557d77 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.3 2.1.3 2.7.2 - 2.3.5 + 2.4.0 1.4.0 1.41.2 1.33.0 From 79f64a7e27fe9e9c5a05ad79682caf0db7cfc936 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 28 Jan 2022 17:28:14 +0000 Subject: [PATCH 1975/3036] chore(main): release 2.7.0 (#575) :robot: I have created a release *beep* *boop* --- ## [2.7.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.6.0...v2.7.0) (2022-01-28) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#555](https://github.com/googleapis/java-shared-dependencies/issues/555)) ([4ebc46f](https://github.com/googleapis/java-shared-dependencies/commit/4ebc46f1ba36f3dfa406a60a62679b2f3d8e6b57)) * update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#580](https://github.com/googleapis/java-shared-dependencies/issues/580)) ([4e4bd3f](https://github.com/googleapis/java-shared-dependencies/commit/4e4bd3f691871cecc15d9fa9e09c693a9ecaf1c0)) * update dependency com.google.api:api-common to v2.1.3 ([#587](https://github.com/googleapis/java-shared-dependencies/issues/587)) ([cb5fee9](https://github.com/googleapis/java-shared-dependencies/commit/cb5fee9d73852f744208d82bd501f9c877db8033)) * update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#578](https://github.com/googleapis/java-shared-dependencies/issues/578)) ([e480d45](https://github.com/googleapis/java-shared-dependencies/commit/e480d457e5fcec86ebf22914fff011420faf27f6)) * update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#582](https://github.com/googleapis/java-shared-dependencies/issues/582)) ([716ff2b](https://github.com/googleapis/java-shared-dependencies/commit/716ff2b047d3681248b495aa4d55b752ea87f61b)) * update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#579](https://github.com/googleapis/java-shared-dependencies/issues/579)) ([f63d0dc](https://github.com/googleapis/java-shared-dependencies/commit/f63d0dc5e3c7f96b7f933afb33d81b6a885ef51f)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#576](https://github.com/googleapis/java-shared-dependencies/issues/576)) ([5eb6134](https://github.com/googleapis/java-shared-dependencies/commit/5eb61343d0421c45ed24bd2cea018e653f8f5ab3)) * update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#571](https://github.com/googleapis/java-shared-dependencies/issues/571)) ([5448af9](https://github.com/googleapis/java-shared-dependencies/commit/5448af96f2e9375ed077fdb90eb7d341aea80023)) * update dependency io.grpc:grpc-bom to v1.44.0 ([#586](https://github.com/googleapis/java-shared-dependencies/issues/586)) ([f406a7d](https://github.com/googleapis/java-shared-dependencies/commit/f406a7d7237dcb881923d09a8171a6472faee735)) * update dependency org.checkerframework:checker-qual to v3.21.1 ([#554](https://github.com/googleapis/java-shared-dependencies/issues/554)) ([5418bc5](https://github.com/googleapis/java-shared-dependencies/commit/5418bc5fac3843a39f0f07fa66d92b8a9caf1b22)) * update gax.version to v2.11.0 ([#581](https://github.com/googleapis/java-shared-dependencies/issues/581)) ([5fe5b79](https://github.com/googleapis/java-shared-dependencies/commit/5fe5b79ad40431360d3446b98d0e6d00a01e0858)) * update gax.version to v2.9.0 ([#573](https://github.com/googleapis/java-shared-dependencies/issues/573)) ([864f6b3](https://github.com/googleapis/java-shared-dependencies/commit/864f6b3e6644f0b50a28d1e5283f56d22ff2bd59)) * update google.common-protos.version to v2.7.2 ([#588](https://github.com/googleapis/java-shared-dependencies/issues/588)) ([b7204ef](https://github.com/googleapis/java-shared-dependencies/commit/b7204efaba468376d7113b2482ebe1f5d4036c13)) * update google.core.version to v2.4.0 ([#589](https://github.com/googleapis/java-shared-dependencies/issues/589)) ([f4300ef](https://github.com/googleapis/java-shared-dependencies/commit/f4300efca8006f1a12e7db4902b21a8a081bbaa8)) * update iam.version to v1.2.1 ([#569](https://github.com/googleapis/java-shared-dependencies/issues/569)) ([ff03c65](https://github.com/googleapis/java-shared-dependencies/commit/ff03c654580b1b19aabe27d0bf32d28e778e780d)) * update opencensus.version to v0.30.0 ([#552](https://github.com/googleapis/java-shared-dependencies/issues/552)) ([37407e2](https://github.com/googleapis/java-shared-dependencies/commit/37407e29cb082d08db94e12175638a5daf3506a0)) * update opencensus.version to v0.31.0 ([#585](https://github.com/googleapis/java-shared-dependencies/issues/585)) ([690cf8d](https://github.com/googleapis/java-shared-dependencies/commit/690cf8d657f9c3f8a02507186e1761c967a07324)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 23 +++++++++++++++++++ .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 31 insertions(+), 8 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 71b139f2294d..5320b813cb7d 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [2.7.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.6.0...v2.7.0) (2022-01-28) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#555](https://github.com/googleapis/java-shared-dependencies/issues/555)) ([67b5663](https://github.com/googleapis/java-shared-dependencies/commit/67b56635509215fd132b2ffbcaed995a6de93879)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#580](https://github.com/googleapis/java-shared-dependencies/issues/580)) ([895dba2](https://github.com/googleapis/java-shared-dependencies/commit/895dba2afef6c295b0e21a4ccd27feee1b6af8e2)) +* update dependency com.google.api:api-common to v2.1.3 ([#587](https://github.com/googleapis/java-shared-dependencies/issues/587)) ([5dbbce8](https://github.com/googleapis/java-shared-dependencies/commit/5dbbce80baa045818757912e6db4f222c12b75f6)) +* update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#578](https://github.com/googleapis/java-shared-dependencies/issues/578)) ([c274c62](https://github.com/googleapis/java-shared-dependencies/commit/c274c62905192bcc48c82104bf50cbeaa1894c2b)) +* update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#582](https://github.com/googleapis/java-shared-dependencies/issues/582)) ([314da38](https://github.com/googleapis/java-shared-dependencies/commit/314da38c9f12cf425b5d1be8297e9f2a78d13948)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#579](https://github.com/googleapis/java-shared-dependencies/issues/579)) ([c8df06d](https://github.com/googleapis/java-shared-dependencies/commit/c8df06ddb3f4a975e928bbdd9dfae293e81efa39)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#576](https://github.com/googleapis/java-shared-dependencies/issues/576)) ([3315988](https://github.com/googleapis/java-shared-dependencies/commit/3315988059ca0223f078b0f760960674bfa8c04a)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#571](https://github.com/googleapis/java-shared-dependencies/issues/571)) ([c1931e1](https://github.com/googleapis/java-shared-dependencies/commit/c1931e1c4611ca3d1e2afac1c9e983cf1ec4a7de)) +* update dependency io.grpc:grpc-bom to v1.44.0 ([#586](https://github.com/googleapis/java-shared-dependencies/issues/586)) ([52c47b7](https://github.com/googleapis/java-shared-dependencies/commit/52c47b7425af438ba1a82dac87f9002353a6a87a)) +* update dependency org.checkerframework:checker-qual to v3.21.1 ([#554](https://github.com/googleapis/java-shared-dependencies/issues/554)) ([81bbb91](https://github.com/googleapis/java-shared-dependencies/commit/81bbb91774ab67161371bfd0dfd143de89dee4c9)) +* update gax.version to v2.11.0 ([#581](https://github.com/googleapis/java-shared-dependencies/issues/581)) ([1899612](https://github.com/googleapis/java-shared-dependencies/commit/189961226f84cdd4e283780d2c7d4a4dffc3e00c)) +* update gax.version to v2.9.0 ([#573](https://github.com/googleapis/java-shared-dependencies/issues/573)) ([ee5e38e](https://github.com/googleapis/java-shared-dependencies/commit/ee5e38efea574eeb2b5803192da98ba1ce1c8e6e)) +* update google.common-protos.version to v2.7.2 ([#588](https://github.com/googleapis/java-shared-dependencies/issues/588)) ([caac0e6](https://github.com/googleapis/java-shared-dependencies/commit/caac0e68e336b801becb6322b5b81fce1824ad8a)) +* update google.core.version to v2.4.0 ([#589](https://github.com/googleapis/java-shared-dependencies/issues/589)) ([6a292e3](https://github.com/googleapis/java-shared-dependencies/commit/6a292e3530a06d6b228f3154ed4e979ef68d7aeb)) +* update iam.version to v1.2.1 ([#569](https://github.com/googleapis/java-shared-dependencies/issues/569)) ([62dd270](https://github.com/googleapis/java-shared-dependencies/commit/62dd2705b257c4bb539bfe619234f38d0e13b138)) +* update opencensus.version to v0.30.0 ([#552](https://github.com/googleapis/java-shared-dependencies/issues/552)) ([ebae62e](https://github.com/googleapis/java-shared-dependencies/commit/ebae62eca75234db4fd571f42b8ed0f6ce1bd1f7)) +* update opencensus.version to v0.31.0 ([#585](https://github.com/googleapis/java-shared-dependencies/issues/585)) ([021b066](https://github.com/googleapis/java-shared-dependencies/commit/021b066a833af1629c89fcca593d16b9786ee0bf)) + ## [2.6.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.5.1...v2.6.0) (2022-01-07) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d880f5557d77..1ba2b30d8399 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 - 2.6.1-SNAPSHOT + 2.7.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6ef88e1b4ef7..ca53517e67ab 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 - 2.6.1-SNAPSHOT + 2.7.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.6.1-SNAPSHOT + 2.7.0 pom import com.google.cloud third-party-dependencies - 2.6.1-SNAPSHOT + 2.7.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ce461d151309..7f498f96a7d3 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 - 2.6.1-SNAPSHOT + 2.7.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 6dc82f884777..2909c8b4d79a 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 - 2.6.1-SNAPSHOT + 2.7.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.6.1-SNAPSHOT + 2.7.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 2eb8f8602569..81bf3ab8c08f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.6.0:2.6.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.7.0:2.7.0 \ No newline at end of file From 9543eb293d099d65bf3f44d49abdd7b5a0dbde6d Mon Sep 17 00:00:00 2001 From: BenWhitehead Date: Mon, 31 Jan 2022 13:00:54 -0500 Subject: [PATCH 1976/3036] feat: add limit support to ReadChannel (#688) Add new methods to ReadChannel to allow limiting of the channel independent of any chunk sizes or buffers. ###### Motivation GCS supports range reads of objects, ReadChannel currently has `seek` to allow settings the begin offset, but doesn't provide limit to allow setting the end offset. The only alternative is to provide manually sized ByteBuffer(s) to read into that would have to track size externally. This new feature allows the Channel itself to absorb the burden and prevent reading more bytes than necessary from GCS. --- .../clirr-ignored-differences.xml | 15 ++++++++++ .../java/com/google/cloud/ReadChannel.java | 30 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 java-core/google-cloud-core/clirr-ignored-differences.xml diff --git a/java-core/google-cloud-core/clirr-ignored-differences.xml b/java-core/google-cloud-core/clirr-ignored-differences.xml new file mode 100644 index 000000000000..0f7f80a7b4d5 --- /dev/null +++ b/java-core/google-cloud-core/clirr-ignored-differences.xml @@ -0,0 +1,15 @@ + + + + + + 7012 + com/google/cloud/ReadChannel + * limit(long) + + + 7012 + com/google/cloud/ReadChannel + long limit() + + diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index e0a8f5f50bdb..9a24b4e5539f 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -53,4 +53,34 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< */ @Override RestorableState capture(); + + /** + * Limit the maximum number of bytes available to be read from this channel. If the limit is + * larger than the actual size of the content this will have no material impact. + * + *

    NOTE:Implementers are not required to return a new instance from this method, however + * they are allowed to. Users of this method should always use the instance returned from this + * method. + * + *

    Default Implementation:By default, this method will simply return {@code this}. + * + * @param limit the maximum number of bytes to limit this channel to + * @return The instance of channel which will respect the limit. + * @throws UnsupportedOperationException If the {@code this} instances does not support limiting + * @since 2.4.0 + */ + default ReadChannel limit(long limit) { + return this; + } + + /** + * The currently defined limit for this channel. Initial value is {@link Long#MAX_VALUE} + * + * @return the current limit for this channel + * @throws UnsupportedOperationException If the {@code this} instances does not support limiting + * @since 2.4.0 + */ + default long limit() { + return Long.MAX_VALUE; + } } From 43ce7e604f25392ef604812c2a8131880ba12fcc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 1 Feb 2022 06:34:33 +0100 Subject: [PATCH 1977/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 (#273) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.6.0` -> `2.7.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.7.0/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    googleapis/java-shared-dependencies ### [`v2.7.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​270-httpsgithubcomgoogleapisjava-shared-dependenciescomparev260v270-2022-01-28) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.6.0...v2.7.0) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#​555](https://togithub.com/googleapis/java-shared-dependencies/issues/555)) ([67b5663](https://togithub.com/googleapis/java-shared-dependencies/commit/67b56635509215fd132b2ffbcaed995a6de93879)) - update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#​580](https://togithub.com/googleapis/java-shared-dependencies/issues/580)) ([895dba2](https://togithub.com/googleapis/java-shared-dependencies/commit/895dba2afef6c295b0e21a4ccd27feee1b6af8e2)) - update dependency com.google.api:api-common to v2.1.3 ([#​587](https://togithub.com/googleapis/java-shared-dependencies/issues/587)) ([5dbbce8](https://togithub.com/googleapis/java-shared-dependencies/commit/5dbbce80baa045818757912e6db4f222c12b75f6)) - update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#​578](https://togithub.com/googleapis/java-shared-dependencies/issues/578)) ([c274c62](https://togithub.com/googleapis/java-shared-dependencies/commit/c274c62905192bcc48c82104bf50cbeaa1894c2b)) - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#​582](https://togithub.com/googleapis/java-shared-dependencies/issues/582)) ([314da38](https://togithub.com/googleapis/java-shared-dependencies/commit/314da38c9f12cf425b5d1be8297e9f2a78d13948)) - update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#​579](https://togithub.com/googleapis/java-shared-dependencies/issues/579)) ([c8df06d](https://togithub.com/googleapis/java-shared-dependencies/commit/c8df06ddb3f4a975e928bbdd9dfae293e81efa39)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#​576](https://togithub.com/googleapis/java-shared-dependencies/issues/576)) ([3315988](https://togithub.com/googleapis/java-shared-dependencies/commit/3315988059ca0223f078b0f760960674bfa8c04a)) - update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#​571](https://togithub.com/googleapis/java-shared-dependencies/issues/571)) ([c1931e1](https://togithub.com/googleapis/java-shared-dependencies/commit/c1931e1c4611ca3d1e2afac1c9e983cf1ec4a7de)) - update dependency io.grpc:grpc-bom to v1.44.0 ([#​586](https://togithub.com/googleapis/java-shared-dependencies/issues/586)) ([52c47b7](https://togithub.com/googleapis/java-shared-dependencies/commit/52c47b7425af438ba1a82dac87f9002353a6a87a)) - update dependency org.checkerframework:checker-qual to v3.21.1 ([#​554](https://togithub.com/googleapis/java-shared-dependencies/issues/554)) ([81bbb91](https://togithub.com/googleapis/java-shared-dependencies/commit/81bbb91774ab67161371bfd0dfd143de89dee4c9)) - update gax.version to v2.11.0 ([#​581](https://togithub.com/googleapis/java-shared-dependencies/issues/581)) ([1899612](https://togithub.com/googleapis/java-shared-dependencies/commit/189961226f84cdd4e283780d2c7d4a4dffc3e00c)) - update gax.version to v2.9.0 ([#​573](https://togithub.com/googleapis/java-shared-dependencies/issues/573)) ([ee5e38e](https://togithub.com/googleapis/java-shared-dependencies/commit/ee5e38efea574eeb2b5803192da98ba1ce1c8e6e)) - update google.common-protos.version to v2.7.2 ([#​588](https://togithub.com/googleapis/java-shared-dependencies/issues/588)) ([caac0e6](https://togithub.com/googleapis/java-shared-dependencies/commit/caac0e68e336b801becb6322b5b81fce1824ad8a)) - update google.core.version to v2.4.0 ([#​589](https://togithub.com/googleapis/java-shared-dependencies/issues/589)) ([6a292e3](https://togithub.com/googleapis/java-shared-dependencies/commit/6a292e3530a06d6b228f3154ed4e979ef68d7aeb)) - update iam.version to v1.2.1 ([#​569](https://togithub.com/googleapis/java-shared-dependencies/issues/569)) ([62dd270](https://togithub.com/googleapis/java-shared-dependencies/commit/62dd2705b257c4bb539bfe619234f38d0e13b138)) - update opencensus.version to v0.30.0 ([#​552](https://togithub.com/googleapis/java-shared-dependencies/issues/552)) ([ebae62e](https://togithub.com/googleapis/java-shared-dependencies/commit/ebae62eca75234db4fd571f42b8ed0f6ce1bd1f7)) - update opencensus.version to v0.31.0 ([#​585](https://togithub.com/googleapis/java-shared-dependencies/issues/585)) ([021b066](https://togithub.com/googleapis/java-shared-dependencies/commit/021b066a833af1629c89fcca593d16b9786ee0bf))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 78847868b99d..b7b905bae81e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.6.0 + 2.7.0 pom import From 334fe8ee7810eb5e717a7deb8525b3c3ca386caa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Feb 2022 05:46:48 +0100 Subject: [PATCH 1978/3036] deps: update dependency io.grpc:grpc-protobuf to v1.44.0 (#269) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.43.2` -> `1.44.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.0/compatibility-slim/1.43.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.0/confidence-slim/1.43.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.44.0`](https://togithub.com/grpc/grpc-java/releases/v1.44.0) #### gRPC Java 1.44.0 Release Notes Java 7 is no longer supported. This release uses Java 8 bytecode, except for grpc-context which remains on Java 7 bytecode. Users requiring Java 7 are encouraged to use the v1.41.x branch. See [gRFC P5](https://togithub.com/grpc/proposal/blob/master/P5-jdk-version-support.md#proposal). Android support remains API level 19+. If this is expected to cause undue hardship or community issues, please contact us via a GitHub issue or [grpc-io@googlegroups.com](https://groups.google.com/g/grpc-io). Java 8 users pay note: per gRFC P5, gRPC may drop Java 8 support as soon as March this year. If this is expected to cause undue hardship or community issues, please contact us via a GitHub issue or [grpc-io@googlegroups.com](https://groups.google.com/g/grpc-io). ##### API Changes - Removed deprecated StreamInfo.transportAttrs ([#​8768](https://togithub.com/grpc/grpc-java/issues/8768)) ##### Bug Fixes - core: fix a race condition when calling ManagedChannel#enterIdle() ([#​8761](https://togithub.com/grpc/grpc-java/issues/8761)) - xds: rename `ring_hash` LB Policy to `ring_hash_experimental` to comply with gRPC [A42: xDS Ring Hash LB Policy](https://togithub.com/grpc/proposal/blob/master/A42-xds-ring-hash-lb-policy.md) ([#​8776](https://togithub.com/grpc/grpc-java/issues/8776)) ##### Behavior Changes - Binder: Enclose all operations in BinderTransport even when an exception was thrown. ([#​8733](https://togithub.com/grpc/grpc-java/issues/8733))\* - Binder: Fix a bug that might cause memory leaks in binder. ([#​8728](https://togithub.com/grpc/grpc-java/issues/8728)) ##### Dependencies - Upgraded Protobuf to 3.19.2 to avoid CVE-2021-22569. See the [protobuf advisory](https://togithub.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67) - Bump GSON to 2.8.9 ([#​8759](https://togithub.com/grpc/grpc-java/issues/8759)) - Bump Netty to 4.1.72.Final and tcnative to 2.0.46.Final ([#​8780](https://togithub.com/grpc/grpc-java/issues/8780)) ##### Acknowledgement - groakley@ - apolcyn@ - beatrausch@ - danielnorberg@ - jdcormie@
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index ea8e2fbbd739..85e9eb4489e5 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.43.2' - compile 'io.grpc:grpc-protobuf:1.43.2' + compile 'io.grpc:grpc-protobuf:1.44.0' compile project(':proto-google-iam-v1') } From f75ceb8fffdd1a727dfac6887cfa8573f69b410b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Feb 2022 05:46:52 +0100 Subject: [PATCH 1979/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.19.4 (#272) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.19.3` -> `3.19.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.4/compatibility-slim/3.19.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.19.4/confidence-slim/3.19.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.19.4`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.4) ### Python - Make libprotobuf symbols local on OSX to fix issue [#​9395](https://togithub.com/protocolbuffers/protobuf/issues/9395) ([#​9435](https://togithub.com/protocolbuffers/protobuf/issues/9435)) ### Ruby - Fixed a data loss bug that could occur when the number of `optional` fields in a message is an exact multiple of 32. ([#​9440](https://togithub.com/protocolbuffers/protobuf/issues/9440)). ### PHP - Fixed a data loss bug that could occur when the number of `optional` fields in a message is an exact multiple of 32. ([#​9440](https://togithub.com/protocolbuffers/protobuf/issues/9440)).
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 0ef1b9ba2321..56a1ff9876d1 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.19.3' + compile 'com.google.protobuf:protobuf-java:3.19.4' compile 'com.google.api:api-common:2.1.2' compile project(':proto-google-common-protos') } From c2c939524a049b65ff9b41952ea1d734a79bad75 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 2 Feb 2022 04:52:45 +0000 Subject: [PATCH 1980/3036] deps(java): update actions/github-script action to v5 (#1339) (#267) --- java-iam/.github/.OwlBot.lock.yaml | 15 ++++++++++++++- java-iam/.github/workflows/approve-readme.yaml | 2 +- java-iam/.github/workflows/auto-release.yaml | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index dddb13b8458b..be3b9bde4fce 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -1,3 +1,16 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7f737996c88586c499f7b0c25294c760f9f5eec092289a0e08d2d3f42a069ebb + digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 diff --git a/java-iam/.github/workflows/approve-readme.yaml b/java-iam/.github/workflows/approve-readme.yaml index 7513acaebcc2..c5132427982f 100644 --- a/java-iam/.github/workflows/approve-readme.yaml +++ b/java-iam/.github/workflows/approve-readme.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index 9b4fd4d8348d..59c7cadde314 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-please') steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v5 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true From ef303242bc01646c336938d640699a1e1e98a77d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Feb 2022 16:46:53 +0100 Subject: [PATCH 1981/3036] deps: update dependency com.google.api:api-common to v2.1.3 (#271) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.1.2` -> `2.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.3/compatibility-slim/2.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.3/confidence-slim/2.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.1.3`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​213-httpsgithubcomgoogleapisapi-common-javacomparev212v213-2022-01-25)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 56a1ff9876d1..1fc693875486 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.19.4' - compile 'com.google.api:api-common:2.1.2' + compile 'com.google.api:api-common:2.1.3' compile project(':proto-google-common-protos') } From 34bbad8c5e0163235c6039e95fc72315f4738951 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Feb 2022 21:02:57 +0100 Subject: [PATCH 1982/3036] deps: update dependency com.google.api:gax-bom to v2.12.0 (#698) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.11.0` -> `2.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.0/compatibility-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.0/confidence-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.12.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2120-httpsgithubcomgoogleapisgax-javacomparev2110v2120-2022-01-28) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.11.0...v2.12.0) ##### Features - add REST interceptors infrastructure ([#​1607](https://togithub.com/googleapis/gax-java/issues/1607)) ([0572eed](https://togithub.com/googleapis/gax-java/commit/0572eed8aa29879c74794b22e8ae79e414dd5821))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c4b8a437b8fb..ae32fa9035a3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.11.0 + 2.12.0 2.1.3 2.7.2 1.2.1 From 9e2f07784e886c7cfe7491480034efbdfe0a7f5c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Feb 2022 21:04:48 +0100 Subject: [PATCH 1983/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.19.4 (#699) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.19.3` -> `3.19.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.4/compatibility-slim/3.19.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.19.4/confidence-slim/3.19.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.19.4`](https://togithub.com/protocolbuffers/protobuf/releases/v3.19.4) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.19.3...v3.19.4) ### Python - Make libprotobuf symbols local on OSX to fix issue [#​9395](https://togithub.com/protocolbuffers/protobuf/issues/9395) ([#​9435](https://togithub.com/protocolbuffers/protobuf/issues/9435)) ### Ruby - Fixed a data loss bug that could occur when the number of `optional` fields in a message is an exact multiple of 32. ([#​9440](https://togithub.com/protocolbuffers/protobuf/issues/9440)). ### PHP - Fixed a data loss bug that could occur when the number of `optional` fields in a message is an exact multiple of 32. ([#​9440](https://togithub.com/protocolbuffers/protobuf/issues/9440)).
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ae32fa9035a3..92012e709479 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 1.41.2 22.0.0.2 1.44.0 - 3.19.3 + 3.19.4 0.31.0 1.3.2 31.0.1-jre From af1c9b3e8e857b65a7d1f19e4d0a493e670cf2d7 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Wed, 2 Feb 2022 15:12:24 -0500 Subject: [PATCH 1984/3036] fix(java): Initialize AsyncSSLPrivateKeyMethod (a grpc netty class) at run-time (#702) --- .../com.google.cloud/google-cloud-core/native-image.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties index a9171de6a28b..369a7fe6bf83 100644 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties @@ -6,6 +6,7 @@ Args = --allow-incomplete-classpath \ io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethod,\ + io.grpc.netty.shaded.io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod,\ io.grpc.netty.shaded.io.grpc.netty,\ io.grpc.netty.shaded.io.netty.channel.epoll,\ io.grpc.netty.shaded.io.netty.channel.unix,\ From acb1fb946224ba20eaa0748605f7b5a910079225 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 3 Feb 2022 06:14:32 +0100 Subject: [PATCH 1985/3036] deps: update dependency io.grpc:grpc-stub to v1.44.0 (#270) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.43.2` -> `1.44.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.0/compatibility-slim/1.43.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.0/confidence-slim/1.43.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.44.0`](https://togithub.com/grpc/grpc-java/releases/v1.44.0) #### gRPC Java 1.44.0 Release Notes Java 7 is no longer supported. This release uses Java 8 bytecode, except for grpc-context which remains on Java 7 bytecode. Users requiring Java 7 are encouraged to use the v1.41.x branch. See [gRFC P5](https://togithub.com/grpc/proposal/blob/master/P5-jdk-version-support.md#proposal). Android support remains API level 19+. If this is expected to cause undue hardship or community issues, please contact us via a GitHub issue or [grpc-io@googlegroups.com](https://groups.google.com/g/grpc-io). Java 8 users pay note: per gRFC P5, gRPC may drop Java 8 support as soon as March this year. If this is expected to cause undue hardship or community issues, please contact us via a GitHub issue or [grpc-io@googlegroups.com](https://groups.google.com/g/grpc-io). ##### API Changes - Removed deprecated StreamInfo.transportAttrs ([#​8768](https://togithub.com/grpc/grpc-java/issues/8768)) ##### Bug Fixes - core: fix a race condition when calling ManagedChannel#enterIdle() ([#​8761](https://togithub.com/grpc/grpc-java/issues/8761)) - xds: rename `ring_hash` LB Policy to `ring_hash_experimental` to comply with gRPC [A42: xDS Ring Hash LB Policy](https://togithub.com/grpc/proposal/blob/master/A42-xds-ring-hash-lb-policy.md) ([#​8776](https://togithub.com/grpc/grpc-java/issues/8776)) ##### Behavior Changes - Binder: Enclose all operations in BinderTransport even when an exception was thrown. ([#​8733](https://togithub.com/grpc/grpc-java/issues/8733))\* - Binder: Fix a bug that might cause memory leaks in binder. ([#​8728](https://togithub.com/grpc/grpc-java/issues/8728)) ##### Dependencies - Upgraded Protobuf to 3.19.2 to avoid CVE-2021-22569. See the [protobuf advisory](https://togithub.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67) - Bump GSON to 2.8.9 ([#​8759](https://togithub.com/grpc/grpc-java/issues/8759)) - Bump Netty to 4.1.72.Final and tcnative to 2.0.46.Final ([#​8780](https://togithub.com/grpc/grpc-java/issues/8780)) ##### Acknowledgement - groakley@ - apolcyn@ - beatrausch@ - danielnorberg@ - jdcormie@
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 85e9eb4489e5..7189409cb20f 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.43.2' + compile 'io.grpc:grpc-stub:1.44.0' compile 'io.grpc:grpc-protobuf:1.44.0' compile project(':proto-google-iam-v1') } From b9a2c8382cf9ecd42324e79c4fd66c4a457e103a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 18:04:48 +0000 Subject: [PATCH 1986/3036] chore(main): release 2.5.0 (#700) :robot: I have created a release *beep* *boop* --- ## [2.5.0](https://github.com/googleapis/java-core/compare/v2.4.0...v2.5.0) (2022-02-02) ### Features * add limit support to ReadChannel ([#688](https://github.com/googleapis/java-core/issues/688)) ([9543eb2](https://github.com/googleapis/java-core/commit/9543eb293d099d65bf3f44d49abdd7b5a0dbde6d)) ### Bug Fixes * **java:** Initialize AsyncSSLPrivateKeyMethod (a grpc netty class) at run-time ([#702](https://github.com/googleapis/java-core/issues/702)) ([af1c9b3](https://github.com/googleapis/java-core/commit/af1c9b3e8e857b65a7d1f19e4d0a493e670cf2d7)) ### Dependencies * update dependency com.google.api:gax-bom to v2.12.0 ([#698](https://github.com/googleapis/java-core/issues/698)) ([34bbad8](https://github.com/googleapis/java-core/commit/34bbad8c5e0163235c6039e95fc72315f4738951)) * update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#699](https://github.com/googleapis/java-core/issues/699)) ([9e2f077](https://github.com/googleapis/java-core/commit/9e2f07784e886c7cfe7491480034efbdfe0a7f5c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 18 ++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 34 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 12c336670ed7..b4f91f9c7c88 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [2.5.0](https://github.com/googleapis/java-core/compare/v2.4.0...v2.5.0) (2022-02-02) + + +### Features + +* add limit support to ReadChannel ([#688](https://github.com/googleapis/java-core/issues/688)) ([476109e](https://github.com/googleapis/java-core/commit/476109e1943c1a9561cc636ffc64ab8cdd1888f9)) + + +### Bug Fixes + +* **java:** Initialize AsyncSSLPrivateKeyMethod (a grpc netty class) at run-time ([#702](https://github.com/googleapis/java-core/issues/702)) ([24146a3](https://github.com/googleapis/java-core/commit/24146a35a10ae06238de9556c24dab5dbd3bcaff)) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.12.0 ([#698](https://github.com/googleapis/java-core/issues/698)) ([c10aab8](https://github.com/googleapis/java-core/commit/c10aab8a57ff0aad07a700540085e2ed7521b1a1)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#699](https://github.com/googleapis/java-core/issues/699)) ([5d163f5](https://github.com/googleapis/java-core/commit/5d163f591547cd8e0e508b9c824a17da2074b264)) + ## [2.4.0](https://github.com/googleapis/java-core/compare/v2.3.5...v2.4.0) (2022-01-28) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 650f0f693344..7d17719e62a5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.4.1-SNAPSHOT + 2.5.0 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.4.1-SNAPSHOT + 2.5.0 com.google.cloud google-cloud-core-grpc - 2.4.1-SNAPSHOT + 2.5.0 com.google.cloud google-cloud-core-http - 2.4.1-SNAPSHOT + 2.5.0 com.google.cloud native-image-support - 0.11.1-SNAPSHOT + 0.12.0 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8e98ec122a20..c52399172a09 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.4.1-SNAPSHOT + 2.5.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.4.1-SNAPSHOT + 2.5.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 1e7c14a30077..de81c3138c6b 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.4.1-SNAPSHOT + 2.5.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.4.1-SNAPSHOT + 2.5.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 40c31601b295..143366250c9c 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.4.1-SNAPSHOT + 2.5.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.4.1-SNAPSHOT + 2.5.0 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 757f667f1bec..ce22a625d23c 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.11.1-SNAPSHOT + 0.12.0 jar google-cloud-core-parent com.google.cloud - 2.4.1-SNAPSHOT + 2.5.0 diff --git a/java-core/pom.xml b/java-core/pom.xml index 92012e709479..dce34ab8c448 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.4.1-SNAPSHOT + 2.5.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index a2dde44aa49d..b99d429c12e6 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.4.0:2.4.1-SNAPSHOT -native-image-support:0.11.0:0.11.1-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.0:2.5.0 +native-image-support:0.12.0:0.12.0 \ No newline at end of file From b988f95ac826ae79d0161ff973b60e4feb847074 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 19:48:40 +0000 Subject: [PATCH 1987/3036] chore: add kokoro config to run nightly integration test on java11.0.14 (#1347) (#274) --- java-iam/.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/nightly/java11-integration.cfg | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 java-iam/.kokoro/nightly/java11-integration.cfg diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index be3b9bde4fce..8807efcad4be 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 + digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 diff --git a/java-iam/.kokoro/nightly/java11-integration.cfg b/java-iam/.kokoro/nightly/java11-integration.cfg new file mode 100644 index 000000000000..58049cc38f11 --- /dev/null +++ b/java-iam/.kokoro/nightly/java11-integration.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-public-resources/java11014" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "ENABLE_FLAKYBOT" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} From 23fb43389fe6e47ee97ca0877b12bbd13829922c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 20:59:04 +0000 Subject: [PATCH 1988/3036] chore(main): release 1.2.2 (#265) :robot: I have created a release *beep* *boop* --- ### [1.2.2](https://github.com/googleapis/java-iam/compare/v1.2.1...v1.2.2) (2022-02-03) ### Dependencies * **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-iam/issues/1339)) ([#267](https://github.com/googleapis/java-iam/issues/267)) ([c2c9395](https://github.com/googleapis/java-iam/commit/c2c939524a049b65ff9b41952ea1d734a79bad75)) * update dependency com.google.api:api-common to v2.1.3 ([#271](https://github.com/googleapis/java-iam/issues/271)) ([ef30324](https://github.com/googleapis/java-iam/commit/ef303242bc01646c336938d640699a1e1e98a77d)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#273](https://github.com/googleapis/java-iam/issues/273)) ([43ce7e6](https://github.com/googleapis/java-iam/commit/43ce7e604f25392ef604812c2a8131880ba12fcc)) * update dependency com.google.protobuf:protobuf-java to v3.19.3 ([#262](https://github.com/googleapis/java-iam/issues/262)) ([9a64030](https://github.com/googleapis/java-iam/commit/9a64030dcf667a86f7ae79e5e700d2266180bf3f)) * update dependency com.google.protobuf:protobuf-java to v3.19.4 ([#272](https://github.com/googleapis/java-iam/issues/272)) ([f75ceb8](https://github.com/googleapis/java-iam/commit/f75ceb8fffdd1a727dfac6887cfa8573f69b410b)) * update dependency io.grpc:grpc-protobuf to v1.44.0 ([#269](https://github.com/googleapis/java-iam/issues/269)) ([334fe8e](https://github.com/googleapis/java-iam/commit/334fe8ee7810eb5e717a7deb8525b3c3ca386caa)) * update dependency io.grpc:grpc-stub to v1.44.0 ([#270](https://github.com/googleapis/java-iam/issues/270)) ([acb1fb9](https://github.com/googleapis/java-iam/commit/acb1fb946224ba20eaa0748605f7b5a910079225)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 13 +++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index ed04e4e73af9..6b40c5952c26 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +### [1.2.2](https://github.com/googleapis/java-iam/compare/v1.2.1...v1.2.2) (2022-02-03) + + +### Dependencies + +* **java:** update actions/github-script action to v5 ([#1339](https://github.com/googleapis/java-iam/issues/1339)) ([#267](https://github.com/googleapis/java-iam/issues/267)) ([afbdd89](https://github.com/googleapis/java-iam/commit/afbdd893410c9d64c6c6d0f1b74c309000eff36c)) +* update dependency com.google.api:api-common to v2.1.3 ([#271](https://github.com/googleapis/java-iam/issues/271)) ([6668de8](https://github.com/googleapis/java-iam/commit/6668de8094446a57285f32c41487ab69be771d31)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.7.0 ([#273](https://github.com/googleapis/java-iam/issues/273)) ([97081c0](https://github.com/googleapis/java-iam/commit/97081c0facc1a32cc0bc705f1f7a7d4cddb8a558)) +* update dependency com.google.protobuf:protobuf-java to v3.19.3 ([#262](https://github.com/googleapis/java-iam/issues/262)) ([38187e9](https://github.com/googleapis/java-iam/commit/38187e92462656ba6cdb4f85e87b3fe577f0f212)) +* update dependency com.google.protobuf:protobuf-java to v3.19.4 ([#272](https://github.com/googleapis/java-iam/issues/272)) ([b82ca63](https://github.com/googleapis/java-iam/commit/b82ca6382332c37813916e379f3849c1b6ef7385)) +* update dependency io.grpc:grpc-protobuf to v1.44.0 ([#269](https://github.com/googleapis/java-iam/issues/269)) ([fb94161](https://github.com/googleapis/java-iam/commit/fb941613e346fc6ae5fd46beff0e899061d78653)) +* update dependency io.grpc:grpc-stub to v1.44.0 ([#270](https://github.com/googleapis/java-iam/issues/270)) ([e586dd2](https://github.com/googleapis/java-iam/commit/e586dd27aca076d42c7ff956d66ce025d41f7973)) + ### [1.2.1](https://www.github.com/googleapis/java-iam/compare/v1.2.0...v1.2.1) (2022-01-07) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 99ac04669cdc..00c6db813c61 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.2.2-SNAPSHOT + 1.2.2 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.2-SNAPSHOT + 1.2.2 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b7b905bae81e..5a3328ed6a46 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.2-SNAPSHOT + 1.2.2 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.2-SNAPSHOT + 1.2.2 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 18457bcc07f2..3ac74a10ebdb 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.2.2-SNAPSHOT + 1.2.2 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.2-SNAPSHOT + 1.2.2 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index db8267012679..843d63e53ed1 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.1:1.2.2-SNAPSHOT -grpc-google-iam-v1:1.2.1:1.2.2-SNAPSHOT +proto-google-iam-v1:1.2.2:1.2.2 +grpc-google-iam-v1:1.2.2:1.2.2 From 8d47de7f713b84205bc06bb1f6709a071e35c56f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 21:02:43 +0000 Subject: [PATCH 1989/3036] chore(main): release 2.5.1-SNAPSHOT (#703) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 7d17719e62a5..58260412b474 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.0 + 2.5.1-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.0 + 2.5.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.0 + 2.5.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.0 + 2.5.1-SNAPSHOT com.google.cloud native-image-support - 0.12.0 + 0.12.1-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c52399172a09..288298b7fcf9 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.5.0 + 2.5.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.0 + 2.5.1-SNAPSHOT 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 de81c3138c6b..dc2e1381ba0e 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.5.0 + 2.5.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.0 + 2.5.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 143366250c9c..ed20569dd900 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.5.0 + 2.5.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.0 + 2.5.1-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index ce22a625d23c..9bce987b742e 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.0 + 0.12.1-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.0 + 2.5.1-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index dce34ab8c448..adc789c3f289 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.0 + 2.5.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index b99d429c12e6..39c763d8a0e8 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.0:2.5.0 -native-image-support:0.12.0:0.12.0 \ No newline at end of file +google-cloud-core:2.5.0:2.5.1-SNAPSHOT +native-image-support:0.12.0:0.12.1-SNAPSHOT \ No newline at end of file From 6117ff00781612b8bb49ae9e016a1fb25b2b3619 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 4 Feb 2022 01:38:49 +0000 Subject: [PATCH 1990/3036] chore(main): release 1.2.3-SNAPSHOT (#275) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 00c6db813c61..1b01566d9d6d 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.2.2 + 1.2.3-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.2 + 1.2.3-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 5a3328ed6a46..b9a4cb446f01 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.2 + 1.2.3-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.2 + 1.2.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 3ac74a10ebdb..68d1feabd6da 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.2.2 + 1.2.3-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.2 + 1.2.3-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 843d63e53ed1..571a8d2527c1 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.2:1.2.2 -grpc-google-iam-v1:1.2.2:1.2.2 +proto-google-iam-v1:1.2.2:1.2.3-SNAPSHOT +grpc-google-iam-v1:1.2.2:1.2.3-SNAPSHOT From d87162fd5009bf89b9184ea490da4dbd17b3d7a6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 4 Feb 2022 14:04:12 -0500 Subject: [PATCH 1991/3036] chore: add kokoro config to run nightly integration test on java11.0.14 (#1347) (#704) Source-Link: https://github.com/googleapis/synthtool/commit/010e6b0541130bef2cfe453380a31bea959278c5 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 Co-authored-by: Owl Bot --- java-core/.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/nightly/java11-integration.cfg | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 java-core/.kokoro/nightly/java11-integration.cfg diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index be3b9bde4fce..8807efcad4be 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 + digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 diff --git a/java-core/.kokoro/nightly/java11-integration.cfg b/java-core/.kokoro/nightly/java11-integration.cfg new file mode 100644 index 000000000000..58049cc38f11 --- /dev/null +++ b/java-core/.kokoro/nightly/java11-integration.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-public-resources/java11014" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "ENABLE_FLAKYBOT" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} From 6b89a4fad36dde1d21453e6094ccdad2ceb777e6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 7 Feb 2022 22:06:40 +0000 Subject: [PATCH 1992/3036] chore: enable auto release in java (#1349) (#707) * chore: fix auto-release * chore: remove codecov.yml * chore: update license headers for yaml files Source-Link: https://github.com/googleapis/synthtool/commit/5b777277a01a93e7f10c9279521e807b934e78d4 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 --- java-core/.github/.OwlBot.lock.yaml | 2 +- .../.github/workflows/approve-readme.yaml | 15 +++++++++++++++ java-core/.github/workflows/auto-release.yaml | 19 +++++++++++++++++-- java-core/.github/workflows/ci.yaml | 15 +++++++++++++++ java-core/.kokoro/build.bat | 15 +++++++++++++++ 5 files changed, 63 insertions(+), 3 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 8807efcad4be..a8ddd81ae949 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 + digest: sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 diff --git a/java-core/.github/workflows/approve-readme.yaml b/java-core/.github/workflows/approve-readme.yaml index c5132427982f..1bb182327612 100644 --- a/java-core/.github/workflows/approve-readme.yaml +++ b/java-core/.github/workflows/approve-readme.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-merge-readme diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index 59c7cadde314..2ba3082bee20 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-release @@ -16,8 +31,8 @@ jobs: return; } - // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + // only approve PRs like "chore(main): release " + if ( !context.payload.pull_request.title.startsWith("chore(main): release") ) { return; } diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 05de1f60dcf0..6b5e56aaacd1 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: push: branches: diff --git a/java-core/.kokoro/build.bat b/java-core/.kokoro/build.bat index 05826ad93fe8..cc602c9eba80 100644 --- a/java-core/.kokoro/build.bat +++ b/java-core/.kokoro/build.bat @@ -1,3 +1,18 @@ :: See documentation in type-shell-output.bat +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh From 3100cbb73aca689e25dde3ca1c9516cafb7a2aa3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 7 Feb 2022 22:14:50 +0000 Subject: [PATCH 1993/3036] chore: enable auto release in java (#1349) (#277) * chore: fix auto-release * chore: remove codecov.yml * chore: update license headers for yaml files Source-Link: https://github.com/googleapis/synthtool/commit/5b777277a01a93e7f10c9279521e807b934e78d4 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 --- java-iam/.github/.OwlBot.lock.yaml | 2 +- .../.github/workflows/approve-readme.yaml | 15 +++++++++++++++ java-iam/.github/workflows/auto-release.yaml | 19 +++++++++++++++++-- java-iam/.github/workflows/ci.yaml | 15 +++++++++++++++ java-iam/.kokoro/build.bat | 15 +++++++++++++++ 5 files changed, 63 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 8807efcad4be..a8ddd81ae949 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 + digest: sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 diff --git a/java-iam/.github/workflows/approve-readme.yaml b/java-iam/.github/workflows/approve-readme.yaml index c5132427982f..1bb182327612 100644 --- a/java-iam/.github/workflows/approve-readme.yaml +++ b/java-iam/.github/workflows/approve-readme.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-merge-readme diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index 59c7cadde314..2ba3082bee20 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-release @@ -16,8 +31,8 @@ jobs: return; } - // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + // only approve PRs like "chore(main): release " + if ( !context.payload.pull_request.title.startsWith("chore(main): release") ) { return; } diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 05de1f60dcf0..6b5e56aaacd1 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: push: branches: diff --git a/java-iam/.kokoro/build.bat b/java-iam/.kokoro/build.bat index 05826ad93fe8..cc602c9eba80 100644 --- a/java-iam/.kokoro/build.bat +++ b/java-iam/.kokoro/build.bat @@ -1,3 +1,18 @@ :: See documentation in type-shell-output.bat +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh From 6b00bcb8c71b1ea0bed07821a592681412df7195 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Feb 2022 00:46:45 +0000 Subject: [PATCH 1994/3036] chore: update auto-release script to fix breaking changes in v5 (#1350) (#708) Source-Link: https://github.com/googleapis/synthtool/commit/53a58c23eb4decb3a17fab07388d42799e158b5f Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/workflows/auto-release.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index a8ddd81ae949..9786771c434b 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 + digest: sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index 2ba3082bee20..18e23230d98f 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -37,7 +37,7 @@ jobs: } // only approve PRs with pom.xml and versions.txt changes - const filesPromise = github.pulls.listFiles.endpoint({ + const filesPromise = github.rest.pulls.listFiles.endpoint({ owner: context.repo.owner, repo: context.repo.repo, pull_number: context.payload.pull_request.number, @@ -69,7 +69,7 @@ jobs: return; } - const promise = github.pulls.list.endpoint({ + const promise = github.rest.pulls.list.endpoint({ owner: context.repo.owner, repo: context.repo.repo, state: 'open' @@ -86,7 +86,7 @@ jobs: } // approve release PR - await github.pulls.createReview({ + await github.rest.pulls.createReview({ owner: context.repo.owner, repo: context.repo.repo, body: 'Rubber stamped release!', @@ -95,7 +95,7 @@ jobs: }); // attach kokoro:force-run and automerge labels - await github.issues.addLabels({ + await github.rest.issues.addLabels({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.payload.pull_request.number, From f5505cd1523f93a5fd4459edf82ba6bc1bf0690f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Feb 2022 00:57:05 +0000 Subject: [PATCH 1995/3036] chore: update auto-release script to fix breaking changes in v5 (#1350) (#278) Source-Link: https://github.com/googleapis/synthtool/commit/53a58c23eb4decb3a17fab07388d42799e158b5f Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.github/workflows/auto-release.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index a8ddd81ae949..9786771c434b 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 + digest: sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index 2ba3082bee20..18e23230d98f 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -37,7 +37,7 @@ jobs: } // only approve PRs with pom.xml and versions.txt changes - const filesPromise = github.pulls.listFiles.endpoint({ + const filesPromise = github.rest.pulls.listFiles.endpoint({ owner: context.repo.owner, repo: context.repo.repo, pull_number: context.payload.pull_request.number, @@ -69,7 +69,7 @@ jobs: return; } - const promise = github.pulls.list.endpoint({ + const promise = github.rest.pulls.list.endpoint({ owner: context.repo.owner, repo: context.repo.repo, state: 'open' @@ -86,7 +86,7 @@ jobs: } // approve release PR - await github.pulls.createReview({ + await github.rest.pulls.createReview({ owner: context.repo.owner, repo: context.repo.repo, body: 'Rubber stamped release!', @@ -95,7 +95,7 @@ jobs: }); // attach kokoro:force-run and automerge labels - await github.issues.addLabels({ + await github.rest.issues.addLabels({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.payload.pull_request.number, From 088474d9e98daa96ac86bd2dc68a6dfb4267bd49 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 8 Feb 2022 16:11:44 -0500 Subject: [PATCH 1996/3036] test: dependency convergence check on gRPC and GAX (#595) * ci: adding dependency convergence check * test: try bad gRPC version * ci: fixed description of the check * test: reverted gRPC version * renaming to gRPC convergence test --- .../.github/workflows/upper-bound-check.yaml | 23 ---- .../.github/workflows/version-check.yaml | 41 +++++++ .../dependency-convergence-check/README.md | 6 + .../dependency-convergence-check/pom.xml | 76 ++++++++++++ .../cloud/DependencyConvergenceTest.java | 111 ++++++++++++++++++ 5 files changed, 234 insertions(+), 23 deletions(-) delete mode 100644 java-shared-dependencies/.github/workflows/upper-bound-check.yaml create mode 100644 java-shared-dependencies/.github/workflows/version-check.yaml create mode 100644 java-shared-dependencies/dependency-convergence-check/README.md create mode 100644 java-shared-dependencies/dependency-convergence-check/pom.xml create mode 100644 java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java diff --git a/java-shared-dependencies/.github/workflows/upper-bound-check.yaml b/java-shared-dependencies/.github/workflows/upper-bound-check.yaml deleted file mode 100644 index 45cb8b9d9535..000000000000 --- a/java-shared-dependencies/.github/workflows/upper-bound-check.yaml +++ /dev/null @@ -1,23 +0,0 @@ -on: - push: - branches: - - main - pull_request: -name: upper-bound-check -jobs: - upper-bound-check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 - with: - java-version: 8 - - run: java -version - - name: Install the BOM to local Maven repository - run: .kokoro/build.sh - - name: Check the BOM content satisfies the upper-bound-check test case - run: mvn -B -V -ntp verify -Dcheckstyle.skip - working-directory: upper-bound-check diff --git a/java-shared-dependencies/.github/workflows/version-check.yaml b/java-shared-dependencies/.github/workflows/version-check.yaml new file mode 100644 index 000000000000..b78a560fbc78 --- /dev/null +++ b/java-shared-dependencies/.github/workflows/version-check.yaml @@ -0,0 +1,41 @@ +on: + push: + branches: + - main + pull_request: +name: version-check +jobs: + upper-bound-check: + name: Upper-bound check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - name: Install the BOM to local Maven repository + run: .kokoro/build.sh + - name: Check the BOM content satisfies the upper-bound-check test case + run: mvn -B -V -ntp verify -Dcheckstyle.skip + working-directory: upper-bound-check + grpc-convergence-check: + name: gRPC dependency convergence check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - name: Install the BOM to local Maven repository + run: .kokoro/build.sh + - name: Check the BOM content satisfies the dependency-convergence-check test + run: mvn -B -V -ntp verify -Dcheckstyle.skip + working-directory: dependency-convergence-check diff --git a/java-shared-dependencies/dependency-convergence-check/README.md b/java-shared-dependencies/dependency-convergence-check/README.md new file mode 100644 index 000000000000..d593196eceaf --- /dev/null +++ b/java-shared-dependencies/dependency-convergence-check/README.md @@ -0,0 +1,6 @@ +# Dependency Convergence Check + +This project includes a test case for dependency convergence for some (not all) +artifacts in the Google Cloud Shared Dependencies BOM. + +This project is not meant to be used by end-users or published to Maven Central. diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml new file mode 100644 index 000000000000..3e0edf56c617 --- /dev/null +++ b/java-shared-dependencies/dependency-convergence-check/pom.xml @@ -0,0 +1,76 @@ + + + 4.0.0 + com.google.cloud + shared-dependencies-dependency-convergence-test + 2.7.0 + Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies + https://github.com/googleapis/java-shared-dependencies + + An dependency convergence test case for the shared dependencies BOM. A failure of this test case means + the shared dependencies BOM has outdated dependencies; there are newer version of artifacts + appearing in the dependency tree. + + + + Google LLC + + + + scm:git:git@github.com:googleapis/java-shared-dependencies.git + scm:git:git@github.com:googleapis/java-shared-dependencies.git + https://github.com/googleapis/java-shared-dependencies + HEAD + + + + https://github.com/googleapis/java-shared-dependencies/issues + GitHub Issues + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + UTF-8 + 1.8 + 1.8 + + + + + + com.google.cloud + google-cloud-shared-dependencies + 2.7.0 + pom + import + + + + + + + com.google.guava + guava + 31.0.1-jre + test + + + com.google.cloud.tools + dependencies + 1.5.12 + test + + + junit + junit + 4.13.1 + test + + + diff --git a/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java b/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java new file mode 100644 index 000000000000..6552438363e1 --- /dev/null +++ b/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java @@ -0,0 +1,111 @@ +/* + * Copyright 2022 Google LLC. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static org.junit.Assert.assertTrue; + +import com.google.cloud.tools.opensource.classpath.ClassPathBuilder; +import com.google.cloud.tools.opensource.classpath.ClassPathEntry; +import com.google.cloud.tools.opensource.classpath.ClassPathResult; +import com.google.cloud.tools.opensource.classpath.DependencyMediation; +import com.google.cloud.tools.opensource.dependencies.Bom; +import com.google.cloud.tools.opensource.dependencies.DependencyPath; +import com.google.common.base.Joiner; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableSet; +import java.nio.file.Paths; +import java.util.HashSet; +import java.util.Set; +import org.eclipse.aether.artifact.Artifact; +import org.junit.Test; + +/** + * Test to ensure that certain artifacts in the dependency tree of each entry of the shared + * dependencies BOM have the same version. + */ +public class DependencyConvergenceTest { + + @Test + public void testGrpcConvergence() throws Exception { + // There were cases where the gRPC version set in the shared dependencies BOM and the gRPC + // version declared in gax-grpc's dependency broke the build of downstream projects. Two + // artifacts were using version range to specify exact gRPC versions. + // https://github.com/googleapis/java-shared-dependencies/pull/595 + Bom bom = Bom.readBom(Paths.get("../pom.xml")); + assertConvergence( + bom, + "io.grpc", + "grpc-netty-shaded", + ImmutableSet.of( + // Because OpenCensus's gRPC version does not use version range notation, it does not + // break downstream build + "opencensus-exporter-trace-stackdriver", + "opencensus-exporter-stats-stackdriver", + // Because grpc-gcp's gRPC version does not use version range notation, it does not + // break downstream build + "grpc-gcp")); + } + + /** + * Asserts the artifact specified at {@code groupId} and {@code artifactId} have the same version + * across the dependency trees of the managed dependencies of {@code bom}. + * + *

    Use {@code excludingArtifactIds} to ignore certain artifacts. + */ + private void assertConvergence( + Bom bom, String groupId, String artifactId, Set excludingArtifactIds) + throws Exception { + ImmutableList managedDependencies = bom.getManagedDependencies(); + + Set foundPaths = new HashSet<>(); + Set foundVersions = new HashSet<>(); + for (Artifact managedDependency : managedDependencies) { + if (excludingArtifactIds.contains(managedDependency.getArtifactId())) { + continue; + } + + ClassPathBuilder classPathBuilder = new ClassPathBuilder(); + ClassPathResult result = + classPathBuilder.resolve( + ImmutableList.of(managedDependency), false, DependencyMediation.MAVEN); + ImmutableList classPath = result.getClassPath(); + for (ClassPathEntry entry : classPath) { + Artifact artifact = entry.getArtifact(); + if (artifactId.equals(artifact.getArtifactId()) && groupId.equals(artifact.getGroupId())) { + ImmutableList dependencyPaths = result.getDependencyPaths(entry); + foundPaths.add(dependencyPaths.get(0)); + foundVersions.add(artifact.getVersion()); + } + } + } + + assertTrue( + "There should be at least one version in the graph but empty; " + + "please check the assertion is using correct groupID and artifactID.", + foundVersions.size() >= 1); + + // Duplicate versions found in the dependency trees + assertTrue( + "The version for " + + groupId + + ":" + + artifactId + + " should be one but there are multiple of them: " + + Joiner.on(", ").join(foundPaths), + foundVersions.size() <= 1); + } +} From 7cb08c599981e30382775b97aa31aa6189b5467b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Feb 2022 23:06:53 +0100 Subject: [PATCH 1997/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.7 (#711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.6` -> `1.2.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/compatibility-slim/1.2.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/confidence-slim/1.2.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    googleapis/java-shared-config ### [`v1.2.7`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​127-httpsgithubcomgoogleapisjava-shared-configcomparev126v127-2022-02-04) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.6...v1.2.7)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 58260412b474..e21d95cd848c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index adc789c3f289..7fc225223ee0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 From 118262d06dc600f0d3495e382f7314c6a4514cdf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Feb 2022 23:12:47 +0100 Subject: [PATCH 1998/3036] deps: update dependency com.google.api:api-common to v2.1.4 (#712) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.1.3` -> `2.1.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/compatibility-slim/2.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/confidence-slim/2.1.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.1.4`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​214-httpsgithubcomgoogleapisapi-common-javacomparev213v214-2022-02-07) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.1.3...v2.1.4)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7fc225223ee0..12867eade476 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.12.0 - 2.1.3 + 2.1.4 2.7.2 1.2.1 1.4.0 From 0a5ebfe135f5b99a46b72c9aa70cae3231aaebb3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Feb 2022 23:20:54 +0100 Subject: [PATCH 1999/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.2 (#709) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.33.1` -> `1.33.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.2/compatibility-slim/1.33.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.2/confidence-slim/1.33.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.33.2`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1332-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1331v1332-2022-02-08) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.1...v1.33.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 12867eade476..f49ec22aa9ed 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.7.2 1.2.1 1.4.0 - 1.33.1 + 1.33.2 1.41.2 22.0.0.2 1.44.0 From 21f36f8e483c3349e0ae8295e6ad957b1a887dd5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Feb 2022 23:25:01 +0100 Subject: [PATCH 2000/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.7 (#279) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.6` -> `1.2.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/compatibility-slim/1.2.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.2.7/confidence-slim/1.2.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.2.7`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​127-httpsgithubcomgoogleapisjava-shared-configcomparev126v127-2022-02-04) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.6...v1.2.7)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b9a4cb446f01..d09b3d5d23c5 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 From e0a63a4f5c837c489f80fe39bc0e7d4dc05de4ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Feb 2022 23:42:44 +0100 Subject: [PATCH 2001/3036] deps: update dependency com.google.api:api-common to v2.1.4 (#280) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.1.3` -> `2.1.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/compatibility-slim/2.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.4/confidence-slim/2.1.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.1.4`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​214-httpsgithubcomgoogleapisapi-common-javacomparev213v214-2022-02-07)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 1fc693875486..bdf703bb03ee 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.19.4' - compile 'com.google.api:api-common:2.1.3' + compile 'com.google.api:api-common:2.1.4' compile project(':proto-google-common-protos') } From 3eff8f207b1a340fbe316ad19d900b27278b9b14 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Feb 2022 23:54:48 +0100 Subject: [PATCH 2002/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.7.3 (#710) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.7.2` -> `2.7.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.3/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.3/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.7.3`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​273-httpsgithubcomgoogleapisjava-common-protoscomparev272v273-2022-02-08) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.7.2...v2.7.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f49ec22aa9ed..9c1fdfbb30ec 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.12.0 2.1.4 - 2.7.2 + 2.7.3 1.2.1 1.4.0 1.33.2 From 70f9a2aaa8f531fa717707d54425d57dbc1c2896 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Feb 2022 22:54:53 +0000 Subject: [PATCH 2003/3036] chore(main): release 1.2.3 (#281) :robot: I have created a release *beep* *boop* --- ### [1.2.3](https://github.com/googleapis/java-iam/compare/v1.2.2...v1.2.3) (2022-02-08) ### Dependencies * update dependency com.google.api:api-common to v2.1.4 ([#280](https://github.com/googleapis/java-iam/issues/280)) ([e0a63a4](https://github.com/googleapis/java-iam/commit/e0a63a4f5c837c489f80fe39bc0e7d4dc05de4ab)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 6b40c5952c26..42ab62efbdaf 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.3](https://github.com/googleapis/java-iam/compare/v1.2.2...v1.2.3) (2022-02-08) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.4 ([#280](https://github.com/googleapis/java-iam/issues/280)) ([cabdb90](https://github.com/googleapis/java-iam/commit/cabdb90c8dca2a27a25318c07c03de2a6c45af1e)) + ### [1.2.2](https://github.com/googleapis/java-iam/compare/v1.2.1...v1.2.2) (2022-02-03) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 1b01566d9d6d..6449a4de3066 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.2.3-SNAPSHOT + 1.2.3 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.3-SNAPSHOT + 1.2.3 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d09b3d5d23c5..4c73ffb368c1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.3-SNAPSHOT + 1.2.3 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.3-SNAPSHOT + 1.2.3 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 68d1feabd6da..0863af3e0e21 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.2.3-SNAPSHOT + 1.2.3 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.3-SNAPSHOT + 1.2.3 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 571a8d2527c1..20c6c8eff5aa 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.2:1.2.3-SNAPSHOT -grpc-google-iam-v1:1.2.2:1.2.3-SNAPSHOT +proto-google-iam-v1:1.2.3:1.2.3 +grpc-google-iam-v1:1.2.3:1.2.3 From 721e00c7f9da1673da1879a692d8f2970f708907 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Feb 2022 00:14:51 +0100 Subject: [PATCH 2004/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.2 (#705) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.1` -> `1.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.2/compatibility-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.2/confidence-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​122-httpsgithubcomgoogleapisjava-iamcomparev121v122-2022-02-03) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.1...v1.2.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9c1fdfbb30ec..c6df8ff05046 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.0 2.1.4 2.7.3 - 1.2.1 + 1.2.2 1.4.0 1.33.2 1.41.2 From b19dc8cf9dd57ec4884cb23bb6cb6a4c87404853 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 00:00:58 +0000 Subject: [PATCH 2005/3036] chore(main): release 2.5.1 (#714) :robot: I have created a release *beep* *boop* --- ### [2.5.1](https://github.com/googleapis/java-core/compare/v2.5.0...v2.5.1) (2022-02-08) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#709](https://github.com/googleapis/java-core/issues/709)) ([0a5ebfe](https://github.com/googleapis/java-core/commit/0a5ebfe135f5b99a46b72c9aa70cae3231aaebb3)) * update dependency com.google.api:api-common to v2.1.4 ([#712](https://github.com/googleapis/java-core/issues/712)) ([118262d](https://github.com/googleapis/java-core/commit/118262d06dc600f0d3495e382f7314c6a4514cdf)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.7.3 ([#710](https://github.com/googleapis/java-core/issues/710)) ([3eff8f2](https://github.com/googleapis/java-core/commit/3eff8f207b1a340fbe316ad19d900b27278b9b14)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.2 ([#705](https://github.com/googleapis/java-core/issues/705)) ([721e00c](https://github.com/googleapis/java-core/commit/721e00c7f9da1673da1879a692d8f2970f708907)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 10 ++++++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 26 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index b4f91f9c7c88..bbbf4be14cf9 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +### [2.5.1](https://github.com/googleapis/java-core/compare/v2.5.0...v2.5.1) (2022-02-08) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#709](https://github.com/googleapis/java-core/issues/709)) ([de08f4e](https://github.com/googleapis/java-core/commit/de08f4eea6cf4e7813c8da1f6adb28e1e56fd1cd)) +* update dependency com.google.api:api-common to v2.1.4 ([#712](https://github.com/googleapis/java-core/issues/712)) ([9cc49de](https://github.com/googleapis/java-core/commit/9cc49de654d57e8efdb97c8e3c7f9d8723e79eb9)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.3 ([#710](https://github.com/googleapis/java-core/issues/710)) ([a5f1991](https://github.com/googleapis/java-core/commit/a5f199157319dfb82cbb24d1b4249d924118de84)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.2 ([#705](https://github.com/googleapis/java-core/issues/705)) ([b8722b9](https://github.com/googleapis/java-core/commit/b8722b998966b21cd2d9e6208627c34ff046accf)) + ## [2.5.0](https://github.com/googleapis/java-core/compare/v2.4.0...v2.5.0) (2022-02-02) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e21d95cd848c..ddbd5394829e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.1-SNAPSHOT + 2.5.1 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.1-SNAPSHOT + 2.5.1 com.google.cloud google-cloud-core-grpc - 2.5.1-SNAPSHOT + 2.5.1 com.google.cloud google-cloud-core-http - 2.5.1-SNAPSHOT + 2.5.1 com.google.cloud native-image-support - 0.12.1-SNAPSHOT + 0.12.1
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 288298b7fcf9..6eede425ef59 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.5.1-SNAPSHOT + 2.5.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.1-SNAPSHOT + 2.5.1 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 dc2e1381ba0e..ca80cc4a59b3 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.5.1-SNAPSHOT + 2.5.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.1-SNAPSHOT + 2.5.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ed20569dd900..117d461fadd2 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.5.1-SNAPSHOT + 2.5.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.1-SNAPSHOT + 2.5.1 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 9bce987b742e..3345e61b2947 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.1-SNAPSHOT + 0.12.1 jar google-cloud-core-parent com.google.cloud - 2.5.1-SNAPSHOT + 2.5.1 diff --git a/java-core/pom.xml b/java-core/pom.xml index c6df8ff05046..94aa303cfed9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.1-SNAPSHOT + 2.5.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 39c763d8a0e8..f36fdc8aefe3 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.0:2.5.1-SNAPSHOT -native-image-support:0.12.0:0.12.1-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.1:2.5.1 +native-image-support:0.12.1:0.12.1 \ No newline at end of file From 9ba9daab8734d0db1a916da4438407390d9475a5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 00:05:00 +0000 Subject: [PATCH 2006/3036] chore(main): release 1.2.4-SNAPSHOT (#282) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 6449a4de3066..763c644d2ef4 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.2.3 + 1.2.4-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 4c73ffb368c1..95c55738cebb 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.3 + 1.2.4-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 0863af3e0e21..656f3cda7e20 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.2.3 + 1.2.4-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.3 + 1.2.4-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 20c6c8eff5aa..d24f41d4d58c 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.3:1.2.3 -grpc-google-iam-v1:1.2.3:1.2.3 +proto-google-iam-v1:1.2.3:1.2.4-SNAPSHOT +grpc-google-iam-v1:1.2.3:1.2.4-SNAPSHOT From ec23cdf66b43deaf2e6c5d74571ad349b80ac5b9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 00:16:50 +0000 Subject: [PATCH 2007/3036] chore(main): release 2.5.2-SNAPSHOT (#715) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index ddbd5394829e..3833de3ff649 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.1 + 2.5.2-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.1 + 2.5.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.1 + 2.5.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.1 + 2.5.2-SNAPSHOT com.google.cloud native-image-support - 0.12.1 + 0.12.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6eede425ef59..077ade5b92ce 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.5.1 + 2.5.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.1 + 2.5.2-SNAPSHOT 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 ca80cc4a59b3..e77ec4018101 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.5.1 + 2.5.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.1 + 2.5.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 117d461fadd2..07117d2b421b 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.5.1 + 2.5.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.1 + 2.5.2-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 3345e61b2947..217ed787e04f 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.1 + 0.12.2-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.1 + 2.5.2-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 94aa303cfed9..b683a2e0b57d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.1 + 2.5.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index f36fdc8aefe3..0212239a2b4c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.1:2.5.1 -native-image-support:0.12.1:0.12.1 \ No newline at end of file +google-cloud-core:2.5.1:2.5.2-SNAPSHOT +native-image-support:0.12.1:0.12.2-SNAPSHOT \ No newline at end of file From 3945473dc5269caa96f42c46b5b3e451642d7b05 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Feb 2022 19:40:39 +0100 Subject: [PATCH 2008/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.3 (#716) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.2` -> `1.2.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.3/compatibility-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.3/confidence-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​123-httpsgithubcomgoogleapisjava-iamcomparev122v123-2022-02-08) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.2...v1.2.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b683a2e0b57d..e58e2518d7d9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.0 2.1.4 2.7.3 - 1.2.2 + 1.2.3 1.4.0 1.33.2 1.41.2 From 74395d7f5a6fd07dfc83e27f797f14e7a4c6e9da Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Feb 2022 20:37:13 +0100 Subject: [PATCH 2009/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.2.1 (#706) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e58e2518d7d9..949b2cd185e4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -346,7 +346,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.2 + 3.2.1 From 8ba05c4175c8ef1950aa00f544588316536166a9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 20:02:52 +0000 Subject: [PATCH 2010/3036] chore(main): release 2.5.2 (#717) :robot: I have created a release *beep* *boop* --- ### [2.5.2](https://github.com/googleapis/java-core/compare/v2.5.1...v2.5.2) (2022-02-09) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.3 ([#716](https://github.com/googleapis/java-core/issues/716)) ([3945473](https://github.com/googleapis/java-core/commit/3945473dc5269caa96f42c46b5b3e451642d7b05)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index bbbf4be14cf9..84f285a480ca 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.5.2](https://github.com/googleapis/java-core/compare/v2.5.1...v2.5.2) (2022-02-09) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.3 ([#716](https://github.com/googleapis/java-core/issues/716)) ([100e41e](https://github.com/googleapis/java-core/commit/100e41e092f35f6e6d187de45bb6dc3e4e760052)) + ### [2.5.1](https://github.com/googleapis/java-core/compare/v2.5.0...v2.5.1) (2022-02-08) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3833de3ff649..010137f6a0ed 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.2-SNAPSHOT + 2.5.2 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.2-SNAPSHOT + 2.5.2 com.google.cloud google-cloud-core-grpc - 2.5.2-SNAPSHOT + 2.5.2 com.google.cloud google-cloud-core-http - 2.5.2-SNAPSHOT + 2.5.2 com.google.cloud native-image-support - 0.12.2-SNAPSHOT + 0.12.2
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 077ade5b92ce..41f57e36a107 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.5.2-SNAPSHOT + 2.5.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.2-SNAPSHOT + 2.5.2 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 e77ec4018101..7f9731f02ea2 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.5.2-SNAPSHOT + 2.5.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.2-SNAPSHOT + 2.5.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 07117d2b421b..9bd39ef2c2ed 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.5.2-SNAPSHOT + 2.5.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.2-SNAPSHOT + 2.5.2 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 217ed787e04f..3b80cdd413c4 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.2-SNAPSHOT + 0.12.2 jar google-cloud-core-parent com.google.cloud - 2.5.2-SNAPSHOT + 2.5.2 diff --git a/java-core/pom.xml b/java-core/pom.xml index 949b2cd185e4..3ad368d8174d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.2-SNAPSHOT + 2.5.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0212239a2b4c..1f5f9c4836d0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.1:2.5.2-SNAPSHOT -native-image-support:0.12.1:0.12.2-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.2:2.5.2 +native-image-support:0.12.2:0.12.2 \ No newline at end of file From fc75ffc7398341bce67f587812a04de1ef1846f4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Feb 2022 20:12:53 +0000 Subject: [PATCH 2011/3036] chore(main): release 2.5.3-SNAPSHOT (#718) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 010137f6a0ed..4084197fc6cb 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.2 + 2.5.3-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.2 + 2.5.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.2 + 2.5.3-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.2 + 2.5.3-SNAPSHOT com.google.cloud native-image-support - 0.12.2 + 0.12.3-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 41f57e36a107..c9a6705914d3 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.5.2 + 2.5.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.2 + 2.5.3-SNAPSHOT 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 7f9731f02ea2..ea304237a045 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.5.2 + 2.5.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.2 + 2.5.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9bd39ef2c2ed..770c048be709 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.5.2 + 2.5.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.2 + 2.5.3-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 3b80cdd413c4..040fd5d0b1dc 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.2 + 0.12.3-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.2 + 2.5.3-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 3ad368d8174d..76bdb3138ebc 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.2 + 2.5.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 1f5f9c4836d0..91f4d50b6ef2 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.2:2.5.2 -native-image-support:0.12.2:0.12.2 \ No newline at end of file +google-cloud-core:2.5.2:2.5.3-SNAPSHOT +native-image-support:0.12.2:0.12.3-SNAPSHOT \ No newline at end of file From 8c14b98e1644d24b11d8a6a1469cd15848469244 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Feb 2022 17:46:58 +0100 Subject: [PATCH 2012/3036] deps: update dependency com.google.api:gax-bom to v2.12.2 (#719) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.12.0` -> `2.12.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/compatibility-slim/2.12.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/confidence-slim/2.12.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.12.2`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2122-httpsgithubcomgoogleapisgax-javacomparev2121v2122-2022-02-09) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.12.1...v2.12.2) ### [`v2.12.1`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2121-httpsgithubcomgoogleapisgax-javacomparev2120v2121-2022-02-09) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.12.0...v2.12.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 76bdb3138ebc..70528f2bfb9d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.12.0 + 2.12.2 2.1.4 2.7.3 1.2.3 From 8addf7f46816e0d6c30eb55ab520d1437e52be3b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Feb 2022 17:56:48 +0100 Subject: [PATCH 2013/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.3 (#720) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 70528f2bfb9d..2b7331aed19b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.2.3 1.4.0 1.33.2 - 1.41.2 + 1.41.3 22.0.0.2 1.44.0 3.19.4 From 4386d5057de820b5a3f250f724282761332fe53b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 10 Feb 2022 17:24:47 +0000 Subject: [PATCH 2014/3036] chore(main): release 2.5.3 (#721) :robot: I have created a release *beep* *boop* --- ### [2.5.3](https://github.com/googleapis/java-core/compare/v2.5.2...v2.5.3) (2022-02-10) ### Dependencies * update dependency com.google.api:gax-bom to v2.12.2 ([#719](https://github.com/googleapis/java-core/issues/719)) ([8c14b98](https://github.com/googleapis/java-core/commit/8c14b98e1644d24b11d8a6a1469cd15848469244)) * update dependency com.google.http-client:google-http-client-bom to v1.41.3 ([#720](https://github.com/googleapis/java-core/issues/720)) ([8addf7f](https://github.com/googleapis/java-core/commit/8addf7f46816e0d6c30eb55ab520d1437e52be3b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 24 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 84f285a480ca..d114fd1c2afe 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [2.5.3](https://github.com/googleapis/java-core/compare/v2.5.2...v2.5.3) (2022-02-10) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.12.2 ([#719](https://github.com/googleapis/java-core/issues/719)) ([4de90d0](https://github.com/googleapis/java-core/commit/4de90d05c152c21a1ebb98f6cbff0f9b9c39e5d2)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.3 ([#720](https://github.com/googleapis/java-core/issues/720)) ([d2a5b4f](https://github.com/googleapis/java-core/commit/d2a5b4ffa598f232b84655a7ac146bfa2e1f24c9)) + ### [2.5.2](https://github.com/googleapis/java-core/compare/v2.5.1...v2.5.2) (2022-02-09) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4084197fc6cb..eb78344163a4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.3-SNAPSHOT + 2.5.3 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.3-SNAPSHOT + 2.5.3 com.google.cloud google-cloud-core-grpc - 2.5.3-SNAPSHOT + 2.5.3 com.google.cloud google-cloud-core-http - 2.5.3-SNAPSHOT + 2.5.3 com.google.cloud native-image-support - 0.12.3-SNAPSHOT + 0.12.3
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c9a6705914d3..1262e6e0bc8c 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.5.3-SNAPSHOT + 2.5.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.3-SNAPSHOT + 2.5.3 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 ea304237a045..35711dfdc10c 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.5.3-SNAPSHOT + 2.5.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.3-SNAPSHOT + 2.5.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 770c048be709..3feadea21fed 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.5.3-SNAPSHOT + 2.5.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.3-SNAPSHOT + 2.5.3 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 040fd5d0b1dc..1f8d950b23a4 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.3-SNAPSHOT + 0.12.3 jar google-cloud-core-parent com.google.cloud - 2.5.3-SNAPSHOT + 2.5.3 diff --git a/java-core/pom.xml b/java-core/pom.xml index 2b7331aed19b..a0d246dfbe2f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.3-SNAPSHOT + 2.5.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 91f4d50b6ef2..7a376e1a81fc 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.2:2.5.3-SNAPSHOT -native-image-support:0.12.2:0.12.3-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.3:2.5.3 +native-image-support:0.12.3:0.12.3 \ No newline at end of file From c08050d16f25c53f2ce5b3be4234b613acfb9536 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 10 Feb 2022 17:30:58 +0000 Subject: [PATCH 2015/3036] chore(main): release 2.5.4-SNAPSHOT (#722) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index eb78344163a4..a7379492c732 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.3 + 2.5.4-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.3 + 2.5.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.3 + 2.5.4-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.3 + 2.5.4-SNAPSHOT com.google.cloud native-image-support - 0.12.3 + 0.12.4-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1262e6e0bc8c..50c593d0afe4 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.5.3 + 2.5.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.3 + 2.5.4-SNAPSHOT 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 35711dfdc10c..30743b5957c5 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.5.3 + 2.5.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.3 + 2.5.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3feadea21fed..3911eacaa435 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.5.3 + 2.5.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.3 + 2.5.4-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 1f8d950b23a4..c041ab2b53fa 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.3 + 0.12.4-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.3 + 2.5.4-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index a0d246dfbe2f..953386172277 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.3 + 2.5.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7a376e1a81fc..558cb12f27dc 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.3:2.5.3 -native-image-support:0.12.3:0.12.3 \ No newline at end of file +google-cloud-core:2.5.3:2.5.4-SNAPSHOT +native-image-support:0.12.3:0.12.4-SNAPSHOT \ No newline at end of file From de0d7baf9f0767a269aa16de45aa793ca925b7d4 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Fri, 11 Feb 2022 14:23:45 -0500 Subject: [PATCH 2016/3036] chore: downstream check for all libraries in single job (#713) * chore: downstream check for all libraries in single job * chore: give permission to run script * Update downstream-client-library-check.sh * Update downstream-client-library-check.sh * Update downstream-client-library-check.sh * Update downstream-client-library-check.sh --- java-core/.github/workflows/downstream.yaml | 157 ++++++++++++++++++ .../downstream-client-library-check.sh | 101 +++++++++++ 2 files changed, 258 insertions(+) create mode 100644 java-core/.github/workflows/downstream.yaml create mode 100755 java-core/.kokoro/downstream-client-library-check.sh diff --git a/java-core/.github/workflows/downstream.yaml b/java-core/.github/workflows/downstream.yaml new file mode 100644 index 000000000000..a675b7ec7495 --- /dev/null +++ b/java-core/.github/workflows/downstream.yaml @@ -0,0 +1,157 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. +on: + pull_request: + types: [ labeled ] + branches: + - main +name: downstream +jobs: + dependencies: + if: ${{ github.event.label.name == 'downstream-check:run' }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + java: [17] + repo: + # This list needs to be updated manually until an automated solution is in place. + - accessapproval + - accesscontextmanager + - aiplatform + - analytics-admin + - analytics-data + - api-gateway + - apigee-connect + - appengine-admin + - area120-tables + - artifact-registry + - asset + - assured-workloads + - automl + - bigquery + - bigqueryconnection + - bigquerydatatransfer + - bigquerymigration + - bigqueryreservation + - bigtable + - billing + - billingbudgets + - binary-authorization + - channel + - cloudbuild + - compute + - contact-center-insights + - container + - containeranalysis + - data-fusion + - datacatalog + - dataflow + - datalabeling + - dataproc + - dataproc-metastore + - datastore + - datastream + - debugger-client + - deploy + - dialogflow + - dialogflow-cx + - dlp + - dms + - dns + - document-ai + - domains + - errorreporting + - essential-contacts + - eventarc + - filestore + - firestore + - functions + - game-servers + - gke-connect-gateway + - gkehub + - gsuite-addons + - iam-admin + - iamcredentials + - iot + - kms + - language + - life-sciences + - logging + - logging-logback + - managed-identities + - mediatranslation + - memcache + - monitoring + - monitoring-dashboards + - network-management + - network-security + - networkconnectivity + - notebooks + - orchestration-airflow + - orgpolicy + - os-config + - os-login + - phishingprotection + - policy-troubleshooter + - private-catalog + - profiler + - pubsublite + - recaptchaenterprise + - recommendations-ai + - recommender + - redis + - resource-settings + - resourcemanager + - retail + - scheduler + - secretmanager + - security-private-ca + - securitycenter + - securitycenter-settings + - service-control + - service-management + - service-usage + - servicedirectory + - shell + - spanner + - spanner-jdbc + - speech + - storage + - storage-nio + - storage-transfer + - talent + - tasks + - texttospeech + - tpu + - trace + - translate + - video-intelligence + - video-transcoder + - vision + - vpcaccess + - webrisk + - websecurityscanner + - workflow-executions + - workflows + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: sudo apt-get install libxml2-utils + - run: .kokoro/downstream-client-library-check.sh google-cloud-core-bom ${{matrix.repo}} diff --git a/java-core/.kokoro/downstream-client-library-check.sh b/java-core/.kokoro/downstream-client-library-check.sh new file mode 100755 index 000000000000..c1e13911b574 --- /dev/null +++ b/java-core/.kokoro/downstream-client-library-check.sh @@ -0,0 +1,101 @@ +#!/bin/bash +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail +# Display commands being run. +set -x + +CORE_LIBRARY_ARTIFACT=$1 +CLIENT_LIBRARY=$2 +## Get the directory of the build script +scriptDir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")" +## cd to the parent directory, i.e. the root of the git repo +cd "${scriptDir}"/.. + +# Make java core library artifacts available for 'mvn install' at the bottom +mvn verify install -B -V -ntp -fae \ +-DskipTests=true \ +-Dmaven.javadoc.skip=true \ +-Dgcloud.download.skip=true \ +-Denforcer.skip=true + +# Namespace (xmlns) prevents xmllint from specifying tag names in XPath +CORE_VERSION=$(sed -e 's/xmlns=".*"//' pom.xml | xmllint --xpath '/project/version/text()' -) + +if [ -z "${CORE_VERSION}" ]; then + echo "Version is not found in ${CORE_VERSION_POM}" + exit 1 +fi +echo "Version: ${CORE_VERSION}" + +# Round 1 +# Check this java core library against HEAD of java-shared dependencies + +git clone "https://github.com/googleapis/java-shared-dependencies.git" --depth=1 +pushd java-shared-dependencies/first-party-dependencies + +# replace version +xmllint --shell pom.xml << EOF +setns x=http://maven.apache.org/POM/4.0.0 +cd .//x:artifactId[text()="${CORE_LIBRARY_ARTIFACT}"] +cd ../x:version +set ${CORE_VERSION} +save pom.xml +EOF + +# run dependencies script +cd .. + +mvn verify install -B -V -ntp -fae \ +-DskipTests=true \ +-Dmaven.javadoc.skip=true \ +-Dgcloud.download.skip=true \ +-Denforcer.skip=true + +# Namespace (xmlns) prevents xmllint from specifying tag names in XPath +SHARED_DEPS_VERSION=$(sed -e 's/xmlns=".*"//' pom.xml | xmllint --xpath '/project/version/text()' -) + +if [ -z "${SHARED_DEPS_VERSION}" ]; then + echo "Version is not found in ${SHARED_DEPS_VERSION_POM}" + exit 1 +fi + +# Round 2 + +# Check this BOM against java client libraries +git clone "https://github.com/googleapis/java-${CLIENT_LIBRARY}.git" --depth=1 +pushd java-"${CLIENT_LIBRARY}" + +if [[ $CLIENT_LIBRARY == "bigtable" ]]; then + pushd google-cloud-bigtable-deps-bom +fi + +# replace version +xmllint --shell pom.xml << EOF +setns x=http://maven.apache.org/POM/4.0.0 +cd .//x:artifactId[text()="google-cloud-shared-dependencies"] +cd ../x:version +set ${SHARED_DEPS_VERSION} +save pom.xml +EOF + +if [[ $CLIENT_LIBRARY == "bigtable" ]]; then + popd +fi + +mvn verify install -B -V -ntp -fae \ +-Dmaven.javadoc.skip=true \ +-Dgcloud.download.skip=true \ +-Denforcer.skip=true From 656c73e4e9e9bbdf3597fb894049a5ac4af59d7e Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Fri, 11 Feb 2022 14:23:59 -0500 Subject: [PATCH 2017/3036] chore: downstream check for all libraries in single job (#610) * chore: downstream check for all libraries in single job * Update downstream.yaml * Update downstream.yaml * Update downstream-client-library-check.sh * Update downstream-client-library-check.sh --- .../.github/workflows/downstream.yaml | 165 ++++++++++++++++-- .../.kokoro/client-library-check.sh | 65 ------- .../downstream-client-library-check.sh | 65 +++++++ 3 files changed, 211 insertions(+), 84 deletions(-) delete mode 100755 java-shared-dependencies/.kokoro/client-library-check.sh create mode 100755 java-shared-dependencies/.kokoro/downstream-client-library-check.sh diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml index 0f1bc811bf5a..794de17c025d 100644 --- a/java-shared-dependencies/.github/workflows/downstream.yaml +++ b/java-shared-dependencies/.github/workflows/downstream.yaml @@ -1,30 +1,157 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: - push: - branches: - - main pull_request: + types: [ labeled ] + branches: + - main name: downstream jobs: dependencies: + if: ${{ github.event.label.name == 'downstream-check:run' }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: - java: [8, 11] + java: [17] repo: - - java-bigquery - - java-bigqueryconnection - - java-spanner - - java-storage - - java-pubsub + # This list needs to be updated manually until an automated solution is in place. + - accessapproval + - accesscontextmanager + - aiplatform + - analytics-admin + - analytics-data + - api-gateway + - apigee-connect + - appengine-admin + - area120-tables + - artifact-registry + - asset + - assured-workloads + - automl + - bigquery + - bigqueryconnection + - bigquerydatatransfer + - bigquerymigration + - bigqueryreservation + - bigtable + - billing + - billingbudgets + - binary-authorization + - channel + - cloudbuild + - compute + - contact-center-insights + - container + - containeranalysis + - data-fusion + - datacatalog + - dataflow + - datalabeling + - dataproc + - dataproc-metastore + - datastore + - datastream + - debugger-client + - deploy + - dialogflow + - dialogflow-cx + - dlp + - dms + - dns + - document-ai + - domains + - errorreporting + - essential-contacts + - eventarc + - filestore + - firestore + - functions + - game-servers + - gke-connect-gateway + - gkehub + - gsuite-addons + - iam-admin + - iamcredentials + - iot + - kms + - language + - life-sciences + - logging + - logging-logback + - managed-identities + - mediatranslation + - memcache + - monitoring + - monitoring-dashboards + - network-management + - network-security + - networkconnectivity + - notebooks + - orchestration-airflow + - orgpolicy + - os-config + - os-login + - phishingprotection + - policy-troubleshooter + - private-catalog + - profiler + - pubsublite + - recaptchaenterprise + - recommendations-ai + - recommender + - redis + - resource-settings + - resourcemanager + - retail + - scheduler + - secretmanager + - security-private-ca + - securitycenter + - securitycenter-settings + - service-control + - service-management + - service-usage + - servicedirectory + - shell + - spanner + - spanner-jdbc + - speech + - storage + - storage-nio + - storage-transfer + - talent + - tasks + - texttospeech + - tpu + - trace + - translate + - video-intelligence + - video-transcoder + - vision + - vpcaccess + - webrisk + - websecurityscanner + - workflow-executions + - workflows steps: - - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 - with: - java-version: ${{matrix.java}} - - run: java -version - - run: sudo apt-get install libxml2-utils - - run: .kokoro/client-library-check.sh ${{matrix.repo}} + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: sudo apt-get install libxml2-utils + - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} diff --git a/java-shared-dependencies/.kokoro/client-library-check.sh b/java-shared-dependencies/.kokoro/client-library-check.sh deleted file mode 100755 index 0a296b03ccef..000000000000 --- a/java-shared-dependencies/.kokoro/client-library-check.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Presubmit to ensure the dependencies of the Google Libraries BOM, with the modification of change -# in the PR, pick up the highest versions among transitive dependencies. -# https://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html - -set -eo pipefail -# Display commands being run. -set -x - -if [[ $# -lt 1 ]]; -then - echo "Usage: $0 " - exit 1 -fi -REPO=$1 - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# Make artifacts available for 'mvn validate' at the bottom -mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V -q - -# Read the current version of this BOM in the POM. Example version: '0.116.1-alpha-SNAPSHOT' -VERSION_POM=pom.xml -# Namespace (xmlns) prevents xmllint from specifying tag names in XPath -VERSION=`sed -e 's/xmlns=".*"//' ${VERSION_POM} | xmllint --xpath '/project/version/text()' -` - -if [ -z "${VERSION}" ]; then - echo "Version is not found in ${VERSION_POM}" - exit 1 -fi -echo "Version: ${VERSION}" - -# Check this BOM against a few java client libraries -# java-bigquery -git clone "https://github.com/googleapis/${REPO}.git" --depth=1 -pushd ${REPO} - -# replace version -xmllint --shell <(cat pom.xml) << EOF -setns x=http://maven.apache.org/POM/4.0.0 -cd .//x:artifactId[text()="google-cloud-shared-dependencies"] -cd ../x:version -set ${VERSION} -save pom.xml -EOF - -# run dependencies script -.kokoro/dependencies.sh diff --git a/java-shared-dependencies/.kokoro/downstream-client-library-check.sh b/java-shared-dependencies/.kokoro/downstream-client-library-check.sh new file mode 100755 index 000000000000..b17b020b72fc --- /dev/null +++ b/java-shared-dependencies/.kokoro/downstream-client-library-check.sh @@ -0,0 +1,65 @@ +#!/bin/bash +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail +# Display commands being run. +set -x + +CLIENT_LIBRARY=$1 +## Get the directory of the build script +scriptDir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")" +## cd to the parent directory, i.e. the root of the git repo +cd "${scriptDir}"/.. + +# Make java core library artifacts available for 'mvn install' at the bottom +mvn verify install -B -V -ntp -fae \ +-DskipTests=true \ +-Dmaven.javadoc.skip=true \ +-Dgcloud.download.skip=true \ +-Denforcer.skip=true + +# Namespace (xmlns) prevents xmllint from specifying tag names in XPath +SHARED_DEPS_VERSION=$(sed -e 's/xmlns=".*"//' pom.xml | xmllint --xpath '/project/version/text()' -) + +if [ -z "${SHARED_DEPS_VERSION}" ]; then + echo "Version is not found in ${SHARED_DEPS_VERSION_POM}" + exit 1 +fi + +# Check this BOM against java client libraries +git clone "https://github.com/googleapis/java-${CLIENT_LIBRARY}.git" --depth=1 +pushd java-"${CLIENT_LIBRARY}" + +if [[ "$CLIENT_LIBRARY" == "bigtable" ]]; then + pushd google-cloud-bigtable-deps-bom +fi + +# replace version +xmllint --shell pom.xml << EOF +setns x=http://maven.apache.org/POM/4.0.0 +cd .//x:artifactId[text()="google-cloud-shared-dependencies"] +cd ../x:version +set ${SHARED_DEPS_VERSION} +save pom.xml +EOF + +if [[ $CLIENT_LIBRARY == "bigtable" ]]; then + popd +fi + +mvn verify install -B -V -ntp -fae \ +-Dmaven.javadoc.skip=true \ +-Dgcloud.download.skip=true \ +-Denforcer.skip=true From 89e3ae34c4118bbbbb79a06bc45e543bb2269f43 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Feb 2022 20:39:01 +0100 Subject: [PATCH 2018/3036] deps: update actions/github-script action to v6 (#724) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v5` -> `v6` | --- ### Release Notes
    actions/github-script ### [`v6`](https://togithub.com/actions/github-script/compare/v5...v6) [Compare Source](https://togithub.com/actions/github-script/compare/v5...v6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 501fd7bd5fd66d9e1e3aec0ed0a2bdf47eb8333b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Feb 2022 20:41:06 +0100 Subject: [PATCH 2019/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.2 (#723) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.3.1` -> `3.3.2` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/compatibility-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/confidence-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 953386172277..bcfa7554e0e9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -373,7 +373,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.1 + 3.3.2 html From 70d94bdcae4e069858df09c72d3fac4d9d3c5702 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 11 Feb 2022 20:30:47 +0000 Subject: [PATCH 2020/3036] chore(main): release 2.5.4 (#725) :robot: I have created a release *beep* *boop* --- ### [2.5.4](https://github.com/googleapis/java-core/compare/v2.5.3...v2.5.4) (2022-02-11) ### Dependencies * update actions/github-script action to v6 ([#724](https://github.com/googleapis/java-core/issues/724)) ([89e3ae3](https://github.com/googleapis/java-core/commit/89e3ae34c4118bbbbb79a06bc45e543bb2269f43)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index d114fd1c2afe..1ab847f0c180 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.5.4](https://github.com/googleapis/java-core/compare/v2.5.3...v2.5.4) (2022-02-11) + + +### Dependencies + +* update actions/github-script action to v6 ([#724](https://github.com/googleapis/java-core/issues/724)) ([b8673d3](https://github.com/googleapis/java-core/commit/b8673d3b3ae08cbfed135cd7ff9d891c04e90611)) + ### [2.5.3](https://github.com/googleapis/java-core/compare/v2.5.2...v2.5.3) (2022-02-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a7379492c732..40f7a10d439a 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.4-SNAPSHOT + 2.5.4 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.4-SNAPSHOT + 2.5.4 com.google.cloud google-cloud-core-grpc - 2.5.4-SNAPSHOT + 2.5.4 com.google.cloud google-cloud-core-http - 2.5.4-SNAPSHOT + 2.5.4 com.google.cloud native-image-support - 0.12.4-SNAPSHOT + 0.12.4
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 50c593d0afe4..ea9a5b742eab 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.5.4-SNAPSHOT + 2.5.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.4-SNAPSHOT + 2.5.4 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 30743b5957c5..83acd443e724 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.5.4-SNAPSHOT + 2.5.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.4-SNAPSHOT + 2.5.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3911eacaa435..637fd84d5a10 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.5.4-SNAPSHOT + 2.5.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.4-SNAPSHOT + 2.5.4 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index c041ab2b53fa..93aca9597f34 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.4-SNAPSHOT + 0.12.4 jar google-cloud-core-parent com.google.cloud - 2.5.4-SNAPSHOT + 2.5.4 diff --git a/java-core/pom.xml b/java-core/pom.xml index bcfa7554e0e9..6f6a1c1a894c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.4-SNAPSHOT + 2.5.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 558cb12f27dc..2e56949fe10a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.3:2.5.4-SNAPSHOT -native-image-support:0.12.3:0.12.4-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.4:2.5.4 +native-image-support:0.12.4:0.12.4 \ No newline at end of file From 67332fd6a96309cba82b42331f8e9c9c546e3444 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 11 Feb 2022 21:04:49 +0000 Subject: [PATCH 2021/3036] chore(main): release 2.5.5-SNAPSHOT (#726) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 40f7a10d439a..ea0f69d75bf6 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.4 + 2.5.5-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.4 + 2.5.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.4 + 2.5.5-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.4 + 2.5.5-SNAPSHOT com.google.cloud native-image-support - 0.12.4 + 0.12.5-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ea9a5b742eab..ada0b53aba66 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.5.4 + 2.5.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.4 + 2.5.5-SNAPSHOT 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 83acd443e724..ca9a49728a8a 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.5.4 + 2.5.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.4 + 2.5.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 637fd84d5a10..f379d18dbfa5 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.5.4 + 2.5.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.4 + 2.5.5-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 93aca9597f34..52403c96943e 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.4 + 0.12.5-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.4 + 2.5.5-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 6f6a1c1a894c..795d8f698e1d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.4 + 2.5.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 2e56949fe10a..77e402bd77ce 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.4:2.5.4 -native-image-support:0.12.4:0.12.4 \ No newline at end of file +google-cloud-core:2.5.4:2.5.5-SNAPSHOT +native-image-support:0.12.4:0.12.5-SNAPSHOT \ No newline at end of file From d2c030e9a3b5ac944e3ae1f16a44eba697c44ed1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 11 Feb 2022 16:13:11 -0500 Subject: [PATCH 2022/3036] chore(main): release 2.7.1-SNAPSHOT (#591) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 3e0edf56c617..086714d028fb 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 - 2.7.0 + 2.7.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.7.0 + 2.7.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1ba2b30d8399..3d7cb939b9ae 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 - 2.7.0 + 2.7.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ca53517e67ab..6204729ab4ff 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 - 2.7.0 + 2.7.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.7.0 + 2.7.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.7.0 + 2.7.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 7f498f96a7d3..52f75f57ad5c 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 - 2.7.0 + 2.7.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 2909c8b4d79a..97a662c54f21 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 - 2.7.0 + 2.7.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.7.0 + 2.7.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 81bf3ab8c08f..e454e46974b8 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.7.0:2.7.0 \ No newline at end of file +google-cloud-shared-dependencies:2.7.0:2.7.1-SNAPSHOT \ No newline at end of file From f2bff57164c439aa5be233dfafffc75d29b8a382 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Feb 2022 22:32:32 +0100 Subject: [PATCH 2023/3036] deps: update actions/github-script action to v6 (#284) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v5` -> `v6` | --- ### Release Notes
    actions/github-script ### [`v6`](https://togithub.com/actions/github-script/compare/v5...v6) [Compare Source](https://togithub.com/actions/github-script/compare/v5...v6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From ee5162f38d33fcc888357e28fb41b1e167c9a12b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 11 Feb 2022 22:02:48 +0000 Subject: [PATCH 2024/3036] chore(main): release 1.2.4 (#285) :robot: I have created a release *beep* *boop* --- ### [1.2.4](https://github.com/googleapis/java-iam/compare/v1.2.3...v1.2.4) (2022-02-11) ### Dependencies * update actions/github-script action to v6 ([#284](https://github.com/googleapis/java-iam/issues/284)) ([f2bff57](https://github.com/googleapis/java-iam/commit/f2bff57164c439aa5be233dfafffc75d29b8a382)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 42ab62efbdaf..d2d7ae81b182 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.4](https://github.com/googleapis/java-iam/compare/v1.2.3...v1.2.4) (2022-02-11) + + +### Dependencies + +* update actions/github-script action to v6 ([#284](https://github.com/googleapis/java-iam/issues/284)) ([4ab2967](https://github.com/googleapis/java-iam/commit/4ab2967034373c322df5f6a37ab5e66d3d38ae2b)) + ### [1.2.3](https://github.com/googleapis/java-iam/compare/v1.2.2...v1.2.3) (2022-02-08) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 763c644d2ef4..430087cdd191 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.2.4-SNAPSHOT + 1.2.4 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 95c55738cebb..59a27badc3d1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.4-SNAPSHOT + 1.2.4 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 656f3cda7e20..1b8493722ac6 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.2.4-SNAPSHOT + 1.2.4 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.4-SNAPSHOT + 1.2.4 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index d24f41d4d58c..4dbff5443a1b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.3:1.2.4-SNAPSHOT -grpc-google-iam-v1:1.2.3:1.2.4-SNAPSHOT +proto-google-iam-v1:1.2.4:1.2.4 +grpc-google-iam-v1:1.2.4:1.2.4 From 36d4a79662f5b98954334e2e472701903838ff0d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 11 Feb 2022 22:14:42 +0000 Subject: [PATCH 2025/3036] chore(main): release 1.2.5-SNAPSHOT (#286) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 430087cdd191..c04fce0c9576 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.2.4 + 1.2.5-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.4 + 1.2.5-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 59a27badc3d1..52d97d02de22 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.4 + 1.2.5-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.4 + 1.2.5-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1b8493722ac6..b2a4e14dc154 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.2.4 + 1.2.5-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.4 + 1.2.5-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 4dbff5443a1b..a3a2b88e7724 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.4:1.2.4 -grpc-google-iam-v1:1.2.4:1.2.4 +proto-google-iam-v1:1.2.4:1.2.5-SNAPSHOT +grpc-google-iam-v1:1.2.4:1.2.5-SNAPSHOT From eb7bb0b9f093736377ec0931446ee310e05a2d8b Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 15 Feb 2022 11:59:35 -0500 Subject: [PATCH 2026/3036] fix(java): initialize TestTag at build time (#732) --- .../com.google.cloud/google-cloud-core/native-image.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties index 369a7fe6bf83..1b423614bf8a 100644 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties @@ -1,7 +1,8 @@ Args = --allow-incomplete-classpath \ --enable-url-protocols=https,http \ --initialize-at-build-time=org.conscrypt,\ - org.slf4j.LoggerFactory \ + org.slf4j.LoggerFactory,\ + org.junit.platform.engine.TestTag \ --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ From c874f5f68cc38fcba4963c68ac3f279d40631ae3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Feb 2022 19:44:47 +0100 Subject: [PATCH 2027/3036] deps: update dependency com.google.code.gson:gson to v2.9.0 (#727) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.code.gson:gson](https://togithub.com/google/gson) | `2.8.9` -> `2.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/compatibility-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/confidence-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/gson ### [`v2.9.0`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-290) **The minimum supported Java version changes from 6 to 7.** - Change target Java version to 7 ([#​2043](https://togithub.com/google/gson/issues/2043)) - Put `module-info.class` into Multi-Release JAR folder ([#​2013](https://togithub.com/google/gson/issues/2013)) - Improve error message when abstract class cannot be constructed ([#​1814](https://togithub.com/google/gson/issues/1814)) - Support EnumMap deserialization ([#​2071](https://togithub.com/google/gson/issues/2071)) - Add LazilyParsedNumber default adapter ([#​2060](https://togithub.com/google/gson/issues/2060)) - Fix JsonReader.hasNext() returning true at end of document ([#​2061](https://togithub.com/google/gson/issues/2061)) - Remove Gradle build support. Build script was outdated and not actively maintained anymore ([#​2063](https://togithub.com/google/gson/issues/2063)) - Add `GsonBuilder.disableJdkUnsafe()` ([#​1904](https://togithub.com/google/gson/issues/1904)) - Add `UPPER_CASE_WITH_UNDERSCORES` in FieldNamingPolicy ([#​2024](https://togithub.com/google/gson/issues/2024)) - Fix failing to serialize Collection or Map with inaccessible constructor ([#​1902](https://togithub.com/google/gson/issues/1902)) - Improve TreeTypeAdapter thread-safety ([#​1976](https://togithub.com/google/gson/issues/1976)) - Fix `Gson.newJsonWriter` ignoring lenient and HTML-safe setting ([#​1989](https://togithub.com/google/gson/issues/1989)) - Delete unused LinkedHashTreeMap ([#​1992](https://togithub.com/google/gson/issues/1992)) - Make default adapters stricter; improve exception messages ([#​2000](https://togithub.com/google/gson/issues/2000)) - Fix `FieldNamingPolicy.upperCaseFirstLetter` uppercasing non-letter ([#​2004](https://togithub.com/google/gson/issues/2004))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 795d8f698e1d..6a4c0bd2b54b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -171,7 +171,7 @@ 1.5.2 3.2 2.11.0 - 2.8.9 + 2.9.0
    From d69422fed795d67289e02848f41e1f062469cd9c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Feb 2022 19:48:58 +0100 Subject: [PATCH 2028/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.2 (#283) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.3.1` -> `3.3.2` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/compatibility-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.3.2/confidence-slim/3.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 52d97d02de22..38297bc06ad4 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -126,7 +126,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.1 + 3.3.2 html From 2126fa6507e1a4e6d043c372ee65693f5a4bc33d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Feb 2022 19:54:35 +0100 Subject: [PATCH 2029/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.2.1 (#276) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 38297bc06ad4..16e3cb5b5013 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -99,7 +99,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.2 + 3.2.1 From a551d9ee98c3a31153f4c7be9a53188b449dcbd3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Feb 2022 20:05:03 +0100 Subject: [PATCH 2030/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.4 (#729) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.3` -> `1.2.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.4/compatibility-slim/1.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.4/confidence-slim/1.2.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.4`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​124-httpsgithubcomgoogleapisjava-iamcomparev123v124-2022-02-11) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.3...v1.2.4)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6a4c0bd2b54b..cbf2e9395a4c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.2 2.1.4 2.7.3 - 1.2.3 + 1.2.4 1.4.0 1.33.2 1.41.3 From 6ae5d9b9a09477c32ea44ea3aad8c322e89ad9de Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 15 Feb 2022 20:46:55 +0100 Subject: [PATCH 2031/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.7.4 (#728) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.7.3` -> `2.7.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.4/compatibility-slim/2.7.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.7.4/confidence-slim/2.7.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.7.4`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​274-httpsgithubcomgoogleapisjava-common-protoscomparev273v274-2022-02-11) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.7.3...v2.7.4)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index cbf2e9395a4c..f2478601f966 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.12.2 2.1.4 - 2.7.3 + 2.7.4 1.2.4 1.4.0 1.33.2 From 615c24e9e39fa141b6e766dd378d1c84e53069a6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Feb 2022 16:31:01 +0100 Subject: [PATCH 2032/3036] deps: update actions/github-script action to v6 (#287) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v5` -> `v6` | --- ### Release Notes
    actions/github-script ### [`v6`](https://togithub.com/actions/github-script/compare/v5...v6) [Compare Source](https://togithub.com/actions/github-script/compare/v5...v6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 1a17f5da3e23543f614ce76c85c6e39768061e32 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 17 Feb 2022 15:57:02 +0000 Subject: [PATCH 2033/3036] chore(main): release 1.2.5 (#288) :robot: I have created a release *beep* *boop* --- ### [1.2.5](https://github.com/googleapis/java-iam/compare/v1.2.4...v1.2.5) (2022-02-17) ### Dependencies * update actions/github-script action to v6 ([#287](https://github.com/googleapis/java-iam/issues/287)) ([615c24e](https://github.com/googleapis/java-iam/commit/615c24e9e39fa141b6e766dd378d1c84e53069a6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index d2d7ae81b182..ec284cf15074 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.5](https://github.com/googleapis/java-iam/compare/v1.2.4...v1.2.5) (2022-02-17) + + +### Dependencies + +* update actions/github-script action to v6 ([#287](https://github.com/googleapis/java-iam/issues/287)) ([eb96321](https://github.com/googleapis/java-iam/commit/eb96321d998fa6acf7285c878c4c044535a54af5)) + ### [1.2.4](https://github.com/googleapis/java-iam/compare/v1.2.3...v1.2.4) (2022-02-11) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index c04fce0c9576..5af3089e6641 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.2.5-SNAPSHOT + 1.2.5 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.5-SNAPSHOT + 1.2.5 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 16e3cb5b5013..2b883daa759f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.5-SNAPSHOT + 1.2.5 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.5-SNAPSHOT + 1.2.5 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b2a4e14dc154..2ac14b804157 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.2.5-SNAPSHOT + 1.2.5 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.5-SNAPSHOT + 1.2.5 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index a3a2b88e7724..fb0f0f1ef036 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.4:1.2.5-SNAPSHOT -grpc-google-iam-v1:1.2.4:1.2.5-SNAPSHOT +proto-google-iam-v1:1.2.5:1.2.5 +grpc-google-iam-v1:1.2.5:1.2.5 From 2b88eda0f441779f4801f4d2f5cf6a185d039efa Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 17 Feb 2022 16:56:42 +0000 Subject: [PATCH 2034/3036] chore(main): release 1.2.6-SNAPSHOT (#289) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 5af3089e6641..36de17618505 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.2.5 + 1.2.6-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.5 + 1.2.6-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2b883daa759f..d1d39225c05e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.5 + 1.2.6-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.5 + 1.2.6-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 2ac14b804157..e676f8890285 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.2.5 + 1.2.6-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.5 + 1.2.6-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index fb0f0f1ef036..c8f7600bfa9b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.5:1.2.5 -grpc-google-iam-v1:1.2.5:1.2.5 +proto-google-iam-v1:1.2.5:1.2.6-SNAPSHOT +grpc-google-iam-v1:1.2.5:1.2.6-SNAPSHOT From 4505703cfbb5a7de2e6e69e4f0128cac71311677 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Fri, 18 Feb 2022 15:42:33 -0500 Subject: [PATCH 2035/3036] fix(java): initialize spanner test environment class at build-time (#734) --- .../nativeimage/features/clients/OpenCensusFeature.java | 8 ++++++-- .../nativeimage/features/clients/SpannerFeature.java | 5 +++++ .../google-cloud-core/native-image.properties | 3 ++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java index f2b6cb2098c2..e718f2856738 100644 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java @@ -25,11 +25,15 @@ @AutomaticFeature final class OpenCensusFeature implements Feature { - private static final String OPEN_CENSUS_CLASS = "io.opencensus.impl.tags.TagsComponentImpl"; + private static final String TAGS_COMPONENT_CLASS = "io.opencensus.impl.tags.TagsComponentImpl"; + private static final String STATS_COMPONENT_CLASS = "io.opencensus.impl.stats.StatsComponentImpl"; @Override public void beforeAnalysis(BeforeAnalysisAccess access) { - if (access.findClassByName(OPEN_CENSUS_CLASS) != null) { + if (access.findClassByName(STATS_COMPONENT_CLASS) != null) { + registerForReflectiveInstantiation(access, STATS_COMPONENT_CLASS); + } + if (access.findClassByName(TAGS_COMPONENT_CLASS) != null) { registerForReflectiveInstantiation(access, "io.opencensus.impl.metrics.MetricsComponentImpl"); registerForReflectiveInstantiation(access, "io.opencensus.impl.tags.TagsComponentImpl"); registerForReflectiveInstantiation(access, "io.opencensus.impl.trace.TraceComponentImpl"); diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java index e902c77928cf..3e5495840df6 100644 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java @@ -27,9 +27,14 @@ final class SpannerFeature implements Feature { private static final String SPANNER_CLASS = "com.google.spanner.v1.SpannerGrpc"; + private static final String SPANNER_TEST_CLASS = "com.google.cloud.spanner.GceTestEnvConfig"; @Override public void beforeAnalysis(BeforeAnalysisAccess access) { + Class spannerTestClass = access.findClassByName(SPANNER_TEST_CLASS); + if (spannerTestClass != null) { + NativeImageUtils.registerConstructorsForReflection(access, SPANNER_TEST_CLASS); + } Class spannerClass = access.findClassByName(SPANNER_CLASS); if (spannerClass != null) { NativeImageUtils.registerClassHierarchyForReflection( diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties index 1b423614bf8a..2228a1f094e7 100644 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties @@ -2,7 +2,8 @@ Args = --allow-incomplete-classpath \ --enable-url-protocols=https,http \ --initialize-at-build-time=org.conscrypt,\ org.slf4j.LoggerFactory,\ - org.junit.platform.engine.TestTag \ + org.junit.platform.engine.TestTag,\ + com.google.cloud.spanner.IntegrationTestEnv \ --initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ From d09b7e932c8be1e37f4e4762ac1babe59c941d24 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 19 Feb 2022 00:12:42 +0100 Subject: [PATCH 2036/3036] deps: update dependency io.grpc:grpc-bom to v1.44.1 (#736) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.44.0` -> `1.44.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.44.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.44.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.44.1/compatibility-slim/1.44.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.44.1/confidence-slim/1.44.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.44.1`](https://togithub.com/grpc/grpc-java/compare/v1.44.0...v1.44.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.44.0...v1.44.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f2478601f966..32936f9bdf56 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.33.2 1.41.3 22.0.0.2 - 1.44.0 + 1.44.1 3.19.4 0.31.0 1.3.2 From ab97b97a019b6ef955d9a916598b7247f084060e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 19 Feb 2022 00:36:50 +0100 Subject: [PATCH 2037/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.5 (#735) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.4` -> `1.2.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.5/compatibility-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.5/confidence-slim/1.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.5`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​125-httpsgithubcomgoogleapisjava-iamcomparev124v125-2022-02-17) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.4...v1.2.5)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 32936f9bdf56..a82da2f109fd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.2 2.1.4 2.7.4 - 1.2.4 + 1.2.5 1.4.0 1.33.2 1.41.3 From c3cf2a0ec3139b1d970a3cff6f97064cc99ad938 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 25 Feb 2022 22:04:47 +0000 Subject: [PATCH 2038/3036] ci: pull request template includes sample format (#1357) (#740) Source-Link: https://github.com/googleapis/synthtool/commit/e122cb03ea37652946651346736d99b9dcc4311f Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67 --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.github/PULL_REQUEST_TEMPLATE.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 9786771c434b..9351fdfb9ac8 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b + digest: sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67 diff --git a/java-core/.github/PULL_REQUEST_TEMPLATE.md b/java-core/.github/PULL_REQUEST_TEMPLATE.md index 940d477efc5a..912a85b3bb5c 100644 --- a/java-core/.github/PULL_REQUEST_TEMPLATE.md +++ b/java-core/.github/PULL_REQUEST_TEMPLATE.md @@ -5,3 +5,6 @@ Thank you for opening a Pull Request! Before submitting your PR, there are a few - [ ] Appropriate docs were updated (if necessary) Fixes # ☕️ + +If you write sample code, please follow the [samples format]( +https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). From 6915246fabe3f8881971a74b69d5eb71340df669 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 25 Feb 2022 22:14:31 +0000 Subject: [PATCH 2039/3036] ci: pull request template includes sample format (#1357) (#294) Source-Link: https://github.com/googleapis/synthtool/commit/e122cb03ea37652946651346736d99b9dcc4311f Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67 --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.github/PULL_REQUEST_TEMPLATE.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 9786771c434b..9351fdfb9ac8 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b + digest: sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67 diff --git a/java-iam/.github/PULL_REQUEST_TEMPLATE.md b/java-iam/.github/PULL_REQUEST_TEMPLATE.md index dc7bb2ce84bc..c9e354de0df3 100644 --- a/java-iam/.github/PULL_REQUEST_TEMPLATE.md +++ b/java-iam/.github/PULL_REQUEST_TEMPLATE.md @@ -5,3 +5,6 @@ Thank you for opening a Pull Request! Before submitting your PR, there are a few - [ ] Appropriate docs were updated (if necessary) Fixes # ☕️ + +If you write sample code, please follow the [samples format]( +https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). From a3ce8bcf58ccc457e01be1aa1bd0414316bd7fa0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Feb 2022 19:41:06 +0100 Subject: [PATCH 2040/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.5.3 (#737) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a82da2f109fd..ad353ef03744 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.1.4 2.7.4 1.2.5 - 1.4.0 + 1.5.3 1.33.2 1.41.3 22.0.0.2 From 11dc8668ebc6856c05be05b62578a99ee7cd702b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Feb 2022 22:28:35 +0100 Subject: [PATCH 2041/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.4 (#730) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ad353ef03744..2e1696bb8b45 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.2.5 1.5.3 1.33.2 - 1.41.3 + 1.41.4 22.0.0.2 1.44.1 3.19.4 From a1572e5192b53317ed8e1d49fddcd981dfc23e40 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Feb 2022 22:51:47 +0100 Subject: [PATCH 2042/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.2.2 (#738) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2e1696bb8b45..20ad755a8d05 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -346,7 +346,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.1 + 3.2.2 From 6cd3ca59ad090e821bf1bf1e9ef9315623fc6ab7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Feb 2022 22:51:58 +0100 Subject: [PATCH 2043/3036] deps: update actions/setup-java action to v3 (#739) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update actions/setup-java action to v3 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- java-core/.github/workflows/downstream.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/.github/workflows/downstream.yaml b/java-core/.github/workflows/downstream.yaml index a675b7ec7495..8a41a7afcca4 100644 --- a/java-core/.github/workflows/downstream.yaml +++ b/java-core/.github/workflows/downstream.yaml @@ -149,7 +149,7 @@ jobs: - workflows steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 with: java-version: ${{matrix.java}} - run: java -version From 420e4cbc0cd6613d71be867169f9ef8ca19fd836 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 28 Feb 2022 13:58:25 -0800 Subject: [PATCH 2044/3036] chore(main): release 2.5.5 (#733) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 20 ++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 36 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 1ab847f0c180..85e60b3bc1ae 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +### [2.5.5](https://github.com/googleapis/java-core/compare/v2.5.4...v2.5.5) (2022-02-28) + + +### Bug Fixes + +* **java:** initialize spanner test environment class at build-time ([#734](https://github.com/googleapis/java-core/issues/734)) ([684934e](https://github.com/googleapis/java-core/commit/684934efb28e4ed5f5f975aab91adad25bf1ab52)) +* **java:** initialize TestTag at build time ([#732](https://github.com/googleapis/java-core/issues/732)) ([a5f1dc2](https://github.com/googleapis/java-core/commit/a5f1dc2ed3d71404d699830ba4bea8824e67d0e8)) + + +### Dependencies + +* update actions/setup-java action to v3 ([#739](https://github.com/googleapis/java-core/issues/739)) ([46322e3](https://github.com/googleapis/java-core/commit/46322e3a9929195c223fc6399860c1cab4d81eb5)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.7.4 ([#728](https://github.com/googleapis/java-core/issues/728)) ([3b83bd7](https://github.com/googleapis/java-core/commit/3b83bd7dce6a369c6668f0967572ae08df1b77d8)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.4 ([#729](https://github.com/googleapis/java-core/issues/729)) ([0759c2b](https://github.com/googleapis/java-core/commit/0759c2b8163d45bf87692e2f131df76dac5f178e)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.5 ([#735](https://github.com/googleapis/java-core/issues/735)) ([cefbf97](https://github.com/googleapis/java-core/commit/cefbf978ac21f00b3c4558ebc40ef1f6355ea156)) +* update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#737](https://github.com/googleapis/java-core/issues/737)) ([a1cb8d8](https://github.com/googleapis/java-core/commit/a1cb8d81db34142937c85be5c4502036a4b7939d)) +* update dependency com.google.code.gson:gson to v2.9.0 ([#727](https://github.com/googleapis/java-core/issues/727)) ([faf8a44](https://github.com/googleapis/java-core/commit/faf8a44e8823ecae44d543e6f5c2a9d8598f04fe)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#730](https://github.com/googleapis/java-core/issues/730)) ([1975b61](https://github.com/googleapis/java-core/commit/1975b617e23f7dd0b263e9acb4010b3126e5d7e7)) +* update dependency io.grpc:grpc-bom to v1.44.1 ([#736](https://github.com/googleapis/java-core/issues/736)) ([4ca315c](https://github.com/googleapis/java-core/commit/4ca315ca400e020badbdf27bb92d1b67680a2e73)) + ### [2.5.4](https://github.com/googleapis/java-core/compare/v2.5.3...v2.5.4) (2022-02-11) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index ea0f69d75bf6..8de131172d8d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.5-SNAPSHOT + 2.5.5 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.5-SNAPSHOT + 2.5.5 com.google.cloud google-cloud-core-grpc - 2.5.5-SNAPSHOT + 2.5.5 com.google.cloud google-cloud-core-http - 2.5.5-SNAPSHOT + 2.5.5 com.google.cloud native-image-support - 0.12.5-SNAPSHOT + 0.12.5
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ada0b53aba66..a9cf8ffa8be7 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.5.5-SNAPSHOT + 2.5.5 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.5-SNAPSHOT + 2.5.5 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 ca9a49728a8a..3e061e282c99 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.5.5-SNAPSHOT + 2.5.5 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.5-SNAPSHOT + 2.5.5 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f379d18dbfa5..58708c8caa83 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.5.5-SNAPSHOT + 2.5.5 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.5-SNAPSHOT + 2.5.5 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 52403c96943e..98b19ac769cc 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.5-SNAPSHOT + 0.12.5 jar google-cloud-core-parent com.google.cloud - 2.5.5-SNAPSHOT + 2.5.5 diff --git a/java-core/pom.xml b/java-core/pom.xml index 20ad755a8d05..d56143916359 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.5-SNAPSHOT + 2.5.5 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 77e402bd77ce..085bce8492b8 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.4:2.5.5-SNAPSHOT -native-image-support:0.12.4:0.12.5-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.5:2.5.5 +native-image-support:0.12.5:0.12.5 \ No newline at end of file From 75d5152a30f34c95d052ab0212cc2cd154432443 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 28 Feb 2022 22:04:15 +0000 Subject: [PATCH 2045/3036] chore(main): release 2.5.6-SNAPSHOT (#741) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8de131172d8d..765eaaaf2136 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.5 + 2.5.6-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.5 + 2.5.6-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.5 + 2.5.6-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.5 + 2.5.6-SNAPSHOT com.google.cloud native-image-support - 0.12.5 + 0.12.6-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a9cf8ffa8be7..00f11af47b66 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.5.5 + 2.5.6-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.5 + 2.5.6-SNAPSHOT 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 3e061e282c99..4e08c996bd57 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.5.5 + 2.5.6-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.5 + 2.5.6-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 58708c8caa83..645614303e68 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.5.5 + 2.5.6-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.5 + 2.5.6-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 98b19ac769cc..3e293deaba1a 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.5 + 0.12.6-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.5 + 2.5.6-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index d56143916359..e57e666c69f1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.5 + 2.5.6-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 085bce8492b8..871686f87c1c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.5:2.5.5 -native-image-support:0.12.5:0.12.5 \ No newline at end of file +google-cloud-core:2.5.5:2.5.6-SNAPSHOT +native-image-support:0.12.5:0.12.6-SNAPSHOT \ No newline at end of file From 71f223c3723c5b67d0a037075629bcdfbcff5711 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 28 Feb 2022 14:36:06 -0800 Subject: [PATCH 2046/3036] chore: enable auto release in java (#1349) (#600) * chore: fix auto-release * chore: remove codecov.yml * chore: update license headers for yaml files Source-Link: https://github.com/googleapis/synthtool/commit/5b777277a01a93e7f10c9279521e807b934e78d4 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 Co-authored-by: Owl Bot --- .../.github/.OwlBot.lock.yaml | 2 +- .../.github/workflows/approve-readme.yaml | 15 ++++++++ .../.github/workflows/ci.yaml | 15 ++++++++ java-shared-dependencies/.kokoro/build.bat | 15 ++++++++ .../.kokoro/nightly/java11-integration.cfg | 37 +++++++++++++++++++ 5 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 java-shared-dependencies/.kokoro/nightly/java11-integration.cfg diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index be3b9bde4fce..a8ddd81ae949 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7062473f423f339256346ddbee3d81fb1de6b784fabc2a4d959d7df2c720e375 + digest: sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 diff --git a/java-shared-dependencies/.github/workflows/approve-readme.yaml b/java-shared-dependencies/.github/workflows/approve-readme.yaml index c5132427982f..1bb182327612 100644 --- a/java-shared-dependencies/.github/workflows/approve-readme.yaml +++ b/java-shared-dependencies/.github/workflows/approve-readme.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-merge-readme diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 05de1f60dcf0..6b5e56aaacd1 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: push: branches: diff --git a/java-shared-dependencies/.kokoro/build.bat b/java-shared-dependencies/.kokoro/build.bat index 05826ad93fe8..cc602c9eba80 100644 --- a/java-shared-dependencies/.kokoro/build.bat +++ b/java-shared-dependencies/.kokoro/build.bat @@ -1,3 +1,18 @@ :: See documentation in type-shell-output.bat +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-shared-dependencies/.kokoro/nightly/java11-integration.cfg b/java-shared-dependencies/.kokoro/nightly/java11-integration.cfg new file mode 100644 index 000000000000..58049cc38f11 --- /dev/null +++ b/java-shared-dependencies/.kokoro/nightly/java11-integration.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-public-resources/java11014" +} + +env_vars: { + key: "JOB_TYPE" + value: "integration" +} +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "ENABLE_FLAKYBOT" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} From c7713a0b9c55cabfb55cce96d349faac96152344 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 1 Mar 2022 03:38:23 +0100 Subject: [PATCH 2047/3036] deps: update dependency io.grpc:grpc-protobuf to v1.44.1 (#290) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.44.0` -> `1.44.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.1/compatibility-slim/1.44.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.44.1/confidence-slim/1.44.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.44.1`](https://togithub.com/grpc/grpc-java/releases/v1.44.1) ##### **Bug Fixes** - xds: fix the validation code to accept new-style CertificateProviderPluginInstance wherever used ([#​8901](https://togithub.com/grpc/grpc-java/issues/8901) fixes [#​8885](https://togithub.com/grpc/grpc-java/issues/8885)) - binder: Fix a ServiceConnection leak ([#​8861](https://togithub.com/grpc/grpc-java/issues/8861) closes [#​8726](https://togithub.com/grpc/grpc-java/issues/8726)) - android: fix for app coming to foreground ([#​8904](https://togithub.com/grpc/grpc-java/issues/8904) closes [#​8850](https://togithub.com/grpc/grpc-java/issues/8850))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 7189409cb20f..f9772ca424c6 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.44.0' - compile 'io.grpc:grpc-protobuf:1.44.0' + compile 'io.grpc:grpc-protobuf:1.44.1' compile project(':proto-google-iam-v1') } From c0cb638176428c1e1d94ded5fd8e93d926d38750 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 1 Mar 2022 03:52:18 +0100 Subject: [PATCH 2048/3036] deps: update dependency io.grpc:grpc-stub to v1.44.1 (#291) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.44.0` -> `1.44.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.1/compatibility-slim/1.44.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.44.1/confidence-slim/1.44.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.44.1`](https://togithub.com/grpc/grpc-java/releases/v1.44.1) ##### **Bug Fixes** - xds: fix the validation code to accept new-style CertificateProviderPluginInstance wherever used ([#​8901](https://togithub.com/grpc/grpc-java/issues/8901) fixes [#​8885](https://togithub.com/grpc/grpc-java/issues/8885)) - binder: Fix a ServiceConnection leak ([#​8861](https://togithub.com/grpc/grpc-java/issues/8861) closes [#​8726](https://togithub.com/grpc/grpc-java/issues/8726)) - android: fix for app coming to foreground ([#​8904](https://togithub.com/grpc/grpc-java/issues/8904) closes [#​8850](https://togithub.com/grpc/grpc-java/issues/8850))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index f9772ca424c6..07542e32dea5 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.44.0' + compile 'io.grpc:grpc-stub:1.44.1' compile 'io.grpc:grpc-protobuf:1.44.1' compile project(':proto-google-iam-v1') } From 07ae444b9e2fb02be454a3267626377602378512 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 02:58:20 +0000 Subject: [PATCH 2049/3036] chore(main): release 1.2.6 (#295) :robot: I have created a release *beep* *boop* --- ### [1.2.6](https://github.com/googleapis/java-iam/compare/v1.2.5...v1.2.6) (2022-03-01) ### Dependencies * update dependency io.grpc:grpc-protobuf to v1.44.1 ([#290](https://github.com/googleapis/java-iam/issues/290)) ([c7713a0](https://github.com/googleapis/java-iam/commit/c7713a0b9c55cabfb55cce96d349faac96152344)) * update dependency io.grpc:grpc-stub to v1.44.1 ([#291](https://github.com/googleapis/java-iam/issues/291)) ([c0cb638](https://github.com/googleapis/java-iam/commit/c0cb638176428c1e1d94ded5fd8e93d926d38750)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 8 ++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index ec284cf15074..b22bda474dcf 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.2.6](https://github.com/googleapis/java-iam/compare/v1.2.5...v1.2.6) (2022-03-01) + + +### Dependencies + +* update dependency io.grpc:grpc-protobuf to v1.44.1 ([#290](https://github.com/googleapis/java-iam/issues/290)) ([47cd461](https://github.com/googleapis/java-iam/commit/47cd461fd06a1529f6dc928a9e76893ebb489a39)) +* update dependency io.grpc:grpc-stub to v1.44.1 ([#291](https://github.com/googleapis/java-iam/issues/291)) ([83a2206](https://github.com/googleapis/java-iam/commit/83a2206864380ac1e4ed94af364a5809e32d358c)) + ### [1.2.5](https://github.com/googleapis/java-iam/compare/v1.2.4...v1.2.5) (2022-02-17) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 36de17618505..2a26b45373e6 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.2.6-SNAPSHOT + 1.2.6 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.6-SNAPSHOT + 1.2.6 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d1d39225c05e..03572875e3a4 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.6-SNAPSHOT + 1.2.6 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.6-SNAPSHOT + 1.2.6 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e676f8890285..281378d587e3 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.2.6-SNAPSHOT + 1.2.6 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.6-SNAPSHOT + 1.2.6 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index c8f7600bfa9b..aa6f79d39462 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.5:1.2.6-SNAPSHOT -grpc-google-iam-v1:1.2.5:1.2.6-SNAPSHOT +proto-google-iam-v1:1.2.6:1.2.6 +grpc-google-iam-v1:1.2.6:1.2.6 From c2fde5d222da890937a8970f07c64b83497f560a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 03:06:23 +0000 Subject: [PATCH 2050/3036] chore(main): release 1.2.7-SNAPSHOT (#296) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 2a26b45373e6..589fa25abe2a 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.2.6 + 1.2.7-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.6 + 1.2.7-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 03572875e3a4..1d447283f199 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.6 + 1.2.7-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.6 + 1.2.7-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 281378d587e3..469ab55bdcde 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.2.6 + 1.2.7-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.6 + 1.2.7-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index aa6f79d39462..f5892d5f825a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.6:1.2.6 -grpc-google-iam-v1:1.2.6:1.2.6 +proto-google-iam-v1:1.2.6:1.2.7-SNAPSHOT +grpc-google-iam-v1:1.2.6:1.2.7-SNAPSHOT From a96416b3d1f325ea7c556ab78a0b4e571a5ee2a5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 1 Mar 2022 18:46:29 +0100 Subject: [PATCH 2051/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.6 (#742) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.5` -> `1.2.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.6/compatibility-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.6/confidence-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.6`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​126-httpsgithubcomgoogleapisjava-iamcomparev125v126-2022-03-01) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.5...v1.2.6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e57e666c69f1..660cac94baad 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.2 2.1.4 2.7.4 - 1.2.5 + 1.2.6 1.5.3 1.33.2 1.41.4 From 6323e5027e5d3525743f9b6fa022d8cd7904e8b8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 18:06:15 +0000 Subject: [PATCH 2052/3036] chore(main): release 2.5.6 (#743) :robot: I have created a release *beep* *boop* --- ### [2.5.6](https://github.com/googleapis/java-core/compare/v2.5.5...v2.5.6) (2022-03-01) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.6 ([#742](https://github.com/googleapis/java-core/issues/742)) ([a96416b](https://github.com/googleapis/java-core/commit/a96416b3d1f325ea7c556ab78a0b4e571a5ee2a5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 85e60b3bc1ae..6bd3c6f169a2 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.5.6](https://github.com/googleapis/java-core/compare/v2.5.5...v2.5.6) (2022-03-01) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.6 ([#742](https://github.com/googleapis/java-core/issues/742)) ([474e56c](https://github.com/googleapis/java-core/commit/474e56cca19f9d7b61f62585ee06f1fbdba0ae46)) + ### [2.5.5](https://github.com/googleapis/java-core/compare/v2.5.4...v2.5.5) (2022-02-28) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 765eaaaf2136..d55e6b2e9816 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.6-SNAPSHOT + 2.5.6 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.6-SNAPSHOT + 2.5.6 com.google.cloud google-cloud-core-grpc - 2.5.6-SNAPSHOT + 2.5.6 com.google.cloud google-cloud-core-http - 2.5.6-SNAPSHOT + 2.5.6 com.google.cloud native-image-support - 0.12.6-SNAPSHOT + 0.12.6
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 00f11af47b66..f782d7924741 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.5.6-SNAPSHOT + 2.5.6 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.6-SNAPSHOT + 2.5.6 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 4e08c996bd57..0059f0d9e284 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.5.6-SNAPSHOT + 2.5.6 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.6-SNAPSHOT + 2.5.6 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 645614303e68..f3f6151358ae 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.5.6-SNAPSHOT + 2.5.6 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.6-SNAPSHOT + 2.5.6 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 3e293deaba1a..22b4501ffa0c 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.6-SNAPSHOT + 0.12.6 jar google-cloud-core-parent com.google.cloud - 2.5.6-SNAPSHOT + 2.5.6 diff --git a/java-core/pom.xml b/java-core/pom.xml index 660cac94baad..9b78b8bf3078 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.6-SNAPSHOT + 2.5.6 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 871686f87c1c..785157f1cbad 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.5:2.5.6-SNAPSHOT -native-image-support:0.12.5:0.12.6-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.6:2.5.6 +native-image-support:0.12.6:0.12.6 \ No newline at end of file From 82c8ac160e09f02e7bd85142445af243608d622e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 18:30:36 +0000 Subject: [PATCH 2053/3036] chore(main): release 2.5.7-SNAPSHOT (#744) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index d55e6b2e9816..b66f1077aaac 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.6 + 2.5.7-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.6 + 2.5.7-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.6 + 2.5.7-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.6 + 2.5.7-SNAPSHOT com.google.cloud native-image-support - 0.12.6 + 0.12.7-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f782d7924741..4bf4b64e7a16 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.5.6 + 2.5.7-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.6 + 2.5.7-SNAPSHOT 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 0059f0d9e284..975ac6a77e57 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.5.6 + 2.5.7-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.6 + 2.5.7-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f3f6151358ae..9f3e5eb1a615 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.5.6 + 2.5.7-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.6 + 2.5.7-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 22b4501ffa0c..07d9f36759d3 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.6 + 0.12.7-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.6 + 2.5.7-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 9b78b8bf3078..6e82304dea87 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.6 + 2.5.7-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 785157f1cbad..573a7cb4656a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.6:2.5.6 -native-image-support:0.12.6:0.12.6 \ No newline at end of file +google-cloud-core:2.5.6:2.5.7-SNAPSHOT +native-image-support:0.12.6:0.12.7-SNAPSHOT \ No newline at end of file From 83b5313ca83758fd0522c6b5ef89c53230d1b93f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 22:32:19 +0000 Subject: [PATCH 2054/3036] chore: update github actions (#1361) (#745) * chore: update github actions * chore: update Source-Link: https://github.com/googleapis/synthtool/commit/1622741e6877d4b335b137ac7e07f7f32d4e5af7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a --- java-core/.github/.OwlBot.lock.yaml | 2 +- .../.github/workflows/approve-readme.yaml | 2 +- java-core/.github/workflows/auto-release.yaml | 2 +- java-core/.github/workflows/ci.yaml | 20 +++++++++---------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 9351fdfb9ac8..53941094cf48 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67 + digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a diff --git a/java-core/.github/workflows/approve-readme.yaml b/java-core/.github/workflows/approve-readme.yaml index 1bb182327612..f5fc7d5169eb 100644 --- a/java-core/.github/workflows/approve-readme.yaml +++ b/java-core/.github/workflows/approve-readme.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml index 18e23230d98f..7a106d007edf 100644 --- a/java-core/.github/workflows/auto-release.yaml +++ b/java-core/.github/workflows/auto-release.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-please') steps: - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 6b5e56aaacd1..83ef7f9c2cf3 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -27,8 +27,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -39,8 +39,8 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8 @@ -54,8 +54,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -64,8 +64,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 11 @@ -76,8 +76,8 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8 From 9719f28e5335c914a4d2de82b92ab597abb8c6ab Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 22:44:22 +0000 Subject: [PATCH 2055/3036] chore: update github actions (#1361) (#298) * chore: update github actions * chore: update Source-Link: https://github.com/googleapis/synthtool/commit/1622741e6877d4b335b137ac7e07f7f32d4e5af7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a --- java-iam/.github/.OwlBot.lock.yaml | 2 +- .../.github/workflows/approve-readme.yaml | 2 +- java-iam/.github/workflows/auto-release.yaml | 2 +- java-iam/.github/workflows/ci.yaml | 20 +++++++++---------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 9351fdfb9ac8..53941094cf48 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:387835a1375a0049ec44e02542c844302854c732d8291bdf8e472c0ff70a8f67 + digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a diff --git a/java-iam/.github/workflows/approve-readme.yaml b/java-iam/.github/workflows/approve-readme.yaml index 1bb182327612..f5fc7d5169eb 100644 --- a/java-iam/.github/workflows/approve-readme.yaml +++ b/java-iam/.github/workflows/approve-readme.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml index 18e23230d98f..7a106d007edf 100644 --- a/java-iam/.github/workflows/auto-release.yaml +++ b/java-iam/.github/workflows/auto-release.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest if: contains(github.head_ref, 'release-please') steps: - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 6b5e56aaacd1..83ef7f9c2cf3 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -27,8 +27,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -39,8 +39,8 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8 @@ -54,8 +54,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -64,8 +64,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 11 @@ -76,8 +76,8 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8 From ed84c3bce2c5b03ccdda9217b5eb05f0c919fc08 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 1 Mar 2022 18:26:46 -0500 Subject: [PATCH 2056/3036] chore: remove required dependencies check (#619) --- .../.github/sync-repo-settings.yaml | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 957e3c84c70e..4901c2493ffe 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -15,12 +15,6 @@ branchProtectionRules: - units (8) - units (11) - 'Kokoro - Test: Integration' - - dependencies (8, java-bigqueryconnection) - - dependencies (8, java-storage) - - dependencies (8, java-pubsub) - - dependencies (11, java-bigqueryconnection) - - dependencies (11, java-storage) - - dependencies (11, java-pubsub) - cla/google - OwlBot Post Processor - pattern: java7 @@ -37,16 +31,6 @@ branchProtectionRules: - units (8) - units (11) - 'Kokoro - Test: Integration' - - dependencies (8, java-bigquery) - - dependencies (8, java-bigqueryconnection) - - dependencies (8, java-spanner) - - dependencies (8, java-storage) - - dependencies (8, java-pubsub) - - dependencies (11, java-bigquery) - - dependencies (11, java-bigqueryconnection) - - dependencies (11, java-spanner) - - dependencies (11, java-storage) - - dependencies (11, java-pubsub) - cla/google - pattern: 2.4.x isAdminEnforced: true @@ -61,12 +45,6 @@ branchProtectionRules: - units (8) - units (11) - 'Kokoro - Test: Integration' - - dependencies (8, java-bigqueryconnection) - - dependencies (8, java-storage) - - dependencies (8, java-pubsub) - - dependencies (11, java-bigqueryconnection) - - dependencies (11, java-storage) - - dependencies (11, java-pubsub) - cla/google - OwlBot Post Processor - pattern: 0.20.x @@ -82,12 +60,6 @@ branchProtectionRules: - units (8) - units (11) - 'Kokoro - Test: Integration' - - dependencies (8, java-bigqueryconnection) - - dependencies (8, java-storage) - - dependencies (8, java-pubsub) - - dependencies (11, java-bigqueryconnection) - - dependencies (11, java-storage) - - dependencies (11, java-pubsub) - cla/google permissionRules: - team: yoshi-admins From e3b484be6104837a28dc57d6976a1aa078e5acff Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 15:27:09 -0800 Subject: [PATCH 2057/3036] chore: update github actions (#1361) (#618) * chore: update github actions * chore: update Source-Link: https://github.com/googleapis/synthtool/commit/1622741e6877d4b335b137ac7e07f7f32d4e5af7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a Co-authored-by: Owl Bot --- .../.github/.OwlBot.lock.yaml | 2 +- .../.github/PULL_REQUEST_TEMPLATE.md | 3 +++ .../.github/workflows/approve-readme.yaml | 2 +- .../.github/workflows/ci.yaml | 20 +++++++++---------- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index a8ddd81ae949..53941094cf48 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 + digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a diff --git a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md index c85810012645..f17b29f91b4a 100644 --- a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md +++ b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md @@ -5,3 +5,6 @@ Thank you for opening a Pull Request! Before submitting your PR, there are a few - [ ] Appropriate docs were updated (if necessary) Fixes # ☕️ + +If you write sample code, please follow the [samples format]( +https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). diff --git a/java-shared-dependencies/.github/workflows/approve-readme.yaml b/java-shared-dependencies/.github/workflows/approve-readme.yaml index 1bb182327612..f5fc7d5169eb 100644 --- a/java-shared-dependencies/.github/workflows/approve-readme.yaml +++ b/java-shared-dependencies/.github/workflows/approve-readme.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 6b5e56aaacd1..83ef7f9c2cf3 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -27,8 +27,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -39,8 +39,8 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8 @@ -54,8 +54,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -64,8 +64,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 11 @@ -76,8 +76,8 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8 From 314af26f800a7b759f15a72650f0780a7827cb58 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:27:18 +0100 Subject: [PATCH 2058/3036] deps: update dependency com.google.code.gson:gson to v2.9.0 (#611) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 52f75f57ad5c..a962da7db316 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,7 @@ UTF-8 ${project.artifactId} - 2.8.9 + 2.9.0 1.5.2 1.3.2 1.20 From b6ab8249a3842172f639678a3ebc02ea614a3182 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:30:28 +0100 Subject: [PATCH 2059/3036] deps: update dependency junit:junit to v4.13.2 (#607) --- java-shared-dependencies/dependency-convergence-check/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 086714d028fb..c842daf31a64 100644 --- a/java-shared-dependencies/dependency-convergence-check/pom.xml +++ b/java-shared-dependencies/dependency-convergence-check/pom.xml @@ -69,7 +69,7 @@ junit junit - 4.13.1 + 4.13.2 test
    From 40e168e43ea2f9ebc65a27d969627846ac4e243b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:30:39 +0100 Subject: [PATCH 2060/3036] build(deps): update dependency org.codehaus.mojo:animal-sniffer-annotations to v1.21 (#594) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a962da7db316..a8c9e25465dd 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 2.9.0 1.5.2 1.3.2 - 1.20 + 1.21 0.31.0 3.0.2 2.11.0 From 48ba3512db7cf2d7a81d464bebb50bcfe089d94f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:30:47 +0100 Subject: [PATCH 2061/3036] deps: update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 (#606) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3d7cb939b9ae..e854eb00d87f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.4.0 1.4.0 1.41.2 - 1.33.0 + 1.33.1 1.33.1 1.2.1
    From 823199ef3e63498b44b1ea50a69f0704446dfa1e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:30:54 +0100 Subject: [PATCH 2062/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.2.7 (#604) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e854eb00d87f..d599663949c4 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 6204729ab4ff..4d9f4db31d39 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a8c9e25465dd..73add04027e2 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 97a662c54f21..0bbcaa3e9b32 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7
    From cc4c38ddff8e03d7399899efe6d0c971a8a20962 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:31:06 +0100 Subject: [PATCH 2063/3036] deps: update dependency com.google.api:api-common to v2.1.4 (#605) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d599663949c4..178ce9363173 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 31.0.1-jre 3.19.3 - 2.1.3 + 2.1.4 2.7.2 2.4.0 1.4.0 From 3fe6f226e96a6ad3bb3cb62b20a67e888302aa1f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:32:18 +0100 Subject: [PATCH 2064/3036] deps: update iam.version to v1.2.6 (#598) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 178ce9363173..01fd7d689bfe 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.2 1.33.1 1.33.1 - 1.2.1 + 1.2.6
    From 832effb6ea88bc441816fc4c2488cd49fc4105d0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:36:08 +0100 Subject: [PATCH 2065/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.5.3 (#614) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 01fd7d689bfe..736f562b07e3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.1.4 2.7.2 2.4.0 - 1.4.0 + 1.5.3 1.41.2 1.33.1 1.33.1 From 6da6077b0578cdbbc5acc49d6180083f5fdcf87f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:36:34 +0100 Subject: [PATCH 2066/3036] deps: update dependency io.grpc:grpc-bom to v1.44.1 (#613) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 736f562b07e3..61ecec1e77c1 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.44.0 + 1.44.1 2.11.0 1.1.0 31.0.1-jre From 0112b12f7fb769ddb5e07208ff4704f441d1ded3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:38:12 +0100 Subject: [PATCH 2067/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.2 (#602) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 61ecec1e77c1..51bbd1bae073 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.5.3 1.41.2 1.33.1 - 1.33.1 + 1.33.2 1.2.6 From 094f5e0cfb3f8644c486c69d0a984ebbdcd6ea41 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:38:28 +0100 Subject: [PATCH 2068/3036] deps: update dependency org.checkerframework:checker-qual to v3.21.3 (#596) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 73add04027e2..ba1b3b394497 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.21.1 + 3.21.3
    From cd589529ffe2b3af2af316fdedfa4dc8406341a4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:38:48 +0100 Subject: [PATCH 2069/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.19.4 (#593) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 51bbd1bae073..3755280cc90b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.11.0 1.1.0 31.0.1-jre - 3.19.3 + 3.19.4 2.1.4 2.7.2 2.4.0 From 1dcfd35ff63bb324f2bfd7cb8f6d9f31ab9a0842 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:39:21 +0100 Subject: [PATCH 2070/3036] deps: update google.common-protos.version to v2.7.4 (#603) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3755280cc90b..c0e270c98490 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.0.1-jre 3.19.4 2.1.4 - 2.7.2 + 2.7.4 2.4.0 1.5.3 1.41.2 From 4be7daed05cc16f53cfd72f6be570c0207c6f801 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:44:18 +0100 Subject: [PATCH 2071/3036] deps: update gax.version to v2.12.2 (#592) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.11.0` -> `2.12.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.12.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.12.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.12.2/compatibility-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.12.2/confidence-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.11.0` -> `2.12.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/compatibility-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.12.2/confidence-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.12.2`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2122-httpsgithubcomgoogleapisgax-javacomparev2121v2122-2022-02-09) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.12.1...v2.12.2) ### [`v2.12.1`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2121-httpsgithubcomgoogleapisgax-javacomparev2120v2121-2022-02-09) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.12.0...v2.12.1) ### [`v2.12.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2120-httpsgithubcomgoogleapisgax-javacomparev2110v2120-2022-01-28) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.11.0...v2.12.0) ##### Features - add REST interceptors infrastructure ([#​1607](https://togithub.com/googleapis/gax-java/issues/1607)) ([0572eed](https://togithub.com/googleapis/gax-java/commit/0572eed8aa29879c74794b22e8ae79e414dd5821))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c0e270c98490..cafd92b97a01 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.44.1 - 2.11.0 + 2.12.2 1.1.0 31.0.1-jre 3.19.4 From 9725a9c12773e2e7a931e5a3fa5dbe4a49da1990 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:48:17 +0100 Subject: [PATCH 2072/3036] deps: update google.core.version (#599) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.4.0` -> `2.5.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.5.6/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.4.0` -> `2.5.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.5.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.5.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.5.5/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.5.5/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.5.6`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​256-httpsgithubcomgoogleapisjava-corecomparev255v256-2022-03-01) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.5...v2.5.6) ### [`v2.5.5`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​255-httpsgithubcomgoogleapisjava-corecomparev254v255-2022-02-28) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.4...v2.5.5) ### [`v2.5.4`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​254-httpsgithubcomgoogleapisjava-corecomparev253v254-2022-02-11) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.3...v2.5.4) ### [`v2.5.3`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​253-httpsgithubcomgoogleapisjava-corecomparev252v253-2022-02-10) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.2...v2.5.3) ### [`v2.5.2`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​252-httpsgithubcomgoogleapisjava-corecomparev251v252-2022-02-09) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.1...v2.5.2) ### [`v2.5.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​251-httpsgithubcomgoogleapisjava-corecomparev250v251-2022-02-08) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.5.0...v2.5.1) ### [`v2.5.0`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​250-httpsgithubcomgoogleapisjava-corecomparev240v250-2022-02-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.4.0...v2.5.0) ##### Features - add limit support to ReadChannel ([#​688](https://togithub.com/googleapis/java-core/issues/688)) ([476109e](https://togithub.com/googleapis/java-core/commit/476109e1943c1a9561cc636ffc64ab8cdd1888f9)) ##### Bug Fixes - **java:** Initialize AsyncSSLPrivateKeyMethod (a grpc netty class) at run-time ([#​702](https://togithub.com/googleapis/java-core/issues/702)) ([24146a3](https://togithub.com/googleapis/java-core/commit/24146a35a10ae06238de9556c24dab5dbd3bcaff)) ##### Dependencies - update dependency com.google.api:gax-bom to v2.12.0 ([#​698](https://togithub.com/googleapis/java-core/issues/698)) ([c10aab8](https://togithub.com/googleapis/java-core/commit/c10aab8a57ff0aad07a700540085e2ed7521b1a1)) - update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#​699](https://togithub.com/googleapis/java-core/issues/699)) ([5d163f5](https://togithub.com/googleapis/java-core/commit/5d163f591547cd8e0e508b9c824a17da2074b264))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index cafd92b97a01..06043b7b2430 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.4 2.1.4 2.7.4 - 2.4.0 + 2.5.5 1.5.3 1.41.2 1.33.1 From 7373d158fe4aaaf2e655456649dfd03c52efbac2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 00:50:11 +0100 Subject: [PATCH 2073/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.4 (#608) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.2` -> `1.41.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.4/compatibility-slim/1.41.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.4/confidence-slim/1.41.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.4`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1414-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1413v1414-2022-02-11) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.3...v1.41.4) ### [`v1.41.3`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1413-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1412v1413-2022-02-09) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.2...v1.41.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 06043b7b2430..eccbb6499631 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.7.4 2.5.5 1.5.3 - 1.41.2 + 1.41.4 1.33.1 1.33.2 1.2.6 From 2027c21988750027d061baa0291c10918dbf41b9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 01:03:05 +0100 Subject: [PATCH 2074/3036] deps: update dependency com.google.cloud:google-cloud-core to v2.5.6 (#621) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index eccbb6499631..00eeb1ad4f82 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.4 2.1.4 2.7.4 - 2.5.5 + 2.5.6 1.5.3 1.41.4 1.33.1 From bd92e13cd84febb1dc6c8c369876af836bff2f21 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 16:34:59 -0800 Subject: [PATCH 2075/3036] chore(main): release 2.8.0 (#620) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 21 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 31 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 5320b813cb7d..c6534f658a61 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [2.8.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.7.0...v2.8.0) (2022-03-02) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#602](https://github.com/googleapis/java-shared-dependencies/issues/602)) ([85b132f](https://github.com/googleapis/java-shared-dependencies/commit/85b132f5830772646025b6a9fbbb970a941b86b5)) +* update dependency com.google.api:api-common to v2.1.4 ([#605](https://github.com/googleapis/java-shared-dependencies/issues/605)) ([ca7d49a](https://github.com/googleapis/java-shared-dependencies/commit/ca7d49aee26b6d90abd2afd61c20861d2307fe9c)) +* update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#614](https://github.com/googleapis/java-shared-dependencies/issues/614)) ([e6413f3](https://github.com/googleapis/java-shared-dependencies/commit/e6413f3b1be78473ace7085c344eda2d78cdf01a)) +* update dependency com.google.cloud:google-cloud-core to v2.5.6 ([#621](https://github.com/googleapis/java-shared-dependencies/issues/621)) ([3d5669f](https://github.com/googleapis/java-shared-dependencies/commit/3d5669f215689dd2df71200ffe37d5a9d385cda8)) +* update dependency com.google.code.gson:gson to v2.9.0 ([#611](https://github.com/googleapis/java-shared-dependencies/issues/611)) ([f59c28d](https://github.com/googleapis/java-shared-dependencies/commit/f59c28d8cd30ada1237f7722135ba148dce6315e)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#608](https://github.com/googleapis/java-shared-dependencies/issues/608)) ([f9a4f23](https://github.com/googleapis/java-shared-dependencies/commit/f9a4f23d3a32148ac59e53eaae6558ccbceca12c)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#606](https://github.com/googleapis/java-shared-dependencies/issues/606)) ([3882494](https://github.com/googleapis/java-shared-dependencies/commit/3882494770d48fcc02ed19088aa06612a8e440eb)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#593](https://github.com/googleapis/java-shared-dependencies/issues/593)) ([1e155bf](https://github.com/googleapis/java-shared-dependencies/commit/1e155bfc957bbb7e25d2e0994cdecaa81843bdc5)) +* update dependency io.grpc:grpc-bom to v1.44.1 ([#613](https://github.com/googleapis/java-shared-dependencies/issues/613)) ([3038a2c](https://github.com/googleapis/java-shared-dependencies/commit/3038a2c86cd20c91b65f2d7926eeb739147a68db)) +* update dependency junit:junit to v4.13.2 ([#607](https://github.com/googleapis/java-shared-dependencies/issues/607)) ([987e617](https://github.com/googleapis/java-shared-dependencies/commit/987e61796c7a093e005fe8832cf39275c391b2c1)) +* update dependency org.checkerframework:checker-qual to v3.21.3 ([#596](https://github.com/googleapis/java-shared-dependencies/issues/596)) ([ac5083c](https://github.com/googleapis/java-shared-dependencies/commit/ac5083cd010924dc128f041c2cdbab20166a6bf0)) +* update gax.version to v2.12.2 ([#592](https://github.com/googleapis/java-shared-dependencies/issues/592)) ([713ff8d](https://github.com/googleapis/java-shared-dependencies/commit/713ff8dd94f939c417524616bc47c771a3fbe0cf)) +* update google.common-protos.version to v2.7.4 ([#603](https://github.com/googleapis/java-shared-dependencies/issues/603)) ([bb9b4c7](https://github.com/googleapis/java-shared-dependencies/commit/bb9b4c7e39552cc73b3b9d4c826b26e8cb74459f)) +* update google.core.version ([#599](https://github.com/googleapis/java-shared-dependencies/issues/599)) ([327d0df](https://github.com/googleapis/java-shared-dependencies/commit/327d0df9b57203c0d4f426de0380770d3d7910d6)) +* update iam.version to v1.2.6 ([#598](https://github.com/googleapis/java-shared-dependencies/issues/598)) ([2801439](https://github.com/googleapis/java-shared-dependencies/commit/280143964c7c3b93a8d7f67215ba2cc74ffce761)) + ## [2.7.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.6.0...v2.7.0) (2022-01-28) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index c842daf31a64..b505e55edb43 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 - 2.7.1-SNAPSHOT + 2.8.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.7.1-SNAPSHOT + 2.8.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 00eeb1ad4f82..2e1d52d60c91 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 - 2.7.1-SNAPSHOT + 2.8.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4d9f4db31d39..48c6ab58d688 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 - 2.7.1-SNAPSHOT + 2.8.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.7.1-SNAPSHOT + 2.8.0 pom import com.google.cloud third-party-dependencies - 2.7.1-SNAPSHOT + 2.8.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ba1b3b394497..ae2743dc6afa 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 - 2.7.1-SNAPSHOT + 2.8.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 0bbcaa3e9b32..d090fdf369c4 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 - 2.7.1-SNAPSHOT + 2.8.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.7.1-SNAPSHOT + 2.8.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index e454e46974b8..da7da057dac7 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.7.0:2.7.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.8.0:2.8.0 \ No newline at end of file From 2284ad11e53016325c912583e5c442d0379f5133 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 2 Mar 2022 19:16:40 +0100 Subject: [PATCH 2076/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 (#299) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.7.0` -> `2.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.8.0/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.8.0/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.8.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​280-httpsgithubcomgoogleapisjava-shared-dependenciescomparev270v280-2022-03-02) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.7.0...v2.8.0) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#​602](https://togithub.com/googleapis/java-shared-dependencies/issues/602)) ([85b132f](https://togithub.com/googleapis/java-shared-dependencies/commit/85b132f5830772646025b6a9fbbb970a941b86b5)) - update dependency com.google.api:api-common to v2.1.4 ([#​605](https://togithub.com/googleapis/java-shared-dependencies/issues/605)) ([ca7d49a](https://togithub.com/googleapis/java-shared-dependencies/commit/ca7d49aee26b6d90abd2afd61c20861d2307fe9c)) - update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#​614](https://togithub.com/googleapis/java-shared-dependencies/issues/614)) ([e6413f3](https://togithub.com/googleapis/java-shared-dependencies/commit/e6413f3b1be78473ace7085c344eda2d78cdf01a)) - update dependency com.google.cloud:google-cloud-core to v2.5.6 ([#​621](https://togithub.com/googleapis/java-shared-dependencies/issues/621)) ([3d5669f](https://togithub.com/googleapis/java-shared-dependencies/commit/3d5669f215689dd2df71200ffe37d5a9d385cda8)) - update dependency com.google.code.gson:gson to v2.9.0 ([#​611](https://togithub.com/googleapis/java-shared-dependencies/issues/611)) ([f59c28d](https://togithub.com/googleapis/java-shared-dependencies/commit/f59c28d8cd30ada1237f7722135ba148dce6315e)) - update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#​608](https://togithub.com/googleapis/java-shared-dependencies/issues/608)) ([f9a4f23](https://togithub.com/googleapis/java-shared-dependencies/commit/f9a4f23d3a32148ac59e53eaae6558ccbceca12c)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#​606](https://togithub.com/googleapis/java-shared-dependencies/issues/606)) ([3882494](https://togithub.com/googleapis/java-shared-dependencies/commit/3882494770d48fcc02ed19088aa06612a8e440eb)) - update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#​593](https://togithub.com/googleapis/java-shared-dependencies/issues/593)) ([1e155bf](https://togithub.com/googleapis/java-shared-dependencies/commit/1e155bfc957bbb7e25d2e0994cdecaa81843bdc5)) - update dependency io.grpc:grpc-bom to v1.44.1 ([#​613](https://togithub.com/googleapis/java-shared-dependencies/issues/613)) ([3038a2c](https://togithub.com/googleapis/java-shared-dependencies/commit/3038a2c86cd20c91b65f2d7926eeb739147a68db)) - update dependency junit:junit to v4.13.2 ([#​607](https://togithub.com/googleapis/java-shared-dependencies/issues/607)) ([987e617](https://togithub.com/googleapis/java-shared-dependencies/commit/987e61796c7a093e005fe8832cf39275c391b2c1)) - update dependency org.checkerframework:checker-qual to v3.21.3 ([#​596](https://togithub.com/googleapis/java-shared-dependencies/issues/596)) ([ac5083c](https://togithub.com/googleapis/java-shared-dependencies/commit/ac5083cd010924dc128f041c2cdbab20166a6bf0)) - update gax.version to v2.12.2 ([#​592](https://togithub.com/googleapis/java-shared-dependencies/issues/592)) ([713ff8d](https://togithub.com/googleapis/java-shared-dependencies/commit/713ff8dd94f939c417524616bc47c771a3fbe0cf)) - update google.common-protos.version to v2.7.4 ([#​603](https://togithub.com/googleapis/java-shared-dependencies/issues/603)) ([bb9b4c7](https://togithub.com/googleapis/java-shared-dependencies/commit/bb9b4c7e39552cc73b3b9d4c826b26e8cb74459f)) - update google.core.version ([#​599](https://togithub.com/googleapis/java-shared-dependencies/issues/599)) ([327d0df](https://togithub.com/googleapis/java-shared-dependencies/commit/327d0df9b57203c0d4f426de0380770d3d7910d6)) - update iam.version to v1.2.6 ([#​598](https://togithub.com/googleapis/java-shared-dependencies/issues/598)) ([2801439](https://togithub.com/googleapis/java-shared-dependencies/commit/280143964c7c3b93a8d7f67215ba2cc74ffce761))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1d447283f199..49212b9e6fd0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.7.0 + 2.8.0 pom import From 311fca67bb31a772c1b56fdfb6892ddcc7cebd19 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 2 Mar 2022 18:32:43 +0000 Subject: [PATCH 2077/3036] chore(main): release 1.2.7 (#300) :robot: I have created a release *beep* *boop* --- ### [1.2.7](https://github.com/googleapis/java-iam/compare/v1.2.6...v1.2.7) (2022-03-02) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#299](https://github.com/googleapis/java-iam/issues/299)) ([2284ad1](https://github.com/googleapis/java-iam/commit/2284ad11e53016325c912583e5c442d0379f5133)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index b22bda474dcf..6f0d1333424e 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.7](https://github.com/googleapis/java-iam/compare/v1.2.6...v1.2.7) (2022-03-02) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.8.0 ([#299](https://github.com/googleapis/java-iam/issues/299)) ([6cf3f84](https://github.com/googleapis/java-iam/commit/6cf3f841fff069816b02e40e98b4dc22ebfd06e5)) + ### [1.2.6](https://github.com/googleapis/java-iam/compare/v1.2.5...v1.2.6) (2022-03-01) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 589fa25abe2a..3356ef8e62ee 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.2.7-SNAPSHOT + 1.2.7 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.7-SNAPSHOT + 1.2.7 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 49212b9e6fd0..068b737e13c8 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.7-SNAPSHOT + 1.2.7 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.7-SNAPSHOT + 1.2.7 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 469ab55bdcde..180f2ef30064 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.2.7-SNAPSHOT + 1.2.7 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.7-SNAPSHOT + 1.2.7 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index f5892d5f825a..30af4a046611 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.6:1.2.7-SNAPSHOT -grpc-google-iam-v1:1.2.6:1.2.7-SNAPSHOT +proto-google-iam-v1:1.2.7:1.2.7 +grpc-google-iam-v1:1.2.7:1.2.7 From 66a68dabc0e4ea950454458b4ceaa23d92766635 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 2 Mar 2022 19:20:29 +0000 Subject: [PATCH 2078/3036] chore(main): release 1.2.8-SNAPSHOT (#301) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 3356ef8e62ee..de1ea310f76b 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.2.7 + 1.2.8-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.7 + 1.2.8-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 068b737e13c8..84811afe5d09 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.7 + 1.2.8-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.7 + 1.2.8-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 180f2ef30064..2768f1f82de0 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.2.7 + 1.2.8-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.7 + 1.2.8-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 30af4a046611..64787cd53c6a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.7:1.2.7 -grpc-google-iam-v1:1.2.7:1.2.7 +proto-google-iam-v1:1.2.7:1.2.8-SNAPSHOT +grpc-google-iam-v1:1.2.7:1.2.8-SNAPSHOT From 3ee9dc34b6b21332bef3d51bbefbfb1bb5e7fc47 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 02:44:23 +0000 Subject: [PATCH 2079/3036] chore: update java template (#1367) (#749) * chore: update java template * chore: fix tests * chore: fix tests * chore: update project Source-Link: https://github.com/googleapis/synthtool/commit/1155a97fed1c195d10ad406d483bc8ac2507f1d7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/build.bat | 30 +++++++++++------------ java-core/.kokoro/nightly/integration.cfg | 4 +-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 53941094cf48..426cf83e2ec6 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a + digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa diff --git a/java-core/.kokoro/build.bat b/java-core/.kokoro/build.bat index cc602c9eba80..067cf4a4c489 100644 --- a/java-core/.kokoro/build.bat +++ b/java-core/.kokoro/build.bat @@ -1,18 +1,18 @@ +:: Copyright 2022 Google LLC +:: +:: Licensed under the Apache License, Version 2.0 (the "License"); +:: you may not use this file except in compliance with the License. +:: You may obtain a copy of the License at +:: +:: http://www.apache.org/licenses/LICENSE-2.0 +:: +:: Unless required by applicable law or agreed to in writing, software +:: distributed under the License is distributed on an "AS IS" BASIS, +:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +:: See the License for the specific language governing permissions and +:: limitations under the License. +:: Github action job to test core java library features on +:: downstream client libraries before they are released. :: See documentation in type-shell-output.bat -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg index e51c7b4c6c11..a2907a257b2b 100644 --- a/java-core/.kokoro/nightly/integration.cfg +++ b/java-core/.kokoro/nightly/integration.cfg @@ -13,12 +13,12 @@ env_vars: { # TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" } env_vars: { key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" } env_vars: { From 714c708c993c45d0342baf5f8be56cba57b8a741 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 02:56:17 +0000 Subject: [PATCH 2080/3036] chore: update java template (#1367) (#303) * chore: update java template * chore: fix tests * chore: fix tests * chore: update project Source-Link: https://github.com/googleapis/synthtool/commit/1155a97fed1c195d10ad406d483bc8ac2507f1d7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/build.bat | 30 ++++++++++++------------ java-iam/.kokoro/nightly/integration.cfg | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 53941094cf48..426cf83e2ec6 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a + digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa diff --git a/java-iam/.kokoro/build.bat b/java-iam/.kokoro/build.bat index cc602c9eba80..067cf4a4c489 100644 --- a/java-iam/.kokoro/build.bat +++ b/java-iam/.kokoro/build.bat @@ -1,18 +1,18 @@ +:: Copyright 2022 Google LLC +:: +:: Licensed under the Apache License, Version 2.0 (the "License"); +:: you may not use this file except in compliance with the License. +:: You may obtain a copy of the License at +:: +:: http://www.apache.org/licenses/LICENSE-2.0 +:: +:: Unless required by applicable law or agreed to in writing, software +:: distributed under the License is distributed on an "AS IS" BASIS, +:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +:: See the License for the specific language governing permissions and +:: limitations under the License. +:: Github action job to test core java library features on +:: downstream client libraries before they are released. :: See documentation in type-shell-output.bat -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-iam/.kokoro/nightly/integration.cfg b/java-iam/.kokoro/nightly/integration.cfg index e51c7b4c6c11..a2907a257b2b 100644 --- a/java-iam/.kokoro/nightly/integration.cfg +++ b/java-iam/.kokoro/nightly/integration.cfg @@ -13,12 +13,12 @@ env_vars: { # TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" } env_vars: { key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" } env_vars: { From 13dcc209667b067a010d5d8a65eb5df6e548c362 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Mar 2022 04:33:07 +0100 Subject: [PATCH 2081/3036] deps: update actions/checkout action to v3 (#297) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update actions/checkout action to v3 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot From 96deaa6f80be29c2091a45dd211b7aa1db78bbc3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Mar 2022 04:48:13 +0100 Subject: [PATCH 2082/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.7 (#748) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.6` -> `1.2.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.7/compatibility-slim/1.2.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.7/confidence-slim/1.2.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.7`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​127-httpsgithubcomgoogleapisjava-iamcomparev126v127-2022-03-02) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.6...v1.2.7)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6e82304dea87..30f15341b633 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.2 2.1.4 2.7.4 - 1.2.6 + 1.2.7 1.5.3 1.33.2 1.41.4 From 5bbee0bc7454fafaa55a64eff7873947383554cb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 04:12:22 +0000 Subject: [PATCH 2083/3036] chore(main): release 2.5.7 (#750) :robot: I have created a release *beep* *boop* --- ### [2.5.7](https://github.com/googleapis/java-core/compare/v2.5.6...v2.5.7) (2022-03-08) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.7 ([#748](https://github.com/googleapis/java-core/issues/748)) ([96deaa6](https://github.com/googleapis/java-core/commit/96deaa6f80be29c2091a45dd211b7aa1db78bbc3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 6bd3c6f169a2..50b4f68ab6c4 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.5.7](https://github.com/googleapis/java-core/compare/v2.5.6...v2.5.7) (2022-03-08) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.7 ([#748](https://github.com/googleapis/java-core/issues/748)) ([91cc595](https://github.com/googleapis/java-core/commit/91cc595c7df73af8e71e4feeb663c973e6bcc8e5)) + ### [2.5.6](https://github.com/googleapis/java-core/compare/v2.5.5...v2.5.6) (2022-03-01) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b66f1077aaac..66f342a0321e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.7-SNAPSHOT + 2.5.7 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.7-SNAPSHOT + 2.5.7 com.google.cloud google-cloud-core-grpc - 2.5.7-SNAPSHOT + 2.5.7 com.google.cloud google-cloud-core-http - 2.5.7-SNAPSHOT + 2.5.7 com.google.cloud native-image-support - 0.12.7-SNAPSHOT + 0.12.7
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4bf4b64e7a16..cf4b5051e065 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.5.7-SNAPSHOT + 2.5.7 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.7-SNAPSHOT + 2.5.7 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 975ac6a77e57..9c7ad9e9b916 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.5.7-SNAPSHOT + 2.5.7 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.7-SNAPSHOT + 2.5.7 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 9f3e5eb1a615..2fc9bf0dfaf4 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.5.7-SNAPSHOT + 2.5.7 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.7-SNAPSHOT + 2.5.7 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 07d9f36759d3..c4c140a939b4 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.7-SNAPSHOT + 0.12.7 jar google-cloud-core-parent com.google.cloud - 2.5.7-SNAPSHOT + 2.5.7 diff --git a/java-core/pom.xml b/java-core/pom.xml index 30f15341b633..93682cfaf0f7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.7-SNAPSHOT + 2.5.7 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 573a7cb4656a..9950d4fc3f13 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.6:2.5.7-SNAPSHOT -native-image-support:0.12.6:0.12.7-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.7:2.5.7 +native-image-support:0.12.7:0.12.7 \ No newline at end of file From 4bbf4f2628864c2775e4524079cfbc3533f36dcd Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 04:14:22 +0000 Subject: [PATCH 2084/3036] chore(main): release 1.2.8 (#304) :robot: I have created a release *beep* *boop* --- ### [1.2.8](https://github.com/googleapis/java-iam/compare/v1.2.7...v1.2.8) (2022-03-08) ### Dependencies * update actions/checkout action to v3 ([#297](https://github.com/googleapis/java-iam/issues/297)) ([13dcc20](https://github.com/googleapis/java-iam/commit/13dcc209667b067a010d5d8a65eb5df6e548c362)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 6f0d1333424e..173a50787ee5 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.8](https://github.com/googleapis/java-iam/compare/v1.2.7...v1.2.8) (2022-03-08) + + +### Dependencies + +* update actions/checkout action to v3 ([#297](https://github.com/googleapis/java-iam/issues/297)) ([868362a](https://github.com/googleapis/java-iam/commit/868362ad7b801e79409e2415e51aee858055334c)) + ### [1.2.7](https://github.com/googleapis/java-iam/compare/v1.2.6...v1.2.7) (2022-03-02) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index de1ea310f76b..3ef50de06f03 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.2.8-SNAPSHOT + 1.2.8 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.8-SNAPSHOT + 1.2.8 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 84811afe5d09..423d5643289c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.8-SNAPSHOT + 1.2.8 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.8-SNAPSHOT + 1.2.8 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 2768f1f82de0..6b0a8cc26925 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.2.8-SNAPSHOT + 1.2.8 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.8-SNAPSHOT + 1.2.8 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 64787cd53c6a..20a89f8dc3cd 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.7:1.2.8-SNAPSHOT -grpc-google-iam-v1:1.2.7:1.2.8-SNAPSHOT +proto-google-iam-v1:1.2.8:1.2.8 +grpc-google-iam-v1:1.2.8:1.2.8 From 2be2bed12b734a76b022355cd690bb08833d9270 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 04:18:25 +0000 Subject: [PATCH 2085/3036] chore(main): release 2.5.8-SNAPSHOT (#751) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 66f342a0321e..515872f70d4f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.7 + 2.5.8-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.7 + 2.5.8-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.7 + 2.5.8-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.7 + 2.5.8-SNAPSHOT com.google.cloud native-image-support - 0.12.7 + 0.12.8-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cf4b5051e065..5e1bffbe10cf 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.5.7 + 2.5.8-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.7 + 2.5.8-SNAPSHOT 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 9c7ad9e9b916..d1d019d8f6ee 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.5.7 + 2.5.8-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.7 + 2.5.8-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2fc9bf0dfaf4..c89134dd3d88 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.5.7 + 2.5.8-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.7 + 2.5.8-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index c4c140a939b4..e396dede2b05 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.7 + 0.12.8-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.7 + 2.5.8-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 93682cfaf0f7..39101ce35fb1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.7 + 2.5.8-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9950d4fc3f13..2bffaff3ba90 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.7:2.5.7 -native-image-support:0.12.7:0.12.7 \ No newline at end of file +google-cloud-core:2.5.7:2.5.8-SNAPSHOT +native-image-support:0.12.7:0.12.8-SNAPSHOT \ No newline at end of file From 03bc32f1d7854605f6067126d8abd919fd22a7fd Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 04:28:25 +0000 Subject: [PATCH 2086/3036] chore(main): release 1.2.9-SNAPSHOT (#305) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 3ef50de06f03..c307d2e9bf1f 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.2.8 + 1.2.9-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.8 + 1.2.9-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 423d5643289c..0cd4190b12dc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.8 + 1.2.9-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.8 + 1.2.9-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 6b0a8cc26925..2efba6842196 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.2.8 + 1.2.9-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.8 + 1.2.9-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 20a89f8dc3cd..9e920df7fcd7 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.8:1.2.8 -grpc-google-iam-v1:1.2.8:1.2.8 +proto-google-iam-v1:1.2.8:1.2.9-SNAPSHOT +grpc-google-iam-v1:1.2.8:1.2.9-SNAPSHOT From 06a4fa6e0e107cc31070ef0700b03fa3bdb343ec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Mar 2022 21:26:24 +0100 Subject: [PATCH 2087/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.8 (#753) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.7` -> `1.2.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.8/compatibility-slim/1.2.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.8/confidence-slim/1.2.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.8`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​128-httpsgithubcomgoogleapisjava-iamcomparev127v128-2022-03-08) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.7...v1.2.8)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 39101ce35fb1..9a3f29a7448d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.2 2.1.4 2.7.4 - 1.2.7 + 1.2.8 1.5.3 1.33.2 1.41.4 From 2eb436795f222ef4e7bc091e28cae2db0d0dcbec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Mar 2022 21:26:38 +0100 Subject: [PATCH 2088/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.0 (#752) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.7` -> `1.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/compatibility-slim/1.2.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/confidence-slim/1.2.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.3.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​130-httpsgithubcomgoogleapisjava-shared-configcomparev127v130-2022-03-07) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.7...v1.3.0) ##### Features - increase IT timeout from 20 to 60 mins ([#​440](https://togithub.com/googleapis/java-shared-config/issues/440)) ([a4427bc](https://togithub.com/googleapis/java-shared-config/commit/a4427bceebd0624e23f0b02bb24d7ed46ea4b3a6)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.6 ([#​423](https://togithub.com/googleapis/java-shared-config/issues/423)) ([9a0cb79](https://togithub.com/googleapis/java-shared-config/commit/9a0cb79896d5c97dc3c5648a6740d53eb9ada673)) - update dependency com.puppycrawl.tools:checkstyle to v9.3 ([#​415](https://togithub.com/googleapis/java-shared-config/issues/415)) ([9e2d3fd](https://togithub.com/googleapis/java-shared-config/commit/9e2d3fd8bd42bc210dae5798f7d5dfe950c29f51)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.10 ([#​429](https://togithub.com/googleapis/java-shared-config/issues/429)) ([0355f29](https://togithub.com/googleapis/java-shared-config/commit/0355f2988ebcff19615b72bc65523555e4844523)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.10 ([#​430](https://togithub.com/googleapis/java-shared-config/issues/430)) ([16984d2](https://togithub.com/googleapis/java-shared-config/commit/16984d25a84aa6a8daf2a0925ea57cd0d3f0ee24)) ##### [1.2.7](https://togithub.com/googleapis/java-shared-config/compare/v1.2.6...v1.2.7) (2022-02-04) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.0 ([#​414](https://togithub.com/googleapis/java-shared-config/issues/414)) ([2133cc0](https://togithub.com/googleapis/java-shared-config/commit/2133cc093efd8420e352274f3eab09de819ff796)) ##### [1.2.6](https://togithub.com/googleapis/java-shared-config/compare/v1.2.5...v1.2.6) (2022-01-19) ##### Bug Fixes - library should released as 1.2.6 ([#​408](https://togithub.com/googleapis/java-shared-config/issues/408)) ([4972daa](https://togithub.com/googleapis/java-shared-config/commit/4972daa60467797566c4b043cebd322577b8eb73)) ##### [1.2.5](https://togithub.com/googleapis/java-shared-config/compare/v1.2.4...v1.2.5) (2022-01-11) ##### Bug Fixes - **java:** Enable unit tests in generated libraries for native image testing ([#​394](https://togithub.com/googleapis/java-shared-config/issues/394)) ([a453b9f](https://togithub.com/googleapis/java-shared-config/commit/a453b9f141c7555f2fd5333eb17d223410ab66eb)) ##### [1.2.4](https://www.github.com/googleapis/java-shared-config/compare/v1.2.3...v1.2.4) (2022-01-06) ##### Dependencies - revert dependency com.google.googlejavaformat:google-java-format to v1.7 ([#​391](https://www.togithub.com/googleapis/java-shared-config/issues/391)) ([17077fb](https://www.github.com/googleapis/java-shared-config/commit/17077fb1a58eef7098dc5e1e9b2c78a63c5c11e1)) ##### [1.2.3](https://www.github.com/googleapis/java-shared-config/compare/v1.2.2...v1.2.3) (2022-01-04) ##### Bug Fixes - **java:** add -ntp flag to native image testing command ([#​1299](https://www.togithub.com/googleapis/java-shared-config/issues/1299)) ([#​376](https://www.togithub.com/googleapis/java-shared-config/issues/376)) ([50e7a10](https://www.github.com/googleapis/java-shared-config/commit/50e7a10a8dca0505fd831e3dd929577d2f82b011)) - **java:** Only enable integration tests for native image testing ([#​375](https://www.togithub.com/googleapis/java-shared-config/issues/375)) ([663f421](https://www.github.com/googleapis/java-shared-config/commit/663f421de342afcba24703079f778738045d3ff2)) - **java:** Pass missing integration test flags to native image test commands ([#​1309](https://www.togithub.com/googleapis/java-shared-config/issues/1309)) ([#​383](https://www.togithub.com/googleapis/java-shared-config/issues/383)) ([b17b44e](https://www.github.com/googleapis/java-shared-config/commit/b17b44e37fe44ba61616417189c6b2271f3a4d18)) ##### Dependencies - update auto-value-annotation.version to v1.9 ([#​378](https://www.togithub.com/googleapis/java-shared-config/issues/378)) ([5e1cd0e](https://www.github.com/googleapis/java-shared-config/commit/5e1cd0e39910548ec4eb6639da979c3b66411503)) - update dependency com.google.googlejavaformat:google-java-format to v1.13.0 ([#​361](https://www.togithub.com/googleapis/java-shared-config/issues/361)) ([095d60a](https://www.github.com/googleapis/java-shared-config/commit/095d60a061a574dcf84b9fcf26dff48617a306b1)) - update dependency com.puppycrawl.tools:checkstyle to v9.2 ([#​366](https://www.togithub.com/googleapis/java-shared-config/issues/366)) ([061df67](https://www.github.com/googleapis/java-shared-config/commit/061df676d8b2fef5bbb0ce9661d3c96fcb57e73a)) - update dependency com.puppycrawl.tools:checkstyle to v9.2.1 ([#​382](https://www.togithub.com/googleapis/java-shared-config/issues/382)) ([1a182c5](https://www.github.com/googleapis/java-shared-config/commit/1a182c52e7c5431875296940d68c9bdfcf74be00)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.9 ([#​379](https://www.togithub.com/googleapis/java-shared-config/issues/379)) ([0a2b05f](https://www.github.com/googleapis/java-shared-config/commit/0a2b05ff7f649331efbc4dd540705da10691a2f1)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.8 ([#​372](https://www.togithub.com/googleapis/java-shared-config/issues/372)) ([6fe795e](https://www.github.com/googleapis/java-shared-config/commit/6fe795ede39575656ef1609bf7aac28c1d170976)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.9 ([#​380](https://www.togithub.com/googleapis/java-shared-config/issues/380)) ([f2efad5](https://www.github.com/googleapis/java-shared-config/commit/f2efad585b431fe186c7900a8171a999c689405b)) - update dependency org.junit.vintage:junit-vintage-engine to v5.8.2 ([#​365](https://www.togithub.com/googleapis/java-shared-config/issues/365)) ([604058d](https://www.github.com/googleapis/java-shared-config/commit/604058d52dc962db9a506762926576542687285e)) ##### [1.2.2](https://www.github.com/googleapis/java-shared-config/compare/v1.2.1...v1.2.2) (2021-11-16) ##### Bug Fixes - update dependency com.google.cloud:native-image-support to v0.10.0 ([#​358](https://www.togithub.com/googleapis/java-shared-config/issues/358)) ([0441958](https://www.github.com/googleapis/java-shared-config/commit/044195865a1122d419cadae90fddbf8dc5b4a32d)) ##### [1.2.1](https://www.github.com/googleapis/java-shared-config/compare/v1.2.0...v1.2.1) (2021-11-08) ##### Bug Fixes - Add native image feature to register protobuf reflection in tests ([#​347](https://www.togithub.com/googleapis/java-shared-config/issues/347)) ([88c3e3b](https://www.github.com/googleapis/java-shared-config/commit/88c3e3b0ad1e480e0fdbe9f6fe1f9df183066ee6)) ##### Dependencies - update dependency com.google.auto.service:auto-service-annotations to v1.0.1 ([#​346](https://www.togithub.com/googleapis/java-shared-config/issues/346)) ([9c1f943](https://www.github.com/googleapis/java-shared-config/commit/9c1f94345fb47346fe66f901976c2347b8102bc8)) - update dependency com.google.cloud:native-image-support to v0.9.0 ([#​350](https://www.togithub.com/googleapis/java-shared-config/issues/350)) ([3b496b0](https://www.github.com/googleapis/java-shared-config/commit/3b496b03bd95e59fcd1a3a1eb6cc0dfd330db769)) - update dependency com.puppycrawl.tools:checkstyle to v9.1 ([#​345](https://www.togithub.com/googleapis/java-shared-config/issues/345)) ([f5c03d3](https://www.github.com/googleapis/java-shared-config/commit/f5c03d35684ef4e0bb3178ab6056f231f3f4faf6))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 515872f70d4f..5d1b3cbd53c4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.2.7 + 1.3.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9a3f29a7448d..0624c0333ee5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.7 + 1.3.0 From 09b8cbd4f8f15a3782732118e3c7ea50a0a4d006 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 8 Mar 2022 21:32:29 +0100 Subject: [PATCH 2089/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.0 (#306) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.2.7` -> `1.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/compatibility-slim/1.2.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.0/confidence-slim/1.2.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.3.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​130-httpsgithubcomgoogleapisjava-shared-configcomparev127v130-2022-03-07) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.2.7...v1.3.0) ##### Features - increase IT timeout from 20 to 60 mins ([#​440](https://togithub.com/googleapis/java-shared-config/issues/440)) ([a4427bc](https://togithub.com/googleapis/java-shared-config/commit/a4427bceebd0624e23f0b02bb24d7ed46ea4b3a6)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.6 ([#​423](https://togithub.com/googleapis/java-shared-config/issues/423)) ([9a0cb79](https://togithub.com/googleapis/java-shared-config/commit/9a0cb79896d5c97dc3c5648a6740d53eb9ada673)) - update dependency com.puppycrawl.tools:checkstyle to v9.3 ([#​415](https://togithub.com/googleapis/java-shared-config/issues/415)) ([9e2d3fd](https://togithub.com/googleapis/java-shared-config/commit/9e2d3fd8bd42bc210dae5798f7d5dfe950c29f51)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.10 ([#​429](https://togithub.com/googleapis/java-shared-config/issues/429)) ([0355f29](https://togithub.com/googleapis/java-shared-config/commit/0355f2988ebcff19615b72bc65523555e4844523)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.10 ([#​430](https://togithub.com/googleapis/java-shared-config/issues/430)) ([16984d2](https://togithub.com/googleapis/java-shared-config/commit/16984d25a84aa6a8daf2a0925ea57cd0d3f0ee24)) ##### [1.2.7](https://togithub.com/googleapis/java-shared-config/compare/v1.2.6...v1.2.7) (2022-02-04) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.0 ([#​414](https://togithub.com/googleapis/java-shared-config/issues/414)) ([2133cc0](https://togithub.com/googleapis/java-shared-config/commit/2133cc093efd8420e352274f3eab09de819ff796)) ##### [1.2.6](https://togithub.com/googleapis/java-shared-config/compare/v1.2.5...v1.2.6) (2022-01-19) ##### Bug Fixes - library should released as 1.2.6 ([#​408](https://togithub.com/googleapis/java-shared-config/issues/408)) ([4972daa](https://togithub.com/googleapis/java-shared-config/commit/4972daa60467797566c4b043cebd322577b8eb73)) ##### [1.2.5](https://togithub.com/googleapis/java-shared-config/compare/v1.2.4...v1.2.5) (2022-01-11) ##### Bug Fixes - **java:** Enable unit tests in generated libraries for native image testing ([#​394](https://togithub.com/googleapis/java-shared-config/issues/394)) ([a453b9f](https://togithub.com/googleapis/java-shared-config/commit/a453b9f141c7555f2fd5333eb17d223410ab66eb)) ##### [1.2.4](https://www.github.com/googleapis/java-shared-config/compare/v1.2.3...v1.2.4) (2022-01-06) ##### Dependencies - revert dependency com.google.googlejavaformat:google-java-format to v1.7 ([#​391](https://www.togithub.com/googleapis/java-shared-config/issues/391)) ([17077fb](https://www.github.com/googleapis/java-shared-config/commit/17077fb1a58eef7098dc5e1e9b2c78a63c5c11e1)) ##### [1.2.3](https://www.github.com/googleapis/java-shared-config/compare/v1.2.2...v1.2.3) (2022-01-04) ##### Bug Fixes - **java:** add -ntp flag to native image testing command ([#​1299](https://www.togithub.com/googleapis/java-shared-config/issues/1299)) ([#​376](https://www.togithub.com/googleapis/java-shared-config/issues/376)) ([50e7a10](https://www.github.com/googleapis/java-shared-config/commit/50e7a10a8dca0505fd831e3dd929577d2f82b011)) - **java:** Only enable integration tests for native image testing ([#​375](https://www.togithub.com/googleapis/java-shared-config/issues/375)) ([663f421](https://www.github.com/googleapis/java-shared-config/commit/663f421de342afcba24703079f778738045d3ff2)) - **java:** Pass missing integration test flags to native image test commands ([#​1309](https://www.togithub.com/googleapis/java-shared-config/issues/1309)) ([#​383](https://www.togithub.com/googleapis/java-shared-config/issues/383)) ([b17b44e](https://www.github.com/googleapis/java-shared-config/commit/b17b44e37fe44ba61616417189c6b2271f3a4d18)) ##### Dependencies - update auto-value-annotation.version to v1.9 ([#​378](https://www.togithub.com/googleapis/java-shared-config/issues/378)) ([5e1cd0e](https://www.github.com/googleapis/java-shared-config/commit/5e1cd0e39910548ec4eb6639da979c3b66411503)) - update dependency com.google.googlejavaformat:google-java-format to v1.13.0 ([#​361](https://www.togithub.com/googleapis/java-shared-config/issues/361)) ([095d60a](https://www.github.com/googleapis/java-shared-config/commit/095d60a061a574dcf84b9fcf26dff48617a306b1)) - update dependency com.puppycrawl.tools:checkstyle to v9.2 ([#​366](https://www.togithub.com/googleapis/java-shared-config/issues/366)) ([061df67](https://www.github.com/googleapis/java-shared-config/commit/061df676d8b2fef5bbb0ce9661d3c96fcb57e73a)) - update dependency com.puppycrawl.tools:checkstyle to v9.2.1 ([#​382](https://www.togithub.com/googleapis/java-shared-config/issues/382)) ([1a182c5](https://www.github.com/googleapis/java-shared-config/commit/1a182c52e7c5431875296940d68c9bdfcf74be00)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.9 ([#​379](https://www.togithub.com/googleapis/java-shared-config/issues/379)) ([0a2b05f](https://www.github.com/googleapis/java-shared-config/commit/0a2b05ff7f649331efbc4dd540705da10691a2f1)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.8 ([#​372](https://www.togithub.com/googleapis/java-shared-config/issues/372)) ([6fe795e](https://www.github.com/googleapis/java-shared-config/commit/6fe795ede39575656ef1609bf7aac28c1d170976)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.9 ([#​380](https://www.togithub.com/googleapis/java-shared-config/issues/380)) ([f2efad5](https://www.github.com/googleapis/java-shared-config/commit/f2efad585b431fe186c7900a8171a999c689405b)) - update dependency org.junit.vintage:junit-vintage-engine to v5.8.2 ([#​365](https://www.togithub.com/googleapis/java-shared-config/issues/365)) ([604058d](https://www.github.com/googleapis/java-shared-config/commit/604058d52dc962db9a506762926576542687285e)) ##### [1.2.2](https://www.github.com/googleapis/java-shared-config/compare/v1.2.1...v1.2.2) (2021-11-16) ##### Bug Fixes - update dependency com.google.cloud:native-image-support to v0.10.0 ([#​358](https://www.togithub.com/googleapis/java-shared-config/issues/358)) ([0441958](https://www.github.com/googleapis/java-shared-config/commit/044195865a1122d419cadae90fddbf8dc5b4a32d)) ##### [1.2.1](https://www.github.com/googleapis/java-shared-config/compare/v1.2.0...v1.2.1) (2021-11-08) ##### Bug Fixes - Add native image feature to register protobuf reflection in tests ([#​347](https://www.togithub.com/googleapis/java-shared-config/issues/347)) ([88c3e3b](https://www.github.com/googleapis/java-shared-config/commit/88c3e3b0ad1e480e0fdbe9f6fe1f9df183066ee6)) ##### Dependencies - update dependency com.google.auto.service:auto-service-annotations to v1.0.1 ([#​346](https://www.togithub.com/googleapis/java-shared-config/issues/346)) ([9c1f943](https://www.github.com/googleapis/java-shared-config/commit/9c1f94345fb47346fe66f901976c2347b8102bc8)) - update dependency com.google.cloud:native-image-support to v0.9.0 ([#​350](https://www.togithub.com/googleapis/java-shared-config/issues/350)) ([3b496b0](https://www.github.com/googleapis/java-shared-config/commit/3b496b03bd95e59fcd1a3a1eb6cc0dfd330db769)) - update dependency com.puppycrawl.tools:checkstyle to v9.1 ([#​345](https://www.togithub.com/googleapis/java-shared-config/issues/345)) ([f5c03d3](https://www.github.com/googleapis/java-shared-config/commit/f5c03d35684ef4e0bb3178ab6056f231f3f4faf6))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 0cd4190b12dc..2c0bbc47189b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.7 + 1.3.0 From 0264b58da87de0df3f2bbc721443430dd7344ada Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 20:34:17 +0000 Subject: [PATCH 2090/3036] chore(main): release 2.5.8 (#754) :robot: I have created a release *beep* *boop* --- ### [2.5.8](https://github.com/googleapis/java-core/compare/v2.5.7...v2.5.8) (2022-03-08) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.8 ([#753](https://github.com/googleapis/java-core/issues/753)) ([06a4fa6](https://github.com/googleapis/java-core/commit/06a4fa6e0e107cc31070ef0700b03fa3bdb343ec)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 50b4f68ab6c4..ff4eba94ed0d 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.5.8](https://github.com/googleapis/java-core/compare/v2.5.7...v2.5.8) (2022-03-08) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.8 ([#753](https://github.com/googleapis/java-core/issues/753)) ([6866b84](https://github.com/googleapis/java-core/commit/6866b8407162ecbff7ed5a6eec5e3e4d130fcfa7)) + ### [2.5.7](https://github.com/googleapis/java-core/compare/v2.5.6...v2.5.7) (2022-03-08) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 5d1b3cbd53c4..fbb147b22ecb 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.8-SNAPSHOT + 2.5.8 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.8-SNAPSHOT + 2.5.8 com.google.cloud google-cloud-core-grpc - 2.5.8-SNAPSHOT + 2.5.8 com.google.cloud google-cloud-core-http - 2.5.8-SNAPSHOT + 2.5.8 com.google.cloud native-image-support - 0.12.8-SNAPSHOT + 0.12.8
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 5e1bffbe10cf..e02454af18a7 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.5.8-SNAPSHOT + 2.5.8 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.8-SNAPSHOT + 2.5.8 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 d1d019d8f6ee..3c27c7a9c7e1 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.5.8-SNAPSHOT + 2.5.8 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.8-SNAPSHOT + 2.5.8 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c89134dd3d88..dbdd4f4cc95a 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.5.8-SNAPSHOT + 2.5.8 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.8-SNAPSHOT + 2.5.8 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index e396dede2b05..6cbb86b5f679 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.8-SNAPSHOT + 0.12.8 jar google-cloud-core-parent com.google.cloud - 2.5.8-SNAPSHOT + 2.5.8 diff --git a/java-core/pom.xml b/java-core/pom.xml index 0624c0333ee5..e24dbeacb00b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.8-SNAPSHOT + 2.5.8 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 2bffaff3ba90..cdf99018dc56 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.7:2.5.8-SNAPSHOT -native-image-support:0.12.7:0.12.8-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.8:2.5.8 +native-image-support:0.12.8:0.12.8 \ No newline at end of file From 881cedf497248cd8560cf66a5c4363b781a0ff7f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Mar 2022 20:42:17 +0000 Subject: [PATCH 2091/3036] chore(main): release 2.5.9-SNAPSHOT (#755) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index fbb147b22ecb..b2879b61fd2d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.8 + 2.5.9-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.8 + 2.5.9-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.8 + 2.5.9-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.8 + 2.5.9-SNAPSHOT com.google.cloud native-image-support - 0.12.8 + 0.12.9-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e02454af18a7..e622ee6ad2ec 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.5.8 + 2.5.9-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.8 + 2.5.9-SNAPSHOT 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 3c27c7a9c7e1..37ef4105aeeb 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.5.8 + 2.5.9-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.8 + 2.5.9-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index dbdd4f4cc95a..d79780541521 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.5.8 + 2.5.9-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.8 + 2.5.9-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 6cbb86b5f679..3ac451446ea8 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.8 + 0.12.9-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.8 + 2.5.9-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index e24dbeacb00b..87b2fa866485 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.8 + 2.5.9-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index cdf99018dc56..41cc9dc3d72f 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.8:2.5.8 -native-image-support:0.12.8:0.12.8 \ No newline at end of file +google-cloud-core:2.5.8:2.5.9-SNAPSHOT +native-image-support:0.12.8:0.12.9-SNAPSHOT \ No newline at end of file From 2b6a5ee994ecc68af687825be80d1f8924b2261d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Mar 2022 18:30:20 +0100 Subject: [PATCH 2092/3036] deps: update dependency io.grpc:grpc-bom to v1.45.0 (#756) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.44.1` -> `1.45.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.0/compatibility-slim/1.44.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.0/confidence-slim/1.44.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.45.0`](https://togithub.com/grpc/grpc-java/releases/v1.45.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.44.1...v1.45.0) #### gRPC Java 1.45.0 Release Notes ##### Bug Fixes - rls: fix child lb leak when client channel is shutdown ([#​8750](https://togithub.com/grpc/grpc-java/issues/8750)) - rls: fix RLS lb policy name ([#​8867](https://togithub.com/grpc/grpc-java/issues/8867)) - testing: fix GrpcCleanupRule issue when retrying tests ([#​8918](https://togithub.com/grpc/grpc-java/issues/8918)) - xds: fix validation code to accept new-style CertificateProviderPluginInstance ([#​8892](https://togithub.com/grpc/grpc-java/issues/8892)) - xds: fix a concurrency issue in CSDS ClientStatus responses ([#​8795](https://togithub.com/grpc/grpc-java/issues/8795)) - bom: Include grpc-binder - binder: Fix a ServiceConnection leak ([#​8861](https://togithub.com/grpc/grpc-java/issues/8861)) - binder: Increase fairness across streams when limited by flow control. This can dramatically reduce latency when channel is being used for high throughput ([#​8835](https://togithub.com/grpc/grpc-java/issues/8835)) - android: fix for app coming to foreground ([#​8855](https://togithub.com/grpc/grpc-java/issues/8855)) ##### Behavior Changes - Local-only transparent retry is (practically) unlimited now. Previously it was at most once per RPC. - xds: implement least_request load balancing policy ([#​8739](https://togithub.com/grpc/grpc-java/issues/8739)) ##### Dependencies - Bump Error Prone Annotations to 2.10.0 - Bump Guava to 31.0.1-android - Bump Google Auth Library to 1.4.0 - Bump Auto Value to 1.9 - netty: Include both x86 and Arm64 epoll as dependency for grpc-netty-shaded - testing: remove opencensus dependency from grpc-testing ([#​8833](https://togithub.com/grpc/grpc-java/issues/8833))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 87b2fa866485..fe34d1342192 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.33.2 1.41.4 22.0.0.2 - 1.44.1 + 1.45.0 3.19.4 0.31.0 1.3.2 From bb57ef1c4ff5583dd099f18464f7b04470281cb5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 9 Mar 2022 18:30:29 +0100 Subject: [PATCH 2093/3036] deps: update dependency io.grpc:grpc-stub to v1.45.0 (#307) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.44.1` -> `1.45.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.45.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.45.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.45.0/compatibility-slim/1.44.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.45.0/confidence-slim/1.44.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.45.0`](https://togithub.com/grpc/grpc-java/releases/v1.45.0) #### gRPC Java 1.45.0 Release Notes ##### Bug Fixes - rls: fix child lb leak when client channel is shutdown ([#​8750](https://togithub.com/grpc/grpc-java/issues/8750)) - rls: fix RLS lb policy name ([#​8867](https://togithub.com/grpc/grpc-java/issues/8867)) - testing: fix GrpcCleanupRule issue when retrying tests ([#​8918](https://togithub.com/grpc/grpc-java/issues/8918)) - xds: fix validation code to accept new-style CertificateProviderPluginInstance ([#​8892](https://togithub.com/grpc/grpc-java/issues/8892)) - xds: fix a concurrency issue in CSDS ClientStatus responses ([#​8795](https://togithub.com/grpc/grpc-java/issues/8795)) - bom: Include grpc-binder - binder: Fix a ServiceConnection leak ([#​8861](https://togithub.com/grpc/grpc-java/issues/8861)) - binder: Increase fairness across streams when limited by flow control. This can dramatically reduce latency when channel is being used for high throughput ([#​8835](https://togithub.com/grpc/grpc-java/issues/8835)) - android: fix for app coming to foreground ([#​8855](https://togithub.com/grpc/grpc-java/issues/8855)) ##### Behavior Changes - Local-only transparent retry is (practically) unlimited now. Previously it was at most once per RPC. - xds: implement least_request load balancing policy ([#​8739](https://togithub.com/grpc/grpc-java/issues/8739)) ##### Dependencies - Bump Error Prone Annotations to 2.10.0 - Bump Guava to 31.0.1-android - Bump Google Auth Library to 1.4.0 - Bump Auto Value to 1.9 - netty: Include both x86 and Arm64 epoll as dependency for grpc-netty-shaded - testing: remove opencensus dependency from grpc-testing ([#​8833](https://togithub.com/grpc/grpc-java/issues/8833))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 07542e32dea5..a20f2356dd60 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.44.1' + compile 'io.grpc:grpc-stub:1.45.0' compile 'io.grpc:grpc-protobuf:1.44.1' compile project(':proto-google-iam-v1') } From a3ab31ce5df877c0a6c2d0000a0205d1d16bb8ad Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Mar 2022 17:44:13 +0000 Subject: [PATCH 2094/3036] chore(main): release 2.5.9 (#757) :robot: I have created a release *beep* *boop* --- ### [2.5.9](https://github.com/googleapis/java-core/compare/v2.5.8...v2.5.9) (2022-03-09) ### Dependencies * update dependency io.grpc:grpc-bom to v1.45.0 ([#756](https://github.com/googleapis/java-core/issues/756)) ([2b6a5ee](https://github.com/googleapis/java-core/commit/2b6a5ee994ecc68af687825be80d1f8924b2261d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index ff4eba94ed0d..48d4aaf9d6ba 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.5.9](https://github.com/googleapis/java-core/compare/v2.5.8...v2.5.9) (2022-03-09) + + +### Dependencies + +* update dependency io.grpc:grpc-bom to v1.45.0 ([#756](https://github.com/googleapis/java-core/issues/756)) ([403b10a](https://github.com/googleapis/java-core/commit/403b10accfe2694dc2a5fac63a374d00585df5bb)) + ### [2.5.8](https://github.com/googleapis/java-core/compare/v2.5.7...v2.5.8) (2022-03-08) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b2879b61fd2d..d692a2f6be35 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.9-SNAPSHOT + 2.5.9 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.9-SNAPSHOT + 2.5.9 com.google.cloud google-cloud-core-grpc - 2.5.9-SNAPSHOT + 2.5.9 com.google.cloud google-cloud-core-http - 2.5.9-SNAPSHOT + 2.5.9 com.google.cloud native-image-support - 0.12.9-SNAPSHOT + 0.12.9
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index e622ee6ad2ec..3ef170b16d00 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.5.9-SNAPSHOT + 2.5.9 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.9-SNAPSHOT + 2.5.9 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 37ef4105aeeb..e846f8179d39 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.5.9-SNAPSHOT + 2.5.9 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.9-SNAPSHOT + 2.5.9 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d79780541521..651a93be7888 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.5.9-SNAPSHOT + 2.5.9 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.9-SNAPSHOT + 2.5.9 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 3ac451446ea8..2652d1acca55 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.9-SNAPSHOT + 0.12.9 jar google-cloud-core-parent com.google.cloud - 2.5.9-SNAPSHOT + 2.5.9 diff --git a/java-core/pom.xml b/java-core/pom.xml index fe34d1342192..93632d483738 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.9-SNAPSHOT + 2.5.9 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 41cc9dc3d72f..88dc29365254 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.8:2.5.9-SNAPSHOT -native-image-support:0.12.8:0.12.9-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.9:2.5.9 +native-image-support:0.12.9:0.12.9 \ No newline at end of file From d16d54ee24f6c3b56d5b5dc0031da49cf83bc21d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Mar 2022 17:50:18 +0000 Subject: [PATCH 2095/3036] chore(main): release 1.2.9 (#308) :robot: I have created a release *beep* *boop* --- ### [1.2.9](https://github.com/googleapis/java-iam/compare/v1.2.8...v1.2.9) (2022-03-09) ### Dependencies * update dependency io.grpc:grpc-stub to v1.45.0 ([#307](https://github.com/googleapis/java-iam/issues/307)) ([bb57ef1](https://github.com/googleapis/java-iam/commit/bb57ef1c4ff5583dd099f18464f7b04470281cb5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 173a50787ee5..d9295d1d37a0 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.9](https://github.com/googleapis/java-iam/compare/v1.2.8...v1.2.9) (2022-03-09) + + +### Dependencies + +* update dependency io.grpc:grpc-stub to v1.45.0 ([#307](https://github.com/googleapis/java-iam/issues/307)) ([756e6b0](https://github.com/googleapis/java-iam/commit/756e6b0399cfd29006a1c3f8e5bca9e6ef9892bc)) + ### [1.2.8](https://github.com/googleapis/java-iam/compare/v1.2.7...v1.2.8) (2022-03-08) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index c307d2e9bf1f..08c9ab270806 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.2.9-SNAPSHOT + 1.2.9 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.9-SNAPSHOT + 1.2.9 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2c0bbc47189b..ab623b88f1c1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.9-SNAPSHOT + 1.2.9 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.9-SNAPSHOT + 1.2.9 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 2efba6842196..066afc680c4e 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.2.9-SNAPSHOT + 1.2.9 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.9-SNAPSHOT + 1.2.9 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 9e920df7fcd7..33a158790161 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.8:1.2.9-SNAPSHOT -grpc-google-iam-v1:1.2.8:1.2.9-SNAPSHOT +proto-google-iam-v1:1.2.9:1.2.9 +grpc-google-iam-v1:1.2.9:1.2.9 From 94ce1c1145c290025445539455f3343f02928cb1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Mar 2022 17:52:14 +0000 Subject: [PATCH 2096/3036] chore(main): release 2.5.10-SNAPSHOT (#758) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index d692a2f6be35..8a790cb2e3b3 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.9 + 2.5.10-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.9 + 2.5.10-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.9 + 2.5.10-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.9 + 2.5.10-SNAPSHOT com.google.cloud native-image-support - 0.12.9 + 0.12.10-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3ef170b16d00..f015db6ca79f 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.5.9 + 2.5.10-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.9 + 2.5.10-SNAPSHOT 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 e846f8179d39..aafcdbfd43dc 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.5.9 + 2.5.10-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.9 + 2.5.10-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 651a93be7888..ad5e750c4435 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.5.9 + 2.5.10-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.9 + 2.5.10-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 2652d1acca55..8d7514596e37 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.9 + 0.12.10-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.9 + 2.5.10-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 93632d483738..29b73a90735f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.9 + 2.5.10-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 88dc29365254..c28c2576cc21 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.9:2.5.9 -native-image-support:0.12.9:0.12.9 \ No newline at end of file +google-cloud-core:2.5.9:2.5.10-SNAPSHOT +native-image-support:0.12.9:0.12.10-SNAPSHOT \ No newline at end of file From d6ac27f480d935e733cca37b63680e7ae92e6981 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Mar 2022 17:58:19 +0000 Subject: [PATCH 2097/3036] chore(main): release 1.2.10-SNAPSHOT (#309) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 08c9ab270806..f3dfaee7c4d7 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.2.9 + 1.2.10-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.9 + 1.2.10-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index ab623b88f1c1..f9a21daaef43 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.9 + 1.2.10-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.9 + 1.2.10-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 066afc680c4e..3ca010262b6c 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.2.9 + 1.2.10-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.9 + 1.2.10-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 33a158790161..db6ba317ff1f 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.9:1.2.9 -grpc-google-iam-v1:1.2.9:1.2.9 +proto-google-iam-v1:1.2.9:1.2.10-SNAPSHOT +grpc-google-iam-v1:1.2.9:1.2.10-SNAPSHOT From 8cc3b5bcc44f604bfc0f98dc1105ac7edea04359 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Mar 2022 23:14:11 +0100 Subject: [PATCH 2098/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.9 (#759) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.8` -> `1.2.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.9/compatibility-slim/1.2.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.9/confidence-slim/1.2.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.9`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​129-httpsgithubcomgoogleapisjava-iamcomparev128v129-2022-03-09) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.8...v1.2.9)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 29b73a90735f..82aad6214c51 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.2 2.1.4 2.7.4 - 1.2.8 + 1.2.9 1.5.3 1.33.2 1.41.4 From 1c8b05d4ca717b481aa312f2d0ec0e38a2035740 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 10 Mar 2022 23:18:24 +0100 Subject: [PATCH 2099/3036] deps: update dependency io.grpc:grpc-protobuf to v1.45.0 (#310) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.44.1` -> `1.45.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.45.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.45.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.45.0/compatibility-slim/1.44.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.45.0/confidence-slim/1.44.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.45.0`](https://togithub.com/grpc/grpc-java/releases/v1.45.0) ##### gRPC Java 1.45.0 Release Notes ##### Bug Fixes - rls: fix child lb leak when client channel is shutdown ([#​8750](https://togithub.com/grpc/grpc-java/issues/8750)) - rls: fix RLS lb policy name ([#​8867](https://togithub.com/grpc/grpc-java/issues/8867)) - testing: fix GrpcCleanupRule issue when retrying tests ([#​8918](https://togithub.com/grpc/grpc-java/issues/8918)) - xds: fix validation code to accept new-style CertificateProviderPluginInstance ([#​8892](https://togithub.com/grpc/grpc-java/issues/8892)) - xds: fix a concurrency issue in CSDS ClientStatus responses ([#​8795](https://togithub.com/grpc/grpc-java/issues/8795)) - bom: Include grpc-binder - binder: Fix a ServiceConnection leak ([#​8861](https://togithub.com/grpc/grpc-java/issues/8861)) - binder: Increase fairness across streams when limited by flow control. This can dramatically reduce latency when channel is being used for high throughput ([#​8835](https://togithub.com/grpc/grpc-java/issues/8835)) - android: fix for app coming to foreground ([#​8855](https://togithub.com/grpc/grpc-java/issues/8855)) ##### Behavior Changes - Local-only transparent retry is (practically) unlimited now. Previously it was at most once per RPC. - xds: implement least_request load balancing policy ([#​8739](https://togithub.com/grpc/grpc-java/issues/8739)) ##### Dependencies - Bump Error Prone Annotations to 2.10.0 - Bump Guava to 31.0.1-android - Bump Google Auth Library to 1.4.0 - Bump Auto Value to 1.9 - netty: Include both x86 and Arm64 epoll as dependency for grpc-netty-shaded - testing: remove opencensus dependency from grpc-testing ([#​8833](https://togithub.com/grpc/grpc-java/issues/8833))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index a20f2356dd60..fd897568c334 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.45.0' - compile 'io.grpc:grpc-protobuf:1.44.1' + compile 'io.grpc:grpc-protobuf:1.45.0' compile project(':proto-google-iam-v1') } From 07f3a954ee061018f66d7b8b17be8c5e77b23a36 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 10 Mar 2022 22:26:21 +0000 Subject: [PATCH 2100/3036] chore(main): release 1.2.10 (#311) :robot: I have created a release *beep* *boop* --- ### [1.2.10](https://github.com/googleapis/java-iam/compare/v1.2.9...v1.2.10) (2022-03-10) ### Dependencies * update dependency io.grpc:grpc-protobuf to v1.45.0 ([#310](https://github.com/googleapis/java-iam/issues/310)) ([1c8b05d](https://github.com/googleapis/java-iam/commit/1c8b05d4ca717b481aa312f2d0ec0e38a2035740)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index d9295d1d37a0..5192c66a4d2f 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.10](https://github.com/googleapis/java-iam/compare/v1.2.9...v1.2.10) (2022-03-10) + + +### Dependencies + +* update dependency io.grpc:grpc-protobuf to v1.45.0 ([#310](https://github.com/googleapis/java-iam/issues/310)) ([2abec16](https://github.com/googleapis/java-iam/commit/2abec16ca95bffd6c3bdcaf4c98c53f8cb118a59)) + ### [1.2.9](https://github.com/googleapis/java-iam/compare/v1.2.8...v1.2.9) (2022-03-09) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index f3dfaee7c4d7..1aad542d38f4 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.2.10-SNAPSHOT + 1.2.10 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.10-SNAPSHOT + 1.2.10 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f9a21daaef43..ac1775cdc502 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.10-SNAPSHOT + 1.2.10 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.10-SNAPSHOT + 1.2.10 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 3ca010262b6c..711ce114dd58 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.2.10-SNAPSHOT + 1.2.10 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.10-SNAPSHOT + 1.2.10 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index db6ba317ff1f..2b8a09a90e7a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.9:1.2.10-SNAPSHOT -grpc-google-iam-v1:1.2.9:1.2.10-SNAPSHOT +proto-google-iam-v1:1.2.10:1.2.10 +grpc-google-iam-v1:1.2.10:1.2.10 From f0a083b511b573187228f0df8a07ffd03093552c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 10 Mar 2022 22:30:24 +0000 Subject: [PATCH 2101/3036] chore(main): release 2.5.10 (#761) :robot: I have created a release *beep* *boop* --- ### [2.5.10](https://github.com/googleapis/java-core/compare/v2.5.9...v2.5.10) (2022-03-10) ### Dependencies * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.9 ([#759](https://github.com/googleapis/java-core/issues/759)) ([8cc3b5b](https://github.com/googleapis/java-core/commit/8cc3b5bcc44f604bfc0f98dc1105ac7edea04359)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 48d4aaf9d6ba..6382267180b0 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.5.10](https://github.com/googleapis/java-core/compare/v2.5.9...v2.5.10) (2022-03-10) + + +### Dependencies + +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.9 ([#759](https://github.com/googleapis/java-core/issues/759)) ([9585d4e](https://github.com/googleapis/java-core/commit/9585d4ea8377c087b33e63e46672a79d52e04a4b)) + ### [2.5.9](https://github.com/googleapis/java-core/compare/v2.5.8...v2.5.9) (2022-03-09) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8a790cb2e3b3..e196dc5c781e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.10-SNAPSHOT + 2.5.10 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.10-SNAPSHOT + 2.5.10 com.google.cloud google-cloud-core-grpc - 2.5.10-SNAPSHOT + 2.5.10 com.google.cloud google-cloud-core-http - 2.5.10-SNAPSHOT + 2.5.10 com.google.cloud native-image-support - 0.12.10-SNAPSHOT + 0.12.10 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f015db6ca79f..2c6ceca8d49a 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.5.10-SNAPSHOT + 2.5.10 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.10-SNAPSHOT + 2.5.10 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 aafcdbfd43dc..fddb5da10062 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.5.10-SNAPSHOT + 2.5.10 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.10-SNAPSHOT + 2.5.10 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ad5e750c4435..90713c722359 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.5.10-SNAPSHOT + 2.5.10 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.10-SNAPSHOT + 2.5.10 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 8d7514596e37..bb3237f653a2 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.10-SNAPSHOT + 0.12.10 jar google-cloud-core-parent com.google.cloud - 2.5.10-SNAPSHOT + 2.5.10 diff --git a/java-core/pom.xml b/java-core/pom.xml index 82aad6214c51..6ecb0484831e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.10-SNAPSHOT + 2.5.10 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c28c2576cc21..5e65b1a615aa 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.9:2.5.10-SNAPSHOT -native-image-support:0.12.9:0.12.10-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.10:2.5.10 +native-image-support:0.12.10:0.12.10 \ No newline at end of file From f7139990d79a9008b0c2462ae43496bc06540651 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 10 Mar 2022 22:36:18 +0000 Subject: [PATCH 2102/3036] chore(main): release 1.2.11-SNAPSHOT (#312) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 1aad542d38f4..4d1ec78300de 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.2.10 + 1.2.11-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.10 + 1.2.11-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index ac1775cdc502..4f79672d4422 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.10 + 1.2.11-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.10 + 1.2.11-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 711ce114dd58..b0f5dc08f74d 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.2.10 + 1.2.11-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.10 + 1.2.11-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 2b8a09a90e7a..eb094d6e6db0 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.10:1.2.10 -grpc-google-iam-v1:1.2.10:1.2.10 +proto-google-iam-v1:1.2.10:1.2.11-SNAPSHOT +grpc-google-iam-v1:1.2.10:1.2.11-SNAPSHOT From 38deab0c6dce81e64e59b2e31ba8cf249d81760e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 10 Mar 2022 22:40:23 +0000 Subject: [PATCH 2103/3036] chore(main): release 2.5.11-SNAPSHOT (#762) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e196dc5c781e..3a8dac36a661 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.10 + 2.5.11-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.10 + 2.5.11-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.10 + 2.5.11-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.10 + 2.5.11-SNAPSHOT com.google.cloud native-image-support - 0.12.10 + 0.12.11-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2c6ceca8d49a..d66e6d854c59 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.5.10 + 2.5.11-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.10 + 2.5.11-SNAPSHOT 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 fddb5da10062..acd2ce2db971 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.5.10 + 2.5.11-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.10 + 2.5.11-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 90713c722359..70588eb28f20 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.5.10 + 2.5.11-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.10 + 2.5.11-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index bb3237f653a2..24d9bb605b4b 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.10 + 0.12.11-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.10 + 2.5.11-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 6ecb0484831e..f6d64b302a17 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.10 + 2.5.11-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 5e65b1a615aa..1c3613d786b1 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.10:2.5.10 -native-image-support:0.12.10:0.12.10 \ No newline at end of file +google-cloud-core:2.5.10:2.5.11-SNAPSHOT +native-image-support:0.12.10:0.12.11-SNAPSHOT \ No newline at end of file From 62e28eff1eab63436207b242084e1ce11c750b04 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 11 Mar 2022 05:30:26 +0100 Subject: [PATCH 2104/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.2.2 (#293) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.2.1` -> `3.2.2` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.2.2/compatibility-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.2.2/confidence-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 4f79672d4422..92f66b15cbb6 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -99,7 +99,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.1 + 3.2.2 From da57e9ac04ebb5af756dc7d34157b8926201b0de Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Wed, 16 Mar 2022 12:43:07 -0400 Subject: [PATCH 2105/3036] fix(java): Register Spanner classes for reflection to fix Native Image tests (#760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(java): register Spanner classes and resource to fix Native Image tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../features/clients/SpannerFeature.java | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java index 3e5495840df6..7c9fca142163 100644 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java @@ -21,6 +21,7 @@ import com.oracle.svm.core.configure.ResourcesRegistry; import org.graalvm.nativeimage.ImageSingletons; import org.graalvm.nativeimage.hosted.Feature; +import org.graalvm.nativeimage.impl.ConfigurationCondition; /** Registers Spanner library classes for reflection. */ @AutomaticFeature @@ -28,6 +29,24 @@ final class SpannerFeature implements Feature { private static final String SPANNER_CLASS = "com.google.spanner.v1.SpannerGrpc"; private static final String SPANNER_TEST_CLASS = "com.google.cloud.spanner.GceTestEnvConfig"; + private static final String CLIENT_SIDE_IMPL_CLASS = + "com.google.cloud.spanner.connection.ClientSideStatementImpl"; + private static final String CLIENT_SIDE_VALUE_CONVERTER = + "com.google.cloud.spanner.connection.ClientSideStatementValueConverters"; + private static final String CONNECTION_IMPL = + "com.google.cloud.spanner.connection.ConnectionImpl"; + private static final String CLIENT_SIDE_STATEMENTS = + "com.google.cloud.spanner.connection.ClientSideStatements"; + private static final String CONNECTION_STATEMENT_EXECUTOR = + "com.google.cloud.spanner.connection.ConnectionStatementExecutor"; + private static final String CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR = + "com.google.cloud.spanner.connection.ClientSideStatementNoParamExecutor"; + private static final String CLIENT_SIDE_STATEMENT_SET_EXECUTOR = + "com.google.cloud.spanner.connection.ClientSideStatementSetExecutor"; + private static final String ABSTRACT_STATEMENT_PARSER = + "com.google.cloud.spanner.connection.AbstractStatementParser"; + private static final String STATEMENT_PARSER = + "com.google.cloud.spanner.connection.SpannerStatementParser"; @Override public void beforeAnalysis(BeforeAnalysisAccess access) { @@ -35,6 +54,34 @@ public void beforeAnalysis(BeforeAnalysisAccess access) { if (spannerTestClass != null) { NativeImageUtils.registerConstructorsForReflection(access, SPANNER_TEST_CLASS); } + if (access.findClassByName(CLIENT_SIDE_IMPL_CLASS) != null) { + NativeImageUtils.registerClassHierarchyForReflection(access, CLIENT_SIDE_IMPL_CLASS); + } + if (access.findClassByName(CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR) != null) { + NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR); + } + if (access.findClassByName(CLIENT_SIDE_STATEMENT_SET_EXECUTOR) != null) { + NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENT_SET_EXECUTOR); + } + if (access.findClassByName(CLIENT_SIDE_VALUE_CONVERTER) != null) { + NativeImageUtils.registerClassHierarchyForReflection(access, CLIENT_SIDE_VALUE_CONVERTER); + } + if (access.findClassByName(CLIENT_SIDE_STATEMENTS) != null) { + NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENTS); + } + if (access.findClassByName(CONNECTION_STATEMENT_EXECUTOR) != null) { + NativeImageUtils.registerClassForReflection(access, CONNECTION_STATEMENT_EXECUTOR); + } + if (access.findClassByName(CONNECTION_IMPL) != null) { + NativeImageUtils.registerClassForReflection(access, CONNECTION_IMPL); + } + if (access.findClassByName(ABSTRACT_STATEMENT_PARSER) != null) { + NativeImageUtils.registerClassHierarchyForReflection(access, ABSTRACT_STATEMENT_PARSER); + } + if (access.findClassByName(STATEMENT_PARSER) != null) { + NativeImageUtils.registerConstructorsForReflection(access, STATEMENT_PARSER); + } + Class spannerClass = access.findClassByName(SPANNER_CLASS); if (spannerClass != null) { NativeImageUtils.registerClassHierarchyForReflection( @@ -47,9 +94,13 @@ public void beforeAnalysis(BeforeAnalysisAccess access) { // Resources ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); resourcesRegistry.addResources( + ConfigurationCondition.alwaysTrue(), "\\Qcom/google/cloud/spanner/connection/ClientSideStatements.json\\E"); resourcesRegistry.addResources( "\\Qcom/google/cloud/spanner/spi/v1/grpc-gcp-apiconfig.json\\E"); + resourcesRegistry.addResources( + ConfigurationCondition.alwaysTrue(), + "\\Qcom/google/cloud/spanner/connection/ITSqlScriptTest_TestQueryOptions.sql\\E"); } } } From f826ac6145b9dccf2a4bb5c13dbe529471772a25 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:01:40 +0100 Subject: [PATCH 2106/3036] deps: update dependency io.grpc:grpc-bom to v1.45.0 (#630) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2e1d52d60c91..b866d7984f21 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.44.1 + 1.45.0 2.12.2 1.1.0 31.0.1-jre From 53858805ac817c042321fdd419244f3febf204e3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:02:13 +0100 Subject: [PATCH 2107/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.10 (#763) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.2.9` -> `1.2.10` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.10/compatibility-slim/1.2.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.2.10/confidence-slim/1.2.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.2.10`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1210-httpsgithubcomgoogleapisjava-iamcomparev129v1210-2022-03-10) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.2.9...v1.2.10)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f6d64b302a17..be790b6d2215 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.12.2 2.1.4 2.7.4 - 1.2.9 + 1.2.10 1.5.3 1.33.2 1.41.4 From a0458d725de8c64c1b99ea7a9b7d4461fa1c1fe3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:03:15 +0100 Subject: [PATCH 2108/3036] deps: update google.core.version to v2.5.10 (#628) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b866d7984f21..6b0e9d69587a 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.4 2.1.4 2.7.4 - 2.5.6 + 2.5.10 1.5.3 1.41.4 1.33.1 From a3378ee3f97def20f8ba82356beaab2e48f52bb8 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 16 Mar 2022 22:03:47 -0400 Subject: [PATCH 2109/3036] chore: update java template (#1367) (#627) * chore: update java template * chore: fix tests * chore: fix tests * chore: update project Source-Link: https://github.com/googleapis/synthtool/commit/1155a97fed1c195d10ad406d483bc8ac2507f1d7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa Co-authored-by: Owl Bot --- .../.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/build.bat | 30 +++++++++---------- .../.kokoro/nightly/integration.cfg | 4 +-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 53941094cf48..426cf83e2ec6 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a + digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa diff --git a/java-shared-dependencies/.kokoro/build.bat b/java-shared-dependencies/.kokoro/build.bat index cc602c9eba80..067cf4a4c489 100644 --- a/java-shared-dependencies/.kokoro/build.bat +++ b/java-shared-dependencies/.kokoro/build.bat @@ -1,18 +1,18 @@ +:: Copyright 2022 Google LLC +:: +:: Licensed under the Apache License, Version 2.0 (the "License"); +:: you may not use this file except in compliance with the License. +:: You may obtain a copy of the License at +:: +:: http://www.apache.org/licenses/LICENSE-2.0 +:: +:: Unless required by applicable law or agreed to in writing, software +:: distributed under the License is distributed on an "AS IS" BASIS, +:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +:: See the License for the specific language governing permissions and +:: limitations under the License. +:: Github action job to test core java library features on +:: downstream client libraries before they are released. :: See documentation in type-shell-output.bat -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-shared-dependencies/.kokoro/nightly/integration.cfg b/java-shared-dependencies/.kokoro/nightly/integration.cfg index e51c7b4c6c11..a2907a257b2b 100644 --- a/java-shared-dependencies/.kokoro/nightly/integration.cfg +++ b/java-shared-dependencies/.kokoro/nightly/integration.cfg @@ -13,12 +13,12 @@ env_vars: { # TODO: remove this after we've migrated all tests and scripts env_vars: { key: "GCLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" } env_vars: { key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" + value: "java-docs-samples-testing" } env_vars: { From ddfd80d944c7d2b7319be445024809dc8efd5bfc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:04:10 +0100 Subject: [PATCH 2110/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.0 (#629) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 6b0e9d69587a..5a259306cc2d 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.7 + 1.3.0 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 48c6ab58d688..70e20a4a0c0f 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.2.7 + 1.3.0 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ae2743dc6afa..3d37aa69a494 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.2.7 + 1.3.0 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index d090fdf369c4..8349439fd638 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.2.7 + 1.3.0
    From 0e7bcbf30743aebb5a2ca189cdbc73ee2f18723c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:08:13 +0100 Subject: [PATCH 2111/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.6.0 (#631) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.5.3` -> `1.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/compatibility-slim/1.5.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/confidence-slim/1.5.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5a259306cc2d..a25f0c480732 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.1.4 2.7.4 2.5.10 - 1.5.3 + 1.6.0 1.41.4 1.33.1 1.33.2 From aba35a3e81dc9c77bec9a37d6de1760a00227c9c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:08:13 +0100 Subject: [PATCH 2112/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.6.0 (#765) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.5.3` -> `1.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/compatibility-slim/1.5.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.6.0/confidence-slim/1.5.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index be790b6d2215..596e53edfa94 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.1.4 2.7.4 1.2.10 - 1.5.3 + 1.6.0 1.33.2 1.41.4 22.0.0.2 From 2fbe6dd4140b61dff6c42359c93fa2b46da1f847 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:10:47 +0100 Subject: [PATCH 2113/3036] deps: update iam.version to v1.2.10 (#625) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a25f0c480732..c28fd501051f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.4 1.33.1 1.33.2 - 1.2.6 + 1.2.10
    From 71fe0af509d364eb4e5e1e66aec02c1bbc91b09b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 17 Mar 2022 03:20:57 +0100 Subject: [PATCH 2114/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.2 (#626) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 3d37aa69a494..ea3619a6af9a 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 0.31.0 3.0.2 2.11.0 - 2.13.1 + 2.13.2 1.15 4.4.15 4.5.13 From 89543a18ebd636bc9b7d92ce56fe26986bcbe5cf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 21 Mar 2022 16:42:21 +0100 Subject: [PATCH 2115/3036] deps: update dependency org.threeten:threetenbp to v1.6.0 (#767) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.5.2` -> `1.6.0` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.0/compatibility-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.0/confidence-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.0`](https://togithub.com/ThreeTen/threetenbp/releases/v1.6.0) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.5.2...v1.6.0) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 596e53edfa94..4196445a353d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -168,7 +168,7 @@ 1.1.3 4.3 3.0.2 - 1.5.2 + 1.6.0 3.2 2.11.0 2.9.0 From bbf28bca966d92e201ed5d8506f9e5768a51905f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 24 Mar 2022 14:22:12 +0000 Subject: [PATCH 2116/3036] chore(main): release 2.8.1-SNAPSHOT (#622) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index b505e55edb43..30b5519772a4 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 - 2.8.0 + 2.8.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.8.0 + 2.8.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c28fd501051f..590778e9d3f3 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 - 2.8.0 + 2.8.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 70e20a4a0c0f..597ac60f3846 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 - 2.8.0 + 2.8.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.8.0 + 2.8.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.8.0 + 2.8.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ea3619a6af9a..a5399167a360 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 - 2.8.0 + 2.8.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 8349439fd638..b21fb8f67fe9 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 - 2.8.0 + 2.8.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.8.0 + 2.8.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index da7da057dac7..4d97f86a0227 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.8.0:2.8.0 \ No newline at end of file +google-cloud-shared-dependencies:2.8.0:2.8.1-SNAPSHOT \ No newline at end of file From 27b4ef4ece7735ba060950d9614d875d8a471992 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 24 Mar 2022 13:16:14 -0400 Subject: [PATCH 2117/3036] ci: version-check to run only for release-please PR (#632) While updating multiple dependencies in the BOM, it's ok to have inconsistent versions. But we want to ensure the consistent versioning when we make a release of the BOM. I copied the setting from https://github.com/googleapis/java-cloud-bom/blob/main/.github/workflows/full-convergence-check.yaml#L10 --- java-shared-dependencies/.github/workflows/version-check.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java-shared-dependencies/.github/workflows/version-check.yaml b/java-shared-dependencies/.github/workflows/version-check.yaml index b78a560fbc78..7a8ed6fdedb3 100644 --- a/java-shared-dependencies/.github/workflows/version-check.yaml +++ b/java-shared-dependencies/.github/workflows/version-check.yaml @@ -8,6 +8,7 @@ jobs: upper-bound-check: name: Upper-bound check runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main' steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 @@ -25,6 +26,7 @@ jobs: grpc-convergence-check: name: gRPC dependency convergence check runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main' steps: - uses: actions/checkout@v2 - uses: stCarolas/setup-maven@v4 From 6bb17f03ccf35833b0b1c1cc7cda5176c89e4972 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 25 Mar 2022 17:42:23 +0100 Subject: [PATCH 2118/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.8.0 (#770) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.7.4` -> `2.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.0/compatibility-slim/2.7.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.0/confidence-slim/2.7.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.8.0`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​280-httpsgithubcomgoogleapisjava-common-protoscomparev274v280-2022-03-11) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.7.4...v2.8.0) ##### Features - KMS configuration in settings ([#​322](https://togithub.com/googleapis/java-common-protos/issues/322)) ([14ca04e](https://togithub.com/googleapis/java-common-protos/commit/14ca04e78d547cc643f419984747781c8915a261)) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.45.0 ([#​323](https://togithub.com/googleapis/java-common-protos/issues/323)) ([ac71fd9](https://togithub.com/googleapis/java-common-protos/commit/ac71fd90e50498386c559b1e764c948677696ab9)) - update dependency io.grpc:grpc-protobuf to v1.44.1 ([#​324](https://togithub.com/googleapis/java-common-protos/issues/324)) ([7be56a8](https://togithub.com/googleapis/java-common-protos/commit/7be56a87aadcbebc98d3136d8c7f4a54a8fe802d)) - update dependency io.grpc:grpc-protobuf to v1.45.0 ([#​336](https://togithub.com/googleapis/java-common-protos/issues/336)) ([4bbd7a5](https://togithub.com/googleapis/java-common-protos/commit/4bbd7a5d8a57b0f171893e7f1ece6bee9f778f4e)) - update dependency io.grpc:grpc-stub to v1.44.1 ([#​325](https://togithub.com/googleapis/java-common-protos/issues/325)) ([bf00d6a](https://togithub.com/googleapis/java-common-protos/commit/bf00d6a3067df2a6f057be601b27b29accc9d0fb)) - update dependency io.grpc:grpc-stub to v1.45.0 ([#​335](https://togithub.com/googleapis/java-common-protos/issues/335)) ([3dd8e8f](https://togithub.com/googleapis/java-common-protos/commit/3dd8e8f4f9c56e4673b428b4ff43dfc30475c50c)) ##### [2.7.4](https://togithub.com/googleapis/java-common-protos/compare/v2.7.3...v2.7.4) (2022-02-11) ##### Dependencies - update actions/github-script action to v6 ([#​319](https://togithub.com/googleapis/java-common-protos/issues/319)) ([a148f4d](https://togithub.com/googleapis/java-common-protos/commit/a148f4d5ae8a825b8cc3d4bcb1b33d1e94856689)) ##### [2.7.3](https://togithub.com/googleapis/java-common-protos/compare/v2.7.2...v2.7.3) (2022-02-08) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#​309](https://togithub.com/googleapis/java-common-protos/issues/309)) ([c656ba3](https://togithub.com/googleapis/java-common-protos/commit/c656ba38e791cc3a72007299e51a68677e4d8857)) - update dependency com.google.protobuf:protobuf-java to v3.19.4 ([#​308](https://togithub.com/googleapis/java-common-protos/issues/308)) ([effc391](https://togithub.com/googleapis/java-common-protos/commit/effc39190e46d421100cbc46926f4c032a8c3a28)) ##### [2.7.2](https://togithub.com/googleapis/java-common-protos/compare/v2.7.1...v2.7.2) (2022-01-27) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/java-common-protos/issues/1339)) ([#​302](https://togithub.com/googleapis/java-common-protos/issues/302)) ([f958511](https://togithub.com/googleapis/java-common-protos/commit/f958511d71d0a0977ce54a5d66cb5f59fd141455)) - update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#​297](https://togithub.com/googleapis/java-common-protos/issues/297)) ([97a806d](https://togithub.com/googleapis/java-common-protos/commit/97a806d0bcc1c411a5e7df496fbdd856f8e8ff1d)) - update dependency com.google.protobuf:protobuf-java to v3.19.3 ([#​296](https://togithub.com/googleapis/java-common-protos/issues/296)) ([e53db58](https://togithub.com/googleapis/java-common-protos/commit/e53db5802c86070af4bd97835bbc850b1aecf7fe)) - update dependency io.grpc:grpc-bom to v1.43.2 ([#​290](https://togithub.com/googleapis/java-common-protos/issues/290)) ([4bdf68a](https://togithub.com/googleapis/java-common-protos/commit/4bdf68ad19e1b4408f8e76ff9cf0287ed5a72622)) - update dependency io.grpc:grpc-bom to v1.44.0 ([#​306](https://togithub.com/googleapis/java-common-protos/issues/306)) ([7041764](https://togithub.com/googleapis/java-common-protos/commit/70417647603bbffd541164c6e4dc593bb85d374a)) - update dependency io.grpc:grpc-protobuf to v1.43.2 ([#​291](https://togithub.com/googleapis/java-common-protos/issues/291)) ([6832de8](https://togithub.com/googleapis/java-common-protos/commit/6832de8953d49e17c97cae9b714a353a0e085288)) - update dependency io.grpc:grpc-protobuf to v1.44.0 ([#​304](https://togithub.com/googleapis/java-common-protos/issues/304)) ([db429bf](https://togithub.com/googleapis/java-common-protos/commit/db429bfd7325e7f908851eaa920058f2faadc3e1)) - update dependency io.grpc:grpc-stub to v1.43.2 ([#​289](https://togithub.com/googleapis/java-common-protos/issues/289)) ([89c245a](https://togithub.com/googleapis/java-common-protos/commit/89c245a37ce8b62dc3cbd35f9fd07785f64d35b2)) - update dependency io.grpc:grpc-stub to v1.44.0 ([#​305](https://togithub.com/googleapis/java-common-protos/issues/305)) ([a085bac](https://togithub.com/googleapis/java-common-protos/commit/a085bace22b154648f28baa81979804f75245c5d)) ##### [2.7.1](https://www.github.com/googleapis/java-common-protos/compare/v2.7.0...v2.7.1) (2022-01-05) ##### Bug Fixes - **java:** add -ntp flag to native image testing command ([#​1299](https://www.togithub.com/googleapis/java-common-protos/issues/1299)) ([#​272](https://www.togithub.com/googleapis/java-common-protos/issues/272)) ([5683ab6](https://www.github.com/googleapis/java-common-protos/commit/5683ab6b0e59ec252fe1d812ddcf7d682ce55bff)) - **java:** run Maven in plain console-friendly mode ([#​1301](https://www.togithub.com/googleapis/java-common-protos/issues/1301)) ([#​283](https://www.togithub.com/googleapis/java-common-protos/issues/283)) ([82343cc](https://www.github.com/googleapis/java-common-protos/commit/82343cc4aec4ee8b6ddee0b7febfc1e1aac94b4b)) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.19.2 ([#​285](https://www.togithub.com/googleapis/java-common-protos/issues/285)) ([44bb642](https://www.github.com/googleapis/java-common-protos/commit/44bb6421b74ae78b00f890ec319269a891079c60)) - update dependency com.google.protobuf:protobuf-java to v3.19.2 ([#​286](https://www.togithub.com/googleapis/java-common-protos/issues/286)) ([b94f86e](https://www.github.com/googleapis/java-common-protos/commit/b94f86e75260fb00c932fc416fff9c2db6bdb4d3)) - update dependency io.grpc:grpc-bom to v1.43.1 ([#​276](https://www.togithub.com/googleapis/java-common-protos/issues/276)) ([381ec12](https://www.github.com/googleapis/java-common-protos/commit/381ec12454d2179cd46bf290727dce4aace293d6)) - update dependency io.grpc:grpc-protobuf to v1.43.1 ([#​277](https://www.togithub.com/googleapis/java-common-protos/issues/277)) ([c757b6e](https://www.github.com/googleapis/java-common-protos/commit/c757b6e38ff90e5a669155fcf4256ea2a0f88b00)) - update dependency io.grpc:grpc-stub to v1.43.1 ([#​278](https://www.togithub.com/googleapis/java-common-protos/issues/278)) ([702448d](https://www.github.com/googleapis/java-common-protos/commit/702448d6c9c5a592ebc96deb240d56a516c45e85))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4196445a353d..b342c3db7b81 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.12.2 2.1.4 - 2.7.4 + 2.8.0 1.2.10 1.6.0 1.33.2 From e5bf09a323f2118ba6bbafcd95e01d551dfb084d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 25 Mar 2022 17:42:27 +0100 Subject: [PATCH 2119/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.5 (#769) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.4` -> `1.41.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.5/compatibility-slim/1.41.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.5/confidence-slim/1.41.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.5`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1415-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1414v1415-2022-03-21) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.4...v1.41.5)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b342c3db7b81..858f7f7d2959 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.2.10 1.6.0 1.33.2 - 1.41.4 + 1.41.5 22.0.0.2 1.45.0 3.19.4 From 08a700e177232aef33cd2b40fed0edda12aa6319 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 25 Mar 2022 18:02:19 +0100 Subject: [PATCH 2120/3036] deps: update dependency com.google.api:api-common to v2.1.5 (#313) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.1.4` -> `2.1.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.5/compatibility-slim/2.1.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.1.5/confidence-slim/2.1.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.1.5`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​215-httpsgithubcomgoogleapisapi-common-javacomparev214v215-2022-03-23)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index bdf703bb03ee..6be2f6d05494 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.19.4' - compile 'com.google.api:api-common:2.1.4' + compile 'com.google.api:api-common:2.1.5' compile project(':proto-google-common-protos') } From 620d0d94d856901fe34c2c16783fb983b80eefc5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 25 Mar 2022 17:06:15 +0000 Subject: [PATCH 2121/3036] chore(main): release 1.2.11 (#314) :robot: I have created a release *beep* *boop* --- ### [1.2.11](https://github.com/googleapis/java-iam/compare/v1.2.10...v1.2.11) (2022-03-25) ### Dependencies * update dependency com.google.api:api-common to v2.1.5 ([#313](https://github.com/googleapis/java-iam/issues/313)) ([08a700e](https://github.com/googleapis/java-iam/commit/08a700e177232aef33cd2b40fed0edda12aa6319)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 5192c66a4d2f..9b314d2efa33 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.11](https://github.com/googleapis/java-iam/compare/v1.2.10...v1.2.11) (2022-03-25) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.1.5 ([#313](https://github.com/googleapis/java-iam/issues/313)) ([b52eee2](https://github.com/googleapis/java-iam/commit/b52eee23a3b6c2b51bbc19929f58f9c5215fb3f4)) + ### [1.2.10](https://github.com/googleapis/java-iam/compare/v1.2.9...v1.2.10) (2022-03-10) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 4d1ec78300de..76dca1c18f9e 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.2.11-SNAPSHOT + 1.2.11 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.11-SNAPSHOT + 1.2.11 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 92f66b15cbb6..62cf1d1cc90b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.11-SNAPSHOT + 1.2.11 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.11-SNAPSHOT + 1.2.11 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b0f5dc08f74d..8b10b1d7dd15 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.2.11-SNAPSHOT + 1.2.11 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.11-SNAPSHOT + 1.2.11 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index eb094d6e6db0..09a838bbb01f 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.10:1.2.11-SNAPSHOT -grpc-google-iam-v1:1.2.10:1.2.11-SNAPSHOT +proto-google-iam-v1:1.2.11:1.2.11 +grpc-google-iam-v1:1.2.11:1.2.11 From 0ebde696604451df842b019f779bc135f17fe276 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 25 Mar 2022 17:12:15 +0000 Subject: [PATCH 2122/3036] chore(main): release 1.2.12-SNAPSHOT (#315) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 76dca1c18f9e..742959f9dbb7 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.2.11 + 1.2.12-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.11 + 1.2.12-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 62cf1d1cc90b..eeab73247e09 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.11 + 1.2.12-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.11 + 1.2.12-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 8b10b1d7dd15..84b741a9c104 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.2.11 + 1.2.12-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.11 + 1.2.12-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 09a838bbb01f..7aa76b8b6e87 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.11:1.2.11 -grpc-google-iam-v1:1.2.11:1.2.11 +proto-google-iam-v1:1.2.11:1.2.12-SNAPSHOT +grpc-google-iam-v1:1.2.11:1.2.12-SNAPSHOT From 419f8949b8bf842941b6826536b5874634399db8 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Fri, 25 Mar 2022 16:48:21 -0400 Subject: [PATCH 2123/3036] deps: update dependency com.google.guava:guava to 31.1-jre (#772) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 858f7f7d2959..d6a90a136b3d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -163,7 +163,7 @@ 3.19.4 0.31.0 1.3.2 - 31.0.1-jre + 31.1-jre 4.13.2 1.1.3 4.3 From a0968f6f0ff52f38e922b23e9b207a89feb7ddde Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 25 Mar 2022 22:34:55 +0100 Subject: [PATCH 2124/3036] deps: update dependency com.google.api:api-common to v2.1.5 (#768) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d6a90a136b3d..8a3f2b343c53 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.12.2 - 2.1.4 + 2.1.5 2.8.0 1.2.10 1.6.0 From 2937714be3c2e0cdde70f06031925432b37f957d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Mar 2022 16:37:08 +0200 Subject: [PATCH 2125/3036] deps: update dependency com.google.api:gax-bom to v2.13.0 (#774) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8a3f2b343c53..d80ad89fa13a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.12.2 + 2.13.0 2.1.5 2.8.0 1.2.10 From 385e47823824fe4107dae568014fce53ca54a8f4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Mar 2022 21:08:19 +0200 Subject: [PATCH 2126/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.4 (#776) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.33.2` -> `1.33.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.4/compatibility-slim/1.33.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.33.4/confidence-slim/1.33.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.33.4`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1334-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1333v1334-2022-03-28) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.2...v1.33.4)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d80ad89fa13a..3c7ec06a318e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.8.0 1.2.10 1.6.0 - 1.33.2 + 1.33.4 1.41.5 22.0.0.2 1.45.0 From 5a7dc1f522899da2351b6530fef04395da3e34d2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 28 Mar 2022 23:00:54 +0200 Subject: [PATCH 2127/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.2 (#773) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3a8dac36a661..dbe86873a0b4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3c7ec06a318e..8f045b9521f6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 From b5fd9ab0640cd4e0df2ef063e358c25d5a5cac61 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 28 Mar 2022 17:07:27 -0400 Subject: [PATCH 2128/3036] ci: fix downstream check (#777) --- java-core/.github/workflows/downstream.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/.github/workflows/downstream.yaml b/java-core/.github/workflows/downstream.yaml index 8a41a7afcca4..68123113041c 100644 --- a/java-core/.github/workflows/downstream.yaml +++ b/java-core/.github/workflows/downstream.yaml @@ -153,5 +153,6 @@ jobs: with: java-version: ${{matrix.java}} - run: java -version + - run: sudo apt-get update -y - run: sudo apt-get install libxml2-utils - run: .kokoro/downstream-client-library-check.sh google-cloud-core-bom ${{matrix.repo}} From 1851223efa380b6d176004043b981d62716ffd2e Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 28 Mar 2022 17:18:14 -0400 Subject: [PATCH 2129/3036] ci: fix downstream check (#778) --- java-core/.github/workflows/downstream.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/java-core/.github/workflows/downstream.yaml b/java-core/.github/workflows/downstream.yaml index 68123113041c..31c4429a2690 100644 --- a/java-core/.github/workflows/downstream.yaml +++ b/java-core/.github/workflows/downstream.yaml @@ -151,6 +151,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v3 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version - run: sudo apt-get update -y From 7931ecfc31624d5e6c85bd2068760997755e4644 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 17:34:35 -0400 Subject: [PATCH 2130/3036] chore(main): release 2.5.11 (#764) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 20 ++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 36 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 6382267180b0..7694bb9efd27 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +### [2.5.11](https://github.com/googleapis/java-core/compare/v2.5.10...v2.5.11) (2022-03-28) + + +### Bug Fixes + +* **java:** Register Spanner classes for reflection to fix Native Image tests ([#760](https://github.com/googleapis/java-core/issues/760)) ([257de0f](https://github.com/googleapis/java-core/commit/257de0f71963550ce11aca608fdf9a99672ff19a)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#776](https://github.com/googleapis/java-core/issues/776)) ([1b6fb2a](https://github.com/googleapis/java-core/commit/1b6fb2a5b9602f5ff8375deb15f5121851b09bd1)) +* update dependency com.google.api:api-common to v2.1.5 ([#768](https://github.com/googleapis/java-core/issues/768)) ([c76c332](https://github.com/googleapis/java-core/commit/c76c332b5676bffad2a1e75b094790c9b0488447)) +* update dependency com.google.api:gax-bom to v2.13.0 ([#774](https://github.com/googleapis/java-core/issues/774)) ([8075c54](https://github.com/googleapis/java-core/commit/8075c54a127496a5330671652678b03f5abdd5c9)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.8.0 ([#770](https://github.com/googleapis/java-core/issues/770)) ([6809477](https://github.com/googleapis/java-core/commit/680947779ac9bc58f60c6c18750aac6b756e73b2)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.2.10 ([#763](https://github.com/googleapis/java-core/issues/763)) ([9f2eb5f](https://github.com/googleapis/java-core/commit/9f2eb5fed5d9dc91ee01068a2c4eec9acef38c86)) +* update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#765](https://github.com/googleapis/java-core/issues/765)) ([2eb1924](https://github.com/googleapis/java-core/commit/2eb19241f119f39de7d07ee863c9c78a3e7f11a4)) +* update dependency com.google.guava:guava to 31.1-jre ([#772](https://github.com/googleapis/java-core/issues/772)) ([060adf3](https://github.com/googleapis/java-core/commit/060adf35bf6afdd4b31d790e5484f63eac777a11)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#769](https://github.com/googleapis/java-core/issues/769)) ([999be7a](https://github.com/googleapis/java-core/commit/999be7ab10459b33ab001b5bd84d650aeb13313f)) +* update dependency org.threeten:threetenbp to v1.6.0 ([#767](https://github.com/googleapis/java-core/issues/767)) ([9a4a438](https://github.com/googleapis/java-core/commit/9a4a438e04acfd0ec15cdfac5da3610223fe0071)) + ### [2.5.10](https://github.com/googleapis/java-core/compare/v2.5.9...v2.5.10) (2022-03-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index dbe86873a0b4..597dfc494a48 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.11-SNAPSHOT + 2.5.11 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.11-SNAPSHOT + 2.5.11 com.google.cloud google-cloud-core-grpc - 2.5.11-SNAPSHOT + 2.5.11 com.google.cloud google-cloud-core-http - 2.5.11-SNAPSHOT + 2.5.11 com.google.cloud native-image-support - 0.12.11-SNAPSHOT + 0.12.11
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d66e6d854c59..92eadb711521 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.5.11-SNAPSHOT + 2.5.11 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.11-SNAPSHOT + 2.5.11 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 acd2ce2db971..07d8850b8e0b 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.5.11-SNAPSHOT + 2.5.11 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.11-SNAPSHOT + 2.5.11 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 70588eb28f20..a23267a7c2f2 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.5.11-SNAPSHOT + 2.5.11 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.11-SNAPSHOT + 2.5.11 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 24d9bb605b4b..744594fe2f29 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.11-SNAPSHOT + 0.12.11 jar google-cloud-core-parent com.google.cloud - 2.5.11-SNAPSHOT + 2.5.11 diff --git a/java-core/pom.xml b/java-core/pom.xml index 8f045b9521f6..b25f8c179bf5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.11-SNAPSHOT + 2.5.11 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 1c3613d786b1..906d83d5ea45 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.10:2.5.11-SNAPSHOT -native-image-support:0.12.10:0.12.11-SNAPSHOT \ No newline at end of file +google-cloud-core:2.5.11:2.5.11 +native-image-support:0.12.11:0.12.11 \ No newline at end of file From deb19a9cb12054495412ff7f2275ceb25a8cd89b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 21:42:10 +0000 Subject: [PATCH 2131/3036] chore(main): release 2.5.12-SNAPSHOT (#779) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 597dfc494a48..43d556765646 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.11 + 2.5.12-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.11 + 2.5.12-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.5.11 + 2.5.12-SNAPSHOT com.google.cloud google-cloud-core-http - 2.5.11 + 2.5.12-SNAPSHOT com.google.cloud native-image-support - 0.12.11 + 0.12.12-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 92eadb711521..d0011ffa3619 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.5.11 + 2.5.12-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.11 + 2.5.12-SNAPSHOT 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 07d8850b8e0b..da7b01a329fe 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.5.11 + 2.5.12-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.11 + 2.5.12-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a23267a7c2f2..3ef31c23ae6e 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.5.11 + 2.5.12-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.11 + 2.5.12-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 744594fe2f29..d1b6884e0f65 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.11 + 0.12.12-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.5.11 + 2.5.12-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index b25f8c179bf5..2933460b16e9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.11 + 2.5.12-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 906d83d5ea45..6fbd399d285a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.11:2.5.11 -native-image-support:0.12.11:0.12.11 \ No newline at end of file +google-cloud-core:2.5.11:2.5.12-SNAPSHOT +native-image-support:0.12.11:0.12.12-SNAPSHOT \ No newline at end of file From 5a73a9f2c1f237d83dbecdbae75baae63895b08e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 00:58:49 +0200 Subject: [PATCH 2132/3036] deps: update dependency org.threeten:threetenbp to v1.6.0 (#633) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a5399167a360..b19653da0282 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -58,7 +58,7 @@ ${project.artifactId} 2.9.0 - 1.5.2 + 1.6.0 1.3.2 1.21 0.31.0 From 21f6d508df76ab8fad1e78aebcc154cfe9f79c16 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 00:59:52 +0200 Subject: [PATCH 2133/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220324 (#636) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index b19653da0282..3768196ff3ae 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 0.31.0 3.0.2 2.11.0 - 2.13.2 + 2.13.2.20220324 1.15 4.4.15 4.5.13 From e3ea21116fc14411bd2fc994a770a42d542a37f0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 00:59:58 +0200 Subject: [PATCH 2134/3036] deps: update dependency com.google.api:api-common to v2.1.5 (#637) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 590778e9d3f3..668c64b27ab9 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 31.0.1-jre 3.19.4 - 2.1.4 + 2.1.5 2.7.4 2.5.10 1.6.0 From 84ac2c75238e15d5690b3dd5f26e68a582536551 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 01:00:11 +0200 Subject: [PATCH 2135/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.5 (#638) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 668c64b27ab9..3fe4600c4e02 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.7.4 2.5.10 1.6.0 - 1.41.4 + 1.41.5 1.33.1 1.33.2 1.2.10 From 1590bf65d0f8d90ce794bfbbef5f7bbe0deca8d1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 01:01:04 +0200 Subject: [PATCH 2136/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.2 (#640) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3fe4600c4e02..238d71d779cf 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 597ac60f3846..0f3c5d0fd67a 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 3768196ff3ae..7c77b3671da3 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index b21fb8f67fe9..2bda2ee49cf8 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 From e14edea43733e253e2bb43988fbf9f6588594d8c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 01:01:15 +0200 Subject: [PATCH 2137/3036] deps: update gax.version to v2.13.0 (#641) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 238d71d779cf..dda06b07c578 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.45.0 - 2.12.2 + 2.13.0 1.1.0 31.0.1-jre 3.19.4 From f12ba298c859f62dda48f639bc81c0d6d5afdf6f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 01:01:30 +0200 Subject: [PATCH 2138/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.33.4 (#642) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index dda06b07c578..7571d198deb4 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.6.0 1.41.5 1.33.1 - 1.33.2 + 1.33.4 1.2.10 From 7d819cc6af4501c0c28a1fa7cc3af16df25aaa72 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 01:01:41 +0200 Subject: [PATCH 2139/3036] deps: update dependency com.google.cloud:google-cloud-core-bom to v2.5.11 (#644) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 7571d198deb4..3aeb7388c47f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.4 2.1.5 2.7.4 - 2.5.10 + 2.5.11 1.6.0 1.41.5 1.33.1 From bf5dae59c15ea9e1dfe9e2da1ead7230ca0a2b13 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 01:13:19 +0200 Subject: [PATCH 2140/3036] deps: update google.common-protos.version to v2.8.0 (#639) Co-authored-by: Neenu Shaji --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3aeb7388c47f..ee2c5b40dcc3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.0.1-jre 3.19.4 2.1.5 - 2.7.4 + 2.8.0 2.5.11 1.6.0 1.41.5 From aed800b8f884ff593521af05a7e256fc870bf830 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 28 Mar 2022 19:22:12 -0400 Subject: [PATCH 2141/3036] chore: fix downstream check (#643) --- java-shared-dependencies/.github/workflows/downstream.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml index 794de17c025d..4b3d0022de22 100644 --- a/java-shared-dependencies/.github/workflows/downstream.yaml +++ b/java-shared-dependencies/.github/workflows/downstream.yaml @@ -149,9 +149,11 @@ jobs: - workflows steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 with: + distribution: zulu java-version: ${{matrix.java}} - run: java -version + - run: sudo apt-get update -y - run: sudo apt-get install libxml2-utils - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} From f1ba323eade92045ae7b84ccccb96655be5fe2ab Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 28 Mar 2022 19:32:46 -0400 Subject: [PATCH 2142/3036] deps: guava 31.1 (#635) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ee2c5b40dcc3..1854ff8ecdc4 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.45.0 2.13.0 1.1.0 - 31.0.1-jre + 31.1-jre 3.19.4 2.1.5 2.8.0 From 0f2eb3820690a457e54c624a912817e692822eef Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 28 Mar 2022 19:41:53 -0400 Subject: [PATCH 2143/3036] chore(main): release 2.9.0 (#634) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 20 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 30 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index c6534f658a61..73ff8cc8645a 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [2.9.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.8.0...v2.9.0) (2022-03-28) + + +### Dependencies + +* guava 31.1 ([#635](https://github.com/googleapis/java-shared-dependencies/issues/635)) ([0939b06](https://github.com/googleapis/java-shared-dependencies/commit/0939b063a79cd4ffafb49cf04861ce577e35efd6)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2 ([#626](https://github.com/googleapis/java-shared-dependencies/issues/626)) ([6014663](https://github.com/googleapis/java-shared-dependencies/commit/601466339c9631faa88033d1ff1e31582fb67b7b)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220324 ([#636](https://github.com/googleapis/java-shared-dependencies/issues/636)) ([6c833fa](https://github.com/googleapis/java-shared-dependencies/commit/6c833faa7815147013999bfc2bb6935fd8fe6b34)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#642](https://github.com/googleapis/java-shared-dependencies/issues/642)) ([57bd912](https://github.com/googleapis/java-shared-dependencies/commit/57bd9124ce8981b7b3b5d0c87b7c1e5f935b7150)) +* update dependency com.google.api:api-common to v2.1.5 ([#637](https://github.com/googleapis/java-shared-dependencies/issues/637)) ([d3a00fa](https://github.com/googleapis/java-shared-dependencies/commit/d3a00fa5ce9908000122d8365fb2f2d0e388494b)) +* update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#631](https://github.com/googleapis/java-shared-dependencies/issues/631)) ([53dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/53dc7c2fe255a6c7ca059dd414449bf96780f936)) +* update dependency com.google.cloud:google-cloud-core-bom to v2.5.11 ([#644](https://github.com/googleapis/java-shared-dependencies/issues/644)) ([4331dcc](https://github.com/googleapis/java-shared-dependencies/commit/4331dcc331e8377fcc57e5404321611186ca22cb)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#638](https://github.com/googleapis/java-shared-dependencies/issues/638)) ([e007d23](https://github.com/googleapis/java-shared-dependencies/commit/e007d2381bd388a1c199fc3f31d0b965f8ae592d)) +* update dependency io.grpc:grpc-bom to v1.45.0 ([#630](https://github.com/googleapis/java-shared-dependencies/issues/630)) ([20334e3](https://github.com/googleapis/java-shared-dependencies/commit/20334e30d256897cd7ef52c646e5c4549cd7ae69)) +* update dependency org.threeten:threetenbp to v1.6.0 ([#633](https://github.com/googleapis/java-shared-dependencies/issues/633)) ([1a2716d](https://github.com/googleapis/java-shared-dependencies/commit/1a2716d22e442c5cd6adea9449756b9ac3ddbf8e)) +* update gax.version to v2.13.0 ([#641](https://github.com/googleapis/java-shared-dependencies/issues/641)) ([b863746](https://github.com/googleapis/java-shared-dependencies/commit/b863746727fadd45c35198f58eb862f47fe14945)) +* update google.common-protos.version to v2.8.0 ([#639](https://github.com/googleapis/java-shared-dependencies/issues/639)) ([252afba](https://github.com/googleapis/java-shared-dependencies/commit/252afba1df8e4cfdf2574d127097b0978b7778c0)) +* update google.core.version to v2.5.10 ([#628](https://github.com/googleapis/java-shared-dependencies/issues/628)) ([fec6f51](https://github.com/googleapis/java-shared-dependencies/commit/fec6f5121384a04a389bad6f6477a9a5ce468016)) +* update iam.version to v1.2.10 ([#625](https://github.com/googleapis/java-shared-dependencies/issues/625)) ([0d7ca29](https://github.com/googleapis/java-shared-dependencies/commit/0d7ca2924bd24abe14883c173156bb4dc5fb90bf)) + ## [2.8.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.7.0...v2.8.0) (2022-03-02) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 30b5519772a4..0c5eaa006d8a 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 - 2.8.1-SNAPSHOT + 2.9.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.8.1-SNAPSHOT + 2.9.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1854ff8ecdc4..23a18891ad40 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 - 2.8.1-SNAPSHOT + 2.9.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0f3c5d0fd67a..efdcf8e1683d 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 - 2.8.1-SNAPSHOT + 2.9.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.8.1-SNAPSHOT + 2.9.0 pom import com.google.cloud third-party-dependencies - 2.8.1-SNAPSHOT + 2.9.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 7c77b3671da3..584fed3e2a08 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 - 2.8.1-SNAPSHOT + 2.9.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 2bda2ee49cf8..8aa0a52f39d5 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 - 2.8.1-SNAPSHOT + 2.9.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.8.1-SNAPSHOT + 2.9.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 4d97f86a0227..f984d697572b 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.8.0:2.8.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.9.0:2.9.0 \ No newline at end of file From 949bcb3ffc9e7d8c5cd65bec9c82c27baca7ae9a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 19:02:31 +0200 Subject: [PATCH 2144/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.2 (#317) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.0` -> `1.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.2/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.2/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.3.2`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​132-httpsgithubcomgoogleapisjava-shared-configcomparev131v132-2022-03-28) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.1...v1.3.2) ### [`v1.3.1`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​131-httpsgithubcomgoogleapisjava-shared-configcomparev130v131-2022-03-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.0...v1.3.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index eeab73247e09..bdc4239088cc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.0 + 1.3.2 From d8568bb247bf580085c743c8ca9549cac502b977 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 29 Mar 2022 20:10:16 +0200 Subject: [PATCH 2145/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 (#318) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.8.0` -> `2.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.9.0/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.9.0/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.9.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​290-httpsgithubcomgoogleapisjava-shared-dependenciescomparev280v290-2022-03-28) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.8.0...v2.9.0) ##### Dependencies - guava 31.1 ([#​635](https://togithub.com/googleapis/java-shared-dependencies/issues/635)) ([0939b06](https://togithub.com/googleapis/java-shared-dependencies/commit/0939b063a79cd4ffafb49cf04861ce577e35efd6)) - update dependency com.fasterxml.jackson:jackson-bom to v2.13.2 ([#​626](https://togithub.com/googleapis/java-shared-dependencies/issues/626)) ([6014663](https://togithub.com/googleapis/java-shared-dependencies/commit/601466339c9631faa88033d1ff1e31582fb67b7b)) - update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220324 ([#​636](https://togithub.com/googleapis/java-shared-dependencies/issues/636)) ([6c833fa](https://togithub.com/googleapis/java-shared-dependencies/commit/6c833faa7815147013999bfc2bb6935fd8fe6b34)) - update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#​642](https://togithub.com/googleapis/java-shared-dependencies/issues/642)) ([57bd912](https://togithub.com/googleapis/java-shared-dependencies/commit/57bd9124ce8981b7b3b5d0c87b7c1e5f935b7150)) - update dependency com.google.api:api-common to v2.1.5 ([#​637](https://togithub.com/googleapis/java-shared-dependencies/issues/637)) ([d3a00fa](https://togithub.com/googleapis/java-shared-dependencies/commit/d3a00fa5ce9908000122d8365fb2f2d0e388494b)) - update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#​631](https://togithub.com/googleapis/java-shared-dependencies/issues/631)) ([53dc7c2](https://togithub.com/googleapis/java-shared-dependencies/commit/53dc7c2fe255a6c7ca059dd414449bf96780f936)) - update dependency com.google.cloud:google-cloud-core-bom to v2.5.11 ([#​644](https://togithub.com/googleapis/java-shared-dependencies/issues/644)) ([4331dcc](https://togithub.com/googleapis/java-shared-dependencies/commit/4331dcc331e8377fcc57e5404321611186ca22cb)) - update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#​638](https://togithub.com/googleapis/java-shared-dependencies/issues/638)) ([e007d23](https://togithub.com/googleapis/java-shared-dependencies/commit/e007d2381bd388a1c199fc3f31d0b965f8ae592d)) - update dependency io.grpc:grpc-bom to v1.45.0 ([#​630](https://togithub.com/googleapis/java-shared-dependencies/issues/630)) ([20334e3](https://togithub.com/googleapis/java-shared-dependencies/commit/20334e30d256897cd7ef52c646e5c4549cd7ae69)) - update dependency org.threeten:threetenbp to v1.6.0 ([#​633](https://togithub.com/googleapis/java-shared-dependencies/issues/633)) ([1a2716d](https://togithub.com/googleapis/java-shared-dependencies/commit/1a2716d22e442c5cd6adea9449756b9ac3ddbf8e)) - update gax.version to v2.13.0 ([#​641](https://togithub.com/googleapis/java-shared-dependencies/issues/641)) ([b863746](https://togithub.com/googleapis/java-shared-dependencies/commit/b863746727fadd45c35198f58eb862f47fe14945)) - update google.common-protos.version to v2.8.0 ([#​639](https://togithub.com/googleapis/java-shared-dependencies/issues/639)) ([252afba](https://togithub.com/googleapis/java-shared-dependencies/commit/252afba1df8e4cfdf2574d127097b0978b7778c0)) - update google.core.version to v2.5.10 ([#​628](https://togithub.com/googleapis/java-shared-dependencies/issues/628)) ([fec6f51](https://togithub.com/googleapis/java-shared-dependencies/commit/fec6f5121384a04a389bad6f6477a9a5ce468016)) - update iam.version to v1.2.10 ([#​625](https://togithub.com/googleapis/java-shared-dependencies/issues/625)) ([0d7ca29](https://togithub.com/googleapis/java-shared-dependencies/commit/0d7ca2924bd24abe14883c173156bb4dc5fb90bf))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bdc4239088cc..520b69bde29b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.8.0 + 2.9.0 pom import From 517855b815605727781679756eb9109c296bb7a5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 29 Mar 2022 18:26:33 +0000 Subject: [PATCH 2146/3036] chore(main): release 1.2.12 (#319) :robot: I have created a release *beep* *boop* --- ### [1.2.12](https://github.com/googleapis/java-iam/compare/v1.2.11...v1.2.12) (2022-03-29) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#318](https://github.com/googleapis/java-iam/issues/318)) ([d8568bb](https://github.com/googleapis/java-iam/commit/d8568bb247bf580085c743c8ca9549cac502b977)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 9b314d2efa33..44f62dcfe70d 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.2.12](https://github.com/googleapis/java-iam/compare/v1.2.11...v1.2.12) (2022-03-29) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.9.0 ([#318](https://github.com/googleapis/java-iam/issues/318)) ([9c856cb](https://github.com/googleapis/java-iam/commit/9c856cb07e8bea3fb50d627afb6dc054cc8859b2)) + ### [1.2.11](https://github.com/googleapis/java-iam/compare/v1.2.10...v1.2.11) (2022-03-25) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 742959f9dbb7..e30df3ecf342 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.2.12-SNAPSHOT + 1.2.12 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.12-SNAPSHOT + 1.2.12 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 520b69bde29b..8e9f712ddeba 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.12-SNAPSHOT + 1.2.12 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.12-SNAPSHOT + 1.2.12 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 84b741a9c104..34e99dfef7e9 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.2.12-SNAPSHOT + 1.2.12 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.12-SNAPSHOT + 1.2.12 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7aa76b8b6e87..351b1f51e9b0 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.11:1.2.12-SNAPSHOT -grpc-google-iam-v1:1.2.11:1.2.12-SNAPSHOT +proto-google-iam-v1:1.2.12:1.2.12 +grpc-google-iam-v1:1.2.12:1.2.12 From 623622e53e2d708d26d3fb5fb1df826e625db6b4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 29 Mar 2022 23:08:27 +0000 Subject: [PATCH 2147/3036] chore(main): release 1.2.13-SNAPSHOT (#320) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e30df3ecf342..c55aac642f0f 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.2.12 + 1.2.13-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.12 + 1.2.13-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 8e9f712ddeba..0a4ef06c52a3 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.12 + 1.2.13-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.12 + 1.2.13-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 34e99dfef7e9..628132191eb8 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.2.12 + 1.2.13-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.12 + 1.2.13-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 351b1f51e9b0..838f0c0601bf 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.12:1.2.12 -grpc-google-iam-v1:1.2.12:1.2.12 +proto-google-iam-v1:1.2.12:1.2.13-SNAPSHOT +grpc-google-iam-v1:1.2.12:1.2.13-SNAPSHOT From fa0712573dc80a15fc74bea6aaf52a2d7b46b660 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Fri, 1 Apr 2022 15:55:21 -0400 Subject: [PATCH 2148/3036] fix(java): register test class for reflection to fix native image test (#766) * fix(java): register test class for reflection to fix native image test --- .../features/clients/SpannerFeature.java | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java index 7c9fca142163..956f368dacf6 100644 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java +++ b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java @@ -29,6 +29,7 @@ final class SpannerFeature implements Feature { private static final String SPANNER_CLASS = "com.google.spanner.v1.SpannerGrpc"; private static final String SPANNER_TEST_CLASS = "com.google.cloud.spanner.GceTestEnvConfig"; + private static final String MOCK_CLASS = "com.google.cloud.spanner.MockDatabaseAdminServiceImpl"; private static final String CLIENT_SIDE_IMPL_CLASS = "com.google.cloud.spanner.connection.ClientSideStatementImpl"; private static final String CLIENT_SIDE_VALUE_CONVERTER = @@ -50,10 +51,7 @@ final class SpannerFeature implements Feature { @Override public void beforeAnalysis(BeforeAnalysisAccess access) { - Class spannerTestClass = access.findClassByName(SPANNER_TEST_CLASS); - if (spannerTestClass != null) { - NativeImageUtils.registerConstructorsForReflection(access, SPANNER_TEST_CLASS); - } + registerSpannerTestClasses(access); if (access.findClassByName(CLIENT_SIDE_IMPL_CLASS) != null) { NativeImageUtils.registerClassHierarchyForReflection(access, CLIENT_SIDE_IMPL_CLASS); } @@ -103,4 +101,16 @@ public void beforeAnalysis(BeforeAnalysisAccess access) { "\\Qcom/google/cloud/spanner/connection/ITSqlScriptTest_TestQueryOptions.sql\\E"); } } + + private void registerSpannerTestClasses(BeforeAnalysisAccess access) { + Class spannerTestClass = access.findClassByName(SPANNER_TEST_CLASS); + if (spannerTestClass != null) { + NativeImageUtils.registerConstructorsForReflection(access, SPANNER_TEST_CLASS); + } + Class mockClass = access.findClassByName(MOCK_CLASS); + if (mockClass != null) { + NativeImageUtils.registerClassForReflection( + access, "com.google.cloud.spanner.MockDatabaseAdminServiceImpl$MockBackup"); + } + } } From 7f895962bbae0fa53c4aa9c239f04c69b969502f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 5 Apr 2022 17:21:26 -0400 Subject: [PATCH 2149/3036] feat: AuditConfig for IAM v1 (#325) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: AuditConfig for IAM v1 PiperOrigin-RevId: 439356405 Source-Link: https://github.com/googleapis/googleapis/commit/afa2ba156bd5c83ad8168030ab801a8ca84ac819 Source-Link: https://github.com/googleapis/googleapis-gen/commit/3e40c17e1510c95fab58fc2143ccb61cceca5989 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2U0MGMxN2UxNTEwYzk1ZmFiNThmYzIxNDNjY2I2MWNjZWNhNTk4OSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../java/com/google/iam/v1/IAMPolicyGrpc.java | 22 +- .../java/com/google/iam/v1/AuditConfig.java | 1227 +++++++++++++++++ .../google/iam/v1/AuditConfigOrBuilder.java | 106 ++ .../com/google/iam/v1/AuditLogConfig.java | 1116 +++++++++++++++ .../iam/v1/AuditLogConfigOrBuilder.java | 109 ++ .../main/java/com/google/iam/v1/Binding.java | 397 +++++- .../com/google/iam/v1/BindingOrBuilder.java | 113 +- .../google/iam/v1/GetIamPolicyRequest.java | 24 +- .../iam/v1/GetIamPolicyRequestOrBuilder.java | 6 +- .../com/google/iam/v1/GetPolicyOptions.java | 64 +- .../iam/v1/GetPolicyOptionsOrBuilder.java | 16 +- .../com/google/iam/v1/IamPolicyProto.java | 70 +- .../java/com/google/iam/v1/OptionsProto.java | 18 +- .../main/java/com/google/iam/v1/Policy.java | 979 ++++++++++--- .../com/google/iam/v1/PolicyOrBuilder.java | 146 +- .../java/com/google/iam/v1/PolicyProto.java | 85 +- .../google/iam/v1/SetIamPolicyRequest.java | 308 +++++ .../iam/v1/SetIamPolicyRequestOrBuilder.java | 44 + 18 files changed, 4477 insertions(+), 373 deletions(-) create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java create mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java index 53e66232afcd..dc9f5653e5f7 100644 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java @@ -21,7 +21,7 @@ * * *
    - * ## API Overview
    + * API Overview
      * Manages Identity and Access Management (IAM) policies.
      * Any implementation of an API that offers access control features
      * implements the google.iam.v1.IAMPolicy interface.
    @@ -215,7 +215,7 @@ public IAMPolicyFutureStub newStub(
        *
        *
        * 
    -   * ## API Overview
    +   * API Overview
        * Manages Identity and Access Management (IAM) policies.
        * Any implementation of an API that offers access control features
        * implements the google.iam.v1.IAMPolicy interface.
    @@ -243,6 +243,7 @@ public abstract static class IAMPolicyImplBase implements io.grpc.BindableServic
          * 
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
    +     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
          * 
    */ public void setIamPolicy( @@ -274,7 +275,7 @@ public void getIamPolicy( *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    -     * permissions, not a NOT_FOUND error.
    +     * permissions, not a `NOT_FOUND` error.
          * Note: This operation is designed to be used for building permission-aware
          * UIs and command-line tools, not for authorization checking. This operation
          * may "fail open" without warning.
    @@ -318,7 +319,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
        *
        *
        * 
    -   * ## API Overview
    +   * API Overview
        * Manages Identity and Access Management (IAM) policies.
        * Any implementation of an API that offers access control features
        * implements the google.iam.v1.IAMPolicy interface.
    @@ -354,6 +355,7 @@ protected IAMPolicyStub build(io.grpc.Channel channel, io.grpc.CallOptions callO
          * 
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
    +     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
          * 
    */ public void setIamPolicy( @@ -389,7 +391,7 @@ public void getIamPolicy( *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    -     * permissions, not a NOT_FOUND error.
    +     * permissions, not a `NOT_FOUND` error.
          * Note: This operation is designed to be used for building permission-aware
          * UIs and command-line tools, not for authorization checking. This operation
          * may "fail open" without warning.
    @@ -410,7 +412,7 @@ public void testIamPermissions(
        *
        *
        * 
    -   * ## API Overview
    +   * API Overview
        * Manages Identity and Access Management (IAM) policies.
        * Any implementation of an API that offers access control features
        * implements the google.iam.v1.IAMPolicy interface.
    @@ -448,6 +450,7 @@ protected IAMPolicyBlockingStub build(
          * 
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
    +     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
          * 
    */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { @@ -475,7 +478,7 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    -     * permissions, not a NOT_FOUND error.
    +     * permissions, not a `NOT_FOUND` error.
          * Note: This operation is designed to be used for building permission-aware
          * UIs and command-line tools, not for authorization checking. This operation
          * may "fail open" without warning.
    @@ -492,7 +495,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
        *
        *
        * 
    -   * ## API Overview
    +   * API Overview
        * Manages Identity and Access Management (IAM) policies.
        * Any implementation of an API that offers access control features
        * implements the google.iam.v1.IAMPolicy interface.
    @@ -529,6 +532,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions
          * 
          * Sets the access control policy on the specified resource. Replaces any
          * existing policy.
    +     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture @@ -558,7 +562,7 @@ protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions *
          * Returns permissions that a caller has on the specified resource.
          * If the resource does not exist, this will return an empty set of
    -     * permissions, not a NOT_FOUND error.
    +     * permissions, not a `NOT_FOUND` error.
          * Note: This operation is designed to be used for building permission-aware
          * UIs and command-line tools, not for authorization checking. This operation
          * may "fail open" without warning.
    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
    new file mode 100644
    index 000000000000..eb28aad02cfb
    --- /dev/null
    +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java
    @@ -0,0 +1,1227 @@
    +/*
    + * 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.
    + */
    +// Generated by the protocol buffer compiler.  DO NOT EDIT!
    +// source: google/iam/v1/policy.proto
    +
    +package com.google.iam.v1;
    +
    +/**
    + *
    + *
    + * 
    + * Specifies the audit configuration for a service.
    + * 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": [
    + *         {
    + *           "service": "allServices",
    + *           "audit_log_configs": [
    + *             {
    + *               "log_type": "DATA_READ",
    + *               "exempted_members": [
    + *                 "user:jose@example.com"
    + *               ]
    + *             },
    + *             {
    + *               "log_type": "DATA_WRITE"
    + *             },
    + *             {
    + *               "log_type": "ADMIN_READ"
    + *             }
    + *           ]
    + *         },
    + *         {
    + *           "service": "sampleservice.googleapis.com",
    + *           "audit_log_configs": [
    + *             {
    + *               "log_type": "DATA_READ"
    + *             },
    + *             {
    + *               "log_type": "DATA_WRITE",
    + *               "exempted_members": [
    + *                 "user:aliya@example.com"
    + *               ]
    + *             }
    + *           ]
    + *         }
    + *       ]
    + *     }
    + * 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.
    + * 
    + * + * Protobuf type {@code google.iam.v1.AuditConfig} + */ +public final class AuditConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v1.AuditConfig) + AuditConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use AuditConfig.newBuilder() to construct. + private AuditConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AuditConfig() { + service_ = ""; + auditLogConfigs_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AuditConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AuditConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + service_ = s; + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + auditLogConfigs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + auditLogConfigs_.add( + input.readMessage(com.google.iam.v1.AuditLogConfig.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + auditLogConfigs_ = java.util.Collections.unmodifiableList(auditLogConfigs_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto + .internal_static_google_iam_v1_AuditConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.AuditConfig.class, com.google.iam.v1.AuditConfig.Builder.class); + } + + public static final int SERVICE_FIELD_NUMBER = 1; + private volatile java.lang.Object service_; + /** + * + * + *
    +   * Specifies a service that will be enabled for audit logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * 
    + * + * string service = 1; + * + * @return The service. + */ + @java.lang.Override + public java.lang.String getService() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } + } + /** + * + * + *
    +   * Specifies a service that will be enabled for audit logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * 
    + * + * string service = 1; + * + * @return The bytes for service. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUDIT_LOG_CONFIGS_FIELD_NUMBER = 3; + private java.util.List auditLogConfigs_; + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + @java.lang.Override + public java.util.List getAuditLogConfigsList() { + return auditLogConfigs_; + } + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + @java.lang.Override + public java.util.List + getAuditLogConfigsOrBuilderList() { + return auditLogConfigs_; + } + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + @java.lang.Override + public int getAuditLogConfigsCount() { + return auditLogConfigs_.size(); + } + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + @java.lang.Override + public com.google.iam.v1.AuditLogConfig getAuditLogConfigs(int index) { + return auditLogConfigs_.get(index); + } + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + @java.lang.Override + public com.google.iam.v1.AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index) { + return auditLogConfigs_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); + } + for (int i = 0; i < auditLogConfigs_.size(); i++) { + output.writeMessage(3, auditLogConfigs_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, service_); + } + for (int i = 0; i < auditLogConfigs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, auditLogConfigs_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.AuditConfig)) { + return super.equals(obj); + } + com.google.iam.v1.AuditConfig other = (com.google.iam.v1.AuditConfig) obj; + + if (!getService().equals(other.getService())) return false; + if (!getAuditLogConfigsList().equals(other.getAuditLogConfigsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + if (getAuditLogConfigsCount() > 0) { + hash = (37 * hash) + AUDIT_LOG_CONFIGS_FIELD_NUMBER; + hash = (53 * hash) + getAuditLogConfigsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.AuditConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v1.AuditConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v1.AuditConfig parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v1.AuditConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v1.AuditConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v1.AuditConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v1.AuditConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v1.AuditConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v1.AuditConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v1.AuditConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v1.AuditConfig parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v1.AuditConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v1.AuditConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Specifies the audit configuration for a service.
    +   * 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": [
    +   *         {
    +   *           "service": "allServices",
    +   *           "audit_log_configs": [
    +   *             {
    +   *               "log_type": "DATA_READ",
    +   *               "exempted_members": [
    +   *                 "user:jose@example.com"
    +   *               ]
    +   *             },
    +   *             {
    +   *               "log_type": "DATA_WRITE"
    +   *             },
    +   *             {
    +   *               "log_type": "ADMIN_READ"
    +   *             }
    +   *           ]
    +   *         },
    +   *         {
    +   *           "service": "sampleservice.googleapis.com",
    +   *           "audit_log_configs": [
    +   *             {
    +   *               "log_type": "DATA_READ"
    +   *             },
    +   *             {
    +   *               "log_type": "DATA_WRITE",
    +   *               "exempted_members": [
    +   *                 "user:aliya@example.com"
    +   *               ]
    +   *             }
    +   *           ]
    +   *         }
    +   *       ]
    +   *     }
    +   * 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.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.AuditConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.AuditConfig) + com.google.iam.v1.AuditConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto + .internal_static_google_iam_v1_AuditConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.AuditConfig.class, com.google.iam.v1.AuditConfig.Builder.class); + } + + // Construct using com.google.iam.v1.AuditConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getAuditLogConfigsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + service_ = ""; + + if (auditLogConfigsBuilder_ == null) { + auditLogConfigs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + auditLogConfigsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor; + } + + @java.lang.Override + public com.google.iam.v1.AuditConfig getDefaultInstanceForType() { + return com.google.iam.v1.AuditConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v1.AuditConfig build() { + com.google.iam.v1.AuditConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v1.AuditConfig buildPartial() { + com.google.iam.v1.AuditConfig result = new com.google.iam.v1.AuditConfig(this); + int from_bitField0_ = bitField0_; + result.service_ = service_; + if (auditLogConfigsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + auditLogConfigs_ = java.util.Collections.unmodifiableList(auditLogConfigs_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.auditLogConfigs_ = auditLogConfigs_; + } else { + result.auditLogConfigs_ = auditLogConfigsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.AuditConfig) { + return mergeFrom((com.google.iam.v1.AuditConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.AuditConfig other) { + if (other == com.google.iam.v1.AuditConfig.getDefaultInstance()) return this; + if (!other.getService().isEmpty()) { + service_ = other.service_; + onChanged(); + } + if (auditLogConfigsBuilder_ == null) { + if (!other.auditLogConfigs_.isEmpty()) { + if (auditLogConfigs_.isEmpty()) { + auditLogConfigs_ = other.auditLogConfigs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.addAll(other.auditLogConfigs_); + } + onChanged(); + } + } else { + if (!other.auditLogConfigs_.isEmpty()) { + if (auditLogConfigsBuilder_.isEmpty()) { + auditLogConfigsBuilder_.dispose(); + auditLogConfigsBuilder_ = null; + auditLogConfigs_ = other.auditLogConfigs_; + bitField0_ = (bitField0_ & ~0x00000001); + auditLogConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAuditLogConfigsFieldBuilder() + : null; + } else { + auditLogConfigsBuilder_.addAllMessages(other.auditLogConfigs_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.AuditConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.AuditConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object service_ = ""; + /** + * + * + *
    +     * Specifies a service that will be enabled for audit logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * 
    + * + * string service = 1; + * + * @return The service. + */ + public java.lang.String getService() { + java.lang.Object ref = service_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Specifies a service that will be enabled for audit logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * 
    + * + * string service = 1; + * + * @return The bytes for service. + */ + public com.google.protobuf.ByteString getServiceBytes() { + java.lang.Object ref = service_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Specifies a service that will be enabled for audit logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * 
    + * + * string service = 1; + * + * @param value The service to set. + * @return This builder for chaining. + */ + public Builder setService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + service_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies a service that will be enabled for audit logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * 
    + * + * string service = 1; + * + * @return This builder for chaining. + */ + public Builder clearService() { + + service_ = getDefaultInstance().getService(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies a service that will be enabled for audit logging.
    +     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +     * `allServices` is a special value that covers all services.
    +     * 
    + * + * string service = 1; + * + * @param value The bytes for service to set. + * @return This builder for chaining. + */ + public Builder setServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + service_ = value; + onChanged(); + return this; + } + + private java.util.List auditLogConfigs_ = + java.util.Collections.emptyList(); + + private void ensureAuditLogConfigsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + auditLogConfigs_ = + new java.util.ArrayList(auditLogConfigs_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditLogConfig, + com.google.iam.v1.AuditLogConfig.Builder, + com.google.iam.v1.AuditLogConfigOrBuilder> + auditLogConfigsBuilder_; + + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public java.util.List getAuditLogConfigsList() { + if (auditLogConfigsBuilder_ == null) { + return java.util.Collections.unmodifiableList(auditLogConfigs_); + } else { + return auditLogConfigsBuilder_.getMessageList(); + } + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public int getAuditLogConfigsCount() { + if (auditLogConfigsBuilder_ == null) { + return auditLogConfigs_.size(); + } else { + return auditLogConfigsBuilder_.getCount(); + } + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public com.google.iam.v1.AuditLogConfig getAuditLogConfigs(int index) { + if (auditLogConfigsBuilder_ == null) { + return auditLogConfigs_.get(index); + } else { + return auditLogConfigsBuilder_.getMessage(index); + } + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder setAuditLogConfigs(int index, com.google.iam.v1.AuditLogConfig value) { + if (auditLogConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.set(index, value); + onChanged(); + } else { + auditLogConfigsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder setAuditLogConfigs( + int index, com.google.iam.v1.AuditLogConfig.Builder builderForValue) { + if (auditLogConfigsBuilder_ == null) { + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.set(index, builderForValue.build()); + onChanged(); + } else { + auditLogConfigsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder addAuditLogConfigs(com.google.iam.v1.AuditLogConfig value) { + if (auditLogConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.add(value); + onChanged(); + } else { + auditLogConfigsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder addAuditLogConfigs(int index, com.google.iam.v1.AuditLogConfig value) { + if (auditLogConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.add(index, value); + onChanged(); + } else { + auditLogConfigsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder addAuditLogConfigs(com.google.iam.v1.AuditLogConfig.Builder builderForValue) { + if (auditLogConfigsBuilder_ == null) { + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.add(builderForValue.build()); + onChanged(); + } else { + auditLogConfigsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder addAuditLogConfigs( + int index, com.google.iam.v1.AuditLogConfig.Builder builderForValue) { + if (auditLogConfigsBuilder_ == null) { + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.add(index, builderForValue.build()); + onChanged(); + } else { + auditLogConfigsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder addAllAuditLogConfigs( + java.lang.Iterable values) { + if (auditLogConfigsBuilder_ == null) { + ensureAuditLogConfigsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auditLogConfigs_); + onChanged(); + } else { + auditLogConfigsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder clearAuditLogConfigs() { + if (auditLogConfigsBuilder_ == null) { + auditLogConfigs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + auditLogConfigsBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public Builder removeAuditLogConfigs(int index) { + if (auditLogConfigsBuilder_ == null) { + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.remove(index); + onChanged(); + } else { + auditLogConfigsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public com.google.iam.v1.AuditLogConfig.Builder getAuditLogConfigsBuilder(int index) { + return getAuditLogConfigsFieldBuilder().getBuilder(index); + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public com.google.iam.v1.AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index) { + if (auditLogConfigsBuilder_ == null) { + return auditLogConfigs_.get(index); + } else { + return auditLogConfigsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public java.util.List + getAuditLogConfigsOrBuilderList() { + if (auditLogConfigsBuilder_ != null) { + return auditLogConfigsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(auditLogConfigs_); + } + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public com.google.iam.v1.AuditLogConfig.Builder addAuditLogConfigsBuilder() { + return getAuditLogConfigsFieldBuilder() + .addBuilder(com.google.iam.v1.AuditLogConfig.getDefaultInstance()); + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public com.google.iam.v1.AuditLogConfig.Builder addAuditLogConfigsBuilder(int index) { + return getAuditLogConfigsFieldBuilder() + .addBuilder(index, com.google.iam.v1.AuditLogConfig.getDefaultInstance()); + } + /** + * + * + *
    +     * The configuration for logging of each type of permission.
    +     * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + public java.util.List + getAuditLogConfigsBuilderList() { + return getAuditLogConfigsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditLogConfig, + com.google.iam.v1.AuditLogConfig.Builder, + com.google.iam.v1.AuditLogConfigOrBuilder> + getAuditLogConfigsFieldBuilder() { + if (auditLogConfigsBuilder_ == null) { + auditLogConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditLogConfig, + com.google.iam.v1.AuditLogConfig.Builder, + com.google.iam.v1.AuditLogConfigOrBuilder>( + auditLogConfigs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + auditLogConfigs_ = null; + } + return auditLogConfigsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v1.AuditConfig) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.AuditConfig) + private static final com.google.iam.v1.AuditConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v1.AuditConfig(); + } + + public static com.google.iam.v1.AuditConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v1.AuditConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java new file mode 100644 index 000000000000..06911aaf2b9c --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java @@ -0,0 +1,106 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public interface AuditConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Specifies a service that will be enabled for audit logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * 
    + * + * string service = 1; + * + * @return The service. + */ + java.lang.String getService(); + /** + * + * + *
    +   * Specifies a service that will be enabled for audit logging.
    +   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    +   * `allServices` is a special value that covers all services.
    +   * 
    + * + * string service = 1; + * + * @return The bytes for service. + */ + com.google.protobuf.ByteString getServiceBytes(); + + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + java.util.List getAuditLogConfigsList(); + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + com.google.iam.v1.AuditLogConfig getAuditLogConfigs(int index); + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + int getAuditLogConfigsCount(); + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + java.util.List + getAuditLogConfigsOrBuilderList(); + /** + * + * + *
    +   * The configuration for logging of each type of permission.
    +   * 
    + * + * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; + */ + com.google.iam.v1.AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index); +} 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 new file mode 100644 index 000000000000..a6f3a720c2a3 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java @@ -0,0 +1,1116 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +/** + * + * + *
    + * Provides the configuration for logging a type of permissions.
    + * Example:
    + *     {
    + *       "audit_log_configs": [
    + *         {
    + *           "log_type": "DATA_READ",
    + *           "exempted_members": [
    + *             "user:jose@example.com"
    + *           ]
    + *         },
    + *         {
    + *           "log_type": "DATA_WRITE"
    + *         }
    + *       ]
    + *     }
    + * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
    + * jose@example.com from DATA_READ logging.
    + * 
    + * + * Protobuf type {@code google.iam.v1.AuditLogConfig} + */ +public final class AuditLogConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v1.AuditLogConfig) + AuditLogConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use AuditLogConfig.newBuilder() to construct. + private AuditLogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AuditLogConfig() { + logType_ = 0; + exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AuditLogConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AuditLogConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + int rawValue = input.readEnum(); + + logType_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + exemptedMembers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + exemptedMembers_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + exemptedMembers_ = exemptedMembers_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditLogConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto + .internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.AuditLogConfig.class, com.google.iam.v1.AuditLogConfig.Builder.class); + } + + /** + * + * + *
    +   * The list of valid permission types for which logging can be configured.
    +   * Admin writes are always logged, and are not configurable.
    +   * 
    + * + * Protobuf enum {@code google.iam.v1.AuditLogConfig.LogType} + */ + public enum LogType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * Default case. Should never be this.
    +     * 
    + * + * LOG_TYPE_UNSPECIFIED = 0; + */ + LOG_TYPE_UNSPECIFIED(0), + /** + * + * + *
    +     * Admin reads. Example: CloudIAM getIamPolicy
    +     * 
    + * + * ADMIN_READ = 1; + */ + ADMIN_READ(1), + /** + * + * + *
    +     * Data writes. Example: CloudSQL Users create
    +     * 
    + * + * DATA_WRITE = 2; + */ + DATA_WRITE(2), + /** + * + * + *
    +     * Data reads. Example: CloudSQL Users list
    +     * 
    + * + * DATA_READ = 3; + */ + DATA_READ(3), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
    +     * Default case. Should never be this.
    +     * 
    + * + * LOG_TYPE_UNSPECIFIED = 0; + */ + public static final int LOG_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
    +     * Admin reads. Example: CloudIAM getIamPolicy
    +     * 
    + * + * ADMIN_READ = 1; + */ + public static final int ADMIN_READ_VALUE = 1; + /** + * + * + *
    +     * Data writes. Example: CloudSQL Users create
    +     * 
    + * + * DATA_WRITE = 2; + */ + public static final int DATA_WRITE_VALUE = 2; + /** + * + * + *
    +     * Data reads. Example: CloudSQL Users list
    +     * 
    + * + * DATA_READ = 3; + */ + public static final int DATA_READ_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LogType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LogType forNumber(int value) { + switch (value) { + case 0: + return LOG_TYPE_UNSPECIFIED; + case 1: + return ADMIN_READ; + case 2: + return DATA_WRITE; + case 3: + return DATA_READ; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LogType findValueByNumber(int number) { + return LogType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.iam.v1.AuditLogConfig.getDescriptor().getEnumTypes().get(0); + } + + private static final LogType[] VALUES = values(); + + public static LogType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private LogType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.iam.v1.AuditLogConfig.LogType) + } + + public static final int LOG_TYPE_FIELD_NUMBER = 1; + private int logType_; + /** + * + * + *
    +   * The log type that this config enables.
    +   * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @return The enum numeric value on the wire for logType. + */ + @java.lang.Override + public int getLogTypeValue() { + return logType_; + } + /** + * + * + *
    +   * The log type that this config enables.
    +   * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @return The logType. + */ + @java.lang.Override + public com.google.iam.v1.AuditLogConfig.LogType getLogType() { + @SuppressWarnings("deprecation") + com.google.iam.v1.AuditLogConfig.LogType result = + com.google.iam.v1.AuditLogConfig.LogType.valueOf(logType_); + return result == null ? com.google.iam.v1.AuditLogConfig.LogType.UNRECOGNIZED : result; + } + + public static final int EXEMPTED_MEMBERS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList exemptedMembers_; + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @return A list containing the exemptedMembers. + */ + public com.google.protobuf.ProtocolStringList getExemptedMembersList() { + return exemptedMembers_; + } + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @return The count of exemptedMembers. + */ + public int getExemptedMembersCount() { + return exemptedMembers_.size(); + } + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @param index The index of the element to return. + * @return The exemptedMembers at the given index. + */ + public java.lang.String getExemptedMembers(int index) { + return exemptedMembers_.get(index); + } + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exemptedMembers at the given index. + */ + public com.google.protobuf.ByteString getExemptedMembersBytes(int index) { + return exemptedMembers_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (logType_ != com.google.iam.v1.AuditLogConfig.LogType.LOG_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(1, logType_); + } + for (int i = 0; i < exemptedMembers_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exemptedMembers_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (logType_ != com.google.iam.v1.AuditLogConfig.LogType.LOG_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logType_); + } + { + int dataSize = 0; + for (int i = 0; i < exemptedMembers_.size(); i++) { + dataSize += computeStringSizeNoTag(exemptedMembers_.getRaw(i)); + } + size += dataSize; + size += 1 * getExemptedMembersList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v1.AuditLogConfig)) { + return super.equals(obj); + } + com.google.iam.v1.AuditLogConfig other = (com.google.iam.v1.AuditLogConfig) obj; + + if (logType_ != other.logType_) return false; + if (!getExemptedMembersList().equals(other.getExemptedMembersList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LOG_TYPE_FIELD_NUMBER; + hash = (53 * hash) + logType_; + if (getExemptedMembersCount() > 0) { + hash = (37 * hash) + EXEMPTED_MEMBERS_FIELD_NUMBER; + hash = (53 * hash) + getExemptedMembersList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v1.AuditLogConfig parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v1.AuditLogConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v1.AuditLogConfig parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v1.AuditLogConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v1.AuditLogConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Provides the configuration for logging a type of permissions.
    +   * Example:
    +   *     {
    +   *       "audit_log_configs": [
    +   *         {
    +   *           "log_type": "DATA_READ",
    +   *           "exempted_members": [
    +   *             "user:jose@example.com"
    +   *           ]
    +   *         },
    +   *         {
    +   *           "log_type": "DATA_WRITE"
    +   *         }
    +   *       ]
    +   *     }
    +   * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
    +   * jose@example.com from DATA_READ logging.
    +   * 
    + * + * Protobuf type {@code google.iam.v1.AuditLogConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v1.AuditLogConfig) + com.google.iam.v1.AuditLogConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditLogConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v1.PolicyProto + .internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v1.AuditLogConfig.class, + com.google.iam.v1.AuditLogConfig.Builder.class); + } + + // Construct using com.google.iam.v1.AuditLogConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + logType_ = 0; + + exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditLogConfig_descriptor; + } + + @java.lang.Override + public com.google.iam.v1.AuditLogConfig getDefaultInstanceForType() { + return com.google.iam.v1.AuditLogConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v1.AuditLogConfig build() { + com.google.iam.v1.AuditLogConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v1.AuditLogConfig buildPartial() { + com.google.iam.v1.AuditLogConfig result = new com.google.iam.v1.AuditLogConfig(this); + int from_bitField0_ = bitField0_; + result.logType_ = logType_; + if (((bitField0_ & 0x00000001) != 0)) { + exemptedMembers_ = exemptedMembers_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.exemptedMembers_ = exemptedMembers_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v1.AuditLogConfig) { + return mergeFrom((com.google.iam.v1.AuditLogConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v1.AuditLogConfig other) { + if (other == com.google.iam.v1.AuditLogConfig.getDefaultInstance()) return this; + if (other.logType_ != 0) { + setLogTypeValue(other.getLogTypeValue()); + } + if (!other.exemptedMembers_.isEmpty()) { + if (exemptedMembers_.isEmpty()) { + exemptedMembers_ = other.exemptedMembers_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureExemptedMembersIsMutable(); + exemptedMembers_.addAll(other.exemptedMembers_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v1.AuditLogConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v1.AuditLogConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int logType_ = 0; + /** + * + * + *
    +     * The log type that this config enables.
    +     * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @return The enum numeric value on the wire for logType. + */ + @java.lang.Override + public int getLogTypeValue() { + return logType_; + } + /** + * + * + *
    +     * The log type that this config enables.
    +     * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @param value The enum numeric value on the wire for logType to set. + * @return This builder for chaining. + */ + public Builder setLogTypeValue(int value) { + + logType_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * The log type that this config enables.
    +     * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @return The logType. + */ + @java.lang.Override + public com.google.iam.v1.AuditLogConfig.LogType getLogType() { + @SuppressWarnings("deprecation") + com.google.iam.v1.AuditLogConfig.LogType result = + com.google.iam.v1.AuditLogConfig.LogType.valueOf(logType_); + return result == null ? com.google.iam.v1.AuditLogConfig.LogType.UNRECOGNIZED : result; + } + /** + * + * + *
    +     * The log type that this config enables.
    +     * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @param value The logType to set. + * @return This builder for chaining. + */ + public Builder setLogType(com.google.iam.v1.AuditLogConfig.LogType value) { + if (value == null) { + throw new NullPointerException(); + } + + logType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
    +     * The log type that this config enables.
    +     * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @return This builder for chaining. + */ + public Builder clearLogType() { + + logType_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList exemptedMembers_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExemptedMembersIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + exemptedMembers_ = new com.google.protobuf.LazyStringArrayList(exemptedMembers_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @return A list containing the exemptedMembers. + */ + public com.google.protobuf.ProtocolStringList getExemptedMembersList() { + return exemptedMembers_.getUnmodifiableView(); + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @return The count of exemptedMembers. + */ + public int getExemptedMembersCount() { + return exemptedMembers_.size(); + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @param index The index of the element to return. + * @return The exemptedMembers at the given index. + */ + public java.lang.String getExemptedMembers(int index) { + return exemptedMembers_.get(index); + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exemptedMembers at the given index. + */ + public com.google.protobuf.ByteString getExemptedMembersBytes(int index) { + return exemptedMembers_.getByteString(index); + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @param index The index to set the value at. + * @param value The exemptedMembers to set. + * @return This builder for chaining. + */ + public Builder setExemptedMembers(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExemptedMembersIsMutable(); + exemptedMembers_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @param value The exemptedMembers to add. + * @return This builder for chaining. + */ + public Builder addExemptedMembers(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExemptedMembersIsMutable(); + exemptedMembers_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @param values The exemptedMembers to add. + * @return This builder for chaining. + */ + public Builder addAllExemptedMembers(java.lang.Iterable values) { + ensureExemptedMembersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exemptedMembers_); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @return This builder for chaining. + */ + public Builder clearExemptedMembers() { + exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the identities that do not cause logging for this type of
    +     * permission.
    +     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +     * 
    + * + * repeated string exempted_members = 2; + * + * @param value The bytes of the exemptedMembers to add. + * @return This builder for chaining. + */ + public Builder addExemptedMembersBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExemptedMembersIsMutable(); + exemptedMembers_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v1.AuditLogConfig) + } + + // @@protoc_insertion_point(class_scope:google.iam.v1.AuditLogConfig) + private static final com.google.iam.v1.AuditLogConfig DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v1.AuditLogConfig(); + } + + public static com.google.iam.v1.AuditLogConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuditLogConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuditLogConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v1.AuditLogConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java new file mode 100644 index 000000000000..c6371c5c0ac2 --- /dev/null +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java @@ -0,0 +1,109 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v1/policy.proto + +package com.google.iam.v1; + +public interface AuditLogConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditLogConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * The log type that this config enables.
    +   * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @return The enum numeric value on the wire for logType. + */ + int getLogTypeValue(); + /** + * + * + *
    +   * The log type that this config enables.
    +   * 
    + * + * .google.iam.v1.AuditLogConfig.LogType log_type = 1; + * + * @return The logType. + */ + com.google.iam.v1.AuditLogConfig.LogType getLogType(); + + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @return A list containing the exemptedMembers. + */ + java.util.List getExemptedMembersList(); + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @return The count of exemptedMembers. + */ + int getExemptedMembersCount(); + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @param index The index of the element to return. + * @return The exemptedMembers at the given index. + */ + java.lang.String getExemptedMembers(int index); + /** + * + * + *
    +   * Specifies the identities that do not cause logging for this type of
    +   * permission.
    +   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    +   * 
    + * + * repeated string exempted_members = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exemptedMembers at the given index. + */ + com.google.protobuf.ByteString getExemptedMembersBytes(int index); +} 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 b85e84070e95..219872a2bcf1 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 @@ -22,7 +22,7 @@ * * *
    - * Associates `members` with a `role`.
    + * Associates `members`, or principals, with a `role`.
      * 
    * * Protobuf type {@code google.iam.v1.Binding} @@ -143,7 +143,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
    -   * Role that is assigned to `members`.
    +   * Role that is assigned to the list of `members`, or principals.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * @@ -167,7 +167,7 @@ public java.lang.String getRole() { * * *
    -   * Role that is assigned to `members`.
    +   * Role that is assigned to the list of `members`, or principals.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * @@ -194,7 +194,7 @@ public com.google.protobuf.ByteString getRoleBytes() { * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -206,6 +206,23 @@ public com.google.protobuf.ByteString getRoleBytes() {
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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`.
        * 
    @@ -221,7 +238,7 @@ public com.google.protobuf.ProtocolStringList getMembersList() { * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -233,6 +250,23 @@ public com.google.protobuf.ProtocolStringList getMembersList() {
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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`.
        * 
    @@ -248,7 +282,7 @@ public int getMembersCount() { * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -260,6 +294,23 @@ public int getMembersCount() {
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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`.
        * 
    @@ -276,7 +327,7 @@ public java.lang.String getMembers(int index) { * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -288,6 +339,23 @@ public java.lang.String getMembers(int index) {
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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,9 +376,14 @@ public com.google.protobuf.ByteString getMembersBytes(int index) { * *
        * The condition that is associated with this binding.
    -   * NOTE: An unsatisfied condition will not allow user access via current
    -   * binding. Different bindings, including their conditions, are examined
    -   * independently.
    +   * 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).
        * 
    * * .google.type.Expr condition = 3; @@ -326,9 +399,14 @@ public boolean hasCondition() { * *
        * The condition that is associated with this binding.
    -   * NOTE: An unsatisfied condition will not allow user access via current
    -   * binding. Different bindings, including their conditions, are examined
    -   * independently.
    +   * 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).
        * 
    * * .google.type.Expr condition = 3; @@ -344,9 +422,14 @@ public com.google.type.Expr getCondition() { * *
        * The condition that is associated with this binding.
    -   * NOTE: An unsatisfied condition will not allow user access via current
    -   * binding. Different bindings, including their conditions, are examined
    -   * independently.
    +   * 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).
        * 
    * * .google.type.Expr condition = 3; @@ -547,7 +630,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
    -   * Associates `members` with a `role`.
    +   * Associates `members`, or principals, with a `role`.
        * 
    * * Protobuf type {@code google.iam.v1.Binding} @@ -734,7 +817,7 @@ public Builder mergeFrom( * * *
    -     * Role that is assigned to `members`.
    +     * Role that is assigned to the list of `members`, or principals.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * @@ -757,7 +840,7 @@ public java.lang.String getRole() { * * *
    -     * Role that is assigned to `members`.
    +     * Role that is assigned to the list of `members`, or principals.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * @@ -780,7 +863,7 @@ public com.google.protobuf.ByteString getRoleBytes() { * * *
    -     * Role that is assigned to `members`.
    +     * Role that is assigned to the list of `members`, or principals.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * @@ -802,7 +885,7 @@ public Builder setRole(java.lang.String value) { * * *
    -     * Role that is assigned to `members`.
    +     * Role that is assigned to the list of `members`, or principals.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * @@ -820,7 +903,7 @@ public Builder clearRole() { * * *
    -     * Role that is assigned to `members`.
    +     * Role that is assigned to the list of `members`, or principals.
          * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
          * 
    * @@ -853,7 +936,7 @@ private void ensureMembersIsMutable() { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -865,6 +948,23 @@ private void ensureMembersIsMutable() {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -880,7 +980,7 @@ public com.google.protobuf.ProtocolStringList getMembersList() { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -892,6 +992,23 @@ public com.google.protobuf.ProtocolStringList getMembersList() {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -907,7 +1024,7 @@ public int getMembersCount() { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -919,6 +1036,23 @@ public int getMembersCount() {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -935,7 +1069,7 @@ public java.lang.String getMembers(int index) { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -947,6 +1081,23 @@ public java.lang.String getMembers(int index) {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -963,7 +1114,7 @@ public com.google.protobuf.ByteString getMembersBytes(int index) { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -975,6 +1126,23 @@ public com.google.protobuf.ByteString getMembersBytes(int index) {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -998,7 +1166,7 @@ public Builder setMembers(int index, java.lang.String value) { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -1010,6 +1178,23 @@ public Builder setMembers(int index, java.lang.String value) {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -1032,7 +1217,7 @@ public Builder addMembers(java.lang.String value) { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -1044,6 +1229,23 @@ public Builder addMembers(java.lang.String value) {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -1063,7 +1265,7 @@ public Builder addAllMembers(java.lang.Iterable values) { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -1075,6 +1277,23 @@ public Builder addAllMembers(java.lang.Iterable values) {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -1093,7 +1312,7 @@ public Builder clearMembers() { * * *
    -     * Specifies the identities requesting access for a Cloud Platform resource.
    +     * 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.
    @@ -1105,6 +1324,23 @@ public Builder clearMembers() {
          *    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,
    +     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +     *    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`.
          * 
    @@ -1134,9 +1370,14 @@ public Builder addMembersBytes(com.google.protobuf.ByteString value) { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1151,9 +1392,14 @@ public boolean hasCondition() { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1172,9 +1418,14 @@ public com.google.type.Expr getCondition() { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1197,9 +1448,14 @@ public Builder setCondition(com.google.type.Expr value) { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1219,9 +1475,14 @@ public Builder setCondition(com.google.type.Expr.Builder builderForValue) { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1245,9 +1506,14 @@ public Builder mergeCondition(com.google.type.Expr value) { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1268,9 +1534,14 @@ public Builder clearCondition() { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1285,9 +1556,14 @@ public com.google.type.Expr.Builder getConditionBuilder() { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; @@ -1304,9 +1580,14 @@ public com.google.type.ExprOrBuilder getConditionOrBuilder() { * *
          * The condition that is associated with this binding.
    -     * NOTE: An unsatisfied condition will not allow user access via current
    -     * binding. Different bindings, including their conditions, are examined
    -     * independently.
    +     * 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).
          * 
    * * .google.type.Expr condition = 3; 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 f51272f79b05..b5e660fa3a75 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 @@ -27,7 +27,7 @@ public interface BindingOrBuilder * * *
    -   * Role that is assigned to `members`.
    +   * Role that is assigned to the list of `members`, or principals.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * @@ -40,7 +40,7 @@ public interface BindingOrBuilder * * *
    -   * Role that is assigned to `members`.
    +   * Role that is assigned to the list of `members`, or principals.
        * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
        * 
    * @@ -54,7 +54,7 @@ public interface BindingOrBuilder * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -66,6 +66,23 @@ public interface BindingOrBuilder
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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`.
        * 
    @@ -79,7 +96,7 @@ public interface BindingOrBuilder * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -91,6 +108,23 @@ public interface BindingOrBuilder
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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`.
        * 
    @@ -104,7 +138,7 @@ public interface BindingOrBuilder * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -116,6 +150,23 @@ public interface BindingOrBuilder
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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`.
        * 
    @@ -130,7 +181,7 @@ public interface BindingOrBuilder * * *
    -   * Specifies the identities requesting access for a Cloud Platform resource.
    +   * 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.
    @@ -142,6 +193,23 @@ public interface BindingOrBuilder
        *    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,
    +   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    +   *    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`.
        * 
    @@ -158,9 +226,14 @@ public interface BindingOrBuilder * *
        * The condition that is associated with this binding.
    -   * NOTE: An unsatisfied condition will not allow user access via current
    -   * binding. Different bindings, including their conditions, are examined
    -   * independently.
    +   * 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).
        * 
    * * .google.type.Expr condition = 3; @@ -173,9 +246,14 @@ public interface BindingOrBuilder * *
        * The condition that is associated with this binding.
    -   * NOTE: An unsatisfied condition will not allow user access via current
    -   * binding. Different bindings, including their conditions, are examined
    -   * independently.
    +   * 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).
        * 
    * * .google.type.Expr condition = 3; @@ -188,9 +266,14 @@ public interface BindingOrBuilder * *
        * The condition that is associated with this binding.
    -   * NOTE: An unsatisfied condition will not allow user access via current
    -   * binding. Different bindings, including their conditions, are examined
    -   * independently.
    +   * 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).
        * 
    * * .google.type.Expr condition = 3; 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 6f21bb3ef403..7944fffc7ea9 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 @@ -188,7 +188,7 @@ public com.google.protobuf.ByteString getResourceBytes() { * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * `GetIamPolicy`.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -204,7 +204,7 @@ public boolean hasOptions() { * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * `GetIamPolicy`.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -220,7 +220,7 @@ public com.google.iam.v1.GetPolicyOptions getOptions() { * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * `GetIamPolicy`.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -704,7 +704,7 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -719,7 +719,7 @@ public boolean hasOptions() { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -740,7 +740,7 @@ public com.google.iam.v1.GetPolicyOptions getOptions() { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -763,7 +763,7 @@ public Builder setOptions(com.google.iam.v1.GetPolicyOptions value) { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -783,7 +783,7 @@ public Builder setOptions(com.google.iam.v1.GetPolicyOptions.Builder builderForV * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -810,7 +810,7 @@ public Builder mergeOptions(com.google.iam.v1.GetPolicyOptions value) { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -831,7 +831,7 @@ public Builder clearOptions() { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -846,7 +846,7 @@ public com.google.iam.v1.GetPolicyOptions.Builder getOptionsBuilder() { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -865,7 +865,7 @@ public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() { * *
          * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`. This field is only used by Cloud IAM.
    +     * `GetIamPolicy`.
          * 
    * * .google.iam.v1.GetPolicyOptions options = 2; diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java index 443bbb5c2e2b..5f90592d42e5 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java @@ -59,7 +59,7 @@ public interface GetIamPolicyRequestOrBuilder * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * `GetIamPolicy`.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -72,7 +72,7 @@ public interface GetIamPolicyRequestOrBuilder * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * `GetIamPolicy`.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; @@ -85,7 +85,7 @@ public interface GetIamPolicyRequestOrBuilder * *
        * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`. This field is only used by Cloud IAM.
    +   * `GetIamPolicy`.
        * 
    * * .google.iam.v1.GetPolicyOptions options = 2; 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 7054040f7b95..253fa547446a 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 @@ -112,12 +112,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
    -   * Optional. The policy format version to be returned.
    +   * 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 bindings must specify version 3.
    -   * Policies without any conditional bindings may specify any valid value or
    -   * leave the field unset.
    +   * 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).
        * 
    * * int32 requested_policy_version = 1; @@ -446,12 +454,20 @@ public Builder mergeFrom( * * *
    -     * Optional. The policy format version to be returned.
    +     * 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 bindings must specify version 3.
    -     * Policies without any conditional bindings may specify any valid value or
    -     * leave the field unset.
    +     * 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).
          * 
    * * int32 requested_policy_version = 1; @@ -466,12 +482,20 @@ public int getRequestedPolicyVersion() { * * *
    -     * Optional. The policy format version to be returned.
    +     * 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 bindings must specify version 3.
    -     * Policies without any conditional bindings may specify any valid value or
    -     * leave the field unset.
    +     * 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).
          * 
    * * int32 requested_policy_version = 1; @@ -489,12 +513,20 @@ public Builder setRequestedPolicyVersion(int value) { * * *
    -     * Optional. The policy format version to be returned.
    +     * 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 bindings must specify version 3.
    -     * Policies without any conditional bindings may specify any valid value or
    -     * leave the field unset.
    +     * 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).
          * 
    * * int32 requested_policy_version = 1; 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 ea37a837e43d..1cd51a9971f8 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 @@ -27,12 +27,20 @@ public interface GetPolicyOptionsOrBuilder * * *
    -   * Optional. The policy format version to be returned.
    +   * 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 bindings must specify version 3.
    -   * Policies without any conditional bindings may specify any valid value or
    -   * leave the field unset.
    +   * 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).
        * 
    * * int32 requested_policy_version = 1; 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 088dcca09902..57652c10d986 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 @@ -53,45 +53,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\036google/iam/v1/iam_policy.proto\022\rgoogle" - + ".iam.v1\032\033google/iam/v1/options.proto\032\032go" - + "ogle/iam/v1/policy.proto\032\034google/api/ann" - + "otations.proto\032\027google/api/client.proto\032" - + "\037google/api/field_behavior.proto\032\031google" - + "/api/resource.proto\"^\n\023SetIamPolicyReque" - + "st\022\033\n\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022*\n\006polic" - + "y\030\002 \001(\0132\025.google.iam.v1.PolicyB\003\340A\002\"d\n\023G" - + "etIamPolicyRequest\022\033\n\010resource\030\001 \001(\tB\t\340A" - + "\002\372A\003\n\001*\0220\n\007options\030\002 \001(\0132\037.google.iam.v1" - + ".GetPolicyOptions\"R\n\031TestIamPermissionsR" - + "equest\022\033\n\010resource\030\001 \001(\tB\t\340A\002\372A\003\n\001*\022\030\n\013p" - + "ermissions\030\002 \003(\tB\003\340A\002\"1\n\032TestIamPermissi" - + "onsResponse\022\023\n\013permissions\030\001 \003(\t2\264\003\n\tIAM" - + "Policy\022t\n\014SetIamPolicy\022\".google.iam.v1.S" - + "etIamPolicyRequest\032\025.google.iam.v1.Polic" - + "y\")\202\323\344\223\002#\"\036/v1/{resource=**}:setIamPolic" - + "y:\001*\022t\n\014GetIamPolicy\022\".google.iam.v1.Get" - + "IamPolicyRequest\032\025.google.iam.v1.Policy\"" - + ")\202\323\344\223\002#\"\036/v1/{resource=**}:getIamPolicy:" - + "\001*\022\232\001\n\022TestIamPermissions\022(.google.iam.v" - + "1.TestIamPermissionsRequest\032).google.iam" - + ".v1.TestIamPermissionsResponse\"/\202\323\344\223\002)\"$" - + "/v1/{resource=**}:testIamPermissions:\001*\032" - + "\036\312A\033iam-meta-api.googleapis.comB\206\001\n\021com." - + "google.iam.v1B\016IamPolicyProtoP\001Z0google." - + "golang.org/genproto/googleapis/iam/v1;ia" - + "m\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Clou" - + "d\\Iam\\V1b\006proto3" + + ".iam.v1\032\034google/api/annotations.proto\032\027g" + + "oogle/api/client.proto\032\037google/api/field" + + "_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\206\001\n\021" + + "com.google.iam.v1B\016IamPolicyProtoP\001Z0goo" + + "gle.golang.org/genproto/googleapis/iam/v" + + "1;iam\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\" + + "Cloud\\Iam\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.iam.v1.OptionsProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), + com.google.iam.v1.OptionsProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), }); internal_static_google_iam_v1_SetIamPolicyRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -99,7 +102,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_SetIamPolicyRequest_descriptor, new java.lang.String[] { - "Resource", "Policy", + "Resource", "Policy", "UpdateMask", }); internal_static_google_iam_v1_GetIamPolicyRequest_descriptor = getDescriptor().getMessageTypes().get(1); @@ -133,12 +136,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.iam.v1.OptionsProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); + com.google.iam.v1.OptionsProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java index 02274d0dac4d..9c13280b2b82 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java @@ -41,19 +41,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\033google/iam/v1/options.proto\022\rgoogle.ia" - + "m.v1\032\034google/api/annotations.proto\"4\n\020Ge" - + "tPolicyOptions\022 \n\030requested_policy_versi" - + "on\030\001 \001(\005B\204\001\n\021com.google.iam.v1B\014OptionsP" - + "rotoP\001Z0google.golang.org/genproto/googl" - + "eapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud.Iam.V" - + "1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" + + "m.v1\"4\n\020GetPolicyOptions\022 \n\030requested_po" + + "licy_version\030\001 \001(\005B\204\001\n\021com.google.iam.v1" + + "B\014OptionsProtoP\001Z0google.golang.org/genp" + + "roto/googleapis/iam/v1;iam\370\001\001\252\002\023Google.C" + + "loud.Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto" + + "3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - }); + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); internal_static_google_iam_v1_GetPolicyOptions_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable = @@ -62,7 +59,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "RequestedPolicyVersion", }); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) 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 3cda12f13cb0..ac67ceeb084f 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 @@ -22,16 +22,20 @@ * * *
    - * Defines an Identity and Access Management (IAM) policy. It is used to
    - * specify access control policies for Cloud Platform resources.
    + * 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` to a single `role`. Members can be user accounts, service accounts,
    - * Google groups, and domains (such as G Suite). A `role` is a named list of
    - * permissions (defined by IAM or configured by users). A `binding` can
    - * optionally specify a `condition`, which is a logic expression that further
    - * constrains the role binding based on attributes about the request and/or
    - * target resource.
    - * **JSON Example**
    + * `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
    + * based on attributes of the request, the resource, or both. To learn which
    + * resources support conditions in their IAM policies, see the
    + * [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
    + * **JSON example:**
      *     {
      *       "bindings": [
      *         {
    @@ -45,17 +49,20 @@
      *         },
      *         {
      *           "role": "roles/resourcemanager.organizationViewer",
    - *           "members": ["user:eve@example.com"],
    + *           "members": [
    + *             "user:eve@example.com"
    + *           ],
      *           "condition": {
      *             "title": "expirable access",
      *             "description": "Does not grant access after Sep 2020",
    - *             "expression": "request.time <
    - *             timestamp('2020-10-01T00:00:00.000Z')",
    + *             "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
      *           }
      *         }
    - *       ]
    + *       ],
    + *       "etag": "BwWWja0YfJA=",
    + *       "version": 3
      *     }
    - * **YAML Example**
    + * **YAML example:**
      *     bindings:
      *     - members:
      *       - user:mike@example.com
    @@ -70,8 +77,10 @@
      *         title: expirable access
      *         description: Does not grant access after Sep 2020
      *         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 developer's guide](https://cloud.google.com/iam/docs).
    + * [IAM documentation](https://cloud.google.com/iam/docs/).
      * 
    * * Protobuf type {@code google.iam.v1.Policy} @@ -88,6 +97,7 @@ private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { private Policy() { bindings_ = java.util.Collections.emptyList(); + auditConfigs_ = java.util.Collections.emptyList(); etag_ = com.google.protobuf.ByteString.EMPTY; } @@ -141,6 +151,16 @@ private Policy( input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry)); break; } + case 50: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + auditConfigs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + auditConfigs_.add( + input.readMessage(com.google.iam.v1.AuditConfig.parser(), extensionRegistry)); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -158,6 +178,9 @@ private Policy( if (((mutable_bitField0_ & 0x00000001) != 0)) { bindings_ = java.util.Collections.unmodifiableList(bindings_); } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + auditConfigs_ = java.util.Collections.unmodifiableList(auditConfigs_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -182,16 +205,23 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
        * Specifies the format of the policy.
    -   * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    -   * rejected.
    -   * Operations affecting conditional bindings must specify version 3. This can
    -   * be either setting a conditional policy, modifying a conditional binding,
    -   * or removing a binding (conditional or unconditional) from the stored
    -   * conditional policy.
    -   * Operations on non-conditional policies may specify any valid value or
    -   * leave the field unset.
    -   * If no etag is provided in the call to `setIamPolicy`, version compliance
    -   * checks against the stored policy is skipped.
    +   * 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).
        * 
    * * int32 version = 1; @@ -209,9 +239,15 @@ public int getVersion() { * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -224,9 +260,15 @@ public java.util.List getBindingsList() { * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -239,9 +281,15 @@ public java.util.List getBindingsO * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -254,9 +302,15 @@ public int getBindingsCount() { * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -269,9 +323,15 @@ public com.google.iam.v1.Binding getBindings(int index) { * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -281,6 +341,75 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) { return bindings_.get(index); } + public static final int AUDIT_CONFIGS_FIELD_NUMBER = 6; + private java.util.List auditConfigs_; + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + @java.lang.Override + public java.util.List getAuditConfigsList() { + return auditConfigs_; + } + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + @java.lang.Override + public java.util.List + getAuditConfigsOrBuilderList() { + return auditConfigs_; + } + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + @java.lang.Override + public int getAuditConfigsCount() { + return auditConfigs_.size(); + } + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + @java.lang.Override + public com.google.iam.v1.AuditConfig getAuditConfigs(int index) { + return auditConfigs_.get(index); + } + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + @java.lang.Override + public com.google.iam.v1.AuditConfigOrBuilder getAuditConfigsOrBuilder(int index) { + return auditConfigs_.get(index); + } + public static final int ETAG_FIELD_NUMBER = 3; private com.google.protobuf.ByteString etag_; /** @@ -294,10 +423,10 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(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. - * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten. Due to blind-set semantics of an etag-less policy, - * 'setIamPolicy' will not fail even if the incoming policy version does not - * meet the requirements for modifying the stored 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 + * the conditions in the version `3` policy are lost. *
    * * bytes etag = 3; @@ -332,6 +461,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < bindings_.size(); i++) { output.writeMessage(4, bindings_.get(i)); } + for (int i = 0; i < auditConfigs_.size(); i++) { + output.writeMessage(6, auditConfigs_.get(i)); + } unknownFields.writeTo(output); } @@ -350,6 +482,9 @@ public int getSerializedSize() { for (int i = 0; i < bindings_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bindings_.get(i)); } + for (int i = 0; i < auditConfigs_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, auditConfigs_.get(i)); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -367,6 +502,7 @@ public boolean equals(final java.lang.Object obj) { if (getVersion() != other.getVersion()) return false; if (!getBindingsList().equals(other.getBindingsList())) return false; + if (!getAuditConfigsList().equals(other.getAuditConfigsList())) return false; if (!getEtag().equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -385,6 +521,10 @@ public int hashCode() { hash = (37 * hash) + BINDINGS_FIELD_NUMBER; hash = (53 * hash) + getBindingsList().hashCode(); } + if (getAuditConfigsCount() > 0) { + hash = (37 * hash) + AUDIT_CONFIGS_FIELD_NUMBER; + hash = (53 * hash) + getAuditConfigsList().hashCode(); + } hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -490,16 +630,20 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
    -   * Defines an Identity and Access Management (IAM) policy. It is used to
    -   * specify access control policies for Cloud Platform resources.
    +   * 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` to a single `role`. Members can be user accounts, service accounts,
    -   * Google groups, and domains (such as G Suite). A `role` is a named list of
    -   * permissions (defined by IAM or configured by users). A `binding` can
    -   * optionally specify a `condition`, which is a logic expression that further
    -   * constrains the role binding based on attributes about the request and/or
    -   * target resource.
    -   * **JSON Example**
    +   * `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
    +   * based on attributes of the request, the resource, or both. To learn which
    +   * resources support conditions in their IAM policies, see the
    +   * [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
    +   * **JSON example:**
        *     {
        *       "bindings": [
        *         {
    @@ -513,17 +657,20 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *         },
        *         {
        *           "role": "roles/resourcemanager.organizationViewer",
    -   *           "members": ["user:eve@example.com"],
    +   *           "members": [
    +   *             "user:eve@example.com"
    +   *           ],
        *           "condition": {
        *             "title": "expirable access",
        *             "description": "Does not grant access after Sep 2020",
    -   *             "expression": "request.time <
    -   *             timestamp('2020-10-01T00:00:00.000Z')",
    +   *             "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
        *           }
        *         }
    -   *       ]
    +   *       ],
    +   *       "etag": "BwWWja0YfJA=",
    +   *       "version": 3
        *     }
    -   * **YAML Example**
    +   * **YAML example:**
        *     bindings:
        *     - members:
        *       - user:mike@example.com
    @@ -538,8 +685,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
        *         title: expirable access
        *         description: Does not grant access after Sep 2020
        *         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 developer's guide](https://cloud.google.com/iam/docs).
    +   * [IAM documentation](https://cloud.google.com/iam/docs/).
        * 
    * * Protobuf type {@code google.iam.v1.Policy} @@ -573,6 +722,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBindingsFieldBuilder(); + getAuditConfigsFieldBuilder(); } } @@ -587,6 +737,12 @@ public Builder clear() { } else { bindingsBuilder_.clear(); } + if (auditConfigsBuilder_ == null) { + auditConfigs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + auditConfigsBuilder_.clear(); + } etag_ = com.google.protobuf.ByteString.EMPTY; return this; @@ -625,6 +781,15 @@ public com.google.iam.v1.Policy buildPartial() { } else { result.bindings_ = bindingsBuilder_.build(); } + if (auditConfigsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + auditConfigs_ = java.util.Collections.unmodifiableList(auditConfigs_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.auditConfigs_ = auditConfigs_; + } else { + result.auditConfigs_ = auditConfigsBuilder_.build(); + } result.etag_ = etag_; onBuilt(); return result; @@ -705,6 +870,33 @@ public Builder mergeFrom(com.google.iam.v1.Policy other) { } } } + if (auditConfigsBuilder_ == null) { + if (!other.auditConfigs_.isEmpty()) { + if (auditConfigs_.isEmpty()) { + auditConfigs_ = other.auditConfigs_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureAuditConfigsIsMutable(); + auditConfigs_.addAll(other.auditConfigs_); + } + onChanged(); + } + } else { + if (!other.auditConfigs_.isEmpty()) { + if (auditConfigsBuilder_.isEmpty()) { + auditConfigsBuilder_.dispose(); + auditConfigsBuilder_ = null; + auditConfigs_ = other.auditConfigs_; + bitField0_ = (bitField0_ & ~0x00000002); + auditConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAuditConfigsFieldBuilder() + : null; + } else { + auditConfigsBuilder_.addAllMessages(other.auditConfigs_); + } + } + } if (other.getEtag() != com.google.protobuf.ByteString.EMPTY) { setEtag(other.getEtag()); } @@ -745,16 +937,23 @@ public Builder mergeFrom( * *
          * Specifies the format of the policy.
    -     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    -     * rejected.
    -     * Operations affecting conditional bindings must specify version 3. This can
    -     * be either setting a conditional policy, modifying a conditional binding,
    -     * or removing a binding (conditional or unconditional) from the stored
    -     * conditional policy.
    -     * Operations on non-conditional policies may specify any valid value or
    -     * leave the field unset.
    -     * If no etag is provided in the call to `setIamPolicy`, version compliance
    -     * checks against the stored policy is skipped.
    +     * 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).
          * 
    * * int32 version = 1; @@ -770,16 +969,23 @@ public int getVersion() { * *
          * Specifies the format of the policy.
    -     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    -     * rejected.
    -     * Operations affecting conditional bindings must specify version 3. This can
    -     * be either setting a conditional policy, modifying a conditional binding,
    -     * or removing a binding (conditional or unconditional) from the stored
    -     * conditional policy.
    -     * Operations on non-conditional policies may specify any valid value or
    -     * leave the field unset.
    -     * If no etag is provided in the call to `setIamPolicy`, version compliance
    -     * checks against the stored policy is skipped.
    +     * 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).
          * 
    * * int32 version = 1; @@ -798,16 +1004,23 @@ public Builder setVersion(int value) { * *
          * Specifies the format of the policy.
    -     * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    -     * rejected.
    -     * Operations affecting conditional bindings must specify version 3. This can
    -     * be either setting a conditional policy, modifying a conditional binding,
    -     * or removing a binding (conditional or unconditional) from the stored
    -     * conditional policy.
    -     * Operations on non-conditional policies may specify any valid value or
    -     * leave the field unset.
    -     * If no etag is provided in the call to `setIamPolicy`, version compliance
    -     * checks against the stored policy is skipped.
    +     * 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).
          * 
    * * int32 version = 1; @@ -840,9 +1053,15 @@ private void ensureBindingsIsMutable() { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -858,9 +1077,15 @@ public java.util.List getBindingsList() { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -876,9 +1101,15 @@ public int getBindingsCount() { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -894,9 +1125,15 @@ public com.google.iam.v1.Binding getBindings(int index) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -918,9 +1155,15 @@ public Builder setBindings(int index, com.google.iam.v1.Binding value) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -939,9 +1182,15 @@ public Builder setBindings(int index, com.google.iam.v1.Binding.Builder builderF * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -963,9 +1212,15 @@ public Builder addBindings(com.google.iam.v1.Binding value) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -987,9 +1242,15 @@ public Builder addBindings(int index, com.google.iam.v1.Binding value) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1008,9 +1269,15 @@ public Builder addBindings(com.google.iam.v1.Binding.Builder builderForValue) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1029,9 +1296,15 @@ public Builder addBindings(int index, com.google.iam.v1.Binding.Builder builderF * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1050,9 +1323,15 @@ public Builder addAllBindings(java.lang.Iterable - * Associates a list of `members` to a `role`. Optionally may specify a - * `condition` that determines when binding is in effect. - * `bindings` with no members will result in an error. + * 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 + * different roles to `user:alice@example.com`, and not to any other + * principal, then you can add another 1,450 principals to the `bindings` in + * the `Policy`. *
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1071,9 +1350,15 @@ public Builder clearBindings() { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1092,9 +1377,15 @@ public Builder removeBindings(int index) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1106,9 +1397,15 @@ public com.google.iam.v1.Binding.Builder getBindingsBuilder(int index) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1124,9 +1421,15 @@ public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1142,9 +1445,15 @@ public java.util.List getBindingsO * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1156,9 +1465,15 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder() { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1171,9 +1486,15 @@ public com.google.iam.v1.Binding.Builder addBindingsBuilder(int index) { * * *
    -     * Associates a list of `members` to a `role`. Optionally may specify a
    -     * `condition` that determines when binding is in effect.
    -     * `bindings` with no members will result in an error.
    +     * 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
    +     * different roles to `user:alice@example.com`, and not to any other
    +     * principal, then you can add another 1,450 principals to the `bindings` in
    +     * the `Policy`.
          * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -1199,6 +1520,354 @@ public java.util.List getBindingsBuilderList( return bindingsBuilder_; } + private java.util.List auditConfigs_ = + java.util.Collections.emptyList(); + + private void ensureAuditConfigsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + auditConfigs_ = new java.util.ArrayList(auditConfigs_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditConfig, + com.google.iam.v1.AuditConfig.Builder, + com.google.iam.v1.AuditConfigOrBuilder> + auditConfigsBuilder_; + + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public java.util.List getAuditConfigsList() { + if (auditConfigsBuilder_ == null) { + return java.util.Collections.unmodifiableList(auditConfigs_); + } else { + return auditConfigsBuilder_.getMessageList(); + } + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public int getAuditConfigsCount() { + if (auditConfigsBuilder_ == null) { + return auditConfigs_.size(); + } else { + return auditConfigsBuilder_.getCount(); + } + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public com.google.iam.v1.AuditConfig getAuditConfigs(int index) { + if (auditConfigsBuilder_ == null) { + return auditConfigs_.get(index); + } else { + return auditConfigsBuilder_.getMessage(index); + } + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder setAuditConfigs(int index, com.google.iam.v1.AuditConfig value) { + if (auditConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditConfigsIsMutable(); + auditConfigs_.set(index, value); + onChanged(); + } else { + auditConfigsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder setAuditConfigs( + int index, com.google.iam.v1.AuditConfig.Builder builderForValue) { + if (auditConfigsBuilder_ == null) { + ensureAuditConfigsIsMutable(); + auditConfigs_.set(index, builderForValue.build()); + onChanged(); + } else { + auditConfigsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder addAuditConfigs(com.google.iam.v1.AuditConfig value) { + if (auditConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditConfigsIsMutable(); + auditConfigs_.add(value); + onChanged(); + } else { + auditConfigsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder addAuditConfigs(int index, com.google.iam.v1.AuditConfig value) { + if (auditConfigsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureAuditConfigsIsMutable(); + auditConfigs_.add(index, value); + onChanged(); + } else { + auditConfigsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder addAuditConfigs(com.google.iam.v1.AuditConfig.Builder builderForValue) { + if (auditConfigsBuilder_ == null) { + ensureAuditConfigsIsMutable(); + auditConfigs_.add(builderForValue.build()); + onChanged(); + } else { + auditConfigsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder addAuditConfigs( + int index, com.google.iam.v1.AuditConfig.Builder builderForValue) { + if (auditConfigsBuilder_ == null) { + ensureAuditConfigsIsMutable(); + auditConfigs_.add(index, builderForValue.build()); + onChanged(); + } else { + auditConfigsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder addAllAuditConfigs( + java.lang.Iterable values) { + if (auditConfigsBuilder_ == null) { + ensureAuditConfigsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auditConfigs_); + onChanged(); + } else { + auditConfigsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder clearAuditConfigs() { + if (auditConfigsBuilder_ == null) { + auditConfigs_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + auditConfigsBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public Builder removeAuditConfigs(int index) { + if (auditConfigsBuilder_ == null) { + ensureAuditConfigsIsMutable(); + auditConfigs_.remove(index); + onChanged(); + } else { + auditConfigsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public com.google.iam.v1.AuditConfig.Builder getAuditConfigsBuilder(int index) { + return getAuditConfigsFieldBuilder().getBuilder(index); + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public com.google.iam.v1.AuditConfigOrBuilder getAuditConfigsOrBuilder(int index) { + if (auditConfigsBuilder_ == null) { + return auditConfigs_.get(index); + } else { + return auditConfigsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public java.util.List + getAuditConfigsOrBuilderList() { + if (auditConfigsBuilder_ != null) { + return auditConfigsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(auditConfigs_); + } + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public com.google.iam.v1.AuditConfig.Builder addAuditConfigsBuilder() { + return getAuditConfigsFieldBuilder() + .addBuilder(com.google.iam.v1.AuditConfig.getDefaultInstance()); + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public com.google.iam.v1.AuditConfig.Builder addAuditConfigsBuilder(int index) { + return getAuditConfigsFieldBuilder() + .addBuilder(index, com.google.iam.v1.AuditConfig.getDefaultInstance()); + } + /** + * + * + *
    +     * Specifies cloud audit logging configuration for this policy.
    +     * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + public java.util.List getAuditConfigsBuilderList() { + return getAuditConfigsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditConfig, + com.google.iam.v1.AuditConfig.Builder, + com.google.iam.v1.AuditConfigOrBuilder> + getAuditConfigsFieldBuilder() { + if (auditConfigsBuilder_ == null) { + auditConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v1.AuditConfig, + com.google.iam.v1.AuditConfig.Builder, + com.google.iam.v1.AuditConfigOrBuilder>( + auditConfigs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + auditConfigs_ = null; + } + return auditConfigsBuilder_; + } + private com.google.protobuf.ByteString etag_ = com.google.protobuf.ByteString.EMPTY; /** * @@ -1211,10 +1880,10 @@ public java.util.List getBindingsBuilderList( * 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. - * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten. Due to blind-set semantics of an etag-less policy, - * 'setIamPolicy' will not fail even if the incoming policy version does not - * meet the requirements for modifying the stored 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 + * the conditions in the version `3` policy are lost. *
    * * bytes etag = 3; @@ -1236,10 +1905,10 @@ 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. - * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten. Due to blind-set semantics of an etag-less policy, - * 'setIamPolicy' will not fail even if the incoming policy version does not - * meet the requirements for modifying the stored 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 + * the conditions in the version `3` policy are lost. *
    * * bytes etag = 3; @@ -1267,10 +1936,10 @@ 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. - * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten. Due to blind-set semantics of an etag-less policy, - * 'setIamPolicy' will not fail even if the incoming policy version does not - * meet the requirements for modifying the stored 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 + * the conditions in the version `3` policy are lost. *
    * * bytes etag = 3; 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 6be361f345e1..571dcb8057bc 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,16 +28,23 @@ public interface PolicyOrBuilder * *
        * Specifies the format of the policy.
    -   * Valid values are 0, 1, and 3. Requests specifying an invalid value will be
    -   * rejected.
    -   * Operations affecting conditional bindings must specify version 3. This can
    -   * be either setting a conditional policy, modifying a conditional binding,
    -   * or removing a binding (conditional or unconditional) from the stored
    -   * conditional policy.
    -   * Operations on non-conditional policies may specify any valid value or
    -   * leave the field unset.
    -   * If no etag is provided in the call to `setIamPolicy`, version compliance
    -   * checks against the stored policy is skipped.
    +   * 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).
        * 
    * * int32 version = 1; @@ -50,9 +57,15 @@ public interface PolicyOrBuilder * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -62,9 +75,15 @@ public interface PolicyOrBuilder * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -74,9 +93,15 @@ public interface PolicyOrBuilder * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -86,9 +111,15 @@ public interface PolicyOrBuilder * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; @@ -98,15 +129,72 @@ public interface PolicyOrBuilder * * *
    -   * Associates a list of `members` to a `role`. Optionally may specify a
    -   * `condition` that determines when binding is in effect.
    -   * `bindings` with no members will result in an error.
    +   * 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
    +   * different roles to `user:alice@example.com`, and not to any other
    +   * principal, then you can add another 1,450 principals to the `bindings` in
    +   * the `Policy`.
        * 
    * * repeated .google.iam.v1.Binding bindings = 4; */ com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index); + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + java.util.List getAuditConfigsList(); + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + com.google.iam.v1.AuditConfig getAuditConfigs(int index); + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + int getAuditConfigsCount(); + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + java.util.List getAuditConfigsOrBuilderList(); + /** + * + * + *
    +   * Specifies cloud audit logging configuration for this policy.
    +   * 
    + * + * repeated .google.iam.v1.AuditConfig audit_configs = 6; + */ + com.google.iam.v1.AuditConfigOrBuilder getAuditConfigsOrBuilder(int index); + /** * * @@ -118,10 +206,10 @@ 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. - * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten. Due to blind-set semantics of an etag-less policy, - * 'setIamPolicy' will not fail even if the incoming policy version does not - * meet the requirements for modifying the stored 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 + * the conditions in the version `3` policy are lost. *
    * * bytes etag = 3; diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java index 2eee39d05ab4..8ba3e50af000 100644 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java +++ b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java @@ -35,6 +35,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_iam_v1_Binding_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v1_Binding_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_AuditConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_AuditConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v1_AuditLogConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_iam_v1_PolicyDelta_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -57,42 +65,49 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\032google/iam/v1/policy.proto\022\rgoogle.iam" - + ".v1\032\026google/type/expr.proto\032\034google/api/" - + "annotations.proto\"Q\n\006Policy\022\017\n\007version\030\001" - + " \001(\005\022(\n\010bindings\030\004 \003(\0132\026.google.iam.v1.B" - + "inding\022\014\n\004etag\030\003 \001(\014\"N\n\007Binding\022\014\n\004role\030" - + "\001 \001(\t\022\017\n\007members\030\002 \003(\t\022$\n\tcondition\030\003 \001(" - + "\0132\021.google.type.Expr\"\200\001\n\013PolicyDelta\0223\n\016" - + "binding_deltas\030\001 \003(\0132\033.google.iam.v1.Bin" - + "dingDelta\022<\n\023audit_config_deltas\030\002 \003(\0132\037" - + ".google.iam.v1.AuditConfigDelta\"\275\001\n\014Bind" - + "ingDelta\0222\n\006action\030\001 \001(\0162\".google.iam.v1" - + ".BindingDelta.Action\022\014\n\004role\030\002 \001(\t\022\016\n\006me" - + "mber\030\003 \001(\t\022$\n\tcondition\030\004 \001(\0132\021.google.t" - + "ype.Expr\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED" - + "\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\"\275\001\n\020AuditConfigD" - + "elta\0226\n\006action\030\001 \001(\0162&.google.iam.v1.Aud" - + "itConfigDelta.Action\022\017\n\007service\030\002 \001(\t\022\027\n" - + "\017exempted_member\030\003 \001(\t\022\020\n\010log_type\030\004 \001(\t" - + "\"5\n\006Action\022\026\n\022ACTION_UNSPECIFIED\020\000\022\007\n\003AD" - + "D\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021com.google.iam.v1B\013P" - + "olicyProtoP\001Z0google.golang.org/genproto" - + "/googleapis/iam/v1;iam\370\001\001\252\002\023Google.Cloud" - + ".Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto3" + + ".v1\032\026google/type/expr.proto\"\204\001\n\006Policy\022\017" + + "\n\007version\030\001 \001(\005\022(\n\010bindings\030\004 \003(\0132\026.goog" + + "le.iam.v1.Binding\0221\n\raudit_configs\030\006 \003(\013" + + "2\032.google.iam.v1.AuditConfig\022\014\n\004etag\030\003 \001" + + "(\014\"N\n\007Binding\022\014\n\004role\030\001 \001(\t\022\017\n\007members\030\002" + + " \003(\t\022$\n\tcondition\030\003 \001(\0132\021.google.type.Ex" + + "pr\"X\n\013AuditConfig\022\017\n\007service\030\001 \001(\t\0228\n\021au" + + "dit_log_configs\030\003 \003(\0132\035.google.iam.v1.Au" + + "ditLogConfig\"\267\001\n\016AuditLogConfig\0227\n\010log_t" + + "ype\030\001 \001(\0162%.google.iam.v1.AuditLogConfig" + + ".LogType\022\030\n\020exempted_members\030\002 \003(\t\"R\n\007Lo" + + "gType\022\030\n\024LOG_TYPE_UNSPECIFIED\020\000\022\016\n\nADMIN" + + "_READ\020\001\022\016\n\nDATA_WRITE\020\002\022\r\n\tDATA_READ\020\003\"\200" + + "\001\n\013PolicyDelta\0223\n\016binding_deltas\030\001 \003(\0132\033" + + ".google.iam.v1.BindingDelta\022<\n\023audit_con" + + "fig_deltas\030\002 \003(\0132\037.google.iam.v1.AuditCo" + + "nfigDelta\"\275\001\n\014BindingDelta\0222\n\006action\030\001 \001" + + "(\0162\".google.iam.v1.BindingDelta.Action\022\014" + + "\n\004role\030\002 \001(\t\022\016\n\006member\030\003 \001(\t\022$\n\tconditio" + + "n\030\004 \001(\0132\021.google.type.Expr\"5\n\006Action\022\026\n\022" + + "ACTION_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020" + + "\002\"\275\001\n\020AuditConfigDelta\0226\n\006action\030\001 \001(\0162&" + + ".google.iam.v1.AuditConfigDelta.Action\022\017" + + "\n\007service\030\002 \001(\t\022\027\n\017exempted_member\030\003 \001(\t" + + "\022\020\n\010log_type\030\004 \001(\t\"5\n\006Action\022\026\n\022ACTION_U" + + "NSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021co" + + "m.google.iam.v1B\013PolicyProtoP\001Z0google.g" + + "olang.org/genproto/googleapis/iam/v1;iam" + + "\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Cloud" + + "\\Iam\\V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.type.ExprProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_iam_v1_Policy_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_iam_v1_Policy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_Policy_descriptor, new java.lang.String[] { - "Version", "Bindings", "Etag", + "Version", "Bindings", "AuditConfigs", "Etag", }); internal_static_google_iam_v1_Binding_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_iam_v1_Binding_fieldAccessorTable = @@ -101,7 +116,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Role", "Members", "Condition", }); - internal_static_google_iam_v1_PolicyDelta_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v1_AuditConfig_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v1_AuditConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_AuditConfig_descriptor, + new java.lang.String[] { + "Service", "AuditLogConfigs", + }); + internal_static_google_iam_v1_AuditLogConfig_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v1_AuditLogConfig_descriptor, + new java.lang.String[] { + "LogType", "ExemptedMembers", + }); + internal_static_google_iam_v1_PolicyDelta_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_PolicyDelta_descriptor, @@ -109,7 +139,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BindingDeltas", "AuditConfigDeltas", }); internal_static_google_iam_v1_BindingDelta_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageTypes().get(5); internal_static_google_iam_v1_BindingDelta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_BindingDelta_descriptor, @@ -117,7 +147,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Action", "Role", "Member", "Condition", }); internal_static_google_iam_v1_AuditConfigDelta_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageTypes().get(6); internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v1_AuditConfigDelta_descriptor, @@ -125,7 +155,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Action", "Service", "ExemptedMember", "LogType", }); com.google.type.ExprProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) 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 91de98ad27d9..69e7e674b034 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 @@ -89,6 +89,21 @@ private SetIamPolicyRequest( policy_ = subBuilder.buildPartial(); } + break; + } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + break; } default: @@ -235,6 +250,61 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { return getPolicy(); } + public static final int UPDATE_MASK_FIELD_NUMBER = 3; + private com.google.protobuf.FieldMask updateMask_; + /** + * + * + *
    +   * 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"`
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + * + * + *
    +   * 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"`
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + /** + * + * + *
    +   * 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"`
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return getUpdateMask(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -255,6 +325,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (policy_ != null) { output.writeMessage(2, getPolicy()); } + if (updateMask_ != null) { + output.writeMessage(3, getUpdateMask()); + } unknownFields.writeTo(output); } @@ -270,6 +343,9 @@ public int getSerializedSize() { if (policy_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy()); } + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -290,6 +366,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPolicy()) { if (!getPolicy().equals(other.getPolicy())) return false; } + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,6 +387,10 @@ public int hashCode() { hash = (37 * hash) + POLICY_FIELD_NUMBER; hash = (53 * hash) + getPolicy().hashCode(); } + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -459,6 +543,12 @@ public Builder clear() { policy_ = null; policyBuilder_ = null; } + if (updateMaskBuilder_ == null) { + updateMask_ = null; + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } return this; } @@ -492,6 +582,11 @@ public com.google.iam.v1.SetIamPolicyRequest buildPartial() { } else { result.policy_ = policyBuilder_.build(); } + if (updateMaskBuilder_ == null) { + result.updateMask_ = updateMask_; + } else { + result.updateMask_ = updateMaskBuilder_.build(); + } onBuilt(); return result; } @@ -548,6 +643,9 @@ public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) { if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -902,6 +1000,216 @@ public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { return policyBuilder_; } + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return updateMaskBuilder_ != null || updateMask_ != null; + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + onChanged(); + } else { + updateMaskBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + onChanged(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (updateMask_ != null) { + updateMask_ = + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + } else { + updateMask_ = value; + } + onChanged(); + } else { + updateMaskBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + public Builder clearUpdateMask() { + if (updateMaskBuilder_ == null) { + updateMask_ = null; + onChanged(); + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } + } + /** + * + * + *
    +     * 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"`
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); 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 135cf6dcd820..48ab0dff5dba 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 @@ -97,4 +97,48 @@ public interface SetIamPolicyRequestOrBuilder * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; */ 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"`
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + * + * @return Whether the updateMask field is set. + */ + 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"`
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + * + * @return The updateMask. + */ + 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"`
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 3; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } From c6becb60fb4d088dcd92433a6d3dd84de8685290 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 Apr 2022 23:21:43 +0200 Subject: [PATCH 2150/3036] deps: update dependency io.grpc:grpc-protobuf to v1.45.1 (#321) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index fd897568c334..ef4988fd9a4c 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.45.0' - compile 'io.grpc:grpc-protobuf:1.45.0' + compile 'io.grpc:grpc-protobuf:1.45.1' compile project(':proto-google-iam-v1') } From 852fd1afa12572a812ceae698a832f73a57a2015 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 Apr 2022 23:27:23 +0200 Subject: [PATCH 2151/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.20.0 (#324) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 6be2f6d05494..adc25a3fff69 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.19.4' + compile 'com.google.protobuf:protobuf-java:3.20.0' compile 'com.google.api:api-common:2.1.5' compile project(':proto-google-common-protos') } From 4ca5fd500f924ce226b93ea1c1562398edbb63e5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 Apr 2022 23:28:00 +0200 Subject: [PATCH 2152/3036] deps: update dependency io.grpc:grpc-stub to v1.45.1 (#322) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index ef4988fd9a4c..5546b4946362 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.45.0' + compile 'io.grpc:grpc-stub:1.45.1' compile 'io.grpc:grpc-protobuf:1.45.1' compile project(':proto-google-iam-v1') } From de2be3e440f811879dc0137f2f3a1d4e2f121bc6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 5 Apr 2022 17:47:08 -0400 Subject: [PATCH 2153/3036] chore(main): release 1.3.0 (#326) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-iam/CHANGELOG.md | 14 ++++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 22 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 44f62dcfe70d..84bf7f668731 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [1.3.0](https://github.com/googleapis/java-iam/compare/v1.2.12...v1.3.0) (2022-04-05) + + +### Features + +* AuditConfig for IAM v1 ([#325](https://github.com/googleapis/java-iam/issues/325)) ([6798520](https://github.com/googleapis/java-iam/commit/6798520ca2b4b98f16492d4bb16be38e9eef3e36)) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.20.0 ([#324](https://github.com/googleapis/java-iam/issues/324)) ([c6209ac](https://github.com/googleapis/java-iam/commit/c6209ac7e33059d5169c65e86145bc25731e40e4)) +* update dependency io.grpc:grpc-protobuf to v1.45.1 ([#321](https://github.com/googleapis/java-iam/issues/321)) ([9dc32a4](https://github.com/googleapis/java-iam/commit/9dc32a4ba44803bdd8aed85d44ee4aebddc3f972)) +* update dependency io.grpc:grpc-stub to v1.45.1 ([#322](https://github.com/googleapis/java-iam/issues/322)) ([b114670](https://github.com/googleapis/java-iam/commit/b11467055d678e7474bb4ed4bb6d74184029ed5d)) + ### [1.2.12](https://github.com/googleapis/java-iam/compare/v1.2.11...v1.2.12) (2022-03-29) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index c55aac642f0f..e23930f4a1e3 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.2.13-SNAPSHOT + 1.3.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.2.13-SNAPSHOT + 1.3.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 0a4ef06c52a3..e16e428abc8a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.2.13-SNAPSHOT + 1.3.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.2.13-SNAPSHOT + 1.3.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 628132191eb8..3017e282a3a4 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.2.13-SNAPSHOT + 1.3.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.2.13-SNAPSHOT + 1.3.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 838f0c0601bf..69c718d60276 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.2.12:1.2.13-SNAPSHOT -grpc-google-iam-v1:1.2.12:1.2.13-SNAPSHOT +proto-google-iam-v1:1.3.0:1.3.0 +grpc-google-iam-v1:1.3.0:1.3.0 From 4fa18c5d2166bc77ad6b827c5a5cdc3214a8dcba Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 5 Apr 2022 21:54:12 +0000 Subject: [PATCH 2154/3036] chore(main): release 1.3.1-SNAPSHOT (#327) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e23930f4a1e3..a2728c26f52f 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.3.0 + 1.3.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.0 + 1.3.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e16e428abc8a..e7951b7e6375 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.0 + 1.3.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.0 + 1.3.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 3017e282a3a4..84d7bcd959e5 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.3.0 + 1.3.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.0 + 1.3.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 69c718d60276..ca3f50e8c7eb 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.0:1.3.0 -grpc-google-iam-v1:1.3.0:1.3.0 +proto-google-iam-v1:1.3.0:1.3.1-SNAPSHOT +grpc-google-iam-v1:1.3.0:1.3.1-SNAPSHOT From 52522139a5a88b79878001d410f9f1a076a42cad Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 21:03:38 +0200 Subject: [PATCH 2155/3036] deps: update iam.version to v1.3.0 (#648) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 23a18891ad40..9c58cf4d4c69 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.5 1.33.1 1.33.4 - 1.2.10 + 1.3.0 From cfdabb48c84892495d71f2cc5d87010328844d10 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 21:37:20 +0200 Subject: [PATCH 2156/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.12.1 (#788) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2933460b16e9..e0159dbc90f7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 3.0.2 1.6.0 3.2 - 2.11.0 + 2.12.1 2.9.0 From 51f59fcee9ef8bf46ecedacfaa1feabc96500ada Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 21:37:46 +0200 Subject: [PATCH 2157/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.20.0 (#787) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e0159dbc90f7..eaa4c22ceafe 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 1.41.5 22.0.0.2 1.45.0 - 3.19.4 + 3.20.0 0.31.0 1.3.2 31.1-jre From 48594f33feb2e9e774817a503e2aeb84e852b416 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 21:38:20 +0200 Subject: [PATCH 2158/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.0 (#783) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index eaa4c22ceafe..37270713494d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.13.0 2.1.5 2.8.0 - 1.2.10 + 1.3.0 1.6.0 1.33.4 1.41.5 From 462be7fb168c9d31556acdd8c23f19786bee7654 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 6 Apr 2022 12:38:55 -0700 Subject: [PATCH 2159/3036] chore: Enable Size-Label bot in all googleapis Java repositories (#1381) (#790) * chore: Enable Size-Label bot in all googleapis Java repositories Auto-label T-shirt size indicator should be assigned on every new pull request in all googleapis Java repositories * Remove product Remove product since it is by default true * add license header Co-authored-by: Neenu Shaji Source-Link: https://github.com/googleapis/synthtool/commit/54b2c6ac75370a4a3582431b4a3080f777ba1f11 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 Co-authored-by: Owl Bot Co-authored-by: Neenu Shaji --- java-core/.github/.OwlBot.lock.yaml | 3 ++- java-core/.github/auto-label.yaml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 java-core/.github/auto-label.yaml diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 426cf83e2ec6..f60d774937f6 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa + digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 +# created: 2022-04-06T16:30:03.627422514Z diff --git a/java-core/.github/auto-label.yaml b/java-core/.github/auto-label.yaml new file mode 100644 index 000000000000..4caef688b745 --- /dev/null +++ b/java-core/.github/auto-label.yaml @@ -0,0 +1,15 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +requestsize: + enabled: true From 7a8df666f0bb2c8cafd6f27953d4b3635358d54f Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Wed, 6 Apr 2022 15:40:12 -0400 Subject: [PATCH 2160/3036] feat(java): remove protobuf Native Image configuration (#784) --- .../features/ProtobufMessageFeature.java | 105 ------------------ 1 file changed, 105 deletions(-) delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java deleted file mode 100644 index 40251e85e44d..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/ProtobufMessageFeature.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features; - -import java.lang.reflect.Method; -import java.util.Arrays; -import java.util.List; -import org.graalvm.nativeimage.hosted.Feature; -import org.graalvm.nativeimage.hosted.RuntimeReflection; - -/** - * A optional feature which registers reflective usages of the GRPC Protobuf libraries. - * - *

    This feature is only needed if you need to access proto objects reflectively (such as - * printing/logging proto objects). - * - *

    To add this feature, add "--feature - * com.google.cloud.nativeimage.features.ProtobufMessageFeature" to your GraalVM configuration. - */ -final class ProtobufMessageFeature implements Feature { - - // Proto classes to check on the classpath. - private static final String PROTO_MESSAGE_CLASS = "com.google.protobuf.GeneratedMessageV3"; - private static final String PROTO_ENUM_CLASS = "com.google.protobuf.ProtocolMessageEnum"; - private static final String ENUM_VAL_DESCRIPTOR_CLASS = - "com.google.protobuf.Descriptors$EnumValueDescriptor"; - - // Prefixes of methods accessed reflectively by - // com.google.protobuf.GeneratedMessageV3$ReflectionInvoker - private static final List METHOD_ACCESSOR_PREFIXES = - Arrays.asList("get", "set", "has", "add", "clear", "newBuilder"); - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - Class protoMessageClass = access.findClassByName(PROTO_MESSAGE_CLASS); - if (protoMessageClass != null) { - Method internalAccessorMethod = - NativeImageUtils.getMethodOrFail(protoMessageClass, "internalGetFieldAccessorTable"); - - // Finds every class whose `internalGetFieldAccessorTable()` is reached and registers it. - // `internalGetFieldAccessorTable()` is used downstream to access the class reflectively. - access.registerMethodOverrideReachabilityHandler( - (duringAccess, method) -> { - registerFieldAccessors(method.getDeclaringClass()); - registerFieldAccessors(getBuilderClass(method.getDeclaringClass())); - }, - internalAccessorMethod); - } - - Class protoEnumClass = access.findClassByName(PROTO_ENUM_CLASS); - if (protoEnumClass != null) { - // Finds every reachable proto enum class and registers specific methods for reflection. - access.registerSubtypeReachabilityHandler( - (duringAccess, subtypeClass) -> { - if (!PROTO_ENUM_CLASS.equals(subtypeClass.getName())) { - Method method = - NativeImageUtils.getMethodOrFail( - subtypeClass, - "valueOf", - duringAccess.findClassByName(ENUM_VAL_DESCRIPTOR_CLASS)); - RuntimeReflection.register(method); - - method = NativeImageUtils.getMethodOrFail(subtypeClass, "getValueDescriptor"); - RuntimeReflection.register(method); - } - }, - protoEnumClass); - } - } - - /** Given a proto class, registers the public accessor methods for the provided proto class. */ - private static void registerFieldAccessors(Class protoClass) { - for (Method method : protoClass.getMethods()) { - boolean hasAccessorPrefix = - METHOD_ACCESSOR_PREFIXES.stream().anyMatch(prefix -> method.getName().startsWith(prefix)); - if (hasAccessorPrefix) { - RuntimeReflection.register(method); - } - } - } - - /** Given a proto class, returns the Builder nested class. */ - private static Class getBuilderClass(Class protoClass) { - for (Class clazz : protoClass.getClasses()) { - if (clazz.getName().endsWith("Builder")) { - return clazz; - } - } - return null; - } -} From cd8a078095c5461cd0e3904746c47e4ac5eab7a4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 21:46:11 +0200 Subject: [PATCH 2161/3036] deps: update dependency io.grpc:grpc-bom to v1.45.1 (#780) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.45.0` -> `1.45.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/compatibility-slim/1.45.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/confidence-slim/1.45.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    grpc/grpc-java ### [`v1.45.1`](https://togithub.com/grpc/grpc-java/releases/v1.45.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.45.0...v1.45.1) #### Bug Fixes - netty: Fixed incompatibility with Netty 4.1.75.Final that caused COMPRESSION_ERROR ([#​9004](https://togithub.com/grpc/grpc-java/issues/9004)) - xds: Fix LBs blindly propagating control plane errors ([#​9012](https://togithub.com/grpc/grpc-java/issues/9012)). This change forces the use of UNAVAILABLE for any xDS communication failures, which otherwise could greatly confuse an application. This is essentially a continuation of the fix in 1.45.0 for XdsNameResolver, but for other similar cases
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 37270713494d..c8896dc6f933 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.33.4 1.41.5 22.0.0.2 - 1.45.0 + 1.45.1 3.20.0 0.31.0 1.3.2 From 68c5a3593aa23b0a2ced16deb76ac0e805e138b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 22:20:08 +0200 Subject: [PATCH 2162/3036] deps: update gax.version to v2.15.0 (#649) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9c58cf4d4c69..d80a4a93a8c5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.45.0 - 2.13.0 + 2.15.0 1.1.0 31.1-jre 3.19.4 From 4778196a755188ea37a68100482482eff9821c35 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 6 Apr 2022 13:20:16 -0700 Subject: [PATCH 2163/3036] chore: Enable Size-Label bot in all googleapis Java repositories (#1381) (#653) * chore: Enable Size-Label bot in all googleapis Java repositories Auto-label T-shirt size indicator should be assigned on every new pull request in all googleapis Java repositories * Remove product Remove product since it is by default true * add license header Co-authored-by: Neenu Shaji Source-Link: https://github.com/googleapis/synthtool/commit/54b2c6ac75370a4a3582431b4a3080f777ba1f11 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 Co-authored-by: Owl Bot Co-authored-by: Neenu Shaji --- .../.github/.OwlBot.lock.yaml | 3 ++- java-shared-dependencies/.github/auto-label.yaml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 java-shared-dependencies/.github/auto-label.yaml diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 426cf83e2ec6..f60d774937f6 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa + digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 +# created: 2022-04-06T16:30:03.627422514Z diff --git a/java-shared-dependencies/.github/auto-label.yaml b/java-shared-dependencies/.github/auto-label.yaml new file mode 100644 index 000000000000..4caef688b745 --- /dev/null +++ b/java-shared-dependencies/.github/auto-label.yaml @@ -0,0 +1,15 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +requestsize: + enabled: true From 452dcb74a907fb03b5fc5f2c33a0c79b4f78ed51 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 22:20:38 +0200 Subject: [PATCH 2164/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.12.1 (#652) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 584fed3e2a08..ae0b516cd700 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.21 0.31.0 3.0.2 - 2.11.0 + 2.12.1 2.13.2.20220324 1.15 4.4.15 From f9f656f95a2db3a35ba40a3b62be5436dc9135da Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 22:20:58 +0200 Subject: [PATCH 2165/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.20.0 (#651) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d80a4a93a8c5..519ed5e0f182 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.15.0 1.1.0 31.1-jre - 3.19.4 + 3.20.0 2.1.5 2.8.0 2.5.11 From 43bcd7569427fc062ee3ae041ecbe8ce8da72d4b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 22:21:27 +0200 Subject: [PATCH 2166/3036] deps: update dependency org.checkerframework:checker-qual to v3.21.4 (#650) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ae0b516cd700..48ca07397e16 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.21.3 + 3.21.4 From 2bd014922cc7fc8131628966e667caa5e0c44ed9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 22:40:25 +0200 Subject: [PATCH 2167/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 (#646) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.fasterxml.jackson:jackson-bom](https://togithub.com/FasterXML/jackson-bom) | `2.13.2.20220324` -> `2.13.2.20220328` | [![age](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.2.20220328/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.2.20220328/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.2.20220328/compatibility-slim/2.13.2.20220324)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.2.20220328/confidence-slim/2.13.2.20220324)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 48ca07397e16..ec6f9736b8ca 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 0.31.0 3.0.2 2.12.1 - 2.13.2.20220324 + 2.13.2.20220328 1.15 4.4.15 4.5.13 From 2d12ba94170f8907bffc803b920829783babe9de Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 6 Apr 2022 22:42:16 +0200 Subject: [PATCH 2168/3036] deps: update dependency io.grpc:grpc-bom to v1.45.1 (#647) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.45.0` -> `1.45.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/compatibility-slim/1.45.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.45.1/confidence-slim/1.45.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.45.1`](https://togithub.com/grpc/grpc-java/releases/v1.45.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.45.0...v1.45.1) #### Bug Fixes - netty: Fixed incompatibility with Netty 4.1.75.Final that caused COMPRESSION_ERROR ([#​9004](https://togithub.com/grpc/grpc-java/issues/9004)) - xds: Fix LBs blindly propagating control plane errors ([#​9012](https://togithub.com/grpc/grpc-java/issues/9012)). This change forces the use of UNAVAILABLE for any xDS communication failures, which otherwise could greatly confuse an application. This is essentially a continuation of the fix in 1.45.0 for XdsNameResolver, but for other similar cases
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 519ed5e0f182..383a0af4ac1c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.45.0 + 1.45.1 2.15.0 1.1.0 31.1-jre From d9ff40504fb35804e2d8d6491f7fb296e8f576cf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 7 Apr 2022 18:08:17 +0200 Subject: [PATCH 2169/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.6 (#791) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.5` -> `1.41.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/compatibility-slim/1.41.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/confidence-slim/1.41.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.6`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1416-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1415v1416-2022-04-06) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.5...v1.41.6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c8896dc6f933..e088707754a6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.3.0 1.6.0 1.33.4 - 1.41.5 + 1.41.6 22.0.0.2 1.45.1 3.20.0 From c93b54f80660b21ba6511b31278215e1e3f883b3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 7 Apr 2022 18:44:13 +0200 Subject: [PATCH 2170/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.6 (#654) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.5` -> `1.41.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/compatibility-slim/1.41.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.6/confidence-slim/1.41.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.6`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1416-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1415v1416-2022-04-06) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.5...v1.41.6)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 383a0af4ac1c..bf6969911cd0 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.8.0 2.5.11 1.6.0 - 1.41.5 + 1.41.6 1.33.1 1.33.4 1.3.0 From b00e7fd8447950996ce60d0e3f498a74fded2ac2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Apr 2022 16:12:25 +0200 Subject: [PATCH 2171/3036] deps: update google.common-protos.version to v2.8.1 (#656) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.0` -> `2.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.1/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.1/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.0` -> `2.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.8.1`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​281-httpsgithubcomgoogleapisjava-common-protoscomparev280v281-2022-04-07) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.8.0...v2.8.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index bf6969911cd0..7f60fe1115a6 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.1-jre 3.20.0 2.1.5 - 2.8.0 + 2.8.1 2.5.11 1.6.0 1.41.6 From 061038b714c8763dfb9ffdbc237e75ada06e71a2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Apr 2022 16:14:33 +0200 Subject: [PATCH 2172/3036] deps: update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 (#655) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.oauth-client:google-oauth-client-bom](https://togithub.com/googleapis/google-oauth-java-client) | `1.33.1` -> `1.33.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.33.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.33.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.33.2/compatibility-slim/1.33.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.33.2/confidence-slim/1.33.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-oauth-java-client ### [`v1.33.2`](https://togithub.com/googleapis/google-oauth-java-client/blob/HEAD/CHANGELOG.md#​1332-httpsgithubcomgoogleapisgoogle-oauth-java-clientcomparev1331v1332-2022-04-07) [Compare Source](https://togithub.com/googleapis/google-oauth-java-client/compare/v1.33.1...v1.33.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 7f60fe1115a6..cc128faa5a30 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.5.11 1.6.0 1.41.6 - 1.33.1 + 1.33.2 1.33.4 1.3.0
    From 3f85e6233e9fbabcc651c83d23ab7e5472596b7b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Apr 2022 16:14:34 +0200 Subject: [PATCH 2173/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.8.1 (#792) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.0` -> `2.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.1/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.8.1`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​281-httpsgithubcomgoogleapisjava-common-protoscomparev280v281-2022-04-07) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.8.0...v2.8.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e088707754a6..65609d9cb983 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.13.0 2.1.5 - 2.8.0 + 2.8.1 1.3.0 1.6.0 1.33.4 From 85280b10cc6857b18844e1e35cc1161a0de49e4b Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Mon, 11 Apr 2022 17:24:32 -0400 Subject: [PATCH 2174/3036] feat: remove substitutions after relocation to gax (#789) --- .../ApiClientVersionSubstitutions.java | 64 ------------------- .../GaxPropertiesSubstitutions.java | 56 ---------------- ...ttyInternalLoggerFactorySubstitutions.java | 55 ---------------- .../google-cloud-core/native-image.properties | 1 - 4 files changed, 176 deletions(-) delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java deleted file mode 100644 index c170c2ea7a3d..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/ApiClientVersionSubstitutions.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features.substitutions; - -import com.oracle.svm.core.annotate.Alias; -import com.oracle.svm.core.annotate.Substitute; -import com.oracle.svm.core.annotate.TargetClass; -import java.util.function.BooleanSupplier; - -/** Substitution for setting Java version correctly in the Google Java Http Client. */ -@TargetClass( - className = - "com.google.api.client.googleapis.services.AbstractGoogleClientRequest$ApiClientVersion", - onlyWith = ApiClientVersionSubstitutions.OnlyIfInClassPath.class) -final class ApiClientVersionSubstitutions { - - @Alias private String versionString; - - @Substitute - public String toString() { - String[] tokens = versionString.split(" "); - - if (tokens.length > 0 && tokens[0].startsWith("gl-java")) { - tokens[0] += "-graalvm"; - return String.join(" ", tokens); - } else { - return versionString; - } - } - - private ApiClientVersionSubstitutions() {} - - static class OnlyIfInClassPath implements BooleanSupplier { - - @Override - public boolean getAsBoolean() { - try { - // Note: Set initialize = false to avoid initializing the class when looking it up. - Class.forName( - "com.google.api.client.googleapis.services." - + "AbstractGoogleClientRequest$ApiClientVersion", - false, - Thread.currentThread().getContextClassLoader()); - return true; - } catch (ClassNotFoundException e) { - return false; - } - } - } -} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java deleted file mode 100644 index 54245a8ee8b7..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/GaxPropertiesSubstitutions.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features.substitutions; - -import com.oracle.svm.core.annotate.Alias; -import com.oracle.svm.core.annotate.RecomputeFieldValue; -import com.oracle.svm.core.annotate.RecomputeFieldValue.Kind; -import com.oracle.svm.core.annotate.TargetClass; -import java.util.function.BooleanSupplier; - -/** - * This file contains the GaxProperties substitution to correctly set the Java language string in - * API call headers for Native Image users. - */ -@TargetClass( - className = "com.google.api.gax.core.GaxProperties", - onlyWith = GaxPropertiesSubstitutions.OnlyIfInClassPath.class) -final class GaxPropertiesSubstitutions { - - @Alias - @RecomputeFieldValue(kind = Kind.FromAlias) - private static String JAVA_VERSION = System.getProperty("java.version") + "-graalvm"; - - private GaxPropertiesSubstitutions() {} - - static class OnlyIfInClassPath implements BooleanSupplier { - - @Override - public boolean getAsBoolean() { - try { - // Note: Set initialize = false to avoid initializing the class when looking it up. - Class.forName( - "com.google.api.gax.core.GaxProperties", - false, - Thread.currentThread().getContextClassLoader()); - return true; - } catch (ClassNotFoundException e) { - return false; - } - } - } -} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java deleted file mode 100644 index 7fcea16318ca..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/substitutions/NettyInternalLoggerFactorySubstitutions.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features.substitutions; - -import com.oracle.svm.core.annotate.Substitute; -import com.oracle.svm.core.annotate.TargetClass; -import io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory; -import io.grpc.netty.shaded.io.netty.util.internal.logging.JdkLoggerFactory; -import java.util.function.BooleanSupplier; - -/** - * Substitutions for {@link InternalLoggerFactory} which are needed to avoid dynamic loading of - * logging library. - */ -@TargetClass( - className = "io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory", - onlyWith = NettyInternalLoggerFactorySubstitutions.OnlyIfInClassPath.class) -final class NettyInternalLoggerFactorySubstitutions { - - @Substitute - private static InternalLoggerFactory newDefaultFactory(String name) { - return JdkLoggerFactory.INSTANCE; - } - - static class OnlyIfInClassPath implements BooleanSupplier { - - @Override - public boolean getAsBoolean() { - try { - // Note: Set initialize = false to avoid initializing the class when looking it up. - Class.forName( - "io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory", - false, - Thread.currentThread().getContextClassLoader()); - return true; - } catch (ClassNotFoundException e) { - return false; - } - } - } -} diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties index 2228a1f094e7..52e277f574ca 100644 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties @@ -14,5 +14,4 @@ Args = --allow-incomplete-classpath \ io.grpc.netty.shaded.io.netty.channel.unix,\ io.grpc.netty.shaded.io.netty.handler.ssl,\ io.grpc.internal.RetriableStream,\ - com.google.api.client.googleapis.services.AbstractGoogleClientRequest$ApiClientVersion,\ com.google.cloud.firestore.FirestoreImpl From dee765a51a84563a8c6da9ec5788451a855391cb Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Mon, 11 Apr 2022 18:04:12 -0400 Subject: [PATCH 2175/3036] deps: revert dependency com.google.protobuf:protobuf-java to v3.19.4 (#329) Reverts googleapis/java-iam#324 --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index adc25a3fff69..6be2f6d05494 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.20.0' + compile 'com.google.protobuf:protobuf-java:3.19.4' compile 'com.google.api:api-common:2.1.5' compile project(':proto-google-common-protos') } From 06dbc50131bf8bccff4ec4d0e314173b0eccb70d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 22:12:36 +0000 Subject: [PATCH 2176/3036] chore(main): release 1.3.1 (#330) :robot: I have created a release *beep* *boop* --- ### [1.3.1](https://github.com/googleapis/java-iam/compare/v1.3.0...v1.3.1) (2022-04-11) ### Dependencies * revert dependency com.google.protobuf:protobuf-java to v3.19.4 ([#329](https://github.com/googleapis/java-iam/issues/329)) ([dee765a](https://github.com/googleapis/java-iam/commit/dee765a51a84563a8c6da9ec5788451a855391cb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 84bf7f668731..0c65f8348937 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.3.1](https://github.com/googleapis/java-iam/compare/v1.3.0...v1.3.1) (2022-04-11) + + +### Dependencies + +* revert dependency com.google.protobuf:protobuf-java to v3.19.4 ([#329](https://github.com/googleapis/java-iam/issues/329)) ([0e679c5](https://github.com/googleapis/java-iam/commit/0e679c5b63ac438f3f3f53b5a920c876450e0a94)) + ## [1.3.0](https://github.com/googleapis/java-iam/compare/v1.2.12...v1.3.0) (2022-04-05) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a2728c26f52f..2c9cdbead70f 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.3.1-SNAPSHOT + 1.3.1 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.1-SNAPSHOT + 1.3.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e7951b7e6375..bec63fad59d4 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.1-SNAPSHOT + 1.3.1 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.1-SNAPSHOT + 1.3.1 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 84d7bcd959e5..9a33b894ec01 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.3.1-SNAPSHOT + 1.3.1 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.1-SNAPSHOT + 1.3.1 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ca3f50e8c7eb..9c88de9464d7 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.0:1.3.1-SNAPSHOT -grpc-google-iam-v1:1.3.0:1.3.1-SNAPSHOT +proto-google-iam-v1:1.3.1:1.3.1 +grpc-google-iam-v1:1.3.1:1.3.1 From 0216fb80f98daa066e32d10889e3dc20542d6114 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 22:20:15 +0000 Subject: [PATCH 2177/3036] chore(main): release 1.3.2-SNAPSHOT (#331) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 2c9cdbead70f..0f589ed06c64 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.3.1 + 1.3.2-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.1 + 1.3.2-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bec63fad59d4..400769d1cae2 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.1 + 1.3.2-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.1 + 1.3.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 9a33b894ec01..77b8c34207ef 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.3.1 + 1.3.2-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.1 + 1.3.2-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 9c88de9464d7..1aacf4e506df 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.1:1.3.1 -grpc-google-iam-v1:1.3.1:1.3.1 +proto-google-iam-v1:1.3.1:1.3.2-SNAPSHOT +grpc-google-iam-v1:1.3.1:1.3.2-SNAPSHOT From 8ed3110066fc90ffadcec8587427885252556d1d Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 12 Apr 2022 09:59:31 -0400 Subject: [PATCH 2178/3036] feat: remove resource-config after relocation (#795) --- .../google-cloud-core/resource-config.json | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json deleted file mode 100644 index 3afe5ffebcae..000000000000 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/resource-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "resources":[ - {"pattern":"\\QMETA-INF/native/libio_grpc_netty_shaded_netty_tcnative_linux_x86_64.so\\E"}, - {"pattern":"\\QMETA-INF/native/libio_grpc_netty_shaded_netty_transport_native_epoll_x86_64.so\\E"}, - {"pattern":"\\QMETA-INF/services/io.grpc.LoadBalancerProvider\\E"}, - {"pattern":"\\QMETA-INF/services/io.grpc.ManagedChannelProvider\\E"}, - {"pattern":"\\QMETA-INF/services/io.grpc.NameResolverProvider\\E"}, - {"pattern":"\\QMETA-INF/services/jdk.vm.ci.services.JVMCIServiceLocator\\E"}, - {"pattern":"\\Qdependencies.properties\\E"}, - {"pattern":"\\Qgoogle-http-client.properties\\E"} - ], - "bundles":[] -} From 219a519c0a5da70fbc0997f0944615932bb42433 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 12 Apr 2022 09:59:46 -0400 Subject: [PATCH 2179/3036] feat: remove native-image.properties settings after relocation (#794) --- .../google-cloud-core/native-image.properties | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties index 52e277f574ca..5ce9338cffb8 100644 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties @@ -1,17 +1,2 @@ -Args = --allow-incomplete-classpath \ ---enable-url-protocols=https,http \ ---initialize-at-build-time=org.conscrypt,\ - org.slf4j.LoggerFactory,\ - org.junit.platform.engine.TestTag,\ - com.google.cloud.spanner.IntegrationTestEnv \ ---initialize-at-run-time=io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.SSL,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateVerifier,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethod,\ - io.grpc.netty.shaded.io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod,\ - io.grpc.netty.shaded.io.grpc.netty,\ - io.grpc.netty.shaded.io.netty.channel.epoll,\ - io.grpc.netty.shaded.io.netty.channel.unix,\ - io.grpc.netty.shaded.io.netty.handler.ssl,\ - io.grpc.internal.RetriableStream,\ - com.google.cloud.firestore.FirestoreImpl +Args = --initialize-at-build-time=com.google.cloud.spanner.IntegrationTestEnv \ +--initialize-at-run-time=com.google.cloud.firestore.FirestoreImpl From cafd489c0ba856d4a57b101618c58f263a385bec Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:00:15 -0400 Subject: [PATCH 2180/3036] feat(java): remove GoogleJsonClentFeature and OpenCensusFeature after relocation (#793) * feat: remove GoogleJsonClentFeature and OpenCensusFeature after relocation --- java-core/native-image-support/pom.xml | 5 - .../features/GoogleJsonClientFeature.java | 99 ------------------- .../features/clients/OpenCensusFeature.java | 42 -------- 3 files changed, 146 deletions(-) delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index d1b6884e0f65..e2c4ed978bfc 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -21,11 +21,6 @@ - - com.google.guava - guava - - io.grpc grpc-netty-shaded diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java deleted file mode 100644 index 8cc3107f4e51..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GoogleJsonClientFeature.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features; - -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassForReflection; - -import com.oracle.svm.core.annotate.AutomaticFeature; -import com.oracle.svm.core.configure.ResourcesRegistry; -import org.graalvm.nativeimage.ImageSingletons; -import org.graalvm.nativeimage.hosted.Feature; - -/** Configures Native Image settings for the Google JSON Client. */ -@AutomaticFeature -final class GoogleJsonClientFeature implements Feature { - - private static final String GOOGLE_API_CLIENT_CLASS = - "com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient"; - - private static final String GOOGLE_API_CLIENT_REQUEST_CLASS = - "com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest"; - - private static final String GENERIC_JSON_CLASS = "com.google.api.client.json.GenericJson"; - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - loadApiClient(access); - loadHttpClient(access); - loadMiscClasses(access); - } - - private void loadApiClient(BeforeAnalysisAccess access) { - // For com.google.api-client:google-api-client - Class googleApiClientClass = access.findClassByName(GOOGLE_API_CLIENT_CLASS); - - if (googleApiClientClass != null) { - // All reachable instances of the AbstractGoogleJsonClient must be registered. - access.registerSubtypeReachabilityHandler( - (duringAccess, subtype) -> registerClassForReflection(access, subtype.getName()), - googleApiClientClass); - - // All reachable instances of the AbstractGoogleJsonClientRequest must be registered. - access.registerSubtypeReachabilityHandler( - (duringAccess, subtype) -> registerClassForReflection(access, subtype.getName()), - access.findClassByName(GOOGLE_API_CLIENT_REQUEST_CLASS)); - - // Resources - ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); - resourcesRegistry.addResources( - "\\Qcom/google/api/client/googleapis/google-api-client.properties\\E"); - resourcesRegistry.addResources("\\Qcom/google/api/client/googleapis/google.p12\\E"); - resourcesRegistry.addResources( - "\\Qcom/google/api/client/http/google-http-client.properties\\E"); - } - } - - private void loadHttpClient(BeforeAnalysisAccess access) { - // For com.google.http-client:google-http-client - Class genericJsonClass = access.findClassByName(GENERIC_JSON_CLASS); - - if (genericJsonClass != null) { - // All reachable instances of GenericJson must be registered. - access.registerSubtypeReachabilityHandler( - (duringAccess, subtype) -> registerClassForReflection(access, subtype.getName()), - genericJsonClass); - - registerClassForReflection(access, "com.google.api.client.util.GenericData"); - registerClassForReflection(access, "com.google.api.client.json.webtoken.JsonWebToken"); - registerClassForReflection(access, "com.google.api.client.json.webtoken.JsonWebToken$Header"); - registerClassForReflection( - access, "com.google.api.client.json.webtoken.JsonWebToken$Payload"); - registerClassForReflection( - access, "com.google.api.client.json.webtoken.JsonWebSignature$Header"); - registerClassForReflection(access, "com.google.api.client.json.webtoken.JsonWebSignature"); - registerClassForReflection(access, "com.google.api.client.http.UrlEncodedContent"); - registerClassForReflection(access, "com.google.api.client.http.GenericUrl"); - registerClassForReflection(access, "com.google.api.client.http.HttpRequest"); - registerClassForReflection(access, "com.google.api.client.http.HttpHeaders"); - } - } - - private void loadMiscClasses(BeforeAnalysisAccess access) { - registerClassForReflection(access, "com.google.common.util.concurrent.AbstractFuture"); - registerClassForReflection(access, "com.google.common.util.concurrent.AbstractFuture$Waiter"); - } -} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java deleted file mode 100644 index e718f2856738..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/OpenCensusFeature.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features.clients; - -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerForReflectiveInstantiation; - -import com.oracle.svm.core.annotate.AutomaticFeature; -import org.graalvm.nativeimage.hosted.Feature; - -/** Registers reflection usage in OpenCensus libraries. */ -@AutomaticFeature -final class OpenCensusFeature implements Feature { - - private static final String TAGS_COMPONENT_CLASS = "io.opencensus.impl.tags.TagsComponentImpl"; - private static final String STATS_COMPONENT_CLASS = "io.opencensus.impl.stats.StatsComponentImpl"; - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - if (access.findClassByName(STATS_COMPONENT_CLASS) != null) { - registerForReflectiveInstantiation(access, STATS_COMPONENT_CLASS); - } - if (access.findClassByName(TAGS_COMPONENT_CLASS) != null) { - registerForReflectiveInstantiation(access, "io.opencensus.impl.metrics.MetricsComponentImpl"); - registerForReflectiveInstantiation(access, "io.opencensus.impl.tags.TagsComponentImpl"); - registerForReflectiveInstantiation(access, "io.opencensus.impl.trace.TraceComponentImpl"); - } - } -} From 9cc7dba1800940d87f911b692f107ffb7884bde4 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:21:02 -0400 Subject: [PATCH 2181/3036] feat(java): remove Netty Native Image configuration after relocation to gax (#771) * feat(java): remove Netty Native Image configuration after relocation --- java-core/native-image-support/pom.xml | 5 - .../features/GrpcNettyFeature.java | 122 ------------------ 2 files changed, 127 deletions(-) delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index e2c4ed978bfc..f5e0c202c50b 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -21,11 +21,6 @@ - - io.grpc - grpc-netty-shaded - provided - org.graalvm.nativeimage diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java deleted file mode 100644 index 754f9005e241..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/GrpcNettyFeature.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features; - -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassForReflection; -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassHierarchyForReflection; -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerForReflectiveInstantiation; -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerForUnsafeFieldAccess; - -import com.oracle.svm.core.annotate.AutomaticFeature; -import org.graalvm.nativeimage.hosted.Feature; - -/** Configures Native Image settings for the grpc-netty-shaded dependency. */ -@AutomaticFeature -final class GrpcNettyFeature implements Feature { - - private static final String GRPC_NETTY_SHADED_CLASS = - "io.grpc.netty.shaded.io.grpc.netty.NettyServer"; - - private static final String GOOGLE_AUTH_CLASS = - "com.google.auth.oauth2.ServiceAccountCredentials"; - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - loadGoogleAuthClasses(access); - loadGrpcNettyClasses(access); - loadMiscClasses(access); - } - - private static void loadGoogleAuthClasses(BeforeAnalysisAccess access) { - // For com.google.auth:google-auth-library-oauth2-http - Class authClass = access.findClassByName(GOOGLE_AUTH_CLASS); - if (authClass != null) { - registerClassHierarchyForReflection( - access, "com.google.auth.oauth2.ServiceAccountCredentials"); - registerClassHierarchyForReflection( - access, "com.google.auth.oauth2.ServiceAccountJwtAccessCredentials"); - } - } - - private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) { - // For io.grpc:grpc-netty-shaded - Class nettyShadedClass = access.findClassByName(GRPC_NETTY_SHADED_CLASS); - if (nettyShadedClass != null) { - // Misc. classes used by grpc-netty-shaded - registerForReflectiveInstantiation( - access, "io.grpc.netty.shaded.io.netty.channel.socket.nio.NioSocketChannel"); - registerClassForReflection( - access, "io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil"); - registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.util.ReferenceCountUtil"); - registerClassForReflection( - access, "io.grpc.netty.shaded.io.netty.buffer.AbstractByteBufAllocator"); - - // Epoll Libraries - registerClassForReflection(access, "io.grpc.netty.shaded.io.netty.channel.epoll.Epoll"); - registerClassForReflection( - access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollChannelOption"); - registerClassForReflection( - access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoopGroup"); - registerForReflectiveInstantiation( - access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollServerSocketChannel"); - registerForReflectiveInstantiation( - access, "io.grpc.netty.shaded.io.netty.channel.epoll.EpollSocketChannel"); - - // Unsafe field accesses - registerForUnsafeFieldAccess( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded." - + "org.jctools.queues.MpscArrayQueueProducerIndexField", - "producerIndex"); - registerForUnsafeFieldAccess( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded." - + "org.jctools.queues.MpscArrayQueueProducerLimitField", - "producerLimit"); - registerForUnsafeFieldAccess( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded." - + "org.jctools.queues.MpscArrayQueueConsumerIndexField", - "consumerIndex"); - registerForUnsafeFieldAccess( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded." - + "org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields", - "producerIndex"); - registerForUnsafeFieldAccess( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded." - + "org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields", - "producerLimit"); - registerForUnsafeFieldAccess( - access, - "io.grpc.netty.shaded.io.netty.util.internal.shaded." - + "org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields", - "consumerIndex"); - } - } - - /** Miscellaneous classes that need to be registered coming from various JARs. */ - private static void loadMiscClasses(BeforeAnalysisAccess access) { - registerClassHierarchyForReflection(access, "com.google.protobuf.DescriptorProtos"); - registerClassForReflection(access, "com.google.api.FieldBehavior"); - - registerForUnsafeFieldAccess(access, "javax.net.ssl.SSLContext", "contextSpi"); - registerClassForReflection(access, "java.lang.management.ManagementFactory"); - registerClassForReflection(access, "java.lang.management.RuntimeMXBean"); - } -} From 52c57984bc943bf67bafe262e65945afec197659 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Apr 2022 16:52:29 +0200 Subject: [PATCH 2182/3036] deps: update google.common-protos.version to v2.8.2 (#659) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index cc128faa5a30..310e1683766c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.1-jre 3.20.0 2.1.5 - 2.8.1 + 2.8.2 2.5.11 1.6.0 1.41.6 From dfc3c577ae99099b90b607256f5305fe0fe5bd85 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Apr 2022 17:42:47 +0200 Subject: [PATCH 2183/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.7 (#797) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.6` -> `1.41.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/compatibility-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/confidence-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.7`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1417-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1416v1417-2022-04-11) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.6...v1.41.7)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 65609d9cb983..af1a2d87fe3b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.3.0 1.6.0 1.33.4 - 1.41.6 + 1.41.7 22.0.0.2 1.45.1 3.20.0 From 95e5d5c82832acf91264097de698e18464cf5fcc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Apr 2022 17:42:47 +0200 Subject: [PATCH 2184/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.7 (#658) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.6` -> `1.41.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/compatibility-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/confidence-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.7`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1417-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1416v1417-2022-04-11) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.6...v1.41.7)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 310e1683766c..351c631d9bb5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.8.2 2.5.11 1.6.0 - 1.41.6 + 1.41.7 1.33.2 1.33.4 1.3.0 From d6ea18e97eab47685a202ec0ec11adedd7501764 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Apr 2022 17:42:51 +0200 Subject: [PATCH 2185/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.8.2 (#796) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.1` -> `2.8.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.2/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.2/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.8.2`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​282-httpsgithubcomgoogleapisjava-common-protoscomparev281v282-2022-04-11) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.8.1...v2.8.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index af1a2d87fe3b..80a0f4365dbb 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.13.0 2.1.5 - 2.8.1 + 2.8.2 1.3.0 1.6.0 1.33.4 From 6e87c544162937431f4713d2453779daf5fdead4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 12 Apr 2022 11:43:05 -0400 Subject: [PATCH 2186/3036] chore: Enable Size-Label bot in all googleapis Java repositories (#1381) (#328) * chore: Enable Size-Label bot in all googleapis Java repositories Auto-label T-shirt size indicator should be assigned on every new pull request in all googleapis Java repositories * Remove product Remove product since it is by default true * add license header Co-authored-by: Neenu Shaji Source-Link: https://github.com/googleapis/synthtool/commit/54b2c6ac75370a4a3582431b4a3080f777ba1f11 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 Co-authored-by: Owl Bot Co-authored-by: Neenu Shaji --- java-iam/.github/.OwlBot.lock.yaml | 3 ++- java-iam/.github/auto-label.yaml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 java-iam/.github/auto-label.yaml diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 426cf83e2ec6..f60d774937f6 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa + digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 +# created: 2022-04-06T16:30:03.627422514Z diff --git a/java-iam/.github/auto-label.yaml b/java-iam/.github/auto-label.yaml new file mode 100644 index 000000000000..4caef688b745 --- /dev/null +++ b/java-iam/.github/auto-label.yaml @@ -0,0 +1,15 @@ +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +requestsize: + enabled: true From 27ca70c6e5cc056b9299d1d63a0436b52bfc6e85 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 12 Apr 2022 13:22:12 -0400 Subject: [PATCH 2187/3036] deps: revert protobuf to 3.19 and common-protos 2.8.3 (#798) This reverts commit 51f59fcee9ef8bf46ecedacfaa1feabc96500ada. --- java-core/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 80a0f4365dbb..7bd3afb002c5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,14 +153,14 @@ google-cloud-core-parent 2.13.0 2.1.5 - 2.8.2 + 2.8.3 1.3.0 1.6.0 1.33.4 1.41.7 22.0.0.2 1.45.1 - 3.20.0 + 3.19.4 0.31.0 1.3.2 31.1-jre From 9fe7d35f5e39f25a16c1dbb73200c71b47ec8dc5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Apr 2022 20:11:32 +0200 Subject: [PATCH 2188/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.1 (#799) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7bd3afb002c5..8f27eb53eb3f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.13.0 2.1.5 2.8.3 - 1.3.0 + 1.3.1 1.6.0 1.33.4 1.41.7 From 3abc47d5f805297b32a578f11f018a072fce7546 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Apr 2022 23:56:10 +0200 Subject: [PATCH 2189/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.34.0 (#800) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.33.4` -> `1.34.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/compatibility-slim/1.33.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/confidence-slim/1.33.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.34.0`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1340-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1334v1340-2022-04-12) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.4...v1.34.0) ##### Features - deprecate OOB auth flow in GooglePromptReceiver ([#​2034](https://togithub.com/googleapis/google-api-java-client/issues/2034)) ([334d8d6](https://togithub.com/googleapis/google-api-java-client/commit/334d8d68a455e41be137ed27dab50df7915b3992)) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.33.4 ([#​2022](https://togithub.com/googleapis/google-api-java-client/issues/2022)) ([582bde1](https://togithub.com/googleapis/google-api-java-client/commit/582bde1f48c892b5856d0c51d8e051be6d20321e)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.1.0 ([#​2025](https://togithub.com/googleapis/google-api-java-client/issues/2025)) ([ba36a44](https://togithub.com/googleapis/google-api-java-client/commit/ba36a44e27f97edc5a6aa6921b43b753f51af569)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#​2033](https://togithub.com/googleapis/google-api-java-client/issues/2033)) ([fed93e3](https://togithub.com/googleapis/google-api-java-client/commit/fed93e3a3db2396d7a4bf4c565864ce1e39dc3ba)) ##### Dependencies - revert protobuf to 3.19 ([#​2035](https://togithub.com/googleapis/google-api-java-client/issues/2035)) ([00eabeb](https://togithub.com/googleapis/google-api-java-client/commit/00eabeb293fc6978a7667fbdc695b81add7d700a)) ##### [1.33.4](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.3...v1.33.4) (2022-03-28) ##### Dependencies - update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.12 ([#​2019](https://togithub.com/googleapis/google-api-java-client/issues/2019)) ([f1e0909](https://togithub.com/googleapis/google-api-java-client/commit/f1e09099f2954df68e8d476f142db7c4b7388917)) ##### [1.33.3](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.2...v1.33.3) (2022-03-25) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.33.2 ([#​1985](https://togithub.com/googleapis/google-api-java-client/issues/1985)) ([191850a](https://togithub.com/googleapis/google-api-java-client/commit/191850a33a562300325ee7809e68fca89feeb5f3)) - **deps:** update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.4 ([#​2010](https://togithub.com/googleapis/google-api-java-client/issues/2010)) ([b4c64a0](https://togithub.com/googleapis/google-api-java-client/commit/b4c64a0365ed8656bd116763318e975c036551b7)) - **deps:** update dependency com.google.cloud:libraries-bom to v24.3.0 ([#​1987](https://togithub.com/googleapis/google-api-java-client/issues/1987)) ([1620e8f](https://togithub.com/googleapis/google-api-java-client/commit/1620e8f6fe69d1af46afb9838ab16594c6c486b5)) - **deps:** update dependency com.google.cloud:libraries-bom to v24.4.0 ([#​2007](https://togithub.com/googleapis/google-api-java-client/issues/2007)) ([cba8dd2](https://togithub.com/googleapis/google-api-java-client/commit/cba8dd246c455c0f857d31f94f465b0d92b01829)) - **deps:** update dependency com.google.cloud:libraries-bom to v25 ([#​2014](https://togithub.com/googleapis/google-api-java-client/issues/2014)) ([43bd4a1](https://togithub.com/googleapis/google-api-java-client/commit/43bd4a13aa4d74e99b138491674e690ea4db8eb0)) - **deps:** update dependency com.google.guava:guava to v31.1-jre ([#​2004](https://togithub.com/googleapis/google-api-java-client/issues/2004)) ([eac0e77](https://togithub.com/googleapis/google-api-java-client/commit/eac0e77e8ac9ab1b784ff7c7c4c7f2f8c3095797)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#​1986](https://togithub.com/googleapis/google-api-java-client/issues/1986)) ([b8376f1](https://togithub.com/googleapis/google-api-java-client/commit/b8376f15284adab2684e3622af4f3d960bb32387)) ##### [1.33.2](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.1...v1.33.2) (2022-02-08) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/google-api-java-client/issues/1339)) ([#​1972](https://togithub.com/googleapis/google-api-java-client/issues/1972)) ([b1d8c16](https://togithub.com/googleapis/google-api-java-client/commit/b1d8c167ea05735a08149681c61e30eb5b160368)) ##### [1.33.1](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.0...v1.33.1) (2022-01-21) ##### Bug Fixes - library should released as 1.33.1 ([#​1966](https://togithub.com/googleapis/google-api-java-client/issues/1966)) ([44bb1c5](https://togithub.com/googleapis/google-api-java-client/commit/44bb1c52372bf8de03fe1c05b835f5f04c3a0c85))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8f27eb53eb3f..49dd08cf2400 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.8.3 1.3.1 1.6.0 - 1.33.4 + 1.34.0 1.41.7 22.0.0.2 1.45.1 From 9871634b4e97429cfecc0d8ea96ae5431dcedc5c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Apr 2022 20:06:30 +0200 Subject: [PATCH 2190/3036] deps: update google.common-protos.version to v2.8.3 (#660) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.2` -> `2.8.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.3/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.8.3/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.2` -> `2.8.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.3/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.8.3/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.8.3`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​283-httpsgithubcomgoogleapisjava-common-protoscomparev282v283-2022-04-12) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.8.2...v2.8.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 351c631d9bb5..61a00b704de0 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.1-jre 3.20.0 2.1.5 - 2.8.2 + 2.8.3 2.5.11 1.6.0 1.41.7 From bfedb46a68103daa1d7d7bc46edbd0ae820b8d32 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Apr 2022 20:08:15 +0200 Subject: [PATCH 2191/3036] deps: update iam.version to v1.3.1 (#661) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.0` -> `1.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.1/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.1/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.0` -> `1.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.1/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.1/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.3.1`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​131-httpsgithubcomgoogleapisjava-iamcomparev130v131-2022-04-11) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.0...v1.3.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 61a00b704de0..ce8798e8ab10 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.7 1.33.2 1.33.4 - 1.3.0 + 1.3.1 From f8f38fffc4da5ede8abd650022f8b69faf6b3484 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 13 Apr 2022 20:14:11 +0200 Subject: [PATCH 2192/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.34.0 (#662) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.33.4` -> `1.34.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/compatibility-slim/1.33.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.0/confidence-slim/1.33.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.34.0`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1340-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1334v1340-2022-04-12) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.4...v1.34.0) ##### Features - deprecate OOB auth flow in GooglePromptReceiver ([#​2034](https://togithub.com/googleapis/google-api-java-client/issues/2034)) ([334d8d6](https://togithub.com/googleapis/google-api-java-client/commit/334d8d68a455e41be137ed27dab50df7915b3992)) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.33.4 ([#​2022](https://togithub.com/googleapis/google-api-java-client/issues/2022)) ([582bde1](https://togithub.com/googleapis/google-api-java-client/commit/582bde1f48c892b5856d0c51d8e051be6d20321e)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.1.0 ([#​2025](https://togithub.com/googleapis/google-api-java-client/issues/2025)) ([ba36a44](https://togithub.com/googleapis/google-api-java-client/commit/ba36a44e27f97edc5a6aa6921b43b753f51af569)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#​2033](https://togithub.com/googleapis/google-api-java-client/issues/2033)) ([fed93e3](https://togithub.com/googleapis/google-api-java-client/commit/fed93e3a3db2396d7a4bf4c565864ce1e39dc3ba)) ##### Dependencies - revert protobuf to 3.19 ([#​2035](https://togithub.com/googleapis/google-api-java-client/issues/2035)) ([00eabeb](https://togithub.com/googleapis/google-api-java-client/commit/00eabeb293fc6978a7667fbdc695b81add7d700a)) ##### [1.33.4](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.3...v1.33.4) (2022-03-28) ##### Dependencies - update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.12 ([#​2019](https://togithub.com/googleapis/google-api-java-client/issues/2019)) ([f1e0909](https://togithub.com/googleapis/google-api-java-client/commit/f1e09099f2954df68e8d476f142db7c4b7388917)) ##### [1.33.3](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.2...v1.33.3) (2022-03-25) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.33.2 ([#​1985](https://togithub.com/googleapis/google-api-java-client/issues/1985)) ([191850a](https://togithub.com/googleapis/google-api-java-client/commit/191850a33a562300325ee7809e68fca89feeb5f3)) - **deps:** update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.4 ([#​2010](https://togithub.com/googleapis/google-api-java-client/issues/2010)) ([b4c64a0](https://togithub.com/googleapis/google-api-java-client/commit/b4c64a0365ed8656bd116763318e975c036551b7)) - **deps:** update dependency com.google.cloud:libraries-bom to v24.3.0 ([#​1987](https://togithub.com/googleapis/google-api-java-client/issues/1987)) ([1620e8f](https://togithub.com/googleapis/google-api-java-client/commit/1620e8f6fe69d1af46afb9838ab16594c6c486b5)) - **deps:** update dependency com.google.cloud:libraries-bom to v24.4.0 ([#​2007](https://togithub.com/googleapis/google-api-java-client/issues/2007)) ([cba8dd2](https://togithub.com/googleapis/google-api-java-client/commit/cba8dd246c455c0f857d31f94f465b0d92b01829)) - **deps:** update dependency com.google.cloud:libraries-bom to v25 ([#​2014](https://togithub.com/googleapis/google-api-java-client/issues/2014)) ([43bd4a1](https://togithub.com/googleapis/google-api-java-client/commit/43bd4a13aa4d74e99b138491674e690ea4db8eb0)) - **deps:** update dependency com.google.guava:guava to v31.1-jre ([#​2004](https://togithub.com/googleapis/google-api-java-client/issues/2004)) ([eac0e77](https://togithub.com/googleapis/google-api-java-client/commit/eac0e77e8ac9ab1b784ff7c7c4c7f2f8c3095797)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#​1986](https://togithub.com/googleapis/google-api-java-client/issues/1986)) ([b8376f1](https://togithub.com/googleapis/google-api-java-client/commit/b8376f15284adab2684e3622af4f3d960bb32387)) ##### [1.33.2](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.1...v1.33.2) (2022-02-08) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/google-api-java-client/issues/1339)) ([#​1972](https://togithub.com/googleapis/google-api-java-client/issues/1972)) ([b1d8c16](https://togithub.com/googleapis/google-api-java-client/commit/b1d8c167ea05735a08149681c61e30eb5b160368)) ##### [1.33.1](https://togithub.com/googleapis/google-api-java-client/compare/v1.33.0...v1.33.1) (2022-01-21) ##### Bug Fixes - library should released as 1.33.1 ([#​1966](https://togithub.com/googleapis/google-api-java-client/issues/1966)) ([44bb1c5](https://togithub.com/googleapis/google-api-java-client/commit/44bb1c52372bf8de03fe1c05b835f5f04c3a0c85))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ce8798e8ab10..5915d24f9afc 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.6.0 1.41.7 1.33.2 - 1.33.4 + 1.34.0 1.3.1 From bd33a764c415cbb5580c3420318de25a8cf5adf7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Apr 2022 05:25:13 +0200 Subject: [PATCH 2193/3036] deps: update dependency com.google.api:gax-bom to v2.16.0 (#785) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 49dd08cf2400..6f7d7ecb6245 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.13.0 + 2.16.0 2.1.5 2.8.3 1.3.1 From 1e62b895a4b759bad240bf225464d1d3acd51cf0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Apr 2022 14:54:28 +0200 Subject: [PATCH 2194/3036] deps: update gax.version to v2.16.0 (#664) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5915d24f9afc..dbbb646710b7 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.45.1 - 2.15.0 + 2.16.0 1.1.0 31.1-jre 3.20.0 From 9fda073da130f6ffbaf5a12cbd7faabb08d3ffc5 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 14 Apr 2022 08:56:32 -0400 Subject: [PATCH 2195/3036] deps: reverting protobuf to 3.19.4 (#657) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index dbbb646710b7..f081a5cb0567 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.16.0 1.1.0 31.1-jre - 3.20.0 + 3.19.4 2.1.5 2.8.3 2.5.11 From 140cfea7b5239e8ac0b65db35e47f9c9ed487a41 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Apr 2022 14:57:00 +0200 Subject: [PATCH 2196/3036] deps: update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 (#663) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f081a5cb0567..c2eae036649e 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.5.11 1.6.0 1.41.7 - 1.33.2 + 1.33.3 1.34.0 1.3.1 From 7dd17f41442e60880413306639c3a3d37956924f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Apr 2022 13:00:17 +0000 Subject: [PATCH 2197/3036] chore(main): release 2.9.1-SNAPSHOT (#645) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). From 9699b463f02d405425ddaf1a5b9d305146f9a1ff Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 14 Apr 2022 11:00:49 -0400 Subject: [PATCH 2198/3036] ci: no need to check native-image-support gRPC convergence (#666) I found https://github.com/googleapis/java-shared-dependencies/pull/665#issuecomment-1099189483 complains old gRPC version declared by "com.google.cloud:native-image-support" (provided scope). The artifact's gRPC dependency is irrelevant to users. --- .../java/com/google/cloud/DependencyConvergenceTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java b/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java index 6552438363e1..66bf3d753eb7 100644 --- a/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java +++ b/java-shared-dependencies/dependency-convergence-check/src/test/java/com/google/cloud/DependencyConvergenceTest.java @@ -57,7 +57,10 @@ public void testGrpcConvergence() throws Exception { "opencensus-exporter-stats-stackdriver", // Because grpc-gcp's gRPC version does not use version range notation, it does not // break downstream build - "grpc-gcp")); + "grpc-gcp", + // Because native-image-support's gRPC dependency is provided scope, it does not bring + // inconsistent gRPC artifacts to users' class paths. + "native-image-support")); } /** From 473b79096faa8ed174282a6df07677d78f47ff13 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Apr 2022 15:52:19 +0000 Subject: [PATCH 2199/3036] chore(main): release 2.6.0 (#786) :robot: I have created a release *beep* *boop* --- ## [2.6.0](https://github.com/googleapis/java-core/compare/v2.5.11...v2.6.0) (2022-04-14) ### Features * **java:** remove GoogleJsonClentFeature and OpenCensusFeature after relocation ([#793](https://github.com/googleapis/java-core/issues/793)) ([cafd489](https://github.com/googleapis/java-core/commit/cafd489c0ba856d4a57b101618c58f263a385bec)) * **java:** remove Netty Native Image configuration after relocation to gax ([#771](https://github.com/googleapis/java-core/issues/771)) ([9cc7dba](https://github.com/googleapis/java-core/commit/9cc7dba1800940d87f911b692f107ffb7884bde4)) * **java:** remove protobuf Native Image configuration ([#784](https://github.com/googleapis/java-core/issues/784)) ([7a8df66](https://github.com/googleapis/java-core/commit/7a8df666f0bb2c8cafd6f27953d4b3635358d54f)) * remove native-image.properties settings after relocation ([#794](https://github.com/googleapis/java-core/issues/794)) ([219a519](https://github.com/googleapis/java-core/commit/219a519c0a5da70fbc0997f0944615932bb42433)) * remove resource-config after relocation ([#795](https://github.com/googleapis/java-core/issues/795)) ([8ed3110](https://github.com/googleapis/java-core/commit/8ed3110066fc90ffadcec8587427885252556d1d)) * remove substitutions after relocation to gax ([#789](https://github.com/googleapis/java-core/issues/789)) ([85280b1](https://github.com/googleapis/java-core/commit/85280b10cc6857b18844e1e35cc1161a0de49e4b)) ### Bug Fixes * **java:** register test class for reflection to fix native image test ([#766](https://github.com/googleapis/java-core/issues/766)) ([fa07125](https://github.com/googleapis/java-core/commit/fa0712573dc80a15fc74bea6aaf52a2d7b46b660)) ### Dependencies * revert protobuf to 3.19 and common-protos 2.8.3 ([#798](https://github.com/googleapis/java-core/issues/798)) ([27ca70c](https://github.com/googleapis/java-core/commit/27ca70c6e5cc056b9299d1d63a0436b52bfc6e85)) * update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#800](https://github.com/googleapis/java-core/issues/800)) ([3abc47d](https://github.com/googleapis/java-core/commit/3abc47d5f805297b32a578f11f018a072fce7546)) * update dependency com.google.api:gax-bom to v2.16.0 ([#785](https://github.com/googleapis/java-core/issues/785)) ([bd33a76](https://github.com/googleapis/java-core/commit/bd33a764c415cbb5580c3420318de25a8cf5adf7)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.8.1 ([#792](https://github.com/googleapis/java-core/issues/792)) ([3f85e62](https://github.com/googleapis/java-core/commit/3f85e6233e9fbabcc651c83d23ab7e5472596b7b)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.8.2 ([#796](https://github.com/googleapis/java-core/issues/796)) ([d6ea18e](https://github.com/googleapis/java-core/commit/d6ea18e97eab47685a202ec0ec11adedd7501764)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.0 ([#783](https://github.com/googleapis/java-core/issues/783)) ([48594f3](https://github.com/googleapis/java-core/commit/48594f33feb2e9e774817a503e2aeb84e852b416)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.1 ([#799](https://github.com/googleapis/java-core/issues/799)) ([9fe7d35](https://github.com/googleapis/java-core/commit/9fe7d35f5e39f25a16c1dbb73200c71b47ec8dc5)) * update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#788](https://github.com/googleapis/java-core/issues/788)) ([cfdabb4](https://github.com/googleapis/java-core/commit/cfdabb48c84892495d71f2cc5d87010328844d10)) * update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#791](https://github.com/googleapis/java-core/issues/791)) ([d9ff405](https://github.com/googleapis/java-core/commit/d9ff40504fb35804e2d8d6491f7fb296e8f576cf)) * update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#797](https://github.com/googleapis/java-core/issues/797)) ([dfc3c57](https://github.com/googleapis/java-core/commit/dfc3c577ae99099b90b607256f5305fe0fe5bd85)) * update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#787](https://github.com/googleapis/java-core/issues/787)) ([51f59fc](https://github.com/googleapis/java-core/commit/51f59fcee9ef8bf46ecedacfaa1feabc96500ada)) * update dependency io.grpc:grpc-bom to v1.45.1 ([#780](https://github.com/googleapis/java-core/issues/780)) ([cd8a078](https://github.com/googleapis/java-core/commit/cd8a078095c5461cd0e3904746c47e4ac5eab7a4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 33 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++---- java-core/google-cloud-core-grpc/pom.xml | 4 +-- java-core/google-cloud-core-http/pom.xml | 4 +-- java-core/google-cloud-core/pom.xml | 4 +-- java-core/native-image-support/pom.xml | 4 +-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 +-- 8 files changed, 49 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 7694bb9efd27..6d80f4d69ef8 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## [2.6.0](https://github.com/googleapis/java-core/compare/v2.5.11...v2.6.0) (2022-04-14) + + +### Features + +* **java:** remove GoogleJsonClentFeature and OpenCensusFeature after relocation ([#793](https://github.com/googleapis/java-core/issues/793)) ([2880112](https://github.com/googleapis/java-core/commit/28801121a50583118286419ac91332a201285c4c)) +* **java:** remove Netty Native Image configuration after relocation to gax ([#771](https://github.com/googleapis/java-core/issues/771)) ([9ba04f9](https://github.com/googleapis/java-core/commit/9ba04f9f135e1ff7344bb45eeb5796154616ef20)) +* **java:** remove protobuf Native Image configuration ([#784](https://github.com/googleapis/java-core/issues/784)) ([0bc8549](https://github.com/googleapis/java-core/commit/0bc8549d3364ac169f21cc00c00497cd59998106)) +* remove native-image.properties settings after relocation ([#794](https://github.com/googleapis/java-core/issues/794)) ([e24bfdd](https://github.com/googleapis/java-core/commit/e24bfddbb9f588fbf69cdc0022cdf67f2c628278)) +* remove resource-config after relocation ([#795](https://github.com/googleapis/java-core/issues/795)) ([87e2973](https://github.com/googleapis/java-core/commit/87e29733c3714b39000e5fa3d232c35ce69955a2)) +* remove substitutions after relocation to gax ([#789](https://github.com/googleapis/java-core/issues/789)) ([29291e9](https://github.com/googleapis/java-core/commit/29291e9f50e4500ef5d5c1fe30098d025b216f9a)) + + +### Bug Fixes + +* **java:** register test class for reflection to fix native image test ([#766](https://github.com/googleapis/java-core/issues/766)) ([6fe52c3](https://github.com/googleapis/java-core/commit/6fe52c3424546cad7b8158668d3f8a655b56af41)) + + +### Dependencies + +* revert protobuf to 3.19 and common-protos 2.8.3 ([#798](https://github.com/googleapis/java-core/issues/798)) ([0f36a84](https://github.com/googleapis/java-core/commit/0f36a848a03c50d5d0187241bccd66fdb0cea862)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#800](https://github.com/googleapis/java-core/issues/800)) ([8430aee](https://github.com/googleapis/java-core/commit/8430aee231100ef13296f22f09265589b2aa0252)) +* update dependency com.google.api:gax-bom to v2.16.0 ([#785](https://github.com/googleapis/java-core/issues/785)) ([fd435b0](https://github.com/googleapis/java-core/commit/fd435b00f01fac1dc96b5f401b403d67809fa1eb)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.8.1 ([#792](https://github.com/googleapis/java-core/issues/792)) ([4d201ac](https://github.com/googleapis/java-core/commit/4d201ac5dc694c9e4a4f06c5580a0c707ea68b87)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.8.2 ([#796](https://github.com/googleapis/java-core/issues/796)) ([dc28a0f](https://github.com/googleapis/java-core/commit/dc28a0f2d58bcf4eb3c9b9f129ce8d88470e94e6)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.0 ([#783](https://github.com/googleapis/java-core/issues/783)) ([4ed5ba4](https://github.com/googleapis/java-core/commit/4ed5ba4d096cb19f60186cbcfc789f5b058b07f8)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.1 ([#799](https://github.com/googleapis/java-core/issues/799)) ([fce5315](https://github.com/googleapis/java-core/commit/fce531519184225e103a8faad54e81ae9232210a)) +* update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#788](https://github.com/googleapis/java-core/issues/788)) ([4e71f68](https://github.com/googleapis/java-core/commit/4e71f680142bf8cffaa519dcb0fd2916458674e2)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#791](https://github.com/googleapis/java-core/issues/791)) ([fe006c6](https://github.com/googleapis/java-core/commit/fe006c60e6cbaff8127a9f6f6792c6a6ce9ff26b)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#797](https://github.com/googleapis/java-core/issues/797)) ([570f8d5](https://github.com/googleapis/java-core/commit/570f8d5870044d1f3026b4aec49a6800d904f1be)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#787](https://github.com/googleapis/java-core/issues/787)) ([19202bc](https://github.com/googleapis/java-core/commit/19202bcb76e28977e0f2c9b02c75c83644bfb438)) +* update dependency io.grpc:grpc-bom to v1.45.1 ([#780](https://github.com/googleapis/java-core/issues/780)) ([6e3bf35](https://github.com/googleapis/java-core/commit/6e3bf35c501028ac293a401f55c14f1d97fa3953)) + ### [2.5.11](https://github.com/googleapis/java-core/compare/v2.5.10...v2.5.11) (2022-03-28) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 43d556765646..54c29744ccb1 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.5.12-SNAPSHOT + 2.6.0 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.5.12-SNAPSHOT + 2.6.0 com.google.cloud google-cloud-core-grpc - 2.5.12-SNAPSHOT + 2.6.0 com.google.cloud google-cloud-core-http - 2.5.12-SNAPSHOT + 2.6.0 com.google.cloud native-image-support - 0.12.12-SNAPSHOT + 0.13.0
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d0011ffa3619..12b95a270c18 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.5.12-SNAPSHOT + 2.6.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.12-SNAPSHOT + 2.6.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 da7b01a329fe..60488d06c5a1 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.5.12-SNAPSHOT + 2.6.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.12-SNAPSHOT + 2.6.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3ef31c23ae6e..7b94f9b8766c 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.5.12-SNAPSHOT + 2.6.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.5.12-SNAPSHOT + 2.6.0 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index f5e0c202c50b..17936e21414f 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.12.12-SNAPSHOT + 0.13.0 jar google-cloud-core-parent com.google.cloud - 2.5.12-SNAPSHOT + 2.6.0 diff --git a/java-core/pom.xml b/java-core/pom.xml index 6f7d7ecb6245..a1d5a723a0d4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.5.12-SNAPSHOT + 2.6.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6fbd399d285a..e156d8679a09 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.5.11:2.5.12-SNAPSHOT -native-image-support:0.12.11:0.12.12-SNAPSHOT \ No newline at end of file +google-cloud-core:2.6.0:2.6.0 +native-image-support:0.13.0:0.13.0 \ No newline at end of file From d941f54a03eadca7b39a22b739bc73f6a5cb384d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Apr 2022 16:00:21 +0000 Subject: [PATCH 2200/3036] chore(main): release 2.6.1-SNAPSHOT (#801) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 54c29744ccb1..e49f7bc30dd4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.6.0 + 2.6.1-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.6.0 + 2.6.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.6.0 + 2.6.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.6.0 + 2.6.1-SNAPSHOT com.google.cloud native-image-support - 0.13.0 + 0.13.1-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 12b95a270c18..3b2ae8d02640 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.6.0 + 2.6.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.0 + 2.6.1-SNAPSHOT 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 60488d06c5a1..b82f41ba1044 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.6.0 + 2.6.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.0 + 2.6.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7b94f9b8766c..622a4b9ba26a 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.6.0 + 2.6.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.0 + 2.6.1-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 17936e21414f..91a05387dea5 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.13.0 + 0.13.1-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.6.0 + 2.6.1-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index a1d5a723a0d4..cbd74f5b7241 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.6.0 + 2.6.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index e156d8679a09..82443f328b8c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.6.0:2.6.0 -native-image-support:0.13.0:0.13.0 \ No newline at end of file +google-cloud-core:2.6.0:2.6.1-SNAPSHOT +native-image-support:0.13.0:0.13.1-SNAPSHOT \ No newline at end of file From 589888b995d9dd683d702462728c628c0f0e8f6c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Apr 2022 16:56:12 +0000 Subject: [PATCH 2201/3036] chore(main): release 2.9.1-SNAPSHOT (#665) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 0c5eaa006d8a..606524163348 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 - 2.9.0 + 2.9.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.9.0 + 2.9.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c2eae036649e..fb72ad4981de 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 - 2.9.0 + 2.9.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index efdcf8e1683d..c812e15a0829 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 - 2.9.0 + 2.9.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.9.0 + 2.9.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.9.0 + 2.9.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ec6f9736b8ca..d94a1f111e80 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 - 2.9.0 + 2.9.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 8aa0a52f39d5..47f85e7c423f 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 - 2.9.0 + 2.9.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.9.0 + 2.9.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index f984d697572b..c3d8b73160e6 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.9.0:2.9.0 \ No newline at end of file +google-cloud-shared-dependencies:2.9.0:2.9.1-SNAPSHOT \ No newline at end of file From 5d255fdf6a710d914df8237c4df6d9cf12af4f30 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Apr 2022 01:18:20 +0200 Subject: [PATCH 2202/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.13.0 (#669) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.12.1` -> `2.13.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/compatibility-slim/2.12.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/confidence-slim/2.12.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.13.0`](https://togithub.com/google/error-prone/releases/v2.13.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.12.1...v2.13.0) - Handle all annotations with the simple name `Generated` in `-XepDisableWarningsInGeneratedCode` ([#​3094](https://togithub.com/google/error-prone/issues/3094)) - Reconcile `BugChecker#isSuppressed` with suppression handling in `ErrorProneScanner` ([#​3094](https://togithub.com/google/error-prone/issues/3094)) - Fix a bug in `enclosingPackage` ([`8fa64d4`](https://togithub.com/google/error-prone/commit/8fa64d48f3a1d8df852ed2546ba02b0e2b7585af)) - Improve performance of fix application ([`186334b`](https://togithub.com/google/error-prone/commit/186334bcc45d9c275037cdcce3eb509ae8b7ff50)) - Implicitly treat `@AutoBuilder` setter methods as `@CanIgnoreReturnValue`. - Remove some obsolete checks (`PublicConstructorForAbstractClass`, `HashCodeToString`) [Release Diff: v2.12.1...v2.13.0](https://togithub.com/google/error-prone/compare/v2.12.1...v2.13.0).
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index d94a1f111e80..e941c03d86c2 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.21 0.31.0 3.0.2 - 2.12.1 + 2.13.0 2.13.2.20220328 1.15 4.4.15 From b3d6b65390dd5fbe048b4a021bb412c3fb7fdbb2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Apr 2022 01:34:42 +0200 Subject: [PATCH 2203/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.13.0 (#802) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.12.1` -> `2.13.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/compatibility-slim/2.12.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.0/confidence-slim/2.12.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.13.0`](https://togithub.com/google/error-prone/releases/v2.13.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.12.1...v2.13.0) - Handle all annotations with the simple name `Generated` in `-XepDisableWarningsInGeneratedCode` ([#​3094](https://togithub.com/google/error-prone/issues/3094)) - Reconcile `BugChecker#isSuppressed` with suppression handling in `ErrorProneScanner` ([#​3094](https://togithub.com/google/error-prone/issues/3094)) - Fix a bug in `enclosingPackage` ([`8fa64d4`](https://togithub.com/google/error-prone/commit/8fa64d48f3a1d8df852ed2546ba02b0e2b7585af)) - Improve performance of fix application ([`186334b`](https://togithub.com/google/error-prone/commit/186334bcc45d9c275037cdcce3eb509ae8b7ff50)) - Implicitly treat `@AutoBuilder` setter methods as `@CanIgnoreReturnValue`. - Remove some obsolete checks (`PublicConstructorForAbstractClass`, `HashCodeToString`) [Release Diff: v2.12.1...v2.13.0](https://togithub.com/google/error-prone/compare/v2.12.1...v2.13.0).
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index cbd74f5b7241..5ac3622dff7a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 3.0.2 1.6.0 3.2 - 2.12.1 + 2.13.0 2.9.0
    From f81dd34939503eee8f5367d309c40d04b515e9f6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Apr 2022 00:04:18 +0000 Subject: [PATCH 2204/3036] chore(main): release 2.6.1 (#803) :robot: I have created a release *beep* *boop* --- ### [2.6.1](https://github.com/googleapis/java-core/compare/v2.6.0...v2.6.1) (2022-04-14) ### Dependencies * update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#802](https://github.com/googleapis/java-core/issues/802)) ([b3d6b65](https://github.com/googleapis/java-core/commit/b3d6b65390dd5fbe048b4a021bb412c3fb7fdbb2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 6d80f4d69ef8..1d7871b9fbef 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.6.1](https://github.com/googleapis/java-core/compare/v2.6.0...v2.6.1) (2022-04-14) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#802](https://github.com/googleapis/java-core/issues/802)) ([042b08e](https://github.com/googleapis/java-core/commit/042b08e3cf05dba7e006f802dbc60f95b6da99ef)) + ## [2.6.0](https://github.com/googleapis/java-core/compare/v2.5.11...v2.6.0) (2022-04-14) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e49f7bc30dd4..92aaa71988b5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.6.1-SNAPSHOT + 2.6.1 pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.6.1-SNAPSHOT + 2.6.1 com.google.cloud google-cloud-core-grpc - 2.6.1-SNAPSHOT + 2.6.1 com.google.cloud google-cloud-core-http - 2.6.1-SNAPSHOT + 2.6.1 com.google.cloud native-image-support - 0.13.1-SNAPSHOT + 0.13.1
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3b2ae8d02640..313a0a281c6a 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.6.1-SNAPSHOT + 2.6.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1-SNAPSHOT + 2.6.1 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 b82f41ba1044..634d6b360de3 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.6.1-SNAPSHOT + 2.6.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1-SNAPSHOT + 2.6.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 622a4b9ba26a..8ec9ef76d961 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.6.1-SNAPSHOT + 2.6.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1-SNAPSHOT + 2.6.1 google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 91a05387dea5..86b9c6cb3231 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.13.1-SNAPSHOT + 0.13.1 jar google-cloud-core-parent com.google.cloud - 2.6.1-SNAPSHOT + 2.6.1 diff --git a/java-core/pom.xml b/java-core/pom.xml index 5ac3622dff7a..856ff7a5740c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.6.1-SNAPSHOT + 2.6.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 82443f328b8c..4ac408813c94 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.6.0:2.6.1-SNAPSHOT -native-image-support:0.13.0:0.13.1-SNAPSHOT \ No newline at end of file +google-cloud-core:2.6.1:2.6.1 +native-image-support:0.13.1:0.13.1 \ No newline at end of file From a4235994e0d08bfe757498a533363671a8136ce2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Apr 2022 00:16:12 +0000 Subject: [PATCH 2205/3036] chore(main): release 2.6.2-SNAPSHOT (#804) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 10 +++++----- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/native-image-support/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 92aaa71988b5..c1ba0a0f36e9 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.6.1 + 2.6.2-SNAPSHOT pom com.google.cloud @@ -63,22 +63,22 @@ com.google.cloud google-cloud-core - 2.6.1 + 2.6.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.6.1 + 2.6.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.6.1 + 2.6.2-SNAPSHOT com.google.cloud native-image-support - 0.13.1 + 0.13.2-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 313a0a281c6a..cb17f20534be 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.6.1 + 2.6.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1 + 2.6.2-SNAPSHOT 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 634d6b360de3..9579a01a93cf 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.6.1 + 2.6.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1 + 2.6.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8ec9ef76d961..a595bad16b6e 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.6.1 + 2.6.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.1 + 2.6.2-SNAPSHOT google-cloud-core diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml index 86b9c6cb3231..02ec08878d07 100644 --- a/java-core/native-image-support/pom.xml +++ b/java-core/native-image-support/pom.xml @@ -7,13 +7,13 @@ Google Cloud Native Image Support com.google.cloud native-image-support - 0.13.1 + 0.13.2-SNAPSHOT jar google-cloud-core-parent com.google.cloud - 2.6.1 + 2.6.2-SNAPSHOT diff --git a/java-core/pom.xml b/java-core/pom.xml index 856ff7a5740c..1675ae8b1997 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.6.1 + 2.6.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4ac408813c94..d2535df5a2bc 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-core:2.6.1:2.6.1 -native-image-support:0.13.1:0.13.1 \ No newline at end of file +google-cloud-core:2.6.1:2.6.2-SNAPSHOT +native-image-support:0.13.1:0.13.2-SNAPSHOT \ No newline at end of file From 14bad9825887281c318cae49524f3a9fb443c125 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 15 Apr 2022 10:46:11 -0400 Subject: [PATCH 2206/3036] deps: google-cloud-core 2.6.0 (#668) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-shared-dependencies/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes # ☕️ If you write sample code, please follow the [samples format]( https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fb72ad4981de..86df022afa09 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.4 2.1.5 2.8.3 - 2.5.11 + 2.6.0 1.6.0 1.41.7 1.33.3 From 0a6dddd713a37f14c5ae43e7fd077989ad5d76ac Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Apr 2022 14:56:11 +0000 Subject: [PATCH 2207/3036] chore(main): release 2.10.0 (#667) :robot: I have created a release *beep* *boop* --- ## [2.10.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.9.0...v2.10.0) (2022-04-15) ### Dependencies * google-cloud-core 2.6.0 ([#668](https://github.com/googleapis/java-shared-dependencies/issues/668)) ([14bad98](https://github.com/googleapis/java-shared-dependencies/commit/14bad9825887281c318cae49524f3a9fb443c125)) * reverting protobuf to 3.19.4 ([#657](https://github.com/googleapis/java-shared-dependencies/issues/657)) ([9fda073](https://github.com/googleapis/java-shared-dependencies/commit/9fda073da130f6ffbaf5a12cbd7faabb08d3ffc5)) * update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 ([#646](https://github.com/googleapis/java-shared-dependencies/issues/646)) ([2bd0149](https://github.com/googleapis/java-shared-dependencies/commit/2bd014922cc7fc8131628966e667caa5e0c44ed9)) * update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#662](https://github.com/googleapis/java-shared-dependencies/issues/662)) ([f8f38ff](https://github.com/googleapis/java-shared-dependencies/commit/f8f38fffc4da5ede8abd650022f8b69faf6b3484)) * update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#652](https://github.com/googleapis/java-shared-dependencies/issues/652)) ([452dcb7](https://github.com/googleapis/java-shared-dependencies/commit/452dcb74a907fb03b5fc5f2c33a0c79b4f78ed51)) * update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#669](https://github.com/googleapis/java-shared-dependencies/issues/669)) ([5d255fd](https://github.com/googleapis/java-shared-dependencies/commit/5d255fdf6a710d914df8237c4df6d9cf12af4f30)) * update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#654](https://github.com/googleapis/java-shared-dependencies/issues/654)) ([c93b54f](https://github.com/googleapis/java-shared-dependencies/commit/c93b54f80660b21ba6511b31278215e1e3f883b3)) * update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#658](https://github.com/googleapis/java-shared-dependencies/issues/658)) ([95e5d5c](https://github.com/googleapis/java-shared-dependencies/commit/95e5d5c82832acf91264097de698e18464cf5fcc)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#655](https://github.com/googleapis/java-shared-dependencies/issues/655)) ([061038b](https://github.com/googleapis/java-shared-dependencies/commit/061038b714c8763dfb9ffdbc237e75ada06e71a2)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#663](https://github.com/googleapis/java-shared-dependencies/issues/663)) ([140cfea](https://github.com/googleapis/java-shared-dependencies/commit/140cfea7b5239e8ac0b65db35e47f9c9ed487a41)) * update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#651](https://github.com/googleapis/java-shared-dependencies/issues/651)) ([f9f656f](https://github.com/googleapis/java-shared-dependencies/commit/f9f656f95a2db3a35ba40a3b62be5436dc9135da)) * update dependency io.grpc:grpc-bom to v1.45.1 ([#647](https://github.com/googleapis/java-shared-dependencies/issues/647)) ([2d12ba9](https://github.com/googleapis/java-shared-dependencies/commit/2d12ba94170f8907bffc803b920829783babe9de)) * update dependency org.checkerframework:checker-qual to v3.21.4 ([#650](https://github.com/googleapis/java-shared-dependencies/issues/650)) ([43bcd75](https://github.com/googleapis/java-shared-dependencies/commit/43bcd7569427fc062ee3ae041ecbe8ce8da72d4b)) * update gax.version to v2.15.0 ([#649](https://github.com/googleapis/java-shared-dependencies/issues/649)) ([68c5a35](https://github.com/googleapis/java-shared-dependencies/commit/68c5a3593aa23b0a2ced16deb76ac0e805e138b4)) * update gax.version to v2.16.0 ([#664](https://github.com/googleapis/java-shared-dependencies/issues/664)) ([1e62b89](https://github.com/googleapis/java-shared-dependencies/commit/1e62b895a4b759bad240bf225464d1d3acd51cf0)) * update google.common-protos.version to v2.8.1 ([#656](https://github.com/googleapis/java-shared-dependencies/issues/656)) ([b00e7fd](https://github.com/googleapis/java-shared-dependencies/commit/b00e7fd8447950996ce60d0e3f498a74fded2ac2)) * update google.common-protos.version to v2.8.2 ([#659](https://github.com/googleapis/java-shared-dependencies/issues/659)) ([52c5798](https://github.com/googleapis/java-shared-dependencies/commit/52c57984bc943bf67bafe262e65945afec197659)) * update google.common-protos.version to v2.8.3 ([#660](https://github.com/googleapis/java-shared-dependencies/issues/660)) ([9871634](https://github.com/googleapis/java-shared-dependencies/commit/9871634b4e97429cfecc0d8ea96ae5431dcedc5c)) * update iam.version to v1.3.0 ([#648](https://github.com/googleapis/java-shared-dependencies/issues/648)) ([5252213](https://github.com/googleapis/java-shared-dependencies/commit/52522139a5a88b79878001d410f9f1a076a42cad)) * update iam.version to v1.3.1 ([#661](https://github.com/googleapis/java-shared-dependencies/issues/661)) ([bfedb46](https://github.com/googleapis/java-shared-dependencies/commit/bfedb46a68103daa1d7d7bc46edbd0ae820b8d32)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 26 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 +-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 36 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 73ff8cc8645a..7fc56c364ad5 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [2.10.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.9.0...v2.10.0) (2022-04-15) + + +### Dependencies + +* google-cloud-core 2.6.0 ([#668](https://github.com/googleapis/java-shared-dependencies/issues/668)) ([22f4d18](https://github.com/googleapis/java-shared-dependencies/commit/22f4d1809cbb9848174b3569ab527e4bef00d443)) +* reverting protobuf to 3.19.4 ([#657](https://github.com/googleapis/java-shared-dependencies/issues/657)) ([8501e6d](https://github.com/googleapis/java-shared-dependencies/commit/8501e6d842c10d2370bbd5d5246070134336bddd)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 ([#646](https://github.com/googleapis/java-shared-dependencies/issues/646)) ([7bfd6d7](https://github.com/googleapis/java-shared-dependencies/commit/7bfd6d7073859d1955b91b368c6713a72ffa14b6)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#662](https://github.com/googleapis/java-shared-dependencies/issues/662)) ([1b8e378](https://github.com/googleapis/java-shared-dependencies/commit/1b8e378fe0ccf2a28c759868caaf5ba593a95728)) +* update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#652](https://github.com/googleapis/java-shared-dependencies/issues/652)) ([1cc80ee](https://github.com/googleapis/java-shared-dependencies/commit/1cc80ee984ebcad9bc2a95e2f28c0a49fe924b37)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#669](https://github.com/googleapis/java-shared-dependencies/issues/669)) ([61b7834](https://github.com/googleapis/java-shared-dependencies/commit/61b78341b34a251722be4805a6bdd895cd64836c)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#654](https://github.com/googleapis/java-shared-dependencies/issues/654)) ([140ef40](https://github.com/googleapis/java-shared-dependencies/commit/140ef405bc17ed83f5ce177df59affca14fbe49c)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#658](https://github.com/googleapis/java-shared-dependencies/issues/658)) ([f6f93e5](https://github.com/googleapis/java-shared-dependencies/commit/f6f93e5b9172c9684623c4c148e4a8fe2fae1e94)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#655](https://github.com/googleapis/java-shared-dependencies/issues/655)) ([20cd9ed](https://github.com/googleapis/java-shared-dependencies/commit/20cd9eda112c96836a5ab7485a4247ed2bc0edb8)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#663](https://github.com/googleapis/java-shared-dependencies/issues/663)) ([f011a46](https://github.com/googleapis/java-shared-dependencies/commit/f011a46c551dba16851b4f8c919c40452fc5d5c3)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#651](https://github.com/googleapis/java-shared-dependencies/issues/651)) ([ad2ff73](https://github.com/googleapis/java-shared-dependencies/commit/ad2ff73207dd6493321c77d8eca0022baf13b4ce)) +* update dependency io.grpc:grpc-bom to v1.45.1 ([#647](https://github.com/googleapis/java-shared-dependencies/issues/647)) ([38e46fc](https://github.com/googleapis/java-shared-dependencies/commit/38e46fc4f03af0a02f30ce4a2fa222c71797ae15)) +* update dependency org.checkerframework:checker-qual to v3.21.4 ([#650](https://github.com/googleapis/java-shared-dependencies/issues/650)) ([125e80a](https://github.com/googleapis/java-shared-dependencies/commit/125e80ab2c3225a00c03f5ff5de94872ebb94303)) +* update gax.version to v2.15.0 ([#649](https://github.com/googleapis/java-shared-dependencies/issues/649)) ([c7f32a6](https://github.com/googleapis/java-shared-dependencies/commit/c7f32a68b14520104432282ac9598643700162eb)) +* update gax.version to v2.16.0 ([#664](https://github.com/googleapis/java-shared-dependencies/issues/664)) ([caaf941](https://github.com/googleapis/java-shared-dependencies/commit/caaf941643af04295f5527a0144587d7bf040862)) +* update google.common-protos.version to v2.8.1 ([#656](https://github.com/googleapis/java-shared-dependencies/issues/656)) ([df4a4a2](https://github.com/googleapis/java-shared-dependencies/commit/df4a4a2130a3cdb2965ea42962d1ea6a85506ba7)) +* update google.common-protos.version to v2.8.2 ([#659](https://github.com/googleapis/java-shared-dependencies/issues/659)) ([b499e2b](https://github.com/googleapis/java-shared-dependencies/commit/b499e2bc99506d48d26e35bf6e68c09409ce8b11)) +* update google.common-protos.version to v2.8.3 ([#660](https://github.com/googleapis/java-shared-dependencies/issues/660)) ([461081c](https://github.com/googleapis/java-shared-dependencies/commit/461081c0cf73057c1f6e07fc573453ad467a60ae)) +* update iam.version to v1.3.0 ([#648](https://github.com/googleapis/java-shared-dependencies/issues/648)) ([6670c4f](https://github.com/googleapis/java-shared-dependencies/commit/6670c4f61fcf075c543bfd148eea49796e0662ce)) +* update iam.version to v1.3.1 ([#661](https://github.com/googleapis/java-shared-dependencies/issues/661)) ([cc8fbe6](https://github.com/googleapis/java-shared-dependencies/commit/cc8fbe6eae03341c2ece7d3356febc843a74a812)) + ## [2.9.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.8.0...v2.9.0) (2022-03-28) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 606524163348..ee2e77ef7b98 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 - 2.9.1-SNAPSHOT + 2.10.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.9.1-SNAPSHOT + 2.10.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 86df022afa09..a3b80a30f2ef 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 - 2.9.1-SNAPSHOT + 2.10.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index c812e15a0829..2a27945c2f04 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 - 2.9.1-SNAPSHOT + 2.10.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.9.1-SNAPSHOT + 2.10.0 pom import com.google.cloud third-party-dependencies - 2.9.1-SNAPSHOT + 2.10.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index e941c03d86c2..2623132fb7e4 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 - 2.9.1-SNAPSHOT + 2.10.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 47f85e7c423f..2c3d3236265f 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 - 2.9.1-SNAPSHOT + 2.10.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.9.1-SNAPSHOT + 2.10.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index c3d8b73160e6..6ae035e2467a 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.9.0:2.9.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.10.0:2.10.0 \ No newline at end of file From a1bb34547b008d5214e9257664996c3892c17796 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Apr 2022 21:24:23 +0200 Subject: [PATCH 2208/3036] deps: update google.core.version to v2.6.1 (#671) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.6.0` -> `2.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.6.1/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.6.0` -> `2.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.6.1/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.6.1/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.6.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​261-httpsgithubcomgoogleapisjava-corecomparev260v261-2022-04-14) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.6.0...v2.6.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a3b80a30f2ef..744e195ac346 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.19.4 2.1.5 2.8.3 - 2.6.0 + 2.6.1 1.6.0 1.41.7 1.33.3 From 21e926c835fe29bf7cbaca5f2d406ca3b537d38f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Apr 2022 21:26:11 +0200 Subject: [PATCH 2209/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 (#332) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.9.0` -> `2.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.10.0/compatibility-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.10.0/confidence-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.10.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​2100-httpsgithubcomgoogleapisjava-shared-dependenciescomparev290v2100-2022-04-15) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.9.0...v2.10.0) ##### Dependencies - google-cloud-core 2.6.0 ([#​668](https://togithub.com/googleapis/java-shared-dependencies/issues/668)) ([22f4d18](https://togithub.com/googleapis/java-shared-dependencies/commit/22f4d1809cbb9848174b3569ab527e4bef00d443)) - reverting protobuf to 3.19.4 ([#​657](https://togithub.com/googleapis/java-shared-dependencies/issues/657)) ([8501e6d](https://togithub.com/googleapis/java-shared-dependencies/commit/8501e6d842c10d2370bbd5d5246070134336bddd)) - update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 ([#​646](https://togithub.com/googleapis/java-shared-dependencies/issues/646)) ([7bfd6d7](https://togithub.com/googleapis/java-shared-dependencies/commit/7bfd6d7073859d1955b91b368c6713a72ffa14b6)) - update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#​662](https://togithub.com/googleapis/java-shared-dependencies/issues/662)) ([1b8e378](https://togithub.com/googleapis/java-shared-dependencies/commit/1b8e378fe0ccf2a28c759868caaf5ba593a95728)) - update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#​652](https://togithub.com/googleapis/java-shared-dependencies/issues/652)) ([1cc80ee](https://togithub.com/googleapis/java-shared-dependencies/commit/1cc80ee984ebcad9bc2a95e2f28c0a49fe924b37)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#​669](https://togithub.com/googleapis/java-shared-dependencies/issues/669)) ([61b7834](https://togithub.com/googleapis/java-shared-dependencies/commit/61b78341b34a251722be4805a6bdd895cd64836c)) - update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#​654](https://togithub.com/googleapis/java-shared-dependencies/issues/654)) ([140ef40](https://togithub.com/googleapis/java-shared-dependencies/commit/140ef405bc17ed83f5ce177df59affca14fbe49c)) - update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#​658](https://togithub.com/googleapis/java-shared-dependencies/issues/658)) ([f6f93e5](https://togithub.com/googleapis/java-shared-dependencies/commit/f6f93e5b9172c9684623c4c148e4a8fe2fae1e94)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#​655](https://togithub.com/googleapis/java-shared-dependencies/issues/655)) ([20cd9ed](https://togithub.com/googleapis/java-shared-dependencies/commit/20cd9eda112c96836a5ab7485a4247ed2bc0edb8)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#​663](https://togithub.com/googleapis/java-shared-dependencies/issues/663)) ([f011a46](https://togithub.com/googleapis/java-shared-dependencies/commit/f011a46c551dba16851b4f8c919c40452fc5d5c3)) - update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#​651](https://togithub.com/googleapis/java-shared-dependencies/issues/651)) ([ad2ff73](https://togithub.com/googleapis/java-shared-dependencies/commit/ad2ff73207dd6493321c77d8eca0022baf13b4ce)) - update dependency io.grpc:grpc-bom to v1.45.1 ([#​647](https://togithub.com/googleapis/java-shared-dependencies/issues/647)) ([38e46fc](https://togithub.com/googleapis/java-shared-dependencies/commit/38e46fc4f03af0a02f30ce4a2fa222c71797ae15)) - update dependency org.checkerframework:checker-qual to v3.21.4 ([#​650](https://togithub.com/googleapis/java-shared-dependencies/issues/650)) ([125e80a](https://togithub.com/googleapis/java-shared-dependencies/commit/125e80ab2c3225a00c03f5ff5de94872ebb94303)) - update gax.version to v2.15.0 ([#​649](https://togithub.com/googleapis/java-shared-dependencies/issues/649)) ([c7f32a6](https://togithub.com/googleapis/java-shared-dependencies/commit/c7f32a68b14520104432282ac9598643700162eb)) - update gax.version to v2.16.0 ([#​664](https://togithub.com/googleapis/java-shared-dependencies/issues/664)) ([caaf941](https://togithub.com/googleapis/java-shared-dependencies/commit/caaf941643af04295f5527a0144587d7bf040862)) - update google.common-protos.version to v2.8.1 ([#​656](https://togithub.com/googleapis/java-shared-dependencies/issues/656)) ([df4a4a2](https://togithub.com/googleapis/java-shared-dependencies/commit/df4a4a2130a3cdb2965ea42962d1ea6a85506ba7)) - update google.common-protos.version to v2.8.2 ([#​659](https://togithub.com/googleapis/java-shared-dependencies/issues/659)) ([b499e2b](https://togithub.com/googleapis/java-shared-dependencies/commit/b499e2bc99506d48d26e35bf6e68c09409ce8b11)) - update google.common-protos.version to v2.8.3 ([#​660](https://togithub.com/googleapis/java-shared-dependencies/issues/660)) ([461081c](https://togithub.com/googleapis/java-shared-dependencies/commit/461081c0cf73057c1f6e07fc573453ad467a60ae)) - update iam.version to v1.3.0 ([#​648](https://togithub.com/googleapis/java-shared-dependencies/issues/648)) ([6670c4f](https://togithub.com/googleapis/java-shared-dependencies/commit/6670c4f61fcf075c543bfd148eea49796e0662ce)) - update iam.version to v1.3.1 ([#​661](https://togithub.com/googleapis/java-shared-dependencies/issues/661)) ([cc8fbe6](https://togithub.com/googleapis/java-shared-dependencies/commit/cc8fbe6eae03341c2ece7d3356febc843a74a812))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 400769d1cae2..8f13cb908ab0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.9.0 + 2.10.0 pom import From e76b8d6cf5ee90724b4bc7ec02e7164e72bf312f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Apr 2022 19:38:34 +0000 Subject: [PATCH 2210/3036] chore(main): release 1.3.2 (#333) :robot: I have created a release *beep* *boop* --- ### [1.3.2](https://github.com/googleapis/java-iam/compare/v1.3.1...v1.3.2) (2022-04-15) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#332](https://github.com/googleapis/java-iam/issues/332)) ([21e926c](https://github.com/googleapis/java-iam/commit/21e926c835fe29bf7cbaca5f2d406ca3b537d38f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 0c65f8348937..40f4fe33521f 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.3.2](https://github.com/googleapis/java-iam/compare/v1.3.1...v1.3.2) (2022-04-15) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#332](https://github.com/googleapis/java-iam/issues/332)) ([78e6341](https://github.com/googleapis/java-iam/commit/78e6341388c63e6eabeb5fbb3ab21bbdc965ddef)) + ### [1.3.1](https://github.com/googleapis/java-iam/compare/v1.3.0...v1.3.1) (2022-04-11) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 0f589ed06c64..ee79415a3a05 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.3.2-SNAPSHOT + 1.3.2 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.2-SNAPSHOT + 1.3.2 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 8f13cb908ab0..4d3d5a44115b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.2-SNAPSHOT + 1.3.2 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.2-SNAPSHOT + 1.3.2 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 77b8c34207ef..7866e5444ab6 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.3.2-SNAPSHOT + 1.3.2 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.2-SNAPSHOT + 1.3.2 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 1aacf4e506df..429c8adb1d8b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.1:1.3.2-SNAPSHOT -grpc-google-iam-v1:1.3.1:1.3.2-SNAPSHOT +proto-google-iam-v1:1.3.2:1.3.2 +grpc-google-iam-v1:1.3.2:1.3.2 From 31a0dab95d7be22d9e11b33e74735fdcc15a6818 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 15 Apr 2022 19:54:21 +0000 Subject: [PATCH 2211/3036] chore(main): release 1.3.3-SNAPSHOT (#334) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index ee79415a3a05..d321896d0420 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.3.2 + 1.3.3-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.2 + 1.3.3-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 4d3d5a44115b..769bcba23e62 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.2 + 1.3.3-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.2 + 1.3.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7866e5444ab6..7f3320dd7f48 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.3.2 + 1.3.3-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.2 + 1.3.3-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 429c8adb1d8b..61b748ad1af5 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.2:1.3.2 -grpc-google-iam-v1:1.3.2:1.3.2 +proto-google-iam-v1:1.3.2:1.3.3-SNAPSHOT +grpc-google-iam-v1:1.3.2:1.3.3-SNAPSHOT From 2145212558a47d2f26e44eccbe525a320fa8c900 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 18 Apr 2022 10:48:35 -0400 Subject: [PATCH 2212/3036] feat: next release from main branch is 2.7.0 (#807) --- java-core/.github/release-please.yml | 4 ++++ java-core/.github/sync-repo-settings.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml index 8a0e92768a68..a24a02defc47 100644 --- a/java-core/.github/release-please.yml +++ b/java-core/.github/release-please.yml @@ -14,3 +14,7 @@ branches: handleGHRelease: true releaseType: java-backport branch: 2.2.x + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-backport + branch: 2.6.x diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index be62d8420f2c..20770a28ddc3 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -63,6 +63,21 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - cla/google - OwlBot Post Processor + - pattern: 2.6.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: - team: yoshi-admins permission: admin From 323a20c559b9140584b47b8e6a09ef821235db28 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 18 Apr 2022 10:48:50 -0400 Subject: [PATCH 2213/3036] feat: next release from main branch is 2.11.0 (#674) --- .../.github/release-please.yml | 4 ++++ .../.github/sync-repo-settings.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml index a42423b436eb..3275d1947c8e 100644 --- a/java-shared-dependencies/.github/release-please.yml +++ b/java-shared-dependencies/.github/release-please.yml @@ -14,3 +14,7 @@ branches: handleGHRelease: true bumpMinorPreMajor: true branch: 0.20.x + - releaseType: java-backport + handleGHRelease: true + bumpMinorPreMajor: true + branch: 2.10.x diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 4901c2493ffe..5db392d986e4 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -61,6 +61,21 @@ branchProtectionRules: - units (11) - 'Kokoro - Test: Integration' - cla/google + - pattern: 2.10.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: - team: yoshi-admins permission: admin From 11311c41994016f50f58713a96a29647c2041d76 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Apr 2022 17:38:20 +0200 Subject: [PATCH 2214/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.13.1 (#672) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.13.0` -> `2.13.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/compatibility-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/confidence-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.13.1`](https://togithub.com/google/error-prone/releases/v2.13.1) [Compare Source](https://togithub.com/google/error-prone/compare/v2.13.0...v2.13.1) #### What's Changed - Fix a crash in `UnnecessaryBoxedVariable` in [https://github.com/google/error-prone/pull/3118](https://togithub.com/google/error-prone/pull/3118) - Include the unicode character in the diagnostic message in [https://github.com/google/error-prone/pull/3119](https://togithub.com/google/error-prone/pull/3119) **Full Changelog**: https://github.com/google/error-prone/compare/v2.13.0...v2.13.1
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 2623132fb7e4..4f0f4b84e844 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.21 0.31.0 3.0.2 - 2.13.0 + 2.13.1 2.13.2.20220328 1.15 4.4.15 From 9d01376493604b458aa2ef9c15ab645b8d834aac Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Apr 2022 17:40:39 +0200 Subject: [PATCH 2215/3036] deps: update iam.version to v1.3.2 (#673) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.1` -> `1.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.2/compatibility-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.2/confidence-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.1` -> `1.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/compatibility-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/confidence-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.3.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​132-httpsgithubcomgoogleapisjava-iamcomparev131v132-2022-04-15) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.1...v1.3.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 744e195ac346..546acbc3cb13 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.7 1.33.3 1.34.0 - 1.3.1 + 1.3.2
    From c5b489366fda402829ea7fbb60ad397bf7a56eec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Apr 2022 17:44:30 +0200 Subject: [PATCH 2216/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 (#805) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.1` -> `1.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/compatibility-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.2/confidence-slim/1.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.3.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​132-httpsgithubcomgoogleapisjava-iamcomparev131v132-2022-04-15) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.1...v1.3.2)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1675ae8b1997..b6795652ce3e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.16.0 2.1.5 2.8.3 - 1.3.1 + 1.3.2 1.6.0 1.34.0 1.41.7 From c4d3e17291ea446ed4211e4e31f519b279bed460 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Apr 2022 17:52:16 +0200 Subject: [PATCH 2217/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.13.1 (#806) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.13.0` -> `2.13.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/compatibility-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.13.1/confidence-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.13.1`](https://togithub.com/google/error-prone/releases/v2.13.1) [Compare Source](https://togithub.com/google/error-prone/compare/v2.13.0...v2.13.1) #### What's Changed - Fix a crash in `UnnecessaryBoxedVariable` in [https://github.com/google/error-prone/pull/3118](https://togithub.com/google/error-prone/pull/3118) - Include the unicode character in the diagnostic message in [https://github.com/google/error-prone/pull/3119](https://togithub.com/google/error-prone/pull/3119) **Full Changelog**: https://github.com/google/error-prone/compare/v2.13.0...v2.13.1
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b6795652ce3e..18d3f5045135 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 3.0.2 1.6.0 3.2 - 2.13.0 + 2.13.1 2.9.0
    From 387738518101ccc0f2d32ec3ae9bde271114c472 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 16:38:34 +0200 Subject: [PATCH 2218/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.0 (#336) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.3.2` -> `3.4.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/compatibility-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/confidence-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 769bcba23e62..efa6b62d9ad3 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -126,7 +126,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.4.0 html From 54a544da8f518f24429f4c1af9f1463b1c8ac23e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 16:42:21 +0200 Subject: [PATCH 2219/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.0 (#812) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.3.2` -> `3.4.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/compatibility-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/confidence-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 18d3f5045135..56797ba5c462 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -373,7 +373,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.4.0 html From 6de3f7a7bbccf5789655f41d149968b34aee0abc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 19:46:17 +0200 Subject: [PATCH 2220/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.3 (#335) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.3.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-shared-configcomparev132v133-2022-04-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index efa6b62d9ad3..30a7858939ba 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 From e1f8bada411ede697855f61e94b189beb7f5f60b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 19:50:30 +0200 Subject: [PATCH 2221/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.3 (#811) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.3.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-shared-configcomparev132v133-2022-04-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c1ba0a0f36e9..0e59ce53bd51 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 56797ba5c462..59d62947ddd0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 From 907fbf319fafd96c34c33fdcc4e668ea8cfb553d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 20:00:19 +0200 Subject: [PATCH 2222/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.3 (#677) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.3.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-shared-configcomparev132v133-2022-04-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 546acbc3cb13..39db51449b18 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 2a27945c2f04..ca04af6f98e4 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 4f0f4b84e844..a110a3185ffc 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 2c3d3236265f..ce67fb064b82 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 From f259b413c18e1c70c9c2ef019bf45151c7868c24 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Apr 2022 01:04:26 +0200 Subject: [PATCH 2223/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.20.1 (#813) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.19.4` -> `3.20.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/compatibility-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/confidence-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.20.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.20.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.0) 2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript) ##### Ruby - Dropped Ruby 2.3 and 2.4 support for CI and releases. ([#​9311](https://togithub.com/protocolbuffers/protobuf/issues/9311)) - Added Ruby 3.1 support for CI and releases ([#​9566](https://togithub.com/protocolbuffers/protobuf/issues/9566)). - Message.decode/encode: Add recursion_limit option ([#​9218](https://togithub.com/protocolbuffers/protobuf/issues/9218)/[#​9486](https://togithub.com/protocolbuffers/protobuf/issues/9486)) - Allocate with xrealloc()/xfree() so message allocation is visible to the Ruby GC. In certain tests this leads to much lower memory usage due to more frequent GC runs ([#​9586](https://togithub.com/protocolbuffers/protobuf/issues/9586)). - Fix conversion of singleton classes in Ruby ([#​9342](https://togithub.com/protocolbuffers/protobuf/issues/9342)) - Suppress warning for intentional circular require ([#​9556](https://togithub.com/protocolbuffers/protobuf/issues/9556)) - JSON will now output shorter strings for double and float fields when possible without losing precision. - Encoding and decoding of binary format will now work properly on big-endian systems. - UTF-8 verification was fixed to properly reject surrogate code points. - Unknown enums for proto2 protos now properly implement proto2's behavior of putting such values in unknown fields. ##### Java - Revert "Standardize on Array copyOf" ([#​9400](https://togithub.com/protocolbuffers/protobuf/issues/9400)) - Resolve more java field accessor name conflicts ([#​8198](https://togithub.com/protocolbuffers/protobuf/issues/8198)) - Don't support map fields in DynamicMessage.Builder.{getFieldBuilder,getRepeatedFieldBuilder} - Fix parseFrom to only throw InvalidProtocolBufferException - InvalidProtocolBufferException now allows arbitrary wrapped Exception types. - Fix bug in `FieldSet.Builder.mergeFrom` - Flush CodedOutputStream also flushes underlying OutputStream - When oneof case is the same and the field type is Message, merge the subfield. (previously it was replaced.)’ - Add [@​CheckReturnValue](https://togithub.com/CheckReturnValue) to some protobuf types - Report original exceptions when parsing JSON - Add more info to [@​deprecated](https://togithub.com/deprecated) javadoc for set/get/has methods - Fix initialization bug in doc comment line numbers - Fix comments for message set wire format. ##### Kotlin - Add test scope to kotlin-test for protobuf-kotlin-lite ([#​9518](https://togithub.com/protocolbuffers/protobuf/issues/9518)) - Add orNull extensions for optional message fields. - Add orNull extensions to all proto3 message fields. ##### Python - Dropped support for Python < 3.7 ([#​9480](https://togithub.com/protocolbuffers/protobuf/issues/9480)) - Protoc is now able to generate python stubs (.pyi) with --pyi_out - Pin multibuild scripts to get manylinux1 wheels back ([#​9216](https://togithub.com/protocolbuffers/protobuf/issues/9216)) - Fix type annotations of some Duration and Timestamp methods. - Repeated field containers are now generic in field types and could be used in type annotations. - Protobuf python generated codes are simplified. Descriptors and message classes' definitions are now dynamic created in internal/builder.py. Insertion Points for messages classes are discarded. - has_presence is added for FieldDescriptor in python - Loosen indexing type requirements to allow valid **index**() implementations rather than only PyLongObjects. - Fix the deepcopy bug caused by not copying message_listener. - Added python JSON parse recursion limit (default 100) - Path info is added for python JSON parse errors - Pure python repeated scalar fields will not able to pickle. Convert to list first. - Timestamp.ToDatetime() now accepts an optional tzinfo parameter. If specified, the function returns a timezone-aware datetime in the given time zone. If omitted or None, the function returns a timezone-naive UTC datetime (as previously). - Adds client_streaming and server_streaming fields to MethodDescriptor. - Add "ensure_ascii" parameter to json_format.MessageToJson. This allows smaller JSON serializations with UTF-8 or other non-ASCII encodings. - Added experimental support for directly assigning numpy scalars and array. - Improve the calculation of public_dependencies in DescriptorPool. - \[Breaking Change] Disallow setting fields to numpy singleton arrays or repeated fields to numpy multi-dimensional arrays. Numpy arrays should be indexed or flattened explicitly before assignment. ##### Compiler - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Rework allocations to power-of-two byte sizes. - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Make TaggedPtr Set...() calls explicitly spell out the content type. - Check for parsing error before verifying UTF8. - Enforce a maximum message nesting limit of 32 in the descriptor builder to guard against stack overflows - Fixed bugs in operators for RepeatedPtrIterator - Assert a maximum map alignment for allocated values - Fix proto1 group extension protodb parsing error - Do not log/report the same descriptor symbol multiple times if it contains more than one invalid character. - Add UnknownFieldSet::SerializeToString and SerializeToCodedStream. - Remove explicit default pointers and deprecated API from protocol compiler ##### Arenas - Change Repeated\*Field to reuse memory when using arenas. - Implements pbarenaz for profiling proto arenas - Introduce CreateString() and CreateArenaString() for cleaner semantics - Fix unreferenced parameter for MSVC builds - Add UnsafeSetAllocated to be used for one-of string fields. - Make Arena::AllocateAligned() a public function. - Determine if ArenaDtor related code generation is necessary in one place. - Implement on demand register ArenaDtor for InlinedStringField ##### C++ - Enable testing via CTest ([#​8737](https://togithub.com/protocolbuffers/protobuf/issues/8737)) - Add option to use external GTest in CMake ([#​8736](https://togithub.com/protocolbuffers/protobuf/issues/8736)) - CMake: Set correct sonames for libprotobuf-lite.so and libprotoc.so ([#​8635](https://togithub.com/protocolbuffers/protobuf/issues/8635)) ([#​9529](https://togithub.com/protocolbuffers/protobuf/issues/9529)) - Add cmake option `protobuf_INSTALL` to not install files ([#​7123](https://togithub.com/protocolbuffers/protobuf/issues/7123)) - CMake: Allow custom plugin options e.g. to generate mocks ([#​9105](https://togithub.com/protocolbuffers/protobuf/issues/9105)) - CMake: Use linker version scripts ([#​9545](https://togithub.com/protocolbuffers/protobuf/issues/9545)) - Manually \*struct Cord fields to work better with arenas. - Manually destruct map fields. - Generate narrower code - Fix [https://github.com/protocolbuffers/protobuf/issues/9378](https://togithub.com/protocolbuffers/protobuf/issues/9378) by removing shadowed *cached_size* field - Remove GetPointer() and explicit nullptr defaults. - Add proto_h flag for speeding up large builds - Add missing overload for reference wrapped fields. - Add MergedDescriptorDatabase::FindAllFileNames() - RepeatedField now defines an iterator type instead of using a pointer. - Remove obsolete macros GOOGLE_PROTOBUF_HAS_ONEOF and GOOGLE_PROTOBUF_HAS_ARENAS. ##### PHP - Fix: add missing reserved classnames ([#​9458](https://togithub.com/protocolbuffers/protobuf/issues/9458)) - PHP 8.1 compatibility ([#​9370](https://togithub.com/protocolbuffers/protobuf/issues/9370)) ##### C\# - Fix trim warnings ([#​9182](https://togithub.com/protocolbuffers/protobuf/issues/9182)) - Fixes NullReferenceException when accessing FieldDescriptor.IsPacked ([#​9430](https://togithub.com/protocolbuffers/protobuf/issues/9430)) - Add ToProto() method to all descriptor classes ([#​9426](https://togithub.com/protocolbuffers/protobuf/issues/9426)) - Add an option to preserve proto names in JsonFormatter ([#​6307](https://togithub.com/protocolbuffers/protobuf/issues/6307)) ##### Objective-C - Add prefix_to_proto_package_mappings_path option. ([#​9498](https://togithub.com/protocolbuffers/protobuf/issues/9498)) - Rename `proto_package_to_prefix_mappings_path` to `package_to_prefix_mappings_path`. ([#​9552](https://togithub.com/protocolbuffers/protobuf/issues/9552)) - Add a generation option to control use of forward declarations in headers. ([#​9568](https://togithub.com/protocolbuffers/protobuf/issues/9568))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 59d62947ddd0..788f98263485 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 1.41.7 22.0.0.2 1.45.1 - 3.19.4 + 3.20.1 0.31.0 1.3.2 31.1-jre From 3d3a224e70a408fad636b417fc8269b304d5a503 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Apr 2022 16:12:25 +0200 Subject: [PATCH 2224/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.20.1 (#678) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.19.4` -> `3.20.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/compatibility-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.20.1/confidence-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.20.1`](https://togithub.com/protocolbuffers/protobuf/releases/v3.20.1) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.20.0...v3.20.1) ### PHP - Fix building packaged PHP extension ([#​9727](https://togithub.com/protocolbuffers/protobuf/issues/9727)) - Fixed composer.json to only advertise compatibility with PHP 7.0+. ([#​9819](https://togithub.com/protocolbuffers/protobuf/issues/9819)) ### Ruby - Disable the aarch64 build on macOS until it can be fixed. ([#​9816](https://togithub.com/protocolbuffers/protobuf/issues/9816)) ### Other - Fix versioning issues in 3.20.0 ### [`v3.20.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.20.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.0) 2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript) ##### Ruby - Dropped Ruby 2.3 and 2.4 support for CI and releases. ([#​9311](https://togithub.com/protocolbuffers/protobuf/issues/9311)) - Added Ruby 3.1 support for CI and releases ([#​9566](https://togithub.com/protocolbuffers/protobuf/issues/9566)). - Message.decode/encode: Add recursion_limit option ([#​9218](https://togithub.com/protocolbuffers/protobuf/issues/9218)/[#​9486](https://togithub.com/protocolbuffers/protobuf/issues/9486)) - Allocate with xrealloc()/xfree() so message allocation is visible to the Ruby GC. In certain tests this leads to much lower memory usage due to more frequent GC runs ([#​9586](https://togithub.com/protocolbuffers/protobuf/issues/9586)). - Fix conversion of singleton classes in Ruby ([#​9342](https://togithub.com/protocolbuffers/protobuf/issues/9342)) - Suppress warning for intentional circular require ([#​9556](https://togithub.com/protocolbuffers/protobuf/issues/9556)) - JSON will now output shorter strings for double and float fields when possible without losing precision. - Encoding and decoding of binary format will now work properly on big-endian systems. - UTF-8 verification was fixed to properly reject surrogate code points. - Unknown enums for proto2 protos now properly implement proto2's behavior of putting such values in unknown fields. ##### Java - Revert "Standardize on Array copyOf" ([#​9400](https://togithub.com/protocolbuffers/protobuf/issues/9400)) - Resolve more java field accessor name conflicts ([#​8198](https://togithub.com/protocolbuffers/protobuf/issues/8198)) - Don't support map fields in DynamicMessage.Builder.{getFieldBuilder,getRepeatedFieldBuilder} - Fix parseFrom to only throw InvalidProtocolBufferException - InvalidProtocolBufferException now allows arbitrary wrapped Exception types. - Fix bug in `FieldSet.Builder.mergeFrom` - Flush CodedOutputStream also flushes underlying OutputStream - When oneof case is the same and the field type is Message, merge the subfield. (previously it was replaced.)’ - Add [@​CheckReturnValue](https://togithub.com/CheckReturnValue) to some protobuf types - Report original exceptions when parsing JSON - Add more info to [@​deprecated](https://togithub.com/deprecated) javadoc for set/get/has methods - Fix initialization bug in doc comment line numbers - Fix comments for message set wire format. ##### Kotlin - Add test scope to kotlin-test for protobuf-kotlin-lite ([#​9518](https://togithub.com/protocolbuffers/protobuf/issues/9518)) - Add orNull extensions for optional message fields. - Add orNull extensions to all proto3 message fields. ##### Python - Dropped support for Python < 3.7 ([#​9480](https://togithub.com/protocolbuffers/protobuf/issues/9480)) - Protoc is now able to generate python stubs (.pyi) with --pyi_out - Pin multibuild scripts to get manylinux1 wheels back ([#​9216](https://togithub.com/protocolbuffers/protobuf/issues/9216)) - Fix type annotations of some Duration and Timestamp methods. - Repeated field containers are now generic in field types and could be used in type annotations. - Protobuf python generated codes are simplified. Descriptors and message classes' definitions are now dynamic created in internal/builder.py. Insertion Points for messages classes are discarded. - has_presence is added for FieldDescriptor in python - Loosen indexing type requirements to allow valid **index**() implementations rather than only PyLongObjects. - Fix the deepcopy bug caused by not copying message_listener. - Added python JSON parse recursion limit (default 100) - Path info is added for python JSON parse errors - Pure python repeated scalar fields will not able to pickle. Convert to list first. - Timestamp.ToDatetime() now accepts an optional tzinfo parameter. If specified, the function returns a timezone-aware datetime in the given time zone. If omitted or None, the function returns a timezone-naive UTC datetime (as previously). - Adds client_streaming and server_streaming fields to MethodDescriptor. - Add "ensure_ascii" parameter to json_format.MessageToJson. This allows smaller JSON serializations with UTF-8 or other non-ASCII encodings. - Added experimental support for directly assigning numpy scalars and array. - Improve the calculation of public_dependencies in DescriptorPool. - \[Breaking Change] Disallow setting fields to numpy singleton arrays or repeated fields to numpy multi-dimensional arrays. Numpy arrays should be indexed or flattened explicitly before assignment. ##### Compiler - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Rework allocations to power-of-two byte sizes. - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Make TaggedPtr Set...() calls explicitly spell out the content type. - Check for parsing error before verifying UTF8. - Enforce a maximum message nesting limit of 32 in the descriptor builder to guard against stack overflows - Fixed bugs in operators for RepeatedPtrIterator - Assert a maximum map alignment for allocated values - Fix proto1 group extension protodb parsing error - Do not log/report the same descriptor symbol multiple times if it contains more than one invalid character. - Add UnknownFieldSet::SerializeToString and SerializeToCodedStream. - Remove explicit default pointers and deprecated API from protocol compiler ##### Arenas - Change Repeated\*Field to reuse memory when using arenas. - Implements pbarenaz for profiling proto arenas - Introduce CreateString() and CreateArenaString() for cleaner semantics - Fix unreferenced parameter for MSVC builds - Add UnsafeSetAllocated to be used for one-of string fields. - Make Arena::AllocateAligned() a public function. - Determine if ArenaDtor related code generation is necessary in one place. - Implement on demand register ArenaDtor for InlinedStringField ##### C++ - Enable testing via CTest ([#​8737](https://togithub.com/protocolbuffers/protobuf/issues/8737)) - Add option to use external GTest in CMake ([#​8736](https://togithub.com/protocolbuffers/protobuf/issues/8736)) - CMake: Set correct sonames for libprotobuf-lite.so and libprotoc.so ([#​8635](https://togithub.com/protocolbuffers/protobuf/issues/8635)) ([#​9529](https://togithub.com/protocolbuffers/protobuf/issues/9529)) - Add cmake option `protobuf_INSTALL` to not install files ([#​7123](https://togithub.com/protocolbuffers/protobuf/issues/7123)) - CMake: Allow custom plugin options e.g. to generate mocks ([#​9105](https://togithub.com/protocolbuffers/protobuf/issues/9105)) - CMake: Use linker version scripts ([#​9545](https://togithub.com/protocolbuffers/protobuf/issues/9545)) - Manually \*struct Cord fields to work better with arenas. - Manually destruct map fields. - Generate narrower code - Fix [https://github.com/protocolbuffers/protobuf/issues/9378](https://togithub.com/protocolbuffers/protobuf/issues/9378) by removing shadowed *cached_size* field - Remove GetPointer() and explicit nullptr defaults. - Add proto_h flag for speeding up large builds - Add missing overload for reference wrapped fields. - Add MergedDescriptorDatabase::FindAllFileNames() - RepeatedField now defines an iterator type instead of using a pointer. - Remove obsolete macros GOOGLE_PROTOBUF_HAS_ONEOF and GOOGLE_PROTOBUF_HAS_ARENAS. ##### PHP - Fix: add missing reserved classnames ([#​9458](https://togithub.com/protocolbuffers/protobuf/issues/9458)) - PHP 8.1 compatibility ([#​9370](https://togithub.com/protocolbuffers/protobuf/issues/9370)) ##### C\# - Fix trim warnings ([#​9182](https://togithub.com/protocolbuffers/protobuf/issues/9182)) - Fixes NullReferenceException when accessing FieldDescriptor.IsPacked ([#​9430](https://togithub.com/protocolbuffers/protobuf/issues/9430)) - Add ToProto() method to all descriptor classes ([#​9426](https://togithub.com/protocolbuffers/protobuf/issues/9426)) - Add an option to preserve proto names in JsonFormatter ([#​6307](https://togithub.com/protocolbuffers/protobuf/issues/6307)) ##### Objective-C - Add prefix_to_proto_package_mappings_path option. ([#​9498](https://togithub.com/protocolbuffers/protobuf/issues/9498)) - Rename `proto_package_to_prefix_mappings_path` to `package_to_prefix_mappings_path`. ([#​9552](https://togithub.com/protocolbuffers/protobuf/issues/9552)) - Add a generation option to control use of forward declarations in headers. ([#​9568](https://togithub.com/protocolbuffers/protobuf/issues/9568))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 39db51449b18..b2123781a142 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.16.0 1.1.0 31.1-jre - 3.19.4 + 3.20.1 2.1.5 2.8.3 2.6.1 From ff257ffd5ce82d09949db917f4a40064924fa69f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Apr 2022 16:12:29 +0200 Subject: [PATCH 2225/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.20.1 (#337) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.19.4` -> `3.20.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.20.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.20.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.20.1/compatibility-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.20.1/confidence-slim/3.19.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.20.1`](https://togithub.com/protocolbuffers/protobuf/releases/v3.20.1) ##### PHP - Fix building packaged PHP extension ([#​9727](https://togithub.com/protocolbuffers/protobuf/issues/9727)) - Fixed composer.json to only advertise compatibility with PHP 7.0+. ([#​9819](https://togithub.com/protocolbuffers/protobuf/issues/9819)) ##### Ruby - Disable the aarch64 build on macOS until it can be fixed. ([#​9816](https://togithub.com/protocolbuffers/protobuf/issues/9816)) ##### Other - Fix versioning issues in 3.20.0 ### [`v3.20.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.20.0) 2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript) ##### Ruby - Dropped Ruby 2.3 and 2.4 support for CI and releases. ([#​9311](https://togithub.com/protocolbuffers/protobuf/issues/9311)) - Added Ruby 3.1 support for CI and releases ([#​9566](https://togithub.com/protocolbuffers/protobuf/issues/9566)). - Message.decode/encode: Add recursion_limit option ([#​9218](https://togithub.com/protocolbuffers/protobuf/issues/9218)/[#​9486](https://togithub.com/protocolbuffers/protobuf/issues/9486)) - Allocate with xrealloc()/xfree() so message allocation is visible to the Ruby GC. In certain tests this leads to much lower memory usage due to more frequent GC runs ([#​9586](https://togithub.com/protocolbuffers/protobuf/issues/9586)). - Fix conversion of singleton classes in Ruby ([#​9342](https://togithub.com/protocolbuffers/protobuf/issues/9342)) - Suppress warning for intentional circular require ([#​9556](https://togithub.com/protocolbuffers/protobuf/issues/9556)) - JSON will now output shorter strings for double and float fields when possible without losing precision. - Encoding and decoding of binary format will now work properly on big-endian systems. - UTF-8 verification was fixed to properly reject surrogate code points. - Unknown enums for proto2 protos now properly implement proto2's behavior of putting such values in unknown fields. ##### Java - Revert "Standardize on Array copyOf" ([#​9400](https://togithub.com/protocolbuffers/protobuf/issues/9400)) - Resolve more java field accessor name conflicts ([#​8198](https://togithub.com/protocolbuffers/protobuf/issues/8198)) - Don't support map fields in DynamicMessage.Builder.{getFieldBuilder,getRepeatedFieldBuilder} - Fix parseFrom to only throw InvalidProtocolBufferException - InvalidProtocolBufferException now allows arbitrary wrapped Exception types. - Fix bug in `FieldSet.Builder.mergeFrom` - Flush CodedOutputStream also flushes underlying OutputStream - When oneof case is the same and the field type is Message, merge the subfield. (previously it was replaced.)’ - Add [@​CheckReturnValue](https://togithub.com/CheckReturnValue) to some protobuf types - Report original exceptions when parsing JSON - Add more info to [@​deprecated](https://togithub.com/deprecated) javadoc for set/get/has methods - Fix initialization bug in doc comment line numbers - Fix comments for message set wire format. ##### Kotlin - Add test scope to kotlin-test for protobuf-kotlin-lite ([#​9518](https://togithub.com/protocolbuffers/protobuf/issues/9518)) - Add orNull extensions for optional message fields. - Add orNull extensions to all proto3 message fields. ##### Python - Dropped support for Python < 3.7 ([#​9480](https://togithub.com/protocolbuffers/protobuf/issues/9480)) - Protoc is now able to generate python stubs (.pyi) with --pyi_out - Pin multibuild scripts to get manylinux1 wheels back ([#​9216](https://togithub.com/protocolbuffers/protobuf/issues/9216)) - Fix type annotations of some Duration and Timestamp methods. - Repeated field containers are now generic in field types and could be used in type annotations. - Protobuf python generated codes are simplified. Descriptors and message classes' definitions are now dynamic created in internal/builder.py. Insertion Points for messages classes are discarded. - has_presence is added for FieldDescriptor in python - Loosen indexing type requirements to allow valid **index**() implementations rather than only PyLongObjects. - Fix the deepcopy bug caused by not copying message_listener. - Added python JSON parse recursion limit (default 100) - Path info is added for python JSON parse errors - Pure python repeated scalar fields will not able to pickle. Convert to list first. - Timestamp.ToDatetime() now accepts an optional tzinfo parameter. If specified, the function returns a timezone-aware datetime in the given time zone. If omitted or None, the function returns a timezone-naive UTC datetime (as previously). - Adds client_streaming and server_streaming fields to MethodDescriptor. - Add "ensure_ascii" parameter to json_format.MessageToJson. This allows smaller JSON serializations with UTF-8 or other non-ASCII encodings. - Added experimental support for directly assigning numpy scalars and array. - Improve the calculation of public_dependencies in DescriptorPool. - \[Breaking Change] Disallow setting fields to numpy singleton arrays or repeated fields to numpy multi-dimensional arrays. Numpy arrays should be indexed or flattened explicitly before assignment. ##### Compiler - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Rework allocations to power-of-two byte sizes. - Migrate IsDefault(const std::string\*) and UnsafeSetDefault(const std::string\*) - Implement strong qualified tags for TaggedPtr - Make TaggedPtr Set...() calls explicitly spell out the content type. - Check for parsing error before verifying UTF8. - Enforce a maximum message nesting limit of 32 in the descriptor builder to guard against stack overflows - Fixed bugs in operators for RepeatedPtrIterator - Assert a maximum map alignment for allocated values - Fix proto1 group extension protodb parsing error - Do not log/report the same descriptor symbol multiple times if it contains more than one invalid character. - Add UnknownFieldSet::SerializeToString and SerializeToCodedStream. - Remove explicit default pointers and deprecated API from protocol compiler ##### Arenas - Change Repeated\*Field to reuse memory when using arenas. - Implements pbarenaz for profiling proto arenas - Introduce CreateString() and CreateArenaString() for cleaner semantics - Fix unreferenced parameter for MSVC builds - Add UnsafeSetAllocated to be used for one-of string fields. - Make Arena::AllocateAligned() a public function. - Determine if ArenaDtor related code generation is necessary in one place. - Implement on demand register ArenaDtor for InlinedStringField ##### C++ - Enable testing via CTest ([#​8737](https://togithub.com/protocolbuffers/protobuf/issues/8737)) - Add option to use external GTest in CMake ([#​8736](https://togithub.com/protocolbuffers/protobuf/issues/8736)) - CMake: Set correct sonames for libprotobuf-lite.so and libprotoc.so ([#​8635](https://togithub.com/protocolbuffers/protobuf/issues/8635)) ([#​9529](https://togithub.com/protocolbuffers/protobuf/issues/9529)) - Add cmake option `protobuf_INSTALL` to not install files ([#​7123](https://togithub.com/protocolbuffers/protobuf/issues/7123)) - CMake: Allow custom plugin options e.g. to generate mocks ([#​9105](https://togithub.com/protocolbuffers/protobuf/issues/9105)) - CMake: Use linker version scripts ([#​9545](https://togithub.com/protocolbuffers/protobuf/issues/9545)) - Manually \*struct Cord fields to work better with arenas. - Manually destruct map fields. - Generate narrower code - Fix [https://github.com/protocolbuffers/protobuf/issues/9378](https://togithub.com/protocolbuffers/protobuf/issues/9378) by removing shadowed *cached_size* field - Remove GetPointer() and explicit nullptr defaults. - Add proto_h flag for speeding up large builds - Add missing overload for reference wrapped fields. - Add MergedDescriptorDatabase::FindAllFileNames() - RepeatedField now defines an iterator type instead of using a pointer. - Remove obsolete macros GOOGLE_PROTOBUF_HAS_ONEOF and GOOGLE_PROTOBUF_HAS_ARENAS. ##### PHP - Fix: add missing reserved classnames ([#​9458](https://togithub.com/protocolbuffers/protobuf/issues/9458)) - PHP 8.1 compatibility ([#​9370](https://togithub.com/protocolbuffers/protobuf/issues/9370)) ##### C\# - Fix trim warnings ([#​9182](https://togithub.com/protocolbuffers/protobuf/issues/9182)) - Fixes NullReferenceException when accessing FieldDescriptor.IsPacked ([#​9430](https://togithub.com/protocolbuffers/protobuf/issues/9430)) - Add ToProto() method to all descriptor classes ([#​9426](https://togithub.com/protocolbuffers/protobuf/issues/9426)) - Add an option to preserve proto names in JsonFormatter ([#​6307](https://togithub.com/protocolbuffers/protobuf/issues/6307)) ##### Objective-C - Add prefix_to_proto_package_mappings_path option. ([#​9498](https://togithub.com/protocolbuffers/protobuf/issues/9498)) - Rename `proto_package_to_prefix_mappings_path` to `package_to_prefix_mappings_path`. ([#​9552](https://togithub.com/protocolbuffers/protobuf/issues/9552)) - Add a generation option to control use of forward declarations in headers. ([#​9568](https://togithub.com/protocolbuffers/protobuf/issues/9568))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 6be2f6d05494..b75337532909 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.19.4' + compile 'com.google.protobuf:protobuf-java:3.20.1' compile 'com.google.api:api-common:2.1.5' compile project(':proto-google-common-protos') } From 294624f6b336b4503fca4f89a9ccc75788198e34 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 14:18:16 +0000 Subject: [PATCH 2226/3036] chore(main): release 1.3.3 (#338) :robot: I have created a release *beep* *boop* --- ### [1.3.3](https://github.com/googleapis/java-iam/compare/v1.3.2...v1.3.3) (2022-04-22) ### Dependencies * update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#337](https://github.com/googleapis/java-iam/issues/337)) ([ff257ff](https://github.com/googleapis/java-iam/commit/ff257ffd5ce82d09949db917f4a40064924fa69f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 40f4fe33521f..dd8f9f565b7b 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.3.3](https://github.com/googleapis/java-iam/compare/v1.3.2...v1.3.3) (2022-04-22) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#337](https://github.com/googleapis/java-iam/issues/337)) ([83302e1](https://github.com/googleapis/java-iam/commit/83302e12860ca82234bd3f74234c373164e27ffb)) + ### [1.3.2](https://github.com/googleapis/java-iam/compare/v1.3.1...v1.3.2) (2022-04-15) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index d321896d0420..851d8b4c6cc2 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.3.3-SNAPSHOT + 1.3.3 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.3-SNAPSHOT + 1.3.3 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 30a7858939ba..812cd134c3dc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.3-SNAPSHOT + 1.3.3 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.3-SNAPSHOT + 1.3.3 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7f3320dd7f48..ac642bdd2e89 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.3.3-SNAPSHOT + 1.3.3 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.3-SNAPSHOT + 1.3.3 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 61b748ad1af5..d5a0b97d64d1 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.2:1.3.3-SNAPSHOT -grpc-google-iam-v1:1.3.2:1.3.3-SNAPSHOT +proto-google-iam-v1:1.3.3:1.3.3 +grpc-google-iam-v1:1.3.3:1.3.3 From 14461f6917d425a0b0a1970f9211df283a2f80fd Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 14:24:21 +0000 Subject: [PATCH 2227/3036] chore(main): release 1.3.4-SNAPSHOT (#339) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 851d8b4c6cc2..beb07470ed1e 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.3.3 + 1.3.4-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.3 + 1.3.4-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 812cd134c3dc..7190387cb8e5 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.3 + 1.3.4-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.3 + 1.3.4-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index ac642bdd2e89..7550c578c137 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.3.3 + 1.3.4-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.3 + 1.3.4-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index d5a0b97d64d1..bab1c189be0f 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.3:1.3.3 -grpc-google-iam-v1:1.3.3:1.3.3 +proto-google-iam-v1:1.3.3:1.3.4-SNAPSHOT +grpc-google-iam-v1:1.3.3:1.3.4-SNAPSHOT From 27ee2b378c0180d04075d129d92880442d26e1f4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Apr 2022 19:06:14 +0200 Subject: [PATCH 2228/3036] deps: update iam.version to v1.3.3 (#679) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.3.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-iamcomparev132v133-2022-04-22) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.2...v1.3.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b2123781a142..44075efbec19 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.7 1.33.3 1.34.0 - 1.3.2 + 1.3.3
    From 9621659b56653ba671b0ee49cada4eaea079f80f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Apr 2022 21:34:18 +0200 Subject: [PATCH 2229/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 (#814) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.3.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-iamcomparev132v133-2022-04-22) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.2...v1.3.3)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 788f98263485..af8386778398 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.16.0 2.1.5 2.8.3 - 1.3.2 + 1.3.3 1.6.0 1.34.0 1.41.7 From be1ad58eaeb52ee11e3230015d308e28726c1013 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 28 Apr 2022 19:14:21 +0000 Subject: [PATCH 2230/3036] chore(bazel): update version of Protobuf to v3.20.1 (#342) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 444328399 Source-Link: https://github.com/googleapis/googleapis/commit/c7ca416c2856aad6a3f7092924e56b8cf0cb2534 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9 --- .../src/main/java/com/google/iam/v1/AuditConfig.java | 2 ++ .../src/main/java/com/google/iam/v1/AuditConfigDelta.java | 2 ++ .../src/main/java/com/google/iam/v1/AuditLogConfig.java | 2 ++ .../src/main/java/com/google/iam/v1/Binding.java | 2 ++ .../src/main/java/com/google/iam/v1/BindingDelta.java | 2 ++ .../src/main/java/com/google/iam/v1/GetIamPolicyRequest.java | 2 ++ .../src/main/java/com/google/iam/v1/GetPolicyOptions.java | 2 ++ .../src/main/java/com/google/iam/v1/Policy.java | 2 ++ .../src/main/java/com/google/iam/v1/PolicyDelta.java | 2 ++ .../src/main/java/com/google/iam/v1/SetIamPolicyRequest.java | 2 ++ .../main/java/com/google/iam/v1/TestIamPermissionsRequest.java | 2 ++ .../main/java/com/google/iam/v1/TestIamPermissionsResponse.java | 2 ++ 12 files changed, 24 insertions(+) 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 eb28aad02cfb..ec61d337d125 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 @@ -146,6 +146,8 @@ private AuditConfig( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 b1f2b2dcbe03..56e4b058637c 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 @@ -113,6 +113,8 @@ private AuditConfigDelta( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 a6f3a720c2a3..0008387a0040 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 @@ -116,6 +116,8 @@ private AuditLogConfig( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 219872a2bcf1..cf06536c0fb4 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 @@ -114,6 +114,8 @@ private Binding( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 ed69378ddd9a..b6ef165322ed 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 @@ -119,6 +119,8 @@ private BindingDelta( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 7944fffc7ea9..1a41603b08c6 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 @@ -103,6 +103,8 @@ private GetIamPolicyRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 253fa547446a..488dad2cc5d6 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 @@ -84,6 +84,8 @@ private GetPolicyOptions( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 ac67ceeb084f..db26b549fd00 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 @@ -172,6 +172,8 @@ private Policy( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 c26773e9781a..ed094c19ce28 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 @@ -104,6 +104,8 @@ private PolicyDelta( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 69e7e674b034..3bf8dfa8c739 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 @@ -117,6 +117,8 @@ private SetIamPolicyRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 5fdcc7319719..7e4b65833bc4 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 @@ -100,6 +100,8 @@ private TestIamPermissionsRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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 50400d50286d..0aec2dfd047b 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 @@ -92,6 +92,8 @@ private TestIamPermissionsResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { From 2d63c4396aad36cf427fbf6ef69d6f49e6c229fa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Apr 2022 22:14:41 +0200 Subject: [PATCH 2231/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.4.0 (#818) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.3` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/compatibility-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/confidence-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisjava-shared-configcomparev133v140-2022-04-28) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.3...v1.4.0) ##### Features - **java:** remove native image module ([#​471](https://togithub.com/googleapis/java-shared-config/issues/471)) ([7fcba01](https://togithub.com/googleapis/java-shared-config/commit/7fcba016b3138d7beaa4e962853f9bc80f59438c)) ##### [1.3.3](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3) (2022-04-19) ##### Bug Fixes - **java:** remove protobuf feature from native profile ([#​461](https://togithub.com/googleapis/java-shared-config/issues/461)) ([ffd07cb](https://togithub.com/googleapis/java-shared-config/commit/ffd07cb18ee7d45d4daee1d9ea6f6d321fdca874)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.11 ([#​459](https://togithub.com/googleapis/java-shared-config/issues/459)) ([d20008d](https://togithub.com/googleapis/java-shared-config/commit/d20008df15209708fdf9d06828b567778190f4d0)) - update dependency com.google.cloud:native-image-support to v0.13.1 ([#​465](https://togithub.com/googleapis/java-shared-config/issues/465)) ([b202064](https://togithub.com/googleapis/java-shared-config/commit/b2020648816feb4740ad70acedfed470d7da5bcf)) ##### [1.3.2](https://togithub.com/googleapis/java-shared-config/compare/v1.3.1...v1.3.2) (2022-03-28) ##### Dependencies - revert google-java-format to 1.7 ([#​453](https://togithub.com/googleapis/java-shared-config/issues/453)) ([cbc777f](https://togithub.com/googleapis/java-shared-config/commit/cbc777f3e9ab75edb6fa2e0268a7446ae4111725)) ##### [1.3.1](https://togithub.com/googleapis/java-shared-config/compare/v1.3.0...v1.3.1) (2022-03-25) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.10 ([#​443](https://togithub.com/googleapis/java-shared-config/issues/443)) ([5b39d5e](https://togithub.com/googleapis/java-shared-config/commit/5b39d5ee15121f052226ff873b6ab101e9c71de5)) - update dependency com.google.googlejavaformat:google-java-format to v1.15.0 ([#​426](https://togithub.com/googleapis/java-shared-config/issues/426)) ([4c3c4b6](https://togithub.com/googleapis/java-shared-config/commit/4c3c4b66129632181e6bc363a0ecccf4f5aac914)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#​448](https://togithub.com/googleapis/java-shared-config/issues/448)) ([f7f518e](https://togithub.com/googleapis/java-shared-config/commit/f7f518e87d1d9feb9ac54d7c099f97d8751ee3da)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#​449](https://togithub.com/googleapis/java-shared-config/issues/449)) ([3e1c0b5](https://togithub.com/googleapis/java-shared-config/commit/3e1c0b5a1d2f4a0db88c06a0d683ed90cbc745e2))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 0e59ce53bd51..935d1b6a7e7f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index af8386778398..f3d8050d59c4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 From ce23b5aa02f2e3c9338013246a0f439b01503e2d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Apr 2022 22:14:54 +0200 Subject: [PATCH 2232/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.4.0 (#681) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.3` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/compatibility-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/confidence-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisjava-shared-configcomparev133v140-2022-04-28) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.3...v1.4.0) ##### Features - **java:** remove native image module ([#​471](https://togithub.com/googleapis/java-shared-config/issues/471)) ([7fcba01](https://togithub.com/googleapis/java-shared-config/commit/7fcba016b3138d7beaa4e962853f9bc80f59438c)) ##### [1.3.3](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3) (2022-04-19) ##### Bug Fixes - **java:** remove protobuf feature from native profile ([#​461](https://togithub.com/googleapis/java-shared-config/issues/461)) ([ffd07cb](https://togithub.com/googleapis/java-shared-config/commit/ffd07cb18ee7d45d4daee1d9ea6f6d321fdca874)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.11 ([#​459](https://togithub.com/googleapis/java-shared-config/issues/459)) ([d20008d](https://togithub.com/googleapis/java-shared-config/commit/d20008df15209708fdf9d06828b567778190f4d0)) - update dependency com.google.cloud:native-image-support to v0.13.1 ([#​465](https://togithub.com/googleapis/java-shared-config/issues/465)) ([b202064](https://togithub.com/googleapis/java-shared-config/commit/b2020648816feb4740ad70acedfed470d7da5bcf)) ##### [1.3.2](https://togithub.com/googleapis/java-shared-config/compare/v1.3.1...v1.3.2) (2022-03-28) ##### Dependencies - revert google-java-format to 1.7 ([#​453](https://togithub.com/googleapis/java-shared-config/issues/453)) ([cbc777f](https://togithub.com/googleapis/java-shared-config/commit/cbc777f3e9ab75edb6fa2e0268a7446ae4111725)) ##### [1.3.1](https://togithub.com/googleapis/java-shared-config/compare/v1.3.0...v1.3.1) (2022-03-25) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.10 ([#​443](https://togithub.com/googleapis/java-shared-config/issues/443)) ([5b39d5e](https://togithub.com/googleapis/java-shared-config/commit/5b39d5ee15121f052226ff873b6ab101e9c71de5)) - update dependency com.google.googlejavaformat:google-java-format to v1.15.0 ([#​426](https://togithub.com/googleapis/java-shared-config/issues/426)) ([4c3c4b6](https://togithub.com/googleapis/java-shared-config/commit/4c3c4b66129632181e6bc363a0ecccf4f5aac914)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#​448](https://togithub.com/googleapis/java-shared-config/issues/448)) ([f7f518e](https://togithub.com/googleapis/java-shared-config/commit/f7f518e87d1d9feb9ac54d7c099f97d8751ee3da)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#​449](https://togithub.com/googleapis/java-shared-config/issues/449)) ([3e1c0b5](https://togithub.com/googleapis/java-shared-config/commit/3e1c0b5a1d2f4a0db88c06a0d683ed90cbc745e2))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 44075efbec19..a588616d24cd 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index ca04af6f98e4..79902daaca75 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a110a3185ffc..928e7273525b 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index ce67fb064b82..7c9e50bc6d5e 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 From bc0537c461d6b43639aa2a8e502fa20fe0a4250d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Apr 2022 22:24:28 +0200 Subject: [PATCH 2233/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.4.0 (#344) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.3` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/compatibility-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/confidence-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisjava-shared-configcomparev133v140-2022-04-28) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.3...v1.4.0) ##### Features - **java:** remove native image module ([#​471](https://togithub.com/googleapis/java-shared-config/issues/471)) ([7fcba01](https://togithub.com/googleapis/java-shared-config/commit/7fcba016b3138d7beaa4e962853f9bc80f59438c)) ##### [1.3.3](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3) (2022-04-19) ##### Bug Fixes - **java:** remove protobuf feature from native profile ([#​461](https://togithub.com/googleapis/java-shared-config/issues/461)) ([ffd07cb](https://togithub.com/googleapis/java-shared-config/commit/ffd07cb18ee7d45d4daee1d9ea6f6d321fdca874)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.11 ([#​459](https://togithub.com/googleapis/java-shared-config/issues/459)) ([d20008d](https://togithub.com/googleapis/java-shared-config/commit/d20008df15209708fdf9d06828b567778190f4d0)) - update dependency com.google.cloud:native-image-support to v0.13.1 ([#​465](https://togithub.com/googleapis/java-shared-config/issues/465)) ([b202064](https://togithub.com/googleapis/java-shared-config/commit/b2020648816feb4740ad70acedfed470d7da5bcf)) ##### [1.3.2](https://togithub.com/googleapis/java-shared-config/compare/v1.3.1...v1.3.2) (2022-03-28) ##### Dependencies - revert google-java-format to 1.7 ([#​453](https://togithub.com/googleapis/java-shared-config/issues/453)) ([cbc777f](https://togithub.com/googleapis/java-shared-config/commit/cbc777f3e9ab75edb6fa2e0268a7446ae4111725)) ##### [1.3.1](https://togithub.com/googleapis/java-shared-config/compare/v1.3.0...v1.3.1) (2022-03-25) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.10 ([#​443](https://togithub.com/googleapis/java-shared-config/issues/443)) ([5b39d5e](https://togithub.com/googleapis/java-shared-config/commit/5b39d5ee15121f052226ff873b6ab101e9c71de5)) - update dependency com.google.googlejavaformat:google-java-format to v1.15.0 ([#​426](https://togithub.com/googleapis/java-shared-config/issues/426)) ([4c3c4b6](https://togithub.com/googleapis/java-shared-config/commit/4c3c4b66129632181e6bc363a0ecccf4f5aac914)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#​448](https://togithub.com/googleapis/java-shared-config/issues/448)) ([f7f518e](https://togithub.com/googleapis/java-shared-config/commit/f7f518e87d1d9feb9ac54d7c099f97d8751ee3da)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#​449](https://togithub.com/googleapis/java-shared-config/issues/449)) ([3e1c0b5](https://togithub.com/googleapis/java-shared-config/commit/3e1c0b5a1d2f4a0db88c06a0d683ed90cbc745e2))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 7190387cb8e5..e09f65f8dbb9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 From b827e0ae8ed56ac739d8b21f81719e8d6fc4a012 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 3 May 2022 17:28:31 -0400 Subject: [PATCH 2234/3036] feat(java): remove native-image-support module (#820) --- java-core/native-image-support/pom.xml | 37 ---- .../features/NativeImageUtils.java | 174 ------------------ .../clients/CloudFunctionsFeature.java | 146 --------------- .../features/clients/CloudSqlFeature.java | 90 --------- .../features/clients/SpannerFeature.java | 116 ------------ .../google-cloud-core/native-image.properties | 2 - java-core/pom.xml | 17 -- 7 files changed, 582 deletions(-) delete mode 100644 java-core/native-image-support/pom.xml delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java delete mode 100644 java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java delete mode 100644 java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties diff --git a/java-core/native-image-support/pom.xml b/java-core/native-image-support/pom.xml deleted file mode 100644 index 02ec08878d07..000000000000 --- a/java-core/native-image-support/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - Google Cloud Native Image Support - com.google.cloud - native-image-support - 0.13.2-SNAPSHOT - jar - - - google-cloud-core-parent - com.google.cloud - 2.6.2-SNAPSHOT - - - - Core gRPC module for the google-cloud. - - - - - - org.graalvm.nativeimage - svm - provided - - - - org.graalvm.sdk - graal-sdk - provided - - - \ No newline at end of file diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java deleted file mode 100644 index 8b19f4b84fd0..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/NativeImageUtils.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features; - -import java.io.IOException; -import java.lang.reflect.Method; -import java.lang.reflect.Modifier; -import java.net.JarURLConnection; -import java.net.URL; -import java.net.URLConnection; -import java.util.ArrayList; -import java.util.Enumeration; -import java.util.List; -import java.util.jar.JarEntry; -import java.util.jar.JarFile; -import java.util.logging.Logger; -import org.graalvm.nativeimage.hosted.Feature.FeatureAccess; -import org.graalvm.nativeimage.hosted.RuntimeReflection; - -/** Internal class offering helper methods for registering methods/classes for reflection. */ -public class NativeImageUtils { - - private static final Logger LOGGER = Logger.getLogger(NativeImageUtils.class.getName()); - - /** Returns the method of a class or fails if it is not present. */ - public static Method getMethodOrFail(Class clazz, String methodName, Class... params) { - try { - return clazz.getDeclaredMethod(methodName, params); - } catch (NoSuchMethodException e) { - throw new RuntimeException( - "Failed to find method " + methodName + " for class " + clazz.getName(), e); - } - } - - /** Registers a class for reflective construction via its default constructor. */ - public static void registerForReflectiveInstantiation(FeatureAccess access, String className) { - Class clazz = access.findClassByName(className); - if (clazz != null) { - RuntimeReflection.register(clazz); - RuntimeReflection.registerForReflectiveInstantiation(clazz); - } else { - LOGGER.warning( - "Failed to find " + className + " on the classpath for reflective instantiation."); - } - } - - /** Registers all constructors of a class for reflection. */ - public static void registerConstructorsForReflection(FeatureAccess access, String name) { - Class clazz = access.findClassByName(name); - if (clazz != null) { - RuntimeReflection.register(clazz); - RuntimeReflection.register(clazz.getDeclaredConstructors()); - } else { - LOGGER.warning("Failed to find " + name + " on the classpath for reflection."); - } - } - - /** Registers an entire class for reflection use. */ - public static void registerClassForReflection(FeatureAccess access, String name) { - Class clazz = access.findClassByName(name); - if (clazz != null) { - RuntimeReflection.register(clazz); - RuntimeReflection.register(clazz.getDeclaredConstructors()); - RuntimeReflection.register(clazz.getDeclaredFields()); - RuntimeReflection.register(clazz.getDeclaredMethods()); - } else { - LOGGER.warning("Failed to find " + name + " on the classpath for reflection."); - } - } - - /** - * Registers the transitive class hierarchy of the provided {@code className} for reflection. - * - *

    The transitive class hierarchy contains the class itself and its transitive set of - * *non-private* nested subclasses. - */ - public static void registerClassHierarchyForReflection(FeatureAccess access, String className) { - Class clazz = access.findClassByName(className); - if (clazz != null) { - registerClassForReflection(access, className); - for (Class nestedClass : clazz.getDeclaredClasses()) { - if (!Modifier.isPrivate(nestedClass.getModifiers())) { - registerClassHierarchyForReflection(access, nestedClass.getName()); - } - } - } else { - LOGGER.warning("Failed to find " + className + " on the classpath for reflection."); - } - } - - /** Registers a class for unsafe reflective field access. */ - public static void registerForUnsafeFieldAccess( - FeatureAccess access, String className, String... fields) { - Class clazz = access.findClassByName(className); - if (clazz != null) { - RuntimeReflection.register(clazz); - for (String fieldName : fields) { - try { - RuntimeReflection.register(clazz.getDeclaredField(fieldName)); - } catch (NoSuchFieldException ex) { - LOGGER.warning("Failed to register field " + fieldName + " for class " + className); - LOGGER.warning(ex.getMessage()); - } - } - } else { - LOGGER.warning( - "Failed to find " - + className - + " on the classpath for unsafe fields access registration."); - } - } - - /** Registers all the classes under the specified package for reflection. */ - public static void registerPackageForReflection(FeatureAccess access, String packageName) { - ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); - - try { - String path = packageName.replace('.', '/'); - - Enumeration resources = classLoader.getResources(path); - while (resources.hasMoreElements()) { - URL url = resources.nextElement(); - - URLConnection connection = url.openConnection(); - if (connection instanceof JarURLConnection) { - List classes = findClassesInJar((JarURLConnection) connection, packageName); - for (String className : classes) { - registerClassHierarchyForReflection(access, className); - } - } - } - } catch (IOException e) { - throw new RuntimeException("Failed to load classes under package name.", e); - } - } - - private static List findClassesInJar(JarURLConnection urlConnection, String packageName) - throws IOException { - - List result = new ArrayList<>(); - - final JarFile jarFile = urlConnection.getJarFile(); - final Enumeration entries = jarFile.entries(); - - while (entries.hasMoreElements()) { - JarEntry entry = entries.nextElement(); - String entryName = entry.getName(); - - if (entryName.endsWith(".class")) { - String javaClassName = entryName.replace(".class", "").replace('/', '.'); - - if (javaClassName.startsWith(packageName)) { - result.add(javaClassName); - } - } - } - - return result; - } -} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java deleted file mode 100644 index 7b7eaaebaf20..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudFunctionsFeature.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features.clients; - -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassForReflection; -import static com.google.cloud.nativeimage.features.NativeImageUtils.registerClassHierarchyForReflection; - -import com.oracle.svm.core.annotate.AutomaticFeature; -import com.oracle.svm.core.configure.ResourcesRegistry; -import java.io.IOException; -import java.lang.reflect.Modifier; -import java.lang.reflect.ParameterizedType; -import java.lang.reflect.Type; -import java.nio.file.Path; -import java.util.Arrays; -import java.util.Enumeration; -import java.util.List; -import java.util.function.Consumer; -import java.util.jar.JarEntry; -import java.util.jar.JarFile; -import java.util.stream.Collectors; -import org.graalvm.nativeimage.ImageSingletons; -import org.graalvm.nativeimage.hosted.Feature; -import org.graalvm.nativeimage.hosted.RuntimeReflection; - -/** A feature which registers reflective usages of the Cloud Functions library. */ -@AutomaticFeature -final class CloudFunctionsFeature implements Feature { - - private static final String FUNCTION_INVOKER_CLASS = - "com.google.cloud.functions.invoker.runner.Invoker"; - - private static final List FUNCTIONS_CLASSES = - Arrays.asList( - "com.google.cloud.functions.HttpFunction", - "com.google.cloud.functions.RawBackgroundFunction", - "com.google.cloud.functions.BackgroundFunction"); - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - Class invokerClass = access.findClassByName(FUNCTION_INVOKER_CLASS); - if (invokerClass != null) { - // JCommander libraries - registerClassForReflection(access, "com.beust.jcommander.converters.StringConverter"); - registerClassForReflection(access, "com.beust.jcommander.validators.NoValidator"); - registerClassForReflection(access, "com.beust.jcommander.validators.NoValueValidator"); - - // Jetty libraries - registerClassForReflection(access, "org.eclipse.jetty.http.HttpTokens"); - registerClassForReflection(access, "org.eclipse.jetty.util.TypeUtil"); - - // Cloud Functions core - registerClassForReflection( - access, "com.google.cloud.functions.invoker.runner.Invoker$Options"); - - // Register Jetty Resources. - ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); - resourcesRegistry.addResources( - "\\QMETA-INF/services/org.eclipse.jetty.http.HttpFieldPreEncoder\\E"); - resourcesRegistry.addResources("\\Qorg/eclipse/jetty/http/encoding.properties\\E"); - resourcesRegistry.addResources("\\Qorg/eclipse/jetty/http/mime.properties\\E"); - resourcesRegistry.addResources("\\Qorg/eclipse/jetty/version/build.properties\\E"); - resourcesRegistry.addResourceBundles("javax.servlet.LocalStrings"); - resourcesRegistry.addResourceBundles("javax.servlet.http.LocalStrings"); - - // Register user-implemented Function classes - List> functionClasses = - FUNCTIONS_CLASSES.stream() - .map(name -> access.findClassByName(name)) - .collect(Collectors.toList()); - - scanJarClasspath( - access, - clazz -> { - boolean isFunctionSubtype = - functionClasses.stream() - .anyMatch( - function -> - function.isAssignableFrom(clazz) - && !Modifier.isAbstract(clazz.getModifiers())); - - if (isFunctionSubtype) { - RuntimeReflection.register(clazz); - RuntimeReflection.register(clazz.getDeclaredConstructors()); - RuntimeReflection.register(clazz.getDeclaredMethods()); - - // This part is to register the parameterized class of BackgroundFunctions - // for reflection; i.e. register type T in BackgroundFunction - for (Type type : clazz.getGenericInterfaces()) { - if (type instanceof ParameterizedType) { - ParameterizedType paramType = (ParameterizedType) type; - for (Type argument : paramType.getActualTypeArguments()) { - registerClassHierarchyForReflection(access, argument.getTypeName()); - } - } - } - } - }); - } - } - - /** - * Scan the JAR classpath for classes. The {@code classProcessorFunction} is run once for each - * class in the classpath. - */ - private static void scanJarClasspath( - FeatureAccess access, Consumer> classProcessorCallback) { - - List classPath = access.getApplicationClassPath(); - try { - for (Path path : classPath) { - JarFile jarFile = new JarFile(path.toFile()); - Enumeration entries = jarFile.entries(); - - while (entries.hasMoreElements()) { - JarEntry jarEntry = entries.nextElement(); - String fileName = jarEntry.getName(); - if (fileName.endsWith(".class")) { - String className = fileName.substring(0, fileName.length() - 6).replaceAll("/", "."); - - Class clazz = access.findClassByName(className); - if (clazz != null) { - classProcessorCallback.accept(clazz); - } - } - } - } - } catch (IOException e) { - throw new RuntimeException("Failed to read classpath: ", e); - } - } -} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java deleted file mode 100644 index 48b4c1e4efa5..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/CloudSqlFeature.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features.clients; - -import com.google.cloud.nativeimage.features.NativeImageUtils; -import com.oracle.svm.core.annotate.AutomaticFeature; -import com.oracle.svm.core.configure.ResourcesRegistry; -import org.graalvm.nativeimage.ImageSingletons; -import org.graalvm.nativeimage.hosted.Feature; -import org.graalvm.nativeimage.hosted.RuntimeClassInitialization; -import org.graalvm.nativeimage.hosted.RuntimeReflection; - -/** Registers GraalVM configuration for the Cloud SQL libraries for MySQL and Postgres. */ -@AutomaticFeature -final class CloudSqlFeature implements Feature { - - private static final String CLOUD_SQL_SOCKET_CLASS = - "com.google.cloud.sql.core.CoreSocketFactory"; - - private static final String POSTGRES_SOCKET_CLASS = "com.google.cloud.sql.postgres.SocketFactory"; - - private static final String MYSQL_SOCKET_CLASS = "com.google.cloud.sql.mysql.SocketFactory"; - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - if (access.findClassByName(CLOUD_SQL_SOCKET_CLASS) == null) { - return; - } - - // The Core Cloud SQL Socket - NativeImageUtils.registerClassForReflection(access, CLOUD_SQL_SOCKET_CLASS); - - // Resources for Cloud SQL - ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); - resourcesRegistry.addResources("\\Qcom.google.cloud.sql/project.properties\\E"); - resourcesRegistry.addResources("\\QMETA-INF/services/java.sql.Driver\\E"); - - // Register Hikari configs if used with Cloud SQL. - if (access.findClassByName("com.zaxxer.hikari.HikariConfig") != null) { - NativeImageUtils.registerClassForReflection(access, "com.zaxxer.hikari.HikariConfig"); - - RuntimeReflection.register( - access.findClassByName("[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;")); - - RuntimeReflection.register(access.findClassByName("[Ljava.sql.Statement;")); - } - - // Register PostgreSQL driver config. - if (access.findClassByName(POSTGRES_SOCKET_CLASS) != null) { - NativeImageUtils.registerClassForReflection( - access, "com.google.cloud.sql.postgres.SocketFactory"); - NativeImageUtils.registerClassForReflection(access, "org.postgresql.PGProperty"); - } - - // Register MySQL driver config. - if (access.findClassByName(MYSQL_SOCKET_CLASS) != null) { - NativeImageUtils.registerClassForReflection(access, MYSQL_SOCKET_CLASS); - - NativeImageUtils.registerConstructorsForReflection( - access, "com.mysql.cj.conf.url.SingleConnectionUrl"); - - NativeImageUtils.registerConstructorsForReflection(access, "com.mysql.cj.log.StandardLogger"); - - access.registerSubtypeReachabilityHandler( - (duringAccess, exceptionClass) -> - NativeImageUtils.registerClassForReflection(duringAccess, exceptionClass.getName()), - access.findClassByName("com.mysql.cj.exceptions.CJException")); - - // JDBC classes create socket connections which must be initialized at run time. - RuntimeClassInitialization.initializeAtRunTime("com.mysql.cj.jdbc"); - - // Additional MySQL resources. - resourcesRegistry.addResourceBundles("com.mysql.cj.LocalizedErrorMessages"); - } - } -} diff --git a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java b/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java deleted file mode 100644 index 956f368dacf6..000000000000 --- a/java-core/native-image-support/src/main/java/com/google/cloud/nativeimage/features/clients/SpannerFeature.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2022 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.cloud.nativeimage.features.clients; - -import com.google.cloud.nativeimage.features.NativeImageUtils; -import com.oracle.svm.core.annotate.AutomaticFeature; -import com.oracle.svm.core.configure.ResourcesRegistry; -import org.graalvm.nativeimage.ImageSingletons; -import org.graalvm.nativeimage.hosted.Feature; -import org.graalvm.nativeimage.impl.ConfigurationCondition; - -/** Registers Spanner library classes for reflection. */ -@AutomaticFeature -final class SpannerFeature implements Feature { - - private static final String SPANNER_CLASS = "com.google.spanner.v1.SpannerGrpc"; - private static final String SPANNER_TEST_CLASS = "com.google.cloud.spanner.GceTestEnvConfig"; - private static final String MOCK_CLASS = "com.google.cloud.spanner.MockDatabaseAdminServiceImpl"; - private static final String CLIENT_SIDE_IMPL_CLASS = - "com.google.cloud.spanner.connection.ClientSideStatementImpl"; - private static final String CLIENT_SIDE_VALUE_CONVERTER = - "com.google.cloud.spanner.connection.ClientSideStatementValueConverters"; - private static final String CONNECTION_IMPL = - "com.google.cloud.spanner.connection.ConnectionImpl"; - private static final String CLIENT_SIDE_STATEMENTS = - "com.google.cloud.spanner.connection.ClientSideStatements"; - private static final String CONNECTION_STATEMENT_EXECUTOR = - "com.google.cloud.spanner.connection.ConnectionStatementExecutor"; - private static final String CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR = - "com.google.cloud.spanner.connection.ClientSideStatementNoParamExecutor"; - private static final String CLIENT_SIDE_STATEMENT_SET_EXECUTOR = - "com.google.cloud.spanner.connection.ClientSideStatementSetExecutor"; - private static final String ABSTRACT_STATEMENT_PARSER = - "com.google.cloud.spanner.connection.AbstractStatementParser"; - private static final String STATEMENT_PARSER = - "com.google.cloud.spanner.connection.SpannerStatementParser"; - - @Override - public void beforeAnalysis(BeforeAnalysisAccess access) { - registerSpannerTestClasses(access); - if (access.findClassByName(CLIENT_SIDE_IMPL_CLASS) != null) { - NativeImageUtils.registerClassHierarchyForReflection(access, CLIENT_SIDE_IMPL_CLASS); - } - if (access.findClassByName(CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR) != null) { - NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENT_NO_PARAM_EXECUTOR); - } - if (access.findClassByName(CLIENT_SIDE_STATEMENT_SET_EXECUTOR) != null) { - NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENT_SET_EXECUTOR); - } - if (access.findClassByName(CLIENT_SIDE_VALUE_CONVERTER) != null) { - NativeImageUtils.registerClassHierarchyForReflection(access, CLIENT_SIDE_VALUE_CONVERTER); - } - if (access.findClassByName(CLIENT_SIDE_STATEMENTS) != null) { - NativeImageUtils.registerClassForReflection(access, CLIENT_SIDE_STATEMENTS); - } - if (access.findClassByName(CONNECTION_STATEMENT_EXECUTOR) != null) { - NativeImageUtils.registerClassForReflection(access, CONNECTION_STATEMENT_EXECUTOR); - } - if (access.findClassByName(CONNECTION_IMPL) != null) { - NativeImageUtils.registerClassForReflection(access, CONNECTION_IMPL); - } - if (access.findClassByName(ABSTRACT_STATEMENT_PARSER) != null) { - NativeImageUtils.registerClassHierarchyForReflection(access, ABSTRACT_STATEMENT_PARSER); - } - if (access.findClassByName(STATEMENT_PARSER) != null) { - NativeImageUtils.registerConstructorsForReflection(access, STATEMENT_PARSER); - } - - Class spannerClass = access.findClassByName(SPANNER_CLASS); - if (spannerClass != null) { - NativeImageUtils.registerClassHierarchyForReflection( - access, "com.google.spanner.admin.database.v1.Database"); - NativeImageUtils.registerClassHierarchyForReflection( - access, "com.google.spanner.admin.instance.v1.Instance"); - NativeImageUtils.registerClassForReflection( - access, "com.google.spanner.admin.database.v1.RestoreInfo"); - - // Resources - ResourcesRegistry resourcesRegistry = ImageSingletons.lookup(ResourcesRegistry.class); - resourcesRegistry.addResources( - ConfigurationCondition.alwaysTrue(), - "\\Qcom/google/cloud/spanner/connection/ClientSideStatements.json\\E"); - resourcesRegistry.addResources( - "\\Qcom/google/cloud/spanner/spi/v1/grpc-gcp-apiconfig.json\\E"); - resourcesRegistry.addResources( - ConfigurationCondition.alwaysTrue(), - "\\Qcom/google/cloud/spanner/connection/ITSqlScriptTest_TestQueryOptions.sql\\E"); - } - } - - private void registerSpannerTestClasses(BeforeAnalysisAccess access) { - Class spannerTestClass = access.findClassByName(SPANNER_TEST_CLASS); - if (spannerTestClass != null) { - NativeImageUtils.registerConstructorsForReflection(access, SPANNER_TEST_CLASS); - } - Class mockClass = access.findClassByName(MOCK_CLASS); - if (mockClass != null) { - NativeImageUtils.registerClassForReflection( - access, "com.google.cloud.spanner.MockDatabaseAdminServiceImpl$MockBackup"); - } - } -} diff --git a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties b/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties deleted file mode 100644 index 5ce9338cffb8..000000000000 --- a/java-core/native-image-support/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-core/native-image.properties +++ /dev/null @@ -1,2 +0,0 @@ -Args = --initialize-at-build-time=com.google.cloud.spanner.IntegrationTestEnv \ ---initialize-at-run-time=com.google.cloud.firestore.FirestoreImpl diff --git a/java-core/pom.xml b/java-core/pom.xml index f3d8050d59c4..6636e317a022 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,6 @@ 1.6.0 1.34.0 1.41.7 - 22.0.0.2 1.45.1 3.20.1 0.31.0 @@ -284,21 +283,6 @@ ${gson.version} - - - org.graalvm.nativeimage - svm - ${graalvm.version} - provided - - - - org.graalvm.sdk - graal-sdk - ${graalvm.version} - provided - - com.google.truth @@ -338,7 +322,6 @@ google-cloud-core-http google-cloud-core-grpc google-cloud-core-bom - native-image-support From d3142096f93eea25231b9bd1a11818b4f042d65a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 6 May 2022 00:28:15 +0200 Subject: [PATCH 2235/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.3.0 (#817) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.2.2` -> `3.3.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/compatibility-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/confidence-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6636e317a022..b76f3ecfa510 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -329,7 +329,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.2 + 3.3.0 From 466472defea59577a021989974f1108bad57a48a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 6 May 2022 00:28:19 +0200 Subject: [PATCH 2236/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.3.0 (#343) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.2.2` -> `3.3.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/compatibility-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/confidence-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e09f65f8dbb9..e1c6424eb0b0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -99,7 +99,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.2 + 3.3.0 From 8285eee0259b9cdade16afe712148be4367d402b Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Fri, 6 May 2022 10:35:31 -0400 Subject: [PATCH 2237/3036] fix: remove native-image-support module from version.txt (#822) --- java-core/versions.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/java-core/versions.txt b/java-core/versions.txt index d2535df5a2bc..314c2cab629c 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -2,4 +2,3 @@ # module:released-version:current-version google-cloud-core:2.6.1:2.6.2-SNAPSHOT -native-image-support:0.13.1:0.13.2-SNAPSHOT \ No newline at end of file From bbeb567c0023492c2d73a6a4135c81e02a780248 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:30:27 +0200 Subject: [PATCH 2238/3036] deps: update dependency com.google.cloud:native-image-support to v0.14.0 (#824) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:native-image-support](https://togithub.com/GoogleCloudPlatform/native-image-support-java) | `0.13.2-SNAPSHOT` -> `0.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/compatibility-slim/0.13.2-SNAPSHOT)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:native-image-support/0.14.0/confidence-slim/0.13.2-SNAPSHOT)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 935d1b6a7e7f..9e38ed4fd7a4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -78,7 +78,7 @@ com.google.cloud native-image-support - 0.13.2-SNAPSHOT + 0.14.0 From 2dc7507eb52c398ec13e8c70c2938c3634809d0b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:32:15 +0200 Subject: [PATCH 2239/3036] deps: update dependency io.grpc:grpc-bom to v1.46.0 (#815) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.45.1` -> `1.46.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/compatibility-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/confidence-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    grpc/grpc-java ### [`v1.46.0`](https://togithub.com/grpc/grpc-java/releases/v1.46.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.45.1...v1.46.0) ##### Bug Fixes - netty: Fixed incompatibility with Netty 4.1.75.Final that caused COMPRESSION_ERROR ([#​9004](https://togithub.com/grpc/grpc-java/issues/9004)) - xds: Fix LBs blindly propagating control plane errors ([#​9012](https://togithub.com/grpc/grpc-java/issues/9012)). This change forces the use of UNAVAILABLE for any xDS communication failures, which otherwise could greatly confuse an application. This is essentially a continuation of the fix in 1.45.0 for XdsNameResolver, but for other similar cases - xds: Fix ring_hash reconnecting behavior. Previously a TRANSIENT_FAILURE subchannel would remain failed forever - xds: Fix ring_hash defeating priority’s failover connection timeout. [grpc/proposal#​296](https://togithub.com/grpc/proposal/issues/296) - binder: Work around an Android Intent bug for consistent AndroidComponentAndress hashCode() and equals() ([#​9061](https://togithub.com/grpc/grpc-java/issues/9061)) - binder: Fix deadlock when using process-local Binder ([#​8987](https://togithub.com/grpc/grpc-java/issues/8987)). Process-local binder has a different threading model than normal FLAG_ONEWAY, so this case is now detected and the FLAG_ONEWAY threading model is emulated - okhttp: Removed dead code in io.grpc.okhttp.internal.Util. This should have no impact except for static code analysis. This code was never used and was from the process of forking okhttp. It calculated things like MD5 which can trigger security scanners ([#​9071](https://togithub.com/grpc/grpc-java/issues/9071)) ##### Behavior Changes - java_grpc_library.bzl: Pass use_default_shell_env = True for protoc ([#​8984](https://togithub.com/grpc/grpc-java/issues/8984)). This allows using MinGW on Windows - xds: Unconditionally apply backoff on ADS and LDS stream recreation. Previously if a message had been received on the stream no backoff wait would be performed. This limits QPS to a buggy server to 1 QPS, instead of a closed loop - xds: Skip Routes within VirtualHosts whose RouteAction has no cluster_specifier. This probably means the control plane is using a cluster_specifier field unknown/unsupported by gRPC. The control plane can repeat the Route with a different cluster_specifier for compatibility with older clients - xds: Support `xds.config.resource-in-sotw` client capability. Resources wrapped in a `io.envoyproxy.envoy.service.discovery.v3.Resource` message are now supported ([#​8997](https://togithub.com/grpc/grpc-java/issues/8997)) ##### New Features - gcp-observability: A new experimental module for improving visibility into gRPC workloads. Initially supports logging RPCs to Google Cloud Logging - grpclb: Support setting initial fallback timeout by service config ([#​8980](https://togithub.com/grpc/grpc-java/issues/8980)) ##### Dependencies - PerfMark bumped to 0.25.0 ([#​8948](https://togithub.com/grpc/grpc-java/issues/8948)) - okhttp: the okhttp dependency is now compile only ([#​8971](https://togithub.com/grpc/grpc-java/issues/8971)). Okhttp’s internal HTTP/2 implementation was forked inside grpc-okhttp a long time ago, but there had been a few stray internal classes that had not been forked but should have been. That has now been fixed in preparation for OkHttp 3/4 support. Compile-only may cause a runtime failure for code using reflection on OkHttpChannelBuilder; add a dependency on okhttp 2.7.4 to resolve - bom: Removed protoc-gen-grpc-java from the BOM, as the classifier was confusing and it provided no value ([#​9020](https://togithub.com/grpc/grpc-java/issues/9020)) ##### Acknowledgements [@​jesseschalken](https://togithub.com/jesseschalken) [@​kluever](https://togithub.com/kluever) [@​beatrausch](https://togithub.com/beatrausch)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b76f3ecfa510..ba4d59310577 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.6.0 1.34.0 1.41.7 - 1.45.1 + 1.46.0 3.20.1 0.31.0 1.3.2 From 96982b005513a6123dd843450b978b428404dd43 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:34:18 +0200 Subject: [PATCH 2240/3036] deps: update opencensus.version to v0.31.1 (#819) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.opencensus:opencensus-contrib-http-util](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-api](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    census-instrumentation/opencensus-java ### [`v0.31.1`](https://togithub.com/census-instrumentation/opencensus-java/releases/v0.31.1) [Compare Source](https://togithub.com/census-instrumentation/opencensus-java/compare/v0.31.0...v0.31.1) ##### What's Changed - \[v0.31.x] Fix retry stat measures to match those in grpc-java exactly ([#​2097](https://togithub.com/census-instrumentation/opencensus-java/issues/2097)) by [@​mackenziestarr](https://togithub.com/mackenziestarr) in [https://github.com/census-instrumentation/opencensus-java/pull/2102](https://togithub.com/census-instrumentation/opencensus-java/pull/2102) **Full Changelog**: https://github.com/census-instrumentation/opencensus-java/compare/v0.31.0...v0.31.1
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ba4d59310577..87f6493dbae9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -160,7 +160,7 @@ 1.41.7 1.46.0 3.20.1 - 0.31.0 + 0.31.1 1.3.2 31.1-jre 4.13.2 From 8c747e175f9497873ea16e1a10c28f457f1173f8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 22:44:18 +0200 Subject: [PATCH 2241/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.8 (#821) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.7` -> `1.41.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/compatibility-slim/1.41.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/confidence-slim/1.41.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.8`](https://togithub.com/googleapis/google-http-java-client/releases/v1.41.8) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.7...v1.41.8) ##### [1.41.8](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.7...v1.41.8) (2022-04-29) ##### Dependencies - downgrade appengine to 1.9.X ([#​1645](https://togithub.com/googleapis/google-http-java-client/issues/1645)) ([da9dd8b](https://togithub.com/googleapis/google-http-java-client/commit/da9dd8bca97cc10712ce24054d2edd3d5ac2e571))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 87f6493dbae9..45a501bbefc2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.3.3 1.6.0 1.34.0 - 1.41.7 + 1.41.8 1.46.0 3.20.1 0.31.1 From 58aac09bbc9dcf5f642934b6d4edee07a6618f22 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 9 May 2022 23:08:19 +0200 Subject: [PATCH 2242/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.34.1 (#823) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.34.0` -> `1.34.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/compatibility-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/confidence-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.34.1`](https://togithub.com/googleapis/google-api-java-client/releases/v1.34.1) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.0...v1.34.1) ##### [1.34.1](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.0...v1.34.1) (2022-05-06) ##### Dependencies - downgrade appengine to 1.9.X ([#​2053](https://togithub.com/googleapis/google-api-java-client/issues/2053)) ([8d9a863](https://togithub.com/googleapis/google-api-java-client/commit/8d9a863033672bb2a0b2d826e0ba6025f437cf96)) - google-http-client 1.41.8 ([#​2056](https://togithub.com/googleapis/google-api-java-client/issues/2056)) ([d1e84ac](https://togithub.com/googleapis/google-api-java-client/commit/d1e84acf81141159283d7d33a1cd8221b3aac4fd))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 45a501bbefc2..02765c193921 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.8.3 1.3.3 1.6.0 - 1.34.0 + 1.34.1 1.41.8 1.46.0 3.20.1 From 5153a98c16ea0c74f640dee1e67c67847cb70a3c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 May 2022 20:04:23 +0200 Subject: [PATCH 2243/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.41.8 (#684) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.7` -> `1.41.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/compatibility-slim/1.41.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.8/confidence-slim/1.41.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.41.8`](https://togithub.com/googleapis/google-http-java-client/releases/v1.41.8) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.7...v1.41.8) ##### [1.41.8](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.7...v1.41.8) (2022-04-29) ##### Dependencies - downgrade appengine to 1.9.X ([#​1645](https://togithub.com/googleapis/google-http-java-client/issues/1645)) ([da9dd8b](https://togithub.com/googleapis/google-http-java-client/commit/da9dd8bca97cc10712ce24054d2edd3d5ac2e571))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a588616d24cd..3169ff4609d3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.8.3 2.6.1 1.6.0 - 1.41.7 + 1.41.8 1.33.3 1.34.0 1.3.3 From 00f5d4aaef56825d974c3ac9d4c30793c4840505 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 May 2022 20:04:28 +0200 Subject: [PATCH 2244/3036] deps: update dependency io.grpc:grpc-bom to v1.46.0 (#680) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.45.1` -> `1.46.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/compatibility-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.46.0/confidence-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.46.0`](https://togithub.com/grpc/grpc-java/releases/v1.46.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.45.1...v1.46.0) ##### Bug Fixes - netty: Fixed incompatibility with Netty 4.1.75.Final that caused COMPRESSION_ERROR ([#​9004](https://togithub.com/grpc/grpc-java/issues/9004)) - xds: Fix LBs blindly propagating control plane errors ([#​9012](https://togithub.com/grpc/grpc-java/issues/9012)). This change forces the use of UNAVAILABLE for any xDS communication failures, which otherwise could greatly confuse an application. This is essentially a continuation of the fix in 1.45.0 for XdsNameResolver, but for other similar cases - xds: Fix ring_hash reconnecting behavior. Previously a TRANSIENT_FAILURE subchannel would remain failed forever - xds: Fix ring_hash defeating priority’s failover connection timeout. [grpc/proposal#​296](https://togithub.com/grpc/proposal/issues/296) - binder: Work around an Android Intent bug for consistent AndroidComponentAndress hashCode() and equals() ([#​9061](https://togithub.com/grpc/grpc-java/issues/9061)) - binder: Fix deadlock when using process-local Binder ([#​8987](https://togithub.com/grpc/grpc-java/issues/8987)). Process-local binder has a different threading model than normal FLAG_ONEWAY, so this case is now detected and the FLAG_ONEWAY threading model is emulated - okhttp: Removed dead code in io.grpc.okhttp.internal.Util. This should have no impact except for static code analysis. This code was never used and was from the process of forking okhttp. It calculated things like MD5 which can trigger security scanners ([#​9071](https://togithub.com/grpc/grpc-java/issues/9071)) ##### Behavior Changes - java_grpc_library.bzl: Pass use_default_shell_env = True for protoc ([#​8984](https://togithub.com/grpc/grpc-java/issues/8984)). This allows using MinGW on Windows - xds: Unconditionally apply backoff on ADS and LDS stream recreation. Previously if a message had been received on the stream no backoff wait would be performed. This limits QPS to a buggy server to 1 QPS, instead of a closed loop - xds: Skip Routes within VirtualHosts whose RouteAction has no cluster_specifier. This probably means the control plane is using a cluster_specifier field unknown/unsupported by gRPC. The control plane can repeat the Route with a different cluster_specifier for compatibility with older clients - xds: Support `xds.config.resource-in-sotw` client capability. Resources wrapped in a `io.envoyproxy.envoy.service.discovery.v3.Resource` message are now supported ([#​8997](https://togithub.com/grpc/grpc-java/issues/8997)) ##### New Features - gcp-observability: A new experimental module for improving visibility into gRPC workloads. Initially supports logging RPCs to Google Cloud Logging - grpclb: Support setting initial fallback timeout by service config ([#​8980](https://togithub.com/grpc/grpc-java/issues/8980)) ##### Dependencies - PerfMark bumped to 0.25.0 ([#​8948](https://togithub.com/grpc/grpc-java/issues/8948)) - okhttp: the okhttp dependency is now compile only ([#​8971](https://togithub.com/grpc/grpc-java/issues/8971)). Okhttp’s internal HTTP/2 implementation was forked inside grpc-okhttp a long time ago, but there had been a few stray internal classes that had not been forked but should have been. That has now been fixed in preparation for OkHttp 3/4 support. Compile-only may cause a runtime failure for code using reflection on OkHttpChannelBuilder; add a dependency on okhttp 2.7.4 to resolve - bom: Removed protoc-gen-grpc-java from the BOM, as the classifier was confusing and it provided no value ([#​9020](https://togithub.com/grpc/grpc-java/issues/9020)) ##### Acknowledgements [@​jesseschalken](https://togithub.com/jesseschalken) [@​kluever](https://togithub.com/kluever) [@​beatrausch](https://togithub.com/beatrausch)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3169ff4609d3..f78318b71a0b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.45.1 + 1.46.0 2.16.0 1.1.0 31.1-jre From 1d0832c9b3090ec92f6183e3b7a1bdd58b0ec42f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 May 2022 20:04:32 +0200 Subject: [PATCH 2245/3036] deps: update opencensus.version to v0.31.1 (#682) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.opencensus:opencensus-impl-core](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl-core/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl-core/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl-core/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl-core/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-impl](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-impl/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-exporter-trace-stackdriver](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-trace-stackdriver/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-trace-stackdriver/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-trace-stackdriver/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-trace-stackdriver/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-exporter-stats-stackdriver](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-stats-stackdriver/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-stats-stackdriver/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-stats-stackdriver/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-exporter-stats-stackdriver/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-contrib-zpages](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-zpages/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-zpages/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-zpages/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-zpages/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-contrib-http-util](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-http-util/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-contrib-grpc-util](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-grpc-util/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-grpc-util/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-grpc-util/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-contrib-grpc-util/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | | [io.opencensus:opencensus-api](https://togithub.com/census-instrumentation/opencensus-java) | `0.31.0` -> `0.31.1` | [![age](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/compatibility-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.opencensus:opencensus-api/0.31.1/confidence-slim/0.31.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    census-instrumentation/opencensus-java ### [`v0.31.1`](https://togithub.com/census-instrumentation/opencensus-java/releases/v0.31.1) [Compare Source](https://togithub.com/census-instrumentation/opencensus-java/compare/v0.31.0...v0.31.1) ##### What's Changed - \[v0.31.x] Fix retry stat measures to match those in grpc-java exactly ([#​2097](https://togithub.com/census-instrumentation/opencensus-java/issues/2097)) by [@​mackenziestarr](https://togithub.com/mackenziestarr) in [https://github.com/census-instrumentation/opencensus-java/pull/2102](https://togithub.com/census-instrumentation/opencensus-java/pull/2102) **Full Changelog**: https://github.com/census-instrumentation/opencensus-java/compare/v0.31.0...v0.31.1
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 928e7273525b..8f7a08457376 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 1.6.0 1.3.2 1.21 - 0.31.0 + 0.31.1 3.0.2 2.13.1 2.13.2.20220328 From 2bf58f726391ccdfbe5910821c90f96bf54c88e6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 May 2022 20:04:33 +0200 Subject: [PATCH 2246/3036] deps: update dependency io.grpc:grpc-stub to v1.46.0 (#341) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.45.1` -> `1.46.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.46.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.46.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.46.0/compatibility-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.46.0/confidence-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.46.0`](https://togithub.com/grpc/grpc-java/releases/v1.46.0) ##### Bug Fixes - netty: Fixed incompatibility with Netty 4.1.75.Final that caused COMPRESSION_ERROR ([#​9004](https://togithub.com/grpc/grpc-java/issues/9004)) - xds: Fix LBs blindly propagating control plane errors ([#​9012](https://togithub.com/grpc/grpc-java/issues/9012)). This change forces the use of UNAVAILABLE for any xDS communication failures, which otherwise could greatly confuse an application. This is essentially a continuation of the fix in 1.45.0 for XdsNameResolver, but for other similar cases - xds: Fix ring_hash reconnecting behavior. Previously a TRANSIENT_FAILURE subchannel would remain failed forever - xds: Fix ring_hash defeating priority’s failover connection timeout. [grpc/proposal#​296](https://togithub.com/grpc/proposal/issues/296) - binder: Work around an Android Intent bug for consistent AndroidComponentAndress hashCode() and equals() ([#​9061](https://togithub.com/grpc/grpc-java/issues/9061)) - binder: Fix deadlock when using process-local Binder ([#​8987](https://togithub.com/grpc/grpc-java/issues/8987)). Process-local binder has a different threading model than normal FLAG_ONEWAY, so this case is now detected and the FLAG_ONEWAY threading model is emulated - okhttp: Removed dead code in io.grpc.okhttp.internal.Util. This should have no impact except for static code analysis. This code was never used and was from the process of forking okhttp. It calculated things like MD5 which can trigger security scanners ([#​9071](https://togithub.com/grpc/grpc-java/issues/9071)) ##### Behavior Changes - java_grpc_library.bzl: Pass use_default_shell_env = True for protoc ([#​8984](https://togithub.com/grpc/grpc-java/issues/8984)). This allows using MinGW on Windows - xds: Unconditionally apply backoff on ADS and LDS stream recreation. Previously if a message had been received on the stream no backoff wait would be performed. This limits QPS to a buggy server to 1 QPS, instead of a closed loop - xds: Skip Routes within VirtualHosts whose RouteAction has no cluster_specifier. This probably means the control plane is using a cluster_specifier field unknown/unsupported by gRPC. The control plane can repeat the Route with a different cluster_specifier for compatibility with older clients - xds: Support `xds.config.resource-in-sotw` client capability. Resources wrapped in a `io.envoyproxy.envoy.service.discovery.v3.Resource` message are now supported ([#​8997](https://togithub.com/grpc/grpc-java/issues/8997)) ##### New Features - gcp-observability: A new experimental module for improving visibility into gRPC workloads. Initially supports logging RPCs to Google Cloud Logging - grpclb: Support setting initial fallback timeout by service config ([#​8980](https://togithub.com/grpc/grpc-java/issues/8980)) ##### Dependencies - PerfMark bumped to 0.25.0 ([#​8948](https://togithub.com/grpc/grpc-java/issues/8948)) - okhttp: the okhttp dependency is now compile only ([#​8971](https://togithub.com/grpc/grpc-java/issues/8971)). Okhttp’s internal HTTP/2 implementation was forked inside grpc-okhttp a long time ago, but there had been a few stray internal classes that had not been forked but should have been. That has now been fixed in preparation for OkHttp 3/4 support. Compile-only may cause a runtime failure for code using reflection on OkHttpChannelBuilder; add a dependency on okhttp 2.7.4 to resolve - bom: Removed protoc-gen-grpc-java from the BOM, as the classifier was confusing and it provided no value ([#​9020](https://togithub.com/grpc/grpc-java/issues/9020)) ##### Acknowledgements [@​jesseschalken](https://togithub.com/jesseschalken) [@​kluever](https://togithub.com/kluever) [@​beatrausch](https://togithub.com/beatrausch)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 5546b4946362..16dbca39cc58 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.45.1' + compile 'io.grpc:grpc-stub:1.46.0' compile 'io.grpc:grpc-protobuf:1.45.1' compile project(':proto-google-iam-v1') } From 82ea316b52083c4bd47b20b15ca068236a6e6824 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 May 2022 20:04:37 +0200 Subject: [PATCH 2247/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.34.1 (#685) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.34.0` -> `1.34.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/compatibility-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.34.1/confidence-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.34.1`](https://togithub.com/googleapis/google-api-java-client/releases/v1.34.1) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.0...v1.34.1) ##### [1.34.1](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.0...v1.34.1) (2022-05-06) ##### Dependencies - downgrade appengine to 1.9.X ([#​2053](https://togithub.com/googleapis/google-api-java-client/issues/2053)) ([8d9a863](https://togithub.com/googleapis/google-api-java-client/commit/8d9a863033672bb2a0b2d826e0ba6025f437cf96)) - google-http-client 1.41.8 ([#​2056](https://togithub.com/googleapis/google-api-java-client/issues/2056)) ([d1e84ac](https://togithub.com/googleapis/google-api-java-client/commit/d1e84acf81141159283d7d33a1cd8221b3aac4fd))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f78318b71a0b..a67f968b6e52 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.6.0 1.41.8 1.33.3 - 1.34.0 + 1.34.1 1.3.3
    From 275a37e9b19123d343ef8eb858c281e388ecea20 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 May 2022 20:06:20 +0200 Subject: [PATCH 2248/3036] deps: update dependency org.checkerframework:checker-qual to v3.22.0 (#683) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.checkerframework:checker-qual](https://checkerframework.org) ([source](https://togithub.com/typetools/checker-framework)) | `3.21.4` -> `3.22.0` | [![age](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.0/compatibility-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.0/confidence-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 8f7a08457376..3da56dd4490b 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.21.4 + 3.22.0 From 17df8910278a9503cf77671fd2cd231a73424768 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 10 May 2022 20:08:20 +0200 Subject: [PATCH 2249/3036] deps: update dependency io.grpc:grpc-protobuf to v1.46.0 (#340) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.45.1` -> `1.46.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.46.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.46.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.46.0/compatibility-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.46.0/confidence-slim/1.45.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.46.0`](https://togithub.com/grpc/grpc-java/releases/v1.46.0) ##### Bug Fixes - netty: Fixed incompatibility with Netty 4.1.75.Final that caused COMPRESSION_ERROR ([#​9004](https://togithub.com/grpc/grpc-java/issues/9004)) - xds: Fix LBs blindly propagating control plane errors ([#​9012](https://togithub.com/grpc/grpc-java/issues/9012)). This change forces the use of UNAVAILABLE for any xDS communication failures, which otherwise could greatly confuse an application. This is essentially a continuation of the fix in 1.45.0 for XdsNameResolver, but for other similar cases - xds: Fix ring_hash reconnecting behavior. Previously a TRANSIENT_FAILURE subchannel would remain failed forever - xds: Fix ring_hash defeating priority’s failover connection timeout. [grpc/proposal#​296](https://togithub.com/grpc/proposal/issues/296) - binder: Work around an Android Intent bug for consistent AndroidComponentAndress hashCode() and equals() ([#​9061](https://togithub.com/grpc/grpc-java/issues/9061)) - binder: Fix deadlock when using process-local Binder ([#​8987](https://togithub.com/grpc/grpc-java/issues/8987)). Process-local binder has a different threading model than normal FLAG_ONEWAY, so this case is now detected and the FLAG_ONEWAY threading model is emulated - okhttp: Removed dead code in io.grpc.okhttp.internal.Util. This should have no impact except for static code analysis. This code was never used and was from the process of forking okhttp. It calculated things like MD5 which can trigger security scanners ([#​9071](https://togithub.com/grpc/grpc-java/issues/9071)) ##### Behavior Changes - java_grpc_library.bzl: Pass use_default_shell_env = True for protoc ([#​8984](https://togithub.com/grpc/grpc-java/issues/8984)). This allows using MinGW on Windows - xds: Unconditionally apply backoff on ADS and LDS stream recreation. Previously if a message had been received on the stream no backoff wait would be performed. This limits QPS to a buggy server to 1 QPS, instead of a closed loop - xds: Skip Routes within VirtualHosts whose RouteAction has no cluster_specifier. This probably means the control plane is using a cluster_specifier field unknown/unsupported by gRPC. The control plane can repeat the Route with a different cluster_specifier for compatibility with older clients - xds: Support `xds.config.resource-in-sotw` client capability. Resources wrapped in a `io.envoyproxy.envoy.service.discovery.v3.Resource` message are now supported ([#​8997](https://togithub.com/grpc/grpc-java/issues/8997)) ##### New Features - gcp-observability: A new experimental module for improving visibility into gRPC workloads. Initially supports logging RPCs to Google Cloud Logging - grpclb: Support setting initial fallback timeout by service config ([#​8980](https://togithub.com/grpc/grpc-java/issues/8980)) ##### Dependencies - PerfMark bumped to 0.25.0 ([#​8948](https://togithub.com/grpc/grpc-java/issues/8948)) - okhttp: the okhttp dependency is now compile only ([#​8971](https://togithub.com/grpc/grpc-java/issues/8971)). Okhttp’s internal HTTP/2 implementation was forked inside grpc-okhttp a long time ago, but there had been a few stray internal classes that had not been forked but should have been. That has now been fixed in preparation for OkHttp 3/4 support. Compile-only may cause a runtime failure for code using reflection on OkHttpChannelBuilder; add a dependency on okhttp 2.7.4 to resolve - bom: Removed protoc-gen-grpc-java from the BOM, as the classifier was confusing and it provided no value ([#​9020](https://togithub.com/grpc/grpc-java/issues/9020)) ##### Acknowledgements [@​jesseschalken](https://togithub.com/jesseschalken) [@​kluever](https://togithub.com/kluever) [@​beatrausch](https://togithub.com/beatrausch)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 16dbca39cc58..b066166d0860 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.46.0' - compile 'io.grpc:grpc-protobuf:1.45.1' + compile 'io.grpc:grpc-protobuf:1.46.0' compile project(':proto-google-iam-v1') } From 87a91fb42c84b96adee78d07687d5ee6f5a5231e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 May 2022 18:16:14 +0000 Subject: [PATCH 2250/3036] chore(main): release 1.3.4 (#345) :robot: I have created a release *beep* *boop* --- ### [1.3.4](https://github.com/googleapis/java-iam/compare/v1.3.3...v1.3.4) (2022-05-10) ### Dependencies * update dependency io.grpc:grpc-protobuf to v1.46.0 ([#340](https://github.com/googleapis/java-iam/issues/340)) ([17df891](https://github.com/googleapis/java-iam/commit/17df8910278a9503cf77671fd2cd231a73424768)) * update dependency io.grpc:grpc-stub to v1.46.0 ([#341](https://github.com/googleapis/java-iam/issues/341)) ([2bf58f7](https://github.com/googleapis/java-iam/commit/2bf58f726391ccdfbe5910821c90f96bf54c88e6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 8 ++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index dd8f9f565b7b..241c335168df 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### [1.3.4](https://github.com/googleapis/java-iam/compare/v1.3.3...v1.3.4) (2022-05-10) + + +### Dependencies + +* update dependency io.grpc:grpc-protobuf to v1.46.0 ([#340](https://github.com/googleapis/java-iam/issues/340)) ([8ed87ef](https://github.com/googleapis/java-iam/commit/8ed87ef24ba184a1b1b386554aca94ae1fbbf9e6)) +* update dependency io.grpc:grpc-stub to v1.46.0 ([#341](https://github.com/googleapis/java-iam/issues/341)) ([92c7276](https://github.com/googleapis/java-iam/commit/92c72768d6ea7715da121c5504b95e598de770a0)) + ### [1.3.3](https://github.com/googleapis/java-iam/compare/v1.3.2...v1.3.3) (2022-04-22) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index beb07470ed1e..d73b41b63619 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.3.4-SNAPSHOT + 1.3.4 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.4-SNAPSHOT + 1.3.4 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e1c6424eb0b0..f6626b216606 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.4-SNAPSHOT + 1.3.4 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.4-SNAPSHOT + 1.3.4 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7550c578c137..3b19ab778cd5 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.3.4-SNAPSHOT + 1.3.4 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.4-SNAPSHOT + 1.3.4 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index bab1c189be0f..f7eebfcacc7b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.3:1.3.4-SNAPSHOT -grpc-google-iam-v1:1.3.3:1.3.4-SNAPSHOT +proto-google-iam-v1:1.3.4:1.3.4 +grpc-google-iam-v1:1.3.4:1.3.4 From f86ceba71e92389118ee95148f82f76391632395 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 10 May 2022 18:22:17 +0000 Subject: [PATCH 2251/3036] chore(main): release 1.3.5-SNAPSHOT (#346) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index d73b41b63619..cd144b282751 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.3.4 + 1.3.5-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.4 + 1.3.5-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f6626b216606..512317a0bedc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.4 + 1.3.5-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.4 + 1.3.5-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 3b19ab778cd5..3e514244f7b8 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.3.4 + 1.3.5-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.4 + 1.3.5-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index f7eebfcacc7b..24d71235f9a6 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.4:1.3.4 -grpc-google-iam-v1:1.3.4:1.3.4 +proto-google-iam-v1:1.3.4:1.3.5-SNAPSHOT +grpc-google-iam-v1:1.3.4:1.3.5-SNAPSHOT From d1d886d60798051845037821171fc1d505b3fe7e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 May 2022 20:17:56 +0200 Subject: [PATCH 2252/3036] deps: update dependency com.google.api:gax-bom to v2.17.0 (#826) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 02765c193921..22a2bc4e0728 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.16.0 + 2.17.0 2.1.5 2.8.3 1.3.3 From 4b651509da028e3f03c5a1276107f97aa65c6281 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 May 2022 20:18:31 +0200 Subject: [PATCH 2253/3036] deps: update gax.version to v2.17.0 (#687) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a67f968b6e52..8119465cc6b2 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.46.0 - 2.16.0 + 2.17.0 1.1.0 31.1-jre 3.20.1 From 8f907db35199f1b3d551e86cd3375011fa551a64 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 May 2022 20:20:20 +0200 Subject: [PATCH 2254/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 (#825) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 22a2bc4e0728..b2a008e482d7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.17.0 2.1.5 2.8.3 - 1.3.3 + 1.3.4 1.6.0 1.34.1 1.41.8 From b860cafe9f98991e32e7c027e18927b210aef582 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 12 May 2022 20:22:09 +0200 Subject: [PATCH 2255/3036] deps: update iam.version to v1.3.4 (#686) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 8119465cc6b2..54afc9bdb323 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.8 1.33.3 1.34.1 - 1.3.3 + 1.3.4 From 967b87af1ce1e331f557a6e8b81ea58a43bea872 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 13 May 2022 19:44:11 +0000 Subject: [PATCH 2256/3036] chore(main): release 2.10.1-SNAPSHOT (#670) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index ee2e77ef7b98..a7ba5ad2032b 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 - 2.10.0 + 2.10.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.10.0 + 2.10.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 54afc9bdb323..a34d0cfae8fd 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 - 2.10.0 + 2.10.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 79902daaca75..99af2d1ce0f1 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 - 2.10.0 + 2.10.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.10.0 + 2.10.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.10.0 + 2.10.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 3da56dd4490b..bc9cb53df06f 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 - 2.10.0 + 2.10.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 7c9e50bc6d5e..8ad9acd5b3b8 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 - 2.10.0 + 2.10.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.10.0 + 2.10.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 6ae035e2467a..9984550c3698 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.10.0:2.10.0 \ No newline at end of file +google-cloud-shared-dependencies:2.10.0:2.10.1-SNAPSHOT \ No newline at end of file From 1bcea0ed1291cb6f58d99c6eeca7f05a72b49169 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 16 May 2022 19:48:12 +0200 Subject: [PATCH 2257/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 (#689) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.fasterxml.jackson:jackson-bom](https://togithub.com/FasterXML/jackson-bom) | `2.13.2.20220328` -> `2.13.3` | [![age](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.3/compatibility-slim/2.13.2.20220328)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.3/confidence-slim/2.13.2.20220328)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index bc9cb53df06f..329c98944527 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 0.31.1 3.0.2 2.13.1 - 2.13.2.20220328 + 2.13.3 1.15 4.4.15 4.5.13 From 0e53f0cd3969b2f5a1f8d757a664818f82132770 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 17:23:36 +0200 Subject: [PATCH 2258/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.7.0 (#828) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b2a008e482d7..ea067456119a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.1.5 2.8.3 1.3.4 - 1.6.0 + 1.7.0 1.34.1 1.41.8 1.46.0 From 067f7b9844291b3cc4b391abf3078d18a3f7fec2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 19:10:15 +0200 Subject: [PATCH 2259/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.7.0 (#691) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.6.0` -> `1.7.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.7.0/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.7.0/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.7.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​170-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev160v170-2022-05-12) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.6.0...v1.7.0) ##### Features - Add ability to provide PrivateKey as Pkcs8 encoded string [#​883](https://togithub.com/googleapis/google-auth-library-java/issues/883) ([#​889](https://togithub.com/googleapis/google-auth-library-java/issues/889)) ([e0d6996](https://togithub.com/googleapis/google-auth-library-java/commit/e0d6996ac0db1bf75d92e5aba3eaab512affafe4)) - Add iam endpoint override to ImpersonatedCredentials ([#​910](https://togithub.com/googleapis/google-auth-library-java/issues/910)) ([97bfc4c](https://togithub.com/googleapis/google-auth-library-java/commit/97bfc4c8ceb199e775784ac3ed4fa992d4d2dcbf)) ##### Bug Fixes - update branding in ExternalAccountCredentials ([#​893](https://togithub.com/googleapis/google-auth-library-java/issues/893)) ([0200dbb](https://togithub.com/googleapis/google-auth-library-java/commit/0200dbb05cff06a333879cf99bac64adaada3239))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a34d0cfae8fd..74c411e0461f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.1.5 2.8.3 2.6.1 - 1.6.0 + 1.7.0 1.41.8 1.33.3 1.34.1 From d5e85713367c4369c84a0a4e527404c210d173d5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 19:19:39 +0200 Subject: [PATCH 2260/3036] deps: update dependency com.google.api:api-common to v2.2.0 (#690) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 74c411e0461f..f7f53f2e6cd3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 31.1-jre 3.20.1 - 2.1.5 + 2.2.0 2.8.3 2.6.1 1.7.0 From fa4a5dbdac501eae696d9a10f1d3732ca6bbef10 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 21:21:11 +0200 Subject: [PATCH 2261/3036] deps: update dependency com.google.api:api-common to v2.2.0 (#827) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ea067456119a..82d69af81c24 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.17.0 - 2.1.5 + 2.2.0 2.8.3 1.3.4 1.7.0 From 355dd4a1338ab203bee393ef5c73410dcfeeee1b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 21:26:15 +0200 Subject: [PATCH 2262/3036] deps: update dependency com.google.api:gax-bom to v2.18.0 (#829) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.17.0` -> `2.18.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/compatibility-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/confidence-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.18.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2180-httpsgithubcomgoogleapisgax-javacomparev2170v2180-2022-05-18) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.17.0...v2.18.0) ##### Features - \[REGAPIC] Add support for additional bindings ([#​1680](https://togithub.com/googleapis/gax-java/issues/1680)) ([59b3699](https://togithub.com/googleapis/gax-java/commit/59b3699b6acbc98c55dc043bf8665b457a0615a9)) - upgrade graal-sdk to 22.1.0 ([#​1683](https://togithub.com/googleapis/gax-java/issues/1683)) ([46f899d](https://togithub.com/googleapis/gax-java/commit/46f899de06e60a792f5a6c1dc617673f0f180c00)) ##### Bug Fixes - **java:** remove conflicting reflection configuration to address UnsupportedFeatureException with GraalVM 22.1.0 ([#​1682](https://togithub.com/googleapis/gax-java/issues/1682)) ([97c6c8b](https://togithub.com/googleapis/gax-java/commit/97c6c8bfa0d5397e30d3699e92f823e09ee283e6)) - remove svm dependency ([#​1679](https://togithub.com/googleapis/gax-java/issues/1679)) ([c1b88e3](https://togithub.com/googleapis/gax-java/commit/c1b88e3788ab866bcc1ba3db94c2998198a0b35e)) ##### Dependencies - update dependency com.google.api:api-common to 2.2.0 ([#​1685](https://togithub.com/googleapis/gax-java/issues/1685)) ([a5a316b](https://togithub.com/googleapis/gax-java/commit/a5a316bde322733eb5a80093206eb12b36945580))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 82d69af81c24..de67c1bcfc01 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.17.0 + 2.18.0 2.2.0 2.8.3 1.3.4 From e453afe4c71261e5f2d1c2960bae44f84dea36ed Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 18 May 2022 19:44:15 +0000 Subject: [PATCH 2263/3036] chore(main): release 2.7.0 (#809) :robot: I have created a release *beep* *boop* --- ## [2.7.0](https://github.com/googleapis/java-core/compare/v2.6.1...v2.7.0) (2022-05-18) ### Features * **java:** remove native-image-support module ([#820](https://github.com/googleapis/java-core/issues/820)) ([b827e0a](https://github.com/googleapis/java-core/commit/b827e0ae8ed56ac739d8b21f81719e8d6fc4a012)) * next release from main branch is 2.7.0 ([#807](https://github.com/googleapis/java-core/issues/807)) ([2145212](https://github.com/googleapis/java-core/commit/2145212558a47d2f26e44eccbe525a320fa8c900)) ### Bug Fixes * remove native-image-support module from version.txt ([#822](https://github.com/googleapis/java-core/issues/822)) ([8285eee](https://github.com/googleapis/java-core/commit/8285eee0259b9cdade16afe712148be4367d402b)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#823](https://github.com/googleapis/java-core/issues/823)) ([58aac09](https://github.com/googleapis/java-core/commit/58aac09bbc9dcf5f642934b6d4edee07a6618f22)) * update dependency com.google.api:api-common to v2.2.0 ([#827](https://github.com/googleapis/java-core/issues/827)) ([fa4a5db](https://github.com/googleapis/java-core/commit/fa4a5dbdac501eae696d9a10f1d3732ca6bbef10)) * update dependency com.google.api:gax-bom to v2.17.0 ([#826](https://github.com/googleapis/java-core/issues/826)) ([d1d886d](https://github.com/googleapis/java-core/commit/d1d886d60798051845037821171fc1d505b3fe7e)) * update dependency com.google.api:gax-bom to v2.18.0 ([#829](https://github.com/googleapis/java-core/issues/829)) ([355dd4a](https://github.com/googleapis/java-core/commit/355dd4a1338ab203bee393ef5c73410dcfeeee1b)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 ([#805](https://github.com/googleapis/java-core/issues/805)) ([c5b4893](https://github.com/googleapis/java-core/commit/c5b489366fda402829ea7fbb60ad397bf7a56eec)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 ([#814](https://github.com/googleapis/java-core/issues/814)) ([9621659](https://github.com/googleapis/java-core/commit/9621659b56653ba671b0ee49cada4eaea079f80f)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 ([#825](https://github.com/googleapis/java-core/issues/825)) ([8f907db](https://github.com/googleapis/java-core/commit/8f907db35199f1b3d551e86cd3375011fa551a64)) * update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#828](https://github.com/googleapis/java-core/issues/828)) ([0e53f0c](https://github.com/googleapis/java-core/commit/0e53f0cd3969b2f5a1f8d757a664818f82132770)) * update dependency com.google.cloud:native-image-support to v0.14.0 ([#824](https://github.com/googleapis/java-core/issues/824)) ([bbeb567](https://github.com/googleapis/java-core/commit/bbeb567c0023492c2d73a6a4135c81e02a780248)) * update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#806](https://github.com/googleapis/java-core/issues/806)) ([c4d3e17](https://github.com/googleapis/java-core/commit/c4d3e17291ea446ed4211e4e31f519b279bed460)) * update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#821](https://github.com/googleapis/java-core/issues/821)) ([8c747e1](https://github.com/googleapis/java-core/commit/8c747e175f9497873ea16e1a10c28f457f1173f8)) * update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#813](https://github.com/googleapis/java-core/issues/813)) ([f259b41](https://github.com/googleapis/java-core/commit/f259b413c18e1c70c9c2ef019bf45151c7868c24)) * update dependency io.grpc:grpc-bom to v1.46.0 ([#815](https://github.com/googleapis/java-core/issues/815)) ([2dc7507](https://github.com/googleapis/java-core/commit/2dc7507eb52c398ec13e8c70c2938c3634809d0b)) * update opencensus.version to v0.31.1 ([#819](https://github.com/googleapis/java-core/issues/819)) ([96982b0](https://github.com/googleapis/java-core/commit/96982b005513a6123dd843450b978b428404dd43)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 31 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 +++--- java-core/google-cloud-core-grpc/pom.xml | 4 +-- java-core/google-cloud-core-http/pom.xml | 4 +-- java-core/google-cloud-core/pom.xml | 4 +-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 43 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 1d7871b9fbef..df3f6c30cde9 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [2.7.0](https://github.com/googleapis/java-core/compare/v2.6.1...v2.7.0) (2022-05-18) + + +### Features + +* **java:** remove native-image-support module ([#820](https://github.com/googleapis/java-core/issues/820)) ([a53ef6d](https://github.com/googleapis/java-core/commit/a53ef6d7ba05eeba82998378455f0aea58f24381)) +* next release from main branch is 2.7.0 ([#807](https://github.com/googleapis/java-core/issues/807)) ([5a2c608](https://github.com/googleapis/java-core/commit/5a2c608e375d15ec83ca71232627bce1f167e750)) + + +### Bug Fixes + +* remove native-image-support module from version.txt ([#822](https://github.com/googleapis/java-core/issues/822)) ([92e7efc](https://github.com/googleapis/java-core/commit/92e7efc4974911f7ce30021a280c9002a44dab47)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#823](https://github.com/googleapis/java-core/issues/823)) ([71105c6](https://github.com/googleapis/java-core/commit/71105c64918d6444e321fa3de5fc402e577ebc7d)) +* update dependency com.google.api:api-common to v2.2.0 ([#827](https://github.com/googleapis/java-core/issues/827)) ([05a02d6](https://github.com/googleapis/java-core/commit/05a02d6b16cb06b9f1dea0814912e5a32913fca8)) +* update dependency com.google.api:gax-bom to v2.17.0 ([#826](https://github.com/googleapis/java-core/issues/826)) ([c90188e](https://github.com/googleapis/java-core/commit/c90188e9a94ae71d71105d908173f1bd7e77c1cb)) +* update dependency com.google.api:gax-bom to v2.18.0 ([#829](https://github.com/googleapis/java-core/issues/829)) ([5537e7f](https://github.com/googleapis/java-core/commit/5537e7f80d5db94038b24a393e310120fab62e8c)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.2 ([#805](https://github.com/googleapis/java-core/issues/805)) ([493ac03](https://github.com/googleapis/java-core/commit/493ac038d3ca9f603cd47969fde0da68a1f9bfd0)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.3 ([#814](https://github.com/googleapis/java-core/issues/814)) ([e809baa](https://github.com/googleapis/java-core/commit/e809baa69672d3eca2dc348f55615dc072a8fbe3)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.3.4 ([#825](https://github.com/googleapis/java-core/issues/825)) ([5ce12ee](https://github.com/googleapis/java-core/commit/5ce12ee0c10e2bdb5981e6ca02966d7eb802ca6c)) +* update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#828](https://github.com/googleapis/java-core/issues/828)) ([2abca2c](https://github.com/googleapis/java-core/commit/2abca2c135ba2337d546d5c97bcdd5901e91301a)) +* update dependency com.google.cloud:native-image-support to v0.14.0 ([#824](https://github.com/googleapis/java-core/issues/824)) ([997a34a](https://github.com/googleapis/java-core/commit/997a34a15a59bb1818fff3d1fbce195a05d12da3)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#806](https://github.com/googleapis/java-core/issues/806)) ([9fc5811](https://github.com/googleapis/java-core/commit/9fc5811eae52288acd9fb0b967e5737848fe7c5e)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#821](https://github.com/googleapis/java-core/issues/821)) ([c7e3d6e](https://github.com/googleapis/java-core/commit/c7e3d6ef437d9f85dab450b54d63f7218b89788b)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#813](https://github.com/googleapis/java-core/issues/813)) ([a9c8c92](https://github.com/googleapis/java-core/commit/a9c8c92086c0266e14f86a957944c0cc4ab26ee6)) +* update dependency io.grpc:grpc-bom to v1.46.0 ([#815](https://github.com/googleapis/java-core/issues/815)) ([03c9bfe](https://github.com/googleapis/java-core/commit/03c9bfe4210a6c3995adf89be28b7c8aab402fb3)) +* update opencensus.version to v0.31.1 ([#819](https://github.com/googleapis/java-core/issues/819)) ([1800d3a](https://github.com/googleapis/java-core/commit/1800d3aa3ff7315947681b648f822f2cf9656a3b)) + ### [2.6.1](https://github.com/googleapis/java-core/compare/v2.6.0...v2.6.1) (2022-04-14) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 9e38ed4fd7a4..9f907f9ead77 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.6.2-SNAPSHOT + 2.7.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.6.2-SNAPSHOT + 2.7.0 com.google.cloud google-cloud-core-grpc - 2.6.2-SNAPSHOT + 2.7.0 com.google.cloud google-cloud-core-http - 2.6.2-SNAPSHOT + 2.7.0 com.google.cloud diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index cb17f20534be..31cb74ba13b3 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.6.2-SNAPSHOT + 2.7.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.2-SNAPSHOT + 2.7.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 9579a01a93cf..3df47c4c8426 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.6.2-SNAPSHOT + 2.7.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.2-SNAPSHOT + 2.7.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a595bad16b6e..e9c60d282f5c 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.6.2-SNAPSHOT + 2.7.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.6.2-SNAPSHOT + 2.7.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index de67c1bcfc01..b9192d22e9a9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.6.2-SNAPSHOT + 2.7.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 314c2cab629c..6a17814c274e 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.6.1:2.6.2-SNAPSHOT +google-cloud-core:2.7.0:2.7.0 From 3c2629b411637a65f5a72f1f9b098a330da5fcf3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 18 May 2022 19:52:17 +0000 Subject: [PATCH 2264/3036] chore(main): release 2.7.1-SNAPSHOT (#830) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 9f907f9ead77..04aa877de7fc 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.7.0 + 2.7.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.7.0 + 2.7.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.7.0 + 2.7.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.7.0 + 2.7.1-SNAPSHOT com.google.cloud diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 31cb74ba13b3..a9018769af66 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.7.0 + 2.7.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.0 + 2.7.1-SNAPSHOT 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 3df47c4c8426..aeabe194dcb3 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.7.0 + 2.7.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.0 + 2.7.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e9c60d282f5c..c3908b5b3a96 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.7.0 + 2.7.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.0 + 2.7.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b9192d22e9a9..0f6c4ac1d9ad 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.7.0 + 2.7.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6a17814c274e..82f2fe182e27 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.7.0:2.7.0 +google-cloud-core:2.7.0:2.7.1-SNAPSHOT From d3a6ece679cc5d8062c0959f00413bdaf168075c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 23:02:14 +0200 Subject: [PATCH 2265/3036] deps: update google.core.version to v2.7.0 (#693) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f7f53f2e6cd3..f59ea554ef77 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.20.1 2.2.0 2.8.3 - 2.6.1 + 2.7.0 1.7.0 1.41.8 1.33.3 From f18503fb09f4e5f6e16ecedc381a76d4911b29fe Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 18 May 2022 23:02:16 +0200 Subject: [PATCH 2266/3036] deps: update gax.version to v2.18.0 (#692) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.17.0` -> `2.18.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.0/compatibility-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.0/confidence-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.17.0` -> `2.18.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/compatibility-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.0/confidence-slim/2.17.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.18.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2180-httpsgithubcomgoogleapisgax-javacomparev2170v2180-2022-05-18) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.17.0...v2.18.0) ##### Features - \[REGAPIC] Add support for additional bindings ([#​1680](https://togithub.com/googleapis/gax-java/issues/1680)) ([59b3699](https://togithub.com/googleapis/gax-java/commit/59b3699b6acbc98c55dc043bf8665b457a0615a9)) - upgrade graal-sdk to 22.1.0 ([#​1683](https://togithub.com/googleapis/gax-java/issues/1683)) ([46f899d](https://togithub.com/googleapis/gax-java/commit/46f899de06e60a792f5a6c1dc617673f0f180c00)) ##### Bug Fixes - **java:** remove conflicting reflection configuration to address UnsupportedFeatureException with GraalVM 22.1.0 ([#​1682](https://togithub.com/googleapis/gax-java/issues/1682)) ([97c6c8b](https://togithub.com/googleapis/gax-java/commit/97c6c8bfa0d5397e30d3699e92f823e09ee283e6)) - remove svm dependency ([#​1679](https://togithub.com/googleapis/gax-java/issues/1679)) ([c1b88e3](https://togithub.com/googleapis/gax-java/commit/c1b88e3788ab866bcc1ba3db94c2998198a0b35e)) ##### Dependencies - update dependency com.google.api:api-common to 2.2.0 ([#​1685](https://togithub.com/googleapis/gax-java/issues/1685)) ([a5a316b](https://togithub.com/googleapis/gax-java/commit/a5a316bde322733eb5a80093206eb12b36945580))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f59ea554ef77..866c7afce81b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.46.0 - 2.17.0 + 2.18.0 1.1.0 31.1-jre 3.20.1 From e9300fea043e45d1f1402d3824b61c6dfb3bd364 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 18 May 2022 21:10:14 +0000 Subject: [PATCH 2267/3036] chore(main): release 2.11.0 (#688) :robot: I have created a release *beep* *boop* --- ## [2.11.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0) (2022-05-18) ### Features * next release from main branch is 2.11.0 ([#674](https://github.com/googleapis/java-shared-dependencies/issues/674)) ([323a20c](https://github.com/googleapis/java-shared-dependencies/commit/323a20c559b9140584b47b8e6a09ef821235db28)) ### Dependencies * update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://github.com/googleapis/java-shared-dependencies/issues/689)) ([1bcea0e](https://github.com/googleapis/java-shared-dependencies/commit/1bcea0ed1291cb6f58d99c6eeca7f05a72b49169)) * update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://github.com/googleapis/java-shared-dependencies/issues/685)) ([82ea316](https://github.com/googleapis/java-shared-dependencies/commit/82ea316b52083c4bd47b20b15ca068236a6e6824)) * update dependency com.google.api:api-common to v2.2.0 ([#690](https://github.com/googleapis/java-shared-dependencies/issues/690)) ([d5e8571](https://github.com/googleapis/java-shared-dependencies/commit/d5e85713367c4369c84a0a4e527404c210d173d5)) * update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://github.com/googleapis/java-shared-dependencies/issues/691)) ([067f7b9](https://github.com/googleapis/java-shared-dependencies/commit/067f7b9844291b3cc4b391abf3078d18a3f7fec2)) * update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://github.com/googleapis/java-shared-dependencies/issues/672)) ([11311c4](https://github.com/googleapis/java-shared-dependencies/commit/11311c41994016f50f58713a96a29647c2041d76)) * update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://github.com/googleapis/java-shared-dependencies/issues/684)) ([5153a98](https://github.com/googleapis/java-shared-dependencies/commit/5153a98c16ea0c74f640dee1e67c67847cb70a3c)) * update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://github.com/googleapis/java-shared-dependencies/issues/678)) ([3d3a224](https://github.com/googleapis/java-shared-dependencies/commit/3d3a224e70a408fad636b417fc8269b304d5a503)) * update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://github.com/googleapis/java-shared-dependencies/issues/680)) ([00f5d4a](https://github.com/googleapis/java-shared-dependencies/commit/00f5d4aaef56825d974c3ac9d4c30793c4840505)) * update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://github.com/googleapis/java-shared-dependencies/issues/683)) ([275a37e](https://github.com/googleapis/java-shared-dependencies/commit/275a37e9b19123d343ef8eb858c281e388ecea20)) * update gax.version to v2.17.0 ([#687](https://github.com/googleapis/java-shared-dependencies/issues/687)) ([4b65150](https://github.com/googleapis/java-shared-dependencies/commit/4b651509da028e3f03c5a1276107f97aa65c6281)) * update gax.version to v2.18.0 ([#692](https://github.com/googleapis/java-shared-dependencies/issues/692)) ([f18503f](https://github.com/googleapis/java-shared-dependencies/commit/f18503fb09f4e5f6e16ecedc381a76d4911b29fe)) * update google.core.version to v2.6.1 ([#671](https://github.com/googleapis/java-shared-dependencies/issues/671)) ([a1bb345](https://github.com/googleapis/java-shared-dependencies/commit/a1bb34547b008d5214e9257664996c3892c17796)) * update google.core.version to v2.7.0 ([#693](https://github.com/googleapis/java-shared-dependencies/issues/693)) ([d3a6ece](https://github.com/googleapis/java-shared-dependencies/commit/d3a6ece679cc5d8062c0959f00413bdaf168075c)) * update iam.version to v1.3.2 ([#673](https://github.com/googleapis/java-shared-dependencies/issues/673)) ([9d01376](https://github.com/googleapis/java-shared-dependencies/commit/9d01376493604b458aa2ef9c15ab645b8d834aac)) * update iam.version to v1.3.3 ([#679](https://github.com/googleapis/java-shared-dependencies/issues/679)) ([27ee2b3](https://github.com/googleapis/java-shared-dependencies/commit/27ee2b378c0180d04075d129d92880442d26e1f4)) * update iam.version to v1.3.4 ([#686](https://github.com/googleapis/java-shared-dependencies/issues/686)) ([b860caf](https://github.com/googleapis/java-shared-dependencies/commit/b860cafe9f98991e32e7c027e18927b210aef582)) * update opencensus.version to v0.31.1 ([#682](https://github.com/googleapis/java-shared-dependencies/issues/682)) ([1d0832c](https://github.com/googleapis/java-shared-dependencies/commit/1d0832c9b3090ec92f6183e3b7a1bdd58b0ec42f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 28 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 +-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++-- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 38 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 7fc56c364ad5..ac9020532e74 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## [2.11.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0) (2022-05-18) + + +### Features + +* next release from main branch is 2.11.0 ([#674](https://github.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://github.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5)) + + +### Dependencies + +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://github.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://github.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://github.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://github.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5)) +* update dependency com.google.api:api-common to v2.2.0 ([#690](https://github.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://github.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6)) +* update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://github.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://github.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://github.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://github.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://github.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://github.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://github.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://github.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84)) +* update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://github.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://github.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be)) +* update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://github.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://github.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e)) +* update gax.version to v2.17.0 ([#687](https://github.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://github.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621)) +* update gax.version to v2.18.0 ([#692](https://github.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://github.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810)) +* update google.core.version to v2.6.1 ([#671](https://github.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://github.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90)) +* update google.core.version to v2.7.0 ([#693](https://github.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://github.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c)) +* update iam.version to v1.3.2 ([#673](https://github.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://github.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c)) +* update iam.version to v1.3.3 ([#679](https://github.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://github.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1)) +* update iam.version to v1.3.4 ([#686](https://github.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://github.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473)) +* update opencensus.version to v0.31.1 ([#682](https://github.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://github.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3)) + ## [2.10.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.9.0...v2.10.0) (2022-04-15) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index a7ba5ad2032b..5e4391292595 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 - 2.10.1-SNAPSHOT + 2.11.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.10.1-SNAPSHOT + 2.11.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 866c7afce81b..cb9bddb8e0cd 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 - 2.10.1-SNAPSHOT + 2.11.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 99af2d1ce0f1..bcb5783475b6 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 - 2.10.1-SNAPSHOT + 2.11.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.10.1-SNAPSHOT + 2.11.0 pom import com.google.cloud third-party-dependencies - 2.10.1-SNAPSHOT + 2.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 329c98944527..a023bd0d2a8a 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 - 2.10.1-SNAPSHOT + 2.11.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 8ad9acd5b3b8..b635fde6b85e 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 - 2.10.1-SNAPSHOT + 2.11.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.10.1-SNAPSHOT + 2.11.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 9984550c3698..72de04873df6 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.10.0:2.10.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.11.0:2.11.0 \ No newline at end of file From b5fbbe4ecd528a28bbd51e58dcece1ef439da012 Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Wed, 18 May 2022 23:04:14 -0400 Subject: [PATCH 2268/3036] chore: remove native-image-support from bom (#832) The module itself has been removed in #820. --- java-core/google-cloud-core-bom/pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 04aa877de7fc..273dd35a2b64 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -75,11 +75,6 @@ google-cloud-core-http 2.7.1-SNAPSHOT
    - - com.google.cloud - native-image-support - 0.14.0 -
    From c7a2a9bb02e79ce5e9701147816037e907659a98 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 May 2022 16:07:21 +0200 Subject: [PATCH 2269/3036] deps: update dependency com.google.api:gax-bom to v2.18.1 (#833) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0f6c4ac1d9ad..623e49cf5286 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.0 + 2.18.1 2.2.0 2.8.3 1.3.4 From ab49d4faecf27f4b2642b771c79a6586772ff488 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 May 2022 16:10:06 +0200 Subject: [PATCH 2270/3036] deps: update gax.version to v2.18.1 (#695) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index cb9bddb8e0cd..b5c61c9229b1 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.46.0 - 2.18.0 + 2.18.1 1.1.0 31.1-jre 3.20.1 From 781cb09628b650680ccdc1a92d056aec4dff0bfc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 14:16:12 +0000 Subject: [PATCH 2271/3036] chore(main): release 2.11.1-SNAPSHOT (#694) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 5e4391292595..94f5901a15c4 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 - 2.11.0 + 2.11.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.11.0 + 2.11.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b5c61c9229b1..939e81411d9d 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 - 2.11.0 + 2.11.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index bcb5783475b6..3c6b8b872180 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 - 2.11.0 + 2.11.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.11.0 + 2.11.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.11.0 + 2.11.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a023bd0d2a8a..0113f5d3a423 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 - 2.11.0 + 2.11.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index b635fde6b85e..55b46b69e0a7 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 - 2.11.0 + 2.11.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.11.0 + 2.11.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 72de04873df6..4baf6a06b8dd 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.11.0:2.11.0 \ No newline at end of file +google-cloud-shared-dependencies:2.11.0:2.11.1-SNAPSHOT \ No newline at end of file From 4a44407b75ff268cf402fb58c86233420b77bc60 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 14:38:12 +0000 Subject: [PATCH 2272/3036] chore(main): release 2.7.1 (#834) :robot: I have created a release *beep* *boop* --- ### [2.7.1](https://github.com/googleapis/java-core/compare/v2.7.0...v2.7.1) (2022-05-19) ### Dependencies * update dependency com.google.api:gax-bom to v2.18.1 ([#833](https://github.com/googleapis/java-core/issues/833)) ([c7a2a9b](https://github.com/googleapis/java-core/commit/c7a2a9bb02e79ce5e9701147816037e907659a98)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index df3f6c30cde9..36fd5e5d4a57 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.7.1](https://github.com/googleapis/java-core/compare/v2.7.0...v2.7.1) (2022-05-19) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.18.1 ([#833](https://github.com/googleapis/java-core/issues/833)) ([7541115](https://github.com/googleapis/java-core/commit/7541115095e0ae28d938a4c9621fd0f82892fe55)) + ## [2.7.0](https://github.com/googleapis/java-core/compare/v2.6.1...v2.7.0) (2022-05-18) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 273dd35a2b64..a7cbe104b298 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.7.1-SNAPSHOT + 2.7.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.7.1-SNAPSHOT + 2.7.1 com.google.cloud google-cloud-core-grpc - 2.7.1-SNAPSHOT + 2.7.1 com.google.cloud google-cloud-core-http - 2.7.1-SNAPSHOT + 2.7.1
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a9018769af66..df867c7cf94e 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.7.1-SNAPSHOT + 2.7.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.1-SNAPSHOT + 2.7.1 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 aeabe194dcb3..339a43bfcb6b 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.7.1-SNAPSHOT + 2.7.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.1-SNAPSHOT + 2.7.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c3908b5b3a96..efc10e108ef4 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.7.1-SNAPSHOT + 2.7.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.1-SNAPSHOT + 2.7.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 623e49cf5286..dcdac0c5af3b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.7.1-SNAPSHOT + 2.7.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 82f2fe182e27..56d0a30fc731 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.7.0:2.7.1-SNAPSHOT +google-cloud-core:2.7.1:2.7.1 From a9ccb4b45a4f8eea81d27660928cfa10025f121b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 14:44:11 +0000 Subject: [PATCH 2273/3036] chore(main): release 2.7.2-SNAPSHOT (#835) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a7cbe104b298..150e1f37bccd 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.7.1 + 2.7.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.7.1 + 2.7.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.7.1 + 2.7.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.7.1 + 2.7.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index df867c7cf94e..2c0438fb70a5 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.7.1 + 2.7.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.1 + 2.7.2-SNAPSHOT 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 339a43bfcb6b..fc2e5e57ecb5 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.7.1 + 2.7.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.1 + 2.7.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index efc10e108ef4..ddf8bfdb45f1 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.7.1 + 2.7.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.1 + 2.7.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index dcdac0c5af3b..01cc2f4b2051 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.7.1 + 2.7.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 56d0a30fc731..2488da280499 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.7.1:2.7.1 +google-cloud-core:2.7.1:2.7.2-SNAPSHOT From 2e0c6e2e2ee3558581172ef165bb11929f5340d2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 May 2022 18:16:13 +0200 Subject: [PATCH 2274/3036] deps: update google.core.version to v2.7.1 (#698) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.7.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.7.1/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.7.0` -> `2.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.7.1/compatibility-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.7.1/confidence-slim/2.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.7.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​271-httpsgithubcomgoogleapisjava-corecomparev270v271-2022-05-19) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.7.0...v2.7.1)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 939e81411d9d..5da7bc755a87 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.20.1 2.2.0 2.8.3 - 2.7.0 + 2.7.1 1.7.0 1.41.8 1.33.3 From f0d27953051f806c1ef68bef69354bca1ed9c014 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 16:52:11 +0000 Subject: [PATCH 2275/3036] feat: add build scripts for native image testing in Java 17 (#1440) (#697) Source-Link: https://github.com/googleapis/synthtool/commit/505ce5a7edb58bf6d9d4de10b4bb4e81000ae324 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 --- .../.github/.OwlBot.lock.yaml | 4 +-- java-shared-dependencies/.kokoro/build.sh | 5 +++ .../.kokoro/presubmit/graalvm-native-17.cfg | 33 +++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index f60d774937f6..a79f06271b60 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 -# created: 2022-04-06T16:30:03.627422514Z + digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 +# created: 2022-05-19T15:12:45.278246753Z diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh index 4ae1bcd4002d..bdb8b97a16ac 100755 --- a/java-shared-dependencies/.kokoro/build.sh +++ b/java-shared-dependencies/.kokoro/build.sh @@ -74,6 +74,11 @@ graalvm) mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; +graalvm17) + # Run Unit and Integration Tests with Native Image + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg b/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg new file mode 100644 index 000000000000..a3f7fb9d4943 --- /dev/null +++ b/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm17" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} \ No newline at end of file From 8306d8b507df77842023635e1b1f641af9fe4a3f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 18:10:12 +0000 Subject: [PATCH 2276/3036] chore(main): release 2.12.0 (#696) :robot: I have created a release *beep* *boop* --- ## [2.12.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0) (2022-05-19) ### Features * add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://github.com/googleapis/java-shared-dependencies/issues/697)) ([f0d2795](https://github.com/googleapis/java-shared-dependencies/commit/f0d27953051f806c1ef68bef69354bca1ed9c014)) ### Dependencies * update gax.version to v2.18.1 ([#695](https://github.com/googleapis/java-shared-dependencies/issues/695)) ([ab49d4f](https://github.com/googleapis/java-shared-dependencies/commit/ab49d4faecf27f4b2642b771c79a6586772ff488)) * update google.core.version to v2.7.1 ([#698](https://github.com/googleapis/java-shared-dependencies/issues/698)) ([2e0c6e2](https://github.com/googleapis/java-shared-dependencies/commit/2e0c6e2e2ee3558581172ef165bb11929f5340d2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 13 +++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 23 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index ac9020532e74..5df5d8e64a6b 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [2.12.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0) (2022-05-19) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://github.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://github.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0)) + + +### Dependencies + +* update gax.version to v2.18.1 ([#695](https://github.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://github.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e)) +* update google.core.version to v2.7.1 ([#698](https://github.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://github.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449)) + ## [2.11.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0) (2022-05-18) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 94f5901a15c4..35e5d7df67ee 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 - 2.11.1-SNAPSHOT + 2.12.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.11.1-SNAPSHOT + 2.12.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5da7bc755a87..df16e1c4baa7 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 - 2.11.1-SNAPSHOT + 2.12.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3c6b8b872180..75fb74521ca0 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 - 2.11.1-SNAPSHOT + 2.12.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.11.1-SNAPSHOT + 2.12.0 pom import com.google.cloud third-party-dependencies - 2.11.1-SNAPSHOT + 2.12.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 0113f5d3a423..5192b4dde699 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 - 2.11.1-SNAPSHOT + 2.12.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 55b46b69e0a7..83e86caaa772 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 - 2.11.1-SNAPSHOT + 2.12.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.11.1-SNAPSHOT + 2.12.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 4baf6a06b8dd..bbccf69b4ab5 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.11.0:2.11.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.12.0:2.12.0 \ No newline at end of file From 994cb89a32391a5cd3b6ba00f8126be3259847a0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 19:46:12 +0000 Subject: [PATCH 2277/3036] chore(main): release 2.12.1-SNAPSHOT (#699) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 35e5d7df67ee..0745a5ddaa5d 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 - 2.12.0 + 2.12.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.12.0 + 2.12.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index df16e1c4baa7..03fba71e50db 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 - 2.12.0 + 2.12.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 75fb74521ca0..72b8f8809dc0 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 - 2.12.0 + 2.12.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.12.0 + 2.12.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.12.0 + 2.12.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 5192b4dde699..28f8239f8c7f 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 - 2.12.0 + 2.12.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 83e86caaa772..32453c603d62 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 - 2.12.0 + 2.12.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.12.0 + 2.12.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index bbccf69b4ab5..5c86d9bc32cd 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.12.0:2.12.0 \ No newline at end of file +google-cloud-shared-dependencies:2.12.0:2.12.1-SNAPSHOT \ No newline at end of file From f09a2eb75d41ff953719c49e54897f2e936cb3d4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 20:54:28 +0000 Subject: [PATCH 2278/3036] feat: add build scripts for native image testing in Java 17 (#1440) (#350) Source-Link: https://github.com/googleapis/synthtool/commit/505ce5a7edb58bf6d9d4de10b4bb4e81000ae324 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 --- java-iam/.github/.OwlBot.lock.yaml | 4 +-- java-iam/.kokoro/build.sh | 5 +++ .../.kokoro/presubmit/graalvm-native-17.cfg | 33 +++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 java-iam/.kokoro/presubmit/graalvm-native-17.cfg diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index f60d774937f6..a79f06271b60 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 -# created: 2022-04-06T16:30:03.627422514Z + digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 +# created: 2022-05-19T15:12:45.278246753Z diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh index 97c8bb76d21d..80348f95caad 100755 --- a/java-iam/.kokoro/build.sh +++ b/java-iam/.kokoro/build.sh @@ -74,6 +74,11 @@ graalvm) mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; +graalvm17) + # Run Unit and Integration Tests with Native Image + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/java-iam/.kokoro/presubmit/graalvm-native-17.cfg b/java-iam/.kokoro/presubmit/graalvm-native-17.cfg new file mode 100644 index 000000000000..a3f7fb9d4943 --- /dev/null +++ b/java-iam/.kokoro/presubmit/graalvm-native-17.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm17" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} \ No newline at end of file From 49e9b68c64b28feaec56cbafa371bf1a8d365be0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 20:56:20 +0000 Subject: [PATCH 2279/3036] feat: add build scripts for native image testing in Java 17 (#1440) (#836) Source-Link: https://github.com/googleapis/synthtool/commit/505ce5a7edb58bf6d9d4de10b4bb4e81000ae324 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 --- java-core/.github/.OwlBot.lock.yaml | 4 +-- java-core/.kokoro/build.sh | 5 +++ .../.kokoro/presubmit/graalvm-native-17.cfg | 33 +++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 java-core/.kokoro/presubmit/graalvm-native-17.cfg diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index f60d774937f6..a79f06271b60 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 -# created: 2022-04-06T16:30:03.627422514Z + digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 +# created: 2022-05-19T15:12:45.278246753Z diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh index 2d308bf8e8af..c97ff3d4c823 100755 --- a/java-core/.kokoro/build.sh +++ b/java-core/.kokoro/build.sh @@ -74,6 +74,11 @@ graalvm) mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; +graalvm17) + # Run Unit and Integration Tests with Native Image + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/java-core/.kokoro/presubmit/graalvm-native-17.cfg b/java-core/.kokoro/presubmit/graalvm-native-17.cfg new file mode 100644 index 000000000000..a3f7fb9d4943 --- /dev/null +++ b/java-core/.kokoro/presubmit/graalvm-native-17.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm17" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} \ No newline at end of file From 048b766ec108dc7ae4019a5a8667b20c305306d8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 May 2022 22:58:29 +0200 Subject: [PATCH 2280/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 (#349) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.10.0` -> `2.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/compatibility-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/confidence-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.12.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​2120-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2110v2120-2022-05-19) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-shared-dependencies/issues/1440)) ([#​697](https://togithub.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://togithub.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0)) ##### Dependencies - update gax.version to v2.18.1 ([#​695](https://togithub.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://togithub.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e)) - update google.core.version to v2.7.1 ([#​698](https://togithub.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://togithub.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449)) ### [`v2.11.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​2110-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2100v2110-2022-05-18) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0) ##### Features - next release from main branch is 2.11.0 ([#​674](https://togithub.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://togithub.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5)) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#​689](https://togithub.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://togithub.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61)) - update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#​685](https://togithub.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://togithub.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5)) - update dependency com.google.api:api-common to v2.2.0 ([#​690](https://togithub.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://togithub.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6)) - update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#​691](https://togithub.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://togithub.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#​672](https://togithub.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://togithub.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b)) - update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#​684](https://togithub.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://togithub.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e)) - update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#​678](https://togithub.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://togithub.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84)) - update dependency io.grpc:grpc-bom to v1.46.0 ([#​680](https://togithub.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://togithub.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be)) - update dependency org.checkerframework:checker-qual to v3.22.0 ([#​683](https://togithub.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://togithub.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e)) - update gax.version to v2.17.0 ([#​687](https://togithub.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://togithub.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621)) - update gax.version to v2.18.0 ([#​692](https://togithub.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://togithub.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810)) - update google.core.version to v2.6.1 ([#​671](https://togithub.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://togithub.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90)) - update google.core.version to v2.7.0 ([#​693](https://togithub.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://togithub.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c)) - update iam.version to v1.3.2 ([#​673](https://togithub.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://togithub.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c)) - update iam.version to v1.3.3 ([#​679](https://togithub.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://togithub.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1)) - update iam.version to v1.3.4 ([#​686](https://togithub.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://togithub.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473)) - update opencensus.version to v0.31.1 ([#​682](https://togithub.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://togithub.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 512317a0bedc..6421e84deee3 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.10.0 + 2.12.0 pom import From c91fd46e1f7612ca6b4697a3d6ba90025fa9edce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 19 May 2022 23:02:11 +0200 Subject: [PATCH 2281/3036] deps: update dependency com.google.api:api-common to v2.2.0 (#348) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.1.5` -> `2.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.0/compatibility-slim/2.1.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.0/confidence-slim/2.1.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.2.0`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​220-httpsgithubcomgoogleapisapi-common-javacomparev215v220-2022-04-18) ##### Features - next release from main branch is 2.2.0 ([#​355](https://togithub.com/googleapis/api-common-java/issues/355)) ([75f57bc](https://togithub.com/googleapis/api-common-java/commit/75f57bca521495a91fd7e55447c60e2b8955ef06)) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#​350](https://togithub.com/googleapis/api-common-java/issues/350)) ([2e6de4f](https://togithub.com/googleapis/api-common-java/commit/2e6de4f0ce7bbbbbcb066e9986a8d7bd04ab043c)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#​353](https://togithub.com/googleapis/api-common-java/issues/353)) ([2954859](https://togithub.com/googleapis/api-common-java/commit/2954859afe658b07ac76773e056b1b48fe81182b)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#​354](https://togithub.com/googleapis/api-common-java/issues/354)) ([ca94cf9](https://togithub.com/googleapis/api-common-java/commit/ca94cf901e15765d24a5abaaa9707a74f134cfec)) ##### [2.1.5](https://togithub.com/googleapis/api-common-java/compare/v2.1.4...v2.1.5) (2022-03-23) ##### Dependencies - guava 31.1 ([#​346](https://togithub.com/googleapis/api-common-java/issues/346)) ([94ec147](https://togithub.com/googleapis/api-common-java/commit/94ec14787626d64b82197ae541fb152e66dfa442)) - update dependency gradle to v6.9.2 ([#​325](https://togithub.com/googleapis/api-common-java/issues/325)) ([58b33f5](https://togithub.com/googleapis/api-common-java/commit/58b33f5b83583f85a3091c83e1f13771aa7d0a1c)) ##### [2.1.4](https://togithub.com/googleapis/api-common-java/compare/v2.1.3...v2.1.4) (2022-02-07) ##### Bug Fixes - Support delimiters(\_-.~) as start or end characters for a segment ([#​338](https://togithub.com/googleapis/api-common-java/issues/338)) ([b2eba9e](https://togithub.com/googleapis/api-common-java/commit/b2eba9e7497fe13f7132e05a658ca936de5aa9c5)) ##### [2.1.3](https://togithub.com/googleapis/api-common-java/compare/v2.1.2...v2.1.3) (2022-01-25) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#​331](https://togithub.com/googleapis/api-common-java/issues/331)) ([1a1910c](https://togithub.com/googleapis/api-common-java/commit/1a1910c1812375c98212d761034ed300a952f604)) ##### [2.1.2](https://www.github.com/googleapis/api-common-java/compare/v2.1.1...v2.1.2) (2022-01-06) ##### Dependencies - update dependency com.google.auto.value:auto-value to v1.9 ([#​323](https://www.togithub.com/googleapis/api-common-java/issues/323)) ([d8d7084](https://www.github.com/googleapis/api-common-java/commit/d8d708468f134ad0b39bfd8bccf8d7e08a19e7e1)) - update dependency com.google.auto.value:auto-value-annotations to v1.9 ([#​324](https://www.togithub.com/googleapis/api-common-java/issues/324)) ([0c920a4](https://www.github.com/googleapis/api-common-java/commit/0c920a4c5e68cc7b0a05297bf01114d4a231c591)) ##### [2.1.1](https://www.github.com/googleapis/api-common-java/compare/v2.1.0...v2.1.1) (2021-11-10) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#​316](https://www.togithub.com/googleapis/api-common-java/issues/316)) ([99df091](https://www.github.com/googleapis/api-common-java/commit/99df0919c7901948a90cc411fc212468a7754c01))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index b75337532909..52efd4fbc024 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.20.1' - compile 'com.google.api:api-common:2.1.5' + compile 'com.google.api:api-common:2.2.0' compile project(':proto-google-common-protos') } From 47e8229222c71de06084fd210c7d57208b57d0f9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 24 May 2022 03:58:32 +0000 Subject: [PATCH 2282/3036] chore(main): release 1.4.0 (#351) :robot: I have created a release *beep* *boop* --- ## [1.4.0](https://github.com/googleapis/java-iam/compare/v1.3.4...v1.4.0) (2022-05-19) ### Features * add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-iam/issues/1440)) ([#350](https://github.com/googleapis/java-iam/issues/350)) ([f09a2eb](https://github.com/googleapis/java-iam/commit/f09a2eb75d41ff953719c49e54897f2e936cb3d4)) ### Dependencies * update dependency com.google.api:api-common to v2.2.0 ([#348](https://github.com/googleapis/java-iam/issues/348)) ([c91fd46](https://github.com/googleapis/java-iam/commit/c91fd46e1f7612ca6b4697a3d6ba90025fa9edce)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#349](https://github.com/googleapis/java-iam/issues/349)) ([048b766](https://github.com/googleapis/java-iam/commit/048b766ec108dc7ae4019a5a8667b20c305306d8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 13 +++++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 21 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 241c335168df..29ae049deaf4 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.4.0](https://github.com/googleapis/java-iam/compare/v1.3.4...v1.4.0) (2022-05-19) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-iam/issues/1440)) ([#350](https://github.com/googleapis/java-iam/issues/350)) ([e83f148](https://github.com/googleapis/java-iam/commit/e83f148350c6e208f0290bf100f5b35461024073)) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.2.0 ([#348](https://github.com/googleapis/java-iam/issues/348)) ([2013a52](https://github.com/googleapis/java-iam/commit/2013a526838de4d21694d59d256f48bf5976b109)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#349](https://github.com/googleapis/java-iam/issues/349)) ([e458fbe](https://github.com/googleapis/java-iam/commit/e458fbe851f27fd2a3c0ea487f71ddccc88173f7)) + ### [1.3.4](https://github.com/googleapis/java-iam/compare/v1.3.3...v1.3.4) (2022-05-10) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index cd144b282751..410c4c3cbf98 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.3.5-SNAPSHOT + 1.4.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.3.5-SNAPSHOT + 1.4.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6421e84deee3..c4ae7f764860 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.3.5-SNAPSHOT + 1.4.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.3.5-SNAPSHOT + 1.4.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 3e514244f7b8..3f44b9e18745 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.3.5-SNAPSHOT + 1.4.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.3.5-SNAPSHOT + 1.4.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 24d71235f9a6..4071b05a9e56 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.3.4:1.3.5-SNAPSHOT -grpc-google-iam-v1:1.3.4:1.3.5-SNAPSHOT +proto-google-iam-v1:1.4.0:1.4.0 +grpc-google-iam-v1:1.4.0:1.4.0 From 8b04fb44fd09ac275a360bdd845815318ed7d335 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 May 2022 00:14:20 +0200 Subject: [PATCH 2283/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.0 (#838) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.4` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/compatibility-slim/1.3.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/confidence-slim/1.3.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.4.0`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisjava-iamcomparev134v140-2022-05-19) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.4...v1.4.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-iam/issues/1440)) ([#​350](https://togithub.com/googleapis/java-iam/issues/350)) ([e83f148](https://togithub.com/googleapis/java-iam/commit/e83f148350c6e208f0290bf100f5b35461024073)) ##### Dependencies - update dependency com.google.api:api-common to v2.2.0 ([#​348](https://togithub.com/googleapis/java-iam/issues/348)) ([2013a52](https://togithub.com/googleapis/java-iam/commit/2013a526838de4d21694d59d256f48bf5976b109)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#​349](https://togithub.com/googleapis/java-iam/issues/349)) ([e458fbe](https://togithub.com/googleapis/java-iam/commit/e458fbe851f27fd2a3c0ea487f71ddccc88173f7)) ##### [1.3.4](https://togithub.com/googleapis/java-iam/compare/v1.3.3...v1.3.4) (2022-05-10) ##### Dependencies - update dependency io.grpc:grpc-protobuf to v1.46.0 ([#​340](https://togithub.com/googleapis/java-iam/issues/340)) ([8ed87ef](https://togithub.com/googleapis/java-iam/commit/8ed87ef24ba184a1b1b386554aca94ae1fbbf9e6)) - update dependency io.grpc:grpc-stub to v1.46.0 ([#​341](https://togithub.com/googleapis/java-iam/issues/341)) ([92c7276](https://togithub.com/googleapis/java-iam/commit/92c72768d6ea7715da121c5504b95e598de770a0)) ##### [1.3.3](https://togithub.com/googleapis/java-iam/compare/v1.3.2...v1.3.3) (2022-04-22) ##### Dependencies - update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#​337](https://togithub.com/googleapis/java-iam/issues/337)) ([83302e1](https://togithub.com/googleapis/java-iam/commit/83302e12860ca82234bd3f74234c373164e27ffb)) ##### [1.3.2](https://togithub.com/googleapis/java-iam/compare/v1.3.1...v1.3.2) (2022-04-15) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#​332](https://togithub.com/googleapis/java-iam/issues/332)) ([78e6341](https://togithub.com/googleapis/java-iam/commit/78e6341388c63e6eabeb5fbb3ab21bbdc965ddef)) ##### [1.3.1](https://togithub.com/googleapis/java-iam/compare/v1.3.0...v1.3.1) (2022-04-11) ##### Dependencies - revert dependency com.google.protobuf:protobuf-java to v3.19.4 ([#​329](https://togithub.com/googleapis/java-iam/issues/329)) ([0e679c5](https://togithub.com/googleapis/java-iam/commit/0e679c5b63ac438f3f3f53b5a920c876450e0a94))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 01cc2f4b2051..053e1a7f7956 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.18.1 2.2.0 2.8.3 - 1.3.4 + 1.4.0 1.7.0 1.34.1 1.41.8 From fc7752848c6062039107c5226a82007dfe0cf21c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 May 2022 00:16:31 +0200 Subject: [PATCH 2284/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.14.0 (#701) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.13.1` -> `2.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/compatibility-slim/2.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/confidence-slim/2.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.14.0`](https://togithub.com/google/error-prone/releases/tag/v2.14.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.13.1...v2.14.0) New checkers: - [`BanJNDI`](https://errorprone.info/bugpattern/BanJNDI) - [`EmptyTopLevelDeclaration`](https://errorprone.info/bugpattern/EmptyTopLevelDeclaration) - [`ErroneousBitwiseExpression`](https://errorprone.info/bugpattern/ErroneousBitwiseExpression) - [`FuzzyEqualsShouldNotBeUsedInEqualsMethod`](https://errorprone.info/bugpattern/FuzzyEqualsShouldNotBeUsedInEqualsMethod) - [`Interruption`](https://errorprone.info/bugpattern/Interruption) - [`NullableOnContainingClass`](https://errorprone.info/bugpattern/NullableOnContainingClass) Fixed issues: [#​3110](https://togithub.com/google/error-prone/issues/3110), [#​3193](https://togithub.com/google/error-prone/issues/3193) **Full Changelog**: https://github.com/google/error-prone/compare/v2.13.1...v2.14.0
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 28f8239f8c7f..75f6d5290cf1 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.21 0.31.1 3.0.2 - 2.13.1 + 2.14.0 2.13.3 1.15 4.4.15 From a4b51583f46823e9efd1f78cfff48f75aafd3bc0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 May 2022 00:18:25 +0200 Subject: [PATCH 2285/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.14.0 (#839) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.13.1` -> `2.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/compatibility-slim/2.13.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.14.0/confidence-slim/2.13.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.14.0`](https://togithub.com/google/error-prone/releases/tag/v2.14.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.13.1...v2.14.0) New checkers: - [`BanJNDI`](https://errorprone.info/bugpattern/BanJNDI) - [`EmptyTopLevelDeclaration`](https://errorprone.info/bugpattern/EmptyTopLevelDeclaration) - [`ErroneousBitwiseExpression`](https://errorprone.info/bugpattern/ErroneousBitwiseExpression) - [`FuzzyEqualsShouldNotBeUsedInEqualsMethod`](https://errorprone.info/bugpattern/FuzzyEqualsShouldNotBeUsedInEqualsMethod) - [`Interruption`](https://errorprone.info/bugpattern/Interruption) - [`NullableOnContainingClass`](https://errorprone.info/bugpattern/NullableOnContainingClass) Fixed issues: [#​3110](https://togithub.com/google/error-prone/issues/3110), [#​3193](https://togithub.com/google/error-prone/issues/3193) **Full Changelog**: https://github.com/google/error-prone/compare/v2.13.1...v2.14.0
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 053e1a7f7956..9819e152d299 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.6.0 3.2 - 2.13.1 + 2.14.0 2.9.0
    From b99cf9a05ca5c37dc1acc2a776194790f47a9309 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 May 2022 00:24:20 +0200 Subject: [PATCH 2286/3036] deps: update iam.version to v1.4.0 (#700) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.4` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.0/compatibility-slim/1.3.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.0/confidence-slim/1.3.4)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.3.4` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/compatibility-slim/1.3.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.0/confidence-slim/1.3.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.4.0`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisjava-iamcomparev134v140-2022-05-19) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.3.4...v1.4.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-iam/issues/1440)) ([#​350](https://togithub.com/googleapis/java-iam/issues/350)) ([e83f148](https://togithub.com/googleapis/java-iam/commit/e83f148350c6e208f0290bf100f5b35461024073)) ##### Dependencies - update dependency com.google.api:api-common to v2.2.0 ([#​348](https://togithub.com/googleapis/java-iam/issues/348)) ([2013a52](https://togithub.com/googleapis/java-iam/commit/2013a526838de4d21694d59d256f48bf5976b109)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#​349](https://togithub.com/googleapis/java-iam/issues/349)) ([e458fbe](https://togithub.com/googleapis/java-iam/commit/e458fbe851f27fd2a3c0ea487f71ddccc88173f7)) ##### [1.3.4](https://togithub.com/googleapis/java-iam/compare/v1.3.3...v1.3.4) (2022-05-10) ##### Dependencies - update dependency io.grpc:grpc-protobuf to v1.46.0 ([#​340](https://togithub.com/googleapis/java-iam/issues/340)) ([8ed87ef](https://togithub.com/googleapis/java-iam/commit/8ed87ef24ba184a1b1b386554aca94ae1fbbf9e6)) - update dependency io.grpc:grpc-stub to v1.46.0 ([#​341](https://togithub.com/googleapis/java-iam/issues/341)) ([92c7276](https://togithub.com/googleapis/java-iam/commit/92c72768d6ea7715da121c5504b95e598de770a0)) ##### [1.3.3](https://togithub.com/googleapis/java-iam/compare/v1.3.2...v1.3.3) (2022-04-22) ##### Dependencies - update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#​337](https://togithub.com/googleapis/java-iam/issues/337)) ([83302e1](https://togithub.com/googleapis/java-iam/commit/83302e12860ca82234bd3f74234c373164e27ffb)) ##### [1.3.2](https://togithub.com/googleapis/java-iam/compare/v1.3.1...v1.3.2) (2022-04-15) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.10.0 ([#​332](https://togithub.com/googleapis/java-iam/issues/332)) ([78e6341](https://togithub.com/googleapis/java-iam/commit/78e6341388c63e6eabeb5fbb3ab21bbdc965ddef)) ##### [1.3.1](https://togithub.com/googleapis/java-iam/compare/v1.3.0...v1.3.1) (2022-04-11) ##### Dependencies - revert dependency com.google.protobuf:protobuf-java to v3.19.4 ([#​329](https://togithub.com/googleapis/java-iam/issues/329)) ([0e679c5](https://togithub.com/googleapis/java-iam/commit/0e679c5b63ac438f3f3f53b5a920c876450e0a94))
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 03fba71e50db..93ccbb27b573 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.41.8 1.33.3 1.34.1 - 1.3.4 + 1.4.0
    From 93d825fb61fac2339e2f1a9f594fb21ed8f2a034 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 May 2022 16:34:12 +0200 Subject: [PATCH 2287/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.0 (#840) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.20.1` -> `3.21.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.0/compatibility-slim/3.20.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.0/confidence-slim/3.20.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.0`](https://togithub.com/protocolbuffers/protobuf/compare/v3.20.1...v3.21.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.20.1...v3.21.0)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9819e152d299..9eb4f03d53c2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.34.1 1.41.8 1.46.0 - 3.20.1 + 3.21.0 0.31.1 1.3.2 31.1-jre From 8c9442deaba221e245e06354c2301504ebdfb9a2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 May 2022 16:34:23 +0200 Subject: [PATCH 2288/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.0 (#354) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.20.1` -> `3.21.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.0/compatibility-slim/3.20.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.0/confidence-slim/3.20.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.0`](https://togithub.com/protocolbuffers/protobuf/compare/v3.20.1...v3.21.0)
    --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 52efd4fbc024..63debc8f3629 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.20.1' + compile 'com.google.protobuf:protobuf-java:3.21.0' compile 'com.google.api:api-common:2.2.0' compile project(':proto-google-common-protos') } From b89ab5f125d7da0d4e93dcb00bfe59fecb5b60e7 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Thu, 26 May 2022 18:38:22 +0000 Subject: [PATCH 2289/3036] chore: Add perfmark-api to shared dependency. (#704) --- java-shared-dependencies/third-party-dependencies/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 75f6d5290cf1..898afdb1251a 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -70,6 +70,7 @@ 4.5.13 3.22.0 + 0.25.0
    @@ -174,6 +175,11 @@ checker-qual ${checker-qual.version} + + io.perfmark + perfmark-api + ${perfmark-api.version} + \ No newline at end of file From 62dcccdf5d4fc2c0ebe78cc7278f8bdb65de0dd3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 26 May 2022 21:08:28 +0200 Subject: [PATCH 2290/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.0 (#703) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 93ccbb27b573..8d874e6770c2 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.18.1 1.1.0 31.1-jre - 3.20.1 + 3.21.0 2.2.0 2.8.3 2.7.1 From 19ea082f93dadc5147e862d132ba1b2abd3e885a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:10:15 +0200 Subject: [PATCH 2291/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.1 (#355) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.0` -> `3.21.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.1/compatibility-slim/3.21.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.1/confidence-slim/3.21.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.1`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.0...v3.21.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 63debc8f3629..6689e3f2a705 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.0' + compile 'com.google.protobuf:protobuf-java:3.21.1' compile 'com.google.api:api-common:2.2.0' compile project(':proto-google-common-protos') } From ae796839a4f7011739fda87dd811270acb426535 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:10:19 +0200 Subject: [PATCH 2292/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.1 (#705) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.0` -> `3.21.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/compatibility-slim/3.21.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/confidence-slim/3.21.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.1`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.0...v3.21.1) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.0...v3.21.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 8d874e6770c2..90d96d194310 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.18.1 1.1.0 31.1-jre - 3.21.0 + 3.21.1 2.2.0 2.8.3 2.7.1 From 0bfcc49189346fb44a8c371b7b8460328e29b710 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:14:30 +0200 Subject: [PATCH 2293/3036] deps: update dependency org.checkerframework:checker-qual to v3.22.1 (#706) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.checkerframework:checker-qual](https://checkerframework.org) ([source](https://togithub.com/typetools/checker-framework)) | `3.22.0` -> `3.22.1` | [![age](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.1/compatibility-slim/3.22.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.1/confidence-slim/3.22.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 898afdb1251a..c7cbd9933492 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.22.0 + 3.22.1 0.25.0
    From 6c164817f79f96e9e5c995e92ef210560edcf78a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:16:28 +0200 Subject: [PATCH 2294/3036] deps: update dependency io.grpc:grpc-protobuf to v1.47.0 (#356) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.46.0` -> `1.47.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.47.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.47.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.47.0/compatibility-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.47.0/confidence-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.47.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.47.0) ##### Bug Fixes - api: Ignore `ClassCastExceptions` for hard-coded providers on Android ([#​9174](https://togithub.com/grpc/grpc-java/issues/9174)). This avoids `ServiceConfigurationError` in certain cases when an “SDK” includes a copy of gRPC that was renamed with Proguard-like tools that do precise class name rewriting (versus something like Maven Shade Plugin which uses coarse pattern matching) - binder: respect requested message limits when provide received messages to listener ([#​9163](https://togithub.com/grpc/grpc-java/issues/9163)) - binder: Avoid an ISE from `asAndroidAppUri()` ([#​9169](https://togithub.com/grpc/grpc-java/issues/9169)) - okhttp: Use the user-provided `ScheduledExecutorService` for keepalive if provided. Previously the user-provided executor was used for deadlines, but not keepalive. Keepalive always used the default executor ([#​9073](https://togithub.com/grpc/grpc-java/issues/9073)) - bom: Reverted “bom: Removed protoc-gen-grpc-java from the BOM” in v1.46.0. There was a way to use it with Gradle ([#​9154](https://togithub.com/grpc/grpc-java/issues/9154)) - build: fix grpc-java build against protobuf 3.21 ([#​9218](https://togithub.com/grpc/grpc-java/issues/9218)) - grpclb: Adds missing META-INF resources to `libgrpclb.jar` produced by bazel `//grpclb:grpclb` target ([#​9156](https://togithub.com/grpc/grpc-java/issues/9156)) - xds: Protect xdstp processing with federation env var. If the xds server uses xdstp:// resource names it was possible for federation code paths to be entered even without enabling the experimental federation support. This is now fixed and it is safe for xds servers to use xdstp:// resource names. ([#​9190](https://togithub.com/grpc/grpc-java/issues/9190)) - xds: fix bugs in ring-hash load balancer picking subchannel behavior per gRFC. The bug may cause connection not failing over from `TRANSIENT_FAILURE` status. ([#​9085](https://togithub.com/grpc/grpc-java/issues/9085)) - xds: NACK EDS resources with duplicate localities in the same priority ([#​9119](https://togithub.com/grpc/grpc-java/issues/9119)) ##### New Features - api: Add connection management APIs to `ServerBuilder` ([#​9176](https://togithub.com/grpc/grpc-java/issues/9176)). This includes methods for keepalive, max connection age, and max connection idle. These APIs have been available on NettyServerBuilder since v1.4.0 - api: allow `NameResolver` to influence which transport to use ([#​9076](https://togithub.com/grpc/grpc-java/issues/9076)) - api: New API in ServerCall to expose SecurityLevel on server-side ([#​8943](https://togithub.com/grpc/grpc-java/issues/8943)) - netty: Add `NameResolver` for `unix:` scheme, as defined in [gRPC Name Resolution](https://togithub.com/grpc/grpc/blob/master/doc/naming.md) ([#​9113](https://togithub.com/grpc/grpc-java/issues/9113)) - binder: add `allOf` security policy, which allows access iff ALL given security policies allow access. ([#​9125](https://togithub.com/grpc/grpc-java/issues/9125)) - binder: add `anyOf` security policy, which allows access if ANY given security policy allows access. ([#​9147](https://togithub.com/grpc/grpc-java/issues/9147)) - binder: add `hasPermissions` security policy, which checks that a caller has all of the given package permissions. ([#​9117](https://togithub.com/grpc/grpc-java/issues/9117)) - build: Add Bazel build support for xds, googleapis, rls, and services. grpc-services previously had partial bazel support, but some parts were missing. These artifacts are now configured via `IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS` so maven_install will not use the artifacts from Maven Central ([#​9172](https://togithub.com/grpc/grpc-java/issues/9172)) - xds: New ability to configure custom load balancer implementations via the xDS `Cluster.load_balancing_policy` field. This implements [gRFC A52: gRPC xDS Custom Load Balancer Configuration](https://togithub.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md). ([#​9141](https://togithub.com/grpc/grpc-java/issues/9141)) - xds, orca: add support for custom backend metrics reporting: allow setting metrics at gRPC server and consuming metrics reports from a custom load balancing policy at the client. This implements [gRFC A51: Custom Backend Metrics Support](https://togithub.com/grpc/proposal/blob/master/A51-custom-backend-metrics.md). - xds: include node ID in RPC failure status messages from the XdsClient ([#​9099](https://togithub.com/grpc/grpc-java/issues/9099)) - xds: support for the `is_optional` logic in Cluster Specifier Plugins: if an unsupported Cluster Specifier Plugin is optional, don't NACK, and skip any routes that point to it. ([#​9168](https://togithub.com/grpc/grpc-java/issues/9168)) ##### Behavior Changes - xds: Allow unspecified listener traffic direction, to match other languages and to work with Istio ([#​9173](https://togithub.com/grpc/grpc-java/issues/9173)) - xds: change priority load balancer failover time behavior and `ring_hash` LB aggregation rule to better handle transient_failure channel status ([#​9084](https://togithub.com/grpc/grpc-java/issues/9084), [#​9093](https://togithub.com/grpc/grpc-java/issues/9093)) ##### Dependencies - Bump GSON to 2.9.0. Earlier versions of GSON are affected by [CVE-2022-25647](https://nvd.nist.gov/vuln/detail/CVE-2022-25647). gRPC was not impacted by the vulnerability. ([#​9215](https://togithub.com/grpc/grpc-java/issues/9215)) - gcp-observability: add grpc-census as a dependency and update opencensus version ([#​9140](https://togithub.com/grpc/grpc-java/issues/9140)) ##### Acknowledgements [@​caseyduquettesc](https://togithub.com/caseyduquettesc) [@​cfredri4](https://togithub.com/cfredri4) [@​jvolkman](https://togithub.com/jvolkman) [@​mirlord](https://togithub.com/mirlord) [@​ovidiutirla](https://togithub.com/ovidiutirla)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index b066166d0860..8861e763dbb0 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.46.0' - compile 'io.grpc:grpc-protobuf:1.46.0' + compile 'io.grpc:grpc-protobuf:1.47.0' compile project(':proto-google-iam-v1') } From 81dd8e5e22171e61d22c0c027798a035e06a67b9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:20:14 +0200 Subject: [PATCH 2295/3036] deps: update dependency io.grpc:grpc-bom to v1.47.0 (#707) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.46.0` -> `1.47.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/compatibility-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/confidence-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.47.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.47.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.46.0...v1.47.0) ##### Bug Fixes - api: Ignore `ClassCastExceptions` for hard-coded providers on Android ([#​9174](https://togithub.com/grpc/grpc-java/issues/9174)). This avoids `ServiceConfigurationError` in certain cases when an “SDK” includes a copy of gRPC that was renamed with Proguard-like tools that do precise class name rewriting (versus something like Maven Shade Plugin which uses coarse pattern matching) - binder: respect requested message limits when provide received messages to listener ([#​9163](https://togithub.com/grpc/grpc-java/issues/9163)) - binder: Avoid an ISE from `asAndroidAppUri()` ([#​9169](https://togithub.com/grpc/grpc-java/issues/9169)) - okhttp: Use the user-provided `ScheduledExecutorService` for keepalive if provided. Previously the user-provided executor was used for deadlines, but not keepalive. Keepalive always used the default executor ([#​9073](https://togithub.com/grpc/grpc-java/issues/9073)) - bom: Reverted “bom: Removed protoc-gen-grpc-java from the BOM” in v1.46.0. There was a way to use it with Gradle ([#​9154](https://togithub.com/grpc/grpc-java/issues/9154)) - build: fix grpc-java build against protobuf 3.21 ([#​9218](https://togithub.com/grpc/grpc-java/issues/9218)) - grpclb: Adds missing META-INF resources to `libgrpclb.jar` produced by bazel `//grpclb:grpclb` target ([#​9156](https://togithub.com/grpc/grpc-java/issues/9156)) - xds: Protect xdstp processing with federation env var. If the xds server uses xdstp:// resource names it was possible for federation code paths to be entered even without enabling the experimental federation support. This is now fixed and it is safe for xds servers to use xdstp:// resource names. ([#​9190](https://togithub.com/grpc/grpc-java/issues/9190)) - xds: fix bugs in ring-hash load balancer picking subchannel behavior per gRFC. The bug may cause connection not failing over from `TRANSIENT_FAILURE` status. ([#​9085](https://togithub.com/grpc/grpc-java/issues/9085)) - xds: NACK EDS resources with duplicate localities in the same priority ([#​9119](https://togithub.com/grpc/grpc-java/issues/9119)) ##### New Features - api: Add connection management APIs to `ServerBuilder` ([#​9176](https://togithub.com/grpc/grpc-java/issues/9176)). This includes methods for keepalive, max connection age, and max connection idle. These APIs have been available on NettyServerBuilder since v1.4.0 - api: allow `NameResolver` to influence which transport to use ([#​9076](https://togithub.com/grpc/grpc-java/issues/9076)) - api: New API in ServerCall to expose SecurityLevel on server-side ([#​8943](https://togithub.com/grpc/grpc-java/issues/8943)) - netty: Add `NameResolver` for `unix:` scheme, as defined in [gRPC Name Resolution](https://togithub.com/grpc/grpc/blob/master/doc/naming.md) ([#​9113](https://togithub.com/grpc/grpc-java/issues/9113)) - binder: add `allOf` security policy, which allows access iff ALL given security policies allow access. ([#​9125](https://togithub.com/grpc/grpc-java/issues/9125)) - binder: add `anyOf` security policy, which allows access if ANY given security policy allows access. ([#​9147](https://togithub.com/grpc/grpc-java/issues/9147)) - binder: add `hasPermissions` security policy, which checks that a caller has all of the given package permissions. ([#​9117](https://togithub.com/grpc/grpc-java/issues/9117)) - build: Add Bazel build support for xds, googleapis, rls, and services. grpc-services previously had partial bazel support, but some parts were missing. These artifacts are now configured via `IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS` so maven_install will not use the artifacts from Maven Central ([#​9172](https://togithub.com/grpc/grpc-java/issues/9172)) - xds: New ability to configure custom load balancer implementations via the xDS `Cluster.load_balancing_policy` field. This implements [gRFC A52: gRPC xDS Custom Load Balancer Configuration](https://togithub.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md). ([#​9141](https://togithub.com/grpc/grpc-java/issues/9141)) - xds, orca: add support for custom backend metrics reporting: allow setting metrics at gRPC server and consuming metrics reports from a custom load balancing policy at the client. This implements [gRFC A51: Custom Backend Metrics Support](https://togithub.com/grpc/proposal/blob/master/A51-custom-backend-metrics.md). - xds: include node ID in RPC failure status messages from the XdsClient ([#​9099](https://togithub.com/grpc/grpc-java/issues/9099)) - xds: support for the `is_optional` logic in Cluster Specifier Plugins: if an unsupported Cluster Specifier Plugin is optional, don't NACK, and skip any routes that point to it. ([#​9168](https://togithub.com/grpc/grpc-java/issues/9168)) ##### Behavior Changes - xds: Allow unspecified listener traffic direction, to match other languages and to work with Istio ([#​9173](https://togithub.com/grpc/grpc-java/issues/9173)) - xds: change priority load balancer failover time behavior and `ring_hash` LB aggregation rule to better handle transient_failure channel status ([#​9084](https://togithub.com/grpc/grpc-java/issues/9084), [#​9093](https://togithub.com/grpc/grpc-java/issues/9093)) ##### Dependencies - Bump GSON to 2.9.0. Earlier versions of GSON are affected by [CVE-2022-25647](https://nvd.nist.gov/vuln/detail/CVE-2022-25647). gRPC was not impacted by the vulnerability. ([#​9215](https://togithub.com/grpc/grpc-java/issues/9215)) - gcp-observability: add grpc-census as a dependency and update opencensus version ([#​9140](https://togithub.com/grpc/grpc-java/issues/9140)) ##### Acknowledgements [@​caseyduquettesc](https://togithub.com/caseyduquettesc) [@​cfredri4](https://togithub.com/cfredri4) [@​jvolkman](https://togithub.com/jvolkman) [@​mirlord](https://togithub.com/mirlord) [@​ovidiutirla](https://togithub.com/ovidiutirla)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 90d96d194310..6cc0c5f9819e 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.46.0 + 1.47.0 2.18.1 1.1.0 31.1-jre From b6ae257a1d93dbea0ee15ae8de4018e2943d971e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:20:26 +0200 Subject: [PATCH 2296/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.35.0 (#709) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.34.1` -> `1.35.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.0/compatibility-slim/1.34.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.0/confidence-slim/1.34.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.35.0`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1350-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1340v1350-2022-06-02) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.1...v1.35.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/google-api-java-client/issues/1440)) ([#​2075](https://togithub.com/googleapis/google-api-java-client/issues/2075)) ([2b1558d](https://togithub.com/googleapis/google-api-java-client/commit/2b1558d07d1f79939def761911d1fbdb6fb31257)) - next release from main branch is 1.35.0 ([#​2042](https://togithub.com/googleapis/google-api-java-client/issues/2042)) ([9005d5c](https://togithub.com/googleapis/google-api-java-client/commit/9005d5ca7df256342d0b6b94dfa92efc57ddeffa)) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.34.0 ([#​2038](https://togithub.com/googleapis/google-api-java-client/issues/2038)) ([afea56f](https://togithub.com/googleapis/google-api-java-client/commit/afea56f5891e0e6e90369c04f99d64d2648edde6)) - **deps:** update dependency com.google.api-client:google-api-client to v1.34.1 ([#​2058](https://togithub.com/googleapis/google-api-java-client/issues/2058)) ([d1ddb69](https://togithub.com/googleapis/google-api-java-client/commit/d1ddb695b3ce4abc40f6af78845074f3d9e03e73)) - **deps:** update dependency com.google.api-client:google-api-client-android to v1.34.1 ([#​2059](https://togithub.com/googleapis/google-api-java-client/issues/2059)) ([54a9a0c](https://togithub.com/googleapis/google-api-java-client/commit/54a9a0c169a6a996f0ec6cfa338866e0ba3e5b57)) - **deps:** update dependency com.google.api-client:google-api-client-appengine to v1.34.1 ([#​2061](https://togithub.com/googleapis/google-api-java-client/issues/2061)) ([872ad59](https://togithub.com/googleapis/google-api-java-client/commit/872ad59ae77540bbcf27dc6966a722b68fd67a5c)) - **deps:** update dependency com.google.api-client:google-api-client-assembly to v1.34.1 ([#​2062](https://togithub.com/googleapis/google-api-java-client/issues/2062)) ([1a1d1b3](https://togithub.com/googleapis/google-api-java-client/commit/1a1d1b39f8f97bd1f9028c95a509e2205f9ecf53)) - **deps:** update dependency com.google.api-client:google-api-client-gson to v1.34.1 ([#​2064](https://togithub.com/googleapis/google-api-java-client/issues/2064)) ([3d1a03a](https://togithub.com/googleapis/google-api-java-client/commit/3d1a03a4702c09d1a880276900fcd02a9f933277)) - **deps:** update dependency com.google.api-client:google-api-client-jackson2 to v1.34.1 ([#​2065](https://togithub.com/googleapis/google-api-java-client/issues/2065)) ([3502186](https://togithub.com/googleapis/google-api-java-client/commit/350218698e07044c903e77ee2a326d21b48278ba)) - **deps:** update dependency com.google.api-client:google-api-client-java6 to v1.34.1 ([#​2066](https://togithub.com/googleapis/google-api-java-client/issues/2066)) ([705e865](https://togithub.com/googleapis/google-api-java-client/commit/705e865f05cae7e623eaba24c563512dc2cc05bc)) - **deps:** update dependency com.google.api-client:google-api-client-protobuf to v1.34.1 ([#​2068](https://togithub.com/googleapis/google-api-java-client/issues/2068)) ([ecedb5b](https://togithub.com/googleapis/google-api-java-client/commit/ecedb5b336d84a84b79d131848d438f9a31d36d0)) - **deps:** update dependency com.google.api-client:google-api-client-servlet to v1.34.1 ([#​2070](https://togithub.com/googleapis/google-api-java-client/issues/2070)) ([15540fe](https://togithub.com/googleapis/google-api-java-client/commit/15540fe7905fa19ab5e9ee104e97f7cad76e518a)) - **deps:** update dependency com.google.api-client:google-api-client-xml to v1.34.1 ([#​2071](https://togithub.com/googleapis/google-api-java-client/issues/2071)) ([050a269](https://togithub.com/googleapis/google-api-java-client/commit/050a2691a90dc5960c929661d3c31951d893e9ab)) - **deps:** update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.5 ([#​2072](https://togithub.com/googleapis/google-api-java-client/issues/2072)) ([526e103](https://togithub.com/googleapis/google-api-java-client/commit/526e1037fb370a9bae7fa9670ec62b72792b060d)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.2.0 ([#​2050](https://togithub.com/googleapis/google-api-java-client/issues/2050)) ([6c48f89](https://togithub.com/googleapis/google-api-java-client/commit/6c48f8954ed6ac161512e01defa358e7c7ea0627)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.3.0 ([#​2073](https://togithub.com/googleapis/google-api-java-client/issues/2073)) ([11dc2bb](https://togithub.com/googleapis/google-api-java-client/commit/11dc2bb17c8875989c80edb6b42a39b8fd87278d)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#​2041](https://togithub.com/googleapis/google-api-java-client/issues/2041)) ([be65181](https://togithub.com/googleapis/google-api-java-client/commit/be65181a67c87bdd1c7bcea3c99d25b4256fde4b)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#​2081](https://togithub.com/googleapis/google-api-java-client/issues/2081)) ([8684064](https://togithub.com/googleapis/google-api-java-client/commit/86840649d97a4236740c5d3f07dfb8034324c03a)) - use verifyPayload instead of verify to disable duplicate signature check ([#​2080](https://togithub.com/googleapis/google-api-java-client/issues/2080)) ([003ca44](https://togithub.com/googleapis/google-api-java-client/commit/003ca44b4d41a73053eef2c46ba3ec2c8f135e95))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 6cc0c5f9819e..df9c6bf15dfe 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.7.0 1.41.8 1.33.3 - 1.34.1 + 1.35.0 1.4.0
    From 42e6aa067c220c72940df72e0fd372b22e014d28 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:26:16 +0200 Subject: [PATCH 2297/3036] deps: update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 (#708) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.oauth-client:google-oauth-client-bom](https://togithub.com/googleapis/google-oauth-java-client) | `1.33.3` -> `1.34.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.0/compatibility-slim/1.33.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.0/confidence-slim/1.33.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-oauth-java-client ### [`v1.34.0`](https://togithub.com/googleapis/google-oauth-java-client/blob/HEAD/CHANGELOG.md#​1340-httpsgithubcomgoogleapisgoogle-oauth-java-clientcomparev1333v1340-2022-06-02) [Compare Source](https://togithub.com/googleapis/google-oauth-java-client/compare/v1.33.3...v1.34.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/google-oauth-java-client/issues/1440)) ([#​890](https://togithub.com/googleapis/google-oauth-java-client/issues/890)) ([373891e](https://togithub.com/googleapis/google-oauth-java-client/commit/373891e2dc9742fdf8954cc590b18caf4c8c44f7)) - next release from main branch is 1.34.0 ([#​875](https://togithub.com/googleapis/google-oauth-java-client/issues/875)) ([187651e](https://togithub.com/googleapis/google-oauth-java-client/commit/187651eeb963c490c1a5595222548bbdba660c22)) ##### Bug Fixes - fix IdTokenVerifier so it does not cache empty entries ([#​892](https://togithub.com/googleapis/google-oauth-java-client/issues/892)) ([773b388](https://togithub.com/googleapis/google-oauth-java-client/commit/773b38844cd6a0a72a360cc25692412e9b36b1e7)) ##### [1.33.3](https://togithub.com/googleapis/google-oauth-java-client/compare/v1.33.2...v1.33.3) (2022-04-13) ##### Bug Fixes - add signature verification to IdTokenVerifier ([#​861](https://togithub.com/googleapis/google-oauth-java-client/issues/861)) ([22419d6](https://togithub.com/googleapis/google-oauth-java-client/commit/22419d60579ef4c1a8a256a90e6ca7bc58f09aa1)) ##### [1.33.2](https://togithub.com/googleapis/google-oauth-java-client/compare/v1.33.1...v1.33.2) (2022-04-07) ##### Dependencies - update project.http.version to v1.41.5 ([e945b8d](https://togithub.com/googleapis/google-oauth-java-client/commit/e945b8d7233038f417f40771508d171f6f0cbaf5)) ##### [1.33.1](https://togithub.com/googleapis/google-oauth-java-client/compare/v1.33.0...v1.33.1) (2022-02-08) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/google-oauth-java-client/issues/1339)) ([#​822](https://togithub.com/googleapis/google-oauth-java-client/issues/822)) ([1f15374](https://togithub.com/googleapis/google-oauth-java-client/commit/1f15374fe935bf46e9cda59270694f682ba5f75b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index df9c6bf15dfe..937f87f50e07 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.7.1 1.7.0 1.41.8 - 1.33.3 + 1.34.0 1.35.0 1.4.0
    From 32451094bcde9b64e0abd27c7bbc4938773af5b2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:26:21 +0200 Subject: [PATCH 2298/3036] deps: update dependency io.grpc:grpc-bom to v1.47.0 (#842) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.46.0` -> `1.47.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/compatibility-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.47.0/confidence-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.47.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.47.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.46.0...v1.47.0) ##### Bug Fixes - api: Ignore `ClassCastExceptions` for hard-coded providers on Android ([#​9174](https://togithub.com/grpc/grpc-java/issues/9174)). This avoids `ServiceConfigurationError` in certain cases when an “SDK” includes a copy of gRPC that was renamed with Proguard-like tools that do precise class name rewriting (versus something like Maven Shade Plugin which uses coarse pattern matching) - binder: respect requested message limits when provide received messages to listener ([#​9163](https://togithub.com/grpc/grpc-java/issues/9163)) - binder: Avoid an ISE from `asAndroidAppUri()` ([#​9169](https://togithub.com/grpc/grpc-java/issues/9169)) - okhttp: Use the user-provided `ScheduledExecutorService` for keepalive if provided. Previously the user-provided executor was used for deadlines, but not keepalive. Keepalive always used the default executor ([#​9073](https://togithub.com/grpc/grpc-java/issues/9073)) - bom: Reverted “bom: Removed protoc-gen-grpc-java from the BOM” in v1.46.0. There was a way to use it with Gradle ([#​9154](https://togithub.com/grpc/grpc-java/issues/9154)) - build: fix grpc-java build against protobuf 3.21 ([#​9218](https://togithub.com/grpc/grpc-java/issues/9218)) - grpclb: Adds missing META-INF resources to `libgrpclb.jar` produced by bazel `//grpclb:grpclb` target ([#​9156](https://togithub.com/grpc/grpc-java/issues/9156)) - xds: Protect xdstp processing with federation env var. If the xds server uses xdstp:// resource names it was possible for federation code paths to be entered even without enabling the experimental federation support. This is now fixed and it is safe for xds servers to use xdstp:// resource names. ([#​9190](https://togithub.com/grpc/grpc-java/issues/9190)) - xds: fix bugs in ring-hash load balancer picking subchannel behavior per gRFC. The bug may cause connection not failing over from `TRANSIENT_FAILURE` status. ([#​9085](https://togithub.com/grpc/grpc-java/issues/9085)) - xds: NACK EDS resources with duplicate localities in the same priority ([#​9119](https://togithub.com/grpc/grpc-java/issues/9119)) ##### New Features - api: Add connection management APIs to `ServerBuilder` ([#​9176](https://togithub.com/grpc/grpc-java/issues/9176)). This includes methods for keepalive, max connection age, and max connection idle. These APIs have been available on NettyServerBuilder since v1.4.0 - api: allow `NameResolver` to influence which transport to use ([#​9076](https://togithub.com/grpc/grpc-java/issues/9076)) - api: New API in ServerCall to expose SecurityLevel on server-side ([#​8943](https://togithub.com/grpc/grpc-java/issues/8943)) - netty: Add `NameResolver` for `unix:` scheme, as defined in [gRPC Name Resolution](https://togithub.com/grpc/grpc/blob/master/doc/naming.md) ([#​9113](https://togithub.com/grpc/grpc-java/issues/9113)) - binder: add `allOf` security policy, which allows access iff ALL given security policies allow access. ([#​9125](https://togithub.com/grpc/grpc-java/issues/9125)) - binder: add `anyOf` security policy, which allows access if ANY given security policy allows access. ([#​9147](https://togithub.com/grpc/grpc-java/issues/9147)) - binder: add `hasPermissions` security policy, which checks that a caller has all of the given package permissions. ([#​9117](https://togithub.com/grpc/grpc-java/issues/9117)) - build: Add Bazel build support for xds, googleapis, rls, and services. grpc-services previously had partial bazel support, but some parts were missing. These artifacts are now configured via `IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS` so maven_install will not use the artifacts from Maven Central ([#​9172](https://togithub.com/grpc/grpc-java/issues/9172)) - xds: New ability to configure custom load balancer implementations via the xDS `Cluster.load_balancing_policy` field. This implements [gRFC A52: gRPC xDS Custom Load Balancer Configuration](https://togithub.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md). ([#​9141](https://togithub.com/grpc/grpc-java/issues/9141)) - xds, orca: add support for custom backend metrics reporting: allow setting metrics at gRPC server and consuming metrics reports from a custom load balancing policy at the client. This implements [gRFC A51: Custom Backend Metrics Support](https://togithub.com/grpc/proposal/blob/master/A51-custom-backend-metrics.md). - xds: include node ID in RPC failure status messages from the XdsClient ([#​9099](https://togithub.com/grpc/grpc-java/issues/9099)) - xds: support for the `is_optional` logic in Cluster Specifier Plugins: if an unsupported Cluster Specifier Plugin is optional, don't NACK, and skip any routes that point to it. ([#​9168](https://togithub.com/grpc/grpc-java/issues/9168)) ##### Behavior Changes - xds: Allow unspecified listener traffic direction, to match other languages and to work with Istio ([#​9173](https://togithub.com/grpc/grpc-java/issues/9173)) - xds: change priority load balancer failover time behavior and `ring_hash` LB aggregation rule to better handle transient_failure channel status ([#​9084](https://togithub.com/grpc/grpc-java/issues/9084), [#​9093](https://togithub.com/grpc/grpc-java/issues/9093)) ##### Dependencies - Bump GSON to 2.9.0. Earlier versions of GSON are affected by [CVE-2022-25647](https://nvd.nist.gov/vuln/detail/CVE-2022-25647). gRPC was not impacted by the vulnerability. ([#​9215](https://togithub.com/grpc/grpc-java/issues/9215)) - gcp-observability: add grpc-census as a dependency and update opencensus version ([#​9140](https://togithub.com/grpc/grpc-java/issues/9140)) ##### Acknowledgements [@​caseyduquettesc](https://togithub.com/caseyduquettesc) [@​cfredri4](https://togithub.com/cfredri4) [@​jvolkman](https://togithub.com/jvolkman) [@​mirlord](https://togithub.com/mirlord) [@​ovidiutirla](https://togithub.com/ovidiutirla)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9eb4f03d53c2..bf5d5477a96b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.7.0 1.34.1 1.41.8 - 1.46.0 + 1.47.0 3.21.0 0.31.1 1.3.2 From 698bd90a9db3fec733b20efa1a2459f891eec735 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:30:16 +0200 Subject: [PATCH 2299/3036] deps: update dependency io.grpc:grpc-stub to v1.47.0 (#357) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.46.0` -> `1.47.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.47.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.47.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.47.0/compatibility-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.47.0/confidence-slim/1.46.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.47.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.47.0) ##### Bug Fixes - api: Ignore `ClassCastExceptions` for hard-coded providers on Android ([#​9174](https://togithub.com/grpc/grpc-java/issues/9174)). This avoids `ServiceConfigurationError` in certain cases when an “SDK” includes a copy of gRPC that was renamed with Proguard-like tools that do precise class name rewriting (versus something like Maven Shade Plugin which uses coarse pattern matching) - binder: respect requested message limits when provide received messages to listener ([#​9163](https://togithub.com/grpc/grpc-java/issues/9163)) - binder: Avoid an ISE from `asAndroidAppUri()` ([#​9169](https://togithub.com/grpc/grpc-java/issues/9169)) - okhttp: Use the user-provided `ScheduledExecutorService` for keepalive if provided. Previously the user-provided executor was used for deadlines, but not keepalive. Keepalive always used the default executor ([#​9073](https://togithub.com/grpc/grpc-java/issues/9073)) - bom: Reverted “bom: Removed protoc-gen-grpc-java from the BOM” in v1.46.0. There was a way to use it with Gradle ([#​9154](https://togithub.com/grpc/grpc-java/issues/9154)) - build: fix grpc-java build against protobuf 3.21 ([#​9218](https://togithub.com/grpc/grpc-java/issues/9218)) - grpclb: Adds missing META-INF resources to `libgrpclb.jar` produced by bazel `//grpclb:grpclb` target ([#​9156](https://togithub.com/grpc/grpc-java/issues/9156)) - xds: Protect xdstp processing with federation env var. If the xds server uses xdstp:// resource names it was possible for federation code paths to be entered even without enabling the experimental federation support. This is now fixed and it is safe for xds servers to use xdstp:// resource names. ([#​9190](https://togithub.com/grpc/grpc-java/issues/9190)) - xds: fix bugs in ring-hash load balancer picking subchannel behavior per gRFC. The bug may cause connection not failing over from `TRANSIENT_FAILURE` status. ([#​9085](https://togithub.com/grpc/grpc-java/issues/9085)) - xds: NACK EDS resources with duplicate localities in the same priority ([#​9119](https://togithub.com/grpc/grpc-java/issues/9119)) ##### New Features - api: Add connection management APIs to `ServerBuilder` ([#​9176](https://togithub.com/grpc/grpc-java/issues/9176)). This includes methods for keepalive, max connection age, and max connection idle. These APIs have been available on NettyServerBuilder since v1.4.0 - api: allow `NameResolver` to influence which transport to use ([#​9076](https://togithub.com/grpc/grpc-java/issues/9076)) - api: New API in ServerCall to expose SecurityLevel on server-side ([#​8943](https://togithub.com/grpc/grpc-java/issues/8943)) - netty: Add `NameResolver` for `unix:` scheme, as defined in [gRPC Name Resolution](https://togithub.com/grpc/grpc/blob/master/doc/naming.md) ([#​9113](https://togithub.com/grpc/grpc-java/issues/9113)) - binder: add `allOf` security policy, which allows access iff ALL given security policies allow access. ([#​9125](https://togithub.com/grpc/grpc-java/issues/9125)) - binder: add `anyOf` security policy, which allows access if ANY given security policy allows access. ([#​9147](https://togithub.com/grpc/grpc-java/issues/9147)) - binder: add `hasPermissions` security policy, which checks that a caller has all of the given package permissions. ([#​9117](https://togithub.com/grpc/grpc-java/issues/9117)) - build: Add Bazel build support for xds, googleapis, rls, and services. grpc-services previously had partial bazel support, but some parts were missing. These artifacts are now configured via `IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS` so maven_install will not use the artifacts from Maven Central ([#​9172](https://togithub.com/grpc/grpc-java/issues/9172)) - xds: New ability to configure custom load balancer implementations via the xDS `Cluster.load_balancing_policy` field. This implements [gRFC A52: gRPC xDS Custom Load Balancer Configuration](https://togithub.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md). ([#​9141](https://togithub.com/grpc/grpc-java/issues/9141)) - xds, orca: add support for custom backend metrics reporting: allow setting metrics at gRPC server and consuming metrics reports from a custom load balancing policy at the client. This implements [gRFC A51: Custom Backend Metrics Support](https://togithub.com/grpc/proposal/blob/master/A51-custom-backend-metrics.md). - xds: include node ID in RPC failure status messages from the XdsClient ([#​9099](https://togithub.com/grpc/grpc-java/issues/9099)) - xds: support for the `is_optional` logic in Cluster Specifier Plugins: if an unsupported Cluster Specifier Plugin is optional, don't NACK, and skip any routes that point to it. ([#​9168](https://togithub.com/grpc/grpc-java/issues/9168)) ##### Behavior Changes - xds: Allow unspecified listener traffic direction, to match other languages and to work with Istio ([#​9173](https://togithub.com/grpc/grpc-java/issues/9173)) - xds: change priority load balancer failover time behavior and `ring_hash` LB aggregation rule to better handle transient_failure channel status ([#​9084](https://togithub.com/grpc/grpc-java/issues/9084), [#​9093](https://togithub.com/grpc/grpc-java/issues/9093)) ##### Dependencies - Bump GSON to 2.9.0. Earlier versions of GSON are affected by [CVE-2022-25647](https://nvd.nist.gov/vuln/detail/CVE-2022-25647). gRPC was not impacted by the vulnerability. ([#​9215](https://togithub.com/grpc/grpc-java/issues/9215)) - gcp-observability: add grpc-census as a dependency and update opencensus version ([#​9140](https://togithub.com/grpc/grpc-java/issues/9140)) ##### Acknowledgements [@​caseyduquettesc](https://togithub.com/caseyduquettesc) [@​cfredri4](https://togithub.com/cfredri4) [@​jvolkman](https://togithub.com/jvolkman) [@​mirlord](https://togithub.com/mirlord) [@​ovidiutirla](https://togithub.com/ovidiutirla)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 8861e763dbb0..1c00d1b2f6f3 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.46.0' + compile 'io.grpc:grpc-stub:1.47.0' compile 'io.grpc:grpc-protobuf:1.47.0' compile project(':proto-google-iam-v1') } From 7065ef00a29d36c41d955b3d3d48939a2fd10fd1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 6 Jun 2022 19:34:12 +0200 Subject: [PATCH 2300/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.1 (#841) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.0` -> `3.21.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/compatibility-slim/3.21.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.1/confidence-slim/3.21.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.1`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.0...v3.21.1) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.0...v3.21.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index bf5d5477a96b..1e893bbe1f37 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.34.1 1.41.8 1.47.0 - 3.21.0 + 3.21.1 0.31.1 1.3.2 31.1-jre From 1867b63884cbf876d90edf1712585ffd7d76407b Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Thu, 9 Jun 2022 16:08:37 -0700 Subject: [PATCH 2301/3036] chore: update owlbot.yaml (#347) include v2beta --- java-iam/.github/.OwlBot.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.github/.OwlBot.yaml index fe6bd6427d06..2ff30712c7ca 100644 --- a/java-iam/.github/.OwlBot.yaml +++ b/java-iam/.github/.OwlBot.yaml @@ -29,3 +29,7 @@ deep-copy-regex: dest: "/owl-bot-staging/v1/grpc-google-iam-v1/src" - source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src" dest: "/owl-bot-staging/v1/proto-google-iam-v1/src" +- source: "/google/iam/v2beta/google-iam-v2beta-java/grpc-google-iam-v2beta-java/src" + dest: "/owl-bot-staging/v2beta/grpc-google-iam-v2beta/src" +- source: "/google/iam/v2beta/google-iam-v2beta-java/proto-google-iam-v2beta-java/src" + dest: "/owl-bot-staging/v2beta/proto-google-iam-v2beta/src" From a2734ea2cd41479b6f7af7557c0a34b6ccac56f7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 10 Jun 2022 17:34:16 +0000 Subject: [PATCH 2302/3036] chore(main): release 1.4.1-SNAPSHOT (#352) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 410c4c3cbf98..b6a9a44f0557 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.4.0 + 1.4.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.4.0 + 1.4.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c4ae7f764860..8ea45b7be365 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.4.0 + 1.4.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.4.0 + 1.4.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 3f44b9e18745..865ddbf15be7 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.4.0 + 1.4.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.4.0 + 1.4.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 4071b05a9e56..caf2a82efe69 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.4.0:1.4.0 -grpc-google-iam-v1:1.4.0:1.4.0 +proto-google-iam-v1:1.4.0:1.4.1-SNAPSHOT +grpc-google-iam-v1:1.4.0:1.4.1-SNAPSHOT From d871292f7c2d132a1e5ab8fc2eac763df16dbbee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 18:56:19 +0200 Subject: [PATCH 2303/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.35.1 (#713) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.35.0` -> `1.35.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/compatibility-slim/1.35.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/confidence-slim/1.35.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.35.1`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1351-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1350v1351-2022-06-10) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.35.0...v1.35.1) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.35.0 ([#​2083](https://togithub.com/googleapis/google-api-java-client/issues/2083)) ([fd53573](https://togithub.com/googleapis/google-api-java-client/commit/fd53573cf9a08f71dab8ec757f32bf0f6b615ce9)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.4.0 ([#​2084](https://togithub.com/googleapis/google-api-java-client/issues/2084)) ([df02577](https://togithub.com/googleapis/google-api-java-client/commit/df025779104d9ed6bf1bd8e6b19c8442a83d31b5)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#​2088](https://togithub.com/googleapis/google-api-java-client/issues/2088)) ([960e7be](https://togithub.com/googleapis/google-api-java-client/commit/960e7bef648c38863c6db101178d3bb7f317f145))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 937f87f50e07..441001b52fa7 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.7.0 1.41.8 1.34.0 - 1.35.0 + 1.35.1 1.4.0
    From 24211fb624050fc3f58e36f76c933e47f67fb0ba Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 18:56:28 +0200 Subject: [PATCH 2304/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.0 (#845) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.8` -> `1.42.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/compatibility-slim/1.41.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/confidence-slim/1.41.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.0`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1420-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1417v1420-2022-06-09) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.8...v1.42.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/google-http-java-client/issues/1440)) ([#​1666](https://togithub.com/googleapis/google-http-java-client/issues/1666)) ([05d4019](https://togithub.com/googleapis/google-http-java-client/commit/05d40193d40097e5a793154a0951f2577fc80f04)) - next release from main branch is 1.42.0 ([#​1633](https://togithub.com/googleapis/google-http-java-client/issues/1633)) ([9acb1ab](https://togithub.com/googleapis/google-http-java-client/commit/9acb1abaa97392174dd35c5e0e68346f8f653b5b)) ##### Dependencies - update dependency com.fasterxml.jackson.core:jackson-core to v2.13.3 ([#​1665](https://togithub.com/googleapis/google-http-java-client/issues/1665)) ([e4f0959](https://togithub.com/googleapis/google-http-java-client/commit/e4f095997050047d9a6cc20f034f5ef744aefd44)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#​1630](https://togithub.com/googleapis/google-http-java-client/issues/1630)) ([bf777b3](https://togithub.com/googleapis/google-http-java-client/commit/bf777b364c8aafec09c486dc965587eae90549df)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#​1632](https://togithub.com/googleapis/google-http-java-client/issues/1632)) ([9e46cd8](https://togithub.com/googleapis/google-http-java-client/commit/9e46cd85ed1c14161f6473f926802bf281edc4ad)) - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​1667](https://togithub.com/googleapis/google-http-java-client/issues/1667)) ([3516e18](https://togithub.com/googleapis/google-http-java-client/commit/3516e185b811d1935eebce31ba65da4813f7e998)) - update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#​1639](https://togithub.com/googleapis/google-http-java-client/issues/1639)) ([90a99e2](https://togithub.com/googleapis/google-http-java-client/commit/90a99e27b053f5dc6078d6d8cd9bfe150237e2b4)) - update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#​1668](https://togithub.com/googleapis/google-http-java-client/issues/1668)) ([babbe94](https://togithub.com/googleapis/google-http-java-client/commit/babbe94104710db7b4b428756d7db6c069674ff1)) - update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#​1669](https://togithub.com/googleapis/google-http-java-client/issues/1669)) ([30ec091](https://togithub.com/googleapis/google-http-java-client/commit/30ec091faea7b5ec9f130cb3fdee396e9923a4b9)) - update dependency org.apache.felix:maven-bundle-plugin to v5.1.6 ([#​1643](https://togithub.com/googleapis/google-http-java-client/issues/1643)) ([8547f5f](https://togithub.com/googleapis/google-http-java-client/commit/8547f5fff9b27782162b0b6f0db7445c02918a45)) - update project.appengine.version to v2.0.5 ([#​1662](https://togithub.com/googleapis/google-http-java-client/issues/1662)) ([2c82c0d](https://togithub.com/googleapis/google-http-java-client/commit/2c82c0d4da1162cbc6950cdd6b2f4472b884db13)) - update project.opencensus.version to v0.31.1 ([#​1644](https://togithub.com/googleapis/google-http-java-client/issues/1644)) ([3c65a07](https://togithub.com/googleapis/google-http-java-client/commit/3c65a07c14d2bf7aa6cce25122df85670955d459)) ##### [1.41.7](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.6...v1.41.7) (2022-04-11) ##### Dependencies - revert dependency com.google.protobuf:protobuf-java to v3.19.4 ([#​1626](https://togithub.com/googleapis/google-http-java-client/issues/1626)) ([076433f](https://togithub.com/googleapis/google-http-java-client/commit/076433f3c233a757f31d5fa39bb6cedbb43b8361)) ##### [1.41.6](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.5...v1.41.6) (2022-04-06) ##### Bug Fixes - `Content-Encoding: gzip` along with `Transfer-Encoding: chunked` sometimes terminates early ([#​1608](https://togithub.com/googleapis/google-http-java-client/issues/1608)) ([941da8b](https://togithub.com/googleapis/google-http-java-client/commit/941da8badf64068d11a53ac57a4ba35b2ad13490)) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#​1622](https://togithub.com/googleapis/google-http-java-client/issues/1622)) ([4e1101d](https://togithub.com/googleapis/google-http-java-client/commit/4e1101d7674cb5715b88a00750cdd5286a9ae077)) - update dependency com.google.protobuf:protobuf-java to v3.20.0 ([#​1621](https://togithub.com/googleapis/google-http-java-client/issues/1621)) ([640dc40](https://togithub.com/googleapis/google-http-java-client/commit/640dc4080249b65e5cabb7e1ae6cd9cd5b11bd8e)) ##### [1.41.5](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.4...v1.41.5) (2022-03-21) ##### Documentation - **deps:** libraries-bom 24.4.0 release ([#​1596](https://togithub.com/googleapis/google-http-java-client/issues/1596)) ([327fe12](https://togithub.com/googleapis/google-http-java-client/commit/327fe12a122ebb4022a2da55694217233a2badaf)) ##### Dependencies - update actions/checkout action to v3 ([#​1593](https://togithub.com/googleapis/google-http-java-client/issues/1593)) ([92002c0](https://togithub.com/googleapis/google-http-java-client/commit/92002c07d60b738657383e2484f56abc1cde6920)) - update dependency com.fasterxml.jackson.core:jackson-core to v2.13.2 ([#​1598](https://togithub.com/googleapis/google-http-java-client/issues/1598)) ([41ac833](https://togithub.com/googleapis/google-http-java-client/commit/41ac833249e18cbbd304f825b12202e51bebec85)) - update project.appengine.version to v2 (major) ([#​1597](https://togithub.com/googleapis/google-http-java-client/issues/1597)) ([c06cf95](https://togithub.com/googleapis/google-http-java-client/commit/c06cf95f9b1be77e2229c3b2f78ece0789eaec15)) ##### [1.41.4](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.3...v1.41.4) (2022-02-11) ##### Dependencies - update dependency com.google.code.gson:gson to v2.9.0 ([#​1582](https://togithub.com/googleapis/google-http-java-client/issues/1582)) ([8772778](https://togithub.com/googleapis/google-http-java-client/commit/877277821dad65545518b06123e6e7b9801147a1)) ##### [1.41.3](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.2...v1.41.3) (2022-02-09) ##### Dependencies - update dependency com.google.protobuf:protobuf-java to v3.19.4 ([#​1568](https://togithub.com/googleapis/google-http-java-client/issues/1568)) ([416e5d7](https://togithub.com/googleapis/google-http-java-client/commit/416e5d7146ad145e3d5140110144b5119c6126df)) - update dependency com.puppycrawl.tools:checkstyle to v9.3 ([#​1569](https://togithub.com/googleapis/google-http-java-client/issues/1569)) ([9c7ade8](https://togithub.com/googleapis/google-http-java-client/commit/9c7ade85eceb2dc348e1f9aa0637d0509d634160)) - update project.opencensus.version to v0.31.0 ([#​1563](https://togithub.com/googleapis/google-http-java-client/issues/1563)) ([0f9d2b7](https://togithub.com/googleapis/google-http-java-client/commit/0f9d2b77ae23ea143b5b8caaa21af6548ca92345)) ##### [1.41.2](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.1...v1.41.2) (2022-01-27) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/google-http-java-client/issues/1339)) ([#​1561](https://togithub.com/googleapis/google-http-java-client/issues/1561)) ([c5dbec1](https://togithub.com/googleapis/google-http-java-client/commit/c5dbec1bbfb5f26f952cb8d80f607327594ab7a8)) - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#​1560](https://togithub.com/googleapis/google-http-java-client/issues/1560)) ([d9609b0](https://togithub.com/googleapis/google-http-java-client/commit/d9609b00089952d816deffa178640bfcae1f2c3a)) ##### [1.41.1](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.0...v1.41.1) (2022-01-21) ##### Dependencies - update dependency com.fasterxml.jackson.core:jackson-core to v2.13.1 ([#​1527](https://togithub.com/googleapis/google-http-java-client/issues/1527)) ([7750398](https://togithub.com/googleapis/google-http-java-client/commit/7750398d6f4d6e447bfe078092f5cb146f747e50)) - update dependency com.google.protobuf:protobuf-java to v3.19.3 ([#​1549](https://togithub.com/googleapis/google-http-java-client/issues/1549)) ([50c0765](https://togithub.com/googleapis/google-http-java-client/commit/50c0765f1eadbf7aef2dccf5f78ab62e2533c6f6)) - update dependency com.puppycrawl.tools:checkstyle to v9.2.1 ([#​1532](https://togithub.com/googleapis/google-http-java-client/issues/1532)) ([e13eebd](https://togithub.com/googleapis/google-http-java-client/commit/e13eebd288afbde3aa7bdc0229c2d0db90ebbd4c)) - update dependency kr.motd.maven:os-maven-plugin to v1.7.0 ([#​1547](https://togithub.com/googleapis/google-http-java-client/issues/1547)) ([8df0dbe](https://togithub.com/googleapis/google-http-java-client/commit/8df0dbe53521e918985e8f4882392cd2e0a0a1c3)) - update dependency org.apache.felix:maven-bundle-plugin to v5 ([#​1548](https://togithub.com/googleapis/google-http-java-client/issues/1548)) ([ac10b6c](https://togithub.com/googleapis/google-http-java-client/commit/ac10b6c9fbe4986b8bf130d9f83ae77e84d74e5f)) - update project.appengine.version to v1.9.94 ([#​1557](https://togithub.com/googleapis/google-http-java-client/issues/1557)) ([05c78f4](https://togithub.com/googleapis/google-http-java-client/commit/05c78f4bee92cc501aa084ad970ed6ac9c0e0444)) - update project.opencensus.version to v0.30.0 ([#​1526](https://togithub.com/googleapis/google-http-java-client/issues/1526)) ([318e54a](https://togithub.com/googleapis/google-http-java-client/commit/318e54ae9be6bfeb4f5af0af0cb954031d95d1f9))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1e893bbe1f37..a1a6e47a71f0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.4.0 1.7.0 1.34.1 - 1.41.8 + 1.42.0 1.47.0 3.21.1 0.31.1 From 79a46765fbe6057ad63e2bbb2443beda512b5b58 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 18:56:28 +0200 Subject: [PATCH 2305/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.0 (#711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.8` -> `1.42.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/compatibility-slim/1.41.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.0/confidence-slim/1.41.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.0`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1420-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1417v1420-2022-06-09) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.8...v1.42.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/google-http-java-client/issues/1440)) ([#​1666](https://togithub.com/googleapis/google-http-java-client/issues/1666)) ([05d4019](https://togithub.com/googleapis/google-http-java-client/commit/05d40193d40097e5a793154a0951f2577fc80f04)) - next release from main branch is 1.42.0 ([#​1633](https://togithub.com/googleapis/google-http-java-client/issues/1633)) ([9acb1ab](https://togithub.com/googleapis/google-http-java-client/commit/9acb1abaa97392174dd35c5e0e68346f8f653b5b)) ##### Dependencies - update dependency com.fasterxml.jackson.core:jackson-core to v2.13.3 ([#​1665](https://togithub.com/googleapis/google-http-java-client/issues/1665)) ([e4f0959](https://togithub.com/googleapis/google-http-java-client/commit/e4f095997050047d9a6cc20f034f5ef744aefd44)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#​1630](https://togithub.com/googleapis/google-http-java-client/issues/1630)) ([bf777b3](https://togithub.com/googleapis/google-http-java-client/commit/bf777b364c8aafec09c486dc965587eae90549df)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#​1632](https://togithub.com/googleapis/google-http-java-client/issues/1632)) ([9e46cd8](https://togithub.com/googleapis/google-http-java-client/commit/9e46cd85ed1c14161f6473f926802bf281edc4ad)) - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​1667](https://togithub.com/googleapis/google-http-java-client/issues/1667)) ([3516e18](https://togithub.com/googleapis/google-http-java-client/commit/3516e185b811d1935eebce31ba65da4813f7e998)) - update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#​1639](https://togithub.com/googleapis/google-http-java-client/issues/1639)) ([90a99e2](https://togithub.com/googleapis/google-http-java-client/commit/90a99e27b053f5dc6078d6d8cd9bfe150237e2b4)) - update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#​1668](https://togithub.com/googleapis/google-http-java-client/issues/1668)) ([babbe94](https://togithub.com/googleapis/google-http-java-client/commit/babbe94104710db7b4b428756d7db6c069674ff1)) - update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#​1669](https://togithub.com/googleapis/google-http-java-client/issues/1669)) ([30ec091](https://togithub.com/googleapis/google-http-java-client/commit/30ec091faea7b5ec9f130cb3fdee396e9923a4b9)) - update dependency org.apache.felix:maven-bundle-plugin to v5.1.6 ([#​1643](https://togithub.com/googleapis/google-http-java-client/issues/1643)) ([8547f5f](https://togithub.com/googleapis/google-http-java-client/commit/8547f5fff9b27782162b0b6f0db7445c02918a45)) - update project.appengine.version to v2.0.5 ([#​1662](https://togithub.com/googleapis/google-http-java-client/issues/1662)) ([2c82c0d](https://togithub.com/googleapis/google-http-java-client/commit/2c82c0d4da1162cbc6950cdd6b2f4472b884db13)) - update project.opencensus.version to v0.31.1 ([#​1644](https://togithub.com/googleapis/google-http-java-client/issues/1644)) ([3c65a07](https://togithub.com/googleapis/google-http-java-client/commit/3c65a07c14d2bf7aa6cce25122df85670955d459)) ##### [1.41.7](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.6...v1.41.7) (2022-04-11) ##### Dependencies - revert dependency com.google.protobuf:protobuf-java to v3.19.4 ([#​1626](https://togithub.com/googleapis/google-http-java-client/issues/1626)) ([076433f](https://togithub.com/googleapis/google-http-java-client/commit/076433f3c233a757f31d5fa39bb6cedbb43b8361)) ##### [1.41.6](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.5...v1.41.6) (2022-04-06) ##### Bug Fixes - `Content-Encoding: gzip` along with `Transfer-Encoding: chunked` sometimes terminates early ([#​1608](https://togithub.com/googleapis/google-http-java-client/issues/1608)) ([941da8b](https://togithub.com/googleapis/google-http-java-client/commit/941da8badf64068d11a53ac57a4ba35b2ad13490)) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#​1622](https://togithub.com/googleapis/google-http-java-client/issues/1622)) ([4e1101d](https://togithub.com/googleapis/google-http-java-client/commit/4e1101d7674cb5715b88a00750cdd5286a9ae077)) - update dependency com.google.protobuf:protobuf-java to v3.20.0 ([#​1621](https://togithub.com/googleapis/google-http-java-client/issues/1621)) ([640dc40](https://togithub.com/googleapis/google-http-java-client/commit/640dc4080249b65e5cabb7e1ae6cd9cd5b11bd8e)) ##### [1.41.5](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.4...v1.41.5) (2022-03-21) ##### Documentation - **deps:** libraries-bom 24.4.0 release ([#​1596](https://togithub.com/googleapis/google-http-java-client/issues/1596)) ([327fe12](https://togithub.com/googleapis/google-http-java-client/commit/327fe12a122ebb4022a2da55694217233a2badaf)) ##### Dependencies - update actions/checkout action to v3 ([#​1593](https://togithub.com/googleapis/google-http-java-client/issues/1593)) ([92002c0](https://togithub.com/googleapis/google-http-java-client/commit/92002c07d60b738657383e2484f56abc1cde6920)) - update dependency com.fasterxml.jackson.core:jackson-core to v2.13.2 ([#​1598](https://togithub.com/googleapis/google-http-java-client/issues/1598)) ([41ac833](https://togithub.com/googleapis/google-http-java-client/commit/41ac833249e18cbbd304f825b12202e51bebec85)) - update project.appengine.version to v2 (major) ([#​1597](https://togithub.com/googleapis/google-http-java-client/issues/1597)) ([c06cf95](https://togithub.com/googleapis/google-http-java-client/commit/c06cf95f9b1be77e2229c3b2f78ece0789eaec15)) ##### [1.41.4](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.3...v1.41.4) (2022-02-11) ##### Dependencies - update dependency com.google.code.gson:gson to v2.9.0 ([#​1582](https://togithub.com/googleapis/google-http-java-client/issues/1582)) ([8772778](https://togithub.com/googleapis/google-http-java-client/commit/877277821dad65545518b06123e6e7b9801147a1)) ##### [1.41.3](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.2...v1.41.3) (2022-02-09) ##### Dependencies - update dependency com.google.protobuf:protobuf-java to v3.19.4 ([#​1568](https://togithub.com/googleapis/google-http-java-client/issues/1568)) ([416e5d7](https://togithub.com/googleapis/google-http-java-client/commit/416e5d7146ad145e3d5140110144b5119c6126df)) - update dependency com.puppycrawl.tools:checkstyle to v9.3 ([#​1569](https://togithub.com/googleapis/google-http-java-client/issues/1569)) ([9c7ade8](https://togithub.com/googleapis/google-http-java-client/commit/9c7ade85eceb2dc348e1f9aa0637d0509d634160)) - update project.opencensus.version to v0.31.0 ([#​1563](https://togithub.com/googleapis/google-http-java-client/issues/1563)) ([0f9d2b7](https://togithub.com/googleapis/google-http-java-client/commit/0f9d2b77ae23ea143b5b8caaa21af6548ca92345)) ##### [1.41.2](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.1...v1.41.2) (2022-01-27) ##### Dependencies - **java:** update actions/github-script action to v5 ([#​1339](https://togithub.com/googleapis/google-http-java-client/issues/1339)) ([#​1561](https://togithub.com/googleapis/google-http-java-client/issues/1561)) ([c5dbec1](https://togithub.com/googleapis/google-http-java-client/commit/c5dbec1bbfb5f26f952cb8d80f607327594ab7a8)) - update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#​1560](https://togithub.com/googleapis/google-http-java-client/issues/1560)) ([d9609b0](https://togithub.com/googleapis/google-http-java-client/commit/d9609b00089952d816deffa178640bfcae1f2c3a)) ##### [1.41.1](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.0...v1.41.1) (2022-01-21) ##### Dependencies - update dependency com.fasterxml.jackson.core:jackson-core to v2.13.1 ([#​1527](https://togithub.com/googleapis/google-http-java-client/issues/1527)) ([7750398](https://togithub.com/googleapis/google-http-java-client/commit/7750398d6f4d6e447bfe078092f5cb146f747e50)) - update dependency com.google.protobuf:protobuf-java to v3.19.3 ([#​1549](https://togithub.com/googleapis/google-http-java-client/issues/1549)) ([50c0765](https://togithub.com/googleapis/google-http-java-client/commit/50c0765f1eadbf7aef2dccf5f78ab62e2533c6f6)) - update dependency com.puppycrawl.tools:checkstyle to v9.2.1 ([#​1532](https://togithub.com/googleapis/google-http-java-client/issues/1532)) ([e13eebd](https://togithub.com/googleapis/google-http-java-client/commit/e13eebd288afbde3aa7bdc0229c2d0db90ebbd4c)) - update dependency kr.motd.maven:os-maven-plugin to v1.7.0 ([#​1547](https://togithub.com/googleapis/google-http-java-client/issues/1547)) ([8df0dbe](https://togithub.com/googleapis/google-http-java-client/commit/8df0dbe53521e918985e8f4882392cd2e0a0a1c3)) - update dependency org.apache.felix:maven-bundle-plugin to v5 ([#​1548](https://togithub.com/googleapis/google-http-java-client/issues/1548)) ([ac10b6c](https://togithub.com/googleapis/google-http-java-client/commit/ac10b6c9fbe4986b8bf130d9f83ae77e84d74e5f)) - update project.appengine.version to v1.9.94 ([#​1557](https://togithub.com/googleapis/google-http-java-client/issues/1557)) ([05c78f4](https://togithub.com/googleapis/google-http-java-client/commit/05c78f4bee92cc501aa084ad970ed6ac9c0e0444)) - update project.opencensus.version to v0.30.0 ([#​1526](https://togithub.com/googleapis/google-http-java-client/issues/1526)) ([318e54a](https://togithub.com/googleapis/google-http-java-client/commit/318e54ae9be6bfeb4f5af0af0cb954031d95d1f9))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 441001b52fa7..067ff26b6295 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.8.3 2.7.1 1.7.0 - 1.41.8 + 1.42.0 1.34.0 1.35.1 1.4.0 From 981b634250d7cced52acd4c35cb17b69b4d85318 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 18:58:14 +0200 Subject: [PATCH 2306/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 (#846) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.3` -> `2.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/compatibility-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/confidence-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.0`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​290-httpsgithubcomgoogleapisjava-common-protoscomparev283v290-2022-06-06) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.8.3...v2.9.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-common-protos/issues/1440)) ([#​368](https://togithub.com/googleapis/java-common-protos/issues/368)) ([0b58c8c](https://togithub.com/googleapis/java-common-protos/commit/0b58c8c234513f82e7057ad7aa0c1d82b6bb9761)) - next release from main branch is 2.9.0 ([#​354](https://togithub.com/googleapis/java-common-protos/issues/354)) ([1858e4f](https://togithub.com/googleapis/java-common-protos/commit/1858e4f90299ab6ae2fa937cd9c033c238540336)) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#​360](https://togithub.com/googleapis/java-common-protos/issues/360)) ([83fc812](https://togithub.com/googleapis/java-common-protos/commit/83fc812f71ca8870d3875f6fab3cdc4a3d91f8df)) - update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#​369](https://togithub.com/googleapis/java-common-protos/issues/369)) ([b011a05](https://togithub.com/googleapis/java-common-protos/commit/b011a055c437395aac5fdf3fa32208f6dd958d69)) - update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#​371](https://togithub.com/googleapis/java-common-protos/issues/371)) ([5f5c43a](https://togithub.com/googleapis/java-common-protos/commit/5f5c43a1ebc96a862b5881545f676b297526dde6)) - update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#​361](https://togithub.com/googleapis/java-common-protos/issues/361)) ([2423c08](https://togithub.com/googleapis/java-common-protos/commit/2423c08c1726ecfeba02edf19a9da4c8e4c9426f)) - update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#​370](https://togithub.com/googleapis/java-common-protos/issues/370)) ([de8d5f1](https://togithub.com/googleapis/java-common-protos/commit/de8d5f1a6486b01b5145460391161e8882f18b68)) - update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#​372](https://togithub.com/googleapis/java-common-protos/issues/372)) ([c9723c5](https://togithub.com/googleapis/java-common-protos/commit/c9723c5b6dd2ab386672b737ca26349c6a4e7731)) - update dependency io.grpc:grpc-bom to v1.46.0 ([#​362](https://togithub.com/googleapis/java-common-protos/issues/362)) ([8222c0f](https://togithub.com/googleapis/java-common-protos/commit/8222c0ff268d2bbdaa1f591f0b840f099f421c5e)) - update dependency io.grpc:grpc-bom to v1.47.0 ([#​373](https://togithub.com/googleapis/java-common-protos/issues/373)) ([71d07af](https://togithub.com/googleapis/java-common-protos/commit/71d07afa1ebb52d0cb95fac0529d343501a5c7a3)) - update dependency io.grpc:grpc-protobuf to v1.46.0 ([#​363](https://togithub.com/googleapis/java-common-protos/issues/363)) ([c03a2b7](https://togithub.com/googleapis/java-common-protos/commit/c03a2b77a3bb7e637f8cce961fa23322bc977a29)) - update dependency io.grpc:grpc-protobuf to v1.47.0 ([#​374](https://togithub.com/googleapis/java-common-protos/issues/374)) ([003fae8](https://togithub.com/googleapis/java-common-protos/commit/003fae815194859bae8724123925ab55774ba475)) - update dependency io.grpc:grpc-stub to v1.46.0 ([#​364](https://togithub.com/googleapis/java-common-protos/issues/364)) ([0bc45a5](https://togithub.com/googleapis/java-common-protos/commit/0bc45a5254a21cd5eb0582abf9fe2fc7a54d45c7)) - update dependency io.grpc:grpc-stub to v1.47.0 ([#​375](https://togithub.com/googleapis/java-common-protos/issues/375)) ([c27d218](https://togithub.com/googleapis/java-common-protos/commit/c27d218b4684ab378e631b3da4970f433929db68)) ##### [2.8.3](https://togithub.com/googleapis/java-common-protos/compare/v2.8.2...v2.8.3) (2022-04-12) ##### Dependencies - reverting protobuf java to 3.19 in pom.xml ([#​351](https://togithub.com/googleapis/java-common-protos/issues/351)) ([3e8a624](https://togithub.com/googleapis/java-common-protos/commit/3e8a6249cc91d0ff4153563240f6ef18086c68ab)) ##### [2.8.2](https://togithub.com/googleapis/java-common-protos/compare/v2.8.1...v2.8.2) (2022-04-11) ##### Dependencies - revert protobuf to 3.19 ([#​348](https://togithub.com/googleapis/java-common-protos/issues/348)) ([80b5ef6](https://togithub.com/googleapis/java-common-protos/commit/80b5ef6221a4bce5a15f4bde7ae0f964ab72452a)) ##### [2.8.1](https://togithub.com/googleapis/java-common-protos/compare/v2.8.0...v2.8.1) (2022-04-07) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#​342](https://togithub.com/googleapis/java-common-protos/issues/342)) ([9314088](https://togithub.com/googleapis/java-common-protos/commit/931408869a86c05929496c27deafba8191f16518)) - update dependency com.google.protobuf:protobuf-java to v3.20.0 ([#​343](https://togithub.com/googleapis/java-common-protos/issues/343)) ([7c1b0db](https://togithub.com/googleapis/java-common-protos/commit/7c1b0dbe597790514064c6923c278c1020037471)) - update dependency io.grpc:grpc-bom to v1.45.1 ([#​339](https://togithub.com/googleapis/java-common-protos/issues/339)) ([4d713c3](https://togithub.com/googleapis/java-common-protos/commit/4d713c3cc3e071a858a1f10bb522a69c1cec9e22)) - update dependency io.grpc:grpc-protobuf to v1.45.1 ([#​340](https://togithub.com/googleapis/java-common-protos/issues/340)) ([db951fb](https://togithub.com/googleapis/java-common-protos/commit/db951fbae45d249da9ba7ba44018da3043d0172a)) - update dependency io.grpc:grpc-stub to v1.45.1 ([#​341](https://togithub.com/googleapis/java-common-protos/issues/341)) ([b661805](https://togithub.com/googleapis/java-common-protos/commit/b661805d37fe107d0bafc7fbabc1667cde6a1018))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a1a6e47a71f0..14a1464da764 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.18.1 2.2.0 - 2.8.3 + 2.9.0 1.4.0 1.7.0 1.34.1 From d25da5015bda191f13a4bbc284f58ecb30ceb0b8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:00:26 +0200 Subject: [PATCH 2307/3036] deps: update dependency com.google.api:api-common to v2.2.1 (#710) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.0` -> `2.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.2.1`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​221-httpsgithubcomgoogleapisapi-common-javacomparev220v221-2022-06-09) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.2.0...v2.2.1) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​360](https://togithub.com/googleapis/api-common-java/issues/360)) ([2bf75c6](https://togithub.com/googleapis/api-common-java/commit/2bf75c6415646df0a2dd074a75bd044d0bdc67ca))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 067ff26b6295..d9a175f4e291 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.1.0 31.1-jre 3.21.1 - 2.2.0 + 2.2.1 2.8.3 2.7.1 1.7.0 From ec7c31bbd8b7f2046c864090636f17e0353beddd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:06:15 +0200 Subject: [PATCH 2308/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.0 (#360) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.4.0` -> `1.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/compatibility-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/confidence-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​150-httpsgithubcomgoogleapisjava-shared-configcomparev140v150-2022-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.4.0...v1.5.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-shared-config/issues/1440)) ([#​475](https://togithub.com/googleapis/java-shared-config/issues/475)) ([e4dfc1b](https://togithub.com/googleapis/java-shared-config/commit/e4dfc1ba29295158c78c8fcf94467d2a6a33538a)) - to produce Java 8 compatible bytecode when using JDK 9+ ([2468276](https://togithub.com/googleapis/java-shared-config/commit/2468276145cdfe1ca911b52f765e026e77661a09)) ##### Dependencies - update surefire.version to v3.0.0-m7 ([bbfe663](https://togithub.com/googleapis/java-shared-config/commit/bbfe66393af3e49612c9c1e4334ba39c133ea1d0))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 8ea45b7be365..b09d6150882e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 From b215ac5f5137a5bba05c35b6263eafdfc27b5d62 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:10:14 +0200 Subject: [PATCH 2309/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.0 (#715) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.4.0` -> `1.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/compatibility-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/confidence-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​150-httpsgithubcomgoogleapisjava-shared-configcomparev140v150-2022-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.4.0...v1.5.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-shared-config/issues/1440)) ([#​475](https://togithub.com/googleapis/java-shared-config/issues/475)) ([e4dfc1b](https://togithub.com/googleapis/java-shared-config/commit/e4dfc1ba29295158c78c8fcf94467d2a6a33538a)) - to produce Java 8 compatible bytecode when using JDK 9+ ([2468276](https://togithub.com/googleapis/java-shared-config/commit/2468276145cdfe1ca911b52f765e026e77661a09)) ##### Dependencies - update surefire.version to v3.0.0-m7 ([bbfe663](https://togithub.com/googleapis/java-shared-config/commit/bbfe66393af3e49612c9c1e4334ba39c133ea1d0))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d9a175f4e291..2d8eba4ca4e7 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 72b8f8809dc0..35a7d4bc336d 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index c7cbd9933492..4b33f1b2f784 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 32453c603d62..990ca3a1962e 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 From aaa9f63a47a55e2ef6e25f7d56d1ac7980f6a954 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:10:14 +0200 Subject: [PATCH 2310/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.0 (#847) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.4.0` -> `1.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/compatibility-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.0/confidence-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​150-httpsgithubcomgoogleapisjava-shared-configcomparev140v150-2022-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.4.0...v1.5.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-shared-config/issues/1440)) ([#​475](https://togithub.com/googleapis/java-shared-config/issues/475)) ([e4dfc1b](https://togithub.com/googleapis/java-shared-config/commit/e4dfc1ba29295158c78c8fcf94467d2a6a33538a)) - to produce Java 8 compatible bytecode when using JDK 9+ ([2468276](https://togithub.com/googleapis/java-shared-config/commit/2468276145cdfe1ca911b52f765e026e77661a09)) ##### Dependencies - update surefire.version to v3.0.0-m7 ([bbfe663](https://togithub.com/googleapis/java-shared-config/commit/bbfe66393af3e49612c9c1e4334ba39c133ea1d0))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 150e1f37bccd..efbfe1cbe1cc 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 14a1464da764..b4d908a38b38 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.4.0 + 1.5.0 From ca095d649c71b445dc1f46db7adfd11633a34a5c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:10:27 +0200 Subject: [PATCH 2311/3036] deps: update dependency com.google.api:api-common to v2.2.1 (#358) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.0` -> `2.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.2.1`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​221-httpsgithubcomgoogleapisapi-common-javacomparev220v221-2022-06-09) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​360](https://togithub.com/googleapis/api-common-java/issues/360)) ([2bf75c6](https://togithub.com/googleapis/api-common-java/commit/2bf75c6415646df0a2dd074a75bd044d0bdc67ca))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 6689e3f2a705..19fc5af4d956 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.21.1' - compile 'com.google.api:api-common:2.2.0' + compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From 1bccae33a3257159e7145afe65184b6939da821d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:22:11 +0200 Subject: [PATCH 2312/3036] deps: update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 (#712) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.oauth-client:google-oauth-client-bom](https://togithub.com/googleapis/google-oauth-java-client) | `1.34.0` -> `1.34.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.1/compatibility-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client-bom/1.34.1/confidence-slim/1.34.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-oauth-java-client ### [`v1.34.1`](https://togithub.com/googleapis/google-oauth-java-client/blob/HEAD/CHANGELOG.md#​1341-httpsgithubcomgoogleapisgoogle-oauth-java-clientcomparev1340v1341-2022-06-09) [Compare Source](https://togithub.com/googleapis/google-oauth-java-client/compare/v1.34.0...v1.34.1) ##### Bug Fixes - .repo-metadata.json file with https: [#​813](https://togithub.com/googleapis/google-oauth-java-client/issues/813) ([#​898](https://togithub.com/googleapis/google-oauth-java-client/issues/898)) ([be4d54a](https://togithub.com/googleapis/google-oauth-java-client/commit/be4d54ad6b3264a1246cd1bd5789140112407681)) ##### Dependencies - update project.http.version to v1.42.0 ([#​902](https://togithub.com/googleapis/google-oauth-java-client/issues/902)) ([51c1eb5](https://togithub.com/googleapis/google-oauth-java-client/commit/51c1eb5e4c6797b51b4347046422681780bd0d81))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2d8eba4ca4e7..33f5e9be8c32 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.7.1 1.7.0 1.42.0 - 1.34.0 + 1.34.1 1.35.1 1.4.0 From d711da97963019d0b17c26edf5ca4a262ecf2bd1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:24:42 +0200 Subject: [PATCH 2313/3036] deps: update dependency com.google.api:api-common to v2.2.1 (#844) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.0` -> `2.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.1/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.2.1`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​221-httpsgithubcomgoogleapisapi-common-javacomparev220v221-2022-06-09) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.2.0...v2.2.1) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​360](https://togithub.com/googleapis/api-common-java/issues/360)) ([2bf75c6](https://togithub.com/googleapis/api-common-java/commit/2bf75c6415646df0a2dd074a75bd044d0bdc67ca))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b4d908a38b38..2dc8c8bd21c3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.18.1 - 2.2.0 + 2.2.1 2.9.0 1.4.0 1.7.0 From 4bf07827165b2afe3f34d7dcad4418852facb425 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 13 Jun 2022 19:24:47 +0200 Subject: [PATCH 2314/3036] deps: update google.common-protos.version to v2.9.0 (#714) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.3` -> `2.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.0/compatibility-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.0/confidence-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.8.3` -> `2.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/compatibility-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.0/confidence-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.0`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​290-httpsgithubcomgoogleapisjava-common-protoscomparev283v290-2022-06-06) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.8.3...v2.9.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-common-protos/issues/1440)) ([#​368](https://togithub.com/googleapis/java-common-protos/issues/368)) ([0b58c8c](https://togithub.com/googleapis/java-common-protos/commit/0b58c8c234513f82e7057ad7aa0c1d82b6bb9761)) - next release from main branch is 2.9.0 ([#​354](https://togithub.com/googleapis/java-common-protos/issues/354)) ([1858e4f](https://togithub.com/googleapis/java-common-protos/commit/1858e4f90299ab6ae2fa937cd9c033c238540336)) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#​360](https://togithub.com/googleapis/java-common-protos/issues/360)) ([83fc812](https://togithub.com/googleapis/java-common-protos/commit/83fc812f71ca8870d3875f6fab3cdc4a3d91f8df)) - update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#​369](https://togithub.com/googleapis/java-common-protos/issues/369)) ([b011a05](https://togithub.com/googleapis/java-common-protos/commit/b011a055c437395aac5fdf3fa32208f6dd958d69)) - update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#​371](https://togithub.com/googleapis/java-common-protos/issues/371)) ([5f5c43a](https://togithub.com/googleapis/java-common-protos/commit/5f5c43a1ebc96a862b5881545f676b297526dde6)) - update dependency com.google.protobuf:protobuf-java to v3.20.1 ([#​361](https://togithub.com/googleapis/java-common-protos/issues/361)) ([2423c08](https://togithub.com/googleapis/java-common-protos/commit/2423c08c1726ecfeba02edf19a9da4c8e4c9426f)) - update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#​370](https://togithub.com/googleapis/java-common-protos/issues/370)) ([de8d5f1](https://togithub.com/googleapis/java-common-protos/commit/de8d5f1a6486b01b5145460391161e8882f18b68)) - update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#​372](https://togithub.com/googleapis/java-common-protos/issues/372)) ([c9723c5](https://togithub.com/googleapis/java-common-protos/commit/c9723c5b6dd2ab386672b737ca26349c6a4e7731)) - update dependency io.grpc:grpc-bom to v1.46.0 ([#​362](https://togithub.com/googleapis/java-common-protos/issues/362)) ([8222c0f](https://togithub.com/googleapis/java-common-protos/commit/8222c0ff268d2bbdaa1f591f0b840f099f421c5e)) - update dependency io.grpc:grpc-bom to v1.47.0 ([#​373](https://togithub.com/googleapis/java-common-protos/issues/373)) ([71d07af](https://togithub.com/googleapis/java-common-protos/commit/71d07afa1ebb52d0cb95fac0529d343501a5c7a3)) - update dependency io.grpc:grpc-protobuf to v1.46.0 ([#​363](https://togithub.com/googleapis/java-common-protos/issues/363)) ([c03a2b7](https://togithub.com/googleapis/java-common-protos/commit/c03a2b77a3bb7e637f8cce961fa23322bc977a29)) - update dependency io.grpc:grpc-protobuf to v1.47.0 ([#​374](https://togithub.com/googleapis/java-common-protos/issues/374)) ([003fae8](https://togithub.com/googleapis/java-common-protos/commit/003fae815194859bae8724123925ab55774ba475)) - update dependency io.grpc:grpc-stub to v1.46.0 ([#​364](https://togithub.com/googleapis/java-common-protos/issues/364)) ([0bc45a5](https://togithub.com/googleapis/java-common-protos/commit/0bc45a5254a21cd5eb0582abf9fe2fc7a54d45c7)) - update dependency io.grpc:grpc-stub to v1.47.0 ([#​375](https://togithub.com/googleapis/java-common-protos/issues/375)) ([c27d218](https://togithub.com/googleapis/java-common-protos/commit/c27d218b4684ab378e631b3da4970f433929db68)) ##### [2.8.3](https://togithub.com/googleapis/java-common-protos/compare/v2.8.2...v2.8.3) (2022-04-12) ##### Dependencies - reverting protobuf java to 3.19 in pom.xml ([#​351](https://togithub.com/googleapis/java-common-protos/issues/351)) ([3e8a624](https://togithub.com/googleapis/java-common-protos/commit/3e8a6249cc91d0ff4153563240f6ef18086c68ab)) ##### [2.8.2](https://togithub.com/googleapis/java-common-protos/compare/v2.8.1...v2.8.2) (2022-04-11) ##### Dependencies - revert protobuf to 3.19 ([#​348](https://togithub.com/googleapis/java-common-protos/issues/348)) ([80b5ef6](https://togithub.com/googleapis/java-common-protos/commit/80b5ef6221a4bce5a15f4bde7ae0f964ab72452a)) ##### [2.8.1](https://togithub.com/googleapis/java-common-protos/compare/v2.8.0...v2.8.1) (2022-04-07) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#​342](https://togithub.com/googleapis/java-common-protos/issues/342)) ([9314088](https://togithub.com/googleapis/java-common-protos/commit/931408869a86c05929496c27deafba8191f16518)) - update dependency com.google.protobuf:protobuf-java to v3.20.0 ([#​343](https://togithub.com/googleapis/java-common-protos/issues/343)) ([7c1b0db](https://togithub.com/googleapis/java-common-protos/commit/7c1b0dbe597790514064c6923c278c1020037471)) - update dependency io.grpc:grpc-bom to v1.45.1 ([#​339](https://togithub.com/googleapis/java-common-protos/issues/339)) ([4d713c3](https://togithub.com/googleapis/java-common-protos/commit/4d713c3cc3e071a858a1f10bb522a69c1cec9e22)) - update dependency io.grpc:grpc-protobuf to v1.45.1 ([#​340](https://togithub.com/googleapis/java-common-protos/issues/340)) ([db951fb](https://togithub.com/googleapis/java-common-protos/commit/db951fbae45d249da9ba7ba44018da3043d0172a)) - update dependency io.grpc:grpc-stub to v1.45.1 ([#​341](https://togithub.com/googleapis/java-common-protos/issues/341)) ([b661805](https://togithub.com/googleapis/java-common-protos/commit/b661805d37fe107d0bafc7fbabc1667cde6a1018))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 33f5e9be8c32..49a4f64695a4 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.1-jre 3.21.1 2.2.1 - 2.8.3 + 2.9.0 2.7.1 1.7.0 1.42.0 From 7d6af8c965f13203c2d1c83001bd79c7fe73fc61 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 17:24:53 +0000 Subject: [PATCH 2315/3036] chore(main): release 1.4.1 (#359) :robot: I have created a release *beep* *boop* --- ## [1.4.1](https://github.com/googleapis/java-iam/compare/v1.4.0...v1.4.1) (2022-06-13) ### Dependencies * update dependency com.google.api:api-common to v2.2.1 ([#358](https://github.com/googleapis/java-iam/issues/358)) ([ca095d6](https://github.com/googleapis/java-iam/commit/ca095d649c71b445dc1f46db7adfd11633a34a5c)) * update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#354](https://github.com/googleapis/java-iam/issues/354)) ([8c9442d](https://github.com/googleapis/java-iam/commit/8c9442deaba221e245e06354c2301504ebdfb9a2)) * update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#355](https://github.com/googleapis/java-iam/issues/355)) ([19ea082](https://github.com/googleapis/java-iam/commit/19ea082f93dadc5147e862d132ba1b2abd3e885a)) * update dependency io.grpc:grpc-protobuf to v1.47.0 ([#356](https://github.com/googleapis/java-iam/issues/356)) ([6c16481](https://github.com/googleapis/java-iam/commit/6c164817f79f96e9e5c995e92ef210560edcf78a)) * update dependency io.grpc:grpc-stub to v1.47.0 ([#357](https://github.com/googleapis/java-iam/issues/357)) ([698bd90](https://github.com/googleapis/java-iam/commit/698bd90a9db3fec733b20efa1a2459f891eec735)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 11 +++++++++++ java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 29ae049deaf4..4d5dca5ef1d3 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [1.4.1](https://github.com/googleapis/java-iam/compare/v1.4.0...v1.4.1) (2022-06-13) + + +### Dependencies + +* update dependency com.google.api:api-common to v2.2.1 ([#358](https://github.com/googleapis/java-iam/issues/358)) ([e70e79f](https://github.com/googleapis/java-iam/commit/e70e79f3a8e6f3e2deac17d57489a5d6266e3e44)) +* update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#354](https://github.com/googleapis/java-iam/issues/354)) ([0856c38](https://github.com/googleapis/java-iam/commit/0856c38dbc50cbe785e4f92a2f8ae55683a09613)) +* update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#355](https://github.com/googleapis/java-iam/issues/355)) ([91c7aa3](https://github.com/googleapis/java-iam/commit/91c7aa3b03c30dbea09baf0eb674e92f5605b14d)) +* update dependency io.grpc:grpc-protobuf to v1.47.0 ([#356](https://github.com/googleapis/java-iam/issues/356)) ([560c161](https://github.com/googleapis/java-iam/commit/560c1614ca01e56479a4a8a732f3575f243076ef)) +* update dependency io.grpc:grpc-stub to v1.47.0 ([#357](https://github.com/googleapis/java-iam/issues/357)) ([37b9061](https://github.com/googleapis/java-iam/commit/37b906144fee70a5050c8e67e820435b2d42f781)) + ## [1.4.0](https://github.com/googleapis/java-iam/compare/v1.3.4...v1.4.0) (2022-05-19) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index b6a9a44f0557..11dc03c50f97 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.4.1-SNAPSHOT + 1.4.1 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.4.1-SNAPSHOT + 1.4.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b09d6150882e..4e0512537e22 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.4.1-SNAPSHOT + 1.4.1 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.4.1-SNAPSHOT + 1.4.1 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 865ddbf15be7..b3a7604d5592 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.4.1-SNAPSHOT + 1.4.1 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.4.1-SNAPSHOT + 1.4.1 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index caf2a82efe69..62af3980f937 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.4.0:1.4.1-SNAPSHOT -grpc-google-iam-v1:1.4.0:1.4.1-SNAPSHOT +proto-google-iam-v1:1.4.1:1.4.1 +grpc-google-iam-v1:1.4.1:1.4.1 From cd3a358b98d60a21a545ef7077da04dd2541908e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 17:30:12 +0000 Subject: [PATCH 2316/3036] chore(main): release 1.4.2-SNAPSHOT (#361) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/pom.xml | 4 ++-- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/versions.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 11dc03c50f97..938b488aa9d5 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.4.1 + 1.4.2-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.4.1 + 1.4.2-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 4e0512537e22..33c1f6c4dbeb 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.4.1 + 1.4.2-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,7 +77,7 @@ com.google.api.grpc proto-google-iam-v1 - 1.4.1 + 1.4.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b3a7604d5592..b414d0a2b5ec 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.4.1 + 1.4.2-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.4.1 + 1.4.2-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 62af3980f937..d0b4362cc3a7 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.4.1:1.4.1 -grpc-google-iam-v1:1.4.1:1.4.1 +proto-google-iam-v1:1.4.1:1.4.2-SNAPSHOT +grpc-google-iam-v1:1.4.1:1.4.2-SNAPSHOT From d81fbf0fc5b70023f0bce43a633a8f53e2bb85df Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Jun 2022 18:30:11 +0200 Subject: [PATCH 2317/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.35.1 (#843) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.34.1` -> `1.35.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/compatibility-slim/1.34.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.1/confidence-slim/1.34.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.35.1`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1351-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1350v1351-2022-06-10) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.35.0...v1.35.1) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.35.0 ([#​2083](https://togithub.com/googleapis/google-api-java-client/issues/2083)) ([fd53573](https://togithub.com/googleapis/google-api-java-client/commit/fd53573cf9a08f71dab8ec757f32bf0f6b615ce9)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.4.0 ([#​2084](https://togithub.com/googleapis/google-api-java-client/issues/2084)) ([df02577](https://togithub.com/googleapis/google-api-java-client/commit/df025779104d9ed6bf1bd8e6b19c8442a83d31b5)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#​2088](https://togithub.com/googleapis/google-api-java-client/issues/2088)) ([960e7be](https://togithub.com/googleapis/google-api-java-client/commit/960e7bef648c38863c6db101178d3bb7f317f145)) ### [`v1.35.0`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1350-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1340v1350-2022-06-02) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.34.1...v1.35.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/google-api-java-client/issues/1440)) ([#​2075](https://togithub.com/googleapis/google-api-java-client/issues/2075)) ([2b1558d](https://togithub.com/googleapis/google-api-java-client/commit/2b1558d07d1f79939def761911d1fbdb6fb31257)) - next release from main branch is 1.35.0 ([#​2042](https://togithub.com/googleapis/google-api-java-client/issues/2042)) ([9005d5c](https://togithub.com/googleapis/google-api-java-client/commit/9005d5ca7df256342d0b6b94dfa92efc57ddeffa)) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.34.0 ([#​2038](https://togithub.com/googleapis/google-api-java-client/issues/2038)) ([afea56f](https://togithub.com/googleapis/google-api-java-client/commit/afea56f5891e0e6e90369c04f99d64d2648edde6)) - **deps:** update dependency com.google.api-client:google-api-client to v1.34.1 ([#​2058](https://togithub.com/googleapis/google-api-java-client/issues/2058)) ([d1ddb69](https://togithub.com/googleapis/google-api-java-client/commit/d1ddb695b3ce4abc40f6af78845074f3d9e03e73)) - **deps:** update dependency com.google.api-client:google-api-client-android to v1.34.1 ([#​2059](https://togithub.com/googleapis/google-api-java-client/issues/2059)) ([54a9a0c](https://togithub.com/googleapis/google-api-java-client/commit/54a9a0c169a6a996f0ec6cfa338866e0ba3e5b57)) - **deps:** update dependency com.google.api-client:google-api-client-appengine to v1.34.1 ([#​2061](https://togithub.com/googleapis/google-api-java-client/issues/2061)) ([872ad59](https://togithub.com/googleapis/google-api-java-client/commit/872ad59ae77540bbcf27dc6966a722b68fd67a5c)) - **deps:** update dependency com.google.api-client:google-api-client-assembly to v1.34.1 ([#​2062](https://togithub.com/googleapis/google-api-java-client/issues/2062)) ([1a1d1b3](https://togithub.com/googleapis/google-api-java-client/commit/1a1d1b39f8f97bd1f9028c95a509e2205f9ecf53)) - **deps:** update dependency com.google.api-client:google-api-client-gson to v1.34.1 ([#​2064](https://togithub.com/googleapis/google-api-java-client/issues/2064)) ([3d1a03a](https://togithub.com/googleapis/google-api-java-client/commit/3d1a03a4702c09d1a880276900fcd02a9f933277)) - **deps:** update dependency com.google.api-client:google-api-client-jackson2 to v1.34.1 ([#​2065](https://togithub.com/googleapis/google-api-java-client/issues/2065)) ([3502186](https://togithub.com/googleapis/google-api-java-client/commit/350218698e07044c903e77ee2a326d21b48278ba)) - **deps:** update dependency com.google.api-client:google-api-client-java6 to v1.34.1 ([#​2066](https://togithub.com/googleapis/google-api-java-client/issues/2066)) ([705e865](https://togithub.com/googleapis/google-api-java-client/commit/705e865f05cae7e623eaba24c563512dc2cc05bc)) - **deps:** update dependency com.google.api-client:google-api-client-protobuf to v1.34.1 ([#​2068](https://togithub.com/googleapis/google-api-java-client/issues/2068)) ([ecedb5b](https://togithub.com/googleapis/google-api-java-client/commit/ecedb5b336d84a84b79d131848d438f9a31d36d0)) - **deps:** update dependency com.google.api-client:google-api-client-servlet to v1.34.1 ([#​2070](https://togithub.com/googleapis/google-api-java-client/issues/2070)) ([15540fe](https://togithub.com/googleapis/google-api-java-client/commit/15540fe7905fa19ab5e9ee104e97f7cad76e518a)) - **deps:** update dependency com.google.api-client:google-api-client-xml to v1.34.1 ([#​2071](https://togithub.com/googleapis/google-api-java-client/issues/2071)) ([050a269](https://togithub.com/googleapis/google-api-java-client/commit/050a2691a90dc5960c929661d3c31951d893e9ab)) - **deps:** update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.5 ([#​2072](https://togithub.com/googleapis/google-api-java-client/issues/2072)) ([526e103](https://togithub.com/googleapis/google-api-java-client/commit/526e1037fb370a9bae7fa9670ec62b72792b060d)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.2.0 ([#​2050](https://togithub.com/googleapis/google-api-java-client/issues/2050)) ([6c48f89](https://togithub.com/googleapis/google-api-java-client/commit/6c48f8954ed6ac161512e01defa358e7c7ea0627)) - **deps:** update dependency com.google.cloud:libraries-bom to v25.3.0 ([#​2073](https://togithub.com/googleapis/google-api-java-client/issues/2073)) ([11dc2bb](https://togithub.com/googleapis/google-api-java-client/commit/11dc2bb17c8875989c80edb6b42a39b8fd87278d)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#​2041](https://togithub.com/googleapis/google-api-java-client/issues/2041)) ([be65181](https://togithub.com/googleapis/google-api-java-client/commit/be65181a67c87bdd1c7bcea3c99d25b4256fde4b)) - **deps:** update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#​2081](https://togithub.com/googleapis/google-api-java-client/issues/2081)) ([8684064](https://togithub.com/googleapis/google-api-java-client/commit/86840649d97a4236740c5d3f07dfb8034324c03a)) - use verifyPayload instead of verify to disable duplicate signature check ([#​2080](https://togithub.com/googleapis/google-api-java-client/issues/2080)) ([003ca44](https://togithub.com/googleapis/google-api-java-client/commit/003ca44b4d41a73053eef2c46ba3ec2c8f135e95))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2dc8c8bd21c3..1cc9f48c260c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.9.0 1.4.0 1.7.0 - 1.34.1 + 1.35.1 1.42.0 1.47.0 3.21.1 From 78dd4eda7377107002f75f8febf18b95cc4e3946 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Jun 2022 18:32:15 +0200 Subject: [PATCH 2318/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.1 (#848) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.4.0` -> `1.4.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/compatibility-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/confidence-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.4.1`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​141-httpsgithubcomgoogleapisjava-iamcomparev140v141-2022-06-13) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.4.0...v1.4.1) ##### Dependencies - update dependency com.google.api:api-common to v2.2.1 ([#​358](https://togithub.com/googleapis/java-iam/issues/358)) ([e70e79f](https://togithub.com/googleapis/java-iam/commit/e70e79f3a8e6f3e2deac17d57489a5d6266e3e44)) - update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#​354](https://togithub.com/googleapis/java-iam/issues/354)) ([0856c38](https://togithub.com/googleapis/java-iam/commit/0856c38dbc50cbe785e4f92a2f8ae55683a09613)) - update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#​355](https://togithub.com/googleapis/java-iam/issues/355)) ([91c7aa3](https://togithub.com/googleapis/java-iam/commit/91c7aa3b03c30dbea09baf0eb674e92f5605b14d)) - update dependency io.grpc:grpc-protobuf to v1.47.0 ([#​356](https://togithub.com/googleapis/java-iam/issues/356)) ([560c161](https://togithub.com/googleapis/java-iam/commit/560c1614ca01e56479a4a8a732f3575f243076ef)) - update dependency io.grpc:grpc-stub to v1.47.0 ([#​357](https://togithub.com/googleapis/java-iam/issues/357)) ([37b9061](https://togithub.com/googleapis/java-iam/commit/37b906144fee70a5050c8e67e820435b2d42f781))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1cc9f48c260c..3900afd45cbf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.18.1 2.2.1 2.9.0 - 1.4.0 + 1.4.1 1.7.0 1.35.1 1.42.0 From 80a424725db5ebb3ec616067d89b77fe8f19fa92 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Jun 2022 18:32:22 +0200 Subject: [PATCH 2319/3036] deps: update iam.version to v1.4.1 (#716) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.4.0` -> `1.4.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.1/compatibility-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.4.1/confidence-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.4.0` -> `1.4.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/compatibility-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.4.1/confidence-slim/1.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.4.1`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​141-httpsgithubcomgoogleapisjava-iamcomparev140v141-2022-06-13) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.4.0...v1.4.1) ##### Dependencies - update dependency com.google.api:api-common to v2.2.1 ([#​358](https://togithub.com/googleapis/java-iam/issues/358)) ([e70e79f](https://togithub.com/googleapis/java-iam/commit/e70e79f3a8e6f3e2deac17d57489a5d6266e3e44)) - update dependency com.google.protobuf:protobuf-java to v3.21.0 ([#​354](https://togithub.com/googleapis/java-iam/issues/354)) ([0856c38](https://togithub.com/googleapis/java-iam/commit/0856c38dbc50cbe785e4f92a2f8ae55683a09613)) - update dependency com.google.protobuf:protobuf-java to v3.21.1 ([#​355](https://togithub.com/googleapis/java-iam/issues/355)) ([91c7aa3](https://togithub.com/googleapis/java-iam/commit/91c7aa3b03c30dbea09baf0eb674e92f5605b14d)) - update dependency io.grpc:grpc-protobuf to v1.47.0 ([#​356](https://togithub.com/googleapis/java-iam/issues/356)) ([560c161](https://togithub.com/googleapis/java-iam/commit/560c1614ca01e56479a4a8a732f3575f243076ef)) - update dependency io.grpc:grpc-stub to v1.47.0 ([#​357](https://togithub.com/googleapis/java-iam/issues/357)) ([37b9061](https://togithub.com/googleapis/java-iam/commit/37b906144fee70a5050c8e67e820435b2d42f781))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 49a4f64695a4..fbffbc13c5e0 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.42.0 1.34.1 1.35.1 - 1.4.0 + 1.4.1 From 4dbf9ba495e68162685681c052f6d2946bb98437 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 15 Jun 2022 18:34:15 +0200 Subject: [PATCH 2320/3036] deps: update dependency org.checkerframework:checker-qual to v3.22.2 (#717) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.checkerframework:checker-qual](https://checkerframework.org) ([source](https://togithub.com/typetools/checker-framework)) | `3.22.1` -> `3.22.2` | [![age](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.2/compatibility-slim/3.22.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.22.2/confidence-slim/3.22.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 4b33f1b2f784..9c06b5c6a2b8 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.22.1 + 3.22.2 0.25.0 From 4837f6fe7361a9b80f4a5a7c8c4e2a91ae9de610 Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Wed, 15 Jun 2022 19:43:21 +0000 Subject: [PATCH 2321/3036] chore: update v2beta dir name (#362) --- java-iam/.github/.OwlBot.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.github/.OwlBot.yaml index 2ff30712c7ca..10714b13f867 100644 --- a/java-iam/.github/.OwlBot.yaml +++ b/java-iam/.github/.OwlBot.yaml @@ -29,7 +29,7 @@ deep-copy-regex: dest: "/owl-bot-staging/v1/grpc-google-iam-v1/src" - source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src" dest: "/owl-bot-staging/v1/proto-google-iam-v1/src" -- source: "/google/iam/v2beta/google-iam-v2beta-java/grpc-google-iam-v2beta-java/src" +- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/grpc-google-cloud-iam-v2beta-java/src" dest: "/owl-bot-staging/v2beta/grpc-google-iam-v2beta/src" -- source: "/google/iam/v2beta/google-iam-v2beta-java/proto-google-iam-v2beta-java/src" +- source: "google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src" dest: "/owl-bot-staging/v2beta/proto-google-iam-v2beta/src" From 4f32febb9a863445298d4b98b036a2dd3a5089ec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 21 Jun 2022 18:22:11 +0200 Subject: [PATCH 2322/3036] deps: update gax.version to v2.18.2 (#718) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.18.1` -> `2.18.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.2/compatibility-slim/2.18.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.2/confidence-slim/2.18.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.18.1` -> `2.18.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/compatibility-slim/2.18.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/confidence-slim/2.18.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.18.2`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2182-httpsgithubcomgoogleapisgax-javacomparev2181v2182-2022-06-16) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.18.1...v2.18.2) ##### Bug Fixes - **deps:** update dependency com.google.api:api-common to v2.2.1 ([#​1699](https://togithub.com/googleapis/gax-java/issues/1699)) ([be79d10](https://togithub.com/googleapis/gax-java/commit/be79d108601290d533126e996600a5864a7e810f)) - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.7.0 ([#​1700](https://togithub.com/googleapis/gax-java/issues/1700)) ([640525e](https://togithub.com/googleapis/gax-java/commit/640525ea4d2df46c187f867f7c13325aebd819c6)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.7.0 ([#​1701](https://togithub.com/googleapis/gax-java/issues/1701)) ([0f27ef7](https://togithub.com/googleapis/gax-java/commit/0f27ef7b63aa37fd7797e43803802a519d710658)) - **deps:** update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#​1702](https://togithub.com/googleapis/gax-java/issues/1702)) ([96c4fa8](https://togithub.com/googleapis/gax-java/commit/96c4fa8b76e485fb6e19b183c11d660bd949c6c2)) - **deps:** update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#​1703](https://togithub.com/googleapis/gax-java/issues/1703)) ([3e07036](https://togithub.com/googleapis/gax-java/commit/3e07036bba7c6945c76a76cd623726c71d74ade2)) - **deps:** update dependency io.grpc:grpc-bom to v1.47.0 ([#​1704](https://togithub.com/googleapis/gax-java/issues/1704)) ([0317926](https://togithub.com/googleapis/gax-java/commit/0317926ea97940df73738d1617e0b154e70b7e32)) - **deps:** update dependency io.opencensus:opencensus-api to v0.31.1 ([#​1697](https://togithub.com/googleapis/gax-java/issues/1697)) ([f9f9e1e](https://togithub.com/googleapis/gax-java/commit/f9f9e1e2a16532c3051595138bc2e99c71268f3a)) - **deps:** update dependency org.graalvm.sdk:graal-sdk to v22.1.0.1 ([#​1698](https://togithub.com/googleapis/gax-java/issues/1698)) ([59fbff9](https://togithub.com/googleapis/gax-java/commit/59fbff938981be18134c1410c02d86dbf801f4a7)) ##### Dependencies - update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#​1713](https://togithub.com/googleapis/gax-java/issues/1713)) ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency io.grpc:grpc-bom to v1.47.0 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency io.opencensus:opencensus-api to v0.31.1 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency org.mockito:mockito-core to v4.6.1 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency org.threeten:threetenbp to v1.6.0 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update io.netty dependencies to v4.1.72.Final ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update plugin org.sonarqube to v3.4.0.2513 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) ##### [2.18.1](https://togithub.com/googleapis/gax-java/compare/v2.18.0...v2.18.1) (2022-05-19) ##### Dependencies - upgrade grpc to 1.46.0 ([#​1688](https://togithub.com/googleapis/gax-java/issues/1688)) ([18147a4](https://togithub.com/googleapis/gax-java/commit/18147a4f558635b27d30eb05468321b52321db13))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fbffbc13c5e0..9ca8b867cdad 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.47.0 - 2.18.1 + 2.18.2 1.1.0 31.1-jre 3.21.1 From d44a6d9ab518b5f1500f641b5ade1a5cd0e9aaf2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 21 Jun 2022 18:24:15 +0200 Subject: [PATCH 2323/3036] deps: update dependency com.google.api:gax-bom to v2.18.2 (#849) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.18.1` -> `2.18.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/compatibility-slim/2.18.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.2/confidence-slim/2.18.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.18.2`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2182-httpsgithubcomgoogleapisgax-javacomparev2181v2182-2022-06-16) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.18.1...v2.18.2) ##### Bug Fixes - **deps:** update dependency com.google.api:api-common to v2.2.1 ([#​1699](https://togithub.com/googleapis/gax-java/issues/1699)) ([be79d10](https://togithub.com/googleapis/gax-java/commit/be79d108601290d533126e996600a5864a7e810f)) - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.7.0 ([#​1700](https://togithub.com/googleapis/gax-java/issues/1700)) ([640525e](https://togithub.com/googleapis/gax-java/commit/640525ea4d2df46c187f867f7c13325aebd819c6)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.7.0 ([#​1701](https://togithub.com/googleapis/gax-java/issues/1701)) ([0f27ef7](https://togithub.com/googleapis/gax-java/commit/0f27ef7b63aa37fd7797e43803802a519d710658)) - **deps:** update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#​1702](https://togithub.com/googleapis/gax-java/issues/1702)) ([96c4fa8](https://togithub.com/googleapis/gax-java/commit/96c4fa8b76e485fb6e19b183c11d660bd949c6c2)) - **deps:** update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#​1703](https://togithub.com/googleapis/gax-java/issues/1703)) ([3e07036](https://togithub.com/googleapis/gax-java/commit/3e07036bba7c6945c76a76cd623726c71d74ade2)) - **deps:** update dependency io.grpc:grpc-bom to v1.47.0 ([#​1704](https://togithub.com/googleapis/gax-java/issues/1704)) ([0317926](https://togithub.com/googleapis/gax-java/commit/0317926ea97940df73738d1617e0b154e70b7e32)) - **deps:** update dependency io.opencensus:opencensus-api to v0.31.1 ([#​1697](https://togithub.com/googleapis/gax-java/issues/1697)) ([f9f9e1e](https://togithub.com/googleapis/gax-java/commit/f9f9e1e2a16532c3051595138bc2e99c71268f3a)) - **deps:** update dependency org.graalvm.sdk:graal-sdk to v22.1.0.1 ([#​1698](https://togithub.com/googleapis/gax-java/issues/1698)) ([59fbff9](https://togithub.com/googleapis/gax-java/commit/59fbff938981be18134c1410c02d86dbf801f4a7)) ##### Dependencies - update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#​1713](https://togithub.com/googleapis/gax-java/issues/1713)) ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency io.grpc:grpc-bom to v1.47.0 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency io.opencensus:opencensus-api to v0.31.1 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency org.mockito:mockito-core to v4.6.1 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update dependency org.threeten:threetenbp to v1.6.0 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update io.netty dependencies to v4.1.72.Final ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) - update plugin org.sonarqube to v3.4.0.2513 ([c5eb06e](https://togithub.com/googleapis/gax-java/commit/c5eb06eec5d2cde85d37b096418e873c1bd83470)) ##### [2.18.1](https://togithub.com/googleapis/gax-java/compare/v2.18.0...v2.18.1) (2022-05-19) ##### Dependencies - upgrade grpc to 1.46.0 ([#​1688](https://togithub.com/googleapis/gax-java/issues/1688)) ([18147a4](https://togithub.com/googleapis/gax-java/commit/18147a4f558635b27d30eb05468321b52321db13))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3900afd45cbf..532ee4a48fb4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.1 + 2.18.2 2.2.1 2.9.0 1.4.1 From 90b7680e8b15e73c470d699aa2f9f9f7fea5ddb3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:18:38 +0000 Subject: [PATCH 2324/3036] chore(main): release 2.8.0 (#837) :robot: I have created a release *beep* *boop* --- ## [2.8.0](https://github.com/googleapis/java-core/compare/v2.7.1...v2.8.0) (2022-06-21) ### Features * add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-core/issues/1440)) ([#836](https://github.com/googleapis/java-core/issues/836)) ([49e9b68](https://github.com/googleapis/java-core/commit/49e9b68c64b28feaec56cbafa371bf1a8d365be0)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#843](https://github.com/googleapis/java-core/issues/843)) ([d81fbf0](https://github.com/googleapis/java-core/commit/d81fbf0fc5b70023f0bce43a633a8f53e2bb85df)) * update dependency com.google.api:api-common to v2.2.1 ([#844](https://github.com/googleapis/java-core/issues/844)) ([d711da9](https://github.com/googleapis/java-core/commit/d711da97963019d0b17c26edf5ca4a262ecf2bd1)) * update dependency com.google.api:gax-bom to v2.18.2 ([#849](https://github.com/googleapis/java-core/issues/849)) ([d44a6d9](https://github.com/googleapis/java-core/commit/d44a6d9ab518b5f1500f641b5ade1a5cd0e9aaf2)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#846](https://github.com/googleapis/java-core/issues/846)) ([981b634](https://github.com/googleapis/java-core/commit/981b634250d7cced52acd4c35cb17b69b4d85318)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.0 ([#838](https://github.com/googleapis/java-core/issues/838)) ([8b04fb4](https://github.com/googleapis/java-core/commit/8b04fb44fd09ac275a360bdd845815318ed7d335)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.1 ([#848](https://github.com/googleapis/java-core/issues/848)) ([78dd4ed](https://github.com/googleapis/java-core/commit/78dd4eda7377107002f75f8febf18b95cc4e3946)) * update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#839](https://github.com/googleapis/java-core/issues/839)) ([a4b5158](https://github.com/googleapis/java-core/commit/a4b51583f46823e9efd1f78cfff48f75aafd3bc0)) * update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#845](https://github.com/googleapis/java-core/issues/845)) ([24211fb](https://github.com/googleapis/java-core/commit/24211fb624050fc3f58e36f76c933e47f67fb0ba)) * update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#840](https://github.com/googleapis/java-core/issues/840)) ([93d825f](https://github.com/googleapis/java-core/commit/93d825fb61fac2339e2f1a9f594fb21ed8f2a034)) * update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#841](https://github.com/googleapis/java-core/issues/841)) ([7065ef0](https://github.com/googleapis/java-core/commit/7065ef00a29d36c41d955b3d3d48939a2fd10fd1)) * update dependency io.grpc:grpc-bom to v1.47.0 ([#842](https://github.com/googleapis/java-core/issues/842)) ([3245109](https://github.com/googleapis/java-core/commit/32451094bcde9b64e0abd27c7bbc4938773af5b2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 22 ++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 34 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 36fd5e5d4a57..d5821762db5d 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [2.8.0](https://github.com/googleapis/java-core/compare/v2.7.1...v2.8.0) (2022-06-21) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-core/issues/1440)) ([#836](https://github.com/googleapis/java-core/issues/836)) ([8826d9b](https://github.com/googleapis/java-core/commit/8826d9bc05eb9e4a54c40e8578de85ed79c50e99)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#843](https://github.com/googleapis/java-core/issues/843)) ([9ffe0c5](https://github.com/googleapis/java-core/commit/9ffe0c5b25761abf7ff1bea091aa1db057dff2d0)) +* update dependency com.google.api:api-common to v2.2.1 ([#844](https://github.com/googleapis/java-core/issues/844)) ([69dde56](https://github.com/googleapis/java-core/commit/69dde5641546b678a385b1ed3a2c7a020f81d285)) +* update dependency com.google.api:gax-bom to v2.18.2 ([#849](https://github.com/googleapis/java-core/issues/849)) ([11764b0](https://github.com/googleapis/java-core/commit/11764b04629c5bfbc9b0d68174782cc126dc1646)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#846](https://github.com/googleapis/java-core/issues/846)) ([5dced6d](https://github.com/googleapis/java-core/commit/5dced6d25ce0f3e7587d7ac1f6f3713f3b2a18c2)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.0 ([#838](https://github.com/googleapis/java-core/issues/838)) ([b0a7afe](https://github.com/googleapis/java-core/commit/b0a7afe342a5e15436d439b9cc1e3c58f894ab66)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.1 ([#848](https://github.com/googleapis/java-core/issues/848)) ([8260997](https://github.com/googleapis/java-core/commit/826099767b0aabe0db26eff2f612f0847b451366)) +* update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#839](https://github.com/googleapis/java-core/issues/839)) ([3459fb6](https://github.com/googleapis/java-core/commit/3459fb668557b982cef5682ce47d3c978b83d69c)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#845](https://github.com/googleapis/java-core/issues/845)) ([2d2c873](https://github.com/googleapis/java-core/commit/2d2c873e274b26f4687d569cc3b8ae58c3c5ed54)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#840](https://github.com/googleapis/java-core/issues/840)) ([037da15](https://github.com/googleapis/java-core/commit/037da15b2aed1719e768ba5b4e001caf25952adc)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#841](https://github.com/googleapis/java-core/issues/841)) ([04b8862](https://github.com/googleapis/java-core/commit/04b886224128f1525ad8398815dc62dac87680af)) +* update dependency io.grpc:grpc-bom to v1.47.0 ([#842](https://github.com/googleapis/java-core/issues/842)) ([40984e2](https://github.com/googleapis/java-core/commit/40984e23242ba954b6ca741ca3f02ec89e92ae57)) + ### [2.7.1](https://github.com/googleapis/java-core/compare/v2.7.0...v2.7.1) (2022-05-19) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index efbfe1cbe1cc..433d2cd7d0da 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.7.2-SNAPSHOT + 2.8.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.7.2-SNAPSHOT + 2.8.0 com.google.cloud google-cloud-core-grpc - 2.7.2-SNAPSHOT + 2.8.0 com.google.cloud google-cloud-core-http - 2.7.2-SNAPSHOT + 2.8.0
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2c0438fb70a5..3450ad473090 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.7.2-SNAPSHOT + 2.8.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.2-SNAPSHOT + 2.8.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 fc2e5e57ecb5..68a5409cd5cc 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.7.2-SNAPSHOT + 2.8.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.2-SNAPSHOT + 2.8.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ddf8bfdb45f1..188701967c81 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.7.2-SNAPSHOT + 2.8.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.7.2-SNAPSHOT + 2.8.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 532ee4a48fb4..c44501cb3b3d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.7.2-SNAPSHOT + 2.8.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 2488da280499..197540b9cb17 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.7.1:2.7.2-SNAPSHOT +google-cloud-core:2.8.0:2.8.0 From 98df6727bf49f4087fadf8844aefda426cf2582c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:26:17 +0000 Subject: [PATCH 2325/3036] chore(main): release 2.8.1-SNAPSHOT (#850) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 433d2cd7d0da..4aff21980f6b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.0 + 2.8.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.0 + 2.8.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.0 + 2.8.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.0 + 2.8.1-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3450ad473090..53817f77107c 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.8.0 + 2.8.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.0 + 2.8.1-SNAPSHOT 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 68a5409cd5cc..0e4b59632383 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.8.0 + 2.8.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.0 + 2.8.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 188701967c81..c7a8acc2ad5b 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.8.0 + 2.8.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.0 + 2.8.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index c44501cb3b3d..0654246f313f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.0 + 2.8.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 197540b9cb17..2186b20f78c6 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.0:2.8.0 +google-cloud-core:2.8.0:2.8.1-SNAPSHOT From 94eaae2103fa97e8de305b64955385f02518e585 Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Tue, 21 Jun 2022 17:17:59 -0400 Subject: [PATCH 2326/3036] chore: fix path for OwlBot (#365) Fixes: #363. --- java-iam/.github/.OwlBot.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.github/.OwlBot.yaml index 10714b13f867..683ca1d78962 100644 --- a/java-iam/.github/.OwlBot.yaml +++ b/java-iam/.github/.OwlBot.yaml @@ -31,5 +31,5 @@ deep-copy-regex: dest: "/owl-bot-staging/v1/proto-google-iam-v1/src" - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/grpc-google-cloud-iam-v2beta-java/src" dest: "/owl-bot-staging/v2beta/grpc-google-iam-v2beta/src" -- source: "google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src" +- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src" dest: "/owl-bot-staging/v2beta/proto-google-iam-v2beta/src" From d2bcd3bc71ec5d66cd21d766bdf0e6ca9cfa08a0 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 21 Jun 2022 20:23:34 -0400 Subject: [PATCH 2327/3036] feat: add v2beta client (#364) * Update .OwlBot.yaml * chore: add v2beta client --- java-iam/.github/.OwlBot.yaml | 2 + java-iam/.repo-metadata.json | 2 +- java-iam/google-iam-policy/pom.xml | 111 + .../com/google/iam/v2beta/PoliciesClient.java | 865 +++++ .../google/iam/v2beta/PoliciesSettings.java | 266 ++ .../com/google/iam/v2beta/gapic_metadata.json | 33 + .../com/google/iam/v2beta/package-info.java | 40 + .../stub/GrpcPoliciesCallableFactory.java | 115 + .../iam/v2beta/stub/GrpcPoliciesStub.java | 332 ++ .../google/iam/v2beta/stub/PoliciesStub.java | 92 + .../iam/v2beta/stub/PoliciesStubSettings.java | 582 +++ .../com/google/iam/v2beta/MockPolicies.java | 59 + .../google/iam/v2beta/MockPoliciesImpl.java | 165 + .../google/iam/v2beta/PoliciesClientTest.java | 453 +++ java-iam/grpc-google-iam-v2beta/pom.xml | 69 + .../com/google/iam/v2beta/PoliciesGrpc.java | 815 +++++ java-iam/pom.xml | 23 + java-iam/proto-google-iam-v1/pom.xml | 1 - .../clirr-ignored-differences.xml | 19 + java-iam/proto-google-iam-v2beta/pom.xml | 42 + .../iam/v2beta/CreatePolicyRequest.java | 1152 ++++++ .../v2beta/CreatePolicyRequestOrBuilder.java | 130 + .../iam/v2beta/DeletePolicyRequest.java | 899 +++++ .../v2beta/DeletePolicyRequestOrBuilder.java | 99 + .../java/com/google/iam/v2beta/DenyRule.java | 2508 +++++++++++++ .../google/iam/v2beta/DenyRuleOrBuilder.java | 468 +++ .../com/google/iam/v2beta/DenyRuleProto.java | 75 + .../google/iam/v2beta/GetPolicyRequest.java | 691 ++++ .../iam/v2beta/GetPolicyRequestOrBuilder.java | 66 + .../iam/v2beta/ListPoliciesRequest.java | 972 +++++ .../v2beta/ListPoliciesRequestOrBuilder.java | 107 + .../iam/v2beta/ListPoliciesResponse.java | 1131 ++++++ .../v2beta/ListPoliciesResponseOrBuilder.java | 103 + .../java/com/google/iam/v2beta/Policy.java | 3171 +++++++++++++++++ .../com/google/iam/v2beta/PolicyName.java | 168 + .../iam/v2beta/PolicyOperationMetadata.java | 728 ++++ .../PolicyOperationMetadataOrBuilder.java | 60 + .../google/iam/v2beta/PolicyOrBuilder.java | 412 +++ .../com/google/iam/v2beta/PolicyProto.java | 263 ++ .../com/google/iam/v2beta/PolicyRule.java | 1012 ++++++ .../iam/v2beta/PolicyRuleOrBuilder.java | 89 + .../iam/v2beta/UpdatePolicyRequest.java | 759 ++++ .../v2beta/UpdatePolicyRequestOrBuilder.java | 69 + .../main/proto/google/iam/v2beta/deny.proto | 107 + .../main/proto/google/iam/v2beta/policy.proto | 297 ++ java-iam/versions.txt | 3 + 46 files changed, 19623 insertions(+), 2 deletions(-) create mode 100644 java-iam/google-iam-policy/pom.xml create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesCallableFactory.java create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesStub.java create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPolicies.java create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPoliciesImpl.java create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java create mode 100644 java-iam/grpc-google-iam-v2beta/pom.xml create mode 100644 java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java create mode 100644 java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml create mode 100644 java-iam/proto-google-iam-v2beta/pom.xml create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java create mode 100644 java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto create mode 100644 java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.github/.OwlBot.yaml index 683ca1d78962..b7d331d499ed 100644 --- a/java-iam/.github/.OwlBot.yaml +++ b/java-iam/.github/.OwlBot.yaml @@ -33,3 +33,5 @@ deep-copy-regex: dest: "/owl-bot-staging/v2beta/grpc-google-iam-v2beta/src" - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src" dest: "/owl-bot-staging/v2beta/proto-google-iam-v2beta/src" +- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src" + dest: "/owl-bot-staging/v2beta/google-iam-policy/src" \ No newline at end of file diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index bb9e05ae43b7..c8064171f07c 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -12,6 +12,6 @@ "repo_short": "java-iam", "library_type": "OTHER", "distribution_name": "com.google.api.grpc:proto-google-iam-v1", - "excluded_poms": "proto-google-iam-v1-bom", + "excluded_poms": "proto-google-iam-v1-bom,google-iam-policy,proto-google-iam-v1", "excluded_dependencies": "grpc-google-iam-v1" } diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml new file mode 100644 index 000000000000..bae1eb08719d --- /dev/null +++ b/java-iam/google-iam-policy/pom.xml @@ -0,0 +1,111 @@ + + + 4.0.0 + com.google.cloud + google-iam-policy + 1.4.2-SNAPSHOT + jar + Google IAM Policy + https://github.com/googleapis/java-eventarc + Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. + + com.google.cloud + google-iam-parent + 1.4.2-SNAPSHOT + + + google-iam-policy + + + + io.grpc + grpc-api + + + io.grpc + grpc-stub + + + io.grpc + grpc-protobuf + + + com.google.api + api-common + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + + com.google.api.grpc + proto-google-iam-v2beta + + + com.google.guava + guava + + + com.google.api + gax + + + com.google.api + gax-grpc + + + org.threeten + threetenbp + + + + + junit + junit + test + 4.13.2 + + + + com.google.api.grpc + grpc-google-iam-v2beta + test + + + + com.google.api + gax-grpc + testlib + test + + + + + + java9 + + [9,) + + + + javax.annotation + javax.annotation-api + + + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + \ No newline at end of file diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java new file mode 100644 index 000000000000..582c71e42cd2 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java @@ -0,0 +1,865 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v2beta.stub.PoliciesStub; +import com.google.iam.v2beta.stub.PoliciesStubSettings; +import com.google.longrunning.Operation; +import com.google.longrunning.OperationsClient; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: An interface for managing Identity and Access Management (IAM) policies. + * + *

    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 for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    + *   PolicyName name = PolicyName.of("[POLICY]");
    + *   Policy response = policiesClient.getPolicy(name);
    + * }
    + * }
    + * + *

    Note: close() needs to be called on the PoliciesClient 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 PoliciesSettings to create(). + * For example: + * + *

    To customize credentials: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * PoliciesSettings policiesSettings =
    + *     PoliciesSettings.newBuilder()
    + *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    + *         .build();
    + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
    + * }
    + * + *

    To customize the endpoint: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * PoliciesSettings policiesSettings =
    + *     PoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
    + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
    + * }
    + * + *

    Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class PoliciesClient implements BackgroundResource { + private final PoliciesSettings settings; + private final PoliciesStub stub; + private final OperationsClient operationsClient; + + /** Constructs an instance of PoliciesClient with default settings. */ + public static final PoliciesClient create() throws IOException { + return create(PoliciesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of PoliciesClient, 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 PoliciesClient create(PoliciesSettings settings) throws IOException { + return new PoliciesClient(settings); + } + + /** + * Constructs an instance of PoliciesClient, using the given stub for making calls. This is for + * advanced usage - prefer using create(PoliciesSettings). + */ + public static final PoliciesClient create(PoliciesStub stub) { + return new PoliciesClient(stub); + } + + /** + * Constructs an instance of PoliciesClient, 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 PoliciesClient(PoliciesSettings settings) throws IOException { + this.settings = settings; + this.stub = ((PoliciesStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + protected PoliciesClient(PoliciesStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + public final PoliciesSettings getSettings() { + return settings; + } + + public PoliciesStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getOperationsClient() { + return operationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String parent = "parent-995424086";
    +   *   for (Policy element : policiesClient.listPolicies(parent).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param parent 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPoliciesPagedResponse listPolicies(String parent) { + ListPoliciesRequest request = ListPoliciesRequest.newBuilder().setParent(parent).build(); + return listPolicies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListPoliciesRequest request =
    +   *       ListPoliciesRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   for (Policy element : policiesClient.listPolicies(request).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @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 ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request) { + return listPoliciesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListPoliciesRequest request =
    +   *       ListPoliciesRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   ApiFuture future = policiesClient.listPoliciesPagedCallable().futureCall(request);
    +   *   // Do something.
    +   *   for (Policy element : future.get().iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + listPoliciesPagedCallable() { + return stub.listPoliciesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListPoliciesRequest request =
    +   *       ListPoliciesRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   while (true) {
    +   *     ListPoliciesResponse response = policiesClient.listPoliciesCallable().call(request);
    +   *     for (Policy element : response.getPoliciesList()) {
    +   *       // doThingsWith(element);
    +   *     }
    +   *     String nextPageToken = response.getNextPageToken();
    +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    +   *     } else {
    +   *       break;
    +   *     }
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable listPoliciesCallable() { + return stub.listPoliciesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   PolicyName name = PolicyName.of("[POLICY]");
    +   *   Policy response = policiesClient.getPolicy(name);
    +   * }
    +   * }
    + * + * @param name 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getPolicy(PolicyName name) { + GetPolicyRequest request = + GetPolicyRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String name = PolicyName.of("[POLICY]").toString();
    +   *   Policy response = policiesClient.getPolicy(name);
    +   * }
    +   * }
    + * + * @param name 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getPolicy(String name) { + GetPolicyRequest request = GetPolicyRequest.newBuilder().setName(name).build(); + return getPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   GetPolicyRequest request =
    +   *       GetPolicyRequest.newBuilder().setName(PolicyName.of("[POLICY]").toString()).build();
    +   *   Policy response = policiesClient.getPolicy(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 Policy getPolicy(GetPolicyRequest request) { + return getPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   GetPolicyRequest request =
    +   *       GetPolicyRequest.newBuilder().setName(PolicyName.of("[POLICY]").toString()).build();
    +   *   ApiFuture future = policiesClient.getPolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable getPolicyCallable() { + return stub.getPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String parent = "parent-995424086";
    +   *   Policy policy = Policy.newBuilder().build();
    +   *   String policyId = "policyId546908653";
    +   *   Policy response = policiesClient.createPolicyAsync(parent, policy, policyId).get();
    +   * }
    +   * }
    + * + * @param parent 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. + * @param policy Required. The policy to create. + * @param policyId The ID to use for this policy, which will become the final component of the + * policy's resource name. The ID must contain 3 to 63 characters. It can contain lowercase + * letters and numbers, as well as dashes (`-`) and periods (`.`). The first character must be + * a lowercase letter. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createPolicyAsync( + String parent, Policy policy, String policyId) { + CreatePolicyRequest request = + CreatePolicyRequest.newBuilder() + .setParent(parent) + .setPolicy(policy) + .setPolicyId(policyId) + .build(); + return createPolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   CreatePolicyRequest request =
    +   *       CreatePolicyRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setPolicyId("policyId546908653")
    +   *           .build();
    +   *   Policy response = policiesClient.createPolicyAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture createPolicyAsync( + CreatePolicyRequest request) { + return createPolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   CreatePolicyRequest request =
    +   *       CreatePolicyRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setPolicyId("policyId546908653")
    +   *           .build();
    +   *   OperationFuture future =
    +   *       policiesClient.createPolicyOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + createPolicyOperationCallable() { + return stub.createPolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   CreatePolicyRequest request =
    +   *       CreatePolicyRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setPolicyId("policyId546908653")
    +   *           .build();
    +   *   ApiFuture future = policiesClient.createPolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable createPolicyCallable() { + return stub.createPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

    You can update only the rules and the display name for the policy. + * + *

    To update a policy, you should use a read-modify-write loop: + * + *

    1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

    This pattern helps prevent conflicts between concurrent updates. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   UpdatePolicyRequest request =
    +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    +   *   Policy response = policiesClient.updatePolicyAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture updatePolicyAsync( + UpdatePolicyRequest request) { + return updatePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

    You can update only the rules and the display name for the policy. + * + *

    To update a policy, you should use a read-modify-write loop: + * + *

    1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

    This pattern helps prevent conflicts between concurrent updates. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   UpdatePolicyRequest request =
    +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    +   *   OperationFuture future =
    +   *       policiesClient.updatePolicyOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + updatePolicyOperationCallable() { + return stub.updatePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

    You can update only the rules and the display name for the policy. + * + *

    To update a policy, you should use a read-modify-write loop: + * + *

    1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

    This pattern helps prevent conflicts between concurrent updates. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   UpdatePolicyRequest request =
    +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    +   *   ApiFuture future = policiesClient.updatePolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable updatePolicyCallable() { + return stub.updatePolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   PolicyName name = PolicyName.of("[POLICY]");
    +   *   Policy response = policiesClient.deletePolicyAsync(name).get();
    +   * }
    +   * }
    + * + * @param name 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deletePolicyAsync(PolicyName name) { + DeletePolicyRequest request = + DeletePolicyRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return deletePolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String name = PolicyName.of("[POLICY]").toString();
    +   *   Policy response = policiesClient.deletePolicyAsync(name).get();
    +   * }
    +   * }
    + * + * @param name 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deletePolicyAsync(String name) { + DeletePolicyRequest request = DeletePolicyRequest.newBuilder().setName(name).build(); + return deletePolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   DeletePolicyRequest request =
    +   *       DeletePolicyRequest.newBuilder()
    +   *           .setName(PolicyName.of("[POLICY]").toString())
    +   *           .setEtag("etag3123477")
    +   *           .build();
    +   *   Policy response = policiesClient.deletePolicyAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture deletePolicyAsync( + DeletePolicyRequest request) { + return deletePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   DeletePolicyRequest request =
    +   *       DeletePolicyRequest.newBuilder()
    +   *           .setName(PolicyName.of("[POLICY]").toString())
    +   *           .setEtag("etag3123477")
    +   *           .build();
    +   *   OperationFuture future =
    +   *       policiesClient.deletePolicyOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + deletePolicyOperationCallable() { + return stub.deletePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    Sample code: + * + *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
    +   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   DeletePolicyRequest request =
    +   *       DeletePolicyRequest.newBuilder()
    +   *           .setName(PolicyName.of("[POLICY]").toString())
    +   *           .setEtag("etag3123477")
    +   *           .build();
    +   *   ApiFuture future = policiesClient.deletePolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable deletePolicyCallable() { + return stub.deletePolicyCallable(); + } + + @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); + } + + public static class ListPoliciesPagedResponse + extends AbstractPagedListResponse< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListPoliciesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListPoliciesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListPoliciesPagedResponse(ListPoliciesPage page) { + super(page, ListPoliciesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListPoliciesPage + extends AbstractPage { + + private ListPoliciesPage( + PageContext context, + ListPoliciesResponse response) { + super(context, response); + } + + private static ListPoliciesPage createEmptyPage() { + return new ListPoliciesPage(null, null); + } + + @Override + protected ListPoliciesPage createPage( + PageContext context, + ListPoliciesResponse response) { + return new ListPoliciesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListPoliciesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + private ListPoliciesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListPoliciesFixedSizeCollection createEmptyCollection() { + return new ListPoliciesFixedSizeCollection(null, 0); + } + + @Override + protected ListPoliciesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListPoliciesFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java new file mode 100644 index 000000000000..82677a3faa2b --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java @@ -0,0 +1,266 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.iam.v2beta.stub.PoliciesStubSettings; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesClient}. + * + *

    The default instance has everything set to sensible defaults: + * + *

      + *
    • The default service address (iam.googleapis.com) and default port (443) are used. + *
    • Credentials are acquired automatically through Application Default Credentials. + *
    • Retries are configured for idempotent methods but not for non-idempotent methods. + *
    + * + *

    The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

    For example, to set the total timeout of getPolicy to 30 seconds: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * PoliciesSettings.Builder policiesSettingsBuilder = PoliciesSettings.newBuilder();
    + * policiesSettingsBuilder
    + *     .getPolicySettings()
    + *     .setRetrySettings(
    + *         policiesSettingsBuilder
    + *             .getPolicySettings()
    + *             .getRetrySettings()
    + *             .toBuilder()
    + *             .setTotalTimeout(Duration.ofSeconds(30))
    + *             .build());
    + * PoliciesSettings policiesSettings = policiesSettingsBuilder.build();
    + * }
    + */ +@BetaApi +@Generated("by gapic-generator-java") +public class PoliciesSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return ((PoliciesStubSettings) getStubSettings()).listPoliciesSettings(); + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).getPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicySettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicySettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicyOperationSettings(); + } + + public static final PoliciesSettings create(PoliciesStubSettings stub) throws IOException { + return new PoliciesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return PoliciesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return PoliciesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return PoliciesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return PoliciesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return PoliciesStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return PoliciesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for PoliciesSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(PoliciesStubSettings.newBuilder(clientContext)); + } + + protected Builder(PoliciesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(PoliciesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(PoliciesStubSettings.newBuilder()); + } + + public PoliciesStubSettings.Builder getStubSettingsBuilder() { + return ((PoliciesStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

    Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return getStubSettingsBuilder().listPoliciesSettings(); + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getStubSettingsBuilder().getPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return getStubSettingsBuilder().createPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return getStubSettingsBuilder().createPolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return getStubSettingsBuilder().updatePolicySettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return getStubSettingsBuilder().updatePolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return getStubSettingsBuilder().deletePolicySettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return getStubSettingsBuilder().deletePolicyOperationSettings(); + } + + @Override + public PoliciesSettings build() throws IOException { + return new PoliciesSettings(this); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json new file mode 100644 index 000000000000..a68bf9249a81 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json @@ -0,0 +1,33 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.iam.v2beta", + "libraryPackage": "com.google.iam.v2beta", + "services": { + "Policies": { + "clients": { + "grpc": { + "libraryClient": "PoliciesClient", + "rpcs": { + "CreatePolicy": { + "methods": ["createPolicyAsync", "createPolicyAsync", "createPolicyOperationCallable", "createPolicyCallable"] + }, + "DeletePolicy": { + "methods": ["deletePolicyAsync", "deletePolicyAsync", "deletePolicyAsync", "deletePolicyOperationCallable", "deletePolicyCallable"] + }, + "GetPolicy": { + "methods": ["getPolicy", "getPolicy", "getPolicy", "getPolicyCallable"] + }, + "ListPolicies": { + "methods": ["listPolicies", "listPolicies", "listPoliciesPagedCallable", "listPoliciesCallable"] + }, + "UpdatePolicy": { + "methods": ["updatePolicyAsync", "updatePolicyOperationCallable", "updatePolicyCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java new file mode 100644 index 000000000000..1a342b28dcaa --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 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. + */ + +/** + * A client to Identity and Access Management (IAM) API + * + *

    The interfaces provided are listed below, along with usage samples. + * + *

    ======================= PoliciesClient ======================= + * + *

    Service Description: An interface for managing Identity and Access Management (IAM) policies. + * + *

    Sample for PoliciesClient: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    + *   PolicyName name = PolicyName.of("[POLICY]");
    + *   Policy response = policiesClient.getPolicy(name);
    + * }
    + * }
    + */ +@Generated("by gapic-generator-java") +package com.google.iam.v2beta; + +import javax.annotation.Generated; diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesCallableFactory.java new file mode 100644 index 000000000000..d2ee2059c5fa --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesCallableFactory.java @@ -0,0 +1,115 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the Policies service API. + * + *

    This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcPoliciesCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesStub.java new file mode 100644 index 000000000000..0e1396311ee3 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/GrpcPoliciesStub.java @@ -0,0 +1,332 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +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.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableMap; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Policies service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcPoliciesStub extends PoliciesStub { + private static final MethodDescriptor + listPoliciesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/ListPolicies") + .setRequestMarshaller(ProtoUtils.marshaller(ListPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListPoliciesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/GetPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/CreatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(CreatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updatePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/UpdatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deletePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2beta.Policies/DeletePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(DeletePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcPoliciesStub create(PoliciesStubSettings settings) throws IOException { + return new GrpcPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final GrpcPoliciesStub create(ClientContext clientContext) throws IOException { + return new GrpcPoliciesStub(PoliciesStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcPoliciesStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcPoliciesStub( + PoliciesStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcPoliciesStub, 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 GrpcPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcPoliciesCallableFactory()); + } + + /** + * Constructs an instance of GrpcPoliciesStub, 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 GrpcPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings listPoliciesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updatePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("policy.name", String.valueOf(request.getPolicy().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deletePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + operationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + operationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + operationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @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/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java new file mode 100644 index 000000000000..9b6fcaffdc23 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java @@ -0,0 +1,92 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Policies service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public abstract class PoliciesStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + } + + public UnaryCallable listPoliciesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesPagedCallable()"); + } + + public UnaryCallable listPoliciesCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesCallable()"); + } + + public UnaryCallable getPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getPolicyCallable()"); + } + + public OperationCallable + createPolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyOperationCallable()"); + } + + public UnaryCallable createPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyCallable()"); + } + + public OperationCallable + updatePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyOperationCallable()"); + } + + public UnaryCallable updatePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyCallable()"); + } + + public OperationCallable + deletePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyOperationCallable()"); + } + + public UnaryCallable deletePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java new file mode 100644 index 000000000000..ce17087d8cf0 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java @@ -0,0 +1,582 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +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.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesStub}. + * + *

    The default instance has everything set to sensible defaults: + * + *

      + *
    • The default service address (iam.googleapis.com) and default port (443) are used. + *
    • Credentials are acquired automatically through Application Default Credentials. + *
    • Retries are configured for idempotent methods but not for non-idempotent methods. + *
    + * + *

    The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

    For example, to set the total timeout of getPolicy to 30 seconds: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * PoliciesStubSettings.Builder policiesSettingsBuilder = PoliciesStubSettings.newBuilder();
    + * policiesSettingsBuilder
    + *     .getPolicySettings()
    + *     .setRetrySettings(
    + *         policiesSettingsBuilder
    + *             .getPolicySettings()
    + *             .getRetrySettings()
    + *             .toBuilder()
    + *             .setTotalTimeout(Duration.ofSeconds(30))
    + *             .build());
    + * PoliciesStubSettings policiesSettings = policiesSettingsBuilder.build();
    + * }
    + */ +@BetaApi +@Generated("by gapic-generator-java") +public class PoliciesStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + + private final PagedCallSettings< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings getPolicySettings; + private final UnaryCallSettings createPolicySettings; + private final OperationCallSettings + createPolicyOperationSettings; + private final UnaryCallSettings updatePolicySettings; + private final OperationCallSettings + updatePolicyOperationSettings; + private final UnaryCallSettings deletePolicySettings; + private final OperationCallSettings + deletePolicyOperationSettings; + + private static final PagedListDescriptor + LIST_POLICIES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListPoliciesRequest injectToken(ListPoliciesRequest payload, String token) { + return ListPoliciesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListPoliciesRequest injectPageSize(ListPoliciesRequest payload, int pageSize) { + return ListPoliciesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListPoliciesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListPoliciesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListPoliciesResponse payload) { + return payload.getPoliciesList() == null + ? ImmutableList.of() + : payload.getPoliciesList(); + } + }; + + private static final PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + LIST_POLICIES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListPoliciesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_POLICIES_PAGE_STR_DESC, request, context); + return ListPoliciesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return getPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return createPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + public PoliciesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcPoliciesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "iam.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "iam.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listPoliciesSettings = settingsBuilder.listPoliciesSettings().build(); + getPolicySettings = settingsBuilder.getPolicySettings().build(); + createPolicySettings = settingsBuilder.createPolicySettings().build(); + createPolicyOperationSettings = settingsBuilder.createPolicyOperationSettings().build(); + updatePolicySettings = settingsBuilder.updatePolicySettings().build(); + updatePolicyOperationSettings = settingsBuilder.updatePolicyOperationSettings().build(); + deletePolicySettings = settingsBuilder.deletePolicySettings().build(); + deletePolicyOperationSettings = settingsBuilder.deletePolicyOperationSettings().build(); + } + + /** Builder for PoliciesStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings.Builder getPolicySettings; + private final UnaryCallSettings.Builder createPolicySettings; + private final OperationCallSettings.Builder< + CreatePolicyRequest, Policy, PolicyOperationMetadata> + createPolicyOperationSettings; + private final UnaryCallSettings.Builder updatePolicySettings; + private final OperationCallSettings.Builder< + UpdatePolicyRequest, Policy, PolicyOperationMetadata> + updatePolicyOperationSettings; + private final UnaryCallSettings.Builder deletePolicySettings; + private final OperationCallSettings.Builder< + DeletePolicyRequest, Policy, PolicyOperationMetadata> + deletePolicyOperationSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(10000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listPoliciesSettings = PagedCallSettings.newBuilder(LIST_POLICIES_PAGE_STR_FACT); + getPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicyOperationSettings = OperationCallSettings.newBuilder(); + updatePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updatePolicyOperationSettings = OperationCallSettings.newBuilder(); + deletePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deletePolicyOperationSettings = OperationCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings); + initDefaults(this); + } + + protected Builder(PoliciesStubSettings settings) { + super(settings); + + listPoliciesSettings = settings.listPoliciesSettings.toBuilder(); + getPolicySettings = settings.getPolicySettings.toBuilder(); + createPolicySettings = settings.createPolicySettings.toBuilder(); + createPolicyOperationSettings = settings.createPolicyOperationSettings.toBuilder(); + updatePolicySettings = settings.updatePolicySettings.toBuilder(); + updatePolicyOperationSettings = settings.updatePolicyOperationSettings.toBuilder(); + deletePolicySettings = settings.deletePolicySettings.toBuilder(); + deletePolicyOperationSettings = settings.deletePolicyOperationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .listPoliciesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .updatePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deletePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createPolicyOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .updatePolicyOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .deletePolicyOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

    Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return createPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + @Override + public PoliciesStubSettings build() throws IOException { + return new PoliciesStubSettings(this); + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPolicies.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPolicies.java new file mode 100644 index 000000000000..d68e492149f8 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPolicies.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockPolicies implements MockGrpcService { + private final MockPoliciesImpl serviceImpl; + + public MockPolicies() { + serviceImpl = new MockPoliciesImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPoliciesImpl.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPoliciesImpl.java new file mode 100644 index 000000000000..645a7a8642c8 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/MockPoliciesImpl.java @@ -0,0 +1,165 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import com.google.api.core.BetaApi; +import com.google.iam.v2beta.PoliciesGrpc.PoliciesImplBase; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockPoliciesImpl extends PoliciesImplBase { + private List requests; + private Queue responses; + + public MockPoliciesImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listPolicies( + ListPoliciesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListPoliciesResponse) { + requests.add(request); + responseObserver.onNext(((ListPoliciesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListPolicies, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListPoliciesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getPolicy(GetPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createPolicy( + CreatePolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreatePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updatePolicy( + UpdatePolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdatePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deletePolicy( + DeletePolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeletePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java new file mode 100644 index 000000000000..419e7677414f --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java @@ -0,0 +1,453 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientTest { + private static MockPolicies mockPolicies; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private PoliciesClient client; + + @BeforeClass + public static void startStaticServer() { + mockPolicies = new MockPolicies(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockPolicies)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + PoliciesSettings settings = + PoliciesSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockPolicies.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListPoliciesRequest actualRequest = ((ListPoliciesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listPoliciesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName(PolicyName.of("[POLICY]").toString()) + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + mockPolicies.addResponse(expectedResponse); + + PolicyName name = PolicyName.of("[POLICY]"); + + Policy actualResponse = client.getPolicy(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetPolicyRequest actualRequest = ((GetPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + PolicyName name = PolicyName.of("[POLICY]"); + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName(PolicyName.of("[POLICY]").toString()) + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + mockPolicies.addResponse(expectedResponse); + + String name = "name3373707"; + + Policy actualResponse = client.getPolicy(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetPolicyRequest actualRequest = ((GetPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName(PolicyName.of("[POLICY]").toString()) + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreatePolicyRequest actualRequest = ((CreatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertEquals(policyId, actualRequest.getPolicyId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName(PolicyName.of("[POLICY]").toString()) + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + + Policy actualResponse = client.updatePolicyAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdatePolicyRequest actualRequest = ((UpdatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getPolicy(), actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updatePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + client.updatePolicyAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName(PolicyName.of("[POLICY]").toString()) + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + PolicyName name = PolicyName.of("[POLICY]"); + + Policy actualResponse = client.deletePolicyAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeletePolicyRequest actualRequest = ((DeletePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deletePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + PolicyName name = PolicyName.of("[POLICY]"); + client.deletePolicyAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deletePolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName(PolicyName.of("[POLICY]").toString()) + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String name = "name3373707"; + + Policy actualResponse = client.deletePolicyAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeletePolicyRequest actualRequest = ((DeletePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deletePolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.deletePolicyAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } +} diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml new file mode 100644 index 000000000000..4bcdd27acc92 --- /dev/null +++ b/java-iam/grpc-google-iam-v2beta/pom.xml @@ -0,0 +1,69 @@ + + 4.0.0 + com.google.api.grpc + grpc-google-iam-v2beta + 1.4.2-SNAPSHOT + grpc-google-iam-v2beta + GRPC library for proto-google-iam-v1 + + com.google.cloud + google-iam-parent + 1.4.2-SNAPSHOT + + + + io.grpc + grpc-api + + + io.grpc + grpc-stub + + + io.grpc + grpc-protobuf + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api.grpc + proto-google-iam-v2beta + + + com.google.guava + guava + + + + + + java9 + + [9,) + + + + javax.annotation + javax.annotation-api + + + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java new file mode 100644 index 000000000000..57458d9ec771 --- /dev/null +++ b/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java @@ -0,0 +1,815 @@ +/* + * 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. + */ +package com.google.iam.v2beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
    + * An interface for managing Identity and Access Management (IAM) policies.
    + * 
    + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/iam/v2beta/policy.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class PoliciesGrpc { + + private PoliciesGrpc() {} + + public static final String SERVICE_NAME = "google.iam.v2beta.Policies"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2beta.ListPoliciesRequest, com.google.iam.v2beta.ListPoliciesResponse> + getListPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPolicies", + requestType = com.google.iam.v2beta.ListPoliciesRequest.class, + responseType = com.google.iam.v2beta.ListPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2beta.ListPoliciesRequest, com.google.iam.v2beta.ListPoliciesResponse> + getListPoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2beta.ListPoliciesRequest, com.google.iam.v2beta.ListPoliciesResponse> + getListPoliciesMethod; + if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { + PoliciesGrpc.getListPoliciesMethod = + getListPoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2beta.ListPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2beta.ListPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("ListPolicies")) + .build(); + } + } + } + return getListPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2beta.GetPolicyRequest, com.google.iam.v2beta.Policy> + getGetPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicy", + requestType = com.google.iam.v2beta.GetPolicyRequest.class, + responseType = com.google.iam.v2beta.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2beta.GetPolicyRequest, com.google.iam.v2beta.Policy> + getGetPolicyMethod() { + io.grpc.MethodDescriptor + getGetPolicyMethod; + if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { + PoliciesGrpc.getGetPolicyMethod = + getGetPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2beta.GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2beta.Policy.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("GetPolicy")) + .build(); + } + } + } + return getGetPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation> + getCreatePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePolicy", + requestType = com.google.iam.v2beta.CreatePolicyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation> + getCreatePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation> + getCreatePolicyMethod; + if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { + PoliciesGrpc.getCreatePolicyMethod = + getCreatePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2beta.CreatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("CreatePolicy")) + .build(); + } + } + } + return getCreatePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation> + getUpdatePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", + requestType = com.google.iam.v2beta.UpdatePolicyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation> + getUpdatePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation> + getUpdatePolicyMethod; + if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { + PoliciesGrpc.getUpdatePolicyMethod = + getUpdatePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2beta.UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("UpdatePolicy")) + .build(); + } + } + } + return getUpdatePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation> + getDeletePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePolicy", + requestType = com.google.iam.v2beta.DeletePolicyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation> + getDeletePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation> + getDeletePolicyMethod; + if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { + PoliciesGrpc.getDeletePolicyMethod = + getDeletePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2beta.DeletePolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("DeletePolicy")) + .build(); + } + } + } + return getDeletePolicyMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static PoliciesStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PoliciesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesStub(channel, callOptions); + } + }; + return PoliciesStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static PoliciesBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PoliciesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesBlockingStub(channel, callOptions); + } + }; + return PoliciesBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static PoliciesFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PoliciesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesFutureStub(channel, callOptions); + } + }; + return PoliciesFutureStub.newStub(factory, channel); + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public abstract static class PoliciesImplBase implements io.grpc.BindableService { + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public void listPolicies( + com.google.iam.v2beta.ListPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPoliciesMethod(), responseObserver); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public void getPolicy( + com.google.iam.v2beta.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public void createPolicy( + com.google.iam.v2beta.CreatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePolicyMethod(), responseObserver); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public void updatePolicy( + com.google.iam.v2beta.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePolicyMethod(), responseObserver); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public void deletePolicy( + com.google.iam.v2beta.DeletePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePolicyMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2beta.ListPoliciesRequest, + com.google.iam.v2beta.ListPoliciesResponse>(this, METHODID_LIST_POLICIES))) + .addMethod( + getGetPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2beta.GetPolicyRequest, com.google.iam.v2beta.Policy>( + this, METHODID_GET_POLICY))) + .addMethod( + getCreatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation>( + this, METHODID_CREATE_POLICY))) + .addMethod( + getUpdatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation>( + this, METHODID_UPDATE_POLICY))) + .addMethod( + getDeletePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation>( + this, METHODID_DELETE_POLICY))) + .build(); + } + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public static final class PoliciesStub extends io.grpc.stub.AbstractAsyncStub { + private PoliciesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PoliciesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesStub(channel, callOptions); + } + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public void listPolicies( + com.google.iam.v2beta.ListPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPoliciesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public void getPolicy( + com.google.iam.v2beta.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public void createPolicy( + com.google.iam.v2beta.CreatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public void updatePolicy( + com.google.iam.v2beta.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public void deletePolicy( + com.google.iam.v2beta.DeletePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public static final class PoliciesBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private PoliciesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PoliciesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesBlockingStub(channel, callOptions); + } + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public com.google.iam.v2beta.ListPoliciesResponse listPolicies( + com.google.iam.v2beta.ListPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPoliciesMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public com.google.longrunning.Operation createPolicy( + com.google.iam.v2beta.CreatePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public com.google.longrunning.Operation updatePolicy( + com.google.iam.v2beta.UpdatePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public com.google.longrunning.Operation deletePolicy( + com.google.iam.v2beta.DeletePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePolicyMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public static final class PoliciesFutureStub + extends io.grpc.stub.AbstractFutureStub { + private PoliciesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PoliciesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesFutureStub(channel, callOptions); + } + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v2beta.ListPoliciesResponse> + listPolicies(com.google.iam.v2beta.ListPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPoliciesMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + getPolicy(com.google.iam.v2beta.GetPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + createPolicy(com.google.iam.v2beta.CreatePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + updatePolicy(com.google.iam.v2beta.UpdatePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + deletePolicy(com.google.iam.v2beta.DeletePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_POLICIES = 0; + private static final int METHODID_GET_POLICY = 1; + private static final int METHODID_CREATE_POLICY = 2; + private static final int METHODID_UPDATE_POLICY = 3; + private static final int METHODID_DELETE_POLICY = 4; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final PoliciesImplBase serviceImpl; + private final int methodId; + + MethodHandlers(PoliciesImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_POLICIES: + serviceImpl.listPolicies( + (com.google.iam.v2beta.ListPoliciesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_POLICY: + serviceImpl.getPolicy( + (com.google.iam.v2beta.GetPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_POLICY: + serviceImpl.createPolicy( + (com.google.iam.v2beta.CreatePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_POLICY: + serviceImpl.updatePolicy( + (com.google.iam.v2beta.UpdatePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_POLICY: + serviceImpl.deletePolicy( + (com.google.iam.v2beta.DeletePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class PoliciesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + PoliciesBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.iam.v2beta.PolicyProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Policies"); + } + } + + private static final class PoliciesFileDescriptorSupplier extends PoliciesBaseDescriptorSupplier { + PoliciesFileDescriptorSupplier() {} + } + + private static final class PoliciesMethodDescriptorSupplier extends PoliciesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + PoliciesMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (PoliciesGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PoliciesFileDescriptorSupplier()) + .addMethod(getListPoliciesMethod()) + .addMethod(getGetPolicyMethod()) + .addMethod(getCreatePolicyMethod()) + .addMethod(getUpdatePolicyMethod()) + .addMethod(getDeletePolicyMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 33c1f6c4dbeb..82587543b897 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -74,6 +74,26 @@ pom import + + com.google.cloud + google-iam-policy + 1.4.2-SNAPSHOT + + + com.google.api.grpc + proto-google-iam-v2beta + 1.4.2-SNAPSHOT + + + com.google.api.grpc + grpc-google-iam-v1 + 1.4.2-SNAPSHOT + + + com.google.api.grpc + grpc-google-iam-v2beta + 1.4.2-SNAPSHOT + com.google.api.grpc proto-google-iam-v1 @@ -91,7 +111,10 @@ proto-google-iam-v1 + grpc-google-iam-v2beta + proto-google-iam-v2beta grpc-google-iam-v1 + google-iam-policy diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b414d0a2b5ec..120c3702949f 100644 --- a/java-iam/proto-google-iam-v1/pom.xml +++ b/java-iam/proto-google-iam-v1/pom.xml @@ -21,7 +21,6 @@ proto-google-common-protos - diff --git a/java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml b/java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml new file mode 100644 index 000000000000..136c027be819 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml @@ -0,0 +1,19 @@ + + + + + 7012 + com/google/iam/v2beta/*OrBuilder + * get*(*) + + + 7012 + com/google/iam/v2beta/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/iam/v2beta/*OrBuilder + boolean has*(*) + + diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml new file mode 100644 index 000000000000..3a2b037beba0 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/pom.xml @@ -0,0 +1,42 @@ + + 4.0.0 + com.google.api.grpc + proto-google-iam-v2beta + 1.4.2-SNAPSHOT + proto-google-iam-v2beta + Proto library for proto-google-iam-v1 + + com.google.cloud + google-iam-parent + 1.4.2-SNAPSHOT + + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api + api-common + + + com.google.guava + guava + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + 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 new file mode 100644 index 000000000000..dc8b15dae3d3 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java @@ -0,0 +1,1152 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Request message for `CreatePolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.CreatePolicyRequest} + */ +public final class CreatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.CreatePolicyRequest) + CreatePolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreatePolicyRequest.newBuilder() to construct. + private CreatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreatePolicyRequest() { + parent_ = ""; + policyId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreatePolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CreatePolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + com.google.iam.v2beta.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + policyId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.CreatePolicyRequest.class, + com.google.iam.v2beta.CreatePolicyRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POLICY_FIELD_NUMBER = 2; + private com.google.iam.v2beta.Policy policy_; + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + @java.lang.Override + public boolean hasPolicy() { + return policy_ != null; + } + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + @java.lang.Override + public com.google.iam.v2beta.Policy getPolicy() { + return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; + } + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { + return getPolicy(); + } + + public static final int POLICY_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object policyId_; + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The policyId. + */ + @java.lang.Override + public java.lang.String getPolicyId() { + java.lang.Object ref = policyId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + policyId_ = s; + return s; + } + } + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The bytes for policyId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPolicyIdBytes() { + java.lang.Object ref = policyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + policyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (policy_ != null) { + output.writeMessage(2, getPolicy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, policyId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (policy_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, policyId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.CreatePolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2beta.CreatePolicyRequest other = + (com.google.iam.v2beta.CreatePolicyRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasPolicy() != other.hasPolicy()) return false; + if (hasPolicy()) { + if (!getPolicy().equals(other.getPolicy())) return false; + } + if (!getPolicyId().equals(other.getPolicyId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasPolicy()) { + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + getPolicy().hashCode(); + } + hash = (37 * hash) + POLICY_ID_FIELD_NUMBER; + hash = (53 * hash) + getPolicyId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.CreatePolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `CreatePolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.CreatePolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.CreatePolicyRequest) + com.google.iam.v2beta.CreatePolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.CreatePolicyRequest.class, + com.google.iam.v2beta.CreatePolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2beta.CreatePolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (policyBuilder_ == null) { + policy_ = null; + } else { + policy_ = null; + policyBuilder_ = null; + } + policyId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.CreatePolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2beta.CreatePolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.CreatePolicyRequest build() { + com.google.iam.v2beta.CreatePolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.CreatePolicyRequest buildPartial() { + com.google.iam.v2beta.CreatePolicyRequest result = + new com.google.iam.v2beta.CreatePolicyRequest(this); + result.parent_ = parent_; + if (policyBuilder_ == null) { + result.policy_ = policy_; + } else { + result.policy_ = policyBuilder_.build(); + } + result.policyId_ = policyId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.CreatePolicyRequest) { + return mergeFrom((com.google.iam.v2beta.CreatePolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.CreatePolicyRequest other) { + if (other == com.google.iam.v2beta.CreatePolicyRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasPolicy()) { + mergePolicy(other.getPolicy()); + } + if (!other.getPolicyId().isEmpty()) { + policyId_ = other.policyId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.CreatePolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.CreatePolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.iam.v2beta.Policy policy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder> + policyBuilder_; + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + public boolean hasPolicy() { + return policyBuilder_ != null || policy_ != null; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + public com.google.iam.v2beta.Policy getPolicy() { + if (policyBuilder_ == null) { + return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; + } else { + return policyBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2beta.Policy value) { + if (policyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policy_ = value; + onChanged(); + } else { + policyBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2beta.Policy.Builder builderForValue) { + if (policyBuilder_ == null) { + policy_ = builderForValue.build(); + onChanged(); + } else { + policyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergePolicy(com.google.iam.v2beta.Policy value) { + if (policyBuilder_ == null) { + if (policy_ != null) { + policy_ = + com.google.iam.v2beta.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); + } else { + policy_ = value; + } + onChanged(); + } else { + policyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearPolicy() { + if (policyBuilder_ == null) { + policy_ = null; + onChanged(); + } else { + policy_ = null; + policyBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2beta.Policy.Builder getPolicyBuilder() { + + onChanged(); + return getPolicyFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { + if (policyBuilder_ != null) { + return policyBuilder_.getMessageOrBuilder(); + } else { + return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; + } + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder> + getPolicyFieldBuilder() { + if (policyBuilder_ == null) { + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder>( + getPolicy(), getParentForChildren(), isClean()); + policy_ = null; + } + return policyBuilder_; + } + + private java.lang.Object policyId_ = ""; + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @return The policyId. + */ + public java.lang.String getPolicyId() { + java.lang.Object ref = policyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + policyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @return The bytes for policyId. + */ + public com.google.protobuf.ByteString getPolicyIdBytes() { + java.lang.Object ref = policyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + policyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @param value The policyId to set. + * @return This builder for chaining. + */ + public Builder setPolicyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + policyId_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearPolicyId() { + + policyId_ = getDefaultInstance().getPolicyId(); + onChanged(); + return this; + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @param value The bytes for policyId to set. + * @return This builder for chaining. + */ + public Builder setPolicyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + policyId_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.CreatePolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.CreatePolicyRequest) + private static final com.google.iam.v2beta.CreatePolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.CreatePolicyRequest(); + } + + public static com.google.iam.v2beta.CreatePolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.CreatePolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..24c4fc2fb614 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java @@ -0,0 +1,130 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface CreatePolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.CreatePolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + boolean hasPolicy(); + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + com.google.iam.v2beta.Policy getPolicy(); + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder(); + + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The policyId. + */ + java.lang.String getPolicyId(); + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The bytes for policyId. + */ + com.google.protobuf.ByteString getPolicyIdBytes(); +} 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 new file mode 100644 index 000000000000..a89ed24d46ae --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java @@ -0,0 +1,899 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Request message for `DeletePolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.DeletePolicyRequest} + */ +public final class DeletePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.DeletePolicyRequest) + DeletePolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeletePolicyRequest.newBuilder() to construct. + private DeletePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeletePolicyRequest() { + name_ = ""; + etag_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeletePolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeletePolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.DeletePolicyRequest.class, + com.google.iam.v2beta.DeletePolicyRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ETAG_FIELD_NUMBER = 2; + private volatile java.lang.Object etag_; + /** + * + * + *
    +   * 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } + } + /** + * + * + *
    +   * 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.DeletePolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2beta.DeletePolicyRequest other = + (com.google.iam.v2beta.DeletePolicyRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.DeletePolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `DeletePolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.DeletePolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.DeletePolicyRequest) + com.google.iam.v2beta.DeletePolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.DeletePolicyRequest.class, + com.google.iam.v2beta.DeletePolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2beta.DeletePolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + etag_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.DeletePolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2beta.DeletePolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.DeletePolicyRequest build() { + com.google.iam.v2beta.DeletePolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.DeletePolicyRequest buildPartial() { + com.google.iam.v2beta.DeletePolicyRequest result = + new com.google.iam.v2beta.DeletePolicyRequest(this); + result.name_ = name_; + result.etag_ = etag_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.DeletePolicyRequest) { + return mergeFrom((com.google.iam.v2beta.DeletePolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.DeletePolicyRequest other) { + if (other == com.google.iam.v2beta.DeletePolicyRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getEtag().isEmpty()) { + etag_ = other.etag_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.DeletePolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.DeletePolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object etag_ = ""; + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + etag_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + + etag_ = getDefaultInstance().getEtag(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + etag_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.DeletePolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.DeletePolicyRequest) + private static final com.google.iam.v2beta.DeletePolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.DeletePolicyRequest(); + } + + public static com.google.iam.v2beta.DeletePolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.DeletePolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..265e09064361 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface DeletePolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.DeletePolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The etag. + */ + 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); +} 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 new file mode 100644 index 000000000000..45707bd1aafa --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java @@ -0,0 +1,2508 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/deny.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * A deny rule in an IAM deny policy.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.DenyRule} + */ +public final class DenyRule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.DenyRule) + DenyRuleOrBuilder { + private static final long serialVersionUID = 0L; + // Use DenyRule.newBuilder() to construct. + private DenyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(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; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DenyRule(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DenyRule( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + deniedPrincipals_.add(s); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + exceptionPrincipals_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + deniedPermissions_.add(s); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; + } + exceptionPermissions_.add(s); + break; + } + case 42: + { + com.google.type.Expr.Builder subBuilder = null; + if (denialCondition_ != null) { + subBuilder = denialCondition_.toBuilder(); + } + denialCondition_ = + input.readMessage(com.google.type.Expr.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(denialCondition_); + denialCondition_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.DenyRuleProto + .internal_static_google_iam_v2beta_DenyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.DenyRuleProto + .internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.DenyRule.class, com.google.iam.v2beta.DenyRule.Builder.class); + } + + public static final int DENIED_PRINCIPALS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList deniedPrincipals_; + /** + * + * + *
    +   * 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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return A list containing the deniedPrincipals. + */ + public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { + return deniedPrincipals_; + } + /** + * + * + *
    +   * 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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return The count of deniedPrincipals. + */ + public int getDeniedPrincipalsCount() { + return deniedPrincipals_.size(); + } + /** + * + * + *
    +   * 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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the element to return. + * @return The deniedPrincipals at the given index. + */ + public java.lang.String getDeniedPrincipals(int index) { + return deniedPrincipals_.get(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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPrincipals at the given index. + */ + public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { + return deniedPrincipals_.getByteString(index); + } + + public static final int EXCEPTION_PRINCIPALS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList exceptionPrincipals_; + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return A list containing the exceptionPrincipals. + */ + public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { + return exceptionPrincipals_; + } + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return The count of exceptionPrincipals. + */ + public int getExceptionPrincipalsCount() { + return exceptionPrincipals_.size(); + } + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the element to return. + * @return The exceptionPrincipals at the given index. + */ + public java.lang.String getExceptionPrincipals(int index) { + return exceptionPrincipals_.get(index); + } + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPrincipals at the given index. + */ + public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { + return exceptionPrincipals_.getByteString(index); + } + + public static final int DENIED_PERMISSIONS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList deniedPermissions_; + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return A list containing the deniedPermissions. + */ + public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { + return deniedPermissions_; + } + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return The count of deniedPermissions. + */ + public int getDeniedPermissionsCount() { + return deniedPermissions_.size(); + } + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the element to return. + * @return The deniedPermissions at the given index. + */ + public java.lang.String getDeniedPermissions(int index) { + return deniedPermissions_.get(index); + } + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPermissions at the given index. + */ + public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { + return deniedPermissions_.getByteString(index); + } + + public static final int EXCEPTION_PERMISSIONS_FIELD_NUMBER = 4; + private com.google.protobuf.LazyStringList exceptionPermissions_; + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return A list containing the exceptionPermissions. + */ + public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { + return exceptionPermissions_; + } + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return The count of exceptionPermissions. + */ + public int getExceptionPermissionsCount() { + return exceptionPermissions_.size(); + } + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the element to return. + * @return The exceptionPermissions at the given index. + */ + public java.lang.String getExceptionPermissions(int index) { + return exceptionPermissions_.get(index); + } + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPermissions at the given index. + */ + public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { + return exceptionPermissions_.getByteString(index); + } + + public static final int DENIAL_CONDITION_FIELD_NUMBER = 5; + private com.google.type.Expr denialCondition_; + /** + * + * + *
    +   * 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return Whether the denialCondition field is set. + */ + @java.lang.Override + public boolean hasDenialCondition() { + return denialCondition_ != null; + } + /** + * + * + *
    +   * 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return The denialCondition. + */ + @java.lang.Override + public com.google.type.Expr getDenialCondition() { + return denialCondition_ == null ? com.google.type.Expr.getDefaultInstance() : denialCondition_; + } + /** + * + * + *
    +   * 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + */ + @java.lang.Override + public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { + return getDenialCondition(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < deniedPrincipals_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deniedPrincipals_.getRaw(i)); + } + for (int i = 0; i < exceptionPrincipals_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exceptionPrincipals_.getRaw(i)); + } + for (int i = 0; i < deniedPermissions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deniedPermissions_.getRaw(i)); + } + for (int i = 0; i < exceptionPermissions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, exceptionPermissions_.getRaw(i)); + } + if (denialCondition_ != null) { + output.writeMessage(5, getDenialCondition()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < deniedPrincipals_.size(); i++) { + dataSize += computeStringSizeNoTag(deniedPrincipals_.getRaw(i)); + } + size += dataSize; + size += 1 * getDeniedPrincipalsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < exceptionPrincipals_.size(); i++) { + dataSize += computeStringSizeNoTag(exceptionPrincipals_.getRaw(i)); + } + size += dataSize; + size += 1 * getExceptionPrincipalsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < deniedPermissions_.size(); i++) { + dataSize += computeStringSizeNoTag(deniedPermissions_.getRaw(i)); + } + size += dataSize; + size += 1 * getDeniedPermissionsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < exceptionPermissions_.size(); i++) { + dataSize += computeStringSizeNoTag(exceptionPermissions_.getRaw(i)); + } + size += dataSize; + size += 1 * getExceptionPermissionsList().size(); + } + if (denialCondition_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDenialCondition()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.DenyRule)) { + return super.equals(obj); + } + com.google.iam.v2beta.DenyRule other = (com.google.iam.v2beta.DenyRule) obj; + + if (!getDeniedPrincipalsList().equals(other.getDeniedPrincipalsList())) return false; + if (!getExceptionPrincipalsList().equals(other.getExceptionPrincipalsList())) return false; + if (!getDeniedPermissionsList().equals(other.getDeniedPermissionsList())) return false; + if (!getExceptionPermissionsList().equals(other.getExceptionPermissionsList())) return false; + if (hasDenialCondition() != other.hasDenialCondition()) return false; + if (hasDenialCondition()) { + if (!getDenialCondition().equals(other.getDenialCondition())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDeniedPrincipalsCount() > 0) { + hash = (37 * hash) + DENIED_PRINCIPALS_FIELD_NUMBER; + hash = (53 * hash) + getDeniedPrincipalsList().hashCode(); + } + if (getExceptionPrincipalsCount() > 0) { + hash = (37 * hash) + EXCEPTION_PRINCIPALS_FIELD_NUMBER; + hash = (53 * hash) + getExceptionPrincipalsList().hashCode(); + } + if (getDeniedPermissionsCount() > 0) { + hash = (37 * hash) + DENIED_PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + getDeniedPermissionsList().hashCode(); + } + if (getExceptionPermissionsCount() > 0) { + hash = (37 * hash) + EXCEPTION_PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + getExceptionPermissionsList().hashCode(); + } + if (hasDenialCondition()) { + hash = (37 * hash) + DENIAL_CONDITION_FIELD_NUMBER; + hash = (53 * hash) + getDenialCondition().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.DenyRule parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.DenyRule parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.DenyRule parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.DenyRule parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.DenyRule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.DenyRule parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.DenyRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.DenyRule parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.DenyRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.DenyRule parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.DenyRule parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.DenyRule parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.DenyRule prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * A deny rule in an IAM deny policy.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.DenyRule} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.DenyRule) + com.google.iam.v2beta.DenyRuleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.DenyRuleProto + .internal_static_google_iam_v2beta_DenyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.DenyRuleProto + .internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.DenyRule.class, com.google.iam.v2beta.DenyRule.Builder.class); + } + + // Construct using com.google.iam.v2beta.DenyRule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + if (denialConditionBuilder_ == null) { + denialCondition_ = null; + } else { + denialCondition_ = null; + denialConditionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.DenyRuleProto + .internal_static_google_iam_v2beta_DenyRule_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.DenyRule getDefaultInstanceForType() { + return com.google.iam.v2beta.DenyRule.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.DenyRule build() { + com.google.iam.v2beta.DenyRule result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.DenyRule buildPartial() { + com.google.iam.v2beta.DenyRule result = new com.google.iam.v2beta.DenyRule(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.deniedPrincipals_ = deniedPrincipals_; + if (((bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.exceptionPrincipals_ = exceptionPrincipals_; + if (((bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.deniedPermissions_ = deniedPermissions_; + if (((bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.exceptionPermissions_ = exceptionPermissions_; + if (denialConditionBuilder_ == null) { + result.denialCondition_ = denialCondition_; + } else { + result.denialCondition_ = denialConditionBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.DenyRule) { + return mergeFrom((com.google.iam.v2beta.DenyRule) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.DenyRule other) { + if (other == com.google.iam.v2beta.DenyRule.getDefaultInstance()) return this; + if (!other.deniedPrincipals_.isEmpty()) { + if (deniedPrincipals_.isEmpty()) { + deniedPrincipals_ = other.deniedPrincipals_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.addAll(other.deniedPrincipals_); + } + onChanged(); + } + if (!other.exceptionPrincipals_.isEmpty()) { + if (exceptionPrincipals_.isEmpty()) { + exceptionPrincipals_ = other.exceptionPrincipals_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.addAll(other.exceptionPrincipals_); + } + onChanged(); + } + if (!other.deniedPermissions_.isEmpty()) { + if (deniedPermissions_.isEmpty()) { + deniedPermissions_ = other.deniedPermissions_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.addAll(other.deniedPermissions_); + } + onChanged(); + } + if (!other.exceptionPermissions_.isEmpty()) { + if (exceptionPermissions_.isEmpty()) { + exceptionPermissions_ = other.exceptionPermissions_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.addAll(other.exceptionPermissions_); + } + onChanged(); + } + if (other.hasDenialCondition()) { + mergeDenialCondition(other.getDenialCondition()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.DenyRule parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.DenyRule) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList deniedPrincipals_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDeniedPrincipalsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(deniedPrincipals_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
    +     * 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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @return A list containing the deniedPrincipals. + */ + public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { + return deniedPrincipals_.getUnmodifiableView(); + } + /** + * + * + *
    +     * 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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @return The count of deniedPrincipals. + */ + public int getDeniedPrincipalsCount() { + return deniedPrincipals_.size(); + } + /** + * + * + *
    +     * 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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the element to return. + * @return The deniedPrincipals at the given index. + */ + public java.lang.String getDeniedPrincipals(int index) { + return deniedPrincipals_.get(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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPrincipals at the given index. + */ + public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { + return deniedPrincipals_.getByteString(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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index to set the value at. + * @param value The deniedPrincipals to set. + * @return This builder for chaining. + */ + public Builder setDeniedPrincipals(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param value The deniedPrincipals to add. + * @return This builder for chaining. + */ + public Builder addDeniedPrincipals(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param values The deniedPrincipals to add. + * @return This builder for chaining. + */ + public Builder addAllDeniedPrincipals(java.lang.Iterable values) { + ensureDeniedPrincipalsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPrincipals_); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @return This builder for chaining. + */ + public Builder clearDeniedPrincipals() { + deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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 user who 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param value The bytes of the deniedPrincipals to add. + * @return This builder for chaining. + */ + public Builder addDeniedPrincipalsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList exceptionPrincipals_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExceptionPrincipalsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(exceptionPrincipals_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @return A list containing the exceptionPrincipals. + */ + public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { + return exceptionPrincipals_.getUnmodifiableView(); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @return The count of exceptionPrincipals. + */ + public int getExceptionPrincipalsCount() { + return exceptionPrincipals_.size(); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the element to return. + * @return The exceptionPrincipals at the given index. + */ + public java.lang.String getExceptionPrincipals(int index) { + return exceptionPrincipals_.get(index); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPrincipals at the given index. + */ + public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { + return exceptionPrincipals_.getByteString(index); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index to set the value at. + * @param value The exceptionPrincipals to set. + * @return This builder for chaining. + */ + public Builder setExceptionPrincipals(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param value The exceptionPrincipals to add. + * @return This builder for chaining. + */ + public Builder addExceptionPrincipals(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param values The exceptionPrincipals to add. + * @return This builder for chaining. + */ + public Builder addAllExceptionPrincipals(java.lang.Iterable values) { + ensureExceptionPrincipalsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPrincipals_); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @return This builder for chaining. + */ + public Builder clearExceptionPrincipals() { + exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param value The bytes of the exceptionPrincipals to add. + * @return This builder for chaining. + */ + public Builder addExceptionPrincipalsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList deniedPermissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDeniedPermissionsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(deniedPermissions_); + bitField0_ |= 0x00000004; + } + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @return A list containing the deniedPermissions. + */ + public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { + return deniedPermissions_.getUnmodifiableView(); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @return The count of deniedPermissions. + */ + public int getDeniedPermissionsCount() { + return deniedPermissions_.size(); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the element to return. + * @return The deniedPermissions at the given index. + */ + public java.lang.String getDeniedPermissions(int index) { + return deniedPermissions_.get(index); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPermissions at the given index. + */ + public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { + return deniedPermissions_.getByteString(index); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index to set the value at. + * @param value The deniedPermissions to set. + * @return This builder for chaining. + */ + public Builder setDeniedPermissions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param value The deniedPermissions to add. + * @return This builder for chaining. + */ + public Builder addDeniedPermissions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param values The deniedPermissions to add. + * @return This builder for chaining. + */ + public Builder addAllDeniedPermissions(java.lang.Iterable values) { + ensureDeniedPermissionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPermissions_); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @return This builder for chaining. + */ + public Builder clearDeniedPermissions() { + deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param value The bytes of the deniedPermissions to add. + * @return This builder for chaining. + */ + public Builder addDeniedPermissionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList exceptionPermissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExceptionPermissionsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(exceptionPermissions_); + bitField0_ |= 0x00000008; + } + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @return A list containing the exceptionPermissions. + */ + public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { + return exceptionPermissions_.getUnmodifiableView(); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @return The count of exceptionPermissions. + */ + public int getExceptionPermissionsCount() { + return exceptionPermissions_.size(); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the element to return. + * @return The exceptionPermissions at the given index. + */ + public java.lang.String getExceptionPermissions(int index) { + return exceptionPermissions_.get(index); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPermissions at the given index. + */ + public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { + return exceptionPermissions_.getByteString(index); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index to set the value at. + * @param value The exceptionPermissions to set. + * @return This builder for chaining. + */ + public Builder setExceptionPermissions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param value The exceptionPermissions to add. + * @return This builder for chaining. + */ + public Builder addExceptionPermissions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param values The exceptionPermissions to add. + * @return This builder for chaining. + */ + public Builder addAllExceptionPermissions(java.lang.Iterable values) { + ensureExceptionPermissionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPermissions_); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @return This builder for chaining. + */ + public Builder clearExceptionPermissions() { + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param value The bytes of the exceptionPermissions to add. + * @return This builder for chaining. + */ + public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.add(value); + onChanged(); + return this; + } + + private com.google.type.Expr denialCondition_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + denialConditionBuilder_; + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return Whether the denialCondition field is set. + */ + public boolean hasDenialCondition() { + return denialConditionBuilder_ != null || denialCondition_ != null; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return The denialCondition. + */ + public com.google.type.Expr getDenialCondition() { + if (denialConditionBuilder_ == null) { + return denialCondition_ == null + ? com.google.type.Expr.getDefaultInstance() + : denialCondition_; + } else { + return denialConditionBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder setDenialCondition(com.google.type.Expr value) { + if (denialConditionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + denialCondition_ = value; + onChanged(); + } else { + denialConditionBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder setDenialCondition(com.google.type.Expr.Builder builderForValue) { + if (denialConditionBuilder_ == null) { + denialCondition_ = builderForValue.build(); + onChanged(); + } else { + denialConditionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder mergeDenialCondition(com.google.type.Expr value) { + if (denialConditionBuilder_ == null) { + if (denialCondition_ != null) { + denialCondition_ = + com.google.type.Expr.newBuilder(denialCondition_).mergeFrom(value).buildPartial(); + } else { + denialCondition_ = value; + } + onChanged(); + } else { + denialConditionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder clearDenialCondition() { + if (denialConditionBuilder_ == null) { + denialCondition_ = null; + onChanged(); + } else { + denialCondition_ = null; + denialConditionBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public com.google.type.Expr.Builder getDenialConditionBuilder() { + + onChanged(); + return getDenialConditionFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { + if (denialConditionBuilder_ != null) { + return denialConditionBuilder_.getMessageOrBuilder(); + } else { + return denialCondition_ == null + ? com.google.type.Expr.getDefaultInstance() + : denialCondition_; + } + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + getDenialConditionFieldBuilder() { + if (denialConditionBuilder_ == null) { + denialConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( + getDenialCondition(), getParentForChildren(), isClean()); + denialCondition_ = null; + } + return denialConditionBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.DenyRule) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.DenyRule) + private static final com.google.iam.v2beta.DenyRule DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.DenyRule(); + } + + public static com.google.iam.v2beta.DenyRule getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DenyRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DenyRule(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.DenyRule getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..1e318bc7a762 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java @@ -0,0 +1,468 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/deny.proto + +package com.google.iam.v2beta; + +public interface DenyRuleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.DenyRule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return A list containing the deniedPrincipals. + */ + java.util.List 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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return The count of deniedPrincipals. + */ + 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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the element to return. + * @return The deniedPrincipals at the given index. + */ + 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 user who 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPrincipals at the given index. + */ + com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index); + + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return A list containing the exceptionPrincipals. + */ + java.util.List getExceptionPrincipalsList(); + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return The count of exceptionPrincipals. + */ + int getExceptionPrincipalsCount(); + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the element to return. + * @return The exceptionPrincipals at the given index. + */ + java.lang.String getExceptionPrincipals(int index); + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPrincipals at the given index. + */ + com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index); + + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return A list containing the deniedPermissions. + */ + java.util.List getDeniedPermissionsList(); + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return The count of deniedPermissions. + */ + int getDeniedPermissionsCount(); + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the element to return. + * @return The deniedPermissions at the given index. + */ + java.lang.String getDeniedPermissions(int index); + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPermissions at the given index. + */ + com.google.protobuf.ByteString getDeniedPermissionsBytes(int index); + + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return A list containing the exceptionPermissions. + */ + java.util.List getExceptionPermissionsList(); + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return The count of exceptionPermissions. + */ + int getExceptionPermissionsCount(); + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the element to return. + * @return The exceptionPermissions at the given index. + */ + java.lang.String getExceptionPermissions(int index); + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPermissions at the given index. + */ + 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return Whether the denialCondition field is set. + */ + 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return The denialCondition. + */ + 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + */ + com.google.type.ExprOrBuilder getDenialConditionOrBuilder(); +} diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java new file mode 100644 index 000000000000..9aa4e3a51da5 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java @@ -0,0 +1,75 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/deny.proto + +package com.google.iam.v2beta; + +public final class DenyRuleProto { + private DenyRuleProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_DenyRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\034google/iam/v2beta/deny.proto\022\021google.i" + + "am.v2beta\032\026google/type/expr.proto\"\253\001\n\010De" + + "nyRule\022\031\n\021denied_principals\030\001 \003(\t\022\034\n\024exc" + + "eption_principals\030\002 \003(\t\022\032\n\022denied_permis" + + "sions\030\003 \003(\t\022\035\n\025exception_permissions\030\004 \003" + + "(\t\022+\n\020denial_condition\030\005 \001(\0132\021.google.ty" + + "pe.ExprB^\n\025com.google.iam.v2betaB\rDenyRu" + + "leProtoP\001Z4google.golang.org/genproto/go" + + "ogleapis/iam/v2beta;iamb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.type.ExprProto.getDescriptor(), + }); + internal_static_google_iam_v2beta_DenyRule_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_DenyRule_descriptor, + new java.lang.String[] { + "DeniedPrincipals", + "ExceptionPrincipals", + "DeniedPermissions", + "ExceptionPermissions", + "DenialCondition", + }); + com.google.type.ExprProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} 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 new file mode 100644 index 000000000000..e082377e5832 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java @@ -0,0 +1,691 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Request message for `GetPolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.GetPolicyRequest} + */ +public final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.GetPolicyRequest) + GetPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetPolicyRequest.newBuilder() to construct. + private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetPolicyRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.GetPolicyRequest.class, + com.google.iam.v2beta.GetPolicyRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.GetPolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2beta.GetPolicyRequest other = (com.google.iam.v2beta.GetPolicyRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.GetPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.GetPolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `GetPolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.GetPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.GetPolicyRequest) + com.google.iam.v2beta.GetPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.GetPolicyRequest.class, + com.google.iam.v2beta.GetPolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2beta.GetPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.GetPolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2beta.GetPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.GetPolicyRequest build() { + com.google.iam.v2beta.GetPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.GetPolicyRequest buildPartial() { + com.google.iam.v2beta.GetPolicyRequest result = + new com.google.iam.v2beta.GetPolicyRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.GetPolicyRequest) { + return mergeFrom((com.google.iam.v2beta.GetPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.GetPolicyRequest other) { + if (other == com.google.iam.v2beta.GetPolicyRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.GetPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.GetPolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.GetPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.GetPolicyRequest) + private static final com.google.iam.v2beta.GetPolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.GetPolicyRequest(); + } + + public static com.google.iam.v2beta.GetPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.GetPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..483d9ef3a922 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java @@ -0,0 +1,66 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface GetPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.GetPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + 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.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} 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 new file mode 100644 index 000000000000..5f6f150c5624 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java @@ -0,0 +1,972 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Request message for `ListPolicies`.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.ListPoliciesRequest} + */ +public final class ListPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.ListPoliciesRequest) + ListPoliciesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListPoliciesRequest.newBuilder() to construct. + private ListPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListPoliciesRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListPoliciesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListPoliciesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.ListPoliciesRequest.class, + com.google.iam.v2beta.ListPoliciesRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + * + * + *
    +   * The maximum number of policies to return. IAM ignores this value and uses
    +   * the value 1000.
    +   * 
    + * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + * + * + *
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.ListPoliciesRequest)) { + return super.equals(obj); + } + com.google.iam.v2beta.ListPoliciesRequest other = + (com.google.iam.v2beta.ListPoliciesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.ListPoliciesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `ListPolicies`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.ListPoliciesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.ListPoliciesRequest) + com.google.iam.v2beta.ListPoliciesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.ListPoliciesRequest.class, + com.google.iam.v2beta.ListPoliciesRequest.Builder.class); + } + + // Construct using com.google.iam.v2beta.ListPoliciesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesRequest getDefaultInstanceForType() { + return com.google.iam.v2beta.ListPoliciesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesRequest build() { + com.google.iam.v2beta.ListPoliciesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesRequest buildPartial() { + com.google.iam.v2beta.ListPoliciesRequest result = + new com.google.iam.v2beta.ListPoliciesRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.ListPoliciesRequest) { + return mergeFrom((com.google.iam.v2beta.ListPoliciesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.ListPoliciesRequest other) { + if (other == com.google.iam.v2beta.ListPoliciesRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.ListPoliciesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.ListPoliciesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
    +     * The maximum number of policies to return. IAM ignores this value and uses
    +     * the value 1000.
    +     * 
    + * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
    +     * The maximum number of policies to return. IAM ignores this value and uses
    +     * the value 1000.
    +     * 
    + * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * The maximum number of policies to return. IAM ignores this value and uses
    +     * the value 1000.
    +     * 
    + * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.ListPoliciesRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.ListPoliciesRequest) + private static final com.google.iam.v2beta.ListPoliciesRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.ListPoliciesRequest(); + } + + public static com.google.iam.v2beta.ListPoliciesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPoliciesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..3090b5024348 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java @@ -0,0 +1,107 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface ListPoliciesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.ListPoliciesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
    +   * The maximum number of policies to return. IAM ignores this value and uses
    +   * the value 1000.
    +   * 
    + * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} 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 new file mode 100644 index 000000000000..68ede72d6561 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java @@ -0,0 +1,1131 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Response message for `ListPolicies`.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.ListPoliciesResponse} + */ +public final class ListPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.ListPoliciesResponse) + ListPoliciesResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListPoliciesResponse.newBuilder() to construct. + private ListPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListPoliciesResponse() { + policies_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListPoliciesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListPoliciesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + policies_.add( + input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = java.util.Collections.unmodifiableList(policies_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.ListPoliciesResponse.class, + com.google.iam.v2beta.ListPoliciesResponse.Builder.class); + } + + public static final int POLICIES_FIELD_NUMBER = 1; + private java.util.List policies_; + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + @java.lang.Override + public java.util.List getPoliciesList() { + return policies_; + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + @java.lang.Override + public java.util.List + getPoliciesOrBuilderList() { + return policies_; + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + @java.lang.Override + public int getPoliciesCount() { + return policies_.size(); + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + @java.lang.Override + public com.google.iam.v2beta.Policy getPolicies(int index) { + return policies_.get(index); + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + @java.lang.Override + public com.google.iam.v2beta.PolicyOrBuilder getPoliciesOrBuilder(int index) { + return policies_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < policies_.size(); i++) { + output.writeMessage(1, policies_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < policies_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policies_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.ListPoliciesResponse)) { + return super.equals(obj); + } + com.google.iam.v2beta.ListPoliciesResponse other = + (com.google.iam.v2beta.ListPoliciesResponse) obj; + + if (!getPoliciesList().equals(other.getPoliciesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPoliciesCount() > 0) { + hash = (37 * hash) + POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getPoliciesList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.ListPoliciesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Response message for `ListPolicies`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.ListPoliciesResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.ListPoliciesResponse) + com.google.iam.v2beta.ListPoliciesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.ListPoliciesResponse.class, + com.google.iam.v2beta.ListPoliciesResponse.Builder.class); + } + + // Construct using com.google.iam.v2beta.ListPoliciesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getPoliciesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (policiesBuilder_ == null) { + policies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + policiesBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesResponse getDefaultInstanceForType() { + return com.google.iam.v2beta.ListPoliciesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesResponse build() { + com.google.iam.v2beta.ListPoliciesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesResponse buildPartial() { + com.google.iam.v2beta.ListPoliciesResponse result = + new com.google.iam.v2beta.ListPoliciesResponse(this); + int from_bitField0_ = bitField0_; + if (policiesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + policies_ = java.util.Collections.unmodifiableList(policies_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.policies_ = policies_; + } else { + result.policies_ = policiesBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.ListPoliciesResponse) { + return mergeFrom((com.google.iam.v2beta.ListPoliciesResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.ListPoliciesResponse other) { + if (other == com.google.iam.v2beta.ListPoliciesResponse.getDefaultInstance()) return this; + if (policiesBuilder_ == null) { + if (!other.policies_.isEmpty()) { + if (policies_.isEmpty()) { + policies_ = other.policies_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePoliciesIsMutable(); + policies_.addAll(other.policies_); + } + onChanged(); + } + } else { + if (!other.policies_.isEmpty()) { + if (policiesBuilder_.isEmpty()) { + policiesBuilder_.dispose(); + policiesBuilder_ = null; + policies_ = other.policies_; + bitField0_ = (bitField0_ & ~0x00000001); + policiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPoliciesFieldBuilder() + : null; + } else { + policiesBuilder_.addAllMessages(other.policies_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.ListPoliciesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.ListPoliciesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List policies_ = + java.util.Collections.emptyList(); + + private void ensurePoliciesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + policies_ = new java.util.ArrayList(policies_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder> + policiesBuilder_; + + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public java.util.List getPoliciesList() { + if (policiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(policies_); + } else { + return policiesBuilder_.getMessageList(); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public int getPoliciesCount() { + if (policiesBuilder_ == null) { + return policies_.size(); + } else { + return policiesBuilder_.getCount(); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public com.google.iam.v2beta.Policy getPolicies(int index) { + if (policiesBuilder_ == null) { + return policies_.get(index); + } else { + return policiesBuilder_.getMessage(index); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder setPolicies(int index, com.google.iam.v2beta.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.set(index, value); + onChanged(); + } else { + policiesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder setPolicies(int index, com.google.iam.v2beta.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.set(index, builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder addPolicies(com.google.iam.v2beta.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.add(value); + onChanged(); + } else { + policiesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder addPolicies(int index, com.google.iam.v2beta.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.add(index, value); + onChanged(); + } else { + policiesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder addPolicies(com.google.iam.v2beta.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder addPolicies(int index, com.google.iam.v2beta.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(index, builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder addAllPolicies( + java.lang.Iterable values) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); + onChanged(); + } else { + policiesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder clearPolicies() { + if (policiesBuilder_ == null) { + policies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + policiesBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public Builder removePolicies(int index) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.remove(index); + onChanged(); + } else { + policiesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public com.google.iam.v2beta.Policy.Builder getPoliciesBuilder(int index) { + return getPoliciesFieldBuilder().getBuilder(index); + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public com.google.iam.v2beta.PolicyOrBuilder getPoliciesOrBuilder(int index) { + if (policiesBuilder_ == null) { + return policies_.get(index); + } else { + return policiesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public java.util.List + getPoliciesOrBuilderList() { + if (policiesBuilder_ != null) { + return policiesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(policies_); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public com.google.iam.v2beta.Policy.Builder addPoliciesBuilder() { + return getPoliciesFieldBuilder() + .addBuilder(com.google.iam.v2beta.Policy.getDefaultInstance()); + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public com.google.iam.v2beta.Policy.Builder addPoliciesBuilder(int index) { + return getPoliciesFieldBuilder() + .addBuilder(index, com.google.iam.v2beta.Policy.getDefaultInstance()); + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + public java.util.List getPoliciesBuilderList() { + return getPoliciesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder> + getPoliciesFieldBuilder() { + if (policiesBuilder_ == null) { + policiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder>( + policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + policies_ = null; + } + return policiesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.ListPoliciesResponse) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.ListPoliciesResponse) + private static final com.google.iam.v2beta.ListPoliciesResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.ListPoliciesResponse(); + } + + public static com.google.iam.v2beta.ListPoliciesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPoliciesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.ListPoliciesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java new file mode 100644 index 000000000000..51d88d35e064 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java @@ -0,0 +1,103 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface ListPoliciesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.ListPoliciesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + java.util.List getPoliciesList(); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + com.google.iam.v2beta.Policy getPolicies(int index); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + int getPoliciesCount(); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + java.util.List getPoliciesOrBuilderList(); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2beta.Policy policies = 1; + */ + com.google.iam.v2beta.PolicyOrBuilder getPoliciesOrBuilder(int index); + + /** + * + * + *
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} 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 new file mode 100644 index 000000000000..08ae40c81c0d --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java @@ -0,0 +1,3171 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Data for an IAM policy.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.Policy} + */ +public final class Policy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.Policy) + PolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use Policy.newBuilder() to construct. + private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Policy() { + name_ = ""; + uid_ = ""; + kind_ = ""; + displayName_ = ""; + etag_ = ""; + rules_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Policy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Policy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + uid_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + kind_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (deleteTime_ != null) { + subBuilder = deleteTime_.toBuilder(); + } + deleteTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deleteTime_); + deleteTime_ = subBuilder.buildPartial(); + } + + break; + } + case 82: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + rules_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + rules_.add( + input.readMessage(com.google.iam.v2beta.PolicyRule.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + rules_ = java.util.Collections.unmodifiableList(rules_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto.internal_static_google_iam_v2beta_Policy_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 5: + return internalGetAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_Policy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.Policy.class, com.google.iam.v2beta.Policy.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UID_FIELD_NUMBER = 2; + private volatile java.lang.Object uid_; + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The uid. + */ + @java.lang.Override + public java.lang.String getUid() { + java.lang.Object ref = uid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uid_ = s; + return s; + } + } + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for uid. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUidBytes() { + java.lang.Object ref = uid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KIND_FIELD_NUMBER = 3; + private volatile java.lang.Object kind_; + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + private volatile java.lang.Object displayName_; + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } + } + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ANNOTATIONS_FIELD_NUMBER = 5; + + private static final class AnnotationsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField annotations_; + + private com.google.protobuf.MapField + internalGetAnnotations() { + if (annotations_ == null) { + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + } + return annotations_; + } + + public int getAnnotationsCount() { + return internalGetAnnotations().getMap().size(); + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetAnnotations().getMap().containsKey(key); + } + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAnnotations() { + return getAnnotationsMap(); + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.util.Map getAnnotationsMap() { + return internalGetAnnotations().getMap(); + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int ETAG_FIELD_NUMBER = 6; + private volatile java.lang.Object etag_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string etag = 6; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string etag = 6; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATE_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 8; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + public static final int DELETE_TIME_FIELD_NUMBER = 9; + private com.google.protobuf.Timestamp deleteTime_; + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deleteTime field is set. + */ + @java.lang.Override + public boolean hasDeleteTime() { + return deleteTime_ != null; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deleteTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getDeleteTime() { + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { + return getDeleteTime(); + } + + public static final int RULES_FIELD_NUMBER = 10; + private java.util.List rules_; + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + @java.lang.Override + public java.util.List getRulesList() { + return rules_; + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + @java.lang.Override + public java.util.List + getRulesOrBuilderList() { + return rules_; + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + @java.lang.Override + public int getRulesCount() { + return rules_.size(); + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + @java.lang.Override + public com.google.iam.v2beta.PolicyRule getRules(int index) { + return rules_.get(index); + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + @java.lang.Override + public com.google.iam.v2beta.PolicyRuleOrBuilder getRulesOrBuilder(int index) { + return rules_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, etag_); + } + if (createTime_ != null) { + output.writeMessage(7, getCreateTime()); + } + if (updateTime_ != null) { + output.writeMessage(8, getUpdateTime()); + } + if (deleteTime_ != null) { + output.writeMessage(9, getDeleteTime()); + } + for (int i = 0; i < rules_.size(); i++) { + output.writeMessage(10, rules_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); + } + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, etag_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + } + if (deleteTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeleteTime()); + } + for (int i = 0; i < rules_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, rules_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.Policy)) { + return super.equals(obj); + } + com.google.iam.v2beta.Policy other = (com.google.iam.v2beta.Policy) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getKind().equals(other.getKind())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (hasDeleteTime() != other.hasDeleteTime()) return false; + if (hasDeleteTime()) { + if (!getDeleteTime().equals(other.getDeleteTime())) return false; + } + if (!getRulesList().equals(other.getRulesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + UID_FIELD_NUMBER; + hash = (53 * hash) + getUid().hashCode(); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + if (!internalGetAnnotations().getMap().isEmpty()) { + hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetAnnotations().hashCode(); + } + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (hasDeleteTime()) { + hash = (37 * hash) + DELETE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getDeleteTime().hashCode(); + } + if (getRulesCount() > 0) { + hash = (37 * hash) + RULES_FIELD_NUMBER; + hash = (53 * hash) + getRulesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.Policy parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.Policy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.Policy parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.Policy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.Policy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.Policy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.Policy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.Policy parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.Policy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.Policy parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.Policy parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.Policy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.Policy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Data for an IAM policy.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.Policy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.Policy) + com.google.iam.v2beta.PolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto.internal_static_google_iam_v2beta_Policy_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 5: + return internalGetAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 5: + return internalGetMutableAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_Policy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.Policy.class, com.google.iam.v2beta.Policy.Builder.class); + } + + // Construct using com.google.iam.v2beta.Policy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRulesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + uid_ = ""; + + kind_ = ""; + + displayName_ = ""; + + internalGetMutableAnnotations().clear(); + etag_ = ""; + + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + if (deleteTimeBuilder_ == null) { + deleteTime_ = null; + } else { + deleteTime_ = null; + deleteTimeBuilder_ = null; + } + if (rulesBuilder_ == null) { + rules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + rulesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto.internal_static_google_iam_v2beta_Policy_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.Policy getDefaultInstanceForType() { + return com.google.iam.v2beta.Policy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.Policy build() { + com.google.iam.v2beta.Policy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.Policy buildPartial() { + com.google.iam.v2beta.Policy result = new com.google.iam.v2beta.Policy(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + result.uid_ = uid_; + result.kind_ = kind_; + result.displayName_ = displayName_; + result.annotations_ = internalGetAnnotations(); + result.annotations_.makeImmutable(); + result.etag_ = etag_; + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + if (deleteTimeBuilder_ == null) { + result.deleteTime_ = deleteTime_; + } else { + result.deleteTime_ = deleteTimeBuilder_.build(); + } + if (rulesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + rules_ = java.util.Collections.unmodifiableList(rules_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.rules_ = rules_; + } else { + result.rules_ = rulesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.Policy) { + return mergeFrom((com.google.iam.v2beta.Policy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.Policy other) { + if (other == com.google.iam.v2beta.Policy.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getUid().isEmpty()) { + uid_ = other.uid_; + onChanged(); + } + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + onChanged(); + } + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + if (!other.getEtag().isEmpty()) { + etag_ = other.etag_; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + if (other.hasDeleteTime()) { + mergeDeleteTime(other.getDeleteTime()); + } + if (rulesBuilder_ == null) { + if (!other.rules_.isEmpty()) { + if (rules_.isEmpty()) { + rules_ = other.rules_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureRulesIsMutable(); + rules_.addAll(other.rules_); + } + onChanged(); + } + } else { + if (!other.rules_.isEmpty()) { + if (rulesBuilder_.isEmpty()) { + rulesBuilder_.dispose(); + rulesBuilder_ = null; + rules_ = other.rules_; + bitField0_ = (bitField0_ & ~0x00000002); + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRulesFieldBuilder() + : null; + } else { + rulesBuilder_.addAllMessages(other.rules_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.Policy parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.Policy) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object uid_ = ""; + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The uid. + */ + public java.lang.String getUid() { + java.lang.Object ref = uid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for uid. + */ + public com.google.protobuf.ByteString getUidBytes() { + java.lang.Object ref = uid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The uid to set. + * @return This builder for chaining. + */ + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + uid_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearUid() { + + uid_ = getDefaultInstance().getUid(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for uid to set. + * @return This builder for chaining. + */ + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + uid_ = value; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + + kind_ = getDefaultInstance().getKind(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + kind_ = value; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + displayName_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + + displayName_ = getDefaultInstance().getDisplayName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + displayName_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField annotations_; + + private com.google.protobuf.MapField + internalGetAnnotations() { + if (annotations_ == null) { + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + } + return annotations_; + } + + private com.google.protobuf.MapField + internalGetMutableAnnotations() { + onChanged(); + ; + if (annotations_ == null) { + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + } + if (!annotations_.isMutable()) { + annotations_ = annotations_.copy(); + } + return annotations_; + } + + public int getAnnotationsCount() { + return internalGetAnnotations().getMap().size(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetAnnotations().getMap().containsKey(key); + } + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAnnotations() { + return getAnnotationsMap(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.util.Map getAnnotationsMap() { + return internalGetAnnotations().getMap(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearAnnotations() { + internalGetMutableAnnotations().getMutableMap().clear(); + return this; + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableAnnotations() { + return internalGetMutableAnnotations().getMutableMap(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + + internalGetMutableAnnotations().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); + return this; + } + + private java.lang.Object etag_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + etag_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + + etag_ = getDefaultInstance().getEtag(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + etag_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.protobuf.Timestamp deleteTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deleteTime field is set. + */ + public boolean hasDeleteTime() { + return deleteTimeBuilder_ != null || deleteTime_ != null; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deleteTime. + */ + public com.google.protobuf.Timestamp getDeleteTime() { + if (deleteTimeBuilder_ == null) { + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; + } else { + return deleteTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeleteTime(com.google.protobuf.Timestamp value) { + if (deleteTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deleteTime_ = value; + onChanged(); + } else { + deleteTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (deleteTimeBuilder_ == null) { + deleteTime_ = builderForValue.build(); + onChanged(); + } else { + deleteTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { + if (deleteTimeBuilder_ == null) { + if (deleteTime_ != null) { + deleteTime_ = + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + } else { + deleteTime_ = value; + } + onChanged(); + } else { + deleteTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearDeleteTime() { + if (deleteTimeBuilder_ == null) { + deleteTime_ = null; + onChanged(); + } else { + deleteTime_ = null; + deleteTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { + + onChanged(); + return getDeleteTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { + if (deleteTimeBuilder_ != null) { + return deleteTimeBuilder_.getMessageOrBuilder(); + } else { + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getDeleteTimeFieldBuilder() { + if (deleteTimeBuilder_ == null) { + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); + deleteTime_ = null; + } + return deleteTimeBuilder_; + } + + private java.util.List rules_ = + java.util.Collections.emptyList(); + + private void ensureRulesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + rules_ = new java.util.ArrayList(rules_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2beta.PolicyRule, + com.google.iam.v2beta.PolicyRule.Builder, + com.google.iam.v2beta.PolicyRuleOrBuilder> + rulesBuilder_; + + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public java.util.List getRulesList() { + if (rulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(rules_); + } else { + return rulesBuilder_.getMessageList(); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public int getRulesCount() { + if (rulesBuilder_ == null) { + return rules_.size(); + } else { + return rulesBuilder_.getCount(); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public com.google.iam.v2beta.PolicyRule getRules(int index) { + if (rulesBuilder_ == null) { + return rules_.get(index); + } else { + return rulesBuilder_.getMessage(index); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder setRules(int index, com.google.iam.v2beta.PolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.set(index, value); + onChanged(); + } else { + rulesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder setRules(int index, com.google.iam.v2beta.PolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.set(index, builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder addRules(com.google.iam.v2beta.PolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.add(value); + onChanged(); + } else { + rulesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder addRules(int index, com.google.iam.v2beta.PolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.add(index, value); + onChanged(); + } else { + rulesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder addRules(com.google.iam.v2beta.PolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder addRules(int index, com.google.iam.v2beta.PolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(index, builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder addAllRules( + java.lang.Iterable values) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + onChanged(); + } else { + rulesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder clearRules() { + if (rulesBuilder_ == null) { + rules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + rulesBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public Builder removeRules(int index) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.remove(index); + onChanged(); + } else { + rulesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public com.google.iam.v2beta.PolicyRule.Builder getRulesBuilder(int index) { + return getRulesFieldBuilder().getBuilder(index); + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public com.google.iam.v2beta.PolicyRuleOrBuilder getRulesOrBuilder(int index) { + if (rulesBuilder_ == null) { + return rules_.get(index); + } else { + return rulesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public java.util.List + getRulesOrBuilderList() { + if (rulesBuilder_ != null) { + return rulesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(rules_); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public com.google.iam.v2beta.PolicyRule.Builder addRulesBuilder() { + return getRulesFieldBuilder() + .addBuilder(com.google.iam.v2beta.PolicyRule.getDefaultInstance()); + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public com.google.iam.v2beta.PolicyRule.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder(index, com.google.iam.v2beta.PolicyRule.getDefaultInstance()); + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + public java.util.List getRulesBuilderList() { + return getRulesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2beta.PolicyRule, + com.google.iam.v2beta.PolicyRule.Builder, + com.google.iam.v2beta.PolicyRuleOrBuilder> + getRulesFieldBuilder() { + if (rulesBuilder_ == null) { + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2beta.PolicyRule, + com.google.iam.v2beta.PolicyRule.Builder, + com.google.iam.v2beta.PolicyRuleOrBuilder>( + rules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rules_ = null; + } + return rulesBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.Policy) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.Policy) + private static final com.google.iam.v2beta.Policy DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.Policy(); + } + + public static com.google.iam.v2beta.Policy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Policy(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.Policy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java new file mode 100644 index 000000000000..15b7c14ab59c --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java @@ -0,0 +1,168 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class PolicyName implements ResourceName { + private static final PathTemplate POLICY = + PathTemplate.createWithoutUrlEncoding("policies/{policy}"); + private volatile Map fieldValuesMap; + private final String policy; + + @Deprecated + protected PolicyName() { + policy = null; + } + + private PolicyName(Builder builder) { + policy = Preconditions.checkNotNull(builder.getPolicy()); + } + + public String getPolicy() { + return policy; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static PolicyName of(String policy) { + return newBuilder().setPolicy(policy).build(); + } + + public static String format(String policy) { + return newBuilder().setPolicy(policy).build().toString(); + } + + public static PolicyName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + POLICY.validatedMatch( + formattedString, "PolicyName.parse: formattedString not in valid format"); + return of(matchMap.get("policy")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (PolicyName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return POLICY.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (policy != null) { + fieldMapBuilder.put("policy", policy); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return POLICY.instantiate("policy", policy); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + PolicyName that = ((PolicyName) o); + return Objects.equals(this.policy, that.policy); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(policy); + return h; + } + + /** Builder for policies/{policy}. */ + public static class Builder { + private String policy; + + protected Builder() {} + + public String getPolicy() { + return policy; + } + + public Builder setPolicy(String policy) { + this.policy = policy; + return this; + } + + private Builder(PolicyName policyName) { + this.policy = policyName.policy; + } + + public PolicyName build() { + return new PolicyName(this); + } + } +} 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 new file mode 100644 index 000000000000..c1bdb7b3d7b4 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java @@ -0,0 +1,728 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Metadata for long-running `Policy` operations.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.PolicyOperationMetadata} + */ +public final class PolicyOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.PolicyOperationMetadata) + PolicyOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use PolicyOperationMetadata.newBuilder() to construct. + private PolicyOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PolicyOperationMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PolicyOperationMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PolicyOperationMetadata( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.PolicyOperationMetadata.class, + com.google.iam.v2beta.PolicyOperationMetadata.Builder.class); + } + + public static final int CREATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (createTime_ != null) { + output.writeMessage(1, getCreateTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.PolicyOperationMetadata)) { + return super.equals(obj); + } + com.google.iam.v2beta.PolicyOperationMetadata other = + (com.google.iam.v2beta.PolicyOperationMetadata) obj; + + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.PolicyOperationMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Metadata for long-running `Policy` operations.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.PolicyOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.PolicyOperationMetadata) + com.google.iam.v2beta.PolicyOperationMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.PolicyOperationMetadata.class, + com.google.iam.v2beta.PolicyOperationMetadata.Builder.class); + } + + // Construct using com.google.iam.v2beta.PolicyOperationMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyOperationMetadata getDefaultInstanceForType() { + return com.google.iam.v2beta.PolicyOperationMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyOperationMetadata build() { + com.google.iam.v2beta.PolicyOperationMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyOperationMetadata buildPartial() { + com.google.iam.v2beta.PolicyOperationMetadata result = + new com.google.iam.v2beta.PolicyOperationMetadata(this); + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.PolicyOperationMetadata) { + return mergeFrom((com.google.iam.v2beta.PolicyOperationMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.PolicyOperationMetadata other) { + if (other == com.google.iam.v2beta.PolicyOperationMetadata.getDefaultInstance()) return this; + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.PolicyOperationMetadata parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.PolicyOperationMetadata) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.PolicyOperationMetadata) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.PolicyOperationMetadata) + private static final com.google.iam.v2beta.PolicyOperationMetadata DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.PolicyOperationMetadata(); + } + + public static com.google.iam.v2beta.PolicyOperationMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PolicyOperationMetadata(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyOperationMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java new file mode 100644 index 000000000000..11fc1dca82a7 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java @@ -0,0 +1,60 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface PolicyOperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.PolicyOperationMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); +} 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 new file mode 100644 index 000000000000..fdfbab339692 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java @@ -0,0 +1,412 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface PolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.Policy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The uid. + */ + java.lang.String getUid(); + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for uid. + */ + com.google.protobuf.ByteString getUidBytes(); + + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + int getAnnotationsCount(); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getAnnotations(); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + java.util.Map getAnnotationsMap(); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + + /* nullable */ + java.lang.String getAnnotationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + 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.
    +   * 
    + * + * string etag = 6; + * + * @return The etag. + */ + 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.
    +   * 
    + * + * string etag = 6; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); + + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deleteTime field is set. + */ + boolean hasDeleteTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deleteTime. + */ + com.google.protobuf.Timestamp getDeleteTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); + + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + java.util.List getRulesList(); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + com.google.iam.v2beta.PolicyRule getRules(int index); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + int getRulesCount(); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + java.util.List getRulesOrBuilderList(); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2beta.PolicyRule rules = 10; + */ + com.google.iam.v2beta.PolicyRuleOrBuilder getRulesOrBuilder(int index); +} 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 new file mode 100644 index 000000000000..de498bc2140f --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java @@ -0,0 +1,263 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public final class PolicyProto { + private PolicyProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_Policy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_Policy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_Policy_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_PolicyRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\036google/iam/v2beta/policy.proto\022\021google" + + ".iam.v2beta\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032\034google/iam/v2beta/deny.proto\032#go" + + "ogle/longrunning/operations.proto\032\037googl" + + "e/protobuf/timestamp.proto\"\334\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\004ki" + + "nd\030\003 \001(\tB\003\340A\003\022\024\n\014display_name\030\004 \001(\t\022?\n\013a" + + "nnotations\030\005 \003(\0132*.google.iam.v2beta.Pol" + + "icy.AnnotationsEntry\022\014\n\004etag\030\006 \001(\t\0224\n\013cr" + + "eate_time\030\007 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0224\n\013delete_time\030\t " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022,\n\005" + + "rules\030\n \003(\0132\035.google.iam.v2beta.PolicyRu" + + "le\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001:1\352A.\n\031iam.googleapis.com/" + + "Policy\022\021policies/{policy}\"[\n\nPolicyRule\022" + + "0\n\tdeny_rule\030\002 \001(\0132\033.google.iam.v2beta.D" + + "enyRuleH\000\022\023\n\013description\030\001 \001(\tB\006\n\004kind\"Q" + + "\n\023ListPoliciesRequest\022\023\n\006parent\030\001 \001(\tB\003\340" + + "A\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_p" + + "age_token\030\002 \001(\t\"C\n\020GetPolicyRequest\022/\n\004n" + + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031iam.googleapis.com/Po" + + "licy\"m\n\023CreatePolicyRequest\022\023\n\006parent\030\001 " + + "\001(\tB\003\340A\002\022.\n\006policy\030\002 \001(\0132\031.google.iam.v2" + + "beta.PolicyB\003\340A\002\022\021\n\tpolicy_id\030\003 \001(\t\"E\n\023U" + + "pdatePolicyRequest\022.\n\006policy\030\001 \001(\0132\031.goo" + + "gle.iam.v2beta.PolicyB\003\340A\002\"Y\n\023DeletePoli" + + "cyRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031iam.goo" + + "gleapis.com/Policy\022\021\n\004etag\030\002 \001(\tB\003\340A\001\"J\n" + + "\027PolicyOperationMetadata\022/\n\013create_time\030" + + "\001 \001(\0132\032.google.protobuf.Timestamp2\200\007\n\010Po" + + "licies\022\217\001\n\014ListPolicies\022&.google.iam.v2b" + + "eta.ListPoliciesRequest\032\'.google.iam.v2b" + + "eta.ListPoliciesResponse\".\202\323\344\223\002\037\022\035/v2bet" + + "a/{parent=policies/*/*}\332A\006parent\022y\n\tGetP" + + "olicy\022#.google.iam.v2beta.GetPolicyReque" + + "st\032\031.google.iam.v2beta.Policy\",\202\323\344\223\002\037\022\035/" + + "v2beta/{name=policies/*/*/*}\332A\004name\022\302\001\n\014" + + "CreatePolicy\022&.google.iam.v2beta.CreateP" + + "olicyRequest\032\035.google.longrunning.Operat" + + "ion\"k\202\323\344\223\002\'\"\035/v2beta/{parent=policies/*/" + + "*}:\006policy\332A\027parent,policy,policy_id\312A!\n" + + "\006Policy\022\027PolicyOperationMetadata\022\257\001\n\014Upd" + + "atePolicy\022&.google.iam.v2beta.UpdatePoli" + + "cyRequest\032\035.google.longrunning.Operation" + + "\"X\202\323\344\223\002.\032$/v2beta/{policy.name=policies/" + + "*/*/*}:\006policy\312A!\n\006Policy\022\027PolicyOperati" + + "onMetadata\022\247\001\n\014DeletePolicy\022&.google.iam" + + ".v2beta.DeletePolicyRequest\032\035.google.lon" + + "grunning.Operation\"P\202\323\344\223\002\037*\035/v2beta/{nam" + + "e=policies/*/*/*}\332A\004name\312A!\n\006Policy\022\027Pol" + + "icyOperationMetadata\032F\312A\022iam.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformB\\\n\025com.google.iam.v2betaB\013P" + + "olicyProtoP\001Z4google.golang.org/genproto" + + "/googleapis/iam/v2beta;iamb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.iam.v2beta.DenyRuleProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_iam_v2beta_Policy_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v2beta_Policy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_Policy_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Kind", + "DisplayName", + "Annotations", + "Etag", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Rules", + }); + internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor = + internal_static_google_iam_v2beta_Policy_descriptor.getNestedTypes().get(0); + internal_static_google_iam_v2beta_Policy_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_iam_v2beta_PolicyRule_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_PolicyRule_descriptor, + new java.lang.String[] { + "DenyRule", "Description", "Kind", + }); + internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor, + new java.lang.String[] { + "Policies", "NextPageToken", + }); + internal_static_google_iam_v2beta_GetPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_GetPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor, + new java.lang.String[] { + "Parent", "Policy", "PolicyId", + }); + internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor, + new java.lang.String[] { + "Policy", + }); + internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor, + new java.lang.String[] { + "Name", "Etag", + }); + internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.iam.v2beta.DenyRuleProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} 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 new file mode 100644 index 000000000000..d58b2590c74b --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java @@ -0,0 +1,1012 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * A single rule in a `Policy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.PolicyRule} + */ +public final class PolicyRule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.PolicyRule) + PolicyRuleOrBuilder { + private static final long serialVersionUID = 0L; + // Use PolicyRule.newBuilder() to construct. + private PolicyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PolicyRule() { + description_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PolicyRule(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PolicyRule( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 18: + { + com.google.iam.v2beta.DenyRule.Builder subBuilder = null; + if (kindCase_ == 2) { + subBuilder = ((com.google.iam.v2beta.DenyRule) kind_).toBuilder(); + } + kind_ = input.readMessage(com.google.iam.v2beta.DenyRule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.iam.v2beta.DenyRule) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 2; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.PolicyRule.class, com.google.iam.v2beta.PolicyRule.Builder.class); + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public enum KindCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DENY_RULE(2), + KIND_NOT_SET(0); + private final int value; + + private KindCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static KindCase valueOf(int value) { + return forNumber(value); + } + + public static KindCase forNumber(int value) { + switch (value) { + case 2: + return DENY_RULE; + case 0: + return KIND_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public static final int DENY_RULE_FIELD_NUMBER = 2; + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + * + * @return Whether the denyRule field is set. + */ + @java.lang.Override + public boolean hasDenyRule() { + return kindCase_ == 2; + } + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + * + * @return The denyRule. + */ + @java.lang.Override + public com.google.iam.v2beta.DenyRule getDenyRule() { + if (kindCase_ == 2) { + return (com.google.iam.v2beta.DenyRule) kind_; + } + return com.google.iam.v2beta.DenyRule.getDefaultInstance(); + } + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + @java.lang.Override + public com.google.iam.v2beta.DenyRuleOrBuilder getDenyRuleOrBuilder() { + if (kindCase_ == 2) { + return (com.google.iam.v2beta.DenyRule) kind_; + } + return com.google.iam.v2beta.DenyRule.getDefaultInstance(); + } + + public static final int DESCRIPTION_FIELD_NUMBER = 1; + private volatile java.lang.Object description_; + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); + } + if (kindCase_ == 2) { + output.writeMessage(2, (com.google.iam.v2beta.DenyRule) kind_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); + } + if (kindCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.iam.v2beta.DenyRule) kind_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.PolicyRule)) { + return super.equals(obj); + } + com.google.iam.v2beta.PolicyRule other = (com.google.iam.v2beta.PolicyRule) obj; + + if (!getDescription().equals(other.getDescription())) return false; + if (!getKindCase().equals(other.getKindCase())) return false; + switch (kindCase_) { + case 2: + if (!getDenyRule().equals(other.getDenyRule())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + switch (kindCase_) { + case 2: + hash = (37 * hash) + DENY_RULE_FIELD_NUMBER; + hash = (53 * hash) + getDenyRule().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.PolicyRule parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.PolicyRule parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.PolicyRule parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.PolicyRule prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * A single rule in a `Policy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.PolicyRule} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.PolicyRule) + com.google.iam.v2beta.PolicyRuleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.PolicyRule.class, + com.google.iam.v2beta.PolicyRule.Builder.class); + } + + // Construct using com.google.iam.v2beta.PolicyRule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + description_ = ""; + + kindCase_ = 0; + kind_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_PolicyRule_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyRule getDefaultInstanceForType() { + return com.google.iam.v2beta.PolicyRule.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyRule build() { + com.google.iam.v2beta.PolicyRule result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyRule buildPartial() { + com.google.iam.v2beta.PolicyRule result = new com.google.iam.v2beta.PolicyRule(this); + if (kindCase_ == 2) { + if (denyRuleBuilder_ == null) { + result.kind_ = kind_; + } else { + result.kind_ = denyRuleBuilder_.build(); + } + } + result.description_ = description_; + result.kindCase_ = kindCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.PolicyRule) { + return mergeFrom((com.google.iam.v2beta.PolicyRule) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.PolicyRule other) { + if (other == com.google.iam.v2beta.PolicyRule.getDefaultInstance()) return this; + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + switch (other.getKindCase()) { + case DENY_RULE: + { + mergeDenyRule(other.getDenyRule()); + break; + } + case KIND_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.PolicyRule parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.PolicyRule) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public Builder clearKind() { + kindCase_ = 0; + kind_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.DenyRule, + com.google.iam.v2beta.DenyRule.Builder, + com.google.iam.v2beta.DenyRuleOrBuilder> + denyRuleBuilder_; + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + * + * @return Whether the denyRule field is set. + */ + @java.lang.Override + public boolean hasDenyRule() { + return kindCase_ == 2; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + * + * @return The denyRule. + */ + @java.lang.Override + public com.google.iam.v2beta.DenyRule getDenyRule() { + if (denyRuleBuilder_ == null) { + if (kindCase_ == 2) { + return (com.google.iam.v2beta.DenyRule) kind_; + } + return com.google.iam.v2beta.DenyRule.getDefaultInstance(); + } else { + if (kindCase_ == 2) { + return denyRuleBuilder_.getMessage(); + } + return com.google.iam.v2beta.DenyRule.getDefaultInstance(); + } + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + public Builder setDenyRule(com.google.iam.v2beta.DenyRule value) { + if (denyRuleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + onChanged(); + } else { + denyRuleBuilder_.setMessage(value); + } + kindCase_ = 2; + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + public Builder setDenyRule(com.google.iam.v2beta.DenyRule.Builder builderForValue) { + if (denyRuleBuilder_ == null) { + kind_ = builderForValue.build(); + onChanged(); + } else { + denyRuleBuilder_.setMessage(builderForValue.build()); + } + kindCase_ = 2; + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + public Builder mergeDenyRule(com.google.iam.v2beta.DenyRule value) { + if (denyRuleBuilder_ == null) { + if (kindCase_ == 2 && kind_ != com.google.iam.v2beta.DenyRule.getDefaultInstance()) { + kind_ = + com.google.iam.v2beta.DenyRule.newBuilder((com.google.iam.v2beta.DenyRule) kind_) + .mergeFrom(value) + .buildPartial(); + } else { + kind_ = value; + } + onChanged(); + } else { + if (kindCase_ == 2) { + denyRuleBuilder_.mergeFrom(value); + } else { + denyRuleBuilder_.setMessage(value); + } + } + kindCase_ = 2; + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + public Builder clearDenyRule() { + if (denyRuleBuilder_ == null) { + if (kindCase_ == 2) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + } else { + if (kindCase_ == 2) { + kindCase_ = 0; + kind_ = null; + } + denyRuleBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + public com.google.iam.v2beta.DenyRule.Builder getDenyRuleBuilder() { + return getDenyRuleFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + @java.lang.Override + public com.google.iam.v2beta.DenyRuleOrBuilder getDenyRuleOrBuilder() { + if ((kindCase_ == 2) && (denyRuleBuilder_ != null)) { + return denyRuleBuilder_.getMessageOrBuilder(); + } else { + if (kindCase_ == 2) { + return (com.google.iam.v2beta.DenyRule) kind_; + } + return com.google.iam.v2beta.DenyRule.getDefaultInstance(); + } + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.DenyRule, + com.google.iam.v2beta.DenyRule.Builder, + com.google.iam.v2beta.DenyRuleOrBuilder> + getDenyRuleFieldBuilder() { + if (denyRuleBuilder_ == null) { + if (!(kindCase_ == 2)) { + kind_ = com.google.iam.v2beta.DenyRule.getDefaultInstance(); + } + denyRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.DenyRule, + com.google.iam.v2beta.DenyRule.Builder, + com.google.iam.v2beta.DenyRuleOrBuilder>( + (com.google.iam.v2beta.DenyRule) kind_, getParentForChildren(), isClean()); + kind_ = null; + } + kindCase_ = 2; + onChanged(); + ; + return denyRuleBuilder_; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.PolicyRule) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.PolicyRule) + private static final com.google.iam.v2beta.PolicyRule DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.PolicyRule(); + } + + public static com.google.iam.v2beta.PolicyRule getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PolicyRule(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.PolicyRule getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..1c71f86bffcf --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java @@ -0,0 +1,89 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface PolicyRuleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.PolicyRule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + * + * @return Whether the denyRule field is set. + */ + boolean hasDenyRule(); + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + * + * @return The denyRule. + */ + com.google.iam.v2beta.DenyRule getDenyRule(); + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2beta.DenyRule deny_rule = 2; + */ + com.google.iam.v2beta.DenyRuleOrBuilder getDenyRuleOrBuilder(); + + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + public 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 new file mode 100644 index 000000000000..5904fc841c62 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java @@ -0,0 +1,759 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +/** + * + * + *
    + * Request message for `UpdatePolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2beta.UpdatePolicyRequest} + */ +public final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2beta.UpdatePolicyRequest) + UpdatePolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdatePolicyRequest.newBuilder() to construct. + private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdatePolicyRequest() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdatePolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpdatePolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.iam.v2beta.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.UpdatePolicyRequest.class, + com.google.iam.v2beta.UpdatePolicyRequest.Builder.class); + } + + public static final int POLICY_FIELD_NUMBER = 1; + private com.google.iam.v2beta.Policy policy_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + @java.lang.Override + public boolean hasPolicy() { + return policy_ != null; + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + @java.lang.Override + public com.google.iam.v2beta.Policy getPolicy() { + return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { + return getPolicy(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (policy_ != null) { + output.writeMessage(1, getPolicy()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (policy_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2beta.UpdatePolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2beta.UpdatePolicyRequest other = + (com.google.iam.v2beta.UpdatePolicyRequest) obj; + + if (hasPolicy() != other.hasPolicy()) return false; + if (hasPolicy()) { + if (!getPolicy().equals(other.getPolicy())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPolicy()) { + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + getPolicy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2beta.UpdatePolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `UpdatePolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2beta.UpdatePolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2beta.UpdatePolicyRequest) + com.google.iam.v2beta.UpdatePolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2beta.UpdatePolicyRequest.class, + com.google.iam.v2beta.UpdatePolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2beta.UpdatePolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (policyBuilder_ == null) { + policy_ = null; + } else { + policy_ = null; + policyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2beta.PolicyProto + .internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2beta.UpdatePolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2beta.UpdatePolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2beta.UpdatePolicyRequest build() { + com.google.iam.v2beta.UpdatePolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2beta.UpdatePolicyRequest buildPartial() { + com.google.iam.v2beta.UpdatePolicyRequest result = + new com.google.iam.v2beta.UpdatePolicyRequest(this); + if (policyBuilder_ == null) { + result.policy_ = policy_; + } else { + result.policy_ = policyBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2beta.UpdatePolicyRequest) { + return mergeFrom((com.google.iam.v2beta.UpdatePolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2beta.UpdatePolicyRequest other) { + if (other == com.google.iam.v2beta.UpdatePolicyRequest.getDefaultInstance()) return this; + if (other.hasPolicy()) { + mergePolicy(other.getPolicy()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2beta.UpdatePolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2beta.UpdatePolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.iam.v2beta.Policy policy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder> + policyBuilder_; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + public boolean hasPolicy() { + return policyBuilder_ != null || policy_ != null; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + public com.google.iam.v2beta.Policy getPolicy() { + if (policyBuilder_ == null) { + return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; + } else { + return policyBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2beta.Policy value) { + if (policyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policy_ = value; + onChanged(); + } else { + policyBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2beta.Policy.Builder builderForValue) { + if (policyBuilder_ == null) { + policy_ = builderForValue.build(); + onChanged(); + } else { + policyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergePolicy(com.google.iam.v2beta.Policy value) { + if (policyBuilder_ == null) { + if (policy_ != null) { + policy_ = + com.google.iam.v2beta.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); + } else { + policy_ = value; + } + onChanged(); + } else { + policyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearPolicy() { + if (policyBuilder_ == null) { + policy_ = null; + onChanged(); + } else { + policy_ = null; + policyBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2beta.Policy.Builder getPolicyBuilder() { + + onChanged(); + return getPolicyFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { + if (policyBuilder_ != null) { + return policyBuilder_.getMessageOrBuilder(); + } else { + return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder> + getPolicyFieldBuilder() { + if (policyBuilder_ == null) { + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2beta.Policy, + com.google.iam.v2beta.Policy.Builder, + com.google.iam.v2beta.PolicyOrBuilder>( + getPolicy(), getParentForChildren(), isClean()); + policy_ = null; + } + return policyBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2beta.UpdatePolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2beta.UpdatePolicyRequest) + private static final com.google.iam.v2beta.UpdatePolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2beta.UpdatePolicyRequest(); + } + + public static com.google.iam.v2beta.UpdatePolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdatePolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2beta.UpdatePolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..ffbd2892e106 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2beta/policy.proto + +package com.google.iam.v2beta; + +public interface UpdatePolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2beta.UpdatePolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + 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.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + 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.
    +   * 
    + * + * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder(); +} diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto new file mode 100644 index 000000000000..744449273926 --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto @@ -0,0 +1,107 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.iam.v2beta; + +import "google/type/expr.proto"; + +option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; +option java_multiple_files = true; +option java_outer_classname = "DenyRuleProto"; +option java_package = "com.google.iam.v2beta"; + +// A deny rule in an IAM deny policy. +message DenyRule { + // 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 user who 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, + // `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. + repeated string denied_principals = 1; + + // The identities that are excluded from the deny rule, even if they are + // 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. + repeated string exception_principals = 2; + + // The permissions that are explicitly denied by this rule. Each permission + // uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` + // is the fully qualified domain name for the service. For example, + // `iam.googleapis.com/roles.list`. + repeated string denied_permissions = 3; + + // Specifies the permissions that this rule excludes from the set of denied + // 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`. + repeated string exception_permissions = 4; + + // 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 + // functions and operators are not supported. + google.type.Expr denial_condition = 5; +} diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto new file mode 100644 index 000000000000..b3cba55e31bc --- /dev/null +++ b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto @@ -0,0 +1,297 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.iam.v2beta; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/iam/v2beta/deny.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/timestamp.proto"; + +option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; +option java_multiple_files = true; +option java_outer_classname = "PolicyProto"; +option java_package = "com.google.iam.v2beta"; + +// An interface for managing Identity and Access Management (IAM) policies. +service Policies { + option (google.api.default_host) = "iam.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + + // Retrieves the policies of the specified kind that are attached to a + // resource. + // + // The response lists only policy metadata. In particular, policy rules are + // omitted. + rpc ListPolicies(ListPoliciesRequest) returns (ListPoliciesResponse) { + option (google.api.http) = { + get: "/v2beta/{parent=policies/*/*}" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets a policy. + rpc GetPolicy(GetPolicyRequest) returns (Policy) { + option (google.api.http) = { + get: "/v2beta/{name=policies/*/*/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a policy. + rpc CreatePolicy(CreatePolicyRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2beta/{parent=policies/*/*}" + body: "policy" + }; + option (google.api.method_signature) = "parent,policy,policy_id"; + option (google.longrunning.operation_info) = { + response_type: "Policy" + metadata_type: "PolicyOperationMetadata" + }; + } + + // Updates the specified policy. + // + // You can update only the rules and the display name for the policy. + // + // To update a policy, you should use a read-modify-write loop: + // + // 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy. + // 2. Modify the policy as needed. + // 3. Use `UpdatePolicy` to write the updated policy. + // + // This pattern helps prevent conflicts between concurrent updates. + rpc UpdatePolicy(UpdatePolicyRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + put: "/v2beta/{policy.name=policies/*/*/*}" + body: "policy" + }; + option (google.longrunning.operation_info) = { + response_type: "Policy" + metadata_type: "PolicyOperationMetadata" + }; + } + + // Deletes a policy. This action is permanent. + rpc DeletePolicy(DeletePolicyRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v2beta/{name=policies/*/*/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "Policy" + metadata_type: "PolicyOperationMetadata" + }; + } +} + +// Data for an IAM policy. +message Policy { + option (google.api.resource) = { + type: "iam.googleapis.com/Policy" + pattern: "policies/{policy}" + }; + + // 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. + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The globally unique ID of the `Policy`. Assigned automatically when the + // `Policy` is created. + string uid = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`. + string kind = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A user-specified description of the `Policy`. This value can be up to 63 + // characters. + string display_name = 4; + + // A key-value map to store arbitrary metadata for the `Policy`. Keys + // can be up to 63 characters. Values can be up to 255 characters. + map annotations = 5; + + // 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. + string etag = 6; + + // Output only. The time when the `Policy` was created. + google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the `Policy` was last updated. + google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted. + google.protobuf.Timestamp delete_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A list of rules that specify the behavior of the `Policy`. All of the rules + // should be of the `kind` specified in the `Policy`. + repeated PolicyRule rules = 10; +} + +// A single rule in a `Policy`. +message PolicyRule { + oneof kind { + // A rule for a deny policy. + DenyRule deny_rule = 2; + } + + // A user-specified description of the rule. This value can be up to 256 + // characters. + string description = 1; +} + +// Request message for `ListPolicies`. +message ListPoliciesRequest { + // 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. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // The maximum number of policies to return. IAM ignores this value and uses + // the value 1000. + int32 page_size = 2; + + // A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to + // retrieve the next page. + string page_token = 3; +} + +// Response message for `ListPolicies`. +message ListPoliciesResponse { + // Metadata for the policies that are attached to the resource. + repeated Policy policies = 1; + + // A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the + // next page. If this field is omitted, there are no additional pages. + string next_page_token = 2; +} + +// Request message for `GetPolicy`. +message GetPolicyRequest { + // 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. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "iam.googleapis.com/Policy" + } + ]; +} + +// Request message for `CreatePolicy`. +message CreatePolicyRequest { + // 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. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The policy to create. + Policy policy = 2 [(google.api.field_behavior) = REQUIRED]; + + // The ID to use for this policy, which will become the final component of + // the policy's resource name. The ID must contain 3 to 63 characters. It can + // contain lowercase letters and numbers, as well as dashes (`-`) and periods + // (`.`). The first character must be a lowercase letter. + string policy_id = 3; +} + +// Request message for `UpdatePolicy`. +message UpdatePolicyRequest { + // 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. + Policy policy = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for `DeletePolicy`. +message DeletePolicyRequest { + // 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. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "iam.googleapis.com/Policy" + } + ]; + + // 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`. + string etag = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Metadata for long-running `Policy` operations. +message PolicyOperationMetadata { + // Timestamp when the `google.longrunning.Operation` was created. + google.protobuf.Timestamp create_time = 1; +} diff --git a/java-iam/versions.txt b/java-iam/versions.txt index d0b4362cc3a7..a423417f96d0 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -3,3 +3,6 @@ proto-google-iam-v1:1.4.1:1.4.2-SNAPSHOT grpc-google-iam-v1:1.4.1:1.4.2-SNAPSHOT +proto-google-iam-v2beta:1.4.1:1.4.2-SNAPSHOT +grpc-google-iam-v2beta:1.4.1:1.4.2-SNAPSHOT +google-iam-policy:1.4.1:1.4.2-SNAPSHOT From d7ec76e7a9ae83ed91a4b2a5e844629ca9f9867f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 22 Jun 2022 02:46:16 +0200 Subject: [PATCH 2328/3036] deps: update google.core.version to v2.8.0 (#719) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.7.1` -> `2.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.0/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.7.1` -> `2.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.0/compatibility-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.0/confidence-slim/2.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.0`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​280-httpsgithubcomgoogleapisjava-corecomparev271v280-2022-06-21) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.7.1...v2.8.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-core/issues/1440)) ([#​836](https://togithub.com/googleapis/java-core/issues/836)) ([8826d9b](https://togithub.com/googleapis/java-core/commit/8826d9bc05eb9e4a54c40e8578de85ed79c50e99)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#​843](https://togithub.com/googleapis/java-core/issues/843)) ([9ffe0c5](https://togithub.com/googleapis/java-core/commit/9ffe0c5b25761abf7ff1bea091aa1db057dff2d0)) - update dependency com.google.api:api-common to v2.2.1 ([#​844](https://togithub.com/googleapis/java-core/issues/844)) ([69dde56](https://togithub.com/googleapis/java-core/commit/69dde5641546b678a385b1ed3a2c7a020f81d285)) - update dependency com.google.api:gax-bom to v2.18.2 ([#​849](https://togithub.com/googleapis/java-core/issues/849)) ([11764b0](https://togithub.com/googleapis/java-core/commit/11764b04629c5bfbc9b0d68174782cc126dc1646)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#​846](https://togithub.com/googleapis/java-core/issues/846)) ([5dced6d](https://togithub.com/googleapis/java-core/commit/5dced6d25ce0f3e7587d7ac1f6f3713f3b2a18c2)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.0 ([#​838](https://togithub.com/googleapis/java-core/issues/838)) ([b0a7afe](https://togithub.com/googleapis/java-core/commit/b0a7afe342a5e15436d439b9cc1e3c58f894ab66)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.4.1 ([#​848](https://togithub.com/googleapis/java-core/issues/848)) ([8260997](https://togithub.com/googleapis/java-core/commit/826099767b0aabe0db26eff2f612f0847b451366)) - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​839](https://togithub.com/googleapis/java-core/issues/839)) ([3459fb6](https://togithub.com/googleapis/java-core/commit/3459fb668557b982cef5682ce47d3c978b83d69c)) - update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#​845](https://togithub.com/googleapis/java-core/issues/845)) ([2d2c873](https://togithub.com/googleapis/java-core/commit/2d2c873e274b26f4687d569cc3b8ae58c3c5ed54)) - update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#​840](https://togithub.com/googleapis/java-core/issues/840)) ([037da15](https://togithub.com/googleapis/java-core/commit/037da15b2aed1719e768ba5b4e001caf25952adc)) - update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#​841](https://togithub.com/googleapis/java-core/issues/841)) ([04b8862](https://togithub.com/googleapis/java-core/commit/04b886224128f1525ad8398815dc62dac87680af)) - update dependency io.grpc:grpc-bom to v1.47.0 ([#​842](https://togithub.com/googleapis/java-core/issues/842)) ([40984e2](https://togithub.com/googleapis/java-core/commit/40984e23242ba954b6ca741ca3f02ec89e92ae57)) ##### [2.7.1](https://togithub.com/googleapis/java-core/compare/v2.7.0...v2.7.1) (2022-05-19) ##### Dependencies - update dependency com.google.api:gax-bom to v2.18.1 ([#​833](https://togithub.com/googleapis/java-core/issues/833)) ([7541115](https://togithub.com/googleapis/java-core/commit/7541115095e0ae28d938a4c9621fd0f82892fe55))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9ca8b867cdad..3ff9d8fb4e16 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.1 2.2.1 2.9.0 - 2.7.1 + 2.8.0 1.7.0 1.42.0 1.34.1 From 046159487b02bd086dfdcf00a2a346412c0b2475 Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Wed, 22 Jun 2022 15:24:34 -0400 Subject: [PATCH 2329/3036] chore: fix link to documentation (#720) Fixes: #623. --- java-shared-dependencies/.repo-metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/.repo-metadata.json b/java-shared-dependencies/.repo-metadata.json index 98f21b8771c1..7e5b8d34474e 100644 --- a/java-shared-dependencies/.repo-metadata.json +++ b/java-shared-dependencies/.repo-metadata.json @@ -1,7 +1,7 @@ { "api_shortname": "google-cloud-shared-dependencies", "name_pretty": "Google Cloud Shared Dependencies BOM", - "client_documentation": "n/a", + "client_documentation": "https://github.com/googleapis/java-shared-dependencies", "release_level": "stable", "language": "java", "repo": "googleapis/java-shared-dependencies", From 06f751eb2d3cdd1ed8c53ce76e38d2eac4f45a63 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 22 Jun 2022 15:24:47 -0400 Subject: [PATCH 2330/3036] chore(main): release 2.13.0 (#702) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 23 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 33 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 5df5d8e64a6b..cc63544be3ee 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## [2.13.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.12.0...v2.13.0) (2022-06-22) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.0 ([#709](https://github.com/googleapis/java-shared-dependencies/issues/709)) ([239f8c3](https://github.com/googleapis/java-shared-dependencies/commit/239f8c33a11e233e6af79aee8c7e68cd156a0554)) +* update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#713](https://github.com/googleapis/java-shared-dependencies/issues/713)) ([6559b45](https://github.com/googleapis/java-shared-dependencies/commit/6559b45b027dba783a9525d35e32183d78773cbe)) +* update dependency com.google.api:api-common to v2.2.1 ([#710](https://github.com/googleapis/java-shared-dependencies/issues/710)) ([650d4c5](https://github.com/googleapis/java-shared-dependencies/commit/650d4c5f8c3cfce711257d47280ad773cd2e2414)) +* update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#701](https://github.com/googleapis/java-shared-dependencies/issues/701)) ([d24730f](https://github.com/googleapis/java-shared-dependencies/commit/d24730f78669f80b109e590b903446e5552e3e36)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#711](https://github.com/googleapis/java-shared-dependencies/issues/711)) ([5168a18](https://github.com/googleapis/java-shared-dependencies/commit/5168a181722128d434a0d0d2ab5cc485686bbc78)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#708](https://github.com/googleapis/java-shared-dependencies/issues/708)) ([620336e](https://github.com/googleapis/java-shared-dependencies/commit/620336e6733e2017116e5e8a7b403b183a728bc1)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#712](https://github.com/googleapis/java-shared-dependencies/issues/712)) ([a2c18a5](https://github.com/googleapis/java-shared-dependencies/commit/a2c18a5bc4152cc9034cec691a29f54a35c38a51)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#703](https://github.com/googleapis/java-shared-dependencies/issues/703)) ([5f9fe12](https://github.com/googleapis/java-shared-dependencies/commit/5f9fe1200b4bdf4c54bf947c21bd3ed02f26f990)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#705](https://github.com/googleapis/java-shared-dependencies/issues/705)) ([c68edfb](https://github.com/googleapis/java-shared-dependencies/commit/c68edfbe7e1993e1112640b867b29aa2fbcf7579)) +* update dependency io.grpc:grpc-bom to v1.47.0 ([#707](https://github.com/googleapis/java-shared-dependencies/issues/707)) ([d02918a](https://github.com/googleapis/java-shared-dependencies/commit/d02918a0418cd65d1d247f27afb0637f1f8f5666)) +* update dependency org.checkerframework:checker-qual to v3.22.1 ([#706](https://github.com/googleapis/java-shared-dependencies/issues/706)) ([545843b](https://github.com/googleapis/java-shared-dependencies/commit/545843b492cead230b8cc72a1dae7d4922f33b39)) +* update dependency org.checkerframework:checker-qual to v3.22.2 ([#717](https://github.com/googleapis/java-shared-dependencies/issues/717)) ([142852a](https://github.com/googleapis/java-shared-dependencies/commit/142852a37140f221197f5c71aed451def353b1e0)) +* update gax.version to v2.18.2 ([#718](https://github.com/googleapis/java-shared-dependencies/issues/718)) ([5f8156e](https://github.com/googleapis/java-shared-dependencies/commit/5f8156e55c6a07b018a8c5efafa68be781b4288b)) +* update google.common-protos.version to v2.9.0 ([#714](https://github.com/googleapis/java-shared-dependencies/issues/714)) ([9e5591e](https://github.com/googleapis/java-shared-dependencies/commit/9e5591ec3035350450ecbfebd00e08216433b06c)) +* update google.core.version to v2.8.0 ([#719](https://github.com/googleapis/java-shared-dependencies/issues/719)) ([4023c60](https://github.com/googleapis/java-shared-dependencies/commit/4023c6063a2c5b5308da531df1a08c90c491965d)) +* update iam.version to v1.4.0 ([#700](https://github.com/googleapis/java-shared-dependencies/issues/700)) ([c1097a4](https://github.com/googleapis/java-shared-dependencies/commit/c1097a46ab0739b0b7234bc510e4c3d9ce2c2861)) +* update iam.version to v1.4.1 ([#716](https://github.com/googleapis/java-shared-dependencies/issues/716)) ([e2dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/e2dc7c21c39e007878841e2664d548ec44a72d54)) + ## [2.12.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0) (2022-05-19) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 0745a5ddaa5d..f5c7221ab820 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 - 2.12.1-SNAPSHOT + 2.13.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.12.1-SNAPSHOT + 2.13.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3ff9d8fb4e16..23d16547535b 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 - 2.12.1-SNAPSHOT + 2.13.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 35a7d4bc336d..df6c2bd29ecb 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 - 2.12.1-SNAPSHOT + 2.13.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.12.1-SNAPSHOT + 2.13.0 pom import com.google.cloud third-party-dependencies - 2.12.1-SNAPSHOT + 2.13.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 9c06b5c6a2b8..e8ed0dcf6353 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 - 2.12.1-SNAPSHOT + 2.13.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 990ca3a1962e..c0084f71667a 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 - 2.12.1-SNAPSHOT + 2.13.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.12.1-SNAPSHOT + 2.13.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5c86d9bc32cd..ab4a03f1d113 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.12.0:2.12.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.13.0:2.13.0 \ No newline at end of file From 07971af2e8d84e1b778f577bcd4baddc47e45090 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 23 Jun 2022 17:40:26 +0200 Subject: [PATCH 2331/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 (#367) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.12.0` -> `2.13.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.13.0/compatibility-slim/2.12.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.13.0/confidence-slim/2.12.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v2.13.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​2130-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2120v2130-2022-06-22) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.12.0...v2.13.0) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.35.0 ([#​709](https://togithub.com/googleapis/java-shared-dependencies/issues/709)) ([239f8c3](https://togithub.com/googleapis/java-shared-dependencies/commit/239f8c33a11e233e6af79aee8c7e68cd156a0554)) - update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#​713](https://togithub.com/googleapis/java-shared-dependencies/issues/713)) ([6559b45](https://togithub.com/googleapis/java-shared-dependencies/commit/6559b45b027dba783a9525d35e32183d78773cbe)) - update dependency com.google.api:api-common to v2.2.1 ([#​710](https://togithub.com/googleapis/java-shared-dependencies/issues/710)) ([650d4c5](https://togithub.com/googleapis/java-shared-dependencies/commit/650d4c5f8c3cfce711257d47280ad773cd2e2414)) - update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#​701](https://togithub.com/googleapis/java-shared-dependencies/issues/701)) ([d24730f](https://togithub.com/googleapis/java-shared-dependencies/commit/d24730f78669f80b109e590b903446e5552e3e36)) - update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#​711](https://togithub.com/googleapis/java-shared-dependencies/issues/711)) ([5168a18](https://togithub.com/googleapis/java-shared-dependencies/commit/5168a181722128d434a0d0d2ab5cc485686bbc78)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#​708](https://togithub.com/googleapis/java-shared-dependencies/issues/708)) ([620336e](https://togithub.com/googleapis/java-shared-dependencies/commit/620336e6733e2017116e5e8a7b403b183a728bc1)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#​712](https://togithub.com/googleapis/java-shared-dependencies/issues/712)) ([a2c18a5](https://togithub.com/googleapis/java-shared-dependencies/commit/a2c18a5bc4152cc9034cec691a29f54a35c38a51)) - update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#​703](https://togithub.com/googleapis/java-shared-dependencies/issues/703)) ([5f9fe12](https://togithub.com/googleapis/java-shared-dependencies/commit/5f9fe1200b4bdf4c54bf947c21bd3ed02f26f990)) - update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#​705](https://togithub.com/googleapis/java-shared-dependencies/issues/705)) ([c68edfb](https://togithub.com/googleapis/java-shared-dependencies/commit/c68edfbe7e1993e1112640b867b29aa2fbcf7579)) - update dependency io.grpc:grpc-bom to v1.47.0 ([#​707](https://togithub.com/googleapis/java-shared-dependencies/issues/707)) ([d02918a](https://togithub.com/googleapis/java-shared-dependencies/commit/d02918a0418cd65d1d247f27afb0637f1f8f5666)) - update dependency org.checkerframework:checker-qual to v3.22.1 ([#​706](https://togithub.com/googleapis/java-shared-dependencies/issues/706)) ([545843b](https://togithub.com/googleapis/java-shared-dependencies/commit/545843b492cead230b8cc72a1dae7d4922f33b39)) - update dependency org.checkerframework:checker-qual to v3.22.2 ([#​717](https://togithub.com/googleapis/java-shared-dependencies/issues/717)) ([142852a](https://togithub.com/googleapis/java-shared-dependencies/commit/142852a37140f221197f5c71aed451def353b1e0)) - update gax.version to v2.18.2 ([#​718](https://togithub.com/googleapis/java-shared-dependencies/issues/718)) ([5f8156e](https://togithub.com/googleapis/java-shared-dependencies/commit/5f8156e55c6a07b018a8c5efafa68be781b4288b)) - update google.common-protos.version to v2.9.0 ([#​714](https://togithub.com/googleapis/java-shared-dependencies/issues/714)) ([9e5591e](https://togithub.com/googleapis/java-shared-dependencies/commit/9e5591ec3035350450ecbfebd00e08216433b06c)) - update google.core.version to v2.8.0 ([#​719](https://togithub.com/googleapis/java-shared-dependencies/issues/719)) ([4023c60](https://togithub.com/googleapis/java-shared-dependencies/commit/4023c6063a2c5b5308da531df1a08c90c491965d)) - update iam.version to v1.4.0 ([#​700](https://togithub.com/googleapis/java-shared-dependencies/issues/700)) ([c1097a4](https://togithub.com/googleapis/java-shared-dependencies/commit/c1097a46ab0739b0b7234bc510e4c3d9ce2c2861)) - update iam.version to v1.4.1 ([#​716](https://togithub.com/googleapis/java-shared-dependencies/issues/716)) ([e2dc7c2](https://togithub.com/googleapis/java-shared-dependencies/commit/e2dc7c21c39e007878841e2664d548ec44a72d54))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 82587543b897..6c3cb3c3b51e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.12.0 + 2.13.0 pom import From 68f570ea93998cbb63ec89275a6e7ff0971bcda5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 27 Jun 2022 21:06:20 +0200 Subject: [PATCH 2332/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.2 (#722) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.1` -> `3.21.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/compatibility-slim/3.21.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/confidence-slim/3.21.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.2`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.1...v3.21.2) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.1...v3.21.2)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 23d16547535b..49be9e0a15dd 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.18.2 1.1.0 31.1-jre - 3.21.1 + 3.21.2 2.2.1 2.9.0 2.8.0 From 682624d5e70a83e50333224e0564d68b536a4ce0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 27 Jun 2022 21:06:24 +0200 Subject: [PATCH 2333/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.2 (#368) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.1` -> `3.21.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.2/compatibility-slim/3.21.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.2/confidence-slim/3.21.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.2`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.1...v3.21.2)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 19fc5af4d956..b4fb1e552611 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.1' + compile 'com.google.protobuf:protobuf-java:3.21.2' compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From 0871a659b1b995efd41f595448c0b365efe3cd9b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 27 Jun 2022 21:06:29 +0200 Subject: [PATCH 2334/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.2 (#851) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.1` -> `3.21.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/compatibility-slim/3.21.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.2/confidence-slim/3.21.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.2`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.1...v3.21.2) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.1...v3.21.2)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0654246f313f..c4f8603f4e55 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 1.35.1 1.42.0 1.47.0 - 3.21.1 + 3.21.2 0.31.1 1.3.2 31.1-jre From 36e710dc024737bd1d8eb4aa4c151c986d7c7a4c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 19:14:16 +0000 Subject: [PATCH 2335/3036] chore(main): release 2.8.1 (#853) :robot: I have created a release *beep* *boop* --- ## [2.8.1](https://github.com/googleapis/java-core/compare/v2.8.0...v2.8.1) (2022-06-27) ### Dependencies * update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#851](https://github.com/googleapis/java-core/issues/851)) ([0871a65](https://github.com/googleapis/java-core/commit/0871a659b1b995efd41f595448c0b365efe3cd9b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index d5821762db5d..2ec31079c9a5 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.1](https://github.com/googleapis/java-core/compare/v2.8.0...v2.8.1) (2022-06-27) + + +### Dependencies + +* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#851](https://github.com/googleapis/java-core/issues/851)) ([c0f09f0](https://github.com/googleapis/java-core/commit/c0f09f0fcd57a2d90e0a99b17c9e346df8651d65)) + ## [2.8.0](https://github.com/googleapis/java-core/compare/v2.7.1...v2.8.0) (2022-06-21) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4aff21980f6b..36a0095c3615 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.1-SNAPSHOT + 2.8.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.1-SNAPSHOT + 2.8.1 com.google.cloud google-cloud-core-grpc - 2.8.1-SNAPSHOT + 2.8.1 com.google.cloud google-cloud-core-http - 2.8.1-SNAPSHOT + 2.8.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 53817f77107c..508d8857656d 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.8.1-SNAPSHOT + 2.8.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.1-SNAPSHOT + 2.8.1 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 0e4b59632383..b37444f9bbcf 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.8.1-SNAPSHOT + 2.8.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.1-SNAPSHOT + 2.8.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c7a8acc2ad5b..4449270d2c0f 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.8.1-SNAPSHOT + 2.8.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.1-SNAPSHOT + 2.8.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index c4f8603f4e55..37237e4836bf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.1-SNAPSHOT + 2.8.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 2186b20f78c6..0a7a4f1b82c4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.0:2.8.1-SNAPSHOT +google-cloud-core:2.8.1:2.8.1 From 236e9d0a00c1967436b42a8846b71300134a4f08 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 19:20:35 +0000 Subject: [PATCH 2336/3036] chore(main): release 2.8.2-SNAPSHOT (#854) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 36a0095c3615..0714ded0379d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.1 + 2.8.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.1 + 2.8.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.1 + 2.8.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.1 + 2.8.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 508d8857656d..874231ff779c 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.8.1 + 2.8.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.1 + 2.8.2-SNAPSHOT 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 b37444f9bbcf..e48cb719d818 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.8.1 + 2.8.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.1 + 2.8.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4449270d2c0f..8c070d7c3b2f 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.8.1 + 2.8.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.1 + 2.8.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 37237e4836bf..7287d46b78d2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.1 + 2.8.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0a7a4f1b82c4..cd2597524044 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.1:2.8.1 +google-cloud-core:2.8.1:2.8.2-SNAPSHOT From be8b69ddb0b9fd52b2b01879e23eb2255b60c796 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 19:20:48 +0000 Subject: [PATCH 2337/3036] chore: update dependencies for regapic (#1467) (#723) * chore: update dependencies for regapic * add more dependencies and trigger comment * update goldens * fix indentation * remove duplicate gax-httpjson dependency * remove duplicated dependencies Source-Link: https://github.com/googleapis/synthtool/commit/fa54eb2a78c6ee48613fd33152e2130e949dcbd9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 4 ++-- java-shared-dependencies/.kokoro/common.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index a79f06271b60..f0625e4d9459 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 -# created: 2022-05-19T15:12:45.278246753Z + digest: sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 +# created: 2022-06-27T15:01:06.405564326Z diff --git a/java-shared-dependencies/.kokoro/common.sh b/java-shared-dependencies/.kokoro/common.sh index ace89f45a9de..f8f957af1112 100644 --- a/java-shared-dependencies/.kokoro/common.sh +++ b/java-shared-dependencies/.kokoro/common.sh @@ -55,4 +55,6 @@ function retry_with_backoff { ## Helper functionss function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } function msg() { println "$*" >&2; } -function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file +function println() { printf '%s\n' "$(now) $*"; } + +## Helper comment to trigger updated repo dependency release \ No newline at end of file From 74f5daf74df9b559d02afe3d8fb2b1e38f285503 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 19:24:24 +0000 Subject: [PATCH 2338/3036] chore: update dependencies for regapic (#1467) (#369) * chore: update dependencies for regapic * add more dependencies and trigger comment * update goldens * fix indentation * remove duplicate gax-httpjson dependency * remove duplicated dependencies Source-Link: https://github.com/googleapis/synthtool/commit/fa54eb2a78c6ee48613fd33152e2130e949dcbd9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 --- java-iam/.github/.OwlBot.lock.yaml | 4 ++-- java-iam/.kokoro/common.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index a79f06271b60..f0625e4d9459 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 -# created: 2022-05-19T15:12:45.278246753Z + digest: sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 +# created: 2022-06-27T15:01:06.405564326Z diff --git a/java-iam/.kokoro/common.sh b/java-iam/.kokoro/common.sh index ace89f45a9de..f8f957af1112 100644 --- a/java-iam/.kokoro/common.sh +++ b/java-iam/.kokoro/common.sh @@ -55,4 +55,6 @@ function retry_with_backoff { ## Helper functionss function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } function msg() { println "$*" >&2; } -function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file +function println() { printf '%s\n' "$(now) $*"; } + +## Helper comment to trigger updated repo dependency release \ No newline at end of file From 5e4674c7c34e6e3349e835d01d601c15b07b083b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 19:28:26 +0000 Subject: [PATCH 2339/3036] chore: update dependencies for regapic (#1467) (#852) * chore: update dependencies for regapic * add more dependencies and trigger comment * update goldens * fix indentation * remove duplicate gax-httpjson dependency * remove duplicated dependencies Source-Link: https://github.com/googleapis/synthtool/commit/fa54eb2a78c6ee48613fd33152e2130e949dcbd9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 --- java-core/.github/.OwlBot.lock.yaml | 4 ++-- java-core/.kokoro/common.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index a79f06271b60..f0625e4d9459 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 -# created: 2022-05-19T15:12:45.278246753Z + digest: sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 +# created: 2022-06-27T15:01:06.405564326Z diff --git a/java-core/.kokoro/common.sh b/java-core/.kokoro/common.sh index ace89f45a9de..f8f957af1112 100644 --- a/java-core/.kokoro/common.sh +++ b/java-core/.kokoro/common.sh @@ -55,4 +55,6 @@ function retry_with_backoff { ## Helper functionss function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } function msg() { println "$*" >&2; } -function println() { printf '%s\n' "$(now) $*"; } \ No newline at end of file +function println() { printf '%s\n' "$(now) $*"; } + +## Helper comment to trigger updated repo dependency release \ No newline at end of file From 92a51f29d81ce7d5f7a48dda878091d5d44ab4d3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 02:14:17 +0000 Subject: [PATCH 2340/3036] chore: Disable CLIRR checks on releas (#1474) (#727) Source-Link: https://github.com/googleapis/synthtool/commit/7a220e27993a25ab3cda26510d5619d97b6952a9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 4 ++-- java-shared-dependencies/.kokoro/release/stage.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index f0625e4d9459..a454a61e8dc2 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 -# created: 2022-06-27T15:01:06.405564326Z + digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 +# created: 2022-06-29T23:17:33.110417661Z diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh index 77dc4e8f0f3a..1dba8de10857 100755 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -32,6 +32,7 @@ retry_with_backoff 3 10 \ mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DskipTests=true \ + -Dclirr.skip=true \ -DperformRelease=true \ -Dgpg.executable=gpg \ -Dgpg.passphrase=${GPG_PASSPHRASE} \ @@ -42,4 +43,4 @@ then mvn nexus-staging:release -B \ -DperformRelease=true \ --settings=settings.xml -fi \ No newline at end of file +fi From cf47f091a5299c9a92a8a3603330a4134309ace1 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 02:16:16 +0000 Subject: [PATCH 2341/3036] chore: Disable CLIRR checks on releas (#1474) (#370) Source-Link: https://github.com/googleapis/synthtool/commit/7a220e27993a25ab3cda26510d5619d97b6952a9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 --- java-iam/.github/.OwlBot.lock.yaml | 4 ++-- java-iam/.kokoro/release/stage.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index f0625e4d9459..a454a61e8dc2 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 -# created: 2022-06-27T15:01:06.405564326Z + digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 +# created: 2022-06-29T23:17:33.110417661Z diff --git a/java-iam/.kokoro/release/stage.sh b/java-iam/.kokoro/release/stage.sh index 77dc4e8f0f3a..1dba8de10857 100755 --- a/java-iam/.kokoro/release/stage.sh +++ b/java-iam/.kokoro/release/stage.sh @@ -32,6 +32,7 @@ retry_with_backoff 3 10 \ mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DskipTests=true \ + -Dclirr.skip=true \ -DperformRelease=true \ -Dgpg.executable=gpg \ -Dgpg.passphrase=${GPG_PASSPHRASE} \ @@ -42,4 +43,4 @@ then mvn nexus-staging:release -B \ -DperformRelease=true \ --settings=settings.xml -fi \ No newline at end of file +fi From a5a3eaadc800d632b176b1cbdd343ae035bcf6e0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 02:22:26 +0000 Subject: [PATCH 2342/3036] chore: Disable CLIRR checks on releas (#1474) (#857) Source-Link: https://github.com/googleapis/synthtool/commit/7a220e27993a25ab3cda26510d5619d97b6952a9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 --- java-core/.github/.OwlBot.lock.yaml | 4 ++-- java-core/.kokoro/release/stage.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index f0625e4d9459..a454a61e8dc2 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:1ec28a46062b19135b11178ceee60231e5f5a92dab454e23ae0aab72cd875906 -# created: 2022-06-27T15:01:06.405564326Z + digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 +# created: 2022-06-29T23:17:33.110417661Z diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh index 77dc4e8f0f3a..1dba8de10857 100755 --- a/java-core/.kokoro/release/stage.sh +++ b/java-core/.kokoro/release/stage.sh @@ -32,6 +32,7 @@ retry_with_backoff 3 10 \ mvn clean deploy -B \ --settings ${MAVEN_SETTINGS_FILE} \ -DskipTests=true \ + -Dclirr.skip=true \ -DperformRelease=true \ -Dgpg.executable=gpg \ -Dgpg.passphrase=${GPG_PASSPHRASE} \ @@ -42,4 +43,4 @@ then mvn nexus-staging:release -B \ -DperformRelease=true \ --settings=settings.xml -fi \ No newline at end of file +fi From 3d55f4c9130379a192799f3feb9fcfee7f9cafae Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 1 Jul 2022 17:48:23 +0000 Subject: [PATCH 2343/3036] chore(main): release 1.5.0 (#366) :robot: I have created a release *beep* *boop* --- ## [1.5.0](https://github.com/googleapis/java-iam/compare/v1.4.1...v1.5.0) (2022-06-30) ### Features * add v2beta client ([#364](https://github.com/googleapis/java-iam/issues/364)) ([d2bcd3b](https://github.com/googleapis/java-iam/commit/d2bcd3bc71ec5d66cd21d766bdf0e6ca9cfa08a0)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#367](https://github.com/googleapis/java-iam/issues/367)) ([07971af](https://github.com/googleapis/java-iam/commit/07971af2e8d84e1b778f577bcd4baddc47e45090)) * update dependency com.google.protobuf:protobuf-java to v3.21.2 ([#368](https://github.com/googleapis/java-iam/issues/368)) ([682624d](https://github.com/googleapis/java-iam/commit/682624d5e70a83e50333224e0564d68b536a4ce0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 13 +++++++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 12 ++++++------ java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 10 +++++----- 8 files changed, 34 insertions(+), 21 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 4d5dca5ef1d3..2fb310873932 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.5.0](https://github.com/googleapis/java-iam/compare/v1.4.1...v1.5.0) (2022-06-30) + + +### Features + +* add v2beta client ([#364](https://github.com/googleapis/java-iam/issues/364)) ([0904baa](https://github.com/googleapis/java-iam/commit/0904baa7be7dda2b0c8ec9e68ade548d173761fd)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#367](https://github.com/googleapis/java-iam/issues/367)) ([ece5f7d](https://github.com/googleapis/java-iam/commit/ece5f7dda5fcba488f1416593114ba6ab8ab31ef)) +* update dependency com.google.protobuf:protobuf-java to v3.21.2 ([#368](https://github.com/googleapis/java-iam/issues/368)) ([64b6349](https://github.com/googleapis/java-iam/commit/64b6349880792f3a534aa879ca1f0044d25603be)) + ## [1.4.1](https://github.com/googleapis/java-iam/compare/v1.4.0...v1.4.1) (2022-06-13) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index bae1eb08719d..245de440a1ee 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.4.2-SNAPSHOT + 1.5.0 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.4.2-SNAPSHOT + 1.5.0 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 938b488aa9d5..badfc9ee88e4 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.4.2-SNAPSHOT + 1.5.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.4.2-SNAPSHOT + 1.5.0 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 4bcdd27acc92..0eacc7fecb97 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.4.2-SNAPSHOT + 1.5.0 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.4.2-SNAPSHOT + 1.5.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6c3cb3c3b51e..5521cc84842e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.4.2-SNAPSHOT + 1.5.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,27 +77,27 @@ com.google.cloud google-iam-policy - 1.4.2-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-iam-v2beta - 1.4.2-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-iam-v1 - 1.4.2-SNAPSHOT + 1.5.0 com.google.api.grpc grpc-google-iam-v2beta - 1.4.2-SNAPSHOT + 1.5.0 com.google.api.grpc proto-google-iam-v1 - 1.4.2-SNAPSHOT + 1.5.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 120c3702949f..b9871ef59fe1 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.4.2-SNAPSHOT + 1.5.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.4.2-SNAPSHOT + 1.5.0 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 3a2b037beba0..b6fe0dd474b1 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.4.2-SNAPSHOT + 1.5.0 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.4.2-SNAPSHOT + 1.5.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index a423417f96d0..3f1840c424d7 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.4.1:1.4.2-SNAPSHOT -grpc-google-iam-v1:1.4.1:1.4.2-SNAPSHOT -proto-google-iam-v2beta:1.4.1:1.4.2-SNAPSHOT -grpc-google-iam-v2beta:1.4.1:1.4.2-SNAPSHOT -google-iam-policy:1.4.1:1.4.2-SNAPSHOT +proto-google-iam-v1:1.5.0:1.5.0 +grpc-google-iam-v1:1.5.0:1.5.0 +proto-google-iam-v2beta:1.5.0:1.5.0 +grpc-google-iam-v2beta:1.5.0:1.5.0 +google-iam-policy:1.5.0:1.5.0 From f582a18439fc73ff66f2d2366b568cbeafab63d6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 1 Jul 2022 18:00:22 +0000 Subject: [PATCH 2344/3036] chore(main): release 1.5.1-SNAPSHOT (#372) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 12 ++++++------ java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 10 +++++----- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 245de440a1ee..303d0fd5552a 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.5.0 + 1.5.1-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.5.0 + 1.5.1-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index badfc9ee88e4..c7a31d1ccbee 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.5.0 + 1.5.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.5.0 + 1.5.1-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 0eacc7fecb97..debff2723562 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.5.0 + 1.5.1-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.0 + 1.5.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 5521cc84842e..9ba1d7bec381 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.5.0 + 1.5.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,27 +77,27 @@ com.google.cloud google-iam-policy - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.5.0 + 1.5.1-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.5.0 + 1.5.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b9871ef59fe1..721bd7117590 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.5.0 + 1.5.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.0 + 1.5.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index b6fe0dd474b1..38ba1f8a302f 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.5.0 + 1.5.1-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.0 + 1.5.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 3f1840c424d7..250d71c93227 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.5.0:1.5.0 -grpc-google-iam-v1:1.5.0:1.5.0 -proto-google-iam-v2beta:1.5.0:1.5.0 -grpc-google-iam-v2beta:1.5.0:1.5.0 -google-iam-policy:1.5.0:1.5.0 +proto-google-iam-v1:1.5.0:1.5.1-SNAPSHOT +grpc-google-iam-v1:1.5.0:1.5.1-SNAPSHOT +proto-google-iam-v2beta:1.5.0:1.5.1-SNAPSHOT +grpc-google-iam-v2beta:1.5.0:1.5.1-SNAPSHOT +google-iam-policy:1.5.0:1.5.1-SNAPSHOT From 2f0530e733a86b9ed46296b5c028799c00076428 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:02:24 +0200 Subject: [PATCH 2345/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.1 (#858) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.0` -> `1.5.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/compatibility-slim/1.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.1/confidence-slim/1.5.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.1`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​151-httpsgithubcomgoogleapisjava-shared-configcomparev150v151-2022-06-30) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.0...v1.5.1) ##### Dependencies - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.12 ([#​482](https://togithub.com/googleapis/java-shared-config/issues/482)) ([fbfc6dc](https://togithub.com/googleapis/java-shared-config/commit/fbfc6dc1329faaead3a3114c8599d9267722e7f0)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.12 ([#​483](https://togithub.com/googleapis/java-shared-config/issues/483)) ([336cb78](https://togithub.com/googleapis/java-shared-config/commit/336cb7827b36583228c9e2b85871ae72f4c55975))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 0714ded0379d..907e0997d172 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 7287d46b78d2..1adeff2dc067 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 From f5a52786dd092e7f9315ca84fdb1a2607029c37c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:04:30 +0200 Subject: [PATCH 2346/3036] deps: update dependency com.google.api:gax-bom to v2.18.3 (#860) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.18.2` -> `2.18.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.3/compatibility-slim/2.18.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.3/confidence-slim/2.18.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.18.3`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2183-httpsgithubcomgoogleapisgax-javacomparev2182v2183-2022-06-27) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.18.2...v2.18.3) ##### Bug Fixes - **deps:** update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.0 ([#​1706](https://togithub.com/googleapis/gax-java/issues/1706)) ([eb195c0](https://togithub.com/googleapis/gax-java/commit/eb195c000b19472fc15a2586320f4421b6ee92a3)) - **deps:** update dependency com.google.api.grpc:proto-google-common-protos to v2.9.0 ([#​1708](https://togithub.com/googleapis/gax-java/issues/1708)) ([0a606f5](https://togithub.com/googleapis/gax-java/commit/0a606f5d6f40a44b153f186d824e3a731586bb49)) - **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.5.0 ([#​1711](https://togithub.com/googleapis/gax-java/issues/1711)) ([eb11bb0](https://togithub.com/googleapis/gax-java/commit/eb11bb027cde3e4abc8049a04056907de79386ab)) - **deps:** update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#​1720](https://togithub.com/googleapis/gax-java/issues/1720)) ([19a38cf](https://togithub.com/googleapis/gax-java/commit/19a38cffd13fbaa547a9992f61689d70239b6ee4)) - **deps:** update dependency org.mockito:mockito-core to v4.6.1 ([#​1705](https://togithub.com/googleapis/gax-java/issues/1705)) ([7befaa4](https://togithub.com/googleapis/gax-java/commit/7befaa4a2525f9b09091225b2f74a3e2fbfa3175)) - **deps:** update dependency org.threeten:threetenbp to v1.6.0 ([#​1709](https://togithub.com/googleapis/gax-java/issues/1709)) ([42cdcaa](https://togithub.com/googleapis/gax-java/commit/42cdcaa5a5d2362e86f94a13870f3c9c48f8b7f7))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1adeff2dc067..83b3d02a3e0e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.2 + 2.18.3 2.2.1 2.9.0 1.4.1 From d47af566f0f179880c923aa01c764d89b90f5742 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:06:16 +0200 Subject: [PATCH 2347/3036] deps: update google.core.version to v2.8.1 (#725) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.0` -> `2.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.1/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.0` -> `2.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.1/compatibility-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.1/confidence-slim/2.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.1`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​281-httpsgithubcomgoogleapisjava-corecomparev280v281-2022-06-27) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.0...v2.8.1) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#​851](https://togithub.com/googleapis/java-core/issues/851)) ([c0f09f0](https://togithub.com/googleapis/java-core/commit/c0f09f0fcd57a2d90e0a99b17c9e346df8651d65))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 49be9e0a15dd..000087d24faa 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.2 2.2.1 2.9.0 - 2.8.0 + 2.8.1 1.7.0 1.42.0 1.34.1 From 19aebbeebb99f4a75e7c5674cc0f6a176efcd626 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:08:19 +0200 Subject: [PATCH 2348/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.0 (#862) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam) | `1.4.1` -> `1.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.5.0/compatibility-slim/1.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.5.0/confidence-slim/1.4.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.5.0`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​150-httpsgithubcomgoogleapisjava-iamcomparev141v150-2022-06-30) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.4.1...v1.5.0) ##### Features - add v2beta client ([#​364](https://togithub.com/googleapis/java-iam/issues/364)) ([0904baa](https://togithub.com/googleapis/java-iam/commit/0904baa7be7dda2b0c8ec9e68ade548d173761fd)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#​367](https://togithub.com/googleapis/java-iam/issues/367)) ([ece5f7d](https://togithub.com/googleapis/java-iam/commit/ece5f7dda5fcba488f1416593114ba6ab8ab31ef)) - update dependency com.google.protobuf:protobuf-java to v3.21.2 ([#​368](https://togithub.com/googleapis/java-iam/issues/368)) ([64b6349](https://togithub.com/googleapis/java-iam/commit/64b6349880792f3a534aa879ca1f0044d25603be))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 83b3d02a3e0e..91e2b32116fd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.18.3 2.2.1 2.9.0 - 1.4.1 + 1.5.0 1.7.0 1.35.1 1.42.0 From 6b51a1cda54d6d07c145b92213a5f54f0ae97366 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:08:44 +0200 Subject: [PATCH 2349/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.35.2 (#859) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client) | `1.35.1` -> `1.35.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.2/compatibility-slim/1.35.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/1.35.2/confidence-slim/1.35.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v1.35.2`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​1352-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev1351v1352-2022-06-30) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v1.35.1...v1.35.2) ##### Bug Fixes - **deps:** update dependency com.google.api-client:google-api-client to v1.35.1 ([#​2091](https://togithub.com/googleapis/google-api-java-client/issues/2091)) ([a3b4780](https://togithub.com/googleapis/google-api-java-client/commit/a3b4780916b5acab86c43db8793a2d10c3e2c4fb))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 91e2b32116fd..9965c979cb71 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.9.0 1.5.0 1.7.0 - 1.35.1 + 1.35.2 1.42.0 1.47.0 3.21.2 From 236bbb3a23fe0c8d4b0f6d26c092a87fa39d3a44 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:18:10 +0200 Subject: [PATCH 2350/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.8.0 (#726) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.7.0` -> `1.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.8.0/compatibility-slim/1.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.8.0/confidence-slim/1.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.8.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​180-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev170v180-2022-06-27) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.7.0...v1.8.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/google-auth-library-java/issues/1440)) ([#​923](https://togithub.com/googleapis/google-auth-library-java/issues/923)) ([bbb51ce](https://togithub.com/googleapis/google-auth-library-java/commit/bbb51ce7a9265cb991739cd90e1ccf65675d05dc)) - Adds Pluggable Auth support (WIF) ([#​908](https://togithub.com/googleapis/google-auth-library-java/issues/908)) ([c3e8d16](https://togithub.com/googleapis/google-auth-library-java/commit/c3e8d169704943735c6b3df7bd0187f04fdd9aa5)) ##### Documentation - updates README for Pluggable Auth ([#​921](https://togithub.com/googleapis/google-auth-library-java/issues/921)) ([23716b8](https://togithub.com/googleapis/google-auth-library-java/commit/23716b82fb3000f5210bb5604127aad7ef52cb76))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 000087d24faa..3365e508b89f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.2.1 2.9.0 2.8.1 - 1.7.0 + 1.8.0 1.42.0 1.34.1 1.35.1 From 62cd59a5fb9d9c1fa17d45477f3ca4069db7b2ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:18:26 +0200 Subject: [PATCH 2351/3036] deps: update google.common-protos.version to v2.9.1 (#724) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.9.0` -> `2.9.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.1/compatibility-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.1/confidence-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.9.0` -> `2.9.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/compatibility-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/confidence-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.1`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​291-httpsgithubcomgoogleapisjava-common-protoscomparev290v291-2022-06-27) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.0...v2.9.1) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#​378](https://togithub.com/googleapis/java-common-protos/issues/378)) ([0c19c03](https://togithub.com/googleapis/java-common-protos/commit/0c19c03e9de22e11493e4d4d1ebca11063cf6926)) - update dependency com.google.protobuf:protobuf-java to v3.21.2 ([#​379](https://togithub.com/googleapis/java-common-protos/issues/379)) ([ab6d1db](https://togithub.com/googleapis/java-common-protos/commit/ab6d1dbb2b7dd2fc8e4675087505f7da766f1a55))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3365e508b89f..133257270488 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.1-jre 3.21.2 2.2.1 - 2.9.0 + 2.9.1 2.8.1 1.8.0 1.42.0 From 4ec66358951f80636fa0de8ba8214819cab18c98 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:18:30 +0200 Subject: [PATCH 2352/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.9.1 (#855) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.9.0` -> `2.9.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/compatibility-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.1/confidence-slim/2.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.1`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​291-httpsgithubcomgoogleapisjava-common-protoscomparev290v291-2022-06-27) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.0...v2.9.1) ##### Dependencies - update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#​378](https://togithub.com/googleapis/java-common-protos/issues/378)) ([0c19c03](https://togithub.com/googleapis/java-common-protos/commit/0c19c03e9de22e11493e4d4d1ebca11063cf6926)) - update dependency com.google.protobuf:protobuf-java to v3.21.2 ([#​379](https://togithub.com/googleapis/java-common-protos/issues/379)) ([ab6d1db](https://togithub.com/googleapis/java-common-protos/commit/ab6d1dbb2b7dd2fc8e4675087505f7da766f1a55))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9965c979cb71..2522c19a8cce 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.18.3 2.2.1 - 2.9.0 + 2.9.1 1.5.0 1.7.0 1.35.2 From 4d7548bac8dd6054b0ec4129d2d051b034ca4c8f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 1 Jul 2022 23:20:10 +0200 Subject: [PATCH 2353/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.1 (#861) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.42.0` -> `1.42.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.1/compatibility-slim/1.42.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.1/confidence-slim/1.42.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.1`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1421-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1420v1421-2022-06-30) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.0...v1.42.1) ##### Dependencies - update dependency com.google.protobuf:protobuf-java to v3.21.2 ([#​1676](https://togithub.com/googleapis/google-http-java-client/issues/1676)) ([d7638ec](https://togithub.com/googleapis/google-http-java-client/commit/d7638ec8a3e626790f33f4fb04889fe4dfb31575))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2522c19a8cce..131dee0bb664 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.5.0 1.7.0 1.35.2 - 1.42.0 + 1.42.1 1.47.0 3.21.2 0.31.1 From 79a0484decfee6c87345cd8b0e48bfdefc92185e Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Fri, 8 Jul 2022 12:29:13 +0530 Subject: [PATCH 2354/3036] docs(samples): add iam deny samples and test (#371) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs(samples): init add iam deny samples and test * docs(samples): added comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs(samples): add pom.xml and removed jupiter dependency * minor lro update and refactoring * added comments and minor refactoring * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * added region tags * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * updated acc to review comments * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../samples/cloud-client/snippets/pom.xml | 97 +++++++++++ .../src/main/java/CreateDenyPolicy.java | 164 ++++++++++++++++++ .../src/main/java/DeleteDenyPolicy.java | 87 ++++++++++ .../snippets/src/main/java/GetDenyPolicy.java | 72 ++++++++ .../src/main/java/ListDenyPolicies.java | 67 +++++++ .../src/main/java/UpdateDenyPolicy.java | 158 +++++++++++++++++ .../snippets/src/test/java/DenyIT.java | 130 ++++++++++++++ 7 files changed, 775 insertions(+) create mode 100644 java-iam/samples/cloud-client/snippets/pom.xml create mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java create mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java create mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java create mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java create mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java create mode 100644 java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml new file mode 100644 index 000000000000..d903f7784ae3 --- /dev/null +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -0,0 +1,97 @@ + + + + iam-deny-samples + 4.0.0 + 1.0-SNAPSHOT + + + + + com.google.apis + google-api-services-cloudresourcemanager + v3-rev20211107-1.32.1 + + + com.google.auth + google-auth-library-oauth2-http + 1.4.0 + + + com.google.http-client + google-http-client-jackson2 + 1.41.8 + + + com.google.apis + google-api-services-iam + v2beta-rev20220526-1.32.1 + + + com.google.apis + google-api-services-iamcredentials + v1-rev20211203-1.32.1 + + + + + truth + com.google.truth + test + 1.1.3 + + + junit + junit + test + 4.13.2 + + + + + + + + libraries-bom + com.google.cloud + import + pom + 25.0.0 + + + + + + + shared-configuration + com.google.cloud.samples + 1.2.0 + + + + 11 + 11 + + + gce-diregapic + + diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java new file mode 100644 index 000000000000..a41b6fc1c30d --- /dev/null +++ b/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -0,0 +1,164 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// [START iam_create_deny_policy] + +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DenyRule; +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyRule; +import com.google.longrunning.Operation; +import com.google.type.Expr; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class CreateDenyPolicy { + + public static void main(String[] args) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + // ID or number of the Google Cloud project you want to use. + String projectId = "sitalakshmi-deny"; + + // Specify the id of the Deny policy you want to create. + String policyId = "deny-policy-id-1"; + + createDenyPolicy(projectId, policyId); + } + + // Create a deny policy. + // You can add deny policies to organizations, folders, and projects. + // Each of these resources can have up to 5 deny policies. + // + // Deny policies contain deny rules, which specify the following: + // 1. The permissions to deny and/or exempt. + // 2. The principals that are denied, or exempted from denial. + // 3. An optional condition on when to enforce the deny rules. + public static void createDenyPolicy(String projectId, String policyId) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + + try (PoliciesClient policiesClient = PoliciesClient.create()) { + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies", attachmentPoint); + + DenyRule denyRule = + DenyRule.newBuilder() + // Add one or more principals who should be denied the permissions specified in this + // rule. + // For more information on allowed values, see: + // https://cloud.google.com/iam/docs/principal-identifiers + .addDeniedPrincipals("principalSet://goog/public:all") + + // Optionally, set the principals who should be exempted from the + // list of denied principals. For example, if you want to deny certain permissions + // to a group but exempt a few principals, then add those here. + // .addExceptionPrincipals( + // "principalSet://goog/group/project-admins@example.com") + + // Set the permissions to deny. + // The permission value is of the format: service_fqdn/resource.action + // For the list of supported permissions, see: + // https://cloud.google.com/iam/help/deny/supported-permissions + .addDeniedPermissions("cloudresourcemanager.googleapis.com/projects.delete") + + // Optionally, add the permissions to be exempted from this rule. + // Meaning, the deny rule will not be applicable to these permissions. + // .addExceptionPermissions("cloudresourcemanager.googleapis.com/projects.create") + + // Set the condition which will enforce the deny rule. If this condition is true, + // the deny rule will be applicable. Else, the rule will not be enforced. + .setDenialCondition( + Expr.newBuilder() + // The expression uses Common Expression Language syntax (CEL). + // Here we block access based on tags. + // + // A tag is a key-value pair that can be attached to an organization, folder, + // or project. You can use deny policies to deny permissions based on tags + // without adding an IAM Condition to every role grant. + // For example, imagine that you tag all of your projects as dev, test, or + // prod. You want only members of project-admins@example.com to be able to + // perform operations on projects that are tagged prod. + // To solve this problem, you create a deny rule that denies the + // cloudresourcemanager.googleapis.com/projects.delete permission to everyone + // except project-admins@example.com for resources that are tagged test. + .setExpression("!resource.matchTag('12345678/env', 'test')") + .setTitle("Only for test projects") + .build()) + .build(); + + // Add the deny rule and a description for it. + Policy policy = + Policy.newBuilder() + // Set the deny rule. + .addRules( + PolicyRule.newBuilder() + // Set a description for the rule. + .setDescription( + "block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value test") + .setDenyRule(denyRule) + .build()) + .build(); + + // Set the policy resource path, policy rules and a unique ID for the policy. + CreatePolicyRequest createPolicyRequest = + CreatePolicyRequest.newBuilder() + .setParent(policyParent) + .setPolicy(policy) + .setPolicyId(policyId) + .build(); + + // Build the create policy request. + Operation operation = + policiesClient + .createPolicyCallable() + .futureCall(createPolicyRequest) + .get(3, TimeUnit.MINUTES); + + // Wait for the operation to complete. + if (!operation.getDone() || operation.hasError()) { + System.out.println("Error in creating the policy " + operation.getError()); + return; + } + + // Retrieve the policy name. + Policy response = policiesClient.getPolicy(String.format("%s/%s", policyParent, policyId)); + String policyName = response.getName(); + System.out.println( + "Created the deny policy: " + policyName.substring(policyName.lastIndexOf("/") + 1)); + } + } +} +// [END iam_create_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java new file mode 100644 index 000000000000..bf98545c22d2 --- /dev/null +++ b/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java @@ -0,0 +1,87 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// [START iam_delete_deny_policy] + +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.PoliciesClient; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class DeleteDenyPolicy { + + public static void main(String[] args) + throws IOException, InterruptedException, ExecutionException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + // Specify the ID of the deny policy you want to retrieve. + String policyId = "deny-policy-id"; + + deleteDenyPolicy(projectId, policyId); + } + + // Delete the policy if you no longer want to enforce the rules in a deny policy. + public static void deleteDenyPolicy(String projectId, String policyId) + throws IOException, InterruptedException, ExecutionException, TimeoutException { + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); + + // Create the DeletePolicy request. + DeletePolicyRequest deletePolicyRequest = + DeletePolicyRequest.newBuilder().setName(policyParent).build(); + + // Delete the policy and wait for the operation to complete. + Operation operation = + policiesClient + .deletePolicyCallable() + .futureCall(deletePolicyRequest) + .get(3, TimeUnit.MINUTES); + + if (!operation.getDone() || operation.hasError()) { + System.out.println("Error in deleting the policy " + operation.getError()); + return; + } + + System.out.println("Deleted the deny policy: " + policyId); + } + } +} +// [END iam_delete_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java new file mode 100644 index 000000000000..10b1b5c24518 --- /dev/null +++ b/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java @@ -0,0 +1,72 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// [START iam_get_deny_policy] + +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; + +public class GetDenyPolicy { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + // Specify the ID of the deny policy you want to retrieve. + String policyId = "deny-policy-id"; + + getDenyPolicy(projectId, policyId); + } + + // Retrieve the deny policy given the project ID and policy ID. + public static void getDenyPolicy(String projectId, String policyId) throws IOException { + // Create the IAM Policies client. + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); + + // Specify the policyParent and execute the GetPolicy request. + GetPolicyRequest getPolicyRequest = + GetPolicyRequest.newBuilder().setName(policyParent).build(); + + Policy policy = policiesClient.getPolicy(getPolicyRequest); + System.out.printf("Retrieved the deny policy: %s : %s%n", policyId, policy); + } + } +} +// [END iam_get_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java b/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java new file mode 100644 index 000000000000..b8f89da3d713 --- /dev/null +++ b/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java @@ -0,0 +1,67 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// [START iam_list_deny_policy] + +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; + +public class ListDenyPolicies { + + public static void main(String[] args) throws IOException { + // TODO(developer): Replace these variables before running the sample. + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + listDenyPolicies(projectId); + } + + // List all the deny policies that are attached to a resource. + // A resource can have up to 5 deny policies. + public static void listDenyPolicies(String projectId) throws IOException { + // Initialize the Policies client. + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached. + // Its format is: "policies/{attachmentPoint}/denypolicies" + String policyParent = String.format("policies/%s/denypolicies", attachmentPoint); + + // Create a list request and iterate over the returned policies. + for (Policy policy : policiesClient.listPolicies(policyParent).iterateAll()) { + System.out.println(policy.getName()); + } + System.out.println("Listed all deny policies"); + } + } +} +// [END iam_list_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java new file mode 100644 index 000000000000..e0846d7c03fe --- /dev/null +++ b/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java @@ -0,0 +1,158 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// [START iam_update_deny_policy] + +import com.google.iam.v2beta.DenyRule; +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyRule; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.type.Expr; +import java.io.IOException; +import java.net.URLEncoder; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; + +public class UpdateDenyPolicy { + + public static void main(String[] args) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + // TODO(developer): Replace these variables before running the sample. + + // ID or number of the Google Cloud project you want to use. + String projectId = "your-google-cloud-project-id"; + + // Specify the ID of the Deny policy you want to retrieve. + String policyId = "deny-policy-id"; + + // Etag field that identifies the policy version. The etag changes each time + // you update the policy. Get the etag of an existing policy by performing a GetPolicy request. + String etag = "policy_etag"; + + updateDenyPolicy(projectId, policyId, etag); + } + + // Update the deny rules and/ or its display name after policy creation. + public static void updateDenyPolicy(String projectId, String policyId, String etag) + throws IOException, ExecutionException, InterruptedException, TimeoutException { + + try (PoliciesClient policiesClient = PoliciesClient.create()) { + + // Each deny policy is attached to an organization, folder, or project. + // To work with deny policies, specify the attachment point. + // + // Its format can be one of the following: + // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID + // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID + // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID + // + // The attachment point is identified by its URL-encoded resource name. + String urlEncodedResource = + URLEncoder.encode( + "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); + String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); + + // Construct the full path of the resource to which the policy is attached to. + // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" + String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); + + DenyRule denyRule = + DenyRule.newBuilder() + // Add one or more principals who should be denied the permissions specified in this + // rule. + // For more information on allowed values, see: + // https://cloud.google.com/iam/docs/principal-identifiers + .addDeniedPrincipals("principalSet://goog/public:all") + + // Optionally, set the principals who should be exempted from the list of principals + // added in "DeniedPrincipals". + // Example, if you want to deny certain permissions to a group but exempt a few + // principals, then add those here. + // .addExceptionPrincipals( + // "principalSet://goog/group/project-admins@example.com") + + // Set the permissions to deny. + // The permission value is of the format: service_fqdn/resource.action + // For the list of supported permissions, see: + // https://cloud.google.com/iam/help/deny/supported-permissions + .addDeniedPermissions("cloudresourcemanager.googleapis.com/projects.delete") + + // Add the permissions to be exempted from this rule. + // Meaning, the deny rule will not be applicable to these permissions. + // .addExceptionPermissions("cloudresourcemanager.googleapis.com/projects.get") + + // Set the condition which will enforce the deny rule. + // If this condition is true, the deny rule will be applicable. Else, the rule will + // not be enforced. + .setDenialCondition( + Expr.newBuilder() + // The expression uses Common Expression Language syntax (CEL). Here we block + // access based on tags. + // + // A tag is a key-value pair that can be attached to an organization, folder, + // or project. You can use deny policies to deny permissions based on tags + // without adding an IAM Condition to every role grant. + // For example, imagine that you tag all of your projects as dev, test, or + // prod. You want only members of project-admins@example.com to be able to + // perform operations on projects that are tagged prod. + // To solve this problem, you create a deny rule that denies the + // cloudresourcemanager.googleapis.com/projects.delete permission to everyone + // except project-admins@example.com for resources that are tagged prod. + .setExpression("!resource.matchTag('12345678/env', 'prod')") + .setTitle("Only for prod projects") + .build()) + .build(); + + // Set the policy resource path, version (etag) and the updated deny rules. + Policy policy = + Policy.newBuilder() + .setName(policyParent) + .setEtag(etag) + .addRules( + PolicyRule.newBuilder() + // Set the rule description to update. + .setDescription( + "Block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value prod") + // Set the deny rule to update. + .setDenyRule(denyRule) + .build()) + .build(); + + // Create the update policy request. + UpdatePolicyRequest updatePolicyRequest = + UpdatePolicyRequest.newBuilder().setPolicy(policy).build(); + + // Wait for the operation to complete. + Operation operation = + policiesClient + .updatePolicyCallable() + .futureCall(updatePolicyRequest) + .get(3, TimeUnit.MINUTES); + + if (!operation.getDone() || operation.hasError()) { + System.out.println("Error in updating the policy " + operation.getError()); + return; + } + + System.out.println("Updated the deny policy: " + policyId); + } + } +} +// [END iam_update_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java b/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java new file mode 100644 index 000000000000..a0af4cbcfb66 --- /dev/null +++ b/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java @@ -0,0 +1,130 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import static com.google.common.truth.Truth.assertThat; +import static com.google.common.truth.Truth.assertWithMessage; + +import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2beta.Policy; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.PrintStream; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeoutException; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +public class DenyIT { + + private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); + private static final String GOOGLE_APPLICATION_CREDENTIALS = + System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); + private static String POLICY_ID; + + private ByteArrayOutputStream stdOut; + + // Check if the required environment variables are set. + public static void requireEnvVar(String envVarName) { + assertWithMessage(String.format("Missing environment variable '%s' ", envVarName)) + .that(System.getenv(envVarName)) + .isNotEmpty(); + } + + @BeforeClass + public static void setUp() + throws IOException, InterruptedException, ExecutionException, TimeoutException { + final PrintStream out = System.out; + ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); + requireEnvVar("GOOGLE_CLOUD_PROJECT"); + + POLICY_ID = "limit-project-deletion" + UUID.randomUUID(); + + CreateDenyPolicy.createDenyPolicy(PROJECT_ID, POLICY_ID); + assertThat(stdOut.toString()).contains(String.format("Created the deny policy: %s", POLICY_ID)); + + stdOut.close(); + System.setOut(out); + } + + @AfterClass + public static void cleanup() + throws IOException, InterruptedException, ExecutionException, TimeoutException { + final PrintStream out = System.out; + ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + + DeleteDenyPolicy.deleteDenyPolicy(PROJECT_ID, POLICY_ID); + assertThat(stdOut.toString()).contains(String.format("Deleted the deny policy: %s", POLICY_ID)); + + stdOut.close(); + System.setOut(out); + } + + @Before + public void beforeEach() { + stdOut = new ByteArrayOutputStream(); + System.setOut(new PrintStream(stdOut)); + } + + @After + public void afterEach() { + stdOut = null; + System.setOut(null); + } + + @Test + public void testListDenyPolicies() throws IOException { + ListDenyPolicies.listDenyPolicies(PROJECT_ID); + assertThat(stdOut.toString()).contains("Listed all deny policies"); + } + + @Test + public void testGetDenyPolicy() throws IOException { + GetDenyPolicy.getDenyPolicy(PROJECT_ID, POLICY_ID); + assertThat(stdOut.toString()) + .contains(String.format("Retrieved the deny policy: %s", POLICY_ID)); + assertThat(stdOut.toString()).contains(POLICY_ID); + } + + @Test + public void testUpdateDenyPolicy() + throws IOException, ExecutionException, InterruptedException, TimeoutException { + + try (PoliciesClient policiesClient = PoliciesClient.create()) { + // Get the etag from the Deny policy. + String attachmentPoint = + String.format("cloudresourcemanager.googleapis.com/projects/%s", PROJECT_ID) + .replaceAll("/", "%2F"); + String policyParent = + String.format("policies/%s/denypolicies/%s", attachmentPoint, POLICY_ID); + Policy policy = policiesClient.getPolicy(policyParent); + + // Test policy update. + UpdateDenyPolicy.updateDenyPolicy(PROJECT_ID, POLICY_ID, policy.getEtag()); + assertThat(stdOut.toString()) + .contains(String.format("Updated the deny policy: %s", POLICY_ID)); + } + } +} From 31e3ff7b7054530f0473d3000c52ce19611b5a07 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Jul 2022 21:54:49 +0200 Subject: [PATCH 2355/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.1 (#728) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 133257270488..1d65febbc6e5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index df6c2bd29ecb..3281e2f3ebb7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index e8ed0dcf6353..193ad465264b 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index c0084f71667a..e1b5fd529753 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1
    From 4fdaad87bcfcf4efefa53704a713b39e32fb2485 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Jul 2022 21:55:50 +0200 Subject: [PATCH 2356/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.1 (#730) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1d65febbc6e5..a663724e36d8 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.9.1 2.8.1 1.8.0 - 1.42.0 + 1.42.1 1.34.1 1.35.1 1.4.1 From 5bbf1e1071748746d48dfdc6441d37a753a6dd62 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Jul 2022 21:56:09 +0200 Subject: [PATCH 2357/3036] deps: update gax.version to v2.18.3 (#731) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a663724e36d8..156f1a264514 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.47.0 - 2.18.2 + 2.18.3 1.1.0 31.1-jre 3.21.2 From 3e64541480d2995327f93bb858809d2ee5d90415 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Jul 2022 21:56:25 +0200 Subject: [PATCH 2358/3036] deps: update iam.version to v1.5.0 (#732) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 156f1a264514..fe0d6ef2e128 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.42.1 1.34.1 1.35.1 - 1.4.1 + 1.5.0
    From eff46e48012dd34f82a0cc198e773978930ae7af Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 11 Jul 2022 16:00:56 -0400 Subject: [PATCH 2359/3036] chore(main): release 2.13.1-SNAPSHOT (#721) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index f5c7221ab820..b487ff82d53c 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 - 2.13.0 + 2.13.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.0 + 2.13.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fe0d6ef2e128..4f3896ea67ce 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 - 2.13.0 + 2.13.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3281e2f3ebb7..bf21bb03c341 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 - 2.13.0 + 2.13.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.13.0 + 2.13.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.13.0 + 2.13.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 193ad465264b..38ae8f737d63 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 - 2.13.0 + 2.13.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index e1b5fd529753..d4e066a986d2 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 - 2.13.0 + 2.13.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.0 + 2.13.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index ab4a03f1d113..8a5debf4b3e8 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.13.0:2.13.0 \ No newline at end of file +google-cloud-shared-dependencies:2.13.0:2.13.1-SNAPSHOT \ No newline at end of file From d5183194a76a4f348d26972b5b5b081094e1353d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 11 Jul 2022 22:04:32 +0200 Subject: [PATCH 2360/3036] deps: update dependency com.google.api-client:google-api-client-bom to v1.35.2 (#729) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 4f3896ea67ce..2af8812650ff 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.8.0 1.42.1 1.34.1 - 1.35.1 + 1.35.2 1.5.0
    From d5c1e32c7a581e8bfb25139e06dfb49f2e6c0740 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 11 Jul 2022 16:57:42 -0400 Subject: [PATCH 2361/3036] chore(main): release 2.14.0 (#733) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 14 ++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 24 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index cc63544be3ee..0223ac01a450 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.14.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.13.0...v2.14.0) (2022-07-11) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://github.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://github.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://github.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://github.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) +* update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://github.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) +* update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://github.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) +* update google.core.version to v2.8.1 ([#725](https://github.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://github.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) +* update iam.version to v1.5.0 ([#732](https://github.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://github.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) + ## [2.13.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.12.0...v2.13.0) (2022-06-22) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index b487ff82d53c..3ac13dd33223 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 - 2.13.1-SNAPSHOT + 2.14.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.1-SNAPSHOT + 2.14.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2af8812650ff..1f1c77ea8c66 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 - 2.13.1-SNAPSHOT + 2.14.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index bf21bb03c341..9b77e740888a 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 - 2.13.1-SNAPSHOT + 2.14.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.13.1-SNAPSHOT + 2.14.0 pom import com.google.cloud third-party-dependencies - 2.13.1-SNAPSHOT + 2.14.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 38ae8f737d63..8361f9d261ec 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 - 2.13.1-SNAPSHOT + 2.14.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index d4e066a986d2..381f21612deb 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 - 2.13.1-SNAPSHOT + 2.14.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.1-SNAPSHOT + 2.14.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 8a5debf4b3e8..28e0f6985fff 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.13.0:2.13.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:2.14.0:2.14.0 \ No newline at end of file From c8ff337349d46c58d2dc74a6fa3ebf6f366a21cf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:12:58 +0200 Subject: [PATCH 2362/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.1 (#373) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9ba1d7bec381..75eb73725488 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.0 + 1.5.1 From a8227990588b540dd522c8a078ccd0ef92335805 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:16 +0200 Subject: [PATCH 2363/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220619-1.32.1 (#375) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index d903f7784ae3..9bb9b5aef56d 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20211107-1.32.1 + v3-rev20220619-1.32.1 com.google.auth From cbe38244481707c25e2cdb5736613a6e5019f4ee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:27 +0200 Subject: [PATCH 2364/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#376) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 9bb9b5aef56d..71e3fa9f2944 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 25.0.0 + 25.4.0 From 768002f50ef6311c4011c2eb1b479f850d388710 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:38 +0200 Subject: [PATCH 2365/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.0 (#377) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 71e3fa9f2944..29751b33485a 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.4.0 + 1.8.0 com.google.http-client From b3a88b7b13ec1a31b808cc7c47e08bc37dac2cec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:13:48 +0200 Subject: [PATCH 2366/3036] deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.1 (#378) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 29751b33485a..f69dfd75f6d1 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -36,7 +36,7 @@ com.google.http-client google-http-client-jackson2 - 1.41.8 + 1.42.1 com.google.apis From a526f0279411f757ba20ef73c58135896e983a5b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 12 Jul 2022 02:19:20 +0200 Subject: [PATCH 2367/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#379) Co-authored-by: Alice <65933803+alicejli@users.noreply.github.com> --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index f69dfd75f6d1..a43094fc1e7a 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 25.4.0 + 26.0.0 From 11e69e851df9dbc36ff6c5441d241c2df1ab489c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 11 Jul 2022 20:40:53 -0400 Subject: [PATCH 2368/3036] chore(main): release 1.5.1 (#374) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-iam/CHANGELOG.md | 14 ++++++++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 12 ++++++------ java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 10 +++++----- 8 files changed, 35 insertions(+), 21 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 2fb310873932..ac500777c6a0 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [1.5.1](https://github.com/googleapis/java-iam/compare/v1.5.0...v1.5.1) (2022-07-12) + + +### Documentation + +* **samples:** add iam deny samples and test ([#371](https://github.com/googleapis/java-iam/issues/371)) ([c503444](https://github.com/googleapis/java-iam/commit/c50344450dcaaeed31ea33c494edf507c9b6ff6b)) + + +### Dependencies + +* update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220619-1.32.1 ([#375](https://github.com/googleapis/java-iam/issues/375)) ([9102337](https://github.com/googleapis/java-iam/commit/91023372c5ba198e428e0a5f87f657334f65d5da)) +* update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.0 ([#377](https://github.com/googleapis/java-iam/issues/377)) ([2687617](https://github.com/googleapis/java-iam/commit/268761726c8b70010d243b7f0c58db45a6590ef4)) +* update dependency com.google.http-client:google-http-client-jackson2 to v1.42.1 ([#378](https://github.com/googleapis/java-iam/issues/378)) ([7ea1243](https://github.com/googleapis/java-iam/commit/7ea1243a734745d04edba01c75e996737f97eee5)) + ## [1.5.0](https://github.com/googleapis/java-iam/compare/v1.4.1...v1.5.0) (2022-06-30) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 303d0fd5552a..7ed418789846 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.5.1-SNAPSHOT + 1.5.1 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.5.1-SNAPSHOT + 1.5.1 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index c7a31d1ccbee..321c2dd5c89c 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.5.1-SNAPSHOT + 1.5.1 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1-SNAPSHOT + 1.5.1 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index debff2723562..4fe0190d8179 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.5.1-SNAPSHOT + 1.5.1 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1-SNAPSHOT + 1.5.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 75eb73725488..064ae2d7177b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.5.1-SNAPSHOT + 1.5.1 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,27 +77,27 @@ com.google.cloud google-iam-policy - 1.5.1-SNAPSHOT + 1.5.1 com.google.api.grpc proto-google-iam-v2beta - 1.5.1-SNAPSHOT + 1.5.1 com.google.api.grpc grpc-google-iam-v1 - 1.5.1-SNAPSHOT + 1.5.1 com.google.api.grpc grpc-google-iam-v2beta - 1.5.1-SNAPSHOT + 1.5.1 com.google.api.grpc proto-google-iam-v1 - 1.5.1-SNAPSHOT + 1.5.1 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 721bd7117590..7b8648abac06 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.5.1-SNAPSHOT + 1.5.1 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1-SNAPSHOT + 1.5.1 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 38ba1f8a302f..262b8c411ad1 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.5.1-SNAPSHOT + 1.5.1 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1-SNAPSHOT + 1.5.1 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 250d71c93227..844af1a591aa 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.5.0:1.5.1-SNAPSHOT -grpc-google-iam-v1:1.5.0:1.5.1-SNAPSHOT -proto-google-iam-v2beta:1.5.0:1.5.1-SNAPSHOT -grpc-google-iam-v2beta:1.5.0:1.5.1-SNAPSHOT -google-iam-policy:1.5.0:1.5.1-SNAPSHOT +proto-google-iam-v1:1.5.1:1.5.1 +grpc-google-iam-v1:1.5.1:1.5.1 +proto-google-iam-v2beta:1.5.1:1.5.1 +grpc-google-iam-v2beta:1.5.1:1.5.1 +google-iam-policy:1.5.1:1.5.1 From 82b57f738bf9c3015d48a41ad5b488de15daf1a6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 12 Jul 2022 00:46:11 +0000 Subject: [PATCH 2369/3036] chore(main): release 1.5.2-SNAPSHOT (#380) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 12 ++++++------ java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 10 +++++----- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 7ed418789846..94345cfb984f 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.5.1 + 1.5.2-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.5.1 + 1.5.2-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 321c2dd5c89c..af17d36f7940 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.5.1 + 1.5.2-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1 + 1.5.2-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 4fe0190d8179..5f9cc4cda2a5 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.5.1 + 1.5.2-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1 + 1.5.2-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 064ae2d7177b..6a26faa1d542 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.5.1 + 1.5.2-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,27 +77,27 @@ com.google.cloud google-iam-policy - 1.5.1 + 1.5.2-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.5.1 + 1.5.2-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.5.1 + 1.5.2-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.5.1 + 1.5.2-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.5.1 + 1.5.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7b8648abac06..8167b074bb53 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.5.1 + 1.5.2-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1 + 1.5.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 262b8c411ad1..bd21dc0b5c90 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.5.1 + 1.5.2-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.1 + 1.5.2-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 844af1a591aa..eee491610f99 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.5.1:1.5.1 -grpc-google-iam-v1:1.5.1:1.5.1 -proto-google-iam-v2beta:1.5.1:1.5.1 -grpc-google-iam-v2beta:1.5.1:1.5.1 -google-iam-policy:1.5.1:1.5.1 +proto-google-iam-v1:1.5.1:1.5.2-SNAPSHOT +grpc-google-iam-v1:1.5.1:1.5.2-SNAPSHOT +proto-google-iam-v2beta:1.5.1:1.5.2-SNAPSHOT +grpc-google-iam-v2beta:1.5.1:1.5.2-SNAPSHOT +google-iam-policy:1.5.1:1.5.2-SNAPSHOT From 48b157d41470a5bc28421f286b15f80e3981bfa2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 13 Jul 2022 19:24:17 +0000 Subject: [PATCH 2370/3036] fix: enable longpaths support for windows test (#1485) (#738) Source-Link: https://github.com/googleapis/synthtool/commit/73365620c41d96e97ff474b2c4d39b890ad51967 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00 --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 4 ++-- java-shared-dependencies/.github/workflows/ci.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index a454a61e8dc2..de9173d95efb 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 -# created: 2022-06-29T23:17:33.110417661Z + digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00 +# created: 2022-07-13T13:53:17.676447481Z diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 83ef7f9c2cf3..e3bb26e37719 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -39,6 +39,8 @@ jobs: windows: runs-on: windows-latest steps: + - name: Support longpaths + run: git config --system core.longpaths true - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: From a96ef0f1cc39e9910ab8deb281ad5ae9a64d36c4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 13 Jul 2022 19:32:33 +0000 Subject: [PATCH 2371/3036] fix: enable longpaths support for windows test (#1485) (#381) Source-Link: https://github.com/googleapis/synthtool/commit/73365620c41d96e97ff474b2c4d39b890ad51967 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00 --- java-iam/.github/.OwlBot.lock.yaml | 4 ++-- java-iam/.github/workflows/ci.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index a454a61e8dc2..de9173d95efb 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 -# created: 2022-06-29T23:17:33.110417661Z + digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00 +# created: 2022-07-13T13:53:17.676447481Z diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml index 83ef7f9c2cf3..e3bb26e37719 100644 --- a/java-iam/.github/workflows/ci.yaml +++ b/java-iam/.github/workflows/ci.yaml @@ -39,6 +39,8 @@ jobs: windows: runs-on: windows-latest steps: + - name: Support longpaths + run: git config --system core.longpaths true - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: From 8a8ac99cd10080efa244547d581909139facc29e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 13 Jul 2022 19:34:16 +0000 Subject: [PATCH 2372/3036] fix: enable longpaths support for windows test (#1485) (#866) Source-Link: https://github.com/googleapis/synthtool/commit/73365620c41d96e97ff474b2c4d39b890ad51967 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00 --- java-core/.github/.OwlBot.lock.yaml | 4 ++-- java-core/.github/workflows/ci.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index a454a61e8dc2..de9173d95efb 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28 -# created: 2022-06-29T23:17:33.110417661Z + digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00 +# created: 2022-07-13T13:53:17.676447481Z diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml index 83ef7f9c2cf3..e3bb26e37719 100644 --- a/java-core/.github/workflows/ci.yaml +++ b/java-core/.github/workflows/ci.yaml @@ -39,6 +39,8 @@ jobs: windows: runs-on: windows-latest steps: + - name: Support longpaths + run: git config --system core.longpaths true - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: From 5161c6e0dc9040b099731eceef5c5306ab5bad4a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 00:00:04 +0200 Subject: [PATCH 2373/3036] deps: update gax.version to v2.18.4 (#735) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1f1c77ea8c66..3071891b7a82 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.47.0 - 2.18.3 + 2.18.4 1.1.0 31.1-jre 3.21.2 From 816d38002d7c112036a4a02288a2cf007df99f3c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 00:00:21 +0200 Subject: [PATCH 2374/3036] deps: update dependency org.checkerframework:checker-qual to v3.23.0 (#736) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 8361f9d261ec..7e6be27100c9 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.22.2 + 3.23.0 0.25.0 From 5a8511573629c320d829b576ae1b32e414b919ee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 00:00:39 +0200 Subject: [PATCH 2375/3036] deps: update iam.version to v1.5.1 (#737) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3071891b7a82..affdaf0446df 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.42.1 1.34.1 1.35.2 - 1.5.0 + 1.5.1 From 0bf2f5016c32683ffb8f280e5cf62af6c117bea6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 13 Jul 2022 18:05:20 -0400 Subject: [PATCH 2376/3036] chore(main): release 2.13.1-SNAPSHOT (#734) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 3ac13dd33223..6d0d75550b0d 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 - 2.14.0 + 2.14.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.14.0 + 2.14.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index affdaf0446df..eaa6d70c69a8 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 - 2.14.0 + 2.14.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 9b77e740888a..84caf1e5abcc 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 - 2.14.0 + 2.14.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.14.0 + 2.14.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 2.14.0 + 2.14.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 7e6be27100c9..a610ef27c596 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 - 2.14.0 + 2.14.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 381f21612deb..56b71c2cd84d 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 - 2.14.0 + 2.14.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.14.0 + 2.14.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 28e0f6985fff..1ee6376dd95e 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.14.0:2.14.0 \ No newline at end of file +google-cloud-shared-dependencies:2.14.0:2.14.1-SNAPSHOT \ No newline at end of file From d1af3e5d015739fa107db1b3b4b99dbc047a5408 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Jul 2022 13:52:35 +0000 Subject: [PATCH 2377/3036] chore(main): release 1.5.2 (#382) :robot: I have created a release *beep* *boop* --- ## [1.5.2](https://github.com/googleapis/java-iam/compare/v1.5.1...v1.5.2) (2022-07-13) ### Bug Fixes * enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-iam/issues/1485)) ([#381](https://github.com/googleapis/java-iam/issues/381)) ([a96ef0f](https://github.com/googleapis/java-iam/commit/a96ef0f1cc39e9910ab8deb281ad5ae9a64d36c4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 12 ++++++------ java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 10 +++++----- 8 files changed, 28 insertions(+), 21 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index ac500777c6a0..0746810d89cf 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.5.2](https://github.com/googleapis/java-iam/compare/v1.5.1...v1.5.2) (2022-07-13) + + +### Bug Fixes + +* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-iam/issues/1485)) ([#381](https://github.com/googleapis/java-iam/issues/381)) ([436496a](https://github.com/googleapis/java-iam/commit/436496a0c8d710bca7df3bf3d1dd96ce2d8099a8)) + ## [1.5.1](https://github.com/googleapis/java-iam/compare/v1.5.0...v1.5.1) (2022-07-12) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 94345cfb984f..9d3c1495456f 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.5.2-SNAPSHOT + 1.5.2 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.5.2-SNAPSHOT + 1.5.2 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index af17d36f7940..82ca56489618 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.5.2-SNAPSHOT + 1.5.2 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2-SNAPSHOT + 1.5.2 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 5f9cc4cda2a5..69c4bb8bc492 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.5.2-SNAPSHOT + 1.5.2 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2-SNAPSHOT + 1.5.2 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6a26faa1d542..10cd9ed5258a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.5.2-SNAPSHOT + 1.5.2 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,27 +77,27 @@ com.google.cloud google-iam-policy - 1.5.2-SNAPSHOT + 1.5.2 com.google.api.grpc proto-google-iam-v2beta - 1.5.2-SNAPSHOT + 1.5.2 com.google.api.grpc grpc-google-iam-v1 - 1.5.2-SNAPSHOT + 1.5.2 com.google.api.grpc grpc-google-iam-v2beta - 1.5.2-SNAPSHOT + 1.5.2 com.google.api.grpc proto-google-iam-v1 - 1.5.2-SNAPSHOT + 1.5.2 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 8167b074bb53..2e9ce5239789 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.5.2-SNAPSHOT + 1.5.2 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2-SNAPSHOT + 1.5.2 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index bd21dc0b5c90..9f30461e0cca 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.5.2-SNAPSHOT + 1.5.2 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2-SNAPSHOT + 1.5.2 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index eee491610f99..6e73222261a3 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.5.1:1.5.2-SNAPSHOT -grpc-google-iam-v1:1.5.1:1.5.2-SNAPSHOT -proto-google-iam-v2beta:1.5.1:1.5.2-SNAPSHOT -grpc-google-iam-v2beta:1.5.1:1.5.2-SNAPSHOT -google-iam-policy:1.5.1:1.5.2-SNAPSHOT +proto-google-iam-v1:1.5.2:1.5.2 +grpc-google-iam-v1:1.5.2:1.5.2 +proto-google-iam-v2beta:1.5.2:1.5.2 +grpc-google-iam-v2beta:1.5.2:1.5.2 +google-iam-policy:1.5.2:1.5.2 From ea9f421fd6fe5bc302937c2d413eb399ccaf9784 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Jul 2022 14:14:27 +0000 Subject: [PATCH 2378/3036] chore(main): release 2.0.0 (#739) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :robot: I have created a release *beep* *boop* --- ## [2.0.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.14.0...v2.0.0) (2022-07-13) ### ⚠ BREAKING CHANGES * promote to 2.0.0 (#428) ### Features * add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#365](https://github.com/googleapis/java-shared-dependencies/issues/365)) ([f229ff3](https://github.com/googleapis/java-shared-dependencies/commit/f229ff35090119ebc744a7b89186275fd5a2bf3a)) * add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://github.com/googleapis/java-shared-dependencies/issues/697)) ([f0d2795](https://github.com/googleapis/java-shared-dependencies/commit/f0d27953051f806c1ef68bef69354bca1ed9c014)) * add commons-codec to dependencyManagement ([#251](https://github.com/googleapis/java-shared-dependencies/issues/251)) ([6ccebcf](https://github.com/googleapis/java-shared-dependencies/commit/6ccebcfa9131641a0322d0fc28ebb8ee0726ae73)) * add grpc-gcp to dependencyManagement ([#389](https://github.com/googleapis/java-shared-dependencies/issues/389)) ([475cbde](https://github.com/googleapis/java-shared-dependencies/commit/475cbdea7c4a729335156ab7ae13f18a1b0967c1)) * add jackson-core to the list of managed dependencies ([#190](https://github.com/googleapis/java-shared-dependencies/issues/190)) ([3d93ff4](https://github.com/googleapis/java-shared-dependencies/commit/3d93ff4144cbc6d7ca46f41d2e4c41cd9cb93df1)) * next release from main branch is 2.11.0 ([#674](https://github.com/googleapis/java-shared-dependencies/issues/674)) ([323a20c](https://github.com/googleapis/java-shared-dependencies/commit/323a20c559b9140584b47b8e6a09ef821235db28)) * next release from main branch is 2.5.0 ([#510](https://github.com/googleapis/java-shared-dependencies/issues/510)) ([011be46](https://github.com/googleapis/java-shared-dependencies/commit/011be46db0ac3e1dfed31f078679a615757c4f55)) * promote to 1.0.0 ([#341](https://github.com/googleapis/java-shared-dependencies/issues/341)) ([1b9cc50](https://github.com/googleapis/java-shared-dependencies/commit/1b9cc507e68fe98aba04160d56bb35fd2d345be6)) * promote to 2.0.0 ([#428](https://github.com/googleapis/java-shared-dependencies/issues/428)) ([0047ac7](https://github.com/googleapis/java-shared-dependencies/commit/0047ac79b44f970d0b8208d572eff82994ea6fce)) ### Bug Fixes * Add `shopt -s nullglob` to dependencies script ([#392](https://github.com/googleapis/java-shared-dependencies/issues/392)) ([3a9e25c](https://github.com/googleapis/java-shared-dependencies/commit/3a9e25c6ff77d227ec28c46a4cfdf20e982305d3)) * Add common httpclient and oauth dependencies ([#391](https://github.com/googleapis/java-shared-dependencies/issues/391)) ([5b24d61](https://github.com/googleapis/java-shared-dependencies/commit/5b24d613a3a5d32889b7eaea802d9f04494fc387)) * dependencies.sh to work with Java 17 ([#516](https://github.com/googleapis/java-shared-dependencies/issues/516)) ([b9c4b23](https://github.com/googleapis/java-shared-dependencies/commit/b9c4b23e5fdb5715d162057a43df5cbacac94acc)) * enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-shared-dependencies/issues/1485)) ([#738](https://github.com/googleapis/java-shared-dependencies/issues/738)) ([48b157d](https://github.com/googleapis/java-shared-dependencies/commit/48b157d41470a5bc28421f286b15f80e3981bfa2)) * **java:** add -ntp flag to native image testing command ([#1299](https://github.com/googleapis/java-shared-dependencies/issues/1299)) ([#546](https://github.com/googleapis/java-shared-dependencies/issues/546)) ([9c2c061](https://github.com/googleapis/java-shared-dependencies/commit/9c2c061947fce904591941ac93f5ee29989cba85)) * **java:** run Maven in plain console-friendly mode ([#1301](https://github.com/googleapis/java-shared-dependencies/issues/1301)) ([#557](https://github.com/googleapis/java-shared-dependencies/issues/557)) ([b4ac262](https://github.com/googleapis/java-shared-dependencies/commit/b4ac262d909bfab3d7c29192f1c3b4e96c6a3f18)) * release scripts from issuing overlapping phases ([#332](https://github.com/googleapis/java-shared-dependencies/issues/332)) ([d5dbdb1](https://github.com/googleapis/java-shared-dependencies/commit/d5dbdb160d564d7f6ed6d43c07e7282acb7e1fa6)) * Update dependencies.sh to not break on mac ([#384](https://github.com/googleapis/java-shared-dependencies/issues/384)) ([a82e138](https://github.com/googleapis/java-shared-dependencies/commit/a82e1388be76274d6fcec75823db956b3873da73)) * update repo name ([#274](https://github.com/googleapis/java-shared-dependencies/issues/274)) ([ef4d41d](https://github.com/googleapis/java-shared-dependencies/commit/ef4d41d287a8f976423ef3458e6f37f0720e31d6)) ### Documentation * we don't use this as a parent pom ([#407](https://github.com/googleapis/java-shared-dependencies/issues/407)) ([e3da184](https://github.com/googleapis/java-shared-dependencies/commit/e3da18442f7094d965d5bba207e5e429b9d7fed2)) ### Dependencies * downgrade opencensus version back to 0.28.0 ([#265](https://github.com/googleapis/java-shared-dependencies/issues/265)) ([ccc788c](https://github.com/googleapis/java-shared-dependencies/commit/ccc788c3333af43ebdba21c8917ddd8518c8e06e)) * downgrade protobuf to 3.17.3 (not the latest 3.18.0) ([#476](https://github.com/googleapis/java-shared-dependencies/issues/476)) ([c15a891](https://github.com/googleapis/java-shared-dependencies/commit/c15a89143397290563be82eb17ccd65e82904a49)) * google-cloud-core 2.6.0 ([#668](https://github.com/googleapis/java-shared-dependencies/issues/668)) ([14bad98](https://github.com/googleapis/java-shared-dependencies/commit/14bad9825887281c318cae49524f3a9fb443c125)) * gRPC upgrade to 1.43.2 ([#567](https://github.com/googleapis/java-shared-dependencies/issues/567)) ([3143246](https://github.com/googleapis/java-shared-dependencies/commit/3143246e2091a721ce067fb3d467926992723dfd)) * guava 31.1 ([#635](https://github.com/googleapis/java-shared-dependencies/issues/635)) ([f1ba323](https://github.com/googleapis/java-shared-dependencies/commit/f1ba323eade92045ae7b84ccccb96655be5fe2ab)) * reverting protobuf to 3.19.4 ([#657](https://github.com/googleapis/java-shared-dependencies/issues/657)) ([9fda073](https://github.com/googleapis/java-shared-dependencies/commit/9fda073da130f6ffbaf5a12cbd7faabb08d3ffc5)) * rollback gRPC to 1.33.1 ([#234](https://github.com/googleapis/java-shared-dependencies/issues/234)) ([85f40cd](https://github.com/googleapis/java-shared-dependencies/commit/85f40cdc76fcad9d29e016dd5ce81babdb3c6a96)) * update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#225](https://github.com/googleapis/java-shared-dependencies/issues/225)) ([ed1c669](https://github.com/googleapis/java-shared-dependencies/commit/ed1c6692b0e15e70da38017c9e58b14cecbb7d42)) * update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#245](https://github.com/googleapis/java-shared-dependencies/issues/245)) ([c927ff4](https://github.com/googleapis/java-shared-dependencies/commit/c927ff4d1f470976bb73537bc741ed1d824da9c4)) * update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#301](https://github.com/googleapis/java-shared-dependencies/issues/301)) ([894af62](https://github.com/googleapis/java-shared-dependencies/commit/894af62bbe7e06629d069419e672bb4eb8ab9bfd)) * update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 ([#329](https://github.com/googleapis/java-shared-dependencies/issues/329)) ([aa04481](https://github.com/googleapis/java-shared-dependencies/commit/aa04481fba1d82950550f9c619f3731815a71317)) * update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 ([#398](https://github.com/googleapis/java-shared-dependencies/issues/398)) ([702f57b](https://github.com/googleapis/java-shared-dependencies/commit/702f57bfbfe9a76ffae78486500c29b74cb5b63d)) * update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 ([#456](https://github.com/googleapis/java-shared-dependencies/issues/456)) ([59e457e](https://github.com/googleapis/java-shared-dependencies/commit/59e457e9f52be4a0ea8bdaf5f852df67ca6e692b)) * update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([a3b75ff](https://github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#555](https://github.com/googleapis/java-shared-dependencies/issues/555)) ([4ebc46f](https://github.com/googleapis/java-shared-dependencies/commit/4ebc46f1ba36f3dfa406a60a62679b2f3d8e6b57)) * update dependency com.fasterxml.jackson:jackson-bom to v2.13.2 ([#626](https://github.com/googleapis/java-shared-dependencies/issues/626)) ([71fe0af](https://github.com/googleapis/java-shared-dependencies/commit/71fe0af509d364eb4e5e1e66aec02c1bbc91b09b)) * update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220324 ([#636](https://github.com/googleapis/java-shared-dependencies/issues/636)) ([21f6d50](https://github.com/googleapis/java-shared-dependencies/commit/21f6d508df76ab8fad1e78aebcc154cfe9f79c16)) * update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 ([#646](https://github.com/googleapis/java-shared-dependencies/issues/646)) ([2bd0149](https://github.com/googleapis/java-shared-dependencies/commit/2bd014922cc7fc8131628966e667caa5e0c44ed9)) * update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://github.com/googleapis/java-shared-dependencies/issues/689)) ([1bcea0e](https://github.com/googleapis/java-shared-dependencies/commit/1bcea0ed1291cb6f58d99c6eeca7f05a72b49169)) * update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#169](https://github.com/googleapis/java-shared-dependencies/issues/169)) ([67de962](https://github.com/googleapis/java-shared-dependencies/commit/67de962d541150adb12c7c0645ef391aa3c156e7)) * update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#215](https://github.com/googleapis/java-shared-dependencies/issues/215)) ([4327750](https://github.com/googleapis/java-shared-dependencies/commit/4327750a5b1fff2db878309b66af2390b92df0b9)) * update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#254](https://github.com/googleapis/java-shared-dependencies/issues/254)) ([071ffce](https://github.com/googleapis/java-shared-dependencies/commit/071ffce39e9c0b485eadb0eacf719c25fa59eb30)) * update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#295](https://github.com/googleapis/java-shared-dependencies/issues/295)) ([7fce7a2](https://github.com/googleapis/java-shared-dependencies/commit/7fce7a2c03053f6850e30d5d677748d20c75e2c1)) * update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#326](https://github.com/googleapis/java-shared-dependencies/issues/326)) ([90cd30f](https://github.com/googleapis/java-shared-dependencies/commit/90cd30f325760b8995fb82b8c1b997834cd590d6)) * update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#353](https://github.com/googleapis/java-shared-dependencies/issues/353)) ([0384a0d](https://github.com/googleapis/java-shared-dependencies/commit/0384a0d9a77762109e422c52433db05dbbf2d0a0)) * update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#390](https://github.com/googleapis/java-shared-dependencies/issues/390)) ([031c550](https://github.com/googleapis/java-shared-dependencies/commit/031c5508eb045b77f0743cbae33a636bf10f827c)) * update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([a3b75ff](https://github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#563](https://github.com/googleapis/java-shared-dependencies/issues/563)) ([346076e](https://github.com/googleapis/java-shared-dependencies/commit/346076e917adb85d16e8107cc6c4fe3846a1c887)) * update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#580](https://github.com/googleapis/java-shared-dependencies/issues/580)) ([4e4bd3f](https://github.com/googleapis/java-shared-dependencies/commit/4e4bd3f691871cecc15d9fa9e09c693a9ecaf1c0)) * update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#602](https://github.com/googleapis/java-shared-dependencies/issues/602)) ([0112b12](https://github.com/googleapis/java-shared-dependencies/commit/0112b12f7fb769ddb5e07208ff4704f441d1ded3)) * update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#642](https://github.com/googleapis/java-shared-dependencies/issues/642)) ([f12ba29](https://github.com/googleapis/java-shared-dependencies/commit/f12ba298c859f62dda48f639bc81c0d6d5afdf6f)) * update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#662](https://github.com/googleapis/java-shared-dependencies/issues/662)) ([f8f38ff](https://github.com/googleapis/java-shared-dependencies/commit/f8f38fffc4da5ede8abd650022f8b69faf6b3484)) * update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://github.com/googleapis/java-shared-dependencies/issues/685)) ([82ea316](https://github.com/googleapis/java-shared-dependencies/commit/82ea316b52083c4bd47b20b15ca068236a6e6824)) * update dependency com.google.api-client:google-api-client-bom to v1.35.0 ([#709](https://github.com/googleapis/java-shared-dependencies/issues/709)) ([b6ae257](https://github.com/googleapis/java-shared-dependencies/commit/b6ae257a1d93dbea0ee15ae8de4018e2943d971e)) * update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#713](https://github.com/googleapis/java-shared-dependencies/issues/713)) ([d871292](https://github.com/googleapis/java-shared-dependencies/commit/d871292f7c2d132a1e5ab8fc2eac763df16dbbee)) * update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([d518319](https://github.com/googleapis/java-shared-dependencies/commit/d5183194a76a4f348d26972b5b5b081094e1353d)) * update dependency com.google.api:api-common to v1.10.1 ([#180](https://github.com/googleapis/java-shared-dependencies/issues/180)) ([12d61b2](https://github.com/googleapis/java-shared-dependencies/commit/12d61b2f1c1ec58f71fdc818a9cb794fd2d18f43)) * update dependency com.google.api:api-common to v1.10.3 ([#340](https://github.com/googleapis/java-shared-dependencies/issues/340)) ([ca5f5da](https://github.com/googleapis/java-shared-dependencies/commit/ca5f5da70e12fe5b520633218a46c12d5db7469e)) * update dependency com.google.api:api-common to v1.10.4 ([#385](https://github.com/googleapis/java-shared-dependencies/issues/385)) ([a1e60b0](https://github.com/googleapis/java-shared-dependencies/commit/a1e60b0a8a5829a20063bc21c5c5e5bccf50f1f2)) * update dependency com.google.api:api-common to v1.10.6 ([#411](https://github.com/googleapis/java-shared-dependencies/issues/411)) ([44c5d4e](https://github.com/googleapis/java-shared-dependencies/commit/44c5d4e2b5a96c2b0986c441b0d6b995bc6ef3e2)) * update dependency com.google.api:api-common to v2 ([#414](https://github.com/googleapis/java-shared-dependencies/issues/414)) ([823ee33](https://github.com/googleapis/java-shared-dependencies/commit/823ee33390d8180f0d4304af80ccc811afec25d9)) * update dependency com.google.api:api-common to v2.0.1 ([#431](https://github.com/googleapis/java-shared-dependencies/issues/431)) ([79179a5](https://github.com/googleapis/java-shared-dependencies/commit/79179a5280ced8c49b0c93efa5889afe7f26610d)) * update dependency com.google.api:api-common to v2.0.2 ([#450](https://github.com/googleapis/java-shared-dependencies/issues/450)) ([98b91b8](https://github.com/googleapis/java-shared-dependencies/commit/98b91b89c55ce9b9a660c55be3eec92492763a8e)) * update dependency com.google.api:api-common to v2.0.5 ([a3b75ff](https://github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.api:api-common to v2.1.0 ([#508](https://github.com/googleapis/java-shared-dependencies/issues/508)) ([497ebf7](https://github.com/googleapis/java-shared-dependencies/commit/497ebf75e357688574fd9e9475b03ecc5bcbb723)) * update dependency com.google.api:api-common to v2.1.1 ([#533](https://github.com/googleapis/java-shared-dependencies/issues/533)) ([260ede1](https://github.com/googleapis/java-shared-dependencies/commit/260ede1753fdf674c6927cb6556aa9307fa5392b)) * update dependency com.google.api:api-common to v2.1.2 ([7dba307](https://github.com/googleapis/java-shared-dependencies/commit/7dba3078422cef0ca686f291c91fd8ab13478fed)) * update dependency com.google.api:api-common to v2.1.3 ([#587](https://github.com/googleapis/java-shared-dependencies/issues/587)) ([cb5fee9](https://github.com/googleapis/java-shared-dependencies/commit/cb5fee9d73852f744208d82bd501f9c877db8033)) * update dependency com.google.api:api-common to v2.1.4 ([#605](https://github.com/googleapis/java-shared-dependencies/issues/605)) ([cc4c38d](https://github.com/googleapis/java-shared-dependencies/commit/cc4c38ddff8e03d7399899efe6d0c971a8a20962)) * update dependency com.google.api:api-common to v2.1.5 ([#637](https://github.com/googleapis/java-shared-dependencies/issues/637)) ([e3ea211](https://github.com/googleapis/java-shared-dependencies/commit/e3ea21116fc14411bd2fc994a770a42d542a37f0)) * update dependency com.google.api:api-common to v2.2.0 ([#690](https://github.com/googleapis/java-shared-dependencies/issues/690)) ([d5e8571](https://github.com/googleapis/java-shared-dependencies/commit/d5e85713367c4369c84a0a4e527404c210d173d5)) * update dependency com.google.api:api-common to v2.2.1 ([#710](https://github.com/googleapis/java-shared-dependencies/issues/710)) ([d25da50](https://github.com/googleapis/java-shared-dependencies/commit/d25da5015bda191f13a4bbc284f58ecb30ceb0b8)) * update dependency com.google.api:gax-grpc to v1.65.1 ([#382](https://github.com/googleapis/java-shared-dependencies/issues/382)) ([8e93aa5](https://github.com/googleapis/java-shared-dependencies/commit/8e93aa55d2bf329d1eeaef76d805e1584834d8bb)) * update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#292](https://github.com/googleapis/java-shared-dependencies/issues/292)) ([57319cc](https://github.com/googleapis/java-shared-dependencies/commit/57319ccce123f6f804218d9ea66bcb67b6617291)) * update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#171](https://github.com/googleapis/java-shared-dependencies/issues/171)) ([0459d4e](https://github.com/googleapis/java-shared-dependencies/commit/0459d4e7b10b248108b56e8e805ac47238b9214f)) * update dependency com.google.auth:google-auth-library-bom to v0.22.1 ([#229](https://github.com/googleapis/java-shared-dependencies/issues/229)) ([d4a4dc2](https://github.com/googleapis/java-shared-dependencies/commit/d4a4dc221e98ce39081644b5accb724e069cd6c8)) * update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#235](https://github.com/googleapis/java-shared-dependencies/issues/235)) ([88c675d](https://github.com/googleapis/java-shared-dependencies/commit/88c675d5c8cfbb39f4d0acc0f5a35a7b8b759f96)) * update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#261](https://github.com/googleapis/java-shared-dependencies/issues/261)) ([e94c82f](https://github.com/googleapis/java-shared-dependencies/commit/e94c82f8f16577f75a1f8fe8f73cef6b07c3ae6a)) * update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#284](https://github.com/googleapis/java-shared-dependencies/issues/284)) ([5829355](https://github.com/googleapis/java-shared-dependencies/commit/5829355669317a7daea3e803b2296f24e41df8d1)) * update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#293](https://github.com/googleapis/java-shared-dependencies/issues/293)) ([4bfb672](https://github.com/googleapis/java-shared-dependencies/commit/4bfb6727a0f30f6e054fa5daee161938018fa9ef)) * update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#310](https://github.com/googleapis/java-shared-dependencies/issues/310)) ([0a03be5](https://github.com/googleapis/java-shared-dependencies/commit/0a03be51af5c6ad0c4094626c4acd6f40fcedf06)) * update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#311](https://github.com/googleapis/java-shared-dependencies/issues/311)) ([e90c074](https://github.com/googleapis/java-shared-dependencies/commit/e90c0740e3bb523b04823842e885ac124d2985ce)) * update dependency com.google.auth:google-auth-library-bom to v0.25.3 ([#328](https://github.com/googleapis/java-shared-dependencies/issues/328)) ([bded75c](https://github.com/googleapis/java-shared-dependencies/commit/bded75c8b7a0e6f41be0e4ec4d6e8abfacf053db)) * update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#334](https://github.com/googleapis/java-shared-dependencies/issues/334)) ([54e0f63](https://github.com/googleapis/java-shared-dependencies/commit/54e0f6388880b27d3ae9b36bf43863618842965d)) * update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#338](https://github.com/googleapis/java-shared-dependencies/issues/338)) ([100348f](https://github.com/googleapis/java-shared-dependencies/commit/100348f0cf288115b91d4e85bfc64e4db29d112c)) * update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#368](https://github.com/googleapis/java-shared-dependencies/issues/368)) ([53d78e9](https://github.com/googleapis/java-shared-dependencies/commit/53d78e9a4e3a1c1b2ffadfd1cf22214ce95a17d9)) * update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#400](https://github.com/googleapis/java-shared-dependencies/issues/400)) ([10f94b5](https://github.com/googleapis/java-shared-dependencies/commit/10f94b5ce9ffdb31051b63279bcb07281f5713a3)) * update dependency com.google.auth:google-auth-library-bom to v1 ([#413](https://github.com/googleapis/java-shared-dependencies/issues/413)) ([f624156](https://github.com/googleapis/java-shared-dependencies/commit/f6241568157cf5cffef090bfa10fc90727b50f68)) * update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#439](https://github.com/googleapis/java-shared-dependencies/issues/439)) ([12ba840](https://github.com/googleapis/java-shared-dependencies/commit/12ba8401f26e5915a9d92378500e2f583ee123a6)) * update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([a3b75ff](https://github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#506](https://github.com/googleapis/java-shared-dependencies/issues/506)) ([b26fe14](https://github.com/googleapis/java-shared-dependencies/commit/b26fe140c251800090416a664538bd03affec264)) * update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#524](https://github.com/googleapis/java-shared-dependencies/issues/524)) ([615f0a9](https://github.com/googleapis/java-shared-dependencies/commit/615f0a9985f24a01c998583b0610a7df67421baf)) * update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#578](https://github.com/googleapis/java-shared-dependencies/issues/578)) ([e480d45](https://github.com/googleapis/java-shared-dependencies/commit/e480d457e5fcec86ebf22914fff011420faf27f6)) * update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#614](https://github.com/googleapis/java-shared-dependencies/issues/614)) ([832effb](https://github.com/googleapis/java-shared-dependencies/commit/832effb6ea88bc441816fc4c2488cd49fc4105d0)) * update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#631](https://github.com/googleapis/java-shared-dependencies/issues/631)) ([0e7bcbf](https://github.com/googleapis/java-shared-dependencies/commit/0e7bcbf30743aebb5a2ca189cdbc73ee2f18723c)) * update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://github.com/googleapis/java-shared-dependencies/issues/691)) ([067f7b9](https://github.com/googleapis/java-shared-dependencies/commit/067f7b9844291b3cc4b391abf3078d18a3f7fec2)) * update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([236bbb3](https://github.com/googleapis/java-shared-dependencies/commit/236bbb3a23fe0c8d4b0f6d26c092a87fa39d3a44)) * update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#272](https://github.com/googleapis/java-shared-dependencies/issues/272)) ([b14eaab](https://github.com/googleapis/java-shared-dependencies/commit/b14eaab9ae0d5858fd996d679904a36de4deebe0)) * update dependency com.google.cloud:google-cloud-core to v2.5.6 ([#621](https://github.com/googleapis/java-shared-dependencies/issues/621)) ([2027c21](https://github.com/googleapis/java-shared-dependencies/commit/2027c21988750027d061baa0291c10918dbf41b9)) * update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 ([#377](https://github.com/googleapis/java-shared-dependencies/issues/377)) ([d6333a8](https://github.com/googleapis/java-shared-dependencies/commit/d6333a8fd9b57a176619929bdfd46a530faa4e95)) * update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 ([#444](https://github.com/googleapis/java-shared-dependencies/issues/444)) ([75b70c1](https://github.com/googleapis/java-shared-dependencies/commit/75b70c130fda54aff6ff0a6bb7b449dc32d8cf53)) * update dependency com.google.cloud:google-cloud-core-bom to v2.5.11 ([#644](https://github.com/googleapis/java-shared-dependencies/issues/644)) ([7d819cc](https://github.com/googleapis/java-shared-dependencies/commit/7d819cc6af4501c0c28a1fa7cc3af16df25aaa72)) * update dependency com.google.cloud:grpc-gcp to v1.1.0 ([#403](https://github.com/googleapis/java-shared-dependencies/issues/403)) ([0a44b8e](https://github.com/googleapis/java-shared-dependencies/commit/0a44b8e0299d92a455794bae4949e30812b7c241)) * update dependency com.google.code.gson:gson to v2.8.7 ([#370](https://github.com/googleapis/java-shared-dependencies/issues/370)) ([5b1fb01](https://github.com/googleapis/java-shared-dependencies/commit/5b1fb01720a26c8020e0a81820ca4ef698123126)) * update dependency com.google.code.gson:gson to v2.8.8 ([#442](https://github.com/googleapis/java-shared-dependencies/issues/442)) ([8c4e39e](https://github.com/googleapis/java-shared-dependencies/commit/8c4e39eb3fef6875d72401dafd893c9463cb86b2)) * update dependency com.google.code.gson:gson to v2.8.9 ([#509](https://github.com/googleapis/java-shared-dependencies/issues/509)) ([6d3efe9](https://github.com/googleapis/java-shared-dependencies/commit/6d3efe94a2ef062d5e7012a85c1b654d547f8a24)) * update dependency com.google.code.gson:gson to v2.9.0 ([#611](https://github.com/googleapis/java-shared-dependencies/issues/611)) ([314af26](https://github.com/googleapis/java-shared-dependencies/commit/314af26f800a7b759f15a72650f0780a7827cb58)) * update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#512](https://github.com/googleapis/java-shared-dependencies/issues/512)) ([ce4e329](https://github.com/googleapis/java-shared-dependencies/commit/ce4e3296f4cfe3df6dc94f8c067a2d609820ec88)) * update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#582](https://github.com/googleapis/java-shared-dependencies/issues/582)) ([716ff2b](https://github.com/googleapis/java-shared-dependencies/commit/716ff2b047d3681248b495aa4d55b752ea87f61b)) * update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#652](https://github.com/googleapis/java-shared-dependencies/issues/652)) ([452dcb7](https://github.com/googleapis/java-shared-dependencies/commit/452dcb74a907fb03b5fc5f2c33a0c79b4f78ed51)) * update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#669](https://github.com/googleapis/java-shared-dependencies/issues/669)) ([5d255fd](https://github.com/googleapis/java-shared-dependencies/commit/5d255fdf6a710d914df8237c4df6d9cf12af4f30)) * update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://github.com/googleapis/java-shared-dependencies/issues/672)) ([11311c4](https://github.com/googleapis/java-shared-dependencies/commit/11311c41994016f50f58713a96a29647c2041d76)) * update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#701](https://github.com/googleapis/java-shared-dependencies/issues/701)) ([fc77528](https://github.com/googleapis/java-shared-dependencies/commit/fc7752848c6062039107c5226a82007dfe0cf21c)) * update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#247](https://github.com/googleapis/java-shared-dependencies/issues/247)) ([71b4b15](https://github.com/googleapis/java-shared-dependencies/commit/71b4b15b944b9a6e04b57af43848e0263e227158)) * update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#255](https://github.com/googleapis/java-shared-dependencies/issues/255)) ([7eae476](https://github.com/googleapis/java-shared-dependencies/commit/7eae4764ddd6a0a23754e0df7f8363a13e0c50a5)) * update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#315](https://github.com/googleapis/java-shared-dependencies/issues/315)) ([89fae70](https://github.com/googleapis/java-shared-dependencies/commit/89fae70223a1444933f53bbe32f794cebecfefb4)) * update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#360](https://github.com/googleapis/java-shared-dependencies/issues/360)) ([f3e1e94](https://github.com/googleapis/java-shared-dependencies/commit/f3e1e949e424606a630999e1d80357da290c1db8)) * update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#406](https://github.com/googleapis/java-shared-dependencies/issues/406)) ([991d1a2](https://github.com/googleapis/java-shared-dependencies/commit/991d1a2b381b774d262c6cf595098e5958cf0f86)) * update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#426](https://github.com/googleapis/java-shared-dependencies/issues/426)) ([f7f9a23](https://github.com/googleapis/java-shared-dependencies/commit/f7f9a23fdadcbd84242bb85294d192dd77233e9c)) * update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#441](https://github.com/googleapis/java-shared-dependencies/issues/441)) ([514ca21](https://github.com/googleapis/java-shared-dependencies/commit/514ca21907009a3d565a3df3248582fd5d45f268)) * update dependency com.google.guava:guava-bom to v30 ([#181](https://github.com/googleapis/java-shared-dependencies/issues/181)) ([7836cd5](https://github.com/googleapis/java-shared-dependencies/commit/7836cd5f6281ba892c19f372841ba010a01723b3)) * update dependency com.google.guava:guava-bom to v30.1-android ([#236](https://github.com/googleapis/java-shared-dependencies/issues/236)) ([06706f3](https://github.com/googleapis/java-shared-dependencies/commit/06706f3fa21058f12972ef4783e1d7c552f8e8ad)) * update dependency com.google.guava:guava-bom to v31 ([#498](https://github.com/googleapis/java-shared-dependencies/issues/498)) ([a3b75ff](https://github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#166](https://github.com/googleapis/java-shared-dependencies/issues/166)) ([c0a7f06](https://github.com/googleapis/java-shared-dependencies/commit/c0a7f06103a60953fd3d40f605d3112d2a69ac48)) * update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#207](https://github.com/googleapis/java-shared-dependencies/issues/207)) ([5019987](https://github.com/googleapis/java-shared-dependencies/commit/501998709c66b8b9a1f823bec7482aa1120862be)) * update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#253](https://github.com/googleapis/java-shared-dependencies/issues/253)) ([052b017](https://github.com/googleapis/java-shared-dependencies/commit/052b017fd7aa2b0c03972371e7f98d83e4a69dcd)) * update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#288](https://github.com/googleapis/java-shared-dependencies/issues/288)) ([936fbcc](https://github.com/googleapis/java-shared-dependencies/commit/936fbcc873a6c9d076c5cfbd75dc9435f9ae621c)) * update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#309](https://github.com/googleapis/java-shared-dependencies/issues/309)) ([07f59fc](https://github.com/googleapis/java-shared-dependencies/commit/07f59fc00fad71db1acf882abc9937cccffd70cc)) * update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#321](https://github.com/googleapis/java-shared-dependencies/issues/321)) ([92b1e09](https://github.com/googleapis/java-shared-dependencies/commit/92b1e091df60273ac47f91df038178129f0d3865)) * update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#455](https://github.com/googleapis/java-shared-dependencies/issues/455)) ([70d21db](https://github.com/googleapis/java-shared-dependencies/commit/70d21db23d46ecb7050a225ae7463a485756ad00)) * update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([a3b75ff](https://github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#562](https://github.com/googleapis/java-shared-dependencies/issues/562)) ([a2b2107](https://github.com/googleapis/java-shared-dependencies/commit/a2b2107c4021eb2a42aabffa31216b3425605970)) * update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#579](https://github.com/googleapis/java-shared-dependencies/issues/579)) ([f63d0dc](https://github.com/googleapis/java-shared-dependencies/commit/f63d0dc5e3c7f96b7f933afb33d81b6a885ef51f)) * update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#608](https://github.com/googleapis/java-shared-dependencies/issues/608)) ([7373d15](https://github.com/googleapis/java-shared-dependencies/commit/7373d158fe4aaaf2e655456649dfd03c52efbac2)) * update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#638](https://github.com/googleapis/java-shared-dependencies/issues/638)) ([84ac2c7](https://github.com/googleapis/java-shared-dependencies/commit/84ac2c75238e15d5690b3dd5f26e68a582536551)) * update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#654](https://github.com/googleapis/java-shared-dependencies/issues/654)) ([c93b54f](https://github.com/googleapis/java-shared-dependencies/commit/c93b54f80660b21ba6511b31278215e1e3f883b3)) * update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#658](https://github.com/googleapis/java-shared-dependencies/issues/658)) ([95e5d5c](https://github.com/googleapis/java-shared-dependencies/commit/95e5d5c82832acf91264097de698e18464cf5fcc)) * update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://github.com/googleapis/java-shared-dependencies/issues/684)) ([5153a98](https://github.com/googleapis/java-shared-dependencies/commit/5153a98c16ea0c74f640dee1e67c67847cb70a3c)) * update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#711](https://github.com/googleapis/java-shared-dependencies/issues/711)) ([79a4676](https://github.com/googleapis/java-shared-dependencies/commit/79a46765fbe6057ad63e2bbb2443beda512b5b58)) * update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([4fdaad8](https://github.com/googleapis/java-shared-dependencies/commit/4fdaad87bcfcf4efefa53704a713b39e32fb2485)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 ([#447](https://github.com/googleapis/java-shared-dependencies/issues/447)) ([11c2ae0](https://github.com/googleapis/java-shared-dependencies/commit/11c2ae048bd36996ba46dc070f81bee21abb1b41)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#576](https://github.com/googleapis/java-shared-dependencies/issues/576)) ([5eb6134](https://github.com/googleapis/java-shared-dependencies/commit/5eb61343d0421c45ed24bd2cea018e653f8f5ab3)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#606](https://github.com/googleapis/java-shared-dependencies/issues/606)) ([48ba351](https://github.com/googleapis/java-shared-dependencies/commit/48ba3512db7cf2d7a81d464bebb50bcfe089d94f)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#655](https://github.com/googleapis/java-shared-dependencies/issues/655)) ([061038b](https://github.com/googleapis/java-shared-dependencies/commit/061038b714c8763dfb9ffdbc237e75ada06e71a2)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#663](https://github.com/googleapis/java-shared-dependencies/issues/663)) ([140cfea](https://github.com/googleapis/java-shared-dependencies/commit/140cfea7b5239e8ac0b65db35e47f9c9ed487a41)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#708](https://github.com/googleapis/java-shared-dependencies/issues/708)) ([42e6aa0](https://github.com/googleapis/java-shared-dependencies/commit/42e6aa067c220c72940df72e0fd372b22e014d28)) * update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#712](https://github.com/googleapis/java-shared-dependencies/issues/712)) ([1bccae3](https://github.com/googleapis/java-shared-dependencies/commit/1bccae33a3257159e7145afe65184b6939da821d)) * update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#217](https://github.com/googleapis/java-shared-dependencies/issues/217)) ([b2204ac](https://github.com/googleapis/java-shared-dependencies/commit/b2204acb10d1d58e90d5de667b15996919d46442)) * update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#278](https://github.com/googleapis/java-shared-dependencies/issues/278)) ([3049848](https://github.com/googleapis/java-shared-dependencies/commit/30498489b65261024787029da596e51a877693b5)) * update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#282](https://github.com/googleapis/java-shared-dependencies/issues/282)) ([a579ca1](https://github.com/googleapis/java-shared-dependencies/commit/a579ca114925dc9e512c4ff58e8af4cc79021487)) * update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#287](https://github.com/googleapis/java-shared-dependencies/issues/287)) ([c7083ad](https://github.com/googleapis/java-shared-dependencies/commit/c7083addb963b42e94c20212e92245136d74e22c)) * update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#294](https://github.com/googleapis/java-shared-dependencies/issues/294)) ([13ea5b3](https://github.com/googleapis/java-shared-dependencies/commit/13ea5b31580bc6d8db3f7f7e0da1e839e861d1bd)) * update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#302](https://github.com/googleapis/java-shared-dependencies/issues/302)) ([9458761](https://github.com/googleapis/java-shared-dependencies/commit/9458761a8d0b1d521d12592e933a793b7edfcc87)) * update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#308](https://github.com/googleapis/java-shared-dependencies/issues/308)) ([4da0536](https://github.com/googleapis/java-shared-dependencies/commit/4da0536ea2bae571c3dfa1dcc354adb4f7fac8ce)) * update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#316](https://github.com/googleapis/java-shared-dependencies/issues/316)) ([5be8586](https://github.com/googleapis/java-shared-dependencies/commit/5be8586da6c2b7248a15af1ad688a92534778697)) * update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#319](https://github.com/googleapis/java-shared-dependencies/issues/319)) ([3a34d3f](https://github.com/googleapis/java-shared-dependencies/commit/3a34d3f7c19078d637a774f986627457127fd65d)) * update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#348](https://github.com/googleapis/java-shared-dependencies/issues/348)) ([c4b342d](https://github.com/googleapis/java-shared-dependencies/commit/c4b342d88f1a9cbd0a3757dc8580441649920d0f)) * update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#355](https://github.com/googleapis/java-shared-dependencies/issues/355)) ([b2b7d50](https://github.com/googleapis/java-shared-dependencies/commit/b2b7d500c597cdf9fae70fbd86e3e14dc043a5d0)) * update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#369](https://github.com/googleapis/java-shared-dependencies/issues/369)) ([e98c7dc](https://github.com/googleapis/java-shared-dependencies/commit/e98c7dcdf4603c7f481f749b5d1d92f0b384b638)) * update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#374](https://github.com/googleapis/java-shared-dependencies/issues/374)) ([665cd1f](https://github.com/googleapis/java-shared-dependencies/commit/665cd1f5fb5e0d5243f81cc01c408c216174eb84)) * update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#379](https://github.com/googleapis/java-shared-dependencies/issues/379)) ([44a8182](https://github.com/googleapis/java-shared-dependencies/commit/44a8182e7b5003714261e0837486212a738111a6)) * update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#471](https://github.com/googleapis/java-shared-dependencies/issues/471)) ([c8f350e](https://github.com/googleapis/java-shared-dependencies/commit/c8f350e511db5af560b9e1d1cfe9eb323a342677)) * update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#494](https://github.com/googleapis/java-shared-dependencies/issues/494)) ([6285c4e](https://github.com/googleapis/java-shared-dependencies/commit/6285c4e5f54ed37682aeada9df9988afe87dfed4)) * update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#505](https://github.com/googleapis/java-shared-dependencies/issues/505)) ([59dc916](https://github.com/googleapis/java-shared-dependencies/commit/59dc916ba22ff2f5c59fe58631315030c86e9b77)) * update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#571](https://github.com/googleapis/java-shared-dependencies/issues/571)) ([5448af9](https://github.com/googleapis/java-shared-dependencies/commit/5448af96f2e9375ed077fdb90eb7d341aea80023)) * update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#593](https://github.com/googleapis/java-shared-dependencies/issues/593)) ([cd58952](https://github.com/googleapis/java-shared-dependencies/commit/cd589529ffe2b3af2af316fdedfa4dc8406341a4)) * update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#651](https://github.com/googleapis/java-shared-dependencies/issues/651)) ([f9f656f](https://github.com/googleapis/java-shared-dependencies/commit/f9f656f95a2db3a35ba40a3b62be5436dc9135da)) * update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://github.com/googleapis/java-shared-dependencies/issues/678)) ([3d3a224](https://github.com/googleapis/java-shared-dependencies/commit/3d3a224e70a408fad636b417fc8269b304d5a503)) * update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#703](https://github.com/googleapis/java-shared-dependencies/issues/703)) ([62dcccd](https://github.com/googleapis/java-shared-dependencies/commit/62dcccdf5d4fc2c0ebe78cc7278f8bdb65de0dd3)) * update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#705](https://github.com/googleapis/java-shared-dependencies/issues/705)) ([ae79683](https://github.com/googleapis/java-shared-dependencies/commit/ae796839a4f7011739fda87dd811270acb426535)) * update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([68f570e](https://github.com/googleapis/java-shared-dependencies/commit/68f570ea93998cbb63ec89275a6e7ff0971bcda5)) * update dependency io.grpc:grpc-bom to v1.32.2 ([#165](https://github.com/googleapis/java-shared-dependencies/issues/165)) ([b982441](https://github.com/googleapis/java-shared-dependencies/commit/b982441ab69e2d48e5f4c887e50447a62d8d0640)) * update dependency io.grpc:grpc-bom to v1.33.1 ([#192](https://github.com/googleapis/java-shared-dependencies/issues/192)) ([17753be](https://github.com/googleapis/java-shared-dependencies/commit/17753be55ecbed6c5db1e0b634cd9586a683e747)) * update dependency io.grpc:grpc-bom to v1.34.0 ([#228](https://github.com/googleapis/java-shared-dependencies/issues/228)) ([2ea81fa](https://github.com/googleapis/java-shared-dependencies/commit/2ea81fa75dbf7e4fd58354709a02ebfa419bd8ce)) * update dependency io.grpc:grpc-bom to v1.34.1 ([#238](https://github.com/googleapis/java-shared-dependencies/issues/238)) ([02da040](https://github.com/googleapis/java-shared-dependencies/commit/02da040ca6adb8724f56d132b3e9bca38154318d)) * update dependency io.grpc:grpc-bom to v1.35.0 ([#248](https://github.com/googleapis/java-shared-dependencies/issues/248)) ([82a3ce8](https://github.com/googleapis/java-shared-dependencies/commit/82a3ce84a10615a2986a2badfcb742b1efeb2d36)) * update dependency io.grpc:grpc-bom to v1.36.0 ([#285](https://github.com/googleapis/java-shared-dependencies/issues/285)) ([2468acf](https://github.com/googleapis/java-shared-dependencies/commit/2468acf79962a4621394edc38c1c91e81f4f64d7)) * update dependency io.grpc:grpc-bom to v1.37.0 ([#313](https://github.com/googleapis/java-shared-dependencies/issues/313)) ([1f894c5](https://github.com/googleapis/java-shared-dependencies/commit/1f894c5eb4ac83245cedf3b2a188e07ace6b34b4)) * update dependency io.grpc:grpc-bom to v1.37.1 ([#359](https://github.com/googleapis/java-shared-dependencies/issues/359)) ([55198f2](https://github.com/googleapis/java-shared-dependencies/commit/55198f2cd8135b631155bb4827280be1436849e1)) * update dependency io.grpc:grpc-bom to v1.38.0 ([#364](https://github.com/googleapis/java-shared-dependencies/issues/364)) ([4b52c9c](https://github.com/googleapis/java-shared-dependencies/commit/4b52c9ccffcc4431a4530f646470caf82cdf64dc)) * update dependency io.grpc:grpc-bom to v1.38.1 ([#386](https://github.com/googleapis/java-shared-dependencies/issues/386)) ([e3065d7](https://github.com/googleapis/java-shared-dependencies/commit/e3065d795f8be6b8caadad630a558f3ddb9fc667)) * update dependency io.grpc:grpc-bom to v1.39.0 ([#394](https://github.com/googleapis/java-shared-dependencies/issues/394)) ([3e82270](https://github.com/googleapis/java-shared-dependencies/commit/3e82270634ade1542cc15c699c5c35939f688ffa)) * update dependency io.grpc:grpc-bom to v1.40.0 ([#438](https://github.com/googleapis/java-shared-dependencies/issues/438)) ([2f9ef2f](https://github.com/googleapis/java-shared-dependencies/commit/2f9ef2f9e577bb7255aa7b89694850d8d4a56783)) * update dependency io.grpc:grpc-bom to v1.40.1 ([#451](https://github.com/googleapis/java-shared-dependencies/issues/451)) ([b8cee15](https://github.com/googleapis/java-shared-dependencies/commit/b8cee1521cc6cb17c75f2e813dbef98ea08a9549)) * update dependency io.grpc:grpc-bom to v1.41.0 ([#482](https://github.com/googleapis/java-shared-dependencies/issues/482)) ([58d4a82](https://github.com/googleapis/java-shared-dependencies/commit/58d4a828f18e2c582ab1c438a12b9e3c2512814d)) * update dependency io.grpc:grpc-bom to v1.42.1 ([#513](https://github.com/googleapis/java-shared-dependencies/issues/513)) ([ddeaf56](https://github.com/googleapis/java-shared-dependencies/commit/ddeaf56710b6bf89d14291491c05f97d1c230031)) * update dependency io.grpc:grpc-bom to v1.43.1 ([#553](https://github.com/googleapis/java-shared-dependencies/issues/553)) ([a95c492](https://github.com/googleapis/java-shared-dependencies/commit/a95c49217aa78736e1a3ba3a19397837842dcd6a)) * update dependency io.grpc:grpc-bom to v1.44.0 ([#586](https://github.com/googleapis/java-shared-dependencies/issues/586)) ([f406a7d](https://github.com/googleapis/java-shared-dependencies/commit/f406a7d7237dcb881923d09a8171a6472faee735)) * update dependency io.grpc:grpc-bom to v1.44.1 ([#613](https://github.com/googleapis/java-shared-dependencies/issues/613)) ([6da6077](https://github.com/googleapis/java-shared-dependencies/commit/6da6077b0578cdbbc5acc49d6180083f5fdcf87f)) * update dependency io.grpc:grpc-bom to v1.45.0 ([#630](https://github.com/googleapis/java-shared-dependencies/issues/630)) ([f826ac6](https://github.com/googleapis/java-shared-dependencies/commit/f826ac6145b9dccf2a4bb5c13dbe529471772a25)) * update dependency io.grpc:grpc-bom to v1.45.1 ([#647](https://github.com/googleapis/java-shared-dependencies/issues/647)) ([2d12ba9](https://github.com/googleapis/java-shared-dependencies/commit/2d12ba94170f8907bffc803b920829783babe9de)) * update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://github.com/googleapis/java-shared-dependencies/issues/680)) ([00f5d4a](https://github.com/googleapis/java-shared-dependencies/commit/00f5d4aaef56825d974c3ac9d4c30793c4840505)) * update dependency io.grpc:grpc-bom to v1.47.0 ([#707](https://github.com/googleapis/java-shared-dependencies/issues/707)) ([81dd8e5](https://github.com/googleapis/java-shared-dependencies/commit/81dd8e5e22171e61d22c0c027798a035e06a67b9)) * update dependency junit:junit to v4.13.2 ([#607](https://github.com/googleapis/java-shared-dependencies/issues/607)) ([b6ab824](https://github.com/googleapis/java-shared-dependencies/commit/b6ab8249a3842172f639678a3ebc02ea614a3182)) * update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#550](https://github.com/googleapis/java-shared-dependencies/issues/550)) ([60e5f18](https://github.com/googleapis/java-shared-dependencies/commit/60e5f187f58a15b29c5e0544a9f21a6e15fcbead)) * update dependency org.checkerframework:checker-qual to v3.19.0 ([#501](https://github.com/googleapis/java-shared-dependencies/issues/501)) ([8729670](https://github.com/googleapis/java-shared-dependencies/commit/87296708dcdcc5f35dc9b6ce5bfc5eba9cb54bbb)) * update dependency org.checkerframework:checker-qual to v3.20.0 ([#549](https://github.com/googleapis/java-shared-dependencies/issues/549)) ([2eafed9](https://github.com/googleapis/java-shared-dependencies/commit/2eafed987a37117860fd9217879db85a33eb46e7)) * update dependency org.checkerframework:checker-qual to v3.21.1 ([#554](https://github.com/googleapis/java-shared-dependencies/issues/554)) ([5418bc5](https://github.com/googleapis/java-shared-dependencies/commit/5418bc5fac3843a39f0f07fa66d92b8a9caf1b22)) * update dependency org.checkerframework:checker-qual to v3.21.3 ([#596](https://github.com/googleapis/java-shared-dependencies/issues/596)) ([094f5e0](https://github.com/googleapis/java-shared-dependencies/commit/094f5e0cfb3f8644c486c69d0a984ebbdcd6ea41)) * update dependency org.checkerframework:checker-qual to v3.21.4 ([#650](https://github.com/googleapis/java-shared-dependencies/issues/650)) ([43bcd75](https://github.com/googleapis/java-shared-dependencies/commit/43bcd7569427fc062ee3ae041ecbe8ce8da72d4b)) * update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://github.com/googleapis/java-shared-dependencies/issues/683)) ([275a37e](https://github.com/googleapis/java-shared-dependencies/commit/275a37e9b19123d343ef8eb858c281e388ecea20)) * update dependency org.checkerframework:checker-qual to v3.22.1 ([#706](https://github.com/googleapis/java-shared-dependencies/issues/706)) ([0bfcc49](https://github.com/googleapis/java-shared-dependencies/commit/0bfcc49189346fb44a8c371b7b8460328e29b710)) * update dependency org.checkerframework:checker-qual to v3.22.2 ([#717](https://github.com/googleapis/java-shared-dependencies/issues/717)) ([4dbf9ba](https://github.com/googleapis/java-shared-dependencies/commit/4dbf9ba495e68162685681c052f6d2946bb98437)) * update dependency org.checkerframework:checker-qual to v3.23.0 ([#736](https://github.com/googleapis/java-shared-dependencies/issues/736)) ([816d380](https://github.com/googleapis/java-shared-dependencies/commit/816d38002d7c112036a4a02288a2cf007df99f3c)) * update dependency org.threeten:threetenbp to v1.5.0 ([#196](https://github.com/googleapis/java-shared-dependencies/issues/196)) ([09abb51](https://github.com/googleapis/java-shared-dependencies/commit/09abb516aa504e29e2cc624ed8af7bdb826540f4)) * update dependency org.threeten:threetenbp to v1.5.1 ([#335](https://github.com/googleapis/java-shared-dependencies/issues/335)) ([16a87e3](https://github.com/googleapis/java-shared-dependencies/commit/16a87e308d1d108464e6a0a260416cc996ff9293)) * update dependency org.threeten:threetenbp to v1.5.2 ([#514](https://github.com/googleapis/java-shared-dependencies/issues/514)) ([34be959](https://github.com/googleapis/java-shared-dependencies/commit/34be9594cecb05cfec92bf44ce4695aa3c5cc68b)) * update dependency org.threeten:threetenbp to v1.6.0 ([#633](https://github.com/googleapis/java-shared-dependencies/issues/633)) ([5a73a9f](https://github.com/googleapis/java-shared-dependencies/commit/5a73a9f2c1f237d83dbecdbae75baae63895b08e)) * update gax.version to v1.60.0 ([#187](https://github.com/googleapis/java-shared-dependencies/issues/187)) ([42cc617](https://github.com/googleapis/java-shared-dependencies/commit/42cc6177c9e4734b2a468f30b4fb6e9f2c5f27c3)) * update gax.version to v1.60.1 ([#223](https://github.com/googleapis/java-shared-dependencies/issues/223)) ([0059bae](https://github.com/googleapis/java-shared-dependencies/commit/0059bae59590f97302595fc7e5db25b8f578c999)) * update gax.version to v1.61.0 ([#277](https://github.com/googleapis/java-shared-dependencies/issues/277)) ([ee914fc](https://github.com/googleapis/java-shared-dependencies/commit/ee914fcada1c61acc98eb3723999ac1c8295fda3)) * update gax.version to v1.62.0 ([#291](https://github.com/googleapis/java-shared-dependencies/issues/291)) ([2c6c3ed](https://github.com/googleapis/java-shared-dependencies/commit/2c6c3ed7215099bf46193205657c2ef3d5859795)) * update gax.version to v1.63.0 ([#318](https://github.com/googleapis/java-shared-dependencies/issues/318)) ([83a2b58](https://github.com/googleapis/java-shared-dependencies/commit/83a2b588f15b777cc923ebbc3a6875b36a8c3b32)) * update gax.version to v1.64.0 ([#345](https://github.com/googleapis/java-shared-dependencies/issues/345)) ([b526e1f](https://github.com/googleapis/java-shared-dependencies/commit/b526e1f0db503874c42d36441a42c718ce6d81a7)) * update gax.version to v1.65.0 ([#376](https://github.com/googleapis/java-shared-dependencies/issues/376)) ([9ae80c9](https://github.com/googleapis/java-shared-dependencies/commit/9ae80c944b75f9b8942caadad5cc7e6ae9098202)) * update gax.version to v1.66.0 ([#395](https://github.com/googleapis/java-shared-dependencies/issues/395)) ([5ecc525](https://github.com/googleapis/java-shared-dependencies/commit/5ecc52509b4fd9828e735f894a31a6be96074f93)) * update gax.version to v1.67.0 ([#405](https://github.com/googleapis/java-shared-dependencies/issues/405)) ([a874c6f](https://github.com/googleapis/java-shared-dependencies/commit/a874c6f95c98c72e881da433140633f8568e7da3)) * update gax.version to v2 (major) ([#418](https://github.com/googleapis/java-shared-dependencies/issues/418)) ([f08bbca](https://github.com/googleapis/java-shared-dependencies/commit/f08bbca7313e29ad43209ca4f3748f7ebe1ccff1)) * update gax.version to v2.1.0 ([#432](https://github.com/googleapis/java-shared-dependencies/issues/432)) ([32e6f62](https://github.com/googleapis/java-shared-dependencies/commit/32e6f62bc3b09f8a70347ecd4d47b618875ec602)) * update gax.version to v2.11.0 ([#581](https://github.com/googleapis/java-shared-dependencies/issues/581)) ([5fe5b79](https://github.com/googleapis/java-shared-dependencies/commit/5fe5b79ad40431360d3446b98d0e6d00a01e0858)) * update gax.version to v2.12.2 ([#592](https://github.com/googleapis/java-shared-dependencies/issues/592)) ([4be7dae](https://github.com/googleapis/java-shared-dependencies/commit/4be7daed05cc16f53cfd72f6be570c0207c6f801)) * update gax.version to v2.13.0 ([#641](https://github.com/googleapis/java-shared-dependencies/issues/641)) ([e14edea](https://github.com/googleapis/java-shared-dependencies/commit/e14edea43733e253e2bb43988fbf9f6588594d8c)) * update gax.version to v2.15.0 ([#649](https://github.com/googleapis/java-shared-dependencies/issues/649)) ([68c5a35](https://github.com/googleapis/java-shared-dependencies/commit/68c5a3593aa23b0a2ced16deb76ac0e805e138b4)) * update gax.version to v2.16.0 ([#664](https://github.com/googleapis/java-shared-dependencies/issues/664)) ([1e62b89](https://github.com/googleapis/java-shared-dependencies/commit/1e62b895a4b759bad240bf225464d1d3acd51cf0)) * update gax.version to v2.17.0 ([#687](https://github.com/googleapis/java-shared-dependencies/issues/687)) ([4b65150](https://github.com/googleapis/java-shared-dependencies/commit/4b651509da028e3f03c5a1276107f97aa65c6281)) * update gax.version to v2.18.0 ([#692](https://github.com/googleapis/java-shared-dependencies/issues/692)) ([f18503f](https://github.com/googleapis/java-shared-dependencies/commit/f18503fb09f4e5f6e16ecedc381a76d4911b29fe)) * update gax.version to v2.18.1 ([#695](https://github.com/googleapis/java-shared-dependencies/issues/695)) ([ab49d4f](https://github.com/googleapis/java-shared-dependencies/commit/ab49d4faecf27f4b2642b771c79a6586772ff488)) * update gax.version to v2.18.2 ([#718](https://github.com/googleapis/java-shared-dependencies/issues/718)) ([4f32feb](https://github.com/googleapis/java-shared-dependencies/commit/4f32febb9a863445298d4b98b036a2dd3a5089ec)) * update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([5bbf1e1](https://github.com/googleapis/java-shared-dependencies/commit/5bbf1e1071748746d48dfdc6441d37a753a6dd62)) * update gax.version to v2.18.4 ([#735](https://github.com/googleapis/java-shared-dependencies/issues/735)) ([5161c6e](https://github.com/googleapis/java-shared-dependencies/commit/5161c6e0dc9040b099731eceef5c5306ab5bad4a)) * update gax.version to v2.3.0 ([#437](https://github.com/googleapis/java-shared-dependencies/issues/437)) ([3fc837e](https://github.com/googleapis/java-shared-dependencies/commit/3fc837e058d6e993bec7b10ed7b86a4b26a6e83f)) * update gax.version to v2.4.0 ([#458](https://github.com/googleapis/java-shared-dependencies/issues/458)) ([e36d7d0](https://github.com/googleapis/java-shared-dependencies/commit/e36d7d085615a9007a47a412c1b1fba82b60a2ec)) * update gax.version to v2.4.1 ([#464](https://github.com/googleapis/java-shared-dependencies/issues/464)) ([fc376d5](https://github.com/googleapis/java-shared-dependencies/commit/fc376d5aca2a72cc9c3807b7298ba97a63a251d3)) * update gax.version to v2.5.0 ([#479](https://github.com/googleapis/java-shared-dependencies/issues/479)) ([2cad3ca](https://github.com/googleapis/java-shared-dependencies/commit/2cad3ca09bf5086745ce57baeee380a1bacc9ae2)) * update gax.version to v2.6.1 ([a3b75ff](https://github.com/googleapis/java-shared-dependencies/commit/a3b75ffc454f448f7aa9ce4e1820c644695e0b21)) * update gax.version to v2.7.0 ([#515](https://github.com/googleapis/java-shared-dependencies/issues/515)) ([2d288b4](https://github.com/googleapis/java-shared-dependencies/commit/2d288b49178e9809bfc314b053f9cedf8cf33fef)) * update gax.version to v2.7.1 ([#544](https://github.com/googleapis/java-shared-dependencies/issues/544)) ([f47cdb4](https://github.com/googleapis/java-shared-dependencies/commit/f47cdb42edf79e4dc99e47cd9c7ff16f074f1b0e)) * update gax.version to v2.8.0 ([#564](https://github.com/googleapis/java-shared-dependencies/issues/564)) ([e980015](https://github.com/googleapis/java-shared-dependencies/commit/e980015f1f183b03e3b225b15e97ade1ff6502c1)) * update gax.version to v2.8.1 ([7dba307](https://github.com/googleapis/java-shared-dependencies/commit/7dba3078422cef0ca686f291c91fd8ab13478fed)) * update gax.version to v2.9.0 ([#573](https://github.com/googleapis/java-shared-dependencies/issues/573)) ([864f6b3](https://github.com/googleapis/java-shared-dependencies/commit/864f6b3e6644f0b50a28d1e5283f56d22ff2bd59)) * update google.common-protos.version to v2 ([#174](https://github.com/googleapis/java-shared-dependencies/issues/174)) ([a48a223](https://github.com/googleapis/java-shared-dependencies/commit/a48a2234ec01d72a63ff007c7cf1274bb1b823cb)) * update google.common-protos.version to v2.0.1 ([#205](https://github.com/googleapis/java-shared-dependencies/issues/205)) ([6a26ccf](https://github.com/googleapis/java-shared-dependencies/commit/6a26ccffc08c82abe4ab416f95fabd2f47e4d612)) * update google.common-protos.version to v2.1.0 ([#289](https://github.com/googleapis/java-shared-dependencies/issues/289)) ([0ecbbaa](https://github.com/googleapis/java-shared-dependencies/commit/0ecbbaa5b4246d64c9384c04d4edccce860f66c5)) * update google.common-protos.version to v2.2.1 ([#358](https://github.com/googleapis/java-shared-dependencies/issues/358)) ([f3b3b4c](https://github.com/googleapis/java-shared-dependencies/commit/f3b3b4c7c84c5b93a03842448d7a1a9a4fffa60e)) * update google.common-protos.version to v2.3.1 ([#366](https://github.com/googleapis/java-shared-dependencies/issues/366)) ([ad33b92](https://github.com/googleapis/java-shared-dependencies/commit/ad33b924a1feb390d16655bca0901a4fac757bb4)) * update google.common-protos.version to v2.3.2 ([#375](https://github.com/googleapis/java-shared-dependencies/issues/375)) ([011d9e2](https://github.com/googleapis/java-shared-dependencies/commit/011d9e27e49d5ac2f6ca7f7a06f6a4a0be31c472)) * update google.common-protos.version to v2.5.0 ([#457](https://github.com/googleapis/java-shared-dependencies/issues/457)) ([4911554](https://github.com/googleapis/java-shared-dependencies/commit/4911554c6a6b3b851eb3cb6aabdb7e8d19eabe1e)) * update google.common-protos.version to v2.7.0 ([#542](https://github.com/googleapis/java-shared-dependencies/issues/542)) ([1967de4](https://github.com/googleapis/java-shared-dependencies/commit/1967de4e732e73a0cf9117d5b1da69ddd0add724)) * update google.common-protos.version to v2.7.1 ([#561](https://github.com/googleapis/java-shared-dependencies/issues/561)) ([9f9b510](https://github.com/googleapis/java-shared-dependencies/commit/9f9b510674a40d5ef111372cce5f0c05f31d6ccc)) * update google.common-protos.version to v2.7.2 ([#588](https://github.com/googleapis/java-shared-dependencies/issues/588)) ([b7204ef](https://github.com/googleapis/java-shared-dependencies/commit/b7204efaba468376d7113b2482ebe1f5d4036c13)) * update google.common-protos.version to v2.7.4 ([#603](https://github.com/googleapis/java-shared-dependencies/issues/603)) ([1dcfd35](https://github.com/googleapis/java-shared-dependencies/commit/1dcfd35ff63bb324f2bfd7cb8f6d9f31ab9a0842)) * update google.common-protos.version to v2.8.0 ([#639](https://github.com/googleapis/java-shared-dependencies/issues/639)) ([bf5dae5](https://github.com/googleapis/java-shared-dependencies/commit/bf5dae59c15ea9e1dfe9e2da1ead7230ca0a2b13)) * update google.common-protos.version to v2.8.1 ([#656](https://github.com/googleapis/java-shared-dependencies/issues/656)) ([b00e7fd](https://github.com/googleapis/java-shared-dependencies/commit/b00e7fd8447950996ce60d0e3f498a74fded2ac2)) * update google.common-protos.version to v2.8.2 ([#659](https://github.com/googleapis/java-shared-dependencies/issues/659)) ([52c5798](https://github.com/googleapis/java-shared-dependencies/commit/52c57984bc943bf67bafe262e65945afec197659)) * update google.common-protos.version to v2.8.3 ([#660](https://github.com/googleapis/java-shared-dependencies/issues/660)) ([9871634](https://github.com/googleapis/java-shared-dependencies/commit/9871634b4e97429cfecc0d8ea96ae5431dcedc5c)) * update google.common-protos.version to v2.9.0 ([#714](https://github.com/googleapis/java-shared-dependencies/issues/714)) ([4bf0782](https://github.com/googleapis/java-shared-dependencies/commit/4bf07827165b2afe3f34d7dcad4418852facb425)) * update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([62cd59a](https://github.com/googleapis/java-shared-dependencies/commit/62cd59a5fb9d9c1fa17d45477f3ca4069db7b2ab)) * update google.core.version ([#599](https://github.com/googleapis/java-shared-dependencies/issues/599)) ([9725a9c](https://github.com/googleapis/java-shared-dependencies/commit/9725a9c12773e2e7a931e5a3fa5dbe4a49da1990)) * update google.core.version to v1.93.10 ([#200](https://github.com/googleapis/java-shared-dependencies/issues/200)) ([3431370](https://github.com/googleapis/java-shared-dependencies/commit/34313707bd7adb6bc696f265fe1b2eb8f2b8a17b)) * update google.core.version to v1.94.0 ([#212](https://github.com/googleapis/java-shared-dependencies/issues/212)) ([e618f05](https://github.com/googleapis/java-shared-dependencies/commit/e618f056f4d59da7585bb5071ddf4cd263731035)) * update google.core.version to v1.94.2 ([#296](https://github.com/googleapis/java-shared-dependencies/issues/296)) ([b0fe17b](https://github.com/googleapis/java-shared-dependencies/commit/b0fe17bed94a2ff7b50d6f507387a6eaa8554870)) * update google.core.version to v1.94.3 ([#300](https://github.com/googleapis/java-shared-dependencies/issues/300)) ([9ebd1a9](https://github.com/googleapis/java-shared-dependencies/commit/9ebd1a92a4a342c1f7b06dcca5b764c0bbfc9c4d)) * update google.core.version to v1.94.4 ([#305](https://github.com/googleapis/java-shared-dependencies/issues/305)) ([5e5d6d8](https://github.com/googleapis/java-shared-dependencies/commit/5e5d6d8dad12c725f2f1f1f14fe19145a4759c58)) * update google.core.version to v1.94.5 ([#320](https://github.com/googleapis/java-shared-dependencies/issues/320)) ([4936688](https://github.com/googleapis/java-shared-dependencies/commit/4936688723fb899ff84a4fa1e53b00ce113dc8c0)) * update google.core.version to v1.94.7 ([#324](https://github.com/goo --- java-shared-dependencies/CHANGELOG.md | 345 ++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 355 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 0223ac01a450..594e39ff80b0 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,5 +1,350 @@ # Changelog +## [2.0.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.14.0...v2.0.0) (2022-07-13) + + +### ⚠ BREAKING CHANGES + +* promote to 2.0.0 (#428) + +### Features + +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#365](https://github.com/googleapis/java-shared-dependencies/issues/365)) ([7e8309b](https://github.com/googleapis/java-shared-dependencies/commit/7e8309bf67ade0fe2b09f792848136cd88b4d2e4)) +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://github.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://github.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0)) +* add commons-codec to dependencyManagement ([#251](https://github.com/googleapis/java-shared-dependencies/issues/251)) ([4ee990d](https://github.com/googleapis/java-shared-dependencies/commit/4ee990d79c9207c81155f6ee9279308a2d4d0f9d)) +* add grpc-gcp to dependencyManagement ([#389](https://github.com/googleapis/java-shared-dependencies/issues/389)) ([57fd2e6](https://github.com/googleapis/java-shared-dependencies/commit/57fd2e646e28e37e0b5e4e1b37425d4897a8776f)) +* add jackson-core to the list of managed dependencies ([#190](https://github.com/googleapis/java-shared-dependencies/issues/190)) ([b37035e](https://github.com/googleapis/java-shared-dependencies/commit/b37035ed9b0beeb5e07d6e1c121154eece1a2c87)) +* next release from main branch is 2.11.0 ([#674](https://github.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://github.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5)) +* next release from main branch is 2.5.0 ([#510](https://github.com/googleapis/java-shared-dependencies/issues/510)) ([ca9eb8a](https://github.com/googleapis/java-shared-dependencies/commit/ca9eb8a40ae81d69de0d82d9499ef21b0136ae49)) +* promote to 1.0.0 ([#341](https://github.com/googleapis/java-shared-dependencies/issues/341)) ([eddce7b](https://github.com/googleapis/java-shared-dependencies/commit/eddce7bda196d757c0bb93a05574cc742e3d7ff6)) +* promote to 2.0.0 ([#428](https://github.com/googleapis/java-shared-dependencies/issues/428)) ([4db31f2](https://github.com/googleapis/java-shared-dependencies/commit/4db31f29f1668d4743e8af8996b0c4b30e6831b3)) + + +### Bug Fixes + +* Add `shopt -s nullglob` to dependencies script ([#392](https://github.com/googleapis/java-shared-dependencies/issues/392)) ([f8f29df](https://github.com/googleapis/java-shared-dependencies/commit/f8f29df1c9cc6eca517c99113fb9509fd611ac92)) +* Add common httpclient and oauth dependencies ([#391](https://github.com/googleapis/java-shared-dependencies/issues/391)) ([09660e1](https://github.com/googleapis/java-shared-dependencies/commit/09660e1e50c96dcd7df4e80d8ad357f8256eda6c)) +* dependencies.sh to work with Java 17 ([#516](https://github.com/googleapis/java-shared-dependencies/issues/516)) ([8422c1d](https://github.com/googleapis/java-shared-dependencies/commit/8422c1d7e9ef479f348e63c530789050b5235426)) +* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-shared-dependencies/issues/1485)) ([#738](https://github.com/googleapis/java-shared-dependencies/issues/738)) ([11bc8f8](https://github.com/googleapis/java-shared-dependencies/commit/11bc8f81f28be88a97fdeafca21724e33638770c)) +* **java:** add -ntp flag to native image testing command ([#1299](https://github.com/googleapis/java-shared-dependencies/issues/1299)) ([#546](https://github.com/googleapis/java-shared-dependencies/issues/546)) ([d8bb8d9](https://github.com/googleapis/java-shared-dependencies/commit/d8bb8d9d8e3b8c582f768cd3164e8580ec334511)) +* **java:** run Maven in plain console-friendly mode ([#1301](https://github.com/googleapis/java-shared-dependencies/issues/1301)) ([#557](https://github.com/googleapis/java-shared-dependencies/issues/557)) ([6b57d08](https://github.com/googleapis/java-shared-dependencies/commit/6b57d08816ec6c1dfb637cae022624e896930ad8)) +* release scripts from issuing overlapping phases ([#332](https://github.com/googleapis/java-shared-dependencies/issues/332)) ([e289825](https://github.com/googleapis/java-shared-dependencies/commit/e289825a3bc45b4796db7ce4347f8d9d9251a410)) +* Update dependencies.sh to not break on mac ([#384](https://github.com/googleapis/java-shared-dependencies/issues/384)) ([0ae2841](https://github.com/googleapis/java-shared-dependencies/commit/0ae2841d7ce2885d041795c58a38d2d3973c2e5a)) +* update repo name ([#274](https://github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f)) + + +### Documentation + +* we don't use this as a parent pom ([#407](https://github.com/googleapis/java-shared-dependencies/issues/407)) ([4c86aaf](https://github.com/googleapis/java-shared-dependencies/commit/4c86aafc05097b6702056f5cb37736127b6df306)) + + +### Dependencies + +* downgrade opencensus version back to 0.28.0 ([#265](https://github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086)) +* downgrade protobuf to 3.17.3 (not the latest 3.18.0) ([#476](https://github.com/googleapis/java-shared-dependencies/issues/476)) ([e207c81](https://github.com/googleapis/java-shared-dependencies/commit/e207c818f220967e3618d7a9d36f2cf26c07892e)) +* google-cloud-core 2.6.0 ([#668](https://github.com/googleapis/java-shared-dependencies/issues/668)) ([22f4d18](https://github.com/googleapis/java-shared-dependencies/commit/22f4d1809cbb9848174b3569ab527e4bef00d443)) +* gRPC upgrade to 1.43.2 ([#567](https://github.com/googleapis/java-shared-dependencies/issues/567)) ([c946655](https://github.com/googleapis/java-shared-dependencies/commit/c94665571f26d24fbbb3f89ef5a3db99663bfdba)) +* guava 31.1 ([#635](https://github.com/googleapis/java-shared-dependencies/issues/635)) ([0939b06](https://github.com/googleapis/java-shared-dependencies/commit/0939b063a79cd4ffafb49cf04861ce577e35efd6)) +* reverting protobuf to 3.19.4 ([#657](https://github.com/googleapis/java-shared-dependencies/issues/657)) ([8501e6d](https://github.com/googleapis/java-shared-dependencies/commit/8501e6d842c10d2370bbd5d5246070134336bddd)) +* rollback gRPC to 1.33.1 ([#234](https://github.com/googleapis/java-shared-dependencies/issues/234)) ([67cc384](https://github.com/googleapis/java-shared-dependencies/commit/67cc384bacab8592d5bbc92db2469affee473eb7)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#225](https://github.com/googleapis/java-shared-dependencies/issues/225)) ([b78a1ef](https://github.com/googleapis/java-shared-dependencies/commit/b78a1ef83ad946b0d29cd0dff46e48fbde44d120)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#245](https://github.com/googleapis/java-shared-dependencies/issues/245)) ([5ffc8a0](https://github.com/googleapis/java-shared-dependencies/commit/5ffc8a0d173ea0222ac9610ece0ac2aeb1d17f27)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#301](https://github.com/googleapis/java-shared-dependencies/issues/301)) ([7c01eba](https://github.com/googleapis/java-shared-dependencies/commit/7c01ebabb6fd65b7404e56651b0ba27f505bb033)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 ([#329](https://github.com/googleapis/java-shared-dependencies/issues/329)) ([a77b4fc](https://github.com/googleapis/java-shared-dependencies/commit/a77b4fcc2ea5caf366c76a4698bac6d4c9abc92e)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 ([#398](https://github.com/googleapis/java-shared-dependencies/issues/398)) ([f0d49b5](https://github.com/googleapis/java-shared-dependencies/commit/f0d49b54ba334f9351c66c9924e3d0d2ed7c0016)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 ([#456](https://github.com/googleapis/java-shared-dependencies/issues/456)) ([05b58e8](https://github.com/googleapis/java-shared-dependencies/commit/05b58e84ff6617bdcbb1ea644aa6e061bdea0319)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#555](https://github.com/googleapis/java-shared-dependencies/issues/555)) ([67b5663](https://github.com/googleapis/java-shared-dependencies/commit/67b56635509215fd132b2ffbcaed995a6de93879)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2 ([#626](https://github.com/googleapis/java-shared-dependencies/issues/626)) ([6014663](https://github.com/googleapis/java-shared-dependencies/commit/601466339c9631faa88033d1ff1e31582fb67b7b)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220324 ([#636](https://github.com/googleapis/java-shared-dependencies/issues/636)) ([6c833fa](https://github.com/googleapis/java-shared-dependencies/commit/6c833faa7815147013999bfc2bb6935fd8fe6b34)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 ([#646](https://github.com/googleapis/java-shared-dependencies/issues/646)) ([7bfd6d7](https://github.com/googleapis/java-shared-dependencies/commit/7bfd6d7073859d1955b91b368c6713a72ffa14b6)) +* update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://github.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://github.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61)) +* update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#169](https://github.com/googleapis/java-shared-dependencies/issues/169)) ([a1b18d1](https://github.com/googleapis/java-shared-dependencies/commit/a1b18d1838c2ceca882615d574ab5d0245794820)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#215](https://github.com/googleapis/java-shared-dependencies/issues/215)) ([08d643a](https://github.com/googleapis/java-shared-dependencies/commit/08d643aaf289984b87d734274830712af82585b6)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#254](https://github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#295](https://github.com/googleapis/java-shared-dependencies/issues/295)) ([a0774e9](https://github.com/googleapis/java-shared-dependencies/commit/a0774e9d62d00614142bc4c14214a83dda66d4ad)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#326](https://github.com/googleapis/java-shared-dependencies/issues/326)) ([409d24f](https://github.com/googleapis/java-shared-dependencies/commit/409d24f8a0cac30e41ca45eb2711aecb335d70dd)) +* update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#353](https://github.com/googleapis/java-shared-dependencies/issues/353)) ([8d72ab0](https://github.com/googleapis/java-shared-dependencies/commit/8d72ab003e08c864aedc17fc190ba26f393bf0c7)) +* update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#390](https://github.com/googleapis/java-shared-dependencies/issues/390)) ([00288c1](https://github.com/googleapis/java-shared-dependencies/commit/00288c18d09616582c8bec961ecc5c00ef1d4288)) +* update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#563](https://github.com/googleapis/java-shared-dependencies/issues/563)) ([0aedddb](https://github.com/googleapis/java-shared-dependencies/commit/0aedddb9a535753767d56f5910f355c7a1c8509c)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#580](https://github.com/googleapis/java-shared-dependencies/issues/580)) ([895dba2](https://github.com/googleapis/java-shared-dependencies/commit/895dba2afef6c295b0e21a4ccd27feee1b6af8e2)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#602](https://github.com/googleapis/java-shared-dependencies/issues/602)) ([85b132f](https://github.com/googleapis/java-shared-dependencies/commit/85b132f5830772646025b6a9fbbb970a941b86b5)) +* update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#642](https://github.com/googleapis/java-shared-dependencies/issues/642)) ([57bd912](https://github.com/googleapis/java-shared-dependencies/commit/57bd9124ce8981b7b3b5d0c87b7c1e5f935b7150)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#662](https://github.com/googleapis/java-shared-dependencies/issues/662)) ([1b8e378](https://github.com/googleapis/java-shared-dependencies/commit/1b8e378fe0ccf2a28c759868caaf5ba593a95728)) +* update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://github.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://github.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5)) +* update dependency com.google.api-client:google-api-client-bom to v1.35.0 ([#709](https://github.com/googleapis/java-shared-dependencies/issues/709)) ([239f8c3](https://github.com/googleapis/java-shared-dependencies/commit/239f8c33a11e233e6af79aee8c7e68cd156a0554)) +* update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#713](https://github.com/googleapis/java-shared-dependencies/issues/713)) ([6559b45](https://github.com/googleapis/java-shared-dependencies/commit/6559b45b027dba783a9525d35e32183d78773cbe)) +* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://github.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) +* update dependency com.google.api:api-common to v1.10.1 ([#180](https://github.com/googleapis/java-shared-dependencies/issues/180)) ([b1f2d5d](https://github.com/googleapis/java-shared-dependencies/commit/b1f2d5dfde24fcf683eeb5600fce7f51190ecce8)) +* update dependency com.google.api:api-common to v1.10.3 ([#340](https://github.com/googleapis/java-shared-dependencies/issues/340)) ([6a7fc33](https://github.com/googleapis/java-shared-dependencies/commit/6a7fc33548c199d5f310b3ee5024907882d22726)) +* update dependency com.google.api:api-common to v1.10.4 ([#385](https://github.com/googleapis/java-shared-dependencies/issues/385)) ([5f2b39b](https://github.com/googleapis/java-shared-dependencies/commit/5f2b39b5bdc4cec9d5ab2f050e11000ed372d057)) +* update dependency com.google.api:api-common to v1.10.6 ([#411](https://github.com/googleapis/java-shared-dependencies/issues/411)) ([79801b5](https://github.com/googleapis/java-shared-dependencies/commit/79801b5fee08a8c97e275ed3674ab6c83b204a90)) +* update dependency com.google.api:api-common to v2 ([#414](https://github.com/googleapis/java-shared-dependencies/issues/414)) ([17f6e68](https://github.com/googleapis/java-shared-dependencies/commit/17f6e68a2792843dd41d3877c095e97c052c5ac0)) +* update dependency com.google.api:api-common to v2.0.1 ([#431](https://github.com/googleapis/java-shared-dependencies/issues/431)) ([b1a52c8](https://github.com/googleapis/java-shared-dependencies/commit/b1a52c83e19be7be80086f2010e928171b046f62)) +* update dependency com.google.api:api-common to v2.0.2 ([#450](https://github.com/googleapis/java-shared-dependencies/issues/450)) ([51caebe](https://github.com/googleapis/java-shared-dependencies/commit/51caebe89bfade98866f63952bf82bc663a0179a)) +* update dependency com.google.api:api-common to v2.0.5 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.api:api-common to v2.1.0 ([#508](https://github.com/googleapis/java-shared-dependencies/issues/508)) ([ae32d16](https://github.com/googleapis/java-shared-dependencies/commit/ae32d1689c78fc1469206c8c0df0ebaca59edd2c)) +* update dependency com.google.api:api-common to v2.1.1 ([#533](https://github.com/googleapis/java-shared-dependencies/issues/533)) ([4e23adb](https://github.com/googleapis/java-shared-dependencies/commit/4e23adb666dfaa18ae8bf869aca030153de16d62)) +* update dependency com.google.api:api-common to v2.1.2 ([2f154a3](https://github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update dependency com.google.api:api-common to v2.1.3 ([#587](https://github.com/googleapis/java-shared-dependencies/issues/587)) ([5dbbce8](https://github.com/googleapis/java-shared-dependencies/commit/5dbbce80baa045818757912e6db4f222c12b75f6)) +* update dependency com.google.api:api-common to v2.1.4 ([#605](https://github.com/googleapis/java-shared-dependencies/issues/605)) ([ca7d49a](https://github.com/googleapis/java-shared-dependencies/commit/ca7d49aee26b6d90abd2afd61c20861d2307fe9c)) +* update dependency com.google.api:api-common to v2.1.5 ([#637](https://github.com/googleapis/java-shared-dependencies/issues/637)) ([d3a00fa](https://github.com/googleapis/java-shared-dependencies/commit/d3a00fa5ce9908000122d8365fb2f2d0e388494b)) +* update dependency com.google.api:api-common to v2.2.0 ([#690](https://github.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://github.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6)) +* update dependency com.google.api:api-common to v2.2.1 ([#710](https://github.com/googleapis/java-shared-dependencies/issues/710)) ([650d4c5](https://github.com/googleapis/java-shared-dependencies/commit/650d4c5f8c3cfce711257d47280ad773cd2e2414)) +* update dependency com.google.api:gax-grpc to v1.65.1 ([#382](https://github.com/googleapis/java-shared-dependencies/issues/382)) ([a2a1547](https://github.com/googleapis/java-shared-dependencies/commit/a2a15471dee21207a0b97b3bc8f6f59d6a4a2d13)) +* update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#292](https://github.com/googleapis/java-shared-dependencies/issues/292)) ([b629789](https://github.com/googleapis/java-shared-dependencies/commit/b629789e3a1cc9a7308b829c034b09b06e24fc07)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#171](https://github.com/googleapis/java-shared-dependencies/issues/171)) ([0c7635a](https://github.com/googleapis/java-shared-dependencies/commit/0c7635a82d922971ae6aac18dc2ee1879e017516)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.1 ([#229](https://github.com/googleapis/java-shared-dependencies/issues/229)) ([1c13161](https://github.com/googleapis/java-shared-dependencies/commit/1c13161fa289cd5f3923f389fd5b14f3b7b4a84d)) +* update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#235](https://github.com/googleapis/java-shared-dependencies/issues/235)) ([67434eb](https://github.com/googleapis/java-shared-dependencies/commit/67434eb4bb0789abcabb3055155672b2c2e70125)) +* update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#261](https://github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#284](https://github.com/googleapis/java-shared-dependencies/issues/284)) ([5e4914c](https://github.com/googleapis/java-shared-dependencies/commit/5e4914cc4a8ccd41a219f150a7455da116d1594b)) +* update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#293](https://github.com/googleapis/java-shared-dependencies/issues/293)) ([d85ec34](https://github.com/googleapis/java-shared-dependencies/commit/d85ec347ccdd14dfdab10d365d2c2f8df3035e4d)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#310](https://github.com/googleapis/java-shared-dependencies/issues/310)) ([8f3a0f0](https://github.com/googleapis/java-shared-dependencies/commit/8f3a0f002b787f7b27cfe031654fa20bf342f839)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#311](https://github.com/googleapis/java-shared-dependencies/issues/311)) ([6c47a3e](https://github.com/googleapis/java-shared-dependencies/commit/6c47a3edbd9da04ba255487a66c0f3a41393217d)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.3 ([#328](https://github.com/googleapis/java-shared-dependencies/issues/328)) ([88cfc08](https://github.com/googleapis/java-shared-dependencies/commit/88cfc08952881200e23ed95cfa2eebad85ec7ab3)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#334](https://github.com/googleapis/java-shared-dependencies/issues/334)) ([e5c747d](https://github.com/googleapis/java-shared-dependencies/commit/e5c747d245194effc258ae706e7764153010cd53)) +* update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#338](https://github.com/googleapis/java-shared-dependencies/issues/338)) ([ffa1df5](https://github.com/googleapis/java-shared-dependencies/commit/ffa1df5497b5365f520b665a202b8caf6521fc9d)) +* update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#368](https://github.com/googleapis/java-shared-dependencies/issues/368)) ([38256a8](https://github.com/googleapis/java-shared-dependencies/commit/38256a82cb6896c3f5e5ea6ca5d8d671c412bf84)) +* update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#400](https://github.com/googleapis/java-shared-dependencies/issues/400)) ([0d5a95b](https://github.com/googleapis/java-shared-dependencies/commit/0d5a95b84076684f84b0fdbb93a706113f44457d)) +* update dependency com.google.auth:google-auth-library-bom to v1 ([#413](https://github.com/googleapis/java-shared-dependencies/issues/413)) ([94897d3](https://github.com/googleapis/java-shared-dependencies/commit/94897d30bb1cac0059e272b058f6221fb7e4733f)) +* update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#439](https://github.com/googleapis/java-shared-dependencies/issues/439)) ([ca52bd9](https://github.com/googleapis/java-shared-dependencies/commit/ca52bd9c099c96bf7b5a57aa85d39b58a610c875)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#506](https://github.com/googleapis/java-shared-dependencies/issues/506)) ([b9a8209](https://github.com/googleapis/java-shared-dependencies/commit/b9a82098655f29e858bd0c7a9b1049a379e5062a)) +* update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#524](https://github.com/googleapis/java-shared-dependencies/issues/524)) ([fc07879](https://github.com/googleapis/java-shared-dependencies/commit/fc07879fa6531e39b21977fe77abc19354a1fd33)) +* update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#578](https://github.com/googleapis/java-shared-dependencies/issues/578)) ([c274c62](https://github.com/googleapis/java-shared-dependencies/commit/c274c62905192bcc48c82104bf50cbeaa1894c2b)) +* update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#614](https://github.com/googleapis/java-shared-dependencies/issues/614)) ([e6413f3](https://github.com/googleapis/java-shared-dependencies/commit/e6413f3b1be78473ace7085c344eda2d78cdf01a)) +* update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#631](https://github.com/googleapis/java-shared-dependencies/issues/631)) ([53dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/53dc7c2fe255a6c7ca059dd414449bf96780f936)) +* update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://github.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://github.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://github.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) +* update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#272](https://github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8)) +* update dependency com.google.cloud:google-cloud-core to v2.5.6 ([#621](https://github.com/googleapis/java-shared-dependencies/issues/621)) ([3d5669f](https://github.com/googleapis/java-shared-dependencies/commit/3d5669f215689dd2df71200ffe37d5a9d385cda8)) +* update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 ([#377](https://github.com/googleapis/java-shared-dependencies/issues/377)) ([297ea62](https://github.com/googleapis/java-shared-dependencies/commit/297ea621e02f8c0679c8b07ed399d11eaacecc14)) +* update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 ([#444](https://github.com/googleapis/java-shared-dependencies/issues/444)) ([ff914c6](https://github.com/googleapis/java-shared-dependencies/commit/ff914c6de9e3e7fa6ba75591d3d5077c5421827d)) +* update dependency com.google.cloud:google-cloud-core-bom to v2.5.11 ([#644](https://github.com/googleapis/java-shared-dependencies/issues/644)) ([4331dcc](https://github.com/googleapis/java-shared-dependencies/commit/4331dcc331e8377fcc57e5404321611186ca22cb)) +* update dependency com.google.cloud:grpc-gcp to v1.1.0 ([#403](https://github.com/googleapis/java-shared-dependencies/issues/403)) ([3cc59f1](https://github.com/googleapis/java-shared-dependencies/commit/3cc59f15ebb31a7f97c9f3d78057022afabe75e9)) +* update dependency com.google.code.gson:gson to v2.8.7 ([#370](https://github.com/googleapis/java-shared-dependencies/issues/370)) ([cdc1b8e](https://github.com/googleapis/java-shared-dependencies/commit/cdc1b8ea1c93f97b712081ca8dc8ea57f342b69e)) +* update dependency com.google.code.gson:gson to v2.8.8 ([#442](https://github.com/googleapis/java-shared-dependencies/issues/442)) ([79a093f](https://github.com/googleapis/java-shared-dependencies/commit/79a093f9ccea4d47cf8b678570a1c9699029a8b2)) +* update dependency com.google.code.gson:gson to v2.8.9 ([#509](https://github.com/googleapis/java-shared-dependencies/issues/509)) ([bece99b](https://github.com/googleapis/java-shared-dependencies/commit/bece99bb3e0365e60e7376ba18d046ab6436a235)) +* update dependency com.google.code.gson:gson to v2.9.0 ([#611](https://github.com/googleapis/java-shared-dependencies/issues/611)) ([f59c28d](https://github.com/googleapis/java-shared-dependencies/commit/f59c28d8cd30ada1237f7722135ba148dce6315e)) +* update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#512](https://github.com/googleapis/java-shared-dependencies/issues/512)) ([c281f13](https://github.com/googleapis/java-shared-dependencies/commit/c281f137525e2111e97349657be578ed1fc832f2)) +* update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#582](https://github.com/googleapis/java-shared-dependencies/issues/582)) ([314da38](https://github.com/googleapis/java-shared-dependencies/commit/314da38c9f12cf425b5d1be8297e9f2a78d13948)) +* update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#652](https://github.com/googleapis/java-shared-dependencies/issues/652)) ([1cc80ee](https://github.com/googleapis/java-shared-dependencies/commit/1cc80ee984ebcad9bc2a95e2f28c0a49fe924b37)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#669](https://github.com/googleapis/java-shared-dependencies/issues/669)) ([61b7834](https://github.com/googleapis/java-shared-dependencies/commit/61b78341b34a251722be4805a6bdd895cd64836c)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://github.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://github.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b)) +* update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#701](https://github.com/googleapis/java-shared-dependencies/issues/701)) ([d24730f](https://github.com/googleapis/java-shared-dependencies/commit/d24730f78669f80b109e590b903446e5552e3e36)) +* update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#247](https://github.com/googleapis/java-shared-dependencies/issues/247)) ([37c0861](https://github.com/googleapis/java-shared-dependencies/commit/37c0861cfb89f13a0682c98067c633b13b30b827)) +* update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#255](https://github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795)) +* update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#315](https://github.com/googleapis/java-shared-dependencies/issues/315)) ([dc254ca](https://github.com/googleapis/java-shared-dependencies/commit/dc254ca7359b68fe9411f7b96130ffb416b45c6f)) +* update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#360](https://github.com/googleapis/java-shared-dependencies/issues/360)) ([8f952d0](https://github.com/googleapis/java-shared-dependencies/commit/8f952d05745358fc426a1a2dcb688da5d5010239)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#406](https://github.com/googleapis/java-shared-dependencies/issues/406)) ([2905787](https://github.com/googleapis/java-shared-dependencies/commit/29057879adeda8bc40a903ef3b5feafc83c3d972)) +* update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#426](https://github.com/googleapis/java-shared-dependencies/issues/426)) ([853b68b](https://github.com/googleapis/java-shared-dependencies/commit/853b68b16c88c3abb745ee1f71ba4bb317cbc680)) +* update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#441](https://github.com/googleapis/java-shared-dependencies/issues/441)) ([e644a4b](https://github.com/googleapis/java-shared-dependencies/commit/e644a4b504ab8aa5771f9be36861d1730ea9bcc9)) +* update dependency com.google.guava:guava-bom to v30 ([#181](https://github.com/googleapis/java-shared-dependencies/issues/181)) ([bdb1e58](https://github.com/googleapis/java-shared-dependencies/commit/bdb1e582288d06a872e36ac8b778563f2d088468)) +* update dependency com.google.guava:guava-bom to v30.1-android ([#236](https://github.com/googleapis/java-shared-dependencies/issues/236)) ([78ebf7f](https://github.com/googleapis/java-shared-dependencies/commit/78ebf7fcec3ec0308ccd5103b719f02dde7ec6d8)) +* update dependency com.google.guava:guava-bom to v31 ([#498](https://github.com/googleapis/java-shared-dependencies/issues/498)) ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#166](https://github.com/googleapis/java-shared-dependencies/issues/166)) ([5721225](https://github.com/googleapis/java-shared-dependencies/commit/572122574ce8452b6a0fc6df919e9ce2d8ffd2ce)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#207](https://github.com/googleapis/java-shared-dependencies/issues/207)) ([5e3198d](https://github.com/googleapis/java-shared-dependencies/commit/5e3198de5e1d0fe55c4d947b12984db7726059da)) +* update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#253](https://github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#288](https://github.com/googleapis/java-shared-dependencies/issues/288)) ([70bb862](https://github.com/googleapis/java-shared-dependencies/commit/70bb862029b840fbd99ba0109fa2b8f585812793)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#309](https://github.com/googleapis/java-shared-dependencies/issues/309)) ([37225e2](https://github.com/googleapis/java-shared-dependencies/commit/37225e2d1b32a618765391720b57ff29e7b8f7f9)) +* update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#321](https://github.com/googleapis/java-shared-dependencies/issues/321)) ([273c66d](https://github.com/googleapis/java-shared-dependencies/commit/273c66d374f7cd6040aac2f302fd1c1dc0f4a1c0)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#455](https://github.com/googleapis/java-shared-dependencies/issues/455)) ([82a5e42](https://github.com/googleapis/java-shared-dependencies/commit/82a5e42b06570a2c7c9d53b03161b110a44487a1)) +* update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#562](https://github.com/googleapis/java-shared-dependencies/issues/562)) ([6da0735](https://github.com/googleapis/java-shared-dependencies/commit/6da0735d4db9df998d11c549488a024b800bed65)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#579](https://github.com/googleapis/java-shared-dependencies/issues/579)) ([c8df06d](https://github.com/googleapis/java-shared-dependencies/commit/c8df06ddb3f4a975e928bbdd9dfae293e81efa39)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#608](https://github.com/googleapis/java-shared-dependencies/issues/608)) ([f9a4f23](https://github.com/googleapis/java-shared-dependencies/commit/f9a4f23d3a32148ac59e53eaae6558ccbceca12c)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#638](https://github.com/googleapis/java-shared-dependencies/issues/638)) ([e007d23](https://github.com/googleapis/java-shared-dependencies/commit/e007d2381bd388a1c199fc3f31d0b965f8ae592d)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#654](https://github.com/googleapis/java-shared-dependencies/issues/654)) ([140ef40](https://github.com/googleapis/java-shared-dependencies/commit/140ef405bc17ed83f5ce177df59affca14fbe49c)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#658](https://github.com/googleapis/java-shared-dependencies/issues/658)) ([f6f93e5](https://github.com/googleapis/java-shared-dependencies/commit/f6f93e5b9172c9684623c4c148e4a8fe2fae1e94)) +* update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://github.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://github.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#711](https://github.com/googleapis/java-shared-dependencies/issues/711)) ([5168a18](https://github.com/googleapis/java-shared-dependencies/commit/5168a181722128d434a0d0d2ab5cc485686bbc78)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://github.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 ([#447](https://github.com/googleapis/java-shared-dependencies/issues/447)) ([9d2b895](https://github.com/googleapis/java-shared-dependencies/commit/9d2b8958f62daa6a3015a8ac052762fb3d79b35b)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#576](https://github.com/googleapis/java-shared-dependencies/issues/576)) ([3315988](https://github.com/googleapis/java-shared-dependencies/commit/3315988059ca0223f078b0f760960674bfa8c04a)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#606](https://github.com/googleapis/java-shared-dependencies/issues/606)) ([3882494](https://github.com/googleapis/java-shared-dependencies/commit/3882494770d48fcc02ed19088aa06612a8e440eb)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#655](https://github.com/googleapis/java-shared-dependencies/issues/655)) ([20cd9ed](https://github.com/googleapis/java-shared-dependencies/commit/20cd9eda112c96836a5ab7485a4247ed2bc0edb8)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#663](https://github.com/googleapis/java-shared-dependencies/issues/663)) ([f011a46](https://github.com/googleapis/java-shared-dependencies/commit/f011a46c551dba16851b4f8c919c40452fc5d5c3)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#708](https://github.com/googleapis/java-shared-dependencies/issues/708)) ([620336e](https://github.com/googleapis/java-shared-dependencies/commit/620336e6733e2017116e5e8a7b403b183a728bc1)) +* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#712](https://github.com/googleapis/java-shared-dependencies/issues/712)) ([a2c18a5](https://github.com/googleapis/java-shared-dependencies/commit/a2c18a5bc4152cc9034cec691a29f54a35c38a51)) +* update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#217](https://github.com/googleapis/java-shared-dependencies/issues/217)) ([01a9c64](https://github.com/googleapis/java-shared-dependencies/commit/01a9c6442906e8482a53712eba95ccc6f7040928)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#278](https://github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#282](https://github.com/googleapis/java-shared-dependencies/issues/282)) ([44283bd](https://github.com/googleapis/java-shared-dependencies/commit/44283bdfdc9288b4a8d16b6ed3a61541792d147e)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#287](https://github.com/googleapis/java-shared-dependencies/issues/287)) ([bdae560](https://github.com/googleapis/java-shared-dependencies/commit/bdae5600f9033219ef8beb6c4d1c521fb062eaec)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#294](https://github.com/googleapis/java-shared-dependencies/issues/294)) ([58c01aa](https://github.com/googleapis/java-shared-dependencies/commit/58c01aa076e2c4954986185f913bac2c51a1e6fb)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#302](https://github.com/googleapis/java-shared-dependencies/issues/302)) ([e9d5e6e](https://github.com/googleapis/java-shared-dependencies/commit/e9d5e6ee6039915da186315ceada673ac37b88d3)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#308](https://github.com/googleapis/java-shared-dependencies/issues/308)) ([b29dd05](https://github.com/googleapis/java-shared-dependencies/commit/b29dd0535f02b56607f64ba69e85d4d468902789)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#316](https://github.com/googleapis/java-shared-dependencies/issues/316)) ([9c00d77](https://github.com/googleapis/java-shared-dependencies/commit/9c00d7753c1f7b963deb9ad69dcfe24ba28da5a2)) +* update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#319](https://github.com/googleapis/java-shared-dependencies/issues/319)) ([15e5ae2](https://github.com/googleapis/java-shared-dependencies/commit/15e5ae2ef46eedcd790ffd8644677d36db5c63f9)) +* update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#348](https://github.com/googleapis/java-shared-dependencies/issues/348)) ([0aacfde](https://github.com/googleapis/java-shared-dependencies/commit/0aacfdeec70e30803734db8287c47e4fad5481ef)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#355](https://github.com/googleapis/java-shared-dependencies/issues/355)) ([09858fb](https://github.com/googleapis/java-shared-dependencies/commit/09858fb4f1b78a77e828501597d20df4db0ebfcf)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#369](https://github.com/googleapis/java-shared-dependencies/issues/369)) ([5a19574](https://github.com/googleapis/java-shared-dependencies/commit/5a19574bc626bb3c6b573ed1d177e8907188dec1)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#374](https://github.com/googleapis/java-shared-dependencies/issues/374)) ([83516e6](https://github.com/googleapis/java-shared-dependencies/commit/83516e691b99e5e5d22d27e561781a5ade5fb514)) +* update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#379](https://github.com/googleapis/java-shared-dependencies/issues/379)) ([6f43eb5](https://github.com/googleapis/java-shared-dependencies/commit/6f43eb553dca98140d343bee3f1003096d79ee6c)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#471](https://github.com/googleapis/java-shared-dependencies/issues/471)) ([55902a6](https://github.com/googleapis/java-shared-dependencies/commit/55902a69b01fe895aec24ceb1e1e1a13873527b5)) +* update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#494](https://github.com/googleapis/java-shared-dependencies/issues/494)) ([a30e376](https://github.com/googleapis/java-shared-dependencies/commit/a30e3762b5fb0e2d31304d211c12eb2c1320f0c1)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#505](https://github.com/googleapis/java-shared-dependencies/issues/505)) ([94cde96](https://github.com/googleapis/java-shared-dependencies/commit/94cde96069900f9f8c2ff9a522671d03b26828bd)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#571](https://github.com/googleapis/java-shared-dependencies/issues/571)) ([c1931e1](https://github.com/googleapis/java-shared-dependencies/commit/c1931e1c4611ca3d1e2afac1c9e983cf1ec4a7de)) +* update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#593](https://github.com/googleapis/java-shared-dependencies/issues/593)) ([1e155bf](https://github.com/googleapis/java-shared-dependencies/commit/1e155bfc957bbb7e25d2e0994cdecaa81843bdc5)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#651](https://github.com/googleapis/java-shared-dependencies/issues/651)) ([ad2ff73](https://github.com/googleapis/java-shared-dependencies/commit/ad2ff73207dd6493321c77d8eca0022baf13b4ce)) +* update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://github.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://github.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#703](https://github.com/googleapis/java-shared-dependencies/issues/703)) ([5f9fe12](https://github.com/googleapis/java-shared-dependencies/commit/5f9fe1200b4bdf4c54bf947c21bd3ed02f26f990)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#705](https://github.com/googleapis/java-shared-dependencies/issues/705)) ([c68edfb](https://github.com/googleapis/java-shared-dependencies/commit/c68edfbe7e1993e1112640b867b29aa2fbcf7579)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://github.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) +* update dependency io.grpc:grpc-bom to v1.32.2 ([#165](https://github.com/googleapis/java-shared-dependencies/issues/165)) ([b70ddb0](https://github.com/googleapis/java-shared-dependencies/commit/b70ddb00a3be97536cdd80bd57fe6bca1b0973e2)) +* update dependency io.grpc:grpc-bom to v1.33.1 ([#192](https://github.com/googleapis/java-shared-dependencies/issues/192)) ([b29384d](https://github.com/googleapis/java-shared-dependencies/commit/b29384dc40c812f1848f00695228d5437556f029)) +* update dependency io.grpc:grpc-bom to v1.34.0 ([#228](https://github.com/googleapis/java-shared-dependencies/issues/228)) ([425d1ea](https://github.com/googleapis/java-shared-dependencies/commit/425d1eab2a046c365f816f946576e4030e7c3696)) +* update dependency io.grpc:grpc-bom to v1.34.1 ([#238](https://github.com/googleapis/java-shared-dependencies/issues/238)) ([ee7e020](https://github.com/googleapis/java-shared-dependencies/commit/ee7e020a4631f2b288d1c6f5d681423d156e3c2d)) +* update dependency io.grpc:grpc-bom to v1.35.0 ([#248](https://github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113)) +* update dependency io.grpc:grpc-bom to v1.36.0 ([#285](https://github.com/googleapis/java-shared-dependencies/issues/285)) ([c59771b](https://github.com/googleapis/java-shared-dependencies/commit/c59771b2436ac1a4fbc92b48049900472dd6d3ff)) +* update dependency io.grpc:grpc-bom to v1.37.0 ([#313](https://github.com/googleapis/java-shared-dependencies/issues/313)) ([c599351](https://github.com/googleapis/java-shared-dependencies/commit/c5993511c7305e1ced42d73552a93a25dc5e1ac1)) +* update dependency io.grpc:grpc-bom to v1.37.1 ([#359](https://github.com/googleapis/java-shared-dependencies/issues/359)) ([bc9869e](https://github.com/googleapis/java-shared-dependencies/commit/bc9869e914314f951afd69f2acae95c414398f43)) +* update dependency io.grpc:grpc-bom to v1.38.0 ([#364](https://github.com/googleapis/java-shared-dependencies/issues/364)) ([00db570](https://github.com/googleapis/java-shared-dependencies/commit/00db5701c3b0aa609f3778c06911a9a0248ca342)) +* update dependency io.grpc:grpc-bom to v1.38.1 ([#386](https://github.com/googleapis/java-shared-dependencies/issues/386)) ([7b1d4cf](https://github.com/googleapis/java-shared-dependencies/commit/7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca)) +* update dependency io.grpc:grpc-bom to v1.39.0 ([#394](https://github.com/googleapis/java-shared-dependencies/issues/394)) ([ebc8af6](https://github.com/googleapis/java-shared-dependencies/commit/ebc8af6b3f850b58b35d9720a7a0b1545d4616bd)) +* update dependency io.grpc:grpc-bom to v1.40.0 ([#438](https://github.com/googleapis/java-shared-dependencies/issues/438)) ([c3f8fb4](https://github.com/googleapis/java-shared-dependencies/commit/c3f8fb4408f5dc6c7f7dc0e14f0c24fa755433a5)) +* update dependency io.grpc:grpc-bom to v1.40.1 ([#451](https://github.com/googleapis/java-shared-dependencies/issues/451)) ([df668ea](https://github.com/googleapis/java-shared-dependencies/commit/df668ead8830a40acf9d5605d47f93c465b779c0)) +* update dependency io.grpc:grpc-bom to v1.41.0 ([#482](https://github.com/googleapis/java-shared-dependencies/issues/482)) ([8a7d227](https://github.com/googleapis/java-shared-dependencies/commit/8a7d227f2a1dab9ff23d247a4e6131c817804c36)) +* update dependency io.grpc:grpc-bom to v1.42.1 ([#513](https://github.com/googleapis/java-shared-dependencies/issues/513)) ([0d2b774](https://github.com/googleapis/java-shared-dependencies/commit/0d2b774287a132821cc6fe2789140086bc48d525)) +* update dependency io.grpc:grpc-bom to v1.43.1 ([#553](https://github.com/googleapis/java-shared-dependencies/issues/553)) ([b787c8f](https://github.com/googleapis/java-shared-dependencies/commit/b787c8f2032b7ffc9797158c3ff214b7813f34b7)) +* update dependency io.grpc:grpc-bom to v1.44.0 ([#586](https://github.com/googleapis/java-shared-dependencies/issues/586)) ([52c47b7](https://github.com/googleapis/java-shared-dependencies/commit/52c47b7425af438ba1a82dac87f9002353a6a87a)) +* update dependency io.grpc:grpc-bom to v1.44.1 ([#613](https://github.com/googleapis/java-shared-dependencies/issues/613)) ([3038a2c](https://github.com/googleapis/java-shared-dependencies/commit/3038a2c86cd20c91b65f2d7926eeb739147a68db)) +* update dependency io.grpc:grpc-bom to v1.45.0 ([#630](https://github.com/googleapis/java-shared-dependencies/issues/630)) ([20334e3](https://github.com/googleapis/java-shared-dependencies/commit/20334e30d256897cd7ef52c646e5c4549cd7ae69)) +* update dependency io.grpc:grpc-bom to v1.45.1 ([#647](https://github.com/googleapis/java-shared-dependencies/issues/647)) ([38e46fc](https://github.com/googleapis/java-shared-dependencies/commit/38e46fc4f03af0a02f30ce4a2fa222c71797ae15)) +* update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://github.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://github.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be)) +* update dependency io.grpc:grpc-bom to v1.47.0 ([#707](https://github.com/googleapis/java-shared-dependencies/issues/707)) ([d02918a](https://github.com/googleapis/java-shared-dependencies/commit/d02918a0418cd65d1d247f27afb0637f1f8f5666)) +* update dependency junit:junit to v4.13.2 ([#607](https://github.com/googleapis/java-shared-dependencies/issues/607)) ([987e617](https://github.com/googleapis/java-shared-dependencies/commit/987e61796c7a093e005fe8832cf39275c391b2c1)) +* update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#550](https://github.com/googleapis/java-shared-dependencies/issues/550)) ([e2d3dba](https://github.com/googleapis/java-shared-dependencies/commit/e2d3dbad6dd54c117abb5ab1b6137cfee4e5a32b)) +* update dependency org.checkerframework:checker-qual to v3.19.0 ([#501](https://github.com/googleapis/java-shared-dependencies/issues/501)) ([2b3e0b5](https://github.com/googleapis/java-shared-dependencies/commit/2b3e0b5ddc3a645b20a837f3123394f1ca114f08)) +* update dependency org.checkerframework:checker-qual to v3.20.0 ([#549](https://github.com/googleapis/java-shared-dependencies/issues/549)) ([586df59](https://github.com/googleapis/java-shared-dependencies/commit/586df5949d4ddca11d0705d696882c32d8436c31)) +* update dependency org.checkerframework:checker-qual to v3.21.1 ([#554](https://github.com/googleapis/java-shared-dependencies/issues/554)) ([81bbb91](https://github.com/googleapis/java-shared-dependencies/commit/81bbb91774ab67161371bfd0dfd143de89dee4c9)) +* update dependency org.checkerframework:checker-qual to v3.21.3 ([#596](https://github.com/googleapis/java-shared-dependencies/issues/596)) ([ac5083c](https://github.com/googleapis/java-shared-dependencies/commit/ac5083cd010924dc128f041c2cdbab20166a6bf0)) +* update dependency org.checkerframework:checker-qual to v3.21.4 ([#650](https://github.com/googleapis/java-shared-dependencies/issues/650)) ([125e80a](https://github.com/googleapis/java-shared-dependencies/commit/125e80ab2c3225a00c03f5ff5de94872ebb94303)) +* update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://github.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://github.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e)) +* update dependency org.checkerframework:checker-qual to v3.22.1 ([#706](https://github.com/googleapis/java-shared-dependencies/issues/706)) ([545843b](https://github.com/googleapis/java-shared-dependencies/commit/545843b492cead230b8cc72a1dae7d4922f33b39)) +* update dependency org.checkerframework:checker-qual to v3.22.2 ([#717](https://github.com/googleapis/java-shared-dependencies/issues/717)) ([142852a](https://github.com/googleapis/java-shared-dependencies/commit/142852a37140f221197f5c71aed451def353b1e0)) +* update dependency org.checkerframework:checker-qual to v3.23.0 ([#736](https://github.com/googleapis/java-shared-dependencies/issues/736)) ([fc01d8f](https://github.com/googleapis/java-shared-dependencies/commit/fc01d8f93f391f12fdb800d5006f0b4505832eeb)) +* update dependency org.threeten:threetenbp to v1.5.0 ([#196](https://github.com/googleapis/java-shared-dependencies/issues/196)) ([825a6fa](https://github.com/googleapis/java-shared-dependencies/commit/825a6fa375d12f1caa0a515b784ffde182bac98d)) +* update dependency org.threeten:threetenbp to v1.5.1 ([#335](https://github.com/googleapis/java-shared-dependencies/issues/335)) ([c8c6df4](https://github.com/googleapis/java-shared-dependencies/commit/c8c6df48e7f80944544939e502f4f08543af2631)) +* update dependency org.threeten:threetenbp to v1.5.2 ([#514](https://github.com/googleapis/java-shared-dependencies/issues/514)) ([4885f40](https://github.com/googleapis/java-shared-dependencies/commit/4885f402e2c70435cd10d4f1b893df9873808c56)) +* update dependency org.threeten:threetenbp to v1.6.0 ([#633](https://github.com/googleapis/java-shared-dependencies/issues/633)) ([1a2716d](https://github.com/googleapis/java-shared-dependencies/commit/1a2716d22e442c5cd6adea9449756b9ac3ddbf8e)) +* update gax.version to v1.60.0 ([#187](https://github.com/googleapis/java-shared-dependencies/issues/187)) ([8a8adf7](https://github.com/googleapis/java-shared-dependencies/commit/8a8adf7745d563c449bf095aad63b5e4a94e1a7d)) +* update gax.version to v1.60.1 ([#223](https://github.com/googleapis/java-shared-dependencies/issues/223)) ([84c75bd](https://github.com/googleapis/java-shared-dependencies/commit/84c75bdbd3f86ef7187373289ee08ad3a0c24719)) +* update gax.version to v1.61.0 ([#277](https://github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6)) +* update gax.version to v1.62.0 ([#291](https://github.com/googleapis/java-shared-dependencies/issues/291)) ([66bd070](https://github.com/googleapis/java-shared-dependencies/commit/66bd0702bd3deb64e0f6c73635e0ffd51a4d637e)) +* update gax.version to v1.63.0 ([#318](https://github.com/googleapis/java-shared-dependencies/issues/318)) ([ba709da](https://github.com/googleapis/java-shared-dependencies/commit/ba709da6fb0e9bcfc83e663588336598737b46e4)) +* update gax.version to v1.64.0 ([#345](https://github.com/googleapis/java-shared-dependencies/issues/345)) ([478bd35](https://github.com/googleapis/java-shared-dependencies/commit/478bd35296293e81c7e70157f50bfbebdc1bb54d)) +* update gax.version to v1.65.0 ([#376](https://github.com/googleapis/java-shared-dependencies/issues/376)) ([b793a0d](https://github.com/googleapis/java-shared-dependencies/commit/b793a0d7744ff1b0f8ae5d3d13ec4776ae8d3089)) +* update gax.version to v1.66.0 ([#395](https://github.com/googleapis/java-shared-dependencies/issues/395)) ([c73f73e](https://github.com/googleapis/java-shared-dependencies/commit/c73f73e84740a8117be342a66e179eaf3e29c6fd)) +* update gax.version to v1.67.0 ([#405](https://github.com/googleapis/java-shared-dependencies/issues/405)) ([632dcd0](https://github.com/googleapis/java-shared-dependencies/commit/632dcd0a9f10b034a2a2ec92c7c3413490dd2a03)) +* update gax.version to v2 (major) ([#418](https://github.com/googleapis/java-shared-dependencies/issues/418)) ([670a9e0](https://github.com/googleapis/java-shared-dependencies/commit/670a9e0a9588a7e592eb5dd8c0cb9ab08e07293e)) +* update gax.version to v2.1.0 ([#432](https://github.com/googleapis/java-shared-dependencies/issues/432)) ([7f53006](https://github.com/googleapis/java-shared-dependencies/commit/7f53006d021e839f52325a87d7c4715eff88818d)) +* update gax.version to v2.11.0 ([#581](https://github.com/googleapis/java-shared-dependencies/issues/581)) ([1899612](https://github.com/googleapis/java-shared-dependencies/commit/189961226f84cdd4e283780d2c7d4a4dffc3e00c)) +* update gax.version to v2.12.2 ([#592](https://github.com/googleapis/java-shared-dependencies/issues/592)) ([713ff8d](https://github.com/googleapis/java-shared-dependencies/commit/713ff8dd94f939c417524616bc47c771a3fbe0cf)) +* update gax.version to v2.13.0 ([#641](https://github.com/googleapis/java-shared-dependencies/issues/641)) ([b863746](https://github.com/googleapis/java-shared-dependencies/commit/b863746727fadd45c35198f58eb862f47fe14945)) +* update gax.version to v2.15.0 ([#649](https://github.com/googleapis/java-shared-dependencies/issues/649)) ([c7f32a6](https://github.com/googleapis/java-shared-dependencies/commit/c7f32a68b14520104432282ac9598643700162eb)) +* update gax.version to v2.16.0 ([#664](https://github.com/googleapis/java-shared-dependencies/issues/664)) ([caaf941](https://github.com/googleapis/java-shared-dependencies/commit/caaf941643af04295f5527a0144587d7bf040862)) +* update gax.version to v2.17.0 ([#687](https://github.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://github.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621)) +* update gax.version to v2.18.0 ([#692](https://github.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://github.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810)) +* update gax.version to v2.18.1 ([#695](https://github.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://github.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e)) +* update gax.version to v2.18.2 ([#718](https://github.com/googleapis/java-shared-dependencies/issues/718)) ([5f8156e](https://github.com/googleapis/java-shared-dependencies/commit/5f8156e55c6a07b018a8c5efafa68be781b4288b)) +* update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://github.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) +* update gax.version to v2.18.4 ([#735](https://github.com/googleapis/java-shared-dependencies/issues/735)) ([11c7415](https://github.com/googleapis/java-shared-dependencies/commit/11c74152a84697924de3a0e838b05f606c3098f7)) +* update gax.version to v2.3.0 ([#437](https://github.com/googleapis/java-shared-dependencies/issues/437)) ([e59aaad](https://github.com/googleapis/java-shared-dependencies/commit/e59aaadd76e40ab5ea31c3e812686a4ba0471a49)) +* update gax.version to v2.4.0 ([#458](https://github.com/googleapis/java-shared-dependencies/issues/458)) ([a797d9e](https://github.com/googleapis/java-shared-dependencies/commit/a797d9eb8a4bcb3025a9511eae61271278a4a5c9)) +* update gax.version to v2.4.1 ([#464](https://github.com/googleapis/java-shared-dependencies/issues/464)) ([bc7c6d7](https://github.com/googleapis/java-shared-dependencies/commit/bc7c6d7ca161ebfa31895c375d65bca29d4c7336)) +* update gax.version to v2.5.0 ([#479](https://github.com/googleapis/java-shared-dependencies/issues/479)) ([e22e62a](https://github.com/googleapis/java-shared-dependencies/commit/e22e62a3b248023ae94da2a02ec50006377a5157)) +* update gax.version to v2.6.1 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) +* update gax.version to v2.7.0 ([#515](https://github.com/googleapis/java-shared-dependencies/issues/515)) ([567e728](https://github.com/googleapis/java-shared-dependencies/commit/567e728b0e59233a04e2d04183e6a0c36cca2437)) +* update gax.version to v2.7.1 ([#544](https://github.com/googleapis/java-shared-dependencies/issues/544)) ([5a0c480](https://github.com/googleapis/java-shared-dependencies/commit/5a0c480671fa834e600edc6ac6fe77967d1b79b3)) +* update gax.version to v2.8.0 ([#564](https://github.com/googleapis/java-shared-dependencies/issues/564)) ([9ad5d4f](https://github.com/googleapis/java-shared-dependencies/commit/9ad5d4f5385753a0c5739ef400f5d346e3342b84)) +* update gax.version to v2.8.1 ([2f154a3](https://github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update gax.version to v2.9.0 ([#573](https://github.com/googleapis/java-shared-dependencies/issues/573)) ([ee5e38e](https://github.com/googleapis/java-shared-dependencies/commit/ee5e38efea574eeb2b5803192da98ba1ce1c8e6e)) +* update google.common-protos.version to v2 ([#174](https://github.com/googleapis/java-shared-dependencies/issues/174)) ([3f7e3ff](https://github.com/googleapis/java-shared-dependencies/commit/3f7e3ffd5e07d2f11f0aa981dae2bdf5381e429f)) +* update google.common-protos.version to v2.0.1 ([#205](https://github.com/googleapis/java-shared-dependencies/issues/205)) ([6b12417](https://github.com/googleapis/java-shared-dependencies/commit/6b1241737d34e99a55acdcd439aa71ad28d1e26c)) +* update google.common-protos.version to v2.1.0 ([#289](https://github.com/googleapis/java-shared-dependencies/issues/289)) ([43c9f02](https://github.com/googleapis/java-shared-dependencies/commit/43c9f026b1fa82f38dcb93b902281c2559e82d8e)) +* update google.common-protos.version to v2.2.1 ([#358](https://github.com/googleapis/java-shared-dependencies/issues/358)) ([a3ed764](https://github.com/googleapis/java-shared-dependencies/commit/a3ed764a0e5143ee323d4b69c9747b8265d349e2)) +* update google.common-protos.version to v2.3.1 ([#366](https://github.com/googleapis/java-shared-dependencies/issues/366)) ([7d6a7fa](https://github.com/googleapis/java-shared-dependencies/commit/7d6a7fa7a2cad2b3f2ecf45e42d2ed5db0b60a43)) +* update google.common-protos.version to v2.3.2 ([#375](https://github.com/googleapis/java-shared-dependencies/issues/375)) ([68a47ad](https://github.com/googleapis/java-shared-dependencies/commit/68a47ad3243f3e980db74c9c8505a1b3063c131b)) +* update google.common-protos.version to v2.5.0 ([#457](https://github.com/googleapis/java-shared-dependencies/issues/457)) ([38c7bb9](https://github.com/googleapis/java-shared-dependencies/commit/38c7bb925414d90ff3065650d06589f79bcab9b6)) +* update google.common-protos.version to v2.7.0 ([#542](https://github.com/googleapis/java-shared-dependencies/issues/542)) ([af97eb5](https://github.com/googleapis/java-shared-dependencies/commit/af97eb5d9cff397080fdb3d4a6dbf7c2692e0358)) +* update google.common-protos.version to v2.7.1 ([#561](https://github.com/googleapis/java-shared-dependencies/issues/561)) ([9aa860d](https://github.com/googleapis/java-shared-dependencies/commit/9aa860d92f745f1d4382eb16439bf17ac6ca8ae9)) +* update google.common-protos.version to v2.7.2 ([#588](https://github.com/googleapis/java-shared-dependencies/issues/588)) ([caac0e6](https://github.com/googleapis/java-shared-dependencies/commit/caac0e68e336b801becb6322b5b81fce1824ad8a)) +* update google.common-protos.version to v2.7.4 ([#603](https://github.com/googleapis/java-shared-dependencies/issues/603)) ([bb9b4c7](https://github.com/googleapis/java-shared-dependencies/commit/bb9b4c7e39552cc73b3b9d4c826b26e8cb74459f)) +* update google.common-protos.version to v2.8.0 ([#639](https://github.com/googleapis/java-shared-dependencies/issues/639)) ([252afba](https://github.com/googleapis/java-shared-dependencies/commit/252afba1df8e4cfdf2574d127097b0978b7778c0)) +* update google.common-protos.version to v2.8.1 ([#656](https://github.com/googleapis/java-shared-dependencies/issues/656)) ([df4a4a2](https://github.com/googleapis/java-shared-dependencies/commit/df4a4a2130a3cdb2965ea42962d1ea6a85506ba7)) +* update google.common-protos.version to v2.8.2 ([#659](https://github.com/googleapis/java-shared-dependencies/issues/659)) ([b499e2b](https://github.com/googleapis/java-shared-dependencies/commit/b499e2bc99506d48d26e35bf6e68c09409ce8b11)) +* update google.common-protos.version to v2.8.3 ([#660](https://github.com/googleapis/java-shared-dependencies/issues/660)) ([461081c](https://github.com/googleapis/java-shared-dependencies/commit/461081c0cf73057c1f6e07fc573453ad467a60ae)) +* update google.common-protos.version to v2.9.0 ([#714](https://github.com/googleapis/java-shared-dependencies/issues/714)) ([9e5591e](https://github.com/googleapis/java-shared-dependencies/commit/9e5591ec3035350450ecbfebd00e08216433b06c)) +* update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://github.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) +* update google.core.version ([#599](https://github.com/googleapis/java-shared-dependencies/issues/599)) ([327d0df](https://github.com/googleapis/java-shared-dependencies/commit/327d0df9b57203c0d4f426de0380770d3d7910d6)) +* update google.core.version to v1.93.10 ([#200](https://github.com/googleapis/java-shared-dependencies/issues/200)) ([2d73dc1](https://github.com/googleapis/java-shared-dependencies/commit/2d73dc152469d175c74f85c5c76dcc67993c9783)) +* update google.core.version to v1.94.0 ([#212](https://github.com/googleapis/java-shared-dependencies/issues/212)) ([764ef5e](https://github.com/googleapis/java-shared-dependencies/commit/764ef5e9a2272cd9244a8fc5cc107ffacf9e9d5b)) +* update google.core.version to v1.94.2 ([#296](https://github.com/googleapis/java-shared-dependencies/issues/296)) ([af83b90](https://github.com/googleapis/java-shared-dependencies/commit/af83b901be0c03d507189999215d35345602fad7)) +* update google.core.version to v1.94.3 ([#300](https://github.com/googleapis/java-shared-dependencies/issues/300)) ([3e73176](https://github.com/googleapis/java-shared-dependencies/commit/3e73176af0b07dfe621163b301174b5b5820dfa2)) +* update google.core.version to v1.94.4 ([#305](https://github.com/googleapis/java-shared-dependencies/issues/305)) ([0d38f4c](https://github.com/googleapis/java-shared-dependencies/commit/0d38f4c9ffadcfd9446712b8bf0729399b0c9e91)) +* update google.core.version to v1.94.5 ([#320](https://github.com/googleapis/java-shared-dependencies/issues/320)) ([3439721](https://github.com/googleapis/java-shared-dependencies/commit/3439721da83a8b92d9c4b6ecfd158cfb1e1a0503)) +* update google.core.version to v1.94.7 ([#324](https://github.com/googleapis/java-shared-dependencies/issues/324)) ([0412c88](https://github.com/googleapis/java-shared-dependencies/commit/0412c88468940c1182bc0761bfe269a6688fe7b7)) +* update google.core.version to v1.94.8 ([#342](https://github.com/googleapis/java-shared-dependencies/issues/342)) ([d946dd2](https://github.com/googleapis/java-shared-dependencies/commit/d946dd2299aac32f969a2226a1391e1e73f00e62)) +* update google.core.version to v1.95.1 ([#381](https://github.com/googleapis/java-shared-dependencies/issues/381)) ([4496153](https://github.com/googleapis/java-shared-dependencies/commit/44961532f621b0ab19e9e7feebb7d588aef5d423)) +* update google.core.version to v1.95.2 ([#383](https://github.com/googleapis/java-shared-dependencies/issues/383)) ([7216859](https://github.com/googleapis/java-shared-dependencies/commit/7216859bcd67fa1ce1119831c33c50a2d5b79324)) +* update google.core.version to v1.95.3 ([#388](https://github.com/googleapis/java-shared-dependencies/issues/388)) ([354e4e8](https://github.com/googleapis/java-shared-dependencies/commit/354e4e811f4ba886406681a4261ac0455a9eb2d2)) +* update google.core.version to v1.95.4 ([#393](https://github.com/googleapis/java-shared-dependencies/issues/393)) ([be78ad8](https://github.com/googleapis/java-shared-dependencies/commit/be78ad85e31d8876eabafee7aa8242712573cb46)) +* update google.core.version to v1.96.1 ([#417](https://github.com/googleapis/java-shared-dependencies/issues/417)) ([49db9cb](https://github.com/googleapis/java-shared-dependencies/commit/49db9cb473c8d3d794ad57a41cfc223239482174)) +* update google.core.version to v2 (major) ([#427](https://github.com/googleapis/java-shared-dependencies/issues/427)) ([8cc7a92](https://github.com/googleapis/java-shared-dependencies/commit/8cc7a922cc3ba10a157e3649d7a783bbbcbee010)) +* update google.core.version to v2.0.4 ([#430](https://github.com/googleapis/java-shared-dependencies/issues/430)) ([d0465ad](https://github.com/googleapis/java-shared-dependencies/commit/d0465ad3a79993d4e854078ea992e53ab9add07f)) +* update google.core.version to v2.0.5 ([#434](https://github.com/googleapis/java-shared-dependencies/issues/434)) ([af00753](https://github.com/googleapis/java-shared-dependencies/commit/af0075390034cba5cefede8260ab03f728d525a8)) +* update google.core.version to v2.1.1 ([#449](https://github.com/googleapis/java-shared-dependencies/issues/449)) ([b28723a](https://github.com/googleapis/java-shared-dependencies/commit/b28723ace0c27ebc73f23a2d094e0fe9ba8a9075)) +* update google.core.version to v2.1.2 ([#459](https://github.com/googleapis/java-shared-dependencies/issues/459)) ([df4d5b7](https://github.com/googleapis/java-shared-dependencies/commit/df4d5b7717386f5e0e2cca87bd9afc56b2c7aee8)) +* update google.core.version to v2.1.3 ([#465](https://github.com/googleapis/java-shared-dependencies/issues/465)) ([848f608](https://github.com/googleapis/java-shared-dependencies/commit/848f608ae850bd2dd80ec56034eb0c9a18f0415b)) +* update google.core.version to v2.1.4 ([#473](https://github.com/googleapis/java-shared-dependencies/issues/473)) ([116f278](https://github.com/googleapis/java-shared-dependencies/commit/116f2783dfc18f215905ceaff9f85f331f83472b)) +* update google.core.version to v2.1.6 ([#478](https://github.com/googleapis/java-shared-dependencies/issues/478)) ([9e09728](https://github.com/googleapis/java-shared-dependencies/commit/9e0972834764b25e5e194e0e805efc5453120df3)) +* update google.core.version to v2.3.0 ([#530](https://github.com/googleapis/java-shared-dependencies/issues/530)) ([78e87e9](https://github.com/googleapis/java-shared-dependencies/commit/78e87e96befab34dc4a494e752aeb473cd14a156)) +* update google.core.version to v2.3.3 ([#534](https://github.com/googleapis/java-shared-dependencies/issues/534)) ([885acef](https://github.com/googleapis/java-shared-dependencies/commit/885acefe4ff5313eb53dc43b4825ca597b97dcfd)) +* update google.core.version to v2.3.5 ([#565](https://github.com/googleapis/java-shared-dependencies/issues/565)) ([2f154a3](https://github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) +* update google.core.version to v2.4.0 ([#589](https://github.com/googleapis/java-shared-dependencies/issues/589)) ([6a292e3](https://github.com/googleapis/java-shared-dependencies/commit/6a292e3530a06d6b228f3154ed4e979ef68d7aeb)) +* update google.core.version to v2.5.10 ([#628](https://github.com/googleapis/java-shared-dependencies/issues/628)) ([fec6f51](https://github.com/googleapis/java-shared-dependencies/commit/fec6f5121384a04a389bad6f6477a9a5ce468016)) +* update google.core.version to v2.6.1 ([#671](https://github.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://github.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90)) +* update google.core.version to v2.7.0 ([#693](https://github.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://github.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c)) +* update google.core.version to v2.7.1 ([#698](https://github.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://github.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449)) +* update google.core.version to v2.8.0 ([#719](https://github.com/googleapis/java-shared-dependencies/issues/719)) ([4023c60](https://github.com/googleapis/java-shared-dependencies/commit/4023c6063a2c5b5308da531df1a08c90c491965d)) +* update google.core.version to v2.8.1 ([#725](https://github.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://github.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) +* update guava to 30.1.1-android ([#322](https://github.com/googleapis/java-shared-dependencies/issues/322)) ([a6b5d3b](https://github.com/googleapis/java-shared-dependencies/commit/a6b5d3b8ccfc352bf0d1678952ce3cd8b7a8361e)) +* update guava to 30.1.1-jre ([#423](https://github.com/googleapis/java-shared-dependencies/issues/423)) ([94aca59](https://github.com/googleapis/java-shared-dependencies/commit/94aca597804d7b45aae22811b277c44281e62d64)) +* update iam.version to v1.0.11 ([#304](https://github.com/googleapis/java-shared-dependencies/issues/304)) ([95a5264](https://github.com/googleapis/java-shared-dependencies/commit/95a526442b3d24c83782523d38dd3931e828d757)) +* update iam.version to v1.0.12 ([#327](https://github.com/googleapis/java-shared-dependencies/issues/327)) ([548d5f5](https://github.com/googleapis/java-shared-dependencies/commit/548d5f53c4f264f1cbb9ca72fdfe4608ab16b480)) +* update iam.version to v1.0.13 ([#343](https://github.com/googleapis/java-shared-dependencies/issues/343)) ([3637923](https://github.com/googleapis/java-shared-dependencies/commit/363792392b71deff5cc5731104b631122fba5e61)) +* update iam.version to v1.0.14 ([#352](https://github.com/googleapis/java-shared-dependencies/issues/352)) ([bea9a01](https://github.com/googleapis/java-shared-dependencies/commit/bea9a01788ac1332a4bc7e06574ef5701700fe90)) +* update iam.version to v1.0.2 ([#194](https://github.com/googleapis/java-shared-dependencies/issues/194)) ([5c57239](https://github.com/googleapis/java-shared-dependencies/commit/5c572399a1b453f4dc5f6ef8d8850a35be2aef75)) +* update iam.version to v1.0.3 ([#206](https://github.com/googleapis/java-shared-dependencies/issues/206)) ([94a4e31](https://github.com/googleapis/java-shared-dependencies/commit/94a4e31634718a206ef0f5ff1a8801dc7be4c5c5)) +* update iam.version to v1.0.4 ([#231](https://github.com/googleapis/java-shared-dependencies/issues/231)) ([5edf99e](https://github.com/googleapis/java-shared-dependencies/commit/5edf99e0149a1b70eb52b8921e9eb04fb84d9160)) +* update iam.version to v1.0.5 ([#237](https://github.com/googleapis/java-shared-dependencies/issues/237)) ([bbe6be6](https://github.com/googleapis/java-shared-dependencies/commit/bbe6be650a93cf365f2439ae9c8bebf2ade83ddd)) +* update iam.version to v1.0.7 ([#252](https://github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48)) +* update iam.version to v1.0.8 ([#273](https://github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595)) +* update iam.version to v1.0.9 ([#281](https://github.com/googleapis/java-shared-dependencies/issues/281)) ([ee44d0b](https://github.com/googleapis/java-shared-dependencies/commit/ee44d0b41e101931ccf5de2561dfcfcc9ff88b88)) +* update iam.version to v1.1.0 ([#448](https://github.com/googleapis/java-shared-dependencies/issues/448)) ([3967928](https://github.com/googleapis/java-shared-dependencies/commit/39679287f3ef8c1cbca5dfc8aca3f69cfee3d4a6)) +* update iam.version to v1.1.1 ([#470](https://github.com/googleapis/java-shared-dependencies/issues/470)) ([3b6e960](https://github.com/googleapis/java-shared-dependencies/commit/3b6e96050af8d976a30165481d764d8226143a39)) +* update iam.version to v1.1.2 ([#472](https://github.com/googleapis/java-shared-dependencies/issues/472)) ([85329cc](https://github.com/googleapis/java-shared-dependencies/commit/85329cc6c13d16fe2eeeb076959ee16a752c1f9e)) +* update iam.version to v1.1.6 ([#485](https://github.com/googleapis/java-shared-dependencies/issues/485)) ([cef7e09](https://github.com/googleapis/java-shared-dependencies/commit/cef7e090bbc2e3ae775fa83505f98df286ba7d42)) +* update iam.version to v1.1.7 ([#504](https://github.com/googleapis/java-shared-dependencies/issues/504)) ([63dd583](https://github.com/googleapis/java-shared-dependencies/commit/63dd583c80f35b01a66fd1908d41467468c66436)) +* update iam.version to v1.2.0 ([#547](https://github.com/googleapis/java-shared-dependencies/issues/547)) ([3232c82](https://github.com/googleapis/java-shared-dependencies/commit/3232c828b628cb604a200b3e569e56e758e5e11d)) +* update iam.version to v1.2.1 ([#569](https://github.com/googleapis/java-shared-dependencies/issues/569)) ([62dd270](https://github.com/googleapis/java-shared-dependencies/commit/62dd2705b257c4bb539bfe619234f38d0e13b138)) +* update iam.version to v1.2.10 ([#625](https://github.com/googleapis/java-shared-dependencies/issues/625)) ([0d7ca29](https://github.com/googleapis/java-shared-dependencies/commit/0d7ca2924bd24abe14883c173156bb4dc5fb90bf)) +* update iam.version to v1.2.6 ([#598](https://github.com/googleapis/java-shared-dependencies/issues/598)) ([2801439](https://github.com/googleapis/java-shared-dependencies/commit/280143964c7c3b93a8d7f67215ba2cc74ffce761)) +* update iam.version to v1.3.0 ([#648](https://github.com/googleapis/java-shared-dependencies/issues/648)) ([6670c4f](https://github.com/googleapis/java-shared-dependencies/commit/6670c4f61fcf075c543bfd148eea49796e0662ce)) +* update iam.version to v1.3.1 ([#661](https://github.com/googleapis/java-shared-dependencies/issues/661)) ([cc8fbe6](https://github.com/googleapis/java-shared-dependencies/commit/cc8fbe6eae03341c2ece7d3356febc843a74a812)) +* update iam.version to v1.3.2 ([#673](https://github.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://github.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c)) +* update iam.version to v1.3.3 ([#679](https://github.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://github.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1)) +* update iam.version to v1.3.4 ([#686](https://github.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://github.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473)) +* update iam.version to v1.4.0 ([#700](https://github.com/googleapis/java-shared-dependencies/issues/700)) ([c1097a4](https://github.com/googleapis/java-shared-dependencies/commit/c1097a46ab0739b0b7234bc510e4c3d9ce2c2861)) +* update iam.version to v1.4.1 ([#716](https://github.com/googleapis/java-shared-dependencies/issues/716)) ([e2dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/e2dc7c21c39e007878841e2664d548ec44a72d54)) +* update iam.version to v1.5.0 ([#732](https://github.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://github.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) +* update iam.version to v1.5.1 ([#737](https://github.com/googleapis/java-shared-dependencies/issues/737)) ([df39168](https://github.com/googleapis/java-shared-dependencies/commit/df391685d42fcb1b04f03ab1380a594893bdce37)) +* update opencensus.version to v0.30.0 ([#552](https://github.com/googleapis/java-shared-dependencies/issues/552)) ([ebae62e](https://github.com/googleapis/java-shared-dependencies/commit/ebae62eca75234db4fd571f42b8ed0f6ce1bd1f7)) +* update opencensus.version to v0.31.0 ([#585](https://github.com/googleapis/java-shared-dependencies/issues/585)) ([021b066](https://github.com/googleapis/java-shared-dependencies/commit/021b066a833af1629c89fcca593d16b9786ee0bf)) +* update opencensus.version to v0.31.1 ([#682](https://github.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://github.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3)) +* upgrading protobuf to 3.19.2 ([#560](https://github.com/googleapis/java-shared-dependencies/issues/560)) ([7ef3325](https://github.com/googleapis/java-shared-dependencies/commit/7ef33250f5473348d3546210b7a534360f476101)) + ## [2.14.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.13.0...v2.14.0) (2022-07-11) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 6d0d75550b0d..c04c31d4cdc4 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 - 2.14.1-SNAPSHOT + 1.0.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.14.1-SNAPSHOT + 1.0.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index eaa6d70c69a8..9da4787cd882 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 - 2.14.1-SNAPSHOT + 1.0.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 84caf1e5abcc..81ae10340dca 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 - 2.14.1-SNAPSHOT + 1.0.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.14.1-SNAPSHOT + 1.0.0 pom import com.google.cloud third-party-dependencies - 2.14.1-SNAPSHOT + 1.0.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a610ef27c596..7b8f52b70395 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 - 2.14.1-SNAPSHOT + 1.0.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 56b71c2cd84d..e362b3dfe4ab 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 - 2.14.1-SNAPSHOT + 1.0.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.14.1-SNAPSHOT + 1.0.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 1ee6376dd95e..eac7515a5507 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.14.0:2.14.1-SNAPSHOT \ No newline at end of file +google-cloud-shared-dependencies:1.0.0:1.0.0 \ No newline at end of file From 5e3488bea8478669ea54dccbccb54f25826b9aae Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 14 Jul 2022 14:16:18 +0000 Subject: [PATCH 2379/3036] chore(main): release 2.8.2 (#863) :robot: I have created a release *beep* *boop* --- ## [2.8.2](https://github.com/googleapis/java-core/compare/v2.8.1...v2.8.2) (2022-07-13) ### Bug Fixes * enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-core/issues/1485)) ([#866](https://github.com/googleapis/java-core/issues/866)) ([8a8ac99](https://github.com/googleapis/java-core/commit/8a8ac99cd10080efa244547d581909139facc29e)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#859](https://github.com/googleapis/java-core/issues/859)) ([6b51a1c](https://github.com/googleapis/java-core/commit/6b51a1cda54d6d07c145b92213a5f54f0ae97366)) * update dependency com.google.api:gax-bom to v2.18.3 ([#860](https://github.com/googleapis/java-core/issues/860)) ([f5a5278](https://github.com/googleapis/java-core/commit/f5a52786dd092e7f9315ca84fdb1a2607029c37c)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.9.1 ([#855](https://github.com/googleapis/java-core/issues/855)) ([4ec6635](https://github.com/googleapis/java-core/commit/4ec66358951f80636fa0de8ba8214819cab18c98)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.0 ([#862](https://github.com/googleapis/java-core/issues/862)) ([19aebbe](https://github.com/googleapis/java-core/commit/19aebbeebb99f4a75e7c5674cc0f6a176efcd626)) * update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#861](https://github.com/googleapis/java-core/issues/861)) ([4d7548b](https://github.com/googleapis/java-core/commit/4d7548bac8dd6054b0ec4129d2d051b034ca4c8f)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 16 ++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 28 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 2ec31079c9a5..706aa86f5038 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [2.8.2](https://github.com/googleapis/java-core/compare/v2.8.1...v2.8.2) (2022-07-13) + + +### Bug Fixes + +* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-core/issues/1485)) ([#866](https://github.com/googleapis/java-core/issues/866)) ([3add981](https://github.com/googleapis/java-core/commit/3add98191ecfc00f324ef214b98d02cfb143d08e)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#859](https://github.com/googleapis/java-core/issues/859)) ([c26a33d](https://github.com/googleapis/java-core/commit/c26a33d44df2405653ee5161f5335b423d334c93)) +* update dependency com.google.api:gax-bom to v2.18.3 ([#860](https://github.com/googleapis/java-core/issues/860)) ([f16395e](https://github.com/googleapis/java-core/commit/f16395e005b253a1cccadcd77b6403617cf72467)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.9.1 ([#855](https://github.com/googleapis/java-core/issues/855)) ([f7fc1cc](https://github.com/googleapis/java-core/commit/f7fc1cca6e79a17313c1d9c522dc93ea6df44645)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.0 ([#862](https://github.com/googleapis/java-core/issues/862)) ([fc82590](https://github.com/googleapis/java-core/commit/fc82590ca3022449300f18bb6d0109521aa73cbc)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#861](https://github.com/googleapis/java-core/issues/861)) ([3849fdf](https://github.com/googleapis/java-core/commit/3849fdf14e863d23b097b0d625e3a11b47f5d99b)) + ## [2.8.1](https://github.com/googleapis/java-core/compare/v2.8.0...v2.8.1) (2022-06-27) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 907e0997d172..5546bc4fe0f4 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.2-SNAPSHOT + 2.8.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.2-SNAPSHOT + 2.8.2 com.google.cloud google-cloud-core-grpc - 2.8.2-SNAPSHOT + 2.8.2 com.google.cloud google-cloud-core-http - 2.8.2-SNAPSHOT + 2.8.2 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 874231ff779c..0fc613021fd2 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.8.2-SNAPSHOT + 2.8.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.2-SNAPSHOT + 2.8.2 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 e48cb719d818..7325488733b6 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.8.2-SNAPSHOT + 2.8.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.2-SNAPSHOT + 2.8.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8c070d7c3b2f..684f1cc19afb 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.8.2-SNAPSHOT + 2.8.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.2-SNAPSHOT + 2.8.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 131dee0bb664..2f95d1e7f977 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.2-SNAPSHOT + 2.8.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index cd2597524044..84d0ac4ad70d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.1:2.8.2-SNAPSHOT +google-cloud-core:2.8.2:2.8.2 From bb586090f16ed67469c59ab2c7e085d1fb4cece7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:08:15 +0200 Subject: [PATCH 2380/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.8.1 (#856) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2f95d1e7f977..7c204c2da2bf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.2.1 2.9.1 1.5.0 - 1.7.0 + 1.8.1 1.35.2 1.42.1 1.47.0 From d4a850142df3d2711767d05b16da6b7d82e85668 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:08:35 +0200 Subject: [PATCH 2381/3036] deps: update dependency com.google.api:gax-bom to v2.18.4 (#864) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7c204c2da2bf..5fe5c897c203 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.3 + 2.18.4 2.2.1 2.9.1 1.5.0 From 5dad1ea4f0da5f5419ad23751d35d62bab90fdd2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:14:16 +0200 Subject: [PATCH 2382/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.2 (#865) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5fe5c897c203..2085f2a3c00d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.18.4 2.2.1 2.9.1 - 1.5.0 + 1.5.2 1.8.1 1.35.2 1.42.1 From fe7991d3ee44d30029405508192cffe7ac3fe0d9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:18:33 +0200 Subject: [PATCH 2383/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2 (#868) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2085f2a3c00d..7e9ab5ed9c0e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.9.1 1.5.2 1.8.1 - 1.35.2 + 2.0.0 1.42.1 1.47.0 3.21.2 From adf5af4f88b98ab8e915918b3b42aed99a5e4b2a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:20:12 +0200 Subject: [PATCH 2384/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 (#870) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-common-protos) | `2.9.1` -> `2.9.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.2/compatibility-slim/2.9.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.2/confidence-slim/2.9.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.2`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​292-httpsgithubcomgoogleapisjava-common-protoscomparev291v292-2022-07-13) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.1...v2.9.2) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/java-common-protos/issues/1485)) ([#​386](https://togithub.com/googleapis/java-common-protos/issues/386)) ([fec7bed](https://togithub.com/googleapis/java-common-protos/commit/fec7bedbd0c3ac1d02de851616222b7189e5ed98))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7e9ab5ed9c0e..fb733cf3d93a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.18.4 2.2.1 - 2.9.1 + 2.9.2 1.5.2 1.8.1 2.0.0 From 341b04ed7a104b33a9caee92a359d10e7d5e23dd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:24:45 +0200 Subject: [PATCH 2385/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.2 (#871) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.42.1` -> `1.42.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.2/compatibility-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.2/confidence-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.2`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1422-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1421v1422-2022-07-13) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.1...v1.42.2) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/google-http-java-client/issues/1485)) ([#​1684](https://togithub.com/googleapis/google-http-java-client/issues/1684)) ([9d789f5](https://togithub.com/googleapis/google-http-java-client/commit/9d789f511b907c3970ed9845a4c092fe5458755d))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index fb733cf3d93a..bb99e80344ea 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.5.2 1.8.1 2.0.0 - 1.42.1 + 1.42.2 1.47.0 3.21.2 0.31.1 From 347269fd6a123ef0104a394be74676c50b1e30ce Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:48:21 +0200 Subject: [PATCH 2386/3036] deps: update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 (#741) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9da4787cd882..9d55e27ecf21 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 31.1-jre 3.21.2 2.2.1 - 2.9.1 + 2.9.2 2.8.1 1.8.0 1.42.1 From dabdbdf84854ba442a441d0cac989e2370523fee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:48:38 +0200 Subject: [PATCH 2387/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.8.1 (#742) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9d55e27ecf21..61a0c3d27b75 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.2.1 2.9.2 2.8.1 - 1.8.0 + 1.8.1 1.42.1 1.34.1 1.35.2 From 294ea851b39fb74169d2a643c3ef928149c34dc5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:48:53 +0200 Subject: [PATCH 2388/3036] deps: update iam.version to v1.5.2 (#743) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 61a0c3d27b75..0e74f870d913 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.42.1 1.34.1 1.35.2 - 1.5.1 + 1.5.2
    From d3cbbb09541483769f6015f4e8c54a82edea2957 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:49:04 +0200 Subject: [PATCH 2389/3036] chore(deps): update dependency com.google.cloud:google-cloud-shared-dependencies to v1.4.0 (#744) --- java-shared-dependencies/dependency-convergence-check/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index c04c31d4cdc4..45155ea14a93 100644 --- a/java-shared-dependencies/dependency-convergence-check/pom.xml +++ b/java-shared-dependencies/dependency-convergence-check/pom.xml @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.0.0 + 1.4.0 pom import diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index e362b3dfe4ab..d80908eeb224 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.0.0 + 1.4.0 pom import From 93b1ed877a09e53b004ea9e5a3a673380dc46219 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:49:48 +0200 Subject: [PATCH 2390/3036] deps: update dependency com.google.cloud:first-party-dependencies to v2 (#747) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 81ae10340dca..a109269aabe8 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -65,7 +65,7 @@ com.google.cloud first-party-dependencies - 1.0.0 + 2.13.0 pom import From afca3fdb0dd4f72f68e4ea403bb24fc7dca01c16 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:50:03 +0200 Subject: [PATCH 2391/3036] deps: update dependency com.google.cloud:third-party-dependencies to v2 (#748) --- java-shared-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index a109269aabe8..15f126775347 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -72,7 +72,7 @@ com.google.cloud third-party-dependencies - 1.0.0 + 2.13.0 pom import From ef2b57a1b28d4388f5066d90ee412dcdbe1edd40 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:53:29 +0200 Subject: [PATCH 2392/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2 (#746) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 0e74f870d913..06dac1c62def 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 1.8.1 1.42.1 1.34.1 - 1.35.2 + 2.0.0 1.5.2
    From 86135cb04785548bc653e1c2730b18e48b050682 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:53:42 +0200 Subject: [PATCH 2393/3036] chore(deps): update dependency com.google.cloud:google-cloud-shared-dependencies to v2 (#745) --- java-shared-dependencies/dependency-convergence-check/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 45155ea14a93..ed799afb131c 100644 --- a/java-shared-dependencies/dependency-convergence-check/pom.xml +++ b/java-shared-dependencies/dependency-convergence-check/pom.xml @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.4.0 + 2.13.0 pom import diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index d80908eeb224..2380e4abbf7b 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 1.4.0 + 2.13.0 pom import From 68a82f4027c8b67e4b5fb78af79d90fa1ad5006f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 14 Jul 2022 20:54:04 +0200 Subject: [PATCH 2394/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.2 (#749) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 06dac1c62def..0f174cc51b2f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.9.2 2.8.1 1.8.1 - 1.42.1 + 1.42.2 1.34.1 2.0.0 1.5.2 From 93f70e9d251466b35165687d37f3178fcb436277 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 20:28:16 +0200 Subject: [PATCH 2395/3036] deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.2 (#386) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-jackson2](https://togithub.com/googleapis/google-http-java-client) | `1.42.1` -> `1.42.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/compatibility-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.2/confidence-slim/1.42.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.2`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1422-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1421v1422-2022-07-13) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.1...v1.42.2) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/google-http-java-client/issues/1485)) ([#​1684](https://togithub.com/googleapis/google-http-java-client/issues/1684)) ([9d789f5](https://togithub.com/googleapis/google-http-java-client/commit/9d789f511b907c3970ed9845a4c092fe5458755d))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index a43094fc1e7a..726f728dcafe 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -36,7 +36,7 @@ com.google.http-client google-http-client-jackson2 - 1.42.1 + 1.42.2 com.google.apis From 68a803e93afc0f92c4ef0f7674c301cebe9cbda0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 20:28:24 +0200 Subject: [PATCH 2396/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-1.32.1 (#383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220619-1.32.1` -> `v3-rev20220710-1.32.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/compatibility-slim/v3-rev20220619-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-1.32.1/confidence-slim/v3-rev20220619-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 726f728dcafe..a7200a09be5f 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220619-1.32.1 + v3-rev20220710-1.32.1 com.google.auth From 5e491e77301d1416b65dbf777ecf668b2cc3af56 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 15 Jul 2022 20:30:11 +0200 Subject: [PATCH 2397/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 (#385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.8.0` -> `1.8.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/compatibility-slim/1.8.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.8.1/confidence-slim/1.8.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.8.1`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​181-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev180v181-2022-07-13) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.8.0...v1.8.1) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/google-auth-library-java/issues/1485)) ([#​943](https://togithub.com/googleapis/google-auth-library-java/issues/943)) ([c21ec6c](https://togithub.com/googleapis/google-auth-library-java/commit/c21ec6c952b8bb8fb8bc2e2f1b260beb330a3cd2))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index a7200a09be5f..0113a96895da 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.8.0 + 1.8.1 com.google.http-client From 618b00c6e8488a796158871666ce803e99f10048 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Jul 2022 17:44:12 +0200 Subject: [PATCH 2398/3036] deps: update dependency com.google.cloud:grpc-gcp to v1.2.1 (#751) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:grpc-gcp](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java) | `1.1.0` -> `1.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.2.1/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.2.1/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    GoogleCloudPlatform/grpc-gcp-java ### [`v1.2.1`](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/releases/tag/v1.2.1) [Compare Source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/compare/v1.2.0...v1.2.1) ##### Dependencies - protobuf 3.12.0 -> 3.20.1 ### [`v1.2.0`](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/releases/tag/v1.2.0) [Compare Source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/compare/v1.1.0...v1.2.0) ##### Features - multi-endpoint ([#​135](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/135)). - round-robin for bind calls ([#​127](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/127)). - minSize of the channel pool ([#​134](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/134)). - detailed logs ([#​133](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/133)). - log metrics ([#​131](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/131)). - map a key to current channel when bound call arrives but no mapping for the key exists ([#​132](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/132)). - consolidate channel pool config in the GcpChannelPoolOptions ([#​109](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/109)).
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 0f174cc51b2f..01e27af151de 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -57,7 +57,7 @@ ${project.artifactId} 1.47.0 2.18.4 - 1.1.0 + 1.2.1 31.1-jre 3.21.2 2.2.1 From 24aa025fb2209b2dc523de9ba3d6b17f2378783e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Jul 2022 17:49:21 +0200 Subject: [PATCH 2399/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.0 (#387) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 10cd9ed5258a..3c39175f93b8 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -122,7 +122,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.3.0 + 3.4.0 From ca4c25c0b94864ce5bfa57d13b8be65f231598aa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 18 Jul 2022 17:52:06 +0200 Subject: [PATCH 2400/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.0 (#872) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index bb99e80344ea..7290cf48ec3b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -329,7 +329,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.3.0 + 3.4.0 From 9678d52520ba6126bf30918d9593d87544d452b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Jul 2022 16:04:10 +0200 Subject: [PATCH 2401/3036] deps: update dependency io.grpc:grpc-bom to v1.48.0 (#752) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.47.0` -> `1.48.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/compatibility-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/confidence-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.0`](https://togithub.com/grpc/grpc-java/compare/v1.47.0...v1.48.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.47.0...v1.48.0)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 01e27af151de..711ae297b59b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.47.0 + 1.48.0 2.18.4 1.2.1 31.1-jre From 56584162f93e5d2bdfc79e2c7251e6d0e69241c6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Jul 2022 16:04:14 +0200 Subject: [PATCH 2402/3036] deps: update dependency io.grpc:grpc-protobuf to v1.48.0 (#388) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.47.0` -> `1.48.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.0/compatibility-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.0/confidence-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.0`](https://togithub.com/grpc/grpc-java/compare/v1.47.0...v1.48.0)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 1c00d1b2f6f3..0ad6e12b7720 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.47.0' - compile 'io.grpc:grpc-protobuf:1.47.0' + compile 'io.grpc:grpc-protobuf:1.48.0' compile project(':proto-google-iam-v1') } From 8bfee6348572a6f28a06352a536bac5d8e4b3120 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Jul 2022 16:04:14 +0200 Subject: [PATCH 2403/3036] deps: update dependency io.grpc:grpc-bom to v1.48.0 (#873) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.47.0` -> `1.48.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/compatibility-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.0/confidence-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.0`](https://togithub.com/grpc/grpc-java/compare/v1.47.0...v1.48.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.47.0...v1.48.0)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7290cf48ec3b..9200b832e69b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.8.1 2.0.0 1.42.2 - 1.47.0 + 1.48.0 3.21.2 0.31.1 1.3.2 From 366fb2f37afea537976a46e520002e0dc2abe42d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 20 Jul 2022 16:10:21 +0200 Subject: [PATCH 2404/3036] deps: update dependency io.grpc:grpc-stub to v1.48.0 (#389) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.47.0` -> `1.48.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.0/compatibility-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.0/confidence-slim/1.47.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.0`](https://togithub.com/grpc/grpc-java/compare/v1.47.0...v1.48.0)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 0ad6e12b7720..bf08e692642d 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.47.0' + compile 'io.grpc:grpc-stub:1.48.0' compile 'io.grpc:grpc-protobuf:1.48.0' compile project(':proto-google-iam-v1') } From 5678b4a4eef43bcaff45aa6b4d94fa8ad29f042f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Jul 2022 17:40:14 +0200 Subject: [PATCH 2405/3036] deps: update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-1.32.1 (#390) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-iam](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v2beta-rev20220526-1.32.1` -> `v2beta-rev20220713-1.32.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/compatibility-slim/v2beta-rev20220526-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-1.32.1/confidence-slim/v2beta-rev20220526-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 0113a96895da..082543157f47 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.apis google-api-services-iam - v2beta-rev20220526-1.32.1 + v2beta-rev20220713-1.32.1 com.google.apis From 712b0b53b1c907841d9afc7c4ee4dd63927578d7 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 21 Jul 2022 12:10:53 -0400 Subject: [PATCH 2406/3036] chore: update versions.txt to correct version (#753) --- java-shared-dependencies/versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index eac7515a5507..6b0f9663184d 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:1.0.0:1.0.0 \ No newline at end of file +google-cloud-shared-dependencies:2.13.0:2.13.1-SNAPSHOT From 7f4f401b2e05b233e0da6a5d1722c2d77e21873a Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 21 Jul 2022 12:48:22 -0400 Subject: [PATCH 2407/3036] chore(main): release 2.13.1-SNAPSHOT (#754) --- java-shared-dependencies/CHANGELOG.md | 358 ------------------ .../dependency-convergence-check/pom.xml | 2 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 2 +- 6 files changed, 5 insertions(+), 363 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 594e39ff80b0..be5f587872dd 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,363 +1,5 @@ # Changelog -## [2.0.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.14.0...v2.0.0) (2022-07-13) - - -### ⚠ BREAKING CHANGES - -* promote to 2.0.0 (#428) - -### Features - -* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#365](https://github.com/googleapis/java-shared-dependencies/issues/365)) ([7e8309b](https://github.com/googleapis/java-shared-dependencies/commit/7e8309bf67ade0fe2b09f792848136cd88b4d2e4)) -* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://github.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://github.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0)) -* add commons-codec to dependencyManagement ([#251](https://github.com/googleapis/java-shared-dependencies/issues/251)) ([4ee990d](https://github.com/googleapis/java-shared-dependencies/commit/4ee990d79c9207c81155f6ee9279308a2d4d0f9d)) -* add grpc-gcp to dependencyManagement ([#389](https://github.com/googleapis/java-shared-dependencies/issues/389)) ([57fd2e6](https://github.com/googleapis/java-shared-dependencies/commit/57fd2e646e28e37e0b5e4e1b37425d4897a8776f)) -* add jackson-core to the list of managed dependencies ([#190](https://github.com/googleapis/java-shared-dependencies/issues/190)) ([b37035e](https://github.com/googleapis/java-shared-dependencies/commit/b37035ed9b0beeb5e07d6e1c121154eece1a2c87)) -* next release from main branch is 2.11.0 ([#674](https://github.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://github.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5)) -* next release from main branch is 2.5.0 ([#510](https://github.com/googleapis/java-shared-dependencies/issues/510)) ([ca9eb8a](https://github.com/googleapis/java-shared-dependencies/commit/ca9eb8a40ae81d69de0d82d9499ef21b0136ae49)) -* promote to 1.0.0 ([#341](https://github.com/googleapis/java-shared-dependencies/issues/341)) ([eddce7b](https://github.com/googleapis/java-shared-dependencies/commit/eddce7bda196d757c0bb93a05574cc742e3d7ff6)) -* promote to 2.0.0 ([#428](https://github.com/googleapis/java-shared-dependencies/issues/428)) ([4db31f2](https://github.com/googleapis/java-shared-dependencies/commit/4db31f29f1668d4743e8af8996b0c4b30e6831b3)) - - -### Bug Fixes - -* Add `shopt -s nullglob` to dependencies script ([#392](https://github.com/googleapis/java-shared-dependencies/issues/392)) ([f8f29df](https://github.com/googleapis/java-shared-dependencies/commit/f8f29df1c9cc6eca517c99113fb9509fd611ac92)) -* Add common httpclient and oauth dependencies ([#391](https://github.com/googleapis/java-shared-dependencies/issues/391)) ([09660e1](https://github.com/googleapis/java-shared-dependencies/commit/09660e1e50c96dcd7df4e80d8ad357f8256eda6c)) -* dependencies.sh to work with Java 17 ([#516](https://github.com/googleapis/java-shared-dependencies/issues/516)) ([8422c1d](https://github.com/googleapis/java-shared-dependencies/commit/8422c1d7e9ef479f348e63c530789050b5235426)) -* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-shared-dependencies/issues/1485)) ([#738](https://github.com/googleapis/java-shared-dependencies/issues/738)) ([11bc8f8](https://github.com/googleapis/java-shared-dependencies/commit/11bc8f81f28be88a97fdeafca21724e33638770c)) -* **java:** add -ntp flag to native image testing command ([#1299](https://github.com/googleapis/java-shared-dependencies/issues/1299)) ([#546](https://github.com/googleapis/java-shared-dependencies/issues/546)) ([d8bb8d9](https://github.com/googleapis/java-shared-dependencies/commit/d8bb8d9d8e3b8c582f768cd3164e8580ec334511)) -* **java:** run Maven in plain console-friendly mode ([#1301](https://github.com/googleapis/java-shared-dependencies/issues/1301)) ([#557](https://github.com/googleapis/java-shared-dependencies/issues/557)) ([6b57d08](https://github.com/googleapis/java-shared-dependencies/commit/6b57d08816ec6c1dfb637cae022624e896930ad8)) -* release scripts from issuing overlapping phases ([#332](https://github.com/googleapis/java-shared-dependencies/issues/332)) ([e289825](https://github.com/googleapis/java-shared-dependencies/commit/e289825a3bc45b4796db7ce4347f8d9d9251a410)) -* Update dependencies.sh to not break on mac ([#384](https://github.com/googleapis/java-shared-dependencies/issues/384)) ([0ae2841](https://github.com/googleapis/java-shared-dependencies/commit/0ae2841d7ce2885d041795c58a38d2d3973c2e5a)) -* update repo name ([#274](https://github.com/googleapis/java-shared-dependencies/issues/274)) ([4a98470](https://github.com/googleapis/java-shared-dependencies/commit/4a98470b7493c98137191b7bb3cabca23f98628f)) - - -### Documentation - -* we don't use this as a parent pom ([#407](https://github.com/googleapis/java-shared-dependencies/issues/407)) ([4c86aaf](https://github.com/googleapis/java-shared-dependencies/commit/4c86aafc05097b6702056f5cb37736127b6df306)) - - -### Dependencies - -* downgrade opencensus version back to 0.28.0 ([#265](https://github.com/googleapis/java-shared-dependencies/issues/265)) ([f37025c](https://github.com/googleapis/java-shared-dependencies/commit/f37025c70f951b1e34904ee983815c0ed8ec4086)) -* downgrade protobuf to 3.17.3 (not the latest 3.18.0) ([#476](https://github.com/googleapis/java-shared-dependencies/issues/476)) ([e207c81](https://github.com/googleapis/java-shared-dependencies/commit/e207c818f220967e3618d7a9d36f2cf26c07892e)) -* google-cloud-core 2.6.0 ([#668](https://github.com/googleapis/java-shared-dependencies/issues/668)) ([22f4d18](https://github.com/googleapis/java-shared-dependencies/commit/22f4d1809cbb9848174b3569ab527e4bef00d443)) -* gRPC upgrade to 1.43.2 ([#567](https://github.com/googleapis/java-shared-dependencies/issues/567)) ([c946655](https://github.com/googleapis/java-shared-dependencies/commit/c94665571f26d24fbbb3f89ef5a3db99663bfdba)) -* guava 31.1 ([#635](https://github.com/googleapis/java-shared-dependencies/issues/635)) ([0939b06](https://github.com/googleapis/java-shared-dependencies/commit/0939b063a79cd4ffafb49cf04861ce577e35efd6)) -* reverting protobuf to 3.19.4 ([#657](https://github.com/googleapis/java-shared-dependencies/issues/657)) ([8501e6d](https://github.com/googleapis/java-shared-dependencies/commit/8501e6d842c10d2370bbd5d5246070134336bddd)) -* rollback gRPC to 1.33.1 ([#234](https://github.com/googleapis/java-shared-dependencies/issues/234)) ([67cc384](https://github.com/googleapis/java-shared-dependencies/commit/67cc384bacab8592d5bbc92db2469affee473eb7)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.12.0 ([#225](https://github.com/googleapis/java-shared-dependencies/issues/225)) ([b78a1ef](https://github.com/googleapis/java-shared-dependencies/commit/b78a1ef83ad946b0d29cd0dff46e48fbde44d120)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.12.1 ([#245](https://github.com/googleapis/java-shared-dependencies/issues/245)) ([5ffc8a0](https://github.com/googleapis/java-shared-dependencies/commit/5ffc8a0d173ea0222ac9610ece0ac2aeb1d17f27)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#301](https://github.com/googleapis/java-shared-dependencies/issues/301)) ([7c01eba](https://github.com/googleapis/java-shared-dependencies/commit/7c01ebabb6fd65b7404e56651b0ba27f505bb033)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.12.3 ([#329](https://github.com/googleapis/java-shared-dependencies/issues/329)) ([a77b4fc](https://github.com/googleapis/java-shared-dependencies/commit/a77b4fcc2ea5caf366c76a4698bac6d4c9abc92e)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.12.4 ([#398](https://github.com/googleapis/java-shared-dependencies/issues/398)) ([f0d49b5](https://github.com/googleapis/java-shared-dependencies/commit/f0d49b54ba334f9351c66c9924e3d0d2ed7c0016)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 ([#456](https://github.com/googleapis/java-shared-dependencies/issues/456)) ([05b58e8](https://github.com/googleapis/java-shared-dependencies/commit/05b58e84ff6617bdcbb1ea644aa6e061bdea0319)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.13.0 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.13.1 ([#555](https://github.com/googleapis/java-shared-dependencies/issues/555)) ([67b5663](https://github.com/googleapis/java-shared-dependencies/commit/67b56635509215fd132b2ffbcaed995a6de93879)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2 ([#626](https://github.com/googleapis/java-shared-dependencies/issues/626)) ([6014663](https://github.com/googleapis/java-shared-dependencies/commit/601466339c9631faa88033d1ff1e31582fb67b7b)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220324 ([#636](https://github.com/googleapis/java-shared-dependencies/issues/636)) ([6c833fa](https://github.com/googleapis/java-shared-dependencies/commit/6c833faa7815147013999bfc2bb6935fd8fe6b34)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.13.2.20220328 ([#646](https://github.com/googleapis/java-shared-dependencies/issues/646)) ([7bfd6d7](https://github.com/googleapis/java-shared-dependencies/commit/7bfd6d7073859d1955b91b368c6713a72ffa14b6)) -* update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://github.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://github.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61)) -* update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#169](https://github.com/googleapis/java-shared-dependencies/issues/169)) ([a1b18d1](https://github.com/googleapis/java-shared-dependencies/commit/a1b18d1838c2ceca882615d574ab5d0245794820)) -* update dependency com.google.api-client:google-api-client-bom to v1.31.1 ([#215](https://github.com/googleapis/java-shared-dependencies/issues/215)) ([08d643a](https://github.com/googleapis/java-shared-dependencies/commit/08d643aaf289984b87d734274830712af82585b6)) -* update dependency com.google.api-client:google-api-client-bom to v1.31.2 ([#254](https://github.com/googleapis/java-shared-dependencies/issues/254)) ([1b0b4a6](https://github.com/googleapis/java-shared-dependencies/commit/1b0b4a637cae0c22cd0336c527002025780317d5)) -* update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#295](https://github.com/googleapis/java-shared-dependencies/issues/295)) ([a0774e9](https://github.com/googleapis/java-shared-dependencies/commit/a0774e9d62d00614142bc4c14214a83dda66d4ad)) -* update dependency com.google.api-client:google-api-client-bom to v1.31.4 ([#326](https://github.com/googleapis/java-shared-dependencies/issues/326)) ([409d24f](https://github.com/googleapis/java-shared-dependencies/commit/409d24f8a0cac30e41ca45eb2711aecb335d70dd)) -* update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#353](https://github.com/googleapis/java-shared-dependencies/issues/353)) ([8d72ab0](https://github.com/googleapis/java-shared-dependencies/commit/8d72ab003e08c864aedc17fc190ba26f393bf0c7)) -* update dependency com.google.api-client:google-api-client-bom to v1.32.1 ([#390](https://github.com/googleapis/java-shared-dependencies/issues/390)) ([00288c1](https://github.com/googleapis/java-shared-dependencies/commit/00288c18d09616582c8bec961ecc5c00ef1d4288)) -* update dependency com.google.api-client:google-api-client-bom to v1.32.2 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) -* update dependency com.google.api-client:google-api-client-bom to v1.33.0 ([#563](https://github.com/googleapis/java-shared-dependencies/issues/563)) ([0aedddb](https://github.com/googleapis/java-shared-dependencies/commit/0aedddb9a535753767d56f5910f355c7a1c8509c)) -* update dependency com.google.api-client:google-api-client-bom to v1.33.1 ([#580](https://github.com/googleapis/java-shared-dependencies/issues/580)) ([895dba2](https://github.com/googleapis/java-shared-dependencies/commit/895dba2afef6c295b0e21a4ccd27feee1b6af8e2)) -* update dependency com.google.api-client:google-api-client-bom to v1.33.2 ([#602](https://github.com/googleapis/java-shared-dependencies/issues/602)) ([85b132f](https://github.com/googleapis/java-shared-dependencies/commit/85b132f5830772646025b6a9fbbb970a941b86b5)) -* update dependency com.google.api-client:google-api-client-bom to v1.33.4 ([#642](https://github.com/googleapis/java-shared-dependencies/issues/642)) ([57bd912](https://github.com/googleapis/java-shared-dependencies/commit/57bd9124ce8981b7b3b5d0c87b7c1e5f935b7150)) -* update dependency com.google.api-client:google-api-client-bom to v1.34.0 ([#662](https://github.com/googleapis/java-shared-dependencies/issues/662)) ([1b8e378](https://github.com/googleapis/java-shared-dependencies/commit/1b8e378fe0ccf2a28c759868caaf5ba593a95728)) -* update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://github.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://github.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5)) -* update dependency com.google.api-client:google-api-client-bom to v1.35.0 ([#709](https://github.com/googleapis/java-shared-dependencies/issues/709)) ([239f8c3](https://github.com/googleapis/java-shared-dependencies/commit/239f8c33a11e233e6af79aee8c7e68cd156a0554)) -* update dependency com.google.api-client:google-api-client-bom to v1.35.1 ([#713](https://github.com/googleapis/java-shared-dependencies/issues/713)) ([6559b45](https://github.com/googleapis/java-shared-dependencies/commit/6559b45b027dba783a9525d35e32183d78773cbe)) -* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://github.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) -* update dependency com.google.api:api-common to v1.10.1 ([#180](https://github.com/googleapis/java-shared-dependencies/issues/180)) ([b1f2d5d](https://github.com/googleapis/java-shared-dependencies/commit/b1f2d5dfde24fcf683eeb5600fce7f51190ecce8)) -* update dependency com.google.api:api-common to v1.10.3 ([#340](https://github.com/googleapis/java-shared-dependencies/issues/340)) ([6a7fc33](https://github.com/googleapis/java-shared-dependencies/commit/6a7fc33548c199d5f310b3ee5024907882d22726)) -* update dependency com.google.api:api-common to v1.10.4 ([#385](https://github.com/googleapis/java-shared-dependencies/issues/385)) ([5f2b39b](https://github.com/googleapis/java-shared-dependencies/commit/5f2b39b5bdc4cec9d5ab2f050e11000ed372d057)) -* update dependency com.google.api:api-common to v1.10.6 ([#411](https://github.com/googleapis/java-shared-dependencies/issues/411)) ([79801b5](https://github.com/googleapis/java-shared-dependencies/commit/79801b5fee08a8c97e275ed3674ab6c83b204a90)) -* update dependency com.google.api:api-common to v2 ([#414](https://github.com/googleapis/java-shared-dependencies/issues/414)) ([17f6e68](https://github.com/googleapis/java-shared-dependencies/commit/17f6e68a2792843dd41d3877c095e97c052c5ac0)) -* update dependency com.google.api:api-common to v2.0.1 ([#431](https://github.com/googleapis/java-shared-dependencies/issues/431)) ([b1a52c8](https://github.com/googleapis/java-shared-dependencies/commit/b1a52c83e19be7be80086f2010e928171b046f62)) -* update dependency com.google.api:api-common to v2.0.2 ([#450](https://github.com/googleapis/java-shared-dependencies/issues/450)) ([51caebe](https://github.com/googleapis/java-shared-dependencies/commit/51caebe89bfade98866f63952bf82bc663a0179a)) -* update dependency com.google.api:api-common to v2.0.5 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) -* update dependency com.google.api:api-common to v2.1.0 ([#508](https://github.com/googleapis/java-shared-dependencies/issues/508)) ([ae32d16](https://github.com/googleapis/java-shared-dependencies/commit/ae32d1689c78fc1469206c8c0df0ebaca59edd2c)) -* update dependency com.google.api:api-common to v2.1.1 ([#533](https://github.com/googleapis/java-shared-dependencies/issues/533)) ([4e23adb](https://github.com/googleapis/java-shared-dependencies/commit/4e23adb666dfaa18ae8bf869aca030153de16d62)) -* update dependency com.google.api:api-common to v2.1.2 ([2f154a3](https://github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) -* update dependency com.google.api:api-common to v2.1.3 ([#587](https://github.com/googleapis/java-shared-dependencies/issues/587)) ([5dbbce8](https://github.com/googleapis/java-shared-dependencies/commit/5dbbce80baa045818757912e6db4f222c12b75f6)) -* update dependency com.google.api:api-common to v2.1.4 ([#605](https://github.com/googleapis/java-shared-dependencies/issues/605)) ([ca7d49a](https://github.com/googleapis/java-shared-dependencies/commit/ca7d49aee26b6d90abd2afd61c20861d2307fe9c)) -* update dependency com.google.api:api-common to v2.1.5 ([#637](https://github.com/googleapis/java-shared-dependencies/issues/637)) ([d3a00fa](https://github.com/googleapis/java-shared-dependencies/commit/d3a00fa5ce9908000122d8365fb2f2d0e388494b)) -* update dependency com.google.api:api-common to v2.2.0 ([#690](https://github.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://github.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6)) -* update dependency com.google.api:api-common to v2.2.1 ([#710](https://github.com/googleapis/java-shared-dependencies/issues/710)) ([650d4c5](https://github.com/googleapis/java-shared-dependencies/commit/650d4c5f8c3cfce711257d47280ad773cd2e2414)) -* update dependency com.google.api:gax-grpc to v1.65.1 ([#382](https://github.com/googleapis/java-shared-dependencies/issues/382)) ([a2a1547](https://github.com/googleapis/java-shared-dependencies/commit/a2a15471dee21207a0b97b3bc8f6f59d6a4a2d13)) -* update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#292](https://github.com/googleapis/java-shared-dependencies/issues/292)) ([b629789](https://github.com/googleapis/java-shared-dependencies/commit/b629789e3a1cc9a7308b829c034b09b06e24fc07)) -* update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#171](https://github.com/googleapis/java-shared-dependencies/issues/171)) ([0c7635a](https://github.com/googleapis/java-shared-dependencies/commit/0c7635a82d922971ae6aac18dc2ee1879e017516)) -* update dependency com.google.auth:google-auth-library-bom to v0.22.1 ([#229](https://github.com/googleapis/java-shared-dependencies/issues/229)) ([1c13161](https://github.com/googleapis/java-shared-dependencies/commit/1c13161fa289cd5f3923f389fd5b14f3b7b4a84d)) -* update dependency com.google.auth:google-auth-library-bom to v0.22.2 ([#235](https://github.com/googleapis/java-shared-dependencies/issues/235)) ([67434eb](https://github.com/googleapis/java-shared-dependencies/commit/67434eb4bb0789abcabb3055155672b2c2e70125)) -* update dependency com.google.auth:google-auth-library-bom to v0.23.0 ([#261](https://github.com/googleapis/java-shared-dependencies/issues/261)) ([1c0b7bd](https://github.com/googleapis/java-shared-dependencies/commit/1c0b7bd60b3d73c16cc6c19ab90d8ccedece3706)) -* update dependency com.google.auth:google-auth-library-bom to v0.24.0 ([#284](https://github.com/googleapis/java-shared-dependencies/issues/284)) ([5e4914c](https://github.com/googleapis/java-shared-dependencies/commit/5e4914cc4a8ccd41a219f150a7455da116d1594b)) -* update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#293](https://github.com/googleapis/java-shared-dependencies/issues/293)) ([d85ec34](https://github.com/googleapis/java-shared-dependencies/commit/d85ec347ccdd14dfdab10d365d2c2f8df3035e4d)) -* update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#310](https://github.com/googleapis/java-shared-dependencies/issues/310)) ([8f3a0f0](https://github.com/googleapis/java-shared-dependencies/commit/8f3a0f002b787f7b27cfe031654fa20bf342f839)) -* update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#311](https://github.com/googleapis/java-shared-dependencies/issues/311)) ([6c47a3e](https://github.com/googleapis/java-shared-dependencies/commit/6c47a3edbd9da04ba255487a66c0f3a41393217d)) -* update dependency com.google.auth:google-auth-library-bom to v0.25.3 ([#328](https://github.com/googleapis/java-shared-dependencies/issues/328)) ([88cfc08](https://github.com/googleapis/java-shared-dependencies/commit/88cfc08952881200e23ed95cfa2eebad85ec7ab3)) -* update dependency com.google.auth:google-auth-library-bom to v0.25.4 ([#334](https://github.com/googleapis/java-shared-dependencies/issues/334)) ([e5c747d](https://github.com/googleapis/java-shared-dependencies/commit/e5c747d245194effc258ae706e7764153010cd53)) -* update dependency com.google.auth:google-auth-library-bom to v0.25.5 ([#338](https://github.com/googleapis/java-shared-dependencies/issues/338)) ([ffa1df5](https://github.com/googleapis/java-shared-dependencies/commit/ffa1df5497b5365f520b665a202b8caf6521fc9d)) -* update dependency com.google.auth:google-auth-library-bom to v0.26.0 ([#368](https://github.com/googleapis/java-shared-dependencies/issues/368)) ([38256a8](https://github.com/googleapis/java-shared-dependencies/commit/38256a82cb6896c3f5e5ea6ca5d8d671c412bf84)) -* update dependency com.google.auth:google-auth-library-bom to v0.27.0 ([#400](https://github.com/googleapis/java-shared-dependencies/issues/400)) ([0d5a95b](https://github.com/googleapis/java-shared-dependencies/commit/0d5a95b84076684f84b0fdbb93a706113f44457d)) -* update dependency com.google.auth:google-auth-library-bom to v1 ([#413](https://github.com/googleapis/java-shared-dependencies/issues/413)) ([94897d3](https://github.com/googleapis/java-shared-dependencies/commit/94897d30bb1cac0059e272b058f6221fb7e4733f)) -* update dependency com.google.auth:google-auth-library-bom to v1.1.0 ([#439](https://github.com/googleapis/java-shared-dependencies/issues/439)) ([ca52bd9](https://github.com/googleapis/java-shared-dependencies/commit/ca52bd9c099c96bf7b5a57aa85d39b58a610c875)) -* update dependency com.google.auth:google-auth-library-bom to v1.2.1 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) -* update dependency com.google.auth:google-auth-library-bom to v1.2.2 ([#506](https://github.com/googleapis/java-shared-dependencies/issues/506)) ([b9a8209](https://github.com/googleapis/java-shared-dependencies/commit/b9a82098655f29e858bd0c7a9b1049a379e5062a)) -* update dependency com.google.auth:google-auth-library-bom to v1.3.0 ([#524](https://github.com/googleapis/java-shared-dependencies/issues/524)) ([fc07879](https://github.com/googleapis/java-shared-dependencies/commit/fc07879fa6531e39b21977fe77abc19354a1fd33)) -* update dependency com.google.auth:google-auth-library-bom to v1.4.0 ([#578](https://github.com/googleapis/java-shared-dependencies/issues/578)) ([c274c62](https://github.com/googleapis/java-shared-dependencies/commit/c274c62905192bcc48c82104bf50cbeaa1894c2b)) -* update dependency com.google.auth:google-auth-library-bom to v1.5.3 ([#614](https://github.com/googleapis/java-shared-dependencies/issues/614)) ([e6413f3](https://github.com/googleapis/java-shared-dependencies/commit/e6413f3b1be78473ace7085c344eda2d78cdf01a)) -* update dependency com.google.auth:google-auth-library-bom to v1.6.0 ([#631](https://github.com/googleapis/java-shared-dependencies/issues/631)) ([53dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/53dc7c2fe255a6c7ca059dd414449bf96780f936)) -* update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://github.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://github.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb)) -* update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://github.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) -* update dependency com.google.cloud:google-cloud-core to v1.94.1 ([#272](https://github.com/googleapis/java-shared-dependencies/issues/272)) ([44fd4c3](https://github.com/googleapis/java-shared-dependencies/commit/44fd4c3c6cae98bd514525f03462b830050828a8)) -* update dependency com.google.cloud:google-cloud-core to v2.5.6 ([#621](https://github.com/googleapis/java-shared-dependencies/issues/621)) ([3d5669f](https://github.com/googleapis/java-shared-dependencies/commit/3d5669f215689dd2df71200ffe37d5a9d385cda8)) -* update dependency com.google.cloud:google-cloud-core-bom to v1.95.0 ([#377](https://github.com/googleapis/java-shared-dependencies/issues/377)) ([297ea62](https://github.com/googleapis/java-shared-dependencies/commit/297ea621e02f8c0679c8b07ed399d11eaacecc14)) -* update dependency com.google.cloud:google-cloud-core-bom to v2.1.0 ([#444](https://github.com/googleapis/java-shared-dependencies/issues/444)) ([ff914c6](https://github.com/googleapis/java-shared-dependencies/commit/ff914c6de9e3e7fa6ba75591d3d5077c5421827d)) -* update dependency com.google.cloud:google-cloud-core-bom to v2.5.11 ([#644](https://github.com/googleapis/java-shared-dependencies/issues/644)) ([4331dcc](https://github.com/googleapis/java-shared-dependencies/commit/4331dcc331e8377fcc57e5404321611186ca22cb)) -* update dependency com.google.cloud:grpc-gcp to v1.1.0 ([#403](https://github.com/googleapis/java-shared-dependencies/issues/403)) ([3cc59f1](https://github.com/googleapis/java-shared-dependencies/commit/3cc59f15ebb31a7f97c9f3d78057022afabe75e9)) -* update dependency com.google.code.gson:gson to v2.8.7 ([#370](https://github.com/googleapis/java-shared-dependencies/issues/370)) ([cdc1b8e](https://github.com/googleapis/java-shared-dependencies/commit/cdc1b8ea1c93f97b712081ca8dc8ea57f342b69e)) -* update dependency com.google.code.gson:gson to v2.8.8 ([#442](https://github.com/googleapis/java-shared-dependencies/issues/442)) ([79a093f](https://github.com/googleapis/java-shared-dependencies/commit/79a093f9ccea4d47cf8b678570a1c9699029a8b2)) -* update dependency com.google.code.gson:gson to v2.8.9 ([#509](https://github.com/googleapis/java-shared-dependencies/issues/509)) ([bece99b](https://github.com/googleapis/java-shared-dependencies/commit/bece99bb3e0365e60e7376ba18d046ab6436a235)) -* update dependency com.google.code.gson:gson to v2.9.0 ([#611](https://github.com/googleapis/java-shared-dependencies/issues/611)) ([f59c28d](https://github.com/googleapis/java-shared-dependencies/commit/f59c28d8cd30ada1237f7722135ba148dce6315e)) -* update dependency com.google.errorprone:error_prone_annotations to v2.10.0 ([#512](https://github.com/googleapis/java-shared-dependencies/issues/512)) ([c281f13](https://github.com/googleapis/java-shared-dependencies/commit/c281f137525e2111e97349657be578ed1fc832f2)) -* update dependency com.google.errorprone:error_prone_annotations to v2.11.0 ([#582](https://github.com/googleapis/java-shared-dependencies/issues/582)) ([314da38](https://github.com/googleapis/java-shared-dependencies/commit/314da38c9f12cf425b5d1be8297e9f2a78d13948)) -* update dependency com.google.errorprone:error_prone_annotations to v2.12.1 ([#652](https://github.com/googleapis/java-shared-dependencies/issues/652)) ([1cc80ee](https://github.com/googleapis/java-shared-dependencies/commit/1cc80ee984ebcad9bc2a95e2f28c0a49fe924b37)) -* update dependency com.google.errorprone:error_prone_annotations to v2.13.0 ([#669](https://github.com/googleapis/java-shared-dependencies/issues/669)) ([61b7834](https://github.com/googleapis/java-shared-dependencies/commit/61b78341b34a251722be4805a6bdd895cd64836c)) -* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://github.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://github.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b)) -* update dependency com.google.errorprone:error_prone_annotations to v2.14.0 ([#701](https://github.com/googleapis/java-shared-dependencies/issues/701)) ([d24730f](https://github.com/googleapis/java-shared-dependencies/commit/d24730f78669f80b109e590b903446e5552e3e36)) -* update dependency com.google.errorprone:error_prone_annotations to v2.5.0 ([#247](https://github.com/googleapis/java-shared-dependencies/issues/247)) ([37c0861](https://github.com/googleapis/java-shared-dependencies/commit/37c0861cfb89f13a0682c98067c633b13b30b827)) -* update dependency com.google.errorprone:error_prone_annotations to v2.5.1 ([#255](https://github.com/googleapis/java-shared-dependencies/issues/255)) ([6367023](https://github.com/googleapis/java-shared-dependencies/commit/63670233424e8f24c3924bba5e2cb6ca97525795)) -* update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#315](https://github.com/googleapis/java-shared-dependencies/issues/315)) ([dc254ca](https://github.com/googleapis/java-shared-dependencies/commit/dc254ca7359b68fe9411f7b96130ffb416b45c6f)) -* update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#360](https://github.com/googleapis/java-shared-dependencies/issues/360)) ([8f952d0](https://github.com/googleapis/java-shared-dependencies/commit/8f952d05745358fc426a1a2dcb688da5d5010239)) -* update dependency com.google.errorprone:error_prone_annotations to v2.8.0 ([#406](https://github.com/googleapis/java-shared-dependencies/issues/406)) ([2905787](https://github.com/googleapis/java-shared-dependencies/commit/29057879adeda8bc40a903ef3b5feafc83c3d972)) -* update dependency com.google.errorprone:error_prone_annotations to v2.8.1 ([#426](https://github.com/googleapis/java-shared-dependencies/issues/426)) ([853b68b](https://github.com/googleapis/java-shared-dependencies/commit/853b68b16c88c3abb745ee1f71ba4bb317cbc680)) -* update dependency com.google.errorprone:error_prone_annotations to v2.9.0 ([#441](https://github.com/googleapis/java-shared-dependencies/issues/441)) ([e644a4b](https://github.com/googleapis/java-shared-dependencies/commit/e644a4b504ab8aa5771f9be36861d1730ea9bcc9)) -* update dependency com.google.guava:guava-bom to v30 ([#181](https://github.com/googleapis/java-shared-dependencies/issues/181)) ([bdb1e58](https://github.com/googleapis/java-shared-dependencies/commit/bdb1e582288d06a872e36ac8b778563f2d088468)) -* update dependency com.google.guava:guava-bom to v30.1-android ([#236](https://github.com/googleapis/java-shared-dependencies/issues/236)) ([78ebf7f](https://github.com/googleapis/java-shared-dependencies/commit/78ebf7fcec3ec0308ccd5103b719f02dde7ec6d8)) -* update dependency com.google.guava:guava-bom to v31 ([#498](https://github.com/googleapis/java-shared-dependencies/issues/498)) ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) -* update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#166](https://github.com/googleapis/java-shared-dependencies/issues/166)) ([5721225](https://github.com/googleapis/java-shared-dependencies/commit/572122574ce8452b6a0fc6df919e9ce2d8ffd2ce)) -* update dependency com.google.http-client:google-http-client-bom to v1.38.0 ([#207](https://github.com/googleapis/java-shared-dependencies/issues/207)) ([5e3198d](https://github.com/googleapis/java-shared-dependencies/commit/5e3198de5e1d0fe55c4d947b12984db7726059da)) -* update dependency com.google.http-client:google-http-client-bom to v1.38.1 ([#253](https://github.com/googleapis/java-shared-dependencies/issues/253)) ([ad87c74](https://github.com/googleapis/java-shared-dependencies/commit/ad87c74d9d893726042156d65850806d92e79952)) -* update dependency com.google.http-client:google-http-client-bom to v1.39.0 ([#288](https://github.com/googleapis/java-shared-dependencies/issues/288)) ([70bb862](https://github.com/googleapis/java-shared-dependencies/commit/70bb862029b840fbd99ba0109fa2b8f585812793)) -* update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#309](https://github.com/googleapis/java-shared-dependencies/issues/309)) ([37225e2](https://github.com/googleapis/java-shared-dependencies/commit/37225e2d1b32a618765391720b57ff29e7b8f7f9)) -* update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#321](https://github.com/googleapis/java-shared-dependencies/issues/321)) ([273c66d](https://github.com/googleapis/java-shared-dependencies/commit/273c66d374f7cd6040aac2f302fd1c1dc0f4a1c0)) -* update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#455](https://github.com/googleapis/java-shared-dependencies/issues/455)) ([82a5e42](https://github.com/googleapis/java-shared-dependencies/commit/82a5e42b06570a2c7c9d53b03161b110a44487a1)) -* update dependency com.google.http-client:google-http-client-bom to v1.40.1 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) -* update dependency com.google.http-client:google-http-client-bom to v1.41.0 ([#562](https://github.com/googleapis/java-shared-dependencies/issues/562)) ([6da0735](https://github.com/googleapis/java-shared-dependencies/commit/6da0735d4db9df998d11c549488a024b800bed65)) -* update dependency com.google.http-client:google-http-client-bom to v1.41.2 ([#579](https://github.com/googleapis/java-shared-dependencies/issues/579)) ([c8df06d](https://github.com/googleapis/java-shared-dependencies/commit/c8df06ddb3f4a975e928bbdd9dfae293e81efa39)) -* update dependency com.google.http-client:google-http-client-bom to v1.41.4 ([#608](https://github.com/googleapis/java-shared-dependencies/issues/608)) ([f9a4f23](https://github.com/googleapis/java-shared-dependencies/commit/f9a4f23d3a32148ac59e53eaae6558ccbceca12c)) -* update dependency com.google.http-client:google-http-client-bom to v1.41.5 ([#638](https://github.com/googleapis/java-shared-dependencies/issues/638)) ([e007d23](https://github.com/googleapis/java-shared-dependencies/commit/e007d2381bd388a1c199fc3f31d0b965f8ae592d)) -* update dependency com.google.http-client:google-http-client-bom to v1.41.6 ([#654](https://github.com/googleapis/java-shared-dependencies/issues/654)) ([140ef40](https://github.com/googleapis/java-shared-dependencies/commit/140ef405bc17ed83f5ce177df59affca14fbe49c)) -* update dependency com.google.http-client:google-http-client-bom to v1.41.7 ([#658](https://github.com/googleapis/java-shared-dependencies/issues/658)) ([f6f93e5](https://github.com/googleapis/java-shared-dependencies/commit/f6f93e5b9172c9684623c4c148e4a8fe2fae1e94)) -* update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://github.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://github.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e)) -* update dependency com.google.http-client:google-http-client-bom to v1.42.0 ([#711](https://github.com/googleapis/java-shared-dependencies/issues/711)) ([5168a18](https://github.com/googleapis/java-shared-dependencies/commit/5168a181722128d434a0d0d2ab5cc485686bbc78)) -* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://github.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) -* update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 ([#447](https://github.com/googleapis/java-shared-dependencies/issues/447)) ([9d2b895](https://github.com/googleapis/java-shared-dependencies/commit/9d2b8958f62daa6a3015a8ac052762fb3d79b35b)) -* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.0 ([#576](https://github.com/googleapis/java-shared-dependencies/issues/576)) ([3315988](https://github.com/googleapis/java-shared-dependencies/commit/3315988059ca0223f078b0f760960674bfa8c04a)) -* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.1 ([#606](https://github.com/googleapis/java-shared-dependencies/issues/606)) ([3882494](https://github.com/googleapis/java-shared-dependencies/commit/3882494770d48fcc02ed19088aa06612a8e440eb)) -* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.2 ([#655](https://github.com/googleapis/java-shared-dependencies/issues/655)) ([20cd9ed](https://github.com/googleapis/java-shared-dependencies/commit/20cd9eda112c96836a5ab7485a4247ed2bc0edb8)) -* update dependency com.google.oauth-client:google-oauth-client-bom to v1.33.3 ([#663](https://github.com/googleapis/java-shared-dependencies/issues/663)) ([f011a46](https://github.com/googleapis/java-shared-dependencies/commit/f011a46c551dba16851b4f8c919c40452fc5d5c3)) -* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.0 ([#708](https://github.com/googleapis/java-shared-dependencies/issues/708)) ([620336e](https://github.com/googleapis/java-shared-dependencies/commit/620336e6733e2017116e5e8a7b403b183a728bc1)) -* update dependency com.google.oauth-client:google-oauth-client-bom to v1.34.1 ([#712](https://github.com/googleapis/java-shared-dependencies/issues/712)) ([a2c18a5](https://github.com/googleapis/java-shared-dependencies/commit/a2c18a5bc4152cc9034cec691a29f54a35c38a51)) -* update dependency com.google.protobuf:protobuf-bom to v3.14.0 ([#217](https://github.com/googleapis/java-shared-dependencies/issues/217)) ([01a9c64](https://github.com/googleapis/java-shared-dependencies/commit/01a9c6442906e8482a53712eba95ccc6f7040928)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.0 ([#278](https://github.com/googleapis/java-shared-dependencies/issues/278)) ([989efbd](https://github.com/googleapis/java-shared-dependencies/commit/989efbd29bcf4135f7abce49a697303df2cf1a60)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.1 ([#282](https://github.com/googleapis/java-shared-dependencies/issues/282)) ([44283bd](https://github.com/googleapis/java-shared-dependencies/commit/44283bdfdc9288b4a8d16b6ed3a61541792d147e)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.2 ([#287](https://github.com/googleapis/java-shared-dependencies/issues/287)) ([bdae560](https://github.com/googleapis/java-shared-dependencies/commit/bdae5600f9033219ef8beb6c4d1c521fb062eaec)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#294](https://github.com/googleapis/java-shared-dependencies/issues/294)) ([58c01aa](https://github.com/googleapis/java-shared-dependencies/commit/58c01aa076e2c4954986185f913bac2c51a1e6fb)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#302](https://github.com/googleapis/java-shared-dependencies/issues/302)) ([e9d5e6e](https://github.com/googleapis/java-shared-dependencies/commit/e9d5e6ee6039915da186315ceada673ac37b88d3)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#308](https://github.com/googleapis/java-shared-dependencies/issues/308)) ([b29dd05](https://github.com/googleapis/java-shared-dependencies/commit/b29dd0535f02b56607f64ba69e85d4d468902789)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#316](https://github.com/googleapis/java-shared-dependencies/issues/316)) ([9c00d77](https://github.com/googleapis/java-shared-dependencies/commit/9c00d7753c1f7b963deb9ad69dcfe24ba28da5a2)) -* update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#319](https://github.com/googleapis/java-shared-dependencies/issues/319)) ([15e5ae2](https://github.com/googleapis/java-shared-dependencies/commit/15e5ae2ef46eedcd790ffd8644677d36db5c63f9)) -* update dependency com.google.protobuf:protobuf-bom to v3.16.0 ([#348](https://github.com/googleapis/java-shared-dependencies/issues/348)) ([0aacfde](https://github.com/googleapis/java-shared-dependencies/commit/0aacfdeec70e30803734db8287c47e4fad5481ef)) -* update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#355](https://github.com/googleapis/java-shared-dependencies/issues/355)) ([09858fb](https://github.com/googleapis/java-shared-dependencies/commit/09858fb4f1b78a77e828501597d20df4db0ebfcf)) -* update dependency com.google.protobuf:protobuf-bom to v3.17.1 ([#369](https://github.com/googleapis/java-shared-dependencies/issues/369)) ([5a19574](https://github.com/googleapis/java-shared-dependencies/commit/5a19574bc626bb3c6b573ed1d177e8907188dec1)) -* update dependency com.google.protobuf:protobuf-bom to v3.17.2 ([#374](https://github.com/googleapis/java-shared-dependencies/issues/374)) ([83516e6](https://github.com/googleapis/java-shared-dependencies/commit/83516e691b99e5e5d22d27e561781a5ade5fb514)) -* update dependency com.google.protobuf:protobuf-bom to v3.17.3 ([#379](https://github.com/googleapis/java-shared-dependencies/issues/379)) ([6f43eb5](https://github.com/googleapis/java-shared-dependencies/commit/6f43eb553dca98140d343bee3f1003096d79ee6c)) -* update dependency com.google.protobuf:protobuf-bom to v3.18.0 ([#471](https://github.com/googleapis/java-shared-dependencies/issues/471)) ([55902a6](https://github.com/googleapis/java-shared-dependencies/commit/55902a69b01fe895aec24ceb1e1e1a13873527b5)) -* update dependency com.google.protobuf:protobuf-bom to v3.18.1 ([#494](https://github.com/googleapis/java-shared-dependencies/issues/494)) ([a30e376](https://github.com/googleapis/java-shared-dependencies/commit/a30e3762b5fb0e2d31304d211c12eb2c1320f0c1)) -* update dependency com.google.protobuf:protobuf-bom to v3.19.1 ([#505](https://github.com/googleapis/java-shared-dependencies/issues/505)) ([94cde96](https://github.com/googleapis/java-shared-dependencies/commit/94cde96069900f9f8c2ff9a522671d03b26828bd)) -* update dependency com.google.protobuf:protobuf-bom to v3.19.3 ([#571](https://github.com/googleapis/java-shared-dependencies/issues/571)) ([c1931e1](https://github.com/googleapis/java-shared-dependencies/commit/c1931e1c4611ca3d1e2afac1c9e983cf1ec4a7de)) -* update dependency com.google.protobuf:protobuf-bom to v3.19.4 ([#593](https://github.com/googleapis/java-shared-dependencies/issues/593)) ([1e155bf](https://github.com/googleapis/java-shared-dependencies/commit/1e155bfc957bbb7e25d2e0994cdecaa81843bdc5)) -* update dependency com.google.protobuf:protobuf-bom to v3.20.0 ([#651](https://github.com/googleapis/java-shared-dependencies/issues/651)) ([ad2ff73](https://github.com/googleapis/java-shared-dependencies/commit/ad2ff73207dd6493321c77d8eca0022baf13b4ce)) -* update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://github.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://github.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84)) -* update dependency com.google.protobuf:protobuf-bom to v3.21.0 ([#703](https://github.com/googleapis/java-shared-dependencies/issues/703)) ([5f9fe12](https://github.com/googleapis/java-shared-dependencies/commit/5f9fe1200b4bdf4c54bf947c21bd3ed02f26f990)) -* update dependency com.google.protobuf:protobuf-bom to v3.21.1 ([#705](https://github.com/googleapis/java-shared-dependencies/issues/705)) ([c68edfb](https://github.com/googleapis/java-shared-dependencies/commit/c68edfbe7e1993e1112640b867b29aa2fbcf7579)) -* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://github.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) -* update dependency io.grpc:grpc-bom to v1.32.2 ([#165](https://github.com/googleapis/java-shared-dependencies/issues/165)) ([b70ddb0](https://github.com/googleapis/java-shared-dependencies/commit/b70ddb00a3be97536cdd80bd57fe6bca1b0973e2)) -* update dependency io.grpc:grpc-bom to v1.33.1 ([#192](https://github.com/googleapis/java-shared-dependencies/issues/192)) ([b29384d](https://github.com/googleapis/java-shared-dependencies/commit/b29384dc40c812f1848f00695228d5437556f029)) -* update dependency io.grpc:grpc-bom to v1.34.0 ([#228](https://github.com/googleapis/java-shared-dependencies/issues/228)) ([425d1ea](https://github.com/googleapis/java-shared-dependencies/commit/425d1eab2a046c365f816f946576e4030e7c3696)) -* update dependency io.grpc:grpc-bom to v1.34.1 ([#238](https://github.com/googleapis/java-shared-dependencies/issues/238)) ([ee7e020](https://github.com/googleapis/java-shared-dependencies/commit/ee7e020a4631f2b288d1c6f5d681423d156e3c2d)) -* update dependency io.grpc:grpc-bom to v1.35.0 ([#248](https://github.com/googleapis/java-shared-dependencies/issues/248)) ([7a28c6e](https://github.com/googleapis/java-shared-dependencies/commit/7a28c6e7053c181993b1288adcae56de89312113)) -* update dependency io.grpc:grpc-bom to v1.36.0 ([#285](https://github.com/googleapis/java-shared-dependencies/issues/285)) ([c59771b](https://github.com/googleapis/java-shared-dependencies/commit/c59771b2436ac1a4fbc92b48049900472dd6d3ff)) -* update dependency io.grpc:grpc-bom to v1.37.0 ([#313](https://github.com/googleapis/java-shared-dependencies/issues/313)) ([c599351](https://github.com/googleapis/java-shared-dependencies/commit/c5993511c7305e1ced42d73552a93a25dc5e1ac1)) -* update dependency io.grpc:grpc-bom to v1.37.1 ([#359](https://github.com/googleapis/java-shared-dependencies/issues/359)) ([bc9869e](https://github.com/googleapis/java-shared-dependencies/commit/bc9869e914314f951afd69f2acae95c414398f43)) -* update dependency io.grpc:grpc-bom to v1.38.0 ([#364](https://github.com/googleapis/java-shared-dependencies/issues/364)) ([00db570](https://github.com/googleapis/java-shared-dependencies/commit/00db5701c3b0aa609f3778c06911a9a0248ca342)) -* update dependency io.grpc:grpc-bom to v1.38.1 ([#386](https://github.com/googleapis/java-shared-dependencies/issues/386)) ([7b1d4cf](https://github.com/googleapis/java-shared-dependencies/commit/7b1d4cf317fbd75b91d6a63f82b5fc2f46eaf3ca)) -* update dependency io.grpc:grpc-bom to v1.39.0 ([#394](https://github.com/googleapis/java-shared-dependencies/issues/394)) ([ebc8af6](https://github.com/googleapis/java-shared-dependencies/commit/ebc8af6b3f850b58b35d9720a7a0b1545d4616bd)) -* update dependency io.grpc:grpc-bom to v1.40.0 ([#438](https://github.com/googleapis/java-shared-dependencies/issues/438)) ([c3f8fb4](https://github.com/googleapis/java-shared-dependencies/commit/c3f8fb4408f5dc6c7f7dc0e14f0c24fa755433a5)) -* update dependency io.grpc:grpc-bom to v1.40.1 ([#451](https://github.com/googleapis/java-shared-dependencies/issues/451)) ([df668ea](https://github.com/googleapis/java-shared-dependencies/commit/df668ead8830a40acf9d5605d47f93c465b779c0)) -* update dependency io.grpc:grpc-bom to v1.41.0 ([#482](https://github.com/googleapis/java-shared-dependencies/issues/482)) ([8a7d227](https://github.com/googleapis/java-shared-dependencies/commit/8a7d227f2a1dab9ff23d247a4e6131c817804c36)) -* update dependency io.grpc:grpc-bom to v1.42.1 ([#513](https://github.com/googleapis/java-shared-dependencies/issues/513)) ([0d2b774](https://github.com/googleapis/java-shared-dependencies/commit/0d2b774287a132821cc6fe2789140086bc48d525)) -* update dependency io.grpc:grpc-bom to v1.43.1 ([#553](https://github.com/googleapis/java-shared-dependencies/issues/553)) ([b787c8f](https://github.com/googleapis/java-shared-dependencies/commit/b787c8f2032b7ffc9797158c3ff214b7813f34b7)) -* update dependency io.grpc:grpc-bom to v1.44.0 ([#586](https://github.com/googleapis/java-shared-dependencies/issues/586)) ([52c47b7](https://github.com/googleapis/java-shared-dependencies/commit/52c47b7425af438ba1a82dac87f9002353a6a87a)) -* update dependency io.grpc:grpc-bom to v1.44.1 ([#613](https://github.com/googleapis/java-shared-dependencies/issues/613)) ([3038a2c](https://github.com/googleapis/java-shared-dependencies/commit/3038a2c86cd20c91b65f2d7926eeb739147a68db)) -* update dependency io.grpc:grpc-bom to v1.45.0 ([#630](https://github.com/googleapis/java-shared-dependencies/issues/630)) ([20334e3](https://github.com/googleapis/java-shared-dependencies/commit/20334e30d256897cd7ef52c646e5c4549cd7ae69)) -* update dependency io.grpc:grpc-bom to v1.45.1 ([#647](https://github.com/googleapis/java-shared-dependencies/issues/647)) ([38e46fc](https://github.com/googleapis/java-shared-dependencies/commit/38e46fc4f03af0a02f30ce4a2fa222c71797ae15)) -* update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://github.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://github.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be)) -* update dependency io.grpc:grpc-bom to v1.47.0 ([#707](https://github.com/googleapis/java-shared-dependencies/issues/707)) ([d02918a](https://github.com/googleapis/java-shared-dependencies/commit/d02918a0418cd65d1d247f27afb0637f1f8f5666)) -* update dependency junit:junit to v4.13.2 ([#607](https://github.com/googleapis/java-shared-dependencies/issues/607)) ([987e617](https://github.com/googleapis/java-shared-dependencies/commit/987e61796c7a093e005fe8832cf39275c391b2c1)) -* update dependency org.apache.httpcomponents:httpcore to v4.4.15 ([#550](https://github.com/googleapis/java-shared-dependencies/issues/550)) ([e2d3dba](https://github.com/googleapis/java-shared-dependencies/commit/e2d3dbad6dd54c117abb5ab1b6137cfee4e5a32b)) -* update dependency org.checkerframework:checker-qual to v3.19.0 ([#501](https://github.com/googleapis/java-shared-dependencies/issues/501)) ([2b3e0b5](https://github.com/googleapis/java-shared-dependencies/commit/2b3e0b5ddc3a645b20a837f3123394f1ca114f08)) -* update dependency org.checkerframework:checker-qual to v3.20.0 ([#549](https://github.com/googleapis/java-shared-dependencies/issues/549)) ([586df59](https://github.com/googleapis/java-shared-dependencies/commit/586df5949d4ddca11d0705d696882c32d8436c31)) -* update dependency org.checkerframework:checker-qual to v3.21.1 ([#554](https://github.com/googleapis/java-shared-dependencies/issues/554)) ([81bbb91](https://github.com/googleapis/java-shared-dependencies/commit/81bbb91774ab67161371bfd0dfd143de89dee4c9)) -* update dependency org.checkerframework:checker-qual to v3.21.3 ([#596](https://github.com/googleapis/java-shared-dependencies/issues/596)) ([ac5083c](https://github.com/googleapis/java-shared-dependencies/commit/ac5083cd010924dc128f041c2cdbab20166a6bf0)) -* update dependency org.checkerframework:checker-qual to v3.21.4 ([#650](https://github.com/googleapis/java-shared-dependencies/issues/650)) ([125e80a](https://github.com/googleapis/java-shared-dependencies/commit/125e80ab2c3225a00c03f5ff5de94872ebb94303)) -* update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://github.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://github.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e)) -* update dependency org.checkerframework:checker-qual to v3.22.1 ([#706](https://github.com/googleapis/java-shared-dependencies/issues/706)) ([545843b](https://github.com/googleapis/java-shared-dependencies/commit/545843b492cead230b8cc72a1dae7d4922f33b39)) -* update dependency org.checkerframework:checker-qual to v3.22.2 ([#717](https://github.com/googleapis/java-shared-dependencies/issues/717)) ([142852a](https://github.com/googleapis/java-shared-dependencies/commit/142852a37140f221197f5c71aed451def353b1e0)) -* update dependency org.checkerframework:checker-qual to v3.23.0 ([#736](https://github.com/googleapis/java-shared-dependencies/issues/736)) ([fc01d8f](https://github.com/googleapis/java-shared-dependencies/commit/fc01d8f93f391f12fdb800d5006f0b4505832eeb)) -* update dependency org.threeten:threetenbp to v1.5.0 ([#196](https://github.com/googleapis/java-shared-dependencies/issues/196)) ([825a6fa](https://github.com/googleapis/java-shared-dependencies/commit/825a6fa375d12f1caa0a515b784ffde182bac98d)) -* update dependency org.threeten:threetenbp to v1.5.1 ([#335](https://github.com/googleapis/java-shared-dependencies/issues/335)) ([c8c6df4](https://github.com/googleapis/java-shared-dependencies/commit/c8c6df48e7f80944544939e502f4f08543af2631)) -* update dependency org.threeten:threetenbp to v1.5.2 ([#514](https://github.com/googleapis/java-shared-dependencies/issues/514)) ([4885f40](https://github.com/googleapis/java-shared-dependencies/commit/4885f402e2c70435cd10d4f1b893df9873808c56)) -* update dependency org.threeten:threetenbp to v1.6.0 ([#633](https://github.com/googleapis/java-shared-dependencies/issues/633)) ([1a2716d](https://github.com/googleapis/java-shared-dependencies/commit/1a2716d22e442c5cd6adea9449756b9ac3ddbf8e)) -* update gax.version to v1.60.0 ([#187](https://github.com/googleapis/java-shared-dependencies/issues/187)) ([8a8adf7](https://github.com/googleapis/java-shared-dependencies/commit/8a8adf7745d563c449bf095aad63b5e4a94e1a7d)) -* update gax.version to v1.60.1 ([#223](https://github.com/googleapis/java-shared-dependencies/issues/223)) ([84c75bd](https://github.com/googleapis/java-shared-dependencies/commit/84c75bdbd3f86ef7187373289ee08ad3a0c24719)) -* update gax.version to v1.61.0 ([#277](https://github.com/googleapis/java-shared-dependencies/issues/277)) ([f1c3fb9](https://github.com/googleapis/java-shared-dependencies/commit/f1c3fb9295f2e1c130b9fc329faa60f4f8474ba6)) -* update gax.version to v1.62.0 ([#291](https://github.com/googleapis/java-shared-dependencies/issues/291)) ([66bd070](https://github.com/googleapis/java-shared-dependencies/commit/66bd0702bd3deb64e0f6c73635e0ffd51a4d637e)) -* update gax.version to v1.63.0 ([#318](https://github.com/googleapis/java-shared-dependencies/issues/318)) ([ba709da](https://github.com/googleapis/java-shared-dependencies/commit/ba709da6fb0e9bcfc83e663588336598737b46e4)) -* update gax.version to v1.64.0 ([#345](https://github.com/googleapis/java-shared-dependencies/issues/345)) ([478bd35](https://github.com/googleapis/java-shared-dependencies/commit/478bd35296293e81c7e70157f50bfbebdc1bb54d)) -* update gax.version to v1.65.0 ([#376](https://github.com/googleapis/java-shared-dependencies/issues/376)) ([b793a0d](https://github.com/googleapis/java-shared-dependencies/commit/b793a0d7744ff1b0f8ae5d3d13ec4776ae8d3089)) -* update gax.version to v1.66.0 ([#395](https://github.com/googleapis/java-shared-dependencies/issues/395)) ([c73f73e](https://github.com/googleapis/java-shared-dependencies/commit/c73f73e84740a8117be342a66e179eaf3e29c6fd)) -* update gax.version to v1.67.0 ([#405](https://github.com/googleapis/java-shared-dependencies/issues/405)) ([632dcd0](https://github.com/googleapis/java-shared-dependencies/commit/632dcd0a9f10b034a2a2ec92c7c3413490dd2a03)) -* update gax.version to v2 (major) ([#418](https://github.com/googleapis/java-shared-dependencies/issues/418)) ([670a9e0](https://github.com/googleapis/java-shared-dependencies/commit/670a9e0a9588a7e592eb5dd8c0cb9ab08e07293e)) -* update gax.version to v2.1.0 ([#432](https://github.com/googleapis/java-shared-dependencies/issues/432)) ([7f53006](https://github.com/googleapis/java-shared-dependencies/commit/7f53006d021e839f52325a87d7c4715eff88818d)) -* update gax.version to v2.11.0 ([#581](https://github.com/googleapis/java-shared-dependencies/issues/581)) ([1899612](https://github.com/googleapis/java-shared-dependencies/commit/189961226f84cdd4e283780d2c7d4a4dffc3e00c)) -* update gax.version to v2.12.2 ([#592](https://github.com/googleapis/java-shared-dependencies/issues/592)) ([713ff8d](https://github.com/googleapis/java-shared-dependencies/commit/713ff8dd94f939c417524616bc47c771a3fbe0cf)) -* update gax.version to v2.13.0 ([#641](https://github.com/googleapis/java-shared-dependencies/issues/641)) ([b863746](https://github.com/googleapis/java-shared-dependencies/commit/b863746727fadd45c35198f58eb862f47fe14945)) -* update gax.version to v2.15.0 ([#649](https://github.com/googleapis/java-shared-dependencies/issues/649)) ([c7f32a6](https://github.com/googleapis/java-shared-dependencies/commit/c7f32a68b14520104432282ac9598643700162eb)) -* update gax.version to v2.16.0 ([#664](https://github.com/googleapis/java-shared-dependencies/issues/664)) ([caaf941](https://github.com/googleapis/java-shared-dependencies/commit/caaf941643af04295f5527a0144587d7bf040862)) -* update gax.version to v2.17.0 ([#687](https://github.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://github.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621)) -* update gax.version to v2.18.0 ([#692](https://github.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://github.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810)) -* update gax.version to v2.18.1 ([#695](https://github.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://github.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e)) -* update gax.version to v2.18.2 ([#718](https://github.com/googleapis/java-shared-dependencies/issues/718)) ([5f8156e](https://github.com/googleapis/java-shared-dependencies/commit/5f8156e55c6a07b018a8c5efafa68be781b4288b)) -* update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://github.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) -* update gax.version to v2.18.4 ([#735](https://github.com/googleapis/java-shared-dependencies/issues/735)) ([11c7415](https://github.com/googleapis/java-shared-dependencies/commit/11c74152a84697924de3a0e838b05f606c3098f7)) -* update gax.version to v2.3.0 ([#437](https://github.com/googleapis/java-shared-dependencies/issues/437)) ([e59aaad](https://github.com/googleapis/java-shared-dependencies/commit/e59aaadd76e40ab5ea31c3e812686a4ba0471a49)) -* update gax.version to v2.4.0 ([#458](https://github.com/googleapis/java-shared-dependencies/issues/458)) ([a797d9e](https://github.com/googleapis/java-shared-dependencies/commit/a797d9eb8a4bcb3025a9511eae61271278a4a5c9)) -* update gax.version to v2.4.1 ([#464](https://github.com/googleapis/java-shared-dependencies/issues/464)) ([bc7c6d7](https://github.com/googleapis/java-shared-dependencies/commit/bc7c6d7ca161ebfa31895c375d65bca29d4c7336)) -* update gax.version to v2.5.0 ([#479](https://github.com/googleapis/java-shared-dependencies/issues/479)) ([e22e62a](https://github.com/googleapis/java-shared-dependencies/commit/e22e62a3b248023ae94da2a02ec50006377a5157)) -* update gax.version to v2.6.1 ([dba11b5](https://github.com/googleapis/java-shared-dependencies/commit/dba11b5fe14d39cdd62357e7bb1b82831c481150)) -* update gax.version to v2.7.0 ([#515](https://github.com/googleapis/java-shared-dependencies/issues/515)) ([567e728](https://github.com/googleapis/java-shared-dependencies/commit/567e728b0e59233a04e2d04183e6a0c36cca2437)) -* update gax.version to v2.7.1 ([#544](https://github.com/googleapis/java-shared-dependencies/issues/544)) ([5a0c480](https://github.com/googleapis/java-shared-dependencies/commit/5a0c480671fa834e600edc6ac6fe77967d1b79b3)) -* update gax.version to v2.8.0 ([#564](https://github.com/googleapis/java-shared-dependencies/issues/564)) ([9ad5d4f](https://github.com/googleapis/java-shared-dependencies/commit/9ad5d4f5385753a0c5739ef400f5d346e3342b84)) -* update gax.version to v2.8.1 ([2f154a3](https://github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) -* update gax.version to v2.9.0 ([#573](https://github.com/googleapis/java-shared-dependencies/issues/573)) ([ee5e38e](https://github.com/googleapis/java-shared-dependencies/commit/ee5e38efea574eeb2b5803192da98ba1ce1c8e6e)) -* update google.common-protos.version to v2 ([#174](https://github.com/googleapis/java-shared-dependencies/issues/174)) ([3f7e3ff](https://github.com/googleapis/java-shared-dependencies/commit/3f7e3ffd5e07d2f11f0aa981dae2bdf5381e429f)) -* update google.common-protos.version to v2.0.1 ([#205](https://github.com/googleapis/java-shared-dependencies/issues/205)) ([6b12417](https://github.com/googleapis/java-shared-dependencies/commit/6b1241737d34e99a55acdcd439aa71ad28d1e26c)) -* update google.common-protos.version to v2.1.0 ([#289](https://github.com/googleapis/java-shared-dependencies/issues/289)) ([43c9f02](https://github.com/googleapis/java-shared-dependencies/commit/43c9f026b1fa82f38dcb93b902281c2559e82d8e)) -* update google.common-protos.version to v2.2.1 ([#358](https://github.com/googleapis/java-shared-dependencies/issues/358)) ([a3ed764](https://github.com/googleapis/java-shared-dependencies/commit/a3ed764a0e5143ee323d4b69c9747b8265d349e2)) -* update google.common-protos.version to v2.3.1 ([#366](https://github.com/googleapis/java-shared-dependencies/issues/366)) ([7d6a7fa](https://github.com/googleapis/java-shared-dependencies/commit/7d6a7fa7a2cad2b3f2ecf45e42d2ed5db0b60a43)) -* update google.common-protos.version to v2.3.2 ([#375](https://github.com/googleapis/java-shared-dependencies/issues/375)) ([68a47ad](https://github.com/googleapis/java-shared-dependencies/commit/68a47ad3243f3e980db74c9c8505a1b3063c131b)) -* update google.common-protos.version to v2.5.0 ([#457](https://github.com/googleapis/java-shared-dependencies/issues/457)) ([38c7bb9](https://github.com/googleapis/java-shared-dependencies/commit/38c7bb925414d90ff3065650d06589f79bcab9b6)) -* update google.common-protos.version to v2.7.0 ([#542](https://github.com/googleapis/java-shared-dependencies/issues/542)) ([af97eb5](https://github.com/googleapis/java-shared-dependencies/commit/af97eb5d9cff397080fdb3d4a6dbf7c2692e0358)) -* update google.common-protos.version to v2.7.1 ([#561](https://github.com/googleapis/java-shared-dependencies/issues/561)) ([9aa860d](https://github.com/googleapis/java-shared-dependencies/commit/9aa860d92f745f1d4382eb16439bf17ac6ca8ae9)) -* update google.common-protos.version to v2.7.2 ([#588](https://github.com/googleapis/java-shared-dependencies/issues/588)) ([caac0e6](https://github.com/googleapis/java-shared-dependencies/commit/caac0e68e336b801becb6322b5b81fce1824ad8a)) -* update google.common-protos.version to v2.7.4 ([#603](https://github.com/googleapis/java-shared-dependencies/issues/603)) ([bb9b4c7](https://github.com/googleapis/java-shared-dependencies/commit/bb9b4c7e39552cc73b3b9d4c826b26e8cb74459f)) -* update google.common-protos.version to v2.8.0 ([#639](https://github.com/googleapis/java-shared-dependencies/issues/639)) ([252afba](https://github.com/googleapis/java-shared-dependencies/commit/252afba1df8e4cfdf2574d127097b0978b7778c0)) -* update google.common-protos.version to v2.8.1 ([#656](https://github.com/googleapis/java-shared-dependencies/issues/656)) ([df4a4a2](https://github.com/googleapis/java-shared-dependencies/commit/df4a4a2130a3cdb2965ea42962d1ea6a85506ba7)) -* update google.common-protos.version to v2.8.2 ([#659](https://github.com/googleapis/java-shared-dependencies/issues/659)) ([b499e2b](https://github.com/googleapis/java-shared-dependencies/commit/b499e2bc99506d48d26e35bf6e68c09409ce8b11)) -* update google.common-protos.version to v2.8.3 ([#660](https://github.com/googleapis/java-shared-dependencies/issues/660)) ([461081c](https://github.com/googleapis/java-shared-dependencies/commit/461081c0cf73057c1f6e07fc573453ad467a60ae)) -* update google.common-protos.version to v2.9.0 ([#714](https://github.com/googleapis/java-shared-dependencies/issues/714)) ([9e5591e](https://github.com/googleapis/java-shared-dependencies/commit/9e5591ec3035350450ecbfebd00e08216433b06c)) -* update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://github.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) -* update google.core.version ([#599](https://github.com/googleapis/java-shared-dependencies/issues/599)) ([327d0df](https://github.com/googleapis/java-shared-dependencies/commit/327d0df9b57203c0d4f426de0380770d3d7910d6)) -* update google.core.version to v1.93.10 ([#200](https://github.com/googleapis/java-shared-dependencies/issues/200)) ([2d73dc1](https://github.com/googleapis/java-shared-dependencies/commit/2d73dc152469d175c74f85c5c76dcc67993c9783)) -* update google.core.version to v1.94.0 ([#212](https://github.com/googleapis/java-shared-dependencies/issues/212)) ([764ef5e](https://github.com/googleapis/java-shared-dependencies/commit/764ef5e9a2272cd9244a8fc5cc107ffacf9e9d5b)) -* update google.core.version to v1.94.2 ([#296](https://github.com/googleapis/java-shared-dependencies/issues/296)) ([af83b90](https://github.com/googleapis/java-shared-dependencies/commit/af83b901be0c03d507189999215d35345602fad7)) -* update google.core.version to v1.94.3 ([#300](https://github.com/googleapis/java-shared-dependencies/issues/300)) ([3e73176](https://github.com/googleapis/java-shared-dependencies/commit/3e73176af0b07dfe621163b301174b5b5820dfa2)) -* update google.core.version to v1.94.4 ([#305](https://github.com/googleapis/java-shared-dependencies/issues/305)) ([0d38f4c](https://github.com/googleapis/java-shared-dependencies/commit/0d38f4c9ffadcfd9446712b8bf0729399b0c9e91)) -* update google.core.version to v1.94.5 ([#320](https://github.com/googleapis/java-shared-dependencies/issues/320)) ([3439721](https://github.com/googleapis/java-shared-dependencies/commit/3439721da83a8b92d9c4b6ecfd158cfb1e1a0503)) -* update google.core.version to v1.94.7 ([#324](https://github.com/googleapis/java-shared-dependencies/issues/324)) ([0412c88](https://github.com/googleapis/java-shared-dependencies/commit/0412c88468940c1182bc0761bfe269a6688fe7b7)) -* update google.core.version to v1.94.8 ([#342](https://github.com/googleapis/java-shared-dependencies/issues/342)) ([d946dd2](https://github.com/googleapis/java-shared-dependencies/commit/d946dd2299aac32f969a2226a1391e1e73f00e62)) -* update google.core.version to v1.95.1 ([#381](https://github.com/googleapis/java-shared-dependencies/issues/381)) ([4496153](https://github.com/googleapis/java-shared-dependencies/commit/44961532f621b0ab19e9e7feebb7d588aef5d423)) -* update google.core.version to v1.95.2 ([#383](https://github.com/googleapis/java-shared-dependencies/issues/383)) ([7216859](https://github.com/googleapis/java-shared-dependencies/commit/7216859bcd67fa1ce1119831c33c50a2d5b79324)) -* update google.core.version to v1.95.3 ([#388](https://github.com/googleapis/java-shared-dependencies/issues/388)) ([354e4e8](https://github.com/googleapis/java-shared-dependencies/commit/354e4e811f4ba886406681a4261ac0455a9eb2d2)) -* update google.core.version to v1.95.4 ([#393](https://github.com/googleapis/java-shared-dependencies/issues/393)) ([be78ad8](https://github.com/googleapis/java-shared-dependencies/commit/be78ad85e31d8876eabafee7aa8242712573cb46)) -* update google.core.version to v1.96.1 ([#417](https://github.com/googleapis/java-shared-dependencies/issues/417)) ([49db9cb](https://github.com/googleapis/java-shared-dependencies/commit/49db9cb473c8d3d794ad57a41cfc223239482174)) -* update google.core.version to v2 (major) ([#427](https://github.com/googleapis/java-shared-dependencies/issues/427)) ([8cc7a92](https://github.com/googleapis/java-shared-dependencies/commit/8cc7a922cc3ba10a157e3649d7a783bbbcbee010)) -* update google.core.version to v2.0.4 ([#430](https://github.com/googleapis/java-shared-dependencies/issues/430)) ([d0465ad](https://github.com/googleapis/java-shared-dependencies/commit/d0465ad3a79993d4e854078ea992e53ab9add07f)) -* update google.core.version to v2.0.5 ([#434](https://github.com/googleapis/java-shared-dependencies/issues/434)) ([af00753](https://github.com/googleapis/java-shared-dependencies/commit/af0075390034cba5cefede8260ab03f728d525a8)) -* update google.core.version to v2.1.1 ([#449](https://github.com/googleapis/java-shared-dependencies/issues/449)) ([b28723a](https://github.com/googleapis/java-shared-dependencies/commit/b28723ace0c27ebc73f23a2d094e0fe9ba8a9075)) -* update google.core.version to v2.1.2 ([#459](https://github.com/googleapis/java-shared-dependencies/issues/459)) ([df4d5b7](https://github.com/googleapis/java-shared-dependencies/commit/df4d5b7717386f5e0e2cca87bd9afc56b2c7aee8)) -* update google.core.version to v2.1.3 ([#465](https://github.com/googleapis/java-shared-dependencies/issues/465)) ([848f608](https://github.com/googleapis/java-shared-dependencies/commit/848f608ae850bd2dd80ec56034eb0c9a18f0415b)) -* update google.core.version to v2.1.4 ([#473](https://github.com/googleapis/java-shared-dependencies/issues/473)) ([116f278](https://github.com/googleapis/java-shared-dependencies/commit/116f2783dfc18f215905ceaff9f85f331f83472b)) -* update google.core.version to v2.1.6 ([#478](https://github.com/googleapis/java-shared-dependencies/issues/478)) ([9e09728](https://github.com/googleapis/java-shared-dependencies/commit/9e0972834764b25e5e194e0e805efc5453120df3)) -* update google.core.version to v2.3.0 ([#530](https://github.com/googleapis/java-shared-dependencies/issues/530)) ([78e87e9](https://github.com/googleapis/java-shared-dependencies/commit/78e87e96befab34dc4a494e752aeb473cd14a156)) -* update google.core.version to v2.3.3 ([#534](https://github.com/googleapis/java-shared-dependencies/issues/534)) ([885acef](https://github.com/googleapis/java-shared-dependencies/commit/885acefe4ff5313eb53dc43b4825ca597b97dcfd)) -* update google.core.version to v2.3.5 ([#565](https://github.com/googleapis/java-shared-dependencies/issues/565)) ([2f154a3](https://github.com/googleapis/java-shared-dependencies/commit/2f154a3ff759211438c72859e98b314c7ff8405f)) -* update google.core.version to v2.4.0 ([#589](https://github.com/googleapis/java-shared-dependencies/issues/589)) ([6a292e3](https://github.com/googleapis/java-shared-dependencies/commit/6a292e3530a06d6b228f3154ed4e979ef68d7aeb)) -* update google.core.version to v2.5.10 ([#628](https://github.com/googleapis/java-shared-dependencies/issues/628)) ([fec6f51](https://github.com/googleapis/java-shared-dependencies/commit/fec6f5121384a04a389bad6f6477a9a5ce468016)) -* update google.core.version to v2.6.1 ([#671](https://github.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://github.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90)) -* update google.core.version to v2.7.0 ([#693](https://github.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://github.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c)) -* update google.core.version to v2.7.1 ([#698](https://github.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://github.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449)) -* update google.core.version to v2.8.0 ([#719](https://github.com/googleapis/java-shared-dependencies/issues/719)) ([4023c60](https://github.com/googleapis/java-shared-dependencies/commit/4023c6063a2c5b5308da531df1a08c90c491965d)) -* update google.core.version to v2.8.1 ([#725](https://github.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://github.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) -* update guava to 30.1.1-android ([#322](https://github.com/googleapis/java-shared-dependencies/issues/322)) ([a6b5d3b](https://github.com/googleapis/java-shared-dependencies/commit/a6b5d3b8ccfc352bf0d1678952ce3cd8b7a8361e)) -* update guava to 30.1.1-jre ([#423](https://github.com/googleapis/java-shared-dependencies/issues/423)) ([94aca59](https://github.com/googleapis/java-shared-dependencies/commit/94aca597804d7b45aae22811b277c44281e62d64)) -* update iam.version to v1.0.11 ([#304](https://github.com/googleapis/java-shared-dependencies/issues/304)) ([95a5264](https://github.com/googleapis/java-shared-dependencies/commit/95a526442b3d24c83782523d38dd3931e828d757)) -* update iam.version to v1.0.12 ([#327](https://github.com/googleapis/java-shared-dependencies/issues/327)) ([548d5f5](https://github.com/googleapis/java-shared-dependencies/commit/548d5f53c4f264f1cbb9ca72fdfe4608ab16b480)) -* update iam.version to v1.0.13 ([#343](https://github.com/googleapis/java-shared-dependencies/issues/343)) ([3637923](https://github.com/googleapis/java-shared-dependencies/commit/363792392b71deff5cc5731104b631122fba5e61)) -* update iam.version to v1.0.14 ([#352](https://github.com/googleapis/java-shared-dependencies/issues/352)) ([bea9a01](https://github.com/googleapis/java-shared-dependencies/commit/bea9a01788ac1332a4bc7e06574ef5701700fe90)) -* update iam.version to v1.0.2 ([#194](https://github.com/googleapis/java-shared-dependencies/issues/194)) ([5c57239](https://github.com/googleapis/java-shared-dependencies/commit/5c572399a1b453f4dc5f6ef8d8850a35be2aef75)) -* update iam.version to v1.0.3 ([#206](https://github.com/googleapis/java-shared-dependencies/issues/206)) ([94a4e31](https://github.com/googleapis/java-shared-dependencies/commit/94a4e31634718a206ef0f5ff1a8801dc7be4c5c5)) -* update iam.version to v1.0.4 ([#231](https://github.com/googleapis/java-shared-dependencies/issues/231)) ([5edf99e](https://github.com/googleapis/java-shared-dependencies/commit/5edf99e0149a1b70eb52b8921e9eb04fb84d9160)) -* update iam.version to v1.0.5 ([#237](https://github.com/googleapis/java-shared-dependencies/issues/237)) ([bbe6be6](https://github.com/googleapis/java-shared-dependencies/commit/bbe6be650a93cf365f2439ae9c8bebf2ade83ddd)) -* update iam.version to v1.0.7 ([#252](https://github.com/googleapis/java-shared-dependencies/issues/252)) ([5cb3ed9](https://github.com/googleapis/java-shared-dependencies/commit/5cb3ed906537269cd7f8d9ccf4b065754b5f5b48)) -* update iam.version to v1.0.8 ([#273](https://github.com/googleapis/java-shared-dependencies/issues/273)) ([4d5e7f7](https://github.com/googleapis/java-shared-dependencies/commit/4d5e7f720d847918b307a83c95cea10c244ba595)) -* update iam.version to v1.0.9 ([#281](https://github.com/googleapis/java-shared-dependencies/issues/281)) ([ee44d0b](https://github.com/googleapis/java-shared-dependencies/commit/ee44d0b41e101931ccf5de2561dfcfcc9ff88b88)) -* update iam.version to v1.1.0 ([#448](https://github.com/googleapis/java-shared-dependencies/issues/448)) ([3967928](https://github.com/googleapis/java-shared-dependencies/commit/39679287f3ef8c1cbca5dfc8aca3f69cfee3d4a6)) -* update iam.version to v1.1.1 ([#470](https://github.com/googleapis/java-shared-dependencies/issues/470)) ([3b6e960](https://github.com/googleapis/java-shared-dependencies/commit/3b6e96050af8d976a30165481d764d8226143a39)) -* update iam.version to v1.1.2 ([#472](https://github.com/googleapis/java-shared-dependencies/issues/472)) ([85329cc](https://github.com/googleapis/java-shared-dependencies/commit/85329cc6c13d16fe2eeeb076959ee16a752c1f9e)) -* update iam.version to v1.1.6 ([#485](https://github.com/googleapis/java-shared-dependencies/issues/485)) ([cef7e09](https://github.com/googleapis/java-shared-dependencies/commit/cef7e090bbc2e3ae775fa83505f98df286ba7d42)) -* update iam.version to v1.1.7 ([#504](https://github.com/googleapis/java-shared-dependencies/issues/504)) ([63dd583](https://github.com/googleapis/java-shared-dependencies/commit/63dd583c80f35b01a66fd1908d41467468c66436)) -* update iam.version to v1.2.0 ([#547](https://github.com/googleapis/java-shared-dependencies/issues/547)) ([3232c82](https://github.com/googleapis/java-shared-dependencies/commit/3232c828b628cb604a200b3e569e56e758e5e11d)) -* update iam.version to v1.2.1 ([#569](https://github.com/googleapis/java-shared-dependencies/issues/569)) ([62dd270](https://github.com/googleapis/java-shared-dependencies/commit/62dd2705b257c4bb539bfe619234f38d0e13b138)) -* update iam.version to v1.2.10 ([#625](https://github.com/googleapis/java-shared-dependencies/issues/625)) ([0d7ca29](https://github.com/googleapis/java-shared-dependencies/commit/0d7ca2924bd24abe14883c173156bb4dc5fb90bf)) -* update iam.version to v1.2.6 ([#598](https://github.com/googleapis/java-shared-dependencies/issues/598)) ([2801439](https://github.com/googleapis/java-shared-dependencies/commit/280143964c7c3b93a8d7f67215ba2cc74ffce761)) -* update iam.version to v1.3.0 ([#648](https://github.com/googleapis/java-shared-dependencies/issues/648)) ([6670c4f](https://github.com/googleapis/java-shared-dependencies/commit/6670c4f61fcf075c543bfd148eea49796e0662ce)) -* update iam.version to v1.3.1 ([#661](https://github.com/googleapis/java-shared-dependencies/issues/661)) ([cc8fbe6](https://github.com/googleapis/java-shared-dependencies/commit/cc8fbe6eae03341c2ece7d3356febc843a74a812)) -* update iam.version to v1.3.2 ([#673](https://github.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://github.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c)) -* update iam.version to v1.3.3 ([#679](https://github.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://github.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1)) -* update iam.version to v1.3.4 ([#686](https://github.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://github.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473)) -* update iam.version to v1.4.0 ([#700](https://github.com/googleapis/java-shared-dependencies/issues/700)) ([c1097a4](https://github.com/googleapis/java-shared-dependencies/commit/c1097a46ab0739b0b7234bc510e4c3d9ce2c2861)) -* update iam.version to v1.4.1 ([#716](https://github.com/googleapis/java-shared-dependencies/issues/716)) ([e2dc7c2](https://github.com/googleapis/java-shared-dependencies/commit/e2dc7c21c39e007878841e2664d548ec44a72d54)) -* update iam.version to v1.5.0 ([#732](https://github.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://github.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) -* update iam.version to v1.5.1 ([#737](https://github.com/googleapis/java-shared-dependencies/issues/737)) ([df39168](https://github.com/googleapis/java-shared-dependencies/commit/df391685d42fcb1b04f03ab1380a594893bdce37)) -* update opencensus.version to v0.30.0 ([#552](https://github.com/googleapis/java-shared-dependencies/issues/552)) ([ebae62e](https://github.com/googleapis/java-shared-dependencies/commit/ebae62eca75234db4fd571f42b8ed0f6ce1bd1f7)) -* update opencensus.version to v0.31.0 ([#585](https://github.com/googleapis/java-shared-dependencies/issues/585)) ([021b066](https://github.com/googleapis/java-shared-dependencies/commit/021b066a833af1629c89fcca593d16b9786ee0bf)) -* update opencensus.version to v0.31.1 ([#682](https://github.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://github.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3)) -* upgrading protobuf to 3.19.2 ([#560](https://github.com/googleapis/java-shared-dependencies/issues/560)) ([7ef3325](https://github.com/googleapis/java-shared-dependencies/commit/7ef33250f5473348d3546210b7a534360f476101)) - -## [2.14.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.13.0...v2.14.0) (2022-07-11) - - -### Dependencies - -* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://github.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) -* update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://github.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) -* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://github.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) -* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://github.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) -* update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://github.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) -* update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://github.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) -* update google.core.version to v2.8.1 ([#725](https://github.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://github.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) -* update iam.version to v1.5.0 ([#732](https://github.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://github.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) ## [2.13.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.12.0...v2.13.0) (2022-06-22) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index ed799afb131c..bf165611188b 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 - 1.0.0 + 2.13.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 711ae297b59b..af572078a4e4 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 - 1.0.0 + 2.13.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 15f126775347..69b14ab78565 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 - 1.0.0 + 2.13.1-SNAPSHOT first-party-dependencies third-party-dependencies diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 7b8f52b70395..6c2efea1b1b8 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 - 1.0.0 + 2.13.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 2380e4abbf7b..cda66a74dd53 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 - 1.0.0 + 2.13.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies From 7429507ef426ba321babde82ac01a540426b02c0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Jul 2022 16:08:21 +0200 Subject: [PATCH 2408/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.3 (#756) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.2` -> `3.21.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/compatibility-slim/3.21.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/confidence-slim/3.21.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.3`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.2...v3.21.3) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.2...v3.21.3)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index af572078a4e4..69b7d62a5838 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.18.4 1.2.1 31.1-jre - 3.21.2 + 3.21.3 2.2.1 2.9.2 2.8.1 From 21047f0242bb5fdf0f25e000409f54079a5c1e04 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Jul 2022 16:08:26 +0200 Subject: [PATCH 2409/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.3 (#391) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.2` -> `3.21.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.3/compatibility-slim/3.21.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.3/confidence-slim/3.21.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.3`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.2...v3.21.3)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index b4fb1e552611..6d57d7248b1c 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.2' + compile 'com.google.protobuf:protobuf-java:3.21.3' compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From efe8c28c7a7be6517bc1801fbfeb083521415252 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 22 Jul 2022 16:08:31 +0200 Subject: [PATCH 2410/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.3 (#874) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.2` -> `3.21.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/compatibility-slim/3.21.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.3/confidence-slim/3.21.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.3`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.2...v3.21.3) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.2...v3.21.3)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9200b832e69b..92709f461681 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.0 1.42.2 1.48.0 - 3.21.2 + 3.21.3 0.31.1 1.3.2 31.1-jre From f033db0b20abdb947682365cc202f9a934cb39ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jul 2022 21:20:33 +0200 Subject: [PATCH 2411/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.4 (#759) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.3` -> `3.21.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/compatibility-slim/3.21.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/confidence-slim/3.21.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.4`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.3...v3.21.4) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.3...v3.21.4)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 69b7d62a5838..840549131af8 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.18.4 1.2.1 31.1-jre - 3.21.3 + 3.21.4 2.2.1 2.9.2 2.8.1 From cbd847e0c0200ce30db99092cc10e9e05df82e28 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jul 2022 21:20:33 +0200 Subject: [PATCH 2412/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.2 (#875) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.1` -> `1.5.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/compatibility-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/confidence-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.2`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​152-httpsgithubcomgoogleapisjava-shared-configcomparev151v152-2022-07-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.1...v1.5.2) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v10 ([#​435](https://togithub.com/googleapis/java-shared-config/issues/435)) ([bfc8ce1](https://togithub.com/googleapis/java-shared-config/commit/bfc8ce1deca6292147d002d3afe22a09840aa5d6)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.13 ([#​488](https://togithub.com/googleapis/java-shared-config/issues/488)) ([39b91ee](https://togithub.com/googleapis/java-shared-config/commit/39b91ee1283f0a5fbbe63e8bfd1ec97ab4ab377e)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 ([#​489](https://togithub.com/googleapis/java-shared-config/issues/489)) ([cc3bcfa](https://togithub.com/googleapis/java-shared-config/commit/cc3bcfa2d6717441a8d5b5048fa78c2cf7aabf2b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 5546bc4fe0f4..195a1295ca31 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.2 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 92709f461681..a6c1bb83cf12 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.2 From 0adb693de0f6d6203368996e75f76660e9c05d38 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jul 2022 21:22:33 +0200 Subject: [PATCH 2413/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.2 (#757) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.1` -> `1.5.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/compatibility-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/confidence-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.2`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​152-httpsgithubcomgoogleapisjava-shared-configcomparev151v152-2022-07-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.1...v1.5.2) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v10 ([#​435](https://togithub.com/googleapis/java-shared-config/issues/435)) ([bfc8ce1](https://togithub.com/googleapis/java-shared-config/commit/bfc8ce1deca6292147d002d3afe22a09840aa5d6)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.13 ([#​488](https://togithub.com/googleapis/java-shared-config/issues/488)) ([39b91ee](https://togithub.com/googleapis/java-shared-config/commit/39b91ee1283f0a5fbbe63e8bfd1ec97ab4ab377e)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 ([#​489](https://togithub.com/googleapis/java-shared-config/issues/489)) ([cc3bcfa](https://togithub.com/googleapis/java-shared-config/commit/cc3bcfa2d6717441a8d5b5048fa78c2cf7aabf2b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 840549131af8..67f15ead4639 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.2 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 69b14ab78565..f79898e406bd 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.2 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 6c2efea1b1b8..75585d0a6093 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.2 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index cda66a74dd53..af760cf8ada4 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.2
    From e2c0c1344cac26a0010cb875316d0a90a8d7dd96 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jul 2022 21:24:22 +0200 Subject: [PATCH 2414/3036] deps: update dependency com.google.api:gax-bom to v2.18.5 (#876) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.18.4` -> `2.18.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/compatibility-slim/2.18.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/confidence-slim/2.18.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.18.5`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2185-httpsgithubcomgoogleapisgax-javacomparev2184v2185-2022-07-25) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.18.4...v2.18.5) ##### Bug Fixes - **deps:** update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#​1735](https://togithub.com/googleapis/gax-java/issues/1735)) ([d7f00be](https://togithub.com/googleapis/gax-java/commit/d7f00beae84c093a732982aaeedd7d6a8752e52c)) - **deps:** update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#​1736](https://togithub.com/googleapis/gax-java/issues/1736)) ([ee3d4ad](https://togithub.com/googleapis/gax-java/commit/ee3d4ad29a84da9113790dd03b8f0bbd89625a7c)) - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.8.1 ([#​1737](https://togithub.com/googleapis/gax-java/issues/1737)) ([24bc629](https://togithub.com/googleapis/gax-java/commit/24bc629aa1ffc0513ba766858935ead7ab18bf9e)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 ([#​1738](https://togithub.com/googleapis/gax-java/issues/1738)) ([1030eb6](https://togithub.com/googleapis/gax-java/commit/1030eb6b1df5008f304d0989fd991f88f148cc2a)) - **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.5.1 ([#​1726](https://togithub.com/googleapis/gax-java/issues/1726)) ([bdffb86](https://togithub.com/googleapis/gax-java/commit/bdffb86c05235c4ad783ab7afd28724386465569)) - **deps:** update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#​1727](https://togithub.com/googleapis/gax-java/issues/1727)) ([030e9b3](https://togithub.com/googleapis/gax-java/commit/030e9b33ec6bd98122fba59a1bc39513444c3511)) - **deps:** update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​1742](https://togithub.com/googleapis/gax-java/issues/1742)) ([9215e1f](https://togithub.com/googleapis/gax-java/commit/9215e1f58ebcc6eccef42c53981ab90865fe366a)) - **deps:** update dependency io.grpc:grpc-bom to v1.48.0 ([#​1741](https://togithub.com/googleapis/gax-java/issues/1741)) ([4735a4b](https://togithub.com/googleapis/gax-java/commit/4735a4b29b686ba510a25ad8458142870e50b1c5)) - remove initialization of logger classes which is conflicting with slf4j ([#​1733](https://togithub.com/googleapis/gax-java/issues/1733)) ([ccaf265](https://togithub.com/googleapis/gax-java/commit/ccaf26537a189dacb9b3bb58760a4c6f6cd48a87))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a6c1bb83cf12..1b9086f59e05 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.4 + 2.18.5 2.2.1 2.9.2 1.5.2 From 608e040d51800e894a7db88a90475a8da7f5fd1d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jul 2022 21:24:31 +0200 Subject: [PATCH 2415/3036] deps: update gax.version to v2.18.5 (#758) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.18.4` -> `2.18.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.5/compatibility-slim/2.18.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.18.5/confidence-slim/2.18.4)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.18.4` -> `2.18.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/compatibility-slim/2.18.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.18.5/confidence-slim/2.18.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.18.5`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2185-httpsgithubcomgoogleapisgax-javacomparev2184v2185-2022-07-25) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.18.4...v2.18.5) ##### Bug Fixes - **deps:** update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#​1735](https://togithub.com/googleapis/gax-java/issues/1735)) ([d7f00be](https://togithub.com/googleapis/gax-java/commit/d7f00beae84c093a732982aaeedd7d6a8752e52c)) - **deps:** update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#​1736](https://togithub.com/googleapis/gax-java/issues/1736)) ([ee3d4ad](https://togithub.com/googleapis/gax-java/commit/ee3d4ad29a84da9113790dd03b8f0bbd89625a7c)) - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.8.1 ([#​1737](https://togithub.com/googleapis/gax-java/issues/1737)) ([24bc629](https://togithub.com/googleapis/gax-java/commit/24bc629aa1ffc0513ba766858935ead7ab18bf9e)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 ([#​1738](https://togithub.com/googleapis/gax-java/issues/1738)) ([1030eb6](https://togithub.com/googleapis/gax-java/commit/1030eb6b1df5008f304d0989fd991f88f148cc2a)) - **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.5.1 ([#​1726](https://togithub.com/googleapis/gax-java/issues/1726)) ([bdffb86](https://togithub.com/googleapis/gax-java/commit/bdffb86c05235c4ad783ab7afd28724386465569)) - **deps:** update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#​1727](https://togithub.com/googleapis/gax-java/issues/1727)) ([030e9b3](https://togithub.com/googleapis/gax-java/commit/030e9b33ec6bd98122fba59a1bc39513444c3511)) - **deps:** update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​1742](https://togithub.com/googleapis/gax-java/issues/1742)) ([9215e1f](https://togithub.com/googleapis/gax-java/commit/9215e1f58ebcc6eccef42c53981ab90865fe366a)) - **deps:** update dependency io.grpc:grpc-bom to v1.48.0 ([#​1741](https://togithub.com/googleapis/gax-java/issues/1741)) ([4735a4b](https://togithub.com/googleapis/gax-java/commit/4735a4b29b686ba510a25ad8458142870e50b1c5)) - remove initialization of logger classes which is conflicting with slf4j ([#​1733](https://togithub.com/googleapis/gax-java/issues/1733)) ([ccaf265](https://togithub.com/googleapis/gax-java/commit/ccaf26537a189dacb9b3bb58760a4c6f6cd48a87))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 67f15ead4639..ff860c6d605d 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.48.0 - 2.18.4 + 2.18.5 1.2.1 31.1-jre 3.21.4 From 25bea6c203849886b2bffafe83941b72a81c5440 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jul 2022 21:26:22 +0200 Subject: [PATCH 2416/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.4 (#877) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.3` -> `3.21.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/compatibility-slim/3.21.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.4/confidence-slim/3.21.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.4`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.3...v3.21.4) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.3...v3.21.4)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1b9086f59e05..d65aad03d746 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.0 1.42.2 1.48.0 - 3.21.3 + 3.21.4 0.31.1 1.3.2 31.1-jre From 1c5dd8c3dacd68e5772355a6f127f8612c964d71 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 26 Jul 2022 21:28:16 +0200 Subject: [PATCH 2417/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.2 (#392) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.1` -> `1.5.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/compatibility-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.2/confidence-slim/1.5.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.2`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​152-httpsgithubcomgoogleapisjava-shared-configcomparev151v152-2022-07-25) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.1...v1.5.2) ##### Dependencies - update dependency com.puppycrawl.tools:checkstyle to v10 ([#​435](https://togithub.com/googleapis/java-shared-config/issues/435)) ([bfc8ce1](https://togithub.com/googleapis/java-shared-config/commit/bfc8ce1deca6292147d002d3afe22a09840aa5d6)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.13 ([#​488](https://togithub.com/googleapis/java-shared-config/issues/488)) ([39b91ee](https://togithub.com/googleapis/java-shared-config/commit/39b91ee1283f0a5fbbe63e8bfd1ec97ab4ab377e)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.13 ([#​489](https://togithub.com/googleapis/java-shared-config/issues/489)) ([cc3bcfa](https://togithub.com/googleapis/java-shared-config/commit/cc3bcfa2d6717441a8d5b5048fa78c2cf7aabf2b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3c39175f93b8..257aa18c9706 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.1 + 1.5.2 From cc8000f3dae5d39591cbc26d604395cf9142f8ea Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 26 Jul 2022 19:42:14 +0000 Subject: [PATCH 2418/3036] chore(main): release 2.8.3-SNAPSHOT (#867) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 195a1295ca31..d87d6a350445 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.2 + 2.8.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.2 + 2.8.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.2 + 2.8.3-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.2 + 2.8.3-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0fc613021fd2..812d95edfcd2 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.8.2 + 2.8.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.2 + 2.8.3-SNAPSHOT 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 7325488733b6..c7447b1ef365 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.8.2 + 2.8.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.2 + 2.8.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 684f1cc19afb..61eaa32b2713 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.8.2 + 2.8.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.2 + 2.8.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index d65aad03d746..69ae274a0cf0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.2 + 2.8.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 84d0ac4ad70d..98fcbd6e7d41 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.2:2.8.2 +google-cloud-core:2.8.2:2.8.3-SNAPSHOT From 093e1d799a698275f656eaae3b899f1780dab928 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 26 Jul 2022 19:50:12 +0000 Subject: [PATCH 2419/3036] chore(main): release 2.8.3 (#878) :robot: I have created a release *beep* *boop* --- ## [2.8.3](https://github.com/googleapis/java-core/compare/v2.8.2...v2.8.3) (2022-07-26) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v2 ([#868](https://github.com/googleapis/java-core/issues/868)) ([fe7991d](https://github.com/googleapis/java-core/commit/fe7991d3ee44d30029405508192cffe7ac3fe0d9)) * update dependency com.google.api:gax-bom to v2.18.4 ([#864](https://github.com/googleapis/java-core/issues/864)) ([d4a8501](https://github.com/googleapis/java-core/commit/d4a850142df3d2711767d05b16da6b7d82e85668)) * update dependency com.google.api:gax-bom to v2.18.5 ([#876](https://github.com/googleapis/java-core/issues/876)) ([e2c0c13](https://github.com/googleapis/java-core/commit/e2c0c1344cac26a0010cb875316d0a90a8d7dd96)) * update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#870](https://github.com/googleapis/java-core/issues/870)) ([adf5af4](https://github.com/googleapis/java-core/commit/adf5af4f88b98ab8e915918b3b42aed99a5e4b2a)) * update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.2 ([#865](https://github.com/googleapis/java-core/issues/865)) ([5dad1ea](https://github.com/googleapis/java-core/commit/5dad1ea4f0da5f5419ad23751d35d62bab90fdd2)) * update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#856](https://github.com/googleapis/java-core/issues/856)) ([bb58609](https://github.com/googleapis/java-core/commit/bb586090f16ed67469c59ab2c7e085d1fb4cece7)) * update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#871](https://github.com/googleapis/java-core/issues/871)) ([341b04e](https://github.com/googleapis/java-core/commit/341b04ed7a104b33a9caee92a359d10e7d5e23dd)) * update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#874](https://github.com/googleapis/java-core/issues/874)) ([efe8c28](https://github.com/googleapis/java-core/commit/efe8c28c7a7be6517bc1801fbfeb083521415252)) * update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#877](https://github.com/googleapis/java-core/issues/877)) ([25bea6c](https://github.com/googleapis/java-core/commit/25bea6c203849886b2bffafe83941b72a81c5440)) * update dependency io.grpc:grpc-bom to v1.48.0 ([#873](https://github.com/googleapis/java-core/issues/873)) ([8bfee63](https://github.com/googleapis/java-core/commit/8bfee6348572a6f28a06352a536bac5d8e4b3120)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 16 ++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 28 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 706aa86f5038..73ddd4cdb2e0 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [2.8.3](https://github.com/googleapis/java-core/compare/v2.8.2...v2.8.3) (2022-07-26) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v2 ([#868](https://github.com/googleapis/java-core/issues/868)) ([e117c40](https://github.com/googleapis/java-core/commit/e117c40f31acf16a45bdbeeb727ba26d80eb6a51)) +* update dependency com.google.api:gax-bom to v2.18.4 ([#864](https://github.com/googleapis/java-core/issues/864)) ([bd40b1d](https://github.com/googleapis/java-core/commit/bd40b1d1b36cdcfa833047609e2488594b112be1)) +* update dependency com.google.api:gax-bom to v2.18.5 ([#876](https://github.com/googleapis/java-core/issues/876)) ([d8dc7fb](https://github.com/googleapis/java-core/commit/d8dc7fbdb0d65e493ca4154658c63e80d89ab600)) +* update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#870](https://github.com/googleapis/java-core/issues/870)) ([7e961e9](https://github.com/googleapis/java-core/commit/7e961e945d5e049a1a1bb2592e9c155b5937e33b)) +* update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.2 ([#865](https://github.com/googleapis/java-core/issues/865)) ([fe7b974](https://github.com/googleapis/java-core/commit/fe7b974a0eae82711ca96edf412944309d5d6202)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#856](https://github.com/googleapis/java-core/issues/856)) ([92df5d3](https://github.com/googleapis/java-core/commit/92df5d3c248214970d38432e8c264d151298d1e6)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#871](https://github.com/googleapis/java-core/issues/871)) ([1972e8e](https://github.com/googleapis/java-core/commit/1972e8e45e11597e56609aa5fcd44e61958d5857)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#874](https://github.com/googleapis/java-core/issues/874)) ([1e18977](https://github.com/googleapis/java-core/commit/1e18977820ac766157156fb6246bd318d207971c)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#877](https://github.com/googleapis/java-core/issues/877)) ([d12fb5e](https://github.com/googleapis/java-core/commit/d12fb5e4eb8aa42015df84abf31f56408c8b64d8)) +* update dependency io.grpc:grpc-bom to v1.48.0 ([#873](https://github.com/googleapis/java-core/issues/873)) ([a45b075](https://github.com/googleapis/java-core/commit/a45b075e414049550c51ff0097337e45128fc499)) + ## [2.8.2](https://github.com/googleapis/java-core/compare/v2.8.1...v2.8.2) (2022-07-13) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index d87d6a350445..4aff35d169bd 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.3-SNAPSHOT + 2.8.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.3-SNAPSHOT + 2.8.3 com.google.cloud google-cloud-core-grpc - 2.8.3-SNAPSHOT + 2.8.3 com.google.cloud google-cloud-core-http - 2.8.3-SNAPSHOT + 2.8.3 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 812d95edfcd2..8bcb6af93774 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.8.3-SNAPSHOT + 2.8.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3-SNAPSHOT + 2.8.3 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 c7447b1ef365..a88965106a65 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.8.3-SNAPSHOT + 2.8.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3-SNAPSHOT + 2.8.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 61eaa32b2713..73b21e7f6772 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.8.3-SNAPSHOT + 2.8.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3-SNAPSHOT + 2.8.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 69ae274a0cf0..34414d75d868 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.3-SNAPSHOT + 2.8.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 98fcbd6e7d41..efdac3feb809 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.2:2.8.3-SNAPSHOT +google-cloud-core:2.8.3:2.8.3 From 3db84ef51cc97c0841b4d60e44563eb5aee48d3c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 26 Jul 2022 19:56:15 +0000 Subject: [PATCH 2420/3036] chore(main): release 2.8.4-SNAPSHOT (#879) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4aff35d169bd..728502df5139 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.3 + 2.8.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.3 + 2.8.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.3 + 2.8.4-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.3 + 2.8.4-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8bcb6af93774..677404db56d3 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.8.3 + 2.8.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3 + 2.8.4-SNAPSHOT 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 a88965106a65..8b1a4297041a 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.8.3 + 2.8.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3 + 2.8.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 73b21e7f6772..b8c2931b311d 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.8.3 + 2.8.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.3 + 2.8.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 34414d75d868..7a21f010661b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.3 + 2.8.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index efdac3feb809..5e532d4e6ba4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.3:2.8.3 +google-cloud-core:2.8.3:2.8.4-SNAPSHOT From 942e8cc5493e7a2d9f47232c4fd6cbfe3e1076ee Mon Sep 17 00:00:00 2001 From: BenWhitehead Date: Wed, 27 Jul 2022 12:53:29 -0400 Subject: [PATCH 2421/3036] docs: update javadocs for ReadChannel#limit to be more clear (#880) Fixes https://github.com/googleapis/java-storage/issues/1512 --- .../src/main/java/com/google/cloud/ReadChannel.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index 9a24b4e5539f..781326fa7a4a 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -55,9 +55,13 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< RestorableState capture(); /** - * Limit the maximum number of bytes available to be read from this channel. If the limit is + * Limit the maximum number of bytes to be read from the objects content, counting from the + * beginning of the object, which will be available to read from this channel. If the limit is * larger than the actual size of the content this will have no material impact. * + *

    If used in conjunction with {@link #seek(long)} the total number of returned bytes from this + * channel will be reduced by the number of bytes specified to seek. + * *

    NOTE:Implementers are not required to return a new instance from this method, however * they are allowed to. Users of this method should always use the instance returned from this * method. From 33e38dcd90bd601a41224864f8ccb98153508d90 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jul 2022 20:56:20 +0200 Subject: [PATCH 2422/3036] deps: update google.core.version to v2.8.3 (#760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.1` -> `2.8.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.3/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.1` -> `2.8.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.3/compatibility-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.3/confidence-slim/2.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    googleapis/java-core ### [`v2.8.3`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​283-httpsgithubcomgoogleapisjava-corecomparev282v283-2022-07-26) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.1...v2.8.3) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v2 ([#​868](https://togithub.com/googleapis/java-core/issues/868)) ([e117c40](https://togithub.com/googleapis/java-core/commit/e117c40f31acf16a45bdbeeb727ba26d80eb6a51)) - update dependency com.google.api:gax-bom to v2.18.4 ([#​864](https://togithub.com/googleapis/java-core/issues/864)) ([bd40b1d](https://togithub.com/googleapis/java-core/commit/bd40b1d1b36cdcfa833047609e2488594b112be1)) - update dependency com.google.api:gax-bom to v2.18.5 ([#​876](https://togithub.com/googleapis/java-core/issues/876)) ([d8dc7fb](https://togithub.com/googleapis/java-core/commit/d8dc7fbdb0d65e493ca4154658c63e80d89ab600)) - update dependency com.google.api.grpc:proto-google-common-protos to v2.9.2 ([#​870](https://togithub.com/googleapis/java-core/issues/870)) ([7e961e9](https://togithub.com/googleapis/java-core/commit/7e961e945d5e049a1a1bb2592e9c155b5937e33b)) - update dependency com.google.api.grpc:proto-google-iam-v1 to v1.5.2 ([#​865](https://togithub.com/googleapis/java-core/issues/865)) ([fe7b974](https://togithub.com/googleapis/java-core/commit/fe7b974a0eae82711ca96edf412944309d5d6202)) - update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#​856](https://togithub.com/googleapis/java-core/issues/856)) ([92df5d3](https://togithub.com/googleapis/java-core/commit/92df5d3c248214970d38432e8c264d151298d1e6)) - update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#​871](https://togithub.com/googleapis/java-core/issues/871)) ([1972e8e](https://togithub.com/googleapis/java-core/commit/1972e8e45e11597e56609aa5fcd44e61958d5857)) - update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​874](https://togithub.com/googleapis/java-core/issues/874)) ([1e18977](https://togithub.com/googleapis/java-core/commit/1e18977820ac766157156fb6246bd318d207971c)) - update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#​877](https://togithub.com/googleapis/java-core/issues/877)) ([d12fb5e](https://togithub.com/googleapis/java-core/commit/d12fb5e4eb8aa42015df84abf31f56408c8b64d8)) - update dependency io.grpc:grpc-bom to v1.48.0 ([#​873](https://togithub.com/googleapis/java-core/issues/873)) ([a45b075](https://togithub.com/googleapis/java-core/commit/a45b075e414049550c51ff0097337e45128fc499))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ff860c6d605d..053689ef4ca1 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.4 2.2.1 2.9.2 - 2.8.1 + 2.8.3 1.8.1 1.42.2 1.34.1 From 021b5ef1ff42e487ebe8673919bfcd105d5fe959 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jul 2022 20:58:33 +0200 Subject: [PATCH 2423/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.3 (#761) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.2` -> `1.5.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/compatibility-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/confidence-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​153-httpsgithubcomgoogleapisjava-shared-configcomparev152v153-2022-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.2...v1.5.3) ##### Dependencies - update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 ([#​497](https://togithub.com/googleapis/java-shared-config/issues/497)) ([1fc6ab4](https://togithub.com/googleapis/java-shared-config/commit/1fc6ab445624cd4f9c8b161d109f346a9e5ed09a)) - Update doclet to latest version 1.6.0 ([38fb7c3](https://togithub.com/googleapis/java-shared-config/commit/38fb7c3957fb6c9b2da10f9e463cc93a8b80a3a4))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 053689ef4ca1..97a19b615203 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index f79898e406bd..576a8d946728 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 75585d0a6093..db5d0bc6b2bb 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index af760cf8ada4..e2264ae9ac56 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3
    From 6a196106c48c0b1dfe2d6b8275c2e606af65e5bc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jul 2022 21:00:26 +0200 Subject: [PATCH 2424/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.4 (#393) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.3` -> `3.21.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.4/compatibility-slim/3.21.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.4/confidence-slim/3.21.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 6d57d7248b1c..7b165054d36b 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.3' + compile 'com.google.protobuf:protobuf-java:3.21.4' compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From 5997769bd3f35e04fde9dc8dfe448a90953ee43e Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Wed, 27 Jul 2022 16:20:18 -0400 Subject: [PATCH 2425/3036] deps: Update google-cloud-shared-config to v1.5.3 (#882) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7a21f010661b..62450cb5bced 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 From d5e19ff464c2e4f29185cc87c2d35efa4c64d59f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 27 Jul 2022 22:32:35 +0200 Subject: [PATCH 2426/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.3 (#883) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.2` -> `1.5.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/compatibility-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/confidence-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​153-httpsgithubcomgoogleapisjava-shared-configcomparev152v153-2022-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.2...v1.5.3) ##### Dependencies - update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 ([#​497](https://togithub.com/googleapis/java-shared-config/issues/497)) ([1fc6ab4](https://togithub.com/googleapis/java-shared-config/commit/1fc6ab445624cd4f9c8b161d109f346a9e5ed09a)) - Update doclet to latest version 1.6.0 ([38fb7c3](https://togithub.com/googleapis/java-shared-config/commit/38fb7c3957fb6c9b2da10f9e463cc93a8b80a3a4))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/google-cloud-core-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 728502df5139..d4cf636e80eb 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 Google Cloud Core From 84f13d1437d96fb7c778458171473e24932e5bca Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 27 Jul 2022 23:28:47 +0000 Subject: [PATCH 2427/3036] chore(main): release 2.8.4 (#881) :robot: I have created a release *beep* *boop* --- ## [2.8.4](https://github.com/googleapis/java-core/compare/v2.8.3...v2.8.4) (2022-07-27) ### Documentation * update javadocs for ReadChannel#limit to be more clear ([#880](https://github.com/googleapis/java-core/issues/880)) ([942e8cc](https://github.com/googleapis/java-core/commit/942e8cc5493e7a2d9f47232c4fd6cbfe3e1076ee)) ### Dependencies * Update google-cloud-shared-config to v1.5.3 ([#882](https://github.com/googleapis/java-core/issues/882)) ([5997769](https://github.com/googleapis/java-core/commit/5997769bd3f35e04fde9dc8dfe448a90953ee43e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 12 ++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 24 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 73ddd4cdb2e0..2e952c91865d 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.8.4](https://github.com/googleapis/java-core/compare/v2.8.3...v2.8.4) (2022-07-27) + + +### Documentation + +* update javadocs for ReadChannel#limit to be more clear ([#880](https://github.com/googleapis/java-core/issues/880)) ([c7de4e2](https://github.com/googleapis/java-core/commit/c7de4e2871d6a32cacc7aab69d826f3afd6301ef)) + + +### Dependencies + +* Update google-cloud-shared-config to v1.5.3 ([#882](https://github.com/googleapis/java-core/issues/882)) ([aabb0b4](https://github.com/googleapis/java-core/commit/aabb0b42076f8a02e7b31d604add567fa909df6c)) + ## [2.8.3](https://github.com/googleapis/java-core/compare/v2.8.2...v2.8.3) (2022-07-26) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index d4cf636e80eb..4c4360fac4b7 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.4-SNAPSHOT + 2.8.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.4-SNAPSHOT + 2.8.4 com.google.cloud google-cloud-core-grpc - 2.8.4-SNAPSHOT + 2.8.4 com.google.cloud google-cloud-core-http - 2.8.4-SNAPSHOT + 2.8.4 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 677404db56d3..847748a1f4fb 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.8.4-SNAPSHOT + 2.8.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.4-SNAPSHOT + 2.8.4 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 8b1a4297041a..269138c15abc 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.8.4-SNAPSHOT + 2.8.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.4-SNAPSHOT + 2.8.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b8c2931b311d..691765f15bff 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.8.4-SNAPSHOT + 2.8.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.4-SNAPSHOT + 2.8.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 62450cb5bced..dc1d55b25736 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.4-SNAPSHOT + 2.8.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 5e532d4e6ba4..ee729e1c0e42 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.3:2.8.4-SNAPSHOT +google-cloud-core:2.8.4:2.8.4 From 9293d50d6026b961c63d9f1414c08270cf6fe3a9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 27 Jul 2022 23:34:31 +0000 Subject: [PATCH 2428/3036] chore(main): release 2.8.5-SNAPSHOT (#884) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4c4360fac4b7..86386e680377 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.4 + 2.8.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.4 + 2.8.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.4 + 2.8.5-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.4 + 2.8.5-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 847748a1f4fb..73db3520d53d 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.8.4 + 2.8.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.4 + 2.8.5-SNAPSHOT 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 269138c15abc..6afda78510a6 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.8.4 + 2.8.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.4 + 2.8.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 691765f15bff..98d94d8c5f48 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.8.4 + 2.8.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.4 + 2.8.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index dc1d55b25736..100b0ad5aa8c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.4 + 2.8.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ee729e1c0e42..16acfceb079e 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.4:2.8.4 +google-cloud-core:2.8.4:2.8.5-SNAPSHOT From 54104506cad6b05ec258aba76233370cb3823e31 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 28 Jul 2022 05:48:36 +0200 Subject: [PATCH 2429/3036] deps: update google.core.version to v2.8.4 (#762) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.3` -> `2.8.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.4/compatibility-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.4/confidence-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.3` -> `2.8.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.4/compatibility-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.4/confidence-slim/2.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.4`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​284-httpsgithubcomgoogleapisjava-corecomparev283v284-2022-07-27) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.3...v2.8.4) ##### Documentation - update javadocs for ReadChannel#limit to be more clear ([#​880](https://togithub.com/googleapis/java-core/issues/880)) ([c7de4e2](https://togithub.com/googleapis/java-core/commit/c7de4e2871d6a32cacc7aab69d826f3afd6301ef)) ##### Dependencies - Update google-cloud-shared-config to v1.5.3 ([#​882](https://togithub.com/googleapis/java-core/issues/882)) ([aabb0b4](https://togithub.com/googleapis/java-core/commit/aabb0b42076f8a02e7b31d604add567fa909df6c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 97a19b615203..139587e412fa 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.4 2.2.1 2.9.2 - 2.8.3 + 2.8.4 1.8.1 1.42.2 1.34.1 From 26b84d3ce6199935497c52e09b307e97fec3c199 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Jul 2022 21:56:00 +0200 Subject: [PATCH 2430/3036] deps: update dependency com.google.api:gax-bom to v2.18.6 (#885) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 100b0ad5aa8c..98cfc2a4e0e0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.5 + 2.18.6 2.2.1 2.9.2 1.5.2 From f20ab868b03aeeb17b7afd95ccab28973270a686 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 29 Jul 2022 20:02:11 +0000 Subject: [PATCH 2431/3036] chore(main): release 2.8.5 (#886) :robot: I have created a release *beep* *boop* --- ## [2.8.5](https://github.com/googleapis/java-core/compare/v2.8.4...v2.8.5) (2022-07-29) ### Dependencies * update dependency com.google.api:gax-bom to v2.18.6 ([#885](https://github.com/googleapis/java-core/issues/885)) ([26b84d3](https://github.com/googleapis/java-core/commit/26b84d3ce6199935497c52e09b307e97fec3c199)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 2e952c91865d..36d199209aa3 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.5](https://github.com/googleapis/java-core/compare/v2.8.4...v2.8.5) (2022-07-29) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.18.6 ([#885](https://github.com/googleapis/java-core/issues/885)) ([7fa028c](https://github.com/googleapis/java-core/commit/7fa028c0e78bd21583c8687582da24834bd54449)) + ## [2.8.4](https://github.com/googleapis/java-core/compare/v2.8.3...v2.8.4) (2022-07-27) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 86386e680377..955d5d1e22f1 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.5-SNAPSHOT + 2.8.5 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.5-SNAPSHOT + 2.8.5 com.google.cloud google-cloud-core-grpc - 2.8.5-SNAPSHOT + 2.8.5 com.google.cloud google-cloud-core-http - 2.8.5-SNAPSHOT + 2.8.5 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 73db3520d53d..d5132d03d003 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.8.5-SNAPSHOT + 2.8.5 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.5-SNAPSHOT + 2.8.5 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 6afda78510a6..002906951dc2 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.8.5-SNAPSHOT + 2.8.5 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.5-SNAPSHOT + 2.8.5 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 98d94d8c5f48..a07bdede874d 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.8.5-SNAPSHOT + 2.8.5 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.5-SNAPSHOT + 2.8.5 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 98cfc2a4e0e0..fbd9d709897f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.5-SNAPSHOT + 2.8.5 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 16acfceb079e..37034a500a88 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.4:2.8.5-SNAPSHOT +google-cloud-core:2.8.5:2.8.5 From b25e36b7f3d600420038efb037e5ef4976f133a9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 29 Jul 2022 20:12:11 +0000 Subject: [PATCH 2432/3036] chore(main): release 2.8.6-SNAPSHOT (#887) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 955d5d1e22f1..53fe6240099b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.5 + 2.8.6-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.5 + 2.8.6-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.5 + 2.8.6-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.5 + 2.8.6-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d5132d03d003..49e010687cff 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.8.5 + 2.8.6-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.5 + 2.8.6-SNAPSHOT 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 002906951dc2..f79b54aad83d 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.8.5 + 2.8.6-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.5 + 2.8.6-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a07bdede874d..ea565944b56a 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.8.5 + 2.8.6-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.5 + 2.8.6-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index fbd9d709897f..3466657d1e00 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.5 + 2.8.6-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 37034a500a88..913372618dc4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.5:2.8.5 +google-cloud-core:2.8.5:2.8.6-SNAPSHOT From 84b81e980588c4bb917830aaa1e780ad548e4249 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Jul 2022 23:33:58 +0200 Subject: [PATCH 2433/3036] deps: update gax.version to v2.18.6 (#763) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 139587e412fa..668d0b860d3f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.48.0 - 2.18.5 + 2.18.6 1.2.1 31.1-jre 3.21.4 From 4bc8c75ac3c15d04ecda959997e12cb63f980691 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Jul 2022 23:38:18 +0200 Subject: [PATCH 2434/3036] deps: update google.core.version to v2.8.5 (#764) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 668d0b860d3f..f6d58c9457ba 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.4 2.2.1 2.9.2 - 2.8.4 + 2.8.5 1.8.1 1.42.2 1.34.1 From f0625b0f6af7ad52174d19735f91f29a1b9f3660 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 29 Jul 2022 21:46:11 +0000 Subject: [PATCH 2435/3036] chore(main): release 3.0.0 (#740) :robot: I have created a release *beep* *boop* --- ## [3.0.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.13.0...v3.0.0) (2022-07-29) ### Bug Fixes * enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-shared-dependencies/issues/1485)) ([#738](https://github.com/googleapis/java-shared-dependencies/issues/738)) ([48b157d](https://github.com/googleapis/java-shared-dependencies/commit/48b157d41470a5bc28421f286b15f80e3981bfa2)) ### Dependencies * update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([d518319](https://github.com/googleapis/java-shared-dependencies/commit/d5183194a76a4f348d26972b5b5b081094e1353d)) * update dependency com.google.api-client:google-api-client-bom to v2 ([#746](https://github.com/googleapis/java-shared-dependencies/issues/746)) ([ef2b57a](https://github.com/googleapis/java-shared-dependencies/commit/ef2b57a1b28d4388f5066d90ee412dcdbe1edd40)) * update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#741](https://github.com/googleapis/java-shared-dependencies/issues/741)) ([347269f](https://github.com/googleapis/java-shared-dependencies/commit/347269fd6a123ef0104a394be74676c50b1e30ce)) * update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([236bbb3](https://github.com/googleapis/java-shared-dependencies/commit/236bbb3a23fe0c8d4b0f6d26c092a87fa39d3a44)) * update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#742](https://github.com/googleapis/java-shared-dependencies/issues/742)) ([dabdbdf](https://github.com/googleapis/java-shared-dependencies/commit/dabdbdf84854ba442a441d0cac989e2370523fee)) * update dependency com.google.cloud:first-party-dependencies to v2 ([#747](https://github.com/googleapis/java-shared-dependencies/issues/747)) ([93b1ed8](https://github.com/googleapis/java-shared-dependencies/commit/93b1ed877a09e53b004ea9e5a3a673380dc46219)) * update dependency com.google.cloud:grpc-gcp to v1.2.1 ([#751](https://github.com/googleapis/java-shared-dependencies/issues/751)) ([618b00c](https://github.com/googleapis/java-shared-dependencies/commit/618b00c6e8488a796158871666ce803e99f10048)) * update dependency com.google.cloud:third-party-dependencies to v2 ([#748](https://github.com/googleapis/java-shared-dependencies/issues/748)) ([afca3fd](https://github.com/googleapis/java-shared-dependencies/commit/afca3fdb0dd4f72f68e4ea403bb24fc7dca01c16)) * update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([4fdaad8](https://github.com/googleapis/java-shared-dependencies/commit/4fdaad87bcfcf4efefa53704a713b39e32fb2485)) * update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#749](https://github.com/googleapis/java-shared-dependencies/issues/749)) ([68a82f4](https://github.com/googleapis/java-shared-dependencies/commit/68a82f4027c8b67e4b5fb78af79d90fa1ad5006f)) * update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([68f570e](https://github.com/googleapis/java-shared-dependencies/commit/68f570ea93998cbb63ec89275a6e7ff0971bcda5)) * update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#756](https://github.com/googleapis/java-shared-dependencies/issues/756)) ([7429507](https://github.com/googleapis/java-shared-dependencies/commit/7429507ef426ba321babde82ac01a540426b02c0)) * update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#759](https://github.com/googleapis/java-shared-dependencies/issues/759)) ([f033db0](https://github.com/googleapis/java-shared-dependencies/commit/f033db0b20abdb947682365cc202f9a934cb39ab)) * update dependency io.grpc:grpc-bom to v1.48.0 ([#752](https://github.com/googleapis/java-shared-dependencies/issues/752)) ([9678d52](https://github.com/googleapis/java-shared-dependencies/commit/9678d52520ba6126bf30918d9593d87544d452b4)) * update dependency org.checkerframework:checker-qual to v3.23.0 ([#736](https://github.com/googleapis/java-shared-dependencies/issues/736)) ([816d380](https://github.com/googleapis/java-shared-dependencies/commit/816d38002d7c112036a4a02288a2cf007df99f3c)) * update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([5bbf1e1](https://github.com/googleapis/java-shared-dependencies/commit/5bbf1e1071748746d48dfdc6441d37a753a6dd62)) * update gax.version to v2.18.4 ([#735](https://github.com/googleapis/java-shared-dependencies/issues/735)) ([5161c6e](https://github.com/googleapis/java-shared-dependencies/commit/5161c6e0dc9040b099731eceef5c5306ab5bad4a)) * update gax.version to v2.18.5 ([#758](https://github.com/googleapis/java-shared-dependencies/issues/758)) ([608e040](https://github.com/googleapis/java-shared-dependencies/commit/608e040d51800e894a7db88a90475a8da7f5fd1d)) * update gax.version to v2.18.6 ([#763](https://github.com/googleapis/java-shared-dependencies/issues/763)) ([84b81e9](https://github.com/googleapis/java-shared-dependencies/commit/84b81e980588c4bb917830aaa1e780ad548e4249)) * update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([62cd59a](https://github.com/googleapis/java-shared-dependencies/commit/62cd59a5fb9d9c1fa17d45477f3ca4069db7b2ab)) * update google.core.version to v2.8.1 ([#725](https://github.com/googleapis/java-shared-dependencies/issues/725)) ([d47af56](https://github.com/googleapis/java-shared-dependencies/commit/d47af566f0f179880c923aa01c764d89b90f5742)) * update google.core.version to v2.8.3 ([#760](https://github.com/googleapis/java-shared-dependencies/issues/760)) ([33e38dc](https://github.com/googleapis/java-shared-dependencies/commit/33e38dcd90bd601a41224864f8ccb98153508d90)) * update google.core.version to v2.8.4 ([#762](https://github.com/googleapis/java-shared-dependencies/issues/762)) ([5410450](https://github.com/googleapis/java-shared-dependencies/commit/54104506cad6b05ec258aba76233370cb3823e31)) * update google.core.version to v2.8.5 ([#764](https://github.com/googleapis/java-shared-dependencies/issues/764)) ([4bc8c75](https://github.com/googleapis/java-shared-dependencies/commit/4bc8c75ac3c15d04ecda959997e12cb63f980691)) * update iam.version to v1.5.0 ([#732](https://github.com/googleapis/java-shared-dependencies/issues/732)) ([3e64541](https://github.com/googleapis/java-shared-dependencies/commit/3e64541480d2995327f93bb858809d2ee5d90415)) * update iam.version to v1.5.1 ([#737](https://github.com/googleapis/java-shared-dependencies/issues/737)) ([5a85115](https://github.com/googleapis/java-shared-dependencies/commit/5a8511573629c320d829b576ae1b32e414b919ee)) * update iam.version to v1.5.2 ([#743](https://github.com/googleapis/java-shared-dependencies/issues/743)) ([294ea85](https://github.com/googleapis/java-shared-dependencies/commit/294ea851b39fb74169d2a643c3ef928149c34dc5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 38 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +-- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 48 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index be5f587872dd..68c98cb83676 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,44 @@ # Changelog +## [3.0.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.13.0...v3.0.0) (2022-07-29) + + +### Bug Fixes + +* enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-shared-dependencies/issues/1485)) ([#738](https://github.com/googleapis/java-shared-dependencies/issues/738)) ([11bc8f8](https://github.com/googleapis/java-shared-dependencies/commit/11bc8f81f28be88a97fdeafca21724e33638770c)) + + +### Dependencies + +* update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#729](https://github.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://github.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) +* update dependency com.google.api-client:google-api-client-bom to v2 ([#746](https://github.com/googleapis/java-shared-dependencies/issues/746)) ([2dcb2e0](https://github.com/googleapis/java-shared-dependencies/commit/2dcb2e071e0ba0eea21bb575bd13cd559d4a1ca6)) +* update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#741](https://github.com/googleapis/java-shared-dependencies/issues/741)) ([3352d6c](https://github.com/googleapis/java-shared-dependencies/commit/3352d6c36111c04e3f6f3e6360470fa3efb10d8f)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#726](https://github.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://github.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) +* update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#742](https://github.com/googleapis/java-shared-dependencies/issues/742)) ([4f53527](https://github.com/googleapis/java-shared-dependencies/commit/4f53527bda7f40896711b7c1d1c02453321ffbc8)) +* update dependency com.google.cloud:first-party-dependencies to v2 ([#747](https://github.com/googleapis/java-shared-dependencies/issues/747)) ([e970ac0](https://github.com/googleapis/java-shared-dependencies/commit/e970ac0599941c825dc2516146a7c6673e68a9b9)) +* update dependency com.google.cloud:grpc-gcp to v1.2.1 ([#751](https://github.com/googleapis/java-shared-dependencies/issues/751)) ([b3284b6](https://github.com/googleapis/java-shared-dependencies/commit/b3284b6ee52a96a6ea8696a05a94443df9ee5b9f)) +* update dependency com.google.cloud:third-party-dependencies to v2 ([#748](https://github.com/googleapis/java-shared-dependencies/issues/748)) ([573b41a](https://github.com/googleapis/java-shared-dependencies/commit/573b41a69504372741cbeb01dd200e7c71967186)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#730](https://github.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://github.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) +* update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#749](https://github.com/googleapis/java-shared-dependencies/issues/749)) ([299d7b0](https://github.com/googleapis/java-shared-dependencies/commit/299d7b0d4920644e2c3070d12dd1d97da17a5e88)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#722](https://github.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://github.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#756](https://github.com/googleapis/java-shared-dependencies/issues/756)) ([3d0bac2](https://github.com/googleapis/java-shared-dependencies/commit/3d0bac23487aebb94267c0708f41ff6c02a028a4)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#759](https://github.com/googleapis/java-shared-dependencies/issues/759)) ([5a54ef1](https://github.com/googleapis/java-shared-dependencies/commit/5a54ef1a2d56244166d4fcc46041d62c0dc4b411)) +* update dependency io.grpc:grpc-bom to v1.48.0 ([#752](https://github.com/googleapis/java-shared-dependencies/issues/752)) ([20ac908](https://github.com/googleapis/java-shared-dependencies/commit/20ac908932a5e7c8e581bdfcd68579d7e1cedd5f)) +* update dependency org.checkerframework:checker-qual to v3.23.0 ([#736](https://github.com/googleapis/java-shared-dependencies/issues/736)) ([fc01d8f](https://github.com/googleapis/java-shared-dependencies/commit/fc01d8f93f391f12fdb800d5006f0b4505832eeb)) +* update gax.version to v2.18.3 ([#731](https://github.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://github.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) +* update gax.version to v2.18.4 ([#735](https://github.com/googleapis/java-shared-dependencies/issues/735)) ([11c7415](https://github.com/googleapis/java-shared-dependencies/commit/11c74152a84697924de3a0e838b05f606c3098f7)) +* update gax.version to v2.18.5 ([#758](https://github.com/googleapis/java-shared-dependencies/issues/758)) ([7469fc1](https://github.com/googleapis/java-shared-dependencies/commit/7469fc1cc5095b39a5738e60156711a268f6e052)) +* update gax.version to v2.18.6 ([#763](https://github.com/googleapis/java-shared-dependencies/issues/763)) ([b5ca2f7](https://github.com/googleapis/java-shared-dependencies/commit/b5ca2f7b4d81c705823253f4f03363a32d2be48b)) +* update google.common-protos.version to v2.9.1 ([#724](https://github.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://github.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) +* update google.core.version to v2.8.1 ([#725](https://github.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://github.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) +* update google.core.version to v2.8.3 ([#760](https://github.com/googleapis/java-shared-dependencies/issues/760)) ([cb10ae4](https://github.com/googleapis/java-shared-dependencies/commit/cb10ae4b76939215ea465af74163b3d4ad65a548)) +* update google.core.version to v2.8.4 ([#762](https://github.com/googleapis/java-shared-dependencies/issues/762)) ([821daaf](https://github.com/googleapis/java-shared-dependencies/commit/821daafefdbcfdfe6e363e580747538096a562ef)) +* update google.core.version to v2.8.5 ([#764](https://github.com/googleapis/java-shared-dependencies/issues/764)) ([a1f8f50](https://github.com/googleapis/java-shared-dependencies/commit/a1f8f501b54143a2cec8e72efd4ceb3ce47f13ae)) +* update iam.version to v1.5.0 ([#732](https://github.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://github.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) +* update iam.version to v1.5.1 ([#737](https://github.com/googleapis/java-shared-dependencies/issues/737)) ([df39168](https://github.com/googleapis/java-shared-dependencies/commit/df391685d42fcb1b04f03ab1380a594893bdce37)) +* update iam.version to v1.5.2 ([#743](https://github.com/googleapis/java-shared-dependencies/issues/743)) ([cdde697](https://github.com/googleapis/java-shared-dependencies/commit/cdde697f25a89fc8c2ec7eae6b7c54f69977bb1c)) + ## [2.13.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.12.0...v2.13.0) (2022-06-22) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index bf165611188b..5088d19ef825 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 - 2.13.1-SNAPSHOT + 3.0.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.0 + 3.0.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f6d58c9457ba..cc148cfd1850 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 - 2.13.1-SNAPSHOT + 3.0.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 576a8d946728..de267409bfe2 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 - 2.13.1-SNAPSHOT + 3.0.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 2.13.0 + 3.0.0 pom import com.google.cloud third-party-dependencies - 2.13.0 + 3.0.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index db5d0bc6b2bb..e25054d39628 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 - 2.13.1-SNAPSHOT + 3.0.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index e2264ae9ac56..d8a89297b18d 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 - 2.13.1-SNAPSHOT + 3.0.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.0 + 3.0.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 6b0f9663184d..a992409674f8 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:2.13.0:2.13.1-SNAPSHOT +google-cloud-shared-dependencies:3.0.0:3.0.0 From a9bc5441bf26e66c34773700aa0a5fe8f17b1286 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Jul 2022 23:52:20 +0200 Subject: [PATCH 2436/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.3 (#394) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.2` -> `1.5.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/compatibility-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.3/confidence-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​153-httpsgithubcomgoogleapisjava-shared-configcomparev152v153-2022-07-27) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.2...v1.5.3) ##### Dependencies - update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 ([#​497](https://togithub.com/googleapis/java-shared-config/issues/497)) ([1fc6ab4](https://togithub.com/googleapis/java-shared-config/commit/1fc6ab445624cd4f9c8b161d109f346a9e5ed09a)) - Update doclet to latest version 1.6.0 ([38fb7c3](https://togithub.com/googleapis/java-shared-config/commit/38fb7c3957fb6c9b2da10f9e463cc93a8b80a3a4))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 257aa18c9706..d29435acac23 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.2 + 1.5.3 From fc8e8b57f947c88096b854b2add39a20a40f12f3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 30 Jul 2022 02:30:20 +0200 Subject: [PATCH 2437/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3 (#395) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.13.0` -> `3.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.0/compatibility-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.0/confidence-slim/2.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.0.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​300-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2130v300-2022-07-29) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.13.0...v3.0.0) ##### Bug Fixes - enable longpaths support for windows test ([#​1485](https://togithub.com/googleapis/java-shared-dependencies/issues/1485)) ([#​738](https://togithub.com/googleapis/java-shared-dependencies/issues/738)) ([11bc8f8](https://togithub.com/googleapis/java-shared-dependencies/commit/11bc8f81f28be88a97fdeafca21724e33638770c)) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.35.2 ([#​729](https://togithub.com/googleapis/java-shared-dependencies/issues/729)) ([1fa59af](https://togithub.com/googleapis/java-shared-dependencies/commit/1fa59af80abb9f278f57658c10158567e825fec6)) - update dependency com.google.api-client:google-api-client-bom to v2 ([#​746](https://togithub.com/googleapis/java-shared-dependencies/issues/746)) ([2dcb2e0](https://togithub.com/googleapis/java-shared-dependencies/commit/2dcb2e071e0ba0eea21bb575bd13cd559d4a1ca6)) - update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.2 ([#​741](https://togithub.com/googleapis/java-shared-dependencies/issues/741)) ([3352d6c](https://togithub.com/googleapis/java-shared-dependencies/commit/3352d6c36111c04e3f6f3e6360470fa3efb10d8f)) - update dependency com.google.auth:google-auth-library-bom to v1.8.0 ([#​726](https://togithub.com/googleapis/java-shared-dependencies/issues/726)) ([2c5d64c](https://togithub.com/googleapis/java-shared-dependencies/commit/2c5d64c127db8384e49113acfeac6928716a2d7f)) - update dependency com.google.auth:google-auth-library-bom to v1.8.1 ([#​742](https://togithub.com/googleapis/java-shared-dependencies/issues/742)) ([4f53527](https://togithub.com/googleapis/java-shared-dependencies/commit/4f53527bda7f40896711b7c1d1c02453321ffbc8)) - update dependency com.google.cloud:first-party-dependencies to v2 ([#​747](https://togithub.com/googleapis/java-shared-dependencies/issues/747)) ([e970ac0](https://togithub.com/googleapis/java-shared-dependencies/commit/e970ac0599941c825dc2516146a7c6673e68a9b9)) - update dependency com.google.cloud:grpc-gcp to v1.2.1 ([#​751](https://togithub.com/googleapis/java-shared-dependencies/issues/751)) ([b3284b6](https://togithub.com/googleapis/java-shared-dependencies/commit/b3284b6ee52a96a6ea8696a05a94443df9ee5b9f)) - update dependency com.google.cloud:third-party-dependencies to v2 ([#​748](https://togithub.com/googleapis/java-shared-dependencies/issues/748)) ([573b41a](https://togithub.com/googleapis/java-shared-dependencies/commit/573b41a69504372741cbeb01dd200e7c71967186)) - update dependency com.google.http-client:google-http-client-bom to v1.42.1 ([#​730](https://togithub.com/googleapis/java-shared-dependencies/issues/730)) ([6b47126](https://togithub.com/googleapis/java-shared-dependencies/commit/6b47126686b603a5d112e097ce6aa3a1880daf6f)) - update dependency com.google.http-client:google-http-client-bom to v1.42.2 ([#​749](https://togithub.com/googleapis/java-shared-dependencies/issues/749)) ([299d7b0](https://togithub.com/googleapis/java-shared-dependencies/commit/299d7b0d4920644e2c3070d12dd1d97da17a5e88)) - update dependency com.google.protobuf:protobuf-bom to v3.21.2 ([#​722](https://togithub.com/googleapis/java-shared-dependencies/issues/722)) ([7a96b12](https://togithub.com/googleapis/java-shared-dependencies/commit/7a96b1259a526b63e9376fd6cc18b27cddeb5f0f)) - update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​756](https://togithub.com/googleapis/java-shared-dependencies/issues/756)) ([3d0bac2](https://togithub.com/googleapis/java-shared-dependencies/commit/3d0bac23487aebb94267c0708f41ff6c02a028a4)) - update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#​759](https://togithub.com/googleapis/java-shared-dependencies/issues/759)) ([5a54ef1](https://togithub.com/googleapis/java-shared-dependencies/commit/5a54ef1a2d56244166d4fcc46041d62c0dc4b411)) - update dependency io.grpc:grpc-bom to v1.48.0 ([#​752](https://togithub.com/googleapis/java-shared-dependencies/issues/752)) ([20ac908](https://togithub.com/googleapis/java-shared-dependencies/commit/20ac908932a5e7c8e581bdfcd68579d7e1cedd5f)) - update dependency org.checkerframework:checker-qual to v3.23.0 ([#​736](https://togithub.com/googleapis/java-shared-dependencies/issues/736)) ([fc01d8f](https://togithub.com/googleapis/java-shared-dependencies/commit/fc01d8f93f391f12fdb800d5006f0b4505832eeb)) - update gax.version to v2.18.3 ([#​731](https://togithub.com/googleapis/java-shared-dependencies/issues/731)) ([e8ee554](https://togithub.com/googleapis/java-shared-dependencies/commit/e8ee554707acb2f71c739d08e2ff02fbe43ffa52)) - update gax.version to v2.18.4 ([#​735](https://togithub.com/googleapis/java-shared-dependencies/issues/735)) ([11c7415](https://togithub.com/googleapis/java-shared-dependencies/commit/11c74152a84697924de3a0e838b05f606c3098f7)) - update gax.version to v2.18.5 ([#​758](https://togithub.com/googleapis/java-shared-dependencies/issues/758)) ([7469fc1](https://togithub.com/googleapis/java-shared-dependencies/commit/7469fc1cc5095b39a5738e60156711a268f6e052)) - update gax.version to v2.18.6 ([#​763](https://togithub.com/googleapis/java-shared-dependencies/issues/763)) ([b5ca2f7](https://togithub.com/googleapis/java-shared-dependencies/commit/b5ca2f7b4d81c705823253f4f03363a32d2be48b)) - update google.common-protos.version to v2.9.1 ([#​724](https://togithub.com/googleapis/java-shared-dependencies/issues/724)) ([5213dbb](https://togithub.com/googleapis/java-shared-dependencies/commit/5213dbbfa9c9b73d2420ec2be7782f16c9c4955f)) - update google.core.version to v2.8.1 ([#​725](https://togithub.com/googleapis/java-shared-dependencies/issues/725)) ([575858a](https://togithub.com/googleapis/java-shared-dependencies/commit/575858a60f76e46bbc2a2435c2b6c01c8f4ab681)) - update google.core.version to v2.8.3 ([#​760](https://togithub.com/googleapis/java-shared-dependencies/issues/760)) ([cb10ae4](https://togithub.com/googleapis/java-shared-dependencies/commit/cb10ae4b76939215ea465af74163b3d4ad65a548)) - update google.core.version to v2.8.4 ([#​762](https://togithub.com/googleapis/java-shared-dependencies/issues/762)) ([821daaf](https://togithub.com/googleapis/java-shared-dependencies/commit/821daafefdbcfdfe6e363e580747538096a562ef)) - update google.core.version to v2.8.5 ([#​764](https://togithub.com/googleapis/java-shared-dependencies/issues/764)) ([a1f8f50](https://togithub.com/googleapis/java-shared-dependencies/commit/a1f8f501b54143a2cec8e72efd4ceb3ce47f13ae)) - update iam.version to v1.5.0 ([#​732](https://togithub.com/googleapis/java-shared-dependencies/issues/732)) ([9dce0e5](https://togithub.com/googleapis/java-shared-dependencies/commit/9dce0e5199c1e425119adc804304958f58003a27)) - update iam.version to v1.5.1 ([#​737](https://togithub.com/googleapis/java-shared-dependencies/issues/737)) ([df39168](https://togithub.com/googleapis/java-shared-dependencies/commit/df391685d42fcb1b04f03ab1380a594893bdce37)) - update iam.version to v1.5.2 ([#​743](https://togithub.com/googleapis/java-shared-dependencies/issues/743)) ([cdde697](https://togithub.com/googleapis/java-shared-dependencies/commit/cdde697f25a89fc8c2ec7eae6b7c54f69977bb1c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d29435acac23..1f67ce26f197 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.13.0 + 3.0.0 pom import From ea6f1a22d84b8048c1e566d5f004a8fb758e843d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 06:07:35 +0200 Subject: [PATCH 2438/3036] deps: update dependency com.google.code.gson:gson to v2.9.1 (#888) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3466657d1e00..b0882f52e4dd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 1.6.0 3.2 2.14.0 - 2.9.0 + 2.9.1
    From 941284813c0133647e03e41eaeec86d387af2f81 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 06:07:56 +0200 Subject: [PATCH 2439/3036] deps: update dependency com.google.api:gax-bom to v2.18.7 (#890) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b0882f52e4dd..701d10e8a8f8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.6 + 2.18.7 2.2.1 2.9.2 1.5.2 From b0d531d25124f9bec015550951d7751b70496d9b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 06:11:41 +0200 Subject: [PATCH 2440/3036] deps: update dependency com.google.code.gson:gson to v2.9.1 (#766) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index e25054d39628..c8e5d97bf152 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,7 @@ UTF-8 ${project.artifactId} - 2.9.0 + 2.9.1 1.6.0 1.3.2 1.21 From 02e98d5742ad6a1ed15cc35bfc2cbe8b56495fe2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 06:12:06 +0200 Subject: [PATCH 2441/3036] deps: update gax.version to v2.18.7 (#767) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index cc148cfd1850..736d9dee434a 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.48.0 - 2.18.6 + 2.18.7 1.2.1 31.1-jre 3.21.4 From 2ef6225d3024f11b8cb8fc06e2ee3ed126269af6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 2 Aug 2022 04:14:14 +0000 Subject: [PATCH 2442/3036] chore(main): release 2.8.6 (#892) :robot: I have created a release *beep* *boop* --- ## [2.8.6](https://github.com/googleapis/java-core/compare/v2.8.5...v2.8.6) (2022-08-02) ### Dependencies * update dependency com.google.api:gax-bom to v2.18.7 ([#890](https://github.com/googleapis/java-core/issues/890)) ([9412848](https://github.com/googleapis/java-core/commit/941284813c0133647e03e41eaeec86d387af2f81)) * update dependency com.google.code.gson:gson to v2.9.1 ([#888](https://github.com/googleapis/java-core/issues/888)) ([ea6f1a2](https://github.com/googleapis/java-core/commit/ea6f1a22d84b8048c1e566d5f004a8fb758e843d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 36d199209aa3..8c98e20ffc14 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.6](https://github.com/googleapis/java-core/compare/v2.8.5...v2.8.6) (2022-08-02) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.18.7 ([#890](https://github.com/googleapis/java-core/issues/890)) ([c67bed5](https://github.com/googleapis/java-core/commit/c67bed5281b458e78780cdd918235b5d073917c7)) +* update dependency com.google.code.gson:gson to v2.9.1 ([#888](https://github.com/googleapis/java-core/issues/888)) ([7b799c6](https://github.com/googleapis/java-core/commit/7b799c66f4aaf057242e9a231b920e49a7c964e9)) + ## [2.8.5](https://github.com/googleapis/java-core/compare/v2.8.4...v2.8.5) (2022-07-29) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 53fe6240099b..b6d2149b9a96 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.6-SNAPSHOT + 2.8.6 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.6-SNAPSHOT + 2.8.6 com.google.cloud google-cloud-core-grpc - 2.8.6-SNAPSHOT + 2.8.6 com.google.cloud google-cloud-core-http - 2.8.6-SNAPSHOT + 2.8.6 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 49e010687cff..231cdb3319da 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.8.6-SNAPSHOT + 2.8.6 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.6-SNAPSHOT + 2.8.6 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 f79b54aad83d..682360184ed9 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.8.6-SNAPSHOT + 2.8.6 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.6-SNAPSHOT + 2.8.6 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ea565944b56a..0ead5b6e783c 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.8.6-SNAPSHOT + 2.8.6 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.6-SNAPSHOT + 2.8.6 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 701d10e8a8f8..2f49b239f6e0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.6-SNAPSHOT + 2.8.6 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 913372618dc4..4e90ceeb3811 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.5:2.8.6-SNAPSHOT +google-cloud-core:2.8.6:2.8.6 From e3e5842cfd4a8cd27de2d64dcdb6994bea0049a0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 2 Aug 2022 04:16:16 +0000 Subject: [PATCH 2443/3036] chore(main): release 3.0.1-SNAPSHOT (#765) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 5088d19ef825..9d69b20e0f4a 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.0.0 + 3.0.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.0 + 3.0.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 736d9dee434a..138c4e0bf980 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.0.0 + 3.0.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index de267409bfe2..7feec5e6eefa 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.0.0 + 3.0.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.0 + 3.0.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.0.0 + 3.0.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index c8e5d97bf152..ea454d97392b 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.0.0 + 3.0.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index d8a89297b18d..da5775907b7d 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.0.0 + 3.0.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.0 + 3.0.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index a992409674f8..2e30ba437e41 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.0:3.0.0 +google-cloud-shared-dependencies:3.0.0:3.0.1-SNAPSHOT From 5c223b3bbf4952e91303405b4ec12f671b329613 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 2 Aug 2022 04:20:40 +0000 Subject: [PATCH 2444/3036] chore(main): release 2.8.7-SNAPSHOT (#893) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b6d2149b9a96..f49a34933d3b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.6 + 2.8.7-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.6 + 2.8.7-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.6 + 2.8.7-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.6 + 2.8.7-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 231cdb3319da..b3a9d20d5775 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.8.6 + 2.8.7-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.6 + 2.8.7-SNAPSHOT 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 682360184ed9..1c177c2c037c 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.8.6 + 2.8.7-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.6 + 2.8.7-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 0ead5b6e783c..5357501f0729 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.8.6 + 2.8.7-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.6 + 2.8.7-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2f49b239f6e0..3fd152b750df 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.6 + 2.8.7-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4e90ceeb3811..7a942adc0ab0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.6:2.8.6 +google-cloud-core:2.8.6:2.8.7-SNAPSHOT From 3acea4bd3ed91d51a2a5d309793866a2ba2a95f1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 16:37:15 +0200 Subject: [PATCH 2445/3036] deps: update google.core.version to v2.8.6 (#770) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 138c4e0bf980..5467d1716966 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.4 2.2.1 2.9.2 - 2.8.5 + 2.8.6 1.8.1 1.42.2 1.34.1 From 2c8bc32fb31ec8856ecbe0b88e5f2f85f54fc29c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 2 Aug 2022 17:08:13 +0000 Subject: [PATCH 2446/3036] chore(main): release 3.0.1 (#769) :robot: I have created a release *beep* *boop* --- ## [3.0.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.0...v3.0.1) (2022-08-02) ### Dependencies * update dependency com.google.code.gson:gson to v2.9.1 ([#766](https://github.com/googleapis/java-shared-dependencies/issues/766)) ([b0d531d](https://github.com/googleapis/java-shared-dependencies/commit/b0d531d25124f9bec015550951d7751b70496d9b)) * update gax.version to v2.18.7 ([#767](https://github.com/googleapis/java-shared-dependencies/issues/767)) ([02e98d5](https://github.com/googleapis/java-shared-dependencies/commit/02e98d5742ad6a1ed15cc35bfc2cbe8b56495fe2)) * update google.core.version to v2.8.6 ([#770](https://github.com/googleapis/java-shared-dependencies/issues/770)) ([3acea4b](https://github.com/googleapis/java-shared-dependencies/commit/3acea4bd3ed91d51a2a5d309793866a2ba2a95f1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 9 +++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 19 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 68c98cb83676..56b778bc791e 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,15 @@ # Changelog +## [3.0.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.0...v3.0.1) (2022-08-02) + + +### Dependencies + +* update dependency com.google.code.gson:gson to v2.9.1 ([#766](https://github.com/googleapis/java-shared-dependencies/issues/766)) ([f7b2b06](https://github.com/googleapis/java-shared-dependencies/commit/f7b2b06b80e3e95ff8ab9b1d6a2638ef3069298a)) +* update gax.version to v2.18.7 ([#767](https://github.com/googleapis/java-shared-dependencies/issues/767)) ([9650368](https://github.com/googleapis/java-shared-dependencies/commit/96503682e98cdf348ea2c1365a03a60f4322c712)) +* update google.core.version to v2.8.6 ([#770](https://github.com/googleapis/java-shared-dependencies/issues/770)) ([cfd4377](https://github.com/googleapis/java-shared-dependencies/commit/cfd4377dc178cebb4724065d55d185ce03988d55)) + ## [3.0.0](https://github.com/googleapis/java-shared-dependencies/compare/v2.13.0...v3.0.0) (2022-07-29) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 9d69b20e0f4a..fd03c6eb4c33 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.0.1-SNAPSHOT + 3.0.1 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1-SNAPSHOT + 3.0.1 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5467d1716966..6edf62d03cd7 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.0.1-SNAPSHOT + 3.0.1 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7feec5e6eefa..39a6d64d870d 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.0.1-SNAPSHOT + 3.0.1 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.1-SNAPSHOT + 3.0.1 pom import com.google.cloud third-party-dependencies - 3.0.1-SNAPSHOT + 3.0.1 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ea454d97392b..d5549366d72f 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.0.1-SNAPSHOT + 3.0.1 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index da5775907b7d..473426656020 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.0.1-SNAPSHOT + 3.0.1 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1-SNAPSHOT + 3.0.1 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 2e30ba437e41..596e2c8d10b2 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.0:3.0.1-SNAPSHOT +google-cloud-shared-dependencies:3.0.1:3.0.1 From c6185d7044412a507ea2e7a82b8b1f9d6053e91d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 20:44:22 +0200 Subject: [PATCH 2447/3036] test(deps): update dependency org.objenesis:objenesis to v3.3 (#889) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.objenesis:objenesis](http://objenesis.org) ([source](https://togithub.com/easymock/objenesis)) | `3.2` -> `3.3` | [![age](https://badges.renovateapi.com/packages/maven/org.objenesis:objenesis/3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.objenesis:objenesis/3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.objenesis:objenesis/3.3/compatibility-slim/3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.objenesis:objenesis/3.3/confidence-slim/3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    easymock/objenesis ### [`v3.3`](https://togithub.com/easymock/objenesis/releases/tag/3.3) [Compare Source](https://togithub.com/easymock/objenesis/compare/3.2...3.3) - migrate from TravisCI to GitHub Actions ([#​88](https://togithub.com/easymock/objenesis/issues/88)) - `org.objenesis:objenesis-test` missing in Maven Central ([#​85](https://togithub.com/easymock/objenesis/issues/85)) - added instructions for running Android TCK for Windows users ([#​84](https://togithub.com/easymock/objenesis/issues/84)) - Copyright and Owner is missing in license ([#​83](https://togithub.com/easymock/objenesis/issues/83)) - add Dependabot ([#​77](https://togithub.com/easymock/objenesis/issues/77))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3fd152b750df..56e627077397 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -168,7 +168,7 @@ 4.3 3.0.2 1.6.0 - 3.2 + 3.3 2.14.0 2.9.1
    From 7a5bf6a5921e20628399b181ff2e1ef8a12ac6bc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 20:44:26 +0200 Subject: [PATCH 2448/3036] deps: update dependency io.grpc:grpc-stub to v1.48.1 (#398) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.48.0` -> `1.48.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.1/compatibility-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.48.1/confidence-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.1`](https://togithub.com/grpc/grpc-java/compare/v1.48.0...v1.48.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index bf08e692642d..d889a888fd27 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.48.0' + compile 'io.grpc:grpc-stub:1.48.1' compile 'io.grpc:grpc-protobuf:1.48.0' compile project(':proto-google-iam-v1') } From 9909a157b4d064f1b7a75b6c2236b184386dc8c0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 20:44:30 +0200 Subject: [PATCH 2449/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-2.0.0 (#396) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220710-1.32.1` -> `v3-rev20220710-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/compatibility-slim/v3-rev20220710-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220710-2.0.0/confidence-slim/v3-rev20220710-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 082543157f47..6a9615ccfa57 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220710-1.32.1 + v3-rev20220710-2.0.0 com.google.auth From 0999c025413d882e173973eed99f7f0285f7efdb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 20:52:33 +0200 Subject: [PATCH 2450/3036] deps: update dependency io.grpc:grpc-protobuf to v1.48.1 (#397) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.48.0` -> `1.48.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.1/compatibility-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.48.1/confidence-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.1`](https://togithub.com/grpc/grpc-java/compare/v1.48.0...v1.48.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index d889a888fd27..0cadb71ec6b2 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.48.1' - compile 'io.grpc:grpc-protobuf:1.48.0' + compile 'io.grpc:grpc-protobuf:1.48.1' compile project(':proto-google-iam-v1') } From 9bd24b41b711b6aead3716d34fdc1def94da82b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 2 Aug 2022 21:02:30 +0200 Subject: [PATCH 2451/3036] deps: update dependency io.grpc:grpc-bom to v1.48.1 (#891) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.48.0` -> `1.48.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/compatibility-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/confidence-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.1`](https://togithub.com/grpc/grpc-java/compare/v1.48.0...v1.48.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.48.0...v1.48.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 56e627077397..ac283f4d2d48 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.8.1 2.0.0 1.42.2 - 1.48.0 + 1.48.1 3.21.4 0.31.1 1.3.2 From 654e0664c463a9d5e1bdd461efec3ac71138f64c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 00:16:23 +0200 Subject: [PATCH 2452/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.1 (#399) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.0` -> `3.0.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/compatibility-slim/3.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.1/confidence-slim/3.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.0.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​301-httpsgithubcomgoogleapisjava-shared-dependenciescomparev300v301-2022-08-02) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.0...v3.0.1) ##### Dependencies - update dependency com.google.code.gson:gson to v2.9.1 ([#​766](https://togithub.com/googleapis/java-shared-dependencies/issues/766)) ([f7b2b06](https://togithub.com/googleapis/java-shared-dependencies/commit/f7b2b06b80e3e95ff8ab9b1d6a2638ef3069298a)) - update gax.version to v2.18.7 ([#​767](https://togithub.com/googleapis/java-shared-dependencies/issues/767)) ([9650368](https://togithub.com/googleapis/java-shared-dependencies/commit/96503682e98cdf348ea2c1365a03a60f4322c712)) - update google.core.version to v2.8.6 ([#​770](https://togithub.com/googleapis/java-shared-dependencies/issues/770)) ([cfd4377](https://togithub.com/googleapis/java-shared-dependencies/commit/cfd4377dc178cebb4724065d55d185ce03988d55))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1f67ce26f197..ab53cf344406 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.0 + 3.0.1 pom import From c1e697826ece73261a197240dcd533f84cc51691 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 00:56:15 +0200 Subject: [PATCH 2453/3036] deps: update dependency io.grpc:grpc-bom to v1.48.1 (#768) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.48.0` -> `1.48.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/compatibility-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.48.1/confidence-slim/1.48.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.48.1`](https://togithub.com/grpc/grpc-java/compare/v1.48.0...v1.48.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.48.0...v1.48.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 6edf62d03cd7..224d88adb8b3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.48.0 + 1.48.1 2.18.7 1.2.1 31.1-jre From 659d19f817bbb737a9cce41daf0fc9363801cb0c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 16:58:25 +0200 Subject: [PATCH 2454/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.9.0 (#894) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.8.1` -> `1.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/compatibility-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/confidence-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.9.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​190-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev181v190-2022-08-02) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.8.1...v1.9.0) ##### Features - integration tests for pluggable auth ([#​939](https://togithub.com/googleapis/google-auth-library-java/issues/939)) ([22f37aa](https://togithub.com/googleapis/google-auth-library-java/commit/22f37aa687b7ffb4209a131860ccdd02f6fc4d42)) ##### Bug Fixes - expiration time of the ImpersonatedCredentials token depending on the current host's timezone ([#​932](https://togithub.com/googleapis/google-auth-library-java/issues/932)) ([73af08a](https://togithub.com/googleapis/google-auth-library-java/commit/73af08a1c5f14e18936e9dbd3d1ba29c2675961d)) ##### Documentation - update wif documentation with enable-imdsv2 flag ([#​940](https://togithub.com/googleapis/google-auth-library-java/issues/940)) ([acc1ce3](https://togithub.com/googleapis/google-auth-library-java/commit/acc1ce3603435f1c0cf23b8606af71b05e566f2f))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ac283f4d2d48..260fa83bc327 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.2.1 2.9.2 1.5.2 - 1.8.1 + 1.9.0 2.0.0 1.42.2 1.48.1 From b58a93ce7f51585c0c8fc7e7419fa40946def0fb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 16:58:29 +0200 Subject: [PATCH 2455/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 (#400) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.8.1` -> `1.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/compatibility-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.9.0/confidence-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.9.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​190-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev181v190-2022-08-02) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.8.1...v1.9.0) ##### Features - integration tests for pluggable auth ([#​939](https://togithub.com/googleapis/google-auth-library-java/issues/939)) ([22f37aa](https://togithub.com/googleapis/google-auth-library-java/commit/22f37aa687b7ffb4209a131860ccdd02f6fc4d42)) ##### Bug Fixes - expiration time of the ImpersonatedCredentials token depending on the current host's timezone ([#​932](https://togithub.com/googleapis/google-auth-library-java/issues/932)) ([73af08a](https://togithub.com/googleapis/google-auth-library-java/commit/73af08a1c5f14e18936e9dbd3d1ba29c2675961d)) ##### Documentation - update wif documentation with enable-imdsv2 flag ([#​940](https://togithub.com/googleapis/google-auth-library-java/issues/940)) ([acc1ce3](https://togithub.com/googleapis/google-auth-library-java/commit/acc1ce3603435f1c0cf23b8606af71b05e566f2f))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 6a9615ccfa57..67cb9532a427 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.8.1 + 1.9.0 com.google.http-client From f59be02e224a74324fa7b711d059ebef7b147a90 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 16:58:33 +0200 Subject: [PATCH 2456/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.9.0 (#773) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.8.1` -> `1.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/compatibility-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.9.0/confidence-slim/1.8.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.9.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​190-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev181v190-2022-08-02) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.8.1...v1.9.0) ##### Features - integration tests for pluggable auth ([#​939](https://togithub.com/googleapis/google-auth-library-java/issues/939)) ([22f37aa](https://togithub.com/googleapis/google-auth-library-java/commit/22f37aa687b7ffb4209a131860ccdd02f6fc4d42)) ##### Bug Fixes - expiration time of the ImpersonatedCredentials token depending on the current host's timezone ([#​932](https://togithub.com/googleapis/google-auth-library-java/issues/932)) ([73af08a](https://togithub.com/googleapis/google-auth-library-java/commit/73af08a1c5f14e18936e9dbd3d1ba29c2675961d)) ##### Documentation - update wif documentation with enable-imdsv2 flag ([#​940](https://togithub.com/googleapis/google-auth-library-java/issues/940)) ([acc1ce3](https://togithub.com/googleapis/google-auth-library-java/commit/acc1ce3603435f1c0cf23b8606af71b05e566f2f))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 224d88adb8b3..f2d8d2290cfe 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.2.1 2.9.2 2.8.6 - 1.8.1 + 1.9.0 1.42.2 1.34.1 2.0.0 From 358c9ff0cb162ff0bfcc83cd95e51acd7b817f7d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 15:04:12 +0000 Subject: [PATCH 2457/3036] chore(main): release 2.8.7 (#895) :robot: I have created a release *beep* *boop* --- ## [2.8.7](https://github.com/googleapis/java-core/compare/v2.8.6...v2.8.7) (2022-08-03) ### Dependencies * update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#894](https://github.com/googleapis/java-core/issues/894)) ([659d19f](https://github.com/googleapis/java-core/commit/659d19f817bbb737a9cce41daf0fc9363801cb0c)) * update dependency io.grpc:grpc-bom to v1.48.1 ([#891](https://github.com/googleapis/java-core/issues/891)) ([9bd24b4](https://github.com/googleapis/java-core/commit/9bd24b41b711b6aead3716d34fdc1def94da82b4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 8c98e20ffc14..72637521f3d8 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.7](https://github.com/googleapis/java-core/compare/v2.8.6...v2.8.7) (2022-08-03) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#894](https://github.com/googleapis/java-core/issues/894)) ([82aaa16](https://github.com/googleapis/java-core/commit/82aaa16cd9813984a0c92d944eb1ad956759a8e5)) +* update dependency io.grpc:grpc-bom to v1.48.1 ([#891](https://github.com/googleapis/java-core/issues/891)) ([0b0f9b8](https://github.com/googleapis/java-core/commit/0b0f9b89757b801e8334c764644d7b66032d36d1)) + ## [2.8.6](https://github.com/googleapis/java-core/compare/v2.8.5...v2.8.6) (2022-08-02) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index f49a34933d3b..16f6aba66ab2 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.7-SNAPSHOT + 2.8.7 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.7-SNAPSHOT + 2.8.7 com.google.cloud google-cloud-core-grpc - 2.8.7-SNAPSHOT + 2.8.7 com.google.cloud google-cloud-core-http - 2.8.7-SNAPSHOT + 2.8.7 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b3a9d20d5775..9f9392761b63 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.8.7-SNAPSHOT + 2.8.7 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.7-SNAPSHOT + 2.8.7 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 1c177c2c037c..48cc1e64aa31 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.8.7-SNAPSHOT + 2.8.7 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.7-SNAPSHOT + 2.8.7 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 5357501f0729..ac567395e52e 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.8.7-SNAPSHOT + 2.8.7 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.7-SNAPSHOT + 2.8.7 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 260fa83bc327..b101ff492635 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.7-SNAPSHOT + 2.8.7 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7a942adc0ab0..b80082454b64 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.6:2.8.7-SNAPSHOT +google-cloud-core:2.8.7:2.8.7 From 63ed03d4168faf57ab4fc13cb64d8b2e64799d07 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 15:10:13 +0000 Subject: [PATCH 2458/3036] chore(main): release 2.8.8-SNAPSHOT (#896) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 16f6aba66ab2..c27def53fa96 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.7 + 2.8.8-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.7 + 2.8.8-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.7 + 2.8.8-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.7 + 2.8.8-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9f9392761b63..deafe3e33dfd 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.8.7 + 2.8.8-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.7 + 2.8.8-SNAPSHOT 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 48cc1e64aa31..26e0269afd68 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.8.7 + 2.8.8-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.7 + 2.8.8-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ac567395e52e..833c5c83cf1e 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.8.7 + 2.8.8-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.7 + 2.8.8-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b101ff492635..507da56d6bf2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.7 + 2.8.8-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index b80082454b64..f035bf833ed7 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.7:2.8.7 +google-cloud-core:2.8.7:2.8.8-SNAPSHOT From fe1b069385469e0bad74c45c4a8d36f30f8736cb Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Wed, 3 Aug 2022 11:14:16 -0400 Subject: [PATCH 2459/3036] ci: downstream check for native image tests (#771) --- .../workflows/downstream-native-image.yaml | 41 +++++++++++++++++++ .../.github/workflows/downstream.yaml | 2 +- .../downstream-client-library-check.sh | 9 ++-- 3 files changed, 47 insertions(+), 5 deletions(-) create mode 100644 java-shared-dependencies/.github/workflows/downstream-native-image.yaml diff --git a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml new file mode 100644 index 000000000000..0439456aabb0 --- /dev/null +++ b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml @@ -0,0 +1,41 @@ +on: + push: + branches: + - main + pull_request: + +# Keeping this file separate as the dependencies check would use more +# repositories than needed this downstream check for GraalVM native image +# compilation. +name: downstream +jobs: + # GraalVM job ensures the compatibility of GraaVM version + graalvm: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + graalvm: [22.1.0] + java: [11, 17] + repo: + # GAPIC library that doesn't use a real GCP project in integration tests + - orgpolicy + steps: + - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 + - uses: ayltai/setup-graalvm@v1 + with: + java-version: ${{matrix.java}} + # When a new version of native-maven-plugin fails to run in a downstream + # library, it's likely to be an incompatibility with the GraalVM version. + # In that case, you need to upgrade the Docker container used in the + # tests in the downstream repositories (not just this value below). + # Example: https://github.com/googleapis/testing-infra-docker/pull/195 + graalvm-version: ${{matrix.graalvm}} + native-image: true + - run: java -version + - run: sudo apt-get update -y + - run: sudo apt-get install libxml2-utils + - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} graalvm \ No newline at end of file diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml index 4b3d0022de22..000fa0d5c5b7 100644 --- a/java-shared-dependencies/.github/workflows/downstream.yaml +++ b/java-shared-dependencies/.github/workflows/downstream.yaml @@ -156,4 +156,4 @@ jobs: - run: java -version - run: sudo apt-get update -y - run: sudo apt-get install libxml2-utils - - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} + - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} test diff --git a/java-shared-dependencies/.kokoro/downstream-client-library-check.sh b/java-shared-dependencies/.kokoro/downstream-client-library-check.sh index b17b020b72fc..49574cee47dd 100755 --- a/java-shared-dependencies/.kokoro/downstream-client-library-check.sh +++ b/java-shared-dependencies/.kokoro/downstream-client-library-check.sh @@ -18,6 +18,9 @@ set -eo pipefail set -x CLIENT_LIBRARY=$1 + +# Example JOB_TYPE: "test" or "graalvm" +export JOB_TYPE=$2 ## Get the directory of the build script scriptDir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")" ## cd to the parent directory, i.e. the root of the git repo @@ -59,7 +62,5 @@ if [[ $CLIENT_LIBRARY == "bigtable" ]]; then popd fi -mvn verify install -B -V -ntp -fae \ --Dmaven.javadoc.skip=true \ --Dgcloud.download.skip=true \ --Denforcer.skip=true +# This reads the JOB_TYPE environmental variable ("test" or "graalvm") +.kokoro/build.sh From 0c8e0106b4a571fe3d4a3fc3ea55e0aef9a5d938 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 3 Aug 2022 21:40:20 +0200 Subject: [PATCH 2460/3036] deps: update google.core.version to v2.8.7 (#774) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.6` -> `2.8.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/compatibility-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.7/confidence-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.6` -> `2.8.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.7/compatibility-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.7/confidence-slim/2.8.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.7`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​287-httpsgithubcomgoogleapisjava-corecomparev286v287-2022-08-03) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.6...v2.8.7) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#​894](https://togithub.com/googleapis/java-core/issues/894)) ([82aaa16](https://togithub.com/googleapis/java-core/commit/82aaa16cd9813984a0c92d944eb1ad956759a8e5)) - update dependency io.grpc:grpc-bom to v1.48.1 ([#​891](https://togithub.com/googleapis/java-core/issues/891)) ([0b0f9b8](https://togithub.com/googleapis/java-core/commit/0b0f9b89757b801e8334c764644d7b66032d36d1))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index f2d8d2290cfe..11e23ba7c71f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.4 2.2.1 2.9.2 - 2.8.6 + 2.8.7 1.9.0 1.42.2 1.34.1 From 481ef94f2809fc1c94fc9ffabc403bbb6da25e0b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 07:04:14 +0200 Subject: [PATCH 2461/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.15.0 (#897) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.14.0` -> `2.15.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/compatibility-slim/2.14.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/confidence-slim/2.14.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.15.0`](https://togithub.com/google/error-prone/releases/tag/v2.15.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.14.0...v2.15.0) New Checkers: - [`BuilderReturnThis`](https://errorprone.info/bugpattern/BuilderReturnThis) - [`CanIgnoreReturnValueSuggester`](https://errorprone.info/bugpattern/CanIgnoreReturnValueSuggester) - [`CannotMockFinalClass`](https://errorprone.info/bugpattern/CannotMockFinalClass) - [`CannotMockFinalMethod`](https://errorprone.info/bugpattern/CannotMockFinalMethod) - [`DirectInvocationOnMock`](https://errorprone.info/bugpattern/DirectInvocationOnMock) - [`ExtendsObject`](https://errorprone.info/bugpattern/ExtendsObject) - [`MockNotUsedInProduction`](https://errorprone.info/bugpattern/MockNotUsedInProduction) - [`NoCanIgnoreReturnValueOnClasses`](https://errorprone.info/bugpattern/NoCanIgnoreReturnValueOnClasses) - [`NullArgumentForNonNullParameter`](https://errorprone.info/bugpattern/NullArgumentForNonNullParameter) - [`SelfAlwaysReturnsThis`](https://errorprone.info/bugpattern/SelfAlwaysReturnsThis) - [`UnsafeWildcard`](https://errorprone.info/bugpattern/UnsafeWildcard) - [`UnusedTypeParameter`](https://errorprone.info/bugpattern/UnusedTypeParameter) Fixed issues: [#​1562](https://togithub.com/google/error-prone/issues/1562), [#​3236](https://togithub.com/google/error-prone/issues/3236), [#​3245](https://togithub.com/google/error-prone/issues/3245), [#​3321](https://togithub.com/google/error-prone/issues/3321) **Full Changelog**: https://github.com/google/error-prone/compare/v2.14.0...v2.15.0
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 507da56d6bf2..b5b609747804 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.6.0 3.3 - 2.14.0 + 2.15.0 2.9.1
    From 4bb5beeef947835e68457ef4ddd35a9e2955e32f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 07:04:34 +0200 Subject: [PATCH 2462/3036] deps: update dependency org.checkerframework:checker-qual to v3.24.0 (#775) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.checkerframework:checker-qual](https://checkerframework.org) ([source](https://togithub.com/typetools/checker-framework)) | `3.23.0` -> `3.24.0` | [![age](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.24.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.24.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.24.0/compatibility-slim/3.23.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.24.0/confidence-slim/3.23.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index d5549366d72f..1a1d087128d3 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.23.0 + 3.24.0 0.25.0
    From 8eddf2308321a19d4304ba6d7972335df2478997 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 07:06:25 +0200 Subject: [PATCH 2463/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.15.0 (#776) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.14.0` -> `2.15.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/compatibility-slim/2.14.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.15.0/confidence-slim/2.14.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.15.0`](https://togithub.com/google/error-prone/releases/tag/v2.15.0) [Compare Source](https://togithub.com/google/error-prone/compare/v2.14.0...v2.15.0) New Checkers: - [`BuilderReturnThis`](https://errorprone.info/bugpattern/BuilderReturnThis) - [`CanIgnoreReturnValueSuggester`](https://errorprone.info/bugpattern/CanIgnoreReturnValueSuggester) - [`CannotMockFinalClass`](https://errorprone.info/bugpattern/CannotMockFinalClass) - [`CannotMockFinalMethod`](https://errorprone.info/bugpattern/CannotMockFinalMethod) - [`DirectInvocationOnMock`](https://errorprone.info/bugpattern/DirectInvocationOnMock) - [`ExtendsObject`](https://errorprone.info/bugpattern/ExtendsObject) - [`MockNotUsedInProduction`](https://errorprone.info/bugpattern/MockNotUsedInProduction) - [`NoCanIgnoreReturnValueOnClasses`](https://errorprone.info/bugpattern/NoCanIgnoreReturnValueOnClasses) - [`NullArgumentForNonNullParameter`](https://errorprone.info/bugpattern/NullArgumentForNonNullParameter) - [`SelfAlwaysReturnsThis`](https://errorprone.info/bugpattern/SelfAlwaysReturnsThis) - [`UnsafeWildcard`](https://errorprone.info/bugpattern/UnsafeWildcard) - [`UnusedTypeParameter`](https://errorprone.info/bugpattern/UnusedTypeParameter) Fixed issues: [#​1562](https://togithub.com/google/error-prone/issues/1562), [#​3236](https://togithub.com/google/error-prone/issues/3236), [#​3245](https://togithub.com/google/error-prone/issues/3245), [#​3321](https://togithub.com/google/error-prone/issues/3321) **Full Changelog**: https://github.com/google/error-prone/compare/v2.14.0...v2.15.0
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 1a1d087128d3..736bb5c6385e 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 1.21 0.31.1 3.0.2 - 2.14.0 + 2.15.0 2.13.3 1.15 4.4.15 From cbd0221b33bfa9c6fed5a090890236e864bf806e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 4 Aug 2022 05:12:13 +0000 Subject: [PATCH 2464/3036] chore(main): release 2.8.8 (#898) :robot: I have created a release *beep* *boop* --- ## [2.8.8](https://github.com/googleapis/java-core/compare/v2.8.7...v2.8.8) (2022-08-04) ### Dependencies * update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#897](https://github.com/googleapis/java-core/issues/897)) ([481ef94](https://github.com/googleapis/java-core/commit/481ef94f2809fc1c94fc9ffabc403bbb6da25e0b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 72637521f3d8..d726565bfbd9 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.8](https://github.com/googleapis/java-core/compare/v2.8.7...v2.8.8) (2022-08-04) + + +### Dependencies + +* update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#897](https://github.com/googleapis/java-core/issues/897)) ([29e4fc9](https://github.com/googleapis/java-core/commit/29e4fc93d5d4d50f7de85eae7a8150314cca6f43)) + ## [2.8.7](https://github.com/googleapis/java-core/compare/v2.8.6...v2.8.7) (2022-08-03) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index c27def53fa96..183ffe215291 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.8-SNAPSHOT + 2.8.8 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.8-SNAPSHOT + 2.8.8 com.google.cloud google-cloud-core-grpc - 2.8.8-SNAPSHOT + 2.8.8 com.google.cloud google-cloud-core-http - 2.8.8-SNAPSHOT + 2.8.8 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index deafe3e33dfd..c6c4e641dac0 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.8.8-SNAPSHOT + 2.8.8 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.8-SNAPSHOT + 2.8.8 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 26e0269afd68..98a0c71421f0 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.8.8-SNAPSHOT + 2.8.8 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.8-SNAPSHOT + 2.8.8 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 833c5c83cf1e..f87ff38dc661 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.8.8-SNAPSHOT + 2.8.8 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.8-SNAPSHOT + 2.8.8 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b5b609747804..fcf0b6288d78 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.8-SNAPSHOT + 2.8.8 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index f035bf833ed7..a78a35d65b54 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.7:2.8.8-SNAPSHOT +google-cloud-core:2.8.8:2.8.8 From 9421e341945dfb0c5be4707be5420ae6027b9449 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 4 Aug 2022 05:18:14 +0000 Subject: [PATCH 2465/3036] chore(main): release 2.8.9-SNAPSHOT (#899) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 183ffe215291..3afc12e8abfc 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.8 + 2.8.9-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.8 + 2.8.9-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.8 + 2.8.9-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.8 + 2.8.9-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c6c4e641dac0..c7b99bd6fdc4 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.8.8 + 2.8.9-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.8 + 2.8.9-SNAPSHOT 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 98a0c71421f0..a1569efd4078 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.8.8 + 2.8.9-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.8 + 2.8.9-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index f87ff38dc661..a55474685c91 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.8.8 + 2.8.9-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.8 + 2.8.9-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index fcf0b6288d78..f4d8d23582d7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.8 + 2.8.9-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index a78a35d65b54..c9c5aa31caea 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.8:2.8.8 +google-cloud-core:2.8.8:2.8.9-SNAPSHOT From 47bb6ba56afa01f18f2c15aa58fd647f6e9510e8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 19:10:24 +0200 Subject: [PATCH 2466/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220731-2.0.0 (#402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220710-2.0.0` -> `v3-rev20220731-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/compatibility-slim/v3-rev20220710-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220731-2.0.0/confidence-slim/v3-rev20220710-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 67cb9532a427..c193d8f55322 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220710-2.0.0 + v3-rev20220731-2.0.0 com.google.auth From e354fe1d30f91d796b16d0c3b79f2ba56daafeee Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Aug 2022 19:12:18 +0200 Subject: [PATCH 2467/3036] deps: update google.core.version to v2.8.8 (#777) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.7` -> `2.8.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.7` -> `2.8.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.8/compatibility-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.8/confidence-slim/2.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.8`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​288-httpsgithubcomgoogleapisjava-corecomparev287v288-2022-08-04) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.7...v2.8.8) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​897](https://togithub.com/googleapis/java-core/issues/897)) ([29e4fc9](https://togithub.com/googleapis/java-core/commit/29e4fc93d5d4d50f7de85eae7a8150314cca6f43))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 11e23ba7c71f..ddadbb9d9f12 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.4 2.2.1 2.9.2 - 2.8.7 + 2.8.8 1.9.0 1.42.2 1.34.1 From 0de8b6a6a67bf8832c6b863fb139480bd3aa27a5 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Fri, 5 Aug 2022 04:38:25 +0530 Subject: [PATCH 2468/3036] docs(samples): update param values (#401) --- .../cloud-client/snippets/src/main/java/CreateDenyPolicy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java index a41b6fc1c30d..5cbc966e165f 100644 --- a/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ b/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -36,10 +36,10 @@ public static void main(String[] args) throws IOException, ExecutionException, InterruptedException, TimeoutException { // TODO(developer): Replace these variables before running the sample. // ID or number of the Google Cloud project you want to use. - String projectId = "sitalakshmi-deny"; + String projectId = "your-google-cloud-project-id"; // Specify the id of the Deny policy you want to create. - String policyId = "deny-policy-id-1"; + String policyId = "deny-policy-id"; createDenyPolicy(projectId, policyId); } From a73c07e722ded5de8300e8d15f03386054d5220a Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 5 Aug 2022 11:49:42 -0400 Subject: [PATCH 2469/3036] ci: run downstream native image tests (#779) * ci: running downstream native image tests * docs: updated comments --- .../.github/workflows/downstream-native-image.yaml | 4 ++-- .../.kokoro/downstream-client-library-check.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml index 0439456aabb0..1c06db693765 100644 --- a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml +++ b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml @@ -7,7 +7,7 @@ on: # Keeping this file separate as the dependencies check would use more # repositories than needed this downstream check for GraalVM native image # compilation. -name: downstream +name: downstream-native-image jobs: # GraalVM job ensures the compatibility of GraaVM version graalvm: @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - graalvm: [22.1.0] + graalvm: [22.1.0, 22.0.0.2, 21.3.2] java: [11, 17] repo: # GAPIC library that doesn't use a real GCP project in integration tests diff --git a/java-shared-dependencies/.kokoro/downstream-client-library-check.sh b/java-shared-dependencies/.kokoro/downstream-client-library-check.sh index 49574cee47dd..5dd5a94c6edb 100755 --- a/java-shared-dependencies/.kokoro/downstream-client-library-check.sh +++ b/java-shared-dependencies/.kokoro/downstream-client-library-check.sh @@ -62,5 +62,9 @@ if [[ $CLIENT_LIBRARY == "bigtable" ]]; then popd fi +# We don't want to fail the test due to enforcer rule, before running GraalVM +# tests. Checking GraalVM buidl result is more important. +export INTEGRATION_TEST_ARGS="-Denforcer.skip=true" + # This reads the JOB_TYPE environmental variable ("test" or "graalvm") .kokoro/build.sh From 3ce39b5627351f6a00df060301fe474b5de7490a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 12 Aug 2022 12:46:11 +0000 Subject: [PATCH 2470/3036] chore(main): release 1.5.3-SNAPSHOT (#384) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 12 ++++++------ java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 10 +++++----- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 9d3c1495456f..ea654d67d7c3 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.5.2 + 1.5.3-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.5.2 + 1.5.3-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 82ca56489618..825a4ca0cd73 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.5.2 + 1.5.3-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2 + 1.5.3-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 69c4bb8bc492..909fe96e1439 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.5.2 + 1.5.3-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2 + 1.5.3-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index ab53cf344406..dfe9285aac14 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.5.2 + 1.5.3-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,27 +77,27 @@ com.google.cloud google-iam-policy - 1.5.2 + 1.5.3-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.5.2 + 1.5.3-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.5.2 + 1.5.3-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.5.2 + 1.5.3-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.5.2 + 1.5.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 2e9ce5239789..c1e7b53597b9 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.5.2 + 1.5.3-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2 + 1.5.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 9f30461e0cca..28a596c9a7f6 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.5.2 + 1.5.3-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.2 + 1.5.3-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 6e73222261a3..8f0502c0da7d 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.5.2:1.5.2 -grpc-google-iam-v1:1.5.2:1.5.2 -proto-google-iam-v2beta:1.5.2:1.5.2 -grpc-google-iam-v2beta:1.5.2:1.5.2 -google-iam-policy:1.5.2:1.5.2 +proto-google-iam-v1:1.5.2:1.5.3-SNAPSHOT +grpc-google-iam-v1:1.5.2:1.5.3-SNAPSHOT +proto-google-iam-v2beta:1.5.2:1.5.3-SNAPSHOT +grpc-google-iam-v2beta:1.5.2:1.5.3-SNAPSHOT +google-iam-policy:1.5.2:1.5.3-SNAPSHOT From 35d528cb5995bc793cc7091343c0694398a89f1b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 17:44:22 +0200 Subject: [PATCH 2471/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220807-2.0.0 (#407) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220731-2.0.0` -> `v3-rev20220807-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/compatibility-slim/v3-rev20220731-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220807-2.0.0/confidence-slim/v3-rev20220731-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index c193d8f55322..9f3b5dce58ca 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220731-2.0.0 + v3-rev20220807-2.0.0 com.google.auth From 843b39cc878019b637ae92cfe16cfe87fda495bf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 17:50:25 +0200 Subject: [PATCH 2472/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.5 (#901) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.4` -> `3.21.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/compatibility-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/confidence-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.5`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.4...v3.21.5) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.4...v3.21.5)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f4d8d23582d7..fe14730ba28a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.0 1.42.2 1.48.1 - 3.21.4 + 3.21.5 0.31.1 1.3.2 31.1-jre From 80c783ffefa909808762729e59ae8cd6f2e4a7a6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 17:52:14 +0200 Subject: [PATCH 2473/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.5 (#780) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.4` -> `3.21.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/compatibility-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.5/confidence-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.5`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.4...v3.21.5) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.4...v3.21.5)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ddadbb9d9f12..375fa4b48d86 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.18.7 1.2.1 31.1-jre - 3.21.4 + 3.21.5 2.2.1 2.9.2 2.8.8 From 5ad6e693703dd00ed879eaf0d95f42f55e5a604b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 17:56:29 +0200 Subject: [PATCH 2474/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#409) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.0.0` -> `26.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/compatibility-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/confidence-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 9f3b5dce58ca..2d5fe87d8e04 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 26.0.0 + 26.1.0
    From 30717c3bd29c0eabd631d93ad02d456a36297940 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 18:00:25 +0200 Subject: [PATCH 2475/3036] deps: update dependency org.threeten:threetenbp to v1.6.1 (#782) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.0` -> `1.6.1` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.1`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.1) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.0...v1.6.1) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 736bb5c6385e..6eb61b0d18ef 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -58,7 +58,7 @@ ${project.artifactId} 2.9.1 - 1.6.0 + 1.6.1 1.3.2 1.21 0.31.1 From 3a22cddd0aeda34a6c6670cbda767bbd1773d6cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 18:00:25 +0200 Subject: [PATCH 2476/3036] deps: update dependency org.threeten:threetenbp to v1.6.1 (#902) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.0` -> `1.6.1` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.1/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.1`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.1) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.0...v1.6.1) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index fe14730ba28a..38bcf19f7a4b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.1.3 4.3 3.0.2 - 1.6.0 + 1.6.1 3.3 2.15.0 2.9.1 From 450a3fe0fcfcd496482f8f0985af2116fa000013 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 18:02:12 +0200 Subject: [PATCH 2477/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.10.0 (#781) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.9.0` -> `1.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/compatibility-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/confidence-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.10.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1100-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev190v1100-2022-08-05) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.9.0...v1.10.0) ##### Features - workforce identity federation for pluggable auth ([#​959](https://togithub.com/googleapis/google-auth-library-java/issues/959)) ([7f2c535](https://togithub.com/googleapis/google-auth-library-java/commit/7f2c535ab7c842a672d6761f4cd80df88e1a37ed)) ##### Bug Fixes - updates executable response spec for executable-sourced credentials ([#​955](https://togithub.com/googleapis/google-auth-library-java/issues/955)) ([48ff83d](https://togithub.com/googleapis/google-auth-library-java/commit/48ff83dc68e29dcae07fdea963cbbe5525f86a89)) ##### Documentation - **samples:** added auth samples and tests ([#​927](https://togithub.com/googleapis/google-auth-library-java/issues/927)) ([32c717f](https://togithub.com/googleapis/google-auth-library-java/commit/32c717fdf1a721f3e7ca3d75f03fcc229923689c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 375fa4b48d86..e71fa6f399db 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.2.1 2.9.2 2.8.8 - 1.9.0 + 1.10.0 1.42.2 1.34.1 2.0.0 From 7f32e7f5d6691568944263f94b4aa5c1b3d91d52 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 18:18:20 +0200 Subject: [PATCH 2478/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.5 (#405) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.4` -> `3.21.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.5/compatibility-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.5/confidence-slim/3.21.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 7b165054d36b..be64827e3f32 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.4' + compile 'com.google.protobuf:protobuf-java:3.21.5' compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From e887e1b5cd7473739b2fbc42786b10edde5e8024 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 18:48:21 +0200 Subject: [PATCH 2479/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 (#406) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.9.0` -> `1.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/compatibility-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.10.0/confidence-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.10.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1100-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev190v1100-2022-08-05) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.9.0...v1.10.0) ##### Features - workforce identity federation for pluggable auth ([#​959](https://togithub.com/googleapis/google-auth-library-java/issues/959)) ([7f2c535](https://togithub.com/googleapis/google-auth-library-java/commit/7f2c535ab7c842a672d6761f4cd80df88e1a37ed)) ##### Bug Fixes - updates executable response spec for executable-sourced credentials ([#​955](https://togithub.com/googleapis/google-auth-library-java/issues/955)) ([48ff83d](https://togithub.com/googleapis/google-auth-library-java/commit/48ff83dc68e29dcae07fdea963cbbe5525f86a89)) ##### Documentation - **samples:** added auth samples and tests ([#​927](https://togithub.com/googleapis/google-auth-library-java/issues/927)) ([32c717f](https://togithub.com/googleapis/google-auth-library-java/commit/32c717fdf1a721f3e7ca3d75f03fcc229923689c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 2d5fe87d8e04..b9e512fbac5b 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.9.0 + 1.10.0 com.google.http-client From 8e89e254e3bb534a24214cb70f09ecab8418a148 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 19:26:14 +0200 Subject: [PATCH 2480/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.10.0 (#900) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.9.0` -> `1.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/compatibility-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.10.0/confidence-slim/1.9.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.10.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1100-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev190v1100-2022-08-05) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.9.0...v1.10.0) ##### Features - workforce identity federation for pluggable auth ([#​959](https://togithub.com/googleapis/google-auth-library-java/issues/959)) ([7f2c535](https://togithub.com/googleapis/google-auth-library-java/commit/7f2c535ab7c842a672d6761f4cd80df88e1a37ed)) ##### Bug Fixes - updates executable response spec for executable-sourced credentials ([#​955](https://togithub.com/googleapis/google-auth-library-java/issues/955)) ([48ff83d](https://togithub.com/googleapis/google-auth-library-java/commit/48ff83dc68e29dcae07fdea963cbbe5525f86a89)) ##### Documentation - **samples:** added auth samples and tests ([#​927](https://togithub.com/googleapis/google-auth-library-java/issues/927)) ([32c717f](https://togithub.com/googleapis/google-auth-library-java/commit/32c717fdf1a721f3e7ca3d75f03fcc229923689c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 38bcf19f7a4b..ce212e3b3dd2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.2.1 2.9.2 1.5.2 - 1.9.0 + 1.10.0 2.0.0 1.42.2 1.48.1 From 687872cd4bea9f3884d4378ca6c65d8e2ca5adec Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 16 Aug 2022 17:34:49 +0000 Subject: [PATCH 2481/3036] chore(main): release 2.8.9 (#905) :robot: I have created a release *beep* *boop* --- ## [2.8.9](https://github.com/googleapis/java-core/compare/v2.8.8...v2.8.9) (2022-08-16) ### Dependencies * update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#900](https://github.com/googleapis/java-core/issues/900)) ([8e89e25](https://github.com/googleapis/java-core/commit/8e89e254e3bb534a24214cb70f09ecab8418a148)) * update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#901](https://github.com/googleapis/java-core/issues/901)) ([843b39c](https://github.com/googleapis/java-core/commit/843b39cc878019b637ae92cfe16cfe87fda495bf)) * update dependency org.threeten:threetenbp to v1.6.1 ([#902](https://github.com/googleapis/java-core/issues/902)) ([3a22cdd](https://github.com/googleapis/java-core/commit/3a22cddd0aeda34a6c6670cbda767bbd1773d6cb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 9 +++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index d726565bfbd9..f445774d8897 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [2.8.9](https://github.com/googleapis/java-core/compare/v2.8.8...v2.8.9) (2022-08-16) + + +### Dependencies + +* update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#900](https://github.com/googleapis/java-core/issues/900)) ([c01b47a](https://github.com/googleapis/java-core/commit/c01b47a122a9036f8c594cb583dab3512a257597)) +* update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#901](https://github.com/googleapis/java-core/issues/901)) ([13e2fd6](https://github.com/googleapis/java-core/commit/13e2fd6fbae1d34385ec500aaf4a2b38e19dd6de)) +* update dependency org.threeten:threetenbp to v1.6.1 ([#902](https://github.com/googleapis/java-core/issues/902)) ([02dac62](https://github.com/googleapis/java-core/commit/02dac62784a6614291836917b022a32745312157)) + ## [2.8.8](https://github.com/googleapis/java-core/compare/v2.8.7...v2.8.8) (2022-08-04) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3afc12e8abfc..acddc4729785 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.9-SNAPSHOT + 2.8.9 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.9-SNAPSHOT + 2.8.9 com.google.cloud google-cloud-core-grpc - 2.8.9-SNAPSHOT + 2.8.9 com.google.cloud google-cloud-core-http - 2.8.9-SNAPSHOT + 2.8.9
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c7b99bd6fdc4..2c673ce48c12 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.8.9-SNAPSHOT + 2.8.9 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.9-SNAPSHOT + 2.8.9 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 a1569efd4078..73812c37a708 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.8.9-SNAPSHOT + 2.8.9 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.9-SNAPSHOT + 2.8.9 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a55474685c91..738ad37d4263 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.8.9-SNAPSHOT + 2.8.9 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.9-SNAPSHOT + 2.8.9 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index ce212e3b3dd2..2fe3bdc22767 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.9-SNAPSHOT + 2.8.9 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c9c5aa31caea..16fd76926e1b 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.8:2.8.9-SNAPSHOT +google-cloud-core:2.8.9:2.8.9 From 94e23c3dff9cfee260ecec4dbad2ef02f4764e34 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 19:44:15 +0200 Subject: [PATCH 2482/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.1 (#903) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) ([source](https://togithub.com/apache/maven-javadoc-plugin)) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2fe3bdc22767..1c8deceb4ccf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -356,7 +356,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.4.0 + 3.4.1 html From 2bbce35ca3fa44b14581104aeb35e08420f1e9f5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 20:02:19 +0200 Subject: [PATCH 2483/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.1 (#904) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) ([source](https://togithub.com/apache/maven-project-info-reports-plugin)) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1c8deceb4ccf..9b63865c1127 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -329,7 +329,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.0 + 3.4.1 From 87ebb28d7498165a294f29436e11c58a2799c291 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 20:04:15 +0200 Subject: [PATCH 2484/3036] build(deps): update dependency org.codehaus.mojo:animal-sniffer-annotations to v1.22 (#783) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.codehaus.mojo:animal-sniffer-annotations](https://www.mojohaus.org/animal-sniffer) ([source](https://togithub.com/mojohaus/animal-sniffer)) | `1.21` -> `1.22` | [![age](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:animal-sniffer-annotations/1.22/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:animal-sniffer-annotations/1.22/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:animal-sniffer-annotations/1.22/compatibility-slim/1.21)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.codehaus.mojo:animal-sniffer-annotations/1.22/confidence-slim/1.21)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 6eb61b0d18ef..cf375bb24b0a 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 2.9.1 1.6.1 1.3.2 - 1.21 + 1.22 0.31.1 3.0.2 2.15.0 From 10b62925e9a130e7ca219fa26c1445f268f80db6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 16 Aug 2022 18:48:13 +0000 Subject: [PATCH 2485/3036] chore(main): release 2.8.10-SNAPSHOT (#906) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index acddc4729785..96cb0eb0a428 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.9 + 2.8.10-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.9 + 2.8.10-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.9 + 2.8.10-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.9 + 2.8.10-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2c673ce48c12..92f62112d0c0 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.8.9 + 2.8.10-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.9 + 2.8.10-SNAPSHOT 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 73812c37a708..6e0f31d43bee 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.8.9 + 2.8.10-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.9 + 2.8.10-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 738ad37d4263..6caad292c3ab 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.8.9 + 2.8.10-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.9 + 2.8.10-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9b63865c1127..340ad87ba0a5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.9 + 2.8.10-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 16fd76926e1b..58f325653003 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.9:2.8.9 +google-cloud-core:2.8.9:2.8.10-SNAPSHOT From 07599e5e56bbd3f7bb7212213138c60462873ee5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 20:54:18 +0200 Subject: [PATCH 2486/3036] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.1 (#410) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) ([source](https://togithub.com/apache/maven-javadoc-plugin)) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index dfe9285aac14..1cca39f917ec 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -149,7 +149,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.4.0 + 3.4.1 html From 56cd6e959998a8933ee1be0512eb6e5c32cf9c28 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 21:12:21 +0200 Subject: [PATCH 2487/3036] deps: update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-2.0.0 (#403) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-iam](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v2beta-rev20220713-1.32.1` -> `v2beta-rev20220713-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/compatibility-slim/v2beta-rev20220713-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iam/v2beta-rev20220713-2.0.0/confidence-slim/v2beta-rev20220713-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index b9e512fbac5b..4ee2f683e635 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.apis google-api-services-iam - v2beta-rev20220713-1.32.1 + v2beta-rev20220713-2.0.0 com.google.apis From 09ac76b80865414a3af30e6bbecea860c470b487 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 23:34:17 +0200 Subject: [PATCH 2488/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.1 (#411) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.4.0` -> `3.4.1` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/compatibility-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.1/confidence-slim/3.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1cca39f917ec..25f33d800caf 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -122,7 +122,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.0 + 3.4.1 From a9847d793d7391ec6b24a9ba26a888a8e92027f6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Aug 2022 17:39:53 +0200 Subject: [PATCH 2489/3036] deps: update google.core.version to v2.8.9 (#784) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e71fa6f399db..9548324ff370 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.5 2.2.1 2.9.2 - 2.8.8 + 2.8.9 1.10.0 1.42.2 1.34.1 From d7a6af4134ff5c3e0d1e7df072f99537e186747e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 18 Aug 2022 15:50:22 +0200 Subject: [PATCH 2490/3036] deps: update dependency com.google.apis:google-api-services-iamcredentials to v1-rev20211203-2.0.0 (#404) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-iamcredentials](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v1-rev20211203-1.32.1` -> `v1-rev20211203-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/compatibility-slim/v1-rev20211203-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-iamcredentials/v1-rev20211203-2.0.0/confidence-slim/v1-rev20211203-1.32.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 4ee2f683e635..90492bf706ef 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -46,7 +46,7 @@ com.google.apis google-api-services-iamcredentials - v1-rev20211203-1.32.1 + v1-rev20211203-2.0.0 From b5a674e36bb98233395c47c52cd2b4e878fbbb97 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 23 Aug 2022 23:54:11 +0200 Subject: [PATCH 2491/3036] deps: update gax.version to v2.19.0 (#785) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.18.7` -> `2.19.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.0/compatibility-slim/2.18.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.0/confidence-slim/2.18.7)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.18.7` -> `2.19.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/compatibility-slim/2.18.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/confidence-slim/2.18.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.19.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2190-httpsgithubcomgoogleapisgax-javacomparev2187v2190-2022-08-22) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.18.7...v2.19.0) ##### Features - Add numeric enum support. ([#​1743](https://togithub.com/googleapis/gax-java/issues/1743)) ([3f7628e](https://togithub.com/googleapis/gax-java/commit/3f7628e27495806675ec8c8521e9c33725908936)) ##### Bug Fixes - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.10.0 ([#​1768](https://togithub.com/googleapis/gax-java/issues/1768)) ([3f2188d](https://togithub.com/googleapis/gax-java/commit/3f2188d83751272de1a4c3db85e95d79b690e3fc)) - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.9.0 ([#​1765](https://togithub.com/googleapis/gax-java/issues/1765)) ([103db3c](https://togithub.com/googleapis/gax-java/commit/103db3cc06cfaafeda1a043b6e19e668083ed782)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 ([#​1769](https://togithub.com/googleapis/gax-java/issues/1769)) ([0b1eb92](https://togithub.com/googleapis/gax-java/commit/0b1eb924aefc79b6fc4757d253d4c8a93a094c84)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 ([#​1766](https://togithub.com/googleapis/gax-java/issues/1766)) ([2677f07](https://togithub.com/googleapis/gax-java/commit/2677f07a8e20c82403f60c6aa1f9d46c1274b37f)) - **deps:** update dependency com.google.code.gson:gson to v2.9.1 ([#​1757](https://togithub.com/googleapis/gax-java/issues/1757)) ([ea2a075](https://togithub.com/googleapis/gax-java/commit/ea2a07504899703e4fcd428f31d615fb208a50aa)) - **deps:** update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​1772](https://togithub.com/googleapis/gax-java/issues/1772)) ([d7a48d1](https://togithub.com/googleapis/gax-java/commit/d7a48d1886a3f39acb26580d1d35a288102af436)) - **deps:** update dependency io.grpc:grpc-bom to v1.48.1 ([#​1763](https://togithub.com/googleapis/gax-java/issues/1763)) ([e5e4232](https://togithub.com/googleapis/gax-java/commit/e5e423200260c210071ce626612d7e54af0695e4)) - **deps:** update dependency org.graalvm.sdk:graal-sdk to v22.2.0 ([#​1740](https://togithub.com/googleapis/gax-java/issues/1740)) ([ded44a6](https://togithub.com/googleapis/gax-java/commit/ded44a66d3de8a2678fa4c5efe8b3ded4484de2b)) - **deps:** update dependency org.mockito:mockito-core to v4.7.0 ([#​1774](https://togithub.com/googleapis/gax-java/issues/1774)) ([29678c8](https://togithub.com/googleapis/gax-java/commit/29678c805855c97b4c26f0156923a41820411a10)) - **deps:** update dependency org.threeten:threetenbp to v1.6.1 ([#​1773](https://togithub.com/googleapis/gax-java/issues/1773)) ([d2c84e6](https://togithub.com/googleapis/gax-java/commit/d2c84e6fb22a2752b68fecc9b6c9e480f398b87c)) - **test:** testThrottlingBlocking flakyness fix ([#​1775](https://togithub.com/googleapis/gax-java/issues/1775)) ([e69393c](https://togithub.com/googleapis/gax-java/commit/e69393c32ffe32306acc8f495b1f41198d86f507)) ##### Documentation - explaining UNIX environment is required ([#​1760](https://togithub.com/googleapis/gax-java/issues/1760)) ([1d31e90](https://togithub.com/googleapis/gax-java/commit/1d31e90e70867cb4b896d7a393f9271788b6371f))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9548324ff370..32a477911a22 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.48.1 - 2.18.7 + 2.19.0 1.2.1 31.1-jre 3.21.5 From bb4117d7855666efd12ba67a53dc981ebce467fb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Aug 2022 16:22:26 +0200 Subject: [PATCH 2492/3036] deps: update dependency io.grpc:grpc-bom to v1.49.0 (#908) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.48.1` -> `1.49.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/compatibility-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/confidence-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 340ad87ba0a5..c0ec5250d1b0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.10.0 2.0.0 1.42.2 - 1.48.1 + 1.49.0 3.21.5 0.31.1 1.3.2 From 8328c10ed2afe3d33659ccfe3110129062ca9672 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Aug 2022 16:22:31 +0200 Subject: [PATCH 2493/3036] deps: update dependency io.grpc:grpc-protobuf to v1.49.0 (#413) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.48.1` -> `1.49.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.0/compatibility-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.0/confidence-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 0cadb71ec6b2..1b69309a5e7c 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.48.1' - compile 'io.grpc:grpc-protobuf:1.48.1' + compile 'io.grpc:grpc-protobuf:1.49.0' compile project(':proto-google-iam-v1') } From c5c4a0b59eebe3628c68e8b9d53c01e87fe30374 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Aug 2022 16:22:35 +0200 Subject: [PATCH 2494/3036] deps: update dependency io.grpc:grpc-bom to v1.49.0 (#786) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.48.1` -> `1.49.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/compatibility-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.0/confidence-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.49.0`](https://togithub.com/grpc/grpc-java/compare/v1.48.1...v1.49.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.48.1...v1.49.0)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 32a477911a22..145510cf9ad3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.48.1 + 1.49.0 2.19.0 1.2.1 31.1-jre From be63be33e6ab02a9b99d78909658b925a85520ef Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Aug 2022 16:28:15 +0200 Subject: [PATCH 2495/3036] deps: update dependency io.grpc:grpc-stub to v1.49.0 (#414) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.48.1` -> `1.49.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.0/compatibility-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.0/confidence-slim/1.48.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.49.0`](https://togithub.com/grpc/grpc-java/compare/v1.48.1...v1.49.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.48.1...v1.49.0)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 1b69309a5e7c..ef0395bded93 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.48.1' + compile 'io.grpc:grpc-stub:1.49.0' compile 'io.grpc:grpc-protobuf:1.49.0' compile project(':proto-google-iam-v1') } From ad998f9598085ca9555c16141d1c99811470243b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 24 Aug 2022 23:48:19 +0200 Subject: [PATCH 2496/3036] deps: update dependency com.google.api:gax-bom to v2.19.0 (#907) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.18.7` -> `2.19.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/compatibility-slim/2.18.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.0/confidence-slim/2.18.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.19.0`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2190-httpsgithubcomgoogleapisgax-javacomparev2187v2190-2022-08-22) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.18.7...v2.19.0) ##### Features - Add numeric enum support. ([#​1743](https://togithub.com/googleapis/gax-java/issues/1743)) ([3f7628e](https://togithub.com/googleapis/gax-java/commit/3f7628e27495806675ec8c8521e9c33725908936)) ##### Bug Fixes - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.10.0 ([#​1768](https://togithub.com/googleapis/gax-java/issues/1768)) ([3f2188d](https://togithub.com/googleapis/gax-java/commit/3f2188d83751272de1a4c3db85e95d79b690e3fc)) - **deps:** update dependency com.google.auth:google-auth-library-credentials to v1.9.0 ([#​1765](https://togithub.com/googleapis/gax-java/issues/1765)) ([103db3c](https://togithub.com/googleapis/gax-java/commit/103db3cc06cfaafeda1a043b6e19e668083ed782)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 ([#​1769](https://togithub.com/googleapis/gax-java/issues/1769)) ([0b1eb92](https://togithub.com/googleapis/gax-java/commit/0b1eb924aefc79b6fc4757d253d4c8a93a094c84)) - **deps:** update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 ([#​1766](https://togithub.com/googleapis/gax-java/issues/1766)) ([2677f07](https://togithub.com/googleapis/gax-java/commit/2677f07a8e20c82403f60c6aa1f9d46c1274b37f)) - **deps:** update dependency com.google.code.gson:gson to v2.9.1 ([#​1757](https://togithub.com/googleapis/gax-java/issues/1757)) ([ea2a075](https://togithub.com/googleapis/gax-java/commit/ea2a07504899703e4fcd428f31d615fb208a50aa)) - **deps:** update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​1772](https://togithub.com/googleapis/gax-java/issues/1772)) ([d7a48d1](https://togithub.com/googleapis/gax-java/commit/d7a48d1886a3f39acb26580d1d35a288102af436)) - **deps:** update dependency io.grpc:grpc-bom to v1.48.1 ([#​1763](https://togithub.com/googleapis/gax-java/issues/1763)) ([e5e4232](https://togithub.com/googleapis/gax-java/commit/e5e423200260c210071ce626612d7e54af0695e4)) - **deps:** update dependency org.graalvm.sdk:graal-sdk to v22.2.0 ([#​1740](https://togithub.com/googleapis/gax-java/issues/1740)) ([ded44a6](https://togithub.com/googleapis/gax-java/commit/ded44a66d3de8a2678fa4c5efe8b3ded4484de2b)) - **deps:** update dependency org.mockito:mockito-core to v4.7.0 ([#​1774](https://togithub.com/googleapis/gax-java/issues/1774)) ([29678c8](https://togithub.com/googleapis/gax-java/commit/29678c805855c97b4c26f0156923a41820411a10)) - **deps:** update dependency org.threeten:threetenbp to v1.6.1 ([#​1773](https://togithub.com/googleapis/gax-java/issues/1773)) ([d2c84e6](https://togithub.com/googleapis/gax-java/commit/d2c84e6fb22a2752b68fecc9b6c9e480f398b87c)) - **test:** testThrottlingBlocking flakyness fix ([#​1775](https://togithub.com/googleapis/gax-java/issues/1775)) ([e69393c](https://togithub.com/googleapis/gax-java/commit/e69393c32ffe32306acc8f495b1f41198d86f507)) ##### Documentation - explaining UNIX environment is required ([#​1760](https://togithub.com/googleapis/gax-java/issues/1760)) ([1d31e90](https://togithub.com/googleapis/gax-java/commit/1d31e90e70867cb4b896d7a393f9271788b6371f))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c0ec5250d1b0..6525a76234bf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.18.7 + 2.19.0 2.2.1 2.9.2 1.5.2 From 9c2645c50e07a3fd24c8028badcc8df4575fca81 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 22:00:22 +0000 Subject: [PATCH 2497/3036] chore(main): release 2.8.10 (#909) :robot: I have created a release *beep* *boop* --- ## [2.8.10](https://github.com/googleapis/java-core/compare/v2.8.9...v2.8.10) (2022-08-24) ### Dependencies * update dependency com.google.api:gax-bom to v2.19.0 ([#907](https://github.com/googleapis/java-core/issues/907)) ([ad998f9](https://github.com/googleapis/java-core/commit/ad998f9598085ca9555c16141d1c99811470243b)) * update dependency io.grpc:grpc-bom to v1.49.0 ([#908](https://github.com/googleapis/java-core/issues/908)) ([bb4117d](https://github.com/googleapis/java-core/commit/bb4117d7855666efd12ba67a53dc981ebce467fb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index f445774d8897..5ed8dcee7b20 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.10](https://github.com/googleapis/java-core/compare/v2.8.9...v2.8.10) (2022-08-24) + + +### Dependencies + +* update dependency com.google.api:gax-bom to v2.19.0 ([#907](https://github.com/googleapis/java-core/issues/907)) ([51b824c](https://github.com/googleapis/java-core/commit/51b824c225fd7095138e1ec2b6d47af4e2a34352)) +* update dependency io.grpc:grpc-bom to v1.49.0 ([#908](https://github.com/googleapis/java-core/issues/908)) ([fbccd2d](https://github.com/googleapis/java-core/commit/fbccd2daceb0984c7cb95f84f89a116e54bf4ddc)) + ## [2.8.9](https://github.com/googleapis/java-core/compare/v2.8.8...v2.8.9) (2022-08-16) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 96cb0eb0a428..43133ff06106 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.10-SNAPSHOT + 2.8.10 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.10-SNAPSHOT + 2.8.10 com.google.cloud google-cloud-core-grpc - 2.8.10-SNAPSHOT + 2.8.10 com.google.cloud google-cloud-core-http - 2.8.10-SNAPSHOT + 2.8.10
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 92f62112d0c0..52239b255608 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.8.10-SNAPSHOT + 2.8.10 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.10-SNAPSHOT + 2.8.10 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 6e0f31d43bee..82341e608c4b 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.8.10-SNAPSHOT + 2.8.10 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.10-SNAPSHOT + 2.8.10 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6caad292c3ab..aa579e6025e2 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.8.10-SNAPSHOT + 2.8.10 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.10-SNAPSHOT + 2.8.10 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 6525a76234bf..2b8297bc12dd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.10-SNAPSHOT + 2.8.10 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 58f325653003..8c569977c4ae 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.9:2.8.10-SNAPSHOT +google-cloud-core:2.8.10:2.8.10 From 09988cb0d85abc8c9ed86f16bad24d24a4e5f257 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 22:14:15 +0000 Subject: [PATCH 2498/3036] chore(main): release 2.8.11-SNAPSHOT (#910) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 43133ff06106..4cbe37a3ba31 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.10 + 2.8.11-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.10 + 2.8.11-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.10 + 2.8.11-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.10 + 2.8.11-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 52239b255608..442979637a7e 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.8.10 + 2.8.11-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.10 + 2.8.11-SNAPSHOT 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 82341e608c4b..6fabb35d5cb3 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.8.10 + 2.8.11-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.10 + 2.8.11-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index aa579e6025e2..4454ccc3df10 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.8.10 + 2.8.11-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.10 + 2.8.11-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2b8297bc12dd..a02f1ec1d3d5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.10 + 2.8.11-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 8c569977c4ae..9fc212a729a5 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.10:2.8.10 +google-cloud-core:2.8.10:2.8.11-SNAPSHOT From 754e622685c9e36c37b4354d3b2909732914ce9f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 25 Aug 2022 17:02:26 +0200 Subject: [PATCH 2499/3036] deps: update google.core.version to v2.8.10 (#787) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.9` -> `2.8.10` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/compatibility-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.10/confidence-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.9` -> `2.8.10` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.10/compatibility-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.10/confidence-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.10`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2810-httpsgithubcomgoogleapisjava-corecomparev289v2810-2022-08-24) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.9...v2.8.10) ##### Dependencies - update dependency com.google.api:gax-bom to v2.19.0 ([#​907](https://togithub.com/googleapis/java-core/issues/907)) ([51b824c](https://togithub.com/googleapis/java-core/commit/51b824c225fd7095138e1ec2b6d47af4e2a34352)) - update dependency io.grpc:grpc-bom to v1.49.0 ([#​908](https://togithub.com/googleapis/java-core/issues/908)) ([fbccd2d](https://togithub.com/googleapis/java-core/commit/fbccd2daceb0984c7cb95f84f89a116e54bf4ddc))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 145510cf9ad3..8ce6076f3282 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.5 2.2.1 2.9.2 - 2.8.9 + 2.8.10 1.10.0 1.42.2 1.34.1 From 74d14e2f121288cc7d3fda97a143ff925fb9d447 Mon Sep 17 00:00:00 2001 From: Lawrence Qiu Date: Thu, 25 Aug 2022 17:09:57 -0400 Subject: [PATCH 2500/3036] chore: Remove CLIRR job as required (#415) --- java-iam/.github/sync-repo-settings.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml index 6f09d6956a36..dd5626f32d78 100644 --- a/java-iam/.github/sync-repo-settings.yaml +++ b/java-iam/.github/sync-repo-settings.yaml @@ -11,7 +11,6 @@ branchProtectionRules: - dependencies (8) - dependencies (11) - lint - - clirr - units (8) - units (11) - 'Kokoro - Test: Integration' @@ -26,7 +25,6 @@ branchProtectionRules: - dependencies (8) - dependencies (11) - lint - - clirr - units (7) - units (8) - units (11) From 77490c8557a6ea588789afc286765402ed0df0eb Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 25 Aug 2022 21:12:17 +0000 Subject: [PATCH 2501/3036] feat: Update the public IAM Deny v2beta API (#412) - [ ] Regenerate this pull request now. BREAKING CHANGE: remove google.api.resource_reference annotations PiperOrigin-RevId: 468493946 Source-Link: https://github.com/googleapis/googleapis/commit/fb22ccd6ce5b8d66790d71b50a3b6fe69fdc3ab0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/fd818d2d7b17ade74aa84d7384e13cbe40ba320d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmQ4MThkMmQ3YjE3YWRlNzRhYTg0ZDczODRlMTNjYmU0MGJhMzIwZCJ9 --- java-iam/google-iam-policy/pom.xml | 16 + .../com/google/iam/v2beta/PoliciesClient.java | 125 ++--- .../google/iam/v2beta/PoliciesSettings.java | 23 +- .../com/google/iam/v2beta/gapic_metadata.json | 4 +- .../com/google/iam/v2beta/package-info.java | 2 +- .../stub/HttpJsonPoliciesCallableFactory.java | 105 ++++ .../iam/v2beta/stub/HttpJsonPoliciesStub.java | 474 ++++++++++++++++++ .../google/iam/v2beta/stub/PoliciesStub.java | 6 +- .../iam/v2beta/stub/PoliciesStubSettings.java | 52 +- .../v2beta/PoliciesClientHttpJsonTest.java | 393 +++++++++++++++ .../google/iam/v2beta/PoliciesClientTest.java | 114 +---- java-iam/proto-google-iam-v2beta/pom.xml | 8 - .../iam/v2beta/DeletePolicyRequest.java | 28 +- .../v2beta/DeletePolicyRequestOrBuilder.java | 8 +- .../java/com/google/iam/v2beta/DenyRule.java | 26 +- .../google/iam/v2beta/DenyRuleOrBuilder.java | 8 +- .../com/google/iam/v2beta/DenyRuleProto.java | 8 +- .../google/iam/v2beta/GetPolicyRequest.java | 28 +- .../iam/v2beta/GetPolicyRequestOrBuilder.java | 8 +- .../com/google/iam/v2beta/PolicyName.java | 168 ------- .../com/google/iam/v2beta/PolicyProto.java | 116 ++--- .../main/proto/google/iam/v2beta/deny.proto | 4 +- .../main/proto/google/iam/v2beta/policy.proto | 22 +- 23 files changed, 1215 insertions(+), 531 deletions(-) create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesCallableFactory.java create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientHttpJsonTest.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index ea654d67d7c3..d720bd06c0b7 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -58,6 +58,10 @@ com.google.api gax-grpc
    + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -77,12 +81,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test + diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java index 582c71e42cd2..8cc89dce0128 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java @@ -20,6 +20,7 @@ import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -31,7 +32,6 @@ import com.google.iam.v2beta.stub.PoliciesStub; import com.google.iam.v2beta.stub.PoliciesStubSettings; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import java.io.IOException; import java.util.List; import java.util.concurrent.TimeUnit; @@ -48,7 +48,7 @@ * // This snippet has been automatically generated for illustrative purposes only. * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { - * PolicyName name = PolicyName.of("[POLICY]"); + * String name = "name3373707"; * Policy response = policiesClient.getPolicy(name); * } * } @@ -101,6 +101,20 @@ * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings); * } * + *

    To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
    + * PoliciesSettings policiesSettings =
    + *     PoliciesSettings.newBuilder()
    + *         .setTransportChannelProvider(
    + *             PoliciesSettings.defaultHttpJsonTransportProviderBuilder().build())
    + *         .build();
    + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
    + * }
    + * *

    Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -108,7 +122,8 @@ public class PoliciesClient implements BackgroundResource { private final PoliciesSettings settings; private final PoliciesStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of PoliciesClient with default settings. */ public static final PoliciesClient create() throws IOException { @@ -138,13 +153,17 @@ public static final PoliciesClient create(PoliciesStub stub) { protected PoliciesClient(PoliciesSettings settings) throws IOException { this.settings = settings; this.stub = ((PoliciesStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected PoliciesClient(PoliciesStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final PoliciesSettings getSettings() { @@ -159,10 +178,19 @@ public PoliciesStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + @BetaApi + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Retrieves the policies of the specified kind that are attached to a resource. @@ -305,37 +333,7 @@ public final UnaryCallable listPolici * // This snippet has been automatically generated for illustrative purposes only. * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { - * PolicyName name = PolicyName.of("[POLICY]"); - * Policy response = policiesClient.getPolicy(name); - * } - * } - * - * @param name 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. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Policy getPolicy(PolicyName name) { - GetPolicyRequest request = - GetPolicyRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return getPolicy(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets a policy. - * - *

    Sample code: - * - *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    -   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    -   *   String name = PolicyName.of("[POLICY]").toString();
    +   *   String name = "name3373707";
        *   Policy response = policiesClient.getPolicy(name);
        * }
        * }
    @@ -364,8 +362,7 @@ public final Policy getPolicy(String name) { * // This snippet has been automatically generated for illustrative purposes only. * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { - * GetPolicyRequest request = - * GetPolicyRequest.newBuilder().setName(PolicyName.of("[POLICY]").toString()).build(); + * GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build(); * Policy response = policiesClient.getPolicy(request); * } * } @@ -387,8 +384,7 @@ public final Policy getPolicy(GetPolicyRequest request) { * // This snippet has been automatically generated for illustrative purposes only. * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { - * GetPolicyRequest request = - * GetPolicyRequest.newBuilder().setName(PolicyName.of("[POLICY]").toString()).build(); + * GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build(); * ApiFuture future = policiesClient.getPolicyCallable().futureCall(request); * // Do something. * Policy response = future.get(); @@ -630,37 +626,7 @@ public final UnaryCallable updatePolicyCallable( * // This snippet has been automatically generated for illustrative purposes only. * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { - * PolicyName name = PolicyName.of("[POLICY]"); - * Policy response = policiesClient.deletePolicyAsync(name).get(); - * } - * } - * - * @param name 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. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture deletePolicyAsync(PolicyName name) { - DeletePolicyRequest request = - DeletePolicyRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return deletePolicyAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a policy. This action is permanent. - * - *

    Sample code: - * - *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    -   * try (PoliciesClient policiesClient = PoliciesClient.create()) {
    -   *   String name = PolicyName.of("[POLICY]").toString();
    +   *   String name = "name3373707";
        *   Policy response = policiesClient.deletePolicyAsync(name).get();
        * }
        * }
    @@ -690,10 +656,7 @@ public final OperationFuture deletePolicyAsync( * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { * DeletePolicyRequest request = - * DeletePolicyRequest.newBuilder() - * .setName(PolicyName.of("[POLICY]").toString()) - * .setEtag("etag3123477") - * .build(); + * DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build(); * Policy response = policiesClient.deletePolicyAsync(request).get(); * } * } @@ -717,10 +680,7 @@ public final OperationFuture deletePolicyAsync( * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { * DeletePolicyRequest request = - * DeletePolicyRequest.newBuilder() - * .setName(PolicyName.of("[POLICY]").toString()) - * .setEtag("etag3123477") - * .build(); + * DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build(); * OperationFuture future = * policiesClient.deletePolicyOperationCallable().futureCall(request); * // Do something. @@ -744,10 +704,7 @@ public final OperationFuture deletePolicyAsync( * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { * DeletePolicyRequest request = - * DeletePolicyRequest.newBuilder() - * .setName(PolicyName.of("[POLICY]").toString()) - * .setEtag("etag3123477") - * .build(); + * DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build(); * ApiFuture future = policiesClient.deletePolicyCallable().futureCall(request); * // Do something. * Operation response = future.get(); diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java index 82677a3faa2b..1f9de494ef34 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java @@ -23,6 +23,7 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; @@ -141,11 +142,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return PoliciesStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return PoliciesStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return PoliciesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return PoliciesStubSettings.defaultTransportChannelProvider(); } @@ -155,11 +163,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return PoliciesStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -197,6 +211,11 @@ private static Builder createDefault() { return new Builder(PoliciesStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(PoliciesStubSettings.newHttpJsonBuilder()); + } + public PoliciesStubSettings.Builder getStubSettingsBuilder() { return ((PoliciesStubSettings.Builder) getStubSettings()); } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json index a68bf9249a81..54136f109a7b 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/gapic_metadata.json @@ -14,10 +14,10 @@ "methods": ["createPolicyAsync", "createPolicyAsync", "createPolicyOperationCallable", "createPolicyCallable"] }, "DeletePolicy": { - "methods": ["deletePolicyAsync", "deletePolicyAsync", "deletePolicyAsync", "deletePolicyOperationCallable", "deletePolicyCallable"] + "methods": ["deletePolicyAsync", "deletePolicyAsync", "deletePolicyOperationCallable", "deletePolicyCallable"] }, "GetPolicy": { - "methods": ["getPolicy", "getPolicy", "getPolicy", "getPolicyCallable"] + "methods": ["getPolicy", "getPolicy", "getPolicyCallable"] }, "ListPolicies": { "methods": ["listPolicies", "listPolicies", "listPoliciesPagedCallable", "listPoliciesCallable"] diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java index 1a342b28dcaa..f8f79438d286 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java @@ -29,7 +29,7 @@ * // This snippet has been automatically generated for illustrative purposes only. * // It may require modifications to work in your environment. * try (PoliciesClient policiesClient = PoliciesClient.create()) { - * PolicyName name = PolicyName.of("[POLICY]"); + * String name = "name3373707"; * Policy response = policiesClient.getPolicy(name); * } * } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesCallableFactory.java new file mode 100644 index 000000000000..bc1cb4da7324 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the Policies service API. + * + *

    This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonPoliciesCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java new file mode 100644 index 000000000000..1329c96f57bf --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java @@ -0,0 +1,474 @@ +/* + * Copyright 2022 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.iam.v2beta.stub; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +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.HttpJsonOperationSnapshot; +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.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2beta.CreatePolicyRequest; +import com.google.iam.v2beta.DeletePolicyRequest; +import com.google.iam.v2beta.GetPolicyRequest; +import com.google.iam.v2beta.ListPoliciesRequest; +import com.google.iam.v2beta.ListPoliciesResponse; +import com.google.iam.v2beta.Policy; +import com.google.iam.v2beta.PolicyOperationMetadata; +import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.longrunning.Operation; +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 Policies service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonPoliciesStub extends PoliciesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(Policy.getDescriptor()) + .add(PolicyOperationMetadata.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + listPoliciesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/ListPolicies") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{parent=policies/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListPoliciesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/GetPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/CreatePolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{parent=policies/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "policyId", request.getPolicyId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("policy", request.getPolicy())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updatePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/UpdatePolicy") + .setHttpMethod("PUT") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{policy.name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "policy.name", request.getPolicy().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create().toBody("policy", request.getPolicy())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deletePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2beta.Policies/DeletePolicy") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2beta/{name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "etag", request.getEtag()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeletePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonPoliciesStub create(PoliciesStubSettings settings) + throws IOException { + return new HttpJsonPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonPoliciesStub create(ClientContext clientContext) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonPoliciesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, 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 HttpJsonPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonPoliciesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, 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 HttpJsonPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings listPoliciesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updatePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deletePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listPoliciesMethodDescriptor); + methodDescriptors.add(getPolicyMethodDescriptor); + methodDescriptors.add(createPolicyMethodDescriptor); + methodDescriptors.add(updatePolicyMethodDescriptor); + methodDescriptors.add(deletePolicyMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @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/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java index 9b6fcaffdc23..540fa89d6a7f 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStub.java @@ -45,7 +45,11 @@ public abstract class PoliciesStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public UnaryCallable listPoliciesPagedCallable() { diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java index ce17087d8cf0..48a3936f6f94 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java @@ -28,6 +28,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -219,6 +222,11 @@ public PoliciesStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcPoliciesStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonPoliciesStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -251,29 +259,54 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) .setTransportToken( GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -407,6 +440,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .listPoliciesSettings() diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientHttpJsonTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientHttpJsonTest.java new file mode 100644 index 000000000000..0c1623809983 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientHttpJsonTest.java @@ -0,0 +1,393 @@ +/* + * Copyright 2022 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.iam.v2beta; + +import static com.google.iam.v2beta.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.common.collect.Lists; +import com.google.iam.v2beta.stub.HttpJsonPoliciesStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientHttpJsonTest { + private static MockHttpService mockService; + private static PoliciesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonPoliciesStub.getMethodDescriptors(), PoliciesSettings.getDefaultEndpoint()); + PoliciesSettings settings = + PoliciesSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + PoliciesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "policies/policie-1456/policie-1456"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listPoliciesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.getPolicy(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build()) + .build(); + + Policy actualResponse = client.updatePolicyAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updatePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build()) + .build(); + client.updatePolicyAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.deletePolicyAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deletePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.deletePolicyAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java index 419e7677414f..ba966bb1b1f2 100644 --- a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2beta/PoliciesClientTest.java @@ -133,54 +133,7 @@ public void listPoliciesExceptionTest() throws Exception { public void getPolicyTest() throws Exception { Policy expectedResponse = Policy.newBuilder() - .setName(PolicyName.of("[POLICY]").toString()) - .setUid("uid115792") - .setKind("kind3292052") - .setDisplayName("displayName1714148973") - .putAllAnnotations(new HashMap()) - .setEtag("etag3123477") - .setCreateTime(Timestamp.newBuilder().build()) - .setUpdateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .addAllRules(new ArrayList()) - .build(); - mockPolicies.addResponse(expectedResponse); - - PolicyName name = PolicyName.of("[POLICY]"); - - Policy actualResponse = client.getPolicy(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockPolicies.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetPolicyRequest actualRequest = ((GetPolicyRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getPolicyExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicies.addException(exception); - - try { - PolicyName name = PolicyName.of("[POLICY]"); - client.getPolicy(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getPolicyTest2() throws Exception { - Policy expectedResponse = - Policy.newBuilder() - .setName(PolicyName.of("[POLICY]").toString()) + .setName("name3373707") .setUid("uid115792") .setKind("kind3292052") .setDisplayName("displayName1714148973") @@ -210,7 +163,7 @@ public void getPolicyTest2() throws Exception { } @Test - public void getPolicyExceptionTest2() throws Exception { + public void getPolicyExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); mockPolicies.addException(exception); @@ -227,7 +180,7 @@ public void getPolicyExceptionTest2() throws Exception { public void createPolicyTest() throws Exception { Policy expectedResponse = Policy.newBuilder() - .setName(PolicyName.of("[POLICY]").toString()) + .setName("name3373707") .setUid("uid115792") .setKind("kind3292052") .setDisplayName("displayName1714148973") @@ -288,7 +241,7 @@ public void createPolicyExceptionTest() throws Exception { public void updatePolicyTest() throws Exception { Policy expectedResponse = Policy.newBuilder() - .setName(PolicyName.of("[POLICY]").toString()) + .setName("name3373707") .setUid("uid115792") .setKind("kind3292052") .setDisplayName("displayName1714148973") @@ -345,62 +298,7 @@ public void updatePolicyExceptionTest() throws Exception { public void deletePolicyTest() throws Exception { Policy expectedResponse = Policy.newBuilder() - .setName(PolicyName.of("[POLICY]").toString()) - .setUid("uid115792") - .setKind("kind3292052") - .setDisplayName("displayName1714148973") - .putAllAnnotations(new HashMap()) - .setEtag("etag3123477") - .setCreateTime(Timestamp.newBuilder().build()) - .setUpdateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .addAllRules(new ArrayList()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("deletePolicyTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockPolicies.addResponse(resultOperation); - - PolicyName name = PolicyName.of("[POLICY]"); - - Policy actualResponse = client.deletePolicyAsync(name).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockPolicies.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeletePolicyRequest actualRequest = ((DeletePolicyRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deletePolicyExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicies.addException(exception); - - try { - PolicyName name = PolicyName.of("[POLICY]"); - client.deletePolicyAsync(name).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void deletePolicyTest2() throws Exception { - Policy expectedResponse = - Policy.newBuilder() - .setName(PolicyName.of("[POLICY]").toString()) + .setName("name3373707") .setUid("uid115792") .setKind("kind3292052") .setDisplayName("displayName1714148973") @@ -436,7 +334,7 @@ public void deletePolicyTest2() throws Exception { } @Test - public void deletePolicyExceptionTest2() throws Exception { + public void deletePolicyExceptionTest() throws Exception { StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); mockPolicies.addException(exception); diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 28a596c9a7f6..d2d43f45f397 100644 --- a/java-iam/proto-google-iam-v2beta/pom.xml +++ b/java-iam/proto-google-iam-v2beta/pom.xml @@ -21,14 +21,6 @@ com.google.api.grpc proto-google-common-protos - - com.google.api - api-common - - - com.google.guava - guava - 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 a89ed24d46ae..9899a5c37fb3 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 @@ -136,9 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ @@ -167,9 +165,7 @@ public java.lang.String getName() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ @@ -589,9 +585,7 @@ public Builder mergeFrom( * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ @@ -619,9 +613,7 @@ public java.lang.String getName() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ @@ -649,9 +641,7 @@ public com.google.protobuf.ByteString getNameBytes() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The name to set. * @return This builder for chaining. @@ -678,9 +668,7 @@ public Builder setName(java.lang.String value) { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -703,9 +691,7 @@ public Builder clearName() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for name to set. * @return This builder for chaining. 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 265e09064361..1b19529885f7 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 @@ -36,9 +36,7 @@ public interface DeletePolicyRequestOrBuilder * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ @@ -56,9 +54,7 @@ public interface DeletePolicyRequestOrBuilder * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ 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 45707bd1aafa..d7af806bb1df 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 @@ -185,7 +185,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * 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 user who is on the internet, even if they do not have a Google + * 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 @@ -230,7 +230,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -275,7 +275,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -321,7 +321,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1146,7 +1146,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1191,7 +1191,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1236,7 +1236,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1282,7 +1282,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1328,7 +1328,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1381,7 +1381,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1433,7 +1433,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1482,7 +1482,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -1530,7 +1530,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 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 1e318bc7a762..30258206ce27 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 @@ -30,7 +30,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -73,7 +73,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -116,7 +116,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 @@ -160,7 +160,7 @@ 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 user who is on the internet, even if they do not have a Google + * 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 diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java index 9aa4e3a51da5..ef77af915a10 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java +++ b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java @@ -46,9 +46,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "eption_principals\030\002 \003(\t\022\032\n\022denied_permis" + "sions\030\003 \003(\t\022\035\n\025exception_permissions\030\004 \003" + "(\t\022+\n\020denial_condition\030\005 \001(\0132\021.google.ty" - + "pe.ExprB^\n\025com.google.iam.v2betaB\rDenyRu" - + "leProtoP\001Z4google.golang.org/genproto/go" - + "ogleapis/iam/v2beta;iamb\006proto3" + + "pe.ExprB\222\001\n\025com.google.iam.v2betaB\rDenyR" + + "uleProtoP\001Z4google.golang.org/genproto/g" + + "oogleapis/iam/v2beta;iam\252\002\027Google.Cloud." + + "Iam.V2Beta\312\002\027Google\\Cloud\\Iam\\V2betab\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 e082377e5832..2775a53c7393 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 @@ -128,9 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ @@ -159,9 +157,7 @@ public java.lang.String getName() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ @@ -507,9 +503,7 @@ public Builder mergeFrom( * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ @@ -537,9 +531,7 @@ public java.lang.String getName() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ @@ -567,9 +559,7 @@ public com.google.protobuf.ByteString getNameBytes() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The name to set. * @return This builder for chaining. @@ -596,9 +586,7 @@ public Builder setName(java.lang.String value) { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -621,9 +609,7 @@ public Builder clearName() { * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for name to set. * @return This builder for chaining. 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 483d9ef3a922..def786214b96 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 @@ -36,9 +36,7 @@ public interface GetPolicyRequestOrBuilder * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ @@ -56,9 +54,7 @@ public interface GetPolicyRequestOrBuilder * name. For projects, you can use the alphanumeric or the numeric ID. * * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java deleted file mode 100644 index 15b7c14ab59c..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyName.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2022 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.iam.v2beta; - -import com.google.api.pathtemplate.PathTemplate; -import com.google.api.resourcenames.ResourceName; -import com.google.common.base.Preconditions; -import com.google.common.collect.ImmutableMap; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -@Generated("by gapic-generator-java") -public class PolicyName implements ResourceName { - private static final PathTemplate POLICY = - PathTemplate.createWithoutUrlEncoding("policies/{policy}"); - private volatile Map fieldValuesMap; - private final String policy; - - @Deprecated - protected PolicyName() { - policy = null; - } - - private PolicyName(Builder builder) { - policy = Preconditions.checkNotNull(builder.getPolicy()); - } - - public String getPolicy() { - return policy; - } - - public static Builder newBuilder() { - return new Builder(); - } - - public Builder toBuilder() { - return new Builder(this); - } - - public static PolicyName of(String policy) { - return newBuilder().setPolicy(policy).build(); - } - - public static String format(String policy) { - return newBuilder().setPolicy(policy).build().toString(); - } - - public static PolicyName parse(String formattedString) { - if (formattedString.isEmpty()) { - return null; - } - Map matchMap = - POLICY.validatedMatch( - formattedString, "PolicyName.parse: formattedString not in valid format"); - return of(matchMap.get("policy")); - } - - public static List parseList(List formattedStrings) { - List list = new ArrayList<>(formattedStrings.size()); - for (String formattedString : formattedStrings) { - list.add(parse(formattedString)); - } - return list; - } - - public static List toStringList(List values) { - List list = new ArrayList<>(values.size()); - for (PolicyName value : values) { - if (value == null) { - list.add(""); - } else { - list.add(value.toString()); - } - } - return list; - } - - public static boolean isParsableFrom(String formattedString) { - return POLICY.matches(formattedString); - } - - @Override - public Map getFieldValuesMap() { - if (fieldValuesMap == null) { - synchronized (this) { - if (fieldValuesMap == null) { - ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); - if (policy != null) { - fieldMapBuilder.put("policy", policy); - } - fieldValuesMap = fieldMapBuilder.build(); - } - } - } - return fieldValuesMap; - } - - public String getFieldValue(String fieldName) { - return getFieldValuesMap().get(fieldName); - } - - @Override - public String toString() { - return POLICY.instantiate("policy", policy); - } - - @Override - public boolean equals(Object o) { - if (o == this) { - return true; - } - if (o != null || getClass() == o.getClass()) { - PolicyName that = ((PolicyName) o); - return Objects.equals(this.policy, that.policy); - } - return false; - } - - @Override - public int hashCode() { - int h = 1; - h *= 1000003; - h ^= Objects.hashCode(policy); - return h; - } - - /** Builder for policies/{policy}. */ - public static class Builder { - private String policy; - - protected Builder() {} - - public String getPolicy() { - return policy; - } - - public Builder setPolicy(String policy) { - this.policy = policy; - return this; - } - - private Builder(PolicyName policyName) { - this.policy = policyName.policy; - } - - public PolicyName build() { - return new PolicyName(this); - } - } -} 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 de498bc2140f..fd7363e93191 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 @@ -79,64 +79,62 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n\036google/iam/v2beta/policy.proto\022\021google" + ".iam.v2beta\032\034google/api/annotations.prot" + "o\032\027google/api/client.proto\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032\034google/iam/v2beta/deny.proto\032#go" - + "ogle/longrunning/operations.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\334\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\004ki" - + "nd\030\003 \001(\tB\003\340A\003\022\024\n\014display_name\030\004 \001(\t\022?\n\013a" - + "nnotations\030\005 \003(\0132*.google.iam.v2beta.Pol" - + "icy.AnnotationsEntry\022\014\n\004etag\030\006 \001(\t\0224\n\013cr" - + "eate_time\030\007 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\0224\n\013delete_time\030\t " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\022,\n\005" - + "rules\030\n \003(\0132\035.google.iam.v2beta.PolicyRu" - + "le\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001:1\352A.\n\031iam.googleapis.com/" - + "Policy\022\021policies/{policy}\"[\n\nPolicyRule\022" - + "0\n\tdeny_rule\030\002 \001(\0132\033.google.iam.v2beta.D" - + "enyRuleH\000\022\023\n\013description\030\001 \001(\tB\006\n\004kind\"Q" - + "\n\023ListPoliciesRequest\022\023\n\006parent\030\001 \001(\tB\003\340" - + "A\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_p" - + "age_token\030\002 \001(\t\"C\n\020GetPolicyRequest\022/\n\004n" - + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031iam.googleapis.com/Po" - + "licy\"m\n\023CreatePolicyRequest\022\023\n\006parent\030\001 " - + "\001(\tB\003\340A\002\022.\n\006policy\030\002 \001(\0132\031.google.iam.v2" - + "beta.PolicyB\003\340A\002\022\021\n\tpolicy_id\030\003 \001(\t\"E\n\023U" - + "pdatePolicyRequest\022.\n\006policy\030\001 \001(\0132\031.goo" - + "gle.iam.v2beta.PolicyB\003\340A\002\"Y\n\023DeletePoli" - + "cyRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031iam.goo" - + "gleapis.com/Policy\022\021\n\004etag\030\002 \001(\tB\003\340A\001\"J\n" - + "\027PolicyOperationMetadata\022/\n\013create_time\030" - + "\001 \001(\0132\032.google.protobuf.Timestamp2\200\007\n\010Po" - + "licies\022\217\001\n\014ListPolicies\022&.google.iam.v2b" - + "eta.ListPoliciesRequest\032\'.google.iam.v2b" - + "eta.ListPoliciesResponse\".\202\323\344\223\002\037\022\035/v2bet" - + "a/{parent=policies/*/*}\332A\006parent\022y\n\tGetP" - + "olicy\022#.google.iam.v2beta.GetPolicyReque" - + "st\032\031.google.iam.v2beta.Policy\",\202\323\344\223\002\037\022\035/" - + "v2beta/{name=policies/*/*/*}\332A\004name\022\302\001\n\014" - + "CreatePolicy\022&.google.iam.v2beta.CreateP" - + "olicyRequest\032\035.google.longrunning.Operat" - + "ion\"k\202\323\344\223\002\'\"\035/v2beta/{parent=policies/*/" - + "*}:\006policy\332A\027parent,policy,policy_id\312A!\n" - + "\006Policy\022\027PolicyOperationMetadata\022\257\001\n\014Upd" - + "atePolicy\022&.google.iam.v2beta.UpdatePoli" + + "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" - + "\"X\202\323\344\223\002.\032$/v2beta/{policy.name=policies/" - + "*/*/*}:\006policy\312A!\n\006Policy\022\027PolicyOperati" - + "onMetadata\022\247\001\n\014DeletePolicy\022&.google.iam" - + ".v2beta.DeletePolicyRequest\032\035.google.lon" - + "grunning.Operation\"P\202\323\344\223\002\037*\035/v2beta/{nam" - + "e=policies/*/*/*}\332A\004name\312A!\n\006Policy\022\027Pol" - + "icyOperationMetadata\032F\312A\022iam.googleapis." - + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformB\\\n\025com.google.iam.v2betaB\013P" - + "olicyProtoP\001Z4google.golang.org/genproto" - + "/googleapis/iam/v2beta;iamb\006proto3" + + "\"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\220\001\n\025c" + + "om.google.iam.v2betaB\013PolicyProtoP\001Z4goo" + + "gle.golang.org/genproto/googleapis/iam/v" + + "2beta;iam\252\002\027Google.Cloud.Iam.V2Beta\312\002\027Go" + + "ogle\\Cloud\\Iam\\V2betab\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -145,7 +143,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ClientProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), com.google.iam.v2beta.DenyRuleProto.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -245,15 +242,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.AnnotationsProto.http); registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); com.google.iam.v2beta.DenyRuleProto.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto index 744449273926..73ae7bbdf703 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto +++ b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto @@ -18,10 +18,12 @@ package google.iam.v2beta; import "google/type/expr.proto"; +option csharp_namespace = "Google.Cloud.Iam.V2Beta"; option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; option java_multiple_files = true; option java_outer_classname = "DenyRuleProto"; option java_package = "com.google.iam.v2beta"; +option php_namespace = "Google\\Cloud\\Iam\\V2beta"; // A deny rule in an IAM deny policy. message DenyRule { @@ -29,7 +31,7 @@ message DenyRule { // Google Cloud resources. This field can contain the following values: // // * `principalSet://goog/public:all`: A special identifier that represents - // any user who is on the internet, even if they do not have a Google + // 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. diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto index b3cba55e31bc..99df3db0aa58 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto +++ b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto @@ -19,15 +19,16 @@ package google.iam.v2beta; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; import "google/iam/v2beta/deny.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; +option csharp_namespace = "Google.Cloud.Iam.V2Beta"; option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; option java_multiple_files = true; option java_outer_classname = "PolicyProto"; option java_package = "com.google.iam.v2beta"; +option php_namespace = "Google\\Cloud\\Iam\\V2beta"; // An interface for managing Identity and Access Management (IAM) policies. service Policies { @@ -104,11 +105,6 @@ service Policies { // Data for an IAM policy. message Policy { - option (google.api.resource) = { - type: "iam.googleapis.com/Policy" - pattern: "policies/{policy}" - }; - // Immutable. The resource name of the `Policy`, which must be unique. Format: // `policies/{attachment_point}/denypolicies/{policy_id}` // @@ -219,12 +215,7 @@ message GetPolicyRequest { // // For organizations and folders, use the numeric ID in the full resource // name. For projects, you can use the alphanumeric or the numeric ID. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "iam.googleapis.com/Policy" - } - ]; + string name = 1 [(google.api.field_behavior) = REQUIRED]; } // Request message for `CreatePolicy`. @@ -274,12 +265,7 @@ message DeletePolicyRequest { // // For organizations and folders, use the numeric ID in the full resource // name. For projects, you can use the alphanumeric or the numeric ID. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "iam.googleapis.com/Policy" - } - ]; + string name = 1 [(google.api.field_behavior) = REQUIRED]; // 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 From c837c1b1648dcb5c098fb98693e1f7f38ca31529 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 31 Aug 2022 22:42:13 +0200 Subject: [PATCH 2502/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220828-2.0.0 (#417) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220807-2.0.0` -> `v3-rev20220828-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/compatibility-slim/v3-rev20220807-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220828-2.0.0/confidence-slim/v3-rev20220807-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 90492bf706ef..5ca1435bbf8f 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220807-2.0.0 + v3-rev20220828-2.0.0 com.google.auth From 8872f475d59cd87daa0e68cfe4e1286c4f452439 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 31 Aug 2022 22:42:17 +0200 Subject: [PATCH 2503/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#416) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.0` -> `26.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/compatibility-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.1/confidence-slim/26.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 5ca1435bbf8f..b5e3c07eb00d 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 26.1.0 + 26.1.1 From ad9e4f1a04f470e3983ddd23917ec0287041d207 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 2 Sep 2022 22:56:15 +0200 Subject: [PATCH 2504/3036] deps: update dependency org.checkerframework:checker-qual to v3.25.0 (#788) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.checkerframework:checker-qual](https://checkerframework.org) ([source](https://togithub.com/typetools/checker-framework)) | `3.24.0` -> `3.25.0` | [![age](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.25.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.25.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.25.0/compatibility-slim/3.24.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.25.0/confidence-slim/3.24.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index cf375bb24b0a..58c9d1c0919e 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.4.15 4.5.13 - 3.24.0 + 3.25.0 0.25.0 From d0b6888f93a599325c5256362614b622d0060f88 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 6 Sep 2022 22:34:16 +0200 Subject: [PATCH 2505/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 (#789) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.fasterxml.jackson:jackson-bom](https://togithub.com/FasterXML/jackson-bom) | `2.13.3` -> `2.13.4` | [![age](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4/compatibility-slim/2.13.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4/confidence-slim/2.13.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 58c9d1c0919e..dd180fae0a36 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 0.31.1 3.0.2 2.15.0 - 2.13.3 + 2.13.4 1.15 4.4.15 4.5.13 From fdbab60147743a58a9e7138e1ce22cacc8423835 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Sep 2022 19:54:01 +0200 Subject: [PATCH 2506/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.11.0 (#790) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 8ce6076f3282..97b64af68b9c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 2.2.1 2.9.2 2.8.10 - 1.10.0 + 1.11.0 1.42.2 1.34.1 2.0.0 From a62d18cd5d0e69753050021497c86cb0070eb9ac Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 14:33:22 -0400 Subject: [PATCH 2507/3036] chore(main): release 3.0.2-SNAPSHOT (#772) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index fd03c6eb4c33..d0b19349b770 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.0.1 + 3.0.2-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 97b64af68b9c..2626770cc1f6 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.0.1 + 3.0.2-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 39a6d64d870d..66eb3c822ca3 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.0.1 + 3.0.2-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.1 + 3.0.2-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.0.1 + 3.0.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index dd180fae0a36..aca3e210fcc4 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.0.1 + 3.0.2-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 473426656020..96aa6e264281 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.0.1 + 3.0.2-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 596e2c8d10b2..b50daa4fa194 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.1:3.0.1 +google-cloud-shared-dependencies:3.0.1:3.0.2-SNAPSHOT From 25ec9b3f91f6ee6d751b045714899f97defc5ad7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 18:52:14 +0000 Subject: [PATCH 2508/3036] chore(main): release 3.0.2 (#791) :robot: I have created a release *beep* *boop* --- ## [3.0.2](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) (2022-09-08) ### Dependencies * Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#789](https://github.com/googleapis/java-shared-dependencies/issues/789)) ([d0b6888](https://github.com/googleapis/java-shared-dependencies/commit/d0b6888f93a599325c5256362614b622d0060f88)) * Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#781](https://github.com/googleapis/java-shared-dependencies/issues/781)) ([450a3fe](https://github.com/googleapis/java-shared-dependencies/commit/450a3fe0fcfcd496482f8f0985af2116fa000013)) * Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#790](https://github.com/googleapis/java-shared-dependencies/issues/790)) ([fdbab60](https://github.com/googleapis/java-shared-dependencies/commit/fdbab60147743a58a9e7138e1ce22cacc8423835)) * Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#773](https://github.com/googleapis/java-shared-dependencies/issues/773)) ([f59be02](https://github.com/googleapis/java-shared-dependencies/commit/f59be02e224a74324fa7b711d059ebef7b147a90)) * Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#776](https://github.com/googleapis/java-shared-dependencies/issues/776)) ([8eddf23](https://github.com/googleapis/java-shared-dependencies/commit/8eddf2308321a19d4304ba6d7972335df2478997)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#780](https://github.com/googleapis/java-shared-dependencies/issues/780)) ([80c783f](https://github.com/googleapis/java-shared-dependencies/commit/80c783ffefa909808762729e59ae8cd6f2e4a7a6)) * Update dependency io.grpc:grpc-bom to v1.48.1 ([#768](https://github.com/googleapis/java-shared-dependencies/issues/768)) ([c1e6978](https://github.com/googleapis/java-shared-dependencies/commit/c1e697826ece73261a197240dcd533f84cc51691)) * Update dependency io.grpc:grpc-bom to v1.49.0 ([#786](https://github.com/googleapis/java-shared-dependencies/issues/786)) ([c5c4a0b](https://github.com/googleapis/java-shared-dependencies/commit/c5c4a0b59eebe3628c68e8b9d53c01e87fe30374)) * Update dependency org.checkerframework:checker-qual to v3.24.0 ([#775](https://github.com/googleapis/java-shared-dependencies/issues/775)) ([4bb5bee](https://github.com/googleapis/java-shared-dependencies/commit/4bb5beeef947835e68457ef4ddd35a9e2955e32f)) * Update dependency org.checkerframework:checker-qual to v3.25.0 ([#788](https://github.com/googleapis/java-shared-dependencies/issues/788)) ([ad9e4f1](https://github.com/googleapis/java-shared-dependencies/commit/ad9e4f1a04f470e3983ddd23917ec0287041d207)) * Update dependency org.threeten:threetenbp to v1.6.1 ([#782](https://github.com/googleapis/java-shared-dependencies/issues/782)) ([30717c3](https://github.com/googleapis/java-shared-dependencies/commit/30717c3bd29c0eabd631d93ad02d456a36297940)) * Update gax.version to v2.19.0 ([#785](https://github.com/googleapis/java-shared-dependencies/issues/785)) ([b5a674e](https://github.com/googleapis/java-shared-dependencies/commit/b5a674e36bb98233395c47c52cd2b4e878fbbb97)) * Update google.core.version to v2.8.10 ([#787](https://github.com/googleapis/java-shared-dependencies/issues/787)) ([754e622](https://github.com/googleapis/java-shared-dependencies/commit/754e622685c9e36c37b4354d3b2909732914ce9f)) * Update google.core.version to v2.8.7 ([#774](https://github.com/googleapis/java-shared-dependencies/issues/774)) ([0c8e010](https://github.com/googleapis/java-shared-dependencies/commit/0c8e0106b4a571fe3d4a3fc3ea55e0aef9a5d938)) * Update google.core.version to v2.8.8 ([#777](https://github.com/googleapis/java-shared-dependencies/issues/777)) ([e354fe1](https://github.com/googleapis/java-shared-dependencies/commit/e354fe1d30f91d796b16d0c3b79f2ba56daafeee)) * Update google.core.version to v2.8.9 ([#784](https://github.com/googleapis/java-shared-dependencies/issues/784)) ([a9847d7](https://github.com/googleapis/java-shared-dependencies/commit/a9847d793d7391ec6b24a9ba26a888a8e92027f6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 22 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 32 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 56b778bc791e..b05baf82034f 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,28 @@ # Changelog +## [3.0.2](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) (2022-09-08) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#789](https://github.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://github.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab)) +* Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#781](https://github.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://github.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554)) +* Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#790](https://github.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://github.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92)) +* Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#773](https://github.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://github.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#776](https://github.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://github.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#780](https://github.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://github.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4)) +* Update dependency io.grpc:grpc-bom to v1.48.1 ([#768](https://github.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://github.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e)) +* Update dependency io.grpc:grpc-bom to v1.49.0 ([#786](https://github.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://github.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344)) +* Update dependency org.checkerframework:checker-qual to v3.24.0 ([#775](https://github.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://github.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b)) +* Update dependency org.checkerframework:checker-qual to v3.25.0 ([#788](https://github.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://github.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9)) +* Update dependency org.threeten:threetenbp to v1.6.1 ([#782](https://github.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://github.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9)) +* Update gax.version to v2.19.0 ([#785](https://github.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://github.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa)) +* Update google.core.version to v2.8.10 ([#787](https://github.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://github.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558)) +* Update google.core.version to v2.8.7 ([#774](https://github.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://github.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e)) +* Update google.core.version to v2.8.8 ([#777](https://github.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://github.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200)) +* Update google.core.version to v2.8.9 ([#784](https://github.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://github.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4)) + ## [3.0.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.0...v3.0.1) (2022-08-02) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index d0b19349b770..95b7a9e1914b 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.0.2-SNAPSHOT + 3.0.2 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.2-SNAPSHOT + 3.0.2 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2626770cc1f6..baa6c438449a 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.0.2-SNAPSHOT + 3.0.2 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 66eb3c822ca3..395990409620 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.0.2-SNAPSHOT + 3.0.2 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.2-SNAPSHOT + 3.0.2 pom import com.google.cloud third-party-dependencies - 3.0.2-SNAPSHOT + 3.0.2 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index aca3e210fcc4..8ce1ad854019 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.0.2-SNAPSHOT + 3.0.2 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 96aa6e264281..38e2ed26bbe1 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.0.2-SNAPSHOT + 3.0.2 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.2-SNAPSHOT + 3.0.2 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index b50daa4fa194..c19a05eb7c71 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.1:3.0.2-SNAPSHOT +google-cloud-shared-dependencies:3.0.2:3.0.2 From e7d4513fbcaa06981691fb6c81e2856c73019531 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Sep 2022 22:24:35 +0200 Subject: [PATCH 2509/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.11.0 (#911) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.10.0` -> `1.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.11.0/compatibility-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.11.0/confidence-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    googleapis/google-auth-library-java ### [`v1.11.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1110-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1100v1110-2022-09-08) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.10.0...v1.11.0) ##### Features - Adds configurable token lifetime support ([#​982](https://togithub.com/googleapis/google-auth-library-java/issues/982)) ([0198733](https://togithub.com/googleapis/google-auth-library-java/commit/0198733b9d294cbee95f1170f814fbfe94baa6fc)) ##### Bug Fixes - Add retries to public key fetch ([#​983](https://togithub.com/googleapis/google-auth-library-java/issues/983)) ([1200a39](https://togithub.com/googleapis/google-auth-library-java/commit/1200a39361e2a1767ef95306ba3ece1b749e82a8)) - Add Test to validate 0x20 in token ([#​971](https://togithub.com/googleapis/google-auth-library-java/issues/971)) ([612db0a](https://togithub.com/googleapis/google-auth-library-java/commit/612db0af3afa70b5400891ba3c7eab18ea5eb6bf)) - Change revoke request from get to post ([#​979](https://togithub.com/googleapis/google-auth-library-java/issues/979)) ([ead58b2](https://togithub.com/googleapis/google-auth-library-java/commit/ead58b22e04c00ece9f0ea55cbec20d2953f5460)) - Setting the retry count to default value and enabling ioexceptions to retry ([#​988](https://togithub.com/googleapis/google-auth-library-java/issues/988)) ([257071a](https://togithub.com/googleapis/google-auth-library-java/commit/257071aeb39c4441bd152813d727f83d433f346f)) - Updates IdTokenVerifier so that it does not cache a failed public key response ([#​967](https://togithub.com/googleapis/google-auth-library-java/issues/967)) ([1f4c9c7](https://togithub.com/googleapis/google-auth-library-java/commit/1f4c9c77a38fb6dfb751447361af9cf00964f96b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index a02f1ec1d3d5..1decc49d97e9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.2.1 2.9.2 1.5.2 - 1.10.0 + 1.11.0 2.0.0 1.42.2 1.49.0 From 55f3227ea55c06713e7d7cb7cfc9a4c08688381a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Sep 2022 22:28:14 +0200 Subject: [PATCH 2510/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.11.0 (#419) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.10.0` -> `1.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/compatibility-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.11.0/confidence-slim/1.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.11.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1110-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1100v1110-2022-09-08) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.10.0...v1.11.0) ##### Features - Adds configurable token lifetime support ([#​982](https://togithub.com/googleapis/google-auth-library-java/issues/982)) ([0198733](https://togithub.com/googleapis/google-auth-library-java/commit/0198733b9d294cbee95f1170f814fbfe94baa6fc)) ##### Bug Fixes - Add retries to public key fetch ([#​983](https://togithub.com/googleapis/google-auth-library-java/issues/983)) ([1200a39](https://togithub.com/googleapis/google-auth-library-java/commit/1200a39361e2a1767ef95306ba3ece1b749e82a8)) - Add Test to validate 0x20 in token ([#​971](https://togithub.com/googleapis/google-auth-library-java/issues/971)) ([612db0a](https://togithub.com/googleapis/google-auth-library-java/commit/612db0af3afa70b5400891ba3c7eab18ea5eb6bf)) - Change revoke request from get to post ([#​979](https://togithub.com/googleapis/google-auth-library-java/issues/979)) ([ead58b2](https://togithub.com/googleapis/google-auth-library-java/commit/ead58b22e04c00ece9f0ea55cbec20d2953f5460)) - Setting the retry count to default value and enabling ioexceptions to retry ([#​988](https://togithub.com/googleapis/google-auth-library-java/issues/988)) ([257071a](https://togithub.com/googleapis/google-auth-library-java/commit/257071aeb39c4441bd152813d727f83d433f346f)) - Updates IdTokenVerifier so that it does not cache a failed public key response ([#​967](https://togithub.com/googleapis/google-auth-library-java/issues/967)) ([1f4c9c7](https://togithub.com/googleapis/google-auth-library-java/commit/1f4c9c77a38fb6dfb751447361af9cf00964f96b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index b5e3c07eb00d..e2bab760e9d0 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.10.0 + 1.11.0 com.google.http-client From 1da4f13a083115647ad162eca1209f9ca5e4f272 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 20:40:12 +0000 Subject: [PATCH 2511/3036] chore(main): release 2.8.11 (#912) :robot: I have created a release *beep* *boop* --- ## [2.8.11](https://github.com/googleapis/java-core/compare/v2.8.10...v2.8.11) (2022-09-08) ### Dependencies * Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#911](https://github.com/googleapis/java-core/issues/911)) ([e7d4513](https://github.com/googleapis/java-core/commit/e7d4513fbcaa06981691fb6c81e2856c73019531)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 5ed8dcee7b20..0ed096ab6908 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.11](https://github.com/googleapis/java-core/compare/v2.8.10...v2.8.11) (2022-09-08) + + +### Dependencies + +* Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#911](https://github.com/googleapis/java-core/issues/911)) ([4656905](https://github.com/googleapis/java-core/commit/4656905956504e4bc4fe224d1f8cd70bbab614d8)) + ## [2.8.10](https://github.com/googleapis/java-core/compare/v2.8.9...v2.8.10) (2022-08-24) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4cbe37a3ba31..538da0de80b5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.11-SNAPSHOT + 2.8.11 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.11-SNAPSHOT + 2.8.11 com.google.cloud google-cloud-core-grpc - 2.8.11-SNAPSHOT + 2.8.11 com.google.cloud google-cloud-core-http - 2.8.11-SNAPSHOT + 2.8.11 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 442979637a7e..78cb3c741b1c 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.8.11-SNAPSHOT + 2.8.11 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.11-SNAPSHOT + 2.8.11 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 6fabb35d5cb3..0b601e254237 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.8.11-SNAPSHOT + 2.8.11 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.11-SNAPSHOT + 2.8.11 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4454ccc3df10..a820c9e4576b 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.8.11-SNAPSHOT + 2.8.11 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.11-SNAPSHOT + 2.8.11 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 1decc49d97e9..39cfd38c069f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.11-SNAPSHOT + 2.8.11 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9fc212a729a5..bf1e5a76cef2 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.10:2.8.11-SNAPSHOT +google-cloud-core:2.8.11:2.8.11 From 142ad177f9b013e80cd0424b1599d38c017d9324 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Sep 2022 23:02:21 +0200 Subject: [PATCH 2512/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 (#420) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.1` -> `3.0.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/compatibility-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.2/confidence-slim/3.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.0.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​302-httpsgithubcomgoogleapisjava-shared-dependenciescomparev301v302-2022-09-08) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) ##### Dependencies - Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#​789](https://togithub.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://togithub.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab)) - Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#​781](https://togithub.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://togithub.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554)) - Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#​790](https://togithub.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://togithub.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92)) - Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#​773](https://togithub.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://togithub.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​776](https://togithub.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://togithub.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​780](https://togithub.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://togithub.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4)) - Update dependency io.grpc:grpc-bom to v1.48.1 ([#​768](https://togithub.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://togithub.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e)) - Update dependency io.grpc:grpc-bom to v1.49.0 ([#​786](https://togithub.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://togithub.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344)) - Update dependency org.checkerframework:checker-qual to v3.24.0 ([#​775](https://togithub.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://togithub.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b)) - Update dependency org.checkerframework:checker-qual to v3.25.0 ([#​788](https://togithub.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://togithub.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9)) - Update dependency org.threeten:threetenbp to v1.6.1 ([#​782](https://togithub.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://togithub.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9)) - Update gax.version to v2.19.0 ([#​785](https://togithub.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://togithub.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa)) - Update google.core.version to v2.8.10 ([#​787](https://togithub.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://togithub.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558)) - Update google.core.version to v2.8.7 ([#​774](https://togithub.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://togithub.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e)) - Update google.core.version to v2.8.8 ([#​777](https://togithub.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://togithub.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200)) - Update google.core.version to v2.8.9 ([#​784](https://togithub.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://togithub.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 25f33d800caf..9e9123a6a3ff 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2 pom import From d96d09751e3eef610b653f5de3d4cd1766ca33b3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 8 Sep 2022 21:18:18 +0000 Subject: [PATCH 2513/3036] chore(main): release 2.8.12-SNAPSHOT (#913) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 538da0de80b5..6aad575cc43c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.11 + 2.8.12-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.11 + 2.8.12-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.11 + 2.8.12-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.11 + 2.8.12-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 78cb3c741b1c..9d85f18b8c21 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.8.11 + 2.8.12-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.11 + 2.8.12-SNAPSHOT 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 0b601e254237..df604da951ef 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.8.11 + 2.8.12-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.11 + 2.8.12-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a820c9e4576b..53c893095ec4 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.8.11 + 2.8.12-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.11 + 2.8.12-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 39cfd38c069f..4b7dd60c5d93 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.11 + 2.8.12-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index bf1e5a76cef2..5907dc4a3e88 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.11:2.8.11 +google-cloud-core:2.8.11:2.8.12-SNAPSHOT From ae388d87547ae150964e60b6ffdc3a6032e22713 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Sep 2022 05:40:19 +0200 Subject: [PATCH 2514/3036] deps: update google.core.version to v2.8.11 (#793) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.10` -> `2.8.11` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.11/compatibility-slim/2.8.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.11/confidence-slim/2.8.10)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.10` -> `2.8.11` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.11/compatibility-slim/2.8.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.11/confidence-slim/2.8.10)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.11`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2811-httpsgithubcomgoogleapisjava-corecomparev2810v2811-2022-09-08) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.10...v2.8.11) ##### Dependencies - Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#​911](https://togithub.com/googleapis/java-core/issues/911)) ([4656905](https://togithub.com/googleapis/java-core/commit/4656905956504e4bc4fe224d1f8cd70bbab614d8))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index baa6c438449a..d8b6174e58bb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.5 2.2.1 2.9.2 - 2.8.10 + 2.8.11 1.11.0 1.42.2 1.34.1 From 3ca8a955641c948c36bac0dacba7340657f6ff0c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 9 Sep 2022 14:42:18 +0000 Subject: [PATCH 2515/3036] chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#418) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: https://github.com/googleapis/googleapis/commit/88f2ea3f53b9712f2e04f28f06210f6f77fa7e24 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9 --- .../com/google/iam/v2beta/PoliciesClient.java | 154 +++++++++++++----- .../google/iam/v2beta/PoliciesSettings.java | 12 +- .../com/google/iam/v2beta/package-info.java | 7 +- .../iam/v2beta/stub/HttpJsonPoliciesStub.java | 6 +- .../iam/v2beta/stub/PoliciesStubSettings.java | 12 +- 5 files changed, 131 insertions(+), 60 deletions(-) diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java index 8cc89dce0128..495c60c01d91 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java @@ -45,8 +45,11 @@ * calls that map to API methods. Sample code to get started: * *
    {@code
    - * // This snippet has been automatically generated for illustrative purposes only.
    - * // It may require modifications to work in your environment.
    + * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      *   String name = "name3373707";
      *   Policy response = policiesClient.getPolicy(name);
    @@ -82,8 +85,11 @@
      * 

    To customize credentials: * *

    {@code
    - * // This snippet has been automatically generated for illustrative purposes only.
    - * // It may require modifications to work in your environment.
    + * // 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
      * PoliciesSettings policiesSettings =
      *     PoliciesSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -94,8 +100,11 @@
      * 

    To customize the endpoint: * *

    {@code
    - * // This snippet has been automatically generated for illustrative purposes only.
    - * // It may require modifications to work in your environment.
    + * // 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
      * PoliciesSettings policiesSettings =
      *     PoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
      * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
    @@ -105,8 +114,11 @@
      * the wire:
      *
      * 
    {@code
    - * // This snippet has been automatically generated for illustrative purposes only.
    - * // It may require modifications to work in your environment.
    + * // 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
      * PoliciesSettings policiesSettings =
      *     PoliciesSettings.newBuilder()
      *         .setTransportChannelProvider(
    @@ -200,8 +212,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   String parent = "parent-995424086";
        *   for (Policy element : policiesClient.listPolicies(parent).iterateAll()) {
    @@ -233,8 +248,11 @@ public final ListPoliciesPagedResponse listPolicies(String parent) {
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   ListPoliciesRequest request =
        *       ListPoliciesRequest.newBuilder()
    @@ -264,8 +282,11 @@ public final ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request)
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   ListPoliciesRequest request =
        *       ListPoliciesRequest.newBuilder()
    @@ -295,8 +316,11 @@ public final ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request)
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   ListPoliciesRequest request =
        *       ListPoliciesRequest.newBuilder()
    @@ -330,8 +354,11 @@ public final UnaryCallable listPolici
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   String name = "name3373707";
        *   Policy response = policiesClient.getPolicy(name);
    @@ -359,8 +386,11 @@ public final Policy getPolicy(String name) {
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
        *   Policy response = policiesClient.getPolicy(request);
    @@ -381,8 +411,11 @@ public final Policy getPolicy(GetPolicyRequest request) {
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
        *   ApiFuture future = policiesClient.getPolicyCallable().futureCall(request);
    @@ -402,8 +435,11 @@ public final UnaryCallable getPolicyCallable() {
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   String parent = "parent-995424086";
        *   Policy policy = Policy.newBuilder().build();
    @@ -444,8 +480,11 @@ public final OperationFuture createPolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   CreatePolicyRequest request =
        *       CreatePolicyRequest.newBuilder()
    @@ -472,8 +511,11 @@ public final OperationFuture createPolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   CreatePolicyRequest request =
        *       CreatePolicyRequest.newBuilder()
    @@ -500,8 +542,11 @@ public final OperationFuture createPolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   CreatePolicyRequest request =
        *       CreatePolicyRequest.newBuilder()
    @@ -535,8 +580,11 @@ public final UnaryCallable createPolicyCallable(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   UpdatePolicyRequest request =
        *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    @@ -568,8 +616,11 @@ public final OperationFuture updatePolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   UpdatePolicyRequest request =
        *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    @@ -601,8 +652,11 @@ public final OperationFuture updatePolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   UpdatePolicyRequest request =
        *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    @@ -623,8 +677,11 @@ public final UnaryCallable updatePolicyCallable(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   String name = "name3373707";
        *   Policy response = policiesClient.deletePolicyAsync(name).get();
    @@ -652,8 +709,11 @@ public final OperationFuture deletePolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   DeletePolicyRequest request =
        *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
    @@ -676,8 +736,11 @@ public final OperationFuture deletePolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   DeletePolicyRequest request =
        *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
    @@ -700,8 +763,11 @@ public final OperationFuture deletePolicyAsync(
        * 

    Sample code: * *

    {@code
    -   * // This snippet has been automatically generated for illustrative purposes only.
    -   * // It may require modifications to work in your environment.
    +   * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
        *   DeletePolicyRequest request =
        *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
    diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java
    index 1f9de494ef34..de80d3ce6603 100644
    --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java
    +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesSettings.java
    @@ -55,16 +55,16 @@
      * 

    For example, to set the total timeout of getPolicy to 30 seconds: * *

    {@code
    - * // This snippet has been automatically generated for illustrative purposes only.
    - * // It may require modifications to work in your environment.
    + * // 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
      * PoliciesSettings.Builder policiesSettingsBuilder = PoliciesSettings.newBuilder();
      * policiesSettingsBuilder
      *     .getPolicySettings()
      *     .setRetrySettings(
    - *         policiesSettingsBuilder
    - *             .getPolicySettings()
    - *             .getRetrySettings()
    - *             .toBuilder()
    + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
      *             .setTotalTimeout(Duration.ofSeconds(30))
      *             .build());
      * PoliciesSettings policiesSettings = policiesSettingsBuilder.build();
    diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java
    index f8f79438d286..e5ed70548cda 100644
    --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java
    +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/package-info.java
    @@ -26,8 +26,11 @@
      * 

    Sample for PoliciesClient: * *

    {@code
    - * // This snippet has been automatically generated for illustrative purposes only.
    - * // It may require modifications to work in your environment.
    + * // 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 (PoliciesClient policiesClient = PoliciesClient.create()) {
      *   String name = "name3373707";
      *   Policy response = policiesClient.getPolicy(name);
    diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java
    index 1329c96f57bf..cd12ad2905d9 100644
    --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java
    +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java
    @@ -160,7 +160,8 @@ public class HttpJsonPoliciesStub extends PoliciesStub {
                               })
                           .setRequestBodyExtractor(
                               request ->
    -                              ProtoRestSerializer.create().toBody("policy", request.getPolicy()))
    +                              ProtoRestSerializer.create()
    +                                  .toBody("policy", request.getPolicy(), false))
                           .build())
                   .setResponseParser(
                       ProtoMessageResponseParser.newBuilder()
    @@ -199,7 +200,8 @@ public class HttpJsonPoliciesStub extends PoliciesStub {
                               })
                           .setRequestBodyExtractor(
                               request ->
    -                              ProtoRestSerializer.create().toBody("policy", request.getPolicy()))
    +                              ProtoRestSerializer.create()
    +                                  .toBody("policy", request.getPolicy(), false))
                           .build())
                   .setResponseParser(
                       ProtoMessageResponseParser.newBuilder()
    diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java
    index 48a3936f6f94..7bfcfdf50cf6 100644
    --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java
    +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/PoliciesStubSettings.java
    @@ -83,16 +83,16 @@
      * 

    For example, to set the total timeout of getPolicy to 30 seconds: * *

    {@code
    - * // This snippet has been automatically generated for illustrative purposes only.
    - * // It may require modifications to work in your environment.
    + * // 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
      * PoliciesStubSettings.Builder policiesSettingsBuilder = PoliciesStubSettings.newBuilder();
      * policiesSettingsBuilder
      *     .getPolicySettings()
      *     .setRetrySettings(
    - *         policiesSettingsBuilder
    - *             .getPolicySettings()
    - *             .getRetrySettings()
    - *             .toBuilder()
    + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
      *             .setTotalTimeout(Duration.ofSeconds(30))
      *             .build());
      * PoliciesStubSettings policiesSettings = policiesSettingsBuilder.build();
    
    From 2a91f42d77ebbbd4e338b6f1d0c140f522d28863 Mon Sep 17 00:00:00 2001
    From: "release-please[bot]"
     <55107282+release-please[bot]@users.noreply.github.com>
    Date: Fri, 9 Sep 2022 15:08:50 +0000
    Subject: [PATCH 2516/3036] chore(main): release 3.0.3-SNAPSHOT (#792)
    
    :robot: I have created a release *beep* *boop*
    ---
    
    
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    
    ---
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    ---
     .../dependency-convergence-check/pom.xml                    | 4 ++--
     java-shared-dependencies/first-party-dependencies/pom.xml   | 2 +-
     java-shared-dependencies/pom.xml                            | 6 +++---
     java-shared-dependencies/third-party-dependencies/pom.xml   | 2 +-
     java-shared-dependencies/upper-bound-check/pom.xml          | 4 ++--
     java-shared-dependencies/versions.txt                       | 2 +-
     6 files changed, 10 insertions(+), 10 deletions(-)
    
    diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml
    index 95b7a9e1914b..3b892bbcf89a 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.0.2
    +  3.0.3-SNAPSHOT
       Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies
       https://github.com/googleapis/java-shared-dependencies
       
    @@ -46,7 +46,7 @@
           
             com.google.cloud
             google-cloud-shared-dependencies
    -        3.0.2
    +        3.0.3-SNAPSHOT
             pom
             import
           
    diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml
    index d8b6174e58bb..1a0b6133c4c4 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.0.2
    +  3.0.3-SNAPSHOT
       Google Cloud First-party Shared Dependencies
       https://github.com/googleapis/java-shared-dependencies
       
    diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml
    index 395990409620..0ea2f6073340 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.0.2
    +  3.0.3-SNAPSHOT
       
         first-party-dependencies
         third-party-dependencies
    @@ -65,14 +65,14 @@
           
             com.google.cloud
             first-party-dependencies
    -        3.0.2
    +        3.0.3-SNAPSHOT
             pom
             import
           
           
             com.google.cloud
             third-party-dependencies
    -        3.0.2
    +        3.0.3-SNAPSHOT
             pom
             import
           
    diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml
    index 8ce1ad854019..1cd4aead0dee 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.0.2
    +  3.0.3-SNAPSHOT
       Google Cloud Third-party Shared Dependencies
       https://github.com/googleapis/java-shared-dependencies
       
    diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml
    index 38e2ed26bbe1..373e9bf24281 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.0.2
    +  3.0.3-SNAPSHOT
       Upper bound test for Google Cloud Shared Dependencies
       https://github.com/googleapis/java-shared-dependencies
       
    @@ -53,7 +53,7 @@
           
             com.google.cloud
             google-cloud-shared-dependencies
    -        3.0.2
    +        3.0.3-SNAPSHOT
             pom
             import
           
    diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt
    index c19a05eb7c71..9331ca5eef04 100644
    --- a/java-shared-dependencies/versions.txt
    +++ b/java-shared-dependencies/versions.txt
    @@ -1,4 +1,4 @@
     # Format:
     # module:released-version:current-version
     
    -google-cloud-shared-dependencies:3.0.2:3.0.2
    +google-cloud-shared-dependencies:3.0.2:3.0.3-SNAPSHOT
    
    From 014bafc26def3778a768afd6689cc35df3bf8ea1 Mon Sep 17 00:00:00 2001
    From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
    Date: Sat, 10 Sep 2022 02:18:21 +0000
    Subject: [PATCH 2517/3036] chore: Generated snippets should not be owned by
     samples reviewers (#1575) (#914)
    
    Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
    ---
     java-core/.github/.OwlBot.lock.yaml | 3 +--
     java-core/.github/CODEOWNERS        | 3 +++
     2 files changed, 4 insertions(+), 2 deletions(-)
    
    diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml
    index de9173d95efb..6259292301cb 100644
    --- a/java-core/.github/.OwlBot.lock.yaml
    +++ b/java-core/.github/.OwlBot.lock.yaml
    @@ -13,5 +13,4 @@
     # limitations under the License.
     docker:
       image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
    -  digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00
    -# created: 2022-07-13T13:53:17.676447481Z
    +  digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
    diff --git a/java-core/.github/CODEOWNERS b/java-core/.github/CODEOWNERS
    index 30fdb7b9c8f7..db2d8ad1747b 100644
    --- a/java-core/.github/CODEOWNERS
    +++ b/java-core/.github/CODEOWNERS
    @@ -8,3 +8,6 @@
     
     # The java-samples-reviewers team is the default owner for samples changes
     samples/**/*.java       @googleapis/java-samples-reviewers
    +
    +# Generated snippets should not be owned by samples reviewers
    +samples/snippets/generated/       @googleapis/yoshi-java
    
    From ef3cdc535cf767d66d617347fa80a05eafbcba1d Mon Sep 17 00:00:00 2001
    From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
    Date: Sat, 10 Sep 2022 02:18:33 +0000
    Subject: [PATCH 2518/3036] chore: Generated snippets should not be owned by
     samples reviewers (#1575) (#795)
    
    Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
    ---
     java-shared-dependencies/.github/.OwlBot.lock.yaml | 3 +--
     java-shared-dependencies/.github/CODEOWNERS        | 3 +++
     2 files changed, 4 insertions(+), 2 deletions(-)
    
    diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml
    index de9173d95efb..6259292301cb 100644
    --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml
    +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml
    @@ -13,5 +13,4 @@
     # limitations under the License.
     docker:
       image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
    -  digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00
    -# created: 2022-07-13T13:53:17.676447481Z
    +  digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
    diff --git a/java-shared-dependencies/.github/CODEOWNERS b/java-shared-dependencies/.github/CODEOWNERS
    index 30fdb7b9c8f7..db2d8ad1747b 100644
    --- a/java-shared-dependencies/.github/CODEOWNERS
    +++ b/java-shared-dependencies/.github/CODEOWNERS
    @@ -8,3 +8,6 @@
     
     # The java-samples-reviewers team is the default owner for samples changes
     samples/**/*.java       @googleapis/java-samples-reviewers
    +
    +# Generated snippets should not be owned by samples reviewers
    +samples/snippets/generated/       @googleapis/yoshi-java
    
    From ebfe1c8499159d4e85d8ccf8a592bf0c14819876 Mon Sep 17 00:00:00 2001
    From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
    Date: Sat, 10 Sep 2022 02:24:11 +0000
    Subject: [PATCH 2519/3036] chore: Generated snippets should not be owned by
     samples reviewers (#1575) (#421)
    
    Source-Link: https://github.com/googleapis/synthtool/commit/2e9ac19d5b8181af77cdc5337cf922517813cc49
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
    ---
     java-iam/.github/.OwlBot.lock.yaml | 3 +--
     java-iam/.github/CODEOWNERS        | 3 +++
     2 files changed, 4 insertions(+), 2 deletions(-)
    
    diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml
    index de9173d95efb..6259292301cb 100644
    --- a/java-iam/.github/.OwlBot.lock.yaml
    +++ b/java-iam/.github/.OwlBot.lock.yaml
    @@ -13,5 +13,4 @@
     # limitations under the License.
     docker:
       image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
    -  digest: sha256:d4b80feffe1579818cdc39466152e9de95789a193408506cd4a1ffbe8804dc00
    -# created: 2022-07-13T13:53:17.676447481Z
    +  digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93
    diff --git a/java-iam/.github/CODEOWNERS b/java-iam/.github/CODEOWNERS
    index 30fdb7b9c8f7..db2d8ad1747b 100644
    --- a/java-iam/.github/CODEOWNERS
    +++ b/java-iam/.github/CODEOWNERS
    @@ -8,3 +8,6 @@
     
     # The java-samples-reviewers team is the default owner for samples changes
     samples/**/*.java       @googleapis/java-samples-reviewers
    +
    +# Generated snippets should not be owned by samples reviewers
    +samples/snippets/generated/       @googleapis/yoshi-java
    
    From b9358a17f74214e6def5fe82a3fa715c5f8bb7b3 Mon Sep 17 00:00:00 2001
    From: Mike Eltsufin 
    Date: Tue, 13 Sep 2022 22:28:39 -0400
    Subject: [PATCH 2520/3036] feat: add v2 client (#423)
    
    The commit are broken down to make it clear which parts are autogenerated and which parts had to be manually edited.
    ---
     java-iam/.github/.OwlBot.yaml                 |   36 +-
     java-iam/google-iam-policy/pom.xml            |    9 +
     .../com/google/iam/v2/PoliciesClient.java     | 1136 ++++++
     .../com/google/iam/v2/PoliciesSettings.java   |  303 ++
     .../com/google/iam/v2/gapic_metadata.json     |   36 +
     .../java/com/google/iam/v2/package-info.java  |   43 +
     .../v2/stub/GrpcPoliciesCallableFactory.java  |  113 +
     .../google/iam/v2/stub/GrpcPoliciesStub.java  |  384 ++
     .../stub/HttpJsonPoliciesCallableFactory.java |  105 +
     .../iam/v2/stub/HttpJsonPoliciesStub.java     |  552 +++
     .../com/google/iam/v2/stub/PoliciesStub.java  |  108 +
     .../iam/v2/stub/PoliciesStubSettings.java     |  738 ++++
     .../java/com/google/iam/v2/MockPolicies.java  |   59 +
     .../com/google/iam/v2/MockPoliciesImpl.java   |  187 +
     .../iam/v2/PoliciesClientHttpJsonTest.java    |  451 +++
     .../com/google/iam/v2/PoliciesClientTest.java |  402 ++
     java-iam/grpc-google-iam-v2/pom.xml           |   69 +
     .../java/com/google/iam/v2/PoliciesGrpc.java  |  971 +++++
     java-iam/pom.xml                              |   12 +
     .../clirr-ignored-differences.xml             |   19 +
     java-iam/proto-google-iam-v2/pom.xml          |   34 +
     .../google/iam/v2/CreatePolicyRequest.java    | 1148 ++++++
     .../iam/v2/CreatePolicyRequestOrBuilder.java  |  130 +
     .../google/iam/v2/DeletePolicyRequest.java    |  883 +++++
     .../iam/v2/DeletePolicyRequestOrBuilder.java  |   95 +
     .../main/java/com/google/iam/v2/DenyRule.java | 2504 ++++++++++++
     .../com/google/iam/v2/DenyRuleOrBuilder.java  |  468 +++
     .../java/com/google/iam/v2/DenyRuleProto.java |   75 +
     .../com/google/iam/v2/GetPolicyRequest.java   |  674 ++++
     .../iam/v2/GetPolicyRequestOrBuilder.java     |   62 +
     .../iam/v2/ListApplicablePoliciesRequest.java | 1207 ++++++
     ...istApplicablePoliciesRequestOrBuilder.java |  141 +
     .../v2/ListApplicablePoliciesResponse.java    | 1503 ++++++++
     ...stApplicablePoliciesResponseOrBuilder.java |  180 +
     .../google/iam/v2/ListPoliciesRequest.java    |  970 +++++
     .../iam/v2/ListPoliciesRequestOrBuilder.java  |  107 +
     .../google/iam/v2/ListPoliciesResponse.java   | 1132 ++++++
     .../iam/v2/ListPoliciesResponseOrBuilder.java |  105 +
     .../main/java/com/google/iam/v2/Policy.java   | 3369 +++++++++++++++++
     .../iam/v2/PolicyOperationMetadata.java       |  728 ++++
     .../v2/PolicyOperationMetadataOrBuilder.java  |   60 +
     .../com/google/iam/v2/PolicyOrBuilder.java    |  444 +++
     .../java/com/google/iam/v2/PolicyProto.java   |  290 ++
     .../java/com/google/iam/v2/PolicyRule.java    | 1007 +++++
     .../google/iam/v2/PolicyRuleOrBuilder.java    |   89 +
     .../google/iam/v2/UpdatePolicyRequest.java    |  755 ++++
     .../iam/v2/UpdatePolicyRequestOrBuilder.java  |   69 +
     .../src/main/proto/google/iam/v2/deny.proto   |  109 +
     .../src/main/proto/google/iam/v2/policy.proto |  376 ++
     java-iam/versions.txt                         |    2 +
     50 files changed, 24434 insertions(+), 15 deletions(-)
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/package-info.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesCallableFactory.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesCallableFactory.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java
     create mode 100644 java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java
     create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPolicies.java
     create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java
     create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java
     create mode 100644 java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java
     create mode 100644 java-iam/grpc-google-iam-v2/pom.xml
     create mode 100644 java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java
     create mode 100644 java-iam/proto-google-iam-v2/clirr-ignored-differences.xml
     create mode 100644 java-iam/proto-google-iam-v2/pom.xml
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java
     create mode 100644 java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto
     create mode 100644 java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto
    
    diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.github/.OwlBot.yaml
    index b7d331d499ed..5df4166aeea2 100644
    --- a/java-iam/.github/.OwlBot.yaml
    +++ b/java-iam/.github/.OwlBot.yaml
    @@ -16,22 +16,28 @@ docker:
       image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"
     
     deep-remove-regex:
    -- "/grpc-google-.*/src"
    -- "/proto-google-.*/src"
    +  - "/grpc-google-.*/src"
    +  - "/proto-google-.*/src"
     
     deep-preserve-regex:
    -- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
    -- "/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging"
    -- "/proto-google-iam-v1/src/main/proto/google/iam/v1"
    +  - "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
    +  - "/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging"
    +  - "/proto-google-iam-v1/src/main/proto/google/iam/v1"
     
     deep-copy-regex:
    -- source: "/google/iam/v1/google-iam-v1-java/grpc-google-iam-v1-java/src"
    -  dest: "/owl-bot-staging/v1/grpc-google-iam-v1/src"
    -- source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src"
    -  dest: "/owl-bot-staging/v1/proto-google-iam-v1/src"
    -- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/grpc-google-cloud-iam-v2beta-java/src"
    -  dest: "/owl-bot-staging/v2beta/grpc-google-iam-v2beta/src"
    -- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src"
    -  dest: "/owl-bot-staging/v2beta/proto-google-iam-v2beta/src"
    -- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src"
    -  dest: "/owl-bot-staging/v2beta/google-iam-policy/src"
    \ No newline at end of file
    +  - source: "/google/iam/v1/google-iam-v1-java/grpc-google-iam-v1-java/src"
    +    dest: "/owl-bot-staging/v1/grpc-google-iam-v1/src"
    +  - source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src"
    +    dest: "/owl-bot-staging/v1/proto-google-iam-v1/src"
    +  - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/grpc-google-cloud-iam-v2beta-java/src"
    +    dest: "/owl-bot-staging/v2beta/grpc-google-iam-v2beta/src"
    +  - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src"
    +    dest: "/owl-bot-staging/v2beta/proto-google-iam-v2beta/src"
    +  - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src"
    +    dest: "/owl-bot-staging/v2beta/google-iam-policy/src"
    +  - source: "/google/iam/v2/google-cloud-iam-v2-java/grpc-google-cloud-iam-v2-java/src"
    +    dest: "/owl-bot-staging/v2/grpc-google-iam-v2/src"
    +  - source: "/google/iam/v2/google-cloud-iam-v2-java/proto-google-cloud-iam-v2-java/src"
    +    dest: "/owl-bot-staging/v2/proto-google-iam-v2/src"
    +  - source: "/google/iam/v2/google-cloud-iam-v2-java/gapic-google-cloud-iam-v2-java/src"
    +    dest: "/owl-bot-staging/v2/google-iam-policy/src"
    \ No newline at end of file
    diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml
    index d720bd06c0b7..7b320083fa87 100644
    --- a/java-iam/google-iam-policy/pom.xml
    +++ b/java-iam/google-iam-policy/pom.xml
    @@ -46,6 +46,10 @@
           com.google.api.grpc
           proto-google-iam-v2beta
         
    +    
    +      com.google.api.grpc
    +      proto-google-iam-v2
    +    
         
           com.google.guava
           guava
    @@ -80,6 +84,11 @@
           grpc-google-iam-v2beta
           test
         
    +    
    +      com.google.api.grpc
    +      grpc-google-iam-v2
    +      test
    +    
         
         
           com.google.api
    diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java
    new file mode 100644
    index 000000000000..b7e40fcd0a36
    --- /dev/null
    +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java
    @@ -0,0 +1,1136 @@
    +/*
    + * Copyright 2022 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.iam.v2;
    +
    +import com.google.api.core.ApiFuture;
    +import com.google.api.core.ApiFutures;
    +import com.google.api.core.BetaApi;
    +import com.google.api.gax.core.BackgroundResource;
    +import com.google.api.gax.httpjson.longrunning.OperationsClient;
    +import com.google.api.gax.longrunning.OperationFuture;
    +import com.google.api.gax.paging.AbstractFixedSizeCollection;
    +import com.google.api.gax.paging.AbstractPage;
    +import com.google.api.gax.paging.AbstractPagedListResponse;
    +import com.google.api.gax.rpc.OperationCallable;
    +import com.google.api.gax.rpc.PageContext;
    +import com.google.api.gax.rpc.UnaryCallable;
    +import com.google.common.util.concurrent.MoreExecutors;
    +import com.google.iam.v2.stub.PoliciesStub;
    +import com.google.iam.v2.stub.PoliciesStubSettings;
    +import com.google.longrunning.Operation;
    +import java.io.IOException;
    +import java.util.List;
    +import java.util.concurrent.TimeUnit;
    +import javax.annotation.Generated;
    +
    +// AUTO-GENERATED DOCUMENTATION AND CLASS.
    +/**
    + * Service Description: An interface for managing Identity and Access Management (IAM) policies.
    + *
    + * 

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    + *   String name = "name3373707";
    + *   Policy response = policiesClient.getPolicy(name);
    + * }
    + * }
    + * + *

    Note: close() needs to be called on the PoliciesClient 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 PoliciesSettings 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
    + * PoliciesSettings policiesSettings =
    + *     PoliciesSettings.newBuilder()
    + *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    + *         .build();
    + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
    + * }
    + * + *

    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
    + * PoliciesSettings policiesSettings =
    + *     PoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
    + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
    + * }
    + * + *

    To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

    {@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
    + * PoliciesSettings policiesSettings =
    + *     PoliciesSettings.newBuilder()
    + *         .setTransportChannelProvider(
    + *             PoliciesSettings.defaultHttpJsonTransportProviderBuilder().build())
    + *         .build();
    + * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
    + * }
    + * + *

    Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class PoliciesClient implements BackgroundResource { + private final PoliciesSettings settings; + private final PoliciesStub stub; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; + + /** Constructs an instance of PoliciesClient with default settings. */ + public static final PoliciesClient create() throws IOException { + return create(PoliciesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of PoliciesClient, 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 PoliciesClient create(PoliciesSettings settings) throws IOException { + return new PoliciesClient(settings); + } + + /** + * Constructs an instance of PoliciesClient, using the given stub for making calls. This is for + * advanced usage - prefer using create(PoliciesSettings). + */ + public static final PoliciesClient create(PoliciesStub stub) { + return new PoliciesClient(stub); + } + + /** + * Constructs an instance of PoliciesClient, 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 PoliciesClient(PoliciesSettings settings) throws IOException { + this.settings = settings; + this.stub = ((PoliciesStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + protected PoliciesClient(PoliciesStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + public final PoliciesSettings getSettings() { + return settings; + } + + public PoliciesStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final com.google.longrunning.OperationsClient getOperationsClient() { + return operationsClient; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + @BetaApi + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String parent = "parent-995424086";
    +   *   for (Policy element : policiesClient.listPolicies(parent).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param parent 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPoliciesPagedResponse listPolicies(String parent) { + ListPoliciesRequest request = ListPoliciesRequest.newBuilder().setParent(parent).build(); + return listPolicies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListPoliciesRequest request =
    +   *       ListPoliciesRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   for (Policy element : policiesClient.listPolicies(request).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @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 ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request) { + return listPoliciesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListPoliciesRequest request =
    +   *       ListPoliciesRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   ApiFuture future = policiesClient.listPoliciesPagedCallable().futureCall(request);
    +   *   // Do something.
    +   *   for (Policy element : future.get().iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + listPoliciesPagedCallable() { + return stub.listPoliciesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the policies of the specified kind that are attached to a resource. + * + *

    The response lists only policy metadata. In particular, policy rules are omitted. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListPoliciesRequest request =
    +   *       ListPoliciesRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   while (true) {
    +   *     ListPoliciesResponse response = policiesClient.listPoliciesCallable().call(request);
    +   *     for (Policy element : response.getPoliciesList()) {
    +   *       // doThingsWith(element);
    +   *     }
    +   *     String nextPageToken = response.getNextPageToken();
    +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    +   *     } else {
    +   *       break;
    +   *     }
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable listPoliciesCallable() { + return stub.listPoliciesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String name = "name3373707";
    +   *   Policy response = policiesClient.getPolicy(name);
    +   * }
    +   * }
    + * + * @param name 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getPolicy(String name) { + GetPolicyRequest request = GetPolicyRequest.newBuilder().setName(name).build(); + return getPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
    +   *   Policy response = policiesClient.getPolicy(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 Policy getPolicy(GetPolicyRequest request) { + return getPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a policy. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
    +   *   ApiFuture future = policiesClient.getPolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable getPolicyCallable() { + return stub.getPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String parent = "parent-995424086";
    +   *   Policy policy = Policy.newBuilder().build();
    +   *   String policyId = "policyId546908653";
    +   *   Policy response = policiesClient.createPolicyAsync(parent, policy, policyId).get();
    +   * }
    +   * }
    + * + * @param parent 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. + * @param policy Required. The policy to create. + * @param policyId The ID to use for this policy, which will become the final component of the + * policy's resource name. The ID must contain 3 to 63 characters. It can contain lowercase + * letters and numbers, as well as dashes (`-`) and periods (`.`). The first character must be + * a lowercase letter. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createPolicyAsync( + String parent, Policy policy, String policyId) { + CreatePolicyRequest request = + CreatePolicyRequest.newBuilder() + .setParent(parent) + .setPolicy(policy) + .setPolicyId(policyId) + .build(); + return createPolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   CreatePolicyRequest request =
    +   *       CreatePolicyRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setPolicyId("policyId546908653")
    +   *           .build();
    +   *   Policy response = policiesClient.createPolicyAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture createPolicyAsync( + CreatePolicyRequest request) { + return createPolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   CreatePolicyRequest request =
    +   *       CreatePolicyRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setPolicyId("policyId546908653")
    +   *           .build();
    +   *   OperationFuture future =
    +   *       policiesClient.createPolicyOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + createPolicyOperationCallable() { + return stub.createPolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a policy. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   CreatePolicyRequest request =
    +   *       CreatePolicyRequest.newBuilder()
    +   *           .setParent("parent-995424086")
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setPolicyId("policyId546908653")
    +   *           .build();
    +   *   ApiFuture future = policiesClient.createPolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable createPolicyCallable() { + return stub.createPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

    You can update only the rules and the display name for the policy. + * + *

    To update a policy, you should use a read-modify-write loop: + * + *

    1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

    This pattern helps prevent conflicts between concurrent updates. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   UpdatePolicyRequest request =
    +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    +   *   Policy response = policiesClient.updatePolicyAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture updatePolicyAsync( + UpdatePolicyRequest request) { + return updatePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

    You can update only the rules and the display name for the policy. + * + *

    To update a policy, you should use a read-modify-write loop: + * + *

    1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

    This pattern helps prevent conflicts between concurrent updates. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   UpdatePolicyRequest request =
    +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    +   *   OperationFuture future =
    +   *       policiesClient.updatePolicyOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + updatePolicyOperationCallable() { + return stub.updatePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates the specified policy. + * + *

    You can update only the rules and the display name for the policy. + * + *

    To update a policy, you should use a read-modify-write loop: + * + *

    1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the + * policy. 2. Modify the policy as needed. 3. Use `UpdatePolicy` to write the updated policy. + * + *

    This pattern helps prevent conflicts between concurrent updates. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   UpdatePolicyRequest request =
    +   *       UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
    +   *   ApiFuture future = policiesClient.updatePolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable updatePolicyCallable() { + return stub.updatePolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String name = "name3373707";
    +   *   Policy response = policiesClient.deletePolicyAsync(name).get();
    +   * }
    +   * }
    + * + * @param name 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deletePolicyAsync(String name) { + DeletePolicyRequest request = DeletePolicyRequest.newBuilder().setName(name).build(); + return deletePolicyAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   DeletePolicyRequest request =
    +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
    +   *   Policy response = policiesClient.deletePolicyAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture deletePolicyAsync( + DeletePolicyRequest request) { + return deletePolicyOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   DeletePolicyRequest request =
    +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
    +   *   OperationFuture future =
    +   *       policiesClient.deletePolicyOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + deletePolicyOperationCallable() { + return stub.deletePolicyOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a policy. This action is permanent. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   DeletePolicyRequest request =
    +   *       DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
    +   *   ApiFuture future = policiesClient.deletePolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable deletePolicyCallable() { + return stub.deletePolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves all the policies that are attached to the specified resource, or anywhere in the + * ancestry of the resource. For example, for a project this endpoint would return all the + * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent + * organization (if any). The endpoint requires the same permissions that it would take to call + * `ListPolicies` or `GetPolicy`. + * + *

    The main reason to use this endpoint is as a policy admin to debug access issues for a + * resource. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   String attachmentPoint = "attachmentPoint-686994899";
    +   *   for (Policy element : policiesClient.listApplicablePolicies(attachmentPoint).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param attachmentPoint Required. The Cloud resource at which the applicable policies are to be + * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource name, which means + * that the forward-slash character, `/`, must be written as `%2F`. For example, + * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListApplicablePoliciesPagedResponse listApplicablePolicies(String attachmentPoint) { + ListApplicablePoliciesRequest request = + ListApplicablePoliciesRequest.newBuilder().setAttachmentPoint(attachmentPoint).build(); + return listApplicablePolicies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves all the policies that are attached to the specified resource, or anywhere in the + * ancestry of the resource. For example, for a project this endpoint would return all the + * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent + * organization (if any). The endpoint requires the same permissions that it would take to call + * `ListPolicies` or `GetPolicy`. + * + *

    The main reason to use this endpoint is as a policy admin to debug access issues for a + * resource. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListApplicablePoliciesRequest request =
    +   *       ListApplicablePoliciesRequest.newBuilder()
    +   *           .setAttachmentPoint("attachmentPoint-686994899")
    +   *           .setFilter("filter-1274492040")
    +   *           .setPageToken("pageToken873572522")
    +   *           .setPageSize(883849137)
    +   *           .build();
    +   *   for (Policy element : policiesClient.listApplicablePolicies(request).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @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 ListApplicablePoliciesPagedResponse listApplicablePolicies( + ListApplicablePoliciesRequest request) { + return listApplicablePoliciesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves all the policies that are attached to the specified resource, or anywhere in the + * ancestry of the resource. For example, for a project this endpoint would return all the + * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent + * organization (if any). The endpoint requires the same permissions that it would take to call + * `ListPolicies` or `GetPolicy`. + * + *

    The main reason to use this endpoint is as a policy admin to debug access issues for a + * resource. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListApplicablePoliciesRequest request =
    +   *       ListApplicablePoliciesRequest.newBuilder()
    +   *           .setAttachmentPoint("attachmentPoint-686994899")
    +   *           .setFilter("filter-1274492040")
    +   *           .setPageToken("pageToken873572522")
    +   *           .setPageSize(883849137)
    +   *           .build();
    +   *   ApiFuture future =
    +   *       policiesClient.listApplicablePoliciesPagedCallable().futureCall(request);
    +   *   // Do something.
    +   *   for (Policy element : future.get().iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + listApplicablePoliciesPagedCallable() { + return stub.listApplicablePoliciesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves all the policies that are attached to the specified resource, or anywhere in the + * ancestry of the resource. For example, for a project this endpoint would return all the + * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent + * organization (if any). The endpoint requires the same permissions that it would take to call + * `ListPolicies` or `GetPolicy`. + * + *

    The main reason to use this endpoint is as a policy admin to debug access issues for a + * resource. + * + *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    +   *   ListApplicablePoliciesRequest request =
    +   *       ListApplicablePoliciesRequest.newBuilder()
    +   *           .setAttachmentPoint("attachmentPoint-686994899")
    +   *           .setFilter("filter-1274492040")
    +   *           .setPageToken("pageToken873572522")
    +   *           .setPageSize(883849137)
    +   *           .build();
    +   *   while (true) {
    +   *     ListApplicablePoliciesResponse response =
    +   *         policiesClient.listApplicablePoliciesCallable().call(request);
    +   *     for (Policy element : response.getPoliciesList()) {
    +   *       // doThingsWith(element);
    +   *     }
    +   *     String nextPageToken = response.getNextPageToken();
    +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    +   *     } else {
    +   *       break;
    +   *     }
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + listApplicablePoliciesCallable() { + return stub.listApplicablePoliciesCallable(); + } + + @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); + } + + public static class ListPoliciesPagedResponse + extends AbstractPagedListResponse< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListPoliciesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListPoliciesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListPoliciesPagedResponse(ListPoliciesPage page) { + super(page, ListPoliciesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListPoliciesPage + extends AbstractPage { + + private ListPoliciesPage( + PageContext context, + ListPoliciesResponse response) { + super(context, response); + } + + private static ListPoliciesPage createEmptyPage() { + return new ListPoliciesPage(null, null); + } + + @Override + protected ListPoliciesPage createPage( + PageContext context, + ListPoliciesResponse response) { + return new ListPoliciesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListPoliciesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListPoliciesRequest, + ListPoliciesResponse, + Policy, + ListPoliciesPage, + ListPoliciesFixedSizeCollection> { + + private ListPoliciesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListPoliciesFixedSizeCollection createEmptyCollection() { + return new ListPoliciesFixedSizeCollection(null, 0); + } + + @Override + protected ListPoliciesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListPoliciesFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListApplicablePoliciesPagedResponse + extends AbstractPagedListResponse< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + Policy, + ListApplicablePoliciesPage, + ListApplicablePoliciesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListApplicablePoliciesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListApplicablePoliciesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListApplicablePoliciesPagedResponse(ListApplicablePoliciesPage page) { + super(page, ListApplicablePoliciesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListApplicablePoliciesPage + extends AbstractPage< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + Policy, + ListApplicablePoliciesPage> { + + private ListApplicablePoliciesPage( + PageContext context, + ListApplicablePoliciesResponse response) { + super(context, response); + } + + private static ListApplicablePoliciesPage createEmptyPage() { + return new ListApplicablePoliciesPage(null, null); + } + + @Override + protected ListApplicablePoliciesPage createPage( + PageContext context, + ListApplicablePoliciesResponse response) { + return new ListApplicablePoliciesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListApplicablePoliciesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + Policy, + ListApplicablePoliciesPage, + ListApplicablePoliciesFixedSizeCollection> { + + private ListApplicablePoliciesFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListApplicablePoliciesFixedSizeCollection createEmptyCollection() { + return new ListApplicablePoliciesFixedSizeCollection(null, 0); + } + + @Override + protected ListApplicablePoliciesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListApplicablePoliciesFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java new file mode 100644 index 000000000000..a8e27342b871 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java @@ -0,0 +1,303 @@ +/* + * Copyright 2022 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.iam.v2; + +import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.iam.v2.stub.PoliciesStubSettings; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesClient}. + * + *

    The default instance has everything set to sensible defaults: + * + *

      + *
    • The default service address (iam.googleapis.com) and default port (443) are used. + *
    • Credentials are acquired automatically through Application Default Credentials. + *
    • Retries are configured for idempotent methods but not for non-idempotent methods. + *
    + * + *

    The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

    For example, to set the total timeout of getPolicy to 30 seconds: + * + *

    {@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
    + * PoliciesSettings.Builder policiesSettingsBuilder = PoliciesSettings.newBuilder();
    + * policiesSettingsBuilder
    + *     .getPolicySettings()
    + *     .setRetrySettings(
    + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
    + *             .setTotalTimeout(Duration.ofSeconds(30))
    + *             .build());
    + * PoliciesSettings policiesSettings = policiesSettingsBuilder.build();
    + * }
    + */ +@Generated("by gapic-generator-java") +public class PoliciesSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return ((PoliciesStubSettings) getStubSettings()).listPoliciesSettings(); + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).getPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicySettings(); + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).createPolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicySettings(); + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).updatePolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicySettings(); + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return ((PoliciesStubSettings) getStubSettings()).deletePolicyOperationSettings(); + } + + /** Returns the object with the settings used for calls to listApplicablePolicies. */ + public PagedCallSettings< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse> + listApplicablePoliciesSettings() { + return ((PoliciesStubSettings) getStubSettings()).listApplicablePoliciesSettings(); + } + + public static final PoliciesSettings create(PoliciesStubSettings stub) throws IOException { + return new PoliciesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return PoliciesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return PoliciesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return PoliciesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return PoliciesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return PoliciesStubSettings.defaultGrpcTransportProviderBuilder(); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return PoliciesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return PoliciesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for PoliciesSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(PoliciesStubSettings.newBuilder(clientContext)); + } + + protected Builder(PoliciesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(PoliciesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(PoliciesStubSettings.newBuilder()); + } + + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(PoliciesStubSettings.newHttpJsonBuilder()); + } + + public PoliciesStubSettings.Builder getStubSettingsBuilder() { + return ((PoliciesStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

    Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return getStubSettingsBuilder().listPoliciesSettings(); + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getStubSettingsBuilder().getPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return getStubSettingsBuilder().createPolicySettings(); + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return getStubSettingsBuilder().createPolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return getStubSettingsBuilder().updatePolicySettings(); + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return getStubSettingsBuilder().updatePolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return getStubSettingsBuilder().deletePolicySettings(); + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return getStubSettingsBuilder().deletePolicyOperationSettings(); + } + + /** Returns the builder for the settings used for calls to listApplicablePolicies. */ + public PagedCallSettings.Builder< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse> + listApplicablePoliciesSettings() { + return getStubSettingsBuilder().listApplicablePoliciesSettings(); + } + + @Override + public PoliciesSettings build() throws IOException { + return new PoliciesSettings(this); + } + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json new file mode 100644 index 000000000000..c0965438d84f --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json @@ -0,0 +1,36 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.iam.v2", + "libraryPackage": "com.google.iam.v2", + "services": { + "Policies": { + "clients": { + "grpc": { + "libraryClient": "PoliciesClient", + "rpcs": { + "CreatePolicy": { + "methods": ["createPolicyAsync", "createPolicyAsync", "createPolicyOperationCallable", "createPolicyCallable"] + }, + "DeletePolicy": { + "methods": ["deletePolicyAsync", "deletePolicyAsync", "deletePolicyOperationCallable", "deletePolicyCallable"] + }, + "GetPolicy": { + "methods": ["getPolicy", "getPolicy", "getPolicyCallable"] + }, + "ListApplicablePolicies": { + "methods": ["listApplicablePolicies", "listApplicablePolicies", "listApplicablePoliciesPagedCallable", "listApplicablePoliciesCallable"] + }, + "ListPolicies": { + "methods": ["listPolicies", "listPolicies", "listPoliciesPagedCallable", "listPoliciesCallable"] + }, + "UpdatePolicy": { + "methods": ["updatePolicyAsync", "updatePolicyOperationCallable", "updatePolicyCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/package-info.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/package-info.java new file mode 100644 index 000000000000..1994b92c0cd1 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/package-info.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 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. + */ + +/** + * A client to Identity and Access Management (IAM) API + * + *

    The interfaces provided are listed below, along with usage samples. + * + *

    ======================= PoliciesClient ======================= + * + *

    Service Description: An interface for managing Identity and Access Management (IAM) policies. + * + *

    Sample for PoliciesClient: + * + *

    {@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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    + *   String name = "name3373707";
    + *   Policy response = policiesClient.getPolicy(name);
    + * }
    + * }
    + */ +@Generated("by gapic-generator-java") +package com.google.iam.v2; + +import javax.annotation.Generated; diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesCallableFactory.java new file mode 100644 index 000000000000..a09e64777e3f --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the Policies service API. + * + *

    This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcPoliciesCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java new file mode 100644 index 000000000000..3a0f0620f166 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java @@ -0,0 +1,384 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +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.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableMap; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListApplicablePoliciesRequest; +import com.google.iam.v2.ListApplicablePoliciesResponse; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Policies service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcPoliciesStub extends PoliciesStub { + private static final MethodDescriptor + listPoliciesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/ListPolicies") + .setRequestMarshaller(ProtoUtils.marshaller(ListPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListPoliciesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/GetPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/CreatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(CreatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updatePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/UpdatePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deletePolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/DeletePolicy") + .setRequestMarshaller(ProtoUtils.marshaller(DeletePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + ListApplicablePoliciesRequest, ListApplicablePoliciesResponse> + listApplicablePoliciesMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.iam.v2.Policies/ListApplicablePolicies") + .setRequestMarshaller( + ProtoUtils.marshaller(ListApplicablePoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListApplicablePoliciesResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + private final UnaryCallable + listApplicablePoliciesCallable; + private final UnaryCallable + listApplicablePoliciesPagedCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcPoliciesStub create(PoliciesStubSettings settings) throws IOException { + return new GrpcPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final GrpcPoliciesStub create(ClientContext clientContext) throws IOException { + return new GrpcPoliciesStub(PoliciesStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcPoliciesStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcPoliciesStub( + PoliciesStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcPoliciesStub, 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 GrpcPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcPoliciesCallableFactory()); + } + + /** + * Constructs an instance of GrpcPoliciesStub, 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 GrpcPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings listPoliciesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updatePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("policy.name", String.valueOf(request.getPolicy().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deletePolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listApplicablePoliciesTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(listApplicablePoliciesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("attachment_point", String.valueOf(request.getAttachmentPoint())); + return params.build(); + }) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + operationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + operationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + operationsStub); + this.listApplicablePoliciesCallable = + callableFactory.createUnaryCallable( + listApplicablePoliciesTransportSettings, + settings.listApplicablePoliciesSettings(), + clientContext); + this.listApplicablePoliciesPagedCallable = + callableFactory.createPagedCallable( + listApplicablePoliciesTransportSettings, + settings.listApplicablePoliciesSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @Override + public UnaryCallable + listApplicablePoliciesCallable() { + return listApplicablePoliciesCallable; + } + + @Override + public UnaryCallable + listApplicablePoliciesPagedCallable() { + return listApplicablePoliciesPagedCallable; + } + + @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/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesCallableFactory.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesCallableFactory.java new file mode 100644 index 000000000000..27bd9b725e7f --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the Policies service API. + * + *

    This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonPoliciesCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java new file mode 100644 index 000000000000..6370f750ee4d --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java @@ -0,0 +1,552 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +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.HttpJsonOperationSnapshot; +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.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListApplicablePoliciesRequest; +import com.google.iam.v2.ListApplicablePoliciesResponse; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +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 Policies service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonPoliciesStub extends PoliciesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(PolicyOperationMetadata.getDescriptor()) + .add(Policy.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + listPoliciesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/ListPolicies") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=policies/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListPoliciesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/GetPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/CreatePolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{parent=policies/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "policyId", request.getPolicyId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("policy", request.getPolicy(), false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updatePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/UpdatePolicy") + .setHttpMethod("PUT") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{policy.name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "policy.name", request.getPolicy().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("policy", request.getPolicy(), false)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UpdatePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deletePolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.iam.v2.Policies/DeletePolicy") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{name=policies/*/*/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "etag", request.getEtag()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeletePolicyRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor< + ListApplicablePoliciesRequest, ListApplicablePoliciesResponse> + listApplicablePoliciesMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.iam.v2.Policies/ListApplicablePolicies") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v2/{attachmentPoint=*}:listApplicablePolicies", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "attachmentPoint", request.getAttachmentPoint()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListApplicablePoliciesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listPoliciesCallable; + private final UnaryCallable + listPoliciesPagedCallable; + private final UnaryCallable getPolicyCallable; + private final UnaryCallable createPolicyCallable; + private final OperationCallable + createPolicyOperationCallable; + private final UnaryCallable updatePolicyCallable; + private final OperationCallable + updatePolicyOperationCallable; + private final UnaryCallable deletePolicyCallable; + private final OperationCallable + deletePolicyOperationCallable; + private final UnaryCallable + listApplicablePoliciesCallable; + private final UnaryCallable + listApplicablePoliciesPagedCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonPoliciesStub create(PoliciesStubSettings settings) + throws IOException { + return new HttpJsonPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonPoliciesStub create(ClientContext clientContext) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonPoliciesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonPoliciesStub( + PoliciesStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, 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 HttpJsonPoliciesStub(PoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonPoliciesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonPoliciesStub, 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 HttpJsonPoliciesStub( + PoliciesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings listPoliciesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listPoliciesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updatePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updatePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deletePolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deletePolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listApplicablePoliciesTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listApplicablePoliciesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listPoliciesCallable = + callableFactory.createUnaryCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.listPoliciesPagedCallable = + callableFactory.createPagedCallable( + listPoliciesTransportSettings, settings.listPoliciesSettings(), clientContext); + this.getPolicyCallable = + callableFactory.createUnaryCallable( + getPolicyTransportSettings, settings.getPolicySettings(), clientContext); + this.createPolicyCallable = + callableFactory.createUnaryCallable( + createPolicyTransportSettings, settings.createPolicySettings(), clientContext); + this.createPolicyOperationCallable = + callableFactory.createOperationCallable( + createPolicyTransportSettings, + settings.createPolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updatePolicyCallable = + callableFactory.createUnaryCallable( + updatePolicyTransportSettings, settings.updatePolicySettings(), clientContext); + this.updatePolicyOperationCallable = + callableFactory.createOperationCallable( + updatePolicyTransportSettings, + settings.updatePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deletePolicyCallable = + callableFactory.createUnaryCallable( + deletePolicyTransportSettings, settings.deletePolicySettings(), clientContext); + this.deletePolicyOperationCallable = + callableFactory.createOperationCallable( + deletePolicyTransportSettings, + settings.deletePolicyOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listApplicablePoliciesCallable = + callableFactory.createUnaryCallable( + listApplicablePoliciesTransportSettings, + settings.listApplicablePoliciesSettings(), + clientContext); + this.listApplicablePoliciesPagedCallable = + callableFactory.createPagedCallable( + listApplicablePoliciesTransportSettings, + settings.listApplicablePoliciesSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listPoliciesMethodDescriptor); + methodDescriptors.add(getPolicyMethodDescriptor); + methodDescriptors.add(createPolicyMethodDescriptor); + methodDescriptors.add(updatePolicyMethodDescriptor); + methodDescriptors.add(deletePolicyMethodDescriptor); + methodDescriptors.add(listApplicablePoliciesMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable listPoliciesCallable() { + return listPoliciesCallable; + } + + @Override + public UnaryCallable listPoliciesPagedCallable() { + return listPoliciesPagedCallable; + } + + @Override + public UnaryCallable getPolicyCallable() { + return getPolicyCallable; + } + + @Override + public UnaryCallable createPolicyCallable() { + return createPolicyCallable; + } + + @Override + public OperationCallable + createPolicyOperationCallable() { + return createPolicyOperationCallable; + } + + @Override + public UnaryCallable updatePolicyCallable() { + return updatePolicyCallable; + } + + @Override + public OperationCallable + updatePolicyOperationCallable() { + return updatePolicyOperationCallable; + } + + @Override + public UnaryCallable deletePolicyCallable() { + return deletePolicyCallable; + } + + @Override + public OperationCallable + deletePolicyOperationCallable() { + return deletePolicyOperationCallable; + } + + @Override + public UnaryCallable + listApplicablePoliciesCallable() { + return listApplicablePoliciesCallable; + } + + @Override + public UnaryCallable + listApplicablePoliciesPagedCallable() { + return listApplicablePoliciesPagedCallable; + } + + @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/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java new file mode 100644 index 000000000000..f00f4af8f2aa --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java @@ -0,0 +1,108 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListApplicablePoliciesRequest; +import com.google.iam.v2.ListApplicablePoliciesResponse; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Policies service API. + * + *

    This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class PoliciesStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; + } + + public UnaryCallable listPoliciesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesPagedCallable()"); + } + + public UnaryCallable listPoliciesCallable() { + throw new UnsupportedOperationException("Not implemented: listPoliciesCallable()"); + } + + public UnaryCallable getPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getPolicyCallable()"); + } + + public OperationCallable + createPolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyOperationCallable()"); + } + + public UnaryCallable createPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: createPolicyCallable()"); + } + + public OperationCallable + updatePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyOperationCallable()"); + } + + public UnaryCallable updatePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: updatePolicyCallable()"); + } + + public OperationCallable + deletePolicyOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyOperationCallable()"); + } + + public UnaryCallable deletePolicyCallable() { + throw new UnsupportedOperationException("Not implemented: deletePolicyCallable()"); + } + + public UnaryCallable + listApplicablePoliciesPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listApplicablePoliciesPagedCallable()"); + } + + public UnaryCallable + listApplicablePoliciesCallable() { + throw new UnsupportedOperationException("Not implemented: listApplicablePoliciesCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java new file mode 100644 index 000000000000..3a7ffe924800 --- /dev/null +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java @@ -0,0 +1,738 @@ +/* + * Copyright 2022 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.iam.v2.stub; + +import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +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.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.ListApplicablePoliciesRequest; +import com.google.iam.v2.ListApplicablePoliciesResponse; +import com.google.iam.v2.ListPoliciesRequest; +import com.google.iam.v2.ListPoliciesResponse; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyOperationMetadata; +import com.google.iam.v2.UpdatePolicyRequest; +import com.google.longrunning.Operation; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link PoliciesStub}. + * + *

    The default instance has everything set to sensible defaults: + * + *

      + *
    • The default service address (iam.googleapis.com) and default port (443) are used. + *
    • Credentials are acquired automatically through Application Default Credentials. + *
    • Retries are configured for idempotent methods but not for non-idempotent methods. + *
    + * + *

    The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

    For example, to set the total timeout of getPolicy to 30 seconds: + * + *

    {@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
    + * PoliciesStubSettings.Builder policiesSettingsBuilder = PoliciesStubSettings.newBuilder();
    + * policiesSettingsBuilder
    + *     .getPolicySettings()
    + *     .setRetrySettings(
    + *         policiesSettingsBuilder.getPolicySettings().getRetrySettings().toBuilder()
    + *             .setTotalTimeout(Duration.ofSeconds(30))
    + *             .build());
    + * PoliciesStubSettings policiesSettings = policiesSettingsBuilder.build();
    + * }
    + */ +@Generated("by gapic-generator-java") +public class PoliciesStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + + private final PagedCallSettings< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings getPolicySettings; + private final UnaryCallSettings createPolicySettings; + private final OperationCallSettings + createPolicyOperationSettings; + private final UnaryCallSettings updatePolicySettings; + private final OperationCallSettings + updatePolicyOperationSettings; + private final UnaryCallSettings deletePolicySettings; + private final OperationCallSettings + deletePolicyOperationSettings; + private final PagedCallSettings< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse> + listApplicablePoliciesSettings; + + private static final PagedListDescriptor + LIST_POLICIES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListPoliciesRequest injectToken(ListPoliciesRequest payload, String token) { + return ListPoliciesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListPoliciesRequest injectPageSize(ListPoliciesRequest payload, int pageSize) { + return ListPoliciesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListPoliciesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListPoliciesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListPoliciesResponse payload) { + return payload.getPoliciesList() == null + ? ImmutableList.of() + : payload.getPoliciesList(); + } + }; + + private static final PagedListDescriptor< + ListApplicablePoliciesRequest, ListApplicablePoliciesResponse, Policy> + LIST_APPLICABLE_POLICIES_PAGE_STR_DESC = + new PagedListDescriptor< + ListApplicablePoliciesRequest, ListApplicablePoliciesResponse, Policy>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListApplicablePoliciesRequest injectToken( + ListApplicablePoliciesRequest payload, String token) { + return ListApplicablePoliciesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListApplicablePoliciesRequest injectPageSize( + ListApplicablePoliciesRequest payload, int pageSize) { + return ListApplicablePoliciesRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListApplicablePoliciesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListApplicablePoliciesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListApplicablePoliciesResponse payload) { + return payload.getPoliciesList() == null + ? ImmutableList.of() + : payload.getPoliciesList(); + } + }; + + private static final PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + LIST_POLICIES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListPoliciesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_POLICIES_PAGE_STR_DESC, request, context); + return ListPoliciesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse> + LIST_APPLICABLE_POLICIES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + ListApplicablePoliciesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_APPLICABLE_POLICIES_PAGE_STR_DESC, request, context); + return ListApplicablePoliciesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to listPolicies. */ + public PagedCallSettings + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the object with the settings used for calls to getPolicy. */ + public UnaryCallSettings getPolicySettings() { + return getPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public UnaryCallSettings createPolicySettings() { + return createPolicySettings; + } + + /** Returns the object with the settings used for calls to createPolicy. */ + public OperationCallSettings + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public UnaryCallSettings updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the object with the settings used for calls to updatePolicy. */ + public OperationCallSettings + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public UnaryCallSettings deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the object with the settings used for calls to deletePolicy. */ + public OperationCallSettings + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + /** Returns the object with the settings used for calls to listApplicablePolicies. */ + public PagedCallSettings< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse> + listApplicablePoliciesSettings() { + return listApplicablePoliciesSettings; + } + + public PoliciesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcPoliciesStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonPoliciesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "iam.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "iam.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PoliciesStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return PoliciesStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected PoliciesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listPoliciesSettings = settingsBuilder.listPoliciesSettings().build(); + getPolicySettings = settingsBuilder.getPolicySettings().build(); + createPolicySettings = settingsBuilder.createPolicySettings().build(); + createPolicyOperationSettings = settingsBuilder.createPolicyOperationSettings().build(); + updatePolicySettings = settingsBuilder.updatePolicySettings().build(); + updatePolicyOperationSettings = settingsBuilder.updatePolicyOperationSettings().build(); + deletePolicySettings = settingsBuilder.deletePolicySettings().build(); + deletePolicyOperationSettings = settingsBuilder.deletePolicyOperationSettings().build(); + listApplicablePoliciesSettings = settingsBuilder.listApplicablePoliciesSettings().build(); + } + + /** Builder for PoliciesStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings; + private final UnaryCallSettings.Builder getPolicySettings; + private final UnaryCallSettings.Builder createPolicySettings; + private final OperationCallSettings.Builder< + CreatePolicyRequest, Policy, PolicyOperationMetadata> + createPolicyOperationSettings; + private final UnaryCallSettings.Builder updatePolicySettings; + private final OperationCallSettings.Builder< + UpdatePolicyRequest, Policy, PolicyOperationMetadata> + updatePolicyOperationSettings; + private final UnaryCallSettings.Builder deletePolicySettings; + private final OperationCallSettings.Builder< + DeletePolicyRequest, Policy, PolicyOperationMetadata> + deletePolicyOperationSettings; + private final PagedCallSettings.Builder< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse> + listApplicablePoliciesSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "retry_policy_0_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(10000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listPoliciesSettings = PagedCallSettings.newBuilder(LIST_POLICIES_PAGE_STR_FACT); + getPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createPolicyOperationSettings = OperationCallSettings.newBuilder(); + updatePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updatePolicyOperationSettings = OperationCallSettings.newBuilder(); + deletePolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deletePolicyOperationSettings = OperationCallSettings.newBuilder(); + listApplicablePoliciesSettings = + PagedCallSettings.newBuilder(LIST_APPLICABLE_POLICIES_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings, + listApplicablePoliciesSettings); + initDefaults(this); + } + + protected Builder(PoliciesStubSettings settings) { + super(settings); + + listPoliciesSettings = settings.listPoliciesSettings.toBuilder(); + getPolicySettings = settings.getPolicySettings.toBuilder(); + createPolicySettings = settings.createPolicySettings.toBuilder(); + createPolicyOperationSettings = settings.createPolicyOperationSettings.toBuilder(); + updatePolicySettings = settings.updatePolicySettings.toBuilder(); + updatePolicyOperationSettings = settings.updatePolicyOperationSettings.toBuilder(); + deletePolicySettings = settings.deletePolicySettings.toBuilder(); + deletePolicyOperationSettings = settings.deletePolicyOperationSettings.toBuilder(); + listApplicablePoliciesSettings = settings.listApplicablePoliciesSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listPoliciesSettings, + getPolicySettings, + createPolicySettings, + updatePolicySettings, + deletePolicySettings, + listApplicablePoliciesSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .listPoliciesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .createPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .updatePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .deletePolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .listApplicablePoliciesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .createPolicyOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .updatePolicyOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .deletePolicyOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Policy.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(PolicyOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

    Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listPolicies. */ + public PagedCallSettings.Builder< + ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> + listPoliciesSettings() { + return listPoliciesSettings; + } + + /** Returns the builder for the settings used for calls to getPolicy. */ + public UnaryCallSettings.Builder getPolicySettings() { + return getPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + public UnaryCallSettings.Builder createPolicySettings() { + return createPolicySettings; + } + + /** Returns the builder for the settings used for calls to createPolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createPolicyOperationSettings() { + return createPolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + public UnaryCallSettings.Builder updatePolicySettings() { + return updatePolicySettings; + } + + /** Returns the builder for the settings used for calls to updatePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updatePolicyOperationSettings() { + return updatePolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + public UnaryCallSettings.Builder deletePolicySettings() { + return deletePolicySettings; + } + + /** Returns the builder for the settings used for calls to deletePolicy. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + deletePolicyOperationSettings() { + return deletePolicyOperationSettings; + } + + /** Returns the builder for the settings used for calls to listApplicablePolicies. */ + public PagedCallSettings.Builder< + ListApplicablePoliciesRequest, + ListApplicablePoliciesResponse, + ListApplicablePoliciesPagedResponse> + listApplicablePoliciesSettings() { + return listApplicablePoliciesSettings; + } + + @Override + public PoliciesStubSettings build() throws IOException { + return new PoliciesStubSettings(this); + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPolicies.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPolicies.java new file mode 100644 index 000000000000..52054775d531 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPolicies.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 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.iam.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockPolicies implements MockGrpcService { + private final MockPoliciesImpl serviceImpl; + + public MockPolicies() { + serviceImpl = new MockPoliciesImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java new file mode 100644 index 000000000000..1abaf30f096a --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java @@ -0,0 +1,187 @@ +/* + * Copyright 2022 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.iam.v2; + +import com.google.api.core.BetaApi; +import com.google.iam.v2.PoliciesGrpc.PoliciesImplBase; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockPoliciesImpl extends PoliciesImplBase { + private List requests; + private Queue responses; + + public MockPoliciesImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listPolicies( + ListPoliciesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListPoliciesResponse) { + requests.add(request); + responseObserver.onNext(((ListPoliciesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListPolicies, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListPoliciesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getPolicy(GetPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createPolicy( + CreatePolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreatePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updatePolicy( + UpdatePolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdatePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deletePolicy( + DeletePolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeletePolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listApplicablePolicies( + ListApplicablePoliciesRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListApplicablePoliciesResponse) { + requests.add(request); + responseObserver.onNext(((ListApplicablePoliciesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListApplicablePolicies, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListApplicablePoliciesResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java new file mode 100644 index 000000000000..e6534c8592a8 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java @@ -0,0 +1,451 @@ +/* + * Copyright 2022 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.iam.v2; + +import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.common.collect.Lists; +import com.google.iam.v2.stub.HttpJsonPoliciesStub; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientHttpJsonTest { + private static MockHttpService mockService; + private static PoliciesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonPoliciesStub.getMethodDescriptors(), PoliciesSettings.getDefaultEndpoint()); + PoliciesSettings settings = + PoliciesSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + PoliciesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "policies/policie-1456/policie-1456"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listPoliciesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + mockService.addResponse(expectedResponse); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.getPolicy(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "policies/policie-1456/policie-1456"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build()) + .build(); + + Policy actualResponse = client.updatePolicyAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updatePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder() + .setPolicy( + Policy.newBuilder() + .setName("policies/policie-3260/policie-3260/policie-3260") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build()) + .build(); + client.updatePolicyAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "policies/policie-3260/policie-3260/policie-3260"; + + Policy actualResponse = client.deletePolicyAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deletePolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "policies/policie-3260/policie-3260/policie-3260"; + client.deletePolicyAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listApplicablePoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListApplicablePoliciesResponse expectedResponse = + ListApplicablePoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String attachmentPoint = "attachmentPoint-4653"; + + ListApplicablePoliciesPagedResponse pagedListResponse = + client.listApplicablePolicies(attachmentPoint); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listApplicablePoliciesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String attachmentPoint = "attachmentPoint-4653"; + client.listApplicablePolicies(attachmentPoint); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java new file mode 100644 index 000000000000..5001a4d24162 --- /dev/null +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java @@ -0,0 +1,402 @@ +/* + * Copyright 2022 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.iam.v2; + +import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; +import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class PoliciesClientTest { + private static MockPolicies mockPolicies; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private PoliciesClient client; + + @BeforeClass + public static void startStaticServer() { + mockPolicies = new MockPolicies(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockPolicies)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + PoliciesSettings settings = + PoliciesSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = PoliciesClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listPoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListPoliciesResponse expectedResponse = + ListPoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockPolicies.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListPoliciesPagedResponse pagedListResponse = client.listPolicies(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListPoliciesRequest actualRequest = ((ListPoliciesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listPoliciesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + client.listPolicies(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + mockPolicies.addResponse(expectedResponse); + + String name = "name3373707"; + + Policy actualResponse = client.getPolicy(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetPolicyRequest actualRequest = ((GetPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.getPolicy(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createPolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + + Policy actualResponse = client.createPolicyAsync(parent, policy, policyId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreatePolicyRequest actualRequest = ((CreatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertEquals(policyId, actualRequest.getPolicyId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String parent = "parent-995424086"; + Policy policy = Policy.newBuilder().build(); + String policyId = "policyId546908653"; + client.createPolicyAsync(parent, policy, policyId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void updatePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updatePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + + Policy actualResponse = client.updatePolicyAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdatePolicyRequest actualRequest = ((UpdatePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getPolicy(), actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updatePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + UpdatePolicyRequest request = + UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build(); + client.updatePolicyAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deletePolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setName("name3373707") + .setUid("uid115792") + .setKind("kind3292052") + .setDisplayName("displayName1714148973") + .putAllAnnotations(new HashMap()) + .setEtag("etag3123477") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .addAllRules(new ArrayList()) + .setManagingAuthority("managingAuthority867537025") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePolicyTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockPolicies.addResponse(resultOperation); + + String name = "name3373707"; + + Policy actualResponse = client.deletePolicyAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeletePolicyRequest actualRequest = ((DeletePolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deletePolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String name = "name3373707"; + client.deletePolicyAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void listApplicablePoliciesTest() throws Exception { + Policy responsesElement = Policy.newBuilder().build(); + ListApplicablePoliciesResponse expectedResponse = + ListApplicablePoliciesResponse.newBuilder() + .setNextPageToken("") + .addAllPolicies(Arrays.asList(responsesElement)) + .build(); + mockPolicies.addResponse(expectedResponse); + + String attachmentPoint = "attachmentPoint-686994899"; + + ListApplicablePoliciesPagedResponse pagedListResponse = + client.listApplicablePolicies(attachmentPoint); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); + + List actualRequests = mockPolicies.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListApplicablePoliciesRequest actualRequest = + ((ListApplicablePoliciesRequest) actualRequests.get(0)); + + Assert.assertEquals(attachmentPoint, actualRequest.getAttachmentPoint()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listApplicablePoliciesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockPolicies.addException(exception); + + try { + String attachmentPoint = "attachmentPoint-686994899"; + client.listApplicablePolicies(attachmentPoint); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml new file mode 100644 index 000000000000..25ca35fc8fcc --- /dev/null +++ b/java-iam/grpc-google-iam-v2/pom.xml @@ -0,0 +1,69 @@ + + 4.0.0 + com.google.api.grpc + grpc-google-iam-v2 + 1.5.3-SNAPSHOT + grpc-google-iam-v2 + GRPC library for proto-google-iam-v2 + + com.google.cloud + google-iam-parent + 1.5.3-SNAPSHOT + + + + io.grpc + grpc-api + + + io.grpc + grpc-stub + + + io.grpc + grpc-protobuf + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api.grpc + proto-google-iam-v2 + + + com.google.guava + guava + + + + + + java9 + + [9,) + + + + javax.annotation + javax.annotation-api + + + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java new file mode 100644 index 000000000000..b5b34c763f87 --- /dev/null +++ b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java @@ -0,0 +1,971 @@ +/* + * 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. + */ +package com.google.iam.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
    + * An interface for managing Identity and Access Management (IAM) policies.
    + * 
    + */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/iam/v2/policy.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class PoliciesGrpc { + + private PoliciesGrpc() {} + + public static final String SERVICE_NAME = "google.iam.v2.Policies"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2.ListPoliciesRequest, com.google.iam.v2.ListPoliciesResponse> + getListPoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPolicies", + requestType = com.google.iam.v2.ListPoliciesRequest.class, + responseType = com.google.iam.v2.ListPoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2.ListPoliciesRequest, com.google.iam.v2.ListPoliciesResponse> + getListPoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2.ListPoliciesRequest, com.google.iam.v2.ListPoliciesResponse> + getListPoliciesMethod; + if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { + PoliciesGrpc.getListPoliciesMethod = + getListPoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.ListPoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.ListPoliciesResponse.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("ListPolicies")) + .build(); + } + } + } + return getListPoliciesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2.GetPolicyRequest, com.google.iam.v2.Policy> + getGetPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicy", + requestType = com.google.iam.v2.GetPolicyRequest.class, + responseType = com.google.iam.v2.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2.GetPolicyRequest, com.google.iam.v2.Policy> + getGetPolicyMethod() { + io.grpc.MethodDescriptor + getGetPolicyMethod; + if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { + PoliciesGrpc.getGetPolicyMethod = + getGetPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.Policy.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("GetPolicy")) + .build(); + } + } + } + return getGetPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation> + getCreatePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreatePolicy", + requestType = com.google.iam.v2.CreatePolicyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation> + getCreatePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation> + getCreatePolicyMethod; + if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { + PoliciesGrpc.getCreatePolicyMethod = + getCreatePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.CreatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("CreatePolicy")) + .build(); + } + } + } + return getCreatePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation> + getUpdatePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", + requestType = com.google.iam.v2.UpdatePolicyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation> + getUpdatePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation> + getUpdatePolicyMethod; + if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { + PoliciesGrpc.getUpdatePolicyMethod = + getUpdatePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("UpdatePolicy")) + .build(); + } + } + } + return getUpdatePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation> + getDeletePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePolicy", + requestType = com.google.iam.v2.DeletePolicyRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation> + getDeletePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation> + getDeletePolicyMethod; + if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { + PoliciesGrpc.getDeletePolicyMethod = + getDeletePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.DeletePolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("DeletePolicy")) + .build(); + } + } + } + return getDeletePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v2.ListApplicablePoliciesRequest, + com.google.iam.v2.ListApplicablePoliciesResponse> + getListApplicablePoliciesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApplicablePolicies", + requestType = com.google.iam.v2.ListApplicablePoliciesRequest.class, + responseType = com.google.iam.v2.ListApplicablePoliciesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v2.ListApplicablePoliciesRequest, + com.google.iam.v2.ListApplicablePoliciesResponse> + getListApplicablePoliciesMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v2.ListApplicablePoliciesRequest, + com.google.iam.v2.ListApplicablePoliciesResponse> + getListApplicablePoliciesMethod; + if ((getListApplicablePoliciesMethod = PoliciesGrpc.getListApplicablePoliciesMethod) == null) { + synchronized (PoliciesGrpc.class) { + if ((getListApplicablePoliciesMethod = PoliciesGrpc.getListApplicablePoliciesMethod) + == null) { + PoliciesGrpc.getListApplicablePoliciesMethod = + getListApplicablePoliciesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListApplicablePolicies")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.ListApplicablePoliciesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v2.ListApplicablePoliciesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new PoliciesMethodDescriptorSupplier("ListApplicablePolicies")) + .build(); + } + } + } + return getListApplicablePoliciesMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static PoliciesStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PoliciesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesStub(channel, callOptions); + } + }; + return PoliciesStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static PoliciesBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PoliciesBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesBlockingStub(channel, callOptions); + } + }; + return PoliciesBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static PoliciesFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public PoliciesFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesFutureStub(channel, callOptions); + } + }; + return PoliciesFutureStub.newStub(factory, channel); + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public abstract static class PoliciesImplBase implements io.grpc.BindableService { + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public void listPolicies( + com.google.iam.v2.ListPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPoliciesMethod(), responseObserver); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public void getPolicy( + com.google.iam.v2.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public void createPolicy( + com.google.iam.v2.CreatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePolicyMethod(), responseObserver); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current
    +     * version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public void updatePolicy( + com.google.iam.v2.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePolicyMethod(), responseObserver); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public void deletePolicy( + com.google.iam.v2.DeletePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePolicyMethod(), responseObserver); + } + + /** + * + * + *
    +     * Retrieves all the policies that are attached to the specified resource,
    +     * or anywhere in the ancestry of the resource. For example, for a project
    +     * this endpoint would return all the `denyPolicy` kind policies attached to
    +     * the project, its parent folder (if any), and its parent organization (if
    +     * any).
    +     * The endpoint requires the same permissions that it would take to call
    +     * `ListPolicies` or `GetPolicy`.
    +     * The main reason to use this endpoint is as a policy admin to debug access
    +     * issues for a resource.
    +     * 
    + */ + public void listApplicablePolicies( + com.google.iam.v2.ListApplicablePoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListApplicablePoliciesMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListPoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2.ListPoliciesRequest, + com.google.iam.v2.ListPoliciesResponse>(this, METHODID_LIST_POLICIES))) + .addMethod( + getGetPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + this, METHODID_GET_POLICY))) + .addMethod( + getCreatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation>( + this, METHODID_CREATE_POLICY))) + .addMethod( + getUpdatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation>( + this, METHODID_UPDATE_POLICY))) + .addMethod( + getDeletePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation>( + this, METHODID_DELETE_POLICY))) + .addMethod( + getListApplicablePoliciesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v2.ListApplicablePoliciesRequest, + com.google.iam.v2.ListApplicablePoliciesResponse>( + this, METHODID_LIST_APPLICABLE_POLICIES))) + .build(); + } + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public static final class PoliciesStub extends io.grpc.stub.AbstractAsyncStub { + private PoliciesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PoliciesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesStub(channel, callOptions); + } + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public void listPolicies( + com.google.iam.v2.ListPoliciesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPoliciesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public void getPolicy( + com.google.iam.v2.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public void createPolicy( + com.google.iam.v2.CreatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current
    +     * version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public void updatePolicy( + com.google.iam.v2.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public void deletePolicy( + com.google.iam.v2.DeletePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Retrieves all the policies that are attached to the specified resource,
    +     * or anywhere in the ancestry of the resource. For example, for a project
    +     * this endpoint would return all the `denyPolicy` kind policies attached to
    +     * the project, its parent folder (if any), and its parent organization (if
    +     * any).
    +     * The endpoint requires the same permissions that it would take to call
    +     * `ListPolicies` or `GetPolicy`.
    +     * The main reason to use this endpoint is as a policy admin to debug access
    +     * issues for a resource.
    +     * 
    + */ + public void listApplicablePolicies( + com.google.iam.v2.ListApplicablePoliciesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApplicablePoliciesMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public static final class PoliciesBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private PoliciesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PoliciesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesBlockingStub(channel, callOptions); + } + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public com.google.iam.v2.ListPoliciesResponse listPolicies( + com.google.iam.v2.ListPoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPoliciesMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public com.google.longrunning.Operation createPolicy( + com.google.iam.v2.CreatePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current
    +     * version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public com.google.longrunning.Operation updatePolicy( + com.google.iam.v2.UpdatePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public com.google.longrunning.Operation deletePolicy( + com.google.iam.v2.DeletePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Retrieves all the policies that are attached to the specified resource,
    +     * or anywhere in the ancestry of the resource. For example, for a project
    +     * this endpoint would return all the `denyPolicy` kind policies attached to
    +     * the project, its parent folder (if any), and its parent organization (if
    +     * any).
    +     * The endpoint requires the same permissions that it would take to call
    +     * `ListPolicies` or `GetPolicy`.
    +     * The main reason to use this endpoint is as a policy admin to debug access
    +     * issues for a resource.
    +     * 
    + */ + public com.google.iam.v2.ListApplicablePoliciesResponse listApplicablePolicies( + com.google.iam.v2.ListApplicablePoliciesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApplicablePoliciesMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
    +   * An interface for managing Identity and Access Management (IAM) policies.
    +   * 
    + */ + public static final class PoliciesFutureStub + extends io.grpc.stub.AbstractFutureStub { + private PoliciesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected PoliciesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new PoliciesFutureStub(channel, callOptions); + } + + /** + * + * + *
    +     * Retrieves the policies of the specified kind that are attached to a
    +     * resource.
    +     * The response lists only policy metadata. In particular, policy rules are
    +     * omitted.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v2.ListPoliciesResponse> + listPolicies(com.google.iam.v2.ListPoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPoliciesMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Gets a policy.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture getPolicy( + com.google.iam.v2.GetPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Creates a policy.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + createPolicy(com.google.iam.v2.CreatePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Updates the specified policy.
    +     * You can update only the rules and the display name for the policy.
    +     * To update a policy, you should use a read-modify-write loop:
    +     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current
    +     * version of the policy.
    +     * 2. Modify the policy as needed.
    +     * 3. Use `UpdatePolicy` to write the updated policy.
    +     * This pattern helps prevent conflicts between concurrent updates.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + updatePolicy(com.google.iam.v2.UpdatePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Deletes a policy. This action is permanent.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + deletePolicy(com.google.iam.v2.DeletePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Retrieves all the policies that are attached to the specified resource,
    +     * or anywhere in the ancestry of the resource. For example, for a project
    +     * this endpoint would return all the `denyPolicy` kind policies attached to
    +     * the project, its parent folder (if any), and its parent organization (if
    +     * any).
    +     * The endpoint requires the same permissions that it would take to call
    +     * `ListPolicies` or `GetPolicy`.
    +     * The main reason to use this endpoint is as a policy admin to debug access
    +     * issues for a resource.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v2.ListApplicablePoliciesResponse> + listApplicablePolicies(com.google.iam.v2.ListApplicablePoliciesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApplicablePoliciesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_POLICIES = 0; + private static final int METHODID_GET_POLICY = 1; + private static final int METHODID_CREATE_POLICY = 2; + private static final int METHODID_UPDATE_POLICY = 3; + private static final int METHODID_DELETE_POLICY = 4; + private static final int METHODID_LIST_APPLICABLE_POLICIES = 5; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final PoliciesImplBase serviceImpl; + private final int methodId; + + MethodHandlers(PoliciesImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_POLICIES: + serviceImpl.listPolicies( + (com.google.iam.v2.ListPoliciesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_POLICY: + serviceImpl.getPolicy( + (com.google.iam.v2.GetPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_POLICY: + serviceImpl.createPolicy( + (com.google.iam.v2.CreatePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_POLICY: + serviceImpl.updatePolicy( + (com.google.iam.v2.UpdatePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_POLICY: + serviceImpl.deletePolicy( + (com.google.iam.v2.DeletePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_APPLICABLE_POLICIES: + serviceImpl.listApplicablePolicies( + (com.google.iam.v2.ListApplicablePoliciesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class PoliciesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + PoliciesBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.iam.v2.PolicyProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Policies"); + } + } + + private static final class PoliciesFileDescriptorSupplier extends PoliciesBaseDescriptorSupplier { + PoliciesFileDescriptorSupplier() {} + } + + private static final class PoliciesMethodDescriptorSupplier extends PoliciesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + PoliciesMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (PoliciesGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new PoliciesFileDescriptorSupplier()) + .addMethod(getListPoliciesMethod()) + .addMethod(getGetPolicyMethod()) + .addMethod(getCreatePolicyMethod()) + .addMethod(getUpdatePolicyMethod()) + .addMethod(getDeletePolicyMethod()) + .addMethod(getListApplicablePoliciesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9e9123a6a3ff..21d1d3012218 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -74,6 +74,16 @@ pom import + + com.google.api.grpc + proto-google-iam-v2 + 1.5.3-SNAPSHOT + + + com.google.api.grpc + grpc-google-iam-v2 + 1.5.3-SNAPSHOT + com.google.cloud google-iam-policy @@ -112,7 +122,9 @@ proto-google-iam-v1 grpc-google-iam-v2beta + grpc-google-iam-v2 proto-google-iam-v2beta + proto-google-iam-v2 grpc-google-iam-v1 google-iam-policy diff --git a/java-iam/proto-google-iam-v2/clirr-ignored-differences.xml b/java-iam/proto-google-iam-v2/clirr-ignored-differences.xml new file mode 100644 index 000000000000..f9346449b77b --- /dev/null +++ b/java-iam/proto-google-iam-v2/clirr-ignored-differences.xml @@ -0,0 +1,19 @@ + + + + + 7012 + com/google/iam/v2/*OrBuilder + * get*(*) + + + 7012 + com/google/iam/v2/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/iam/v2/*OrBuilder + boolean has*(*) + + diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml new file mode 100644 index 000000000000..55b0666e0580 --- /dev/null +++ b/java-iam/proto-google-iam-v2/pom.xml @@ -0,0 +1,34 @@ + + 4.0.0 + com.google.api.grpc + proto-google-iam-v2 + 1.5.3-SNAPSHOT + proto-google-iam-v2 + Proto library for proto-google-iam-v1 + + com.google.cloud + google-iam-parent + 1.5.3-SNAPSHOT + + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + 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 new file mode 100644 index 000000000000..3a88d070ef31 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java @@ -0,0 +1,1148 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Request message for `CreatePolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2.CreatePolicyRequest} + */ +public final class CreatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.CreatePolicyRequest) + CreatePolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CreatePolicyRequest.newBuilder() to construct. + private CreatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CreatePolicyRequest() { + parent_ = ""; + policyId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreatePolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CreatePolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: + { + com.google.iam.v2.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + policyId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_CreatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.CreatePolicyRequest.class, + com.google.iam.v2.CreatePolicyRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POLICY_FIELD_NUMBER = 2; + private com.google.iam.v2.Policy policy_; + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + @java.lang.Override + public boolean hasPolicy() { + return policy_ != null; + } + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + @java.lang.Override + public com.google.iam.v2.Policy getPolicy() { + return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; + } + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { + return getPolicy(); + } + + public static final int POLICY_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object policyId_; + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The policyId. + */ + @java.lang.Override + public java.lang.String getPolicyId() { + java.lang.Object ref = policyId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + policyId_ = s; + return s; + } + } + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The bytes for policyId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPolicyIdBytes() { + java.lang.Object ref = policyId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + policyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (policy_ != null) { + output.writeMessage(2, getPolicy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, policyId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (policy_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, policyId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.CreatePolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2.CreatePolicyRequest other = (com.google.iam.v2.CreatePolicyRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (hasPolicy() != other.hasPolicy()) return false; + if (hasPolicy()) { + if (!getPolicy().equals(other.getPolicy())) return false; + } + if (!getPolicyId().equals(other.getPolicyId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasPolicy()) { + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + getPolicy().hashCode(); + } + hash = (37 * hash) + POLICY_ID_FIELD_NUMBER; + hash = (53 * hash) + getPolicyId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.CreatePolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.CreatePolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.CreatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.CreatePolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `CreatePolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.CreatePolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.CreatePolicyRequest) + com.google.iam.v2.CreatePolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_CreatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.CreatePolicyRequest.class, + com.google.iam.v2.CreatePolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2.CreatePolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (policyBuilder_ == null) { + policy_ = null; + } else { + policy_ = null; + policyBuilder_ = null; + } + policyId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_CreatePolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.CreatePolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2.CreatePolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.CreatePolicyRequest build() { + com.google.iam.v2.CreatePolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.CreatePolicyRequest buildPartial() { + com.google.iam.v2.CreatePolicyRequest result = + new com.google.iam.v2.CreatePolicyRequest(this); + result.parent_ = parent_; + if (policyBuilder_ == null) { + result.policy_ = policy_; + } else { + result.policy_ = policyBuilder_.build(); + } + result.policyId_ = policyId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.CreatePolicyRequest) { + return mergeFrom((com.google.iam.v2.CreatePolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.CreatePolicyRequest other) { + if (other == com.google.iam.v2.CreatePolicyRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasPolicy()) { + mergePolicy(other.getPolicy()); + } + if (!other.getPolicyId().isEmpty()) { + policyId_ = other.policyId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.CreatePolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.CreatePolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.iam.v2.Policy policy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + policyBuilder_; + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + public boolean hasPolicy() { + return policyBuilder_ != null || policy_ != null; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + public com.google.iam.v2.Policy getPolicy() { + if (policyBuilder_ == null) { + return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; + } else { + return policyBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2.Policy value) { + if (policyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policy_ = value; + onChanged(); + } else { + policyBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2.Policy.Builder builderForValue) { + if (policyBuilder_ == null) { + policy_ = builderForValue.build(); + onChanged(); + } else { + policyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergePolicy(com.google.iam.v2.Policy value) { + if (policyBuilder_ == null) { + if (policy_ != null) { + policy_ = com.google.iam.v2.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); + } else { + policy_ = value; + } + onChanged(); + } else { + policyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearPolicy() { + if (policyBuilder_ == null) { + policy_ = null; + onChanged(); + } else { + policy_ = null; + policyBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2.Policy.Builder getPolicyBuilder() { + + onChanged(); + return getPolicyFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { + if (policyBuilder_ != null) { + return policyBuilder_.getMessageOrBuilder(); + } else { + return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; + } + } + /** + * + * + *
    +     * Required. The policy to create.
    +     * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + getPolicyFieldBuilder() { + if (policyBuilder_ == null) { + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); + policy_ = null; + } + return policyBuilder_; + } + + private java.lang.Object policyId_ = ""; + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @return The policyId. + */ + public java.lang.String getPolicyId() { + java.lang.Object ref = policyId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + policyId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @return The bytes for policyId. + */ + public com.google.protobuf.ByteString getPolicyIdBytes() { + java.lang.Object ref = policyId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + policyId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @param value The policyId to set. + * @return This builder for chaining. + */ + public Builder setPolicyId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + policyId_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearPolicyId() { + + policyId_ = getDefaultInstance().getPolicyId(); + onChanged(); + return this; + } + /** + * + * + *
    +     * The ID to use for this policy, which will become the final component of
    +     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +     * (`.`). The first character must be a lowercase letter.
    +     * 
    + * + * string policy_id = 3; + * + * @param value The bytes for policyId to set. + * @return This builder for chaining. + */ + public Builder setPolicyIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + policyId_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.CreatePolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.CreatePolicyRequest) + private static final com.google.iam.v2.CreatePolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.CreatePolicyRequest(); + } + + public static com.google.iam.v2.CreatePolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreatePolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.CreatePolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..35cbef4d5956 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java @@ -0,0 +1,130 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface CreatePolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.CreatePolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + boolean hasPolicy(); + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + com.google.iam.v2.Policy getPolicy(); + /** + * + * + *
    +   * Required. The policy to create.
    +   * 
    + * + * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder(); + + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The policyId. + */ + java.lang.String getPolicyId(); + /** + * + * + *
    +   * The ID to use for this policy, which will become the final component of
    +   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    +   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    +   * (`.`). The first character must be a lowercase letter.
    +   * 
    + * + * string policy_id = 3; + * + * @return The bytes for policyId. + */ + com.google.protobuf.ByteString getPolicyIdBytes(); +} 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 new file mode 100644 index 000000000000..44d2147b0b8c --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java @@ -0,0 +1,883 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Request message for `DeletePolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2.DeletePolicyRequest} + */ +public final class DeletePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.DeletePolicyRequest) + DeletePolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeletePolicyRequest.newBuilder() to construct. + private DeletePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeletePolicyRequest() { + name_ = ""; + etag_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeletePolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeletePolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_DeletePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.DeletePolicyRequest.class, + com.google.iam.v2.DeletePolicyRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ETAG_FIELD_NUMBER = 2; + private volatile java.lang.Object etag_; + /** + * + * + *
    +   * 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } + } + /** + * + * + *
    +   * 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.DeletePolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2.DeletePolicyRequest other = (com.google.iam.v2.DeletePolicyRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.DeletePolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.DeletePolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.DeletePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.DeletePolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `DeletePolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.DeletePolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.DeletePolicyRequest) + com.google.iam.v2.DeletePolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_DeletePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.DeletePolicyRequest.class, + com.google.iam.v2.DeletePolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2.DeletePolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + etag_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_DeletePolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.DeletePolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2.DeletePolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.DeletePolicyRequest build() { + com.google.iam.v2.DeletePolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.DeletePolicyRequest buildPartial() { + com.google.iam.v2.DeletePolicyRequest result = + new com.google.iam.v2.DeletePolicyRequest(this); + result.name_ = name_; + result.etag_ = etag_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.DeletePolicyRequest) { + return mergeFrom((com.google.iam.v2.DeletePolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.DeletePolicyRequest other) { + if (other == com.google.iam.v2.DeletePolicyRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getEtag().isEmpty()) { + etag_ = other.etag_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.DeletePolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.DeletePolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object etag_ = ""; + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + etag_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + + etag_ = getDefaultInstance().getEtag(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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`.
    +     * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + etag_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.DeletePolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.DeletePolicyRequest) + private static final com.google.iam.v2.DeletePolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.DeletePolicyRequest(); + } + + public static com.google.iam.v2.DeletePolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.DeletePolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..a0d077f2f4f3 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface DeletePolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.DeletePolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The etag. + */ + 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`.
    +   * 
    + * + * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); +} 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 new file mode 100644 index 000000000000..61475584629b --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java @@ -0,0 +1,2504 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/deny.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * A deny rule in an IAM deny policy.
    + * 
    + * + * Protobuf type {@code google.iam.v2.DenyRule} + */ +public final class DenyRule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.DenyRule) + DenyRuleOrBuilder { + private static final long serialVersionUID = 0L; + // Use DenyRule.newBuilder() to construct. + private DenyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(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; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DenyRule(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DenyRule( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + deniedPrincipals_.add(s); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + exceptionPrincipals_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + deniedPermissions_.add(s); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; + } + exceptionPermissions_.add(s); + break; + } + case 42: + { + com.google.type.Expr.Builder subBuilder = null; + if (denialCondition_ != null) { + subBuilder = denialCondition_.toBuilder(); + } + denialCondition_ = + input.readMessage(com.google.type.Expr.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(denialCondition_); + denialCondition_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.DenyRule.class, com.google.iam.v2.DenyRule.Builder.class); + } + + public static final int DENIED_PRINCIPALS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList deniedPrincipals_; + /** + * + * + *
    +   * 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return A list containing the deniedPrincipals. + */ + public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { + return deniedPrincipals_; + } + /** + * + * + *
    +   * 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return The count of deniedPrincipals. + */ + public int getDeniedPrincipalsCount() { + return deniedPrincipals_.size(); + } + /** + * + * + *
    +   * 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the element to return. + * @return The deniedPrincipals at the given index. + */ + public java.lang.String getDeniedPrincipals(int index) { + return deniedPrincipals_.get(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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPrincipals at the given index. + */ + public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { + return deniedPrincipals_.getByteString(index); + } + + public static final int EXCEPTION_PRINCIPALS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList exceptionPrincipals_; + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return A list containing the exceptionPrincipals. + */ + public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { + return exceptionPrincipals_; + } + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return The count of exceptionPrincipals. + */ + public int getExceptionPrincipalsCount() { + return exceptionPrincipals_.size(); + } + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the element to return. + * @return The exceptionPrincipals at the given index. + */ + public java.lang.String getExceptionPrincipals(int index) { + return exceptionPrincipals_.get(index); + } + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPrincipals at the given index. + */ + public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { + return exceptionPrincipals_.getByteString(index); + } + + public static final int DENIED_PERMISSIONS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList deniedPermissions_; + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return A list containing the deniedPermissions. + */ + public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { + return deniedPermissions_; + } + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return The count of deniedPermissions. + */ + public int getDeniedPermissionsCount() { + return deniedPermissions_.size(); + } + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the element to return. + * @return The deniedPermissions at the given index. + */ + public java.lang.String getDeniedPermissions(int index) { + return deniedPermissions_.get(index); + } + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPermissions at the given index. + */ + public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { + return deniedPermissions_.getByteString(index); + } + + public static final int EXCEPTION_PERMISSIONS_FIELD_NUMBER = 4; + private com.google.protobuf.LazyStringList exceptionPermissions_; + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return A list containing the exceptionPermissions. + */ + public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { + return exceptionPermissions_; + } + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return The count of exceptionPermissions. + */ + public int getExceptionPermissionsCount() { + return exceptionPermissions_.size(); + } + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the element to return. + * @return The exceptionPermissions at the given index. + */ + public java.lang.String getExceptionPermissions(int index) { + return exceptionPermissions_.get(index); + } + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPermissions at the given index. + */ + public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { + return exceptionPermissions_.getByteString(index); + } + + public static final int DENIAL_CONDITION_FIELD_NUMBER = 5; + private com.google.type.Expr denialCondition_; + /** + * + * + *
    +   * 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return Whether the denialCondition field is set. + */ + @java.lang.Override + public boolean hasDenialCondition() { + return denialCondition_ != null; + } + /** + * + * + *
    +   * 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return The denialCondition. + */ + @java.lang.Override + public com.google.type.Expr getDenialCondition() { + return denialCondition_ == null ? com.google.type.Expr.getDefaultInstance() : denialCondition_; + } + /** + * + * + *
    +   * 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + */ + @java.lang.Override + public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { + return getDenialCondition(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < deniedPrincipals_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deniedPrincipals_.getRaw(i)); + } + for (int i = 0; i < exceptionPrincipals_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exceptionPrincipals_.getRaw(i)); + } + for (int i = 0; i < deniedPermissions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deniedPermissions_.getRaw(i)); + } + for (int i = 0; i < exceptionPermissions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, exceptionPermissions_.getRaw(i)); + } + if (denialCondition_ != null) { + output.writeMessage(5, getDenialCondition()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < deniedPrincipals_.size(); i++) { + dataSize += computeStringSizeNoTag(deniedPrincipals_.getRaw(i)); + } + size += dataSize; + size += 1 * getDeniedPrincipalsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < exceptionPrincipals_.size(); i++) { + dataSize += computeStringSizeNoTag(exceptionPrincipals_.getRaw(i)); + } + size += dataSize; + size += 1 * getExceptionPrincipalsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < deniedPermissions_.size(); i++) { + dataSize += computeStringSizeNoTag(deniedPermissions_.getRaw(i)); + } + size += dataSize; + size += 1 * getDeniedPermissionsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < exceptionPermissions_.size(); i++) { + dataSize += computeStringSizeNoTag(exceptionPermissions_.getRaw(i)); + } + size += dataSize; + size += 1 * getExceptionPermissionsList().size(); + } + if (denialCondition_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDenialCondition()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.DenyRule)) { + return super.equals(obj); + } + com.google.iam.v2.DenyRule other = (com.google.iam.v2.DenyRule) obj; + + if (!getDeniedPrincipalsList().equals(other.getDeniedPrincipalsList())) return false; + if (!getExceptionPrincipalsList().equals(other.getExceptionPrincipalsList())) return false; + if (!getDeniedPermissionsList().equals(other.getDeniedPermissionsList())) return false; + if (!getExceptionPermissionsList().equals(other.getExceptionPermissionsList())) return false; + if (hasDenialCondition() != other.hasDenialCondition()) return false; + if (hasDenialCondition()) { + if (!getDenialCondition().equals(other.getDenialCondition())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDeniedPrincipalsCount() > 0) { + hash = (37 * hash) + DENIED_PRINCIPALS_FIELD_NUMBER; + hash = (53 * hash) + getDeniedPrincipalsList().hashCode(); + } + if (getExceptionPrincipalsCount() > 0) { + hash = (37 * hash) + EXCEPTION_PRINCIPALS_FIELD_NUMBER; + hash = (53 * hash) + getExceptionPrincipalsList().hashCode(); + } + if (getDeniedPermissionsCount() > 0) { + hash = (37 * hash) + DENIED_PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + getDeniedPermissionsList().hashCode(); + } + if (getExceptionPermissionsCount() > 0) { + hash = (37 * hash) + EXCEPTION_PERMISSIONS_FIELD_NUMBER; + hash = (53 * hash) + getExceptionPermissionsList().hashCode(); + } + if (hasDenialCondition()) { + hash = (37 * hash) + DENIAL_CONDITION_FIELD_NUMBER; + hash = (53 * hash) + getDenialCondition().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.DenyRule parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.DenyRule parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.DenyRule parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.DenyRule parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.DenyRule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.DenyRule parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.DenyRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.DenyRule parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.DenyRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.DenyRule parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.DenyRule parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.DenyRule parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.DenyRule prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * A deny rule in an IAM deny policy.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.DenyRule} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.DenyRule) + com.google.iam.v2.DenyRuleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.DenyRuleProto + .internal_static_google_iam_v2_DenyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.DenyRule.class, com.google.iam.v2.DenyRule.Builder.class); + } + + // Construct using com.google.iam.v2.DenyRule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + 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); + if (denialConditionBuilder_ == null) { + denialCondition_ = null; + } else { + denialCondition_ = null; + denialConditionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.DenyRule getDefaultInstanceForType() { + return com.google.iam.v2.DenyRule.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.DenyRule build() { + com.google.iam.v2.DenyRule result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.DenyRule buildPartial() { + com.google.iam.v2.DenyRule result = new com.google.iam.v2.DenyRule(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.deniedPrincipals_ = deniedPrincipals_; + if (((bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.exceptionPrincipals_ = exceptionPrincipals_; + if (((bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.deniedPermissions_ = deniedPermissions_; + if (((bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.exceptionPermissions_ = exceptionPermissions_; + if (denialConditionBuilder_ == null) { + result.denialCondition_ = denialCondition_; + } else { + result.denialCondition_ = denialConditionBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.DenyRule) { + return mergeFrom((com.google.iam.v2.DenyRule) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.DenyRule other) { + if (other == com.google.iam.v2.DenyRule.getDefaultInstance()) return this; + if (!other.deniedPrincipals_.isEmpty()) { + if (deniedPrincipals_.isEmpty()) { + deniedPrincipals_ = other.deniedPrincipals_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.addAll(other.deniedPrincipals_); + } + onChanged(); + } + if (!other.exceptionPrincipals_.isEmpty()) { + if (exceptionPrincipals_.isEmpty()) { + exceptionPrincipals_ = other.exceptionPrincipals_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.addAll(other.exceptionPrincipals_); + } + onChanged(); + } + if (!other.deniedPermissions_.isEmpty()) { + if (deniedPermissions_.isEmpty()) { + deniedPermissions_ = other.deniedPermissions_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.addAll(other.deniedPermissions_); + } + onChanged(); + } + if (!other.exceptionPermissions_.isEmpty()) { + if (exceptionPermissions_.isEmpty()) { + exceptionPermissions_ = other.exceptionPermissions_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.addAll(other.exceptionPermissions_); + } + onChanged(); + } + if (other.hasDenialCondition()) { + mergeDenialCondition(other.getDenialCondition()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.DenyRule parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.DenyRule) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList deniedPrincipals_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDeniedPrincipalsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(deniedPrincipals_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
    +     * 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @return A list containing the deniedPrincipals. + */ + public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { + return deniedPrincipals_.getUnmodifiableView(); + } + /** + * + * + *
    +     * 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @return The count of deniedPrincipals. + */ + public int getDeniedPrincipalsCount() { + return deniedPrincipals_.size(); + } + /** + * + * + *
    +     * 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the element to return. + * @return The deniedPrincipals at the given index. + */ + public java.lang.String getDeniedPrincipals(int index) { + return deniedPrincipals_.get(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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPrincipals at the given index. + */ + public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { + return deniedPrincipals_.getByteString(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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index to set the value at. + * @param value The deniedPrincipals to set. + * @return This builder for chaining. + */ + public Builder setDeniedPrincipals(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param value The deniedPrincipals to add. + * @return This builder for chaining. + */ + public Builder addDeniedPrincipals(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param values The deniedPrincipals to add. + * @return This builder for chaining. + */ + public Builder addAllDeniedPrincipals(java.lang.Iterable values) { + ensureDeniedPrincipalsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPrincipals_); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @return This builder for chaining. + */ + public Builder clearDeniedPrincipals() { + deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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,
    +     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +     * 
    + * + * repeated string denied_principals = 1; + * + * @param value The bytes of the deniedPrincipals to add. + * @return This builder for chaining. + */ + public Builder addDeniedPrincipalsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList exceptionPrincipals_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExceptionPrincipalsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(exceptionPrincipals_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @return A list containing the exceptionPrincipals. + */ + public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { + return exceptionPrincipals_.getUnmodifiableView(); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @return The count of exceptionPrincipals. + */ + public int getExceptionPrincipalsCount() { + return exceptionPrincipals_.size(); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the element to return. + * @return The exceptionPrincipals at the given index. + */ + public java.lang.String getExceptionPrincipals(int index) { + return exceptionPrincipals_.get(index); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPrincipals at the given index. + */ + public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { + return exceptionPrincipals_.getByteString(index); + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index to set the value at. + * @param value The exceptionPrincipals to set. + * @return This builder for chaining. + */ + public Builder setExceptionPrincipals(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param value The exceptionPrincipals to add. + * @return This builder for chaining. + */ + public Builder addExceptionPrincipals(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param values The exceptionPrincipals to add. + * @return This builder for chaining. + */ + public Builder addAllExceptionPrincipals(java.lang.Iterable values) { + ensureExceptionPrincipalsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPrincipals_); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @return This builder for chaining. + */ + public Builder clearExceptionPrincipals() { + exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
    +     * The identities that are excluded from the deny rule, even if they are
    +     * 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.
    +     * 
    + * + * repeated string exception_principals = 2; + * + * @param value The bytes of the exceptionPrincipals to add. + * @return This builder for chaining. + */ + public Builder addExceptionPrincipalsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList deniedPermissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureDeniedPermissionsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(deniedPermissions_); + bitField0_ |= 0x00000004; + } + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @return A list containing the deniedPermissions. + */ + public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { + return deniedPermissions_.getUnmodifiableView(); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @return The count of deniedPermissions. + */ + public int getDeniedPermissionsCount() { + return deniedPermissions_.size(); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the element to return. + * @return The deniedPermissions at the given index. + */ + public java.lang.String getDeniedPermissions(int index) { + return deniedPermissions_.get(index); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPermissions at the given index. + */ + public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { + return deniedPermissions_.getByteString(index); + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index to set the value at. + * @param value The deniedPermissions to set. + * @return This builder for chaining. + */ + public Builder setDeniedPermissions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param value The deniedPermissions to add. + * @return This builder for chaining. + */ + public Builder addDeniedPermissions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param values The deniedPermissions to add. + * @return This builder for chaining. + */ + public Builder addAllDeniedPermissions(java.lang.Iterable values) { + ensureDeniedPermissionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPermissions_); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @return This builder for chaining. + */ + public Builder clearDeniedPermissions() { + deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
    +     * The permissions that are explicitly denied by this rule. Each permission
    +     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +     * is the fully qualified domain name for the service. For example,
    +     * `iam.googleapis.com/roles.list`.
    +     * 
    + * + * repeated string denied_permissions = 3; + * + * @param value The bytes of the deniedPermissions to add. + * @return This builder for chaining. + */ + public Builder addDeniedPermissionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList exceptionPermissions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExceptionPermissionsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(exceptionPermissions_); + bitField0_ |= 0x00000008; + } + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @return A list containing the exceptionPermissions. + */ + public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { + return exceptionPermissions_.getUnmodifiableView(); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @return The count of exceptionPermissions. + */ + public int getExceptionPermissionsCount() { + return exceptionPermissions_.size(); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the element to return. + * @return The exceptionPermissions at the given index. + */ + public java.lang.String getExceptionPermissions(int index) { + return exceptionPermissions_.get(index); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPermissions at the given index. + */ + public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { + return exceptionPermissions_.getByteString(index); + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index to set the value at. + * @param value The exceptionPermissions to set. + * @return This builder for chaining. + */ + public Builder setExceptionPermissions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param value The exceptionPermissions to add. + * @return This builder for chaining. + */ + public Builder addExceptionPermissions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param values The exceptionPermissions to add. + * @return This builder for chaining. + */ + public Builder addAllExceptionPermissions(java.lang.Iterable values) { + ensureExceptionPermissionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPermissions_); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @return This builder for chaining. + */ + public Builder clearExceptionPermissions() { + exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
    +     * Specifies the permissions that this rule excludes from the set of denied
    +     * 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`.
    +     * 
    + * + * repeated string exception_permissions = 4; + * + * @param value The bytes of the exceptionPermissions to add. + * @return This builder for chaining. + */ + public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.add(value); + onChanged(); + return this; + } + + private com.google.type.Expr denialCondition_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + denialConditionBuilder_; + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return Whether the denialCondition field is set. + */ + public boolean hasDenialCondition() { + return denialConditionBuilder_ != null || denialCondition_ != null; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return The denialCondition. + */ + public com.google.type.Expr getDenialCondition() { + if (denialConditionBuilder_ == null) { + return denialCondition_ == null + ? com.google.type.Expr.getDefaultInstance() + : denialCondition_; + } else { + return denialConditionBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder setDenialCondition(com.google.type.Expr value) { + if (denialConditionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + denialCondition_ = value; + onChanged(); + } else { + denialConditionBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder setDenialCondition(com.google.type.Expr.Builder builderForValue) { + if (denialConditionBuilder_ == null) { + denialCondition_ = builderForValue.build(); + onChanged(); + } else { + denialConditionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder mergeDenialCondition(com.google.type.Expr value) { + if (denialConditionBuilder_ == null) { + if (denialCondition_ != null) { + denialCondition_ = + com.google.type.Expr.newBuilder(denialCondition_).mergeFrom(value).buildPartial(); + } else { + denialCondition_ = value; + } + onChanged(); + } else { + denialConditionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public Builder clearDenialCondition() { + if (denialConditionBuilder_ == null) { + denialCondition_ = null; + onChanged(); + } else { + denialCondition_ = null; + denialConditionBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public com.google.type.Expr.Builder getDenialConditionBuilder() { + + onChanged(); + return getDenialConditionFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { + if (denialConditionBuilder_ != null) { + return denialConditionBuilder_.getMessageOrBuilder(); + } else { + return denialCondition_ == null + ? com.google.type.Expr.getDefaultInstance() + : denialCondition_; + } + } + /** + * + * + *
    +     * 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
    +     * functions and operators are not supported.
    +     * 
    + * + * .google.type.Expr denial_condition = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> + getDenialConditionFieldBuilder() { + if (denialConditionBuilder_ == null) { + denialConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( + getDenialCondition(), getParentForChildren(), isClean()); + denialCondition_ = null; + } + return denialConditionBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.DenyRule) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.DenyRule) + private static final com.google.iam.v2.DenyRule DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.DenyRule(); + } + + public static com.google.iam.v2.DenyRule getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DenyRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DenyRule(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.DenyRule getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..1d35367fb87d --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java @@ -0,0 +1,468 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/deny.proto + +package com.google.iam.v2; + +public interface DenyRuleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.DenyRule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return A list containing the deniedPrincipals. + */ + java.util.List 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @return The count of deniedPrincipals. + */ + 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the element to return. + * @return The deniedPrincipals at the given index. + */ + 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,
    +   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    +   * 
    + * + * repeated string denied_principals = 1; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPrincipals at the given index. + */ + com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index); + + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return A list containing the exceptionPrincipals. + */ + java.util.List getExceptionPrincipalsList(); + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @return The count of exceptionPrincipals. + */ + int getExceptionPrincipalsCount(); + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the element to return. + * @return The exceptionPrincipals at the given index. + */ + java.lang.String getExceptionPrincipals(int index); + /** + * + * + *
    +   * The identities that are excluded from the deny rule, even if they are
    +   * 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.
    +   * 
    + * + * repeated string exception_principals = 2; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPrincipals at the given index. + */ + com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index); + + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return A list containing the deniedPermissions. + */ + java.util.List getDeniedPermissionsList(); + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @return The count of deniedPermissions. + */ + int getDeniedPermissionsCount(); + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the element to return. + * @return The deniedPermissions at the given index. + */ + java.lang.String getDeniedPermissions(int index); + /** + * + * + *
    +   * The permissions that are explicitly denied by this rule. Each permission
    +   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    +   * is the fully qualified domain name for the service. For example,
    +   * `iam.googleapis.com/roles.list`.
    +   * 
    + * + * repeated string denied_permissions = 3; + * + * @param index The index of the value to return. + * @return The bytes of the deniedPermissions at the given index. + */ + com.google.protobuf.ByteString getDeniedPermissionsBytes(int index); + + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return A list containing the exceptionPermissions. + */ + java.util.List getExceptionPermissionsList(); + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @return The count of exceptionPermissions. + */ + int getExceptionPermissionsCount(); + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the element to return. + * @return The exceptionPermissions at the given index. + */ + java.lang.String getExceptionPermissions(int index); + /** + * + * + *
    +   * Specifies the permissions that this rule excludes from the set of denied
    +   * 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`.
    +   * 
    + * + * repeated string exception_permissions = 4; + * + * @param index The index of the value to return. + * @return The bytes of the exceptionPermissions at the given index. + */ + 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return Whether the denialCondition field is set. + */ + 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + * + * @return The denialCondition. + */ + 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
    +   * functions and operators are not supported.
    +   * 
    + * + * .google.type.Expr denial_condition = 5; + */ + com.google.type.ExprOrBuilder getDenialConditionOrBuilder(); +} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java new file mode 100644 index 000000000000..55a5ff758b5e --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java @@ -0,0 +1,75 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/deny.proto + +package com.google.iam.v2; + +public final class DenyRuleProto { + private DenyRuleProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_DenyRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_DenyRule_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\030google/iam/v2/deny.proto\022\rgoogle.iam.v" + + "2\032\026google/type/expr.proto\"\253\001\n\010DenyRule\022\031" + + "\n\021denied_principals\030\001 \003(\t\022\034\n\024exception_p" + + "rincipals\030\002 \003(\t\022\032\n\022denied_permissions\030\003 " + + "\003(\t\022\035\n\025exception_permissions\030\004 \003(\t\022+\n\020de" + + "nial_condition\030\005 \001(\0132\021.google.type.ExprB" + + "\202\001\n\021com.google.iam.v2B\rDenyRuleProtoP\001Z0" + + "google.golang.org/genproto/googleapis/ia" + + "m/v2;iam\252\002\023Google.Cloud.Iam.V2\312\002\023Google\\" + + "Cloud\\Iam\\V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.type.ExprProto.getDescriptor(), + }); + internal_static_google_iam_v2_DenyRule_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v2_DenyRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_DenyRule_descriptor, + new java.lang.String[] { + "DeniedPrincipals", + "ExceptionPrincipals", + "DeniedPermissions", + "ExceptionPermissions", + "DenialCondition", + }); + com.google.type.ExprProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} 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 new file mode 100644 index 000000000000..895940744b66 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java @@ -0,0 +1,674 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Request message for `GetPolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2.GetPolicyRequest} + */ +public final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.GetPolicyRequest) + GetPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetPolicyRequest.newBuilder() to construct. + private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetPolicyRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_GetPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.GetPolicyRequest.class, + com.google.iam.v2.GetPolicyRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.GetPolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2.GetPolicyRequest other = (com.google.iam.v2.GetPolicyRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.GetPolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.GetPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.GetPolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `GetPolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.GetPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.GetPolicyRequest) + com.google.iam.v2.GetPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_GetPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.GetPolicyRequest.class, + com.google.iam.v2.GetPolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2.GetPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_GetPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.GetPolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2.GetPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.GetPolicyRequest build() { + com.google.iam.v2.GetPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.GetPolicyRequest buildPartial() { + com.google.iam.v2.GetPolicyRequest result = new com.google.iam.v2.GetPolicyRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.GetPolicyRequest) { + return mergeFrom((com.google.iam.v2.GetPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.GetPolicyRequest other) { + if (other == com.google.iam.v2.GetPolicyRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.GetPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.GetPolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.GetPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.GetPolicyRequest) + private static final com.google.iam.v2.GetPolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.GetPolicyRequest(); + } + + public static com.google.iam.v2.GetPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.GetPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..6f293a32672d --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface GetPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.GetPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. + */ + 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java new file mode 100644 index 000000000000..fad84f5d0789 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java @@ -0,0 +1,1207 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * `ListApplicablePoliciesRequest` represents the Request message for the
    + * `ListApplicablePolicies` method. It provides the input for a filterable query
    + * of Policies that apply to a certain GCP Resource, specified by the field
    + * `attachment_point`, found on this message.
    + * Example:
    + * ```
    + * {
    + *    attachment_point:
    + *    'cloudresourcemanager.googleapis.com%2Forganizations%2F212345678901'
    + *    filter: 'kind:denyPolicies'
    + * }
    + * ```
    + * 
    + * + * Protobuf type {@code google.iam.v2.ListApplicablePoliciesRequest} + */ +public final class ListApplicablePoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.ListApplicablePoliciesRequest) + ListApplicablePoliciesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListApplicablePoliciesRequest.newBuilder() to construct. + private ListApplicablePoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListApplicablePoliciesRequest() { + attachmentPoint_ = ""; + filter_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListApplicablePoliciesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListApplicablePoliciesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + attachmentPoint_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 32: + { + pageSize_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListApplicablePoliciesRequest.class, + com.google.iam.v2.ListApplicablePoliciesRequest.Builder.class); + } + + public static final int ATTACHMENT_POINT_FIELD_NUMBER = 1; + private volatile java.lang.Object attachmentPoint_; + /** + * + * + *
    +   * Required. The Cloud resource at which the applicable policies are to be
    +   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +   * name, which means that the forward-slash character, `/`, must be written as
    +   * `%2F`. For example,
    +   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +   * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The attachmentPoint. + */ + @java.lang.Override + public java.lang.String getAttachmentPoint() { + java.lang.Object ref = attachmentPoint_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attachmentPoint_ = s; + return s; + } + } + /** + * + * + *
    +   * Required. The Cloud resource at which the applicable policies are to be
    +   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +   * name, which means that the forward-slash character, `/`, must be written as
    +   * `%2F`. For example,
    +   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +   * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for attachmentPoint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getAttachmentPointBytes() { + java.lang.Object ref = attachmentPoint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + attachmentPoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 2; + private volatile java.lang.Object filter_; + /** + * + * + *
    +   * Filtering currently only supports the kind of policies to return, and
    +   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +   * policy kinds may be added in the future without notice.
    +   * Example value: “kind:denyPolicies”
    +   * 
    + * + * string filter = 2; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } + } + /** + * + * + *
    +   * Filtering currently only supports the kind of policies to return, and
    +   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +   * policy kinds may be added in the future without notice.
    +   * Example value: “kind:denyPolicies”
    +   * 
    + * + * string filter = 2; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + * + * + *
    +   * If present, then retrieve the batch of results following the results from
    +   * the preceding call to this method.  `page_token` must be the value of
    +   * `next_page_token`
    +   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +   * from the previous response.  The values of other method parameters should
    +   * be identical to those in the previous call.
    +   * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
    +   * If present, then retrieve the batch of results following the results from
    +   * the preceding call to this method.  `page_token` must be the value of
    +   * `next_page_token`
    +   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +   * from the previous response.  The values of other method parameters should
    +   * be identical to those in the previous call.
    +   * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 4; + private int pageSize_; + /** + * + * + *
    +   * Limit on the number of policies to include in the response.
    +   * Further policies can subsequently be obtained by including the
    +   * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    +   * in a subsequent request.
    +   * The minimum is 25, and the maximum is 100.
    +   * 
    + * + * int32 page_size = 4; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachmentPoint_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachmentPoint_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + if (pageSize_ != 0) { + output.writeInt32(4, pageSize_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachmentPoint_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachmentPoint_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.ListApplicablePoliciesRequest)) { + return super.equals(obj); + } + com.google.iam.v2.ListApplicablePoliciesRequest other = + (com.google.iam.v2.ListApplicablePoliciesRequest) obj; + + if (!getAttachmentPoint().equals(other.getAttachmentPoint())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ATTACHMENT_POINT_FIELD_NUMBER; + hash = (53 * hash) + getAttachmentPoint().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.ListApplicablePoliciesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * `ListApplicablePoliciesRequest` represents the Request message for the
    +   * `ListApplicablePolicies` method. It provides the input for a filterable query
    +   * of Policies that apply to a certain GCP Resource, specified by the field
    +   * `attachment_point`, found on this message.
    +   * Example:
    +   * ```
    +   * {
    +   *    attachment_point:
    +   *    'cloudresourcemanager.googleapis.com%2Forganizations%2F212345678901'
    +   *    filter: 'kind:denyPolicies'
    +   * }
    +   * ```
    +   * 
    + * + * Protobuf type {@code google.iam.v2.ListApplicablePoliciesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.ListApplicablePoliciesRequest) + com.google.iam.v2.ListApplicablePoliciesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListApplicablePoliciesRequest.class, + com.google.iam.v2.ListApplicablePoliciesRequest.Builder.class); + } + + // Construct using com.google.iam.v2.ListApplicablePoliciesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + attachmentPoint_ = ""; + + filter_ = ""; + + pageToken_ = ""; + + pageSize_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesRequest getDefaultInstanceForType() { + return com.google.iam.v2.ListApplicablePoliciesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesRequest build() { + com.google.iam.v2.ListApplicablePoliciesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesRequest buildPartial() { + com.google.iam.v2.ListApplicablePoliciesRequest result = + new com.google.iam.v2.ListApplicablePoliciesRequest(this); + result.attachmentPoint_ = attachmentPoint_; + result.filter_ = filter_; + result.pageToken_ = pageToken_; + result.pageSize_ = pageSize_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.ListApplicablePoliciesRequest) { + return mergeFrom((com.google.iam.v2.ListApplicablePoliciesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.ListApplicablePoliciesRequest other) { + if (other == com.google.iam.v2.ListApplicablePoliciesRequest.getDefaultInstance()) + return this; + if (!other.getAttachmentPoint().isEmpty()) { + attachmentPoint_ = other.attachmentPoint_; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + onChanged(); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.ListApplicablePoliciesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.ListApplicablePoliciesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object attachmentPoint_ = ""; + /** + * + * + *
    +     * Required. The Cloud resource at which the applicable policies are to be
    +     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +     * name, which means that the forward-slash character, `/`, must be written as
    +     * `%2F`. For example,
    +     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +     * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The attachmentPoint. + */ + public java.lang.String getAttachmentPoint() { + java.lang.Object ref = attachmentPoint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + attachmentPoint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Required. The Cloud resource at which the applicable policies are to be
    +     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +     * name, which means that the forward-slash character, `/`, must be written as
    +     * `%2F`. For example,
    +     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +     * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for attachmentPoint. + */ + public com.google.protobuf.ByteString getAttachmentPointBytes() { + java.lang.Object ref = attachmentPoint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + attachmentPoint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Required. The Cloud resource at which the applicable policies are to be
    +     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +     * name, which means that the forward-slash character, `/`, must be written as
    +     * `%2F`. For example,
    +     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +     * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The attachmentPoint to set. + * @return This builder for chaining. + */ + public Builder setAttachmentPoint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + attachmentPoint_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Required. The Cloud resource at which the applicable policies are to be
    +     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +     * name, which means that the forward-slash character, `/`, must be written as
    +     * `%2F`. For example,
    +     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +     * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearAttachmentPoint() { + + attachmentPoint_ = getDefaultInstance().getAttachmentPoint(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Required. The Cloud resource at which the applicable policies are to be
    +     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +     * name, which means that the forward-slash character, `/`, must be written as
    +     * `%2F`. For example,
    +     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +     * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for attachmentPoint to set. + * @return This builder for chaining. + */ + public Builder setAttachmentPointBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + attachmentPoint_ = value; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + * + * + *
    +     * Filtering currently only supports the kind of policies to return, and
    +     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +     * policy kinds may be added in the future without notice.
    +     * Example value: “kind:denyPolicies”
    +     * 
    + * + * string filter = 2; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Filtering currently only supports the kind of policies to return, and
    +     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +     * policy kinds may be added in the future without notice.
    +     * Example value: “kind:denyPolicies”
    +     * 
    + * + * string filter = 2; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Filtering currently only supports the kind of policies to return, and
    +     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +     * policy kinds may be added in the future without notice.
    +     * Example value: “kind:denyPolicies”
    +     * 
    + * + * string filter = 2; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Filtering currently only supports the kind of policies to return, and
    +     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +     * policy kinds may be added in the future without notice.
    +     * Example value: “kind:denyPolicies”
    +     * 
    + * + * string filter = 2; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Filtering currently only supports the kind of policies to return, and
    +     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +     * policy kinds may be added in the future without notice.
    +     * Example value: “kind:denyPolicies”
    +     * 
    + * + * string filter = 2; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + filter_ = value; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
    +     * If present, then retrieve the batch of results following the results from
    +     * the preceding call to this method.  `page_token` must be the value of
    +     * `next_page_token`
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +     * from the previous response.  The values of other method parameters should
    +     * be identical to those in the previous call.
    +     * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * If present, then retrieve the batch of results following the results from
    +     * the preceding call to this method.  `page_token` must be the value of
    +     * `next_page_token`
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +     * from the previous response.  The values of other method parameters should
    +     * be identical to those in the previous call.
    +     * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * If present, then retrieve the batch of results following the results from
    +     * the preceding call to this method.  `page_token` must be the value of
    +     * `next_page_token`
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +     * from the previous response.  The values of other method parameters should
    +     * be identical to those in the previous call.
    +     * 
    + * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * If present, then retrieve the batch of results following the results from
    +     * the preceding call to this method.  `page_token` must be the value of
    +     * `next_page_token`
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +     * from the previous response.  The values of other method parameters should
    +     * be identical to those in the previous call.
    +     * 
    + * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
    +     * If present, then retrieve the batch of results following the results from
    +     * the preceding call to this method.  `page_token` must be the value of
    +     * `next_page_token`
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +     * from the previous response.  The values of other method parameters should
    +     * be identical to those in the previous call.
    +     * 
    + * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
    +     * Limit on the number of policies to include in the response.
    +     * Further policies can subsequently be obtained by including the
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    +     * in a subsequent request.
    +     * The minimum is 25, and the maximum is 100.
    +     * 
    + * + * int32 page_size = 4; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
    +     * Limit on the number of policies to include in the response.
    +     * Further policies can subsequently be obtained by including the
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    +     * in a subsequent request.
    +     * The minimum is 25, and the maximum is 100.
    +     * 
    + * + * int32 page_size = 4; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Limit on the number of policies to include in the response.
    +     * Further policies can subsequently be obtained by including the
    +     * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    +     * in a subsequent request.
    +     * The minimum is 25, and the maximum is 100.
    +     * 
    + * + * int32 page_size = 4; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.ListApplicablePoliciesRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.ListApplicablePoliciesRequest) + private static final com.google.iam.v2.ListApplicablePoliciesRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.ListApplicablePoliciesRequest(); + } + + public static com.google.iam.v2.ListApplicablePoliciesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApplicablePoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApplicablePoliciesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java new file mode 100644 index 000000000000..b4b9180803de --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java @@ -0,0 +1,141 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface ListApplicablePoliciesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.ListApplicablePoliciesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The Cloud resource at which the applicable policies are to be
    +   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +   * name, which means that the forward-slash character, `/`, must be written as
    +   * `%2F`. For example,
    +   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +   * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The attachmentPoint. + */ + java.lang.String getAttachmentPoint(); + /** + * + * + *
    +   * Required. The Cloud resource at which the applicable policies are to be
    +   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    +   * name, which means that the forward-slash character, `/`, must be written as
    +   * `%2F`. For example,
    +   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    +   * 
    + * + * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for attachmentPoint. + */ + com.google.protobuf.ByteString getAttachmentPointBytes(); + + /** + * + * + *
    +   * Filtering currently only supports the kind of policies to return, and
    +   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +   * policy kinds may be added in the future without notice.
    +   * Example value: “kind:denyPolicies”
    +   * 
    + * + * string filter = 2; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
    +   * Filtering currently only supports the kind of policies to return, and
    +   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    +   * policy kinds may be added in the future without notice.
    +   * Example value: “kind:denyPolicies”
    +   * 
    + * + * string filter = 2; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
    +   * If present, then retrieve the batch of results following the results from
    +   * the preceding call to this method.  `page_token` must be the value of
    +   * `next_page_token`
    +   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +   * from the previous response.  The values of other method parameters should
    +   * be identical to those in the previous call.
    +   * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
    +   * If present, then retrieve the batch of results following the results from
    +   * the preceding call to this method.  `page_token` must be the value of
    +   * `next_page_token`
    +   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    +   * from the previous response.  The values of other method parameters should
    +   * be identical to those in the previous call.
    +   * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
    +   * Limit on the number of policies to include in the response.
    +   * Further policies can subsequently be obtained by including the
    +   * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    +   * in a subsequent request.
    +   * The minimum is 25, and the maximum is 100.
    +   * 
    + * + * int32 page_size = 4; + * + * @return The pageSize. + */ + int getPageSize(); +} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java new file mode 100644 index 000000000000..6c31b640b6c5 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java @@ -0,0 +1,1503 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Response message for [ListApplicablePolicies][] method.
    + * 
    + * + * Protobuf type {@code google.iam.v2.ListApplicablePoliciesResponse} + */ +public final class ListApplicablePoliciesResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.ListApplicablePoliciesResponse) + ListApplicablePoliciesResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListApplicablePoliciesResponse.newBuilder() to construct. + private ListApplicablePoliciesResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListApplicablePoliciesResponse() { + policies_ = java.util.Collections.emptyList(); + inaccessible_ = com.google.protobuf.LazyStringArrayList.EMPTY; + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListApplicablePoliciesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListApplicablePoliciesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + policies_.add( + input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + inaccessible_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + inaccessible_.add(s); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = java.util.Collections.unmodifiableList(policies_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + inaccessible_ = inaccessible_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListApplicablePoliciesResponse.class, + com.google.iam.v2.ListApplicablePoliciesResponse.Builder.class); + } + + public static final int POLICIES_FIELD_NUMBER = 1; + private java.util.List policies_; + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public java.util.List getPoliciesList() { + return policies_; + } + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public java.util.List getPoliciesOrBuilderList() { + return policies_; + } + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public int getPoliciesCount() { + return policies_.size(); + } + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public com.google.iam.v2.Policy getPolicies(int index) { + return policies_.get(index); + } + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { + return policies_.get(index); + } + + public static final int INACCESSIBLE_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList inaccessible_; + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @return A list containing the inaccessible. + */ + public com.google.protobuf.ProtocolStringList getInaccessibleList() { + return inaccessible_; + } + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @return The count of inaccessible. + */ + public int getInaccessibleCount() { + return inaccessible_.size(); + } + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @param index The index of the element to return. + * @return The inaccessible at the given index. + */ + public java.lang.String getInaccessible(int index) { + return inaccessible_.get(index); + } + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @param index The index of the value to return. + * @return The bytes of the inaccessible at the given index. + */ + public com.google.protobuf.ByteString getInaccessibleBytes(int index) { + return inaccessible_.getByteString(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
    +   * A page token that can be used in a
    +   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +   * to retrieve the next page. If this field is blank, there are no additional
    +   * pages.
    +   * 
    + * + * string next_page_token = 3; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
    +   * A page token that can be used in a
    +   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +   * to retrieve the next page. If this field is blank, there are no additional
    +   * pages.
    +   * 
    + * + * string next_page_token = 3; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < policies_.size(); i++) { + output.writeMessage(1, policies_.get(i)); + } + for (int i = 0; i < inaccessible_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inaccessible_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < policies_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policies_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < inaccessible_.size(); i++) { + dataSize += computeStringSizeNoTag(inaccessible_.getRaw(i)); + } + size += dataSize; + size += 1 * getInaccessibleList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.ListApplicablePoliciesResponse)) { + return super.equals(obj); + } + com.google.iam.v2.ListApplicablePoliciesResponse other = + (com.google.iam.v2.ListApplicablePoliciesResponse) obj; + + if (!getPoliciesList().equals(other.getPoliciesList())) return false; + if (!getInaccessibleList().equals(other.getInaccessibleList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPoliciesCount() > 0) { + hash = (37 * hash) + POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getPoliciesList().hashCode(); + } + if (getInaccessibleCount() > 0) { + hash = (37 * hash) + INACCESSIBLE_FIELD_NUMBER; + hash = (53 * hash) + getInaccessibleList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.ListApplicablePoliciesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Response message for [ListApplicablePolicies][] method.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.ListApplicablePoliciesResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.ListApplicablePoliciesResponse) + com.google.iam.v2.ListApplicablePoliciesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListApplicablePoliciesResponse.class, + com.google.iam.v2.ListApplicablePoliciesResponse.Builder.class); + } + + // Construct using com.google.iam.v2.ListApplicablePoliciesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getPoliciesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (policiesBuilder_ == null) { + policies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + policiesBuilder_.clear(); + } + inaccessible_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesResponse getDefaultInstanceForType() { + return com.google.iam.v2.ListApplicablePoliciesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesResponse build() { + com.google.iam.v2.ListApplicablePoliciesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesResponse buildPartial() { + com.google.iam.v2.ListApplicablePoliciesResponse result = + new com.google.iam.v2.ListApplicablePoliciesResponse(this); + int from_bitField0_ = bitField0_; + if (policiesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + policies_ = java.util.Collections.unmodifiableList(policies_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.policies_ = policies_; + } else { + result.policies_ = policiesBuilder_.build(); + } + if (((bitField0_ & 0x00000002) != 0)) { + inaccessible_ = inaccessible_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.inaccessible_ = inaccessible_; + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.ListApplicablePoliciesResponse) { + return mergeFrom((com.google.iam.v2.ListApplicablePoliciesResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.ListApplicablePoliciesResponse other) { + if (other == com.google.iam.v2.ListApplicablePoliciesResponse.getDefaultInstance()) + return this; + if (policiesBuilder_ == null) { + if (!other.policies_.isEmpty()) { + if (policies_.isEmpty()) { + policies_ = other.policies_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePoliciesIsMutable(); + policies_.addAll(other.policies_); + } + onChanged(); + } + } else { + if (!other.policies_.isEmpty()) { + if (policiesBuilder_.isEmpty()) { + policiesBuilder_.dispose(); + policiesBuilder_ = null; + policies_ = other.policies_; + bitField0_ = (bitField0_ & ~0x00000001); + policiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPoliciesFieldBuilder() + : null; + } else { + policiesBuilder_.addAllMessages(other.policies_); + } + } + } + if (!other.inaccessible_.isEmpty()) { + if (inaccessible_.isEmpty()) { + inaccessible_ = other.inaccessible_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureInaccessibleIsMutable(); + inaccessible_.addAll(other.inaccessible_); + } + onChanged(); + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.ListApplicablePoliciesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.ListApplicablePoliciesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List policies_ = java.util.Collections.emptyList(); + + private void ensurePoliciesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + policies_ = new java.util.ArrayList(policies_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + policiesBuilder_; + + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public java.util.List getPoliciesList() { + if (policiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(policies_); + } else { + return policiesBuilder_.getMessageList(); + } + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public int getPoliciesCount() { + if (policiesBuilder_ == null) { + return policies_.size(); + } else { + return policiesBuilder_.getCount(); + } + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy getPolicies(int index) { + if (policiesBuilder_ == null) { + return policies_.get(index); + } else { + return policiesBuilder_.getMessage(index); + } + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder setPolicies(int index, com.google.iam.v2.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.set(index, value); + onChanged(); + } else { + policiesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder setPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.set(index, builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(com.google.iam.v2.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.add(value); + onChanged(); + } else { + policiesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(int index, com.google.iam.v2.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.add(index, value); + onChanged(); + } else { + policiesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(com.google.iam.v2.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(index, builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addAllPolicies(java.lang.Iterable values) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); + onChanged(); + } else { + policiesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder clearPolicies() { + if (policiesBuilder_ == null) { + policies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + policiesBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder removePolicies(int index) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.remove(index); + onChanged(); + } else { + policiesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy.Builder getPoliciesBuilder(int index) { + return getPoliciesFieldBuilder().getBuilder(index); + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { + if (policiesBuilder_ == null) { + return policies_.get(index); + } else { + return policiesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public java.util.List getPoliciesOrBuilderList() { + if (policiesBuilder_ != null) { + return policiesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(policies_); + } + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy.Builder addPoliciesBuilder() { + return getPoliciesFieldBuilder().addBuilder(com.google.iam.v2.Policy.getDefaultInstance()); + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy.Builder addPoliciesBuilder(int index) { + return getPoliciesFieldBuilder() + .addBuilder(index, com.google.iam.v2.Policy.getDefaultInstance()); + } + /** + * + * + *
    +     * Ordered list starting from the resource on which this API was called
    +     * then proceeding up the hierarchy. Policies for the same attachment point
    +     * will be grouped, but no further ordering is guaranteed.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public java.util.List getPoliciesBuilderList() { + return getPoliciesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + getPoliciesFieldBuilder() { + if (policiesBuilder_ == null) { + policiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder>( + policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + policies_ = null; + } + return policiesBuilder_; + } + + private com.google.protobuf.LazyStringList inaccessible_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureInaccessibleIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + inaccessible_ = new com.google.protobuf.LazyStringArrayList(inaccessible_); + bitField0_ |= 0x00000002; + } + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @return A list containing the inaccessible. + */ + public com.google.protobuf.ProtocolStringList getInaccessibleList() { + return inaccessible_.getUnmodifiableView(); + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @return The count of inaccessible. + */ + public int getInaccessibleCount() { + return inaccessible_.size(); + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @param index The index of the element to return. + * @return The inaccessible at the given index. + */ + public java.lang.String getInaccessible(int index) { + return inaccessible_.get(index); + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @param index The index of the value to return. + * @return The bytes of the inaccessible at the given index. + */ + public com.google.protobuf.ByteString getInaccessibleBytes(int index) { + return inaccessible_.getByteString(index); + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @param index The index to set the value at. + * @param value The inaccessible to set. + * @return This builder for chaining. + */ + public Builder setInaccessible(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureInaccessibleIsMutable(); + inaccessible_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @param value The inaccessible to add. + * @return This builder for chaining. + */ + public Builder addInaccessible(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureInaccessibleIsMutable(); + inaccessible_.add(value); + onChanged(); + return this; + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @param values The inaccessible to add. + * @return This builder for chaining. + */ + public Builder addAllInaccessible(java.lang.Iterable values) { + ensureInaccessibleIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inaccessible_); + onChanged(); + return this; + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @return This builder for chaining. + */ + public Builder clearInaccessible() { + inaccessible_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
    +     * A list of resources that the caller does not have permission to retrieve.
    +     * List or Get can be used to get detailed error messages.
    +     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +     * List: `policies/{attachment-point}/denypolicies`
    +     * 
    + * + * repeated string inaccessible = 2; + * + * @param value The bytes of the inaccessible to add. + * @return This builder for chaining. + */ + public Builder addInaccessibleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureInaccessibleIsMutable(); + inaccessible_.add(value); + onChanged(); + return this; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
    +     * A page token that can be used in a
    +     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +     * to retrieve the next page. If this field is blank, there are no additional
    +     * pages.
    +     * 
    + * + * string next_page_token = 3; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A page token that can be used in a
    +     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +     * to retrieve the next page. If this field is blank, there are no additional
    +     * pages.
    +     * 
    + * + * string next_page_token = 3; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A page token that can be used in a
    +     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +     * to retrieve the next page. If this field is blank, there are no additional
    +     * pages.
    +     * 
    + * + * string next_page_token = 3; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token that can be used in a
    +     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +     * to retrieve the next page. If this field is blank, there are no additional
    +     * pages.
    +     * 
    + * + * string next_page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token that can be used in a
    +     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +     * to retrieve the next page. If this field is blank, there are no additional
    +     * pages.
    +     * 
    + * + * string next_page_token = 3; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.ListApplicablePoliciesResponse) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.ListApplicablePoliciesResponse) + private static final com.google.iam.v2.ListApplicablePoliciesResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.ListApplicablePoliciesResponse(); + } + + public static com.google.iam.v2.ListApplicablePoliciesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApplicablePoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApplicablePoliciesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.ListApplicablePoliciesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java new file mode 100644 index 000000000000..f83bbeda4e91 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java @@ -0,0 +1,180 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface ListApplicablePoliciesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.ListApplicablePoliciesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + java.util.List getPoliciesList(); + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + com.google.iam.v2.Policy getPolicies(int index); + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + int getPoliciesCount(); + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + java.util.List getPoliciesOrBuilderList(); + /** + * + * + *
    +   * Ordered list starting from the resource on which this API was called
    +   * then proceeding up the hierarchy. Policies for the same attachment point
    +   * will be grouped, but no further ordering is guaranteed.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index); + + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @return A list containing the inaccessible. + */ + java.util.List getInaccessibleList(); + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @return The count of inaccessible. + */ + int getInaccessibleCount(); + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @param index The index of the element to return. + * @return The inaccessible at the given index. + */ + java.lang.String getInaccessible(int index); + /** + * + * + *
    +   * A list of resources that the caller does not have permission to retrieve.
    +   * List or Get can be used to get detailed error messages.
    +   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    +   * List: `policies/{attachment-point}/denypolicies`
    +   * 
    + * + * repeated string inaccessible = 2; + * + * @param index The index of the value to return. + * @return The bytes of the inaccessible at the given index. + */ + com.google.protobuf.ByteString getInaccessibleBytes(int index); + + /** + * + * + *
    +   * A page token that can be used in a
    +   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +   * to retrieve the next page. If this field is blank, there are no additional
    +   * pages.
    +   * 
    + * + * string next_page_token = 3; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
    +   * A page token that can be used in a
    +   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    +   * to retrieve the next page. If this field is blank, there are no additional
    +   * pages.
    +   * 
    + * + * string next_page_token = 3; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} 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 new file mode 100644 index 000000000000..5665c5b7b990 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java @@ -0,0 +1,970 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Request message for `ListPolicies`.
    + * 
    + * + * Protobuf type {@code google.iam.v2.ListPoliciesRequest} + */ +public final class ListPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.ListPoliciesRequest) + ListPoliciesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListPoliciesRequest.newBuilder() to construct. + private ListPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListPoliciesRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListPoliciesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListPoliciesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListPoliciesRequest.class, + com.google.iam.v2.ListPoliciesRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + * + * + *
    +   * The maximum number of policies to return. IAM ignores this value and uses
    +   * the value 1000.
    +   * 
    + * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + * + * + *
    +   * A page token received in a
    +   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +   * token to retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + * + * + *
    +   * A page token received in a
    +   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +   * token to retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.ListPoliciesRequest)) { + return super.equals(obj); + } + com.google.iam.v2.ListPoliciesRequest other = (com.google.iam.v2.ListPoliciesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListPoliciesRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListPoliciesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.ListPoliciesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `ListPolicies`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.ListPoliciesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.ListPoliciesRequest) + com.google.iam.v2.ListPoliciesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListPoliciesRequest.class, + com.google.iam.v2.ListPoliciesRequest.Builder.class); + } + + // Construct using com.google.iam.v2.ListPoliciesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesRequest getDefaultInstanceForType() { + return com.google.iam.v2.ListPoliciesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesRequest build() { + com.google.iam.v2.ListPoliciesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesRequest buildPartial() { + com.google.iam.v2.ListPoliciesRequest result = + new com.google.iam.v2.ListPoliciesRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.ListPoliciesRequest) { + return mergeFrom((com.google.iam.v2.ListPoliciesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.ListPoliciesRequest other) { + if (other == com.google.iam.v2.ListPoliciesRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.ListPoliciesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.ListPoliciesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_; + /** + * + * + *
    +     * The maximum number of policies to return. IAM ignores this value and uses
    +     * the value 1000.
    +     * 
    + * + * int32 page_size = 2; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + * + * + *
    +     * The maximum number of policies to return. IAM ignores this value and uses
    +     * the value 1000.
    +     * 
    + * + * int32 page_size = 2; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * The maximum number of policies to return. IAM ignores this value and uses
    +     * the value 1000.
    +     * 
    + * + * int32 page_size = 2; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + * + * + *
    +     * A page token received in a
    +     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +     * token to retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A page token received in a
    +     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +     * token to retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A page token received in a
    +     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +     * token to retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token received in a
    +     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +     * token to retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token received in a
    +     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +     * token to retrieve the next page.
    +     * 
    + * + * string page_token = 3; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.ListPoliciesRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.ListPoliciesRequest) + private static final com.google.iam.v2.ListPoliciesRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.ListPoliciesRequest(); + } + + public static com.google.iam.v2.ListPoliciesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPoliciesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..5ccf0c27491b --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java @@ -0,0 +1,107 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface ListPoliciesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.ListPoliciesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. + */ + 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.
    +   * 
    + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
    +   * The maximum number of policies to return. IAM ignores this value and uses
    +   * the value 1000.
    +   * 
    + * + * int32 page_size = 2; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
    +   * A page token received in a
    +   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +   * token to retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + * + * + *
    +   * A page token received in a
    +   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    +   * token to retrieve the next page.
    +   * 
    + * + * string page_token = 3; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} 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 new file mode 100644 index 000000000000..fa2820bd98d2 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java @@ -0,0 +1,1132 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Response message for `ListPolicies`.
    + * 
    + * + * Protobuf type {@code google.iam.v2.ListPoliciesResponse} + */ +public final class ListPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.ListPoliciesResponse) + ListPoliciesResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListPoliciesResponse.newBuilder() to construct. + private ListPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListPoliciesResponse() { + policies_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListPoliciesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListPoliciesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + policies_.add( + input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + policies_ = java.util.Collections.unmodifiableList(policies_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListPoliciesResponse.class, + com.google.iam.v2.ListPoliciesResponse.Builder.class); + } + + public static final int POLICIES_FIELD_NUMBER = 1; + private java.util.List policies_; + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public java.util.List getPoliciesList() { + return policies_; + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public java.util.List getPoliciesOrBuilderList() { + return policies_; + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public int getPoliciesCount() { + return policies_.size(); + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public com.google.iam.v2.Policy getPolicies(int index) { + return policies_.get(index); + } + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + @java.lang.Override + public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { + return policies_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + * + * + *
    +   * A page token that you can use in a
    +   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + * + * + *
    +   * A page token that you can use in a
    +   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < policies_.size(); i++) { + output.writeMessage(1, policies_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < policies_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policies_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.ListPoliciesResponse)) { + return super.equals(obj); + } + com.google.iam.v2.ListPoliciesResponse other = (com.google.iam.v2.ListPoliciesResponse) obj; + + if (!getPoliciesList().equals(other.getPoliciesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPoliciesCount() > 0) { + hash = (37 * hash) + POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getPoliciesList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListPoliciesResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.ListPoliciesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.ListPoliciesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Response message for `ListPolicies`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.ListPoliciesResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.ListPoliciesResponse) + com.google.iam.v2.ListPoliciesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.ListPoliciesResponse.class, + com.google.iam.v2.ListPoliciesResponse.Builder.class); + } + + // Construct using com.google.iam.v2.ListPoliciesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getPoliciesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (policiesBuilder_ == null) { + policies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + policiesBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_ListPoliciesResponse_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesResponse getDefaultInstanceForType() { + return com.google.iam.v2.ListPoliciesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesResponse build() { + com.google.iam.v2.ListPoliciesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesResponse buildPartial() { + com.google.iam.v2.ListPoliciesResponse result = + new com.google.iam.v2.ListPoliciesResponse(this); + int from_bitField0_ = bitField0_; + if (policiesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + policies_ = java.util.Collections.unmodifiableList(policies_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.policies_ = policies_; + } else { + result.policies_ = policiesBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.ListPoliciesResponse) { + return mergeFrom((com.google.iam.v2.ListPoliciesResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.ListPoliciesResponse other) { + if (other == com.google.iam.v2.ListPoliciesResponse.getDefaultInstance()) return this; + if (policiesBuilder_ == null) { + if (!other.policies_.isEmpty()) { + if (policies_.isEmpty()) { + policies_ = other.policies_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePoliciesIsMutable(); + policies_.addAll(other.policies_); + } + onChanged(); + } + } else { + if (!other.policies_.isEmpty()) { + if (policiesBuilder_.isEmpty()) { + policiesBuilder_.dispose(); + policiesBuilder_ = null; + policies_ = other.policies_; + bitField0_ = (bitField0_ & ~0x00000001); + policiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPoliciesFieldBuilder() + : null; + } else { + policiesBuilder_.addAllMessages(other.policies_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.ListPoliciesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.ListPoliciesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List policies_ = java.util.Collections.emptyList(); + + private void ensurePoliciesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + policies_ = new java.util.ArrayList(policies_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + policiesBuilder_; + + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public java.util.List getPoliciesList() { + if (policiesBuilder_ == null) { + return java.util.Collections.unmodifiableList(policies_); + } else { + return policiesBuilder_.getMessageList(); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public int getPoliciesCount() { + if (policiesBuilder_ == null) { + return policies_.size(); + } else { + return policiesBuilder_.getCount(); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy getPolicies(int index) { + if (policiesBuilder_ == null) { + return policies_.get(index); + } else { + return policiesBuilder_.getMessage(index); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder setPolicies(int index, com.google.iam.v2.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.set(index, value); + onChanged(); + } else { + policiesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder setPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.set(index, builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(com.google.iam.v2.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.add(value); + onChanged(); + } else { + policiesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(int index, com.google.iam.v2.Policy value) { + if (policiesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePoliciesIsMutable(); + policies_.add(index, value); + onChanged(); + } else { + policiesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(com.google.iam.v2.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(index, builderForValue.build()); + onChanged(); + } else { + policiesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder addAllPolicies(java.lang.Iterable values) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); + onChanged(); + } else { + policiesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder clearPolicies() { + if (policiesBuilder_ == null) { + policies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + policiesBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public Builder removePolicies(int index) { + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.remove(index); + onChanged(); + } else { + policiesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy.Builder getPoliciesBuilder(int index) { + return getPoliciesFieldBuilder().getBuilder(index); + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { + if (policiesBuilder_ == null) { + return policies_.get(index); + } else { + return policiesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public java.util.List getPoliciesOrBuilderList() { + if (policiesBuilder_ != null) { + return policiesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(policies_); + } + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy.Builder addPoliciesBuilder() { + return getPoliciesFieldBuilder().addBuilder(com.google.iam.v2.Policy.getDefaultInstance()); + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public com.google.iam.v2.Policy.Builder addPoliciesBuilder(int index) { + return getPoliciesFieldBuilder() + .addBuilder(index, com.google.iam.v2.Policy.getDefaultInstance()); + } + /** + * + * + *
    +     * Metadata for the policies that are attached to the resource.
    +     * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + public java.util.List getPoliciesBuilderList() { + return getPoliciesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + getPoliciesFieldBuilder() { + if (policiesBuilder_ == null) { + policiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder>( + policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + policies_ = null; + } + return policiesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + * + * + *
    +     * A page token that you can use in a
    +     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A page token that you can use in a
    +     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A page token that you can use in a
    +     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token that you can use in a
    +     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A page token that you can use in a
    +     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * next page. If this field is omitted, there are no additional pages.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.ListPoliciesResponse) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.ListPoliciesResponse) + private static final com.google.iam.v2.ListPoliciesResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.ListPoliciesResponse(); + } + + public static com.google.iam.v2.ListPoliciesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPoliciesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPoliciesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.ListPoliciesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java new file mode 100644 index 000000000000..54a77f751ce1 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java @@ -0,0 +1,105 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface ListPoliciesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.ListPoliciesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + java.util.List getPoliciesList(); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + com.google.iam.v2.Policy getPolicies(int index); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + int getPoliciesCount(); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + java.util.List getPoliciesOrBuilderList(); + /** + * + * + *
    +   * Metadata for the policies that are attached to the resource.
    +   * 
    + * + * repeated .google.iam.v2.Policy policies = 1; + */ + com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index); + + /** + * + * + *
    +   * A page token that you can use in a
    +   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
    +   * A page token that you can use in a
    +   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * next page. If this field is omitted, there are no additional pages.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} 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 new file mode 100644 index 000000000000..2de2078edfe0 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java @@ -0,0 +1,3369 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Data for an IAM policy.
    + * 
    + * + * Protobuf type {@code google.iam.v2.Policy} + */ +public final class Policy extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.Policy) + PolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use Policy.newBuilder() to construct. + private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Policy() { + name_ = ""; + uid_ = ""; + kind_ = ""; + displayName_ = ""; + etag_ = ""; + rules_ = java.util.Collections.emptyList(); + managingAuthority_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Policy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Policy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + uid_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + kind_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (deleteTime_ != null) { + subBuilder = deleteTime_.toBuilder(); + } + deleteTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deleteTime_); + deleteTime_ = subBuilder.buildPartial(); + } + + break; + } + case 82: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + rules_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + rules_.add( + input.readMessage(com.google.iam.v2.PolicyRule.parser(), extensionRegistry)); + break; + } + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + + managingAuthority_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + rules_ = java.util.Collections.unmodifiableList(rules_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 5: + return internalGetAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.Policy.class, com.google.iam.v2.Policy.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UID_FIELD_NUMBER = 2; + private volatile java.lang.Object uid_; + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +   * when the `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The uid. + */ + @java.lang.Override + public java.lang.String getUid() { + java.lang.Object ref = uid_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uid_ = s; + return s; + } + } + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +   * when the `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for uid. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUidBytes() { + java.lang.Object ref = uid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KIND_FIELD_NUMBER = 3; + private volatile java.lang.Object kind_; + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value
    +   * `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kind. + */ + @java.lang.Override + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } + } + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value
    +   * `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for kind. + */ + @java.lang.Override + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DISPLAY_NAME_FIELD_NUMBER = 4; + private volatile java.lang.Object displayName_; + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The displayName. + */ + @java.lang.Override + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } + } + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ANNOTATIONS_FIELD_NUMBER = 5; + + private static final class AnnotationsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField annotations_; + + private com.google.protobuf.MapField + internalGetAnnotations() { + if (annotations_ == null) { + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + } + return annotations_; + } + + public int getAnnotationsCount() { + return internalGetAnnotations().getMap().size(); + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetAnnotations().getMap().containsKey(key); + } + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAnnotations() { + return getAnnotationsMap(); + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.util.Map getAnnotationsMap() { + return internalGetAnnotations().getMap(); + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int ETAG_FIELD_NUMBER = 6; + private volatile java.lang.Object etag_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string etag = 6; + * + * @return The etag. + */ + @java.lang.Override + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string etag = 6; + * + * @return The bytes for etag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATE_TIME_FIELD_NUMBER = 7; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 8; + private com.google.protobuf.Timestamp updateTime_; + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return updateTime_ != null; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return getUpdateTime(); + } + + public static final int DELETE_TIME_FIELD_NUMBER = 9; + private com.google.protobuf.Timestamp deleteTime_; + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +   * not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deleteTime field is set. + */ + @java.lang.Override + public boolean hasDeleteTime() { + return deleteTime_ != null; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +   * not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deleteTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getDeleteTime() { + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + } + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +   * not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { + return getDeleteTime(); + } + + public static final int RULES_FIELD_NUMBER = 10; + private java.util.List rules_; + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + @java.lang.Override + public java.util.List getRulesList() { + return rules_; + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + @java.lang.Override + public java.util.List getRulesOrBuilderList() { + return rules_; + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + @java.lang.Override + public int getRulesCount() { + return rules_.size(); + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + @java.lang.Override + public com.google.iam.v2.PolicyRule getRules(int index) { + return rules_.get(index); + } + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + @java.lang.Override + public com.google.iam.v2.PolicyRuleOrBuilder getRulesOrBuilder(int index) { + return rules_.get(index); + } + + public static final int MANAGING_AUTHORITY_FIELD_NUMBER = 11; + private volatile java.lang.Object managingAuthority_; + /** + * + * + *
    +   * Immutable. Specifies that this policy is managed by an authority and can
    +   * only be modified by that authority. Usage is restricted.
    +   * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The managingAuthority. + */ + @java.lang.Override + public java.lang.String getManagingAuthority() { + java.lang.Object ref = managingAuthority_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + managingAuthority_ = s; + return s; + } + } + /** + * + * + *
    +   * Immutable. Specifies that this policy is managed by an authority and can
    +   * only be modified by that authority. Usage is restricted.
    +   * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for managingAuthority. + */ + @java.lang.Override + public com.google.protobuf.ByteString getManagingAuthorityBytes() { + java.lang.Object ref = managingAuthority_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + managingAuthority_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); + } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, etag_); + } + if (createTime_ != null) { + output.writeMessage(7, getCreateTime()); + } + if (updateTime_ != null) { + output.writeMessage(8, getUpdateTime()); + } + if (deleteTime_ != null) { + output.writeMessage(9, getDeleteTime()); + } + for (int i = 0; i < rules_.size(); i++) { + output.writeMessage(10, rules_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managingAuthority_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, managingAuthority_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); + } + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, etag_); + } + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + } + if (updateTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + } + if (deleteTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeleteTime()); + } + for (int i = 0; i < rules_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, rules_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managingAuthority_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, managingAuthority_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.Policy)) { + return super.equals(obj); + } + com.google.iam.v2.Policy other = (com.google.iam.v2.Policy) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUid().equals(other.getUid())) return false; + if (!getKind().equals(other.getKind())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (hasDeleteTime() != other.hasDeleteTime()) return false; + if (hasDeleteTime()) { + if (!getDeleteTime().equals(other.getDeleteTime())) return false; + } + if (!getRulesList().equals(other.getRulesList())) return false; + if (!getManagingAuthority().equals(other.getManagingAuthority())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + UID_FIELD_NUMBER; + hash = (53 * hash) + getUid().hashCode(); + hash = (37 * hash) + KIND_FIELD_NUMBER; + hash = (53 * hash) + getKind().hashCode(); + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + if (!internalGetAnnotations().getMap().isEmpty()) { + hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetAnnotations().hashCode(); + } + hash = (37 * hash) + ETAG_FIELD_NUMBER; + hash = (53 * hash) + getEtag().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (hasDeleteTime()) { + hash = (37 * hash) + DELETE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getDeleteTime().hashCode(); + } + if (getRulesCount() > 0) { + hash = (37 * hash) + RULES_FIELD_NUMBER; + hash = (53 * hash) + getRulesList().hashCode(); + } + hash = (37 * hash) + MANAGING_AUTHORITY_FIELD_NUMBER; + hash = (53 * hash) + getManagingAuthority().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.Policy parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.Policy parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.Policy parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.Policy parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.Policy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.Policy parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.Policy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.Policy parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.Policy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.Policy parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.Policy parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.Policy parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.Policy prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Data for an IAM policy.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.Policy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.Policy) + com.google.iam.v2.PolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 5: + return internalGetAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 5: + return internalGetMutableAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.Policy.class, com.google.iam.v2.Policy.Builder.class); + } + + // Construct using com.google.iam.v2.Policy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRulesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + uid_ = ""; + + kind_ = ""; + + displayName_ = ""; + + internalGetMutableAnnotations().clear(); + etag_ = ""; + + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + if (updateTimeBuilder_ == null) { + updateTime_ = null; + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + if (deleteTimeBuilder_ == null) { + deleteTime_ = null; + } else { + deleteTime_ = null; + deleteTimeBuilder_ = null; + } + if (rulesBuilder_ == null) { + rules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + rulesBuilder_.clear(); + } + managingAuthority_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.Policy getDefaultInstanceForType() { + return com.google.iam.v2.Policy.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.Policy build() { + com.google.iam.v2.Policy result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.Policy buildPartial() { + com.google.iam.v2.Policy result = new com.google.iam.v2.Policy(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + result.uid_ = uid_; + result.kind_ = kind_; + result.displayName_ = displayName_; + result.annotations_ = internalGetAnnotations(); + result.annotations_.makeImmutable(); + result.etag_ = etag_; + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + if (updateTimeBuilder_ == null) { + result.updateTime_ = updateTime_; + } else { + result.updateTime_ = updateTimeBuilder_.build(); + } + if (deleteTimeBuilder_ == null) { + result.deleteTime_ = deleteTime_; + } else { + result.deleteTime_ = deleteTimeBuilder_.build(); + } + if (rulesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + rules_ = java.util.Collections.unmodifiableList(rules_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.rules_ = rules_; + } else { + result.rules_ = rulesBuilder_.build(); + } + result.managingAuthority_ = managingAuthority_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.Policy) { + return mergeFrom((com.google.iam.v2.Policy) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.Policy other) { + if (other == com.google.iam.v2.Policy.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getUid().isEmpty()) { + uid_ = other.uid_; + onChanged(); + } + if (!other.getKind().isEmpty()) { + kind_ = other.kind_; + onChanged(); + } + if (!other.getDisplayName().isEmpty()) { + displayName_ = other.displayName_; + onChanged(); + } + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + if (!other.getEtag().isEmpty()) { + etag_ = other.etag_; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + if (other.hasDeleteTime()) { + mergeDeleteTime(other.getDeleteTime()); + } + if (rulesBuilder_ == null) { + if (!other.rules_.isEmpty()) { + if (rules_.isEmpty()) { + rules_ = other.rules_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureRulesIsMutable(); + rules_.addAll(other.rules_); + } + onChanged(); + } + } else { + if (!other.rules_.isEmpty()) { + if (rulesBuilder_.isEmpty()) { + rulesBuilder_.dispose(); + rulesBuilder_ = null; + rules_ = other.rules_; + bitField0_ = (bitField0_ & ~0x00000002); + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRulesFieldBuilder() + : null; + } else { + rulesBuilder_.addAllMessages(other.rules_); + } + } + } + if (!other.getManagingAuthority().isEmpty()) { + managingAuthority_ = other.managingAuthority_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.Policy parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.Policy) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object uid_ = ""; + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +     * when the `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The uid. + */ + public java.lang.String getUid() { + java.lang.Object ref = uid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + uid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +     * when the `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for uid. + */ + public com.google.protobuf.ByteString getUidBytes() { + java.lang.Object ref = uid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + uid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +     * when the `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The uid to set. + * @return This builder for chaining. + */ + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + uid_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +     * when the `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearUid() { + + uid_ = getDefaultInstance().getUid(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +     * when the `Policy` is created.
    +     * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for uid to set. + * @return This builder for chaining. + */ + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + uid_ = value; + onChanged(); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value
    +     * `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kind. + */ + public java.lang.String getKind() { + java.lang.Object ref = kind_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + kind_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value
    +     * `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for kind. + */ + public com.google.protobuf.ByteString getKindBytes() { + java.lang.Object ref = kind_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + kind_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value
    +     * `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The kind to set. + * @return This builder for chaining. + */ + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value
    +     * `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + + kind_ = getDefaultInstance().getKind(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Output only. The kind of the `Policy`. Always contains the value
    +     * `DenyPolicy`.
    +     * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for kind to set. + * @return This builder for chaining. + */ + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + kind_ = value; + onChanged(); + return this; + } + + private java.lang.Object displayName_ = ""; + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @return The displayName. + */ + public java.lang.String getDisplayName() { + java.lang.Object ref = displayName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + displayName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + public com.google.protobuf.ByteString getDisplayNameBytes() { + java.lang.Object ref = displayName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + displayName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + displayName_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + + displayName_ = getDefaultInstance().getDisplayName(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the `Policy`. This value can be up to 63
    +     * characters.
    +     * 
    + * + * string display_name = 4; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + displayName_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField annotations_; + + private com.google.protobuf.MapField + internalGetAnnotations() { + if (annotations_ == null) { + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + } + return annotations_; + } + + private com.google.protobuf.MapField + internalGetMutableAnnotations() { + onChanged(); + ; + if (annotations_ == null) { + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + } + if (!annotations_.isMutable()) { + annotations_ = annotations_.copy(); + } + return annotations_; + } + + public int getAnnotationsCount() { + return internalGetAnnotations().getMap().size(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetAnnotations().getMap().containsKey(key); + } + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAnnotations() { + return getAnnotationsMap(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.util.Map getAnnotationsMap() { + return internalGetAnnotations().getMap(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + @java.lang.Override + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearAnnotations() { + internalGetMutableAnnotations().getMutableMap().clear(); + return this; + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableAnnotations() { + return internalGetMutableAnnotations().getMutableMap(); + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + + internalGetMutableAnnotations().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
    +     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +     * can be up to 63 characters. Values can be up to 255 characters.
    +     * 
    + * + * map<string, string> annotations = 5; + */ + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); + return this; + } + + private java.lang.Object etag_ = ""; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @return The etag. + */ + public java.lang.String getEtag() { + java.lang.Object ref = etag_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + etag_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @return The bytes for etag. + */ + public com.google.protobuf.ByteString getEtagBytes() { + java.lang.Object ref = etag_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + etag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @param value The etag to set. + * @return This builder for chaining. + */ + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + etag_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + + etag_ = getDefaultInstance().getEtag(); + onChanged(); + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * string etag = 6; + * + * @param value The bytes for etag to set. + * @return This builder for chaining. + */ + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + etag_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return updateTimeBuilder_ != null || updateTime_ != null; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + onChanged(); + } else { + updateTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + onChanged(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (updateTime_ != null) { + updateTime_ = + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + } else { + updateTime_ = value; + } + onChanged(); + } else { + updateTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + if (updateTimeBuilder_ == null) { + updateTime_ = null; + onChanged(); + } else { + updateTime_ = null; + updateTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + + onChanged(); + return getUpdateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.protobuf.Timestamp deleteTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deleteTime field is set. + */ + public boolean hasDeleteTime() { + return deleteTimeBuilder_ != null || deleteTime_ != null; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deleteTime. + */ + public com.google.protobuf.Timestamp getDeleteTime() { + if (deleteTimeBuilder_ == null) { + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; + } else { + return deleteTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeleteTime(com.google.protobuf.Timestamp value) { + if (deleteTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deleteTime_ = value; + onChanged(); + } else { + deleteTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (deleteTimeBuilder_ == null) { + deleteTime_ = builderForValue.build(); + onChanged(); + } else { + deleteTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { + if (deleteTimeBuilder_ == null) { + if (deleteTime_ != null) { + deleteTime_ = + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + } else { + deleteTime_ = value; + } + onChanged(); + } else { + deleteTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearDeleteTime() { + if (deleteTimeBuilder_ == null) { + deleteTime_ = null; + onChanged(); + } else { + deleteTime_ = null; + deleteTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { + + onChanged(); + return getDeleteTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { + if (deleteTimeBuilder_ != null) { + return deleteTimeBuilder_.getMessageOrBuilder(); + } else { + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; + } + } + /** + * + * + *
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +     * not deleted.
    +     * 
    + * + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getDeleteTimeFieldBuilder() { + if (deleteTimeBuilder_ == null) { + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); + deleteTime_ = null; + } + return deleteTimeBuilder_; + } + + private java.util.List rules_ = java.util.Collections.emptyList(); + + private void ensureRulesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + rules_ = new java.util.ArrayList(rules_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.PolicyRule, + com.google.iam.v2.PolicyRule.Builder, + com.google.iam.v2.PolicyRuleOrBuilder> + rulesBuilder_; + + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public java.util.List getRulesList() { + if (rulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(rules_); + } else { + return rulesBuilder_.getMessageList(); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public int getRulesCount() { + if (rulesBuilder_ == null) { + return rules_.size(); + } else { + return rulesBuilder_.getCount(); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public com.google.iam.v2.PolicyRule getRules(int index) { + if (rulesBuilder_ == null) { + return rules_.get(index); + } else { + return rulesBuilder_.getMessage(index); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder setRules(int index, com.google.iam.v2.PolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.set(index, value); + onChanged(); + } else { + rulesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder setRules(int index, com.google.iam.v2.PolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.set(index, builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder addRules(com.google.iam.v2.PolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.add(value); + onChanged(); + } else { + rulesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder addRules(int index, com.google.iam.v2.PolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.add(index, value); + onChanged(); + } else { + rulesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder addRules(com.google.iam.v2.PolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder addRules(int index, com.google.iam.v2.PolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(index, builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder addAllRules(java.lang.Iterable values) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + onChanged(); + } else { + rulesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder clearRules() { + if (rulesBuilder_ == null) { + rules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + rulesBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public Builder removeRules(int index) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.remove(index); + onChanged(); + } else { + rulesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public com.google.iam.v2.PolicyRule.Builder getRulesBuilder(int index) { + return getRulesFieldBuilder().getBuilder(index); + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public com.google.iam.v2.PolicyRuleOrBuilder getRulesOrBuilder(int index) { + if (rulesBuilder_ == null) { + return rules_.get(index); + } else { + return rulesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public java.util.List getRulesOrBuilderList() { + if (rulesBuilder_ != null) { + return rulesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(rules_); + } + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public com.google.iam.v2.PolicyRule.Builder addRulesBuilder() { + return getRulesFieldBuilder().addBuilder(com.google.iam.v2.PolicyRule.getDefaultInstance()); + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public com.google.iam.v2.PolicyRule.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder(index, com.google.iam.v2.PolicyRule.getDefaultInstance()); + } + /** + * + * + *
    +     * A list of rules that specify the behavior of the `Policy`. All of the rules
    +     * should be of the `kind` specified in the `Policy`.
    +     * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + public java.util.List getRulesBuilderList() { + return getRulesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.PolicyRule, + com.google.iam.v2.PolicyRule.Builder, + com.google.iam.v2.PolicyRuleOrBuilder> + getRulesFieldBuilder() { + if (rulesBuilder_ == null) { + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.iam.v2.PolicyRule, + com.google.iam.v2.PolicyRule.Builder, + com.google.iam.v2.PolicyRuleOrBuilder>( + rules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rules_ = null; + } + return rulesBuilder_; + } + + private java.lang.Object managingAuthority_ = ""; + /** + * + * + *
    +     * Immutable. Specifies that this policy is managed by an authority and can
    +     * only be modified by that authority. Usage is restricted.
    +     * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The managingAuthority. + */ + public java.lang.String getManagingAuthority() { + java.lang.Object ref = managingAuthority_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + managingAuthority_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * Immutable. Specifies that this policy is managed by an authority and can
    +     * only be modified by that authority. Usage is restricted.
    +     * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for managingAuthority. + */ + public com.google.protobuf.ByteString getManagingAuthorityBytes() { + java.lang.Object ref = managingAuthority_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + managingAuthority_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * Immutable. Specifies that this policy is managed by an authority and can
    +     * only be modified by that authority. Usage is restricted.
    +     * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The managingAuthority to set. + * @return This builder for chaining. + */ + public Builder setManagingAuthority(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + managingAuthority_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Immutable. Specifies that this policy is managed by an authority and can
    +     * only be modified by that authority. Usage is restricted.
    +     * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return This builder for chaining. + */ + public Builder clearManagingAuthority() { + + managingAuthority_ = getDefaultInstance().getManagingAuthority(); + onChanged(); + return this; + } + /** + * + * + *
    +     * Immutable. Specifies that this policy is managed by an authority and can
    +     * only be modified by that authority. Usage is restricted.
    +     * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @param value The bytes for managingAuthority to set. + * @return This builder for chaining. + */ + public Builder setManagingAuthorityBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + managingAuthority_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.Policy) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.Policy) + private static final com.google.iam.v2.Policy DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.Policy(); + } + + public static com.google.iam.v2.Policy getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Policy(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.Policy getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..3f3b95fce283 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java @@ -0,0 +1,728 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Metadata for long-running `Policy` operations.
    + * 
    + * + * Protobuf type {@code google.iam.v2.PolicyOperationMetadata} + */ +public final class PolicyOperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.PolicyOperationMetadata) + PolicyOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use PolicyOperationMetadata.newBuilder() to construct. + private PolicyOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PolicyOperationMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PolicyOperationMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PolicyOperationMetadata( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.PolicyOperationMetadata.class, + com.google.iam.v2.PolicyOperationMetadata.Builder.class); + } + + public static final int CREATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return createTime_ != null; + } + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return getCreateTime(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (createTime_ != null) { + output.writeMessage(1, getCreateTime()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (createTime_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.PolicyOperationMetadata)) { + return super.equals(obj); + } + com.google.iam.v2.PolicyOperationMetadata other = + (com.google.iam.v2.PolicyOperationMetadata) obj; + + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.PolicyOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.PolicyOperationMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Metadata for long-running `Policy` operations.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.PolicyOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.PolicyOperationMetadata) + com.google.iam.v2.PolicyOperationMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.PolicyOperationMetadata.class, + com.google.iam.v2.PolicyOperationMetadata.Builder.class); + } + + // Construct using com.google.iam.v2.PolicyOperationMetadata.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (createTimeBuilder_ == null) { + createTime_ = null; + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.PolicyOperationMetadata getDefaultInstanceForType() { + return com.google.iam.v2.PolicyOperationMetadata.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.PolicyOperationMetadata build() { + com.google.iam.v2.PolicyOperationMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.PolicyOperationMetadata buildPartial() { + com.google.iam.v2.PolicyOperationMetadata result = + new com.google.iam.v2.PolicyOperationMetadata(this); + if (createTimeBuilder_ == null) { + result.createTime_ = createTime_; + } else { + result.createTime_ = createTimeBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.PolicyOperationMetadata) { + return mergeFrom((com.google.iam.v2.PolicyOperationMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.PolicyOperationMetadata other) { + if (other == com.google.iam.v2.PolicyOperationMetadata.getDefaultInstance()) return this; + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.PolicyOperationMetadata parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.PolicyOperationMetadata) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return createTimeBuilder_ != null || createTime_ != null; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + onChanged(); + } else { + createTimeBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + onChanged(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (createTime_ != null) { + createTime_ = + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + } else { + createTime_ = value; + } + onChanged(); + } else { + createTimeBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public Builder clearCreateTime() { + if (createTimeBuilder_ == null) { + createTime_ = null; + onChanged(); + } else { + createTime_ = null; + createTimeBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + + onChanged(); + return getCreateTimeFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + /** + * + * + *
    +     * Timestamp when the `google.longrunning.Operation` was created.
    +     * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + getCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.PolicyOperationMetadata) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.PolicyOperationMetadata) + private static final com.google.iam.v2.PolicyOperationMetadata DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.PolicyOperationMetadata(); + } + + public static com.google.iam.v2.PolicyOperationMetadata getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PolicyOperationMetadata(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.PolicyOperationMetadata getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java new file mode 100644 index 000000000000..902e8200cd10 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java @@ -0,0 +1,60 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface PolicyOperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.PolicyOperationMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
    +   * Timestamp when the `google.longrunning.Operation` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 1; + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); +} 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 new file mode 100644 index 000000000000..276617f9182a --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java @@ -0,0 +1,444 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface PolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.Policy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The name. + */ + 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.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +   * when the `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The uid. + */ + java.lang.String getUid(); + /** + * + * + *
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    +   * when the `Policy` is created.
    +   * 
    + * + * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for uid. + */ + com.google.protobuf.ByteString getUidBytes(); + + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value
    +   * `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
    +   * Output only. The kind of the `Policy`. Always contains the value
    +   * `DenyPolicy`.
    +   * 
    + * + * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
    +   * A user-specified description of the `Policy`. This value can be up to 63
    +   * characters.
    +   * 
    + * + * string display_name = 4; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + int getAnnotationsCount(); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + boolean containsAnnotations(java.lang.String key); + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getAnnotations(); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + java.util.Map getAnnotationsMap(); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + + /* nullable */ + java.lang.String getAnnotationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
    +   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    +   * can be up to 63 characters. Values can be up to 255 characters.
    +   * 
    + * + * map<string, string> annotations = 5; + */ + 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.
    +   * 
    + * + * string etag = 6; + * + * @return The etag. + */ + 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.
    +   * 
    + * + * string etag = 6; + * + * @return The bytes for etag. + */ + com.google.protobuf.ByteString getEtagBytes(); + + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +   * not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deleteTime field is set. + */ + boolean hasDeleteTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +   * not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deleteTime. + */ + com.google.protobuf.Timestamp getDeleteTime(); + /** + * + * + *
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    +   * not deleted.
    +   * 
    + * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); + + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + java.util.List getRulesList(); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + com.google.iam.v2.PolicyRule getRules(int index); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + int getRulesCount(); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + java.util.List getRulesOrBuilderList(); + /** + * + * + *
    +   * A list of rules that specify the behavior of the `Policy`. All of the rules
    +   * should be of the `kind` specified in the `Policy`.
    +   * 
    + * + * repeated .google.iam.v2.PolicyRule rules = 10; + */ + com.google.iam.v2.PolicyRuleOrBuilder getRulesOrBuilder(int index); + + /** + * + * + *
    +   * Immutable. Specifies that this policy is managed by an authority and can
    +   * only be modified by that authority. Usage is restricted.
    +   * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The managingAuthority. + */ + java.lang.String getManagingAuthority(); + /** + * + * + *
    +   * Immutable. Specifies that this policy is managed by an authority and can
    +   * only be modified by that authority. Usage is restricted.
    +   * 
    + * + * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; + * + * @return The bytes for managingAuthority. + */ + com.google.protobuf.ByteString getManagingAuthorityBytes(); +} 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 new file mode 100644 index 000000000000..7b921a99fee1 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java @@ -0,0 +1,290 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public final class PolicyProto { + private PolicyProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_Policy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_Policy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_Policy_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_PolicyRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_PolicyRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_ListPoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_ListPoliciesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_GetPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_CreatePolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_DeletePolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\032google/iam/v2/policy.proto\022\rgoogle.iam" + + ".v2\032\034google/api/annotations.proto\032\027googl" + + "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\"u\n\035ListApplicablePolici" + + "esRequest\022\035\n\020attachment_point\030\001 \001(\tB\003\340A\002" + + "\022\016\n\006filter\030\002 \001(\t\022\022\n\npage_token\030\003 \001(\t\022\021\n\t" + + "page_size\030\004 \001(\005\"x\n\036ListApplicablePolicie" + + "sResponse\022\'\n\010policies\030\001 \003(\0132\025.google.iam" + + ".v2.Policy\022\024\n\014inaccessible\030\002 \003(\t\022\027\n\017next" + + "_page_token\030\003 \001(\t\"J\n\027PolicyOperationMeta" + + "data\022/\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.Timestamp2\224\010\n\010Policies\022\203\001\n\014ListPolic" + + "ies\022\".google.iam.v2.ListPoliciesRequest\032" + + "#.google.iam.v2.ListPoliciesResponse\"*\202\323" + + "\344\223\002\033\022\031/v2/{parent=policies/*/*}\332A\006parent" + + "\022m\n\tGetPolicy\022\037.google.iam.v2.GetPolicyR" + + "equest\032\025.google.iam.v2.Policy\"(\202\323\344\223\002\033\022\031/" + + "v2/{name=policies/*/*/*}\332A\004name\022\272\001\n\014Crea" + + "tePolicy\022\".google.iam.v2.CreatePolicyReq" + + "uest\032\035.google.longrunning.Operation\"g\202\323\344" + + "\223\002#\"\031/v2/{parent=policies/*/*}:\006policy\332A" + + "\027parent,policy,policy_id\312A!\n\006Policy\022\027Pol" + + "icyOperationMetadata\022\247\001\n\014UpdatePolicy\022\"." + + "google.iam.v2.UpdatePolicyRequest\032\035.goog" + + "le.longrunning.Operation\"T\202\323\344\223\002*\032 /v2/{p" + + "olicy.name=policies/*/*/*}:\006policy\312A!\n\006P" + + "olicy\022\027PolicyOperationMetadata\022\237\001\n\014Delet" + + "ePolicy\022\".google.iam.v2.DeletePolicyRequ" + + "est\032\035.google.longrunning.Operation\"L\202\323\344\223" + + "\002\033*\031/v2/{name=policies/*/*/*}\332A\004name\312A!\n" + + "\006Policy\022\027PolicyOperationMetadata\022\301\001\n\026Lis" + + "tApplicablePolicies\022,.google.iam.v2.List" + + "ApplicablePoliciesRequest\032-.google.iam.v" + + "2.ListApplicablePoliciesResponse\"J\202\323\344\223\0021" + + "\022//v2/{attachment_point=*}:listApplicabl" + + "ePolicies\332A\020attachment_point\032F\312A\022iam.goo" + + "gleapis.com\322A.https://www.googleapis.com" + + "/auth/cloud-platformB\200\001\n\021com.google.iam." + + "v2B\013PolicyProtoP\001Z0google.golang.org/gen" + + "proto/googleapis/iam/v2;iam\252\002\023Google.Clo" + + "ud.Iam.V2\312\002\023Google\\Cloud\\Iam\\V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.iam.v2.DenyRuleProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_iam_v2_Policy_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_iam_v2_Policy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_Policy_descriptor, + new java.lang.String[] { + "Name", + "Uid", + "Kind", + "DisplayName", + "Annotations", + "Etag", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Rules", + "ManagingAuthority", + }); + internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor = + internal_static_google_iam_v2_Policy_descriptor.getNestedTypes().get(0); + internal_static_google_iam_v2_Policy_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_iam_v2_PolicyRule_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_google_iam_v2_PolicyRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_PolicyRule_descriptor, + new java.lang.String[] { + "DenyRule", "Description", "Kind", + }); + internal_static_google_iam_v2_ListPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_ListPoliciesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_iam_v2_ListPoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_ListPoliciesResponse_descriptor, + new java.lang.String[] { + "Policies", "NextPageToken", + }); + internal_static_google_iam_v2_GetPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_GetPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_iam_v2_CreatePolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_CreatePolicyRequest_descriptor, + new java.lang.String[] { + "Parent", "Policy", "PolicyId", + }); + internal_static_google_iam_v2_UpdatePolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_UpdatePolicyRequest_descriptor, + new java.lang.String[] { + "Policy", + }); + internal_static_google_iam_v2_DeletePolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_DeletePolicyRequest_descriptor, + new java.lang.String[] { + "Name", "Etag", + }); + internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor, + new java.lang.String[] { + "AttachmentPoint", "Filter", "PageToken", "PageSize", + }); + internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor, + new java.lang.String[] { + "Policies", "Inaccessible", "NextPageToken", + }); + internal_static_google_iam_v2_PolicyOperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_iam_v2_PolicyOperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.iam.v2.DenyRuleProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} 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 new file mode 100644 index 000000000000..c1de50c95fc5 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java @@ -0,0 +1,1007 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * A single rule in a `Policy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2.PolicyRule} + */ +public final class PolicyRule extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.PolicyRule) + PolicyRuleOrBuilder { + private static final long serialVersionUID = 0L; + // Use PolicyRule.newBuilder() to construct. + private PolicyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PolicyRule() { + description_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PolicyRule(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PolicyRule( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 18: + { + com.google.iam.v2.DenyRule.Builder subBuilder = null; + if (kindCase_ == 2) { + subBuilder = ((com.google.iam.v2.DenyRule) kind_).toBuilder(); + } + kind_ = input.readMessage(com.google.iam.v2.DenyRule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.iam.v2.DenyRule) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 2; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.PolicyRule.class, com.google.iam.v2.PolicyRule.Builder.class); + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public enum KindCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DENY_RULE(2), + KIND_NOT_SET(0); + private final int value; + + private KindCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static KindCase valueOf(int value) { + return forNumber(value); + } + + public static KindCase forNumber(int value) { + switch (value) { + case 2: + return DENY_RULE; + case 0: + return KIND_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public static final int DENY_RULE_FIELD_NUMBER = 2; + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + * + * @return Whether the denyRule field is set. + */ + @java.lang.Override + public boolean hasDenyRule() { + return kindCase_ == 2; + } + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + * + * @return The denyRule. + */ + @java.lang.Override + public com.google.iam.v2.DenyRule getDenyRule() { + if (kindCase_ == 2) { + return (com.google.iam.v2.DenyRule) kind_; + } + return com.google.iam.v2.DenyRule.getDefaultInstance(); + } + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + @java.lang.Override + public com.google.iam.v2.DenyRuleOrBuilder getDenyRuleOrBuilder() { + if (kindCase_ == 2) { + return (com.google.iam.v2.DenyRule) kind_; + } + return com.google.iam.v2.DenyRule.getDefaultInstance(); + } + + public static final int DESCRIPTION_FIELD_NUMBER = 1; + private volatile java.lang.Object description_; + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); + } + if (kindCase_ == 2) { + output.writeMessage(2, (com.google.iam.v2.DenyRule) kind_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); + } + if (kindCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.iam.v2.DenyRule) kind_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.PolicyRule)) { + return super.equals(obj); + } + com.google.iam.v2.PolicyRule other = (com.google.iam.v2.PolicyRule) obj; + + if (!getDescription().equals(other.getDescription())) return false; + if (!getKindCase().equals(other.getKindCase())) return false; + switch (kindCase_) { + case 2: + if (!getDenyRule().equals(other.getDenyRule())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + switch (kindCase_) { + case 2: + hash = (37 * hash) + DENY_RULE_FIELD_NUMBER; + hash = (53 * hash) + getDenyRule().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.PolicyRule parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.PolicyRule parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.PolicyRule parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.PolicyRule parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.PolicyRule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.PolicyRule parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.PolicyRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.PolicyRule parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.PolicyRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.PolicyRule parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.PolicyRule parseFrom(com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.PolicyRule parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.PolicyRule prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * A single rule in a `Policy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.PolicyRule} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.PolicyRule) + com.google.iam.v2.PolicyRuleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_PolicyRule_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.PolicyRule.class, com.google.iam.v2.PolicyRule.Builder.class); + } + + // Construct using com.google.iam.v2.PolicyRule.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + description_ = ""; + + kindCase_ = 0; + kind_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.PolicyRule getDefaultInstanceForType() { + return com.google.iam.v2.PolicyRule.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.PolicyRule build() { + com.google.iam.v2.PolicyRule result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.PolicyRule buildPartial() { + com.google.iam.v2.PolicyRule result = new com.google.iam.v2.PolicyRule(this); + if (kindCase_ == 2) { + if (denyRuleBuilder_ == null) { + result.kind_ = kind_; + } else { + result.kind_ = denyRuleBuilder_.build(); + } + } + result.description_ = description_; + result.kindCase_ = kindCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.PolicyRule) { + return mergeFrom((com.google.iam.v2.PolicyRule) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.PolicyRule other) { + if (other == com.google.iam.v2.PolicyRule.getDefaultInstance()) return this; + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + switch (other.getKindCase()) { + case DENY_RULE: + { + mergeDenyRule(other.getDenyRule()); + break; + } + case KIND_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.PolicyRule parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.PolicyRule) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int kindCase_ = 0; + private java.lang.Object kind_; + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); + } + + public Builder clearKind() { + kindCase_ = 0; + kind_ = null; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.DenyRule, + com.google.iam.v2.DenyRule.Builder, + com.google.iam.v2.DenyRuleOrBuilder> + denyRuleBuilder_; + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + * + * @return Whether the denyRule field is set. + */ + @java.lang.Override + public boolean hasDenyRule() { + return kindCase_ == 2; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + * + * @return The denyRule. + */ + @java.lang.Override + public com.google.iam.v2.DenyRule getDenyRule() { + if (denyRuleBuilder_ == null) { + if (kindCase_ == 2) { + return (com.google.iam.v2.DenyRule) kind_; + } + return com.google.iam.v2.DenyRule.getDefaultInstance(); + } else { + if (kindCase_ == 2) { + return denyRuleBuilder_.getMessage(); + } + return com.google.iam.v2.DenyRule.getDefaultInstance(); + } + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + public Builder setDenyRule(com.google.iam.v2.DenyRule value) { + if (denyRuleBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + onChanged(); + } else { + denyRuleBuilder_.setMessage(value); + } + kindCase_ = 2; + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + public Builder setDenyRule(com.google.iam.v2.DenyRule.Builder builderForValue) { + if (denyRuleBuilder_ == null) { + kind_ = builderForValue.build(); + onChanged(); + } else { + denyRuleBuilder_.setMessage(builderForValue.build()); + } + kindCase_ = 2; + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + public Builder mergeDenyRule(com.google.iam.v2.DenyRule value) { + if (denyRuleBuilder_ == null) { + if (kindCase_ == 2 && kind_ != com.google.iam.v2.DenyRule.getDefaultInstance()) { + kind_ = + com.google.iam.v2.DenyRule.newBuilder((com.google.iam.v2.DenyRule) kind_) + .mergeFrom(value) + .buildPartial(); + } else { + kind_ = value; + } + onChanged(); + } else { + if (kindCase_ == 2) { + denyRuleBuilder_.mergeFrom(value); + } else { + denyRuleBuilder_.setMessage(value); + } + } + kindCase_ = 2; + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + public Builder clearDenyRule() { + if (denyRuleBuilder_ == null) { + if (kindCase_ == 2) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + } else { + if (kindCase_ == 2) { + kindCase_ = 0; + kind_ = null; + } + denyRuleBuilder_.clear(); + } + return this; + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + public com.google.iam.v2.DenyRule.Builder getDenyRuleBuilder() { + return getDenyRuleFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + @java.lang.Override + public com.google.iam.v2.DenyRuleOrBuilder getDenyRuleOrBuilder() { + if ((kindCase_ == 2) && (denyRuleBuilder_ != null)) { + return denyRuleBuilder_.getMessageOrBuilder(); + } else { + if (kindCase_ == 2) { + return (com.google.iam.v2.DenyRule) kind_; + } + return com.google.iam.v2.DenyRule.getDefaultInstance(); + } + } + /** + * + * + *
    +     * A rule for a deny policy.
    +     * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.DenyRule, + com.google.iam.v2.DenyRule.Builder, + com.google.iam.v2.DenyRuleOrBuilder> + getDenyRuleFieldBuilder() { + if (denyRuleBuilder_ == null) { + if (!(kindCase_ == 2)) { + kind_ = com.google.iam.v2.DenyRule.getDefaultInstance(); + } + denyRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.DenyRule, + com.google.iam.v2.DenyRule.Builder, + com.google.iam.v2.DenyRuleOrBuilder>( + (com.google.iam.v2.DenyRule) kind_, getParentForChildren(), isClean()); + kind_ = null; + } + kindCase_ = 2; + onChanged(); + ; + return denyRuleBuilder_; + } + + private java.lang.Object description_ = ""; + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + * + * + *
    +     * A user-specified description of the rule. This value can be up to 256
    +     * characters.
    +     * 
    + * + * string description = 1; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.PolicyRule) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.PolicyRule) + private static final com.google.iam.v2.PolicyRule DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.PolicyRule(); + } + + public static com.google.iam.v2.PolicyRule getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PolicyRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PolicyRule(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.PolicyRule getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..712ec0723ff8 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java @@ -0,0 +1,89 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface PolicyRuleOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.PolicyRule) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + * + * @return Whether the denyRule field is set. + */ + boolean hasDenyRule(); + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + * + * @return The denyRule. + */ + com.google.iam.v2.DenyRule getDenyRule(); + /** + * + * + *
    +   * A rule for a deny policy.
    +   * 
    + * + * .google.iam.v2.DenyRule deny_rule = 2; + */ + com.google.iam.v2.DenyRuleOrBuilder getDenyRuleOrBuilder(); + + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The description. + */ + java.lang.String getDescription(); + /** + * + * + *
    +   * A user-specified description of the rule. This value can be up to 256
    +   * characters.
    +   * 
    + * + * string description = 1; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + public 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 new file mode 100644 index 000000000000..d9f857e33104 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java @@ -0,0 +1,755 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +/** + * + * + *
    + * Request message for `UpdatePolicy`.
    + * 
    + * + * Protobuf type {@code google.iam.v2.UpdatePolicyRequest} + */ +public final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.iam.v2.UpdatePolicyRequest) + UpdatePolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use UpdatePolicyRequest.newBuilder() to construct. + private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private UpdatePolicyRequest() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdatePolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private UpdatePolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.iam.v2.Policy.Builder subBuilder = null; + if (policy_ != null) { + subBuilder = policy_.toBuilder(); + } + policy_ = input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.UpdatePolicyRequest.class, + com.google.iam.v2.UpdatePolicyRequest.Builder.class); + } + + public static final int POLICY_FIELD_NUMBER = 1; + private com.google.iam.v2.Policy policy_; + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + @java.lang.Override + public boolean hasPolicy() { + return policy_ != null; + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + @java.lang.Override + public com.google.iam.v2.Policy getPolicy() { + return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; + } + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { + return getPolicy(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (policy_ != null) { + output.writeMessage(1, getPolicy()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (policy_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.iam.v2.UpdatePolicyRequest)) { + return super.equals(obj); + } + com.google.iam.v2.UpdatePolicyRequest other = (com.google.iam.v2.UpdatePolicyRequest) obj; + + if (hasPolicy() != other.hasPolicy()) return false; + if (hasPolicy()) { + if (!getPolicy().equals(other.getPolicy())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPolicy()) { + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + getPolicy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.iam.v2.UpdatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.iam.v2.UpdatePolicyRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
    +   * Request message for `UpdatePolicy`.
    +   * 
    + * + * Protobuf type {@code google.iam.v2.UpdatePolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.iam.v2.UpdatePolicyRequest) + com.google.iam.v2.UpdatePolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.iam.v2.UpdatePolicyRequest.class, + com.google.iam.v2.UpdatePolicyRequest.Builder.class); + } + + // Construct using com.google.iam.v2.UpdatePolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (policyBuilder_ == null) { + policy_ = null; + } else { + policy_ = null; + policyBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.iam.v2.PolicyProto + .internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.iam.v2.UpdatePolicyRequest getDefaultInstanceForType() { + return com.google.iam.v2.UpdatePolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.iam.v2.UpdatePolicyRequest build() { + com.google.iam.v2.UpdatePolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.iam.v2.UpdatePolicyRequest buildPartial() { + com.google.iam.v2.UpdatePolicyRequest result = + new com.google.iam.v2.UpdatePolicyRequest(this); + if (policyBuilder_ == null) { + result.policy_ = policy_; + } else { + result.policy_ = policyBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.iam.v2.UpdatePolicyRequest) { + return mergeFrom((com.google.iam.v2.UpdatePolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.iam.v2.UpdatePolicyRequest other) { + if (other == com.google.iam.v2.UpdatePolicyRequest.getDefaultInstance()) return this; + if (other.hasPolicy()) { + mergePolicy(other.getPolicy()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.iam.v2.UpdatePolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.iam.v2.UpdatePolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.iam.v2.Policy policy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + policyBuilder_; + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + public boolean hasPolicy() { + return policyBuilder_ != null || policy_ != null; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + public com.google.iam.v2.Policy getPolicy() { + if (policyBuilder_ == null) { + return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; + } else { + return policyBuilder_.getMessage(); + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2.Policy value) { + if (policyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policy_ = value; + onChanged(); + } else { + policyBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setPolicy(com.google.iam.v2.Policy.Builder builderForValue) { + if (policyBuilder_ == null) { + policy_ = builderForValue.build(); + onChanged(); + } else { + policyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergePolicy(com.google.iam.v2.Policy value) { + if (policyBuilder_ == null) { + if (policy_ != null) { + policy_ = com.google.iam.v2.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); + } else { + policy_ = value; + } + onChanged(); + } else { + policyBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearPolicy() { + if (policyBuilder_ == null) { + policy_ = null; + onChanged(); + } else { + policy_ = null; + policyBuilder_ = null; + } + + return this; + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2.Policy.Builder getPolicyBuilder() { + + onChanged(); + return getPolicyFieldBuilder().getBuilder(); + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { + if (policyBuilder_ != null) { + return policyBuilder_.getMessageOrBuilder(); + } else { + return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; + } + } + /** + * + * + *
    +     * 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.
    +     * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder> + getPolicyFieldBuilder() { + if (policyBuilder_ == null) { + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.iam.v2.Policy, + com.google.iam.v2.Policy.Builder, + com.google.iam.v2.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); + policy_ = null; + } + return policyBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.iam.v2.UpdatePolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.iam.v2.UpdatePolicyRequest) + private static final com.google.iam.v2.UpdatePolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.iam.v2.UpdatePolicyRequest(); + } + + public static com.google.iam.v2.UpdatePolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdatePolicyRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.iam.v2.UpdatePolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} 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 new file mode 100644 index 000000000000..fa20ec03d52f --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * 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. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/iam/v2/policy.proto + +package com.google.iam.v2; + +public interface UpdatePolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.iam.v2.UpdatePolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * 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.
    +   * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return Whether the policy field is set. + */ + 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.
    +   * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The policy. + */ + 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.
    +   * 
    + * + * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder(); +} diff --git a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto new file mode 100644 index 000000000000..db9f15f895a7 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto @@ -0,0 +1,109 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.iam.v2; + +import "google/type/expr.proto"; + +option csharp_namespace = "Google.Cloud.Iam.V2"; +option go_package = "google.golang.org/genproto/googleapis/iam/v2;iam"; +option java_multiple_files = true; +option java_outer_classname = "DenyRuleProto"; +option java_package = "com.google.iam.v2"; +option php_namespace = "Google\\Cloud\\Iam\\V2"; + +// A deny rule in an IAM deny policy. +message DenyRule { + // 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, + // `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. + repeated string denied_principals = 1; + + // The identities that are excluded from the deny rule, even if they are + // 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. + repeated string exception_principals = 2; + + // The permissions that are explicitly denied by this rule. Each permission + // uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` + // is the fully qualified domain name for the service. For example, + // `iam.googleapis.com/roles.list`. + repeated string denied_permissions = 3; + + // Specifies the permissions that this rule excludes from the set of denied + // 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`. + repeated string exception_permissions = 4; + + // 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 + // functions and operators are not supported. + google.type.Expr denial_condition = 5; +} diff --git a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto new file mode 100644 index 000000000000..b21d44fabbf7 --- /dev/null +++ b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto @@ -0,0 +1,376 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.iam.v2; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/iam/v2/deny.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/timestamp.proto"; + +option csharp_namespace = "Google.Cloud.Iam.V2"; +option go_package = "google.golang.org/genproto/googleapis/iam/v2;iam"; +option java_multiple_files = true; +option java_outer_classname = "PolicyProto"; +option java_package = "com.google.iam.v2"; +option php_namespace = "Google\\Cloud\\Iam\\V2"; + +// An interface for managing Identity and Access Management (IAM) policies. +service Policies { + option (google.api.default_host) = "iam.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; + + // Retrieves the policies of the specified kind that are attached to a + // resource. + // + // The response lists only policy metadata. In particular, policy rules are + // omitted. + rpc ListPolicies(ListPoliciesRequest) returns (ListPoliciesResponse) { + option (google.api.http) = { + get: "/v2/{parent=policies/*/*}" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets a policy. + rpc GetPolicy(GetPolicyRequest) returns (Policy) { + option (google.api.http) = { + get: "/v2/{name=policies/*/*/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a policy. + rpc CreatePolicy(CreatePolicyRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{parent=policies/*/*}" + body: "policy" + }; + option (google.api.method_signature) = "parent,policy,policy_id"; + option (google.longrunning.operation_info) = { + response_type: "Policy" + metadata_type: "PolicyOperationMetadata" + }; + } + + // Updates the specified policy. + // + // You can update only the rules and the display name for the policy. + // + // To update a policy, you should use a read-modify-write loop: + // + // 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current + // version of the policy. + // 2. Modify the policy as needed. + // 3. Use `UpdatePolicy` to write the updated policy. + // + // This pattern helps prevent conflicts between concurrent updates. + rpc UpdatePolicy(UpdatePolicyRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + put: "/v2/{policy.name=policies/*/*/*}" + body: "policy" + }; + option (google.longrunning.operation_info) = { + response_type: "Policy" + metadata_type: "PolicyOperationMetadata" + }; + } + + // Deletes a policy. This action is permanent. + rpc DeletePolicy(DeletePolicyRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v2/{name=policies/*/*/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "Policy" + metadata_type: "PolicyOperationMetadata" + }; + } + + // Retrieves all the policies that are attached to the specified resource, + // or anywhere in the ancestry of the resource. For example, for a project + // this endpoint would return all the `denyPolicy` kind policies attached to + // the project, its parent folder (if any), and its parent organization (if + // any). + // The endpoint requires the same permissions that it would take to call + // `ListPolicies` or `GetPolicy`. + // + // The main reason to use this endpoint is as a policy admin to debug access + // issues for a resource. + rpc ListApplicablePolicies(ListApplicablePoliciesRequest) + returns (ListApplicablePoliciesResponse) { + option (google.api.http) = { + get: "/v2/{attachment_point=*}:listApplicablePolicies" + }; + option (google.api.method_signature) = "attachment_point"; + } +} + +// Data for an IAM policy. +message Policy { + // 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. + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The globally unique ID of the `Policy`. Assigned automatically + // when the `Policy` is created. + string uid = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The kind of the `Policy`. Always contains the value + // `DenyPolicy`. + string kind = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A user-specified description of the `Policy`. This value can be up to 63 + // characters. + string display_name = 4; + + // A key-value map to store arbitrary metadata for the `Policy`. Keys + // can be up to 63 characters. Values can be up to 255 characters. + map annotations = 5; + + // 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. + string etag = 6; + + // Output only. The time when the `Policy` was created. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the `Policy` was last updated. + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the `Policy` was deleted. Empty if the policy is + // not deleted. + google.protobuf.Timestamp delete_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A list of rules that specify the behavior of the `Policy`. All of the rules + // should be of the `kind` specified in the `Policy`. + repeated PolicyRule rules = 10; + + // Immutable. Specifies that this policy is managed by an authority and can + // only be modified by that authority. Usage is restricted. + string managing_authority = 11 [(google.api.field_behavior) = IMMUTABLE]; +} + +// A single rule in a `Policy`. +message PolicyRule { + oneof kind { + // A rule for a deny policy. + DenyRule deny_rule = 2; + } + + // A user-specified description of the rule. This value can be up to 256 + // characters. + string description = 1; +} + +// Request message for `ListPolicies`. +message ListPoliciesRequest { + // 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. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // The maximum number of policies to return. IAM ignores this value and uses + // the value 1000. + int32 page_size = 2; + + // A page token received in a + // [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this + // token to retrieve the next page. + string page_token = 3; +} + +// Response message for `ListPolicies`. +message ListPoliciesResponse { + // Metadata for the policies that are attached to the resource. + repeated Policy policies = 1; + + // A page token that you can use in a + // [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the + // next page. If this field is omitted, there are no additional pages. + string next_page_token = 2; +} + +// Request message for `GetPolicy`. +message GetPolicyRequest { + // 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. + string name = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for `CreatePolicy`. +message CreatePolicyRequest { + // 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. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The policy to create. + Policy policy = 2 [(google.api.field_behavior) = REQUIRED]; + + // The ID to use for this policy, which will become the final component of + // the policy's resource name. The ID must contain 3 to 63 characters. It can + // contain lowercase letters and numbers, as well as dashes (`-`) and periods + // (`.`). The first character must be a lowercase letter. + string policy_id = 3; +} + +// Request message for `UpdatePolicy`. +message UpdatePolicyRequest { + // 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. + Policy policy = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for `DeletePolicy`. +message DeletePolicyRequest { + // 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. + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // 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`. + string etag = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListApplicablePoliciesRequest` represents the Request message for the +// `ListApplicablePolicies` method. It provides the input for a filterable query +// of Policies that apply to a certain GCP Resource, specified by the field +// `attachment_point`, found on this message. +// Example: +// ``` +// { +// attachment_point: +// 'cloudresourcemanager.googleapis.com%2Forganizations%2F212345678901' +// filter: 'kind:denyPolicies' +// } +// ``` +message ListApplicablePoliciesRequest { + // Required. The Cloud resource at which the applicable policies are to be + // retrieved. Format: `{attachment-point}` Use the URL-encoded full resource + // name, which means that the forward-slash character, `/`, must be written as + // `%2F`. For example, + // `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`. + string attachment_point = 1 [(google.api.field_behavior) = REQUIRED]; + + // Filtering currently only supports the kind of policies to return, and + // must be in the format “kind:[policyKind1] OR kind:[policyKind2]”. New + // policy kinds may be added in the future without notice. + // + // Example value: “kind:denyPolicies” + string filter = 2; + + // If present, then retrieve the batch of results following the results from + // the preceding call to this method. `page_token` must be the value of + // `next_page_token` + // [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token] + // from the previous response. The values of other method parameters should + // be identical to those in the previous call. + string page_token = 3; + + // Limit on the number of policies to include in the response. + // Further policies can subsequently be obtained by including the + // [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token] + // in a subsequent request. + // The minimum is 25, and the maximum is 100. + int32 page_size = 4; +} + +// Response message for [ListApplicablePolicies][] method. +message ListApplicablePoliciesResponse { + // Ordered list starting from the resource on which this API was called + // then proceeding up the hierarchy. Policies for the same attachment point + // will be grouped, but no further ordering is guaranteed. + repeated Policy policies = 1; + + // A list of resources that the caller does not have permission to retrieve. + // List or Get can be used to get detailed error messages. + // Get: `policies/{attachment-point}/denypolicies/{policy-id}` + // List: `policies/{attachment-point}/denypolicies` + repeated string inaccessible = 2; + + // A page token that can be used in a + // [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest] + // to retrieve the next page. If this field is blank, there are no additional + // pages. + string next_page_token = 3; +} + +// Metadata for long-running `Policy` operations. +message PolicyOperationMetadata { + // Timestamp when the `google.longrunning.Operation` was created. + google.protobuf.Timestamp create_time = 1; +} diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 8f0502c0da7d..e7048b1cdd83 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -6,3 +6,5 @@ grpc-google-iam-v1:1.5.2:1.5.3-SNAPSHOT proto-google-iam-v2beta:1.5.2:1.5.3-SNAPSHOT grpc-google-iam-v2beta:1.5.2:1.5.3-SNAPSHOT google-iam-policy:1.5.2:1.5.3-SNAPSHOT +proto-google-iam-v2:1.5.2:1.5.3-SNAPSHOT +grpc-google-iam-v2:1.5.2:1.5.3-SNAPSHOT From 56ee798457371a62a12a7a18e5f7ac98be448bb9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Sep 2022 19:19:46 +0200 Subject: [PATCH 2521/3036] deps: update gax.version to v2.19.1 (#798) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1a0b6133c4c4..72d1623fe2f8 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.49.0 - 2.19.0 + 2.19.1 1.2.1 31.1-jre 3.21.5 From 57a80c38282bfc7689dec7e719bb0f8a120a7be6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Sep 2022 19:28:57 +0200 Subject: [PATCH 2522/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.6 (#797) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 72d1623fe2f8..8dcf44141021 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -59,7 +59,7 @@ 2.19.1 1.2.1 31.1-jre - 3.21.5 + 3.21.6 2.2.1 2.9.2 2.8.11 From 03698d3ff1b5e4a3c02d7e9f76bb7439f0aa2dda Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Sep 2022 19:44:20 +0200 Subject: [PATCH 2523/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.6 (#916) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4b7dd60c5d93..ca6ffd57c0f8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.0 1.42.2 1.49.0 - 3.21.5 + 3.21.6 0.31.1 1.3.2 31.1-jre From 7e1313a5c1af1037418fe5df272287ee8c6b4741 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 14 Sep 2022 19:44:37 +0200 Subject: [PATCH 2524/3036] deps: update dependency com.google.api:gax-bom to v2.19.1 (#915) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ca6ffd57c0f8..6d86b2e6cda7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.19.0 + 2.19.1 2.2.1 2.9.2 1.5.2 From 00372505473a17a2f883b7dee561b88ffe3c0234 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 14 Sep 2022 13:51:46 -0400 Subject: [PATCH 2525/3036] chore(main): release 2.8.12 (#917) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 0ed096ab6908..96729e71729c 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.12](https://github.com/googleapis/java-core/compare/v2.8.11...v2.8.12) (2022-09-14) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.1 ([#915](https://github.com/googleapis/java-core/issues/915)) ([2647fde](https://github.com/googleapis/java-core/commit/2647fdee8e2b168f3364af8e76abfe2903578b29)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#916](https://github.com/googleapis/java-core/issues/916)) ([a7db234](https://github.com/googleapis/java-core/commit/a7db234800481ffba71d3222542971dbcd212d8e)) + ## [2.8.11](https://github.com/googleapis/java-core/compare/v2.8.10...v2.8.11) (2022-09-08) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 6aad575cc43c..e62b3b9bf8fe 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.12-SNAPSHOT + 2.8.12 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.12-SNAPSHOT + 2.8.12 com.google.cloud google-cloud-core-grpc - 2.8.12-SNAPSHOT + 2.8.12 com.google.cloud google-cloud-core-http - 2.8.12-SNAPSHOT + 2.8.12 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9d85f18b8c21..d21e883eb0c2 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.8.12-SNAPSHOT + 2.8.12 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.12-SNAPSHOT + 2.8.12 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 df604da951ef..885ed18b1354 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.8.12-SNAPSHOT + 2.8.12 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.12-SNAPSHOT + 2.8.12 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 53c893095ec4..69a85163e7a1 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.8.12-SNAPSHOT + 2.8.12 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.12-SNAPSHOT + 2.8.12 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 6d86b2e6cda7..708c6590dc64 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.12-SNAPSHOT + 2.8.12 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 5907dc4a3e88..ca30dd2f2289 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.11:2.8.12-SNAPSHOT +google-cloud-core:2.8.12:2.8.12 From de97157466eec6bd06d2c2f221eccc916c1a70a3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:00:15 +0000 Subject: [PATCH 2526/3036] chore(main): release 2.8.13-SNAPSHOT (#918) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e62b3b9bf8fe..5a52d4c3a6d3 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.12 + 2.8.13-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.12 + 2.8.13-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.12 + 2.8.13-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.12 + 2.8.13-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d21e883eb0c2..bd019c48850e 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.8.12 + 2.8.13-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.12 + 2.8.13-SNAPSHOT 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 885ed18b1354..4387c13a5d4b 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.8.12 + 2.8.13-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.12 + 2.8.13-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 69a85163e7a1..71b73f7112fd 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.8.12 + 2.8.13-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.12 + 2.8.13-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 708c6590dc64..eab05dcb91b8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.12 + 2.8.13-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ca30dd2f2289..f44c59cc2e38 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.12:2.8.12 +google-cloud-core:2.8.12:2.8.13-SNAPSHOT From 1a47f60b01cf8990373c4e6bfbe602e218032cd9 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 14 Sep 2022 15:24:16 -0400 Subject: [PATCH 2527/3036] deps: google-cloud-core 2.8.12 (#799) 2.8.12 was released. It depends on gax 2.19.1 --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 8dcf44141021..15bb290298cc 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 3.21.6 2.2.1 2.9.2 - 2.8.11 + 2.8.12 1.11.0 1.42.2 1.34.1 From ceb5fa1cca0a9ecd167fdd0c76d037ded43909a4 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 14 Sep 2022 15:34:40 -0400 Subject: [PATCH 2528/3036] deps: moving gson to first-party-dependencies (#800) --- java-shared-dependencies/first-party-dependencies/pom.xml | 6 ++++++ java-shared-dependencies/third-party-dependencies/pom.xml | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 15bb290298cc..ed542f2992c3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,6 +58,7 @@ 1.49.0 2.19.1 1.2.1 + 2.9.1 31.1-jre 3.21.6 2.2.1 @@ -91,6 +92,11 @@ grpc-gcp ${grpc-gcp.version}
    + + com.google.code.gson + gson + ${gson.version} + com.google.guava guava-bom diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 1cd4aead0dee..c81939ed724f 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,6 @@ UTF-8 ${project.artifactId} - 2.9.1 1.6.1 1.3.2 1.22 @@ -85,11 +84,6 @@ httpclient ${httpcomponents.httpclient.version} - - com.google.code.gson - gson - ${gson.version} - org.threeten threetenbp From c4fc5895331fe4c1708fdcf6811a0e384362a91b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 14 Sep 2022 20:56:24 +0000 Subject: [PATCH 2529/3036] chore(main): release 3.0.3 (#794) :robot: I have created a release *beep* *boop* --- ## [3.0.3](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) (2022-09-14) ### Dependencies * Google-cloud-core 2.8.12 ([#799](https://github.com/googleapis/java-shared-dependencies/issues/799)) ([1a47f60](https://github.com/googleapis/java-shared-dependencies/commit/1a47f60b01cf8990373c4e6bfbe602e218032cd9)) * Moving gson to first-party-dependencies ([#800](https://github.com/googleapis/java-shared-dependencies/issues/800)) ([ceb5fa1](https://github.com/googleapis/java-shared-dependencies/commit/ceb5fa1cca0a9ecd167fdd0c76d037ded43909a4)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#797](https://github.com/googleapis/java-shared-dependencies/issues/797)) ([57a80c3](https://github.com/googleapis/java-shared-dependencies/commit/57a80c38282bfc7689dec7e719bb0f8a120a7be6)) * Update gax.version to v2.19.1 ([#798](https://github.com/googleapis/java-shared-dependencies/issues/798)) ([56ee798](https://github.com/googleapis/java-shared-dependencies/commit/56ee798457371a62a12a7a18e5f7ac98be448bb9)) * Update google.core.version to v2.8.11 ([#793](https://github.com/googleapis/java-shared-dependencies/issues/793)) ([ae388d8](https://github.com/googleapis/java-shared-dependencies/commit/ae388d87547ae150964e60b6ffdc3a6032e22713)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 11 +++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 21 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index b05baf82034f..0f551b4c4229 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,17 @@ # Changelog +## [3.0.3](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) (2022-09-14) + + +### Dependencies + +* Google-cloud-core 2.8.12 ([#799](https://github.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://github.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3)) +* Moving gson to first-party-dependencies ([#800](https://github.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://github.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#797](https://github.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://github.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814)) +* Update gax.version to v2.19.1 ([#798](https://github.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://github.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8)) +* Update google.core.version to v2.8.11 ([#793](https://github.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://github.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044)) + ## [3.0.2](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) (2022-09-08) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 3b892bbcf89a..837008ef6fa8 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.0.3-SNAPSHOT + 3.0.3 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.3-SNAPSHOT + 3.0.3 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ed542f2992c3..b7355ca7299e 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.0.3-SNAPSHOT + 3.0.3 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 0ea2f6073340..4f09707cc3d7 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.0.3-SNAPSHOT + 3.0.3 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.3-SNAPSHOT + 3.0.3 pom import com.google.cloud third-party-dependencies - 3.0.3-SNAPSHOT + 3.0.3 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index c81939ed724f..7ed31426d472 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.0.3-SNAPSHOT + 3.0.3 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 373e9bf24281..21c43e3dc939 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.0.3-SNAPSHOT + 3.0.3 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.3-SNAPSHOT + 3.0.3 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 9331ca5eef04..4d4a3e718dd6 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.2:3.0.3-SNAPSHOT +google-cloud-shared-dependencies:3.0.3:3.0.3 From 81b6eafeb8a7aa96b529cd6ace19ce4a45ce8d93 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 15 Sep 2022 15:38:25 +0200 Subject: [PATCH 2530/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 (#426) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.2` -> `3.0.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/compatibility-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.3/confidence-slim/3.0.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.0.3`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​303-httpsgithubcomgoogleapisjava-shared-dependenciescomparev302v303-2022-09-14) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) ##### Dependencies - Google-cloud-core 2.8.12 ([#​799](https://togithub.com/googleapis/java-shared-dependencies/issues/799)) ([1b3db8d](https://togithub.com/googleapis/java-shared-dependencies/commit/1b3db8d1e17c49ebae79fc96164fa9058e1df6e3)) - Moving gson to first-party-dependencies ([#​800](https://togithub.com/googleapis/java-shared-dependencies/issues/800)) ([a41fcc1](https://togithub.com/googleapis/java-shared-dependencies/commit/a41fcc11d32e02e5af2837561792e3919f6d4b3f)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​797](https://togithub.com/googleapis/java-shared-dependencies/issues/797)) ([bc5fdc9](https://togithub.com/googleapis/java-shared-dependencies/commit/bc5fdc9b3af7973c28f063a9ac156fe2af562814)) - Update gax.version to v2.19.1 ([#​798](https://togithub.com/googleapis/java-shared-dependencies/issues/798)) ([84e5487](https://togithub.com/googleapis/java-shared-dependencies/commit/84e5487b2e3dce4bb60badecebde788c3cb702b8)) - Update google.core.version to v2.8.11 ([#​793](https://togithub.com/googleapis/java-shared-dependencies/issues/793)) ([63c1297](https://togithub.com/googleapis/java-shared-dependencies/commit/63c129722aa0b821031ff5b4c11004adf7b12044))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 21d1d3012218..e844209d8723 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.2 + 3.0.3 pom import From c269612fd2bfe9bcd00bbe60337b5eb91e28163d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 17:30:42 +0200 Subject: [PATCH 2531/3036] deps: update dependency io.grpc:grpc-protobuf to v1.49.1 (#427) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.49.0` -> `1.49.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.1/compatibility-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.49.1/confidence-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes
    grpc/grpc-java ### [`v1.49.1`](https://togithub.com/grpc/grpc-java/compare/v1.49.0...v1.49.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index ef0395bded93..3130f0aa4835 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.49.0' - compile 'io.grpc:grpc-protobuf:1.49.0' + compile 'io.grpc:grpc-protobuf:1.49.1' compile project(':proto-google-iam-v1') } From 13d641b9f076dc613ec5855f88b76697a03769a7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 17:32:40 +0200 Subject: [PATCH 2532/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#429) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.1` -> `26.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/compatibility-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.2/confidence-slim/26.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index e2bab760e9d0..b1fb9963179d 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -72,7 +72,7 @@ com.google.cloud import pom - 26.1.1 + 26.1.2
    From a810f587a5551e5f36a0b161bc350ebcb636acd5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 17:38:26 +0200 Subject: [PATCH 2533/3036] deps: update dependency io.grpc:grpc-bom to v1.49.1 (#802) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.49.0` -> `1.49.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/compatibility-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/confidence-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.49.1`](https://togithub.com/grpc/grpc-java/compare/v1.49.0...v1.49.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.49.0...v1.49.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b7355ca7299e..28f0e8efc38b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.49.0 + 1.49.1 2.19.1 1.2.1 2.9.1 From 721013a077b1eecb38fcb5590dc5a7d31fd62909 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 17:44:17 +0200 Subject: [PATCH 2534/3036] deps: update dependency io.grpc:grpc-stub to v1.49.1 (#428) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.49.0` -> `1.49.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.1/compatibility-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.1/confidence-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes
    grpc/grpc-java ### [`v1.49.1`](https://togithub.com/grpc/grpc-java/compare/v1.49.0...v1.49.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 3130f0aa4835..18d0ad1921d2 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.49.0' + compile 'io.grpc:grpc-stub:1.49.1' compile 'io.grpc:grpc-protobuf:1.49.1' compile project(':proto-google-iam-v1') } From 82b611f1525f3e83e9803f83e0b10ebfb3b37a61 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 17:52:28 +0200 Subject: [PATCH 2535/3036] deps: update dependency io.grpc:grpc-bom to v1.49.1 (#919) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.49.0` -> `1.49.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/compatibility-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.1/confidence-slim/1.49.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.49.1`](https://togithub.com/grpc/grpc-java/compare/v1.49.0...v1.49.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.49.0...v1.49.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index eab05dcb91b8..d920438fa68b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.11.0 2.0.0 1.42.2 - 1.49.0 + 1.49.1 3.21.6 0.31.1 1.3.2 From 76d7d8366abea308f84b000875c1ac61507a38ca Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 16:00:27 +0000 Subject: [PATCH 2536/3036] chore(main): release 2.8.13 (#920) :robot: I have created a release *beep* *boop* --- ## [2.8.13](https://github.com/googleapis/java-core/compare/v2.8.12...v2.8.13) (2022-09-20) ### Dependencies * Update dependency io.grpc:grpc-bom to v1.49.1 ([#919](https://github.com/googleapis/java-core/issues/919)) ([82b611f](https://github.com/googleapis/java-core/commit/82b611f1525f3e83e9803f83e0b10ebfb3b37a61)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 96729e71729c..30c469d7954d 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.13](https://github.com/googleapis/java-core/compare/v2.8.12...v2.8.13) (2022-09-20) + + +### Dependencies + +* Update dependency io.grpc:grpc-bom to v1.49.1 ([#919](https://github.com/googleapis/java-core/issues/919)) ([2d481ba](https://github.com/googleapis/java-core/commit/2d481ba500e247d8fee49abe30a9eb84bdcc8d07)) + ## [2.8.12](https://github.com/googleapis/java-core/compare/v2.8.11...v2.8.12) (2022-09-14) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 5a52d4c3a6d3..319f6df0c03f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.13-SNAPSHOT + 2.8.13 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.13-SNAPSHOT + 2.8.13 com.google.cloud google-cloud-core-grpc - 2.8.13-SNAPSHOT + 2.8.13 com.google.cloud google-cloud-core-http - 2.8.13-SNAPSHOT + 2.8.13 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index bd019c48850e..234f6d5cd10a 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.8.13-SNAPSHOT + 2.8.13 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.13-SNAPSHOT + 2.8.13 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 4387c13a5d4b..b7547b3874e4 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.8.13-SNAPSHOT + 2.8.13 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.13-SNAPSHOT + 2.8.13 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 71b73f7112fd..c221595c979f 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.8.13-SNAPSHOT + 2.8.13 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.13-SNAPSHOT + 2.8.13 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index d920438fa68b..5be9d63cde13 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.13-SNAPSHOT + 2.8.13 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index f44c59cc2e38..b45e163856dd 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.12:2.8.13-SNAPSHOT +google-cloud-core:2.8.13:2.8.13 From 6630902b7a5d36f34f63bb19dbb242bb2cd6254a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 16:06:33 +0000 Subject: [PATCH 2537/3036] chore(main): release 2.8.14-SNAPSHOT (#921) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 319f6df0c03f..399ec8eed39f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.13 + 2.8.14-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.13 + 2.8.14-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.13 + 2.8.14-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.13 + 2.8.14-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 234f6d5cd10a..66c488380019 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.8.13 + 2.8.14-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.13 + 2.8.14-SNAPSHOT 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 b7547b3874e4..d074919f58b8 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.8.13 + 2.8.14-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.13 + 2.8.14-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c221595c979f..c7ebf48962f4 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.8.13 + 2.8.14-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.13 + 2.8.14-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5be9d63cde13..45b03a684e3a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.13 + 2.8.14-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index b45e163856dd..114e8702ea45 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.13:2.8.13 +google-cloud-core:2.8.13:2.8.14-SNAPSHOT From 61ada00a2402c7499c11d60b5356209db4163f7e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 22:08:16 +0200 Subject: [PATCH 2538/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.9.3 (#922) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.2` -> `2.9.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/compatibility-slim/2.9.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/confidence-slim/2.9.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.3`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​293-httpsgithubcomgoogleapisjava-common-protoscomparev292v293-2022-09-20) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.2...v2.9.3) ##### Dependencies - Update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​393](https://togithub.com/googleapis/java-common-protos/issues/393)) ([f056dbe](https://togithub.com/googleapis/java-common-protos/commit/f056dbea9d92c92af9d4bffb8442704e4f3480e4)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#​397](https://togithub.com/googleapis/java-common-protos/issues/397)) ([35f20b9](https://togithub.com/googleapis/java-common-protos/commit/35f20b942487f0500fa7919ddd9dd34e2a98da68)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​402](https://togithub.com/googleapis/java-common-protos/issues/402)) ([5279823](https://togithub.com/googleapis/java-common-protos/commit/5279823ab40a011b38003859d888ea48799bf86f)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​410](https://togithub.com/googleapis/java-common-protos/issues/410)) ([2ae81dc](https://togithub.com/googleapis/java-common-protos/commit/2ae81dcfe53630b422ab3d81785f9cab4ccd997e)) - Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#​394](https://togithub.com/googleapis/java-common-protos/issues/394)) ([ada3199](https://togithub.com/googleapis/java-common-protos/commit/ada31991b01ff3bcc342b9c8f7e0aaf95b21ab66)) - Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#​398](https://togithub.com/googleapis/java-common-protos/issues/398)) ([f6be516](https://togithub.com/googleapis/java-common-protos/commit/f6be516c23202d2502c25473ccf8bba009948cde)) - Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#​403](https://togithub.com/googleapis/java-common-protos/issues/403)) ([89f8ae8](https://togithub.com/googleapis/java-common-protos/commit/89f8ae82df4fe608f58c6190324a3cec7441cf81)) - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​411](https://togithub.com/googleapis/java-common-protos/issues/411)) ([764e5d9](https://togithub.com/googleapis/java-common-protos/commit/764e5d94828b6f4d02bc5d646496340fdada0f25)) - Update dependency io.grpc:grpc-bom to v1.49.0 and guava to 31.1-android ([#​390](https://togithub.com/googleapis/java-common-protos/issues/390)) ([08d00ec](https://togithub.com/googleapis/java-common-protos/commit/08d00ec4ab8f9979f4a6b92f76e9666f045f9953)) - Update dependency io.grpc:grpc-bom to v1.49.1 ([#​412](https://togithub.com/googleapis/java-common-protos/issues/412)) ([d4b66a0](https://togithub.com/googleapis/java-common-protos/commit/d4b66a03b49b16069ee0c0922448748620cc5745)) - Update dependency io.grpc:grpc-protobuf to v1.48.0 ([#​391](https://togithub.com/googleapis/java-common-protos/issues/391)) ([171b4bf](https://togithub.com/googleapis/java-common-protos/commit/171b4bf8bd69ebd8111b0a2b6896282dbfa0525f)) - Update dependency io.grpc:grpc-protobuf to v1.48.1 ([#​400](https://togithub.com/googleapis/java-common-protos/issues/400)) ([7c96c90](https://togithub.com/googleapis/java-common-protos/commit/7c96c908a819eef24c92cf9d65966e04825708d3)) - Update dependency io.grpc:grpc-protobuf to v1.49.0 ([#​406](https://togithub.com/googleapis/java-common-protos/issues/406)) ([da8e116](https://togithub.com/googleapis/java-common-protos/commit/da8e116d60c17322c2a01de78a42f8e9d4498035)) - Update dependency io.grpc:grpc-protobuf to v1.49.1 ([#​413](https://togithub.com/googleapis/java-common-protos/issues/413)) ([ab55975](https://togithub.com/googleapis/java-common-protos/commit/ab5597592c9eb86e4dcc81fa61a67a43d5edcb2a)) - Update dependency io.grpc:grpc-stub to v1.48.0 ([#​392](https://togithub.com/googleapis/java-common-protos/issues/392)) ([7d404a0](https://togithub.com/googleapis/java-common-protos/commit/7d404a051ee53933c9f64a7e77cca589a2fd7ceb)) - Update dependency io.grpc:grpc-stub to v1.48.1 ([#​401](https://togithub.com/googleapis/java-common-protos/issues/401)) ([60ae3bc](https://togithub.com/googleapis/java-common-protos/commit/60ae3bc53f0a3b2afc32e9b7be8789efb2b551da)) - Update dependency io.grpc:grpc-stub to v1.49.0 ([#​407](https://togithub.com/googleapis/java-common-protos/issues/407)) ([bedb226](https://togithub.com/googleapis/java-common-protos/commit/bedb226200ab92d1336652c2c02101796d7c7262)) - Update dependency io.grpc:grpc-stub to v1.49.1 ([#​414](https://togithub.com/googleapis/java-common-protos/issues/414)) ([d209727](https://togithub.com/googleapis/java-common-protos/commit/d20972705f275919eef3bc69f99f2d1cbfb7d026))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 45b03a684e3a..224e13f4a055 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.19.1 2.2.1 - 2.9.2 + 2.9.3 1.5.2 1.11.0 2.0.0 From cdf3fe6f7b7abbb9ef0c4a7cd1e4783dbbe0e238 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 22:14:20 +0200 Subject: [PATCH 2539/3036] deps: update google.common-protos.version to v2.9.3 (#803) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-iam/grpc-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.2` -> `2.9.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.3/compatibility-slim/2.9.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.3/confidence-slim/2.9.2)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.2` -> `2.9.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/compatibility-slim/2.9.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.3/confidence-slim/2.9.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.3`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​293-httpsgithubcomgoogleapisjava-common-protoscomparev292v293-2022-09-20) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.2...v2.9.3) ##### Dependencies - Update dependency com.google.protobuf:protobuf-bom to v3.21.3 ([#​393](https://togithub.com/googleapis/java-common-protos/issues/393)) ([f056dbe](https://togithub.com/googleapis/java-common-protos/commit/f056dbea9d92c92af9d4bffb8442704e4f3480e4)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.4 ([#​397](https://togithub.com/googleapis/java-common-protos/issues/397)) ([35f20b9](https://togithub.com/googleapis/java-common-protos/commit/35f20b942487f0500fa7919ddd9dd34e2a98da68)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#​402](https://togithub.com/googleapis/java-common-protos/issues/402)) ([5279823](https://togithub.com/googleapis/java-common-protos/commit/5279823ab40a011b38003859d888ea48799bf86f)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​410](https://togithub.com/googleapis/java-common-protos/issues/410)) ([2ae81dc](https://togithub.com/googleapis/java-common-protos/commit/2ae81dcfe53630b422ab3d81785f9cab4ccd997e)) - Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#​394](https://togithub.com/googleapis/java-common-protos/issues/394)) ([ada3199](https://togithub.com/googleapis/java-common-protos/commit/ada31991b01ff3bcc342b9c8f7e0aaf95b21ab66)) - Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#​398](https://togithub.com/googleapis/java-common-protos/issues/398)) ([f6be516](https://togithub.com/googleapis/java-common-protos/commit/f6be516c23202d2502c25473ccf8bba009948cde)) - Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#​403](https://togithub.com/googleapis/java-common-protos/issues/403)) ([89f8ae8](https://togithub.com/googleapis/java-common-protos/commit/89f8ae82df4fe608f58c6190324a3cec7441cf81)) - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​411](https://togithub.com/googleapis/java-common-protos/issues/411)) ([764e5d9](https://togithub.com/googleapis/java-common-protos/commit/764e5d94828b6f4d02bc5d646496340fdada0f25)) - Update dependency io.grpc:grpc-bom to v1.49.0 and guava to 31.1-android ([#​390](https://togithub.com/googleapis/java-common-protos/issues/390)) ([08d00ec](https://togithub.com/googleapis/java-common-protos/commit/08d00ec4ab8f9979f4a6b92f76e9666f045f9953)) - Update dependency io.grpc:grpc-bom to v1.49.1 ([#​412](https://togithub.com/googleapis/java-common-protos/issues/412)) ([d4b66a0](https://togithub.com/googleapis/java-common-protos/commit/d4b66a03b49b16069ee0c0922448748620cc5745)) - Update dependency io.grpc:grpc-protobuf to v1.48.0 ([#​391](https://togithub.com/googleapis/java-common-protos/issues/391)) ([171b4bf](https://togithub.com/googleapis/java-common-protos/commit/171b4bf8bd69ebd8111b0a2b6896282dbfa0525f)) - Update dependency io.grpc:grpc-protobuf to v1.48.1 ([#​400](https://togithub.com/googleapis/java-common-protos/issues/400)) ([7c96c90](https://togithub.com/googleapis/java-common-protos/commit/7c96c908a819eef24c92cf9d65966e04825708d3)) - Update dependency io.grpc:grpc-protobuf to v1.49.0 ([#​406](https://togithub.com/googleapis/java-common-protos/issues/406)) ([da8e116](https://togithub.com/googleapis/java-common-protos/commit/da8e116d60c17322c2a01de78a42f8e9d4498035)) - Update dependency io.grpc:grpc-protobuf to v1.49.1 ([#​413](https://togithub.com/googleapis/java-common-protos/issues/413)) ([ab55975](https://togithub.com/googleapis/java-common-protos/commit/ab5597592c9eb86e4dcc81fa61a67a43d5edcb2a)) - Update dependency io.grpc:grpc-stub to v1.48.0 ([#​392](https://togithub.com/googleapis/java-common-protos/issues/392)) ([7d404a0](https://togithub.com/googleapis/java-common-protos/commit/7d404a051ee53933c9f64a7e77cca589a2fd7ceb)) - Update dependency io.grpc:grpc-stub to v1.48.1 ([#​401](https://togithub.com/googleapis/java-common-protos/issues/401)) ([60ae3bc](https://togithub.com/googleapis/java-common-protos/commit/60ae3bc53f0a3b2afc32e9b7be8789efb2b551da)) - Update dependency io.grpc:grpc-stub to v1.49.0 ([#​407](https://togithub.com/googleapis/java-common-protos/issues/407)) ([bedb226](https://togithub.com/googleapis/java-common-protos/commit/bedb226200ab92d1336652c2c02101796d7c7262)) - Update dependency io.grpc:grpc-stub to v1.49.1 ([#​414](https://togithub.com/googleapis/java-common-protos/issues/414)) ([d209727](https://togithub.com/googleapis/java-common-protos/commit/d20972705f275919eef3bc69f99f2d1cbfb7d026))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 28f0e8efc38b..731fe3aa599f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 31.1-jre 3.21.6 2.2.1 - 2.9.2 + 2.9.3 2.8.12 1.11.0 1.42.2 From c052e99a5cfa18a32333bdc3c4a2524a18239d71 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 20:20:22 +0000 Subject: [PATCH 2540/3036] chore(main): release 2.8.14 (#923) :robot: I have created a release *beep* *boop* --- ## [2.8.14](https://github.com/googleapis/java-core/compare/v2.8.13...v2.8.14) (2022-09-20) ### Dependencies * Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.3 ([#922](https://github.com/googleapis/java-core/issues/922)) ([61ada00](https://github.com/googleapis/java-core/commit/61ada00a2402c7499c11d60b5356209db4163f7e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 30c469d7954d..b3829e3b01bd 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.14](https://github.com/googleapis/java-core/compare/v2.8.13...v2.8.14) (2022-09-20) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.3 ([#922](https://github.com/googleapis/java-core/issues/922)) ([96b5b4e](https://github.com/googleapis/java-core/commit/96b5b4e00004c28cd2d726c2161e94778f6a1c01)) + ## [2.8.13](https://github.com/googleapis/java-core/compare/v2.8.12...v2.8.13) (2022-09-20) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 399ec8eed39f..5735fbe84664 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.14-SNAPSHOT + 2.8.14 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.14-SNAPSHOT + 2.8.14 com.google.cloud google-cloud-core-grpc - 2.8.14-SNAPSHOT + 2.8.14 com.google.cloud google-cloud-core-http - 2.8.14-SNAPSHOT + 2.8.14 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 66c488380019..f7c570cebbbf 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.8.14-SNAPSHOT + 2.8.14 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.14-SNAPSHOT + 2.8.14 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 d074919f58b8..46700cba72e1 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.8.14-SNAPSHOT + 2.8.14 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.14-SNAPSHOT + 2.8.14 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index c7ebf48962f4..dfae020f7723 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.8.14-SNAPSHOT + 2.8.14 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.14-SNAPSHOT + 2.8.14 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 224e13f4a055..8ccaa162ef34 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.14-SNAPSHOT + 2.8.14 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 114e8702ea45..99170eeb6bb9 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.13:2.8.14-SNAPSHOT +google-cloud-core:2.8.14:2.8.14 From d1b585eb836fa55a97ca059426bce15cafcb2b5e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 20 Sep 2022 22:28:26 +0200 Subject: [PATCH 2541/3036] deps: update google.core.version to v2.8.13 (#804) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.12` -> `2.8.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/compatibility-slim/2.8.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.13/confidence-slim/2.8.12)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.12` -> `2.8.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.13/compatibility-slim/2.8.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.13/confidence-slim/2.8.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.13`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2813-httpsgithubcomgoogleapisjava-corecomparev2812v2813-2022-09-20) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.12...v2.8.13) ##### Dependencies - Update dependency io.grpc:grpc-bom to v1.49.1 ([#​919](https://togithub.com/googleapis/java-core/issues/919)) ([2d481ba](https://togithub.com/googleapis/java-core/commit/2d481ba500e247d8fee49abe30a9eb84bdcc8d07))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 731fe3aa599f..d83b1c58e5d7 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.6 2.2.1 2.9.3 - 2.8.12 + 2.8.13 1.11.0 1.42.2 1.34.1 From 949e1ee379a471cfca6ffe6394f9754f1beb1912 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Sep 2022 20:30:20 +0000 Subject: [PATCH 2542/3036] chore(main): release 2.8.15-SNAPSHOT (#924) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 5735fbe84664..e88c84bd6b93 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.14 + 2.8.15-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.14 + 2.8.15-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.14 + 2.8.15-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.14 + 2.8.15-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index f7c570cebbbf..eb7c19bda74e 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.8.14 + 2.8.15-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.14 + 2.8.15-SNAPSHOT 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 46700cba72e1..67f451f1ef49 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.8.14 + 2.8.15-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.14 + 2.8.15-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index dfae020f7723..d3dca0a106c0 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.8.14 + 2.8.15-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.14 + 2.8.15-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 8ccaa162ef34..eddce3b52e71 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.14 + 2.8.15-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 99170eeb6bb9..88b24ce6c63a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.14:2.8.14 +google-cloud-core:2.8.14:2.8.15-SNAPSHOT From 926d68e90b5d356f296872937b0a9178e9e25620 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 21 Sep 2022 10:00:05 -0400 Subject: [PATCH 2543/3036] chore(main): release 1.6.0 (#408) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-iam/CHANGELOG.md | 45 ++++++++++++++++++++++++ java-iam/google-iam-policy/pom.xml | 4 +-- java-iam/grpc-google-iam-v1/pom.xml | 4 +-- java-iam/grpc-google-iam-v2/pom.xml | 4 +-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 +-- java-iam/pom.xml | 16 ++++----- java-iam/proto-google-iam-v1/pom.xml | 4 +-- java-iam/proto-google-iam-v2/pom.xml | 4 +-- java-iam/proto-google-iam-v2beta/pom.xml | 4 +-- java-iam/versions.txt | 14 ++++---- 10 files changed, 74 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 0746810d89cf..ec1bf1e8e945 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,50 @@ # Changelog +## [1.6.0](https://github.com/googleapis/java-iam/compare/v1.5.2...v1.6.0) (2022-09-20) + + +### Features + +* Add v2 client ([#423](https://github.com/googleapis/java-iam/issues/423)) ([6b6c24f](https://github.com/googleapis/java-iam/commit/6b6c24f11093d2ccc5e5005337576db7c9626ec0)) +* Update the public IAM Deny v2beta API ([5894873](https://github.com/googleapis/java-iam/commit/58948731feee6462ae75f6fe11c31e36e9ec6fce)) + + +### Documentation + +* **samples:** Update param values ([#401](https://github.com/googleapis/java-iam/issues/401)) ([8879c28](https://github.com/googleapis/java-iam/commit/8879c28cac3543c441be636da626bcc3c10509da)) + + +### Dependencies + +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-1.32.1 ([#383](https://github.com/googleapis/java-iam/issues/383)) ([0670b46](https://github.com/googleapis/java-iam/commit/0670b461db649b2be307735aa128e8273d42d38f)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-2.0.0 ([#396](https://github.com/googleapis/java-iam/issues/396)) ([ec96383](https://github.com/googleapis/java-iam/commit/ec96383900c271ddf96a58772ff459c6879c106f)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220731-2.0.0 ([#402](https://github.com/googleapis/java-iam/issues/402)) ([39605e5](https://github.com/googleapis/java-iam/commit/39605e5b1cb4ee9fea068e36a6452e02710ae03d)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220807-2.0.0 ([#407](https://github.com/googleapis/java-iam/issues/407)) ([475fa93](https://github.com/googleapis/java-iam/commit/475fa93c1b5affb19eec36856e719041d5bf56af)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220828-2.0.0 ([#417](https://github.com/googleapis/java-iam/issues/417)) ([f3b365d](https://github.com/googleapis/java-iam/commit/f3b365df695b61515871c24dd2d14cde015ad599)) +* Update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-1.32.1 ([#390](https://github.com/googleapis/java-iam/issues/390)) ([9bef280](https://github.com/googleapis/java-iam/commit/9bef280b9c871ad9333daa8f027b8679f91ccbb1)) +* Update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-2.0.0 ([#403](https://github.com/googleapis/java-iam/issues/403)) ([7a8270b](https://github.com/googleapis/java-iam/commit/7a8270b691b5c749c90185659bd3a51480c3e1c4)) +* Update dependency com.google.apis:google-api-services-iamcredentials to v1-rev20211203-2.0.0 ([#404](https://github.com/googleapis/java-iam/issues/404)) ([ee3537d](https://github.com/googleapis/java-iam/commit/ee3537d763c389d25d887fb1b2cfc61ff4101d65)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 ([#406](https://github.com/googleapis/java-iam/issues/406)) ([56284df](https://github.com/googleapis/java-iam/commit/56284df32ee657a5055e6dea3bd7b25772c218ea)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.11.0 ([#419](https://github.com/googleapis/java-iam/issues/419)) ([3375ba3](https://github.com/googleapis/java-iam/commit/3375ba3a5b44d97370233238a63e1a310b5b605a)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 ([#385](https://github.com/googleapis/java-iam/issues/385)) ([e6199b3](https://github.com/googleapis/java-iam/commit/e6199b3c094f606359c8e469a853a283cd82c836)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 ([#400](https://github.com/googleapis/java-iam/issues/400)) ([aa4e5b6](https://github.com/googleapis/java-iam/commit/aa4e5b6ec5af98925c4353c9393e33c423c67a60)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#395](https://github.com/googleapis/java-iam/issues/395)) ([a88edd6](https://github.com/googleapis/java-iam/commit/a88edd61e1a66c5f48185dd5e8a2a61e5e9a002e)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.1 ([#399](https://github.com/googleapis/java-iam/issues/399)) ([bf814a9](https://github.com/googleapis/java-iam/commit/bf814a9faf878195676937cfe793b4a20fff6f06)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#420](https://github.com/googleapis/java-iam/issues/420)) ([e358921](https://github.com/googleapis/java-iam/commit/e358921e5ade85359a97b6a19af7a8397227c428)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#426](https://github.com/googleapis/java-iam/issues/426)) ([6da2bd2](https://github.com/googleapis/java-iam/commit/6da2bd228c5e3b9f6d9d35e95b955c7fbd65807d)) +* Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.2 ([#386](https://github.com/googleapis/java-iam/issues/386)) ([de1b271](https://github.com/googleapis/java-iam/commit/de1b27180bf93a5c9b5a9a274f9d5a2c2ff5afc1)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#391](https://github.com/googleapis/java-iam/issues/391)) ([02a3c56](https://github.com/googleapis/java-iam/commit/02a3c56b1143d497b98e2f437d9b36ea468e36ea)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#393](https://github.com/googleapis/java-iam/issues/393)) ([f4c649b](https://github.com/googleapis/java-iam/commit/f4c649b67c0a8fa950487b3e3b2f10ab85136165)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#405](https://github.com/googleapis/java-iam/issues/405)) ([66b27cb](https://github.com/googleapis/java-iam/commit/66b27cb9722cac68af7844447524f149fb08b3b0)) +* Update dependency io.grpc:grpc-protobuf to v1.48.0 ([#388](https://github.com/googleapis/java-iam/issues/388)) ([d7beea4](https://github.com/googleapis/java-iam/commit/d7beea4de4aff35f998b017c6d6136c76ec1e36b)) +* Update dependency io.grpc:grpc-protobuf to v1.48.1 ([#397](https://github.com/googleapis/java-iam/issues/397)) ([512a655](https://github.com/googleapis/java-iam/commit/512a6554067bbbe9ac400f833a0a8cd4bfaef785)) +* Update dependency io.grpc:grpc-protobuf to v1.49.0 ([#413](https://github.com/googleapis/java-iam/issues/413)) ([93ac43d](https://github.com/googleapis/java-iam/commit/93ac43deb5a663bd22b5d14f8ba7a4bdff6928cd)) +* Update dependency io.grpc:grpc-protobuf to v1.49.1 ([#427](https://github.com/googleapis/java-iam/issues/427)) ([c7b26dd](https://github.com/googleapis/java-iam/commit/c7b26dd62e4b22634f15e4eb19d96c3dfc919d11)) +* Update dependency io.grpc:grpc-stub to v1.48.0 ([#389](https://github.com/googleapis/java-iam/issues/389)) ([c76beb0](https://github.com/googleapis/java-iam/commit/c76beb01ba7a59cdfe60fc498f33881faadafe89)) +* Update dependency io.grpc:grpc-stub to v1.48.1 ([#398](https://github.com/googleapis/java-iam/issues/398)) ([4917a59](https://github.com/googleapis/java-iam/commit/4917a59ae856825e6e96a5b3ca0d766b8a931de6)) +* Update dependency io.grpc:grpc-stub to v1.49.0 ([#414](https://github.com/googleapis/java-iam/issues/414)) ([1d98460](https://github.com/googleapis/java-iam/commit/1d9846000bf41f20907dfcbc11574e88f91cc8f8)) +* Update dependency io.grpc:grpc-stub to v1.49.1 ([#428](https://github.com/googleapis/java-iam/issues/428)) ([ad6f449](https://github.com/googleapis/java-iam/commit/ad6f449c6fdfbf91a89561359ef2f124e9d8dfa2)) + ## [1.5.2](https://github.com/googleapis/java-iam/compare/v1.5.1...v1.5.2) (2022-07-13) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 7b320083fa87..e7bb9c3e3390 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.5.3-SNAPSHOT + 1.6.0 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.5.3-SNAPSHOT + 1.6.0 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 825a4ca0cd73..6e2d58a93260 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.5.3-SNAPSHOT + 1.6.0 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.5.3-SNAPSHOT + 1.6.0 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 25ca35fc8fcc..77dbe5bbff9f 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.5.3-SNAPSHOT + 1.6.0 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.5.3-SNAPSHOT + 1.6.0 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 909fe96e1439..2f0729e7a592 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.5.3-SNAPSHOT + 1.6.0 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.3-SNAPSHOT + 1.6.0 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e844209d8723..0ce6d7c970f2 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.5.3-SNAPSHOT + 1.6.0 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,37 +77,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.5.3-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-iam-v2 - 1.5.3-SNAPSHOT + 1.6.0 com.google.cloud google-iam-policy - 1.5.3-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-iam-v2beta - 1.5.3-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-iam-v1 - 1.5.3-SNAPSHOT + 1.6.0 com.google.api.grpc grpc-google-iam-v2beta - 1.5.3-SNAPSHOT + 1.6.0 com.google.api.grpc proto-google-iam-v1 - 1.5.3-SNAPSHOT + 1.6.0 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index c1e7b53597b9..001d49a33fe8 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.5.3-SNAPSHOT + 1.6.0 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.3-SNAPSHOT + 1.6.0 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 55b0666e0580..fe8d20306f91 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.5.3-SNAPSHOT + 1.6.0 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.3-SNAPSHOT + 1.6.0 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index d2d43f45f397..c6d63a0a6b76 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.5.3-SNAPSHOT + 1.6.0 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.5.3-SNAPSHOT + 1.6.0 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index e7048b1cdd83..5d8698a5a03b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.5.2:1.5.3-SNAPSHOT -grpc-google-iam-v1:1.5.2:1.5.3-SNAPSHOT -proto-google-iam-v2beta:1.5.2:1.5.3-SNAPSHOT -grpc-google-iam-v2beta:1.5.2:1.5.3-SNAPSHOT -google-iam-policy:1.5.2:1.5.3-SNAPSHOT -proto-google-iam-v2:1.5.2:1.5.3-SNAPSHOT -grpc-google-iam-v2:1.5.2:1.5.3-SNAPSHOT +proto-google-iam-v1:1.6.0:1.6.0 +grpc-google-iam-v1:1.6.0:1.6.0 +proto-google-iam-v2beta:1.6.0:1.6.0 +grpc-google-iam-v2beta:1.6.0:1.6.0 +google-iam-policy:1.6.0:1.6.0 +proto-google-iam-v2:1.6.0:1.6.0 +grpc-google-iam-v2:1.6.0:1.6.0 From 28ebf0c8c312c9951bb33b4de1ebfba02fe47266 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Sep 2022 16:00:32 +0200 Subject: [PATCH 2544/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.6 (#425) --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index be64827e3f32..4faf2f70de4f 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.5' + compile 'com.google.protobuf:protobuf-java:3.21.6' compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From a9828159ae9c4886e742e5897aacaf85b19032b0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 21 Sep 2022 14:06:15 +0000 Subject: [PATCH 2545/3036] chore(main): release 1.6.1-SNAPSHOT (#430) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index e7bb9c3e3390..e6591052e72e 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.0 + 1.6.1-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.0 + 1.6.1-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 6e2d58a93260..c10ad3c1fad9 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.6.0 + 1.6.1-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.0 + 1.6.1-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 77dbe5bbff9f..b22086a1e4f5 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.6.0 + 1.6.1-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.0 + 1.6.1-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 2f0729e7a592..35b17a5c3e5b 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.6.0 + 1.6.1-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.0 + 1.6.1-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 0ce6d7c970f2..0b875031f7a9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.0 + 1.6.1-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,37 +77,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.0 + 1.6.1-SNAPSHOT com.google.cloud google-iam-policy - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.0 + 1.6.1-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.0 + 1.6.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 001d49a33fe8..ebc0dca5f475 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.6.0 + 1.6.1-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.0 + 1.6.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index fe8d20306f91..7cb2fea634ac 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.6.0 + 1.6.1-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.0 + 1.6.1-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index c6d63a0a6b76..e9bf1e5952e8 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.6.0 + 1.6.1-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.0 + 1.6.1-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 5d8698a5a03b..332b28fe9dda 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.0:1.6.0 -grpc-google-iam-v1:1.6.0:1.6.0 -proto-google-iam-v2beta:1.6.0:1.6.0 -grpc-google-iam-v2beta:1.6.0:1.6.0 -google-iam-policy:1.6.0:1.6.0 -proto-google-iam-v2:1.6.0:1.6.0 -grpc-google-iam-v2:1.6.0:1.6.0 +proto-google-iam-v1:1.6.0:1.6.1-SNAPSHOT +grpc-google-iam-v1:1.6.0:1.6.1-SNAPSHOT +proto-google-iam-v2beta:1.6.0:1.6.1-SNAPSHOT +grpc-google-iam-v2beta:1.6.0:1.6.1-SNAPSHOT +google-iam-policy:1.6.0:1.6.1-SNAPSHOT +proto-google-iam-v2:1.6.0:1.6.1-SNAPSHOT +grpc-google-iam-v2:1.6.0:1.6.1-SNAPSHOT From 683d62e3f7611d287a332dc0f2e1dda4d3925109 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 21 Sep 2022 14:12:38 +0000 Subject: [PATCH 2546/3036] chore(main): release 1.6.1 (#431) :robot: I have created a release *beep* *boop* --- ## [1.6.1](https://github.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) (2022-09-21) ### Dependencies * Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#425](https://github.com/googleapis/java-iam/issues/425)) ([28ebf0c](https://github.com/googleapis/java-iam/commit/28ebf0c8c312c9951bb33b4de1ebfba02fe47266)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index ec1bf1e8e945..4ce8c73a6d2d 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.1](https://github.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) (2022-09-21) + + +### Dependencies + +* Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#425](https://github.com/googleapis/java-iam/issues/425)) ([61cbdf4](https://github.com/googleapis/java-iam/commit/61cbdf4c4ad3c559670cc39c864dfd03f8303667)) + ## [1.6.0](https://github.com/googleapis/java-iam/compare/v1.5.2...v1.6.0) (2022-09-20) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index e6591052e72e..58b22ae79e60 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.1-SNAPSHOT + 1.6.1 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.1-SNAPSHOT + 1.6.1 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index c10ad3c1fad9..4f94210d80d9 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.6.1-SNAPSHOT + 1.6.1 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1-SNAPSHOT + 1.6.1 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index b22086a1e4f5..fe517252d624 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.6.1-SNAPSHOT + 1.6.1 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.1-SNAPSHOT + 1.6.1 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 35b17a5c3e5b..f9031c534371 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.6.1-SNAPSHOT + 1.6.1 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1-SNAPSHOT + 1.6.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 0b875031f7a9..bd1216d2f045 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.1-SNAPSHOT + 1.6.1 Google IAM Parent https://github.com/googleapis/java-iam @@ -77,37 +77,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.1-SNAPSHOT + 1.6.1 com.google.api.grpc grpc-google-iam-v2 - 1.6.1-SNAPSHOT + 1.6.1 com.google.cloud google-iam-policy - 1.6.1-SNAPSHOT + 1.6.1 com.google.api.grpc proto-google-iam-v2beta - 1.6.1-SNAPSHOT + 1.6.1 com.google.api.grpc grpc-google-iam-v1 - 1.6.1-SNAPSHOT + 1.6.1 com.google.api.grpc grpc-google-iam-v2beta - 1.6.1-SNAPSHOT + 1.6.1 com.google.api.grpc proto-google-iam-v1 - 1.6.1-SNAPSHOT + 1.6.1 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index ebc0dca5f475..2c05a7faa09e 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.6.1-SNAPSHOT + 1.6.1 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1-SNAPSHOT + 1.6.1 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 7cb2fea634ac..f461670a02fe 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.6.1-SNAPSHOT + 1.6.1 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1-SNAPSHOT + 1.6.1 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index e9bf1e5952e8..2954a33e77a9 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.6.1-SNAPSHOT + 1.6.1 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1-SNAPSHOT + 1.6.1 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 332b28fe9dda..e1f86383f65e 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.0:1.6.1-SNAPSHOT -grpc-google-iam-v1:1.6.0:1.6.1-SNAPSHOT -proto-google-iam-v2beta:1.6.0:1.6.1-SNAPSHOT -grpc-google-iam-v2beta:1.6.0:1.6.1-SNAPSHOT -google-iam-policy:1.6.0:1.6.1-SNAPSHOT -proto-google-iam-v2:1.6.0:1.6.1-SNAPSHOT -grpc-google-iam-v2:1.6.0:1.6.1-SNAPSHOT +proto-google-iam-v1:1.6.1:1.6.1 +grpc-google-iam-v1:1.6.1:1.6.1 +proto-google-iam-v2beta:1.6.1:1.6.1 +grpc-google-iam-v2beta:1.6.1:1.6.1 +google-iam-policy:1.6.1:1.6.1 +proto-google-iam-v2:1.6.1:1.6.1 +grpc-google-iam-v2:1.6.1:1.6.1 From 37434855f0ec5bef09a8e8b0a062aa1df93da102 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Sep 2022 16:22:13 +0200 Subject: [PATCH 2547/3036] deps: update google.core.version to v2.8.14 (#805) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.13` -> `2.8.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/compatibility-slim/2.8.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.14/confidence-slim/2.8.13)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.13` -> `2.8.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.14/compatibility-slim/2.8.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.14/confidence-slim/2.8.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.14`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2814-httpsgithubcomgoogleapisjava-corecomparev2813v2814-2022-09-20) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.13...v2.8.14) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.3 ([#​922](https://togithub.com/googleapis/java-core/issues/922)) ([96b5b4e](https://togithub.com/googleapis/java-core/commit/96b5b4e00004c28cd2d726c2161e94778f6a1c01))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d83b1c58e5d7..c36dd0a68237 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.6 2.2.1 2.9.3 - 2.8.13 + 2.8.14 1.11.0 1.42.2 1.34.1 From 0e921f1610ab8a5b0255ddab74f659dbe5e5cc0a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 21 Sep 2022 14:24:17 +0000 Subject: [PATCH 2548/3036] chore(main): release 1.6.2-SNAPSHOT (#432) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 58b22ae79e60..05a5f86fb010 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.1 + 1.6.2-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.1 + 1.6.2-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 4f94210d80d9..e7966e0d7183 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.6.1 + 1.6.2-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1 + 1.6.2-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index fe517252d624..ab42ba164934 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.6.1 + 1.6.2-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.1 + 1.6.2-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index f9031c534371..1da776914766 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.6.1 + 1.6.2-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1 + 1.6.2-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bd1216d2f045..a7121ad6650e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.1 + 1.6.2-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -77,37 +77,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.1 + 1.6.2-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.1 + 1.6.2-SNAPSHOT com.google.cloud google-iam-policy - 1.6.1 + 1.6.2-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.1 + 1.6.2-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.1 + 1.6.2-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.1 + 1.6.2-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.1 + 1.6.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 2c05a7faa09e..1bf95c84e396 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.6.1 + 1.6.2-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1 + 1.6.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index f461670a02fe..2961d6ca28f2 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.6.1 + 1.6.2-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1 + 1.6.2-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 2954a33e77a9..a86e4c5f8d0d 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.6.1 + 1.6.2-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.1 + 1.6.2-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index e1f86383f65e..effe77cad187 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.1:1.6.1 -grpc-google-iam-v1:1.6.1:1.6.1 -proto-google-iam-v2beta:1.6.1:1.6.1 -grpc-google-iam-v2beta:1.6.1:1.6.1 -google-iam-policy:1.6.1:1.6.1 -proto-google-iam-v2:1.6.1:1.6.1 -grpc-google-iam-v2:1.6.1:1.6.1 +proto-google-iam-v1:1.6.1:1.6.2-SNAPSHOT +grpc-google-iam-v1:1.6.1:1.6.2-SNAPSHOT +proto-google-iam-v2beta:1.6.1:1.6.2-SNAPSHOT +grpc-google-iam-v2beta:1.6.1:1.6.2-SNAPSHOT +google-iam-policy:1.6.1:1.6.2-SNAPSHOT +proto-google-iam-v2:1.6.1:1.6.2-SNAPSHOT +grpc-google-iam-v2:1.6.1:1.6.2-SNAPSHOT From 3a4392af5d222d349b2fb8352c041b7889be97b5 Mon Sep 17 00:00:00 2001 From: Sita Lakshmi Sangameswaran Date: Wed, 21 Sep 2022 20:45:12 +0530 Subject: [PATCH 2549/3036] docs(samples): update package names to match v2 (#424) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update package names to match v2 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * update pom.xml Co-authored-by: Owl Bot --- java-iam/samples/cloud-client/snippets/pom.xml | 7 ++++--- .../snippets/src/main/java/CreateDenyPolicy.java | 10 +++++----- .../snippets/src/main/java/DeleteDenyPolicy.java | 4 ++-- .../snippets/src/main/java/GetDenyPolicy.java | 6 +++--- .../snippets/src/main/java/ListDenyPolicies.java | 4 ++-- .../snippets/src/main/java/UpdateDenyPolicy.java | 10 +++++----- .../cloud-client/snippets/src/test/java/DenyIT.java | 4 ++-- 7 files changed, 23 insertions(+), 22 deletions(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index b1fb9963179d..b315a1da073f 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -39,9 +39,10 @@ 1.42.2 - com.google.apis - google-api-services-iam - v2beta-rev20220713-2.0.0 + com.google.cloud + google-iam-policy + 1.6.0 + compile com.google.apis diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java index 5cbc966e165f..d9ea32daa582 100644 --- a/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ b/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java @@ -16,11 +16,11 @@ // [START iam_create_deny_policy] -import com.google.iam.v2beta.CreatePolicyRequest; -import com.google.iam.v2beta.DenyRule; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; -import com.google.iam.v2beta.PolicyRule; +import com.google.iam.v2.CreatePolicyRequest; +import com.google.iam.v2.DenyRule; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyRule; import com.google.longrunning.Operation; import com.google.type.Expr; import java.io.IOException; diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java index bf98545c22d2..ef0b9d4907fc 100644 --- a/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java +++ b/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java @@ -16,8 +16,8 @@ // [START iam_delete_deny_policy] -import com.google.iam.v2beta.DeletePolicyRequest; -import com.google.iam.v2beta.PoliciesClient; +import com.google.iam.v2.DeletePolicyRequest; +import com.google.iam.v2.PoliciesClient; import com.google.longrunning.Operation; import java.io.IOException; import java.net.URLEncoder; diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java index 10b1b5c24518..0cf4e96c8a48 100644 --- a/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java +++ b/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java @@ -16,9 +16,9 @@ // [START iam_get_deny_policy] -import com.google.iam.v2beta.GetPolicyRequest; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; +import com.google.iam.v2.GetPolicyRequest; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; import java.io.IOException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java b/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java index b8f89da3d713..566a5946df1d 100644 --- a/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java +++ b/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java @@ -16,8 +16,8 @@ // [START iam_list_deny_policy] -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; import java.io.IOException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java index e0846d7c03fe..28e6bb91a70d 100644 --- a/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java +++ b/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java @@ -16,11 +16,11 @@ // [START iam_update_deny_policy] -import com.google.iam.v2beta.DenyRule; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; -import com.google.iam.v2beta.PolicyRule; -import com.google.iam.v2beta.UpdatePolicyRequest; +import com.google.iam.v2.DenyRule; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; +import com.google.iam.v2.PolicyRule; +import com.google.iam.v2.UpdatePolicyRequest; import com.google.longrunning.Operation; import com.google.type.Expr; import java.io.IOException; diff --git a/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java b/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java index a0af4cbcfb66..76db0dbcd7c7 100644 --- a/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java +++ b/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java @@ -17,8 +17,8 @@ import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; -import com.google.iam.v2beta.PoliciesClient; -import com.google.iam.v2beta.Policy; +import com.google.iam.v2.PoliciesClient; +import com.google.iam.v2.Policy; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.PrintStream; From 5d415a98f4e7cede137b57e048ec70c21ea8376d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Sep 2022 18:08:33 +0200 Subject: [PATCH 2550/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 (#435) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220828-2.0.0` -> `v3-rev20220911-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/compatibility-slim/v3-rev20220828-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220911-2.0.0/confidence-slim/v3-rev20220828-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index b315a1da073f..34035349a91e 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220828-2.0.0 + v3-rev20220911-2.0.0 com.google.auth From 88a8523cbfa237d208d7a691bb054db2c58fa42a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Sep 2022 18:12:19 +0200 Subject: [PATCH 2551/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.0 (#925) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.5.2` -> `1.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.0/compatibility-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.0/confidence-slim/1.5.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.0`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​160-httpsgithubcomgoogleapisjava-iamcomparev152v160-2022-09-20) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.5.2...v1.6.0) ##### Features - Add v2 client ([#​423](https://togithub.com/googleapis/java-iam/issues/423)) ([6b6c24f](https://togithub.com/googleapis/java-iam/commit/6b6c24f11093d2ccc5e5005337576db7c9626ec0)) - Update the public IAM Deny v2beta API ([5894873](https://togithub.com/googleapis/java-iam/commit/58948731feee6462ae75f6fe11c31e36e9ec6fce)) ##### Documentation - **samples:** Update param values ([#​401](https://togithub.com/googleapis/java-iam/issues/401)) ([8879c28](https://togithub.com/googleapis/java-iam/commit/8879c28cac3543c441be636da626bcc3c10509da)) ##### Dependencies - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-1.32.1 ([#​383](https://togithub.com/googleapis/java-iam/issues/383)) ([0670b46](https://togithub.com/googleapis/java-iam/commit/0670b461db649b2be307735aa128e8273d42d38f)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220710-2.0.0 ([#​396](https://togithub.com/googleapis/java-iam/issues/396)) ([ec96383](https://togithub.com/googleapis/java-iam/commit/ec96383900c271ddf96a58772ff459c6879c106f)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220731-2.0.0 ([#​402](https://togithub.com/googleapis/java-iam/issues/402)) ([39605e5](https://togithub.com/googleapis/java-iam/commit/39605e5b1cb4ee9fea068e36a6452e02710ae03d)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220807-2.0.0 ([#​407](https://togithub.com/googleapis/java-iam/issues/407)) ([475fa93](https://togithub.com/googleapis/java-iam/commit/475fa93c1b5affb19eec36856e719041d5bf56af)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220828-2.0.0 ([#​417](https://togithub.com/googleapis/java-iam/issues/417)) ([f3b365d](https://togithub.com/googleapis/java-iam/commit/f3b365df695b61515871c24dd2d14cde015ad599)) - Update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-1.32.1 ([#​390](https://togithub.com/googleapis/java-iam/issues/390)) ([9bef280](https://togithub.com/googleapis/java-iam/commit/9bef280b9c871ad9333daa8f027b8679f91ccbb1)) - Update dependency com.google.apis:google-api-services-iam to v2beta-rev20220713-2.0.0 ([#​403](https://togithub.com/googleapis/java-iam/issues/403)) ([7a8270b](https://togithub.com/googleapis/java-iam/commit/7a8270b691b5c749c90185659bd3a51480c3e1c4)) - Update dependency com.google.apis:google-api-services-iamcredentials to v1-rev20211203-2.0.0 ([#​404](https://togithub.com/googleapis/java-iam/issues/404)) ([ee3537d](https://togithub.com/googleapis/java-iam/commit/ee3537d763c389d25d887fb1b2cfc61ff4101d65)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.10.0 ([#​406](https://togithub.com/googleapis/java-iam/issues/406)) ([56284df](https://togithub.com/googleapis/java-iam/commit/56284df32ee657a5055e6dea3bd7b25772c218ea)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.11.0 ([#​419](https://togithub.com/googleapis/java-iam/issues/419)) ([3375ba3](https://togithub.com/googleapis/java-iam/commit/3375ba3a5b44d97370233238a63e1a310b5b605a)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.8.1 ([#​385](https://togithub.com/googleapis/java-iam/issues/385)) ([e6199b3](https://togithub.com/googleapis/java-iam/commit/e6199b3c094f606359c8e469a853a283cd82c836)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.9.0 ([#​400](https://togithub.com/googleapis/java-iam/issues/400)) ([aa4e5b6](https://togithub.com/googleapis/java-iam/commit/aa4e5b6ec5af98925c4353c9393e33c423c67a60)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#​395](https://togithub.com/googleapis/java-iam/issues/395)) ([a88edd6](https://togithub.com/googleapis/java-iam/commit/a88edd61e1a66c5f48185dd5e8a2a61e5e9a002e)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.1 ([#​399](https://togithub.com/googleapis/java-iam/issues/399)) ([bf814a9](https://togithub.com/googleapis/java-iam/commit/bf814a9faf878195676937cfe793b4a20fff6f06)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#​420](https://togithub.com/googleapis/java-iam/issues/420)) ([e358921](https://togithub.com/googleapis/java-iam/commit/e358921e5ade85359a97b6a19af7a8397227c428)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#​426](https://togithub.com/googleapis/java-iam/issues/426)) ([6da2bd2](https://togithub.com/googleapis/java-iam/commit/6da2bd228c5e3b9f6d9d35e95b955c7fbd65807d)) - Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.2 ([#​386](https://togithub.com/googleapis/java-iam/issues/386)) ([de1b271](https://togithub.com/googleapis/java-iam/commit/de1b27180bf93a5c9b5a9a274f9d5a2c2ff5afc1)) - Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#​391](https://togithub.com/googleapis/java-iam/issues/391)) ([02a3c56](https://togithub.com/googleapis/java-iam/commit/02a3c56b1143d497b98e2f437d9b36ea468e36ea)) - Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#​393](https://togithub.com/googleapis/java-iam/issues/393)) ([f4c649b](https://togithub.com/googleapis/java-iam/commit/f4c649b67c0a8fa950487b3e3b2f10ab85136165)) - Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#​405](https://togithub.com/googleapis/java-iam/issues/405)) ([66b27cb](https://togithub.com/googleapis/java-iam/commit/66b27cb9722cac68af7844447524f149fb08b3b0)) - Update dependency io.grpc:grpc-protobuf to v1.48.0 ([#​388](https://togithub.com/googleapis/java-iam/issues/388)) ([d7beea4](https://togithub.com/googleapis/java-iam/commit/d7beea4de4aff35f998b017c6d6136c76ec1e36b)) - Update dependency io.grpc:grpc-protobuf to v1.48.1 ([#​397](https://togithub.com/googleapis/java-iam/issues/397)) ([512a655](https://togithub.com/googleapis/java-iam/commit/512a6554067bbbe9ac400f833a0a8cd4bfaef785)) - Update dependency io.grpc:grpc-protobuf to v1.49.0 ([#​413](https://togithub.com/googleapis/java-iam/issues/413)) ([93ac43d](https://togithub.com/googleapis/java-iam/commit/93ac43deb5a663bd22b5d14f8ba7a4bdff6928cd)) - Update dependency io.grpc:grpc-protobuf to v1.49.1 ([#​427](https://togithub.com/googleapis/java-iam/issues/427)) ([c7b26dd](https://togithub.com/googleapis/java-iam/commit/c7b26dd62e4b22634f15e4eb19d96c3dfc919d11)) - Update dependency io.grpc:grpc-stub to v1.48.0 ([#​389](https://togithub.com/googleapis/java-iam/issues/389)) ([c76beb0](https://togithub.com/googleapis/java-iam/commit/c76beb01ba7a59cdfe60fc498f33881faadafe89)) - Update dependency io.grpc:grpc-stub to v1.48.1 ([#​398](https://togithub.com/googleapis/java-iam/issues/398)) ([4917a59](https://togithub.com/googleapis/java-iam/commit/4917a59ae856825e6e96a5b3ca0d766b8a931de6)) - Update dependency io.grpc:grpc-stub to v1.49.0 ([#​414](https://togithub.com/googleapis/java-iam/issues/414)) ([1d98460](https://togithub.com/googleapis/java-iam/commit/1d9846000bf41f20907dfcbc11574e88f91cc8f8)) - Update dependency io.grpc:grpc-stub to v1.49.1 ([#​428](https://togithub.com/googleapis/java-iam/issues/428)) ([ad6f449](https://togithub.com/googleapis/java-iam/commit/ad6f449c6fdfbf91a89561359ef2f124e9d8dfa2))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index eddce3b52e71..edced355a6d3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.1 2.2.1 2.9.3 - 1.5.2 + 1.6.0 1.11.0 2.0.0 1.42.2 From 9f348aa669e3fef9268577b847f2b7bf098c798d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Sep 2022 16:50:33 +0200 Subject: [PATCH 2552/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.1 (#926) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.0` -> `1.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.1/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.1/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.1`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​161-httpsgithubcomgoogleapisjava-iamcomparev160v161-2022-09-21) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) ##### Dependencies - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​425](https://togithub.com/googleapis/java-iam/issues/425)) ([61cbdf4](https://togithub.com/googleapis/java-iam/commit/61cbdf4c4ad3c559670cc39c864dfd03f8303667))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index edced355a6d3..ddfbf1f90932 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.1 2.2.1 2.9.3 - 1.6.0 + 1.6.1 1.11.0 2.0.0 1.42.2 From a608c091195cb0e075e0f030b982b3a97e563c33 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 23 Sep 2022 14:56:17 +0000 Subject: [PATCH 2553/3036] chore(main): release 2.8.15 (#927) :robot: I have created a release *beep* *boop* --- ## [2.8.15](https://github.com/googleapis/java-core/compare/v2.8.14...v2.8.15) (2022-09-23) ### Dependencies * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.0 ([#925](https://github.com/googleapis/java-core/issues/925)) ([88a8523](https://github.com/googleapis/java-core/commit/88a8523cbfa237d208d7a691bb054db2c58fa42a)) * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.1 ([#926](https://github.com/googleapis/java-core/issues/926)) ([9f348aa](https://github.com/googleapis/java-core/commit/9f348aa669e3fef9268577b847f2b7bf098c798d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index b3829e3b01bd..b4d39e4817a8 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.15](https://github.com/googleapis/java-core/compare/v2.8.14...v2.8.15) (2022-09-23) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.0 ([#925](https://github.com/googleapis/java-core/issues/925)) ([a5475c5](https://github.com/googleapis/java-core/commit/a5475c5333ca97392c9e64a883826ea1bd976a01)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.1 ([#926](https://github.com/googleapis/java-core/issues/926)) ([3bc96fb](https://github.com/googleapis/java-core/commit/3bc96fbba4907d4ac3d24915870132fed596c0d3)) + ## [2.8.14](https://github.com/googleapis/java-core/compare/v2.8.13...v2.8.14) (2022-09-20) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index e88c84bd6b93..a9dcddadcfb7 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.15-SNAPSHOT + 2.8.15 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.15-SNAPSHOT + 2.8.15 com.google.cloud google-cloud-core-grpc - 2.8.15-SNAPSHOT + 2.8.15 com.google.cloud google-cloud-core-http - 2.8.15-SNAPSHOT + 2.8.15
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index eb7c19bda74e..56cf5718fd57 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.8.15-SNAPSHOT + 2.8.15 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.15-SNAPSHOT + 2.8.15 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 67f451f1ef49..a355c671677f 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.8.15-SNAPSHOT + 2.8.15 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.15-SNAPSHOT + 2.8.15 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d3dca0a106c0..ae034290f536 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.8.15-SNAPSHOT + 2.8.15 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.15-SNAPSHOT + 2.8.15 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index ddfbf1f90932..2d43de06b6fd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.15-SNAPSHOT + 2.8.15 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 88b24ce6c63a..dbf9d1645aa0 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.14:2.8.15-SNAPSHOT +google-cloud-core:2.8.15:2.8.15 From bef24c7355ec3930d80e5141f660729366a46924 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 23 Sep 2022 15:02:15 +0000 Subject: [PATCH 2554/3036] chore(main): release 2.8.16-SNAPSHOT (#928) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a9dcddadcfb7..f3ec4e122393 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.15 + 2.8.16-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.15 + 2.8.16-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.15 + 2.8.16-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.15 + 2.8.16-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 56cf5718fd57..b78eeffd0cff 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.8.15 + 2.8.16-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.15 + 2.8.16-SNAPSHOT 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 a355c671677f..ff548da6b7a0 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.8.15 + 2.8.16-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.15 + 2.8.16-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index ae034290f536..216c614c7caa 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.8.15 + 2.8.16-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.15 + 2.8.16-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2d43de06b6fd..6a0ecefd4fb0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.15 + 2.8.16-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index dbf9d1645aa0..0994e6658f2d 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.15:2.8.15 +google-cloud-core:2.8.15:2.8.16-SNAPSHOT From 986dc38b8b2b6a1034b1bc4824e85dd755225ea2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 26 Sep 2022 16:30:14 +0200 Subject: [PATCH 2555/3036] deps: update dependency org.threeten:threetenbp to v1.6.2 (#929) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.2`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.2) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6a0ecefd4fb0..b010ed8e27bc 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.1.3 4.3 3.0.2 - 1.6.1 + 1.6.2 3.3 2.15.0 2.9.1 From f03792d49370e0abbe6f90d37c513920759d6581 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 26 Sep 2022 16:30:20 +0200 Subject: [PATCH 2556/3036] deps: update dependency org.threeten:threetenbp to v1.6.2 (#808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.2`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.2) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 7ed31426d472..2df66ef7a3dc 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,7 @@ UTF-8 ${project.artifactId} - 1.6.1 + 1.6.2 1.3.2 1.22 0.31.1 From 614586ed92f203901c80ab5539f5c514bb5fe131 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 26 Sep 2022 16:30:41 +0200 Subject: [PATCH 2557/3036] deps: update google.core.version to v2.8.15 (#807) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.14` -> `2.8.15` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/compatibility-slim/2.8.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.15/confidence-slim/2.8.14)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.14` -> `2.8.15` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.15/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.15/compatibility-slim/2.8.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.15/confidence-slim/2.8.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.15`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2815-httpsgithubcomgoogleapisjava-corecomparev2814v2815-2022-09-23) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.14...v2.8.15) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.0 ([#​925](https://togithub.com/googleapis/java-core/issues/925)) ([a5475c5](https://togithub.com/googleapis/java-core/commit/a5475c5333ca97392c9e64a883826ea1bd976a01)) - Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.1 ([#​926](https://togithub.com/googleapis/java-core/issues/926)) ([3bc96fb](https://togithub.com/googleapis/java-core/commit/3bc96fbba4907d4ac3d24915870132fed596c0d3))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c36dd0a68237..c9dd2e66b77e 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.6 2.2.1 2.9.3 - 2.8.14 + 2.8.15 1.11.0 1.42.2 1.34.1 From 5fe0d33b28bd7678f3cf58ced18168a538b61b3e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 26 Sep 2022 14:38:15 +0000 Subject: [PATCH 2558/3036] chore(main): release 2.8.16 (#930) :robot: I have created a release *beep* *boop* --- ## [2.8.16](https://github.com/googleapis/java-core/compare/v2.8.15...v2.8.16) (2022-09-26) ### Dependencies * Update dependency org.threeten:threetenbp to v1.6.2 ([#929](https://github.com/googleapis/java-core/issues/929)) ([986dc38](https://github.com/googleapis/java-core/commit/986dc38b8b2b6a1034b1bc4824e85dd755225ea2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index b4d39e4817a8..b837e3e77177 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.16](https://github.com/googleapis/java-core/compare/v2.8.15...v2.8.16) (2022-09-26) + + +### Dependencies + +* Update dependency org.threeten:threetenbp to v1.6.2 ([#929](https://github.com/googleapis/java-core/issues/929)) ([2f797f9](https://github.com/googleapis/java-core/commit/2f797f990eacc112dd982e7a8f9155bc229b7bf3)) + ## [2.8.15](https://github.com/googleapis/java-core/compare/v2.8.14...v2.8.15) (2022-09-23) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index f3ec4e122393..85356ada6341 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.16-SNAPSHOT + 2.8.16 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.16-SNAPSHOT + 2.8.16 com.google.cloud google-cloud-core-grpc - 2.8.16-SNAPSHOT + 2.8.16 com.google.cloud google-cloud-core-http - 2.8.16-SNAPSHOT + 2.8.16
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b78eeffd0cff..6e9cced20cb8 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.8.16-SNAPSHOT + 2.8.16 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.16-SNAPSHOT + 2.8.16 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 ff548da6b7a0..3a3ba359ae0c 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.8.16-SNAPSHOT + 2.8.16 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.16-SNAPSHOT + 2.8.16 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 216c614c7caa..cea6329986da 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.8.16-SNAPSHOT + 2.8.16 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.16-SNAPSHOT + 2.8.16 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b010ed8e27bc..1d280d1378be 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.16-SNAPSHOT + 2.8.16 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0994e6658f2d..ea653c7d7987 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.15:2.8.16-SNAPSHOT +google-cloud-core:2.8.16:2.8.16 From 21a6f51b903924966f8bc04b002e5d7ac291f270 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 26 Sep 2022 14:46:13 +0000 Subject: [PATCH 2559/3036] chore(main): release 2.8.17-SNAPSHOT (#931) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 85356ada6341..7e6beb795293 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.16 + 2.8.17-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.16 + 2.8.17-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.16 + 2.8.17-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.16 + 2.8.17-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 6e9cced20cb8..d815f43fabbf 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.8.16 + 2.8.17-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.16 + 2.8.17-SNAPSHOT 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 3a3ba359ae0c..269e126ad0d6 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.8.16 + 2.8.17-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.16 + 2.8.17-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cea6329986da..56bff8f00a2c 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.8.16 + 2.8.17-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.16 + 2.8.17-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 1d280d1378be..2ca50fe2d4ae 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.16 + 2.8.17-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ea653c7d7987..6629b265f1ed 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.16:2.8.16 +google-cloud-core:2.8.16:2.8.17-SNAPSHOT From cb873f053d2feb1638f81df148ac9b20164bea87 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 26 Sep 2022 21:58:24 +0000 Subject: [PATCH 2560/3036] chore: pin versions of dependencies for compatibility with Python 3.6 (#1588) (#809) * chore: pin versions of dependencies for compatibility with Python 3.6 * fix path of requirements file in synthtool Source-Link: https://github.com/googleapis/synthtool/commit/69cdb47824170d0b02bf694649ce66613c889040 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 --- .../.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/release/publish_javadoc.sh | 2 +- .../.kokoro/release/publish_javadoc11.sh | 2 +- .../.kokoro/release/stage.sh | 3 +- .../.kokoro/requirements.in | 31 ++ .../.kokoro/requirements.txt | 452 ++++++++++++++++++ 6 files changed, 488 insertions(+), 4 deletions(-) create mode 100644 java-shared-dependencies/.kokoro/requirements.in create mode 100644 java-shared-dependencies/.kokoro/requirements.txt diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 6259292301cb..791e842d2f88 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93 + digest: sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh index 28f80842cb51..079b15d0bbd7 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh @@ -28,7 +28,7 @@ fi pushd $(dirname "$0")/../../ # install docuploader package -python3 -m pip install gcp-docuploader +python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh index 212ccdcf9d8a..56a3481e597c 100755 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh @@ -28,7 +28,7 @@ fi pushd $(dirname "$0")/../../ # install docuploader package -python3 -m pip install gcp-docuploader +python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh index 1dba8de10857..61e714d6ba56 100755 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ b/java-shared-dependencies/.kokoro/release/stage.sh @@ -16,7 +16,8 @@ set -eo pipefail # Start the releasetool reporter -python3 -m pip install gcp-releasetool +requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt) +python3 -m pip install --require-hashes -r $requirementsFile python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in new file mode 100644 index 000000000000..cfdc2e7ed955 --- /dev/null +++ b/java-shared-dependencies/.kokoro/requirements.in @@ -0,0 +1,31 @@ +gcp-docuploader==0.6.3 +google-crc32c==1.3.0 +googleapis-common-protos==1.56.3 +gcp-releasetool==1.8.7 +cachetools==4.2.4 +cffi==1.15.1 +jeepney==0.7.1 +jinja2==3.0.3 +markupsafe==2.0.1 +keyring==23.4.1 +packaging==21.3 +protobuf==3.19.5 +pyjwt==2.4.0 +pyparsing==3.0.9 +pycparser==2.21 +pyperclip==1.8.2 +python-dateutil==2.8.2 +requests==2.27.1 +importlib-metadata==4.8.3 +zipp==3.6.0 +google_api_core==2.8.2 +google-cloud-storage==2.0.0 +google-cloud-core==2.3.1 +typing-extensions==4.1.1 +urllib3==1.26.12 +zipp==3.6.0 +rsa==4.9 +six==1.16.0 +attrs==22.1.0 +google-auth==2.11.0 +idna==3.4 \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt new file mode 100644 index 000000000000..170f1c63abb7 --- /dev/null +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -0,0 +1,452 @@ +# +# This file is autogenerated by pip-compile with python 3.10 +# To update, run: +# +# pip-compile --allow-unsafe --generate-hashes requirements.in +# +attrs==22.1.0 \ + --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ + --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c + # via + # -r requirements.in + # gcp-releasetool +cachetools==4.2.4 \ + --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ + --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 + # via + # -r requirements.in + # google-auth +certifi==2022.9.14 \ + --hash=sha256:36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5 \ + --hash=sha256:e232343de1ab72c2aa521b625c80f699e356830fd0e2c620b465b304b17b0516 + # via requests +cffi==1.15.1 \ + --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ + --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ + --hash=sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104 \ + --hash=sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426 \ + --hash=sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405 \ + --hash=sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375 \ + --hash=sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a \ + --hash=sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e \ + --hash=sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc \ + --hash=sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf \ + --hash=sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185 \ + --hash=sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497 \ + --hash=sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3 \ + --hash=sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35 \ + --hash=sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c \ + --hash=sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83 \ + --hash=sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21 \ + --hash=sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca \ + --hash=sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984 \ + --hash=sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac \ + --hash=sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd \ + --hash=sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee \ + --hash=sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a \ + --hash=sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2 \ + --hash=sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192 \ + --hash=sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7 \ + --hash=sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585 \ + --hash=sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f \ + --hash=sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e \ + --hash=sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27 \ + --hash=sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b \ + --hash=sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e \ + --hash=sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e \ + --hash=sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d \ + --hash=sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c \ + --hash=sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415 \ + --hash=sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82 \ + --hash=sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02 \ + --hash=sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314 \ + --hash=sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325 \ + --hash=sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c \ + --hash=sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3 \ + --hash=sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914 \ + --hash=sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045 \ + --hash=sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d \ + --hash=sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9 \ + --hash=sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5 \ + --hash=sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2 \ + --hash=sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c \ + --hash=sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3 \ + --hash=sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2 \ + --hash=sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8 \ + --hash=sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d \ + --hash=sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d \ + --hash=sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 \ + --hash=sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162 \ + --hash=sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76 \ + --hash=sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4 \ + --hash=sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e \ + --hash=sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9 \ + --hash=sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6 \ + --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ + --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ + --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 + # via + # -r requirements.in + # cryptography +charset-normalizer==2.0.12 \ + --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ + --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df + # via requests +click==8.0.4 \ + --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ + --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb + # via + # gcp-docuploader + # gcp-releasetool +colorlog==6.7.0 \ + --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ + --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 + # via gcp-docuploader +cryptography==38.0.1 \ + --hash=sha256:0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a \ + --hash=sha256:10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f \ + --hash=sha256:16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0 \ + --hash=sha256:194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407 \ + --hash=sha256:1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7 \ + --hash=sha256:3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6 \ + --hash=sha256:3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153 \ + --hash=sha256:3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750 \ + --hash=sha256:3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad \ + --hash=sha256:5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6 \ + --hash=sha256:52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b \ + --hash=sha256:64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5 \ + --hash=sha256:765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a \ + --hash=sha256:79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d \ + --hash=sha256:896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d \ + --hash=sha256:89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294 \ + --hash=sha256:ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0 \ + --hash=sha256:ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a \ + --hash=sha256:b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac \ + --hash=sha256:b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61 \ + --hash=sha256:c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013 \ + --hash=sha256:ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e \ + --hash=sha256:d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb \ + --hash=sha256:d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9 \ + --hash=sha256:d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd \ + --hash=sha256:d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818 + # via + # gcp-releasetool + # secretstorage +gcp-docuploader==0.6.3 \ + --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ + --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b + # via -r requirements.in +gcp-releasetool==1.8.7 \ + --hash=sha256:3d2a67c9db39322194afb3b427e9cb0476ce8f2a04033695f0aeb63979fc2b37 \ + --hash=sha256:5e4d28f66e90780d77f3ecf1e9155852b0c3b13cbccb08ab07e66b2357c8da8d + # via -r requirements.in +google-api-core==2.8.2 \ + --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ + --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 + # via + # -r requirements.in + # google-cloud-core + # google-cloud-storage +google-auth==2.11.0 \ + --hash=sha256:be62acaae38d0049c21ca90f27a23847245c9f161ff54ede13af2cb6afecbac9 \ + --hash=sha256:ed65ecf9f681832298e29328e1ef0a3676e3732b2e56f41532d45f70a22de0fb + # via + # -r requirements.in + # gcp-releasetool + # google-api-core + # google-cloud-core + # google-cloud-storage +google-cloud-core==2.3.1 \ + --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ + --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 + # via + # -r requirements.in + # google-cloud-storage +google-cloud-storage==2.0.0 \ + --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ + --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 + # via + # -r requirements.in + # gcp-docuploader +google-crc32c==1.3.0 \ + --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ + --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ + --hash=sha256:12674a4c3b56b706153a358eaa1018c4137a5a04635b92b4652440d3d7386206 \ + --hash=sha256:127f9cc3ac41b6a859bd9dc4321097b1a4f6aa7fdf71b4f9227b9e3ebffb4422 \ + --hash=sha256:13af315c3a0eec8bb8b8d80b8b128cb3fcd17d7e4edafc39647846345a3f003a \ + --hash=sha256:1926fd8de0acb9d15ee757175ce7242e235482a783cd4ec711cc999fc103c24e \ + --hash=sha256:226f2f9b8e128a6ca6a9af9b9e8384f7b53a801907425c9a292553a3a7218ce0 \ + --hash=sha256:276de6273eb074a35bc598f8efbc00c7869c5cf2e29c90748fccc8c898c244df \ + --hash=sha256:318f73f5484b5671f0c7f5f63741ab020a599504ed81d209b5c7129ee4667407 \ + --hash=sha256:3bbce1be3687bbfebe29abdb7631b83e6b25da3f4e1856a1611eb21854b689ea \ + --hash=sha256:42ae4781333e331a1743445931b08ebdad73e188fd554259e772556fc4937c48 \ + --hash=sha256:58be56ae0529c664cc04a9c76e68bb92b091e0194d6e3c50bea7e0f266f73713 \ + --hash=sha256:5da2c81575cc3ccf05d9830f9e8d3c70954819ca9a63828210498c0774fda1a3 \ + --hash=sha256:6311853aa2bba4064d0c28ca54e7b50c4d48e3de04f6770f6c60ebda1e975267 \ + --hash=sha256:650e2917660e696041ab3dcd7abac160b4121cd9a484c08406f24c5964099829 \ + --hash=sha256:6a4db36f9721fdf391646685ecffa404eb986cbe007a3289499020daf72e88a2 \ + --hash=sha256:779cbf1ce375b96111db98fca913c1f5ec11b1d870e529b1dc7354b2681a8c3a \ + --hash=sha256:7f6fe42536d9dcd3e2ffb9d3053f5d05221ae3bbcefbe472bdf2c71c793e3183 \ + --hash=sha256:891f712ce54e0d631370e1f4997b3f182f3368179198efc30d477c75d1f44942 \ + --hash=sha256:95c68a4b9b7828ba0428f8f7e3109c5d476ca44996ed9a5f8aac6269296e2d59 \ + --hash=sha256:96a8918a78d5d64e07c8ea4ed2bc44354e3f93f46a4866a40e8db934e4c0d74b \ + --hash=sha256:9c3cf890c3c0ecfe1510a452a165431b5831e24160c5fcf2071f0f85ca5a47cd \ + --hash=sha256:9f58099ad7affc0754ae42e6d87443299f15d739b0ce03c76f515153a5cda06c \ + --hash=sha256:a0b9e622c3b2b8d0ce32f77eba617ab0d6768b82836391e4f8f9e2074582bf02 \ + --hash=sha256:a7f9cbea4245ee36190f85fe1814e2d7b1e5f2186381b082f5d59f99b7f11328 \ + --hash=sha256:bab4aebd525218bab4ee615786c4581952eadc16b1ff031813a2fd51f0cc7b08 \ + --hash=sha256:c124b8c8779bf2d35d9b721e52d4adb41c9bfbde45e6a3f25f0820caa9aba73f \ + --hash=sha256:c9da0a39b53d2fab3e5467329ed50e951eb91386e9d0d5b12daf593973c3b168 \ + --hash=sha256:ca60076c388728d3b6ac3846842474f4250c91efbfe5afa872d3ffd69dd4b318 \ + --hash=sha256:cb6994fff247987c66a8a4e550ef374671c2b82e3c0d2115e689d21e511a652d \ + --hash=sha256:d1c1d6236feab51200272d79b3d3e0f12cf2cbb12b208c835b175a21efdb0a73 \ + --hash=sha256:dd7760a88a8d3d705ff562aa93f8445ead54f58fd482e4f9e2bafb7e177375d4 \ + --hash=sha256:dda4d8a3bb0b50f540f6ff4b6033f3a74e8bf0bd5320b70fab2c03e512a62812 \ + --hash=sha256:e0f1ff55dde0ebcfbef027edc21f71c205845585fffe30d4ec4979416613e9b3 \ + --hash=sha256:e7a539b9be7b9c00f11ef16b55486141bc2cdb0c54762f84e3c6fc091917436d \ + --hash=sha256:eb0b14523758e37802f27b7f8cd973f5f3d33be7613952c0df904b68c4842f0e \ + --hash=sha256:ed447680ff21c14aaceb6a9f99a5f639f583ccfe4ce1a5e1d48eb41c3d6b3217 \ + --hash=sha256:f52a4ad2568314ee713715b1e2d79ab55fab11e8b304fd1462ff5cccf4264b3e \ + --hash=sha256:fbd60c6aaa07c31d7754edbc2334aef50601b7f1ada67a96eb1eb57c7c72378f \ + --hash=sha256:fc28e0db232c62ca0c3600884933178f0825c99be4474cdd645e378a10588125 \ + --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ + --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ + --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 + # via + # -r requirements.in + # google-resumable-media +google-resumable-media==2.3.3 \ + --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ + --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 + # via google-cloud-storage +googleapis-common-protos==1.56.3 \ + --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ + --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 + # via + # -r requirements.in + # google-api-core +idna==3.4 \ + --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ + --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 + # via + # -r requirements.in + # requests +importlib-metadata==4.8.3 \ + --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ + --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 + # via + # -r requirements.in + # keyring +jeepney==0.7.1 \ + --hash=sha256:1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac \ + --hash=sha256:fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f + # via + # -r requirements.in + # keyring + # secretstorage +jinja2==3.0.3 \ + --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ + --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 + # via + # -r requirements.in + # gcp-releasetool +keyring==23.4.1 \ + --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ + --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 + # via + # -r requirements.in + # gcp-releasetool +markupsafe==2.0.1 \ + --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ + --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ + --hash=sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b \ + --hash=sha256:04635854b943835a6ea959e948d19dcd311762c5c0c6e1f0e16ee57022669194 \ + --hash=sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567 \ + --hash=sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff \ + --hash=sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724 \ + --hash=sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74 \ + --hash=sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646 \ + --hash=sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35 \ + --hash=sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6 \ + --hash=sha256:20dca64a3ef2d6e4d5d615a3fd418ad3bde77a47ec8a23d984a12b5b4c74491a \ + --hash=sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6 \ + --hash=sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad \ + --hash=sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26 \ + --hash=sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38 \ + --hash=sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac \ + --hash=sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7 \ + --hash=sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6 \ + --hash=sha256:4296f2b1ce8c86a6aea78613c34bb1a672ea0e3de9c6ba08a960efe0b0a09047 \ + --hash=sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75 \ + --hash=sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f \ + --hash=sha256:4dc8f9fb58f7364b63fd9f85013b780ef83c11857ae79f2feda41e270468dd9b \ + --hash=sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135 \ + --hash=sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8 \ + --hash=sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a \ + --hash=sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a \ + --hash=sha256:5b6d930f030f8ed98e3e6c98ffa0652bdb82601e7a016ec2ab5d7ff23baa78d1 \ + --hash=sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9 \ + --hash=sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864 \ + --hash=sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914 \ + --hash=sha256:6300b8454aa6930a24b9618fbb54b5a68135092bc666f7b06901f897fa5c2fee \ + --hash=sha256:63f3268ba69ace99cab4e3e3b5840b03340efed0948ab8f78d2fd87ee5442a4f \ + --hash=sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18 \ + --hash=sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8 \ + --hash=sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2 \ + --hash=sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d \ + --hash=sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b \ + --hash=sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b \ + --hash=sha256:89c687013cb1cd489a0f0ac24febe8c7a666e6e221b783e53ac50ebf68e45d86 \ + --hash=sha256:8d206346619592c6200148b01a2142798c989edcb9c896f9ac9722a99d4e77e6 \ + --hash=sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f \ + --hash=sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb \ + --hash=sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833 \ + --hash=sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28 \ + --hash=sha256:9f02365d4e99430a12647f09b6cc8bab61a6564363f313126f775eb4f6ef798e \ + --hash=sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415 \ + --hash=sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902 \ + --hash=sha256:aca6377c0cb8a8253e493c6b451565ac77e98c2951c45f913e0b52facdcff83f \ + --hash=sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d \ + --hash=sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9 \ + --hash=sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d \ + --hash=sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145 \ + --hash=sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066 \ + --hash=sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c \ + --hash=sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1 \ + --hash=sha256:cdfba22ea2f0029c9261a4bd07e830a8da012291fbe44dc794e488b6c9bb353a \ + --hash=sha256:d6c7ebd4e944c85e2c3421e612a7057a2f48d478d79e61800d81468a8d842207 \ + --hash=sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f \ + --hash=sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53 \ + --hash=sha256:deb993cacb280823246a026e3b2d81c493c53de6acfd5e6bfe31ab3402bb37dd \ + --hash=sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134 \ + --hash=sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85 \ + --hash=sha256:f0567c4dc99f264f49fe27da5f735f414c4e7e7dd850cfd8e69f0862d7c74ea9 \ + --hash=sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5 \ + --hash=sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94 \ + --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ + --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ + --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 + # via + # -r requirements.in + # jinja2 +packaging==21.3 \ + --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ + --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 + # via + # -r requirements.in + # gcp-releasetool +protobuf==3.19.5 \ + --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ + --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ + --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ + --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ + --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ + --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ + --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ + --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ + --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ + --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ + --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ + --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ + --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ + --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ + --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ + --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ + --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ + --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ + --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ + --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ + --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ + --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ + --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ + --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ + --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ + --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de + # via + # -r requirements.in + # gcp-docuploader + # gcp-releasetool + # google-api-core + # google-cloud-storage + # googleapis-common-protos +pyasn1==0.4.8 \ + --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ + --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba + # via + # pyasn1-modules + # rsa +pyasn1-modules==0.2.8 \ + --hash=sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e \ + --hash=sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74 + # via google-auth +pycparser==2.21 \ + --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ + --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 + # via + # -r requirements.in + # cffi +pyjwt==2.4.0 \ + --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ + --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba + # via + # -r requirements.in + # gcp-releasetool +pyparsing==3.0.9 \ + --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ + --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc + # via + # -r requirements.in + # packaging +pyperclip==1.8.2 \ + --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 + # via + # -r requirements.in + # gcp-releasetool +python-dateutil==2.8.2 \ + --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ + --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 + # via + # -r requirements.in + # gcp-releasetool +requests==2.27.1 \ + --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ + --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d + # via + # -r requirements.in + # gcp-releasetool + # google-api-core + # google-cloud-storage +rsa==4.9 \ + --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ + --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 + # via + # -r requirements.in + # google-auth +secretstorage==3.3.3 \ + --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ + --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 + # via keyring +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via + # -r requirements.in + # gcp-docuploader + # google-auth + # python-dateutil +typing-extensions==4.1.1 \ + --hash=sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \ + --hash=sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2 + # via -r requirements.in +urllib3==1.26.12 \ + --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ + --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 + # via + # -r requirements.in + # requests +zipp==3.6.0 \ + --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ + --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc + # via + # -r requirements.in + # importlib-metadata From 394f44970768de78a692be74d80de315908a70cd Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:00:35 +0000 Subject: [PATCH 2561/3036] chore: exclude requirements.txt file from renovate-bot (#1594) (#933) Source-Link: https://github.com/googleapis/synthtool/commit/f58d3135a2fab20e225d98741dbc06d57459b816 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/release/publish_javadoc.sh | 2 +- .../.kokoro/release/publish_javadoc11.sh | 2 +- java-core/.kokoro/release/stage.sh | 3 +- java-core/.kokoro/requirements.in | 31 ++ java-core/.kokoro/requirements.txt | 452 ++++++++++++++++++ java-core/renovate.json | 1 + 7 files changed, 489 insertions(+), 4 deletions(-) create mode 100644 java-core/.kokoro/requirements.in create mode 100644 java-core/.kokoro/requirements.txt diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 6259292301cb..42327db5e2e3 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93 + digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh index df6137ed9108..e2a55af47aea 100755 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ b/java-core/.kokoro/release/publish_javadoc.sh @@ -28,7 +28,7 @@ fi pushd $(dirname "$0")/../../ # install docuploader package -python3 -m pip install gcp-docuploader +python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh index 64aa128f1cb5..970a282deca7 100755 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ b/java-core/.kokoro/release/publish_javadoc11.sh @@ -28,7 +28,7 @@ fi pushd $(dirname "$0")/../../ # install docuploader package -python3 -m pip install gcp-docuploader +python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh index 1dba8de10857..61e714d6ba56 100755 --- a/java-core/.kokoro/release/stage.sh +++ b/java-core/.kokoro/release/stage.sh @@ -16,7 +16,8 @@ set -eo pipefail # Start the releasetool reporter -python3 -m pip install gcp-releasetool +requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt) +python3 -m pip install --require-hashes -r $requirementsFile python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in new file mode 100644 index 000000000000..cfdc2e7ed955 --- /dev/null +++ b/java-core/.kokoro/requirements.in @@ -0,0 +1,31 @@ +gcp-docuploader==0.6.3 +google-crc32c==1.3.0 +googleapis-common-protos==1.56.3 +gcp-releasetool==1.8.7 +cachetools==4.2.4 +cffi==1.15.1 +jeepney==0.7.1 +jinja2==3.0.3 +markupsafe==2.0.1 +keyring==23.4.1 +packaging==21.3 +protobuf==3.19.5 +pyjwt==2.4.0 +pyparsing==3.0.9 +pycparser==2.21 +pyperclip==1.8.2 +python-dateutil==2.8.2 +requests==2.27.1 +importlib-metadata==4.8.3 +zipp==3.6.0 +google_api_core==2.8.2 +google-cloud-storage==2.0.0 +google-cloud-core==2.3.1 +typing-extensions==4.1.1 +urllib3==1.26.12 +zipp==3.6.0 +rsa==4.9 +six==1.16.0 +attrs==22.1.0 +google-auth==2.11.0 +idna==3.4 \ No newline at end of file diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt new file mode 100644 index 000000000000..170f1c63abb7 --- /dev/null +++ b/java-core/.kokoro/requirements.txt @@ -0,0 +1,452 @@ +# +# This file is autogenerated by pip-compile with python 3.10 +# To update, run: +# +# pip-compile --allow-unsafe --generate-hashes requirements.in +# +attrs==22.1.0 \ + --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ + --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c + # via + # -r requirements.in + # gcp-releasetool +cachetools==4.2.4 \ + --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ + --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 + # via + # -r requirements.in + # google-auth +certifi==2022.9.14 \ + --hash=sha256:36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5 \ + --hash=sha256:e232343de1ab72c2aa521b625c80f699e356830fd0e2c620b465b304b17b0516 + # via requests +cffi==1.15.1 \ + --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ + --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ + --hash=sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104 \ + --hash=sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426 \ + --hash=sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405 \ + --hash=sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375 \ + --hash=sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a \ + --hash=sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e \ + --hash=sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc \ + --hash=sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf \ + --hash=sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185 \ + --hash=sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497 \ + --hash=sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3 \ + --hash=sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35 \ + --hash=sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c \ + --hash=sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83 \ + --hash=sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21 \ + --hash=sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca \ + --hash=sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984 \ + --hash=sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac \ + --hash=sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd \ + --hash=sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee \ + --hash=sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a \ + --hash=sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2 \ + --hash=sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192 \ + --hash=sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7 \ + --hash=sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585 \ + --hash=sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f \ + --hash=sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e \ + --hash=sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27 \ + --hash=sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b \ + --hash=sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e \ + --hash=sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e \ + --hash=sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d \ + --hash=sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c \ + --hash=sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415 \ + --hash=sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82 \ + --hash=sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02 \ + --hash=sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314 \ + --hash=sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325 \ + --hash=sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c \ + --hash=sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3 \ + --hash=sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914 \ + --hash=sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045 \ + --hash=sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d \ + --hash=sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9 \ + --hash=sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5 \ + --hash=sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2 \ + --hash=sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c \ + --hash=sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3 \ + --hash=sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2 \ + --hash=sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8 \ + --hash=sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d \ + --hash=sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d \ + --hash=sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 \ + --hash=sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162 \ + --hash=sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76 \ + --hash=sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4 \ + --hash=sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e \ + --hash=sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9 \ + --hash=sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6 \ + --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ + --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ + --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 + # via + # -r requirements.in + # cryptography +charset-normalizer==2.0.12 \ + --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ + --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df + # via requests +click==8.0.4 \ + --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ + --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb + # via + # gcp-docuploader + # gcp-releasetool +colorlog==6.7.0 \ + --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ + --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 + # via gcp-docuploader +cryptography==38.0.1 \ + --hash=sha256:0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a \ + --hash=sha256:10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f \ + --hash=sha256:16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0 \ + --hash=sha256:194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407 \ + --hash=sha256:1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7 \ + --hash=sha256:3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6 \ + --hash=sha256:3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153 \ + --hash=sha256:3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750 \ + --hash=sha256:3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad \ + --hash=sha256:5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6 \ + --hash=sha256:52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b \ + --hash=sha256:64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5 \ + --hash=sha256:765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a \ + --hash=sha256:79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d \ + --hash=sha256:896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d \ + --hash=sha256:89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294 \ + --hash=sha256:ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0 \ + --hash=sha256:ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a \ + --hash=sha256:b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac \ + --hash=sha256:b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61 \ + --hash=sha256:c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013 \ + --hash=sha256:ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e \ + --hash=sha256:d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb \ + --hash=sha256:d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9 \ + --hash=sha256:d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd \ + --hash=sha256:d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818 + # via + # gcp-releasetool + # secretstorage +gcp-docuploader==0.6.3 \ + --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ + --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b + # via -r requirements.in +gcp-releasetool==1.8.7 \ + --hash=sha256:3d2a67c9db39322194afb3b427e9cb0476ce8f2a04033695f0aeb63979fc2b37 \ + --hash=sha256:5e4d28f66e90780d77f3ecf1e9155852b0c3b13cbccb08ab07e66b2357c8da8d + # via -r requirements.in +google-api-core==2.8.2 \ + --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ + --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 + # via + # -r requirements.in + # google-cloud-core + # google-cloud-storage +google-auth==2.11.0 \ + --hash=sha256:be62acaae38d0049c21ca90f27a23847245c9f161ff54ede13af2cb6afecbac9 \ + --hash=sha256:ed65ecf9f681832298e29328e1ef0a3676e3732b2e56f41532d45f70a22de0fb + # via + # -r requirements.in + # gcp-releasetool + # google-api-core + # google-cloud-core + # google-cloud-storage +google-cloud-core==2.3.1 \ + --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ + --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 + # via + # -r requirements.in + # google-cloud-storage +google-cloud-storage==2.0.0 \ + --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ + --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 + # via + # -r requirements.in + # gcp-docuploader +google-crc32c==1.3.0 \ + --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ + --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ + --hash=sha256:12674a4c3b56b706153a358eaa1018c4137a5a04635b92b4652440d3d7386206 \ + --hash=sha256:127f9cc3ac41b6a859bd9dc4321097b1a4f6aa7fdf71b4f9227b9e3ebffb4422 \ + --hash=sha256:13af315c3a0eec8bb8b8d80b8b128cb3fcd17d7e4edafc39647846345a3f003a \ + --hash=sha256:1926fd8de0acb9d15ee757175ce7242e235482a783cd4ec711cc999fc103c24e \ + --hash=sha256:226f2f9b8e128a6ca6a9af9b9e8384f7b53a801907425c9a292553a3a7218ce0 \ + --hash=sha256:276de6273eb074a35bc598f8efbc00c7869c5cf2e29c90748fccc8c898c244df \ + --hash=sha256:318f73f5484b5671f0c7f5f63741ab020a599504ed81d209b5c7129ee4667407 \ + --hash=sha256:3bbce1be3687bbfebe29abdb7631b83e6b25da3f4e1856a1611eb21854b689ea \ + --hash=sha256:42ae4781333e331a1743445931b08ebdad73e188fd554259e772556fc4937c48 \ + --hash=sha256:58be56ae0529c664cc04a9c76e68bb92b091e0194d6e3c50bea7e0f266f73713 \ + --hash=sha256:5da2c81575cc3ccf05d9830f9e8d3c70954819ca9a63828210498c0774fda1a3 \ + --hash=sha256:6311853aa2bba4064d0c28ca54e7b50c4d48e3de04f6770f6c60ebda1e975267 \ + --hash=sha256:650e2917660e696041ab3dcd7abac160b4121cd9a484c08406f24c5964099829 \ + --hash=sha256:6a4db36f9721fdf391646685ecffa404eb986cbe007a3289499020daf72e88a2 \ + --hash=sha256:779cbf1ce375b96111db98fca913c1f5ec11b1d870e529b1dc7354b2681a8c3a \ + --hash=sha256:7f6fe42536d9dcd3e2ffb9d3053f5d05221ae3bbcefbe472bdf2c71c793e3183 \ + --hash=sha256:891f712ce54e0d631370e1f4997b3f182f3368179198efc30d477c75d1f44942 \ + --hash=sha256:95c68a4b9b7828ba0428f8f7e3109c5d476ca44996ed9a5f8aac6269296e2d59 \ + --hash=sha256:96a8918a78d5d64e07c8ea4ed2bc44354e3f93f46a4866a40e8db934e4c0d74b \ + --hash=sha256:9c3cf890c3c0ecfe1510a452a165431b5831e24160c5fcf2071f0f85ca5a47cd \ + --hash=sha256:9f58099ad7affc0754ae42e6d87443299f15d739b0ce03c76f515153a5cda06c \ + --hash=sha256:a0b9e622c3b2b8d0ce32f77eba617ab0d6768b82836391e4f8f9e2074582bf02 \ + --hash=sha256:a7f9cbea4245ee36190f85fe1814e2d7b1e5f2186381b082f5d59f99b7f11328 \ + --hash=sha256:bab4aebd525218bab4ee615786c4581952eadc16b1ff031813a2fd51f0cc7b08 \ + --hash=sha256:c124b8c8779bf2d35d9b721e52d4adb41c9bfbde45e6a3f25f0820caa9aba73f \ + --hash=sha256:c9da0a39b53d2fab3e5467329ed50e951eb91386e9d0d5b12daf593973c3b168 \ + --hash=sha256:ca60076c388728d3b6ac3846842474f4250c91efbfe5afa872d3ffd69dd4b318 \ + --hash=sha256:cb6994fff247987c66a8a4e550ef374671c2b82e3c0d2115e689d21e511a652d \ + --hash=sha256:d1c1d6236feab51200272d79b3d3e0f12cf2cbb12b208c835b175a21efdb0a73 \ + --hash=sha256:dd7760a88a8d3d705ff562aa93f8445ead54f58fd482e4f9e2bafb7e177375d4 \ + --hash=sha256:dda4d8a3bb0b50f540f6ff4b6033f3a74e8bf0bd5320b70fab2c03e512a62812 \ + --hash=sha256:e0f1ff55dde0ebcfbef027edc21f71c205845585fffe30d4ec4979416613e9b3 \ + --hash=sha256:e7a539b9be7b9c00f11ef16b55486141bc2cdb0c54762f84e3c6fc091917436d \ + --hash=sha256:eb0b14523758e37802f27b7f8cd973f5f3d33be7613952c0df904b68c4842f0e \ + --hash=sha256:ed447680ff21c14aaceb6a9f99a5f639f583ccfe4ce1a5e1d48eb41c3d6b3217 \ + --hash=sha256:f52a4ad2568314ee713715b1e2d79ab55fab11e8b304fd1462ff5cccf4264b3e \ + --hash=sha256:fbd60c6aaa07c31d7754edbc2334aef50601b7f1ada67a96eb1eb57c7c72378f \ + --hash=sha256:fc28e0db232c62ca0c3600884933178f0825c99be4474cdd645e378a10588125 \ + --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ + --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ + --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 + # via + # -r requirements.in + # google-resumable-media +google-resumable-media==2.3.3 \ + --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ + --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 + # via google-cloud-storage +googleapis-common-protos==1.56.3 \ + --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ + --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 + # via + # -r requirements.in + # google-api-core +idna==3.4 \ + --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ + --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 + # via + # -r requirements.in + # requests +importlib-metadata==4.8.3 \ + --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ + --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 + # via + # -r requirements.in + # keyring +jeepney==0.7.1 \ + --hash=sha256:1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac \ + --hash=sha256:fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f + # via + # -r requirements.in + # keyring + # secretstorage +jinja2==3.0.3 \ + --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ + --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 + # via + # -r requirements.in + # gcp-releasetool +keyring==23.4.1 \ + --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ + --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 + # via + # -r requirements.in + # gcp-releasetool +markupsafe==2.0.1 \ + --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ + --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ + --hash=sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b \ + --hash=sha256:04635854b943835a6ea959e948d19dcd311762c5c0c6e1f0e16ee57022669194 \ + --hash=sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567 \ + --hash=sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff \ + --hash=sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724 \ + --hash=sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74 \ + --hash=sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646 \ + --hash=sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35 \ + --hash=sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6 \ + --hash=sha256:20dca64a3ef2d6e4d5d615a3fd418ad3bde77a47ec8a23d984a12b5b4c74491a \ + --hash=sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6 \ + --hash=sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad \ + --hash=sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26 \ + --hash=sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38 \ + --hash=sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac \ + --hash=sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7 \ + --hash=sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6 \ + --hash=sha256:4296f2b1ce8c86a6aea78613c34bb1a672ea0e3de9c6ba08a960efe0b0a09047 \ + --hash=sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75 \ + --hash=sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f \ + --hash=sha256:4dc8f9fb58f7364b63fd9f85013b780ef83c11857ae79f2feda41e270468dd9b \ + --hash=sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135 \ + --hash=sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8 \ + --hash=sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a \ + --hash=sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a \ + --hash=sha256:5b6d930f030f8ed98e3e6c98ffa0652bdb82601e7a016ec2ab5d7ff23baa78d1 \ + --hash=sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9 \ + --hash=sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864 \ + --hash=sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914 \ + --hash=sha256:6300b8454aa6930a24b9618fbb54b5a68135092bc666f7b06901f897fa5c2fee \ + --hash=sha256:63f3268ba69ace99cab4e3e3b5840b03340efed0948ab8f78d2fd87ee5442a4f \ + --hash=sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18 \ + --hash=sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8 \ + --hash=sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2 \ + --hash=sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d \ + --hash=sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b \ + --hash=sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b \ + --hash=sha256:89c687013cb1cd489a0f0ac24febe8c7a666e6e221b783e53ac50ebf68e45d86 \ + --hash=sha256:8d206346619592c6200148b01a2142798c989edcb9c896f9ac9722a99d4e77e6 \ + --hash=sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f \ + --hash=sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb \ + --hash=sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833 \ + --hash=sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28 \ + --hash=sha256:9f02365d4e99430a12647f09b6cc8bab61a6564363f313126f775eb4f6ef798e \ + --hash=sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415 \ + --hash=sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902 \ + --hash=sha256:aca6377c0cb8a8253e493c6b451565ac77e98c2951c45f913e0b52facdcff83f \ + --hash=sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d \ + --hash=sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9 \ + --hash=sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d \ + --hash=sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145 \ + --hash=sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066 \ + --hash=sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c \ + --hash=sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1 \ + --hash=sha256:cdfba22ea2f0029c9261a4bd07e830a8da012291fbe44dc794e488b6c9bb353a \ + --hash=sha256:d6c7ebd4e944c85e2c3421e612a7057a2f48d478d79e61800d81468a8d842207 \ + --hash=sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f \ + --hash=sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53 \ + --hash=sha256:deb993cacb280823246a026e3b2d81c493c53de6acfd5e6bfe31ab3402bb37dd \ + --hash=sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134 \ + --hash=sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85 \ + --hash=sha256:f0567c4dc99f264f49fe27da5f735f414c4e7e7dd850cfd8e69f0862d7c74ea9 \ + --hash=sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5 \ + --hash=sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94 \ + --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ + --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ + --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 + # via + # -r requirements.in + # jinja2 +packaging==21.3 \ + --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ + --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 + # via + # -r requirements.in + # gcp-releasetool +protobuf==3.19.5 \ + --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ + --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ + --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ + --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ + --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ + --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ + --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ + --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ + --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ + --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ + --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ + --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ + --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ + --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ + --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ + --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ + --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ + --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ + --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ + --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ + --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ + --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ + --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ + --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ + --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ + --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de + # via + # -r requirements.in + # gcp-docuploader + # gcp-releasetool + # google-api-core + # google-cloud-storage + # googleapis-common-protos +pyasn1==0.4.8 \ + --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ + --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba + # via + # pyasn1-modules + # rsa +pyasn1-modules==0.2.8 \ + --hash=sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e \ + --hash=sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74 + # via google-auth +pycparser==2.21 \ + --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ + --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 + # via + # -r requirements.in + # cffi +pyjwt==2.4.0 \ + --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ + --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba + # via + # -r requirements.in + # gcp-releasetool +pyparsing==3.0.9 \ + --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ + --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc + # via + # -r requirements.in + # packaging +pyperclip==1.8.2 \ + --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 + # via + # -r requirements.in + # gcp-releasetool +python-dateutil==2.8.2 \ + --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ + --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 + # via + # -r requirements.in + # gcp-releasetool +requests==2.27.1 \ + --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ + --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d + # via + # -r requirements.in + # gcp-releasetool + # google-api-core + # google-cloud-storage +rsa==4.9 \ + --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ + --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 + # via + # -r requirements.in + # google-auth +secretstorage==3.3.3 \ + --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ + --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 + # via keyring +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via + # -r requirements.in + # gcp-docuploader + # google-auth + # python-dateutil +typing-extensions==4.1.1 \ + --hash=sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \ + --hash=sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2 + # via -r requirements.in +urllib3==1.26.12 \ + --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ + --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 + # via + # -r requirements.in + # requests +zipp==3.6.0 \ + --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ + --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc + # via + # -r requirements.in + # importlib-metadata diff --git a/java-core/renovate.json b/java-core/renovate.json index 8667c146d42a..443f141ae517 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -10,6 +10,7 @@ ":maintainLockFilesDisabled", ":autodetectPinVersions" ], + "ignorePaths": [".kokoro/requirements.txt"], "packageRules": [ { "packagePatterns": [ From 52d5e125bd03b59f2e210ba13cdc693349fb39c6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 26 Sep 2022 22:12:16 +0000 Subject: [PATCH 2562/3036] chore: exclude requirements.txt file from renovate-bot (#1594) (#438) Source-Link: https://github.com/googleapis/synthtool/commit/f58d3135a2fab20e225d98741dbc06d57459b816 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/release/publish_javadoc.sh | 2 +- java-iam/.kokoro/release/publish_javadoc11.sh | 2 +- java-iam/.kokoro/release/stage.sh | 3 +- java-iam/.kokoro/requirements.in | 31 ++ java-iam/.kokoro/requirements.txt | 452 ++++++++++++++++++ java-iam/renovate.json | 1 + 7 files changed, 489 insertions(+), 4 deletions(-) create mode 100644 java-iam/.kokoro/requirements.in create mode 100644 java-iam/.kokoro/requirements.txt diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 6259292301cb..42327db5e2e3 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:8175681a918181d306d9c370d3262f16b4c724cc73d74111b7d42fc985ca7f93 + digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index ab821e49c198..0196aca2c1e7 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -28,7 +28,7 @@ fi pushd $(dirname "$0")/../../ # install docuploader package -python3 -m pip install gcp-docuploader +python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index 00af26cc3654..8040a363d8be 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -28,7 +28,7 @@ fi pushd $(dirname "$0")/../../ # install docuploader package -python3 -m pip install gcp-docuploader +python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true diff --git a/java-iam/.kokoro/release/stage.sh b/java-iam/.kokoro/release/stage.sh index 1dba8de10857..61e714d6ba56 100755 --- a/java-iam/.kokoro/release/stage.sh +++ b/java-iam/.kokoro/release/stage.sh @@ -16,7 +16,8 @@ set -eo pipefail # Start the releasetool reporter -python3 -m pip install gcp-releasetool +requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt) +python3 -m pip install --require-hashes -r $requirementsFile python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script source $(dirname "$0")/common.sh diff --git a/java-iam/.kokoro/requirements.in b/java-iam/.kokoro/requirements.in new file mode 100644 index 000000000000..cfdc2e7ed955 --- /dev/null +++ b/java-iam/.kokoro/requirements.in @@ -0,0 +1,31 @@ +gcp-docuploader==0.6.3 +google-crc32c==1.3.0 +googleapis-common-protos==1.56.3 +gcp-releasetool==1.8.7 +cachetools==4.2.4 +cffi==1.15.1 +jeepney==0.7.1 +jinja2==3.0.3 +markupsafe==2.0.1 +keyring==23.4.1 +packaging==21.3 +protobuf==3.19.5 +pyjwt==2.4.0 +pyparsing==3.0.9 +pycparser==2.21 +pyperclip==1.8.2 +python-dateutil==2.8.2 +requests==2.27.1 +importlib-metadata==4.8.3 +zipp==3.6.0 +google_api_core==2.8.2 +google-cloud-storage==2.0.0 +google-cloud-core==2.3.1 +typing-extensions==4.1.1 +urllib3==1.26.12 +zipp==3.6.0 +rsa==4.9 +six==1.16.0 +attrs==22.1.0 +google-auth==2.11.0 +idna==3.4 \ No newline at end of file diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt new file mode 100644 index 000000000000..170f1c63abb7 --- /dev/null +++ b/java-iam/.kokoro/requirements.txt @@ -0,0 +1,452 @@ +# +# This file is autogenerated by pip-compile with python 3.10 +# To update, run: +# +# pip-compile --allow-unsafe --generate-hashes requirements.in +# +attrs==22.1.0 \ + --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ + --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c + # via + # -r requirements.in + # gcp-releasetool +cachetools==4.2.4 \ + --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ + --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 + # via + # -r requirements.in + # google-auth +certifi==2022.9.14 \ + --hash=sha256:36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5 \ + --hash=sha256:e232343de1ab72c2aa521b625c80f699e356830fd0e2c620b465b304b17b0516 + # via requests +cffi==1.15.1 \ + --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ + --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ + --hash=sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104 \ + --hash=sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426 \ + --hash=sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405 \ + --hash=sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375 \ + --hash=sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a \ + --hash=sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e \ + --hash=sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc \ + --hash=sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf \ + --hash=sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185 \ + --hash=sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497 \ + --hash=sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3 \ + --hash=sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35 \ + --hash=sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c \ + --hash=sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83 \ + --hash=sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21 \ + --hash=sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca \ + --hash=sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984 \ + --hash=sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac \ + --hash=sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd \ + --hash=sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee \ + --hash=sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a \ + --hash=sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2 \ + --hash=sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192 \ + --hash=sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7 \ + --hash=sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585 \ + --hash=sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f \ + --hash=sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e \ + --hash=sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27 \ + --hash=sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b \ + --hash=sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e \ + --hash=sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e \ + --hash=sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d \ + --hash=sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c \ + --hash=sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415 \ + --hash=sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82 \ + --hash=sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02 \ + --hash=sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314 \ + --hash=sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325 \ + --hash=sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c \ + --hash=sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3 \ + --hash=sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914 \ + --hash=sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045 \ + --hash=sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d \ + --hash=sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9 \ + --hash=sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5 \ + --hash=sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2 \ + --hash=sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c \ + --hash=sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3 \ + --hash=sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2 \ + --hash=sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8 \ + --hash=sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d \ + --hash=sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d \ + --hash=sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 \ + --hash=sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162 \ + --hash=sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76 \ + --hash=sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4 \ + --hash=sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e \ + --hash=sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9 \ + --hash=sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6 \ + --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ + --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ + --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 + # via + # -r requirements.in + # cryptography +charset-normalizer==2.0.12 \ + --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ + --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df + # via requests +click==8.0.4 \ + --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ + --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb + # via + # gcp-docuploader + # gcp-releasetool +colorlog==6.7.0 \ + --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ + --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 + # via gcp-docuploader +cryptography==38.0.1 \ + --hash=sha256:0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a \ + --hash=sha256:10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f \ + --hash=sha256:16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0 \ + --hash=sha256:194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407 \ + --hash=sha256:1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7 \ + --hash=sha256:3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6 \ + --hash=sha256:3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153 \ + --hash=sha256:3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750 \ + --hash=sha256:3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad \ + --hash=sha256:5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6 \ + --hash=sha256:52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b \ + --hash=sha256:64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5 \ + --hash=sha256:765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a \ + --hash=sha256:79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d \ + --hash=sha256:896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d \ + --hash=sha256:89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294 \ + --hash=sha256:ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0 \ + --hash=sha256:ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a \ + --hash=sha256:b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac \ + --hash=sha256:b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61 \ + --hash=sha256:c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013 \ + --hash=sha256:ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e \ + --hash=sha256:d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb \ + --hash=sha256:d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9 \ + --hash=sha256:d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd \ + --hash=sha256:d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818 + # via + # gcp-releasetool + # secretstorage +gcp-docuploader==0.6.3 \ + --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ + --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b + # via -r requirements.in +gcp-releasetool==1.8.7 \ + --hash=sha256:3d2a67c9db39322194afb3b427e9cb0476ce8f2a04033695f0aeb63979fc2b37 \ + --hash=sha256:5e4d28f66e90780d77f3ecf1e9155852b0c3b13cbccb08ab07e66b2357c8da8d + # via -r requirements.in +google-api-core==2.8.2 \ + --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ + --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 + # via + # -r requirements.in + # google-cloud-core + # google-cloud-storage +google-auth==2.11.0 \ + --hash=sha256:be62acaae38d0049c21ca90f27a23847245c9f161ff54ede13af2cb6afecbac9 \ + --hash=sha256:ed65ecf9f681832298e29328e1ef0a3676e3732b2e56f41532d45f70a22de0fb + # via + # -r requirements.in + # gcp-releasetool + # google-api-core + # google-cloud-core + # google-cloud-storage +google-cloud-core==2.3.1 \ + --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ + --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 + # via + # -r requirements.in + # google-cloud-storage +google-cloud-storage==2.0.0 \ + --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ + --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 + # via + # -r requirements.in + # gcp-docuploader +google-crc32c==1.3.0 \ + --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ + --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ + --hash=sha256:12674a4c3b56b706153a358eaa1018c4137a5a04635b92b4652440d3d7386206 \ + --hash=sha256:127f9cc3ac41b6a859bd9dc4321097b1a4f6aa7fdf71b4f9227b9e3ebffb4422 \ + --hash=sha256:13af315c3a0eec8bb8b8d80b8b128cb3fcd17d7e4edafc39647846345a3f003a \ + --hash=sha256:1926fd8de0acb9d15ee757175ce7242e235482a783cd4ec711cc999fc103c24e \ + --hash=sha256:226f2f9b8e128a6ca6a9af9b9e8384f7b53a801907425c9a292553a3a7218ce0 \ + --hash=sha256:276de6273eb074a35bc598f8efbc00c7869c5cf2e29c90748fccc8c898c244df \ + --hash=sha256:318f73f5484b5671f0c7f5f63741ab020a599504ed81d209b5c7129ee4667407 \ + --hash=sha256:3bbce1be3687bbfebe29abdb7631b83e6b25da3f4e1856a1611eb21854b689ea \ + --hash=sha256:42ae4781333e331a1743445931b08ebdad73e188fd554259e772556fc4937c48 \ + --hash=sha256:58be56ae0529c664cc04a9c76e68bb92b091e0194d6e3c50bea7e0f266f73713 \ + --hash=sha256:5da2c81575cc3ccf05d9830f9e8d3c70954819ca9a63828210498c0774fda1a3 \ + --hash=sha256:6311853aa2bba4064d0c28ca54e7b50c4d48e3de04f6770f6c60ebda1e975267 \ + --hash=sha256:650e2917660e696041ab3dcd7abac160b4121cd9a484c08406f24c5964099829 \ + --hash=sha256:6a4db36f9721fdf391646685ecffa404eb986cbe007a3289499020daf72e88a2 \ + --hash=sha256:779cbf1ce375b96111db98fca913c1f5ec11b1d870e529b1dc7354b2681a8c3a \ + --hash=sha256:7f6fe42536d9dcd3e2ffb9d3053f5d05221ae3bbcefbe472bdf2c71c793e3183 \ + --hash=sha256:891f712ce54e0d631370e1f4997b3f182f3368179198efc30d477c75d1f44942 \ + --hash=sha256:95c68a4b9b7828ba0428f8f7e3109c5d476ca44996ed9a5f8aac6269296e2d59 \ + --hash=sha256:96a8918a78d5d64e07c8ea4ed2bc44354e3f93f46a4866a40e8db934e4c0d74b \ + --hash=sha256:9c3cf890c3c0ecfe1510a452a165431b5831e24160c5fcf2071f0f85ca5a47cd \ + --hash=sha256:9f58099ad7affc0754ae42e6d87443299f15d739b0ce03c76f515153a5cda06c \ + --hash=sha256:a0b9e622c3b2b8d0ce32f77eba617ab0d6768b82836391e4f8f9e2074582bf02 \ + --hash=sha256:a7f9cbea4245ee36190f85fe1814e2d7b1e5f2186381b082f5d59f99b7f11328 \ + --hash=sha256:bab4aebd525218bab4ee615786c4581952eadc16b1ff031813a2fd51f0cc7b08 \ + --hash=sha256:c124b8c8779bf2d35d9b721e52d4adb41c9bfbde45e6a3f25f0820caa9aba73f \ + --hash=sha256:c9da0a39b53d2fab3e5467329ed50e951eb91386e9d0d5b12daf593973c3b168 \ + --hash=sha256:ca60076c388728d3b6ac3846842474f4250c91efbfe5afa872d3ffd69dd4b318 \ + --hash=sha256:cb6994fff247987c66a8a4e550ef374671c2b82e3c0d2115e689d21e511a652d \ + --hash=sha256:d1c1d6236feab51200272d79b3d3e0f12cf2cbb12b208c835b175a21efdb0a73 \ + --hash=sha256:dd7760a88a8d3d705ff562aa93f8445ead54f58fd482e4f9e2bafb7e177375d4 \ + --hash=sha256:dda4d8a3bb0b50f540f6ff4b6033f3a74e8bf0bd5320b70fab2c03e512a62812 \ + --hash=sha256:e0f1ff55dde0ebcfbef027edc21f71c205845585fffe30d4ec4979416613e9b3 \ + --hash=sha256:e7a539b9be7b9c00f11ef16b55486141bc2cdb0c54762f84e3c6fc091917436d \ + --hash=sha256:eb0b14523758e37802f27b7f8cd973f5f3d33be7613952c0df904b68c4842f0e \ + --hash=sha256:ed447680ff21c14aaceb6a9f99a5f639f583ccfe4ce1a5e1d48eb41c3d6b3217 \ + --hash=sha256:f52a4ad2568314ee713715b1e2d79ab55fab11e8b304fd1462ff5cccf4264b3e \ + --hash=sha256:fbd60c6aaa07c31d7754edbc2334aef50601b7f1ada67a96eb1eb57c7c72378f \ + --hash=sha256:fc28e0db232c62ca0c3600884933178f0825c99be4474cdd645e378a10588125 \ + --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ + --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ + --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 + # via + # -r requirements.in + # google-resumable-media +google-resumable-media==2.3.3 \ + --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ + --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 + # via google-cloud-storage +googleapis-common-protos==1.56.3 \ + --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ + --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 + # via + # -r requirements.in + # google-api-core +idna==3.4 \ + --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ + --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 + # via + # -r requirements.in + # requests +importlib-metadata==4.8.3 \ + --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ + --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 + # via + # -r requirements.in + # keyring +jeepney==0.7.1 \ + --hash=sha256:1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac \ + --hash=sha256:fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f + # via + # -r requirements.in + # keyring + # secretstorage +jinja2==3.0.3 \ + --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ + --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 + # via + # -r requirements.in + # gcp-releasetool +keyring==23.4.1 \ + --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ + --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 + # via + # -r requirements.in + # gcp-releasetool +markupsafe==2.0.1 \ + --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ + --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ + --hash=sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b \ + --hash=sha256:04635854b943835a6ea959e948d19dcd311762c5c0c6e1f0e16ee57022669194 \ + --hash=sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567 \ + --hash=sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff \ + --hash=sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724 \ + --hash=sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74 \ + --hash=sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646 \ + --hash=sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35 \ + --hash=sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6 \ + --hash=sha256:20dca64a3ef2d6e4d5d615a3fd418ad3bde77a47ec8a23d984a12b5b4c74491a \ + --hash=sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6 \ + --hash=sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad \ + --hash=sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26 \ + --hash=sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38 \ + --hash=sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac \ + --hash=sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7 \ + --hash=sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6 \ + --hash=sha256:4296f2b1ce8c86a6aea78613c34bb1a672ea0e3de9c6ba08a960efe0b0a09047 \ + --hash=sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75 \ + --hash=sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f \ + --hash=sha256:4dc8f9fb58f7364b63fd9f85013b780ef83c11857ae79f2feda41e270468dd9b \ + --hash=sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135 \ + --hash=sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8 \ + --hash=sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a \ + --hash=sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a \ + --hash=sha256:5b6d930f030f8ed98e3e6c98ffa0652bdb82601e7a016ec2ab5d7ff23baa78d1 \ + --hash=sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9 \ + --hash=sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864 \ + --hash=sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914 \ + --hash=sha256:6300b8454aa6930a24b9618fbb54b5a68135092bc666f7b06901f897fa5c2fee \ + --hash=sha256:63f3268ba69ace99cab4e3e3b5840b03340efed0948ab8f78d2fd87ee5442a4f \ + --hash=sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18 \ + --hash=sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8 \ + --hash=sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2 \ + --hash=sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d \ + --hash=sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b \ + --hash=sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b \ + --hash=sha256:89c687013cb1cd489a0f0ac24febe8c7a666e6e221b783e53ac50ebf68e45d86 \ + --hash=sha256:8d206346619592c6200148b01a2142798c989edcb9c896f9ac9722a99d4e77e6 \ + --hash=sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f \ + --hash=sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb \ + --hash=sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833 \ + --hash=sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28 \ + --hash=sha256:9f02365d4e99430a12647f09b6cc8bab61a6564363f313126f775eb4f6ef798e \ + --hash=sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415 \ + --hash=sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902 \ + --hash=sha256:aca6377c0cb8a8253e493c6b451565ac77e98c2951c45f913e0b52facdcff83f \ + --hash=sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d \ + --hash=sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9 \ + --hash=sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d \ + --hash=sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145 \ + --hash=sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066 \ + --hash=sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c \ + --hash=sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1 \ + --hash=sha256:cdfba22ea2f0029c9261a4bd07e830a8da012291fbe44dc794e488b6c9bb353a \ + --hash=sha256:d6c7ebd4e944c85e2c3421e612a7057a2f48d478d79e61800d81468a8d842207 \ + --hash=sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f \ + --hash=sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53 \ + --hash=sha256:deb993cacb280823246a026e3b2d81c493c53de6acfd5e6bfe31ab3402bb37dd \ + --hash=sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134 \ + --hash=sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85 \ + --hash=sha256:f0567c4dc99f264f49fe27da5f735f414c4e7e7dd850cfd8e69f0862d7c74ea9 \ + --hash=sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5 \ + --hash=sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94 \ + --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ + --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ + --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 + # via + # -r requirements.in + # jinja2 +packaging==21.3 \ + --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ + --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 + # via + # -r requirements.in + # gcp-releasetool +protobuf==3.19.5 \ + --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ + --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ + --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ + --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ + --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ + --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ + --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ + --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ + --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ + --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ + --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ + --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ + --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ + --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ + --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ + --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ + --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ + --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ + --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ + --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ + --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ + --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ + --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ + --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ + --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ + --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de + # via + # -r requirements.in + # gcp-docuploader + # gcp-releasetool + # google-api-core + # google-cloud-storage + # googleapis-common-protos +pyasn1==0.4.8 \ + --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ + --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba + # via + # pyasn1-modules + # rsa +pyasn1-modules==0.2.8 \ + --hash=sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e \ + --hash=sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74 + # via google-auth +pycparser==2.21 \ + --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ + --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 + # via + # -r requirements.in + # cffi +pyjwt==2.4.0 \ + --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ + --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba + # via + # -r requirements.in + # gcp-releasetool +pyparsing==3.0.9 \ + --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ + --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc + # via + # -r requirements.in + # packaging +pyperclip==1.8.2 \ + --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 + # via + # -r requirements.in + # gcp-releasetool +python-dateutil==2.8.2 \ + --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ + --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 + # via + # -r requirements.in + # gcp-releasetool +requests==2.27.1 \ + --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ + --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d + # via + # -r requirements.in + # gcp-releasetool + # google-api-core + # google-cloud-storage +rsa==4.9 \ + --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ + --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 + # via + # -r requirements.in + # google-auth +secretstorage==3.3.3 \ + --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ + --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 + # via keyring +six==1.16.0 \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 + # via + # -r requirements.in + # gcp-docuploader + # google-auth + # python-dateutil +typing-extensions==4.1.1 \ + --hash=sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \ + --hash=sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2 + # via -r requirements.in +urllib3==1.26.12 \ + --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ + --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 + # via + # -r requirements.in + # requests +zipp==3.6.0 \ + --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ + --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc + # via + # -r requirements.in + # importlib-metadata diff --git a/java-iam/renovate.json b/java-iam/renovate.json index 0d9e4a627715..c52f7a39b716 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -10,6 +10,7 @@ ":maintainLockFilesDisabled", ":autodetectPinVersions" ], + "ignorePaths": [".kokoro/requirements.txt"], "packageRules": [ { "packagePatterns": [ From 6d04bef8689e87a7505ecb18e556b7d55a05d649 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Sep 2022 17:20:32 +0200 Subject: [PATCH 2563/3036] deps: update google.core.version to v2.8.16 (#810) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.15` -> `2.8.16` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/compatibility-slim/2.8.15)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.16/confidence-slim/2.8.15)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.15` -> `2.8.16` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.16/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.16/compatibility-slim/2.8.15)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.16/confidence-slim/2.8.15)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.16`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2816-httpsgithubcomgoogleapisjava-corecomparev2815v2816-2022-09-26) ##### Dependencies - Update dependency org.threeten:threetenbp to v1.6.2 ([#​929](https://togithub.com/googleapis/java-core/issues/929)) ([2f797f9](https://togithub.com/googleapis/java-core/commit/2f797f990eacc112dd982e7a8f9155bc229b7bf3))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c9dd2e66b77e..a84e8042dd56 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.6 2.2.1 2.9.3 - 2.8.15 + 2.8.16 1.11.0 1.42.2 1.34.1 From 7ebbe69360ffd40710e9489c59593708f224efc3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 01:02:38 +0000 Subject: [PATCH 2564/3036] chore: exclude requirements.txt file from renovate-bot (#1594) (#811) Source-Link: https://github.com/googleapis/synthtool/commit/f58d3135a2fab20e225d98741dbc06d57459b816 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 791e842d2f88..42327db5e2e3 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 + digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 From f8e340f3b1944db7ee773971382895879b4d0b3c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 01:40:18 +0000 Subject: [PATCH 2565/3036] chore: pin versions of dependencies for compatibility with Python 3.6 (#1588) (#932) * chore: pin versions of dependencies for compatibility with Python 3.6 * fix path of requirements file in synthtool Source-Link: https://github.com/googleapis/synthtool/commit/69cdb47824170d0b02bf694649ce66613c889040 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 --- java-core/.github/.OwlBot.lock.yaml | 3 ++- java-core/renovate.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 42327db5e2e3..0a5cae5afcc3 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 + digest: sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 + diff --git a/java-core/renovate.json b/java-core/renovate.json index 443f141ae517..8667c146d42a 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -10,7 +10,6 @@ ":maintainLockFilesDisabled", ":autodetectPinVersions" ], - "ignorePaths": [".kokoro/requirements.txt"], "packageRules": [ { "packagePatterns": [ From d2df74f6f456acbcccee7120b0ab164f73b8af93 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 06:32:13 +0200 Subject: [PATCH 2566/3036] deps: update dependency protobuf to v4 (#817) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==4.21.6` | [![age](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/compatibility-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/confidence-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 74ee8f75795091303236322e6c090a6a2b3f30e5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 06:32:26 +0200 Subject: [PATCH 2567/3036] deps: update dependency zipp to v3.8.1 (#815) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [zipp](https://togithub.com/jaraco/zipp) | `==3.6.0` -> `==3.8.1` | [![age](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/compatibility-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/confidence-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    jaraco/zipp ### [`v3.8.1`](https://togithub.com/jaraco/zipp/blob/HEAD/CHANGES.rst#v381) [Compare Source](https://togithub.com/jaraco/zipp/compare/v3.8.0...v3.8.1) \====== Refreshed packaging. Enrolled with Tidelift. ### [`v3.8.0`](https://togithub.com/jaraco/zipp/blob/HEAD/CHANGES.rst#v380) [Compare Source](https://togithub.com/jaraco/zipp/compare/v3.7.0...v3.8.0) \====== Removed compatibility code. ### [`v3.7.0`](https://togithub.com/jaraco/zipp/blob/HEAD/CHANGES.rst#v370) [Compare Source](https://togithub.com/jaraco/zipp/compare/v3.6.0...v3.7.0) \====== Require Python 3.7 or later.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From eb8b96b916281aad8f330eb506a7d4be420c4263 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 06:38:30 +0200 Subject: [PATCH 2568/3036] deps: update dependency typing-extensions to v4.3.0 (#814) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typing-extensions](https://togithub.com/python/typing_extensions) ([changelog](https://togithub.com/python/typing_extensions/blob/main/CHANGELOG.md)) | `==4.1.1` -> `==4.3.0` | [![age](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/compatibility-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/confidence-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 843953365e464c72aa62df1a512a0ca6086a1c37 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 06:48:29 +0200 Subject: [PATCH 2569/3036] deps: update dependency pyjwt to v2.5.0 (#812) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pyjwt](https://togithub.com/jpadilla/pyjwt) | `==2.4.0` -> `==2.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From bd2569c8c26e177a83cbcf8ed63fed1c3fce2c4b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 06:58:20 +0200 Subject: [PATCH 2570/3036] deps: update dependency cachetools to v5 (#816) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cachetools](https://togithub.com/tkem/cachetools) | `==4.2.4` -> `==5.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/compatibility-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/confidence-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From de1d896da6d7dcaedb520117d675290826d23505 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 07:24:23 +0200 Subject: [PATCH 2571/3036] deps: update dependency requests to v2.28.1 (#813) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [requests](https://requests.readthedocs.io) ([source](https://togithub.com/psf/requests), [changelog](https://togithub.com/psf/requests/blob/master/HISTORY.md)) | `==2.27.1` -> `==2.28.1` | [![age](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/compatibility-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/confidence-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 6abe579979da1cebe1d5b04a51f1ba25cf01481f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:34:27 +0200 Subject: [PATCH 2572/3036] deps: update dependency importlib-metadata to v4.12.0 (#951) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [importlib-metadata](https://togithub.com/python/importlib_metadata) | `==4.8.3` -> `==4.12.0` | [![age](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/compatibility-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/confidence-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    python/importlib_metadata ### [`v4.12.0`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4120) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.11.4...v4.12.0) \======= - py-93259: Now raise `ValueError` when `None` or an empty string are passed to `Distribution.from_name` (and other callers). ### [`v4.11.4`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4114) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.11.3...v4.11.4) \======= - [#​379](https://togithub.com/python/importlib_metadata/issues/379): In `PathDistribution._name_from_stem`, avoid including parts of the extension in the result. - [#​381](https://togithub.com/python/importlib_metadata/issues/381): In `PathDistribution._normalized_name`, ensure names loaded from the stem of the filename are also normalized, ensuring duplicate entry points by packages varying only by non-normalized name are hidden. ### [`v4.11.3`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4113) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.11.2...v4.11.3) \======= - [#​372](https://togithub.com/python/importlib_metadata/issues/372): Removed cast of path items in FastPath, not needed. ### [`v4.11.2`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4112) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.11.1...v4.11.2) \======= - [#​369](https://togithub.com/python/importlib_metadata/issues/369): Fixed bug where `EntryPoint.extras` was returning match objects and not the extras strings. ### [`v4.11.1`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4111) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.11.0...v4.11.1) \======= - [#​367](https://togithub.com/python/importlib_metadata/issues/367): In `Distribution.requires` for egg-info, if `requires.txt` is empty, return an empty list. ### [`v4.11.0`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4110) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.10.1...v4.11.0) \======= - bpo-46246: Added `__slots__` to `EntryPoints`. ### [`v4.10.1`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4101) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.10.0...v4.10.1) \======= ### [`v4.10.0`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v4100) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.9.0...v4.10.0) \======= - [#​354](https://togithub.com/python/importlib_metadata/issues/354): Removed `Distribution._local` factory. This functionality was created as a demonstration of the possible implementation. Now, the `pep517 `\_ package provides this functionality directly through `pep517.meta.load `\_. ### [`v4.9.0`](https://togithub.com/python/importlib_metadata/blob/HEAD/CHANGES.rst#v490) [Compare Source](https://togithub.com/python/importlib_metadata/compare/v4.8.3...v4.9.0) \====== - Require Python 3.7 or later.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 6dfb0d8787a84b7f8cd4ef17880d48d1be1ce52d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:36:32 +0200 Subject: [PATCH 2573/3036] deps: update dependency zipp to v3.8.1 (#942) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [zipp](https://togithub.com/jaraco/zipp) | `==3.6.0` -> `==3.8.1` | [![age](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/compatibility-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/confidence-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From b17765b5e897bcef60aeef56ed2524b418f73b65 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:36:37 +0200 Subject: [PATCH 2574/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 (#439) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220911-2.0.0` -> `v3-rev20220925-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/compatibility-slim/v3-rev20220911-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20220925-2.0.0/confidence-slim/v3-rev20220911-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 34035349a91e..4c4ddf756578 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220911-2.0.0 + v3-rev20220925-2.0.0 com.google.auth From 0f99ae17869f2ecdf76c1534f5581fc76834057e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:38:14 +0200 Subject: [PATCH 2575/3036] deps: update dependency gcp-releasetool to v1.8.8 (#935) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | gcp-releasetool | `==1.8.7` -> `==1.8.8` | [![age](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/compatibility-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/confidence-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 6a93716f6f161ced9a08840037bbfe7bfeee0814 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:40:14 +0200 Subject: [PATCH 2576/3036] deps: update dependency markupsafe to v2.1.1 (#829) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [markupsafe](https://palletsprojects.com/p/markupsafe/) ([changelog](https://markupsafe.palletsprojects.com/changes/)) | `==2.0.1` -> `==2.1.1` | [![age](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/compatibility-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/confidence-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From fb1aea6d9772d8b0eb5302477334467618104a5f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:40:23 +0200 Subject: [PATCH 2577/3036] deps: update dependency protobuf to v3.20.2 (#956) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==3.20.2` | [![age](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/compatibility-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/confidence-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 6edc6e386d42a8587927f90ba06d923ff66eca7b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:40:24 +0200 Subject: [PATCH 2578/3036] deps: update dependency google-cloud-storage to v2.5.0 (#949) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-storage](https://togithub.com/googleapis/python-storage) | `==2.0.0` -> `==2.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/compatibility-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/confidence-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 05fe31f1a781645d0f439af93938a8aa19032f11 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:42:23 +0200 Subject: [PATCH 2579/3036] deps: update dependency click to v8.1.3 (#946) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [click](https://palletsprojects.com/p/click/) ([changelog](https://click.palletsprojects.com/changes/)) | `==8.0.4` -> `==8.1.3` | [![age](https://badges.renovateapi.com/packages/pypi/click/8.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/click/8.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/click/8.1.3/compatibility-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/click/8.1.3/confidence-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From cbca860ae78c7ddf4541ed8b7c057710299162a8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:42:27 +0200 Subject: [PATCH 2580/3036] deps: update dependency google-auth to v2.12.0 (#825) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-auth](https://togithub.com/googleapis/google-auth-library-python) | `==2.11.0` -> `==2.12.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/compatibility-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/confidence-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 6a392e819a976b6ae4df092bedb1342d78f7ef37 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:42:37 +0200 Subject: [PATCH 2581/3036] deps: update dependency jeepney to v0.8.0 (#952) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jeepney](https://gitlab.com/takluyver/jeepney) | `==0.7.1` -> `==0.8.0` | [![age](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/compatibility-slim/0.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/confidence-slim/0.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 49d64234d57d99c07689d0dd66697bb94d69e958 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:46:18 +0200 Subject: [PATCH 2582/3036] deps: update dependency googleapis-common-protos to v1.56.4 (#821) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [googleapis-common-protos](https://togithub.com/googleapis/python-api-common-protos) | `==1.56.3` -> `==1.56.4` | [![age](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/compatibility-slim/1.56.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/confidence-slim/1.56.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 18a54a793172e246e596bd71dc28cbfc556abd2e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:46:18 +0200 Subject: [PATCH 2583/3036] deps: update dependency jinja2 to v3.1.2 (#953) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jinja2](https://palletsprojects.com/p/jinja/) ([changelog](https://jinja.palletsprojects.com/changes/)) | `==3.0.3` -> `==3.1.2` | [![age](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/compatibility-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/confidence-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 544c20f9b45fc42ba6b0071153c05034ea08ddc3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:48:13 +0200 Subject: [PATCH 2584/3036] deps: update dependency protobuf to v3.20.2 (#830) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==3.20.2` | [![age](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/compatibility-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/confidence-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 8fed728e6c84c8cade5bb24a827c558345149cff Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:50:23 +0200 Subject: [PATCH 2585/3036] deps: update dependency keyring to v23.9.3 (#828) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [keyring](https://togithub.com/jaraco/keyring) | `==23.4.1` -> `==23.9.3` | [![age](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/compatibility-slim/23.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/confidence-slim/23.4.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From b22a2b10a8bada52f1bedc6922e0899a3f95a80f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:50:23 +0200 Subject: [PATCH 2586/3036] deps: update dependency googleapis-common-protos to v1.56.4 (#937) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [googleapis-common-protos](https://togithub.com/googleapis/python-api-common-protos) | `==1.56.3` -> `==1.56.4` | [![age](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/compatibility-slim/1.56.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/confidence-slim/1.56.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 5fd7983489b971344e64010c7cfef0a2f60be667 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:52:18 +0200 Subject: [PATCH 2587/3036] deps: update dependency google-cloud-storage to v2.5.0 (#826) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-storage](https://togithub.com/googleapis/python-storage) | `==2.0.0` -> `==2.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/compatibility-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/confidence-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 5c998e4d05d47882743cdb5a871a6af728b9d920 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:52:29 +0200 Subject: [PATCH 2588/3036] deps: update dependency charset-normalizer to v2.1.1 (#822) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [charset-normalizer](https://togithub.com/ousret/charset_normalizer) | `==2.0.12` -> `==2.1.1` | [![age](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/compatibility-slim/2.0.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/confidence-slim/2.0.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From ec195e36c674a98dd857e493b65462604f762426 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:52:34 +0200 Subject: [PATCH 2589/3036] deps: update dependency requests to v2.28.1 (#940) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [requests](https://requests.readthedocs.io) ([source](https://togithub.com/psf/requests), [changelog](https://togithub.com/psf/requests/blob/master/HISTORY.md)) | `==2.27.1` -> `==2.28.1` | [![age](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/compatibility-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/confidence-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From bfef3b0cf05bc200e707dfbf0330d672d824004c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:52:39 +0200 Subject: [PATCH 2590/3036] deps: update dependency gcp-releasetool to v1.8.8 (#819) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | gcp-releasetool | `==1.8.7` -> `==1.8.8` | [![age](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/compatibility-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/confidence-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 5ceabaa719dfa6cf428e6fcfa2912978e27c11cc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:52:44 +0200 Subject: [PATCH 2591/3036] deps: update dependency keyring to v23.9.3 (#954) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [keyring](https://togithub.com/jaraco/keyring) | `==23.4.1` -> `==23.9.3` | [![age](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/compatibility-slim/23.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/keyring/23.9.3/confidence-slim/23.4.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From b6e1904306dedeba80c96dbe555ca59c940b7245 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:54:12 +0200 Subject: [PATCH 2592/3036] deps: update dependency certifi to v2022.9.24 (#934) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [certifi](https://togithub.com/certifi/python-certifi) | `==2022.9.14` -> `==2022.9.24` | [![age](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/compatibility-slim/2022.9.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/confidence-slim/2022.9.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 5406a0ca7e4e2b47f87a39c0fc696fbfd7a6a196 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:54:13 +0200 Subject: [PATCH 2593/3036] deps: update dependency certifi to v2022.9.24 (#818) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [certifi](https://togithub.com/certifi/python-certifi) | `==2022.9.14` -> `==2022.9.24` | [![age](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/compatibility-slim/2022.9.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/confidence-slim/2022.9.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 3ebff6f4955d323709744bb0dcd2029f49c2f96e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:54:22 +0200 Subject: [PATCH 2594/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.9.4 (#945) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.3` -> `2.9.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.4/compatibility-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.4/confidence-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.4`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​294-httpsgithubcomgoogleapisjava-common-protoscomparev293v294-2022-09-28) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.3...v2.9.4) ##### Dependencies - Update dependency certifi to v2022.9.24 ([#​418](https://togithub.com/googleapis/java-common-protos/issues/418)) ([40f5dec](https://togithub.com/googleapis/java-common-protos/commit/40f5decf9cab5294b1e3d7622fd15beb6c5f34c5)) - Update dependency charset-normalizer to v2.1.1 ([#​420](https://togithub.com/googleapis/java-common-protos/issues/420)) ([db48320](https://togithub.com/googleapis/java-common-protos/commit/db48320fb793522eb57dddab71576b6851d09bf4)) - Update dependency googleapis-common-protos to v1.56.4 ([#​419](https://togithub.com/googleapis/java-common-protos/issues/419)) ([ca70ae5](https://togithub.com/googleapis/java-common-protos/commit/ca70ae5b1d7f9c2d3f2a631074acd7e80873f552))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2ca50fe2d4ae..645deaab9e7b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.19.1 2.2.1 - 2.9.3 + 2.9.4 1.6.1 1.11.0 2.0.0 From 1a5d233efa85f1dbd3aa272d2d305d24a35a7576 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:58:23 +0200 Subject: [PATCH 2595/3036] deps: update dependency google-api-core to v2.10.1 (#824) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-api-core](https://togithub.com/googleapis/python-api-core) | `==2.8.2` -> `==2.10.1` | [![age](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From f64e9bf71c05f73d1896161247f2fc3520d67cf6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 16:58:36 +0200 Subject: [PATCH 2596/3036] deps: update dependency markupsafe to v2.1.1 (#955) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [markupsafe](https://palletsprojects.com/p/markupsafe/) ([changelog](https://markupsafe.palletsprojects.com/changes/)) | `==2.0.1` -> `==2.1.1` | [![age](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/compatibility-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/confidence-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 2ad211abb259b0fc225303f695a2f0399e19cd66 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:02:33 +0200 Subject: [PATCH 2597/3036] deps: update dependency click to v8.1.3 (#823) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [click](https://palletsprojects.com/p/click/) ([changelog](https://click.palletsprojects.com/changes/)) | `==8.0.4` -> `==8.1.3` | [![age](https://badges.renovateapi.com/packages/pypi/click/8.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/click/8.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/click/8.1.3/compatibility-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/click/8.1.3/confidence-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From ee9e013106173cefbc10563d5d51dd906997c658 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:04:32 +0200 Subject: [PATCH 2598/3036] deps: update dependency google-crc32c to v1.5.0 (#827) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-crc32c](https://togithub.com/googleapis/python-crc32c) | `==1.3.0` -> `==1.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From dedddfea987001bdb21fb61162eb743f4247fe05 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:04:47 +0200 Subject: [PATCH 2599/3036] deps: update dependency google-api-core to v2.10.1 (#947) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-api-core](https://togithub.com/googleapis/python-api-core) | `==2.8.2` -> `==2.10.1` | [![age](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 67e53aa118b03903ea6cb2a46d7f9b1fdc0b8437 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:08:13 +0200 Subject: [PATCH 2600/3036] deps: update dependency google-auth to v2.12.0 (#948) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-auth](https://togithub.com/googleapis/google-auth-library-python) | `==2.11.0` -> `==2.12.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/compatibility-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/confidence-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From ac43d61064547d50bddfde0474474ce76af883fd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:08:32 +0200 Subject: [PATCH 2601/3036] deps: update dependency charset-normalizer to v2.1.1 (#938) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [charset-normalizer](https://togithub.com/ousret/charset_normalizer) | `==2.0.12` -> `==2.1.1` | [![age](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/compatibility-slim/2.0.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/confidence-slim/2.0.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 6b02535c5320ff252a4431b5bf0614d3ca382aab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:10:20 +0200 Subject: [PATCH 2602/3036] deps: update dependency protobuf to v4 (#944) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==4.21.6` | [![age](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/compatibility-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/confidence-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 1406c09dc0ee04d62052a76dd4b800d383a62aa2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:10:25 +0200 Subject: [PATCH 2603/3036] deps: update dependency cachetools to v5 (#943) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cachetools](https://togithub.com/tkem/cachetools) | `==4.2.4` -> `==5.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/compatibility-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/confidence-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 0dda0a223bafd8dddf5d44c19f2e7aad8e1cdf41 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:10:29 +0200 Subject: [PATCH 2604/3036] deps: update dependency google-crc32c to v1.5.0 (#950) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-crc32c](https://togithub.com/googleapis/python-crc32c) | `==1.3.0` -> `==1.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From cc8ba461f2fa6af2ee99d0e17a36e8f6106cd3b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:10:34 +0200 Subject: [PATCH 2605/3036] deps: update dependency pyjwt to v2.5.0 (#939) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pyjwt](https://togithub.com/jpadilla/pyjwt) | `==2.4.0` -> `==2.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 65a1310f50ce6914a67cb5e0e4d258f9f4466f11 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:14:13 +0200 Subject: [PATCH 2606/3036] deps: update dependency google-cloud-core to v2.3.2 (#820) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-core](https://togithub.com/googleapis/python-cloud-core) | `==2.3.1` -> `==2.3.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 4c414e954444284bae5429537e8ff230d993a499 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:16:15 +0200 Subject: [PATCH 2607/3036] deps: update dependency typing-extensions to v4.3.0 (#941) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typing-extensions](https://togithub.com/python/typing_extensions) ([changelog](https://togithub.com/python/typing_extensions/blob/main/CHANGELOG.md)) | `==4.1.1` -> `==4.3.0` | [![age](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/compatibility-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/confidence-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From a0d2e3ee0c7e7a2076836689fb58e4ac4837374d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 28 Sep 2022 17:36:21 +0200 Subject: [PATCH 2608/3036] deps: update dependency google-cloud-core to v2.3.2 (#936) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-core](https://togithub.com/googleapis/python-cloud-core) | `==2.3.1` -> `==2.3.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). From 61191f3e34a220d4f87c26a87f1d21a8b7d0213c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 16:40:17 +0000 Subject: [PATCH 2609/3036] chore(main): release 2.8.17 (#957) :robot: I have created a release *beep* *boop* --- ## [2.8.17](https://github.com/googleapis/java-core/compare/v2.8.16...v2.8.17) (2022-09-28) ### Dependencies * Update dependency cachetools to v5 ([#943](https://github.com/googleapis/java-core/issues/943)) ([1406c09](https://github.com/googleapis/java-core/commit/1406c09dc0ee04d62052a76dd4b800d383a62aa2)) * Update dependency certifi to v2022.9.24 ([#934](https://github.com/googleapis/java-core/issues/934)) ([b6e1904](https://github.com/googleapis/java-core/commit/b6e1904306dedeba80c96dbe555ca59c940b7245)) * Update dependency charset-normalizer to v2.1.1 ([#938](https://github.com/googleapis/java-core/issues/938)) ([ac43d61](https://github.com/googleapis/java-core/commit/ac43d61064547d50bddfde0474474ce76af883fd)) * Update dependency click to v8.1.3 ([#946](https://github.com/googleapis/java-core/issues/946)) ([05fe31f](https://github.com/googleapis/java-core/commit/05fe31f1a781645d0f439af93938a8aa19032f11)) * Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.4 ([#945](https://github.com/googleapis/java-core/issues/945)) ([3ebff6f](https://github.com/googleapis/java-core/commit/3ebff6f4955d323709744bb0dcd2029f49c2f96e)) * Update dependency gcp-releasetool to v1.8.8 ([#935](https://github.com/googleapis/java-core/issues/935)) ([0f99ae1](https://github.com/googleapis/java-core/commit/0f99ae17869f2ecdf76c1534f5581fc76834057e)) * Update dependency google-api-core to v2.10.1 ([#947](https://github.com/googleapis/java-core/issues/947)) ([dedddfe](https://github.com/googleapis/java-core/commit/dedddfea987001bdb21fb61162eb743f4247fe05)) * Update dependency google-auth to v2.12.0 ([#948](https://github.com/googleapis/java-core/issues/948)) ([67e53aa](https://github.com/googleapis/java-core/commit/67e53aa118b03903ea6cb2a46d7f9b1fdc0b8437)) * Update dependency google-cloud-core to v2.3.2 ([#936](https://github.com/googleapis/java-core/issues/936)) ([a0d2e3e](https://github.com/googleapis/java-core/commit/a0d2e3ee0c7e7a2076836689fb58e4ac4837374d)) * Update dependency google-cloud-storage to v2.5.0 ([#949](https://github.com/googleapis/java-core/issues/949)) ([6edc6e3](https://github.com/googleapis/java-core/commit/6edc6e386d42a8587927f90ba06d923ff66eca7b)) * Update dependency google-crc32c to v1.5.0 ([#950](https://github.com/googleapis/java-core/issues/950)) ([0dda0a2](https://github.com/googleapis/java-core/commit/0dda0a223bafd8dddf5d44c19f2e7aad8e1cdf41)) * Update dependency googleapis-common-protos to v1.56.4 ([#937](https://github.com/googleapis/java-core/issues/937)) ([b22a2b1](https://github.com/googleapis/java-core/commit/b22a2b10a8bada52f1bedc6922e0899a3f95a80f)) * Update dependency importlib-metadata to v4.12.0 ([#951](https://github.com/googleapis/java-core/issues/951)) ([6abe579](https://github.com/googleapis/java-core/commit/6abe579979da1cebe1d5b04a51f1ba25cf01481f)) * Update dependency jeepney to v0.8.0 ([#952](https://github.com/googleapis/java-core/issues/952)) ([6a392e8](https://github.com/googleapis/java-core/commit/6a392e819a976b6ae4df092bedb1342d78f7ef37)) * Update dependency jinja2 to v3.1.2 ([#953](https://github.com/googleapis/java-core/issues/953)) ([18a54a7](https://github.com/googleapis/java-core/commit/18a54a793172e246e596bd71dc28cbfc556abd2e)) * Update dependency keyring to v23.9.3 ([#954](https://github.com/googleapis/java-core/issues/954)) ([5ceabaa](https://github.com/googleapis/java-core/commit/5ceabaa719dfa6cf428e6fcfa2912978e27c11cc)) * Update dependency markupsafe to v2.1.1 ([#955](https://github.com/googleapis/java-core/issues/955)) ([f64e9bf](https://github.com/googleapis/java-core/commit/f64e9bf71c05f73d1896161247f2fc3520d67cf6)) * Update dependency protobuf to v3.20.2 ([#956](https://github.com/googleapis/java-core/issues/956)) ([fb1aea6](https://github.com/googleapis/java-core/commit/fb1aea6d9772d8b0eb5302477334467618104a5f)) * Update dependency protobuf to v4 ([#944](https://github.com/googleapis/java-core/issues/944)) ([6b02535](https://github.com/googleapis/java-core/commit/6b02535c5320ff252a4431b5bf0614d3ca382aab)) * Update dependency pyjwt to v2.5.0 ([#939](https://github.com/googleapis/java-core/issues/939)) ([cc8ba46](https://github.com/googleapis/java-core/commit/cc8ba461f2fa6af2ee99d0e17a36e8f6106cd3b4)) * Update dependency requests to v2.28.1 ([#940](https://github.com/googleapis/java-core/issues/940)) ([ec195e3](https://github.com/googleapis/java-core/commit/ec195e36c674a98dd857e493b65462604f762426)) * Update dependency typing-extensions to v4.3.0 ([#941](https://github.com/googleapis/java-core/issues/941)) ([4c414e9](https://github.com/googleapis/java-core/commit/4c414e954444284bae5429537e8ff230d993a499)) * Update dependency zipp to v3.8.1 ([#942](https://github.com/googleapis/java-core/issues/942)) ([6dfb0d8](https://github.com/googleapis/java-core/commit/6dfb0d8787a84b7f8cd4ef17880d48d1be1ce52d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 29 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 +++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 41 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index b837e3e77177..b98995dead5c 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [2.8.17](https://github.com/googleapis/java-core/compare/v2.8.16...v2.8.17) (2022-09-28) + + +### Dependencies + +* Update dependency cachetools to v5 ([#943](https://github.com/googleapis/java-core/issues/943)) ([c6c511d](https://github.com/googleapis/java-core/commit/c6c511d82534e96fe5b42ad9e4886aaa18efaef3)) +* Update dependency certifi to v2022.9.24 ([#934](https://github.com/googleapis/java-core/issues/934)) ([c756885](https://github.com/googleapis/java-core/commit/c75688575c3c19d0d8a1a2b25c6fe3eb99c229cb)) +* Update dependency charset-normalizer to v2.1.1 ([#938](https://github.com/googleapis/java-core/issues/938)) ([1520f65](https://github.com/googleapis/java-core/commit/1520f65cf6655aed9767d9470e3729a0fc270b9e)) +* Update dependency click to v8.1.3 ([#946](https://github.com/googleapis/java-core/issues/946)) ([6f7a7f5](https://github.com/googleapis/java-core/commit/6f7a7f5f318a7c3586fa79a7a0013bca562b059e)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.4 ([#945](https://github.com/googleapis/java-core/issues/945)) ([307e406](https://github.com/googleapis/java-core/commit/307e40688d55af3cb96e38972af6035cf846c595)) +* Update dependency gcp-releasetool to v1.8.8 ([#935](https://github.com/googleapis/java-core/issues/935)) ([a5ba3b8](https://github.com/googleapis/java-core/commit/a5ba3b8d6bc43734bb01b0ba04e11b5262db526b)) +* Update dependency google-api-core to v2.10.1 ([#947](https://github.com/googleapis/java-core/issues/947)) ([1f3da64](https://github.com/googleapis/java-core/commit/1f3da6450b1a5093aadaa9f299fc797773cc8480)) +* Update dependency google-auth to v2.12.0 ([#948](https://github.com/googleapis/java-core/issues/948)) ([361da3d](https://github.com/googleapis/java-core/commit/361da3dcaecadd708546447737c5a7c1d9799834)) +* Update dependency google-cloud-core to v2.3.2 ([#936](https://github.com/googleapis/java-core/issues/936)) ([99c0013](https://github.com/googleapis/java-core/commit/99c001309e1f72b84c41b7df55ff26c9f182863a)) +* Update dependency google-cloud-storage to v2.5.0 ([#949](https://github.com/googleapis/java-core/issues/949)) ([cd6cbfb](https://github.com/googleapis/java-core/commit/cd6cbfb3b1c45e2f55d51edee74621a7dbe06401)) +* Update dependency google-crc32c to v1.5.0 ([#950](https://github.com/googleapis/java-core/issues/950)) ([abd5ff9](https://github.com/googleapis/java-core/commit/abd5ff9321304b1238f4dd6fa0b4dd57665b46cc)) +* Update dependency googleapis-common-protos to v1.56.4 ([#937](https://github.com/googleapis/java-core/issues/937)) ([bd7d676](https://github.com/googleapis/java-core/commit/bd7d676c3f221b59768815ccca000c7763aeb7f9)) +* Update dependency importlib-metadata to v4.12.0 ([#951](https://github.com/googleapis/java-core/issues/951)) ([f0d1fe8](https://github.com/googleapis/java-core/commit/f0d1fe8cc2079216b95d8fd24a46de5161801b35)) +* Update dependency jeepney to v0.8.0 ([#952](https://github.com/googleapis/java-core/issues/952)) ([342614b](https://github.com/googleapis/java-core/commit/342614b1275877fb41e8241f0c6061286989df13)) +* Update dependency jinja2 to v3.1.2 ([#953](https://github.com/googleapis/java-core/issues/953)) ([a1542bf](https://github.com/googleapis/java-core/commit/a1542bf8938a72c85b20f97e642dde3666ea0b04)) +* Update dependency keyring to v23.9.3 ([#954](https://github.com/googleapis/java-core/issues/954)) ([34bbdae](https://github.com/googleapis/java-core/commit/34bbdaeb312cce804d92d6b041e3098b8a6c04bc)) +* Update dependency markupsafe to v2.1.1 ([#955](https://github.com/googleapis/java-core/issues/955)) ([cb444b0](https://github.com/googleapis/java-core/commit/cb444b0d274af29ffa3076bd89c42acedf514749)) +* Update dependency protobuf to v3.20.2 ([#956](https://github.com/googleapis/java-core/issues/956)) ([949b4fe](https://github.com/googleapis/java-core/commit/949b4feab38e8b0f0b32ae80067dc07da5a2a383)) +* Update dependency protobuf to v4 ([#944](https://github.com/googleapis/java-core/issues/944)) ([9d379e2](https://github.com/googleapis/java-core/commit/9d379e202dd8bedf0c3bbaab3d3ba593813285d9)) +* Update dependency pyjwt to v2.5.0 ([#939](https://github.com/googleapis/java-core/issues/939)) ([bd4896e](https://github.com/googleapis/java-core/commit/bd4896ed5d0413472ae100b60e5f632506214a97)) +* Update dependency requests to v2.28.1 ([#940](https://github.com/googleapis/java-core/issues/940)) ([f64fef9](https://github.com/googleapis/java-core/commit/f64fef9ef365b43e1ec195db312862000db18627)) +* Update dependency typing-extensions to v4.3.0 ([#941](https://github.com/googleapis/java-core/issues/941)) ([3b8f163](https://github.com/googleapis/java-core/commit/3b8f163789f5cb11a4b461411cb7c1e132439449)) +* Update dependency zipp to v3.8.1 ([#942](https://github.com/googleapis/java-core/issues/942)) ([96ccc51](https://github.com/googleapis/java-core/commit/96ccc51c7107fbbcea6564cdf71fcedb05364761)) + ## [2.8.16](https://github.com/googleapis/java-core/compare/v2.8.15...v2.8.16) (2022-09-26) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 7e6beb795293..63ff335d579d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.17-SNAPSHOT + 2.8.17 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.17-SNAPSHOT + 2.8.17 com.google.cloud google-cloud-core-grpc - 2.8.17-SNAPSHOT + 2.8.17 com.google.cloud google-cloud-core-http - 2.8.17-SNAPSHOT + 2.8.17
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d815f43fabbf..400db9a00ee2 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.8.17-SNAPSHOT + 2.8.17 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.17-SNAPSHOT + 2.8.17 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 269e126ad0d6..227d5613757d 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.8.17-SNAPSHOT + 2.8.17 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.17-SNAPSHOT + 2.8.17 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 56bff8f00a2c..3af5d5358479 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.8.17-SNAPSHOT + 2.8.17 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.17-SNAPSHOT + 2.8.17 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 645deaab9e7b..23ceb645bfd1 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.17-SNAPSHOT + 2.8.17 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6629b265f1ed..ddef7373c829 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.16:2.8.17-SNAPSHOT +google-cloud-core:2.8.17:2.8.17 From 91f82d51c9f3a7e8a4b8623d3aa814f29ca8c308 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 16:58:19 +0000 Subject: [PATCH 2610/3036] chore(main): release 2.8.18-SNAPSHOT (#958) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 63ff335d579d..77702dbe3f2c 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.17 + 2.8.18-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.17 + 2.8.18-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.17 + 2.8.18-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.17 + 2.8.18-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 400db9a00ee2..d49bfbd3a262 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.8.17 + 2.8.18-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.17 + 2.8.18-SNAPSHOT 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 227d5613757d..3f4a5240fcec 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.8.17 + 2.8.18-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.17 + 2.8.18-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 3af5d5358479..d529032f36da 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.8.17 + 2.8.18-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.17 + 2.8.18-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 23ceb645bfd1..7cb9798d0116 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.17 + 2.8.18-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ddef7373c829..3f66756cd346 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.17:2.8.17 +google-cloud-core:2.8.17:2.8.18-SNAPSHOT From 0c7a1d4054a56ca8127b749a13d98373d8022029 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 18:35:51 -0400 Subject: [PATCH 2611/3036] chore: pin versions of dependencies for compatibility with Python 3.6 (#1588) (#437) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: pin versions of dependencies for compatibility with Python 3.6 (#1588) * chore: pin versions of dependencies for compatibility with Python 3.6 * fix path of requirements file in synthtool Source-Link: https://github.com/googleapis/synthtool/commit/69cdb47824170d0b02bf694649ce66613c889040 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot Co-authored-by: Diego Alonso Marquez Palacios --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/renovate.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 42327db5e2e3..791e842d2f88 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 + digest: sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 diff --git a/java-iam/renovate.json b/java-iam/renovate.json index c52f7a39b716..0d9e4a627715 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -10,7 +10,6 @@ ":maintainLockFilesDisabled", ":autodetectPinVersions" ], - "ignorePaths": [".kokoro/requirements.txt"], "packageRules": [ { "packagePatterns": [ From d1a5a672089424d3ef9f85ae5d87b669484466e5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 01:26:15 +0200 Subject: [PATCH 2612/3036] deps: update dependency jeepney to v0.8.0 (#833) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jeepney](https://gitlab.com/takluyver/jeepney) | `==0.7.1` -> `==0.8.0` | [![age](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/compatibility-slim/0.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/confidence-slim/0.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 33ef5228cb4fda9ef24e2b4396f970bc5ab67322 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 01:38:20 +0200 Subject: [PATCH 2613/3036] deps: update dependency importlib-metadata to v4.12.0 (#832) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [importlib-metadata](https://togithub.com/python/importlib_metadata) | `==4.8.3` -> `==4.12.0` | [![age](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/compatibility-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/confidence-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From ad63e988d2407a62491a309160e1b87b4cc06d9a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 01:44:19 +0200 Subject: [PATCH 2614/3036] deps: update dependency jinja2 to v3.1.2 (#834) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jinja2](https://palletsprojects.com/p/jinja/) ([changelog](https://jinja.palletsprojects.com/changes/)) | `==3.0.3` -> `==3.1.2` | [![age](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/compatibility-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/confidence-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 5e84cc533778443b798550fe9e3cb0888ad9b8ac Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 02:22:18 +0200 Subject: [PATCH 2615/3036] deps: update google.core.version to v2.8.17 (#835) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.16` -> `2.8.17` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.17/compatibility-slim/2.8.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.17/confidence-slim/2.8.16)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.16` -> `2.8.17` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.17/compatibility-slim/2.8.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.17/confidence-slim/2.8.16)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.17`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2817-httpsgithubcomgoogleapisjava-corecomparev2816v2817-2022-09-28) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.16...v2.8.17) ##### Dependencies - Update dependency cachetools to v5 ([#​943](https://togithub.com/googleapis/java-core/issues/943)) ([c6c511d](https://togithub.com/googleapis/java-core/commit/c6c511d82534e96fe5b42ad9e4886aaa18efaef3)) - Update dependency certifi to v2022.9.24 ([#​934](https://togithub.com/googleapis/java-core/issues/934)) ([c756885](https://togithub.com/googleapis/java-core/commit/c75688575c3c19d0d8a1a2b25c6fe3eb99c229cb)) - Update dependency charset-normalizer to v2.1.1 ([#​938](https://togithub.com/googleapis/java-core/issues/938)) ([1520f65](https://togithub.com/googleapis/java-core/commit/1520f65cf6655aed9767d9470e3729a0fc270b9e)) - Update dependency click to v8.1.3 ([#​946](https://togithub.com/googleapis/java-core/issues/946)) ([6f7a7f5](https://togithub.com/googleapis/java-core/commit/6f7a7f5f318a7c3586fa79a7a0013bca562b059e)) - Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.4 ([#​945](https://togithub.com/googleapis/java-core/issues/945)) ([307e406](https://togithub.com/googleapis/java-core/commit/307e40688d55af3cb96e38972af6035cf846c595)) - Update dependency gcp-releasetool to v1.8.8 ([#​935](https://togithub.com/googleapis/java-core/issues/935)) ([a5ba3b8](https://togithub.com/googleapis/java-core/commit/a5ba3b8d6bc43734bb01b0ba04e11b5262db526b)) - Update dependency google-api-core to v2.10.1 ([#​947](https://togithub.com/googleapis/java-core/issues/947)) ([1f3da64](https://togithub.com/googleapis/java-core/commit/1f3da6450b1a5093aadaa9f299fc797773cc8480)) - Update dependency google-auth to v2.12.0 ([#​948](https://togithub.com/googleapis/java-core/issues/948)) ([361da3d](https://togithub.com/googleapis/java-core/commit/361da3dcaecadd708546447737c5a7c1d9799834)) - Update dependency google-cloud-core to v2.3.2 ([#​936](https://togithub.com/googleapis/java-core/issues/936)) ([99c0013](https://togithub.com/googleapis/java-core/commit/99c001309e1f72b84c41b7df55ff26c9f182863a)) - Update dependency google-cloud-storage to v2.5.0 ([#​949](https://togithub.com/googleapis/java-core/issues/949)) ([cd6cbfb](https://togithub.com/googleapis/java-core/commit/cd6cbfb3b1c45e2f55d51edee74621a7dbe06401)) - Update dependency google-crc32c to v1.5.0 ([#​950](https://togithub.com/googleapis/java-core/issues/950)) ([abd5ff9](https://togithub.com/googleapis/java-core/commit/abd5ff9321304b1238f4dd6fa0b4dd57665b46cc)) - Update dependency googleapis-common-protos to v1.56.4 ([#​937](https://togithub.com/googleapis/java-core/issues/937)) ([bd7d676](https://togithub.com/googleapis/java-core/commit/bd7d676c3f221b59768815ccca000c7763aeb7f9)) - Update dependency importlib-metadata to v4.12.0 ([#​951](https://togithub.com/googleapis/java-core/issues/951)) ([f0d1fe8](https://togithub.com/googleapis/java-core/commit/f0d1fe8cc2079216b95d8fd24a46de5161801b35)) - Update dependency jeepney to v0.8.0 ([#​952](https://togithub.com/googleapis/java-core/issues/952)) ([342614b](https://togithub.com/googleapis/java-core/commit/342614b1275877fb41e8241f0c6061286989df13)) - Update dependency jinja2 to v3.1.2 ([#​953](https://togithub.com/googleapis/java-core/issues/953)) ([a1542bf](https://togithub.com/googleapis/java-core/commit/a1542bf8938a72c85b20f97e642dde3666ea0b04)) - Update dependency keyring to v23.9.3 ([#​954](https://togithub.com/googleapis/java-core/issues/954)) ([34bbdae](https://togithub.com/googleapis/java-core/commit/34bbdaeb312cce804d92d6b041e3098b8a6c04bc)) - Update dependency markupsafe to v2.1.1 ([#​955](https://togithub.com/googleapis/java-core/issues/955)) ([cb444b0](https://togithub.com/googleapis/java-core/commit/cb444b0d274af29ffa3076bd89c42acedf514749)) - Update dependency protobuf to v3.20.2 ([#​956](https://togithub.com/googleapis/java-core/issues/956)) ([949b4fe](https://togithub.com/googleapis/java-core/commit/949b4feab38e8b0f0b32ae80067dc07da5a2a383)) - Update dependency protobuf to v4 ([#​944](https://togithub.com/googleapis/java-core/issues/944)) ([9d379e2](https://togithub.com/googleapis/java-core/commit/9d379e202dd8bedf0c3bbaab3d3ba593813285d9)) - Update dependency pyjwt to v2.5.0 ([#​939](https://togithub.com/googleapis/java-core/issues/939)) ([bd4896e](https://togithub.com/googleapis/java-core/commit/bd4896ed5d0413472ae100b60e5f632506214a97)) - Update dependency requests to v2.28.1 ([#​940](https://togithub.com/googleapis/java-core/issues/940)) ([f64fef9](https://togithub.com/googleapis/java-core/commit/f64fef9ef365b43e1ec195db312862000db18627)) - Update dependency typing-extensions to v4.3.0 ([#​941](https://togithub.com/googleapis/java-core/issues/941)) ([3b8f163](https://togithub.com/googleapis/java-core/commit/3b8f163789f5cb11a4b461411cb7c1e132439449)) - Update dependency zipp to v3.8.1 ([#​942](https://togithub.com/googleapis/java-core/issues/942)) ([96ccc51](https://togithub.com/googleapis/java-core/commit/96ccc51c7107fbbcea6564cdf71fcedb05364761))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a84e8042dd56..208587d79b2c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.6 2.2.1 2.9.3 - 2.8.16 + 2.8.17 1.11.0 1.42.2 1.34.1 From 57152061f264629aa0f09f2602abf6fe3b242945 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:36:40 +0200 Subject: [PATCH 2616/3036] deps: update dependency charset-normalizer to v2.1.1 (#444) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [charset-normalizer](https://togithub.com/ousret/charset_normalizer) | `==2.0.12` -> `==2.1.1` | [![age](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/compatibility-slim/2.0.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/charset-normalizer/2.1.1/confidence-slim/2.0.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 56c8f86e437f49636edd5673b4336def947de475 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:38:30 +0200 Subject: [PATCH 2617/3036] deps: update dependency jeepney to v0.8.0 (#451) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jeepney](https://gitlab.com/takluyver/jeepney) | `==0.7.1` -> `==0.8.0` | [![age](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/compatibility-slim/0.7.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/jeepney/0.8.0/confidence-slim/0.7.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From cb9637ce2ed8976deda7a146a3df738f6afd158c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:40:21 +0200 Subject: [PATCH 2618/3036] deps: update dependency protobuf to v4 (#460) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==4.21.6` | [![age](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/compatibility-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/protobuf/4.21.6/confidence-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 00adc9a8bf225a4c3d1509f9e6778ad10dd16e2e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:40:44 +0200 Subject: [PATCH 2619/3036] deps: update dependency google-cloud-core to v2.3.2 (#442) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-core](https://togithub.com/googleapis/python-cloud-core) | `==2.3.1` -> `==2.3.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From c64de5a5b2f3fcd9e17ed4963e586aaf0a1209ba Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:42:35 +0200 Subject: [PATCH 2620/3036] deps: update dependency googleapis-common-protos to v1.56.4 (#443) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [googleapis-common-protos](https://togithub.com/googleapis/python-api-common-protos) | `==1.56.3` -> `==1.56.4` | [![age](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/compatibility-slim/1.56.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/googleapis-common-protos/1.56.4/confidence-slim/1.56.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From a2f7304a602b4621f43d4b3966586e0a7e1a7a2d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:46:14 +0200 Subject: [PATCH 2621/3036] deps: update dependency google-crc32c to v1.5.0 (#449) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-crc32c](https://togithub.com/googleapis/python-crc32c) | `==1.3.0` -> `==1.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-crc32c/1.5.0/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 0ebc06212f4dc10f8724f35705d1db9ab148beac Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:50:13 +0200 Subject: [PATCH 2622/3036] deps: update dependency jinja2 to v3.1.2 (#452) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jinja2](https://palletsprojects.com/p/jinja/) ([changelog](https://jinja.palletsprojects.com/changes/)) | `==3.0.3` -> `==3.1.2` | [![age](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/compatibility-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/jinja2/3.1.2/confidence-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From df5cf74ee883b7f4d99ce9654fcdd6a4670cc98a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:50:26 +0200 Subject: [PATCH 2623/3036] deps: update dependency google-cloud-storage to v2.5.0 (#448) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-cloud-storage](https://togithub.com/googleapis/python-storage) | `==2.0.0` -> `==2.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/compatibility-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-storage/2.5.0/confidence-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From de6c438b7709e71bdcc2c1c47702b808f828a42f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:50:30 +0200 Subject: [PATCH 2624/3036] deps: update dependency certifi to v2022.9.24 (#440) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [certifi](https://togithub.com/certifi/python-certifi) | `==2022.9.14` -> `==2022.9.24` | [![age](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/compatibility-slim/2022.9.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/certifi/2022.9.24/confidence-slim/2022.9.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 89ea28b2d57b4bdb11b8d847af313c63c8023146 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:52:31 +0200 Subject: [PATCH 2625/3036] deps: update dependency cachetools to v5 (#459) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cachetools](https://togithub.com/tkem/cachetools) | `==4.2.4` -> `==5.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/compatibility-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/confidence-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 53a369c5f157bcfb2752c6b6503d2f5e76c226b8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 16:58:28 +0200 Subject: [PATCH 2626/3036] deps: update dependency typing-extensions to v4.3.0 (#457) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typing-extensions](https://togithub.com/python/typing_extensions) ([changelog](https://togithub.com/python/typing_extensions/blob/main/CHANGELOG.md)) | `==4.1.1` -> `==4.3.0` | [![age](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/compatibility-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.3.0/confidence-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From b023d05d096ae796573c488869682c45f1de57b2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:02:15 +0200 Subject: [PATCH 2627/3036] deps: update dependency requests to v2.28.1 (#456) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [requests](https://requests.readthedocs.io) ([source](https://togithub.com/psf/requests), [changelog](https://togithub.com/psf/requests/blob/master/HISTORY.md)) | `==2.27.1` -> `==2.28.1` | [![age](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/compatibility-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/requests/2.28.1/confidence-slim/2.27.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 50d82218cb3056bb49173d7f5d4e7b0070717b0f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:02:36 +0200 Subject: [PATCH 2628/3036] deps: update dependency google-api-core to v2.10.1 (#446) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-api-core](https://togithub.com/googleapis/python-api-core) | `==2.8.2` -> `==2.10.1` | [![age](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.1/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 2d696a04f036369b25a3dceb29f8f1b855136890 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:10:32 +0200 Subject: [PATCH 2629/3036] deps: update dependency pyjwt to v2.5.0 (#461) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pyjwt](https://togithub.com/jpadilla/pyjwt) | `==2.4.0` -> `==2.5.0` | [![age](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pyjwt/2.5.0/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 97b4c236276d27be1e290334573ec6897c9e67c9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:14:14 +0200 Subject: [PATCH 2630/3036] deps: update dependency google-auth to v2.12.0 (#447) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-auth](https://togithub.com/googleapis/google-auth-library-python) | `==2.11.0` -> `==2.12.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/compatibility-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-auth/2.12.0/confidence-slim/2.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 189a5c4102bd6b9f4fbfc252a67019a7c5e23ee3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:16:13 +0200 Subject: [PATCH 2631/3036] deps: update dependency click to v8.1.3 (#445) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [click](https://palletsprojects.com/p/click/) ([changelog](https://click.palletsprojects.com/changes/)) | `==8.0.4` -> `==8.1.3` | [![age](https://badges.renovateapi.com/packages/pypi/click/8.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/click/8.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/click/8.1.3/compatibility-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/click/8.1.3/confidence-slim/8.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From fb47671168b256e9b76ecc16e52cf0674cbefce7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:26:13 +0200 Subject: [PATCH 2632/3036] deps: update dependency protobuf to v3.20.2 (#455) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==3.20.2` | [![age](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/compatibility-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.2/confidence-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 39ea4087f4b72a57ee09d6f312d05f7607d89bfb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:46:18 +0200 Subject: [PATCH 2633/3036] deps: update dependency zipp to v3.8.1 (#458) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [zipp](https://togithub.com/jaraco/zipp) | `==3.6.0` -> `==3.8.1` | [![age](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/compatibility-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/zipp/3.8.1/confidence-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From e8607ce4d1c6b202726b185560920c742e056a30 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:48:25 +0200 Subject: [PATCH 2634/3036] deps: update dependency importlib-metadata to v4.12.0 (#450) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [importlib-metadata](https://togithub.com/python/importlib_metadata) | `==4.8.3` -> `==4.12.0` | [![age](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/compatibility-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.12.0/confidence-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 1e068608d01b278428c08e2b8ce465727b3f1b88 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Thu, 29 Sep 2022 11:57:05 -0400 Subject: [PATCH 2635/3036] chore: upgrade native image downstream check to 22.2.0 (#836) --- .../.github/workflows/downstream-native-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml index 1c06db693765..af6d9ff82665 100644 --- a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml +++ b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - graalvm: [22.1.0, 22.0.0.2, 21.3.2] + graalvm: [22.2.0, 22.1.0] java: [11, 17] repo: # GAPIC library that doesn't use a real GCP project in integration tests From 18d4bc0cd7341123d00eeb5fa15606d058f12fa6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 17:58:35 +0200 Subject: [PATCH 2636/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.1 (#434) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.0` -> `1.6.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/compatibility-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.1/confidence-slim/1.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.1`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​161-httpsgithubcomgoogleapisjava-iamcomparev160v161-2022-09-21) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) ##### Dependencies - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​425](https://togithub.com/googleapis/java-iam/issues/425)) ([28ebf0c](https://togithub.com/googleapis/java-iam/commit/28ebf0c8c312c9951bb33b4de1ebfba02fe47266))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 4c4ddf756578..44a9522b5fa1 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.0 + 1.6.1 compile From 31fec95f348f55c98dab665bec47d88f396a9611 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 18:54:19 +0200 Subject: [PATCH 2637/3036] deps: update dependency gcp-releasetool to v1.8.8 (#441) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | gcp-releasetool | `==1.8.7` -> `==1.8.8` | [![age](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/compatibility-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.8/confidence-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 93bd5ec7183cf306e4956261321038b923861276 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 29 Sep 2022 19:26:23 +0200 Subject: [PATCH 2638/3036] deps: update dependency markupsafe to v2.1.1 (#454) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [markupsafe](https://palletsprojects.com/p/markupsafe/) ([changelog](https://markupsafe.palletsprojects.com/changes/)) | `==2.0.1` -> `==2.1.1` | [![age](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/compatibility-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/markupsafe/2.1.1/confidence-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). From 3fd144c973ceb3683f7c5a580bfb2e6f65f1f254 Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Thu, 29 Sep 2022 18:00:39 -0400 Subject: [PATCH 2639/3036] Revert "chore: pin versions of dependencies for compatibility with Python 3.6 (#1588)" (#959) Reverts googleapis/java-core#932 --- java-core/.github/.OwlBot.lock.yaml | 3 +-- java-core/renovate.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 0a5cae5afcc3..42327db5e2e3 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,5 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 - + digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 diff --git a/java-core/renovate.json b/java-core/renovate.json index 8667c146d42a..443f141ae517 100644 --- a/java-core/renovate.json +++ b/java-core/renovate.json @@ -10,6 +10,7 @@ ":maintainLockFilesDisabled", ":autodetectPinVersions" ], + "ignorePaths": [".kokoro/requirements.txt"], "packageRules": [ { "packagePatterns": [ From fc329b7af0f878c2612056338c55695ac77a7232 Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Thu, 29 Sep 2022 18:02:13 -0400 Subject: [PATCH 2640/3036] Revert "chore: pin versions of dependencies for compatibility with Python 3.6 (#1588)" (#462) Reverts googleapis/java-iam#437 --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/renovate.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 791e842d2f88..42327db5e2e3 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:6566dc8226f20993af18e5a4e7a2b1ba85a292b02dedb6a1634cf10e1b418fa5 + digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 diff --git a/java-iam/renovate.json b/java-iam/renovate.json index 0d9e4a627715..c52f7a39b716 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -10,6 +10,7 @@ ":maintainLockFilesDisabled", ":autodetectPinVersions" ], + "ignorePaths": [".kokoro/requirements.txt"], "packageRules": [ { "packagePatterns": [ From d5472aa3a98c7a10737b6a9137dba8140087a31b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 16:42:26 +0200 Subject: [PATCH 2641/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.7 (#837) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.6` -> `3.21.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/compatibility-slim/3.21.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/confidence-slim/3.21.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.7`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 208587d79b2c..37f645a55476 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.2.1 2.9.1 31.1-jre - 3.21.6 + 3.21.7 2.2.1 2.9.3 2.8.17 From 69db6d7e56d4673a68e1f49a805635d054856326 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 16:44:31 +0200 Subject: [PATCH 2642/3036] deps: update dependency protobuf to v3.20.3 (#839) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [protobuf](https://developers.google.com/protocol-buffers/) | `==3.19.5` -> `==3.20.3` | [![age](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.3/compatibility-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/protobuf/3.20.3/confidence-slim/3.19.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 8ad215f4543f7ffcd891ed6e1b202fe1ddccd86f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 16:44:35 +0200 Subject: [PATCH 2643/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.7 (#463) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.6` -> `3.21.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.7/compatibility-slim/3.21.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.7/confidence-slim/3.21.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.7`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 4faf2f70de4f..425297af04cd 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.6' + compile 'com.google.protobuf:protobuf-java:3.21.7' compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From fb02810c4a975fc75b26d680266ac48f85779a70 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 17:18:19 +0200 Subject: [PATCH 2644/3036] deps: update dependency google-resumable-media to v2.4.0 (#838) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-resumable-media](https://togithub.com/googleapis/google-resumable-media-python) | `==2.3.3` -> `==2.4.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-resumable-media/2.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-resumable-media/2.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-resumable-media/2.4.0/compatibility-slim/2.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-resumable-media/2.4.0/confidence-slim/2.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 1c38fb77fc9b3a9510050ba9b78bcbf93c80d52c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 17:56:14 +0200 Subject: [PATCH 2645/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.7 (#960) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.6` -> `3.21.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/compatibility-slim/3.21.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.7/confidence-slim/3.21.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.7`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7cb9798d0116..110607035c4c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.0 1.42.2 1.49.1 - 3.21.6 + 3.21.7 0.31.1 1.3.2 31.1-jre From e4fe44eda94d20f2c890a08c00415d467dd2e184 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Sep 2022 17:42:44 +0000 Subject: [PATCH 2646/3036] chore(main): release 2.8.18 (#961) :robot: I have created a release *beep* *boop* --- ## [2.8.18](https://togithub.com/googleapis/java-core/compare/v2.8.17...v2.8.18) (2022-09-30) ### Dependencies * Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#960](https://togithub.com/googleapis/java-core/issues/960)) ([1c38fb7](https://togithub.com/googleapis/java-core/commit/1c38fb77fc9b3a9510050ba9b78bcbf93c80d52c)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index b98995dead5c..9d519a068557 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.18](https://github.com/googleapis/java-core/compare/v2.8.17...v2.8.18) (2022-09-30) + + +### Dependencies + +* Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#960](https://github.com/googleapis/java-core/issues/960)) ([1fcd95f](https://github.com/googleapis/java-core/commit/1fcd95f2401b66a79383bd79729595334493b0e4)) + ## [2.8.17](https://github.com/googleapis/java-core/compare/v2.8.16...v2.8.17) (2022-09-28) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 77702dbe3f2c..f891b24762c2 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.18-SNAPSHOT + 2.8.18 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.18-SNAPSHOT + 2.8.18 com.google.cloud google-cloud-core-grpc - 2.8.18-SNAPSHOT + 2.8.18 com.google.cloud google-cloud-core-http - 2.8.18-SNAPSHOT + 2.8.18
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index d49bfbd3a262..905d1c2de53c 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.8.18-SNAPSHOT + 2.8.18 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.18-SNAPSHOT + 2.8.18 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 3f4a5240fcec..239e8d93c3d5 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.8.18-SNAPSHOT + 2.8.18 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.18-SNAPSHOT + 2.8.18 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d529032f36da..a909ca0c37a4 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.8.18-SNAPSHOT + 2.8.18 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.18-SNAPSHOT + 2.8.18 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 110607035c4c..5db20c3d080a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.18-SNAPSHOT + 2.8.18 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 3f66756cd346..9833ce0ee6ad 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.17:2.8.18-SNAPSHOT +google-cloud-core:2.8.18:2.8.18 From 7d16a67774f54192c839b3e52b772deb7e2c5c44 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Sep 2022 17:52:17 +0000 Subject: [PATCH 2647/3036] chore(main): release 2.8.19-SNAPSHOT (#962) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index f891b24762c2..eb237816f804 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.18 + 2.8.19-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.18 + 2.8.19-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.18 + 2.8.19-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.18 + 2.8.19-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 905d1c2de53c..b8e051d5d6ff 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.8.18 + 2.8.19-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.18 + 2.8.19-SNAPSHOT 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 239e8d93c3d5..d8be297aa218 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.8.18 + 2.8.19-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.18 + 2.8.19-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a909ca0c37a4..8fd532006d2c 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.8.18 + 2.8.19-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.18 + 2.8.19-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5db20c3d080a..8c752a7c9456 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.18 + 2.8.19-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9833ce0ee6ad..4bee97bfaa38 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.18:2.8.18 +google-cloud-core:2.8.18:2.8.19-SNAPSHOT From 62b5617fa7960a1fdbad5743e44f14e2b6014b47 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 21:50:21 +0200 Subject: [PATCH 2648/3036] deps: update google.common-protos.version to v2.9.5 (#831) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-iam/grpc-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.3` -> `2.9.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.5/compatibility-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.5/confidence-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.3` -> `2.9.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/compatibility-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/confidence-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.5`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​295-httpsgithubcomgoogleapisjava-common-protoscomparev294v295-2022-09-30) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.4...v2.9.5) ##### Dependencies - Update dependency cachetools to v5 ([#​439](https://togithub.com/googleapis/java-common-protos/issues/439)) ([d06e7f3](https://togithub.com/googleapis/java-common-protos/commit/d06e7f32a38d8cc6bf53da73d3a2516502525afb)) - Update dependency click to v8.1.3 ([#​425](https://togithub.com/googleapis/java-common-protos/issues/425)) ([52e0472](https://togithub.com/googleapis/java-common-protos/commit/52e0472c4040b8e7be4f5c6f08f9cd93a86a69f6)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#​444](https://togithub.com/googleapis/java-common-protos/issues/444)) ([bd3cc8e](https://togithub.com/googleapis/java-common-protos/commit/bd3cc8e46144d0e6d3fab60d9c0250749b81e5e9)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​445](https://togithub.com/googleapis/java-common-protos/issues/445)) ([b649c95](https://togithub.com/googleapis/java-common-protos/commit/b649c95a455763bb71569cc111dbee842e39caae)) - Update dependency gcp-releasetool to v1.8.8 ([#​423](https://togithub.com/googleapis/java-common-protos/issues/423)) ([48f448f](https://togithub.com/googleapis/java-common-protos/commit/48f448f711e3079339576d0b4b7940ae41bd6662)) - Update dependency google-api-core to v2.10.1 ([#​426](https://togithub.com/googleapis/java-common-protos/issues/426)) ([ba6479a](https://togithub.com/googleapis/java-common-protos/commit/ba6479a7bfb37cfa11035ed904ed70b80b4555cb)) - Update dependency google-auth to v2.12.0 ([#​427](https://togithub.com/googleapis/java-common-protos/issues/427)) ([db61fd7](https://togithub.com/googleapis/java-common-protos/commit/db61fd720ee9ac4aa27348344d6331bfb36259d6)) - Update dependency google-cloud-core to v2.3.2 ([#​424](https://togithub.com/googleapis/java-common-protos/issues/424)) ([67c3c5b](https://togithub.com/googleapis/java-common-protos/commit/67c3c5bab83a33bfc5bf2f5918141389788eadbc)) - Update dependency google-cloud-storage to v2.5.0 ([#​428](https://togithub.com/googleapis/java-common-protos/issues/428)) ([c84f880](https://togithub.com/googleapis/java-common-protos/commit/c84f8809a856854dcc21db3a16e4dea13b8ce51e)) - Update dependency google-crc32c to v1.5.0 ([#​429](https://togithub.com/googleapis/java-common-protos/issues/429)) ([f296a84](https://togithub.com/googleapis/java-common-protos/commit/f296a8456f09606f1889bfd50f332b6149712058)) - Update dependency importlib-metadata to v4.12.0 ([#​430](https://togithub.com/googleapis/java-common-protos/issues/430)) ([3065768](https://togithub.com/googleapis/java-common-protos/commit/3065768cd1b045f69a188eaa3fb2124a570a6872)) - Update dependency jeepney to v0.8.0 ([#​431](https://togithub.com/googleapis/java-common-protos/issues/431)) ([05adbf4](https://togithub.com/googleapis/java-common-protos/commit/05adbf42df18e6dacd19bc4f2f375a83f5aa9507)) - Update dependency jinja2 to v3.1.2 ([#​432](https://togithub.com/googleapis/java-common-protos/issues/432)) ([d04dedd](https://togithub.com/googleapis/java-common-protos/commit/d04dedd8b5f185ad59d2fccad28510e9c9bd1d1a)) - Update dependency keyring to v23.9.3 ([#​442](https://togithub.com/googleapis/java-common-protos/issues/442)) ([8fe91e7](https://togithub.com/googleapis/java-common-protos/commit/8fe91e7c0a8c5d24e79c11ab997c01915690ba15)) - Update dependency markupsafe to v2.1.1 ([#​433](https://togithub.com/googleapis/java-common-protos/issues/433)) ([ac10325](https://togithub.com/googleapis/java-common-protos/commit/ac10325a3ef909d8c60f185c5b327894995ab23e)) - Update dependency protobuf to v3.20.2 ([#​434](https://togithub.com/googleapis/java-common-protos/issues/434)) ([2ee3681](https://togithub.com/googleapis/java-common-protos/commit/2ee3681fef9bf7e1d6fce2fe6112d16a8780bb97)) - Update dependency protobuf to v4 ([#​440](https://togithub.com/googleapis/java-common-protos/issues/440)) ([8a5b536](https://togithub.com/googleapis/java-common-protos/commit/8a5b53679997ec03c0f9696dbed290a36f7a2200)) - Update dependency pyjwt to v2.5.0 ([#​435](https://togithub.com/googleapis/java-common-protos/issues/435)) ([a1428ad](https://togithub.com/googleapis/java-common-protos/commit/a1428ad3bcc985646101b5593e08f1c633338c0d)) - Update dependency requests to v2.28.1 ([#​436](https://togithub.com/googleapis/java-common-protos/issues/436)) ([05f5abf](https://togithub.com/googleapis/java-common-protos/commit/05f5abfc0f8746546ffef4cb1d008b32ad09c612)) - Update dependency typing-extensions to v4.3.0 ([#​437](https://togithub.com/googleapis/java-common-protos/issues/437)) ([8980eb2](https://togithub.com/googleapis/java-common-protos/commit/8980eb2056c7472a7ca9afb6d2ecb8fa77b8b493)) - Update dependency zipp to v3.8.1 ([#​438](https://togithub.com/googleapis/java-common-protos/issues/438)) ([a5e5fbc](https://togithub.com/googleapis/java-common-protos/commit/a5e5fbcde2252aa5a694e880387bc65171ac4070)) ### [`v2.9.4`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​294-httpsgithubcomgoogleapisjava-common-protoscomparev293v294-2022-09-28) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.3...v2.9.4) ##### Dependencies - Update dependency certifi to v2022.9.24 ([#​418](https://togithub.com/googleapis/java-common-protos/issues/418)) ([40f5dec](https://togithub.com/googleapis/java-common-protos/commit/40f5decf9cab5294b1e3d7622fd15beb6c5f34c5)) - Update dependency charset-normalizer to v2.1.1 ([#​420](https://togithub.com/googleapis/java-common-protos/issues/420)) ([db48320](https://togithub.com/googleapis/java-common-protos/commit/db48320fb793522eb57dddab71576b6851d09bf4)) - Update dependency googleapis-common-protos to v1.56.4 ([#​419](https://togithub.com/googleapis/java-common-protos/issues/419)) ([ca70ae5](https://togithub.com/googleapis/java-common-protos/commit/ca70ae5b1d7f9c2d3f2a631074acd7e80873f552))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 37f645a55476..d085ca4666f9 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 31.1-jre 3.21.7 2.2.1 - 2.9.3 + 2.9.5 2.8.17 1.11.0 1.42.2 From 671642c095bc2a1c84fcc210e5f2bbc0f9ced3ea Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 22:46:16 +0200 Subject: [PATCH 2649/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.9.5 (#963) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.4` -> `2.9.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/compatibility-slim/2.9.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.5/confidence-slim/2.9.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.5`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​295-httpsgithubcomgoogleapisjava-common-protoscomparev294v295-2022-09-30) ##### Dependencies - Update dependency cachetools to v5 ([#​439](https://togithub.com/googleapis/java-common-protos/issues/439)) ([d06e7f3](https://togithub.com/googleapis/java-common-protos/commit/d06e7f32a38d8cc6bf53da73d3a2516502525afb)) - Update dependency click to v8.1.3 ([#​425](https://togithub.com/googleapis/java-common-protos/issues/425)) ([52e0472](https://togithub.com/googleapis/java-common-protos/commit/52e0472c4040b8e7be4f5c6f08f9cd93a86a69f6)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#​444](https://togithub.com/googleapis/java-common-protos/issues/444)) ([bd3cc8e](https://togithub.com/googleapis/java-common-protos/commit/bd3cc8e46144d0e6d3fab60d9c0250749b81e5e9)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​445](https://togithub.com/googleapis/java-common-protos/issues/445)) ([b649c95](https://togithub.com/googleapis/java-common-protos/commit/b649c95a455763bb71569cc111dbee842e39caae)) - Update dependency gcp-releasetool to v1.8.8 ([#​423](https://togithub.com/googleapis/java-common-protos/issues/423)) ([48f448f](https://togithub.com/googleapis/java-common-protos/commit/48f448f711e3079339576d0b4b7940ae41bd6662)) - Update dependency google-api-core to v2.10.1 ([#​426](https://togithub.com/googleapis/java-common-protos/issues/426)) ([ba6479a](https://togithub.com/googleapis/java-common-protos/commit/ba6479a7bfb37cfa11035ed904ed70b80b4555cb)) - Update dependency google-auth to v2.12.0 ([#​427](https://togithub.com/googleapis/java-common-protos/issues/427)) ([db61fd7](https://togithub.com/googleapis/java-common-protos/commit/db61fd720ee9ac4aa27348344d6331bfb36259d6)) - Update dependency google-cloud-core to v2.3.2 ([#​424](https://togithub.com/googleapis/java-common-protos/issues/424)) ([67c3c5b](https://togithub.com/googleapis/java-common-protos/commit/67c3c5bab83a33bfc5bf2f5918141389788eadbc)) - Update dependency google-cloud-storage to v2.5.0 ([#​428](https://togithub.com/googleapis/java-common-protos/issues/428)) ([c84f880](https://togithub.com/googleapis/java-common-protos/commit/c84f8809a856854dcc21db3a16e4dea13b8ce51e)) - Update dependency google-crc32c to v1.5.0 ([#​429](https://togithub.com/googleapis/java-common-protos/issues/429)) ([f296a84](https://togithub.com/googleapis/java-common-protos/commit/f296a8456f09606f1889bfd50f332b6149712058)) - Update dependency importlib-metadata to v4.12.0 ([#​430](https://togithub.com/googleapis/java-common-protos/issues/430)) ([3065768](https://togithub.com/googleapis/java-common-protos/commit/3065768cd1b045f69a188eaa3fb2124a570a6872)) - Update dependency jeepney to v0.8.0 ([#​431](https://togithub.com/googleapis/java-common-protos/issues/431)) ([05adbf4](https://togithub.com/googleapis/java-common-protos/commit/05adbf42df18e6dacd19bc4f2f375a83f5aa9507)) - Update dependency jinja2 to v3.1.2 ([#​432](https://togithub.com/googleapis/java-common-protos/issues/432)) ([d04dedd](https://togithub.com/googleapis/java-common-protos/commit/d04dedd8b5f185ad59d2fccad28510e9c9bd1d1a)) - Update dependency keyring to v23.9.3 ([#​442](https://togithub.com/googleapis/java-common-protos/issues/442)) ([8fe91e7](https://togithub.com/googleapis/java-common-protos/commit/8fe91e7c0a8c5d24e79c11ab997c01915690ba15)) - Update dependency markupsafe to v2.1.1 ([#​433](https://togithub.com/googleapis/java-common-protos/issues/433)) ([ac10325](https://togithub.com/googleapis/java-common-protos/commit/ac10325a3ef909d8c60f185c5b327894995ab23e)) - Update dependency protobuf to v3.20.2 ([#​434](https://togithub.com/googleapis/java-common-protos/issues/434)) ([2ee3681](https://togithub.com/googleapis/java-common-protos/commit/2ee3681fef9bf7e1d6fce2fe6112d16a8780bb97)) - Update dependency protobuf to v4 ([#​440](https://togithub.com/googleapis/java-common-protos/issues/440)) ([8a5b536](https://togithub.com/googleapis/java-common-protos/commit/8a5b53679997ec03c0f9696dbed290a36f7a2200)) - Update dependency pyjwt to v2.5.0 ([#​435](https://togithub.com/googleapis/java-common-protos/issues/435)) ([a1428ad](https://togithub.com/googleapis/java-common-protos/commit/a1428ad3bcc985646101b5593e08f1c633338c0d)) - Update dependency requests to v2.28.1 ([#​436](https://togithub.com/googleapis/java-common-protos/issues/436)) ([05f5abf](https://togithub.com/googleapis/java-common-protos/commit/05f5abfc0f8746546ffef4cb1d008b32ad09c612)) - Update dependency typing-extensions to v4.3.0 ([#​437](https://togithub.com/googleapis/java-common-protos/issues/437)) ([8980eb2](https://togithub.com/googleapis/java-common-protos/commit/8980eb2056c7472a7ca9afb6d2ecb8fa77b8b493)) - Update dependency zipp to v3.8.1 ([#​438](https://togithub.com/googleapis/java-common-protos/issues/438)) ([a5e5fbc](https://togithub.com/googleapis/java-common-protos/commit/a5e5fbcde2252aa5a694e880387bc65171ac4070))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8c752a7c9456..c1ad71daed4e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.19.1 2.2.1 - 2.9.4 + 2.9.5 1.6.1 1.11.0 2.0.0 From b2fc57a99d63554f456f185c136954c688300ab7 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 23:04:46 +0200 Subject: [PATCH 2650/3036] deps: update iam.version to v1.6.1 (#806) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d085ca4666f9..290570212410 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.2 1.34.1 2.0.0 - 1.5.2 + 1.6.1
    From 3c935b9cc1c8302910d403634510a96769f8ba0c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Sep 2022 21:06:18 +0000 Subject: [PATCH 2651/3036] chore(main): release 2.8.19 (#964) :robot: I have created a release *beep* *boop* --- ## [2.8.19](https://togithub.com/googleapis/java-core/compare/v2.8.18...v2.8.19) (2022-09-30) ### Dependencies * Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.5 ([#963](https://togithub.com/googleapis/java-core/issues/963)) ([671642c](https://togithub.com/googleapis/java-core/commit/671642c095bc2a1c84fcc210e5f2bbc0f9ced3ea)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 9d519a068557..2da152d58ad3 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.19](https://github.com/googleapis/java-core/compare/v2.8.18...v2.8.19) (2022-09-30) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.5 ([#963](https://github.com/googleapis/java-core/issues/963)) ([1ee2f9a](https://github.com/googleapis/java-core/commit/1ee2f9acd3968b21974a550b6732fe68b18085f4)) + ## [2.8.18](https://github.com/googleapis/java-core/compare/v2.8.17...v2.8.18) (2022-09-30) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index eb237816f804..f5beff2c30b3 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.19-SNAPSHOT + 2.8.19 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.19-SNAPSHOT + 2.8.19 com.google.cloud google-cloud-core-grpc - 2.8.19-SNAPSHOT + 2.8.19 com.google.cloud google-cloud-core-http - 2.8.19-SNAPSHOT + 2.8.19
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b8e051d5d6ff..dfc88e1a6832 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.8.19-SNAPSHOT + 2.8.19 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.19-SNAPSHOT + 2.8.19 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 d8be297aa218..b57af525a67f 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.8.19-SNAPSHOT + 2.8.19 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.19-SNAPSHOT + 2.8.19 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8fd532006d2c..13116d6584ea 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.8.19-SNAPSHOT + 2.8.19 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.19-SNAPSHOT + 2.8.19 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index c1ad71daed4e..77918406b3aa 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.19-SNAPSHOT + 2.8.19 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4bee97bfaa38..d07773e4189b 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.18:2.8.19-SNAPSHOT +google-cloud-core:2.8.19:2.8.19 From 203e8b4681186f863bc8d2f7e79c3c0102e592b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 30 Sep 2022 23:35:40 +0200 Subject: [PATCH 2652/3036] deps: update google.core.version to v2.8.18 (#840) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 290570212410..a30f38446079 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.7 2.2.1 2.9.5 - 2.8.17 + 2.8.18 1.11.0 1.42.2 1.34.1 From 900d4c1bcf6e457da9d4fcf667feedb6eea46519 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Sep 2022 21:36:19 +0000 Subject: [PATCH 2653/3036] chore(main): release 2.8.20-SNAPSHOT (#965) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index f5beff2c30b3..12fcb6ff1ab0 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.19 + 2.8.20-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.19 + 2.8.20-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.19 + 2.8.20-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.19 + 2.8.20-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index dfc88e1a6832..15549c98b528 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.8.19 + 2.8.20-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.19 + 2.8.20-SNAPSHOT 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 b57af525a67f..17602f930fdf 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.8.19 + 2.8.20-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.19 + 2.8.20-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 13116d6584ea..b76c22ea2a65 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.8.19 + 2.8.20-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.19 + 2.8.20-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 77918406b3aa..26e064a93470 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.19 + 2.8.20-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index d07773e4189b..b8cd8eb2d1ab 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.19:2.8.19 +google-cloud-core:2.8.19:2.8.20-SNAPSHOT From 0d2403530080668411981679ec01801d5e756e03 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 04:50:42 +0200 Subject: [PATCH 2654/3036] deps: update dependency io.grpc:grpc-protobuf to v1.49.2 (#464) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 18d0ad1921d2..adeb32bc28d8 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.49.1' - compile 'io.grpc:grpc-protobuf:1.49.1' + compile 'io.grpc:grpc-protobuf:1.49.2' compile project(':proto-google-iam-v1') } From 2b67643239cf9cf617ddd3d15d176fbdb574d15e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 04:56:13 +0200 Subject: [PATCH 2655/3036] deps: update dependency io.grpc:grpc-stub to v1.49.2 (#465) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.49.1` -> `1.49.2` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.2/compatibility-slim/1.49.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.49.2/confidence-slim/1.49.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.49.2`](https://togithub.com/grpc/grpc-java/compare/v1.49.1...v1.49.2)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index adeb32bc28d8..a5e1c51a81c5 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.49.1' + compile 'io.grpc:grpc-stub:1.49.2' compile 'io.grpc:grpc-protobuf:1.49.2' compile project(':proto-google-iam-v1') } From 2f76c7425680b767af129ec3c6db67351d6f6311 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Sun, 2 Oct 2022 03:18:13 +0000 Subject: [PATCH 2656/3036] chore(bazel): update protobuf to v3.21.7 (#436) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 477955264 Source-Link: https://togithub.com/googleapis/googleapis/commit/a724450af76d0001f23602684c49cd6a4b3a5654 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/4abcbcaec855e74a0b22a4988cf9e0eb61a83094 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGFiY2JjYWVjODU1ZTc0YTBiMjJhNDk4OGNmOWUwZWI2MWE4MzA5NCJ9 feat!: remove ListApplicablePolicies PiperOrigin-RevId: 475955031 Source-Link: https://togithub.com/googleapis/googleapis/commit/65376f43de1a43dcd40b21a5c2f844bde0049604 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c8504e97891ed9e664cf68270d7e61bec160fe57 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzg1MDRlOTc4OTFlZDllNjY0Y2Y2ODI3MGQ3ZTYxYmVjMTYwZmU1NyJ9 --- .../com/google/iam/v2/PoliciesClient.java | 249 --- .../com/google/iam/v2/PoliciesSettings.java | 19 - .../com/google/iam/v2/gapic_metadata.json | 3 - .../google/iam/v2/stub/GrpcPoliciesStub.java | 54 - .../iam/v2/stub/HttpJsonPoliciesStub.java | 76 - .../com/google/iam/v2/stub/PoliciesStub.java | 14 - .../iam/v2/stub/PoliciesStubSettings.java | 115 +- .../com/google/iam/v2/MockPoliciesImpl.java | 22 - .../iam/v2/PoliciesClientHttpJsonTest.java | 52 - .../com/google/iam/v2/PoliciesClientTest.java | 47 - .../java/com/google/iam/v2/PoliciesGrpc.java | 166 +- java-iam/pom.xml | 10 + .../java/com/google/iam/v1/AuditConfig.java | 143 +- .../com/google/iam/v1/AuditConfigDelta.java | 151 +- .../com/google/iam/v1/AuditLogConfig.java | 133 +- .../main/java/com/google/iam/v1/Binding.java | 153 +- .../java/com/google/iam/v1/BindingDelta.java | 158 +- .../google/iam/v1/GetIamPolicyRequest.java | 133 +- .../com/google/iam/v1/GetPolicyOptions.java | 110 +- .../main/java/com/google/iam/v1/Policy.java | 181 +- .../java/com/google/iam/v1/PolicyDelta.java | 161 +- .../google/iam/v1/SetIamPolicyRequest.java | 153 +- .../iam/v1/TestIamPermissionsRequest.java | 133 +- .../iam/v1/TestIamPermissionsResponse.java | 120 +- .../google/iam/v2/CreatePolicyRequest.java | 173 +- .../iam/v2/CreatePolicyRequestOrBuilder.java | 8 +- .../google/iam/v2/DeletePolicyRequest.java | 167 +- .../iam/v2/DeletePolicyRequestOrBuilder.java | 12 +- .../main/java/com/google/iam/v2/DenyRule.java | 201 +-- .../com/google/iam/v2/GetPolicyRequest.java | 112 +- .../iam/v2/ListApplicablePoliciesRequest.java | 1207 ------------- ...istApplicablePoliciesRequestOrBuilder.java | 141 -- .../v2/ListApplicablePoliciesResponse.java | 1503 ----------------- ...stApplicablePoliciesResponseOrBuilder.java | 180 -- .../google/iam/v2/ListPoliciesRequest.java | 206 +-- .../iam/v2/ListPoliciesRequestOrBuilder.java | 20 +- .../google/iam/v2/ListPoliciesResponse.java | 164 +- .../iam/v2/ListPoliciesResponseOrBuilder.java | 6 +- .../main/java/com/google/iam/v2/Policy.java | 410 ++--- .../iam/v2/PolicyOperationMetadata.java | 120 +- .../com/google/iam/v2/PolicyOrBuilder.java | 31 +- .../java/com/google/iam/v2/PolicyProto.java | 92 +- .../java/com/google/iam/v2/PolicyRule.java | 135 +- .../google/iam/v2/UpdatePolicyRequest.java | 119 +- .../src/main/proto/google/iam/v2/policy.proto | 133 +- .../iam/v2beta/CreatePolicyRequest.java | 145 +- .../iam/v2beta/DeletePolicyRequest.java | 125 +- .../java/com/google/iam/v2beta/DenyRule.java | 201 +-- .../google/iam/v2beta/GetPolicyRequest.java | 112 +- .../iam/v2beta/ListPoliciesRequest.java | 136 +- .../iam/v2beta/ListPoliciesResponse.java | 143 +- .../java/com/google/iam/v2beta/Policy.java | 284 ++-- .../iam/v2beta/PolicyOperationMetadata.java | 120 +- .../com/google/iam/v2beta/PolicyRule.java | 135 +- .../iam/v2beta/UpdatePolicyRequest.java | 119 +- 55 files changed, 2121 insertions(+), 7095 deletions(-) delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java index b7e40fcd0a36..92be44bc442b 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java @@ -780,175 +780,6 @@ public final UnaryCallable deletePolicyCallable( return stub.deletePolicyCallable(); } - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Retrieves all the policies that are attached to the specified resource, or anywhere in the - * ancestry of the resource. For example, for a project this endpoint would return all the - * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent - * organization (if any). The endpoint requires the same permissions that it would take to call - * `ListPolicies` or `GetPolicy`. - * - *

    The main reason to use this endpoint is as a policy admin to debug access issues for a - * resource. - * - *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    -   *   String attachmentPoint = "attachmentPoint-686994899";
    -   *   for (Policy element : policiesClient.listApplicablePolicies(attachmentPoint).iterateAll()) {
    -   *     // doThingsWith(element);
    -   *   }
    -   * }
    -   * }
    - * - * @param attachmentPoint Required. The Cloud resource at which the applicable policies are to be - * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource name, which means - * that the forward-slash character, `/`, must be written as `%2F`. For example, - * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListApplicablePoliciesPagedResponse listApplicablePolicies(String attachmentPoint) { - ListApplicablePoliciesRequest request = - ListApplicablePoliciesRequest.newBuilder().setAttachmentPoint(attachmentPoint).build(); - return listApplicablePolicies(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Retrieves all the policies that are attached to the specified resource, or anywhere in the - * ancestry of the resource. For example, for a project this endpoint would return all the - * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent - * organization (if any). The endpoint requires the same permissions that it would take to call - * `ListPolicies` or `GetPolicy`. - * - *

    The main reason to use this endpoint is as a policy admin to debug access issues for a - * resource. - * - *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    -   *   ListApplicablePoliciesRequest request =
    -   *       ListApplicablePoliciesRequest.newBuilder()
    -   *           .setAttachmentPoint("attachmentPoint-686994899")
    -   *           .setFilter("filter-1274492040")
    -   *           .setPageToken("pageToken873572522")
    -   *           .setPageSize(883849137)
    -   *           .build();
    -   *   for (Policy element : policiesClient.listApplicablePolicies(request).iterateAll()) {
    -   *     // doThingsWith(element);
    -   *   }
    -   * }
    -   * }
    - * - * @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 ListApplicablePoliciesPagedResponse listApplicablePolicies( - ListApplicablePoliciesRequest request) { - return listApplicablePoliciesPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Retrieves all the policies that are attached to the specified resource, or anywhere in the - * ancestry of the resource. For example, for a project this endpoint would return all the - * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent - * organization (if any). The endpoint requires the same permissions that it would take to call - * `ListPolicies` or `GetPolicy`. - * - *

    The main reason to use this endpoint is as a policy admin to debug access issues for a - * resource. - * - *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    -   *   ListApplicablePoliciesRequest request =
    -   *       ListApplicablePoliciesRequest.newBuilder()
    -   *           .setAttachmentPoint("attachmentPoint-686994899")
    -   *           .setFilter("filter-1274492040")
    -   *           .setPageToken("pageToken873572522")
    -   *           .setPageSize(883849137)
    -   *           .build();
    -   *   ApiFuture future =
    -   *       policiesClient.listApplicablePoliciesPagedCallable().futureCall(request);
    -   *   // Do something.
    -   *   for (Policy element : future.get().iterateAll()) {
    -   *     // doThingsWith(element);
    -   *   }
    -   * }
    -   * }
    - */ - public final UnaryCallable - listApplicablePoliciesPagedCallable() { - return stub.listApplicablePoliciesPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Retrieves all the policies that are attached to the specified resource, or anywhere in the - * ancestry of the resource. For example, for a project this endpoint would return all the - * `denyPolicy` kind policies attached to the project, its parent folder (if any), and its parent - * organization (if any). The endpoint requires the same permissions that it would take to call - * `ListPolicies` or `GetPolicy`. - * - *

    The main reason to use this endpoint is as a policy admin to debug access issues for a - * resource. - * - *

    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 (PoliciesClient policiesClient = PoliciesClient.create()) {
    -   *   ListApplicablePoliciesRequest request =
    -   *       ListApplicablePoliciesRequest.newBuilder()
    -   *           .setAttachmentPoint("attachmentPoint-686994899")
    -   *           .setFilter("filter-1274492040")
    -   *           .setPageToken("pageToken873572522")
    -   *           .setPageSize(883849137)
    -   *           .build();
    -   *   while (true) {
    -   *     ListApplicablePoliciesResponse response =
    -   *         policiesClient.listApplicablePoliciesCallable().call(request);
    -   *     for (Policy element : response.getPoliciesList()) {
    -   *       // doThingsWith(element);
    -   *     }
    -   *     String nextPageToken = response.getNextPageToken();
    -   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    -   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    -   *     } else {
    -   *       break;
    -   *     }
    -   *   }
    -   * }
    -   * }
    - */ - public final UnaryCallable - listApplicablePoliciesCallable() { - return stub.listApplicablePoliciesCallable(); - } - @Override public final void close() { stub.close(); @@ -1053,84 +884,4 @@ protected ListPoliciesFixedSizeCollection createCollection( return new ListPoliciesFixedSizeCollection(pages, collectionSize); } } - - public static class ListApplicablePoliciesPagedResponse - extends AbstractPagedListResponse< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - Policy, - ListApplicablePoliciesPage, - ListApplicablePoliciesFixedSizeCollection> { - - public static ApiFuture createAsync( - PageContext context, - ApiFuture futureResponse) { - ApiFuture futurePage = - ListApplicablePoliciesPage.createEmptyPage().createPageAsync(context, futureResponse); - return ApiFutures.transform( - futurePage, - input -> new ListApplicablePoliciesPagedResponse(input), - MoreExecutors.directExecutor()); - } - - private ListApplicablePoliciesPagedResponse(ListApplicablePoliciesPage page) { - super(page, ListApplicablePoliciesFixedSizeCollection.createEmptyCollection()); - } - } - - public static class ListApplicablePoliciesPage - extends AbstractPage< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - Policy, - ListApplicablePoliciesPage> { - - private ListApplicablePoliciesPage( - PageContext context, - ListApplicablePoliciesResponse response) { - super(context, response); - } - - private static ListApplicablePoliciesPage createEmptyPage() { - return new ListApplicablePoliciesPage(null, null); - } - - @Override - protected ListApplicablePoliciesPage createPage( - PageContext context, - ListApplicablePoliciesResponse response) { - return new ListApplicablePoliciesPage(context, response); - } - - @Override - public ApiFuture createPageAsync( - PageContext context, - ApiFuture futureResponse) { - return super.createPageAsync(context, futureResponse); - } - } - - public static class ListApplicablePoliciesFixedSizeCollection - extends AbstractFixedSizeCollection< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - Policy, - ListApplicablePoliciesPage, - ListApplicablePoliciesFixedSizeCollection> { - - private ListApplicablePoliciesFixedSizeCollection( - List pages, int collectionSize) { - super(pages, collectionSize); - } - - private static ListApplicablePoliciesFixedSizeCollection createEmptyCollection() { - return new ListApplicablePoliciesFixedSizeCollection(null, 0); - } - - @Override - protected ListApplicablePoliciesFixedSizeCollection createCollection( - List pages, int collectionSize) { - return new ListApplicablePoliciesFixedSizeCollection(pages, collectionSize); - } - } } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java index a8e27342b871..06ec905be736 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesSettings.java @@ -16,7 +16,6 @@ package com.google.iam.v2; -import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; import com.google.api.core.ApiFunction; @@ -118,15 +117,6 @@ public UnaryCallSettings deletePolicySettings() return ((PoliciesStubSettings) getStubSettings()).deletePolicyOperationSettings(); } - /** Returns the object with the settings used for calls to listApplicablePolicies. */ - public PagedCallSettings< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse> - listApplicablePoliciesSettings() { - return ((PoliciesStubSettings) getStubSettings()).listApplicablePoliciesSettings(); - } - public static final PoliciesSettings create(PoliciesStubSettings stub) throws IOException { return new PoliciesSettings.Builder(stub.toBuilder()).build(); } @@ -286,15 +276,6 @@ public UnaryCallSettings.Builder deletePolicySet return getStubSettingsBuilder().deletePolicyOperationSettings(); } - /** Returns the builder for the settings used for calls to listApplicablePolicies. */ - public PagedCallSettings.Builder< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse> - listApplicablePoliciesSettings() { - return getStubSettingsBuilder().listApplicablePoliciesSettings(); - } - @Override public PoliciesSettings build() throws IOException { return new PoliciesSettings(this); diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json index c0965438d84f..4277cbfcc4ab 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/gapic_metadata.json @@ -19,9 +19,6 @@ "GetPolicy": { "methods": ["getPolicy", "getPolicy", "getPolicyCallable"] }, - "ListApplicablePolicies": { - "methods": ["listApplicablePolicies", "listApplicablePolicies", "listApplicablePoliciesPagedCallable", "listApplicablePoliciesCallable"] - }, "ListPolicies": { "methods": ["listPolicies", "listPolicies", "listPoliciesPagedCallable", "listPoliciesCallable"] }, diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java index 3a0f0620f166..61258f90181e 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/GrpcPoliciesStub.java @@ -16,7 +16,6 @@ package com.google.iam.v2.stub; -import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; import com.google.api.gax.core.BackgroundResource; @@ -30,8 +29,6 @@ import com.google.iam.v2.CreatePolicyRequest; import com.google.iam.v2.DeletePolicyRequest; import com.google.iam.v2.GetPolicyRequest; -import com.google.iam.v2.ListApplicablePoliciesRequest; -import com.google.iam.v2.ListApplicablePoliciesResponse; import com.google.iam.v2.ListPoliciesRequest; import com.google.iam.v2.ListPoliciesResponse; import com.google.iam.v2.Policy; @@ -98,19 +95,6 @@ public class GrpcPoliciesStub extends PoliciesStub { .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); - private static final MethodDescriptor< - ListApplicablePoliciesRequest, ListApplicablePoliciesResponse> - listApplicablePoliciesMethodDescriptor = - MethodDescriptor - .newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.iam.v2.Policies/ListApplicablePolicies") - .setRequestMarshaller( - ProtoUtils.marshaller(ListApplicablePoliciesRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ListApplicablePoliciesResponse.getDefaultInstance())) - .build(); - private final UnaryCallable listPoliciesCallable; private final UnaryCallable listPoliciesPagedCallable; @@ -124,10 +108,6 @@ public class GrpcPoliciesStub extends PoliciesStub { private final UnaryCallable deletePolicyCallable; private final OperationCallable deletePolicyOperationCallable; - private final UnaryCallable - listApplicablePoliciesCallable; - private final UnaryCallable - listApplicablePoliciesPagedCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; @@ -218,18 +198,6 @@ protected GrpcPoliciesStub( return params.build(); }) .build(); - GrpcCallSettings - listApplicablePoliciesTransportSettings = - GrpcCallSettings - .newBuilder() - .setMethodDescriptor(listApplicablePoliciesMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("attachment_point", String.valueOf(request.getAttachmentPoint())); - return params.build(); - }) - .build(); this.listPoliciesCallable = callableFactory.createUnaryCallable( @@ -267,16 +235,6 @@ protected GrpcPoliciesStub( settings.deletePolicyOperationSettings(), clientContext, operationsStub); - this.listApplicablePoliciesCallable = - callableFactory.createUnaryCallable( - listApplicablePoliciesTransportSettings, - settings.listApplicablePoliciesSettings(), - clientContext); - this.listApplicablePoliciesPagedCallable = - callableFactory.createPagedCallable( - listApplicablePoliciesTransportSettings, - settings.listApplicablePoliciesSettings(), - clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -334,18 +292,6 @@ public UnaryCallable deletePolicyCallable() { return deletePolicyOperationCallable; } - @Override - public UnaryCallable - listApplicablePoliciesCallable() { - return listApplicablePoliciesCallable; - } - - @Override - public UnaryCallable - listApplicablePoliciesPagedCallable() { - return listApplicablePoliciesPagedCallable; - } - @Override public final void close() { try { diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java index 6370f750ee4d..fce3838dd1e3 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java @@ -16,7 +16,6 @@ package com.google.iam.v2.stub; -import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; import com.google.api.core.BetaApi; @@ -37,8 +36,6 @@ import com.google.iam.v2.CreatePolicyRequest; import com.google.iam.v2.DeletePolicyRequest; import com.google.iam.v2.GetPolicyRequest; -import com.google.iam.v2.ListApplicablePoliciesRequest; -import com.google.iam.v2.ListApplicablePoliciesResponse; import com.google.iam.v2.ListPoliciesRequest; import com.google.iam.v2.ListPoliciesResponse; import com.google.iam.v2.Policy; @@ -253,45 +250,6 @@ public class HttpJsonPoliciesStub extends PoliciesStub { HttpJsonOperationSnapshot.create(response)) .build(); - private static final ApiMethodDescriptor< - ListApplicablePoliciesRequest, ListApplicablePoliciesResponse> - listApplicablePoliciesMethodDescriptor = - ApiMethodDescriptor - .newBuilder() - .setFullMethodName("google.iam.v2.Policies/ListApplicablePolicies") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v2/{attachmentPoint=*}:listApplicablePolicies", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam( - fields, "attachmentPoint", request.getAttachmentPoint()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "filter", request.getFilter()); - serializer.putQueryParam(fields, "pageSize", request.getPageSize()); - serializer.putQueryParam(fields, "pageToken", request.getPageToken()); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(ListApplicablePoliciesResponse.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - private final UnaryCallable listPoliciesCallable; private final UnaryCallable listPoliciesPagedCallable; @@ -305,10 +263,6 @@ public class HttpJsonPoliciesStub extends PoliciesStub { private final UnaryCallable deletePolicyCallable; private final OperationCallable deletePolicyOperationCallable; - private final UnaryCallable - listApplicablePoliciesCallable; - private final UnaryCallable - listApplicablePoliciesPagedCallable; private final BackgroundResource backgroundResources; private final HttpJsonOperationsStub httpJsonOperationsStub; @@ -379,13 +333,6 @@ protected HttpJsonPoliciesStub( .setMethodDescriptor(deletePolicyMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); - HttpJsonCallSettings - listApplicablePoliciesTransportSettings = - HttpJsonCallSettings - .newBuilder() - .setMethodDescriptor(listApplicablePoliciesMethodDescriptor) - .setTypeRegistry(typeRegistry) - .build(); this.listPoliciesCallable = callableFactory.createUnaryCallable( @@ -423,16 +370,6 @@ protected HttpJsonPoliciesStub( settings.deletePolicyOperationSettings(), clientContext, httpJsonOperationsStub); - this.listApplicablePoliciesCallable = - callableFactory.createUnaryCallable( - listApplicablePoliciesTransportSettings, - settings.listApplicablePoliciesSettings(), - clientContext); - this.listApplicablePoliciesPagedCallable = - callableFactory.createPagedCallable( - listApplicablePoliciesTransportSettings, - settings.listApplicablePoliciesSettings(), - clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); @@ -446,7 +383,6 @@ public static List getMethodDescriptors() { methodDescriptors.add(createPolicyMethodDescriptor); methodDescriptors.add(updatePolicyMethodDescriptor); methodDescriptors.add(deletePolicyMethodDescriptor); - methodDescriptors.add(listApplicablePoliciesMethodDescriptor); return methodDescriptors; } @@ -502,18 +438,6 @@ public UnaryCallable deletePolicyCallable() { return deletePolicyOperationCallable; } - @Override - public UnaryCallable - listApplicablePoliciesCallable() { - return listApplicablePoliciesCallable; - } - - @Override - public UnaryCallable - listApplicablePoliciesPagedCallable() { - return listApplicablePoliciesPagedCallable; - } - @Override public final void close() { try { diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java index f00f4af8f2aa..90d52e011f07 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStub.java @@ -16,7 +16,6 @@ package com.google.iam.v2.stub; -import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; import com.google.api.gax.core.BackgroundResource; @@ -25,8 +24,6 @@ import com.google.iam.v2.CreatePolicyRequest; import com.google.iam.v2.DeletePolicyRequest; import com.google.iam.v2.GetPolicyRequest; -import com.google.iam.v2.ListApplicablePoliciesRequest; -import com.google.iam.v2.ListApplicablePoliciesResponse; import com.google.iam.v2.ListPoliciesRequest; import com.google.iam.v2.ListPoliciesResponse; import com.google.iam.v2.Policy; @@ -92,17 +89,6 @@ public UnaryCallable deletePolicyCallable() { throw new UnsupportedOperationException("Not implemented: deletePolicyCallable()"); } - public UnaryCallable - listApplicablePoliciesPagedCallable() { - throw new UnsupportedOperationException( - "Not implemented: listApplicablePoliciesPagedCallable()"); - } - - public UnaryCallable - listApplicablePoliciesCallable() { - throw new UnsupportedOperationException("Not implemented: listApplicablePoliciesCallable()"); - } - @Override public abstract void close(); } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java index 3a7ffe924800..2a9434e11fb0 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/PoliciesStubSettings.java @@ -16,7 +16,6 @@ package com.google.iam.v2.stub; -import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; import com.google.api.core.ApiFunction; @@ -55,8 +54,6 @@ import com.google.iam.v2.CreatePolicyRequest; import com.google.iam.v2.DeletePolicyRequest; import com.google.iam.v2.GetPolicyRequest; -import com.google.iam.v2.ListApplicablePoliciesRequest; -import com.google.iam.v2.ListApplicablePoliciesResponse; import com.google.iam.v2.ListPoliciesRequest; import com.google.iam.v2.ListPoliciesResponse; import com.google.iam.v2.Policy; @@ -120,11 +117,6 @@ public class PoliciesStubSettings extends StubSettings { private final UnaryCallSettings deletePolicySettings; private final OperationCallSettings deletePolicyOperationSettings; - private final PagedCallSettings< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse> - listApplicablePoliciesSettings; private static final PagedListDescriptor LIST_POLICIES_PAGE_STR_DESC = @@ -162,48 +154,6 @@ public Iterable extractResources(ListPoliciesResponse payload) { } }; - private static final PagedListDescriptor< - ListApplicablePoliciesRequest, ListApplicablePoliciesResponse, Policy> - LIST_APPLICABLE_POLICIES_PAGE_STR_DESC = - new PagedListDescriptor< - ListApplicablePoliciesRequest, ListApplicablePoliciesResponse, Policy>() { - @Override - public String emptyToken() { - return ""; - } - - @Override - public ListApplicablePoliciesRequest injectToken( - ListApplicablePoliciesRequest payload, String token) { - return ListApplicablePoliciesRequest.newBuilder(payload).setPageToken(token).build(); - } - - @Override - public ListApplicablePoliciesRequest injectPageSize( - ListApplicablePoliciesRequest payload, int pageSize) { - return ListApplicablePoliciesRequest.newBuilder(payload) - .setPageSize(pageSize) - .build(); - } - - @Override - public Integer extractPageSize(ListApplicablePoliciesRequest payload) { - return payload.getPageSize(); - } - - @Override - public String extractNextToken(ListApplicablePoliciesResponse payload) { - return payload.getNextPageToken(); - } - - @Override - public Iterable extractResources(ListApplicablePoliciesResponse payload) { - return payload.getPoliciesList() == null - ? ImmutableList.of() - : payload.getPoliciesList(); - } - }; - private static final PagedListResponseFactory< ListPoliciesRequest, ListPoliciesResponse, ListPoliciesPagedResponse> LIST_POLICIES_PAGE_STR_FACT = @@ -221,30 +171,6 @@ public ApiFuture getFuturePagedResponse( } }; - private static final PagedListResponseFactory< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse> - LIST_APPLICABLE_POLICIES_PAGE_STR_FACT = - new PagedListResponseFactory< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse>() { - @Override - public ApiFuture getFuturePagedResponse( - UnaryCallable - callable, - ListApplicablePoliciesRequest request, - ApiCallContext context, - ApiFuture futureResponse) { - PageContext - pageContext = - PageContext.create( - callable, LIST_APPLICABLE_POLICIES_PAGE_STR_DESC, request, context); - return ListApplicablePoliciesPagedResponse.createAsync(pageContext, futureResponse); - } - }; - /** Returns the object with the settings used for calls to listPolicies. */ public PagedCallSettings listPoliciesSettings() { @@ -289,15 +215,6 @@ public UnaryCallSettings deletePolicySettings() return deletePolicyOperationSettings; } - /** Returns the object with the settings used for calls to listApplicablePolicies. */ - public PagedCallSettings< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse> - listApplicablePoliciesSettings() { - return listApplicablePoliciesSettings; - } - public PoliciesStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() @@ -410,7 +327,6 @@ protected PoliciesStubSettings(Builder settingsBuilder) throws IOException { updatePolicyOperationSettings = settingsBuilder.updatePolicyOperationSettings().build(); deletePolicySettings = settingsBuilder.deletePolicySettings().build(); deletePolicyOperationSettings = settingsBuilder.deletePolicyOperationSettings().build(); - listApplicablePoliciesSettings = settingsBuilder.listApplicablePoliciesSettings().build(); } /** Builder for PoliciesStubSettings. */ @@ -432,11 +348,6 @@ public static class Builder extends StubSettings.Builder deletePolicyOperationSettings; - private final PagedCallSettings.Builder< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse> - listApplicablePoliciesSettings; private static final ImmutableMap> RETRYABLE_CODE_DEFINITIONS; @@ -446,7 +357,6 @@ public static class Builder extends StubSettings.BuildernewArrayList(StatusCode.Code.UNAVAILABLE))); - definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -466,8 +376,6 @@ public static class Builder extends StubSettings.Builder>of( @@ -495,8 +401,7 @@ protected Builder(ClientContext clientContext) { getPolicySettings, createPolicySettings, updatePolicySettings, - deletePolicySettings, - listApplicablePoliciesSettings); + deletePolicySettings); initDefaults(this); } @@ -511,7 +416,6 @@ protected Builder(PoliciesStubSettings settings) { updatePolicyOperationSettings = settings.updatePolicyOperationSettings.toBuilder(); deletePolicySettings = settings.deletePolicySettings.toBuilder(); deletePolicyOperationSettings = settings.deletePolicyOperationSettings.toBuilder(); - listApplicablePoliciesSettings = settings.listApplicablePoliciesSettings.toBuilder(); unaryMethodSettingsBuilders = ImmutableList.>of( @@ -519,8 +423,7 @@ protected Builder(PoliciesStubSettings settings) { getPolicySettings, createPolicySettings, updatePolicySettings, - deletePolicySettings, - listApplicablePoliciesSettings); + deletePolicySettings); } private static Builder createDefault() { @@ -575,11 +478,6 @@ private static Builder initDefaults(Builder builder) { .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); - builder - .listApplicablePoliciesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); - builder .createPolicyOperationSettings() .setInitialCallSettings( @@ -721,15 +619,6 @@ public UnaryCallSettings.Builder deletePolicySet return deletePolicyOperationSettings; } - /** Returns the builder for the settings used for calls to listApplicablePolicies. */ - public PagedCallSettings.Builder< - ListApplicablePoliciesRequest, - ListApplicablePoliciesResponse, - ListApplicablePoliciesPagedResponse> - listApplicablePoliciesSettings() { - return listApplicablePoliciesSettings; - } - @Override public PoliciesStubSettings build() throws IOException { return new PoliciesStubSettings(this); diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java index 1abaf30f096a..a77354b79a58 100644 --- a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/MockPoliciesImpl.java @@ -162,26 +162,4 @@ public void deletePolicy( Exception.class.getName()))); } } - - @Override - public void listApplicablePolicies( - ListApplicablePoliciesRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ListApplicablePoliciesResponse) { - requests.add(request); - responseObserver.onNext(((ListApplicablePoliciesResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ListApplicablePolicies, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ListApplicablePoliciesResponse.class.getName(), - Exception.class.getName()))); - } - } } diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java index e6534c8592a8..91228b7801e4 100644 --- a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientHttpJsonTest.java @@ -16,7 +16,6 @@ package com.google.iam.v2; -import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; import com.google.api.gax.core.NoCredentialsProvider; @@ -397,55 +396,4 @@ public void deletePolicyExceptionTest() throws Exception { } catch (ExecutionException e) { } } - - @Test - public void listApplicablePoliciesTest() throws Exception { - Policy responsesElement = Policy.newBuilder().build(); - ListApplicablePoliciesResponse expectedResponse = - ListApplicablePoliciesResponse.newBuilder() - .setNextPageToken("") - .addAllPolicies(Arrays.asList(responsesElement)) - .build(); - mockService.addResponse(expectedResponse); - - String attachmentPoint = "attachmentPoint-4653"; - - ListApplicablePoliciesPagedResponse pagedListResponse = - client.listApplicablePolicies(attachmentPoint); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void listApplicablePoliciesExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String attachmentPoint = "attachmentPoint-4653"; - client.listApplicablePolicies(attachmentPoint); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } } diff --git a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java index 5001a4d24162..81c53a73ed9d 100644 --- a/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java +++ b/java-iam/google-iam-policy/src/test/java/com/google/iam/v2/PoliciesClientTest.java @@ -16,7 +16,6 @@ package com.google.iam.v2; -import static com.google.iam.v2.PoliciesClient.ListApplicablePoliciesPagedResponse; import static com.google.iam.v2.PoliciesClient.ListPoliciesPagedResponse; import com.google.api.gax.core.NoCredentialsProvider; @@ -353,50 +352,4 @@ public void deletePolicyExceptionTest() throws Exception { Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); } } - - @Test - public void listApplicablePoliciesTest() throws Exception { - Policy responsesElement = Policy.newBuilder().build(); - ListApplicablePoliciesResponse expectedResponse = - ListApplicablePoliciesResponse.newBuilder() - .setNextPageToken("") - .addAllPolicies(Arrays.asList(responsesElement)) - .build(); - mockPolicies.addResponse(expectedResponse); - - String attachmentPoint = "attachmentPoint-686994899"; - - ListApplicablePoliciesPagedResponse pagedListResponse = - client.listApplicablePolicies(attachmentPoint); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getPoliciesList().get(0), resources.get(0)); - - List actualRequests = mockPolicies.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListApplicablePoliciesRequest actualRequest = - ((ListApplicablePoliciesRequest) actualRequests.get(0)); - - Assert.assertEquals(attachmentPoint, actualRequest.getAttachmentPoint()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listApplicablePoliciesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockPolicies.addException(exception); - - try { - String attachmentPoint = "attachmentPoint-686994899"; - client.listApplicablePolicies(attachmentPoint); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } } diff --git a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java index b5b34c763f87..bfd3857e078a 100644 --- a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java +++ b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java @@ -234,54 +234,6 @@ private PoliciesGrpc() {} return getDeletePolicyMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2.ListApplicablePoliciesRequest, - com.google.iam.v2.ListApplicablePoliciesResponse> - getListApplicablePoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApplicablePolicies", - requestType = com.google.iam.v2.ListApplicablePoliciesRequest.class, - responseType = com.google.iam.v2.ListApplicablePoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2.ListApplicablePoliciesRequest, - com.google.iam.v2.ListApplicablePoliciesResponse> - getListApplicablePoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2.ListApplicablePoliciesRequest, - com.google.iam.v2.ListApplicablePoliciesResponse> - getListApplicablePoliciesMethod; - if ((getListApplicablePoliciesMethod = PoliciesGrpc.getListApplicablePoliciesMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getListApplicablePoliciesMethod = PoliciesGrpc.getListApplicablePoliciesMethod) - == null) { - PoliciesGrpc.getListApplicablePoliciesMethod = - getListApplicablePoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListApplicablePolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.ListApplicablePoliciesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.ListApplicablePoliciesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new PoliciesMethodDescriptorSupplier("ListApplicablePolicies")) - .build(); - } - } - } - return getListApplicablePoliciesMethod; - } - /** Creates a new async stub that supports all call types for the service */ public static PoliciesStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = @@ -382,8 +334,7 @@ public void createPolicy( * Updates the specified policy. * You can update only the rules and the display name for the policy. * To update a policy, you should use a read-modify-write loop: - * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current - * version of the policy. + * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. * 2. Modify the policy as needed. * 3. Use `UpdatePolicy` to write the updated policy. * This pattern helps prevent conflicts between concurrent updates. @@ -410,29 +361,6 @@ public void deletePolicy( getDeletePolicyMethod(), responseObserver); } - /** - * - * - *
    -     * Retrieves all the policies that are attached to the specified resource,
    -     * or anywhere in the ancestry of the resource. For example, for a project
    -     * this endpoint would return all the `denyPolicy` kind policies attached to
    -     * the project, its parent folder (if any), and its parent organization (if
    -     * any).
    -     * The endpoint requires the same permissions that it would take to call
    -     * `ListPolicies` or `GetPolicy`.
    -     * The main reason to use this endpoint is as a policy admin to debug access
    -     * issues for a resource.
    -     * 
    - */ - public void listApplicablePolicies( - com.google.iam.v2.ListApplicablePoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListApplicablePoliciesMethod(), responseObserver); - } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -465,13 +393,6 @@ public final io.grpc.ServerServiceDefinition bindService() { new MethodHandlers< com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation>( this, METHODID_DELETE_POLICY))) - .addMethod( - getListApplicablePoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2.ListApplicablePoliciesRequest, - com.google.iam.v2.ListApplicablePoliciesResponse>( - this, METHODID_LIST_APPLICABLE_POLICIES))) .build(); } } @@ -549,8 +470,7 @@ public void createPolicy( * Updates the specified policy. * You can update only the rules and the display name for the policy. * To update a policy, you should use a read-modify-write loop: - * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current - * version of the policy. + * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. * 2. Modify the policy as needed. * 3. Use `UpdatePolicy` to write the updated policy. * This pattern helps prevent conflicts between concurrent updates. @@ -580,31 +500,6 @@ public void deletePolicy( request, responseObserver); } - - /** - * - * - *
    -     * Retrieves all the policies that are attached to the specified resource,
    -     * or anywhere in the ancestry of the resource. For example, for a project
    -     * this endpoint would return all the `denyPolicy` kind policies attached to
    -     * the project, its parent folder (if any), and its parent organization (if
    -     * any).
    -     * The endpoint requires the same permissions that it would take to call
    -     * `ListPolicies` or `GetPolicy`.
    -     * The main reason to use this endpoint is as a policy admin to debug access
    -     * issues for a resource.
    -     * 
    - */ - public void listApplicablePolicies( - com.google.iam.v2.ListApplicablePoliciesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApplicablePoliciesMethod(), getCallOptions()), - request, - responseObserver); - } } /** @@ -673,8 +568,7 @@ public com.google.longrunning.Operation createPolicy( * Updates the specified policy. * You can update only the rules and the display name for the policy. * To update a policy, you should use a read-modify-write loop: - * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current - * version of the policy. + * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. * 2. Modify the policy as needed. * 3. Use `UpdatePolicy` to write the updated policy. * This pattern helps prevent conflicts between concurrent updates. @@ -698,27 +592,6 @@ public com.google.longrunning.Operation deletePolicy( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeletePolicyMethod(), getCallOptions(), request); } - - /** - * - * - *
    -     * Retrieves all the policies that are attached to the specified resource,
    -     * or anywhere in the ancestry of the resource. For example, for a project
    -     * this endpoint would return all the `denyPolicy` kind policies attached to
    -     * the project, its parent folder (if any), and its parent organization (if
    -     * any).
    -     * The endpoint requires the same permissions that it would take to call
    -     * `ListPolicies` or `GetPolicy`.
    -     * The main reason to use this endpoint is as a policy admin to debug access
    -     * issues for a resource.
    -     * 
    - */ - public com.google.iam.v2.ListApplicablePoliciesResponse listApplicablePolicies( - com.google.iam.v2.ListApplicablePoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApplicablePoliciesMethod(), getCallOptions(), request); - } } /** @@ -789,8 +662,7 @@ public com.google.common.util.concurrent.ListenableFuture - * Retrieves all the policies that are attached to the specified resource, - * or anywhere in the ancestry of the resource. For example, for a project - * this endpoint would return all the `denyPolicy` kind policies attached to - * the project, its parent folder (if any), and its parent organization (if - * any). - * The endpoint requires the same permissions that it would take to call - * `ListPolicies` or `GetPolicy`. - * The main reason to use this endpoint is as a policy admin to debug access - * issues for a resource. - * - */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v2.ListApplicablePoliciesResponse> - listApplicablePolicies(com.google.iam.v2.ListApplicablePoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApplicablePoliciesMethod(), getCallOptions()), request); - } } private static final int METHODID_LIST_POLICIES = 0; @@ -843,7 +693,6 @@ public com.google.common.util.concurrent.ListenableFuture implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -888,12 +737,6 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.iam.v2.DeletePolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_LIST_APPLICABLE_POLICIES: - serviceImpl.listApplicablePolicies( - (com.google.iam.v2.ListApplicablePoliciesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; default: throw new AssertionError(); } @@ -961,7 +804,6 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getCreatePolicyMethod()) .addMethod(getUpdatePolicyMethod()) .addMethod(getDeletePolicyMethod()) - .addMethod(getListApplicablePoliciesMethod()) .build(); } } diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a7121ad6650e..977fc944c398 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -68,6 +68,16 @@ + com.google.protobuf + protobuf-bom + 3.21.7 + pom + import + + + com.google.cloud google-cloud-shared-dependencies 3.0.3 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 ec61d337d125..7d07f32436f0 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 @@ -99,66 +99,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private AuditConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - service_ = s; - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - auditLogConfigs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - auditLogConfigs_.add( - input.readMessage(com.google.iam.v1.AuditLogConfig.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - auditLogConfigs_ = java.util.Collections.unmodifiableList(auditLogConfigs_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor; } @@ -314,7 +254,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < auditLogConfigs_.size(); i++) { output.writeMessage(3, auditLogConfigs_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -329,7 +269,7 @@ public int getSerializedSize() { for (int i = 0; i < auditLogConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, auditLogConfigs_.get(i)); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -346,7 +286,7 @@ public boolean equals(final java.lang.Object obj) { if (!getService().equals(other.getService())) return false; if (!getAuditLogConfigsList().equals(other.getAuditLogConfigsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -363,7 +303,7 @@ public int hashCode() { hash = (37 * hash) + AUDIT_LOG_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getAuditLogConfigsList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -535,19 +475,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.AuditConfig.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getAuditLogConfigsFieldBuilder(); - } } @java.lang.Override @@ -557,10 +488,11 @@ public Builder clear() { if (auditLogConfigsBuilder_ == null) { auditLogConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + auditLogConfigs_ = null; auditLogConfigsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -677,7 +609,7 @@ public Builder mergeFrom(com.google.iam.v1.AuditConfig other) { } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -692,17 +624,49 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.AuditConfig parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + service_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 26: + { + com.google.iam.v1.AuditLogConfig m = + input.readMessage(com.google.iam.v1.AuditLogConfig.parser(), extensionRegistry); + if (auditLogConfigsBuilder_ == null) { + ensureAuditLogConfigsIsMutable(); + auditLogConfigs_.add(m); + } else { + auditLogConfigsBuilder_.addMessage(m); + } + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.AuditConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1209,7 +1173,18 @@ public AuditConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditConfig(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 56e4b058637c..622b64143c1c 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 @@ -56,73 +56,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private AuditConfigDelta( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - action_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - service_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - exemptedMember_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - logType_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfigDelta_descriptor; } @@ -519,7 +452,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logType_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -540,7 +473,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logType_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -559,7 +492,7 @@ public boolean equals(final java.lang.Object obj) { if (!getService().equals(other.getService())) return false; if (!getExemptedMember().equals(other.getExemptedMember())) return false; if (!getLogType().equals(other.getLogType())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -578,7 +511,7 @@ public int hashCode() { hash = (53 * hash) + getExemptedMember().hashCode(); hash = (37 * hash) + LOG_TYPE_FIELD_NUMBER; hash = (53 * hash) + getLogType().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -707,17 +640,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.AuditConfigDelta.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -825,7 +751,7 @@ public Builder mergeFrom(com.google.iam.v1.AuditConfigDelta other) { logType_ = other.logType_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -840,17 +766,55 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.AuditConfigDelta parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + action_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + service_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + exemptedMember_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + logType_ = input.readStringRequireUtf8(); + + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.AuditConfigDelta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1335,7 +1299,18 @@ public AuditConfigDelta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditConfigDelta(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 0008387a0040..645f2c04db07 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 @@ -69,66 +69,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private AuditLogConfig( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - logType_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - exemptedMembers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - exemptedMembers_.add(s); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - exemptedMembers_ = exemptedMembers_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditLogConfig_descriptor; } @@ -447,7 +387,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < exemptedMembers_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exemptedMembers_.getRaw(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -467,7 +407,7 @@ public int getSerializedSize() { size += dataSize; size += 1 * getExemptedMembersList().size(); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -484,7 +424,7 @@ public boolean equals(final java.lang.Object obj) { if (logType_ != other.logType_) return false; if (!getExemptedMembersList().equals(other.getExemptedMembersList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -501,7 +441,7 @@ public int hashCode() { hash = (37 * hash) + EXEMPTED_MEMBERS_FIELD_NUMBER; hash = (53 * hash) + getExemptedMembersList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -644,17 +584,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.AuditLogConfig.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -758,7 +691,7 @@ public Builder mergeFrom(com.google.iam.v1.AuditLogConfig other) { } onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -773,17 +706,44 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.AuditLogConfig parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + logType_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExemptedMembersIsMutable(); + exemptedMembers_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.AuditLogConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1098,7 +1058,18 @@ public AuditLogConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditLogConfig(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 cf06536c0fb4..d4cb1d80f702 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 @@ -53,80 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private Binding( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - role_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - members_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - members_.add(s); - break; - } - case 26: - { - com.google.type.Expr.Builder subBuilder = null; - if (condition_ != null) { - subBuilder = condition_.toBuilder(); - } - condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(condition_); - condition_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - members_ = members_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; } @@ -464,7 +390,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (condition_ != null) { output.writeMessage(3, getCondition()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -487,7 +413,7 @@ public int getSerializedSize() { if (condition_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCondition()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -508,7 +434,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCondition()) { if (!getCondition().equals(other.getCondition())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -529,7 +455,7 @@ public int hashCode() { hash = (37 * hash) + CONDITION_FIELD_NUMBER; hash = (53 * hash) + getCondition().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -654,17 +580,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.Binding.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -783,7 +702,7 @@ public Builder mergeFrom(com.google.iam.v1.Binding other) { if (other.hasCondition()) { mergeCondition(other.getCondition()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -798,17 +717,50 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.Binding parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + role_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMembersIsMutable(); + members_.add(s); + break; + } // case 18 + case 26: + { + input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.Binding) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1639,7 +1591,18 @@ public Binding parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Binding(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 b6ef165322ed..f6d46a10beb1 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 @@ -55,80 +55,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private BindingDelta( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - int rawValue = input.readEnum(); - - action_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - role_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - member_ = s; - break; - } - case 34: - { - com.google.type.Expr.Builder subBuilder = null; - if (condition_ != null) { - subBuilder = condition_.toBuilder(); - } - condition_ = input.readMessage(com.google.type.Expr.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(condition_); - condition_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; } @@ -515,7 +441,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (condition_ != null) { output.writeMessage(4, getCondition()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -536,7 +462,7 @@ public int getSerializedSize() { if (condition_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCondition()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -558,7 +484,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCondition()) { if (!getCondition().equals(other.getCondition())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -579,7 +505,7 @@ public int hashCode() { hash = (37 * hash) + CONDITION_FIELD_NUMBER; hash = (53 * hash) + getCondition().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -706,17 +632,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.BindingDelta.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -830,7 +749,7 @@ public Builder mergeFrom(com.google.iam.v1.BindingDelta other) { if (other.hasCondition()) { mergeCondition(other.getCondition()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -845,17 +764,55 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.BindingDelta parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + action_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + role_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + member_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.BindingDelta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1391,7 +1348,18 @@ public BindingDelta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new BindingDelta(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 1a41603b08c6..883feeaae90d 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 @@ -52,67 +52,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private GetIamPolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 18: - { - com.google.iam.v1.GetPolicyOptions.Builder subBuilder = null; - if (options_ != null) { - subBuilder = options_.toBuilder(); - } - options_ = - input.readMessage(com.google.iam.v1.GetPolicyOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(options_); - options_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.IamPolicyProto .internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; @@ -252,7 +191,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (options_ != null) { output.writeMessage(2, getOptions()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -267,7 +206,7 @@ public int getSerializedSize() { if (options_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -287,7 +226,7 @@ public boolean equals(final java.lang.Object obj) { if (hasOptions()) { if (!getOptions().equals(other.getOptions())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -304,7 +243,7 @@ public int hashCode() { hash = (37 * hash) + OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getOptions().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -432,17 +371,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.GetIamPolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -545,7 +477,7 @@ public Builder mergeFrom(com.google.iam.v1.GetIamPolicyRequest other) { if (other.hasOptions()) { mergeOptions(other.getOptions()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -560,17 +492,43 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.GetIamPolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + resource_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.GetIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -921,7 +879,18 @@ public GetIamPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetIamPolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 488dad2cc5d6..1c427ecb8ddc 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 @@ -50,50 +50,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private GetPolicyOptions( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - requestedPolicyVersion_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.OptionsProto.internal_static_google_iam_v1_GetPolicyOptions_descriptor; } @@ -156,7 +112,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (requestedPolicyVersion_ != 0) { output.writeInt32(1, requestedPolicyVersion_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -168,7 +124,7 @@ public int getSerializedSize() { if (requestedPolicyVersion_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, requestedPolicyVersion_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -184,7 +140,7 @@ public boolean equals(final java.lang.Object obj) { com.google.iam.v1.GetPolicyOptions other = (com.google.iam.v1.GetPolicyOptions) obj; if (getRequestedPolicyVersion() != other.getRequestedPolicyVersion()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -197,7 +153,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REQUESTED_POLICY_VERSION_FIELD_NUMBER; hash = (53 * hash) + getRequestedPolicyVersion(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -325,17 +281,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.GetPolicyOptions.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -422,7 +371,7 @@ public Builder mergeFrom(com.google.iam.v1.GetPolicyOptions other) { if (other.getRequestedPolicyVersion() != 0) { setRequestedPolicyVersion(other.getRequestedPolicyVersion()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -437,17 +386,37 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.GetPolicyOptions parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + requestedPolicyVersion_ = input.readInt32(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.GetPolicyOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -574,7 +543,18 @@ public GetPolicyOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPolicyOptions(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 db26b549fd00..b03aa80d06ab 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 @@ -112,82 +112,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private Policy( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - version_ = input.readInt32(); - break; - } - case 26: - { - etag_ = input.readBytes(); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bindings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - bindings_.add( - input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry)); - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - auditConfigs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - auditConfigs_.add( - input.readMessage(com.google.iam.v1.AuditConfig.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - bindings_ = java.util.Collections.unmodifiableList(bindings_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - auditConfigs_ = java.util.Collections.unmodifiableList(auditConfigs_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; } @@ -466,7 +390,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < auditConfigs_.size(); i++) { output.writeMessage(6, auditConfigs_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -487,7 +411,7 @@ public int getSerializedSize() { for (int i = 0; i < auditConfigs_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, auditConfigs_.get(i)); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -506,7 +430,7 @@ public boolean equals(final java.lang.Object obj) { if (!getBindingsList().equals(other.getBindingsList())) return false; if (!getAuditConfigsList().equals(other.getAuditConfigsList())) return false; if (!getEtag().equals(other.getEtag())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -529,7 +453,7 @@ public int hashCode() { } hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -712,20 +636,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.Policy.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getBindingsFieldBuilder(); - getAuditConfigsFieldBuilder(); - } } @java.lang.Override @@ -735,16 +649,18 @@ public Builder clear() { if (bindingsBuilder_ == null) { bindings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + bindings_ = null; bindingsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); if (auditConfigsBuilder_ == null) { auditConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); } else { + auditConfigs_ = null; auditConfigsBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000002); etag_ = com.google.protobuf.ByteString.EMPTY; return this; @@ -902,7 +818,7 @@ public Builder mergeFrom(com.google.iam.v1.Policy other) { if (other.getEtag() != com.google.protobuf.ByteString.EMPTY) { setEtag(other.getEtag()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -917,17 +833,67 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.Policy parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + version_ = input.readInt32(); + + break; + } // case 8 + case 26: + { + etag_ = input.readBytes(); + + break; + } // case 26 + case 34: + { + com.google.iam.v1.Binding m = + input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry); + if (bindingsBuilder_ == null) { + ensureBindingsIsMutable(); + bindings_.add(m); + } else { + bindingsBuilder_.addMessage(m); + } + break; + } // case 34 + case 50: + { + com.google.iam.v1.AuditConfig m = + input.readMessage(com.google.iam.v1.AuditConfig.parser(), extensionRegistry); + if (auditConfigsBuilder_ == null) { + ensureAuditConfigsIsMutable(); + auditConfigs_.add(m); + } else { + auditConfigsBuilder_.addMessage(m); + } + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.Policy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1987,7 +1953,18 @@ public Policy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Policy(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 ed094c19ce28..536ede1a7c94 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 @@ -53,73 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private PolicyDelta( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - bindingDeltas_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - bindingDeltas_.add( - input.readMessage(com.google.iam.v1.BindingDelta.parser(), extensionRegistry)); - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - auditConfigDeltas_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - auditConfigDeltas_.add( - input.readMessage( - com.google.iam.v1.AuditConfigDelta.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - auditConfigDeltas_ = java.util.Collections.unmodifiableList(auditConfigDeltas_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; } @@ -291,7 +224,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < auditConfigDeltas_.size(); i++) { output.writeMessage(2, auditConfigDeltas_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -307,7 +240,7 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, auditConfigDeltas_.get(i)); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -324,7 +257,7 @@ public boolean equals(final java.lang.Object obj) { if (!getBindingDeltasList().equals(other.getBindingDeltasList())) return false; if (!getAuditConfigDeltasList().equals(other.getAuditConfigDeltasList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,7 +276,7 @@ public int hashCode() { hash = (37 * hash) + AUDIT_CONFIG_DELTAS_FIELD_NUMBER; hash = (53 * hash) + getAuditConfigDeltasList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -469,20 +402,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.PolicyDelta.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getBindingDeltasFieldBuilder(); - getAuditConfigDeltasFieldBuilder(); - } } @java.lang.Override @@ -490,16 +413,18 @@ public Builder clear() { super.clear(); if (bindingDeltasBuilder_ == null) { bindingDeltas_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + bindingDeltas_ = null; bindingDeltasBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); if (auditConfigDeltasBuilder_ == null) { auditConfigDeltas_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); } else { + auditConfigDeltas_ = null; auditConfigDeltasBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -647,7 +572,7 @@ public Builder mergeFrom(com.google.iam.v1.PolicyDelta other) { } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -662,17 +587,56 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.PolicyDelta parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.iam.v1.BindingDelta m = + input.readMessage(com.google.iam.v1.BindingDelta.parser(), extensionRegistry); + if (bindingDeltasBuilder_ == null) { + ensureBindingDeltasIsMutable(); + bindingDeltas_.add(m); + } else { + bindingDeltasBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.iam.v1.AuditConfigDelta m = + input.readMessage( + com.google.iam.v1.AuditConfigDelta.parser(), extensionRegistry); + if (auditConfigDeltasBuilder_ == null) { + ensureAuditConfigDeltasIsMutable(); + auditConfigDeltas_.add(m); + } else { + auditConfigDeltasBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.PolicyDelta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1415,7 +1379,18 @@ public PolicyDelta parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PolicyDelta(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 3bf8dfa8c739..78d0c7aa0130 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 @@ -52,81 +52,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private SetIamPolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 18: - { - com.google.iam.v1.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v1.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.IamPolicyProto .internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; @@ -330,7 +255,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateMask_ != null) { output.writeMessage(3, getUpdateMask()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -348,7 +273,7 @@ public int getSerializedSize() { if (updateMask_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -372,7 +297,7 @@ public boolean equals(final java.lang.Object obj) { if (hasUpdateMask()) { if (!getUpdateMask().equals(other.getUpdateMask())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,7 +318,7 @@ public int hashCode() { hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; hash = (53 * hash) + getUpdateMask().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -521,17 +446,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.SetIamPolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -648,7 +566,7 @@ public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) { if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -663,17 +581,49 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.SetIamPolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + resource_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.SetIamPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1244,7 +1194,18 @@ public SetIamPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SetIamPolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 7e4b65833bc4..cb5dab7d8f15 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 @@ -53,66 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private TestIamPermissionsRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - resource_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - permissions_.add(s); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = permissions_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.IamPolicyProto .internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; @@ -276,7 +216,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, permissions_.getRaw(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -296,7 +236,7 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPermissionsList().size(); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -314,7 +254,7 @@ public boolean equals(final java.lang.Object obj) { if (!getResource().equals(other.getResource())) return false; if (!getPermissionsList().equals(other.getPermissionsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -331,7 +271,7 @@ public int hashCode() { hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + getPermissionsList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -460,17 +400,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.TestIamPermissionsRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -577,7 +510,7 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { } onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -592,17 +525,44 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.TestIamPermissionsRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + resource_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePermissionsIsMutable(); + permissions_.add(s); + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.TestIamPermissionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -956,7 +916,18 @@ public TestIamPermissionsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TestIamPermissionsRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 0aec2dfd047b..fbe4f1a3e7c7 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 @@ -52,59 +52,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private TestIamPermissionsResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - permissions_.add(s); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - permissions_ = permissions_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v1.IamPolicyProto .internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; @@ -202,7 +149,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < permissions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -219,7 +166,7 @@ public int getSerializedSize() { size += dataSize; size += 1 * getPermissionsList().size(); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -236,7 +183,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.iam.v1.TestIamPermissionsResponse) obj; if (!getPermissionsList().equals(other.getPermissionsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,7 +198,7 @@ public int hashCode() { hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + getPermissionsList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -380,17 +327,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v1.TestIamPermissionsResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -490,7 +430,7 @@ public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) { } onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -505,17 +445,38 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v1.TestIamPermissionsResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePermissionsIsMutable(); + permissions_.add(s); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.TestIamPermissionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -730,7 +691,18 @@ public TestIamPermissionsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new TestIamPermissionsResponse(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 3a88d070ef31..3566ce1abde0 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 @@ -53,73 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private CreatePolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.iam.v2.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - policyId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_CreatePolicyRequest_descriptor; @@ -141,8 +74,8 @@ 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`
    +   * 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,
    @@ -171,8 +104,8 @@ 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`
    +   * 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,
    @@ -322,7 +255,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 3, policyId_);
         }
    -    unknownFields.writeTo(output);
    +    getUnknownFields().writeTo(output);
       }
     
       @java.lang.Override
    @@ -340,7 +273,7 @@ public int getSerializedSize() {
         if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, policyId_);
         }
    -    size += unknownFields.getSerializedSize();
    +    size += getUnknownFields().getSerializedSize();
         memoizedSize = size;
         return size;
       }
    @@ -361,7 +294,7 @@ public boolean equals(final java.lang.Object obj) {
           if (!getPolicy().equals(other.getPolicy())) return false;
         }
         if (!getPolicyId().equals(other.getPolicyId())) return false;
    -    if (!unknownFields.equals(other.unknownFields)) return false;
    +    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
         return true;
       }
     
    @@ -380,7 +313,7 @@ public int hashCode() {
         }
         hash = (37 * hash) + POLICY_ID_FIELD_NUMBER;
         hash = (53 * hash) + getPolicyId().hashCode();
    -    hash = (29 * hash) + unknownFields.hashCode();
    +    hash = (29 * hash) + getUnknownFields().hashCode();
         memoizedHashCode = hash;
         return hash;
       }
    @@ -508,17 +441,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
         }
     
         // Construct using com.google.iam.v2.CreatePolicyRequest.newBuilder()
    -    private Builder() {
    -      maybeForceBuilderInitialization();
    -    }
    +    private Builder() {}
     
         private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
    -      maybeForceBuilderInitialization();
    -    }
    -
    -    private void maybeForceBuilderInitialization() {
    -      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
         }
     
         @java.lang.Override
    @@ -628,7 +554,7 @@ public Builder mergeFrom(com.google.iam.v2.CreatePolicyRequest other) {
             policyId_ = other.policyId_;
             onChanged();
           }
    -      this.mergeUnknownFields(other.unknownFields);
    +      this.mergeUnknownFields(other.getUnknownFields());
           onChanged();
           return this;
         }
    @@ -643,17 +569,49 @@ public Builder mergeFrom(
             com.google.protobuf.CodedInputStream input,
             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
             throws java.io.IOException {
    -      com.google.iam.v2.CreatePolicyRequest parsedMessage = null;
    +      if (extensionRegistry == null) {
    +        throw new java.lang.NullPointerException();
    +      }
           try {
    -        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
    +        boolean done = false;
    +        while (!done) {
    +          int tag = input.readTag();
    +          switch (tag) {
    +            case 0:
    +              done = true;
    +              break;
    +            case 10:
    +              {
    +                parent_ = input.readStringRequireUtf8();
    +
    +                break;
    +              } // case 10
    +            case 18:
    +              {
    +                input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry);
    +
    +                break;
    +              } // case 18
    +            case 26:
    +              {
    +                policyId_ = input.readStringRequireUtf8();
    +
    +                break;
    +              } // case 26
    +            default:
    +              {
    +                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
    +                  done = true; // was an endgroup tag
    +                }
    +                break;
    +              } // default:
    +          } // switch (tag)
    +        } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -        parsedMessage = (com.google.iam.v2.CreatePolicyRequest) e.getUnfinishedMessage();
             throw e.unwrapIOException();
           } finally {
    -        if (parsedMessage != null) {
    -          mergeFrom(parsedMessage);
    -        }
    -      }
    +        onChanged();
    +      } // finally
           return this;
         }
     
    @@ -662,8 +620,8 @@ 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`
    +     * 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,
    @@ -691,8 +649,8 @@ 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`
    +     * 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,
    @@ -720,8 +678,8 @@ 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`
    +     * 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,
    @@ -748,8 +706,8 @@ 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`
    +     * 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,
    @@ -772,8 +730,8 @@ 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`
    +     * 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,
    @@ -1128,7 +1086,18 @@ public CreatePolicyRequest parsePartialFrom(
                 com.google.protobuf.CodedInputStream input,
                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                 throws com.google.protobuf.InvalidProtocolBufferException {
    -          return new CreatePolicyRequest(input, extensionRegistry);
    +          Builder builder = newBuilder();
    +          try {
    +            builder.mergeFrom(input, extensionRegistry);
    +          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    +            throw e.setUnfinishedMessage(builder.buildPartial());
    +          } catch (com.google.protobuf.UninitializedMessageException e) {
    +            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
    +          } catch (java.io.IOException e) {
    +            throw new com.google.protobuf.InvalidProtocolBufferException(e)
    +                .setUnfinishedMessage(builder.buildPartial());
    +          }
    +          return builder.buildPartial();
             }
           };
     
    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 35cbef4d5956..3825ae18ff91 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
    @@ -27,8 +27,8 @@ 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`
    +   * 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,
    @@ -46,8 +46,8 @@ 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`
    +   * 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,
    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 44d2147b0b8c..3900d3dc95d6 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
    @@ -53,59 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
         return this.unknownFields;
       }
     
    -  private DeletePolicyRequest(
    -      com.google.protobuf.CodedInputStream input,
    -      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
    -      throws com.google.protobuf.InvalidProtocolBufferException {
    -    this();
    -    if (extensionRegistry == null) {
    -      throw new java.lang.NullPointerException();
    -    }
    -    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
    -        com.google.protobuf.UnknownFieldSet.newBuilder();
    -    try {
    -      boolean done = false;
    -      while (!done) {
    -        int tag = input.readTag();
    -        switch (tag) {
    -          case 0:
    -            done = true;
    -            break;
    -          case 10:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -
    -              name_ = s;
    -              break;
    -            }
    -          case 18:
    -            {
    -              java.lang.String s = input.readStringRequireUtf8();
    -
    -              etag_ = s;
    -              break;
    -            }
    -          default:
    -            {
    -              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
    -                done = true;
    -              }
    -              break;
    -            }
    -        }
    -      }
    -    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
    -      throw e.setUnfinishedMessage(this);
    -    } catch (com.google.protobuf.UninitializedMessageException e) {
    -      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
    -    } catch (java.io.IOException e) {
    -      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
    -    } finally {
    -      this.unknownFields = unknownFields.build();
    -      makeExtensionsImmutable();
    -    }
    -  }
    -
       public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
         return com.google.iam.v2.PolicyProto
             .internal_static_google_iam_v2_DeletePolicyRequest_descriptor;
    @@ -188,9 +135,9 @@ 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.
    +   * 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`.
        * 
    @@ -215,9 +162,9 @@ 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.
    +   * 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`.
        * 
    @@ -259,7 +206,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -274,7 +221,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -291,7 +238,7 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getEtag().equals(other.getEtag())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,7 +253,7 @@ public int hashCode() { hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -434,17 +381,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.DeletePolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -540,7 +480,7 @@ public Builder mergeFrom(com.google.iam.v2.DeletePolicyRequest other) { etag_ = other.etag_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -555,17 +495,43 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.DeletePolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.DeletePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -710,9 +676,9 @@ 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.
    +     * 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`.
          * 
    @@ -736,9 +702,9 @@ 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.
    +     * 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`.
          * 
    @@ -762,9 +728,9 @@ 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.
    +     * 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`.
          * 
    @@ -787,9 +753,9 @@ 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.
    +     * 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`.
          * 
    @@ -808,9 +774,9 @@ 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.
    +     * 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`.
          * 
    @@ -863,7 +829,18 @@ public DeletePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 a0d077f2f4f3..9bdd7fc3d3ba 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 @@ -64,9 +64,9 @@ 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.
    +   * 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`.
        * 
    @@ -80,9 +80,9 @@ 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.
    +   * 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 61475584629b..f3bc03f5993c 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 @@ -55,113 +55,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private DenyRule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deniedPrincipals_.add(s); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - exceptionPrincipals_.add(s); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - deniedPermissions_.add(s); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - exceptionPermissions_.add(s); - break; - } - case 42: - { - com.google.type.Expr.Builder subBuilder = null; - if (denialCondition_ != null) { - subBuilder = denialCondition_.toBuilder(); - } - denialCondition_ = - input.readMessage(com.google.type.Expr.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(denialCondition_); - denialCondition_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_descriptor; } @@ -698,7 +591,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (denialCondition_ != null) { output.writeMessage(5, getDenialCondition()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -742,7 +635,7 @@ public int getSerializedSize() { if (denialCondition_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDenialCondition()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -765,7 +658,7 @@ public boolean equals(final java.lang.Object obj) { if (hasDenialCondition()) { if (!getDenialCondition().equals(other.getDenialCondition())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -796,7 +689,7 @@ public int hashCode() { hash = (37 * hash) + DENIAL_CONDITION_FIELD_NUMBER; hash = (53 * hash) + getDenialCondition().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -922,17 +815,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.DenyRule.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -1095,7 +981,7 @@ public Builder mergeFrom(com.google.iam.v2.DenyRule other) { if (other.hasDenialCondition()) { mergeDenialCondition(other.getDenialCondition()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1110,17 +996,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.DenyRule parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.add(s); + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.add(s); + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.add(s); + break; + } // case 34 + case 42: + { + input.readMessage(getDenialConditionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.DenyRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -2484,7 +2418,18 @@ public DenyRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DenyRule(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 895940744b66..e3888a12fd71 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 @@ -52,52 +52,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private GetPolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_GetPolicyRequest_descriptor; } @@ -190,7 +144,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -202,7 +156,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -218,7 +172,7 @@ public boolean equals(final java.lang.Object obj) { com.google.iam.v2.GetPolicyRequest other = (com.google.iam.v2.GetPolicyRequest) obj; if (!getName().equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,7 +185,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -359,17 +313,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.GetPolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -457,7 +404,7 @@ public Builder mergeFrom(com.google.iam.v2.GetPolicyRequest other) { name_ = other.name_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -472,17 +419,37 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.GetPolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.GetPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -654,7 +621,18 @@ public GetPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java deleted file mode 100644 index fad84f5d0789..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequest.java +++ /dev/null @@ -1,1207 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * `ListApplicablePoliciesRequest` represents the Request message for the
    - * `ListApplicablePolicies` method. It provides the input for a filterable query
    - * of Policies that apply to a certain GCP Resource, specified by the field
    - * `attachment_point`, found on this message.
    - * Example:
    - * ```
    - * {
    - *    attachment_point:
    - *    'cloudresourcemanager.googleapis.com%2Forganizations%2F212345678901'
    - *    filter: 'kind:denyPolicies'
    - * }
    - * ```
    - * 
    - * - * Protobuf type {@code google.iam.v2.ListApplicablePoliciesRequest} - */ -public final class ListApplicablePoliciesRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.ListApplicablePoliciesRequest) - ListApplicablePoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListApplicablePoliciesRequest.newBuilder() to construct. - private ListApplicablePoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListApplicablePoliciesRequest() { - attachmentPoint_ = ""; - filter_ = ""; - pageToken_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListApplicablePoliciesRequest(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ListApplicablePoliciesRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - attachmentPoint_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - filter_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - case 32: - { - pageSize_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListApplicablePoliciesRequest.class, - com.google.iam.v2.ListApplicablePoliciesRequest.Builder.class); - } - - public static final int ATTACHMENT_POINT_FIELD_NUMBER = 1; - private volatile java.lang.Object attachmentPoint_; - /** - * - * - *
    -   * Required. The Cloud resource at which the applicable policies are to be
    -   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -   * name, which means that the forward-slash character, `/`, must be written as
    -   * `%2F`. For example,
    -   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -   * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The attachmentPoint. - */ - @java.lang.Override - public java.lang.String getAttachmentPoint() { - java.lang.Object ref = attachmentPoint_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - attachmentPoint_ = s; - return s; - } - } - /** - * - * - *
    -   * Required. The Cloud resource at which the applicable policies are to be
    -   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -   * name, which means that the forward-slash character, `/`, must be written as
    -   * `%2F`. For example,
    -   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -   * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for attachmentPoint. - */ - @java.lang.Override - public com.google.protobuf.ByteString getAttachmentPointBytes() { - java.lang.Object ref = attachmentPoint_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - attachmentPoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int FILTER_FIELD_NUMBER = 2; - private volatile java.lang.Object filter_; - /** - * - * - *
    -   * Filtering currently only supports the kind of policies to return, and
    -   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -   * policy kinds may be added in the future without notice.
    -   * Example value: “kind:denyPolicies”
    -   * 
    - * - * string filter = 2; - * - * @return The filter. - */ - @java.lang.Override - public java.lang.String getFilter() { - java.lang.Object ref = filter_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filter_ = s; - return s; - } - } - /** - * - * - *
    -   * Filtering currently only supports the kind of policies to return, and
    -   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -   * policy kinds may be added in the future without notice.
    -   * Example value: “kind:denyPolicies”
    -   * 
    - * - * string filter = 2; - * - * @return The bytes for filter. - */ - @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { - java.lang.Object ref = filter_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object pageToken_; - /** - * - * - *
    -   * If present, then retrieve the batch of results following the results from
    -   * the preceding call to this method.  `page_token` must be the value of
    -   * `next_page_token`
    -   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -   * from the previous response.  The values of other method parameters should
    -   * be identical to those in the previous call.
    -   * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - @java.lang.Override - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } - } - /** - * - * - *
    -   * If present, then retrieve the batch of results following the results from
    -   * the preceding call to this method.  `page_token` must be the value of
    -   * `next_page_token`
    -   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -   * from the previous response.  The values of other method parameters should
    -   * be identical to those in the previous call.
    -   * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PAGE_SIZE_FIELD_NUMBER = 4; - private int pageSize_; - /** - * - * - *
    -   * Limit on the number of policies to include in the response.
    -   * Further policies can subsequently be obtained by including the
    -   * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    -   * in a subsequent request.
    -   * The minimum is 25, and the maximum is 100.
    -   * 
    - * - * int32 page_size = 4; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachmentPoint_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attachmentPoint_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); - } - if (pageSize_ != 0) { - output.writeInt32(4, pageSize_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attachmentPoint_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attachmentPoint_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); - } - if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.ListApplicablePoliciesRequest)) { - return super.equals(obj); - } - com.google.iam.v2.ListApplicablePoliciesRequest other = - (com.google.iam.v2.ListApplicablePoliciesRequest) obj; - - if (!getAttachmentPoint().equals(other.getAttachmentPoint())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ATTACHMENT_POINT_FIELD_NUMBER; - hash = (53 * hash) + getAttachmentPoint().hashCode(); - hash = (37 * hash) + FILTER_FIELD_NUMBER; - hash = (53 * hash) + getFilter().hashCode(); - hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getPageToken().hashCode(); - hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPageSize(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.ListApplicablePoliciesRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * `ListApplicablePoliciesRequest` represents the Request message for the
    -   * `ListApplicablePolicies` method. It provides the input for a filterable query
    -   * of Policies that apply to a certain GCP Resource, specified by the field
    -   * `attachment_point`, found on this message.
    -   * Example:
    -   * ```
    -   * {
    -   *    attachment_point:
    -   *    'cloudresourcemanager.googleapis.com%2Forganizations%2F212345678901'
    -   *    filter: 'kind:denyPolicies'
    -   * }
    -   * ```
    -   * 
    - * - * Protobuf type {@code google.iam.v2.ListApplicablePoliciesRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.ListApplicablePoliciesRequest) - com.google.iam.v2.ListApplicablePoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListApplicablePoliciesRequest.class, - com.google.iam.v2.ListApplicablePoliciesRequest.Builder.class); - } - - // Construct using com.google.iam.v2.ListApplicablePoliciesRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - attachmentPoint_ = ""; - - filter_ = ""; - - pageToken_ = ""; - - pageSize_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesRequest getDefaultInstanceForType() { - return com.google.iam.v2.ListApplicablePoliciesRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesRequest build() { - com.google.iam.v2.ListApplicablePoliciesRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesRequest buildPartial() { - com.google.iam.v2.ListApplicablePoliciesRequest result = - new com.google.iam.v2.ListApplicablePoliciesRequest(this); - result.attachmentPoint_ = attachmentPoint_; - result.filter_ = filter_; - result.pageToken_ = pageToken_; - result.pageSize_ = pageSize_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.ListApplicablePoliciesRequest) { - return mergeFrom((com.google.iam.v2.ListApplicablePoliciesRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.ListApplicablePoliciesRequest other) { - if (other == com.google.iam.v2.ListApplicablePoliciesRequest.getDefaultInstance()) - return this; - if (!other.getAttachmentPoint().isEmpty()) { - attachmentPoint_ = other.attachmentPoint_; - onChanged(); - } - if (!other.getFilter().isEmpty()) { - filter_ = other.filter_; - onChanged(); - } - if (!other.getPageToken().isEmpty()) { - pageToken_ = other.pageToken_; - onChanged(); - } - if (other.getPageSize() != 0) { - setPageSize(other.getPageSize()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.iam.v2.ListApplicablePoliciesRequest parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.ListApplicablePoliciesRequest) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private java.lang.Object attachmentPoint_ = ""; - /** - * - * - *
    -     * Required. The Cloud resource at which the applicable policies are to be
    -     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -     * name, which means that the forward-slash character, `/`, must be written as
    -     * `%2F`. For example,
    -     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -     * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The attachmentPoint. - */ - public java.lang.String getAttachmentPoint() { - java.lang.Object ref = attachmentPoint_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - attachmentPoint_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Required. The Cloud resource at which the applicable policies are to be
    -     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -     * name, which means that the forward-slash character, `/`, must be written as
    -     * `%2F`. For example,
    -     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -     * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for attachmentPoint. - */ - public com.google.protobuf.ByteString getAttachmentPointBytes() { - java.lang.Object ref = attachmentPoint_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - attachmentPoint_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Required. The Cloud resource at which the applicable policies are to be
    -     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -     * name, which means that the forward-slash character, `/`, must be written as
    -     * `%2F`. For example,
    -     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -     * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The attachmentPoint to set. - * @return This builder for chaining. - */ - public Builder setAttachmentPoint(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - attachmentPoint_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Required. The Cloud resource at which the applicable policies are to be
    -     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -     * name, which means that the forward-slash character, `/`, must be written as
    -     * `%2F`. For example,
    -     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -     * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearAttachmentPoint() { - - attachmentPoint_ = getDefaultInstance().getAttachmentPoint(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Required. The Cloud resource at which the applicable policies are to be
    -     * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -     * name, which means that the forward-slash character, `/`, must be written as
    -     * `%2F`. For example,
    -     * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -     * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for attachmentPoint to set. - * @return This builder for chaining. - */ - public Builder setAttachmentPointBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - attachmentPoint_ = value; - onChanged(); - return this; - } - - private java.lang.Object filter_ = ""; - /** - * - * - *
    -     * Filtering currently only supports the kind of policies to return, and
    -     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -     * policy kinds may be added in the future without notice.
    -     * Example value: “kind:denyPolicies”
    -     * 
    - * - * string filter = 2; - * - * @return The filter. - */ - public java.lang.String getFilter() { - java.lang.Object ref = filter_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - filter_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Filtering currently only supports the kind of policies to return, and
    -     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -     * policy kinds may be added in the future without notice.
    -     * Example value: “kind:denyPolicies”
    -     * 
    - * - * string filter = 2; - * - * @return The bytes for filter. - */ - public com.google.protobuf.ByteString getFilterBytes() { - java.lang.Object ref = filter_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - filter_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Filtering currently only supports the kind of policies to return, and
    -     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -     * policy kinds may be added in the future without notice.
    -     * Example value: “kind:denyPolicies”
    -     * 
    - * - * string filter = 2; - * - * @param value The filter to set. - * @return This builder for chaining. - */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - filter_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Filtering currently only supports the kind of policies to return, and
    -     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -     * policy kinds may be added in the future without notice.
    -     * Example value: “kind:denyPolicies”
    -     * 
    - * - * string filter = 2; - * - * @return This builder for chaining. - */ - public Builder clearFilter() { - - filter_ = getDefaultInstance().getFilter(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Filtering currently only supports the kind of policies to return, and
    -     * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -     * policy kinds may be added in the future without notice.
    -     * Example value: “kind:denyPolicies”
    -     * 
    - * - * string filter = 2; - * - * @param value The bytes for filter to set. - * @return This builder for chaining. - */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - filter_ = value; - onChanged(); - return this; - } - - private java.lang.Object pageToken_ = ""; - /** - * - * - *
    -     * If present, then retrieve the batch of results following the results from
    -     * the preceding call to this method.  `page_token` must be the value of
    -     * `next_page_token`
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -     * from the previous response.  The values of other method parameters should
    -     * be identical to those in the previous call.
    -     * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * If present, then retrieve the batch of results following the results from
    -     * the preceding call to this method.  `page_token` must be the value of
    -     * `next_page_token`
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -     * from the previous response.  The values of other method parameters should
    -     * be identical to those in the previous call.
    -     * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * If present, then retrieve the batch of results following the results from
    -     * the preceding call to this method.  `page_token` must be the value of
    -     * `next_page_token`
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -     * from the previous response.  The values of other method parameters should
    -     * be identical to those in the previous call.
    -     * 
    - * - * string page_token = 3; - * - * @param value The pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - pageToken_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * If present, then retrieve the batch of results following the results from
    -     * the preceding call to this method.  `page_token` must be the value of
    -     * `next_page_token`
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -     * from the previous response.  The values of other method parameters should
    -     * be identical to those in the previous call.
    -     * 
    - * - * string page_token = 3; - * - * @return This builder for chaining. - */ - public Builder clearPageToken() { - - pageToken_ = getDefaultInstance().getPageToken(); - onChanged(); - return this; - } - /** - * - * - *
    -     * If present, then retrieve the batch of results following the results from
    -     * the preceding call to this method.  `page_token` must be the value of
    -     * `next_page_token`
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -     * from the previous response.  The values of other method parameters should
    -     * be identical to those in the previous call.
    -     * 
    - * - * string page_token = 3; - * - * @param value The bytes for pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - pageToken_ = value; - onChanged(); - return this; - } - - private int pageSize_; - /** - * - * - *
    -     * Limit on the number of policies to include in the response.
    -     * Further policies can subsequently be obtained by including the
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    -     * in a subsequent request.
    -     * The minimum is 25, and the maximum is 100.
    -     * 
    - * - * int32 page_size = 4; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - /** - * - * - *
    -     * Limit on the number of policies to include in the response.
    -     * Further policies can subsequently be obtained by including the
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    -     * in a subsequent request.
    -     * The minimum is 25, and the maximum is 100.
    -     * 
    - * - * int32 page_size = 4; - * - * @param value The pageSize to set. - * @return This builder for chaining. - */ - public Builder setPageSize(int value) { - - pageSize_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Limit on the number of policies to include in the response.
    -     * Further policies can subsequently be obtained by including the
    -     * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    -     * in a subsequent request.
    -     * The minimum is 25, and the maximum is 100.
    -     * 
    - * - * int32 page_size = 4; - * - * @return This builder for chaining. - */ - public Builder clearPageSize() { - - pageSize_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.ListApplicablePoliciesRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.ListApplicablePoliciesRequest) - private static final com.google.iam.v2.ListApplicablePoliciesRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.ListApplicablePoliciesRequest(); - } - - public static com.google.iam.v2.ListApplicablePoliciesRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApplicablePoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApplicablePoliciesRequest(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java deleted file mode 100644 index b4b9180803de..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesRequestOrBuilder.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface ListApplicablePoliciesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.ListApplicablePoliciesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Required. The Cloud resource at which the applicable policies are to be
    -   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -   * name, which means that the forward-slash character, `/`, must be written as
    -   * `%2F`. For example,
    -   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -   * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The attachmentPoint. - */ - java.lang.String getAttachmentPoint(); - /** - * - * - *
    -   * Required. The Cloud resource at which the applicable policies are to be
    -   * retrieved. Format: `{attachment-point}` Use the URL-encoded full resource
    -   * name, which means that the forward-slash character, `/`, must be written as
    -   * `%2F`. For example,
    -   * `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`.
    -   * 
    - * - * string attachment_point = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for attachmentPoint. - */ - com.google.protobuf.ByteString getAttachmentPointBytes(); - - /** - * - * - *
    -   * Filtering currently only supports the kind of policies to return, and
    -   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -   * policy kinds may be added in the future without notice.
    -   * Example value: “kind:denyPolicies”
    -   * 
    - * - * string filter = 2; - * - * @return The filter. - */ - java.lang.String getFilter(); - /** - * - * - *
    -   * Filtering currently only supports the kind of policies to return, and
    -   * must be in the format “kind:[policyKind1] OR kind:[policyKind2]”.  New
    -   * policy kinds may be added in the future without notice.
    -   * Example value: “kind:denyPolicies”
    -   * 
    - * - * string filter = 2; - * - * @return The bytes for filter. - */ - com.google.protobuf.ByteString getFilterBytes(); - - /** - * - * - *
    -   * If present, then retrieve the batch of results following the results from
    -   * the preceding call to this method.  `page_token` must be the value of
    -   * `next_page_token`
    -   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -   * from the previous response.  The values of other method parameters should
    -   * be identical to those in the previous call.
    -   * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - /** - * - * - *
    -   * If present, then retrieve the batch of results following the results from
    -   * the preceding call to this method.  `page_token` must be the value of
    -   * `next_page_token`
    -   * [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token]
    -   * from the previous response.  The values of other method parameters should
    -   * be identical to those in the previous call.
    -   * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); - - /** - * - * - *
    -   * Limit on the number of policies to include in the response.
    -   * Further policies can subsequently be obtained by including the
    -   * [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token]
    -   * in a subsequent request.
    -   * The minimum is 25, and the maximum is 100.
    -   * 
    - * - * int32 page_size = 4; - * - * @return The pageSize. - */ - int getPageSize(); -} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java deleted file mode 100644 index 6c31b640b6c5..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponse.java +++ /dev/null @@ -1,1503 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Response message for [ListApplicablePolicies][] method.
    - * 
    - * - * Protobuf type {@code google.iam.v2.ListApplicablePoliciesResponse} - */ -public final class ListApplicablePoliciesResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.ListApplicablePoliciesResponse) - ListApplicablePoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListApplicablePoliciesResponse.newBuilder() to construct. - private ListApplicablePoliciesResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListApplicablePoliciesResponse() { - policies_ = java.util.Collections.emptyList(); - inaccessible_ = com.google.protobuf.LazyStringArrayList.EMPTY; - nextPageToken_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListApplicablePoliciesResponse(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ListApplicablePoliciesResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - policies_.add( - input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry)); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - inaccessible_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - inaccessible_.add(s); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = java.util.Collections.unmodifiableList(policies_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - inaccessible_ = inaccessible_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListApplicablePoliciesResponse.class, - com.google.iam.v2.ListApplicablePoliciesResponse.Builder.class); - } - - public static final int POLICIES_FIELD_NUMBER = 1; - private java.util.List policies_; - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public java.util.List getPoliciesList() { - return policies_; - } - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public java.util.List getPoliciesOrBuilderList() { - return policies_; - } - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public int getPoliciesCount() { - return policies_.size(); - } - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public com.google.iam.v2.Policy getPolicies(int index) { - return policies_.get(index); - } - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { - return policies_.get(index); - } - - public static final int INACCESSIBLE_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList inaccessible_; - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @return A list containing the inaccessible. - */ - public com.google.protobuf.ProtocolStringList getInaccessibleList() { - return inaccessible_; - } - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @return The count of inaccessible. - */ - public int getInaccessibleCount() { - return inaccessible_.size(); - } - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @param index The index of the element to return. - * @return The inaccessible at the given index. - */ - public java.lang.String getInaccessible(int index) { - return inaccessible_.get(index); - } - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @param index The index of the value to return. - * @return The bytes of the inaccessible at the given index. - */ - public com.google.protobuf.ByteString getInaccessibleBytes(int index) { - return inaccessible_.getByteString(index); - } - - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object nextPageToken_; - /** - * - * - *
    -   * A page token that can be used in a
    -   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -   * to retrieve the next page. If this field is blank, there are no additional
    -   * pages.
    -   * 
    - * - * string next_page_token = 3; - * - * @return The nextPageToken. - */ - @java.lang.Override - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } - } - /** - * - * - *
    -   * A page token that can be used in a
    -   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -   * to retrieve the next page. If this field is blank, there are no additional
    -   * pages.
    -   * 
    - * - * string next_page_token = 3; - * - * @return The bytes for nextPageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < policies_.size(); i++) { - output.writeMessage(1, policies_.get(i)); - } - for (int i = 0; i < inaccessible_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, inaccessible_.getRaw(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nextPageToken_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < policies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policies_.get(i)); - } - { - int dataSize = 0; - for (int i = 0; i < inaccessible_.size(); i++) { - dataSize += computeStringSizeNoTag(inaccessible_.getRaw(i)); - } - size += dataSize; - size += 1 * getInaccessibleList().size(); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nextPageToken_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.ListApplicablePoliciesResponse)) { - return super.equals(obj); - } - com.google.iam.v2.ListApplicablePoliciesResponse other = - (com.google.iam.v2.ListApplicablePoliciesResponse) obj; - - if (!getPoliciesList().equals(other.getPoliciesList())) return false; - if (!getInaccessibleList().equals(other.getInaccessibleList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPoliciesCount() > 0) { - hash = (37 * hash) + POLICIES_FIELD_NUMBER; - hash = (53 * hash) + getPoliciesList().hashCode(); - } - if (getInaccessibleCount() > 0) { - hash = (37 * hash) + INACCESSIBLE_FIELD_NUMBER; - hash = (53 * hash) + getInaccessibleList().hashCode(); - } - hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.ListApplicablePoliciesResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Response message for [ListApplicablePolicies][] method.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.ListApplicablePoliciesResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.ListApplicablePoliciesResponse) - com.google.iam.v2.ListApplicablePoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListApplicablePoliciesResponse.class, - com.google.iam.v2.ListApplicablePoliciesResponse.Builder.class); - } - - // Construct using com.google.iam.v2.ListApplicablePoliciesResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPoliciesFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (policiesBuilder_ == null) { - policies_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - policiesBuilder_.clear(); - } - inaccessible_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - nextPageToken_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesResponse getDefaultInstanceForType() { - return com.google.iam.v2.ListApplicablePoliciesResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesResponse build() { - com.google.iam.v2.ListApplicablePoliciesResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesResponse buildPartial() { - com.google.iam.v2.ListApplicablePoliciesResponse result = - new com.google.iam.v2.ListApplicablePoliciesResponse(this); - int from_bitField0_ = bitField0_; - if (policiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - policies_ = java.util.Collections.unmodifiableList(policies_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.policies_ = policies_; - } else { - result.policies_ = policiesBuilder_.build(); - } - if (((bitField0_ & 0x00000002) != 0)) { - inaccessible_ = inaccessible_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.inaccessible_ = inaccessible_; - result.nextPageToken_ = nextPageToken_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.ListApplicablePoliciesResponse) { - return mergeFrom((com.google.iam.v2.ListApplicablePoliciesResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.ListApplicablePoliciesResponse other) { - if (other == com.google.iam.v2.ListApplicablePoliciesResponse.getDefaultInstance()) - return this; - if (policiesBuilder_ == null) { - if (!other.policies_.isEmpty()) { - if (policies_.isEmpty()) { - policies_ = other.policies_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePoliciesIsMutable(); - policies_.addAll(other.policies_); - } - onChanged(); - } - } else { - if (!other.policies_.isEmpty()) { - if (policiesBuilder_.isEmpty()) { - policiesBuilder_.dispose(); - policiesBuilder_ = null; - policies_ = other.policies_; - bitField0_ = (bitField0_ & ~0x00000001); - policiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPoliciesFieldBuilder() - : null; - } else { - policiesBuilder_.addAllMessages(other.policies_); - } - } - } - if (!other.inaccessible_.isEmpty()) { - if (inaccessible_.isEmpty()) { - inaccessible_ = other.inaccessible_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureInaccessibleIsMutable(); - inaccessible_.addAll(other.inaccessible_); - } - onChanged(); - } - if (!other.getNextPageToken().isEmpty()) { - nextPageToken_ = other.nextPageToken_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.iam.v2.ListApplicablePoliciesResponse parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.ListApplicablePoliciesResponse) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List policies_ = java.util.Collections.emptyList(); - - private void ensurePoliciesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(policies_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - policiesBuilder_; - - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public java.util.List getPoliciesList() { - if (policiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(policies_); - } else { - return policiesBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public int getPoliciesCount() { - if (policiesBuilder_ == null) { - return policies_.size(); - } else { - return policiesBuilder_.getCount(); - } - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy getPolicies(int index) { - if (policiesBuilder_ == null) { - return policies_.get(index); - } else { - return policiesBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder setPolicies(int index, com.google.iam.v2.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.set(index, value); - onChanged(); - } else { - policiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder setPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.set(index, builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(com.google.iam.v2.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.add(value); - onChanged(); - } else { - policiesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(int index, com.google.iam.v2.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.add(index, value); - onChanged(); - } else { - policiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(com.google.iam.v2.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(index, builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addAllPolicies(java.lang.Iterable values) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); - onChanged(); - } else { - policiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder clearPolicies() { - if (policiesBuilder_ == null) { - policies_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - policiesBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder removePolicies(int index) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.remove(index); - onChanged(); - } else { - policiesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy.Builder getPoliciesBuilder(int index) { - return getPoliciesFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { - if (policiesBuilder_ == null) { - return policies_.get(index); - } else { - return policiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public java.util.List getPoliciesOrBuilderList() { - if (policiesBuilder_ != null) { - return policiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(policies_); - } - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy.Builder addPoliciesBuilder() { - return getPoliciesFieldBuilder().addBuilder(com.google.iam.v2.Policy.getDefaultInstance()); - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy.Builder addPoliciesBuilder(int index) { - return getPoliciesFieldBuilder() - .addBuilder(index, com.google.iam.v2.Policy.getDefaultInstance()); - } - /** - * - * - *
    -     * Ordered list starting from the resource on which this API was called
    -     * then proceeding up the hierarchy. Policies for the same attachment point
    -     * will be grouped, but no further ordering is guaranteed.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public java.util.List getPoliciesBuilderList() { - return getPoliciesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - getPoliciesFieldBuilder() { - if (policiesBuilder_ == null) { - policiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder>( - policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - policies_ = null; - } - return policiesBuilder_; - } - - private com.google.protobuf.LazyStringList inaccessible_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureInaccessibleIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - inaccessible_ = new com.google.protobuf.LazyStringArrayList(inaccessible_); - bitField0_ |= 0x00000002; - } - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @return A list containing the inaccessible. - */ - public com.google.protobuf.ProtocolStringList getInaccessibleList() { - return inaccessible_.getUnmodifiableView(); - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @return The count of inaccessible. - */ - public int getInaccessibleCount() { - return inaccessible_.size(); - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @param index The index of the element to return. - * @return The inaccessible at the given index. - */ - public java.lang.String getInaccessible(int index) { - return inaccessible_.get(index); - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @param index The index of the value to return. - * @return The bytes of the inaccessible at the given index. - */ - public com.google.protobuf.ByteString getInaccessibleBytes(int index) { - return inaccessible_.getByteString(index); - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @param index The index to set the value at. - * @param value The inaccessible to set. - * @return This builder for chaining. - */ - public Builder setInaccessible(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureInaccessibleIsMutable(); - inaccessible_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @param value The inaccessible to add. - * @return This builder for chaining. - */ - public Builder addInaccessible(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureInaccessibleIsMutable(); - inaccessible_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @param values The inaccessible to add. - * @return This builder for chaining. - */ - public Builder addAllInaccessible(java.lang.Iterable values) { - ensureInaccessibleIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inaccessible_); - onChanged(); - return this; - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @return This builder for chaining. - */ - public Builder clearInaccessible() { - inaccessible_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
    -     * A list of resources that the caller does not have permission to retrieve.
    -     * List or Get can be used to get detailed error messages.
    -     * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -     * List: `policies/{attachment-point}/denypolicies`
    -     * 
    - * - * repeated string inaccessible = 2; - * - * @param value The bytes of the inaccessible to add. - * @return This builder for chaining. - */ - public Builder addInaccessibleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureInaccessibleIsMutable(); - inaccessible_.add(value); - onChanged(); - return this; - } - - private java.lang.Object nextPageToken_ = ""; - /** - * - * - *
    -     * A page token that can be used in a
    -     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -     * to retrieve the next page. If this field is blank, there are no additional
    -     * pages.
    -     * 
    - * - * string next_page_token = 3; - * - * @return The nextPageToken. - */ - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A page token that can be used in a
    -     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -     * to retrieve the next page. If this field is blank, there are no additional
    -     * pages.
    -     * 
    - * - * string next_page_token = 3; - * - * @return The bytes for nextPageToken. - */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A page token that can be used in a
    -     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -     * to retrieve the next page. If this field is blank, there are no additional
    -     * pages.
    -     * 
    - * - * string next_page_token = 3; - * - * @param value The nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nextPageToken_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token that can be used in a
    -     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -     * to retrieve the next page. If this field is blank, there are no additional
    -     * pages.
    -     * 
    - * - * string next_page_token = 3; - * - * @return This builder for chaining. - */ - public Builder clearNextPageToken() { - - nextPageToken_ = getDefaultInstance().getNextPageToken(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token that can be used in a
    -     * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -     * to retrieve the next page. If this field is blank, there are no additional
    -     * pages.
    -     * 
    - * - * string next_page_token = 3; - * - * @param value The bytes for nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nextPageToken_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.ListApplicablePoliciesResponse) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.ListApplicablePoliciesResponse) - private static final com.google.iam.v2.ListApplicablePoliciesResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.ListApplicablePoliciesResponse(); - } - - public static com.google.iam.v2.ListApplicablePoliciesResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApplicablePoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApplicablePoliciesResponse(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.ListApplicablePoliciesResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java deleted file mode 100644 index f83bbeda4e91..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListApplicablePoliciesResponseOrBuilder.java +++ /dev/null @@ -1,180 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface ListApplicablePoliciesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.ListApplicablePoliciesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - java.util.List getPoliciesList(); - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - com.google.iam.v2.Policy getPolicies(int index); - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - int getPoliciesCount(); - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - java.util.List getPoliciesOrBuilderList(); - /** - * - * - *
    -   * Ordered list starting from the resource on which this API was called
    -   * then proceeding up the hierarchy. Policies for the same attachment point
    -   * will be grouped, but no further ordering is guaranteed.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index); - - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @return A list containing the inaccessible. - */ - java.util.List getInaccessibleList(); - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @return The count of inaccessible. - */ - int getInaccessibleCount(); - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @param index The index of the element to return. - * @return The inaccessible at the given index. - */ - java.lang.String getInaccessible(int index); - /** - * - * - *
    -   * A list of resources that the caller does not have permission to retrieve.
    -   * List or Get can be used to get detailed error messages.
    -   * Get: `policies/{attachment-point}/denypolicies/{policy-id}`
    -   * List: `policies/{attachment-point}/denypolicies`
    -   * 
    - * - * repeated string inaccessible = 2; - * - * @param index The index of the value to return. - * @return The bytes of the inaccessible at the given index. - */ - com.google.protobuf.ByteString getInaccessibleBytes(int index); - - /** - * - * - *
    -   * A page token that can be used in a
    -   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -   * to retrieve the next page. If this field is blank, there are no additional
    -   * pages.
    -   * 
    - * - * string next_page_token = 3; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
    -   * A page token that can be used in a
    -   * [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest]
    -   * to retrieve the next page. If this field is blank, there are no additional
    -   * pages.
    -   * 
    - * - * string next_page_token = 3; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} 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 5665c5b7b990..124798c38a4c 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 @@ -53,64 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private ListPoliciesRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_ListPoliciesRequest_descriptor; @@ -132,8 +74,9 @@ 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`
    +   * 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,
    @@ -162,8 +105,9 @@ 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`
    +   * 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,
    @@ -214,9 +158,8 @@ public int getPageSize() {
        *
        *
        * 
    -   * A page token received in a
    -   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -   * token to retrieve the next page.
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
        * 
    * * string page_token = 3; @@ -239,9 +182,8 @@ public java.lang.String getPageToken() { * * *
    -   * A page token received in a
    -   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -   * token to retrieve the next page.
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
        * 
    * * string page_token = 3; @@ -284,7 +226,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -302,7 +244,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -320,7 +262,7 @@ public boolean equals(final java.lang.Object obj) { if (!getParent().equals(other.getParent())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,7 +279,7 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -465,17 +407,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.ListPoliciesRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -577,7 +512,7 @@ public Builder mergeFrom(com.google.iam.v2.ListPoliciesRequest other) { pageToken_ = other.pageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -592,17 +527,49 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.ListPoliciesRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.ListPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -611,8 +578,9 @@ 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`
    +     * 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,
    @@ -640,8 +608,9 @@ 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`
    +     * 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,
    @@ -669,8 +638,9 @@ 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`
    +     * 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,
    @@ -697,8 +667,9 @@ 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`
    +     * 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,
    @@ -721,8 +692,9 @@ 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`
    +     * 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,
    @@ -807,9 +779,8 @@ public Builder clearPageSize() {
          *
          *
          * 
    -     * A page token received in a
    -     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -     * token to retrieve the next page.
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
          * 
    * * string page_token = 3; @@ -831,9 +802,8 @@ public java.lang.String getPageToken() { * * *
    -     * A page token received in a
    -     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -     * token to retrieve the next page.
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
          * 
    * * string page_token = 3; @@ -855,9 +825,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * * *
    -     * A page token received in a
    -     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -     * token to retrieve the next page.
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
          * 
    * * string page_token = 3; @@ -878,9 +847,8 @@ public Builder setPageToken(java.lang.String value) { * * *
    -     * A page token received in a
    -     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -     * token to retrieve the next page.
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
          * 
    * * string page_token = 3; @@ -897,9 +865,8 @@ public Builder clearPageToken() { * * *
    -     * A page token received in a
    -     * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -     * token to retrieve the next page.
    +     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +     * retrieve the next page.
          * 
    * * string page_token = 3; @@ -950,7 +917,18 @@ public ListPoliciesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPoliciesRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 5ccf0c27491b..bfea871b46c3 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 @@ -27,8 +27,9 @@ 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`
    +   * 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,
    @@ -46,8 +47,9 @@ 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`
    +   * 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,
    @@ -80,9 +82,8 @@ public interface ListPoliciesRequestOrBuilder
        *
        *
        * 
    -   * A page token received in a
    -   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -   * token to retrieve the next page.
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
        * 
    * * string page_token = 3; @@ -94,9 +95,8 @@ public interface ListPoliciesRequestOrBuilder * * *
    -   * A page token received in a
    -   * [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this
    -   * token to retrieve the next page.
    +   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    +   * retrieve the next page.
        * 
    * * string page_token = 3; 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 fa2820bd98d2..62cdb5ecac8e 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 @@ -53,66 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private ListPoliciesResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - policies_.add( - input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry)); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = java.util.Collections.unmodifiableList(policies_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_ListPoliciesResponse_descriptor; @@ -202,8 +142,7 @@ public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { * * *
    -   * A page token that you can use in a
    -   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
        * next page. If this field is omitted, there are no additional pages.
        * 
    * @@ -227,8 +166,7 @@ public java.lang.String getNextPageToken() { * * *
    -   * A page token that you can use in a
    -   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
        * next page. If this field is omitted, there are no additional pages.
        * 
    * @@ -269,7 +207,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -284,7 +222,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -301,7 +239,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPoliciesList().equals(other.getPoliciesList())) return false; if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -318,7 +256,7 @@ public int hashCode() { } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -447,19 +385,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.ListPoliciesResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPoliciesFieldBuilder(); - } } @java.lang.Override @@ -467,10 +396,11 @@ public Builder clear() { super.clear(); if (policiesBuilder_ == null) { policies_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + policies_ = null; policiesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; return this; @@ -591,7 +521,7 @@ public Builder mergeFrom(com.google.iam.v2.ListPoliciesResponse other) { nextPageToken_ = other.nextPageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -606,17 +536,49 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.ListPoliciesResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.iam.v2.Policy m = + input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry); + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(m); + } else { + policiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.ListPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -969,8 +931,7 @@ public java.util.List getPoliciesBuilderList() * * *
    -     * A page token that you can use in a
    -     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
          * next page. If this field is omitted, there are no additional pages.
          * 
    * @@ -993,8 +954,7 @@ public java.lang.String getNextPageToken() { * * *
    -     * A page token that you can use in a
    -     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
          * next page. If this field is omitted, there are no additional pages.
          * 
    * @@ -1017,8 +977,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * * *
    -     * A page token that you can use in a
    -     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
          * next page. If this field is omitted, there are no additional pages.
          * 
    * @@ -1040,8 +999,7 @@ public Builder setNextPageToken(java.lang.String value) { * * *
    -     * A page token that you can use in a
    -     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
          * next page. If this field is omitted, there are no additional pages.
          * 
    * @@ -1059,8 +1017,7 @@ public Builder clearNextPageToken() { * * *
    -     * A page token that you can use in a
    -     * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
          * next page. If this field is omitted, there are no additional pages.
          * 
    * @@ -1112,7 +1069,18 @@ public ListPoliciesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPoliciesResponse(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java index 54a77f751ce1..1faeb31cfb39 100644 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java +++ b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java @@ -78,8 +78,7 @@ public interface ListPoliciesResponseOrBuilder * * *
    -   * A page token that you can use in a
    -   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
        * next page. If this field is omitted, there are no additional pages.
        * 
    * @@ -92,8 +91,7 @@ public interface ListPoliciesResponseOrBuilder * * *
    -   * A page token that you can use in a
    -   * [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    +   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
        * next page. If this field is omitted, there are no additional pages.
        * 
    * 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 2de2078edfe0..82a241e71d7e 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 @@ -58,161 +58,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private Policy( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - uid_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - kind_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - etag_ = s; - break; - } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; - } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (deleteTime_ != null) { - subBuilder = deleteTime_.toBuilder(); - } - deleteTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deleteTime_); - deleteTime_ = subBuilder.buildPartial(); - } - - break; - } - case 82: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - rules_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - rules_.add( - input.readMessage(com.google.iam.v2.PolicyRule.parser(), extensionRegistry)); - break; - } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - - managingAuthority_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - rules_ = java.util.Collections.unmodifiableList(rules_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_descriptor; } @@ -307,8 +152,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -   * when the `Policy` is created.
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
        * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -331,8 +176,8 @@ public java.lang.String getUid() { * * *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -   * when the `Policy` is created.
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
        * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -358,8 +203,7 @@ public com.google.protobuf.ByteString getUidBytes() { * * *
    -   * Output only. The kind of the `Policy`. Always contains the value
    -   * `DenyPolicy`.
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
        * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -382,8 +226,7 @@ public java.lang.String getKind() { * * *
    -   * Output only. The kind of the `Policy`. Always contains the value
    -   * `DenyPolicy`.
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
        * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -719,8 +562,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -   * not deleted.
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
        * 
    * * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -736,8 +578,7 @@ public boolean hasDeleteTime() { * * *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -   * not deleted.
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
        * 
    * * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -753,8 +594,7 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -   * not deleted.
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
        * 
    * * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -844,8 +684,8 @@ public com.google.iam.v2.PolicyRuleOrBuilder getRulesOrBuilder(int index) { * * *
    -   * Immutable. Specifies that this policy is managed by an authority and can
    -   * only be modified by that authority. Usage is restricted.
    +   * Immutable. Specifies that this policy is managed by an authority and can only be
    +   * modified by that authority. Usage is restricted.
        * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -868,8 +708,8 @@ public java.lang.String getManagingAuthority() { * * *
    -   * Immutable. Specifies that this policy is managed by an authority and can
    -   * only be modified by that authority. Usage is restricted.
    +   * Immutable. Specifies that this policy is managed by an authority and can only be
    +   * modified by that authority. Usage is restricted.
        * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -935,7 +775,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managingAuthority_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, managingAuthority_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -984,7 +824,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managingAuthority_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, managingAuthority_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -1019,7 +859,7 @@ public boolean equals(final java.lang.Object obj) { } if (!getRulesList().equals(other.getRulesList())) return false; if (!getManagingAuthority().equals(other.getManagingAuthority())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1062,7 +902,7 @@ public int hashCode() { } hash = (37 * hash) + MANAGING_AUTHORITY_FIELD_NUMBER; hash = (53 * hash) + getManagingAuthority().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -1207,19 +1047,10 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { } // Construct using com.google.iam.v2.Policy.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getRulesFieldBuilder(); - } } @java.lang.Override @@ -1256,10 +1087,11 @@ public Builder clear() { } if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); } else { + rules_ = null; rulesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000002); managingAuthority_ = ""; return this; @@ -1430,7 +1262,7 @@ public Builder mergeFrom(com.google.iam.v2.Policy other) { managingAuthority_ = other.managingAuthority_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1445,17 +1277,108 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.Policy parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + uid_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + kind_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + break; + } // case 42 + case 50: + { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 58 + case 66: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 66 + case 74: + { + input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 74 + case 82: + { + com.google.iam.v2.PolicyRule m = + input.readMessage(com.google.iam.v2.PolicyRule.parser(), extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 82 + case 90: + { + managingAuthority_ = input.readStringRequireUtf8(); + + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.Policy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1612,8 +1535,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -     * when the `Policy` is created.
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
          * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1635,8 +1558,8 @@ public java.lang.String getUid() { * * *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -     * when the `Policy` is created.
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
          * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1658,8 +1581,8 @@ public com.google.protobuf.ByteString getUidBytes() { * * *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -     * when the `Policy` is created.
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
          * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1680,8 +1603,8 @@ public Builder setUid(java.lang.String value) { * * *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -     * when the `Policy` is created.
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
          * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1698,8 +1621,8 @@ public Builder clearUid() { * * *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -     * when the `Policy` is created.
    +     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +     * `Policy` is created.
          * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1723,8 +1646,7 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) { * * *
    -     * Output only. The kind of the `Policy`. Always contains the value
    -     * `DenyPolicy`.
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
          * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1746,8 +1668,7 @@ public java.lang.String getKind() { * * *
    -     * Output only. The kind of the `Policy`. Always contains the value
    -     * `DenyPolicy`.
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
          * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1769,8 +1690,7 @@ public com.google.protobuf.ByteString getKindBytes() { * * *
    -     * Output only. The kind of the `Policy`. Always contains the value
    -     * `DenyPolicy`.
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
          * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1791,8 +1711,7 @@ public Builder setKind(java.lang.String value) { * * *
    -     * Output only. The kind of the `Policy`. Always contains the value
    -     * `DenyPolicy`.
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
          * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1809,8 +1728,7 @@ public Builder clearKind() { * * *
    -     * Output only. The kind of the `Policy`. Always contains the value
    -     * `DenyPolicy`.
    +     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
          * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2646,8 +2564,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2663,8 +2580,7 @@ public boolean hasDeleteTime() { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2686,8 +2602,7 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2711,8 +2626,7 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2733,8 +2647,7 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2760,8 +2673,7 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2783,8 +2695,7 @@ public Builder clearDeleteTime() { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2800,8 +2711,7 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -2821,8 +2731,7 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -     * not deleted.
    +     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
          * 
    * * @@ -3211,8 +3120,8 @@ public java.util.List getRulesBuilderList( * * *
    -     * Immutable. Specifies that this policy is managed by an authority and can
    -     * only be modified by that authority. Usage is restricted.
    +     * Immutable. Specifies that this policy is managed by an authority and can only be
    +     * modified by that authority. Usage is restricted.
          * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -3234,8 +3143,8 @@ public java.lang.String getManagingAuthority() { * * *
    -     * Immutable. Specifies that this policy is managed by an authority and can
    -     * only be modified by that authority. Usage is restricted.
    +     * Immutable. Specifies that this policy is managed by an authority and can only be
    +     * modified by that authority. Usage is restricted.
          * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -3257,8 +3166,8 @@ public com.google.protobuf.ByteString getManagingAuthorityBytes() { * * *
    -     * Immutable. Specifies that this policy is managed by an authority and can
    -     * only be modified by that authority. Usage is restricted.
    +     * Immutable. Specifies that this policy is managed by an authority and can only be
    +     * modified by that authority. Usage is restricted.
          * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -3279,8 +3188,8 @@ public Builder setManagingAuthority(java.lang.String value) { * * *
    -     * Immutable. Specifies that this policy is managed by an authority and can
    -     * only be modified by that authority. Usage is restricted.
    +     * Immutable. Specifies that this policy is managed by an authority and can only be
    +     * modified by that authority. Usage is restricted.
          * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -3297,8 +3206,8 @@ public Builder clearManagingAuthority() { * * *
    -     * Immutable. Specifies that this policy is managed by an authority and can
    -     * only be modified by that authority. Usage is restricted.
    +     * Immutable. Specifies that this policy is managed by an authority and can only be
    +     * modified by that authority. Usage is restricted.
          * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -3349,7 +3258,18 @@ public Policy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Policy(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 3f3b95fce283..b8aae544718e 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 @@ -50,60 +50,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private PolicyOperationMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; @@ -182,7 +128,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -194,7 +140,7 @@ public int getSerializedSize() { if (createTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -214,7 +160,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCreateTime()) { if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -229,7 +175,7 @@ public int hashCode() { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -358,17 +304,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.PolicyOperationMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -464,7 +403,7 @@ public Builder mergeFrom(com.google.iam.v2.PolicyOperationMetadata other) { if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -479,17 +418,37 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.PolicyOperationMetadata parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.PolicyOperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -708,7 +667,18 @@ public PolicyOperationMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PolicyOperationMetadata(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 276617f9182a..84433497c536 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 @@ -68,8 +68,8 @@ public interface PolicyOrBuilder * * *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -   * when the `Policy` is created.
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
        * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -81,8 +81,8 @@ public interface PolicyOrBuilder * * *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically
    -   * when the `Policy` is created.
    +   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    +   * `Policy` is created.
        * 
    * * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; @@ -95,8 +95,7 @@ public interface PolicyOrBuilder * * *
    -   * Output only. The kind of the `Policy`. Always contains the value
    -   * `DenyPolicy`.
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
        * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -108,8 +107,7 @@ public interface PolicyOrBuilder * * *
    -   * Output only. The kind of the `Policy`. Always contains the value
    -   * `DenyPolicy`.
    +   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
        * 
    * * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -322,8 +320,7 @@ java.lang.String getAnnotationsOrDefault( * * *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -   * not deleted.
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
        * 
    * * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -336,8 +333,7 @@ java.lang.String getAnnotationsOrDefault( * * *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -   * not deleted.
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
        * 
    * * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -350,8 +346,7 @@ java.lang.String getAnnotationsOrDefault( * * *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is
    -   * not deleted.
    +   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
        * 
    * * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -419,8 +414,8 @@ java.lang.String getAnnotationsOrDefault( * * *
    -   * Immutable. Specifies that this policy is managed by an authority and can
    -   * only be modified by that authority. Usage is restricted.
    +   * Immutable. Specifies that this policy is managed by an authority and can only be
    +   * modified by that authority. Usage is restricted.
        * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; @@ -432,8 +427,8 @@ java.lang.String getAnnotationsOrDefault( * * *
    -   * Immutable. Specifies that this policy is managed by an authority and can
    -   * only be modified by that authority. Usage is restricted.
    +   * Immutable. Specifies that this policy is managed by an authority and can only be
    +   * modified by that authority. Usage is restricted.
        * 
    * * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; 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 7b921a99fee1..9cbab0338506 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 @@ -63,14 +63,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_iam_v2_DeletePolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -114,44 +106,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "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\"u\n\035ListApplicablePolici" - + "esRequest\022\035\n\020attachment_point\030\001 \001(\tB\003\340A\002" - + "\022\016\n\006filter\030\002 \001(\t\022\022\n\npage_token\030\003 \001(\t\022\021\n\t" - + "page_size\030\004 \001(\005\"x\n\036ListApplicablePolicie" - + "sResponse\022\'\n\010policies\030\001 \003(\0132\025.google.iam" - + ".v2.Policy\022\024\n\014inaccessible\030\002 \003(\t\022\027\n\017next" - + "_page_token\030\003 \001(\t\"J\n\027PolicyOperationMeta" - + "data\022/\n\013create_time\030\001 \001(\0132\032.google.proto" - + "buf.Timestamp2\224\010\n\010Policies\022\203\001\n\014ListPolic" - + "ies\022\".google.iam.v2.ListPoliciesRequest\032" - + "#.google.iam.v2.ListPoliciesResponse\"*\202\323" - + "\344\223\002\033\022\031/v2/{parent=policies/*/*}\332A\006parent" - + "\022m\n\tGetPolicy\022\037.google.iam.v2.GetPolicyR" - + "equest\032\025.google.iam.v2.Policy\"(\202\323\344\223\002\033\022\031/" - + "v2/{name=policies/*/*/*}\332A\004name\022\272\001\n\014Crea" - + "tePolicy\022\".google.iam.v2.CreatePolicyReq" - + "uest\032\035.google.longrunning.Operation\"g\202\323\344" - + "\223\002#\"\031/v2/{parent=policies/*/*}:\006policy\332A" - + "\027parent,policy,policy_id\312A!\n\006Policy\022\027Pol" - + "icyOperationMetadata\022\247\001\n\014UpdatePolicy\022\"." - + "google.iam.v2.UpdatePolicyRequest\032\035.goog" - + "le.longrunning.Operation\"T\202\323\344\223\002*\032 /v2/{p" - + "olicy.name=policies/*/*/*}:\006policy\312A!\n\006P" - + "olicy\022\027PolicyOperationMetadata\022\237\001\n\014Delet" - + "ePolicy\022\".google.iam.v2.DeletePolicyRequ" - + "est\032\035.google.longrunning.Operation\"L\202\323\344\223" - + "\002\033*\031/v2/{name=policies/*/*/*}\332A\004name\312A!\n" - + "\006Policy\022\027PolicyOperationMetadata\022\301\001\n\026Lis" - + "tApplicablePolicies\022,.google.iam.v2.List" - + "ApplicablePoliciesRequest\032-.google.iam.v" - + "2.ListApplicablePoliciesResponse\"J\202\323\344\223\0021" - + "\022//v2/{attachment_point=*}:listApplicabl" - + "ePolicies\332A\020attachment_point\032F\312A\022iam.goo" - + "gleapis.com\322A.https://www.googleapis.com" - + "/auth/cloud-platformB\200\001\n\021com.google.iam." - + "v2B\013PolicyProtoP\001Z0google.golang.org/gen" - + "proto/googleapis/iam/v2;iam\252\002\023Google.Clo" - + "ud.Iam.V2\312\002\023Google\\Cloud\\Iam\\V2b\006proto3" + + "\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-platformB\200\001\n\021com.google.i" + + "am.v2B\013PolicyProtoP\001Z0google.golang.org/" + + "genproto/googleapis/iam/v2;iam\252\002\023Google." + + "Cloud.Iam.V2\312\002\023Google\\Cloud\\Iam\\V2b\006prot" + + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -244,24 +226,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "Etag", }); - internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_iam_v2_ListApplicablePoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_ListApplicablePoliciesRequest_descriptor, - new java.lang.String[] { - "AttachmentPoint", "Filter", "PageToken", "PageSize", - }); - internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_iam_v2_ListApplicablePoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_ListApplicablePoliciesResponse_descriptor, - new java.lang.String[] { - "Policies", "Inaccessible", "NextPageToken", - }); internal_static_google_iam_v2_PolicyOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(8); internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_iam_v2_PolicyOperationMetadata_descriptor, 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 c1de50c95fc5..032fa2bba220 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 @@ -52,66 +52,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private PolicyRule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 18: - { - com.google.iam.v2.DenyRule.Builder subBuilder = null; - if (kindCase_ == 2) { - subBuilder = ((com.google.iam.v2.DenyRule) kind_).toBuilder(); - } - kind_ = input.readMessage(com.google.iam.v2.DenyRule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.iam.v2.DenyRule) kind_); - kind_ = subBuilder.buildPartial(); - } - kindCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_descriptor; } @@ -290,7 +230,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (kindCase_ == 2) { output.writeMessage(2, (com.google.iam.v2.DenyRule) kind_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -307,7 +247,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 2, (com.google.iam.v2.DenyRule) kind_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -331,7 +271,7 @@ public boolean equals(final java.lang.Object obj) { case 0: default: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,7 +292,7 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -478,22 +418,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.PolicyRule.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); + if (denyRuleBuilder_ != null) { + denyRuleBuilder_.clear(); + } description_ = ""; kindCase_ = 0; @@ -596,7 +532,7 @@ public Builder mergeFrom(com.google.iam.v2.PolicyRule other) { break; } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -611,17 +547,43 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.PolicyRule parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + description_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getDenyRuleFieldBuilder().getBuilder(), extensionRegistry); + kindCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.PolicyRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -987,7 +949,18 @@ public PolicyRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PolicyRule(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 d9f857e33104..d7810fed39ed 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 @@ -50,59 +50,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private UpdatePolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.iam.v2.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2.PolicyProto .internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; @@ -190,7 +137,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (policy_ != null) { output.writeMessage(1, getPolicy()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -202,7 +149,7 @@ public int getSerializedSize() { if (policy_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -221,7 +168,7 @@ public boolean equals(final java.lang.Object obj) { if (hasPolicy()) { if (!getPolicy().equals(other.getPolicy())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -236,7 +183,7 @@ public int hashCode() { hash = (37 * hash) + POLICY_FIELD_NUMBER; hash = (53 * hash) + getPolicy().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -364,17 +311,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2.UpdatePolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -470,7 +410,7 @@ public Builder mergeFrom(com.google.iam.v2.UpdatePolicyRequest other) { if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -485,17 +425,37 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2.UpdatePolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2.UpdatePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -735,7 +695,18 @@ public UpdatePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdatePolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; diff --git a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto index b21d44fabbf7..d8923d3b8337 100644 --- a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto +++ b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto @@ -33,8 +33,7 @@ option php_namespace = "Google\\Cloud\\Iam\\V2"; // An interface for managing Identity and Access Management (IAM) policies. service Policies { option (google.api.default_host) = "iam.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; // Retrieves the policies of the specified kind that are attached to a // resource. @@ -75,8 +74,7 @@ service Policies { // // To update a policy, you should use a read-modify-write loop: // - // 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current - // version of the policy. + // 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. // 2. Modify the policy as needed. // 3. Use `UpdatePolicy` to write the updated policy. // @@ -103,24 +101,6 @@ service Policies { metadata_type: "PolicyOperationMetadata" }; } - - // Retrieves all the policies that are attached to the specified resource, - // or anywhere in the ancestry of the resource. For example, for a project - // this endpoint would return all the `denyPolicy` kind policies attached to - // the project, its parent folder (if any), and its parent organization (if - // any). - // The endpoint requires the same permissions that it would take to call - // `ListPolicies` or `GetPolicy`. - // - // The main reason to use this endpoint is as a policy admin to debug access - // issues for a resource. - rpc ListApplicablePolicies(ListApplicablePoliciesRequest) - returns (ListApplicablePoliciesResponse) { - option (google.api.http) = { - get: "/v2/{attachment_point=*}:listApplicablePolicies" - }; - option (google.api.method_signature) = "attachment_point"; - } } // Data for an IAM policy. @@ -139,12 +119,11 @@ message Policy { // Responses always contain the numeric ID. string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. The globally unique ID of the `Policy`. Assigned automatically - // when the `Policy` is created. + // Immutable. The globally unique ID of the `Policy`. Assigned automatically when the + // `Policy` is created. string uid = 2 [(google.api.field_behavior) = IMMUTABLE]; - // Output only. The kind of the `Policy`. Always contains the value - // `DenyPolicy`. + // Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`. string kind = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // A user-specified description of the `Policy`. This value can be up to 63 @@ -164,24 +143,20 @@ message Policy { string etag = 6; // Output only. The time when the `Policy` was created. - google.protobuf.Timestamp create_time = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the `Policy` was last updated. - google.protobuf.Timestamp update_time = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time when the `Policy` was deleted. Empty if the policy is - // not deleted. - google.protobuf.Timestamp delete_time = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted. + google.protobuf.Timestamp delete_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // A list of rules that specify the behavior of the `Policy`. All of the rules // should be of the `kind` specified in the `Policy`. repeated PolicyRule rules = 10; - // Immutable. Specifies that this policy is managed by an authority and can - // only be modified by that authority. Usage is restricted. + // Immutable. Specifies that this policy is managed by an authority and can only be + // modified by that authority. Usage is restricted. string managing_authority = 11 [(google.api.field_behavior) = IMMUTABLE]; } @@ -199,8 +174,9 @@ message PolicyRule { // Request message for `ListPolicies`. message ListPoliciesRequest { - // Required. The resource that the policy is attached to, along with the kind - // of policy to list. Format: `policies/{attachment_point}/denypolicies` + // 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, @@ -216,9 +192,8 @@ message ListPoliciesRequest { // the value 1000. int32 page_size = 2; - // A page token received in a - // [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this - // token to retrieve the next page. + // A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to + // retrieve the next page. string page_token = 3; } @@ -227,8 +202,7 @@ message ListPoliciesResponse { // Metadata for the policies that are attached to the resource. repeated Policy policies = 1; - // A page token that you can use in a - // [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the + // A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the // next page. If this field is omitted, there are no additional pages. string next_page_token = 2; } @@ -250,8 +224,8 @@ message GetPolicyRequest { // Request message for `CreatePolicy`. message CreatePolicyRequest { - // Required. The resource that the policy is attached to, along with the kind - // of policy to create. Format: `policies/{attachment_point}/denypolicies` + // 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, @@ -297,78 +271,15 @@ message DeletePolicyRequest { // name. For projects, you can use the alphanumeric or the numeric ID. string name = 1 [(google.api.field_behavior) = REQUIRED]; - // 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. + // 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`. string etag = 2 [(google.api.field_behavior) = OPTIONAL]; } -// `ListApplicablePoliciesRequest` represents the Request message for the -// `ListApplicablePolicies` method. It provides the input for a filterable query -// of Policies that apply to a certain GCP Resource, specified by the field -// `attachment_point`, found on this message. -// Example: -// ``` -// { -// attachment_point: -// 'cloudresourcemanager.googleapis.com%2Forganizations%2F212345678901' -// filter: 'kind:denyPolicies' -// } -// ``` -message ListApplicablePoliciesRequest { - // Required. The Cloud resource at which the applicable policies are to be - // retrieved. Format: `{attachment-point}` Use the URL-encoded full resource - // name, which means that the forward-slash character, `/`, must be written as - // `%2F`. For example, - // `cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project`. - string attachment_point = 1 [(google.api.field_behavior) = REQUIRED]; - - // Filtering currently only supports the kind of policies to return, and - // must be in the format “kind:[policyKind1] OR kind:[policyKind2]”. New - // policy kinds may be added in the future without notice. - // - // Example value: “kind:denyPolicies” - string filter = 2; - - // If present, then retrieve the batch of results following the results from - // the preceding call to this method. `page_token` must be the value of - // `next_page_token` - // [ListApplicablePoliciesResponse.next_page_token][google.iam.v2.ListApplicablePoliciesResponse.next_page_token] - // from the previous response. The values of other method parameters should - // be identical to those in the previous call. - string page_token = 3; - - // Limit on the number of policies to include in the response. - // Further policies can subsequently be obtained by including the - // [ListApplicablePoliciesResponse.next_page_token][google.iam.admin.v1.ListApplicablePoliciesResponse.next_page_token] - // in a subsequent request. - // The minimum is 25, and the maximum is 100. - int32 page_size = 4; -} - -// Response message for [ListApplicablePolicies][] method. -message ListApplicablePoliciesResponse { - // Ordered list starting from the resource on which this API was called - // then proceeding up the hierarchy. Policies for the same attachment point - // will be grouped, but no further ordering is guaranteed. - repeated Policy policies = 1; - - // A list of resources that the caller does not have permission to retrieve. - // List or Get can be used to get detailed error messages. - // Get: `policies/{attachment-point}/denypolicies/{policy-id}` - // List: `policies/{attachment-point}/denypolicies` - repeated string inaccessible = 2; - - // A page token that can be used in a - // [ListApplicablePoliciesRequest][google.iam.v2.ListApplicablePoliciesRequest] - // to retrieve the next page. If this field is blank, there are no additional - // pages. - string next_page_token = 3; -} - // Metadata for long-running `Policy` operations. message PolicyOperationMetadata { // Timestamp when the `google.longrunning.Operation` was created. 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 dc8b15dae3d3..4c91193e2d46 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 @@ -53,73 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private CreatePolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.iam.v2beta.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - policyId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; @@ -322,7 +255,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, policyId_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -340,7 +273,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, policyId_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -362,7 +295,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPolicy().equals(other.getPolicy())) return false; } if (!getPolicyId().equals(other.getPolicyId())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -381,7 +314,7 @@ public int hashCode() { } hash = (37 * hash) + POLICY_ID_FIELD_NUMBER; hash = (53 * hash) + getPolicyId().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -510,17 +443,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.CreatePolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -630,7 +556,7 @@ public Builder mergeFrom(com.google.iam.v2beta.CreatePolicyRequest other) { policyId_ = other.policyId_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -645,17 +571,49 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.CreatePolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + policyId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.CreatePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1132,7 +1090,18 @@ public CreatePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new CreatePolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 9899a5c37fb3..255a71ece498 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 @@ -53,59 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private DeletePolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; @@ -259,7 +206,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -274,7 +221,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -292,7 +239,7 @@ public boolean equals(final java.lang.Object obj) { if (!getName().equals(other.getName())) return false; if (!getEtag().equals(other.getEtag())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -307,7 +254,7 @@ public int hashCode() { hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -436,17 +383,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.DeletePolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -542,7 +482,7 @@ public Builder mergeFrom(com.google.iam.v2beta.DeletePolicyRequest other) { etag_ = other.etag_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -557,17 +497,43 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.DeletePolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.DeletePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -865,7 +831,18 @@ public DeletePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 d7af806bb1df..b776f7b169fe 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 @@ -55,113 +55,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private DenyRule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deniedPrincipals_.add(s); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - exceptionPrincipals_.add(s); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - deniedPermissions_.add(s); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - exceptionPermissions_.add(s); - break; - } - case 42: - { - com.google.type.Expr.Builder subBuilder = null; - if (denialCondition_ != null) { - subBuilder = denialCondition_.toBuilder(); - } - denialCondition_ = - input.readMessage(com.google.type.Expr.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(denialCondition_); - denialCondition_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.DenyRuleProto .internal_static_google_iam_v2beta_DenyRule_descriptor; @@ -700,7 +593,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (denialCondition_ != null) { output.writeMessage(5, getDenialCondition()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -744,7 +637,7 @@ public int getSerializedSize() { if (denialCondition_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDenialCondition()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -767,7 +660,7 @@ public boolean equals(final java.lang.Object obj) { if (hasDenialCondition()) { if (!getDenialCondition().equals(other.getDenialCondition())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -798,7 +691,7 @@ public int hashCode() { hash = (37 * hash) + DENIAL_CONDITION_FIELD_NUMBER; hash = (53 * hash) + getDenialCondition().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -925,17 +818,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.DenyRule.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -1099,7 +985,7 @@ public Builder mergeFrom(com.google.iam.v2beta.DenyRule other) { if (other.hasDenialCondition()) { mergeDenialCondition(other.getDenialCondition()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1114,17 +1000,65 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.DenyRule parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDeniedPrincipalsIsMutable(); + deniedPrincipals_.add(s); + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExceptionPrincipalsIsMutable(); + exceptionPrincipals_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDeniedPermissionsIsMutable(); + deniedPermissions_.add(s); + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureExceptionPermissionsIsMutable(); + exceptionPermissions_.add(s); + break; + } // case 34 + case 42: + { + input.readMessage(getDenialConditionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.DenyRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -2488,7 +2422,18 @@ public DenyRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new DenyRule(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 2775a53c7393..b579600e9134 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 @@ -52,52 +52,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private GetPolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; @@ -191,7 +145,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -203,7 +157,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -219,7 +173,7 @@ public boolean equals(final java.lang.Object obj) { com.google.iam.v2beta.GetPolicyRequest other = (com.google.iam.v2beta.GetPolicyRequest) obj; if (!getName().equals(other.getName())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,7 +186,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -361,17 +315,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.GetPolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -460,7 +407,7 @@ public Builder mergeFrom(com.google.iam.v2beta.GetPolicyRequest other) { name_ = other.name_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -475,17 +422,37 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.GetPolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.GetPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -657,7 +624,18 @@ public GetPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 5f6f150c5624..c66f7d36cd79 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 @@ -53,64 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private ListPoliciesRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; @@ -284,7 +226,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -302,7 +244,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -321,7 +263,7 @@ public boolean equals(final java.lang.Object obj) { if (!getParent().equals(other.getParent())) return false; if (getPageSize() != other.getPageSize()) return false; if (!getPageToken().equals(other.getPageToken())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -338,7 +280,7 @@ public int hashCode() { hash = (53 * hash) + getPageSize(); hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -467,17 +409,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.ListPoliciesRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -579,7 +514,7 @@ public Builder mergeFrom(com.google.iam.v2beta.ListPoliciesRequest other) { pageToken_ = other.pageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -594,17 +529,49 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.ListPoliciesRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.ListPoliciesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -952,7 +919,18 @@ public ListPoliciesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPoliciesRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 68ede72d6561..b7559c504544 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 @@ -53,66 +53,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private ListPoliciesResponse( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - policies_.add( - input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry)); - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - policies_ = java.util.Collections.unmodifiableList(policies_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; @@ -268,7 +208,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -283,7 +223,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -301,7 +241,7 @@ public boolean equals(final java.lang.Object obj) { if (!getPoliciesList().equals(other.getPoliciesList())) return false; if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -318,7 +258,7 @@ public int hashCode() { } hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -447,19 +387,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.ListPoliciesResponse.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getPoliciesFieldBuilder(); - } } @java.lang.Override @@ -467,10 +398,11 @@ public Builder clear() { super.clear(); if (policiesBuilder_ == null) { policies_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); } else { + policies_ = null; policiesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; return this; @@ -591,7 +523,7 @@ public Builder mergeFrom(com.google.iam.v2beta.ListPoliciesResponse other) { nextPageToken_ = other.nextPageToken_; onChanged(); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -606,17 +538,49 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.ListPoliciesResponse parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.iam.v2beta.Policy m = + input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry); + if (policiesBuilder_ == null) { + ensurePoliciesIsMutable(); + policies_.add(m); + } else { + policiesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.ListPoliciesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -1111,7 +1075,18 @@ public ListPoliciesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPoliciesResponse(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 08ae40c81c0d..a2e1a8b7dcdc 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 @@ -57,154 +57,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private Policy( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - - uid_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - - kind_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - etag_ = s; - break; - } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; - } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; - } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (deleteTime_ != null) { - subBuilder = deleteTime_.toBuilder(); - } - deleteTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deleteTime_); - deleteTime_ = subBuilder.buildPartial(); - } - - break; - } - case 82: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - rules_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - rules_.add( - input.readMessage(com.google.iam.v2beta.PolicyRule.parser(), extensionRegistry)); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - rules_ = java.util.Collections.unmodifiableList(rules_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto.internal_static_google_iam_v2beta_Policy_descriptor; } @@ -870,7 +722,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < rules_.size(); i++) { output.writeMessage(10, rules_.get(i)); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -916,7 +768,7 @@ public int getSerializedSize() { for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, rules_.get(i)); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -950,7 +802,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDeleteTime().equals(other.getDeleteTime())) return false; } if (!getRulesList().equals(other.getRulesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -991,7 +843,7 @@ public int hashCode() { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -1137,19 +989,10 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { } // Construct using com.google.iam.v2beta.Policy.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getRulesFieldBuilder(); - } } @java.lang.Override @@ -1186,10 +1029,11 @@ public Builder clear() { } if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); } else { + rules_ = null; rulesBuilder_.clear(); } + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -1353,7 +1197,7 @@ public Builder mergeFrom(com.google.iam.v2beta.Policy other) { } } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -1368,17 +1212,102 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.Policy parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + uid_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + kind_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + break; + } // case 42 + case 50: + { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 58 + case 66: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 66 + case 74: + { + input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 74 + case 82: + { + com.google.iam.v2beta.PolicyRule m = + input.readMessage(com.google.iam.v2beta.PolicyRule.parser(), extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.Policy) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -3151,7 +3080,18 @@ public Policy parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Policy(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 c1bdb7b3d7b4..766a87f7cb95 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 @@ -50,60 +50,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private PolicyOperationMetadata( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; @@ -182,7 +128,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -194,7 +140,7 @@ public int getSerializedSize() { if (createTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -214,7 +160,7 @@ public boolean equals(final java.lang.Object obj) { if (hasCreateTime()) { if (!getCreateTime().equals(other.getCreateTime())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -229,7 +175,7 @@ public int hashCode() { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -358,17 +304,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.PolicyOperationMetadata.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -464,7 +403,7 @@ public Builder mergeFrom(com.google.iam.v2beta.PolicyOperationMetadata other) { if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -479,17 +418,37 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.PolicyOperationMetadata parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.PolicyOperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -708,7 +667,18 @@ public PolicyOperationMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PolicyOperationMetadata(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 d58b2590c74b..27084c7ca398 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 @@ -52,66 +52,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private PolicyRule( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 18: - { - com.google.iam.v2beta.DenyRule.Builder subBuilder = null; - if (kindCase_ == 2) { - subBuilder = ((com.google.iam.v2beta.DenyRule) kind_).toBuilder(); - } - kind_ = input.readMessage(com.google.iam.v2beta.DenyRule.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.iam.v2beta.DenyRule) kind_); - kind_ = subBuilder.buildPartial(); - } - kindCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_PolicyRule_descriptor; @@ -292,7 +232,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (kindCase_ == 2) { output.writeMessage(2, (com.google.iam.v2beta.DenyRule) kind_); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -309,7 +249,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 2, (com.google.iam.v2beta.DenyRule) kind_); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -333,7 +273,7 @@ public boolean equals(final java.lang.Object obj) { case 0: default: } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -354,7 +294,7 @@ public int hashCode() { case 0: default: } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -482,22 +422,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.PolicyRule.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); + if (denyRuleBuilder_ != null) { + denyRuleBuilder_.clear(); + } description_ = ""; kindCase_ = 0; @@ -601,7 +537,7 @@ public Builder mergeFrom(com.google.iam.v2beta.PolicyRule other) { break; } } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -616,17 +552,43 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.PolicyRule parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + description_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getDenyRuleFieldBuilder().getBuilder(), extensionRegistry); + kindCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.PolicyRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -992,7 +954,18 @@ public PolicyRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new PolicyRule(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; 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 5904fc841c62..95eabcdd8ba9 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 @@ -50,59 +50,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private UpdatePolicyRequest( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.iam.v2beta.Policy.Builder subBuilder = null; - if (policy_ != null) { - subBuilder = policy_.toBuilder(); - } - policy_ = input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policy_); - policy_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.iam.v2beta.PolicyProto .internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; @@ -190,7 +137,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (policy_ != null) { output.writeMessage(1, getPolicy()); } - unknownFields.writeTo(output); + getUnknownFields().writeTo(output); } @java.lang.Override @@ -202,7 +149,7 @@ public int getSerializedSize() { if (policy_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); } - size += unknownFields.getSerializedSize(); + size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @@ -222,7 +169,7 @@ public boolean equals(final java.lang.Object obj) { if (hasPolicy()) { if (!getPolicy().equals(other.getPolicy())) return false; } - if (!unknownFields.equals(other.unknownFields)) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,7 +184,7 @@ public int hashCode() { hash = (37 * hash) + POLICY_FIELD_NUMBER; hash = (53 * hash) + getPolicy().hashCode(); } - hash = (29 * hash) + unknownFields.hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } @@ -366,17 +313,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.iam.v2beta.UpdatePolicyRequest.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } + private Builder() {} private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override @@ -472,7 +412,7 @@ public Builder mergeFrom(com.google.iam.v2beta.UpdatePolicyRequest other) { if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } - this.mergeUnknownFields(other.unknownFields); + this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @@ -487,17 +427,37 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.iam.v2beta.UpdatePolicyRequest parsedMessage = null; + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v2beta.UpdatePolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } + onChanged(); + } // finally return this; } @@ -739,7 +699,18 @@ public UpdatePolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdatePolicyRequest(input, extensionRegistry); + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); } }; From 19ebf64f5d07c66fa9c3cf1a82ff2d20691abc89 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 05:34:08 +0200 Subject: [PATCH 2657/3036] deps: update dependency io.grpc:grpc-bom to v1.49.2 (#966) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 26e064a93470..8d2f6eb96b75 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.11.0 2.0.0 1.42.2 - 1.49.1 + 1.49.2 3.21.7 0.31.1 1.3.2 From 35bf0dcb1b8e6143fb7750dc3e8eeeb6bfac9a3b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:26:24 +0200 Subject: [PATCH 2658/3036] deps: update google.core.version to v2.8.19 (#841) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.18` -> `2.8.19` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/compatibility-slim/2.8.18)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.19/confidence-slim/2.8.18)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.18` -> `2.8.19` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.19/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.19/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.19/compatibility-slim/2.8.18)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.19/confidence-slim/2.8.18)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.19`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2819-httpsgithubcomgoogleapisjava-corecomparev2818v2819-2022-09-30) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.18...v2.8.19) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.5 ([#​963](https://togithub.com/googleapis/java-core/issues/963)) ([1ee2f9a](https://togithub.com/googleapis/java-core/commit/1ee2f9acd3968b21974a550b6732fe68b18085f4))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a30f38446079..87cb7e5b5250 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.7 2.2.1 2.9.5 - 2.8.18 + 2.8.19 1.11.0 1.42.2 1.34.1 From d8526cf4105cd9a31e97f07cd6bdeca70cd0b6df Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:26:24 +0200 Subject: [PATCH 2659/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.9.6 (#967) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.5` -> `2.9.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/compatibility-slim/2.9.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/confidence-slim/2.9.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.6`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​296-httpsgithubcomgoogleapisjava-common-protoscomparev295v296-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.5...v2.9.6) ##### Dependencies - Update dependency io.grpc:grpc-bom to v1.49.2 ([#​448](https://togithub.com/googleapis/java-common-protos/issues/448)) ([70b435b](https://togithub.com/googleapis/java-common-protos/commit/70b435b006ec2b00b86491f10a6f53e689b9739c)) - Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#​449](https://togithub.com/googleapis/java-common-protos/issues/449)) ([fddd7a9](https://togithub.com/googleapis/java-common-protos/commit/fddd7a932c46462e1d7845d95260523aa10a9b8a)) - Update dependency io.grpc:grpc-stub to v1.49.2 ([#​450](https://togithub.com/googleapis/java-common-protos/issues/450)) ([abbe6cc](https://togithub.com/googleapis/java-common-protos/commit/abbe6cc897a555d0a3814b9f4bf959fc5856333e))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8d2f6eb96b75..1b98b91eb1e8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.19.1 2.2.1 - 2.9.5 + 2.9.6 1.6.1 1.11.0 2.0.0 From 7dc299da70133bb0fa9a363816ea804d540edc22 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:26:29 +0200 Subject: [PATCH 2660/3036] deps: update dependency importlib-metadata to v5 (#845) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [importlib-metadata](https://togithub.com/python/importlib_metadata) | `==4.8.3` -> `==5.0.0` | [![age](https://badges.renovateapi.com/packages/pypi/importlib-metadata/5.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/importlib-metadata/5.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/importlib-metadata/5.0.0/compatibility-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/importlib-metadata/5.0.0/confidence-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 333b61baf0f42d64699626bbc57315b3a826c3d3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:26:34 +0200 Subject: [PATCH 2661/3036] deps: update dependency importlib-metadata to v4.13.0 (#843) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [importlib-metadata](https://togithub.com/python/importlib_metadata) | `==4.8.3` -> `==4.13.0` | [![age](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.13.0/compatibility-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/importlib-metadata/4.13.0/confidence-slim/4.8.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 064a1666dd030c5f9fe35da7ebbda3dad2421427 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:26:37 +0200 Subject: [PATCH 2662/3036] deps: update dependency io.grpc:grpc-bom to v1.49.2 (#842) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.49.1` -> `1.49.2` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.2/compatibility-slim/1.49.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.49.2/confidence-slim/1.49.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.49.2`](https://togithub.com/grpc/grpc-java/compare/v1.49.1...v1.49.2) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.49.1...v1.49.2)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 87cb7e5b5250..c5d621f7adcc 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.49.1 + 1.49.2 2.19.1 1.2.1 2.9.1 From be1972227e1af67d25caa04fc18f9e172a2e4eff Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:28:25 +0200 Subject: [PATCH 2663/3036] deps: update dependency com.google.api:gax-bom to v2.19.2 (#969) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.19.1` -> `2.19.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.2/compatibility-slim/2.19.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.2/confidence-slim/2.19.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.19.2`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2192-httpsgithubcomgoogleapisgax-javacomparev2191v2192-2022-10-02) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.19.1...v2.19.2) ##### Bug Fixes - **deps:** Update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.3 ([#​1797](https://togithub.com/googleapis/gax-java/issues/1797)) ([50c6a75](https://togithub.com/googleapis/gax-java/commit/50c6a75db05537b873d0d143fdccab82f46bc644)) - **deps:** Update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.4 ([#​1800](https://togithub.com/googleapis/gax-java/issues/1800)) ([6d4e62d](https://togithub.com/googleapis/gax-java/commit/6d4e62de5c2303d7c31faa046966b8842cbcfe53)) - **deps:** Update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.5 ([#​1805](https://togithub.com/googleapis/gax-java/issues/1805)) ([1f9fe38](https://togithub.com/googleapis/gax-java/commit/1f9fe38e3b152dad50a026adea8ea9b488acf786)) - **deps:** Update dependency com.google.api.grpc:grpc-google-common-protos to v2.9.6 ([#​1810](https://togithub.com/googleapis/gax-java/issues/1810)) ([a206f46](https://togithub.com/googleapis/gax-java/commit/a206f46a095812c77cce1085a546692ba871deef)) - **deps:** Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.3 ([#​1798](https://togithub.com/googleapis/gax-java/issues/1798)) ([8a1c732](https://togithub.com/googleapis/gax-java/commit/8a1c732bf938818a40c907b5656025cac52b9645)) - **deps:** Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.4 ([#​1801](https://togithub.com/googleapis/gax-java/issues/1801)) ([0e2a405](https://togithub.com/googleapis/gax-java/commit/0e2a4053d945f4d4da55f8b5486df6dbcab66c2f)) - **deps:** Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.5 ([#​1806](https://togithub.com/googleapis/gax-java/issues/1806)) ([da9dff8](https://togithub.com/googleapis/gax-java/commit/da9dff8a9cd2db63b396df42830c679b3555187d)) - **deps:** Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.6 ([#​1811](https://togithub.com/googleapis/gax-java/issues/1811)) ([bb5dffa](https://togithub.com/googleapis/gax-java/commit/bb5dffa51de48a6f97304a50c4a596e21673bb6e)) - **deps:** Update dependency com.google.protobuf:protobuf-bom to v3.21.6 ([#​1792](https://togithub.com/googleapis/gax-java/issues/1792)) ([d94482e](https://togithub.com/googleapis/gax-java/commit/d94482ef19f45b6dfbe775d7facf3467b09cb194)) - **deps:** Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#​1803](https://togithub.com/googleapis/gax-java/issues/1803)) ([534250b](https://togithub.com/googleapis/gax-java/commit/534250bdb165576bea7793a61b39c11312e4ec31)) - **deps:** Update dependency io.grpc:grpc-bom to v1.49.1 ([#​1796](https://togithub.com/googleapis/gax-java/issues/1796)) ([9cb8d36](https://togithub.com/googleapis/gax-java/commit/9cb8d3640ff40f30f8dae2efd7341578fd449a7d)) - **deps:** Update dependency io.grpc:grpc-bom to v1.49.2 ([#​1808](https://togithub.com/googleapis/gax-java/issues/1808)) ([b27f15d](https://togithub.com/googleapis/gax-java/commit/b27f15d277f74bc11e10e6e25b588b1767f8e5ee)) - **deps:** Update dependency org.threeten:threetenbp to v1.6.2 ([#​1799](https://togithub.com/googleapis/gax-java/issues/1799)) ([6a45067](https://togithub.com/googleapis/gax-java/commit/6a450679302c611960710f5a98e32d278bda2b60)) - remove --allow-incomplete-classpath which has been deprecated as of Graalvm 22.1.0 ([e5c739c](https://togithub.com/googleapis/gax-java/commit/e5c739c093067f6f2340f873ed96dfea8ef9b7d6)) - Remove --allow-incomplete-classpath which was deprecated as of Graalvm 22.1.0 ([#​1794](https://togithub.com/googleapis/gax-java/issues/1794)) ([e5c739c](https://togithub.com/googleapis/gax-java/commit/e5c739c093067f6f2340f873ed96dfea8ef9b7d6))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1b98b91eb1e8..c85bb82a7b68 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.19.1 + 2.19.2 2.2.1 2.9.6 1.6.1 From 0cd42aee75de5e3ddcde03165620aebae3ce2df0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:30:13 +0200 Subject: [PATCH 2664/3036] deps: update google.common-protos.version to v2.9.6 (#844) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-iam/grpc-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.5` -> `2.9.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.6/compatibility-slim/2.9.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.9.6/confidence-slim/2.9.5)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.5` -> `2.9.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/compatibility-slim/2.9.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.9.6/confidence-slim/2.9.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.9.6`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​296-httpsgithubcomgoogleapisjava-common-protoscomparev295v296-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.5...v2.9.6) ##### Dependencies - Update dependency io.grpc:grpc-bom to v1.49.2 ([#​448](https://togithub.com/googleapis/java-common-protos/issues/448)) ([70b435b](https://togithub.com/googleapis/java-common-protos/commit/70b435b006ec2b00b86491f10a6f53e689b9739c)) - Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#​449](https://togithub.com/googleapis/java-common-protos/issues/449)) ([fddd7a9](https://togithub.com/googleapis/java-common-protos/commit/fddd7a932c46462e1d7845d95260523aa10a9b8a)) - Update dependency io.grpc:grpc-stub to v1.49.2 ([#​450](https://togithub.com/googleapis/java-common-protos/issues/450)) ([abbe6cc](https://togithub.com/googleapis/java-common-protos/commit/abbe6cc897a555d0a3814b9f4bf959fc5856333e))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c5d621f7adcc..18063d9037d2 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 31.1-jre 3.21.7 2.2.1 - 2.9.5 + 2.9.6 2.8.19 1.11.0 1.42.2 From 533c6a6382c2e933b2e87834b5b94913c1dc4943 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sun, 2 Oct 2022 23:34:16 +0200 Subject: [PATCH 2665/3036] deps: update dependency gcp-releasetool to v1.8.9 (#846) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | gcp-releasetool | `==1.8.7` -> `==1.8.9` | [![age](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.9/compatibility-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.9/confidence-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 6df86e69ec218db537a20755a0d599a85cbdfdc8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sun, 2 Oct 2022 21:36:20 +0000 Subject: [PATCH 2666/3036] chore(main): release 2.8.20 (#968) :robot: I have created a release *beep* *boop* --- ## [2.8.20](https://togithub.com/googleapis/java-core/compare/v2.8.19...v2.8.20) (2022-10-02) ### Dependencies * Update dependency com.google.api:gax-bom to v2.19.2 ([#969](https://togithub.com/googleapis/java-core/issues/969)) ([be19722](https://togithub.com/googleapis/java-core/commit/be1972227e1af67d25caa04fc18f9e172a2e4eff)) * Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.6 ([#967](https://togithub.com/googleapis/java-core/issues/967)) ([d8526cf](https://togithub.com/googleapis/java-core/commit/d8526cf4105cd9a31e97f07cd6bdeca70cd0b6df)) * Update dependency io.grpc:grpc-bom to v1.49.2 ([#966](https://togithub.com/googleapis/java-core/issues/966)) ([19ebf64](https://togithub.com/googleapis/java-core/commit/19ebf64f5d07c66fa9c3cf1a82ff2d20691abc89)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 9 +++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 2da152d58ad3..4f91d4dfda25 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [2.8.20](https://github.com/googleapis/java-core/compare/v2.8.19...v2.8.20) (2022-10-02) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.2 ([#969](https://github.com/googleapis/java-core/issues/969)) ([1151449](https://github.com/googleapis/java-core/commit/1151449c061ab51c45982444db5f9da9d2ce4fb7)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.6 ([#967](https://github.com/googleapis/java-core/issues/967)) ([4a7b524](https://github.com/googleapis/java-core/commit/4a7b524fa366484825bedbc0a4f86d4551a6a0e8)) +* Update dependency io.grpc:grpc-bom to v1.49.2 ([#966](https://github.com/googleapis/java-core/issues/966)) ([b7738aa](https://github.com/googleapis/java-core/commit/b7738aa71fb9cf0994e4ad1dae4bae433754cda0)) + ## [2.8.19](https://github.com/googleapis/java-core/compare/v2.8.18...v2.8.19) (2022-09-30) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 12fcb6ff1ab0..78208dcb2568 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.20-SNAPSHOT + 2.8.20 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.20-SNAPSHOT + 2.8.20 com.google.cloud google-cloud-core-grpc - 2.8.20-SNAPSHOT + 2.8.20 com.google.cloud google-cloud-core-http - 2.8.20-SNAPSHOT + 2.8.20 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 15549c98b528..31156bb94249 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.8.20-SNAPSHOT + 2.8.20 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.20-SNAPSHOT + 2.8.20 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 17602f930fdf..7c548cc7cd17 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.8.20-SNAPSHOT + 2.8.20 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.20-SNAPSHOT + 2.8.20 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index b76c22ea2a65..cc8f5c991b90 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.8.20-SNAPSHOT + 2.8.20 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.20-SNAPSHOT + 2.8.20 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index c85bb82a7b68..9d824514765a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.20-SNAPSHOT + 2.8.20 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index b8cd8eb2d1ab..7efbcffa2e73 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.19:2.8.20-SNAPSHOT +google-cloud-core:2.8.20:2.8.20 From d0632df63797b45bf5de5e625aa842595f74fac9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sun, 2 Oct 2022 21:42:12 +0000 Subject: [PATCH 2667/3036] chore(main): release 2.8.21-SNAPSHOT (#970) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 78208dcb2568..59da1cfde1a5 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.20 + 2.8.21-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.20 + 2.8.21-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.20 + 2.8.21-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.20 + 2.8.21-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 31156bb94249..4b9ac1bce123 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.8.20 + 2.8.21-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.20 + 2.8.21-SNAPSHOT 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 7c548cc7cd17..e10a21eaeae5 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.8.20 + 2.8.21-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.20 + 2.8.21-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index cc8f5c991b90..95b77c9dcde9 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.8.20 + 2.8.21-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.20 + 2.8.21-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9d824514765a..bb51ef713e42 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.20 + 2.8.21-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7efbcffa2e73..9a92d5ffdb0a 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.20:2.8.20 +google-cloud-core:2.8.20:2.8.21-SNAPSHOT From 8b3eef39c61d71b3d78cb05860792f78329d5fb3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sun, 2 Oct 2022 23:50:17 +0000 Subject: [PATCH 2668/3036] chore(main): release 1.6.2 (#433) :robot: I have created a release *beep* *boop* --- ## [1.6.2](https://togithub.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) (2022-10-02) ### Documentation * **samples:** Update package names to match v2 ([#424](https://togithub.com/googleapis/java-iam/issues/424)) ([3a4392a](https://togithub.com/googleapis/java-iam/commit/3a4392af5d222d349b2fb8352c041b7889be97b5)) ### Dependencies * Update dependency cachetools to v5 ([#459](https://togithub.com/googleapis/java-iam/issues/459)) ([89ea28b](https://togithub.com/googleapis/java-iam/commit/89ea28b2d57b4bdb11b8d847af313c63c8023146)) * Update dependency certifi to v2022.9.24 ([#440](https://togithub.com/googleapis/java-iam/issues/440)) ([de6c438](https://togithub.com/googleapis/java-iam/commit/de6c438b7709e71bdcc2c1c47702b808f828a42f)) * Update dependency charset-normalizer to v2.1.1 ([#444](https://togithub.com/googleapis/java-iam/issues/444)) ([5715206](https://togithub.com/googleapis/java-iam/commit/57152061f264629aa0f09f2602abf6fe3b242945)) * Update dependency click to v8.1.3 ([#445](https://togithub.com/googleapis/java-iam/issues/445)) ([189a5c4](https://togithub.com/googleapis/java-iam/commit/189a5c4102bd6b9f4fbfc252a67019a7c5e23ee3)) * Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#435](https://togithub.com/googleapis/java-iam/issues/435)) ([5d415a9](https://togithub.com/googleapis/java-iam/commit/5d415a98f4e7cede137b57e048ec70c21ea8376d)) * Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#439](https://togithub.com/googleapis/java-iam/issues/439)) ([b17765b](https://togithub.com/googleapis/java-iam/commit/b17765b5e897bcef60aeef56ed2524b418f73b65)) * Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#434](https://togithub.com/googleapis/java-iam/issues/434)) ([18d4bc0](https://togithub.com/googleapis/java-iam/commit/18d4bc0cd7341123d00eeb5fa15606d058f12fa6)) * Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#463](https://togithub.com/googleapis/java-iam/issues/463)) ([8ad215f](https://togithub.com/googleapis/java-iam/commit/8ad215f4543f7ffcd891ed6e1b202fe1ddccd86f)) * Update dependency gcp-releasetool to v1.8.8 ([#441](https://togithub.com/googleapis/java-iam/issues/441)) ([31fec95](https://togithub.com/googleapis/java-iam/commit/31fec95f348f55c98dab665bec47d88f396a9611)) * Update dependency google-api-core to v2.10.1 ([#446](https://togithub.com/googleapis/java-iam/issues/446)) ([50d8221](https://togithub.com/googleapis/java-iam/commit/50d82218cb3056bb49173d7f5d4e7b0070717b0f)) * Update dependency google-auth to v2.12.0 ([#447](https://togithub.com/googleapis/java-iam/issues/447)) ([97b4c23](https://togithub.com/googleapis/java-iam/commit/97b4c236276d27be1e290334573ec6897c9e67c9)) * Update dependency google-cloud-core to v2.3.2 ([#442](https://togithub.com/googleapis/java-iam/issues/442)) ([00adc9a](https://togithub.com/googleapis/java-iam/commit/00adc9a8bf225a4c3d1509f9e6778ad10dd16e2e)) * Update dependency google-cloud-storage to v2.5.0 ([#448](https://togithub.com/googleapis/java-iam/issues/448)) ([df5cf74](https://togithub.com/googleapis/java-iam/commit/df5cf74ee883b7f4d99ce9654fcdd6a4670cc98a)) * Update dependency google-crc32c to v1.5.0 ([#449](https://togithub.com/googleapis/java-iam/issues/449)) ([a2f7304](https://togithub.com/googleapis/java-iam/commit/a2f7304a602b4621f43d4b3966586e0a7e1a7a2d)) * Update dependency googleapis-common-protos to v1.56.4 ([#443](https://togithub.com/googleapis/java-iam/issues/443)) ([c64de5a](https://togithub.com/googleapis/java-iam/commit/c64de5a5b2f3fcd9e17ed4963e586aaf0a1209ba)) * Update dependency importlib-metadata to v4.12.0 ([#450](https://togithub.com/googleapis/java-iam/issues/450)) ([e8607ce](https://togithub.com/googleapis/java-iam/commit/e8607ce4d1c6b202726b185560920c742e056a30)) * Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#464](https://togithub.com/googleapis/java-iam/issues/464)) ([0d24035](https://togithub.com/googleapis/java-iam/commit/0d2403530080668411981679ec01801d5e756e03)) * Update dependency io.grpc:grpc-stub to v1.49.2 ([#465](https://togithub.com/googleapis/java-iam/issues/465)) ([2b67643](https://togithub.com/googleapis/java-iam/commit/2b67643239cf9cf617ddd3d15d176fbdb574d15e)) * Update dependency jeepney to v0.8.0 ([#451](https://togithub.com/googleapis/java-iam/issues/451)) ([56c8f86](https://togithub.com/googleapis/java-iam/commit/56c8f86e437f49636edd5673b4336def947de475)) * Update dependency jinja2 to v3.1.2 ([#452](https://togithub.com/googleapis/java-iam/issues/452)) ([0ebc062](https://togithub.com/googleapis/java-iam/commit/0ebc06212f4dc10f8724f35705d1db9ab148beac)) * Update dependency markupsafe to v2.1.1 ([#454](https://togithub.com/googleapis/java-iam/issues/454)) ([93bd5ec](https://togithub.com/googleapis/java-iam/commit/93bd5ec7183cf306e4956261321038b923861276)) * Update dependency protobuf to v3.20.2 ([#455](https://togithub.com/googleapis/java-iam/issues/455)) ([fb47671](https://togithub.com/googleapis/java-iam/commit/fb47671168b256e9b76ecc16e52cf0674cbefce7)) * Update dependency protobuf to v4 ([#460](https://togithub.com/googleapis/java-iam/issues/460)) ([cb9637c](https://togithub.com/googleapis/java-iam/commit/cb9637ce2ed8976deda7a146a3df738f6afd158c)) * Update dependency pyjwt to v2.5.0 ([#461](https://togithub.com/googleapis/java-iam/issues/461)) ([2d696a0](https://togithub.com/googleapis/java-iam/commit/2d696a04f036369b25a3dceb29f8f1b855136890)) * Update dependency requests to v2.28.1 ([#456](https://togithub.com/googleapis/java-iam/issues/456)) ([b023d05](https://togithub.com/googleapis/java-iam/commit/b023d05d096ae796573c488869682c45f1de57b2)) * Update dependency typing-extensions to v4.3.0 ([#457](https://togithub.com/googleapis/java-iam/issues/457)) ([53a369c](https://togithub.com/googleapis/java-iam/commit/53a369c5f157bcfb2752c6b6503d2f5e76c226b8)) * Update dependency zipp to v3.8.1 ([#458](https://togithub.com/googleapis/java-iam/issues/458)) ([39ea408](https://togithub.com/googleapis/java-iam/commit/39ea4087f4b72a57ee09d6f312d05f7607d89bfb)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 38 ++++++++++++++++++++++++ java-iam/google-iam-policy/pom.xml | 4 +-- java-iam/grpc-google-iam-v1/pom.xml | 4 +-- java-iam/grpc-google-iam-v2/pom.xml | 4 +-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 +-- java-iam/pom.xml | 16 +++++----- java-iam/proto-google-iam-v1/pom.xml | 4 +-- java-iam/proto-google-iam-v2/pom.xml | 4 +-- java-iam/proto-google-iam-v2beta/pom.xml | 4 +-- java-iam/versions.txt | 14 ++++----- 10 files changed, 67 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 4ce8c73a6d2d..9637a4095b28 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## [1.6.2](https://github.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) (2022-10-02) + + +### Documentation + +* **samples:** Update package names to match v2 ([#424](https://github.com/googleapis/java-iam/issues/424)) ([7fda749](https://github.com/googleapis/java-iam/commit/7fda74962365073996bf1f0a6229bbf8984d1d09)) + + +### Dependencies + +* Update dependency cachetools to v5 ([#459](https://github.com/googleapis/java-iam/issues/459)) ([3984974](https://github.com/googleapis/java-iam/commit/3984974630ccd0921f12d276dbc22eb6798e74a9)) +* Update dependency certifi to v2022.9.24 ([#440](https://github.com/googleapis/java-iam/issues/440)) ([e0ebd9e](https://github.com/googleapis/java-iam/commit/e0ebd9e20a25e6edf7b913dea0943909ec28effb)) +* Update dependency charset-normalizer to v2.1.1 ([#444](https://github.com/googleapis/java-iam/issues/444)) ([4bac18b](https://github.com/googleapis/java-iam/commit/4bac18bd92702502730b878f10dcb12b39dfa1cf)) +* Update dependency click to v8.1.3 ([#445](https://github.com/googleapis/java-iam/issues/445)) ([e21bea2](https://github.com/googleapis/java-iam/commit/e21bea21af318e34220a649e9ec4bd9214f11feb)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#435](https://github.com/googleapis/java-iam/issues/435)) ([63a136b](https://github.com/googleapis/java-iam/commit/63a136b56dff577ac1e630293c80bd10539c1930)) +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#439](https://github.com/googleapis/java-iam/issues/439)) ([85b1d0f](https://github.com/googleapis/java-iam/commit/85b1d0f68950095c3ffd1ecda7eedc82ac5a92b1)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#434](https://github.com/googleapis/java-iam/issues/434)) ([b468d86](https://github.com/googleapis/java-iam/commit/b468d86fdeb55b3f463a5c03c61f37f467bfeef6)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#463](https://github.com/googleapis/java-iam/issues/463)) ([a58810f](https://github.com/googleapis/java-iam/commit/a58810f3f6fc641b74cb92d358f71f9461ad9664)) +* Update dependency gcp-releasetool to v1.8.8 ([#441](https://github.com/googleapis/java-iam/issues/441)) ([89469a8](https://github.com/googleapis/java-iam/commit/89469a845e62479ab0f34a219486020d398aaf70)) +* Update dependency google-api-core to v2.10.1 ([#446](https://github.com/googleapis/java-iam/issues/446)) ([69dbd0d](https://github.com/googleapis/java-iam/commit/69dbd0d656656943851a9f5b159b4de0f7665a5d)) +* Update dependency google-auth to v2.12.0 ([#447](https://github.com/googleapis/java-iam/issues/447)) ([10fed85](https://github.com/googleapis/java-iam/commit/10fed85610182533b695fe741fe8e158e7b3799a)) +* Update dependency google-cloud-core to v2.3.2 ([#442](https://github.com/googleapis/java-iam/issues/442)) ([709e0b4](https://github.com/googleapis/java-iam/commit/709e0b407610ee5fec6bb38b695504c245f5d003)) +* Update dependency google-cloud-storage to v2.5.0 ([#448](https://github.com/googleapis/java-iam/issues/448)) ([4ef1f8e](https://github.com/googleapis/java-iam/commit/4ef1f8e6f5317ba339b94613a120d540acd90f57)) +* Update dependency google-crc32c to v1.5.0 ([#449](https://github.com/googleapis/java-iam/issues/449)) ([e54b847](https://github.com/googleapis/java-iam/commit/e54b8479589cb2350356c78c2f2a44a841e8f904)) +* Update dependency googleapis-common-protos to v1.56.4 ([#443](https://github.com/googleapis/java-iam/issues/443)) ([d060a5b](https://github.com/googleapis/java-iam/commit/d060a5b90ba189f1118b4ad899c7a0e9ad39bf44)) +* Update dependency importlib-metadata to v4.12.0 ([#450](https://github.com/googleapis/java-iam/issues/450)) ([248b90a](https://github.com/googleapis/java-iam/commit/248b90a6f715d881856a50e55df45b19a695ff32)) +* Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#464](https://github.com/googleapis/java-iam/issues/464)) ([406e890](https://github.com/googleapis/java-iam/commit/406e89048c62e264dcf93ef5c940734e7367a00f)) +* Update dependency io.grpc:grpc-stub to v1.49.2 ([#465](https://github.com/googleapis/java-iam/issues/465)) ([8735303](https://github.com/googleapis/java-iam/commit/8735303fc9eb7b1198ce2a2019e33ad5f63ec1cf)) +* Update dependency jeepney to v0.8.0 ([#451](https://github.com/googleapis/java-iam/issues/451)) ([0721ab8](https://github.com/googleapis/java-iam/commit/0721ab835c3a0588632916e70b2d92ff51824de6)) +* Update dependency jinja2 to v3.1.2 ([#452](https://github.com/googleapis/java-iam/issues/452)) ([514f80c](https://github.com/googleapis/java-iam/commit/514f80c8f051a8bb2f2fbf19d0e130c12b70ee9a)) +* Update dependency markupsafe to v2.1.1 ([#454](https://github.com/googleapis/java-iam/issues/454)) ([d6123a7](https://github.com/googleapis/java-iam/commit/d6123a709b01e1c40ce8423ebd70ed5a6c4ae4a0)) +* Update dependency protobuf to v3.20.2 ([#455](https://github.com/googleapis/java-iam/issues/455)) ([c9a631a](https://github.com/googleapis/java-iam/commit/c9a631ac0ba852fee31ddd458bb40bd78a081b75)) +* Update dependency protobuf to v4 ([#460](https://github.com/googleapis/java-iam/issues/460)) ([7738293](https://github.com/googleapis/java-iam/commit/773829323697e3c5785eb9b7bf7000fd296921b7)) +* Update dependency pyjwt to v2.5.0 ([#461](https://github.com/googleapis/java-iam/issues/461)) ([5f1659f](https://github.com/googleapis/java-iam/commit/5f1659f2cb1a20d9a034e1f6214ec793d2ef908c)) +* Update dependency requests to v2.28.1 ([#456](https://github.com/googleapis/java-iam/issues/456)) ([c390fee](https://github.com/googleapis/java-iam/commit/c390fee02a5545c567d45cc4375a5eb549d9765f)) +* Update dependency typing-extensions to v4.3.0 ([#457](https://github.com/googleapis/java-iam/issues/457)) ([913effd](https://github.com/googleapis/java-iam/commit/913effd62b170e96ebd74456b02692f462cedc40)) +* Update dependency zipp to v3.8.1 ([#458](https://github.com/googleapis/java-iam/issues/458)) ([5afe18a](https://github.com/googleapis/java-iam/commit/5afe18a7c6c0ef89b603455cea5569be71b27173)) + ## [1.6.1](https://github.com/googleapis/java-iam/compare/v1.6.0...v1.6.1) (2022-09-21) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 05a5f86fb010..26847f8746c7 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.2-SNAPSHOT + 1.6.2 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.2-SNAPSHOT + 1.6.2 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e7966e0d7183..a3e2ab28d59f 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.6.2-SNAPSHOT + 1.6.2 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2-SNAPSHOT + 1.6.2 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index ab42ba164934..7a029084a8da 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.6.2-SNAPSHOT + 1.6.2 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.2-SNAPSHOT + 1.6.2 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 1da776914766..224d9e6eaa37 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.6.2-SNAPSHOT + 1.6.2 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2-SNAPSHOT + 1.6.2 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 977fc944c398..90a56468a124 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.2-SNAPSHOT + 1.6.2 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.2-SNAPSHOT + 1.6.2 com.google.api.grpc grpc-google-iam-v2 - 1.6.2-SNAPSHOT + 1.6.2 com.google.cloud google-iam-policy - 1.6.2-SNAPSHOT + 1.6.2 com.google.api.grpc proto-google-iam-v2beta - 1.6.2-SNAPSHOT + 1.6.2 com.google.api.grpc grpc-google-iam-v1 - 1.6.2-SNAPSHOT + 1.6.2 com.google.api.grpc grpc-google-iam-v2beta - 1.6.2-SNAPSHOT + 1.6.2 com.google.api.grpc proto-google-iam-v1 - 1.6.2-SNAPSHOT + 1.6.2 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1bf95c84e396..13780046462c 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.6.2-SNAPSHOT + 1.6.2 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2-SNAPSHOT + 1.6.2 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 2961d6ca28f2..a80c7043a1ac 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.6.2-SNAPSHOT + 1.6.2 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2-SNAPSHOT + 1.6.2 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index a86e4c5f8d0d..cb827650ba87 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.6.2-SNAPSHOT + 1.6.2 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2-SNAPSHOT + 1.6.2 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index effe77cad187..361cf793d213 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.1:1.6.2-SNAPSHOT -grpc-google-iam-v1:1.6.1:1.6.2-SNAPSHOT -proto-google-iam-v2beta:1.6.1:1.6.2-SNAPSHOT -grpc-google-iam-v2beta:1.6.1:1.6.2-SNAPSHOT -google-iam-policy:1.6.1:1.6.2-SNAPSHOT -proto-google-iam-v2:1.6.1:1.6.2-SNAPSHOT -grpc-google-iam-v2:1.6.1:1.6.2-SNAPSHOT +proto-google-iam-v1:1.6.2:1.6.2 +grpc-google-iam-v1:1.6.2:1.6.2 +proto-google-iam-v2beta:1.6.2:1.6.2 +grpc-google-iam-v2beta:1.6.2:1.6.2 +google-iam-policy:1.6.2:1.6.2 +proto-google-iam-v2:1.6.2:1.6.2 +grpc-google-iam-v2:1.6.2:1.6.2 From 3cbe58913e1a08697cf8ce82fe82b3b9b5d9403e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sun, 2 Oct 2022 23:56:36 +0000 Subject: [PATCH 2669/3036] chore(main): release 1.6.3-SNAPSHOT (#466) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 26847f8746c7..c22713417db8 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.2 + 1.6.3-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.2 + 1.6.3-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a3e2ab28d59f..036c5ad45bc4 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.6.2 + 1.6.3-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2 + 1.6.3-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 7a029084a8da..b144db831e87 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.6.2 + 1.6.3-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.2 + 1.6.3-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 224d9e6eaa37..5e419d47063d 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.6.2 + 1.6.3-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2 + 1.6.3-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 90a56468a124..7e69673d9e82 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.2 + 1.6.3-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.2 + 1.6.3-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.2 + 1.6.3-SNAPSHOT com.google.cloud google-iam-policy - 1.6.2 + 1.6.3-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.2 + 1.6.3-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.2 + 1.6.3-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.2 + 1.6.3-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.2 + 1.6.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 13780046462c..1abb14031f59 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.6.2 + 1.6.3-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2 + 1.6.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index a80c7043a1ac..b269ddd704fe 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.6.2 + 1.6.3-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2 + 1.6.3-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index cb827650ba87..0a9c9f4ae1cb 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.6.2 + 1.6.3-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.2 + 1.6.3-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 361cf793d213..e6c29cac5ff3 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.2:1.6.2 -grpc-google-iam-v1:1.6.2:1.6.2 -proto-google-iam-v2beta:1.6.2:1.6.2 -grpc-google-iam-v2beta:1.6.2:1.6.2 -google-iam-policy:1.6.2:1.6.2 -proto-google-iam-v2:1.6.2:1.6.2 -grpc-google-iam-v2:1.6.2:1.6.2 +proto-google-iam-v1:1.6.2:1.6.3-SNAPSHOT +grpc-google-iam-v1:1.6.2:1.6.3-SNAPSHOT +proto-google-iam-v2beta:1.6.2:1.6.3-SNAPSHOT +grpc-google-iam-v2beta:1.6.2:1.6.3-SNAPSHOT +google-iam-policy:1.6.2:1.6.3-SNAPSHOT +proto-google-iam-v2:1.6.2:1.6.3-SNAPSHOT +grpc-google-iam-v2:1.6.2:1.6.3-SNAPSHOT From 63228ac05cfa27c6ecfee44eb91a8fabb94c5f59 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 3 Oct 2022 02:50:11 +0200 Subject: [PATCH 2670/3036] deps: update gax.version to v2.19.2 (#847) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 18063d9037d2..4fc991c54acb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.49.2 - 2.19.1 + 2.19.2 1.2.1 2.9.1 31.1-jre From 1251c42fd0e9f31991236a1bfd2ff7010ab22e70 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 3 Oct 2022 02:54:41 +0200 Subject: [PATCH 2671/3036] deps: update iam.version to v1.6.2 (#849) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​162-httpsgithubcomgoogleapisjava-iamcomparev161v162-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) ##### Documentation - **samples:** Update package names to match v2 ([#​424](https://togithub.com/googleapis/java-iam/issues/424)) ([7fda749](https://togithub.com/googleapis/java-iam/commit/7fda74962365073996bf1f0a6229bbf8984d1d09)) ##### Dependencies - Update dependency cachetools to v5 ([#​459](https://togithub.com/googleapis/java-iam/issues/459)) ([3984974](https://togithub.com/googleapis/java-iam/commit/3984974630ccd0921f12d276dbc22eb6798e74a9)) - Update dependency certifi to v2022.9.24 ([#​440](https://togithub.com/googleapis/java-iam/issues/440)) ([e0ebd9e](https://togithub.com/googleapis/java-iam/commit/e0ebd9e20a25e6edf7b913dea0943909ec28effb)) - Update dependency charset-normalizer to v2.1.1 ([#​444](https://togithub.com/googleapis/java-iam/issues/444)) ([4bac18b](https://togithub.com/googleapis/java-iam/commit/4bac18bd92702502730b878f10dcb12b39dfa1cf)) - Update dependency click to v8.1.3 ([#​445](https://togithub.com/googleapis/java-iam/issues/445)) ([e21bea2](https://togithub.com/googleapis/java-iam/commit/e21bea21af318e34220a649e9ec4bd9214f11feb)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#​435](https://togithub.com/googleapis/java-iam/issues/435)) ([63a136b](https://togithub.com/googleapis/java-iam/commit/63a136b56dff577ac1e630293c80bd10539c1930)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#​439](https://togithub.com/googleapis/java-iam/issues/439)) ([85b1d0f](https://togithub.com/googleapis/java-iam/commit/85b1d0f68950095c3ffd1ecda7eedc82ac5a92b1)) - Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#​434](https://togithub.com/googleapis/java-iam/issues/434)) ([b468d86](https://togithub.com/googleapis/java-iam/commit/b468d86fdeb55b3f463a5c03c61f37f467bfeef6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​463](https://togithub.com/googleapis/java-iam/issues/463)) ([a58810f](https://togithub.com/googleapis/java-iam/commit/a58810f3f6fc641b74cb92d358f71f9461ad9664)) - Update dependency gcp-releasetool to v1.8.8 ([#​441](https://togithub.com/googleapis/java-iam/issues/441)) ([89469a8](https://togithub.com/googleapis/java-iam/commit/89469a845e62479ab0f34a219486020d398aaf70)) - Update dependency google-api-core to v2.10.1 ([#​446](https://togithub.com/googleapis/java-iam/issues/446)) ([69dbd0d](https://togithub.com/googleapis/java-iam/commit/69dbd0d656656943851a9f5b159b4de0f7665a5d)) - Update dependency google-auth to v2.12.0 ([#​447](https://togithub.com/googleapis/java-iam/issues/447)) ([10fed85](https://togithub.com/googleapis/java-iam/commit/10fed85610182533b695fe741fe8e158e7b3799a)) - Update dependency google-cloud-core to v2.3.2 ([#​442](https://togithub.com/googleapis/java-iam/issues/442)) ([709e0b4](https://togithub.com/googleapis/java-iam/commit/709e0b407610ee5fec6bb38b695504c245f5d003)) - Update dependency google-cloud-storage to v2.5.0 ([#​448](https://togithub.com/googleapis/java-iam/issues/448)) ([4ef1f8e](https://togithub.com/googleapis/java-iam/commit/4ef1f8e6f5317ba339b94613a120d540acd90f57)) - Update dependency google-crc32c to v1.5.0 ([#​449](https://togithub.com/googleapis/java-iam/issues/449)) ([e54b847](https://togithub.com/googleapis/java-iam/commit/e54b8479589cb2350356c78c2f2a44a841e8f904)) - Update dependency googleapis-common-protos to v1.56.4 ([#​443](https://togithub.com/googleapis/java-iam/issues/443)) ([d060a5b](https://togithub.com/googleapis/java-iam/commit/d060a5b90ba189f1118b4ad899c7a0e9ad39bf44)) - Update dependency importlib-metadata to v4.12.0 ([#​450](https://togithub.com/googleapis/java-iam/issues/450)) ([248b90a](https://togithub.com/googleapis/java-iam/commit/248b90a6f715d881856a50e55df45b19a695ff32)) - Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#​464](https://togithub.com/googleapis/java-iam/issues/464)) ([406e890](https://togithub.com/googleapis/java-iam/commit/406e89048c62e264dcf93ef5c940734e7367a00f)) - Update dependency io.grpc:grpc-stub to v1.49.2 ([#​465](https://togithub.com/googleapis/java-iam/issues/465)) ([8735303](https://togithub.com/googleapis/java-iam/commit/8735303fc9eb7b1198ce2a2019e33ad5f63ec1cf)) - Update dependency jeepney to v0.8.0 ([#​451](https://togithub.com/googleapis/java-iam/issues/451)) ([0721ab8](https://togithub.com/googleapis/java-iam/commit/0721ab835c3a0588632916e70b2d92ff51824de6)) - Update dependency jinja2 to v3.1.2 ([#​452](https://togithub.com/googleapis/java-iam/issues/452)) ([514f80c](https://togithub.com/googleapis/java-iam/commit/514f80c8f051a8bb2f2fbf19d0e130c12b70ee9a)) - Update dependency markupsafe to v2.1.1 ([#​454](https://togithub.com/googleapis/java-iam/issues/454)) ([d6123a7](https://togithub.com/googleapis/java-iam/commit/d6123a709b01e1c40ce8423ebd70ed5a6c4ae4a0)) - Update dependency protobuf to v3.20.2 ([#​455](https://togithub.com/googleapis/java-iam/issues/455)) ([c9a631a](https://togithub.com/googleapis/java-iam/commit/c9a631ac0ba852fee31ddd458bb40bd78a081b75)) - Update dependency protobuf to v4 ([#​460](https://togithub.com/googleapis/java-iam/issues/460)) ([7738293](https://togithub.com/googleapis/java-iam/commit/773829323697e3c5785eb9b7bf7000fd296921b7)) - Update dependency pyjwt to v2.5.0 ([#​461](https://togithub.com/googleapis/java-iam/issues/461)) ([5f1659f](https://togithub.com/googleapis/java-iam/commit/5f1659f2cb1a20d9a034e1f6214ec793d2ef908c)) - Update dependency requests to v2.28.1 ([#​456](https://togithub.com/googleapis/java-iam/issues/456)) ([c390fee](https://togithub.com/googleapis/java-iam/commit/c390fee02a5545c567d45cc4375a5eb549d9765f)) - Update dependency typing-extensions to v4.3.0 ([#​457](https://togithub.com/googleapis/java-iam/issues/457)) ([913effd](https://togithub.com/googleapis/java-iam/commit/913effd62b170e96ebd74456b02692f462cedc40)) - Update dependency zipp to v3.8.1 ([#​458](https://togithub.com/googleapis/java-iam/issues/458)) ([5afe18a](https://togithub.com/googleapis/java-iam/commit/5afe18a7c6c0ef89b603455cea5569be71b27173))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 4fc991c54acb..910035653854 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.2 1.34.1 2.0.0 - 1.6.1 + 1.6.2
    From 49d9511d05d957687a386a5b0035711016193a95 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 3 Oct 2022 00:54:46 +0000 Subject: [PATCH 2672/3036] chore(main): release 3.0.4-SNAPSHOT (#801) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 837008ef6fa8..4a5a8e5209cf 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.0.3 + 3.0.4-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.3 + 3.0.4-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 910035653854..9e5cdba3f5b5 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.0.3 + 3.0.4-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 4f09707cc3d7..79e2c8499322 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.0.3 + 3.0.4-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.3 + 3.0.4-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.0.3 + 3.0.4-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 2df66ef7a3dc..221f967415c1 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.0.3 + 3.0.4-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 21c43e3dc939..88adf5e607a0 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.0.3 + 3.0.4-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.3 + 3.0.4-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 4d4a3e718dd6..ecc70141db89 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.3:3.0.3 +google-cloud-shared-dependencies:3.0.3:3.0.4-SNAPSHOT From 047dc3f6f1b1a0c27079c8bc07046793c96f8dfc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 3 Oct 2022 02:54:51 +0200 Subject: [PATCH 2673/3036] deps: update google.core.version to v2.8.20 (#848) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.19` -> `2.8.20` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/compatibility-slim/2.8.19)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.20/confidence-slim/2.8.19)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.19` -> `2.8.20` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.20/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.20/compatibility-slim/2.8.19)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.20/confidence-slim/2.8.19)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.20`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2820-httpsgithubcomgoogleapisjava-corecomparev2819v2820-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.19...v2.8.20) ##### Dependencies - Update dependency com.google.api:gax-bom to v2.19.2 ([#​969](https://togithub.com/googleapis/java-core/issues/969)) ([1151449](https://togithub.com/googleapis/java-core/commit/1151449c061ab51c45982444db5f9da9d2ce4fb7)) - Update dependency com.google.api.grpc:proto-google-common-protos to v2.9.6 ([#​967](https://togithub.com/googleapis/java-core/issues/967)) ([4a7b524](https://togithub.com/googleapis/java-core/commit/4a7b524fa366484825bedbc0a4f86d4551a6a0e8)) - Update dependency io.grpc:grpc-bom to v1.49.2 ([#​966](https://togithub.com/googleapis/java-core/issues/966)) ([b7738aa](https://togithub.com/googleapis/java-core/commit/b7738aa71fb9cf0994e4ad1dae4bae433754cda0))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9e5cdba3f5b5..075451992e39 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.7 2.2.1 2.9.6 - 2.8.19 + 2.8.20 1.11.0 1.42.2 1.34.1 From cf70e0767629416ac60f23b1525a333e23de35bf Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 3 Oct 2022 03:22:23 +0000 Subject: [PATCH 2674/3036] chore(main): release 3.0.4 (#850) :robot: I have created a release *beep* *boop* --- ## [3.0.4](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.3...v3.0.4) (2022-10-03) ### Dependencies * Update dependency cachetools to v5 ([#816](https://togithub.com/googleapis/java-shared-dependencies/issues/816)) ([bd2569c](https://togithub.com/googleapis/java-shared-dependencies/commit/bd2569c8c26e177a83cbcf8ed63fed1c3fce2c4b)) * Update dependency certifi to v2022.9.24 ([#818](https://togithub.com/googleapis/java-shared-dependencies/issues/818)) ([5406a0c](https://togithub.com/googleapis/java-shared-dependencies/commit/5406a0ca7e4e2b47f87a39c0fc696fbfd7a6a196)) * Update dependency charset-normalizer to v2.1.1 ([#822](https://togithub.com/googleapis/java-shared-dependencies/issues/822)) ([5c998e4](https://togithub.com/googleapis/java-shared-dependencies/commit/5c998e4d05d47882743cdb5a871a6af728b9d920)) * Update dependency click to v8.1.3 ([#823](https://togithub.com/googleapis/java-shared-dependencies/issues/823)) ([2ad211a](https://togithub.com/googleapis/java-shared-dependencies/commit/2ad211abb259b0fc225303f695a2f0399e19cd66)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#837](https://togithub.com/googleapis/java-shared-dependencies/issues/837)) ([d5472aa](https://togithub.com/googleapis/java-shared-dependencies/commit/d5472aa3a98c7a10737b6a9137dba8140087a31b)) * Update dependency gcp-releasetool to v1.8.8 ([#819](https://togithub.com/googleapis/java-shared-dependencies/issues/819)) ([bfef3b0](https://togithub.com/googleapis/java-shared-dependencies/commit/bfef3b0cf05bc200e707dfbf0330d672d824004c)) * Update dependency gcp-releasetool to v1.8.9 ([#846](https://togithub.com/googleapis/java-shared-dependencies/issues/846)) ([533c6a6](https://togithub.com/googleapis/java-shared-dependencies/commit/533c6a6382c2e933b2e87834b5b94913c1dc4943)) * Update dependency google-api-core to v2.10.1 ([#824](https://togithub.com/googleapis/java-shared-dependencies/issues/824)) ([1a5d233](https://togithub.com/googleapis/java-shared-dependencies/commit/1a5d233efa85f1dbd3aa272d2d305d24a35a7576)) * Update dependency google-auth to v2.12.0 ([#825](https://togithub.com/googleapis/java-shared-dependencies/issues/825)) ([cbca860](https://togithub.com/googleapis/java-shared-dependencies/commit/cbca860ae78c7ddf4541ed8b7c057710299162a8)) * Update dependency google-cloud-core to v2.3.2 ([#820](https://togithub.com/googleapis/java-shared-dependencies/issues/820)) ([65a1310](https://togithub.com/googleapis/java-shared-dependencies/commit/65a1310f50ce6914a67cb5e0e4d258f9f4466f11)) * Update dependency google-cloud-storage to v2.5.0 ([#826](https://togithub.com/googleapis/java-shared-dependencies/issues/826)) ([5fd7983](https://togithub.com/googleapis/java-shared-dependencies/commit/5fd7983489b971344e64010c7cfef0a2f60be667)) * Update dependency google-crc32c to v1.5.0 ([#827](https://togithub.com/googleapis/java-shared-dependencies/issues/827)) ([ee9e013](https://togithub.com/googleapis/java-shared-dependencies/commit/ee9e013106173cefbc10563d5d51dd906997c658)) * Update dependency google-resumable-media to v2.4.0 ([#838](https://togithub.com/googleapis/java-shared-dependencies/issues/838)) ([fb02810](https://togithub.com/googleapis/java-shared-dependencies/commit/fb02810c4a975fc75b26d680266ac48f85779a70)) * Update dependency googleapis-common-protos to v1.56.4 ([#821](https://togithub.com/googleapis/java-shared-dependencies/issues/821)) ([49d6423](https://togithub.com/googleapis/java-shared-dependencies/commit/49d64234d57d99c07689d0dd66697bb94d69e958)) * Update dependency importlib-metadata to v4.12.0 ([#832](https://togithub.com/googleapis/java-shared-dependencies/issues/832)) ([33ef522](https://togithub.com/googleapis/java-shared-dependencies/commit/33ef5228cb4fda9ef24e2b4396f970bc5ab67322)) * Update dependency importlib-metadata to v4.13.0 ([#843](https://togithub.com/googleapis/java-shared-dependencies/issues/843)) ([333b61b](https://togithub.com/googleapis/java-shared-dependencies/commit/333b61baf0f42d64699626bbc57315b3a826c3d3)) * Update dependency importlib-metadata to v5 ([#845](https://togithub.com/googleapis/java-shared-dependencies/issues/845)) ([7dc299d](https://togithub.com/googleapis/java-shared-dependencies/commit/7dc299da70133bb0fa9a363816ea804d540edc22)) * Update dependency io.grpc:grpc-bom to v1.49.1 ([#802](https://togithub.com/googleapis/java-shared-dependencies/issues/802)) ([a810f58](https://togithub.com/googleapis/java-shared-dependencies/commit/a810f587a5551e5f36a0b161bc350ebcb636acd5)) * Update dependency io.grpc:grpc-bom to v1.49.2 ([#842](https://togithub.com/googleapis/java-shared-dependencies/issues/842)) ([064a166](https://togithub.com/googleapis/java-shared-dependencies/commit/064a1666dd030c5f9fe35da7ebbda3dad2421427)) * Update dependency jeepney to v0.8.0 ([#833](https://togithub.com/googleapis/java-shared-dependencies/issues/833)) ([d1a5a67](https://togithub.com/googleapis/java-shared-dependencies/commit/d1a5a672089424d3ef9f85ae5d87b669484466e5)) * Update dependency jinja2 to v3.1.2 ([#834](https://togithub.com/googleapis/java-shared-dependencies/issues/834)) ([ad63e98](https://togithub.com/googleapis/java-shared-dependencies/commit/ad63e988d2407a62491a309160e1b87b4cc06d9a)) * Update dependency keyring to v23.9.3 ([#828](https://togithub.com/googleapis/java-shared-dependencies/issues/828)) ([8fed728](https://togithub.com/googleapis/java-shared-dependencies/commit/8fed728e6c84c8cade5bb24a827c558345149cff)) * Update dependency markupsafe to v2.1.1 ([#829](https://togithub.com/googleapis/java-shared-dependencies/issues/829)) ([6a93716](https://togithub.com/googleapis/java-shared-dependencies/commit/6a93716f6f161ced9a08840037bbfe7bfeee0814)) * Update dependency org.threeten:threetenbp to v1.6.2 ([#808](https://togithub.com/googleapis/java-shared-dependencies/issues/808)) ([f03792d](https://togithub.com/googleapis/java-shared-dependencies/commit/f03792d49370e0abbe6f90d37c513920759d6581)) * Update dependency protobuf to v3.20.2 ([#830](https://togithub.com/googleapis/java-shared-dependencies/issues/830)) ([544c20f](https://togithub.com/googleapis/java-shared-dependencies/commit/544c20f9b45fc42ba6b0071153c05034ea08ddc3)) * Update dependency protobuf to v3.20.3 ([#839](https://togithub.com/googleapis/java-shared-dependencies/issues/839)) ([69db6d7](https://togithub.com/googleapis/java-shared-dependencies/commit/69db6d7e56d4673a68e1f49a805635d054856326)) * Update dependency protobuf to v4 ([#817](https://togithub.com/googleapis/java-shared-dependencies/issues/817)) ([d2df74f](https://togithub.com/googleapis/java-shared-dependencies/commit/d2df74f6f456acbcccee7120b0ab164f73b8af93)) * Update dependency pyjwt to v2.5.0 ([#812](https://togithub.com/googleapis/java-shared-dependencies/issues/812)) ([8439533](https://togithub.com/googleapis/java-shared-dependencies/commit/843953365e464c72aa62df1a512a0ca6086a1c37)) * Update dependency requests to v2.28.1 ([#813](https://togithub.com/googleapis/java-shared-dependencies/issues/813)) ([de1d896](https://togithub.com/googleapis/java-shared-dependencies/commit/de1d896da6d7dcaedb520117d675290826d23505)) * Update dependency typing-extensions to v4.3.0 ([#814](https://togithub.com/googleapis/java-shared-dependencies/issues/814)) ([eb8b96b](https://togithub.com/googleapis/java-shared-dependencies/commit/eb8b96b916281aad8f330eb506a7d4be420c4263)) * Update dependency zipp to v3.8.1 ([#815](https://togithub.com/googleapis/java-shared-dependencies/issues/815)) ([74ee8f7](https://togithub.com/googleapis/java-shared-dependencies/commit/74ee8f75795091303236322e6c090a6a2b3f30e5)) * Update gax.version to v2.19.2 ([#847](https://togithub.com/googleapis/java-shared-dependencies/issues/847)) ([63228ac](https://togithub.com/googleapis/java-shared-dependencies/commit/63228ac05cfa27c6ecfee44eb91a8fabb94c5f59)) * Update google.common-protos.version to v2.9.3 ([#803](https://togithub.com/googleapis/java-shared-dependencies/issues/803)) ([cdf3fe6](https://togithub.com/googleapis/java-shared-dependencies/commit/cdf3fe6f7b7abbb9ef0c4a7cd1e4783dbbe0e238)) * Update google.common-protos.version to v2.9.5 ([#831](https://togithub.com/googleapis/java-shared-dependencies/issues/831)) ([62b5617](https://togithub.com/googleapis/java-shared-dependencies/commit/62b5617fa7960a1fdbad5743e44f14e2b6014b47)) * Update google.common-protos.version to v2.9.6 ([#844](https://togithub.com/googleapis/java-shared-dependencies/issues/844)) ([0cd42ae](https://togithub.com/googleapis/java-shared-dependencies/commit/0cd42aee75de5e3ddcde03165620aebae3ce2df0)) * Update google.core.version to v2.8.13 ([#804](https://togithub.com/googleapis/java-shared-dependencies/issues/804)) ([d1b585e](https://togithub.com/googleapis/java-shared-dependencies/commit/d1b585eb836fa55a97ca059426bce15cafcb2b5e)) * Update google.core.version to v2.8.14 ([#805](https://togithub.com/googleapis/java-shared-dependencies/issues/805)) ([3743485](https://togithub.com/googleapis/java-shared-dependencies/commit/37434855f0ec5bef09a8e8b0a062aa1df93da102)) * Update google.core.version to v2.8.15 ([#807](https://togithub.com/googleapis/java-shared-dependencies/issues/807)) ([614586e](https://togithub.com/googleapis/java-shared-dependencies/commit/614586ed92f203901c80ab5539f5c514bb5fe131)) * Update google.core.version to v2.8.16 ([#810](https://togithub.com/googleapis/java-shared-dependencies/issues/810)) ([6d04bef](https://togithub.com/googleapis/java-shared-dependencies/commit/6d04bef8689e87a7505ecb18e556b7d55a05d649)) * Update google.core.version to v2.8.17 ([#835](https://togithub.com/googleapis/java-shared-dependencies/issues/835)) ([5e84cc5](https://togithub.com/googleapis/java-shared-dependencies/commit/5e84cc533778443b798550fe9e3cb0888ad9b8ac)) * Update google.core.version to v2.8.18 ([#840](https://togithub.com/googleapis/java-shared-dependencies/issues/840)) ([203e8b4](https://togithub.com/googleapis/java-shared-dependencies/commit/203e8b4681186f863bc8d2f7e79c3c0102e592b4)) * Update google.core.version to v2.8.19 ([#841](https://togithub.com/googleapis/java-shared-dependencies/issues/841)) ([35bf0dc](https://togithub.com/googleapis/java-shared-dependencies/commit/35bf0dcb1b8e6143fb7750dc3e8eeeb6bfac9a3b)) * Update google.core.version to v2.8.20 ([#848](https://togithub.com/googleapis/java-shared-dependencies/issues/848)) ([047dc3f](https://togithub.com/googleapis/java-shared-dependencies/commit/047dc3f6f1b1a0c27079c8bc07046793c96f8dfc)) * Update iam.version to v1.6.1 ([#806](https://togithub.com/googleapis/java-shared-dependencies/issues/806)) ([b2fc57a](https://togithub.com/googleapis/java-shared-dependencies/commit/b2fc57a99d63554f456f185c136954c688300ab7)) * Update iam.version to v1.6.2 ([#849](https://togithub.com/googleapis/java-shared-dependencies/issues/849)) ([1251c42](https://togithub.com/googleapis/java-shared-dependencies/commit/1251c42fd0e9f31991236a1bfd2ff7010ab22e70)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 51 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +-- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 61 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 0f551b4c4229..467ffbdd7784 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,57 @@ # Changelog +## [3.0.4](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.3...v3.0.4) (2022-10-03) + + +### Dependencies + +* Update dependency cachetools to v5 ([#816](https://github.com/googleapis/java-shared-dependencies/issues/816)) ([3f6c408](https://github.com/googleapis/java-shared-dependencies/commit/3f6c408210c931c286235f61c7aadea5bf5cfe4d)) +* Update dependency certifi to v2022.9.24 ([#818](https://github.com/googleapis/java-shared-dependencies/issues/818)) ([5f04b97](https://github.com/googleapis/java-shared-dependencies/commit/5f04b97c2343146600e8c9ee65afdeb58f5743a6)) +* Update dependency charset-normalizer to v2.1.1 ([#822](https://github.com/googleapis/java-shared-dependencies/issues/822)) ([6997c5a](https://github.com/googleapis/java-shared-dependencies/commit/6997c5acad937ebe3594330de73261a424d42cf3)) +* Update dependency click to v8.1.3 ([#823](https://github.com/googleapis/java-shared-dependencies/issues/823)) ([42bf9f8](https://github.com/googleapis/java-shared-dependencies/commit/42bf9f834fdafea60f2be7ccbf7d363e058cd7c2)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#837](https://github.com/googleapis/java-shared-dependencies/issues/837)) ([d31e507](https://github.com/googleapis/java-shared-dependencies/commit/d31e5077c7e036de5e238e9a611df7ced527574a)) +* Update dependency gcp-releasetool to v1.8.8 ([#819](https://github.com/googleapis/java-shared-dependencies/issues/819)) ([8245d97](https://github.com/googleapis/java-shared-dependencies/commit/8245d975fb12e81454ec7664f9a7c9809bbac697)) +* Update dependency gcp-releasetool to v1.8.9 ([#846](https://github.com/googleapis/java-shared-dependencies/issues/846)) ([04e3283](https://github.com/googleapis/java-shared-dependencies/commit/04e32831c6e87c372444901013a747d2d02ce38d)) +* Update dependency google-api-core to v2.10.1 ([#824](https://github.com/googleapis/java-shared-dependencies/issues/824)) ([818b9aa](https://github.com/googleapis/java-shared-dependencies/commit/818b9aa2ac99d8b1f9b39a74b626122aed5f1d94)) +* Update dependency google-auth to v2.12.0 ([#825](https://github.com/googleapis/java-shared-dependencies/issues/825)) ([07c544b](https://github.com/googleapis/java-shared-dependencies/commit/07c544b5e0fa9f7110bbc957570f7a405962072e)) +* Update dependency google-cloud-core to v2.3.2 ([#820](https://github.com/googleapis/java-shared-dependencies/issues/820)) ([2a219e8](https://github.com/googleapis/java-shared-dependencies/commit/2a219e86f187ba5ad72f2570bd58ca6100128c43)) +* Update dependency google-cloud-storage to v2.5.0 ([#826](https://github.com/googleapis/java-shared-dependencies/issues/826)) ([bb10d18](https://github.com/googleapis/java-shared-dependencies/commit/bb10d1858a515f09d365362ffa0110a5b362c96b)) +* Update dependency google-crc32c to v1.5.0 ([#827](https://github.com/googleapis/java-shared-dependencies/issues/827)) ([7e5dae6](https://github.com/googleapis/java-shared-dependencies/commit/7e5dae60d667cb84b9ee4f6c977bdc35e79e4cf6)) +* Update dependency google-resumable-media to v2.4.0 ([#838](https://github.com/googleapis/java-shared-dependencies/issues/838)) ([ad82d63](https://github.com/googleapis/java-shared-dependencies/commit/ad82d6378f64039da383509638fb4782908eb4bc)) +* Update dependency googleapis-common-protos to v1.56.4 ([#821](https://github.com/googleapis/java-shared-dependencies/issues/821)) ([93d7745](https://github.com/googleapis/java-shared-dependencies/commit/93d77458c9bbf84ec367cdb4caaa41e6f71675c6)) +* Update dependency importlib-metadata to v4.12.0 ([#832](https://github.com/googleapis/java-shared-dependencies/issues/832)) ([ee19fb1](https://github.com/googleapis/java-shared-dependencies/commit/ee19fb1ca5a2a2e1985297e3b72d44de68bc72e3)) +* Update dependency importlib-metadata to v4.13.0 ([#843](https://github.com/googleapis/java-shared-dependencies/issues/843)) ([d2ede60](https://github.com/googleapis/java-shared-dependencies/commit/d2ede601eee8c875780c7eb5924623537480c509)) +* Update dependency importlib-metadata to v5 ([#845](https://github.com/googleapis/java-shared-dependencies/issues/845)) ([03ac7e8](https://github.com/googleapis/java-shared-dependencies/commit/03ac7e800274c5f58d2bc4ddd0561bfcdea1bb27)) +* Update dependency io.grpc:grpc-bom to v1.49.1 ([#802](https://github.com/googleapis/java-shared-dependencies/issues/802)) ([b8c54bf](https://github.com/googleapis/java-shared-dependencies/commit/b8c54bf8f1ddecc788cee151f8afe42de45bdc9d)) +* Update dependency io.grpc:grpc-bom to v1.49.2 ([#842](https://github.com/googleapis/java-shared-dependencies/issues/842)) ([1b1cfa2](https://github.com/googleapis/java-shared-dependencies/commit/1b1cfa27d05f7732da12721305cf41dcbebda232)) +* Update dependency jeepney to v0.8.0 ([#833](https://github.com/googleapis/java-shared-dependencies/issues/833)) ([15d2f9f](https://github.com/googleapis/java-shared-dependencies/commit/15d2f9f52b5a3259db0813df3d2424e256ccb372)) +* Update dependency jinja2 to v3.1.2 ([#834](https://github.com/googleapis/java-shared-dependencies/issues/834)) ([c188f95](https://github.com/googleapis/java-shared-dependencies/commit/c188f95acdb3349f1c4b3ed56e5fffb75e8fbc8d)) +* Update dependency keyring to v23.9.3 ([#828](https://github.com/googleapis/java-shared-dependencies/issues/828)) ([b185aaa](https://github.com/googleapis/java-shared-dependencies/commit/b185aaae716d4d97cb64f0426cac0e778f11223d)) +* Update dependency markupsafe to v2.1.1 ([#829](https://github.com/googleapis/java-shared-dependencies/issues/829)) ([add2825](https://github.com/googleapis/java-shared-dependencies/commit/add2825bd34cd80f529dbe0dadb3c84219177916)) +* Update dependency org.threeten:threetenbp to v1.6.2 ([#808](https://github.com/googleapis/java-shared-dependencies/issues/808)) ([2d2eabd](https://github.com/googleapis/java-shared-dependencies/commit/2d2eabd14d8150207885ea47280c0f7ff3d2962f)) +* Update dependency protobuf to v3.20.2 ([#830](https://github.com/googleapis/java-shared-dependencies/issues/830)) ([5afa76f](https://github.com/googleapis/java-shared-dependencies/commit/5afa76f9ef4705aecba49abc7bb93982fb1ecf3e)) +* Update dependency protobuf to v3.20.3 ([#839](https://github.com/googleapis/java-shared-dependencies/issues/839)) ([d9fc7dd](https://github.com/googleapis/java-shared-dependencies/commit/d9fc7ddd3e663458e6ea3f78a3c6241377df0319)) +* Update dependency protobuf to v4 ([#817](https://github.com/googleapis/java-shared-dependencies/issues/817)) ([ee8d154](https://github.com/googleapis/java-shared-dependencies/commit/ee8d154287ccd256b4dcfa48f28f5ec61a91fe3e)) +* Update dependency pyjwt to v2.5.0 ([#812](https://github.com/googleapis/java-shared-dependencies/issues/812)) ([4d4528e](https://github.com/googleapis/java-shared-dependencies/commit/4d4528e8ce269d49b99d2dbc4fcda2dc37a058cb)) +* Update dependency requests to v2.28.1 ([#813](https://github.com/googleapis/java-shared-dependencies/issues/813)) ([a3a8d89](https://github.com/googleapis/java-shared-dependencies/commit/a3a8d89b0117007a7108553c70aa82dd289e1691)) +* Update dependency typing-extensions to v4.3.0 ([#814](https://github.com/googleapis/java-shared-dependencies/issues/814)) ([da875e5](https://github.com/googleapis/java-shared-dependencies/commit/da875e5e91fa9d8c177e6c3afc9e34242eb914b7)) +* Update dependency zipp to v3.8.1 ([#815](https://github.com/googleapis/java-shared-dependencies/issues/815)) ([15585fd](https://github.com/googleapis/java-shared-dependencies/commit/15585fd0216013fe93be011f93f391f6269aa777)) +* Update gax.version to v2.19.2 ([#847](https://github.com/googleapis/java-shared-dependencies/issues/847)) ([c4afe1f](https://github.com/googleapis/java-shared-dependencies/commit/c4afe1fdc88af29ab039cea618d52c15c90e43e9)) +* Update google.common-protos.version to v2.9.3 ([#803](https://github.com/googleapis/java-shared-dependencies/issues/803)) ([a3e8e5e](https://github.com/googleapis/java-shared-dependencies/commit/a3e8e5eb53a8da14abf3b8d81a4f34fbb2f3b8f9)) +* Update google.common-protos.version to v2.9.5 ([#831](https://github.com/googleapis/java-shared-dependencies/issues/831)) ([1c901db](https://github.com/googleapis/java-shared-dependencies/commit/1c901db8a7740afaec3e809e51d4d369fbf469c4)) +* Update google.common-protos.version to v2.9.6 ([#844](https://github.com/googleapis/java-shared-dependencies/issues/844)) ([9e156be](https://github.com/googleapis/java-shared-dependencies/commit/9e156be59bd89959f04252c3045b8cd7a8be8070)) +* Update google.core.version to v2.8.13 ([#804](https://github.com/googleapis/java-shared-dependencies/issues/804)) ([45ae571](https://github.com/googleapis/java-shared-dependencies/commit/45ae57142bd6d5334eedd46243736b200a459795)) +* Update google.core.version to v2.8.14 ([#805](https://github.com/googleapis/java-shared-dependencies/issues/805)) ([02c9397](https://github.com/googleapis/java-shared-dependencies/commit/02c9397a84bf3fcca8d04e4c9867cc47689abde2)) +* Update google.core.version to v2.8.15 ([#807](https://github.com/googleapis/java-shared-dependencies/issues/807)) ([980856c](https://github.com/googleapis/java-shared-dependencies/commit/980856c43981992a3d08f69eac83aeada752d244)) +* Update google.core.version to v2.8.16 ([#810](https://github.com/googleapis/java-shared-dependencies/issues/810)) ([c2b2c9a](https://github.com/googleapis/java-shared-dependencies/commit/c2b2c9a327fd588f69524bb93a17e5d4ae8f5a42)) +* Update google.core.version to v2.8.17 ([#835](https://github.com/googleapis/java-shared-dependencies/issues/835)) ([3def21d](https://github.com/googleapis/java-shared-dependencies/commit/3def21df2e4253e3df0da064b6c4e472df079d2b)) +* Update google.core.version to v2.8.18 ([#840](https://github.com/googleapis/java-shared-dependencies/issues/840)) ([46566dc](https://github.com/googleapis/java-shared-dependencies/commit/46566dc18c4b1ed41c482b4ce21b92651e2f9dc5)) +* Update google.core.version to v2.8.19 ([#841](https://github.com/googleapis/java-shared-dependencies/issues/841)) ([99afde9](https://github.com/googleapis/java-shared-dependencies/commit/99afde97ea498f549eb75cc58c4ed88edf81b20d)) +* Update google.core.version to v2.8.20 ([#848](https://github.com/googleapis/java-shared-dependencies/issues/848)) ([c980c4f](https://github.com/googleapis/java-shared-dependencies/commit/c980c4fdfc8890d812b4881ba5b87bfd21269a5f)) +* Update iam.version to v1.6.1 ([#806](https://github.com/googleapis/java-shared-dependencies/issues/806)) ([a50158d](https://github.com/googleapis/java-shared-dependencies/commit/a50158d3b83cf8e02d8ee08c94e512b5669a927b)) +* Update iam.version to v1.6.2 ([#849](https://github.com/googleapis/java-shared-dependencies/issues/849)) ([e43ac96](https://github.com/googleapis/java-shared-dependencies/commit/e43ac96bc189a096a9311c9b03e85c86bea07e99)) + ## [3.0.3](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.2...v3.0.3) (2022-09-14) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 4a5a8e5209cf..8bc854e43139 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.0.4-SNAPSHOT + 3.0.4 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.4-SNAPSHOT + 3.0.4 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 075451992e39..0ecde84e1e40 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.0.4-SNAPSHOT + 3.0.4 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 79e2c8499322..29cdb3e9c1be 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.0.4-SNAPSHOT + 3.0.4 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.4-SNAPSHOT + 3.0.4 pom import com.google.cloud third-party-dependencies - 3.0.4-SNAPSHOT + 3.0.4 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 221f967415c1..a896709b3a3d 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.0.4-SNAPSHOT + 3.0.4 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 88adf5e607a0..2e322b814eab 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.0.4-SNAPSHOT + 3.0.4 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.4-SNAPSHOT + 3.0.4 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index ecc70141db89..f0aa90b76484 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.3:3.0.4-SNAPSHOT +google-cloud-shared-dependencies:3.0.4:3.0.4 From 6a1ae043eb7c2b4a6f3b8e5e516010ca07c5f36e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 3 Oct 2022 15:40:32 +0200 Subject: [PATCH 2675/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 (#468) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.3` -> `3.0.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.4/compatibility-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.4/confidence-slim/3.0.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.0.4`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​304-httpsgithubcomgoogleapisjava-shared-dependenciescomparev303v304-2022-10-03) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.3...v3.0.4) ##### Dependencies - Update dependency cachetools to v5 ([#​816](https://togithub.com/googleapis/java-shared-dependencies/issues/816)) ([3f6c408](https://togithub.com/googleapis/java-shared-dependencies/commit/3f6c408210c931c286235f61c7aadea5bf5cfe4d)) - Update dependency certifi to v2022.9.24 ([#​818](https://togithub.com/googleapis/java-shared-dependencies/issues/818)) ([5f04b97](https://togithub.com/googleapis/java-shared-dependencies/commit/5f04b97c2343146600e8c9ee65afdeb58f5743a6)) - Update dependency charset-normalizer to v2.1.1 ([#​822](https://togithub.com/googleapis/java-shared-dependencies/issues/822)) ([6997c5a](https://togithub.com/googleapis/java-shared-dependencies/commit/6997c5acad937ebe3594330de73261a424d42cf3)) - Update dependency click to v8.1.3 ([#​823](https://togithub.com/googleapis/java-shared-dependencies/issues/823)) ([42bf9f8](https://togithub.com/googleapis/java-shared-dependencies/commit/42bf9f834fdafea60f2be7ccbf7d363e058cd7c2)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.7 ([#​837](https://togithub.com/googleapis/java-shared-dependencies/issues/837)) ([d31e507](https://togithub.com/googleapis/java-shared-dependencies/commit/d31e5077c7e036de5e238e9a611df7ced527574a)) - Update dependency gcp-releasetool to v1.8.8 ([#​819](https://togithub.com/googleapis/java-shared-dependencies/issues/819)) ([8245d97](https://togithub.com/googleapis/java-shared-dependencies/commit/8245d975fb12e81454ec7664f9a7c9809bbac697)) - Update dependency gcp-releasetool to v1.8.9 ([#​846](https://togithub.com/googleapis/java-shared-dependencies/issues/846)) ([04e3283](https://togithub.com/googleapis/java-shared-dependencies/commit/04e32831c6e87c372444901013a747d2d02ce38d)) - Update dependency google-api-core to v2.10.1 ([#​824](https://togithub.com/googleapis/java-shared-dependencies/issues/824)) ([818b9aa](https://togithub.com/googleapis/java-shared-dependencies/commit/818b9aa2ac99d8b1f9b39a74b626122aed5f1d94)) - Update dependency google-auth to v2.12.0 ([#​825](https://togithub.com/googleapis/java-shared-dependencies/issues/825)) ([07c544b](https://togithub.com/googleapis/java-shared-dependencies/commit/07c544b5e0fa9f7110bbc957570f7a405962072e)) - Update dependency google-cloud-core to v2.3.2 ([#​820](https://togithub.com/googleapis/java-shared-dependencies/issues/820)) ([2a219e8](https://togithub.com/googleapis/java-shared-dependencies/commit/2a219e86f187ba5ad72f2570bd58ca6100128c43)) - Update dependency google-cloud-storage to v2.5.0 ([#​826](https://togithub.com/googleapis/java-shared-dependencies/issues/826)) ([bb10d18](https://togithub.com/googleapis/java-shared-dependencies/commit/bb10d1858a515f09d365362ffa0110a5b362c96b)) - Update dependency google-crc32c to v1.5.0 ([#​827](https://togithub.com/googleapis/java-shared-dependencies/issues/827)) ([7e5dae6](https://togithub.com/googleapis/java-shared-dependencies/commit/7e5dae60d667cb84b9ee4f6c977bdc35e79e4cf6)) - Update dependency google-resumable-media to v2.4.0 ([#​838](https://togithub.com/googleapis/java-shared-dependencies/issues/838)) ([ad82d63](https://togithub.com/googleapis/java-shared-dependencies/commit/ad82d6378f64039da383509638fb4782908eb4bc)) - Update dependency googleapis-common-protos to v1.56.4 ([#​821](https://togithub.com/googleapis/java-shared-dependencies/issues/821)) ([93d7745](https://togithub.com/googleapis/java-shared-dependencies/commit/93d77458c9bbf84ec367cdb4caaa41e6f71675c6)) - Update dependency importlib-metadata to v4.12.0 ([#​832](https://togithub.com/googleapis/java-shared-dependencies/issues/832)) ([ee19fb1](https://togithub.com/googleapis/java-shared-dependencies/commit/ee19fb1ca5a2a2e1985297e3b72d44de68bc72e3)) - Update dependency importlib-metadata to v4.13.0 ([#​843](https://togithub.com/googleapis/java-shared-dependencies/issues/843)) ([d2ede60](https://togithub.com/googleapis/java-shared-dependencies/commit/d2ede601eee8c875780c7eb5924623537480c509)) - Update dependency importlib-metadata to v5 ([#​845](https://togithub.com/googleapis/java-shared-dependencies/issues/845)) ([03ac7e8](https://togithub.com/googleapis/java-shared-dependencies/commit/03ac7e800274c5f58d2bc4ddd0561bfcdea1bb27)) - Update dependency io.grpc:grpc-bom to v1.49.1 ([#​802](https://togithub.com/googleapis/java-shared-dependencies/issues/802)) ([b8c54bf](https://togithub.com/googleapis/java-shared-dependencies/commit/b8c54bf8f1ddecc788cee151f8afe42de45bdc9d)) - Update dependency io.grpc:grpc-bom to v1.49.2 ([#​842](https://togithub.com/googleapis/java-shared-dependencies/issues/842)) ([1b1cfa2](https://togithub.com/googleapis/java-shared-dependencies/commit/1b1cfa27d05f7732da12721305cf41dcbebda232)) - Update dependency jeepney to v0.8.0 ([#​833](https://togithub.com/googleapis/java-shared-dependencies/issues/833)) ([15d2f9f](https://togithub.com/googleapis/java-shared-dependencies/commit/15d2f9f52b5a3259db0813df3d2424e256ccb372)) - Update dependency jinja2 to v3.1.2 ([#​834](https://togithub.com/googleapis/java-shared-dependencies/issues/834)) ([c188f95](https://togithub.com/googleapis/java-shared-dependencies/commit/c188f95acdb3349f1c4b3ed56e5fffb75e8fbc8d)) - Update dependency keyring to v23.9.3 ([#​828](https://togithub.com/googleapis/java-shared-dependencies/issues/828)) ([b185aaa](https://togithub.com/googleapis/java-shared-dependencies/commit/b185aaae716d4d97cb64f0426cac0e778f11223d)) - Update dependency markupsafe to v2.1.1 ([#​829](https://togithub.com/googleapis/java-shared-dependencies/issues/829)) ([add2825](https://togithub.com/googleapis/java-shared-dependencies/commit/add2825bd34cd80f529dbe0dadb3c84219177916)) - Update dependency org.threeten:threetenbp to v1.6.2 ([#​808](https://togithub.com/googleapis/java-shared-dependencies/issues/808)) ([2d2eabd](https://togithub.com/googleapis/java-shared-dependencies/commit/2d2eabd14d8150207885ea47280c0f7ff3d2962f)) - Update dependency protobuf to v3.20.2 ([#​830](https://togithub.com/googleapis/java-shared-dependencies/issues/830)) ([5afa76f](https://togithub.com/googleapis/java-shared-dependencies/commit/5afa76f9ef4705aecba49abc7bb93982fb1ecf3e)) - Update dependency protobuf to v3.20.3 ([#​839](https://togithub.com/googleapis/java-shared-dependencies/issues/839)) ([d9fc7dd](https://togithub.com/googleapis/java-shared-dependencies/commit/d9fc7ddd3e663458e6ea3f78a3c6241377df0319)) - Update dependency protobuf to v4 ([#​817](https://togithub.com/googleapis/java-shared-dependencies/issues/817)) ([ee8d154](https://togithub.com/googleapis/java-shared-dependencies/commit/ee8d154287ccd256b4dcfa48f28f5ec61a91fe3e)) - Update dependency pyjwt to v2.5.0 ([#​812](https://togithub.com/googleapis/java-shared-dependencies/issues/812)) ([4d4528e](https://togithub.com/googleapis/java-shared-dependencies/commit/4d4528e8ce269d49b99d2dbc4fcda2dc37a058cb)) - Update dependency requests to v2.28.1 ([#​813](https://togithub.com/googleapis/java-shared-dependencies/issues/813)) ([a3a8d89](https://togithub.com/googleapis/java-shared-dependencies/commit/a3a8d89b0117007a7108553c70aa82dd289e1691)) - Update dependency typing-extensions to v4.3.0 ([#​814](https://togithub.com/googleapis/java-shared-dependencies/issues/814)) ([da875e5](https://togithub.com/googleapis/java-shared-dependencies/commit/da875e5e91fa9d8c177e6c3afc9e34242eb914b7)) - Update dependency zipp to v3.8.1 ([#​815](https://togithub.com/googleapis/java-shared-dependencies/issues/815)) ([15585fd](https://togithub.com/googleapis/java-shared-dependencies/commit/15585fd0216013fe93be011f93f391f6269aa777)) - Update gax.version to v2.19.2 ([#​847](https://togithub.com/googleapis/java-shared-dependencies/issues/847)) ([c4afe1f](https://togithub.com/googleapis/java-shared-dependencies/commit/c4afe1fdc88af29ab039cea618d52c15c90e43e9)) - Update google.common-protos.version to v2.9.3 ([#​803](https://togithub.com/googleapis/java-shared-dependencies/issues/803)) ([a3e8e5e](https://togithub.com/googleapis/java-shared-dependencies/commit/a3e8e5eb53a8da14abf3b8d81a4f34fbb2f3b8f9)) - Update google.common-protos.version to v2.9.5 ([#​831](https://togithub.com/googleapis/java-shared-dependencies/issues/831)) ([1c901db](https://togithub.com/googleapis/java-shared-dependencies/commit/1c901db8a7740afaec3e809e51d4d369fbf469c4)) - Update google.common-protos.version to v2.9.6 ([#​844](https://togithub.com/googleapis/java-shared-dependencies/issues/844)) ([9e156be](https://togithub.com/googleapis/java-shared-dependencies/commit/9e156be59bd89959f04252c3045b8cd7a8be8070)) - Update google.core.version to v2.8.13 ([#​804](https://togithub.com/googleapis/java-shared-dependencies/issues/804)) ([45ae571](https://togithub.com/googleapis/java-shared-dependencies/commit/45ae57142bd6d5334eedd46243736b200a459795)) - Update google.core.version to v2.8.14 ([#​805](https://togithub.com/googleapis/java-shared-dependencies/issues/805)) ([02c9397](https://togithub.com/googleapis/java-shared-dependencies/commit/02c9397a84bf3fcca8d04e4c9867cc47689abde2)) - Update google.core.version to v2.8.15 ([#​807](https://togithub.com/googleapis/java-shared-dependencies/issues/807)) ([980856c](https://togithub.com/googleapis/java-shared-dependencies/commit/980856c43981992a3d08f69eac83aeada752d244)) - Update google.core.version to v2.8.16 ([#​810](https://togithub.com/googleapis/java-shared-dependencies/issues/810)) ([c2b2c9a](https://togithub.com/googleapis/java-shared-dependencies/commit/c2b2c9a327fd588f69524bb93a17e5d4ae8f5a42)) - Update google.core.version to v2.8.17 ([#​835](https://togithub.com/googleapis/java-shared-dependencies/issues/835)) ([3def21d](https://togithub.com/googleapis/java-shared-dependencies/commit/3def21df2e4253e3df0da064b6c4e472df079d2b)) - Update google.core.version to v2.8.18 ([#​840](https://togithub.com/googleapis/java-shared-dependencies/issues/840)) ([46566dc](https://togithub.com/googleapis/java-shared-dependencies/commit/46566dc18c4b1ed41c482b4ce21b92651e2f9dc5)) - Update google.core.version to v2.8.19 ([#​841](https://togithub.com/googleapis/java-shared-dependencies/issues/841)) ([99afde9](https://togithub.com/googleapis/java-shared-dependencies/commit/99afde97ea498f549eb75cc58c4ed88edf81b20d)) - Update google.core.version to v2.8.20 ([#​848](https://togithub.com/googleapis/java-shared-dependencies/issues/848)) ([c980c4f](https://togithub.com/googleapis/java-shared-dependencies/commit/c980c4fdfc8890d812b4881ba5b87bfd21269a5f)) - Update iam.version to v1.6.1 ([#​806](https://togithub.com/googleapis/java-shared-dependencies/issues/806)) ([a50158d](https://togithub.com/googleapis/java-shared-dependencies/commit/a50158d3b83cf8e02d8ee08c94e512b5669a927b)) - Update iam.version to v1.6.2 ([#​849](https://togithub.com/googleapis/java-shared-dependencies/issues/849)) ([e43ac96](https://togithub.com/googleapis/java-shared-dependencies/commit/e43ac96bc189a096a9311c9b03e85c86bea07e99))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 7e69673d9e82..673e704cbc08 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -80,7 +80,7 @@ dependencies --> com.google.cloud google-cloud-shared-dependencies - 3.0.3 + 3.0.4 pom import
    From 12a9dcb0b2d31c5cbd4fdbae394e01c9ae91f112 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Oct 2022 03:18:16 +0200 Subject: [PATCH 2676/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.2 (#467) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​162-httpsgithubcomgoogleapisjava-iamcomparev161v162-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) ##### Documentation - **samples:** Update package names to match v2 ([#​424](https://togithub.com/googleapis/java-iam/issues/424)) ([3a4392a](https://togithub.com/googleapis/java-iam/commit/3a4392af5d222d349b2fb8352c041b7889be97b5)) ##### Dependencies - Update dependency cachetools to v5 ([#​459](https://togithub.com/googleapis/java-iam/issues/459)) ([89ea28b](https://togithub.com/googleapis/java-iam/commit/89ea28b2d57b4bdb11b8d847af313c63c8023146)) - Update dependency certifi to v2022.9.24 ([#​440](https://togithub.com/googleapis/java-iam/issues/440)) ([de6c438](https://togithub.com/googleapis/java-iam/commit/de6c438b7709e71bdcc2c1c47702b808f828a42f)) - Update dependency charset-normalizer to v2.1.1 ([#​444](https://togithub.com/googleapis/java-iam/issues/444)) ([5715206](https://togithub.com/googleapis/java-iam/commit/57152061f264629aa0f09f2602abf6fe3b242945)) - Update dependency click to v8.1.3 ([#​445](https://togithub.com/googleapis/java-iam/issues/445)) ([189a5c4](https://togithub.com/googleapis/java-iam/commit/189a5c4102bd6b9f4fbfc252a67019a7c5e23ee3)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#​435](https://togithub.com/googleapis/java-iam/issues/435)) ([5d415a9](https://togithub.com/googleapis/java-iam/commit/5d415a98f4e7cede137b57e048ec70c21ea8376d)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#​439](https://togithub.com/googleapis/java-iam/issues/439)) ([b17765b](https://togithub.com/googleapis/java-iam/commit/b17765b5e897bcef60aeef56ed2524b418f73b65)) - Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#​434](https://togithub.com/googleapis/java-iam/issues/434)) ([18d4bc0](https://togithub.com/googleapis/java-iam/commit/18d4bc0cd7341123d00eeb5fa15606d058f12fa6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​463](https://togithub.com/googleapis/java-iam/issues/463)) ([8ad215f](https://togithub.com/googleapis/java-iam/commit/8ad215f4543f7ffcd891ed6e1b202fe1ddccd86f)) - Update dependency gcp-releasetool to v1.8.8 ([#​441](https://togithub.com/googleapis/java-iam/issues/441)) ([31fec95](https://togithub.com/googleapis/java-iam/commit/31fec95f348f55c98dab665bec47d88f396a9611)) - Update dependency google-api-core to v2.10.1 ([#​446](https://togithub.com/googleapis/java-iam/issues/446)) ([50d8221](https://togithub.com/googleapis/java-iam/commit/50d82218cb3056bb49173d7f5d4e7b0070717b0f)) - Update dependency google-auth to v2.12.0 ([#​447](https://togithub.com/googleapis/java-iam/issues/447)) ([97b4c23](https://togithub.com/googleapis/java-iam/commit/97b4c236276d27be1e290334573ec6897c9e67c9)) - Update dependency google-cloud-core to v2.3.2 ([#​442](https://togithub.com/googleapis/java-iam/issues/442)) ([00adc9a](https://togithub.com/googleapis/java-iam/commit/00adc9a8bf225a4c3d1509f9e6778ad10dd16e2e)) - Update dependency google-cloud-storage to v2.5.0 ([#​448](https://togithub.com/googleapis/java-iam/issues/448)) ([df5cf74](https://togithub.com/googleapis/java-iam/commit/df5cf74ee883b7f4d99ce9654fcdd6a4670cc98a)) - Update dependency google-crc32c to v1.5.0 ([#​449](https://togithub.com/googleapis/java-iam/issues/449)) ([a2f7304](https://togithub.com/googleapis/java-iam/commit/a2f7304a602b4621f43d4b3966586e0a7e1a7a2d)) - Update dependency googleapis-common-protos to v1.56.4 ([#​443](https://togithub.com/googleapis/java-iam/issues/443)) ([c64de5a](https://togithub.com/googleapis/java-iam/commit/c64de5a5b2f3fcd9e17ed4963e586aaf0a1209ba)) - Update dependency importlib-metadata to v4.12.0 ([#​450](https://togithub.com/googleapis/java-iam/issues/450)) ([e8607ce](https://togithub.com/googleapis/java-iam/commit/e8607ce4d1c6b202726b185560920c742e056a30)) - Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#​464](https://togithub.com/googleapis/java-iam/issues/464)) ([0d24035](https://togithub.com/googleapis/java-iam/commit/0d2403530080668411981679ec01801d5e756e03)) - Update dependency io.grpc:grpc-stub to v1.49.2 ([#​465](https://togithub.com/googleapis/java-iam/issues/465)) ([2b67643](https://togithub.com/googleapis/java-iam/commit/2b67643239cf9cf617ddd3d15d176fbdb574d15e)) - Update dependency jeepney to v0.8.0 ([#​451](https://togithub.com/googleapis/java-iam/issues/451)) ([56c8f86](https://togithub.com/googleapis/java-iam/commit/56c8f86e437f49636edd5673b4336def947de475)) - Update dependency jinja2 to v3.1.2 ([#​452](https://togithub.com/googleapis/java-iam/issues/452)) ([0ebc062](https://togithub.com/googleapis/java-iam/commit/0ebc06212f4dc10f8724f35705d1db9ab148beac)) - Update dependency markupsafe to v2.1.1 ([#​454](https://togithub.com/googleapis/java-iam/issues/454)) ([93bd5ec](https://togithub.com/googleapis/java-iam/commit/93bd5ec7183cf306e4956261321038b923861276)) - Update dependency protobuf to v3.20.2 ([#​455](https://togithub.com/googleapis/java-iam/issues/455)) ([fb47671](https://togithub.com/googleapis/java-iam/commit/fb47671168b256e9b76ecc16e52cf0674cbefce7)) - Update dependency protobuf to v4 ([#​460](https://togithub.com/googleapis/java-iam/issues/460)) ([cb9637c](https://togithub.com/googleapis/java-iam/commit/cb9637ce2ed8976deda7a146a3df738f6afd158c)) - Update dependency pyjwt to v2.5.0 ([#​461](https://togithub.com/googleapis/java-iam/issues/461)) ([2d696a0](https://togithub.com/googleapis/java-iam/commit/2d696a04f036369b25a3dceb29f8f1b855136890)) - Update dependency requests to v2.28.1 ([#​456](https://togithub.com/googleapis/java-iam/issues/456)) ([b023d05](https://togithub.com/googleapis/java-iam/commit/b023d05d096ae796573c488869682c45f1de57b2)) - Update dependency typing-extensions to v4.3.0 ([#​457](https://togithub.com/googleapis/java-iam/issues/457)) ([53a369c](https://togithub.com/googleapis/java-iam/commit/53a369c5f157bcfb2752c6b6503d2f5e76c226b8)) - Update dependency zipp to v3.8.1 ([#​458](https://togithub.com/googleapis/java-iam/issues/458)) ([39ea408](https://togithub.com/googleapis/java-iam/commit/39ea4087f4b72a57ee09d6f312d05f7607d89bfb))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 44a9522b5fa1..312108c0620e 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.1 + 1.6.2 compile From 1e8cd609b3be0cdd748a8fea6bc0fcb15d8f4c96 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Oct 2022 03:26:24 +0200 Subject: [PATCH 2677/3036] deps: update dependency org.checkerframework:checker-qual to v3.26.0 (#852) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.checkerframework:checker-qual](https://checkerframework.org) ([source](https://togithub.com/typetools/checker-framework)) | `3.25.0` -> `3.26.0` | [![age](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.26.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.26.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.26.0/compatibility-slim/3.25.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.26.0/confidence-slim/3.25.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a896709b3a3d..37bf3a52f650 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 4.4.15 4.5.13 - 3.25.0 + 3.26.0 0.25.0
    From 7e8c58c90a42ca771a6a4fe06f3f6324152093b3 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Oct 2022 03:26:25 +0200 Subject: [PATCH 2678/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.2 (#971) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.1` -> `1.6.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/compatibility-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.2/confidence-slim/1.6.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.2`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​162-httpsgithubcomgoogleapisjava-iamcomparev161v162-2022-10-02) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) ##### Documentation - **samples:** Update package names to match v2 ([#​424](https://togithub.com/googleapis/java-iam/issues/424)) ([7fda749](https://togithub.com/googleapis/java-iam/commit/7fda74962365073996bf1f0a6229bbf8984d1d09)) ##### Dependencies - Update dependency cachetools to v5 ([#​459](https://togithub.com/googleapis/java-iam/issues/459)) ([3984974](https://togithub.com/googleapis/java-iam/commit/3984974630ccd0921f12d276dbc22eb6798e74a9)) - Update dependency certifi to v2022.9.24 ([#​440](https://togithub.com/googleapis/java-iam/issues/440)) ([e0ebd9e](https://togithub.com/googleapis/java-iam/commit/e0ebd9e20a25e6edf7b913dea0943909ec28effb)) - Update dependency charset-normalizer to v2.1.1 ([#​444](https://togithub.com/googleapis/java-iam/issues/444)) ([4bac18b](https://togithub.com/googleapis/java-iam/commit/4bac18bd92702502730b878f10dcb12b39dfa1cf)) - Update dependency click to v8.1.3 ([#​445](https://togithub.com/googleapis/java-iam/issues/445)) ([e21bea2](https://togithub.com/googleapis/java-iam/commit/e21bea21af318e34220a649e9ec4bd9214f11feb)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220911-2.0.0 ([#​435](https://togithub.com/googleapis/java-iam/issues/435)) ([63a136b](https://togithub.com/googleapis/java-iam/commit/63a136b56dff577ac1e630293c80bd10539c1930)) - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20220925-2.0.0 ([#​439](https://togithub.com/googleapis/java-iam/issues/439)) ([85b1d0f](https://togithub.com/googleapis/java-iam/commit/85b1d0f68950095c3ffd1ecda7eedc82ac5a92b1)) - Update dependency com.google.cloud:google-iam-policy to v1.6.1 ([#​434](https://togithub.com/googleapis/java-iam/issues/434)) ([b468d86](https://togithub.com/googleapis/java-iam/commit/b468d86fdeb55b3f463a5c03c61f37f467bfeef6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​463](https://togithub.com/googleapis/java-iam/issues/463)) ([a58810f](https://togithub.com/googleapis/java-iam/commit/a58810f3f6fc641b74cb92d358f71f9461ad9664)) - Update dependency gcp-releasetool to v1.8.8 ([#​441](https://togithub.com/googleapis/java-iam/issues/441)) ([89469a8](https://togithub.com/googleapis/java-iam/commit/89469a845e62479ab0f34a219486020d398aaf70)) - Update dependency google-api-core to v2.10.1 ([#​446](https://togithub.com/googleapis/java-iam/issues/446)) ([69dbd0d](https://togithub.com/googleapis/java-iam/commit/69dbd0d656656943851a9f5b159b4de0f7665a5d)) - Update dependency google-auth to v2.12.0 ([#​447](https://togithub.com/googleapis/java-iam/issues/447)) ([10fed85](https://togithub.com/googleapis/java-iam/commit/10fed85610182533b695fe741fe8e158e7b3799a)) - Update dependency google-cloud-core to v2.3.2 ([#​442](https://togithub.com/googleapis/java-iam/issues/442)) ([709e0b4](https://togithub.com/googleapis/java-iam/commit/709e0b407610ee5fec6bb38b695504c245f5d003)) - Update dependency google-cloud-storage to v2.5.0 ([#​448](https://togithub.com/googleapis/java-iam/issues/448)) ([4ef1f8e](https://togithub.com/googleapis/java-iam/commit/4ef1f8e6f5317ba339b94613a120d540acd90f57)) - Update dependency google-crc32c to v1.5.0 ([#​449](https://togithub.com/googleapis/java-iam/issues/449)) ([e54b847](https://togithub.com/googleapis/java-iam/commit/e54b8479589cb2350356c78c2f2a44a841e8f904)) - Update dependency googleapis-common-protos to v1.56.4 ([#​443](https://togithub.com/googleapis/java-iam/issues/443)) ([d060a5b](https://togithub.com/googleapis/java-iam/commit/d060a5b90ba189f1118b4ad899c7a0e9ad39bf44)) - Update dependency importlib-metadata to v4.12.0 ([#​450](https://togithub.com/googleapis/java-iam/issues/450)) ([248b90a](https://togithub.com/googleapis/java-iam/commit/248b90a6f715d881856a50e55df45b19a695ff32)) - Update dependency io.grpc:grpc-protobuf to v1.49.2 ([#​464](https://togithub.com/googleapis/java-iam/issues/464)) ([406e890](https://togithub.com/googleapis/java-iam/commit/406e89048c62e264dcf93ef5c940734e7367a00f)) - Update dependency io.grpc:grpc-stub to v1.49.2 ([#​465](https://togithub.com/googleapis/java-iam/issues/465)) ([8735303](https://togithub.com/googleapis/java-iam/commit/8735303fc9eb7b1198ce2a2019e33ad5f63ec1cf)) - Update dependency jeepney to v0.8.0 ([#​451](https://togithub.com/googleapis/java-iam/issues/451)) ([0721ab8](https://togithub.com/googleapis/java-iam/commit/0721ab835c3a0588632916e70b2d92ff51824de6)) - Update dependency jinja2 to v3.1.2 ([#​452](https://togithub.com/googleapis/java-iam/issues/452)) ([514f80c](https://togithub.com/googleapis/java-iam/commit/514f80c8f051a8bb2f2fbf19d0e130c12b70ee9a)) - Update dependency markupsafe to v2.1.1 ([#​454](https://togithub.com/googleapis/java-iam/issues/454)) ([d6123a7](https://togithub.com/googleapis/java-iam/commit/d6123a709b01e1c40ce8423ebd70ed5a6c4ae4a0)) - Update dependency protobuf to v3.20.2 ([#​455](https://togithub.com/googleapis/java-iam/issues/455)) ([c9a631a](https://togithub.com/googleapis/java-iam/commit/c9a631ac0ba852fee31ddd458bb40bd78a081b75)) - Update dependency protobuf to v4 ([#​460](https://togithub.com/googleapis/java-iam/issues/460)) ([7738293](https://togithub.com/googleapis/java-iam/commit/773829323697e3c5785eb9b7bf7000fd296921b7)) - Update dependency pyjwt to v2.5.0 ([#​461](https://togithub.com/googleapis/java-iam/issues/461)) ([5f1659f](https://togithub.com/googleapis/java-iam/commit/5f1659f2cb1a20d9a034e1f6214ec793d2ef908c)) - Update dependency requests to v2.28.1 ([#​456](https://togithub.com/googleapis/java-iam/issues/456)) ([c390fee](https://togithub.com/googleapis/java-iam/commit/c390fee02a5545c567d45cc4375a5eb549d9765f)) - Update dependency typing-extensions to v4.3.0 ([#​457](https://togithub.com/googleapis/java-iam/issues/457)) ([913effd](https://togithub.com/googleapis/java-iam/commit/913effd62b170e96ebd74456b02692f462cedc40)) - Update dependency zipp to v3.8.1 ([#​458](https://togithub.com/googleapis/java-iam/issues/458)) ([5afe18a](https://togithub.com/googleapis/java-iam/commit/5afe18a7c6c0ef89b603455cea5569be71b27173))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index bb51ef713e42..08b8b8c8268f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.2 2.2.1 2.9.6 - 1.6.1 + 1.6.2 1.11.0 2.0.0 1.42.2 From 5c6367a643f491d2ec04be58c1ff0eca5aa10904 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 6 Oct 2022 03:32:19 +0200 Subject: [PATCH 2679/3036] deps: update dependency gcp-releasetool to v1.8.10 (#853) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | gcp-releasetool | `==1.8.7` -> `==1.8.10` | [![age](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.10/compatibility-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/gcp-releasetool/1.8.10/confidence-slim/1.8.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 91d10697fd73668bca3a1b72500094b5c040aad5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 7 Oct 2022 20:06:24 +0200 Subject: [PATCH 2680/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#470) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.2` -> `26.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/compatibility-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/confidence-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 312108c0620e..92b86bba7818 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -73,7 +73,7 @@ com.google.cloud import pom - 26.1.2 + 26.1.3 From 66cab3dfa1dcda8a1e645658d98c78fb6e676b3a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Oct 2022 18:12:15 +0000 Subject: [PATCH 2681/3036] chore(main): release 1.6.3 (#469) :robot: I have created a release *beep* *boop* --- ## [1.6.3](https://togithub.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) (2022-10-07) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#468](https://togithub.com/googleapis/java-iam/issues/468)) ([6a1ae04](https://togithub.com/googleapis/java-iam/commit/6a1ae043eb7c2b4a6f3b8e5e516010ca07c5f36e)) * Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#467](https://togithub.com/googleapis/java-iam/issues/467)) ([12a9dcb](https://togithub.com/googleapis/java-iam/commit/12a9dcb0b2d31c5cbd4fdbae394e01c9ae91f112)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 8 ++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 37 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 9637a4095b28..6973dff6890a 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [1.6.3](https://github.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) (2022-10-07) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#468](https://github.com/googleapis/java-iam/issues/468)) ([f6be604](https://github.com/googleapis/java-iam/commit/f6be6047506561a7b6f1dc5b5ea925207075d3ac)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#467](https://github.com/googleapis/java-iam/issues/467)) ([0af193b](https://github.com/googleapis/java-iam/commit/0af193bbcedcfa7e7e9b53eaeb509fba5df974b3)) + ## [1.6.2](https://github.com/googleapis/java-iam/compare/v1.6.1...v1.6.2) (2022-10-02) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index c22713417db8..629df0286a06 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.3-SNAPSHOT + 1.6.3 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.3-SNAPSHOT + 1.6.3 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 036c5ad45bc4..43b5254b0817 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.6.3-SNAPSHOT + 1.6.3 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3-SNAPSHOT + 1.6.3 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index b144db831e87..c78bd1c464af 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.6.3-SNAPSHOT + 1.6.3 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.3-SNAPSHOT + 1.6.3 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 5e419d47063d..b640ffcc53cc 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.6.3-SNAPSHOT + 1.6.3 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3-SNAPSHOT + 1.6.3 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 673e704cbc08..09aa166fa0a7 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.3-SNAPSHOT + 1.6.3 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.3-SNAPSHOT + 1.6.3 com.google.api.grpc grpc-google-iam-v2 - 1.6.3-SNAPSHOT + 1.6.3 com.google.cloud google-iam-policy - 1.6.3-SNAPSHOT + 1.6.3 com.google.api.grpc proto-google-iam-v2beta - 1.6.3-SNAPSHOT + 1.6.3 com.google.api.grpc grpc-google-iam-v1 - 1.6.3-SNAPSHOT + 1.6.3 com.google.api.grpc grpc-google-iam-v2beta - 1.6.3-SNAPSHOT + 1.6.3 com.google.api.grpc proto-google-iam-v1 - 1.6.3-SNAPSHOT + 1.6.3 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1abb14031f59..e736a98c77d5 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.6.3-SNAPSHOT + 1.6.3 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3-SNAPSHOT + 1.6.3 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index b269ddd704fe..63d3527db654 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.6.3-SNAPSHOT + 1.6.3 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3-SNAPSHOT + 1.6.3 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 0a9c9f4ae1cb..cca00d33733d 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.6.3-SNAPSHOT + 1.6.3 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3-SNAPSHOT + 1.6.3 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index e6c29cac5ff3..85e9350d0828 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.2:1.6.3-SNAPSHOT -grpc-google-iam-v1:1.6.2:1.6.3-SNAPSHOT -proto-google-iam-v2beta:1.6.2:1.6.3-SNAPSHOT -grpc-google-iam-v2beta:1.6.2:1.6.3-SNAPSHOT -google-iam-policy:1.6.2:1.6.3-SNAPSHOT -proto-google-iam-v2:1.6.2:1.6.3-SNAPSHOT -grpc-google-iam-v2:1.6.2:1.6.3-SNAPSHOT +proto-google-iam-v1:1.6.3:1.6.3 +grpc-google-iam-v1:1.6.3:1.6.3 +proto-google-iam-v2beta:1.6.3:1.6.3 +grpc-google-iam-v2beta:1.6.3:1.6.3 +google-iam-policy:1.6.3:1.6.3 +proto-google-iam-v2:1.6.3:1.6.3 +grpc-google-iam-v2:1.6.3:1.6.3 From 671deab20a250df375f4eadbfa550091409094f8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 7 Oct 2022 18:18:26 +0000 Subject: [PATCH 2682/3036] chore(main): release 1.6.4-SNAPSHOT (#471) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 629df0286a06..a849e3637b88 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.3 + 1.6.4-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.3 + 1.6.4-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 43b5254b0817..013356b1ccd3 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.6.3 + 1.6.4-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3 + 1.6.4-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index c78bd1c464af..0a4f7352964e 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.6.3 + 1.6.4-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.3 + 1.6.4-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index b640ffcc53cc..eac3e76c9ba3 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.6.3 + 1.6.4-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3 + 1.6.4-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 09aa166fa0a7..665c9baeacc7 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.3 + 1.6.4-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.3 + 1.6.4-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.3 + 1.6.4-SNAPSHOT com.google.cloud google-iam-policy - 1.6.3 + 1.6.4-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.3 + 1.6.4-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.3 + 1.6.4-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.3 + 1.6.4-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.3 + 1.6.4-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e736a98c77d5..454140e6613e 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.6.3 + 1.6.4-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3 + 1.6.4-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 63d3527db654..b889e473b525 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.6.3 + 1.6.4-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3 + 1.6.4-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index cca00d33733d..86619e87abd5 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.6.3 + 1.6.4-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.3 + 1.6.4-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 85e9350d0828..41e9439d261a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.3:1.6.3 -grpc-google-iam-v1:1.6.3:1.6.3 -proto-google-iam-v2beta:1.6.3:1.6.3 -grpc-google-iam-v2beta:1.6.3:1.6.3 -google-iam-policy:1.6.3:1.6.3 -proto-google-iam-v2:1.6.3:1.6.3 -grpc-google-iam-v2:1.6.3:1.6.3 +proto-google-iam-v1:1.6.3:1.6.4-SNAPSHOT +grpc-google-iam-v1:1.6.3:1.6.4-SNAPSHOT +proto-google-iam-v2beta:1.6.3:1.6.4-SNAPSHOT +grpc-google-iam-v2beta:1.6.3:1.6.4-SNAPSHOT +google-iam-policy:1.6.3:1.6.4-SNAPSHOT +proto-google-iam-v2:1.6.3:1.6.4-SNAPSHOT +grpc-google-iam-v2:1.6.3:1.6.4-SNAPSHOT From bc91e8df54f9d919a9e0dc69e61d52fd855a8dbf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 Oct 2022 16:12:31 +0200 Subject: [PATCH 2683/3036] deps: update dependency google-api-core to v2.10.2 (#858) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google-api-core](https://togithub.com/googleapis/python-api-core) | `==2.8.2` -> `==2.10.2` | [![age](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.2/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-api-core/2.10.2/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From c909a13fa626eb387c8ee87b7cc22607cb9cf889 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 Oct 2022 16:14:17 +0200 Subject: [PATCH 2684/3036] deps: update dependency typing-extensions to v4.4.0 (#854) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typing-extensions](https://togithub.com/python/typing_extensions) ([changelog](https://togithub.com/python/typing_extensions/blob/main/CHANGELOG.md)) | `==4.1.1` -> `==4.4.0` | [![age](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.4.0/compatibility-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/typing-extensions/4.4.0/confidence-slim/4.1.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From b900909d2c8c92d0b8bb31ea7aa6b83a174020ba Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 Oct 2022 16:14:36 +0200 Subject: [PATCH 2685/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.3 (#974) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​163-httpsgithubcomgoogleapisjava-iamcomparev162v163-2022-10-07) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#​468](https://togithub.com/googleapis/java-iam/issues/468)) ([f6be604](https://togithub.com/googleapis/java-iam/commit/f6be6047506561a7b6f1dc5b5ea925207075d3ac)) - Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#​467](https://togithub.com/googleapis/java-iam/issues/467)) ([0af193b](https://togithub.com/googleapis/java-iam/commit/0af193bbcedcfa7e7e9b53eaeb509fba5df974b3))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 08b8b8c8268f..0cbc349db601 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.2 2.2.1 2.9.6 - 1.6.2 + 1.6.3 1.11.0 2.0.0 1.42.2 From 971b84eb801699b585cd35300bed8d4fb65046d8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 Oct 2022 16:16:17 +0200 Subject: [PATCH 2686/3036] deps: update dependency zipp to v3.9.0 (#859) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [zipp](https://togithub.com/jaraco/zipp) | `==3.6.0` -> `==3.9.0` | [![age](https://badges.renovateapi.com/packages/pypi/zipp/3.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/zipp/3.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/zipp/3.9.0/compatibility-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/zipp/3.9.0/confidence-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). From 9a515d317918b200810e43244df7c46dc17e221c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 Oct 2022 16:16:32 +0200 Subject: [PATCH 2687/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.3 (#472) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​163-httpsgithubcomgoogleapisjava-iamcomparev162v163-2022-10-07) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#​468](https://togithub.com/googleapis/java-iam/issues/468)) ([6a1ae04](https://togithub.com/googleapis/java-iam/commit/6a1ae043eb7c2b4a6f3b8e5e516010ca07c5f36e)) - Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#​467](https://togithub.com/googleapis/java-iam/issues/467)) ([12a9dcb](https://togithub.com/googleapis/java-iam/commit/12a9dcb0b2d31c5cbd4fdbae394e01c9ae91f112))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 92b86bba7818..0778c0c84f96 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.2 + 1.6.3 compile From 675837378642f39fe55c0e30b62755b9185bee3d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 10 Oct 2022 16:18:18 +0200 Subject: [PATCH 2688/3036] deps: update iam.version to v1.6.3 (#857) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​163-httpsgithubcomgoogleapisjava-iamcomparev162v163-2022-10-07) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#​468](https://togithub.com/googleapis/java-iam/issues/468)) ([f6be604](https://togithub.com/googleapis/java-iam/commit/f6be6047506561a7b6f1dc5b5ea925207075d3ac)) - Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#​467](https://togithub.com/googleapis/java-iam/issues/467)) ([0af193b](https://togithub.com/googleapis/java-iam/commit/0af193bbcedcfa7e7e9b53eaeb509fba5df974b3))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 0ecde84e1e40..d5bc56979abc 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.2 1.34.1 2.0.0 - 1.6.2 + 1.6.3
    From c3e183a5ed54e822c0764a3ea253441b649a07a6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 14:22:19 +0000 Subject: [PATCH 2689/3036] chore(main): release 2.8.21 (#972) :robot: I have created a release *beep* *boop* --- ## [2.8.21](https://togithub.com/googleapis/java-core/compare/v2.8.20...v2.8.21) (2022-10-10) ### Dependencies * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.2 ([#971](https://togithub.com/googleapis/java-core/issues/971)) ([7e8c58c](https://togithub.com/googleapis/java-core/commit/7e8c58c90a42ca771a6a4fe06f3f6324152093b3)) * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.3 ([#974](https://togithub.com/googleapis/java-core/issues/974)) ([b900909](https://togithub.com/googleapis/java-core/commit/b900909d2c8c92d0b8bb31ea7aa6b83a174020ba)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 4f91d4dfda25..0a13be5d9e72 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.21](https://github.com/googleapis/java-core/compare/v2.8.20...v2.8.21) (2022-10-10) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.2 ([#971](https://github.com/googleapis/java-core/issues/971)) ([5d778fc](https://github.com/googleapis/java-core/commit/5d778fc0d78e67cbcc4eb061da3b66dd3cab440e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.3 ([#974](https://github.com/googleapis/java-core/issues/974)) ([1b7fcb9](https://github.com/googleapis/java-core/commit/1b7fcb978da55f8d30cf66941bc8208853fef116)) + ## [2.8.20](https://github.com/googleapis/java-core/compare/v2.8.19...v2.8.20) (2022-10-02) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 59da1cfde1a5..8cd73e542e8b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.21-SNAPSHOT + 2.8.21 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.21-SNAPSHOT + 2.8.21 com.google.cloud google-cloud-core-grpc - 2.8.21-SNAPSHOT + 2.8.21 com.google.cloud google-cloud-core-http - 2.8.21-SNAPSHOT + 2.8.21
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 4b9ac1bce123..ee33945fc595 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.8.21-SNAPSHOT + 2.8.21 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.21-SNAPSHOT + 2.8.21 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 e10a21eaeae5..d4c83ac47e15 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.8.21-SNAPSHOT + 2.8.21 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.21-SNAPSHOT + 2.8.21 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 95b77c9dcde9..d5992e63e0ad 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.8.21-SNAPSHOT + 2.8.21 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.21-SNAPSHOT + 2.8.21 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 0cbc349db601..4b93da73eb33 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.21-SNAPSHOT + 2.8.21 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9a92d5ffdb0a..58659c30cbf9 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.20:2.8.21-SNAPSHOT +google-cloud-core:2.8.21:2.8.21 From 1d6b77fd1563efa7e42eaeb159f17d37790af449 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 14:24:18 +0000 Subject: [PATCH 2690/3036] chore(main): release 1.6.4 (#473) :robot: I have created a release *beep* *boop* --- ## [1.6.4](https://togithub.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) (2022-10-10) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.3 ([#472](https://togithub.com/googleapis/java-iam/issues/472)) ([9a515d3](https://togithub.com/googleapis/java-iam/commit/9a515d317918b200810e43244df7c46dc17e221c)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 6973dff6890a..cb8135b4f1bb 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.4](https://github.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) (2022-10-10) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.3 ([#472](https://github.com/googleapis/java-iam/issues/472)) ([8f911be](https://github.com/googleapis/java-iam/commit/8f911bef57b66ab9dd092ed7912702c038e8565e)) + ## [1.6.3](https://github.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) (2022-10-07) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index a849e3637b88..030040b245e0 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.4-SNAPSHOT + 1.6.4 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.4-SNAPSHOT + 1.6.4 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 013356b1ccd3..5fc2b829efe8 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.6.4-SNAPSHOT + 1.6.4 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4-SNAPSHOT + 1.6.4 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 0a4f7352964e..edb478ee7642 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.6.4-SNAPSHOT + 1.6.4 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.4-SNAPSHOT + 1.6.4 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index eac3e76c9ba3..f7691d3618cb 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.6.4-SNAPSHOT + 1.6.4 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4-SNAPSHOT + 1.6.4 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 665c9baeacc7..3ff630a9f218 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.4-SNAPSHOT + 1.6.4 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.4-SNAPSHOT + 1.6.4 com.google.api.grpc grpc-google-iam-v2 - 1.6.4-SNAPSHOT + 1.6.4 com.google.cloud google-iam-policy - 1.6.4-SNAPSHOT + 1.6.4 com.google.api.grpc proto-google-iam-v2beta - 1.6.4-SNAPSHOT + 1.6.4 com.google.api.grpc grpc-google-iam-v1 - 1.6.4-SNAPSHOT + 1.6.4 com.google.api.grpc grpc-google-iam-v2beta - 1.6.4-SNAPSHOT + 1.6.4 com.google.api.grpc proto-google-iam-v1 - 1.6.4-SNAPSHOT + 1.6.4 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 454140e6613e..9fc66e845372 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.6.4-SNAPSHOT + 1.6.4 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4-SNAPSHOT + 1.6.4 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index b889e473b525..ce552afa8db9 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.6.4-SNAPSHOT + 1.6.4 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4-SNAPSHOT + 1.6.4 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 86619e87abd5..d2609f2ae6ac 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.6.4-SNAPSHOT + 1.6.4 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4-SNAPSHOT + 1.6.4 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 41e9439d261a..5372527b7fa5 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.3:1.6.4-SNAPSHOT -grpc-google-iam-v1:1.6.3:1.6.4-SNAPSHOT -proto-google-iam-v2beta:1.6.3:1.6.4-SNAPSHOT -grpc-google-iam-v2beta:1.6.3:1.6.4-SNAPSHOT -google-iam-policy:1.6.3:1.6.4-SNAPSHOT -proto-google-iam-v2:1.6.3:1.6.4-SNAPSHOT -grpc-google-iam-v2:1.6.3:1.6.4-SNAPSHOT +proto-google-iam-v1:1.6.4:1.6.4 +grpc-google-iam-v1:1.6.4:1.6.4 +proto-google-iam-v2beta:1.6.4:1.6.4 +grpc-google-iam-v2beta:1.6.4:1.6.4 +google-iam-policy:1.6.4:1.6.4 +proto-google-iam-v2:1.6.4:1.6.4 +grpc-google-iam-v2:1.6.4:1.6.4 From f5ba5abc73ed97fa467e913c9607d541ddc9f57d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 14:30:19 +0000 Subject: [PATCH 2691/3036] chore(main): release 1.6.5-SNAPSHOT (#474) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 030040b245e0..f7b79db731ae 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.4 + 1.6.5-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.4 + 1.6.5-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 5fc2b829efe8..4b8b2ba06c74 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.6.4 + 1.6.5-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4 + 1.6.5-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index edb478ee7642..4ba32cb648f7 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.6.4 + 1.6.5-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.4 + 1.6.5-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index f7691d3618cb..7e536ac77977 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.6.4 + 1.6.5-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4 + 1.6.5-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3ff630a9f218..c2a429bafd69 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.4 + 1.6.5-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.4 + 1.6.5-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.4 + 1.6.5-SNAPSHOT com.google.cloud google-iam-policy - 1.6.4 + 1.6.5-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.4 + 1.6.5-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.4 + 1.6.5-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.4 + 1.6.5-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.4 + 1.6.5-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 9fc66e845372..76633716d161 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.6.4 + 1.6.5-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4 + 1.6.5-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index ce552afa8db9..cb6837e8c066 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.6.4 + 1.6.5-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4 + 1.6.5-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index d2609f2ae6ac..40f8f2b20a78 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.6.4 + 1.6.5-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.4 + 1.6.5-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 5372527b7fa5..46912707d33a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.4:1.6.4 -grpc-google-iam-v1:1.6.4:1.6.4 -proto-google-iam-v2beta:1.6.4:1.6.4 -grpc-google-iam-v2beta:1.6.4:1.6.4 -google-iam-policy:1.6.4:1.6.4 -proto-google-iam-v2:1.6.4:1.6.4 -grpc-google-iam-v2:1.6.4:1.6.4 +proto-google-iam-v1:1.6.4:1.6.5-SNAPSHOT +grpc-google-iam-v1:1.6.4:1.6.5-SNAPSHOT +proto-google-iam-v2beta:1.6.4:1.6.5-SNAPSHOT +grpc-google-iam-v2beta:1.6.4:1.6.5-SNAPSHOT +google-iam-policy:1.6.4:1.6.5-SNAPSHOT +proto-google-iam-v2:1.6.4:1.6.5-SNAPSHOT +grpc-google-iam-v2:1.6.4:1.6.5-SNAPSHOT From 3962faddb4b1c8b07718da49b96665f601159e91 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 14:38:25 +0000 Subject: [PATCH 2692/3036] chore(main): release 2.8.22-SNAPSHOT (#975) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8cd73e542e8b..7ca10aa44578 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.21 + 2.8.22-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.21 + 2.8.22-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.21 + 2.8.22-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.21 + 2.8.22-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ee33945fc595..c21374895e4d 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.8.21 + 2.8.22-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.21 + 2.8.22-SNAPSHOT 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 d4c83ac47e15..416f175a9ac1 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.8.21 + 2.8.22-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.21 + 2.8.22-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index d5992e63e0ad..aa8326a009f6 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.8.21 + 2.8.22-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.21 + 2.8.22-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 4b93da73eb33..c56a380b0bdd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.21 + 2.8.22-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 58659c30cbf9..6e23f5fb85ed 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.21:2.8.21 +google-cloud-core:2.8.21:2.8.22-SNAPSHOT From 0220cda14e6c94cdf779895f4d59ff12cbd681fa Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Mon, 10 Oct 2022 10:40:18 -0400 Subject: [PATCH 2693/3036] chore(java): manually exclude requirements.txt from renovate bot (#860) Manually brings in changes from https://togithub.com/googleapis/synthtool/pull/1594. [Renovate.json is excluded in owlbot](https://togithub.com/googleapis/java-shared-dependencies/blob/675837378642f39fe55c0e30b62755b9185bee3d/owlbot.py#L22) so the changes in synthtool couldn't be applied. This is to stop update dep PRs like [this one](https://togithub.com/googleapis/java-shared-dependencies/pull/859) from showing up in the repo. --- java-shared-dependencies/renovate.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java-shared-dependencies/renovate.json b/java-shared-dependencies/renovate.json index 380388a52b95..fb692bfd86ab 100644 --- a/java-shared-dependencies/renovate.json +++ b/java-shared-dependencies/renovate.json @@ -10,6 +10,7 @@ ":maintainLockFilesDisabled", ":autodetectPinVersions" ], + "ignorePaths": [".kokoro/requirements.txt"], "packageRules": [ { "packagePatterns": [ @@ -60,4 +61,4 @@ ], "semanticCommits": true, "masterIssue": true -} \ No newline at end of file +} From 3e3a60dfd45f08401ee3ac7a98007fae21d5bba6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:00:23 +0200 Subject: [PATCH 2694/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.12.0 (#870) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.11.0` -> `1.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.0/compatibility-slim/1.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.0/confidence-slim/1.11.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.12.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1120-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1110v1120-2022-10-14) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.11.0...v1.12.0) ##### Features - Adding validation for psc endpoints ([#​1042](https://togithub.com/googleapis/google-auth-library-java/issues/1042)) ([b37a565](https://togithub.com/googleapis/google-auth-library-java/commit/b37a565c6c1e7acb44baf2307c862c9df8be9345)) ##### Bug Fixes - Fixed javadoc errors ([#​945](https://togithub.com/googleapis/google-auth-library-java/issues/945)) ([1ddc994](https://togithub.com/googleapis/google-auth-library-java/commit/1ddc99481ae8b0f0eceb4cb442d5c6614ec8a411)) ##### Documentation - **samples:** Modified comments in the samples and minor refactor ([#​990](https://togithub.com/googleapis/google-auth-library-java/issues/990)) ([669ab04](https://togithub.com/googleapis/google-auth-library-java/commit/669ab042844e46d0503bbd31fd2da92a7963bad5))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d5bc56979abc..1a83112d87f9 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.2.1 2.9.6 2.8.20 - 1.11.0 + 1.12.0 1.42.2 1.34.1 2.0.0 From e9921900ec590e281b5ae6e16ab51e7bd67c1242 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:16:12 +0200 Subject: [PATCH 2695/3036] deps: update dependency org.threeten:threetenbp to v1.6.3 (#869) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.3`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.3) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.2...v1.6.3) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 37bf3a52f650..11a13bb64c96 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,7 @@ UTF-8 ${project.artifactId} - 1.6.2 + 1.6.3 1.3.2 1.22 0.31.1 From 2fda4213796df086450fdc3d69d53a0bd1d59f46 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:16:18 +0200 Subject: [PATCH 2696/3036] deps: update google.core.version to v2.8.21 (#861) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.20` -> `2.8.21` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.21/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.21/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.21/compatibility-slim/2.8.20)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.21/confidence-slim/2.8.20)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.20` -> `2.8.21` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.21/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.21/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.21/compatibility-slim/2.8.20)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.21/confidence-slim/2.8.20)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.21`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2821-httpsgithubcomgoogleapisjava-corecomparev2820v2821-2022-10-10) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.20...v2.8.21) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.2 ([#​971](https://togithub.com/googleapis/java-core/issues/971)) ([5d778fc](https://togithub.com/googleapis/java-core/commit/5d778fc0d78e67cbcc4eb061da3b66dd3cab440e)) - Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.3 ([#​974](https://togithub.com/googleapis/java-core/issues/974)) ([1b7fcb9](https://togithub.com/googleapis/java-core/commit/1b7fcb978da55f8d30cf66941bc8208853fef116))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1a83112d87f9..17a4832c277a 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.7 2.2.1 2.9.6 - 2.8.20 + 2.8.21 1.12.0 1.42.2 1.34.1 From 48ca222a5e4d9f88737d4c4a4ee2a42a7145619e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:18:14 +0200 Subject: [PATCH 2697/3036] deps: update dependency com.google.cloud:grpc-gcp to v1.3.0 (#867) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:grpc-gcp](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/tree/master/grpc-gcp) ([source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java)) | `1.2.1` -> `1.3.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/compatibility-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.0/confidence-slim/1.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    GoogleCloudPlatform/grpc-gcp-java ### [`v1.3.0`](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/releases/tag/v1.3.0) [Compare Source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/compare/v1.2.1...v1.3.0) ##### Features - Add switching delay to GcpMultiEndpointChannel. ([#​145](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/145)) - Look for a multi-endpoint specified in gRPC context. ([#​149](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/issues/149))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 17a4832c277a..67da9e10a142 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -57,7 +57,7 @@ ${project.artifactId} 1.49.2 2.19.2 - 1.2.1 + 1.3.0 2.9.1 31.1-jre 3.21.7 From 1e1bc341c9dd0f8f5a2d14aa8dd52399b2ce71c1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:18:23 +0200 Subject: [PATCH 2698/3036] deps: update iam.version to v1.6.4 (#862) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.4`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​164-httpsgithubcomgoogleapisjava-iamcomparev163v164-2022-10-10) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.3 ([#​472](https://togithub.com/googleapis/java-iam/issues/472)) ([8f911be](https://togithub.com/googleapis/java-iam/commit/8f911bef57b66ab9dd092ed7912702c038e8565e))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 67da9e10a142..9baca66aaf46 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.2 1.34.1 2.0.0 - 1.6.3 + 1.6.4
    From 5c2a825c18af61784287dd41eba3a21be80bbe6b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:20:22 +0200 Subject: [PATCH 2699/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.13.4.20221013 (#868) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.fasterxml.jackson:jackson-bom](https://togithub.com/FasterXML/jackson-bom) | `2.13.4` -> `2.13.4.20221013` | [![age](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4.20221013/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4.20221013/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4.20221013/compatibility-slim/2.13.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.13.4.20221013/confidence-slim/2.13.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 11a13bb64c96..887e56cb591b 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 0.31.1 3.0.2 2.15.0 - 2.13.4 + 2.13.4.20221013 1.15 4.4.15 4.5.13 From 50039f41bfba37e65685c4a5b279d3cb2a92f2c5 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:30:14 +0200 Subject: [PATCH 2700/3036] deps: update dependency io.grpc:grpc-bom to v1.50.0 (#866) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.49.2` -> `1.50.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/compatibility-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/confidence-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.50.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.49.2...v1.50.0) #### New Features - okhttp: Added connection management features to okhttp server, including maxConnectionIdle(), permitKeepAliveTime(), and permitKeepAliveWithoutCalls() ([#​9494](https://togithub.com/grpc/grpc-java/issues/9494), [#​9544](https://togithub.com/grpc/grpc-java/issues/9544)) - binder: Add `SecurityPolicies` for checking device owner/profile owner ([#​9428](https://togithub.com/grpc/grpc-java/issues/9428)) #### API Changes - api: Add LoadBalancer.acceptResolvedAddresses() ([#​9498](https://togithub.com/grpc/grpc-java/issues/9498)). The method is like `handleResolvedAddresses()` but returns a `boolean` of whether the addresses and configuration were accepted. Not accepting the update triggers the NameResolver to retry after a delay. We are not yet encouraging migration to this method, as there is still a second future API change - core: add CallOptions to CallCredentials.RequestInfo ([#​9538](https://togithub.com/grpc/grpc-java/issues/9538)) #### Bug Fixes - auth: Fix AppEngine failing while retrieving access token when instantiating a blocking stub using AppEngineCredentials ([#​9504](https://togithub.com/grpc/grpc-java/issues/9504)) - core: Ensure that context cancellationCause is set ([#​9501](https://togithub.com/grpc/grpc-java/issues/9501)) - core: Update outlier detection max ejection logic to allow exceeding the limit by one, to match Envoy. ([#​9489](https://togithub.com/grpc/grpc-java/issues/9489), [#​9492](https://togithub.com/grpc/grpc-java/issues/9492)) - core: outlier detection to honor min host request volume ([#​9490](https://togithub.com/grpc/grpc-java/issues/9490)) - okhttp: Add timeout for HTTP CONNECT proxy handshake ([#​9586](https://togithub.com/grpc/grpc-java/issues/9586)) - xds: ringhash policy in TRANSIENT_FAILURE should not attempt connecting when already in connecting ([#​9535](https://togithub.com/grpc/grpc-java/issues/9535)). With workloads where most requests have the same hash, ring hash should behave more like pick-first of slowly trying backends #### Dependencies - netty: upgrade netty from 4.1.77.Final to 4.1.79.Final and tcnative from 2.0.53 to 2.0.54 ([#​9451](https://togithub.com/grpc/grpc-java/issues/9451)) #### Acknowledgements [@​cpovirk](https://togithub.com/cpovirk) [@​prateek-0](https://togithub.com/prateek-0) [@​sai-sunder-s](https://togithub.com/sai-sunder-s)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9baca66aaf46..2680192d3a51 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.49.2 + 1.50.0 2.19.2 1.3.0 2.9.1 From d7a494dcd12a529121b74fd9fb9dfc679017f844 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 00:32:18 +0200 Subject: [PATCH 2701/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.16 (#865) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.15.0` -> `2.16` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/compatibility-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/confidence-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.16`](https://togithub.com/google/error-prone/releases/tag/v2.16) [Compare Source](https://togithub.com/google/error-prone/compare/v2.15.0...v2.16) New Checkers: - [`ASTHelpersSuggestions`](https://errorprone.info/bugpattern/ASTHelpersSuggestions) - [`CanIgnoreReturnValueSuggester`](https://errorprone.info/bugpattern/CanIgnoreReturnValueSuggester) - [`LenientFormatStringValidation`](https://errorprone.info/bugpattern/LenientFormatStringValidation) - [`UnnecessarilyUsedValue`](https://errorprone.info/bugpattern/UnnecessarilyUsedValue) Fixed issues: [#​3092](https://togithub.com/google/error-prone/issues/3092), [#​3220](https://togithub.com/google/error-prone/issues/3220), [#​3225](https://togithub.com/google/error-prone/issues/3225), [#​3267](https://togithub.com/google/error-prone/issues/3267), [#​3441](https://togithub.com/google/error-prone/issues/3441) **Full Changelog**: https://togithub.com/google/error-prone/compare/v2.15.0...v2.16.0
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 887e56cb591b..00de1db9f642 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.22 0.31.1 3.0.2 - 2.15.0 + 2.16 2.13.4.20221013 1.15 4.4.15 From cc0f665dfac816b0177cbdeb1d35e84df8896315 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 04:31:23 +0200 Subject: [PATCH 2702/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.12.0 (#981) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c56a380b0bdd..d829c43ccb0a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.2.1 2.9.6 1.6.3 - 1.11.0 + 1.12.0 2.0.0 1.42.2 1.49.2 From ea9395572a8790a0274584262982998914a19c69 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 04:32:00 +0200 Subject: [PATCH 2703/3036] deps: update dependency org.threeten:threetenbp to v1.6.3 (#979) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d829c43ccb0a..2d212cf72150 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.1.3 4.3 3.0.2 - 1.6.2 + 1.6.3 3.3 2.15.0 2.9.1 From df9f8065fbf8d4accbebaff85338e3e0443b230a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 04:40:18 +0200 Subject: [PATCH 2704/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.4 (#976) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.4`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​164-httpsgithubcomgoogleapisjava-iamcomparev163v164-2022-10-10) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.3 ([#​472](https://togithub.com/googleapis/java-iam/issues/472)) ([8f911be](https://togithub.com/googleapis/java-iam/commit/8f911bef57b66ab9dd092ed7912702c038e8565e))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2d212cf72150..6b1854b14b08 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.2 2.2.1 2.9.6 - 1.6.3 + 1.6.4 1.12.0 2.0.0 1.42.2 From 9f166f52b9b35d5a1f7f6d108df4ad5a83d443b4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 16:38:30 +0200 Subject: [PATCH 2705/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 (#479) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20220925-2.0.0` -> `v3-rev20221016-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/compatibility-slim/v3-rev20220925-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221016-2.0.0/confidence-slim/v3-rev20220925-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 0778c0c84f96..659069437e5c 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20220925-2.0.0 + v3-rev20221016-2.0.0 com.google.auth From 65e92e2078ebfd8e900be0573dea9e3578b019f6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 16:40:21 +0200 Subject: [PATCH 2706/3036] deps: update dependency io.grpc:grpc-bom to v1.50.0 (#978) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.49.2` -> `1.50.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/compatibility-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.0/confidence-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.50.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.49.2...v1.50.0) #### New Features - okhttp: Added connection management features to okhttp server, including maxConnectionIdle(), permitKeepAliveTime(), and permitKeepAliveWithoutCalls() ([#​9494](https://togithub.com/grpc/grpc-java/issues/9494), [#​9544](https://togithub.com/grpc/grpc-java/issues/9544)) - binder: Add `SecurityPolicies` for checking device owner/profile owner ([#​9428](https://togithub.com/grpc/grpc-java/issues/9428)) #### API Changes - api: Add LoadBalancer.acceptResolvedAddresses() ([#​9498](https://togithub.com/grpc/grpc-java/issues/9498)). The method is like `handleResolvedAddresses()` but returns a `boolean` of whether the addresses and configuration were accepted. Not accepting the update triggers the NameResolver to retry after a delay. We are not yet encouraging migration to this method, as there is still a second future API change - core: add CallOptions to CallCredentials.RequestInfo ([#​9538](https://togithub.com/grpc/grpc-java/issues/9538)) #### Bug Fixes - auth: Fix AppEngine failing while retrieving access token when instantiating a blocking stub using AppEngineCredentials ([#​9504](https://togithub.com/grpc/grpc-java/issues/9504)) - core: Ensure that context cancellationCause is set ([#​9501](https://togithub.com/grpc/grpc-java/issues/9501)) - core: Update outlier detection max ejection logic to allow exceeding the limit by one, to match Envoy. ([#​9489](https://togithub.com/grpc/grpc-java/issues/9489), [#​9492](https://togithub.com/grpc/grpc-java/issues/9492)) - core: outlier detection to honor min host request volume ([#​9490](https://togithub.com/grpc/grpc-java/issues/9490)) - okhttp: Add timeout for HTTP CONNECT proxy handshake ([#​9586](https://togithub.com/grpc/grpc-java/issues/9586)) - xds: ringhash policy in TRANSIENT_FAILURE should not attempt connecting when already in connecting ([#​9535](https://togithub.com/grpc/grpc-java/issues/9535)). With workloads where most requests have the same hash, ring hash should behave more like pick-first of slowly trying backends #### Dependencies - netty: upgrade netty from 4.1.77.Final to 4.1.79.Final and tcnative from 2.0.53 to 2.0.54 ([#​9451](https://togithub.com/grpc/grpc-java/issues/9451)) #### Acknowledgements [@​cpovirk](https://togithub.com/cpovirk) [@​prateek-0](https://togithub.com/prateek-0) [@​sai-sunder-s](https://togithub.com/sai-sunder-s)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6b1854b14b08..5496cf426508 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.12.0 2.0.0 1.42.2 - 1.49.2 + 1.50.0 3.21.7 0.31.1 1.3.2 From 8108ea56a7977869ff088a6832a629b226b8f934 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 16:42:21 +0200 Subject: [PATCH 2707/3036] deps: update dependency io.grpc:grpc-protobuf to v1.50.0 (#476) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.49.2` -> `1.50.0` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.0/compatibility-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.0/confidence-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.50.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.0) #### New Features - okhttp: Added connection management features to okhttp server, including maxConnectionIdle(), permitKeepAliveTime(), and permitKeepAliveWithoutCalls() ([#​9494](https://togithub.com/grpc/grpc-java/issues/9494), [#​9544](https://togithub.com/grpc/grpc-java/issues/9544)) - binder: Add `SecurityPolicies` for checking device owner/profile owner ([#​9428](https://togithub.com/grpc/grpc-java/issues/9428)) #### API Changes - api: Add LoadBalancer.acceptResolvedAddresses() ([#​9498](https://togithub.com/grpc/grpc-java/issues/9498)). The method is like `handleResolvedAddresses()` but returns a `boolean` of whether the addresses and configuration were accepted. Not accepting the update triggers the NameResolver to retry after a delay. We are not yet encouraging migration to this method, as there is still a second future API change - core: add CallOptions to CallCredentials.RequestInfo ([#​9538](https://togithub.com/grpc/grpc-java/issues/9538)) #### Bug Fixes - auth: Fix AppEngine failing while retrieving access token when instantiating a blocking stub using AppEngineCredentials ([#​9504](https://togithub.com/grpc/grpc-java/issues/9504)) - core: Ensure that context cancellationCause is set ([#​9501](https://togithub.com/grpc/grpc-java/issues/9501)) - core: Update outlier detection max ejection logic to allow exceeding the limit by one, to match Envoy. ([#​9489](https://togithub.com/grpc/grpc-java/issues/9489), [#​9492](https://togithub.com/grpc/grpc-java/issues/9492)) - core: outlier detection to honor min host request volume ([#​9490](https://togithub.com/grpc/grpc-java/issues/9490)) - okhttp: Add timeout for HTTP CONNECT proxy handshake ([#​9586](https://togithub.com/grpc/grpc-java/issues/9586)) - xds: ringhash policy in TRANSIENT_FAILURE should not attempt connecting when already in connecting ([#​9535](https://togithub.com/grpc/grpc-java/issues/9535)). With workloads where most requests have the same hash, ring hash should behave more like pick-first of slowly trying backends #### Dependencies - netty: upgrade netty from 4.1.77.Final to 4.1.79.Final and tcnative from 2.0.53 to 2.0.54 ([#​9451](https://togithub.com/grpc/grpc-java/issues/9451)) #### Acknowledgements [@​cpovirk](https://togithub.com/cpovirk) [@​prateek-0](https://togithub.com/prateek-0) [@​sai-sunder-s](https://togithub.com/sai-sunder-s)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index a5e1c51a81c5..35ff92268375 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.49.2' - compile 'io.grpc:grpc-protobuf:1.49.2' + compile 'io.grpc:grpc-protobuf:1.50.0' compile project(':proto-google-iam-v1') } From 0fcce367bf7a3f22e3fb81a960cceab1a5208b67 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 16:48:31 +0200 Subject: [PATCH 2708/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.16 (#977) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.15.0` -> `2.16` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/compatibility-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.16/confidence-slim/2.15.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.16`](https://togithub.com/google/error-prone/releases/tag/v2.16) [Compare Source](https://togithub.com/google/error-prone/compare/v2.15.0...v2.16) New Checkers: - [`ASTHelpersSuggestions`](https://errorprone.info/bugpattern/ASTHelpersSuggestions) - [`CanIgnoreReturnValueSuggester`](https://errorprone.info/bugpattern/CanIgnoreReturnValueSuggester) - [`LenientFormatStringValidation`](https://errorprone.info/bugpattern/LenientFormatStringValidation) - [`UnnecessarilyUsedValue`](https://errorprone.info/bugpattern/UnnecessarilyUsedValue) Fixed issues: [#​3092](https://togithub.com/google/error-prone/issues/3092), [#​3220](https://togithub.com/google/error-prone/issues/3220), [#​3225](https://togithub.com/google/error-prone/issues/3225), [#​3267](https://togithub.com/google/error-prone/issues/3267), [#​3441](https://togithub.com/google/error-prone/issues/3441) **Full Changelog**: https://togithub.com/google/error-prone/compare/v2.15.0...v2.16.0
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 5496cf426508..3dd187dac0a9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.6.3 3.3 - 2.15.0 + 2.16 2.9.1
    From 2edd1e077feb172830b2475efef0632f01154e9e Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 18 Oct 2022 17:00:21 +0200 Subject: [PATCH 2709/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.4 (#475) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.4`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​164-httpsgithubcomgoogleapisjava-iamcomparev163v164-2022-10-10) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.3 ([#​472](https://togithub.com/googleapis/java-iam/issues/472)) ([9a515d3](https://togithub.com/googleapis/java-iam/commit/9a515d317918b200810e43244df7c46dc17e221c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 659069437e5c..8f098c2b3d73 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.3 + 1.6.4 compile From ebe5d5f27dbe4f12c06d3a69c14c74bbf4e76dd1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Oct 2022 15:38:30 +0200 Subject: [PATCH 2710/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.8 (#872) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2680192d3a51..a6d170c926fa 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.3.0 2.9.1 31.1-jre - 3.21.7 + 3.21.8 2.2.1 2.9.6 2.8.21 From 9fb15613976f83c5545e2b664c488e9811c1f185 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Oct 2022 15:51:02 +0200 Subject: [PATCH 2711/3036] deps: update dependency io.grpc:grpc-bom to v1.50.1 (#873) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a6d170c926fa..7fbe296ef259 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.50.0 + 1.50.1 2.19.2 1.3.0 2.9.1 From 4d94c753b46d7f8c787b0efa21d7bc42b1ca1c6c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Oct 2022 15:51:14 +0200 Subject: [PATCH 2712/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.12.1 (#871) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 7fbe296ef259..641a13d8c785 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.2.1 2.9.6 2.8.21 - 1.12.0 + 1.12.1 1.42.2 1.34.1 2.0.0 From 6469869f3401ec7ed4f91ebfd521e2d2d97dc038 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Oct 2022 22:30:20 +0200 Subject: [PATCH 2713/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.4 (#876) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 641a13d8c785..7880361d0dbb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.3 + 1.5.4 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 29cdb3e9c1be..d2ce36c7079b 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.5.3 + 1.5.4 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 00de1db9f642..583a1cce6113 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.3 + 1.5.4 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 2e322b814eab..4c50cbd5007e 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.5.3 + 1.5.4
    From 366b8aa21ea9e3d0fdaeb5aab1be8eeb83b5b162 Mon Sep 17 00:00:00 2001 From: Mike Eltsufin Date: Wed, 19 Oct 2022 17:28:20 -0400 Subject: [PATCH 2714/3036] chore: remove graalvm 22.1 testing (#877) --- .../.github/workflows/downstream-native-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml index af6d9ff82665..a34a59f4a905 100644 --- a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml +++ b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - graalvm: [22.2.0, 22.1.0] + graalvm: [22.2.0] java: [11, 17] repo: # GAPIC library that doesn't use a real GCP project in integration tests @@ -38,4 +38,4 @@ jobs: - run: java -version - run: sudo apt-get update -y - run: sudo apt-get install libxml2-utils - - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} graalvm \ No newline at end of file + - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} graalvm From 2eb7f3d6cf834c474dcdc99740f8cdabf50bca51 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 19 Oct 2022 23:34:12 +0200 Subject: [PATCH 2715/3036] deps: update gax.version to v2.19.4 (#875) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.19.2` -> `2.19.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.4/compatibility-slim/2.19.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.4/confidence-slim/2.19.2)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.19.2` -> `2.19.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/compatibility-slim/2.19.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/confidence-slim/2.19.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.19.4`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2194-httpsgithubcomgoogleapisgax-javacomparev2193v2194-2022-10-19) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.19.2...v2.19.4) ##### Bug Fixes - Scope the throttling metric to exclude element size calculation ([#​1835](https://togithub.com/googleapis/gax-java/issues/1835)) ([0287f83](https://togithub.com/googleapis/gax-java/commit/0287f83f9cabbb9dff6cb7e8ea3068ccc1ab12d9))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 7880361d0dbb..d6dcc01febe4 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.50.1 - 2.19.2 + 2.19.4 1.3.0 2.9.1 31.1-jre From 21c53a554375eb8a03dd0898a7d7b4340eea280a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 19:40:00 -0400 Subject: [PATCH 2716/3036] chore: pin versions of certifi and google-resumable-media (#1660) (#986) chore: pin versions of certifi and google-resumable-media Source-Link: https://github.com/googleapis/synthtool/commit/09c4fcd0c6a0a880cf73662e118a8e8019da947c Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 Co-authored-by: Owl Bot --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.in | 2 ++ java-core/.kokoro/requirements.txt | 14 +++++++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 42327db5e2e3..7649651ccd4b 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 + digest: sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in index cfdc2e7ed955..6aa7cf2b55ee 100644 --- a/java-core/.kokoro/requirements.in +++ b/java-core/.kokoro/requirements.in @@ -16,10 +16,12 @@ pycparser==2.21 pyperclip==1.8.2 python-dateutil==2.8.2 requests==2.27.1 +certifi==2022.9.24 importlib-metadata==4.8.3 zipp==3.6.0 google_api_core==2.8.2 google-cloud-storage==2.0.0 +google-resumable-media==2.3.3 google-cloud-core==2.3.1 typing-extensions==4.1.1 urllib3==1.26.12 diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 170f1c63abb7..02ae42bb4039 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -16,10 +16,12 @@ cachetools==4.2.4 \ # via # -r requirements.in # google-auth -certifi==2022.9.14 \ - --hash=sha256:36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5 \ - --hash=sha256:e232343de1ab72c2aa521b625c80f699e356830fd0e2c620b465b304b17b0516 - # via requests +certifi==2022.9.24 \ + --hash=sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14 \ + --hash=sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382 + # via + # -r requirements.in + # requests cffi==1.15.1 \ --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ @@ -218,7 +220,9 @@ google-crc32c==1.3.0 \ google-resumable-media==2.3.3 \ --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via google-cloud-storage + # via + # -r requirements.in + # google-cloud-storage googleapis-common-protos==1.56.3 \ --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 From ab53515dbf83a486b0708d1b2aa758bbae7f2785 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Oct 2022 01:40:14 +0200 Subject: [PATCH 2717/3036] deps: update dependency io.grpc:grpc-bom to v1.50.1 (#985) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.50.0` -> `1.50.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.1/compatibility-slim/1.50.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.1/confidence-slim/1.50.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.50.1`](https://togithub.com/grpc/grpc-java/compare/v1.50.0...v1.50.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.50.0...v1.50.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 3dd187dac0a9..5cfd19fb4b0f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.12.0 2.0.0 1.42.2 - 1.50.0 + 1.50.1 3.21.7 0.31.1 1.3.2 From ae72e392c82222cfc2f3c156107fed0bc78fb781 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Oct 2022 01:41:20 +0200 Subject: [PATCH 2718/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.4 (#988) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 7ca10aa44578..865ad53c9b25 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.3 + 1.5.4 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5cfd19fb4b0f..197fd19b92ba 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.3 + 1.5.4 From 0ca9f26f4552d4279778713bf5ec526efca9e7be Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Oct 2022 01:48:13 +0200 Subject: [PATCH 2719/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.8 (#984) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.7` -> `3.21.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.8/compatibility-slim/3.21.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.8/confidence-slim/3.21.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.8`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.7...v3.21.8)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 197fd19b92ba..7732c30b529d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.0 1.42.2 1.50.1 - 3.21.7 + 3.21.8 0.31.1 1.3.2 31.1-jre From d78d04aa150691ff359394df9487b74aca965277 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Oct 2022 01:48:18 +0200 Subject: [PATCH 2720/3036] deps: update dependency com.google.api:gax-bom to v2.19.4 (#987) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.19.2` -> `2.19.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/compatibility-slim/2.19.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.4/confidence-slim/2.19.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.19.4`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2194-httpsgithubcomgoogleapisgax-javacomparev2193v2194-2022-10-19) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.19.2...v2.19.4) ##### Bug Fixes - Scope the throttling metric to exclude element size calculation ([#​1835](https://togithub.com/googleapis/gax-java/issues/1835)) ([0287f83](https://togithub.com/googleapis/gax-java/commit/0287f83f9cabbb9dff6cb7e8ea3068ccc1ab12d9))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7732c30b529d..30c21f24fc1f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.19.2 + 2.19.4 2.2.1 2.9.6 1.6.4 From f82889b9e4cf6cd1c8dc973bca50807aedd7f000 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Oct 2022 01:50:34 +0200 Subject: [PATCH 2721/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.12.1 (#983) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.12.0` -> `1.12.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.1/compatibility-slim/1.12.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.12.1/confidence-slim/1.12.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.12.1`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1121-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1120v1121-2022-10-18) ##### Bug Fixes - Resolve race condition reported in [#​692](https://togithub.com/googleapis/google-auth-library-java/issues/692) ([#​1031](https://togithub.com/googleapis/google-auth-library-java/issues/1031)) ([87a6606](https://togithub.com/googleapis/google-auth-library-java/commit/87a66067dff49d68f5b01cfe4c3f755fbf6b44fb))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 30c21f24fc1f..5732e4cd564f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.2.1 2.9.6 1.6.4 - 1.12.0 + 1.12.1 2.0.0 1.42.2 1.50.1 From c482e62cb88d30ab4fd537fc5590d1c1a8a3ea9b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 20:09:05 -0400 Subject: [PATCH 2722/3036] chore(main): release 2.8.22 (#982) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 15 +++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 27 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 0a13be5d9e72..879c1a6079f7 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [2.8.22](https://github.com/googleapis/java-core/compare/v2.8.21...v2.8.22) (2022-10-19) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.4 ([#987](https://github.com/googleapis/java-core/issues/987)) ([70a959b](https://github.com/googleapis/java-core/commit/70a959bd01884ec4e9ec4705a25442bf06e9bb73)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.4 ([#976](https://github.com/googleapis/java-core/issues/976)) ([ddf887f](https://github.com/googleapis/java-core/commit/ddf887fa35872299c1b65cd03934595a89c2ab4c)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.0 ([#981](https://github.com/googleapis/java-core/issues/981)) ([87c5616](https://github.com/googleapis/java-core/commit/87c5616ff8a5c4e96ff761b25cf1423505bdc4e2)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.1 ([#983](https://github.com/googleapis/java-core/issues/983)) ([ddf787a](https://github.com/googleapis/java-core/commit/ddf787a470a8f4b8416b09bf3bb656f249b1caf5)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#977](https://github.com/googleapis/java-core/issues/977)) ([6f9f78e](https://github.com/googleapis/java-core/commit/6f9f78ef38d586e1cded056451658b77c5a093b7)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#984](https://github.com/googleapis/java-core/issues/984)) ([234c9a7](https://github.com/googleapis/java-core/commit/234c9a7788c32692b1e7f9686a6b7329d758acb9)) +* Update dependency io.grpc:grpc-bom to v1.50.0 ([#978](https://github.com/googleapis/java-core/issues/978)) ([024fb77](https://github.com/googleapis/java-core/commit/024fb77b67b4a0f9d8dfcd8315376a0b4937a0da)) +* Update dependency io.grpc:grpc-bom to v1.50.1 ([#985](https://github.com/googleapis/java-core/issues/985)) ([8b71163](https://github.com/googleapis/java-core/commit/8b71163725178ffcbbaae21c6d1fc530be77b9b4)) +* Update dependency org.threeten:threetenbp to v1.6.3 ([#979](https://github.com/googleapis/java-core/issues/979)) ([f51ea92](https://github.com/googleapis/java-core/commit/f51ea92c8bd1ebe0c7a2796d435cceafd037ce06)) + ## [2.8.21](https://github.com/googleapis/java-core/compare/v2.8.20...v2.8.21) (2022-10-10) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 865ad53c9b25..95b30c953a18 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.22-SNAPSHOT + 2.8.22 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.22-SNAPSHOT + 2.8.22 com.google.cloud google-cloud-core-grpc - 2.8.22-SNAPSHOT + 2.8.22 com.google.cloud google-cloud-core-http - 2.8.22-SNAPSHOT + 2.8.22 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c21374895e4d..0bb177e815df 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.8.22-SNAPSHOT + 2.8.22 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.22-SNAPSHOT + 2.8.22 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 416f175a9ac1..0827db5f8c9e 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.8.22-SNAPSHOT + 2.8.22 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.22-SNAPSHOT + 2.8.22 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index aa8326a009f6..e14863df005c 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.8.22-SNAPSHOT + 2.8.22 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.22-SNAPSHOT + 2.8.22 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5732e4cd564f..2e96adc9bb4d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.22-SNAPSHOT + 2.8.22 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 6e23f5fb85ed..0e5c17779fc1 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.21:2.8.22-SNAPSHOT +google-cloud-core:2.8.22:2.8.22 From 6ce4539eb0283063785675526b40857baa9c0a6b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 20:15:40 -0400 Subject: [PATCH 2723/3036] chore: pin versions of certifi and google-resumable-media (#1660) (#874) chore: pin versions of certifi and google-resumable-media Source-Link: https://github.com/googleapis/synthtool/commit/09c4fcd0c6a0a880cf73662e118a8e8019da947c Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 Co-authored-by: Owl Bot --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/requirements.in | 2 ++ java-shared-dependencies/.kokoro/requirements.txt | 14 +++++++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 42327db5e2e3..7649651ccd4b 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 + digest: sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in index cfdc2e7ed955..6aa7cf2b55ee 100644 --- a/java-shared-dependencies/.kokoro/requirements.in +++ b/java-shared-dependencies/.kokoro/requirements.in @@ -16,10 +16,12 @@ pycparser==2.21 pyperclip==1.8.2 python-dateutil==2.8.2 requests==2.27.1 +certifi==2022.9.24 importlib-metadata==4.8.3 zipp==3.6.0 google_api_core==2.8.2 google-cloud-storage==2.0.0 +google-resumable-media==2.3.3 google-cloud-core==2.3.1 typing-extensions==4.1.1 urllib3==1.26.12 diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 170f1c63abb7..02ae42bb4039 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -16,10 +16,12 @@ cachetools==4.2.4 \ # via # -r requirements.in # google-auth -certifi==2022.9.14 \ - --hash=sha256:36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5 \ - --hash=sha256:e232343de1ab72c2aa521b625c80f699e356830fd0e2c620b465b304b17b0516 - # via requests +certifi==2022.9.24 \ + --hash=sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14 \ + --hash=sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382 + # via + # -r requirements.in + # requests cffi==1.15.1 \ --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ @@ -218,7 +220,9 @@ google-crc32c==1.3.0 \ google-resumable-media==2.3.3 \ --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via google-cloud-storage + # via + # -r requirements.in + # google-cloud-storage googleapis-common-protos==1.56.3 \ --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 From 44657dce7fae38c7d7ebba3131ba9ebd6508b4a7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 20 Oct 2022 00:16:13 +0000 Subject: [PATCH 2724/3036] chore(main): release 2.8.23-SNAPSHOT (#989) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 95b30c953a18..38e89371dc49 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.22 + 2.8.23-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.22 + 2.8.23-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.22 + 2.8.23-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.22 + 2.8.23-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0bb177e815df..df4d5eeaf1a1 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.8.22 + 2.8.23-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.22 + 2.8.23-SNAPSHOT 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 0827db5f8c9e..65abb0c66bdb 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.8.22 + 2.8.23-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.22 + 2.8.23-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e14863df005c..657bace03a2b 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.8.22 + 2.8.23-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.22 + 2.8.23-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 2e96adc9bb4d..d1213ae6e331 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.22 + 2.8.23-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0e5c17779fc1..3105b4a5fcbd 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.22:2.8.22 +google-cloud-core:2.8.22:2.8.23-SNAPSHOT From e4f9f9ad6373fb52c069985ca4390663ccdacb7d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 20 Oct 2022 15:37:52 +0200 Subject: [PATCH 2725/3036] deps: update google.core.version to v2.8.22 (#879) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d6dcc01febe4..deec2cab198e 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.8 2.2.1 2.9.6 - 2.8.21 + 2.8.22 1.12.1 1.42.2 1.34.1 From 023a13a22ca1bed7e3049bdd6d1b974281c888e5 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 20 Oct 2022 14:22:15 +0000 Subject: [PATCH 2726/3036] chore(main): release 3.0.5-SNAPSHOT (#851) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 8bc854e43139..2e06bc794821 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.0.4 + 3.0.5-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.4 + 3.0.5-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index deec2cab198e..1df9df1f6f24 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.0.4 + 3.0.5-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d2ce36c7079b..df08b9e231ad 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.0.4 + 3.0.5-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.4 + 3.0.5-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.0.4 + 3.0.5-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 583a1cce6113..ec053632a631 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.0.4 + 3.0.5-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 4c50cbd5007e..a125845a29ed 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.0.4 + 3.0.5-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.4 + 3.0.5-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index f0aa90b76484..2cecb17bc689 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.4:3.0.4 +google-cloud-shared-dependencies:3.0.4:3.0.5-SNAPSHOT From cb885827852a32b2e0e41120b16d1c06e0ea9e09 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 20 Oct 2022 14:32:37 +0000 Subject: [PATCH 2727/3036] chore(main): release 3.0.5 (#880) :robot: I have created a release *beep* *boop* --- ## [3.0.5](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.4...v3.0.5) (2022-10-20) ### Dependencies * Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4.20221013 ([#868](https://togithub.com/googleapis/java-shared-dependencies/issues/868)) ([5c2a825](https://togithub.com/googleapis/java-shared-dependencies/commit/5c2a825c18af61784287dd41eba3a21be80bbe6b)) * Update dependency com.google.auth:google-auth-library-bom to v1.12.0 ([#870](https://togithub.com/googleapis/java-shared-dependencies/issues/870)) ([3e3a60d](https://togithub.com/googleapis/java-shared-dependencies/commit/3e3a60dfd45f08401ee3ac7a98007fae21d5bba6)) * Update dependency com.google.auth:google-auth-library-bom to v1.12.1 ([#871](https://togithub.com/googleapis/java-shared-dependencies/issues/871)) ([4d94c75](https://togithub.com/googleapis/java-shared-dependencies/commit/4d94c753b46d7f8c787b0efa21d7bc42b1ca1c6c)) * Update dependency com.google.cloud:grpc-gcp to v1.3.0 ([#867](https://togithub.com/googleapis/java-shared-dependencies/issues/867)) ([48ca222](https://togithub.com/googleapis/java-shared-dependencies/commit/48ca222a5e4d9f88737d4c4a4ee2a42a7145619e)) * Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#865](https://togithub.com/googleapis/java-shared-dependencies/issues/865)) ([d7a494d](https://togithub.com/googleapis/java-shared-dependencies/commit/d7a494dcd12a529121b74fd9fb9dfc679017f844)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#872](https://togithub.com/googleapis/java-shared-dependencies/issues/872)) ([ebe5d5f](https://togithub.com/googleapis/java-shared-dependencies/commit/ebe5d5f27dbe4f12c06d3a69c14c74bbf4e76dd1)) * Update dependency gcp-releasetool to v1.8.10 ([#853](https://togithub.com/googleapis/java-shared-dependencies/issues/853)) ([5c6367a](https://togithub.com/googleapis/java-shared-dependencies/commit/5c6367a643f491d2ec04be58c1ff0eca5aa10904)) * Update dependency google-api-core to v2.10.2 ([#858](https://togithub.com/googleapis/java-shared-dependencies/issues/858)) ([bc91e8d](https://togithub.com/googleapis/java-shared-dependencies/commit/bc91e8df54f9d919a9e0dc69e61d52fd855a8dbf)) * Update dependency io.grpc:grpc-bom to v1.50.0 ([#866](https://togithub.com/googleapis/java-shared-dependencies/issues/866)) ([50039f4](https://togithub.com/googleapis/java-shared-dependencies/commit/50039f41bfba37e65685c4a5b279d3cb2a92f2c5)) * Update dependency io.grpc:grpc-bom to v1.50.1 ([#873](https://togithub.com/googleapis/java-shared-dependencies/issues/873)) ([9fb1561](https://togithub.com/googleapis/java-shared-dependencies/commit/9fb15613976f83c5545e2b664c488e9811c1f185)) * Update dependency org.checkerframework:checker-qual to v3.26.0 ([#852](https://togithub.com/googleapis/java-shared-dependencies/issues/852)) ([1e8cd60](https://togithub.com/googleapis/java-shared-dependencies/commit/1e8cd609b3be0cdd748a8fea6bc0fcb15d8f4c96)) * Update dependency org.threeten:threetenbp to v1.6.3 ([#869](https://togithub.com/googleapis/java-shared-dependencies/issues/869)) ([e992190](https://togithub.com/googleapis/java-shared-dependencies/commit/e9921900ec590e281b5ae6e16ab51e7bd67c1242)) * Update dependency typing-extensions to v4.4.0 ([#854](https://togithub.com/googleapis/java-shared-dependencies/issues/854)) ([c909a13](https://togithub.com/googleapis/java-shared-dependencies/commit/c909a13fa626eb387c8ee87b7cc22607cb9cf889)) * Update dependency zipp to v3.9.0 ([#859](https://togithub.com/googleapis/java-shared-dependencies/issues/859)) ([971b84e](https://togithub.com/googleapis/java-shared-dependencies/commit/971b84eb801699b585cd35300bed8d4fb65046d8)) * Update gax.version to v2.19.4 ([#875](https://togithub.com/googleapis/java-shared-dependencies/issues/875)) ([2eb7f3d](https://togithub.com/googleapis/java-shared-dependencies/commit/2eb7f3d6cf834c474dcdc99740f8cdabf50bca51)) * Update google.core.version to v2.8.21 ([#861](https://togithub.com/googleapis/java-shared-dependencies/issues/861)) ([2fda421](https://togithub.com/googleapis/java-shared-dependencies/commit/2fda4213796df086450fdc3d69d53a0bd1d59f46)) * Update google.core.version to v2.8.22 ([#879](https://togithub.com/googleapis/java-shared-dependencies/issues/879)) ([e4f9f9a](https://togithub.com/googleapis/java-shared-dependencies/commit/e4f9f9ad6373fb52c069985ca4390663ccdacb7d)) * Update iam.version to v1.6.3 ([#857](https://togithub.com/googleapis/java-shared-dependencies/issues/857)) ([6758373](https://togithub.com/googleapis/java-shared-dependencies/commit/675837378642f39fe55c0e30b62755b9185bee3d)) * Update iam.version to v1.6.4 ([#862](https://togithub.com/googleapis/java-shared-dependencies/issues/862)) ([1e1bc34](https://togithub.com/googleapis/java-shared-dependencies/commit/1e1bc341c9dd0f8f5a2d14aa8dd52399b2ce71c1)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 25 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 +-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 35 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 467ffbdd7784..1ea243980e92 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,31 @@ # Changelog +## [3.0.5](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.4...v3.0.5) (2022-10-20) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4.20221013 ([#868](https://github.com/googleapis/java-shared-dependencies/issues/868)) ([ffa7272](https://github.com/googleapis/java-shared-dependencies/commit/ffa7272e6d4775905e64173b3617555ee355019d)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.0 ([#870](https://github.com/googleapis/java-shared-dependencies/issues/870)) ([6e76f19](https://github.com/googleapis/java-shared-dependencies/commit/6e76f19133515b755b78185ce0135943e878a368)) +* Update dependency com.google.auth:google-auth-library-bom to v1.12.1 ([#871](https://github.com/googleapis/java-shared-dependencies/issues/871)) ([f7f5dc2](https://github.com/googleapis/java-shared-dependencies/commit/f7f5dc26dd54f33954bdf5d43314020de58e055b)) +* Update dependency com.google.cloud:grpc-gcp to v1.3.0 ([#867](https://github.com/googleapis/java-shared-dependencies/issues/867)) ([1927a92](https://github.com/googleapis/java-shared-dependencies/commit/1927a926c615eabbf0e7377c65232e0e5268220e)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#865](https://github.com/googleapis/java-shared-dependencies/issues/865)) ([b1734ec](https://github.com/googleapis/java-shared-dependencies/commit/b1734ec1c20e7bdf2582b31fde4648aa9f8de2fe)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#872](https://github.com/googleapis/java-shared-dependencies/issues/872)) ([1c303f2](https://github.com/googleapis/java-shared-dependencies/commit/1c303f2aa5145da4c93605a2d1088e8a3884de81)) +* Update dependency gcp-releasetool to v1.8.10 ([#853](https://github.com/googleapis/java-shared-dependencies/issues/853)) ([c815a59](https://github.com/googleapis/java-shared-dependencies/commit/c815a5996d28676de015d5dd41e2b0405f4bb9dc)) +* Update dependency google-api-core to v2.10.2 ([#858](https://github.com/googleapis/java-shared-dependencies/issues/858)) ([387a156](https://github.com/googleapis/java-shared-dependencies/commit/387a15662db0b20e72fe5bf961c02eb2bc4e75d9)) +* Update dependency io.grpc:grpc-bom to v1.50.0 ([#866](https://github.com/googleapis/java-shared-dependencies/issues/866)) ([3d3d443](https://github.com/googleapis/java-shared-dependencies/commit/3d3d4434636e605f47082641e8e495bbce8f9515)) +* Update dependency io.grpc:grpc-bom to v1.50.1 ([#873](https://github.com/googleapis/java-shared-dependencies/issues/873)) ([956309d](https://github.com/googleapis/java-shared-dependencies/commit/956309d76c9de46885711a77afbfce0d28971096)) +* Update dependency org.checkerframework:checker-qual to v3.26.0 ([#852](https://github.com/googleapis/java-shared-dependencies/issues/852)) ([6926b33](https://github.com/googleapis/java-shared-dependencies/commit/6926b33b83d1aa63e0c78b7b8c72cd1d80e28ef3)) +* Update dependency org.threeten:threetenbp to v1.6.3 ([#869](https://github.com/googleapis/java-shared-dependencies/issues/869)) ([fa4999b](https://github.com/googleapis/java-shared-dependencies/commit/fa4999b6310940e62456e83dad3ec76a7406a218)) +* Update dependency typing-extensions to v4.4.0 ([#854](https://github.com/googleapis/java-shared-dependencies/issues/854)) ([43bd31b](https://github.com/googleapis/java-shared-dependencies/commit/43bd31b66eef50d82ecf8a692053f10eb385d5c1)) +* Update dependency zipp to v3.9.0 ([#859](https://github.com/googleapis/java-shared-dependencies/issues/859)) ([a070ad0](https://github.com/googleapis/java-shared-dependencies/commit/a070ad04ef1bab5690487ba13dd4060827851edf)) +* Update gax.version to v2.19.4 ([#875](https://github.com/googleapis/java-shared-dependencies/issues/875)) ([227bdd8](https://github.com/googleapis/java-shared-dependencies/commit/227bdd86f368b89309814c615828544c29871a5d)) +* Update google.core.version to v2.8.21 ([#861](https://github.com/googleapis/java-shared-dependencies/issues/861)) ([8b502bd](https://github.com/googleapis/java-shared-dependencies/commit/8b502bd43760a2e52cf107567011d9c5132e74bd)) +* Update google.core.version to v2.8.22 ([#879](https://github.com/googleapis/java-shared-dependencies/issues/879)) ([0360e93](https://github.com/googleapis/java-shared-dependencies/commit/0360e931dc45034d3c3c554f2c29ad7ea4a0a9bb)) +* Update iam.version to v1.6.3 ([#857](https://github.com/googleapis/java-shared-dependencies/issues/857)) ([b39e683](https://github.com/googleapis/java-shared-dependencies/commit/b39e6838c3f3f6ef2b350efe8aec1b622893421a)) +* Update iam.version to v1.6.4 ([#862](https://github.com/googleapis/java-shared-dependencies/issues/862)) ([85c9794](https://github.com/googleapis/java-shared-dependencies/commit/85c979401c34454b2d5681eed9d8b3b3679413be)) + ## [3.0.4](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.3...v3.0.4) (2022-10-03) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 2e06bc794821..ca981bcb24a8 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.0.5-SNAPSHOT + 3.0.5 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.5-SNAPSHOT + 3.0.5 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1df9df1f6f24..8421640ce802 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.0.5-SNAPSHOT + 3.0.5 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index df08b9e231ad..247b4008b05e 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.0.5-SNAPSHOT + 3.0.5 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.5-SNAPSHOT + 3.0.5 pom import com.google.cloud third-party-dependencies - 3.0.5-SNAPSHOT + 3.0.5 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ec053632a631..1a87e94eff4e 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.0.5-SNAPSHOT + 3.0.5 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index a125845a29ed..67af97d62c16 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.0.5-SNAPSHOT + 3.0.5 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.5-SNAPSHOT + 3.0.5 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 2cecb17bc689..39077dba6529 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.4:3.0.5-SNAPSHOT +google-cloud-shared-dependencies:3.0.5:3.0.5 From ff7b79978ebc0d41642f45a6b7868833edf198b7 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sat, 22 Oct 2022 01:12:13 +0000 Subject: [PATCH 2728/3036] chore(main): release 3.0.6-SNAPSHOT (#881) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index ca981bcb24a8..c42b36705fe1 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.0.5 + 3.0.6-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.5 + 3.0.6-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 8421640ce802..a7a932dd77b2 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.0.5 + 3.0.6-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 247b4008b05e..8276664de343 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.0.5 + 3.0.6-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.5 + 3.0.6-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.0.5 + 3.0.6-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 1a87e94eff4e..24166025c6d2 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.0.5 + 3.0.6-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 67af97d62c16..477c626f0c93 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.0.5 + 3.0.6-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.5 + 3.0.6-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 39077dba6529..fe90812a548f 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.5:3.0.5 +google-cloud-shared-dependencies:3.0.5:3.0.6-SNAPSHOT From 424f559193d1130fc04db0f4bc49337c4f9f8d00 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:10:18 +0200 Subject: [PATCH 2729/3036] deps: update dependency io.grpc:grpc-stub to v1.50.2 (#477) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.49.2` -> `1.50.2` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.50.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.50.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.50.2/compatibility-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.50.2/confidence-slim/1.49.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.50.2`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.2) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.50.1...v1.50.2) ##### Bug fixes gcp-observability: Supports period(.) in the service name part of regular expression for a fully-qualified method to accept "package.service" ### [`v1.50.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.50.0...v1.50.1) gcp-observability: support new configuration defined in grpc-gcp-observability public preview user guide ### [`v1.50.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.49.2...v1.50.0) #### New Features - okhttp: Added connection management features to okhttp server, including maxConnectionIdle(), permitKeepAliveTime(), and permitKeepAliveWithoutCalls() ([#​9494](https://togithub.com/grpc/grpc-java/issues/9494), [#​9544](https://togithub.com/grpc/grpc-java/issues/9544)) - binder: Add `SecurityPolicies` for checking device owner/profile owner ([#​9428](https://togithub.com/grpc/grpc-java/issues/9428)) #### API Changes - api: Add LoadBalancer.acceptResolvedAddresses() ([#​9498](https://togithub.com/grpc/grpc-java/issues/9498)). The method is like `handleResolvedAddresses()` but returns a `boolean` of whether the addresses and configuration were accepted. Not accepting the update triggers the NameResolver to retry after a delay. We are not yet encouraging migration to this method, as there is still a second future API change - core: add CallOptions to CallCredentials.RequestInfo ([#​9538](https://togithub.com/grpc/grpc-java/issues/9538)) #### Bug Fixes - auth: Fix AppEngine failing while retrieving access token when instantiating a blocking stub using AppEngineCredentials ([#​9504](https://togithub.com/grpc/grpc-java/issues/9504)) - core: Ensure that context cancellationCause is set ([#​9501](https://togithub.com/grpc/grpc-java/issues/9501)) - core: Update outlier detection max ejection logic to allow exceeding the limit by one, to match Envoy. ([#​9489](https://togithub.com/grpc/grpc-java/issues/9489), [#​9492](https://togithub.com/grpc/grpc-java/issues/9492)) - core: outlier detection to honor min host request volume ([#​9490](https://togithub.com/grpc/grpc-java/issues/9490)) - okhttp: Add timeout for HTTP CONNECT proxy handshake ([#​9586](https://togithub.com/grpc/grpc-java/issues/9586)) - xds: ringhash policy in TRANSIENT_FAILURE should not attempt connecting when already in connecting ([#​9535](https://togithub.com/grpc/grpc-java/issues/9535)). With workloads where most requests have the same hash, ring hash should behave more like pick-first of slowly trying backends #### Dependencies - netty: upgrade netty from 4.1.77.Final to 4.1.79.Final and tcnative from 2.0.53 to 2.0.54 ([#​9451](https://togithub.com/grpc/grpc-java/issues/9451)) #### Acknowledgements [@​cpovirk](https://togithub.com/cpovirk) [@​prateek-0](https://togithub.com/prateek-0) [@​sai-sunder-s](https://togithub.com/sai-sunder-s)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 35ff92268375..ba3d376f94f4 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.49.2' + compile 'io.grpc:grpc-stub:1.50.2' compile 'io.grpc:grpc-protobuf:1.50.0' compile project(':proto-google-iam-v1') } From 223b9ee9beff84567469d642c61181f7b5e8f66c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:10:32 +0000 Subject: [PATCH 2730/3036] chore: [java] remove flatten plugin dependency check (#1663) (#991) chore: remove check for flatten plugin We have had the check for the flatten-maven-plugin in each Cloud Java client repository. However, the behavior of the plugin has been stable and its not each repository's responsibility to assert the plugin's behavior. A new check is going to be added at the googleapis/java-shared-config repository to assert the plugin's behavior when we upgrade its version. Source-Link: https://togithub.com/googleapis/synthtool/commit/9266ddc3b17fc15f34d2fb88ce8c5f1a4bfe64b0 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:ae72564aa9c368b9ccd96f4af21f87889fd83b9e60635b80844deb5a2ccd08aa --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/dependencies.sh | 51 ----------------------------- 2 files changed, 1 insertion(+), 52 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 7649651ccd4b..459487d38827 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 + digest: sha256:ae72564aa9c368b9ccd96f4af21f87889fd83b9e60635b80844deb5a2ccd08aa diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh index d7476cfe9727..bd8960246f66 100755 --- a/java-core/.kokoro/dependencies.sh +++ b/java-core/.kokoro/dependencies.sh @@ -57,54 +57,3 @@ retry_with_backoff 3 10 \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true - -echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" -## Run dependency list completeness check -function completenessCheck() { - # Output dep list with compile scope generated using the original pom - # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. - # This is stripped from the output as it is not present in the flattened pom. - # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. - msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt - - # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) - msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt - - # Compare two dependency lists - msg "Comparing dependency lists..." - diff .org-list.txt .new-list.txt >.diff.txt - if [[ $? == 0 ]] - then - msg "Success. No diff!" - else - msg "Diff found. See below: " - msg "You can also check .diff.txt file located in $1." - cat .diff.txt - return 1 - fi -} - -# Allow failures to continue running the script -set +e - -error_count=0 -for path in **/.flattened-pom.xml -do - # Check flattened pom in each dir that contains it for completeness - dir=$(dirname "$path") - pushd "$dir" - completenessCheck "$dir" - error_count=$(($error_count + $?)) - popd -done - -if [[ $error_count == 0 ]] -then - msg "All checks passed." - exit 0 -else - msg "Errors found. See log statements above." - exit 1 -fi From 500af5629a7d428f11ea3ef85fa26e6a9a41df34 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:10:38 +0000 Subject: [PATCH 2731/3036] chore: [java] remove flatten plugin dependency check (#1663) (#883) chore: remove check for flatten plugin We have had the check for the flatten-maven-plugin in each Cloud Java client repository. However, the behavior of the plugin has been stable and its not each repository's responsibility to assert the plugin's behavior. A new check is going to be added at the googleapis/java-shared-config repository to assert the plugin's behavior when we upgrade its version. Source-Link: https://togithub.com/googleapis/synthtool/commit/9266ddc3b17fc15f34d2fb88ce8c5f1a4bfe64b0 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:ae72564aa9c368b9ccd96f4af21f87889fd83b9e60635b80844deb5a2ccd08aa --- .../.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/dependencies.sh | 51 ------------------- 2 files changed, 1 insertion(+), 52 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 7649651ccd4b..459487d38827 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 + digest: sha256:ae72564aa9c368b9ccd96f4af21f87889fd83b9e60635b80844deb5a2ccd08aa diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh index d7476cfe9727..bd8960246f66 100755 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ b/java-shared-dependencies/.kokoro/dependencies.sh @@ -57,54 +57,3 @@ retry_with_backoff 3 10 \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true - -echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" -## Run dependency list completeness check -function completenessCheck() { - # Output dep list with compile scope generated using the original pom - # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. - # This is stripped from the output as it is not present in the flattened pom. - # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. - msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt - - # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) - msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt - - # Compare two dependency lists - msg "Comparing dependency lists..." - diff .org-list.txt .new-list.txt >.diff.txt - if [[ $? == 0 ]] - then - msg "Success. No diff!" - else - msg "Diff found. See below: " - msg "You can also check .diff.txt file located in $1." - cat .diff.txt - return 1 - fi -} - -# Allow failures to continue running the script -set +e - -error_count=0 -for path in **/.flattened-pom.xml -do - # Check flattened pom in each dir that contains it for completeness - dir=$(dirname "$path") - pushd "$dir" - completenessCheck "$dir" - error_count=$(($error_count + $?)) - popd -done - -if [[ $error_count == 0 ]] -then - msg "All checks passed." - exit 0 -else - msg "Errors found. See log statements above." - exit 1 -fi From 91929a8d06dbdb2ece68b967cf2912757928196a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:14:23 +0000 Subject: [PATCH 2732/3036] chore: pin versions of certifi and google-resumable-media (#1660) (#484) chore: pin versions of certifi and google-resumable-media Source-Link: https://togithub.com/googleapis/synthtool/commit/09c4fcd0c6a0a880cf73662e118a8e8019da947c Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/requirements.in | 2 ++ java-iam/.kokoro/requirements.txt | 14 +++++++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 42327db5e2e3..7649651ccd4b 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:f14e3fefe8e361e85752bd9890c8e56f2fe25f1e89cbb9597e4e3c7a429203a3 + digest: sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 diff --git a/java-iam/.kokoro/requirements.in b/java-iam/.kokoro/requirements.in index cfdc2e7ed955..6aa7cf2b55ee 100644 --- a/java-iam/.kokoro/requirements.in +++ b/java-iam/.kokoro/requirements.in @@ -16,10 +16,12 @@ pycparser==2.21 pyperclip==1.8.2 python-dateutil==2.8.2 requests==2.27.1 +certifi==2022.9.24 importlib-metadata==4.8.3 zipp==3.6.0 google_api_core==2.8.2 google-cloud-storage==2.0.0 +google-resumable-media==2.3.3 google-cloud-core==2.3.1 typing-extensions==4.1.1 urllib3==1.26.12 diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt index 170f1c63abb7..02ae42bb4039 100644 --- a/java-iam/.kokoro/requirements.txt +++ b/java-iam/.kokoro/requirements.txt @@ -16,10 +16,12 @@ cachetools==4.2.4 \ # via # -r requirements.in # google-auth -certifi==2022.9.14 \ - --hash=sha256:36973885b9542e6bd01dea287b2b4b3b21236307c56324fcc3f1160f2d655ed5 \ - --hash=sha256:e232343de1ab72c2aa521b625c80f699e356830fd0e2c620b465b304b17b0516 - # via requests +certifi==2022.9.24 \ + --hash=sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14 \ + --hash=sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382 + # via + # -r requirements.in + # requests cffi==1.15.1 \ --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ @@ -218,7 +220,9 @@ google-crc32c==1.3.0 \ google-resumable-media==2.3.3 \ --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via google-cloud-storage + # via + # -r requirements.in + # google-cloud-storage googleapis-common-protos==1.56.3 \ --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 From 21c1bc90a755eb98c68aea5424fb9d10935f6204 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:16:29 +0200 Subject: [PATCH 2733/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.4 (#485) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.3` -> `1.5.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.4/compatibility-slim/1.5.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.4/confidence-slim/1.5.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.4`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​154-httpsgithubcomgoogleapisjava-shared-configcomparev153v154-2022-10-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.3...v1.5.4) ##### Dependencies - Update auto-value-annotation.version to v1.10 ([#​521](https://togithub.com/googleapis/java-shared-config/issues/521)) ([601235c](https://togithub.com/googleapis/java-shared-config/commit/601235c32b6f1233d81a27788f6691cda05787af)) - Update dependency com.puppycrawl.tools:checkstyle to v10.3.2 ([#​501](https://togithub.com/googleapis/java-shared-config/issues/501)) ([2b2c611](https://togithub.com/googleapis/java-shared-config/commit/2b2c611815cafd1809e27c769577ae55d481a170)) - Update dependency com.puppycrawl.tools:checkstyle to v10.3.3 ([#​510](https://togithub.com/googleapis/java-shared-config/issues/510)) ([8d7f75d](https://togithub.com/googleapis/java-shared-config/commit/8d7f75de442cb3a274004faae430e9edf60730f3)) - Update dependency com.puppycrawl.tools:checkstyle to v10.3.4 ([#​517](https://togithub.com/googleapis/java-shared-config/issues/517)) ([1119ba2](https://togithub.com/googleapis/java-shared-config/commit/1119ba29e4fe3a74a58c18961c3431570186cc27)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.14 ([#​515](https://togithub.com/googleapis/java-shared-config/issues/515)) ([779a239](https://togithub.com/googleapis/java-shared-config/commit/779a2398f1310a2f23555dc5c861a5203364d7a1)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.15 ([#​522](https://togithub.com/googleapis/java-shared-config/issues/522)) ([5dd225d](https://togithub.com/googleapis/java-shared-config/commit/5dd225dc5a66562c8496366986ef9dc401d9be92)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.14 ([#​516](https://togithub.com/googleapis/java-shared-config/issues/516)) ([5605094](https://togithub.com/googleapis/java-shared-config/commit/56050943045d5e3d94c8598791c695d3fefcfef0)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.15 ([#​523](https://togithub.com/googleapis/java-shared-config/issues/523)) ([45752ad](https://togithub.com/googleapis/java-shared-config/commit/45752ad7083f07d2ce81a23ea930aa9737473940)) - Update dependency org.junit.vintage:junit-vintage-engine to v5.9.1 ([#​514](https://togithub.com/googleapis/java-shared-config/issues/514)) ([60c000c](https://togithub.com/googleapis/java-shared-config/commit/60c000c3736288b98382aae79eb21a5cb15258fb))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c2a429bafd69..3dd9d7f4babc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.3 + 1.5.4 From 6d9adaea40595dac65e867a654fc0cea502af41c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:18:31 +0200 Subject: [PATCH 2734/3036] deps: update dependency io.grpc:grpc-protobuf to v1.50.2 (#483) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.50.0` -> `1.50.2` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.2/compatibility-slim/1.50.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.50.2/confidence-slim/1.50.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.50.2`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.2) ##### Bug fixes gcp-observability: Supports period(.) in the service name part of regular expression for a fully-qualified method to accept "package.service" ### [`v1.50.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.1) gcp-observability: support new configuration defined in grpc-gcp-observability public preview user guide
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index ba3d376f94f4..2e9be1fe39aa 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.50.2' - compile 'io.grpc:grpc-protobuf:1.50.0' + compile 'io.grpc:grpc-protobuf:1.50.2' compile project(':proto-google-iam-v1') } From fd38f001b7b695e08b1882581abc7f08b0ebd4b6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:24:19 +0200 Subject: [PATCH 2735/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.8 (#482) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.7` -> `3.21.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.8/compatibility-slim/3.21.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.8/confidence-slim/3.21.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.8`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.7...v3.21.8)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 425297af04cd..3cf1d0682ad9 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.7' + compile 'com.google.protobuf:protobuf-java:3.21.8' compile 'com.google.api:api-common:2.2.1' compile project(':proto-google-common-protos') } From 275a212b73f6e9ea15d291f46296b7861c7a4efb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:24:23 +0200 Subject: [PATCH 2736/3036] deps: update dependency io.grpc:grpc-bom to v1.50.2 (#990) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.50.1` -> `1.50.2` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.2/compatibility-slim/1.50.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.50.2/confidence-slim/1.50.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.50.2`](https://togithub.com/grpc/grpc-java/releases/tag/v1.50.2) ##### Bug fixes gcp-observability: Supports period(.) in the service name part of regular expression for a fully-qualified method to accept "package.service"
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index d1213ae6e331..8ad5501d0359 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.12.1 2.0.0 1.42.2 - 1.50.1 + 1.50.2 3.21.8 0.31.1 1.3.2 From 66a668fd96ffe241660cb6cd2114290f4ff09697 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:26:16 +0200 Subject: [PATCH 2737/3036] deps: update dependency org.easymock:easymock to v5 (#980) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.easymock:easymock](http://easymock.org) ([source](https://togithub.com/easymock/easymock)) | `4.3` -> `5.0.1` | [![age](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/compatibility-slim/4.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/confidence-slim/4.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 8ad5501d0359..b7fd2d9f4852 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -165,7 +165,7 @@ 31.1-jre 4.13.2 1.1.3 - 4.3 + 5.0.1 3.0.2 1.6.3 3.3 From 99688b038b014338a52119ba3f3217e9eed2228a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:27:30 +0200 Subject: [PATCH 2738/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.12.1 (#478) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 8f098c2b3d73..2d16a5ee0259 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.11.0 + 1.12.1 com.google.http-client From d9bab83b9ec53c88aea55f7cebd7017e6cd8ca77 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:27:40 +0200 Subject: [PATCH 2739/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.8 (#481) --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3dd9d7f4babc..3386af530cb9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.protobuf protobuf-bom - 3.21.7 + 3.21.8 pom import From 5d7af0aee4dc7d902489036b146f67ce2a2bdf42 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:32:19 +0000 Subject: [PATCH 2740/3036] chore(main): release 2.8.23 (#992) :robot: I have created a release *beep* *boop* --- ## [2.8.23](https://togithub.com/googleapis/java-core/compare/v2.8.22...v2.8.23) (2022-10-24) ### Dependencies * Update dependency io.grpc:grpc-bom to v1.50.2 ([#990](https://togithub.com/googleapis/java-core/issues/990)) ([275a212](https://togithub.com/googleapis/java-core/commit/275a212b73f6e9ea15d291f46296b7861c7a4efb)) * Update dependency org.easymock:easymock to v5 ([#980](https://togithub.com/googleapis/java-core/issues/980)) ([66a668f](https://togithub.com/googleapis/java-core/commit/66a668fd96ffe241660cb6cd2114290f4ff09697)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 879c1a6079f7..97b62e5ad79d 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.23](https://github.com/googleapis/java-core/compare/v2.8.22...v2.8.23) (2022-10-24) + + +### Dependencies + +* Update dependency io.grpc:grpc-bom to v1.50.2 ([#990](https://github.com/googleapis/java-core/issues/990)) ([42b1081](https://github.com/googleapis/java-core/commit/42b108100173041925cc705f596f388bab26d954)) +* Update dependency org.easymock:easymock to v5 ([#980](https://github.com/googleapis/java-core/issues/980)) ([64be350](https://github.com/googleapis/java-core/commit/64be350d3713af1a95ca51997194a15c7292f7ae)) + ## [2.8.22](https://github.com/googleapis/java-core/compare/v2.8.21...v2.8.22) (2022-10-19) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 38e89371dc49..829a5297e881 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.23-SNAPSHOT + 2.8.23 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.23-SNAPSHOT + 2.8.23 com.google.cloud google-cloud-core-grpc - 2.8.23-SNAPSHOT + 2.8.23 com.google.cloud google-cloud-core-http - 2.8.23-SNAPSHOT + 2.8.23 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index df4d5eeaf1a1..ccbf08d1c49c 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.8.23-SNAPSHOT + 2.8.23 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.23-SNAPSHOT + 2.8.23 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 65abb0c66bdb..6483b4a6d959 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.8.23-SNAPSHOT + 2.8.23 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.23-SNAPSHOT + 2.8.23 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 657bace03a2b..6cba3559df8f 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.8.23-SNAPSHOT + 2.8.23 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.23-SNAPSHOT + 2.8.23 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b7fd2d9f4852..b7b8ec15db83 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.23-SNAPSHOT + 2.8.23 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 3105b4a5fcbd..96401b9ac3ef 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.22:2.8.23-SNAPSHOT +google-cloud-core:2.8.23:2.8.23 From 0834a80fa202b4185177a1339ed103e0829dd759 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 24 Oct 2022 23:36:27 +0200 Subject: [PATCH 2741/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 (#486) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.4` -> `3.0.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.5/compatibility-slim/3.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.5/confidence-slim/3.0.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.0.5`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​305-httpsgithubcomgoogleapisjava-shared-dependenciescomparev304v305-2022-10-20) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.4...v3.0.5) ##### Dependencies - Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4.20221013 ([#​868](https://togithub.com/googleapis/java-shared-dependencies/issues/868)) ([ffa7272](https://togithub.com/googleapis/java-shared-dependencies/commit/ffa7272e6d4775905e64173b3617555ee355019d)) - Update dependency com.google.auth:google-auth-library-bom to v1.12.0 ([#​870](https://togithub.com/googleapis/java-shared-dependencies/issues/870)) ([6e76f19](https://togithub.com/googleapis/java-shared-dependencies/commit/6e76f19133515b755b78185ce0135943e878a368)) - Update dependency com.google.auth:google-auth-library-bom to v1.12.1 ([#​871](https://togithub.com/googleapis/java-shared-dependencies/issues/871)) ([f7f5dc2](https://togithub.com/googleapis/java-shared-dependencies/commit/f7f5dc26dd54f33954bdf5d43314020de58e055b)) - Update dependency com.google.cloud:grpc-gcp to v1.3.0 ([#​867](https://togithub.com/googleapis/java-shared-dependencies/issues/867)) ([1927a92](https://togithub.com/googleapis/java-shared-dependencies/commit/1927a926c615eabbf0e7377c65232e0e5268220e)) - Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#​865](https://togithub.com/googleapis/java-shared-dependencies/issues/865)) ([b1734ec](https://togithub.com/googleapis/java-shared-dependencies/commit/b1734ec1c20e7bdf2582b31fde4648aa9f8de2fe)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#​872](https://togithub.com/googleapis/java-shared-dependencies/issues/872)) ([1c303f2](https://togithub.com/googleapis/java-shared-dependencies/commit/1c303f2aa5145da4c93605a2d1088e8a3884de81)) - Update dependency gcp-releasetool to v1.8.10 ([#​853](https://togithub.com/googleapis/java-shared-dependencies/issues/853)) ([c815a59](https://togithub.com/googleapis/java-shared-dependencies/commit/c815a5996d28676de015d5dd41e2b0405f4bb9dc)) - Update dependency google-api-core to v2.10.2 ([#​858](https://togithub.com/googleapis/java-shared-dependencies/issues/858)) ([387a156](https://togithub.com/googleapis/java-shared-dependencies/commit/387a15662db0b20e72fe5bf961c02eb2bc4e75d9)) - Update dependency io.grpc:grpc-bom to v1.50.0 ([#​866](https://togithub.com/googleapis/java-shared-dependencies/issues/866)) ([3d3d443](https://togithub.com/googleapis/java-shared-dependencies/commit/3d3d4434636e605f47082641e8e495bbce8f9515)) - Update dependency io.grpc:grpc-bom to v1.50.1 ([#​873](https://togithub.com/googleapis/java-shared-dependencies/issues/873)) ([956309d](https://togithub.com/googleapis/java-shared-dependencies/commit/956309d76c9de46885711a77afbfce0d28971096)) - Update dependency org.checkerframework:checker-qual to v3.26.0 ([#​852](https://togithub.com/googleapis/java-shared-dependencies/issues/852)) ([6926b33](https://togithub.com/googleapis/java-shared-dependencies/commit/6926b33b83d1aa63e0c78b7b8c72cd1d80e28ef3)) - Update dependency org.threeten:threetenbp to v1.6.3 ([#​869](https://togithub.com/googleapis/java-shared-dependencies/issues/869)) ([fa4999b](https://togithub.com/googleapis/java-shared-dependencies/commit/fa4999b6310940e62456e83dad3ec76a7406a218)) - Update dependency typing-extensions to v4.4.0 ([#​854](https://togithub.com/googleapis/java-shared-dependencies/issues/854)) ([43bd31b](https://togithub.com/googleapis/java-shared-dependencies/commit/43bd31b66eef50d82ecf8a692053f10eb385d5c1)) - Update dependency zipp to v3.9.0 ([#​859](https://togithub.com/googleapis/java-shared-dependencies/issues/859)) ([a070ad0](https://togithub.com/googleapis/java-shared-dependencies/commit/a070ad04ef1bab5690487ba13dd4060827851edf)) - Update gax.version to v2.19.4 ([#​875](https://togithub.com/googleapis/java-shared-dependencies/issues/875)) ([227bdd8](https://togithub.com/googleapis/java-shared-dependencies/commit/227bdd86f368b89309814c615828544c29871a5d)) - Update google.core.version to v2.8.21 ([#​861](https://togithub.com/googleapis/java-shared-dependencies/issues/861)) ([8b502bd](https://togithub.com/googleapis/java-shared-dependencies/commit/8b502bd43760a2e52cf107567011d9c5132e74bd)) - Update google.core.version to v2.8.22 ([#​879](https://togithub.com/googleapis/java-shared-dependencies/issues/879)) ([0360e93](https://togithub.com/googleapis/java-shared-dependencies/commit/0360e931dc45034d3c3c554f2c29ad7ea4a0a9bb)) - Update iam.version to v1.6.3 ([#​857](https://togithub.com/googleapis/java-shared-dependencies/issues/857)) ([b39e683](https://togithub.com/googleapis/java-shared-dependencies/commit/b39e6838c3f3f6ef2b350efe8aec1b622893421a)) - Update iam.version to v1.6.4 ([#​862](https://togithub.com/googleapis/java-shared-dependencies/issues/862)) ([85c9794](https://togithub.com/googleapis/java-shared-dependencies/commit/85c979401c34454b2d5681eed9d8b3b3679413be))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 3386af530cb9..d13d5a4a3364 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -80,7 +80,7 @@ dependencies --> com.google.cloud google-cloud-shared-dependencies - 3.0.4 + 3.0.5 pom import
    From ee836fc71247ec739e46d8b17b2b5bc4876c4fe0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:38:46 +0000 Subject: [PATCH 2742/3036] chore(main): release 2.8.24-SNAPSHOT (#993) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 829a5297e881..260a03b5a90d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.23 + 2.8.24-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.23 + 2.8.24-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.23 + 2.8.24-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.23 + 2.8.24-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ccbf08d1c49c..8841ab01294e 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.8.23 + 2.8.24-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.23 + 2.8.24-SNAPSHOT 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 6483b4a6d959..f10f2473fc8a 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.8.23 + 2.8.24-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.23 + 2.8.24-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6cba3559df8f..daebf03b9f96 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.8.23 + 2.8.24-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.23 + 2.8.24-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b7b8ec15db83..6258a966fb4c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.23 + 2.8.24-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 96401b9ac3ef..ab2c05ef89ca 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.23:2.8.23 +google-cloud-core:2.8.23:2.8.24-SNAPSHOT From 465b096019488be73ab38190dc620ef3258940f4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:46:22 +0000 Subject: [PATCH 2743/3036] chore(main): release 1.6.5 (#480) :robot: I have created a release *beep* *boop* --- ## [1.6.5](https://togithub.com/googleapis/java-iam/compare/v1.6.4...v1.6.5) (2022-10-24) ### Dependencies * Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 ([#479](https://togithub.com/googleapis/java-iam/issues/479)) ([9f166f5](https://togithub.com/googleapis/java-iam/commit/9f166f52b9b35d5a1f7f6d108df4ad5a83d443b4)) * Update dependency com.google.auth:google-auth-library-oauth2-http to v1.12.1 ([#478](https://togithub.com/googleapis/java-iam/issues/478)) ([99688b0](https://togithub.com/googleapis/java-iam/commit/99688b038b014338a52119ba3f3217e9eed2228a)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#486](https://togithub.com/googleapis/java-iam/issues/486)) ([0834a80](https://togithub.com/googleapis/java-iam/commit/0834a80fa202b4185177a1339ed103e0829dd759)) * Update dependency com.google.cloud:google-iam-policy to v1.6.4 ([#475](https://togithub.com/googleapis/java-iam/issues/475)) ([2edd1e0](https://togithub.com/googleapis/java-iam/commit/2edd1e077feb172830b2475efef0632f01154e9e)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#481](https://togithub.com/googleapis/java-iam/issues/481)) ([d9bab83](https://togithub.com/googleapis/java-iam/commit/d9bab83b9ec53c88aea55f7cebd7017e6cd8ca77)) * Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#482](https://togithub.com/googleapis/java-iam/issues/482)) ([fd38f00](https://togithub.com/googleapis/java-iam/commit/fd38f001b7b695e08b1882581abc7f08b0ebd4b6)) * Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#476](https://togithub.com/googleapis/java-iam/issues/476)) ([8108ea5](https://togithub.com/googleapis/java-iam/commit/8108ea56a7977869ff088a6832a629b226b8f934)) * Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#483](https://togithub.com/googleapis/java-iam/issues/483)) ([6d9adae](https://togithub.com/googleapis/java-iam/commit/6d9adaea40595dac65e867a654fc0cea502af41c)) * Update dependency io.grpc:grpc-stub to v1.50.2 ([#477](https://togithub.com/googleapis/java-iam/issues/477)) ([424f559](https://togithub.com/googleapis/java-iam/commit/424f559193d1130fc04db0f4bc49337c4f9f8d00)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 15 +++++++++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 44 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index cb8135b4f1bb..c61b7d63cc15 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [1.6.5](https://github.com/googleapis/java-iam/compare/v1.6.4...v1.6.5) (2022-10-24) + + +### Dependencies + +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 ([#479](https://github.com/googleapis/java-iam/issues/479)) ([728084c](https://github.com/googleapis/java-iam/commit/728084cba18609a511dd04d67a59a8b0a4c2a63d)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.12.1 ([#478](https://github.com/googleapis/java-iam/issues/478)) ([94e2ca1](https://github.com/googleapis/java-iam/commit/94e2ca1930ec67bf1d837e044c8a72d64b6eae45)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#486](https://github.com/googleapis/java-iam/issues/486)) ([292042e](https://github.com/googleapis/java-iam/commit/292042ea315d3bff5b07e86b73d82fa290364a8a)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.4 ([#475](https://github.com/googleapis/java-iam/issues/475)) ([b86f46c](https://github.com/googleapis/java-iam/commit/b86f46cd9115b5d07d867766e37d402d054768a2)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#481](https://github.com/googleapis/java-iam/issues/481)) ([cb74130](https://github.com/googleapis/java-iam/commit/cb741301c1add6eb5e790de44caa7961e2ea055d)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#482](https://github.com/googleapis/java-iam/issues/482)) ([176de6c](https://github.com/googleapis/java-iam/commit/176de6cb499db8fde987f69df35038d9872fad25)) +* Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#476](https://github.com/googleapis/java-iam/issues/476)) ([358383f](https://github.com/googleapis/java-iam/commit/358383fef13874226454c05464a615651ec5b0fb)) +* Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#483](https://github.com/googleapis/java-iam/issues/483)) ([3c9999b](https://github.com/googleapis/java-iam/commit/3c9999b9b4daca5aa343005ca89055f7172ba2dc)) +* Update dependency io.grpc:grpc-stub to v1.50.2 ([#477](https://github.com/googleapis/java-iam/issues/477)) ([e2255ec](https://github.com/googleapis/java-iam/commit/e2255ecfe43a7aef250802cd1829771d4b3691d8)) + ## [1.6.4](https://github.com/googleapis/java-iam/compare/v1.6.3...v1.6.4) (2022-10-10) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index f7b79db731ae..9a4121b8b629 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.5-SNAPSHOT + 1.6.5 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.5-SNAPSHOT + 1.6.5 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 4b8b2ba06c74..869fc8ce8a29 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.6.5-SNAPSHOT + 1.6.5 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5-SNAPSHOT + 1.6.5 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 4ba32cb648f7..08e1a9725e85 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.6.5-SNAPSHOT + 1.6.5 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.5-SNAPSHOT + 1.6.5 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 7e536ac77977..fb9e1492ae25 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.6.5-SNAPSHOT + 1.6.5 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5-SNAPSHOT + 1.6.5 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d13d5a4a3364..02e5283db48c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.5-SNAPSHOT + 1.6.5 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.5-SNAPSHOT + 1.6.5 com.google.api.grpc grpc-google-iam-v2 - 1.6.5-SNAPSHOT + 1.6.5 com.google.cloud google-iam-policy - 1.6.5-SNAPSHOT + 1.6.5 com.google.api.grpc proto-google-iam-v2beta - 1.6.5-SNAPSHOT + 1.6.5 com.google.api.grpc grpc-google-iam-v1 - 1.6.5-SNAPSHOT + 1.6.5 com.google.api.grpc grpc-google-iam-v2beta - 1.6.5-SNAPSHOT + 1.6.5 com.google.api.grpc proto-google-iam-v1 - 1.6.5-SNAPSHOT + 1.6.5 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 76633716d161..ea043d97613b 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.6.5-SNAPSHOT + 1.6.5 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5-SNAPSHOT + 1.6.5 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index cb6837e8c066..7896eee90e42 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.6.5-SNAPSHOT + 1.6.5 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5-SNAPSHOT + 1.6.5 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 40f8f2b20a78..5afca8306a8d 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.6.5-SNAPSHOT + 1.6.5 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5-SNAPSHOT + 1.6.5 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 46912707d33a..ac15f85e47b3 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.4:1.6.5-SNAPSHOT -grpc-google-iam-v1:1.6.4:1.6.5-SNAPSHOT -proto-google-iam-v2beta:1.6.4:1.6.5-SNAPSHOT -grpc-google-iam-v2beta:1.6.4:1.6.5-SNAPSHOT -google-iam-policy:1.6.4:1.6.5-SNAPSHOT -proto-google-iam-v2:1.6.4:1.6.5-SNAPSHOT -grpc-google-iam-v2:1.6.4:1.6.5-SNAPSHOT +proto-google-iam-v1:1.6.5:1.6.5 +grpc-google-iam-v1:1.6.5:1.6.5 +proto-google-iam-v2beta:1.6.5:1.6.5 +grpc-google-iam-v2beta:1.6.5:1.6.5 +google-iam-policy:1.6.5:1.6.5 +proto-google-iam-v2:1.6.5:1.6.5 +grpc-google-iam-v2:1.6.5:1.6.5 From 27ca755255c97ac4a22f0cc2f9e0baf27ac1f327 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 24 Oct 2022 22:02:20 +0000 Subject: [PATCH 2744/3036] chore(main): release 1.6.6-SNAPSHOT (#488) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 9a4121b8b629..955ab5ba0140 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.5 + 1.6.6-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.5 + 1.6.6-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 869fc8ce8a29..4b8517d480a9 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.6.5 + 1.6.6-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5 + 1.6.6-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 08e1a9725e85..8c9f04f3c19f 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.6.5 + 1.6.6-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.5 + 1.6.6-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index fb9e1492ae25..72ebe234bc97 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.6.5 + 1.6.6-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5 + 1.6.6-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 02e5283db48c..61d7e58f14b7 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.5 + 1.6.6-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.5 + 1.6.6-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.5 + 1.6.6-SNAPSHOT com.google.cloud google-iam-policy - 1.6.5 + 1.6.6-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.5 + 1.6.6-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.5 + 1.6.6-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.5 + 1.6.6-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.5 + 1.6.6-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index ea043d97613b..483960313437 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.6.5 + 1.6.6-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5 + 1.6.6-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 7896eee90e42..39f809a5a897 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.6.5 + 1.6.6-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5 + 1.6.6-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 5afca8306a8d..74b492237a6d 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.6.5 + 1.6.6-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.5 + 1.6.6-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ac15f85e47b3..4390f9e6c7cb 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.5:1.6.5 -grpc-google-iam-v1:1.6.5:1.6.5 -proto-google-iam-v2beta:1.6.5:1.6.5 -grpc-google-iam-v2beta:1.6.5:1.6.5 -google-iam-policy:1.6.5:1.6.5 -proto-google-iam-v2:1.6.5:1.6.5 -grpc-google-iam-v2:1.6.5:1.6.5 +proto-google-iam-v1:1.6.5:1.6.6-SNAPSHOT +grpc-google-iam-v1:1.6.5:1.6.6-SNAPSHOT +proto-google-iam-v2beta:1.6.5:1.6.6-SNAPSHOT +grpc-google-iam-v2beta:1.6.5:1.6.6-SNAPSHOT +google-iam-policy:1.6.5:1.6.6-SNAPSHOT +proto-google-iam-v2:1.6.5:1.6.6-SNAPSHOT +grpc-google-iam-v2:1.6.5:1.6.6-SNAPSHOT From 558cafcfc10c7465465499e6df28c66afd57f6bf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 25 Oct 2022 21:41:27 +0200 Subject: [PATCH 2745/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.5 (#489) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 2d16a5ee0259..646b91314861 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.4 + 1.6.5 compile From ce8b1e1f78beaebefcf2abf2eb4840cda19aa52d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 25 Oct 2022 19:48:14 +0000 Subject: [PATCH 2746/3036] chore(main): release 1.6.6 (#490) :robot: I have created a release *beep* *boop* --- ## [1.6.6](https://togithub.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) (2022-10-25) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#489](https://togithub.com/googleapis/java-iam/issues/489)) ([558cafc](https://togithub.com/googleapis/java-iam/commit/558cafcfc10c7465465499e6df28c66afd57f6bf)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index c61b7d63cc15..edacb82598c4 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.6](https://github.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) (2022-10-25) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#489](https://github.com/googleapis/java-iam/issues/489)) ([ab8be40](https://github.com/googleapis/java-iam/commit/ab8be4088259b25799aa5df0e7cfe944a7da7956)) + ## [1.6.5](https://github.com/googleapis/java-iam/compare/v1.6.4...v1.6.5) (2022-10-24) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 955ab5ba0140..575b1a7e0d0d 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.6-SNAPSHOT + 1.6.6 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.6-SNAPSHOT + 1.6.6 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 4b8517d480a9..e346f1110efd 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.6.6-SNAPSHOT + 1.6.6 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6-SNAPSHOT + 1.6.6 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 8c9f04f3c19f..c6fdd88b817d 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.6.6-SNAPSHOT + 1.6.6 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.6-SNAPSHOT + 1.6.6 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 72ebe234bc97..bbb288e2b6bc 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.6.6-SNAPSHOT + 1.6.6 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6-SNAPSHOT + 1.6.6 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 61d7e58f14b7..f8c3117cda5a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.6-SNAPSHOT + 1.6.6 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.6-SNAPSHOT + 1.6.6 com.google.api.grpc grpc-google-iam-v2 - 1.6.6-SNAPSHOT + 1.6.6 com.google.cloud google-iam-policy - 1.6.6-SNAPSHOT + 1.6.6 com.google.api.grpc proto-google-iam-v2beta - 1.6.6-SNAPSHOT + 1.6.6 com.google.api.grpc grpc-google-iam-v1 - 1.6.6-SNAPSHOT + 1.6.6 com.google.api.grpc grpc-google-iam-v2beta - 1.6.6-SNAPSHOT + 1.6.6 com.google.api.grpc proto-google-iam-v1 - 1.6.6-SNAPSHOT + 1.6.6 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 483960313437..0d47b58f3755 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.6.6-SNAPSHOT + 1.6.6 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6-SNAPSHOT + 1.6.6 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 39f809a5a897..d954eac9d8bb 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.6.6-SNAPSHOT + 1.6.6 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6-SNAPSHOT + 1.6.6 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 74b492237a6d..3e23af031d14 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.6.6-SNAPSHOT + 1.6.6 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6-SNAPSHOT + 1.6.6 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 4390f9e6c7cb..c21b3114a437 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.5:1.6.6-SNAPSHOT -grpc-google-iam-v1:1.6.5:1.6.6-SNAPSHOT -proto-google-iam-v2beta:1.6.5:1.6.6-SNAPSHOT -grpc-google-iam-v2beta:1.6.5:1.6.6-SNAPSHOT -google-iam-policy:1.6.5:1.6.6-SNAPSHOT -proto-google-iam-v2:1.6.5:1.6.6-SNAPSHOT -grpc-google-iam-v2:1.6.5:1.6.6-SNAPSHOT +proto-google-iam-v1:1.6.6:1.6.6 +grpc-google-iam-v1:1.6.6:1.6.6 +proto-google-iam-v2beta:1.6.6:1.6.6 +grpc-google-iam-v2beta:1.6.6:1.6.6 +google-iam-policy:1.6.6:1.6.6 +proto-google-iam-v2:1.6.6:1.6.6 +grpc-google-iam-v2:1.6.6:1.6.6 From 7e6789c22035a7f5f89e09fa084182cb8a8e60e1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 25 Oct 2022 19:54:15 +0000 Subject: [PATCH 2747/3036] chore(main): release 1.6.7-SNAPSHOT (#491) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 575b1a7e0d0d..51b3f02eb724 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.6 + 1.6.7-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.6 + 1.6.7-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e346f1110efd..cd92687ad774 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.6.6 + 1.6.7-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6 + 1.6.7-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index c6fdd88b817d..cde2a480be1c 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.6.6 + 1.6.7-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.6 + 1.6.7-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index bbb288e2b6bc..3ca87940ff41 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.6.6 + 1.6.7-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6 + 1.6.7-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f8c3117cda5a..5aa081d1559a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.6 + 1.6.7-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.6 + 1.6.7-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.6 + 1.6.7-SNAPSHOT com.google.cloud google-iam-policy - 1.6.6 + 1.6.7-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.6 + 1.6.7-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.6 + 1.6.7-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.6 + 1.6.7-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.6 + 1.6.7-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 0d47b58f3755..442cd7592f87 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.6.6 + 1.6.7-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6 + 1.6.7-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index d954eac9d8bb..22f262fc672d 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.6.6 + 1.6.7-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6 + 1.6.7-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 3e23af031d14..0cebbcc967a4 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.6.6 + 1.6.7-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.6 + 1.6.7-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index c21b3114a437..d86d81f8c5fe 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.6:1.6.6 -grpc-google-iam-v1:1.6.6:1.6.6 -proto-google-iam-v2beta:1.6.6:1.6.6 -grpc-google-iam-v2beta:1.6.6:1.6.6 -google-iam-policy:1.6.6:1.6.6 -proto-google-iam-v2:1.6.6:1.6.6 -grpc-google-iam-v2:1.6.6:1.6.6 +proto-google-iam-v1:1.6.6:1.6.7-SNAPSHOT +grpc-google-iam-v1:1.6.6:1.6.7-SNAPSHOT +proto-google-iam-v2beta:1.6.6:1.6.7-SNAPSHOT +grpc-google-iam-v2beta:1.6.6:1.6.7-SNAPSHOT +google-iam-policy:1.6.6:1.6.7-SNAPSHOT +proto-google-iam-v2:1.6.6:1.6.7-SNAPSHOT +grpc-google-iam-v2:1.6.6:1.6.7-SNAPSHOT From 1092bbe5f7a9d84dc1013f8a3c8e62e5c26ab2ab Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:50:22 +0200 Subject: [PATCH 2748/3036] deps: update google.core.version to v2.8.23 (#885) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.22` -> `2.8.23` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.23/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.23/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.23/compatibility-slim/2.8.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.23/confidence-slim/2.8.22)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.22` -> `2.8.23` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.23/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.23/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.23/compatibility-slim/2.8.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.23/confidence-slim/2.8.22)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.23`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2823-httpsgithubcomgoogleapisjava-corecomparev2822v2823-2022-10-24) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.22...v2.8.23) ##### Dependencies - Update dependency io.grpc:grpc-bom to v1.50.2 ([#​990](https://togithub.com/googleapis/java-core/issues/990)) ([42b1081](https://togithub.com/googleapis/java-core/commit/42b108100173041925cc705f596f388bab26d954)) - Update dependency org.easymock:easymock to v5 ([#​980](https://togithub.com/googleapis/java-core/issues/980)) ([64be350](https://togithub.com/googleapis/java-core/commit/64be350d3713af1a95ca51997194a15c7292f7ae))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a7a932dd77b2..b44e4e3938a8 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.8 2.2.1 2.9.6 - 2.8.22 + 2.8.23 1.12.1 1.42.2 1.34.1 From cbe8973436da3c34be00d0742b3db11af106f585 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:50:26 +0200 Subject: [PATCH 2749/3036] deps: update dependency com.google.code.gson:gson to v2.10 (#887) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.code.gson:gson](https://togithub.com/google/gson) | `2.9.1` -> `2.10` | [![age](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/compatibility-slim/2.9.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/confidence-slim/2.9.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b44e4e3938a8..a6cbb76b51c2 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,7 +58,7 @@ 1.50.1 2.19.4 1.3.0 - 2.9.1 + 2.10 31.1-jre 3.21.8 2.2.1 From 122cf9d01a73d78768544b0638efc8cca995fd87 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:50:31 +0200 Subject: [PATCH 2750/3036] deps: update iam.version to v1.6.6 (#886) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.4` -> `1.6.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.6/compatibility-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.6/confidence-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.4` -> `1.6.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/compatibility-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/confidence-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.6`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​166-httpsgithubcomgoogleapisjava-iamcomparev165v166-2022-10-25) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#​489](https://togithub.com/googleapis/java-iam/issues/489)) ([ab8be40](https://togithub.com/googleapis/java-iam/commit/ab8be4088259b25799aa5df0e7cfe944a7da7956)) ### [`v1.6.5`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​165-httpsgithubcomgoogleapisjava-iamcomparev164v165-2022-10-24) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.4...v1.6.5) ##### Dependencies - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 ([#​479](https://togithub.com/googleapis/java-iam/issues/479)) ([728084c](https://togithub.com/googleapis/java-iam/commit/728084cba18609a511dd04d67a59a8b0a4c2a63d)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.12.1 ([#​478](https://togithub.com/googleapis/java-iam/issues/478)) ([94e2ca1](https://togithub.com/googleapis/java-iam/commit/94e2ca1930ec67bf1d837e044c8a72d64b6eae45)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#​486](https://togithub.com/googleapis/java-iam/issues/486)) ([292042e](https://togithub.com/googleapis/java-iam/commit/292042ea315d3bff5b07e86b73d82fa290364a8a)) - Update dependency com.google.cloud:google-iam-policy to v1.6.4 ([#​475](https://togithub.com/googleapis/java-iam/issues/475)) ([b86f46c](https://togithub.com/googleapis/java-iam/commit/b86f46cd9115b5d07d867766e37d402d054768a2)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#​481](https://togithub.com/googleapis/java-iam/issues/481)) ([cb74130](https://togithub.com/googleapis/java-iam/commit/cb741301c1add6eb5e790de44caa7961e2ea055d)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​482](https://togithub.com/googleapis/java-iam/issues/482)) ([176de6c](https://togithub.com/googleapis/java-iam/commit/176de6cb499db8fde987f69df35038d9872fad25)) - Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#​476](https://togithub.com/googleapis/java-iam/issues/476)) ([358383f](https://togithub.com/googleapis/java-iam/commit/358383fef13874226454c05464a615651ec5b0fb)) - Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#​483](https://togithub.com/googleapis/java-iam/issues/483)) ([3c9999b](https://togithub.com/googleapis/java-iam/commit/3c9999b9b4daca5aa343005ca89055f7172ba2dc)) - Update dependency io.grpc:grpc-stub to v1.50.2 ([#​477](https://togithub.com/googleapis/java-iam/issues/477)) ([e2255ec](https://togithub.com/googleapis/java-iam/commit/e2255ecfe43a7aef250802cd1829771d4b3691d8))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a6cbb76b51c2..9694e18d7959 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.2 1.34.1 2.0.0 - 1.6.4 + 1.6.6
    From bad1c9b58c4a76017d3665a3ef0887c3481b35e8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:50:31 +0200 Subject: [PATCH 2751/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.6 (#492) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.5` -> `1.6.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/compatibility-slim/1.6.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.6/confidence-slim/1.6.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.6`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​166-httpsgithubcomgoogleapisjava-iamcomparev165v166-2022-10-25) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#​489](https://togithub.com/googleapis/java-iam/issues/489)) ([558cafc](https://togithub.com/googleapis/java-iam/commit/558cafcfc10c7465465499e6df28c66afd57f6bf))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 646b91314861..df5a900c85ba 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.5 + 1.6.6 compile From 0244ed8813ba261f416014cf1eff7a267de23013 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:52:23 +0200 Subject: [PATCH 2752/3036] deps: update dependency com.google.code.gson:gson to v2.10 (#995) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.code.gson:gson](https://togithub.com/google/gson) | `2.9.1` -> `2.10` | [![age](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/compatibility-slim/2.9.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.10/confidence-slim/2.9.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 6258a966fb4c..27e3041b1022 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 1.6.3 3.3 2.16 - 2.9.1 + 2.10
    From 6bda7ce63b19eb44add041482edd1e3de1100cad Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:52:27 +0200 Subject: [PATCH 2753/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.6 (#994) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.4` -> `1.6.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/compatibility-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.6/confidence-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.6`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​166-httpsgithubcomgoogleapisjava-iamcomparev165v166-2022-10-25) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.5 ([#​489](https://togithub.com/googleapis/java-iam/issues/489)) ([ab8be40](https://togithub.com/googleapis/java-iam/commit/ab8be4088259b25799aa5df0e7cfe944a7da7956)) ### [`v1.6.5`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​165-httpsgithubcomgoogleapisjava-iamcomparev164v165-2022-10-24) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.4...v1.6.5) ##### Dependencies - Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221016-2.0.0 ([#​479](https://togithub.com/googleapis/java-iam/issues/479)) ([728084c](https://togithub.com/googleapis/java-iam/commit/728084cba18609a511dd04d67a59a8b0a4c2a63d)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.12.1 ([#​478](https://togithub.com/googleapis/java-iam/issues/478)) ([94e2ca1](https://togithub.com/googleapis/java-iam/commit/94e2ca1930ec67bf1d837e044c8a72d64b6eae45)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#​486](https://togithub.com/googleapis/java-iam/issues/486)) ([292042e](https://togithub.com/googleapis/java-iam/commit/292042ea315d3bff5b07e86b73d82fa290364a8a)) - Update dependency com.google.cloud:google-iam-policy to v1.6.4 ([#​475](https://togithub.com/googleapis/java-iam/issues/475)) ([b86f46c](https://togithub.com/googleapis/java-iam/commit/b86f46cd9115b5d07d867766e37d402d054768a2)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#​481](https://togithub.com/googleapis/java-iam/issues/481)) ([cb74130](https://togithub.com/googleapis/java-iam/commit/cb741301c1add6eb5e790de44caa7961e2ea055d)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​482](https://togithub.com/googleapis/java-iam/issues/482)) ([176de6c](https://togithub.com/googleapis/java-iam/commit/176de6cb499db8fde987f69df35038d9872fad25)) - Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#​476](https://togithub.com/googleapis/java-iam/issues/476)) ([358383f](https://togithub.com/googleapis/java-iam/commit/358383fef13874226454c05464a615651ec5b0fb)) - Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#​483](https://togithub.com/googleapis/java-iam/issues/483)) ([3c9999b](https://togithub.com/googleapis/java-iam/commit/3c9999b9b4daca5aa343005ca89055f7172ba2dc)) - Update dependency io.grpc:grpc-stub to v1.50.2 ([#​477](https://togithub.com/googleapis/java-iam/issues/477)) ([e2255ec](https://togithub.com/googleapis/java-iam/commit/e2255ecfe43a7aef250802cd1829771d4b3691d8))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 27e3041b1022..7695723d1471 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.4 2.2.1 2.9.6 - 1.6.4 + 1.6.6 1.12.1 2.0.0 1.42.2 From f22fce69481f0ecec1c5438b9f1a938db074cf4c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 26 Oct 2022 23:58:15 +0200 Subject: [PATCH 2754/3036] deps: update dependency com.google.cloud:grpc-gcp to v1.3.1 (#884) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:grpc-gcp](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/tree/master/grpc-gcp) ([source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java)) | `1.3.0` -> `1.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.1/compatibility-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:grpc-gcp/1.3.1/confidence-slim/1.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    GoogleCloudPlatform/grpc-gcp-java ### [`v1.3.1`](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/compare/v1.3.0...v1.3.1) [Compare Source](https://togithub.com/GoogleCloudPlatform/grpc-gcp-java/compare/v1.3.0...v1.3.1)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9694e18d7959..2d022de4afdf 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -57,7 +57,7 @@ ${project.artifactId} 1.50.1 2.19.4 - 1.3.0 + 1.3.1 2.10 31.1-jre 3.21.8 From 7a92143f9f3e5b8529cd9def1559be9e68aef614 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 26 Oct 2022 22:00:24 +0000 Subject: [PATCH 2755/3036] chore(main): release 2.8.24 (#996) :robot: I have created a release *beep* *boop* --- ## [2.8.24](https://togithub.com/googleapis/java-core/compare/v2.8.23...v2.8.24) (2022-10-26) ### Dependencies * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.6 ([#994](https://togithub.com/googleapis/java-core/issues/994)) ([6bda7ce](https://togithub.com/googleapis/java-core/commit/6bda7ce63b19eb44add041482edd1e3de1100cad)) * Update dependency com.google.code.gson:gson to v2.10 ([#995](https://togithub.com/googleapis/java-core/issues/995)) ([0244ed8](https://togithub.com/googleapis/java-core/commit/0244ed8813ba261f416014cf1eff7a267de23013)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 8 ++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 97b62e5ad79d..c13a324d933c 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.8.24](https://github.com/googleapis/java-core/compare/v2.8.23...v2.8.24) (2022-10-26) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.6 ([#994](https://github.com/googleapis/java-core/issues/994)) ([8a7b330](https://github.com/googleapis/java-core/commit/8a7b3304f714261501c64180abfc94edaa86d9d4)) +* Update dependency com.google.code.gson:gson to v2.10 ([#995](https://github.com/googleapis/java-core/issues/995)) ([5b947a2](https://github.com/googleapis/java-core/commit/5b947a2486979ba26175753fcf054ba3d4904b35)) + ## [2.8.23](https://github.com/googleapis/java-core/compare/v2.8.22...v2.8.23) (2022-10-24) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 260a03b5a90d..94cbf4d7d142 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.24-SNAPSHOT + 2.8.24 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.24-SNAPSHOT + 2.8.24 com.google.cloud google-cloud-core-grpc - 2.8.24-SNAPSHOT + 2.8.24 com.google.cloud google-cloud-core-http - 2.8.24-SNAPSHOT + 2.8.24
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 8841ab01294e..2df2af7d0b7d 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.8.24-SNAPSHOT + 2.8.24 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.24-SNAPSHOT + 2.8.24 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 f10f2473fc8a..2b2c2c974e7a 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.8.24-SNAPSHOT + 2.8.24 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.24-SNAPSHOT + 2.8.24 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index daebf03b9f96..7e45b2b9fe11 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.8.24-SNAPSHOT + 2.8.24 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.24-SNAPSHOT + 2.8.24 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 7695723d1471..34c76829c664 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.24-SNAPSHOT + 2.8.24 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index ab2c05ef89ca..8bb8753047b4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.23:2.8.24-SNAPSHOT +google-cloud-core:2.8.24:2.8.24 From 13d9caa007f96011449e044159f9b870695e241a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 26 Oct 2022 22:06:24 +0000 Subject: [PATCH 2756/3036] chore(main): release 2.8.25-SNAPSHOT (#997) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 94cbf4d7d142..b5f2a398f658 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.24 + 2.8.25-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.24 + 2.8.25-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.24 + 2.8.25-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.24 + 2.8.25-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2df2af7d0b7d..2aa746b95ec5 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.8.24 + 2.8.25-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.24 + 2.8.25-SNAPSHOT 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 2b2c2c974e7a..9f77ff433a2e 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.8.24 + 2.8.25-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.24 + 2.8.25-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 7e45b2b9fe11..4c1107942ade 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.8.24 + 2.8.25-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.24 + 2.8.25-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 34c76829c664..149f91300f87 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.24 + 2.8.25-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 8bb8753047b4..9c486a24ddbf 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.24:2.8.24 +google-cloud-core:2.8.24:2.8.25-SNAPSHOT From dab2f2a84803d00d4fa296952fdf02150512609a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:08:16 +0000 Subject: [PATCH 2757/3036] chore(deps): update dependency protobuf to v3.20.2 (#1659) (#1000) Co-authored-by: Jeffrey Rennie Co-authored-by: Tomo Suzuki Source-Link: https://togithub.com/googleapis/synthtool/commit/b59cf7b5a91ecab29e21fdfbb7e3b81066229be4 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.txt | 50 +++++++++++++---------------- 2 files changed, 24 insertions(+), 28 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 459487d38827..82b5a1a2e2e1 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ae72564aa9c368b9ccd96f4af21f87889fd83b9e60635b80844deb5a2ccd08aa + digest: sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 02ae42bb4039..4a16dfadf82a 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -339,33 +339,29 @@ packaging==21.3 \ # via # -r requirements.in # gcp-releasetool -protobuf==3.19.5 \ - --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ - --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ - --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ - --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ - --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ - --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ - --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ - --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ - --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ - --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ - --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ - --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ - --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ - --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ - --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ - --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ - --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ - --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ - --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ - --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ - --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ - --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ - --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ - --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ - --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ - --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de +protobuf==3.20.2 \ + --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ + --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ + --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ + --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ + --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ + --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ + --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ + --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ + --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ + --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ + --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ + --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ + --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ + --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ + --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ + --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ + --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ + --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ + --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ + --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ + --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ + --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 # via # -r requirements.in # gcp-docuploader From d107c5230775d55ee5a3a6ae9b489869246556b2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:08:21 +0000 Subject: [PATCH 2758/3036] chore: [java] synthtool not to create an initial gitignore. (#1672) (#496) * chore: [java] synthtool not to create an initial gitignore. Given that new generated libraries will come to the Java monorepo going forward and that any new hand-written libraries can get a new .gitignore from humans, there's no need to automatically prepare .gitignore file. * deleting gitignore * deleting .gitignore from golden Source-Link: https://togithub.com/googleapis/synthtool/commit/0baf7e4b652fcc7bf77ec341965c62c0b67e722d Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:25a679b48797fcdd98fe339c885d9595a8be5c16a275d1b466ba98e6951a3217 --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/dependencies.sh | 51 ------------------------------ 2 files changed, 1 insertion(+), 52 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 7649651ccd4b..b468b64dd72d 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:264c6d5da60ff1684fbdd2b268d6a3ffca2038246e0948a06f15ca0c3cf28ce8 + digest: sha256:25a679b48797fcdd98fe339c885d9595a8be5c16a275d1b466ba98e6951a3217 diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh index d7476cfe9727..bd8960246f66 100755 --- a/java-iam/.kokoro/dependencies.sh +++ b/java-iam/.kokoro/dependencies.sh @@ -57,54 +57,3 @@ retry_with_backoff 3 10 \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true - -echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" -## Run dependency list completeness check -function completenessCheck() { - # Output dep list with compile scope generated using the original pom - # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. - # This is stripped from the output as it is not present in the flattened pom. - # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. - msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt - - # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) - msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt - - # Compare two dependency lists - msg "Comparing dependency lists..." - diff .org-list.txt .new-list.txt >.diff.txt - if [[ $? == 0 ]] - then - msg "Success. No diff!" - else - msg "Diff found. See below: " - msg "You can also check .diff.txt file located in $1." - cat .diff.txt - return 1 - fi -} - -# Allow failures to continue running the script -set +e - -error_count=0 -for path in **/.flattened-pom.xml -do - # Check flattened pom in each dir that contains it for completeness - dir=$(dirname "$path") - pushd "$dir" - completenessCheck "$dir" - error_count=$(($error_count + $?)) - popd -done - -if [[ $error_count == 0 ]] -then - msg "All checks passed." - exit 0 -else - msg "Errors found. See log statements above." - exit 1 -fi From 21e7515d351cf8a53cb7590267231930bedfaf88 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:10:16 +0200 Subject: [PATCH 2759/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.3 (#893) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client/tree/master/google-http-client-bom) ([source](https://togithub.com/googleapis/google-http-java-client)) | `1.42.2` -> `1.42.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/compatibility-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/confidence-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.3`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1423-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1422v1423-2022-10-27) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.2...v1.42.3) ##### Bug Fixes - Add [@​CanIgnoreReturnValue](https://togithub.com/CanIgnoreReturnValue) to avoid errorprone errors ([#​1716](https://togithub.com/googleapis/google-http-java-client/issues/1716)) ([cba2f82](https://togithub.com/googleapis/google-http-java-client/commit/cba2f82b8ff7f4ca44616564accd67f95f08247a)) ##### Dependencies - Update actions/checkout action to v3 ([#​1719](https://togithub.com/googleapis/google-http-java-client/issues/1719)) ([6b9585b](https://togithub.com/googleapis/google-http-java-client/commit/6b9585b0539af6b4631d005a61bb2af60804453a)) - Update dependency cachetools to v5 ([#​1732](https://togithub.com/googleapis/google-http-java-client/issues/1732)) ([7d153d3](https://togithub.com/googleapis/google-http-java-client/commit/7d153d3c5e92375bb933f6f12d3a2c5df391b34f)) - Update dependency certifi to v2022.9.24 ([#​1734](https://togithub.com/googleapis/google-http-java-client/issues/1734)) ([3b345df](https://togithub.com/googleapis/google-http-java-client/commit/3b345df3be561bae1e2e4ac4229ab5b66e9b7176)) - Update dependency charset-normalizer to v2.1.1 ([#​1738](https://togithub.com/googleapis/google-http-java-client/issues/1738)) ([a3cbf66](https://togithub.com/googleapis/google-http-java-client/commit/a3cbf66737a166942c3ac499cae85686fdecd512)) - Update dependency click to v8.1.3 ([#​1739](https://togithub.com/googleapis/google-http-java-client/issues/1739)) ([0b2c204](https://togithub.com/googleapis/google-http-java-client/commit/0b2c204bb1e16575c82f165803af5f84d46c5c8a)) - Update dependency com.fasterxml.jackson.core:jackson-core to v2.13.4 ([#​1718](https://togithub.com/googleapis/google-http-java-client/issues/1718)) ([394aa98](https://togithub.com/googleapis/google-http-java-client/commit/394aa98271b02ac62ed35d7040194e8f9c7f41ee)) - Update dependency com.google.code.gson:gson to v2.10 ([#​1761](https://togithub.com/googleapis/google-http-java-client/issues/1761)) ([7d15ad6](https://togithub.com/googleapis/google-http-java-client/commit/7d15ad6a38e5338c42d972d6bacbd8849c35d851)) - Update dependency com.google.code.gson:gson to v2.9.1 ([#​1700](https://togithub.com/googleapis/google-http-java-client/issues/1700)) ([5c17e2b](https://togithub.com/googleapis/google-http-java-client/commit/5c17e2ba56ec094a375f986f58867856ba3192cf)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​1701](https://togithub.com/googleapis/google-http-java-client/issues/1701)) ([0a2e437](https://togithub.com/googleapis/google-http-java-client/commit/0a2e437017bec6ddf09cff99f535c012a43a5fd6)) - Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#​1755](https://togithub.com/googleapis/google-http-java-client/issues/1755)) ([1126e53](https://togithub.com/googleapis/google-http-java-client/commit/1126e53cf6cbcd1170e5ae5a54da31d245115713)) - Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#​1694](https://togithub.com/googleapis/google-http-java-client/issues/1694)) ([f86112d](https://togithub.com/googleapis/google-http-java-client/commit/f86112d90ce138dc5cbdca6ddcc50aec3e952740)) - Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#​1698](https://togithub.com/googleapis/google-http-java-client/issues/1698)) ([fdabd56](https://togithub.com/googleapis/google-http-java-client/commit/fdabd5672c571c473351ac36248e365f7dd7dcf5)) - Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#​1703](https://togithub.com/googleapis/google-http-java-client/issues/1703)) ([bdb8cbd](https://togithub.com/googleapis/google-http-java-client/commit/bdb8cbd83e7c77454e782a7c824e37ef1d011281)) - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​1722](https://togithub.com/googleapis/google-http-java-client/issues/1722)) ([28ee333](https://togithub.com/googleapis/google-http-java-client/commit/28ee333576e3078a0ad888ee4cc2c664eb8a60e2)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​1751](https://togithub.com/googleapis/google-http-java-client/issues/1751)) ([af16206](https://togithub.com/googleapis/google-http-java-client/commit/af1620620af90f29b12790166b21c9cbb7086ca6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​1756](https://togithub.com/googleapis/google-http-java-client/issues/1756)) ([9119d85](https://togithub.com/googleapis/google-http-java-client/commit/9119d85b2911747358684b6f8ef83374a44734d7)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​1762](https://togithub.com/googleapis/google-http-java-client/issues/1762)) ([02581b8](https://togithub.com/googleapis/google-http-java-client/commit/02581b8d06d781f6349e6a6d963e20cf66769ef7)) - Update dependency gcp-releasetool to v1.8.8 ([#​1735](https://togithub.com/googleapis/google-http-java-client/issues/1735)) ([f24c984](https://togithub.com/googleapis/google-http-java-client/commit/f24c98454f46081eb8c9af8809341ebd605b7915)) - Update dependency google-api-core to v2.10.1 ([#​1740](https://togithub.com/googleapis/google-http-java-client/issues/1740)) ([eacf983](https://togithub.com/googleapis/google-http-java-client/commit/eacf9834fcaa807c891eb6f9bb7957f1830b0b72)) - Update dependency google-auth to v2.12.0 ([#​1741](https://togithub.com/googleapis/google-http-java-client/issues/1741)) ([bfea196](https://togithub.com/googleapis/google-http-java-client/commit/bfea196499c8989e17c7f90ee025a6a840d75aeb)) - Update dependency google-cloud-core to v2.3.2 ([#​1736](https://togithub.com/googleapis/google-http-java-client/issues/1736)) ([a333e1f](https://togithub.com/googleapis/google-http-java-client/commit/a333e1f2a2517bcfa51f945d65781fe8a0579676)) - Update dependency google-cloud-storage to v2.5.0 ([#​1742](https://togithub.com/googleapis/google-http-java-client/issues/1742)) ([8335e66](https://togithub.com/googleapis/google-http-java-client/commit/8335e66f8d175d1669dd02c8ce9007cf6d26eaeb)) - Update dependency google-crc32c to v1.5.0 ([#​1743](https://togithub.com/googleapis/google-http-java-client/issues/1743)) ([3fd3292](https://togithub.com/googleapis/google-http-java-client/commit/3fd32925fcd3464de74e02a4c7ead5f7469fed8e)) - Update dependency importlib-metadata to v4.12.0 ([#​1746](https://togithub.com/googleapis/google-http-java-client/issues/1746)) ([4658601](https://togithub.com/googleapis/google-http-java-client/commit/465860164392085b5cfb8d355529565e3f53721a)) - Update dependency jeepney to v0.8.0 ([#​1747](https://togithub.com/googleapis/google-http-java-client/issues/1747)) ([0866e4d](https://togithub.com/googleapis/google-http-java-client/commit/0866e4dbd882de6385df56ef47e03d56c2c102b1)) - Update dependency jinja2 to v3.1.2 ([#​1748](https://togithub.com/googleapis/google-http-java-client/issues/1748)) ([1507e04](https://togithub.com/googleapis/google-http-java-client/commit/1507e04d99f6d160f7b0c070d63e2d42dab76c2c)) - Update dependency keyring to v23.9.3 ([#​1749](https://togithub.com/googleapis/google-http-java-client/issues/1749)) ([55bcbd7](https://togithub.com/googleapis/google-http-java-client/commit/55bcbd7ede201e3a7ed9ee8b8c43510905fd61c5)) - Update dependency markupsafe to v2.1.1 ([#​1744](https://togithub.com/googleapis/google-http-java-client/issues/1744)) ([a62cace](https://togithub.com/googleapis/google-http-java-client/commit/a62cace610211ca6e9470e5b8e77e42a005733f0)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.7 ([#​1688](https://togithub.com/googleapis/google-http-java-client/issues/1688)) ([8bea209](https://togithub.com/googleapis/google-http-java-client/commit/8bea209c7b23ffb5a57f683ae21889a87f9b7f55)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.8 ([#​1699](https://togithub.com/googleapis/google-http-java-client/issues/1699)) ([fa578e0](https://togithub.com/googleapis/google-http-java-client/commit/fa578e0f7ad6a6c45a0b9de54a936a16a8d345a7)) - Update dependency protobuf to v3.20.2 ([#​1745](https://togithub.com/googleapis/google-http-java-client/issues/1745)) ([3b0fc85](https://togithub.com/googleapis/google-http-java-client/commit/3b0fc8567e55c26676524d81927feb7a6bd82a2f)) - Update dependency protobuf to v4 ([#​1733](https://togithub.com/googleapis/google-http-java-client/issues/1733)) ([99457dd](https://togithub.com/googleapis/google-http-java-client/commit/99457dddbd56e7d284d99227990a5a74fdb6e2e9)) - Update dependency pyjwt to v2.5.0 ([#​1728](https://togithub.com/googleapis/google-http-java-client/issues/1728)) ([c285b9a](https://togithub.com/googleapis/google-http-java-client/commit/c285b9a36bb8b07942f2b7d616b3653465fc2ae2)) - Update dependency requests to v2.28.1 ([#​1729](https://togithub.com/googleapis/google-http-java-client/issues/1729)) ([ee9fc81](https://togithub.com/googleapis/google-http-java-client/commit/ee9fc81d759f2ebb8a36e0eb36c58f7f634b893f)) - Update dependency typing-extensions to v4.3.0 ([#​1730](https://togithub.com/googleapis/google-http-java-client/issues/1730)) ([f8980a4](https://togithub.com/googleapis/google-http-java-client/commit/f8980a41fc77eabeba76326fee5553520a95861d)) - Update dependency zipp to v3.8.1 ([#​1731](https://togithub.com/googleapis/google-http-java-client/issues/1731)) ([49477d4](https://togithub.com/googleapis/google-http-java-client/commit/49477d4207d07bb6dfb00666201f219a01d87d72)) - Update project.appengine.version to v2.0.6 ([#​1704](https://togithub.com/googleapis/google-http-java-client/issues/1704)) ([b33a9c1](https://togithub.com/googleapis/google-http-java-client/commit/b33a9c173a74e631e9d7e04f51df4370f979da10)) - Update project.appengine.version to v2.0.7 ([#​1711](https://togithub.com/googleapis/google-http-java-client/issues/1711)) ([523a260](https://togithub.com/googleapis/google-http-java-client/commit/523a2609bef4b2d4a539a327d353e26f61d9a2c2)) - Update project.appengine.version to v2.0.8 ([#​1723](https://togithub.com/googleapis/google-http-java-client/issues/1723)) ([12a455c](https://togithub.com/googleapis/google-http-java-client/commit/12a455c38b4de3470033be61b06e2beafd911041)) - Update project.appengine.version to v2.0.9 ([#​1753](https://togithub.com/googleapis/google-http-java-client/issues/1753)) ([d047334](https://togithub.com/googleapis/google-http-java-client/commit/d047334616c9a88b00b20e749d2033fc1a6ca6ca))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2d022de4afdf..9dcb8abbf6f7 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.9.6 2.8.23 1.12.1 - 1.42.2 + 1.42.3 1.34.1 2.0.0 1.6.6 From f27149236b59dc54d7b1ad147c06c865b91bba95 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:10:25 +0200 Subject: [PATCH 2760/3036] deps: update dependency com.google.http-client:google-http-client-bom to v1.42.3 (#1001) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client/tree/master/google-http-client-bom) ([source](https://togithub.com/googleapis/google-http-java-client)) | `1.42.2` -> `1.42.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/compatibility-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.42.3/confidence-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.3`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1423-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1422v1423-2022-10-27) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.2...v1.42.3) ##### Bug Fixes - Add [@​CanIgnoreReturnValue](https://togithub.com/CanIgnoreReturnValue) to avoid errorprone errors ([#​1716](https://togithub.com/googleapis/google-http-java-client/issues/1716)) ([cba2f82](https://togithub.com/googleapis/google-http-java-client/commit/cba2f82b8ff7f4ca44616564accd67f95f08247a)) ##### Dependencies - Update actions/checkout action to v3 ([#​1719](https://togithub.com/googleapis/google-http-java-client/issues/1719)) ([6b9585b](https://togithub.com/googleapis/google-http-java-client/commit/6b9585b0539af6b4631d005a61bb2af60804453a)) - Update dependency cachetools to v5 ([#​1732](https://togithub.com/googleapis/google-http-java-client/issues/1732)) ([7d153d3](https://togithub.com/googleapis/google-http-java-client/commit/7d153d3c5e92375bb933f6f12d3a2c5df391b34f)) - Update dependency certifi to v2022.9.24 ([#​1734](https://togithub.com/googleapis/google-http-java-client/issues/1734)) ([3b345df](https://togithub.com/googleapis/google-http-java-client/commit/3b345df3be561bae1e2e4ac4229ab5b66e9b7176)) - Update dependency charset-normalizer to v2.1.1 ([#​1738](https://togithub.com/googleapis/google-http-java-client/issues/1738)) ([a3cbf66](https://togithub.com/googleapis/google-http-java-client/commit/a3cbf66737a166942c3ac499cae85686fdecd512)) - Update dependency click to v8.1.3 ([#​1739](https://togithub.com/googleapis/google-http-java-client/issues/1739)) ([0b2c204](https://togithub.com/googleapis/google-http-java-client/commit/0b2c204bb1e16575c82f165803af5f84d46c5c8a)) - Update dependency com.fasterxml.jackson.core:jackson-core to v2.13.4 ([#​1718](https://togithub.com/googleapis/google-http-java-client/issues/1718)) ([394aa98](https://togithub.com/googleapis/google-http-java-client/commit/394aa98271b02ac62ed35d7040194e8f9c7f41ee)) - Update dependency com.google.code.gson:gson to v2.10 ([#​1761](https://togithub.com/googleapis/google-http-java-client/issues/1761)) ([7d15ad6](https://togithub.com/googleapis/google-http-java-client/commit/7d15ad6a38e5338c42d972d6bacbd8849c35d851)) - Update dependency com.google.code.gson:gson to v2.9.1 ([#​1700](https://togithub.com/googleapis/google-http-java-client/issues/1700)) ([5c17e2b](https://togithub.com/googleapis/google-http-java-client/commit/5c17e2ba56ec094a375f986f58867856ba3192cf)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​1701](https://togithub.com/googleapis/google-http-java-client/issues/1701)) ([0a2e437](https://togithub.com/googleapis/google-http-java-client/commit/0a2e437017bec6ddf09cff99f535c012a43a5fd6)) - Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#​1755](https://togithub.com/googleapis/google-http-java-client/issues/1755)) ([1126e53](https://togithub.com/googleapis/google-http-java-client/commit/1126e53cf6cbcd1170e5ae5a54da31d245115713)) - Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#​1694](https://togithub.com/googleapis/google-http-java-client/issues/1694)) ([f86112d](https://togithub.com/googleapis/google-http-java-client/commit/f86112d90ce138dc5cbdca6ddcc50aec3e952740)) - Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#​1698](https://togithub.com/googleapis/google-http-java-client/issues/1698)) ([fdabd56](https://togithub.com/googleapis/google-http-java-client/commit/fdabd5672c571c473351ac36248e365f7dd7dcf5)) - Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#​1703](https://togithub.com/googleapis/google-http-java-client/issues/1703)) ([bdb8cbd](https://togithub.com/googleapis/google-http-java-client/commit/bdb8cbd83e7c77454e782a7c824e37ef1d011281)) - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​1722](https://togithub.com/googleapis/google-http-java-client/issues/1722)) ([28ee333](https://togithub.com/googleapis/google-http-java-client/commit/28ee333576e3078a0ad888ee4cc2c664eb8a60e2)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​1751](https://togithub.com/googleapis/google-http-java-client/issues/1751)) ([af16206](https://togithub.com/googleapis/google-http-java-client/commit/af1620620af90f29b12790166b21c9cbb7086ca6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​1756](https://togithub.com/googleapis/google-http-java-client/issues/1756)) ([9119d85](https://togithub.com/googleapis/google-http-java-client/commit/9119d85b2911747358684b6f8ef83374a44734d7)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​1762](https://togithub.com/googleapis/google-http-java-client/issues/1762)) ([02581b8](https://togithub.com/googleapis/google-http-java-client/commit/02581b8d06d781f6349e6a6d963e20cf66769ef7)) - Update dependency gcp-releasetool to v1.8.8 ([#​1735](https://togithub.com/googleapis/google-http-java-client/issues/1735)) ([f24c984](https://togithub.com/googleapis/google-http-java-client/commit/f24c98454f46081eb8c9af8809341ebd605b7915)) - Update dependency google-api-core to v2.10.1 ([#​1740](https://togithub.com/googleapis/google-http-java-client/issues/1740)) ([eacf983](https://togithub.com/googleapis/google-http-java-client/commit/eacf9834fcaa807c891eb6f9bb7957f1830b0b72)) - Update dependency google-auth to v2.12.0 ([#​1741](https://togithub.com/googleapis/google-http-java-client/issues/1741)) ([bfea196](https://togithub.com/googleapis/google-http-java-client/commit/bfea196499c8989e17c7f90ee025a6a840d75aeb)) - Update dependency google-cloud-core to v2.3.2 ([#​1736](https://togithub.com/googleapis/google-http-java-client/issues/1736)) ([a333e1f](https://togithub.com/googleapis/google-http-java-client/commit/a333e1f2a2517bcfa51f945d65781fe8a0579676)) - Update dependency google-cloud-storage to v2.5.0 ([#​1742](https://togithub.com/googleapis/google-http-java-client/issues/1742)) ([8335e66](https://togithub.com/googleapis/google-http-java-client/commit/8335e66f8d175d1669dd02c8ce9007cf6d26eaeb)) - Update dependency google-crc32c to v1.5.0 ([#​1743](https://togithub.com/googleapis/google-http-java-client/issues/1743)) ([3fd3292](https://togithub.com/googleapis/google-http-java-client/commit/3fd32925fcd3464de74e02a4c7ead5f7469fed8e)) - Update dependency importlib-metadata to v4.12.0 ([#​1746](https://togithub.com/googleapis/google-http-java-client/issues/1746)) ([4658601](https://togithub.com/googleapis/google-http-java-client/commit/465860164392085b5cfb8d355529565e3f53721a)) - Update dependency jeepney to v0.8.0 ([#​1747](https://togithub.com/googleapis/google-http-java-client/issues/1747)) ([0866e4d](https://togithub.com/googleapis/google-http-java-client/commit/0866e4dbd882de6385df56ef47e03d56c2c102b1)) - Update dependency jinja2 to v3.1.2 ([#​1748](https://togithub.com/googleapis/google-http-java-client/issues/1748)) ([1507e04](https://togithub.com/googleapis/google-http-java-client/commit/1507e04d99f6d160f7b0c070d63e2d42dab76c2c)) - Update dependency keyring to v23.9.3 ([#​1749](https://togithub.com/googleapis/google-http-java-client/issues/1749)) ([55bcbd7](https://togithub.com/googleapis/google-http-java-client/commit/55bcbd7ede201e3a7ed9ee8b8c43510905fd61c5)) - Update dependency markupsafe to v2.1.1 ([#​1744](https://togithub.com/googleapis/google-http-java-client/issues/1744)) ([a62cace](https://togithub.com/googleapis/google-http-java-client/commit/a62cace610211ca6e9470e5b8e77e42a005733f0)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.7 ([#​1688](https://togithub.com/googleapis/google-http-java-client/issues/1688)) ([8bea209](https://togithub.com/googleapis/google-http-java-client/commit/8bea209c7b23ffb5a57f683ae21889a87f9b7f55)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.8 ([#​1699](https://togithub.com/googleapis/google-http-java-client/issues/1699)) ([fa578e0](https://togithub.com/googleapis/google-http-java-client/commit/fa578e0f7ad6a6c45a0b9de54a936a16a8d345a7)) - Update dependency protobuf to v3.20.2 ([#​1745](https://togithub.com/googleapis/google-http-java-client/issues/1745)) ([3b0fc85](https://togithub.com/googleapis/google-http-java-client/commit/3b0fc8567e55c26676524d81927feb7a6bd82a2f)) - Update dependency protobuf to v4 ([#​1733](https://togithub.com/googleapis/google-http-java-client/issues/1733)) ([99457dd](https://togithub.com/googleapis/google-http-java-client/commit/99457dddbd56e7d284d99227990a5a74fdb6e2e9)) - Update dependency pyjwt to v2.5.0 ([#​1728](https://togithub.com/googleapis/google-http-java-client/issues/1728)) ([c285b9a](https://togithub.com/googleapis/google-http-java-client/commit/c285b9a36bb8b07942f2b7d616b3653465fc2ae2)) - Update dependency requests to v2.28.1 ([#​1729](https://togithub.com/googleapis/google-http-java-client/issues/1729)) ([ee9fc81](https://togithub.com/googleapis/google-http-java-client/commit/ee9fc81d759f2ebb8a36e0eb36c58f7f634b893f)) - Update dependency typing-extensions to v4.3.0 ([#​1730](https://togithub.com/googleapis/google-http-java-client/issues/1730)) ([f8980a4](https://togithub.com/googleapis/google-http-java-client/commit/f8980a41fc77eabeba76326fee5553520a95861d)) - Update dependency zipp to v3.8.1 ([#​1731](https://togithub.com/googleapis/google-http-java-client/issues/1731)) ([49477d4](https://togithub.com/googleapis/google-http-java-client/commit/49477d4207d07bb6dfb00666201f219a01d87d72)) - Update project.appengine.version to v2.0.6 ([#​1704](https://togithub.com/googleapis/google-http-java-client/issues/1704)) ([b33a9c1](https://togithub.com/googleapis/google-http-java-client/commit/b33a9c173a74e631e9d7e04f51df4370f979da10)) - Update project.appengine.version to v2.0.7 ([#​1711](https://togithub.com/googleapis/google-http-java-client/issues/1711)) ([523a260](https://togithub.com/googleapis/google-http-java-client/commit/523a2609bef4b2d4a539a327d353e26f61d9a2c2)) - Update project.appengine.version to v2.0.8 ([#​1723](https://togithub.com/googleapis/google-http-java-client/issues/1723)) ([12a455c](https://togithub.com/googleapis/google-http-java-client/commit/12a455c38b4de3470033be61b06e2beafd911041)) - Update project.appengine.version to v2.0.9 ([#​1753](https://togithub.com/googleapis/google-http-java-client/issues/1753)) ([d047334](https://togithub.com/googleapis/google-http-java-client/commit/d047334616c9a88b00b20e749d2033fc1a6ca6ca))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 149f91300f87..471ab96ef390 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -157,7 +157,7 @@ 1.6.6 1.12.1 2.0.0 - 1.42.2 + 1.42.3 1.50.2 3.21.8 0.31.1 From 0cb8ba78d5c07b64570c65ce14d61db5f08150a8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:10:25 +0200 Subject: [PATCH 2761/3036] deps: update dependency com.google.api:api-common to v2.2.2 (#497) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.1` -> `2.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.2.2`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​222-httpsgithubcomgoogleapisapi-common-javacomparev221v222-2022-08-04) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​364](https://togithub.com/googleapis/api-common-java/issues/364)) ([28ff65d](https://togithub.com/googleapis/api-common-java/commit/28ff65d7e70495cc079379b8e78cb515a2960dae))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 3cf1d0682ad9..69e52828a7ba 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.21.8' - compile 'com.google.api:api-common:2.2.1' + compile 'com.google.api:api-common:2.2.2' compile project(':proto-google-common-protos') } From 23fe4e097cd9b7732bd28d58312e97cdeb41960f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:12:20 +0200 Subject: [PATCH 2762/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.9 (#998) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.8` -> `3.21.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/compatibility-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/confidence-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.9`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 471ab96ef390..e0e892a54c9f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.0 1.42.3 1.50.2 - 3.21.8 + 3.21.9 0.31.1 1.3.2 31.1-jre From 70791a5ce678c5c7ebbb70e1527cab69587307ec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:12:24 +0200 Subject: [PATCH 2763/3036] deps: update google.core.version to v2.8.24 (#890) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.8.23` -> `2.8.24` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.24/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.24/compatibility-slim/2.8.23)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.8.24/confidence-slim/2.8.23)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.8.23` -> `2.8.24` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.24/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.24/compatibility-slim/2.8.23)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.8.24/confidence-slim/2.8.23)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.8.24`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​2824-httpsgithubcomgoogleapisjava-corecomparev2823v2824-2022-10-26) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.8.23...v2.8.24) ##### Dependencies - Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.6 ([#​994](https://togithub.com/googleapis/java-core/issues/994)) ([8a7b330](https://togithub.com/googleapis/java-core/commit/8a7b3304f714261501c64180abfc94edaa86d9d4)) - Update dependency com.google.code.gson:gson to v2.10 ([#​995](https://togithub.com/googleapis/java-core/issues/995)) ([5b947a2](https://togithub.com/googleapis/java-core/commit/5b947a2486979ba26175753fcf054ba3d4904b35))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9dcb8abbf6f7..a65beee05a41 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.8 2.2.1 2.9.6 - 2.8.23 + 2.8.24 1.12.1 1.42.3 1.34.1 From 2462317d386a59d07a85c8a752371a09635aa86f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:16:27 +0200 Subject: [PATCH 2764/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.9 (#495) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.8` -> `3.21.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/compatibility-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/confidence-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.9`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 5aa081d1559a..e980d2a08119 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.protobuf protobuf-bom - 3.21.8 + 3.21.9 pom import From 30effe65dc103a694fab5bf9537e96a0def0d4d9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:16:32 +0200 Subject: [PATCH 2765/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.9 (#889) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.8` -> `3.21.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/compatibility-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.9/confidence-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.9`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a65beee05a41..18f01592db9e 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.3.1 2.10 31.1-jre - 3.21.8 + 3.21.9 2.2.1 2.9.6 2.8.24 From bc97994c53ca4d26ffc967e9e5757c34ab302fa6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:20:23 +0000 Subject: [PATCH 2766/3036] chore(deps): update dependency protobuf to v3.20.2 (#1659) (#891) Co-authored-by: Jeffrey Rennie Co-authored-by: Tomo Suzuki Source-Link: https://togithub.com/googleapis/synthtool/commit/b59cf7b5a91ecab29e21fdfbb7e3b81066229be4 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d --- .../.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/requirements.txt | 50 +++++++++---------- 2 files changed, 24 insertions(+), 28 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 459487d38827..82b5a1a2e2e1 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ae72564aa9c368b9ccd96f4af21f87889fd83b9e60635b80844deb5a2ccd08aa + digest: sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 02ae42bb4039..4a16dfadf82a 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -339,33 +339,29 @@ packaging==21.3 \ # via # -r requirements.in # gcp-releasetool -protobuf==3.19.5 \ - --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ - --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ - --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ - --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ - --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ - --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ - --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ - --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ - --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ - --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ - --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ - --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ - --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ - --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ - --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ - --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ - --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ - --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ - --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ - --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ - --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ - --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ - --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ - --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ - --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ - --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de +protobuf==3.20.2 \ + --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ + --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ + --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ + --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ + --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ + --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ + --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ + --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ + --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ + --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ + --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ + --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ + --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ + --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ + --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ + --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ + --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ + --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ + --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ + --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ + --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ + --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 # via # -r requirements.in # gcp-docuploader From 160b427f55f8f8ee4d27ba2c5d2d00664d088ff9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:22:14 +0200 Subject: [PATCH 2767/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.9 (#493) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.8` -> `3.21.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/compatibility-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/confidence-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.9`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index 69e52828a7ba..ef52ed8796f4 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.8' + compile 'com.google.protobuf:protobuf-java:3.21.9' compile 'com.google.api:api-common:2.2.2' compile project(':proto-google-common-protos') } From 292cd39d3b5fca9be15621b5e483e3b6386ec2ef Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 29 Oct 2022 00:28:19 +0200 Subject: [PATCH 2768/3036] deps: update dependency com.google.api:api-common to v2.2.2 (#892) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.1` -> `2.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.2.2`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​222-httpsgithubcomgoogleapisapi-common-javacomparev221v222-2022-08-04) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.2.1...v2.2.2) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​364](https://togithub.com/googleapis/api-common-java/issues/364)) ([28ff65d](https://togithub.com/googleapis/api-common-java/commit/28ff65d7e70495cc079379b8e78cb515a2960dae))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 18f01592db9e..a2e90aa5e714 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 2.10 31.1-jre 3.21.9 - 2.2.1 + 2.2.2 2.9.6 2.8.24 1.12.1 From 67034f112eedc6b3980cca41b72c086003c61ff2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 28 Oct 2022 23:34:21 +0000 Subject: [PATCH 2769/3036] chore(deps): update dependency protobuf to v3.20.2 (#1659) (#499) Co-authored-by: Jeffrey Rennie Co-authored-by: Tomo Suzuki Source-Link: https://togithub.com/googleapis/synthtool/commit/b59cf7b5a91ecab29e21fdfbb7e3b81066229be4 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/requirements.txt | 50 ++++++++++++++---------------- 2 files changed, 24 insertions(+), 28 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index b468b64dd72d..82b5a1a2e2e1 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:25a679b48797fcdd98fe339c885d9595a8be5c16a275d1b466ba98e6951a3217 + digest: sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt index 02ae42bb4039..4a16dfadf82a 100644 --- a/java-iam/.kokoro/requirements.txt +++ b/java-iam/.kokoro/requirements.txt @@ -339,33 +339,29 @@ packaging==21.3 \ # via # -r requirements.in # gcp-releasetool -protobuf==3.19.5 \ - --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ - --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ - --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ - --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ - --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ - --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ - --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ - --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ - --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ - --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ - --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ - --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ - --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ - --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ - --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ - --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ - --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ - --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ - --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ - --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ - --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ - --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ - --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ - --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ - --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ - --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de +protobuf==3.20.2 \ + --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ + --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ + --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ + --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ + --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ + --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ + --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ + --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ + --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ + --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ + --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ + --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ + --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ + --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ + --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ + --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ + --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ + --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ + --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ + --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ + --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ + --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 # via # -r requirements.in # gcp-docuploader From b55cde70a39174d32969b4c3b04853f0337494ca Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 31 Oct 2022 16:06:45 +0100 Subject: [PATCH 2770/3036] deps: update dependency org.threeten:threetenbp to v1.6.4 (#1003) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.4`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.4) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.3...v1.6.4) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e0e892a54c9f..4798aa5f9456 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.1.3 5.0.1 3.0.2 - 1.6.3 + 1.6.4 3.3 2.16 2.10 From 478ae530c8140d92f4e083c5e06ecd6f4f228f05 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 31 Oct 2022 16:06:50 +0100 Subject: [PATCH 2771/3036] deps: update dependency org.threeten:threetenbp to v1.6.4 (#894) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.3` -> `1.6.4` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/compatibility-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.4/confidence-slim/1.6.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.4`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.4) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.3...v1.6.4) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 24166025c6d2..aa807d75c965 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,7 @@ UTF-8 ${project.artifactId} - 1.6.3 + 1.6.4 1.3.2 1.22 0.31.1 From c3794f2c08e5c85ba1c766457a0d47641f43cbba Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 15:14:22 +0000 Subject: [PATCH 2772/3036] Revert "chore(deps): update dependency protobuf to v3.20.2" (#1674) (#500) Revert "chore(deps): update dependency protobuf to v3.20.2 (#1659)" This reverts commit b59cf7b5a91ecab29e21fdfbb7e3b81066229be4. Source-Link: https://togithub.com/googleapis/synthtool/commit/a66e34625d760ad299627f6613a1bd438c1b62a9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:bd316b9a591c45264775ecaba72e37d65905925c323b68e51a08c4126e4b6d0a --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/requirements.txt | 50 ++++++++++++++++-------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 82b5a1a2e2e1..cb4ea018ec23 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d + digest: sha256:bd316b9a591c45264775ecaba72e37d65905925c323b68e51a08c4126e4b6d0a diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt index 4a16dfadf82a..02ae42bb4039 100644 --- a/java-iam/.kokoro/requirements.txt +++ b/java-iam/.kokoro/requirements.txt @@ -339,29 +339,33 @@ packaging==21.3 \ # via # -r requirements.in # gcp-releasetool -protobuf==3.20.2 \ - --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ - --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ - --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ - --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ - --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ - --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ - --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ - --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ - --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ - --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ - --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ - --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ - --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ - --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ - --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ - --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ - --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ - --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ - --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ - --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ - --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ - --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 +protobuf==3.19.5 \ + --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ + --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ + --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ + --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ + --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ + --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ + --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ + --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ + --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ + --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ + --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ + --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ + --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ + --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ + --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ + --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ + --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ + --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ + --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ + --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ + --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ + --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ + --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ + --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ + --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ + --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de # via # -r requirements.in # gcp-docuploader From b68ed601d723dd235dc21e28b22035860a04e6e0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 31 Oct 2022 16:34:17 +0100 Subject: [PATCH 2773/3036] deps: update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 (#498) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.http-client:google-http-client-jackson2](https://togithub.com/googleapis/google-http-java-client) | `1.42.2` -> `1.42.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/compatibility-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-jackson2/1.42.3/confidence-slim/1.42.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-http-java-client ### [`v1.42.3`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#​1423-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1422v1423-2022-10-27) [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.42.2...v1.42.3) ##### Bug Fixes - Add [@​CanIgnoreReturnValue](https://togithub.com/CanIgnoreReturnValue) to avoid errorprone errors ([#​1716](https://togithub.com/googleapis/google-http-java-client/issues/1716)) ([cba2f82](https://togithub.com/googleapis/google-http-java-client/commit/cba2f82b8ff7f4ca44616564accd67f95f08247a)) ##### Dependencies - Update actions/checkout action to v3 ([#​1719](https://togithub.com/googleapis/google-http-java-client/issues/1719)) ([6b9585b](https://togithub.com/googleapis/google-http-java-client/commit/6b9585b0539af6b4631d005a61bb2af60804453a)) - Update dependency cachetools to v5 ([#​1732](https://togithub.com/googleapis/google-http-java-client/issues/1732)) ([7d153d3](https://togithub.com/googleapis/google-http-java-client/commit/7d153d3c5e92375bb933f6f12d3a2c5df391b34f)) - Update dependency certifi to v2022.9.24 ([#​1734](https://togithub.com/googleapis/google-http-java-client/issues/1734)) ([3b345df](https://togithub.com/googleapis/google-http-java-client/commit/3b345df3be561bae1e2e4ac4229ab5b66e9b7176)) - Update dependency charset-normalizer to v2.1.1 ([#​1738](https://togithub.com/googleapis/google-http-java-client/issues/1738)) ([a3cbf66](https://togithub.com/googleapis/google-http-java-client/commit/a3cbf66737a166942c3ac499cae85686fdecd512)) - Update dependency click to v8.1.3 ([#​1739](https://togithub.com/googleapis/google-http-java-client/issues/1739)) ([0b2c204](https://togithub.com/googleapis/google-http-java-client/commit/0b2c204bb1e16575c82f165803af5f84d46c5c8a)) - Update dependency com.fasterxml.jackson.core:jackson-core to v2.13.4 ([#​1718](https://togithub.com/googleapis/google-http-java-client/issues/1718)) ([394aa98](https://togithub.com/googleapis/google-http-java-client/commit/394aa98271b02ac62ed35d7040194e8f9c7f41ee)) - Update dependency com.google.code.gson:gson to v2.10 ([#​1761](https://togithub.com/googleapis/google-http-java-client/issues/1761)) ([7d15ad6](https://togithub.com/googleapis/google-http-java-client/commit/7d15ad6a38e5338c42d972d6bacbd8849c35d851)) - Update dependency com.google.code.gson:gson to v2.9.1 ([#​1700](https://togithub.com/googleapis/google-http-java-client/issues/1700)) ([5c17e2b](https://togithub.com/googleapis/google-http-java-client/commit/5c17e2ba56ec094a375f986f58867856ba3192cf)) - Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​1701](https://togithub.com/googleapis/google-http-java-client/issues/1701)) ([0a2e437](https://togithub.com/googleapis/google-http-java-client/commit/0a2e437017bec6ddf09cff99f535c012a43a5fd6)) - Update dependency com.google.errorprone:error_prone_annotations to v2.16 ([#​1755](https://togithub.com/googleapis/google-http-java-client/issues/1755)) ([1126e53](https://togithub.com/googleapis/google-http-java-client/commit/1126e53cf6cbcd1170e5ae5a54da31d245115713)) - Update dependency com.google.protobuf:protobuf-java to v3.21.3 ([#​1694](https://togithub.com/googleapis/google-http-java-client/issues/1694)) ([f86112d](https://togithub.com/googleapis/google-http-java-client/commit/f86112d90ce138dc5cbdca6ddcc50aec3e952740)) - Update dependency com.google.protobuf:protobuf-java to v3.21.4 ([#​1698](https://togithub.com/googleapis/google-http-java-client/issues/1698)) ([fdabd56](https://togithub.com/googleapis/google-http-java-client/commit/fdabd5672c571c473351ac36248e365f7dd7dcf5)) - Update dependency com.google.protobuf:protobuf-java to v3.21.5 ([#​1703](https://togithub.com/googleapis/google-http-java-client/issues/1703)) ([bdb8cbd](https://togithub.com/googleapis/google-http-java-client/commit/bdb8cbd83e7c77454e782a7c824e37ef1d011281)) - Update dependency com.google.protobuf:protobuf-java to v3.21.6 ([#​1722](https://togithub.com/googleapis/google-http-java-client/issues/1722)) ([28ee333](https://togithub.com/googleapis/google-http-java-client/commit/28ee333576e3078a0ad888ee4cc2c664eb8a60e2)) - Update dependency com.google.protobuf:protobuf-java to v3.21.7 ([#​1751](https://togithub.com/googleapis/google-http-java-client/issues/1751)) ([af16206](https://togithub.com/googleapis/google-http-java-client/commit/af1620620af90f29b12790166b21c9cbb7086ca6)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​1756](https://togithub.com/googleapis/google-http-java-client/issues/1756)) ([9119d85](https://togithub.com/googleapis/google-http-java-client/commit/9119d85b2911747358684b6f8ef83374a44734d7)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​1762](https://togithub.com/googleapis/google-http-java-client/issues/1762)) ([02581b8](https://togithub.com/googleapis/google-http-java-client/commit/02581b8d06d781f6349e6a6d963e20cf66769ef7)) - Update dependency gcp-releasetool to v1.8.8 ([#​1735](https://togithub.com/googleapis/google-http-java-client/issues/1735)) ([f24c984](https://togithub.com/googleapis/google-http-java-client/commit/f24c98454f46081eb8c9af8809341ebd605b7915)) - Update dependency google-api-core to v2.10.1 ([#​1740](https://togithub.com/googleapis/google-http-java-client/issues/1740)) ([eacf983](https://togithub.com/googleapis/google-http-java-client/commit/eacf9834fcaa807c891eb6f9bb7957f1830b0b72)) - Update dependency google-auth to v2.12.0 ([#​1741](https://togithub.com/googleapis/google-http-java-client/issues/1741)) ([bfea196](https://togithub.com/googleapis/google-http-java-client/commit/bfea196499c8989e17c7f90ee025a6a840d75aeb)) - Update dependency google-cloud-core to v2.3.2 ([#​1736](https://togithub.com/googleapis/google-http-java-client/issues/1736)) ([a333e1f](https://togithub.com/googleapis/google-http-java-client/commit/a333e1f2a2517bcfa51f945d65781fe8a0579676)) - Update dependency google-cloud-storage to v2.5.0 ([#​1742](https://togithub.com/googleapis/google-http-java-client/issues/1742)) ([8335e66](https://togithub.com/googleapis/google-http-java-client/commit/8335e66f8d175d1669dd02c8ce9007cf6d26eaeb)) - Update dependency google-crc32c to v1.5.0 ([#​1743](https://togithub.com/googleapis/google-http-java-client/issues/1743)) ([3fd3292](https://togithub.com/googleapis/google-http-java-client/commit/3fd32925fcd3464de74e02a4c7ead5f7469fed8e)) - Update dependency importlib-metadata to v4.12.0 ([#​1746](https://togithub.com/googleapis/google-http-java-client/issues/1746)) ([4658601](https://togithub.com/googleapis/google-http-java-client/commit/465860164392085b5cfb8d355529565e3f53721a)) - Update dependency jeepney to v0.8.0 ([#​1747](https://togithub.com/googleapis/google-http-java-client/issues/1747)) ([0866e4d](https://togithub.com/googleapis/google-http-java-client/commit/0866e4dbd882de6385df56ef47e03d56c2c102b1)) - Update dependency jinja2 to v3.1.2 ([#​1748](https://togithub.com/googleapis/google-http-java-client/issues/1748)) ([1507e04](https://togithub.com/googleapis/google-http-java-client/commit/1507e04d99f6d160f7b0c070d63e2d42dab76c2c)) - Update dependency keyring to v23.9.3 ([#​1749](https://togithub.com/googleapis/google-http-java-client/issues/1749)) ([55bcbd7](https://togithub.com/googleapis/google-http-java-client/commit/55bcbd7ede201e3a7ed9ee8b8c43510905fd61c5)) - Update dependency markupsafe to v2.1.1 ([#​1744](https://togithub.com/googleapis/google-http-java-client/issues/1744)) ([a62cace](https://togithub.com/googleapis/google-http-java-client/commit/a62cace610211ca6e9470e5b8e77e42a005733f0)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.7 ([#​1688](https://togithub.com/googleapis/google-http-java-client/issues/1688)) ([8bea209](https://togithub.com/googleapis/google-http-java-client/commit/8bea209c7b23ffb5a57f683ae21889a87f9b7f55)) - Update dependency org.apache.felix:maven-bundle-plugin to v5.1.8 ([#​1699](https://togithub.com/googleapis/google-http-java-client/issues/1699)) ([fa578e0](https://togithub.com/googleapis/google-http-java-client/commit/fa578e0f7ad6a6c45a0b9de54a936a16a8d345a7)) - Update dependency protobuf to v3.20.2 ([#​1745](https://togithub.com/googleapis/google-http-java-client/issues/1745)) ([3b0fc85](https://togithub.com/googleapis/google-http-java-client/commit/3b0fc8567e55c26676524d81927feb7a6bd82a2f)) - Update dependency protobuf to v4 ([#​1733](https://togithub.com/googleapis/google-http-java-client/issues/1733)) ([99457dd](https://togithub.com/googleapis/google-http-java-client/commit/99457dddbd56e7d284d99227990a5a74fdb6e2e9)) - Update dependency pyjwt to v2.5.0 ([#​1728](https://togithub.com/googleapis/google-http-java-client/issues/1728)) ([c285b9a](https://togithub.com/googleapis/google-http-java-client/commit/c285b9a36bb8b07942f2b7d616b3653465fc2ae2)) - Update dependency requests to v2.28.1 ([#​1729](https://togithub.com/googleapis/google-http-java-client/issues/1729)) ([ee9fc81](https://togithub.com/googleapis/google-http-java-client/commit/ee9fc81d759f2ebb8a36e0eb36c58f7f634b893f)) - Update dependency typing-extensions to v4.3.0 ([#​1730](https://togithub.com/googleapis/google-http-java-client/issues/1730)) ([f8980a4](https://togithub.com/googleapis/google-http-java-client/commit/f8980a41fc77eabeba76326fee5553520a95861d)) - Update dependency zipp to v3.8.1 ([#​1731](https://togithub.com/googleapis/google-http-java-client/issues/1731)) ([49477d4](https://togithub.com/googleapis/google-http-java-client/commit/49477d4207d07bb6dfb00666201f219a01d87d72)) - Update project.appengine.version to v2.0.6 ([#​1704](https://togithub.com/googleapis/google-http-java-client/issues/1704)) ([b33a9c1](https://togithub.com/googleapis/google-http-java-client/commit/b33a9c173a74e631e9d7e04f51df4370f979da10)) - Update project.appengine.version to v2.0.7 ([#​1711](https://togithub.com/googleapis/google-http-java-client/issues/1711)) ([523a260](https://togithub.com/googleapis/google-http-java-client/commit/523a2609bef4b2d4a539a327d353e26f61d9a2c2)) - Update project.appengine.version to v2.0.8 ([#​1723](https://togithub.com/googleapis/google-http-java-client/issues/1723)) ([12a455c](https://togithub.com/googleapis/google-http-java-client/commit/12a455c38b4de3470033be61b06e2beafd911041)) - Update project.appengine.version to v2.0.9 ([#​1753](https://togithub.com/googleapis/google-http-java-client/issues/1753)) ([d047334](https://togithub.com/googleapis/google-http-java-client/commit/d047334616c9a88b00b20e749d2033fc1a6ca6ca))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index df5a900c85ba..637cc41397cf 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -36,7 +36,7 @@ com.google.http-client google-http-client-jackson2 - 1.42.2 + 1.42.3 com.google.cloud From e0b58f3fc15f61e1ae1595487b48e0ebdac27a04 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 15:40:19 +0000 Subject: [PATCH 2774/3036] chore(main): release 1.6.7 (#494) :robot: I have created a release *beep* *boop* --- ## [1.6.7](https://togithub.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) (2022-10-31) ### Dependencies * Update dependency com.google.api:api-common to v2.2.2 ([#497](https://togithub.com/googleapis/java-iam/issues/497)) ([0cb8ba7](https://togithub.com/googleapis/java-iam/commit/0cb8ba78d5c07b64570c65ce14d61db5f08150a8)) * Update dependency com.google.cloud:google-iam-policy to v1.6.6 ([#492](https://togithub.com/googleapis/java-iam/issues/492)) ([bad1c9b](https://togithub.com/googleapis/java-iam/commit/bad1c9b58c4a76017d3665a3ef0887c3481b35e8)) * Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 ([#498](https://togithub.com/googleapis/java-iam/issues/498)) ([b68ed60](https://togithub.com/googleapis/java-iam/commit/b68ed601d723dd235dc21e28b22035860a04e6e0)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#495](https://togithub.com/googleapis/java-iam/issues/495)) ([2462317](https://togithub.com/googleapis/java-iam/commit/2462317d386a59d07a85c8a752371a09635aa86f)) * Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#493](https://togithub.com/googleapis/java-iam/issues/493)) ([160b427](https://togithub.com/googleapis/java-iam/commit/160b427f55f8f8ee4d27ba2c5d2d00664d088ff9)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 11 +++++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 40 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index edacb82598c4..4c52660b994b 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [1.6.7](https://github.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) (2022-10-31) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.2.2 ([#497](https://github.com/googleapis/java-iam/issues/497)) ([bfcb37f](https://github.com/googleapis/java-iam/commit/bfcb37f9d46553a13a51bc8c437b6af046cb3c6c)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.6 ([#492](https://github.com/googleapis/java-iam/issues/492)) ([cb7b782](https://github.com/googleapis/java-iam/commit/cb7b782017eb0ecf4914e4a1de252706bec70d6f)) +* Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 ([#498](https://github.com/googleapis/java-iam/issues/498)) ([002b226](https://github.com/googleapis/java-iam/commit/002b2266fd9db19bade62e219970e7050d2bbbc0)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#495](https://github.com/googleapis/java-iam/issues/495)) ([ef4f95b](https://github.com/googleapis/java-iam/commit/ef4f95b393a02b96f41743b3bcd8349dda0f9822)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#493](https://github.com/googleapis/java-iam/issues/493)) ([fb776ce](https://github.com/googleapis/java-iam/commit/fb776ce04129a55ea9ff0b964df624b64b5865a4)) + ## [1.6.6](https://github.com/googleapis/java-iam/compare/v1.6.5...v1.6.6) (2022-10-25) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 51b3f02eb724..ef2b415fa1ce 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.7-SNAPSHOT + 1.6.7 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.7-SNAPSHOT + 1.6.7 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index cd92687ad774..9addab4d45ed 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.6.7-SNAPSHOT + 1.6.7 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7-SNAPSHOT + 1.6.7 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index cde2a480be1c..a11b2325bc9d 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.6.7-SNAPSHOT + 1.6.7 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.7-SNAPSHOT + 1.6.7 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 3ca87940ff41..b1eb5dc4ddd4 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.6.7-SNAPSHOT + 1.6.7 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7-SNAPSHOT + 1.6.7 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e980d2a08119..b9c3dff837e1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.7-SNAPSHOT + 1.6.7 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.7-SNAPSHOT + 1.6.7 com.google.api.grpc grpc-google-iam-v2 - 1.6.7-SNAPSHOT + 1.6.7 com.google.cloud google-iam-policy - 1.6.7-SNAPSHOT + 1.6.7 com.google.api.grpc proto-google-iam-v2beta - 1.6.7-SNAPSHOT + 1.6.7 com.google.api.grpc grpc-google-iam-v1 - 1.6.7-SNAPSHOT + 1.6.7 com.google.api.grpc grpc-google-iam-v2beta - 1.6.7-SNAPSHOT + 1.6.7 com.google.api.grpc proto-google-iam-v1 - 1.6.7-SNAPSHOT + 1.6.7 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 442cd7592f87..71c93fba9b15 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.6.7-SNAPSHOT + 1.6.7 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7-SNAPSHOT + 1.6.7 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 22f262fc672d..750979c4172f 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.6.7-SNAPSHOT + 1.6.7 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7-SNAPSHOT + 1.6.7 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 0cebbcc967a4..89e1288413c0 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.6.7-SNAPSHOT + 1.6.7 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7-SNAPSHOT + 1.6.7 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index d86d81f8c5fe..f27aef7dfc6c 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.6:1.6.7-SNAPSHOT -grpc-google-iam-v1:1.6.6:1.6.7-SNAPSHOT -proto-google-iam-v2beta:1.6.6:1.6.7-SNAPSHOT -grpc-google-iam-v2beta:1.6.6:1.6.7-SNAPSHOT -google-iam-policy:1.6.6:1.6.7-SNAPSHOT -proto-google-iam-v2:1.6.6:1.6.7-SNAPSHOT -grpc-google-iam-v2:1.6.6:1.6.7-SNAPSHOT +proto-google-iam-v1:1.6.7:1.6.7 +grpc-google-iam-v1:1.6.7:1.6.7 +proto-google-iam-v2beta:1.6.7:1.6.7 +grpc-google-iam-v2beta:1.6.7:1.6.7 +google-iam-policy:1.6.7:1.6.7 +proto-google-iam-v2:1.6.7:1.6.7 +grpc-google-iam-v2:1.6.7:1.6.7 From 6b28df7019c791ee0a2c88b9001709d48526f5e8 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 15:46:19 +0000 Subject: [PATCH 2775/3036] chore(main): release 1.6.8-SNAPSHOT (#501) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index ef2b415fa1ce..b02dbe98d0d1 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.7 + 1.6.8-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.7 + 1.6.8-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 9addab4d45ed..c78475addfd1 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.6.7 + 1.6.8-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7 + 1.6.8-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index a11b2325bc9d..825c20aac825 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.6.7 + 1.6.8-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.7 + 1.6.8-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index b1eb5dc4ddd4..986c5195711a 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.6.7 + 1.6.8-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7 + 1.6.8-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b9c3dff837e1..052b32b0eff2 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.7 + 1.6.8-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.7 + 1.6.8-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.7 + 1.6.8-SNAPSHOT com.google.cloud google-iam-policy - 1.6.7 + 1.6.8-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.7 + 1.6.8-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.7 + 1.6.8-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.7 + 1.6.8-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.7 + 1.6.8-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 71c93fba9b15..851ff06f72a7 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.6.7 + 1.6.8-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7 + 1.6.8-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 750979c4172f..b9565952daaf 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.6.7 + 1.6.8-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7 + 1.6.8-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 89e1288413c0..59fd6c288af2 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.6.7 + 1.6.8-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.7 + 1.6.8-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index f27aef7dfc6c..13c9dcaa5637 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.7:1.6.7 -grpc-google-iam-v1:1.6.7:1.6.7 -proto-google-iam-v2beta:1.6.7:1.6.7 -grpc-google-iam-v2beta:1.6.7:1.6.7 -google-iam-policy:1.6.7:1.6.7 -proto-google-iam-v2:1.6.7:1.6.7 -grpc-google-iam-v2:1.6.7:1.6.7 +proto-google-iam-v1:1.6.7:1.6.8-SNAPSHOT +grpc-google-iam-v1:1.6.7:1.6.8-SNAPSHOT +proto-google-iam-v2beta:1.6.7:1.6.8-SNAPSHOT +grpc-google-iam-v2beta:1.6.7:1.6.8-SNAPSHOT +google-iam-policy:1.6.7:1.6.8-SNAPSHOT +proto-google-iam-v2:1.6.7:1.6.8-SNAPSHOT +grpc-google-iam-v2:1.6.7:1.6.8-SNAPSHOT From e338f4f9f4572f771bce99b0744f676404e46680 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 31 Oct 2022 17:00:29 +0100 Subject: [PATCH 2776/3036] deps: update dependency com.google.api:api-common to v2.2.2 (#999) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.1` -> `2.2.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.2.2/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.2.2`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​222-httpsgithubcomgoogleapisapi-common-javacomparev221v222-2022-08-04) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.2.1...v2.2.2) ##### Dependencies - update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#​364](https://togithub.com/googleapis/api-common-java/issues/364)) ([28ff65d](https://togithub.com/googleapis/api-common-java/commit/28ff65d7e70495cc079379b8e78cb515a2960dae))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4798aa5f9456..47dae58695d5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.19.4 - 2.2.1 + 2.2.2 2.9.6 1.6.6 1.12.1 From a6c367a2c5084a805afbb1a75fcd72a6fb01a676 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:06:17 +0000 Subject: [PATCH 2777/3036] chore(main): release 2.8.25 (#1002) :robot: I have created a release *beep* *boop* --- ## [2.8.25](https://togithub.com/googleapis/java-core/compare/v2.8.24...v2.8.25) (2022-10-31) ### Dependencies * Update dependency com.google.api:api-common to v2.2.2 ([#999](https://togithub.com/googleapis/java-core/issues/999)) ([e338f4f](https://togithub.com/googleapis/java-core/commit/e338f4f9f4572f771bce99b0744f676404e46680)) * Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#1001](https://togithub.com/googleapis/java-core/issues/1001)) ([f271492](https://togithub.com/googleapis/java-core/commit/f27149236b59dc54d7b1ad147c06c865b91bba95)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#998](https://togithub.com/googleapis/java-core/issues/998)) ([23fe4e0](https://togithub.com/googleapis/java-core/commit/23fe4e097cd9b7732bd28d58312e97cdeb41960f)) * Update dependency org.threeten:threetenbp to v1.6.4 ([#1003](https://togithub.com/googleapis/java-core/issues/1003)) ([b55cde7](https://togithub.com/googleapis/java-core/commit/b55cde70a39174d32969b4c3b04853f0337494ca)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 10 ++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index c13a324d933c..8b219ee98a90 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [2.8.25](https://github.com/googleapis/java-core/compare/v2.8.24...v2.8.25) (2022-10-31) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.2.2 ([#999](https://github.com/googleapis/java-core/issues/999)) ([e639a64](https://github.com/googleapis/java-core/commit/e639a641c3041c829b8e58eeed79df6352e1c7eb)) +* Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#1001](https://github.com/googleapis/java-core/issues/1001)) ([8e35c4f](https://github.com/googleapis/java-core/commit/8e35c4ffe5c12f0e4e570b04d0563640c688eb91)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#998](https://github.com/googleapis/java-core/issues/998)) ([ce2d265](https://github.com/googleapis/java-core/commit/ce2d265669cd8fb43d1de43f02c53384c1d73a0d)) +* Update dependency org.threeten:threetenbp to v1.6.4 ([#1003](https://github.com/googleapis/java-core/issues/1003)) ([a69f122](https://github.com/googleapis/java-core/commit/a69f122b6bd84f6a3ddb496f77a1aa1fba072d13)) + ## [2.8.24](https://github.com/googleapis/java-core/compare/v2.8.23...v2.8.24) (2022-10-26) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index b5f2a398f658..94ec849c93e1 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.25-SNAPSHOT + 2.8.25 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.25-SNAPSHOT + 2.8.25 com.google.cloud google-cloud-core-grpc - 2.8.25-SNAPSHOT + 2.8.25 com.google.cloud google-cloud-core-http - 2.8.25-SNAPSHOT + 2.8.25
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2aa746b95ec5..9dea7625585a 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.8.25-SNAPSHOT + 2.8.25 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.25-SNAPSHOT + 2.8.25 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 9f77ff433a2e..f0f79300f2f7 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.8.25-SNAPSHOT + 2.8.25 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.25-SNAPSHOT + 2.8.25 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 4c1107942ade..fe05a28a904e 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.8.25-SNAPSHOT + 2.8.25 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.25-SNAPSHOT + 2.8.25 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 47dae58695d5..747753bc7f33 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.25-SNAPSHOT + 2.8.25 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 9c486a24ddbf..5d95021f35e9 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.24:2.8.25-SNAPSHOT +google-cloud-core:2.8.25:2.8.25 From 44ab401e6cc101b8771979969ff38ee23a4cd290 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:12:17 +0000 Subject: [PATCH 2778/3036] chore(main): release 2.8.26-SNAPSHOT (#1004) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 94ec849c93e1..6b5d4252a9cb 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.25 + 2.8.26-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.25 + 2.8.26-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.25 + 2.8.26-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.25 + 2.8.26-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9dea7625585a..b592cdd021b6 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.8.25 + 2.8.26-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.25 + 2.8.26-SNAPSHOT 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 f0f79300f2f7..f0d155cacd7b 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.8.25 + 2.8.26-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.25 + 2.8.26-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fe05a28a904e..8465e25d4231 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.8.25 + 2.8.26-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.25 + 2.8.26-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 747753bc7f33..93f226d6cef2 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.25 + 2.8.26-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 5d95021f35e9..a13944997c45 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.25:2.8.25 +google-cloud-core:2.8.25:2.8.26-SNAPSHOT From d2baed57f798b7c153678ce87bd486f9808dbc46 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:44:13 +0100 Subject: [PATCH 2779/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2.0.1 (#899) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client/tree/master/google-api-client-bom) ([source](https://togithub.com/googleapis/google-api-java-client)) | `2.0.0` -> `2.0.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/compatibility-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/confidence-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v2.0.1`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​201-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev200v201-2022-11-05) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v2.0.0...v2.0.1) ##### Bug Fixes - Add error description to batch emptiness validation ([#​2109](https://togithub.com/googleapis/google-api-java-client/issues/2109)) ([2668dd1](https://togithub.com/googleapis/google-api-java-client/commit/2668dd1348e7710a83e008b1e2b2ff6fceedfedf)) - **deps:** Update dependency com.google.api-client:google-api-client to v2 ([#​2108](https://togithub.com/googleapis/google-api-java-client/issues/2108)) ([570a162](https://togithub.com/googleapis/google-api-java-client/commit/570a1625fbb3806961d328d90d784b5f0ed21a0c)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.10 ([#​2174](https://togithub.com/googleapis/google-api-java-client/issues/2174)) ([9077b4a](https://togithub.com/googleapis/google-api-java-client/commit/9077b4ae4c4214cb0fdcb5248f8c7ecbeb51d27f)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.6 ([#​2124](https://togithub.com/googleapis/google-api-java-client/issues/2124)) ([51adc54](https://togithub.com/googleapis/google-api-java-client/commit/51adc541819284dabcdefef39fa39b4a0bd13f6a)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.7 ([#​2131](https://togithub.com/googleapis/google-api-java-client/issues/2131)) ([6892bb2](https://togithub.com/googleapis/google-api-java-client/commit/6892bb293ca578b793fe0024c884b21e675abd45)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.8 ([#​2140](https://togithub.com/googleapis/google-api-java-client/issues/2140)) ([bb6f19c](https://togithub.com/googleapis/google-api-java-client/commit/bb6f19ce2a89f6d419c908eff7faa944ea74799e)) - **deps:** Update dependency com.google.cloud:libraries-bom to v26.1.0 ([#​2126](https://togithub.com/googleapis/google-api-java-client/issues/2126)) ([3d0e0ff](https://togithub.com/googleapis/google-api-java-client/commit/3d0e0ff57cde5ca9eb56e5266dc5c37f3777179d)) - **deps:** Update dependency com.google.cloud:libraries-bom to v26.1.1 ([#​2134](https://togithub.com/googleapis/google-api-java-client/issues/2134)) ([15ce062](https://togithub.com/googleapis/google-api-java-client/commit/15ce06244a06b64545f145a2ebdfb62863fcbad4)) - **deps:** Update dependency com.google.cloud:libraries-bom to v26.1.2 ([#​2143](https://togithub.com/googleapis/google-api-java-client/issues/2143)) ([da2f6f3](https://togithub.com/googleapis/google-api-java-client/commit/da2f6f3e4645ff3b84465943833404526077ad20))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a2e90aa5e714..e9429af9082d 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.12.1 1.42.3 1.34.1 - 2.0.0 + 2.0.1 1.6.6
    From f6c1155bbd0a01b6a25948f7c6117a50fd85e9de Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:44:18 +0100 Subject: [PATCH 2780/3036] deps: update dependency org.checkerframework:checker-qual to v3.27.0 (#896) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.checkerframework:checker-qual](https://checkerframework.org) ([source](https://togithub.com/typetools/checker-framework)) | `3.26.0` -> `3.27.0` | [![age](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.27.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.27.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.27.0/compatibility-slim/3.26.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.checkerframework:checker-qual/3.27.0/confidence-slim/3.26.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index aa807d75c965..82c2452b2e6f 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 4.4.15 4.5.13 - 3.26.0 + 3.27.0 0.25.0
    From 46aeddfe2ce2325ab8ae9a6654c500f847855acb Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:46:15 +0100 Subject: [PATCH 2781/3036] deps: update google.common-protos.version to v2.10.0 (#900) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-common-protos](https://togithub.com/googleapis/java-iam/grpc-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.6` -> `2.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.10.0/compatibility-slim/2.9.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-common-protos/2.10.0/confidence-slim/2.9.6)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.6` -> `2.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/compatibility-slim/2.9.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/confidence-slim/2.9.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.10.0`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​2100-httpsgithubcomgoogleapisjava-common-protoscomparev296v2100-2022-11-04) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.6...v2.10.0) ##### Features - Add FirstPartyAppMetadata to the BigQueryAuditMetadata proto, it contains metadata about requests originating from Google apps, such as Google Sheets ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) - Add PolicyViolation to the AuditLog proto, this will only be present when access is denied due to Organization Policy. It describes why access is denied ([#​456](https://togithub.com/googleapis/java-common-protos/issues/456)) ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) - Added new events to BigQueryAuditMetadata such as UnlinkDataset and RowAccessPolicyCreation ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) ##### Documentation - Updated multiple comments ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) ##### Dependencies - Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#​461](https://togithub.com/googleapis/java-common-protos/issues/461)) ([7f94cb8](https://togithub.com/googleapis/java-common-protos/commit/7f94cb874aa0dd618eb47ab85a85dfe7cdcfbf81)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​469](https://togithub.com/googleapis/java-common-protos/issues/469)) ([965c1a1](https://togithub.com/googleapis/java-common-protos/commit/965c1a1fad3a37124ce7692bd4ae247771234bea)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​462](https://togithub.com/googleapis/java-common-protos/issues/462)) ([185feb3](https://togithub.com/googleapis/java-common-protos/commit/185feb3813e54beaeb536d568644b26391470219)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​470](https://togithub.com/googleapis/java-common-protos/issues/470)) ([499bcac](https://togithub.com/googleapis/java-common-protos/commit/499bcacc83141fb2fcb1b84c5942dfb53d316c22)) - Update dependency io.grpc:grpc-bom to v1.50.0 ([#​458](https://togithub.com/googleapis/java-common-protos/issues/458)) ([37fae19](https://togithub.com/googleapis/java-common-protos/commit/37fae1934006613914e8123cde69c8f82158fd12)) - Update dependency io.grpc:grpc-bom to v1.50.2 ([#​463](https://togithub.com/googleapis/java-common-protos/issues/463)) ([9f5407d](https://togithub.com/googleapis/java-common-protos/commit/9f5407db1a44d331a881739d410fa67df39e3e71)) - Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#​459](https://togithub.com/googleapis/java-common-protos/issues/459)) ([3f7c015](https://togithub.com/googleapis/java-common-protos/commit/3f7c0152e774bba00371f11e51efce9ca0cfa466)) - Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#​464](https://togithub.com/googleapis/java-common-protos/issues/464)) ([2910c5e](https://togithub.com/googleapis/java-common-protos/commit/2910c5e862440d37e672646e2c7845eb39a3002c)) - Update dependency io.grpc:grpc-stub to v1.50.0 ([#​460](https://togithub.com/googleapis/java-common-protos/issues/460)) ([a056a8a](https://togithub.com/googleapis/java-common-protos/commit/a056a8a111974fe0c8312effcfe33da5b50c2100)) - Update dependency io.grpc:grpc-stub to v1.50.2 ([#​465](https://togithub.com/googleapis/java-common-protos/issues/465)) ([5d6780c](https://togithub.com/googleapis/java-common-protos/commit/5d6780cfcfdd7e65beb89a7e7c7dd455204901fa))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e9429af9082d..7c27dd826a6e 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 31.1-jre 3.21.9 2.2.2 - 2.9.6 + 2.10.0 2.8.24 1.12.1 1.42.3 From feda2e7d2d9026dffcdfe71f443199505e5bb215 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:48:14 +0100 Subject: [PATCH 2782/3036] deps: update iam.version to v1.6.7 (#895) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.6` -> `1.6.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.7/compatibility-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.7/confidence-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.6` -> `1.6.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/compatibility-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/confidence-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.7`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​167-httpsgithubcomgoogleapisjava-iamcomparev166v167-2022-10-31) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) ##### Dependencies - Update dependency com.google.api:api-common to v2.2.2 ([#​497](https://togithub.com/googleapis/java-iam/issues/497)) ([bfcb37f](https://togithub.com/googleapis/java-iam/commit/bfcb37f9d46553a13a51bc8c437b6af046cb3c6c)) - Update dependency com.google.cloud:google-iam-policy to v1.6.6 ([#​492](https://togithub.com/googleapis/java-iam/issues/492)) ([cb7b782](https://togithub.com/googleapis/java-iam/commit/cb7b782017eb0ecf4914e4a1de252706bec70d6f)) - Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 ([#​498](https://togithub.com/googleapis/java-iam/issues/498)) ([002b226](https://togithub.com/googleapis/java-iam/commit/002b2266fd9db19bade62e219970e7050d2bbbc0)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​495](https://togithub.com/googleapis/java-iam/issues/495)) ([ef4f95b](https://togithub.com/googleapis/java-iam/commit/ef4f95b393a02b96f41743b3bcd8349dda0f9822)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​493](https://togithub.com/googleapis/java-iam/issues/493)) ([fb776ce](https://togithub.com/googleapis/java-iam/commit/fb776ce04129a55ea9ff0b964df624b64b5865a4))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 7c27dd826a6e..e96a2fd41139 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.6 + 1.6.7
    From bbcaed9a9688a054adbb8d4615af14566b98a297 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:50:36 +0100 Subject: [PATCH 2783/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2.0.1 (#1011) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api-client:google-api-client-bom](https://togithub.com/googleapis/google-api-java-client/tree/master/google-api-client-bom) ([source](https://togithub.com/googleapis/google-api-java-client)) | `2.0.0` -> `2.0.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/compatibility-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api-client:google-api-client-bom/2.0.1/confidence-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-api-java-client ### [`v2.0.1`](https://togithub.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#​201-httpsgithubcomgoogleapisgoogle-api-java-clientcomparev200v201-2022-11-05) [Compare Source](https://togithub.com/googleapis/google-api-java-client/compare/v2.0.0...v2.0.1) ##### Bug Fixes - Add error description to batch emptiness validation ([#​2109](https://togithub.com/googleapis/google-api-java-client/issues/2109)) ([2668dd1](https://togithub.com/googleapis/google-api-java-client/commit/2668dd1348e7710a83e008b1e2b2ff6fceedfedf)) - **deps:** Update dependency com.google.api-client:google-api-client to v2 ([#​2108](https://togithub.com/googleapis/google-api-java-client/issues/2108)) ([570a162](https://togithub.com/googleapis/google-api-java-client/commit/570a1625fbb3806961d328d90d784b5f0ed21a0c)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.10 ([#​2174](https://togithub.com/googleapis/google-api-java-client/issues/2174)) ([9077b4a](https://togithub.com/googleapis/google-api-java-client/commit/9077b4ae4c4214cb0fdcb5248f8c7ecbeb51d27f)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.6 ([#​2124](https://togithub.com/googleapis/google-api-java-client/issues/2124)) ([51adc54](https://togithub.com/googleapis/google-api-java-client/commit/51adc541819284dabcdefef39fa39b4a0bd13f6a)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.7 ([#​2131](https://togithub.com/googleapis/google-api-java-client/issues/2131)) ([6892bb2](https://togithub.com/googleapis/google-api-java-client/commit/6892bb293ca578b793fe0024c884b21e675abd45)) - **deps:** Update dependency com.google.appengine:appengine-api-1.0-sdk to v2.0.8 ([#​2140](https://togithub.com/googleapis/google-api-java-client/issues/2140)) ([bb6f19c](https://togithub.com/googleapis/google-api-java-client/commit/bb6f19ce2a89f6d419c908eff7faa944ea74799e)) - **deps:** Update dependency com.google.cloud:libraries-bom to v26.1.0 ([#​2126](https://togithub.com/googleapis/google-api-java-client/issues/2126)) ([3d0e0ff](https://togithub.com/googleapis/google-api-java-client/commit/3d0e0ff57cde5ca9eb56e5266dc5c37f3777179d)) - **deps:** Update dependency com.google.cloud:libraries-bom to v26.1.1 ([#​2134](https://togithub.com/googleapis/google-api-java-client/issues/2134)) ([15ce062](https://togithub.com/googleapis/google-api-java-client/commit/15ce06244a06b64545f145a2ebdfb62863fcbad4)) - **deps:** Update dependency com.google.cloud:libraries-bom to v26.1.2 ([#​2143](https://togithub.com/googleapis/google-api-java-client/issues/2143)) ([da2f6f3](https://togithub.com/googleapis/google-api-java-client/commit/da2f6f3e4645ff3b84465943833404526077ad20))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 93f226d6cef2..ab2320df7b0d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.9.6 1.6.6 1.12.1 - 2.0.0 + 2.0.1 1.42.3 1.50.2 3.21.9 From 4e3d1162403a236443c8dbb00cbe23bd6c6c225a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:50:36 +0100 Subject: [PATCH 2784/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.14.0 (#901) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.fasterxml.jackson:jackson-bom](https://togithub.com/FasterXML/jackson-bom) | `2.13.4.20221013` -> `2.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.0/compatibility-slim/2.13.4.20221013)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.0/confidence-slim/2.13.4.20221013)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 82c2452b2e6f..a51483edfd1c 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 0.31.1 3.0.2 2.16 - 2.13.4.20221013 + 2.14.0 1.15 4.4.15 4.5.13 From aac06c231ae59e4e913a228328202bdceda39ec4 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:50:41 +0100 Subject: [PATCH 2785/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.7 (#1005) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.6` -> `1.6.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/compatibility-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.7/confidence-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.7`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​167-httpsgithubcomgoogleapisjava-iamcomparev166v167-2022-10-31) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) ##### Dependencies - Update dependency com.google.api:api-common to v2.2.2 ([#​497](https://togithub.com/googleapis/java-iam/issues/497)) ([bfcb37f](https://togithub.com/googleapis/java-iam/commit/bfcb37f9d46553a13a51bc8c437b6af046cb3c6c)) - Update dependency com.google.cloud:google-iam-policy to v1.6.6 ([#​492](https://togithub.com/googleapis/java-iam/issues/492)) ([cb7b782](https://togithub.com/googleapis/java-iam/commit/cb7b782017eb0ecf4914e4a1de252706bec70d6f)) - Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 ([#​498](https://togithub.com/googleapis/java-iam/issues/498)) ([002b226](https://togithub.com/googleapis/java-iam/commit/002b2266fd9db19bade62e219970e7050d2bbbc0)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​495](https://togithub.com/googleapis/java-iam/issues/495)) ([ef4f95b](https://togithub.com/googleapis/java-iam/commit/ef4f95b393a02b96f41743b3bcd8349dda0f9822)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​493](https://togithub.com/googleapis/java-iam/issues/493)) ([fb776ce](https://togithub.com/googleapis/java-iam/commit/fb776ce04129a55ea9ff0b964df624b64b5865a4))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index ab2320df7b0d..43c3f53e0c6e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.4 2.2.2 2.9.6 - 1.6.6 + 1.6.7 1.12.1 2.0.1 1.42.3 From 8251189005da60904065fa931b8c62f853f1b1f2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 00:52:14 +0000 Subject: [PATCH 2786/3036] test: add presubmit to verify java_library requirements file (#1701) (#1008) * test: add presubmit to verify java_library requirements file Source-Link: https://togithub.com/googleapis/synthtool/commit/d14818215edae9910959439def57cf180d58f4c9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.txt | 50 ++++++++++++++++------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 82b5a1a2e2e1..66768d0ccb29 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d + digest: sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 4a16dfadf82a..02ae42bb4039 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -339,29 +339,33 @@ packaging==21.3 \ # via # -r requirements.in # gcp-releasetool -protobuf==3.20.2 \ - --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ - --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ - --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ - --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ - --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ - --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ - --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ - --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ - --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ - --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ - --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ - --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ - --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ - --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ - --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ - --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ - --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ - --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ - --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ - --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ - --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ - --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 +protobuf==3.19.5 \ + --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ + --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ + --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ + --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ + --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ + --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ + --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ + --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ + --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ + --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ + --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ + --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ + --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ + --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ + --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ + --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ + --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ + --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ + --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ + --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ + --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ + --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ + --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ + --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ + --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ + --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de # via # -r requirements.in # gcp-docuploader From 38d7dd2cafeb7fd56072f514546506fc59350cbe Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 00:52:14 +0000 Subject: [PATCH 2787/3036] test: add presubmit to verify java_library requirements file (#1701) (#898) * test: add presubmit to verify java_library requirements file Source-Link: https://togithub.com/googleapis/synthtool/commit/d14818215edae9910959439def57cf180d58f4c9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 --- .../.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/requirements.txt | 50 ++++++++++--------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 82b5a1a2e2e1..66768d0ccb29 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:894d56f45fc3f4f0d5f3bcf790846419ee2d8e44715eae8917d6a1bba2b7283d + digest: sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 4a16dfadf82a..02ae42bb4039 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -339,29 +339,33 @@ packaging==21.3 \ # via # -r requirements.in # gcp-releasetool -protobuf==3.20.2 \ - --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ - --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ - --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ - --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ - --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ - --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ - --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ - --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ - --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ - --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ - --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ - --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ - --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ - --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ - --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ - --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ - --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ - --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ - --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ - --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ - --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ - --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 +protobuf==3.19.5 \ + --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ + --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ + --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ + --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ + --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ + --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ + --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ + --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ + --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ + --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ + --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ + --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ + --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ + --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ + --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ + --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ + --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ + --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ + --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ + --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ + --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ + --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ + --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ + --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ + --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ + --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de # via # -r requirements.in # gcp-docuploader From 1f41e6b9bf86ea94dbd0efda348d46f04e62baa4 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 01:56:14 +0100 Subject: [PATCH 2788/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.10.0 (#1010) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam/proto-google-common-protos) ([source](https://togithub.com/googleapis/java-common-protos)) | `2.9.6` -> `2.10.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/compatibility-slim/2.9.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-common-protos/2.10.0/confidence-slim/2.9.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-common-protos ### [`v2.10.0`](https://togithub.com/googleapis/java-common-protos/blob/HEAD/CHANGELOG.md#​2100-httpsgithubcomgoogleapisjava-common-protoscomparev296v2100-2022-11-04) [Compare Source](https://togithub.com/googleapis/java-common-protos/compare/v2.9.6...v2.10.0) ##### Features - Add FirstPartyAppMetadata to the BigQueryAuditMetadata proto, it contains metadata about requests originating from Google apps, such as Google Sheets ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) - Add PolicyViolation to the AuditLog proto, this will only be present when access is denied due to Organization Policy. It describes why access is denied ([#​456](https://togithub.com/googleapis/java-common-protos/issues/456)) ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) - Added new events to BigQueryAuditMetadata such as UnlinkDataset and RowAccessPolicyCreation ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) ##### Documentation - Updated multiple comments ([86a868f](https://togithub.com/googleapis/java-common-protos/commit/86a868fd3925ec91e6acb7282195df8b5ad0f372)) ##### Dependencies - Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#​461](https://togithub.com/googleapis/java-common-protos/issues/461)) ([7f94cb8](https://togithub.com/googleapis/java-common-protos/commit/7f94cb874aa0dd618eb47ab85a85dfe7cdcfbf81)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​469](https://togithub.com/googleapis/java-common-protos/issues/469)) ([965c1a1](https://togithub.com/googleapis/java-common-protos/commit/965c1a1fad3a37124ce7692bd4ae247771234bea)) - Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#​462](https://togithub.com/googleapis/java-common-protos/issues/462)) ([185feb3](https://togithub.com/googleapis/java-common-protos/commit/185feb3813e54beaeb536d568644b26391470219)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​470](https://togithub.com/googleapis/java-common-protos/issues/470)) ([499bcac](https://togithub.com/googleapis/java-common-protos/commit/499bcacc83141fb2fcb1b84c5942dfb53d316c22)) - Update dependency io.grpc:grpc-bom to v1.50.0 ([#​458](https://togithub.com/googleapis/java-common-protos/issues/458)) ([37fae19](https://togithub.com/googleapis/java-common-protos/commit/37fae1934006613914e8123cde69c8f82158fd12)) - Update dependency io.grpc:grpc-bom to v1.50.2 ([#​463](https://togithub.com/googleapis/java-common-protos/issues/463)) ([9f5407d](https://togithub.com/googleapis/java-common-protos/commit/9f5407db1a44d331a881739d410fa67df39e3e71)) - Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#​459](https://togithub.com/googleapis/java-common-protos/issues/459)) ([3f7c015](https://togithub.com/googleapis/java-common-protos/commit/3f7c0152e774bba00371f11e51efce9ca0cfa466)) - Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#​464](https://togithub.com/googleapis/java-common-protos/issues/464)) ([2910c5e](https://togithub.com/googleapis/java-common-protos/commit/2910c5e862440d37e672646e2c7845eb39a3002c)) - Update dependency io.grpc:grpc-stub to v1.50.0 ([#​460](https://togithub.com/googleapis/java-common-protos/issues/460)) ([a056a8a](https://togithub.com/googleapis/java-common-protos/commit/a056a8a111974fe0c8312effcfe33da5b50c2100)) - Update dependency io.grpc:grpc-stub to v1.50.2 ([#​465](https://togithub.com/googleapis/java-common-protos/issues/465)) ([5d6780c](https://togithub.com/googleapis/java-common-protos/commit/5d6780cfcfdd7e65beb89a7e7c7dd455204901fa))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 43c3f53e0c6e..8edf6b468b08 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.19.4 2.2.2 - 2.9.6 + 2.10.0 1.6.7 1.12.1 2.0.1 From 4d41e90830059ac2a59c2146a13a2813eceb77a4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 00:56:14 +0000 Subject: [PATCH 2789/3036] test: add presubmit to verify java_library requirements file (#1701) (#898) * test: add presubmit to verify java_library requirements file Source-Link: https://togithub.com/googleapis/synthtool/commit/d14818215edae9910959439def57cf180d58f4c9 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 From a4f0795ff4bde315a0980de592924be8c917ad95 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 01:02:13 +0000 Subject: [PATCH 2790/3036] chore(main): release 2.8.26 (#1012) :robot: I have created a release *beep* *boop* --- ## [2.8.26](https://togithub.com/googleapis/java-core/compare/v2.8.25...v2.8.26) (2022-11-07) ### Dependencies * Update dependency com.google.api-client:google-api-client-bom to v2.0.1 ([#1011](https://togithub.com/googleapis/java-core/issues/1011)) ([bbcaed9](https://togithub.com/googleapis/java-core/commit/bbcaed9a9688a054adbb8d4615af14566b98a297)) * Update dependency com.google.api.grpc:proto-google-common-protos to v2.10.0 ([#1010](https://togithub.com/googleapis/java-core/issues/1010)) ([1f41e6b](https://togithub.com/googleapis/java-core/commit/1f41e6b9bf86ea94dbd0efda348d46f04e62baa4)) * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.7 ([#1005](https://togithub.com/googleapis/java-core/issues/1005)) ([aac06c2](https://togithub.com/googleapis/java-core/commit/aac06c231ae59e4e913a228328202bdceda39ec4)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 9 +++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 8b219ee98a90..feb868175f57 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [2.8.26](https://github.com/googleapis/java-core/compare/v2.8.25...v2.8.26) (2022-11-07) + + +### Dependencies + +* Update dependency com.google.api-client:google-api-client-bom to v2.0.1 ([#1011](https://github.com/googleapis/java-core/issues/1011)) ([e52b05c](https://github.com/googleapis/java-core/commit/e52b05c0b4973258d7d783af725182d5ba834c25)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.10.0 ([#1010](https://github.com/googleapis/java-core/issues/1010)) ([db9d19e](https://github.com/googleapis/java-core/commit/db9d19e9e760bef0c543f7e5da6af172a7ceca06)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.7 ([#1005](https://github.com/googleapis/java-core/issues/1005)) ([45513e6](https://github.com/googleapis/java-core/commit/45513e639543ca2025d4c4c4cd84f5735c067443)) + ## [2.8.25](https://github.com/googleapis/java-core/compare/v2.8.24...v2.8.25) (2022-10-31) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 6b5d4252a9cb..0455957c1db3 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.26-SNAPSHOT + 2.8.26 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.26-SNAPSHOT + 2.8.26 com.google.cloud google-cloud-core-grpc - 2.8.26-SNAPSHOT + 2.8.26 com.google.cloud google-cloud-core-http - 2.8.26-SNAPSHOT + 2.8.26
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b592cdd021b6..c9a851daabfc 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.8.26-SNAPSHOT + 2.8.26 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.26-SNAPSHOT + 2.8.26 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 f0d155cacd7b..546899d7b842 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.8.26-SNAPSHOT + 2.8.26 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.26-SNAPSHOT + 2.8.26 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 8465e25d4231..713df4874bfa 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.8.26-SNAPSHOT + 2.8.26 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.26-SNAPSHOT + 2.8.26 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 8edf6b468b08..10c7dbe7550d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.26-SNAPSHOT + 2.8.26 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index a13944997c45..4ad4a4097852 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.25:2.8.26-SNAPSHOT +google-cloud-core:2.8.26:2.8.26 From d259498cebe8db815d293fde45c75a17d62baa4d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 01:08:14 +0000 Subject: [PATCH 2791/3036] chore(main): release 2.8.27-SNAPSHOT (#1013) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 0455957c1db3..a06fca093534 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.26 + 2.8.27-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.26 + 2.8.27-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.26 + 2.8.27-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.26 + 2.8.27-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c9a851daabfc..2dd685a1ea88 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.8.26 + 2.8.27-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.26 + 2.8.27-SNAPSHOT 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 546899d7b842..1e0215ec314f 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.8.26 + 2.8.27-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.26 + 2.8.27-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 713df4874bfa..43f1a8e3c94a 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.8.26 + 2.8.27-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.26 + 2.8.27-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 10c7dbe7550d..60eadc1c4084 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.26 + 2.8.27-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 4ad4a4097852..0b638945abcc 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.26:2.8.26 +google-cloud-core:2.8.26:2.8.27-SNAPSHOT From 893564b4c67b3c2252fdcf0d673559d08c4335cd Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:36:13 +0000 Subject: [PATCH 2792/3036] chore: require hashes when installing dependencies in owlbot postprocessor job (#1691) (#1007) * chore: install dependencies through requirements file Source-Link: https://togithub.com/googleapis/synthtool/commit/35f4cbaf1295a726cb43fd4471129ec74b48e04e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:821ab7aba89af2c7907e29297bba024d4cd5366d0684e5eb463391cdf4edc9ee --- java-core/.github/.OwlBot.lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 66768d0ccb29..97a726b8167e 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 + digest: sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 \ No newline at end of file From c2e6f3ec03b20210104e307e8c23392d9de6d5f7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 06:41:24 +0100 Subject: [PATCH 2793/3036] deps: update dependency com.google.api:gax-bom to v2.19.5 (#1014) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 60eadc1c4084..23a50bb6117d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.19.4 + 2.19.5 2.2.2 2.10.0 1.6.7 From 629becd1bab3db0fcc54b43ffc600a2dd841c6c9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 05:48:24 +0000 Subject: [PATCH 2794/3036] chore(main): release 2.8.27 (#1015) :robot: I have created a release *beep* *boop* --- ## [2.8.27](https://togithub.com/googleapis/java-core/compare/v2.8.26...v2.8.27) (2022-11-07) ### Dependencies * Update dependency com.google.api:gax-bom to v2.19.5 ([#1014](https://togithub.com/googleapis/java-core/issues/1014)) ([c2e6f3e](https://togithub.com/googleapis/java-core/commit/c2e6f3ec03b20210104e307e8c23392d9de6d5f7)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index feb868175f57..fcc533887452 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.27](https://github.com/googleapis/java-core/compare/v2.8.26...v2.8.27) (2022-11-07) + + +### Dependencies + +* Update dependency com.google.api:gax-bom to v2.19.5 ([#1014](https://github.com/googleapis/java-core/issues/1014)) ([00753f8](https://github.com/googleapis/java-core/commit/00753f88745ad0232658b634aadf5250c6daad01)) + ## [2.8.26](https://github.com/googleapis/java-core/compare/v2.8.25...v2.8.26) (2022-11-07) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a06fca093534..f656c0735101 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.27-SNAPSHOT + 2.8.27 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.27-SNAPSHOT + 2.8.27 com.google.cloud google-cloud-core-grpc - 2.8.27-SNAPSHOT + 2.8.27 com.google.cloud google-cloud-core-http - 2.8.27-SNAPSHOT + 2.8.27
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 2dd685a1ea88..86547b842eec 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.8.27-SNAPSHOT + 2.8.27 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.27-SNAPSHOT + 2.8.27 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 1e0215ec314f..94904886f076 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.8.27-SNAPSHOT + 2.8.27 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.27-SNAPSHOT + 2.8.27 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 43f1a8e3c94a..fa58ff8c8ade 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.8.27-SNAPSHOT + 2.8.27 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.27-SNAPSHOT + 2.8.27 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 23a50bb6117d..a3fecaaea2aa 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.27-SNAPSHOT + 2.8.27 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0b638945abcc..d9d296348eb9 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.26:2.8.27-SNAPSHOT +google-cloud-core:2.8.27:2.8.27 From 55fd7c2cd50f3c905e7bea72c66f669d01bbefcc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 05:54:24 +0000 Subject: [PATCH 2795/3036] chore(main): release 2.8.28-SNAPSHOT (#1016) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index f656c0735101..6c5ad352260b 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.27 + 2.8.28-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.27 + 2.8.28-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.27 + 2.8.28-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.27 + 2.8.28-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 86547b842eec..751a3bb6a23f 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.8.27 + 2.8.28-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.27 + 2.8.28-SNAPSHOT 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 94904886f076..9f65d0c2e7e0 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.8.27 + 2.8.28-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.27 + 2.8.28-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index fa58ff8c8ade..30fd78073be3 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.8.27 + 2.8.28-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.27 + 2.8.28-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index a3fecaaea2aa..fa588dfd7a7b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.27 + 2.8.28-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index d9d296348eb9..29d72b2e6e95 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.27:2.8.27 +google-cloud-core:2.8.27:2.8.28-SNAPSHOT From a53f404799ac6fd4e3005ea781f74a245fd7b7c7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 16:24:55 +0100 Subject: [PATCH 2796/3036] deps: update google.core.version to v2.8.27 (#902) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e96a2fd41139..e84692f137fc 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.9 2.2.2 2.10.0 - 2.8.24 + 2.8.27 1.12.1 1.42.3 1.34.1 From 0e155c476ee8280921d234286eed8732997dd2a6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 16:25:52 +0100 Subject: [PATCH 2797/3036] deps: update dependency io.grpc:grpc-bom to v1.50.2 (#878) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index e84692f137fc..a28e4958ff89 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.50.1 + 1.50.2 2.19.4 1.3.1 2.10 From ba1ae389185f2fffaec10cf69ad6644389af9571 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 7 Nov 2022 16:30:36 +0100 Subject: [PATCH 2798/3036] deps: update gax.version to v2.19.5 (#903) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-grpc](https://togithub.com/googleapis/gax-java) | `2.19.4` -> `2.19.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.5/compatibility-slim/2.19.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-grpc/2.19.5/confidence-slim/2.19.4)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.19.4` -> `2.19.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.5/compatibility-slim/2.19.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.19.5/confidence-slim/2.19.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gax-java ### [`v2.19.5`](https://togithub.com/googleapis/gax-java/blob/HEAD/CHANGELOG.md#​2195-httpsgithubcomgoogleapisgax-javacomparev2194v2195-2022-11-07) [Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.19.4...v2.19.5) ##### Bug Fixes - **deps:** Update dependency com.google.cloud:google-cloud-shared-config to v1.5.4 ([#​1840](https://togithub.com/googleapis/gax-java/issues/1840)) ([8f7a38c](https://togithub.com/googleapis/gax-java/commit/8f7a38ca0a9d187af49649adf7d96ef97c9e9915)) - **deps:** Update dependency com.google.code.gson:gson to v2.10 ([#​1845](https://togithub.com/googleapis/gax-java/issues/1845)) ([816e666](https://togithub.com/googleapis/gax-java/commit/816e6665e06bc65cbaf2703617342c8db9780115)) - **deps:** Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​1850](https://togithub.com/googleapis/gax-java/issues/1850)) ([f270ac4](https://togithub.com/googleapis/gax-java/commit/f270ac45b6a21d531eb8bd75157f2784fcad90fc)) - **deps:** Update dependency io.grpc:grpc-bom to v1.50.2 ([#​1842](https://togithub.com/googleapis/gax-java/issues/1842)) ([11c4a7c](https://togithub.com/googleapis/gax-java/commit/11c4a7caf31de256f29678de829f11f9558adcfd)) - **deps:** Update dependency org.mockito:mockito-core to v4.8.1 ([#​1843](https://togithub.com/googleapis/gax-java/issues/1843)) ([bf67fc2](https://togithub.com/googleapis/gax-java/commit/bf67fc26236286d72b9ddcb2e66113fdac74b51a)) - **deps:** Update dependency org.threeten:threetenbp to v1.6.4 ([#​1857](https://togithub.com/googleapis/gax-java/issues/1857)) ([a9e2374](https://togithub.com/googleapis/gax-java/commit/a9e23744a40f6e5484f1834824515f8ae952873c)) ##### Dependencies - update dependency com.google.api:api-common to 2.2.2 ([ad7ad1c](https://togithub.com/googleapis/gax-java/commit/ad7ad1c5b450cd0569ff34d3b553dd1493fa462c)) - update dependency com.google.api.grpc:grpc-google-common-protos to 2.10.0 ([ad7ad1c](https://togithub.com/googleapis/gax-java/commit/ad7ad1c5b450cd0569ff34d3b553dd1493fa462c)) - Update dependency com.google.api.grpc:proto-google-common-protos to 2.10.0 ([ad7ad1c](https://togithub.com/googleapis/gax-java/commit/ad7ad1c5b450cd0569ff34d3b553dd1493fa462c)) - update dependency com.google.auth:google-auth-library-credentials to 1.12.1 ([ad7ad1c](https://togithub.com/googleapis/gax-java/commit/ad7ad1c5b450cd0569ff34d3b553dd1493fa462c)) - update dependency com.google.auth:google-auth-library-oauth2-http to 1.12.1 ([ad7ad1c](https://togithub.com/googleapis/gax-java/commit/ad7ad1c5b450cd0569ff34d3b553dd1493fa462c)) - update dependency com.google.http-client:google-http-client to 1.42.3 ([ad7ad1c](https://togithub.com/googleapis/gax-java/commit/ad7ad1c5b450cd0569ff34d3b553dd1493fa462c)) - update dependency com.google.http-client:google-http-client-gson to 1.42.3 ([ad7ad1c](https://togithub.com/googleapis/gax-java/commit/ad7ad1c5b450cd0569ff34d3b553dd1493fa462c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a28e4958ff89..176371f3e8e9 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.50.2 - 2.19.4 + 2.19.5 1.3.1 2.10 31.1-jre From 38cd9f39e59654ea9b6751841fb5c968d28c23c0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 7 Nov 2022 15:38:37 +0000 Subject: [PATCH 2799/3036] chore(main): release 3.0.6 (#888) :robot: I have created a release *beep* *boop* --- ## [3.0.6](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.5...v3.0.6) (2022-11-07) ### Dependencies * Update dependency com.fasterxml.jackson:jackson-bom to v2.14.0 ([#901](https://togithub.com/googleapis/java-shared-dependencies/issues/901)) ([4e3d116](https://togithub.com/googleapis/java-shared-dependencies/commit/4e3d1162403a236443c8dbb00cbe23bd6c6c225a)) * Update dependency com.google.api-client:google-api-client-bom to v2.0.1 ([#899](https://togithub.com/googleapis/java-shared-dependencies/issues/899)) ([d2baed5](https://togithub.com/googleapis/java-shared-dependencies/commit/d2baed57f798b7c153678ce87bd486f9808dbc46)) * Update dependency com.google.api:api-common to v2.2.2 ([#892](https://togithub.com/googleapis/java-shared-dependencies/issues/892)) ([292cd39](https://togithub.com/googleapis/java-shared-dependencies/commit/292cd39d3b5fca9be15621b5e483e3b6386ec2ef)) * Update dependency com.google.cloud:grpc-gcp to v1.3.1 ([#884](https://togithub.com/googleapis/java-shared-dependencies/issues/884)) ([f22fce6](https://togithub.com/googleapis/java-shared-dependencies/commit/f22fce69481f0ecec1c5438b9f1a938db074cf4c)) * Update dependency com.google.code.gson:gson to v2.10 ([#887](https://togithub.com/googleapis/java-shared-dependencies/issues/887)) ([cbe8973](https://togithub.com/googleapis/java-shared-dependencies/commit/cbe8973436da3c34be00d0742b3db11af106f585)) * Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#893](https://togithub.com/googleapis/java-shared-dependencies/issues/893)) ([21e7515](https://togithub.com/googleapis/java-shared-dependencies/commit/21e7515d351cf8a53cb7590267231930bedfaf88)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#889](https://togithub.com/googleapis/java-shared-dependencies/issues/889)) ([30effe6](https://togithub.com/googleapis/java-shared-dependencies/commit/30effe65dc103a694fab5bf9537e96a0def0d4d9)) * Update dependency io.grpc:grpc-bom to v1.50.2 ([#878](https://togithub.com/googleapis/java-shared-dependencies/issues/878)) ([0e155c4](https://togithub.com/googleapis/java-shared-dependencies/commit/0e155c476ee8280921d234286eed8732997dd2a6)) * Update dependency org.checkerframework:checker-qual to v3.27.0 ([#896](https://togithub.com/googleapis/java-shared-dependencies/issues/896)) ([f6c1155](https://togithub.com/googleapis/java-shared-dependencies/commit/f6c1155bbd0a01b6a25948f7c6117a50fd85e9de)) * Update dependency org.threeten:threetenbp to v1.6.4 ([#894](https://togithub.com/googleapis/java-shared-dependencies/issues/894)) ([478ae53](https://togithub.com/googleapis/java-shared-dependencies/commit/478ae530c8140d92f4e083c5e06ecd6f4f228f05)) * Update gax.version to v2.19.5 ([#903](https://togithub.com/googleapis/java-shared-dependencies/issues/903)) ([ba1ae38](https://togithub.com/googleapis/java-shared-dependencies/commit/ba1ae389185f2fffaec10cf69ad6644389af9571)) * Update google.common-protos.version to v2.10.0 ([#900](https://togithub.com/googleapis/java-shared-dependencies/issues/900)) ([46aeddf](https://togithub.com/googleapis/java-shared-dependencies/commit/46aeddfe2ce2325ab8ae9a6654c500f847855acb)) * Update google.core.version to v2.8.23 ([#885](https://togithub.com/googleapis/java-shared-dependencies/issues/885)) ([1092bbe](https://togithub.com/googleapis/java-shared-dependencies/commit/1092bbe5f7a9d84dc1013f8a3c8e62e5c26ab2ab)) * Update google.core.version to v2.8.24 ([#890](https://togithub.com/googleapis/java-shared-dependencies/issues/890)) ([70791a5](https://togithub.com/googleapis/java-shared-dependencies/commit/70791a5ce678c5c7ebbb70e1527cab69587307ec)) * Update google.core.version to v2.8.27 ([#902](https://togithub.com/googleapis/java-shared-dependencies/issues/902)) ([a53f404](https://togithub.com/googleapis/java-shared-dependencies/commit/a53f404799ac6fd4e3005ea781f74a245fd7b7c7)) * Update iam.version to v1.6.6 ([#886](https://togithub.com/googleapis/java-shared-dependencies/issues/886)) ([122cf9d](https://togithub.com/googleapis/java-shared-dependencies/commit/122cf9d01a73d78768544b0638efc8cca995fd87)) * Update iam.version to v1.6.7 ([#895](https://togithub.com/googleapis/java-shared-dependencies/issues/895)) ([feda2e7](https://togithub.com/googleapis/java-shared-dependencies/commit/feda2e7d2d9026dffcdfe71f443199505e5bb215)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-shared-dependencies/CHANGELOG.md | 23 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 ++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 33 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 1ea243980e92..ad33908aa61e 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,29 @@ # Changelog +## [3.0.6](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.5...v3.0.6) (2022-11-07) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.14.0 ([#901](https://github.com/googleapis/java-shared-dependencies/issues/901)) ([33c5511](https://github.com/googleapis/java-shared-dependencies/commit/33c55112ff485da1d7a0a32d8b6dade33aa04ff8)) +* Update dependency com.google.api-client:google-api-client-bom to v2.0.1 ([#899](https://github.com/googleapis/java-shared-dependencies/issues/899)) ([4029e89](https://github.com/googleapis/java-shared-dependencies/commit/4029e89be507ddfa030515565fdb6fbf8997324e)) +* Update dependency com.google.api:api-common to v2.2.2 ([#892](https://github.com/googleapis/java-shared-dependencies/issues/892)) ([5c59fbd](https://github.com/googleapis/java-shared-dependencies/commit/5c59fbd3c3cf3efbfda50420c8048e3ff257084c)) +* Update dependency com.google.cloud:grpc-gcp to v1.3.1 ([#884](https://github.com/googleapis/java-shared-dependencies/issues/884)) ([9fffe24](https://github.com/googleapis/java-shared-dependencies/commit/9fffe243b631565a00b0a848a6c73163b1dd33a4)) +* Update dependency com.google.code.gson:gson to v2.10 ([#887](https://github.com/googleapis/java-shared-dependencies/issues/887)) ([15017de](https://github.com/googleapis/java-shared-dependencies/commit/15017de39a35f90bc1b38b828edc23fdce524a07)) +* Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#893](https://github.com/googleapis/java-shared-dependencies/issues/893)) ([4c0de9b](https://github.com/googleapis/java-shared-dependencies/commit/4c0de9bd188bfab5fe126c8b01b4d7168f8a5079)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#889](https://github.com/googleapis/java-shared-dependencies/issues/889)) ([8576271](https://github.com/googleapis/java-shared-dependencies/commit/85762716d1bbb97c447f86451094fb8af2528470)) +* Update dependency io.grpc:grpc-bom to v1.50.2 ([#878](https://github.com/googleapis/java-shared-dependencies/issues/878)) ([fd569af](https://github.com/googleapis/java-shared-dependencies/commit/fd569af1e5f1b195e2421fc9e02d8b67afe1c638)) +* Update dependency org.checkerframework:checker-qual to v3.27.0 ([#896](https://github.com/googleapis/java-shared-dependencies/issues/896)) ([f0f7931](https://github.com/googleapis/java-shared-dependencies/commit/f0f7931937a0ed9a32fd87cd58c82b787d368242)) +* Update dependency org.threeten:threetenbp to v1.6.4 ([#894](https://github.com/googleapis/java-shared-dependencies/issues/894)) ([899682d](https://github.com/googleapis/java-shared-dependencies/commit/899682d0405645d9d5288b298af2fda228414669)) +* Update gax.version to v2.19.5 ([#903](https://github.com/googleapis/java-shared-dependencies/issues/903)) ([3e4d8b3](https://github.com/googleapis/java-shared-dependencies/commit/3e4d8b35d3f682b07326ffa0a3e552d097f25a65)) +* Update google.common-protos.version to v2.10.0 ([#900](https://github.com/googleapis/java-shared-dependencies/issues/900)) ([53b54c3](https://github.com/googleapis/java-shared-dependencies/commit/53b54c35f3a7c19df488921a6077e7a9bfb0b103)) +* Update google.core.version to v2.8.23 ([#885](https://github.com/googleapis/java-shared-dependencies/issues/885)) ([686dd7c](https://github.com/googleapis/java-shared-dependencies/commit/686dd7c8f541189302e8cac4ae72ed7d967b5b3f)) +* Update google.core.version to v2.8.24 ([#890](https://github.com/googleapis/java-shared-dependencies/issues/890)) ([1effda3](https://github.com/googleapis/java-shared-dependencies/commit/1effda381c7b886f5ae4d2dac9473da821e655fe)) +* Update google.core.version to v2.8.27 ([#902](https://github.com/googleapis/java-shared-dependencies/issues/902)) ([3bcb804](https://github.com/googleapis/java-shared-dependencies/commit/3bcb804dec4358ed0a9c6c35cf4c35f817821e9a)) +* Update iam.version to v1.6.6 ([#886](https://github.com/googleapis/java-shared-dependencies/issues/886)) ([03d0690](https://github.com/googleapis/java-shared-dependencies/commit/03d0690f01f9217e31dd65d55c28a47f2f2deb22)) +* Update iam.version to v1.6.7 ([#895](https://github.com/googleapis/java-shared-dependencies/issues/895)) ([6cebc20](https://github.com/googleapis/java-shared-dependencies/commit/6cebc205daa98b96a8b27b3fc3cd222319b27e59)) + ## [3.0.5](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.4...v3.0.5) (2022-10-20) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index c42b36705fe1..1651aee40bc4 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.0.6-SNAPSHOT + 3.0.6 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.6-SNAPSHOT + 3.0.6 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 176371f3e8e9..4346ed7b962f 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.0.6-SNAPSHOT + 3.0.6 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 8276664de343..cbf68bca80b5 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.0.6-SNAPSHOT + 3.0.6 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.6-SNAPSHOT + 3.0.6 pom import com.google.cloud third-party-dependencies - 3.0.6-SNAPSHOT + 3.0.6 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index a51483edfd1c..ab70eb415056 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.0.6-SNAPSHOT + 3.0.6 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 477c626f0c93..f7e978ed3ef4 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.0.6-SNAPSHOT + 3.0.6 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.6-SNAPSHOT + 3.0.6 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index fe90812a548f..69c2f70299bf 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.5:3.0.6-SNAPSHOT +google-cloud-shared-dependencies:3.0.6:3.0.6 From 23e1a8d609cc8c6a0dc22d7bc3086a4587d2faa5 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 8 Nov 2022 16:40:16 +0100 Subject: [PATCH 2800/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 (#506) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.5` -> `3.0.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.6/compatibility-slim/3.0.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.0.6/confidence-slim/3.0.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.0.6`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​306-httpsgithubcomgoogleapisjava-shared-dependenciescomparev305v306-2022-11-07) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.5...v3.0.6) ##### Dependencies - Update dependency com.fasterxml.jackson:jackson-bom to v2.14.0 ([#​901](https://togithub.com/googleapis/java-shared-dependencies/issues/901)) ([33c5511](https://togithub.com/googleapis/java-shared-dependencies/commit/33c55112ff485da1d7a0a32d8b6dade33aa04ff8)) - Update dependency com.google.api-client:google-api-client-bom to v2.0.1 ([#​899](https://togithub.com/googleapis/java-shared-dependencies/issues/899)) ([4029e89](https://togithub.com/googleapis/java-shared-dependencies/commit/4029e89be507ddfa030515565fdb6fbf8997324e)) - Update dependency com.google.api:api-common to v2.2.2 ([#​892](https://togithub.com/googleapis/java-shared-dependencies/issues/892)) ([5c59fbd](https://togithub.com/googleapis/java-shared-dependencies/commit/5c59fbd3c3cf3efbfda50420c8048e3ff257084c)) - Update dependency com.google.cloud:grpc-gcp to v1.3.1 ([#​884](https://togithub.com/googleapis/java-shared-dependencies/issues/884)) ([9fffe24](https://togithub.com/googleapis/java-shared-dependencies/commit/9fffe243b631565a00b0a848a6c73163b1dd33a4)) - Update dependency com.google.code.gson:gson to v2.10 ([#​887](https://togithub.com/googleapis/java-shared-dependencies/issues/887)) ([15017de](https://togithub.com/googleapis/java-shared-dependencies/commit/15017de39a35f90bc1b38b828edc23fdce524a07)) - Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#​893](https://togithub.com/googleapis/java-shared-dependencies/issues/893)) ([4c0de9b](https://togithub.com/googleapis/java-shared-dependencies/commit/4c0de9bd188bfab5fe126c8b01b4d7168f8a5079)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​889](https://togithub.com/googleapis/java-shared-dependencies/issues/889)) ([8576271](https://togithub.com/googleapis/java-shared-dependencies/commit/85762716d1bbb97c447f86451094fb8af2528470)) - Update dependency io.grpc:grpc-bom to v1.50.2 ([#​878](https://togithub.com/googleapis/java-shared-dependencies/issues/878)) ([fd569af](https://togithub.com/googleapis/java-shared-dependencies/commit/fd569af1e5f1b195e2421fc9e02d8b67afe1c638)) - Update dependency org.checkerframework:checker-qual to v3.27.0 ([#​896](https://togithub.com/googleapis/java-shared-dependencies/issues/896)) ([f0f7931](https://togithub.com/googleapis/java-shared-dependencies/commit/f0f7931937a0ed9a32fd87cd58c82b787d368242)) - Update dependency org.threeten:threetenbp to v1.6.4 ([#​894](https://togithub.com/googleapis/java-shared-dependencies/issues/894)) ([899682d](https://togithub.com/googleapis/java-shared-dependencies/commit/899682d0405645d9d5288b298af2fda228414669)) - Update gax.version to v2.19.5 ([#​903](https://togithub.com/googleapis/java-shared-dependencies/issues/903)) ([3e4d8b3](https://togithub.com/googleapis/java-shared-dependencies/commit/3e4d8b35d3f682b07326ffa0a3e552d097f25a65)) - Update google.common-protos.version to v2.10.0 ([#​900](https://togithub.com/googleapis/java-shared-dependencies/issues/900)) ([53b54c3](https://togithub.com/googleapis/java-shared-dependencies/commit/53b54c35f3a7c19df488921a6077e7a9bfb0b103)) - Update google.core.version to v2.8.23 ([#​885](https://togithub.com/googleapis/java-shared-dependencies/issues/885)) ([686dd7c](https://togithub.com/googleapis/java-shared-dependencies/commit/686dd7c8f541189302e8cac4ae72ed7d967b5b3f)) - Update google.core.version to v2.8.24 ([#​890](https://togithub.com/googleapis/java-shared-dependencies/issues/890)) ([1effda3](https://togithub.com/googleapis/java-shared-dependencies/commit/1effda381c7b886f5ae4d2dac9473da821e655fe)) - Update google.core.version to v2.8.27 ([#​902](https://togithub.com/googleapis/java-shared-dependencies/issues/902)) ([3bcb804](https://togithub.com/googleapis/java-shared-dependencies/commit/3bcb804dec4358ed0a9c6c35cf4c35f817821e9a)) - Update iam.version to v1.6.6 ([#​886](https://togithub.com/googleapis/java-shared-dependencies/issues/886)) ([03d0690](https://togithub.com/googleapis/java-shared-dependencies/commit/03d0690f01f9217e31dd65d55c28a47f2f2deb22)) - Update iam.version to v1.6.7 ([#​895](https://togithub.com/googleapis/java-shared-dependencies/issues/895)) ([6cebc20](https://togithub.com/googleapis/java-shared-dependencies/commit/6cebc205daa98b96a8b27b3fc3cd222319b27e59))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 052b32b0eff2..25d3cb00d3fd 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -80,7 +80,7 @@ dependencies --> com.google.cloud google-cloud-shared-dependencies - 3.0.5 + 3.0.6 pom import
    From 7a77b64a88a2df9ba1ea8d46d5f794576f970778 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:36:18 +0000 Subject: [PATCH 2801/3036] chore(java): update dependencies in java requirements file (#1695) (#905) * chore(java): update gcp-releasetool and cryptography in java requirements file Source-Link: https://togithub.com/googleapis/synthtool/commit/74d0956884c1bb9dc901b52de35ca2bca025a74e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 --- .../.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/requirements.in | 7 +- .../.kokoro/requirements.txt | 75 ++++++++++--------- 3 files changed, 43 insertions(+), 41 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 66768d0ccb29..c8316751ebd3 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 + digest: sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in index 6aa7cf2b55ee..9cc4a1baae11 100644 --- a/java-shared-dependencies/.kokoro/requirements.in +++ b/java-shared-dependencies/.kokoro/requirements.in @@ -1,7 +1,8 @@ -gcp-docuploader==0.6.3 +gcp-docuploader==0.6.4 google-crc32c==1.3.0 googleapis-common-protos==1.56.3 -gcp-releasetool==1.8.7 +gcp-releasetool==1.9.1 +cryptography==38.0.3 cachetools==4.2.4 cffi==1.15.1 jeepney==0.7.1 @@ -29,5 +30,5 @@ zipp==3.6.0 rsa==4.9 six==1.16.0 attrs==22.1.0 -google-auth==2.11.0 +google-auth==2.14.0 idna==3.4 \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 02ae42bb4039..2dce197bf45a 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with python 3.10 # To update, run: # -# pip-compile --allow-unsafe --generate-hashes requirements.in +# pip-compile --generate-hashes requirements.in # attrs==22.1.0 \ --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ @@ -104,43 +104,44 @@ colorlog==6.7.0 \ --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 # via gcp-docuploader -cryptography==38.0.1 \ - --hash=sha256:0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a \ - --hash=sha256:10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f \ - --hash=sha256:16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0 \ - --hash=sha256:194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407 \ - --hash=sha256:1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7 \ - --hash=sha256:3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6 \ - --hash=sha256:3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153 \ - --hash=sha256:3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750 \ - --hash=sha256:3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad \ - --hash=sha256:5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6 \ - --hash=sha256:52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b \ - --hash=sha256:64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5 \ - --hash=sha256:765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a \ - --hash=sha256:79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d \ - --hash=sha256:896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d \ - --hash=sha256:89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294 \ - --hash=sha256:ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0 \ - --hash=sha256:ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a \ - --hash=sha256:b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac \ - --hash=sha256:b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61 \ - --hash=sha256:c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013 \ - --hash=sha256:ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e \ - --hash=sha256:d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb \ - --hash=sha256:d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9 \ - --hash=sha256:d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd \ - --hash=sha256:d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818 +cryptography==38.0.3 \ + --hash=sha256:068147f32fa662c81aebab95c74679b401b12b57494872886eb5c1139250ec5d \ + --hash=sha256:06fc3cc7b6f6cca87bd56ec80a580c88f1da5306f505876a71c8cfa7050257dd \ + --hash=sha256:25c1d1f19729fb09d42e06b4bf9895212292cb27bb50229f5aa64d039ab29146 \ + --hash=sha256:402852a0aea73833d982cabb6d0c3bb582c15483d29fb7085ef2c42bfa7e38d7 \ + --hash=sha256:4e269dcd9b102c5a3d72be3c45d8ce20377b8076a43cbed6f660a1afe365e436 \ + --hash=sha256:5419a127426084933076132d317911e3c6eb77568a1ce23c3ac1e12d111e61e0 \ + --hash=sha256:554bec92ee7d1e9d10ded2f7e92a5d70c1f74ba9524947c0ba0c850c7b011828 \ + --hash=sha256:5e89468fbd2fcd733b5899333bc54d0d06c80e04cd23d8c6f3e0542358c6060b \ + --hash=sha256:65535bc550b70bd6271984d9863a37741352b4aad6fb1b3344a54e6950249b55 \ + --hash=sha256:6ab9516b85bebe7aa83f309bacc5f44a61eeb90d0b4ec125d2d003ce41932d36 \ + --hash=sha256:6addc3b6d593cd980989261dc1cce38263c76954d758c3c94de51f1e010c9a50 \ + --hash=sha256:728f2694fa743a996d7784a6194da430f197d5c58e2f4e278612b359f455e4a2 \ + --hash=sha256:785e4056b5a8b28f05a533fab69febf5004458e20dad7e2e13a3120d8ecec75a \ + --hash=sha256:78cf5eefac2b52c10398a42765bfa981ce2372cbc0457e6bf9658f41ec3c41d8 \ + --hash=sha256:7f836217000342d448e1c9a342e9163149e45d5b5eca76a30e84503a5a96cab0 \ + --hash=sha256:8d41a46251bf0634e21fac50ffd643216ccecfaf3701a063257fe0b2be1b6548 \ + --hash=sha256:984fe150f350a3c91e84de405fe49e688aa6092b3525f407a18b9646f6612320 \ + --hash=sha256:9b24bcff7853ed18a63cfb0c2b008936a9554af24af2fb146e16d8e1aed75748 \ + --hash=sha256:b1b35d9d3a65542ed2e9d90115dfd16bbc027b3f07ee3304fc83580f26e43249 \ + --hash=sha256:b1b52c9e5f8aa2b802d48bd693190341fae201ea51c7a167d69fc48b60e8a959 \ + --hash=sha256:bbf203f1a814007ce24bd4d51362991d5cb90ba0c177a9c08825f2cc304d871f \ + --hash=sha256:be243c7e2bfcf6cc4cb350c0d5cdf15ca6383bbcb2a8ef51d3c9411a9d4386f0 \ + --hash=sha256:bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd \ + --hash=sha256:c46837ea467ed1efea562bbeb543994c2d1f6e800785bd5a2c98bc096f5cb220 \ + --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ + --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 # via + # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.3 \ - --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ - --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b +gcp-docuploader==0.6.4 \ + --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ + --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf # via -r requirements.in -gcp-releasetool==1.8.7 \ - --hash=sha256:3d2a67c9db39322194afb3b427e9cb0476ce8f2a04033695f0aeb63979fc2b37 \ - --hash=sha256:5e4d28f66e90780d77f3ecf1e9155852b0c3b13cbccb08ab07e66b2357c8da8d +gcp-releasetool==1.9.1 \ + --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ + --hash=sha256:d0d3c814a97c1a237517e837d8cfa668ced8df4b882452578ecef4a4e79c583b # via -r requirements.in google-api-core==2.8.2 \ --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ @@ -149,9 +150,9 @@ google-api-core==2.8.2 \ # -r requirements.in # google-cloud-core # google-cloud-storage -google-auth==2.11.0 \ - --hash=sha256:be62acaae38d0049c21ca90f27a23847245c9f161ff54ede13af2cb6afecbac9 \ - --hash=sha256:ed65ecf9f681832298e29328e1ef0a3676e3732b2e56f41532d45f70a22de0fb +google-auth==2.14.0 \ + --hash=sha256:1ad5b0e6eba5f69645971abb3d2c197537d5914070a8c6d30299dfdb07c5c700 \ + --hash=sha256:cf24817855d874ede2efd071aa22125445f555de1685b739a9782fcf408c2a3d # via # -r requirements.in # gcp-releasetool From a0cee432e7aa683a9f66a94f0f1993629cc692e3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:36:27 +0000 Subject: [PATCH 2802/3036] chore: Set `rest_numeric_enums = False` for all gapic rules explicitly (#504) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 485623855 Source-Link: https://togithub.com/googleapis/googleapis/commit/807125e7953e32535710924fe4bf0362ac93754d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9 --- .../src/main/java/com/google/iam/v2/PoliciesClient.java | 6 +----- .../src/main/java/com/google/iam/v2beta/PoliciesClient.java | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java index 92be44bc442b..3e57043ffcb0 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/PoliciesClient.java @@ -119,11 +119,7 @@ * // - 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 - * PoliciesSettings policiesSettings = - * PoliciesSettings.newBuilder() - * .setTransportChannelProvider( - * PoliciesSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * PoliciesSettings policiesSettings = PoliciesSettings.newHttpJsonBuilder().build(); * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings); * }
    * diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java index 495c60c01d91..b74080f7997e 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/PoliciesClient.java @@ -119,11 +119,7 @@ * // - 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 - * PoliciesSettings policiesSettings = - * PoliciesSettings.newBuilder() - * .setTransportChannelProvider( - * PoliciesSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * PoliciesSettings policiesSettings = PoliciesSettings.newHttpJsonBuilder().build(); * PoliciesClient policiesClient = PoliciesClient.create(policiesSettings); * }
    * From 7341beba543ef7861a78ee54e0f14802ddffb150 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 8 Nov 2022 17:46:16 +0100 Subject: [PATCH 2803/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.4 (#503) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.3` -> `26.1.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/compatibility-slim/26.1.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.4/confidence-slim/26.1.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 637cc41397cf..f88a424ffb5e 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -73,7 +73,7 @@ com.google.cloud import pom - 26.1.3 + 26.1.4 From b877e43c6908af2c6c7d28fdbc154a403dc64fd0 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 8 Nov 2022 17:50:28 +0100 Subject: [PATCH 2804/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.7 (#502) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.6` -> `1.6.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/compatibility-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.7/confidence-slim/1.6.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.7`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​167-httpsgithubcomgoogleapisjava-iamcomparev166v167-2022-10-31) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) ##### Dependencies - Update dependency com.google.api:api-common to v2.2.2 ([#​497](https://togithub.com/googleapis/java-iam/issues/497)) ([0cb8ba7](https://togithub.com/googleapis/java-iam/commit/0cb8ba78d5c07b64570c65ce14d61db5f08150a8)) - Update dependency com.google.cloud:google-iam-policy to v1.6.6 ([#​492](https://togithub.com/googleapis/java-iam/issues/492)) ([bad1c9b](https://togithub.com/googleapis/java-iam/commit/bad1c9b58c4a76017d3665a3ef0887c3481b35e8)) - Update dependency com.google.http-client:google-http-client-jackson2 to v1.42.3 ([#​498](https://togithub.com/googleapis/java-iam/issues/498)) ([b68ed60](https://togithub.com/googleapis/java-iam/commit/b68ed601d723dd235dc21e28b22035860a04e6e0)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#​495](https://togithub.com/googleapis/java-iam/issues/495)) ([2462317](https://togithub.com/googleapis/java-iam/commit/2462317d386a59d07a85c8a752371a09635aa86f)) - Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#​493](https://togithub.com/googleapis/java-iam/issues/493)) ([160b427](https://togithub.com/googleapis/java-iam/commit/160b427f55f8f8ee4d27ba2c5d2d00664d088ff9))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index f88a424ffb5e..7e270889b818 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.6 + 1.6.7 compile From c2ff87c593aac2961eb661400faff113969b1e0d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 17:26:32 +0000 Subject: [PATCH 2805/3036] chore(java): update dependencies in java requirements file (#1695) (#505) * chore(java): update gcp-releasetool and cryptography in java requirements file Source-Link: https://togithub.com/googleapis/synthtool/commit/74d0956884c1bb9dc901b52de35ca2bca025a74e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/requirements.in | 7 +-- java-iam/.kokoro/requirements.txt | 75 +++++++++++++++--------------- 3 files changed, 43 insertions(+), 41 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index cb4ea018ec23..c8316751ebd3 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:bd316b9a591c45264775ecaba72e37d65905925c323b68e51a08c4126e4b6d0a + digest: sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 diff --git a/java-iam/.kokoro/requirements.in b/java-iam/.kokoro/requirements.in index 6aa7cf2b55ee..9cc4a1baae11 100644 --- a/java-iam/.kokoro/requirements.in +++ b/java-iam/.kokoro/requirements.in @@ -1,7 +1,8 @@ -gcp-docuploader==0.6.3 +gcp-docuploader==0.6.4 google-crc32c==1.3.0 googleapis-common-protos==1.56.3 -gcp-releasetool==1.8.7 +gcp-releasetool==1.9.1 +cryptography==38.0.3 cachetools==4.2.4 cffi==1.15.1 jeepney==0.7.1 @@ -29,5 +30,5 @@ zipp==3.6.0 rsa==4.9 six==1.16.0 attrs==22.1.0 -google-auth==2.11.0 +google-auth==2.14.0 idna==3.4 \ No newline at end of file diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt index 02ae42bb4039..2dce197bf45a 100644 --- a/java-iam/.kokoro/requirements.txt +++ b/java-iam/.kokoro/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with python 3.10 # To update, run: # -# pip-compile --allow-unsafe --generate-hashes requirements.in +# pip-compile --generate-hashes requirements.in # attrs==22.1.0 \ --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ @@ -104,43 +104,44 @@ colorlog==6.7.0 \ --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 # via gcp-docuploader -cryptography==38.0.1 \ - --hash=sha256:0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a \ - --hash=sha256:10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f \ - --hash=sha256:16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0 \ - --hash=sha256:194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407 \ - --hash=sha256:1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7 \ - --hash=sha256:3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6 \ - --hash=sha256:3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153 \ - --hash=sha256:3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750 \ - --hash=sha256:3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad \ - --hash=sha256:5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6 \ - --hash=sha256:52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b \ - --hash=sha256:64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5 \ - --hash=sha256:765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a \ - --hash=sha256:79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d \ - --hash=sha256:896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d \ - --hash=sha256:89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294 \ - --hash=sha256:ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0 \ - --hash=sha256:ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a \ - --hash=sha256:b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac \ - --hash=sha256:b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61 \ - --hash=sha256:c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013 \ - --hash=sha256:ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e \ - --hash=sha256:d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb \ - --hash=sha256:d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9 \ - --hash=sha256:d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd \ - --hash=sha256:d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818 +cryptography==38.0.3 \ + --hash=sha256:068147f32fa662c81aebab95c74679b401b12b57494872886eb5c1139250ec5d \ + --hash=sha256:06fc3cc7b6f6cca87bd56ec80a580c88f1da5306f505876a71c8cfa7050257dd \ + --hash=sha256:25c1d1f19729fb09d42e06b4bf9895212292cb27bb50229f5aa64d039ab29146 \ + --hash=sha256:402852a0aea73833d982cabb6d0c3bb582c15483d29fb7085ef2c42bfa7e38d7 \ + --hash=sha256:4e269dcd9b102c5a3d72be3c45d8ce20377b8076a43cbed6f660a1afe365e436 \ + --hash=sha256:5419a127426084933076132d317911e3c6eb77568a1ce23c3ac1e12d111e61e0 \ + --hash=sha256:554bec92ee7d1e9d10ded2f7e92a5d70c1f74ba9524947c0ba0c850c7b011828 \ + --hash=sha256:5e89468fbd2fcd733b5899333bc54d0d06c80e04cd23d8c6f3e0542358c6060b \ + --hash=sha256:65535bc550b70bd6271984d9863a37741352b4aad6fb1b3344a54e6950249b55 \ + --hash=sha256:6ab9516b85bebe7aa83f309bacc5f44a61eeb90d0b4ec125d2d003ce41932d36 \ + --hash=sha256:6addc3b6d593cd980989261dc1cce38263c76954d758c3c94de51f1e010c9a50 \ + --hash=sha256:728f2694fa743a996d7784a6194da430f197d5c58e2f4e278612b359f455e4a2 \ + --hash=sha256:785e4056b5a8b28f05a533fab69febf5004458e20dad7e2e13a3120d8ecec75a \ + --hash=sha256:78cf5eefac2b52c10398a42765bfa981ce2372cbc0457e6bf9658f41ec3c41d8 \ + --hash=sha256:7f836217000342d448e1c9a342e9163149e45d5b5eca76a30e84503a5a96cab0 \ + --hash=sha256:8d41a46251bf0634e21fac50ffd643216ccecfaf3701a063257fe0b2be1b6548 \ + --hash=sha256:984fe150f350a3c91e84de405fe49e688aa6092b3525f407a18b9646f6612320 \ + --hash=sha256:9b24bcff7853ed18a63cfb0c2b008936a9554af24af2fb146e16d8e1aed75748 \ + --hash=sha256:b1b35d9d3a65542ed2e9d90115dfd16bbc027b3f07ee3304fc83580f26e43249 \ + --hash=sha256:b1b52c9e5f8aa2b802d48bd693190341fae201ea51c7a167d69fc48b60e8a959 \ + --hash=sha256:bbf203f1a814007ce24bd4d51362991d5cb90ba0c177a9c08825f2cc304d871f \ + --hash=sha256:be243c7e2bfcf6cc4cb350c0d5cdf15ca6383bbcb2a8ef51d3c9411a9d4386f0 \ + --hash=sha256:bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd \ + --hash=sha256:c46837ea467ed1efea562bbeb543994c2d1f6e800785bd5a2c98bc096f5cb220 \ + --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ + --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 # via + # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.3 \ - --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ - --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b +gcp-docuploader==0.6.4 \ + --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ + --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf # via -r requirements.in -gcp-releasetool==1.8.7 \ - --hash=sha256:3d2a67c9db39322194afb3b427e9cb0476ce8f2a04033695f0aeb63979fc2b37 \ - --hash=sha256:5e4d28f66e90780d77f3ecf1e9155852b0c3b13cbccb08ab07e66b2357c8da8d +gcp-releasetool==1.9.1 \ + --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ + --hash=sha256:d0d3c814a97c1a237517e837d8cfa668ced8df4b882452578ecef4a4e79c583b # via -r requirements.in google-api-core==2.8.2 \ --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ @@ -149,9 +150,9 @@ google-api-core==2.8.2 \ # -r requirements.in # google-cloud-core # google-cloud-storage -google-auth==2.11.0 \ - --hash=sha256:be62acaae38d0049c21ca90f27a23847245c9f161ff54ede13af2cb6afecbac9 \ - --hash=sha256:ed65ecf9f681832298e29328e1ef0a3676e3732b2e56f41532d45f70a22de0fb +google-auth==2.14.0 \ + --hash=sha256:1ad5b0e6eba5f69645971abb3d2c197537d5914070a8c6d30299dfdb07c5c700 \ + --hash=sha256:cf24817855d874ede2efd071aa22125445f555de1685b739a9782fcf408c2a3d # via # -r requirements.in # gcp-releasetool From 0c8f5b18eb3fbf7b0d724e556ce8e52c8d4f8fe3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 18:00:40 +0000 Subject: [PATCH 2806/3036] chore(java): update dependencies in java requirements file (#1695) (#1017) * chore(java): update gcp-releasetool and cryptography in java requirements file Source-Link: https://togithub.com/googleapis/synthtool/commit/74d0956884c1bb9dc901b52de35ca2bca025a74e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.in | 7 +-- java-core/.kokoro/requirements.txt | 75 +++++++++++++++-------------- 3 files changed, 43 insertions(+), 41 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 97a726b8167e..c8316751ebd3 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:27d0a1232b3656f0610cc1a55beb157cb3b63b1ca8b3dfba0bcd8b9dfecda4a1 \ No newline at end of file + digest: sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in index 6aa7cf2b55ee..9cc4a1baae11 100644 --- a/java-core/.kokoro/requirements.in +++ b/java-core/.kokoro/requirements.in @@ -1,7 +1,8 @@ -gcp-docuploader==0.6.3 +gcp-docuploader==0.6.4 google-crc32c==1.3.0 googleapis-common-protos==1.56.3 -gcp-releasetool==1.8.7 +gcp-releasetool==1.9.1 +cryptography==38.0.3 cachetools==4.2.4 cffi==1.15.1 jeepney==0.7.1 @@ -29,5 +30,5 @@ zipp==3.6.0 rsa==4.9 six==1.16.0 attrs==22.1.0 -google-auth==2.11.0 +google-auth==2.14.0 idna==3.4 \ No newline at end of file diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 02ae42bb4039..2dce197bf45a 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with python 3.10 # To update, run: # -# pip-compile --allow-unsafe --generate-hashes requirements.in +# pip-compile --generate-hashes requirements.in # attrs==22.1.0 \ --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ @@ -104,43 +104,44 @@ colorlog==6.7.0 \ --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 # via gcp-docuploader -cryptography==38.0.1 \ - --hash=sha256:0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a \ - --hash=sha256:10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f \ - --hash=sha256:16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0 \ - --hash=sha256:194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407 \ - --hash=sha256:1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7 \ - --hash=sha256:3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6 \ - --hash=sha256:3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153 \ - --hash=sha256:3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750 \ - --hash=sha256:3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad \ - --hash=sha256:5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6 \ - --hash=sha256:52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b \ - --hash=sha256:64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5 \ - --hash=sha256:765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a \ - --hash=sha256:79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d \ - --hash=sha256:896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d \ - --hash=sha256:89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294 \ - --hash=sha256:ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0 \ - --hash=sha256:ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a \ - --hash=sha256:b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac \ - --hash=sha256:b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61 \ - --hash=sha256:c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013 \ - --hash=sha256:ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e \ - --hash=sha256:d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb \ - --hash=sha256:d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9 \ - --hash=sha256:d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd \ - --hash=sha256:d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818 +cryptography==38.0.3 \ + --hash=sha256:068147f32fa662c81aebab95c74679b401b12b57494872886eb5c1139250ec5d \ + --hash=sha256:06fc3cc7b6f6cca87bd56ec80a580c88f1da5306f505876a71c8cfa7050257dd \ + --hash=sha256:25c1d1f19729fb09d42e06b4bf9895212292cb27bb50229f5aa64d039ab29146 \ + --hash=sha256:402852a0aea73833d982cabb6d0c3bb582c15483d29fb7085ef2c42bfa7e38d7 \ + --hash=sha256:4e269dcd9b102c5a3d72be3c45d8ce20377b8076a43cbed6f660a1afe365e436 \ + --hash=sha256:5419a127426084933076132d317911e3c6eb77568a1ce23c3ac1e12d111e61e0 \ + --hash=sha256:554bec92ee7d1e9d10ded2f7e92a5d70c1f74ba9524947c0ba0c850c7b011828 \ + --hash=sha256:5e89468fbd2fcd733b5899333bc54d0d06c80e04cd23d8c6f3e0542358c6060b \ + --hash=sha256:65535bc550b70bd6271984d9863a37741352b4aad6fb1b3344a54e6950249b55 \ + --hash=sha256:6ab9516b85bebe7aa83f309bacc5f44a61eeb90d0b4ec125d2d003ce41932d36 \ + --hash=sha256:6addc3b6d593cd980989261dc1cce38263c76954d758c3c94de51f1e010c9a50 \ + --hash=sha256:728f2694fa743a996d7784a6194da430f197d5c58e2f4e278612b359f455e4a2 \ + --hash=sha256:785e4056b5a8b28f05a533fab69febf5004458e20dad7e2e13a3120d8ecec75a \ + --hash=sha256:78cf5eefac2b52c10398a42765bfa981ce2372cbc0457e6bf9658f41ec3c41d8 \ + --hash=sha256:7f836217000342d448e1c9a342e9163149e45d5b5eca76a30e84503a5a96cab0 \ + --hash=sha256:8d41a46251bf0634e21fac50ffd643216ccecfaf3701a063257fe0b2be1b6548 \ + --hash=sha256:984fe150f350a3c91e84de405fe49e688aa6092b3525f407a18b9646f6612320 \ + --hash=sha256:9b24bcff7853ed18a63cfb0c2b008936a9554af24af2fb146e16d8e1aed75748 \ + --hash=sha256:b1b35d9d3a65542ed2e9d90115dfd16bbc027b3f07ee3304fc83580f26e43249 \ + --hash=sha256:b1b52c9e5f8aa2b802d48bd693190341fae201ea51c7a167d69fc48b60e8a959 \ + --hash=sha256:bbf203f1a814007ce24bd4d51362991d5cb90ba0c177a9c08825f2cc304d871f \ + --hash=sha256:be243c7e2bfcf6cc4cb350c0d5cdf15ca6383bbcb2a8ef51d3c9411a9d4386f0 \ + --hash=sha256:bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd \ + --hash=sha256:c46837ea467ed1efea562bbeb543994c2d1f6e800785bd5a2c98bc096f5cb220 \ + --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ + --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 # via + # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.3 \ - --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ - --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b +gcp-docuploader==0.6.4 \ + --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ + --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf # via -r requirements.in -gcp-releasetool==1.8.7 \ - --hash=sha256:3d2a67c9db39322194afb3b427e9cb0476ce8f2a04033695f0aeb63979fc2b37 \ - --hash=sha256:5e4d28f66e90780d77f3ecf1e9155852b0c3b13cbccb08ab07e66b2357c8da8d +gcp-releasetool==1.9.1 \ + --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ + --hash=sha256:d0d3c814a97c1a237517e837d8cfa668ced8df4b882452578ecef4a4e79c583b # via -r requirements.in google-api-core==2.8.2 \ --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ @@ -149,9 +150,9 @@ google-api-core==2.8.2 \ # -r requirements.in # google-cloud-core # google-cloud-storage -google-auth==2.11.0 \ - --hash=sha256:be62acaae38d0049c21ca90f27a23847245c9f161ff54ede13af2cb6afecbac9 \ - --hash=sha256:ed65ecf9f681832298e29328e1ef0a3676e3732b2e56f41532d45f70a22de0fb +google-auth==2.14.0 \ + --hash=sha256:1ad5b0e6eba5f69645971abb3d2c197537d5914070a8c6d30299dfdb07c5c700 \ + --hash=sha256:cf24817855d874ede2efd071aa22125445f555de1685b739a9782fcf408c2a3d # via # -r requirements.in # gcp-releasetool From c220128c134fcfcacbdd11f17f76bec6783b8455 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 18:30:49 +0000 Subject: [PATCH 2807/3036] chore(main): release 1.6.8 (#507) :robot: I have created a release *beep* *boop* --- ## [1.6.8](https://togithub.com/googleapis/java-iam/compare/v1.6.7...v1.6.8) (2022-11-08) ### Dependencies * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 ([#506](https://togithub.com/googleapis/java-iam/issues/506)) ([23e1a8d](https://togithub.com/googleapis/java-iam/commit/23e1a8d609cc8c6a0dc22d7bc3086a4587d2faa5)) * Update dependency com.google.cloud:google-iam-policy to v1.6.7 ([#502](https://togithub.com/googleapis/java-iam/issues/502)) ([b877e43](https://togithub.com/googleapis/java-iam/commit/b877e43c6908af2c6c7d28fdbc154a403dc64fd0)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 8 ++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 37 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 4c52660b994b..ac1e8048a1a4 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [1.6.8](https://github.com/googleapis/java-iam/compare/v1.6.7...v1.6.8) (2022-11-08) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 ([#506](https://github.com/googleapis/java-iam/issues/506)) ([cc4c8aa](https://github.com/googleapis/java-iam/commit/cc4c8aa4dccb6ae97e95a9d176a9ffea5a16dc38)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.7 ([#502](https://github.com/googleapis/java-iam/issues/502)) ([b31c868](https://github.com/googleapis/java-iam/commit/b31c8686ab53b82589bc080e19aa2187457c92ee)) + ## [1.6.7](https://github.com/googleapis/java-iam/compare/v1.6.6...v1.6.7) (2022-10-31) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index b02dbe98d0d1..3f7197eb69b9 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.8-SNAPSHOT + 1.6.8 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.8-SNAPSHOT + 1.6.8 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index c78475addfd1..df570bf7160a 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.6.8-SNAPSHOT + 1.6.8 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 825c20aac825..4868e8f5ca5b 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.6.8-SNAPSHOT + 1.6.8 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 986c5195711a..4c92f88c0cfb 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.6.8-SNAPSHOT + 1.6.8 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 25d3cb00d3fd..2ca88bc25829 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.8-SNAPSHOT + 1.6.8 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.8-SNAPSHOT + 1.6.8 com.google.api.grpc grpc-google-iam-v2 - 1.6.8-SNAPSHOT + 1.6.8 com.google.cloud google-iam-policy - 1.6.8-SNAPSHOT + 1.6.8 com.google.api.grpc proto-google-iam-v2beta - 1.6.8-SNAPSHOT + 1.6.8 com.google.api.grpc grpc-google-iam-v1 - 1.6.8-SNAPSHOT + 1.6.8 com.google.api.grpc grpc-google-iam-v2beta - 1.6.8-SNAPSHOT + 1.6.8 com.google.api.grpc proto-google-iam-v1 - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 851ff06f72a7..788491c79f0e 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.6.8-SNAPSHOT + 1.6.8 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index b9565952daaf..40cb86205253 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.6.8-SNAPSHOT + 1.6.8 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 59fd6c288af2..59af43dab160 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.6.8-SNAPSHOT + 1.6.8 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8-SNAPSHOT + 1.6.8 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 13c9dcaa5637..bab8082fcefc 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.7:1.6.8-SNAPSHOT -grpc-google-iam-v1:1.6.7:1.6.8-SNAPSHOT -proto-google-iam-v2beta:1.6.7:1.6.8-SNAPSHOT -grpc-google-iam-v2beta:1.6.7:1.6.8-SNAPSHOT -google-iam-policy:1.6.7:1.6.8-SNAPSHOT -proto-google-iam-v2:1.6.7:1.6.8-SNAPSHOT -grpc-google-iam-v2:1.6.7:1.6.8-SNAPSHOT +proto-google-iam-v1:1.6.8:1.6.8 +grpc-google-iam-v1:1.6.8:1.6.8 +proto-google-iam-v2beta:1.6.8:1.6.8 +grpc-google-iam-v2beta:1.6.8:1.6.8 +google-iam-policy:1.6.8:1.6.8 +proto-google-iam-v2:1.6.8:1.6.8 +grpc-google-iam-v2:1.6.8:1.6.8 From 8d5f47f9bc4c69a791969756d37221255006dd93 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 20:22:15 +0000 Subject: [PATCH 2808/3036] chore(main): release 1.6.9-SNAPSHOT (#508) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 3f7197eb69b9..a7e187fb07fa 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.8 + 1.6.9-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.8 + 1.6.9-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index df570bf7160a..d63187b5e8e5 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.6.8 + 1.6.9-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8 + 1.6.9-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 4868e8f5ca5b..1ca8f35bc309 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.6.8 + 1.6.9-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.8 + 1.6.9-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 4c92f88c0cfb..81b9a214d480 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.6.8 + 1.6.9-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8 + 1.6.9-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2ca88bc25829..6bface4a1f3f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.8 + 1.6.9-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.8 + 1.6.9-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.8 + 1.6.9-SNAPSHOT com.google.cloud google-iam-policy - 1.6.8 + 1.6.9-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.8 + 1.6.9-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.8 + 1.6.9-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.8 + 1.6.9-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.8 + 1.6.9-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 788491c79f0e..e470d58807ed 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.6.8 + 1.6.9-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8 + 1.6.9-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 40cb86205253..c54a41f2950c 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.6.8 + 1.6.9-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8 + 1.6.9-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 59af43dab160..15dbf3909a43 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.6.8 + 1.6.9-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.8 + 1.6.9-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index bab8082fcefc..38a92d9b83b9 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.8:1.6.8 -grpc-google-iam-v1:1.6.8:1.6.8 -proto-google-iam-v2beta:1.6.8:1.6.8 -grpc-google-iam-v2beta:1.6.8:1.6.8 -google-iam-policy:1.6.8:1.6.8 -proto-google-iam-v2:1.6.8:1.6.8 -grpc-google-iam-v2:1.6.8:1.6.8 +proto-google-iam-v1:1.6.8:1.6.9-SNAPSHOT +grpc-google-iam-v1:1.6.8:1.6.9-SNAPSHOT +proto-google-iam-v2beta:1.6.8:1.6.9-SNAPSHOT +grpc-google-iam-v2beta:1.6.8:1.6.9-SNAPSHOT +google-iam-policy:1.6.8:1.6.9-SNAPSHOT +proto-google-iam-v2:1.6.8:1.6.9-SNAPSHOT +grpc-google-iam-v2:1.6.8:1.6.9-SNAPSHOT From 6d0a713fcf5b4e769ced15dc7a90aeebd630a550 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 9 Nov 2022 15:37:27 +0100 Subject: [PATCH 2809/3036] deps: update iam.version to v1.6.8 (#906) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 4346ed7b962f..0d86255d89e1 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.7 + 1.6.8 From a8d62a81d501b3c9a8ef713c36be505601523c37 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 9 Nov 2022 15:43:41 +0100 Subject: [PATCH 2810/3036] deps: update dependency io.perfmark:perfmark-api to v0.26.0 (#907) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ab70eb415056..8fd4f38d90d8 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -69,7 +69,7 @@ 4.5.13 3.27.0 - 0.25.0 + 0.26.0 From 7f74b2d0a38ea87491b6cac13a9ce2f7b390f75a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 9 Nov 2022 16:24:51 +0100 Subject: [PATCH 2811/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.8 (#1020) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index fa588dfd7a7b..8b8b629111a9 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.7 + 1.6.8 1.12.1 2.0.1 1.42.3 From 552c5881555fcd48f4bc52c310d5fcbc1b6753e0 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 9 Nov 2022 16:34:42 +0100 Subject: [PATCH 2812/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.8 (#509) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.7` -> `1.6.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/compatibility-slim/1.6.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.8/confidence-slim/1.6.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.8`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​168-httpsgithubcomgoogleapisjava-iamcomparev167v168-2022-11-08) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.7...v1.6.8) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 ([#​506](https://togithub.com/googleapis/java-iam/issues/506)) ([23e1a8d](https://togithub.com/googleapis/java-iam/commit/23e1a8d609cc8c6a0dc22d7bc3086a4587d2faa5)) - Update dependency com.google.cloud:google-iam-policy to v1.6.7 ([#​502](https://togithub.com/googleapis/java-iam/issues/502)) ([b877e43](https://togithub.com/googleapis/java-iam/commit/b877e43c6908af2c6c7d28fdbc154a403dc64fd0))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 7e270889b818..b5d479265a4d 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.7 + 1.6.8 compile From 4f1d56d559b12f1c9b7067d709e06897de443f38 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 16:48:16 +0000 Subject: [PATCH 2813/3036] chore(main): release 2.8.28 (#1021) :robot: I have created a release *beep* *boop* --- ## [2.8.28](https://togithub.com/googleapis/java-core/compare/v2.8.27...v2.8.28) (2022-11-09) ### Dependencies * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.8 ([#1020](https://togithub.com/googleapis/java-core/issues/1020)) ([7f74b2d](https://togithub.com/googleapis/java-core/commit/7f74b2d0a38ea87491b6cac13a9ce2f7b390f75a)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index fcc533887452..235d8ae049f7 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.8.28](https://github.com/googleapis/java-core/compare/v2.8.27...v2.8.28) (2022-11-09) + + +### Dependencies + +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.8 ([#1020](https://github.com/googleapis/java-core/issues/1020)) ([e8b3608](https://github.com/googleapis/java-core/commit/e8b360836633345db0a8010590cf9a9753e1a1f9)) + ## [2.8.27](https://github.com/googleapis/java-core/compare/v2.8.26...v2.8.27) (2022-11-07) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 6c5ad352260b..6d6e58ebbb1d 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.28-SNAPSHOT + 2.8.28 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.28-SNAPSHOT + 2.8.28 com.google.cloud google-cloud-core-grpc - 2.8.28-SNAPSHOT + 2.8.28 com.google.cloud google-cloud-core-http - 2.8.28-SNAPSHOT + 2.8.28
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 751a3bb6a23f..a5c1552bb235 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.8.28-SNAPSHOT + 2.8.28 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.28-SNAPSHOT + 2.8.28 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 9f65d0c2e7e0..470d72cc4866 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.8.28-SNAPSHOT + 2.8.28 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.28-SNAPSHOT + 2.8.28 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 30fd78073be3..76e95d2c0c45 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.8.28-SNAPSHOT + 2.8.28 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.28-SNAPSHOT + 2.8.28 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 8b8b629111a9..0ac846fc267b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.28-SNAPSHOT + 2.8.28 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 29d72b2e6e95..51430495fced 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.27:2.8.28-SNAPSHOT +google-cloud-core:2.8.28:2.8.28 From 952db2a0ee75087d9136920498d4959122229118 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 17:00:36 +0000 Subject: [PATCH 2814/3036] chore(main): release 1.6.9 (#510) :robot: I have created a release *beep* *boop* --- ## [1.6.9](https://togithub.com/googleapis/java-iam/compare/v1.6.8...v1.6.9) (2022-11-09) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.8 ([#509](https://togithub.com/googleapis/java-iam/issues/509)) ([552c588](https://togithub.com/googleapis/java-iam/commit/552c5881555fcd48f4bc52c310d5fcbc1b6753e0)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index ac1e8048a1a4..7b7b97350330 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.9](https://github.com/googleapis/java-iam/compare/v1.6.8...v1.6.9) (2022-11-09) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.8 ([#509](https://github.com/googleapis/java-iam/issues/509)) ([706621d](https://github.com/googleapis/java-iam/commit/706621d7a70ddc29a69230416dc723508629eac1)) + ## [1.6.8](https://github.com/googleapis/java-iam/compare/v1.6.7...v1.6.8) (2022-11-08) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index a7e187fb07fa..8f185ef4b30b 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.9-SNAPSHOT + 1.6.9 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.9-SNAPSHOT + 1.6.9 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index d63187b5e8e5..e8108bdd0dbb 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.6.9-SNAPSHOT + 1.6.9 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9-SNAPSHOT + 1.6.9 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 1ca8f35bc309..f73467570d97 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.6.9-SNAPSHOT + 1.6.9 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.9-SNAPSHOT + 1.6.9 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 81b9a214d480..e9bb58f143b5 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.6.9-SNAPSHOT + 1.6.9 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9-SNAPSHOT + 1.6.9 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6bface4a1f3f..e60989722db3 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.9-SNAPSHOT + 1.6.9 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.9-SNAPSHOT + 1.6.9 com.google.api.grpc grpc-google-iam-v2 - 1.6.9-SNAPSHOT + 1.6.9 com.google.cloud google-iam-policy - 1.6.9-SNAPSHOT + 1.6.9 com.google.api.grpc proto-google-iam-v2beta - 1.6.9-SNAPSHOT + 1.6.9 com.google.api.grpc grpc-google-iam-v1 - 1.6.9-SNAPSHOT + 1.6.9 com.google.api.grpc grpc-google-iam-v2beta - 1.6.9-SNAPSHOT + 1.6.9 com.google.api.grpc proto-google-iam-v1 - 1.6.9-SNAPSHOT + 1.6.9 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index e470d58807ed..33dbc90eb242 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.6.9-SNAPSHOT + 1.6.9 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9-SNAPSHOT + 1.6.9 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index c54a41f2950c..e2d528f09bf5 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.6.9-SNAPSHOT + 1.6.9 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9-SNAPSHOT + 1.6.9 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 15dbf3909a43..6f6c109b29f7 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.6.9-SNAPSHOT + 1.6.9 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9-SNAPSHOT + 1.6.9 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 38a92d9b83b9..e3f489569428 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.8:1.6.9-SNAPSHOT -grpc-google-iam-v1:1.6.8:1.6.9-SNAPSHOT -proto-google-iam-v2beta:1.6.8:1.6.9-SNAPSHOT -grpc-google-iam-v2beta:1.6.8:1.6.9-SNAPSHOT -google-iam-policy:1.6.8:1.6.9-SNAPSHOT -proto-google-iam-v2:1.6.8:1.6.9-SNAPSHOT -grpc-google-iam-v2:1.6.8:1.6.9-SNAPSHOT +proto-google-iam-v1:1.6.9:1.6.9 +grpc-google-iam-v1:1.6.9:1.6.9 +proto-google-iam-v2beta:1.6.9:1.6.9 +grpc-google-iam-v2beta:1.6.9:1.6.9 +google-iam-policy:1.6.9:1.6.9 +proto-google-iam-v2:1.6.9:1.6.9 +grpc-google-iam-v2:1.6.9:1.6.9 From ad9f623e3b5ccbda80bbdc83d1ebe75966760521 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 17:18:33 +0000 Subject: [PATCH 2815/3036] chore(main): release 2.8.29-SNAPSHOT (#1023) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 6d6e58ebbb1d..3b5107c4a3af 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.28 + 2.8.29-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.28 + 2.8.29-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.8.28 + 2.8.29-SNAPSHOT com.google.cloud google-cloud-core-http - 2.8.28 + 2.8.29-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index a5c1552bb235..0a0eb3eba134 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.8.28 + 2.8.29-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.28 + 2.8.29-SNAPSHOT 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 470d72cc4866..176a3373f3e5 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.8.28 + 2.8.29-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.28 + 2.8.29-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 76e95d2c0c45..1fd03da660a4 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.8.28 + 2.8.29-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.28 + 2.8.29-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 0ac846fc267b..011b96733a30 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.28 + 2.8.29-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 51430495fced..0606c1981d62 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.28:2.8.28 +google-cloud-core:2.8.28:2.8.29-SNAPSHOT From ad9f0df3e6019e1b05e45fe6610635b9bf71da05 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 12:22:18 -0500 Subject: [PATCH 2816/3036] chore: update google-auth to 2.14.1 (#1703) (#1022) Co-authored-by: Anthonios Partheniou Source-Link: https://github.com/googleapis/synthtool/commit/9457e69470097f8e71b6b497ceece5bc423eaf3a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:a3fe0b4c75f322520f548e535ed329df1e475ace3cb4a979b78e003cb822636a Co-authored-by: Owl Bot Co-authored-by: Anthonios Partheniou --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.in | 2 +- java-core/.kokoro/requirements.txt | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index c8316751ebd3..676aaea0c74d 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 + digest: sha256:a3fe0b4c75f322520f548e535ed329df1e475ace3cb4a979b78e003cb822636a diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in index 9cc4a1baae11..ae1d92e68084 100644 --- a/java-core/.kokoro/requirements.in +++ b/java-core/.kokoro/requirements.in @@ -30,5 +30,5 @@ zipp==3.6.0 rsa==4.9 six==1.16.0 attrs==22.1.0 -google-auth==2.14.0 +google-auth==2.14.1 idna==3.4 \ No newline at end of file diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 2dce197bf45a..9c82529c84ff 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -150,9 +150,8 @@ google-api-core==2.8.2 \ # -r requirements.in # google-cloud-core # google-cloud-storage -google-auth==2.14.0 \ - --hash=sha256:1ad5b0e6eba5f69645971abb3d2c197537d5914070a8c6d30299dfdb07c5c700 \ - --hash=sha256:cf24817855d874ede2efd071aa22125445f555de1685b739a9782fcf408c2a3d +google-auth==2.14.1 \ + --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 # via # -r requirements.in # gcp-releasetool From 3a704d7e225c2c1b7449a72b3b2a84d9ce808ef3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 12:27:56 -0500 Subject: [PATCH 2817/3036] chore: update google-auth to 2.14.1 (#1703) (#908) Co-authored-by: Anthonios Partheniou Source-Link: https://github.com/googleapis/synthtool/commit/9457e69470097f8e71b6b497ceece5bc423eaf3a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:a3fe0b4c75f322520f548e535ed329df1e475ace3cb4a979b78e003cb822636a Co-authored-by: Owl Bot Co-authored-by: Anthonios Partheniou --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/requirements.in | 2 +- java-shared-dependencies/.kokoro/requirements.txt | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index c8316751ebd3..676aaea0c74d 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 + digest: sha256:a3fe0b4c75f322520f548e535ed329df1e475ace3cb4a979b78e003cb822636a diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in index 9cc4a1baae11..ae1d92e68084 100644 --- a/java-shared-dependencies/.kokoro/requirements.in +++ b/java-shared-dependencies/.kokoro/requirements.in @@ -30,5 +30,5 @@ zipp==3.6.0 rsa==4.9 six==1.16.0 attrs==22.1.0 -google-auth==2.14.0 +google-auth==2.14.1 idna==3.4 \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 2dce197bf45a..9c82529c84ff 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -150,9 +150,8 @@ google-api-core==2.8.2 \ # -r requirements.in # google-cloud-core # google-cloud-storage -google-auth==2.14.0 \ - --hash=sha256:1ad5b0e6eba5f69645971abb3d2c197537d5914070a8c6d30299dfdb07c5c700 \ - --hash=sha256:cf24817855d874ede2efd071aa22125445f555de1685b739a9782fcf408c2a3d +google-auth==2.14.1 \ + --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 # via # -r requirements.in # gcp-releasetool From 9536809fd22c75ef253c1e31a62ea510f0214136 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 18:30:45 +0000 Subject: [PATCH 2818/3036] chore(main): release 1.6.10-SNAPSHOT (#512) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 8f185ef4b30b..b0fa9e6a921c 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.9 + 1.6.10-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.9 + 1.6.10-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e8108bdd0dbb..08341f9cdb3e 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.6.9 + 1.6.10-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9 + 1.6.10-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index f73467570d97..90e0e9798fb5 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.6.9 + 1.6.10-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.9 + 1.6.10-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index e9bb58f143b5..66167a3d90c1 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.6.9 + 1.6.10-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9 + 1.6.10-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e60989722db3..1f8d46a45686 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.9 + 1.6.10-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.9 + 1.6.10-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.9 + 1.6.10-SNAPSHOT com.google.cloud google-iam-policy - 1.6.9 + 1.6.10-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.9 + 1.6.10-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.9 + 1.6.10-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.9 + 1.6.10-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.9 + 1.6.10-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 33dbc90eb242..5787dbaff5a9 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.6.9 + 1.6.10-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9 + 1.6.10-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index e2d528f09bf5..86810b31cbb8 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.6.9 + 1.6.10-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9 + 1.6.10-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 6f6c109b29f7..051f4a707a37 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.6.9 + 1.6.10-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.9 + 1.6.10-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index e3f489569428..dc6988003fab 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.9:1.6.9 -grpc-google-iam-v1:1.6.9:1.6.9 -proto-google-iam-v2beta:1.6.9:1.6.9 -grpc-google-iam-v2beta:1.6.9:1.6.9 -google-iam-policy:1.6.9:1.6.9 -proto-google-iam-v2:1.6.9:1.6.9 -grpc-google-iam-v2:1.6.9:1.6.9 +proto-google-iam-v1:1.6.9:1.6.10-SNAPSHOT +grpc-google-iam-v1:1.6.9:1.6.10-SNAPSHOT +proto-google-iam-v2beta:1.6.9:1.6.10-SNAPSHOT +grpc-google-iam-v2beta:1.6.9:1.6.10-SNAPSHOT +google-iam-policy:1.6.9:1.6.10-SNAPSHOT +proto-google-iam-v2:1.6.9:1.6.10-SNAPSHOT +grpc-google-iam-v2:1.6.9:1.6.10-SNAPSHOT From 39c3fc0b40f9efc41a2c7e605091f1b7e4490c99 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 9 Nov 2022 14:24:35 -0500 Subject: [PATCH 2819/3036] feat: next release from main branch is 2.9.0 (#1018) --- java-core/.github/release-please.yml | 4 ++++ java-core/.github/sync-repo-settings.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml index a24a02defc47..66bcbd6b7412 100644 --- a/java-core/.github/release-please.yml +++ b/java-core/.github/release-please.yml @@ -18,3 +18,7 @@ branches: handleGHRelease: true releaseType: java-backport branch: 2.6.x + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-backport + branch: 2.8.x diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml index 20770a28ddc3..ce15b5e92c84 100644 --- a/java-core/.github/sync-repo-settings.yaml +++ b/java-core/.github/sync-repo-settings.yaml @@ -78,6 +78,21 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - cla/google - OwlBot Post Processor + - pattern: 2.8.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: - team: yoshi-admins permission: admin From 6aba7fd8bac29aa515e1e129724ff010d3a7c617 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 10 Nov 2022 16:37:09 +0100 Subject: [PATCH 2820/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.9 (#1024) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 011b96733a30..f4f4b93f1c06 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.8 + 1.6.9 1.12.1 2.0.1 1.42.3 From 2c733b10b05d0c2ea20004ff8d5a130ddaebb7e8 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 10 Nov 2022 16:37:56 +0100 Subject: [PATCH 2821/3036] deps: update google.core.version to v2.8.28 (#909) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 0d86255d89e1..1ee1ecc9e742 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.9 2.2.2 2.10.0 - 2.8.27 + 2.8.28 1.12.1 1.42.3 1.34.1 From 336f706ae9c588d01061fd8a444665a169cbc6fe Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 10 Nov 2022 16:38:10 +0100 Subject: [PATCH 2822/3036] deps: update iam.version to v1.6.9 (#912) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 1ee1ecc9e742..3689022189d5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.8 + 1.6.9 From 50c9b22e51af41ae729fc8879bd994e477d54c18 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 10 Nov 2022 15:31:30 -0500 Subject: [PATCH 2823/3036] feat: next release from main branch is 3.1.0 (#910) --- .../.github/release-please.yml | 4 ++++ .../.github/sync-repo-settings.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml index 3275d1947c8e..c4fdf356a485 100644 --- a/java-shared-dependencies/.github/release-please.yml +++ b/java-shared-dependencies/.github/release-please.yml @@ -18,3 +18,7 @@ branches: handleGHRelease: true bumpMinorPreMajor: true branch: 2.10.x + - releaseType: java-backport + handleGHRelease: true + bumpMinorPreMajor: true + branch: 3.0.x diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml index 5db392d986e4..402ec78c9958 100644 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ b/java-shared-dependencies/.github/sync-repo-settings.yaml @@ -76,6 +76,21 @@ branchProtectionRules: - 'Kokoro - Test: Integration' - cla/google - OwlBot Post Processor + - pattern: 3.0.x + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - OwlBot Post Processor permissionRules: - team: yoshi-admins permission: admin From 468f7a9da3b3a9c85f2cb606dab49331228974fe Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 11 Nov 2022 10:02:14 -0500 Subject: [PATCH 2824/3036] chore: use gcp-docuploader 0.6.3 (#1708) (#1027) Source-Link: https://github.com/googleapis/synthtool/commit/fbc8bfe364d70c38fbffbf68ebe1cfdae54d3447 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb Co-authored-by: Owl Bot --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.in | 2 +- java-core/.kokoro/requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 676aaea0c74d..0f0647b00ef2 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a3fe0b4c75f322520f548e535ed329df1e475ace3cb4a979b78e003cb822636a + digest: sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in index ae1d92e68084..924f94ae6fa1 100644 --- a/java-core/.kokoro/requirements.in +++ b/java-core/.kokoro/requirements.in @@ -1,4 +1,4 @@ -gcp-docuploader==0.6.4 +gcp-docuploader==0.6.3 google-crc32c==1.3.0 googleapis-common-protos==1.56.3 gcp-releasetool==1.9.1 diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 9c82529c84ff..71fcafc70316 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -135,9 +135,9 @@ cryptography==38.0.3 \ # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.4 \ - --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ - --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf +gcp-docuploader==0.6.3 \ + --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ + --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b # via -r requirements.in gcp-releasetool==1.9.1 \ --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ From ec3025eedb0654270760120cf91940e5bc26a548 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 11 Nov 2022 10:02:43 -0500 Subject: [PATCH 2825/3036] chore: use gcp-docuploader 0.6.3 (#1708) (#913) Source-Link: https://github.com/googleapis/synthtool/commit/fbc8bfe364d70c38fbffbf68ebe1cfdae54d3447 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb Co-authored-by: Owl Bot --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/requirements.in | 2 +- java-shared-dependencies/.kokoro/requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 676aaea0c74d..0f0647b00ef2 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a3fe0b4c75f322520f548e535ed329df1e475ace3cb4a979b78e003cb822636a + digest: sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in index ae1d92e68084..924f94ae6fa1 100644 --- a/java-shared-dependencies/.kokoro/requirements.in +++ b/java-shared-dependencies/.kokoro/requirements.in @@ -1,4 +1,4 @@ -gcp-docuploader==0.6.4 +gcp-docuploader==0.6.3 google-crc32c==1.3.0 googleapis-common-protos==1.56.3 gcp-releasetool==1.9.1 diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 9c82529c84ff..71fcafc70316 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -135,9 +135,9 @@ cryptography==38.0.3 \ # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.4 \ - --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ - --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf +gcp-docuploader==0.6.3 \ + --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ + --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b # via -r requirements.in gcp-releasetool==1.9.1 \ --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ From f7585ac2c27da59851c0d552bda7b23b454d035a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 11 Nov 2022 16:03:03 +0100 Subject: [PATCH 2826/3036] deps: update dependency com.google.cloud.tools:dependencies to v1.5.13 (#914) --- java-shared-dependencies/dependency-convergence-check/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 1651aee40bc4..559ab368a901 100644 --- a/java-shared-dependencies/dependency-convergence-check/pom.xml +++ b/java-shared-dependencies/dependency-convergence-check/pom.xml @@ -63,7 +63,7 @@ com.google.cloud.tools dependencies - 1.5.12 + 1.5.13 test From 4e7bfde3ab9fe186aa449e483dd37a519bc21660 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 14 Nov 2022 19:16:02 +0100 Subject: [PATCH 2827/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.9 (#513) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index b5d479265a4d..c47ab589c0ee 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.8 + 1.6.9 compile From b8dc63a6083c612e8f87cd32320994633bc5d9d6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 14 Nov 2022 19:18:13 +0100 Subject: [PATCH 2828/3036] deps: update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221108-2.0.0 (#514) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.apis:google-api-services-cloudresourcemanager](http://nexus.sonatype.org/oss-repository-hosting.html) ([source](http://svn.sonatype.org/spice/tags/oss-parent-7)) | `v3-rev20221016-2.0.0` -> `v3-rev20221108-2.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221108-2.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221108-2.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221108-2.0.0/compatibility-slim/v3-rev20221016-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.apis:google-api-services-cloudresourcemanager/v3-rev20221108-2.0.0/confidence-slim/v3-rev20221016-2.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index c47ab589c0ee..c5331f4d13ed 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -26,7 +26,7 @@ com.google.apis google-api-services-cloudresourcemanager - v3-rev20221016-2.0.0 + v3-rev20221108-2.0.0 com.google.auth From 870eb7a7040840befe03fc59655f398d1aad2893 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 14 Nov 2022 18:26:13 +0000 Subject: [PATCH 2829/3036] chore(main): release 1.6.10 (#516) :robot: I have created a release *beep* *boop* --- ## [1.6.10](https://togithub.com/googleapis/java-iam/compare/v1.6.9...v1.6.10) (2022-11-14) ### Dependencies * Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221108-2.0.0 ([#514](https://togithub.com/googleapis/java-iam/issues/514)) ([b8dc63a](https://togithub.com/googleapis/java-iam/commit/b8dc63a6083c612e8f87cd32320994633bc5d9d6)) * Update dependency com.google.cloud:google-iam-policy to v1.6.9 ([#513](https://togithub.com/googleapis/java-iam/issues/513)) ([4e7bfde](https://togithub.com/googleapis/java-iam/commit/4e7bfde3ab9fe186aa449e483dd37a519bc21660)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 8 ++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 37 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 7b7b97350330..a91ec9ba40a0 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [1.6.10](https://github.com/googleapis/java-iam/compare/v1.6.9...v1.6.10) (2022-11-14) + + +### Dependencies + +* Update dependency com.google.apis:google-api-services-cloudresourcemanager to v3-rev20221108-2.0.0 ([#514](https://github.com/googleapis/java-iam/issues/514)) ([c754e5a](https://github.com/googleapis/java-iam/commit/c754e5af64a4e67c9fd8b3db8019e208f39da3ba)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.9 ([#513](https://github.com/googleapis/java-iam/issues/513)) ([e7e1836](https://github.com/googleapis/java-iam/commit/e7e18368d573f333057faead618bc24ad2199e6c)) + ## [1.6.9](https://github.com/googleapis/java-iam/compare/v1.6.8...v1.6.9) (2022-11-09) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index b0fa9e6a921c..fa3a63411d5f 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.10-SNAPSHOT + 1.6.10 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.10-SNAPSHOT + 1.6.10 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 08341f9cdb3e..b679c7a03702 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.6.10-SNAPSHOT + 1.6.10 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10-SNAPSHOT + 1.6.10 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 90e0e9798fb5..fa5b87d2bb78 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.6.10-SNAPSHOT + 1.6.10 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.10-SNAPSHOT + 1.6.10 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 66167a3d90c1..6a17c135b84a 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.6.10-SNAPSHOT + 1.6.10 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10-SNAPSHOT + 1.6.10 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1f8d46a45686..2a64c54a311a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.10-SNAPSHOT + 1.6.10 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.10-SNAPSHOT + 1.6.10 com.google.api.grpc grpc-google-iam-v2 - 1.6.10-SNAPSHOT + 1.6.10 com.google.cloud google-iam-policy - 1.6.10-SNAPSHOT + 1.6.10 com.google.api.grpc proto-google-iam-v2beta - 1.6.10-SNAPSHOT + 1.6.10 com.google.api.grpc grpc-google-iam-v1 - 1.6.10-SNAPSHOT + 1.6.10 com.google.api.grpc grpc-google-iam-v2beta - 1.6.10-SNAPSHOT + 1.6.10 com.google.api.grpc proto-google-iam-v1 - 1.6.10-SNAPSHOT + 1.6.10 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 5787dbaff5a9..4f3db0755c96 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.6.10-SNAPSHOT + 1.6.10 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10-SNAPSHOT + 1.6.10 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 86810b31cbb8..ba7abeab6c72 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.6.10-SNAPSHOT + 1.6.10 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10-SNAPSHOT + 1.6.10 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 051f4a707a37..83163015242e 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.6.10-SNAPSHOT + 1.6.10 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10-SNAPSHOT + 1.6.10 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index dc6988003fab..8d061d094aa4 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.9:1.6.10-SNAPSHOT -grpc-google-iam-v1:1.6.9:1.6.10-SNAPSHOT -proto-google-iam-v2beta:1.6.9:1.6.10-SNAPSHOT -grpc-google-iam-v2beta:1.6.9:1.6.10-SNAPSHOT -google-iam-policy:1.6.9:1.6.10-SNAPSHOT -proto-google-iam-v2:1.6.9:1.6.10-SNAPSHOT -grpc-google-iam-v2:1.6.9:1.6.10-SNAPSHOT +proto-google-iam-v1:1.6.10:1.6.10 +grpc-google-iam-v1:1.6.10:1.6.10 +proto-google-iam-v2beta:1.6.10:1.6.10 +grpc-google-iam-v2beta:1.6.10:1.6.10 +google-iam-policy:1.6.10:1.6.10 +proto-google-iam-v2:1.6.10:1.6.10 +grpc-google-iam-v2:1.6.10:1.6.10 From 518bc48555cad08100bf3c2d82aee1e9139b6c22 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 14 Nov 2022 18:32:14 +0000 Subject: [PATCH 2830/3036] chore(main): release 1.6.11-SNAPSHOT (#517) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index fa3a63411d5f..fa64a7e43745 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.10 + 1.6.11-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.10 + 1.6.11-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index b679c7a03702..a59f43b92eeb 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.6.10 + 1.6.11-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10 + 1.6.11-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index fa5b87d2bb78..b2e0904b114a 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.6.10 + 1.6.11-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.10 + 1.6.11-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 6a17c135b84a..de1d18fca467 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.6.10 + 1.6.11-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10 + 1.6.11-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2a64c54a311a..c77536988337 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.10 + 1.6.11-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.10 + 1.6.11-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.10 + 1.6.11-SNAPSHOT com.google.cloud google-iam-policy - 1.6.10 + 1.6.11-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.10 + 1.6.11-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.10 + 1.6.11-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.10 + 1.6.11-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.10 + 1.6.11-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 4f3db0755c96..c4d59e08c147 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.6.10 + 1.6.11-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10 + 1.6.11-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index ba7abeab6c72..5b023cc91bb9 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.6.10 + 1.6.11-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10 + 1.6.11-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 83163015242e..31cfc9191f3a 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.6.10 + 1.6.11-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.10 + 1.6.11-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 8d061d094aa4..6944bcc1403b 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.10:1.6.10 -grpc-google-iam-v1:1.6.10:1.6.10 -proto-google-iam-v2beta:1.6.10:1.6.10 -grpc-google-iam-v2beta:1.6.10:1.6.10 -google-iam-policy:1.6.10:1.6.10 -proto-google-iam-v2:1.6.10:1.6.10 -grpc-google-iam-v2:1.6.10:1.6.10 +proto-google-iam-v1:1.6.10:1.6.11-SNAPSHOT +grpc-google-iam-v1:1.6.10:1.6.11-SNAPSHOT +proto-google-iam-v2beta:1.6.10:1.6.11-SNAPSHOT +grpc-google-iam-v2beta:1.6.10:1.6.11-SNAPSHOT +google-iam-policy:1.6.10:1.6.11-SNAPSHOT +proto-google-iam-v2:1.6.10:1.6.11-SNAPSHOT +grpc-google-iam-v2:1.6.10:1.6.11-SNAPSHOT From ae476604430936b962d74c9fdb4bbfae83f4e871 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 15 Nov 2022 17:18:30 +0100 Subject: [PATCH 2831/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.10 (#518) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index c5331f4d13ed..ae9980476e75 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.9 + 1.6.10 compile From 4feade44914d5d35ca16bbc22539425d0ac379aa Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 15 Nov 2022 17:20:22 +0100 Subject: [PATCH 2832/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.10 (#1028) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f4f4b93f1c06..474a9d5046c6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.9 + 1.6.10 1.12.1 2.0.1 1.42.3 From ed97aae1b1c010ceecb30e1811cdbec2111949a9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 16:24:14 +0000 Subject: [PATCH 2833/3036] chore(main): release 1.6.11 (#519) :robot: I have created a release *beep* *boop* --- ## [1.6.11](https://togithub.com/googleapis/java-iam/compare/v1.6.10...v1.6.11) (2022-11-15) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.10 ([#518](https://togithub.com/googleapis/java-iam/issues/518)) ([ae47660](https://togithub.com/googleapis/java-iam/commit/ae476604430936b962d74c9fdb4bbfae83f4e871)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index a91ec9ba40a0..b4f948039d90 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.11](https://github.com/googleapis/java-iam/compare/v1.6.10...v1.6.11) (2022-11-15) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.10 ([#518](https://github.com/googleapis/java-iam/issues/518)) ([93a1e60](https://github.com/googleapis/java-iam/commit/93a1e60f4feb89a1ff1104aa890df01764d99944)) + ## [1.6.10](https://github.com/googleapis/java-iam/compare/v1.6.9...v1.6.10) (2022-11-14) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index fa64a7e43745..a38d4b77e5d5 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.11-SNAPSHOT + 1.6.11 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.11-SNAPSHOT + 1.6.11 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index a59f43b92eeb..0b0dd38c276a 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.6.11-SNAPSHOT + 1.6.11 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11-SNAPSHOT + 1.6.11 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index b2e0904b114a..f397229b1a0b 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.6.11-SNAPSHOT + 1.6.11 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.11-SNAPSHOT + 1.6.11 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index de1d18fca467..a2ee9d599451 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.6.11-SNAPSHOT + 1.6.11 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11-SNAPSHOT + 1.6.11 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c77536988337..365f94ea64c4 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.11-SNAPSHOT + 1.6.11 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.11-SNAPSHOT + 1.6.11 com.google.api.grpc grpc-google-iam-v2 - 1.6.11-SNAPSHOT + 1.6.11 com.google.cloud google-iam-policy - 1.6.11-SNAPSHOT + 1.6.11 com.google.api.grpc proto-google-iam-v2beta - 1.6.11-SNAPSHOT + 1.6.11 com.google.api.grpc grpc-google-iam-v1 - 1.6.11-SNAPSHOT + 1.6.11 com.google.api.grpc grpc-google-iam-v2beta - 1.6.11-SNAPSHOT + 1.6.11 com.google.api.grpc proto-google-iam-v1 - 1.6.11-SNAPSHOT + 1.6.11 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index c4d59e08c147..b4d025560a02 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.6.11-SNAPSHOT + 1.6.11 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11-SNAPSHOT + 1.6.11 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 5b023cc91bb9..1dd4dd125be7 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.6.11-SNAPSHOT + 1.6.11 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11-SNAPSHOT + 1.6.11 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 31cfc9191f3a..d90f958c0cd6 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.6.11-SNAPSHOT + 1.6.11 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11-SNAPSHOT + 1.6.11 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 6944bcc1403b..815b115a6489 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.10:1.6.11-SNAPSHOT -grpc-google-iam-v1:1.6.10:1.6.11-SNAPSHOT -proto-google-iam-v2beta:1.6.10:1.6.11-SNAPSHOT -grpc-google-iam-v2beta:1.6.10:1.6.11-SNAPSHOT -google-iam-policy:1.6.10:1.6.11-SNAPSHOT -proto-google-iam-v2:1.6.10:1.6.11-SNAPSHOT -grpc-google-iam-v2:1.6.10:1.6.11-SNAPSHOT +proto-google-iam-v1:1.6.11:1.6.11 +grpc-google-iam-v1:1.6.11:1.6.11 +proto-google-iam-v2beta:1.6.11:1.6.11 +grpc-google-iam-v2beta:1.6.11:1.6.11 +google-iam-policy:1.6.11:1.6.11 +proto-google-iam-v2:1.6.11:1.6.11 +grpc-google-iam-v2:1.6.11:1.6.11 From 1e78fa45d8991bb805db54c51f74f8131fbc178c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 16:30:36 +0000 Subject: [PATCH 2834/3036] chore(main): release 1.6.12-SNAPSHOT (#520) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index a38d4b77e5d5..b9e8c386a14d 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.11 + 1.6.12-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.11 + 1.6.12-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 0b0dd38c276a..0feeb287d6cb 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.6.11 + 1.6.12-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11 + 1.6.12-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index f397229b1a0b..daf2b3fa1c9e 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.6.11 + 1.6.12-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.11 + 1.6.12-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index a2ee9d599451..4b6e2140269a 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.6.11 + 1.6.12-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11 + 1.6.12-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 365f94ea64c4..d6dd8544a091 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.11 + 1.6.12-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.11 + 1.6.12-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.11 + 1.6.12-SNAPSHOT com.google.cloud google-iam-policy - 1.6.11 + 1.6.12-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.11 + 1.6.12-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.11 + 1.6.12-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.11 + 1.6.12-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.11 + 1.6.12-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b4d025560a02..fd78145044f4 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.6.11 + 1.6.12-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11 + 1.6.12-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 1dd4dd125be7..102fc3d69b21 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.6.11 + 1.6.12-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11 + 1.6.12-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index d90f958c0cd6..3f6980273756 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.6.11 + 1.6.12-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.11 + 1.6.12-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 815b115a6489..5fe9b0088282 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.11:1.6.11 -grpc-google-iam-v1:1.6.11:1.6.11 -proto-google-iam-v2beta:1.6.11:1.6.11 -grpc-google-iam-v2beta:1.6.11:1.6.11 -google-iam-policy:1.6.11:1.6.11 -proto-google-iam-v2:1.6.11:1.6.11 -grpc-google-iam-v2:1.6.11:1.6.11 +proto-google-iam-v1:1.6.11:1.6.12-SNAPSHOT +grpc-google-iam-v1:1.6.11:1.6.12-SNAPSHOT +proto-google-iam-v2beta:1.6.11:1.6.12-SNAPSHOT +grpc-google-iam-v2beta:1.6.11:1.6.12-SNAPSHOT +google-iam-policy:1.6.11:1.6.12-SNAPSHOT +proto-google-iam-v2:1.6.11:1.6.12-SNAPSHOT +grpc-google-iam-v2:1.6.11:1.6.12-SNAPSHOT From 2ee661292bb48b808723a7b55bc88b30c1924435 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 15 Nov 2022 17:40:41 +0100 Subject: [PATCH 2835/3036] deps: update iam.version to v1.6.10 (#915) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3689022189d5..6a6970b452b0 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.9 + 1.6.10 From 2bd9d3237abb1e3723805467b0919025b5f35b2f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 15 Nov 2022 22:36:41 +0100 Subject: [PATCH 2836/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.13.0 (#917) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 6a6970b452b0..d733cdd35cfb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.2.2 2.10.0 2.8.28 - 1.12.1 + 1.13.0 1.42.3 1.34.1 2.0.1 From e6125a40f475dce9a35edd989fcd34549578b852 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 15 Nov 2022 22:37:05 +0100 Subject: [PATCH 2837/3036] deps: update iam.version to v1.6.11 (#916) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d733cdd35cfb..bb6026cc0219 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.10 + 1.6.11 From d6371d53e8e56a0a2b3b5ec94e823f955b01c459 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 15 Nov 2022 22:38:34 +0100 Subject: [PATCH 2838/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.11 (#1029) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 474a9d5046c6..89088a47b9dd 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.10 + 1.6.11 1.12.1 2.0.1 1.42.3 From 2bda331877435c2bcf019130b07333927aa9522d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 15 Nov 2022 22:39:01 +0100 Subject: [PATCH 2839/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.11 (#521) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index ae9980476e75..831cb8e0bf78 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.10 + 1.6.11 compile From f38ccd4e4c3e2e9320ee0f9f828d94c6215fbec0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 15:16:59 -0500 Subject: [PATCH 2840/3036] chore(java): pom generation to look at root versions.txt (#1706) (#524) * chore(java): pom generation to look at root versions.txt * not to include irrelevant modules in monorepo Co-authored-by: Burke Davison <40617934+burkedavison@users.noreply.github.com> Co-authored-by: Burke Davison <40617934+burkedavison@users.noreply.github.com> Source-Link: https://github.com/googleapis/synthtool/commit/909f3c8707c331ef181941fa45ad4c90c9368e85 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:a57d2ea6d1a77aa96c17ad0850b779ec6295f88b6c1da3d214b2095d140a2066 Co-authored-by: Owl Bot Co-authored-by: Burke Davison <40617934+burkedavison@users.noreply.github.com> --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/requirements.in | 4 ++-- java-iam/.kokoro/requirements.txt | 11 +++++------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index c8316751ebd3..c1e4d2da2a82 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0 + digest: sha256:a57d2ea6d1a77aa96c17ad0850b779ec6295f88b6c1da3d214b2095d140a2066 diff --git a/java-iam/.kokoro/requirements.in b/java-iam/.kokoro/requirements.in index 9cc4a1baae11..924f94ae6fa1 100644 --- a/java-iam/.kokoro/requirements.in +++ b/java-iam/.kokoro/requirements.in @@ -1,4 +1,4 @@ -gcp-docuploader==0.6.4 +gcp-docuploader==0.6.3 google-crc32c==1.3.0 googleapis-common-protos==1.56.3 gcp-releasetool==1.9.1 @@ -30,5 +30,5 @@ zipp==3.6.0 rsa==4.9 six==1.16.0 attrs==22.1.0 -google-auth==2.14.0 +google-auth==2.14.1 idna==3.4 \ No newline at end of file diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt index 2dce197bf45a..71fcafc70316 100644 --- a/java-iam/.kokoro/requirements.txt +++ b/java-iam/.kokoro/requirements.txt @@ -135,9 +135,9 @@ cryptography==38.0.3 \ # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.4 \ - --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ - --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf +gcp-docuploader==0.6.3 \ + --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ + --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b # via -r requirements.in gcp-releasetool==1.9.1 \ --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ @@ -150,9 +150,8 @@ google-api-core==2.8.2 \ # -r requirements.in # google-cloud-core # google-cloud-storage -google-auth==2.14.0 \ - --hash=sha256:1ad5b0e6eba5f69645971abb3d2c197537d5914070a8c6d30299dfdb07c5c700 \ - --hash=sha256:cf24817855d874ede2efd071aa22125445f555de1685b739a9782fcf408c2a3d +google-auth==2.14.1 \ + --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 # via # -r requirements.in # gcp-releasetool From 6058bb03f8ae0496844708fec629d7f298d47f7e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 16 Nov 2022 21:45:41 +0100 Subject: [PATCH 2841/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.13.0 (#522) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 831cb8e0bf78..24d42948a5b7 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.12.1 + 1.13.0 com.google.http-client From d35de4b7b0bb76ceef3b40d4ea4512569dd7d750 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 16 Nov 2022 21:46:41 +0100 Subject: [PATCH 2842/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.13.0 (#1030) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 89088a47b9dd..dabf7f5b304f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.2.2 2.10.0 1.6.11 - 1.12.1 + 1.13.0 2.0.1 1.42.3 1.50.2 From ef21c2e8b92b9ebda09715f952b32c157996367b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 20:52:19 +0000 Subject: [PATCH 2843/3036] chore(main): release 1.6.12 (#523) :robot: I have created a release *beep* *boop* --- ## [1.6.12](https://togithub.com/googleapis/java-iam/compare/v1.6.11...v1.6.12) (2022-11-16) ### Dependencies * Update dependency com.google.auth:google-auth-library-oauth2-http to v1.13.0 ([#522](https://togithub.com/googleapis/java-iam/issues/522)) ([6058bb0](https://togithub.com/googleapis/java-iam/commit/6058bb03f8ae0496844708fec629d7f298d47f7e)) * Update dependency com.google.cloud:google-iam-policy to v1.6.11 ([#521](https://togithub.com/googleapis/java-iam/issues/521)) ([2bda331](https://togithub.com/googleapis/java-iam/commit/2bda331877435c2bcf019130b07333927aa9522d)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 8 ++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 37 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index b4f948039d90..ec99c935513e 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [1.6.12](https://github.com/googleapis/java-iam/compare/v1.6.11...v1.6.12) (2022-11-16) + + +### Dependencies + +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.13.0 ([#522](https://github.com/googleapis/java-iam/issues/522)) ([37e4984](https://github.com/googleapis/java-iam/commit/37e4984d96e78117225ccccaf807386f6b699e04)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.11 ([#521](https://github.com/googleapis/java-iam/issues/521)) ([dd07607](https://github.com/googleapis/java-iam/commit/dd07607d4de0dfb6b1f0852fcaf18c9c035c5467)) + ## [1.6.11](https://github.com/googleapis/java-iam/compare/v1.6.10...v1.6.11) (2022-11-15) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index b9e8c386a14d..9220f4958284 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.12-SNAPSHOT + 1.6.12 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.12-SNAPSHOT + 1.6.12 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 0feeb287d6cb..efb1d48c6a55 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.6.12-SNAPSHOT + 1.6.12 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12-SNAPSHOT + 1.6.12 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index daf2b3fa1c9e..77a6de2315a1 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.6.12-SNAPSHOT + 1.6.12 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.12-SNAPSHOT + 1.6.12 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 4b6e2140269a..ddf438e33796 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.6.12-SNAPSHOT + 1.6.12 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12-SNAPSHOT + 1.6.12 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d6dd8544a091..f6034ab0c73c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.12-SNAPSHOT + 1.6.12 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.12-SNAPSHOT + 1.6.12 com.google.api.grpc grpc-google-iam-v2 - 1.6.12-SNAPSHOT + 1.6.12 com.google.cloud google-iam-policy - 1.6.12-SNAPSHOT + 1.6.12 com.google.api.grpc proto-google-iam-v2beta - 1.6.12-SNAPSHOT + 1.6.12 com.google.api.grpc grpc-google-iam-v1 - 1.6.12-SNAPSHOT + 1.6.12 com.google.api.grpc grpc-google-iam-v2beta - 1.6.12-SNAPSHOT + 1.6.12 com.google.api.grpc proto-google-iam-v1 - 1.6.12-SNAPSHOT + 1.6.12 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index fd78145044f4..7e76a6918c1b 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.6.12-SNAPSHOT + 1.6.12 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12-SNAPSHOT + 1.6.12 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 102fc3d69b21..1a280c8da3b2 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.6.12-SNAPSHOT + 1.6.12 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12-SNAPSHOT + 1.6.12 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 3f6980273756..14bf77cbeb02 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.6.12-SNAPSHOT + 1.6.12 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12-SNAPSHOT + 1.6.12 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 5fe9b0088282..ab9e051f7094 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.11:1.6.12-SNAPSHOT -grpc-google-iam-v1:1.6.11:1.6.12-SNAPSHOT -proto-google-iam-v2beta:1.6.11:1.6.12-SNAPSHOT -grpc-google-iam-v2beta:1.6.11:1.6.12-SNAPSHOT -google-iam-policy:1.6.11:1.6.12-SNAPSHOT -proto-google-iam-v2:1.6.11:1.6.12-SNAPSHOT -grpc-google-iam-v2:1.6.11:1.6.12-SNAPSHOT +proto-google-iam-v1:1.6.12:1.6.12 +grpc-google-iam-v1:1.6.12:1.6.12 +proto-google-iam-v2beta:1.6.12:1.6.12 +grpc-google-iam-v2beta:1.6.12:1.6.12 +google-iam-policy:1.6.12:1.6.12 +proto-google-iam-v2:1.6.12:1.6.12 +grpc-google-iam-v2:1.6.12:1.6.12 From 9910c1a279761fba372cf65f845c0fdeb44bd779 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 16 Nov 2022 20:58:22 +0000 Subject: [PATCH 2844/3036] chore(main): release 1.6.13-SNAPSHOT (#525) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 9220f4958284..98095eea14f9 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.12 + 1.6.13-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.12 + 1.6.13-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index efb1d48c6a55..29ec6ec3e630 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.6.12 + 1.6.13-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12 + 1.6.13-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 77a6de2315a1..1f427530e27c 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.6.12 + 1.6.13-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.12 + 1.6.13-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index ddf438e33796..107df29888dd 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.6.12 + 1.6.13-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12 + 1.6.13-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index f6034ab0c73c..a80a7828b133 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.12 + 1.6.13-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.12 + 1.6.13-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.12 + 1.6.13-SNAPSHOT com.google.cloud google-iam-policy - 1.6.12 + 1.6.13-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.12 + 1.6.13-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.12 + 1.6.13-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.12 + 1.6.13-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.12 + 1.6.13-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7e76a6918c1b..655f93b6d5d1 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.6.12 + 1.6.13-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12 + 1.6.13-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 1a280c8da3b2..fea68ccae7ed 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.6.12 + 1.6.13-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12 + 1.6.13-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 14bf77cbeb02..87fd6ad50241 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.6.12 + 1.6.13-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.12 + 1.6.13-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ab9e051f7094..0033e1603f92 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.12:1.6.12 -grpc-google-iam-v1:1.6.12:1.6.12 -proto-google-iam-v2beta:1.6.12:1.6.12 -grpc-google-iam-v2beta:1.6.12:1.6.12 -google-iam-policy:1.6.12:1.6.12 -proto-google-iam-v2:1.6.12:1.6.12 -grpc-google-iam-v2:1.6.12:1.6.12 +proto-google-iam-v1:1.6.12:1.6.13-SNAPSHOT +grpc-google-iam-v1:1.6.12:1.6.13-SNAPSHOT +proto-google-iam-v2beta:1.6.12:1.6.13-SNAPSHOT +grpc-google-iam-v2beta:1.6.12:1.6.13-SNAPSHOT +google-iam-policy:1.6.12:1.6.13-SNAPSHOT +proto-google-iam-v2:1.6.12:1.6.13-SNAPSHOT +grpc-google-iam-v2:1.6.12:1.6.13-SNAPSHOT From 46a0371a2d2824a7850125fc6e944524d4580904 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 17 Nov 2022 22:42:57 +0100 Subject: [PATCH 2845/3036] deps: update dependency io.grpc:grpc-bom to v1.51.0 (#919) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index bb6026cc0219..2622fdb0859f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.50.2 + 1.51.0 2.19.5 1.3.1 2.10 From 924fa6bf6804f3e9d19c66cdc9611e23d611accd Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 17 Nov 2022 22:43:09 +0100 Subject: [PATCH 2846/3036] deps: update dependency io.grpc:grpc-bom to v1.51.0 (#1032) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index dabf7f5b304f..4ce8e45a4669 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.13.0 2.0.1 1.42.3 - 1.50.2 + 1.51.0 3.21.9 0.31.1 1.3.2 From 639ee382a7adba44a3b0c8b5dc93842a8dfc225b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 17 Nov 2022 22:43:46 +0100 Subject: [PATCH 2847/3036] deps: update dependency io.grpc:grpc-stub to v1.51.0 (#528) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 2e9be1fe39aa..955d835019b4 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.50.2' + compile 'io.grpc:grpc-stub:1.51.0' compile 'io.grpc:grpc-protobuf:1.50.2' compile project(':proto-google-iam-v1') } From 85f0491dd27c09cfc9fbb614e049e5d046fda0b6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 17 Nov 2022 22:48:49 +0100 Subject: [PATCH 2848/3036] deps: update iam.version to v1.6.12 (#918) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2622fdb0859f..26289e39cf27 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.11 + 1.6.12 From 2983a65175de28d98b0c9ca6d4f984afcd991130 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 17 Nov 2022 22:49:14 +0100 Subject: [PATCH 2849/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.12 (#1031) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4ce8e45a4669..b8053f7dbdd6 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.11 + 1.6.12 1.13.0 2.0.1 1.42.3 From 71cfca72a007a0ff2471b3a4850fe01d79a2df16 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 17 Nov 2022 22:49:26 +0100 Subject: [PATCH 2850/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.12 (#526) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 24d42948a5b7..cb6a6a6f363e 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.11 + 1.6.12 compile From f9f7aba79e5f22b0691db7eb51e388035860e2f2 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 17 Nov 2022 22:50:37 +0100 Subject: [PATCH 2851/3036] deps: update dependency io.grpc:grpc-protobuf to v1.51.0 (#527) --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 955d835019b4..e4248671f3da 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.51.0' - compile 'io.grpc:grpc-protobuf:1.50.2' + compile 'io.grpc:grpc-protobuf:1.51.0' compile project(':proto-google-iam-v1') } From 23b211dd53d2602604ab718840984abc7fa3f1b3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 17 Nov 2022 21:56:13 +0000 Subject: [PATCH 2852/3036] chore(main): release 1.6.13 (#530) :robot: I have created a release *beep* *boop* --- ## [1.6.13](https://togithub.com/googleapis/java-iam/compare/v1.6.12...v1.6.13) (2022-11-17) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.12 ([#526](https://togithub.com/googleapis/java-iam/issues/526)) ([71cfca7](https://togithub.com/googleapis/java-iam/commit/71cfca72a007a0ff2471b3a4850fe01d79a2df16)) * Update dependency io.grpc:grpc-protobuf to v1.51.0 ([#527](https://togithub.com/googleapis/java-iam/issues/527)) ([f9f7aba](https://togithub.com/googleapis/java-iam/commit/f9f7aba79e5f22b0691db7eb51e388035860e2f2)) * Update dependency io.grpc:grpc-stub to v1.51.0 ([#528](https://togithub.com/googleapis/java-iam/issues/528)) ([639ee38](https://togithub.com/googleapis/java-iam/commit/639ee382a7adba44a3b0c8b5dc93842a8dfc225b)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 9 +++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 38 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index ec99c935513e..243aa5be4ca5 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [1.6.13](https://github.com/googleapis/java-iam/compare/v1.6.12...v1.6.13) (2022-11-17) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.12 ([#526](https://github.com/googleapis/java-iam/issues/526)) ([1379eee](https://github.com/googleapis/java-iam/commit/1379eee913abdf9fbf047a869331506df3fce78a)) +* Update dependency io.grpc:grpc-protobuf to v1.51.0 ([#527](https://github.com/googleapis/java-iam/issues/527)) ([3d93f1d](https://github.com/googleapis/java-iam/commit/3d93f1d50e814122b39400ff385226c5b47f67f4)) +* Update dependency io.grpc:grpc-stub to v1.51.0 ([#528](https://github.com/googleapis/java-iam/issues/528)) ([7e42c24](https://github.com/googleapis/java-iam/commit/7e42c24069fe81ec2430b3a03777a1aad8275b66)) + ## [1.6.12](https://github.com/googleapis/java-iam/compare/v1.6.11...v1.6.12) (2022-11-16) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 98095eea14f9..817ae8beb58f 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.13-SNAPSHOT + 1.6.13 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.13-SNAPSHOT + 1.6.13 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 29ec6ec3e630..21061ec8099f 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.6.13-SNAPSHOT + 1.6.13 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13-SNAPSHOT + 1.6.13 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 1f427530e27c..9de821f40f0b 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.6.13-SNAPSHOT + 1.6.13 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.13-SNAPSHOT + 1.6.13 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 107df29888dd..52e0d8896c8c 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.6.13-SNAPSHOT + 1.6.13 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13-SNAPSHOT + 1.6.13 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a80a7828b133..5d83d3416c42 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.13-SNAPSHOT + 1.6.13 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.13-SNAPSHOT + 1.6.13 com.google.api.grpc grpc-google-iam-v2 - 1.6.13-SNAPSHOT + 1.6.13 com.google.cloud google-iam-policy - 1.6.13-SNAPSHOT + 1.6.13 com.google.api.grpc proto-google-iam-v2beta - 1.6.13-SNAPSHOT + 1.6.13 com.google.api.grpc grpc-google-iam-v1 - 1.6.13-SNAPSHOT + 1.6.13 com.google.api.grpc grpc-google-iam-v2beta - 1.6.13-SNAPSHOT + 1.6.13 com.google.api.grpc proto-google-iam-v1 - 1.6.13-SNAPSHOT + 1.6.13 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 655f93b6d5d1..7ed22444d333 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.6.13-SNAPSHOT + 1.6.13 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13-SNAPSHOT + 1.6.13 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index fea68ccae7ed..fec16564acfb 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.6.13-SNAPSHOT + 1.6.13 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13-SNAPSHOT + 1.6.13 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 87fd6ad50241..bfe9a95899a5 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.6.13-SNAPSHOT + 1.6.13 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13-SNAPSHOT + 1.6.13 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 0033e1603f92..ed9a38b36aa8 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.12:1.6.13-SNAPSHOT -grpc-google-iam-v1:1.6.12:1.6.13-SNAPSHOT -proto-google-iam-v2beta:1.6.12:1.6.13-SNAPSHOT -grpc-google-iam-v2beta:1.6.12:1.6.13-SNAPSHOT -google-iam-policy:1.6.12:1.6.13-SNAPSHOT -proto-google-iam-v2:1.6.12:1.6.13-SNAPSHOT -grpc-google-iam-v2:1.6.12:1.6.13-SNAPSHOT +proto-google-iam-v1:1.6.13:1.6.13 +grpc-google-iam-v1:1.6.13:1.6.13 +proto-google-iam-v2beta:1.6.13:1.6.13 +grpc-google-iam-v2beta:1.6.13:1.6.13 +google-iam-policy:1.6.13:1.6.13 +proto-google-iam-v2:1.6.13:1.6.13 +grpc-google-iam-v2:1.6.13:1.6.13 From 2f8567007db2e0b64b721fb52292ce1c57d33534 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 17 Nov 2022 22:02:14 +0000 Subject: [PATCH 2853/3036] chore(main): release 1.6.14-SNAPSHOT (#531) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 817ae8beb58f..54e55baed86f 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.13 + 1.6.14-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.13 + 1.6.14-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 21061ec8099f..7c00a7790e22 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.6.13 + 1.6.14-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13 + 1.6.14-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 9de821f40f0b..1239a9846f42 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.6.13 + 1.6.14-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.13 + 1.6.14-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 52e0d8896c8c..e89ed311fc90 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.6.13 + 1.6.14-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13 + 1.6.14-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 5d83d3416c42..47a65960cd40 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.13 + 1.6.14-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.13 + 1.6.14-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.13 + 1.6.14-SNAPSHOT com.google.cloud google-iam-policy - 1.6.13 + 1.6.14-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.13 + 1.6.14-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.13 + 1.6.14-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.13 + 1.6.14-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.13 + 1.6.14-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 7ed22444d333..b2140b960b85 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.6.13 + 1.6.14-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13 + 1.6.14-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index fec16564acfb..d1e03933205d 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.6.13 + 1.6.14-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13 + 1.6.14-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index bfe9a95899a5..54116dbb3e85 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.6.13 + 1.6.14-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.13 + 1.6.14-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ed9a38b36aa8..51c4d8cb2fa3 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.13:1.6.13 -grpc-google-iam-v1:1.6.13:1.6.13 -proto-google-iam-v2beta:1.6.13:1.6.13 -grpc-google-iam-v2beta:1.6.13:1.6.13 -google-iam-policy:1.6.13:1.6.13 -proto-google-iam-v2:1.6.13:1.6.13 -grpc-google-iam-v2:1.6.13:1.6.13 +proto-google-iam-v1:1.6.13:1.6.14-SNAPSHOT +grpc-google-iam-v1:1.6.13:1.6.14-SNAPSHOT +proto-google-iam-v2beta:1.6.13:1.6.14-SNAPSHOT +grpc-google-iam-v2beta:1.6.13:1.6.14-SNAPSHOT +google-iam-policy:1.6.13:1.6.14-SNAPSHOT +proto-google-iam-v2:1.6.13:1.6.14-SNAPSHOT +grpc-google-iam-v2:1.6.13:1.6.14-SNAPSHOT From d417ef0125202546ab6ddb144d73805079e6a933 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 18 Nov 2022 19:02:28 +0100 Subject: [PATCH 2854/3036] deps: update iam.version to v1.6.13 (#920) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.12` -> `1.6.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.13/compatibility-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.13/confidence-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.12` -> `1.6.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/compatibility-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/confidence-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.13`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1613-httpsgithubcomgoogleapisjava-iamcomparev1612v1613-2022-11-17) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.12...v1.6.13) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.12 ([#​526](https://togithub.com/googleapis/java-iam/issues/526)) ([1379eee](https://togithub.com/googleapis/java-iam/commit/1379eee913abdf9fbf047a869331506df3fce78a)) - Update dependency io.grpc:grpc-protobuf to v1.51.0 ([#​527](https://togithub.com/googleapis/java-iam/issues/527)) ([3d93f1d](https://togithub.com/googleapis/java-iam/commit/3d93f1d50e814122b39400ff385226c5b47f67f4)) - Update dependency io.grpc:grpc-stub to v1.51.0 ([#​528](https://togithub.com/googleapis/java-iam/issues/528)) ([7e42c24](https://togithub.com/googleapis/java-iam/commit/7e42c24069fe81ec2430b3a03777a1aad8275b66))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 26289e39cf27..11580d52393b 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.12 + 1.6.13
    From 802a427ee5c9a2a8b860d60429fafa57ad0403fc Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 18 Nov 2022 19:02:33 +0100 Subject: [PATCH 2855/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.13 (#532) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.12` -> `1.6.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.13/compatibility-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.13/confidence-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.13`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1613-httpsgithubcomgoogleapisjava-iamcomparev1612v1613-2022-11-17) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.12...v1.6.13) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.12 ([#​526](https://togithub.com/googleapis/java-iam/issues/526)) ([71cfca7](https://togithub.com/googleapis/java-iam/commit/71cfca72a007a0ff2471b3a4850fe01d79a2df16)) - Update dependency io.grpc:grpc-protobuf to v1.51.0 ([#​527](https://togithub.com/googleapis/java-iam/issues/527)) ([f9f7aba](https://togithub.com/googleapis/java-iam/commit/f9f7aba79e5f22b0691db7eb51e388035860e2f2)) - Update dependency io.grpc:grpc-stub to v1.51.0 ([#​528](https://togithub.com/googleapis/java-iam/issues/528)) ([639ee38](https://togithub.com/googleapis/java-iam/commit/639ee382a7adba44a3b0c8b5dc93842a8dfc225b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index cb6a6a6f363e..c4fb573f10e2 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.12 + 1.6.13 compile From 9cf4f99c1e921cedc2d4cae2133dbdd0f237b02b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 18 Nov 2022 19:04:16 +0100 Subject: [PATCH 2856/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.13 (#1033) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.12` -> `1.6.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/compatibility-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.13/confidence-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.13`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1613-httpsgithubcomgoogleapisjava-iamcomparev1612v1613-2022-11-17) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.12...v1.6.13) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.12 ([#​526](https://togithub.com/googleapis/java-iam/issues/526)) ([1379eee](https://togithub.com/googleapis/java-iam/commit/1379eee913abdf9fbf047a869331506df3fce78a)) - Update dependency io.grpc:grpc-protobuf to v1.51.0 ([#​527](https://togithub.com/googleapis/java-iam/issues/527)) ([3d93f1d](https://togithub.com/googleapis/java-iam/commit/3d93f1d50e814122b39400ff385226c5b47f67f4)) - Update dependency io.grpc:grpc-stub to v1.51.0 ([#​528](https://togithub.com/googleapis/java-iam/issues/528)) ([7e42c24](https://togithub.com/googleapis/java-iam/commit/7e42c24069fe81ec2430b3a03777a1aad8275b66))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index b8053f7dbdd6..9200a9263f79 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.12 + 1.6.13 1.13.0 2.0.1 1.42.3 From b001619d8e8d2f51e91b36db0c079932f5f9c583 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 18 Nov 2022 18:10:21 +0000 Subject: [PATCH 2857/3036] chore(main): release 1.6.14 (#533) :robot: I have created a release *beep* *boop* --- ## [1.6.14](https://togithub.com/googleapis/java-iam/compare/v1.6.13...v1.6.14) (2022-11-18) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.13 ([#532](https://togithub.com/googleapis/java-iam/issues/532)) ([802a427](https://togithub.com/googleapis/java-iam/commit/802a427ee5c9a2a8b860d60429fafa57ad0403fc)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 243aa5be4ca5..f1662b6b5fd2 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.14](https://github.com/googleapis/java-iam/compare/v1.6.13...v1.6.14) (2022-11-18) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.13 ([#532](https://github.com/googleapis/java-iam/issues/532)) ([66c5b64](https://github.com/googleapis/java-iam/commit/66c5b64e8ad0457b5c9289ac75e581a6b25ca643)) + ## [1.6.13](https://github.com/googleapis/java-iam/compare/v1.6.12...v1.6.13) (2022-11-17) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 54e55baed86f..44e9c1e66b17 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.14-SNAPSHOT + 1.6.14 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.14-SNAPSHOT + 1.6.14 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 7c00a7790e22..310a38d3ee78 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.6.14-SNAPSHOT + 1.6.14 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14-SNAPSHOT + 1.6.14 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 1239a9846f42..cf145f5df963 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.6.14-SNAPSHOT + 1.6.14 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.14-SNAPSHOT + 1.6.14 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index e89ed311fc90..5229b556e787 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.6.14-SNAPSHOT + 1.6.14 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14-SNAPSHOT + 1.6.14 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 47a65960cd40..4952b4e18bfe 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.14-SNAPSHOT + 1.6.14 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.14-SNAPSHOT + 1.6.14 com.google.api.grpc grpc-google-iam-v2 - 1.6.14-SNAPSHOT + 1.6.14 com.google.cloud google-iam-policy - 1.6.14-SNAPSHOT + 1.6.14 com.google.api.grpc proto-google-iam-v2beta - 1.6.14-SNAPSHOT + 1.6.14 com.google.api.grpc grpc-google-iam-v1 - 1.6.14-SNAPSHOT + 1.6.14 com.google.api.grpc grpc-google-iam-v2beta - 1.6.14-SNAPSHOT + 1.6.14 com.google.api.grpc proto-google-iam-v1 - 1.6.14-SNAPSHOT + 1.6.14 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index b2140b960b85..17b1b78a5377 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.6.14-SNAPSHOT + 1.6.14 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14-SNAPSHOT + 1.6.14 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index d1e03933205d..656e1ebc8918 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.6.14-SNAPSHOT + 1.6.14 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14-SNAPSHOT + 1.6.14 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 54116dbb3e85..aa57eefb430b 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.6.14-SNAPSHOT + 1.6.14 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14-SNAPSHOT + 1.6.14 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 51c4d8cb2fa3..8056ccc13a76 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.13:1.6.14-SNAPSHOT -grpc-google-iam-v1:1.6.13:1.6.14-SNAPSHOT -proto-google-iam-v2beta:1.6.13:1.6.14-SNAPSHOT -grpc-google-iam-v2beta:1.6.13:1.6.14-SNAPSHOT -google-iam-policy:1.6.13:1.6.14-SNAPSHOT -proto-google-iam-v2:1.6.13:1.6.14-SNAPSHOT -grpc-google-iam-v2:1.6.13:1.6.14-SNAPSHOT +proto-google-iam-v1:1.6.14:1.6.14 +grpc-google-iam-v1:1.6.14:1.6.14 +proto-google-iam-v2beta:1.6.14:1.6.14 +grpc-google-iam-v2beta:1.6.14:1.6.14 +google-iam-policy:1.6.14:1.6.14 +proto-google-iam-v2:1.6.14:1.6.14 +grpc-google-iam-v2:1.6.14:1.6.14 From 3adf67d0fd935541fd5919be1124fbcf47a83026 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 18 Nov 2022 18:16:15 +0000 Subject: [PATCH 2858/3036] chore(main): release 1.6.15-SNAPSHOT (#534) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 44e9c1e66b17..cb2ae92a938a 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.14 + 1.6.15-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.14 + 1.6.15-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 310a38d3ee78..d8c9c0ada31c 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.6.14 + 1.6.15-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14 + 1.6.15-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index cf145f5df963..4bcce7cb47b7 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.6.14 + 1.6.15-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.14 + 1.6.15-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 5229b556e787..81cc027c5f75 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.6.14 + 1.6.15-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14 + 1.6.15-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 4952b4e18bfe..8518f7bbe5b9 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.14 + 1.6.15-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.14 + 1.6.15-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.14 + 1.6.15-SNAPSHOT com.google.cloud google-iam-policy - 1.6.14 + 1.6.15-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.14 + 1.6.15-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.14 + 1.6.15-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.14 + 1.6.15-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.14 + 1.6.15-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 17b1b78a5377..f587815d0045 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.6.14 + 1.6.15-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14 + 1.6.15-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 656e1ebc8918..46fd0dfc5fe7 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.6.14 + 1.6.15-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14 + 1.6.15-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index aa57eefb430b..dfecc37593a7 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.6.14 + 1.6.15-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.14 + 1.6.15-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 8056ccc13a76..ccd656484be2 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.14:1.6.14 -grpc-google-iam-v1:1.6.14:1.6.14 -proto-google-iam-v2beta:1.6.14:1.6.14 -grpc-google-iam-v2beta:1.6.14:1.6.14 -google-iam-policy:1.6.14:1.6.14 -proto-google-iam-v2:1.6.14:1.6.14 -grpc-google-iam-v2:1.6.14:1.6.14 +proto-google-iam-v1:1.6.14:1.6.15-SNAPSHOT +grpc-google-iam-v1:1.6.14:1.6.15-SNAPSHOT +proto-google-iam-v2beta:1.6.14:1.6.15-SNAPSHOT +grpc-google-iam-v2beta:1.6.14:1.6.15-SNAPSHOT +google-iam-policy:1.6.14:1.6.15-SNAPSHOT +proto-google-iam-v2:1.6.14:1.6.15-SNAPSHOT +grpc-google-iam-v2:1.6.14:1.6.15-SNAPSHOT From 158f890f5d3deb2faf212bc58a744a1dac96f69e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 18 Nov 2022 23:12:18 +0100 Subject: [PATCH 2859/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.14 (#1034) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.13` -> `1.6.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/compatibility-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/confidence-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.14`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1614-httpsgithubcomgoogleapisjava-iamcomparev1613v1614-2022-11-18) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.13...v1.6.14) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.13 ([#​532](https://togithub.com/googleapis/java-iam/issues/532)) ([66c5b64](https://togithub.com/googleapis/java-iam/commit/66c5b64e8ad0457b5c9289ac75e581a6b25ca643))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 9200a9263f79..7230f1d8f8b4 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.13 + 1.6.14 1.13.0 2.0.1 1.42.3 From caa7bd3c88884792618cb2a844aa828ddb6acd5e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 18 Nov 2022 23:12:23 +0100 Subject: [PATCH 2860/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.14 (#536) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.13` -> `1.6.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.14/compatibility-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.14/confidence-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.14`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1614-httpsgithubcomgoogleapisjava-iamcomparev1613v1614-2022-11-18) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.13...v1.6.14) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.13 ([#​532](https://togithub.com/googleapis/java-iam/issues/532)) ([802a427](https://togithub.com/googleapis/java-iam/commit/802a427ee5c9a2a8b860d60429fafa57ad0403fc))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index c4fb573f10e2..ad92e00dc43e 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.13 + 1.6.14 compile From 3005ac75231f58dad5857cf5dfc2b86af4b48cd6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 18 Nov 2022 23:12:28 +0100 Subject: [PATCH 2861/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.5 (#535) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.4` -> `26.1.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.5/compatibility-slim/26.1.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.5/confidence-slim/26.1.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index ad92e00dc43e..de88c0db6829 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -73,7 +73,7 @@ com.google.cloud import pom - 26.1.4 + 26.1.5
    From 7f2386fd800cbb59742a3e68703dc2999615e6ec Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 18 Nov 2022 23:12:37 +0100 Subject: [PATCH 2862/3036] deps: update iam.version to v1.6.14 (#921) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.13` -> `1.6.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.14/compatibility-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.14/confidence-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.13` -> `1.6.14` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/compatibility-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.14/confidence-slim/1.6.13)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.14`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1614-httpsgithubcomgoogleapisjava-iamcomparev1613v1614-2022-11-18) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.13...v1.6.14) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.13 ([#​532](https://togithub.com/googleapis/java-iam/issues/532)) ([66c5b64](https://togithub.com/googleapis/java-iam/commit/66c5b64e8ad0457b5c9289ac75e581a6b25ca643))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 11580d52393b..b6866a9fe3bb 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.13 + 1.6.14
    From 8e1a2f34b1e53627041fe6120272596366cfc19c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 18 Nov 2022 22:18:18 +0000 Subject: [PATCH 2863/3036] chore(main): release 1.6.15 (#537) :robot: I have created a release *beep* *boop* --- ## [1.6.15](https://togithub.com/googleapis/java-iam/compare/v1.6.14...v1.6.15) (2022-11-18) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.14 ([#536](https://togithub.com/googleapis/java-iam/issues/536)) ([caa7bd3](https://togithub.com/googleapis/java-iam/commit/caa7bd3c88884792618cb2a844aa828ddb6acd5e)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index f1662b6b5fd2..145f7553d1d5 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.15](https://github.com/googleapis/java-iam/compare/v1.6.14...v1.6.15) (2022-11-18) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.14 ([#536](https://github.com/googleapis/java-iam/issues/536)) ([4e15368](https://github.com/googleapis/java-iam/commit/4e15368f6924253fe9e54d08ba7bd1b38b23b944)) + ## [1.6.14](https://github.com/googleapis/java-iam/compare/v1.6.13...v1.6.14) (2022-11-18) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index cb2ae92a938a..6858ea3c8ad7 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.15-SNAPSHOT + 1.6.15 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.15-SNAPSHOT + 1.6.15 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index d8c9c0ada31c..b246e3da0be2 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.6.15-SNAPSHOT + 1.6.15 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15-SNAPSHOT + 1.6.15 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 4bcce7cb47b7..49a4d34cc2f9 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.6.15-SNAPSHOT + 1.6.15 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.15-SNAPSHOT + 1.6.15 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 81cc027c5f75..3932ed6ecdd5 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.6.15-SNAPSHOT + 1.6.15 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15-SNAPSHOT + 1.6.15 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 8518f7bbe5b9..106bfda55e7d 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.15-SNAPSHOT + 1.6.15 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.15-SNAPSHOT + 1.6.15 com.google.api.grpc grpc-google-iam-v2 - 1.6.15-SNAPSHOT + 1.6.15 com.google.cloud google-iam-policy - 1.6.15-SNAPSHOT + 1.6.15 com.google.api.grpc proto-google-iam-v2beta - 1.6.15-SNAPSHOT + 1.6.15 com.google.api.grpc grpc-google-iam-v1 - 1.6.15-SNAPSHOT + 1.6.15 com.google.api.grpc grpc-google-iam-v2beta - 1.6.15-SNAPSHOT + 1.6.15 com.google.api.grpc proto-google-iam-v1 - 1.6.15-SNAPSHOT + 1.6.15 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index f587815d0045..503946d1b6ca 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.6.15-SNAPSHOT + 1.6.15 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15-SNAPSHOT + 1.6.15 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 46fd0dfc5fe7..732cc08de9d9 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.6.15-SNAPSHOT + 1.6.15 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15-SNAPSHOT + 1.6.15 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index dfecc37593a7..170500a7ad62 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.6.15-SNAPSHOT + 1.6.15 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15-SNAPSHOT + 1.6.15 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index ccd656484be2..7e38f74616c3 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.14:1.6.15-SNAPSHOT -grpc-google-iam-v1:1.6.14:1.6.15-SNAPSHOT -proto-google-iam-v2beta:1.6.14:1.6.15-SNAPSHOT -grpc-google-iam-v2beta:1.6.14:1.6.15-SNAPSHOT -google-iam-policy:1.6.14:1.6.15-SNAPSHOT -proto-google-iam-v2:1.6.14:1.6.15-SNAPSHOT -grpc-google-iam-v2:1.6.14:1.6.15-SNAPSHOT +proto-google-iam-v1:1.6.15:1.6.15 +grpc-google-iam-v1:1.6.15:1.6.15 +proto-google-iam-v2beta:1.6.15:1.6.15 +grpc-google-iam-v2beta:1.6.15:1.6.15 +google-iam-policy:1.6.15:1.6.15 +proto-google-iam-v2:1.6.15:1.6.15 +grpc-google-iam-v2:1.6.15:1.6.15 From deb679f1289642d65177fa7af07ea5eecdd10aeb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 18 Nov 2022 22:26:17 +0000 Subject: [PATCH 2864/3036] chore(main): release 1.6.16-SNAPSHOT (#538) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 6858ea3c8ad7..38ee0a73d052 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.15 + 1.6.16-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.15 + 1.6.16-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index b246e3da0be2..49ea8c43f794 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.6.15 + 1.6.16-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15 + 1.6.16-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 49a4d34cc2f9..3204328bfd7e 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.6.15 + 1.6.16-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.15 + 1.6.16-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 3932ed6ecdd5..11694257d2c5 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.6.15 + 1.6.16-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15 + 1.6.16-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 106bfda55e7d..68a0cddedffd 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.15 + 1.6.16-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.15 + 1.6.16-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.15 + 1.6.16-SNAPSHOT com.google.cloud google-iam-policy - 1.6.15 + 1.6.16-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.15 + 1.6.16-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.15 + 1.6.16-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.15 + 1.6.16-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.15 + 1.6.16-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 503946d1b6ca..a0c09f00542a 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.6.15 + 1.6.16-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15 + 1.6.16-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 732cc08de9d9..efe7a52fc8d5 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.6.15 + 1.6.16-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15 + 1.6.16-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 170500a7ad62..d8b8647a3b13 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.6.15 + 1.6.16-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.15 + 1.6.16-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7e38f74616c3..a5799297126a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.15:1.6.15 -grpc-google-iam-v1:1.6.15:1.6.15 -proto-google-iam-v2beta:1.6.15:1.6.15 -grpc-google-iam-v2beta:1.6.15:1.6.15 -google-iam-policy:1.6.15:1.6.15 -proto-google-iam-v2:1.6.15:1.6.15 -grpc-google-iam-v2:1.6.15:1.6.15 +proto-google-iam-v1:1.6.15:1.6.16-SNAPSHOT +grpc-google-iam-v1:1.6.15:1.6.16-SNAPSHOT +proto-google-iam-v2beta:1.6.15:1.6.16-SNAPSHOT +grpc-google-iam-v2beta:1.6.15:1.6.16-SNAPSHOT +google-iam-policy:1.6.15:1.6.16-SNAPSHOT +proto-google-iam-v2:1.6.15:1.6.16-SNAPSHOT +grpc-google-iam-v2:1.6.15:1.6.16-SNAPSHOT From 6931f5ce074e706ae1b4f1cadc6fd194e77df088 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 21 Nov 2022 00:20:23 +0100 Subject: [PATCH 2865/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.15 (#539) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.14` -> `1.6.15` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.15/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.15/compatibility-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.15/confidence-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.15`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1615-httpsgithubcomgoogleapisjava-iamcomparev1614v1615-2022-11-18) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.14...v1.6.15) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.14 ([#​536](https://togithub.com/googleapis/java-iam/issues/536)) ([caa7bd3](https://togithub.com/googleapis/java-iam/commit/caa7bd3c88884792618cb2a844aa828ddb6acd5e))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index de88c0db6829..b85d43fa1cf8 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.14 + 1.6.15 compile From 8de616249d185fcfbba06091ce80c079565e9e0d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 21 Nov 2022 00:20:23 +0100 Subject: [PATCH 2866/3036] deps: update iam.version to v1.6.15 (#922) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.14` -> `1.6.15` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.15/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.15/compatibility-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.15/confidence-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.14` -> `1.6.15` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/compatibility-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/confidence-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.15`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1615-httpsgithubcomgoogleapisjava-iamcomparev1614v1615-2022-11-18) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.14...v1.6.15) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.14 ([#​536](https://togithub.com/googleapis/java-iam/issues/536)) ([4e15368](https://togithub.com/googleapis/java-iam/commit/4e15368f6924253fe9e54d08ba7bd1b38b23b944))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b6866a9fe3bb..d19ab59dc69a 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.14 + 1.6.15
    From aee9383a4d9acec7c3fc1b2ab46a7a291891265d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 21 Nov 2022 00:20:23 +0100 Subject: [PATCH 2867/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.15 (#1035) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.14` -> `1.6.15` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/compatibility-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.15/confidence-slim/1.6.14)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.15`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1615-httpsgithubcomgoogleapisjava-iamcomparev1614v1615-2022-11-18) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.14...v1.6.15) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.14 ([#​536](https://togithub.com/googleapis/java-iam/issues/536)) ([4e15368](https://togithub.com/googleapis/java-iam/commit/4e15368f6924253fe9e54d08ba7bd1b38b23b944))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7230f1d8f8b4..bb29fb646094 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.14 + 1.6.15 1.13.0 2.0.1 1.42.3 From 890f9d5a4018bb7075e31ede12c264012ee819f9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sun, 20 Nov 2022 23:26:17 +0000 Subject: [PATCH 2868/3036] chore(main): release 1.6.16 (#540) :robot: I have created a release *beep* *boop* --- ## [1.6.16](https://togithub.com/googleapis/java-iam/compare/v1.6.15...v1.6.16) (2022-11-20) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.15 ([#539](https://togithub.com/googleapis/java-iam/issues/539)) ([6931f5c](https://togithub.com/googleapis/java-iam/commit/6931f5ce074e706ae1b4f1cadc6fd194e77df088)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 145f7553d1d5..60183c0f5515 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.16](https://github.com/googleapis/java-iam/compare/v1.6.15...v1.6.16) (2022-11-20) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.15 ([#539](https://github.com/googleapis/java-iam/issues/539)) ([adafd85](https://github.com/googleapis/java-iam/commit/adafd8543da0fc1552fea7c965c1d1a2ecfda449)) + ## [1.6.15](https://github.com/googleapis/java-iam/compare/v1.6.14...v1.6.15) (2022-11-18) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 38ee0a73d052..de8760271bfe 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.16-SNAPSHOT + 1.6.16 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.16-SNAPSHOT + 1.6.16 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 49ea8c43f794..aa0ccfa69569 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.6.16-SNAPSHOT + 1.6.16 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16-SNAPSHOT + 1.6.16 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 3204328bfd7e..fb607c21941d 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.6.16-SNAPSHOT + 1.6.16 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.16-SNAPSHOT + 1.6.16 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 11694257d2c5..84acd9fd7ff2 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.6.16-SNAPSHOT + 1.6.16 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16-SNAPSHOT + 1.6.16 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 68a0cddedffd..354d80e2da31 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.16-SNAPSHOT + 1.6.16 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.16-SNAPSHOT + 1.6.16 com.google.api.grpc grpc-google-iam-v2 - 1.6.16-SNAPSHOT + 1.6.16 com.google.cloud google-iam-policy - 1.6.16-SNAPSHOT + 1.6.16 com.google.api.grpc proto-google-iam-v2beta - 1.6.16-SNAPSHOT + 1.6.16 com.google.api.grpc grpc-google-iam-v1 - 1.6.16-SNAPSHOT + 1.6.16 com.google.api.grpc grpc-google-iam-v2beta - 1.6.16-SNAPSHOT + 1.6.16 com.google.api.grpc proto-google-iam-v1 - 1.6.16-SNAPSHOT + 1.6.16 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index a0c09f00542a..28d5c19e263c 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.6.16-SNAPSHOT + 1.6.16 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16-SNAPSHOT + 1.6.16 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index efe7a52fc8d5..32b48c65ad39 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.6.16-SNAPSHOT + 1.6.16 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16-SNAPSHOT + 1.6.16 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index d8b8647a3b13..4b8e46d240c4 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.6.16-SNAPSHOT + 1.6.16 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16-SNAPSHOT + 1.6.16 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index a5799297126a..61c74582d3a0 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.15:1.6.16-SNAPSHOT -grpc-google-iam-v1:1.6.15:1.6.16-SNAPSHOT -proto-google-iam-v2beta:1.6.15:1.6.16-SNAPSHOT -grpc-google-iam-v2beta:1.6.15:1.6.16-SNAPSHOT -google-iam-policy:1.6.15:1.6.16-SNAPSHOT -proto-google-iam-v2:1.6.15:1.6.16-SNAPSHOT -grpc-google-iam-v2:1.6.15:1.6.16-SNAPSHOT +proto-google-iam-v1:1.6.16:1.6.16 +grpc-google-iam-v1:1.6.16:1.6.16 +proto-google-iam-v2beta:1.6.16:1.6.16 +grpc-google-iam-v2beta:1.6.16:1.6.16 +google-iam-policy:1.6.16:1.6.16 +proto-google-iam-v2:1.6.16:1.6.16 +grpc-google-iam-v2:1.6.16:1.6.16 From 19ccc30b383b24645d9b9db8b01b39ce972f9c8c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Sun, 20 Nov 2022 23:34:29 +0000 Subject: [PATCH 2869/3036] chore(main): release 1.6.17-SNAPSHOT (#541) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index de8760271bfe..875a65b503fb 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.16 + 1.6.17-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.16 + 1.6.17-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index aa0ccfa69569..975831843135 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.6.16 + 1.6.17-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16 + 1.6.17-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index fb607c21941d..f5d223964808 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.6.16 + 1.6.17-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.16 + 1.6.17-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 84acd9fd7ff2..305601e22a69 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.6.16 + 1.6.17-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16 + 1.6.17-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 354d80e2da31..b56116932739 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.16 + 1.6.17-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.16 + 1.6.17-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.16 + 1.6.17-SNAPSHOT com.google.cloud google-iam-policy - 1.6.16 + 1.6.17-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.16 + 1.6.17-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.16 + 1.6.17-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.16 + 1.6.17-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.16 + 1.6.17-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 28d5c19e263c..6a7b62bd8032 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.6.16 + 1.6.17-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16 + 1.6.17-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 32b48c65ad39..04e0049d698b 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.6.16 + 1.6.17-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16 + 1.6.17-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 4b8e46d240c4..176582b1d764 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.6.16 + 1.6.17-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.16 + 1.6.17-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 61c74582d3a0..02d3a7aab63f 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.16:1.6.16 -grpc-google-iam-v1:1.6.16:1.6.16 -proto-google-iam-v2beta:1.6.16:1.6.16 -grpc-google-iam-v2beta:1.6.16:1.6.16 -google-iam-policy:1.6.16:1.6.16 -proto-google-iam-v2:1.6.16:1.6.16 -grpc-google-iam-v2:1.6.16:1.6.16 +proto-google-iam-v1:1.6.16:1.6.17-SNAPSHOT +grpc-google-iam-v1:1.6.16:1.6.17-SNAPSHOT +proto-google-iam-v2beta:1.6.16:1.6.17-SNAPSHOT +grpc-google-iam-v2beta:1.6.16:1.6.17-SNAPSHOT +google-iam-policy:1.6.16:1.6.17-SNAPSHOT +proto-google-iam-v2:1.6.16:1.6.17-SNAPSHOT +grpc-google-iam-v2:1.6.16:1.6.17-SNAPSHOT From d737e1738031384bf469a5f55374ca8961fe308a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 21 Nov 2022 22:03:24 +0100 Subject: [PATCH 2870/3036] deps: update iam.version to v1.6.16 (#923) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d19ab59dc69a..3c588ab15bab 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.15 + 1.6.16 From 540bcbbb0241c87a935d130bc8bb0dda9fd27786 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 21 Nov 2022 22:04:51 +0100 Subject: [PATCH 2871/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.16 (#1036) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index bb29fb646094..73318f5372a0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.15 + 1.6.16 1.13.0 2.0.1 1.42.3 From 8a5ecb6f287f8e654b08f8b286f45a8f5610bdeb Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 21 Nov 2022 22:17:20 +0100 Subject: [PATCH 2872/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.16 (#542) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index b85d43fa1cf8..00c67e2bbb0e 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.15 + 1.6.16 compile From 51a6b24cd2d44c4b0384df9c53fd268953149c90 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 21 Nov 2022 21:24:16 +0000 Subject: [PATCH 2873/3036] chore(main): release 1.6.17 (#543) :robot: I have created a release *beep* *boop* --- ## [1.6.17](https://togithub.com/googleapis/java-iam/compare/v1.6.16...v1.6.17) (2022-11-21) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.16 ([#542](https://togithub.com/googleapis/java-iam/issues/542)) ([8a5ecb6](https://togithub.com/googleapis/java-iam/commit/8a5ecb6f287f8e654b08f8b286f45a8f5610bdeb)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 60183c0f5515..346d52dd3f8c 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.17](https://github.com/googleapis/java-iam/compare/v1.6.16...v1.6.17) (2022-11-21) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.16 ([#542](https://github.com/googleapis/java-iam/issues/542)) ([deca3f1](https://github.com/googleapis/java-iam/commit/deca3f14b9ead487536cb7c94a20dc4c26800a2b)) + ## [1.6.16](https://github.com/googleapis/java-iam/compare/v1.6.15...v1.6.16) (2022-11-20) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 875a65b503fb..30711dcde123 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.17-SNAPSHOT + 1.6.17 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.17-SNAPSHOT + 1.6.17 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 975831843135..b5a01083df21 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.6.17-SNAPSHOT + 1.6.17 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17-SNAPSHOT + 1.6.17 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index f5d223964808..30d93e4c75fc 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.6.17-SNAPSHOT + 1.6.17 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.17-SNAPSHOT + 1.6.17 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 305601e22a69..a200b7ed0b89 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.6.17-SNAPSHOT + 1.6.17 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17-SNAPSHOT + 1.6.17 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b56116932739..bb0230df584b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.17-SNAPSHOT + 1.6.17 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.17-SNAPSHOT + 1.6.17 com.google.api.grpc grpc-google-iam-v2 - 1.6.17-SNAPSHOT + 1.6.17 com.google.cloud google-iam-policy - 1.6.17-SNAPSHOT + 1.6.17 com.google.api.grpc proto-google-iam-v2beta - 1.6.17-SNAPSHOT + 1.6.17 com.google.api.grpc grpc-google-iam-v1 - 1.6.17-SNAPSHOT + 1.6.17 com.google.api.grpc grpc-google-iam-v2beta - 1.6.17-SNAPSHOT + 1.6.17 com.google.api.grpc proto-google-iam-v1 - 1.6.17-SNAPSHOT + 1.6.17 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 6a7b62bd8032..8383b8541208 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.6.17-SNAPSHOT + 1.6.17 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17-SNAPSHOT + 1.6.17 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 04e0049d698b..a1e7a7a96bc0 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.6.17-SNAPSHOT + 1.6.17 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17-SNAPSHOT + 1.6.17 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 176582b1d764..853640a149e0 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.6.17-SNAPSHOT + 1.6.17 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17-SNAPSHOT + 1.6.17 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 02d3a7aab63f..a866390c34c1 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.16:1.6.17-SNAPSHOT -grpc-google-iam-v1:1.6.16:1.6.17-SNAPSHOT -proto-google-iam-v2beta:1.6.16:1.6.17-SNAPSHOT -grpc-google-iam-v2beta:1.6.16:1.6.17-SNAPSHOT -google-iam-policy:1.6.16:1.6.17-SNAPSHOT -proto-google-iam-v2:1.6.16:1.6.17-SNAPSHOT -grpc-google-iam-v2:1.6.16:1.6.17-SNAPSHOT +proto-google-iam-v1:1.6.17:1.6.17 +grpc-google-iam-v1:1.6.17:1.6.17 +proto-google-iam-v2beta:1.6.17:1.6.17 +grpc-google-iam-v2beta:1.6.17:1.6.17 +google-iam-policy:1.6.17:1.6.17 +proto-google-iam-v2:1.6.17:1.6.17 +grpc-google-iam-v2:1.6.17:1.6.17 From fce25b142bd1f52d67943f8dc2f78ee95aa1ae39 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 21 Nov 2022 21:30:15 +0000 Subject: [PATCH 2874/3036] chore(main): release 1.6.18-SNAPSHOT (#544) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 30711dcde123..482307e00af5 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.17 + 1.6.18-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.17 + 1.6.18-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index b5a01083df21..d895eec39835 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.6.17 + 1.6.18-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17 + 1.6.18-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 30d93e4c75fc..e52b28382d24 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.6.17 + 1.6.18-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.17 + 1.6.18-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index a200b7ed0b89..7d28c17e35ae 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.6.17 + 1.6.18-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17 + 1.6.18-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bb0230df584b..34853013c389 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.17 + 1.6.18-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.17 + 1.6.18-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.17 + 1.6.18-SNAPSHOT com.google.cloud google-iam-policy - 1.6.17 + 1.6.18-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.17 + 1.6.18-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.17 + 1.6.18-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.17 + 1.6.18-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.17 + 1.6.18-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 8383b8541208..5aeeedcb5f16 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.6.17 + 1.6.18-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17 + 1.6.18-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index a1e7a7a96bc0..6a2451ad0752 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.6.17 + 1.6.18-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17 + 1.6.18-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 853640a149e0..94e10518791c 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.6.17 + 1.6.18-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.17 + 1.6.18-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index a866390c34c1..7b0f6e479975 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.17:1.6.17 -grpc-google-iam-v1:1.6.17:1.6.17 -proto-google-iam-v2beta:1.6.17:1.6.17 -grpc-google-iam-v2beta:1.6.17:1.6.17 -google-iam-policy:1.6.17:1.6.17 -proto-google-iam-v2:1.6.17:1.6.17 -grpc-google-iam-v2:1.6.17:1.6.17 +proto-google-iam-v1:1.6.17:1.6.18-SNAPSHOT +grpc-google-iam-v1:1.6.17:1.6.18-SNAPSHOT +proto-google-iam-v2beta:1.6.17:1.6.18-SNAPSHOT +grpc-google-iam-v2beta:1.6.17:1.6.18-SNAPSHOT +google-iam-policy:1.6.17:1.6.18-SNAPSHOT +proto-google-iam-v2:1.6.17:1.6.18-SNAPSHOT +grpc-google-iam-v2:1.6.17:1.6.18-SNAPSHOT From edef8d486aa0027496e85e99d6acf363745e2ac9 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 16:10:24 +0100 Subject: [PATCH 2875/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.17 (#545) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.16` -> `1.6.17` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.17/compatibility-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.17/confidence-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.17`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1617-httpsgithubcomgoogleapisjava-iamcomparev1616v1617-2022-11-21) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.16...v1.6.17) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.16 ([#​542](https://togithub.com/googleapis/java-iam/issues/542)) ([8a5ecb6](https://togithub.com/googleapis/java-iam/commit/8a5ecb6f287f8e654b08f8b286f45a8f5610bdeb))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 00c67e2bbb0e..6f4647e4f7c5 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.16 + 1.6.17 compile From f8772b6570325e149dac6f67dc4bc67005b1336b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 16:10:29 +0100 Subject: [PATCH 2876/3036] deps: update iam.version to v1.6.17 (#925) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.16` -> `1.6.17` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.17/compatibility-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.17/confidence-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.16` -> `1.6.17` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/compatibility-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/confidence-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.17`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1617-httpsgithubcomgoogleapisjava-iamcomparev1616v1617-2022-11-21) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.16...v1.6.17) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.16 ([#​542](https://togithub.com/googleapis/java-iam/issues/542)) ([deca3f1](https://togithub.com/googleapis/java-iam/commit/deca3f14b9ead487536cb7c94a20dc4c26800a2b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3c588ab15bab..d9de3a54d9e9 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.16 + 1.6.17
    From ab7cfba0053e5a52cc77aaf660359c79caedc07b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 16:10:29 +0100 Subject: [PATCH 2877/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.17 (#1037) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.16` -> `1.6.17` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/compatibility-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.17/confidence-slim/1.6.16)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.17`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1617-httpsgithubcomgoogleapisjava-iamcomparev1616v1617-2022-11-21) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.16...v1.6.17) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.16 ([#​542](https://togithub.com/googleapis/java-iam/issues/542)) ([deca3f1](https://togithub.com/googleapis/java-iam/commit/deca3f14b9ead487536cb7c94a20dc4c26800a2b))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 73318f5372a0..e0e8dad4d984 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.16 + 1.6.17 1.13.0 2.0.1 1.42.3 From 551441f6faca0f6cd1276af5bac393c18352dbe8 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 16:12:17 +0100 Subject: [PATCH 2878/3036] deps: update dependency com.fasterxml.jackson:jackson-bom to v2.14.1 (#924) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.fasterxml.jackson:jackson-bom](https://togithub.com/FasterXML/jackson-bom) | `2.14.0` -> `2.14.1` | [![age](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.1/compatibility-slim/2.14.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.fasterxml.jackson:jackson-bom/2.14.1/confidence-slim/2.14.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 8fd4f38d90d8..0f7cd5e94cbb 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 0.31.1 3.0.2 2.16 - 2.14.0 + 2.14.1 1.15 4.4.15 4.5.13 From e94e6e81a2acbbd8c9f917453d74a2410b897e44 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Nov 2022 15:16:13 +0000 Subject: [PATCH 2879/3036] chore(main): release 1.6.18 (#546) :robot: I have created a release *beep* *boop* --- ## [1.6.18](https://togithub.com/googleapis/java-iam/compare/v1.6.17...v1.6.18) (2022-11-22) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.17 ([#545](https://togithub.com/googleapis/java-iam/issues/545)) ([edef8d4](https://togithub.com/googleapis/java-iam/commit/edef8d486aa0027496e85e99d6acf363745e2ac9)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 346d52dd3f8c..44aad39d0877 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.18](https://github.com/googleapis/java-iam/compare/v1.6.17...v1.6.18) (2022-11-22) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.17 ([#545](https://github.com/googleapis/java-iam/issues/545)) ([0bcbf61](https://github.com/googleapis/java-iam/commit/0bcbf6163950bbc3d282a7ae199fc8f5e32f195b)) + ## [1.6.17](https://github.com/googleapis/java-iam/compare/v1.6.16...v1.6.17) (2022-11-21) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 482307e00af5..ce6a2f9b1a15 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.18-SNAPSHOT + 1.6.18 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.18-SNAPSHOT + 1.6.18 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index d895eec39835..25958929f56f 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.6.18-SNAPSHOT + 1.6.18 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18-SNAPSHOT + 1.6.18 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index e52b28382d24..09869e4d81f3 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.6.18-SNAPSHOT + 1.6.18 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.18-SNAPSHOT + 1.6.18 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 7d28c17e35ae..e39146984603 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.6.18-SNAPSHOT + 1.6.18 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18-SNAPSHOT + 1.6.18 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 34853013c389..47308e950248 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.18-SNAPSHOT + 1.6.18 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.18-SNAPSHOT + 1.6.18 com.google.api.grpc grpc-google-iam-v2 - 1.6.18-SNAPSHOT + 1.6.18 com.google.cloud google-iam-policy - 1.6.18-SNAPSHOT + 1.6.18 com.google.api.grpc proto-google-iam-v2beta - 1.6.18-SNAPSHOT + 1.6.18 com.google.api.grpc grpc-google-iam-v1 - 1.6.18-SNAPSHOT + 1.6.18 com.google.api.grpc grpc-google-iam-v2beta - 1.6.18-SNAPSHOT + 1.6.18 com.google.api.grpc proto-google-iam-v1 - 1.6.18-SNAPSHOT + 1.6.18 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 5aeeedcb5f16..0925fdc24dc9 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.6.18-SNAPSHOT + 1.6.18 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18-SNAPSHOT + 1.6.18 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 6a2451ad0752..b44771baca55 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.6.18-SNAPSHOT + 1.6.18 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18-SNAPSHOT + 1.6.18 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 94e10518791c..a835d72a83e3 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.6.18-SNAPSHOT + 1.6.18 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18-SNAPSHOT + 1.6.18 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 7b0f6e479975..3ae788960046 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.17:1.6.18-SNAPSHOT -grpc-google-iam-v1:1.6.17:1.6.18-SNAPSHOT -proto-google-iam-v2beta:1.6.17:1.6.18-SNAPSHOT -grpc-google-iam-v2beta:1.6.17:1.6.18-SNAPSHOT -google-iam-policy:1.6.17:1.6.18-SNAPSHOT -proto-google-iam-v2:1.6.17:1.6.18-SNAPSHOT -grpc-google-iam-v2:1.6.17:1.6.18-SNAPSHOT +proto-google-iam-v1:1.6.18:1.6.18 +grpc-google-iam-v1:1.6.18:1.6.18 +proto-google-iam-v2beta:1.6.18:1.6.18 +grpc-google-iam-v2beta:1.6.18:1.6.18 +google-iam-policy:1.6.18:1.6.18 +proto-google-iam-v2:1.6.18:1.6.18 +grpc-google-iam-v2:1.6.18:1.6.18 From 7df793d31dbc5a4e79cb5ef2e612298a94b86c9f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Nov 2022 15:22:14 +0000 Subject: [PATCH 2880/3036] chore(main): release 1.6.19-SNAPSHOT (#547) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index ce6a2f9b1a15..208dd4468f4f 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.18 + 1.6.19-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.18 + 1.6.19-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 25958929f56f..aa3a5a4f71e0 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.6.18 + 1.6.19-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18 + 1.6.19-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 09869e4d81f3..ba0ba04c9aab 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.6.18 + 1.6.19-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.18 + 1.6.19-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index e39146984603..2274c103e30d 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.6.18 + 1.6.19-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18 + 1.6.19-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 47308e950248..b7a8b14e0cb1 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.18 + 1.6.19-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.18 + 1.6.19-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.18 + 1.6.19-SNAPSHOT com.google.cloud google-iam-policy - 1.6.18 + 1.6.19-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.18 + 1.6.19-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.18 + 1.6.19-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.18 + 1.6.19-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.18 + 1.6.19-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 0925fdc24dc9..589f7f1d114d 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.6.18 + 1.6.19-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18 + 1.6.19-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index b44771baca55..6492e39842c8 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.6.18 + 1.6.19-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18 + 1.6.19-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index a835d72a83e3..41c470bb1980 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.6.18 + 1.6.19-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.18 + 1.6.19-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 3ae788960046..a3b7eb17fc63 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.18:1.6.18 -grpc-google-iam-v1:1.6.18:1.6.18 -proto-google-iam-v2beta:1.6.18:1.6.18 -grpc-google-iam-v2beta:1.6.18:1.6.18 -google-iam-policy:1.6.18:1.6.18 -proto-google-iam-v2:1.6.18:1.6.18 -grpc-google-iam-v2:1.6.18:1.6.18 +proto-google-iam-v1:1.6.18:1.6.19-SNAPSHOT +grpc-google-iam-v1:1.6.18:1.6.19-SNAPSHOT +proto-google-iam-v2beta:1.6.18:1.6.19-SNAPSHOT +grpc-google-iam-v2beta:1.6.18:1.6.19-SNAPSHOT +google-iam-policy:1.6.18:1.6.19-SNAPSHOT +proto-google-iam-v2:1.6.18:1.6.19-SNAPSHOT +grpc-google-iam-v2:1.6.18:1.6.19-SNAPSHOT From 1776effd383c09fa61d412f52fd7c3eb479f7b35 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 19:35:44 +0100 Subject: [PATCH 2881/3036] deps: update iam.version to v1.6.18 (#926) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d9de3a54d9e9..b7691779e3ee 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.17 + 1.6.18 From cd0b3d105fc6aa753ca9abcca1f988d65027c448 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 19:36:10 +0100 Subject: [PATCH 2882/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.18 (#1040) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e0e8dad4d984..0dfee9d4a5cf 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.17 + 1.6.18 1.13.0 2.0.1 1.42.3 From 0038cc1870f69cab34cf47909b4cd482c95c71d7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 20:09:26 +0100 Subject: [PATCH 2883/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.18 (#548) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 6f4647e4f7c5..79c80e9f2170 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.17 + 1.6.18 compile From 65d9600e53664eb56f8432f23ae2541c5f8e520d Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Nov 2022 19:16:14 +0000 Subject: [PATCH 2884/3036] chore(main): release 1.6.19 (#549) :robot: I have created a release *beep* *boop* --- ## [1.6.19](https://togithub.com/googleapis/java-iam/compare/v1.6.18...v1.6.19) (2022-11-22) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.18 ([#548](https://togithub.com/googleapis/java-iam/issues/548)) ([0038cc1](https://togithub.com/googleapis/java-iam/commit/0038cc1870f69cab34cf47909b4cd482c95c71d7)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 44aad39d0877..1b4cf3ed6fb1 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.19](https://github.com/googleapis/java-iam/compare/v1.6.18...v1.6.19) (2022-11-22) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.18 ([#548](https://github.com/googleapis/java-iam/issues/548)) ([34ed3ea](https://github.com/googleapis/java-iam/commit/34ed3ea40572a3598d372e9c9d6d5a4077de86d6)) + ## [1.6.18](https://github.com/googleapis/java-iam/compare/v1.6.17...v1.6.18) (2022-11-22) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 208dd4468f4f..8aa68351e998 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.19-SNAPSHOT + 1.6.19 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.19-SNAPSHOT + 1.6.19 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index aa3a5a4f71e0..dbccea80e2b5 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.6.19-SNAPSHOT + 1.6.19 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19-SNAPSHOT + 1.6.19 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index ba0ba04c9aab..915118dd8991 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.6.19-SNAPSHOT + 1.6.19 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.19-SNAPSHOT + 1.6.19 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 2274c103e30d..e4e54b45a0eb 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.6.19-SNAPSHOT + 1.6.19 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19-SNAPSHOT + 1.6.19 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index b7a8b14e0cb1..afb160f124df 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.19-SNAPSHOT + 1.6.19 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.19-SNAPSHOT + 1.6.19 com.google.api.grpc grpc-google-iam-v2 - 1.6.19-SNAPSHOT + 1.6.19 com.google.cloud google-iam-policy - 1.6.19-SNAPSHOT + 1.6.19 com.google.api.grpc proto-google-iam-v2beta - 1.6.19-SNAPSHOT + 1.6.19 com.google.api.grpc grpc-google-iam-v1 - 1.6.19-SNAPSHOT + 1.6.19 com.google.api.grpc grpc-google-iam-v2beta - 1.6.19-SNAPSHOT + 1.6.19 com.google.api.grpc proto-google-iam-v1 - 1.6.19-SNAPSHOT + 1.6.19 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 589f7f1d114d..cba2ecf38ba2 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.6.19-SNAPSHOT + 1.6.19 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19-SNAPSHOT + 1.6.19 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 6492e39842c8..7135ddc0020e 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.6.19-SNAPSHOT + 1.6.19 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19-SNAPSHOT + 1.6.19 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 41c470bb1980..950d8d0cc1fb 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.6.19-SNAPSHOT + 1.6.19 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19-SNAPSHOT + 1.6.19 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index a3b7eb17fc63..b82a02e92a8a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.18:1.6.19-SNAPSHOT -grpc-google-iam-v1:1.6.18:1.6.19-SNAPSHOT -proto-google-iam-v2beta:1.6.18:1.6.19-SNAPSHOT -grpc-google-iam-v2beta:1.6.18:1.6.19-SNAPSHOT -google-iam-policy:1.6.18:1.6.19-SNAPSHOT -proto-google-iam-v2:1.6.18:1.6.19-SNAPSHOT -grpc-google-iam-v2:1.6.18:1.6.19-SNAPSHOT +proto-google-iam-v1:1.6.19:1.6.19 +grpc-google-iam-v1:1.6.19:1.6.19 +proto-google-iam-v2beta:1.6.19:1.6.19 +grpc-google-iam-v2beta:1.6.19:1.6.19 +google-iam-policy:1.6.19:1.6.19 +proto-google-iam-v2:1.6.19:1.6.19 +grpc-google-iam-v2:1.6.19:1.6.19 From 6166e86238fb1408ee8cdcc81646eb150885b7f3 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Nov 2022 19:22:13 +0000 Subject: [PATCH 2885/3036] chore(main): release 1.6.20-SNAPSHOT (#550) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 8aa68351e998..44861bb638ac 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.19 + 1.6.20-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.19 + 1.6.20-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index dbccea80e2b5..f94ab3e25d01 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.6.19 + 1.6.20-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19 + 1.6.20-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 915118dd8991..4c6be4ce79fe 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.6.19 + 1.6.20-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.19 + 1.6.20-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index e4e54b45a0eb..72785d6156e8 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.6.19 + 1.6.20-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19 + 1.6.20-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index afb160f124df..e9d01a257f13 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.19 + 1.6.20-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.19 + 1.6.20-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.19 + 1.6.20-SNAPSHOT com.google.cloud google-iam-policy - 1.6.19 + 1.6.20-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.19 + 1.6.20-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.19 + 1.6.20-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.19 + 1.6.20-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.19 + 1.6.20-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index cba2ecf38ba2..1345032bf32e 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.6.19 + 1.6.20-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19 + 1.6.20-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 7135ddc0020e..3d623ab70db9 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.6.19 + 1.6.20-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19 + 1.6.20-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 950d8d0cc1fb..0b32ee280713 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.6.19 + 1.6.20-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.19 + 1.6.20-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index b82a02e92a8a..c30949c34765 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.19:1.6.19 -grpc-google-iam-v1:1.6.19:1.6.19 -proto-google-iam-v2beta:1.6.19:1.6.19 -grpc-google-iam-v2beta:1.6.19:1.6.19 -google-iam-policy:1.6.19:1.6.19 -proto-google-iam-v2:1.6.19:1.6.19 -grpc-google-iam-v2:1.6.19:1.6.19 +proto-google-iam-v1:1.6.19:1.6.20-SNAPSHOT +grpc-google-iam-v1:1.6.19:1.6.20-SNAPSHOT +proto-google-iam-v2beta:1.6.19:1.6.20-SNAPSHOT +grpc-google-iam-v2beta:1.6.19:1.6.20-SNAPSHOT +google-iam-policy:1.6.19:1.6.20-SNAPSHOT +proto-google-iam-v2:1.6.19:1.6.20-SNAPSHOT +grpc-google-iam-v2:1.6.19:1.6.20-SNAPSHOT From c38bad15980c5f0cca8172013ab4ef2fb8347c92 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 22:45:53 +0100 Subject: [PATCH 2886/3036] deps: update iam.version to v1.6.19 (#927) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b7691779e3ee..49f52111adf5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.18 + 1.6.19 From a9b48d9c9ac5a2150a8c8f21f6cc476caed5f78c Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 22 Nov 2022 22:46:11 +0100 Subject: [PATCH 2887/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.19 (#551) --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 79c80e9f2170..00ca71c4820d 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.18 + 1.6.19 compile From a7d2efc5c30335d1bb7f1cdeefbd99c73466756b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Nov 2022 21:52:14 +0000 Subject: [PATCH 2888/3036] chore(main): release 1.6.20 (#552) :robot: I have created a release *beep* *boop* --- ## [1.6.20](https://togithub.com/googleapis/java-iam/compare/v1.6.19...v1.6.20) (2022-11-22) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.19 ([#551](https://togithub.com/googleapis/java-iam/issues/551)) ([a9b48d9](https://togithub.com/googleapis/java-iam/commit/a9b48d9c9ac5a2150a8c8f21f6cc476caed5f78c)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 1b4cf3ed6fb1..cf57a8063f1e 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.20](https://github.com/googleapis/java-iam/compare/v1.6.19...v1.6.20) (2022-11-22) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.19 ([#551](https://github.com/googleapis/java-iam/issues/551)) ([cd4a411](https://github.com/googleapis/java-iam/commit/cd4a411647e67ebe88c690d6ca4532d4011b4029)) + ## [1.6.19](https://github.com/googleapis/java-iam/compare/v1.6.18...v1.6.19) (2022-11-22) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 44861bb638ac..549aa5db02f1 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.20-SNAPSHOT + 1.6.20 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.20-SNAPSHOT + 1.6.20 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index f94ab3e25d01..b60c29826efa 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.6.20-SNAPSHOT + 1.6.20 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20-SNAPSHOT + 1.6.20 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 4c6be4ce79fe..38318b413ced 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.6.20-SNAPSHOT + 1.6.20 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.20-SNAPSHOT + 1.6.20 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 72785d6156e8..bde64493a744 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.6.20-SNAPSHOT + 1.6.20 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20-SNAPSHOT + 1.6.20 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e9d01a257f13..d4975bf662e8 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.20-SNAPSHOT + 1.6.20 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.20-SNAPSHOT + 1.6.20 com.google.api.grpc grpc-google-iam-v2 - 1.6.20-SNAPSHOT + 1.6.20 com.google.cloud google-iam-policy - 1.6.20-SNAPSHOT + 1.6.20 com.google.api.grpc proto-google-iam-v2beta - 1.6.20-SNAPSHOT + 1.6.20 com.google.api.grpc grpc-google-iam-v1 - 1.6.20-SNAPSHOT + 1.6.20 com.google.api.grpc grpc-google-iam-v2beta - 1.6.20-SNAPSHOT + 1.6.20 com.google.api.grpc proto-google-iam-v1 - 1.6.20-SNAPSHOT + 1.6.20 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1345032bf32e..281bd11f835a 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.6.20-SNAPSHOT + 1.6.20 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20-SNAPSHOT + 1.6.20 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 3d623ab70db9..066aa1eac395 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.6.20-SNAPSHOT + 1.6.20 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20-SNAPSHOT + 1.6.20 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 0b32ee280713..d822a0c5dfaf 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.6.20-SNAPSHOT + 1.6.20 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20-SNAPSHOT + 1.6.20 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index c30949c34765..c21881e9b289 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.19:1.6.20-SNAPSHOT -grpc-google-iam-v1:1.6.19:1.6.20-SNAPSHOT -proto-google-iam-v2beta:1.6.19:1.6.20-SNAPSHOT -grpc-google-iam-v2beta:1.6.19:1.6.20-SNAPSHOT -google-iam-policy:1.6.19:1.6.20-SNAPSHOT -proto-google-iam-v2:1.6.19:1.6.20-SNAPSHOT -grpc-google-iam-v2:1.6.19:1.6.20-SNAPSHOT +proto-google-iam-v1:1.6.20:1.6.20 +grpc-google-iam-v1:1.6.20:1.6.20 +proto-google-iam-v2beta:1.6.20:1.6.20 +grpc-google-iam-v2beta:1.6.20:1.6.20 +google-iam-policy:1.6.20:1.6.20 +proto-google-iam-v2:1.6.20:1.6.20 +grpc-google-iam-v2:1.6.20:1.6.20 From 9c4545831584ded088e9b4cef611bf5ee9a00070 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 22 Nov 2022 21:58:15 +0000 Subject: [PATCH 2889/3036] chore(main): release 1.6.21-SNAPSHOT (#553) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 549aa5db02f1..8fdd3bd56c90 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.20 + 1.6.21-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.20 + 1.6.21-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index b60c29826efa..d60a8dfab2e1 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.6.20 + 1.6.21-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20 + 1.6.21-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 38318b413ced..6ffaa6503541 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.6.20 + 1.6.21-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.20 + 1.6.21-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index bde64493a744..b9306d86c99d 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.6.20 + 1.6.21-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20 + 1.6.21-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index d4975bf662e8..abd2f951310b 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.20 + 1.6.21-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.20 + 1.6.21-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.20 + 1.6.21-SNAPSHOT com.google.cloud google-iam-policy - 1.6.20 + 1.6.21-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.20 + 1.6.21-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.20 + 1.6.21-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.20 + 1.6.21-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.20 + 1.6.21-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 281bd11f835a..97a40862e2fd 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.6.20 + 1.6.21-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20 + 1.6.21-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 066aa1eac395..5e819ac7aa2c 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.6.20 + 1.6.21-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20 + 1.6.21-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index d822a0c5dfaf..bfffd95cab23 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.6.20 + 1.6.21-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.20 + 1.6.21-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index c21881e9b289..dbd514ff0553 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.20:1.6.20 -grpc-google-iam-v1:1.6.20:1.6.20 -proto-google-iam-v2beta:1.6.20:1.6.20 -grpc-google-iam-v2beta:1.6.20:1.6.20 -google-iam-policy:1.6.20:1.6.20 -proto-google-iam-v2:1.6.20:1.6.20 -grpc-google-iam-v2:1.6.20:1.6.20 +proto-google-iam-v1:1.6.20:1.6.21-SNAPSHOT +grpc-google-iam-v1:1.6.20:1.6.21-SNAPSHOT +proto-google-iam-v2beta:1.6.20:1.6.21-SNAPSHOT +grpc-google-iam-v2beta:1.6.20:1.6.21-SNAPSHOT +google-iam-policy:1.6.20:1.6.21-SNAPSHOT +proto-google-iam-v2:1.6.20:1.6.21-SNAPSHOT +grpc-google-iam-v2:1.6.20:1.6.21-SNAPSHOT From e15ea286a939a0fb8329c3c9629213dba2d16dd1 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 23 Nov 2022 15:24:49 +0100 Subject: [PATCH 2890/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.20 (#554) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.19` -> `1.6.20` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.20/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.20/compatibility-slim/1.6.19)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.20/confidence-slim/1.6.19)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.20`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1620-httpsgithubcomgoogleapisjava-iamcomparev1619v1620-2022-11-22) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.19...v1.6.20) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.19 ([#​551](https://togithub.com/googleapis/java-iam/issues/551)) ([a9b48d9](https://togithub.com/googleapis/java-iam/commit/a9b48d9c9ac5a2150a8c8f21f6cc476caed5f78c))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 00ca71c4820d..dbedf3f73044 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.19 + 1.6.20 compile From 098d6471bef0e014b1f4e489f6b5e95d5ed52f58 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 23 Nov 2022 15:24:49 +0100 Subject: [PATCH 2891/3036] deps: update iam.version to v1.6.20 (#928) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.19` -> `1.6.20` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.20/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.20/compatibility-slim/1.6.19)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.20/confidence-slim/1.6.19)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.19` -> `1.6.20` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/compatibility-slim/1.6.19)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/confidence-slim/1.6.19)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.20`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1620-httpsgithubcomgoogleapisjava-iamcomparev1619v1620-2022-11-22) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.19...v1.6.20) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.19 ([#​551](https://togithub.com/googleapis/java-iam/issues/551)) ([cd4a411](https://togithub.com/googleapis/java-iam/commit/cd4a411647e67ebe88c690d6ca4532d4011b4029))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 49f52111adf5..d29d5e2af36c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.19 + 1.6.20
    From 0637da1998fc32d81895e47e4e5fe194f69a15a7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 23 Nov 2022 15:24:54 +0100 Subject: [PATCH 2892/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.20 (#1041) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.18` -> `1.6.20` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/compatibility-slim/1.6.18)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.20/confidence-slim/1.6.18)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.20`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1620-httpsgithubcomgoogleapisjava-iamcomparev1619v1620-2022-11-22) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.19...v1.6.20) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.19 ([#​551](https://togithub.com/googleapis/java-iam/issues/551)) ([cd4a411](https://togithub.com/googleapis/java-iam/commit/cd4a411647e67ebe88c690d6ca4532d4011b4029)) ### [`v1.6.19`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1619-httpsgithubcomgoogleapisjava-iamcomparev1618v1619-2022-11-22) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.18...v1.6.19) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.18 ([#​548](https://togithub.com/googleapis/java-iam/issues/548)) ([34ed3ea](https://togithub.com/googleapis/java-iam/commit/34ed3ea40572a3598d372e9c9d6d5a4077de86d6))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0dfee9d4a5cf..97ccd837499f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.18 + 1.6.20 1.13.0 2.0.1 1.42.3 From 2720226725152b4a2174659828d56bc7c2cecc8a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:32:14 +0000 Subject: [PATCH 2893/3036] chore(main): release 1.6.21 (#555) :robot: I have created a release *beep* *boop* --- ## [1.6.21](https://togithub.com/googleapis/java-iam/compare/v1.6.20...v1.6.21) (2022-11-23) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.20 ([#554](https://togithub.com/googleapis/java-iam/issues/554)) ([e15ea28](https://togithub.com/googleapis/java-iam/commit/e15ea286a939a0fb8329c3c9629213dba2d16dd1)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index cf57a8063f1e..35f03844049a 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.21](https://github.com/googleapis/java-iam/compare/v1.6.20...v1.6.21) (2022-11-23) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.20 ([#554](https://github.com/googleapis/java-iam/issues/554)) ([940af38](https://github.com/googleapis/java-iam/commit/940af38f2b1e4ea7846d5fe2b174b5c6f8962a67)) + ## [1.6.20](https://github.com/googleapis/java-iam/compare/v1.6.19...v1.6.20) (2022-11-22) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 8fdd3bd56c90..15866b906c82 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.21-SNAPSHOT + 1.6.21 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.21-SNAPSHOT + 1.6.21 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index d60a8dfab2e1..9474a4a2c719 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.6.21-SNAPSHOT + 1.6.21 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21-SNAPSHOT + 1.6.21 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 6ffaa6503541..7b21f34e33a3 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.6.21-SNAPSHOT + 1.6.21 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.21-SNAPSHOT + 1.6.21 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index b9306d86c99d..817dd8fe7468 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.6.21-SNAPSHOT + 1.6.21 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21-SNAPSHOT + 1.6.21 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index abd2f951310b..bbe47f21c391 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.21-SNAPSHOT + 1.6.21 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.21-SNAPSHOT + 1.6.21 com.google.api.grpc grpc-google-iam-v2 - 1.6.21-SNAPSHOT + 1.6.21 com.google.cloud google-iam-policy - 1.6.21-SNAPSHOT + 1.6.21 com.google.api.grpc proto-google-iam-v2beta - 1.6.21-SNAPSHOT + 1.6.21 com.google.api.grpc grpc-google-iam-v1 - 1.6.21-SNAPSHOT + 1.6.21 com.google.api.grpc grpc-google-iam-v2beta - 1.6.21-SNAPSHOT + 1.6.21 com.google.api.grpc proto-google-iam-v1 - 1.6.21-SNAPSHOT + 1.6.21 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 97a40862e2fd..6466a22765d2 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.6.21-SNAPSHOT + 1.6.21 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21-SNAPSHOT + 1.6.21 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 5e819ac7aa2c..723d7421ca61 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.6.21-SNAPSHOT + 1.6.21 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21-SNAPSHOT + 1.6.21 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index bfffd95cab23..fec4187a9908 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.6.21-SNAPSHOT + 1.6.21 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21-SNAPSHOT + 1.6.21 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index dbd514ff0553..9a42e7fb81df 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.20:1.6.21-SNAPSHOT -grpc-google-iam-v1:1.6.20:1.6.21-SNAPSHOT -proto-google-iam-v2beta:1.6.20:1.6.21-SNAPSHOT -grpc-google-iam-v2beta:1.6.20:1.6.21-SNAPSHOT -google-iam-policy:1.6.20:1.6.21-SNAPSHOT -proto-google-iam-v2:1.6.20:1.6.21-SNAPSHOT -grpc-google-iam-v2:1.6.20:1.6.21-SNAPSHOT +proto-google-iam-v1:1.6.21:1.6.21 +grpc-google-iam-v1:1.6.21:1.6.21 +proto-google-iam-v2beta:1.6.21:1.6.21 +grpc-google-iam-v2beta:1.6.21:1.6.21 +google-iam-policy:1.6.21:1.6.21 +proto-google-iam-v2:1.6.21:1.6.21 +grpc-google-iam-v2:1.6.21:1.6.21 From 312ed85b3058742651263e853796e96ea690a5f2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:38:14 +0000 Subject: [PATCH 2894/3036] chore(main): release 1.6.22-SNAPSHOT (#556) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 15866b906c82..0283c1962c50 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.21 + 1.6.22-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.21 + 1.6.22-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 9474a4a2c719..9cc88cf7d752 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.6.21 + 1.6.22-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21 + 1.6.22-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 7b21f34e33a3..7f6996cc7ad6 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.6.21 + 1.6.22-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.21 + 1.6.22-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 817dd8fe7468..d3d03c727247 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.6.21 + 1.6.22-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21 + 1.6.22-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index bbe47f21c391..2204aeaf7eea 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.21 + 1.6.22-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.21 + 1.6.22-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.21 + 1.6.22-SNAPSHOT com.google.cloud google-iam-policy - 1.6.21 + 1.6.22-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.21 + 1.6.22-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.21 + 1.6.22-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.21 + 1.6.22-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.21 + 1.6.22-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 6466a22765d2..90512af69616 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.6.21 + 1.6.22-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21 + 1.6.22-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 723d7421ca61..7c3cc3e8d473 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.6.21 + 1.6.22-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21 + 1.6.22-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index fec4187a9908..745f071ef0bd 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.6.21 + 1.6.22-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.21 + 1.6.22-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 9a42e7fb81df..0c0a9ef2128d 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.21:1.6.21 -grpc-google-iam-v1:1.6.21:1.6.21 -proto-google-iam-v2beta:1.6.21:1.6.21 -grpc-google-iam-v2beta:1.6.21:1.6.21 -google-iam-policy:1.6.21:1.6.21 -proto-google-iam-v2:1.6.21:1.6.21 -grpc-google-iam-v2:1.6.21:1.6.21 +proto-google-iam-v1:1.6.21:1.6.22-SNAPSHOT +grpc-google-iam-v1:1.6.21:1.6.22-SNAPSHOT +proto-google-iam-v2beta:1.6.21:1.6.22-SNAPSHOT +grpc-google-iam-v2beta:1.6.21:1.6.22-SNAPSHOT +google-iam-policy:1.6.21:1.6.22-SNAPSHOT +proto-google-iam-v2:1.6.21:1.6.22-SNAPSHOT +grpc-google-iam-v2:1.6.21:1.6.22-SNAPSHOT From aa45b7666e7f1a426763dbc177a4a60b1c8ba5b2 Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 23 Nov 2022 23:56:36 +0800 Subject: [PATCH 2895/3036] feat: Support get CREDENTIAL_ENV_NAME from properties (#782) This closes #781. Signed-off-by: tison Signed-off-by: tison --- .../src/main/java/com/google/cloud/ServiceOptions.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java index 8ffb77eaf552..231b9040c949 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java @@ -327,7 +327,11 @@ protected ServiceOptions( quotaProjectId = builder.quotaProjectId != null ? builder.quotaProjectId - : getValueFromCredentialsFile(System.getenv(CREDENTIAL_ENV_NAME), "quota_project_id"); + : getValueFromCredentialsFile(getCredentialsPath(), "quota_project_id"); + } + + private static String getCredentialsPath() { + return System.getProperty(CREDENTIAL_ENV_NAME, System.getenv(CREDENTIAL_ENV_NAME)); } /** @@ -511,7 +515,7 @@ static boolean headerContainsMetadataFlavor(HttpResponse response) { } protected static String getServiceAccountProjectId() { - return getValueFromCredentialsFile(System.getenv(CREDENTIAL_ENV_NAME), "project_id"); + return getValueFromCredentialsFile(getCredentialsPath(), "project_id"); } @InternalApi("Visible for testing") From 592aeadfd6db756f51d0cbd77a95ca08d26b72e6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 28 Nov 2022 18:04:30 +0100 Subject: [PATCH 2896/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.21 (#557) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.20` -> `1.6.21` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.21/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.21/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.21/compatibility-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.21/confidence-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.21`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1621-httpsgithubcomgoogleapisjava-iamcomparev1620v1621-2022-11-23) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.20...v1.6.21) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.20 ([#​554](https://togithub.com/googleapis/java-iam/issues/554)) ([e15ea28](https://togithub.com/googleapis/java-iam/commit/e15ea286a939a0fb8329c3c9629213dba2d16dd1))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index dbedf3f73044..c43f594031a3 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.20 + 1.6.21 compile From 06dd9c9552b50bdf793b7cf9e7b853eced2cdac9 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 28 Nov 2022 18:04:30 +0100 Subject: [PATCH 2897/3036] deps: update iam.version to v1.6.21 (#929) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.20` -> `1.6.21` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.21/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.21/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.21/compatibility-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.21/confidence-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.20` -> `1.6.21` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/compatibility-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/confidence-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.21`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1621-httpsgithubcomgoogleapisjava-iamcomparev1620v1621-2022-11-23) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.20...v1.6.21) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.20 ([#​554](https://togithub.com/googleapis/java-iam/issues/554)) ([940af38](https://togithub.com/googleapis/java-iam/commit/940af38f2b1e4ea7846d5fe2b174b5c6f8962a67))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index d29d5e2af36c..fdbf26feb3d9 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.20 + 1.6.21
    From 4c91ec01e13323cd1f7666d1c31838116c1efc6f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 28 Nov 2022 18:04:30 +0100 Subject: [PATCH 2898/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.21 (#1042) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.20` -> `1.6.21` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/compatibility-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.21/confidence-slim/1.6.20)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.21`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1621-httpsgithubcomgoogleapisjava-iamcomparev1620v1621-2022-11-23) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.20...v1.6.21) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.20 ([#​554](https://togithub.com/googleapis/java-iam/issues/554)) ([940af38](https://togithub.com/googleapis/java-iam/commit/940af38f2b1e4ea7846d5fe2b174b5c6f8962a67))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 97ccd837499f..69365428be5e 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.10.0 - 1.6.20 + 1.6.21 1.13.0 2.0.1 1.42.3 From c1218b3830565527f82ba7fe9cc255be56cb12d0 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 28 Nov 2022 17:10:22 +0000 Subject: [PATCH 2899/3036] chore(main): release 1.6.22 (#558) :robot: I have created a release *beep* *boop* --- ## [1.6.22](https://togithub.com/googleapis/java-iam/compare/v1.6.21...v1.6.22) (2022-11-28) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.21 ([#557](https://togithub.com/googleapis/java-iam/issues/557)) ([592aead](https://togithub.com/googleapis/java-iam/commit/592aeadfd6db756f51d0cbd77a95ca08d26b72e6)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 7 +++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 35f03844049a..ed9846bd1a35 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.22](https://github.com/googleapis/java-iam/compare/v1.6.21...v1.6.22) (2022-11-28) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.21 ([#557](https://github.com/googleapis/java-iam/issues/557)) ([c108c89](https://github.com/googleapis/java-iam/commit/c108c89e97a9b5f11541a9c704d9da582868cf32)) + ## [1.6.21](https://github.com/googleapis/java-iam/compare/v1.6.20...v1.6.21) (2022-11-23) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 0283c1962c50..b728a13fe600 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.22-SNAPSHOT + 1.6.22 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.22-SNAPSHOT + 1.6.22 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 9cc88cf7d752..59b943cf03ec 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.6.22-SNAPSHOT + 1.6.22 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22-SNAPSHOT + 1.6.22 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 7f6996cc7ad6..0b2f0ebbafd7 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.6.22-SNAPSHOT + 1.6.22 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.22-SNAPSHOT + 1.6.22 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index d3d03c727247..61611facd1e2 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.6.22-SNAPSHOT + 1.6.22 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22-SNAPSHOT + 1.6.22 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 2204aeaf7eea..aa6865493e1a 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.22-SNAPSHOT + 1.6.22 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.22-SNAPSHOT + 1.6.22 com.google.api.grpc grpc-google-iam-v2 - 1.6.22-SNAPSHOT + 1.6.22 com.google.cloud google-iam-policy - 1.6.22-SNAPSHOT + 1.6.22 com.google.api.grpc proto-google-iam-v2beta - 1.6.22-SNAPSHOT + 1.6.22 com.google.api.grpc grpc-google-iam-v1 - 1.6.22-SNAPSHOT + 1.6.22 com.google.api.grpc grpc-google-iam-v2beta - 1.6.22-SNAPSHOT + 1.6.22 com.google.api.grpc proto-google-iam-v1 - 1.6.22-SNAPSHOT + 1.6.22 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 90512af69616..9d9fb8f191a9 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.6.22-SNAPSHOT + 1.6.22 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22-SNAPSHOT + 1.6.22 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 7c3cc3e8d473..1832fcb1aa44 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.6.22-SNAPSHOT + 1.6.22 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22-SNAPSHOT + 1.6.22 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 745f071ef0bd..b3cd4238c9f1 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.6.22-SNAPSHOT + 1.6.22 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22-SNAPSHOT + 1.6.22 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 0c0a9ef2128d..8c3539911b2a 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.21:1.6.22-SNAPSHOT -grpc-google-iam-v1:1.6.21:1.6.22-SNAPSHOT -proto-google-iam-v2beta:1.6.21:1.6.22-SNAPSHOT -grpc-google-iam-v2beta:1.6.21:1.6.22-SNAPSHOT -google-iam-policy:1.6.21:1.6.22-SNAPSHOT -proto-google-iam-v2:1.6.21:1.6.22-SNAPSHOT -grpc-google-iam-v2:1.6.21:1.6.22-SNAPSHOT +proto-google-iam-v1:1.6.22:1.6.22 +grpc-google-iam-v1:1.6.22:1.6.22 +proto-google-iam-v2beta:1.6.22:1.6.22 +grpc-google-iam-v2beta:1.6.22:1.6.22 +google-iam-policy:1.6.22:1.6.22 +proto-google-iam-v2:1.6.22:1.6.22 +grpc-google-iam-v2:1.6.22:1.6.22 From 8d112d8368853f15c2d65ef3f68738a8ce39baa2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 28 Nov 2022 17:16:15 +0000 Subject: [PATCH 2900/3036] chore(main): release 1.6.23-SNAPSHOT (#559) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index b728a13fe600..57c5d04e9df2 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.22 + 1.6.23-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.22 + 1.6.23-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 59b943cf03ec..4677803dd27b 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.6.22 + 1.6.23-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22 + 1.6.23-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 0b2f0ebbafd7..dfcf90638b16 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.6.22 + 1.6.23-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.22 + 1.6.23-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index 61611facd1e2..a00a6326e1f8 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.6.22 + 1.6.23-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22 + 1.6.23-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index aa6865493e1a..6fe8be8f296d 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.22 + 1.6.23-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.22 + 1.6.23-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.22 + 1.6.23-SNAPSHOT com.google.cloud google-iam-policy - 1.6.22 + 1.6.23-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.22 + 1.6.23-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.22 + 1.6.23-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.22 + 1.6.23-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.22 + 1.6.23-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 9d9fb8f191a9..1a472df606a3 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.6.22 + 1.6.23-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22 + 1.6.23-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 1832fcb1aa44..6518950d01dc 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.6.22 + 1.6.23-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22 + 1.6.23-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index b3cd4238c9f1..d45a3ed3928a 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.6.22 + 1.6.23-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.22 + 1.6.23-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 8c3539911b2a..f9fc0f8159f2 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.22:1.6.22 -grpc-google-iam-v1:1.6.22:1.6.22 -proto-google-iam-v2beta:1.6.22:1.6.22 -grpc-google-iam-v2beta:1.6.22:1.6.22 -google-iam-policy:1.6.22:1.6.22 -proto-google-iam-v2:1.6.22:1.6.22 -grpc-google-iam-v2:1.6.22:1.6.22 +proto-google-iam-v1:1.6.22:1.6.23-SNAPSHOT +grpc-google-iam-v1:1.6.22:1.6.23-SNAPSHOT +proto-google-iam-v2beta:1.6.22:1.6.23-SNAPSHOT +grpc-google-iam-v2beta:1.6.22:1.6.23-SNAPSHOT +google-iam-policy:1.6.22:1.6.23-SNAPSHOT +proto-google-iam-v2:1.6.22:1.6.23-SNAPSHOT +grpc-google-iam-v2:1.6.22:1.6.23-SNAPSHOT From a6d95db70b28cc1af1c026bd394bdb9f734212fb Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Mon, 28 Nov 2022 15:21:54 -0500 Subject: [PATCH 2901/3036] chore: upgrade native image downstream check to 22.3.0 (#930) --- .../.github/workflows/downstream-native-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml index a34a59f4a905..3d772b6ea50b 100644 --- a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml +++ b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - graalvm: [22.2.0] + graalvm: [22.3.0] java: [11, 17] repo: # GAPIC library that doesn't use a real GCP project in integration tests From 9f892268a7b80d425a72e129d820faf65079a918 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 13:00:50 -0500 Subject: [PATCH 2902/3036] chore: upgrade native image checks to graalvm-22.3.0 (#1718) (#932) chore: upgrade native image checks to graalvm-22.3.0 Source-Link: https://github.com/googleapis/synthtool/commit/5e52896b69b145a3fac6827e4e75e617abdc9dd8 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd Co-authored-by: Owl Bot --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- .../.kokoro/presubmit/graalvm-native-17.cfg | 2 +- java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 0f0647b00ef2..4ca0036da327 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb + digest: sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd diff --git a/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg b/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg index a3f7fb9d4943..e20330c3ca60 100644 --- a/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0" } env_vars: { diff --git a/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg b/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg index 4c7225ec924e..0fd6ba2fa0ce 100644 --- a/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg +++ b/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0" } env_vars: { From 5f303ec754204ea8196a0f45e1757266abffcafd Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 30 Nov 2022 19:04:55 +0100 Subject: [PATCH 2903/3036] deps: update iam.version to v1.6.22 (#931) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index fdbf26feb3d9..9dd816d714e8 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.0.1 - 1.6.21 + 1.6.22 From 934b93eca6e193234c2555e7a2bd8ecdf0151799 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 1 Dec 2022 18:53:31 +0100 Subject: [PATCH 2904/3036] deps: update google.common-protos.version to v2.11.0 (#935) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 9dd816d714e8..6534125b7155 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 31.1-jre 3.21.9 2.2.2 - 2.10.0 + 2.11.0 2.8.28 1.13.0 1.42.3 From a58043658b28bfaebef604917b8cc7661ec3107e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 1 Dec 2022 20:48:16 +0100 Subject: [PATCH 2905/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.5 (#938) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 2 +- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 6534125b7155..ebe85fb5a363 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.4 + 1.5.5 diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cbf68bca80b5..d12e9809ece9 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-config - 1.5.4 + 1.5.5 diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 0f7cd5e94cbb..67aa3282cd56 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -16,7 +16,7 @@ com.google.cloud google-cloud-shared-config - 1.5.4 + 1.5.5 diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index f7e978ed3ef4..13009a8b5e3a 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -17,7 +17,7 @@ com.google.cloud google-cloud-shared-config - 1.5.4 + 1.5.5 From 7e31b1a0117af11a4a2d3e61694937388fb4f02c Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 1 Dec 2022 21:07:13 +0100 Subject: [PATCH 2906/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.10 (#936) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index ebe85fb5a363..5f5ca01293e3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.3.1 2.10 31.1-jre - 3.21.9 + 3.21.10 2.2.2 2.11.0 2.8.28 From df01165423a23096a59a5d44bcb67df1af7bd77d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 1 Dec 2022 21:07:35 +0100 Subject: [PATCH 2907/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2.1.0 (#934) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5f5ca01293e3..7a056c74e0a5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.13.0 1.42.3 1.34.1 - 2.0.1 + 2.1.0 1.6.22 From a2a9829eb6a20b43d21072f2875e94f2739264ee Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 1 Dec 2022 21:07:58 +0100 Subject: [PATCH 2908/3036] deps: update dependency org.apache.httpcomponents:httpcore to v4.4.16 (#933) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 67aa3282cd56..c907355306f3 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -65,7 +65,7 @@ 2.16 2.14.1 1.15 - 4.4.15 + 4.4.16 4.5.13 3.27.0 From adef510c864a836edd779398fae0c07e782a7b50 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 1 Dec 2022 20:44:16 +0000 Subject: [PATCH 2909/3036] chore(main): release 3.0.7-SNAPSHOT (#904) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 559ab368a901..ad9b8336aff9 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.0.6 + 3.0.7-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.6 + 3.0.7-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 7a056c74e0a5..3be1bbf84da7 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.0.6 + 3.0.7-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index d12e9809ece9..5f9caf37b891 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.0.6 + 3.0.7-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.6 + 3.0.7-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.0.6 + 3.0.7-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index c907355306f3..d1da1ebe7e5d 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.0.6 + 3.0.7-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 13009a8b5e3a..6f7cf95e6627 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.0.6 + 3.0.7-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.6 + 3.0.7-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 69c2f70299bf..d453f060164a 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.6:3.0.6 +google-cloud-shared-dependencies:3.0.6:3.0.7-SNAPSHOT From 73c2bb43be80341c997ad3275a7f34ceae22bc3e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 18:23:51 +0100 Subject: [PATCH 2910/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.10 (#1048) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 69365428be5e..3bd5662ab7c8 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.0.1 1.42.3 1.51.0 - 3.21.9 + 3.21.10 0.31.1 1.3.2 31.1-jre From 42faafa6555ae2fbfc796effd036ee69d5a31d40 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 18:25:11 +0100 Subject: [PATCH 2911/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.5 (#1047) --- java-core/google-cloud-core-bom/pom.xml | 2 +- java-core/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 3b5107c4a3af..0aa682dacc3e 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.5.4 + 1.5.5 Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3bd5662ab7c8..693c446b176d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.4 + 1.5.5 From 1ed7d11612b9eef79c2ceee31f716544bac5c7f3 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 18:26:19 +0100 Subject: [PATCH 2912/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.11.0 (#1046) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 693c446b176d..06f5f6b17c5b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.19.5 2.2.2 - 2.10.0 + 2.11.0 1.6.21 1.13.0 2.0.1 From de6c8bd5ba9c3c697a6163d01fb6922b50f5fb5b Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 18:26:48 +0100 Subject: [PATCH 2913/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2.1.1 (#1045) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 06f5f6b17c5b..e381f00499d5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.11.0 1.6.21 1.13.0 - 2.0.1 + 2.1.1 1.42.3 1.51.0 3.21.10 From 07eff99f33206486ff35f9eff6b1ee4c6727ad40 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 5 Dec 2022 12:27:19 -0500 Subject: [PATCH 2914/3036] chore: upgrade native image checks to graalvm-22.3.0 (#1718) (#1044) chore: upgrade native image checks to graalvm-22.3.0 Source-Link: https://github.com/googleapis/synthtool/commit/5e52896b69b145a3fac6827e4e75e617abdc9dd8 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd Co-authored-by: Owl Bot --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/presubmit/graalvm-native-17.cfg | 2 +- java-core/.kokoro/presubmit/graalvm-native.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 0f0647b00ef2..4ca0036da327 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb + digest: sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd diff --git a/java-core/.kokoro/presubmit/graalvm-native-17.cfg b/java-core/.kokoro/presubmit/graalvm-native-17.cfg index a3f7fb9d4943..e20330c3ca60 100644 --- a/java-core/.kokoro/presubmit/graalvm-native-17.cfg +++ b/java-core/.kokoro/presubmit/graalvm-native-17.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0" } env_vars: { diff --git a/java-core/.kokoro/presubmit/graalvm-native.cfg b/java-core/.kokoro/presubmit/graalvm-native.cfg index 4c7225ec924e..0fd6ba2fa0ce 100644 --- a/java-core/.kokoro/presubmit/graalvm-native.cfg +++ b/java-core/.kokoro/presubmit/graalvm-native.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0" } env_vars: { From 3f6f7820d9b8f7b8ceca982b1ec866a9ddb633a8 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 18:31:49 +0100 Subject: [PATCH 2915/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.22 (#1043) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index e381f00499d5..af656d64ea73 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.19.5 2.2.2 2.11.0 - 1.6.21 + 1.6.22 1.13.0 2.1.1 1.42.3 From 9b1cfb3d0c711d0c6d54b5ca397eb5f8cf9563c1 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 18:43:08 +0100 Subject: [PATCH 2916/3036] deps: update dependency com.google.api:gax-bom to v2.20.1 (#1049) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index af656d64ea73..0ebaafe6f62a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.19.5 + 2.20.1 2.2.2 2.11.0 1.6.22 From c449b3da5764ead9a6ad8c65d7164ffa294f1522 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 5 Dec 2022 13:21:51 -0500 Subject: [PATCH 2917/3036] chore(main): release 2.9.0 (#1026) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 31 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 +++--- java-core/google-cloud-core-grpc/pom.xml | 4 +-- java-core/google-cloud-core-http/pom.xml | 4 +-- java-core/google-cloud-core/pom.xml | 4 +-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 43 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 235d8ae049f7..6a85f144d9c1 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [2.9.0](https://github.com/googleapis/java-core/compare/v2.8.28...v2.9.0) (2022-12-05) + + +### Features + +* Next release from main branch is 2.9.0 ([#1018](https://github.com/googleapis/java-core/issues/1018)) ([e53bf16](https://github.com/googleapis/java-core/commit/e53bf165791149ae4bcbe8ab21f14d8c6331680c)) +* Support get CREDENTIAL_ENV_NAME from properties ([#782](https://github.com/googleapis/java-core/issues/782)) ([2bb7d57](https://github.com/googleapis/java-core/commit/2bb7d576a3da2185a9756c7b4f5386bf67824d1d)) + + +### Dependencies + +* Update dependency com.google.api-client:google-api-client-bom to v2.1.1 ([#1045](https://github.com/googleapis/java-core/issues/1045)) ([c957f18](https://github.com/googleapis/java-core/commit/c957f1882a93cadc19964912ab57eb8119ccf529)) +* Update dependency com.google.api:gax-bom to v2.20.1 ([#1049](https://github.com/googleapis/java-core/issues/1049)) ([46af789](https://github.com/googleapis/java-core/commit/46af7892e49c5967e2fcd82bca21332cad5b5458)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.11.0 ([#1046](https://github.com/googleapis/java-core/issues/1046)) ([b0d785a](https://github.com/googleapis/java-core/commit/b0d785a0c77c193a8fdc25f4b43ed26ac1b478bc)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.10 ([#1028](https://github.com/googleapis/java-core/issues/1028)) ([399899a](https://github.com/googleapis/java-core/commit/399899a4a1bcffb4bdbf5ee2898b5f6050ea00a6)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.11 ([#1029](https://github.com/googleapis/java-core/issues/1029)) ([0e33024](https://github.com/googleapis/java-core/commit/0e3302464ff613fa082d6f165155d6a825cf4294)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.12 ([#1031](https://github.com/googleapis/java-core/issues/1031)) ([3705e63](https://github.com/googleapis/java-core/commit/3705e63d3291f4d0d9c6346f32c43f209983e801)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.13 ([#1033](https://github.com/googleapis/java-core/issues/1033)) ([3256faa](https://github.com/googleapis/java-core/commit/3256faa6301939492a07d2c5d02d3a5eb3c75c5e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.14 ([#1034](https://github.com/googleapis/java-core/issues/1034)) ([03d481b](https://github.com/googleapis/java-core/commit/03d481be4aa7e4885acc6fb204f92606a514db0f)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.15 ([#1035](https://github.com/googleapis/java-core/issues/1035)) ([a0f1915](https://github.com/googleapis/java-core/commit/a0f191579b61db1cfa984d9aba56a293c577f56e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.16 ([#1036](https://github.com/googleapis/java-core/issues/1036)) ([d236920](https://github.com/googleapis/java-core/commit/d236920a6ddbbac523db19534f5944d38a5feed2)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.17 ([#1037](https://github.com/googleapis/java-core/issues/1037)) ([c06c8e1](https://github.com/googleapis/java-core/commit/c06c8e19cbf7f8e2e4fe387a685cc36fc8be674d)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.18 ([#1040](https://github.com/googleapis/java-core/issues/1040)) ([2baec55](https://github.com/googleapis/java-core/commit/2baec55331fa1e74a9199adcb7eb44b7ac886a6e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.20 ([#1041](https://github.com/googleapis/java-core/issues/1041)) ([ee64ef7](https://github.com/googleapis/java-core/commit/ee64ef76995061a238957705405b56f4bd4870f9)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.21 ([#1042](https://github.com/googleapis/java-core/issues/1042)) ([df6f385](https://github.com/googleapis/java-core/commit/df6f3857871604663626dbbe6b262fc8b3db1dc3)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.22 ([#1043](https://github.com/googleapis/java-core/issues/1043)) ([84c3820](https://github.com/googleapis/java-core/commit/84c382042cedc934cc571b32de7aa058ac025e9e)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.9 ([#1024](https://github.com/googleapis/java-core/issues/1024)) ([3bb2fae](https://github.com/googleapis/java-core/commit/3bb2fae3c4c96301985f2e4c51d0a6bc9d737341)) +* Update dependency com.google.auth:google-auth-library-bom to v1.13.0 ([#1030](https://github.com/googleapis/java-core/issues/1030)) ([799e584](https://github.com/googleapis/java-core/commit/799e584645fb03c96f7e93156770c9afa631eff6)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.10 ([#1048](https://github.com/googleapis/java-core/issues/1048)) ([ea0d8d4](https://github.com/googleapis/java-core/commit/ea0d8d4ce7732353506d70c9c16ee6c2d9f01b23)) +* Update dependency io.grpc:grpc-bom to v1.51.0 ([#1032](https://github.com/googleapis/java-core/issues/1032)) ([2572bcc](https://github.com/googleapis/java-core/commit/2572bcc6f62e713009ebcb4c41a2e5ec4ba57707)) + ## [2.8.28](https://github.com/googleapis/java-core/compare/v2.8.27...v2.8.28) (2022-11-09) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 0aa682dacc3e..8ebe76e7f9fd 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.8.29-SNAPSHOT + 2.9.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.8.29-SNAPSHOT + 2.9.0 com.google.cloud google-cloud-core-grpc - 2.8.29-SNAPSHOT + 2.9.0 com.google.cloud google-cloud-core-http - 2.8.29-SNAPSHOT + 2.9.0
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 0a0eb3eba134..9ccf063051b6 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.8.29-SNAPSHOT + 2.9.0 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.29-SNAPSHOT + 2.9.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 176a3373f3e5..e8895276796a 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.8.29-SNAPSHOT + 2.9.0 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.29-SNAPSHOT + 2.9.0 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 1fd03da660a4..af552f9f7679 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.8.29-SNAPSHOT + 2.9.0 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.8.29-SNAPSHOT + 2.9.0 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 0ebaafe6f62a..fc165b0ace3f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.8.29-SNAPSHOT + 2.9.0 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 0606c1981d62..8efc8816bffa 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.8.28:2.8.29-SNAPSHOT +google-cloud-core:2.9.0:2.9.0 From 4089830197276778de37fe8eb92746cb68a232a4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 5 Dec 2022 18:28:13 +0000 Subject: [PATCH 2918/3036] chore(main): release 2.9.1-SNAPSHOT (#1051) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8ebe76e7f9fd..a38324cd52fe 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.0 + 2.9.1-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.0 + 2.9.1-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.9.0 + 2.9.1-SNAPSHOT com.google.cloud google-cloud-core-http - 2.9.0 + 2.9.1-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 9ccf063051b6..77e2cd7abf26 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.9.0 + 2.9.1-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.0 + 2.9.1-SNAPSHOT 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 e8895276796a..818afbab25ec 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.9.0 + 2.9.1-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.0 + 2.9.1-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index af552f9f7679..12f5a3bd7053 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.9.0 + 2.9.1-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.0 + 2.9.1-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index fc165b0ace3f..82f93927601b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.0 + 2.9.1-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 8efc8816bffa..03e7d734c5d5 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.0:2.9.0 +google-cloud-core:2.9.0:2.9.1-SNAPSHOT From 3dfb126bb243bce9b63f2795a64a467553b6f205 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 21:47:17 +0100 Subject: [PATCH 2919/3036] deps: update dependency org.checkerframework:checker-qual to v3.28.0 (#940) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index d1da1ebe7e5d..6fbcf2070159 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 4.4.16 4.5.13 - 3.27.0 + 3.28.0 0.26.0 From 913f03ebd7f64e1bbfd40ebd6a96b1a073234acf Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 21:47:43 +0100 Subject: [PATCH 2920/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2.1.1 (#941) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 3be1bbf84da7..73aee0c0f0c3 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -67,7 +67,7 @@ 1.13.0 1.42.3 1.34.1 - 2.1.0 + 2.1.1 1.6.22 From 94553c1cc3b28b3b0d6d6cc52a28d4a02af17a4c Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 21:48:05 +0100 Subject: [PATCH 2921/3036] deps: update dependency com.google.cloud:grpc-gcp to v1.3.2 (#942) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 73aee0c0f0c3..a37f6504f5ed 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -57,7 +57,7 @@ ${project.artifactId} 1.51.0 2.19.5 - 1.3.1 + 1.3.2 2.10 31.1-jre 3.21.10 From afb904c92a3ee1d756847943577679aa55975891 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 21:48:28 +0100 Subject: [PATCH 2922/3036] deps: update dependency org.apache.httpcomponents:httpclient to v4.5.14 (#943) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 6fbcf2070159..7e74be74cbe4 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -66,7 +66,7 @@ 2.14.1 1.15 4.4.16 - 4.5.13 + 4.5.14 3.28.0 0.26.0 From 86ec555e13c68eda90f4c5997e06d326ba1f88e7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 21:48:48 +0100 Subject: [PATCH 2923/3036] deps: update google.core.version to v2.9.0 (#944) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index a37f6504f5ed..131c7aa6c943 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -63,7 +63,7 @@ 3.21.10 2.2.2 2.11.0 - 2.8.28 + 2.9.0 1.13.0 1.42.3 1.34.1 From 51141ff521c9815ac5e8201ed007eeec2bfa75ea Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 5 Dec 2022 22:13:37 +0100 Subject: [PATCH 2924/3036] deps: update gax.version to v2.20.1 (#937) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 131c7aa6c943..33457114c7bf 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -56,7 +56,7 @@ UTF-8 ${project.artifactId} 1.51.0 - 2.19.5 + 2.20.1 1.3.2 2.10 31.1-jre From 7adfa5bfb3b63ac98b6a0e89a8838302ff7930e4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 5 Dec 2022 17:18:19 -0500 Subject: [PATCH 2925/3036] chore(main): release 3.1.0 (#939) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 42 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 +- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +-- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 +- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 52 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index ad33908aa61e..0fb9b41f082d 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,48 @@ # Changelog +## [3.1.0](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.6...v3.1.0) (2022-12-05) + + +### Features + +* Next release from main branch is 3.1.0 ([#910](https://github.com/googleapis/java-shared-dependencies/issues/910)) ([3e36bc6](https://github.com/googleapis/java-shared-dependencies/commit/3e36bc6c5a6ffff771480200ecf5908cb347a50a)) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.14.1 ([#924](https://github.com/googleapis/java-shared-dependencies/issues/924)) ([c630375](https://github.com/googleapis/java-shared-dependencies/commit/c630375d5059b4ac367979a2507c3870840c08e4)) +* Update dependency com.google.api-client:google-api-client-bom to v2.1.0 ([#934](https://github.com/googleapis/java-shared-dependencies/issues/934)) ([8af7b00](https://github.com/googleapis/java-shared-dependencies/commit/8af7b00cf0758df4015b1999d6f824ba1864be00)) +* Update dependency com.google.api-client:google-api-client-bom to v2.1.1 ([#941](https://github.com/googleapis/java-shared-dependencies/issues/941)) ([6a6e3e7](https://github.com/googleapis/java-shared-dependencies/commit/6a6e3e7d3232c7d74f92849a98e607a6d22b7b4e)) +* Update dependency com.google.auth:google-auth-library-bom to v1.13.0 ([#917](https://github.com/googleapis/java-shared-dependencies/issues/917)) ([1e2448c](https://github.com/googleapis/java-shared-dependencies/commit/1e2448c60cbe3e215b4f9f772d8e0c7cb1434bd0)) +* Update dependency com.google.cloud:grpc-gcp to v1.3.2 ([#942](https://github.com/googleapis/java-shared-dependencies/issues/942)) ([66c3e2a](https://github.com/googleapis/java-shared-dependencies/commit/66c3e2acda213fe9aea60b85f8543e3fdeaa2ecf)) +* Update dependency com.google.cloud.tools:dependencies to v1.5.13 ([#914](https://github.com/googleapis/java-shared-dependencies/issues/914)) ([9c0fa2c](https://github.com/googleapis/java-shared-dependencies/commit/9c0fa2c06ed04a3dddd9f0fd908865279393d373)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.10 ([#936](https://github.com/googleapis/java-shared-dependencies/issues/936)) ([f8abca8](https://github.com/googleapis/java-shared-dependencies/commit/f8abca8e075c59461c88b8c79fd1c5cd5eacb509)) +* Update dependency io.grpc:grpc-bom to v1.51.0 ([#919](https://github.com/googleapis/java-shared-dependencies/issues/919)) ([713b331](https://github.com/googleapis/java-shared-dependencies/commit/713b331a39917725ed4bd95c80c083c23d2a192e)) +* Update dependency io.perfmark:perfmark-api to v0.26.0 ([#907](https://github.com/googleapis/java-shared-dependencies/issues/907)) ([950cca6](https://github.com/googleapis/java-shared-dependencies/commit/950cca6df2d7e7d24ab8dd7e32c7a264e89d721f)) +* Update dependency org.apache.httpcomponents:httpclient to v4.5.14 ([#943](https://github.com/googleapis/java-shared-dependencies/issues/943)) ([7590b65](https://github.com/googleapis/java-shared-dependencies/commit/7590b6538290d3f9892b2b302505d3ecfca69530)) +* Update dependency org.apache.httpcomponents:httpcore to v4.4.16 ([#933](https://github.com/googleapis/java-shared-dependencies/issues/933)) ([6a68eb9](https://github.com/googleapis/java-shared-dependencies/commit/6a68eb96179a13cf324b4a4026ff6877d447a334)) +* Update dependency org.checkerframework:checker-qual to v3.28.0 ([#940](https://github.com/googleapis/java-shared-dependencies/issues/940)) ([5ea57c3](https://github.com/googleapis/java-shared-dependencies/commit/5ea57c3f5490c3cf7048e71dfab63aba8d7b874f)) +* Update gax.version to v2.20.1 ([#937](https://github.com/googleapis/java-shared-dependencies/issues/937)) ([ca30914](https://github.com/googleapis/java-shared-dependencies/commit/ca30914b59516c634de24b1fa33c8a6c454a0cef)) +* Update google.common-protos.version to v2.11.0 ([#935](https://github.com/googleapis/java-shared-dependencies/issues/935)) ([e92f583](https://github.com/googleapis/java-shared-dependencies/commit/e92f58361c0062414c34b669161f9d6284b0903f)) +* Update google.core.version to v2.8.28 ([#909](https://github.com/googleapis/java-shared-dependencies/issues/909)) ([79a731e](https://github.com/googleapis/java-shared-dependencies/commit/79a731e057fa7b1ac5f4bc6ae15869726bc9c20a)) +* Update google.core.version to v2.9.0 ([#944](https://github.com/googleapis/java-shared-dependencies/issues/944)) ([a50513b](https://github.com/googleapis/java-shared-dependencies/commit/a50513bc8902d059a7b53dc852b02b7e2f9bc3e6)) +* Update iam.version to v1.6.10 ([#915](https://github.com/googleapis/java-shared-dependencies/issues/915)) ([2c06312](https://github.com/googleapis/java-shared-dependencies/commit/2c06312732a56fd94f0ce8447062b42b3da15c92)) +* Update iam.version to v1.6.11 ([#916](https://github.com/googleapis/java-shared-dependencies/issues/916)) ([10b152d](https://github.com/googleapis/java-shared-dependencies/commit/10b152ded8ceded5ae3c60774ea8e75c7b69d9d8)) +* Update iam.version to v1.6.12 ([#918](https://github.com/googleapis/java-shared-dependencies/issues/918)) ([db57153](https://github.com/googleapis/java-shared-dependencies/commit/db57153752380dacb773530aef8079ff68772fc9)) +* Update iam.version to v1.6.13 ([#920](https://github.com/googleapis/java-shared-dependencies/issues/920)) ([763197e](https://github.com/googleapis/java-shared-dependencies/commit/763197e94a34620a2e234885fcdbdcb5fba144c2)) +* Update iam.version to v1.6.14 ([#921](https://github.com/googleapis/java-shared-dependencies/issues/921)) ([036cf6f](https://github.com/googleapis/java-shared-dependencies/commit/036cf6f0df788e9bffd5e21bfd8e560a797ed37d)) +* Update iam.version to v1.6.15 ([#922](https://github.com/googleapis/java-shared-dependencies/issues/922)) ([98b11a7](https://github.com/googleapis/java-shared-dependencies/commit/98b11a72f3818e4505d468c47b7c8105a3b55847)) +* Update iam.version to v1.6.16 ([#923](https://github.com/googleapis/java-shared-dependencies/issues/923)) ([b44d6ba](https://github.com/googleapis/java-shared-dependencies/commit/b44d6babd71d89ed27a0d7cac229d04111bb39e7)) +* Update iam.version to v1.6.17 ([#925](https://github.com/googleapis/java-shared-dependencies/issues/925)) ([f24a7f8](https://github.com/googleapis/java-shared-dependencies/commit/f24a7f8577ca90153d86b9ed3eab5954c1fc5500)) +* Update iam.version to v1.6.18 ([#926](https://github.com/googleapis/java-shared-dependencies/issues/926)) ([c77314d](https://github.com/googleapis/java-shared-dependencies/commit/c77314d5bdfbe960e6f71fb8dc044a60d1973038)) +* Update iam.version to v1.6.19 ([#927](https://github.com/googleapis/java-shared-dependencies/issues/927)) ([2990cf0](https://github.com/googleapis/java-shared-dependencies/commit/2990cf020e526ddba54c2a0542ef8e01f4f517f5)) +* Update iam.version to v1.6.20 ([#928](https://github.com/googleapis/java-shared-dependencies/issues/928)) ([7dbd204](https://github.com/googleapis/java-shared-dependencies/commit/7dbd204cdc0df7107c656e28766afeb14f6793c4)) +* Update iam.version to v1.6.21 ([#929](https://github.com/googleapis/java-shared-dependencies/issues/929)) ([cec2265](https://github.com/googleapis/java-shared-dependencies/commit/cec2265e43eaac7cc1be3c9bb42c0d93872f4075)) +* Update iam.version to v1.6.22 ([#931](https://github.com/googleapis/java-shared-dependencies/issues/931)) ([812ccf4](https://github.com/googleapis/java-shared-dependencies/commit/812ccf46fb0ada475dea2f6eb53839be8940dbde)) +* Update iam.version to v1.6.8 ([#906](https://github.com/googleapis/java-shared-dependencies/issues/906)) ([68ebe06](https://github.com/googleapis/java-shared-dependencies/commit/68ebe06101ec5b24fddb48012e3487c37827ba6a)) +* Update iam.version to v1.6.9 ([#912](https://github.com/googleapis/java-shared-dependencies/issues/912)) ([6a3097b](https://github.com/googleapis/java-shared-dependencies/commit/6a3097b559319f643f63727bd6d4ce5d30091317)) + ## [3.0.6](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.5...v3.0.6) (2022-11-07) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index ad9b8336aff9..e0245e955148 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.0.7-SNAPSHOT + 3.1.0 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.7-SNAPSHOT + 3.1.0 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 33457114c7bf..6551c6feaa94 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.0.7-SNAPSHOT + 3.1.0 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 5f9caf37b891..135a522aafd2 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.0.7-SNAPSHOT + 3.1.0 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.7-SNAPSHOT + 3.1.0 pom import com.google.cloud third-party-dependencies - 3.0.7-SNAPSHOT + 3.1.0 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 7e74be74cbe4..88457ea1d4dc 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.0.7-SNAPSHOT + 3.1.0 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 6f7cf95e6627..9dcc48fb211e 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.0.7-SNAPSHOT + 3.1.0 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.7-SNAPSHOT + 3.1.0 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index d453f060164a..5117045d0bbe 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.6:3.0.7-SNAPSHOT +google-cloud-shared-dependencies:3.1.0:3.1.0 From 5c09bd19b97949b75f6c51d68f28af128c2da2ae Mon Sep 17 00:00:00 2001 From: BenWhitehead Date: Thu, 15 Dec 2022 15:09:12 -0500 Subject: [PATCH 2926/3036] docs: update javadocs for ReadChannel to be more clear about the behavior (#1050) --- .../java/com/google/cloud/ReadChannel.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java index 781326fa7a4a..effc33ee8e43 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/ReadChannel.java @@ -37,6 +37,7 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< @Override void close(); + /** Set the offset to read from. */ void seek(long position) throws IOException; /** @@ -62,6 +63,23 @@ public interface ReadChannel extends ReadableByteChannel, Closeable, Restorable< *

    If used in conjunction with {@link #seek(long)} the total number of returned bytes from this * channel will be reduced by the number of bytes specified to seek. * + *

    The value provided as {@code limit} will define a left-closed, + * right-open interval along with either {@code 0} or any value provided to {@link + * #seek(long)}, i.e. {@code [}{@link #seek(long)}{@code , }{@link #limit(long)}{@code )}. + * + *

    An example to help illustrate the relationship

    + * + * Imagine some data {@code [A, B, C, D, E, F, G, H, I, J]}, 10 bytes total. + * + *
      + *
    1. {@code limit(5)} would produce {@code [A, B, C, D, E]} + *
    2. {@code seek(8)} would produce {@code [I, J]} + *
    3. {@code seek(2)} {@code limit(5)} would produce {@code [C, D, E]} + *
    4. {@code seek(3)} {@code limit(3)} would produce {@code []} + *
    + * *

    NOTE:Implementers are not required to return a new instance from this method, however * they are allowed to. Users of this method should always use the instance returned from this * method. From 9c8d4270c6600bd6b0d018f01b6208b5f34b0b42 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:30:13 +0100 Subject: [PATCH 2927/3036] deps: update dependency org.threeten:threetenbp to v1.6.5 (#946) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.4` -> `1.6.5` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/compatibility-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/confidence-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes

    ThreeTen/threetenbp ### [`v1.6.5`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.5) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.4...v1.6.5) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 88457ea1d4dc..bb44bcbdb6e6 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -57,7 +57,7 @@ UTF-8 ${project.artifactId} - 1.6.4 + 1.6.5 1.3.2 1.22 0.31.1 From b42457951c54b9e882ab143dde29acdf4e246e6c Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:30:19 +0100 Subject: [PATCH 2928/3036] deps: update dependency com.google.protobuf:protobuf-java to v3.21.12 (#564) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.9` -> `3.21.12` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.12/compatibility-slim/3.21.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.12/confidence-slim/3.21.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.12`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12) ### [`v3.21.11`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11) ### [`v3.21.10`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.9...v3.21.10)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index ef52ed8796f4..b4d8f360fcc7 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.9' + compile 'com.google.protobuf:protobuf-java:3.21.12' compile 'com.google.api:api-common:2.2.2' compile project(':proto-google-common-protos') } From 223bdff6f664730593637d8b21e539d2f2ffc60d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:30:23 +0100 Subject: [PATCH 2929/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.12 (#563) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.9` -> `3.21.12` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/compatibility-slim/3.21.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/confidence-slim/3.21.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.12`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12) ### [`v3.21.11`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11) ### [`v3.21.10`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.9...v3.21.10) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.9...v3.21.10)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6fe8be8f296d..9f39bf0e72fe 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -70,7 +70,7 @@ com.google.protobuf protobuf-bom - 3.21.9 + 3.21.12 pom import From 4a6a0a9fa34855d1370acfdf07ded6ddb13d92bf Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:30:28 +0000 Subject: [PATCH 2930/3036] build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /synthtool/gcp/templates/java_library/.kokoro (#1732) (#1057) build(deps): bump certifi Bumps [certifi](https://togithub.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://togithub.com/certifi/python-certifi/releases) - [Commits](https://togithub.com/certifi/python-certifi/compare/2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jeff Ching Source-Link: https://togithub.com/googleapis/synthtool/commit/ae0d43e5f17972981fe501ecf5a5d20055128bea Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.in | 2 +- java-core/.kokoro/requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 4ca0036da327..288e394897e6 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd + digest: sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in index 924f94ae6fa1..a5010f77d413 100644 --- a/java-core/.kokoro/requirements.in +++ b/java-core/.kokoro/requirements.in @@ -17,7 +17,7 @@ pycparser==2.21 pyperclip==1.8.2 python-dateutil==2.8.2 requests==2.27.1 -certifi==2022.9.24 +certifi==2022.12.7 importlib-metadata==4.8.3 zipp==3.6.0 google_api_core==2.8.2 diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 71fcafc70316..15c404aa5a8c 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -16,9 +16,9 @@ cachetools==4.2.4 \ # via # -r requirements.in # google-auth -certifi==2022.9.24 \ - --hash=sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14 \ - --hash=sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382 +certifi==2022.12.7 \ + --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ + --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 # via # -r requirements.in # requests From b0143ff6ef412f11b573d4a2b7ec8392e97fbd2f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:30:33 +0000 Subject: [PATCH 2931/3036] chore: Enable requesting numeric enums in "transport=rest" responses for services supporting this (Java, Go, Python, PHP, TypeScript, C#, and Ruby), even if they do not yet turn on REST transport (#566) - [ ] Regenerate this pull request now. chore: disallow "transport=rest" for services where numeric enums are not confirmed to be supported (except in PHP and Java) PiperOrigin-RevId: 493113566 Source-Link: https://togithub.com/googleapis/googleapis/commit/758f0d1217d9c7fe398aa5efb1057ce4b6409e55 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/78bd8f05e1276363eb14eae70e91fe4bc20703ab Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzhiZDhmMDVlMTI3NjM2M2ViMTRlYWU3MGU5MWZlNGJjMjA3MDNhYiJ9 --- .../com/google/iam/v2/stub/HttpJsonPoliciesStub.java | 9 +++++++-- .../com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java index fce3838dd1e3..a0fbb9339af8 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/HttpJsonPoliciesStub.java @@ -90,6 +90,7 @@ public class HttpJsonPoliciesStub extends PoliciesStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -122,6 +123,7 @@ public class HttpJsonPoliciesStub extends PoliciesStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -156,12 +158,13 @@ public class HttpJsonPoliciesStub extends PoliciesStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "policyId", request.getPolicyId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("policy", request.getPolicy(), false)) + .toBody("policy", request.getPolicy(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -196,12 +199,13 @@ public class HttpJsonPoliciesStub extends PoliciesStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("policy", request.getPolicy(), false)) + .toBody("policy", request.getPolicy(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -236,6 +240,7 @@ public class HttpJsonPoliciesStub extends PoliciesStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java index cd12ad2905d9..ece66dcf8634 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/HttpJsonPoliciesStub.java @@ -90,6 +90,7 @@ public class HttpJsonPoliciesStub extends PoliciesStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -122,6 +123,7 @@ public class HttpJsonPoliciesStub extends PoliciesStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -156,12 +158,13 @@ public class HttpJsonPoliciesStub extends PoliciesStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "policyId", request.getPolicyId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("policy", request.getPolicy(), false)) + .toBody("policy", request.getPolicy(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -196,12 +199,13 @@ public class HttpJsonPoliciesStub extends PoliciesStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("policy", request.getPolicy(), false)) + .toBody("policy", request.getPolicy(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -236,6 +240,7 @@ public class HttpJsonPoliciesStub extends PoliciesStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "etag", request.getEtag()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) From 1e7a97f97a628fb3133fbf52a9b221a9bfc5169e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:30:37 +0000 Subject: [PATCH 2932/3036] build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /synthtool/gcp/templates/java_library/.kokoro (#1732) (#951) build(deps): bump certifi Bumps [certifi](https://togithub.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://togithub.com/certifi/python-certifi/releases) - [Commits](https://togithub.com/certifi/python-certifi/compare/2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jeff Ching Source-Link: https://togithub.com/googleapis/synthtool/commit/ae0d43e5f17972981fe501ecf5a5d20055128bea Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c --- java-shared-dependencies/.github/.OwlBot.lock.yaml | 2 +- java-shared-dependencies/.kokoro/requirements.in | 2 +- java-shared-dependencies/.kokoro/requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 4ca0036da327..288e394897e6 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd + digest: sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in index 924f94ae6fa1..a5010f77d413 100644 --- a/java-shared-dependencies/.kokoro/requirements.in +++ b/java-shared-dependencies/.kokoro/requirements.in @@ -17,7 +17,7 @@ pycparser==2.21 pyperclip==1.8.2 python-dateutil==2.8.2 requests==2.27.1 -certifi==2022.9.24 +certifi==2022.12.7 importlib-metadata==4.8.3 zipp==3.6.0 google_api_core==2.8.2 diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 71fcafc70316..15c404aa5a8c 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -16,9 +16,9 @@ cachetools==4.2.4 \ # via # -r requirements.in # google-auth -certifi==2022.9.24 \ - --hash=sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14 \ - --hash=sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382 +certifi==2022.12.7 \ + --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ + --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 # via # -r requirements.in # requests From 0225508aea856460beb054c1e4ba887518e52cbd Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:32:12 +0100 Subject: [PATCH 2933/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.14.0 (#950) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.13.0` -> `1.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/compatibility-slim/1.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/confidence-slim/1.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.14.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1140-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1130v1140-2022-12-06) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.13.0...v1.14.0) ##### Features - Add GDCH support ([#​1087](https://togithub.com/googleapis/google-auth-library-java/issues/1087)) ([cfafb2d](https://togithub.com/googleapis/google-auth-library-java/commit/cfafb2d4c8d6ab3179e709ff09fc09e6dbc11a70)) - Adding functional tests for Compute Engine ([#​1105](https://togithub.com/googleapis/google-auth-library-java/issues/1105)) ([6f32ac3](https://togithub.com/googleapis/google-auth-library-java/commit/6f32ac3d4db91ff05fd7134ad6c788a16ffe44f4)) - Introduce Environment Variable for Quota Project Id ([#​1082](https://togithub.com/googleapis/google-auth-library-java/issues/1082)) ([040acef](https://togithub.com/googleapis/google-auth-library-java/commit/040acefec507f419f6e4ec4eab9645a6e3888a15)) - Next release from main branch is 1.13.0 ([#​1077](https://togithub.com/googleapis/google-auth-library-java/issues/1077)) ([d56eee0](https://togithub.com/googleapis/google-auth-library-java/commit/d56eee07911ba65a685ccba585e71061037ea756)) ##### Bug Fixes - AwsCredentials should not call metadata server if security creds and region are retrievable through environment vars ([#​1100](https://togithub.com/googleapis/google-auth-library-java/issues/1100)) ([1ff5772](https://togithub.com/googleapis/google-auth-library-java/commit/1ff57720609fdf27f28b9c543c1ef63b57892593)) - Not loosing the access token when calling UserCredentials#ToBuil… ([#​993](https://togithub.com/googleapis/google-auth-library-java/issues/993)) ([84afdb8](https://togithub.com/googleapis/google-auth-library-java/commit/84afdb8f8d41e781dc93f04626411e10b35689de))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 6551c6feaa94..7d5b35b62601 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -64,7 +64,7 @@ 2.2.2 2.11.0 2.9.0 - 1.13.0 + 1.14.0 1.42.3 1.34.1 2.1.1 From 7176a6332f49a473df43292ed79624bf471ca328 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:32:17 +0100 Subject: [PATCH 2934/3036] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.5.5 (#562) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.5.4` -> `1.5.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.5/compatibility-slim/1.5.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.5.5/confidence-slim/1.5.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-config ### [`v1.5.5`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​155-httpsgithubcomgoogleapisjava-shared-configcomparev154v155-2022-11-28) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.5.4...v1.5.5) ##### Dependencies - Updata java-docfx-doclet to v1.8.0 ([#​540](https://togithub.com/googleapis/java-shared-config/issues/540)) ([29e20eb](https://togithub.com/googleapis/java-shared-config/commit/29e20eb8809fc3dc985111bbaecd09c281222484)) - Update auto-value-annotation.version to v1.10.1 ([#​543](https://togithub.com/googleapis/java-shared-config/issues/543)) ([b83ac8b](https://togithub.com/googleapis/java-shared-config/commit/b83ac8b0d0b121f522d850983421d9a7a31a8627)) - Update dependency com.puppycrawl.tools:checkstyle to v10.4 ([#​535](https://togithub.com/googleapis/java-shared-config/issues/535)) ([eeeda5d](https://togithub.com/googleapis/java-shared-config/commit/eeeda5d41a4e2d3632afa95cede3174b44a135eb)) - Update dependency com.puppycrawl.tools:checkstyle to v10.5.0 ([#​545](https://togithub.com/googleapis/java-shared-config/issues/545)) ([30c48d1](https://togithub.com/googleapis/java-shared-config/commit/30c48d17a4d2b0e86cac2f58bf6b6df2865a0fbd)) - update dependency org.codehaus.mojo:flatten-maven-plugin to v1.3.0 ([ce1a04e](https://togithub.com/googleapis/java-shared-config/commit/ce1a04e5a319754963a6da6f9da0055e53449b3c)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 ([#​528](https://togithub.com/googleapis/java-shared-config/issues/528)) ([a6db032](https://togithub.com/googleapis/java-shared-config/commit/a6db032d261ec1534e9b54a055adde1c7b3ebdd6)) - Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.17 ([#​537](https://togithub.com/googleapis/java-shared-config/issues/537)) ([5d34fff](https://togithub.com/googleapis/java-shared-config/commit/5d34fff2d487f5b88614c076df1928ae8f7ef810)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 ([#​529](https://togithub.com/googleapis/java-shared-config/issues/529)) ([e802be9](https://togithub.com/googleapis/java-shared-config/commit/e802be90f2ff121e403fdc8cc590ec29e4b98729)) - Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.17 ([#​538](https://togithub.com/googleapis/java-shared-config/issues/538)) ([bf7fd02](https://togithub.com/googleapis/java-shared-config/commit/bf7fd02be0bb5934664d35d7e8e4effb4716f58e)) - Update graalvm native-image dependencies to v0.9.18 ([#​544](https://togithub.com/googleapis/java-shared-config/issues/544)) ([59a7b6d](https://togithub.com/googleapis/java-shared-config/commit/59a7b6d612aee531342410d0adc3ea161c26fea0))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 9f39bf0e72fe..6d7dc05791c4 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.4 + 1.5.5 From 11917d4aae097243884dd3a5e7725fd3c2bb51b8 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:32:22 +0100 Subject: [PATCH 2935/3036] deps: update dependency org.threeten:threetenbp to v1.6.5 (#1052) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.4` -> `1.6.5` | [![age](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/compatibility-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.threeten:threetenbp/1.6.5/confidence-slim/1.6.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    ThreeTen/threetenbp ### [`v1.6.5`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.5) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.4...v1.6.5) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 82f93927601b..1f29019d9f6f 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -167,7 +167,7 @@ 1.1.3 5.0.1 3.0.2 - 1.6.4 + 1.6.5 3.3 2.16 2.10 From 5e7cedaa3c34dd24c1f50a622848e5a9d5318b54 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:32:26 +0100 Subject: [PATCH 2936/3036] deps: update dependency io.grpc:grpc-stub to v1.51.1 (#574) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-stub](https://togithub.com/grpc/grpc-java) | `1.51.0` -> `1.51.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.51.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.51.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.51.1/compatibility-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-stub/1.51.1/confidence-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.51.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.51.1) ##### Bug Fixes - xds: Fix ConcurrentModificationException in PriorityLoadBalancer. ([#​9744](https://togithub.com/grpc/grpc-java/issues/9744))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index e4248671f3da..12fc50ab694a 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -18,7 +18,7 @@ repositories { } dependencies { - compile 'io.grpc:grpc-stub:1.51.0' + compile 'io.grpc:grpc-stub:1.51.1' compile 'io.grpc:grpc-protobuf:1.51.0' compile project(':proto-google-iam-v1') } From 6c0ea000d53bfc3193f760e5eb4e3f4e4065fbd9 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:34:13 +0100 Subject: [PATCH 2937/3036] chore(deps): update dependency com.google.cloud:libraries-bom to v26.2.0 (#575) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.5` -> `26.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.2.0/compatibility-slim/26.1.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.2.0/confidence-slim/26.1.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index c43f594031a3..72ee86850a78 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -73,7 +73,7 @@ com.google.cloud import pom - 26.1.5 + 26.2.0
    From 6c308501284077728a16f93b325ab64ec4ac8eba Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:34:18 +0100 Subject: [PATCH 2938/3036] deps: update dependency com.google.api:api-common to v2.3.1 (#1053) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.2` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/compatibility-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/confidence-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.3.1`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​231-httpsgithubcomgoogleapisapi-common-javacomparev230v231-2022-12-06) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.2.2...v2.3.1) ##### Bug Fixes - Build with JDK11 and target JDK8 ([1862611](https://togithub.com/googleapis/api-common-java/commit/1862611d8b5cff69288380fe567e6ce033148c55))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1f29019d9f6f..0c7d55ef5309 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.20.1 - 2.2.2 + 2.3.1 2.11.0 1.6.22 1.13.0 From 51da3028dcd00760f6b4b4a916243af7006e747d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:34:23 +0100 Subject: [PATCH 2939/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.12 (#1054) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.10` -> `3.21.12` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/compatibility-slim/3.21.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/confidence-slim/3.21.10)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.12`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12) ### [`v3.21.11`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0c7d55ef5309..fa45da858fbb 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -159,7 +159,7 @@ 2.1.1 1.42.3 1.51.0 - 3.21.10 + 3.21.12 0.31.1 1.3.2 31.1-jre From 8a3212eba5ce46ef36fb66508b2e061ebc98af81 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:34:27 +0000 Subject: [PATCH 2940/3036] chore: upgrade native image checks to graalvm-22.3.0 (#1718) (#561) chore: upgrade native image checks to graalvm-22.3.0 Source-Link: https://togithub.com/googleapis/synthtool/commit/5e52896b69b145a3fac6827e4e75e617abdc9dd8 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/presubmit/graalvm-native-17.cfg | 2 +- java-iam/.kokoro/presubmit/graalvm-native.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index c1e4d2da2a82..4ca0036da327 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a57d2ea6d1a77aa96c17ad0850b779ec6295f88b6c1da3d214b2095d140a2066 + digest: sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd diff --git a/java-iam/.kokoro/presubmit/graalvm-native-17.cfg b/java-iam/.kokoro/presubmit/graalvm-native-17.cfg index a3f7fb9d4943..e20330c3ca60 100644 --- a/java-iam/.kokoro/presubmit/graalvm-native-17.cfg +++ b/java-iam/.kokoro/presubmit/graalvm-native-17.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0" } env_vars: { diff --git a/java-iam/.kokoro/presubmit/graalvm-native.cfg b/java-iam/.kokoro/presubmit/graalvm-native.cfg index 4c7225ec924e..0fd6ba2fa0ce 100644 --- a/java-iam/.kokoro/presubmit/graalvm-native.cfg +++ b/java-iam/.kokoro/presubmit/graalvm-native.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0" } env_vars: { From b8453e541a860bcdd4e17a38d87bf371c4dbb542 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:34:31 +0100 Subject: [PATCH 2941/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.22 (#560) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.21` -> `1.6.22` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.22/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.22/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.22/compatibility-slim/1.6.21)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.22/confidence-slim/1.6.21)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.22`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1622-httpsgithubcomgoogleapisjava-iamcomparev1621v1622-2022-11-28) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.21...v1.6.22) ##### Dependencies - Update dependency com.google.cloud:google-iam-policy to v1.6.21 ([#​557](https://togithub.com/googleapis/java-iam/issues/557)) ([592aead](https://togithub.com/googleapis/java-iam/commit/592aeadfd6db756f51d0cbd77a95ca08d26b72e6))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 72ee86850a78..4bf80cce3d6c 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.21 + 1.6.22 compile From 7d96eb59baae67e2611d3005701aa5fdd6c639f7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:36:18 +0100 Subject: [PATCH 2942/3036] deps: update dependency com.google.protobuf:protobuf-bom to v3.21.12 (#948) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.10` -> `3.21.12` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/compatibility-slim/3.21.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-bom/3.21.12/confidence-slim/3.21.10)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    protocolbuffers/protobuf ### [`v3.21.12`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12) ### [`v3.21.11`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11)
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 7d5b35b62601..69dcd7703a79 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -60,7 +60,7 @@ 1.3.2 2.10 31.1-jre - 3.21.10 + 3.21.12 2.2.2 2.11.0 2.9.0 From 3de20a29cade124615b371b6fed8d780c7cae947 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:36:33 +0100 Subject: [PATCH 2943/3036] deps: update dependency com.google.auth:google-auth-library-bom to v1.14.0 (#1056) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-bom](https://togithub.com/googleapis/google-auth-library-java) | `1.13.0` -> `1.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/compatibility-slim/1.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-bom/1.14.0/confidence-slim/1.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.14.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1140-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1130v1140-2022-12-06) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.13.0...v1.14.0) ##### Features - Add GDCH support ([#​1087](https://togithub.com/googleapis/google-auth-library-java/issues/1087)) ([cfafb2d](https://togithub.com/googleapis/google-auth-library-java/commit/cfafb2d4c8d6ab3179e709ff09fc09e6dbc11a70)) - Adding functional tests for Compute Engine ([#​1105](https://togithub.com/googleapis/google-auth-library-java/issues/1105)) ([6f32ac3](https://togithub.com/googleapis/google-auth-library-java/commit/6f32ac3d4db91ff05fd7134ad6c788a16ffe44f4)) - Introduce Environment Variable for Quota Project Id ([#​1082](https://togithub.com/googleapis/google-auth-library-java/issues/1082)) ([040acef](https://togithub.com/googleapis/google-auth-library-java/commit/040acefec507f419f6e4ec4eab9645a6e3888a15)) - Next release from main branch is 1.13.0 ([#​1077](https://togithub.com/googleapis/google-auth-library-java/issues/1077)) ([d56eee0](https://togithub.com/googleapis/google-auth-library-java/commit/d56eee07911ba65a685ccba585e71061037ea756)) ##### Bug Fixes - AwsCredentials should not call metadata server if security creds and region are retrievable through environment vars ([#​1100](https://togithub.com/googleapis/google-auth-library-java/issues/1100)) ([1ff5772](https://togithub.com/googleapis/google-auth-library-java/commit/1ff57720609fdf27f28b9c543c1ef63b57892593)) - Not loosing the access token when calling UserCredentials#ToBuil… ([#​993](https://togithub.com/googleapis/google-auth-library-java/issues/993)) ([84afdb8](https://togithub.com/googleapis/google-auth-library-java/commit/84afdb8f8d41e781dc93f04626411e10b35689de))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index fa45da858fbb..f89d8cee2fa0 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -155,7 +155,7 @@ 2.3.1 2.11.0 1.6.22 - 1.13.0 + 1.14.0 2.1.1 1.42.3 1.51.0 From 75ebf53bb99f4fc12f22eb71a35ab7ca06d032fe Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:38:20 +0100 Subject: [PATCH 2944/3036] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 (#565) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `3.0.6` -> `3.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.1.0/compatibility-slim/3.0.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/3.1.0/confidence-slim/3.0.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-shared-dependencies ### [`v3.1.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​310-httpsgithubcomgoogleapisjava-shared-dependenciescomparev306v310-2022-12-05) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v3.0.6...v3.1.0) ##### Features - Next release from main branch is 3.1.0 ([#​910](https://togithub.com/googleapis/java-shared-dependencies/issues/910)) ([3e36bc6](https://togithub.com/googleapis/java-shared-dependencies/commit/3e36bc6c5a6ffff771480200ecf5908cb347a50a)) ##### Dependencies - Update dependency com.fasterxml.jackson:jackson-bom to v2.14.1 ([#​924](https://togithub.com/googleapis/java-shared-dependencies/issues/924)) ([c630375](https://togithub.com/googleapis/java-shared-dependencies/commit/c630375d5059b4ac367979a2507c3870840c08e4)) - Update dependency com.google.api-client:google-api-client-bom to v2.1.0 ([#​934](https://togithub.com/googleapis/java-shared-dependencies/issues/934)) ([8af7b00](https://togithub.com/googleapis/java-shared-dependencies/commit/8af7b00cf0758df4015b1999d6f824ba1864be00)) - Update dependency com.google.api-client:google-api-client-bom to v2.1.1 ([#​941](https://togithub.com/googleapis/java-shared-dependencies/issues/941)) ([6a6e3e7](https://togithub.com/googleapis/java-shared-dependencies/commit/6a6e3e7d3232c7d74f92849a98e607a6d22b7b4e)) - Update dependency com.google.auth:google-auth-library-bom to v1.13.0 ([#​917](https://togithub.com/googleapis/java-shared-dependencies/issues/917)) ([1e2448c](https://togithub.com/googleapis/java-shared-dependencies/commit/1e2448c60cbe3e215b4f9f772d8e0c7cb1434bd0)) - Update dependency com.google.cloud:grpc-gcp to v1.3.2 ([#​942](https://togithub.com/googleapis/java-shared-dependencies/issues/942)) ([66c3e2a](https://togithub.com/googleapis/java-shared-dependencies/commit/66c3e2acda213fe9aea60b85f8543e3fdeaa2ecf)) - Update dependency com.google.cloud.tools:dependencies to v1.5.13 ([#​914](https://togithub.com/googleapis/java-shared-dependencies/issues/914)) ([9c0fa2c](https://togithub.com/googleapis/java-shared-dependencies/commit/9c0fa2c06ed04a3dddd9f0fd908865279393d373)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.10 ([#​936](https://togithub.com/googleapis/java-shared-dependencies/issues/936)) ([f8abca8](https://togithub.com/googleapis/java-shared-dependencies/commit/f8abca8e075c59461c88b8c79fd1c5cd5eacb509)) - Update dependency io.grpc:grpc-bom to v1.51.0 ([#​919](https://togithub.com/googleapis/java-shared-dependencies/issues/919)) ([713b331](https://togithub.com/googleapis/java-shared-dependencies/commit/713b331a39917725ed4bd95c80c083c23d2a192e)) - Update dependency io.perfmark:perfmark-api to v0.26.0 ([#​907](https://togithub.com/googleapis/java-shared-dependencies/issues/907)) ([950cca6](https://togithub.com/googleapis/java-shared-dependencies/commit/950cca6df2d7e7d24ab8dd7e32c7a264e89d721f)) - Update dependency org.apache.httpcomponents:httpclient to v4.5.14 ([#​943](https://togithub.com/googleapis/java-shared-dependencies/issues/943)) ([7590b65](https://togithub.com/googleapis/java-shared-dependencies/commit/7590b6538290d3f9892b2b302505d3ecfca69530)) - Update dependency org.apache.httpcomponents:httpcore to v4.4.16 ([#​933](https://togithub.com/googleapis/java-shared-dependencies/issues/933)) ([6a68eb9](https://togithub.com/googleapis/java-shared-dependencies/commit/6a68eb96179a13cf324b4a4026ff6877d447a334)) - Update dependency org.checkerframework:checker-qual to v3.28.0 ([#​940](https://togithub.com/googleapis/java-shared-dependencies/issues/940)) ([5ea57c3](https://togithub.com/googleapis/java-shared-dependencies/commit/5ea57c3f5490c3cf7048e71dfab63aba8d7b874f)) - Update gax.version to v2.20.1 ([#​937](https://togithub.com/googleapis/java-shared-dependencies/issues/937)) ([ca30914](https://togithub.com/googleapis/java-shared-dependencies/commit/ca30914b59516c634de24b1fa33c8a6c454a0cef)) - Update google.common-protos.version to v2.11.0 ([#​935](https://togithub.com/googleapis/java-shared-dependencies/issues/935)) ([e92f583](https://togithub.com/googleapis/java-shared-dependencies/commit/e92f58361c0062414c34b669161f9d6284b0903f)) - Update google.core.version to v2.8.28 ([#​909](https://togithub.com/googleapis/java-shared-dependencies/issues/909)) ([79a731e](https://togithub.com/googleapis/java-shared-dependencies/commit/79a731e057fa7b1ac5f4bc6ae15869726bc9c20a)) - Update google.core.version to v2.9.0 ([#​944](https://togithub.com/googleapis/java-shared-dependencies/issues/944)) ([a50513b](https://togithub.com/googleapis/java-shared-dependencies/commit/a50513bc8902d059a7b53dc852b02b7e2f9bc3e6)) - Update iam.version to v1.6.10 ([#​915](https://togithub.com/googleapis/java-shared-dependencies/issues/915)) ([2c06312](https://togithub.com/googleapis/java-shared-dependencies/commit/2c06312732a56fd94f0ce8447062b42b3da15c92)) - Update iam.version to v1.6.11 ([#​916](https://togithub.com/googleapis/java-shared-dependencies/issues/916)) ([10b152d](https://togithub.com/googleapis/java-shared-dependencies/commit/10b152ded8ceded5ae3c60774ea8e75c7b69d9d8)) - Update iam.version to v1.6.12 ([#​918](https://togithub.com/googleapis/java-shared-dependencies/issues/918)) ([db57153](https://togithub.com/googleapis/java-shared-dependencies/commit/db57153752380dacb773530aef8079ff68772fc9)) - Update iam.version to v1.6.13 ([#​920](https://togithub.com/googleapis/java-shared-dependencies/issues/920)) ([763197e](https://togithub.com/googleapis/java-shared-dependencies/commit/763197e94a34620a2e234885fcdbdcb5fba144c2)) - Update iam.version to v1.6.14 ([#​921](https://togithub.com/googleapis/java-shared-dependencies/issues/921)) ([036cf6f](https://togithub.com/googleapis/java-shared-dependencies/commit/036cf6f0df788e9bffd5e21bfd8e560a797ed37d)) - Update iam.version to v1.6.15 ([#​922](https://togithub.com/googleapis/java-shared-dependencies/issues/922)) ([98b11a7](https://togithub.com/googleapis/java-shared-dependencies/commit/98b11a72f3818e4505d468c47b7c8105a3b55847)) - Update iam.version to v1.6.16 ([#​923](https://togithub.com/googleapis/java-shared-dependencies/issues/923)) ([b44d6ba](https://togithub.com/googleapis/java-shared-dependencies/commit/b44d6babd71d89ed27a0d7cac229d04111bb39e7)) - Update iam.version to v1.6.17 ([#​925](https://togithub.com/googleapis/java-shared-dependencies/issues/925)) ([f24a7f8](https://togithub.com/googleapis/java-shared-dependencies/commit/f24a7f8577ca90153d86b9ed3eab5954c1fc5500)) - Update iam.version to v1.6.18 ([#​926](https://togithub.com/googleapis/java-shared-dependencies/issues/926)) ([c77314d](https://togithub.com/googleapis/java-shared-dependencies/commit/c77314d5bdfbe960e6f71fb8dc044a60d1973038)) - Update iam.version to v1.6.19 ([#​927](https://togithub.com/googleapis/java-shared-dependencies/issues/927)) ([2990cf0](https://togithub.com/googleapis/java-shared-dependencies/commit/2990cf020e526ddba54c2a0542ef8e01f4f517f5)) - Update iam.version to v1.6.20 ([#​928](https://togithub.com/googleapis/java-shared-dependencies/issues/928)) ([7dbd204](https://togithub.com/googleapis/java-shared-dependencies/commit/7dbd204cdc0df7107c656e28766afeb14f6793c4)) - Update iam.version to v1.6.21 ([#​929](https://togithub.com/googleapis/java-shared-dependencies/issues/929)) ([cec2265](https://togithub.com/googleapis/java-shared-dependencies/commit/cec2265e43eaac7cc1be3c9bb42c0d93872f4075)) - Update iam.version to v1.6.22 ([#​931](https://togithub.com/googleapis/java-shared-dependencies/issues/931)) ([812ccf4](https://togithub.com/googleapis/java-shared-dependencies/commit/812ccf46fb0ada475dea2f6eb53839be8940dbde)) - Update iam.version to v1.6.8 ([#​906](https://togithub.com/googleapis/java-shared-dependencies/issues/906)) ([68ebe06](https://togithub.com/googleapis/java-shared-dependencies/commit/68ebe06101ec5b24fddb48012e3487c37827ba6a)) - Update iam.version to v1.6.9 ([#​912](https://togithub.com/googleapis/java-shared-dependencies/issues/912)) ([6a3097b](https://togithub.com/googleapis/java-shared-dependencies/commit/6a3097b559319f643f63727bd6d4ce5d30091317))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 6d7dc05791c4..189df3de9c82 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -80,7 +80,7 @@ dependencies --> com.google.cloud google-cloud-shared-dependencies - 3.0.6 + 3.1.0 pom import
    From 4e3aa7113ef7bbabc69cc099ab44177540249c89 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:40:13 +0100 Subject: [PATCH 2945/3036] deps: update dependency io.grpc:grpc-protobuf to v1.51.1 (#573) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-protobuf](https://togithub.com/grpc/grpc-java) | `1.51.0` -> `1.51.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.51.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.51.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.51.1/compatibility-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-protobuf/1.51.1/confidence-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.51.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.51.1) ##### Bug Fixes - xds: Fix ConcurrentModificationException in PriorityLoadBalancer. ([#​9744](https://togithub.com/grpc/grpc-java/issues/9744))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/grpc-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle index 12fc50ab694a..a346388de60e 100644 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ b/java-iam/grpc-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'io.grpc:grpc-stub:1.51.1' - compile 'io.grpc:grpc-protobuf:1.51.0' + compile 'io.grpc:grpc-protobuf:1.51.1' compile project(':proto-google-iam-v1') } From f0645e72044f682a2705f1feb764ea9d23890487 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:40:19 +0100 Subject: [PATCH 2946/3036] deps: update dependency com.google.auth:google-auth-library-oauth2-http to v1.14.0 (#571) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.auth:google-auth-library-oauth2-http](https://togithub.com/googleapis/google-auth-library-java) | `1.13.0` -> `1.14.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.14.0/compatibility-slim/1.13.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.auth:google-auth-library-oauth2-http/1.14.0/confidence-slim/1.13.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/google-auth-library-java ### [`v1.14.0`](https://togithub.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#​1140-httpsgithubcomgoogleapisgoogle-auth-library-javacomparev1130v1140-2022-12-06) [Compare Source](https://togithub.com/googleapis/google-auth-library-java/compare/v1.13.0...v1.14.0) ##### Features - Add GDCH support ([#​1087](https://togithub.com/googleapis/google-auth-library-java/issues/1087)) ([cfafb2d](https://togithub.com/googleapis/google-auth-library-java/commit/cfafb2d4c8d6ab3179e709ff09fc09e6dbc11a70)) - Adding functional tests for Compute Engine ([#​1105](https://togithub.com/googleapis/google-auth-library-java/issues/1105)) ([6f32ac3](https://togithub.com/googleapis/google-auth-library-java/commit/6f32ac3d4db91ff05fd7134ad6c788a16ffe44f4)) - Introduce Environment Variable for Quota Project Id ([#​1082](https://togithub.com/googleapis/google-auth-library-java/issues/1082)) ([040acef](https://togithub.com/googleapis/google-auth-library-java/commit/040acefec507f419f6e4ec4eab9645a6e3888a15)) - Next release from main branch is 1.13.0 ([#​1077](https://togithub.com/googleapis/google-auth-library-java/issues/1077)) ([d56eee0](https://togithub.com/googleapis/google-auth-library-java/commit/d56eee07911ba65a685ccba585e71061037ea756)) ##### Bug Fixes - AwsCredentials should not call metadata server if security creds and region are retrievable through environment vars ([#​1100](https://togithub.com/googleapis/google-auth-library-java/issues/1100)) ([1ff5772](https://togithub.com/googleapis/google-auth-library-java/commit/1ff57720609fdf27f28b9c543c1ef63b57892593)) - Not loosing the access token when calling UserCredentials#ToBuil… ([#​993](https://togithub.com/googleapis/google-auth-library-java/issues/993)) ([84afdb8](https://togithub.com/googleapis/google-auth-library-java/commit/84afdb8f8d41e781dc93f04626411e10b35689de))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 4bf80cce3d6c..6006735b60df 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.auth google-auth-library-oauth2-http - 1.13.0 + 1.14.0 com.google.http-client From f96f89193fda5f81f4681cdc38a4186ec4b9e35a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:40:30 +0100 Subject: [PATCH 2947/3036] deps: update dependency com.google.api:api-common to v2.3.1 (#567) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.2` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/compatibility-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/confidence-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.3.1`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​231-httpsgithubcomgoogleapisapi-common-javacomparev230v231-2022-12-06) ##### Bug Fixes - Build with JDK11 and target JDK8 ([1862611](https://togithub.com/googleapis/api-common-java/commit/1862611d8b5cff69288380fe567e6ce033148c55))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/proto-google-iam-v1/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle index b4d8f360fcc7..e0640cd5d192 100644 --- a/java-iam/proto-google-iam-v1/build.gradle +++ b/java-iam/proto-google-iam-v1/build.gradle @@ -19,7 +19,7 @@ repositories { dependencies { compile 'com.google.protobuf:protobuf-java:3.21.12' - compile 'com.google.api:api-common:2.2.2' + compile 'com.google.api:api-common:2.3.1' compile project(':proto-google-common-protos') } From 6a3444056c56a5120d56faf58a2b02ac28a8a374 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:40:31 +0100 Subject: [PATCH 2948/3036] deps: update dependency com.google.api:api-common to v2.3.1 (#947) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | `2.2.2` -> `2.3.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/compatibility-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.3.1/confidence-slim/2.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/api-common-java ### [`v2.3.1`](https://togithub.com/googleapis/api-common-java/blob/HEAD/CHANGELOG.md#​231-httpsgithubcomgoogleapisapi-common-javacomparev230v231-2022-12-06) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v2.2.2...v2.3.1) ##### Bug Fixes - Build with JDK11 and target JDK8 ([1862611](https://togithub.com/googleapis/api-common-java/commit/1862611d8b5cff69288380fe567e6ce033148c55))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 69dcd7703a79..05f59ff68292 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 2.10 31.1-jre 3.21.12 - 2.2.2 + 2.3.1 2.11.0 2.9.0 1.14.0 From 11e0454b7fae1cd11db27b7a0b5fba414edfde2f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 20 Dec 2022 22:42:17 +0100 Subject: [PATCH 2949/3036] deps: update dependency io.grpc:grpc-bom to v1.51.1 (#1058) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.51.0` -> `1.51.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.51.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.51.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.51.1/compatibility-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.51.1/confidence-slim/1.51.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.51.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.51.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.51.0...v1.51.1) ##### Bug Fixes - xds: Fix ConcurrentModificationException in PriorityLoadBalancer. ([#​9744](https://togithub.com/grpc/grpc-java/issues/9744))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index f89d8cee2fa0..67f5d3478bfc 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.14.0 2.1.1 1.42.3 - 1.51.0 + 1.51.1 3.21.12 0.31.1 1.3.2 From 61412750a01f54d373e0aa3fcebcfaaca735c901 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:46:21 +0000 Subject: [PATCH 2950/3036] chore(main): release 1.6.23 (#576) :robot: I have created a release *beep* *boop* --- ## [1.6.23](https://togithub.com/googleapis/java-iam/compare/v1.6.22...v1.6.23) (2022-12-20) ### Dependencies * Update dependency com.google.api:api-common to v2.3.1 ([#567](https://togithub.com/googleapis/java-iam/issues/567)) ([f96f891](https://togithub.com/googleapis/java-iam/commit/f96f89193fda5f81f4681cdc38a4186ec4b9e35a)) * Update dependency com.google.auth:google-auth-library-oauth2-http to v1.14.0 ([#571](https://togithub.com/googleapis/java-iam/issues/571)) ([f0645e7](https://togithub.com/googleapis/java-iam/commit/f0645e72044f682a2705f1feb764ea9d23890487)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 ([#565](https://togithub.com/googleapis/java-iam/issues/565)) ([75ebf53](https://togithub.com/googleapis/java-iam/commit/75ebf53bb99f4fc12f22eb71a35ab7ca06d032fe)) * Update dependency com.google.cloud:google-iam-policy to v1.6.22 ([#560](https://togithub.com/googleapis/java-iam/issues/560)) ([b8453e5](https://togithub.com/googleapis/java-iam/commit/b8453e541a860bcdd4e17a38d87bf371c4dbb542)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#563](https://togithub.com/googleapis/java-iam/issues/563)) ([223bdff](https://togithub.com/googleapis/java-iam/commit/223bdff6f664730593637d8b21e539d2f2ffc60d)) * Update dependency com.google.protobuf:protobuf-java to v3.21.12 ([#564](https://togithub.com/googleapis/java-iam/issues/564)) ([b424579](https://togithub.com/googleapis/java-iam/commit/b42457951c54b9e882ab143dde29acdf4e246e6c)) * Update dependency io.grpc:grpc-protobuf to v1.51.1 ([#573](https://togithub.com/googleapis/java-iam/issues/573)) ([4e3aa71](https://togithub.com/googleapis/java-iam/commit/4e3aa7113ef7bbabc69cc099ab44177540249c89)) * Update dependency io.grpc:grpc-stub to v1.51.1 ([#574](https://togithub.com/googleapis/java-iam/issues/574)) ([5e7ceda](https://togithub.com/googleapis/java-iam/commit/5e7cedaa3c34dd24c1f50a622848e5a9d5318b54)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 14 ++++++++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 10 files changed, 43 insertions(+), 29 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index ed9846bd1a35..172a6034d5f6 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [1.6.23](https://github.com/googleapis/java-iam/compare/v1.6.22...v1.6.23) (2022-12-20) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.3.1 ([#567](https://github.com/googleapis/java-iam/issues/567)) ([17e62e8](https://github.com/googleapis/java-iam/commit/17e62e80f0ea8c2d4edfe6bb16ef5ee7acbc22f3)) +* Update dependency com.google.auth:google-auth-library-oauth2-http to v1.14.0 ([#571](https://github.com/googleapis/java-iam/issues/571)) ([9c48311](https://github.com/googleapis/java-iam/commit/9c48311fbac25f9c9545f3404a42cdadf8ebb243)) +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 ([#565](https://github.com/googleapis/java-iam/issues/565)) ([32be2fb](https://github.com/googleapis/java-iam/commit/32be2fb0cfafa3681489c18e367cf12f22c567d3)) +* Update dependency com.google.cloud:google-iam-policy to v1.6.22 ([#560](https://github.com/googleapis/java-iam/issues/560)) ([de39d89](https://github.com/googleapis/java-iam/commit/de39d89c08c9e45bc977ea393570a8d01cf48af2)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#563](https://github.com/googleapis/java-iam/issues/563)) ([607e260](https://github.com/googleapis/java-iam/commit/607e2601b71ff1fb51406e6c97dd79208296f404)) +* Update dependency com.google.protobuf:protobuf-java to v3.21.12 ([#564](https://github.com/googleapis/java-iam/issues/564)) ([4b2b26b](https://github.com/googleapis/java-iam/commit/4b2b26bd29d88ccb602a71225d6e2decb49b9649)) +* Update dependency io.grpc:grpc-protobuf to v1.51.1 ([#573](https://github.com/googleapis/java-iam/issues/573)) ([2143ec8](https://github.com/googleapis/java-iam/commit/2143ec8a90dbcdb128dffea9777fa9d183c3068e)) +* Update dependency io.grpc:grpc-stub to v1.51.1 ([#574](https://github.com/googleapis/java-iam/issues/574)) ([488496a](https://github.com/googleapis/java-iam/commit/488496aa09c9d976bf0c450fb8584f07e7c74c03)) + ## [1.6.22](https://github.com/googleapis/java-iam/compare/v1.6.21...v1.6.22) (2022-11-28) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 57c5d04e9df2..1a665d3a7092 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.23-SNAPSHOT + 1.6.23 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.23-SNAPSHOT + 1.6.23 google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index 4677803dd27b..e3775c6807fe 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.6.23-SNAPSHOT + 1.6.23 grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23-SNAPSHOT + 1.6.23 diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index dfcf90638b16..06adc3acc1c9 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.6.23-SNAPSHOT + 1.6.23 grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.23-SNAPSHOT + 1.6.23 diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index a00a6326e1f8..dd08d5cb12a8 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.6.23-SNAPSHOT + 1.6.23 grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23-SNAPSHOT + 1.6.23 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 189df3de9c82..e76d74cf59e5 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.23-SNAPSHOT + 1.6.23 Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.23-SNAPSHOT + 1.6.23 com.google.api.grpc grpc-google-iam-v2 - 1.6.23-SNAPSHOT + 1.6.23 com.google.cloud google-iam-policy - 1.6.23-SNAPSHOT + 1.6.23 com.google.api.grpc proto-google-iam-v2beta - 1.6.23-SNAPSHOT + 1.6.23 com.google.api.grpc grpc-google-iam-v1 - 1.6.23-SNAPSHOT + 1.6.23 com.google.api.grpc grpc-google-iam-v2beta - 1.6.23-SNAPSHOT + 1.6.23 com.google.api.grpc proto-google-iam-v1 - 1.6.23-SNAPSHOT + 1.6.23 diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index 1a472df606a3..ee62deb8b32a 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.6.23-SNAPSHOT + 1.6.23 proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23-SNAPSHOT + 1.6.23 diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 6518950d01dc..862fe6b29b10 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.6.23-SNAPSHOT + 1.6.23 proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23-SNAPSHOT + 1.6.23 diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index d45a3ed3928a..38ebddb5721f 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.6.23-SNAPSHOT + 1.6.23 proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23-SNAPSHOT + 1.6.23 diff --git a/java-iam/versions.txt b/java-iam/versions.txt index f9fc0f8159f2..62ec26125bc6 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.22:1.6.23-SNAPSHOT -grpc-google-iam-v1:1.6.22:1.6.23-SNAPSHOT -proto-google-iam-v2beta:1.6.22:1.6.23-SNAPSHOT -grpc-google-iam-v2beta:1.6.22:1.6.23-SNAPSHOT -google-iam-policy:1.6.22:1.6.23-SNAPSHOT -proto-google-iam-v2:1.6.22:1.6.23-SNAPSHOT -grpc-google-iam-v2:1.6.22:1.6.23-SNAPSHOT +proto-google-iam-v1:1.6.23:1.6.23 +grpc-google-iam-v1:1.6.23:1.6.23 +proto-google-iam-v2beta:1.6.23:1.6.23 +grpc-google-iam-v2beta:1.6.23:1.6.23 +google-iam-policy:1.6.23:1.6.23 +proto-google-iam-v2:1.6.23:1.6.23 +grpc-google-iam-v2:1.6.23:1.6.23 From 2b3dd3a44e870f42900b75bbbff7913b096c4800 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:52:21 +0000 Subject: [PATCH 2951/3036] chore(main): release 1.6.24-SNAPSHOT (#577) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/grpc-google-iam-v1/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2/pom.xml | 4 ++-- java-iam/grpc-google-iam-v2beta/pom.xml | 4 ++-- java-iam/pom.xml | 16 ++++++++-------- java-iam/proto-google-iam-v1/pom.xml | 4 ++-- java-iam/proto-google-iam-v2/pom.xml | 4 ++-- java-iam/proto-google-iam-v2beta/pom.xml | 4 ++-- java-iam/versions.txt | 14 +++++++------- 9 files changed, 29 insertions(+), 29 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 1a665d3a7092..b77389707c05 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.23 + 1.6.24-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-parent - 1.6.23 + 1.6.24-SNAPSHOT google-iam-policy diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml index e3775c6807fe..61d120e0ff19 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.6.23 + 1.6.24-SNAPSHOT grpc-google-iam-v1 GRPC library for grpc-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23 + 1.6.24-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml index 06adc3acc1c9..4165b97379d0 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.6.23 + 1.6.24-SNAPSHOT grpc-google-iam-v2 GRPC library for proto-google-iam-v2 com.google.cloud google-iam-parent - 1.6.23 + 1.6.24-SNAPSHOT diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml index dd08d5cb12a8..588d748d446b 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.6.23 + 1.6.24-SNAPSHOT grpc-google-iam-v2beta GRPC library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23 + 1.6.24-SNAPSHOT diff --git a/java-iam/pom.xml b/java-iam/pom.xml index e76d74cf59e5..5736ae2e8c27 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-parent pom - 1.6.23 + 1.6.24-SNAPSHOT Google IAM Parent https://github.com/googleapis/java-iam @@ -87,37 +87,37 @@ com.google.api.grpc proto-google-iam-v2 - 1.6.23 + 1.6.24-SNAPSHOT com.google.api.grpc grpc-google-iam-v2 - 1.6.23 + 1.6.24-SNAPSHOT com.google.cloud google-iam-policy - 1.6.23 + 1.6.24-SNAPSHOT com.google.api.grpc proto-google-iam-v2beta - 1.6.23 + 1.6.24-SNAPSHOT com.google.api.grpc grpc-google-iam-v1 - 1.6.23 + 1.6.24-SNAPSHOT com.google.api.grpc grpc-google-iam-v2beta - 1.6.23 + 1.6.24-SNAPSHOT com.google.api.grpc proto-google-iam-v1 - 1.6.23 + 1.6.24-SNAPSHOT diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml index ee62deb8b32a..cb149091e627 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.6.23 + 1.6.24-SNAPSHOT proto-google-iam-v1 PROTO library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23 + 1.6.24-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml index 862fe6b29b10..22844caac9dd 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.6.23 + 1.6.24-SNAPSHOT proto-google-iam-v2 Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23 + 1.6.24-SNAPSHOT diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml index 38ebddb5721f..6b130444e7e9 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.6.23 + 1.6.24-SNAPSHOT proto-google-iam-v2beta Proto library for proto-google-iam-v1 com.google.cloud google-iam-parent - 1.6.23 + 1.6.24-SNAPSHOT diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 62ec26125bc6..304f9158d2f2 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.23:1.6.23 -grpc-google-iam-v1:1.6.23:1.6.23 -proto-google-iam-v2beta:1.6.23:1.6.23 -grpc-google-iam-v2beta:1.6.23:1.6.23 -google-iam-policy:1.6.23:1.6.23 -proto-google-iam-v2:1.6.23:1.6.23 -grpc-google-iam-v2:1.6.23:1.6.23 +proto-google-iam-v1:1.6.23:1.6.24-SNAPSHOT +grpc-google-iam-v1:1.6.23:1.6.24-SNAPSHOT +proto-google-iam-v2beta:1.6.23:1.6.24-SNAPSHOT +grpc-google-iam-v2beta:1.6.23:1.6.24-SNAPSHOT +google-iam-policy:1.6.23:1.6.24-SNAPSHOT +proto-google-iam-v2:1.6.23:1.6.24-SNAPSHOT +grpc-google-iam-v2:1.6.23:1.6.24-SNAPSHOT From b68ef1dba886c013da034920bcf709aca9e72c63 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 20 Dec 2022 22:26:18 +0000 Subject: [PATCH 2952/3036] build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /synthtool/gcp/templates/java_library/.kokoro (#1732) (#572) build(deps): bump certifi Bumps [certifi](https://togithub.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://togithub.com/certifi/python-certifi/releases) - [Commits](https://togithub.com/certifi/python-certifi/compare/2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jeff Ching Source-Link: https://togithub.com/googleapis/synthtool/commit/ae0d43e5f17972981fe501ecf5a5d20055128bea Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c --- java-iam/.github/.OwlBot.lock.yaml | 2 +- java-iam/.kokoro/requirements.in | 2 +- java-iam/.kokoro/requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml index 4ca0036da327..288e394897e6 100644 --- a/java-iam/.github/.OwlBot.lock.yaml +++ b/java-iam/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:27b1b1884dce60460d7521b23c2a73376cba90c0ef3d9f0d32e4bdb786959cfd + digest: sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c diff --git a/java-iam/.kokoro/requirements.in b/java-iam/.kokoro/requirements.in index 924f94ae6fa1..a5010f77d413 100644 --- a/java-iam/.kokoro/requirements.in +++ b/java-iam/.kokoro/requirements.in @@ -17,7 +17,7 @@ pycparser==2.21 pyperclip==1.8.2 python-dateutil==2.8.2 requests==2.27.1 -certifi==2022.9.24 +certifi==2022.12.7 importlib-metadata==4.8.3 zipp==3.6.0 google_api_core==2.8.2 diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt index 71fcafc70316..15c404aa5a8c 100644 --- a/java-iam/.kokoro/requirements.txt +++ b/java-iam/.kokoro/requirements.txt @@ -16,9 +16,9 @@ cachetools==4.2.4 \ # via # -r requirements.in # google-auth -certifi==2022.9.24 \ - --hash=sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14 \ - --hash=sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382 +certifi==2022.12.7 \ + --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ + --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 # via # -r requirements.in # requests From 35a98fe16777bb740461add0d0572ceb1023adca Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 21 Dec 2022 00:07:09 +0100 Subject: [PATCH 2953/3036] deps: update dependency io.grpc:grpc-bom to v1.51.1 (#953) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 05f59ff68292..039ffa4c3c0f 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 1.51.0 + 1.51.1 2.20.1 1.3.2 2.10 From 216aaa7e8a03a0e7f1c29bd709d2f800264fdea2 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 21 Dec 2022 17:58:19 +0100 Subject: [PATCH 2954/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.23 (#1060) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.22` -> `1.6.23` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.23`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1623-httpsgithubcomgoogleapisjava-iamcomparev1622v1623-2022-12-20) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.22...v1.6.23) ##### Dependencies - Update dependency com.google.api:api-common to v2.3.1 ([#​567](https://togithub.com/googleapis/java-iam/issues/567)) ([17e62e8](https://togithub.com/googleapis/java-iam/commit/17e62e80f0ea8c2d4edfe6bb16ef5ee7acbc22f3)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.14.0 ([#​571](https://togithub.com/googleapis/java-iam/issues/571)) ([9c48311](https://togithub.com/googleapis/java-iam/commit/9c48311fbac25f9c9545f3404a42cdadf8ebb243)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 ([#​565](https://togithub.com/googleapis/java-iam/issues/565)) ([32be2fb](https://togithub.com/googleapis/java-iam/commit/32be2fb0cfafa3681489c18e367cf12f22c567d3)) - Update dependency com.google.cloud:google-iam-policy to v1.6.22 ([#​560](https://togithub.com/googleapis/java-iam/issues/560)) ([de39d89](https://togithub.com/googleapis/java-iam/commit/de39d89c08c9e45bc977ea393570a8d01cf48af2)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#​563](https://togithub.com/googleapis/java-iam/issues/563)) ([607e260](https://togithub.com/googleapis/java-iam/commit/607e2601b71ff1fb51406e6c97dd79208296f404)) - Update dependency com.google.protobuf:protobuf-java to v3.21.12 ([#​564](https://togithub.com/googleapis/java-iam/issues/564)) ([4b2b26b](https://togithub.com/googleapis/java-iam/commit/4b2b26bd29d88ccb602a71225d6e2decb49b9649)) - Update dependency io.grpc:grpc-protobuf to v1.51.1 ([#​573](https://togithub.com/googleapis/java-iam/issues/573)) ([2143ec8](https://togithub.com/googleapis/java-iam/commit/2143ec8a90dbcdb128dffea9777fa9d183c3068e)) - Update dependency io.grpc:grpc-stub to v1.51.1 ([#​574](https://togithub.com/googleapis/java-iam/issues/574)) ([488496a](https://togithub.com/googleapis/java-iam/commit/488496aa09c9d976bf0c450fb8584f07e7c74c03))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 67f5d3478bfc..62ed57bbb740 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.20.1 2.3.1 2.11.0 - 1.6.22 + 1.6.23 1.14.0 2.1.1 1.42.3 From 4a5ad26a6e3f5259a7d2aaa7f05bfc00f9735858 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 21 Dec 2022 17:58:19 +0100 Subject: [PATCH 2955/3036] deps: update dependency com.google.cloud:google-iam-policy to v1.6.23 (#578) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-iam-policy](https://togithub.com/googleapis/java-eventarc) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.22` -> `1.6.23` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.23/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.23/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.23/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-iam-policy/1.6.23/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.23`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1623-httpsgithubcomgoogleapisjava-iamcomparev1622v1623-2022-12-20) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.22...v1.6.23) ##### Dependencies - Update dependency com.google.api:api-common to v2.3.1 ([#​567](https://togithub.com/googleapis/java-iam/issues/567)) ([f96f891](https://togithub.com/googleapis/java-iam/commit/f96f89193fda5f81f4681cdc38a4186ec4b9e35a)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.14.0 ([#​571](https://togithub.com/googleapis/java-iam/issues/571)) ([f0645e7](https://togithub.com/googleapis/java-iam/commit/f0645e72044f682a2705f1feb764ea9d23890487)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 ([#​565](https://togithub.com/googleapis/java-iam/issues/565)) ([75ebf53](https://togithub.com/googleapis/java-iam/commit/75ebf53bb99f4fc12f22eb71a35ab7ca06d032fe)) - Update dependency com.google.cloud:google-iam-policy to v1.6.22 ([#​560](https://togithub.com/googleapis/java-iam/issues/560)) ([b8453e5](https://togithub.com/googleapis/java-iam/commit/b8453e541a860bcdd4e17a38d87bf371c4dbb542)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#​563](https://togithub.com/googleapis/java-iam/issues/563)) ([223bdff](https://togithub.com/googleapis/java-iam/commit/223bdff6f664730593637d8b21e539d2f2ffc60d)) - Update dependency com.google.protobuf:protobuf-java to v3.21.12 ([#​564](https://togithub.com/googleapis/java-iam/issues/564)) ([b424579](https://togithub.com/googleapis/java-iam/commit/b42457951c54b9e882ab143dde29acdf4e246e6c)) - Update dependency io.grpc:grpc-protobuf to v1.51.1 ([#​573](https://togithub.com/googleapis/java-iam/issues/573)) ([4e3aa71](https://togithub.com/googleapis/java-iam/commit/4e3aa7113ef7bbabc69cc099ab44177540249c89)) - Update dependency io.grpc:grpc-stub to v1.51.1 ([#​574](https://togithub.com/googleapis/java-iam/issues/574)) ([5e7ceda](https://togithub.com/googleapis/java-iam/commit/5e7cedaa3c34dd24c1f50a622848e5a9d5318b54))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam). --- java-iam/samples/cloud-client/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml index 6006735b60df..ef1a8d9358b6 100644 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ b/java-iam/samples/cloud-client/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-iam-policy - 1.6.22 + 1.6.23 compile From 8518a8223a6432405aaa8489f554b762003f6c79 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 21 Dec 2022 17:58:24 +0100 Subject: [PATCH 2956/3036] deps: update iam.version to v1.6.23 (#954) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:grpc-google-iam-v1](https://togithub.com/googleapis/java-iam/grpc-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.22` -> `1.6.23` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.23/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.23/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.23/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:grpc-google-iam-v1/1.6.23/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.22` -> `1.6.23` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.23/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-iam ### [`v1.6.23`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​1623-httpsgithubcomgoogleapisjava-iamcomparev1622v1623-2022-12-20) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.22...v1.6.23) ##### Dependencies - Update dependency com.google.api:api-common to v2.3.1 ([#​567](https://togithub.com/googleapis/java-iam/issues/567)) ([17e62e8](https://togithub.com/googleapis/java-iam/commit/17e62e80f0ea8c2d4edfe6bb16ef5ee7acbc22f3)) - Update dependency com.google.auth:google-auth-library-oauth2-http to v1.14.0 ([#​571](https://togithub.com/googleapis/java-iam/issues/571)) ([9c48311](https://togithub.com/googleapis/java-iam/commit/9c48311fbac25f9c9545f3404a42cdadf8ebb243)) - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.1.0 ([#​565](https://togithub.com/googleapis/java-iam/issues/565)) ([32be2fb](https://togithub.com/googleapis/java-iam/commit/32be2fb0cfafa3681489c18e367cf12f22c567d3)) - Update dependency com.google.cloud:google-iam-policy to v1.6.22 ([#​560](https://togithub.com/googleapis/java-iam/issues/560)) ([de39d89](https://togithub.com/googleapis/java-iam/commit/de39d89c08c9e45bc977ea393570a8d01cf48af2)) - Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#​563](https://togithub.com/googleapis/java-iam/issues/563)) ([607e260](https://togithub.com/googleapis/java-iam/commit/607e2601b71ff1fb51406e6c97dd79208296f404)) - Update dependency com.google.protobuf:protobuf-java to v3.21.12 ([#​564](https://togithub.com/googleapis/java-iam/issues/564)) ([4b2b26b](https://togithub.com/googleapis/java-iam/commit/4b2b26bd29d88ccb602a71225d6e2decb49b9649)) - Update dependency io.grpc:grpc-protobuf to v1.51.1 ([#​573](https://togithub.com/googleapis/java-iam/issues/573)) ([2143ec8](https://togithub.com/googleapis/java-iam/commit/2143ec8a90dbcdb128dffea9777fa9d183c3068e)) - Update dependency io.grpc:grpc-stub to v1.51.1 ([#​574](https://togithub.com/googleapis/java-iam/issues/574)) ([488496a](https://togithub.com/googleapis/java-iam/commit/488496aa09c9d976bf0c450fb8584f07e7c74c03))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 039ffa4c3c0f..aaa96a684b30 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 1.42.3 1.34.1 2.1.1 - 1.6.22 + 1.6.23
    From 6b6e8ed9d6c4fd611c201df6160361fc2083bb7f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 3 Jan 2023 15:48:18 +0100 Subject: [PATCH 2957/3036] deps: update dependency org.easymock:easymock to v5.1.0 (#1062) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.easymock:easymock](http://easymock.org) ([source](https://togithub.com/easymock/easymock)) | `5.0.1` -> `5.1.0` | [![age](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.1.0/compatibility-slim/5.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.1.0/confidence-slim/5.0.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 62ed57bbb740..1d67f226cb89 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -165,7 +165,7 @@ 31.1-jre 4.13.2 1.1.3 - 5.0.1 + 5.1.0 3.0.2 1.6.5 3.3 From 60a8ee50bd5a14123aa2f9dc49ec66be7a2a0ec8 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 3 Jan 2023 15:48:23 +0100 Subject: [PATCH 2958/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.17.0 (#1061) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.16` -> `2.17.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/compatibility-slim/2.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/confidence-slim/2.16)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.17.0`](https://togithub.com/google/error-prone/releases/tag/v2.17.0): Error Prone 2.17.0 [Compare Source](https://togithub.com/google/error-prone/compare/v2.16...v2.17.0) New Checkers: - [`AvoidObjectArrays`](https://errorprone.info/bugpattern/AvoidObjectArrays) - [`Finalize`](https://errorprone.info/bugpattern/Finalize) - [`IgnoredPureGetter`](https://errorprone.info/bugpattern/IgnoredPureGetter) - [`ImpossibleNullComparison`](https://errorprone.info/bugpattern/ProtoFieldNullComparison) - [`MathAbsoluteNegative`](https://errorprone.info/bugpattern/MathAbsoluteNegative) - [`NewFileSystem`](https://errorprone.info/bugpattern/NewFileSystem) - [`StatementSwitchToExpressionSwitch`](https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch) - [`UnqualifiedYield`](https://errorprone.info/bugpattern/UnqualifiedYield) Fixed issues: [#​2321](https://togithub.com/google/error-prone/issues/2321), [#​3144](https://togithub.com/google/error-prone/issues/3144), [#​3297](https://togithub.com/google/error-prone/issues/3297), [#​3428](https://togithub.com/google/error-prone/issues/3428), [#​3437](https://togithub.com/google/error-prone/issues/3437), [#​3462](https://togithub.com/google/error-prone/issues/3462), [#​3482](https://togithub.com/google/error-prone/issues/3482), [#​3494](https://togithub.com/google/error-prone/issues/3494) **Full Changelog**: https://togithub.com/google/error-prone/compare/v2.16...v2.17.0
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 1d67f226cb89..0afe7aa0459d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.6.5 3.3 - 2.16 + 2.17.0 2.10
    From 7344f448e53e85978ee73b4ce831568198bb4e67 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Tue, 3 Jan 2023 15:48:27 +0100 Subject: [PATCH 2959/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.17.0 (#955) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.16` -> `2.17.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/compatibility-slim/2.16)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.errorprone:error_prone_annotations/2.17.0/confidence-slim/2.16)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    google/error-prone ### [`v2.17.0`](https://togithub.com/google/error-prone/releases/tag/v2.17.0): Error Prone 2.17.0 [Compare Source](https://togithub.com/google/error-prone/compare/v2.16...v2.17.0) New Checkers: - [`AvoidObjectArrays`](https://errorprone.info/bugpattern/AvoidObjectArrays) - [`Finalize`](https://errorprone.info/bugpattern/Finalize) - [`IgnoredPureGetter`](https://errorprone.info/bugpattern/IgnoredPureGetter) - [`ImpossibleNullComparison`](https://errorprone.info/bugpattern/ProtoFieldNullComparison) - [`MathAbsoluteNegative`](https://errorprone.info/bugpattern/MathAbsoluteNegative) - [`NewFileSystem`](https://errorprone.info/bugpattern/NewFileSystem) - [`StatementSwitchToExpressionSwitch`](https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch) - [`UnqualifiedYield`](https://errorprone.info/bugpattern/UnqualifiedYield) Fixed issues: [#​2321](https://togithub.com/google/error-prone/issues/2321), [#​3144](https://togithub.com/google/error-prone/issues/3144), [#​3297](https://togithub.com/google/error-prone/issues/3297), [#​3428](https://togithub.com/google/error-prone/issues/3428), [#​3437](https://togithub.com/google/error-prone/issues/3437), [#​3462](https://togithub.com/google/error-prone/issues/3462), [#​3482](https://togithub.com/google/error-prone/issues/3482), [#​3494](https://togithub.com/google/error-prone/issues/3494) **Full Changelog**: https://togithub.com/google/error-prone/compare/v2.16...v2.17.0
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index bb44bcbdb6e6..abd3ac3fd76a 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.22 0.31.1 3.0.2 - 2.16 + 2.17.0 2.14.1 1.15 4.4.16 From dd2c00209e548bbd31f8815f76b38d00c086a692 Mon Sep 17 00:00:00 2001 From: BenWhitehead Date: Tue, 3 Jan 2023 17:00:08 -0500 Subject: [PATCH 2960/3036] fix: make title and description of Condition Nullable (#1063) According to https://cloud.google.com/iam/docs/conditions-overview#syntax_overview both title and description are optional. Currently, AutoValue treats these fields as non-null which goes against the definition from the API. This change may be considered breaking by some criteria, however this class is annotated @BetaApi. --- .../main/java/com/google/cloud/Condition.java | 7 +++- .../java/com/google/cloud/ConditionTest.java | 40 +++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 java-core/google-cloud-core/src/test/java/com/google/cloud/ConditionTest.java diff --git a/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java b/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java index 38548837963b..c3c4c83fb986 100644 --- a/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java +++ b/java-core/google-cloud-core/src/main/java/com/google/cloud/Condition.java @@ -18,6 +18,7 @@ import com.google.api.core.BetaApi; import com.google.auto.value.AutoValue; +import javax.annotation.Nullable; /** * Class for Identity and Access Management (IAM) policies. IAM policies are used to specify access @@ -32,9 +33,11 @@ @AutoValue public abstract class Condition { /** Get IAM Policy Binding Condition Title */ + @Nullable public abstract String getTitle(); /** Get IAM Policy Binding Condition Description */ + @Nullable public abstract String getDescription(); /** Get IAM Policy Binding Condition Expression */ @@ -51,10 +54,10 @@ public static Builder newBuilder() { @AutoValue.Builder public abstract static class Builder { /** Set IAM Policy Binding Condition Title */ - public abstract Builder setTitle(String title); + public abstract Builder setTitle(@Nullable String title); /** Set IAM Policy Binding Condition Description */ - public abstract Builder setDescription(String description); + public abstract Builder setDescription(@Nullable String description); /** Set IAM Policy Binding Condition Expression */ public abstract Builder setExpression(String expression); diff --git a/java-core/google-cloud-core/src/test/java/com/google/cloud/ConditionTest.java b/java-core/google-cloud-core/src/test/java/com/google/cloud/ConditionTest.java new file mode 100644 index 000000000000..67e0e6c2b596 --- /dev/null +++ b/java-core/google-cloud-core/src/test/java/com/google/cloud/ConditionTest.java @@ -0,0 +1,40 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud; + +import static com.google.common.truth.Truth.assertThat; + +import org.junit.Test; + +public final class ConditionTest { + + @Test + public void title_nullable() { + Condition condition = + Condition.newBuilder().setTitle(null).setDescription("desc").setExpression("expr").build(); + + assertThat(condition.getTitle()).isNull(); + } + + @Test + public void description_nullable() { + Condition condition = + Condition.newBuilder().setTitle("title").setDescription(null).setExpression("expr").build(); + + assertThat(condition.getDescription()).isNull(); + } +} From 4268b153be6dd1dba6f84d057840bbb254559f80 Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Fri, 6 Jan 2023 12:02:04 -0500 Subject: [PATCH 2961/3036] chore: copy functionality from `io.grpc.internal.SharedResourceHolder` (#1065) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: copy functionality from io.grpc.internal.SharedResourceHolder Included related classes and test file. Tests were adapted to use an easymock mock * fix: remove grpc-core from deps * fix: add used undeclared dependency jsr305 * fix: add copy explanation comments, remove `@ThreadSafe` and related dependency * Update google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java Co-authored-by: Mike Eltsufin * Update google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java Co-authored-by: Mike Eltsufin * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Mike Eltsufin Co-authored-by: Owl Bot --- java-core/google-cloud-core-grpc/pom.xml | 5 - .../cloud/grpc/GrpcTransportOptions.java | 6 +- .../cloud/grpc/LogExceptionRunnable.java | 58 ++++ .../cloud/grpc/SharedResourceHolder.java | 184 +++++++++++ .../cloud/grpc/SharedResourceHolderTest.java | 292 ++++++++++++++++++ 5 files changed, 536 insertions(+), 9 deletions(-) create mode 100644 java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java create mode 100644 java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java create mode 100644 java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/SharedResourceHolderTest.java diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 77e2cd7abf26..b926b0d42539 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -47,15 +47,10 @@ io.grpc grpc-api
    - - io.grpc - grpc-core - com.google.http-client google-http-client - junit junit diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java index 841cc8218bc9..4db83253a3a1 100644 --- a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/GrpcTransportOptions.java @@ -32,8 +32,6 @@ import com.google.cloud.ServiceOptions; import com.google.cloud.TransportOptions; import com.google.common.util.concurrent.ThreadFactoryBuilder; -import io.grpc.internal.SharedResourceHolder; -import io.grpc.internal.SharedResourceHolder.Resource; import java.io.IOException; import java.io.ObjectInputStream; import java.util.Objects; @@ -51,8 +49,8 @@ public class GrpcTransportOptions implements TransportOptions { private transient ExecutorFactory executorFactory; /** Shared thread pool executor. */ - private static final Resource EXECUTOR = - new Resource() { + private static final SharedResourceHolder.Resource EXECUTOR = + new SharedResourceHolder.Resource() { @Override public ScheduledExecutorService create() { ScheduledThreadPoolExecutor service = diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java new file mode 100644 index 000000000000..40fd6884c10a --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/LogExceptionRunnable.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.grpc; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.common.base.Throwables; +import java.util.logging.Level; +import java.util.logging.Logger; + +/** + * This class was copied from grpc-core to prevent dependence on an unstable API that may be subject + * to changes + * (https://github.com/grpc/grpc-java/blob/d07ecbe037d2705a1c9f4b6345581f860e505b56/core/src/main/java/io/grpc/internal/LogExceptionRunnable.java) + * + *

    A simple wrapper for a {@link Runnable} that logs any exception thrown by it, before + * re-throwing it. + */ +final class LogExceptionRunnable implements Runnable { + + private static final Logger log = Logger.getLogger(LogExceptionRunnable.class.getName()); + + private final Runnable task; + + public LogExceptionRunnable(Runnable task) { + this.task = checkNotNull(task, "task"); + } + + @Override + public void run() { + try { + task.run(); + } catch (Throwable t) { + log.log(Level.SEVERE, "Exception while executing runnable " + task, t); + Throwables.throwIfUnchecked(t); + throw new AssertionError(t); + } + } + + @Override + public String toString() { + return "LogExceptionRunnable(" + task + ")"; + } +} diff --git a/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java new file mode 100644 index 000000000000..c8fc6a886bac --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/main/java/com/google/cloud/grpc/SharedResourceHolder.java @@ -0,0 +1,184 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.grpc; + +import com.google.common.base.Preconditions; +import com.google.common.util.concurrent.ThreadFactoryBuilder; +import java.util.IdentityHashMap; +import java.util.concurrent.*; + +/** + * This class was copied from grpc-core to prevent dependence on an unstable API that may be subject + * to changes + * (https://github.com/grpc/grpc-java/blob/d07ecbe037d2705a1c9f4b6345581f860e505b56/core/src/main/java/io/grpc/internal/SharedResourceHolder.java) + * + *

    A holder for shared resource singletons. + * + *

    Components like client channels and servers need certain resources, e.g. a thread pool, to + * run. If the user has not provided such resources, these components will use a default one, which + * is shared as a static resource. This class holds these default resources and manages their + * life-cycles. + * + *

    A resource is identified by the reference of a {@link Resource} object, which is typically a + * singleton, provided to the get() and release() methods. Each Resource object (not its class) maps + * to an object cached in the holder. + * + *

    Resources are ref-counted and shut down after a delay when the ref-count reaches zero. + */ +final class SharedResourceHolder { + static final long DESTROY_DELAY_SECONDS = 1; + + // The sole holder instance. + private static final SharedResourceHolder holder = + new SharedResourceHolder( + new ScheduledExecutorFactory() { + @Override + public ScheduledExecutorService createScheduledExecutor() { + return Executors.newSingleThreadScheduledExecutor( + getThreadFactory("grpc-shared-destroyer-%d", true)); + } + }); + + private final IdentityHashMap, Instance> instances = new IdentityHashMap<>(); + + private final ScheduledExecutorFactory destroyerFactory; + + private ScheduledExecutorService destroyer; + + // Visible to tests that would need to create instances of the holder. + SharedResourceHolder(ScheduledExecutorFactory destroyerFactory) { + this.destroyerFactory = destroyerFactory; + } + + private static ThreadFactory getThreadFactory(String nameFormat, boolean daemon) { + return new ThreadFactoryBuilder().setDaemon(daemon).setNameFormat(nameFormat).build(); + } + + /** + * Try to get an existing instance of the given resource. If an instance does not exist, create a + * new one with the given factory. + * + * @param resource the singleton object that identifies the requested static resource + */ + public static T get(Resource resource) { + return holder.getInternal(resource); + } + + /** + * Releases an instance of the given resource. + * + *

    The instance must have been obtained from {@link #get(Resource)}. Otherwise will throw + * IllegalArgumentException. + * + *

    Caller must not release a reference more than once. It's advisory that you clear the + * reference to the instance with the null returned by this method. + * + * @param resource the singleton Resource object that identifies the released static resource + * @param instance the released static resource + * @return a null which the caller can use to clear the reference to that instance. + */ + public static T release(final Resource resource, final T instance) { + return holder.releaseInternal(resource, instance); + } + + /** + * Visible to unit tests. + * + * @see #get(Resource) + */ + @SuppressWarnings("unchecked") + synchronized T getInternal(Resource resource) { + Instance instance = instances.get(resource); + if (instance == null) { + instance = new Instance(resource.create()); + instances.put(resource, instance); + } + if (instance.destroyTask != null) { + instance.destroyTask.cancel(false); + instance.destroyTask = null; + } + instance.refcount++; + return (T) instance.payload; + } + + /** Visible to unit tests. */ + synchronized T releaseInternal(final Resource resource, final T instance) { + final Instance cached = instances.get(resource); + if (cached == null) { + throw new IllegalArgumentException("No cached instance found for " + resource); + } + Preconditions.checkArgument(instance == cached.payload, "Releasing the wrong instance"); + Preconditions.checkState(cached.refcount > 0, "Refcount has already reached zero"); + cached.refcount--; + if (cached.refcount == 0) { + Preconditions.checkState(cached.destroyTask == null, "Destroy task already scheduled"); + // Schedule a delayed task to destroy the resource. + if (destroyer == null) { + destroyer = destroyerFactory.createScheduledExecutor(); + } + cached.destroyTask = + destroyer.schedule( + new LogExceptionRunnable( + new Runnable() { + @Override + public void run() { + synchronized (SharedResourceHolder.this) { + // Refcount may have gone up since the task was scheduled. Re-check it. + if (cached.refcount == 0) { + try { + resource.close(instance); + } finally { + instances.remove(resource); + if (instances.isEmpty()) { + destroyer.shutdown(); + destroyer = null; + } + } + } + } + } + }), + DESTROY_DELAY_SECONDS, + TimeUnit.SECONDS); + } + // Always returning null + return null; + } + + /** Defines a resource, and the way to create and destroy instances of it. */ + public interface Resource { + /** Create a new instance of the resource. */ + T create(); + + /** Destroy the given instance. */ + void close(T instance); + } + + interface ScheduledExecutorFactory { + ScheduledExecutorService createScheduledExecutor(); + } + + private static class Instance { + final Object payload; + int refcount; + ScheduledFuture destroyTask; + + Instance(Object payload) { + this.payload = payload; + } + } +} diff --git a/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/SharedResourceHolderTest.java b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/SharedResourceHolderTest.java new file mode 100644 index 000000000000..ba70a0de55ed --- /dev/null +++ b/java-core/google-cloud-core-grpc/src/test/java/com/google/cloud/grpc/SharedResourceHolderTest.java @@ -0,0 +1,292 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.grpc; + +import static org.easymock.EasyMock.*; +import static org.junit.Assert.*; + +import java.util.LinkedList; +import java.util.concurrent.Delayed; +import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; +import org.easymock.EasyMock; +import org.easymock.IAnswer; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +/** + * This class was copied from grpc-core to prevent dependence on an unstable API that may be subject + * to changes + * (https://github.com/grpc/grpc-java/blob/d07ecbe037d2705a1c9f4b6345581f860e505b56/core/src/test/java/io/grpc/internal/SharedResourceHolderTest.java) + * + *

    Unit tests for {@link SharedResourceHolder}. + */ +@RunWith(JUnit4.class) +public class SharedResourceHolderTest { + + private final LinkedList> scheduledDestroyTasks = new LinkedList<>(); + + private SharedResourceHolder holder; + + private static class ResourceInstance { + volatile boolean closed; + } + + private static class ResourceFactory implements SharedResourceHolder.Resource { + @Override + public ResourceInstance create() { + return new ResourceInstance(); + } + + @Override + public void close(ResourceInstance instance) { + instance.closed = true; + } + } + + // Defines two kinds of resources + private static final SharedResourceHolder.Resource SHARED_FOO = + new ResourceFactory(); + private static final SharedResourceHolder.Resource SHARED_BAR = + new ResourceFactory(); + + @Before + public void setUp() { + holder = new SharedResourceHolder(new MockExecutorFactory()); + } + + @Test + public void destroyResourceWhenRefCountReachesZero() { + ResourceInstance foo1 = holder.getInternal(SHARED_FOO); + ResourceInstance sharedFoo = foo1; + ResourceInstance foo2 = holder.getInternal(SHARED_FOO); + assertSame(sharedFoo, foo2); + + ResourceInstance bar1 = holder.getInternal(SHARED_BAR); + ResourceInstance sharedBar = bar1; + + foo2 = holder.releaseInternal(SHARED_FOO, foo2); + // foo refcount not reached 0, thus shared foo is not closed + assertTrue(scheduledDestroyTasks.isEmpty()); + assertFalse(sharedFoo.closed); + assertNull(foo2); + + foo1 = holder.releaseInternal(SHARED_FOO, foo1); + assertNull(foo1); + + // foo refcount has reached 0, a destroying task is scheduled + assertEquals(1, scheduledDestroyTasks.size()); + MockScheduledFuture scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertEquals( + SharedResourceHolder.DESTROY_DELAY_SECONDS, + scheduledDestroyTask.getDelay(TimeUnit.SECONDS)); + + // Simluate that the destroyer executes the foo destroying task + scheduledDestroyTask.runTask(); + assertTrue(sharedFoo.closed); + + // After the destroying, obtaining a foo will get a different instance + ResourceInstance foo3 = holder.getInternal(SHARED_FOO); + assertNotSame(sharedFoo, foo3); + + holder.releaseInternal(SHARED_BAR, bar1); + + // bar refcount has reached 0, a destroying task is scheduled + assertEquals(1, scheduledDestroyTasks.size()); + scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertEquals( + SharedResourceHolder.DESTROY_DELAY_SECONDS, + scheduledDestroyTask.getDelay(TimeUnit.SECONDS)); + + // Simulate that the destroyer executes the bar destroying task + scheduledDestroyTask.runTask(); + assertTrue(sharedBar.closed); + } + + @Test + public void cancelDestroyTask() { + ResourceInstance foo1 = holder.getInternal(SHARED_FOO); + ResourceInstance sharedFoo = foo1; + holder.releaseInternal(SHARED_FOO, foo1); + // A destroying task for foo is scheduled + MockScheduledFuture scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertFalse(scheduledDestroyTask.cancelled); + + // obtaining a foo before the destroying task is executed will cancel the destroy + ResourceInstance foo2 = holder.getInternal(SHARED_FOO); + assertTrue(scheduledDestroyTask.cancelled); + assertTrue(scheduledDestroyTasks.isEmpty()); + assertFalse(sharedFoo.closed); + + // And it will be the same foo instance + assertSame(sharedFoo, foo2); + + // Release it and the destroying task is scheduled again + holder.releaseInternal(SHARED_FOO, foo2); + scheduledDestroyTask = scheduledDestroyTasks.poll(); + assertNotNull(scheduledDestroyTask); + assertFalse(scheduledDestroyTask.cancelled); + scheduledDestroyTask.runTask(); + assertTrue(sharedFoo.closed); + } + + @Test + public void releaseWrongInstance() { + ResourceInstance uncached = new ResourceInstance(); + try { + holder.releaseInternal(SHARED_FOO, uncached); + fail("Should throw IllegalArgumentException"); + } catch (IllegalArgumentException e) { + // expected + } + ResourceInstance cached = holder.getInternal(SHARED_FOO); + try { + holder.releaseInternal(SHARED_FOO, uncached); + fail("Should throw IllegalArgumentException"); + } catch (IllegalArgumentException e) { + // expected + } + holder.releaseInternal(SHARED_FOO, cached); + } + + @Test + public void overreleaseInstance() { + ResourceInstance foo1 = holder.getInternal(SHARED_FOO); + holder.releaseInternal(SHARED_FOO, foo1); + try { + holder.releaseInternal(SHARED_FOO, foo1); + fail("Should throw IllegalStateException"); + } catch (IllegalStateException e) { + // expected + } + } + + @Test + public void handleInstanceCloseError() { + class ExceptionOnCloseResource implements SharedResourceHolder.Resource { + @Override + public ResourceInstance create() { + return new ResourceInstance(); + } + + @Override + public void close(ResourceInstance instance) { + throw new RuntimeException(); + } + } + + SharedResourceHolder.Resource resource = new ExceptionOnCloseResource(); + ResourceInstance instance = holder.getInternal(resource); + holder.releaseInternal(resource, instance); + MockScheduledFuture scheduledDestroyTask = scheduledDestroyTasks.poll(); + try { + scheduledDestroyTask.runTask(); + fail("Should throw RuntimeException"); + } catch (RuntimeException e) { + // expected + } + + // Future resource fetches should not get the partially-closed one. + assertNotSame(instance, holder.getInternal(resource)); + } + + private class MockExecutorFactory implements SharedResourceHolder.ScheduledExecutorFactory { + @Override + public ScheduledExecutorService createScheduledExecutor() { + ScheduledExecutorService mockExecutor = createNiceMock(ScheduledExecutorService.class); + expect(mockExecutor.schedule(anyObject(Runnable.class), anyLong(), anyObject(TimeUnit.class))) + .andAnswer( + new IAnswer() { + @Override + public ScheduledFuture answer() throws Throwable { + Object[] args = EasyMock.getCurrentArguments(); + Runnable command = (Runnable) args[0]; + long delay = (Long) args[1]; + TimeUnit unit = (TimeUnit) args[2]; + MockScheduledFuture future = + new MockScheduledFuture<>(command, delay, unit); + scheduledDestroyTasks.add(future); + return future; + } + }) + .anyTimes(); + replay(mockExecutor); + return mockExecutor; + } + } + + protected static class MockScheduledFuture implements java.util.concurrent.ScheduledFuture { + private boolean cancelled; + private boolean finished; + final Runnable command; + final long delay; + final TimeUnit unit; + + MockScheduledFuture(Runnable command, long delay, TimeUnit unit) { + this.command = command; + this.delay = delay; + this.unit = unit; + } + + void runTask() { + command.run(); + finished = true; + } + + @Override + public boolean cancel(boolean interrupt) { + if (cancelled || finished) { + return false; + } + cancelled = true; + return true; + } + + @Override + public boolean isCancelled() { + return cancelled; + } + + @Override + public long getDelay(TimeUnit targetUnit) { + return targetUnit.convert(this.delay, this.unit); + } + + @Override + public int compareTo(Delayed o) { + throw new UnsupportedOperationException(); + } + + @Override + public boolean isDone() { + return cancelled || finished; + } + + @Override + public V get() { + throw new UnsupportedOperationException(); + } + + @Override + public V get(long timeout, TimeUnit unit) { + throw new UnsupportedOperationException(); + } + } +} From 4e7ad5695110f958ae7e827c8e9c9a89be5c8abb Mon Sep 17 00:00:00 2001 From: Deepankar Dixit <90280028+ddixit14@users.noreply.github.com> Date: Mon, 9 Jan 2023 10:52:41 -0500 Subject: [PATCH 2962/3036] deps: Adding `gapic-generator-java-bom` to `first-party-dependencies` (#957) * chore: Adding gapic-generator-java-bom to first-party-dependencies --- .../first-party-dependencies/pom.xml | 76 ++----------------- 1 file changed, 6 insertions(+), 70 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index aaa96a684b30..c01acde0496c 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,35 +55,23 @@ UTF-8 ${project.artifactId} - 1.51.1 - 2.20.1 + 2.13.0 1.3.2 2.10 - 31.1-jre - 3.21.12 - 2.3.1 - 2.11.0 2.9.0 - 1.14.0 1.42.3 1.34.1 2.1.1 - 1.6.23 + - io.grpc - grpc-bom - ${grpc.version} - pom - import - - + com.google.api - gax-bom - ${gax.version} + gapic-generator-java-bom + ${gapic-generator-java-bom.version} pom import @@ -97,36 +85,6 @@ gson ${gson.version} - - com.google.guava - guava-bom - ${guava.version} - pom - import - - - - com.google.protobuf - protobuf-bom - ${protobuf.version} - pom - import - - - com.google.api - api-common - ${google.api-common.version} - - - com.google.api.grpc - proto-google-common-protos - ${google.common-protos.version} - - - com.google.api.grpc - grpc-google-common-protos - ${google.common-protos.version} - com.google.cloud google-cloud-core-bom @@ -134,13 +92,6 @@ pom import - - com.google.auth - google-auth-library-bom - ${google.auth.version} - pom - import - com.google.http-client google-http-client-bom @@ -162,24 +113,9 @@ pom import - - com.google.api.grpc - proto-google-iam-v1 - ${iam.version} - - - com.google.api.grpc - grpc-google-iam-v1 - ${iam.version} - - - com.google.api - gax-grpc - ${gax.version} - testlib - + com.google.cloud google-cloud-core From fa6d3c184cf950c280faec648a0da5a38538dffc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:58:13 +0000 Subject: [PATCH 2963/3036] chore(main): release 3.1.1-SNAPSHOT (#945) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index e0245e955148..2027ba1e460e 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.1.0 + 3.1.1-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.0 + 3.1.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index c01acde0496c..4ab8ae698a5e 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.1.0 + 3.1.1-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 135a522aafd2..218dbea17cf2 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.1.0 + 3.1.1-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.1.0 + 3.1.1-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.1.0 + 3.1.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index abd3ac3fd76a..ac380d998955 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.1.0 + 3.1.1-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 9dcc48fb211e..35fd724a2546 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.1.0 + 3.1.1-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.0 + 3.1.1-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5117045d0bbe..be0fad6542d3 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.1.0:3.1.0 +google-cloud-shared-dependencies:3.1.0:3.1.1-SNAPSHOT From 9c0e10890ef8c65483876efbf0fcbd48d333cde0 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 16:17:00 +0000 Subject: [PATCH 2964/3036] deps: update dependency com.google.api:api-common to v2.4.0 (#1069) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0afe7aa0459d..c7b2e1ff67d7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.20.1 - 2.3.1 + 2.4.0 2.11.0 1.6.23 1.14.0 From 195c255567dd985224536dffd98bc21ddc4a5c77 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 16:25:35 +0000 Subject: [PATCH 2965/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2.1.2 (#1064) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index c7b2e1ff67d7..35e6fc0e319b 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -156,7 +156,7 @@ 2.11.0 1.6.23 1.14.0 - 2.1.1 + 2.1.2 1.42.3 1.51.1 3.21.12 From 27f519dd53eb122c855251cdbfeb87c70ec1d53e Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 16:26:27 +0000 Subject: [PATCH 2966/3036] deps: update dependency com.google.code.gson:gson to v2.10.1 (#1066) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 35e6fc0e319b..0b553e7936da 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -170,7 +170,7 @@ 1.6.5 3.3 2.17.0 - 2.10 + 2.10.1 From e00de039bf0ba1940c9c69d02dc04e4c945955b0 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 16:27:12 +0000 Subject: [PATCH 2967/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.12.0 (#1067) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0b553e7936da..782d66c8346d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.20.1 2.4.0 - 2.11.0 + 2.12.0 1.6.23 1.14.0 2.1.2 From aa10729a9c0ec7a833e561944c3b6dfa46ef7592 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 16:35:33 +0000 Subject: [PATCH 2968/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.7.0 (#1068) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 782d66c8346d..335a33247ce7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.20.1 2.4.0 2.12.0 - 1.6.23 + 1.7.0 1.14.0 2.1.2 1.42.3 From 07bee89963386443046eeab8bbe7c42ba98eb6d7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 17:24:06 +0000 Subject: [PATCH 2969/3036] deps: update dependency com.google.api:gax-bom to v2.21.0 (#1070) * deps: update dependency com.google.api:gax-bom to v2.21.0 * deps: Updating proto-google-common-protos to 2.12.0 Co-authored-by: Deepankar Dixit <90280028+ddixit14@users.noreply.github.com> --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 335a33247ce7..420f21d64d50 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.20.1 + 2.21.0 2.4.0 2.12.0 1.7.0 From a79ce0d4c12bf5b31757553eb821a1bb31e23da4 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 19:11:59 +0000 Subject: [PATCH 2970/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.18.0 (#1071) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 420f21d64d50..071578c880cc 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -169,7 +169,7 @@ 3.0.2 1.6.5 3.3 - 2.17.0 + 2.18.0 2.10.1 From e479677839276afc8a1639c644b0ec1913f2d755 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:01:13 -0500 Subject: [PATCH 2971/3036] chore(main): release 2.9.1 (#1059) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-core/CHANGELOG.md | 31 ++++++++++++++++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 +++--- java-core/google-cloud-core-grpc/pom.xml | 4 +-- java-core/google-cloud-core-http/pom.xml | 4 +-- java-core/google-cloud-core/pom.xml | 4 +-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 43 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 6a85f144d9c1..72cdd9fa2c25 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [2.9.1](https://github.com/googleapis/java-core/compare/v2.9.0...v2.9.1) (2023-01-09) + + +### Bug Fixes + +* Make title and description of Condition Nullable ([#1063](https://github.com/googleapis/java-core/issues/1063)) ([1238462](https://github.com/googleapis/java-core/commit/12384628ab07b7edb04181c79ed07e742277e4c4)) + + +### Documentation + +* Update javadocs for ReadChannel to be more clear about the behavior ([#1050](https://github.com/googleapis/java-core/issues/1050)) ([8b574f6](https://github.com/googleapis/java-core/commit/8b574f66c6e77b31ec8d544319a116f5c19804b9)) + + +### Dependencies + +* Update dependency com.google.api-client:google-api-client-bom to v2.1.2 ([#1064](https://github.com/googleapis/java-core/issues/1064)) ([6bf1c24](https://github.com/googleapis/java-core/commit/6bf1c2414978340cb997acb18e98815e20028718)) +* Update dependency com.google.api:api-common to v2.3.1 ([#1053](https://github.com/googleapis/java-core/issues/1053)) ([43ce490](https://github.com/googleapis/java-core/commit/43ce49083ebdfada11732ff82aa407c69311f4c9)) +* Update dependency com.google.api:api-common to v2.4.0 ([#1069](https://github.com/googleapis/java-core/issues/1069)) ([083bc07](https://github.com/googleapis/java-core/commit/083bc071f4529cd2a827cd4586e5c02690f4ffcd)) +* Update dependency com.google.api:gax-bom to v2.21.0 ([#1070](https://github.com/googleapis/java-core/issues/1070)) ([e133832](https://github.com/googleapis/java-core/commit/e133832eb6e81089745e21d9b0188cb91af0a51b)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.12.0 ([#1067](https://github.com/googleapis/java-core/issues/1067)) ([bfab3ad](https://github.com/googleapis/java-core/commit/bfab3adbcefea538d50d567297eb491650ad19ba)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.23 ([#1060](https://github.com/googleapis/java-core/issues/1060)) ([a2e5c4e](https://github.com/googleapis/java-core/commit/a2e5c4eb35824ee019b0d0b8f984144f07d76c0a)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.7.0 ([#1068](https://github.com/googleapis/java-core/issues/1068)) ([404f222](https://github.com/googleapis/java-core/commit/404f2220ea85253945f470a6370870cce248c11e)) +* Update dependency com.google.auth:google-auth-library-bom to v1.14.0 ([#1056](https://github.com/googleapis/java-core/issues/1056)) ([328628d](https://github.com/googleapis/java-core/commit/328628da55cea6d27c4fe4ed2aaa14bf2bc59a58)) +* Update dependency com.google.code.gson:gson to v2.10.1 ([#1066](https://github.com/googleapis/java-core/issues/1066)) ([a4b941e](https://github.com/googleapis/java-core/commit/a4b941e8daed4650bd019a7c03602cd617bdcad2)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.17.0 ([#1061](https://github.com/googleapis/java-core/issues/1061)) ([e7159c2](https://github.com/googleapis/java-core/commit/e7159c28eb4882395cc351d3dbd29db74a75c271)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.18.0 ([#1071](https://github.com/googleapis/java-core/issues/1071)) ([b85690f](https://github.com/googleapis/java-core/commit/b85690fdcf0803502412bf5af418c17b43a718e7)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#1054](https://github.com/googleapis/java-core/issues/1054)) ([3fc149e](https://github.com/googleapis/java-core/commit/3fc149e28a8724b100717c0ddfb138338401fea9)) +* Update dependency io.grpc:grpc-bom to v1.51.1 ([#1058](https://github.com/googleapis/java-core/issues/1058)) ([d8ca14c](https://github.com/googleapis/java-core/commit/d8ca14cdb10d5af41396b40702a4abd7c9b5b15c)) +* Update dependency org.easymock:easymock to v5.1.0 ([#1062](https://github.com/googleapis/java-core/issues/1062)) ([4c0095d](https://github.com/googleapis/java-core/commit/4c0095daa0a17564c972434e4824c03b2204e3e0)) +* Update dependency org.threeten:threetenbp to v1.6.5 ([#1052](https://github.com/googleapis/java-core/issues/1052)) ([7e12b5d](https://github.com/googleapis/java-core/commit/7e12b5d137db97d95320416cd80e467bb300c499)) + ## [2.9.0](https://github.com/googleapis/java-core/compare/v2.8.28...v2.9.0) (2022-12-05) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a38324cd52fe..a3702f906b56 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.1-SNAPSHOT + 2.9.1 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.1-SNAPSHOT + 2.9.1 com.google.cloud google-cloud-core-grpc - 2.9.1-SNAPSHOT + 2.9.1 com.google.cloud google-cloud-core-http - 2.9.1-SNAPSHOT + 2.9.1 diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index b926b0d42539..561b669feacc 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.9.1-SNAPSHOT + 2.9.1 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.1-SNAPSHOT + 2.9.1 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 818afbab25ec..2d6ea31631a4 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.9.1-SNAPSHOT + 2.9.1 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.1-SNAPSHOT + 2.9.1 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 12f5a3bd7053..079832458238 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.9.1-SNAPSHOT + 2.9.1 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.1-SNAPSHOT + 2.9.1 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 071578c880cc..cea71fc54b5c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.1-SNAPSHOT + 2.9.1 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 03e7d734c5d5..377fa0799143 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.0:2.9.1-SNAPSHOT +google-cloud-core:2.9.1:2.9.1 From af412b69b1a8d17c184da5855fa512c958270fcf Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 20:10:14 +0000 Subject: [PATCH 2972/3036] chore(main): release 2.9.2-SNAPSHOT (#1072) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a3702f906b56..a3de374560ad 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.1 + 2.9.2-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.1 + 2.9.2-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.9.1 + 2.9.2-SNAPSHOT com.google.cloud google-cloud-core-http - 2.9.1 + 2.9.2-SNAPSHOT diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 561b669feacc..7bf78d6a42dc 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.9.1 + 2.9.2-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.1 + 2.9.2-SNAPSHOT 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 2d6ea31631a4..1c73a67fa923 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.9.1 + 2.9.2-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.1 + 2.9.2-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 079832458238..abb228cae585 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.9.1 + 2.9.2-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.1 + 2.9.2-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index cea71fc54b5c..550417aaa754 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.1 + 2.9.2-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 377fa0799143..40d02e70eff8 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.1:2.9.1 +google-cloud-core:2.9.1:2.9.2-SNAPSHOT From 35e5f7320618e3381aade290bde9452fa8e286cd Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 20:38:23 +0000 Subject: [PATCH 2973/3036] deps: update dependency com.google.errorprone:error_prone_annotations to v2.18.0 (#961) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ac380d998955..f928fc8c3012 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -62,7 +62,7 @@ 1.22 0.31.1 3.0.2 - 2.17.0 + 2.18.0 2.14.1 1.15 4.4.16 From 9d69e7befcc236d6a8a381b749ed7c1e863c8ca7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 20:40:02 +0000 Subject: [PATCH 2974/3036] deps: update dependency com.google.api-client:google-api-client-bom to v2.1.2 (#956) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 4ab8ae698a5e..26584fcbd842 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -61,7 +61,7 @@ 2.9.0 1.42.3 1.34.1 - 2.1.1 + 2.1.2 From 91794e9a19ffafc11296965420073569b3037b1a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 20:40:36 +0000 Subject: [PATCH 2975/3036] deps: update dependency com.google.code.gson:gson to v2.10.1 (#958) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 26584fcbd842..8845c0573f15 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -57,7 +57,7 @@ ${project.artifactId} 2.13.0 1.3.2 - 2.10 + 2.10.1 2.9.0 1.42.3 1.34.1 From d9113100e18fdc674579a1cc8f1e0a076bf7ba44 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 20:41:09 +0000 Subject: [PATCH 2976/3036] deps: update dependency org.checkerframework:checker-qual to v3.29.0 (#959) --- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index f928fc8c3012..02a28f2947b8 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -68,7 +68,7 @@ 4.4.16 4.5.14 - 3.28.0 + 3.29.0 0.26.0 From ccd48756cc089ce468353a862cbeb280701a60f7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 9 Jan 2023 21:29:41 +0000 Subject: [PATCH 2977/3036] deps: update google.core.version to v2.9.1 (#962) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 8845c0573f15..967f2392cb03 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,7 +58,7 @@ 2.13.0 1.3.2 2.10.1 - 2.9.0 + 2.9.1 1.42.3 1.34.1 2.1.2 From df7472498d8908725203007b5b7b06eab875e6ba Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 16:44:25 -0500 Subject: [PATCH 2978/3036] chore(main): release 3.1.1 (#960) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 19 +++++++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 29 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 0fb9b41f082d..139673b545c3 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,25 @@ # Changelog +## [3.1.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.1.0...v3.1.1) (2023-01-09) + + +### Dependencies + +* Adding `gapic-generator-java-bom` to `first-party-dependencies` ([#957](https://github.com/googleapis/java-shared-dependencies/issues/957)) ([f051e6e](https://github.com/googleapis/java-shared-dependencies/commit/f051e6ee0ad4a705014d9d2f8211ddad464b3ca4)) +* Update dependency com.google.api-client:google-api-client-bom to v2.1.2 ([#956](https://github.com/googleapis/java-shared-dependencies/issues/956)) ([dbfde36](https://github.com/googleapis/java-shared-dependencies/commit/dbfde36f5b0806192ea99d45382c84cff518f500)) +* Update dependency com.google.api:api-common to v2.3.1 ([#947](https://github.com/googleapis/java-shared-dependencies/issues/947)) ([f35c3bf](https://github.com/googleapis/java-shared-dependencies/commit/f35c3bf518e8b488ddeb28a6ff86719b24a62df5)) +* Update dependency com.google.auth:google-auth-library-bom to v1.14.0 ([#950](https://github.com/googleapis/java-shared-dependencies/issues/950)) ([e5609ca](https://github.com/googleapis/java-shared-dependencies/commit/e5609ca23657e1c37825c6d8930da1fb5080b8a6)) +* Update dependency com.google.code.gson:gson to v2.10.1 ([#958](https://github.com/googleapis/java-shared-dependencies/issues/958)) ([bd35327](https://github.com/googleapis/java-shared-dependencies/commit/bd353274c16d01915923a6fa34796d0b78672fb0)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.17.0 ([#955](https://github.com/googleapis/java-shared-dependencies/issues/955)) ([b656786](https://github.com/googleapis/java-shared-dependencies/commit/b6567863e659ff3eb6cc7b4b42a42acc7ebd24ed)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.18.0 ([#961](https://github.com/googleapis/java-shared-dependencies/issues/961)) ([0c4ff89](https://github.com/googleapis/java-shared-dependencies/commit/0c4ff895e103164dc0c95bc9789f9a3dc6c2f1a4)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.12 ([#948](https://github.com/googleapis/java-shared-dependencies/issues/948)) ([812ce38](https://github.com/googleapis/java-shared-dependencies/commit/812ce38e95de4db15184f9dd38bbd4c2affa2133)) +* Update dependency io.grpc:grpc-bom to v1.51.1 ([#953](https://github.com/googleapis/java-shared-dependencies/issues/953)) ([a86e70a](https://github.com/googleapis/java-shared-dependencies/commit/a86e70ac7be07cdb3b69d0cf4fc1afedbf7048fd)) +* Update dependency org.checkerframework:checker-qual to v3.29.0 ([#959](https://github.com/googleapis/java-shared-dependencies/issues/959)) ([784a79b](https://github.com/googleapis/java-shared-dependencies/commit/784a79b49b109d18858fd603dbdd37a4947280af)) +* Update dependency org.threeten:threetenbp to v1.6.5 ([#946](https://github.com/googleapis/java-shared-dependencies/issues/946)) ([403555e](https://github.com/googleapis/java-shared-dependencies/commit/403555e4010aef84e909e0b0e48cf5571d9e3184)) +* Update google.core.version to v2.9.1 ([#962](https://github.com/googleapis/java-shared-dependencies/issues/962)) ([c1e648d](https://github.com/googleapis/java-shared-dependencies/commit/c1e648d5045f871ed5670f949978430ad2d49484)) +* Update iam.version to v1.6.23 ([#954](https://github.com/googleapis/java-shared-dependencies/issues/954)) ([bb4730e](https://github.com/googleapis/java-shared-dependencies/commit/bb4730e7dcac57b6653825d63c7408d2182b0a27)) + ## [3.1.0](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.6...v3.1.0) (2022-12-05) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 2027ba1e460e..3076d2ff174f 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.1.1-SNAPSHOT + 3.1.1 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.1-SNAPSHOT + 3.1.1 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 967f2392cb03..5e98137a5f35 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.1.1-SNAPSHOT + 3.1.1 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 218dbea17cf2..cf606c0a69f6 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.1.1-SNAPSHOT + 3.1.1 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.1.1-SNAPSHOT + 3.1.1 pom import com.google.cloud third-party-dependencies - 3.1.1-SNAPSHOT + 3.1.1 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 02a28f2947b8..b58293107a13 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.1.1-SNAPSHOT + 3.1.1 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 35fd724a2546..b5f914307a4d 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.1.1-SNAPSHOT + 3.1.1 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.1-SNAPSHOT + 3.1.1 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index be0fad6542d3..5e25b7c6128b 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.1.0:3.1.1-SNAPSHOT +google-cloud-shared-dependencies:3.1.1:3.1.1 From f6183a728e12acf3430bc7bb33c3ca0083b35014 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 10 Jan 2023 10:59:30 -0500 Subject: [PATCH 2979/3036] feat: removing migrated grpc- and proto- modules from repository (#592) * chore: removed migrated grpc- and proto- modules The proto- and grpc- modules have been migrated to https://github.com/googleapis/gapic-generator-java/tree/main/java-iam * removed unnecessary entries in versions.txt * distribution_name to have google-iam-policy * removed unnecessary modules * excluded dependencies * removing unnecessary dependencyManagement entries --- java-iam/.github/.OwlBot.yaml | 16 +- java-iam/.kokoro/release/publish_javadoc.sh | 2 +- java-iam/.kokoro/release/publish_javadoc11.sh | 2 +- java-iam/.repo-metadata.json | 4 +- java-iam/google-iam-policy/pom.xml | 6 +- java-iam/grpc-google-iam-v1/LICENSE | 201 - java-iam/grpc-google-iam-v1/build.gradle | 49 - java-iam/grpc-google-iam-v1/pom.xml | 65 - .../java/com/google/iam/v1/IAMPolicyGrpc.java | 689 ---- java-iam/grpc-google-iam-v2/pom.xml | 69 - .../java/com/google/iam/v2/PoliciesGrpc.java | 813 ---- java-iam/grpc-google-iam-v2beta/pom.xml | 69 - .../com/google/iam/v2beta/PoliciesGrpc.java | 815 ---- java-iam/pom.xml | 60 +- java-iam/proto-google-iam-v1/LICENSE | 201 - java-iam/proto-google-iam-v1/build.gradle | 52 - .../clirr-ignored-differences.xml | 33 - java-iam/proto-google-iam-v1/pom.xml | 32 - .../java/com/google/iam/v1/AuditConfig.java | 1204 ------ .../com/google/iam/v1/AuditConfigDelta.java | 1330 ------- .../iam/v1/AuditConfigDeltaOrBuilder.java | 141 - .../google/iam/v1/AuditConfigOrBuilder.java | 106 - .../com/google/iam/v1/AuditLogConfig.java | 1089 ------ .../iam/v1/AuditLogConfigOrBuilder.java | 109 - .../main/java/com/google/iam/v1/Binding.java | 1622 -------- .../java/com/google/iam/v1/BindingDelta.java | 1379 ------- .../google/iam/v1/BindingDeltaOrBuilder.java | 145 - .../com/google/iam/v1/BindingOrBuilder.java | 282 -- .../google/iam/v1/GetIamPolicyRequest.java | 910 ----- .../iam/v1/GetIamPolicyRequestOrBuilder.java | 94 - .../com/google/iam/v1/GetPolicyOptions.java | 574 --- .../iam/v1/GetPolicyOptionsOrBuilder.java | 51 - .../com/google/iam/v1/IamPolicyProto.java | 149 - .../java/com/google/iam/v1/OptionsProto.java | 65 - .../main/java/com/google/iam/v1/Policy.java | 1984 ---------- .../java/com/google/iam/v1/PolicyDelta.java | 1410 ------- .../google/iam/v1/PolicyDeltaOrBuilder.java | 128 - .../com/google/iam/v1/PolicyOrBuilder.java | 220 -- .../java/com/google/iam/v1/PolicyProto.java | 161 - .../google/iam/v1/SetIamPolicyRequest.java | 1225 ------ .../iam/v1/SetIamPolicyRequestOrBuilder.java | 144 - .../iam/v1/TestIamPermissionsRequest.java | 947 ----- .../TestIamPermissionsRequestOrBuilder.java | 119 - .../iam/v1/TestIamPermissionsResponse.java | 722 ---- .../TestIamPermissionsResponseOrBuilder.java | 80 - .../com/google/iam/v1/logging/AuditData.java | 729 ---- .../iam/v1/logging/AuditDataOrBuilder.java | 60 - .../google/iam/v1/logging/AuditDataProto.java | 73 - .../main/proto/google/iam/v1/iam_policy.proto | 137 - .../google/iam/v1/logging/audit_data.proto | 34 - .../main/proto/google/iam/v1/options.proto | 41 - .../src/main/proto/google/iam/v1/policy.proto | 239 -- .../clirr-ignored-differences.xml | 19 - java-iam/proto-google-iam-v2/pom.xml | 34 - .../google/iam/v2/CreatePolicyRequest.java | 1117 ------ .../iam/v2/CreatePolicyRequestOrBuilder.java | 130 - .../google/iam/v2/DeletePolicyRequest.java | 860 ----- .../iam/v2/DeletePolicyRequestOrBuilder.java | 95 - .../main/java/com/google/iam/v2/DenyRule.java | 2449 ------------ .../com/google/iam/v2/DenyRuleOrBuilder.java | 468 --- .../java/com/google/iam/v2/DenyRuleProto.java | 75 - .../com/google/iam/v2/GetPolicyRequest.java | 652 ---- .../iam/v2/GetPolicyRequestOrBuilder.java | 62 - .../google/iam/v2/ListPoliciesRequest.java | 948 ----- .../iam/v2/ListPoliciesRequestOrBuilder.java | 107 - .../google/iam/v2/ListPoliciesResponse.java | 1100 ------ .../iam/v2/ListPoliciesResponseOrBuilder.java | 103 - .../main/java/com/google/iam/v2/Policy.java | 3289 ----------------- .../iam/v2/PolicyOperationMetadata.java | 698 ---- .../v2/PolicyOperationMetadataOrBuilder.java | 60 - .../com/google/iam/v2/PolicyOrBuilder.java | 439 --- .../java/com/google/iam/v2/PolicyProto.java | 256 -- .../java/com/google/iam/v2/PolicyRule.java | 980 ----- .../google/iam/v2/PolicyRuleOrBuilder.java | 89 - .../google/iam/v2/UpdatePolicyRequest.java | 726 ---- .../iam/v2/UpdatePolicyRequestOrBuilder.java | 69 - .../src/main/proto/google/iam/v2/deny.proto | 109 - .../src/main/proto/google/iam/v2/policy.proto | 287 -- .../clirr-ignored-differences.xml | 19 - java-iam/proto-google-iam-v2beta/pom.xml | 34 - .../iam/v2beta/CreatePolicyRequest.java | 1121 ------ .../v2beta/CreatePolicyRequestOrBuilder.java | 130 - .../iam/v2beta/DeletePolicyRequest.java | 862 ----- .../v2beta/DeletePolicyRequestOrBuilder.java | 95 - .../java/com/google/iam/v2beta/DenyRule.java | 2453 ------------ .../google/iam/v2beta/DenyRuleOrBuilder.java | 468 --- .../com/google/iam/v2beta/DenyRuleProto.java | 77 - .../google/iam/v2beta/GetPolicyRequest.java | 655 ---- .../iam/v2beta/GetPolicyRequestOrBuilder.java | 62 - .../iam/v2beta/ListPoliciesRequest.java | 950 ----- .../v2beta/ListPoliciesRequestOrBuilder.java | 107 - .../iam/v2beta/ListPoliciesResponse.java | 1106 ------ .../v2beta/ListPoliciesResponseOrBuilder.java | 103 - .../java/com/google/iam/v2beta/Policy.java | 3111 ---------------- .../iam/v2beta/PolicyOperationMetadata.java | 698 ---- .../PolicyOperationMetadataOrBuilder.java | 60 - .../google/iam/v2beta/PolicyOrBuilder.java | 412 --- .../com/google/iam/v2beta/PolicyProto.java | 257 -- .../com/google/iam/v2beta/PolicyRule.java | 985 ----- .../iam/v2beta/PolicyRuleOrBuilder.java | 89 - .../iam/v2beta/UpdatePolicyRequest.java | 730 ---- .../v2beta/UpdatePolicyRequestOrBuilder.java | 69 - .../main/proto/google/iam/v2beta/deny.proto | 109 - .../main/proto/google/iam/v2beta/policy.proto | 283 -- java-iam/renovate.json | 2 +- java-iam/versions.txt | 6 - 106 files changed, 13 insertions(+), 51142 deletions(-) delete mode 100644 java-iam/grpc-google-iam-v1/LICENSE delete mode 100644 java-iam/grpc-google-iam-v1/build.gradle delete mode 100644 java-iam/grpc-google-iam-v1/pom.xml delete mode 100644 java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java delete mode 100644 java-iam/grpc-google-iam-v2/pom.xml delete mode 100644 java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java delete mode 100644 java-iam/grpc-google-iam-v2beta/pom.xml delete mode 100644 java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java delete mode 100644 java-iam/proto-google-iam-v1/LICENSE delete mode 100644 java-iam/proto-google-iam-v1/build.gradle delete mode 100644 java-iam/proto-google-iam-v1/clirr-ignored-differences.xml delete mode 100644 java-iam/proto-google-iam-v1/pom.xml delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java delete mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto delete mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto delete mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto delete mode 100644 java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto delete mode 100644 java-iam/proto-google-iam-v2/clirr-ignored-differences.xml delete mode 100644 java-iam/proto-google-iam-v2/pom.xml delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto delete mode 100644 java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto delete mode 100644 java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml delete mode 100644 java-iam/proto-google-iam-v2beta/pom.xml delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto delete mode 100644 java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.github/.OwlBot.yaml index 5df4166aeea2..7aa46a2190d4 100644 --- a/java-iam/.github/.OwlBot.yaml +++ b/java-iam/.github/.OwlBot.yaml @@ -21,23 +21,9 @@ deep-remove-regex: deep-preserve-regex: - "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - - "/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging" - - "/proto-google-iam-v1/src/main/proto/google/iam/v1" deep-copy-regex: - - source: "/google/iam/v1/google-iam-v1-java/grpc-google-iam-v1-java/src" - dest: "/owl-bot-staging/v1/grpc-google-iam-v1/src" - - source: "/google/iam/v1/google-iam-v1-java/proto-google-iam-v1-java/src" - dest: "/owl-bot-staging/v1/proto-google-iam-v1/src" - - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/grpc-google-cloud-iam-v2beta-java/src" - dest: "/owl-bot-staging/v2beta/grpc-google-iam-v2beta/src" - - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src" - dest: "/owl-bot-staging/v2beta/proto-google-iam-v2beta/src" - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src" dest: "/owl-bot-staging/v2beta/google-iam-policy/src" - - source: "/google/iam/v2/google-cloud-iam-v2-java/grpc-google-cloud-iam-v2-java/src" - dest: "/owl-bot-staging/v2/grpc-google-iam-v2/src" - - source: "/google/iam/v2/google-cloud-iam-v2-java/proto-google-cloud-iam-v2-java/src" - dest: "/owl-bot-staging/v2/proto-google-iam-v2/src" - source: "/google/iam/v2/google-cloud-iam-v2-java/gapic-google-cloud-iam-v2-java/src" - dest: "/owl-bot-staging/v2/google-iam-policy/src" \ No newline at end of file + dest: "/owl-bot-staging/v2/google-iam-policy/src" diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh index 0196aca2c1e7..4b26b0f67442 100755 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ b/java-iam/.kokoro/release/publish_javadoc.sh @@ -33,7 +33,7 @@ python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true -export NAME=proto-google-iam-v1 +export NAME=google-iam-policy export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh index 8040a363d8be..79ec95ab0b2f 100755 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ b/java-iam/.kokoro/release/publish_javadoc11.sh @@ -33,7 +33,7 @@ python3 -m pip install --require-hashes -r .kokoro/requirements.txt # compile all packages mvn clean install -B -q -DskipTests=true -export NAME=proto-google-iam-v1 +export NAME=google-iam-policy export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # cloud RAD generation diff --git a/java-iam/.repo-metadata.json b/java-iam/.repo-metadata.json index c8064171f07c..3b4b6df1faf0 100644 --- a/java-iam/.repo-metadata.json +++ b/java-iam/.repo-metadata.json @@ -11,7 +11,7 @@ "repo": "googleapis/java-iam", "repo_short": "java-iam", "library_type": "OTHER", - "distribution_name": "com.google.api.grpc:proto-google-iam-v1", + "distribution_name": "com.google.cloud:google-iam-policy", "excluded_poms": "proto-google-iam-v1-bom,google-iam-policy,proto-google-iam-v1", - "excluded_dependencies": "grpc-google-iam-v1" + "excluded_dependencies": "google-iam-policy" } diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index b77389707c05..88885cfa53e8 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -10,8 +10,8 @@ Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. com.google.cloud - google-iam-parent - 1.6.24-SNAPSHOT + google-iam-policy-parent + 1.6.24-SNAPSHOT google-iam-policy @@ -133,4 +133,4 @@ - \ No newline at end of file + diff --git a/java-iam/grpc-google-iam-v1/LICENSE b/java-iam/grpc-google-iam-v1/LICENSE deleted file mode 100644 index a8ee855de2aa..000000000000 --- a/java-iam/grpc-google-iam-v1/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/java-iam/grpc-google-iam-v1/build.gradle b/java-iam/grpc-google-iam-v1/build.gradle deleted file mode 100644 index a346388de60e..000000000000 --- a/java-iam/grpc-google-iam-v1/build.gradle +++ /dev/null @@ -1,49 +0,0 @@ -buildscript { - repositories { - mavenCentral() - } -} - -apply plugin: 'java' - -description = 'GRPC library for grpc-google-iam-v1' -group = 'com.google.api.grpc' -version = "0.13.0" -sourceCompatibility = 1.7 -targetCompatibility = 1.7 - -repositories { - mavenCentral() - mavenLocal() -} - -dependencies { - compile 'io.grpc:grpc-stub:1.51.1' - compile 'io.grpc:grpc-protobuf:1.51.1' - compile project(':proto-google-iam-v1') -} - -sourceSets { - main { - java { - srcDir 'src/main/java' - } - } -} - -task javadocJar(type: Jar) { - classifier = 'javadoc' - from javadoc -} - -task sourcesJar(type: Jar) { - classifier = 'sources' - from sourceSets.main.allSource -} - -artifacts { - archives javadocJar, sourcesJar -} - -compileJava.options.encoding = 'UTF-8' -javadoc.options.encoding = 'UTF-8' \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v1/pom.xml b/java-iam/grpc-google-iam-v1/pom.xml deleted file mode 100644 index 61d120e0ff19..000000000000 --- a/java-iam/grpc-google-iam-v1/pom.xml +++ /dev/null @@ -1,65 +0,0 @@ - - 4.0.0 - com.google.api.grpc - grpc-google-iam-v1 - 1.6.24-SNAPSHOT - grpc-google-iam-v1 - GRPC library for grpc-google-iam-v1 - - com.google.cloud - google-iam-parent - 1.6.24-SNAPSHOT - - - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.protobuf - protobuf-java - - - com.google.guava - guava - - - com.google.api.grpc - proto-google-iam-v1 - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - - - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java deleted file mode 100644 index dc9f5653e5f7..000000000000 --- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java +++ /dev/null @@ -1,689 +0,0 @@ -/* - * 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. - */ -package com.google.iam.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *

    - * API Overview
    - * Manages Identity and Access Management (IAM) policies.
    - * Any implementation of an API that offers access control features
    - * implements the google.iam.v1.IAMPolicy interface.
    - * ## Data model
    - * Access control is applied when a principal (user or service account), takes
    - * some action on a resource exposed by a service. Resources, identified by
    - * URI-like names, are the unit of access control specification. Service
    - * implementations can choose the granularity of access control and the
    - * supported permissions for their resources.
    - * For example one database service may allow access control to be
    - * specified only at the Table level, whereas another might allow access control
    - * to also be specified at the Column level.
    - * ## Policy Structure
    - * See google.iam.v1.Policy
    - * This is intentionally not a CRUD style API because access control policies
    - * are created and deleted implicitly with the resources to which they are
    - * attached.
    - * 
    - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v1/iam_policy.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class IAMPolicyGrpc { - - private IAMPolicyGrpc() {} - - public static final String SERVICE_NAME = "google.iam.v1.IAMPolicy"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { - synchronized (IAMPolicyGrpc.class) { - if ((getSetIamPolicyMethod = IAMPolicyGrpc.getSetIamPolicyMethod) == null) { - IAMPolicyGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { - synchronized (IAMPolicyGrpc.class) { - if ((getGetIamPolicyMethod = IAMPolicyGrpc.getGetIamPolicyMethod) == null) { - IAMPolicyGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new IAMPolicyMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { - synchronized (IAMPolicyGrpc.class) { - if ((getTestIamPermissionsMethod = IAMPolicyGrpc.getTestIamPermissionsMethod) == null) { - IAMPolicyGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new IAMPolicyMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static IAMPolicyStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public IAMPolicyStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new IAMPolicyStub(channel, callOptions); - } - }; - return IAMPolicyStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static IAMPolicyBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public IAMPolicyBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new IAMPolicyBlockingStub(channel, callOptions); - } - }; - return IAMPolicyBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static IAMPolicyFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public IAMPolicyFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new IAMPolicyFutureStub(channel, callOptions); - } - }; - return IAMPolicyFutureStub.newStub(factory, channel); - } - - /** - * - * - *
    -   * API Overview
    -   * Manages Identity and Access Management (IAM) policies.
    -   * Any implementation of an API that offers access control features
    -   * implements the google.iam.v1.IAMPolicy interface.
    -   * ## Data model
    -   * Access control is applied when a principal (user or service account), takes
    -   * some action on a resource exposed by a service. Resources, identified by
    -   * URI-like names, are the unit of access control specification. Service
    -   * implementations can choose the granularity of access control and the
    -   * supported permissions for their resources.
    -   * For example one database service may allow access control to be
    -   * specified only at the Table level, whereas another might allow access control
    -   * to also be specified at the Column level.
    -   * ## Policy Structure
    -   * See google.iam.v1.Policy
    -   * This is intentionally not a CRUD style API because access control policies
    -   * are created and deleted implicitly with the resources to which they are
    -   * attached.
    -   * 
    - */ - public abstract static class IAMPolicyImplBase implements io.grpc.BindableService { - - /** - * - * - *
    -     * Sets the access control policy on the specified resource. Replaces any
    -     * existing policy.
    -     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
    -     * 
    - */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Gets the access control policy for a resource.
    -     * Returns an empty policy if the resource exists and does not have a policy
    -     * set.
    -     * 
    - */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Returns permissions that a caller has on the specified resource.
    -     * If the resource does not exist, this will return an empty set of
    -     * permissions, not a `NOT_FOUND` error.
    -     * Note: This operation is designed to be used for building permission-aware
    -     * UIs and command-line tools, not for authorization checking. This operation
    -     * may "fail open" without warning.
    -     * 
    - */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - * - * - *
    -   * API Overview
    -   * Manages Identity and Access Management (IAM) policies.
    -   * Any implementation of an API that offers access control features
    -   * implements the google.iam.v1.IAMPolicy interface.
    -   * ## Data model
    -   * Access control is applied when a principal (user or service account), takes
    -   * some action on a resource exposed by a service. Resources, identified by
    -   * URI-like names, are the unit of access control specification. Service
    -   * implementations can choose the granularity of access control and the
    -   * supported permissions for their resources.
    -   * For example one database service may allow access control to be
    -   * specified only at the Table level, whereas another might allow access control
    -   * to also be specified at the Column level.
    -   * ## Policy Structure
    -   * See google.iam.v1.Policy
    -   * This is intentionally not a CRUD style API because access control policies
    -   * are created and deleted implicitly with the resources to which they are
    -   * attached.
    -   * 
    - */ - public static final class IAMPolicyStub extends io.grpc.stub.AbstractAsyncStub { - private IAMPolicyStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected IAMPolicyStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new IAMPolicyStub(channel, callOptions); - } - - /** - * - * - *
    -     * Sets the access control policy on the specified resource. Replaces any
    -     * existing policy.
    -     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
    -     * 
    - */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Gets the access control policy for a resource.
    -     * Returns an empty policy if the resource exists and does not have a policy
    -     * set.
    -     * 
    - */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Returns permissions that a caller has on the specified resource.
    -     * If the resource does not exist, this will return an empty set of
    -     * permissions, not a `NOT_FOUND` error.
    -     * Note: This operation is designed to be used for building permission-aware
    -     * UIs and command-line tools, not for authorization checking. This operation
    -     * may "fail open" without warning.
    -     * 
    - */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
    -   * API Overview
    -   * Manages Identity and Access Management (IAM) policies.
    -   * Any implementation of an API that offers access control features
    -   * implements the google.iam.v1.IAMPolicy interface.
    -   * ## Data model
    -   * Access control is applied when a principal (user or service account), takes
    -   * some action on a resource exposed by a service. Resources, identified by
    -   * URI-like names, are the unit of access control specification. Service
    -   * implementations can choose the granularity of access control and the
    -   * supported permissions for their resources.
    -   * For example one database service may allow access control to be
    -   * specified only at the Table level, whereas another might allow access control
    -   * to also be specified at the Column level.
    -   * ## Policy Structure
    -   * See google.iam.v1.Policy
    -   * This is intentionally not a CRUD style API because access control policies
    -   * are created and deleted implicitly with the resources to which they are
    -   * attached.
    -   * 
    - */ - public static final class IAMPolicyBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private IAMPolicyBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected IAMPolicyBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new IAMPolicyBlockingStub(channel, callOptions); - } - - /** - * - * - *
    -     * Sets the access control policy on the specified resource. Replaces any
    -     * existing policy.
    -     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
    -     * 
    - */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Gets the access control policy for a resource.
    -     * Returns an empty policy if the resource exists and does not have a policy
    -     * set.
    -     * 
    - */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Returns permissions that a caller has on the specified resource.
    -     * If the resource does not exist, this will return an empty set of
    -     * permissions, not a `NOT_FOUND` error.
    -     * Note: This operation is designed to be used for building permission-aware
    -     * UIs and command-line tools, not for authorization checking. This operation
    -     * may "fail open" without warning.
    -     * 
    - */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
    -   * API Overview
    -   * Manages Identity and Access Management (IAM) policies.
    -   * Any implementation of an API that offers access control features
    -   * implements the google.iam.v1.IAMPolicy interface.
    -   * ## Data model
    -   * Access control is applied when a principal (user or service account), takes
    -   * some action on a resource exposed by a service. Resources, identified by
    -   * URI-like names, are the unit of access control specification. Service
    -   * implementations can choose the granularity of access control and the
    -   * supported permissions for their resources.
    -   * For example one database service may allow access control to be
    -   * specified only at the Table level, whereas another might allow access control
    -   * to also be specified at the Column level.
    -   * ## Policy Structure
    -   * See google.iam.v1.Policy
    -   * This is intentionally not a CRUD style API because access control policies
    -   * are created and deleted implicitly with the resources to which they are
    -   * attached.
    -   * 
    - */ - public static final class IAMPolicyFutureStub - extends io.grpc.stub.AbstractFutureStub { - private IAMPolicyFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected IAMPolicyFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new IAMPolicyFutureStub(channel, callOptions); - } - - /** - * - * - *
    -     * Sets the access control policy on the specified resource. Replaces any
    -     * existing policy.
    -     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Gets the access control policy for a resource.
    -     * Returns an empty policy if the resource exists and does not have a policy
    -     * set.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Returns permissions that a caller has on the specified resource.
    -     * If the resource does not exist, this will return an empty set of
    -     * permissions, not a `NOT_FOUND` error.
    -     * Note: This operation is designed to be used for building permission-aware
    -     * UIs and command-line tools, not for authorization checking. This operation
    -     * may "fail open" without warning.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_SET_IAM_POLICY = 0; - private static final int METHODID_GET_IAM_POLICY = 1; - private static final int METHODID_TEST_IAM_PERMISSIONS = 2; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final IAMPolicyImplBase serviceImpl; - private final int methodId; - - MethodHandlers(IAMPolicyImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class IAMPolicyBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - IAMPolicyBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.iam.v1.IamPolicyProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("IAMPolicy"); - } - } - - private static final class IAMPolicyFileDescriptorSupplier - extends IAMPolicyBaseDescriptorSupplier { - IAMPolicyFileDescriptorSupplier() {} - } - - private static final class IAMPolicyMethodDescriptorSupplier - extends IAMPolicyBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - IAMPolicyMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (IAMPolicyGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new IAMPolicyFileDescriptorSupplier()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-iam/grpc-google-iam-v2/pom.xml b/java-iam/grpc-google-iam-v2/pom.xml deleted file mode 100644 index 4165b97379d0..000000000000 --- a/java-iam/grpc-google-iam-v2/pom.xml +++ /dev/null @@ -1,69 +0,0 @@ - - 4.0.0 - com.google.api.grpc - grpc-google-iam-v2 - 1.6.24-SNAPSHOT - grpc-google-iam-v2 - GRPC library for proto-google-iam-v2 - - com.google.cloud - google-iam-parent - 1.6.24-SNAPSHOT - - - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - com.google.api.grpc - proto-google-iam-v2 - - - com.google.guava - guava - - - - - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java deleted file mode 100644 index bfd3857e078a..000000000000 --- a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java +++ /dev/null @@ -1,813 +0,0 @@ -/* - * 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. - */ -package com.google.iam.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
    - * An interface for managing Identity and Access Management (IAM) policies.
    - * 
    - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v2/policy.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class PoliciesGrpc { - - private PoliciesGrpc() {} - - public static final String SERVICE_NAME = "google.iam.v2.Policies"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2.ListPoliciesRequest, com.google.iam.v2.ListPoliciesResponse> - getListPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPolicies", - requestType = com.google.iam.v2.ListPoliciesRequest.class, - responseType = com.google.iam.v2.ListPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2.ListPoliciesRequest, com.google.iam.v2.ListPoliciesResponse> - getListPoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2.ListPoliciesRequest, com.google.iam.v2.ListPoliciesResponse> - getListPoliciesMethod; - if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { - PoliciesGrpc.getListPoliciesMethod = - getListPoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.ListPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.ListPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("ListPolicies")) - .build(); - } - } - } - return getListPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2.GetPolicyRequest, com.google.iam.v2.Policy> - getGetPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicy", - requestType = com.google.iam.v2.GetPolicyRequest.class, - responseType = com.google.iam.v2.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2.GetPolicyRequest, com.google.iam.v2.Policy> - getGetPolicyMethod() { - io.grpc.MethodDescriptor - getGetPolicyMethod; - if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { - PoliciesGrpc.getGetPolicyMethod = - getGetPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.GetPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.Policy.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("GetPolicy")) - .build(); - } - } - } - return getGetPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation> - getCreatePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePolicy", - requestType = com.google.iam.v2.CreatePolicyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation> - getCreatePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation> - getCreatePolicyMethod; - if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { - PoliciesGrpc.getCreatePolicyMethod = - getCreatePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.CreatePolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("CreatePolicy")) - .build(); - } - } - } - return getCreatePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation> - getUpdatePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", - requestType = com.google.iam.v2.UpdatePolicyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation> - getUpdatePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation> - getUpdatePolicyMethod; - if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { - PoliciesGrpc.getUpdatePolicyMethod = - getUpdatePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.UpdatePolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("UpdatePolicy")) - .build(); - } - } - } - return getUpdatePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation> - getDeletePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePolicy", - requestType = com.google.iam.v2.DeletePolicyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation> - getDeletePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation> - getDeletePolicyMethod; - if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { - PoliciesGrpc.getDeletePolicyMethod = - getDeletePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2.DeletePolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("DeletePolicy")) - .build(); - } - } - } - return getDeletePolicyMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static PoliciesStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PoliciesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesStub(channel, callOptions); - } - }; - return PoliciesStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static PoliciesBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PoliciesBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesBlockingStub(channel, callOptions); - } - }; - return PoliciesBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static PoliciesFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PoliciesFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesFutureStub(channel, callOptions); - } - }; - return PoliciesFutureStub.newStub(factory, channel); - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public abstract static class PoliciesImplBase implements io.grpc.BindableService { - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public void listPolicies( - com.google.iam.v2.ListPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPoliciesMethod(), responseObserver); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public void getPolicy( - com.google.iam.v2.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public void createPolicy( - com.google.iam.v2.CreatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public void updatePolicy( - com.google.iam.v2.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public void deletePolicy( - com.google.iam.v2.DeletePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePolicyMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2.ListPoliciesRequest, - com.google.iam.v2.ListPoliciesResponse>(this, METHODID_LIST_POLICIES))) - .addMethod( - getGetPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - this, METHODID_GET_POLICY))) - .addMethod( - getCreatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2.CreatePolicyRequest, com.google.longrunning.Operation>( - this, METHODID_CREATE_POLICY))) - .addMethod( - getUpdatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2.UpdatePolicyRequest, com.google.longrunning.Operation>( - this, METHODID_UPDATE_POLICY))) - .addMethod( - getDeletePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2.DeletePolicyRequest, com.google.longrunning.Operation>( - this, METHODID_DELETE_POLICY))) - .build(); - } - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public static final class PoliciesStub extends io.grpc.stub.AbstractAsyncStub { - private PoliciesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PoliciesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesStub(channel, callOptions); - } - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public void listPolicies( - com.google.iam.v2.ListPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPoliciesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public void getPolicy( - com.google.iam.v2.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public void createPolicy( - com.google.iam.v2.CreatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public void updatePolicy( - com.google.iam.v2.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public void deletePolicy( - com.google.iam.v2.DeletePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public static final class PoliciesBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private PoliciesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PoliciesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesBlockingStub(channel, callOptions); - } - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public com.google.iam.v2.ListPoliciesResponse listPolicies( - com.google.iam.v2.ListPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPoliciesMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public com.google.longrunning.Operation createPolicy( - com.google.iam.v2.CreatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public com.google.longrunning.Operation updatePolicy( - com.google.iam.v2.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public com.google.longrunning.Operation deletePolicy( - com.google.iam.v2.DeletePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePolicyMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public static final class PoliciesFutureStub - extends io.grpc.stub.AbstractFutureStub { - private PoliciesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PoliciesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesFutureStub(channel, callOptions); - } - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v2.ListPoliciesResponse> - listPolicies(com.google.iam.v2.ListPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPoliciesMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture getPolicy( - com.google.iam.v2.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - createPolicy(com.google.iam.v2.CreatePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - updatePolicy(com.google.iam.v2.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - deletePolicy(com.google.iam.v2.DeletePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_POLICIES = 0; - private static final int METHODID_GET_POLICY = 1; - private static final int METHODID_CREATE_POLICY = 2; - private static final int METHODID_UPDATE_POLICY = 3; - private static final int METHODID_DELETE_POLICY = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final PoliciesImplBase serviceImpl; - private final int methodId; - - MethodHandlers(PoliciesImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_POLICIES: - serviceImpl.listPolicies( - (com.google.iam.v2.ListPoliciesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_POLICY: - serviceImpl.getPolicy( - (com.google.iam.v2.GetPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_POLICY: - serviceImpl.createPolicy( - (com.google.iam.v2.CreatePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_POLICY: - serviceImpl.updatePolicy( - (com.google.iam.v2.UpdatePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_POLICY: - serviceImpl.deletePolicy( - (com.google.iam.v2.DeletePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class PoliciesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - PoliciesBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.iam.v2.PolicyProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Policies"); - } - } - - private static final class PoliciesFileDescriptorSupplier extends PoliciesBaseDescriptorSupplier { - PoliciesFileDescriptorSupplier() {} - } - - private static final class PoliciesMethodDescriptorSupplier extends PoliciesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - PoliciesMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (PoliciesGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PoliciesFileDescriptorSupplier()) - .addMethod(getListPoliciesMethod()) - .addMethod(getGetPolicyMethod()) - .addMethod(getCreatePolicyMethod()) - .addMethod(getUpdatePolicyMethod()) - .addMethod(getDeletePolicyMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-iam/grpc-google-iam-v2beta/pom.xml b/java-iam/grpc-google-iam-v2beta/pom.xml deleted file mode 100644 index 588d748d446b..000000000000 --- a/java-iam/grpc-google-iam-v2beta/pom.xml +++ /dev/null @@ -1,69 +0,0 @@ - - 4.0.0 - com.google.api.grpc - grpc-google-iam-v2beta - 1.6.24-SNAPSHOT - grpc-google-iam-v2beta - GRPC library for proto-google-iam-v1 - - com.google.cloud - google-iam-parent - 1.6.24-SNAPSHOT - - - - io.grpc - grpc-api - - - io.grpc - grpc-stub - - - io.grpc - grpc-protobuf - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - com.google.api.grpc - proto-google-iam-v2beta - - - com.google.guava - guava - - - - - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - \ No newline at end of file diff --git a/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java deleted file mode 100644 index 57458d9ec771..000000000000 --- a/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java +++ /dev/null @@ -1,815 +0,0 @@ -/* - * 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. - */ -package com.google.iam.v2beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
    - * An interface for managing Identity and Access Management (IAM) policies.
    - * 
    - */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/iam/v2beta/policy.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class PoliciesGrpc { - - private PoliciesGrpc() {} - - public static final String SERVICE_NAME = "google.iam.v2beta.Policies"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2beta.ListPoliciesRequest, com.google.iam.v2beta.ListPoliciesResponse> - getListPoliciesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPolicies", - requestType = com.google.iam.v2beta.ListPoliciesRequest.class, - responseType = com.google.iam.v2beta.ListPoliciesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2beta.ListPoliciesRequest, com.google.iam.v2beta.ListPoliciesResponse> - getListPoliciesMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2beta.ListPoliciesRequest, com.google.iam.v2beta.ListPoliciesResponse> - getListPoliciesMethod; - if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getListPoliciesMethod = PoliciesGrpc.getListPoliciesMethod) == null) { - PoliciesGrpc.getListPoliciesMethod = - getListPoliciesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPolicies")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2beta.ListPoliciesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2beta.ListPoliciesResponse.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("ListPolicies")) - .build(); - } - } - } - return getListPoliciesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2beta.GetPolicyRequest, com.google.iam.v2beta.Policy> - getGetPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicy", - requestType = com.google.iam.v2beta.GetPolicyRequest.class, - responseType = com.google.iam.v2beta.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2beta.GetPolicyRequest, com.google.iam.v2beta.Policy> - getGetPolicyMethod() { - io.grpc.MethodDescriptor - getGetPolicyMethod; - if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getGetPolicyMethod = PoliciesGrpc.getGetPolicyMethod) == null) { - PoliciesGrpc.getGetPolicyMethod = - getGetPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2beta.GetPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2beta.Policy.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("GetPolicy")) - .build(); - } - } - } - return getGetPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation> - getCreatePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreatePolicy", - requestType = com.google.iam.v2beta.CreatePolicyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation> - getCreatePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation> - getCreatePolicyMethod; - if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getCreatePolicyMethod = PoliciesGrpc.getCreatePolicyMethod) == null) { - PoliciesGrpc.getCreatePolicyMethod = - getCreatePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2beta.CreatePolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("CreatePolicy")) - .build(); - } - } - } - return getCreatePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation> - getUpdatePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", - requestType = com.google.iam.v2beta.UpdatePolicyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation> - getUpdatePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation> - getUpdatePolicyMethod; - if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getUpdatePolicyMethod = PoliciesGrpc.getUpdatePolicyMethod) == null) { - PoliciesGrpc.getUpdatePolicyMethod = - getUpdatePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2beta.UpdatePolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("UpdatePolicy")) - .build(); - } - } - } - return getUpdatePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation> - getDeletePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePolicy", - requestType = com.google.iam.v2beta.DeletePolicyRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation> - getDeletePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation> - getDeletePolicyMethod; - if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { - synchronized (PoliciesGrpc.class) { - if ((getDeletePolicyMethod = PoliciesGrpc.getDeletePolicyMethod) == null) { - PoliciesGrpc.getDeletePolicyMethod = - getDeletePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v2beta.DeletePolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new PoliciesMethodDescriptorSupplier("DeletePolicy")) - .build(); - } - } - } - return getDeletePolicyMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static PoliciesStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PoliciesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesStub(channel, callOptions); - } - }; - return PoliciesStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static PoliciesBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PoliciesBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesBlockingStub(channel, callOptions); - } - }; - return PoliciesBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static PoliciesFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public PoliciesFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesFutureStub(channel, callOptions); - } - }; - return PoliciesFutureStub.newStub(factory, channel); - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public abstract static class PoliciesImplBase implements io.grpc.BindableService { - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public void listPolicies( - com.google.iam.v2beta.ListPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPoliciesMethod(), responseObserver); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public void getPolicy( - com.google.iam.v2beta.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public void createPolicy( - com.google.iam.v2beta.CreatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreatePolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public void updatePolicy( - com.google.iam.v2beta.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePolicyMethod(), responseObserver); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public void deletePolicy( - com.google.iam.v2beta.DeletePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePolicyMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListPoliciesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2beta.ListPoliciesRequest, - com.google.iam.v2beta.ListPoliciesResponse>(this, METHODID_LIST_POLICIES))) - .addMethod( - getGetPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2beta.GetPolicyRequest, com.google.iam.v2beta.Policy>( - this, METHODID_GET_POLICY))) - .addMethod( - getCreatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2beta.CreatePolicyRequest, com.google.longrunning.Operation>( - this, METHODID_CREATE_POLICY))) - .addMethod( - getUpdatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2beta.UpdatePolicyRequest, com.google.longrunning.Operation>( - this, METHODID_UPDATE_POLICY))) - .addMethod( - getDeletePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v2beta.DeletePolicyRequest, com.google.longrunning.Operation>( - this, METHODID_DELETE_POLICY))) - .build(); - } - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public static final class PoliciesStub extends io.grpc.stub.AbstractAsyncStub { - private PoliciesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PoliciesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesStub(channel, callOptions); - } - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public void listPolicies( - com.google.iam.v2beta.ListPoliciesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPoliciesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public void getPolicy( - com.google.iam.v2beta.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public void createPolicy( - com.google.iam.v2beta.CreatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public void updatePolicy( - com.google.iam.v2beta.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public void deletePolicy( - com.google.iam.v2beta.DeletePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public static final class PoliciesBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private PoliciesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PoliciesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesBlockingStub(channel, callOptions); - } - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public com.google.iam.v2beta.ListPoliciesResponse listPolicies( - com.google.iam.v2beta.ListPoliciesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPoliciesMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public com.google.longrunning.Operation createPolicy( - com.google.iam.v2beta.CreatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public com.google.longrunning.Operation updatePolicy( - com.google.iam.v2beta.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public com.google.longrunning.Operation deletePolicy( - com.google.iam.v2beta.DeletePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePolicyMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
    -   * An interface for managing Identity and Access Management (IAM) policies.
    -   * 
    - */ - public static final class PoliciesFutureStub - extends io.grpc.stub.AbstractFutureStub { - private PoliciesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected PoliciesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new PoliciesFutureStub(channel, callOptions); - } - - /** - * - * - *
    -     * Retrieves the policies of the specified kind that are attached to a
    -     * resource.
    -     * The response lists only policy metadata. In particular, policy rules are
    -     * omitted.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v2beta.ListPoliciesResponse> - listPolicies(com.google.iam.v2beta.ListPoliciesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPoliciesMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Gets a policy.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - getPolicy(com.google.iam.v2beta.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Creates a policy.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - createPolicy(com.google.iam.v2beta.CreatePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreatePolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Updates the specified policy.
    -     * You can update only the rules and the display name for the policy.
    -     * To update a policy, you should use a read-modify-write loop:
    -     * 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy.
    -     * 2. Modify the policy as needed.
    -     * 3. Use `UpdatePolicy` to write the updated policy.
    -     * This pattern helps prevent conflicts between concurrent updates.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - updatePolicy(com.google.iam.v2beta.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
    -     * Deletes a policy. This action is permanent.
    -     * 
    - */ - public com.google.common.util.concurrent.ListenableFuture - deletePolicy(com.google.iam.v2beta.DeletePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePolicyMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_POLICIES = 0; - private static final int METHODID_GET_POLICY = 1; - private static final int METHODID_CREATE_POLICY = 2; - private static final int METHODID_UPDATE_POLICY = 3; - private static final int METHODID_DELETE_POLICY = 4; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final PoliciesImplBase serviceImpl; - private final int methodId; - - MethodHandlers(PoliciesImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_POLICIES: - serviceImpl.listPolicies( - (com.google.iam.v2beta.ListPoliciesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_POLICY: - serviceImpl.getPolicy( - (com.google.iam.v2beta.GetPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_POLICY: - serviceImpl.createPolicy( - (com.google.iam.v2beta.CreatePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_POLICY: - serviceImpl.updatePolicy( - (com.google.iam.v2beta.UpdatePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_POLICY: - serviceImpl.deletePolicy( - (com.google.iam.v2beta.DeletePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class PoliciesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - PoliciesBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.iam.v2beta.PolicyProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Policies"); - } - } - - private static final class PoliciesFileDescriptorSupplier extends PoliciesBaseDescriptorSupplier { - PoliciesFileDescriptorSupplier() {} - } - - private static final class PoliciesMethodDescriptorSupplier extends PoliciesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - PoliciesMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (PoliciesGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new PoliciesFileDescriptorSupplier()) - .addMethod(getListPoliciesMethod()) - .addMethod(getGetPolicyMethod()) - .addMethod(getCreatePolicyMethod()) - .addMethod(getUpdatePolicyMethod()) - .addMethod(getDeletePolicyMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 5736ae2e8c27..c0e44682ac51 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -2,10 +2,10 @@ 4.0.0 com.google.cloud - google-iam-parent + google-iam-policy-parent pom - 1.6.24-SNAPSHOT - Google IAM Parent + 1.6.24-SNAPSHOT + Google IAM Policy Parent https://github.com/googleapis/java-iam Java idiomatic client for Google Cloud Platform services. @@ -68,58 +68,12 @@ - com.google.protobuf - protobuf-bom - 3.21.12 - pom - import - - - com.google.cloud google-cloud-shared-dependencies - 3.1.0 + 3.1.1 pom import - - com.google.api.grpc - proto-google-iam-v2 - 1.6.24-SNAPSHOT - - - com.google.api.grpc - grpc-google-iam-v2 - 1.6.24-SNAPSHOT - - - com.google.cloud - google-iam-policy - 1.6.24-SNAPSHOT - - - com.google.api.grpc - proto-google-iam-v2beta - 1.6.24-SNAPSHOT - - - com.google.api.grpc - grpc-google-iam-v1 - 1.6.24-SNAPSHOT - - - com.google.api.grpc - grpc-google-iam-v2beta - 1.6.24-SNAPSHOT - - - com.google.api.grpc - proto-google-iam-v1 - 1.6.24-SNAPSHOT - - junit junit @@ -130,12 +84,6 @@ - proto-google-iam-v1 - grpc-google-iam-v2beta - grpc-google-iam-v2 - proto-google-iam-v2beta - proto-google-iam-v2 - grpc-google-iam-v1 google-iam-policy diff --git a/java-iam/proto-google-iam-v1/LICENSE b/java-iam/proto-google-iam-v1/LICENSE deleted file mode 100644 index a8ee855de2aa..000000000000 --- a/java-iam/proto-google-iam-v1/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - https://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/java-iam/proto-google-iam-v1/build.gradle b/java-iam/proto-google-iam-v1/build.gradle deleted file mode 100644 index e0640cd5d192..000000000000 --- a/java-iam/proto-google-iam-v1/build.gradle +++ /dev/null @@ -1,52 +0,0 @@ -buildscript { - repositories { - mavenCentral() - } -} - -apply plugin: 'java' - -description = 'PROTO library for proto-google-iam-v1' -group = 'com.google.api.grpc' -version = "0.13.0" -sourceCompatibility = 1.7 -targetCompatibility = 1.7 - -repositories { - mavenCentral() - mavenLocal() -} - -dependencies { - compile 'com.google.protobuf:protobuf-java:3.21.12' - compile 'com.google.api:api-common:2.3.1' - compile project(':proto-google-common-protos') -} - -sourceSets { - main { - resources { - srcDir 'src/main/proto' - } - java { - srcDir 'src/main/java' - } - } -} - -task javadocJar(type: Jar) { - classifier = 'javadoc' - from javadoc -} - -task sourcesJar(type: Jar) { - classifier = 'sources' - from sourceSets.main.allSource -} - -artifacts { - archives javadocJar, sourcesJar -} - -compileJava.options.encoding = 'UTF-8' -javadoc.options.encoding = 'UTF-8' \ No newline at end of file diff --git a/java-iam/proto-google-iam-v1/clirr-ignored-differences.xml b/java-iam/proto-google-iam-v1/clirr-ignored-differences.xml deleted file mode 100644 index ca6f8c198141..000000000000 --- a/java-iam/proto-google-iam-v1/clirr-ignored-differences.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - 7012 - com/google/iam/v1/*OrBuilder - * get*(*) - - - 7012 - com/google/iam/v1/*OrBuilder - boolean contains*(*) - - - 7012 - com/google/iam/v1/*OrBuilder - boolean has*(*) - - 7012 - com/google/iam/v1/logging/*OrBuilder - * get*(*) - - - 7012 - com/google/iam/v1/logging/*OrBuilder - boolean contains*(*) - - - 7012 - com/google/iam/v1/logging/*OrBuilder - boolean has*(*) - - diff --git a/java-iam/proto-google-iam-v1/pom.xml b/java-iam/proto-google-iam-v1/pom.xml deleted file mode 100644 index cb149091e627..000000000000 --- a/java-iam/proto-google-iam-v1/pom.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - 4.0.0 - com.google.api.grpc - proto-google-iam-v1 - 1.6.24-SNAPSHOT - proto-google-iam-v1 - PROTO library for proto-google-iam-v1 - - com.google.cloud - google-iam-parent - 1.6.24-SNAPSHOT - - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - 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 deleted file mode 100644 index 7d07f32436f0..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfig.java +++ /dev/null @@ -1,1204 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Specifies the audit configuration for a service.
    - * 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": [
    - *         {
    - *           "service": "allServices",
    - *           "audit_log_configs": [
    - *             {
    - *               "log_type": "DATA_READ",
    - *               "exempted_members": [
    - *                 "user:jose@example.com"
    - *               ]
    - *             },
    - *             {
    - *               "log_type": "DATA_WRITE"
    - *             },
    - *             {
    - *               "log_type": "ADMIN_READ"
    - *             }
    - *           ]
    - *         },
    - *         {
    - *           "service": "sampleservice.googleapis.com",
    - *           "audit_log_configs": [
    - *             {
    - *               "log_type": "DATA_READ"
    - *             },
    - *             {
    - *               "log_type": "DATA_WRITE",
    - *               "exempted_members": [
    - *                 "user:aliya@example.com"
    - *               ]
    - *             }
    - *           ]
    - *         }
    - *       ]
    - *     }
    - * 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.
    - * 
    - * - * Protobuf type {@code google.iam.v1.AuditConfig} - */ -public final class AuditConfig extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.AuditConfig) - AuditConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use AuditConfig.newBuilder() to construct. - private AuditConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AuditConfig() { - service_ = ""; - auditLogConfigs_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.AuditConfig.class, com.google.iam.v1.AuditConfig.Builder.class); - } - - public static final int SERVICE_FIELD_NUMBER = 1; - private volatile java.lang.Object service_; - /** - * - * - *
    -   * Specifies a service that will be enabled for audit logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * 
    - * - * string service = 1; - * - * @return The service. - */ - @java.lang.Override - public java.lang.String getService() { - java.lang.Object ref = service_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - service_ = s; - return s; - } - } - /** - * - * - *
    -   * Specifies a service that will be enabled for audit logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * 
    - * - * string service = 1; - * - * @return The bytes for service. - */ - @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { - java.lang.Object ref = service_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - service_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int AUDIT_LOG_CONFIGS_FIELD_NUMBER = 3; - private java.util.List auditLogConfigs_; - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - @java.lang.Override - public java.util.List getAuditLogConfigsList() { - return auditLogConfigs_; - } - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - @java.lang.Override - public java.util.List - getAuditLogConfigsOrBuilderList() { - return auditLogConfigs_; - } - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - @java.lang.Override - public int getAuditLogConfigsCount() { - return auditLogConfigs_.size(); - } - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - @java.lang.Override - public com.google.iam.v1.AuditLogConfig getAuditLogConfigs(int index) { - return auditLogConfigs_.get(index); - } - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - @java.lang.Override - public com.google.iam.v1.AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index) { - return auditLogConfigs_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); - } - for (int i = 0; i < auditLogConfigs_.size(); i++) { - output.writeMessage(3, auditLogConfigs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, service_); - } - for (int i = 0; i < auditLogConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, auditLogConfigs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.AuditConfig)) { - return super.equals(obj); - } - com.google.iam.v1.AuditConfig other = (com.google.iam.v1.AuditConfig) obj; - - if (!getService().equals(other.getService())) return false; - if (!getAuditLogConfigsList().equals(other.getAuditLogConfigsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + SERVICE_FIELD_NUMBER; - hash = (53 * hash) + getService().hashCode(); - if (getAuditLogConfigsCount() > 0) { - hash = (37 * hash) + AUDIT_LOG_CONFIGS_FIELD_NUMBER; - hash = (53 * hash) + getAuditLogConfigsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.AuditConfig parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfig parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfig parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.AuditConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Specifies the audit configuration for a service.
    -   * 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": [
    -   *         {
    -   *           "service": "allServices",
    -   *           "audit_log_configs": [
    -   *             {
    -   *               "log_type": "DATA_READ",
    -   *               "exempted_members": [
    -   *                 "user:jose@example.com"
    -   *               ]
    -   *             },
    -   *             {
    -   *               "log_type": "DATA_WRITE"
    -   *             },
    -   *             {
    -   *               "log_type": "ADMIN_READ"
    -   *             }
    -   *           ]
    -   *         },
    -   *         {
    -   *           "service": "sampleservice.googleapis.com",
    -   *           "audit_log_configs": [
    -   *             {
    -   *               "log_type": "DATA_READ"
    -   *             },
    -   *             {
    -   *               "log_type": "DATA_WRITE",
    -   *               "exempted_members": [
    -   *                 "user:aliya@example.com"
    -   *               ]
    -   *             }
    -   *           ]
    -   *         }
    -   *       ]
    -   *     }
    -   * 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.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.AuditConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.AuditConfig) - com.google.iam.v1.AuditConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.AuditConfig.class, com.google.iam.v1.AuditConfig.Builder.class); - } - - // Construct using com.google.iam.v1.AuditConfig.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - service_ = ""; - - if (auditLogConfigsBuilder_ == null) { - auditLogConfigs_ = java.util.Collections.emptyList(); - } else { - auditLogConfigs_ = null; - auditLogConfigsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditConfig_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.AuditConfig getDefaultInstanceForType() { - return com.google.iam.v1.AuditConfig.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.AuditConfig build() { - com.google.iam.v1.AuditConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.AuditConfig buildPartial() { - com.google.iam.v1.AuditConfig result = new com.google.iam.v1.AuditConfig(this); - int from_bitField0_ = bitField0_; - result.service_ = service_; - if (auditLogConfigsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - auditLogConfigs_ = java.util.Collections.unmodifiableList(auditLogConfigs_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.auditLogConfigs_ = auditLogConfigs_; - } else { - result.auditLogConfigs_ = auditLogConfigsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.AuditConfig) { - return mergeFrom((com.google.iam.v1.AuditConfig) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.AuditConfig other) { - if (other == com.google.iam.v1.AuditConfig.getDefaultInstance()) return this; - if (!other.getService().isEmpty()) { - service_ = other.service_; - onChanged(); - } - if (auditLogConfigsBuilder_ == null) { - if (!other.auditLogConfigs_.isEmpty()) { - if (auditLogConfigs_.isEmpty()) { - auditLogConfigs_ = other.auditLogConfigs_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.addAll(other.auditLogConfigs_); - } - onChanged(); - } - } else { - if (!other.auditLogConfigs_.isEmpty()) { - if (auditLogConfigsBuilder_.isEmpty()) { - auditLogConfigsBuilder_.dispose(); - auditLogConfigsBuilder_ = null; - auditLogConfigs_ = other.auditLogConfigs_; - bitField0_ = (bitField0_ & ~0x00000001); - auditLogConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAuditLogConfigsFieldBuilder() - : null; - } else { - auditLogConfigsBuilder_.addAllMessages(other.auditLogConfigs_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - service_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 26: - { - com.google.iam.v1.AuditLogConfig m = - input.readMessage(com.google.iam.v1.AuditLogConfig.parser(), extensionRegistry); - if (auditLogConfigsBuilder_ == null) { - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.add(m); - } else { - auditLogConfigsBuilder_.addMessage(m); - } - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object service_ = ""; - /** - * - * - *
    -     * Specifies a service that will be enabled for audit logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * 
    - * - * string service = 1; - * - * @return The service. - */ - public java.lang.String getService() { - java.lang.Object ref = service_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - service_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Specifies a service that will be enabled for audit logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * 
    - * - * string service = 1; - * - * @return The bytes for service. - */ - public com.google.protobuf.ByteString getServiceBytes() { - java.lang.Object ref = service_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - service_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Specifies a service that will be enabled for audit logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * 
    - * - * string service = 1; - * - * @param value The service to set. - * @return This builder for chaining. - */ - public Builder setService(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - service_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies a service that will be enabled for audit logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * 
    - * - * string service = 1; - * - * @return This builder for chaining. - */ - public Builder clearService() { - - service_ = getDefaultInstance().getService(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies a service that will be enabled for audit logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * 
    - * - * string service = 1; - * - * @param value The bytes for service to set. - * @return This builder for chaining. - */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - service_ = value; - onChanged(); - return this; - } - - private java.util.List auditLogConfigs_ = - java.util.Collections.emptyList(); - - private void ensureAuditLogConfigsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - auditLogConfigs_ = - new java.util.ArrayList(auditLogConfigs_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditLogConfig, - com.google.iam.v1.AuditLogConfig.Builder, - com.google.iam.v1.AuditLogConfigOrBuilder> - auditLogConfigsBuilder_; - - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public java.util.List getAuditLogConfigsList() { - if (auditLogConfigsBuilder_ == null) { - return java.util.Collections.unmodifiableList(auditLogConfigs_); - } else { - return auditLogConfigsBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public int getAuditLogConfigsCount() { - if (auditLogConfigsBuilder_ == null) { - return auditLogConfigs_.size(); - } else { - return auditLogConfigsBuilder_.getCount(); - } - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public com.google.iam.v1.AuditLogConfig getAuditLogConfigs(int index) { - if (auditLogConfigsBuilder_ == null) { - return auditLogConfigs_.get(index); - } else { - return auditLogConfigsBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder setAuditLogConfigs(int index, com.google.iam.v1.AuditLogConfig value) { - if (auditLogConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.set(index, value); - onChanged(); - } else { - auditLogConfigsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder setAuditLogConfigs( - int index, com.google.iam.v1.AuditLogConfig.Builder builderForValue) { - if (auditLogConfigsBuilder_ == null) { - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.set(index, builderForValue.build()); - onChanged(); - } else { - auditLogConfigsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder addAuditLogConfigs(com.google.iam.v1.AuditLogConfig value) { - if (auditLogConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.add(value); - onChanged(); - } else { - auditLogConfigsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder addAuditLogConfigs(int index, com.google.iam.v1.AuditLogConfig value) { - if (auditLogConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.add(index, value); - onChanged(); - } else { - auditLogConfigsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder addAuditLogConfigs(com.google.iam.v1.AuditLogConfig.Builder builderForValue) { - if (auditLogConfigsBuilder_ == null) { - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.add(builderForValue.build()); - onChanged(); - } else { - auditLogConfigsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder addAuditLogConfigs( - int index, com.google.iam.v1.AuditLogConfig.Builder builderForValue) { - if (auditLogConfigsBuilder_ == null) { - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.add(index, builderForValue.build()); - onChanged(); - } else { - auditLogConfigsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder addAllAuditLogConfigs( - java.lang.Iterable values) { - if (auditLogConfigsBuilder_ == null) { - ensureAuditLogConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auditLogConfigs_); - onChanged(); - } else { - auditLogConfigsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder clearAuditLogConfigs() { - if (auditLogConfigsBuilder_ == null) { - auditLogConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - auditLogConfigsBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public Builder removeAuditLogConfigs(int index) { - if (auditLogConfigsBuilder_ == null) { - ensureAuditLogConfigsIsMutable(); - auditLogConfigs_.remove(index); - onChanged(); - } else { - auditLogConfigsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public com.google.iam.v1.AuditLogConfig.Builder getAuditLogConfigsBuilder(int index) { - return getAuditLogConfigsFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public com.google.iam.v1.AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index) { - if (auditLogConfigsBuilder_ == null) { - return auditLogConfigs_.get(index); - } else { - return auditLogConfigsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public java.util.List - getAuditLogConfigsOrBuilderList() { - if (auditLogConfigsBuilder_ != null) { - return auditLogConfigsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(auditLogConfigs_); - } - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public com.google.iam.v1.AuditLogConfig.Builder addAuditLogConfigsBuilder() { - return getAuditLogConfigsFieldBuilder() - .addBuilder(com.google.iam.v1.AuditLogConfig.getDefaultInstance()); - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public com.google.iam.v1.AuditLogConfig.Builder addAuditLogConfigsBuilder(int index) { - return getAuditLogConfigsFieldBuilder() - .addBuilder(index, com.google.iam.v1.AuditLogConfig.getDefaultInstance()); - } - /** - * - * - *
    -     * The configuration for logging of each type of permission.
    -     * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - public java.util.List - getAuditLogConfigsBuilderList() { - return getAuditLogConfigsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditLogConfig, - com.google.iam.v1.AuditLogConfig.Builder, - com.google.iam.v1.AuditLogConfigOrBuilder> - getAuditLogConfigsFieldBuilder() { - if (auditLogConfigsBuilder_ == null) { - auditLogConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditLogConfig, - com.google.iam.v1.AuditLogConfig.Builder, - com.google.iam.v1.AuditLogConfigOrBuilder>( - auditLogConfigs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - auditLogConfigs_ = null; - } - return auditLogConfigsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.AuditConfig) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.AuditConfig) - private static final com.google.iam.v1.AuditConfig DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.AuditConfig(); - } - - public static com.google.iam.v1.AuditConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.AuditConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 622b64143c1c..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDelta.java +++ /dev/null @@ -1,1330 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * One delta entry for AuditConfig. Each individual change (only one
    - * exempted_member in each entry) to a AuditConfig will be a separate entry.
    - * 
    - * - * Protobuf type {@code google.iam.v1.AuditConfigDelta} - */ -public final class AuditConfigDelta extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.AuditConfigDelta) - AuditConfigDeltaOrBuilder { - private static final long serialVersionUID = 0L; - // Use AuditConfigDelta.newBuilder() to construct. - private AuditConfigDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AuditConfigDelta() { - action_ = 0; - service_ = ""; - exemptedMember_ = ""; - logType_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.AuditConfigDelta.class, - com.google.iam.v1.AuditConfigDelta.Builder.class); - } - - /** - * - * - *
    -   * The type of action performed on an audit configuration in a policy.
    -   * 
    - * - * Protobuf enum {@code google.iam.v1.AuditConfigDelta.Action} - */ - public enum Action implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
    -     * Unspecified.
    -     * 
    - * - * ACTION_UNSPECIFIED = 0; - */ - ACTION_UNSPECIFIED(0), - /** - * - * - *
    -     * Addition of an audit configuration.
    -     * 
    - * - * ADD = 1; - */ - ADD(1), - /** - * - * - *
    -     * Removal of an audit configuration.
    -     * 
    - * - * REMOVE = 2; - */ - REMOVE(2), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
    -     * Unspecified.
    -     * 
    - * - * ACTION_UNSPECIFIED = 0; - */ - public static final int ACTION_UNSPECIFIED_VALUE = 0; - /** - * - * - *
    -     * Addition of an audit configuration.
    -     * 
    - * - * ADD = 1; - */ - public static final int ADD_VALUE = 1; - /** - * - * - *
    -     * Removal of an audit configuration.
    -     * 
    - * - * REMOVE = 2; - */ - public static final int REMOVE_VALUE = 2; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Action valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Action forNumber(int value) { - switch (value) { - case 0: - return ACTION_UNSPECIFIED; - case 1: - return ADD; - case 2: - return REMOVE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Action findValueByNumber(int number) { - return Action.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.iam.v1.AuditConfigDelta.getDescriptor().getEnumTypes().get(0); - } - - private static final Action[] VALUES = values(); - - public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Action(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.iam.v1.AuditConfigDelta.Action) - } - - public static final int ACTION_FIELD_NUMBER = 1; - private int action_; - /** - * - * - *
    -   * The action that was performed on an audit configuration in a policy.
    -   * Required
    -   * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @return The enum numeric value on the wire for action. - */ - @java.lang.Override - public int getActionValue() { - return action_; - } - /** - * - * - *
    -   * The action that was performed on an audit configuration in a policy.
    -   * Required
    -   * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @return The action. - */ - @java.lang.Override - public com.google.iam.v1.AuditConfigDelta.Action getAction() { - @SuppressWarnings("deprecation") - com.google.iam.v1.AuditConfigDelta.Action result = - com.google.iam.v1.AuditConfigDelta.Action.valueOf(action_); - return result == null ? com.google.iam.v1.AuditConfigDelta.Action.UNRECOGNIZED : result; - } - - public static final int SERVICE_FIELD_NUMBER = 2; - private volatile java.lang.Object service_; - /** - * - * - *
    -   * Specifies a service that was configured for Cloud Audit Logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * Required
    -   * 
    - * - * string service = 2; - * - * @return The service. - */ - @java.lang.Override - public java.lang.String getService() { - java.lang.Object ref = service_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - service_ = s; - return s; - } - } - /** - * - * - *
    -   * Specifies a service that was configured for Cloud Audit Logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * Required
    -   * 
    - * - * string service = 2; - * - * @return The bytes for service. - */ - @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { - java.lang.Object ref = service_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - service_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int EXEMPTED_MEMBER_FIELD_NUMBER = 3; - private volatile java.lang.Object exemptedMember_; - /** - * - * - *
    -   * A single identity that is exempted from "data access" audit
    -   * logging for the `service` specified above.
    -   * Follows the same format of Binding.members.
    -   * 
    - * - * string exempted_member = 3; - * - * @return The exemptedMember. - */ - @java.lang.Override - public java.lang.String getExemptedMember() { - java.lang.Object ref = exemptedMember_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - exemptedMember_ = s; - return s; - } - } - /** - * - * - *
    -   * A single identity that is exempted from "data access" audit
    -   * logging for the `service` specified above.
    -   * Follows the same format of Binding.members.
    -   * 
    - * - * string exempted_member = 3; - * - * @return The bytes for exemptedMember. - */ - @java.lang.Override - public com.google.protobuf.ByteString getExemptedMemberBytes() { - java.lang.Object ref = exemptedMember_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - exemptedMember_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LOG_TYPE_FIELD_NUMBER = 4; - private volatile java.lang.Object logType_; - /** - * - * - *
    -   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -   * enabled, and cannot be configured.
    -   * Required
    -   * 
    - * - * string log_type = 4; - * - * @return The logType. - */ - @java.lang.Override - public java.lang.String getLogType() { - java.lang.Object ref = logType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logType_ = s; - return s; - } - } - /** - * - * - *
    -   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -   * enabled, and cannot be configured.
    -   * Required
    -   * 
    - * - * string log_type = 4; - * - * @return The bytes for logType. - */ - @java.lang.Override - public com.google.protobuf.ByteString getLogTypeBytes() { - java.lang.Object ref = logType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - logType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) { - output.writeEnum(1, action_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exemptedMember_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, exemptedMember_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logType_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (action_ != com.google.iam.v1.AuditConfigDelta.Action.ACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(exemptedMember_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, exemptedMember_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logType_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.AuditConfigDelta)) { - return super.equals(obj); - } - com.google.iam.v1.AuditConfigDelta other = (com.google.iam.v1.AuditConfigDelta) obj; - - if (action_ != other.action_) return false; - if (!getService().equals(other.getService())) return false; - if (!getExemptedMember().equals(other.getExemptedMember())) return false; - if (!getLogType().equals(other.getLogType())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ACTION_FIELD_NUMBER; - hash = (53 * hash) + action_; - hash = (37 * hash) + SERVICE_FIELD_NUMBER; - hash = (53 * hash) + getService().hashCode(); - hash = (37 * hash) + EXEMPTED_MEMBER_FIELD_NUMBER; - hash = (53 * hash) + getExemptedMember().hashCode(); - hash = (37 * hash) + LOG_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getLogType().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfigDelta parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditConfigDelta parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditConfigDelta parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.AuditConfigDelta prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * One delta entry for AuditConfig. Each individual change (only one
    -   * exempted_member in each entry) to a AuditConfig will be a separate entry.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.AuditConfigDelta} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.AuditConfigDelta) - com.google.iam.v1.AuditConfigDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditConfigDelta_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.AuditConfigDelta.class, - com.google.iam.v1.AuditConfigDelta.Builder.class); - } - - // Construct using com.google.iam.v1.AuditConfigDelta.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - action_ = 0; - - service_ = ""; - - exemptedMember_ = ""; - - logType_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditConfigDelta_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.AuditConfigDelta getDefaultInstanceForType() { - return com.google.iam.v1.AuditConfigDelta.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.AuditConfigDelta build() { - com.google.iam.v1.AuditConfigDelta result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.AuditConfigDelta buildPartial() { - com.google.iam.v1.AuditConfigDelta result = new com.google.iam.v1.AuditConfigDelta(this); - result.action_ = action_; - result.service_ = service_; - result.exemptedMember_ = exemptedMember_; - result.logType_ = logType_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.AuditConfigDelta) { - return mergeFrom((com.google.iam.v1.AuditConfigDelta) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.AuditConfigDelta other) { - if (other == com.google.iam.v1.AuditConfigDelta.getDefaultInstance()) return this; - if (other.action_ != 0) { - setActionValue(other.getActionValue()); - } - if (!other.getService().isEmpty()) { - service_ = other.service_; - onChanged(); - } - if (!other.getExemptedMember().isEmpty()) { - exemptedMember_ = other.exemptedMember_; - onChanged(); - } - if (!other.getLogType().isEmpty()) { - logType_ = other.logType_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - action_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - service_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - exemptedMember_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - logType_ = input.readStringRequireUtf8(); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int action_ = 0; - /** - * - * - *
    -     * The action that was performed on an audit configuration in a policy.
    -     * Required
    -     * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @return The enum numeric value on the wire for action. - */ - @java.lang.Override - public int getActionValue() { - return action_; - } - /** - * - * - *
    -     * The action that was performed on an audit configuration in a policy.
    -     * Required
    -     * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @param value The enum numeric value on the wire for action to set. - * @return This builder for chaining. - */ - public Builder setActionValue(int value) { - - action_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * The action that was performed on an audit configuration in a policy.
    -     * Required
    -     * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @return The action. - */ - @java.lang.Override - public com.google.iam.v1.AuditConfigDelta.Action getAction() { - @SuppressWarnings("deprecation") - com.google.iam.v1.AuditConfigDelta.Action result = - com.google.iam.v1.AuditConfigDelta.Action.valueOf(action_); - return result == null ? com.google.iam.v1.AuditConfigDelta.Action.UNRECOGNIZED : result; - } - /** - * - * - *
    -     * The action that was performed on an audit configuration in a policy.
    -     * Required
    -     * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @param value The action to set. - * @return This builder for chaining. - */ - public Builder setAction(com.google.iam.v1.AuditConfigDelta.Action value) { - if (value == null) { - throw new NullPointerException(); - } - - action_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
    -     * The action that was performed on an audit configuration in a policy.
    -     * Required
    -     * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @return This builder for chaining. - */ - public Builder clearAction() { - - action_ = 0; - onChanged(); - return this; - } - - private java.lang.Object service_ = ""; - /** - * - * - *
    -     * Specifies a service that was configured for Cloud Audit Logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * Required
    -     * 
    - * - * string service = 2; - * - * @return The service. - */ - public java.lang.String getService() { - java.lang.Object ref = service_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - service_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Specifies a service that was configured for Cloud Audit Logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * Required
    -     * 
    - * - * string service = 2; - * - * @return The bytes for service. - */ - public com.google.protobuf.ByteString getServiceBytes() { - java.lang.Object ref = service_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - service_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Specifies a service that was configured for Cloud Audit Logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * Required
    -     * 
    - * - * string service = 2; - * - * @param value The service to set. - * @return This builder for chaining. - */ - public Builder setService(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - service_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies a service that was configured for Cloud Audit Logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * Required
    -     * 
    - * - * string service = 2; - * - * @return This builder for chaining. - */ - public Builder clearService() { - - service_ = getDefaultInstance().getService(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies a service that was configured for Cloud Audit Logging.
    -     * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -     * `allServices` is a special value that covers all services.
    -     * Required
    -     * 
    - * - * string service = 2; - * - * @param value The bytes for service to set. - * @return This builder for chaining. - */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - service_ = value; - onChanged(); - return this; - } - - private java.lang.Object exemptedMember_ = ""; - /** - * - * - *
    -     * A single identity that is exempted from "data access" audit
    -     * logging for the `service` specified above.
    -     * Follows the same format of Binding.members.
    -     * 
    - * - * string exempted_member = 3; - * - * @return The exemptedMember. - */ - public java.lang.String getExemptedMember() { - java.lang.Object ref = exemptedMember_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - exemptedMember_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A single identity that is exempted from "data access" audit
    -     * logging for the `service` specified above.
    -     * Follows the same format of Binding.members.
    -     * 
    - * - * string exempted_member = 3; - * - * @return The bytes for exemptedMember. - */ - public com.google.protobuf.ByteString getExemptedMemberBytes() { - java.lang.Object ref = exemptedMember_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - exemptedMember_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A single identity that is exempted from "data access" audit
    -     * logging for the `service` specified above.
    -     * Follows the same format of Binding.members.
    -     * 
    - * - * string exempted_member = 3; - * - * @param value The exemptedMember to set. - * @return This builder for chaining. - */ - public Builder setExemptedMember(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - exemptedMember_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A single identity that is exempted from "data access" audit
    -     * logging for the `service` specified above.
    -     * Follows the same format of Binding.members.
    -     * 
    - * - * string exempted_member = 3; - * - * @return This builder for chaining. - */ - public Builder clearExemptedMember() { - - exemptedMember_ = getDefaultInstance().getExemptedMember(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A single identity that is exempted from "data access" audit
    -     * logging for the `service` specified above.
    -     * Follows the same format of Binding.members.
    -     * 
    - * - * string exempted_member = 3; - * - * @param value The bytes for exemptedMember to set. - * @return This builder for chaining. - */ - public Builder setExemptedMemberBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - exemptedMember_ = value; - onChanged(); - return this; - } - - private java.lang.Object logType_ = ""; - /** - * - * - *
    -     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -     * enabled, and cannot be configured.
    -     * Required
    -     * 
    - * - * string log_type = 4; - * - * @return The logType. - */ - public java.lang.String getLogType() { - java.lang.Object ref = logType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - logType_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -     * enabled, and cannot be configured.
    -     * Required
    -     * 
    - * - * string log_type = 4; - * - * @return The bytes for logType. - */ - public com.google.protobuf.ByteString getLogTypeBytes() { - java.lang.Object ref = logType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - logType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -     * enabled, and cannot be configured.
    -     * Required
    -     * 
    - * - * string log_type = 4; - * - * @param value The logType to set. - * @return This builder for chaining. - */ - public Builder setLogType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - logType_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -     * enabled, and cannot be configured.
    -     * Required
    -     * 
    - * - * string log_type = 4; - * - * @return This builder for chaining. - */ - public Builder clearLogType() { - - logType_ = getDefaultInstance().getLogType(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -     * enabled, and cannot be configured.
    -     * Required
    -     * 
    - * - * string log_type = 4; - * - * @param value The bytes for logType to set. - * @return This builder for chaining. - */ - public Builder setLogTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - logType_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.AuditConfigDelta) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.AuditConfigDelta) - private static final com.google.iam.v1.AuditConfigDelta DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.AuditConfigDelta(); - } - - public static com.google.iam.v1.AuditConfigDelta getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditConfigDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.AuditConfigDelta getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java deleted file mode 100644 index e1bea6c24477..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigDeltaOrBuilder.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public interface AuditConfigDeltaOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditConfigDelta) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * The action that was performed on an audit configuration in a policy.
    -   * Required
    -   * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @return The enum numeric value on the wire for action. - */ - int getActionValue(); - /** - * - * - *
    -   * The action that was performed on an audit configuration in a policy.
    -   * Required
    -   * 
    - * - * .google.iam.v1.AuditConfigDelta.Action action = 1; - * - * @return The action. - */ - com.google.iam.v1.AuditConfigDelta.Action getAction(); - - /** - * - * - *
    -   * Specifies a service that was configured for Cloud Audit Logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * Required
    -   * 
    - * - * string service = 2; - * - * @return The service. - */ - java.lang.String getService(); - /** - * - * - *
    -   * Specifies a service that was configured for Cloud Audit Logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * Required
    -   * 
    - * - * string service = 2; - * - * @return The bytes for service. - */ - com.google.protobuf.ByteString getServiceBytes(); - - /** - * - * - *
    -   * A single identity that is exempted from "data access" audit
    -   * logging for the `service` specified above.
    -   * Follows the same format of Binding.members.
    -   * 
    - * - * string exempted_member = 3; - * - * @return The exemptedMember. - */ - java.lang.String getExemptedMember(); - /** - * - * - *
    -   * A single identity that is exempted from "data access" audit
    -   * logging for the `service` specified above.
    -   * Follows the same format of Binding.members.
    -   * 
    - * - * string exempted_member = 3; - * - * @return The bytes for exemptedMember. - */ - com.google.protobuf.ByteString getExemptedMemberBytes(); - - /** - * - * - *
    -   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -   * enabled, and cannot be configured.
    -   * Required
    -   * 
    - * - * string log_type = 4; - * - * @return The logType. - */ - java.lang.String getLogType(); - /** - * - * - *
    -   * Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always
    -   * enabled, and cannot be configured.
    -   * Required
    -   * 
    - * - * string log_type = 4; - * - * @return The bytes for logType. - */ - com.google.protobuf.ByteString getLogTypeBytes(); -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java deleted file mode 100644 index 06911aaf2b9c..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditConfigOrBuilder.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public interface AuditConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Specifies a service that will be enabled for audit logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * 
    - * - * string service = 1; - * - * @return The service. - */ - java.lang.String getService(); - /** - * - * - *
    -   * Specifies a service that will be enabled for audit logging.
    -   * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
    -   * `allServices` is a special value that covers all services.
    -   * 
    - * - * string service = 1; - * - * @return The bytes for service. - */ - com.google.protobuf.ByteString getServiceBytes(); - - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - java.util.List getAuditLogConfigsList(); - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - com.google.iam.v1.AuditLogConfig getAuditLogConfigs(int index); - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - int getAuditLogConfigsCount(); - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - java.util.List - getAuditLogConfigsOrBuilderList(); - /** - * - * - *
    -   * The configuration for logging of each type of permission.
    -   * 
    - * - * repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3; - */ - com.google.iam.v1.AuditLogConfigOrBuilder getAuditLogConfigsOrBuilder(int index); -} 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 deleted file mode 100644 index 645f2c04db07..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfig.java +++ /dev/null @@ -1,1089 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Provides the configuration for logging a type of permissions.
    - * Example:
    - *     {
    - *       "audit_log_configs": [
    - *         {
    - *           "log_type": "DATA_READ",
    - *           "exempted_members": [
    - *             "user:jose@example.com"
    - *           ]
    - *         },
    - *         {
    - *           "log_type": "DATA_WRITE"
    - *         }
    - *       ]
    - *     }
    - * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
    - * jose@example.com from DATA_READ logging.
    - * 
    - * - * Protobuf type {@code google.iam.v1.AuditLogConfig} - */ -public final class AuditLogConfig extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.AuditLogConfig) - AuditLogConfigOrBuilder { - private static final long serialVersionUID = 0L; - // Use AuditLogConfig.newBuilder() to construct. - private AuditLogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AuditLogConfig() { - logType_ = 0; - exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.AuditLogConfig.class, com.google.iam.v1.AuditLogConfig.Builder.class); - } - - /** - * - * - *
    -   * The list of valid permission types for which logging can be configured.
    -   * Admin writes are always logged, and are not configurable.
    -   * 
    - * - * Protobuf enum {@code google.iam.v1.AuditLogConfig.LogType} - */ - public enum LogType implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
    -     * Default case. Should never be this.
    -     * 
    - * - * LOG_TYPE_UNSPECIFIED = 0; - */ - LOG_TYPE_UNSPECIFIED(0), - /** - * - * - *
    -     * Admin reads. Example: CloudIAM getIamPolicy
    -     * 
    - * - * ADMIN_READ = 1; - */ - ADMIN_READ(1), - /** - * - * - *
    -     * Data writes. Example: CloudSQL Users create
    -     * 
    - * - * DATA_WRITE = 2; - */ - DATA_WRITE(2), - /** - * - * - *
    -     * Data reads. Example: CloudSQL Users list
    -     * 
    - * - * DATA_READ = 3; - */ - DATA_READ(3), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
    -     * Default case. Should never be this.
    -     * 
    - * - * LOG_TYPE_UNSPECIFIED = 0; - */ - public static final int LOG_TYPE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
    -     * Admin reads. Example: CloudIAM getIamPolicy
    -     * 
    - * - * ADMIN_READ = 1; - */ - public static final int ADMIN_READ_VALUE = 1; - /** - * - * - *
    -     * Data writes. Example: CloudSQL Users create
    -     * 
    - * - * DATA_WRITE = 2; - */ - public static final int DATA_WRITE_VALUE = 2; - /** - * - * - *
    -     * Data reads. Example: CloudSQL Users list
    -     * 
    - * - * DATA_READ = 3; - */ - public static final int DATA_READ_VALUE = 3; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static LogType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static LogType forNumber(int value) { - switch (value) { - case 0: - return LOG_TYPE_UNSPECIFIED; - case 1: - return ADMIN_READ; - case 2: - return DATA_WRITE; - case 3: - return DATA_READ; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LogType findValueByNumber(int number) { - return LogType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.iam.v1.AuditLogConfig.getDescriptor().getEnumTypes().get(0); - } - - private static final LogType[] VALUES = values(); - - public static LogType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private LogType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.iam.v1.AuditLogConfig.LogType) - } - - public static final int LOG_TYPE_FIELD_NUMBER = 1; - private int logType_; - /** - * - * - *
    -   * The log type that this config enables.
    -   * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @return The enum numeric value on the wire for logType. - */ - @java.lang.Override - public int getLogTypeValue() { - return logType_; - } - /** - * - * - *
    -   * The log type that this config enables.
    -   * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @return The logType. - */ - @java.lang.Override - public com.google.iam.v1.AuditLogConfig.LogType getLogType() { - @SuppressWarnings("deprecation") - com.google.iam.v1.AuditLogConfig.LogType result = - com.google.iam.v1.AuditLogConfig.LogType.valueOf(logType_); - return result == null ? com.google.iam.v1.AuditLogConfig.LogType.UNRECOGNIZED : result; - } - - public static final int EXEMPTED_MEMBERS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList exemptedMembers_; - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @return A list containing the exemptedMembers. - */ - public com.google.protobuf.ProtocolStringList getExemptedMembersList() { - return exemptedMembers_; - } - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @return The count of exemptedMembers. - */ - public int getExemptedMembersCount() { - return exemptedMembers_.size(); - } - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @param index The index of the element to return. - * @return The exemptedMembers at the given index. - */ - public java.lang.String getExemptedMembers(int index) { - return exemptedMembers_.get(index); - } - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exemptedMembers at the given index. - */ - public com.google.protobuf.ByteString getExemptedMembersBytes(int index) { - return exemptedMembers_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (logType_ != com.google.iam.v1.AuditLogConfig.LogType.LOG_TYPE_UNSPECIFIED.getNumber()) { - output.writeEnum(1, logType_); - } - for (int i = 0; i < exemptedMembers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exemptedMembers_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (logType_ != com.google.iam.v1.AuditLogConfig.LogType.LOG_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logType_); - } - { - int dataSize = 0; - for (int i = 0; i < exemptedMembers_.size(); i++) { - dataSize += computeStringSizeNoTag(exemptedMembers_.getRaw(i)); - } - size += dataSize; - size += 1 * getExemptedMembersList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.AuditLogConfig)) { - return super.equals(obj); - } - com.google.iam.v1.AuditLogConfig other = (com.google.iam.v1.AuditLogConfig) obj; - - if (logType_ != other.logType_) return false; - if (!getExemptedMembersList().equals(other.getExemptedMembersList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LOG_TYPE_FIELD_NUMBER; - hash = (53 * hash) + logType_; - if (getExemptedMembersCount() > 0) { - hash = (37 * hash) + EXEMPTED_MEMBERS_FIELD_NUMBER; - hash = (53 * hash) + getExemptedMembersList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.AuditLogConfig parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.AuditLogConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditLogConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.AuditLogConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.AuditLogConfig prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Provides the configuration for logging a type of permissions.
    -   * Example:
    -   *     {
    -   *       "audit_log_configs": [
    -   *         {
    -   *           "log_type": "DATA_READ",
    -   *           "exempted_members": [
    -   *             "user:jose@example.com"
    -   *           ]
    -   *         },
    -   *         {
    -   *           "log_type": "DATA_WRITE"
    -   *         }
    -   *       ]
    -   *     }
    -   * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
    -   * jose@example.com from DATA_READ logging.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.AuditLogConfig} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.AuditLogConfig) - com.google.iam.v1.AuditLogConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditLogConfig_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.AuditLogConfig.class, - com.google.iam.v1.AuditLogConfig.Builder.class); - } - - // Construct using com.google.iam.v1.AuditLogConfig.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - logType_ = 0; - - exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_AuditLogConfig_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.AuditLogConfig getDefaultInstanceForType() { - return com.google.iam.v1.AuditLogConfig.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.AuditLogConfig build() { - com.google.iam.v1.AuditLogConfig result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.AuditLogConfig buildPartial() { - com.google.iam.v1.AuditLogConfig result = new com.google.iam.v1.AuditLogConfig(this); - int from_bitField0_ = bitField0_; - result.logType_ = logType_; - if (((bitField0_ & 0x00000001) != 0)) { - exemptedMembers_ = exemptedMembers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.exemptedMembers_ = exemptedMembers_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.AuditLogConfig) { - return mergeFrom((com.google.iam.v1.AuditLogConfig) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.AuditLogConfig other) { - if (other == com.google.iam.v1.AuditLogConfig.getDefaultInstance()) return this; - if (other.logType_ != 0) { - setLogTypeValue(other.getLogTypeValue()); - } - if (!other.exemptedMembers_.isEmpty()) { - if (exemptedMembers_.isEmpty()) { - exemptedMembers_ = other.exemptedMembers_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureExemptedMembersIsMutable(); - exemptedMembers_.addAll(other.exemptedMembers_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - logType_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExemptedMembersIsMutable(); - exemptedMembers_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private int logType_ = 0; - /** - * - * - *
    -     * The log type that this config enables.
    -     * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @return The enum numeric value on the wire for logType. - */ - @java.lang.Override - public int getLogTypeValue() { - return logType_; - } - /** - * - * - *
    -     * The log type that this config enables.
    -     * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @param value The enum numeric value on the wire for logType to set. - * @return This builder for chaining. - */ - public Builder setLogTypeValue(int value) { - - logType_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * The log type that this config enables.
    -     * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @return The logType. - */ - @java.lang.Override - public com.google.iam.v1.AuditLogConfig.LogType getLogType() { - @SuppressWarnings("deprecation") - com.google.iam.v1.AuditLogConfig.LogType result = - com.google.iam.v1.AuditLogConfig.LogType.valueOf(logType_); - return result == null ? com.google.iam.v1.AuditLogConfig.LogType.UNRECOGNIZED : result; - } - /** - * - * - *
    -     * The log type that this config enables.
    -     * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @param value The logType to set. - * @return This builder for chaining. - */ - public Builder setLogType(com.google.iam.v1.AuditLogConfig.LogType value) { - if (value == null) { - throw new NullPointerException(); - } - - logType_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
    -     * The log type that this config enables.
    -     * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @return This builder for chaining. - */ - public Builder clearLogType() { - - logType_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList exemptedMembers_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureExemptedMembersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - exemptedMembers_ = new com.google.protobuf.LazyStringArrayList(exemptedMembers_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @return A list containing the exemptedMembers. - */ - public com.google.protobuf.ProtocolStringList getExemptedMembersList() { - return exemptedMembers_.getUnmodifiableView(); - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @return The count of exemptedMembers. - */ - public int getExemptedMembersCount() { - return exemptedMembers_.size(); - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @param index The index of the element to return. - * @return The exemptedMembers at the given index. - */ - public java.lang.String getExemptedMembers(int index) { - return exemptedMembers_.get(index); - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exemptedMembers at the given index. - */ - public com.google.protobuf.ByteString getExemptedMembersBytes(int index) { - return exemptedMembers_.getByteString(index); - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @param index The index to set the value at. - * @param value The exemptedMembers to set. - * @return This builder for chaining. - */ - public Builder setExemptedMembers(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExemptedMembersIsMutable(); - exemptedMembers_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @param value The exemptedMembers to add. - * @return This builder for chaining. - */ - public Builder addExemptedMembers(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExemptedMembersIsMutable(); - exemptedMembers_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @param values The exemptedMembers to add. - * @return This builder for chaining. - */ - public Builder addAllExemptedMembers(java.lang.Iterable values) { - ensureExemptedMembersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exemptedMembers_); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @return This builder for chaining. - */ - public Builder clearExemptedMembers() { - exemptedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the identities that do not cause logging for this type of
    -     * permission.
    -     * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -     * 
    - * - * repeated string exempted_members = 2; - * - * @param value The bytes of the exemptedMembers to add. - * @return This builder for chaining. - */ - public Builder addExemptedMembersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureExemptedMembersIsMutable(); - exemptedMembers_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.AuditLogConfig) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.AuditLogConfig) - private static final com.google.iam.v1.AuditLogConfig DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.AuditLogConfig(); - } - - public static com.google.iam.v1.AuditLogConfig getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditLogConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.AuditLogConfig getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java deleted file mode 100644 index c6371c5c0ac2..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/AuditLogConfigOrBuilder.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public interface AuditLogConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.AuditLogConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * The log type that this config enables.
    -   * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @return The enum numeric value on the wire for logType. - */ - int getLogTypeValue(); - /** - * - * - *
    -   * The log type that this config enables.
    -   * 
    - * - * .google.iam.v1.AuditLogConfig.LogType log_type = 1; - * - * @return The logType. - */ - com.google.iam.v1.AuditLogConfig.LogType getLogType(); - - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @return A list containing the exemptedMembers. - */ - java.util.List getExemptedMembersList(); - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @return The count of exemptedMembers. - */ - int getExemptedMembersCount(); - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @param index The index of the element to return. - * @return The exemptedMembers at the given index. - */ - java.lang.String getExemptedMembers(int index); - /** - * - * - *
    -   * Specifies the identities that do not cause logging for this type of
    -   * permission.
    -   * Follows the same format of [Binding.members][google.iam.v1.Binding.members].
    -   * 
    - * - * repeated string exempted_members = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exemptedMembers at the given index. - */ - com.google.protobuf.ByteString getExemptedMembersBytes(int index); -} 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 deleted file mode 100644 index d4cb1d80f702..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Binding.java +++ /dev/null @@ -1,1622 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Associates `members`, or principals, with a `role`.
    - * 
    - * - * Protobuf type {@code google.iam.v1.Binding} - */ -public final class Binding extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.Binding) - BindingOrBuilder { - private static final long serialVersionUID = 0L; - // Use Binding.newBuilder() to construct. - private Binding(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Binding() { - role_ = ""; - members_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); - } - - public static final int ROLE_FIELD_NUMBER = 1; - private volatile java.lang.Object role_; - /** - * - * - *
    -   * Role that is assigned to the list of `members`, or principals.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * 
    - * - * string role = 1; - * - * @return The role. - */ - @java.lang.Override - public java.lang.String getRole() { - java.lang.Object ref = role_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - role_ = s; - return s; - } - } - /** - * - * - *
    -   * Role that is assigned to the list of `members`, or principals.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * 
    - * - * string role = 1; - * - * @return The bytes for role. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRoleBytes() { - java.lang.Object ref = role_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - role_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MEMBERS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList members_; - /** - * - * - *
    -   * 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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @return A list containing the members. - */ - public com.google.protobuf.ProtocolStringList getMembersList() { - return members_; - } - /** - * - * - *
    -   * 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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @return The count of members. - */ - public int getMembersCount() { - return members_.size(); - } - /** - * - * - *
    -   * 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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @param index The index of the element to return. - * @return The members at the given index. - */ - public java.lang.String getMembers(int index) { - return members_.get(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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @param index The index of the value to return. - * @return The bytes of the members at the given index. - */ - public com.google.protobuf.ByteString getMembersBytes(int index) { - return members_.getByteString(index); - } - - public static final int CONDITION_FIELD_NUMBER = 3; - private com.google.type.Expr condition_; - /** - * - * - *
    -   * 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).
    -   * 
    - * - * .google.type.Expr condition = 3; - * - * @return Whether the condition field is set. - */ - @java.lang.Override - public boolean hasCondition() { - return condition_ != null; - } - /** - * - * - *
    -   * 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).
    -   * 
    - * - * .google.type.Expr condition = 3; - * - * @return The condition. - */ - @java.lang.Override - public com.google.type.Expr getCondition() { - return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; - } - /** - * - * - *
    -   * 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).
    -   * 
    - * - * .google.type.Expr condition = 3; - */ - @java.lang.Override - public com.google.type.ExprOrBuilder getConditionOrBuilder() { - return getCondition(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, role_); - } - for (int i = 0; i < members_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, members_.getRaw(i)); - } - if (condition_ != null) { - output.writeMessage(3, getCondition()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, role_); - } - { - int dataSize = 0; - for (int i = 0; i < members_.size(); i++) { - dataSize += computeStringSizeNoTag(members_.getRaw(i)); - } - size += dataSize; - size += 1 * getMembersList().size(); - } - if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCondition()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.Binding)) { - return super.equals(obj); - } - com.google.iam.v1.Binding other = (com.google.iam.v1.Binding) obj; - - if (!getRole().equals(other.getRole())) return false; - if (!getMembersList().equals(other.getMembersList())) return false; - if (hasCondition() != other.hasCondition()) return false; - if (hasCondition()) { - if (!getCondition().equals(other.getCondition())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ROLE_FIELD_NUMBER; - hash = (53 * hash) + getRole().hashCode(); - if (getMembersCount() > 0) { - hash = (37 * hash) + MEMBERS_FIELD_NUMBER; - hash = (53 * hash) + getMembersList().hashCode(); - } - if (hasCondition()) { - hash = (37 * hash) + CONDITION_FIELD_NUMBER; - hash = (53 * hash) + getCondition().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.Binding parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.Binding parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.Binding parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.Binding parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.Binding parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.Binding parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.Binding parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.Binding parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.Binding parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.Binding parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.Binding parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.Binding parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.Binding prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Associates `members`, or principals, with a `role`.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.Binding} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.Binding) - com.google.iam.v1.BindingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class); - } - - // Construct using com.google.iam.v1.Binding.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - role_ = ""; - - members_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (conditionBuilder_ == null) { - condition_ = null; - } else { - condition_ = null; - conditionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Binding_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.Binding getDefaultInstanceForType() { - return com.google.iam.v1.Binding.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.Binding build() { - com.google.iam.v1.Binding result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.Binding buildPartial() { - com.google.iam.v1.Binding result = new com.google.iam.v1.Binding(this); - int from_bitField0_ = bitField0_; - result.role_ = role_; - if (((bitField0_ & 0x00000001) != 0)) { - members_ = members_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.members_ = members_; - if (conditionBuilder_ == null) { - result.condition_ = condition_; - } else { - result.condition_ = conditionBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.Binding) { - return mergeFrom((com.google.iam.v1.Binding) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.Binding other) { - if (other == com.google.iam.v1.Binding.getDefaultInstance()) return this; - if (!other.getRole().isEmpty()) { - role_ = other.role_; - onChanged(); - } - if (!other.members_.isEmpty()) { - if (members_.isEmpty()) { - members_ = other.members_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMembersIsMutable(); - members_.addAll(other.members_); - } - onChanged(); - } - if (other.hasCondition()) { - mergeCondition(other.getCondition()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - role_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureMembersIsMutable(); - members_.add(s); - break; - } // case 18 - case 26: - { - input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object role_ = ""; - /** - * - * - *
    -     * Role that is assigned to the list of `members`, or principals.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * 
    - * - * string role = 1; - * - * @return The role. - */ - public java.lang.String getRole() { - java.lang.Object ref = role_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - role_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Role that is assigned to the list of `members`, or principals.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * 
    - * - * string role = 1; - * - * @return The bytes for role. - */ - public com.google.protobuf.ByteString getRoleBytes() { - java.lang.Object ref = role_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - role_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Role that is assigned to the list of `members`, or principals.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * 
    - * - * string role = 1; - * - * @param value The role to set. - * @return This builder for chaining. - */ - public Builder setRole(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - role_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Role that is assigned to the list of `members`, or principals.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * 
    - * - * string role = 1; - * - * @return This builder for chaining. - */ - public Builder clearRole() { - - role_ = getDefaultInstance().getRole(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Role that is assigned to the list of `members`, or principals.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * 
    - * - * string role = 1; - * - * @param value The bytes for role to set. - * @return This builder for chaining. - */ - public Builder setRoleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - role_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList members_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureMembersIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - members_ = new com.google.protobuf.LazyStringArrayList(members_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
    -     * 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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @return A list containing the members. - */ - public com.google.protobuf.ProtocolStringList getMembersList() { - return members_.getUnmodifiableView(); - } - /** - * - * - *
    -     * 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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @return The count of members. - */ - public int getMembersCount() { - return members_.size(); - } - /** - * - * - *
    -     * 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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @param index The index of the element to return. - * @return The members at the given index. - */ - public java.lang.String getMembers(int index) { - return members_.get(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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @param index The index of the value to return. - * @return The bytes of the members at the given index. - */ - public com.google.protobuf.ByteString getMembersBytes(int index) { - return members_.getByteString(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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @param index The index to set the value at. - * @param value The members to set. - * @return This builder for chaining. - */ - public Builder setMembers(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMembersIsMutable(); - members_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @param value The members to add. - * @return This builder for chaining. - */ - public Builder addMembers(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMembersIsMutable(); - members_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @param values The members to add. - * @return This builder for chaining. - */ - public Builder addAllMembers(java.lang.Iterable values) { - ensureMembersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, members_); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @return This builder for chaining. - */ - public Builder clearMembers() { - members_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -     *    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`.
    -     * 
    - * - * repeated string members = 2; - * - * @param value The bytes of the members to add. - * @return This builder for chaining. - */ - public Builder addMembersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureMembersIsMutable(); - members_.add(value); - onChanged(); - return this; - } - - private com.google.type.Expr condition_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - conditionBuilder_; - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - * - * @return Whether the condition field is set. - */ - public boolean hasCondition() { - return conditionBuilder_ != null || condition_ != null; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - * - * @return The condition. - */ - public com.google.type.Expr getCondition() { - if (conditionBuilder_ == null) { - return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; - } else { - return conditionBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - */ - public Builder setCondition(com.google.type.Expr value) { - if (conditionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - condition_ = value; - onChanged(); - } else { - conditionBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - */ - public Builder setCondition(com.google.type.Expr.Builder builderForValue) { - if (conditionBuilder_ == null) { - condition_ = builderForValue.build(); - onChanged(); - } else { - conditionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - */ - public Builder mergeCondition(com.google.type.Expr value) { - if (conditionBuilder_ == null) { - if (condition_ != null) { - condition_ = com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial(); - } else { - condition_ = value; - } - onChanged(); - } else { - conditionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - */ - public Builder clearCondition() { - if (conditionBuilder_ == null) { - condition_ = null; - onChanged(); - } else { - condition_ = null; - conditionBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - */ - public com.google.type.Expr.Builder getConditionBuilder() { - - onChanged(); - return getConditionFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - */ - public com.google.type.ExprOrBuilder getConditionOrBuilder() { - if (conditionBuilder_ != null) { - return conditionBuilder_.getMessageOrBuilder(); - } else { - return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; - } - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * .google.type.Expr condition = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - getConditionFieldBuilder() { - if (conditionBuilder_ == null) { - conditionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( - getCondition(), getParentForChildren(), isClean()); - condition_ = null; - } - return conditionBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.Binding) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.Binding) - private static final com.google.iam.v1.Binding DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.Binding(); - } - - public static com.google.iam.v1.Binding getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Binding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.Binding getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index f6d46a10beb1..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDelta.java +++ /dev/null @@ -1,1379 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * One delta entry for Binding. Each individual change (only one member in each
    - * entry) to a binding will be a separate entry.
    - * 
    - * - * Protobuf type {@code google.iam.v1.BindingDelta} - */ -public final class BindingDelta extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.BindingDelta) - BindingDeltaOrBuilder { - private static final long serialVersionUID = 0L; - // Use BindingDelta.newBuilder() to construct. - private BindingDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private BindingDelta() { - action_ = 0; - role_ = ""; - member_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_BindingDelta_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class); - } - - /** - * - * - *
    -   * The type of action performed on a Binding in a policy.
    -   * 
    - * - * Protobuf enum {@code google.iam.v1.BindingDelta.Action} - */ - public enum Action implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
    -     * Unspecified.
    -     * 
    - * - * ACTION_UNSPECIFIED = 0; - */ - ACTION_UNSPECIFIED(0), - /** - * - * - *
    -     * Addition of a Binding.
    -     * 
    - * - * ADD = 1; - */ - ADD(1), - /** - * - * - *
    -     * Removal of a Binding.
    -     * 
    - * - * REMOVE = 2; - */ - REMOVE(2), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
    -     * Unspecified.
    -     * 
    - * - * ACTION_UNSPECIFIED = 0; - */ - public static final int ACTION_UNSPECIFIED_VALUE = 0; - /** - * - * - *
    -     * Addition of a Binding.
    -     * 
    - * - * ADD = 1; - */ - public static final int ADD_VALUE = 1; - /** - * - * - *
    -     * Removal of a Binding.
    -     * 
    - * - * REMOVE = 2; - */ - public static final int REMOVE_VALUE = 2; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static Action valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static Action forNumber(int value) { - switch (value) { - case 0: - return ACTION_UNSPECIFIED; - case 1: - return ADD; - case 2: - return REMOVE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Action findValueByNumber(int number) { - return Action.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalStateException( - "Can't get the descriptor of an unrecognized enum value."); - } - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.iam.v1.BindingDelta.getDescriptor().getEnumTypes().get(0); - } - - private static final Action[] VALUES = values(); - - public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Action(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.iam.v1.BindingDelta.Action) - } - - public static final int ACTION_FIELD_NUMBER = 1; - private int action_; - /** - * - * - *
    -   * The action that was performed on a Binding.
    -   * Required
    -   * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @return The enum numeric value on the wire for action. - */ - @java.lang.Override - public int getActionValue() { - return action_; - } - /** - * - * - *
    -   * The action that was performed on a Binding.
    -   * Required
    -   * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @return The action. - */ - @java.lang.Override - public com.google.iam.v1.BindingDelta.Action getAction() { - @SuppressWarnings("deprecation") - com.google.iam.v1.BindingDelta.Action result = - com.google.iam.v1.BindingDelta.Action.valueOf(action_); - return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; - } - - public static final int ROLE_FIELD_NUMBER = 2; - private volatile java.lang.Object role_; - /** - * - * - *
    -   * Role that is assigned to `members`.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
    -   * 
    - * - * string role = 2; - * - * @return The role. - */ - @java.lang.Override - public java.lang.String getRole() { - java.lang.Object ref = role_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - role_ = s; - return s; - } - } - /** - * - * - *
    -   * Role that is assigned to `members`.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
    -   * 
    - * - * string role = 2; - * - * @return The bytes for role. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRoleBytes() { - java.lang.Object ref = role_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - role_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int MEMBER_FIELD_NUMBER = 3; - private volatile java.lang.Object member_; - /** - * - * - *
    -   * A single identity requesting access for a Cloud Platform resource.
    -   * Follows the same format of Binding.members.
    -   * Required
    -   * 
    - * - * string member = 3; - * - * @return The member. - */ - @java.lang.Override - public java.lang.String getMember() { - java.lang.Object ref = member_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - member_ = s; - return s; - } - } - /** - * - * - *
    -   * A single identity requesting access for a Cloud Platform resource.
    -   * Follows the same format of Binding.members.
    -   * Required
    -   * 
    - * - * string member = 3; - * - * @return The bytes for member. - */ - @java.lang.Override - public com.google.protobuf.ByteString getMemberBytes() { - java.lang.Object ref = member_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - member_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CONDITION_FIELD_NUMBER = 4; - private com.google.type.Expr condition_; - /** - * - * - *
    -   * The condition that is associated with this binding.
    -   * 
    - * - * .google.type.Expr condition = 4; - * - * @return Whether the condition field is set. - */ - @java.lang.Override - public boolean hasCondition() { - return condition_ != null; - } - /** - * - * - *
    -   * The condition that is associated with this binding.
    -   * 
    - * - * .google.type.Expr condition = 4; - * - * @return The condition. - */ - @java.lang.Override - public com.google.type.Expr getCondition() { - return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; - } - /** - * - * - *
    -   * The condition that is associated with this binding.
    -   * 
    - * - * .google.type.Expr condition = 4; - */ - @java.lang.Override - public com.google.type.ExprOrBuilder getConditionOrBuilder() { - return getCondition(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { - output.writeEnum(1, action_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, role_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, member_); - } - if (condition_ != null) { - output.writeMessage(4, getCondition()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (action_ != com.google.iam.v1.BindingDelta.Action.ACTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, action_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, role_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_); - } - if (condition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCondition()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.BindingDelta)) { - return super.equals(obj); - } - com.google.iam.v1.BindingDelta other = (com.google.iam.v1.BindingDelta) obj; - - if (action_ != other.action_) return false; - if (!getRole().equals(other.getRole())) return false; - if (!getMember().equals(other.getMember())) return false; - if (hasCondition() != other.hasCondition()) return false; - if (hasCondition()) { - if (!getCondition().equals(other.getCondition())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + ACTION_FIELD_NUMBER; - hash = (53 * hash) + action_; - hash = (37 * hash) + ROLE_FIELD_NUMBER; - hash = (53 * hash) + getRole().hashCode(); - hash = (37 * hash) + MEMBER_FIELD_NUMBER; - hash = (53 * hash) + getMember().hashCode(); - if (hasCondition()) { - hash = (37 * hash) + CONDITION_FIELD_NUMBER; - hash = (53 * hash) + getCondition().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.BindingDelta parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.BindingDelta parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.BindingDelta parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.BindingDelta parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.BindingDelta parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.BindingDelta parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.BindingDelta parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.BindingDelta parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.BindingDelta parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.BindingDelta parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.BindingDelta parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.BindingDelta parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.BindingDelta prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * One delta entry for Binding. Each individual change (only one member in each
    -   * entry) to a binding will be a separate entry.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.BindingDelta} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.BindingDelta) - com.google.iam.v1.BindingDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_BindingDelta_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.BindingDelta.class, com.google.iam.v1.BindingDelta.Builder.class); - } - - // Construct using com.google.iam.v1.BindingDelta.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - action_ = 0; - - role_ = ""; - - member_ = ""; - - if (conditionBuilder_ == null) { - condition_ = null; - } else { - condition_ = null; - conditionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_BindingDelta_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.BindingDelta getDefaultInstanceForType() { - return com.google.iam.v1.BindingDelta.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.BindingDelta build() { - com.google.iam.v1.BindingDelta result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.BindingDelta buildPartial() { - com.google.iam.v1.BindingDelta result = new com.google.iam.v1.BindingDelta(this); - result.action_ = action_; - result.role_ = role_; - result.member_ = member_; - if (conditionBuilder_ == null) { - result.condition_ = condition_; - } else { - result.condition_ = conditionBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.BindingDelta) { - return mergeFrom((com.google.iam.v1.BindingDelta) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.BindingDelta other) { - if (other == com.google.iam.v1.BindingDelta.getDefaultInstance()) return this; - if (other.action_ != 0) { - setActionValue(other.getActionValue()); - } - if (!other.getRole().isEmpty()) { - role_ = other.role_; - onChanged(); - } - if (!other.getMember().isEmpty()) { - member_ = other.member_; - onChanged(); - } - if (other.hasCondition()) { - mergeCondition(other.getCondition()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - action_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - role_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - member_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int action_ = 0; - /** - * - * - *
    -     * The action that was performed on a Binding.
    -     * Required
    -     * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @return The enum numeric value on the wire for action. - */ - @java.lang.Override - public int getActionValue() { - return action_; - } - /** - * - * - *
    -     * The action that was performed on a Binding.
    -     * Required
    -     * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @param value The enum numeric value on the wire for action to set. - * @return This builder for chaining. - */ - public Builder setActionValue(int value) { - - action_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * The action that was performed on a Binding.
    -     * Required
    -     * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @return The action. - */ - @java.lang.Override - public com.google.iam.v1.BindingDelta.Action getAction() { - @SuppressWarnings("deprecation") - com.google.iam.v1.BindingDelta.Action result = - com.google.iam.v1.BindingDelta.Action.valueOf(action_); - return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result; - } - /** - * - * - *
    -     * The action that was performed on a Binding.
    -     * Required
    -     * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @param value The action to set. - * @return This builder for chaining. - */ - public Builder setAction(com.google.iam.v1.BindingDelta.Action value) { - if (value == null) { - throw new NullPointerException(); - } - - action_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
    -     * The action that was performed on a Binding.
    -     * Required
    -     * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @return This builder for chaining. - */ - public Builder clearAction() { - - action_ = 0; - onChanged(); - return this; - } - - private java.lang.Object role_ = ""; - /** - * - * - *
    -     * Role that is assigned to `members`.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
    -     * 
    - * - * string role = 2; - * - * @return The role. - */ - public java.lang.String getRole() { - java.lang.Object ref = role_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - role_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Role that is assigned to `members`.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
    -     * 
    - * - * string role = 2; - * - * @return The bytes for role. - */ - public com.google.protobuf.ByteString getRoleBytes() { - java.lang.Object ref = role_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - role_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Role that is assigned to `members`.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
    -     * 
    - * - * string role = 2; - * - * @param value The role to set. - * @return This builder for chaining. - */ - public Builder setRole(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - role_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Role that is assigned to `members`.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
    -     * 
    - * - * string role = 2; - * - * @return This builder for chaining. - */ - public Builder clearRole() { - - role_ = getDefaultInstance().getRole(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Role that is assigned to `members`.
    -     * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -     * Required
    -     * 
    - * - * string role = 2; - * - * @param value The bytes for role to set. - * @return This builder for chaining. - */ - public Builder setRoleBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - role_ = value; - onChanged(); - return this; - } - - private java.lang.Object member_ = ""; - /** - * - * - *
    -     * A single identity requesting access for a Cloud Platform resource.
    -     * Follows the same format of Binding.members.
    -     * Required
    -     * 
    - * - * string member = 3; - * - * @return The member. - */ - public java.lang.String getMember() { - java.lang.Object ref = member_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - member_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A single identity requesting access for a Cloud Platform resource.
    -     * Follows the same format of Binding.members.
    -     * Required
    -     * 
    - * - * string member = 3; - * - * @return The bytes for member. - */ - public com.google.protobuf.ByteString getMemberBytes() { - java.lang.Object ref = member_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - member_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A single identity requesting access for a Cloud Platform resource.
    -     * Follows the same format of Binding.members.
    -     * Required
    -     * 
    - * - * string member = 3; - * - * @param value The member to set. - * @return This builder for chaining. - */ - public Builder setMember(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - member_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A single identity requesting access for a Cloud Platform resource.
    -     * Follows the same format of Binding.members.
    -     * Required
    -     * 
    - * - * string member = 3; - * - * @return This builder for chaining. - */ - public Builder clearMember() { - - member_ = getDefaultInstance().getMember(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A single identity requesting access for a Cloud Platform resource.
    -     * Follows the same format of Binding.members.
    -     * Required
    -     * 
    - * - * string member = 3; - * - * @param value The bytes for member to set. - * @return This builder for chaining. - */ - public Builder setMemberBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - member_ = value; - onChanged(); - return this; - } - - private com.google.type.Expr condition_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - conditionBuilder_; - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - * - * @return Whether the condition field is set. - */ - public boolean hasCondition() { - return conditionBuilder_ != null || condition_ != null; - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - * - * @return The condition. - */ - public com.google.type.Expr getCondition() { - if (conditionBuilder_ == null) { - return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; - } else { - return conditionBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - */ - public Builder setCondition(com.google.type.Expr value) { - if (conditionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - condition_ = value; - onChanged(); - } else { - conditionBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - */ - public Builder setCondition(com.google.type.Expr.Builder builderForValue) { - if (conditionBuilder_ == null) { - condition_ = builderForValue.build(); - onChanged(); - } else { - conditionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - */ - public Builder mergeCondition(com.google.type.Expr value) { - if (conditionBuilder_ == null) { - if (condition_ != null) { - condition_ = com.google.type.Expr.newBuilder(condition_).mergeFrom(value).buildPartial(); - } else { - condition_ = value; - } - onChanged(); - } else { - conditionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - */ - public Builder clearCondition() { - if (conditionBuilder_ == null) { - condition_ = null; - onChanged(); - } else { - condition_ = null; - conditionBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - */ - public com.google.type.Expr.Builder getConditionBuilder() { - - onChanged(); - return getConditionFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - */ - public com.google.type.ExprOrBuilder getConditionOrBuilder() { - if (conditionBuilder_ != null) { - return conditionBuilder_.getMessageOrBuilder(); - } else { - return condition_ == null ? com.google.type.Expr.getDefaultInstance() : condition_; - } - } - /** - * - * - *
    -     * The condition that is associated with this binding.
    -     * 
    - * - * .google.type.Expr condition = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - getConditionFieldBuilder() { - if (conditionBuilder_ == null) { - conditionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( - getCondition(), getParentForChildren(), isClean()); - condition_ = null; - } - return conditionBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.BindingDelta) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.BindingDelta) - private static final com.google.iam.v1.BindingDelta DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.BindingDelta(); - } - - public static com.google.iam.v1.BindingDelta getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BindingDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.BindingDelta getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java deleted file mode 100644 index a2959294d9bb..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingDeltaOrBuilder.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public interface BindingDeltaOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.BindingDelta) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * The action that was performed on a Binding.
    -   * Required
    -   * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @return The enum numeric value on the wire for action. - */ - int getActionValue(); - /** - * - * - *
    -   * The action that was performed on a Binding.
    -   * Required
    -   * 
    - * - * .google.iam.v1.BindingDelta.Action action = 1; - * - * @return The action. - */ - com.google.iam.v1.BindingDelta.Action getAction(); - - /** - * - * - *
    -   * Role that is assigned to `members`.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
    -   * 
    - * - * string role = 2; - * - * @return The role. - */ - java.lang.String getRole(); - /** - * - * - *
    -   * Role that is assigned to `members`.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * Required
    -   * 
    - * - * string role = 2; - * - * @return The bytes for role. - */ - com.google.protobuf.ByteString getRoleBytes(); - - /** - * - * - *
    -   * A single identity requesting access for a Cloud Platform resource.
    -   * Follows the same format of Binding.members.
    -   * Required
    -   * 
    - * - * string member = 3; - * - * @return The member. - */ - java.lang.String getMember(); - /** - * - * - *
    -   * A single identity requesting access for a Cloud Platform resource.
    -   * Follows the same format of Binding.members.
    -   * Required
    -   * 
    - * - * string member = 3; - * - * @return The bytes for member. - */ - com.google.protobuf.ByteString getMemberBytes(); - - /** - * - * - *
    -   * The condition that is associated with this binding.
    -   * 
    - * - * .google.type.Expr condition = 4; - * - * @return Whether the condition field is set. - */ - boolean hasCondition(); - /** - * - * - *
    -   * The condition that is associated with this binding.
    -   * 
    - * - * .google.type.Expr condition = 4; - * - * @return The condition. - */ - com.google.type.Expr getCondition(); - /** - * - * - *
    -   * The condition that is associated with this binding.
    -   * 
    - * - * .google.type.Expr condition = 4; - */ - com.google.type.ExprOrBuilder getConditionOrBuilder(); -} 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 deleted file mode 100644 index b5e660fa3a75..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/BindingOrBuilder.java +++ /dev/null @@ -1,282 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public interface BindingOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.Binding) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Role that is assigned to the list of `members`, or principals.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * 
    - * - * string role = 1; - * - * @return The role. - */ - java.lang.String getRole(); - /** - * - * - *
    -   * Role that is assigned to the list of `members`, or principals.
    -   * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
    -   * 
    - * - * string role = 1; - * - * @return The bytes for role. - */ - com.google.protobuf.ByteString getRoleBytes(); - - /** - * - * - *
    -   * 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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @return A list containing the members. - */ - java.util.List 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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @return The count of members. - */ - 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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @param index The index of the element to return. - * @return The members at the given index. - */ - 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,
    -   *    `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
    -   *    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`.
    -   * 
    - * - * repeated string members = 2; - * - * @param index The index of the value to return. - * @return The bytes of the members at the given index. - */ - 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).
    -   * 
    - * - * .google.type.Expr condition = 3; - * - * @return Whether the condition field is set. - */ - 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).
    -   * 
    - * - * .google.type.Expr condition = 3; - * - * @return The condition. - */ - 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).
    -   * 
    - * - * .google.type.Expr condition = 3; - */ - com.google.type.ExprOrBuilder getConditionOrBuilder(); -} 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 deleted file mode 100644 index 883feeaae90d..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequest.java +++ /dev/null @@ -1,910 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Request message for `GetIamPolicy` method.
    - * 
    - * - * Protobuf type {@code google.iam.v1.GetIamPolicyRequest} - */ -public final class GetIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.GetIamPolicyRequest) - GetIamPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetIamPolicyRequest.newBuilder() to construct. - private GetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetIamPolicyRequest() { - resource_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.GetIamPolicyRequest.class, - com.google.iam.v1.GetIamPolicyRequest.Builder.class); - } - - public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile java.lang.Object resource_; - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - @java.lang.Override - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - resource_ = s; - return s; - } - } - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int OPTIONS_FIELD_NUMBER = 2; - private com.google.iam.v1.GetPolicyOptions options_; - /** - * - * - *
    -   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`.
    -   * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - * - * @return Whether the options field is set. - */ - @java.lang.Override - public boolean hasOptions() { - return options_ != null; - } - /** - * - * - *
    -   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`.
    -   * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - * - * @return The options. - */ - @java.lang.Override - public com.google.iam.v1.GetPolicyOptions getOptions() { - return options_ == null ? com.google.iam.v1.GetPolicyOptions.getDefaultInstance() : options_; - } - /** - * - * - *
    -   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`.
    -   * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - @java.lang.Override - public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() { - return getOptions(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); - } - if (options_ != null) { - output.writeMessage(2, getOptions()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); - } - if (options_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.GetIamPolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v1.GetIamPolicyRequest other = (com.google.iam.v1.GetIamPolicyRequest) obj; - - if (!getResource().equals(other.getResource())) return false; - if (hasOptions() != other.hasOptions()) return false; - if (hasOptions()) { - if (!getOptions().equals(other.getOptions())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_FIELD_NUMBER; - hash = (53 * hash) + getResource().hashCode(); - if (hasOptions()) { - hash = (37 * hash) + OPTIONS_FIELD_NUMBER; - hash = (53 * hash) + getOptions().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.GetIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.GetIamPolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `GetIamPolicy` method.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.GetIamPolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.GetIamPolicyRequest) - com.google.iam.v1.GetIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.GetIamPolicyRequest.class, - com.google.iam.v1.GetIamPolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v1.GetIamPolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - resource_ = ""; - - if (optionsBuilder_ == null) { - options_ = null; - } else { - options_ = null; - optionsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() { - return com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.GetIamPolicyRequest build() { - com.google.iam.v1.GetIamPolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.GetIamPolicyRequest buildPartial() { - com.google.iam.v1.GetIamPolicyRequest result = - new com.google.iam.v1.GetIamPolicyRequest(this); - result.resource_ = resource_; - if (optionsBuilder_ == null) { - result.options_ = options_; - } else { - result.options_ = optionsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.GetIamPolicyRequest) { - return mergeFrom((com.google.iam.v1.GetIamPolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.GetIamPolicyRequest other) { - if (other == com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()) return this; - if (!other.getResource().isEmpty()) { - resource_ = other.resource_; - onChanged(); - } - if (other.hasOptions()) { - mergeOptions(other.getOptions()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getOptionsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object resource_ = ""; - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - resource_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The resource to set. - * @return This builder for chaining. - */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - resource_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearResource() { - - resource_ = getDefaultInstance().getResource(); - onChanged(); - return this; - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for resource to set. - * @return This builder for chaining. - */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - resource_ = value; - onChanged(); - return this; - } - - private com.google.iam.v1.GetPolicyOptions options_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.GetPolicyOptions, - com.google.iam.v1.GetPolicyOptions.Builder, - com.google.iam.v1.GetPolicyOptionsOrBuilder> - optionsBuilder_; - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - * - * @return Whether the options field is set. - */ - public boolean hasOptions() { - return optionsBuilder_ != null || options_ != null; - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - * - * @return The options. - */ - public com.google.iam.v1.GetPolicyOptions getOptions() { - if (optionsBuilder_ == null) { - return options_ == null - ? com.google.iam.v1.GetPolicyOptions.getDefaultInstance() - : options_; - } else { - return optionsBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - public Builder setOptions(com.google.iam.v1.GetPolicyOptions value) { - if (optionsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - options_ = value; - onChanged(); - } else { - optionsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - public Builder setOptions(com.google.iam.v1.GetPolicyOptions.Builder builderForValue) { - if (optionsBuilder_ == null) { - options_ = builderForValue.build(); - onChanged(); - } else { - optionsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - public Builder mergeOptions(com.google.iam.v1.GetPolicyOptions value) { - if (optionsBuilder_ == null) { - if (options_ != null) { - options_ = - com.google.iam.v1.GetPolicyOptions.newBuilder(options_) - .mergeFrom(value) - .buildPartial(); - } else { - options_ = value; - } - onChanged(); - } else { - optionsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - public Builder clearOptions() { - if (optionsBuilder_ == null) { - options_ = null; - onChanged(); - } else { - options_ = null; - optionsBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - public com.google.iam.v1.GetPolicyOptions.Builder getOptionsBuilder() { - - onChanged(); - return getOptionsFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - public com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder() { - if (optionsBuilder_ != null) { - return optionsBuilder_.getMessageOrBuilder(); - } else { - return options_ == null - ? com.google.iam.v1.GetPolicyOptions.getDefaultInstance() - : options_; - } - } - /** - * - * - *
    -     * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -     * `GetIamPolicy`.
    -     * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.GetPolicyOptions, - com.google.iam.v1.GetPolicyOptions.Builder, - com.google.iam.v1.GetPolicyOptionsOrBuilder> - getOptionsFieldBuilder() { - if (optionsBuilder_ == null) { - optionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.GetPolicyOptions, - com.google.iam.v1.GetPolicyOptions.Builder, - com.google.iam.v1.GetPolicyOptionsOrBuilder>( - getOptions(), getParentForChildren(), isClean()); - options_ = null; - } - return optionsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.GetIamPolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.GetIamPolicyRequest) - private static final com.google.iam.v1.GetIamPolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.GetIamPolicyRequest(); - } - - public static com.google.iam.v1.GetIamPolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.GetIamPolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java deleted file mode 100644 index 5f90592d42e5..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetIamPolicyRequestOrBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -public interface GetIamPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.GetIamPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - java.lang.String getResource(); - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - com.google.protobuf.ByteString getResourceBytes(); - - /** - * - * - *
    -   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`.
    -   * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - * - * @return Whether the options field is set. - */ - boolean hasOptions(); - /** - * - * - *
    -   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`.
    -   * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - * - * @return The options. - */ - com.google.iam.v1.GetPolicyOptions getOptions(); - /** - * - * - *
    -   * OPTIONAL: A `GetPolicyOptions` object for specifying options to
    -   * `GetIamPolicy`.
    -   * 
    - * - * .google.iam.v1.GetPolicyOptions options = 2; - */ - com.google.iam.v1.GetPolicyOptionsOrBuilder getOptionsOrBuilder(); -} 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 deleted file mode 100644 index 1c427ecb8ddc..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptions.java +++ /dev/null @@ -1,574 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/options.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Encapsulates settings provided to GetIamPolicy.
    - * 
    - * - * Protobuf type {@code google.iam.v1.GetPolicyOptions} - */ -public final class GetPolicyOptions extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.GetPolicyOptions) - GetPolicyOptionsOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetPolicyOptions.newBuilder() to construct. - private GetPolicyOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetPolicyOptions() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.OptionsProto - .internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.GetPolicyOptions.class, - com.google.iam.v1.GetPolicyOptions.Builder.class); - } - - public static final int REQUESTED_POLICY_VERSION_FIELD_NUMBER = 1; - private int requestedPolicyVersion_; - /** - * - * - *
    -   * 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).
    -   * 
    - * - * int32 requested_policy_version = 1; - * - * @return The requestedPolicyVersion. - */ - @java.lang.Override - public int getRequestedPolicyVersion() { - return requestedPolicyVersion_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (requestedPolicyVersion_ != 0) { - output.writeInt32(1, requestedPolicyVersion_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (requestedPolicyVersion_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, requestedPolicyVersion_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.GetPolicyOptions)) { - return super.equals(obj); - } - com.google.iam.v1.GetPolicyOptions other = (com.google.iam.v1.GetPolicyOptions) obj; - - if (getRequestedPolicyVersion() != other.getRequestedPolicyVersion()) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + REQUESTED_POLICY_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getRequestedPolicyVersion(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.GetPolicyOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.GetPolicyOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.GetPolicyOptions parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.GetPolicyOptions prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Encapsulates settings provided to GetIamPolicy.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.GetPolicyOptions} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.GetPolicyOptions) - com.google.iam.v1.GetPolicyOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.OptionsProto - .internal_static_google_iam_v1_GetPolicyOptions_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.OptionsProto - .internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.GetPolicyOptions.class, - com.google.iam.v1.GetPolicyOptions.Builder.class); - } - - // Construct using com.google.iam.v1.GetPolicyOptions.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - requestedPolicyVersion_ = 0; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.OptionsProto - .internal_static_google_iam_v1_GetPolicyOptions_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.GetPolicyOptions getDefaultInstanceForType() { - return com.google.iam.v1.GetPolicyOptions.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.GetPolicyOptions build() { - com.google.iam.v1.GetPolicyOptions result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.GetPolicyOptions buildPartial() { - com.google.iam.v1.GetPolicyOptions result = new com.google.iam.v1.GetPolicyOptions(this); - result.requestedPolicyVersion_ = requestedPolicyVersion_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.GetPolicyOptions) { - return mergeFrom((com.google.iam.v1.GetPolicyOptions) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.GetPolicyOptions other) { - if (other == com.google.iam.v1.GetPolicyOptions.getDefaultInstance()) return this; - if (other.getRequestedPolicyVersion() != 0) { - setRequestedPolicyVersion(other.getRequestedPolicyVersion()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - requestedPolicyVersion_ = input.readInt32(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int requestedPolicyVersion_; - /** - * - * - *
    -     * 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).
    -     * 
    - * - * int32 requested_policy_version = 1; - * - * @return The requestedPolicyVersion. - */ - @java.lang.Override - public int getRequestedPolicyVersion() { - return requestedPolicyVersion_; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * int32 requested_policy_version = 1; - * - * @param value The requestedPolicyVersion to set. - * @return This builder for chaining. - */ - public Builder setRequestedPolicyVersion(int value) { - - requestedPolicyVersion_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * int32 requested_policy_version = 1; - * - * @return This builder for chaining. - */ - public Builder clearRequestedPolicyVersion() { - - requestedPolicyVersion_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.GetPolicyOptions) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.GetPolicyOptions) - private static final com.google.iam.v1.GetPolicyOptions DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.GetPolicyOptions(); - } - - public static com.google.iam.v1.GetPolicyOptions getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.GetPolicyOptions getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 1cd51a9971f8..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/GetPolicyOptionsOrBuilder.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/options.proto - -package com.google.iam.v1; - -public interface GetPolicyOptionsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.GetPolicyOptions) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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).
    -   * 
    - * - * int32 requested_policy_version = 1; - * - * @return The requestedPolicyVersion. - */ - int getRequestedPolicyVersion(); -} 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 deleted file mode 100644 index 57652c10d986..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/IamPolicyProto.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -public final class IamPolicyProto { - private IamPolicyProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_GetIamPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\036google/iam/v1/iam_policy.proto\022\rgoogle" - + ".iam.v1\032\034google/api/annotations.proto\032\027g" - + "oogle/api/client.proto\032\037google/api/field" - + "_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\206\001\n\021" - + "com.google.iam.v1B\016IamPolicyProtoP\001Z0goo" - + "gle.golang.org/genproto/googleapis/iam/v" - + "1;iam\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\" - + "Cloud\\Iam\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.iam.v1.OptionsProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_iam_v1_SetIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_SetIamPolicyRequest_descriptor, - new java.lang.String[] { - "Resource", "Policy", "UpdateMask", - }); - internal_static_google_iam_v1_GetIamPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_iam_v1_GetIamPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_GetIamPolicyRequest_descriptor, - new java.lang.String[] { - "Resource", "Options", - }); - internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor, - new java.lang.String[] { - "Resource", "Permissions", - }); - internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor, - new java.lang.String[] { - "Permissions", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.iam.v1.OptionsProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java deleted file mode 100644 index 9c13280b2b82..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/OptionsProto.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/options.proto - -package com.google.iam.v1; - -public final class OptionsProto { - private OptionsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_GetPolicyOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\033google/iam/v1/options.proto\022\rgoogle.ia" - + "m.v1\"4\n\020GetPolicyOptions\022 \n\030requested_po" - + "licy_version\030\001 \001(\005B\204\001\n\021com.google.iam.v1" - + "B\014OptionsProtoP\001Z0google.golang.org/genp" - + "roto/googleapis/iam/v1;iam\370\001\001\252\002\023Google.C" - + "loud.Iam.V1\312\002\023Google\\Cloud\\Iam\\V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_iam_v1_GetPolicyOptions_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v1_GetPolicyOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_GetPolicyOptions_descriptor, - new java.lang.String[] { - "RequestedPolicyVersion", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index b03aa80d06ab..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/Policy.java +++ /dev/null @@ -1,1984 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * 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
    - * based on attributes of the request, the resource, or both. To learn which
    - * resources support conditions in their IAM policies, see the
    - * [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
    - * **JSON example:**
    - *     {
    - *       "bindings": [
    - *         {
    - *           "role": "roles/resourcemanager.organizationAdmin",
    - *           "members": [
    - *             "user:mike@example.com",
    - *             "group:admins@example.com",
    - *             "domain:google.com",
    - *             "serviceAccount:my-project-id@appspot.gserviceaccount.com"
    - *           ]
    - *         },
    - *         {
    - *           "role": "roles/resourcemanager.organizationViewer",
    - *           "members": [
    - *             "user:eve@example.com"
    - *           ],
    - *           "condition": {
    - *             "title": "expirable access",
    - *             "description": "Does not grant access after Sep 2020",
    - *             "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
    - *           }
    - *         }
    - *       ],
    - *       "etag": "BwWWja0YfJA=",
    - *       "version": 3
    - *     }
    - * **YAML example:**
    - *     bindings:
    - *     - members:
    - *       - user:mike@example.com
    - *       - group:admins@example.com
    - *       - domain:google.com
    - *       - serviceAccount:my-project-id@appspot.gserviceaccount.com
    - *       role: roles/resourcemanager.organizationAdmin
    - *     - members:
    - *       - user:eve@example.com
    - *       role: roles/resourcemanager.organizationViewer
    - *       condition:
    - *         title: expirable access
    - *         description: Does not grant access after Sep 2020
    - *         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/).
    - * 
    - * - * Protobuf type {@code google.iam.v1.Policy} - */ -public final class Policy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.Policy) - PolicyOrBuilder { - private static final long serialVersionUID = 0L; - // Use Policy.newBuilder() to construct. - private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Policy() { - bindings_ = java.util.Collections.emptyList(); - auditConfigs_ = java.util.Collections.emptyList(); - etag_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class); - } - - public static final int VERSION_FIELD_NUMBER = 1; - private int version_; - /** - * - * - *
    -   * 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).
    -   * 
    - * - * int32 version = 1; - * - * @return The version. - */ - @java.lang.Override - public int getVersion() { - return version_; - } - - public static final int BINDINGS_FIELD_NUMBER = 4; - private java.util.List bindings_; - /** - * - * - *
    -   * 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - @java.lang.Override - public java.util.List getBindingsList() { - return bindings_; - } - /** - * - * - *
    -   * 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - @java.lang.Override - public java.util.List getBindingsOrBuilderList() { - return bindings_; - } - /** - * - * - *
    -   * 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - @java.lang.Override - public int getBindingsCount() { - return bindings_.size(); - } - /** - * - * - *
    -   * 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - @java.lang.Override - public com.google.iam.v1.Binding getBindings(int index) { - return bindings_.get(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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - @java.lang.Override - public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) { - return bindings_.get(index); - } - - public static final int AUDIT_CONFIGS_FIELD_NUMBER = 6; - private java.util.List auditConfigs_; - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - @java.lang.Override - public java.util.List getAuditConfigsList() { - return auditConfigs_; - } - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - @java.lang.Override - public java.util.List - getAuditConfigsOrBuilderList() { - return auditConfigs_; - } - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - @java.lang.Override - public int getAuditConfigsCount() { - return auditConfigs_.size(); - } - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - @java.lang.Override - public com.google.iam.v1.AuditConfig getAuditConfigs(int index) { - return auditConfigs_.get(index); - } - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - @java.lang.Override - public com.google.iam.v1.AuditConfigOrBuilder getAuditConfigsOrBuilder(int index) { - return auditConfigs_.get(index); - } - - public static final int ETAG_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString etag_; - /** - * - * - *
    -   * `etag` is used for optimistic concurrency control as a way to help
    -   * prevent simultaneous updates of a policy from overwriting each other.
    -   * It is strongly suggested that systems make use of the `etag` in the
    -   * read-modify-write cycle to perform policy updates in order to avoid race
    -   * 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
    -   * the conditions in the version `3` policy are lost.
    -   * 
    - * - * bytes etag = 3; - * - * @return The etag. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEtag() { - return etag_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (version_ != 0) { - output.writeInt32(1, version_); - } - if (!etag_.isEmpty()) { - output.writeBytes(3, etag_); - } - for (int i = 0; i < bindings_.size(); i++) { - output.writeMessage(4, bindings_.get(i)); - } - for (int i = 0; i < auditConfigs_.size(); i++) { - output.writeMessage(6, auditConfigs_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (version_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, version_); - } - if (!etag_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, etag_); - } - for (int i = 0; i < bindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, bindings_.get(i)); - } - for (int i = 0; i < auditConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, auditConfigs_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.Policy)) { - return super.equals(obj); - } - com.google.iam.v1.Policy other = (com.google.iam.v1.Policy) obj; - - if (getVersion() != other.getVersion()) return false; - if (!getBindingsList().equals(other.getBindingsList())) return false; - if (!getAuditConfigsList().equals(other.getAuditConfigsList())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion(); - if (getBindingsCount() > 0) { - hash = (37 * hash) + BINDINGS_FIELD_NUMBER; - hash = (53 * hash) + getBindingsList().hashCode(); - } - if (getAuditConfigsCount() > 0) { - hash = (37 * hash) + AUDIT_CONFIGS_FIELD_NUMBER; - hash = (53 * hash) + getAuditConfigsList().hashCode(); - } - hash = (37 * hash) + ETAG_FIELD_NUMBER; - hash = (53 * hash) + getEtag().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.Policy parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.Policy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.Policy parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.Policy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.Policy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.Policy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.Policy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.Policy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.Policy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.Policy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.Policy parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.Policy parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.Policy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * An 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
    -   * based on attributes of the request, the resource, or both. To learn which
    -   * resources support conditions in their IAM policies, see the
    -   * [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
    -   * **JSON example:**
    -   *     {
    -   *       "bindings": [
    -   *         {
    -   *           "role": "roles/resourcemanager.organizationAdmin",
    -   *           "members": [
    -   *             "user:mike@example.com",
    -   *             "group:admins@example.com",
    -   *             "domain:google.com",
    -   *             "serviceAccount:my-project-id@appspot.gserviceaccount.com"
    -   *           ]
    -   *         },
    -   *         {
    -   *           "role": "roles/resourcemanager.organizationViewer",
    -   *           "members": [
    -   *             "user:eve@example.com"
    -   *           ],
    -   *           "condition": {
    -   *             "title": "expirable access",
    -   *             "description": "Does not grant access after Sep 2020",
    -   *             "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
    -   *           }
    -   *         }
    -   *       ],
    -   *       "etag": "BwWWja0YfJA=",
    -   *       "version": 3
    -   *     }
    -   * **YAML example:**
    -   *     bindings:
    -   *     - members:
    -   *       - user:mike@example.com
    -   *       - group:admins@example.com
    -   *       - domain:google.com
    -   *       - serviceAccount:my-project-id@appspot.gserviceaccount.com
    -   *       role: roles/resourcemanager.organizationAdmin
    -   *     - members:
    -   *       - user:eve@example.com
    -   *       role: roles/resourcemanager.organizationViewer
    -   *       condition:
    -   *         title: expirable access
    -   *         description: Does not grant access after Sep 2020
    -   *         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/).
    -   * 
    - * - * Protobuf type {@code google.iam.v1.Policy} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.Policy) - com.google.iam.v1.PolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.Policy.class, com.google.iam.v1.Policy.Builder.class); - } - - // Construct using com.google.iam.v1.Policy.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - version_ = 0; - - if (bindingsBuilder_ == null) { - bindings_ = java.util.Collections.emptyList(); - } else { - bindings_ = null; - bindingsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - if (auditConfigsBuilder_ == null) { - auditConfigs_ = java.util.Collections.emptyList(); - } else { - auditConfigs_ = null; - auditConfigsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - etag_ = com.google.protobuf.ByteString.EMPTY; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_Policy_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.Policy getDefaultInstanceForType() { - return com.google.iam.v1.Policy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.Policy build() { - com.google.iam.v1.Policy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.Policy buildPartial() { - com.google.iam.v1.Policy result = new com.google.iam.v1.Policy(this); - int from_bitField0_ = bitField0_; - result.version_ = version_; - if (bindingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - bindings_ = java.util.Collections.unmodifiableList(bindings_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.bindings_ = bindings_; - } else { - result.bindings_ = bindingsBuilder_.build(); - } - if (auditConfigsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - auditConfigs_ = java.util.Collections.unmodifiableList(auditConfigs_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.auditConfigs_ = auditConfigs_; - } else { - result.auditConfigs_ = auditConfigsBuilder_.build(); - } - result.etag_ = etag_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.Policy) { - return mergeFrom((com.google.iam.v1.Policy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.Policy other) { - if (other == com.google.iam.v1.Policy.getDefaultInstance()) return this; - if (other.getVersion() != 0) { - setVersion(other.getVersion()); - } - if (bindingsBuilder_ == null) { - if (!other.bindings_.isEmpty()) { - if (bindings_.isEmpty()) { - bindings_ = other.bindings_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureBindingsIsMutable(); - bindings_.addAll(other.bindings_); - } - onChanged(); - } - } else { - if (!other.bindings_.isEmpty()) { - if (bindingsBuilder_.isEmpty()) { - bindingsBuilder_.dispose(); - bindingsBuilder_ = null; - bindings_ = other.bindings_; - bitField0_ = (bitField0_ & ~0x00000001); - bindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBindingsFieldBuilder() - : null; - } else { - bindingsBuilder_.addAllMessages(other.bindings_); - } - } - } - if (auditConfigsBuilder_ == null) { - if (!other.auditConfigs_.isEmpty()) { - if (auditConfigs_.isEmpty()) { - auditConfigs_ = other.auditConfigs_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureAuditConfigsIsMutable(); - auditConfigs_.addAll(other.auditConfigs_); - } - onChanged(); - } - } else { - if (!other.auditConfigs_.isEmpty()) { - if (auditConfigsBuilder_.isEmpty()) { - auditConfigsBuilder_.dispose(); - auditConfigsBuilder_ = null; - auditConfigs_ = other.auditConfigs_; - bitField0_ = (bitField0_ & ~0x00000002); - auditConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAuditConfigsFieldBuilder() - : null; - } else { - auditConfigsBuilder_.addAllMessages(other.auditConfigs_); - } - } - } - if (other.getEtag() != com.google.protobuf.ByteString.EMPTY) { - setEtag(other.getEtag()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - version_ = input.readInt32(); - - break; - } // case 8 - case 26: - { - etag_ = input.readBytes(); - - break; - } // case 26 - case 34: - { - com.google.iam.v1.Binding m = - input.readMessage(com.google.iam.v1.Binding.parser(), extensionRegistry); - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.add(m); - } else { - bindingsBuilder_.addMessage(m); - } - break; - } // case 34 - case 50: - { - com.google.iam.v1.AuditConfig m = - input.readMessage(com.google.iam.v1.AuditConfig.parser(), extensionRegistry); - if (auditConfigsBuilder_ == null) { - ensureAuditConfigsIsMutable(); - auditConfigs_.add(m); - } else { - auditConfigsBuilder_.addMessage(m); - } - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private int version_; - /** - * - * - *
    -     * 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).
    -     * 
    - * - * int32 version = 1; - * - * @return The version. - */ - @java.lang.Override - public int getVersion() { - return version_; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * int32 version = 1; - * - * @param value The version to set. - * @return This builder for chaining. - */ - public Builder setVersion(int value) { - - version_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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).
    -     * 
    - * - * int32 version = 1; - * - * @return This builder for chaining. - */ - public Builder clearVersion() { - - version_ = 0; - onChanged(); - return this; - } - - private java.util.List bindings_ = java.util.Collections.emptyList(); - - private void ensureBindingsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - bindings_ = new java.util.ArrayList(bindings_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder> - bindingsBuilder_; - - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public java.util.List getBindingsList() { - if (bindingsBuilder_ == null) { - return java.util.Collections.unmodifiableList(bindings_); - } else { - return bindingsBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public int getBindingsCount() { - if (bindingsBuilder_ == null) { - return bindings_.size(); - } else { - return bindingsBuilder_.getCount(); - } - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public com.google.iam.v1.Binding getBindings(int index) { - if (bindingsBuilder_ == null) { - return bindings_.get(index); - } else { - return bindingsBuilder_.getMessage(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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder setBindings(int index, com.google.iam.v1.Binding value) { - if (bindingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingsIsMutable(); - bindings_.set(index, value); - onChanged(); - } else { - bindingsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder setBindings(int index, com.google.iam.v1.Binding.Builder builderForValue) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.set(index, builderForValue.build()); - onChanged(); - } else { - bindingsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder addBindings(com.google.iam.v1.Binding value) { - if (bindingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingsIsMutable(); - bindings_.add(value); - onChanged(); - } else { - bindingsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder addBindings(int index, com.google.iam.v1.Binding value) { - if (bindingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingsIsMutable(); - bindings_.add(index, value); - onChanged(); - } else { - bindingsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder addBindings(com.google.iam.v1.Binding.Builder builderForValue) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.add(builderForValue.build()); - onChanged(); - } else { - bindingsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder addBindings(int index, com.google.iam.v1.Binding.Builder builderForValue) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.add(index, builderForValue.build()); - onChanged(); - } else { - bindingsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder addAllBindings(java.lang.Iterable values) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bindings_); - onChanged(); - } else { - bindingsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder clearBindings() { - if (bindingsBuilder_ == null) { - bindings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - bindingsBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public Builder removeBindings(int index) { - if (bindingsBuilder_ == null) { - ensureBindingsIsMutable(); - bindings_.remove(index); - onChanged(); - } else { - bindingsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public com.google.iam.v1.Binding.Builder getBindingsBuilder(int index) { - return getBindingsFieldBuilder().getBuilder(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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index) { - if (bindingsBuilder_ == null) { - return bindings_.get(index); - } else { - return bindingsBuilder_.getMessageOrBuilder(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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public java.util.List getBindingsOrBuilderList() { - if (bindingsBuilder_ != null) { - return bindingsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(bindings_); - } - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public com.google.iam.v1.Binding.Builder addBindingsBuilder() { - return getBindingsFieldBuilder().addBuilder(com.google.iam.v1.Binding.getDefaultInstance()); - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public com.google.iam.v1.Binding.Builder addBindingsBuilder(int index) { - return getBindingsFieldBuilder() - .addBuilder(index, com.google.iam.v1.Binding.getDefaultInstance()); - } - /** - * - * - *
    -     * 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
    -     * different roles to `user:alice@example.com`, and not to any other
    -     * principal, then you can add another 1,450 principals to the `bindings` in
    -     * the `Policy`.
    -     * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - public java.util.List getBindingsBuilderList() { - return getBindingsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder> - getBindingsFieldBuilder() { - if (bindingsBuilder_ == null) { - bindingsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.Binding, - com.google.iam.v1.Binding.Builder, - com.google.iam.v1.BindingOrBuilder>( - bindings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - bindings_ = null; - } - return bindingsBuilder_; - } - - private java.util.List auditConfigs_ = - java.util.Collections.emptyList(); - - private void ensureAuditConfigsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - auditConfigs_ = new java.util.ArrayList(auditConfigs_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfig, - com.google.iam.v1.AuditConfig.Builder, - com.google.iam.v1.AuditConfigOrBuilder> - auditConfigsBuilder_; - - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public java.util.List getAuditConfigsList() { - if (auditConfigsBuilder_ == null) { - return java.util.Collections.unmodifiableList(auditConfigs_); - } else { - return auditConfigsBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public int getAuditConfigsCount() { - if (auditConfigsBuilder_ == null) { - return auditConfigs_.size(); - } else { - return auditConfigsBuilder_.getCount(); - } - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public com.google.iam.v1.AuditConfig getAuditConfigs(int index) { - if (auditConfigsBuilder_ == null) { - return auditConfigs_.get(index); - } else { - return auditConfigsBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder setAuditConfigs(int index, com.google.iam.v1.AuditConfig value) { - if (auditConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditConfigsIsMutable(); - auditConfigs_.set(index, value); - onChanged(); - } else { - auditConfigsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder setAuditConfigs( - int index, com.google.iam.v1.AuditConfig.Builder builderForValue) { - if (auditConfigsBuilder_ == null) { - ensureAuditConfigsIsMutable(); - auditConfigs_.set(index, builderForValue.build()); - onChanged(); - } else { - auditConfigsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder addAuditConfigs(com.google.iam.v1.AuditConfig value) { - if (auditConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditConfigsIsMutable(); - auditConfigs_.add(value); - onChanged(); - } else { - auditConfigsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder addAuditConfigs(int index, com.google.iam.v1.AuditConfig value) { - if (auditConfigsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditConfigsIsMutable(); - auditConfigs_.add(index, value); - onChanged(); - } else { - auditConfigsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder addAuditConfigs(com.google.iam.v1.AuditConfig.Builder builderForValue) { - if (auditConfigsBuilder_ == null) { - ensureAuditConfigsIsMutable(); - auditConfigs_.add(builderForValue.build()); - onChanged(); - } else { - auditConfigsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder addAuditConfigs( - int index, com.google.iam.v1.AuditConfig.Builder builderForValue) { - if (auditConfigsBuilder_ == null) { - ensureAuditConfigsIsMutable(); - auditConfigs_.add(index, builderForValue.build()); - onChanged(); - } else { - auditConfigsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder addAllAuditConfigs( - java.lang.Iterable values) { - if (auditConfigsBuilder_ == null) { - ensureAuditConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auditConfigs_); - onChanged(); - } else { - auditConfigsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder clearAuditConfigs() { - if (auditConfigsBuilder_ == null) { - auditConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - auditConfigsBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public Builder removeAuditConfigs(int index) { - if (auditConfigsBuilder_ == null) { - ensureAuditConfigsIsMutable(); - auditConfigs_.remove(index); - onChanged(); - } else { - auditConfigsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public com.google.iam.v1.AuditConfig.Builder getAuditConfigsBuilder(int index) { - return getAuditConfigsFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public com.google.iam.v1.AuditConfigOrBuilder getAuditConfigsOrBuilder(int index) { - if (auditConfigsBuilder_ == null) { - return auditConfigs_.get(index); - } else { - return auditConfigsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public java.util.List - getAuditConfigsOrBuilderList() { - if (auditConfigsBuilder_ != null) { - return auditConfigsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(auditConfigs_); - } - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public com.google.iam.v1.AuditConfig.Builder addAuditConfigsBuilder() { - return getAuditConfigsFieldBuilder() - .addBuilder(com.google.iam.v1.AuditConfig.getDefaultInstance()); - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public com.google.iam.v1.AuditConfig.Builder addAuditConfigsBuilder(int index) { - return getAuditConfigsFieldBuilder() - .addBuilder(index, com.google.iam.v1.AuditConfig.getDefaultInstance()); - } - /** - * - * - *
    -     * Specifies cloud audit logging configuration for this policy.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - public java.util.List getAuditConfigsBuilderList() { - return getAuditConfigsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfig, - com.google.iam.v1.AuditConfig.Builder, - com.google.iam.v1.AuditConfigOrBuilder> - getAuditConfigsFieldBuilder() { - if (auditConfigsBuilder_ == null) { - auditConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfig, - com.google.iam.v1.AuditConfig.Builder, - com.google.iam.v1.AuditConfigOrBuilder>( - auditConfigs_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - auditConfigs_ = null; - } - return auditConfigsBuilder_; - } - - private com.google.protobuf.ByteString etag_ = com.google.protobuf.ByteString.EMPTY; - /** - * - * - *
    -     * `etag` is used for optimistic concurrency control as a way to help
    -     * prevent simultaneous updates of a policy from overwriting each other.
    -     * It is strongly suggested that systems make use of the `etag` in the
    -     * read-modify-write cycle to perform policy updates in order to avoid race
    -     * 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
    -     * the conditions in the version `3` policy are lost.
    -     * 
    - * - * bytes etag = 3; - * - * @return The etag. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEtag() { - return etag_; - } - /** - * - * - *
    -     * `etag` is used for optimistic concurrency control as a way to help
    -     * prevent simultaneous updates of a policy from overwriting each other.
    -     * It is strongly suggested that systems make use of the `etag` in the
    -     * read-modify-write cycle to perform policy updates in order to avoid race
    -     * 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
    -     * the conditions in the version `3` policy are lost.
    -     * 
    - * - * bytes etag = 3; - * - * @param value The etag to set. - * @return This builder for chaining. - */ - public Builder setEtag(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - - etag_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * `etag` is used for optimistic concurrency control as a way to help
    -     * prevent simultaneous updates of a policy from overwriting each other.
    -     * It is strongly suggested that systems make use of the `etag` in the
    -     * read-modify-write cycle to perform policy updates in order to avoid race
    -     * 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
    -     * the conditions in the version `3` policy are lost.
    -     * 
    - * - * bytes etag = 3; - * - * @return This builder for chaining. - */ - public Builder clearEtag() { - - etag_ = getDefaultInstance().getEtag(); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.Policy) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.Policy) - private static final com.google.iam.v1.Policy DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.Policy(); - } - - public static com.google.iam.v1.Policy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.Policy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 536ede1a7c94..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDelta.java +++ /dev/null @@ -1,1410 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * The difference delta between two policies.
    - * 
    - * - * Protobuf type {@code google.iam.v1.PolicyDelta} - */ -public final class PolicyDelta extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.PolicyDelta) - PolicyDeltaOrBuilder { - private static final long serialVersionUID = 0L; - // Use PolicyDelta.newBuilder() to construct. - private PolicyDelta(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PolicyDelta() { - bindingDeltas_ = java.util.Collections.emptyList(); - auditConfigDeltas_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); - } - - public static final int BINDING_DELTAS_FIELD_NUMBER = 1; - private java.util.List bindingDeltas_; - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - @java.lang.Override - public java.util.List getBindingDeltasList() { - return bindingDeltas_; - } - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - @java.lang.Override - public java.util.List - getBindingDeltasOrBuilderList() { - return bindingDeltas_; - } - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - @java.lang.Override - public int getBindingDeltasCount() { - return bindingDeltas_.size(); - } - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - @java.lang.Override - public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { - return bindingDeltas_.get(index); - } - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - @java.lang.Override - public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index) { - return bindingDeltas_.get(index); - } - - public static final int AUDIT_CONFIG_DELTAS_FIELD_NUMBER = 2; - private java.util.List auditConfigDeltas_; - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - @java.lang.Override - public java.util.List getAuditConfigDeltasList() { - return auditConfigDeltas_; - } - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - @java.lang.Override - public java.util.List - getAuditConfigDeltasOrBuilderList() { - return auditConfigDeltas_; - } - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - @java.lang.Override - public int getAuditConfigDeltasCount() { - return auditConfigDeltas_.size(); - } - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - @java.lang.Override - public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { - return auditConfigDeltas_.get(index); - } - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - @java.lang.Override - public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index) { - return auditConfigDeltas_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < bindingDeltas_.size(); i++) { - output.writeMessage(1, bindingDeltas_.get(i)); - } - for (int i = 0; i < auditConfigDeltas_.size(); i++) { - output.writeMessage(2, auditConfigDeltas_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < bindingDeltas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, bindingDeltas_.get(i)); - } - for (int i = 0; i < auditConfigDeltas_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, auditConfigDeltas_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.PolicyDelta)) { - return super.equals(obj); - } - com.google.iam.v1.PolicyDelta other = (com.google.iam.v1.PolicyDelta) obj; - - if (!getBindingDeltasList().equals(other.getBindingDeltasList())) return false; - if (!getAuditConfigDeltasList().equals(other.getAuditConfigDeltasList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getBindingDeltasCount() > 0) { - hash = (37 * hash) + BINDING_DELTAS_FIELD_NUMBER; - hash = (53 * hash) + getBindingDeltasList().hashCode(); - } - if (getAuditConfigDeltasCount() > 0) { - hash = (37 * hash) + AUDIT_CONFIG_DELTAS_FIELD_NUMBER; - hash = (53 * hash) + getAuditConfigDeltasList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.PolicyDelta parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.PolicyDelta parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.PolicyDelta parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.PolicyDelta parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.PolicyDelta parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.PolicyDelta parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.PolicyDelta parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.PolicyDelta parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.PolicyDelta parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.PolicyDelta parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.PolicyDelta parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.PolicyDelta parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.PolicyDelta prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * The difference delta between two policies.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.PolicyDelta} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.PolicyDelta) - com.google.iam.v1.PolicyDeltaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.PolicyProto - .internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.PolicyDelta.class, com.google.iam.v1.PolicyDelta.Builder.class); - } - - // Construct using com.google.iam.v1.PolicyDelta.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (bindingDeltasBuilder_ == null) { - bindingDeltas_ = java.util.Collections.emptyList(); - } else { - bindingDeltas_ = null; - bindingDeltasBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - if (auditConfigDeltasBuilder_ == null) { - auditConfigDeltas_ = java.util.Collections.emptyList(); - } else { - auditConfigDeltas_ = null; - auditConfigDeltasBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.PolicyProto.internal_static_google_iam_v1_PolicyDelta_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { - return com.google.iam.v1.PolicyDelta.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.PolicyDelta build() { - com.google.iam.v1.PolicyDelta result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.PolicyDelta buildPartial() { - com.google.iam.v1.PolicyDelta result = new com.google.iam.v1.PolicyDelta(this); - int from_bitField0_ = bitField0_; - if (bindingDeltasBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - bindingDeltas_ = java.util.Collections.unmodifiableList(bindingDeltas_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.bindingDeltas_ = bindingDeltas_; - } else { - result.bindingDeltas_ = bindingDeltasBuilder_.build(); - } - if (auditConfigDeltasBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - auditConfigDeltas_ = java.util.Collections.unmodifiableList(auditConfigDeltas_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.auditConfigDeltas_ = auditConfigDeltas_; - } else { - result.auditConfigDeltas_ = auditConfigDeltasBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.PolicyDelta) { - return mergeFrom((com.google.iam.v1.PolicyDelta) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.PolicyDelta other) { - if (other == com.google.iam.v1.PolicyDelta.getDefaultInstance()) return this; - if (bindingDeltasBuilder_ == null) { - if (!other.bindingDeltas_.isEmpty()) { - if (bindingDeltas_.isEmpty()) { - bindingDeltas_ = other.bindingDeltas_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureBindingDeltasIsMutable(); - bindingDeltas_.addAll(other.bindingDeltas_); - } - onChanged(); - } - } else { - if (!other.bindingDeltas_.isEmpty()) { - if (bindingDeltasBuilder_.isEmpty()) { - bindingDeltasBuilder_.dispose(); - bindingDeltasBuilder_ = null; - bindingDeltas_ = other.bindingDeltas_; - bitField0_ = (bitField0_ & ~0x00000001); - bindingDeltasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBindingDeltasFieldBuilder() - : null; - } else { - bindingDeltasBuilder_.addAllMessages(other.bindingDeltas_); - } - } - } - if (auditConfigDeltasBuilder_ == null) { - if (!other.auditConfigDeltas_.isEmpty()) { - if (auditConfigDeltas_.isEmpty()) { - auditConfigDeltas_ = other.auditConfigDeltas_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.addAll(other.auditConfigDeltas_); - } - onChanged(); - } - } else { - if (!other.auditConfigDeltas_.isEmpty()) { - if (auditConfigDeltasBuilder_.isEmpty()) { - auditConfigDeltasBuilder_.dispose(); - auditConfigDeltasBuilder_ = null; - auditConfigDeltas_ = other.auditConfigDeltas_; - bitField0_ = (bitField0_ & ~0x00000002); - auditConfigDeltasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAuditConfigDeltasFieldBuilder() - : null; - } else { - auditConfigDeltasBuilder_.addAllMessages(other.auditConfigDeltas_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.iam.v1.BindingDelta m = - input.readMessage(com.google.iam.v1.BindingDelta.parser(), extensionRegistry); - if (bindingDeltasBuilder_ == null) { - ensureBindingDeltasIsMutable(); - bindingDeltas_.add(m); - } else { - bindingDeltasBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.iam.v1.AuditConfigDelta m = - input.readMessage( - com.google.iam.v1.AuditConfigDelta.parser(), extensionRegistry); - if (auditConfigDeltasBuilder_ == null) { - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.add(m); - } else { - auditConfigDeltasBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List bindingDeltas_ = - java.util.Collections.emptyList(); - - private void ensureBindingDeltasIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - bindingDeltas_ = new java.util.ArrayList(bindingDeltas_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.BindingDelta, - com.google.iam.v1.BindingDelta.Builder, - com.google.iam.v1.BindingDeltaOrBuilder> - bindingDeltasBuilder_; - - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public java.util.List getBindingDeltasList() { - if (bindingDeltasBuilder_ == null) { - return java.util.Collections.unmodifiableList(bindingDeltas_); - } else { - return bindingDeltasBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public int getBindingDeltasCount() { - if (bindingDeltasBuilder_ == null) { - return bindingDeltas_.size(); - } else { - return bindingDeltasBuilder_.getCount(); - } - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public com.google.iam.v1.BindingDelta getBindingDeltas(int index) { - if (bindingDeltasBuilder_ == null) { - return bindingDeltas_.get(index); - } else { - return bindingDeltasBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder setBindingDeltas(int index, com.google.iam.v1.BindingDelta value) { - if (bindingDeltasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingDeltasIsMutable(); - bindingDeltas_.set(index, value); - onChanged(); - } else { - bindingDeltasBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder setBindingDeltas( - int index, com.google.iam.v1.BindingDelta.Builder builderForValue) { - if (bindingDeltasBuilder_ == null) { - ensureBindingDeltasIsMutable(); - bindingDeltas_.set(index, builderForValue.build()); - onChanged(); - } else { - bindingDeltasBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder addBindingDeltas(com.google.iam.v1.BindingDelta value) { - if (bindingDeltasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingDeltasIsMutable(); - bindingDeltas_.add(value); - onChanged(); - } else { - bindingDeltasBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder addBindingDeltas(int index, com.google.iam.v1.BindingDelta value) { - if (bindingDeltasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureBindingDeltasIsMutable(); - bindingDeltas_.add(index, value); - onChanged(); - } else { - bindingDeltasBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder addBindingDeltas(com.google.iam.v1.BindingDelta.Builder builderForValue) { - if (bindingDeltasBuilder_ == null) { - ensureBindingDeltasIsMutable(); - bindingDeltas_.add(builderForValue.build()); - onChanged(); - } else { - bindingDeltasBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder addBindingDeltas( - int index, com.google.iam.v1.BindingDelta.Builder builderForValue) { - if (bindingDeltasBuilder_ == null) { - ensureBindingDeltasIsMutable(); - bindingDeltas_.add(index, builderForValue.build()); - onChanged(); - } else { - bindingDeltasBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder addAllBindingDeltas( - java.lang.Iterable values) { - if (bindingDeltasBuilder_ == null) { - ensureBindingDeltasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bindingDeltas_); - onChanged(); - } else { - bindingDeltasBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder clearBindingDeltas() { - if (bindingDeltasBuilder_ == null) { - bindingDeltas_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - bindingDeltasBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public Builder removeBindingDeltas(int index) { - if (bindingDeltasBuilder_ == null) { - ensureBindingDeltasIsMutable(); - bindingDeltas_.remove(index); - onChanged(); - } else { - bindingDeltasBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public com.google.iam.v1.BindingDelta.Builder getBindingDeltasBuilder(int index) { - return getBindingDeltasFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index) { - if (bindingDeltasBuilder_ == null) { - return bindingDeltas_.get(index); - } else { - return bindingDeltasBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public java.util.List - getBindingDeltasOrBuilderList() { - if (bindingDeltasBuilder_ != null) { - return bindingDeltasBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(bindingDeltas_); - } - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder() { - return getBindingDeltasFieldBuilder() - .addBuilder(com.google.iam.v1.BindingDelta.getDefaultInstance()); - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public com.google.iam.v1.BindingDelta.Builder addBindingDeltasBuilder(int index) { - return getBindingDeltasFieldBuilder() - .addBuilder(index, com.google.iam.v1.BindingDelta.getDefaultInstance()); - } - /** - * - * - *
    -     * The delta for Bindings between two policies.
    -     * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - public java.util.List getBindingDeltasBuilderList() { - return getBindingDeltasFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.BindingDelta, - com.google.iam.v1.BindingDelta.Builder, - com.google.iam.v1.BindingDeltaOrBuilder> - getBindingDeltasFieldBuilder() { - if (bindingDeltasBuilder_ == null) { - bindingDeltasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.BindingDelta, - com.google.iam.v1.BindingDelta.Builder, - com.google.iam.v1.BindingDeltaOrBuilder>( - bindingDeltas_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - bindingDeltas_ = null; - } - return bindingDeltasBuilder_; - } - - private java.util.List auditConfigDeltas_ = - java.util.Collections.emptyList(); - - private void ensureAuditConfigDeltasIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - auditConfigDeltas_ = - new java.util.ArrayList(auditConfigDeltas_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfigDelta, - com.google.iam.v1.AuditConfigDelta.Builder, - com.google.iam.v1.AuditConfigDeltaOrBuilder> - auditConfigDeltasBuilder_; - - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public java.util.List getAuditConfigDeltasList() { - if (auditConfigDeltasBuilder_ == null) { - return java.util.Collections.unmodifiableList(auditConfigDeltas_); - } else { - return auditConfigDeltasBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public int getAuditConfigDeltasCount() { - if (auditConfigDeltasBuilder_ == null) { - return auditConfigDeltas_.size(); - } else { - return auditConfigDeltasBuilder_.getCount(); - } - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index) { - if (auditConfigDeltasBuilder_ == null) { - return auditConfigDeltas_.get(index); - } else { - return auditConfigDeltasBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder setAuditConfigDeltas(int index, com.google.iam.v1.AuditConfigDelta value) { - if (auditConfigDeltasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.set(index, value); - onChanged(); - } else { - auditConfigDeltasBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder setAuditConfigDeltas( - int index, com.google.iam.v1.AuditConfigDelta.Builder builderForValue) { - if (auditConfigDeltasBuilder_ == null) { - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.set(index, builderForValue.build()); - onChanged(); - } else { - auditConfigDeltasBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder addAuditConfigDeltas(com.google.iam.v1.AuditConfigDelta value) { - if (auditConfigDeltasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.add(value); - onChanged(); - } else { - auditConfigDeltasBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder addAuditConfigDeltas(int index, com.google.iam.v1.AuditConfigDelta value) { - if (auditConfigDeltasBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.add(index, value); - onChanged(); - } else { - auditConfigDeltasBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder addAuditConfigDeltas( - com.google.iam.v1.AuditConfigDelta.Builder builderForValue) { - if (auditConfigDeltasBuilder_ == null) { - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.add(builderForValue.build()); - onChanged(); - } else { - auditConfigDeltasBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder addAuditConfigDeltas( - int index, com.google.iam.v1.AuditConfigDelta.Builder builderForValue) { - if (auditConfigDeltasBuilder_ == null) { - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.add(index, builderForValue.build()); - onChanged(); - } else { - auditConfigDeltasBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder addAllAuditConfigDeltas( - java.lang.Iterable values) { - if (auditConfigDeltasBuilder_ == null) { - ensureAuditConfigDeltasIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, auditConfigDeltas_); - onChanged(); - } else { - auditConfigDeltasBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder clearAuditConfigDeltas() { - if (auditConfigDeltasBuilder_ == null) { - auditConfigDeltas_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - auditConfigDeltasBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public Builder removeAuditConfigDeltas(int index) { - if (auditConfigDeltasBuilder_ == null) { - ensureAuditConfigDeltasIsMutable(); - auditConfigDeltas_.remove(index); - onChanged(); - } else { - auditConfigDeltasBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public com.google.iam.v1.AuditConfigDelta.Builder getAuditConfigDeltasBuilder(int index) { - return getAuditConfigDeltasFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index) { - if (auditConfigDeltasBuilder_ == null) { - return auditConfigDeltas_.get(index); - } else { - return auditConfigDeltasBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public java.util.List - getAuditConfigDeltasOrBuilderList() { - if (auditConfigDeltasBuilder_ != null) { - return auditConfigDeltasBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(auditConfigDeltas_); - } - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder() { - return getAuditConfigDeltasFieldBuilder() - .addBuilder(com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public com.google.iam.v1.AuditConfigDelta.Builder addAuditConfigDeltasBuilder(int index) { - return getAuditConfigDeltasFieldBuilder() - .addBuilder(index, com.google.iam.v1.AuditConfigDelta.getDefaultInstance()); - } - /** - * - * - *
    -     * The delta for AuditConfigs between two policies.
    -     * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - public java.util.List - getAuditConfigDeltasBuilderList() { - return getAuditConfigDeltasFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfigDelta, - com.google.iam.v1.AuditConfigDelta.Builder, - com.google.iam.v1.AuditConfigDeltaOrBuilder> - getAuditConfigDeltasFieldBuilder() { - if (auditConfigDeltasBuilder_ == null) { - auditConfigDeltasBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v1.AuditConfigDelta, - com.google.iam.v1.AuditConfigDelta.Builder, - com.google.iam.v1.AuditConfigDeltaOrBuilder>( - auditConfigDeltas_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - auditConfigDeltas_ = null; - } - return auditConfigDeltasBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.PolicyDelta) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.PolicyDelta) - private static final com.google.iam.v1.PolicyDelta DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.PolicyDelta(); - } - - public static com.google.iam.v1.PolicyDelta getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyDelta parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.PolicyDelta getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java deleted file mode 100644 index fd3e1c0ddc2f..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyDeltaOrBuilder.java +++ /dev/null @@ -1,128 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public interface PolicyDeltaOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.PolicyDelta) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - java.util.List getBindingDeltasList(); - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - com.google.iam.v1.BindingDelta getBindingDeltas(int index); - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - int getBindingDeltasCount(); - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - java.util.List getBindingDeltasOrBuilderList(); - /** - * - * - *
    -   * The delta for Bindings between two policies.
    -   * 
    - * - * repeated .google.iam.v1.BindingDelta binding_deltas = 1; - */ - com.google.iam.v1.BindingDeltaOrBuilder getBindingDeltasOrBuilder(int index); - - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - java.util.List getAuditConfigDeltasList(); - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - com.google.iam.v1.AuditConfigDelta getAuditConfigDeltas(int index); - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - int getAuditConfigDeltasCount(); - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - java.util.List - getAuditConfigDeltasOrBuilderList(); - /** - * - * - *
    -   * The delta for AuditConfigs between two policies.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfigDelta audit_config_deltas = 2; - */ - com.google.iam.v1.AuditConfigDeltaOrBuilder getAuditConfigDeltasOrBuilder(int index); -} 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 deleted file mode 100644 index 571dcb8057bc..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyOrBuilder.java +++ /dev/null @@ -1,220 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public interface PolicyOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.Policy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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).
    -   * 
    - * - * int32 version = 1; - * - * @return The version. - */ - 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - java.util.List getBindingsOrBuilderList(); - /** - * - * - *
    -   * 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
    -   * different roles to `user:alice@example.com`, and not to any other
    -   * principal, then you can add another 1,450 principals to the `bindings` in
    -   * the `Policy`.
    -   * 
    - * - * repeated .google.iam.v1.Binding bindings = 4; - */ - com.google.iam.v1.BindingOrBuilder getBindingsOrBuilder(int index); - - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - java.util.List getAuditConfigsList(); - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - com.google.iam.v1.AuditConfig getAuditConfigs(int index); - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - int getAuditConfigsCount(); - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - java.util.List getAuditConfigsOrBuilderList(); - /** - * - * - *
    -   * Specifies cloud audit logging configuration for this policy.
    -   * 
    - * - * repeated .google.iam.v1.AuditConfig audit_configs = 6; - */ - com.google.iam.v1.AuditConfigOrBuilder getAuditConfigsOrBuilder(int index); - - /** - * - * - *
    -   * `etag` is used for optimistic concurrency control as a way to help
    -   * prevent simultaneous updates of a policy from overwriting each other.
    -   * It is strongly suggested that systems make use of the `etag` in the
    -   * read-modify-write cycle to perform policy updates in order to avoid race
    -   * 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
    -   * the conditions in the version `3` policy are lost.
    -   * 
    - * - * bytes etag = 3; - * - * @return The etag. - */ - com.google.protobuf.ByteString getEtag(); -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java deleted file mode 100644 index 8ba3e50af000..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/PolicyProto.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/policy.proto - -package com.google.iam.v1; - -public final class PolicyProto { - private PolicyProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_Policy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_Policy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_Binding_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_Binding_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_AuditConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_AuditConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_AuditLogConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_PolicyDelta_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_BindingDelta_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_BindingDelta_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_AuditConfigDelta_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\032google/iam/v1/policy.proto\022\rgoogle.iam" - + ".v1\032\026google/type/expr.proto\"\204\001\n\006Policy\022\017" - + "\n\007version\030\001 \001(\005\022(\n\010bindings\030\004 \003(\0132\026.goog" - + "le.iam.v1.Binding\0221\n\raudit_configs\030\006 \003(\013" - + "2\032.google.iam.v1.AuditConfig\022\014\n\004etag\030\003 \001" - + "(\014\"N\n\007Binding\022\014\n\004role\030\001 \001(\t\022\017\n\007members\030\002" - + " \003(\t\022$\n\tcondition\030\003 \001(\0132\021.google.type.Ex" - + "pr\"X\n\013AuditConfig\022\017\n\007service\030\001 \001(\t\0228\n\021au" - + "dit_log_configs\030\003 \003(\0132\035.google.iam.v1.Au" - + "ditLogConfig\"\267\001\n\016AuditLogConfig\0227\n\010log_t" - + "ype\030\001 \001(\0162%.google.iam.v1.AuditLogConfig" - + ".LogType\022\030\n\020exempted_members\030\002 \003(\t\"R\n\007Lo" - + "gType\022\030\n\024LOG_TYPE_UNSPECIFIED\020\000\022\016\n\nADMIN" - + "_READ\020\001\022\016\n\nDATA_WRITE\020\002\022\r\n\tDATA_READ\020\003\"\200" - + "\001\n\013PolicyDelta\0223\n\016binding_deltas\030\001 \003(\0132\033" - + ".google.iam.v1.BindingDelta\022<\n\023audit_con" - + "fig_deltas\030\002 \003(\0132\037.google.iam.v1.AuditCo" - + "nfigDelta\"\275\001\n\014BindingDelta\0222\n\006action\030\001 \001" - + "(\0162\".google.iam.v1.BindingDelta.Action\022\014" - + "\n\004role\030\002 \001(\t\022\016\n\006member\030\003 \001(\t\022$\n\tconditio" - + "n\030\004 \001(\0132\021.google.type.Expr\"5\n\006Action\022\026\n\022" - + "ACTION_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020" - + "\002\"\275\001\n\020AuditConfigDelta\0226\n\006action\030\001 \001(\0162&" - + ".google.iam.v1.AuditConfigDelta.Action\022\017" - + "\n\007service\030\002 \001(\t\022\027\n\017exempted_member\030\003 \001(\t" - + "\022\020\n\010log_type\030\004 \001(\t\"5\n\006Action\022\026\n\022ACTION_U" - + "NSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002B\203\001\n\021co" - + "m.google.iam.v1B\013PolicyProtoP\001Z0google.g" - + "olang.org/genproto/googleapis/iam/v1;iam" - + "\370\001\001\252\002\023Google.Cloud.Iam.V1\312\002\023Google\\Cloud" - + "\\Iam\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.ExprProto.getDescriptor(), - }); - internal_static_google_iam_v1_Policy_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v1_Policy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_Policy_descriptor, - new java.lang.String[] { - "Version", "Bindings", "AuditConfigs", "Etag", - }); - internal_static_google_iam_v1_Binding_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_iam_v1_Binding_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_Binding_descriptor, - new java.lang.String[] { - "Role", "Members", "Condition", - }); - internal_static_google_iam_v1_AuditConfig_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_google_iam_v1_AuditConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_AuditConfig_descriptor, - new java.lang.String[] { - "Service", "AuditLogConfigs", - }); - internal_static_google_iam_v1_AuditLogConfig_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_iam_v1_AuditLogConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_AuditLogConfig_descriptor, - new java.lang.String[] { - "LogType", "ExemptedMembers", - }); - internal_static_google_iam_v1_PolicyDelta_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_google_iam_v1_PolicyDelta_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_PolicyDelta_descriptor, - new java.lang.String[] { - "BindingDeltas", "AuditConfigDeltas", - }); - internal_static_google_iam_v1_BindingDelta_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_iam_v1_BindingDelta_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_BindingDelta_descriptor, - new java.lang.String[] { - "Action", "Role", "Member", "Condition", - }); - internal_static_google_iam_v1_AuditConfigDelta_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_iam_v1_AuditConfigDelta_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v1_AuditConfigDelta_descriptor, - new java.lang.String[] { - "Action", "Service", "ExemptedMember", "LogType", - }); - com.google.type.ExprProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 78d0c7aa0130..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequest.java +++ /dev/null @@ -1,1225 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Request message for `SetIamPolicy` method.
    - * 
    - * - * Protobuf type {@code google.iam.v1.SetIamPolicyRequest} - */ -public final class SetIamPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.SetIamPolicyRequest) - SetIamPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use SetIamPolicyRequest.newBuilder() to construct. - private SetIamPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private SetIamPolicyRequest() { - resource_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.SetIamPolicyRequest.class, - com.google.iam.v1.SetIamPolicyRequest.Builder.class); - } - - public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile java.lang.Object resource_; - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being specified.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - @java.lang.Override - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - resource_ = s; - return s; - } - } - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being specified.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int POLICY_FIELD_NUMBER = 2; - private com.google.iam.v1.Policy policy_; - /** - * - * - *
    -   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -   * the policy is limited to a few 10s of KB. An empty policy is a
    -   * valid policy but certain Cloud Platform services (such as Projects)
    -   * might reject them.
    -   * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - @java.lang.Override - public boolean hasPolicy() { - return policy_ != null; - } - /** - * - * - *
    -   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -   * the policy is limited to a few 10s of KB. An empty policy is a
    -   * valid policy but certain Cloud Platform services (such as Projects)
    -   * might reject them.
    -   * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - @java.lang.Override - public com.google.iam.v1.Policy getPolicy() { - return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; - } - /** - * - * - *
    -   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -   * the policy is limited to a few 10s of KB. An empty policy is a
    -   * valid policy but certain Cloud Platform services (such as Projects)
    -   * might reject them.
    -   * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - @java.lang.Override - public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { - return getPolicy(); - } - - public static final int UPDATE_MASK_FIELD_NUMBER = 3; - private com.google.protobuf.FieldMask updateMask_; - /** - * - * - *
    -   * 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"`
    -   * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - * - * @return Whether the updateMask field is set. - */ - @java.lang.Override - public boolean hasUpdateMask() { - return updateMask_ != null; - } - /** - * - * - *
    -   * 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"`
    -   * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - * - * @return The updateMask. - */ - @java.lang.Override - public com.google.protobuf.FieldMask getUpdateMask() { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; - } - /** - * - * - *
    -   * 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"`
    -   * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - @java.lang.Override - public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { - return getUpdateMask(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); - } - if (policy_ != null) { - output.writeMessage(2, getPolicy()); - } - if (updateMask_ != null) { - output.writeMessage(3, getUpdateMask()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); - } - if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy()); - } - if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.SetIamPolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v1.SetIamPolicyRequest other = (com.google.iam.v1.SetIamPolicyRequest) obj; - - if (!getResource().equals(other.getResource())) return false; - if (hasPolicy() != other.hasPolicy()) return false; - if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; - } - if (hasUpdateMask() != other.hasUpdateMask()) return false; - if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_FIELD_NUMBER; - hash = (53 * hash) + getResource().hashCode(); - if (hasPolicy()) { - hash = (37 * hash) + POLICY_FIELD_NUMBER; - hash = (53 * hash) + getPolicy().hashCode(); - } - if (hasUpdateMask()) { - hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; - hash = (53 * hash) + getUpdateMask().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.SetIamPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.SetIamPolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `SetIamPolicy` method.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.SetIamPolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.SetIamPolicyRequest) - com.google.iam.v1.SetIamPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_SetIamPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.SetIamPolicyRequest.class, - com.google.iam.v1.SetIamPolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v1.SetIamPolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - resource_ = ""; - - if (policyBuilder_ == null) { - policy_ = null; - } else { - policy_ = null; - policyBuilder_ = null; - } - if (updateMaskBuilder_ == null) { - updateMask_ = null; - } else { - updateMask_ = null; - updateMaskBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_SetIamPolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() { - return com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.SetIamPolicyRequest build() { - com.google.iam.v1.SetIamPolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.SetIamPolicyRequest buildPartial() { - com.google.iam.v1.SetIamPolicyRequest result = - new com.google.iam.v1.SetIamPolicyRequest(this); - result.resource_ = resource_; - if (policyBuilder_ == null) { - result.policy_ = policy_; - } else { - result.policy_ = policyBuilder_.build(); - } - if (updateMaskBuilder_ == null) { - result.updateMask_ = updateMask_; - } else { - result.updateMask_ = updateMaskBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.SetIamPolicyRequest) { - return mergeFrom((com.google.iam.v1.SetIamPolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.SetIamPolicyRequest other) { - if (other == com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()) return this; - if (!other.getResource().isEmpty()) { - resource_ = other.resource_; - onChanged(); - } - if (other.hasPolicy()) { - mergePolicy(other.getPolicy()); - } - if (other.hasUpdateMask()) { - mergeUpdateMask(other.getUpdateMask()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object resource_ = ""; - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being specified.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - resource_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being specified.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being specified.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The resource to set. - * @return This builder for chaining. - */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - resource_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being specified.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearResource() { - - resource_ = getDefaultInstance().getResource(); - onChanged(); - return this; - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy is being specified.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for resource to set. - * @return This builder for chaining. - */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - resource_ = value; - onChanged(); - return this; - } - - private com.google.iam.v1.Policy policy_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - policyBuilder_; - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - public boolean hasPolicy() { - return policyBuilder_ != null || policy_ != null; - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - public com.google.iam.v1.Policy getPolicy() { - if (policyBuilder_ == null) { - return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; - } else { - return policyBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v1.Policy value) { - if (policyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policy_ = value; - onChanged(); - } else { - policyBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue) { - if (policyBuilder_ == null) { - policy_ = builderForValue.build(); - onChanged(); - } else { - policyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder mergePolicy(com.google.iam.v1.Policy value) { - if (policyBuilder_ == null) { - if (policy_ != null) { - policy_ = com.google.iam.v1.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); - } else { - policy_ = value; - } - onChanged(); - } else { - policyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder clearPolicy() { - if (policyBuilder_ == null) { - policy_ = null; - onChanged(); - } else { - policy_ = null; - policyBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v1.Policy.Builder getPolicyBuilder() { - - onChanged(); - return getPolicyFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder() { - if (policyBuilder_ != null) { - return policyBuilder_.getMessageOrBuilder(); - } else { - return policy_ == null ? com.google.iam.v1.Policy.getDefaultInstance() : policy_; - } - } - /** - * - * - *
    -     * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -     * the policy is limited to a few 10s of KB. An empty policy is a
    -     * valid policy but certain Cloud Platform services (such as Projects)
    -     * might reject them.
    -     * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder> - getPolicyFieldBuilder() { - if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.Policy, - com.google.iam.v1.Policy.Builder, - com.google.iam.v1.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); - policy_ = null; - } - return policyBuilder_; - } - - private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - * - * @return Whether the updateMask field is set. - */ - public boolean hasUpdateMask() { - return updateMaskBuilder_ != null || updateMask_ != null; - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - * - * @return The updateMask. - */ - public com.google.protobuf.FieldMask getUpdateMask() { - if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; - } else { - return updateMaskBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - public Builder setUpdateMask(com.google.protobuf.FieldMask value) { - if (updateMaskBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updateMask_ = value; - onChanged(); - } else { - updateMaskBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { - if (updateMaskBuilder_ == null) { - updateMask_ = builderForValue.build(); - onChanged(); - } else { - updateMaskBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { - if (updateMaskBuilder_ == null) { - if (updateMask_ != null) { - updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); - } else { - updateMask_ = value; - } - onChanged(); - } else { - updateMaskBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - public Builder clearUpdateMask() { - if (updateMaskBuilder_ == null) { - updateMask_ = null; - onChanged(); - } else { - updateMask_ = null; - updateMaskBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - - onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { - if (updateMaskBuilder_ != null) { - return updateMaskBuilder_.getMessageOrBuilder(); - } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; - } - } - /** - * - * - *
    -     * 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"`
    -     * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { - if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); - updateMask_ = null; - } - return updateMaskBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.SetIamPolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.SetIamPolicyRequest) - private static final com.google.iam.v1.SetIamPolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.SetIamPolicyRequest(); - } - - public static com.google.iam.v1.SetIamPolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetIamPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.SetIamPolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 48ab0dff5dba..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/SetIamPolicyRequestOrBuilder.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -public interface SetIamPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.SetIamPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being specified.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - java.lang.String getResource(); - /** - * - * - *
    -   * REQUIRED: The resource for which the policy is being specified.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - com.google.protobuf.ByteString getResourceBytes(); - - /** - * - * - *
    -   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -   * the policy is limited to a few 10s of KB. An empty policy is a
    -   * valid policy but certain Cloud Platform services (such as Projects)
    -   * might reject them.
    -   * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - boolean hasPolicy(); - /** - * - * - *
    -   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -   * the policy is limited to a few 10s of KB. An empty policy is a
    -   * valid policy but certain Cloud Platform services (such as Projects)
    -   * might reject them.
    -   * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - com.google.iam.v1.Policy getPolicy(); - /** - * - * - *
    -   * REQUIRED: The complete policy to be applied to the `resource`. The size of
    -   * the policy is limited to a few 10s of KB. An empty policy is a
    -   * valid policy but certain Cloud Platform services (such as Projects)
    -   * might reject them.
    -   * 
    - * - * .google.iam.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - 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"`
    -   * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - * - * @return Whether the updateMask field is set. - */ - 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"`
    -   * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - * - * @return The updateMask. - */ - 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"`
    -   * 
    - * - * .google.protobuf.FieldMask update_mask = 3; - */ - com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); -} 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 deleted file mode 100644 index cb5dab7d8f15..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequest.java +++ /dev/null @@ -1,947 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Request message for `TestIamPermissions` method.
    - * 
    - * - * Protobuf type {@code google.iam.v1.TestIamPermissionsRequest} - */ -public final class TestIamPermissionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsRequest) - TestIamPermissionsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use TestIamPermissionsRequest.newBuilder() to construct. - private TestIamPermissionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private TestIamPermissionsRequest() { - resource_ = ""; - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.TestIamPermissionsRequest.class, - com.google.iam.v1.TestIamPermissionsRequest.Builder.class); - } - - public static final int RESOURCE_FIELD_NUMBER = 1; - private volatile java.lang.Object resource_; - /** - * - * - *
    -   * REQUIRED: The resource for which the policy detail is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - @java.lang.Override - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - resource_ = s; - return s; - } - } - /** - * - * - *
    -   * REQUIRED: The resource for which the policy detail is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PERMISSIONS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList permissions_; - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return A list containing the permissions. - */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { - return permissions_; - } - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The count of permissions. - */ - public int getPermissionsCount() { - return permissions_.size(); - } - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param index The index of the element to return. - * @return The permissions at the given index. - */ - public java.lang.String getPermissions(int index) { - return permissions_.get(index); - } - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param index The index of the value to return. - * @return The bytes of the permissions at the given index. - */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { - return permissions_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_); - } - for (int i = 0; i < permissions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, permissions_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_); - } - { - int dataSize = 0; - for (int i = 0; i < permissions_.size(); i++) { - dataSize += computeStringSizeNoTag(permissions_.getRaw(i)); - } - size += dataSize; - size += 1 * getPermissionsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.TestIamPermissionsRequest)) { - return super.equals(obj); - } - com.google.iam.v1.TestIamPermissionsRequest other = - (com.google.iam.v1.TestIamPermissionsRequest) obj; - - if (!getResource().equals(other.getResource())) return false; - if (!getPermissionsList().equals(other.getPermissionsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + RESOURCE_FIELD_NUMBER; - hash = (53 * hash) + getResource().hashCode(); - if (getPermissionsCount() > 0) { - hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + getPermissionsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.TestIamPermissionsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `TestIamPermissions` method.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.TestIamPermissionsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.TestIamPermissionsRequest) - com.google.iam.v1.TestIamPermissionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.TestIamPermissionsRequest.class, - com.google.iam.v1.TestIamPermissionsRequest.Builder.class); - } - - // Construct using com.google.iam.v1.TestIamPermissionsRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - resource_ = ""; - - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { - return com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsRequest build() { - com.google.iam.v1.TestIamPermissionsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsRequest buildPartial() { - com.google.iam.v1.TestIamPermissionsRequest result = - new com.google.iam.v1.TestIamPermissionsRequest(this); - int from_bitField0_ = bitField0_; - result.resource_ = resource_; - if (((bitField0_ & 0x00000001) != 0)) { - permissions_ = permissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.permissions_ = permissions_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.TestIamPermissionsRequest) { - return mergeFrom((com.google.iam.v1.TestIamPermissionsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsRequest other) { - if (other == com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()) return this; - if (!other.getResource().isEmpty()) { - resource_ = other.resource_; - onChanged(); - } - if (!other.permissions_.isEmpty()) { - if (permissions_.isEmpty()) { - permissions_ = other.permissions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePermissionsIsMutable(); - permissions_.addAll(other.permissions_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - resource_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePermissionsIsMutable(); - permissions_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object resource_ = ""; - /** - * - * - *
    -     * REQUIRED: The resource for which the policy detail is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - public java.lang.String getResource() { - java.lang.Object ref = resource_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - resource_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy detail is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - public com.google.protobuf.ByteString getResourceBytes() { - java.lang.Object ref = resource_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - resource_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy detail is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The resource to set. - * @return This builder for chaining. - */ - public Builder setResource(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - resource_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy detail is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearResource() { - - resource_ = getDefaultInstance().getResource(); - onChanged(); - return this; - } - /** - * - * - *
    -     * REQUIRED: The resource for which the policy detail is being requested.
    -     * See the operation documentation for the appropriate value for this field.
    -     * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @param value The bytes for resource to set. - * @return This builder for chaining. - */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - resource_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensurePermissionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return A list containing the permissions. - */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { - return permissions_.getUnmodifiableView(); - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The count of permissions. - */ - public int getPermissionsCount() { - return permissions_.size(); - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param index The index of the element to return. - * @return The permissions at the given index. - */ - public java.lang.String getPermissions(int index) { - return permissions_.get(index); - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param index The index of the value to return. - * @return The bytes of the permissions at the given index. - */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { - return permissions_.getByteString(index); - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param index The index to set the value at. - * @param value The permissions to set. - * @return This builder for chaining. - */ - public Builder setPermissions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); - permissions_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The permissions to add. - * @return This builder for chaining. - */ - public Builder addPermissions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); - permissions_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param values The permissions to add. - * @return This builder for chaining. - */ - public Builder addAllPermissions(java.lang.Iterable values) { - ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); - onChanged(); - return this; - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearPermissions() { - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
    -     * The set of permissions to check for the `resource`. Permissions with
    -     * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -     * information see
    -     * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -     * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes of the permissions to add. - * @return This builder for chaining. - */ - public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePermissionsIsMutable(); - permissions_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsRequest) - private static final com.google.iam.v1.TestIamPermissionsRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsRequest(); - } - - public static com.google.iam.v1.TestIamPermissionsRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TestIamPermissionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java deleted file mode 100644 index 53b56f2781b2..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsRequestOrBuilder.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -public interface TestIamPermissionsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.TestIamPermissionsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * REQUIRED: The resource for which the policy detail is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The resource. - */ - java.lang.String getResource(); - /** - * - * - *
    -   * REQUIRED: The resource for which the policy detail is being requested.
    -   * See the operation documentation for the appropriate value for this field.
    -   * 
    - * - * - * string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for resource. - */ - com.google.protobuf.ByteString getResourceBytes(); - - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return A list containing the permissions. - */ - java.util.List getPermissionsList(); - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The count of permissions. - */ - int getPermissionsCount(); - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param index The index of the element to return. - * @return The permissions at the given index. - */ - java.lang.String getPermissions(int index); - /** - * - * - *
    -   * The set of permissions to check for the `resource`. Permissions with
    -   * wildcards (such as '*' or 'storage.*') are not allowed. For more
    -   * information see
    -   * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
    -   * 
    - * - * repeated string permissions = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @param index The index of the value to return. - * @return The bytes of the permissions at the given index. - */ - com.google.protobuf.ByteString getPermissionsBytes(int index); -} 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 deleted file mode 100644 index fbe4f1a3e7c7..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponse.java +++ /dev/null @@ -1,722 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -/** - * - * - *
    - * Response message for `TestIamPermissions` method.
    - * 
    - * - * Protobuf type {@code google.iam.v1.TestIamPermissionsResponse} - */ -public final class TestIamPermissionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.TestIamPermissionsResponse) - TestIamPermissionsResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use TestIamPermissionsResponse.newBuilder() to construct. - private TestIamPermissionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private TestIamPermissionsResponse() { - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.TestIamPermissionsResponse.class, - com.google.iam.v1.TestIamPermissionsResponse.Builder.class); - } - - public static final int PERMISSIONS_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList permissions_; - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @return A list containing the permissions. - */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { - return permissions_; - } - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @return The count of permissions. - */ - public int getPermissionsCount() { - return permissions_.size(); - } - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @param index The index of the element to return. - * @return The permissions at the given index. - */ - public java.lang.String getPermissions(int index) { - return permissions_.get(index); - } - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @param index The index of the value to return. - * @return The bytes of the permissions at the given index. - */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { - return permissions_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < permissions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, permissions_.getRaw(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < permissions_.size(); i++) { - dataSize += computeStringSizeNoTag(permissions_.getRaw(i)); - } - size += dataSize; - size += 1 * getPermissionsList().size(); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.TestIamPermissionsResponse)) { - return super.equals(obj); - } - com.google.iam.v1.TestIamPermissionsResponse other = - (com.google.iam.v1.TestIamPermissionsResponse) obj; - - if (!getPermissionsList().equals(other.getPermissionsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPermissionsCount() > 0) { - hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + getPermissionsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.TestIamPermissionsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.TestIamPermissionsResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Response message for `TestIamPermissions` method.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.TestIamPermissionsResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.TestIamPermissionsResponse) - com.google.iam.v1.TestIamPermissionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.TestIamPermissionsResponse.class, - com.google.iam.v1.TestIamPermissionsResponse.Builder.class); - } - - // Construct using com.google.iam.v1.TestIamPermissionsResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.IamPolicyProto - .internal_static_google_iam_v1_TestIamPermissionsResponse_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() { - return com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsResponse build() { - com.google.iam.v1.TestIamPermissionsResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsResponse buildPartial() { - com.google.iam.v1.TestIamPermissionsResponse result = - new com.google.iam.v1.TestIamPermissionsResponse(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - permissions_ = permissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.permissions_ = permissions_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.TestIamPermissionsResponse) { - return mergeFrom((com.google.iam.v1.TestIamPermissionsResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.TestIamPermissionsResponse other) { - if (other == com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()) return this; - if (!other.permissions_.isEmpty()) { - if (permissions_.isEmpty()) { - permissions_ = other.permissions_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePermissionsIsMutable(); - permissions_.addAll(other.permissions_); - } - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePermissionsIsMutable(); - permissions_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList permissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensurePermissionsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - permissions_ = new com.google.protobuf.LazyStringArrayList(permissions_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @return A list containing the permissions. - */ - public com.google.protobuf.ProtocolStringList getPermissionsList() { - return permissions_.getUnmodifiableView(); - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @return The count of permissions. - */ - public int getPermissionsCount() { - return permissions_.size(); - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @param index The index of the element to return. - * @return The permissions at the given index. - */ - public java.lang.String getPermissions(int index) { - return permissions_.get(index); - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @param index The index of the value to return. - * @return The bytes of the permissions at the given index. - */ - public com.google.protobuf.ByteString getPermissionsBytes(int index) { - return permissions_.getByteString(index); - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @param index The index to set the value at. - * @param value The permissions to set. - * @return This builder for chaining. - */ - public Builder setPermissions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); - permissions_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @param value The permissions to add. - * @return This builder for chaining. - */ - public Builder addPermissions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePermissionsIsMutable(); - permissions_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @param values The permissions to add. - * @return This builder for chaining. - */ - public Builder addAllPermissions(java.lang.Iterable values) { - ensurePermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, permissions_); - onChanged(); - return this; - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @return This builder for chaining. - */ - public Builder clearPermissions() { - permissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
    -     * A subset of `TestPermissionsRequest.permissions` that the caller is
    -     * allowed.
    -     * 
    - * - * repeated string permissions = 1; - * - * @param value The bytes of the permissions to add. - * @return This builder for chaining. - */ - public Builder addPermissionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensurePermissionsIsMutable(); - permissions_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.TestIamPermissionsResponse) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.TestIamPermissionsResponse) - private static final com.google.iam.v1.TestIamPermissionsResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.TestIamPermissionsResponse(); - } - - public static com.google.iam.v1.TestIamPermissionsResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TestIamPermissionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.TestIamPermissionsResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java deleted file mode 100644 index da677cbe54cd..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/TestIamPermissionsResponseOrBuilder.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/iam_policy.proto - -package com.google.iam.v1; - -public interface TestIamPermissionsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.TestIamPermissionsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @return A list containing the permissions. - */ - java.util.List getPermissionsList(); - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @return The count of permissions. - */ - int getPermissionsCount(); - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @param index The index of the element to return. - * @return The permissions at the given index. - */ - java.lang.String getPermissions(int index); - /** - * - * - *
    -   * A subset of `TestPermissionsRequest.permissions` that the caller is
    -   * allowed.
    -   * 
    - * - * repeated string permissions = 1; - * - * @param index The index of the value to return. - * @return The bytes of the permissions at the given index. - */ - com.google.protobuf.ByteString getPermissionsBytes(int index); -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java deleted file mode 100644 index 268cbc4d2bfc..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditData.java +++ /dev/null @@ -1,729 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/logging/audit_data.proto - -package com.google.iam.v1.logging; - -/** - * - * - *
    - * Audit log information specific to Cloud IAM. This message is serialized
    - * as an `Any` type in the `ServiceData` message of an
    - * `AuditLog` message.
    - * 
    - * - * Protobuf type {@code google.iam.v1.logging.AuditData} - */ -public final class AuditData extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v1.logging.AuditData) - AuditDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use AuditData.newBuilder() to construct. - private AuditData(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AuditData() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AuditData(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private AuditData( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: - { - com.google.iam.v1.PolicyDelta.Builder subBuilder = null; - if (policyDelta_ != null) { - subBuilder = policyDelta_.toBuilder(); - } - policyDelta_ = - input.readMessage(com.google.iam.v1.PolicyDelta.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(policyDelta_); - policyDelta_ = subBuilder.buildPartial(); - } - - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.logging.AuditDataProto - .internal_static_google_iam_v1_logging_AuditData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.logging.AuditDataProto - .internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.logging.AuditData.class, - com.google.iam.v1.logging.AuditData.Builder.class); - } - - public static final int POLICY_DELTA_FIELD_NUMBER = 2; - private com.google.iam.v1.PolicyDelta policyDelta_; - /** - * - * - *
    -   * Policy delta between the original policy and the newly set policy.
    -   * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - * - * @return Whether the policyDelta field is set. - */ - @java.lang.Override - public boolean hasPolicyDelta() { - return policyDelta_ != null; - } - /** - * - * - *
    -   * Policy delta between the original policy and the newly set policy.
    -   * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - * - * @return The policyDelta. - */ - @java.lang.Override - public com.google.iam.v1.PolicyDelta getPolicyDelta() { - return policyDelta_ == null ? com.google.iam.v1.PolicyDelta.getDefaultInstance() : policyDelta_; - } - /** - * - * - *
    -   * Policy delta between the original policy and the newly set policy.
    -   * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - @java.lang.Override - public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { - return getPolicyDelta(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (policyDelta_ != null) { - output.writeMessage(2, getPolicyDelta()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (policyDelta_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicyDelta()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v1.logging.AuditData)) { - return super.equals(obj); - } - com.google.iam.v1.logging.AuditData other = (com.google.iam.v1.logging.AuditData) obj; - - if (hasPolicyDelta() != other.hasPolicyDelta()) return false; - if (hasPolicyDelta()) { - if (!getPolicyDelta().equals(other.getPolicyDelta())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasPolicyDelta()) { - hash = (37 * hash) + POLICY_DELTA_FIELD_NUMBER; - hash = (53 * hash) + getPolicyDelta().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v1.logging.AuditData parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.logging.AuditData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.logging.AuditData parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.logging.AuditData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.logging.AuditData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v1.logging.AuditData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v1.logging.AuditData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.logging.AuditData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.logging.AuditData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v1.logging.AuditData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v1.logging.AuditData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v1.logging.AuditData parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v1.logging.AuditData prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Audit log information specific to Cloud IAM. This message is serialized
    -   * as an `Any` type in the `ServiceData` message of an
    -   * `AuditLog` message.
    -   * 
    - * - * Protobuf type {@code google.iam.v1.logging.AuditData} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v1.logging.AuditData) - com.google.iam.v1.logging.AuditDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v1.logging.AuditDataProto - .internal_static_google_iam_v1_logging_AuditData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v1.logging.AuditDataProto - .internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v1.logging.AuditData.class, - com.google.iam.v1.logging.AuditData.Builder.class); - } - - // Construct using com.google.iam.v1.logging.AuditData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (policyDeltaBuilder_ == null) { - policyDelta_ = null; - } else { - policyDelta_ = null; - policyDeltaBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v1.logging.AuditDataProto - .internal_static_google_iam_v1_logging_AuditData_descriptor; - } - - @java.lang.Override - public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() { - return com.google.iam.v1.logging.AuditData.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v1.logging.AuditData build() { - com.google.iam.v1.logging.AuditData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v1.logging.AuditData buildPartial() { - com.google.iam.v1.logging.AuditData result = new com.google.iam.v1.logging.AuditData(this); - if (policyDeltaBuilder_ == null) { - result.policyDelta_ = policyDelta_; - } else { - result.policyDelta_ = policyDeltaBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v1.logging.AuditData) { - return mergeFrom((com.google.iam.v1.logging.AuditData) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v1.logging.AuditData other) { - if (other == com.google.iam.v1.logging.AuditData.getDefaultInstance()) return this; - if (other.hasPolicyDelta()) { - mergePolicyDelta(other.getPolicyDelta()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.iam.v1.logging.AuditData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.iam.v1.logging.AuditData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private com.google.iam.v1.PolicyDelta policyDelta_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.PolicyDelta, - com.google.iam.v1.PolicyDelta.Builder, - com.google.iam.v1.PolicyDeltaOrBuilder> - policyDeltaBuilder_; - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - * - * @return Whether the policyDelta field is set. - */ - public boolean hasPolicyDelta() { - return policyDeltaBuilder_ != null || policyDelta_ != null; - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - * - * @return The policyDelta. - */ - public com.google.iam.v1.PolicyDelta getPolicyDelta() { - if (policyDeltaBuilder_ == null) { - return policyDelta_ == null - ? com.google.iam.v1.PolicyDelta.getDefaultInstance() - : policyDelta_; - } else { - return policyDeltaBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - public Builder setPolicyDelta(com.google.iam.v1.PolicyDelta value) { - if (policyDeltaBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policyDelta_ = value; - onChanged(); - } else { - policyDeltaBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - public Builder setPolicyDelta(com.google.iam.v1.PolicyDelta.Builder builderForValue) { - if (policyDeltaBuilder_ == null) { - policyDelta_ = builderForValue.build(); - onChanged(); - } else { - policyDeltaBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - public Builder mergePolicyDelta(com.google.iam.v1.PolicyDelta value) { - if (policyDeltaBuilder_ == null) { - if (policyDelta_ != null) { - policyDelta_ = - com.google.iam.v1.PolicyDelta.newBuilder(policyDelta_) - .mergeFrom(value) - .buildPartial(); - } else { - policyDelta_ = value; - } - onChanged(); - } else { - policyDeltaBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - public Builder clearPolicyDelta() { - if (policyDeltaBuilder_ == null) { - policyDelta_ = null; - onChanged(); - } else { - policyDelta_ = null; - policyDeltaBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - public com.google.iam.v1.PolicyDelta.Builder getPolicyDeltaBuilder() { - - onChanged(); - return getPolicyDeltaFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - public com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder() { - if (policyDeltaBuilder_ != null) { - return policyDeltaBuilder_.getMessageOrBuilder(); - } else { - return policyDelta_ == null - ? com.google.iam.v1.PolicyDelta.getDefaultInstance() - : policyDelta_; - } - } - /** - * - * - *
    -     * Policy delta between the original policy and the newly set policy.
    -     * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.PolicyDelta, - com.google.iam.v1.PolicyDelta.Builder, - com.google.iam.v1.PolicyDeltaOrBuilder> - getPolicyDeltaFieldBuilder() { - if (policyDeltaBuilder_ == null) { - policyDeltaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v1.PolicyDelta, - com.google.iam.v1.PolicyDelta.Builder, - com.google.iam.v1.PolicyDeltaOrBuilder>( - getPolicyDelta(), getParentForChildren(), isClean()); - policyDelta_ = null; - } - return policyDeltaBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v1.logging.AuditData) - } - - // @@protoc_insertion_point(class_scope:google.iam.v1.logging.AuditData) - private static final com.google.iam.v1.logging.AuditData DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v1.logging.AuditData(); - } - - public static com.google.iam.v1.logging.AuditData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuditData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AuditData(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v1.logging.AuditData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java deleted file mode 100644 index 8076902f48f9..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/logging/audit_data.proto - -package com.google.iam.v1.logging; - -public interface AuditDataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v1.logging.AuditData) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Policy delta between the original policy and the newly set policy.
    -   * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - * - * @return Whether the policyDelta field is set. - */ - boolean hasPolicyDelta(); - /** - * - * - *
    -   * Policy delta between the original policy and the newly set policy.
    -   * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - * - * @return The policyDelta. - */ - com.google.iam.v1.PolicyDelta getPolicyDelta(); - /** - * - * - *
    -   * Policy delta between the original policy and the newly set policy.
    -   * 
    - * - * .google.iam.v1.PolicyDelta policy_delta = 2; - */ - com.google.iam.v1.PolicyDeltaOrBuilder getPolicyDeltaOrBuilder(); -} diff --git a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java b/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java deleted file mode 100644 index 7a5309a6ca14..000000000000 --- a/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging/AuditDataProto.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v1/logging/audit_data.proto - -package com.google.iam.v1.logging; - -public final class AuditDataProto { - private AuditDataProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v1_logging_AuditData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v1_logging_AuditData_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/iam/v1/logging/audit_data.proto" - + "\022\025google.iam.v1.logging\032\034google/api/anno" - + "tations.proto\032\032google/iam/v1/policy.prot" - + "o\"=\n\tAuditData\0220\n\014policy_delta\030\002 \001(\0132\032.g" - + "oogle.iam.v1.PolicyDeltaB\211\001\n\031com.google." - + "iam.v1.loggingB\016AuditDataProtoP\001Z - - - - 7012 - com/google/iam/v2/*OrBuilder - * get*(*) - - - 7012 - com/google/iam/v2/*OrBuilder - boolean contains*(*) - - - 7012 - com/google/iam/v2/*OrBuilder - boolean has*(*) - - diff --git a/java-iam/proto-google-iam-v2/pom.xml b/java-iam/proto-google-iam-v2/pom.xml deleted file mode 100644 index 22844caac9dd..000000000000 --- a/java-iam/proto-google-iam-v2/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - 4.0.0 - com.google.api.grpc - proto-google-iam-v2 - 1.6.24-SNAPSHOT - proto-google-iam-v2 - Proto library for proto-google-iam-v1 - - com.google.cloud - google-iam-parent - 1.6.24-SNAPSHOT - - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - 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 deleted file mode 100644 index 3566ce1abde0..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequest.java +++ /dev/null @@ -1,1117 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Request message for `CreatePolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2.CreatePolicyRequest} - */ -public final class CreatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.CreatePolicyRequest) - CreatePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreatePolicyRequest.newBuilder() to construct. - private CreatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CreatePolicyRequest() { - parent_ = ""; - policyId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.CreatePolicyRequest.class, - com.google.iam.v2.CreatePolicyRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - private volatile java.lang.Object parent_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int POLICY_FIELD_NUMBER = 2; - private com.google.iam.v2.Policy policy_; - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - @java.lang.Override - public boolean hasPolicy() { - return policy_ != null; - } - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - @java.lang.Override - public com.google.iam.v2.Policy getPolicy() { - return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; - } - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - @java.lang.Override - public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { - return getPolicy(); - } - - public static final int POLICY_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object policyId_; - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The policyId. - */ - @java.lang.Override - public java.lang.String getPolicyId() { - java.lang.Object ref = policyId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - policyId_ = s; - return s; - } - } - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The bytes for policyId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPolicyIdBytes() { - java.lang.Object ref = policyId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - policyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); - } - if (policy_ != null) { - output.writeMessage(2, getPolicy()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, policyId_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, policyId_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.CreatePolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2.CreatePolicyRequest other = (com.google.iam.v2.CreatePolicyRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (hasPolicy() != other.hasPolicy()) return false; - if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; - } - if (!getPolicyId().equals(other.getPolicyId())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - if (hasPolicy()) { - hash = (37 * hash) + POLICY_FIELD_NUMBER; - hash = (53 * hash) + getPolicy().hashCode(); - } - hash = (37 * hash) + POLICY_ID_FIELD_NUMBER; - hash = (53 * hash) + getPolicyId().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.CreatePolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.CreatePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.CreatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.CreatePolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `CreatePolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.CreatePolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.CreatePolicyRequest) - com.google.iam.v2.CreatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_CreatePolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.CreatePolicyRequest.class, - com.google.iam.v2.CreatePolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2.CreatePolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - parent_ = ""; - - if (policyBuilder_ == null) { - policy_ = null; - } else { - policy_ = null; - policyBuilder_ = null; - } - policyId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_CreatePolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.CreatePolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2.CreatePolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.CreatePolicyRequest build() { - com.google.iam.v2.CreatePolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.CreatePolicyRequest buildPartial() { - com.google.iam.v2.CreatePolicyRequest result = - new com.google.iam.v2.CreatePolicyRequest(this); - result.parent_ = parent_; - if (policyBuilder_ == null) { - result.policy_ = policy_; - } else { - result.policy_ = policyBuilder_.build(); - } - result.policyId_ = policyId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.CreatePolicyRequest) { - return mergeFrom((com.google.iam.v2.CreatePolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.CreatePolicyRequest other) { - if (other == com.google.iam.v2.CreatePolicyRequest.getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - onChanged(); - } - if (other.hasPolicy()) { - mergePolicy(other.getPolicy()); - } - if (!other.getPolicyId().isEmpty()) { - policyId_ = other.policyId_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - policyId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object parent_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - parent_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - - parent_ = getDefaultInstance().getParent(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - parent_ = value; - onChanged(); - return this; - } - - private com.google.iam.v2.Policy policy_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - policyBuilder_; - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - public boolean hasPolicy() { - return policyBuilder_ != null || policy_ != null; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - public com.google.iam.v2.Policy getPolicy() { - if (policyBuilder_ == null) { - return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; - } else { - return policyBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2.Policy value) { - if (policyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policy_ = value; - onChanged(); - } else { - policyBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2.Policy.Builder builderForValue) { - if (policyBuilder_ == null) { - policy_ = builderForValue.build(); - onChanged(); - } else { - policyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder mergePolicy(com.google.iam.v2.Policy value) { - if (policyBuilder_ == null) { - if (policy_ != null) { - policy_ = com.google.iam.v2.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); - } else { - policy_ = value; - } - onChanged(); - } else { - policyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder clearPolicy() { - if (policyBuilder_ == null) { - policy_ = null; - onChanged(); - } else { - policy_ = null; - policyBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2.Policy.Builder getPolicyBuilder() { - - onChanged(); - return getPolicyFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { - if (policyBuilder_ != null) { - return policyBuilder_.getMessageOrBuilder(); - } else { - return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; - } - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - getPolicyFieldBuilder() { - if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); - policy_ = null; - } - return policyBuilder_; - } - - private java.lang.Object policyId_ = ""; - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @return The policyId. - */ - public java.lang.String getPolicyId() { - java.lang.Object ref = policyId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - policyId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @return The bytes for policyId. - */ - public com.google.protobuf.ByteString getPolicyIdBytes() { - java.lang.Object ref = policyId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - policyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @param value The policyId to set. - * @return This builder for chaining. - */ - public Builder setPolicyId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - policyId_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @return This builder for chaining. - */ - public Builder clearPolicyId() { - - policyId_ = getDefaultInstance().getPolicyId(); - onChanged(); - return this; - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @param value The bytes for policyId to set. - * @return This builder for chaining. - */ - public Builder setPolicyIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - policyId_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.CreatePolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.CreatePolicyRequest) - private static final com.google.iam.v2.CreatePolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.CreatePolicyRequest(); - } - - public static com.google.iam.v2.CreatePolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.CreatePolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 3825ae18ff91..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/CreatePolicyRequestOrBuilder.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface CreatePolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.CreatePolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - boolean hasPolicy(); - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - com.google.iam.v2.Policy getPolicy(); - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder(); - - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The policyId. - */ - java.lang.String getPolicyId(); - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The bytes for policyId. - */ - com.google.protobuf.ByteString getPolicyIdBytes(); -} 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 deleted file mode 100644 index 3900d3dc95d6..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequest.java +++ /dev/null @@ -1,860 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Request message for `DeletePolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2.DeletePolicyRequest} - */ -public final class DeletePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.DeletePolicyRequest) - DeletePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use DeletePolicyRequest.newBuilder() to construct. - private DeletePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DeletePolicyRequest() { - name_ = ""; - etag_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.DeletePolicyRequest.class, - com.google.iam.v2.DeletePolicyRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ETAG_FIELD_NUMBER = 2; - private volatile java.lang.Object etag_; - /** - * - * - *
    -   * 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The etag. - */ - @java.lang.Override - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } - } - /** - * - * - *
    -   * 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for etag. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.DeletePolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2.DeletePolicyRequest other = (com.google.iam.v2.DeletePolicyRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ETAG_FIELD_NUMBER; - hash = (53 * hash) + getEtag().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.DeletePolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.DeletePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.DeletePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.DeletePolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `DeletePolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.DeletePolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.DeletePolicyRequest) - com.google.iam.v2.DeletePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_DeletePolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.DeletePolicyRequest.class, - com.google.iam.v2.DeletePolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2.DeletePolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - etag_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_DeletePolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.DeletePolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2.DeletePolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.DeletePolicyRequest build() { - com.google.iam.v2.DeletePolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.DeletePolicyRequest buildPartial() { - com.google.iam.v2.DeletePolicyRequest result = - new com.google.iam.v2.DeletePolicyRequest(this); - result.name_ = name_; - result.etag_ = etag_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.DeletePolicyRequest) { - return mergeFrom((com.google.iam.v2.DeletePolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.DeletePolicyRequest other) { - if (other == com.google.iam.v2.DeletePolicyRequest.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getEtag().isEmpty()) { - etag_ = other.etag_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object etag_ = ""; - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The etag. - */ - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for etag. - */ - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The etag to set. - * @return This builder for chaining. - */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - etag_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearEtag() { - - etag_ = getDefaultInstance().getEtag(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for etag to set. - * @return This builder for chaining. - */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - etag_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.DeletePolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.DeletePolicyRequest) - private static final com.google.iam.v2.DeletePolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.DeletePolicyRequest(); - } - - public static com.google.iam.v2.DeletePolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.DeletePolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 9bdd7fc3d3ba..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DeletePolicyRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface DeletePolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.DeletePolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The etag. - */ - 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for etag. - */ - com.google.protobuf.ByteString getEtagBytes(); -} 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 deleted file mode 100644 index f3bc03f5993c..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRule.java +++ /dev/null @@ -1,2449 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/deny.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * A deny rule in an IAM deny policy.
    - * 
    - * - * Protobuf type {@code google.iam.v2.DenyRule} - */ -public final class DenyRule extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.DenyRule) - DenyRuleOrBuilder { - private static final long serialVersionUID = 0L; - // Use DenyRule.newBuilder() to construct. - private DenyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(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; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.DenyRule.class, com.google.iam.v2.DenyRule.Builder.class); - } - - public static final int DENIED_PRINCIPALS_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList deniedPrincipals_; - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return A list containing the deniedPrincipals. - */ - public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { - return deniedPrincipals_; - } - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return The count of deniedPrincipals. - */ - public int getDeniedPrincipalsCount() { - return deniedPrincipals_.size(); - } - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the element to return. - * @return The deniedPrincipals at the given index. - */ - public java.lang.String getDeniedPrincipals(int index) { - return deniedPrincipals_.get(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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPrincipals at the given index. - */ - public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { - return deniedPrincipals_.getByteString(index); - } - - public static final int EXCEPTION_PRINCIPALS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList exceptionPrincipals_; - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return A list containing the exceptionPrincipals. - */ - public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { - return exceptionPrincipals_; - } - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return The count of exceptionPrincipals. - */ - public int getExceptionPrincipalsCount() { - return exceptionPrincipals_.size(); - } - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the element to return. - * @return The exceptionPrincipals at the given index. - */ - public java.lang.String getExceptionPrincipals(int index) { - return exceptionPrincipals_.get(index); - } - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPrincipals at the given index. - */ - public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { - return exceptionPrincipals_.getByteString(index); - } - - public static final int DENIED_PERMISSIONS_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList deniedPermissions_; - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return A list containing the deniedPermissions. - */ - public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { - return deniedPermissions_; - } - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return The count of deniedPermissions. - */ - public int getDeniedPermissionsCount() { - return deniedPermissions_.size(); - } - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the element to return. - * @return The deniedPermissions at the given index. - */ - public java.lang.String getDeniedPermissions(int index) { - return deniedPermissions_.get(index); - } - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPermissions at the given index. - */ - public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { - return deniedPermissions_.getByteString(index); - } - - public static final int EXCEPTION_PERMISSIONS_FIELD_NUMBER = 4; - private com.google.protobuf.LazyStringList exceptionPermissions_; - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return A list containing the exceptionPermissions. - */ - public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { - return exceptionPermissions_; - } - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return The count of exceptionPermissions. - */ - public int getExceptionPermissionsCount() { - return exceptionPermissions_.size(); - } - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the element to return. - * @return The exceptionPermissions at the given index. - */ - public java.lang.String getExceptionPermissions(int index) { - return exceptionPermissions_.get(index); - } - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPermissions at the given index. - */ - public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { - return exceptionPermissions_.getByteString(index); - } - - public static final int DENIAL_CONDITION_FIELD_NUMBER = 5; - private com.google.type.Expr denialCondition_; - /** - * - * - *
    -   * 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return Whether the denialCondition field is set. - */ - @java.lang.Override - public boolean hasDenialCondition() { - return denialCondition_ != null; - } - /** - * - * - *
    -   * 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return The denialCondition. - */ - @java.lang.Override - public com.google.type.Expr getDenialCondition() { - return denialCondition_ == null ? com.google.type.Expr.getDefaultInstance() : denialCondition_; - } - /** - * - * - *
    -   * 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - */ - @java.lang.Override - public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { - return getDenialCondition(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < deniedPrincipals_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deniedPrincipals_.getRaw(i)); - } - for (int i = 0; i < exceptionPrincipals_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exceptionPrincipals_.getRaw(i)); - } - for (int i = 0; i < deniedPermissions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deniedPermissions_.getRaw(i)); - } - for (int i = 0; i < exceptionPermissions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, exceptionPermissions_.getRaw(i)); - } - if (denialCondition_ != null) { - output.writeMessage(5, getDenialCondition()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < deniedPrincipals_.size(); i++) { - dataSize += computeStringSizeNoTag(deniedPrincipals_.getRaw(i)); - } - size += dataSize; - size += 1 * getDeniedPrincipalsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < exceptionPrincipals_.size(); i++) { - dataSize += computeStringSizeNoTag(exceptionPrincipals_.getRaw(i)); - } - size += dataSize; - size += 1 * getExceptionPrincipalsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < deniedPermissions_.size(); i++) { - dataSize += computeStringSizeNoTag(deniedPermissions_.getRaw(i)); - } - size += dataSize; - size += 1 * getDeniedPermissionsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < exceptionPermissions_.size(); i++) { - dataSize += computeStringSizeNoTag(exceptionPermissions_.getRaw(i)); - } - size += dataSize; - size += 1 * getExceptionPermissionsList().size(); - } - if (denialCondition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDenialCondition()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.DenyRule)) { - return super.equals(obj); - } - com.google.iam.v2.DenyRule other = (com.google.iam.v2.DenyRule) obj; - - if (!getDeniedPrincipalsList().equals(other.getDeniedPrincipalsList())) return false; - if (!getExceptionPrincipalsList().equals(other.getExceptionPrincipalsList())) return false; - if (!getDeniedPermissionsList().equals(other.getDeniedPermissionsList())) return false; - if (!getExceptionPermissionsList().equals(other.getExceptionPermissionsList())) return false; - if (hasDenialCondition() != other.hasDenialCondition()) return false; - if (hasDenialCondition()) { - if (!getDenialCondition().equals(other.getDenialCondition())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDeniedPrincipalsCount() > 0) { - hash = (37 * hash) + DENIED_PRINCIPALS_FIELD_NUMBER; - hash = (53 * hash) + getDeniedPrincipalsList().hashCode(); - } - if (getExceptionPrincipalsCount() > 0) { - hash = (37 * hash) + EXCEPTION_PRINCIPALS_FIELD_NUMBER; - hash = (53 * hash) + getExceptionPrincipalsList().hashCode(); - } - if (getDeniedPermissionsCount() > 0) { - hash = (37 * hash) + DENIED_PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + getDeniedPermissionsList().hashCode(); - } - if (getExceptionPermissionsCount() > 0) { - hash = (37 * hash) + EXCEPTION_PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + getExceptionPermissionsList().hashCode(); - } - if (hasDenialCondition()) { - hash = (37 * hash) + DENIAL_CONDITION_FIELD_NUMBER; - hash = (53 * hash) + getDenialCondition().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.DenyRule parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.DenyRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.DenyRule parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.DenyRule parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.DenyRule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.DenyRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.DenyRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.DenyRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.DenyRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.DenyRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.DenyRule parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.DenyRule parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.DenyRule prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * A deny rule in an IAM deny policy.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.DenyRule} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.DenyRule) - com.google.iam.v2.DenyRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.DenyRuleProto - .internal_static_google_iam_v2_DenyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.DenyRule.class, com.google.iam.v2.DenyRule.Builder.class); - } - - // Construct using com.google.iam.v2.DenyRule.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - if (denialConditionBuilder_ == null) { - denialCondition_ = null; - } else { - denialCondition_ = null; - denialConditionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.DenyRuleProto.internal_static_google_iam_v2_DenyRule_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.DenyRule getDefaultInstanceForType() { - return com.google.iam.v2.DenyRule.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.DenyRule build() { - com.google.iam.v2.DenyRule result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.DenyRule buildPartial() { - com.google.iam.v2.DenyRule result = new com.google.iam.v2.DenyRule(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.deniedPrincipals_ = deniedPrincipals_; - if (((bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.exceptionPrincipals_ = exceptionPrincipals_; - if (((bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.deniedPermissions_ = deniedPermissions_; - if (((bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.exceptionPermissions_ = exceptionPermissions_; - if (denialConditionBuilder_ == null) { - result.denialCondition_ = denialCondition_; - } else { - result.denialCondition_ = denialConditionBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.DenyRule) { - return mergeFrom((com.google.iam.v2.DenyRule) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.DenyRule other) { - if (other == com.google.iam.v2.DenyRule.getDefaultInstance()) return this; - if (!other.deniedPrincipals_.isEmpty()) { - if (deniedPrincipals_.isEmpty()) { - deniedPrincipals_ = other.deniedPrincipals_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.addAll(other.deniedPrincipals_); - } - onChanged(); - } - if (!other.exceptionPrincipals_.isEmpty()) { - if (exceptionPrincipals_.isEmpty()) { - exceptionPrincipals_ = other.exceptionPrincipals_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.addAll(other.exceptionPrincipals_); - } - onChanged(); - } - if (!other.deniedPermissions_.isEmpty()) { - if (deniedPermissions_.isEmpty()) { - deniedPermissions_ = other.deniedPermissions_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.addAll(other.deniedPermissions_); - } - onChanged(); - } - if (!other.exceptionPermissions_.isEmpty()) { - if (exceptionPermissions_.isEmpty()) { - exceptionPermissions_ = other.exceptionPermissions_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.addAll(other.exceptionPermissions_); - } - onChanged(); - } - if (other.hasDenialCondition()) { - mergeDenialCondition(other.getDenialCondition()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.add(s); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.add(s); - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.add(s); - break; - } // case 34 - case 42: - { - input.readMessage(getDenialConditionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList deniedPrincipals_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureDeniedPrincipalsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(deniedPrincipals_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @return A list containing the deniedPrincipals. - */ - public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { - return deniedPrincipals_.getUnmodifiableView(); - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @return The count of deniedPrincipals. - */ - public int getDeniedPrincipalsCount() { - return deniedPrincipals_.size(); - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the element to return. - * @return The deniedPrincipals at the given index. - */ - public java.lang.String getDeniedPrincipals(int index) { - return deniedPrincipals_.get(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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPrincipals at the given index. - */ - public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { - return deniedPrincipals_.getByteString(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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index to set the value at. - * @param value The deniedPrincipals to set. - * @return This builder for chaining. - */ - public Builder setDeniedPrincipals(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param value The deniedPrincipals to add. - * @return This builder for chaining. - */ - public Builder addDeniedPrincipals(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param values The deniedPrincipals to add. - * @return This builder for chaining. - */ - public Builder addAllDeniedPrincipals(java.lang.Iterable values) { - ensureDeniedPrincipalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPrincipals_); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @return This builder for chaining. - */ - public Builder clearDeniedPrincipals() { - deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param value The bytes of the deniedPrincipals to add. - * @return This builder for chaining. - */ - public Builder addDeniedPrincipalsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList exceptionPrincipals_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureExceptionPrincipalsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(exceptionPrincipals_); - bitField0_ |= 0x00000002; - } - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @return A list containing the exceptionPrincipals. - */ - public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { - return exceptionPrincipals_.getUnmodifiableView(); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @return The count of exceptionPrincipals. - */ - public int getExceptionPrincipalsCount() { - return exceptionPrincipals_.size(); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the element to return. - * @return The exceptionPrincipals at the given index. - */ - public java.lang.String getExceptionPrincipals(int index) { - return exceptionPrincipals_.get(index); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPrincipals at the given index. - */ - public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { - return exceptionPrincipals_.getByteString(index); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index to set the value at. - * @param value The exceptionPrincipals to set. - * @return This builder for chaining. - */ - public Builder setExceptionPrincipals(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param value The exceptionPrincipals to add. - * @return This builder for chaining. - */ - public Builder addExceptionPrincipals(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param values The exceptionPrincipals to add. - * @return This builder for chaining. - */ - public Builder addAllExceptionPrincipals(java.lang.Iterable values) { - ensureExceptionPrincipalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPrincipals_); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @return This builder for chaining. - */ - public Builder clearExceptionPrincipals() { - exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param value The bytes of the exceptionPrincipals to add. - * @return This builder for chaining. - */ - public Builder addExceptionPrincipalsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList deniedPermissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureDeniedPermissionsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(deniedPermissions_); - bitField0_ |= 0x00000004; - } - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @return A list containing the deniedPermissions. - */ - public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { - return deniedPermissions_.getUnmodifiableView(); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @return The count of deniedPermissions. - */ - public int getDeniedPermissionsCount() { - return deniedPermissions_.size(); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the element to return. - * @return The deniedPermissions at the given index. - */ - public java.lang.String getDeniedPermissions(int index) { - return deniedPermissions_.get(index); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPermissions at the given index. - */ - public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { - return deniedPermissions_.getByteString(index); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index to set the value at. - * @param value The deniedPermissions to set. - * @return This builder for chaining. - */ - public Builder setDeniedPermissions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param value The deniedPermissions to add. - * @return This builder for chaining. - */ - public Builder addDeniedPermissions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param values The deniedPermissions to add. - * @return This builder for chaining. - */ - public Builder addAllDeniedPermissions(java.lang.Iterable values) { - ensureDeniedPermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPermissions_); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @return This builder for chaining. - */ - public Builder clearDeniedPermissions() { - deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param value The bytes of the deniedPermissions to add. - * @return This builder for chaining. - */ - public Builder addDeniedPermissionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList exceptionPermissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureExceptionPermissionsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(exceptionPermissions_); - bitField0_ |= 0x00000008; - } - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @return A list containing the exceptionPermissions. - */ - public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { - return exceptionPermissions_.getUnmodifiableView(); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @return The count of exceptionPermissions. - */ - public int getExceptionPermissionsCount() { - return exceptionPermissions_.size(); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the element to return. - * @return The exceptionPermissions at the given index. - */ - public java.lang.String getExceptionPermissions(int index) { - return exceptionPermissions_.get(index); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPermissions at the given index. - */ - public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { - return exceptionPermissions_.getByteString(index); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index to set the value at. - * @param value The exceptionPermissions to set. - * @return This builder for chaining. - */ - public Builder setExceptionPermissions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param value The exceptionPermissions to add. - * @return This builder for chaining. - */ - public Builder addExceptionPermissions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param values The exceptionPermissions to add. - * @return This builder for chaining. - */ - public Builder addAllExceptionPermissions(java.lang.Iterable values) { - ensureExceptionPermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPermissions_); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @return This builder for chaining. - */ - public Builder clearExceptionPermissions() { - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param value The bytes of the exceptionPermissions to add. - * @return This builder for chaining. - */ - public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.add(value); - onChanged(); - return this; - } - - private com.google.type.Expr denialCondition_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - denialConditionBuilder_; - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return Whether the denialCondition field is set. - */ - public boolean hasDenialCondition() { - return denialConditionBuilder_ != null || denialCondition_ != null; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return The denialCondition. - */ - public com.google.type.Expr getDenialCondition() { - if (denialConditionBuilder_ == null) { - return denialCondition_ == null - ? com.google.type.Expr.getDefaultInstance() - : denialCondition_; - } else { - return denialConditionBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder setDenialCondition(com.google.type.Expr value) { - if (denialConditionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - denialCondition_ = value; - onChanged(); - } else { - denialConditionBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder setDenialCondition(com.google.type.Expr.Builder builderForValue) { - if (denialConditionBuilder_ == null) { - denialCondition_ = builderForValue.build(); - onChanged(); - } else { - denialConditionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder mergeDenialCondition(com.google.type.Expr value) { - if (denialConditionBuilder_ == null) { - if (denialCondition_ != null) { - denialCondition_ = - com.google.type.Expr.newBuilder(denialCondition_).mergeFrom(value).buildPartial(); - } else { - denialCondition_ = value; - } - onChanged(); - } else { - denialConditionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder clearDenialCondition() { - if (denialConditionBuilder_ == null) { - denialCondition_ = null; - onChanged(); - } else { - denialCondition_ = null; - denialConditionBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public com.google.type.Expr.Builder getDenialConditionBuilder() { - - onChanged(); - return getDenialConditionFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { - if (denialConditionBuilder_ != null) { - return denialConditionBuilder_.getMessageOrBuilder(); - } else { - return denialCondition_ == null - ? com.google.type.Expr.getDefaultInstance() - : denialCondition_; - } - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - getDenialConditionFieldBuilder() { - if (denialConditionBuilder_ == null) { - denialConditionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( - getDenialCondition(), getParentForChildren(), isClean()); - denialCondition_ = null; - } - return denialConditionBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.DenyRule) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.DenyRule) - private static final com.google.iam.v2.DenyRule DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.DenyRule(); - } - - public static com.google.iam.v2.DenyRule getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DenyRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.DenyRule getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 1d35367fb87d..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleOrBuilder.java +++ /dev/null @@ -1,468 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/deny.proto - -package com.google.iam.v2; - -public interface DenyRuleOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.DenyRule) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return A list containing the deniedPrincipals. - */ - java.util.List 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return The count of deniedPrincipals. - */ - 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the element to return. - * @return The deniedPrincipals at the given index. - */ - 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPrincipals at the given index. - */ - com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index); - - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return A list containing the exceptionPrincipals. - */ - java.util.List getExceptionPrincipalsList(); - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return The count of exceptionPrincipals. - */ - int getExceptionPrincipalsCount(); - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the element to return. - * @return The exceptionPrincipals at the given index. - */ - java.lang.String getExceptionPrincipals(int index); - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPrincipals at the given index. - */ - com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index); - - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return A list containing the deniedPermissions. - */ - java.util.List getDeniedPermissionsList(); - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return The count of deniedPermissions. - */ - int getDeniedPermissionsCount(); - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the element to return. - * @return The deniedPermissions at the given index. - */ - java.lang.String getDeniedPermissions(int index); - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPermissions at the given index. - */ - com.google.protobuf.ByteString getDeniedPermissionsBytes(int index); - - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return A list containing the exceptionPermissions. - */ - java.util.List getExceptionPermissionsList(); - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return The count of exceptionPermissions. - */ - int getExceptionPermissionsCount(); - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the element to return. - * @return The exceptionPermissions at the given index. - */ - java.lang.String getExceptionPermissions(int index); - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPermissions at the given index. - */ - 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return Whether the denialCondition field is set. - */ - 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return The denialCondition. - */ - 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - */ - com.google.type.ExprOrBuilder getDenialConditionOrBuilder(); -} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java deleted file mode 100644 index 55a5ff758b5e..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/DenyRuleProto.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/deny.proto - -package com.google.iam.v2; - -public final class DenyRuleProto { - private DenyRuleProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_DenyRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_DenyRule_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\030google/iam/v2/deny.proto\022\rgoogle.iam.v" - + "2\032\026google/type/expr.proto\"\253\001\n\010DenyRule\022\031" - + "\n\021denied_principals\030\001 \003(\t\022\034\n\024exception_p" - + "rincipals\030\002 \003(\t\022\032\n\022denied_permissions\030\003 " - + "\003(\t\022\035\n\025exception_permissions\030\004 \003(\t\022+\n\020de" - + "nial_condition\030\005 \001(\0132\021.google.type.ExprB" - + "\202\001\n\021com.google.iam.v2B\rDenyRuleProtoP\001Z0" - + "google.golang.org/genproto/googleapis/ia" - + "m/v2;iam\252\002\023Google.Cloud.Iam.V2\312\002\023Google\\" - + "Cloud\\Iam\\V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.ExprProto.getDescriptor(), - }); - internal_static_google_iam_v2_DenyRule_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v2_DenyRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_DenyRule_descriptor, - new java.lang.String[] { - "DeniedPrincipals", - "ExceptionPrincipals", - "DeniedPermissions", - "ExceptionPermissions", - "DenialCondition", - }); - com.google.type.ExprProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index e3888a12fd71..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequest.java +++ /dev/null @@ -1,652 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Request message for `GetPolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2.GetPolicyRequest} - */ -public final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.GetPolicyRequest) - GetPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetPolicyRequest.newBuilder() to construct. - private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetPolicyRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.GetPolicyRequest.class, - com.google.iam.v2.GetPolicyRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.GetPolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2.GetPolicyRequest other = (com.google.iam.v2.GetPolicyRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.GetPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.GetPolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `GetPolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.GetPolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.GetPolicyRequest) - com.google.iam.v2.GetPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_GetPolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.GetPolicyRequest.class, - com.google.iam.v2.GetPolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2.GetPolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_GetPolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.GetPolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2.GetPolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.GetPolicyRequest build() { - com.google.iam.v2.GetPolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.GetPolicyRequest buildPartial() { - com.google.iam.v2.GetPolicyRequest result = new com.google.iam.v2.GetPolicyRequest(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.GetPolicyRequest) { - return mergeFrom((com.google.iam.v2.GetPolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.GetPolicyRequest other) { - if (other == com.google.iam.v2.GetPolicyRequest.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.GetPolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.GetPolicyRequest) - private static final com.google.iam.v2.GetPolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.GetPolicyRequest(); - } - - public static com.google.iam.v2.GetPolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.GetPolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 6f293a32672d..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/GetPolicyRequestOrBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface GetPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.GetPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} 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 deleted file mode 100644 index 124798c38a4c..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequest.java +++ /dev/null @@ -1,948 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Request message for `ListPolicies`.
    - * 
    - * - * Protobuf type {@code google.iam.v2.ListPoliciesRequest} - */ -public final class ListPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.ListPoliciesRequest) - ListPoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListPoliciesRequest.newBuilder() to construct. - private ListPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListPoliciesRequest() { - parent_ = ""; - pageToken_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListPoliciesRequest.class, - com.google.iam.v2.ListPoliciesRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - private volatile java.lang.Object parent_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PAGE_SIZE_FIELD_NUMBER = 2; - private int pageSize_; - /** - * - * - *
    -   * The maximum number of policies to return. IAM ignores this value and uses
    -   * the value 1000.
    -   * 
    - * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object pageToken_; - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - @java.lang.Override - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } - } - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); - } - if (pageSize_ != 0) { - output.writeInt32(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.ListPoliciesRequest)) { - return super.equals(obj); - } - com.google.iam.v2.ListPoliciesRequest other = (com.google.iam.v2.ListPoliciesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPageSize(); - hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.ListPoliciesRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `ListPolicies`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.ListPoliciesRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.ListPoliciesRequest) - com.google.iam.v2.ListPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListPoliciesRequest.class, - com.google.iam.v2.ListPoliciesRequest.Builder.class); - } - - // Construct using com.google.iam.v2.ListPoliciesRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - parent_ = ""; - - pageSize_ = 0; - - pageToken_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesRequest getDefaultInstanceForType() { - return com.google.iam.v2.ListPoliciesRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesRequest build() { - com.google.iam.v2.ListPoliciesRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesRequest buildPartial() { - com.google.iam.v2.ListPoliciesRequest result = - new com.google.iam.v2.ListPoliciesRequest(this); - result.parent_ = parent_; - result.pageSize_ = pageSize_; - result.pageToken_ = pageToken_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.ListPoliciesRequest) { - return mergeFrom((com.google.iam.v2.ListPoliciesRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.ListPoliciesRequest other) { - if (other == com.google.iam.v2.ListPoliciesRequest.getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - onChanged(); - } - if (other.getPageSize() != 0) { - setPageSize(other.getPageSize()); - } - if (!other.getPageToken().isEmpty()) { - pageToken_ = other.pageToken_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object parent_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - parent_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - - parent_ = getDefaultInstance().getParent(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - parent_ = value; - onChanged(); - return this; - } - - private int pageSize_; - /** - * - * - *
    -     * The maximum number of policies to return. IAM ignores this value and uses
    -     * the value 1000.
    -     * 
    - * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - /** - * - * - *
    -     * The maximum number of policies to return. IAM ignores this value and uses
    -     * the value 1000.
    -     * 
    - * - * int32 page_size = 2; - * - * @param value The pageSize to set. - * @return This builder for chaining. - */ - public Builder setPageSize(int value) { - - pageSize_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * The maximum number of policies to return. IAM ignores this value and uses
    -     * the value 1000.
    -     * 
    - * - * int32 page_size = 2; - * - * @return This builder for chaining. - */ - public Builder clearPageSize() { - - pageSize_ = 0; - onChanged(); - return this; - } - - private java.lang.Object pageToken_ = ""; - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @param value The pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - pageToken_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @return This builder for chaining. - */ - public Builder clearPageToken() { - - pageToken_ = getDefaultInstance().getPageToken(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @param value The bytes for pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - pageToken_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.ListPoliciesRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.ListPoliciesRequest) - private static final com.google.iam.v2.ListPoliciesRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.ListPoliciesRequest(); - } - - public static com.google.iam.v2.ListPoliciesRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index bfea871b46c3..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesRequestOrBuilder.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface ListPoliciesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.ListPoliciesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
    -   * The maximum number of policies to return. IAM ignores this value and uses
    -   * the value 1000.
    -   * 
    - * - * int32 page_size = 2; - * - * @return The pageSize. - */ - int getPageSize(); - - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); -} 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 deleted file mode 100644 index 62cdb5ecac8e..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponse.java +++ /dev/null @@ -1,1100 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Response message for `ListPolicies`.
    - * 
    - * - * Protobuf type {@code google.iam.v2.ListPoliciesResponse} - */ -public final class ListPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.ListPoliciesResponse) - ListPoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListPoliciesResponse.newBuilder() to construct. - private ListPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListPoliciesResponse() { - policies_ = java.util.Collections.emptyList(); - nextPageToken_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListPoliciesResponse.class, - com.google.iam.v2.ListPoliciesResponse.Builder.class); - } - - public static final int POLICIES_FIELD_NUMBER = 1; - private java.util.List policies_; - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public java.util.List getPoliciesList() { - return policies_; - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public java.util.List getPoliciesOrBuilderList() { - return policies_; - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public int getPoliciesCount() { - return policies_.size(); - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public com.google.iam.v2.Policy getPolicies(int index) { - return policies_.get(index); - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - @java.lang.Override - public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { - return policies_.get(index); - } - - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object nextPageToken_; - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - @java.lang.Override - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } - } - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < policies_.size(); i++) { - output.writeMessage(1, policies_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < policies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policies_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.ListPoliciesResponse)) { - return super.equals(obj); - } - com.google.iam.v2.ListPoliciesResponse other = (com.google.iam.v2.ListPoliciesResponse) obj; - - if (!getPoliciesList().equals(other.getPoliciesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPoliciesCount() > 0) { - hash = (37 * hash) + POLICIES_FIELD_NUMBER; - hash = (53 * hash) + getPoliciesList().hashCode(); - } - hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.ListPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.ListPoliciesResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Response message for `ListPolicies`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.ListPoliciesResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.ListPoliciesResponse) - com.google.iam.v2.ListPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.ListPoliciesResponse.class, - com.google.iam.v2.ListPoliciesResponse.Builder.class); - } - - // Construct using com.google.iam.v2.ListPoliciesResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (policiesBuilder_ == null) { - policies_ = java.util.Collections.emptyList(); - } else { - policies_ = null; - policiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - nextPageToken_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_ListPoliciesResponse_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesResponse getDefaultInstanceForType() { - return com.google.iam.v2.ListPoliciesResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesResponse build() { - com.google.iam.v2.ListPoliciesResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesResponse buildPartial() { - com.google.iam.v2.ListPoliciesResponse result = - new com.google.iam.v2.ListPoliciesResponse(this); - int from_bitField0_ = bitField0_; - if (policiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - policies_ = java.util.Collections.unmodifiableList(policies_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.policies_ = policies_; - } else { - result.policies_ = policiesBuilder_.build(); - } - result.nextPageToken_ = nextPageToken_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.ListPoliciesResponse) { - return mergeFrom((com.google.iam.v2.ListPoliciesResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.ListPoliciesResponse other) { - if (other == com.google.iam.v2.ListPoliciesResponse.getDefaultInstance()) return this; - if (policiesBuilder_ == null) { - if (!other.policies_.isEmpty()) { - if (policies_.isEmpty()) { - policies_ = other.policies_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePoliciesIsMutable(); - policies_.addAll(other.policies_); - } - onChanged(); - } - } else { - if (!other.policies_.isEmpty()) { - if (policiesBuilder_.isEmpty()) { - policiesBuilder_.dispose(); - policiesBuilder_ = null; - policies_ = other.policies_; - bitField0_ = (bitField0_ & ~0x00000001); - policiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPoliciesFieldBuilder() - : null; - } else { - policiesBuilder_.addAllMessages(other.policies_); - } - } - } - if (!other.getNextPageToken().isEmpty()) { - nextPageToken_ = other.nextPageToken_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.iam.v2.Policy m = - input.readMessage(com.google.iam.v2.Policy.parser(), extensionRegistry); - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(m); - } else { - policiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List policies_ = java.util.Collections.emptyList(); - - private void ensurePoliciesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(policies_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - policiesBuilder_; - - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public java.util.List getPoliciesList() { - if (policiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(policies_); - } else { - return policiesBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public int getPoliciesCount() { - if (policiesBuilder_ == null) { - return policies_.size(); - } else { - return policiesBuilder_.getCount(); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy getPolicies(int index) { - if (policiesBuilder_ == null) { - return policies_.get(index); - } else { - return policiesBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder setPolicies(int index, com.google.iam.v2.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.set(index, value); - onChanged(); - } else { - policiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder setPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.set(index, builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(com.google.iam.v2.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.add(value); - onChanged(); - } else { - policiesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(int index, com.google.iam.v2.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.add(index, value); - onChanged(); - } else { - policiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(com.google.iam.v2.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addPolicies(int index, com.google.iam.v2.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(index, builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder addAllPolicies(java.lang.Iterable values) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); - onChanged(); - } else { - policiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder clearPolicies() { - if (policiesBuilder_ == null) { - policies_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - policiesBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public Builder removePolicies(int index) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.remove(index); - onChanged(); - } else { - policiesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy.Builder getPoliciesBuilder(int index) { - return getPoliciesFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index) { - if (policiesBuilder_ == null) { - return policies_.get(index); - } else { - return policiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public java.util.List getPoliciesOrBuilderList() { - if (policiesBuilder_ != null) { - return policiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(policies_); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy.Builder addPoliciesBuilder() { - return getPoliciesFieldBuilder().addBuilder(com.google.iam.v2.Policy.getDefaultInstance()); - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public com.google.iam.v2.Policy.Builder addPoliciesBuilder(int index) { - return getPoliciesFieldBuilder() - .addBuilder(index, com.google.iam.v2.Policy.getDefaultInstance()); - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - public java.util.List getPoliciesBuilderList() { - return getPoliciesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - getPoliciesFieldBuilder() { - if (policiesBuilder_ == null) { - policiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder>( - policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - policies_ = null; - } - return policiesBuilder_; - } - - private java.lang.Object nextPageToken_ = ""; - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @param value The nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nextPageToken_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearNextPageToken() { - - nextPageToken_ = getDefaultInstance().getNextPageToken(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @param value The bytes for nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nextPageToken_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.ListPoliciesResponse) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.ListPoliciesResponse) - private static final com.google.iam.v2.ListPoliciesResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.ListPoliciesResponse(); - } - - public static com.google.iam.v2.ListPoliciesResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.ListPoliciesResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java deleted file mode 100644 index 1faeb31cfb39..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/ListPoliciesResponseOrBuilder.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface ListPoliciesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.ListPoliciesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - java.util.List getPoliciesList(); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - com.google.iam.v2.Policy getPolicies(int index); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - int getPoliciesCount(); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - java.util.List getPoliciesOrBuilderList(); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2.Policy policies = 1; - */ - com.google.iam.v2.PolicyOrBuilder getPoliciesOrBuilder(int index); - - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} 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 deleted file mode 100644 index 82a241e71d7e..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/Policy.java +++ /dev/null @@ -1,3289 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Data for an IAM policy.
    - * 
    - * - * Protobuf type {@code google.iam.v2.Policy} - */ -public final class Policy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.Policy) - PolicyOrBuilder { - private static final long serialVersionUID = 0L; - // Use Policy.newBuilder() to construct. - private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Policy() { - name_ = ""; - uid_ = ""; - kind_ = ""; - displayName_ = ""; - etag_ = ""; - rules_ = java.util.Collections.emptyList(); - managingAuthority_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 5: - return internalGetAnnotations(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.Policy.class, com.google.iam.v2.Policy.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int UID_FIELD_NUMBER = 2; - private volatile java.lang.Object uid_; - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The uid. - */ - @java.lang.Override - public java.lang.String getUid() { - java.lang.Object ref = uid_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uid_ = s; - return s; - } - } - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for uid. - */ - @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { - java.lang.Object ref = uid_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uid_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int KIND_FIELD_NUMBER = 3; - private volatile java.lang.Object kind_; - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DISPLAY_NAME_FIELD_NUMBER = 4; - private volatile java.lang.Object displayName_; - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } - } - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The bytes for displayName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 5; - - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField annotations_; - - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetAnnotations().getMap().containsKey(key); - } - /** Use {@link #getAnnotationsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int ETAG_FIELD_NUMBER = 6; - private volatile java.lang.Object etag_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string etag = 6; - * - * @return The etag. - */ - @java.lang.Override - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string etag = 6; - * - * @return The bytes for etag. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CREATE_TIME_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return getCreateTime(); - } - - public static final int UPDATE_TIME_FIELD_NUMBER = 8; - private com.google.protobuf.Timestamp updateTime_; - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - @java.lang.Override - public boolean hasUpdateTime() { - return updateTime_ != null; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getUpdateTime() { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - return getUpdateTime(); - } - - public static final int DELETE_TIME_FIELD_NUMBER = 9; - private com.google.protobuf.Timestamp deleteTime_; - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the deleteTime field is set. - */ - @java.lang.Override - public boolean hasDeleteTime() { - return deleteTime_ != null; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The deleteTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getDeleteTime() { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { - return getDeleteTime(); - } - - public static final int RULES_FIELD_NUMBER = 10; - private java.util.List rules_; - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - @java.lang.Override - public java.util.List getRulesList() { - return rules_; - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - @java.lang.Override - public java.util.List getRulesOrBuilderList() { - return rules_; - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - @java.lang.Override - public int getRulesCount() { - return rules_.size(); - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - @java.lang.Override - public com.google.iam.v2.PolicyRule getRules(int index) { - return rules_.get(index); - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - @java.lang.Override - public com.google.iam.v2.PolicyRuleOrBuilder getRulesOrBuilder(int index) { - return rules_.get(index); - } - - public static final int MANAGING_AUTHORITY_FIELD_NUMBER = 11; - private volatile java.lang.Object managingAuthority_; - /** - * - * - *
    -   * Immutable. Specifies that this policy is managed by an authority and can only be
    -   * modified by that authority. Usage is restricted.
    -   * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The managingAuthority. - */ - @java.lang.Override - public java.lang.String getManagingAuthority() { - java.lang.Object ref = managingAuthority_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - managingAuthority_ = s; - return s; - } - } - /** - * - * - *
    -   * Immutable. Specifies that this policy is managed by an authority and can only be
    -   * modified by that authority. Usage is restricted.
    -   * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for managingAuthority. - */ - @java.lang.Override - public com.google.protobuf.ByteString getManagingAuthorityBytes() { - java.lang.Object ref = managingAuthority_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - managingAuthority_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, etag_); - } - if (createTime_ != null) { - output.writeMessage(7, getCreateTime()); - } - if (updateTime_ != null) { - output.writeMessage(8, getUpdateTime()); - } - if (deleteTime_ != null) { - output.writeMessage(9, getDeleteTime()); - } - for (int i = 0; i < rules_.size(); i++) { - output.writeMessage(10, rules_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managingAuthority_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, managingAuthority_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, etag_); - } - if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); - } - if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); - } - if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeleteTime()); - } - for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, rules_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managingAuthority_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, managingAuthority_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.Policy)) { - return super.equals(obj); - } - com.google.iam.v2.Policy other = (com.google.iam.v2.Policy) obj; - - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (!getKind().equals(other.getKind())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (hasCreateTime() != other.hasCreateTime()) return false; - if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; - } - if (hasUpdateTime() != other.hasUpdateTime()) return false; - if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (hasDeleteTime() != other.hasDeleteTime()) return false; - if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; - } - if (!getRulesList().equals(other.getRulesList())) return false; - if (!getManagingAuthority().equals(other.getManagingAuthority())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + UID_FIELD_NUMBER; - hash = (53 * hash) + getUid().hashCode(); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDisplayName().hashCode(); - if (!internalGetAnnotations().getMap().isEmpty()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + internalGetAnnotations().hashCode(); - } - hash = (37 * hash) + ETAG_FIELD_NUMBER; - hash = (53 * hash) + getEtag().hashCode(); - if (hasCreateTime()) { - hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getCreateTime().hashCode(); - } - if (hasUpdateTime()) { - hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getUpdateTime().hashCode(); - } - if (hasDeleteTime()) { - hash = (37 * hash) + DELETE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getDeleteTime().hashCode(); - } - if (getRulesCount() > 0) { - hash = (37 * hash) + RULES_FIELD_NUMBER; - hash = (53 * hash) + getRulesList().hashCode(); - } - hash = (37 * hash) + MANAGING_AUTHORITY_FIELD_NUMBER; - hash = (53 * hash) + getManagingAuthority().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.Policy parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.Policy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.Policy parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.Policy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.Policy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.Policy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.Policy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.Policy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.Policy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.Policy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.Policy parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.Policy parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.Policy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Data for an IAM policy.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.Policy} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.Policy) - com.google.iam.v2.PolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 5: - return internalGetAnnotations(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { - switch (number) { - case 5: - return internalGetMutableAnnotations(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.Policy.class, com.google.iam.v2.Policy.Builder.class); - } - - // Construct using com.google.iam.v2.Policy.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - uid_ = ""; - - kind_ = ""; - - displayName_ = ""; - - internalGetMutableAnnotations().clear(); - etag_ = ""; - - if (createTimeBuilder_ == null) { - createTime_ = null; - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - if (updateTimeBuilder_ == null) { - updateTime_ = null; - } else { - updateTime_ = null; - updateTimeBuilder_ = null; - } - if (deleteTimeBuilder_ == null) { - deleteTime_ = null; - } else { - deleteTime_ = null; - deleteTimeBuilder_ = null; - } - if (rulesBuilder_ == null) { - rules_ = java.util.Collections.emptyList(); - } else { - rules_ = null; - rulesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - managingAuthority_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_Policy_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.Policy getDefaultInstanceForType() { - return com.google.iam.v2.Policy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.Policy build() { - com.google.iam.v2.Policy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.Policy buildPartial() { - com.google.iam.v2.Policy result = new com.google.iam.v2.Policy(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - result.uid_ = uid_; - result.kind_ = kind_; - result.displayName_ = displayName_; - result.annotations_ = internalGetAnnotations(); - result.annotations_.makeImmutable(); - result.etag_ = etag_; - if (createTimeBuilder_ == null) { - result.createTime_ = createTime_; - } else { - result.createTime_ = createTimeBuilder_.build(); - } - if (updateTimeBuilder_ == null) { - result.updateTime_ = updateTime_; - } else { - result.updateTime_ = updateTimeBuilder_.build(); - } - if (deleteTimeBuilder_ == null) { - result.deleteTime_ = deleteTime_; - } else { - result.deleteTime_ = deleteTimeBuilder_.build(); - } - if (rulesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - rules_ = java.util.Collections.unmodifiableList(rules_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.rules_ = rules_; - } else { - result.rules_ = rulesBuilder_.build(); - } - result.managingAuthority_ = managingAuthority_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.Policy) { - return mergeFrom((com.google.iam.v2.Policy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.Policy other) { - if (other == com.google.iam.v2.Policy.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getUid().isEmpty()) { - uid_ = other.uid_; - onChanged(); - } - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - onChanged(); - } - if (!other.getDisplayName().isEmpty()) { - displayName_ = other.displayName_; - onChanged(); - } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); - if (!other.getEtag().isEmpty()) { - etag_ = other.etag_; - onChanged(); - } - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (other.hasUpdateTime()) { - mergeUpdateTime(other.getUpdateTime()); - } - if (other.hasDeleteTime()) { - mergeDeleteTime(other.getDeleteTime()); - } - if (rulesBuilder_ == null) { - if (!other.rules_.isEmpty()) { - if (rules_.isEmpty()) { - rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureRulesIsMutable(); - rules_.addAll(other.rules_); - } - onChanged(); - } - } else { - if (!other.rules_.isEmpty()) { - if (rulesBuilder_.isEmpty()) { - rulesBuilder_.dispose(); - rulesBuilder_ = null; - rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000002); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; - } else { - rulesBuilder_.addAllMessages(other.rules_); - } - } - } - if (!other.getManagingAuthority().isEmpty()) { - managingAuthority_ = other.managingAuthority_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - uid_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - kind_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - break; - } // case 42 - case 50: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 66: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 74: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - case 82: - { - com.google.iam.v2.PolicyRule m = - input.readMessage(com.google.iam.v2.PolicyRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 82 - case 90: - { - managingAuthority_ = input.readStringRequireUtf8(); - - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object uid_ = ""; - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The uid. - */ - public java.lang.String getUid() { - java.lang.Object ref = uid_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uid_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for uid. - */ - public com.google.protobuf.ByteString getUidBytes() { - java.lang.Object ref = uid_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uid_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The uid to set. - * @return This builder for chaining. - */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uid_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return This builder for chaining. - */ - public Builder clearUid() { - - uid_ = getDefaultInstance().getUid(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The bytes for uid to set. - * @return This builder for chaining. - */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uid_ = value; - onChanged(); - return this; - } - - private java.lang.Object kind_ = ""; - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The kind to set. - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - kind_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - - kind_ = getDefaultInstance().getKind(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for kind to set. - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - kind_ = value; - onChanged(); - return this; - } - - private java.lang.Object displayName_ = ""; - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @return The displayName. - */ - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @return The bytes for displayName. - */ - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @param value The displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - displayName_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearDisplayName() { - - displayName_ = getDefaultInstance().getDisplayName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @param value The bytes for displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - displayName_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField annotations_; - - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; - if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); - } - if (!annotations_.isMutable()) { - annotations_ = annotations_.copy(); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetAnnotations().getMap().containsKey(key); - } - /** Use {@link #getAnnotationsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); - return this; - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); - return this; - } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { - return internalGetMutableAnnotations().getMutableMap(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - - internalGetMutableAnnotations().getMutableMap().put(key, value); - return this; - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); - return this; - } - - private java.lang.Object etag_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @return The etag. - */ - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @return The bytes for etag. - */ - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @param value The etag to set. - * @return This builder for chaining. - */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - etag_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @return This builder for chaining. - */ - public Builder clearEtag() { - - etag_ = getDefaultInstance().getEtag(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @param value The bytes for etag to set. - * @return This builder for chaining. - */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - etag_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - public boolean hasCreateTime() { - return createTimeBuilder_ != null || createTime_ != null; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } else { - return createTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createTime_ = value; - onChanged(); - } else { - createTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); - onChanged(); - } else { - createTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (createTime_ != null) { - createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); - } else { - createTime_ = value; - } - onChanged(); - } else { - createTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearCreateTime() { - if (createTimeBuilder_ == null) { - createTime_ = null; - onChanged(); - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - - onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); - } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; - } - return createTimeBuilder_; - } - - private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - public boolean hasUpdateTime() { - return updateTimeBuilder_ != null || updateTime_ != null; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - public com.google.protobuf.Timestamp getUpdateTime() { - if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; - } else { - return updateTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updateTime_ = value; - onChanged(); - } else { - updateTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (updateTimeBuilder_ == null) { - updateTime_ = builderForValue.build(); - onChanged(); - } else { - updateTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (updateTime_ != null) { - updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); - } else { - updateTime_ = value; - } - onChanged(); - } else { - updateTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearUpdateTime() { - if (updateTimeBuilder_ == null) { - updateTime_ = null; - onChanged(); - } else { - updateTime_ = null; - updateTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - - onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - if (updateTimeBuilder_ != null) { - return updateTimeBuilder_.getMessageOrBuilder(); - } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { - if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); - updateTime_ = null; - } - return updateTimeBuilder_; - } - - private com.google.protobuf.Timestamp deleteTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the deleteTime field is set. - */ - public boolean hasDeleteTime() { - return deleteTimeBuilder_ != null || deleteTime_ != null; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The deleteTime. - */ - public com.google.protobuf.Timestamp getDeleteTime() { - if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; - } else { - return deleteTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setDeleteTime(com.google.protobuf.Timestamp value) { - if (deleteTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - deleteTime_ = value; - onChanged(); - } else { - deleteTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (deleteTimeBuilder_ == null) { - deleteTime_ = builderForValue.build(); - onChanged(); - } else { - deleteTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { - if (deleteTimeBuilder_ == null) { - if (deleteTime_ != null) { - deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); - } else { - deleteTime_ = value; - } - onChanged(); - } else { - deleteTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearDeleteTime() { - if (deleteTimeBuilder_ == null) { - deleteTime_ = null; - onChanged(); - } else { - deleteTime_ = null; - deleteTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { - - onChanged(); - return getDeleteTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { - if (deleteTimeBuilder_ != null) { - return deleteTimeBuilder_.getMessageOrBuilder(); - } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getDeleteTimeFieldBuilder() { - if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); - deleteTime_ = null; - } - return deleteTimeBuilder_; - } - - private java.util.List rules_ = java.util.Collections.emptyList(); - - private void ensureRulesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - rules_ = new java.util.ArrayList(rules_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.PolicyRule, - com.google.iam.v2.PolicyRule.Builder, - com.google.iam.v2.PolicyRuleOrBuilder> - rulesBuilder_; - - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public java.util.List getRulesList() { - if (rulesBuilder_ == null) { - return java.util.Collections.unmodifiableList(rules_); - } else { - return rulesBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public int getRulesCount() { - if (rulesBuilder_ == null) { - return rules_.size(); - } else { - return rulesBuilder_.getCount(); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public com.google.iam.v2.PolicyRule getRules(int index) { - if (rulesBuilder_ == null) { - return rules_.get(index); - } else { - return rulesBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder setRules(int index, com.google.iam.v2.PolicyRule value) { - if (rulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRulesIsMutable(); - rules_.set(index, value); - onChanged(); - } else { - rulesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder setRules(int index, com.google.iam.v2.PolicyRule.Builder builderForValue) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.set(index, builderForValue.build()); - onChanged(); - } else { - rulesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder addRules(com.google.iam.v2.PolicyRule value) { - if (rulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRulesIsMutable(); - rules_.add(value); - onChanged(); - } else { - rulesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder addRules(int index, com.google.iam.v2.PolicyRule value) { - if (rulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRulesIsMutable(); - rules_.add(index, value); - onChanged(); - } else { - rulesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder addRules(com.google.iam.v2.PolicyRule.Builder builderForValue) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(builderForValue.build()); - onChanged(); - } else { - rulesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder addRules(int index, com.google.iam.v2.PolicyRule.Builder builderForValue) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(index, builderForValue.build()); - onChanged(); - } else { - rulesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder addAllRules(java.lang.Iterable values) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); - onChanged(); - } else { - rulesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder clearRules() { - if (rulesBuilder_ == null) { - rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - rulesBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public Builder removeRules(int index) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.remove(index); - onChanged(); - } else { - rulesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public com.google.iam.v2.PolicyRule.Builder getRulesBuilder(int index) { - return getRulesFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public com.google.iam.v2.PolicyRuleOrBuilder getRulesOrBuilder(int index) { - if (rulesBuilder_ == null) { - return rules_.get(index); - } else { - return rulesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public java.util.List getRulesOrBuilderList() { - if (rulesBuilder_ != null) { - return rulesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rules_); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public com.google.iam.v2.PolicyRule.Builder addRulesBuilder() { - return getRulesFieldBuilder().addBuilder(com.google.iam.v2.PolicyRule.getDefaultInstance()); - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public com.google.iam.v2.PolicyRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.iam.v2.PolicyRule.getDefaultInstance()); - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - public java.util.List getRulesBuilderList() { - return getRulesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.PolicyRule, - com.google.iam.v2.PolicyRule.Builder, - com.google.iam.v2.PolicyRuleOrBuilder> - getRulesFieldBuilder() { - if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2.PolicyRule, - com.google.iam.v2.PolicyRule.Builder, - com.google.iam.v2.PolicyRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - rules_ = null; - } - return rulesBuilder_; - } - - private java.lang.Object managingAuthority_ = ""; - /** - * - * - *
    -     * Immutable. Specifies that this policy is managed by an authority and can only be
    -     * modified by that authority. Usage is restricted.
    -     * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The managingAuthority. - */ - public java.lang.String getManagingAuthority() { - java.lang.Object ref = managingAuthority_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - managingAuthority_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Immutable. Specifies that this policy is managed by an authority and can only be
    -     * modified by that authority. Usage is restricted.
    -     * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for managingAuthority. - */ - public com.google.protobuf.ByteString getManagingAuthorityBytes() { - java.lang.Object ref = managingAuthority_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - managingAuthority_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Immutable. Specifies that this policy is managed by an authority and can only be
    -     * modified by that authority. Usage is restricted.
    -     * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The managingAuthority to set. - * @return This builder for chaining. - */ - public Builder setManagingAuthority(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - managingAuthority_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Immutable. Specifies that this policy is managed by an authority and can only be
    -     * modified by that authority. Usage is restricted.
    -     * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return This builder for chaining. - */ - public Builder clearManagingAuthority() { - - managingAuthority_ = getDefaultInstance().getManagingAuthority(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Immutable. Specifies that this policy is managed by an authority and can only be
    -     * modified by that authority. Usage is restricted.
    -     * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The bytes for managingAuthority to set. - * @return This builder for chaining. - */ - public Builder setManagingAuthorityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - managingAuthority_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.Policy) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.Policy) - private static final com.google.iam.v2.Policy DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.Policy(); - } - - public static com.google.iam.v2.Policy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.Policy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index b8aae544718e..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadata.java +++ /dev/null @@ -1,698 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Metadata for long-running `Policy` operations.
    - * 
    - * - * Protobuf type {@code google.iam.v2.PolicyOperationMetadata} - */ -public final class PolicyOperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.PolicyOperationMetadata) - PolicyOperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use PolicyOperationMetadata.newBuilder() to construct. - private PolicyOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PolicyOperationMetadata() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.PolicyOperationMetadata.class, - com.google.iam.v2.PolicyOperationMetadata.Builder.class); - } - - public static final int CREATE_TIME_FIELD_NUMBER = 1; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return getCreateTime(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (createTime_ != null) { - output.writeMessage(1, getCreateTime()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.PolicyOperationMetadata)) { - return super.equals(obj); - } - com.google.iam.v2.PolicyOperationMetadata other = - (com.google.iam.v2.PolicyOperationMetadata) obj; - - if (hasCreateTime() != other.hasCreateTime()) return false; - if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasCreateTime()) { - hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getCreateTime().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.PolicyOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.PolicyOperationMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Metadata for long-running `Policy` operations.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.PolicyOperationMetadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.PolicyOperationMetadata) - com.google.iam.v2.PolicyOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.PolicyOperationMetadata.class, - com.google.iam.v2.PolicyOperationMetadata.Builder.class); - } - - // Construct using com.google.iam.v2.PolicyOperationMetadata.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (createTimeBuilder_ == null) { - createTime_ = null; - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.PolicyOperationMetadata getDefaultInstanceForType() { - return com.google.iam.v2.PolicyOperationMetadata.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.PolicyOperationMetadata build() { - com.google.iam.v2.PolicyOperationMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.PolicyOperationMetadata buildPartial() { - com.google.iam.v2.PolicyOperationMetadata result = - new com.google.iam.v2.PolicyOperationMetadata(this); - if (createTimeBuilder_ == null) { - result.createTime_ = createTime_; - } else { - result.createTime_ = createTimeBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.PolicyOperationMetadata) { - return mergeFrom((com.google.iam.v2.PolicyOperationMetadata) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.PolicyOperationMetadata other) { - if (other == com.google.iam.v2.PolicyOperationMetadata.getDefaultInstance()) return this; - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return Whether the createTime field is set. - */ - public boolean hasCreateTime() { - return createTimeBuilder_ != null || createTime_ != null; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return The createTime. - */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } else { - return createTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createTime_ = value; - onChanged(); - } else { - createTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); - onChanged(); - } else { - createTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (createTime_ != null) { - createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); - } else { - createTime_ = value; - } - onChanged(); - } else { - createTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder clearCreateTime() { - if (createTimeBuilder_ == null) { - createTime_ = null; - onChanged(); - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - - onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); - } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; - } - return createTimeBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.PolicyOperationMetadata) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.PolicyOperationMetadata) - private static final com.google.iam.v2.PolicyOperationMetadata DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.PolicyOperationMetadata(); - } - - public static com.google.iam.v2.PolicyOperationMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.PolicyOperationMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java b/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java deleted file mode 100644 index 902e8200cd10..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOperationMetadataOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface PolicyOperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.PolicyOperationMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return Whether the createTime field is set. - */ - boolean hasCreateTime(); - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return The createTime. - */ - com.google.protobuf.Timestamp getCreateTime(); - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); -} 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 deleted file mode 100644 index 84433497c536..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyOrBuilder.java +++ /dev/null @@ -1,439 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface PolicyOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.Policy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The uid. - */ - java.lang.String getUid(); - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for uid. - */ - com.google.protobuf.ByteString getUidBytes(); - - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - java.lang.String getKind(); - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); - - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - int getAnnotationsCount(); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ - @java.lang.Deprecated - java.util.Map getAnnotations(); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - java.util.Map getAnnotationsMap(); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - - /* nullable */ - java.lang.String getAnnotationsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - 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.
    -   * 
    - * - * string etag = 6; - * - * @return The etag. - */ - 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.
    -   * 
    - * - * string etag = 6; - * - * @return The bytes for etag. - */ - com.google.protobuf.ByteString getEtagBytes(); - - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - boolean hasCreateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - com.google.protobuf.Timestamp getCreateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); - - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - boolean hasUpdateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - com.google.protobuf.Timestamp getUpdateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the deleteTime field is set. - */ - boolean hasDeleteTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The deleteTime. - */ - com.google.protobuf.Timestamp getDeleteTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); - - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - java.util.List getRulesList(); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - com.google.iam.v2.PolicyRule getRules(int index); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - int getRulesCount(); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - java.util.List getRulesOrBuilderList(); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2.PolicyRule rules = 10; - */ - com.google.iam.v2.PolicyRuleOrBuilder getRulesOrBuilder(int index); - - /** - * - * - *
    -   * Immutable. Specifies that this policy is managed by an authority and can only be
    -   * modified by that authority. Usage is restricted.
    -   * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The managingAuthority. - */ - java.lang.String getManagingAuthority(); - /** - * - * - *
    -   * Immutable. Specifies that this policy is managed by an authority and can only be
    -   * modified by that authority. Usage is restricted.
    -   * 
    - * - * string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for managingAuthority. - */ - com.google.protobuf.ByteString getManagingAuthorityBytes(); -} 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 deleted file mode 100644 index 9cbab0338506..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyProto.java +++ /dev/null @@ -1,256 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public final class PolicyProto { - private PolicyProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_Policy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_Policy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_Policy_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_PolicyRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_PolicyRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_ListPoliciesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_ListPoliciesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_GetPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_CreatePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_DeletePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2_PolicyOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\032google/iam/v2/policy.proto\022\rgoogle.iam" - + ".v2\032\034google/api/annotations.proto\032\027googl" - + "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-platformB\200\001\n\021com.google.i" - + "am.v2B\013PolicyProtoP\001Z0google.golang.org/" - + "genproto/googleapis/iam/v2;iam\252\002\023Google." - + "Cloud.Iam.V2\312\002\023Google\\Cloud\\Iam\\V2b\006prot" - + "o3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.iam.v2.DenyRuleProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_iam_v2_Policy_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v2_Policy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_Policy_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Kind", - "DisplayName", - "Annotations", - "Etag", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Rules", - "ManagingAuthority", - }); - internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor = - internal_static_google_iam_v2_Policy_descriptor.getNestedTypes().get(0); - internal_static_google_iam_v2_Policy_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_Policy_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_iam_v2_PolicyRule_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_iam_v2_PolicyRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_PolicyRule_descriptor, - new java.lang.String[] { - "DenyRule", "Description", "Kind", - }); - internal_static_google_iam_v2_ListPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_iam_v2_ListPoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_ListPoliciesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_iam_v2_ListPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_iam_v2_ListPoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_ListPoliciesResponse_descriptor, - new java.lang.String[] { - "Policies", "NextPageToken", - }); - internal_static_google_iam_v2_GetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_iam_v2_GetPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_GetPolicyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_v2_CreatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_iam_v2_CreatePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_CreatePolicyRequest_descriptor, - new java.lang.String[] { - "Parent", "Policy", "PolicyId", - }); - internal_static_google_iam_v2_UpdatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_UpdatePolicyRequest_descriptor, - new java.lang.String[] { - "Policy", - }); - internal_static_google_iam_v2_DeletePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_iam_v2_DeletePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_DeletePolicyRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_iam_v2_PolicyOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_iam_v2_PolicyOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2_PolicyOperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.iam.v2.DenyRuleProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 032fa2bba220..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRule.java +++ /dev/null @@ -1,980 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * A single rule in a `Policy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2.PolicyRule} - */ -public final class PolicyRule extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.PolicyRule) - PolicyRuleOrBuilder { - private static final long serialVersionUID = 0L; - // Use PolicyRule.newBuilder() to construct. - private PolicyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PolicyRule() { - description_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.PolicyRule.class, com.google.iam.v2.PolicyRule.Builder.class); - } - - private int kindCase_ = 0; - private java.lang.Object kind_; - - public enum KindCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - DENY_RULE(2), - KIND_NOT_SET(0); - private final int value; - - private KindCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static KindCase valueOf(int value) { - return forNumber(value); - } - - public static KindCase forNumber(int value) { - switch (value) { - case 2: - return DENY_RULE; - case 0: - return KIND_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); - } - - public static final int DENY_RULE_FIELD_NUMBER = 2; - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - * - * @return Whether the denyRule field is set. - */ - @java.lang.Override - public boolean hasDenyRule() { - return kindCase_ == 2; - } - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - * - * @return The denyRule. - */ - @java.lang.Override - public com.google.iam.v2.DenyRule getDenyRule() { - if (kindCase_ == 2) { - return (com.google.iam.v2.DenyRule) kind_; - } - return com.google.iam.v2.DenyRule.getDefaultInstance(); - } - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - @java.lang.Override - public com.google.iam.v2.DenyRuleOrBuilder getDenyRuleOrBuilder() { - if (kindCase_ == 2) { - return (com.google.iam.v2.DenyRule) kind_; - } - return com.google.iam.v2.DenyRule.getDefaultInstance(); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 1; - private volatile java.lang.Object description_; - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); - } - if (kindCase_ == 2) { - output.writeMessage(2, (com.google.iam.v2.DenyRule) kind_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); - } - if (kindCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.iam.v2.DenyRule) kind_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.PolicyRule)) { - return super.equals(obj); - } - com.google.iam.v2.PolicyRule other = (com.google.iam.v2.PolicyRule) obj; - - if (!getDescription().equals(other.getDescription())) return false; - if (!getKindCase().equals(other.getKindCase())) return false; - switch (kindCase_) { - case 2: - if (!getDenyRule().equals(other.getDenyRule())) return false; - break; - case 0: - default: - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - switch (kindCase_) { - case 2: - hash = (37 * hash) + DENY_RULE_FIELD_NUMBER; - hash = (53 * hash) + getDenyRule().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.PolicyRule parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.PolicyRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.PolicyRule parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.PolicyRule parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.PolicyRule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.PolicyRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.PolicyRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.PolicyRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.PolicyRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.PolicyRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.PolicyRule parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.PolicyRule parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.PolicyRule prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * A single rule in a `Policy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.PolicyRule} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.PolicyRule) - com.google.iam.v2.PolicyRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_PolicyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.PolicyRule.class, com.google.iam.v2.PolicyRule.Builder.class); - } - - // Construct using com.google.iam.v2.PolicyRule.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (denyRuleBuilder_ != null) { - denyRuleBuilder_.clear(); - } - description_ = ""; - - kindCase_ = 0; - kind_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto.internal_static_google_iam_v2_PolicyRule_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.PolicyRule getDefaultInstanceForType() { - return com.google.iam.v2.PolicyRule.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.PolicyRule build() { - com.google.iam.v2.PolicyRule result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.PolicyRule buildPartial() { - com.google.iam.v2.PolicyRule result = new com.google.iam.v2.PolicyRule(this); - if (kindCase_ == 2) { - if (denyRuleBuilder_ == null) { - result.kind_ = kind_; - } else { - result.kind_ = denyRuleBuilder_.build(); - } - } - result.description_ = description_; - result.kindCase_ = kindCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.PolicyRule) { - return mergeFrom((com.google.iam.v2.PolicyRule) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.PolicyRule other) { - if (other == com.google.iam.v2.PolicyRule.getDefaultInstance()) return this; - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - switch (other.getKindCase()) { - case DENY_RULE: - { - mergeDenyRule(other.getDenyRule()); - break; - } - case KIND_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getDenyRuleFieldBuilder().getBuilder(), extensionRegistry); - kindCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int kindCase_ = 0; - private java.lang.Object kind_; - - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); - } - - public Builder clearKind() { - kindCase_ = 0; - kind_ = null; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.DenyRule, - com.google.iam.v2.DenyRule.Builder, - com.google.iam.v2.DenyRuleOrBuilder> - denyRuleBuilder_; - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - * - * @return Whether the denyRule field is set. - */ - @java.lang.Override - public boolean hasDenyRule() { - return kindCase_ == 2; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - * - * @return The denyRule. - */ - @java.lang.Override - public com.google.iam.v2.DenyRule getDenyRule() { - if (denyRuleBuilder_ == null) { - if (kindCase_ == 2) { - return (com.google.iam.v2.DenyRule) kind_; - } - return com.google.iam.v2.DenyRule.getDefaultInstance(); - } else { - if (kindCase_ == 2) { - return denyRuleBuilder_.getMessage(); - } - return com.google.iam.v2.DenyRule.getDefaultInstance(); - } - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - public Builder setDenyRule(com.google.iam.v2.DenyRule value) { - if (denyRuleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - onChanged(); - } else { - denyRuleBuilder_.setMessage(value); - } - kindCase_ = 2; - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - public Builder setDenyRule(com.google.iam.v2.DenyRule.Builder builderForValue) { - if (denyRuleBuilder_ == null) { - kind_ = builderForValue.build(); - onChanged(); - } else { - denyRuleBuilder_.setMessage(builderForValue.build()); - } - kindCase_ = 2; - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - public Builder mergeDenyRule(com.google.iam.v2.DenyRule value) { - if (denyRuleBuilder_ == null) { - if (kindCase_ == 2 && kind_ != com.google.iam.v2.DenyRule.getDefaultInstance()) { - kind_ = - com.google.iam.v2.DenyRule.newBuilder((com.google.iam.v2.DenyRule) kind_) - .mergeFrom(value) - .buildPartial(); - } else { - kind_ = value; - } - onChanged(); - } else { - if (kindCase_ == 2) { - denyRuleBuilder_.mergeFrom(value); - } else { - denyRuleBuilder_.setMessage(value); - } - } - kindCase_ = 2; - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - public Builder clearDenyRule() { - if (denyRuleBuilder_ == null) { - if (kindCase_ == 2) { - kindCase_ = 0; - kind_ = null; - onChanged(); - } - } else { - if (kindCase_ == 2) { - kindCase_ = 0; - kind_ = null; - } - denyRuleBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - public com.google.iam.v2.DenyRule.Builder getDenyRuleBuilder() { - return getDenyRuleFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - @java.lang.Override - public com.google.iam.v2.DenyRuleOrBuilder getDenyRuleOrBuilder() { - if ((kindCase_ == 2) && (denyRuleBuilder_ != null)) { - return denyRuleBuilder_.getMessageOrBuilder(); - } else { - if (kindCase_ == 2) { - return (com.google.iam.v2.DenyRule) kind_; - } - return com.google.iam.v2.DenyRule.getDefaultInstance(); - } - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.DenyRule, - com.google.iam.v2.DenyRule.Builder, - com.google.iam.v2.DenyRuleOrBuilder> - getDenyRuleFieldBuilder() { - if (denyRuleBuilder_ == null) { - if (!(kindCase_ == 2)) { - kind_ = com.google.iam.v2.DenyRule.getDefaultInstance(); - } - denyRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.DenyRule, - com.google.iam.v2.DenyRule.Builder, - com.google.iam.v2.DenyRuleOrBuilder>( - (com.google.iam.v2.DenyRule) kind_, getParentForChildren(), isClean()); - kind_ = null; - } - kindCase_ = 2; - onChanged(); - ; - return denyRuleBuilder_; - } - - private java.lang.Object description_ = ""; - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @param value The description to set. - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - description_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @param value The bytes for description to set. - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.PolicyRule) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.PolicyRule) - private static final com.google.iam.v2.PolicyRule DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.PolicyRule(); - } - - public static com.google.iam.v2.PolicyRule getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.PolicyRule getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 712ec0723ff8..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/PolicyRuleOrBuilder.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface PolicyRuleOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.PolicyRule) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - * - * @return Whether the denyRule field is set. - */ - boolean hasDenyRule(); - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - * - * @return The denyRule. - */ - com.google.iam.v2.DenyRule getDenyRule(); - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2.DenyRule deny_rule = 2; - */ - com.google.iam.v2.DenyRuleOrBuilder getDenyRuleOrBuilder(); - - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - public 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 deleted file mode 100644 index d7810fed39ed..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequest.java +++ /dev/null @@ -1,726 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -/** - * - * - *
    - * Request message for `UpdatePolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2.UpdatePolicyRequest} - */ -public final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2.UpdatePolicyRequest) - UpdatePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use UpdatePolicyRequest.newBuilder() to construct. - private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private UpdatePolicyRequest() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.UpdatePolicyRequest.class, - com.google.iam.v2.UpdatePolicyRequest.Builder.class); - } - - public static final int POLICY_FIELD_NUMBER = 1; - private com.google.iam.v2.Policy policy_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - @java.lang.Override - public boolean hasPolicy() { - return policy_ != null; - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - @java.lang.Override - public com.google.iam.v2.Policy getPolicy() { - return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - @java.lang.Override - public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { - return getPolicy(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (policy_ != null) { - output.writeMessage(1, getPolicy()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2.UpdatePolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2.UpdatePolicyRequest other = (com.google.iam.v2.UpdatePolicyRequest) obj; - - if (hasPolicy() != other.hasPolicy()) return false; - if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasPolicy()) { - hash = (37 * hash) + POLICY_FIELD_NUMBER; - hash = (53 * hash) + getPolicy().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2.UpdatePolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `UpdatePolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2.UpdatePolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2.UpdatePolicyRequest) - com.google.iam.v2.UpdatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_UpdatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2.UpdatePolicyRequest.class, - com.google.iam.v2.UpdatePolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2.UpdatePolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (policyBuilder_ == null) { - policy_ = null; - } else { - policy_ = null; - policyBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2.PolicyProto - .internal_static_google_iam_v2_UpdatePolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2.UpdatePolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2.UpdatePolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2.UpdatePolicyRequest build() { - com.google.iam.v2.UpdatePolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2.UpdatePolicyRequest buildPartial() { - com.google.iam.v2.UpdatePolicyRequest result = - new com.google.iam.v2.UpdatePolicyRequest(this); - if (policyBuilder_ == null) { - result.policy_ = policy_; - } else { - result.policy_ = policyBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2.UpdatePolicyRequest) { - return mergeFrom((com.google.iam.v2.UpdatePolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2.UpdatePolicyRequest other) { - if (other == com.google.iam.v2.UpdatePolicyRequest.getDefaultInstance()) return this; - if (other.hasPolicy()) { - mergePolicy(other.getPolicy()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private com.google.iam.v2.Policy policy_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - policyBuilder_; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - public boolean hasPolicy() { - return policyBuilder_ != null || policy_ != null; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - public com.google.iam.v2.Policy getPolicy() { - if (policyBuilder_ == null) { - return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; - } else { - return policyBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2.Policy value) { - if (policyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policy_ = value; - onChanged(); - } else { - policyBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2.Policy.Builder builderForValue) { - if (policyBuilder_ == null) { - policy_ = builderForValue.build(); - onChanged(); - } else { - policyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder mergePolicy(com.google.iam.v2.Policy value) { - if (policyBuilder_ == null) { - if (policy_ != null) { - policy_ = com.google.iam.v2.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); - } else { - policy_ = value; - } - onChanged(); - } else { - policyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder clearPolicy() { - if (policyBuilder_ == null) { - policy_ = null; - onChanged(); - } else { - policy_ = null; - policyBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2.Policy.Builder getPolicyBuilder() { - - onChanged(); - return getPolicyFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder() { - if (policyBuilder_ != null) { - return policyBuilder_.getMessageOrBuilder(); - } else { - return policy_ == null ? com.google.iam.v2.Policy.getDefaultInstance() : policy_; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder> - getPolicyFieldBuilder() { - if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2.Policy, - com.google.iam.v2.Policy.Builder, - com.google.iam.v2.PolicyOrBuilder>(getPolicy(), getParentForChildren(), isClean()); - policy_ = null; - } - return policyBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2.UpdatePolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2.UpdatePolicyRequest) - private static final com.google.iam.v2.UpdatePolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2.UpdatePolicyRequest(); - } - - public static com.google.iam.v2.UpdatePolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2.UpdatePolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index fa20ec03d52f..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/java/com/google/iam/v2/UpdatePolicyRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2/policy.proto - -package com.google.iam.v2; - -public interface UpdatePolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2.UpdatePolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - 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.
    -   * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - 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.
    -   * 
    - * - * .google.iam.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.iam.v2.PolicyOrBuilder getPolicyOrBuilder(); -} diff --git a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto deleted file mode 100644 index db9f15f895a7..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.iam.v2; - -import "google/type/expr.proto"; - -option csharp_namespace = "Google.Cloud.Iam.V2"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2;iam"; -option java_multiple_files = true; -option java_outer_classname = "DenyRuleProto"; -option java_package = "com.google.iam.v2"; -option php_namespace = "Google\\Cloud\\Iam\\V2"; - -// A deny rule in an IAM deny policy. -message DenyRule { - // 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, - // `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. - repeated string denied_principals = 1; - - // The identities that are excluded from the deny rule, even if they are - // 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. - repeated string exception_principals = 2; - - // The permissions that are explicitly denied by this rule. Each permission - // uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` - // is the fully qualified domain name for the service. For example, - // `iam.googleapis.com/roles.list`. - repeated string denied_permissions = 3; - - // Specifies the permissions that this rule excludes from the set of denied - // 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`. - repeated string exception_permissions = 4; - - // 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 - // functions and operators are not supported. - google.type.Expr denial_condition = 5; -} diff --git a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto deleted file mode 100644 index d8923d3b8337..000000000000 --- a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto +++ /dev/null @@ -1,287 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.iam.v2; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/iam/v2/deny.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/timestamp.proto"; - -option csharp_namespace = "Google.Cloud.Iam.V2"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2;iam"; -option java_multiple_files = true; -option java_outer_classname = "PolicyProto"; -option java_package = "com.google.iam.v2"; -option php_namespace = "Google\\Cloud\\Iam\\V2"; - -// An interface for managing Identity and Access Management (IAM) policies. -service Policies { - option (google.api.default_host) = "iam.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - - // Retrieves the policies of the specified kind that are attached to a - // resource. - // - // The response lists only policy metadata. In particular, policy rules are - // omitted. - rpc ListPolicies(ListPoliciesRequest) returns (ListPoliciesResponse) { - option (google.api.http) = { - get: "/v2/{parent=policies/*/*}" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets a policy. - rpc GetPolicy(GetPolicyRequest) returns (Policy) { - option (google.api.http) = { - get: "/v2/{name=policies/*/*/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a policy. - rpc CreatePolicy(CreatePolicyRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v2/{parent=policies/*/*}" - body: "policy" - }; - option (google.api.method_signature) = "parent,policy,policy_id"; - option (google.longrunning.operation_info) = { - response_type: "Policy" - metadata_type: "PolicyOperationMetadata" - }; - } - - // Updates the specified policy. - // - // You can update only the rules and the display name for the policy. - // - // To update a policy, you should use a read-modify-write loop: - // - // 1. Use [GetPolicy][google.iam.v2.Policies.GetPolicy] to read the current version of the policy. - // 2. Modify the policy as needed. - // 3. Use `UpdatePolicy` to write the updated policy. - // - // This pattern helps prevent conflicts between concurrent updates. - rpc UpdatePolicy(UpdatePolicyRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - put: "/v2/{policy.name=policies/*/*/*}" - body: "policy" - }; - option (google.longrunning.operation_info) = { - response_type: "Policy" - metadata_type: "PolicyOperationMetadata" - }; - } - - // Deletes a policy. This action is permanent. - rpc DeletePolicy(DeletePolicyRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v2/{name=policies/*/*/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "Policy" - metadata_type: "PolicyOperationMetadata" - }; - } -} - -// Data for an IAM policy. -message Policy { - // 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. - string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The globally unique ID of the `Policy`. Assigned automatically when the - // `Policy` is created. - string uid = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`. - string kind = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A user-specified description of the `Policy`. This value can be up to 63 - // characters. - string display_name = 4; - - // A key-value map to store arbitrary metadata for the `Policy`. Keys - // can be up to 63 characters. Values can be up to 255 characters. - map annotations = 5; - - // 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. - string etag = 6; - - // Output only. The time when the `Policy` was created. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when the `Policy` was last updated. - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted. - google.protobuf.Timestamp delete_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A list of rules that specify the behavior of the `Policy`. All of the rules - // should be of the `kind` specified in the `Policy`. - repeated PolicyRule rules = 10; - - // Immutable. Specifies that this policy is managed by an authority and can only be - // modified by that authority. Usage is restricted. - string managing_authority = 11 [(google.api.field_behavior) = IMMUTABLE]; -} - -// A single rule in a `Policy`. -message PolicyRule { - oneof kind { - // A rule for a deny policy. - DenyRule deny_rule = 2; - } - - // A user-specified description of the rule. This value can be up to 256 - // characters. - string description = 1; -} - -// Request message for `ListPolicies`. -message ListPoliciesRequest { - // 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. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // The maximum number of policies to return. IAM ignores this value and uses - // the value 1000. - int32 page_size = 2; - - // A page token received in a [ListPoliciesResponse][google.iam.v2.ListPoliciesResponse]. Provide this token to - // retrieve the next page. - string page_token = 3; -} - -// Response message for `ListPolicies`. -message ListPoliciesResponse { - // Metadata for the policies that are attached to the resource. - repeated Policy policies = 1; - - // A page token that you can use in a [ListPoliciesRequest][google.iam.v2.ListPoliciesRequest] to retrieve the - // next page. If this field is omitted, there are no additional pages. - string next_page_token = 2; -} - -// Request message for `GetPolicy`. -message GetPolicyRequest { - // 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. - string name = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for `CreatePolicy`. -message CreatePolicyRequest { - // 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. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The policy to create. - Policy policy = 2 [(google.api.field_behavior) = REQUIRED]; - - // The ID to use for this policy, which will become the final component of - // the policy's resource name. The ID must contain 3 to 63 characters. It can - // contain lowercase letters and numbers, as well as dashes (`-`) and periods - // (`.`). The first character must be a lowercase letter. - string policy_id = 3; -} - -// Request message for `UpdatePolicy`. -message UpdatePolicyRequest { - // 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. - Policy policy = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for `DeletePolicy`. -message DeletePolicyRequest { - // 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. - string name = 1 [(google.api.field_behavior) = REQUIRED]; - - // 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`. - string etag = 2 [(google.api.field_behavior) = OPTIONAL]; -} - -// Metadata for long-running `Policy` operations. -message PolicyOperationMetadata { - // Timestamp when the `google.longrunning.Operation` was created. - google.protobuf.Timestamp create_time = 1; -} diff --git a/java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml b/java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml deleted file mode 100644 index 136c027be819..000000000000 --- a/java-iam/proto-google-iam-v2beta/clirr-ignored-differences.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - 7012 - com/google/iam/v2beta/*OrBuilder - * get*(*) - - - 7012 - com/google/iam/v2beta/*OrBuilder - boolean contains*(*) - - - 7012 - com/google/iam/v2beta/*OrBuilder - boolean has*(*) - - diff --git a/java-iam/proto-google-iam-v2beta/pom.xml b/java-iam/proto-google-iam-v2beta/pom.xml deleted file mode 100644 index 6b130444e7e9..000000000000 --- a/java-iam/proto-google-iam-v2beta/pom.xml +++ /dev/null @@ -1,34 +0,0 @@ - - 4.0.0 - com.google.api.grpc - proto-google-iam-v2beta - 1.6.24-SNAPSHOT - proto-google-iam-v2beta - Proto library for proto-google-iam-v1 - - com.google.cloud - google-iam-parent - 1.6.24-SNAPSHOT - - - - com.google.protobuf - protobuf-java - - - com.google.api.grpc - proto-google-common-protos - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - - 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 deleted file mode 100644 index 4c91193e2d46..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequest.java +++ /dev/null @@ -1,1121 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Request message for `CreatePolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.CreatePolicyRequest} - */ -public final class CreatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.CreatePolicyRequest) - CreatePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use CreatePolicyRequest.newBuilder() to construct. - private CreatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CreatePolicyRequest() { - parent_ = ""; - policyId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.CreatePolicyRequest.class, - com.google.iam.v2beta.CreatePolicyRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - private volatile java.lang.Object parent_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int POLICY_FIELD_NUMBER = 2; - private com.google.iam.v2beta.Policy policy_; - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - @java.lang.Override - public boolean hasPolicy() { - return policy_ != null; - } - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - @java.lang.Override - public com.google.iam.v2beta.Policy getPolicy() { - return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; - } - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - @java.lang.Override - public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { - return getPolicy(); - } - - public static final int POLICY_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object policyId_; - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The policyId. - */ - @java.lang.Override - public java.lang.String getPolicyId() { - java.lang.Object ref = policyId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - policyId_ = s; - return s; - } - } - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The bytes for policyId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPolicyIdBytes() { - java.lang.Object ref = policyId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - policyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); - } - if (policy_ != null) { - output.writeMessage(2, getPolicy()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, policyId_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPolicy()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(policyId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, policyId_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.CreatePolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2beta.CreatePolicyRequest other = - (com.google.iam.v2beta.CreatePolicyRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (hasPolicy() != other.hasPolicy()) return false; - if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; - } - if (!getPolicyId().equals(other.getPolicyId())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - if (hasPolicy()) { - hash = (37 * hash) + POLICY_FIELD_NUMBER; - hash = (53 * hash) + getPolicy().hashCode(); - } - hash = (37 * hash) + POLICY_ID_FIELD_NUMBER; - hash = (53 * hash) + getPolicyId().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.CreatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.CreatePolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `CreatePolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.CreatePolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.CreatePolicyRequest) - com.google.iam.v2beta.CreatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.CreatePolicyRequest.class, - com.google.iam.v2beta.CreatePolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2beta.CreatePolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - parent_ = ""; - - if (policyBuilder_ == null) { - policy_ = null; - } else { - policy_ = null; - policyBuilder_ = null; - } - policyId_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.CreatePolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2beta.CreatePolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.CreatePolicyRequest build() { - com.google.iam.v2beta.CreatePolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.CreatePolicyRequest buildPartial() { - com.google.iam.v2beta.CreatePolicyRequest result = - new com.google.iam.v2beta.CreatePolicyRequest(this); - result.parent_ = parent_; - if (policyBuilder_ == null) { - result.policy_ = policy_; - } else { - result.policy_ = policyBuilder_.build(); - } - result.policyId_ = policyId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.CreatePolicyRequest) { - return mergeFrom((com.google.iam.v2beta.CreatePolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.CreatePolicyRequest other) { - if (other == com.google.iam.v2beta.CreatePolicyRequest.getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - onChanged(); - } - if (other.hasPolicy()) { - mergePolicy(other.getPolicy()); - } - if (!other.getPolicyId().isEmpty()) { - policyId_ = other.policyId_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - policyId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object parent_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - parent_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - - parent_ = getDefaultInstance().getParent(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - parent_ = value; - onChanged(); - return this; - } - - private com.google.iam.v2beta.Policy policy_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder> - policyBuilder_; - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - public boolean hasPolicy() { - return policyBuilder_ != null || policy_ != null; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - public com.google.iam.v2beta.Policy getPolicy() { - if (policyBuilder_ == null) { - return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; - } else { - return policyBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2beta.Policy value) { - if (policyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policy_ = value; - onChanged(); - } else { - policyBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2beta.Policy.Builder builderForValue) { - if (policyBuilder_ == null) { - policy_ = builderForValue.build(); - onChanged(); - } else { - policyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder mergePolicy(com.google.iam.v2beta.Policy value) { - if (policyBuilder_ == null) { - if (policy_ != null) { - policy_ = - com.google.iam.v2beta.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); - } else { - policy_ = value; - } - onChanged(); - } else { - policyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder clearPolicy() { - if (policyBuilder_ == null) { - policy_ = null; - onChanged(); - } else { - policy_ = null; - policyBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2beta.Policy.Builder getPolicyBuilder() { - - onChanged(); - return getPolicyFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { - if (policyBuilder_ != null) { - return policyBuilder_.getMessageOrBuilder(); - } else { - return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; - } - } - /** - * - * - *
    -     * Required. The policy to create.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder> - getPolicyFieldBuilder() { - if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder>( - getPolicy(), getParentForChildren(), isClean()); - policy_ = null; - } - return policyBuilder_; - } - - private java.lang.Object policyId_ = ""; - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @return The policyId. - */ - public java.lang.String getPolicyId() { - java.lang.Object ref = policyId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - policyId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @return The bytes for policyId. - */ - public com.google.protobuf.ByteString getPolicyIdBytes() { - java.lang.Object ref = policyId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - policyId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @param value The policyId to set. - * @return This builder for chaining. - */ - public Builder setPolicyId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - policyId_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @return This builder for chaining. - */ - public Builder clearPolicyId() { - - policyId_ = getDefaultInstance().getPolicyId(); - onChanged(); - return this; - } - /** - * - * - *
    -     * The ID to use for this policy, which will become the final component of
    -     * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -     * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -     * (`.`). The first character must be a lowercase letter.
    -     * 
    - * - * string policy_id = 3; - * - * @param value The bytes for policyId to set. - * @return This builder for chaining. - */ - public Builder setPolicyIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - policyId_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.CreatePolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.CreatePolicyRequest) - private static final com.google.iam.v2beta.CreatePolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.CreatePolicyRequest(); - } - - public static com.google.iam.v2beta.CreatePolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.CreatePolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 24c4fc2fb614..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/CreatePolicyRequestOrBuilder.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface CreatePolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.CreatePolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - boolean hasPolicy(); - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - com.google.iam.v2beta.Policy getPolicy(); - /** - * - * - *
    -   * Required. The policy to create.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder(); - - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The policyId. - */ - java.lang.String getPolicyId(); - /** - * - * - *
    -   * The ID to use for this policy, which will become the final component of
    -   * the policy's resource name. The ID must contain 3 to 63 characters. It can
    -   * contain lowercase letters and numbers, as well as dashes (`-`) and periods
    -   * (`.`). The first character must be a lowercase letter.
    -   * 
    - * - * string policy_id = 3; - * - * @return The bytes for policyId. - */ - com.google.protobuf.ByteString getPolicyIdBytes(); -} 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 deleted file mode 100644 index 255a71ece498..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequest.java +++ /dev/null @@ -1,862 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Request message for `DeletePolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.DeletePolicyRequest} - */ -public final class DeletePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.DeletePolicyRequest) - DeletePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use DeletePolicyRequest.newBuilder() to construct. - private DeletePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private DeletePolicyRequest() { - name_ = ""; - etag_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.DeletePolicyRequest.class, - com.google.iam.v2beta.DeletePolicyRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ETAG_FIELD_NUMBER = 2; - private volatile java.lang.Object etag_; - /** - * - * - *
    -   * 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The etag. - */ - @java.lang.Override - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } - } - /** - * - * - *
    -   * 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for etag. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.DeletePolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2beta.DeletePolicyRequest other = - (com.google.iam.v2beta.DeletePolicyRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + ETAG_FIELD_NUMBER; - hash = (53 * hash) + getEtag().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.DeletePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.DeletePolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `DeletePolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.DeletePolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.DeletePolicyRequest) - com.google.iam.v2beta.DeletePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.DeletePolicyRequest.class, - com.google.iam.v2beta.DeletePolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2beta.DeletePolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - etag_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.DeletePolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2beta.DeletePolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.DeletePolicyRequest build() { - com.google.iam.v2beta.DeletePolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.DeletePolicyRequest buildPartial() { - com.google.iam.v2beta.DeletePolicyRequest result = - new com.google.iam.v2beta.DeletePolicyRequest(this); - result.name_ = name_; - result.etag_ = etag_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.DeletePolicyRequest) { - return mergeFrom((com.google.iam.v2beta.DeletePolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.DeletePolicyRequest other) { - if (other == com.google.iam.v2beta.DeletePolicyRequest.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getEtag().isEmpty()) { - etag_ = other.etag_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object etag_ = ""; - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The etag. - */ - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for etag. - */ - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The etag to set. - * @return This builder for chaining. - */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - etag_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return This builder for chaining. - */ - public Builder clearEtag() { - - etag_ = getDefaultInstance().getEtag(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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`.
    -     * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @param value The bytes for etag to set. - * @return This builder for chaining. - */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - etag_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.DeletePolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.DeletePolicyRequest) - private static final com.google.iam.v2beta.DeletePolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.DeletePolicyRequest(); - } - - public static com.google.iam.v2beta.DeletePolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.DeletePolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 1b19529885f7..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DeletePolicyRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface DeletePolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.DeletePolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The etag. - */ - 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`.
    -   * 
    - * - * string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * @return The bytes for etag. - */ - com.google.protobuf.ByteString getEtagBytes(); -} 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 deleted file mode 100644 index b776f7b169fe..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRule.java +++ /dev/null @@ -1,2453 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/deny.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * A deny rule in an IAM deny policy.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.DenyRule} - */ -public final class DenyRule extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.DenyRule) - DenyRuleOrBuilder { - private static final long serialVersionUID = 0L; - // Use DenyRule.newBuilder() to construct. - private DenyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(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; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.DenyRuleProto - .internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.DenyRule.class, com.google.iam.v2beta.DenyRule.Builder.class); - } - - public static final int DENIED_PRINCIPALS_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList deniedPrincipals_; - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return A list containing the deniedPrincipals. - */ - public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { - return deniedPrincipals_; - } - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return The count of deniedPrincipals. - */ - public int getDeniedPrincipalsCount() { - return deniedPrincipals_.size(); - } - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the element to return. - * @return The deniedPrincipals at the given index. - */ - public java.lang.String getDeniedPrincipals(int index) { - return deniedPrincipals_.get(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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPrincipals at the given index. - */ - public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { - return deniedPrincipals_.getByteString(index); - } - - public static final int EXCEPTION_PRINCIPALS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList exceptionPrincipals_; - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return A list containing the exceptionPrincipals. - */ - public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { - return exceptionPrincipals_; - } - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return The count of exceptionPrincipals. - */ - public int getExceptionPrincipalsCount() { - return exceptionPrincipals_.size(); - } - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the element to return. - * @return The exceptionPrincipals at the given index. - */ - public java.lang.String getExceptionPrincipals(int index) { - return exceptionPrincipals_.get(index); - } - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPrincipals at the given index. - */ - public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { - return exceptionPrincipals_.getByteString(index); - } - - public static final int DENIED_PERMISSIONS_FIELD_NUMBER = 3; - private com.google.protobuf.LazyStringList deniedPermissions_; - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return A list containing the deniedPermissions. - */ - public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { - return deniedPermissions_; - } - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return The count of deniedPermissions. - */ - public int getDeniedPermissionsCount() { - return deniedPermissions_.size(); - } - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the element to return. - * @return The deniedPermissions at the given index. - */ - public java.lang.String getDeniedPermissions(int index) { - return deniedPermissions_.get(index); - } - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPermissions at the given index. - */ - public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { - return deniedPermissions_.getByteString(index); - } - - public static final int EXCEPTION_PERMISSIONS_FIELD_NUMBER = 4; - private com.google.protobuf.LazyStringList exceptionPermissions_; - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return A list containing the exceptionPermissions. - */ - public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { - return exceptionPermissions_; - } - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return The count of exceptionPermissions. - */ - public int getExceptionPermissionsCount() { - return exceptionPermissions_.size(); - } - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the element to return. - * @return The exceptionPermissions at the given index. - */ - public java.lang.String getExceptionPermissions(int index) { - return exceptionPermissions_.get(index); - } - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPermissions at the given index. - */ - public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { - return exceptionPermissions_.getByteString(index); - } - - public static final int DENIAL_CONDITION_FIELD_NUMBER = 5; - private com.google.type.Expr denialCondition_; - /** - * - * - *
    -   * 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return Whether the denialCondition field is set. - */ - @java.lang.Override - public boolean hasDenialCondition() { - return denialCondition_ != null; - } - /** - * - * - *
    -   * 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return The denialCondition. - */ - @java.lang.Override - public com.google.type.Expr getDenialCondition() { - return denialCondition_ == null ? com.google.type.Expr.getDefaultInstance() : denialCondition_; - } - /** - * - * - *
    -   * 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - */ - @java.lang.Override - public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { - return getDenialCondition(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < deniedPrincipals_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deniedPrincipals_.getRaw(i)); - } - for (int i = 0; i < exceptionPrincipals_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, exceptionPrincipals_.getRaw(i)); - } - for (int i = 0; i < deniedPermissions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deniedPermissions_.getRaw(i)); - } - for (int i = 0; i < exceptionPermissions_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, exceptionPermissions_.getRaw(i)); - } - if (denialCondition_ != null) { - output.writeMessage(5, getDenialCondition()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < deniedPrincipals_.size(); i++) { - dataSize += computeStringSizeNoTag(deniedPrincipals_.getRaw(i)); - } - size += dataSize; - size += 1 * getDeniedPrincipalsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < exceptionPrincipals_.size(); i++) { - dataSize += computeStringSizeNoTag(exceptionPrincipals_.getRaw(i)); - } - size += dataSize; - size += 1 * getExceptionPrincipalsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < deniedPermissions_.size(); i++) { - dataSize += computeStringSizeNoTag(deniedPermissions_.getRaw(i)); - } - size += dataSize; - size += 1 * getDeniedPermissionsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < exceptionPermissions_.size(); i++) { - dataSize += computeStringSizeNoTag(exceptionPermissions_.getRaw(i)); - } - size += dataSize; - size += 1 * getExceptionPermissionsList().size(); - } - if (denialCondition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDenialCondition()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.DenyRule)) { - return super.equals(obj); - } - com.google.iam.v2beta.DenyRule other = (com.google.iam.v2beta.DenyRule) obj; - - if (!getDeniedPrincipalsList().equals(other.getDeniedPrincipalsList())) return false; - if (!getExceptionPrincipalsList().equals(other.getExceptionPrincipalsList())) return false; - if (!getDeniedPermissionsList().equals(other.getDeniedPermissionsList())) return false; - if (!getExceptionPermissionsList().equals(other.getExceptionPermissionsList())) return false; - if (hasDenialCondition() != other.hasDenialCondition()) return false; - if (hasDenialCondition()) { - if (!getDenialCondition().equals(other.getDenialCondition())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getDeniedPrincipalsCount() > 0) { - hash = (37 * hash) + DENIED_PRINCIPALS_FIELD_NUMBER; - hash = (53 * hash) + getDeniedPrincipalsList().hashCode(); - } - if (getExceptionPrincipalsCount() > 0) { - hash = (37 * hash) + EXCEPTION_PRINCIPALS_FIELD_NUMBER; - hash = (53 * hash) + getExceptionPrincipalsList().hashCode(); - } - if (getDeniedPermissionsCount() > 0) { - hash = (37 * hash) + DENIED_PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + getDeniedPermissionsList().hashCode(); - } - if (getExceptionPermissionsCount() > 0) { - hash = (37 * hash) + EXCEPTION_PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + getExceptionPermissionsList().hashCode(); - } - if (hasDenialCondition()) { - hash = (37 * hash) + DENIAL_CONDITION_FIELD_NUMBER; - hash = (53 * hash) + getDenialCondition().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.DenyRule parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.DenyRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.DenyRule parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.DenyRule parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.DenyRule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.DenyRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.DenyRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.DenyRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.DenyRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.DenyRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.DenyRule parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.DenyRule parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.DenyRule prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * A deny rule in an IAM deny policy.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.DenyRule} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.DenyRule) - com.google.iam.v2beta.DenyRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.DenyRuleProto - .internal_static_google_iam_v2beta_DenyRule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.DenyRuleProto - .internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.DenyRule.class, com.google.iam.v2beta.DenyRule.Builder.class); - } - - // Construct using com.google.iam.v2beta.DenyRule.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - 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); - if (denialConditionBuilder_ == null) { - denialCondition_ = null; - } else { - denialCondition_ = null; - denialConditionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.DenyRuleProto - .internal_static_google_iam_v2beta_DenyRule_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.DenyRule getDefaultInstanceForType() { - return com.google.iam.v2beta.DenyRule.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.DenyRule build() { - com.google.iam.v2beta.DenyRule result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.DenyRule buildPartial() { - com.google.iam.v2beta.DenyRule result = new com.google.iam.v2beta.DenyRule(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = deniedPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.deniedPrincipals_ = deniedPrincipals_; - if (((bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = exceptionPrincipals_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.exceptionPrincipals_ = exceptionPrincipals_; - if (((bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = deniedPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.deniedPermissions_ = deniedPermissions_; - if (((bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = exceptionPermissions_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.exceptionPermissions_ = exceptionPermissions_; - if (denialConditionBuilder_ == null) { - result.denialCondition_ = denialCondition_; - } else { - result.denialCondition_ = denialConditionBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.DenyRule) { - return mergeFrom((com.google.iam.v2beta.DenyRule) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.DenyRule other) { - if (other == com.google.iam.v2beta.DenyRule.getDefaultInstance()) return this; - if (!other.deniedPrincipals_.isEmpty()) { - if (deniedPrincipals_.isEmpty()) { - deniedPrincipals_ = other.deniedPrincipals_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.addAll(other.deniedPrincipals_); - } - onChanged(); - } - if (!other.exceptionPrincipals_.isEmpty()) { - if (exceptionPrincipals_.isEmpty()) { - exceptionPrincipals_ = other.exceptionPrincipals_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.addAll(other.exceptionPrincipals_); - } - onChanged(); - } - if (!other.deniedPermissions_.isEmpty()) { - if (deniedPermissions_.isEmpty()) { - deniedPermissions_ = other.deniedPermissions_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.addAll(other.deniedPermissions_); - } - onChanged(); - } - if (!other.exceptionPermissions_.isEmpty()) { - if (exceptionPermissions_.isEmpty()) { - exceptionPermissions_ = other.exceptionPermissions_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.addAll(other.exceptionPermissions_); - } - onChanged(); - } - if (other.hasDenialCondition()) { - mergeDenialCondition(other.getDenialCondition()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.add(s); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.add(s); - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.add(s); - break; - } // case 34 - case 42: - { - input.readMessage(getDenialConditionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList deniedPrincipals_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureDeniedPrincipalsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - deniedPrincipals_ = new com.google.protobuf.LazyStringArrayList(deniedPrincipals_); - bitField0_ |= 0x00000001; - } - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @return A list containing the deniedPrincipals. - */ - public com.google.protobuf.ProtocolStringList getDeniedPrincipalsList() { - return deniedPrincipals_.getUnmodifiableView(); - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @return The count of deniedPrincipals. - */ - public int getDeniedPrincipalsCount() { - return deniedPrincipals_.size(); - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the element to return. - * @return The deniedPrincipals at the given index. - */ - public java.lang.String getDeniedPrincipals(int index) { - return deniedPrincipals_.get(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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPrincipals at the given index. - */ - public com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index) { - return deniedPrincipals_.getByteString(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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index to set the value at. - * @param value The deniedPrincipals to set. - * @return This builder for chaining. - */ - public Builder setDeniedPrincipals(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param value The deniedPrincipals to add. - * @return This builder for chaining. - */ - public Builder addDeniedPrincipals(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param values The deniedPrincipals to add. - * @return This builder for chaining. - */ - public Builder addAllDeniedPrincipals(java.lang.Iterable values) { - ensureDeniedPrincipalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPrincipals_); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @return This builder for chaining. - */ - public Builder clearDeniedPrincipals() { - deniedPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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,
    -     *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -     * 
    - * - * repeated string denied_principals = 1; - * - * @param value The bytes of the deniedPrincipals to add. - * @return This builder for chaining. - */ - public Builder addDeniedPrincipalsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDeniedPrincipalsIsMutable(); - deniedPrincipals_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList exceptionPrincipals_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureExceptionPrincipalsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - exceptionPrincipals_ = new com.google.protobuf.LazyStringArrayList(exceptionPrincipals_); - bitField0_ |= 0x00000002; - } - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @return A list containing the exceptionPrincipals. - */ - public com.google.protobuf.ProtocolStringList getExceptionPrincipalsList() { - return exceptionPrincipals_.getUnmodifiableView(); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @return The count of exceptionPrincipals. - */ - public int getExceptionPrincipalsCount() { - return exceptionPrincipals_.size(); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the element to return. - * @return The exceptionPrincipals at the given index. - */ - public java.lang.String getExceptionPrincipals(int index) { - return exceptionPrincipals_.get(index); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPrincipals at the given index. - */ - public com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index) { - return exceptionPrincipals_.getByteString(index); - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index to set the value at. - * @param value The exceptionPrincipals to set. - * @return This builder for chaining. - */ - public Builder setExceptionPrincipals(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param value The exceptionPrincipals to add. - * @return This builder for chaining. - */ - public Builder addExceptionPrincipals(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param values The exceptionPrincipals to add. - * @return This builder for chaining. - */ - public Builder addAllExceptionPrincipals(java.lang.Iterable values) { - ensureExceptionPrincipalsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPrincipals_); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @return This builder for chaining. - */ - public Builder clearExceptionPrincipals() { - exceptionPrincipals_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
    -     * The identities that are excluded from the deny rule, even if they are
    -     * 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.
    -     * 
    - * - * repeated string exception_principals = 2; - * - * @param value The bytes of the exceptionPrincipals to add. - * @return This builder for chaining. - */ - public Builder addExceptionPrincipalsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureExceptionPrincipalsIsMutable(); - exceptionPrincipals_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList deniedPermissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureDeniedPermissionsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - deniedPermissions_ = new com.google.protobuf.LazyStringArrayList(deniedPermissions_); - bitField0_ |= 0x00000004; - } - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @return A list containing the deniedPermissions. - */ - public com.google.protobuf.ProtocolStringList getDeniedPermissionsList() { - return deniedPermissions_.getUnmodifiableView(); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @return The count of deniedPermissions. - */ - public int getDeniedPermissionsCount() { - return deniedPermissions_.size(); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the element to return. - * @return The deniedPermissions at the given index. - */ - public java.lang.String getDeniedPermissions(int index) { - return deniedPermissions_.get(index); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPermissions at the given index. - */ - public com.google.protobuf.ByteString getDeniedPermissionsBytes(int index) { - return deniedPermissions_.getByteString(index); - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index to set the value at. - * @param value The deniedPermissions to set. - * @return This builder for chaining. - */ - public Builder setDeniedPermissions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param value The deniedPermissions to add. - * @return This builder for chaining. - */ - public Builder addDeniedPermissions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param values The deniedPermissions to add. - * @return This builder for chaining. - */ - public Builder addAllDeniedPermissions(java.lang.Iterable values) { - ensureDeniedPermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deniedPermissions_); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @return This builder for chaining. - */ - public Builder clearDeniedPermissions() { - deniedPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
    -     * The permissions that are explicitly denied by this rule. Each permission
    -     * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -     * is the fully qualified domain name for the service. For example,
    -     * `iam.googleapis.com/roles.list`.
    -     * 
    - * - * repeated string denied_permissions = 3; - * - * @param value The bytes of the deniedPermissions to add. - * @return This builder for chaining. - */ - public Builder addDeniedPermissionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureDeniedPermissionsIsMutable(); - deniedPermissions_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList exceptionPermissions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureExceptionPermissionsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - exceptionPermissions_ = new com.google.protobuf.LazyStringArrayList(exceptionPermissions_); - bitField0_ |= 0x00000008; - } - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @return A list containing the exceptionPermissions. - */ - public com.google.protobuf.ProtocolStringList getExceptionPermissionsList() { - return exceptionPermissions_.getUnmodifiableView(); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @return The count of exceptionPermissions. - */ - public int getExceptionPermissionsCount() { - return exceptionPermissions_.size(); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the element to return. - * @return The exceptionPermissions at the given index. - */ - public java.lang.String getExceptionPermissions(int index) { - return exceptionPermissions_.get(index); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPermissions at the given index. - */ - public com.google.protobuf.ByteString getExceptionPermissionsBytes(int index) { - return exceptionPermissions_.getByteString(index); - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index to set the value at. - * @param value The exceptionPermissions to set. - * @return This builder for chaining. - */ - public Builder setExceptionPermissions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.set(index, value); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param value The exceptionPermissions to add. - * @return This builder for chaining. - */ - public Builder addExceptionPermissions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.add(value); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param values The exceptionPermissions to add. - * @return This builder for chaining. - */ - public Builder addAllExceptionPermissions(java.lang.Iterable values) { - ensureExceptionPermissionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptionPermissions_); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @return This builder for chaining. - */ - public Builder clearExceptionPermissions() { - exceptionPermissions_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - return this; - } - /** - * - * - *
    -     * Specifies the permissions that this rule excludes from the set of denied
    -     * 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`.
    -     * 
    - * - * repeated string exception_permissions = 4; - * - * @param value The bytes of the exceptionPermissions to add. - * @return This builder for chaining. - */ - public Builder addExceptionPermissionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - ensureExceptionPermissionsIsMutable(); - exceptionPermissions_.add(value); - onChanged(); - return this; - } - - private com.google.type.Expr denialCondition_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - denialConditionBuilder_; - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return Whether the denialCondition field is set. - */ - public boolean hasDenialCondition() { - return denialConditionBuilder_ != null || denialCondition_ != null; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return The denialCondition. - */ - public com.google.type.Expr getDenialCondition() { - if (denialConditionBuilder_ == null) { - return denialCondition_ == null - ? com.google.type.Expr.getDefaultInstance() - : denialCondition_; - } else { - return denialConditionBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder setDenialCondition(com.google.type.Expr value) { - if (denialConditionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - denialCondition_ = value; - onChanged(); - } else { - denialConditionBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder setDenialCondition(com.google.type.Expr.Builder builderForValue) { - if (denialConditionBuilder_ == null) { - denialCondition_ = builderForValue.build(); - onChanged(); - } else { - denialConditionBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder mergeDenialCondition(com.google.type.Expr value) { - if (denialConditionBuilder_ == null) { - if (denialCondition_ != null) { - denialCondition_ = - com.google.type.Expr.newBuilder(denialCondition_).mergeFrom(value).buildPartial(); - } else { - denialCondition_ = value; - } - onChanged(); - } else { - denialConditionBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public Builder clearDenialCondition() { - if (denialConditionBuilder_ == null) { - denialCondition_ = null; - onChanged(); - } else { - denialCondition_ = null; - denialConditionBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public com.google.type.Expr.Builder getDenialConditionBuilder() { - - onChanged(); - return getDenialConditionFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - public com.google.type.ExprOrBuilder getDenialConditionOrBuilder() { - if (denialConditionBuilder_ != null) { - return denialConditionBuilder_.getMessageOrBuilder(); - } else { - return denialCondition_ == null - ? com.google.type.Expr.getDefaultInstance() - : denialCondition_; - } - } - /** - * - * - *
    -     * 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
    -     * functions and operators are not supported.
    -     * 
    - * - * .google.type.Expr denial_condition = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder> - getDenialConditionFieldBuilder() { - if (denialConditionBuilder_ == null) { - denialConditionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Expr, com.google.type.Expr.Builder, com.google.type.ExprOrBuilder>( - getDenialCondition(), getParentForChildren(), isClean()); - denialCondition_ = null; - } - return denialConditionBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.DenyRule) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.DenyRule) - private static final com.google.iam.v2beta.DenyRule DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.DenyRule(); - } - - public static com.google.iam.v2beta.DenyRule getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DenyRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.DenyRule getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 30258206ce27..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleOrBuilder.java +++ /dev/null @@ -1,468 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/deny.proto - -package com.google.iam.v2beta; - -public interface DenyRuleOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.DenyRule) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return A list containing the deniedPrincipals. - */ - java.util.List 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @return The count of deniedPrincipals. - */ - 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the element to return. - * @return The deniedPrincipals at the given index. - */ - 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,
    -   *   `principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
    -   * 
    - * - * repeated string denied_principals = 1; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPrincipals at the given index. - */ - com.google.protobuf.ByteString getDeniedPrincipalsBytes(int index); - - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return A list containing the exceptionPrincipals. - */ - java.util.List getExceptionPrincipalsList(); - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @return The count of exceptionPrincipals. - */ - int getExceptionPrincipalsCount(); - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the element to return. - * @return The exceptionPrincipals at the given index. - */ - java.lang.String getExceptionPrincipals(int index); - /** - * - * - *
    -   * The identities that are excluded from the deny rule, even if they are
    -   * 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.
    -   * 
    - * - * repeated string exception_principals = 2; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPrincipals at the given index. - */ - com.google.protobuf.ByteString getExceptionPrincipalsBytes(int index); - - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return A list containing the deniedPermissions. - */ - java.util.List getDeniedPermissionsList(); - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @return The count of deniedPermissions. - */ - int getDeniedPermissionsCount(); - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the element to return. - * @return The deniedPermissions at the given index. - */ - java.lang.String getDeniedPermissions(int index); - /** - * - * - *
    -   * The permissions that are explicitly denied by this rule. Each permission
    -   * uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}`
    -   * is the fully qualified domain name for the service. For example,
    -   * `iam.googleapis.com/roles.list`.
    -   * 
    - * - * repeated string denied_permissions = 3; - * - * @param index The index of the value to return. - * @return The bytes of the deniedPermissions at the given index. - */ - com.google.protobuf.ByteString getDeniedPermissionsBytes(int index); - - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return A list containing the exceptionPermissions. - */ - java.util.List getExceptionPermissionsList(); - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @return The count of exceptionPermissions. - */ - int getExceptionPermissionsCount(); - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the element to return. - * @return The exceptionPermissions at the given index. - */ - java.lang.String getExceptionPermissions(int index); - /** - * - * - *
    -   * Specifies the permissions that this rule excludes from the set of denied
    -   * 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`.
    -   * 
    - * - * repeated string exception_permissions = 4; - * - * @param index The index of the value to return. - * @return The bytes of the exceptionPermissions at the given index. - */ - 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return Whether the denialCondition field is set. - */ - 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - * - * @return The denialCondition. - */ - 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
    -   * functions and operators are not supported.
    -   * 
    - * - * .google.type.Expr denial_condition = 5; - */ - com.google.type.ExprOrBuilder getDenialConditionOrBuilder(); -} diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java deleted file mode 100644 index ef77af915a10..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/DenyRuleProto.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/deny.proto - -package com.google.iam.v2beta; - -public final class DenyRuleProto { - private DenyRuleProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_DenyRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\034google/iam/v2beta/deny.proto\022\021google.i" - + "am.v2beta\032\026google/type/expr.proto\"\253\001\n\010De" - + "nyRule\022\031\n\021denied_principals\030\001 \003(\t\022\034\n\024exc" - + "eption_principals\030\002 \003(\t\022\032\n\022denied_permis" - + "sions\030\003 \003(\t\022\035\n\025exception_permissions\030\004 \003" - + "(\t\022+\n\020denial_condition\030\005 \001(\0132\021.google.ty" - + "pe.ExprB\222\001\n\025com.google.iam.v2betaB\rDenyR" - + "uleProtoP\001Z4google.golang.org/genproto/g" - + "oogleapis/iam/v2beta;iam\252\002\027Google.Cloud." - + "Iam.V2Beta\312\002\027Google\\Cloud\\Iam\\V2betab\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.type.ExprProto.getDescriptor(), - }); - internal_static_google_iam_v2beta_DenyRule_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v2beta_DenyRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_DenyRule_descriptor, - new java.lang.String[] { - "DeniedPrincipals", - "ExceptionPrincipals", - "DeniedPermissions", - "ExceptionPermissions", - "DenialCondition", - }); - com.google.type.ExprProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index b579600e9134..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequest.java +++ /dev/null @@ -1,655 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Request message for `GetPolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.GetPolicyRequest} - */ -public final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.GetPolicyRequest) - GetPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use GetPolicyRequest.newBuilder() to construct. - private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private GetPolicyRequest() { - name_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.GetPolicyRequest.class, - com.google.iam.v2beta.GetPolicyRequest.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.GetPolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2beta.GetPolicyRequest other = (com.google.iam.v2beta.GetPolicyRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.GetPolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `GetPolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.GetPolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.GetPolicyRequest) - com.google.iam.v2beta.GetPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.GetPolicyRequest.class, - com.google.iam.v2beta.GetPolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2beta.GetPolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.GetPolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2beta.GetPolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.GetPolicyRequest build() { - com.google.iam.v2beta.GetPolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.GetPolicyRequest buildPartial() { - com.google.iam.v2beta.GetPolicyRequest result = - new com.google.iam.v2beta.GetPolicyRequest(this); - result.name_ = name_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.GetPolicyRequest) { - return mergeFrom((com.google.iam.v2beta.GetPolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.GetPolicyRequest other) { - if (other == com.google.iam.v2beta.GetPolicyRequest.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object name_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.GetPolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.GetPolicyRequest) - private static final com.google.iam.v2beta.GetPolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.GetPolicyRequest(); - } - - public static com.google.iam.v2beta.GetPolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.GetPolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index def786214b96..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/GetPolicyRequestOrBuilder.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface GetPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.GetPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The name. - */ - 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} 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 deleted file mode 100644 index c66f7d36cd79..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequest.java +++ /dev/null @@ -1,950 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Request message for `ListPolicies`.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.ListPoliciesRequest} - */ -public final class ListPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.ListPoliciesRequest) - ListPoliciesRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListPoliciesRequest.newBuilder() to construct. - private ListPoliciesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListPoliciesRequest() { - parent_ = ""; - pageToken_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.ListPoliciesRequest.class, - com.google.iam.v2beta.ListPoliciesRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - private volatile java.lang.Object parent_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PAGE_SIZE_FIELD_NUMBER = 2; - private int pageSize_; - /** - * - * - *
    -   * The maximum number of policies to return. IAM ignores this value and uses
    -   * the value 1000.
    -   * 
    - * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - private volatile java.lang.Object pageToken_; - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - @java.lang.Override - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } - } - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); - } - if (pageSize_ != 0) { - output.writeInt32(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.ListPoliciesRequest)) { - return super.equals(obj); - } - com.google.iam.v2beta.ListPoliciesRequest other = - (com.google.iam.v2beta.ListPoliciesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPageSize(); - hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.ListPoliciesRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.ListPoliciesRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `ListPolicies`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.ListPoliciesRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.ListPoliciesRequest) - com.google.iam.v2beta.ListPoliciesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.ListPoliciesRequest.class, - com.google.iam.v2beta.ListPoliciesRequest.Builder.class); - } - - // Construct using com.google.iam.v2beta.ListPoliciesRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - parent_ = ""; - - pageSize_ = 0; - - pageToken_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesRequest getDefaultInstanceForType() { - return com.google.iam.v2beta.ListPoliciesRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesRequest build() { - com.google.iam.v2beta.ListPoliciesRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesRequest buildPartial() { - com.google.iam.v2beta.ListPoliciesRequest result = - new com.google.iam.v2beta.ListPoliciesRequest(this); - result.parent_ = parent_; - result.pageSize_ = pageSize_; - result.pageToken_ = pageToken_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.ListPoliciesRequest) { - return mergeFrom((com.google.iam.v2beta.ListPoliciesRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.ListPoliciesRequest other) { - if (other == com.google.iam.v2beta.ListPoliciesRequest.getDefaultInstance()) return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - onChanged(); - } - if (other.getPageSize() != 0) { - setPageSize(other.getPageSize()); - } - if (!other.getPageToken().isEmpty()) { - pageToken_ = other.pageToken_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private java.lang.Object parent_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - public com.google.protobuf.ByteString getParentBytes() { - java.lang.Object ref = parent_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The parent to set. - * @return This builder for chaining. - */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - parent_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return This builder for chaining. - */ - public Builder clearParent() { - - parent_ = getDefaultInstance().getParent(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @param value The bytes for parent to set. - * @return This builder for chaining. - */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - parent_ = value; - onChanged(); - return this; - } - - private int pageSize_; - /** - * - * - *
    -     * The maximum number of policies to return. IAM ignores this value and uses
    -     * the value 1000.
    -     * 
    - * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - /** - * - * - *
    -     * The maximum number of policies to return. IAM ignores this value and uses
    -     * the value 1000.
    -     * 
    - * - * int32 page_size = 2; - * - * @param value The pageSize to set. - * @return This builder for chaining. - */ - public Builder setPageSize(int value) { - - pageSize_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * The maximum number of policies to return. IAM ignores this value and uses
    -     * the value 1000.
    -     * 
    - * - * int32 page_size = 2; - * - * @return This builder for chaining. - */ - public Builder clearPageSize() { - - pageSize_ = 0; - onChanged(); - return this; - } - - private java.lang.Object pageToken_ = ""; - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - public com.google.protobuf.ByteString getPageTokenBytes() { - java.lang.Object ref = pageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @param value The pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - pageToken_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @return This builder for chaining. - */ - public Builder clearPageToken() { - - pageToken_ = getDefaultInstance().getPageToken(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -     * retrieve the next page.
    -     * 
    - * - * string page_token = 3; - * - * @param value The bytes for pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - pageToken_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.ListPoliciesRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.ListPoliciesRequest) - private static final com.google.iam.v2beta.ListPoliciesRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.ListPoliciesRequest(); - } - - public static com.google.iam.v2beta.ListPoliciesRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPoliciesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 3090b5024348..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesRequestOrBuilder.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface ListPoliciesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.ListPoliciesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The parent. - */ - 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.
    -   * 
    - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
    -   * The maximum number of policies to return. IAM ignores this value and uses
    -   * the value 1000.
    -   * 
    - * - * int32 page_size = 2; - * - * @return The pageSize. - */ - int getPageSize(); - - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - /** - * - * - *
    -   * A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to
    -   * retrieve the next page.
    -   * 
    - * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); -} 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 deleted file mode 100644 index b7559c504544..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponse.java +++ /dev/null @@ -1,1106 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Response message for `ListPolicies`.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.ListPoliciesResponse} - */ -public final class ListPoliciesResponse extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.ListPoliciesResponse) - ListPoliciesResponseOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListPoliciesResponse.newBuilder() to construct. - private ListPoliciesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListPoliciesResponse() { - policies_ = java.util.Collections.emptyList(); - nextPageToken_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.ListPoliciesResponse.class, - com.google.iam.v2beta.ListPoliciesResponse.Builder.class); - } - - public static final int POLICIES_FIELD_NUMBER = 1; - private java.util.List policies_; - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - @java.lang.Override - public java.util.List getPoliciesList() { - return policies_; - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - @java.lang.Override - public java.util.List - getPoliciesOrBuilderList() { - return policies_; - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - @java.lang.Override - public int getPoliciesCount() { - return policies_.size(); - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - @java.lang.Override - public com.google.iam.v2beta.Policy getPolicies(int index) { - return policies_.get(index); - } - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - @java.lang.Override - public com.google.iam.v2beta.PolicyOrBuilder getPoliciesOrBuilder(int index) { - return policies_.get(index); - } - - public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - private volatile java.lang.Object nextPageToken_; - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - @java.lang.Override - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } - } - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < policies_.size(); i++) { - output.writeMessage(1, policies_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < policies_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, policies_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.ListPoliciesResponse)) { - return super.equals(obj); - } - com.google.iam.v2beta.ListPoliciesResponse other = - (com.google.iam.v2beta.ListPoliciesResponse) obj; - - if (!getPoliciesList().equals(other.getPoliciesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getPoliciesCount() > 0) { - hash = (37 * hash) + POLICIES_FIELD_NUMBER; - hash = (53 * hash) + getPoliciesList().hashCode(); - } - hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getNextPageToken().hashCode(); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.ListPoliciesResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.ListPoliciesResponse prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Response message for `ListPolicies`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.ListPoliciesResponse} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.ListPoliciesResponse) - com.google.iam.v2beta.ListPoliciesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.ListPoliciesResponse.class, - com.google.iam.v2beta.ListPoliciesResponse.Builder.class); - } - - // Construct using com.google.iam.v2beta.ListPoliciesResponse.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (policiesBuilder_ == null) { - policies_ = java.util.Collections.emptyList(); - } else { - policies_ = null; - policiesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - nextPageToken_ = ""; - - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesResponse getDefaultInstanceForType() { - return com.google.iam.v2beta.ListPoliciesResponse.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesResponse build() { - com.google.iam.v2beta.ListPoliciesResponse result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesResponse buildPartial() { - com.google.iam.v2beta.ListPoliciesResponse result = - new com.google.iam.v2beta.ListPoliciesResponse(this); - int from_bitField0_ = bitField0_; - if (policiesBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - policies_ = java.util.Collections.unmodifiableList(policies_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.policies_ = policies_; - } else { - result.policies_ = policiesBuilder_.build(); - } - result.nextPageToken_ = nextPageToken_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.ListPoliciesResponse) { - return mergeFrom((com.google.iam.v2beta.ListPoliciesResponse) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.ListPoliciesResponse other) { - if (other == com.google.iam.v2beta.ListPoliciesResponse.getDefaultInstance()) return this; - if (policiesBuilder_ == null) { - if (!other.policies_.isEmpty()) { - if (policies_.isEmpty()) { - policies_ = other.policies_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensurePoliciesIsMutable(); - policies_.addAll(other.policies_); - } - onChanged(); - } - } else { - if (!other.policies_.isEmpty()) { - if (policiesBuilder_.isEmpty()) { - policiesBuilder_.dispose(); - policiesBuilder_ = null; - policies_ = other.policies_; - bitField0_ = (bitField0_ & ~0x00000001); - policiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPoliciesFieldBuilder() - : null; - } else { - policiesBuilder_.addAllMessages(other.policies_); - } - } - } - if (!other.getNextPageToken().isEmpty()) { - nextPageToken_ = other.nextPageToken_; - onChanged(); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.iam.v2beta.Policy m = - input.readMessage(com.google.iam.v2beta.Policy.parser(), extensionRegistry); - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(m); - } else { - policiesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List policies_ = - java.util.Collections.emptyList(); - - private void ensurePoliciesIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - policies_ = new java.util.ArrayList(policies_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder> - policiesBuilder_; - - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public java.util.List getPoliciesList() { - if (policiesBuilder_ == null) { - return java.util.Collections.unmodifiableList(policies_); - } else { - return policiesBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public int getPoliciesCount() { - if (policiesBuilder_ == null) { - return policies_.size(); - } else { - return policiesBuilder_.getCount(); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public com.google.iam.v2beta.Policy getPolicies(int index) { - if (policiesBuilder_ == null) { - return policies_.get(index); - } else { - return policiesBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder setPolicies(int index, com.google.iam.v2beta.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.set(index, value); - onChanged(); - } else { - policiesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder setPolicies(int index, com.google.iam.v2beta.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.set(index, builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder addPolicies(com.google.iam.v2beta.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.add(value); - onChanged(); - } else { - policiesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder addPolicies(int index, com.google.iam.v2beta.Policy value) { - if (policiesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensurePoliciesIsMutable(); - policies_.add(index, value); - onChanged(); - } else { - policiesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder addPolicies(com.google.iam.v2beta.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder addPolicies(int index, com.google.iam.v2beta.Policy.Builder builderForValue) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.add(index, builderForValue.build()); - onChanged(); - } else { - policiesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder addAllPolicies( - java.lang.Iterable values) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, policies_); - onChanged(); - } else { - policiesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder clearPolicies() { - if (policiesBuilder_ == null) { - policies_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - policiesBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public Builder removePolicies(int index) { - if (policiesBuilder_ == null) { - ensurePoliciesIsMutable(); - policies_.remove(index); - onChanged(); - } else { - policiesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public com.google.iam.v2beta.Policy.Builder getPoliciesBuilder(int index) { - return getPoliciesFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public com.google.iam.v2beta.PolicyOrBuilder getPoliciesOrBuilder(int index) { - if (policiesBuilder_ == null) { - return policies_.get(index); - } else { - return policiesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public java.util.List - getPoliciesOrBuilderList() { - if (policiesBuilder_ != null) { - return policiesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(policies_); - } - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public com.google.iam.v2beta.Policy.Builder addPoliciesBuilder() { - return getPoliciesFieldBuilder() - .addBuilder(com.google.iam.v2beta.Policy.getDefaultInstance()); - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public com.google.iam.v2beta.Policy.Builder addPoliciesBuilder(int index) { - return getPoliciesFieldBuilder() - .addBuilder(index, com.google.iam.v2beta.Policy.getDefaultInstance()); - } - /** - * - * - *
    -     * Metadata for the policies that are attached to the resource.
    -     * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - public java.util.List getPoliciesBuilderList() { - return getPoliciesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder> - getPoliciesFieldBuilder() { - if (policiesBuilder_ == null) { - policiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder>( - policies_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - policies_ = null; - } - return policiesBuilder_; - } - - private java.lang.Object nextPageToken_ = ""; - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - public java.lang.String getNextPageToken() { - java.lang.Object ref = nextPageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - nextPageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { - java.lang.Object ref = nextPageToken_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nextPageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @param value The nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - nextPageToken_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @return This builder for chaining. - */ - public Builder clearNextPageToken() { - - nextPageToken_ = getDefaultInstance().getNextPageToken(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -     * next page. If this field is omitted, there are no additional pages.
    -     * 
    - * - * string next_page_token = 2; - * - * @param value The bytes for nextPageToken to set. - * @return This builder for chaining. - */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - nextPageToken_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.ListPoliciesResponse) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.ListPoliciesResponse) - private static final com.google.iam.v2beta.ListPoliciesResponse DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.ListPoliciesResponse(); - } - - public static com.google.iam.v2beta.ListPoliciesResponse getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPoliciesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.ListPoliciesResponse getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java deleted file mode 100644 index 51d88d35e064..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/ListPoliciesResponseOrBuilder.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface ListPoliciesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.ListPoliciesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - java.util.List getPoliciesList(); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - com.google.iam.v2beta.Policy getPolicies(int index); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - int getPoliciesCount(); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - java.util.List getPoliciesOrBuilderList(); - /** - * - * - *
    -   * Metadata for the policies that are attached to the resource.
    -   * 
    - * - * repeated .google.iam.v2beta.Policy policies = 1; - */ - com.google.iam.v2beta.PolicyOrBuilder getPoliciesOrBuilder(int index); - - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
    -   * A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the
    -   * next page. If this field is omitted, there are no additional pages.
    -   * 
    - * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} 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 deleted file mode 100644 index a2e1a8b7dcdc..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/Policy.java +++ /dev/null @@ -1,3111 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Data for an IAM policy.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.Policy} - */ -public final class Policy extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.Policy) - PolicyOrBuilder { - private static final long serialVersionUID = 0L; - // Use Policy.newBuilder() to construct. - private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Policy() { - name_ = ""; - uid_ = ""; - kind_ = ""; - displayName_ = ""; - etag_ = ""; - rules_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 5: - return internalGetAnnotations(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_Policy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.Policy.class, com.google.iam.v2beta.Policy.Builder.class); - } - - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int UID_FIELD_NUMBER = 2; - private volatile java.lang.Object uid_; - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The uid. - */ - @java.lang.Override - public java.lang.String getUid() { - java.lang.Object ref = uid_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uid_ = s; - return s; - } - } - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for uid. - */ - @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { - java.lang.Object ref = uid_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uid_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int KIND_FIELD_NUMBER = 3; - private volatile java.lang.Object kind_; - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - @java.lang.Override - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } - } - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DISPLAY_NAME_FIELD_NUMBER = 4; - private volatile java.lang.Object displayName_; - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The displayName. - */ - @java.lang.Override - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } - } - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The bytes for displayName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ANNOTATIONS_FIELD_NUMBER = 5; - - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField annotations_; - - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetAnnotations().getMap().containsKey(key); - } - /** Use {@link #getAnnotationsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public static final int ETAG_FIELD_NUMBER = 6; - private volatile java.lang.Object etag_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string etag = 6; - * - * @return The etag. - */ - @java.lang.Override - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string etag = 6; - * - * @return The bytes for etag. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CREATE_TIME_FIELD_NUMBER = 7; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return getCreateTime(); - } - - public static final int UPDATE_TIME_FIELD_NUMBER = 8; - private com.google.protobuf.Timestamp updateTime_; - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - @java.lang.Override - public boolean hasUpdateTime() { - return updateTime_ != null; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getUpdateTime() { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - return getUpdateTime(); - } - - public static final int DELETE_TIME_FIELD_NUMBER = 9; - private com.google.protobuf.Timestamp deleteTime_; - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the deleteTime field is set. - */ - @java.lang.Override - public boolean hasDeleteTime() { - return deleteTime_ != null; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The deleteTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getDeleteTime() { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; - } - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { - return getDeleteTime(); - } - - public static final int RULES_FIELD_NUMBER = 10; - private java.util.List rules_; - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - @java.lang.Override - public java.util.List getRulesList() { - return rules_; - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - @java.lang.Override - public java.util.List - getRulesOrBuilderList() { - return rules_; - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - @java.lang.Override - public int getRulesCount() { - return rules_.size(); - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - @java.lang.Override - public com.google.iam.v2beta.PolicyRule getRules(int index) { - return rules_.get(index); - } - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - @java.lang.Override - public com.google.iam.v2beta.PolicyRuleOrBuilder getRulesOrBuilder(int index) { - return rules_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kind_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, displayName_); - } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, etag_); - } - if (createTime_ != null) { - output.writeMessage(7, getCreateTime()); - } - if (updateTime_ != null) { - output.writeMessage(8, getUpdateTime()); - } - if (deleteTime_ != null) { - output.writeMessage(9, getDeleteTime()); - } - for (int i = 0; i < rules_.size(); i++) { - output.writeMessage(10, rules_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kind_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, displayName_); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, etag_); - } - if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); - } - if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); - } - if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeleteTime()); - } - for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, rules_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.Policy)) { - return super.equals(obj); - } - com.google.iam.v2beta.Policy other = (com.google.iam.v2beta.Policy) obj; - - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (!getKind().equals(other.getKind())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (hasCreateTime() != other.hasCreateTime()) return false; - if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; - } - if (hasUpdateTime() != other.hasUpdateTime()) return false; - if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (hasDeleteTime() != other.hasDeleteTime()) return false; - if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; - } - if (!getRulesList().equals(other.getRulesList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - hash = (37 * hash) + UID_FIELD_NUMBER; - hash = (53 * hash) + getUid().hashCode(); - hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + getKind().hashCode(); - hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; - hash = (53 * hash) + getDisplayName().hashCode(); - if (!internalGetAnnotations().getMap().isEmpty()) { - hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; - hash = (53 * hash) + internalGetAnnotations().hashCode(); - } - hash = (37 * hash) + ETAG_FIELD_NUMBER; - hash = (53 * hash) + getEtag().hashCode(); - if (hasCreateTime()) { - hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getCreateTime().hashCode(); - } - if (hasUpdateTime()) { - hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getUpdateTime().hashCode(); - } - if (hasDeleteTime()) { - hash = (37 * hash) + DELETE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getDeleteTime().hashCode(); - } - if (getRulesCount() > 0) { - hash = (37 * hash) + RULES_FIELD_NUMBER; - hash = (53 * hash) + getRulesList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.Policy parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.Policy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.Policy parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.Policy parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.Policy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.Policy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.Policy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.Policy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.Policy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.Policy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.Policy parseFrom(com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.Policy parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.Policy prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Data for an IAM policy.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.Policy} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.Policy) - com.google.iam.v2beta.PolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto.internal_static_google_iam_v2beta_Policy_descriptor; - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { - switch (number) { - case 5: - return internalGetAnnotations(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { - switch (number) { - case 5: - return internalGetMutableAnnotations(); - default: - throw new RuntimeException("Invalid map field number: " + number); - } - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_Policy_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.Policy.class, com.google.iam.v2beta.Policy.Builder.class); - } - - // Construct using com.google.iam.v2beta.Policy.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - - uid_ = ""; - - kind_ = ""; - - displayName_ = ""; - - internalGetMutableAnnotations().clear(); - etag_ = ""; - - if (createTimeBuilder_ == null) { - createTime_ = null; - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - if (updateTimeBuilder_ == null) { - updateTime_ = null; - } else { - updateTime_ = null; - updateTimeBuilder_ = null; - } - if (deleteTimeBuilder_ == null) { - deleteTime_ = null; - } else { - deleteTime_ = null; - deleteTimeBuilder_ = null; - } - if (rulesBuilder_ == null) { - rules_ = java.util.Collections.emptyList(); - } else { - rules_ = null; - rulesBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto.internal_static_google_iam_v2beta_Policy_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.Policy getDefaultInstanceForType() { - return com.google.iam.v2beta.Policy.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.Policy build() { - com.google.iam.v2beta.Policy result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.Policy buildPartial() { - com.google.iam.v2beta.Policy result = new com.google.iam.v2beta.Policy(this); - int from_bitField0_ = bitField0_; - result.name_ = name_; - result.uid_ = uid_; - result.kind_ = kind_; - result.displayName_ = displayName_; - result.annotations_ = internalGetAnnotations(); - result.annotations_.makeImmutable(); - result.etag_ = etag_; - if (createTimeBuilder_ == null) { - result.createTime_ = createTime_; - } else { - result.createTime_ = createTimeBuilder_.build(); - } - if (updateTimeBuilder_ == null) { - result.updateTime_ = updateTime_; - } else { - result.updateTime_ = updateTimeBuilder_.build(); - } - if (deleteTimeBuilder_ == null) { - result.deleteTime_ = deleteTime_; - } else { - result.deleteTime_ = deleteTimeBuilder_.build(); - } - if (rulesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - rules_ = java.util.Collections.unmodifiableList(rules_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.rules_ = rules_; - } else { - result.rules_ = rulesBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.Policy) { - return mergeFrom((com.google.iam.v2beta.Policy) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.Policy other) { - if (other == com.google.iam.v2beta.Policy.getDefaultInstance()) return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - onChanged(); - } - if (!other.getUid().isEmpty()) { - uid_ = other.uid_; - onChanged(); - } - if (!other.getKind().isEmpty()) { - kind_ = other.kind_; - onChanged(); - } - if (!other.getDisplayName().isEmpty()) { - displayName_ = other.displayName_; - onChanged(); - } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); - if (!other.getEtag().isEmpty()) { - etag_ = other.etag_; - onChanged(); - } - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - if (other.hasUpdateTime()) { - mergeUpdateTime(other.getUpdateTime()); - } - if (other.hasDeleteTime()) { - mergeDeleteTime(other.getDeleteTime()); - } - if (rulesBuilder_ == null) { - if (!other.rules_.isEmpty()) { - if (rules_.isEmpty()) { - rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureRulesIsMutable(); - rules_.addAll(other.rules_); - } - onChanged(); - } - } else { - if (!other.rules_.isEmpty()) { - if (rulesBuilder_.isEmpty()) { - rulesBuilder_.dispose(); - rulesBuilder_ = null; - rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000002); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; - } else { - rulesBuilder_.addAllMessages(other.rules_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - uid_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - kind_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - break; - } // case 42 - case 50: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 66: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 74: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - case 82: - { - com.google.iam.v2beta.PolicyRule m = - input.readMessage(com.google.iam.v2beta.PolicyRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - name_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object uid_ = ""; - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The uid. - */ - public java.lang.String getUid() { - java.lang.Object ref = uid_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - uid_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for uid. - */ - public com.google.protobuf.ByteString getUidBytes() { - java.lang.Object ref = uid_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - uid_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The uid to set. - * @return This builder for chaining. - */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - uid_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return This builder for chaining. - */ - public Builder clearUid() { - - uid_ = getDefaultInstance().getUid(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -     * `Policy` is created.
    -     * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @param value The bytes for uid to set. - * @return This builder for chaining. - */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - uid_ = value; - onChanged(); - return this; - } - - private java.lang.Object kind_ = ""; - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - public java.lang.String getKind() { - java.lang.Object ref = kind_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - kind_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - public com.google.protobuf.ByteString getKindBytes() { - java.lang.Object ref = kind_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - kind_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The kind to set. - * @return This builder for chaining. - */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - kind_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearKind() { - - kind_ = getDefaultInstance().getKind(); - onChanged(); - return this; - } - /** - * - * - *
    -     * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -     * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for kind to set. - * @return This builder for chaining. - */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - kind_ = value; - onChanged(); - return this; - } - - private java.lang.Object displayName_ = ""; - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @return The displayName. - */ - public java.lang.String getDisplayName() { - java.lang.Object ref = displayName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - displayName_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @return The bytes for displayName. - */ - public com.google.protobuf.ByteString getDisplayNameBytes() { - java.lang.Object ref = displayName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - displayName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @param value The displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - displayName_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @return This builder for chaining. - */ - public Builder clearDisplayName() { - - displayName_ = getDefaultInstance().getDisplayName(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the `Policy`. This value can be up to 63
    -     * characters.
    -     * 
    - * - * string display_name = 4; - * - * @param value The bytes for displayName to set. - * @return This builder for chaining. - */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - displayName_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.MapField annotations_; - - private com.google.protobuf.MapField - internalGetAnnotations() { - if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - } - return annotations_; - } - - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; - if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); - } - if (!annotations_.isMutable()) { - annotations_ = annotations_.copy(); - } - return annotations_; - } - - public int getAnnotationsCount() { - return internalGetAnnotations().getMap().size(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - return internalGetAnnotations().getMap().containsKey(key); - } - /** Use {@link #getAnnotationsMap()} instead. */ - @java.lang.Override - @java.lang.Deprecated - public java.util.Map getAnnotations() { - return getAnnotationsMap(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.util.Map getAnnotationsMap() { - return internalGetAnnotations().getMap(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); - } - - public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); - return this; - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); - return this; - } - /** Use alternate mutation accessors instead. */ - @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { - return internalGetMutableAnnotations().getMutableMap(); - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - - internalGetMutableAnnotations().getMutableMap().put(key, value); - return this; - } - /** - * - * - *
    -     * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -     * can be up to 63 characters. Values can be up to 255 characters.
    -     * 
    - * - * map<string, string> annotations = 5; - */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); - return this; - } - - private java.lang.Object etag_ = ""; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @return The etag. - */ - public java.lang.String getEtag() { - java.lang.Object ref = etag_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - etag_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @return The bytes for etag. - */ - public com.google.protobuf.ByteString getEtagBytes() { - java.lang.Object ref = etag_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - etag_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @param value The etag to set. - * @return This builder for chaining. - */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - etag_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @return This builder for chaining. - */ - public Builder clearEtag() { - - etag_ = getDefaultInstance().getEtag(); - onChanged(); - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * string etag = 6; - * - * @param value The bytes for etag to set. - * @return This builder for chaining. - */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - etag_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - public boolean hasCreateTime() { - return createTimeBuilder_ != null || createTime_ != null; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } else { - return createTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createTime_ = value; - onChanged(); - } else { - createTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); - onChanged(); - } else { - createTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (createTime_ != null) { - createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); - } else { - createTime_ = value; - } - onChanged(); - } else { - createTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearCreateTime() { - if (createTimeBuilder_ == null) { - createTime_ = null; - onChanged(); - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - - onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); - } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was created.
    -     * 
    - * - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; - } - return createTimeBuilder_; - } - - private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - public boolean hasUpdateTime() { - return updateTimeBuilder_ != null || updateTime_ != null; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - public com.google.protobuf.Timestamp getUpdateTime() { - if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; - } else { - return updateTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - updateTime_ = value; - onChanged(); - } else { - updateTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (updateTimeBuilder_ == null) { - updateTime_ = builderForValue.build(); - onChanged(); - } else { - updateTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { - if (updateTimeBuilder_ == null) { - if (updateTime_ != null) { - updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); - } else { - updateTime_ = value; - } - onChanged(); - } else { - updateTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearUpdateTime() { - if (updateTimeBuilder_ == null) { - updateTime_ = null; - onChanged(); - } else { - updateTime_ = null; - updateTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - - onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { - if (updateTimeBuilder_ != null) { - return updateTimeBuilder_.getMessageOrBuilder(); - } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was last updated.
    -     * 
    - * - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { - if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); - updateTime_ = null; - } - return updateTimeBuilder_; - } - - private com.google.protobuf.Timestamp deleteTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the deleteTime field is set. - */ - public boolean hasDeleteTime() { - return deleteTimeBuilder_ != null || deleteTime_ != null; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The deleteTime. - */ - public com.google.protobuf.Timestamp getDeleteTime() { - if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; - } else { - return deleteTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setDeleteTime(com.google.protobuf.Timestamp value) { - if (deleteTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - deleteTime_ = value; - onChanged(); - } else { - deleteTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (deleteTimeBuilder_ == null) { - deleteTime_ = builderForValue.build(); - onChanged(); - } else { - deleteTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { - if (deleteTimeBuilder_ == null) { - if (deleteTime_ != null) { - deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); - } else { - deleteTime_ = value; - } - onChanged(); - } else { - deleteTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearDeleteTime() { - if (deleteTimeBuilder_ == null) { - deleteTime_ = null; - onChanged(); - } else { - deleteTime_ = null; - deleteTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { - - onChanged(); - return getDeleteTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { - if (deleteTimeBuilder_ != null) { - return deleteTimeBuilder_.getMessageOrBuilder(); - } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; - } - } - /** - * - * - *
    -     * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -     * 
    - * - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getDeleteTimeFieldBuilder() { - if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); - deleteTime_ = null; - } - return deleteTimeBuilder_; - } - - private java.util.List rules_ = - java.util.Collections.emptyList(); - - private void ensureRulesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - rules_ = new java.util.ArrayList(rules_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2beta.PolicyRule, - com.google.iam.v2beta.PolicyRule.Builder, - com.google.iam.v2beta.PolicyRuleOrBuilder> - rulesBuilder_; - - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public java.util.List getRulesList() { - if (rulesBuilder_ == null) { - return java.util.Collections.unmodifiableList(rules_); - } else { - return rulesBuilder_.getMessageList(); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public int getRulesCount() { - if (rulesBuilder_ == null) { - return rules_.size(); - } else { - return rulesBuilder_.getCount(); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public com.google.iam.v2beta.PolicyRule getRules(int index) { - if (rulesBuilder_ == null) { - return rules_.get(index); - } else { - return rulesBuilder_.getMessage(index); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder setRules(int index, com.google.iam.v2beta.PolicyRule value) { - if (rulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRulesIsMutable(); - rules_.set(index, value); - onChanged(); - } else { - rulesBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder setRules(int index, com.google.iam.v2beta.PolicyRule.Builder builderForValue) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.set(index, builderForValue.build()); - onChanged(); - } else { - rulesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder addRules(com.google.iam.v2beta.PolicyRule value) { - if (rulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRulesIsMutable(); - rules_.add(value); - onChanged(); - } else { - rulesBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder addRules(int index, com.google.iam.v2beta.PolicyRule value) { - if (rulesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureRulesIsMutable(); - rules_.add(index, value); - onChanged(); - } else { - rulesBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder addRules(com.google.iam.v2beta.PolicyRule.Builder builderForValue) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(builderForValue.build()); - onChanged(); - } else { - rulesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder addRules(int index, com.google.iam.v2beta.PolicyRule.Builder builderForValue) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(index, builderForValue.build()); - onChanged(); - } else { - rulesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder addAllRules( - java.lang.Iterable values) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); - onChanged(); - } else { - rulesBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder clearRules() { - if (rulesBuilder_ == null) { - rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - rulesBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public Builder removeRules(int index) { - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.remove(index); - onChanged(); - } else { - rulesBuilder_.remove(index); - } - return this; - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public com.google.iam.v2beta.PolicyRule.Builder getRulesBuilder(int index) { - return getRulesFieldBuilder().getBuilder(index); - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public com.google.iam.v2beta.PolicyRuleOrBuilder getRulesOrBuilder(int index) { - if (rulesBuilder_ == null) { - return rules_.get(index); - } else { - return rulesBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public java.util.List - getRulesOrBuilderList() { - if (rulesBuilder_ != null) { - return rulesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(rules_); - } - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public com.google.iam.v2beta.PolicyRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.iam.v2beta.PolicyRule.getDefaultInstance()); - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public com.google.iam.v2beta.PolicyRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.iam.v2beta.PolicyRule.getDefaultInstance()); - } - /** - * - * - *
    -     * A list of rules that specify the behavior of the `Policy`. All of the rules
    -     * should be of the `kind` specified in the `Policy`.
    -     * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - public java.util.List getRulesBuilderList() { - return getRulesFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2beta.PolicyRule, - com.google.iam.v2beta.PolicyRule.Builder, - com.google.iam.v2beta.PolicyRuleOrBuilder> - getRulesFieldBuilder() { - if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.iam.v2beta.PolicyRule, - com.google.iam.v2beta.PolicyRule.Builder, - com.google.iam.v2beta.PolicyRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - rules_ = null; - } - return rulesBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.Policy) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.Policy) - private static final com.google.iam.v2beta.Policy DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.Policy(); - } - - public static com.google.iam.v2beta.Policy getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.Policy getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 766a87f7cb95..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadata.java +++ /dev/null @@ -1,698 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Metadata for long-running `Policy` operations.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.PolicyOperationMetadata} - */ -public final class PolicyOperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.PolicyOperationMetadata) - PolicyOperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; - // Use PolicyOperationMetadata.newBuilder() to construct. - private PolicyOperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PolicyOperationMetadata() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.PolicyOperationMetadata.class, - com.google.iam.v2beta.PolicyOperationMetadata.Builder.class); - } - - public static final int CREATE_TIME_FIELD_NUMBER = 1; - private com.google.protobuf.Timestamp createTime_; - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return Whether the createTime field is set. - */ - @java.lang.Override - public boolean hasCreateTime() { - return createTime_ != null; - } - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return The createTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getCreateTime() { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; - } - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - return getCreateTime(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (createTime_ != null) { - output.writeMessage(1, getCreateTime()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.PolicyOperationMetadata)) { - return super.equals(obj); - } - com.google.iam.v2beta.PolicyOperationMetadata other = - (com.google.iam.v2beta.PolicyOperationMetadata) obj; - - if (hasCreateTime() != other.hasCreateTime()) return false; - if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasCreateTime()) { - hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; - hash = (53 * hash) + getCreateTime().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.PolicyOperationMetadata prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Metadata for long-running `Policy` operations.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.PolicyOperationMetadata} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.PolicyOperationMetadata) - com.google.iam.v2beta.PolicyOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.PolicyOperationMetadata.class, - com.google.iam.v2beta.PolicyOperationMetadata.Builder.class); - } - - // Construct using com.google.iam.v2beta.PolicyOperationMetadata.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (createTimeBuilder_ == null) { - createTime_ = null; - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyOperationMetadata getDefaultInstanceForType() { - return com.google.iam.v2beta.PolicyOperationMetadata.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyOperationMetadata build() { - com.google.iam.v2beta.PolicyOperationMetadata result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyOperationMetadata buildPartial() { - com.google.iam.v2beta.PolicyOperationMetadata result = - new com.google.iam.v2beta.PolicyOperationMetadata(this); - if (createTimeBuilder_ == null) { - result.createTime_ = createTime_; - } else { - result.createTime_ = createTimeBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.PolicyOperationMetadata) { - return mergeFrom((com.google.iam.v2beta.PolicyOperationMetadata) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.PolicyOperationMetadata other) { - if (other == com.google.iam.v2beta.PolicyOperationMetadata.getDefaultInstance()) return this; - if (other.hasCreateTime()) { - mergeCreateTime(other.getCreateTime()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return Whether the createTime field is set. - */ - public boolean hasCreateTime() { - return createTimeBuilder_ != null || createTime_ != null; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return The createTime. - */ - public com.google.protobuf.Timestamp getCreateTime() { - if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } else { - return createTimeBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder setCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - createTime_ = value; - onChanged(); - } else { - createTimeBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (createTimeBuilder_ == null) { - createTime_ = builderForValue.build(); - onChanged(); - } else { - createTimeBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { - if (createTimeBuilder_ == null) { - if (createTime_ != null) { - createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); - } else { - createTime_ = value; - } - onChanged(); - } else { - createTimeBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public Builder clearCreateTime() { - if (createTimeBuilder_ == null) { - createTime_ = null; - onChanged(); - } else { - createTime_ = null; - createTimeBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - - onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { - if (createTimeBuilder_ != null) { - return createTimeBuilder_.getMessageOrBuilder(); - } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; - } - } - /** - * - * - *
    -     * Timestamp when the `google.longrunning.Operation` was created.
    -     * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { - if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); - createTime_ = null; - } - return createTimeBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.PolicyOperationMetadata) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.PolicyOperationMetadata) - private static final com.google.iam.v2beta.PolicyOperationMetadata DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.PolicyOperationMetadata(); - } - - public static com.google.iam.v2beta.PolicyOperationMetadata getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyOperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyOperationMetadata getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java b/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java deleted file mode 100644 index 11fc1dca82a7..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOperationMetadataOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface PolicyOperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.PolicyOperationMetadata) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return Whether the createTime field is set. - */ - boolean hasCreateTime(); - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - * - * @return The createTime. - */ - com.google.protobuf.Timestamp getCreateTime(); - /** - * - * - *
    -   * Timestamp when the `google.longrunning.Operation` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 1; - */ - com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); -} 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 deleted file mode 100644 index fdfbab339692..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyOrBuilder.java +++ /dev/null @@ -1,412 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface PolicyOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.Policy) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The name. - */ - 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.
    -   * 
    - * - * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The uid. - */ - java.lang.String getUid(); - /** - * - * - *
    -   * Immutable. The globally unique ID of the `Policy`. Assigned automatically when the
    -   * `Policy` is created.
    -   * 
    - * - * string uid = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * @return The bytes for uid. - */ - com.google.protobuf.ByteString getUidBytes(); - - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The kind. - */ - java.lang.String getKind(); - /** - * - * - *
    -   * Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
    -   * 
    - * - * string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for kind. - */ - com.google.protobuf.ByteString getKindBytes(); - - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The displayName. - */ - java.lang.String getDisplayName(); - /** - * - * - *
    -   * A user-specified description of the `Policy`. This value can be up to 63
    -   * characters.
    -   * 
    - * - * string display_name = 4; - * - * @return The bytes for displayName. - */ - com.google.protobuf.ByteString getDisplayNameBytes(); - - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - int getAnnotationsCount(); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ - @java.lang.Deprecated - java.util.Map getAnnotations(); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - java.util.Map getAnnotationsMap(); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - - /* nullable */ - java.lang.String getAnnotationsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - /** - * - * - *
    -   * A key-value map to store arbitrary metadata for the `Policy`. Keys
    -   * can be up to 63 characters. Values can be up to 255 characters.
    -   * 
    - * - * map<string, string> annotations = 5; - */ - 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.
    -   * 
    - * - * string etag = 6; - * - * @return The etag. - */ - 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.
    -   * 
    - * - * string etag = 6; - * - * @return The bytes for etag. - */ - com.google.protobuf.ByteString getEtagBytes(); - - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the createTime field is set. - */ - boolean hasCreateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The createTime. - */ - com.google.protobuf.Timestamp getCreateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was created.
    -   * 
    - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); - - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the updateTime field is set. - */ - boolean hasUpdateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The updateTime. - */ - com.google.protobuf.Timestamp getUpdateTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was last updated.
    -   * 
    - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the deleteTime field is set. - */ - boolean hasDeleteTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The deleteTime. - */ - com.google.protobuf.Timestamp getDeleteTime(); - /** - * - * - *
    -   * Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
    -   * 
    - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); - - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - java.util.List getRulesList(); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - com.google.iam.v2beta.PolicyRule getRules(int index); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - int getRulesCount(); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - java.util.List getRulesOrBuilderList(); - /** - * - * - *
    -   * A list of rules that specify the behavior of the `Policy`. All of the rules
    -   * should be of the `kind` specified in the `Policy`.
    -   * 
    - * - * repeated .google.iam.v2beta.PolicyRule rules = 10; - */ - com.google.iam.v2beta.PolicyRuleOrBuilder getRulesOrBuilder(int index); -} 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 deleted file mode 100644 index fd7363e93191..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyProto.java +++ /dev/null @@ -1,257 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public final class PolicyProto { - private PolicyProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_Policy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_Policy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_Policy_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_PolicyRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_GetPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\036google/iam/v2beta/policy.proto\022\021google" - + ".iam.v2beta\032\034google/api/annotations.prot" - + "o\032\027google/api/client.proto\032\037google/api/f" - + "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\220\001\n\025c" - + "om.google.iam.v2betaB\013PolicyProtoP\001Z4goo" - + "gle.golang.org/genproto/googleapis/iam/v" - + "2beta;iam\252\002\027Google.Cloud.Iam.V2Beta\312\002\027Go" - + "ogle\\Cloud\\Iam\\V2betab\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.iam.v2beta.DenyRuleProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_iam_v2beta_Policy_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_iam_v2beta_Policy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_Policy_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Kind", - "DisplayName", - "Annotations", - "Etag", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Rules", - }); - internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor = - internal_static_google_iam_v2beta_Policy_descriptor.getNestedTypes().get(0); - internal_static_google_iam_v2beta_Policy_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_Policy_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_iam_v2beta_PolicyRule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_PolicyRule_descriptor, - new java.lang.String[] { - "DenyRule", "Description", "Kind", - }); - internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_iam_v2beta_ListPoliciesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_ListPoliciesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_iam_v2beta_ListPoliciesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_ListPoliciesResponse_descriptor, - new java.lang.String[] { - "Policies", "NextPageToken", - }); - internal_static_google_iam_v2beta_GetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_iam_v2beta_GetPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_GetPolicyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_iam_v2beta_CreatePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_CreatePolicyRequest_descriptor, - new java.lang.String[] { - "Parent", "Policy", "PolicyId", - }); - internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor, - new java.lang.String[] { - "Policy", - }); - internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_iam_v2beta_DeletePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_DeletePolicyRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_iam_v2beta_PolicyOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_iam_v2beta_PolicyOperationMetadata_descriptor, - new java.lang.String[] { - "CreateTime", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.iam.v2beta.DenyRuleProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 27084c7ca398..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRule.java +++ /dev/null @@ -1,985 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * A single rule in a `Policy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.PolicyRule} - */ -public final class PolicyRule extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.PolicyRule) - PolicyRuleOrBuilder { - private static final long serialVersionUID = 0L; - // Use PolicyRule.newBuilder() to construct. - private PolicyRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PolicyRule() { - description_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.PolicyRule.class, com.google.iam.v2beta.PolicyRule.Builder.class); - } - - private int kindCase_ = 0; - private java.lang.Object kind_; - - public enum KindCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - DENY_RULE(2), - KIND_NOT_SET(0); - private final int value; - - private KindCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static KindCase valueOf(int value) { - return forNumber(value); - } - - public static KindCase forNumber(int value) { - switch (value) { - case 2: - return DENY_RULE; - case 0: - return KIND_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); - } - - public static final int DENY_RULE_FIELD_NUMBER = 2; - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - * - * @return Whether the denyRule field is set. - */ - @java.lang.Override - public boolean hasDenyRule() { - return kindCase_ == 2; - } - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - * - * @return The denyRule. - */ - @java.lang.Override - public com.google.iam.v2beta.DenyRule getDenyRule() { - if (kindCase_ == 2) { - return (com.google.iam.v2beta.DenyRule) kind_; - } - return com.google.iam.v2beta.DenyRule.getDefaultInstance(); - } - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - @java.lang.Override - public com.google.iam.v2beta.DenyRuleOrBuilder getDenyRuleOrBuilder() { - if (kindCase_ == 2) { - return (com.google.iam.v2beta.DenyRule) kind_; - } - return com.google.iam.v2beta.DenyRule.getDefaultInstance(); - } - - public static final int DESCRIPTION_FIELD_NUMBER = 1; - private volatile java.lang.Object description_; - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } - } - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); - } - if (kindCase_ == 2) { - output.writeMessage(2, (com.google.iam.v2beta.DenyRule) kind_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); - } - if (kindCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.iam.v2beta.DenyRule) kind_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.PolicyRule)) { - return super.equals(obj); - } - com.google.iam.v2beta.PolicyRule other = (com.google.iam.v2beta.PolicyRule) obj; - - if (!getDescription().equals(other.getDescription())) return false; - if (!getKindCase().equals(other.getKindCase())) return false; - switch (kindCase_) { - case 2: - if (!getDenyRule().equals(other.getDenyRule())) return false; - break; - case 0: - default: - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - switch (kindCase_) { - case 2: - hash = (37 * hash) + DENY_RULE_FIELD_NUMBER; - hash = (53 * hash) + getDenyRule().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.PolicyRule parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.PolicyRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.PolicyRule parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.PolicyRule prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * A single rule in a `Policy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.PolicyRule} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.PolicyRule) - com.google.iam.v2beta.PolicyRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyRule_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyRule_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.PolicyRule.class, - com.google.iam.v2beta.PolicyRule.Builder.class); - } - - // Construct using com.google.iam.v2beta.PolicyRule.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (denyRuleBuilder_ != null) { - denyRuleBuilder_.clear(); - } - description_ = ""; - - kindCase_ = 0; - kind_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_PolicyRule_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyRule getDefaultInstanceForType() { - return com.google.iam.v2beta.PolicyRule.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyRule build() { - com.google.iam.v2beta.PolicyRule result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyRule buildPartial() { - com.google.iam.v2beta.PolicyRule result = new com.google.iam.v2beta.PolicyRule(this); - if (kindCase_ == 2) { - if (denyRuleBuilder_ == null) { - result.kind_ = kind_; - } else { - result.kind_ = denyRuleBuilder_.build(); - } - } - result.description_ = description_; - result.kindCase_ = kindCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.PolicyRule) { - return mergeFrom((com.google.iam.v2beta.PolicyRule) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.PolicyRule other) { - if (other == com.google.iam.v2beta.PolicyRule.getDefaultInstance()) return this; - if (!other.getDescription().isEmpty()) { - description_ = other.description_; - onChanged(); - } - switch (other.getKindCase()) { - case DENY_RULE: - { - mergeDenyRule(other.getDenyRule()); - break; - } - case KIND_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getDenyRuleFieldBuilder().getBuilder(), extensionRegistry); - kindCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int kindCase_ = 0; - private java.lang.Object kind_; - - public KindCase getKindCase() { - return KindCase.forNumber(kindCase_); - } - - public Builder clearKind() { - kindCase_ = 0; - kind_ = null; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.DenyRule, - com.google.iam.v2beta.DenyRule.Builder, - com.google.iam.v2beta.DenyRuleOrBuilder> - denyRuleBuilder_; - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - * - * @return Whether the denyRule field is set. - */ - @java.lang.Override - public boolean hasDenyRule() { - return kindCase_ == 2; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - * - * @return The denyRule. - */ - @java.lang.Override - public com.google.iam.v2beta.DenyRule getDenyRule() { - if (denyRuleBuilder_ == null) { - if (kindCase_ == 2) { - return (com.google.iam.v2beta.DenyRule) kind_; - } - return com.google.iam.v2beta.DenyRule.getDefaultInstance(); - } else { - if (kindCase_ == 2) { - return denyRuleBuilder_.getMessage(); - } - return com.google.iam.v2beta.DenyRule.getDefaultInstance(); - } - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - public Builder setDenyRule(com.google.iam.v2beta.DenyRule value) { - if (denyRuleBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - onChanged(); - } else { - denyRuleBuilder_.setMessage(value); - } - kindCase_ = 2; - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - public Builder setDenyRule(com.google.iam.v2beta.DenyRule.Builder builderForValue) { - if (denyRuleBuilder_ == null) { - kind_ = builderForValue.build(); - onChanged(); - } else { - denyRuleBuilder_.setMessage(builderForValue.build()); - } - kindCase_ = 2; - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - public Builder mergeDenyRule(com.google.iam.v2beta.DenyRule value) { - if (denyRuleBuilder_ == null) { - if (kindCase_ == 2 && kind_ != com.google.iam.v2beta.DenyRule.getDefaultInstance()) { - kind_ = - com.google.iam.v2beta.DenyRule.newBuilder((com.google.iam.v2beta.DenyRule) kind_) - .mergeFrom(value) - .buildPartial(); - } else { - kind_ = value; - } - onChanged(); - } else { - if (kindCase_ == 2) { - denyRuleBuilder_.mergeFrom(value); - } else { - denyRuleBuilder_.setMessage(value); - } - } - kindCase_ = 2; - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - public Builder clearDenyRule() { - if (denyRuleBuilder_ == null) { - if (kindCase_ == 2) { - kindCase_ = 0; - kind_ = null; - onChanged(); - } - } else { - if (kindCase_ == 2) { - kindCase_ = 0; - kind_ = null; - } - denyRuleBuilder_.clear(); - } - return this; - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - public com.google.iam.v2beta.DenyRule.Builder getDenyRuleBuilder() { - return getDenyRuleFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - @java.lang.Override - public com.google.iam.v2beta.DenyRuleOrBuilder getDenyRuleOrBuilder() { - if ((kindCase_ == 2) && (denyRuleBuilder_ != null)) { - return denyRuleBuilder_.getMessageOrBuilder(); - } else { - if (kindCase_ == 2) { - return (com.google.iam.v2beta.DenyRule) kind_; - } - return com.google.iam.v2beta.DenyRule.getDefaultInstance(); - } - } - /** - * - * - *
    -     * A rule for a deny policy.
    -     * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.DenyRule, - com.google.iam.v2beta.DenyRule.Builder, - com.google.iam.v2beta.DenyRuleOrBuilder> - getDenyRuleFieldBuilder() { - if (denyRuleBuilder_ == null) { - if (!(kindCase_ == 2)) { - kind_ = com.google.iam.v2beta.DenyRule.getDefaultInstance(); - } - denyRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.DenyRule, - com.google.iam.v2beta.DenyRule.Builder, - com.google.iam.v2beta.DenyRuleOrBuilder>( - (com.google.iam.v2beta.DenyRule) kind_, getParentForChildren(), isClean()); - kind_ = null; - } - kindCase_ = 2; - onChanged(); - ; - return denyRuleBuilder_; - } - - private java.lang.Object description_ = ""; - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - description_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @param value The description to set. - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - description_ = value; - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - * - * - *
    -     * A user-specified description of the rule. This value can be up to 256
    -     * characters.
    -     * 
    - * - * string description = 1; - * - * @param value The bytes for description to set. - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - description_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.PolicyRule) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.PolicyRule) - private static final com.google.iam.v2beta.PolicyRule DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.PolicyRule(); - } - - public static com.google.iam.v2beta.PolicyRule getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PolicyRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.PolicyRule getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index 1c71f86bffcf..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PolicyRuleOrBuilder.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface PolicyRuleOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.PolicyRule) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - * - * @return Whether the denyRule field is set. - */ - boolean hasDenyRule(); - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - * - * @return The denyRule. - */ - com.google.iam.v2beta.DenyRule getDenyRule(); - /** - * - * - *
    -   * A rule for a deny policy.
    -   * 
    - * - * .google.iam.v2beta.DenyRule deny_rule = 2; - */ - com.google.iam.v2beta.DenyRuleOrBuilder getDenyRuleOrBuilder(); - - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The description. - */ - java.lang.String getDescription(); - /** - * - * - *
    -   * A user-specified description of the rule. This value can be up to 256
    -   * characters.
    -   * 
    - * - * string description = 1; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - public 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 deleted file mode 100644 index 95eabcdd8ba9..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequest.java +++ /dev/null @@ -1,730 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -/** - * - * - *
    - * Request message for `UpdatePolicy`.
    - * 
    - * - * Protobuf type {@code google.iam.v2beta.UpdatePolicyRequest} - */ -public final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.iam.v2beta.UpdatePolicyRequest) - UpdatePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use UpdatePolicyRequest.newBuilder() to construct. - private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private UpdatePolicyRequest() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.UpdatePolicyRequest.class, - com.google.iam.v2beta.UpdatePolicyRequest.Builder.class); - } - - public static final int POLICY_FIELD_NUMBER = 1; - private com.google.iam.v2beta.Policy policy_; - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - @java.lang.Override - public boolean hasPolicy() { - return policy_ != null; - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - @java.lang.Override - public com.google.iam.v2beta.Policy getPolicy() { - return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; - } - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - @java.lang.Override - public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { - return getPolicy(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (policy_ != null) { - output.writeMessage(1, getPolicy()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.iam.v2beta.UpdatePolicyRequest)) { - return super.equals(obj); - } - com.google.iam.v2beta.UpdatePolicyRequest other = - (com.google.iam.v2beta.UpdatePolicyRequest) obj; - - if (hasPolicy() != other.hasPolicy()) return false; - if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasPolicy()) { - hash = (37 * hash) + POLICY_FIELD_NUMBER; - hash = (53 * hash) + getPolicy().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.iam.v2beta.UpdatePolicyRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
    -   * Request message for `UpdatePolicy`.
    -   * 
    - * - * Protobuf type {@code google.iam.v2beta.UpdatePolicyRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.iam.v2beta.UpdatePolicyRequest) - com.google.iam.v2beta.UpdatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_UpdatePolicyRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.iam.v2beta.UpdatePolicyRequest.class, - com.google.iam.v2beta.UpdatePolicyRequest.Builder.class); - } - - // Construct using com.google.iam.v2beta.UpdatePolicyRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (policyBuilder_ == null) { - policy_ = null; - } else { - policy_ = null; - policyBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.iam.v2beta.PolicyProto - .internal_static_google_iam_v2beta_UpdatePolicyRequest_descriptor; - } - - @java.lang.Override - public com.google.iam.v2beta.UpdatePolicyRequest getDefaultInstanceForType() { - return com.google.iam.v2beta.UpdatePolicyRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.iam.v2beta.UpdatePolicyRequest build() { - com.google.iam.v2beta.UpdatePolicyRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.iam.v2beta.UpdatePolicyRequest buildPartial() { - com.google.iam.v2beta.UpdatePolicyRequest result = - new com.google.iam.v2beta.UpdatePolicyRequest(this); - if (policyBuilder_ == null) { - result.policy_ = policy_; - } else { - result.policy_ = policyBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.iam.v2beta.UpdatePolicyRequest) { - return mergeFrom((com.google.iam.v2beta.UpdatePolicyRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.iam.v2beta.UpdatePolicyRequest other) { - if (other == com.google.iam.v2beta.UpdatePolicyRequest.getDefaultInstance()) return this; - if (other.hasPolicy()) { - mergePolicy(other.getPolicy()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private com.google.iam.v2beta.Policy policy_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder> - policyBuilder_; - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - public boolean hasPolicy() { - return policyBuilder_ != null || policy_ != null; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - public com.google.iam.v2beta.Policy getPolicy() { - if (policyBuilder_ == null) { - return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; - } else { - return policyBuilder_.getMessage(); - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2beta.Policy value) { - if (policyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - policy_ = value; - onChanged(); - } else { - policyBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder setPolicy(com.google.iam.v2beta.Policy.Builder builderForValue) { - if (policyBuilder_ == null) { - policy_ = builderForValue.build(); - onChanged(); - } else { - policyBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder mergePolicy(com.google.iam.v2beta.Policy value) { - if (policyBuilder_ == null) { - if (policy_ != null) { - policy_ = - com.google.iam.v2beta.Policy.newBuilder(policy_).mergeFrom(value).buildPartial(); - } else { - policy_ = value; - } - onChanged(); - } else { - policyBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public Builder clearPolicy() { - if (policyBuilder_ == null) { - policy_ = null; - onChanged(); - } else { - policy_ = null; - policyBuilder_ = null; - } - - return this; - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2beta.Policy.Builder getPolicyBuilder() { - - onChanged(); - return getPolicyFieldBuilder().getBuilder(); - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - public com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder() { - if (policyBuilder_ != null) { - return policyBuilder_.getMessageOrBuilder(); - } else { - return policy_ == null ? com.google.iam.v2beta.Policy.getDefaultInstance() : policy_; - } - } - /** - * - * - *
    -     * 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.
    -     * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder> - getPolicyFieldBuilder() { - if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.iam.v2beta.Policy, - com.google.iam.v2beta.Policy.Builder, - com.google.iam.v2beta.PolicyOrBuilder>( - getPolicy(), getParentForChildren(), isClean()); - policy_ = null; - } - return policyBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.iam.v2beta.UpdatePolicyRequest) - } - - // @@protoc_insertion_point(class_scope:google.iam.v2beta.UpdatePolicyRequest) - private static final com.google.iam.v2beta.UpdatePolicyRequest DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.iam.v2beta.UpdatePolicyRequest(); - } - - public static com.google.iam.v2beta.UpdatePolicyRequest getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.iam.v2beta.UpdatePolicyRequest getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} 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 deleted file mode 100644 index ffbd2892e106..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/java/com/google/iam/v2beta/UpdatePolicyRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/iam/v2beta/policy.proto - -package com.google.iam.v2beta; - -public interface UpdatePolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.iam.v2beta.UpdatePolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
    -   * 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.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return Whether the policy field is set. - */ - 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.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The policy. - */ - 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.
    -   * 
    - * - * .google.iam.v2beta.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.iam.v2beta.PolicyOrBuilder getPolicyOrBuilder(); -} diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto deleted file mode 100644 index 73ae7bbdf703..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.iam.v2beta; - -import "google/type/expr.proto"; - -option csharp_namespace = "Google.Cloud.Iam.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; -option java_multiple_files = true; -option java_outer_classname = "DenyRuleProto"; -option java_package = "com.google.iam.v2beta"; -option php_namespace = "Google\\Cloud\\Iam\\V2beta"; - -// A deny rule in an IAM deny policy. -message DenyRule { - // 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, - // `principalSet://goog/cloudIdentityCustomerId/C01Abc35`. - repeated string denied_principals = 1; - - // The identities that are excluded from the deny rule, even if they are - // 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. - repeated string exception_principals = 2; - - // The permissions that are explicitly denied by this rule. Each permission - // uses the format `{service_fqdn}/{resource}.{verb}`, where `{service_fqdn}` - // is the fully qualified domain name for the service. For example, - // `iam.googleapis.com/roles.list`. - repeated string denied_permissions = 3; - - // Specifies the permissions that this rule excludes from the set of denied - // 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`. - repeated string exception_permissions = 4; - - // 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 - // functions and operators are not supported. - google.type.Expr denial_condition = 5; -} diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto deleted file mode 100644 index 99df3db0aa58..000000000000 --- a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto +++ /dev/null @@ -1,283 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.iam.v2beta; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/iam/v2beta/deny.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/timestamp.proto"; - -option csharp_namespace = "Google.Cloud.Iam.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; -option java_multiple_files = true; -option java_outer_classname = "PolicyProto"; -option java_package = "com.google.iam.v2beta"; -option php_namespace = "Google\\Cloud\\Iam\\V2beta"; - -// An interface for managing Identity and Access Management (IAM) policies. -service Policies { - option (google.api.default_host) = "iam.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - - // Retrieves the policies of the specified kind that are attached to a - // resource. - // - // The response lists only policy metadata. In particular, policy rules are - // omitted. - rpc ListPolicies(ListPoliciesRequest) returns (ListPoliciesResponse) { - option (google.api.http) = { - get: "/v2beta/{parent=policies/*/*}" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets a policy. - rpc GetPolicy(GetPolicyRequest) returns (Policy) { - option (google.api.http) = { - get: "/v2beta/{name=policies/*/*/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a policy. - rpc CreatePolicy(CreatePolicyRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v2beta/{parent=policies/*/*}" - body: "policy" - }; - option (google.api.method_signature) = "parent,policy,policy_id"; - option (google.longrunning.operation_info) = { - response_type: "Policy" - metadata_type: "PolicyOperationMetadata" - }; - } - - // Updates the specified policy. - // - // You can update only the rules and the display name for the policy. - // - // To update a policy, you should use a read-modify-write loop: - // - // 1. Use [GetPolicy][google.iam.v2beta.Policies.GetPolicy] to read the current version of the policy. - // 2. Modify the policy as needed. - // 3. Use `UpdatePolicy` to write the updated policy. - // - // This pattern helps prevent conflicts between concurrent updates. - rpc UpdatePolicy(UpdatePolicyRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - put: "/v2beta/{policy.name=policies/*/*/*}" - body: "policy" - }; - option (google.longrunning.operation_info) = { - response_type: "Policy" - metadata_type: "PolicyOperationMetadata" - }; - } - - // Deletes a policy. This action is permanent. - rpc DeletePolicy(DeletePolicyRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v2beta/{name=policies/*/*/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "Policy" - metadata_type: "PolicyOperationMetadata" - }; - } -} - -// Data for an IAM policy. -message Policy { - // 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. - string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The globally unique ID of the `Policy`. Assigned automatically when the - // `Policy` is created. - string uid = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`. - string kind = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A user-specified description of the `Policy`. This value can be up to 63 - // characters. - string display_name = 4; - - // A key-value map to store arbitrary metadata for the `Policy`. Keys - // can be up to 63 characters. Values can be up to 255 characters. - map annotations = 5; - - // 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. - string etag = 6; - - // Output only. The time when the `Policy` was created. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when the `Policy` was last updated. - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted. - google.protobuf.Timestamp delete_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A list of rules that specify the behavior of the `Policy`. All of the rules - // should be of the `kind` specified in the `Policy`. - repeated PolicyRule rules = 10; -} - -// A single rule in a `Policy`. -message PolicyRule { - oneof kind { - // A rule for a deny policy. - DenyRule deny_rule = 2; - } - - // A user-specified description of the rule. This value can be up to 256 - // characters. - string description = 1; -} - -// Request message for `ListPolicies`. -message ListPoliciesRequest { - // 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. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // The maximum number of policies to return. IAM ignores this value and uses - // the value 1000. - int32 page_size = 2; - - // A page token received in a [ListPoliciesResponse][google.iam.v2beta.ListPoliciesResponse]. Provide this token to - // retrieve the next page. - string page_token = 3; -} - -// Response message for `ListPolicies`. -message ListPoliciesResponse { - // Metadata for the policies that are attached to the resource. - repeated Policy policies = 1; - - // A page token that you can use in a [ListPoliciesRequest][google.iam.v2beta.ListPoliciesRequest] to retrieve the - // next page. If this field is omitted, there are no additional pages. - string next_page_token = 2; -} - -// Request message for `GetPolicy`. -message GetPolicyRequest { - // 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. - string name = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for `CreatePolicy`. -message CreatePolicyRequest { - // 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. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The policy to create. - Policy policy = 2 [(google.api.field_behavior) = REQUIRED]; - - // The ID to use for this policy, which will become the final component of - // the policy's resource name. The ID must contain 3 to 63 characters. It can - // contain lowercase letters and numbers, as well as dashes (`-`) and periods - // (`.`). The first character must be a lowercase letter. - string policy_id = 3; -} - -// Request message for `UpdatePolicy`. -message UpdatePolicyRequest { - // 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. - Policy policy = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for `DeletePolicy`. -message DeletePolicyRequest { - // 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. - string name = 1 [(google.api.field_behavior) = REQUIRED]; - - // 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`. - string etag = 2 [(google.api.field_behavior) = OPTIONAL]; -} - -// Metadata for long-running `Policy` operations. -message PolicyOperationMetadata { - // Timestamp when the `google.longrunning.Operation` was created. - google.protobuf.Timestamp create_time = 1; -} diff --git a/java-iam/renovate.json b/java-iam/renovate.json index c52f7a39b716..5686899d09de 100644 --- a/java-iam/renovate.json +++ b/java-iam/renovate.json @@ -39,7 +39,7 @@ }, { "packagePatterns": [ - "^com.google.api.grpc:proto-google-iam-v1", + "^com.google.cloud:google-iam-policy", "^com.google.cloud:libraries-bom", "^com.google.cloud.samples:shared-configuration" ], diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 304f9158d2f2..920771e64197 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,10 +1,4 @@ # Format: # module:released-version:current-version -proto-google-iam-v1:1.6.23:1.6.24-SNAPSHOT -grpc-google-iam-v1:1.6.23:1.6.24-SNAPSHOT -proto-google-iam-v2beta:1.6.23:1.6.24-SNAPSHOT -grpc-google-iam-v2beta:1.6.23:1.6.24-SNAPSHOT google-iam-policy:1.6.23:1.6.24-SNAPSHOT -proto-google-iam-v2:1.6.23:1.6.24-SNAPSHOT -grpc-google-iam-v2:1.6.23:1.6.24-SNAPSHOT From 1ba2561d9a1ce36fa26d223be836d20c1c8aa337 Mon Sep 17 00:00:00 2001 From: Burke Davison <40617934+burkedavison@users.noreply.github.com> Date: Tue, 10 Jan 2023 11:01:34 -0500 Subject: [PATCH 2980/3036] fix: Remove 'unstable API' message from README.md (#570) --- java-iam/README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/java-iam/README.md b/java-iam/README.md index 61f37598b78e..4074f1f0951c 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -15,9 +15,6 @@ Java 7 or above is required for using this client. This library follows [Semantic Versioning](http://semver.org/). -It is currently in major version zero (`0.y.z`), which means that anything may change at any time -and the public API should not be considered stable. - ## Contributing Contributions to this library are always welcome and highly encouraged. From b92f4f9a7e64d38966ee33428eca81feb063eb5a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 11 Jan 2023 04:16:37 +0000 Subject: [PATCH 2981/3036] chore(main): release 1.7.0 (#579) :robot: I have created a release *beep* *boop* --- ## [1.7.0](https://togithub.com/googleapis/java-iam/compare/v1.6.23...v1.7.0) (2023-01-10) ### Features * Removing migrated grpc- and proto- modules from repository ([#592](https://togithub.com/googleapis/java-iam/issues/592)) ([f6183a7](https://togithub.com/googleapis/java-iam/commit/f6183a728e12acf3430bc7bb33c3ca0083b35014)) ### Bug Fixes * Remove 'unstable API' message from README.md ([#570](https://togithub.com/googleapis/java-iam/issues/570)) ([1ba2561](https://togithub.com/googleapis/java-iam/commit/1ba2561d9a1ce36fa26d223be836d20c1c8aa337)) ### Dependencies * Update dependency com.google.cloud:google-iam-policy to v1.6.23 ([#578](https://togithub.com/googleapis/java-iam/issues/578)) ([4a5ad26](https://togithub.com/googleapis/java-iam/commit/4a5ad26a6e3f5259a7d2aaa7f05bfc00f9735858)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/CHANGELOG.md | 17 +++++++++++++++++ java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/pom.xml | 2 +- java-iam/versions.txt | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/java-iam/CHANGELOG.md b/java-iam/CHANGELOG.md index 172a6034d5f6..d8d4838f4495 100644 --- a/java-iam/CHANGELOG.md +++ b/java-iam/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [1.7.0](https://github.com/googleapis/java-iam/compare/v1.6.23...v1.7.0) (2023-01-10) + + +### Features + +* Removing migrated grpc- and proto- modules from repository ([#592](https://github.com/googleapis/java-iam/issues/592)) ([9c4b9aa](https://github.com/googleapis/java-iam/commit/9c4b9aace04fc72868f4dcaf289eb0a8f35d4e1f)) + + +### Bug Fixes + +* Remove 'unstable API' message from README.md ([#570](https://github.com/googleapis/java-iam/issues/570)) ([8da89f5](https://github.com/googleapis/java-iam/commit/8da89f59cbe323b2cc5eb2b483485e424622b027)) + + +### Dependencies + +* Update dependency com.google.cloud:google-iam-policy to v1.6.23 ([#578](https://github.com/googleapis/java-iam/issues/578)) ([aa49b5e](https://github.com/googleapis/java-iam/commit/aa49b5efaf53fcafc0bbd7662e8b016fcfc2ff61)) + ## [1.6.23](https://github.com/googleapis/java-iam/compare/v1.6.22...v1.6.23) (2022-12-20) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 88885cfa53e8..e17c3fece548 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.6.24-SNAPSHOT + 1.7.0 jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-policy-parent - 1.6.24-SNAPSHOT + 1.7.0 google-iam-policy diff --git a/java-iam/pom.xml b/java-iam/pom.xml index c0e44682ac51..7dd780aa8c7e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-policy-parent pom - 1.6.24-SNAPSHOT + 1.7.0 Google IAM Policy Parent https://github.com/googleapis/java-iam diff --git a/java-iam/versions.txt b/java-iam/versions.txt index 920771e64197..d5f5523ceff8 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-iam-policy:1.6.23:1.6.24-SNAPSHOT +google-iam-policy:1.7.0:1.7.0 From 1a64265a99bdf685aebb6821de1fc43c9361feab Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 18 Jan 2023 19:46:13 +0000 Subject: [PATCH 2982/3036] deps: update dependency io.grpc:grpc-bom to v1.52.1 (#1073) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | `1.51.1` -> `1.52.1` | [![age](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.52.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.52.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.52.1/compatibility-slim/1.51.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/io.grpc:grpc-bom/1.52.1/confidence-slim/1.51.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    grpc/grpc-java ### [`v1.52.1`](https://togithub.com/grpc/grpc-java/releases/tag/v1.52.1) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.52.0...v1.52.1) ##### Bug Fixes - xds: Fix an internal bug in xds resource subscription that might cause xds stream not accepting response update for that resource type entirely. ([#​9810](https://togithub.com/grpc/grpc-java/issues/9810)) ### [`v1.52.0`](https://togithub.com/grpc/grpc-java/releases/tag/v1.52.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.51.3...v1.52.0) #### gRPC Java 1.52.0 Release Notes **grpc-xds starting with 1.51.0 had a regression where resources might stop receiving updates. The trigger could happen hours or days after the binary had started. xDS users should avoid this release and use 1.50.x until patch releases with the fix are available. [https://togithub.com/grpc/grpc-java/pull/9809](https://togithub.com/grpc/grpc-java/pull/9809)** ##### API Changes - Fix CallOptions to be properly `@Immutable` ([#​9689](https://togithub.com/grpc/grpc-java/issues/9689)) - binder: Promote out of experimental status ([#​9669](https://togithub.com/grpc/grpc-java/issues/9669)). Much of the API is now stable ##### New Features - xds: Support localities in multiple priorities ([#​9683](https://togithub.com/grpc/grpc-java/issues/9683)) - xds: Log xDS node ID with verbosity INFO when environment variable GRPC_LOG_XDS_NODE_ID=true ([#​9731](https://togithub.com/grpc/grpc-java/issues/9731)) ##### Examples - Add examples for name resolver and load balancer ([#​9700](https://togithub.com/grpc/grpc-java/issues/9700)) - Swap to ChannelCredentials/ServerCredentials API, as it is preferred ##### Bug Fixes - xds:Fix ConcurrentModificationException in PriorityLoadBalancer ([#​9728](https://togithub.com/grpc/grpc-java/issues/9728)) - ManagedChannelImpl.SubchannelImpl fix args check to avoid NPE ([#​9651](https://togithub.com/grpc/grpc-java/issues/9651)) - okhttp: Add missing server support for TLS ClientAuth ([#​9711](https://togithub.com/grpc/grpc-java/issues/9711)) - binder: Ensure the security interceptor is always closest to the actual transport ([#​9716](https://togithub.com/grpc/grpc-java/issues/9716)) - bazel: Include [@​Generated](https://togithub.com/Generated) dep for autovalue. This fixes builds of xds and rls using Java 9+ - xds: Nack xds response when weighted cluster total weight sums zero ([#​9738](https://togithub.com/grpc/grpc-java/issues/9738)) - core: Fix a bug about a retriable stream lifecycle. It stops using the call executor resource in a retriable stream when the client call is closed, thus preventing potential channel panics. ([#​9626](https://togithub.com/grpc/grpc-java/issues/9626)) ##### Behavior Changes - binder: Set default idle timeout to 60 seconds, and enable "strict lifecycle management". ([#​9486](https://togithub.com/grpc/grpc-java/issues/9486)) - xds: Limit ring hash max size to 4K instead of 8M ([#​9709](https://togithub.com/grpc/grpc-java/issues/9709)). `RingHashOptions.setRingSizeCap()` can increase the limit - binder: Set default idle timeout to 60 seconds, and add `BinderChannelBuilder.strictLifecycleManagement()` which disables idle timeout and prevents it from being changed ([#​9486](https://togithub.com/grpc/grpc-java/issues/9486)). Disabling idle timeout can be useful to find bugs in applications that fail to promptly shut down the channel and are particularly sensitive to keeping Binder instances alive. - bazel: Replace ctx.host_configuration.host_path_separator with ctx.configuration.host_path_separator ([#​9742](https://togithub.com/grpc/grpc-java/issues/9742)). This changes no behavior today, but improves future compatibility with newer versions of Bazel - xds: Refactor internal logics about LDS and CDS resource handling. It may cause minor log line changes about corresponding RDS and EDS subscriber event notification, but it should not change xds name resolution and LB behavior. ([#​9724](https://togithub.com/grpc/grpc-java/issues/9724)) ##### Dependencies ##### Acknowledgement [@​RapperCL](https://togithub.com/RapperCL) [@​Smityz](https://togithub.com/Smityz) [@​pandaapo](https://togithub.com/pandaapo) ### [`v1.51.3`](https://togithub.com/grpc/grpc-java/releases/tag/v1.51.3) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.51.1...v1.51.3) ##### Bug Fixes - xds: Fix an internal bug in xds resource subscription that might cause xds stream not accepting response update for that resource type entirely. ([https://togithub.com/grpc/grpc-java/pull/9811](https://togithub.com/grpc/grpc-java/pull/9811))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 550417aaa754..4f9f1aba1c23 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -158,7 +158,7 @@ 1.14.0 2.1.2 1.42.3 - 1.51.1 + 1.52.1 3.21.12 0.31.1 1.3.2 From fd42e87f0c9754c62a505f61aff9094e150ffefb Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 18 Jan 2023 19:46:19 +0000 Subject: [PATCH 2983/3036] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.4.2 (#1074) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.4.1` -> `3.4.2` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.2/compatibility-slim/3.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.4.2/confidence-slim/3.4.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 4f9f1aba1c23..b380e1d771de 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -329,7 +329,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.4.1 + 3.4.2 From e5feabf76f53cfdf4567bf1b9ab6985c757da5e6 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 18 Jan 2023 19:54:12 +0000 Subject: [PATCH 2984/3036] chore(main): release 2.9.2 (#1076) :robot: I have created a release *beep* *boop* --- ## [2.9.2](https://togithub.com/googleapis/java-core/compare/v2.9.1...v2.9.2) (2023-01-18) ### Dependencies * Update dependency io.grpc:grpc-bom to v1.52.1 ([#1073](https://togithub.com/googleapis/java-core/issues/1073)) ([1a64265](https://togithub.com/googleapis/java-core/commit/1a64265a99bdf685aebb6821de1fc43c9361feab)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 72cdd9fa2c25..0197f06ab3b9 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.9.2](https://github.com/googleapis/java-core/compare/v2.9.1...v2.9.2) (2023-01-18) + + +### Dependencies + +* Update dependency io.grpc:grpc-bom to v1.52.1 ([#1073](https://github.com/googleapis/java-core/issues/1073)) ([a45ec31](https://github.com/googleapis/java-core/commit/a45ec316782d2d2a1d3af149f338daf028d94206)) + ## [2.9.1](https://github.com/googleapis/java-core/compare/v2.9.0...v2.9.1) (2023-01-09) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index a3de374560ad..8807556d4aba 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.2-SNAPSHOT + 2.9.2 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.2-SNAPSHOT + 2.9.2 com.google.cloud google-cloud-core-grpc - 2.9.2-SNAPSHOT + 2.9.2 com.google.cloud google-cloud-core-http - 2.9.2-SNAPSHOT + 2.9.2
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 7bf78d6a42dc..ce84146d1b6d 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.9.2-SNAPSHOT + 2.9.2 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.2-SNAPSHOT + 2.9.2 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 1c73a67fa923..06cb1d7162b9 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.9.2-SNAPSHOT + 2.9.2 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.2-SNAPSHOT + 2.9.2 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index abb228cae585..a40a287eb571 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.9.2-SNAPSHOT + 2.9.2 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.2-SNAPSHOT + 2.9.2 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index b380e1d771de..084f98ff23b5 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.2-SNAPSHOT + 2.9.2 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 40d02e70eff8..7261b361b614 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.1:2.9.2-SNAPSHOT +google-cloud-core:2.9.2:2.9.2 From 5ad1b2bf728481bbc23b07d8b6a97097179c7706 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 18 Jan 2023 20:04:12 +0000 Subject: [PATCH 2985/3036] chore(main): release 2.9.3-SNAPSHOT (#1077) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 8807556d4aba..4165aa412ed0 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.2 + 2.9.3-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.2 + 2.9.3-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.9.2 + 2.9.3-SNAPSHOT com.google.cloud google-cloud-core-http - 2.9.2 + 2.9.3-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index ce84146d1b6d..1294913d53bb 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.9.2 + 2.9.3-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.2 + 2.9.3-SNAPSHOT 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 06cb1d7162b9..37159a9dd518 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.9.2 + 2.9.3-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.2 + 2.9.3-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index a40a287eb571..6de7273212e2 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.9.2 + 2.9.3-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.2 + 2.9.3-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 084f98ff23b5..709951f20101 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.2 + 2.9.3-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7261b361b614..683c0cea1a1e 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.2:2.9.2 +google-cloud-core:2.9.2:2.9.3-SNAPSHOT From 649aea7b89885633a8fe5681d8842ae9f707eaf2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 21:32:16 +0000 Subject: [PATCH 2986/3036] chore(main): release 3.1.2-SNAPSHOT (#963) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 3076d2ff174f..5563f0a43ad4 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.1.1 + 3.1.2-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.1 + 3.1.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5e98137a5f35..5f9662c490c9 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.1.1 + 3.1.2-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index cf606c0a69f6..7016d68f245e 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.1.1 + 3.1.2-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.1.1 + 3.1.2-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.1.1 + 3.1.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index b58293107a13..c5bc1698efc0 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.1.1 + 3.1.2-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index b5f914307a4d..531e86982d8a 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.1.1 + 3.1.2-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.1 + 3.1.2-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 5e25b7c6128b..46e9f9180b56 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.1.1:3.1.1 +google-cloud-shared-dependencies:3.1.1:3.1.2-SNAPSHOT From a8dbdca7773a03ef205c82ec26e275d2a98cc565 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:35:40 -0500 Subject: [PATCH 2987/3036] build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /.kokoro (#949) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /.kokoro Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Owl Bot From bbb96e7b194f8243489df74f6caa1392c7113904 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 19 Jan 2023 21:37:12 +0000 Subject: [PATCH 2988/3036] deps: update google.core.version to v2.9.2 (#969) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 5f9662c490c9..129d6e2f4a11 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,7 +58,7 @@ 2.13.0 1.3.2 2.10.1 - 2.9.1 + 2.9.2 1.42.3 1.34.1 2.1.2 From 9fb5cb3ef07e5d1043e548a346725b7f85a18cce Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:38:48 -0500 Subject: [PATCH 2989/3036] fix(java): skip fixing poms for special modules (#1744) (#971) fix(java): handle empty modules Fixes https://github.com/googleapis/synthtool/issues/1743 Source-Link: https://github.com/googleapis/synthtool/commit/482d649d5d705c18028076985f64b214f6b6c14e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 Co-authored-by: Owl Bot --- .../.github/.OwlBot.lock.yaml | 4 +- .../.kokoro/requirements.in | 40 +--- .../.kokoro/requirements.txt | 184 +++++++----------- 3 files changed, 76 insertions(+), 152 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index 288e394897e6..f8a8575314cc 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c + digest: sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in index a5010f77d413..b19a8dbfdd5e 100644 --- a/java-shared-dependencies/.kokoro/requirements.in +++ b/java-shared-dependencies/.kokoro/requirements.in @@ -1,34 +1,6 @@ -gcp-docuploader==0.6.3 -google-crc32c==1.3.0 -googleapis-common-protos==1.56.3 -gcp-releasetool==1.9.1 -cryptography==38.0.3 -cachetools==4.2.4 -cffi==1.15.1 -jeepney==0.7.1 -jinja2==3.0.3 -markupsafe==2.0.1 -keyring==23.4.1 -packaging==21.3 -protobuf==3.19.5 -pyjwt==2.4.0 -pyparsing==3.0.9 -pycparser==2.21 -pyperclip==1.8.2 -python-dateutil==2.8.2 -requests==2.27.1 -certifi==2022.12.7 -importlib-metadata==4.8.3 -zipp==3.6.0 -google_api_core==2.8.2 -google-cloud-storage==2.0.0 -google-resumable-media==2.3.3 -google-cloud-core==2.3.1 -typing-extensions==4.1.1 -urllib3==1.26.12 -zipp==3.6.0 -rsa==4.9 -six==1.16.0 -attrs==22.1.0 -google-auth==2.14.1 -idna==3.4 \ No newline at end of file +gcp-docuploader +gcp-releasetool +wheel +setuptools +typing-extensions +click<8.1.0 \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt index 15c404aa5a8c..4895c9631fd8 100644 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ b/java-shared-dependencies/.kokoro/requirements.txt @@ -1,27 +1,21 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # -# pip-compile --generate-hashes requirements.in +# pip-compile --allow-unsafe --generate-hashes requirements.in # attrs==22.1.0 \ --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool cachetools==4.2.4 \ --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 - # via - # -r requirements.in - # google-auth + # via google-auth certifi==2022.12.7 \ --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 - # via - # -r requirements.in - # requests + # via requests cffi==1.15.1 \ --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ @@ -87,9 +81,7 @@ cffi==1.15.1 \ --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 - # via - # -r requirements.in - # cryptography + # via cryptography charset-normalizer==2.0.12 \ --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df @@ -98,6 +90,7 @@ click==8.0.4 \ --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb # via + # -r requirements.in # gcp-docuploader # gcp-releasetool colorlog==6.7.0 \ @@ -132,12 +125,11 @@ cryptography==38.0.3 \ --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 # via - # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.3 \ - --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ - --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b +gcp-docuploader==0.6.4 \ + --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ + --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf # via -r requirements.in gcp-releasetool==1.9.1 \ --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ @@ -147,13 +139,12 @@ google-api-core==2.8.2 \ --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 # via - # -r requirements.in # google-cloud-core # google-cloud-storage google-auth==2.14.1 \ + --hash=sha256:ccaa901f31ad5cbb562615eb8b664b3dd0bf5404a67618e642307f00613eda4d \ --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 # via - # -r requirements.in # gcp-releasetool # google-api-core # google-cloud-core @@ -161,15 +152,11 @@ google-auth==2.14.1 \ google-cloud-core==2.3.1 \ --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 - # via - # -r requirements.in - # google-cloud-storage + # via google-cloud-storage google-cloud-storage==2.0.0 \ --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 - # via - # -r requirements.in - # gcp-docuploader + # via gcp-docuploader google-crc32c==1.3.0 \ --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ @@ -214,52 +201,37 @@ google-crc32c==1.3.0 \ --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 - # via - # -r requirements.in - # google-resumable-media + # via google-resumable-media google-resumable-media==2.3.3 \ --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via - # -r requirements.in - # google-cloud-storage + # via google-cloud-storage googleapis-common-protos==1.56.3 \ --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 - # via - # -r requirements.in - # google-api-core + # via google-api-core idna==3.4 \ --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 - # via - # -r requirements.in - # requests + # via requests importlib-metadata==4.8.3 \ --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 + # via keyring +jeepney==0.8.0 \ + --hash=sha256:5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806 \ + --hash=sha256:c0a454ad016ca575060802ee4d590dd912e35c122fa04e70306de3d076cce755 # via - # -r requirements.in - # keyring -jeepney==0.7.1 \ - --hash=sha256:1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac \ - --hash=sha256:fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f - # via - # -r requirements.in # keyring # secretstorage jinja2==3.0.3 \ --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool keyring==23.4.1 \ --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool markupsafe==2.0.1 \ --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ @@ -330,49 +302,39 @@ markupsafe==2.0.1 \ --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 - # via - # -r requirements.in - # jinja2 + # via jinja2 packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 + # via gcp-releasetool +protobuf==3.20.2 \ + --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ + --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ + --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ + --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ + --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ + --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ + --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ + --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ + --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ + --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ + --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ + --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ + --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ + --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ + --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ + --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ + --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ + --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ + --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ + --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ + --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ + --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 # via - # -r requirements.in - # gcp-releasetool -protobuf==3.19.5 \ - --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ - --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ - --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ - --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ - --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ - --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ - --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ - --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ - --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ - --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ - --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ - --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ - --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ - --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ - --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ - --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ - --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ - --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ - --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ - --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ - --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ - --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ - --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ - --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ - --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ - --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de - # via - # -r requirements.in # gcp-docuploader # gcp-releasetool # google-api-core # google-cloud-storage - # googleapis-common-protos pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba @@ -386,71 +348,61 @@ pyasn1-modules==0.2.8 \ pycparser==2.21 \ --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 - # via - # -r requirements.in - # cffi + # via cffi pyjwt==2.4.0 \ --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool pyparsing==3.0.9 \ --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc - # via - # -r requirements.in - # packaging + # via packaging pyperclip==1.8.2 \ --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool python-dateutil==2.8.2 \ --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool requests==2.27.1 \ --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d # via - # -r requirements.in # gcp-releasetool # google-api-core # google-cloud-storage rsa==4.9 \ --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 - # via - # -r requirements.in - # google-auth + # via google-auth secretstorage==3.3.3 \ --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 # via keyring +setuptools==65.6.3 \ + --hash=sha256:57f6f22bde4e042978bcd50176fdb381d7c21a9efa4041202288d3737a0c6a54 \ + --hash=sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75 + # via -r requirements.in six==1.16.0 \ --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 # via - # -r requirements.in # gcp-docuploader # google-auth # python-dateutil -typing-extensions==4.1.1 \ - --hash=sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \ - --hash=sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2 +typing-extensions==4.4.0 \ + --hash=sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa \ + --hash=sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e # via -r requirements.in urllib3==1.26.12 \ --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 - # via - # -r requirements.in - # requests + # via requests +wheel==0.38.4 \ + --hash=sha256:965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac \ + --hash=sha256:b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8 + # via -r requirements.in zipp==3.6.0 \ --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc - # via - # -r requirements.in - # importlib-metadata + # via importlib-metadata From f273b9a9b0d70154c471429953b1b4178ec78df6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 19 Jan 2023 21:39:31 +0000 Subject: [PATCH 2990/3036] deps: update dependency com.google.api:gapic-generator-java-bom to v2.14.0 (#972) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 129d6e2f4a11..17b235dcd143 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -55,7 +55,7 @@ UTF-8 ${project.artifactId} - 2.13.0 + 2.14.0 1.3.2 2.10.1 2.9.2 From 5192e63299c4fda09dcab0a330dcc8a56f31947c Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 19 Jan 2023 21:44:35 +0000 Subject: [PATCH 2991/3036] deps: update dependency com.google.api.grpc:proto-google-common-protos to v2.13.0 (#1081) --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 709951f20101..19929bfd95d7 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -153,7 +153,7 @@ google-cloud-core-parent 2.21.0 2.4.0 - 2.12.0 + 2.13.0 1.7.0 1.14.0 2.1.2 From 2c2bc97e25a82582b3180cd0fd07ea25c5e0eb05 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 19 Jan 2023 21:50:12 +0000 Subject: [PATCH 2992/3036] deps: update dependency com.google.api.grpc:proto-google-iam-v1 to v1.8.0 (#1082) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/gapic-generator-java) | `1.7.0` -> `1.8.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.8.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.8.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.8.0/compatibility-slim/1.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.8.0/confidence-slim/1.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 19929bfd95d7..7355997377e3 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -154,7 +154,7 @@ 2.21.0 2.4.0 2.13.0 - 1.7.0 + 1.8.0 1.14.0 2.1.2 1.42.3 From 0d7016733b0d8cb19c1ee50e178e397d85e99902 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:50:25 -0500 Subject: [PATCH 2993/3036] chore: Upgrade to later version of gcp-uploader and protobuf (#1741) (#1078) * chore: Upgrade to later version of gcp-uploader and protobuf * chore: Add secretstorage version * chore: Use python 3.9.13 * chore: Unpin all python versions * chore: Rerun pipcompile tool * chore: Rerun pipcompile tool with --allow-unsafe * chore: Add --require-hashes * chore: Update requirements file * chore: Remove --require-hashes * chore: Print python version * chore: Add new generated hashes for requirements.txt * chore: Remove python version check in cloud build * chore: Allow synthtool to update python dependencies * chore: Add typing-extensions into requirements * chore: Unpin docker requirements.in file * chore: Add java synthtool validation * chore: Add check to import java synthtool python package Source-Link: https://github.com/googleapis/synthtool/commit/91904bfb986c51516389fb591c67053cdf4de104 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:4566cf7fcd0eece77705330267b2b61a70165711c7829d049b60bc2f1bbcd74e Co-authored-by: Owl Bot --- java-core/.github/.OwlBot.lock.yaml | 4 +- java-core/.kokoro/requirements.in | 40 +----- java-core/.kokoro/requirements.txt | 186 +++++++++++----------------- 3 files changed, 78 insertions(+), 152 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 288e394897e6..2b48c81e3722 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 Google LLC +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c + digest: sha256:4566cf7fcd0eece77705330267b2b61a70165711c7829d049b60bc2f1bbcd74e diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in index a5010f77d413..b19a8dbfdd5e 100644 --- a/java-core/.kokoro/requirements.in +++ b/java-core/.kokoro/requirements.in @@ -1,34 +1,6 @@ -gcp-docuploader==0.6.3 -google-crc32c==1.3.0 -googleapis-common-protos==1.56.3 -gcp-releasetool==1.9.1 -cryptography==38.0.3 -cachetools==4.2.4 -cffi==1.15.1 -jeepney==0.7.1 -jinja2==3.0.3 -markupsafe==2.0.1 -keyring==23.4.1 -packaging==21.3 -protobuf==3.19.5 -pyjwt==2.4.0 -pyparsing==3.0.9 -pycparser==2.21 -pyperclip==1.8.2 -python-dateutil==2.8.2 -requests==2.27.1 -certifi==2022.12.7 -importlib-metadata==4.8.3 -zipp==3.6.0 -google_api_core==2.8.2 -google-cloud-storage==2.0.0 -google-resumable-media==2.3.3 -google-cloud-core==2.3.1 -typing-extensions==4.1.1 -urllib3==1.26.12 -zipp==3.6.0 -rsa==4.9 -six==1.16.0 -attrs==22.1.0 -google-auth==2.14.1 -idna==3.4 \ No newline at end of file +gcp-docuploader +gcp-releasetool +wheel +setuptools +typing-extensions +click<8.1.0 \ No newline at end of file diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 15c404aa5a8c..1dfe630412d9 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -1,27 +1,21 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # -# pip-compile --generate-hashes requirements.in +# pip-compile --allow-unsafe --generate-hashes requirements.in # attrs==22.1.0 \ --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool cachetools==4.2.4 \ --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 - # via - # -r requirements.in - # google-auth + # via google-auth certifi==2022.12.7 \ --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 - # via - # -r requirements.in - # requests + # via requests cffi==1.15.1 \ --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ @@ -87,9 +81,7 @@ cffi==1.15.1 \ --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 - # via - # -r requirements.in - # cryptography + # via cryptography charset-normalizer==2.0.12 \ --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df @@ -98,6 +90,7 @@ click==8.0.4 \ --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb # via + # -r requirements.in # gcp-docuploader # gcp-releasetool colorlog==6.7.0 \ @@ -132,12 +125,11 @@ cryptography==38.0.3 \ --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 # via - # -r requirements.in # gcp-releasetool # secretstorage -gcp-docuploader==0.6.3 \ - --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ - --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b +gcp-docuploader==0.6.4 \ + --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ + --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf # via -r requirements.in gcp-releasetool==1.9.1 \ --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ @@ -147,13 +139,12 @@ google-api-core==2.8.2 \ --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 # via - # -r requirements.in # google-cloud-core # google-cloud-storage google-auth==2.14.1 \ + --hash=sha256:ccaa901f31ad5cbb562615eb8b664b3dd0bf5404a67618e642307f00613eda4d \ --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 # via - # -r requirements.in # gcp-releasetool # google-api-core # google-cloud-core @@ -161,15 +152,11 @@ google-auth==2.14.1 \ google-cloud-core==2.3.1 \ --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 - # via - # -r requirements.in - # google-cloud-storage + # via google-cloud-storage google-cloud-storage==2.0.0 \ --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 - # via - # -r requirements.in - # gcp-docuploader + # via gcp-docuploader google-crc32c==1.3.0 \ --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ @@ -214,52 +201,37 @@ google-crc32c==1.3.0 \ --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 - # via - # -r requirements.in - # google-resumable-media + # via google-resumable-media google-resumable-media==2.3.3 \ --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via - # -r requirements.in - # google-cloud-storage + # via google-cloud-storage googleapis-common-protos==1.56.3 \ --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 - # via - # -r requirements.in - # google-api-core + # via google-api-core idna==3.4 \ --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 - # via - # -r requirements.in - # requests + # via requests importlib-metadata==4.8.3 \ --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 + # via keyring +jeepney==0.8.0 \ + --hash=sha256:5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806 \ + --hash=sha256:c0a454ad016ca575060802ee4d590dd912e35c122fa04e70306de3d076cce755 # via - # -r requirements.in - # keyring -jeepney==0.7.1 \ - --hash=sha256:1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac \ - --hash=sha256:fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f - # via - # -r requirements.in # keyring # secretstorage jinja2==3.0.3 \ --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool keyring==23.4.1 \ --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool markupsafe==2.0.1 \ --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ @@ -330,49 +302,41 @@ markupsafe==2.0.1 \ --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 - # via - # -r requirements.in - # jinja2 + # via jinja2 packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 + # via gcp-releasetool +protobuf==3.20.1 \ + --hash=sha256:06059eb6953ff01e56a25cd02cca1a9649a75a7e65397b5b9b4e929ed71d10cf \ + --hash=sha256:097c5d8a9808302fb0da7e20edf0b8d4703274d140fd25c5edabddcde43e081f \ + --hash=sha256:284f86a6207c897542d7e956eb243a36bb8f9564c1742b253462386e96c6b78f \ + --hash=sha256:32ca378605b41fd180dfe4e14d3226386d8d1b002ab31c969c366549e66a2bb7 \ + --hash=sha256:3cc797c9d15d7689ed507b165cd05913acb992d78b379f6014e013f9ecb20996 \ + --hash=sha256:62f1b5c4cd6c5402b4e2d63804ba49a327e0c386c99b1675c8a0fefda23b2067 \ + --hash=sha256:69ccfdf3657ba59569c64295b7d51325f91af586f8d5793b734260dfe2e94e2c \ + --hash=sha256:6f50601512a3d23625d8a85b1638d914a0970f17920ff39cec63aaef80a93fb7 \ + --hash=sha256:7403941f6d0992d40161aa8bb23e12575637008a5a02283a930addc0508982f9 \ + --hash=sha256:755f3aee41354ae395e104d62119cb223339a8f3276a0cd009ffabfcdd46bb0c \ + --hash=sha256:77053d28427a29987ca9caf7b72ccafee011257561259faba8dd308fda9a8739 \ + --hash=sha256:7e371f10abe57cee5021797126c93479f59fccc9693dafd6bd5633ab67808a91 \ + --hash=sha256:9016d01c91e8e625141d24ec1b20fed584703e527d28512aa8c8707f105a683c \ + --hash=sha256:9be73ad47579abc26c12024239d3540e6b765182a91dbc88e23658ab71767153 \ + --hash=sha256:adc31566d027f45efe3f44eeb5b1f329da43891634d61c75a5944e9be6dd42c9 \ + --hash=sha256:adfc6cf69c7f8c50fd24c793964eef18f0ac321315439d94945820612849c388 \ + --hash=sha256:af0ebadc74e281a517141daad9d0f2c5d93ab78e9d455113719a45a49da9db4e \ + --hash=sha256:cb29edb9eab15742d791e1025dd7b6a8f6fcb53802ad2f6e3adcb102051063ab \ + --hash=sha256:cd68be2559e2a3b84f517fb029ee611546f7812b1fdd0aa2ecc9bc6ec0e4fdde \ + --hash=sha256:cdee09140e1cd184ba9324ec1df410e7147242b94b5f8b0c64fc89e38a8ba531 \ + --hash=sha256:db977c4ca738dd9ce508557d4fce0f5aebd105e158c725beec86feb1f6bc20d8 \ + --hash=sha256:dd5789b2948ca702c17027c84c2accb552fc30f4622a98ab5c51fcfe8c50d3e7 \ + --hash=sha256:e250a42f15bf9d5b09fe1b293bdba2801cd520a9f5ea2d7fb7536d4441811d20 \ + --hash=sha256:ff8d8fa42675249bb456f5db06c00de6c2f4c27a065955917b28c4f15978b9c3 # via - # -r requirements.in - # gcp-releasetool -protobuf==3.19.5 \ - --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ - --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ - --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ - --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ - --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ - --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ - --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ - --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ - --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ - --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ - --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ - --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ - --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ - --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ - --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ - --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ - --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ - --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ - --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ - --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ - --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ - --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ - --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ - --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ - --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ - --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de - # via - # -r requirements.in # gcp-docuploader # gcp-releasetool # google-api-core # google-cloud-storage - # googleapis-common-protos pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba @@ -386,71 +350,61 @@ pyasn1-modules==0.2.8 \ pycparser==2.21 \ --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 - # via - # -r requirements.in - # cffi + # via cffi pyjwt==2.4.0 \ --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool pyparsing==3.0.9 \ --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc - # via - # -r requirements.in - # packaging + # via packaging pyperclip==1.8.2 \ --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool python-dateutil==2.8.2 \ --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 - # via - # -r requirements.in - # gcp-releasetool + # via gcp-releasetool requests==2.27.1 \ --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d # via - # -r requirements.in # gcp-releasetool # google-api-core # google-cloud-storage rsa==4.9 \ --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 - # via - # -r requirements.in - # google-auth + # via google-auth secretstorage==3.3.3 \ --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 # via keyring +setuptools==65.6.3 \ + --hash=sha256:57f6f22bde4e042978bcd50176fdb381d7c21a9efa4041202288d3737a0c6a54 \ + --hash=sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75 + # via -r requirements.in six==1.16.0 \ --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 # via - # -r requirements.in # gcp-docuploader # google-auth # python-dateutil -typing-extensions==4.1.1 \ - --hash=sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \ - --hash=sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2 +typing-extensions==4.4.0 \ + --hash=sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa \ + --hash=sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e # via -r requirements.in urllib3==1.26.12 \ --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 - # via - # -r requirements.in - # requests + # via requests +wheel==0.38.4 \ + --hash=sha256:965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac \ + --hash=sha256:b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8 + # via -r requirements.in zipp==3.6.0 \ --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc - # via - # -r requirements.in - # importlib-metadata + # via importlib-metadata From 2f648e627985019558999dc6ddec37346903d55a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 19 Jan 2023 21:52:12 +0000 Subject: [PATCH 2994/3036] deps: update dependency com.google.api:api-common to v2.5.0 (#1083) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/gapic-generator-java) | `2.4.0` -> `2.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.5.0/compatibility-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:api-common/2.5.0/confidence-slim/2.4.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/gapic-generator-java ### [`v2.5.0`](https://togithub.com/googleapis/gapic-generator-java/blob/HEAD/CHANGELOG.md#​250-httpsgithubcomgoogleapisgapic-generator-javacomparev241v250-2022-01-22) [Compare Source](https://togithub.com/googleapis/gapic-generator-java/compare/v2.4.0...v2.5.0) ##### Features - add server streaming support for REST transport ([#​902](https://togithub.com/googleapis/gapic-generator-java/issues/902)) ([3b2dec6](https://togithub.com/googleapis/gapic-generator-java/commit/3b2dec6adf46823eeb6859e93362e63f00d84ffc)) - make generated test values comply with url path template ([#​903](https://togithub.com/googleapis/gapic-generator-java/issues/903)) ([bfb35cd](https://togithub.com/googleapis/gapic-generator-java/commit/bfb35cd31c05b5fbd2ea8073bcdcfdd3496bca12)) ##### [2.4.1](https://togithub.com/googleapis/gapic-generator-java/compare/v2.4.0...v2.4.1) (2022-01-14) ##### Bug Fixes - expose extra deps transitively to library users ([#​899](https://togithub.com/googleapis/gapic-generator-java/issues/899)) ([8fa2660](https://togithub.com/googleapis/gapic-generator-java/commit/8fa2660022cf65ebed011165378683173989332b)) - fix broken Gradle allJars task on generated libs ([#​901](https://togithub.com/googleapis/gapic-generator-java/issues/901)) ([e990105](https://togithub.com/googleapis/gapic-generator-java/commit/e99010596d85f891a738de71be3b5fb9c857594a))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 7355997377e3..2053b9f06aea 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -152,7 +152,7 @@ github google-cloud-core-parent 2.21.0 - 2.4.0 + 2.5.0 2.13.0 1.8.0 1.14.0 From 18d093ec9d6b85e59b00dd050690d0516dd60af1 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 19 Jan 2023 22:00:19 +0000 Subject: [PATCH 2995/3036] deps: update dependency com.google.api:gax-bom to v2.22.0 (#1084) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api:gax-bom](https://togithub.com/googleapis/java-shared-config) ([source](https://togithub.com/googleapis/gax-java)) | `2.21.0` -> `2.22.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.22.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.22.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.22.0/compatibility-slim/2.21.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api:gax-bom/2.22.0/confidence-slim/2.21.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). --- java-core/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 2053b9f06aea..9d732a638102 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -151,7 +151,7 @@ UTF-8 github google-cloud-core-parent - 2.21.0 + 2.22.0 2.5.0 2.13.0 1.8.0 From 6d4513315ae05f48ac1c6328572f837afdd3dc87 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 17:01:54 -0500 Subject: [PATCH 2996/3036] build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /.kokoro (#1055) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build(deps): bump certifi from 2022.9.24 to 2022.12.7 in /.kokoro Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Owl Bot From cc9a8cd210bb504c6a62dca61874c0d2ab7f2d08 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 22:08:12 +0000 Subject: [PATCH 2997/3036] chore(main): release 2.9.3 (#1085) :robot: I have created a release *beep* *boop* --- ## [2.9.3](https://togithub.com/googleapis/java-core/compare/v2.9.2...v2.9.3) (2023-01-19) ### Dependencies * Update dependency com.google.api:api-common to v2.5.0 ([#1083](https://togithub.com/googleapis/java-core/issues/1083)) ([2f648e6](https://togithub.com/googleapis/java-core/commit/2f648e627985019558999dc6ddec37346903d55a)) * Update dependency com.google.api:gax-bom to v2.22.0 ([#1084](https://togithub.com/googleapis/java-core/issues/1084)) ([18d093e](https://togithub.com/googleapis/java-core/commit/18d093ec9d6b85e59b00dd050690d0516dd60af1)) * Update dependency com.google.api.grpc:proto-google-common-protos to v2.13.0 ([#1081](https://togithub.com/googleapis/java-core/issues/1081)) ([5192e63](https://togithub.com/googleapis/java-core/commit/5192e63299c4fda09dcab0a330dcc8a56f31947c)) * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.8.0 ([#1082](https://togithub.com/googleapis/java-core/issues/1082)) ([2c2bc97](https://togithub.com/googleapis/java-core/commit/2c2bc97e25a82582b3180cd0fd07ea25c5e0eb05)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 10 ++++++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 22 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 0197f06ab3b9..538864615bfb 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [2.9.3](https://github.com/googleapis/java-core/compare/v2.9.2...v2.9.3) (2023-01-19) + + +### Dependencies + +* Update dependency com.google.api:api-common to v2.5.0 ([#1083](https://github.com/googleapis/java-core/issues/1083)) ([dc3e6c7](https://github.com/googleapis/java-core/commit/dc3e6c713f3b65b59a0d814cddd1509583db081c)) +* Update dependency com.google.api:gax-bom to v2.22.0 ([#1084](https://github.com/googleapis/java-core/issues/1084)) ([5b94330](https://github.com/googleapis/java-core/commit/5b94330a90920f106e70a0ec7823026c3c87d55e)) +* Update dependency com.google.api.grpc:proto-google-common-protos to v2.13.0 ([#1081](https://github.com/googleapis/java-core/issues/1081)) ([d4bfd0e](https://github.com/googleapis/java-core/commit/d4bfd0efea78e3266f237fbb620ab5441abf0003)) +* Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.8.0 ([#1082](https://github.com/googleapis/java-core/issues/1082)) ([bbda002](https://github.com/googleapis/java-core/commit/bbda002fc193af2b6a52fae54f1238c5ce66dc6e)) + ## [2.9.2](https://github.com/googleapis/java-core/compare/v2.9.1...v2.9.2) (2023-01-18) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 4165aa412ed0..2cc461cea6d6 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.3-SNAPSHOT + 2.9.3 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.3-SNAPSHOT + 2.9.3 com.google.cloud google-cloud-core-grpc - 2.9.3-SNAPSHOT + 2.9.3 com.google.cloud google-cloud-core-http - 2.9.3-SNAPSHOT + 2.9.3
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1294913d53bb..85696aae3773 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.9.3-SNAPSHOT + 2.9.3 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.3-SNAPSHOT + 2.9.3 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 37159a9dd518..f0cfec9c03ab 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.9.3-SNAPSHOT + 2.9.3 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.3-SNAPSHOT + 2.9.3 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6de7273212e2..6f7f257c5f40 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.9.3-SNAPSHOT + 2.9.3 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.3-SNAPSHOT + 2.9.3 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 9d732a638102..3edaa9531951 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.3-SNAPSHOT + 2.9.3 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 683c0cea1a1e..d63b7273cb37 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.2:2.9.3-SNAPSHOT +google-cloud-core:2.9.3:2.9.3 From 1c340c667bc7e4f63dccdb64f87469980ea82f35 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 22:16:13 +0000 Subject: [PATCH 2998/3036] chore(main): release 2.9.4-SNAPSHOT (#1087) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 2cc461cea6d6..d67e6aeecc9f 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.3 + 2.9.4-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.3 + 2.9.4-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.9.3 + 2.9.4-SNAPSHOT com.google.cloud google-cloud-core-http - 2.9.3 + 2.9.4-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 85696aae3773..1fa6c57b00f8 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.9.3 + 2.9.4-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.3 + 2.9.4-SNAPSHOT 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 f0cfec9c03ab..1c65348f2ea6 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.9.3 + 2.9.4-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.3 + 2.9.4-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 6f7f257c5f40..e6f1533861b6 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.9.3 + 2.9.4-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.3 + 2.9.4-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 3edaa9531951..8f087da2d095 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.3 + 2.9.4-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index d63b7273cb37..c03d95377ad4 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.3:2.9.3 +google-cloud-core:2.9.3:2.9.4-SNAPSHOT From 2b2960f1f528c5cda9bb41c763aa8af4211ac29a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 20 Jan 2023 00:40:01 +0000 Subject: [PATCH 2999/3036] deps: update dependency com.google.cloud:google-cloud-core-bom to v2.9.3 (#974) --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 17b235dcd143..0077ae40bc11 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,7 +58,7 @@ 2.14.0 1.3.2 2.10.1 - 2.9.2 + 2.9.3 1.42.3 1.34.1 2.1.2 From 56a53bfa1d24a631f34183316a3f9663dd9f75ce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 00:56:12 +0000 Subject: [PATCH 3000/3036] build(deps): bump protobuf from 3.20.1 to 3.20.2 in /.kokoro (#1086) Bumps [protobuf](https://togithub.com/protocolbuffers/protobuf) from 3.20.1 to 3.20.2.
    Release notes

    Sourced from protobuf's releases.

    Protocol Buffers v3.20.2

    C++

    Commits

    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=protobuf&package-manager=pip&previous-version=3.20.1&new-version=3.20.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
    Dependabot commands and options
    You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://togithub.com/googleapis/java-core/network/alerts).
    From 264495978c2e8608ee555a0422a2f68aa5dc1757 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 20:03:29 -0500 Subject: [PATCH 3001/3036] fix(java): skip fixing poms for special modules (#1744) (#1080) fix(java): handle empty modules Fixes https://github.com/googleapis/synthtool/issues/1743 Source-Link: https://github.com/googleapis/synthtool/commit/482d649d5d705c18028076985f64b214f6b6c14e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 Co-authored-by: Owl Bot Co-authored-by: Alice <65933803+alicejli@users.noreply.github.com> --- java-core/.github/.OwlBot.lock.yaml | 2 +- java-core/.kokoro/requirements.txt | 48 ++++++++++++++--------------- 2 files changed, 24 insertions(+), 26 deletions(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index 2b48c81e3722..da249b7ee988 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:4566cf7fcd0eece77705330267b2b61a70165711c7829d049b60bc2f1bbcd74e + digest: sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 \ No newline at end of file diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt index 1dfe630412d9..4895c9631fd8 100644 --- a/java-core/.kokoro/requirements.txt +++ b/java-core/.kokoro/requirements.txt @@ -307,31 +307,29 @@ packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 # via gcp-releasetool -protobuf==3.20.1 \ - --hash=sha256:06059eb6953ff01e56a25cd02cca1a9649a75a7e65397b5b9b4e929ed71d10cf \ - --hash=sha256:097c5d8a9808302fb0da7e20edf0b8d4703274d140fd25c5edabddcde43e081f \ - --hash=sha256:284f86a6207c897542d7e956eb243a36bb8f9564c1742b253462386e96c6b78f \ - --hash=sha256:32ca378605b41fd180dfe4e14d3226386d8d1b002ab31c969c366549e66a2bb7 \ - --hash=sha256:3cc797c9d15d7689ed507b165cd05913acb992d78b379f6014e013f9ecb20996 \ - --hash=sha256:62f1b5c4cd6c5402b4e2d63804ba49a327e0c386c99b1675c8a0fefda23b2067 \ - --hash=sha256:69ccfdf3657ba59569c64295b7d51325f91af586f8d5793b734260dfe2e94e2c \ - --hash=sha256:6f50601512a3d23625d8a85b1638d914a0970f17920ff39cec63aaef80a93fb7 \ - --hash=sha256:7403941f6d0992d40161aa8bb23e12575637008a5a02283a930addc0508982f9 \ - --hash=sha256:755f3aee41354ae395e104d62119cb223339a8f3276a0cd009ffabfcdd46bb0c \ - --hash=sha256:77053d28427a29987ca9caf7b72ccafee011257561259faba8dd308fda9a8739 \ - --hash=sha256:7e371f10abe57cee5021797126c93479f59fccc9693dafd6bd5633ab67808a91 \ - --hash=sha256:9016d01c91e8e625141d24ec1b20fed584703e527d28512aa8c8707f105a683c \ - --hash=sha256:9be73ad47579abc26c12024239d3540e6b765182a91dbc88e23658ab71767153 \ - --hash=sha256:adc31566d027f45efe3f44eeb5b1f329da43891634d61c75a5944e9be6dd42c9 \ - --hash=sha256:adfc6cf69c7f8c50fd24c793964eef18f0ac321315439d94945820612849c388 \ - --hash=sha256:af0ebadc74e281a517141daad9d0f2c5d93ab78e9d455113719a45a49da9db4e \ - --hash=sha256:cb29edb9eab15742d791e1025dd7b6a8f6fcb53802ad2f6e3adcb102051063ab \ - --hash=sha256:cd68be2559e2a3b84f517fb029ee611546f7812b1fdd0aa2ecc9bc6ec0e4fdde \ - --hash=sha256:cdee09140e1cd184ba9324ec1df410e7147242b94b5f8b0c64fc89e38a8ba531 \ - --hash=sha256:db977c4ca738dd9ce508557d4fce0f5aebd105e158c725beec86feb1f6bc20d8 \ - --hash=sha256:dd5789b2948ca702c17027c84c2accb552fc30f4622a98ab5c51fcfe8c50d3e7 \ - --hash=sha256:e250a42f15bf9d5b09fe1b293bdba2801cd520a9f5ea2d7fb7536d4441811d20 \ - --hash=sha256:ff8d8fa42675249bb456f5db06c00de6c2f4c27a065955917b28c4f15978b9c3 +protobuf==3.20.2 \ + --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ + --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ + --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ + --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ + --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ + --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ + --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ + --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ + --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ + --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ + --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ + --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ + --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ + --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ + --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ + --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ + --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ + --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ + --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ + --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ + --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ + --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 # via # gcp-docuploader # gcp-releasetool From b6bee541e82a052063a16ecbd5bc484dd6eade44 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 19 Jan 2023 20:22:02 -0500 Subject: [PATCH 3002/3036] build(deps): bump protobuf from 3.20.1 to 3.20.2 in /synthtool/gcp/templates/java_library/.kokoro (#1752) (#1079) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build(deps): bump protobuf from 3.20.1 to 3.20.2 in /synthtool/gcp/templates/java_library/.kokoro (#1752) build(deps): bump protobuf Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.20.1 to 3.20.2. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.20.1...v3.20.2) --- updated-dependencies: - dependency-name: protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Source-Link: https://github.com/googleapis/synthtool/commit/239f962d2e840d7ec319d33c5b9ab38302f0dce1 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:d5da32501662e4e53365220cc14cfb1d3b9446585397d57dac50171d92556ae7 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Signed-off-by: dependabot[bot] Co-authored-by: Owl Bot Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alice <65933803+alicejli@users.noreply.github.com> --- java-core/.github/.OwlBot.lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml index da249b7ee988..f8a8575314cc 100644 --- a/java-core/.github/.OwlBot.lock.yaml +++ b/java-core/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 \ No newline at end of file + digest: sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 From 7c23f7fa1643cc1f4f06f57e4695dcb97b5a0384 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 01:28:11 +0000 Subject: [PATCH 3003/3036] chore(main): release 2.9.4 (#1088) :robot: I have created a release *beep* *boop* --- ## [2.9.4](https://togithub.com/googleapis/java-core/compare/v2.9.3...v2.9.4) (2023-01-20) ### Bug Fixes * **java:** Skip fixing poms for special modules ([#1744](https://togithub.com/googleapis/java-core/issues/1744)) ([#1080](https://togithub.com/googleapis/java-core/issues/1080)) ([2644959](https://togithub.com/googleapis/java-core/commit/264495978c2e8608ee555a0422a2f68aa5dc1757)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/CHANGELOG.md | 7 +++++++ java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/java-core/CHANGELOG.md b/java-core/CHANGELOG.md index 538864615bfb..59ea2dd72f42 100644 --- a/java-core/CHANGELOG.md +++ b/java-core/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.9.4](https://github.com/googleapis/java-core/compare/v2.9.3...v2.9.4) (2023-01-20) + + +### Bug Fixes + +* **java:** Skip fixing poms for special modules ([#1744](https://github.com/googleapis/java-core/issues/1744)) ([#1080](https://github.com/googleapis/java-core/issues/1080)) ([db2cc2f](https://github.com/googleapis/java-core/commit/db2cc2fcd03342948c6c4e753d012d08000e7733)) + ## [2.9.3](https://github.com/googleapis/java-core/compare/v2.9.2...v2.9.3) (2023-01-19) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index d67e6aeecc9f..ac858ffcada7 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.4-SNAPSHOT + 2.9.4 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.4-SNAPSHOT + 2.9.4 com.google.cloud google-cloud-core-grpc - 2.9.4-SNAPSHOT + 2.9.4 com.google.cloud google-cloud-core-http - 2.9.4-SNAPSHOT + 2.9.4
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 1fa6c57b00f8..c864231f9a4d 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.9.4-SNAPSHOT + 2.9.4 jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.4-SNAPSHOT + 2.9.4 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 1c65348f2ea6..703c2a5bf057 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.9.4-SNAPSHOT + 2.9.4 jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.4-SNAPSHOT + 2.9.4 google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e6f1533861b6..2f684f957b2a 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.9.4-SNAPSHOT + 2.9.4 jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.4-SNAPSHOT + 2.9.4 google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 8f087da2d095..92bdbe366f4a 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.4-SNAPSHOT + 2.9.4 Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index c03d95377ad4..7ca9012797de 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.3:2.9.4-SNAPSHOT +google-cloud-core:2.9.4:2.9.4 From 592b441e9ab414701b0c59371a523368bfb9aeda Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 01:34:12 +0000 Subject: [PATCH 3004/3036] chore(main): release 2.9.5-SNAPSHOT (#1089) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-core/google-cloud-core-bom/pom.xml | 8 ++++---- java-core/google-cloud-core-grpc/pom.xml | 4 ++-- java-core/google-cloud-core-http/pom.xml | 4 ++-- java-core/google-cloud-core/pom.xml | 4 ++-- java-core/pom.xml | 2 +- java-core/versions.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index ac858ffcada7..1eaece9ecfec 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-core-bom - 2.9.4 + 2.9.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.cloud google-cloud-core - 2.9.4 + 2.9.5-SNAPSHOT com.google.cloud google-cloud-core-grpc - 2.9.4 + 2.9.5-SNAPSHOT com.google.cloud google-cloud-core-http - 2.9.4 + 2.9.5-SNAPSHOT
    diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index c864231f9a4d..3a1ac27eb42c 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.9.4 + 2.9.5-SNAPSHOT jar Google Cloud Core gRPC https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.4 + 2.9.5-SNAPSHOT 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 703c2a5bf057..9949bf5dcc10 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.9.4 + 2.9.5-SNAPSHOT jar Google Cloud Core HTTP https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.4 + 2.9.5-SNAPSHOT google-cloud-core-http diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index 2f684f957b2a..e1bac6e4d305 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.9.4 + 2.9.5-SNAPSHOT jar Google Cloud Core https://github.com/googleapis/java-core @@ -13,7 +13,7 @@ com.google.cloud google-cloud-core-parent - 2.9.4 + 2.9.5-SNAPSHOT google-cloud-core diff --git a/java-core/pom.xml b/java-core/pom.xml index 92bdbe366f4a..890c3909d232 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-core-parent pom - 2.9.4 + 2.9.5-SNAPSHOT Google Cloud Core Parent https://github.com/googleapis/java-core diff --git a/java-core/versions.txt b/java-core/versions.txt index 7ca9012797de..1a9b45f82bed 100644 --- a/java-core/versions.txt +++ b/java-core/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-core:2.9.4:2.9.4 +google-cloud-core:2.9.4:2.9.5-SNAPSHOT From f91b4b04e3a3d9aa5da87c998a6aca9ec633466d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 20 Jan 2023 02:38:13 +0000 Subject: [PATCH 3005/3036] deps: update google.core.version to v2.9.4 (#976) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | `2.9.3` -> `2.9.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.9.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.9.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.9.4/compatibility-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.9.4/confidence-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | | [com.google.cloud:google-cloud-core-bom](https://togithub.com/googleapis/java-core) | `2.9.3` -> `2.9.4` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.9.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.9.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.9.4/compatibility-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core-bom/2.9.4/confidence-slim/2.9.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
    googleapis/java-core ### [`v2.9.4`](https://togithub.com/googleapis/java-core/blob/HEAD/CHANGELOG.md#​294-httpsgithubcomgoogleapisjava-corecomparev293v294-2023-01-20) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.9.3...v2.9.4) ##### Bug Fixes - **java:** Skip fixing poms for special modules ([#​1744](https://togithub.com/googleapis/java-core/issues/1744)) ([#​1080](https://togithub.com/googleapis/java-core/issues/1080)) ([db2cc2f](https://togithub.com/googleapis/java-core/commit/db2cc2fcd03342948c6c4e753d012d08000e7733))
    --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies). --- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 0077ae40bc11..eee5dabe9690 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,7 +58,7 @@ 2.14.0 1.3.2 2.10.1 - 2.9.3 + 2.9.4 1.42.3 1.34.1 2.1.2 From 080d2026bae7a9e3ffb1aacd45e844c947ab1300 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 10:10:55 -0500 Subject: [PATCH 3006/3036] chore(main): release 3.1.2 (#973) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- java-shared-dependencies/CHANGELOG.md | 15 +++++++++++++++ .../dependency-convergence-check/pom.xml | 4 ++-- .../first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- .../third-party-dependencies/pom.xml | 2 +- .../upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 7 files changed, 25 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/CHANGELOG.md b/java-shared-dependencies/CHANGELOG.md index 139673b545c3..f9737573f697 100644 --- a/java-shared-dependencies/CHANGELOG.md +++ b/java-shared-dependencies/CHANGELOG.md @@ -1,6 +1,21 @@ # Changelog +## [3.1.2](https://github.com/googleapis/java-shared-dependencies/compare/v3.1.1...v3.1.2) (2023-01-20) + + +### Bug Fixes + +* **java:** Skip fixing poms for special modules ([#1744](https://github.com/googleapis/java-shared-dependencies/issues/1744)) ([#971](https://github.com/googleapis/java-shared-dependencies/issues/971)) ([74a96f1](https://github.com/googleapis/java-shared-dependencies/commit/74a96f1155418bde285877b72b4d7e600d08beb6)) + + +### Dependencies + +* Update dependency com.google.api:gapic-generator-java-bom to v2.14.0 ([#972](https://github.com/googleapis/java-shared-dependencies/issues/972)) ([2c742b5](https://github.com/googleapis/java-shared-dependencies/commit/2c742b56afc441f4922e6f6c737d3c3374ceadec)) +* Update dependency com.google.cloud:google-cloud-core-bom to v2.9.3 ([#974](https://github.com/googleapis/java-shared-dependencies/issues/974)) ([e4cb2ae](https://github.com/googleapis/java-shared-dependencies/commit/e4cb2ae34648c61ac40b7c9628e4ec088186fd57)) +* Update google.core.version to v2.9.2 ([#969](https://github.com/googleapis/java-shared-dependencies/issues/969)) ([aa946a6](https://github.com/googleapis/java-shared-dependencies/commit/aa946a6e33a5c8c3d6ae37bb07c3872c0bab793b)) +* Update google.core.version to v2.9.4 ([#976](https://github.com/googleapis/java-shared-dependencies/issues/976)) ([718246c](https://github.com/googleapis/java-shared-dependencies/commit/718246c985488b138eb0113b5a3200d3eb2af31d)) + ## [3.1.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.1.0...v3.1.1) (2023-01-09) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 5563f0a43ad4..6f32e848ab05 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.1.2-SNAPSHOT + 3.1.2 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.2-SNAPSHOT + 3.1.2 pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index eee5dabe9690..da35c4d02942 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.1.2-SNAPSHOT + 3.1.2 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 7016d68f245e..916d2f60838b 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.1.2-SNAPSHOT + 3.1.2 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.1.2-SNAPSHOT + 3.1.2 pom import com.google.cloud third-party-dependencies - 3.1.2-SNAPSHOT + 3.1.2 pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index c5bc1698efc0..01bd6a16df62 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.1.2-SNAPSHOT + 3.1.2 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index 531e86982d8a..c06673e6db5c 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.1.2-SNAPSHOT + 3.1.2 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.2-SNAPSHOT + 3.1.2 pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 46e9f9180b56..73f036dce07a 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.1.1:3.1.2-SNAPSHOT +google-cloud-shared-dependencies:3.1.2:3.1.2 From b92c43b0124f05431f547aeebdc7860a45accae3 Mon Sep 17 00:00:00 2001 From: Burke Davison <40617934+burkedavison@users.noreply.github.com> Date: Thu, 26 Jan 2023 10:21:26 -0500 Subject: [PATCH 3007/3036] fix: Outdated versioning info in README.md (#979) --- java-shared-dependencies/README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/java-shared-dependencies/README.md b/java-shared-dependencies/README.md index 07b51a8b8306..82f2ebe93e03 100644 --- a/java-shared-dependencies/README.md +++ b/java-shared-dependencies/README.md @@ -27,9 +27,6 @@ If you are using Maven, add this to the `dependencyManagement` section. This library follows [Semantic Versioning](http://semver.org/). -It is currently in major version zero (``0.y.z``), which means that anything may change at any time -and the public API should not be considered stable. - ## Contributing Contributions to this library are always welcome and highly encouraged. From a352bf942a09345a5ce42e786ba089f948c9c8f4 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Jan 2023 16:06:12 +0000 Subject: [PATCH 3008/3036] chore(main): release 3.1.3-SNAPSHOT (#977) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- .../dependency-convergence-check/pom.xml | 4 ++-- java-shared-dependencies/first-party-dependencies/pom.xml | 2 +- java-shared-dependencies/pom.xml | 6 +++--- java-shared-dependencies/third-party-dependencies/pom.xml | 2 +- java-shared-dependencies/upper-bound-check/pom.xml | 4 ++-- java-shared-dependencies/versions.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index 6f32e848ab05..b5f7463b8790 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.1.2 + 3.1.3-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.2 + 3.1.3-SNAPSHOT pom import diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index da35c4d02942..b952ccf6fcfd 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.1.2 + 3.1.3-SNAPSHOT Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 916d2f60838b..aff3512a583c 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.1.2 + 3.1.3-SNAPSHOT first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.1.2 + 3.1.3-SNAPSHOT pom import com.google.cloud third-party-dependencies - 3.1.2 + 3.1.3-SNAPSHOT pom import diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 01bd6a16df62..ad48edc026aa 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.1.2 + 3.1.3-SNAPSHOT Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index c06673e6db5c..bfd8c76f0447 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.1.2 + 3.1.3-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.2 + 3.1.3-SNAPSHOT pom import diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt index 73f036dce07a..dba4e9392d49 100644 --- a/java-shared-dependencies/versions.txt +++ b/java-shared-dependencies/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.1.2:3.1.2 +google-cloud-shared-dependencies:3.1.2:3.1.3-SNAPSHOT From 49937374d59f9dd63ebde579aeeb14c352c67e60 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Jan 2023 16:08:12 +0000 Subject: [PATCH 3009/3036] chore(main): release 1.7.1-SNAPSHOT (#593) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- java-iam/google-iam-policy/pom.xml | 4 ++-- java-iam/pom.xml | 2 +- java-iam/versions.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index e17c3fece548..864b133af344 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-iam-policy - 1.7.0 + 1.7.1-SNAPSHOT jar Google IAM Policy https://github.com/googleapis/java-eventarc @@ -11,7 +11,7 @@ com.google.cloud google-iam-policy-parent - 1.7.0 + 1.7.1-SNAPSHOT google-iam-policy diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 7dd780aa8c7e..1636e7a6cfd2 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-iam-policy-parent pom - 1.7.0 + 1.7.1-SNAPSHOT Google IAM Policy Parent https://github.com/googleapis/java-iam diff --git a/java-iam/versions.txt b/java-iam/versions.txt index d5f5523ceff8..1b2bb98242e9 100644 --- a/java-iam/versions.txt +++ b/java-iam/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-iam-policy:1.7.0:1.7.0 +google-iam-policy:1.7.0:1.7.1-SNAPSHOT From bc74866527e12f3958e6a34a81b7b4ef5a677f8d Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:46:11 +0000 Subject: [PATCH 3010/3036] chore: setup owlbot configuration --- java-core/{.github => }/.OwlBot.yaml | 4 ++-- java-core/.github/.OwlBot.lock.yaml | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) rename java-core/{.github => }/.OwlBot.yaml (88%) delete mode 100644 java-core/.github/.OwlBot.lock.yaml diff --git a/java-core/.github/.OwlBot.yaml b/java-core/.OwlBot.yaml similarity index 88% rename from java-core/.github/.OwlBot.yaml rename to java-core/.OwlBot.yaml index 5d9a9d8b5607..bd0dd498bfac 100644 --- a/java-core/.github/.OwlBot.yaml +++ b/java-core/.OwlBot.yaml @@ -12,5 +12,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -docker: - image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" + +api-name: google-cloud-core diff --git a/java-core/.github/.OwlBot.lock.yaml b/java-core/.github/.OwlBot.lock.yaml deleted file mode 100644 index f8a8575314cc..000000000000 --- a/java-core/.github/.OwlBot.lock.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2023 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -docker: - image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 From 897f03424ba0b57229798b9c4494520082eeb90f Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:46:20 +0000 Subject: [PATCH 3011/3036] chore: setup owlbot configuration --- .../{.github => }/.OwlBot.yaml | 4 ++-- .../.github/.OwlBot.lock.yaml | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) rename java-shared-dependencies/{.github => }/.OwlBot.yaml (88%) delete mode 100644 java-shared-dependencies/.github/.OwlBot.lock.yaml diff --git a/java-shared-dependencies/.github/.OwlBot.yaml b/java-shared-dependencies/.OwlBot.yaml similarity index 88% rename from java-shared-dependencies/.github/.OwlBot.yaml rename to java-shared-dependencies/.OwlBot.yaml index b298a79f0a92..06af71f711aa 100644 --- a/java-shared-dependencies/.github/.OwlBot.yaml +++ b/java-shared-dependencies/.OwlBot.yaml @@ -14,5 +14,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -docker: - image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" \ No newline at end of file + +api-name: google-cloud-shared-dependencies diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml deleted file mode 100644 index f8a8575314cc..000000000000 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2023 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -docker: - image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:bd5071596a47614d1fe15eb766c4255bae330f823b606e1196a3b0c8d2e96fd1 From 494c74d01f8e255f77df01f0f8405205ab8c23aa Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:46:28 +0000 Subject: [PATCH 3012/3036] chore: setup owlbot configuration --- java-iam/{.github => }/.OwlBot.yaml | 8 ++++---- java-iam/.github/.OwlBot.lock.yaml | 16 ---------------- 2 files changed, 4 insertions(+), 20 deletions(-) rename java-iam/{.github => }/.OwlBot.yaml (83%) delete mode 100644 java-iam/.github/.OwlBot.lock.yaml diff --git a/java-iam/.github/.OwlBot.yaml b/java-iam/.OwlBot.yaml similarity index 83% rename from java-iam/.github/.OwlBot.yaml rename to java-iam/.OwlBot.yaml index 7aa46a2190d4..0b83a43351ef 100644 --- a/java-iam/.github/.OwlBot.yaml +++ b/java-iam/.OwlBot.yaml @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -docker: - image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest" deep-remove-regex: - "/grpc-google-.*/src" @@ -24,6 +22,8 @@ deep-preserve-regex: deep-copy-regex: - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src" - dest: "/owl-bot-staging/v2beta/google-iam-policy/src" + dest: "/owl-bot-staging/java-iam/v2beta/google-iam-policy/src" - source: "/google/iam/v2/google-cloud-iam-v2-java/gapic-google-cloud-iam-v2-java/src" - dest: "/owl-bot-staging/v2/google-iam-policy/src" + dest: "/owl-bot-staging/java-iam/v2/google-iam-policy/src" + +api-name: iam diff --git a/java-iam/.github/.OwlBot.lock.yaml b/java-iam/.github/.OwlBot.lock.yaml deleted file mode 100644 index 288e394897e6..000000000000 --- a/java-iam/.github/.OwlBot.lock.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -docker: - image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:9de537d592b60e5eac73b374a28263969bae91ecdb29b445e894576fbf54851c From 0a44e7d8e7d818efb001e25745290982e1e2d35a Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:46:34 +0000 Subject: [PATCH 3013/3036] chore: add template files --- .../google-cloud-jar-parent/CHANGELOG.md | 32 ++ .../google-cloud-jar-parent/pom.xml | 274 ++++++++++++++++++ .../google-cloud-pom-parent/CHANGELOG.md | 28 ++ .../google-cloud-pom-parent/java.header | 15 + .../license-checks.xml | 10 + .../google-cloud-pom-parent/pom.xml | 102 +++++++ 6 files changed, 461 insertions(+) create mode 100644 google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md create mode 100644 google-cloud-jar-parent/google-cloud-jar-parent/pom.xml create mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md create mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/java.header create mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml create mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/pom.xml diff --git a/google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md b/google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md new file mode 100644 index 000000000000..bf15005e7db4 --- /dev/null +++ b/google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md @@ -0,0 +1,32 @@ +# Changelog + +## [0.2.0](https://github.com/googleapis/google-cloud-java/compare/google-cloud-jar-parent-v0.1.1-SNAPSHOT...google-cloud-jar-parent-v0.2.0) (2022-10-24) + + +### Features + +* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) +* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) + + +### Bug Fixes + +* **deps:** update dependency com.google.apis:google-api-services-dns to v1-rev20221013-2.0.0 ([#8577](https://github.com/googleapis/google-cloud-java/issues/8577)) ([8db6d19](https://github.com/googleapis/google-cloud-java/commit/8db6d1920ca0b66c5e9142ab640e5b511fcbc0a1)) +* **deps:** update dependency com.google.cloud:google-cloud-pubsub-bom to v1.120.22 ([#8578](https://github.com/googleapis/google-cloud-java/issues/8578)) ([1c530d0](https://github.com/googleapis/google-cloud-java/commit/1c530d0d44976e50384b6bda7d4770e43a5bd5ca)) +* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#8648](https://github.com/googleapis/google-cloud-java/issues/8648)) ([187aa73](https://github.com/googleapis/google-cloud-java/commit/187aa7317bb84844ab94ae2532f73edbf363f626)) +* **deps:** update dependency com.google.cloud:google-cloud-storage to v2.13.0 ([#8579](https://github.com/googleapis/google-cloud-java/issues/8579)) ([2ba4403](https://github.com/googleapis/google-cloud-java/commit/2ba4403fd5c28668322ae9fe6257266b69cc2fba)) +* **deps:** update dependency com.google.cloud:google-cloud-storage to v2.13.1 ([#8650](https://github.com/googleapis/google-cloud-java/issues/8650)) ([aa8bf1b](https://github.com/googleapis/google-cloud-java/commit/aa8bf1b79da5eca75f6ea7b50519ba3114b6dd76)) +* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) + +## 0.1.0 (2022-10-17) + + +### Features + +* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) +* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) + + +### Bug Fixes + +* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) diff --git a/google-cloud-jar-parent/google-cloud-jar-parent/pom.xml b/google-cloud-jar-parent/google-cloud-jar-parent/pom.xml new file mode 100644 index 000000000000..af963cba13fb --- /dev/null +++ b/google-cloud-jar-parent/google-cloud-jar-parent/pom.xml @@ -0,0 +1,274 @@ + + + 4.0.0 + google-cloud-jar-parent + com.google.cloud + 1.4.0-SNAPSHOT + pom + Google Cloud JAR Parent + + The parent for all client library JAR modules in the repository. + + + + com.google.cloud + google-cloud-pom-parent + 1.4.0-SNAPSHOT + ../google-cloud-pom-parent/pom.xml + + + false + + + + + + com.google.cloud + google-cloud-shared-dependencies + 3.1.2 + pom + import + + + io.perfmark + perfmark-api + 0.26.0 + + + com.google.cloud + google-cloud-pubsub-bom + 1.123.1 + pom + import + + + com.google.cloud + google-cloud-storage + 2.17.1 + + + com.google.apis + google-api-services-dns + v1-rev20221110-2.0.0 + + + com.google.apis + google-api-services-translate + v2-rev20170525-2.0.0 + + + com.google.apis + google-api-services-cloudresourcemanager + v1-rev20220807-2.0.0 + + + com.google.apis + google-api-services-storage + v1-rev20220705-2.0.0 + + + + + junit + junit + 4.13.2 + test + + + joda-time + joda-time + 2.12.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + org.checkerframework + checker-qual + + + + + org.easymock + easymock + 5.1.0 + test + + + org.mockito + mockito-all + 1.10.19 + test + + + org.objenesis + objenesis + 3.3 + test + + + + + + + java9 + + [9,) + + + + + javax.annotation + javax.annotation-api + provided + + + + + java17 + + [17,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + --add-opens=java.base/java.time=ALL-UNNAMED + --add-opens=java.base/java.math=ALL-UNNAMED + --add-opens=java.base/sun.security.rsa=ALL-UNNAMED + --add-opens=java.base/sun.security.pkcs=ALL-UNNAMED + --add-opens=java.base/sun.security.x509=ALL-UNNAMED + --add-opens=java.base/sun.security.util=ALL-UNNAMED + --add-opens=java.base/java.security=ALL-UNNAMED + --add-opens=java.base/java.lang=ALL-UNNAMED + + + + + + + + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.7 + + + + prepare-agent + + + + report + test + + report + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + ${skipUnitTests} + + + + org.apache.maven.plugins + maven-failsafe-plugin + + 1C + true + + + + org.codehaus.mojo + flatten-maven-plugin + + + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.4.2 + + + + index + dependency-info + team + ci-management + issue-management + licenses + scm + dependency-management + distribution-management + summary + modules + + + + + true + ${site.installationModule} + jar + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.4.1 + + + html + + aggregate + javadoc + + + + + none + protected + true + ${project.build.directory}/javadoc + + + Test helpers packages + com.google.cloud.testing + + + SPI packages + com.google.cloud.spi* + + + + + https://grpc.io/grpc-java/javadoc/ + https://developers.google.com/protocol-buffers/docs/reference/java/ + https://googleapis.dev/java/google-auth-library/latest/ + https://googleapis.dev/java/gax/latest/ + https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ + + + + + + diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md b/google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md new file mode 100644 index 000000000000..e417c2a706a8 --- /dev/null +++ b/google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog + +## [0.2.0](https://github.com/googleapis/google-cloud-java/compare/google-cloud-pom-parent-v0.1.1-SNAPSHOT...google-cloud-pom-parent-v0.2.0) (2022-10-24) + + +### Features + +* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) +* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) + + +### Bug Fixes + +* **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.5.4 ([#8673](https://github.com/googleapis/google-cloud-java/issues/8673)) ([f87b896](https://github.com/googleapis/google-cloud-java/commit/f87b896ed4f576cdb2188d3ce1b071d8076eab1a)) +* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) + +## 0.1.0 (2022-10-17) + + +### Features + +* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) +* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) + + +### Bug Fixes + +* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/java.header b/google-cloud-pom-parent/google-cloud-pom-parent/java.header new file mode 100644 index 000000000000..772004189ad5 --- /dev/null +++ b/google-cloud-pom-parent/google-cloud-pom-parent/java.header @@ -0,0 +1,15 @@ +^/\*$ +^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ +^ \*/$ \ No newline at end of file diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml b/google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml new file mode 100644 index 000000000000..8f901ab6d3c9 --- /dev/null +++ b/google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/pom.xml b/google-cloud-pom-parent/google-cloud-pom-parent/pom.xml new file mode 100644 index 000000000000..aac50d5df39d --- /dev/null +++ b/google-cloud-pom-parent/google-cloud-pom-parent/pom.xml @@ -0,0 +1,102 @@ + + + 4.0.0 + google-cloud-pom-parent + com.google.cloud + 1.4.0-SNAPSHOT + pom + Google Cloud POM Parent + https://github.com/googleapis/google-cloud-java + + The top-level parent for all modules in the repository. + + + com.google.cloud + google-cloud-shared-config + 1.5.5 + + + + + false + java.header + + + + + suztomo + Tomo Suzuki + suztomo@google.com + Google + + Developer + + + + + Google LLC + + + scm:git:git@github.com:googleapis/google-cloud-java.git + scm:git:git@github.com:googleapis/google-cloud-java.git + https://github.com/googleapis/google-cloud-java + HEAD + + + https://github.com/googleapis/google-cloud-java/issues + GitHub Issues + + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + + checkstyle-tests + + [11,) + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + checkstyle + validate + + check + + + ${checkstyle.header.file} + + + + + + + + + + + + google-maven-central-copy + Google Maven Central copy + https://maven-central.storage-download.googleapis.com/maven2 + + + maven-central + Maven Central + https://repo1.maven.org/maven2 + + + From c6655a7dca63a64d392a80a1cd7c59d85703271e Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:46:35 +0000 Subject: [PATCH 3014/3036] chore: create aggregator pom --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index 40afd5668d3b..c1be8df05483 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,7 @@ java-containeranalysis java-container java-contentwarehouse + java-core java-datacatalog java-dataflow java-dataform @@ -92,6 +93,7 @@ java-gsuite-addons java-iam-admin java-iamcredentials + java-iam java-ids java-iot java-kms @@ -137,6 +139,7 @@ java-servicedirectory java-service-management java-service-usage + java-shared-dependencies java-shell java-speech java-storage-transfer From af4d39893e8e5179d23336beaf7fea51504ecfa2 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:51:30 +0000 Subject: [PATCH 3015/3036] Removing unnecessary files --- .../google-cloud-jar-parent/CHANGELOG.md | 32 -- .../google-cloud-jar-parent/pom.xml | 274 ------------------ .../google-cloud-pom-parent/CHANGELOG.md | 28 -- .../google-cloud-pom-parent/java.header | 15 - .../license-checks.xml | 10 - .../google-cloud-pom-parent/pom.xml | 102 ------- 6 files changed, 461 deletions(-) delete mode 100644 google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md delete mode 100644 google-cloud-jar-parent/google-cloud-jar-parent/pom.xml delete mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md delete mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/java.header delete mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml delete mode 100644 google-cloud-pom-parent/google-cloud-pom-parent/pom.xml diff --git a/google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md b/google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md deleted file mode 100644 index bf15005e7db4..000000000000 --- a/google-cloud-jar-parent/google-cloud-jar-parent/CHANGELOG.md +++ /dev/null @@ -1,32 +0,0 @@ -# Changelog - -## [0.2.0](https://github.com/googleapis/google-cloud-java/compare/google-cloud-jar-parent-v0.1.1-SNAPSHOT...google-cloud-jar-parent-v0.2.0) (2022-10-24) - - -### Features - -* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) -* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) - - -### Bug Fixes - -* **deps:** update dependency com.google.apis:google-api-services-dns to v1-rev20221013-2.0.0 ([#8577](https://github.com/googleapis/google-cloud-java/issues/8577)) ([8db6d19](https://github.com/googleapis/google-cloud-java/commit/8db6d1920ca0b66c5e9142ab640e5b511fcbc0a1)) -* **deps:** update dependency com.google.cloud:google-cloud-pubsub-bom to v1.120.22 ([#8578](https://github.com/googleapis/google-cloud-java/issues/8578)) ([1c530d0](https://github.com/googleapis/google-cloud-java/commit/1c530d0d44976e50384b6bda7d4770e43a5bd5ca)) -* **deps:** update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#8648](https://github.com/googleapis/google-cloud-java/issues/8648)) ([187aa73](https://github.com/googleapis/google-cloud-java/commit/187aa7317bb84844ab94ae2532f73edbf363f626)) -* **deps:** update dependency com.google.cloud:google-cloud-storage to v2.13.0 ([#8579](https://github.com/googleapis/google-cloud-java/issues/8579)) ([2ba4403](https://github.com/googleapis/google-cloud-java/commit/2ba4403fd5c28668322ae9fe6257266b69cc2fba)) -* **deps:** update dependency com.google.cloud:google-cloud-storage to v2.13.1 ([#8650](https://github.com/googleapis/google-cloud-java/issues/8650)) ([aa8bf1b](https://github.com/googleapis/google-cloud-java/commit/aa8bf1b79da5eca75f6ea7b50519ba3114b6dd76)) -* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) - -## 0.1.0 (2022-10-17) - - -### Features - -* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) -* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) - - -### Bug Fixes - -* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) diff --git a/google-cloud-jar-parent/google-cloud-jar-parent/pom.xml b/google-cloud-jar-parent/google-cloud-jar-parent/pom.xml deleted file mode 100644 index af963cba13fb..000000000000 --- a/google-cloud-jar-parent/google-cloud-jar-parent/pom.xml +++ /dev/null @@ -1,274 +0,0 @@ - - - 4.0.0 - google-cloud-jar-parent - com.google.cloud - 1.4.0-SNAPSHOT - pom - Google Cloud JAR Parent - - The parent for all client library JAR modules in the repository. - - - - com.google.cloud - google-cloud-pom-parent - 1.4.0-SNAPSHOT - ../google-cloud-pom-parent/pom.xml - - - false - - - - - - com.google.cloud - google-cloud-shared-dependencies - 3.1.2 - pom - import - - - io.perfmark - perfmark-api - 0.26.0 - - - com.google.cloud - google-cloud-pubsub-bom - 1.123.1 - pom - import - - - com.google.cloud - google-cloud-storage - 2.17.1 - - - com.google.apis - google-api-services-dns - v1-rev20221110-2.0.0 - - - com.google.apis - google-api-services-translate - v2-rev20170525-2.0.0 - - - com.google.apis - google-api-services-cloudresourcemanager - v1-rev20220807-2.0.0 - - - com.google.apis - google-api-services-storage - v1-rev20220705-2.0.0 - - - - - junit - junit - 4.13.2 - test - - - joda-time - joda-time - 2.12.2 - test - - - com.google.truth - truth - 1.1.3 - test - - - org.checkerframework - checker-qual - - - - - org.easymock - easymock - 5.1.0 - test - - - org.mockito - mockito-all - 1.10.19 - test - - - org.objenesis - objenesis - 3.3 - test - - - - - - - java9 - - [9,) - - - - - javax.annotation - javax.annotation-api - provided - - - - - java17 - - [17,) - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - --add-opens=java.base/java.time=ALL-UNNAMED - --add-opens=java.base/java.math=ALL-UNNAMED - --add-opens=java.base/sun.security.rsa=ALL-UNNAMED - --add-opens=java.base/sun.security.pkcs=ALL-UNNAMED - --add-opens=java.base/sun.security.x509=ALL-UNNAMED - --add-opens=java.base/sun.security.util=ALL-UNNAMED - --add-opens=java.base/java.security=ALL-UNNAMED - --add-opens=java.base/java.lang=ALL-UNNAMED - - - - - - - - - - - - - org.jacoco - jacoco-maven-plugin - 0.8.7 - - - - prepare-agent - - - - report - test - - report - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - ${skipUnitTests} - - - - org.apache.maven.plugins - maven-failsafe-plugin - - 1C - true - - - - org.codehaus.mojo - flatten-maven-plugin - - - - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 3.4.2 - - - - index - dependency-info - team - ci-management - issue-management - licenses - scm - dependency-management - distribution-management - summary - modules - - - - - true - ${site.installationModule} - jar - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.4.1 - - - html - - aggregate - javadoc - - - - - none - protected - true - ${project.build.directory}/javadoc - - - Test helpers packages - com.google.cloud.testing - - - SPI packages - com.google.cloud.spi* - - - - - https://grpc.io/grpc-java/javadoc/ - https://developers.google.com/protocol-buffers/docs/reference/java/ - https://googleapis.dev/java/google-auth-library/latest/ - https://googleapis.dev/java/gax/latest/ - https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ - - - - - - diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md b/google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md deleted file mode 100644 index e417c2a706a8..000000000000 --- a/google-cloud-pom-parent/google-cloud-pom-parent/CHANGELOG.md +++ /dev/null @@ -1,28 +0,0 @@ -# Changelog - -## [0.2.0](https://github.com/googleapis/google-cloud-java/compare/google-cloud-pom-parent-v0.1.1-SNAPSHOT...google-cloud-pom-parent-v0.2.0) (2022-10-24) - - -### Features - -* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) -* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) - - -### Bug Fixes - -* **deps:** update dependency com.google.cloud:google-cloud-shared-config to v1.5.4 ([#8673](https://github.com/googleapis/google-cloud-java/issues/8673)) ([f87b896](https://github.com/googleapis/google-cloud-java/commit/f87b896ed4f576cdb2188d3ce1b071d8076eab1a)) -* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) - -## 0.1.0 (2022-10-17) - - -### Features - -* [analyticsdata] add `subject_to_thresholding` field to `ResponseMetadata` type ([#8545](https://github.com/googleapis/google-cloud-java/issues/8545)) ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) -* add `tokens_per_project_per_hour` field to `PropertyQuota` type ([8fdc6c1](https://github.com/googleapis/google-cloud-java/commit/8fdc6c1f10f88f30f4d1407579d645f75366b4cf)) - - -### Bug Fixes - -* owl-bot-staging should not be commited ([#8337](https://github.com/googleapis/google-cloud-java/issues/8337)) ([c9bb4a9](https://github.com/googleapis/google-cloud-java/commit/c9bb4a97aa19032b78c86c951fe9920f24ac4eec)) diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/java.header b/google-cloud-pom-parent/google-cloud-pom-parent/java.header deleted file mode 100644 index 772004189ad5..000000000000 --- a/google-cloud-pom-parent/google-cloud-pom-parent/java.header +++ /dev/null @@ -1,15 +0,0 @@ -^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ -^ \*/$ \ No newline at end of file diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml b/google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml deleted file mode 100644 index 8f901ab6d3c9..000000000000 --- a/google-cloud-pom-parent/google-cloud-pom-parent/license-checks.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/google-cloud-pom-parent/google-cloud-pom-parent/pom.xml b/google-cloud-pom-parent/google-cloud-pom-parent/pom.xml deleted file mode 100644 index aac50d5df39d..000000000000 --- a/google-cloud-pom-parent/google-cloud-pom-parent/pom.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - 4.0.0 - google-cloud-pom-parent - com.google.cloud - 1.4.0-SNAPSHOT - pom - Google Cloud POM Parent - https://github.com/googleapis/google-cloud-java - - The top-level parent for all modules in the repository. - - - com.google.cloud - google-cloud-shared-config - 1.5.5 - - - - - false - java.header - - - - - suztomo - Tomo Suzuki - suztomo@google.com - Google - - Developer - - - - - Google LLC - - - scm:git:git@github.com:googleapis/google-cloud-java.git - scm:git:git@github.com:googleapis/google-cloud-java.git - https://github.com/googleapis/google-cloud-java - HEAD - - - https://github.com/googleapis/google-cloud-java/issues - GitHub Issues - - - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - - - - - checkstyle-tests - - [11,) - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - - checkstyle - validate - - check - - - ${checkstyle.header.file} - - - - - - - - - - - - google-maven-central-copy - Google Maven Central copy - https://maven-central.storage-download.googleapis.com/maven2 - - - maven-central - Maven Central - https://repo1.maven.org/maven2 - - - From 7f5ffbf7f9aa2eee0c3f8e1f0fc4730c3135421a Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:54:32 +0000 Subject: [PATCH 3016/3036] Removing unnecessary GitHub and Kokoro files --- java-core/.OwlBot.yaml | 16 - java-core/.github/CODEOWNERS | 13 - .../.github/ISSUE_TEMPLATE/bug_report.md | 51 -- .../.github/ISSUE_TEMPLATE/feature_request.md | 21 - .../.github/ISSUE_TEMPLATE/support_request.md | 7 - java-core/.github/PULL_REQUEST_TEMPLATE.md | 10 - java-core/.github/auto-label.yaml | 15 - java-core/.github/blunderbuss.yml | 7 - java-core/.github/generated-files-bot.yml | 12 - java-core/.github/release-please.yml | 24 - java-core/.github/release-trigger.yml | 1 - java-core/.github/snippet-bot.yml | 0 java-core/.github/sync-repo-settings.yaml | 102 ---- java-core/.github/trusted-contribution.yml | 3 - .../.github/workflows/approve-readme.yaml | 69 --- java-core/.github/workflows/auto-release.yaml | 103 ---- java-core/.github/workflows/ci.yaml | 89 ---- java-core/.github/workflows/downstream.yaml | 159 ------ java-core/.kokoro/build.bat | 18 - java-core/.kokoro/build.sh | 134 ----- java-core/.kokoro/coerce_logs.sh | 37 -- java-core/.kokoro/common.cfg | 13 - java-core/.kokoro/common.sh | 60 --- java-core/.kokoro/continuous/common.cfg | 25 - java-core/.kokoro/continuous/java8.cfg | 12 - .../.kokoro/continuous/propose_release.sh | 29 -- java-core/.kokoro/dependencies.sh | 59 --- .../downstream-client-library-check.sh | 101 ---- java-core/.kokoro/nightly/common.cfg | 25 - java-core/.kokoro/nightly/integration.cfg | 37 -- .../.kokoro/nightly/java11-integration.cfg | 37 -- java-core/.kokoro/nightly/java11.cfg | 7 - java-core/.kokoro/nightly/java7.cfg | 7 - java-core/.kokoro/nightly/java8-osx.cfg | 3 - java-core/.kokoro/nightly/java8-win.cfg | 3 - java-core/.kokoro/nightly/java8.cfg | 12 - java-core/.kokoro/nightly/samples.cfg | 38 -- java-core/.kokoro/populate-secrets.sh | 43 -- java-core/.kokoro/presubmit/clirr.cfg | 13 - java-core/.kokoro/presubmit/common.cfg | 34 -- java-core/.kokoro/presubmit/dependencies.cfg | 12 - .../.kokoro/presubmit/graalvm-native-17.cfg | 33 -- .../.kokoro/presubmit/graalvm-native.cfg | 33 -- java-core/.kokoro/presubmit/integration.cfg | 33 -- java-core/.kokoro/presubmit/java11.cfg | 7 - java-core/.kokoro/presubmit/java7.cfg | 7 - java-core/.kokoro/presubmit/java8-osx.cfg | 3 - java-core/.kokoro/presubmit/java8-win.cfg | 3 - java-core/.kokoro/presubmit/java8.cfg | 12 - .../.kokoro/presubmit/linkage-monitor.cfg | 12 - java-core/.kokoro/presubmit/lint.cfg | 13 - java-core/.kokoro/presubmit/samples.cfg | 33 -- java-core/.kokoro/readme.sh | 45 -- java-core/.kokoro/release/bump_snapshot.cfg | 53 -- java-core/.kokoro/release/bump_snapshot.sh | 30 -- java-core/.kokoro/release/common.cfg | 49 -- java-core/.kokoro/release/common.sh | 50 -- java-core/.kokoro/release/drop.cfg | 6 - java-core/.kokoro/release/drop.sh | 32 -- java-core/.kokoro/release/promote.cfg | 6 - java-core/.kokoro/release/promote.sh | 34 -- java-core/.kokoro/release/publish_javadoc.cfg | 23 - java-core/.kokoro/release/publish_javadoc.sh | 53 -- .../.kokoro/release/publish_javadoc11.cfg | 30 -- .../.kokoro/release/publish_javadoc11.sh | 63 --- java-core/.kokoro/release/snapshot.cfg | 6 - java-core/.kokoro/release/snapshot.sh | 33 -- java-core/.kokoro/release/stage.cfg | 19 - java-core/.kokoro/release/stage.sh | 47 -- java-core/.kokoro/requirements.in | 6 - java-core/.kokoro/requirements.txt | 408 ---------------- java-core/.kokoro/trampoline.sh | 26 - java-core/CODE_OF_CONDUCT.md | 94 ---- java-core/CONTRIBUTING.md | 92 ---- java-core/LICENSE | 201 -------- java-core/SECURITY.md | 7 - java-core/codecov.yaml | 4 - java-core/java.header | 15 - java-core/renovate.json | 75 --- java-core/versions.txt | 4 - java-iam/.github/CODEOWNERS | 13 - java-iam/.github/ISSUE_TEMPLATE/bug_report.md | 51 -- .../.github/ISSUE_TEMPLATE/feature_request.md | 21 - .../.github/ISSUE_TEMPLATE/support_request.md | 7 - java-iam/.github/PULL_REQUEST_TEMPLATE.md | 10 - java-iam/.github/auto-label.yaml | 15 - java-iam/.github/blunderbuss.yml | 7 - java-iam/.github/generated-files-bot.yml | 12 - java-iam/.github/release-please.yml | 8 - java-iam/.github/release-trigger.yml | 1 - java-iam/.github/snippet-bot.yml | 0 java-iam/.github/sync-repo-settings.yaml | 40 -- java-iam/.github/trusted-contribution.yml | 3 - .../.github/workflows/approve-readme.yaml | 69 --- java-iam/.github/workflows/auto-release.yaml | 103 ---- java-iam/.github/workflows/ci.yaml | 89 ---- java-iam/.kokoro/build.bat | 18 - java-iam/.kokoro/build.sh | 134 ----- java-iam/.kokoro/coerce_logs.sh | 37 -- java-iam/.kokoro/common.cfg | 13 - java-iam/.kokoro/common.sh | 60 --- java-iam/.kokoro/continuous/common.cfg | 25 - java-iam/.kokoro/continuous/dependencies.cfg | 12 - java-iam/.kokoro/continuous/integration.cfg | 7 - java-iam/.kokoro/continuous/java11.cfg | 7 - java-iam/.kokoro/continuous/java7.cfg | 7 - java-iam/.kokoro/continuous/java8-osx.cfg | 3 - java-iam/.kokoro/continuous/java8-win.cfg | 3 - java-iam/.kokoro/continuous/java8.cfg | 12 - java-iam/.kokoro/continuous/lint.cfg | 13 - .../.kokoro/continuous/propose_release.cfg | 53 -- java-iam/.kokoro/continuous/samples.cfg | 31 -- java-iam/.kokoro/dependencies.sh | 59 --- java-iam/.kokoro/nightly/common.cfg | 25 - java-iam/.kokoro/nightly/dependencies.cfg | 12 - java-iam/.kokoro/nightly/integration.cfg | 37 -- .../.kokoro/nightly/java11-integration.cfg | 37 -- java-iam/.kokoro/nightly/java11.cfg | 7 - java-iam/.kokoro/nightly/java7.cfg | 7 - java-iam/.kokoro/nightly/java8-osx.cfg | 3 - java-iam/.kokoro/nightly/java8-win.cfg | 3 - java-iam/.kokoro/nightly/java8.cfg | 12 - java-iam/.kokoro/nightly/lint.cfg | 13 - java-iam/.kokoro/nightly/samples.cfg | 38 -- java-iam/.kokoro/populate-secrets.sh | 43 -- java-iam/.kokoro/presubmit/clirr.cfg | 13 - java-iam/.kokoro/presubmit/common.cfg | 34 -- java-iam/.kokoro/presubmit/dependencies.cfg | 12 - .../.kokoro/presubmit/graalvm-native-17.cfg | 33 -- java-iam/.kokoro/presubmit/graalvm-native.cfg | 33 -- java-iam/.kokoro/presubmit/integration.cfg | 33 -- java-iam/.kokoro/presubmit/java11.cfg | 7 - java-iam/.kokoro/presubmit/java7.cfg | 7 - java-iam/.kokoro/presubmit/java8-osx.cfg | 3 - java-iam/.kokoro/presubmit/java8-win.cfg | 3 - java-iam/.kokoro/presubmit/java8.cfg | 12 - .../.kokoro/presubmit/linkage-monitor.cfg | 12 - java-iam/.kokoro/presubmit/lint.cfg | 13 - java-iam/.kokoro/presubmit/samples.cfg | 33 -- java-iam/.kokoro/readme.sh | 45 -- java-iam/.kokoro/release/bump_snapshot.cfg | 53 -- java-iam/.kokoro/release/common.cfg | 49 -- java-iam/.kokoro/release/common.sh | 50 -- java-iam/.kokoro/release/drop.cfg | 6 - java-iam/.kokoro/release/drop.sh | 32 -- java-iam/.kokoro/release/promote.cfg | 6 - java-iam/.kokoro/release/promote.sh | 34 -- java-iam/.kokoro/release/publish_javadoc.cfg | 23 - java-iam/.kokoro/release/publish_javadoc.sh | 53 -- .../.kokoro/release/publish_javadoc11.cfg | 30 -- java-iam/.kokoro/release/publish_javadoc11.sh | 63 --- java-iam/.kokoro/release/snapshot.cfg | 6 - java-iam/.kokoro/release/snapshot.sh | 33 -- java-iam/.kokoro/release/stage.cfg | 19 - java-iam/.kokoro/release/stage.sh | 47 -- java-iam/.kokoro/requirements.in | 34 -- java-iam/.kokoro/requirements.txt | 456 ------------------ java-iam/.kokoro/trampoline.sh | 26 - java-iam/CODE_OF_CONDUCT.md | 94 ---- java-iam/CONTRIBUTING.md | 92 ---- java-iam/LICENSE | 201 -------- java-iam/SECURITY.md | 7 - java-iam/codecov.yaml | 4 - java-iam/java.header | 15 - java-iam/renovate.json | 75 --- java-iam/versions.txt | 4 - java-shared-dependencies/.github/CODEOWNERS | 13 - .../.github/ISSUE_TEMPLATE/bug_report.md | 51 -- .../.github/ISSUE_TEMPLATE/feature_request.md | 21 - .../.github/ISSUE_TEMPLATE/support_request.md | 7 - .../.github/PULL_REQUEST_TEMPLATE.md | 10 - .../.github/auto-label.yaml | 15 - .../.github/blunderbuss.yml | 7 - .../.github/generated-files-bot.yml | 12 - .../.github/release-please.yml | 24 - .../.github/release-trigger.yml | 1 - .../.github/snippet-bot.yml | 0 .../.github/sync-repo-settings.yaml | 100 ---- .../.github/trusted-contribution.yml | 3 - .../.github/workflows/approve-readme.yaml | 69 --- .../.github/workflows/ci.yaml | 89 ---- .../workflows/downstream-native-image.yaml | 41 -- .../.github/workflows/downstream.yaml | 159 ------ .../.github/workflows/version-check.yaml | 43 -- java-shared-dependencies/.kokoro/build.bat | 18 - java-shared-dependencies/.kokoro/build.sh | 134 ----- .../.kokoro/coerce_logs.sh | 37 -- java-shared-dependencies/.kokoro/common.cfg | 13 - java-shared-dependencies/.kokoro/common.sh | 60 --- .../.kokoro/continuous/common.cfg | 25 - .../.kokoro/continuous/java8.cfg | 12 - .../.kokoro/continuous/propose_release.sh | 29 -- .../.kokoro/dependencies.sh | 59 --- .../downstream-client-library-check.sh | 70 --- .../.kokoro/nightly/common.cfg | 25 - .../.kokoro/nightly/integration.cfg | 37 -- .../.kokoro/nightly/java11-integration.cfg | 37 -- .../.kokoro/nightly/java11.cfg | 7 - .../.kokoro/nightly/java7.cfg | 7 - .../.kokoro/nightly/java8-osx.cfg | 3 - .../.kokoro/nightly/java8-win.cfg | 3 - .../.kokoro/nightly/java8.cfg | 12 - .../.kokoro/nightly/samples.cfg | 38 -- .../.kokoro/populate-secrets.sh | 43 -- .../presubmit/client-library-check.cfg | 12 - .../.kokoro/presubmit/clirr.cfg | 13 - .../.kokoro/presubmit/common.cfg | 34 -- .../.kokoro/presubmit/dependencies.cfg | 12 - .../.kokoro/presubmit/graalvm-native-17.cfg | 33 -- .../.kokoro/presubmit/graalvm-native.cfg | 33 -- .../.kokoro/presubmit/integration.cfg | 33 -- .../.kokoro/presubmit/java11.cfg | 7 - .../.kokoro/presubmit/java7.cfg | 7 - .../.kokoro/presubmit/java8-osx.cfg | 3 - .../.kokoro/presubmit/java8-win.cfg | 3 - .../.kokoro/presubmit/java8.cfg | 12 - .../.kokoro/presubmit/linkage-monitor.cfg | 12 - .../.kokoro/presubmit/lint.cfg | 13 - .../.kokoro/presubmit/samples.cfg | 33 -- java-shared-dependencies/.kokoro/readme.sh | 45 -- .../.kokoro/release/bump_snapshot.cfg | 53 -- .../.kokoro/release/bump_snapshot.sh | 30 -- .../.kokoro/release/common.cfg | 49 -- .../.kokoro/release/common.sh | 50 -- .../.kokoro/release/drop.cfg | 6 - .../.kokoro/release/drop.sh | 32 -- .../.kokoro/release/promote.cfg | 6 - .../.kokoro/release/promote.sh | 34 -- .../.kokoro/release/publish_javadoc.cfg | 23 - .../.kokoro/release/publish_javadoc.sh | 53 -- .../.kokoro/release/publish_javadoc11.cfg | 30 -- .../.kokoro/release/publish_javadoc11.sh | 63 --- .../.kokoro/release/snapshot.cfg | 6 - .../.kokoro/release/snapshot.sh | 33 -- .../.kokoro/release/stage.cfg | 19 - .../.kokoro/release/stage.sh | 47 -- .../.kokoro/requirements.in | 6 - .../.kokoro/requirements.txt | 408 ---------------- .../.kokoro/trampoline.sh | 26 - java-shared-dependencies/CODE_OF_CONDUCT.md | 94 ---- java-shared-dependencies/CONTRIBUTING.md | 92 ---- java-shared-dependencies/LICENSE | 201 -------- java-shared-dependencies/SECURITY.md | 7 - java-shared-dependencies/codecov.yaml | 4 - java-shared-dependencies/java.header | 15 - java-shared-dependencies/renovate.json | 64 --- java-shared-dependencies/versions.txt | 4 - 247 files changed, 9240 deletions(-) delete mode 100644 java-core/.OwlBot.yaml delete mode 100644 java-core/.github/CODEOWNERS delete mode 100644 java-core/.github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 java-core/.github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 java-core/.github/ISSUE_TEMPLATE/support_request.md delete mode 100644 java-core/.github/PULL_REQUEST_TEMPLATE.md delete mode 100644 java-core/.github/auto-label.yaml delete mode 100644 java-core/.github/blunderbuss.yml delete mode 100644 java-core/.github/generated-files-bot.yml delete mode 100644 java-core/.github/release-please.yml delete mode 100644 java-core/.github/release-trigger.yml delete mode 100644 java-core/.github/snippet-bot.yml delete mode 100644 java-core/.github/sync-repo-settings.yaml delete mode 100644 java-core/.github/trusted-contribution.yml delete mode 100644 java-core/.github/workflows/approve-readme.yaml delete mode 100644 java-core/.github/workflows/auto-release.yaml delete mode 100644 java-core/.github/workflows/ci.yaml delete mode 100644 java-core/.github/workflows/downstream.yaml delete mode 100644 java-core/.kokoro/build.bat delete mode 100755 java-core/.kokoro/build.sh delete mode 100755 java-core/.kokoro/coerce_logs.sh delete mode 100644 java-core/.kokoro/common.cfg delete mode 100644 java-core/.kokoro/common.sh delete mode 100644 java-core/.kokoro/continuous/common.cfg delete mode 100644 java-core/.kokoro/continuous/java8.cfg delete mode 100755 java-core/.kokoro/continuous/propose_release.sh delete mode 100755 java-core/.kokoro/dependencies.sh delete mode 100755 java-core/.kokoro/downstream-client-library-check.sh delete mode 100644 java-core/.kokoro/nightly/common.cfg delete mode 100644 java-core/.kokoro/nightly/integration.cfg delete mode 100644 java-core/.kokoro/nightly/java11-integration.cfg delete mode 100644 java-core/.kokoro/nightly/java11.cfg delete mode 100644 java-core/.kokoro/nightly/java7.cfg delete mode 100644 java-core/.kokoro/nightly/java8-osx.cfg delete mode 100644 java-core/.kokoro/nightly/java8-win.cfg delete mode 100644 java-core/.kokoro/nightly/java8.cfg delete mode 100644 java-core/.kokoro/nightly/samples.cfg delete mode 100755 java-core/.kokoro/populate-secrets.sh delete mode 100644 java-core/.kokoro/presubmit/clirr.cfg delete mode 100644 java-core/.kokoro/presubmit/common.cfg delete mode 100644 java-core/.kokoro/presubmit/dependencies.cfg delete mode 100644 java-core/.kokoro/presubmit/graalvm-native-17.cfg delete mode 100644 java-core/.kokoro/presubmit/graalvm-native.cfg delete mode 100644 java-core/.kokoro/presubmit/integration.cfg delete mode 100644 java-core/.kokoro/presubmit/java11.cfg delete mode 100644 java-core/.kokoro/presubmit/java7.cfg delete mode 100644 java-core/.kokoro/presubmit/java8-osx.cfg delete mode 100644 java-core/.kokoro/presubmit/java8-win.cfg delete mode 100644 java-core/.kokoro/presubmit/java8.cfg delete mode 100644 java-core/.kokoro/presubmit/linkage-monitor.cfg delete mode 100644 java-core/.kokoro/presubmit/lint.cfg delete mode 100644 java-core/.kokoro/presubmit/samples.cfg delete mode 100755 java-core/.kokoro/readme.sh delete mode 100644 java-core/.kokoro/release/bump_snapshot.cfg delete mode 100755 java-core/.kokoro/release/bump_snapshot.sh delete mode 100644 java-core/.kokoro/release/common.cfg delete mode 100755 java-core/.kokoro/release/common.sh delete mode 100644 java-core/.kokoro/release/drop.cfg delete mode 100755 java-core/.kokoro/release/drop.sh delete mode 100644 java-core/.kokoro/release/promote.cfg delete mode 100755 java-core/.kokoro/release/promote.sh delete mode 100644 java-core/.kokoro/release/publish_javadoc.cfg delete mode 100755 java-core/.kokoro/release/publish_javadoc.sh delete mode 100644 java-core/.kokoro/release/publish_javadoc11.cfg delete mode 100755 java-core/.kokoro/release/publish_javadoc11.sh delete mode 100644 java-core/.kokoro/release/snapshot.cfg delete mode 100755 java-core/.kokoro/release/snapshot.sh delete mode 100644 java-core/.kokoro/release/stage.cfg delete mode 100755 java-core/.kokoro/release/stage.sh delete mode 100644 java-core/.kokoro/requirements.in delete mode 100644 java-core/.kokoro/requirements.txt delete mode 100644 java-core/.kokoro/trampoline.sh delete mode 100644 java-core/CODE_OF_CONDUCT.md delete mode 100644 java-core/CONTRIBUTING.md delete mode 100644 java-core/LICENSE delete mode 100644 java-core/SECURITY.md delete mode 100644 java-core/codecov.yaml delete mode 100644 java-core/java.header delete mode 100644 java-core/renovate.json delete mode 100644 java-core/versions.txt delete mode 100644 java-iam/.github/CODEOWNERS delete mode 100644 java-iam/.github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 java-iam/.github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 java-iam/.github/ISSUE_TEMPLATE/support_request.md delete mode 100644 java-iam/.github/PULL_REQUEST_TEMPLATE.md delete mode 100644 java-iam/.github/auto-label.yaml delete mode 100644 java-iam/.github/blunderbuss.yml delete mode 100644 java-iam/.github/generated-files-bot.yml delete mode 100644 java-iam/.github/release-please.yml delete mode 100644 java-iam/.github/release-trigger.yml delete mode 100644 java-iam/.github/snippet-bot.yml delete mode 100644 java-iam/.github/sync-repo-settings.yaml delete mode 100644 java-iam/.github/trusted-contribution.yml delete mode 100644 java-iam/.github/workflows/approve-readme.yaml delete mode 100644 java-iam/.github/workflows/auto-release.yaml delete mode 100644 java-iam/.github/workflows/ci.yaml delete mode 100644 java-iam/.kokoro/build.bat delete mode 100755 java-iam/.kokoro/build.sh delete mode 100755 java-iam/.kokoro/coerce_logs.sh delete mode 100644 java-iam/.kokoro/common.cfg delete mode 100644 java-iam/.kokoro/common.sh delete mode 100644 java-iam/.kokoro/continuous/common.cfg delete mode 100644 java-iam/.kokoro/continuous/dependencies.cfg delete mode 100644 java-iam/.kokoro/continuous/integration.cfg delete mode 100644 java-iam/.kokoro/continuous/java11.cfg delete mode 100644 java-iam/.kokoro/continuous/java7.cfg delete mode 100644 java-iam/.kokoro/continuous/java8-osx.cfg delete mode 100644 java-iam/.kokoro/continuous/java8-win.cfg delete mode 100644 java-iam/.kokoro/continuous/java8.cfg delete mode 100644 java-iam/.kokoro/continuous/lint.cfg delete mode 100644 java-iam/.kokoro/continuous/propose_release.cfg delete mode 100644 java-iam/.kokoro/continuous/samples.cfg delete mode 100755 java-iam/.kokoro/dependencies.sh delete mode 100644 java-iam/.kokoro/nightly/common.cfg delete mode 100644 java-iam/.kokoro/nightly/dependencies.cfg delete mode 100644 java-iam/.kokoro/nightly/integration.cfg delete mode 100644 java-iam/.kokoro/nightly/java11-integration.cfg delete mode 100644 java-iam/.kokoro/nightly/java11.cfg delete mode 100644 java-iam/.kokoro/nightly/java7.cfg delete mode 100644 java-iam/.kokoro/nightly/java8-osx.cfg delete mode 100644 java-iam/.kokoro/nightly/java8-win.cfg delete mode 100644 java-iam/.kokoro/nightly/java8.cfg delete mode 100644 java-iam/.kokoro/nightly/lint.cfg delete mode 100644 java-iam/.kokoro/nightly/samples.cfg delete mode 100755 java-iam/.kokoro/populate-secrets.sh delete mode 100644 java-iam/.kokoro/presubmit/clirr.cfg delete mode 100644 java-iam/.kokoro/presubmit/common.cfg delete mode 100644 java-iam/.kokoro/presubmit/dependencies.cfg delete mode 100644 java-iam/.kokoro/presubmit/graalvm-native-17.cfg delete mode 100644 java-iam/.kokoro/presubmit/graalvm-native.cfg delete mode 100644 java-iam/.kokoro/presubmit/integration.cfg delete mode 100644 java-iam/.kokoro/presubmit/java11.cfg delete mode 100644 java-iam/.kokoro/presubmit/java7.cfg delete mode 100644 java-iam/.kokoro/presubmit/java8-osx.cfg delete mode 100644 java-iam/.kokoro/presubmit/java8-win.cfg delete mode 100644 java-iam/.kokoro/presubmit/java8.cfg delete mode 100644 java-iam/.kokoro/presubmit/linkage-monitor.cfg delete mode 100644 java-iam/.kokoro/presubmit/lint.cfg delete mode 100644 java-iam/.kokoro/presubmit/samples.cfg delete mode 100755 java-iam/.kokoro/readme.sh delete mode 100644 java-iam/.kokoro/release/bump_snapshot.cfg delete mode 100644 java-iam/.kokoro/release/common.cfg delete mode 100755 java-iam/.kokoro/release/common.sh delete mode 100644 java-iam/.kokoro/release/drop.cfg delete mode 100755 java-iam/.kokoro/release/drop.sh delete mode 100644 java-iam/.kokoro/release/promote.cfg delete mode 100755 java-iam/.kokoro/release/promote.sh delete mode 100644 java-iam/.kokoro/release/publish_javadoc.cfg delete mode 100755 java-iam/.kokoro/release/publish_javadoc.sh delete mode 100644 java-iam/.kokoro/release/publish_javadoc11.cfg delete mode 100755 java-iam/.kokoro/release/publish_javadoc11.sh delete mode 100644 java-iam/.kokoro/release/snapshot.cfg delete mode 100755 java-iam/.kokoro/release/snapshot.sh delete mode 100644 java-iam/.kokoro/release/stage.cfg delete mode 100755 java-iam/.kokoro/release/stage.sh delete mode 100644 java-iam/.kokoro/requirements.in delete mode 100644 java-iam/.kokoro/requirements.txt delete mode 100644 java-iam/.kokoro/trampoline.sh delete mode 100644 java-iam/CODE_OF_CONDUCT.md delete mode 100644 java-iam/CONTRIBUTING.md delete mode 100644 java-iam/LICENSE delete mode 100644 java-iam/SECURITY.md delete mode 100644 java-iam/codecov.yaml delete mode 100644 java-iam/java.header delete mode 100644 java-iam/renovate.json delete mode 100644 java-iam/versions.txt delete mode 100644 java-shared-dependencies/.github/CODEOWNERS delete mode 100644 java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md delete mode 100644 java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md delete mode 100644 java-shared-dependencies/.github/auto-label.yaml delete mode 100644 java-shared-dependencies/.github/blunderbuss.yml delete mode 100644 java-shared-dependencies/.github/generated-files-bot.yml delete mode 100644 java-shared-dependencies/.github/release-please.yml delete mode 100644 java-shared-dependencies/.github/release-trigger.yml delete mode 100644 java-shared-dependencies/.github/snippet-bot.yml delete mode 100644 java-shared-dependencies/.github/sync-repo-settings.yaml delete mode 100644 java-shared-dependencies/.github/trusted-contribution.yml delete mode 100644 java-shared-dependencies/.github/workflows/approve-readme.yaml delete mode 100644 java-shared-dependencies/.github/workflows/ci.yaml delete mode 100644 java-shared-dependencies/.github/workflows/downstream-native-image.yaml delete mode 100644 java-shared-dependencies/.github/workflows/downstream.yaml delete mode 100644 java-shared-dependencies/.github/workflows/version-check.yaml delete mode 100644 java-shared-dependencies/.kokoro/build.bat delete mode 100755 java-shared-dependencies/.kokoro/build.sh delete mode 100755 java-shared-dependencies/.kokoro/coerce_logs.sh delete mode 100644 java-shared-dependencies/.kokoro/common.cfg delete mode 100644 java-shared-dependencies/.kokoro/common.sh delete mode 100644 java-shared-dependencies/.kokoro/continuous/common.cfg delete mode 100644 java-shared-dependencies/.kokoro/continuous/java8.cfg delete mode 100755 java-shared-dependencies/.kokoro/continuous/propose_release.sh delete mode 100755 java-shared-dependencies/.kokoro/dependencies.sh delete mode 100755 java-shared-dependencies/.kokoro/downstream-client-library-check.sh delete mode 100644 java-shared-dependencies/.kokoro/nightly/common.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/integration.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/java11-integration.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/java11.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/java7.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/java8-osx.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/java8-win.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/java8.cfg delete mode 100644 java-shared-dependencies/.kokoro/nightly/samples.cfg delete mode 100755 java-shared-dependencies/.kokoro/populate-secrets.sh delete mode 100644 java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/clirr.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/common.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/dependencies.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/integration.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/java11.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/java7.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/java8-win.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/java8.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/lint.cfg delete mode 100644 java-shared-dependencies/.kokoro/presubmit/samples.cfg delete mode 100755 java-shared-dependencies/.kokoro/readme.sh delete mode 100644 java-shared-dependencies/.kokoro/release/bump_snapshot.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/bump_snapshot.sh delete mode 100644 java-shared-dependencies/.kokoro/release/common.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/common.sh delete mode 100644 java-shared-dependencies/.kokoro/release/drop.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/drop.sh delete mode 100644 java-shared-dependencies/.kokoro/release/promote.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/promote.sh delete mode 100644 java-shared-dependencies/.kokoro/release/publish_javadoc.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/publish_javadoc.sh delete mode 100644 java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/publish_javadoc11.sh delete mode 100644 java-shared-dependencies/.kokoro/release/snapshot.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/snapshot.sh delete mode 100644 java-shared-dependencies/.kokoro/release/stage.cfg delete mode 100755 java-shared-dependencies/.kokoro/release/stage.sh delete mode 100644 java-shared-dependencies/.kokoro/requirements.in delete mode 100644 java-shared-dependencies/.kokoro/requirements.txt delete mode 100644 java-shared-dependencies/.kokoro/trampoline.sh delete mode 100644 java-shared-dependencies/CODE_OF_CONDUCT.md delete mode 100644 java-shared-dependencies/CONTRIBUTING.md delete mode 100644 java-shared-dependencies/LICENSE delete mode 100644 java-shared-dependencies/SECURITY.md delete mode 100644 java-shared-dependencies/codecov.yaml delete mode 100644 java-shared-dependencies/java.header delete mode 100644 java-shared-dependencies/renovate.json delete mode 100644 java-shared-dependencies/versions.txt diff --git a/java-core/.OwlBot.yaml b/java-core/.OwlBot.yaml deleted file mode 100644 index bd0dd498bfac..000000000000 --- a/java-core/.OwlBot.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -api-name: google-cloud-core diff --git a/java-core/.github/CODEOWNERS b/java-core/.github/CODEOWNERS deleted file mode 100644 index db2d8ad1747b..000000000000 --- a/java-core/.github/CODEOWNERS +++ /dev/null @@ -1,13 +0,0 @@ -# Code owners file. -# This file controls who is tagged for review for any given pull request. - -# For syntax help see: -# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax - -* @googleapis/yoshi-java - -# The java-samples-reviewers team is the default owner for samples changes -samples/**/*.java @googleapis/java-samples-reviewers - -# Generated snippets should not be owned by samples reviewers -samples/snippets/generated/ @googleapis/yoshi-java diff --git a/java-core/.github/ISSUE_TEMPLATE/bug_report.md b/java-core/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index abc8e98b4d7f..000000000000 --- a/java-core/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -Thanks for stopping by to let us know something could be better! - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. - -Please run down the following list and make sure you've tried the usual "quick fixes": - - - Search the issues already opened: https://github.com/googleapis/java-core/issues - - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform - -If you are still having issues, please include as much information as possible: - -#### Environment details - -1. Specify the API at the beginning of the title. For example, "BigQuery: ..."). - General, Core, and Other are also allowed as types -2. OS type and version: -3. Java version: -4. version(s): - -#### Steps to reproduce - - 1. ? - 2. ? - -#### Code example - -```java -// example -``` - -#### Stack trace -``` -Any relevant stacktrace here. -``` - -#### External references such as API reference guides - -- ? - -#### Any additional information below - - -Following these steps guarantees the quickest resolution possible. - -Thanks! diff --git a/java-core/.github/ISSUE_TEMPLATE/feature_request.md b/java-core/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 754e30c68a00..000000000000 --- a/java-core/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this library - ---- - -Thanks for stopping by to let us know something could be better! - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. - -**Is your feature request related to a problem? Please describe.** -What the problem is. Example: I'm always frustrated when [...] - -**Describe the solution you'd like** -What you want to happen. - -**Describe alternatives you've considered** -Any alternative solutions or features you've considered. - -**Additional context** -Any other context or screenshots about the feature request. diff --git a/java-core/.github/ISSUE_TEMPLATE/support_request.md b/java-core/.github/ISSUE_TEMPLATE/support_request.md deleted file mode 100644 index 995869032125..000000000000 --- a/java-core/.github/ISSUE_TEMPLATE/support_request.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -name: Support request -about: If you have a support contract with Google, please create an issue in the Google Cloud Support console. - ---- - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-core/.github/PULL_REQUEST_TEMPLATE.md b/java-core/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 912a85b3bb5c..000000000000 --- a/java-core/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,10 +0,0 @@ -Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: -- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-core/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea -- [ ] Ensure the tests and linter pass -- [ ] Code coverage does not decrease (if any source code was changed) -- [ ] Appropriate docs were updated (if necessary) - -Fixes # ☕️ - -If you write sample code, please follow the [samples format]( -https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). diff --git a/java-core/.github/auto-label.yaml b/java-core/.github/auto-label.yaml deleted file mode 100644 index 4caef688b745..000000000000 --- a/java-core/.github/auto-label.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -requestsize: - enabled: true diff --git a/java-core/.github/blunderbuss.yml b/java-core/.github/blunderbuss.yml deleted file mode 100644 index 2176b0543214..000000000000 --- a/java-core/.github/blunderbuss.yml +++ /dev/null @@ -1,7 +0,0 @@ -# Configuration for the Blunderbuss GitHub app. For more info see -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss -assign_prs_by: -- labels: - - samples - to: - - googleapis/java-samples-reviewers \ No newline at end of file diff --git a/java-core/.github/generated-files-bot.yml b/java-core/.github/generated-files-bot.yml deleted file mode 100644 index c644a24e1129..000000000000 --- a/java-core/.github/generated-files-bot.yml +++ /dev/null @@ -1,12 +0,0 @@ -externalManifests: -- type: json - file: 'synth.metadata' - jsonpath: '$.generatedFiles[*]' -- type: json - file: '.github/readme/synth.metadata/synth.metadata' - jsonpath: '$.generatedFiles[*]' -ignoreAuthors: -- 'renovate-bot' -- 'yoshi-automation' -- 'release-please[bot]' -- 'gcf-owl-bot[bot]' diff --git a/java-core/.github/release-please.yml b/java-core/.github/release-please.yml deleted file mode 100644 index 66bcbd6b7412..000000000000 --- a/java-core/.github/release-please.yml +++ /dev/null @@ -1,24 +0,0 @@ -bumpMinorPreMajor: true -handleGHRelease: true -releaseType: java-yoshi -branches: - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-yoshi - branch: java7 - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 2.1.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 2.2.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 2.6.x - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-backport - branch: 2.8.x diff --git a/java-core/.github/release-trigger.yml b/java-core/.github/release-trigger.yml deleted file mode 100644 index d4ca94189e16..000000000000 --- a/java-core/.github/release-trigger.yml +++ /dev/null @@ -1 +0,0 @@ -enabled: true diff --git a/java-core/.github/snippet-bot.yml b/java-core/.github/snippet-bot.yml deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/java-core/.github/sync-repo-settings.yaml b/java-core/.github/sync-repo-settings.yaml deleted file mode 100644 index ce15b5e92c84..000000000000 --- a/java-core/.github/sync-repo-settings.yaml +++ /dev/null @@ -1,102 +0,0 @@ -rebaseMergeAllowed: false -squashMergeAllowed: true -mergeCommitAllowed: false -branchProtectionRules: - - pattern: main - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: java7 - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (7) - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: 2.1.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: 2.2.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: 2.6.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: 2.8.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor -permissionRules: - - team: yoshi-admins - permission: admin - - team: yoshi-java-admins - permission: admin - - team: yoshi-java - permission: push diff --git a/java-core/.github/trusted-contribution.yml b/java-core/.github/trusted-contribution.yml deleted file mode 100644 index a0ba1f7d9078..000000000000 --- a/java-core/.github/trusted-contribution.yml +++ /dev/null @@ -1,3 +0,0 @@ -trustedContributors: -- renovate-bot -- gcf-owl-bot[bot] diff --git a/java-core/.github/workflows/approve-readme.yaml b/java-core/.github/workflows/approve-readme.yaml deleted file mode 100644 index f5fc7d5169eb..000000000000 --- a/java-core/.github/workflows/approve-readme.yaml +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - pull_request: -name: auto-merge-readme -jobs: - approve: - runs-on: ubuntu-latest - if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' - steps: - - uses: actions/github-script@v6 - with: - github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} - script: | - // only approve PRs from yoshi-automation - if (context.payload.pull_request.user.login !== "yoshi-automation") { - return; - } - - // only approve PRs like "chore: release " - if (!context.payload.pull_request.title === "chore: regenerate README") { - return; - } - - // only approve PRs with README.md and synth.metadata changes - const files = new Set( - ( - await github.paginate( - github.pulls.listFiles.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - }) - ) - ).map(file => file.filename) - ); - if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { - return; - } - - // approve README regeneration PR - await github.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Rubber stamped PR!', - pull_number: context.payload.pull_request.number, - event: 'APPROVE' - }); - - // attach automerge label - await github.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.payload.pull_request.number, - labels: ['automerge'] - }); diff --git a/java-core/.github/workflows/auto-release.yaml b/java-core/.github/workflows/auto-release.yaml deleted file mode 100644 index 7a106d007edf..000000000000 --- a/java-core/.github/workflows/auto-release.yaml +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - pull_request: -name: auto-release -jobs: - approve: - runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-please') - steps: - - uses: actions/github-script@v6 - with: - github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} - debug: true - script: | - // only approve PRs from release-please[bot] - if (context.payload.pull_request.user.login !== "release-please[bot]") { - return; - } - - // only approve PRs like "chore(main): release " - if ( !context.payload.pull_request.title.startsWith("chore(main): release") ) { - return; - } - - // only approve PRs with pom.xml and versions.txt changes - const filesPromise = github.rest.pulls.listFiles.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - }); - const changed_files = await github.paginate(filesPromise) - - if ( changed_files.length < 1 ) { - console.log( "Not proceeding since PR is empty!" ) - return; - } - - if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) { - console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" ) - return; - } - - // trigger auto-release when - // 1) it is a SNAPSHOT release (auto-generated post regular release) - // 2) there are dependency updates only - // 3) there are no open dependency update PRs in this repo (to avoid multiple releases) - if ( - context.payload.pull_request.body.includes("Fix") || - context.payload.pull_request.body.includes("Build") || - context.payload.pull_request.body.includes("Documentation") || - context.payload.pull_request.body.includes("BREAKING CHANGES") || - context.payload.pull_request.body.includes("Features") - ) { - console.log( "Not auto-releasing since it is not a dependency-update-only release." ); - return; - } - - const promise = github.rest.pulls.list.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - state: 'open' - }); - const open_pulls = await github.paginate(promise) - - if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) { - for ( const pull of open_pulls ) { - if ( pull.title.startsWith("deps: update dependency") ) { - console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." ); - return; - } - } - } - - // approve release PR - await github.rest.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Rubber stamped release!', - pull_number: context.payload.pull_request.number, - event: 'APPROVE' - }); - - // attach kokoro:force-run and automerge labels - await github.rest.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.payload.pull_request.number, - labels: ['kokoro:force-run', 'automerge'] - }); diff --git a/java-core/.github/workflows/ci.yaml b/java-core/.github/workflows/ci.yaml deleted file mode 100644 index e3bb26e37719..000000000000 --- a/java-core/.github/workflows/ci.yaml +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - push: - branches: - - main - pull_request: -name: ci -jobs: - units: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - java: [8, 11, 17] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: test - windows: - runs-on: windows-latest - steps: - - name: Support longpaths - run: git config --system core.longpaths true - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 8 - - run: java -version - - run: .kokoro/build.bat - env: - JOB_TYPE: test - dependencies: - runs-on: ubuntu-latest - strategy: - matrix: - java: [8, 11, 17] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: .kokoro/dependencies.sh - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 11 - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: lint - clirr: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 8 - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: clirr diff --git a/java-core/.github/workflows/downstream.yaml b/java-core/.github/workflows/downstream.yaml deleted file mode 100644 index 31c4429a2690..000000000000 --- a/java-core/.github/workflows/downstream.yaml +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - pull_request: - types: [ labeled ] - branches: - - main -name: downstream -jobs: - dependencies: - if: ${{ github.event.label.name == 'downstream-check:run' }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - java: [17] - repo: - # This list needs to be updated manually until an automated solution is in place. - - accessapproval - - accesscontextmanager - - aiplatform - - analytics-admin - - analytics-data - - api-gateway - - apigee-connect - - appengine-admin - - area120-tables - - artifact-registry - - asset - - assured-workloads - - automl - - bigquery - - bigqueryconnection - - bigquerydatatransfer - - bigquerymigration - - bigqueryreservation - - bigtable - - billing - - billingbudgets - - binary-authorization - - channel - - cloudbuild - - compute - - contact-center-insights - - container - - containeranalysis - - data-fusion - - datacatalog - - dataflow - - datalabeling - - dataproc - - dataproc-metastore - - datastore - - datastream - - debugger-client - - deploy - - dialogflow - - dialogflow-cx - - dlp - - dms - - dns - - document-ai - - domains - - errorreporting - - essential-contacts - - eventarc - - filestore - - firestore - - functions - - game-servers - - gke-connect-gateway - - gkehub - - gsuite-addons - - iam-admin - - iamcredentials - - iot - - kms - - language - - life-sciences - - logging - - logging-logback - - managed-identities - - mediatranslation - - memcache - - monitoring - - monitoring-dashboards - - network-management - - network-security - - networkconnectivity - - notebooks - - orchestration-airflow - - orgpolicy - - os-config - - os-login - - phishingprotection - - policy-troubleshooter - - private-catalog - - profiler - - pubsublite - - recaptchaenterprise - - recommendations-ai - - recommender - - redis - - resource-settings - - resourcemanager - - retail - - scheduler - - secretmanager - - security-private-ca - - securitycenter - - securitycenter-settings - - service-control - - service-management - - service-usage - - servicedirectory - - shell - - spanner - - spanner-jdbc - - speech - - storage - - storage-nio - - storage-transfer - - talent - - tasks - - texttospeech - - tpu - - trace - - translate - - video-intelligence - - video-transcoder - - vision - - vpcaccess - - webrisk - - websecurityscanner - - workflow-executions - - workflows - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: sudo apt-get update -y - - run: sudo apt-get install libxml2-utils - - run: .kokoro/downstream-client-library-check.sh google-cloud-core-bom ${{matrix.repo}} diff --git a/java-core/.kokoro/build.bat b/java-core/.kokoro/build.bat deleted file mode 100644 index 067cf4a4c489..000000000000 --- a/java-core/.kokoro/build.bat +++ /dev/null @@ -1,18 +0,0 @@ -:: Copyright 2022 Google LLC -:: -:: Licensed under the Apache License, Version 2.0 (the "License"); -:: you may not use this file except in compliance with the License. -:: You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, software -:: distributed under the License is distributed on an "AS IS" BASIS, -:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -:: See the License for the specific language governing permissions and -:: limitations under the License. -:: Github action job to test core java library features on -:: downstream client libraries before they are released. -:: See documentation in type-shell-output.bat - -"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-core/.kokoro/build.sh b/java-core/.kokoro/build.sh deleted file mode 100755 index c97ff3d4c823..000000000000 --- a/java-core/.kokoro/build.sh +++ /dev/null @@ -1,134 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Maven & Java version -mvn -version -echo ${JOB_TYPE} - -# attempt to install 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C - -# if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it -if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) -fi - -RETURN_CODE=0 -set +e - -case ${JOB_TYPE} in -test) - mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true - RETURN_CODE=$? - ;; -lint) - mvn com.coveo:fmt-maven-plugin:check -B -ntp - RETURN_CODE=$? - ;; -javadoc) - mvn javadoc:javadoc javadoc:test-javadoc -B -ntp - RETURN_CODE=$? - ;; -integration) - mvn -B ${INTEGRATION_TEST_ARGS} \ - -ntp \ - -Penable-integration-tests \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - RETURN_CODE=$? - ;; -graalvm) - # Run Unit and Integration Tests with Native Image - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test - RETURN_CODE=$? - ;; -graalvm17) - # Run Unit and Integration Tests with Native Image - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test - RETURN_CODE=$? - ;; -samples) - SAMPLES_DIR=samples - # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. - if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] - then - SAMPLES_DIR=samples/snapshot - fi - - if [[ -f ${SAMPLES_DIR}/pom.xml ]] - then - for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do - [[ -f "$FILE" ]] || continue - source "$FILE" - done - - pushd ${SAMPLES_DIR} - mvn -B \ - -ntp \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - RETURN_CODE=$? - popd - else - echo "no sample pom.xml found - skipping sample tests" - fi - ;; -clirr) - mvn -B -ntp -Denforcer.skip=true clirr:check - RETURN_CODE=$? - ;; -*) - ;; -esac - -if [ "${REPORT_COVERAGE}" == "true" ] -then - bash ${KOKORO_GFILE_DIR}/codecov.sh -fi - -# fix output location of logs -bash .kokoro/coerce_logs.sh - -if [[ "${ENABLE_FLAKYBOT}" == "true" ]] -then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot - ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-core -fi - -echo "exiting with ${RETURN_CODE}" -exit ${RETURN_CODE} diff --git a/java-core/.kokoro/coerce_logs.sh b/java-core/.kokoro/coerce_logs.sh deleted file mode 100755 index 46edbf7f2fcd..000000000000 --- a/java-core/.kokoro/coerce_logs.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# This script finds and moves sponge logs so that they can be found by placer -# and are not flagged as flaky by sponge. - -set -eo pipefail - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -job=$(basename ${KOKORO_JOB_NAME}) - -echo "coercing sponge logs..." -for xml in `find . -name *-sponge_log.xml` -do - class=$(basename ${xml} | cut -d- -f2) - dir=$(dirname ${xml})/${job}/${class} - text=$(dirname ${xml})/${class}-sponge_log.txt - mkdir -p ${dir} - mv ${xml} ${dir}/sponge_log.xml - mv ${text} ${dir}/sponge_log.txt -done diff --git a/java-core/.kokoro/common.cfg b/java-core/.kokoro/common.cfg deleted file mode 100644 index 054c30c8f76d..000000000000 --- a/java-core/.kokoro/common.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# All builds use the trampoline script to run in docker. -build_file: "java-core/.kokoro/trampoline.sh" - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/build.sh" -} diff --git a/java-core/.kokoro/common.sh b/java-core/.kokoro/common.sh deleted file mode 100644 index f8f957af1112..000000000000 --- a/java-core/.kokoro/common.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -function retry_with_backoff { - attempts_left=$1 - sleep_seconds=$2 - shift 2 - command=$@ - - - # store current flag state - flags=$- - - # allow a failures to continue - set +e - ${command} - exit_code=$? - - # restore "e" flag - if [[ ${flags} =~ e ]] - then set -e - else set +e - fi - - if [[ $exit_code == 0 ]] - then - return 0 - fi - - # failure - if [[ ${attempts_left} > 0 ]] - then - echo "failure (${exit_code}), sleeping ${sleep_seconds}..." - sleep ${sleep_seconds} - new_attempts=$((${attempts_left} - 1)) - new_sleep=$((${sleep_seconds} * 2)) - retry_with_backoff ${new_attempts} ${new_sleep} ${command} - fi - - return $exit_code -} - -## Helper functionss -function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } -function msg() { println "$*" >&2; } -function println() { printf '%s\n' "$(now) $*"; } - -## Helper comment to trigger updated repo dependency release \ No newline at end of file diff --git a/java-core/.kokoro/continuous/common.cfg b/java-core/.kokoro/continuous/common.cfg deleted file mode 100644 index 0ce89acac326..000000000000 --- a/java-core/.kokoro/continuous/common.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-core/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} diff --git a/java-core/.kokoro/continuous/java8.cfg b/java-core/.kokoro/continuous/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-core/.kokoro/continuous/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-core/.kokoro/continuous/propose_release.sh b/java-core/.kokoro/continuous/propose_release.sh deleted file mode 100755 index 1fd8acb1bfcd..000000000000 --- a/java-core/.kokoro/continuous/propose_release.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# Copyright 2019 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. - -set -eo pipefail - -export NPM_CONFIG_PREFIX=/home/node/.npm-global - -if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then - # Groom the release PR as new commits are merged. - npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ - --repo-url=googleapis/java-core \ - --package-name="google-cloud-core" \ - --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ - --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ - --release-type=java-yoshi -fi diff --git a/java-core/.kokoro/dependencies.sh b/java-core/.kokoro/dependencies.sh deleted file mode 100755 index bd8960246f66..000000000000 --- a/java-core/.kokoro/dependencies.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -shopt -s nullglob - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Java -java -version -echo $JOB_TYPE - -function determineMavenOpts() { - local javaVersion=$( - # filter down to the version line, then pull out the version between quotes, - # then trim the version number down to its minimal number (removing any - # update or suffix number). - java -version 2>&1 | grep "version" \ - | sed -E 's/^.*"(.*?)".*$/\1/g' \ - | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' - ) - - if [[ $javaVersion == 17* ]] - then - # MaxPermSize is no longer supported as of jdk 17 - echo -n "-Xmx1024m" - else - echo -n "-Xmx1024m -XX:MaxPermSize=128m" - fi -} - -export MAVEN_OPTS=$(determineMavenOpts) - -# this should run maven enforcer -retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ - -DskipTests=true \ - -Dmaven.javadoc.skip=true \ - -Dclirr.skip=true - -mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-core/.kokoro/downstream-client-library-check.sh b/java-core/.kokoro/downstream-client-library-check.sh deleted file mode 100755 index c1e13911b574..000000000000 --- a/java-core/.kokoro/downstream-client-library-check.sh +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/bash -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -# Display commands being run. -set -x - -CORE_LIBRARY_ARTIFACT=$1 -CLIENT_LIBRARY=$2 -## Get the directory of the build script -scriptDir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")" -## cd to the parent directory, i.e. the root of the git repo -cd "${scriptDir}"/.. - -# Make java core library artifacts available for 'mvn install' at the bottom -mvn verify install -B -V -ntp -fae \ --DskipTests=true \ --Dmaven.javadoc.skip=true \ --Dgcloud.download.skip=true \ --Denforcer.skip=true - -# Namespace (xmlns) prevents xmllint from specifying tag names in XPath -CORE_VERSION=$(sed -e 's/xmlns=".*"//' pom.xml | xmllint --xpath '/project/version/text()' -) - -if [ -z "${CORE_VERSION}" ]; then - echo "Version is not found in ${CORE_VERSION_POM}" - exit 1 -fi -echo "Version: ${CORE_VERSION}" - -# Round 1 -# Check this java core library against HEAD of java-shared dependencies - -git clone "https://github.com/googleapis/java-shared-dependencies.git" --depth=1 -pushd java-shared-dependencies/first-party-dependencies - -# replace version -xmllint --shell pom.xml << EOF -setns x=http://maven.apache.org/POM/4.0.0 -cd .//x:artifactId[text()="${CORE_LIBRARY_ARTIFACT}"] -cd ../x:version -set ${CORE_VERSION} -save pom.xml -EOF - -# run dependencies script -cd .. - -mvn verify install -B -V -ntp -fae \ --DskipTests=true \ --Dmaven.javadoc.skip=true \ --Dgcloud.download.skip=true \ --Denforcer.skip=true - -# Namespace (xmlns) prevents xmllint from specifying tag names in XPath -SHARED_DEPS_VERSION=$(sed -e 's/xmlns=".*"//' pom.xml | xmllint --xpath '/project/version/text()' -) - -if [ -z "${SHARED_DEPS_VERSION}" ]; then - echo "Version is not found in ${SHARED_DEPS_VERSION_POM}" - exit 1 -fi - -# Round 2 - -# Check this BOM against java client libraries -git clone "https://github.com/googleapis/java-${CLIENT_LIBRARY}.git" --depth=1 -pushd java-"${CLIENT_LIBRARY}" - -if [[ $CLIENT_LIBRARY == "bigtable" ]]; then - pushd google-cloud-bigtable-deps-bom -fi - -# replace version -xmllint --shell pom.xml << EOF -setns x=http://maven.apache.org/POM/4.0.0 -cd .//x:artifactId[text()="google-cloud-shared-dependencies"] -cd ../x:version -set ${SHARED_DEPS_VERSION} -save pom.xml -EOF - -if [[ $CLIENT_LIBRARY == "bigtable" ]]; then - popd -fi - -mvn verify install -B -V -ntp -fae \ --Dmaven.javadoc.skip=true \ --Dgcloud.download.skip=true \ --Denforcer.skip=true diff --git a/java-core/.kokoro/nightly/common.cfg b/java-core/.kokoro/nightly/common.cfg deleted file mode 100644 index 0ce89acac326..000000000000 --- a/java-core/.kokoro/nightly/common.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-core/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} diff --git a/java-core/.kokoro/nightly/integration.cfg b/java-core/.kokoro/nightly/integration.cfg deleted file mode 100644 index a2907a257b2b..000000000000 --- a/java-core/.kokoro/nightly/integration.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-core/.kokoro/nightly/java11-integration.cfg b/java-core/.kokoro/nightly/java11-integration.cfg deleted file mode 100644 index 58049cc38f11..000000000000 --- a/java-core/.kokoro/nightly/java11-integration.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/java11014" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-core/.kokoro/nightly/java11.cfg b/java-core/.kokoro/nightly/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-core/.kokoro/nightly/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-core/.kokoro/nightly/java7.cfg b/java-core/.kokoro/nightly/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-core/.kokoro/nightly/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-core/.kokoro/nightly/java8-osx.cfg b/java-core/.kokoro/nightly/java8-osx.cfg deleted file mode 100644 index 8b617e25943d..000000000000 --- a/java-core/.kokoro/nightly/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-core/.kokoro/build.sh" diff --git a/java-core/.kokoro/nightly/java8-win.cfg b/java-core/.kokoro/nightly/java8-win.cfg deleted file mode 100644 index 1a6311a42092..000000000000 --- a/java-core/.kokoro/nightly/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-core/.kokoro/build.bat" diff --git a/java-core/.kokoro/nightly/java8.cfg b/java-core/.kokoro/nightly/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-core/.kokoro/nightly/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-core/.kokoro/nightly/samples.cfg b/java-core/.kokoro/nightly/samples.cfg deleted file mode 100644 index 9761fd8648cb..000000000000 --- a/java-core/.kokoro/nightly/samples.cfg +++ /dev/null @@ -1,38 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-docs-samples-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-docs-samples-service-account" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} diff --git a/java-core/.kokoro/populate-secrets.sh b/java-core/.kokoro/populate-secrets.sh deleted file mode 100755 index f52514257ef0..000000000000 --- a/java-core/.kokoro/populate-secrets.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} -function msg { println "$*" >&2 ;} -function println { printf '%s\n' "$(now) $*" ;} - - -# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: -# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com -SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" -msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" -mkdir -p ${SECRET_LOCATION} -for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") -do - msg "Retrieving secret ${key}" - docker run --entrypoint=gcloud \ - --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ - gcr.io/google.com/cloudsdktool/cloud-sdk \ - secrets versions access latest \ - --project cloud-devrel-kokoro-resources \ - --secret ${key} > \ - "${SECRET_LOCATION}/${key}" - if [[ $? == 0 ]]; then - msg "Secret written to ${SECRET_LOCATION}/${key}" - else - msg "Error retrieving secret ${key}" - fi -done diff --git a/java-core/.kokoro/presubmit/clirr.cfg b/java-core/.kokoro/presubmit/clirr.cfg deleted file mode 100644 index ec572442e2e7..000000000000 --- a/java-core/.kokoro/presubmit/clirr.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "clirr" -} \ No newline at end of file diff --git a/java-core/.kokoro/presubmit/common.cfg b/java-core/.kokoro/presubmit/common.cfg deleted file mode 100644 index dd8a9f76688e..000000000000 --- a/java-core/.kokoro/presubmit/common.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-core/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "dpebot_codecov_token" - } - } -} diff --git a/java-core/.kokoro/presubmit/dependencies.cfg b/java-core/.kokoro/presubmit/dependencies.cfg deleted file mode 100644 index 895832a92836..000000000000 --- a/java-core/.kokoro/presubmit/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/dependencies.sh" -} diff --git a/java-core/.kokoro/presubmit/graalvm-native-17.cfg b/java-core/.kokoro/presubmit/graalvm-native-17.cfg deleted file mode 100644 index e20330c3ca60..000000000000 --- a/java-core/.kokoro/presubmit/graalvm-native-17.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0" -} - -env_vars: { - key: "JOB_TYPE" - value: "graalvm17" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} \ No newline at end of file diff --git a/java-core/.kokoro/presubmit/graalvm-native.cfg b/java-core/.kokoro/presubmit/graalvm-native.cfg deleted file mode 100644 index 0fd6ba2fa0ce..000000000000 --- a/java-core/.kokoro/presubmit/graalvm-native.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0" -} - -env_vars: { - key: "JOB_TYPE" - value: "graalvm" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-core/.kokoro/presubmit/integration.cfg b/java-core/.kokoro/presubmit/integration.cfg deleted file mode 100644 index dded67a9d54a..000000000000 --- a/java-core/.kokoro/presubmit/integration.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-core/.kokoro/presubmit/java11.cfg b/java-core/.kokoro/presubmit/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-core/.kokoro/presubmit/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-core/.kokoro/presubmit/java7.cfg b/java-core/.kokoro/presubmit/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-core/.kokoro/presubmit/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-core/.kokoro/presubmit/java8-osx.cfg b/java-core/.kokoro/presubmit/java8-osx.cfg deleted file mode 100644 index 8b617e25943d..000000000000 --- a/java-core/.kokoro/presubmit/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-core/.kokoro/build.sh" diff --git a/java-core/.kokoro/presubmit/java8-win.cfg b/java-core/.kokoro/presubmit/java8-win.cfg deleted file mode 100644 index 1a6311a42092..000000000000 --- a/java-core/.kokoro/presubmit/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-core/.kokoro/build.bat" diff --git a/java-core/.kokoro/presubmit/java8.cfg b/java-core/.kokoro/presubmit/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-core/.kokoro/presubmit/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-core/.kokoro/presubmit/linkage-monitor.cfg b/java-core/.kokoro/presubmit/linkage-monitor.cfg deleted file mode 100644 index 8703ea2a3e8c..000000000000 --- a/java-core/.kokoro/presubmit/linkage-monitor.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/linkage-monitor.sh" -} \ No newline at end of file diff --git a/java-core/.kokoro/presubmit/lint.cfg b/java-core/.kokoro/presubmit/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-core/.kokoro/presubmit/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-core/.kokoro/presubmit/samples.cfg b/java-core/.kokoro/presubmit/samples.cfg deleted file mode 100644 index 01e0960047b8..000000000000 --- a/java-core/.kokoro/presubmit/samples.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-docs-samples-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-docs-samples-service-account" -} \ No newline at end of file diff --git a/java-core/.kokoro/readme.sh b/java-core/.kokoro/readme.sh deleted file mode 100755 index cebf83b9daa3..000000000000 --- a/java-core/.kokoro/readme.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -cd ${KOKORO_ARTIFACTS_DIR}/github/java-core - -# Disable buffering, so that the logs stream through. -export PYTHONUNBUFFERED=1 - -# Kokoro exposes this as a file, but the scripts expect just a plain variable. -export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) - -# Setup git credentials -echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials -git config --global credential.helper 'store --file ~/.git-credentials' - -python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool - -set +e -python3.6 -m autosynth.synth \ - --repository=googleapis/java-core \ - --synth-file-name=.github/readme/synth.py \ - --metadata-path=.github/readme/synth.metadata \ - --pr-title="chore: regenerate README" \ - --branch-suffix="readme" - -# autosynth returns 28 to signal there are no changes -RETURN_CODE=$? -if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] -then - exit ${RETURN_CODE} -fi diff --git a/java-core/.kokoro/release/bump_snapshot.cfg b/java-core/.kokoro/release/bump_snapshot.cfg deleted file mode 100644 index a27810aacfbb..000000000000 --- a/java-core/.kokoro/release/bump_snapshot.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-core/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/release/bump_snapshot.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/java-core/.kokoro/release/bump_snapshot.sh b/java-core/.kokoro/release/bump_snapshot.sh deleted file mode 100755 index 712ce36594e7..000000000000 --- a/java-core/.kokoro/release/bump_snapshot.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -# Copyright 2019 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. - -set -eo pipefail - -export NPM_CONFIG_PREFIX=/home/node/.npm-global - -if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then - # Groom the snapshot release PR immediately after publishing a release - npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ - --repo-url=googleapis/java-core \ - --package-name="google-cloud-core" \ - --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ - --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ - --snapshot \ - --release-type=java-auth-yoshi -fi diff --git a/java-core/.kokoro/release/common.cfg b/java-core/.kokoro/release/common.cfg deleted file mode 100644 index 4b5b8621674a..000000000000 --- a/java-core/.kokoro/release/common.cfg +++ /dev/null @@ -1,49 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-core/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-keyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-passphrase" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-pubkeyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "sonatype-credentials" - } - } -} diff --git a/java-core/.kokoro/release/common.sh b/java-core/.kokoro/release/common.sh deleted file mode 100755 index 7f78ee414faf..000000000000 --- a/java-core/.kokoro/release/common.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Get secrets from keystore and set and environment variables -setup_environment_secrets() { - export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) - export GPG_TTY=$(tty) - export GPG_HOMEDIR=/gpg - mkdir $GPG_HOMEDIR - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-keyring $GPG_HOMEDIR/secring.gpg - export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f1 -d'|') - export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f2 -d'|') -} - -create_settings_xml_file() { - echo " - - - ossrh - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-staging - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-snapshots - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - -" > $1 -} \ No newline at end of file diff --git a/java-core/.kokoro/release/drop.cfg b/java-core/.kokoro/release/drop.cfg deleted file mode 100644 index 6590b0c13316..000000000000 --- a/java-core/.kokoro/release/drop.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/release/drop.sh" -} diff --git a/java-core/.kokoro/release/drop.sh b/java-core/.kokoro/release/drop.sh deleted file mode 100755 index 742ec1a88600..000000000000 --- a/java-core/.kokoro/release/drop.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:drop -B \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-core/.kokoro/release/promote.cfg b/java-core/.kokoro/release/promote.cfg deleted file mode 100644 index 800f0884e637..000000000000 --- a/java-core/.kokoro/release/promote.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/release/promote.sh" -} diff --git a/java-core/.kokoro/release/promote.sh b/java-core/.kokoro/release/promote.sh deleted file mode 100755 index 3cac3d8a97d7..000000000000 --- a/java-core/.kokoro/release/promote.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh - -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-core/.kokoro/release/publish_javadoc.cfg b/java-core/.kokoro/release/publish_javadoc.cfg deleted file mode 100644 index 11b00bdcf6e5..000000000000 --- a/java-core/.kokoro/release/publish_javadoc.cfg +++ /dev/null @@ -1,23 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" - -env_vars: { - key: "STAGING_BUCKET" - value: "docs-staging" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/release/publish_javadoc.sh" -} - - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} diff --git a/java-core/.kokoro/release/publish_javadoc.sh b/java-core/.kokoro/release/publish_javadoc.sh deleted file mode 100755 index e2a55af47aea..000000000000 --- a/java-core/.kokoro/release/publish_javadoc.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET}" ]]; then - echo "Need to set STAGING_BUCKET environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-cloud-core -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# build the docs -mvn site -B -q - -pushd target/site/apidocs - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET} diff --git a/java-core/.kokoro/release/publish_javadoc11.cfg b/java-core/.kokoro/release/publish_javadoc11.cfg deleted file mode 100644 index 52b5dea9701c..000000000000 --- a/java-core/.kokoro/release/publish_javadoc11.cfg +++ /dev/null @@ -1,30 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# cloud-rad production -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" -} - -# Configure the docker image for kokoro-trampoline -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/release/publish_javadoc11.sh" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/java-core/.kokoro/release/publish_javadoc11.sh b/java-core/.kokoro/release/publish_javadoc11.sh deleted file mode 100755 index 970a282deca7..000000000000 --- a/java-core/.kokoro/release/publish_javadoc11.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-cloud-core -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# cloud RAD generation -mvn clean javadoc:aggregate -B -q -P docFX -# include CHANGELOG -cp CHANGELOG.md target/docfx-yml/history.md - -pushd target/docfx-yml - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --xrefs devsite://java/gax \ - --xrefs devsite://java/google-cloud-core \ - --xrefs devsite://java/api-common \ - --xrefs devsite://java/proto-google-common-protos \ - --xrefs devsite://java/google-api-client \ - --xrefs devsite://java/google-http-client \ - --xrefs devsite://java/protobuf \ - --language java - -# upload yml to production bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx diff --git a/java-core/.kokoro/release/snapshot.cfg b/java-core/.kokoro/release/snapshot.cfg deleted file mode 100644 index d435702932c8..000000000000 --- a/java-core/.kokoro/release/snapshot.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/release/snapshot.sh" -} \ No newline at end of file diff --git a/java-core/.kokoro/release/snapshot.sh b/java-core/.kokoro/release/snapshot.sh deleted file mode 100755 index 1f55b77024d8..000000000000 --- a/java-core/.kokoro/release/snapshot.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -source $(dirname "$0")/common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -# ensure we're trying to push a snapshot (no-result returns non-zero exit code) -grep SNAPSHOT versions.txt - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} diff --git a/java-core/.kokoro/release/stage.cfg b/java-core/.kokoro/release/stage.cfg deleted file mode 100644 index d499007596c6..000000000000 --- a/java-core/.kokoro/release/stage.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-core/.kokoro/release/stage.sh" -} - -# Need to save the properties file -action { - define_artifacts { - regex: "github/java-core/target/nexus-staging/staging/*.properties" - strip_prefix: "github/java-core" - } -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" -} diff --git a/java-core/.kokoro/release/stage.sh b/java-core/.kokoro/release/stage.sh deleted file mode 100755 index 61e714d6ba56..000000000000 --- a/java-core/.kokoro/release/stage.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Start the releasetool reporter -requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt) -python3 -m pip install --require-hashes -r $requirementsFile -python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script - -source $(dirname "$0")/common.sh -source $(dirname "$0")/../common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -# attempt to stage 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DskipTests=true \ - -Dclirr.skip=true \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} - -if [[ -n "${AUTORELEASE_PR}" ]] -then - mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml -fi diff --git a/java-core/.kokoro/requirements.in b/java-core/.kokoro/requirements.in deleted file mode 100644 index b19a8dbfdd5e..000000000000 --- a/java-core/.kokoro/requirements.in +++ /dev/null @@ -1,6 +0,0 @@ -gcp-docuploader -gcp-releasetool -wheel -setuptools -typing-extensions -click<8.1.0 \ No newline at end of file diff --git a/java-core/.kokoro/requirements.txt b/java-core/.kokoro/requirements.txt deleted file mode 100644 index 4895c9631fd8..000000000000 --- a/java-core/.kokoro/requirements.txt +++ /dev/null @@ -1,408 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# pip-compile --allow-unsafe --generate-hashes requirements.in -# -attrs==22.1.0 \ - --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ - --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c - # via gcp-releasetool -cachetools==4.2.4 \ - --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ - --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 - # via google-auth -certifi==2022.12.7 \ - --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ - --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 - # via requests -cffi==1.15.1 \ - --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ - --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ - --hash=sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104 \ - --hash=sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426 \ - --hash=sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405 \ - --hash=sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375 \ - --hash=sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a \ - --hash=sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e \ - --hash=sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc \ - --hash=sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf \ - --hash=sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185 \ - --hash=sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497 \ - --hash=sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3 \ - --hash=sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35 \ - --hash=sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c \ - --hash=sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83 \ - --hash=sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21 \ - --hash=sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca \ - --hash=sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984 \ - --hash=sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac \ - --hash=sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd \ - --hash=sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee \ - --hash=sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a \ - --hash=sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2 \ - --hash=sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192 \ - --hash=sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7 \ - --hash=sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585 \ - --hash=sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f \ - --hash=sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e \ - --hash=sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27 \ - --hash=sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b \ - --hash=sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e \ - --hash=sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e \ - --hash=sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d \ - --hash=sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c \ - --hash=sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415 \ - --hash=sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82 \ - --hash=sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02 \ - --hash=sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314 \ - --hash=sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325 \ - --hash=sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c \ - --hash=sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3 \ - --hash=sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914 \ - --hash=sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045 \ - --hash=sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d \ - --hash=sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9 \ - --hash=sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5 \ - --hash=sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2 \ - --hash=sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c \ - --hash=sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3 \ - --hash=sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2 \ - --hash=sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8 \ - --hash=sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d \ - --hash=sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d \ - --hash=sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 \ - --hash=sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162 \ - --hash=sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76 \ - --hash=sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4 \ - --hash=sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e \ - --hash=sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9 \ - --hash=sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6 \ - --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ - --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ - --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 - # via cryptography -charset-normalizer==2.0.12 \ - --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ - --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df - # via requests -click==8.0.4 \ - --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ - --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb - # via - # -r requirements.in - # gcp-docuploader - # gcp-releasetool -colorlog==6.7.0 \ - --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ - --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 - # via gcp-docuploader -cryptography==38.0.3 \ - --hash=sha256:068147f32fa662c81aebab95c74679b401b12b57494872886eb5c1139250ec5d \ - --hash=sha256:06fc3cc7b6f6cca87bd56ec80a580c88f1da5306f505876a71c8cfa7050257dd \ - --hash=sha256:25c1d1f19729fb09d42e06b4bf9895212292cb27bb50229f5aa64d039ab29146 \ - --hash=sha256:402852a0aea73833d982cabb6d0c3bb582c15483d29fb7085ef2c42bfa7e38d7 \ - --hash=sha256:4e269dcd9b102c5a3d72be3c45d8ce20377b8076a43cbed6f660a1afe365e436 \ - --hash=sha256:5419a127426084933076132d317911e3c6eb77568a1ce23c3ac1e12d111e61e0 \ - --hash=sha256:554bec92ee7d1e9d10ded2f7e92a5d70c1f74ba9524947c0ba0c850c7b011828 \ - --hash=sha256:5e89468fbd2fcd733b5899333bc54d0d06c80e04cd23d8c6f3e0542358c6060b \ - --hash=sha256:65535bc550b70bd6271984d9863a37741352b4aad6fb1b3344a54e6950249b55 \ - --hash=sha256:6ab9516b85bebe7aa83f309bacc5f44a61eeb90d0b4ec125d2d003ce41932d36 \ - --hash=sha256:6addc3b6d593cd980989261dc1cce38263c76954d758c3c94de51f1e010c9a50 \ - --hash=sha256:728f2694fa743a996d7784a6194da430f197d5c58e2f4e278612b359f455e4a2 \ - --hash=sha256:785e4056b5a8b28f05a533fab69febf5004458e20dad7e2e13a3120d8ecec75a \ - --hash=sha256:78cf5eefac2b52c10398a42765bfa981ce2372cbc0457e6bf9658f41ec3c41d8 \ - --hash=sha256:7f836217000342d448e1c9a342e9163149e45d5b5eca76a30e84503a5a96cab0 \ - --hash=sha256:8d41a46251bf0634e21fac50ffd643216ccecfaf3701a063257fe0b2be1b6548 \ - --hash=sha256:984fe150f350a3c91e84de405fe49e688aa6092b3525f407a18b9646f6612320 \ - --hash=sha256:9b24bcff7853ed18a63cfb0c2b008936a9554af24af2fb146e16d8e1aed75748 \ - --hash=sha256:b1b35d9d3a65542ed2e9d90115dfd16bbc027b3f07ee3304fc83580f26e43249 \ - --hash=sha256:b1b52c9e5f8aa2b802d48bd693190341fae201ea51c7a167d69fc48b60e8a959 \ - --hash=sha256:bbf203f1a814007ce24bd4d51362991d5cb90ba0c177a9c08825f2cc304d871f \ - --hash=sha256:be243c7e2bfcf6cc4cb350c0d5cdf15ca6383bbcb2a8ef51d3c9411a9d4386f0 \ - --hash=sha256:bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd \ - --hash=sha256:c46837ea467ed1efea562bbeb543994c2d1f6e800785bd5a2c98bc096f5cb220 \ - --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ - --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 - # via - # gcp-releasetool - # secretstorage -gcp-docuploader==0.6.4 \ - --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ - --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf - # via -r requirements.in -gcp-releasetool==1.9.1 \ - --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ - --hash=sha256:d0d3c814a97c1a237517e837d8cfa668ced8df4b882452578ecef4a4e79c583b - # via -r requirements.in -google-api-core==2.8.2 \ - --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ - --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 - # via - # google-cloud-core - # google-cloud-storage -google-auth==2.14.1 \ - --hash=sha256:ccaa901f31ad5cbb562615eb8b664b3dd0bf5404a67618e642307f00613eda4d \ - --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 - # via - # gcp-releasetool - # google-api-core - # google-cloud-core - # google-cloud-storage -google-cloud-core==2.3.1 \ - --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ - --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 - # via google-cloud-storage -google-cloud-storage==2.0.0 \ - --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ - --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 - # via gcp-docuploader -google-crc32c==1.3.0 \ - --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ - --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ - --hash=sha256:12674a4c3b56b706153a358eaa1018c4137a5a04635b92b4652440d3d7386206 \ - --hash=sha256:127f9cc3ac41b6a859bd9dc4321097b1a4f6aa7fdf71b4f9227b9e3ebffb4422 \ - --hash=sha256:13af315c3a0eec8bb8b8d80b8b128cb3fcd17d7e4edafc39647846345a3f003a \ - --hash=sha256:1926fd8de0acb9d15ee757175ce7242e235482a783cd4ec711cc999fc103c24e \ - --hash=sha256:226f2f9b8e128a6ca6a9af9b9e8384f7b53a801907425c9a292553a3a7218ce0 \ - --hash=sha256:276de6273eb074a35bc598f8efbc00c7869c5cf2e29c90748fccc8c898c244df \ - --hash=sha256:318f73f5484b5671f0c7f5f63741ab020a599504ed81d209b5c7129ee4667407 \ - --hash=sha256:3bbce1be3687bbfebe29abdb7631b83e6b25da3f4e1856a1611eb21854b689ea \ - --hash=sha256:42ae4781333e331a1743445931b08ebdad73e188fd554259e772556fc4937c48 \ - --hash=sha256:58be56ae0529c664cc04a9c76e68bb92b091e0194d6e3c50bea7e0f266f73713 \ - --hash=sha256:5da2c81575cc3ccf05d9830f9e8d3c70954819ca9a63828210498c0774fda1a3 \ - --hash=sha256:6311853aa2bba4064d0c28ca54e7b50c4d48e3de04f6770f6c60ebda1e975267 \ - --hash=sha256:650e2917660e696041ab3dcd7abac160b4121cd9a484c08406f24c5964099829 \ - --hash=sha256:6a4db36f9721fdf391646685ecffa404eb986cbe007a3289499020daf72e88a2 \ - --hash=sha256:779cbf1ce375b96111db98fca913c1f5ec11b1d870e529b1dc7354b2681a8c3a \ - --hash=sha256:7f6fe42536d9dcd3e2ffb9d3053f5d05221ae3bbcefbe472bdf2c71c793e3183 \ - --hash=sha256:891f712ce54e0d631370e1f4997b3f182f3368179198efc30d477c75d1f44942 \ - --hash=sha256:95c68a4b9b7828ba0428f8f7e3109c5d476ca44996ed9a5f8aac6269296e2d59 \ - --hash=sha256:96a8918a78d5d64e07c8ea4ed2bc44354e3f93f46a4866a40e8db934e4c0d74b \ - --hash=sha256:9c3cf890c3c0ecfe1510a452a165431b5831e24160c5fcf2071f0f85ca5a47cd \ - --hash=sha256:9f58099ad7affc0754ae42e6d87443299f15d739b0ce03c76f515153a5cda06c \ - --hash=sha256:a0b9e622c3b2b8d0ce32f77eba617ab0d6768b82836391e4f8f9e2074582bf02 \ - --hash=sha256:a7f9cbea4245ee36190f85fe1814e2d7b1e5f2186381b082f5d59f99b7f11328 \ - --hash=sha256:bab4aebd525218bab4ee615786c4581952eadc16b1ff031813a2fd51f0cc7b08 \ - --hash=sha256:c124b8c8779bf2d35d9b721e52d4adb41c9bfbde45e6a3f25f0820caa9aba73f \ - --hash=sha256:c9da0a39b53d2fab3e5467329ed50e951eb91386e9d0d5b12daf593973c3b168 \ - --hash=sha256:ca60076c388728d3b6ac3846842474f4250c91efbfe5afa872d3ffd69dd4b318 \ - --hash=sha256:cb6994fff247987c66a8a4e550ef374671c2b82e3c0d2115e689d21e511a652d \ - --hash=sha256:d1c1d6236feab51200272d79b3d3e0f12cf2cbb12b208c835b175a21efdb0a73 \ - --hash=sha256:dd7760a88a8d3d705ff562aa93f8445ead54f58fd482e4f9e2bafb7e177375d4 \ - --hash=sha256:dda4d8a3bb0b50f540f6ff4b6033f3a74e8bf0bd5320b70fab2c03e512a62812 \ - --hash=sha256:e0f1ff55dde0ebcfbef027edc21f71c205845585fffe30d4ec4979416613e9b3 \ - --hash=sha256:e7a539b9be7b9c00f11ef16b55486141bc2cdb0c54762f84e3c6fc091917436d \ - --hash=sha256:eb0b14523758e37802f27b7f8cd973f5f3d33be7613952c0df904b68c4842f0e \ - --hash=sha256:ed447680ff21c14aaceb6a9f99a5f639f583ccfe4ce1a5e1d48eb41c3d6b3217 \ - --hash=sha256:f52a4ad2568314ee713715b1e2d79ab55fab11e8b304fd1462ff5cccf4264b3e \ - --hash=sha256:fbd60c6aaa07c31d7754edbc2334aef50601b7f1ada67a96eb1eb57c7c72378f \ - --hash=sha256:fc28e0db232c62ca0c3600884933178f0825c99be4474cdd645e378a10588125 \ - --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ - --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ - --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 - # via google-resumable-media -google-resumable-media==2.3.3 \ - --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ - --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via google-cloud-storage -googleapis-common-protos==1.56.3 \ - --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ - --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 - # via google-api-core -idna==3.4 \ - --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ - --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 - # via requests -importlib-metadata==4.8.3 \ - --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ - --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 - # via keyring -jeepney==0.8.0 \ - --hash=sha256:5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806 \ - --hash=sha256:c0a454ad016ca575060802ee4d590dd912e35c122fa04e70306de3d076cce755 - # via - # keyring - # secretstorage -jinja2==3.0.3 \ - --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ - --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 - # via gcp-releasetool -keyring==23.4.1 \ - --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ - --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 - # via gcp-releasetool -markupsafe==2.0.1 \ - --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ - --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ - --hash=sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b \ - --hash=sha256:04635854b943835a6ea959e948d19dcd311762c5c0c6e1f0e16ee57022669194 \ - --hash=sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567 \ - --hash=sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff \ - --hash=sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724 \ - --hash=sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74 \ - --hash=sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646 \ - --hash=sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35 \ - --hash=sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6 \ - --hash=sha256:20dca64a3ef2d6e4d5d615a3fd418ad3bde77a47ec8a23d984a12b5b4c74491a \ - --hash=sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6 \ - --hash=sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad \ - --hash=sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26 \ - --hash=sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38 \ - --hash=sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac \ - --hash=sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7 \ - --hash=sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6 \ - --hash=sha256:4296f2b1ce8c86a6aea78613c34bb1a672ea0e3de9c6ba08a960efe0b0a09047 \ - --hash=sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75 \ - --hash=sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f \ - --hash=sha256:4dc8f9fb58f7364b63fd9f85013b780ef83c11857ae79f2feda41e270468dd9b \ - --hash=sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135 \ - --hash=sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8 \ - --hash=sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a \ - --hash=sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a \ - --hash=sha256:5b6d930f030f8ed98e3e6c98ffa0652bdb82601e7a016ec2ab5d7ff23baa78d1 \ - --hash=sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9 \ - --hash=sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864 \ - --hash=sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914 \ - --hash=sha256:6300b8454aa6930a24b9618fbb54b5a68135092bc666f7b06901f897fa5c2fee \ - --hash=sha256:63f3268ba69ace99cab4e3e3b5840b03340efed0948ab8f78d2fd87ee5442a4f \ - --hash=sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18 \ - --hash=sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8 \ - --hash=sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2 \ - --hash=sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d \ - --hash=sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b \ - --hash=sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b \ - --hash=sha256:89c687013cb1cd489a0f0ac24febe8c7a666e6e221b783e53ac50ebf68e45d86 \ - --hash=sha256:8d206346619592c6200148b01a2142798c989edcb9c896f9ac9722a99d4e77e6 \ - --hash=sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f \ - --hash=sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb \ - --hash=sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833 \ - --hash=sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28 \ - --hash=sha256:9f02365d4e99430a12647f09b6cc8bab61a6564363f313126f775eb4f6ef798e \ - --hash=sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415 \ - --hash=sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902 \ - --hash=sha256:aca6377c0cb8a8253e493c6b451565ac77e98c2951c45f913e0b52facdcff83f \ - --hash=sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d \ - --hash=sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9 \ - --hash=sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d \ - --hash=sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145 \ - --hash=sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066 \ - --hash=sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c \ - --hash=sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1 \ - --hash=sha256:cdfba22ea2f0029c9261a4bd07e830a8da012291fbe44dc794e488b6c9bb353a \ - --hash=sha256:d6c7ebd4e944c85e2c3421e612a7057a2f48d478d79e61800d81468a8d842207 \ - --hash=sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f \ - --hash=sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53 \ - --hash=sha256:deb993cacb280823246a026e3b2d81c493c53de6acfd5e6bfe31ab3402bb37dd \ - --hash=sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134 \ - --hash=sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85 \ - --hash=sha256:f0567c4dc99f264f49fe27da5f735f414c4e7e7dd850cfd8e69f0862d7c74ea9 \ - --hash=sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5 \ - --hash=sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94 \ - --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ - --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ - --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 - # via jinja2 -packaging==21.3 \ - --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ - --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 - # via gcp-releasetool -protobuf==3.20.2 \ - --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ - --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ - --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ - --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ - --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ - --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ - --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ - --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ - --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ - --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ - --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ - --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ - --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ - --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ - --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ - --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ - --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ - --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ - --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ - --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ - --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ - --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 - # via - # gcp-docuploader - # gcp-releasetool - # google-api-core - # google-cloud-storage -pyasn1==0.4.8 \ - --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ - --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba - # via - # pyasn1-modules - # rsa -pyasn1-modules==0.2.8 \ - --hash=sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e \ - --hash=sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74 - # via google-auth -pycparser==2.21 \ - --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ - --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 - # via cffi -pyjwt==2.4.0 \ - --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ - --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba - # via gcp-releasetool -pyparsing==3.0.9 \ - --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ - --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc - # via packaging -pyperclip==1.8.2 \ - --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 - # via gcp-releasetool -python-dateutil==2.8.2 \ - --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ - --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 - # via gcp-releasetool -requests==2.27.1 \ - --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ - --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d - # via - # gcp-releasetool - # google-api-core - # google-cloud-storage -rsa==4.9 \ - --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ - --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 - # via google-auth -secretstorage==3.3.3 \ - --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ - --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 - # via keyring -setuptools==65.6.3 \ - --hash=sha256:57f6f22bde4e042978bcd50176fdb381d7c21a9efa4041202288d3737a0c6a54 \ - --hash=sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75 - # via -r requirements.in -six==1.16.0 \ - --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ - --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 - # via - # gcp-docuploader - # google-auth - # python-dateutil -typing-extensions==4.4.0 \ - --hash=sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa \ - --hash=sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e - # via -r requirements.in -urllib3==1.26.12 \ - --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ - --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 - # via requests -wheel==0.38.4 \ - --hash=sha256:965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac \ - --hash=sha256:b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8 - # via -r requirements.in -zipp==3.6.0 \ - --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ - --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc - # via importlib-metadata diff --git a/java-core/.kokoro/trampoline.sh b/java-core/.kokoro/trampoline.sh deleted file mode 100644 index 8b69b793c9ec..000000000000 --- a/java-core/.kokoro/trampoline.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -set -eo pipefail -# Always run the cleanup script, regardless of the success of bouncing into -# the container. -function cleanup() { - chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh - ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh - echo "cleanup"; -} -trap cleanup EXIT - -$(dirname $0)/populate-secrets.sh # Secret Manager secrets. -python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-core/CODE_OF_CONDUCT.md b/java-core/CODE_OF_CONDUCT.md deleted file mode 100644 index 2add2547a812..000000000000 --- a/java-core/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,94 +0,0 @@ - -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of -experience, education, socio-economic status, nationality, personal appearance, -race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, or to ban temporarily or permanently any -contributor for other behaviors that they deem inappropriate, threatening, -offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when the Project -Steward has a reasonable belief that an individual's behavior may have a -negative impact on the project or its community. - -## Conflict Resolution - -We do not believe that all conflict is bad; healthy debate and disagreement -often yield positive results. However, it is never okay to be disrespectful or -to engage in behavior that violates the project’s code of conduct. - -If you see someone violating the code of conduct, you are encouraged to address -the behavior directly with those involved. Many issues can be resolved quickly -and easily, and this gives people more control over the outcome of their -dispute. If you are unable to resolve the matter for any reason, or if the -behavior is threatening or harassing, report it. We are dedicated to providing -an environment where participants feel welcome and safe. - -Reports should be directed to *googleapis-stewards@google.com*, the -Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to -receive and address reported violations of the code of conduct. They will then -work with a committee consisting of representatives from the Open Source -Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out to the Project Steward, please email -opensource@google.com. - -We will investigate every complaint, but you may not receive a direct response. -We will use our discretion in determining when and how to follow up on reported -incidents, which may range from not taking action to permanent expulsion from -the project and project-sponsored spaces. We will notify the accused of the -report and provide them an opportunity to discuss it before any action is taken. -The identity of the reporter will be omitted from the details of the report -supplied to the accused. In potentially harmful situations, such as ongoing -harassment or threats to anyone's safety, we may take action without notice. - -## Attribution - -This Code of Conduct is adapted from the Contributor Covenant, version 1.4, -available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-core/CONTRIBUTING.md b/java-core/CONTRIBUTING.md deleted file mode 100644 index b65dd279c946..000000000000 --- a/java-core/CONTRIBUTING.md +++ /dev/null @@ -1,92 +0,0 @@ -# How to Contribute - -We'd love to accept your patches and contributions to this project. There are -just a few small guidelines you need to follow. - -## Contributor License Agreement - -Contributions to this project must be accompanied by a Contributor License -Agreement. You (or your employer) retain the copyright to your contribution; -this simply gives us permission to use and redistribute your contributions as -part of the project. Head over to to see -your current agreements on file or to sign a new one. - -You generally only need to submit a CLA once, so if you've already submitted one -(even if it was for a different project), you probably don't need to do it -again. - -## Code reviews - -All submissions, including submissions by project members, require review. We -use GitHub pull requests for this purpose. Consult -[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more -information on using pull requests. - -## Community Guidelines - -This project follows -[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). - -## Building the project - -To build, package, and run all unit tests run the command - -``` -mvn clean verify -``` - -### Running Integration tests - -To include integration tests when building the project, you need access to -a GCP Project with a valid service account. - -For instructions on how to generate a service account and corresponding -credentials JSON see: [Creating a Service Account][1]. - -Then run the following to build, package, run all unit tests and run all -integration tests. - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-integration-tests clean verify -``` - -## Code Samples - -All code samples must be in compliance with the [java sample formatting guide][3]. -Code Samples must be bundled in separate Maven modules. - -The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 8 whereas samples can have - Java version of Java 11. Due to this we need the ability to - selectively exclude samples from a build run. -2. Many code samples depend on external GCP services and need - credentials to access the service. -3. Code samples are not released as Maven artifacts and must be excluded from - release builds. - -### Building - -```bash -mvn clean verify -``` - -Some samples require access to GCP services and require a service account: - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn clean verify -``` - -### Code Formatting - -Code in this repo is formatted with -[google-java-format](https://github.com/google/google-java-format). -To run formatting on your project, you can run: -``` -mvn com.coveo:fmt-maven-plugin:format -``` - -[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account -[2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file diff --git a/java-core/LICENSE b/java-core/LICENSE deleted file mode 100644 index 261eeb9e9f8b..000000000000 --- a/java-core/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/java-core/SECURITY.md b/java-core/SECURITY.md deleted file mode 100644 index 8b58ae9c01ae..000000000000 --- a/java-core/SECURITY.md +++ /dev/null @@ -1,7 +0,0 @@ -# Security Policy - -To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). - -The Google Security Team will respond within 5 working days of your report on g.co/vulnz. - -We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. diff --git a/java-core/codecov.yaml b/java-core/codecov.yaml deleted file mode 100644 index 5724ea9478d7..000000000000 --- a/java-core/codecov.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -codecov: - ci: - - source.cloud.google.com diff --git a/java-core/java.header b/java-core/java.header deleted file mode 100644 index d0970ba7d375..000000000000 --- a/java-core/java.header +++ /dev/null @@ -1,15 +0,0 @@ -^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ -^ \*/$ diff --git a/java-core/renovate.json b/java-core/renovate.json deleted file mode 100644 index 443f141ae517..000000000000 --- a/java-core/renovate.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "extends": [ - ":separateMajorReleases", - ":combinePatchMinorReleases", - ":ignoreUnstable", - ":prImmediately", - ":updateNotScheduled", - ":automergeDisabled", - ":ignoreModulesAndTests", - ":maintainLockFilesDisabled", - ":autodetectPinVersions" - ], - "ignorePaths": [".kokoro/requirements.txt"], - "packageRules": [ - { - "packagePatterns": [ - "^com.google.guava:" - ], - "versionScheme": "docker" - }, - { - "packagePatterns": [ - "*" - ], - "semanticCommitType": "deps", - "semanticCommitScope": null - }, - { - "packagePatterns": [ - "^org.apache.maven", - "^org.jacoco:", - "^org.codehaus.mojo:", - "^org.sonatype.plugins:", - "^com.coveo:", - "^com.google.cloud:google-cloud-shared-config" - ], - "semanticCommitType": "build", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-core", - "^com.google.cloud:libraries-bom", - "^com.google.cloud.samples:shared-configuration" - ], - "semanticCommitType": "chore", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^junit:junit", - "^com.google.truth:truth", - "^org.mockito:mockito-core", - "^org.objenesis:objenesis", - "^com.google.cloud:google-cloud-conformance-tests" - ], - "semanticCommitType": "test", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-" - ], - "ignoreUnstable": false - }, - { - "packagePatterns": [ - "^com.fasterxml.jackson.core" - ], - "groupName": "jackson dependencies" - } - ], - "semanticCommits": true, - "dependencyDashboard": true -} diff --git a/java-core/versions.txt b/java-core/versions.txt deleted file mode 100644 index 1a9b45f82bed..000000000000 --- a/java-core/versions.txt +++ /dev/null @@ -1,4 +0,0 @@ -# Format: -# module:released-version:current-version - -google-cloud-core:2.9.4:2.9.5-SNAPSHOT diff --git a/java-iam/.github/CODEOWNERS b/java-iam/.github/CODEOWNERS deleted file mode 100644 index db2d8ad1747b..000000000000 --- a/java-iam/.github/CODEOWNERS +++ /dev/null @@ -1,13 +0,0 @@ -# Code owners file. -# This file controls who is tagged for review for any given pull request. - -# For syntax help see: -# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax - -* @googleapis/yoshi-java - -# The java-samples-reviewers team is the default owner for samples changes -samples/**/*.java @googleapis/java-samples-reviewers - -# Generated snippets should not be owned by samples reviewers -samples/snippets/generated/ @googleapis/yoshi-java diff --git a/java-iam/.github/ISSUE_TEMPLATE/bug_report.md b/java-iam/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index fad37bbdd806..000000000000 --- a/java-iam/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -Thanks for stopping by to let us know something could be better! - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. - -Please run down the following list and make sure you've tried the usual "quick fixes": - - - Search the issues already opened: https://github.com/googleapis/java-iam/issues - - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform - -If you are still having issues, please include as much information as possible: - -#### Environment details - -1. Specify the API at the beginning of the title. For example, "BigQuery: ..."). - General, Core, and Other are also allowed as types -2. OS type and version: -3. Java version: -4. version(s): - -#### Steps to reproduce - - 1. ? - 2. ? - -#### Code example - -```java -// example -``` - -#### Stack trace -``` -Any relevant stacktrace here. -``` - -#### External references such as API reference guides - -- ? - -#### Any additional information below - - -Following these steps guarantees the quickest resolution possible. - -Thanks! diff --git a/java-iam/.github/ISSUE_TEMPLATE/feature_request.md b/java-iam/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 754e30c68a00..000000000000 --- a/java-iam/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this library - ---- - -Thanks for stopping by to let us know something could be better! - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. - -**Is your feature request related to a problem? Please describe.** -What the problem is. Example: I'm always frustrated when [...] - -**Describe the solution you'd like** -What you want to happen. - -**Describe alternatives you've considered** -Any alternative solutions or features you've considered. - -**Additional context** -Any other context or screenshots about the feature request. diff --git a/java-iam/.github/ISSUE_TEMPLATE/support_request.md b/java-iam/.github/ISSUE_TEMPLATE/support_request.md deleted file mode 100644 index 995869032125..000000000000 --- a/java-iam/.github/ISSUE_TEMPLATE/support_request.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -name: Support request -about: If you have a support contract with Google, please create an issue in the Google Cloud Support console. - ---- - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-iam/.github/PULL_REQUEST_TEMPLATE.md b/java-iam/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index c9e354de0df3..000000000000 --- a/java-iam/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,10 +0,0 @@ -Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: -- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-iam/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea -- [ ] Ensure the tests and linter pass -- [ ] Code coverage does not decrease (if any source code was changed) -- [ ] Appropriate docs were updated (if necessary) - -Fixes # ☕️ - -If you write sample code, please follow the [samples format]( -https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). diff --git a/java-iam/.github/auto-label.yaml b/java-iam/.github/auto-label.yaml deleted file mode 100644 index 4caef688b745..000000000000 --- a/java-iam/.github/auto-label.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -requestsize: - enabled: true diff --git a/java-iam/.github/blunderbuss.yml b/java-iam/.github/blunderbuss.yml deleted file mode 100644 index 2176b0543214..000000000000 --- a/java-iam/.github/blunderbuss.yml +++ /dev/null @@ -1,7 +0,0 @@ -# Configuration for the Blunderbuss GitHub app. For more info see -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss -assign_prs_by: -- labels: - - samples - to: - - googleapis/java-samples-reviewers \ No newline at end of file diff --git a/java-iam/.github/generated-files-bot.yml b/java-iam/.github/generated-files-bot.yml deleted file mode 100644 index c644a24e1129..000000000000 --- a/java-iam/.github/generated-files-bot.yml +++ /dev/null @@ -1,12 +0,0 @@ -externalManifests: -- type: json - file: 'synth.metadata' - jsonpath: '$.generatedFiles[*]' -- type: json - file: '.github/readme/synth.metadata/synth.metadata' - jsonpath: '$.generatedFiles[*]' -ignoreAuthors: -- 'renovate-bot' -- 'yoshi-automation' -- 'release-please[bot]' -- 'gcf-owl-bot[bot]' diff --git a/java-iam/.github/release-please.yml b/java-iam/.github/release-please.yml deleted file mode 100644 index 7bf58076589a..000000000000 --- a/java-iam/.github/release-please.yml +++ /dev/null @@ -1,8 +0,0 @@ -bumpMinorPreMajor: true -handleGHRelease: true -releaseType: java-yoshi -branches: - - bumpMinorPreMajor: true - handleGHRelease: true - releaseType: java-yoshi - branch: java7 diff --git a/java-iam/.github/release-trigger.yml b/java-iam/.github/release-trigger.yml deleted file mode 100644 index d4ca94189e16..000000000000 --- a/java-iam/.github/release-trigger.yml +++ /dev/null @@ -1 +0,0 @@ -enabled: true diff --git a/java-iam/.github/snippet-bot.yml b/java-iam/.github/snippet-bot.yml deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/java-iam/.github/sync-repo-settings.yaml b/java-iam/.github/sync-repo-settings.yaml deleted file mode 100644 index dd5626f32d78..000000000000 --- a/java-iam/.github/sync-repo-settings.yaml +++ /dev/null @@ -1,40 +0,0 @@ -rebaseMergeAllowed: false -squashMergeAllowed: true -mergeCommitAllowed: false -branchProtectionRules: - - pattern: main - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: java7 - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - units (7) - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor -permissionRules: - - team: yoshi-admins - permission: admin - - team: yoshi-java-admins - permission: admin - - team: yoshi-java - permission: push diff --git a/java-iam/.github/trusted-contribution.yml b/java-iam/.github/trusted-contribution.yml deleted file mode 100644 index a0ba1f7d9078..000000000000 --- a/java-iam/.github/trusted-contribution.yml +++ /dev/null @@ -1,3 +0,0 @@ -trustedContributors: -- renovate-bot -- gcf-owl-bot[bot] diff --git a/java-iam/.github/workflows/approve-readme.yaml b/java-iam/.github/workflows/approve-readme.yaml deleted file mode 100644 index f5fc7d5169eb..000000000000 --- a/java-iam/.github/workflows/approve-readme.yaml +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - pull_request: -name: auto-merge-readme -jobs: - approve: - runs-on: ubuntu-latest - if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' - steps: - - uses: actions/github-script@v6 - with: - github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} - script: | - // only approve PRs from yoshi-automation - if (context.payload.pull_request.user.login !== "yoshi-automation") { - return; - } - - // only approve PRs like "chore: release " - if (!context.payload.pull_request.title === "chore: regenerate README") { - return; - } - - // only approve PRs with README.md and synth.metadata changes - const files = new Set( - ( - await github.paginate( - github.pulls.listFiles.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - }) - ) - ).map(file => file.filename) - ); - if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { - return; - } - - // approve README regeneration PR - await github.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Rubber stamped PR!', - pull_number: context.payload.pull_request.number, - event: 'APPROVE' - }); - - // attach automerge label - await github.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.payload.pull_request.number, - labels: ['automerge'] - }); diff --git a/java-iam/.github/workflows/auto-release.yaml b/java-iam/.github/workflows/auto-release.yaml deleted file mode 100644 index 7a106d007edf..000000000000 --- a/java-iam/.github/workflows/auto-release.yaml +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - pull_request: -name: auto-release -jobs: - approve: - runs-on: ubuntu-latest - if: contains(github.head_ref, 'release-please') - steps: - - uses: actions/github-script@v6 - with: - github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} - debug: true - script: | - // only approve PRs from release-please[bot] - if (context.payload.pull_request.user.login !== "release-please[bot]") { - return; - } - - // only approve PRs like "chore(main): release " - if ( !context.payload.pull_request.title.startsWith("chore(main): release") ) { - return; - } - - // only approve PRs with pom.xml and versions.txt changes - const filesPromise = github.rest.pulls.listFiles.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - }); - const changed_files = await github.paginate(filesPromise) - - if ( changed_files.length < 1 ) { - console.log( "Not proceeding since PR is empty!" ) - return; - } - - if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) { - console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" ) - return; - } - - // trigger auto-release when - // 1) it is a SNAPSHOT release (auto-generated post regular release) - // 2) there are dependency updates only - // 3) there are no open dependency update PRs in this repo (to avoid multiple releases) - if ( - context.payload.pull_request.body.includes("Fix") || - context.payload.pull_request.body.includes("Build") || - context.payload.pull_request.body.includes("Documentation") || - context.payload.pull_request.body.includes("BREAKING CHANGES") || - context.payload.pull_request.body.includes("Features") - ) { - console.log( "Not auto-releasing since it is not a dependency-update-only release." ); - return; - } - - const promise = github.rest.pulls.list.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - state: 'open' - }); - const open_pulls = await github.paginate(promise) - - if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) { - for ( const pull of open_pulls ) { - if ( pull.title.startsWith("deps: update dependency") ) { - console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." ); - return; - } - } - } - - // approve release PR - await github.rest.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Rubber stamped release!', - pull_number: context.payload.pull_request.number, - event: 'APPROVE' - }); - - // attach kokoro:force-run and automerge labels - await github.rest.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.payload.pull_request.number, - labels: ['kokoro:force-run', 'automerge'] - }); diff --git a/java-iam/.github/workflows/ci.yaml b/java-iam/.github/workflows/ci.yaml deleted file mode 100644 index e3bb26e37719..000000000000 --- a/java-iam/.github/workflows/ci.yaml +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - push: - branches: - - main - pull_request: -name: ci -jobs: - units: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - java: [8, 11, 17] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: test - windows: - runs-on: windows-latest - steps: - - name: Support longpaths - run: git config --system core.longpaths true - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 8 - - run: java -version - - run: .kokoro/build.bat - env: - JOB_TYPE: test - dependencies: - runs-on: ubuntu-latest - strategy: - matrix: - java: [8, 11, 17] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: .kokoro/dependencies.sh - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 11 - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: lint - clirr: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 8 - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: clirr diff --git a/java-iam/.kokoro/build.bat b/java-iam/.kokoro/build.bat deleted file mode 100644 index 067cf4a4c489..000000000000 --- a/java-iam/.kokoro/build.bat +++ /dev/null @@ -1,18 +0,0 @@ -:: Copyright 2022 Google LLC -:: -:: Licensed under the Apache License, Version 2.0 (the "License"); -:: you may not use this file except in compliance with the License. -:: You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, software -:: distributed under the License is distributed on an "AS IS" BASIS, -:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -:: See the License for the specific language governing permissions and -:: limitations under the License. -:: Github action job to test core java library features on -:: downstream client libraries before they are released. -:: See documentation in type-shell-output.bat - -"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-iam/.kokoro/build.sh b/java-iam/.kokoro/build.sh deleted file mode 100755 index 80348f95caad..000000000000 --- a/java-iam/.kokoro/build.sh +++ /dev/null @@ -1,134 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Maven & Java version -mvn -version -echo ${JOB_TYPE} - -# attempt to install 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C - -# if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it -if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) -fi - -RETURN_CODE=0 -set +e - -case ${JOB_TYPE} in -test) - mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true - RETURN_CODE=$? - ;; -lint) - mvn com.coveo:fmt-maven-plugin:check -B -ntp - RETURN_CODE=$? - ;; -javadoc) - mvn javadoc:javadoc javadoc:test-javadoc -B -ntp - RETURN_CODE=$? - ;; -integration) - mvn -B ${INTEGRATION_TEST_ARGS} \ - -ntp \ - -Penable-integration-tests \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - RETURN_CODE=$? - ;; -graalvm) - # Run Unit and Integration Tests with Native Image - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test - RETURN_CODE=$? - ;; -graalvm17) - # Run Unit and Integration Tests with Native Image - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test - RETURN_CODE=$? - ;; -samples) - SAMPLES_DIR=samples - # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. - if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] - then - SAMPLES_DIR=samples/snapshot - fi - - if [[ -f ${SAMPLES_DIR}/pom.xml ]] - then - for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do - [[ -f "$FILE" ]] || continue - source "$FILE" - done - - pushd ${SAMPLES_DIR} - mvn -B \ - -ntp \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - RETURN_CODE=$? - popd - else - echo "no sample pom.xml found - skipping sample tests" - fi - ;; -clirr) - mvn -B -ntp -Denforcer.skip=true clirr:check - RETURN_CODE=$? - ;; -*) - ;; -esac - -if [ "${REPORT_COVERAGE}" == "true" ] -then - bash ${KOKORO_GFILE_DIR}/codecov.sh -fi - -# fix output location of logs -bash .kokoro/coerce_logs.sh - -if [[ "${ENABLE_FLAKYBOT}" == "true" ]] -then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot - ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-iam -fi - -echo "exiting with ${RETURN_CODE}" -exit ${RETURN_CODE} diff --git a/java-iam/.kokoro/coerce_logs.sh b/java-iam/.kokoro/coerce_logs.sh deleted file mode 100755 index 46edbf7f2fcd..000000000000 --- a/java-iam/.kokoro/coerce_logs.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# This script finds and moves sponge logs so that they can be found by placer -# and are not flagged as flaky by sponge. - -set -eo pipefail - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -job=$(basename ${KOKORO_JOB_NAME}) - -echo "coercing sponge logs..." -for xml in `find . -name *-sponge_log.xml` -do - class=$(basename ${xml} | cut -d- -f2) - dir=$(dirname ${xml})/${job}/${class} - text=$(dirname ${xml})/${class}-sponge_log.txt - mkdir -p ${dir} - mv ${xml} ${dir}/sponge_log.xml - mv ${text} ${dir}/sponge_log.txt -done diff --git a/java-iam/.kokoro/common.cfg b/java-iam/.kokoro/common.cfg deleted file mode 100644 index 349dd92a7815..000000000000 --- a/java-iam/.kokoro/common.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# All builds use the trampoline script to run in docker. -build_file: "java-iam/.kokoro/trampoline.sh" - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/build.sh" -} diff --git a/java-iam/.kokoro/common.sh b/java-iam/.kokoro/common.sh deleted file mode 100644 index f8f957af1112..000000000000 --- a/java-iam/.kokoro/common.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -function retry_with_backoff { - attempts_left=$1 - sleep_seconds=$2 - shift 2 - command=$@ - - - # store current flag state - flags=$- - - # allow a failures to continue - set +e - ${command} - exit_code=$? - - # restore "e" flag - if [[ ${flags} =~ e ]] - then set -e - else set +e - fi - - if [[ $exit_code == 0 ]] - then - return 0 - fi - - # failure - if [[ ${attempts_left} > 0 ]] - then - echo "failure (${exit_code}), sleeping ${sleep_seconds}..." - sleep ${sleep_seconds} - new_attempts=$((${attempts_left} - 1)) - new_sleep=$((${sleep_seconds} * 2)) - retry_with_backoff ${new_attempts} ${new_sleep} ${command} - fi - - return $exit_code -} - -## Helper functionss -function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } -function msg() { println "$*" >&2; } -function println() { printf '%s\n' "$(now) $*"; } - -## Helper comment to trigger updated repo dependency release \ No newline at end of file diff --git a/java-iam/.kokoro/continuous/common.cfg b/java-iam/.kokoro/continuous/common.cfg deleted file mode 100644 index 90c639ac13ad..000000000000 --- a/java-iam/.kokoro/continuous/common.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-iam/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} diff --git a/java-iam/.kokoro/continuous/dependencies.cfg b/java-iam/.kokoro/continuous/dependencies.cfg deleted file mode 100644 index fda7101a646a..000000000000 --- a/java-iam/.kokoro/continuous/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/dependencies.sh" -} diff --git a/java-iam/.kokoro/continuous/integration.cfg b/java-iam/.kokoro/continuous/integration.cfg deleted file mode 100644 index 3b017fc80f04..000000000000 --- a/java-iam/.kokoro/continuous/integration.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} diff --git a/java-iam/.kokoro/continuous/java11.cfg b/java-iam/.kokoro/continuous/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-iam/.kokoro/continuous/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-iam/.kokoro/continuous/java7.cfg b/java-iam/.kokoro/continuous/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-iam/.kokoro/continuous/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-iam/.kokoro/continuous/java8-osx.cfg b/java-iam/.kokoro/continuous/java8-osx.cfg deleted file mode 100644 index 1affbbe4adc8..000000000000 --- a/java-iam/.kokoro/continuous/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-iam/.kokoro/build.sh" diff --git a/java-iam/.kokoro/continuous/java8-win.cfg b/java-iam/.kokoro/continuous/java8-win.cfg deleted file mode 100644 index 4c8e051ae085..000000000000 --- a/java-iam/.kokoro/continuous/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-iam/.kokoro/build.bat" diff --git a/java-iam/.kokoro/continuous/java8.cfg b/java-iam/.kokoro/continuous/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-iam/.kokoro/continuous/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-iam/.kokoro/continuous/lint.cfg b/java-iam/.kokoro/continuous/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-iam/.kokoro/continuous/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-iam/.kokoro/continuous/propose_release.cfg b/java-iam/.kokoro/continuous/propose_release.cfg deleted file mode 100644 index 4df19cc2f9fe..000000000000 --- a/java-iam/.kokoro/continuous/propose_release.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-iam/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/continuous/propose_release.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/java-iam/.kokoro/continuous/samples.cfg b/java-iam/.kokoro/continuous/samples.cfg deleted file mode 100644 index fa7b493d0b5c..000000000000 --- a/java-iam/.kokoro/continuous/samples.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} diff --git a/java-iam/.kokoro/dependencies.sh b/java-iam/.kokoro/dependencies.sh deleted file mode 100755 index bd8960246f66..000000000000 --- a/java-iam/.kokoro/dependencies.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -shopt -s nullglob - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Java -java -version -echo $JOB_TYPE - -function determineMavenOpts() { - local javaVersion=$( - # filter down to the version line, then pull out the version between quotes, - # then trim the version number down to its minimal number (removing any - # update or suffix number). - java -version 2>&1 | grep "version" \ - | sed -E 's/^.*"(.*?)".*$/\1/g' \ - | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' - ) - - if [[ $javaVersion == 17* ]] - then - # MaxPermSize is no longer supported as of jdk 17 - echo -n "-Xmx1024m" - else - echo -n "-Xmx1024m -XX:MaxPermSize=128m" - fi -} - -export MAVEN_OPTS=$(determineMavenOpts) - -# this should run maven enforcer -retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ - -DskipTests=true \ - -Dmaven.javadoc.skip=true \ - -Dclirr.skip=true - -mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-iam/.kokoro/nightly/common.cfg b/java-iam/.kokoro/nightly/common.cfg deleted file mode 100644 index 90c639ac13ad..000000000000 --- a/java-iam/.kokoro/nightly/common.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-iam/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} diff --git a/java-iam/.kokoro/nightly/dependencies.cfg b/java-iam/.kokoro/nightly/dependencies.cfg deleted file mode 100644 index fda7101a646a..000000000000 --- a/java-iam/.kokoro/nightly/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/dependencies.sh" -} diff --git a/java-iam/.kokoro/nightly/integration.cfg b/java-iam/.kokoro/nightly/integration.cfg deleted file mode 100644 index a2907a257b2b..000000000000 --- a/java-iam/.kokoro/nightly/integration.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-iam/.kokoro/nightly/java11-integration.cfg b/java-iam/.kokoro/nightly/java11-integration.cfg deleted file mode 100644 index 58049cc38f11..000000000000 --- a/java-iam/.kokoro/nightly/java11-integration.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/java11014" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-iam/.kokoro/nightly/java11.cfg b/java-iam/.kokoro/nightly/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-iam/.kokoro/nightly/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-iam/.kokoro/nightly/java7.cfg b/java-iam/.kokoro/nightly/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-iam/.kokoro/nightly/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-iam/.kokoro/nightly/java8-osx.cfg b/java-iam/.kokoro/nightly/java8-osx.cfg deleted file mode 100644 index 1affbbe4adc8..000000000000 --- a/java-iam/.kokoro/nightly/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-iam/.kokoro/build.sh" diff --git a/java-iam/.kokoro/nightly/java8-win.cfg b/java-iam/.kokoro/nightly/java8-win.cfg deleted file mode 100644 index 4c8e051ae085..000000000000 --- a/java-iam/.kokoro/nightly/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-iam/.kokoro/build.bat" diff --git a/java-iam/.kokoro/nightly/java8.cfg b/java-iam/.kokoro/nightly/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-iam/.kokoro/nightly/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-iam/.kokoro/nightly/lint.cfg b/java-iam/.kokoro/nightly/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-iam/.kokoro/nightly/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-iam/.kokoro/nightly/samples.cfg b/java-iam/.kokoro/nightly/samples.cfg deleted file mode 100644 index 9761fd8648cb..000000000000 --- a/java-iam/.kokoro/nightly/samples.cfg +++ /dev/null @@ -1,38 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-docs-samples-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-docs-samples-service-account" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} diff --git a/java-iam/.kokoro/populate-secrets.sh b/java-iam/.kokoro/populate-secrets.sh deleted file mode 100755 index f52514257ef0..000000000000 --- a/java-iam/.kokoro/populate-secrets.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} -function msg { println "$*" >&2 ;} -function println { printf '%s\n' "$(now) $*" ;} - - -# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: -# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com -SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" -msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" -mkdir -p ${SECRET_LOCATION} -for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") -do - msg "Retrieving secret ${key}" - docker run --entrypoint=gcloud \ - --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ - gcr.io/google.com/cloudsdktool/cloud-sdk \ - secrets versions access latest \ - --project cloud-devrel-kokoro-resources \ - --secret ${key} > \ - "${SECRET_LOCATION}/${key}" - if [[ $? == 0 ]]; then - msg "Secret written to ${SECRET_LOCATION}/${key}" - else - msg "Error retrieving secret ${key}" - fi -done diff --git a/java-iam/.kokoro/presubmit/clirr.cfg b/java-iam/.kokoro/presubmit/clirr.cfg deleted file mode 100644 index ec572442e2e7..000000000000 --- a/java-iam/.kokoro/presubmit/clirr.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "clirr" -} \ No newline at end of file diff --git a/java-iam/.kokoro/presubmit/common.cfg b/java-iam/.kokoro/presubmit/common.cfg deleted file mode 100644 index 5bce0b64cbee..000000000000 --- a/java-iam/.kokoro/presubmit/common.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-iam/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "dpebot_codecov_token" - } - } -} diff --git a/java-iam/.kokoro/presubmit/dependencies.cfg b/java-iam/.kokoro/presubmit/dependencies.cfg deleted file mode 100644 index fda7101a646a..000000000000 --- a/java-iam/.kokoro/presubmit/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/dependencies.sh" -} diff --git a/java-iam/.kokoro/presubmit/graalvm-native-17.cfg b/java-iam/.kokoro/presubmit/graalvm-native-17.cfg deleted file mode 100644 index e20330c3ca60..000000000000 --- a/java-iam/.kokoro/presubmit/graalvm-native-17.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0" -} - -env_vars: { - key: "JOB_TYPE" - value: "graalvm17" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} \ No newline at end of file diff --git a/java-iam/.kokoro/presubmit/graalvm-native.cfg b/java-iam/.kokoro/presubmit/graalvm-native.cfg deleted file mode 100644 index 0fd6ba2fa0ce..000000000000 --- a/java-iam/.kokoro/presubmit/graalvm-native.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0" -} - -env_vars: { - key: "JOB_TYPE" - value: "graalvm" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-iam/.kokoro/presubmit/integration.cfg b/java-iam/.kokoro/presubmit/integration.cfg deleted file mode 100644 index dded67a9d54a..000000000000 --- a/java-iam/.kokoro/presubmit/integration.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-iam/.kokoro/presubmit/java11.cfg b/java-iam/.kokoro/presubmit/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-iam/.kokoro/presubmit/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-iam/.kokoro/presubmit/java7.cfg b/java-iam/.kokoro/presubmit/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-iam/.kokoro/presubmit/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-iam/.kokoro/presubmit/java8-osx.cfg b/java-iam/.kokoro/presubmit/java8-osx.cfg deleted file mode 100644 index 1affbbe4adc8..000000000000 --- a/java-iam/.kokoro/presubmit/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-iam/.kokoro/build.sh" diff --git a/java-iam/.kokoro/presubmit/java8-win.cfg b/java-iam/.kokoro/presubmit/java8-win.cfg deleted file mode 100644 index 4c8e051ae085..000000000000 --- a/java-iam/.kokoro/presubmit/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-iam/.kokoro/build.bat" diff --git a/java-iam/.kokoro/presubmit/java8.cfg b/java-iam/.kokoro/presubmit/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-iam/.kokoro/presubmit/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-iam/.kokoro/presubmit/linkage-monitor.cfg b/java-iam/.kokoro/presubmit/linkage-monitor.cfg deleted file mode 100644 index 7af8810aafa2..000000000000 --- a/java-iam/.kokoro/presubmit/linkage-monitor.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/linkage-monitor.sh" -} \ No newline at end of file diff --git a/java-iam/.kokoro/presubmit/lint.cfg b/java-iam/.kokoro/presubmit/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-iam/.kokoro/presubmit/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-iam/.kokoro/presubmit/samples.cfg b/java-iam/.kokoro/presubmit/samples.cfg deleted file mode 100644 index 01e0960047b8..000000000000 --- a/java-iam/.kokoro/presubmit/samples.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-docs-samples-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-docs-samples-service-account" -} \ No newline at end of file diff --git a/java-iam/.kokoro/readme.sh b/java-iam/.kokoro/readme.sh deleted file mode 100755 index 5081ac809fa4..000000000000 --- a/java-iam/.kokoro/readme.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -cd ${KOKORO_ARTIFACTS_DIR}/github/java-iam - -# Disable buffering, so that the logs stream through. -export PYTHONUNBUFFERED=1 - -# Kokoro exposes this as a file, but the scripts expect just a plain variable. -export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) - -# Setup git credentials -echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials -git config --global credential.helper 'store --file ~/.git-credentials' - -python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool - -set +e -python3.6 -m autosynth.synth \ - --repository=googleapis/java-iam \ - --synth-file-name=.github/readme/synth.py \ - --metadata-path=.github/readme/synth.metadata \ - --pr-title="chore: regenerate README" \ - --branch-suffix="readme" - -# autosynth returns 28 to signal there are no changes -RETURN_CODE=$? -if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] -then - exit ${RETURN_CODE} -fi diff --git a/java-iam/.kokoro/release/bump_snapshot.cfg b/java-iam/.kokoro/release/bump_snapshot.cfg deleted file mode 100644 index 1e28b5ed717d..000000000000 --- a/java-iam/.kokoro/release/bump_snapshot.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-iam/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/release/bump_snapshot.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/java-iam/.kokoro/release/common.cfg b/java-iam/.kokoro/release/common.cfg deleted file mode 100644 index 9428634ae68a..000000000000 --- a/java-iam/.kokoro/release/common.cfg +++ /dev/null @@ -1,49 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-iam/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-keyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-passphrase" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-pubkeyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "sonatype-credentials" - } - } -} diff --git a/java-iam/.kokoro/release/common.sh b/java-iam/.kokoro/release/common.sh deleted file mode 100755 index 7f78ee414faf..000000000000 --- a/java-iam/.kokoro/release/common.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Get secrets from keystore and set and environment variables -setup_environment_secrets() { - export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) - export GPG_TTY=$(tty) - export GPG_HOMEDIR=/gpg - mkdir $GPG_HOMEDIR - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-keyring $GPG_HOMEDIR/secring.gpg - export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f1 -d'|') - export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f2 -d'|') -} - -create_settings_xml_file() { - echo " - - - ossrh - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-staging - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-snapshots - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - -" > $1 -} \ No newline at end of file diff --git a/java-iam/.kokoro/release/drop.cfg b/java-iam/.kokoro/release/drop.cfg deleted file mode 100644 index 85fcca33f3b4..000000000000 --- a/java-iam/.kokoro/release/drop.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/release/drop.sh" -} diff --git a/java-iam/.kokoro/release/drop.sh b/java-iam/.kokoro/release/drop.sh deleted file mode 100755 index 742ec1a88600..000000000000 --- a/java-iam/.kokoro/release/drop.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:drop -B \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-iam/.kokoro/release/promote.cfg b/java-iam/.kokoro/release/promote.cfg deleted file mode 100644 index de997603d2dc..000000000000 --- a/java-iam/.kokoro/release/promote.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/release/promote.sh" -} diff --git a/java-iam/.kokoro/release/promote.sh b/java-iam/.kokoro/release/promote.sh deleted file mode 100755 index 3cac3d8a97d7..000000000000 --- a/java-iam/.kokoro/release/promote.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh - -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-iam/.kokoro/release/publish_javadoc.cfg b/java-iam/.kokoro/release/publish_javadoc.cfg deleted file mode 100644 index e6f651d11ebb..000000000000 --- a/java-iam/.kokoro/release/publish_javadoc.cfg +++ /dev/null @@ -1,23 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" - -env_vars: { - key: "STAGING_BUCKET" - value: "docs-staging" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/release/publish_javadoc.sh" -} - - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} diff --git a/java-iam/.kokoro/release/publish_javadoc.sh b/java-iam/.kokoro/release/publish_javadoc.sh deleted file mode 100755 index 4b26b0f67442..000000000000 --- a/java-iam/.kokoro/release/publish_javadoc.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET}" ]]; then - echo "Need to set STAGING_BUCKET environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-iam-policy -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# build the docs -mvn site -B -q - -pushd target/site/apidocs - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET} diff --git a/java-iam/.kokoro/release/publish_javadoc11.cfg b/java-iam/.kokoro/release/publish_javadoc11.cfg deleted file mode 100644 index c84570efd660..000000000000 --- a/java-iam/.kokoro/release/publish_javadoc11.cfg +++ /dev/null @@ -1,30 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# cloud-rad production -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" -} - -# Configure the docker image for kokoro-trampoline -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/release/publish_javadoc11.sh" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/java-iam/.kokoro/release/publish_javadoc11.sh b/java-iam/.kokoro/release/publish_javadoc11.sh deleted file mode 100755 index 79ec95ab0b2f..000000000000 --- a/java-iam/.kokoro/release/publish_javadoc11.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-iam-policy -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# cloud RAD generation -mvn clean javadoc:aggregate -B -q -P docFX -# include CHANGELOG -cp CHANGELOG.md target/docfx-yml/history.md - -pushd target/docfx-yml - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --xrefs devsite://java/gax \ - --xrefs devsite://java/google-cloud-core \ - --xrefs devsite://java/api-common \ - --xrefs devsite://java/proto-google-common-protos \ - --xrefs devsite://java/google-api-client \ - --xrefs devsite://java/google-http-client \ - --xrefs devsite://java/protobuf \ - --language java - -# upload yml to production bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx diff --git a/java-iam/.kokoro/release/snapshot.cfg b/java-iam/.kokoro/release/snapshot.cfg deleted file mode 100644 index 2a39f44fd950..000000000000 --- a/java-iam/.kokoro/release/snapshot.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/release/snapshot.sh" -} \ No newline at end of file diff --git a/java-iam/.kokoro/release/snapshot.sh b/java-iam/.kokoro/release/snapshot.sh deleted file mode 100755 index 1f55b77024d8..000000000000 --- a/java-iam/.kokoro/release/snapshot.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -source $(dirname "$0")/common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -# ensure we're trying to push a snapshot (no-result returns non-zero exit code) -grep SNAPSHOT versions.txt - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} diff --git a/java-iam/.kokoro/release/stage.cfg b/java-iam/.kokoro/release/stage.cfg deleted file mode 100644 index 1ef9b0acd787..000000000000 --- a/java-iam/.kokoro/release/stage.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-iam/.kokoro/release/stage.sh" -} - -# Need to save the properties file -action { - define_artifacts { - regex: "github/java-iam/target/nexus-staging/staging/*.properties" - strip_prefix: "github/java-iam" - } -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" -} diff --git a/java-iam/.kokoro/release/stage.sh b/java-iam/.kokoro/release/stage.sh deleted file mode 100755 index 61e714d6ba56..000000000000 --- a/java-iam/.kokoro/release/stage.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Start the releasetool reporter -requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt) -python3 -m pip install --require-hashes -r $requirementsFile -python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script - -source $(dirname "$0")/common.sh -source $(dirname "$0")/../common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -# attempt to stage 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DskipTests=true \ - -Dclirr.skip=true \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} - -if [[ -n "${AUTORELEASE_PR}" ]] -then - mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml -fi diff --git a/java-iam/.kokoro/requirements.in b/java-iam/.kokoro/requirements.in deleted file mode 100644 index a5010f77d413..000000000000 --- a/java-iam/.kokoro/requirements.in +++ /dev/null @@ -1,34 +0,0 @@ -gcp-docuploader==0.6.3 -google-crc32c==1.3.0 -googleapis-common-protos==1.56.3 -gcp-releasetool==1.9.1 -cryptography==38.0.3 -cachetools==4.2.4 -cffi==1.15.1 -jeepney==0.7.1 -jinja2==3.0.3 -markupsafe==2.0.1 -keyring==23.4.1 -packaging==21.3 -protobuf==3.19.5 -pyjwt==2.4.0 -pyparsing==3.0.9 -pycparser==2.21 -pyperclip==1.8.2 -python-dateutil==2.8.2 -requests==2.27.1 -certifi==2022.12.7 -importlib-metadata==4.8.3 -zipp==3.6.0 -google_api_core==2.8.2 -google-cloud-storage==2.0.0 -google-resumable-media==2.3.3 -google-cloud-core==2.3.1 -typing-extensions==4.1.1 -urllib3==1.26.12 -zipp==3.6.0 -rsa==4.9 -six==1.16.0 -attrs==22.1.0 -google-auth==2.14.1 -idna==3.4 \ No newline at end of file diff --git a/java-iam/.kokoro/requirements.txt b/java-iam/.kokoro/requirements.txt deleted file mode 100644 index 15c404aa5a8c..000000000000 --- a/java-iam/.kokoro/requirements.txt +++ /dev/null @@ -1,456 +0,0 @@ -# -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: -# -# pip-compile --generate-hashes requirements.in -# -attrs==22.1.0 \ - --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ - --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c - # via - # -r requirements.in - # gcp-releasetool -cachetools==4.2.4 \ - --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ - --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 - # via - # -r requirements.in - # google-auth -certifi==2022.12.7 \ - --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ - --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 - # via - # -r requirements.in - # requests -cffi==1.15.1 \ - --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ - --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ - --hash=sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104 \ - --hash=sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426 \ - --hash=sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405 \ - --hash=sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375 \ - --hash=sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a \ - --hash=sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e \ - --hash=sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc \ - --hash=sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf \ - --hash=sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185 \ - --hash=sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497 \ - --hash=sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3 \ - --hash=sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35 \ - --hash=sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c \ - --hash=sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83 \ - --hash=sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21 \ - --hash=sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca \ - --hash=sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984 \ - --hash=sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac \ - --hash=sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd \ - --hash=sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee \ - --hash=sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a \ - --hash=sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2 \ - --hash=sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192 \ - --hash=sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7 \ - --hash=sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585 \ - --hash=sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f \ - --hash=sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e \ - --hash=sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27 \ - --hash=sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b \ - --hash=sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e \ - --hash=sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e \ - --hash=sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d \ - --hash=sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c \ - --hash=sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415 \ - --hash=sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82 \ - --hash=sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02 \ - --hash=sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314 \ - --hash=sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325 \ - --hash=sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c \ - --hash=sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3 \ - --hash=sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914 \ - --hash=sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045 \ - --hash=sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d \ - --hash=sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9 \ - --hash=sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5 \ - --hash=sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2 \ - --hash=sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c \ - --hash=sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3 \ - --hash=sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2 \ - --hash=sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8 \ - --hash=sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d \ - --hash=sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d \ - --hash=sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 \ - --hash=sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162 \ - --hash=sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76 \ - --hash=sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4 \ - --hash=sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e \ - --hash=sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9 \ - --hash=sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6 \ - --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ - --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ - --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 - # via - # -r requirements.in - # cryptography -charset-normalizer==2.0.12 \ - --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ - --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df - # via requests -click==8.0.4 \ - --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ - --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb - # via - # gcp-docuploader - # gcp-releasetool -colorlog==6.7.0 \ - --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ - --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 - # via gcp-docuploader -cryptography==38.0.3 \ - --hash=sha256:068147f32fa662c81aebab95c74679b401b12b57494872886eb5c1139250ec5d \ - --hash=sha256:06fc3cc7b6f6cca87bd56ec80a580c88f1da5306f505876a71c8cfa7050257dd \ - --hash=sha256:25c1d1f19729fb09d42e06b4bf9895212292cb27bb50229f5aa64d039ab29146 \ - --hash=sha256:402852a0aea73833d982cabb6d0c3bb582c15483d29fb7085ef2c42bfa7e38d7 \ - --hash=sha256:4e269dcd9b102c5a3d72be3c45d8ce20377b8076a43cbed6f660a1afe365e436 \ - --hash=sha256:5419a127426084933076132d317911e3c6eb77568a1ce23c3ac1e12d111e61e0 \ - --hash=sha256:554bec92ee7d1e9d10ded2f7e92a5d70c1f74ba9524947c0ba0c850c7b011828 \ - --hash=sha256:5e89468fbd2fcd733b5899333bc54d0d06c80e04cd23d8c6f3e0542358c6060b \ - --hash=sha256:65535bc550b70bd6271984d9863a37741352b4aad6fb1b3344a54e6950249b55 \ - --hash=sha256:6ab9516b85bebe7aa83f309bacc5f44a61eeb90d0b4ec125d2d003ce41932d36 \ - --hash=sha256:6addc3b6d593cd980989261dc1cce38263c76954d758c3c94de51f1e010c9a50 \ - --hash=sha256:728f2694fa743a996d7784a6194da430f197d5c58e2f4e278612b359f455e4a2 \ - --hash=sha256:785e4056b5a8b28f05a533fab69febf5004458e20dad7e2e13a3120d8ecec75a \ - --hash=sha256:78cf5eefac2b52c10398a42765bfa981ce2372cbc0457e6bf9658f41ec3c41d8 \ - --hash=sha256:7f836217000342d448e1c9a342e9163149e45d5b5eca76a30e84503a5a96cab0 \ - --hash=sha256:8d41a46251bf0634e21fac50ffd643216ccecfaf3701a063257fe0b2be1b6548 \ - --hash=sha256:984fe150f350a3c91e84de405fe49e688aa6092b3525f407a18b9646f6612320 \ - --hash=sha256:9b24bcff7853ed18a63cfb0c2b008936a9554af24af2fb146e16d8e1aed75748 \ - --hash=sha256:b1b35d9d3a65542ed2e9d90115dfd16bbc027b3f07ee3304fc83580f26e43249 \ - --hash=sha256:b1b52c9e5f8aa2b802d48bd693190341fae201ea51c7a167d69fc48b60e8a959 \ - --hash=sha256:bbf203f1a814007ce24bd4d51362991d5cb90ba0c177a9c08825f2cc304d871f \ - --hash=sha256:be243c7e2bfcf6cc4cb350c0d5cdf15ca6383bbcb2a8ef51d3c9411a9d4386f0 \ - --hash=sha256:bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd \ - --hash=sha256:c46837ea467ed1efea562bbeb543994c2d1f6e800785bd5a2c98bc096f5cb220 \ - --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ - --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 - # via - # -r requirements.in - # gcp-releasetool - # secretstorage -gcp-docuploader==0.6.3 \ - --hash=sha256:ba8c9d76b3bbac54b0311c503a373b00edc2dc02d6d54ea9507045adb8e870f7 \ - --hash=sha256:c0f5aaa82ce1854a386197e4e359b120ad6d4e57ae2c812fce42219a3288026b - # via -r requirements.in -gcp-releasetool==1.9.1 \ - --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ - --hash=sha256:d0d3c814a97c1a237517e837d8cfa668ced8df4b882452578ecef4a4e79c583b - # via -r requirements.in -google-api-core==2.8.2 \ - --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ - --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 - # via - # -r requirements.in - # google-cloud-core - # google-cloud-storage -google-auth==2.14.1 \ - --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 - # via - # -r requirements.in - # gcp-releasetool - # google-api-core - # google-cloud-core - # google-cloud-storage -google-cloud-core==2.3.1 \ - --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ - --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 - # via - # -r requirements.in - # google-cloud-storage -google-cloud-storage==2.0.0 \ - --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ - --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 - # via - # -r requirements.in - # gcp-docuploader -google-crc32c==1.3.0 \ - --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ - --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ - --hash=sha256:12674a4c3b56b706153a358eaa1018c4137a5a04635b92b4652440d3d7386206 \ - --hash=sha256:127f9cc3ac41b6a859bd9dc4321097b1a4f6aa7fdf71b4f9227b9e3ebffb4422 \ - --hash=sha256:13af315c3a0eec8bb8b8d80b8b128cb3fcd17d7e4edafc39647846345a3f003a \ - --hash=sha256:1926fd8de0acb9d15ee757175ce7242e235482a783cd4ec711cc999fc103c24e \ - --hash=sha256:226f2f9b8e128a6ca6a9af9b9e8384f7b53a801907425c9a292553a3a7218ce0 \ - --hash=sha256:276de6273eb074a35bc598f8efbc00c7869c5cf2e29c90748fccc8c898c244df \ - --hash=sha256:318f73f5484b5671f0c7f5f63741ab020a599504ed81d209b5c7129ee4667407 \ - --hash=sha256:3bbce1be3687bbfebe29abdb7631b83e6b25da3f4e1856a1611eb21854b689ea \ - --hash=sha256:42ae4781333e331a1743445931b08ebdad73e188fd554259e772556fc4937c48 \ - --hash=sha256:58be56ae0529c664cc04a9c76e68bb92b091e0194d6e3c50bea7e0f266f73713 \ - --hash=sha256:5da2c81575cc3ccf05d9830f9e8d3c70954819ca9a63828210498c0774fda1a3 \ - --hash=sha256:6311853aa2bba4064d0c28ca54e7b50c4d48e3de04f6770f6c60ebda1e975267 \ - --hash=sha256:650e2917660e696041ab3dcd7abac160b4121cd9a484c08406f24c5964099829 \ - --hash=sha256:6a4db36f9721fdf391646685ecffa404eb986cbe007a3289499020daf72e88a2 \ - --hash=sha256:779cbf1ce375b96111db98fca913c1f5ec11b1d870e529b1dc7354b2681a8c3a \ - --hash=sha256:7f6fe42536d9dcd3e2ffb9d3053f5d05221ae3bbcefbe472bdf2c71c793e3183 \ - --hash=sha256:891f712ce54e0d631370e1f4997b3f182f3368179198efc30d477c75d1f44942 \ - --hash=sha256:95c68a4b9b7828ba0428f8f7e3109c5d476ca44996ed9a5f8aac6269296e2d59 \ - --hash=sha256:96a8918a78d5d64e07c8ea4ed2bc44354e3f93f46a4866a40e8db934e4c0d74b \ - --hash=sha256:9c3cf890c3c0ecfe1510a452a165431b5831e24160c5fcf2071f0f85ca5a47cd \ - --hash=sha256:9f58099ad7affc0754ae42e6d87443299f15d739b0ce03c76f515153a5cda06c \ - --hash=sha256:a0b9e622c3b2b8d0ce32f77eba617ab0d6768b82836391e4f8f9e2074582bf02 \ - --hash=sha256:a7f9cbea4245ee36190f85fe1814e2d7b1e5f2186381b082f5d59f99b7f11328 \ - --hash=sha256:bab4aebd525218bab4ee615786c4581952eadc16b1ff031813a2fd51f0cc7b08 \ - --hash=sha256:c124b8c8779bf2d35d9b721e52d4adb41c9bfbde45e6a3f25f0820caa9aba73f \ - --hash=sha256:c9da0a39b53d2fab3e5467329ed50e951eb91386e9d0d5b12daf593973c3b168 \ - --hash=sha256:ca60076c388728d3b6ac3846842474f4250c91efbfe5afa872d3ffd69dd4b318 \ - --hash=sha256:cb6994fff247987c66a8a4e550ef374671c2b82e3c0d2115e689d21e511a652d \ - --hash=sha256:d1c1d6236feab51200272d79b3d3e0f12cf2cbb12b208c835b175a21efdb0a73 \ - --hash=sha256:dd7760a88a8d3d705ff562aa93f8445ead54f58fd482e4f9e2bafb7e177375d4 \ - --hash=sha256:dda4d8a3bb0b50f540f6ff4b6033f3a74e8bf0bd5320b70fab2c03e512a62812 \ - --hash=sha256:e0f1ff55dde0ebcfbef027edc21f71c205845585fffe30d4ec4979416613e9b3 \ - --hash=sha256:e7a539b9be7b9c00f11ef16b55486141bc2cdb0c54762f84e3c6fc091917436d \ - --hash=sha256:eb0b14523758e37802f27b7f8cd973f5f3d33be7613952c0df904b68c4842f0e \ - --hash=sha256:ed447680ff21c14aaceb6a9f99a5f639f583ccfe4ce1a5e1d48eb41c3d6b3217 \ - --hash=sha256:f52a4ad2568314ee713715b1e2d79ab55fab11e8b304fd1462ff5cccf4264b3e \ - --hash=sha256:fbd60c6aaa07c31d7754edbc2334aef50601b7f1ada67a96eb1eb57c7c72378f \ - --hash=sha256:fc28e0db232c62ca0c3600884933178f0825c99be4474cdd645e378a10588125 \ - --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ - --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ - --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 - # via - # -r requirements.in - # google-resumable-media -google-resumable-media==2.3.3 \ - --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ - --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via - # -r requirements.in - # google-cloud-storage -googleapis-common-protos==1.56.3 \ - --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ - --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 - # via - # -r requirements.in - # google-api-core -idna==3.4 \ - --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ - --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 - # via - # -r requirements.in - # requests -importlib-metadata==4.8.3 \ - --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ - --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 - # via - # -r requirements.in - # keyring -jeepney==0.7.1 \ - --hash=sha256:1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac \ - --hash=sha256:fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f - # via - # -r requirements.in - # keyring - # secretstorage -jinja2==3.0.3 \ - --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ - --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 - # via - # -r requirements.in - # gcp-releasetool -keyring==23.4.1 \ - --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ - --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 - # via - # -r requirements.in - # gcp-releasetool -markupsafe==2.0.1 \ - --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ - --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ - --hash=sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b \ - --hash=sha256:04635854b943835a6ea959e948d19dcd311762c5c0c6e1f0e16ee57022669194 \ - --hash=sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567 \ - --hash=sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff \ - --hash=sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724 \ - --hash=sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74 \ - --hash=sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646 \ - --hash=sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35 \ - --hash=sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6 \ - --hash=sha256:20dca64a3ef2d6e4d5d615a3fd418ad3bde77a47ec8a23d984a12b5b4c74491a \ - --hash=sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6 \ - --hash=sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad \ - --hash=sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26 \ - --hash=sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38 \ - --hash=sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac \ - --hash=sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7 \ - --hash=sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6 \ - --hash=sha256:4296f2b1ce8c86a6aea78613c34bb1a672ea0e3de9c6ba08a960efe0b0a09047 \ - --hash=sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75 \ - --hash=sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f \ - --hash=sha256:4dc8f9fb58f7364b63fd9f85013b780ef83c11857ae79f2feda41e270468dd9b \ - --hash=sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135 \ - --hash=sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8 \ - --hash=sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a \ - --hash=sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a \ - --hash=sha256:5b6d930f030f8ed98e3e6c98ffa0652bdb82601e7a016ec2ab5d7ff23baa78d1 \ - --hash=sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9 \ - --hash=sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864 \ - --hash=sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914 \ - --hash=sha256:6300b8454aa6930a24b9618fbb54b5a68135092bc666f7b06901f897fa5c2fee \ - --hash=sha256:63f3268ba69ace99cab4e3e3b5840b03340efed0948ab8f78d2fd87ee5442a4f \ - --hash=sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18 \ - --hash=sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8 \ - --hash=sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2 \ - --hash=sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d \ - --hash=sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b \ - --hash=sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b \ - --hash=sha256:89c687013cb1cd489a0f0ac24febe8c7a666e6e221b783e53ac50ebf68e45d86 \ - --hash=sha256:8d206346619592c6200148b01a2142798c989edcb9c896f9ac9722a99d4e77e6 \ - --hash=sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f \ - --hash=sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb \ - --hash=sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833 \ - --hash=sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28 \ - --hash=sha256:9f02365d4e99430a12647f09b6cc8bab61a6564363f313126f775eb4f6ef798e \ - --hash=sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415 \ - --hash=sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902 \ - --hash=sha256:aca6377c0cb8a8253e493c6b451565ac77e98c2951c45f913e0b52facdcff83f \ - --hash=sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d \ - --hash=sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9 \ - --hash=sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d \ - --hash=sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145 \ - --hash=sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066 \ - --hash=sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c \ - --hash=sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1 \ - --hash=sha256:cdfba22ea2f0029c9261a4bd07e830a8da012291fbe44dc794e488b6c9bb353a \ - --hash=sha256:d6c7ebd4e944c85e2c3421e612a7057a2f48d478d79e61800d81468a8d842207 \ - --hash=sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f \ - --hash=sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53 \ - --hash=sha256:deb993cacb280823246a026e3b2d81c493c53de6acfd5e6bfe31ab3402bb37dd \ - --hash=sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134 \ - --hash=sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85 \ - --hash=sha256:f0567c4dc99f264f49fe27da5f735f414c4e7e7dd850cfd8e69f0862d7c74ea9 \ - --hash=sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5 \ - --hash=sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94 \ - --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ - --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ - --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 - # via - # -r requirements.in - # jinja2 -packaging==21.3 \ - --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ - --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 - # via - # -r requirements.in - # gcp-releasetool -protobuf==3.19.5 \ - --hash=sha256:1867f93b06a183f87696871bb8d1e99ee71dbb69d468ce1f0cc8bf3d30f982f3 \ - --hash=sha256:3c4160b601220627f7e91154e572baf5e161a9c3f445a8242d536ee3d0b7b17c \ - --hash=sha256:4ee2af7051d3b10c8a4fe6fd1a2c69f201fea36aeee7086cf202a692e1b99ee1 \ - --hash=sha256:5266c36cc0af3bb3dbf44f199d225b33da66a9a5c3bdc2b14865ad10eddf0e37 \ - --hash=sha256:5470f892961af464ae6eaf0f3099e2c1190ae8c7f36f174b89491281341f79ca \ - --hash=sha256:66d14b5b90090353efe75c9fb1bf65ef7267383034688d255b500822e37d5c2f \ - --hash=sha256:67efb5d20618020aa9596e17bfc37ca068c28ec0c1507d9507f73c93d46c9855 \ - --hash=sha256:696e6cfab94cc15a14946f2bf72719dced087d437adbd994fff34f38986628bc \ - --hash=sha256:6a02172b9650f819d01fb8e224fc69b0706458fc1ab4f1c669281243c71c1a5e \ - --hash=sha256:6eca9ae238ba615d702387a2ddea635d535d769994a9968c09a4ca920c487ab9 \ - --hash=sha256:950abd6c00e7b51f87ae8b18a0ce4d69fea217f62f171426e77de5061f6d9850 \ - --hash=sha256:9e1d74032f56ff25f417cfe84c8147047732e5059137ca42efad20cbbd25f5e0 \ - --hash=sha256:9e42b1cf2ecd8a1bd161239e693f22035ba99905ae6d7efeac8a0546c7ec1a27 \ - --hash=sha256:9f957ef53e872d58a0afd3bf6d80d48535d28c99b40e75e6634cbc33ea42fd54 \ - --hash=sha256:a89aa0c042e61e11ade320b802d6db4ee5391d8d973e46d3a48172c1597789f8 \ - --hash=sha256:c0f80876a8ff0ae7064084ed094eb86497bd5a3812e6fc96a05318b92301674e \ - --hash=sha256:c44e3282cff74ad18c7e8a0375f407f69ee50c2116364b44492a196293e08b21 \ - --hash=sha256:d249519ba5ecf5dd6b18150c9b6bcde510b273714b696f3923ff8308fc11ae49 \ - --hash=sha256:d3973a2d58aefc7d1230725c2447ce7f86a71cbc094b86a77c6ee1505ac7cdb1 \ - --hash=sha256:dca2284378a5f2a86ffed35c6ac147d14c48b525eefcd1083e5a9ce28dfa8657 \ - --hash=sha256:e63b0b3c42e51c94add62b010366cd4979cb6d5f06158bcae8faac4c294f91e1 \ - --hash=sha256:f2b599a21c9a32e171ec29a2ac54e03297736c578698e11b099d031f79da114b \ - --hash=sha256:f2bde37667b18c2b5280df83bc799204394a5d2d774e4deaf9de0eb741df6833 \ - --hash=sha256:f4f909f4dde413dec435a44b0894956d55bb928ded7d6e3c726556ca4c796e84 \ - --hash=sha256:f976234e20ab2785f54224bcdafa027674e23663b132fa3ca0caa291a6cfbde7 \ - --hash=sha256:f9cebda093c2f6bfed88f1c17cdade09d4d96096421b344026feee236532d4de - # via - # -r requirements.in - # gcp-docuploader - # gcp-releasetool - # google-api-core - # google-cloud-storage - # googleapis-common-protos -pyasn1==0.4.8 \ - --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ - --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba - # via - # pyasn1-modules - # rsa -pyasn1-modules==0.2.8 \ - --hash=sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e \ - --hash=sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74 - # via google-auth -pycparser==2.21 \ - --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ - --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 - # via - # -r requirements.in - # cffi -pyjwt==2.4.0 \ - --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ - --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba - # via - # -r requirements.in - # gcp-releasetool -pyparsing==3.0.9 \ - --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ - --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc - # via - # -r requirements.in - # packaging -pyperclip==1.8.2 \ - --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 - # via - # -r requirements.in - # gcp-releasetool -python-dateutil==2.8.2 \ - --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ - --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 - # via - # -r requirements.in - # gcp-releasetool -requests==2.27.1 \ - --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ - --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d - # via - # -r requirements.in - # gcp-releasetool - # google-api-core - # google-cloud-storage -rsa==4.9 \ - --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ - --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 - # via - # -r requirements.in - # google-auth -secretstorage==3.3.3 \ - --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ - --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 - # via keyring -six==1.16.0 \ - --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ - --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 - # via - # -r requirements.in - # gcp-docuploader - # google-auth - # python-dateutil -typing-extensions==4.1.1 \ - --hash=sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42 \ - --hash=sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2 - # via -r requirements.in -urllib3==1.26.12 \ - --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ - --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 - # via - # -r requirements.in - # requests -zipp==3.6.0 \ - --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ - --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc - # via - # -r requirements.in - # importlib-metadata diff --git a/java-iam/.kokoro/trampoline.sh b/java-iam/.kokoro/trampoline.sh deleted file mode 100644 index 8b69b793c9ec..000000000000 --- a/java-iam/.kokoro/trampoline.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -set -eo pipefail -# Always run the cleanup script, regardless of the success of bouncing into -# the container. -function cleanup() { - chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh - ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh - echo "cleanup"; -} -trap cleanup EXIT - -$(dirname $0)/populate-secrets.sh # Secret Manager secrets. -python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-iam/CODE_OF_CONDUCT.md b/java-iam/CODE_OF_CONDUCT.md deleted file mode 100644 index 2add2547a812..000000000000 --- a/java-iam/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,94 +0,0 @@ - -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of -experience, education, socio-economic status, nationality, personal appearance, -race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, or to ban temporarily or permanently any -contributor for other behaviors that they deem inappropriate, threatening, -offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when the Project -Steward has a reasonable belief that an individual's behavior may have a -negative impact on the project or its community. - -## Conflict Resolution - -We do not believe that all conflict is bad; healthy debate and disagreement -often yield positive results. However, it is never okay to be disrespectful or -to engage in behavior that violates the project’s code of conduct. - -If you see someone violating the code of conduct, you are encouraged to address -the behavior directly with those involved. Many issues can be resolved quickly -and easily, and this gives people more control over the outcome of their -dispute. If you are unable to resolve the matter for any reason, or if the -behavior is threatening or harassing, report it. We are dedicated to providing -an environment where participants feel welcome and safe. - -Reports should be directed to *googleapis-stewards@google.com*, the -Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to -receive and address reported violations of the code of conduct. They will then -work with a committee consisting of representatives from the Open Source -Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out to the Project Steward, please email -opensource@google.com. - -We will investigate every complaint, but you may not receive a direct response. -We will use our discretion in determining when and how to follow up on reported -incidents, which may range from not taking action to permanent expulsion from -the project and project-sponsored spaces. We will notify the accused of the -report and provide them an opportunity to discuss it before any action is taken. -The identity of the reporter will be omitted from the details of the report -supplied to the accused. In potentially harmful situations, such as ongoing -harassment or threats to anyone's safety, we may take action without notice. - -## Attribution - -This Code of Conduct is adapted from the Contributor Covenant, version 1.4, -available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-iam/CONTRIBUTING.md b/java-iam/CONTRIBUTING.md deleted file mode 100644 index b65dd279c946..000000000000 --- a/java-iam/CONTRIBUTING.md +++ /dev/null @@ -1,92 +0,0 @@ -# How to Contribute - -We'd love to accept your patches and contributions to this project. There are -just a few small guidelines you need to follow. - -## Contributor License Agreement - -Contributions to this project must be accompanied by a Contributor License -Agreement. You (or your employer) retain the copyright to your contribution; -this simply gives us permission to use and redistribute your contributions as -part of the project. Head over to to see -your current agreements on file or to sign a new one. - -You generally only need to submit a CLA once, so if you've already submitted one -(even if it was for a different project), you probably don't need to do it -again. - -## Code reviews - -All submissions, including submissions by project members, require review. We -use GitHub pull requests for this purpose. Consult -[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more -information on using pull requests. - -## Community Guidelines - -This project follows -[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). - -## Building the project - -To build, package, and run all unit tests run the command - -``` -mvn clean verify -``` - -### Running Integration tests - -To include integration tests when building the project, you need access to -a GCP Project with a valid service account. - -For instructions on how to generate a service account and corresponding -credentials JSON see: [Creating a Service Account][1]. - -Then run the following to build, package, run all unit tests and run all -integration tests. - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-integration-tests clean verify -``` - -## Code Samples - -All code samples must be in compliance with the [java sample formatting guide][3]. -Code Samples must be bundled in separate Maven modules. - -The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 8 whereas samples can have - Java version of Java 11. Due to this we need the ability to - selectively exclude samples from a build run. -2. Many code samples depend on external GCP services and need - credentials to access the service. -3. Code samples are not released as Maven artifacts and must be excluded from - release builds. - -### Building - -```bash -mvn clean verify -``` - -Some samples require access to GCP services and require a service account: - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn clean verify -``` - -### Code Formatting - -Code in this repo is formatted with -[google-java-format](https://github.com/google/google-java-format). -To run formatting on your project, you can run: -``` -mvn com.coveo:fmt-maven-plugin:format -``` - -[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account -[2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file diff --git a/java-iam/LICENSE b/java-iam/LICENSE deleted file mode 100644 index 261eeb9e9f8b..000000000000 --- a/java-iam/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/java-iam/SECURITY.md b/java-iam/SECURITY.md deleted file mode 100644 index 8b58ae9c01ae..000000000000 --- a/java-iam/SECURITY.md +++ /dev/null @@ -1,7 +0,0 @@ -# Security Policy - -To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). - -The Google Security Team will respond within 5 working days of your report on g.co/vulnz. - -We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. diff --git a/java-iam/codecov.yaml b/java-iam/codecov.yaml deleted file mode 100644 index 5724ea9478d7..000000000000 --- a/java-iam/codecov.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -codecov: - ci: - - source.cloud.google.com diff --git a/java-iam/java.header b/java-iam/java.header deleted file mode 100644 index d0970ba7d375..000000000000 --- a/java-iam/java.header +++ /dev/null @@ -1,15 +0,0 @@ -^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ -^ \*/$ diff --git a/java-iam/renovate.json b/java-iam/renovate.json deleted file mode 100644 index 5686899d09de..000000000000 --- a/java-iam/renovate.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "extends": [ - ":separateMajorReleases", - ":combinePatchMinorReleases", - ":ignoreUnstable", - ":prImmediately", - ":updateNotScheduled", - ":automergeDisabled", - ":ignoreModulesAndTests", - ":maintainLockFilesDisabled", - ":autodetectPinVersions" - ], - "ignorePaths": [".kokoro/requirements.txt"], - "packageRules": [ - { - "packagePatterns": [ - "^com.google.guava:" - ], - "versionScheme": "docker" - }, - { - "packagePatterns": [ - "*" - ], - "semanticCommitType": "deps", - "semanticCommitScope": null - }, - { - "packagePatterns": [ - "^org.apache.maven", - "^org.jacoco:", - "^org.codehaus.mojo:", - "^org.sonatype.plugins:", - "^com.coveo:", - "^com.google.cloud:google-cloud-shared-config" - ], - "semanticCommitType": "build", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-iam-policy", - "^com.google.cloud:libraries-bom", - "^com.google.cloud.samples:shared-configuration" - ], - "semanticCommitType": "chore", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^junit:junit", - "^com.google.truth:truth", - "^org.mockito:mockito-core", - "^org.objenesis:objenesis", - "^com.google.cloud:google-cloud-conformance-tests" - ], - "semanticCommitType": "test", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-" - ], - "ignoreUnstable": false - }, - { - "packagePatterns": [ - "^com.fasterxml.jackson.core" - ], - "groupName": "jackson dependencies" - } - ], - "semanticCommits": true, - "dependencyDashboard": true -} diff --git a/java-iam/versions.txt b/java-iam/versions.txt deleted file mode 100644 index 1b2bb98242e9..000000000000 --- a/java-iam/versions.txt +++ /dev/null @@ -1,4 +0,0 @@ -# Format: -# module:released-version:current-version - -google-iam-policy:1.7.0:1.7.1-SNAPSHOT diff --git a/java-shared-dependencies/.github/CODEOWNERS b/java-shared-dependencies/.github/CODEOWNERS deleted file mode 100644 index db2d8ad1747b..000000000000 --- a/java-shared-dependencies/.github/CODEOWNERS +++ /dev/null @@ -1,13 +0,0 @@ -# Code owners file. -# This file controls who is tagged for review for any given pull request. - -# For syntax help see: -# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax - -* @googleapis/yoshi-java - -# The java-samples-reviewers team is the default owner for samples changes -samples/**/*.java @googleapis/java-samples-reviewers - -# Generated snippets should not be owned by samples reviewers -samples/snippets/generated/ @googleapis/yoshi-java diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index cabcdd4479d5..000000000000 --- a/java-shared-dependencies/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve - ---- - -Thanks for stopping by to let us know something could be better! - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. - -Please run down the following list and make sure you've tried the usual "quick fixes": - - - Search the issues already opened: https://github.com/googleapis/java-shared-dependencies/issues - - Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform - -If you are still having issues, please include as much information as possible: - -#### Environment details - -1. Specify the API at the beginning of the title. For example, "BigQuery: ..."). - General, Core, and Other are also allowed as types -2. OS type and version: -3. Java version: -4. version(s): - -#### Steps to reproduce - - 1. ? - 2. ? - -#### Code example - -```java -// example -``` - -#### Stack trace -``` -Any relevant stacktrace here. -``` - -#### External references such as API reference guides - -- ? - -#### Any additional information below - - -Following these steps guarantees the quickest resolution possible. - -Thanks! diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 754e30c68a00..000000000000 --- a/java-shared-dependencies/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this library - ---- - -Thanks for stopping by to let us know something could be better! - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. - -**Is your feature request related to a problem? Please describe.** -What the problem is. Example: I'm always frustrated when [...] - -**Describe the solution you'd like** -What you want to happen. - -**Describe alternatives you've considered** -Any alternative solutions or features you've considered. - -**Additional context** -Any other context or screenshots about the feature request. diff --git a/java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md b/java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md deleted file mode 100644 index 995869032125..000000000000 --- a/java-shared-dependencies/.github/ISSUE_TEMPLATE/support_request.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -name: Support request -about: If you have a support contract with Google, please create an issue in the Google Cloud Support console. - ---- - -**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response. diff --git a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index f17b29f91b4a..000000000000 --- a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,10 +0,0 @@ -Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: -- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-shared-dependencies/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea -- [ ] Ensure the tests and linter pass -- [ ] Code coverage does not decrease (if any source code was changed) -- [ ] Appropriate docs were updated (if necessary) - -Fixes # ☕️ - -If you write sample code, please follow the [samples format]( -https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). diff --git a/java-shared-dependencies/.github/auto-label.yaml b/java-shared-dependencies/.github/auto-label.yaml deleted file mode 100644 index 4caef688b745..000000000000 --- a/java-shared-dependencies/.github/auto-label.yaml +++ /dev/null @@ -1,15 +0,0 @@ -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -requestsize: - enabled: true diff --git a/java-shared-dependencies/.github/blunderbuss.yml b/java-shared-dependencies/.github/blunderbuss.yml deleted file mode 100644 index 2176b0543214..000000000000 --- a/java-shared-dependencies/.github/blunderbuss.yml +++ /dev/null @@ -1,7 +0,0 @@ -# Configuration for the Blunderbuss GitHub app. For more info see -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/blunderbuss -assign_prs_by: -- labels: - - samples - to: - - googleapis/java-samples-reviewers \ No newline at end of file diff --git a/java-shared-dependencies/.github/generated-files-bot.yml b/java-shared-dependencies/.github/generated-files-bot.yml deleted file mode 100644 index c644a24e1129..000000000000 --- a/java-shared-dependencies/.github/generated-files-bot.yml +++ /dev/null @@ -1,12 +0,0 @@ -externalManifests: -- type: json - file: 'synth.metadata' - jsonpath: '$.generatedFiles[*]' -- type: json - file: '.github/readme/synth.metadata/synth.metadata' - jsonpath: '$.generatedFiles[*]' -ignoreAuthors: -- 'renovate-bot' -- 'yoshi-automation' -- 'release-please[bot]' -- 'gcf-owl-bot[bot]' diff --git a/java-shared-dependencies/.github/release-please.yml b/java-shared-dependencies/.github/release-please.yml deleted file mode 100644 index c4fdf356a485..000000000000 --- a/java-shared-dependencies/.github/release-please.yml +++ /dev/null @@ -1,24 +0,0 @@ -releaseType: java-bom -handleGHRelease: true -bumpMinorPreMajor: true -branches: - - releaseType: java-yoshi - handleGHRelease: true - bumpMinorPreMajor: true - branch: java7 - - releaseType: java-backport - handleGHRelease: true - bumpMinorPreMajor: true - branch: 2.4.x - - releaseType: java-backport - handleGHRelease: true - bumpMinorPreMajor: true - branch: 0.20.x - - releaseType: java-backport - handleGHRelease: true - bumpMinorPreMajor: true - branch: 2.10.x - - releaseType: java-backport - handleGHRelease: true - bumpMinorPreMajor: true - branch: 3.0.x diff --git a/java-shared-dependencies/.github/release-trigger.yml b/java-shared-dependencies/.github/release-trigger.yml deleted file mode 100644 index d4ca94189e16..000000000000 --- a/java-shared-dependencies/.github/release-trigger.yml +++ /dev/null @@ -1 +0,0 @@ -enabled: true diff --git a/java-shared-dependencies/.github/snippet-bot.yml b/java-shared-dependencies/.github/snippet-bot.yml deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/java-shared-dependencies/.github/sync-repo-settings.yaml b/java-shared-dependencies/.github/sync-repo-settings.yaml deleted file mode 100644 index 402ec78c9958..000000000000 --- a/java-shared-dependencies/.github/sync-repo-settings.yaml +++ /dev/null @@ -1,100 +0,0 @@ -rebaseMergeAllowed: false -squashMergeAllowed: true -mergeCommitAllowed: false -branchProtectionRules: - - pattern: main - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: java7 - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (7) - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - pattern: 2.4.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: 0.20.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - pattern: 2.10.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor - - pattern: 3.0.x - isAdminEnforced: true - requiredApprovingReviewCount: 1 - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false - requiredStatusCheckContexts: - - dependencies (8) - - dependencies (11) - - lint - - clirr - - units (8) - - units (11) - - 'Kokoro - Test: Integration' - - cla/google - - OwlBot Post Processor -permissionRules: - - team: yoshi-admins - permission: admin - - team: yoshi-java-admins - permission: admin - - team: yoshi-java - permission: push diff --git a/java-shared-dependencies/.github/trusted-contribution.yml b/java-shared-dependencies/.github/trusted-contribution.yml deleted file mode 100644 index a0ba1f7d9078..000000000000 --- a/java-shared-dependencies/.github/trusted-contribution.yml +++ /dev/null @@ -1,3 +0,0 @@ -trustedContributors: -- renovate-bot -- gcf-owl-bot[bot] diff --git a/java-shared-dependencies/.github/workflows/approve-readme.yaml b/java-shared-dependencies/.github/workflows/approve-readme.yaml deleted file mode 100644 index f5fc7d5169eb..000000000000 --- a/java-shared-dependencies/.github/workflows/approve-readme.yaml +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - pull_request: -name: auto-merge-readme -jobs: - approve: - runs-on: ubuntu-latest - if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' - steps: - - uses: actions/github-script@v6 - with: - github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} - script: | - // only approve PRs from yoshi-automation - if (context.payload.pull_request.user.login !== "yoshi-automation") { - return; - } - - // only approve PRs like "chore: release " - if (!context.payload.pull_request.title === "chore: regenerate README") { - return; - } - - // only approve PRs with README.md and synth.metadata changes - const files = new Set( - ( - await github.paginate( - github.pulls.listFiles.endpoint({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - }) - ) - ).map(file => file.filename) - ); - if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { - return; - } - - // approve README regeneration PR - await github.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - body: 'Rubber stamped PR!', - pull_number: context.payload.pull_request.number, - event: 'APPROVE' - }); - - // attach automerge label - await github.issues.addLabels({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.payload.pull_request.number, - labels: ['automerge'] - }); diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml deleted file mode 100644 index e3bb26e37719..000000000000 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - push: - branches: - - main - pull_request: -name: ci -jobs: - units: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - java: [8, 11, 17] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: test - windows: - runs-on: windows-latest - steps: - - name: Support longpaths - run: git config --system core.longpaths true - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 8 - - run: java -version - - run: .kokoro/build.bat - env: - JOB_TYPE: test - dependencies: - runs-on: ubuntu-latest - strategy: - matrix: - java: [8, 11, 17] - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: .kokoro/dependencies.sh - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 11 - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: lint - clirr: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 8 - - run: java -version - - run: .kokoro/build.sh - env: - JOB_TYPE: clirr diff --git a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml b/java-shared-dependencies/.github/workflows/downstream-native-image.yaml deleted file mode 100644 index 3d772b6ea50b..000000000000 --- a/java-shared-dependencies/.github/workflows/downstream-native-image.yaml +++ /dev/null @@ -1,41 +0,0 @@ -on: - push: - branches: - - main - pull_request: - -# Keeping this file separate as the dependencies check would use more -# repositories than needed this downstream check for GraalVM native image -# compilation. -name: downstream-native-image -jobs: - # GraalVM job ensures the compatibility of GraaVM version - graalvm: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - graalvm: [22.3.0] - java: [11, 17] - repo: - # GAPIC library that doesn't use a real GCP project in integration tests - - orgpolicy - steps: - - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: ayltai/setup-graalvm@v1 - with: - java-version: ${{matrix.java}} - # When a new version of native-maven-plugin fails to run in a downstream - # library, it's likely to be an incompatibility with the GraalVM version. - # In that case, you need to upgrade the Docker container used in the - # tests in the downstream repositories (not just this value below). - # Example: https://github.com/googleapis/testing-infra-docker/pull/195 - graalvm-version: ${{matrix.graalvm}} - native-image: true - - run: java -version - - run: sudo apt-get update -y - - run: sudo apt-get install libxml2-utils - - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} graalvm diff --git a/java-shared-dependencies/.github/workflows/downstream.yaml b/java-shared-dependencies/.github/workflows/downstream.yaml deleted file mode 100644 index 000fa0d5c5b7..000000000000 --- a/java-shared-dependencies/.github/workflows/downstream.yaml +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# Github action job to test core java library features on -# downstream client libraries before they are released. -on: - pull_request: - types: [ labeled ] - branches: - - main -name: downstream -jobs: - dependencies: - if: ${{ github.event.label.name == 'downstream-check:run' }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - java: [17] - repo: - # This list needs to be updated manually until an automated solution is in place. - - accessapproval - - accesscontextmanager - - aiplatform - - analytics-admin - - analytics-data - - api-gateway - - apigee-connect - - appengine-admin - - area120-tables - - artifact-registry - - asset - - assured-workloads - - automl - - bigquery - - bigqueryconnection - - bigquerydatatransfer - - bigquerymigration - - bigqueryreservation - - bigtable - - billing - - billingbudgets - - binary-authorization - - channel - - cloudbuild - - compute - - contact-center-insights - - container - - containeranalysis - - data-fusion - - datacatalog - - dataflow - - datalabeling - - dataproc - - dataproc-metastore - - datastore - - datastream - - debugger-client - - deploy - - dialogflow - - dialogflow-cx - - dlp - - dms - - dns - - document-ai - - domains - - errorreporting - - essential-contacts - - eventarc - - filestore - - firestore - - functions - - game-servers - - gke-connect-gateway - - gkehub - - gsuite-addons - - iam-admin - - iamcredentials - - iot - - kms - - language - - life-sciences - - logging - - logging-logback - - managed-identities - - mediatranslation - - memcache - - monitoring - - monitoring-dashboards - - network-management - - network-security - - networkconnectivity - - notebooks - - orchestration-airflow - - orgpolicy - - os-config - - os-login - - phishingprotection - - policy-troubleshooter - - private-catalog - - profiler - - pubsublite - - recaptchaenterprise - - recommendations-ai - - recommender - - redis - - resource-settings - - resourcemanager - - retail - - scheduler - - secretmanager - - security-private-ca - - securitycenter - - securitycenter-settings - - service-control - - service-management - - service-usage - - servicedirectory - - shell - - spanner - - spanner-jdbc - - speech - - storage - - storage-nio - - storage-transfer - - talent - - tasks - - texttospeech - - tpu - - trace - - translate - - video-intelligence - - video-transcoder - - vision - - vpcaccess - - webrisk - - websecurityscanner - - workflow-executions - - workflows - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: ${{matrix.java}} - - run: java -version - - run: sudo apt-get update -y - - run: sudo apt-get install libxml2-utils - - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} test diff --git a/java-shared-dependencies/.github/workflows/version-check.yaml b/java-shared-dependencies/.github/workflows/version-check.yaml deleted file mode 100644 index 7a8ed6fdedb3..000000000000 --- a/java-shared-dependencies/.github/workflows/version-check.yaml +++ /dev/null @@ -1,43 +0,0 @@ -on: - push: - branches: - - main - pull_request: -name: version-check -jobs: - upper-bound-check: - name: Upper-bound check - runs-on: ubuntu-latest - if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main' - steps: - - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 - with: - java-version: 8 - - run: java -version - - name: Install the BOM to local Maven repository - run: .kokoro/build.sh - - name: Check the BOM content satisfies the upper-bound-check test case - run: mvn -B -V -ntp verify -Dcheckstyle.skip - working-directory: upper-bound-check - grpc-convergence-check: - name: gRPC dependency convergence check - runs-on: ubuntu-latest - if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main' - steps: - - uses: actions/checkout@v2 - - uses: stCarolas/setup-maven@v4 - with: - maven-version: 3.8.1 - - uses: actions/setup-java@v1 - with: - java-version: 8 - - run: java -version - - name: Install the BOM to local Maven repository - run: .kokoro/build.sh - - name: Check the BOM content satisfies the dependency-convergence-check test - run: mvn -B -V -ntp verify -Dcheckstyle.skip - working-directory: dependency-convergence-check diff --git a/java-shared-dependencies/.kokoro/build.bat b/java-shared-dependencies/.kokoro/build.bat deleted file mode 100644 index 067cf4a4c489..000000000000 --- a/java-shared-dependencies/.kokoro/build.bat +++ /dev/null @@ -1,18 +0,0 @@ -:: Copyright 2022 Google LLC -:: -:: Licensed under the Apache License, Version 2.0 (the "License"); -:: you may not use this file except in compliance with the License. -:: You may obtain a copy of the License at -:: -:: http://www.apache.org/licenses/LICENSE-2.0 -:: -:: Unless required by applicable law or agreed to in writing, software -:: distributed under the License is distributed on an "AS IS" BASIS, -:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -:: See the License for the specific language governing permissions and -:: limitations under the License. -:: Github action job to test core java library features on -:: downstream client libraries before they are released. -:: See documentation in type-shell-output.bat - -"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/java-shared-dependencies/.kokoro/build.sh b/java-shared-dependencies/.kokoro/build.sh deleted file mode 100755 index bdb8b97a16ac..000000000000 --- a/java-shared-dependencies/.kokoro/build.sh +++ /dev/null @@ -1,134 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Maven & Java version -mvn -version -echo ${JOB_TYPE} - -# attempt to install 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ - -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C - -# if GOOGLE_APPLICATION_CREDENTIALS is specified as a relative path, prepend Kokoro root directory onto it -if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) -fi - -RETURN_CODE=0 -set +e - -case ${JOB_TYPE} in -test) - mvn test -B -ntp -Dclirr.skip=true -Denforcer.skip=true - RETURN_CODE=$? - ;; -lint) - mvn com.coveo:fmt-maven-plugin:check -B -ntp - RETURN_CODE=$? - ;; -javadoc) - mvn javadoc:javadoc javadoc:test-javadoc -B -ntp - RETURN_CODE=$? - ;; -integration) - mvn -B ${INTEGRATION_TEST_ARGS} \ - -ntp \ - -Penable-integration-tests \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - RETURN_CODE=$? - ;; -graalvm) - # Run Unit and Integration Tests with Native Image - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test - RETURN_CODE=$? - ;; -graalvm17) - # Run Unit and Integration Tests with Native Image - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test - RETURN_CODE=$? - ;; -samples) - SAMPLES_DIR=samples - # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. - if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] - then - SAMPLES_DIR=samples/snapshot - fi - - if [[ -f ${SAMPLES_DIR}/pom.xml ]] - then - for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do - [[ -f "$FILE" ]] || continue - source "$FILE" - done - - pushd ${SAMPLES_DIR} - mvn -B \ - -ntp \ - -DtrimStackTrace=false \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -fae \ - verify - RETURN_CODE=$? - popd - else - echo "no sample pom.xml found - skipping sample tests" - fi - ;; -clirr) - mvn -B -ntp -Denforcer.skip=true clirr:check - RETURN_CODE=$? - ;; -*) - ;; -esac - -if [ "${REPORT_COVERAGE}" == "true" ] -then - bash ${KOKORO_GFILE_DIR}/codecov.sh -fi - -# fix output location of logs -bash .kokoro/coerce_logs.sh - -if [[ "${ENABLE_FLAKYBOT}" == "true" ]] -then - chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot - ${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-shared-dependencies -fi - -echo "exiting with ${RETURN_CODE}" -exit ${RETURN_CODE} diff --git a/java-shared-dependencies/.kokoro/coerce_logs.sh b/java-shared-dependencies/.kokoro/coerce_logs.sh deleted file mode 100755 index 46edbf7f2fcd..000000000000 --- a/java-shared-dependencies/.kokoro/coerce_logs.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# This script finds and moves sponge logs so that they can be found by placer -# and are not flagged as flaky by sponge. - -set -eo pipefail - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -job=$(basename ${KOKORO_JOB_NAME}) - -echo "coercing sponge logs..." -for xml in `find . -name *-sponge_log.xml` -do - class=$(basename ${xml} | cut -d- -f2) - dir=$(dirname ${xml})/${job}/${class} - text=$(dirname ${xml})/${class}-sponge_log.txt - mkdir -p ${dir} - mv ${xml} ${dir}/sponge_log.xml - mv ${text} ${dir}/sponge_log.txt -done diff --git a/java-shared-dependencies/.kokoro/common.cfg b/java-shared-dependencies/.kokoro/common.cfg deleted file mode 100644 index ab47c2175060..000000000000 --- a/java-shared-dependencies/.kokoro/common.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR} -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# All builds use the trampoline script to run in docker. -build_file: "java-shared-dependencies/.kokoro/trampoline.sh" - -# Tell the trampoline which build file to use. -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/build.sh" -} diff --git a/java-shared-dependencies/.kokoro/common.sh b/java-shared-dependencies/.kokoro/common.sh deleted file mode 100644 index f8f957af1112..000000000000 --- a/java-shared-dependencies/.kokoro/common.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -function retry_with_backoff { - attempts_left=$1 - sleep_seconds=$2 - shift 2 - command=$@ - - - # store current flag state - flags=$- - - # allow a failures to continue - set +e - ${command} - exit_code=$? - - # restore "e" flag - if [[ ${flags} =~ e ]] - then set -e - else set +e - fi - - if [[ $exit_code == 0 ]] - then - return 0 - fi - - # failure - if [[ ${attempts_left} > 0 ]] - then - echo "failure (${exit_code}), sleeping ${sleep_seconds}..." - sleep ${sleep_seconds} - new_attempts=$((${attempts_left} - 1)) - new_sleep=$((${sleep_seconds} * 2)) - retry_with_backoff ${new_attempts} ${new_sleep} ${command} - fi - - return $exit_code -} - -## Helper functionss -function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; } -function msg() { println "$*" >&2; } -function println() { printf '%s\n' "$(now) $*"; } - -## Helper comment to trigger updated repo dependency release \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/continuous/common.cfg b/java-shared-dependencies/.kokoro/continuous/common.cfg deleted file mode 100644 index 5a58be9e5731..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/common.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-shared-dependencies/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} diff --git a/java-shared-dependencies/.kokoro/continuous/java8.cfg b/java-shared-dependencies/.kokoro/continuous/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-shared-dependencies/.kokoro/continuous/propose_release.sh b/java-shared-dependencies/.kokoro/continuous/propose_release.sh deleted file mode 100755 index 9926b1e74cb8..000000000000 --- a/java-shared-dependencies/.kokoro/continuous/propose_release.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# Copyright 2019 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. - -set -eo pipefail - -export NPM_CONFIG_PREFIX=/home/node/.npm-global - -if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then - # Groom the release PR as new commits are merged. - npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ - --repo-url=googleapis/java-shared-dependencies \ - --package-name="google-cloud-shared-dependencies" \ - --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ - --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ - --release-type=java-yoshi -fi diff --git a/java-shared-dependencies/.kokoro/dependencies.sh b/java-shared-dependencies/.kokoro/dependencies.sh deleted file mode 100755 index bd8960246f66..000000000000 --- a/java-shared-dependencies/.kokoro/dependencies.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -shopt -s nullglob - -## Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) -## cd to the parent directory, i.e. the root of the git repo -cd ${scriptDir}/.. - -# include common functions -source ${scriptDir}/common.sh - -# Print out Java -java -version -echo $JOB_TYPE - -function determineMavenOpts() { - local javaVersion=$( - # filter down to the version line, then pull out the version between quotes, - # then trim the version number down to its minimal number (removing any - # update or suffix number). - java -version 2>&1 | grep "version" \ - | sed -E 's/^.*"(.*?)".*$/\1/g' \ - | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' - ) - - if [[ $javaVersion == 17* ]] - then - # MaxPermSize is no longer supported as of jdk 17 - echo -n "-Xmx1024m" - else - echo -n "-Xmx1024m -XX:MaxPermSize=128m" - fi -} - -export MAVEN_OPTS=$(determineMavenOpts) - -# this should run maven enforcer -retry_with_backoff 3 10 \ - mvn install -B -V -ntp \ - -DskipTests=true \ - -Dmaven.javadoc.skip=true \ - -Dclirr.skip=true - -mvn -B dependency:analyze -DfailOnWarning=true diff --git a/java-shared-dependencies/.kokoro/downstream-client-library-check.sh b/java-shared-dependencies/.kokoro/downstream-client-library-check.sh deleted file mode 100755 index 5dd5a94c6edb..000000000000 --- a/java-shared-dependencies/.kokoro/downstream-client-library-check.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail -# Display commands being run. -set -x - -CLIENT_LIBRARY=$1 - -# Example JOB_TYPE: "test" or "graalvm" -export JOB_TYPE=$2 -## Get the directory of the build script -scriptDir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")" -## cd to the parent directory, i.e. the root of the git repo -cd "${scriptDir}"/.. - -# Make java core library artifacts available for 'mvn install' at the bottom -mvn verify install -B -V -ntp -fae \ --DskipTests=true \ --Dmaven.javadoc.skip=true \ --Dgcloud.download.skip=true \ --Denforcer.skip=true - -# Namespace (xmlns) prevents xmllint from specifying tag names in XPath -SHARED_DEPS_VERSION=$(sed -e 's/xmlns=".*"//' pom.xml | xmllint --xpath '/project/version/text()' -) - -if [ -z "${SHARED_DEPS_VERSION}" ]; then - echo "Version is not found in ${SHARED_DEPS_VERSION_POM}" - exit 1 -fi - -# Check this BOM against java client libraries -git clone "https://github.com/googleapis/java-${CLIENT_LIBRARY}.git" --depth=1 -pushd java-"${CLIENT_LIBRARY}" - -if [[ "$CLIENT_LIBRARY" == "bigtable" ]]; then - pushd google-cloud-bigtable-deps-bom -fi - -# replace version -xmllint --shell pom.xml << EOF -setns x=http://maven.apache.org/POM/4.0.0 -cd .//x:artifactId[text()="google-cloud-shared-dependencies"] -cd ../x:version -set ${SHARED_DEPS_VERSION} -save pom.xml -EOF - -if [[ $CLIENT_LIBRARY == "bigtable" ]]; then - popd -fi - -# We don't want to fail the test due to enforcer rule, before running GraalVM -# tests. Checking GraalVM buidl result is more important. -export INTEGRATION_TEST_ARGS="-Denforcer.skip=true" - -# This reads the JOB_TYPE environmental variable ("test" or "graalvm") -.kokoro/build.sh diff --git a/java-shared-dependencies/.kokoro/nightly/common.cfg b/java-shared-dependencies/.kokoro/nightly/common.cfg deleted file mode 100644 index 5a58be9e5731..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/common.cfg +++ /dev/null @@ -1,25 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-shared-dependencies/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} diff --git a/java-shared-dependencies/.kokoro/nightly/integration.cfg b/java-shared-dependencies/.kokoro/nightly/integration.cfg deleted file mode 100644 index a2907a257b2b..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/integration.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-shared-dependencies/.kokoro/nightly/java11-integration.cfg b/java-shared-dependencies/.kokoro/nightly/java11-integration.cfg deleted file mode 100644 index 58049cc38f11..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/java11-integration.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/java11014" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-shared-dependencies/.kokoro/nightly/java11.cfg b/java-shared-dependencies/.kokoro/nightly/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-shared-dependencies/.kokoro/nightly/java7.cfg b/java-shared-dependencies/.kokoro/nightly/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg b/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg deleted file mode 100644 index 127b52fb2bc0..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-shared-dependencies/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/nightly/java8-win.cfg b/java-shared-dependencies/.kokoro/nightly/java8-win.cfg deleted file mode 100644 index e105f6d4f3b5..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-shared-dependencies/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/nightly/java8.cfg b/java-shared-dependencies/.kokoro/nightly/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-shared-dependencies/.kokoro/nightly/samples.cfg b/java-shared-dependencies/.kokoro/nightly/samples.cfg deleted file mode 100644 index 9761fd8648cb..000000000000 --- a/java-shared-dependencies/.kokoro/nightly/samples.cfg +++ /dev/null @@ -1,38 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-docs-samples-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-docs-samples-service-account" -} - -env_vars: { - key: "ENABLE_FLAKYBOT" - value: "true" -} diff --git a/java-shared-dependencies/.kokoro/populate-secrets.sh b/java-shared-dependencies/.kokoro/populate-secrets.sh deleted file mode 100755 index f52514257ef0..000000000000 --- a/java-shared-dependencies/.kokoro/populate-secrets.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} -function msg { println "$*" >&2 ;} -function println { printf '%s\n' "$(now) $*" ;} - - -# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: -# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com -SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" -msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" -mkdir -p ${SECRET_LOCATION} -for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") -do - msg "Retrieving secret ${key}" - docker run --entrypoint=gcloud \ - --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ - gcr.io/google.com/cloudsdktool/cloud-sdk \ - secrets versions access latest \ - --project cloud-devrel-kokoro-resources \ - --secret ${key} > \ - "${SECRET_LOCATION}/${key}" - if [[ $? == 0 ]]; then - msg "Secret written to ${SECRET_LOCATION}/${key}" - else - msg "Error retrieving secret ${key}" - fi -done diff --git a/java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg b/java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg deleted file mode 100644 index 51efcf8dbb09..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/client-library-check.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/client-library-check.sh" -} diff --git a/java-shared-dependencies/.kokoro/presubmit/clirr.cfg b/java-shared-dependencies/.kokoro/presubmit/clirr.cfg deleted file mode 100644 index ec572442e2e7..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/clirr.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "clirr" -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/presubmit/common.cfg b/java-shared-dependencies/.kokoro/presubmit/common.cfg deleted file mode 100644 index dd8e9876c8b5..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/common.cfg +++ /dev/null @@ -1,34 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - regex: "**/*sponge_log.txt" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-shared-dependencies/.kokoro/trampoline.sh" - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/build.sh" -} - -env_vars: { - key: "JOB_TYPE" - value: "test" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "dpebot_codecov_token" - } - } -} diff --git a/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg b/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg deleted file mode 100644 index 7b0df4459711..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/dependencies.sh" -} diff --git a/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg b/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg deleted file mode 100644 index e20330c3ca60..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/graalvm-native-17.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.0" -} - -env_vars: { - key: "JOB_TYPE" - value: "graalvm17" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg b/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg deleted file mode 100644 index 0fd6ba2fa0ce..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/graalvm-native.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.0" -} - -env_vars: { - key: "JOB_TYPE" - value: "graalvm" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-shared-dependencies/.kokoro/presubmit/integration.cfg b/java-shared-dependencies/.kokoro/presubmit/integration.cfg deleted file mode 100644 index dded67a9d54a..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/integration.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "integration" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-it-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-it-service-account" -} diff --git a/java-shared-dependencies/.kokoro/presubmit/java11.cfg b/java-shared-dependencies/.kokoro/presubmit/java11.cfg deleted file mode 100644 index 709f2b4c73db..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} diff --git a/java-shared-dependencies/.kokoro/presubmit/java7.cfg b/java-shared-dependencies/.kokoro/presubmit/java7.cfg deleted file mode 100644 index cb24f44eea3b..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java7" -} diff --git a/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg b/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg deleted file mode 100644 index 127b52fb2bc0..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-shared-dependencies/.kokoro/build.sh" diff --git a/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg b/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg deleted file mode 100644 index e105f6d4f3b5..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-shared-dependencies/.kokoro/build.bat" diff --git a/java-shared-dependencies/.kokoro/presubmit/java8.cfg b/java-shared-dependencies/.kokoro/presubmit/java8.cfg deleted file mode 100644 index 495cc7bacd63..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/java8.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "REPORT_COVERAGE" - value: "true" -} diff --git a/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg b/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg deleted file mode 100644 index a3c32e281344..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/linkage-monitor.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/linkage-monitor.sh" -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/presubmit/lint.cfg b/java-shared-dependencies/.kokoro/presubmit/lint.cfg deleted file mode 100644 index 6d323c8ae768..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. - -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/presubmit/samples.cfg b/java-shared-dependencies/.kokoro/presubmit/samples.cfg deleted file mode 100644 index 01e0960047b8..000000000000 --- a/java-shared-dependencies/.kokoro/presubmit/samples.cfg +++ /dev/null @@ -1,33 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -# TODO: remove this after we've migrated all tests and scripts -env_vars: { - key: "GCLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_CLOUD_PROJECT" - value: "java-docs-samples-testing" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "secret_manager/java-docs-samples-service-account" -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "java-docs-samples-service-account" -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/readme.sh b/java-shared-dependencies/.kokoro/readme.sh deleted file mode 100755 index 22352fa003e4..000000000000 --- a/java-shared-dependencies/.kokoro/readme.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -cd ${KOKORO_ARTIFACTS_DIR}/github/java-shared-dependencies - -# Disable buffering, so that the logs stream through. -export PYTHONUNBUFFERED=1 - -# Kokoro exposes this as a file, but the scripts expect just a plain variable. -export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) - -# Setup git credentials -echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials -git config --global credential.helper 'store --file ~/.git-credentials' - -python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool - -set +e -python3.6 -m autosynth.synth \ - --repository=googleapis/java-shared-dependencies \ - --synth-file-name=.github/readme/synth.py \ - --metadata-path=.github/readme/synth.metadata \ - --pr-title="chore: regenerate README" \ - --branch-suffix="readme" - -# autosynth returns 28 to signal there are no changes -RETURN_CODE=$? -if [[ ${RETURN_CODE} -ne 0 && ${RETURN_CODE} -ne 28 ]] -then - exit ${RETURN_CODE} -fi diff --git a/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg b/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg deleted file mode 100644 index 0258fb413337..000000000000 --- a/java-shared-dependencies/.kokoro/release/bump_snapshot.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-shared-dependencies/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/release/bump_snapshot.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/java-shared-dependencies/.kokoro/release/bump_snapshot.sh b/java-shared-dependencies/.kokoro/release/bump_snapshot.sh deleted file mode 100755 index 5e41029cc46f..000000000000 --- a/java-shared-dependencies/.kokoro/release/bump_snapshot.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -# Copyright 2019 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. - -set -eo pipefail - -export NPM_CONFIG_PREFIX=/home/node/.npm-global - -if [ -f ${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please ]; then - # Groom the snapshot release PR immediately after publishing a release - npx release-please release-pr --token=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-token-release-please \ - --repo-url=googleapis/java-shared-dependencies \ - --package-name="google-cloud-shared-dependencies" \ - --api-url=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-url-release-please \ - --proxy-key=${KOKORO_KEYSTORE_DIR}/73713_github-magic-proxy-key-release-please \ - --snapshot \ - --release-type=java-auth-yoshi -fi diff --git a/java-shared-dependencies/.kokoro/release/common.cfg b/java-shared-dependencies/.kokoro/release/common.cfg deleted file mode 100644 index d1f878a7ef4f..000000000000 --- a/java-shared-dependencies/.kokoro/release/common.cfg +++ /dev/null @@ -1,49 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-shared-dependencies/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-keyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-passphrase" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-pubkeyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "sonatype-credentials" - } - } -} diff --git a/java-shared-dependencies/.kokoro/release/common.sh b/java-shared-dependencies/.kokoro/release/common.sh deleted file mode 100755 index 7f78ee414faf..000000000000 --- a/java-shared-dependencies/.kokoro/release/common.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Get secrets from keystore and set and environment variables -setup_environment_secrets() { - export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) - export GPG_TTY=$(tty) - export GPG_HOMEDIR=/gpg - mkdir $GPG_HOMEDIR - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-keyring $GPG_HOMEDIR/secring.gpg - export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f1 -d'|') - export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f2 -d'|') -} - -create_settings_xml_file() { - echo " - - - ossrh - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-staging - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-snapshots - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - -" > $1 -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/drop.cfg b/java-shared-dependencies/.kokoro/release/drop.cfg deleted file mode 100644 index 1595b2de2c94..000000000000 --- a/java-shared-dependencies/.kokoro/release/drop.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/release/drop.sh" -} diff --git a/java-shared-dependencies/.kokoro/release/drop.sh b/java-shared-dependencies/.kokoro/release/drop.sh deleted file mode 100755 index 742ec1a88600..000000000000 --- a/java-shared-dependencies/.kokoro/release/drop.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:drop -B \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-shared-dependencies/.kokoro/release/promote.cfg b/java-shared-dependencies/.kokoro/release/promote.cfg deleted file mode 100644 index 787a78d99b1e..000000000000 --- a/java-shared-dependencies/.kokoro/release/promote.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/release/promote.sh" -} diff --git a/java-shared-dependencies/.kokoro/release/promote.sh b/java-shared-dependencies/.kokoro/release/promote.sh deleted file mode 100755 index 3cac3d8a97d7..000000000000 --- a/java-shared-dependencies/.kokoro/release/promote.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh - -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg deleted file mode 100644 index 01b4f69c220b..000000000000 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.cfg +++ /dev/null @@ -1,23 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" - -env_vars: { - key: "STAGING_BUCKET" - value: "docs-staging" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/release/publish_javadoc.sh" -} - - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc.sh deleted file mode 100755 index 079b15d0bbd7..000000000000 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET}" ]]; then - echo "Need to set STAGING_BUCKET environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-cloud-shared-dependencies -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# build the docs -mvn site -B -q - -pushd target/site/apidocs - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET} diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg b/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg deleted file mode 100644 index 6ca6fac66a26..000000000000 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.cfg +++ /dev/null @@ -1,30 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# cloud-rad production -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" -} - -# Configure the docker image for kokoro-trampoline -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh b/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh deleted file mode 100755 index 56a3481e597c..000000000000 --- a/java-shared-dependencies/.kokoro/release/publish_javadoc11.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-cloud-shared-dependencies -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# cloud RAD generation -mvn clean javadoc:aggregate -B -q -P docFX -# include CHANGELOG -cp CHANGELOG.md target/docfx-yml/history.md - -pushd target/docfx-yml - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --xrefs devsite://java/gax \ - --xrefs devsite://java/google-cloud-core \ - --xrefs devsite://java/api-common \ - --xrefs devsite://java/proto-google-common-protos \ - --xrefs devsite://java/google-api-client \ - --xrefs devsite://java/google-http-client \ - --xrefs devsite://java/protobuf \ - --language java - -# upload yml to production bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx diff --git a/java-shared-dependencies/.kokoro/release/snapshot.cfg b/java-shared-dependencies/.kokoro/release/snapshot.cfg deleted file mode 100644 index 14d45d8e9697..000000000000 --- a/java-shared-dependencies/.kokoro/release/snapshot.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/release/snapshot.sh" -} \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/release/snapshot.sh b/java-shared-dependencies/.kokoro/release/snapshot.sh deleted file mode 100755 index 1f55b77024d8..000000000000 --- a/java-shared-dependencies/.kokoro/release/snapshot.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -source $(dirname "$0")/common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -# ensure we're trying to push a snapshot (no-result returns non-zero exit code) -grep SNAPSHOT versions.txt - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} diff --git a/java-shared-dependencies/.kokoro/release/stage.cfg b/java-shared-dependencies/.kokoro/release/stage.cfg deleted file mode 100644 index b8225f667db7..000000000000 --- a/java-shared-dependencies/.kokoro/release/stage.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-shared-dependencies/.kokoro/release/stage.sh" -} - -# Need to save the properties file -action { - define_artifacts { - regex: "github/java-shared-dependencies/target/nexus-staging/staging/*.properties" - strip_prefix: "github/java-shared-dependencies" - } -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" -} diff --git a/java-shared-dependencies/.kokoro/release/stage.sh b/java-shared-dependencies/.kokoro/release/stage.sh deleted file mode 100755 index 61e714d6ba56..000000000000 --- a/java-shared-dependencies/.kokoro/release/stage.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Start the releasetool reporter -requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt) -python3 -m pip install --require-hashes -r $requirementsFile -python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script - -source $(dirname "$0")/common.sh -source $(dirname "$0")/../common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -# attempt to stage 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DskipTests=true \ - -Dclirr.skip=true \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} - -if [[ -n "${AUTORELEASE_PR}" ]] -then - mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml -fi diff --git a/java-shared-dependencies/.kokoro/requirements.in b/java-shared-dependencies/.kokoro/requirements.in deleted file mode 100644 index b19a8dbfdd5e..000000000000 --- a/java-shared-dependencies/.kokoro/requirements.in +++ /dev/null @@ -1,6 +0,0 @@ -gcp-docuploader -gcp-releasetool -wheel -setuptools -typing-extensions -click<8.1.0 \ No newline at end of file diff --git a/java-shared-dependencies/.kokoro/requirements.txt b/java-shared-dependencies/.kokoro/requirements.txt deleted file mode 100644 index 4895c9631fd8..000000000000 --- a/java-shared-dependencies/.kokoro/requirements.txt +++ /dev/null @@ -1,408 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# pip-compile --allow-unsafe --generate-hashes requirements.in -# -attrs==22.1.0 \ - --hash=sha256:29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6 \ - --hash=sha256:86efa402f67bf2df34f51a335487cf46b1ec130d02b8d39fd248abfd30da551c - # via gcp-releasetool -cachetools==4.2.4 \ - --hash=sha256:89ea6f1b638d5a73a4f9226be57ac5e4f399d22770b92355f92dcb0f7f001693 \ - --hash=sha256:92971d3cb7d2a97efff7c7bb1657f21a8f5fb309a37530537c71b1774189f2d1 - # via google-auth -certifi==2022.12.7 \ - --hash=sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3 \ - --hash=sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18 - # via requests -cffi==1.15.1 \ - --hash=sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5 \ - --hash=sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef \ - --hash=sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104 \ - --hash=sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426 \ - --hash=sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405 \ - --hash=sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375 \ - --hash=sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a \ - --hash=sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e \ - --hash=sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc \ - --hash=sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf \ - --hash=sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185 \ - --hash=sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497 \ - --hash=sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3 \ - --hash=sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35 \ - --hash=sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c \ - --hash=sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83 \ - --hash=sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21 \ - --hash=sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca \ - --hash=sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984 \ - --hash=sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac \ - --hash=sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd \ - --hash=sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee \ - --hash=sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a \ - --hash=sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2 \ - --hash=sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192 \ - --hash=sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7 \ - --hash=sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585 \ - --hash=sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f \ - --hash=sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e \ - --hash=sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27 \ - --hash=sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b \ - --hash=sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e \ - --hash=sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e \ - --hash=sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d \ - --hash=sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c \ - --hash=sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415 \ - --hash=sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82 \ - --hash=sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02 \ - --hash=sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314 \ - --hash=sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325 \ - --hash=sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c \ - --hash=sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3 \ - --hash=sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914 \ - --hash=sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045 \ - --hash=sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d \ - --hash=sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9 \ - --hash=sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5 \ - --hash=sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2 \ - --hash=sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c \ - --hash=sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3 \ - --hash=sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2 \ - --hash=sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8 \ - --hash=sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d \ - --hash=sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d \ - --hash=sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 \ - --hash=sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162 \ - --hash=sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76 \ - --hash=sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4 \ - --hash=sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e \ - --hash=sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9 \ - --hash=sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6 \ - --hash=sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b \ - --hash=sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01 \ - --hash=sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0 - # via cryptography -charset-normalizer==2.0.12 \ - --hash=sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597 \ - --hash=sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df - # via requests -click==8.0.4 \ - --hash=sha256:6a7a62563bbfabfda3a38f3023a1db4a35978c0abd76f6c9605ecd6554d6d9b1 \ - --hash=sha256:8458d7b1287c5fb128c90e23381cf99dcde74beaf6c7ff6384ce84d6fe090adb - # via - # -r requirements.in - # gcp-docuploader - # gcp-releasetool -colorlog==6.7.0 \ - --hash=sha256:0d33ca236784a1ba3ff9c532d4964126d8a2c44f1f0cb1d2b0728196f512f662 \ - --hash=sha256:bd94bd21c1e13fac7bd3153f4bc3a7dc0eb0974b8bc2fdf1a989e474f6e582e5 - # via gcp-docuploader -cryptography==38.0.3 \ - --hash=sha256:068147f32fa662c81aebab95c74679b401b12b57494872886eb5c1139250ec5d \ - --hash=sha256:06fc3cc7b6f6cca87bd56ec80a580c88f1da5306f505876a71c8cfa7050257dd \ - --hash=sha256:25c1d1f19729fb09d42e06b4bf9895212292cb27bb50229f5aa64d039ab29146 \ - --hash=sha256:402852a0aea73833d982cabb6d0c3bb582c15483d29fb7085ef2c42bfa7e38d7 \ - --hash=sha256:4e269dcd9b102c5a3d72be3c45d8ce20377b8076a43cbed6f660a1afe365e436 \ - --hash=sha256:5419a127426084933076132d317911e3c6eb77568a1ce23c3ac1e12d111e61e0 \ - --hash=sha256:554bec92ee7d1e9d10ded2f7e92a5d70c1f74ba9524947c0ba0c850c7b011828 \ - --hash=sha256:5e89468fbd2fcd733b5899333bc54d0d06c80e04cd23d8c6f3e0542358c6060b \ - --hash=sha256:65535bc550b70bd6271984d9863a37741352b4aad6fb1b3344a54e6950249b55 \ - --hash=sha256:6ab9516b85bebe7aa83f309bacc5f44a61eeb90d0b4ec125d2d003ce41932d36 \ - --hash=sha256:6addc3b6d593cd980989261dc1cce38263c76954d758c3c94de51f1e010c9a50 \ - --hash=sha256:728f2694fa743a996d7784a6194da430f197d5c58e2f4e278612b359f455e4a2 \ - --hash=sha256:785e4056b5a8b28f05a533fab69febf5004458e20dad7e2e13a3120d8ecec75a \ - --hash=sha256:78cf5eefac2b52c10398a42765bfa981ce2372cbc0457e6bf9658f41ec3c41d8 \ - --hash=sha256:7f836217000342d448e1c9a342e9163149e45d5b5eca76a30e84503a5a96cab0 \ - --hash=sha256:8d41a46251bf0634e21fac50ffd643216ccecfaf3701a063257fe0b2be1b6548 \ - --hash=sha256:984fe150f350a3c91e84de405fe49e688aa6092b3525f407a18b9646f6612320 \ - --hash=sha256:9b24bcff7853ed18a63cfb0c2b008936a9554af24af2fb146e16d8e1aed75748 \ - --hash=sha256:b1b35d9d3a65542ed2e9d90115dfd16bbc027b3f07ee3304fc83580f26e43249 \ - --hash=sha256:b1b52c9e5f8aa2b802d48bd693190341fae201ea51c7a167d69fc48b60e8a959 \ - --hash=sha256:bbf203f1a814007ce24bd4d51362991d5cb90ba0c177a9c08825f2cc304d871f \ - --hash=sha256:be243c7e2bfcf6cc4cb350c0d5cdf15ca6383bbcb2a8ef51d3c9411a9d4386f0 \ - --hash=sha256:bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd \ - --hash=sha256:c46837ea467ed1efea562bbeb543994c2d1f6e800785bd5a2c98bc096f5cb220 \ - --hash=sha256:dfb4f4dd568de1b6af9f4cda334adf7d72cf5bc052516e1b2608b683375dd95c \ - --hash=sha256:ed7b00096790213e09eb11c97cc6e2b757f15f3d2f85833cd2d3ec3fe37c1722 - # via - # gcp-releasetool - # secretstorage -gcp-docuploader==0.6.4 \ - --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ - --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf - # via -r requirements.in -gcp-releasetool==1.9.1 \ - --hash=sha256:952f4055d5d986b070ae2a71c4410b250000f9cc5a1e26398fcd55a5bbc5a15f \ - --hash=sha256:d0d3c814a97c1a237517e837d8cfa668ced8df4b882452578ecef4a4e79c583b - # via -r requirements.in -google-api-core==2.8.2 \ - --hash=sha256:06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc \ - --hash=sha256:93c6a91ccac79079ac6bbf8b74ee75db970cc899278b97d53bc012f35908cf50 - # via - # google-cloud-core - # google-cloud-storage -google-auth==2.14.1 \ - --hash=sha256:ccaa901f31ad5cbb562615eb8b664b3dd0bf5404a67618e642307f00613eda4d \ - --hash=sha256:f5d8701633bebc12e0deea4df8abd8aff31c28b355360597f7f2ee60f2e4d016 - # via - # gcp-releasetool - # google-api-core - # google-cloud-core - # google-cloud-storage -google-cloud-core==2.3.1 \ - --hash=sha256:113ba4f492467d5bd442c8d724c1a25ad7384045c3178369038840ecdd19346c \ - --hash=sha256:34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53 - # via google-cloud-storage -google-cloud-storage==2.0.0 \ - --hash=sha256:a57a15aead0f9dfbd4381f1bfdbe8bf89818a4bd75bab846cafcefb2db846c47 \ - --hash=sha256:ec4be60bb223a3a960f0d01697d849b86d91cad815a84915a32ed3635e93a5e7 - # via gcp-docuploader -google-crc32c==1.3.0 \ - --hash=sha256:04e7c220798a72fd0f08242bc8d7a05986b2a08a0573396187fd32c1dcdd58b3 \ - --hash=sha256:05340b60bf05b574159e9bd940152a47d38af3fb43803ffe71f11d704b7696a6 \ - --hash=sha256:12674a4c3b56b706153a358eaa1018c4137a5a04635b92b4652440d3d7386206 \ - --hash=sha256:127f9cc3ac41b6a859bd9dc4321097b1a4f6aa7fdf71b4f9227b9e3ebffb4422 \ - --hash=sha256:13af315c3a0eec8bb8b8d80b8b128cb3fcd17d7e4edafc39647846345a3f003a \ - --hash=sha256:1926fd8de0acb9d15ee757175ce7242e235482a783cd4ec711cc999fc103c24e \ - --hash=sha256:226f2f9b8e128a6ca6a9af9b9e8384f7b53a801907425c9a292553a3a7218ce0 \ - --hash=sha256:276de6273eb074a35bc598f8efbc00c7869c5cf2e29c90748fccc8c898c244df \ - --hash=sha256:318f73f5484b5671f0c7f5f63741ab020a599504ed81d209b5c7129ee4667407 \ - --hash=sha256:3bbce1be3687bbfebe29abdb7631b83e6b25da3f4e1856a1611eb21854b689ea \ - --hash=sha256:42ae4781333e331a1743445931b08ebdad73e188fd554259e772556fc4937c48 \ - --hash=sha256:58be56ae0529c664cc04a9c76e68bb92b091e0194d6e3c50bea7e0f266f73713 \ - --hash=sha256:5da2c81575cc3ccf05d9830f9e8d3c70954819ca9a63828210498c0774fda1a3 \ - --hash=sha256:6311853aa2bba4064d0c28ca54e7b50c4d48e3de04f6770f6c60ebda1e975267 \ - --hash=sha256:650e2917660e696041ab3dcd7abac160b4121cd9a484c08406f24c5964099829 \ - --hash=sha256:6a4db36f9721fdf391646685ecffa404eb986cbe007a3289499020daf72e88a2 \ - --hash=sha256:779cbf1ce375b96111db98fca913c1f5ec11b1d870e529b1dc7354b2681a8c3a \ - --hash=sha256:7f6fe42536d9dcd3e2ffb9d3053f5d05221ae3bbcefbe472bdf2c71c793e3183 \ - --hash=sha256:891f712ce54e0d631370e1f4997b3f182f3368179198efc30d477c75d1f44942 \ - --hash=sha256:95c68a4b9b7828ba0428f8f7e3109c5d476ca44996ed9a5f8aac6269296e2d59 \ - --hash=sha256:96a8918a78d5d64e07c8ea4ed2bc44354e3f93f46a4866a40e8db934e4c0d74b \ - --hash=sha256:9c3cf890c3c0ecfe1510a452a165431b5831e24160c5fcf2071f0f85ca5a47cd \ - --hash=sha256:9f58099ad7affc0754ae42e6d87443299f15d739b0ce03c76f515153a5cda06c \ - --hash=sha256:a0b9e622c3b2b8d0ce32f77eba617ab0d6768b82836391e4f8f9e2074582bf02 \ - --hash=sha256:a7f9cbea4245ee36190f85fe1814e2d7b1e5f2186381b082f5d59f99b7f11328 \ - --hash=sha256:bab4aebd525218bab4ee615786c4581952eadc16b1ff031813a2fd51f0cc7b08 \ - --hash=sha256:c124b8c8779bf2d35d9b721e52d4adb41c9bfbde45e6a3f25f0820caa9aba73f \ - --hash=sha256:c9da0a39b53d2fab3e5467329ed50e951eb91386e9d0d5b12daf593973c3b168 \ - --hash=sha256:ca60076c388728d3b6ac3846842474f4250c91efbfe5afa872d3ffd69dd4b318 \ - --hash=sha256:cb6994fff247987c66a8a4e550ef374671c2b82e3c0d2115e689d21e511a652d \ - --hash=sha256:d1c1d6236feab51200272d79b3d3e0f12cf2cbb12b208c835b175a21efdb0a73 \ - --hash=sha256:dd7760a88a8d3d705ff562aa93f8445ead54f58fd482e4f9e2bafb7e177375d4 \ - --hash=sha256:dda4d8a3bb0b50f540f6ff4b6033f3a74e8bf0bd5320b70fab2c03e512a62812 \ - --hash=sha256:e0f1ff55dde0ebcfbef027edc21f71c205845585fffe30d4ec4979416613e9b3 \ - --hash=sha256:e7a539b9be7b9c00f11ef16b55486141bc2cdb0c54762f84e3c6fc091917436d \ - --hash=sha256:eb0b14523758e37802f27b7f8cd973f5f3d33be7613952c0df904b68c4842f0e \ - --hash=sha256:ed447680ff21c14aaceb6a9f99a5f639f583ccfe4ce1a5e1d48eb41c3d6b3217 \ - --hash=sha256:f52a4ad2568314ee713715b1e2d79ab55fab11e8b304fd1462ff5cccf4264b3e \ - --hash=sha256:fbd60c6aaa07c31d7754edbc2334aef50601b7f1ada67a96eb1eb57c7c72378f \ - --hash=sha256:fc28e0db232c62ca0c3600884933178f0825c99be4474cdd645e378a10588125 \ - --hash=sha256:fe31de3002e7b08eb20823b3735b97c86c5926dd0581c7710a680b418a8709d4 \ - --hash=sha256:fec221a051150eeddfdfcff162e6db92c65ecf46cb0f7bb1bf812a1520ec026b \ - --hash=sha256:ff71073ebf0e42258a42a0b34f2c09ec384977e7f6808999102eedd5b49920e3 - # via google-resumable-media -google-resumable-media==2.3.3 \ - --hash=sha256:27c52620bd364d1c8116eaac4ea2afcbfb81ae9139fb3199652fcac1724bfb6c \ - --hash=sha256:5b52774ea7a829a8cdaa8bd2d4c3d4bc660c91b30857ab2668d0eb830f4ea8c5 - # via google-cloud-storage -googleapis-common-protos==1.56.3 \ - --hash=sha256:6f1369b58ed6cf3a4b7054a44ebe8d03b29c309257583a2bbdc064cd1e4a1442 \ - --hash=sha256:87955d7b3a73e6e803f2572a33179de23989ebba725e05ea42f24838b792e461 - # via google-api-core -idna==3.4 \ - --hash=sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 \ - --hash=sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 - # via requests -importlib-metadata==4.8.3 \ - --hash=sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e \ - --hash=sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668 - # via keyring -jeepney==0.8.0 \ - --hash=sha256:5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806 \ - --hash=sha256:c0a454ad016ca575060802ee4d590dd912e35c122fa04e70306de3d076cce755 - # via - # keyring - # secretstorage -jinja2==3.0.3 \ - --hash=sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8 \ - --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 - # via gcp-releasetool -keyring==23.4.1 \ - --hash=sha256:17e49fb0d6883c2b4445359434dba95aad84aabb29bbff044ad0ed7100232eca \ - --hash=sha256:89cbd74d4683ed164c8082fb38619341097741323b3786905c6dac04d6915a55 - # via gcp-releasetool -markupsafe==2.0.1 \ - --hash=sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298 \ - --hash=sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64 \ - --hash=sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b \ - --hash=sha256:04635854b943835a6ea959e948d19dcd311762c5c0c6e1f0e16ee57022669194 \ - --hash=sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567 \ - --hash=sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff \ - --hash=sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724 \ - --hash=sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74 \ - --hash=sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646 \ - --hash=sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35 \ - --hash=sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6 \ - --hash=sha256:20dca64a3ef2d6e4d5d615a3fd418ad3bde77a47ec8a23d984a12b5b4c74491a \ - --hash=sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6 \ - --hash=sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad \ - --hash=sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26 \ - --hash=sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38 \ - --hash=sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac \ - --hash=sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7 \ - --hash=sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6 \ - --hash=sha256:4296f2b1ce8c86a6aea78613c34bb1a672ea0e3de9c6ba08a960efe0b0a09047 \ - --hash=sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75 \ - --hash=sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f \ - --hash=sha256:4dc8f9fb58f7364b63fd9f85013b780ef83c11857ae79f2feda41e270468dd9b \ - --hash=sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135 \ - --hash=sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8 \ - --hash=sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a \ - --hash=sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a \ - --hash=sha256:5b6d930f030f8ed98e3e6c98ffa0652bdb82601e7a016ec2ab5d7ff23baa78d1 \ - --hash=sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9 \ - --hash=sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864 \ - --hash=sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914 \ - --hash=sha256:6300b8454aa6930a24b9618fbb54b5a68135092bc666f7b06901f897fa5c2fee \ - --hash=sha256:63f3268ba69ace99cab4e3e3b5840b03340efed0948ab8f78d2fd87ee5442a4f \ - --hash=sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18 \ - --hash=sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8 \ - --hash=sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2 \ - --hash=sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d \ - --hash=sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b \ - --hash=sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b \ - --hash=sha256:89c687013cb1cd489a0f0ac24febe8c7a666e6e221b783e53ac50ebf68e45d86 \ - --hash=sha256:8d206346619592c6200148b01a2142798c989edcb9c896f9ac9722a99d4e77e6 \ - --hash=sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f \ - --hash=sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb \ - --hash=sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833 \ - --hash=sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28 \ - --hash=sha256:9f02365d4e99430a12647f09b6cc8bab61a6564363f313126f775eb4f6ef798e \ - --hash=sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415 \ - --hash=sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902 \ - --hash=sha256:aca6377c0cb8a8253e493c6b451565ac77e98c2951c45f913e0b52facdcff83f \ - --hash=sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d \ - --hash=sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9 \ - --hash=sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d \ - --hash=sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145 \ - --hash=sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066 \ - --hash=sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c \ - --hash=sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1 \ - --hash=sha256:cdfba22ea2f0029c9261a4bd07e830a8da012291fbe44dc794e488b6c9bb353a \ - --hash=sha256:d6c7ebd4e944c85e2c3421e612a7057a2f48d478d79e61800d81468a8d842207 \ - --hash=sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f \ - --hash=sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53 \ - --hash=sha256:deb993cacb280823246a026e3b2d81c493c53de6acfd5e6bfe31ab3402bb37dd \ - --hash=sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134 \ - --hash=sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85 \ - --hash=sha256:f0567c4dc99f264f49fe27da5f735f414c4e7e7dd850cfd8e69f0862d7c74ea9 \ - --hash=sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5 \ - --hash=sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94 \ - --hash=sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509 \ - --hash=sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51 \ - --hash=sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872 - # via jinja2 -packaging==21.3 \ - --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ - --hash=sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 - # via gcp-releasetool -protobuf==3.20.2 \ - --hash=sha256:03d76b7bd42ac4a6e109742a4edf81ffe26ffd87c5993126d894fe48a120396a \ - --hash=sha256:09e25909c4297d71d97612f04f41cea8fa8510096864f2835ad2f3b3df5a5559 \ - --hash=sha256:18e34a10ae10d458b027d7638a599c964b030c1739ebd035a1dfc0e22baa3bfe \ - --hash=sha256:291fb4307094bf5ccc29f424b42268640e00d5240bf0d9b86bf3079f7576474d \ - --hash=sha256:2c0b040d0b5d5d207936ca2d02f00f765906622c07d3fa19c23a16a8ca71873f \ - --hash=sha256:384164994727f274cc34b8abd41a9e7e0562801361ee77437099ff6dfedd024b \ - --hash=sha256:3cb608e5a0eb61b8e00fe641d9f0282cd0eedb603be372f91f163cbfbca0ded0 \ - --hash=sha256:5d9402bf27d11e37801d1743eada54372f986a372ec9679673bfcc5c60441151 \ - --hash=sha256:712dca319eee507a1e7df3591e639a2b112a2f4a62d40fe7832a16fd19151750 \ - --hash=sha256:7a5037af4e76c975b88c3becdf53922b5ffa3f2cddf657574a4920a3b33b80f3 \ - --hash=sha256:8228e56a865c27163d5d1d1771d94b98194aa6917bcfb6ce139cbfa8e3c27334 \ - --hash=sha256:84a1544252a933ef07bb0b5ef13afe7c36232a774affa673fc3636f7cee1db6c \ - --hash=sha256:84fe5953b18a383fd4495d375fe16e1e55e0a3afe7b4f7b4d01a3a0649fcda9d \ - --hash=sha256:9c673c8bfdf52f903081816b9e0e612186684f4eb4c17eeb729133022d6032e3 \ - --hash=sha256:a9e5ae5a8e8985c67e8944c23035a0dff2c26b0f5070b2f55b217a1c33bbe8b1 \ - --hash=sha256:b4fdb29c5a7406e3f7ef176b2a7079baa68b5b854f364c21abe327bbeec01cdb \ - --hash=sha256:c184485e0dfba4dfd451c3bd348c2e685d6523543a0f91b9fd4ae90eb09e8422 \ - --hash=sha256:c9cdf251c582c16fd6a9f5e95836c90828d51b0069ad22f463761d27c6c19019 \ - --hash=sha256:e39cf61bb8582bda88cdfebc0db163b774e7e03364bbf9ce1ead13863e81e359 \ - --hash=sha256:e8fbc522303e09036c752a0afcc5c0603e917222d8bedc02813fd73b4b4ed804 \ - --hash=sha256:f34464ab1207114e73bba0794d1257c150a2b89b7a9faf504e00af7c9fd58978 \ - --hash=sha256:f52dabc96ca99ebd2169dadbe018824ebda08a795c7684a0b7d203a290f3adb0 - # via - # gcp-docuploader - # gcp-releasetool - # google-api-core - # google-cloud-storage -pyasn1==0.4.8 \ - --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ - --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba - # via - # pyasn1-modules - # rsa -pyasn1-modules==0.2.8 \ - --hash=sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e \ - --hash=sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74 - # via google-auth -pycparser==2.21 \ - --hash=sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 \ - --hash=sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 - # via cffi -pyjwt==2.4.0 \ - --hash=sha256:72d1d253f32dbd4f5c88eaf1fdc62f3a19f676ccbadb9dbc5d07e951b2b26daf \ - --hash=sha256:d42908208c699b3b973cbeb01a969ba6a96c821eefb1c5bfe4c390c01d67abba - # via gcp-releasetool -pyparsing==3.0.9 \ - --hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \ - --hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc - # via packaging -pyperclip==1.8.2 \ - --hash=sha256:105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57 - # via gcp-releasetool -python-dateutil==2.8.2 \ - --hash=sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 \ - --hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9 - # via gcp-releasetool -requests==2.27.1 \ - --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ - --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d - # via - # gcp-releasetool - # google-api-core - # google-cloud-storage -rsa==4.9 \ - --hash=sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7 \ - --hash=sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21 - # via google-auth -secretstorage==3.3.3 \ - --hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \ - --hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 - # via keyring -setuptools==65.6.3 \ - --hash=sha256:57f6f22bde4e042978bcd50176fdb381d7c21a9efa4041202288d3737a0c6a54 \ - --hash=sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75 - # via -r requirements.in -six==1.16.0 \ - --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ - --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 - # via - # gcp-docuploader - # google-auth - # python-dateutil -typing-extensions==4.4.0 \ - --hash=sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa \ - --hash=sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e - # via -r requirements.in -urllib3==1.26.12 \ - --hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \ - --hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997 - # via requests -wheel==0.38.4 \ - --hash=sha256:965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac \ - --hash=sha256:b60533f3f5d530e971d6737ca6d58681ee434818fab630c83a734bb10c083ce8 - # via -r requirements.in -zipp==3.6.0 \ - --hash=sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832 \ - --hash=sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc - # via importlib-metadata diff --git a/java-shared-dependencies/.kokoro/trampoline.sh b/java-shared-dependencies/.kokoro/trampoline.sh deleted file mode 100644 index 8b69b793c9ec..000000000000 --- a/java-shared-dependencies/.kokoro/trampoline.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -set -eo pipefail -# Always run the cleanup script, regardless of the success of bouncing into -# the container. -function cleanup() { - chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh - ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh - echo "cleanup"; -} -trap cleanup EXIT - -$(dirname $0)/populate-secrets.sh # Secret Manager secrets. -python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/java-shared-dependencies/CODE_OF_CONDUCT.md b/java-shared-dependencies/CODE_OF_CONDUCT.md deleted file mode 100644 index 2add2547a812..000000000000 --- a/java-shared-dependencies/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,94 +0,0 @@ - -# Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of -experience, education, socio-economic status, nationality, personal appearance, -race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or reject -comments, commits, code, wiki edits, issues, and other contributions that are -not aligned to this Code of Conduct, or to ban temporarily or permanently any -contributor for other behaviors that they deem inappropriate, threatening, -offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -This Code of Conduct also applies outside the project spaces when the Project -Steward has a reasonable belief that an individual's behavior may have a -negative impact on the project or its community. - -## Conflict Resolution - -We do not believe that all conflict is bad; healthy debate and disagreement -often yield positive results. However, it is never okay to be disrespectful or -to engage in behavior that violates the project’s code of conduct. - -If you see someone violating the code of conduct, you are encouraged to address -the behavior directly with those involved. Many issues can be resolved quickly -and easily, and this gives people more control over the outcome of their -dispute. If you are unable to resolve the matter for any reason, or if the -behavior is threatening or harassing, report it. We are dedicated to providing -an environment where participants feel welcome and safe. - -Reports should be directed to *googleapis-stewards@google.com*, the -Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to -receive and address reported violations of the code of conduct. They will then -work with a committee consisting of representatives from the Open Source -Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out to the Project Steward, please email -opensource@google.com. - -We will investigate every complaint, but you may not receive a direct response. -We will use our discretion in determining when and how to follow up on reported -incidents, which may range from not taking action to permanent expulsion from -the project and project-sponsored spaces. We will notify the accused of the -report and provide them an opportunity to discuss it before any action is taken. -The identity of the reporter will be omitted from the details of the report -supplied to the accused. In potentially harmful situations, such as ongoing -harassment or threats to anyone's safety, we may take action without notice. - -## Attribution - -This Code of Conduct is adapted from the Contributor Covenant, version 1.4, -available at -https://www.contributor-covenant.org/version/1/4/code-of-conduct.html \ No newline at end of file diff --git a/java-shared-dependencies/CONTRIBUTING.md b/java-shared-dependencies/CONTRIBUTING.md deleted file mode 100644 index b65dd279c946..000000000000 --- a/java-shared-dependencies/CONTRIBUTING.md +++ /dev/null @@ -1,92 +0,0 @@ -# How to Contribute - -We'd love to accept your patches and contributions to this project. There are -just a few small guidelines you need to follow. - -## Contributor License Agreement - -Contributions to this project must be accompanied by a Contributor License -Agreement. You (or your employer) retain the copyright to your contribution; -this simply gives us permission to use and redistribute your contributions as -part of the project. Head over to to see -your current agreements on file or to sign a new one. - -You generally only need to submit a CLA once, so if you've already submitted one -(even if it was for a different project), you probably don't need to do it -again. - -## Code reviews - -All submissions, including submissions by project members, require review. We -use GitHub pull requests for this purpose. Consult -[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more -information on using pull requests. - -## Community Guidelines - -This project follows -[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/). - -## Building the project - -To build, package, and run all unit tests run the command - -``` -mvn clean verify -``` - -### Running Integration tests - -To include integration tests when building the project, you need access to -a GCP Project with a valid service account. - -For instructions on how to generate a service account and corresponding -credentials JSON see: [Creating a Service Account][1]. - -Then run the following to build, package, run all unit tests and run all -integration tests. - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn -Penable-integration-tests clean verify -``` - -## Code Samples - -All code samples must be in compliance with the [java sample formatting guide][3]. -Code Samples must be bundled in separate Maven modules. - -The samples must be separate from the primary project for a few reasons: -1. Primary projects have a minimum Java version of Java 8 whereas samples can have - Java version of Java 11. Due to this we need the ability to - selectively exclude samples from a build run. -2. Many code samples depend on external GCP services and need - credentials to access the service. -3. Code samples are not released as Maven artifacts and must be excluded from - release builds. - -### Building - -```bash -mvn clean verify -``` - -Some samples require access to GCP services and require a service account: - -```bash -export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account.json -mvn clean verify -``` - -### Code Formatting - -Code in this repo is formatted with -[google-java-format](https://github.com/google/google-java-format). -To run formatting on your project, you can run: -``` -mvn com.coveo:fmt-maven-plugin:format -``` - -[1]: https://cloud.google.com/docs/authentication/getting-started#creating_a_service_account -[2]: https://maven.apache.org/settings.html#Active_Profiles -[3]: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md \ No newline at end of file diff --git a/java-shared-dependencies/LICENSE b/java-shared-dependencies/LICENSE deleted file mode 100644 index 261eeb9e9f8b..000000000000 --- a/java-shared-dependencies/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/java-shared-dependencies/SECURITY.md b/java-shared-dependencies/SECURITY.md deleted file mode 100644 index 8b58ae9c01ae..000000000000 --- a/java-shared-dependencies/SECURITY.md +++ /dev/null @@ -1,7 +0,0 @@ -# Security Policy - -To report a security issue, please use [g.co/vulnz](https://g.co/vulnz). - -The Google Security Team will respond within 5 working days of your report on g.co/vulnz. - -We use g.co/vulnz for our intake, and do coordination and disclosure here using GitHub Security Advisory to privately discuss and fix the issue. diff --git a/java-shared-dependencies/codecov.yaml b/java-shared-dependencies/codecov.yaml deleted file mode 100644 index 5724ea9478d7..000000000000 --- a/java-shared-dependencies/codecov.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -codecov: - ci: - - source.cloud.google.com diff --git a/java-shared-dependencies/java.header b/java-shared-dependencies/java.header deleted file mode 100644 index d0970ba7d375..000000000000 --- a/java-shared-dependencies/java.header +++ /dev/null @@ -1,15 +0,0 @@ -^/\*$ -^ \* Copyright \d\d\d\d,? Google (Inc\.|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\.$ -^ \*/$ diff --git a/java-shared-dependencies/renovate.json b/java-shared-dependencies/renovate.json deleted file mode 100644 index fb692bfd86ab..000000000000 --- a/java-shared-dependencies/renovate.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "extends": [ - ":separateMajorReleases", - ":combinePatchMinorReleases", - ":ignoreUnstable", - ":prImmediately", - ":updateNotScheduled", - ":automergeDisabled", - ":ignoreModulesAndTests", - ":maintainLockFilesDisabled", - ":autodetectPinVersions" - ], - "ignorePaths": [".kokoro/requirements.txt"], - "packageRules": [ - { - "packagePatterns": [ - "^com.google.guava:" - ], - "versionScheme": "docker" - }, - { - "packagePatterns": [ - "*" - ], - "semanticCommitType": "deps", - "semanticCommitScope": null - }, - { - "packagePatterns": [ - "^org.apache.maven", - "^org.jacoco:", - "^org.codehaus.mojo:", - "^org.sonatype.plugins:", - "^com.coveo:", - "^com.google.cloud:google-cloud-shared-config" - ], - "semanticCommitType": "build", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-shared-dependencies", - "^com.google.cloud:libraries-bom", - "^com.google.cloud.samples:shared-configuration" - ], - "semanticCommitType": "chore", - "semanticCommitScope": "deps" - }, - { - "packagePatterns": [ - "^com.google.cloud:google-cloud-" - ], - "ignoreUnstable": false - }, - { - "packagePatterns": [ - "^com.fasterxml.jackson.core" - ], - "groupName": "jackson dependencies" - } - ], - "semanticCommits": true, - "masterIssue": true -} diff --git a/java-shared-dependencies/versions.txt b/java-shared-dependencies/versions.txt deleted file mode 100644 index dba4e9392d49..000000000000 --- a/java-shared-dependencies/versions.txt +++ /dev/null @@ -1,4 +0,0 @@ -# Format: -# module:released-version:current-version - -google-cloud-shared-dependencies:3.1.2:3.1.3-SNAPSHOT From 07090504110dd4f2429f776e854bb1e712b7cfd4 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 18:57:38 +0000 Subject: [PATCH 3017/3036] adding versions.txt --- .../samples/cloud-client/snippets/pom.xml | 98 ----------- .../src/main/java/CreateDenyPolicy.java | 164 ------------------ .../src/main/java/DeleteDenyPolicy.java | 87 ---------- .../snippets/src/main/java/GetDenyPolicy.java | 72 -------- .../src/main/java/ListDenyPolicies.java | 67 ------- .../src/main/java/UpdateDenyPolicy.java | 158 ----------------- .../snippets/src/test/java/DenyIT.java | 130 -------------- versions.txt | 3 + 8 files changed, 3 insertions(+), 776 deletions(-) delete mode 100644 java-iam/samples/cloud-client/snippets/pom.xml delete mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java delete mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java delete mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java delete mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java delete mode 100644 java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java delete mode 100644 java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java diff --git a/java-iam/samples/cloud-client/snippets/pom.xml b/java-iam/samples/cloud-client/snippets/pom.xml deleted file mode 100644 index ef1a8d9358b6..000000000000 --- a/java-iam/samples/cloud-client/snippets/pom.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - iam-deny-samples - 4.0.0 - 1.0-SNAPSHOT - - - - - com.google.apis - google-api-services-cloudresourcemanager - v3-rev20221108-2.0.0 - - - com.google.auth - google-auth-library-oauth2-http - 1.14.0 - - - com.google.http-client - google-http-client-jackson2 - 1.42.3 - - - com.google.cloud - google-iam-policy - 1.6.23 - compile - - - com.google.apis - google-api-services-iamcredentials - v1-rev20211203-2.0.0 - - - - - truth - com.google.truth - test - 1.1.3 - - - junit - junit - test - 4.13.2 - - - - - - - - libraries-bom - com.google.cloud - import - pom - 26.2.0 - - - - - - - shared-configuration - com.google.cloud.samples - 1.2.0 - - - - 11 - 11 - - - gce-diregapic - - diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java deleted file mode 100644 index d9ea32daa582..000000000000 --- a/java-iam/samples/cloud-client/snippets/src/main/java/CreateDenyPolicy.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// [START iam_create_deny_policy] - -import com.google.iam.v2.CreatePolicyRequest; -import com.google.iam.v2.DenyRule; -import com.google.iam.v2.PoliciesClient; -import com.google.iam.v2.Policy; -import com.google.iam.v2.PolicyRule; -import com.google.longrunning.Operation; -import com.google.type.Expr; -import java.io.IOException; -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; - -public class CreateDenyPolicy { - - public static void main(String[] args) - throws IOException, ExecutionException, InterruptedException, TimeoutException { - // TODO(developer): Replace these variables before running the sample. - // ID or number of the Google Cloud project you want to use. - String projectId = "your-google-cloud-project-id"; - - // Specify the id of the Deny policy you want to create. - String policyId = "deny-policy-id"; - - createDenyPolicy(projectId, policyId); - } - - // Create a deny policy. - // You can add deny policies to organizations, folders, and projects. - // Each of these resources can have up to 5 deny policies. - // - // Deny policies contain deny rules, which specify the following: - // 1. The permissions to deny and/or exempt. - // 2. The principals that are denied, or exempted from denial. - // 3. An optional condition on when to enforce the deny rules. - public static void createDenyPolicy(String projectId, String policyId) - throws IOException, ExecutionException, InterruptedException, TimeoutException { - - try (PoliciesClient policiesClient = PoliciesClient.create()) { - // Each deny policy is attached to an organization, folder, or project. - // To work with deny policies, specify the attachment point. - // - // Its format can be one of the following: - // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID - // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID - // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID - // - // The attachment point is identified by its URL-encoded resource name. - String urlEncodedResource = - URLEncoder.encode( - "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); - String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); - - // Construct the full path of the resource to which the policy is attached. - // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" - String policyParent = String.format("policies/%s/denypolicies", attachmentPoint); - - DenyRule denyRule = - DenyRule.newBuilder() - // Add one or more principals who should be denied the permissions specified in this - // rule. - // For more information on allowed values, see: - // https://cloud.google.com/iam/docs/principal-identifiers - .addDeniedPrincipals("principalSet://goog/public:all") - - // Optionally, set the principals who should be exempted from the - // list of denied principals. For example, if you want to deny certain permissions - // to a group but exempt a few principals, then add those here. - // .addExceptionPrincipals( - // "principalSet://goog/group/project-admins@example.com") - - // Set the permissions to deny. - // The permission value is of the format: service_fqdn/resource.action - // For the list of supported permissions, see: - // https://cloud.google.com/iam/help/deny/supported-permissions - .addDeniedPermissions("cloudresourcemanager.googleapis.com/projects.delete") - - // Optionally, add the permissions to be exempted from this rule. - // Meaning, the deny rule will not be applicable to these permissions. - // .addExceptionPermissions("cloudresourcemanager.googleapis.com/projects.create") - - // Set the condition which will enforce the deny rule. If this condition is true, - // the deny rule will be applicable. Else, the rule will not be enforced. - .setDenialCondition( - Expr.newBuilder() - // The expression uses Common Expression Language syntax (CEL). - // Here we block access based on tags. - // - // A tag is a key-value pair that can be attached to an organization, folder, - // or project. You can use deny policies to deny permissions based on tags - // without adding an IAM Condition to every role grant. - // For example, imagine that you tag all of your projects as dev, test, or - // prod. You want only members of project-admins@example.com to be able to - // perform operations on projects that are tagged prod. - // To solve this problem, you create a deny rule that denies the - // cloudresourcemanager.googleapis.com/projects.delete permission to everyone - // except project-admins@example.com for resources that are tagged test. - .setExpression("!resource.matchTag('12345678/env', 'test')") - .setTitle("Only for test projects") - .build()) - .build(); - - // Add the deny rule and a description for it. - Policy policy = - Policy.newBuilder() - // Set the deny rule. - .addRules( - PolicyRule.newBuilder() - // Set a description for the rule. - .setDescription( - "block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value test") - .setDenyRule(denyRule) - .build()) - .build(); - - // Set the policy resource path, policy rules and a unique ID for the policy. - CreatePolicyRequest createPolicyRequest = - CreatePolicyRequest.newBuilder() - .setParent(policyParent) - .setPolicy(policy) - .setPolicyId(policyId) - .build(); - - // Build the create policy request. - Operation operation = - policiesClient - .createPolicyCallable() - .futureCall(createPolicyRequest) - .get(3, TimeUnit.MINUTES); - - // Wait for the operation to complete. - if (!operation.getDone() || operation.hasError()) { - System.out.println("Error in creating the policy " + operation.getError()); - return; - } - - // Retrieve the policy name. - Policy response = policiesClient.getPolicy(String.format("%s/%s", policyParent, policyId)); - String policyName = response.getName(); - System.out.println( - "Created the deny policy: " + policyName.substring(policyName.lastIndexOf("/") + 1)); - } - } -} -// [END iam_create_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java deleted file mode 100644 index ef0b9d4907fc..000000000000 --- a/java-iam/samples/cloud-client/snippets/src/main/java/DeleteDenyPolicy.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// [START iam_delete_deny_policy] - -import com.google.iam.v2.DeletePolicyRequest; -import com.google.iam.v2.PoliciesClient; -import com.google.longrunning.Operation; -import java.io.IOException; -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; - -public class DeleteDenyPolicy { - - public static void main(String[] args) - throws IOException, InterruptedException, ExecutionException, TimeoutException { - // TODO(developer): Replace these variables before running the sample. - - // ID or number of the Google Cloud project you want to use. - String projectId = "your-google-cloud-project-id"; - - // Specify the ID of the deny policy you want to retrieve. - String policyId = "deny-policy-id"; - - deleteDenyPolicy(projectId, policyId); - } - - // Delete the policy if you no longer want to enforce the rules in a deny policy. - public static void deleteDenyPolicy(String projectId, String policyId) - throws IOException, InterruptedException, ExecutionException, TimeoutException { - try (PoliciesClient policiesClient = PoliciesClient.create()) { - - // Each deny policy is attached to an organization, folder, or project. - // To work with deny policies, specify the attachment point. - // - // Its format can be one of the following: - // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID - // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID - // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID - // - // The attachment point is identified by its URL-encoded resource name. - String urlEncodedResource = - URLEncoder.encode( - "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); - String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); - - // Construct the full path of the resource to which the policy is attached. - // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" - String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); - - // Create the DeletePolicy request. - DeletePolicyRequest deletePolicyRequest = - DeletePolicyRequest.newBuilder().setName(policyParent).build(); - - // Delete the policy and wait for the operation to complete. - Operation operation = - policiesClient - .deletePolicyCallable() - .futureCall(deletePolicyRequest) - .get(3, TimeUnit.MINUTES); - - if (!operation.getDone() || operation.hasError()) { - System.out.println("Error in deleting the policy " + operation.getError()); - return; - } - - System.out.println("Deleted the deny policy: " + policyId); - } - } -} -// [END iam_delete_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java deleted file mode 100644 index 0cf4e96c8a48..000000000000 --- a/java-iam/samples/cloud-client/snippets/src/main/java/GetDenyPolicy.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// [START iam_get_deny_policy] - -import com.google.iam.v2.GetPolicyRequest; -import com.google.iam.v2.PoliciesClient; -import com.google.iam.v2.Policy; -import java.io.IOException; -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; - -public class GetDenyPolicy { - - public static void main(String[] args) throws IOException { - // TODO(developer): Replace these variables before running the sample. - - // ID or number of the Google Cloud project you want to use. - String projectId = "your-google-cloud-project-id"; - - // Specify the ID of the deny policy you want to retrieve. - String policyId = "deny-policy-id"; - - getDenyPolicy(projectId, policyId); - } - - // Retrieve the deny policy given the project ID and policy ID. - public static void getDenyPolicy(String projectId, String policyId) throws IOException { - // Create the IAM Policies client. - try (PoliciesClient policiesClient = PoliciesClient.create()) { - - // Each deny policy is attached to an organization, folder, or project. - // To work with deny policies, specify the attachment point. - // - // Its format can be one of the following: - // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID - // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID - // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID - // - // The attachment point is identified by its URL-encoded resource name. - String urlEncodedResource = - URLEncoder.encode( - "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); - String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); - - // Construct the full path of the resource to which the policy is attached. - // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" - String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); - - // Specify the policyParent and execute the GetPolicy request. - GetPolicyRequest getPolicyRequest = - GetPolicyRequest.newBuilder().setName(policyParent).build(); - - Policy policy = policiesClient.getPolicy(getPolicyRequest); - System.out.printf("Retrieved the deny policy: %s : %s%n", policyId, policy); - } - } -} -// [END iam_get_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java b/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java deleted file mode 100644 index 566a5946df1d..000000000000 --- a/java-iam/samples/cloud-client/snippets/src/main/java/ListDenyPolicies.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// [START iam_list_deny_policy] - -import com.google.iam.v2.PoliciesClient; -import com.google.iam.v2.Policy; -import java.io.IOException; -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; - -public class ListDenyPolicies { - - public static void main(String[] args) throws IOException { - // TODO(developer): Replace these variables before running the sample. - // ID or number of the Google Cloud project you want to use. - String projectId = "your-google-cloud-project-id"; - - listDenyPolicies(projectId); - } - - // List all the deny policies that are attached to a resource. - // A resource can have up to 5 deny policies. - public static void listDenyPolicies(String projectId) throws IOException { - // Initialize the Policies client. - try (PoliciesClient policiesClient = PoliciesClient.create()) { - - // Each deny policy is attached to an organization, folder, or project. - // To work with deny policies, specify the attachment point. - // - // Its format can be one of the following: - // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID - // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID - // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID - // - // The attachment point is identified by its URL-encoded resource name. - String urlEncodedResource = - URLEncoder.encode( - "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); - String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); - - // Construct the full path of the resource to which the policy is attached. - // Its format is: "policies/{attachmentPoint}/denypolicies" - String policyParent = String.format("policies/%s/denypolicies", attachmentPoint); - - // Create a list request and iterate over the returned policies. - for (Policy policy : policiesClient.listPolicies(policyParent).iterateAll()) { - System.out.println(policy.getName()); - } - System.out.println("Listed all deny policies"); - } - } -} -// [END iam_list_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java b/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java deleted file mode 100644 index 28e6bb91a70d..000000000000 --- a/java-iam/samples/cloud-client/snippets/src/main/java/UpdateDenyPolicy.java +++ /dev/null @@ -1,158 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// [START iam_update_deny_policy] - -import com.google.iam.v2.DenyRule; -import com.google.iam.v2.PoliciesClient; -import com.google.iam.v2.Policy; -import com.google.iam.v2.PolicyRule; -import com.google.iam.v2.UpdatePolicyRequest; -import com.google.longrunning.Operation; -import com.google.type.Expr; -import java.io.IOException; -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; - -public class UpdateDenyPolicy { - - public static void main(String[] args) - throws IOException, ExecutionException, InterruptedException, TimeoutException { - // TODO(developer): Replace these variables before running the sample. - - // ID or number of the Google Cloud project you want to use. - String projectId = "your-google-cloud-project-id"; - - // Specify the ID of the Deny policy you want to retrieve. - String policyId = "deny-policy-id"; - - // Etag field that identifies the policy version. The etag changes each time - // you update the policy. Get the etag of an existing policy by performing a GetPolicy request. - String etag = "policy_etag"; - - updateDenyPolicy(projectId, policyId, etag); - } - - // Update the deny rules and/ or its display name after policy creation. - public static void updateDenyPolicy(String projectId, String policyId, String etag) - throws IOException, ExecutionException, InterruptedException, TimeoutException { - - try (PoliciesClient policiesClient = PoliciesClient.create()) { - - // Each deny policy is attached to an organization, folder, or project. - // To work with deny policies, specify the attachment point. - // - // Its format can be one of the following: - // 1. cloudresourcemanager.googleapis.com/organizations/ORG_ID - // 2. cloudresourcemanager.googleapis.com/folders/FOLDER_ID - // 3. cloudresourcemanager.googleapis.com/projects/PROJECT_ID - // - // The attachment point is identified by its URL-encoded resource name. - String urlEncodedResource = - URLEncoder.encode( - "cloudresourcemanager.googleapis.com/projects/", StandardCharsets.UTF_8); - String attachmentPoint = String.format("%s%s", urlEncodedResource, projectId); - - // Construct the full path of the resource to which the policy is attached to. - // Its format is: "policies/{attachmentPoint}/denypolicies/{policyId}" - String policyParent = String.format("policies/%s/denypolicies/%s", attachmentPoint, policyId); - - DenyRule denyRule = - DenyRule.newBuilder() - // Add one or more principals who should be denied the permissions specified in this - // rule. - // For more information on allowed values, see: - // https://cloud.google.com/iam/docs/principal-identifiers - .addDeniedPrincipals("principalSet://goog/public:all") - - // Optionally, set the principals who should be exempted from the list of principals - // added in "DeniedPrincipals". - // Example, if you want to deny certain permissions to a group but exempt a few - // principals, then add those here. - // .addExceptionPrincipals( - // "principalSet://goog/group/project-admins@example.com") - - // Set the permissions to deny. - // The permission value is of the format: service_fqdn/resource.action - // For the list of supported permissions, see: - // https://cloud.google.com/iam/help/deny/supported-permissions - .addDeniedPermissions("cloudresourcemanager.googleapis.com/projects.delete") - - // Add the permissions to be exempted from this rule. - // Meaning, the deny rule will not be applicable to these permissions. - // .addExceptionPermissions("cloudresourcemanager.googleapis.com/projects.get") - - // Set the condition which will enforce the deny rule. - // If this condition is true, the deny rule will be applicable. Else, the rule will - // not be enforced. - .setDenialCondition( - Expr.newBuilder() - // The expression uses Common Expression Language syntax (CEL). Here we block - // access based on tags. - // - // A tag is a key-value pair that can be attached to an organization, folder, - // or project. You can use deny policies to deny permissions based on tags - // without adding an IAM Condition to every role grant. - // For example, imagine that you tag all of your projects as dev, test, or - // prod. You want only members of project-admins@example.com to be able to - // perform operations on projects that are tagged prod. - // To solve this problem, you create a deny rule that denies the - // cloudresourcemanager.googleapis.com/projects.delete permission to everyone - // except project-admins@example.com for resources that are tagged prod. - .setExpression("!resource.matchTag('12345678/env', 'prod')") - .setTitle("Only for prod projects") - .build()) - .build(); - - // Set the policy resource path, version (etag) and the updated deny rules. - Policy policy = - Policy.newBuilder() - .setName(policyParent) - .setEtag(etag) - .addRules( - PolicyRule.newBuilder() - // Set the rule description to update. - .setDescription( - "Block all principals from deleting projects, unless the principal is a member of project-admins@example.com and the project being deleted has a tag with the value prod") - // Set the deny rule to update. - .setDenyRule(denyRule) - .build()) - .build(); - - // Create the update policy request. - UpdatePolicyRequest updatePolicyRequest = - UpdatePolicyRequest.newBuilder().setPolicy(policy).build(); - - // Wait for the operation to complete. - Operation operation = - policiesClient - .updatePolicyCallable() - .futureCall(updatePolicyRequest) - .get(3, TimeUnit.MINUTES); - - if (!operation.getDone() || operation.hasError()) { - System.out.println("Error in updating the policy " + operation.getError()); - return; - } - - System.out.println("Updated the deny policy: " + policyId); - } - } -} -// [END iam_update_deny_policy] diff --git a/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java b/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java deleted file mode 100644 index 76db0dbcd7c7..000000000000 --- a/java-iam/samples/cloud-client/snippets/src/test/java/DenyIT.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import static com.google.common.truth.Truth.assertThat; -import static com.google.common.truth.Truth.assertWithMessage; - -import com.google.iam.v2.PoliciesClient; -import com.google.iam.v2.Policy; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.PrintStream; -import java.util.UUID; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeoutException; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - -@RunWith(JUnit4.class) -public class DenyIT { - - private static final String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT"); - private static final String GOOGLE_APPLICATION_CREDENTIALS = - System.getenv("GOOGLE_APPLICATION_CREDENTIALS"); - private static String POLICY_ID; - - private ByteArrayOutputStream stdOut; - - // Check if the required environment variables are set. - public static void requireEnvVar(String envVarName) { - assertWithMessage(String.format("Missing environment variable '%s' ", envVarName)) - .that(System.getenv(envVarName)) - .isNotEmpty(); - } - - @BeforeClass - public static void setUp() - throws IOException, InterruptedException, ExecutionException, TimeoutException { - final PrintStream out = System.out; - ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); - System.setOut(new PrintStream(stdOut)); - requireEnvVar("GOOGLE_APPLICATION_CREDENTIALS"); - requireEnvVar("GOOGLE_CLOUD_PROJECT"); - - POLICY_ID = "limit-project-deletion" + UUID.randomUUID(); - - CreateDenyPolicy.createDenyPolicy(PROJECT_ID, POLICY_ID); - assertThat(stdOut.toString()).contains(String.format("Created the deny policy: %s", POLICY_ID)); - - stdOut.close(); - System.setOut(out); - } - - @AfterClass - public static void cleanup() - throws IOException, InterruptedException, ExecutionException, TimeoutException { - final PrintStream out = System.out; - ByteArrayOutputStream stdOut = new ByteArrayOutputStream(); - System.setOut(new PrintStream(stdOut)); - - DeleteDenyPolicy.deleteDenyPolicy(PROJECT_ID, POLICY_ID); - assertThat(stdOut.toString()).contains(String.format("Deleted the deny policy: %s", POLICY_ID)); - - stdOut.close(); - System.setOut(out); - } - - @Before - public void beforeEach() { - stdOut = new ByteArrayOutputStream(); - System.setOut(new PrintStream(stdOut)); - } - - @After - public void afterEach() { - stdOut = null; - System.setOut(null); - } - - @Test - public void testListDenyPolicies() throws IOException { - ListDenyPolicies.listDenyPolicies(PROJECT_ID); - assertThat(stdOut.toString()).contains("Listed all deny policies"); - } - - @Test - public void testGetDenyPolicy() throws IOException { - GetDenyPolicy.getDenyPolicy(PROJECT_ID, POLICY_ID); - assertThat(stdOut.toString()) - .contains(String.format("Retrieved the deny policy: %s", POLICY_ID)); - assertThat(stdOut.toString()).contains(POLICY_ID); - } - - @Test - public void testUpdateDenyPolicy() - throws IOException, ExecutionException, InterruptedException, TimeoutException { - - try (PoliciesClient policiesClient = PoliciesClient.create()) { - // Get the etag from the Deny policy. - String attachmentPoint = - String.format("cloudresourcemanager.googleapis.com/projects/%s", PROJECT_ID) - .replaceAll("/", "%2F"); - String policyParent = - String.format("policies/%s/denypolicies/%s", attachmentPoint, POLICY_ID); - Policy policy = policiesClient.getPolicy(policyParent); - - // Test policy update. - UpdateDenyPolicy.updateDenyPolicy(PROJECT_ID, POLICY_ID, policy.getEtag()); - assertThat(stdOut.toString()) - .contains(String.format("Updated the deny policy: %s", POLICY_ID)); - } - } -} diff --git a/versions.txt b/versions.txt index 8c99f5448ec9..c9771941681a 100644 --- a/versions.txt +++ b/versions.txt @@ -603,3 +603,6 @@ grpc-google-cloud-tpu-v2:2.10.0:2.11.0-SNAPSHOT google-cloud-datalineage:0.1.0:0.2.0-SNAPSHOT proto-google-cloud-datalineage-v1:0.1.0:0.2.0-SNAPSHOT grpc-google-cloud-datalineage-v1:0.1.0:0.2.0-SNAPSHOT +google-cloud-shared-dependencies:3.1.2:3.1.3-SNAPSHOT +google-cloud-core:2.9.4:2.9.5-SNAPSHOT +google-iam-policy:1.7.0:1.7.1-SNAPSHOT From 1e5e01c1aa62e72abf216c67674064c6d8350e3f Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 15:20:43 -0500 Subject: [PATCH 3018/3036] Set parent poms --- java-core/pom.xml | 5 +++-- java-iam/pom.xml | 5 +++-- java-shared-dependencies/pom.xml | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 890c3909d232..5c624daa7502 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -13,8 +13,9 @@ com.google.cloud - google-cloud-shared-config - 1.5.5 + google-cloud-jar-parent + 1.4.0-SNAPSHOT + ../google-cloud-jar-parent/pom.xml diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1636e7a6cfd2..a8d6d9a61a5c 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -13,8 +13,9 @@ com.google.cloud - google-cloud-shared-config - 1.5.5 + google-cloud-jar-parent + 1.4.0-SNAPSHOT + ../google-cloud-jar-parent/pom.xml diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index aff3512a583c..3e05b426c3ff 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -17,8 +17,9 @@ com.google.cloud - google-cloud-shared-config - 1.5.5 + google-cloud-pom-parent + 1.4.0-SNAPSHOT + ../google-cloud-pom-parent/pom.xml From 56db97af484193d25d45f204808f162826ecf415 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 20:32:24 +0000 Subject: [PATCH 3019/3036] Removing irrelevant files. --- java-core/.gitignore | 15 --------------- java-iam/.gitignore | 17 ----------------- java-shared-dependencies/.gitignore | 15 --------------- java-shared-dependencies/.repo-metadata.json | 11 ----------- 4 files changed, 58 deletions(-) delete mode 100644 java-core/.gitignore delete mode 100644 java-iam/.gitignore delete mode 100644 java-shared-dependencies/.gitignore delete mode 100644 java-shared-dependencies/.repo-metadata.json diff --git a/java-core/.gitignore b/java-core/.gitignore deleted file mode 100644 index fadd6afc2dfd..000000000000 --- a/java-core/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Maven -target/ - -# Eclipse -.classpath -.project -.settings - -# Intellij -*.iml -.idea/ - -# python utilities -*.pyc -__pycache__ diff --git a/java-iam/.gitignore b/java-iam/.gitignore deleted file mode 100644 index 069d08fc73e8..000000000000 --- a/java-iam/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -# Maven -target/ - -# Eclipse -.classpath -.project -.settings - -# Intellij -*.iml -.idea/ - -# python utilities -*.pyc -__pycache__ - -.flattened-pom.xml diff --git a/java-shared-dependencies/.gitignore b/java-shared-dependencies/.gitignore deleted file mode 100644 index fadd6afc2dfd..000000000000 --- a/java-shared-dependencies/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# Maven -target/ - -# Eclipse -.classpath -.project -.settings - -# Intellij -*.iml -.idea/ - -# python utilities -*.pyc -__pycache__ diff --git a/java-shared-dependencies/.repo-metadata.json b/java-shared-dependencies/.repo-metadata.json deleted file mode 100644 index 7e5b8d34474e..000000000000 --- a/java-shared-dependencies/.repo-metadata.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "api_shortname": "google-cloud-shared-dependencies", - "name_pretty": "Google Cloud Shared Dependencies BOM", - "client_documentation": "https://github.com/googleapis/java-shared-dependencies", - "release_level": "stable", - "language": "java", - "repo": "googleapis/java-shared-dependencies", - "repo_short": "java-shared-dependencies", - "distribution_name": "com.google.cloud:google-cloud-shared-dependencies", - "library_type": "OTHER" -} From c6e246fdb5e84dad9ca708926833c38f3bbda729 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 20:40:11 +0000 Subject: [PATCH 3020/3036] Adding BOM for java-iam --- java-iam/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/java-iam/pom.xml b/java-iam/pom.xml index a8d6d9a61a5c..ee88f879599f 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -86,6 +86,7 @@ google-iam-policy + google-iam-policy-bom From e338f681451f32bc1fe222ac9a289fc5ce865417 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 20:57:49 +0000 Subject: [PATCH 3021/3036] adding google-iam-policy-bom --- java-iam/google-iam-policy-bom/pom.xml | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 java-iam/google-iam-policy-bom/pom.xml diff --git a/java-iam/google-iam-policy-bom/pom.xml b/java-iam/google-iam-policy-bom/pom.xml new file mode 100644 index 000000000000..1f36cafa0dd1 --- /dev/null +++ b/java-iam/google-iam-policy-bom/pom.xml @@ -0,0 +1,34 @@ + + + 4.0.0 + com.google.cloud + google-iam-policy-bom + 1.7.1-SNAPSHOT + pom + + + com.google.cloud + google-cloud-pom-parent + 1.4.0-SNAPSHOT + ../../google-cloud-pom-parent/pom.xml + + + Google IAM Policy BOM + + BOM for Google IAM Policy + + + + true + + + + + + com.google.cloud + google-iam-policy + 1.7.1-SNAPSHOT + + + + From 950aa95767f728bbd4945bdfe89ec8e1dfdb1738 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 15:58:20 -0500 Subject: [PATCH 3022/3036] fixed dependencies --- .../check_non_release_please_versions.sh | 5 +- java-core/google-cloud-core-bom/pom.xml | 5 +- java-core/pom.xml | 144 ------------------ java-iam/google-iam-policy/pom.xml | 1 - java-iam/pom.xml | 87 ----------- .../first-party-dependencies/pom.xml | 3 +- 6 files changed, 8 insertions(+), 237 deletions(-) diff --git a/generation/check_non_release_please_versions.sh b/generation/check_non_release_please_versions.sh index 206ba13d601f..5c45738ded2c 100755 --- a/generation/check_non_release_please_versions.sh +++ b/generation/check_non_release_please_versions.sh @@ -4,7 +4,10 @@ set -e violations=0 for pomFile in $(find . -mindepth 2 -name pom.xml | sort ); do - if [[ "${pomFile}" =~ .*google-cloud-jar-parent.* ]] || [[ "${pomFile}" =~ .*google-cloud-pom-parent.* ]] ||[[ "${pomFile}" =~ .*CoverageAggregator.* ]]; then + if [[ "${pomFile}" =~ .*google-cloud-jar-parent.* ]] || \ + [[ "${pomFile}" =~ .*google-cloud-pom-parent.* ]] || \ + [[ "${pomFile}" =~ .*CoverageAggregator.* ]] || \ + [[ "${pomFile}" =~ .*java-shared-dependencies*. ]]; then continue fi if [[ "${pomFile}" =~ .*owl-bot-postprocessor.* ]]; then diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 1eaece9ecfec..dd51793e7f30 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -7,8 +7,9 @@ pom com.google.cloud - google-cloud-shared-config - 1.5.5 + google-cloud-pom-parent + 1.4.0-SNAPSHOT + ../../google-cloud-pom-parent/pom.xml Google Cloud Core diff --git a/java-core/pom.xml b/java-core/pom.xml index 5c624daa7502..0d1b9771eb8c 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -174,150 +174,6 @@ 2.10.1 - - - - com.google.cloud - google-cloud-core - ${project.version} - - - - com.google.auth - google-auth-library-bom - ${google.auth.version} - pom - import - - - com.google.api - gax-bom - ${gax.version} - pom - import - - - com.google.http-client - google-http-client-bom - ${google.http.version} - pom - import - - - com.google.api-client - google-api-client-bom - ${google.api.version} - pom - import - - - io.grpc - grpc-bom - ${grpc.version} - pom - import - - - com.google.protobuf - protobuf-bom - ${protobuf.version} - pom - import - - - com.google.guava - guava-bom - ${guava.version} - pom - import - - - com.google.api - api-common - ${google.api-common.version} - - - com.google.api.grpc - proto-google-common-protos - ${google.common-protos.version} - - - com.google.api.grpc - proto-google-iam-v1 - ${google.iam.version} - - - - io.opencensus - opencensus-api - ${opencensus.version} - - - io.opencensus - opencensus-contrib-http-util - ${opencensus.version} - - - - javax.annotation - javax.annotation-api - ${annotations-api.version} - - - com.google.code.findbugs - jsr305 - ${findbugs.version} - - - org.threeten - threetenbp - ${threetenbp.version} - - - com.google.errorprone - error_prone_annotations - ${errorprone.version} - - - com.google.code.gson - gson - ${gson.version} - - - - - com.google.truth - truth - ${truth.version} - test - - - org.checkerframework - checker-qual - - - - - junit - junit - ${junit.version} - test - - - org.easymock - easymock - ${easymock.version} - test - - - org.objenesis - objenesis - ${objenesis.version} - test - - - - google-cloud-core google-cloud-core-http diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 864b133af344..7a28334433f2 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -76,7 +76,6 @@ junit junit test - 4.13.2
    diff --git a/java-iam/pom.xml b/java-iam/pom.xml index ee88f879599f..fa84e0d692cc 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -66,96 +66,9 @@ google-iam-parent
    - - - - com.google.cloud - google-cloud-shared-dependencies - 3.1.1 - pom - import - - - junit - junit - 4.13.2 - test - - - - google-iam-policy google-iam-policy-bom - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 3.4.1 - - - - index - dependency-info - team - ci-management - issue-management - licenses - scm - dependency-management - distribution-management - summary - modules - - - - - true - ${site.installationModule} - jar - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.4.1 - - - html - - aggregate - javadoc - - - - - none - protected - true - ${project.build.directory}/javadoc - - - Test helpers packages - com.google.cloud.testing - - - SPI packages - com.google.cloud.spi* - - - - - https://grpc.io/grpc-java/javadoc/ - https://developers.google.com/protocol-buffers/docs/reference/java/ - https://googleapis.dev/java/google-auth-library/latest/ - https://googleapis.dev/java/gax/latest/ - https://googleapis.github.io/api-common-java/ - - - - - diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index b952ccf6fcfd..2813d76e5671 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -58,7 +58,6 @@ 2.14.0 1.3.2 2.10.1 - 2.9.4 1.42.3 1.34.1 2.1.2 @@ -88,7 +87,7 @@ com.google.cloud google-cloud-core-bom - ${google.core.version} + 2.9.5-SNAPSHOT pom import From 1f1f63ae11767110365a6d9ae6b697ac385174e0 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 16:02:24 -0500 Subject: [PATCH 3023/3036] google-cloud-jar-parent to use the shared deps BOM in this repo --- google-cloud-jar-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-jar-parent/pom.xml b/google-cloud-jar-parent/pom.xml index af963cba13fb..e580ef987b0e 100644 --- a/google-cloud-jar-parent/pom.xml +++ b/google-cloud-jar-parent/pom.xml @@ -27,7 +27,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.1.2 + 3.1.3-SNAPSHOT pom import From bf590c27ccb9dfe0c2f737313978a8fd7ffc0b88 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 16:07:27 -0500 Subject: [PATCH 3024/3036] fixed invalid reference for google.core.version --- java-shared-dependencies/first-party-dependencies/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 2813d76e5671..47851b999a86 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -118,13 +118,13 @@ com.google.cloud google-cloud-core - ${google.core.version} + 2.9.5-SNAPSHOT test-jar com.google.cloud google-cloud-core - ${google.core.version} + 2.9.5-SNAPSHOT tests From 9878bdda346d741ea70cd65afb06f9c48e44bc7b Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 16:18:32 -0500 Subject: [PATCH 3025/3036] removing reporting section in java-core --- java-core/pom.xml | 70 ----------------------------------------------- 1 file changed, 70 deletions(-) diff --git a/java-core/pom.xml b/java-core/pom.xml index 0d1b9771eb8c..1d25275c193d 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -180,74 +180,4 @@ google-cloud-core-grpc google-cloud-core-bom - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 3.4.2 - - - - index - dependency-info - team - ci-management - issue-management - licenses - scm - dependency-management - distribution-management - summary - modules - - - - - true - ${site.installationModule} - jar - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.4.1 - - - html - - aggregate - javadoc - - - - - none - protected - true - ${project.build.directory}/javadoc - - - Test helpers packages - com.google.cloud.testing - - - SPI packages - com.google.cloud.spi* - - - - - https://grpc.io/grpc-java/javadoc/ - https://developers.google.com/protocol-buffers/docs/reference/java/ - https://googleapis.dev/java/google-auth-library/latest/ - https://googleapis.dev/java/gax/latest/ - https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ - - - - - From c0ebf6d2c3040ba0de24d8bacc7b5799e598fd0f Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 16:22:04 -0500 Subject: [PATCH 3026/3036] removing java-core/.repo-metadata.json because it's not a client library --- java-core/.repo-metadata.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 java-core/.repo-metadata.json diff --git a/java-core/.repo-metadata.json b/java-core/.repo-metadata.json deleted file mode 100644 index 1599ab74dd1b..000000000000 --- a/java-core/.repo-metadata.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "api_shortname": "google-cloud-core", - "name_pretty": "Google Cloud Core", - "release_level": "stable", - "language": "java", - "repo": "googleapis/java-core", - "repo_short": "java-core", - "library_type": "CORE", - "distribution_name": "com.google.cloud:google-cloud-core" -} From a2d0186c641d168eb39897a21e9b64e9a6b2784a Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 16:33:37 -0500 Subject: [PATCH 3027/3036] google-cloud-core-bom not to be part of gapic-bom --- gapic-libraries-bom/pom.xml | 7 + generation/generate_gapic_bom.sh | 2 +- java-core/google-cloud-core-bom/pom.xml | 43 ------- java-core/google-cloud-core-grpc/pom.xml | 1 - java-core/google-cloud-core-http/pom.xml | 1 - java-core/google-cloud-core/pom.xml | 1 - java-core/pom.xml | 121 ------------------ java-iam/google-iam-policy/pom.xml | 25 ---- java-iam/pom.xml | 32 ----- .../dependency-convergence-check/pom.xml | 32 ----- .../first-party-dependencies/pom.xml | 24 ---- java-shared-dependencies/pom.xml | 24 ---- .../third-party-dependencies/pom.xml | 29 ----- .../upper-bound-check/pom.xml | 31 ----- 14 files changed, 8 insertions(+), 365 deletions(-) diff --git a/gapic-libraries-bom/pom.xml b/gapic-libraries-bom/pom.xml index e5b2a5be507c..43349c7d492f 100644 --- a/gapic-libraries-bom/pom.xml +++ b/gapic-libraries-bom/pom.xml @@ -553,6 +553,13 @@ pom import
    + + com.google.cloud + google-iam-policy-bom + 1.7.1-SNAPSHOT + pom + import + com.google.cloud google-cloud-ids-bom diff --git a/generation/generate_gapic_bom.sh b/generation/generate_gapic_bom.sh index 00a6baf69c33..d008389883b0 100755 --- a/generation/generate_gapic_bom.sh +++ b/generation/generate_gapic_bom.sh @@ -7,7 +7,7 @@ set -e bom_lines="" # For modules that produce BOMs for bom_directory in $(find . -maxdepth 3 -name 'google-*-bom' | sort --dictionary-order); do - if [[ "${bom_directory}" = *gapic-libraries-bom ]]; then + if [[ "${bom_directory}" = *gapic-libraries-bom ]] || [[ "${bom_directory}" = *google-cloud-core* ]]; then continue fi repo_metadata="${bom_directory}/../.repo-metadata.json" diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index dd51793e7f30..964dadefc239 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -13,33 +13,10 @@ Google Cloud Core - https://github.com/googleapis/java-core BOM for Google Cloud Core - - Google LLC - - - - - chingor13 - Jeff Ching - chingor@google.com - Google LLC - - Developer - - - - - - scm:git:https://github.com/googleapis/java-core.git - scm:git:git@github.com:googleapis/java-core.git - https://github.com/googleapis/java-core - - sonatype-nexus-snapshots @@ -51,14 +28,6 @@ - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - @@ -78,16 +47,4 @@ - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - true - - - - diff --git a/java-core/google-cloud-core-grpc/pom.xml b/java-core/google-cloud-core-grpc/pom.xml index 3a1ac27eb42c..f60066a72970 100644 --- a/java-core/google-cloud-core-grpc/pom.xml +++ b/java-core/google-cloud-core-grpc/pom.xml @@ -6,7 +6,6 @@ 2.9.5-SNAPSHOT jar Google Cloud Core gRPC - https://github.com/googleapis/java-core Core gRPC module for the google-cloud. diff --git a/java-core/google-cloud-core-http/pom.xml b/java-core/google-cloud-core-http/pom.xml index 9949bf5dcc10..978b35bf8aae 100644 --- a/java-core/google-cloud-core-http/pom.xml +++ b/java-core/google-cloud-core-http/pom.xml @@ -6,7 +6,6 @@ 2.9.5-SNAPSHOT jar Google Cloud Core HTTP - https://github.com/googleapis/java-core Core http module for the google-cloud. diff --git a/java-core/google-cloud-core/pom.xml b/java-core/google-cloud-core/pom.xml index e1bac6e4d305..5044212b1ecb 100644 --- a/java-core/google-cloud-core/pom.xml +++ b/java-core/google-cloud-core/pom.xml @@ -6,7 +6,6 @@ 2.9.5-SNAPSHOT jar Google Cloud Core - https://github.com/googleapis/java-core Core module for the google-cloud. diff --git a/java-core/pom.xml b/java-core/pom.xml index 1d25275c193d..9f4ec8055786 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -6,7 +6,6 @@ pom 2.9.5-SNAPSHOT Google Cloud Core Parent - https://github.com/googleapis/java-core Java idiomatic client for Google Cloud Platform services. @@ -17,119 +16,6 @@ 1.4.0-SNAPSHOT ../google-cloud-jar-parent/pom.xml - - - - garrettjonesgoogle - Garrett Jones - garrettjones@google.com - Google - - Developer - - - - pongad - Michael Darakananda - pongad@google.com - Google - - Developer - - - - shinfan - Shin Fan - shinfan@google.com - Google - - Developer - - - - michaelbausor - Micheal Bausor - michaelbausor@google.com - Google - - Developer - - - - vam-google - Vadym Matsishevskyi - vam@google.com - Google - - Developer - - - - tswast - Tim Swast - tswast@google.com - Google - - Developer - - - - neozwu - Neo Wu - neowu@google.com - Google - - Developer - - - - lesv - Les Vogel - lesv@google.com - Google - - Developer - - - - schmidt_sebastian - Sebastian Schmidt - mrschmidt@google.com - Google - - Developer - - - - andreamlin - Andrea Lin - andrealin@google.com - - Developer - - - - hzyi-google - Hanzhen Yi - hzyi@google.com - - Developer - - - - - Google LLC - - - scm:git:git@github.com:googleapis/java-core.git - scm:git:git@github.com:googleapis/java-core.git - https://github.com/googleapis/java-core - HEAD - - - https://github.com/googleapis/java-core/issues - GitHub Issues - sonatype-nexus-snapshots @@ -140,12 +26,6 @@ https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - UTF-8 @@ -164,7 +44,6 @@ 0.31.1 1.3.2 31.1-jre - 4.13.2 1.1.3 5.1.0 3.0.2 diff --git a/java-iam/google-iam-policy/pom.xml b/java-iam/google-iam-policy/pom.xml index 7a28334433f2..9489d9700e47 100644 --- a/java-iam/google-iam-policy/pom.xml +++ b/java-iam/google-iam-policy/pom.xml @@ -6,7 +6,6 @@ 1.7.1-SNAPSHOT jar Google IAM Policy - https://github.com/googleapis/java-eventarc Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. com.google.cloud @@ -108,28 +107,4 @@ test - - - - java9 - - [9,) - - - - javax.annotation - javax.annotation-api - - - - - - - - - org.codehaus.mojo - flatten-maven-plugin - - - diff --git a/java-iam/pom.xml b/java-iam/pom.xml index fa84e0d692cc..1a4d29e7334e 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -6,7 +6,6 @@ pom 1.7.1-SNAPSHOT Google IAM Policy Parent - https://github.com/googleapis/java-iam Java idiomatic client for Google Cloud Platform services. @@ -17,31 +16,6 @@ 1.4.0-SNAPSHOT ../google-cloud-jar-parent/pom.xml - - - - chingor - Jeff Ching - chingor@google.com - Google - - Developer - - - - - Google LLC - - - scm:git:git@github.com:googleapis/java-iam.git - scm:git:git@github.com:googleapis/java-iam.git - https://github.com/googleapis/java-iam - HEAD - - - https://github.com/googleapis/java-iam/issues - GitHub Issues - sonatype-nexus-snapshots @@ -52,12 +26,6 @@ https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - UTF-8 diff --git a/java-shared-dependencies/dependency-convergence-check/pom.xml b/java-shared-dependencies/dependency-convergence-check/pom.xml index b5f7463b8790..167e7c729340 100644 --- a/java-shared-dependencies/dependency-convergence-check/pom.xml +++ b/java-shared-dependencies/dependency-convergence-check/pom.xml @@ -5,36 +5,12 @@ shared-dependencies-dependency-convergence-test 3.1.3-SNAPSHOT Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies - https://github.com/googleapis/java-shared-dependencies An dependency convergence test case for the shared dependencies BOM. A failure of this test case means the shared dependencies BOM has outdated dependencies; there are newer version of artifacts appearing in the dependency tree. - - Google LLC - - - - scm:git:git@github.com:googleapis/java-shared-dependencies.git - scm:git:git@github.com:googleapis/java-shared-dependencies.git - https://github.com/googleapis/java-shared-dependencies - HEAD - - - - https://github.com/googleapis/java-shared-dependencies/issues - GitHub Issues - - - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - UTF-8 1.8 @@ -43,13 +19,6 @@ - - com.google.cloud - google-cloud-shared-dependencies - 3.1.3-SNAPSHOT - pom - import - @@ -69,7 +38,6 @@ junit junit - 4.13.2 test diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 47851b999a86..47fe6affb4f5 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -8,7 +8,6 @@ pom 3.1.3-SNAPSHOT Google Cloud First-party Shared Dependencies - https://github.com/googleapis/java-shared-dependencies Shared first-party dependencies for Google Cloud Java libraries. @@ -19,22 +18,6 @@ 1.5.5 - - Google LLC - - - - scm:git:git@github.com:googleapis/java-shared-dependencies.git - scm:git:git@github.com:googleapis/java-shared-dependencies.git - https://github.com/googleapis/java-shared-dependencies - HEAD - - - - https://github.com/googleapis/java-shared-dependencies/issues - GitHub Issues - - sonatype-nexus-snapshots @@ -45,13 +28,6 @@ https://google.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - UTF-8 ${project.artifactId} diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 3e05b426c3ff..27707c9e3cd7 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -10,7 +10,6 @@ third-party-dependencies Google Cloud Shared Dependencies - https://github.com/googleapis/java-shared-dependencies Shared build configuration for Google Cloud Java libraries. @@ -22,22 +21,6 @@ ../google-cloud-pom-parent/pom.xml - - Google LLC - - - - scm:git:git@github.com:googleapis/java-shared-dependencies.git - scm:git:git@github.com:googleapis/java-shared-dependencies.git - https://github.com/googleapis/java-shared-dependencies - HEAD - - - - https://github.com/googleapis/java-shared-dependencies/issues - GitHub Issues - - sonatype-nexus-snapshots @@ -49,13 +32,6 @@ - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - UTF-8 ${project.artifactId} diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index ad48edc026aa..3b47e1c8e2bb 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -8,7 +8,6 @@ pom 3.1.3-SNAPSHOT Google Cloud Third-party Shared Dependencies - https://github.com/googleapis/java-shared-dependencies Shared third-party dependencies for Google Cloud Java libraries. @@ -19,22 +18,6 @@ 1.5.5 - - Google LLC - - - - scm:git:git@github.com:googleapis/java-shared-dependencies.git - scm:git:git@github.com:googleapis/java-shared-dependencies.git - https://github.com/googleapis/java-shared-dependencies - HEAD - - - - https://github.com/googleapis/java-shared-dependencies/issues - GitHub Issues - - sonatype-nexus-snapshots @@ -46,13 +29,6 @@ - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - UTF-8 ${project.artifactId} @@ -169,11 +145,6 @@ checker-qual ${checker-qual.version} - - io.perfmark - perfmark-api - ${perfmark-api.version} - \ No newline at end of file diff --git a/java-shared-dependencies/upper-bound-check/pom.xml b/java-shared-dependencies/upper-bound-check/pom.xml index bfd8c76f0447..76f4a01220c6 100644 --- a/java-shared-dependencies/upper-bound-check/pom.xml +++ b/java-shared-dependencies/upper-bound-check/pom.xml @@ -6,7 +6,6 @@ pom 3.1.3-SNAPSHOT Upper bound test for Google Cloud Shared Dependencies - https://github.com/googleapis/java-shared-dependencies An upper bound test case for the shared dependencies BOM. A failure of this test case means the shared dependencies BOM has outdated dependencies; there are newer version of artifacts @@ -20,29 +19,6 @@ 1.5.5 - - Google LLC - - - - scm:git:git@github.com:googleapis/java-shared-dependencies.git - scm:git:git@github.com:googleapis/java-shared-dependencies.git - https://github.com/googleapis/java-shared-dependencies - HEAD - - - - https://github.com/googleapis/java-shared-dependencies/issues - GitHub Issues - - - - - Apache-2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - - UTF-8 ${project.artifactId} @@ -50,13 +26,6 @@ - - com.google.cloud - google-cloud-shared-dependencies - 3.1.3-SNAPSHOT - pom - import - From decc995f708f694a2d7dcf9ddef72a07d08dd96f Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 17:11:49 -0500 Subject: [PATCH 3028/3036] removed unnecessary distributionManagement --- java-core/google-cloud-core-bom/pom.xml | 11 ------- java-core/pom.xml | 29 ------------------- java-iam/pom.xml | 10 ------- .../first-party-dependencies/pom.xml | 10 ------- java-shared-dependencies/pom.xml | 11 ------- .../third-party-dependencies/pom.xml | 11 ------- 6 files changed, 82 deletions(-) diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index 964dadefc239..bb6b9de22489 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -17,17 +17,6 @@ BOM for Google Cloud Core - - - 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/java-core/pom.xml b/java-core/pom.xml index 9f4ec8055786..cf7143c69e97 100644 --- a/java-core/pom.xml +++ b/java-core/pom.xml @@ -16,41 +16,12 @@ 1.4.0-SNAPSHOT ../google-cloud-jar-parent/pom.xml - - - sonatype-nexus-snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - UTF-8 UTF-8 github google-cloud-core-parent - 2.22.0 - 2.5.0 - 2.13.0 - 1.8.0 - 1.14.0 - 2.1.2 - 1.42.3 - 1.52.1 - 3.21.12 - 0.31.1 - 1.3.2 - 31.1-jre - 1.1.3 - 5.1.0 - 3.0.2 - 1.6.5 - 3.3 - 2.18.0 - 2.10.1 diff --git a/java-iam/pom.xml b/java-iam/pom.xml index 1a4d29e7334e..11c3db276fe0 100644 --- a/java-iam/pom.xml +++ b/java-iam/pom.xml @@ -16,16 +16,6 @@ 1.4.0-SNAPSHOT ../google-cloud-jar-parent/pom.xml - - - sonatype-nexus-snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - UTF-8 diff --git a/java-shared-dependencies/first-party-dependencies/pom.xml b/java-shared-dependencies/first-party-dependencies/pom.xml index 47fe6affb4f5..0bf109d6dabd 100644 --- a/java-shared-dependencies/first-party-dependencies/pom.xml +++ b/java-shared-dependencies/first-party-dependencies/pom.xml @@ -18,16 +18,6 @@ 1.5.5 - - - sonatype-nexus-snapshots - https://google.oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - https://google.oss.sonatype.org/service/local/staging/deploy/maven2/ - - UTF-8 ${project.artifactId} diff --git a/java-shared-dependencies/pom.xml b/java-shared-dependencies/pom.xml index 27707c9e3cd7..9f08e2d3f25b 100644 --- a/java-shared-dependencies/pom.xml +++ b/java-shared-dependencies/pom.xml @@ -21,17 +21,6 @@ ../google-cloud-pom-parent/pom.xml - - - sonatype-nexus-snapshots - https://google.oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - https://google.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - UTF-8 ${project.artifactId} diff --git a/java-shared-dependencies/third-party-dependencies/pom.xml b/java-shared-dependencies/third-party-dependencies/pom.xml index 3b47e1c8e2bb..7d31b83e416d 100644 --- a/java-shared-dependencies/third-party-dependencies/pom.xml +++ b/java-shared-dependencies/third-party-dependencies/pom.xml @@ -18,17 +18,6 @@ 1.5.5 - - - sonatype-nexus-snapshots - https://google.oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - https://google.oss.sonatype.org/service/local/staging/deploy/maven2/ - - - UTF-8 ${project.artifactId} From a867d6704cb8b0698072abd289cd39bf2f5be534 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 17:22:35 -0500 Subject: [PATCH 3029/3036] set OwlBot.yaml --- java-iam/.OwlBot.yaml | 6 +++--- java-shared-dependencies/.OwlBot.yaml | 18 ------------------ 2 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 java-shared-dependencies/.OwlBot.yaml diff --git a/java-iam/.OwlBot.yaml b/java-iam/.OwlBot.yaml index 0b83a43351ef..6e47be9c5cf6 100644 --- a/java-iam/.OwlBot.yaml +++ b/java-iam/.OwlBot.yaml @@ -14,11 +14,11 @@ deep-remove-regex: - - "/grpc-google-.*/src" - - "/proto-google-.*/src" + - "/java-iam/grpc-google-.*/src" + - "/java-iam/proto-google-.*/src" deep-preserve-regex: - - "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" + - "/java-iam/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src" diff --git a/java-shared-dependencies/.OwlBot.yaml b/java-shared-dependencies/.OwlBot.yaml deleted file mode 100644 index 06af71f711aa..000000000000 --- a/java-shared-dependencies/.OwlBot.yaml +++ /dev/null @@ -1,18 +0,0 @@ - - -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -api-name: google-cloud-shared-dependencies From 071160314a1679e953e44b7565de9b0fd98934c7 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 17:26:15 -0500 Subject: [PATCH 3030/3036] Removing irrelevant license-checks.xml --- java-core/license-checks.xml | 10 ---------- java-iam/license-checks.xml | 10 ---------- java-shared-dependencies/license-checks.xml | 10 ---------- 3 files changed, 30 deletions(-) delete mode 100644 java-core/license-checks.xml delete mode 100644 java-iam/license-checks.xml delete mode 100644 java-shared-dependencies/license-checks.xml diff --git a/java-core/license-checks.xml b/java-core/license-checks.xml deleted file mode 100644 index 6597fced808e..000000000000 --- a/java-core/license-checks.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/java-iam/license-checks.xml b/java-iam/license-checks.xml deleted file mode 100644 index 6597fced808e..000000000000 --- a/java-iam/license-checks.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/java-shared-dependencies/license-checks.xml b/java-shared-dependencies/license-checks.xml deleted file mode 100644 index 6597fced808e..000000000000 --- a/java-shared-dependencies/license-checks.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - From c75626883128ba10776982947fcba3a29fc2d831 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 17:26:55 -0500 Subject: [PATCH 3031/3036] Removing irrelevant owlbot.py --- java-core/owlbot.py | 24 ------------------------ java-shared-dependencies/owlbot.py | 27 --------------------------- 2 files changed, 51 deletions(-) delete mode 100644 java-core/owlbot.py delete mode 100644 java-shared-dependencies/owlbot.py diff --git a/java-core/owlbot.py b/java-core/owlbot.py deleted file mode 100644 index 140c4061baef..000000000000 --- a/java-core/owlbot.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated parts of this library.""" - -import synthtool.languages.java as java - -java.common_templates(excludes=[ - 'README.md', - 'samples/*', - '.github/workflows/samples.yaml', -]) - diff --git a/java-shared-dependencies/owlbot.py b/java-shared-dependencies/owlbot.py deleted file mode 100644 index 4e9b4482ee29..000000000000 --- a/java-shared-dependencies/owlbot.py +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""This script is used to synthesize generated parts of this library.""" - -from synthtool.languages import java - -java.common_templates(excludes=[ - 'README.md', - 'samples/*', - 'renovate.json', - # excluding samples ci jobs since there are no samples in this repo - '.github/workflows/samples.yaml', - '.github/release-please.yml', - '.github/workflows/auto-release.yaml', -]) From ab595b4702805273d3e405ec5318dc0713016801 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 22:31:14 +0000 Subject: [PATCH 3032/3036] Adding more descirption in the script --- generation/merge_repository.sh | 55 +++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/generation/merge_repository.sh b/generation/merge_repository.sh index 8a74a97deabb..b505375bd77e 100755 --- a/generation/merge_repository.sh +++ b/generation/merge_repository.sh @@ -1,6 +1,20 @@ #!/bin/bash +# Merging repository to google-cloud-java using git-filter-repo. # https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories +# +# Usage: +# cd google-cloud-java +# # edit the repository to merge. +# vim generation/repo.txt +# # use your account +# export USERNAME=XXX +# # Run the script +# ./generation/merge_repository.sh +# # Create a pull request. Ensure you MERGE the pull request. Not 'squash'. +# cd generation/monorepo/google-cloud-java-merged +# git checkout -b merge_repositories +# gh pr create --title 'chore: merge new repository into google-cloud-java' --body '' set -xe @@ -33,23 +47,25 @@ do git filter-repo --to-subdirectory-filter ${service} # setup owlbot files correctly to match monorepo configuration - cp ${service}/.github/.OwlBot.yaml ${service}/.OwlBot.yaml - rm ${service}/.github/.OwlBot.lock.yaml - rm ${service}/.github/.OwlBot.yaml - sed -i.bak '/docker/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak - sed -i.bak '/image/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak - - # In monorepo, the staging directory structure tells the destination module to - # which the OwlBot Java postprocessor copies the files. - sed -i.bak "s|owl-bot-staging|owl-bot-staging/${service}|" ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak - - text=$(grep '^.*api_shortname.*' ${service}/.repo-metadata.json) - text=$(echo "$text" | sed 's/\"//g; s/\,//g; s/^[[:space:]]*//' ) - text=${text/api_shortname/api-name} - echo -e "\n"$text>> ${service}/.OwlBot.yaml - git add . - git config --add secrets.allowed "dest.*src" - git commit -am "chore: setup owlbot configuration" + if [ -r "${service}/.github/.OwlBot.yaml" ]; then + cp ${service}/.github/.OwlBot.yaml ${service}/.OwlBot.yaml + rm ${service}/.github/.OwlBot.lock.yaml + rm ${service}/.github/.OwlBot.yaml + sed -i.bak '/docker/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak + sed -i.bak '/image/d' ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak + + # In monorepo, the staging directory structure tells the destination module to + # which the OwlBot Java postprocessor copies the files. + sed -i.bak "s|owl-bot-staging|owl-bot-staging/${service}|" ${service}/.OwlBot.yaml && rm ${service}/.OwlBot.yaml.bak + + text=$(grep '^.*api_shortname.*' ${service}/.repo-metadata.json) + text=$(echo "$text" | sed 's/\"//g; s/\,//g; s/^[[:space:]]*//' ) + text=${text/api_shortname/api-name} + echo -e "\n"$text>> ${service}/.OwlBot.yaml + git add . + git config --add secrets.allowed "dest.*src" + git commit -am "chore: setup owlbot configuration" + fi cd "../${merged_repository}" git remote add ${service} ../${service} @@ -74,6 +90,9 @@ git commit -m 'chore: add template files' git add pom.xml git commit -am 'chore: create aggregator pom' --allow-empty +echo "Not doing something special for java-core, java-shared-dependencies, and java-iam" +exit 0 + # Point modules poms and BOMs to the aggregator pom as parent bash ../../set_parent_pom.sh @@ -158,4 +177,4 @@ git commit -m 'split repo - diff versions.txt' --allow-empty git add --all || true git commit -am 'split repo - diff everything else' --allow-empty -cd ../.. \ No newline at end of file +cd ../.. From eebe02c7b6bf41110ae12f540ce6f8ec2389d84c Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 22:32:24 +0000 Subject: [PATCH 3033/3036] fixing owlbot.py to adjust monorepo --- java-iam/owlbot.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/java-iam/owlbot.py b/java-iam/owlbot.py index a53d819dd368..3f53f0819f14 100644 --- a/java-iam/owlbot.py +++ b/java-iam/owlbot.py @@ -22,8 +22,16 @@ s.move(library) s.remove_staging_dirs() -java.common_templates(excludes=[ - 'README.md', - 'samples/*', - '.github/workflows/samples.yaml', +java.common_templates(monorepo=True, excludes=[ + ".github/*", + ".kokoro/*", + "samples/*", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "SECURITY.md", + "java.header", + "license-checks.xml", + "renovate.json", + ".gitignore" ]) From 5c51a95c3409d66cdac9566a29f4948dea378592 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 1 Feb 2023 00:23:50 +0000 Subject: [PATCH 3034/3036] Fix owlbot to keep generated samples --- java-iam/.OwlBot.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/java-iam/.OwlBot.yaml b/java-iam/.OwlBot.yaml index 6e47be9c5cf6..5ec827e307bb 100644 --- a/java-iam/.OwlBot.yaml +++ b/java-iam/.OwlBot.yaml @@ -19,6 +19,7 @@ deep-remove-regex: deep-preserve-regex: - "/java-iam/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" + - "/java-iam/samples/snippets/generated" deep-copy-regex: - source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src" From 993b1e393bc3d72aaf6b820c2a5d29b6a29e272a Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 1 Feb 2023 00:25:34 +0000 Subject: [PATCH 3035/3036] Removed temprary return --- generation/merge_repository.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/generation/merge_repository.sh b/generation/merge_repository.sh index b505375bd77e..02b2f11d009e 100755 --- a/generation/merge_repository.sh +++ b/generation/merge_repository.sh @@ -90,9 +90,6 @@ git commit -m 'chore: add template files' git add pom.xml git commit -am 'chore: create aggregator pom' --allow-empty -echo "Not doing something special for java-core, java-shared-dependencies, and java-iam" -exit 0 - # Point modules poms and BOMs to the aggregator pom as parent bash ../../set_parent_pom.sh From 16ccbb61a82d5c3431c47ec500de3de3a811674e Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 31 Jan 2023 19:33:13 -0500 Subject: [PATCH 3036/3036] set_parent_pom.sh to exclude java-shared-dependencies The java-shared-dependencies should not depend on google-cloud-jar parent because it imports java-shared-dependencies. --- generation/set_parent_pom.sh | 5 ++++- java-core/google-cloud-core-bom/pom.xml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/generation/set_parent_pom.sh b/generation/set_parent_pom.sh index 9396c7b6be7c..db187e575fd4 100755 --- a/generation/set_parent_pom.sh +++ b/generation/set_parent_pom.sh @@ -24,7 +24,10 @@ function replaceParent { # Then, apply the values as the parent pom of each module for module in $(find . -mindepth 2 -maxdepth 2 -name pom.xml | sort --dictionary-order | xargs dirname); do # example value of module is "./java-accessapproval" - if [[ "${module}" = *gapic-libraries-bom ]] || [[ "${module}" = *google-cloud-jar-parent ]] || [[ "${module}" = *google-cloud-pom-parent ]]; then + if [[ "${module}" = *gapic-libraries-bom ]] || \ + [[ "${module}" = *google-cloud-jar-parent ]] || \ + [[ "${module}" = *google-cloud-pom-parent ]] || \ + [[ "${module}" = *java-shared-dependencies ]]; then continue fi echo "Processing module $module" diff --git a/java-core/google-cloud-core-bom/pom.xml b/java-core/google-cloud-core-bom/pom.xml index bb6b9de22489..66b16c7773f6 100644 --- a/java-core/google-cloud-core-bom/pom.xml +++ b/java-core/google-cloud-core-bom/pom.xml @@ -5,6 +5,7 @@ google-cloud-core-bom 2.9.5-SNAPSHOT pom + com.google.cloud google-cloud-pom-parent